@univerjs-pro/collaboration-client 0.5.0-nightly.202411271606 → 0.5.0-nightly.202411291606

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 _0x59f468=_0x2eda;(function(_0x19329e,_0x1dfb52){const _0xc55efd=_0x2eda,_0x3745cc=_0x19329e();while(!![]){try{const _0x11e10=-parseInt(_0xc55efd(0x1a1))/0x1+parseInt(_0xc55efd(0x473))/0x2+parseInt(_0xc55efd(0x198))/0x3+-parseInt(_0xc55efd(0x31d))/0x4+-parseInt(_0xc55efd(0x2a3))/0x5*(-parseInt(_0xc55efd(0x586))/0x6)+parseInt(_0xc55efd(0x34c))/0x7*(parseInt(_0xc55efd(0x486))/0x8)+-parseInt(_0xc55efd(0x3e5))/0x9*(parseInt(_0xc55efd(0x3a0))/0xa);if(_0x11e10===_0x1dfb52)break;else _0x3745cc['push'](_0x3745cc['shift']());}catch(_0x42f540){_0x3745cc['push'](_0x3745cc['shift']());}}}(_0x23ae,0x87628));var ar=Object[_0x59f468(0x29a)],cr=(_0x362191,_0x17b7ba,_0x3530bf)=>_0x17b7ba in _0x362191?ar(_0x362191,_0x17b7ba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3530bf}):_0x362191[_0x17b7ba]=_0x3530bf,g=(_0x321bb5,_0x26ac0b,_0x1b1a23)=>cr(_0x321bb5,typeof _0x26ac0b!=_0x59f468(0x5ab)?_0x26ac0b+'':_0x26ac0b,_0x1b1a23);import{createIdentifier as _0x4fa8ac,Inject as _0x222038,Disposable as _0x19fe63,DisposableCollection as _0x2fc363,toDisposable as _0x510055,IConfigService as _0x486aed,ILogService as _0x37805d,UserManagerService as _0x581f13,UniverInstanceType as _0x52550e,IUniverInstanceService as _0xd7de45,LocaleService as _0x52880d,Optional as _0x3a5345,RxDisposable as _0x2c59cd,Injector as _0x2e1c56,Tools as _0x218f61,ILocalStorageService as _0x18521c,Rectangle as _0x23bbd9,ICommandService as _0x1e017f,DOC_RANGE_TYPE as _0x638c4d,JSONX as _0x728319,CommandType as _0x2a05e3,IPermissionService as _0x593390,IUndoRedoService as _0x2d2527,sequenceExecute as _0x504024,debounce as _0x14f2b0,COLORS as _0x41eb8e,ColorKit as _0x5d65d0,ThemeService as _0x5e056c,fromEventSubject as _0x5742c0,useDependency as _0x45c214,connectInjector as _0x4ec1ab,Workbook as _0x2b04ff,MentionType as _0xf50cab,isInternalEditorID as _0x1db883,LocalUndoRedoService as _0x2432d3,IContextService as _0xe6d98,DependentOn as _0x9ba82c,Plugin as _0x113ffe,touchDependencies as _0x4c0f56,IAuthzIoService as _0x18f660,IMentionIOService as _0x454d7e,registerDependencies as _0x33f43b,mergeOverrideWithDependencies as _0x996ab4}from'@univerjs/core';import{Subject as _0xd6475b,merge as _0x5becde,takeUntil as _0x2eaf5f,BehaviorSubject as _0x1f1fc6,distinctUntilChanged as _0x42e448,fromEvent as _0x92f771,ReplaySubject as _0x3b5418,take as _0x3fe09f,map as _0x36b286,shareReplay as _0x2ff007,of as _0x38a752,debounceTime as _0x477823,filter as _0x54e74d,switchMap as _0x2bc5b0,combineLatest as _0x6f207e,concatMap as _0x3b543c,mapTo as _0x467ca9}from'rxjs';import{map as _0x3968e0,take as _0x44e846,filter as _0x3c73ca,delay as _0x1d896a,throttleTime as _0x2e516c,takeUntil as _0x1eb937,switchMap as _0x29e5a7}from'rxjs/operators';import{MessageType as _0x47f0e7,Tooltip as _0x27c3d7}from'@univerjs/design';import{HTTPService as _0x216536,WebSocketService as _0x5cdeee,MergeInterceptorFactory as _0x388d52,HTTPRequest as _0x55add6,UniverNetworkPlugin as _0x3b21ea,ThresholdInterceptorFactory as _0x5df05e}from'@univerjs/network';import{IBeforeCloseService as _0x28b31b,IMessageService as _0x3bbf26,INotificationService as _0x5126dc,useObservable as _0x1bba2d,BuiltInUIPart as _0x17cc0c,IUIPartsService as _0x52c347}from'@univerjs/ui';import{CollaborationEvent as _0x8a32d4,parseChangesetToProtocol as _0x51288e,ISnapshotServerService as _0x24bd52,isTransformMutationFailure as _0x18387e,isTransformMutationsWithChangesetSuccess as _0x4d7745,ITransformService as _0x4cb437,RevisionService as _0x21f454,mapDocumentTypeToUniverType as _0x152c8d,isTransformChangesetsSuccess as _0x5cd3ce,CompressMutationService as _0x117e38,parseProtocolChangeset as _0x33ed1d,SnapshotService as _0x1381aa,textEncoder as _0x4e5a09,b64DecodeUnicode as _0x1a2e07,isTransformMutationsWithChangesetFailure as _0x571511,UniverCollaborationPlugin as _0x551335}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x30dd3c}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x4768db,RichTextEditingMutation as _0x2bf5bd,SetTextSelectionsOperation as _0x403062,DocSkeletonManagerService as _0x379b20}from'@univerjs/docs';import{DocIMEInputManagerService as _0x3c4a23,DocStateChangeManagerService as _0x2a72d5,IDocClipboardService as _0x33630a,NodePositionConvertToCursor as _0x4cd065,NodePositionConvertToRectRange as _0x28e160,TEXT_RANGE_LAYER_INDEX as _0x43455b,SetDocZoomRatioOperation as _0xe0c4b}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x49c3d1,SetSelectionsOperation as _0x20d3bf,InsertSheetMutation as _0x37dbf5,EmptyMutation as _0x86642a,WorkbookEditablePermission as _0x4ef6a0,RefRangeService as _0x4214dd,EffectRefRangId as _0x41e7aa,handleIRemoveRow as _0x27bb0b,handleIRemoveCol as _0x8f8b06,handleMoveRange as _0x10af59,handleInsertRow as _0xdf91b0,handleInsertRangeMoveRight as _0x4172fd,handleInsertRangeMoveDown as _0x4c153f,handleInsertCol as _0x51dcac,handleDeleteRangeMoveUp as _0x19d6d3,handleDeleteRangeMoveLeft as _0x32e871,runRefRangeMutations as _0x56b84c,SetWorksheetActivateCommand as _0x4cb6da}from'@univerjs/sheets';import{IRenderManagerService as _0x4e56e4,Shape as _0x37149c,Rect as _0x3648be,getColor as _0x3f199f,RegularPolygon as _0xea7f00,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x401d9d,Vector2 as _0x4a7985}from'@univerjs/engine-render';import{IImageIoService as _0x3c5ccf,ImageSourceType as _0x35508e,ImageUploadStatusType as _0x38d426}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x47b496,serializeRangeWithSheet as _0x44ca9e}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x4b35a2,VIEWPORT_KEY as _0xa2565b,getCoordByCell as _0x21c55c,getSheetObject as _0x3b93a6,SheetPermissionInitController as _0x548674}from'@univerjs/sheets-ui';import _0x2470a1,{forwardRef as _0x3575fb,useRef as _0x516cf1,createElement as _0x3d1e83,useCallback as _0x585c84}from'react';import{IRemoteInstanceService as _0x45ceae}from'@univerjs/rpc';const Cn=_0x59f468(0x1bb),En=_0x59f468(0x482),bn=_0x59f468(0x4e8),yh=_0x59f468(0x53e),Tn=0x7d0,Rn=_0x59f468(0x3ef),On=_0x59f468(0x284),yn=_0x59f468(0x343),wn=_0x59f468(0x409),Dn=0x7530,Bi='HEARTBEAT_TIMEOUT',ki=0x4e20,Pn=0x4e20,Un='RETRY_CONNECTING_MAX_COUNT',Nn=0x3,An=_0x59f468(0x466),Mn=0x3e8,xn=_0x59f468(0x4a2),Ln=_0x59f468(0x1f8),$n='LOGIN_URL_KEY',Hn='/universer-api/oidc/authpage';var Wi=(_0x101635=>(_0x101635[_0x101635[_0x59f468(0x546)]=0x0]=_0x59f468(0x546),_0x101635[_0x101635['OK']=0x1]='OK',_0x101635[_0x101635[_0x59f468(0x373)]=0x2]='INTERNAL_ERROR',_0x101635[_0x101635[_0x59f468(0x551)]=0x3]=_0x59f468(0x551),_0x101635[_0x101635[_0x59f468(0x53f)]=0x4]=_0x59f468(0x53f),_0x101635[_0x101635[_0x59f468(0x4f0)]=0x5]=_0x59f468(0x4f0),_0x101635[_0x101635[_0x59f468(0x261)]=0x6]='ALREADY_EXISTS',_0x101635[_0x101635['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x101635[_0x101635[_0x59f468(0x266)]=0x8]=_0x59f468(0x266),_0x101635[_0x101635['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x101635[_0x101635[_0x59f468(0x2e6)]=0x1389]=_0x59f468(0x2e6),_0x101635[_0x101635[_0x59f468(0x589)]=0x1771]=_0x59f468(0x589),_0x101635[_0x101635[_0x59f468(0x288)]=0x1772]=_0x59f468(0x288),_0x101635[_0x101635[_0x59f468(0x41c)]=0x1773]=_0x59f468(0x41c),_0x101635[_0x101635[_0x59f468(0x474)]=0x1b59]=_0x59f468(0x474),_0x101635[_0x101635[_0x59f468(0x3c2)]=0x1b5a]=_0x59f468(0x3c2),_0x101635[_0x101635[_0x59f468(0x313)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x101635[_0x101635['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x59f468(0x339),_0x101635[_0x101635[_0x59f468(0x379)]=0x1b5d]=_0x59f468(0x379),_0x101635[_0x101635[_0x59f468(0x37f)]=0x1f41]=_0x59f468(0x37f),_0x101635[_0x101635[_0x59f468(0x380)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x101635[_0x101635[_0x59f468(0x46f)]=0x232a]=_0x59f468(0x46f),_0x101635[_0x101635['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x59f468(0x50e),_0x101635[_0x101635['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x101635[_0x101635[_0x59f468(0x4e7)]=0x232d]=_0x59f468(0x4e7),_0x101635[_0x101635['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x59f468(0x241),_0x101635[_0x101635['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x59f468(0x2bb),_0x101635[_0x101635[_0x59f468(0x5a2)]=0x2713]=_0x59f468(0x5a2),_0x101635[_0x101635[_0x59f468(0x3cc)]=0x2714]=_0x59f468(0x3cc),_0x101635[_0x101635[_0x59f468(0x411)]=-0x1]=_0x59f468(0x411),_0x101635))(Wi||{}),ae=(_0x382723=>(_0x382723[_0x382723[_0x59f468(0x2cc)]=0x0]=_0x59f468(0x2cc),_0x382723[_0x382723[_0x59f468(0x4f9)]=0x1]=_0x59f468(0x4f9),_0x382723[_0x382723[_0x59f468(0x2b0)]=0x2]=_0x59f468(0x2b0),_0x382723[_0x382723[_0x59f468(0x4b5)]=0x3]=_0x59f468(0x4b5),_0x382723[_0x382723[_0x59f468(0x1bd)]=0x4]=_0x59f468(0x1bd),_0x382723[_0x382723['UNRECOGNIZED']=-0x1]=_0x59f468(0x411),_0x382723))(ae||{}),W=(_0x7108de=>(_0x7108de[_0x7108de[_0x59f468(0x1ea)]=0x0]=_0x59f468(0x1ea),_0x7108de[_0x7108de[_0x59f468(0x2eb)]=0x1]=_0x59f468(0x2eb),_0x7108de[_0x7108de[_0x59f468(0x576)]=0x2]=_0x59f468(0x576),_0x7108de[_0x7108de[_0x59f468(0x2f7)]=0x3]=_0x59f468(0x2f7),_0x7108de[_0x7108de[_0x59f468(0x5a6)]=0x4]=_0x59f468(0x5a6),_0x7108de[_0x7108de['HEARTBEAT']=0x5]=_0x59f468(0x28b),_0x7108de[_0x7108de['RECV']=0x6]='RECV',_0x7108de[_0x7108de[_0x59f468(0x411)]=-0x1]=_0x59f468(0x411),_0x7108de))(W||{}),ws=(_0x38d4b7=>(_0x38d4b7[_0x38d4b7['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x38d4b7[_0x38d4b7['OK']=0x1]='OK',_0x38d4b7[_0x38d4b7[_0x59f468(0x565)]=0x2]=_0x59f468(0x565),_0x38d4b7[_0x38d4b7[_0x59f468(0x447)]=0x3e9]=_0x59f468(0x447),_0x38d4b7[_0x38d4b7['JOIN_ROOM_NOT_ALLOWED']=0x3ea]=_0x59f468(0x34b),_0x38d4b7[_0x38d4b7[_0x59f468(0x411)]=-0x1]=_0x59f468(0x411),_0x38d4b7))(ws||{}),Fi=(_0x1a24bc=>(_0x1a24bc[_0x1a24bc[_0x59f468(0x218)]=0x0]=_0x59f468(0x218),_0x1a24bc[_0x1a24bc[_0x59f468(0x297)]=0x1]=_0x59f468(0x297),_0x1a24bc[_0x1a24bc[_0x59f468(0x4be)]=0x2]=_0x59f468(0x4be),_0x1a24bc[_0x1a24bc[_0x59f468(0x508)]=0x3]=_0x59f468(0x508),_0x1a24bc[_0x1a24bc['UnitSnapshot']=0x4]=_0x59f468(0x47e),_0x1a24bc[_0x1a24bc[_0x59f468(0x411)]=-0x1]=_0x59f468(0x411),_0x1a24bc))(Fi||{});const Q=_0x59f468(0x4e1),jn={};function Bn(_0xc8e31e){const _0x1b5b2a=_0x59f468;var _0x54a1a4,_0x432e15,_0x2b94ee,_0x5beb18,_0x50faaa;const _0x47e2b3=_0xc8e31e['data'],_0x2d761b=JSON[_0x1b5b2a(0x2e1)](_0x47e2b3);switch(_0x2d761b[_0x1b5b2a(0x3a3)]){case W[_0x1b5b2a(0x28b)]:case W[_0x1b5b2a(0x2eb)]:{const _0x43f1aa=_0x2d761b[_0x1b5b2a(0x57c)];return{..._0x2d761b,'data':_0x43f1aa,'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};}case W['JOIN']:{const _0x1065cc=_0x2d761b[_0x1b5b2a(0x45c)];return{..._0x2d761b,'data':_0x1065cc,'cmd':_0x2d761b['cmd']};}case W[_0x1b5b2a(0x3a2)]:{const _0xeeeb3=_0x2d761b[_0x1b5b2a(0x353)];switch(_0xeeeb3['eventID']){case _0x8a32d4[_0x1b5b2a(0x398)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':(_0x54a1a4=_0xeeeb3[_0x1b5b2a(0x40f)])==null?void 0x0:_0x54a1a4['cs']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4['CHANGESET_ACK']:return{..._0x2d761b,'data':{..._0xeeeb3,'data':(_0x432e15=_0xeeeb3[_0x1b5b2a(0x226)])==null?void 0x0:_0x432e15['cs']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x1f9)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':(_0x2b94ee=_0xeeeb3['newCsEvent'])==null?void 0x0:_0x2b94ee['cs']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x245)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':(_0x5beb18=_0xeeeb3[_0x1b5b2a(0x535)])==null?void 0x0:_0x5beb18['cs']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x445)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':(_0x50faaa=_0xeeeb3['csShouldRetryEvent'])==null?void 0x0:_0x50faaa['cs']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x563)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3[_0x1b5b2a(0x4cd)]},'cmd':_0x2d761b['cmd']};case _0x8a32d4['USERS_ENTER']:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3[_0x1b5b2a(0x4fe)]},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x23b)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3['leaveEvent']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x212)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3[_0x1b5b2a(0x43d)]},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x462)]:case _0x8a32d4[_0x1b5b2a(0x330)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3[_0x1b5b2a(0x38e)]},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4['LIVESHARE_TERMINATE']:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3['liveShareNewHost']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4['MSG_FOR_ERROR']:return{..._0x2d761b,'data':_0xeeeb3,'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x2e2)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3['commentUpdateEvent']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4['UPDATE_PERMISSION_OBJ']:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3[_0x1b5b2a(0x2cd)]},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x518)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3[_0x1b5b2a(0x27f)]},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};default:return _0x2d761b;}}default:return _0x2d761b;}}function kn(_0x1d804f){const _0x572106=_0x59f468;switch(_0x1d804f[_0x572106(0x3a3)]){case W[_0x572106(0x28b)]:case W[_0x572106(0x2eb)]:return JSON[_0x572106(0x3fc)]({'cmd':_0x1d804f[_0x572106(0x3a3)],'routeKey':_0x1d804f[_0x572106(0x1c3)]});case W[_0x572106(0x5a6)]:{let _0x2dadfb;switch(_0x1d804f[_0x572106(0x233)][_0x572106(0x1b1)]){case _0x8a32d4[_0x572106(0x563)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x563)],'updateCursorEvent':_0x1d804f[_0x572106(0x233)]['data']};break;}case _0x8a32d4[_0x572106(0x23b)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x23b)],'leaveEvent':_0x1d804f[_0x572106(0x233)][_0x572106(0x233)]};break;}case _0x8a32d4[_0x572106(0x350)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x350)],'joinEvent':_0x1d804f[_0x572106(0x233)]['data']};break;}case _0x8a32d4[_0x572106(0x212)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x212)],'liveShareNewHost':_0x1d804f[_0x572106(0x233)][_0x572106(0x233)]};break;}case _0x8a32d4[_0x572106(0x330)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x330)],'liveShareOperation':_0x1d804f[_0x572106(0x233)][_0x572106(0x233)]};break;}case _0x8a32d4[_0x572106(0x56e)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x56e)],'liveShareTerminate':_0x1d804f[_0x572106(0x233)][_0x572106(0x233)]};break;}case _0x8a32d4['LIVESHARE_REQUEST_HOST']:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x5b3)],'liveShareRequestHost':_0x1d804f[_0x572106(0x233)][_0x572106(0x233)]};break;}case _0x8a32d4[_0x572106(0x462)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x462)]};break;}default:_0x2dadfb={'eventID':_0x1d804f[_0x572106(0x233)][_0x572106(0x1b1)]};}return JSON['stringify']({'cmd':_0x1d804f[_0x572106(0x3a3)],'routeKey':_0x1d804f[_0x572106(0x1c3)],'collaMsg':_0x2dadfb});}case W['JOIN']:return JSON['stringify']({'cmd':_0x1d804f[_0x572106(0x3a3)],'routeKey':_0x1d804f[_0x572106(0x1c3)],'joinReq':_0x1d804f[_0x572106(0x233)]});case W[_0x572106(0x2f7)]:return JSON[_0x572106(0x3fc)]({'cmd':_0x1d804f[_0x572106(0x3a3)],'routeKey':_0x1d804f[_0x572106(0x1c3)],'leaveReq':_0x1d804f[_0x572106(0x233)]});default:throw new Error(_0x572106(0x34a));}}var Wn=Object[_0x59f468(0x29a)],Fn=Object['getOwnPropertyDescriptor'],Vn=(_0x57243a,_0x16d055,_0x65047d,_0x46463e)=>{for(var _0x591fee=_0x46463e>0x1?void 0x0:_0x46463e?Fn(_0x16d055,_0x65047d):_0x16d055,_0x535951=_0x57243a['length']-0x1,_0x1581a4;_0x535951>=0x0;_0x535951--)(_0x1581a4=_0x57243a[_0x535951])&&(_0x591fee=(_0x46463e?_0x1581a4(_0x16d055,_0x65047d,_0x591fee):_0x1581a4(_0x591fee))||_0x591fee);return _0x46463e&&_0x591fee&&Wn(_0x16d055,_0x65047d,_0x591fee),_0x591fee;},qe=(_0x43417f,_0xd3a5ae)=>(_0x1b67f4,_0x5a63f7)=>_0xd3a5ae(_0x1b67f4,_0x5a63f7,_0x43417f);const Vi=_0x4fa8ac(_0x59f468(0x3d4));function Gn(_0x210b9e,_0x19dcd7,_0x3f64de){const _0x5eddcc=_0x59f468;return _0x210b9e+'/'+_0x19dcd7+_0x5eddcc(0x20c)+_0x3f64de+'/new_changes';}let as=class extends _0x19fe63{constructor(_0x143ee7,_0x44dd0c,_0x12d254,_0x575160,_0x4422b7){const _0x6a096f=_0x59f468;super(),this[_0x6a096f(0x3a5)]=_0x143ee7,this[_0x6a096f(0x262)]=_0x44dd0c,this['_configService']=_0x12d254,this[_0x6a096f(0x3b6)]=_0x575160,this[_0x6a096f(0x29d)]=_0x4422b7;}[_0x59f468(0x1d4)](_0x30babf){const _0x2c06c4=_0x59f468,_0x3aa6a8=this[_0x2c06c4(0x262)][_0x2c06c4(0x1d4)](_0x30babf);if(!_0x3aa6a8)throw new Error(_0x2c06c4(0x22b));const _0x5b5085=new _0x2fc363(),_0x35a528=new _0xd6475b();_0x5b5085[_0x2c06c4(0x3ab)](_0x3aa6a8[_0x2c06c4(0x45e)][_0x2c06c4(0x347)](_0x1f72e4=>_0x35a528[_0x2c06c4(0x307)](_0x1f72e4))),_0x5b5085[_0x2c06c4(0x3ab)](_0x510055(()=>_0x35a528[_0x2c06c4(0x3ee)]()));const _0x28d55f=new _0xd6475b();_0x5b5085[_0x2c06c4(0x3ab)](_0x3aa6a8[_0x2c06c4(0x1b6)][_0x2c06c4(0x347)](_0xe82f0e=>_0x28d55f[_0x2c06c4(0x307)](_0xe82f0e))),_0x5b5085[_0x2c06c4(0x3ab)](_0x510055(()=>_0x28d55f[_0x2c06c4(0x3ee)]()));const _0x539d9d=new _0xd6475b();_0x5b5085[_0x2c06c4(0x3ab)](_0x3aa6a8[_0x2c06c4(0x464)][_0x2c06c4(0x347)](_0x31386c=>{const _0x19b42f=_0x2c06c4,_0x2e3a86=Bn(_0x31386c);_0x539d9d[_0x19b42f(0x307)](_0x2e3a86);})),_0x5b5085[_0x2c06c4(0x3ab)](_0x510055(()=>_0x539d9d['complete']()));let _0x3db18c;const _0x90b614=()=>{const _0x55b3f7=_0x2c06c4;_0x28d55f[_0x55b3f7(0x307)](new Event(_0x55b3f7(0x23e))),_0x35a528['next'](new CloseEvent(_0x55b3f7(0x23e))),_0x3db18c[_0x55b3f7(0x459)]();};return _0x3db18c={'memberID':'','close$':_0x35a528[_0x2c06c4(0x472)](),'error$':_0x28d55f['asObservable'](),'open$':_0x3aa6a8[_0x2c06c4(0x4a0)],'message$':_0x539d9d[_0x2c06c4(0x472)](),'send':_0x50b558=>{const _0x3568d1=_0x2c06c4;if(_0x50b558[_0x3568d1(0x3a3)]===W[_0x3568d1(0x5a6)]){if(_0x50b558[_0x3568d1(0x233)][_0x3568d1(0x1b1)]===_0x8a32d4[_0x3568d1(0x5a8)]){this[_0x3568d1(0x559)](_0x3db18c,_0x50b558['data'])['catch'](_0xe326db=>{const _0x2c8f23=_0x3568d1;this[_0x2c8f23(0x3b6)][_0x2c8f23(0x1ec)](_0xe326db),_0x90b614();});return;}if(_0x50b558[_0x3568d1(0x233)][_0x3568d1(0x1b1)]===_0x8a32d4[_0x3568d1(0x443)]){const _0x381612=_0x50b558[_0x3568d1(0x233)];this[_0x3568d1(0x440)](_0x381612)[_0x3568d1(0x4dd)](_0x33fbc3=>{const _0x3ce6ae=_0x3568d1;_0x539d9d[_0x3ce6ae(0x307)]({'cmd':W[_0x3ce6ae(0x3a2)],'code':ws['OK'],'routeKey':_0x381612[_0x3ce6ae(0x233)][_0x3ce6ae(0x405)],'routeType':'','data':{'eventID':_0x8a32d4[_0x3ce6ae(0x48d)],'data':{'changesets':_0x33fbc3}}});})[_0x3568d1(0x1e1)](_0x28cfd4=>{const _0x9317d3=_0x3568d1;this[_0x9317d3(0x3b6)]['error'](_0x28cfd4),_0x90b614();});return;}}_0x3aa6a8[_0x3568d1(0x286)](kn(_0x50b558));},'close':()=>{const _0x5c3c14=_0x2c06c4;_0x3aa6a8[_0x5c3c14(0x459)](),_0x5b5085[_0x5c3c14(0x1ba)]();}},_0x3db18c;}async[_0x59f468(0x559)](_0x107068,_0x1142c2){const _0x4d81f5=_0x59f468;var _0x4fbd21,_0x525975;const {unitType:_0x2caf5f,unitID:_0x50929b,changeset:_0x583eff}=_0x1142c2[_0x4d81f5(0x233)],_0x239731={'unitID':_0x50929b,'memberID':_0x107068[_0x4d81f5(0x31e)],'type':_0x2caf5f,'changeset':_0x51288e(_0x583eff)},_0x375556=this['_configService']['getConfig'](xn),_0x977117=this[_0x4d81f5(0x58b)][_0x4d81f5(0x55d)](Q),_0x499e05=Gn((_0x525975=(_0x4fbd21=_0x977117==null?void 0x0:_0x977117[_0x4d81f5(0x43c)])!=null?_0x4fbd21:_0x375556)!=null?_0x525975:Ln,_0x2caf5f,_0x50929b);try{await this['_http'][_0x4d81f5(0x32e)](_0x499e05,{'body':_0x239731});}catch(_0x3dc4f8){throw this[_0x4d81f5(0x3b6)][_0x4d81f5(0x1ec)](_0x4d81f5(0x276),_0x4d81f5(0x291)),_0x3dc4f8;}}async['_fetchMissChangesets'](_0x23a726){const _0x46f96b=_0x59f468,{unitID:_0x123c78,from:_0x57286d,to:_0x4b4395,unitType:_0x55df90}=_0x23a726['data'];return(await this[_0x46f96b(0x29d)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x123c78,'type':_0x55df90,'from':_0x57286d,'to':_0x4b4395}))['changesets'];}};as=Vn([qe(0x0,_0x222038(_0x216536)),qe(0x1,_0x222038(_0x5cdeee)),qe(0x2,_0x486aed),qe(0x3,_0x37805d),qe(0x4,_0x24bd52)],as);const Yn=_0x59f468(0x55f);function Kn(_0xda19a9){const _0x2b2c75=_0x59f468;return JSON[_0x2b2c75(0x3fc)](_0xda19a9)[_0x2b2c75(0x21a)];}class Gi{constructor(){const _0x17a13c=_0x59f468;g(this,_0x17a13c(0x548),new _0xd6475b()),g(this,_0x17a13c(0x57e),this[_0x17a13c(0x548)][_0x17a13c(0x472)]());}[_0x59f468(0x4fa)](_0x4e5a2d){const _0x3ff7cd=_0x59f468;this[_0x3ff7cd(0x548)][_0x3ff7cd(0x307)](_0x4e5a2d);}}var qn=Object[_0x59f468(0x29a)],zn=Object['getOwnPropertyDescriptor'],Xn=(_0x1cef08,_0x2e16a6,_0x14f7b2,_0x4d9622)=>{const _0x10aae1=_0x59f468;for(var _0x405e61=_0x4d9622>0x1?void 0x0:_0x4d9622?zn(_0x2e16a6,_0x14f7b2):_0x2e16a6,_0xdd0eb2=_0x1cef08[_0x10aae1(0x21a)]-0x1,_0x2700e5;_0xdd0eb2>=0x0;_0xdd0eb2--)(_0x2700e5=_0x1cef08[_0xdd0eb2])&&(_0x405e61=(_0x4d9622?_0x2700e5(_0x2e16a6,_0x14f7b2,_0x405e61):_0x2700e5(_0x405e61))||_0x405e61);return _0x4d9622&&_0x405e61&&qn(_0x2e16a6,_0x14f7b2,_0x405e61),_0x405e61;},Ks=(_0x5ca33d,_0x49c7ed)=>(_0x8e0690,_0x337eb9)=>_0x49c7ed(_0x8e0690,_0x337eb9,_0x5ca33d);let Ae=class extends _0x19fe63{constructor(_0x14d5d7,_0x8b66e2){const _0x4ddfae=_0x59f468;super(),g(this,'_roomMembers',new Map()),(this[_0x4ddfae(0x525)]=_0x14d5d7,this[_0x4ddfae(0x19c)]=_0x8b66e2,this['disposeWithMe'](_0x510055(_0x5becde(this[_0x4ddfae(0x525)]['getTypeOfUnitDisposed$'](_0x52550e[_0x4ddfae(0x2b0)])['pipe'](_0x3968e0(_0x2f993c=>_0x2f993c[_0x4ddfae(0x25c)]())),this[_0x4ddfae(0x525)][_0x4ddfae(0x31a)](_0x52550e['UNIVER_DOC'])[_0x4ddfae(0x318)](_0x3968e0(_0x244168=>_0x244168[_0x4ddfae(0x25c)]())),this['_univerInstanceService'][_0x4ddfae(0x31a)](_0x52550e[_0x4ddfae(0x4b5)])[_0x4ddfae(0x318)](_0x3968e0(_0x3fa584=>_0x3fa584[_0x4ddfae(0x25c)]())))[_0x4ddfae(0x347)](_0x27e477=>this['_removeRoom'](_0x27e477)))));}[_0x59f468(0x1a4)](_0x1ffe46){const _0x48f6fd=_0x59f468;this['_userManagerService'][_0x48f6fd(0x1a4)](_0x1ffe46);}[_0x59f468(0x542)](){const _0x576720=_0x59f468;return this[_0x576720(0x19c)][_0x576720(0x542)]();}['updateMember'](_0x227c44,_0x1c5724){const _0x1a73dd=_0x59f468;let _0x352a9b=this[_0x1a73dd(0x500)][_0x1a73dd(0x25d)](_0x227c44);_0x352a9b||(_0x352a9b=new Jn(),this[_0x1a73dd(0x500)][_0x1a73dd(0x279)](_0x227c44,_0x352a9b)),_0x352a9b[_0x1a73dd(0x3aa)](_0x1c5724);}[_0x59f468(0x211)](_0x556493,_0x5f2aac){const _0x52e657=_0x59f468,_0x574167=this[_0x52e657(0x500)]['get'](_0x556493);_0x574167&&_0x574167[_0x52e657(0x211)](_0x5f2aac);}[_0x59f468(0x2c7)](_0x2a9e0c){const _0x5e5a39=_0x59f468;return this[_0x5e5a39(0x500)]['get'](_0x2a9e0c);}[_0x59f468(0x2ac)](_0x584a49,_0x38ff4a){const _0x5a7661=_0x59f468,_0x43cdaa=this[_0x5a7661(0x500)][_0x5a7661(0x25d)](_0x584a49);if(_0x43cdaa)return _0x43cdaa['getMember'](_0x38ff4a);}[_0x59f468(0x39a)](_0x2ebb26){const _0x38b6e4=_0x59f468,_0x1786d7=this[_0x38b6e4(0x500)][_0x38b6e4(0x25d)](_0x2ebb26);_0x1786d7&&(_0x1786d7[_0x38b6e4(0x1ba)](),this[_0x38b6e4(0x500)][_0x38b6e4(0x29e)](_0x2ebb26));}['dispose'](){const _0x438645=_0x59f468;this[_0x438645(0x500)]['forEach'](_0x24bbad=>_0x24bbad[_0x438645(0x1ba)]()),this[_0x438645(0x500)][_0x438645(0x58a)]();}};Ae=Xn([Ks(0x0,_0xd7de45),Ks(0x1,_0x222038(_0x581f13))],Ae);class Jn extends _0x19fe63{constructor(){const _0x409238=_0x59f468;super(...arguments),g(this,_0x409238(0x26c),new Map());}[_0x59f468(0x1ba)](){const _0x5f8f5b=_0x59f468;this[_0x5f8f5b(0x26c)][_0x5f8f5b(0x58a)]();}['updateMember'](_0x2eebb6){const _0x1becba=_0x59f468;this[_0x1becba(0x26c)][_0x1becba(0x279)](_0x2eebb6['memberID'],_0x2eebb6);}[_0x59f468(0x211)](_0xe99f6){const _0x128126=_0x59f468;this['_members'][_0x128126(0x29e)](_0xe99f6);}[_0x59f468(0x2ac)](_0x468437){const _0x56902b=_0x59f468;return this[_0x56902b(0x26c)][_0x56902b(0x25d)](_0x468437);}[_0x59f468(0x3e9)](){const _0x270948=_0x59f468;return Array['from'](this[_0x270948(0x26c)]['values']());}}var Zn=Object[_0x59f468(0x29a)],Qn=Object[_0x59f468(0x368)],eo=(_0x283de2,_0x322505,_0x47bb18,_0x64fb86)=>{for(var _0x45af6f=_0x64fb86>0x1?void 0x0:_0x64fb86?Qn(_0x322505,_0x47bb18):_0x322505,_0x1b9edc=_0x283de2['length']-0x1,_0xc26426;_0x1b9edc>=0x0;_0x1b9edc--)(_0xc26426=_0x283de2[_0x1b9edc])&&(_0x45af6f=(_0x64fb86?_0xc26426(_0x322505,_0x47bb18,_0x45af6f):_0xc26426(_0x45af6f))||_0x45af6f);return _0x64fb86&&_0x45af6f&&Zn(_0x322505,_0x47bb18,_0x45af6f),_0x45af6f;},Ee=(_0xe9a733,_0x51b3f6)=>(_0x1acbbf,_0x4c0db7)=>_0x51b3f6(_0x1acbbf,_0x4c0db7,_0xe9a733),fe=(_0x44505e=>(_0x44505e[_0x44505e[_0x59f468(0x27d)]=0x0]='IDLE',_0x44505e[_0x44505e[_0x59f468(0x3e7)]=0x1]=_0x59f468(0x3e7),_0x44505e[_0x44505e[_0x59f468(0x37c)]=0x2]=_0x59f468(0x37c),_0x44505e[_0x44505e[_0x59f468(0x3b5)]=0x3]=_0x59f468(0x3b5),_0x44505e))(fe||{});let cs=class extends _0x2c59cd{constructor(_0x246a41,_0x1a2fac,_0x2868b7,_0x2a18d6,_0x53be9c,_0x5d7107,_0x59c84d,_0x5e0e5a,_0x392935,_0x4d8018){const _0x1bfb55=_0x59f468;super(),g(this,_0x1bfb55(0x1fa),new _0x1f1fc6(0x0)),g(this,_0x1bfb55(0x27b),this[_0x1bfb55(0x1fa)][_0x1bfb55(0x472)]()),g(this,_0x1bfb55(0x4fc),new _0xd6475b()),g(this,_0x1bfb55(0x529),this['_event$'][_0x1bfb55(0x472)]()),g(this,_0x1bfb55(0x588)),g(this,_0x1bfb55(0x3d7)),g(this,_0x1bfb55(0x3f6)),g(this,'_shouldReportTelemetry',!0x1),g(this,'_telemetryInfo',null),(this[_0x1bfb55(0x403)]=_0x246a41,this[_0x1bfb55(0x3b6)]=_0x2868b7,this[_0x1bfb55(0x54b)]=_0x2a18d6,this[_0x1bfb55(0x3bb)]=_0x53be9c,this[_0x1bfb55(0x58b)]=_0x5d7107,this['_localeService']=_0x59c84d,this['_memberService']=_0x5e0e5a,this[_0x1bfb55(0x578)]=_0x392935,this[_0x1bfb55(0x450)]=_0x4d8018,this[_0x1bfb55(0x545)]=!!this[_0x1bfb55(0x450)],_0x1a2fac[_0x1bfb55(0x318)](_0x2eaf5f(this[_0x1bfb55(0x2c5)]))[_0x1bfb55(0x347)](_0x2527c5=>{const _0x1cae7f=_0x1bfb55;var _0x19dea9;typeof _0x2527c5>'u'||(this[_0x1cae7f(0x588)]=_0x2527c5,_0x2527c5?(this[_0x1cae7f(0x21e)](_0x2527c5),this[_0x1cae7f(0x3d7)]=_0x2527c5[_0x1cae7f(0x464)][_0x1cae7f(0x347)](_0x55e1e2=>{const _0x92a804=_0x1cae7f;_0x55e1e2[_0x92a804(0x1c3)]===this[_0x92a804(0x403)]&&this[_0x92a804(0x3a9)](_0x55e1e2);})):(this[_0x1cae7f(0x308)](),this[_0x1cae7f(0x1fa)][_0x1cae7f(0x307)](0x2),(_0x19dea9=this[_0x1cae7f(0x3d7)])==null||_0x19dea9[_0x1cae7f(0x372)](),this[_0x1cae7f(0x3d7)]=null));}),this[_0x1bfb55(0x4e2)](this['_beforeCloseService'][_0x1bfb55(0x3c1)](()=>{const _0x5c7650=_0x1bfb55;var _0xa672a3;(_0xa672a3=this[_0x5c7650(0x588)])==null||_0xa672a3[_0x5c7650(0x286)]({'cmd':W[_0x5c7650(0x2f7)],'data':{'roomID':this[_0x5c7650(0x403)]}});})));}get[_0x59f468(0x3f1)](){const _0x2c3429=_0x59f468;return this['_sessionStatus$'][_0x2c3429(0x44d)]();}[_0x59f468(0x34f)](){const _0x5974f8=_0x59f468;var _0x485457,_0x28034c;return(_0x28034c=(_0x485457=this[_0x5974f8(0x588)])==null?void 0x0:_0x485457['memberID'])!=null?_0x28034c:null;}['dispose'](){const _0x2c1940=_0x59f468;super['dispose'](),this[_0x2c1940(0x2c5)]['next'](),this['dispose$'][_0x2c1940(0x3ee)]();}[_0x59f468(0x459)](){const _0x580023=_0x59f468;var _0x45e6b7,_0x1bd62c;this['_throwTelemetryCollaborationNewChangeset'](),(_0x45e6b7=this[_0x580023(0x588)])==null||_0x45e6b7['send']({'cmd':W[_0x580023(0x2f7)],'data':{'roomID':this['_unitID']}}),(_0x1bd62c=this[_0x580023(0x588)])==null||_0x1bd62c[_0x580023(0x459)](),this[_0x580023(0x4fc)][_0x580023(0x3ee)](),this[_0x580023(0x1fa)][_0x580023(0x3ee)](),this['dispose']();}['_onCombEvent'](_0x5211ca){const _0x477788=_0x59f468;_0x5211ca[_0x477788(0x3a3)]===W['JOIN']?this[_0x477788(0x51b)](_0x5211ca):_0x5211ca[_0x477788(0x3a3)]===W['RECV']&&this[_0x477788(0x269)](_0x5211ca);}[_0x59f468(0x21e)](_0x1f8802){const _0xac8a60=_0x59f468;this[_0xac8a60(0x1fa)]['next'](0x1),_0x1f8802[_0xac8a60(0x286)]({'cmd':W[_0xac8a60(0x576)],'routeKey':this[_0xac8a60(0x403)],'routeType':'','data':{'rooms':[{'roomID':this[_0xac8a60(0x403)]}]}});}[_0x59f468(0x51b)](_0x2a3a3a){const _0x7a2e47=_0x59f468;var _0x468dd0;if(_0x2a3a3a[_0x7a2e47(0x2b1)]===ws[_0x7a2e47(0x565)]){this['_messageService'][_0x7a2e47(0x31c)]({'type':_0x47f0e7[_0x7a2e47(0x19a)],'content':this[_0x7a2e47(0x58c)]['t']('session.room-full')}),this[_0x7a2e47(0x1fa)][_0x7a2e47(0x307)](0x2);return;}this[_0x7a2e47(0x1fa)]['next'](0x3);const _0x1d6270=(_0x468dd0=_0x2a3a3a[_0x7a2e47(0x233)][_0x7a2e47(0x5a9)][this[_0x7a2e47(0x403)]])==null?void 0x0:_0x468dd0['members'];_0x1d6270&&_0x1d6270[_0x7a2e47(0x3b0)](_0x343c77=>this[_0x7a2e47(0x43b)][_0x7a2e47(0x3aa)](this[_0x7a2e47(0x403)],_0x343c77));}['_onRecvEvent'](_0x53b355){const _0x3e7bc0=_0x59f468;try{const _0x21c059=_0x53b355['data'];switch(_0x21c059[_0x3e7bc0(0x1b1)]){case _0x8a32d4['USERS_ENTER']:this['_onUserJoin'](_0x21c059),this[_0x3e7bc0(0x4fc)]['next'](_0x21c059);break;case _0x8a32d4[_0x3e7bc0(0x23b)]:this[_0x3e7bc0(0x5ad)](_0x21c059),this[_0x3e7bc0(0x4fc)]['next'](_0x21c059);break;case _0x8a32d4[_0x3e7bc0(0x3ea)]:case _0x8a32d4[_0x3e7bc0(0x445)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3e7bc0(0x448)](),this[_0x3e7bc0(0x4fc)]['next'](_0x21c059);break;case _0x8a32d4[_0x3e7bc0(0x201)]:this[_0x3e7bc0(0x3b6)][_0x3e7bc0(0x1ec)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x3e7bc0(0x3fc)](_0x21c059)),this[_0x3e7bc0(0x4fc)]['next'](_0x21c059);break;case _0x8a32d4['COMMENT_UPDATE']:this['_commentService'][_0x3e7bc0(0x4fa)](_0x21c059['data']),this['_event$'][_0x3e7bc0(0x307)](_0x21c059);break;default:this[_0x3e7bc0(0x4fc)][_0x3e7bc0(0x307)](_0x21c059);}}catch(_0x20b8d0){this[_0x3e7bc0(0x3b6)][_0x3e7bc0(0x1ec)](_0x20b8d0,_0x53b355);}}[_0x59f468(0x274)](_0x42349a){const _0x29429a=_0x59f468;this[_0x29429a(0x43b)]['updateMember'](this['_unitID'],_0x42349a[_0x29429a(0x233)]);}[_0x59f468(0x5ad)](_0x45fe39){const _0x5ed72c=_0x59f468;this[_0x5ed72c(0x43b)][_0x5ed72c(0x211)](this[_0x5ed72c(0x403)],_0x45fe39[_0x5ed72c(0x233)][_0x5ed72c(0x31e)]);}async[_0x59f468(0x286)](_0x5dc2ca,_0x22177b){const _0x35b5e3=_0x59f468;if(this[_0x35b5e3(0x3f1)]!==0x3||!this[_0x35b5e3(0x588)])throw new Error(_0x35b5e3(0x50b));try{_0x5dc2ca[_0x35b5e3(0x1b1)]===_0x8a32d4[_0x35b5e3(0x5a8)]&&(this[_0x35b5e3(0x256)](),this[_0x35b5e3(0x455)](_0x5dc2ca)),this[_0x35b5e3(0x588)][_0x35b5e3(0x286)]({'cmd':W[_0x35b5e3(0x5a6)],'routeKey':_0x22177b,'routeType':'','data':_0x5dc2ca});}catch(_0x475837){this[_0x35b5e3(0x3b6)][_0x35b5e3(0x1ec)](_0x475837);}}[_0x59f468(0x256)](){const _0x474a6c=_0x59f468;var _0x5674f7;this['_collaborationTimeoutTimer']=window['setTimeout'](()=>{const _0x529edd=_0x2eda;this['_collaborationTimeoutTimer']=null,this['_messageService'][_0x529edd(0x31c)]({'type':_0x47f0e7['Error'],'content':this['_localeService']['t'](_0x529edd(0x1a7))});},(_0x5674f7=this['_configService'][_0x474a6c(0x55d)](Bi))!=null?_0x5674f7:ki);}[_0x59f468(0x448)](){const _0x227aa2=_0x59f468;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x227aa2(0x3f6)]=null);}[_0x59f468(0x455)](_0x263284){const _0xd90046=_0x59f468;if(!this[_0xd90046(0x545)])return;const {data:_0xd5584}=_0x263284,{unitID:_0x4d9035,changeset:_0x24d7f8}=_0xd5584,{mutations:_0x1f30f8,type:_0x4a90f7}=_0x24d7f8;this[_0xd90046(0x413)]={'unitId':_0x4d9035,'type':_0x4a90f7,'startTime':performance[_0xd90046(0x1db)](),'stopTime':0x0,'duration':0x0,'size':Kn(_0x1f30f8)};}[_0x59f468(0x536)](){const _0x40cfac=_0x59f468;if(this['_shouldReportTelemetry']){if(!this[_0x40cfac(0x413)]){this[_0x40cfac(0x3b6)][_0x40cfac(0x1ec)](_0x40cfac(0x276),_0x40cfac(0x3d3));return;}this[_0x40cfac(0x413)]['stopTime']=performance['now'](),this[_0x40cfac(0x413)][_0x40cfac(0x490)]=this[_0x40cfac(0x413)]['stopTime']-this['_telemetryInfo'][_0x40cfac(0x543)],this[_0x40cfac(0x450)][_0x40cfac(0x325)](Yn,this[_0x40cfac(0x413)]),this[_0x40cfac(0x413)]=null;}}[_0x59f468(0x308)](){this['_telemetryInfo']=null;}};cs=eo([Ee(0x2,_0x37805d),Ee(0x3,_0x28b31b),Ee(0x4,_0x3bbf26),Ee(0x5,_0x486aed),Ee(0x6,_0x222038(_0x52880d)),Ee(0x7,_0x222038(Ae)),Ee(0x8,_0x222038(Gi)),Ee(0x9,_0x3a5345(_0x30dd3c))],cs);var to=Object[_0x59f468(0x29a)],so=Object['getOwnPropertyDescriptor'],io=(_0x3a160d,_0x20c0de,_0x2ea421,_0x4e2613)=>{for(var _0x300309=_0x4e2613>0x1?void 0x0:_0x4e2613?so(_0x20c0de,_0x2ea421):_0x20c0de,_0x19284c=_0x3a160d['length']-0x1,_0x4f3783;_0x19284c>=0x0;_0x19284c--)(_0x4f3783=_0x3a160d[_0x19284c])&&(_0x300309=(_0x4e2613?_0x4f3783(_0x20c0de,_0x2ea421,_0x300309):_0x4f3783(_0x300309))||_0x300309);return _0x4e2613&&_0x300309&&to(_0x20c0de,_0x2ea421,_0x300309),_0x300309;},ye=(_0x12db5b,_0x4e8ee9)=>(_0x148ef0,_0x10783e)=>_0x4e8ee9(_0x148ef0,_0x10783e,_0x12db5b);let Me=class extends _0x19fe63{constructor(_0x2061c9,_0x5e2f2f,_0x5d3a99,_0x8db620,_0x4429ce,_0x94bc9d,_0x4f3354){const _0x3763e2=_0x59f468;super(),g(this,'_socket$',new _0x1f1fc6(void 0x0)),g(this,'socket$',this['_socket$']['asObservable']()),g(this,_0x3763e2(0x4ad),null),g(this,'_sessions',new Map()),g(this,_0x3763e2(0x1c6),new _0x1f1fc6(fe[_0x3763e2(0x27d)])),g(this,_0x3763e2(0x215),this['_status$']['asObservable']()),g(this,_0x3763e2(0x24c),!0x1),g(this,_0x3763e2(0x59b)),g(this,_0x3763e2(0x3fe),0x0),g(this,_0x3763e2(0x49d)),g(this,'_timeoutTimer'),(this[_0x3763e2(0x351)]=_0x2061c9,this['_localeService']=_0x5e2f2f,this['_messageService']=_0x5d3a99,this['_logService']=_0x8db620,this[_0x3763e2(0x58b)]=_0x4429ce,this[_0x3763e2(0x2a2)]=_0x94bc9d,this['_httpService']=_0x4f3354,this[_0x3763e2(0x4d1)]());}get[_0x59f468(0x588)](){const _0x5e21fe=_0x59f468;return this[_0x5e21fe(0x1b2)]['getValue']();}[_0x59f468(0x4d1)](){const _0x422637=_0x59f468;this[_0x422637(0x498)](),this['_listenToOnlineEvent']();}[_0x59f468(0x1ba)](){const _0x3808f4=_0x59f468;super[_0x3808f4(0x1ba)](),this[_0x3808f4(0x476)][_0x3808f4(0x3b0)](_0xe177e6=>_0xe177e6['dispose']()),this[_0x3808f4(0x476)][_0x3808f4(0x58a)](),this[_0x3808f4(0x1c6)][_0x3808f4(0x3ee)]();}async[_0x59f468(0x55c)](_0x1341df){const _0x1a0ef2=_0x59f468;if(this['_sessions'][_0x1a0ef2(0x309)](_0x1341df))return this[_0x1a0ef2(0x476)][_0x1a0ef2(0x25d)](_0x1341df);this[_0x1a0ef2(0x304)]();const _0x34ea12=this[_0x1a0ef2(0x351)][_0x1a0ef2(0x2d8)](cs,_0x1341df,this[_0x1a0ef2(0x1b2)][_0x1a0ef2(0x472)]());return this[_0x1a0ef2(0x476)][_0x1a0ef2(0x279)](_0x1341df,_0x34ea12),_0x34ea12;}['closeSession'](_0x3e5c5b){const _0x5c8ce3=_0x59f468;var _0x5a7a42;const _0x3da0e2=this[_0x5c8ce3(0x476)][_0x5c8ce3(0x25d)](_0x3e5c5b);_0x3da0e2&&(this[_0x5c8ce3(0x476)][_0x5c8ce3(0x29e)](_0x3e5c5b),_0x3da0e2['close']()),this[_0x5c8ce3(0x476)][_0x5c8ce3(0x49b)]||(_0x5a7a42=this[_0x5c8ce3(0x588)])==null||_0x5a7a42[_0x5c8ce3(0x459)]();}[_0x59f468(0x587)](){const _0x3fa704=_0x59f468;this['_retryCount']=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x3fa704(0x59b)]),this['_retryConnectingTimer']=null),this[_0x3fa704(0x40a)]();}async[_0x59f468(0x4a7)](){const _0x2c04d0=_0x59f468;var _0x845952,_0x19d8c1,_0x4c1f16;const _0x42bfd7=this[_0x2c04d0(0x58b)][_0x2c04d0(0x55d)](Q),_0x5af8c3=(_0x845952=_0x42bfd7==null?void 0x0:_0x42bfd7[_0x2c04d0(0x24e)])!=null?_0x845952:yn;return(_0x4c1f16=(_0x19d8c1=(await this[_0x2c04d0(0x2e7)][_0x2c04d0(0x25d)](_0x5af8c3,{'headers':{'Content-Type':_0x2c04d0(0x595)}}))[_0x2c04d0(0x444)])==null?void 0x0:_0x19d8c1['ticket'])!=null?_0x4c1f16:'';}[_0x59f468(0x1bf)](_0x533a10){const _0x157314=_0x59f468;var _0x3e894a,_0x7866c2;const _0x30f0ae=this[_0x157314(0x58b)][_0x157314(0x55d)](Rn),_0x376c83=this[_0x157314(0x58b)][_0x157314(0x55d)](Q),_0x367b29=(_0x7866c2=(_0x3e894a=_0x376c83==null?void 0x0:_0x376c83[_0x157314(0x255)])!=null?_0x3e894a:_0x30f0ae)!=null?_0x7866c2:On,_0x453909=new URL(_0x367b29,window[_0x157314(0x30e)][_0x157314(0x4d7)]);return _0x453909[_0x157314(0x4f2)][_0x157314(0x279)](_0x157314(0x40c),_0x533a10),_0x453909[_0x157314(0x4a1)]();}async[_0x59f468(0x1c2)](){const _0xbd84c8=_0x59f468,_0x50cd3f=await this[_0xbd84c8(0x4a7)](),_0x295c51=this[_0xbd84c8(0x1bf)](_0x50cd3f),_0x11c564=this['_socketService']['createSocket'](_0x295c51);return this['_candidateSocket']=_0x11c564,_0x11c564;}async[_0x59f468(0x304)](){const _0x1a3a66=_0x59f468;var _0x216029,_0x3c696a;try{const _0x241742=(_0x3c696a=(_0x216029=this[_0x1a3a66(0x588)])!=null?_0x216029:this[_0x1a3a66(0x4ad)])!=null?_0x3c696a:await this[_0x1a3a66(0x1c2)]();if(_0x241742){const _0x7ea728=_0x241742[_0x1a3a66(0x286)];_0x241742[_0x1a3a66(0x286)]=_0x1433e1=>(this['_rescheduleHeartbeat'](),_0x7ea728['apply'](_0x241742,[_0x1433e1])),_0x241742[_0x1a3a66(0x464)][_0x1a3a66(0x347)](_0x3c1e84=>this['_onMessage'](_0x241742,_0x3c1e84)),_0x241742[_0x1a3a66(0x1b6)][_0x1a3a66(0x318)](_0x44e846(0x1))[_0x1a3a66(0x347)](_0x20c6d4=>this[_0x1a3a66(0x3b6)][_0x1a3a66(0x1ec)](_0x1a3a66(0x439),_0x20c6d4)),_0x241742[_0x1a3a66(0x4a0)][_0x1a3a66(0x318)](_0x44e846(0x1))[_0x1a3a66(0x347)](()=>{const _0x5b3ac0=_0x1a3a66;this[_0x5b3ac0(0x227)](_0x241742);}),_0x241742[_0x1a3a66(0x45e)]['pipe'](_0x44e846(0x1))['subscribe'](_0x1bada4=>{const _0x42d01d=_0x1a3a66;this[_0x42d01d(0x3b6)][_0x42d01d(0x48b)]('[CollaborationSessionService]',_0x42d01d(0x4b3),_0x1bada4),this[_0x42d01d(0x1f3)]();});}}catch(_0x1bda03){this[_0x1a3a66(0x3b6)]['error'](_0x1bda03),this[_0x1a3a66(0x1f3)]();}}[_0x59f468(0x227)](_0x6fa55){const _0x463724=_0x59f468;this['_logService'][_0x463724(0x48b)]('[CollaborationSessionService]',_0x463724(0x352)),_0x6fa55[_0x463724(0x286)]({'cmd':W[_0x463724(0x2eb)]}),this[_0x463724(0x397)]();}[_0x59f468(0x498)](){const _0x283fbd=_0x59f468;window[_0x283fbd(0x59a)](_0x283fbd(0x553),()=>this[_0x283fbd(0x33d)]());}['_onOffline'](){const _0x188f59=_0x59f468;this[_0x188f59(0x24c)]=!0x1,this[_0x188f59(0x4ad)]=null,this['_status$'][_0x188f59(0x307)](fe[_0x188f59(0x37c)]),this['_socket$'][_0x188f59(0x307)](null),this['_clearTimeoutTimer'](),this[_0x188f59(0x3bf)]();}[_0x59f468(0x1f3)](){const _0x485285=_0x59f468;var _0x468926;this[_0x485285(0x33d)](),this[_0x485285(0x3fe)]<((_0x468926=this[_0x485285(0x58b)][_0x485285(0x55d)](Un))!=null?_0x468926:Nn)?(this[_0x485285(0x3bb)][_0x485285(0x31c)]({'key':_0x485285(0x407),'type':_0x47f0e7['Warning'],'content':this[_0x485285(0x58c)]['t']('session.will-retry')}),this[_0x485285(0x40a)]()):this['_messageService'][_0x485285(0x31c)]({'key':_0x485285(0x407),'type':_0x47f0e7['Error'],'content':this[_0x485285(0x58c)]['t'](_0x485285(0x1d6))});}[_0x59f468(0x4c2)](){const _0x5c3ca5=_0x59f468,_0x257acf=()=>{const _0x1724d8=_0x2eda;this[_0x1724d8(0x588)]||this[_0x1724d8(0x587)]();},_0x34a932=()=>{const _0x1e762b=_0x2eda;this[_0x1e762b(0x588)]||document[_0x1e762b(0x583)]===_0x1e762b(0x345)||this[_0x1e762b(0x587)]();};window[_0x5c3ca5(0x59a)](_0x5c3ca5(0x56b),_0x257acf),document[_0x5c3ca5(0x59a)](_0x5c3ca5(0x434),_0x34a932);}[_0x59f468(0x40a)](){const _0x350d2c=_0x59f468;var _0x49372c;const _0x4d4319=this[_0x350d2c(0x3fe)],_0x5235cb=this[_0x350d2c(0x58b)][_0x350d2c(0x55d)](Q),_0x825202=_0x4d4319===0x0?0x0:((_0x49372c=_0x5235cb==null?void 0x0:_0x5235cb[_0x350d2c(0x479)])!=null?_0x49372c:Pn)*0x2**_0x4d4319;this[_0x350d2c(0x59b)]=window[_0x350d2c(0x2b7)](()=>{const _0x2a3b6d=_0x350d2c;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x2a3b6d(0x304)]();},_0x825202),this[_0x350d2c(0x3fe)]+=0x1;}['_onMessage'](_0x2c5b82,_0x23009e){const _0xa20fe5=_0x59f468,{cmd:_0x28a19a}=_0x23009e;_0x28a19a===W[_0xa20fe5(0x2eb)]&&!this[_0xa20fe5(0x24c)]&&(_0x2c5b82[_0xa20fe5(0x31e)]=_0x23009e['data']['memberID'],this['_socket$']['next'](_0x2c5b82),this[_0xa20fe5(0x1c6)]['next'](fe[_0xa20fe5(0x3b5)]),this[_0xa20fe5(0x24c)]=!0x0,this[_0xa20fe5(0x4ad)]=null),_0x28a19a===W[_0xa20fe5(0x28b)]&&this[_0xa20fe5(0x477)](),this['_rescheduleHeartbeat']();}[_0x59f468(0x397)](){const _0x532260=_0x59f468;var _0x27ecb8;this[_0x532260(0x3bf)](),this['_sendHeartbeatTimer']=window['setTimeout'](()=>this[_0x532260(0x3d2)](),(_0x27ecb8=this[_0x532260(0x58b)][_0x532260(0x55d)](wn))!=null?_0x27ecb8:Dn);}[_0x59f468(0x3d2)](){const _0x5a2191=_0x59f468;this[_0x5a2191(0x588)][_0x5a2191(0x286)]({'cmd':W['HEARTBEAT']}),this[_0x5a2191(0x454)]();}[_0x59f468(0x454)](){const _0x2c404c=_0x59f468;var _0x53cbb2;this[_0x2c404c(0x534)]=window['setTimeout'](()=>this[_0x2c404c(0x1f3)](),(_0x53cbb2=this[_0x2c404c(0x58b)][_0x2c404c(0x55d)](Bi))!=null?_0x53cbb2:ki);}[_0x59f468(0x3bf)](){const _0x3983fb=_0x59f468;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x3983fb(0x49d)]),this[_0x3983fb(0x49d)]=null);}[_0x59f468(0x477)](){const _0x40e69c=_0x59f468;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x40e69c(0x534)]),this[_0x40e69c(0x534)]=null);}};Me=io([ye(0x0,_0x222038(_0x2e1c56)),ye(0x1,_0x222038(_0x52880d)),ye(0x2,_0x3bbf26),ye(0x3,_0x37805d),ye(0x4,_0x486aed),ye(0x5,Vi),ye(0x6,_0x222038(_0x216536))],Me);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x59f468(0x4cf)]((i+0x100)[_0x59f468(0x4a1)](0x10)[_0x59f468(0x38c)](0x1));function ro(_0x2eefd0,_0xbffe89=0x0){const _0xaa1864=_0x59f468;return(Y[_0x2eefd0[_0xbffe89+0x0]]+Y[_0x2eefd0[_0xbffe89+0x1]]+Y[_0x2eefd0[_0xbffe89+0x2]]+Y[_0x2eefd0[_0xbffe89+0x3]]+'-'+Y[_0x2eefd0[_0xbffe89+0x4]]+Y[_0x2eefd0[_0xbffe89+0x5]]+'-'+Y[_0x2eefd0[_0xbffe89+0x6]]+Y[_0x2eefd0[_0xbffe89+0x7]]+'-'+Y[_0x2eefd0[_0xbffe89+0x8]]+Y[_0x2eefd0[_0xbffe89+0x9]]+'-'+Y[_0x2eefd0[_0xbffe89+0xa]]+Y[_0x2eefd0[_0xbffe89+0xb]]+Y[_0x2eefd0[_0xbffe89+0xc]]+Y[_0x2eefd0[_0xbffe89+0xd]]+Y[_0x2eefd0[_0xbffe89+0xe]]+Y[_0x2eefd0[_0xbffe89+0xf]])[_0xaa1864(0x4c8)]();}let Vt;const no=new Uint8Array(0x10);function oo(){const _0x58fb55=_0x59f468;if(!Vt){if(typeof crypto>'u'||!crypto[_0x58fb55(0x4cc)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Vt=crypto[_0x58fb55(0x4cc)]['bind'](crypto);}return Vt(no);}const ao=typeof crypto<'u'&&crypto[_0x59f468(0x5aa)]&&crypto[_0x59f468(0x5aa)]['bind'](crypto),qs={'randomUUID':ao};function co(_0x488ff9,_0x1ef65a,_0x234c70){const _0x1b4e94=_0x59f468;if(qs[_0x1b4e94(0x5aa)]&&!_0x1ef65a&&!_0x488ff9)return qs[_0x1b4e94(0x5aa)]();_0x488ff9=_0x488ff9||{};const _0x556a0f=_0x488ff9[_0x1b4e94(0x585)]||(_0x488ff9[_0x1b4e94(0x4ab)]||oo)();return _0x556a0f[0x6]=_0x556a0f[0x6]&0xf|0x40,_0x556a0f[0x8]=_0x556a0f[0x8]&0x3f|0x80,ro(_0x556a0f);}var ho=Object[_0x59f468(0x29a)],lo=Object[_0x59f468(0x368)],_o=(_0x1ff5b5,_0x236b0a,_0x4f4d26,_0x59754d)=>{const _0x1eb969=_0x59f468;for(var _0x34fe4c=_0x59754d>0x1?void 0x0:_0x59754d?lo(_0x236b0a,_0x4f4d26):_0x236b0a,_0x59a982=_0x1ff5b5[_0x1eb969(0x21a)]-0x1,_0xf83bfe;_0x59a982>=0x0;_0x59a982--)(_0xf83bfe=_0x1ff5b5[_0x59a982])&&(_0x34fe4c=(_0x59754d?_0xf83bfe(_0x236b0a,_0x4f4d26,_0x34fe4c):_0xf83bfe(_0x34fe4c))||_0x34fe4c);return _0x59754d&&_0x34fe4c&&ho(_0x236b0a,_0x4f4d26,_0x34fe4c),_0x34fe4c;},Gt=(_0x598b5c,_0x6b3d6a)=>(_0x446095,_0x166d32)=>_0x6b3d6a(_0x446095,_0x166d32,_0x598b5c);let Ot=class{constructor(_0x41b1a6,_0x56d89b,_0x49966e){const _0x1ad2ba=_0x59f468;this[_0x1ad2ba(0x351)]=_0x41b1a6,this['_transformService']=_0x56d89b,this[_0x1ad2ba(0x342)]=_0x49966e;}[_0x59f468(0x35f)](_0x515c4c){const _0x21431c=_0x59f468;this[_0x21431c(0x4df)](_0x515c4c),this[_0x21431c(0x358)](_0x515c4c);}[_0x59f468(0x425)](_0x21fdd4){const _0x4f8c9d=_0x59f468,{unitID:_0x238869}=_0x21fdd4,_0x4d04e2=this[_0x4f8c9d(0x342)][_0x4f8c9d(0x4cb)](_0x238869)[_0x4f8c9d(0x461)](_0x3c4a23),{redoCache:_0x3bc9c8}=_0x4d04e2['getUndoRedoMutationParamsCache']();if(_0x3bc9c8[_0x4f8c9d(0x21a)]===0x0)return _0x21fdd4;let _0x13799f=_0x218f61[_0x4f8c9d(0x217)](_0x21fdd4[_0x4f8c9d(0x1a2)][0x0]);for(let _0x1788bc=0x0;_0x1788bc<_0x3bc9c8['length'];_0x1788bc++){const _0x26577a={'id':'doc.mutation.rich-text-editing','params':{..._0x3bc9c8[_0x1788bc]}},_0x1ebd6a=this[_0x4f8c9d(0x24f)][_0x4f8c9d(0x591)](_0x13799f,_0x26577a,!0x1);if(_0x18387e(_0x1ebd6a))throw _0x1ebd6a[_0x4f8c9d(0x1ec)];_0x13799f=_0x1ebd6a[_0x4f8c9d(0x590)];}return{..._0x218f61[_0x4f8c9d(0x217)](_0x21fdd4),'mutations':[_0x13799f]};}[_0x59f468(0x4df)](_0x2961fd){const _0x4e0bc5=_0x59f468,{unitID:_0x558fdd}=_0x2961fd,_0x26c1c3=this['_renderManagerService'][_0x4e0bc5(0x4cb)](_0x558fdd)['with'](_0x3c4a23),{undoCache:_0x27e555,redoCache:_0x42dd01}=_0x26c1c3[_0x4e0bc5(0x1b8)]();if(_0x27e555[_0x4e0bc5(0x21a)]===0x0||_0x42dd01['length']===0x0)return;const _0x361eda=[],_0x34b1c7=[];let _0x5cf353=_0x218f61['deepClone'](_0x2961fd[_0x4e0bc5(0x1a2)][0x0]),_0x596920=_0x218f61[_0x4e0bc5(0x217)](_0x2961fd['mutations'][0x0]);for(let _0x4a4dd5=_0x27e555['length']-0x1;_0x4a4dd5>=0x0;_0x4a4dd5--){const _0x1d4625={'id':'doc.mutation.rich-text-editing','params':{..._0x27e555[_0x4a4dd5]}},_0x38e371={'id':_0x4e0bc5(0x392),'params':{..._0x42dd01[_0x4a4dd5]}},_0x5c2713=this[_0x4e0bc5(0x24f)]['transformMutation'](_0x5cf353,_0x1d4625,!0x1),_0x5248a5=this['_transformService'][_0x4e0bc5(0x591)](_0x596920,_0x38e371,!0x1);if(_0x18387e(_0x5c2713))throw _0x5c2713[_0x4e0bc5(0x1ec)];if(_0x18387e(_0x5248a5))throw _0x5248a5[_0x4e0bc5(0x1ec)];_0x361eda[_0x4e0bc5(0x39e)](_0x5c2713[_0x4e0bc5(0x388)][_0x4e0bc5(0x4c3)]),_0x34b1c7[_0x4e0bc5(0x39e)](_0x5248a5['m2Prime'][_0x4e0bc5(0x4c3)]),_0x5cf353=_0x5c2713[_0x4e0bc5(0x590)],_0x596920=_0x5248a5[_0x4e0bc5(0x590)];}_0x26c1c3['setUndoRedoMutationParamsCache']({'undoCache':_0x361eda,'redoCache':_0x34b1c7});}['_transformPreviousActiveRange'](_0x276bd6){const _0x5bf46e=_0x59f468,{unitID:_0x248caa}=_0x276bd6,_0x21038=this[_0x5bf46e(0x342)][_0x5bf46e(0x4cb)](_0x248caa)['with'](_0x3c4a23),_0x6a0054=_0x21038[_0x5bf46e(0x492)]();if(_0x6a0054==null)return;const _0x256ddf=[{'id':_0x5bf46e(0x392),'params':{'unitId':_0x276bd6[_0x5bf46e(0x405)],'actions':null,'textRanges':[_0x6a0054]}}],_0x44301c=this[_0x5bf46e(0x24f)][_0x5bf46e(0x3ce)](_0x276bd6,_0x256ddf);if(!_0x4d7745(_0x44301c))throw _0x44301c[_0x5bf46e(0x1ec)];const _0x2cdab4=_0x44301c['m2Prime'][0x0][_0x5bf46e(0x4c3)][_0x5bf46e(0x5a1)];Array[_0x5bf46e(0x53a)](_0x2cdab4)&&_0x2cdab4['length']&&_0x21038[_0x5bf46e(0x235)](_0x2cdab4[0x0]);}};Ot=_o([Gt(0x0,_0x222038(_0x2e1c56)),Gt(0x1,_0x4cb437),Gt(0x2,_0x4e56e4)],Ot);var uo=Object['defineProperty'],fo=Object[_0x59f468(0x368)],vo=(_0x52d76c,_0x2394e2,_0x14b9ea,_0xd0ccba)=>{const _0x2393b9=_0x59f468;for(var _0x142ae1=_0xd0ccba>0x1?void 0x0:_0xd0ccba?fo(_0x2394e2,_0x14b9ea):_0x2394e2,_0x258d73=_0x52d76c[_0x2393b9(0x21a)]-0x1,_0x226b88;_0x258d73>=0x0;_0x258d73--)(_0x226b88=_0x52d76c[_0x258d73])&&(_0x142ae1=(_0xd0ccba?_0x226b88(_0x2394e2,_0x14b9ea,_0x142ae1):_0x226b88(_0x142ae1))||_0x142ae1);return _0xd0ccba&&_0x142ae1&&uo(_0x2394e2,_0x14b9ea,_0x142ae1),_0x142ae1;},ze=(_0x38a8c4,_0x1b00b0)=>(_0x22bf6a,_0x4cccac)=>_0x1b00b0(_0x22bf6a,_0x4cccac,_0x38a8c4);let z=class extends _0x19fe63{constructor(_0x2f25eb,_0x16d8d3,_0x26e7d2,_0x2d7f4d,_0x1f8405){const _0x1961e4=_0x59f468;super(),g(this,_0x1961e4(0x35e),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x1961e4(0x431),!0x1),(this['_configService']=_0x2f25eb,this[_0x1961e4(0x264)]=_0x16d8d3,this['_beforeCloseService']=_0x26e7d2,this[_0x1961e4(0x58c)]=_0x2d7f4d,this['_revisionService']=_0x1f8405,this[_0x1961e4(0x354)]());}[_0x59f468(0x1a8)](){const _0x57ea5b=_0x59f468;this[_0x57ea5b(0x431)]=!0x0;}[_0x59f468(0x5a7)](){this['_disabled']=!0x1;}[_0x59f468(0x1ba)](){const _0x5da46d=_0x59f468;this[_0x5da46d(0x574)]()[_0x5da46d(0x4dd)](()=>super[_0x5da46d(0x1ba)]());}async[_0x59f468(0x4e6)](_0x32ed3f){const _0x2b1108=_0x59f468;return this[_0x2b1108(0x431)]?null:this[_0x2b1108(0x264)]['getItem'](zs(_0x32ed3f));}async[_0x59f468(0x4a9)](_0x3c73a8,_0x29920c){const _0x4062dc=_0x59f468;return!!this[_0x4062dc(0x264)][_0x4062dc(0x238)](_0x3c73a8,_0x29920c);}[_0x59f468(0x2d2)](_0x305408,_0x4183f3,_0x500489,_0x24e3c9){const _0x144f1b=_0x59f468,_0x2ea82e=this[_0x144f1b(0x2b9)]['getCurrentRevOfUnit'](_0x305408);this[_0x144f1b(0x35e)]['set'](_0x305408,{'unitID':_0x305408,'type':_0x4183f3,'awaitingChangeset':_0x500489,'mutations':_0x24e3c9,'rev':_0x2ea82e}),this[_0x144f1b(0x4d2)][_0x144f1b(0x309)](_0x305408)||this[_0x144f1b(0x26f)](_0x305408);}['_scheduleSaving'](_0x45830c){const _0x3f1dbd=_0x59f468,_0x4d01f1=this['_getSaveTimeout']();_0x4d01f1===0x0?this['_saveCache'](_0x45830c):this[_0x3f1dbd(0x4d2)]['set'](_0x45830c,setTimeout(()=>this[_0x3f1dbd(0x208)](_0x45830c),_0x4d01f1));}[_0x59f468(0x28f)](){const _0x29157e=_0x59f468;var _0x4d247f;return(_0x4d247f=this[_0x29157e(0x58b)][_0x29157e(0x55d)](An))!=null?_0x4d247f:Mn;}[_0x59f468(0x208)](_0x70f44f){const _0x58b9a3=_0x59f468,_0x595a63=this[_0x58b9a3(0x4d2)][_0x58b9a3(0x25d)](_0x70f44f);return _0x595a63!==void 0x0&&window[_0x58b9a3(0x384)](_0x595a63),this[_0x58b9a3(0x264)][_0x58b9a3(0x238)](zs(_0x70f44f),this['_cachedData']['get'](_0x70f44f))[_0x58b9a3(0x4dd)](()=>this['_saveTaskMap']['delete'](_0x70f44f));}async[_0x59f468(0x574)](){const _0x29abe1=_0x59f468,_0x2eb4d7=[];this['_saveTaskMap'][_0x29abe1(0x3b0)]((_0x323bc2,_0x380bbb)=>{const _0x8d0ca3=_0x29abe1;window['clearTimeout'](_0x323bc2),_0x2eb4d7[_0x8d0ca3(0x4cf)](this[_0x8d0ca3(0x208)](_0x380bbb)[_0x8d0ca3(0x4dd)](()=>{const _0x5e551b=_0x8d0ca3;this[_0x5e551b(0x4d2)][_0x5e551b(0x29e)](_0x380bbb);}));}),await Promise['all'](_0x2eb4d7);}['_setupBeforeClosingHandler'](){const _0x6d5e46=_0x59f468;this['disposeWithMe'](this['_beforeCloseService'][_0x6d5e46(0x4c9)](()=>{const _0x290023=_0x6d5e46;if(this[_0x290023(0x4d2)][_0x290023(0x49b)])return this[_0x290023(0x58c)]['t'](_0x290023(0x414));}));}};z=vo([ze(0x0,_0x486aed),ze(0x1,_0x18521c),ze(0x2,_0x28b31b),ze(0x3,_0x222038(_0x52880d)),ze(0x4,_0x222038(_0x21f454))],z);function zs(_0x40932e){const _0x4a2914=_0x59f468;return _0x4a2914(0x31f)+_0x40932e;}var po=Object[_0x59f468(0x29a)],mo=Object[_0x59f468(0x368)],go=(_0x2cd5d9,_0x4e4eab,_0x16e557,_0x2b141f)=>{for(var _0x4cef0b=_0x2b141f>0x1?void 0x0:_0x2b141f?mo(_0x4e4eab,_0x16e557):_0x4e4eab,_0xa96ecf=_0x2cd5d9['length']-0x1,_0x54c9c2;_0xa96ecf>=0x0;_0xa96ecf--)(_0x54c9c2=_0x2cd5d9[_0xa96ecf])&&(_0x4cef0b=(_0x2b141f?_0x54c9c2(_0x4e4eab,_0x16e557,_0x4cef0b):_0x54c9c2(_0x4cef0b))||_0x4cef0b);return _0x2b141f&&_0x4cef0b&&po(_0x4e4eab,_0x16e557,_0x4cef0b),_0x4cef0b;},Yt=(_0x537067,_0x187fb2)=>(_0x201ee8,_0x51a8da)=>_0x187fb2(_0x201ee8,_0x51a8da,_0x537067);function So(_0x3598f6){const {unitID:_0x29e132,mutations:_0x349ce3}=_0x3598f6;return{'unitId':_0x29e132,'subUnitId':_0x349ce3[0x0]['params']['subUnitId']};}let yt=class{constructor(_0xf4e065,_0x28ed26,_0x54e38e){const _0x1173f0=_0x59f468;this[_0x1173f0(0x351)]=_0xf4e065,this['_transformService']=_0x28ed26,this['_instanceService']=_0x54e38e;}[_0x59f468(0x391)](_0x2efe0a){const _0x27181e=_0x59f468;var _0x46a6b9,_0x443931,_0x2d1f39,_0x1c6f6b;const _0x53ba0b=this[_0x27181e(0x351)][_0x27181e(0x25d)](_0x49c3d1),{unitId:_0x114f70,subUnitId:_0x3f46ca}=So(_0x2efe0a),_0x46f6fe=_0x53ba0b[_0x27181e(0x499)](_0x114f70)['getCurrentSelections'](),_0x3056a1=(_0x443931=(_0x46a6b9=this[_0x27181e(0x46c)][_0x27181e(0x579)](_0x114f70))==null?void 0x0:_0x46a6b9[_0x27181e(0x561)]())==null?void 0x0:_0x443931[_0x27181e(0x51d)]();if(_0x46f6fe[_0x27181e(0x21a)]===0x0||!_0x114f70||!_0x3f46ca)return;const _0x3df75b=[{'id':_0x20d3bf['id'],'params':{'unitId':_0x114f70,'subUnitId':_0x3056a1,'selections':_0x218f61[_0x27181e(0x217)](_0x46f6fe)}}],_0x5f650a=this[_0x27181e(0x24f)][_0x27181e(0x3ce)](_0x2efe0a,_0x3df75b);if(!_0x4d7745(_0x5f650a))throw _0x5f650a[_0x27181e(0x1ec)];const _0x389fbf=(_0x1c6f6b=(_0x2d1f39=_0x5f650a[_0x27181e(0x388)][0x0])==null?void 0x0:_0x2d1f39[_0x27181e(0x4c3)])==null?void 0x0:_0x1c6f6b[_0x27181e(0x365)];if(Array[_0x27181e(0x53a)](_0x389fbf)&&_0x389fbf[_0x27181e(0x21a)]){if(_0x389fbf[_0x27181e(0x21a)]===_0x3df75b[0x0][_0x27181e(0x4c3)]['selections'][_0x27181e(0x21a)]&&_0x389fbf[_0x27181e(0x3f7)]((_0x38fb2b,_0x53396f)=>_0x23bbd9[_0x27181e(0x37e)](_0x38fb2b[_0x27181e(0x1d8)],_0x3df75b[0x0][_0x27181e(0x4c3)][_0x27181e(0x365)][_0x53396f]['range'])))return;this[_0x27181e(0x351)]['get'](_0x1e017f)['executeCommand'](_0x20d3bf['id'],{'unitId':_0x114f70,'subUnitId':_0x3056a1,'selections':_0x389fbf});}}};yt=go([Yt(0x0,_0x222038(_0x2e1c56)),Yt(0x1,_0x4cb437),Yt(0x2,_0xd7de45)],yt);const Ht=_0x4fa8ac(_0x59f468(0x246));var Yi=(_0x245ff7=>(_0x245ff7[_0x245ff7[_0x59f468(0x2e5)]=0x0]=_0x59f468(0x2e5),_0x245ff7[_0x245ff7[_0x59f468(0x5a5)]=0x1]=_0x59f468(0x5a5),_0x245ff7))(Yi||{});const Xs=0x7530,Js=_0x59f468(0x49c);class Io extends _0x19fe63{constructor(){const _0x16ab26=_0x59f468;super(),g(this,_0x16ab26(0x1d5),_0x218f61[_0x16ab26(0x278)]()),g(this,'_selfUnitIDs',new Set()),g(this,_0x16ab26(0x19f),new Map()),g(this,'_heartbeatTimer',null),g(this,_0x16ab26(0x572),new Map()),g(this,_0x16ab26(0x3f4),new Map()),this[_0x16ab26(0x59d)]();}[_0x59f468(0x1ba)](){const _0x27a31d=_0x59f468;super[_0x27a31d(0x1ba)](),this[_0x27a31d(0x572)][_0x27a31d(0x3b0)]((_0x8c61ba,_0x2f2074)=>this[_0x27a31d(0x205)](_0x2f2074)),this[_0x27a31d(0x470)]&&window[_0x27a31d(0x4c6)](this['_heartbeatTimer']);}[_0x59f468(0x42f)](_0x351137){const _0x21f9ff=_0x59f468;return this[_0x21f9ff(0x4b8)](_0x351137)[_0x21f9ff(0x318)](_0x42e448());}[_0x59f468(0x3a8)](_0x3bdba5){const _0x5b58d1=_0x59f468;this['_selfUnitIDs'][_0x5b58d1(0x49b)]===0x0&&this[_0x5b58d1(0x5a4)](),this['_selfUnitIDs']['add'](_0x3bdba5),this[_0x5b58d1(0x3e2)]({'type':0x0,'memberID':this[_0x5b58d1(0x1d5)],'unitIDs':[_0x3bdba5],'isForwarded':!0x1});}[_0x59f468(0x287)](_0x213398){const _0x3fbbd1=_0x59f468;this[_0x3fbbd1(0x408)][_0x3fbbd1(0x29e)](_0x213398),this[_0x3fbbd1(0x408)][_0x3fbbd1(0x49b)]===0x0&&this[_0x3fbbd1(0x470)]&&window[_0x3fbbd1(0x4c6)](this[_0x3fbbd1(0x470)]);}[_0x59f468(0x59d)](){const _0x5bf136=_0x59f468;this['disposeWithMe'](_0x510055(_0x92f771(window,_0x5bf136(0x1ad))[_0x5bf136(0x347)](_0x1af89a=>{const _0x9b5334=_0x5bf136;if(_0x1af89a['key']!==Js||!_0x1af89a['newValue'])return;const _0x12725a=JSON[_0x9b5334(0x2e1)](_0x1af89a[_0x9b5334(0x2f4)]);this[_0x9b5334(0x2ad)](_0x12725a);}))),window[_0x5bf136(0x59a)](_0x5bf136(0x220),()=>this[_0x5bf136(0x3e2)]({'type':0x1,'memberID':this[_0x5bf136(0x1d5)],'unitIDs':Array[_0x5bf136(0x30f)](this[_0x5bf136(0x408)])}));}[_0x59f468(0x2ad)](_0x1aafbc){const _0x399a89=_0x59f468;switch(_0x1aafbc[_0x399a89(0x2b2)]){case 0x0:this[_0x399a89(0x19b)](_0x1aafbc);break;case 0x1:this['_handleLeaveEvent'](_0x1aafbc);break;case 0x2:this[_0x399a89(0x22c)](_0x1aafbc);break;}}[_0x59f468(0x19b)](_0x1ccf59){const _0x1e488c=_0x59f468,{unitIDs:_0x1f4765,memberID:_0x47f3e0,isForwarded:_0x49a9a0}=_0x1ccf59;_0x1f4765[_0x1e488c(0x3b0)](_0x50bffb=>{const _0x163f09=_0x1e488c;if(!_0x49a9a0&&this[_0x163f09(0x19f)][_0x163f09(0x309)](_0x50bffb)&&this[_0x163f09(0x4b8)](_0x50bffb)['next'](0x1),!this['_unitOnClients'][_0x163f09(0x309)](_0x50bffb)||!this[_0x163f09(0x19f)][_0x163f09(0x25d)](_0x50bffb)[_0x163f09(0x309)](_0x47f3e0)){const _0x52b1ce=this[_0x163f09(0x19f)][_0x163f09(0x25d)](_0x50bffb)||new Set();_0x52b1ce[_0x163f09(0x3ab)](_0x47f3e0),this[_0x163f09(0x19f)][_0x163f09(0x279)](_0x50bffb,_0x52b1ce),this[_0x163f09(0x2da)](_0x47f3e0);}}),_0x49a9a0||this[_0x1e488c(0x3e2)]({'type':0x0,'memberID':this[_0x1e488c(0x1d5)],'unitIDs':[...this[_0x1e488c(0x408)]],'isForwarded':!0x0});}[_0x59f468(0x2da)](_0x483cf7){const _0x2574dd=_0x59f468;this[_0x2574dd(0x205)](_0x483cf7);const _0x435d48=window[_0x2574dd(0x2b7)](()=>{const _0x3fd294=_0x2574dd;this[_0x3fd294(0x19f)]['forEach'](_0x133b70=>{_0x133b70['delete'](_0x483cf7);});},Xs*0x2);this[_0x2574dd(0x572)][_0x2574dd(0x279)](_0x483cf7,_0x435d48);}[_0x59f468(0x205)](_0xf36209){const _0x3dc1ce=_0x59f468;if(this['_clearOtherTimers'][_0x3dc1ce(0x309)](_0xf36209)){const _0x44b45f=this[_0x3dc1ce(0x572)][_0x3dc1ce(0x25d)](_0xf36209);_0x44b45f&&window[_0x3dc1ce(0x384)](_0x44b45f),this[_0x3dc1ce(0x572)][_0x3dc1ce(0x279)](_0xf36209,null);}}['_handleLeaveEvent'](_0x187a8d){const _0x49adbd=_0x59f468,{memberID:_0x2793cb,unitIDs:_0x43369d}=_0x187a8d;_0x43369d[_0x49adbd(0x3b0)](_0x32daff=>{const _0x5e33c8=_0x49adbd;var _0x3e209e;const _0x11b0f6=this[_0x5e33c8(0x19f)][_0x5e33c8(0x25d)](_0x32daff);_0x11b0f6&&(_0x11b0f6[_0x5e33c8(0x29e)](_0x2793cb),(_0x3e209e=this[_0x5e33c8(0x4b8)](_0x32daff))==null||_0x3e209e[_0x5e33c8(0x307)](_0x11b0f6[_0x5e33c8(0x49b)]===0x0?0x0:0x1));}),this[_0x49adbd(0x205)](_0x2793cb);}['_handleHeartbeatEvent'](_0x5badd7){const _0x550f12=_0x59f468;this[_0x550f12(0x2da)](_0x5badd7[_0x550f12(0x31e)]);}['_send'](_0x4b7033){const _0x1a30c2=_0x59f468;localStorage[_0x1a30c2(0x238)](Js,JSON[_0x1a30c2(0x3fc)](_0x4b7033));}[_0x59f468(0x5a4)](){const _0x4eb0ae=_0x59f468;this[_0x4eb0ae(0x470)]=window[_0x4eb0ae(0x540)](()=>{const _0x5e831a=_0x4eb0ae;this['_send']({'type':0x2,'memberID':this[_0x5e831a(0x1d5)]});},Xs);}['_ensureSubject'](_0x10d92a){const _0x310c71=_0x59f468;return this[_0x310c71(0x3f4)]['has'](_0x10d92a)||this[_0x310c71(0x3f4)][_0x310c71(0x279)](_0x10d92a,new _0x1f1fc6(0x0)),this[_0x310c71(0x3f4)][_0x310c71(0x25d)](_0x10d92a);}}var Co=Object[_0x59f468(0x29a)],Eo=Object[_0x59f468(0x368)],bo=(_0x2051ff,_0x39843b,_0x3edae1,_0x226307)=>{const _0xd6284=_0x59f468;for(var _0x5618e4=_0x226307>0x1?void 0x0:_0x226307?Eo(_0x39843b,_0x3edae1):_0x39843b,_0x5d34e8=_0x2051ff[_0xd6284(0x21a)]-0x1,_0x28ba2a;_0x5d34e8>=0x0;_0x5d34e8--)(_0x28ba2a=_0x2051ff[_0x5d34e8])&&(_0x5618e4=(_0x226307?_0x28ba2a(_0x39843b,_0x3edae1,_0x5618e4):_0x28ba2a(_0x5618e4))||_0x5618e4);return _0x226307&&_0x5618e4&&Co(_0x39843b,_0x3edae1,_0x5618e4),_0x5618e4;},Kt=(_0xc2789c,_0xc8878a)=>(_0x19ddeb,_0x2ad07c)=>_0xc8878a(_0x19ddeb,_0x2ad07c,_0xc2789c);let wt=class{constructor(_0x4c7893,_0x2a302c,_0x67a4f4){const _0x46d356=_0x59f468;this[_0x46d356(0x351)]=_0x4c7893,this[_0x46d356(0x24f)]=_0x2a302c,this[_0x46d356(0x5b4)]=_0x67a4f4;}['transformStateCache'](_0x1c9bb2){this['_transformHistoryAndStateStack'](_0x1c9bb2);}[_0x59f468(0x425)](_0x8a6bbb){const _0x8daa69=_0x59f468,{unitID:_0x424c91}=_0x8a6bbb,{collaboration:_0x58540c}=this[_0x8daa69(0x5b4)]['getStateCache'](_0x424c91);if(_0x58540c['length']===0x0)return _0x8a6bbb;let _0x24fd03=_0x218f61[_0x8daa69(0x217)](_0x8a6bbb[_0x8daa69(0x1a2)][0x0]);for(let _0x197df8=0x0;_0x197df8<_0x58540c[_0x8daa69(0x21a)];_0x197df8++){const _0x5cc67c={'id':_0x8daa69(0x392),'params':{'unitId':_0x58540c[_0x197df8]['unitId'],..._0x58540c[_0x197df8][_0x8daa69(0x248)]}},_0x5e9da5=this['_transformService'][_0x8daa69(0x591)](_0x24fd03,_0x5cc67c,!0x1);if(_0x18387e(_0x5e9da5))throw _0x5e9da5[_0x8daa69(0x1ec)];_0x24fd03=_0x5e9da5['m1Prime'];}return{..._0x218f61[_0x8daa69(0x217)](_0x8a6bbb),'mutations':[_0x24fd03]};}[_0x59f468(0x484)](_0x1fb719){const _0x3dcfec=_0x59f468,{unitID:_0x4da50b}=_0x1fb719,{history:_0x388ef4,collaboration:_0x564bf0}=this['_docStateChangeManagerService']['getStateCache'](_0x4da50b);if(_0x388ef4['length']===0x0&&_0x564bf0[_0x3dcfec(0x21a)]===0x0)return;const _0x29711e=[],_0x5c2603=[];let _0x312a27=_0x218f61['deepClone'](_0x1fb719[_0x3dcfec(0x1a2)][0x0]),_0x3c2c2c=_0x218f61['deepClone'](_0x1fb719[_0x3dcfec(0x1a2)][0x0]);for(let _0x155da3=_0x388ef4['length']-0x1;_0x155da3>=0x0;_0x155da3--){const _0x1fc5bb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x388ef4[_0x155da3][_0x3dcfec(0x51a)],..._0x388ef4[_0x155da3]['undoState']}},_0x2b0759={'id':_0x3dcfec(0x392),'params':{'unitId':_0x388ef4[_0x155da3]['unitId'],..._0x388ef4[_0x155da3][_0x3dcfec(0x248)]}},_0x421c9b=this[_0x3dcfec(0x24f)]['transformMutation'](_0x312a27,_0x1fc5bb,!0x1),_0x46a64f=this[_0x3dcfec(0x24f)][_0x3dcfec(0x591)](_0x3c2c2c,_0x2b0759,!0x1);if(_0x18387e(_0x421c9b))throw _0x421c9b['error'];if(_0x18387e(_0x46a64f))throw _0x46a64f['error'];_0x29711e[_0x3dcfec(0x39e)]({..._0x388ef4[_0x155da3],'undoState':_0x421c9b[_0x3dcfec(0x388)][_0x3dcfec(0x4c3)],'redoState':_0x46a64f[_0x3dcfec(0x388)][_0x3dcfec(0x4c3)]}),_0x312a27=_0x421c9b[_0x3dcfec(0x590)],_0x3c2c2c=_0x46a64f[_0x3dcfec(0x590)];}_0x312a27=_0x218f61[_0x3dcfec(0x217)](_0x1fb719[_0x3dcfec(0x1a2)][0x0]),_0x3c2c2c=_0x218f61[_0x3dcfec(0x217)](_0x1fb719['mutations'][0x0]);for(let _0x43c195=_0x564bf0[_0x3dcfec(0x21a)]-0x1;_0x43c195>=0x0;_0x43c195--){const _0x3797e9={'id':_0x3dcfec(0x392),'params':{'unitId':_0x564bf0[_0x43c195][_0x3dcfec(0x51a)],..._0x564bf0[_0x43c195]['undoState']}},_0x188a52={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x564bf0[_0x43c195]['unitId'],..._0x564bf0[_0x43c195][_0x3dcfec(0x248)]}},_0x55da5b=this[_0x3dcfec(0x24f)]['transformMutation'](_0x312a27,_0x3797e9,!0x1),_0x1b129c=this[_0x3dcfec(0x24f)]['transformMutation'](_0x3c2c2c,_0x188a52,!0x1);if(_0x18387e(_0x55da5b))throw _0x55da5b[_0x3dcfec(0x1ec)];if(_0x18387e(_0x1b129c))throw _0x1b129c[_0x3dcfec(0x1ec)];_0x5c2603[_0x3dcfec(0x39e)]({..._0x564bf0[_0x43c195],'undoState':_0x55da5b['m2Prime'][_0x3dcfec(0x4c3)],'redoState':_0x1b129c[_0x3dcfec(0x388)][_0x3dcfec(0x4c3)]}),_0x312a27=_0x55da5b[_0x3dcfec(0x590)],_0x3c2c2c=_0x1b129c[_0x3dcfec(0x590)];}this[_0x3dcfec(0x5b4)][_0x3dcfec(0x240)](_0x4da50b,{'history':_0x29711e,'collaboration':_0x5c2603});}};wt=bo([Kt(0x0,_0x222038(_0x2e1c56)),Kt(0x1,_0x4cb437),Kt(0x2,_0x222038(_0x2a72d5))],wt);function Ki(_0x2ce5f7){let _0x14c158='';for(const _0xbef104 of _0x2ce5f7){const {startOffset:_0x1eb3f2,endOffset:_0x4ecfdf,isActive:_0x4cbff4,rangeType:_0xce6cdb,segmentId:_0x907fcd,segmentPage:_0x2762c3}=_0xbef104;_0x14c158['length']&&(_0x14c158+=','),_0x14c158+=_0x1eb3f2+':'+_0x4ecfdf+':'+(_0x4cbff4?'1':'0')+':'+_0xce6cdb+':'+_0x907fcd+':'+_0x2762c3;}return _0x14c158;}function To(_0x32e5c8){const _0x5bbf28=_0x59f468,_0x109b20=_0x32e5c8['split'](','),_0x8e4c40=[];for(const _0x4c0a65 of _0x109b20){const [_0x3af8d8,_0x20d4d2,_0x4820da,_0x3fedfd,_0x1e4223,_0x4efe5b]=_0x4c0a65['split'](':');_0x8e4c40[_0x5bbf28(0x4cf)]({'startOffset':Number(_0x3af8d8),'endOffset':Number(_0x20d4d2),'collapsed':_0x3af8d8===_0x20d4d2,'isActive':_0x4820da==='1','rangeType':_0x3fedfd===_0x638c4d['TEXT']?_0x638c4d[_0x5bbf28(0x509)]:_0x638c4d['RECT'],'segmentId':typeof _0x1e4223==_0x5bbf28(0x2fb)?String(_0x1e4223):'','segmentPage':Number(_0x4efe5b!=null?_0x4efe5b:-0x1)});}return _0x8e4c40[_0x5bbf28(0x3d8)](_0x2a8084=>_0x2a8084[_0x5bbf28(0x29f)])||(_0x8e4c40[0x0][_0x5bbf28(0x29f)]=!0x0),_0x8e4c40;}class Ds extends _0x2c59cd{constructor(){const _0x45e7f0=_0x59f468;super(...arguments),g(this,_0x45e7f0(0x292),new _0x1f1fc6(null)),g(this,'collabCursorState$',this['_collabCursorState$'][_0x45e7f0(0x472)]());}['syncEditingCollabCursor'](_0x39ebf4){const _0x1c340e=_0x59f468,{unitID:_0x49b679,memberID:_0xd17e4f,textRanges:_0x1d0ff5}=_0x39ebf4,_0x19d05a=Ki(_0x1d0ff5);if(_0x19d05a==='')return;const _0x6aa70c={'unitID':_0x49b679,'memberID':_0xd17e4f,'selection':_0x19d05a};this[_0x1c340e(0x292)][_0x1c340e(0x307)](_0x6aa70c);}}var Ro=Object[_0x59f468(0x29a)],Oo=Object['getOwnPropertyDescriptor'],yo=(_0x452b02,_0x472986,_0x5eb8a9,_0x3029bf)=>{const _0x2ac7fd=_0x59f468;for(var _0x51fe57=_0x3029bf>0x1?void 0x0:_0x3029bf?Oo(_0x472986,_0x5eb8a9):_0x472986,_0x17ed2b=_0x452b02[_0x2ac7fd(0x21a)]-0x1,_0x58911d;_0x17ed2b>=0x0;_0x17ed2b--)(_0x58911d=_0x452b02[_0x17ed2b])&&(_0x51fe57=(_0x3029bf?_0x58911d(_0x472986,_0x5eb8a9,_0x51fe57):_0x58911d(_0x51fe57))||_0x51fe57);return _0x3029bf&&_0x51fe57&&Ro(_0x472986,_0x5eb8a9,_0x51fe57),_0x51fe57;},Zs=(_0x201d69,_0x326238)=>(_0x13c424,_0x2c929d)=>_0x326238(_0x13c424,_0x2c929d,_0x201d69);function _0x23ae(){const _0x15cbc9=['univer-online-status','_collaborationTimeoutTimer','every','_HTTPService','padding','Base64','_initDependencies','stringify','fill','_retryCount','_collabSessionService','jsxs','_resendWithTimeout','DeleteRangeMoveUpCommandId','_unitID','getUniverSheetInstance','unitID','responseType','collaboration-session-retry','_selfUnitIDs','HEARTBEAT_INTERVAL','_tryReconnect','batchAllowed','sessionTicket','/universer-api/authz','objectType','permissionRejEvent','resize','UNRECOGNIZED','headers','_telemetryInfo','collaboration-client.offline-data-not-saved','_applyRemoteChangeset','onlineStatus','reqId','_getCtorByUniverType','addObjects','_substituteUndoStack','splice','ENSURE_SNAPSHOT_EXECUTION','onRemoteChangeset','_getSendChangesetTimeout','transformUndoRedo','trim','_changesetSessionId','_lockTransition','children','\x0aAfter:\x20','transformRemoteChangeset','objectID','arc','hasher','pad','min','sendChangesetTimeout','[OfflineState]:\x20received\x20changeset.','Utf8','_refreshCollabCursors','getUnitStatus$','colorChannel1','_disabled','_incrementRevisionNumber','default','visibilitychange','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','rgba(255,\x20255,\x20255,\x200.01)','NOT_COLLAB','[CollaborationSessionService]:\x20socket\x20error','transformStack\x20failed!','_memberService','collabSubmitChangesetUrl','liveShareNewHost','init','blockSize','_fetchMissChangesets','getOwnPropertySymbols','registerHTTPInterceptor','FETCH_MISSING','body','CHANGESET_SHOULD_RETRY','collaboratorID','JOIN_ROOM_FULL','_clearCollaborationTimeoutTimer','encodeURIComponent','getRangePointData','for','UNIVER_COLLABORATION_CLIENT_PLUGIN','getValue','_cursors','update','_telemetryService','userID','_doReset','defs','_waitForHeartbeatResponse','_startTelemetryCollaborationNewChangeset','max','purple300','onPointerEnter$','close','black','0\x200\x2017\x2016','joinRsp','collaboration.closeRoom','close$','InsertRangeMoveDownCommandId','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','with','LIVESHARE_FETCH_OPERATIONS','_collaborationSessionService','message$','_initResize','LOCAL_CACHE_INTERVAL','assign','_hash','clamp','collabStatus.synced','imageSourceType','_instanceService','[OfflineState]:\x20received\x20rejection.','/collaborator','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_heartbeatTimer','getResourcesRequest','asObservable','1523654DGtWGE','APPLY_REJECT','Error\x20on\x20receiving\x20event','_sessions','_clearTimeoutTimer','color','retryConnectingInterval','_entities','kdf','_oKey','key','UnitSnapshot','_doFinalize','_color','setConfig','/universer-api/snapshot','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformHistoryAndStateStack','createDecryptor','16EdIRvu','propertyIsEnumerable','onRemoteAck','fetch_missing','_nDataBytes','debug','name','PSEUDO_FETCH_MISSING_RESULT','title','enc','duration','_exhaustRemoteChangesetQueue','getActiveRange','originalMeta','_initStatusListener','isPermissionRej','EvpKDF','COMPRESS_MUTATION_APPLY','_listenToOfflineEvent','getWorkbookSelections','DEFAULT_FILE_NAME','size','ACTIVE_UNIT_EVENT_CHANNEL','_sendHeartbeatTimer','_replayCachedMutations','COMPRESS_MUTATION_SEND','open$','toString','COLLAB_SUBMIT_CHANGESET_URL','_updateSubUnitFromURLParams','source','[CollaborationState]:\x20apply\x20error!','MD5','_getSessionTicket','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','saveOfflineData','PasswordBasedCipher','rng','_executeRemoteChangeset','_candidateSocket','resend','AES','attrs','univer-online-status-icon','pending','socket\x20close','popstate','UNIVER_SLIDE','_remoteChangesetQueue','_document','_ensureSubject','OnLineSingle','replaceState','algo','rev','lib','HttpExport','_imageSourceCache','MUTATION','sheetId','_listenToOnlineEvent','params','assignAColorForMemberID','list','clearInterval','fillStyle','toLowerCase','registerBeforeClose','conflict.title','getRenderById','getRandomValues','updateCursorEvent','listRoles','push','triggerDblclick','_initEventListeners','_saveTaskMap','_uiPartsService','currentSkeleton$','_sendingTimer','registerRefRange','origin','[PendingState]:\x20unhandled\x20univer\x20type:\x20','readInt32LE','_hover','AWAITING_WITH_PENDING','drawWith','then','unit','_transformUndoRedoStack','__creator','collaboration-client.config','disposeWithMe','url(#off-line-single_clip0_910_343)','_updateLocalCache','path','loadOfflineData','LICENSE_DISTRO_REJECTED','SNAPSHOT_URL_KEY','values','clone','_urlService','SYNCED','compose','0\x200\x2016\x2016','fetchThroughInterceptors','UNAUTHENTICATED','on-line-single','searchParams','_pendingMutations','mode','reject','_colorAssignService','BlockCipher','setParam','UNIVER_DOC','onCommentUpdate','_xformMode','_event$','_createInitialState','joinEvent','StreamCipher','_roomMembers','sin','_colorIndex','onTransformSelections','text','_startCollaboration','pushState','SHA1','UnitEmbedded','TEXT','_sheetSkeletonManagerService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','urlChange$','reduce','LICENSE_IMPORT_SIZE_EXCEEDED','collabStatus.fetchMiss','onStateChange','clipPath','red300','_singleActiveUnitService','closeSession','NoPadding','translate(.97)','_substituteRedoStack','SHOULD_CLOSE_CONN','encode','unitId','_onJoinRoomEvent','function','getSheetId','awaiting_with_pending','reverse','words','extend','_config','_iKey','image/jpg','_univerInstanceService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','roles','_process','event$','_state$','fromCharCode','FileId','_onConflict','_initMergeInterceptor','getSkeleton','onTransformIME','onRemoteRetry','filter','syncEditingCollabCursor','_timeoutTimer','csRejEvent','_stopTelemetryCollaborationNewChangeset','_docClipboardService','unitId\x20is\x20not\x20found','history','isArray','RemoveColCommandId','put','workbook','SEND_CHANGESET_TIMEOUT','NOT_FOUND','setInterval','interceptor','getCurrentUser','startTime','_disableEditing','_shouldReportTelemetry','UNDEFINED','getLatestCsReqIdBySid','_commentUpdate$','xlink:href','jsx','_beforeCloseService','url(#on-line-single_clip0_910_349)','_commandService','_labelPosition','_context','InsertColCommandId','PERMISSION_DENIED','AWAITING','offline','_collabCursorController','RECT','Base','cursorInfo$','getCurrentUnitForType','_submitChangeset','url(#$1','_transformIMECache','requireSession','getConfig','_toggleOffline','collaboration_new_changeset','[DataLoaderController]','getActiveSheet','BASE64','UPDATE_CURSOR','_startSheetCollabCursor','FAIL','byteLength','number','_lastPointer','_handler','onTransformState','online','_type','getOffsetConfig','LIVESHARE_TERMINATE','state$','collaboration.single-unit.warning','[PendingState]:\x20received\x20rejection.','_clearOtherTimers','_transformRemoteChangesetByIMECache','exhaustSavingTask','sid','JOIN','currentTheme$','_commentService','getUnit','_getAPIPrefix','__esModule','infoRsp','focused$','commentUpdate$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','CONFLICT','_syncEditingCollabCursor','_append','visibilityState','actions','random','3666gkTxsZ','reconnect','_socket','SNAPSHOT_INVALID_SNAPSHOT','clear','_configService','_localeService','_range','onMouseMove','encryptBlock','m1Prime','transformMutation','POST','apply','transformChangesets','application/json','_nRounds','not_collab','closePath','Malformed\x20UTF-8\x20data','addEventListener','_retryConnectingTimer','getUnhiddenWorksheets','_init','_changesetReqId','_anchor','AUTHZ_URL_KEY','textRanges','YUUMI_RATE_OVER_LIMIT','charCodeAt','_scheduleHeartbeat','OTHER_CLIENTS_EDITING','INGEST','enableLocalCache','SUBMIT_CHANGESET','roomInfos','randomUUID','symbol','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','_onUserLeave','onMissedChangesetFetched','_DEC_XFORM_MODE','/object/','loadDoc','Unknown\x20user','LIVESHARE_REQUEST_HOST','_docStateChangeManagerService','_onRemoteRetry','Hex','\x20to\x20','evenodd','_render','3008697RHvAGJ','_parse','Warning','_handleJoinEvent','_userManagerService','getCellPositionByOffset','_backgroundColor','_unitOnClients','_anchorDot','985380KouijM','mutations','verdancy600','setCurrentUser','loadSheet','_registerDependencies','session.collaboration-timeout','disableLocalCache','formatter','onSyncEditingCollabCursor','method','mixIn','storage','HmacMD5','$super','fetchMissingChangesets','eventID','_socket$','/resources','keySize','current','error$','_keyPriorReset','getUndoRedoMutationParamsCache','listCollaborators','dispose','SNAPSHOT_SERVER_URL_KEY','loginUrlKey','UNIVER_PROJECT','_roomMembers$','_createSocketURL','_key','icon','_createSocket','routeKey','_docTransformIMECacheService','setAlpha','_status$','execute','onPointerLeave$','height','_localCacheService','_undoRedoService','Decryptor','setWaitCount','_hovered','enableSingleActiveInstanceLock','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','MoveRangeCommandId','&source=','prototype','createSocket','_id','session.connection-failed','PERSON','range','onSendChangeset','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','now','setShowComponents','_cursor','[OfflineState]:\x20received\x20acknowledgement.','moveTo','font','catch','_waitCount','roomMembers$','_getUploadFileURL','onload','confirm','_draw','status','_updateCollabCursors','UNKNOWN_CMD','iterations','error','ERROR_IMAGE','_sender','_hasher','svg','_updateState','hide','_onConnectionFailed','width','/allowed','auth.needGotoLoginAlert','unknown','/universer-api/comb','NEW_CHANGESETS','_sessionStatus$','engine','_online','Encryptor','Univer','_onFetchMissResult','_resendTimeout','MSG_FOR_ERROR','action','encrypt','authzUrl','_removeClearOtherTimer','startColumn','Hasher','_saveCache','_themeService','_notificationService','_docSkeleton','/unit/','Latin1','failed\x20to\x20apply\x20missed\x20changesets!','WordArray','univer-online-status-title','removeMember','LIVESHARE_NEW_HOST','_onRemoteChangeset','_onCursorDelete','status$','processBlock','deepClone','Undefined','getInterceptPoints','length','_getLoginPath','_onRemoteACK','subunit','_joinRoom','getSheetBySheetId','unload','_eventUnsubscribe','/role','/block/','BlockCipherMode','defIds','csAckEvent','_onConnectionOpen','toRgbString','restore','_doCryptBlock','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_handleHeartbeatEvent','change$','findNodePositionByCharIndex','cursorInfo','charAt','signUrlServerUrl','onTransformRemoteChangesetByStateCache','data','readAsDataURL','setActiveRange','onRemoteRej','addImageSourceCache','setItem','[UniverCollaborationClientPlugin]','_showConflictNotification','USERS_LEAVE','onReady','uploadFileServerUrl','connection\x20error','reset','setStateCache','YUUMI_UNABLE_LOAD_URL','getTypeOfUnitAdded$','getUnitType','_change$','CHANGESET_REJ','univer-pro.collaboration-client.single-active-unit-service','repeat','redoState','/-/object/-/batch_allowed','startRow','state','_socketReady','getDocRanges','wsSessionTicketUrl','_transformService','none','getTime','create','bottom','collaborators','collabWebSocketUrl','_scheduleCollaborationTimeoutTimer','toggleOffline','_queuedRemoteChangesets','FromArray','contains','beginPath','getUnitId','get','requestParams','_transformRemoteChangesetByStateCache','saveSnapshot','ALREADY_EXISTS','_ws','[SyncedState]:\x20received\x20acknowledgement.','_localStorageService','format','TOO_MANY_REQUESTS','image/png','_keySchedule','_onRecvEvent','_iv','round','_members','uni.network.url-service','ERROR_IMAGE_TYPE','_scheduleSaving','labelPosition','join','measureText','use','_onUserJoin','appendMutation','[CollaborationSession]','displayName','generateRandomId','set','_snapshotService','sessionStatus$','makeDirty','IDLE','collabStatus.notCollab','shouldCloseConn','_clearLocalCache','conflict','getCollabCursors$','ciphertext','ws://127.0.0.1:8000/universer-api/comb/connect','_ENC_XFORM_MODE','send','disposeUnit','SNAPSHOT_HAS_BEEN_REMOVED','_loadDoc','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','HEARTBEAT','_refRangeService','_drawRectRange','onMissingChangesets','_getSaveTimeout','_data','submit\x20changeset\x20error!','_collabCursorState$','column','json','ERROR_EXCEED_SIZE','_doProcessBlock','HttpImport','addObject','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','defineProperty','_resendTimer','_initCloseConn','_snapshotServerService','delete','isActive','onTransformRemoteChangesetByIMECache','\x20-\x20','_socketService','6415sWZITU','_getDownloadEndpointURL','find','editing\x20status\x20changed\x20to','_scene','Error','SerializableCipher','_startDocCollabCursor','react.fragment','getMember','_handleEvent','gold400','_minBufferSize','UNIVER_SHEET','code','type','saveImage','className','getCollabEntity$','session','setTimeout','_transformStateCache','_revisionService','_map','YUUMI_URL_COL_OUT_OF_RANGE','roomMembers','_initRequestHeader','_collaborationPaused','_transformUndoredo','OpenSSL','executeCommand','_getMergeRange','PENDING','getDeserializedSheetBlock','dispose$','_createHelper','getRoom','_docSkeletonManagerService','onlyLocal','RemoveRowCommandId','url','UNIVER_UNKNOWN','updatePermissionObjEvent','replace','decryptBlock','ceil','FETCH_MISS','updateOfflineData','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','_onCursorUpdate','_decreaseWaiting','tag','incrementRevOfUnit','createInstance','HMAC','_scheduleClearOtherTimer','setShapeProps','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','startsWith','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','toggleOnline','__Key__','parse','COMMENT_UPDATE','UPDATE_PERMISSION_OBJ','_getAPIPrefixPath','NO_OTHER_CLIENTS_EDITING','CHANGESET_REVISION_CONFILICT','_httpService','_acknowledgedAwaitingChangeset','objects','collab-rect-range-','HELLO','_shapes','off-line-single_clip0_910_343','_transitionLocked','registerComponent','href','_setupSubUnitSync','entries','VIEW_MAIN','newValue','_prevBlock','_undoStacks','LEAVE','includes','_reverseMap','SUCCUSS','string','currentColor','/universer-api/file/{fileID}/sign-url','collab-text-range-','deleteCollaborator','_invKeySchedule','crypto','_mode','sigBytes','_tryEnsureSocket','target','UUID','next','_throwTelemetryCollaborationNewChangeset','has','image/gif','Fragment','putCollaborators','div','location','from','save','_cipher','_loadSheet','APPLY_REVISION_CONFILICT','salt','_removeCollabCursors','floor','subject','pipe','InsertRowCommandId','getTypeOfUnitDisposed$','onPointerMove$','show','2664220CShdCc','memberID','unit-cache-','_checkMissing','baseRev','compute','_toggleOnline','sheets','capture','_entityInit$','msCrypto','updateCollaborator','onTransformChange$','_initStatusComponent','_cursorInfo$','_isPermissionRej','_cursorShapes','post','registerRenderModule','LIVESHARE_OPERATION','_state','_compressMutationService','_updateLocalCursor','_sheetTransformSelectionsService','_permissionService','OffLineSingle','endColumn','fillText','APPLY_PERMISSION_DENIED','c2Prime','refreshPermission','_hideTimer','_onOffline','Cipher','_onLocalMutation','concat','CipherParams','_renderManagerService','/universer-api/user/session-ticket','_assignedColors','hidden','hasOwnProperty','subscribe','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_onRefRangeChange','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','JOIN_ROOM_NOT_ALLOWED','2807455ewyFPL','awaiting','_clearUndo','getMemberID','USERS_ENTER','_injector','socket\x20open.','collaMsg','_setupBeforeClosingHandler','getCurrentRevOfUnit','_session','BufferedBlockAlgorithm','_transformPreviousActiveRange','_getSignURL','src','getAncestorScale','enableAuthServer','_scheduleTimestamp','_cachedData','transformIMECache','M0\x200H16V16H0z','HEADER_MENU','initWorkbookPermissionChange','_getScale','_collaborationController','selections','univer-offline','_syncEditingCollabCursorService','getOwnPropertyDescriptor','_unlockTransition','randomBytes','_createInitialStateImpl','_getUndoStack','map','getImageSourceCache','onlineStatusIcon','getFocusedUnit','byteOffset','unsubscribe','INTERNAL_ERROR','socketService','Could\x20not\x20dynamically\x20require\x20\x22','univerjs-icon\x20univerjs-icon-','cfg','idSuffix','APPLY_DUPLICATED','substr','finalize','OFFLINE','replaceDocRanges','equals','CONNECTOR_DATA_TOO_LARGE','LICENSE_MAX_UNITS_EXCEEDED','_getCurrentRevision','row','lineTo','clearTimeout','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','\x20in\x20_schedule.','fetchMiss','m2Prime','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_replaceFileID','permission.title','slice','selection','liveShareOperation','_handleHover','/-/object/list','transformSelections','doc.mutation.rich-text-editing','revision','pluginName','#fff','_docTransformStateCacheService','_rescheduleHeartbeat','PERMISSION_REJ','saveSheetBlock','_removeRoom','resourceIDs','ranges','_updateURLWithCurrentState','unshift','[CollaborationEntity]','5723990ZOYvrf','substring','RECV','cmd','getCurrent','_http','_initUnitPermissionChange','_onRemoteRejected','editingUnit','_onCombEvent','updateMember','add','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_updateStatus','_textBubble','endRow','forEach','_registerRenderDependencies','getRelativeToViewportCoord','InsertRangeMoveRightCommandId','exports','ONLINE','_logService','onCommandExecuted','/universer-api/snapshot/','_getAnchorBounding','top','_messageService','getSheetBlock','file','{fileID}','_clearHeartbeatTimer','ivSize','registerOnClose','APPLY_NON_SEQUENTIAL_REVISION','_schedule','ReactCurrentOwner','HmacSHA1','createEncryptor','defaultProps','override','decrypt','updatePermissionPoint','transformByState','YUUMI_SUBSCRIPTION_NOT_FOUND','_clearRedo','transformMutationsWithChangeset','getViewport','ref','subscribeEvent','_sendHeartbeat','telemetry\x20info\x20is\x20not\x20initialized','univer-pro.collaboration-client-socket-service','resolve','_name','_socketMessageSubscription','some','append','c1Prime','People','1em','abs','_createHandler','/universer-api/stream/file/upload','indexOf','_getRedoStack','_send','call','_clearScheduledTask','18CvORtV','_transformStack','JOINING','Pkcs7','getAllMembers','CHANGESET_ACK','removeParam','getParam','_createHmacHelper','complete','COLLAB_WEB_SOCKET_URL','[FetchMissState]','sessionStatus','_awaitingChangeset','_transformSelections','_unitStatus'];_0x23ae=function(){return _0x15cbc9;};return _0x23ae();}let Dt=class{constructor(_0x4b9dcd,_0x203ab3){const _0xcf3752=_0x59f468;this[_0xcf3752(0x351)]=_0x4b9dcd,this['_transformService']=_0x203ab3;}['transformSelections'](_0x49d733){const _0x4dd01f=_0x59f468;var _0x2b51c0;const _0x3afabe=this[_0x4dd01f(0x351)][_0x4dd01f(0x25d)](_0x4768db),_0x30c9e9=(_0x2b51c0=_0x3afabe[_0x4dd01f(0x24d)]())!=null?_0x2b51c0:[];if(_0x30c9e9['length']===0x0)return;const _0x2e8ca7=_0x49d733[_0x4dd01f(0x405)],_0x326421=[{'id':_0x4dd01f(0x392),'params':{'unitId':_0x2e8ca7,'actions':null,'textRanges':_0x30c9e9}}],_0x3b8f19=this['_transformService']['transformMutationsWithChangeset'](_0x49d733,_0x326421);if(!_0x4d7745(_0x3b8f19))throw _0x3b8f19[_0x4dd01f(0x1ec)];const _0x4ccfc2=_0x3b8f19[_0x4dd01f(0x388)][0x0][_0x4dd01f(0x4c3)][_0x4dd01f(0x5a1)];Array['isArray'](_0x4ccfc2)&&_0x4ccfc2[_0x4dd01f(0x21a)]&&_0x3afabe[_0x4dd01f(0x37d)](_0x4ccfc2,{'unitId':_0x2e8ca7,'subUnitId':_0x2e8ca7},!0x1);}};Dt=yo([Zs(0x0,_0x222038(_0x2e1c56)),Zs(0x1,_0x4cb437)],Dt);const wo=new Set([_0x37dbf5['id']]);function Qs(_0x41da43,_0x5458fa,_0x2434f1,_0x3f210a,_0x4cdc9c){const _0x2d0430=_0x59f468;var _0x12bdbb,_0x97ff69,_0x6a8586,_0x5c81fb;const _0x751281=[];for(const _0x3fd887 of _0x41da43)if(wo[_0x2d0430(0x309)](_0x3fd887['id'])){if(_0x751281[_0x2d0430(0x21a)]>0x0)break;_0x751281[_0x2d0430(0x4cf)](_0x3fd887);break;}else _0x751281['push'](_0x3fd887);const _0x50ac31=(_0x97ff69=(_0x12bdbb=_0x4cdc9c[_0x2d0430(0x542)]())==null?void 0x0:_0x12bdbb[_0x2d0430(0x451)])!=null?_0x97ff69:'unknown',_0x24398f=(_0x5c81fb=(_0x6a8586=_0x4cdc9c[_0x2d0430(0x542)]())==null?void 0x0:_0x6a8586['memberID'])!=null?_0x5c81fb:_0x2d0430(0x1f7);return{'changeset':{'unitID':_0x5458fa,'type':_0x152c8d(_0x2434f1['getUnitType'](_0x5458fa)),'baseRev':_0x3f210a[_0x2d0430(0x355)](_0x5458fa),'revision':0x0,'userID':_0x50ac31,'memberID':_0x24398f,'mutations':_0x751281},'pendingMutations':_0x41da43['slice'](_0x751281[_0x2d0430(0x21a)])};}function Do(_0x2b0b44,_0x445f93,_0x30e5ab,_0x408079,_0x52d176){const _0x15f084=_0x59f468;var _0xa139eb,_0x43a16f,_0x4f9df0,_0x26600f;const _0x2d828a=[_0x2b0b44[_0x15f084(0x50d)]((_0x28d907,_0x2b1b59)=>{const _0x22f093=_0x15f084;var _0x1c9f48;const {id:_0x33a69c}=_0x28d907,{id:_0x1199fa,type:_0x2d8e5a}=_0x2b1b59,_0x1446cc=(_0x1c9f48=_0x28d907['params'])!=null?_0x1c9f48:{'actions':null},_0xb387d5=_0x2b1b59[_0x22f093(0x4c3)];if(_0x33a69c&&_0x33a69c!==_0x1199fa)throw new Error(_0x22f093(0x28a)+_0x33a69c+_0x22f093(0x2a1)+_0x1199fa+'.');return{..._0x28d907,'id':_0x1199fa,'type':_0x2d8e5a,'params':{'unitId':_0xb387d5[_0x22f093(0x51a)],'textRanges':_0xb387d5[_0x22f093(0x5a1)],'actions':_0x728319[_0x22f093(0x4ed)](_0x1446cc[_0x22f093(0x584)],_0xb387d5[_0x22f093(0x584)])}};},{})],_0x13cae5=(_0x43a16f=(_0xa139eb=_0x52d176[_0x15f084(0x542)]())==null?void 0x0:_0xa139eb['userID'])!=null?_0x43a16f:_0x15f084(0x1f7),_0x186f2a=(_0x26600f=(_0x4f9df0=_0x52d176[_0x15f084(0x542)]())==null?void 0x0:_0x4f9df0[_0x15f084(0x31e)])!=null?_0x26600f:_0x15f084(0x1f7);return{'changeset':{'unitID':_0x445f93,'type':_0x152c8d(_0x30e5ab[_0x15f084(0x243)](_0x445f93)),'baseRev':_0x408079[_0x15f084(0x355)](_0x445f93),'revision':0x0,'userID':_0x13cae5,'memberID':_0x186f2a,'mutations':_0x2d828a},'pendingMutations':[]};}function qi(_0x18bd39,_0x23f060){const _0x171a71=_0x59f468,_0x985612=new _0x3b5418(0x1);return setTimeout(()=>_0x985612[_0x171a71(0x307)](_0x23f060),_0x18bd39),_0x985612[_0x171a71(0x472)]()[_0x171a71(0x318)](_0x3fe09f(0x1));}const Po={'id':_0x86642a['id'],'type':_0x2a05e3['MUTATION'],'params':{}};var Uo=Object[_0x59f468(0x29a)],No=Object['getOwnPropertyDescriptor'],Le=(_0x1ab56e,_0x37db4d,_0xf34022,_0x184f21)=>{const _0x4a7f61=_0x59f468;for(var _0x23d4a2=_0x184f21>0x1?void 0x0:_0x184f21?No(_0x37db4d,_0xf34022):_0x37db4d,_0x5ce934=_0x1ab56e[_0x4a7f61(0x21a)]-0x1,_0x577592;_0x5ce934>=0x0;_0x5ce934--)(_0x577592=_0x1ab56e[_0x5ce934])&&(_0x23d4a2=(_0x184f21?_0x577592(_0x37db4d,_0xf34022,_0x23d4a2):_0x577592(_0x23d4a2))||_0x23d4a2);return _0x184f21&&_0x23d4a2&&Uo(_0x37db4d,_0xf34022,_0x23d4a2),_0x23d4a2;},A=(_0x496e96,_0x424835)=>(_0xcc7d22,_0x4c34c1)=>_0x424835(_0xcc7d22,_0x4c34c1,_0x496e96),J=(_0x45e1f1=>(_0x45e1f1[_0x59f468(0x438)]=_0x59f468(0x597),_0x45e1f1['SYNCED']='synced',_0x45e1f1[_0x59f468(0x2c3)]=_0x59f468(0x4b2),_0x45e1f1[_0x59f468(0x552)]=_0x59f468(0x34d),_0x45e1f1[_0x59f468(0x4db)]=_0x59f468(0x51e),_0x45e1f1[_0x59f468(0x2d1)]=_0x59f468(0x489),_0x45e1f1[_0x59f468(0x580)]=_0x59f468(0x281),_0x45e1f1[_0x59f468(0x37c)]=_0x59f468(0x553),_0x45e1f1))(J||{});const zi=0xea60;class $e{constructor(_0xd60221,_0x1b9dae,_0x2c0a10,_0x2a22ae,_0x2d5c67,_0x10a1c7,_0x1ecca3,_0x1e98f1,_0x293106){const _0x1f6c8b=_0x59f468;g(this,_0x1f6c8b(0x3f2),null),g(this,_0x1f6c8b(0x4f3),[]),(this[_0x1f6c8b(0x405)]=_0xd60221,this[_0x1f6c8b(0x2b2)]=_0x1b9dae,this[_0x1f6c8b(0x569)]=_0x2d5c67,this[_0x1f6c8b(0x54d)]=_0x10a1c7,this[_0x1f6c8b(0x1cb)]=_0x1ecca3,this[_0x1f6c8b(0x2b9)]=_0x1e98f1,this[_0x1f6c8b(0x1ca)]=_0x293106,this[_0x1f6c8b(0x3f2)]=_0x2c0a10,this['_pendingMutations']=_0x2a22ae);}['_checkMissing'](_0x22e3d7){const _0x2e302c=_0x59f468,_0x649e45=this[_0x2e302c(0x2b9)][_0x2e302c(0x355)](this[_0x2e302c(0x405)]);return _0x22e3d7['revision']>_0x649e45+0x1?(this[_0x2e302c(0x569)]['onMissingChangesets']({'from':_0x649e45,'to':_0x22e3d7[_0x2e302c(0x393)]-0x1}),!0x0):!0x1;}[_0x59f468(0x2bf)](_0x40dc94){const _0xb78e32=_0x59f468;this['_undoRedoService'][_0xb78e32(0x41f)](this[_0xb78e32(0x405)],_0x40dc94);}[_0x59f468(0x3f3)](_0x4c9ce4){const _0x4308f4=_0x59f468;var _0x29c033,_0x23df53;(_0x23df53=(_0x29c033=this['_handler'])[_0x4308f4(0x503)])==null||_0x23df53[_0x4308f4(0x3e3)](_0x29c033,_0x4c9ce4);}[_0x59f468(0x55b)](_0x240584){const _0x375767=_0x59f468;var _0x363528,_0x179b57;return(_0x179b57=(_0x363528=this[_0x375767(0x569)])[_0x375767(0x530)])==null?void 0x0:_0x179b57[_0x375767(0x3e3)](_0x363528,_0x240584);}[_0x59f468(0x2b8)](_0x551e0d){const _0x4eee02=_0x59f468;var _0x12e4ee,_0x2d8553;return(_0x2d8553=(_0x12e4ee=this['_handler'])[_0x4eee02(0x56a)])==null?void 0x0:_0x2d8553[_0x4eee02(0x3e3)](_0x12e4ee,_0x551e0d);}[_0x59f468(0x573)](_0x503b8f){const _0x2e2f9b=_0x59f468;var _0xd1f70,_0x3635c6,_0x294aea;return(_0x294aea=(_0x3635c6=(_0xd1f70=this['_handler'])[_0x2e2f9b(0x2a0)])==null?void 0x0:_0x3635c6[_0x2e2f9b(0x3e3)](_0xd1f70,_0x503b8f))!=null?_0x294aea:_0x503b8f;}[_0x59f468(0x25f)](_0x55d1ec){const _0x23093f=_0x59f468;var _0x254135,_0x179f0e,_0x242672;return(_0x242672=(_0x179f0e=(_0x254135=this[_0x23093f(0x569)])[_0x23093f(0x232)])==null?void 0x0:_0x179f0e[_0x23093f(0x3e3)](_0x254135,_0x55d1ec))!=null?_0x242672:_0x55d1ec;}[_0x59f468(0x581)](_0x209ae6){const _0x2d5b97=_0x59f468;var _0x19777d,_0x205438;if(this[_0x2d5b97(0x2b2)]===ae['UNIVER_DOC']){const {unitID:_0x31fbeb,mutations:_0xcea448,memberID:_0xa77330}=_0x209ae6,_0xd20bce=_0xcea448[0x0][_0x2d5b97(0x4c3)][_0x2d5b97(0x5a1)];Array['isArray'](_0xd20bce)&&_0xd20bce[_0x2d5b97(0x21a)]>0x0&&((_0x205438=(_0x19777d=this[_0x2d5b97(0x569)])[_0x2d5b97(0x1aa)])==null||_0x205438[_0x2d5b97(0x3e3)](_0x19777d,{'unitID':_0x31fbeb,'memberID':_0xa77330,'textRanges':_0xd20bce}));}}['_updateLocalCache'](){const _0x5bcb00=_0x59f468;this[_0x5bcb00(0x1ca)][_0x5bcb00(0x2d2)](this[_0x5bcb00(0x405)],this['type'],this[_0x5bcb00(0x3f2)],this[_0x5bcb00(0x4f3)]);}[_0x59f468(0x381)](){const _0x233c84=_0x59f468;return this[_0x233c84(0x2b9)][_0x233c84(0x355)](this[_0x233c84(0x405)]);}['_incrementRevisionNumber'](){const _0x50f027=_0x59f468;this[_0x50f027(0x2b9)][_0x50f027(0x2d7)](this[_0x50f027(0x405)]);}[_0x59f468(0x4ac)](_0x469716){const _0x7cc9d7=_0x59f468;var _0x1fdf47;let _0x578fe8=this[_0x7cc9d7(0x573)](_0x469716);_0x578fe8=this[_0x7cc9d7(0x25f)](_0x578fe8);const _0x3dccc0=_0x504024(_0x578fe8[_0x7cc9d7(0x1a2)],this[_0x7cc9d7(0x54d)],{'fromCollab':!0x0});if(!_0x3dccc0['result'])throw _0x3dccc0[_0x7cc9d7(0x1ec)]instanceof Error?_0x3dccc0[_0x7cc9d7(0x1ec)]:new Error((_0x1fdf47=_0x3dccc0['error'])!=null?_0x1fdf47:_0x7cc9d7(0x4a5));this[_0x7cc9d7(0x55b)](_0x578fe8),this[_0x7cc9d7(0x2b8)](_0x578fe8),this[_0x7cc9d7(0x2bf)](_0x469716),this[_0x7cc9d7(0x3f3)](_0x578fe8),this[_0x7cc9d7(0x581)](_0x578fe8),this[_0x7cc9d7(0x432)]();}}let We=class extends $e{constructor(_0x175922,_0x280b5a,_0x51ffff,_0x2bac98,_0x5aa0bf,_0x18a23a,_0x49dad7,_0x2d49d3,_0x326ffc,_0x2b4a46){const _0x14e015=_0x59f468;super(_0x175922,_0x280b5a,null,[],_0x51ffff,_0x2d49d3,_0x49dad7,_0x2bac98,_0x5aa0bf),g(this,_0x14e015(0x1e8),'synced'),(this['_injector']=_0x18a23a,this[_0x14e015(0x3b6)]=_0x326ffc,this[_0x14e015(0x24f)]=_0x2b4a46);}['appendMutation'](_0x2777bf){const _0xf22783=_0x59f468,_0x4a0534=this['_injector']['createInstance'](pe,this[_0xf22783(0x405)],this[_0xf22783(0x2b2)],[_0x2777bf],this['_handler']);return _0x4a0534[_0xf22783(0x3c3)](),_0x4a0534[_0xf22783(0x4e4)](),_0x4a0534;}[_0x59f468(0x41d)](_0xd88549){const _0x372dae=_0x59f468;if(this[_0x372dae(0x320)](_0xd88549))return this[_0x372dae(0x351)]['createInstance'](ce,this['unitID'],this['type'],null,[],null,[_0xd88549],this[_0x372dae(0x569)]);try{const _0x5d50ee=this[_0x372dae(0x24f)][_0x372dae(0x3ce)](_0xd88549,[Po]);if(_0x4d7745(_0x5d50ee)){const {c1Prime:_0x20a055}=_0x5d50ee;return this[_0x372dae(0x4ac)](_0x20a055),this;}throw _0x5d50ee['error'];}catch(_0x5c23dd){return this[_0x372dae(0x3b6)]['error'](_0x5c23dd),this['_onConflict'](!0x1);}}[_0x59f468(0x52d)](_0x280961){const _0x15a5fc=_0x59f468;return this[_0x15a5fc(0x351)][_0x15a5fc(0x2d8)](Re,this[_0x15a5fc(0x405)],this[_0x15a5fc(0x2b2)],null,[],this[_0x15a5fc(0x569)],_0x280961);}[_0x59f468(0x488)](){const _0x2896f9=_0x59f468;throw new Error(_0x2896f9(0x263));}[_0x59f468(0x236)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x59f468(0x531)](){return this;}[_0x59f468(0x257)](){const _0x47188f=_0x59f468;return this['_injector'][_0x47188f(0x2d8)](Oe,this[_0x47188f(0x405)],this[_0x47188f(0x2b2)],null,[],this[_0x47188f(0x569)]);}[_0x59f468(0x2df)](){return this;}[_0x59f468(0x4ae)](){const _0x236f06=_0x59f468;throw new Error(_0x236f06(0x435));}[_0x59f468(0x387)](){const _0x37a74f=_0x59f468,_0x374faf=this[_0x37a74f(0x2b9)][_0x37a74f(0x355)](this[_0x37a74f(0x405)]);return this[_0x37a74f(0x569)][_0x37a74f(0x28e)]({'from':_0x374faf,'to':0x0}),this['_injector']['createInstance'](ce,this[_0x37a74f(0x405)],this[_0x37a74f(0x2b2)],null,[],null,[],this['_handler']);}};We=Le([A(0x3,_0x222038(_0x21f454)),A(0x4,_0x222038(z)),A(0x5,_0x222038(_0x2e1c56)),A(0x6,_0x2d2527),A(0x7,_0x1e017f),A(0x8,_0x37805d),A(0x9,_0x4cb437)],We);let pe=class extends $e{constructor(_0x367a8a,_0x58c512,_0x3a379e,_0x1182e2,_0x4c8cb3,_0x4694ea,_0x15c673,_0x5647aa,_0x3806a7,_0x1a8d10,_0x1bd20d,_0x49a233,_0x37bdf2,_0x15c88a){const _0x45ca88=_0x59f468;super(_0x367a8a,_0x58c512,null,_0x3a379e,_0x1182e2,_0x1a8d10,_0x15c88a,_0x4694ea,_0x15c673),g(this,_0x45ca88(0x1e8),_0x45ca88(0x4b2)),g(this,'_scheduleTimestamp',null),g(this,'_sendingTimer',null),(this[_0x45ca88(0x351)]=_0x4c8cb3,this['_memberService']=_0x5647aa,this[_0x45ca88(0x3b6)]=_0x3806a7,this[_0x45ca88(0x58b)]=_0x1bd20d,this['_transformService']=_0x49a233,this['_univerInstanceService']=_0x37bdf2);}[_0x59f468(0x275)](_0x4048ca){const _0x1134a5=_0x59f468;return this['_pendingMutations'][_0x1134a5(0x4cf)](_0x4048ca),this['_updateLocalCache'](),this;}[_0x59f468(0x41d)](_0x492126){const _0xbcf25f=_0x59f468;if(this['_checkMissing'](_0x492126))return this[_0xbcf25f(0x3e4)](),this[_0xbcf25f(0x351)][_0xbcf25f(0x2d8)](ce,this[_0xbcf25f(0x405)],this[_0xbcf25f(0x2b2)],null,this[_0xbcf25f(0x4f3)],null,[_0x492126],this[_0xbcf25f(0x569)]);try{const _0x2ad01a=this['_transformService'][_0xbcf25f(0x3ce)](_0x492126,this['_pendingMutations']);if(_0x4d7745(_0x2ad01a)){const {c1Prime:_0x2a8927,m2Prime:_0x544841}=_0x2ad01a;this[_0xbcf25f(0x4ac)](_0x2a8927);const _0x514e8c=this[_0xbcf25f(0x351)]['createInstance'](pe,this[_0xbcf25f(0x405)],this[_0xbcf25f(0x2b2)],_0x544841,this['_handler']);return this[_0xbcf25f(0x3e4)](),_0x514e8c['_schedule'](this[_0xbcf25f(0x35d)]?Math[_0xbcf25f(0x456)](0x0,new Date()[_0xbcf25f(0x251)]()-this[_0xbcf25f(0x35d)]):this[_0xbcf25f(0x41e)]()),_0x514e8c;}throw _0x2ad01a['error'];}catch(_0x36245c){return this[_0xbcf25f(0x3b6)][_0xbcf25f(0x1ec)](_0x36245c),this[_0xbcf25f(0x52d)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x3b9c61=_0x59f468;throw new Error(_0x3b9c61(0x571));}['onRemoteRetry'](){return this;}[_0x59f468(0x257)](){const _0x24c437=_0x59f468;return this[_0x24c437(0x3e4)](),this[_0x24c437(0x351)][_0x24c437(0x2d8)](Oe,this[_0x24c437(0x405)],this[_0x24c437(0x2b2)],null,this[_0x24c437(0x4f3)],this[_0x24c437(0x569)]);}['toggleOnline'](){return this;}['_schedule'](_0x350313){const _0x3ea993=_0x59f468,_0x55f6e6=_0x350313!=null?_0x350313:this[_0x3ea993(0x41e)]();this[_0x3ea993(0x35d)]=new Date()[_0x3ea993(0x251)](),this[_0x3ea993(0x4d5)]=window[_0x3ea993(0x2b7)](()=>{const _0x1aa2c3=_0x3ea993;this[_0x1aa2c3(0x3e4)]();let _0x54aa94=null;switch(this[_0x1aa2c3(0x2b2)]){case ae['UNIVER_SHEET']:{_0x54aa94=Qs(this['_pendingMutations'],this[_0x1aa2c3(0x405)],this[_0x1aa2c3(0x525)],this[_0x1aa2c3(0x2b9)],this[_0x1aa2c3(0x43b)]);break;}case ae[_0x1aa2c3(0x4f9)]:{this[_0x1aa2c3(0x4f3)][_0x1aa2c3(0x3f7)](_0x1d880c=>_0x1d880c['id']===_0x2bf5bd['id'])?_0x54aa94=Do(this['_pendingMutations'],this['unitID'],this[_0x1aa2c3(0x525)],this[_0x1aa2c3(0x2b9)],this['_memberService']):_0x54aa94=Qs(this[_0x1aa2c3(0x4f3)],this[_0x1aa2c3(0x405)],this[_0x1aa2c3(0x525)],this[_0x1aa2c3(0x2b9)],this[_0x1aa2c3(0x43b)]);break;}default:throw new Error(_0x1aa2c3(0x4d8)+this[_0x1aa2c3(0x2b2)]+_0x1aa2c3(0x386));}const {changeset:_0xc821b,pendingMutations:_0x1caabb}=_0x54aa94;this[_0x1aa2c3(0x569)][_0x1aa2c3(0x1d9)](_0xc821b);const _0x2a4cce=_0x1caabb[_0x1aa2c3(0x21a)]?this[_0x1aa2c3(0x351)][_0x1aa2c3(0x2d8)](me,this[_0x1aa2c3(0x405)],this['type'],_0xc821b,_0x1caabb,this[_0x1aa2c3(0x569)],void 0x0):this[_0x1aa2c3(0x351)][_0x1aa2c3(0x2d8)](Te,this[_0x1aa2c3(0x405)],this['type'],_0xc821b,this[_0x1aa2c3(0x569)]);_0x2a4cce[_0x1aa2c3(0x4e4)](),this[_0x1aa2c3(0x569)][_0x1aa2c3(0x510)](this,_0x2a4cce);},_0x55f6e6);}[_0x59f468(0x41e)](){const _0x55f6b1=_0x59f468;var _0xb55429;const _0x5cb86f=this[_0x55f6b1(0x58b)][_0x55f6b1(0x55d)](Q);return(_0xb55429=_0x5cb86f==null?void 0x0:_0x5cb86f[_0x55f6b1(0x42b)])!=null?_0xb55429:Tn;}[_0x59f468(0x4ae)](){const _0x2038af=_0x59f468;throw new Error(_0x2038af(0x385));}[_0x59f468(0x3e4)](){const _0x1f9e0b=_0x59f468;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1f9e0b(0x4d5)]),this[_0x1f9e0b(0x4d5)]=null);}[_0x59f468(0x52d)](_0x5750d9){const _0x430310=_0x59f468;return this[_0x430310(0x3e4)](),this['_injector']['createInstance'](Re,this[_0x430310(0x405)],this[_0x430310(0x2b2)],null,this[_0x430310(0x4f3)],this[_0x430310(0x569)],_0x5750d9);}};pe=Le([A(0x4,_0x222038(_0x2e1c56)),A(0x5,_0x222038(_0x21f454)),A(0x6,_0x222038(z)),A(0x7,_0x222038(Ae)),A(0x8,_0x37805d),A(0x9,_0x1e017f),A(0xa,_0x486aed),A(0xb,_0x4cb437),A(0xc,_0xd7de45),A(0xd,_0x2d2527)],pe);let Te=class extends $e{constructor(_0x12e0ef,_0x1b5014,_0xef6258,_0x15492b,_0x27708d,_0x307dc2,_0x56d4e6,_0x2b7a88,_0x5ac1fe,_0x168c5c,_0x1d74db){const _0x2ca5f6=_0x59f468;super(_0x12e0ef,_0x1b5014,_0xef6258,[],_0x15492b,_0x2b7a88,_0x1d74db,_0x307dc2,_0x56d4e6),g(this,_0x2ca5f6(0x1e8),_0x2ca5f6(0x34d)),g(this,_0x2ca5f6(0x200),0x0),g(this,_0x2ca5f6(0x29b)),g(this,'_sender'),(this[_0x2ca5f6(0x351)]=_0x27708d,this[_0x2ca5f6(0x3b6)]=_0x5ac1fe,this[_0x2ca5f6(0x24f)]=_0x168c5c);}[_0x59f468(0x275)](_0x487bdb){const _0x3f3296=_0x59f468;this[_0x3f3296(0x3e4)]();const _0x35cd2a=this[_0x3f3296(0x351)][_0x3f3296(0x2d8)](me,this['unitID'],this[_0x3f3296(0x2b2)],this[_0x3f3296(0x3f2)],[_0x487bdb],this[_0x3f3296(0x569)],this[_0x3f3296(0x29b)]);return _0x35cd2a['_updateLocalCache'](),_0x35cd2a;}[_0x59f468(0x41d)](_0x13ed71){const _0xf2734a=_0x59f468;if(this[_0xf2734a(0x320)](_0x13ed71))return this[_0xf2734a(0x3e4)](),this[_0xf2734a(0x351)][_0xf2734a(0x2d8)](ce,this[_0xf2734a(0x405)],this['type'],this[_0xf2734a(0x3f2)],[],null,[_0x13ed71],this[_0xf2734a(0x569)]);try{const _0x29a9ea=this[_0xf2734a(0x24f)]['transformChangesets']([_0x13ed71],[this['_awaitingChangeset']],!0x1);if(_0x5cd3ce(_0x29a9ea)){const {c1Prime:_0x1e33a2,c2Prime:_0x5b1f51}=_0x29a9ea;this['_executeRemoteChangeset'](_0x1e33a2[0x0]),_0x5b1f51[0x0][_0xf2734a(0x321)]=this[_0xf2734a(0x381)](),this[_0xf2734a(0x3e4)]();const _0xe1dc11=this[_0xf2734a(0x351)]['createInstance'](Te,this[_0xf2734a(0x405)],this['type'],_0x5b1f51[0x0],this[_0xf2734a(0x569)]);return _0xe1dc11['_updateLocalCache'](),_0xe1dc11;}return this[_0xf2734a(0x52d)](!0x1);}catch(_0x13c204){return this[_0xf2734a(0x3b6)][_0xf2734a(0x1ec)](_0x13c204),this[_0xf2734a(0x52d)](!0x1);}}[_0x59f468(0x488)](_0x10dc7b){const _0x2b9dc6=_0x59f468;this[_0x2b9dc6(0x3e4)]();const _0x2a7d7f=this[_0x2b9dc6(0x2b9)][_0x2b9dc6(0x355)](this[_0x2b9dc6(0x405)]);if(_0x10dc7b[_0x2b9dc6(0x393)]<_0x2a7d7f-0x1)return this;if(this[_0x2b9dc6(0x320)](_0x10dc7b))return this['_injector'][_0x2b9dc6(0x2d8)](ce,this[_0x2b9dc6(0x405)],this['type'],null,[],this[_0x2b9dc6(0x3f2)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x44629c=this['_injector'][_0x2b9dc6(0x2d8)](We,this['unitID'],this['type'],this[_0x2b9dc6(0x569)]);return _0x44629c[_0x2b9dc6(0x4e4)](),_0x44629c;}[_0x59f468(0x236)](_0x5db1a4){const _0x3260d5=_0x59f468;return this[_0x3260d5(0x52d)](!!(_0x5db1a4!=null&&_0x5db1a4[_0x3260d5(0x495)]));}[_0x59f468(0x531)](_0x8f6520){const _0x3bbc90=_0x59f468;return this[_0x3bbc90(0x200)]>zi?this['toggleOffline']():(this[_0x3bbc90(0x29b)]=qi(this[_0x3bbc90(0x200)],{'timeout':this[_0x3bbc90(0x200)],'reqId':_0x8f6520[_0x3bbc90(0x417)]}),this[_0x3bbc90(0x1ee)]=this[_0x3bbc90(0x29b)][_0x3bbc90(0x347)](({reqId:_0x594fc4,timeout:_0x18291b})=>{const _0x20377f=_0x3bbc90;this[_0x20377f(0x401)](_0x594fc4,_0x18291b);}),this);}[_0x59f468(0x257)](){const _0x3eb22e=_0x59f468;return this[_0x3eb22e(0x3e4)](),this[_0x3eb22e(0x351)][_0x3eb22e(0x2d8)](Oe,this[_0x3eb22e(0x405)],this[_0x3eb22e(0x2b2)],this['_awaitingChangeset'],[],this['_handler']);}['toggleOnline'](){return this;}[_0x59f468(0x4ae)](){const _0x164472=_0x59f468;this[_0x164472(0x569)][_0x164472(0x1d9)](this['_awaitingChangeset']);}[_0x59f468(0x52d)](_0x44fe02){const _0x6f5634=_0x59f468;return this[_0x6f5634(0x3e4)](),this['_injector']['createInstance'](Re,this[_0x6f5634(0x405)],this[_0x6f5634(0x2b2)],this[_0x6f5634(0x3f2)],[],this['_handler'],_0x44fe02);}[_0x59f468(0x401)](_0x514132,_0x2ea1e1){const _0x2cf6fe=_0x59f468;var _0x4af82c;_0x514132===((_0x4af82c=this[_0x2cf6fe(0x3f2)])==null?void 0x0:_0x4af82c[_0x2cf6fe(0x417)])&&(this['resend'](),this[_0x2cf6fe(0x200)]=_0x2ea1e1===0x0?0x3e8:_0x2ea1e1*0x2);}['_clearScheduledTask'](){const _0x1e587d=_0x59f468;var _0x575cf9;(_0x575cf9=this['_sender'])==null||_0x575cf9[_0x1e587d(0x372)](),this['_resendTimeout']=0x0;}};Te=Le([A(0x4,_0x222038(_0x2e1c56)),A(0x5,_0x222038(_0x21f454)),A(0x6,_0x222038(z)),A(0x7,_0x1e017f),A(0x8,_0x37805d),A(0x9,_0x4cb437),A(0xa,_0x2d2527)],Te);let me=class extends $e{constructor(_0x2381ed,_0x46da9b,_0x2f1cd9,_0x380c94,_0x32f25d,_0x3c899a,_0x3e8ce1,_0x3d3e16,_0xb57027,_0x36415d,_0x12ac0b,_0xd80ff0,_0x360344){const _0x27a30b=_0x59f468;super(_0x2381ed,_0x46da9b,_0x2f1cd9,_0x380c94,_0x32f25d,_0x36415d,_0x360344,_0x3d3e16,_0xb57027),g(this,'status',_0x27a30b(0x51e)),g(this,'_resendTimeout',0x0),g(this,_0x27a30b(0x29b)),g(this,_0x27a30b(0x1ee)),(this['_injector']=_0x3e8ce1,this['_logService']=_0x12ac0b,this['_transformService']=_0xd80ff0,_0x3c899a&&(this['_resendTimer']=_0x3c899a,this[_0x27a30b(0x1ee)]=this[_0x27a30b(0x29b)][_0x27a30b(0x347)](({reqId:_0x103e1a,timeout:_0x2de8e9})=>{const _0x40577f=_0x27a30b;this[_0x40577f(0x401)](_0x103e1a,_0x2de8e9);})));}[_0x59f468(0x275)](_0x3c33d0){const _0x5ae3fd=_0x59f468;return this[_0x5ae3fd(0x4f3)][_0x5ae3fd(0x4cf)](_0x3c33d0),this;}[_0x59f468(0x41d)](_0x361987){const _0x261744=_0x59f468;if(this['_checkMissing'](_0x361987))return this['_clearScheduledTask'](),this[_0x261744(0x351)][_0x261744(0x2d8)](ce,this['unitID'],this[_0x261744(0x2b2)],this[_0x261744(0x3f2)],this[_0x261744(0x4f3)],null,[_0x361987],this['_handler']);try{const _0x5d13b2=this['_transformService'][_0x261744(0x594)]([_0x361987],[this[_0x261744(0x3f2)]],!0x1);if(_0x5cd3ce(_0x5d13b2)){const {c1Prime:_0x1ec5b3,c2Prime:_0x28d4a1}=_0x5d13b2,_0x1be380=this[_0x261744(0x24f)][_0x261744(0x3ce)](_0x1ec5b3[0x0],this[_0x261744(0x4f3)]);if(_0x4d7745(_0x1be380)){const {c1Prime:_0x4f603d,m2Prime:_0x3a69e8}=_0x1be380;return this[_0x261744(0x4ac)](_0x4f603d),_0x28d4a1[0x0][_0x261744(0x321)]=this[_0x261744(0x381)](),this['_clearScheduledTask'](),this[_0x261744(0x351)][_0x261744(0x2d8)](me,this[_0x261744(0x405)],this[_0x261744(0x2b2)],_0x28d4a1[0x0],_0x3a69e8,this[_0x261744(0x569)],void 0x0);}throw _0x1be380[_0x261744(0x1ec)];}throw _0x5d13b2['error'];}catch(_0x382d96){return this[_0x261744(0x3b6)][_0x261744(0x1ec)](_0x382d96),this[_0x261744(0x52d)](!0x1);}}[_0x59f468(0x488)](_0x3a830c){const _0x417d90=_0x59f468;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x3a830c))return this[_0x417d90(0x351)]['createInstance'](ce,this[_0x417d90(0x405)],this[_0x417d90(0x2b2)],null,this[_0x417d90(0x4f3)],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0xc47c7d=this[_0x417d90(0x351)][_0x417d90(0x2d8)](pe,this[_0x417d90(0x405)],this[_0x417d90(0x2b2)],this[_0x417d90(0x4f3)],this[_0x417d90(0x569)]);return _0xc47c7d['_schedule'](),_0xc47c7d[_0x417d90(0x4e4)](),_0xc47c7d;}['onRemoteRej'](_0x21b97f){const _0x54359f=_0x59f468;return this[_0x54359f(0x52d)](!!(_0x21b97f!=null&&_0x21b97f[_0x54359f(0x495)]));}[_0x59f468(0x531)](_0x3c5054){const _0x172da6=_0x59f468;return this['_resendTimeout']>zi?this[_0x172da6(0x257)]():(this[_0x172da6(0x29b)]=qi(this['_resendTimeout'],{'timeout':this[_0x172da6(0x200)],'reqId':_0x3c5054[_0x172da6(0x417)]}),this[_0x172da6(0x1ee)]=this[_0x172da6(0x29b)]['subscribe'](({reqId:_0x205b0b,timeout:_0xf5bb28})=>{const _0x1d5577=_0x172da6;this[_0x1d5577(0x401)](_0x205b0b,_0xf5bb28);}),this);}[_0x59f468(0x257)](){const _0x5eec53=_0x59f468;return this['_clearScheduledTask'](),this[_0x5eec53(0x351)]['createInstance'](Oe,this[_0x5eec53(0x405)],this[_0x5eec53(0x2b2)],this[_0x5eec53(0x3f2)],this[_0x5eec53(0x4f3)],this[_0x5eec53(0x569)]);}[_0x59f468(0x2df)](){return this;}[_0x59f468(0x4ae)](){const _0xbbfc3e=_0x59f468;this[_0xbbfc3e(0x569)]['onSendChangeset'](this[_0xbbfc3e(0x3f2)]);}[_0x59f468(0x52d)](_0x25ce3e){const _0x3dcc00=_0x59f468;return this[_0x3dcc00(0x3e4)](),this[_0x3dcc00(0x351)][_0x3dcc00(0x2d8)](Re,this[_0x3dcc00(0x405)],this[_0x3dcc00(0x2b2)],null,this[_0x3dcc00(0x4f3)],this[_0x3dcc00(0x569)],_0x25ce3e);}[_0x59f468(0x401)](_0x3cb77b,_0x2acc22){const _0x460510=_0x59f468;var _0x410ff3;_0x3cb77b===((_0x410ff3=this[_0x460510(0x3f2)])==null?void 0x0:_0x410ff3['reqId'])&&(this[_0x460510(0x4ae)](),this[_0x460510(0x200)]=_0x2acc22===0x0?0x3e8:_0x2acc22*0x2);}[_0x59f468(0x3e4)](){const _0x35eec0=_0x59f468;var _0x5b695d;(_0x5b695d=this[_0x35eec0(0x1ee)])==null||_0x5b695d['unsubscribe'](),this[_0x35eec0(0x200)]=0x0;}};me=Le([A(0x6,_0x222038(_0x2e1c56)),A(0x7,_0x222038(_0x21f454)),A(0x8,_0x222038(z)),A(0x9,_0x1e017f),A(0xa,_0x37805d),A(0xb,_0x4cb437),A(0xc,_0x2d2527)],me);let Re=class extends $e{constructor(_0x550e6f,_0x2e1762,_0x5232f7,_0x3b03f7,_0x59de5b,_0x1c1b78=!0x1,_0x3c62b0,_0x275655,_0x129cbc,_0x582e62,_0x107980,_0x142ac4,_0x374af5){const _0x37b35e=_0x59f468;super(_0x550e6f,_0x2e1762,_0x5232f7,_0x3b03f7,_0x59de5b,_0x275655,_0x129cbc,_0x107980,_0x582e62),g(this,'status',_0x37b35e(0x281)),(this[_0x37b35e(0x32c)]=_0x1c1b78,this[_0x37b35e(0x335)]=_0x3c62b0,this[_0x37b35e(0x58c)]=_0x142ac4,this['_notificationService']=_0x374af5,this[_0x37b35e(0x23a)](),this[_0x37b35e(0x280)](),this[_0x37b35e(0x544)]());}['appendMutation'](){return this;}[_0x59f468(0x41d)](){return this;}[_0x59f468(0x488)](){return this;}[_0x59f468(0x236)](){return this;}[_0x59f468(0x531)](){return this;}[_0x59f468(0x257)](){return this;}[_0x59f468(0x2df)](){return this;}[_0x59f468(0x4ae)](){const _0x5ad564=_0x59f468;throw new Error(_0x5ad564(0x1da));}[_0x59f468(0x280)](){const _0x1aa549=_0x59f468;this['_localCacheService'][_0x1aa549(0x2d2)](this[_0x1aa549(0x405)],this[_0x1aa549(0x2b2)],null,[]);}[_0x59f468(0x23a)](){const _0x881d81=_0x59f468;this['_isPermissionRej']?this['_notificationService'][_0x881d81(0x31c)]({'title':this[_0x881d81(0x58c)]['t'](_0x881d81(0x38b)),'content':this[_0x881d81(0x58c)]['t']('permission.content'),'type':'error','duration':0x0}):this[_0x881d81(0x20a)][_0x881d81(0x31c)]({'title':this['_localeService']['t'](_0x881d81(0x4ca)),'content':this['_localeService']['t']('conflict.content'),'type':'error','duration':0x0});}[_0x59f468(0x544)](){const _0x5bc19b=_0x59f468;this[_0x5bc19b(0x335)][_0x5bc19b(0x3ca)](new _0x4ef6a0(this['unitID'])['id'],!0x1);}};Re=Le([A(0x6,_0x222038(_0x593390)),A(0x7,_0x1e017f),A(0x8,_0x2d2527),A(0x9,_0x222038(z)),A(0xa,_0x222038(_0x21f454)),A(0xb,_0x222038(_0x52880d)),A(0xc,_0x5126dc)],Re);let Oe=class extends $e{constructor(_0x36a104,_0x2baf6c,_0x5c87e8,_0x205cdd,_0x2f57b3,_0x5147b7,_0x46e288,_0x26b9ae,_0x3f8aea,_0x362d00){const _0x1b0ddd=_0x59f468;super(_0x36a104,_0x2baf6c,_0x5c87e8,_0x205cdd,_0x2f57b3,_0x3f8aea,_0x362d00,_0x46e288,_0x26b9ae),g(this,'status',_0x1b0ddd(0x553)),this['_injector']=_0x5147b7;}[_0x59f468(0x275)](_0x5a45ee){const _0x3299c0=_0x59f468;return this['_pendingMutations']['push'](_0x5a45ee),this[_0x3299c0(0x4e4)](),this;}[_0x59f468(0x41d)](_0x57b790){const _0x306b2b=_0x59f468;throw new Error(_0x306b2b(0x42c));}['onRemoteAck'](){const _0x1ed206=_0x59f468;throw new Error(_0x1ed206(0x1de));}[_0x59f468(0x236)](){const _0x228e5b=_0x59f468;throw new Error(_0x228e5b(0x46d));}[_0x59f468(0x531)](){return this;}['toggleOffline'](){return this;}[_0x59f468(0x2df)](){const _0x9d56a7=_0x59f468,{_injector:_0x2d81fd,_pendingMutations:_0x2774a4,_awaitingChangeset:_0x4e11fb,unitID:_0x3e6c03,_handler:_0x131c13,type:_0x52d558}=this,_0xa40358=Xi(_0x2d81fd,_0x3e6c03,_0x52d558,_0x4e11fb,_0x2774a4,_0x131c13);return _0xa40358 instanceof pe?_0xa40358[_0x9d56a7(0x3c3)]():(_0xa40358 instanceof me||_0xa40358 instanceof Te)&&_0xa40358[_0x9d56a7(0x4ae)](),_0xa40358;}[_0x59f468(0x4ae)](){const _0x540bf9=_0x59f468;throw new Error(_0x540bf9(0x483));}};Oe=Le([A(0x5,_0x222038(_0x2e1c56)),A(0x6,_0x222038(_0x21f454)),A(0x7,_0x222038(z)),A(0x8,_0x1e017f),A(0x9,_0x2d2527)],Oe);let ce=class extends $e{constructor(_0xb56214,_0x575b6d,_0x253bf9,_0xa5c335,_0x149af5,_0x184a9c,_0x14a42d,_0x4e1f5e,_0x20744a,_0x1ae6b7,_0x17cd6a,_0x391b98,_0x203556,_0x38e3a0){const _0x324984=_0x59f468;super(_0xb56214,_0x575b6d,_0x253bf9,_0xa5c335,_0x14a42d,_0x391b98,_0x203556,_0x20744a,_0x1ae6b7),g(this,'status',_0x324984(0x489)),(this[_0x324984(0x2e8)]=_0x149af5,this['_queuedRemoteChangesets']=_0x184a9c,this['_injector']=_0x4e1f5e,this[_0x324984(0x3b6)]=_0x17cd6a,this['_transformService']=_0x38e3a0);}[_0x59f468(0x5ae)](_0x44f5aa){const _0x93317d=_0x59f468;try{const _0x13ae75=[..._0x44f5aa,...this[_0x93317d(0x258)]],_0x36f01e=[this[_0x93317d(0x3f2)]||this[_0x93317d(0x2e8)]][_0x93317d(0x532)](_0x5bc3e0=>!!_0x5bc3e0);let _0x277e7b,_0x45484f;if(_0x36f01e[_0x93317d(0x21a)]){const _0x501649=this['_transformService']['transformChangesets'](_0x13ae75,_0x36f01e,!0x1);if(!_0x5cd3ce(_0x501649))throw _0x501649[_0x93317d(0x1ec)];_0x277e7b=_0x501649['c1Prime'],_0x45484f=_0x501649[_0x93317d(0x33a)];}else _0x277e7b=_0x13ae75,_0x45484f=[];let _0x47acde=this['_pendingMutations'];_0x277e7b['forEach'](_0x10acbb=>{const _0x32b015=_0x93317d;let _0x62345c;if(_0x47acde[_0x32b015(0x21a)]){const _0xf912f0=this[_0x32b015(0x24f)]['transformMutationsWithChangeset'](_0x10acbb,_0x47acde);if(!_0x4d7745(_0xf912f0))throw _0xf912f0[_0x32b015(0x1ec)];_0x62345c=_0xf912f0[_0x32b015(0x3da)],_0x47acde=_0xf912f0['m2Prime'];}else _0x62345c=_0x10acbb;this[_0x32b015(0x4ac)](_0x62345c);}),this[_0x93317d(0x2e8)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x45484f[_0x93317d(0x21a)]&&(_0x45484f[0x0]['baseRev']=this[_0x93317d(0x381)]());let _0x121de2;if(this[_0x93317d(0x3f2)]&&_0x47acde['length']!==0x0)_0x121de2=this[_0x93317d(0x351)]['createInstance'](me,this[_0x93317d(0x405)],this[_0x93317d(0x2b2)],_0x45484f[0x0],_0x47acde,this[_0x93317d(0x569)],void 0x0);else{if(this[_0x93317d(0x3f2)]&&_0x47acde[_0x93317d(0x21a)]===0x0)_0x45484f[0x0][_0x93317d(0x321)]=this[_0x93317d(0x381)](),_0x121de2=this[_0x93317d(0x351)][_0x93317d(0x2d8)](Te,this['unitID'],this[_0x93317d(0x2b2)],_0x45484f[0x0],this[_0x93317d(0x569)]);else{if(_0x47acde[_0x93317d(0x21a)]!==0x0){const _0x45701f=this[_0x93317d(0x351)][_0x93317d(0x2d8)](pe,this[_0x93317d(0x405)],this[_0x93317d(0x2b2)],_0x47acde,this['_handler']);_0x45701f[_0x93317d(0x3c3)](),_0x121de2=_0x45701f;}else _0x121de2=this[_0x93317d(0x351)]['createInstance'](We,this['unitID'],this['type'],this[_0x93317d(0x569)]);}}return _0x121de2[_0x93317d(0x4e4)](),_0x121de2;}catch(_0x289076){return this[_0x93317d(0x3b6)][_0x93317d(0x1ec)](_0x93317d(0x3f0),_0x93317d(0x20e),_0x289076),this['_injector']['createInstance'](Re,this[_0x93317d(0x405)],this['type'],this[_0x93317d(0x3f2)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x59f468(0x4ae)](){const _0x6098d6=_0x59f468;throw new Error(_0x6098d6(0x460));}[_0x59f468(0x275)](_0x41ac9f){const _0x581727=_0x59f468;return this[_0x581727(0x4f3)][_0x581727(0x4cf)](_0x41ac9f),this;}[_0x59f468(0x41d)](_0x243905){const _0x4441ea=_0x59f468;return this[_0x4441ea(0x258)]['push'](_0x243905),this;}[_0x59f468(0x488)](_0x15549c){const _0x226bb6=_0x59f468;if(this['_awaitingChangeset'])return this[_0x226bb6(0x2e8)]=this[_0x226bb6(0x3f2)],this[_0x226bb6(0x3f2)]=null,this;throw new Error(_0x226bb6(0x348));}[_0x59f468(0x236)](_0x20c768){const _0x37bd02=_0x59f468;return this[_0x37bd02(0x52d)](!!(_0x20c768!=null&&_0x20c768['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x59f468(0x257)](){const _0x4a8ef2=_0x59f468;return this[_0x4a8ef2(0x351)]['createInstance'](Oe,this[_0x4a8ef2(0x405)],this[_0x4a8ef2(0x2b2)],this[_0x4a8ef2(0x3f2)],this[_0x4a8ef2(0x4f3)],this['_handler']);}['toggleOnline'](){return this;}[_0x59f468(0x52d)](_0x134146){const _0x4c1e26=_0x59f468;return this[_0x4c1e26(0x351)][_0x4c1e26(0x2d8)](Re,this[_0x4c1e26(0x405)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],_0x134146);}};ce=Le([A(0x7,_0x222038(_0x2e1c56)),A(0x8,_0x222038(_0x21f454)),A(0x9,_0x222038(z)),A(0xa,_0x37805d),A(0xb,_0x1e017f),A(0xc,_0x2d2527),A(0xd,_0x4cb437)],ce);function Xi(_0x167572,_0x5dfc34,_0x24e3bb,_0x5132d2,_0x3c93eb,_0x2eda95){const _0x448087=_0x59f468;return _0x5132d2&&_0x3c93eb[_0x448087(0x21a)]?_0x167572[_0x448087(0x2d8)](me,_0x5dfc34,_0x24e3bb,_0x5132d2,_0x3c93eb,_0x2eda95,void 0x0):_0x5132d2?_0x167572[_0x448087(0x2d8)](Te,_0x5dfc34,_0x24e3bb,_0x5132d2,_0x2eda95):_0x3c93eb[_0x448087(0x21a)]?_0x167572[_0x448087(0x2d8)](pe,_0x5dfc34,_0x24e3bb,_0x3c93eb,_0x2eda95):_0x167572['createInstance'](We,_0x5dfc34,_0x24e3bb,_0x2eda95);}var Ao=Object[_0x59f468(0x29a)],Mo=Object[_0x59f468(0x368)],Ps=(_0x5b8e84,_0xf868c3,_0x1a0132,_0x5cb726)=>{const _0x17dedb=_0x59f468;for(var _0x4c4231=_0x5cb726>0x1?void 0x0:_0x5cb726?Mo(_0xf868c3,_0x1a0132):_0xf868c3,_0x1ebb67=_0x5b8e84[_0x17dedb(0x21a)]-0x1,_0x1d6266;_0x1ebb67>=0x0;_0x1ebb67--)(_0x1d6266=_0x5b8e84[_0x1ebb67])&&(_0x4c4231=(_0x5cb726?_0x1d6266(_0xf868c3,_0x1a0132,_0x4c4231):_0x1d6266(_0x4c4231))||_0x4c4231);return _0x5cb726&&_0x4c4231&&Ao(_0xf868c3,_0x1a0132,_0x4c4231),_0x4c4231;},H=(_0x444a21,_0x1222ad)=>(_0x5e8e83,_0x7bec1b)=>_0x1222ad(_0x5e8e83,_0x7bec1b,_0x444a21);let Pt=class extends _0x2c59cd{constructor(_0x822706,_0x6b53af,_0x18201a,_0x59f732,_0x5996b4,_0x3a3358,_0x58342e,_0x319dd6,_0x3ada91,_0x213e14,_0x299145,_0x251fe1,_0x25d762){const _0x3a6961=_0x59f468;super(),g(this,_0x3a6961(0x52a),new _0x1f1fc6(null)),g(this,'state$',this[_0x3a6961(0x52a)][_0x3a6961(0x472)]()),g(this,_0x3a6961(0x331)),g(this,_0x3a6961(0x2be),!0x1),g(this,_0x3a6961(0x421),''),g(this,_0x3a6961(0x59e),0x0),g(this,'status$',this[_0x3a6961(0x56f)][_0x3a6961(0x318)](_0x36b286(_0x2bdb43=>_0x2bdb43?_0x2bdb43['status']:J['OFFLINE']),_0x2ff007(0x1))),g(this,'_transitionLocked',!0x1),g(this,_0x3a6961(0x4b6),[]),(this[_0x3a6961(0x405)]=_0x822706,this['session']=_0x6b53af,this[_0x3a6961(0x56c)]=_0x18201a,this[_0x3a6961(0x351)]=_0x59f732,this[_0x3a6961(0x1ca)]=_0x5996b4,this['_compressMutationService']=_0x3a3358,this[_0x3a6961(0x58c)]=_0x58342e,this[_0x3a6961(0x2b9)]=_0x319dd6,this['_logService']=_0x3ada91,this[_0x3a6961(0x54d)]=_0x213e14,this[_0x3a6961(0x3bb)]=_0x299145,this[_0x3a6961(0x335)]=_0x251fe1,this['_singleActiveUnitService']=_0x25d762);}get[_0x59f468(0x24b)](){const _0x49152a=_0x59f468;return this[_0x49152a(0x331)];}async['init'](){const _0xb1ae6a=_0x59f468;if(this[_0xb1ae6a(0x24b)])throw new Error(_0xb1ae6a(0x436));await this[_0xb1ae6a(0x59d)]();}['pauseCollaboration'](){const _0x40d414=_0x59f468;return this[_0x40d414(0x2be)]=!0x0,_0x510055(()=>{const _0x13cdb4=_0x40d414;this[_0x13cdb4(0x2be)]=!0x1,this[_0x13cdb4(0x491)]();});}[_0x59f468(0x1f1)](_0x348fc1){const _0xa17adb=_0x59f468;this[_0xa17adb(0x331)]=_0x348fc1,this[_0xa17adb(0x52a)][_0xa17adb(0x307)](_0x348fc1);}async['_init'](){const _0x557566=_0x59f468;var _0x5d8e73;this[_0x557566(0x1f1)](await this['_createInitialState']()),this[_0x557566(0x513)]&&((_0x5d8e73=this[_0x557566(0x513)])==null||_0x5d8e73[_0x557566(0x3a8)](this['unitID']),this[_0x557566(0x4e2)](this['_singleActiveUnitService'][_0x557566(0x42f)](this[_0x557566(0x405)])[_0x557566(0x347)](_0x9e7e7=>{const _0x28b19d=_0x557566;this['_logService']['debug'](_0x28b19d(0x39f),_0x28b19d(0x2a6),_0x9e7e7),_0x9e7e7===Yi[_0x28b19d(0x5a5)]?(this[_0x28b19d(0x3bb)][_0x28b19d(0x31c)]({'content':this[_0x28b19d(0x58c)]['t'](_0x28b19d(0x570)),'type':_0x47f0e7[_0x28b19d(0x19a)]}),this['_permissionService'][_0x28b19d(0x3ca)](new _0x4ef6a0(this[_0x28b19d(0x405)])['id'],!0x1),this[_0x28b19d(0x335)][_0x28b19d(0x1dc)](!0x1)):(this[_0x28b19d(0x335)][_0x28b19d(0x3ca)](new _0x4ef6a0(this[_0x28b19d(0x405)])['id'],!0x0),this[_0x28b19d(0x335)][_0x28b19d(0x1dc)](!0x0));})));let _0x292cc3=!0x1;return this[_0x557566(0x4e2)](this[_0x557566(0x2b6)][_0x557566(0x27b)][_0x557566(0x347)](_0x6d26f0=>{const _0x14a996=_0x557566;_0x6d26f0===fe['ONLINE']?this['_toggleOnline'](_0x292cc3):_0x6d26f0===fe[_0x14a996(0x37c)]&&(_0x292cc3=!0x0,this[_0x14a996(0x55e)]());})),this[_0x557566(0x4e2)](this[_0x557566(0x2b6)][_0x557566(0x529)][_0x557566(0x347)](_0x7834c1=>{const _0x385411=_0x557566;try{switch(_0x7834c1[_0x385411(0x1b1)]){case _0x8a32d4[_0x385411(0x1f9)]:{this[_0x385411(0x213)](_0x33ed1d(_0x7834c1[_0x385411(0x233)]));break;}case _0x8a32d4[_0x385411(0x3ea)]:{this[_0x385411(0x21c)](_0x7834c1[_0x385411(0x233)]);break;}case _0x8a32d4['CHANGESET_REJ']:{this[_0x385411(0x3a7)]();break;}case _0x8a32d4[_0x385411(0x445)]:{this[_0x385411(0x5b5)](_0x7834c1[_0x385411(0x233)]);break;}case _0x8a32d4[_0x385411(0x48d)]:{this['_onFetchMissResult'](_0x7834c1[_0x385411(0x233)]['changesets'][_0x385411(0x36d)](_0x5c9319=>_0x33ed1d(_0x5c9319)));break;}case _0x8a32d4[_0x385411(0x398)]:this[_0x385411(0x3a7)]({'isPermissionRej':!0x0});}}catch(_0x4bc432){throw console[_0x385411(0x1ec)](_0x385411(0x475),_0x4bc432),_0x4bc432;}})),this[_0x557566(0x331)];}[_0x59f468(0x369)](){this['_transitionLocked']=!0x1;}[_0x59f468(0x422)](){const _0x1532b9=_0x59f468;if(this[_0x1532b9(0x2ee)])throw new Error('[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.');this[_0x1532b9(0x2ee)]=!0x0;}['_onLocalMutation'](_0x3902e6){const _0x3eebbf=_0x59f468;this[_0x3eebbf(0x422)](),this[_0x3eebbf(0x1f1)](this[_0x3eebbf(0x331)]['appendMutation'](_0x3902e6)),this[_0x3eebbf(0x369)]();}[_0x59f468(0x213)](_0x428e32){const _0x51eb27=_0x59f468;if(!(_0x428e32[_0x51eb27(0x393)]<=this['_revisionService'][_0x51eb27(0x355)](this[_0x51eb27(0x405)]))){if(this[_0x51eb27(0x2be)]){this[_0x51eb27(0x4b6)]['push'](_0x428e32);return;}this[_0x51eb27(0x415)](_0x428e32);}}[_0x59f468(0x491)](){const _0x3ae950=_0x59f468;this[_0x3ae950(0x4b6)][_0x3ae950(0x3b0)](_0x44050d=>this[_0x3ae950(0x415)](_0x44050d)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x52f69d){const _0x504f3b=_0x59f468,_0x48b3b1=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x504f3b(0x332)]['interceptor'][_0x504f3b(0x219)]()[_0x504f3b(0x497)])(_0x52f69d[_0x504f3b(0x1a2)],null)||_0x52f69d['mutations'],_0x1fb507={..._0x52f69d,'mutations':_0x48b3b1};this[_0x504f3b(0x422)](),this['_updateState'](this[_0x504f3b(0x331)][_0x504f3b(0x41d)](_0x1fb507)),this[_0x504f3b(0x369)]();}[_0x59f468(0x21c)](_0x4ae605){const _0x3482b4=_0x59f468;this['_lockTransition'](),this[_0x3482b4(0x1f1)](this[_0x3482b4(0x331)][_0x3482b4(0x488)](_0x4ae605)),this['_unlockTransition']();}[_0x59f468(0x3a7)](_0x288d57){const _0x4c3ea1=_0x59f468;this['_lockTransition'](),this[_0x4c3ea1(0x1f1)](this[_0x4c3ea1(0x331)][_0x4c3ea1(0x236)](_0x288d57)),this[_0x4c3ea1(0x369)]();}['_onRemoteRetry'](_0x1f403a){const _0x41144e=_0x59f468;this[_0x41144e(0x422)](),this[_0x41144e(0x1f1)](this[_0x41144e(0x331)][_0x41144e(0x531)](_0x1f403a)),this[_0x41144e(0x369)]();}[_0x59f468(0x1ff)](_0x4feaa2){const _0x35ad46=_0x59f468;if(!(this[_0x35ad46(0x331)]instanceof ce))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x57d456=_0x4feaa2[_0x35ad46(0x36d)](_0x5afcfb=>{const _0x4114d1=_0x35ad46,_0x1db40f=this['_compressMutationService'][_0x4114d1(0x541)]['fetchThroughInterceptors'](this[_0x4114d1(0x332)][_0x4114d1(0x541)][_0x4114d1(0x219)]()[_0x4114d1(0x497)])(_0x5afcfb[_0x4114d1(0x1a2)],null)||_0x5afcfb['mutations'];return{..._0x5afcfb,'mutations':_0x1db40f};});this[_0x35ad46(0x422)](),this[_0x35ad46(0x1f1)](this['_state']['onMissedChangesetFetched'](_0x57d456)),this[_0x35ad46(0x369)]();}[_0x59f468(0x55e)](){const _0x1d49a5=_0x59f468;this[_0x1d49a5(0x422)](),this[_0x1d49a5(0x1f1)](this[_0x1d49a5(0x331)]['toggleOffline']()),this[_0x1d49a5(0x369)]();}[_0x59f468(0x323)](_0x42fe3b=!0x1){const _0xa8baf3=_0x59f468;this[_0xa8baf3(0x422)](),this[_0xa8baf3(0x1f1)](this['_state'][_0xa8baf3(0x2df)]()),this['_unlockTransition']();const _0x2c1bdf=this[_0xa8baf3(0x331)];_0x42fe3b&&_0x2c1bdf instanceof We&&(this['_lockTransition'](),this[_0xa8baf3(0x1f1)](_0x2c1bdf[_0xa8baf3(0x387)]()),this['_unlockTransition']());}async[_0x59f468(0x4fd)](){return new Promise(_0x34171b=>{const _0x7be041=_0x2eda;this[_0x7be041(0x2b6)][_0x7be041(0x27b)][_0x7be041(0x318)](_0x3fe09f(0x1))['subscribe'](async _0x1982cc=>{const _0x203a96=_0x7be041;_0x34171b(await this[_0x203a96(0x36b)](_0x1982cc===fe[_0x203a96(0x3b5)]));});});}[_0x59f468(0x3de)](){const _0x3ed153=_0x59f468,_0x4dd9e0=this[_0x3ed153(0x405)];return{'onStateChange':(_0x202d8d,_0x1ef2a5)=>{const _0x4c47b6=_0x3ed153;if(_0x202d8d!==this[_0x4c47b6(0x331)])throw new Error(_0x4c47b6(0x3ac)+_0x202d8d['status']+_0x4c47b6(0x424)+_0x1ef2a5['status']+'\x0aCurrent:\x20'+this['_state'][_0x4c47b6(0x1e8)]);this[_0x4c47b6(0x1f1)](_0x1ef2a5);},'onSendChangeset':_0x1fc7a7=>{const _0x575420=_0x3ed153;_0x1fc7a7['sid']||(_0x1fc7a7[_0x575420(0x575)]=this['_changesetSessionId'],_0x1fc7a7[_0x575420(0x417)]=++this[_0x575420(0x59e)]);const _0x13decf={'eventID':_0x8a32d4[_0x575420(0x5a8)],'data':{'unitID':_0x1fc7a7[_0x575420(0x405)],'unitType':this[_0x575420(0x56c)],'changeset':_0x1fc7a7,'memberID':this[_0x575420(0x2b6)][_0x575420(0x34f)]()}};this[_0x575420(0x2b6)][_0x575420(0x286)](_0x13decf,this[_0x575420(0x405)]);},'onMissingChangesets':({from:_0x570c53,to:_0x1f514b})=>{const _0x136d3f=_0x3ed153;this[_0x136d3f(0x3b6)][_0x136d3f(0x48b)](_0x136d3f(0x39f),'fetching\x20missing\x20changesets\x20from\x20'+_0x570c53+_0x136d3f(0x5b7)+_0x1f514b);const _0xc8b04={'eventID':_0x8a32d4[_0x136d3f(0x443)],'data':{'unitID':_0x4dd9e0,'unitType':this['_type'],'from':_0x570c53,'to':_0x1f514b}};this[_0x136d3f(0x2b6)][_0x136d3f(0x286)](_0xc8b04,this[_0x136d3f(0x405)]);}};}async[_0x59f468(0x36b)](_0x39028f){const _0x23de42=_0x59f468;var _0x64a7bd,_0x57aabf;const _0x11aa2e=await this['_localCacheService'][_0x23de42(0x4e6)](this[_0x23de42(0x405)]),_0xc25b62=(_0x64a7bd=_0x11aa2e==null?void 0x0:_0x11aa2e['mutations'])!=null?_0x64a7bd:[],_0x2e643e=(_0x57aabf=_0x11aa2e==null?void 0x0:_0x11aa2e['awaitingChangeset'])!=null?_0x57aabf:null,_0x43884e=!!(_0x2e643e!=null&&_0x2e643e[_0x23de42(0x575)])&&!!(_0x2e643e!=null&&_0x2e643e[_0x23de42(0x417)]);this[_0x23de42(0x421)]=_0x43884e?_0x2e643e[_0x23de42(0x575)]:co(),this[_0x23de42(0x59e)]=_0x43884e?_0x2e643e[_0x23de42(0x417)]:0x0;const _0x516763=this[_0x23de42(0x405)];try{this[_0x23de42(0x49e)](_0x2e643e,_0xc25b62);}catch(_0x176924){this[_0x23de42(0x3b6)][_0x23de42(0x1ec)](_0x176924);}const _0x333221=this[_0x23de42(0x3de)]();if(_0x39028f){const _0x148698=Xi(this[_0x23de42(0x351)],_0x516763,this[_0x23de42(0x56c)],_0x2e643e,_0xc25b62,_0x333221);return _0x148698 instanceof pe?_0x148698['_schedule']():(_0x148698 instanceof me||_0x148698 instanceof Te)&&_0x148698[_0x23de42(0x4ae)](),_0x148698;}return this[_0x23de42(0x351)][_0x23de42(0x2d8)](Oe,_0x516763,this[_0x23de42(0x56c)],_0x2e643e,_0xc25b62,_0x333221);}[_0x59f468(0x49e)](_0xd6a725,_0x247773){const _0x12bef0=_0x59f468;var _0x17f6fc,_0x232580;const _0xdb8e05=this[_0x12bef0(0x332)][_0x12bef0(0x541)][_0x12bef0(0x4ef)](this[_0x12bef0(0x332)][_0x12bef0(0x541)]['getInterceptPoints']()[_0x12bef0(0x497)]);(_0x17f6fc=_0xdb8e05((_0xd6a725==null?void 0x0:_0xd6a725[_0x12bef0(0x1a2)])||[],null))==null||_0x17f6fc[_0x12bef0(0x3b0)](_0x27bafa=>this[_0x12bef0(0x54d)][_0x12bef0(0x2c1)](_0x27bafa['id'],_0x27bafa['params'])),(_0x232580=_0xdb8e05(_0x247773||[],null))==null||_0x232580[_0x12bef0(0x3b0)](_0x2ba5b3=>this[_0x12bef0(0x54d)][_0x12bef0(0x2c1)](_0x2ba5b3['id'],_0x2ba5b3[_0x12bef0(0x4c3)]));}};Pt=Ps([H(0x3,_0x222038(_0x2e1c56)),H(0x4,_0x222038(z)),H(0x5,_0x222038(_0x117e38)),H(0x6,_0x222038(_0x52880d)),H(0x7,_0x222038(_0x21f454)),H(0x8,_0x37805d),H(0x9,_0x1e017f),H(0xa,_0x3bbf26),H(0xb,_0x593390),H(0xc,_0x3a5345(Ht))],Pt);let hs=class extends Pt{constructor(_0x2e6248,_0x1a9cf3,_0x1af99a,_0x1a1886,_0x419a23,_0x950513,_0x555ebd,_0x22d858,_0x18843a,_0x3a6881,_0x229cbb,_0x4f5c8c,_0x1ee1d0,_0x4f9aad,_0x462fcc,_0x3f7a70,_0x4f19c0,_0x1fd579){const _0x50b001=_0x59f468;super(_0x2e6248,_0x1af99a,_0x1a9cf3,_0x1a1886,_0x419a23,_0x950513,_0x555ebd,_0x22d858,_0x4f9aad,_0x462fcc,_0x3f7a70,_0x4f19c0,_0x1fd579),this[_0x50b001(0x405)]=_0x2e6248,this['type']=_0x1a9cf3,this[_0x50b001(0x5b4)]=_0x18843a,this[_0x50b001(0x1c4)]=_0x3a6881,this[_0x50b001(0x396)]=_0x229cbb,this['_docTransformSelectionsService']=_0x4f5c8c,this['_docSyncEditingCollabCursorService']=_0x1ee1d0;}['_createHandler'](){const _0x318399=_0x59f468,_0x7e4ee6=super[_0x318399(0x3de)]();return _0x7e4ee6[_0x318399(0x530)]=_0x133403=>this[_0x318399(0x1c4)][_0x318399(0x35f)](_0x133403),_0x7e4ee6[_0x318399(0x56a)]=_0x1eb73e=>this[_0x318399(0x396)]['transformStateCache'](_0x1eb73e),_0x7e4ee6['onTransformSelections']=_0x397851=>this['_docTransformSelectionsService'][_0x318399(0x391)](_0x397851),_0x7e4ee6[_0x318399(0x1aa)]=_0x582e05=>this['_docSyncEditingCollabCursorService'][_0x318399(0x533)](_0x582e05),_0x7e4ee6[_0x318399(0x2a0)]=_0x5d0590=>this['_docTransformIMECacheService'][_0x318399(0x425)](_0x5d0590),_0x7e4ee6[_0x318399(0x232)]=_0x4c8537=>this[_0x318399(0x396)][_0x318399(0x425)](_0x4c8537),_0x7e4ee6;}async['_init'](){const _0x232b4a=_0x59f468,_0x3b57a1=await super[_0x232b4a(0x59d)]();return this['disposeWithMe'](this[_0x232b4a(0x5b4)]['docStateChange$'][_0x232b4a(0x318)](_0x2eaf5f(this[_0x232b4a(0x2c5)]))['subscribe'](_0x10fd9b=>{const _0x55dcc6=_0x232b4a;if(_0x10fd9b==null)return;const {unitId:_0x340dc2,redoState:_0x417162,commandId:_0x762558}=_0x10fd9b;if(_0x340dc2!==this[_0x55dcc6(0x405)])return;const _0x3592a2={'id':_0x762558,'type':_0x2a05e3[_0x55dcc6(0x4c0)],'params':{'unitId':_0x340dc2,'actions':_0x417162[_0x55dcc6(0x584)],'textRanges':null}};this[_0x55dcc6(0x33f)](_0x3592a2);})),this[_0x232b4a(0x4e2)](this[_0x232b4a(0x54d)][_0x232b4a(0x3b7)]((_0x58bfd8,_0x37e82a)=>{const _0x23a45a=_0x232b4a;if(_0x58bfd8['type']!==_0x2a05e3[_0x23a45a(0x4c0)]||_0x37e82a!=null&&_0x37e82a['fromCollab']||_0x37e82a!=null&&_0x37e82a[_0x23a45a(0x2c9)]||_0x58bfd8['id']===_0x2bf5bd['id'])return;const _0x3f610b=_0x58bfd8['params'];if((_0x3f610b==null?void 0x0:_0x3f610b[_0x23a45a(0x51a)])!==this[_0x23a45a(0x405)])return;const _0x4a86b6=_0x58bfd8,_0x2e44de=this[_0x23a45a(0x332)][_0x23a45a(0x541)][_0x23a45a(0x4ef)](this[_0x23a45a(0x332)][_0x23a45a(0x541)][_0x23a45a(0x219)]()[_0x23a45a(0x49f)])([_0x4a86b6],null)||[_0x4a86b6];this[_0x23a45a(0x33f)](_0x2e44de[0x0]);})),_0x3b57a1;}};hs=Ps([H(0x3,_0x222038(_0x2e1c56)),H(0x4,_0x222038(z)),H(0x5,_0x222038(_0x117e38)),H(0x6,_0x222038(_0x52880d)),H(0x7,_0x222038(_0x21f454)),H(0x8,_0x222038(_0x2a72d5)),H(0x9,_0x222038(Ot)),H(0xa,_0x222038(wt)),H(0xb,_0x222038(Dt)),H(0xc,_0x222038(Ds)),H(0xd,_0x37805d),H(0xe,_0x1e017f),H(0xf,_0x3bbf26),H(0x10,_0x593390),H(0x11,_0x3a5345(Ht))],hs);let ls=class extends Pt{constructor(_0x538b8e,_0x294ee7,_0x5687dd,_0x1403f5,_0x1f87e9,_0x158516,_0x5dcca3,_0xf22c7e,_0x9d5b30,_0x1e4930,_0x1b7a05,_0x37d2dd,_0x125525,_0x5f0b19){const _0x486bed=_0x59f468;super(_0x538b8e,_0x5687dd,_0x294ee7,_0x1403f5,_0x1f87e9,_0x158516,_0x5dcca3,_0xf22c7e,_0x1e4930,_0x1b7a05,_0x37d2dd,_0x125525,_0x5f0b19),this['unitID']=_0x538b8e,this[_0x486bed(0x2b2)]=_0x294ee7,this[_0x486bed(0x334)]=_0x9d5b30;}['_createHandler'](){const _0x42da3c=_0x59f468,_0x5e4baa=super['_createHandler']();return _0x5e4baa[_0x42da3c(0x503)]=_0xf253aa=>this['_sheetTransformSelectionsService'][_0x42da3c(0x391)](_0xf253aa),_0x5e4baa;}async[_0x59f468(0x59d)](){const _0x2b1fe7=_0x59f468,_0x3a5f86=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x2b1fe7(0x3b7)]((_0x35d037,_0x3a262d)=>{const _0x2d306f=_0x2b1fe7;if(_0x35d037[_0x2d306f(0x2b2)]!==_0x2a05e3['MUTATION']||_0x3a262d!=null&&_0x3a262d['fromCollab']||_0x3a262d!=null&&_0x3a262d[_0x2d306f(0x2c9)])return;const _0x514fc8=_0x35d037[_0x2d306f(0x4c3)];if((_0x514fc8==null?void 0x0:_0x514fc8[_0x2d306f(0x51a)])!==this[_0x2d306f(0x405)])return;const _0x4c6ded=_0x35d037,_0x2f9822=this['_compressMutationService'][_0x2d306f(0x541)][_0x2d306f(0x4ef)](this[_0x2d306f(0x332)][_0x2d306f(0x541)][_0x2d306f(0x219)]()['COMPRESS_MUTATION_SEND'])([_0x4c6ded],null)||[_0x4c6ded];this['_onLocalMutation'](_0x2f9822[0x0]);})),_0x3a5f86;}};ls=Ps([H(0x3,_0x222038(_0x2e1c56)),H(0x4,_0x222038(z)),H(0x5,_0x222038(_0x117e38)),H(0x6,_0x222038(_0x52880d)),H(0x7,_0x222038(_0x21f454)),H(0x8,_0x222038(yt)),H(0x9,_0x37805d),H(0xa,_0x1e017f),H(0xb,_0x3bbf26),H(0xc,_0x593390),H(0xd,_0x3a5345(Ht))],ls);var xo=Object[_0x59f468(0x29a)],Lo=Object['getOwnPropertyDescriptor'],$o=(_0x267b4b,_0x2bb357,_0x487e4e,_0x24574c)=>{const _0x999944=_0x59f468;for(var _0x481ff7=_0x24574c>0x1?void 0x0:_0x24574c?Lo(_0x2bb357,_0x487e4e):_0x2bb357,_0x430f2a=_0x267b4b[_0x999944(0x21a)]-0x1,_0xcf23bb;_0x430f2a>=0x0;_0x430f2a--)(_0xcf23bb=_0x267b4b[_0x430f2a])&&(_0x481ff7=(_0x24574c?_0xcf23bb(_0x2bb357,_0x487e4e,_0x481ff7):_0xcf23bb(_0x481ff7))||_0x481ff7);return _0x24574c&&_0x481ff7&&xo(_0x2bb357,_0x487e4e,_0x481ff7),_0x481ff7;},qt=(_0x498d09,_0x44176c)=>(_0x1598f2,_0x47e8b1)=>_0x44176c(_0x1598f2,_0x47e8b1,_0x498d09);let it=class extends _0x2c59cd{constructor(_0x1ff0e1,_0xb1401f,_0x5d33ab){const _0x397882=_0x59f468;super(),g(this,'_entities',new Map()),g(this,_0x397882(0x326),new _0xd6475b()),(this[_0x397882(0x351)]=_0x1ff0e1,this[_0x397882(0x3ff)]=_0xb1401f,this['_univerInstanceService']=_0x5d33ab,this['_init']());}['dispose'](){const _0x26fded=_0x59f468;super[_0x26fded(0x1ba)](),this[_0x26fded(0x47a)][_0x26fded(0x3b0)](_0x338641=>_0x338641[_0x26fded(0x1ba)]()),this[_0x26fded(0x47a)][_0x26fded(0x58a)]();}['getCollabEntity'](_0x392718){const _0x4c78b3=_0x59f468;var _0x10cde9;return(_0x10cde9=this[_0x4c78b3(0x47a)][_0x4c78b3(0x25d)](_0x392718))!=null?_0x10cde9:null;}['getCollabEntity$'](_0x7b60e){const _0x215599=_0x59f468,_0x30ebb5=this['getCollabEntity'](_0x7b60e);return _0x30ebb5?_0x38a752(_0x30ebb5):this['_entityInit$'][_0x215599(0x318)](_0x3c73ca(_0x10e691=>_0x10e691[_0x215599(0x405)]===_0x7b60e));}[_0x59f468(0x59d)](){const _0x1d9295=_0x59f468;this[_0x1d9295(0x525)][_0x1d9295(0x242)](_0x52550e[_0x1d9295(0x2b0)])['pipe'](_0x2eaf5f(this[_0x1d9295(0x2c5)]),_0x1d896a(0x10))[_0x1d9295(0x347)](async _0x36c293=>{const _0x13f62e=_0x1d9295,_0x1d12df=_0x36c293[_0x13f62e(0x25c)](),_0x2d5eb2=await this[_0x13f62e(0x505)](_0x1d12df,ae[_0x13f62e(0x2b0)]);this[_0x13f62e(0x47a)][_0x13f62e(0x279)](_0x1d12df,_0x2d5eb2);}),this[_0x1d9295(0x525)]['getTypeOfUnitAdded$'](_0x52550e[_0x1d9295(0x4f9)])[_0x1d9295(0x318)](_0x2eaf5f(this['dispose$']),_0x1d896a(0x10))['pipe'](_0x3c73ca(_0x1412c1=>!_0x1412c1['getUnitId']()[_0x1d9295(0x2dd)]('__')))['subscribe'](async _0x12f2f9=>{const _0x20db32=_0x1d9295,_0x31ce3d=_0x12f2f9[_0x20db32(0x25c)](),_0x32cc39=await this[_0x20db32(0x505)](_0x31ce3d,ae[_0x20db32(0x4f9)]);this[_0x20db32(0x47a)]['set'](_0x31ce3d,_0x32cc39);}),_0x5becde(this[_0x1d9295(0x525)][_0x1d9295(0x31a)](_0x52550e[_0x1d9295(0x2b0)]),this[_0x1d9295(0x525)][_0x1d9295(0x31a)](_0x52550e[_0x1d9295(0x4f9)]))[_0x1d9295(0x318)](_0x2eaf5f(this['dispose$']))['subscribe'](_0x35f938=>{const _0x2fd596=_0x1d9295,_0x1647ff=_0x35f938[_0x2fd596(0x25c)](),_0x6df25e=this[_0x2fd596(0x47a)][_0x2fd596(0x25d)](_0x1647ff);_0x6df25e&&(_0x6df25e[_0x2fd596(0x1ba)](),this[_0x2fd596(0x47a)][_0x2fd596(0x29e)](_0x1647ff));});}async[_0x59f468(0x505)](_0x174462,_0x23c44b){const _0x238fe8=_0x59f468,_0x387357=await this[_0x238fe8(0x3ff)][_0x238fe8(0x55c)](_0x174462),_0x3e1e0f=this[_0x238fe8(0x351)][_0x238fe8(0x2d8)](this['_getCtorByUniverType'](_0x23c44b),_0x174462,_0x23c44b,_0x387357);return await _0x3e1e0f[_0x238fe8(0x43e)](),this['_entityInit$'][_0x238fe8(0x307)](_0x3e1e0f),_0x3e1e0f;}[_0x59f468(0x418)](_0x4632b3){const _0x24a7bd=_0x59f468;switch(_0x4632b3){case ae[_0x24a7bd(0x4f9)]:return hs;case ae[_0x24a7bd(0x2b0)]:return ls;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x4632b3);}}};it=$o([qt(0x0,_0x222038(_0x2e1c56)),qt(0x1,_0x222038(Me)),qt(0x2,_0xd7de45)],it);var Ho=Object[_0x59f468(0x29a)],jo=Object[_0x59f468(0x368)],Bo=(_0x44d3f1,_0x1473c1,_0x246d30,_0x218eb5)=>{const _0x12f7e0=_0x59f468;for(var _0x20b5d9=_0x218eb5>0x1?void 0x0:_0x218eb5?jo(_0x1473c1,_0x246d30):_0x1473c1,_0x5ae4c9=_0x44d3f1[_0x12f7e0(0x21a)]-0x1,_0x56d30b;_0x5ae4c9>=0x0;_0x5ae4c9--)(_0x56d30b=_0x44d3f1[_0x5ae4c9])&&(_0x20b5d9=(_0x218eb5?_0x56d30b(_0x1473c1,_0x246d30,_0x20b5d9):_0x56d30b(_0x20b5d9))||_0x20b5d9);return _0x218eb5&&_0x20b5d9&&Ho(_0x1473c1,_0x246d30,_0x20b5d9),_0x20b5d9;},ei=(_0x1cf39a,_0x3c790c)=>(_0x591ac3,_0x41e97e)=>_0x3c790c(_0x591ac3,_0x41e97e,_0x1cf39a);let Ut=class extends _0x2c59cd{constructor(_0x2766f2,_0x3eee0b){const _0x3f22cc=_0x59f468;super(),this[_0x3f22cc(0x537)]=_0x2766f2,this['_imageIoService']=_0x3eee0b,this[_0x3f22cc(0x59d)]();}[_0x59f468(0x59d)](){const _0x31339d=_0x59f468,_0x3df110=this;this[_0x31339d(0x4e2)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x57483c=>{const _0x2bfd43=_0x31339d,_0x6c61ec=await _0x3df110['_imageIoService']['saveImage'](_0x57483c);return _0x6c61ec?{'source':_0x6c61ec[_0x2bfd43(0x4a4)],'imageSourceType':_0x6c61ec[_0x2bfd43(0x46b)]}:null;}}));}};Ut=Bo([ei(0x0,_0x33630a),ei(0x1,_0x3c5ccf)],Ut);const ti=[_0x59f468(0x457),'jiqing500',_0x59f468(0x1a3),_0x59f468(0x512),'blue400',_0x59f468(0x2ae)];class Us extends _0x19fe63{constructor(){const _0x55d878=_0x59f468;super(...arguments),g(this,_0x55d878(0x344),new Map()),g(this,_0x55d878(0x502),0x0);}['assignAColorForMemberID'](_0x522c12){const _0x5bc729=_0x59f468;if(this[_0x5bc729(0x344)][_0x5bc729(0x309)](_0x522c12))return this[_0x5bc729(0x344)][_0x5bc729(0x25d)](_0x522c12);const _0x20af53=ti[this[_0x5bc729(0x502)]];return this[_0x5bc729(0x502)]=(this[_0x5bc729(0x502)]+0x1)%ti['length'],this[_0x5bc729(0x344)][_0x5bc729(0x279)](_0x522c12,_0x20af53),_0x20af53;}}var ko=Object[_0x59f468(0x29a)],Wo=Object[_0x59f468(0x368)],Fo=(_0x30e626,_0x580087,_0x511889,_0x34a598)=>{const _0x1f4cc7=_0x59f468;for(var _0x28ab91=_0x34a598>0x1?void 0x0:_0x34a598?Wo(_0x580087,_0x511889):_0x580087,_0x3c5446=_0x30e626[_0x1f4cc7(0x21a)]-0x1,_0x30bf79;_0x3c5446>=0x0;_0x3c5446--)(_0x30bf79=_0x30e626[_0x3c5446])&&(_0x28ab91=(_0x34a598?_0x30bf79(_0x580087,_0x511889,_0x28ab91):_0x30bf79(_0x28ab91))||_0x28ab91);return _0x34a598&&_0x28ab91&&ko(_0x580087,_0x511889,_0x28ab91),_0x28ab91;},we=(_0x4e40d3,_0x16885a)=>(_0x148004,_0x127fbc)=>_0x16885a(_0x148004,_0x127fbc,_0x4e40d3);const Vo=0x12c,Go=0x64;let _s=class extends _0x2c59cd{constructor(_0x16aaad,_0x2e8b7b,_0x42aafe,_0x41b51c,_0x433f33,_0x46de47,_0x3e6aa6,_0x4f743f,_0x3e083c){const _0x14928e=_0x59f468;super(),g(this,_0x14928e(0x1fc),!0x1),g(this,_0x14928e(0x59d),!0x1),g(this,_0x14928e(0x32b),new _0x1f1fc6(new Map())),g(this,_0x14928e(0x557),this[_0x14928e(0x32b)][_0x14928e(0x472)]()),g(this,_0x14928e(0x1be),new _0x1f1fc6([])),g(this,_0x14928e(0x1e3),this['_roomMembers$'][_0x14928e(0x318)](_0x477823(Vo))),g(this,'_updateLocalCursor',_0x14f2b0(_0x5e23a2=>{const _0x5e3d34=_0x14928e,_0x29f08c={'eventID':_0x8a32d4[_0x5e3d34(0x563)],'data':{'unitID':this['unitID'],'memberID':this[_0x5e3d34(0x356)][_0x5e3d34(0x34f)](),'selection':Ki(_0x5e23a2)}};this[_0x5e3d34(0x356)][_0x5e3d34(0x286)](_0x29f08c,this['unitID']);},Go)),(this[_0x14928e(0x405)]=_0x16aaad,this['_session']=_0x2e8b7b,this[_0x14928e(0x351)]=_0x42aafe,this['_colorAssignService']=_0x41b51c,this['_memberService']=_0x433f33,this[_0x14928e(0x367)]=_0x46de47,this[_0x14928e(0x24f)]=_0x3e6aa6,this[_0x14928e(0x525)]=_0x4f743f,this[_0x14928e(0x54d)]=_0x3e083c);}get['cursorInfo'](){const _0x63140a=_0x59f468;return this[_0x63140a(0x32b)]['getValue']();}get[_0x59f468(0x2bc)](){const _0x53636e=_0x59f468;return this[_0x53636e(0x1be)]['getValue']();}[_0x59f468(0x1ba)](){const _0x3ed939=_0x59f468;super['dispose'](),this[_0x3ed939(0x32b)][_0x3ed939(0x307)](new Map()),this['_cursorInfo$'][_0x3ed939(0x3ee)](),this['_roomMembers$']['next']([]),this[_0x3ed939(0x1be)][_0x3ed939(0x3ee)]();}[_0x59f468(0x43e)](){const _0x1adb1e=_0x59f468;this[_0x1adb1e(0x59d)]||(this['_init']=!0x0,this[_0x1adb1e(0x356)][_0x1adb1e(0x27b)][_0x1adb1e(0x318)](_0x2eaf5f(this['dispose$']))[_0x1adb1e(0x347)](_0x310f0a=>{const _0x118f08=_0x1adb1e;_0x310f0a===fe[_0x118f08(0x3b5)]?this['_toggleOnline']():this[_0x118f08(0x55e)]();}),this[_0x1adb1e(0x356)][_0x1adb1e(0x529)][_0x1adb1e(0x318)](_0x2eaf5f(this[_0x1adb1e(0x2c5)]))[_0x1adb1e(0x347)](_0x3a7f74=>{const _0x13a486=_0x1adb1e,_0x35baf0=_0x3a7f74[_0x13a486(0x1b1)];_0x35baf0===_0x8a32d4[_0x13a486(0x563)]&&this[_0x13a486(0x2d4)](_0x3a7f74),_0x35baf0===_0x8a32d4['USERS_LEAVE']&&this['_onCursorDelete'](_0x3a7f74);}),this[_0x1adb1e(0x4e2)](this[_0x1adb1e(0x54d)][_0x1adb1e(0x3b7)](_0x4b341b=>{const _0x15df94=_0x1adb1e,_0x4e3503=_0x4b341b['params'];_0x4e3503!=null&&this[_0x15df94(0x1fc)]&&_0x4b341b['id']===_0x403062['id']&&_0x4e3503['unitId']===this['unitID']&&_0x4e3503['isEditing']===!0x1&&_0x4e3503[_0x15df94(0x39c)][_0x15df94(0x21a)]>0x0&&this[_0x15df94(0x333)](_0x4e3503[_0x15df94(0x39c)]);})),this[_0x1adb1e(0x367)]['collabCursorState$']['pipe'](_0x2eaf5f(this['dispose$']))[_0x1adb1e(0x347)](_0x1ff4b7=>{const _0x1263c1=_0x1adb1e;if((_0x1ff4b7==null?void 0x0:_0x1ff4b7[_0x1263c1(0x405)])!==this['unitID'])return;const _0x2780d8={'eventID':_0x8a32d4[_0x1263c1(0x563)],'data':_0x1ff4b7};this[_0x1263c1(0x2d4)](_0x2780d8);}),this['disposeWithMe'](this[_0x1adb1e(0x54d)]['onCommandExecuted'](_0x5bda13=>{const _0x356869=_0x1adb1e;if(_0x5bda13['params']==null)return;const _0xeb8d3a=_0x5bda13[_0x356869(0x4c3)];if(_0x5bda13['id']!==_0x2bf5bd['id']||_0xeb8d3a[_0x356869(0x51a)]!==this[_0x356869(0x405)])return;const _0x649272={'id':_0x356869(0x392),'params':_0xeb8d3a},_0x9222b0=this[_0x356869(0x22f)];for(const [_0x3724c5,_0x15a469]of _0x9222b0){const _0x1f16fc={'id':_0x356869(0x392),'params':{'unitId':this[_0x356869(0x405)],'actions':null,'textRanges':_0x15a469[_0x356869(0x39c)]}},_0x560db2=this[_0x356869(0x24f)][_0x356869(0x591)](_0x649272,_0x1f16fc,!0x1);if(_0x18387e(_0x560db2))throw _0x560db2[_0x356869(0x1ec)];_0x9222b0[_0x356869(0x279)](_0x3724c5,{..._0x15a469,'ranges':_0x560db2[_0x356869(0x388)][_0x356869(0x4c3)]['textRanges']});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x9222b0);});})));}['_onCursorUpdate'](_0x948f1b){const _0x249ae6=_0x59f468;var _0x377e02,_0x7c5c7b;const {memberID:_0xcf929,selection:_0xaf6a35}=_0x948f1b['data'],_0x59f440=To(_0xaf6a35),_0x3c5207=(_0x7c5c7b=(_0x377e02=this[_0x249ae6(0x43b)][_0x249ae6(0x2ac)](this[_0x249ae6(0x405)],_0xcf929))==null?void 0x0:_0x377e02['name'])!=null?_0x7c5c7b:_0x249ae6(0x5b2),_0x4b6260={'color':this[_0x249ae6(0x4f6)][_0x249ae6(0x4c4)](_0xcf929),'name':_0x3c5207,'ranges':_0x59f440},_0x47c12d=this[_0x249ae6(0x22f)];_0x47c12d[_0x249ae6(0x279)](_0xcf929,_0x4b6260),this[_0x249ae6(0x32b)]['next'](_0x47c12d);}[_0x59f468(0x214)](_0x1bf2c5){const _0x4de03d=_0x59f468,{memberID:_0xb59269}=_0x1bf2c5['data'],_0x1fbb84=this[_0x4de03d(0x22f)];_0x1fbb84[_0x4de03d(0x29e)](_0xb59269),this[_0x4de03d(0x32b)][_0x4de03d(0x307)](_0x1fbb84);}[_0x59f468(0x323)](){const _0x4eadd0=_0x59f468;var _0x5d87a0;if(this['_online']=!0x0,((_0x5d87a0=this[_0x4eadd0(0x525)][_0x4eadd0(0x370)]())==null?void 0x0:_0x5d87a0['getUnitId']())!==this['unitID'])return;const _0x395c46=this['_injector'][_0x4eadd0(0x25d)](_0x4768db)[_0x4eadd0(0x24d)]();Array[_0x4eadd0(0x53a)](_0x395c46)&&_0x395c46[_0x4eadd0(0x21a)]>0x0&&this[_0x4eadd0(0x333)](_0x395c46);}[_0x59f468(0x55e)](){const _0x1e62ca=_0x59f468;this[_0x1e62ca(0x1fc)]=!0x1;}};_s=Fo([we(0x2,_0x222038(_0x2e1c56)),we(0x3,_0x222038(Us)),we(0x4,_0x222038(Ae)),we(0x5,_0x222038(Ds)),we(0x6,_0x4cb437),we(0x7,_0xd7de45),we(0x8,_0x1e017f)],_s);var Yo=Object['defineProperty'],Ko=Object['getOwnPropertyDescriptor'],qo=(_0x361d3f,_0x131558,_0x448b9f,_0x2a2c1a)=>{const _0xd04b6b=_0x59f468;for(var _0x310c72=_0x2a2c1a>0x1?void 0x0:_0x2a2c1a?Ko(_0x131558,_0x448b9f):_0x131558,_0x3c33b7=_0x361d3f[_0xd04b6b(0x21a)]-0x1,_0xdb992b;_0x3c33b7>=0x0;_0x3c33b7--)(_0xdb992b=_0x361d3f[_0x3c33b7])&&(_0x310c72=(_0x2a2c1a?_0xdb992b(_0x131558,_0x448b9f,_0x310c72):_0xdb992b(_0x310c72))||_0x310c72);return _0x2a2c1a&&_0x310c72&&Yo(_0x131558,_0x448b9f,_0x310c72),_0x310c72;},je=(_0x308486,_0x1a3c81)=>(_0x1a4598,_0xb7db85)=>_0x1a3c81(_0x1a4598,_0xb7db85,_0x308486);const zo=0x12c,Xo=0x64,Jo=()=>{let _0x270ea3=[],_0x2b8263=!0x1;return _0x599e07=>{const _0x1be400=_0x2eda;_0x270ea3[_0x1be400(0x4cf)](_0x599e07),_0x2b8263||(_0x2b8263=!0x0,setTimeout(()=>{const _0x2a66b3=_0x1be400;_0x270ea3[_0x2a66b3(0x3b0)](_0x4291fb=>_0x4291fb()),_0x270ea3=[],_0x2b8263=!0x1;}));};};let us=class extends _0x2c59cd{constructor(_0x4142d3,_0x3f8a71,_0x4799a1,_0x5208b1,_0x3afa5a,_0x2ce31c,_0x398d01,_0x28e670){const _0x3bc1f2=_0x59f468;super(),g(this,'_online',!0x1),g(this,'_init',!0x1),g(this,'_cursorInfo$',new _0x1f1fc6(new Map())),g(this,_0x3bc1f2(0x557),this[_0x3bc1f2(0x32b)]['asObservable']()),g(this,'_roomMembers$',new _0x1f1fc6([])),g(this,_0x3bc1f2(0x1e3),this[_0x3bc1f2(0x1be)][_0x3bc1f2(0x318)](_0x477823(zo))),g(this,_0x3bc1f2(0x333),_0x14f2b0((_0x363ec5,_0xc1777b)=>{const _0xcb02d7=_0x3bc1f2,_0x8eaaad={'eventID':_0x8a32d4['UPDATE_CURSOR'],'data':{'unitID':this[_0xcb02d7(0x405)],'memberID':this[_0xcb02d7(0x356)][_0xcb02d7(0x34f)](),'selection':_0x44ca9e(_0x363ec5,_0xc1777b[_0xcb02d7(0x1d8)])}};this[_0xcb02d7(0x356)]['send'](_0x8eaaad,this[_0xcb02d7(0x405)]);},Xo)),(this['unitID']=_0x4142d3,this[_0x3bc1f2(0x356)]=_0x3f8a71,this[_0x3bc1f2(0x351)]=_0x4799a1,this[_0x3bc1f2(0x4f6)]=_0x5208b1,this['_memberService']=_0x3afa5a,this['_univerInstanceService']=_0x2ce31c,this['_commandService']=_0x398d01,this[_0x3bc1f2(0x28c)]=_0x28e670);}get['cursorInfo'](){const _0x4f98da=_0x59f468;return this[_0x4f98da(0x32b)][_0x4f98da(0x44d)]();}get[_0x59f468(0x2bc)](){const _0x12511f=_0x59f468;return this[_0x12511f(0x1be)]['getValue']();}[_0x59f468(0x1ba)](){const _0x2d8684=_0x59f468;super[_0x2d8684(0x1ba)](),this['_cursorInfo$'][_0x2d8684(0x307)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$']['next']([]),this[_0x2d8684(0x1be)][_0x2d8684(0x3ee)]();}[_0x59f468(0x43e)](){const _0x57bde8=_0x59f468;this[_0x57bde8(0x59d)]||(this['_init']=!0x0,this[_0x57bde8(0x356)][_0x57bde8(0x27b)][_0x57bde8(0x318)](_0x2eaf5f(this['dispose$']))[_0x57bde8(0x347)](_0x66b323=>{const _0x1e3531=_0x57bde8;_0x66b323===fe['ONLINE']?this[_0x1e3531(0x323)]():this[_0x1e3531(0x55e)]();}),this['_session'][_0x57bde8(0x529)][_0x57bde8(0x318)](_0x2eaf5f(this[_0x57bde8(0x2c5)]))[_0x57bde8(0x347)](_0x7f705a=>{const _0x48ddb8=_0x57bde8,_0x1c947f=_0x7f705a[_0x48ddb8(0x1b1)];_0x1c947f===_0x8a32d4[_0x48ddb8(0x563)]&&this['_onCursorUpdate'](_0x7f705a),_0x1c947f===_0x8a32d4[_0x48ddb8(0x23b)]&&this[_0x48ddb8(0x214)](_0x7f705a);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x57bde8(0x3b7)](_0x37dcba=>{const _0x35e24e=_0x57bde8;if(this[_0x35e24e(0x1fc)]&&_0x37dcba['id']===_0x20d3bf['id']&&_0x37dcba[_0x35e24e(0x4c3)][_0x35e24e(0x51a)]===this[_0x35e24e(0x405)]){const _0xa15940=_0x37dcba[_0x35e24e(0x4c3)];this[_0x35e24e(0x333)](_0xa15940['subUnitId'],_0xa15940[_0x35e24e(0x365)][0x0]);}})));}[_0x59f468(0x2d4)](_0x183bae){const _0x18eff1=_0x59f468;var _0x5d4cff,_0x1db6bd;const {memberID:_0x241c45,selection:_0x27b40a}=_0x183bae[_0x18eff1(0x233)],{sheetName:_0x3cabf1,range:_0x13255f}=_0x47b496(_0x27b40a),_0x595ed1={'name':(_0x1db6bd=(_0x5d4cff=this[_0x18eff1(0x43b)][_0x18eff1(0x2ac)](this[_0x18eff1(0x405)],_0x241c45))==null?void 0x0:_0x5d4cff[_0x18eff1(0x48c)])!=null?_0x1db6bd:'Unknown\x20user','range':this[_0x18eff1(0x2c2)](_0x3cabf1,_0x13255f),'sheetID':_0x3cabf1,'color':this[_0x18eff1(0x4f6)][_0x18eff1(0x4c4)](_0x241c45),'selection':_0x27b40a},_0x5da440=this[_0x18eff1(0x22f)];_0x5da440[_0x18eff1(0x279)](_0x241c45,_0x595ed1),this[_0x18eff1(0x32b)]['next'](_0x5da440);}[_0x59f468(0x214)](_0x7d2f89){const _0xacff0c=_0x59f468,{memberID:_0x2bd8a7}=_0x7d2f89['data'],_0xafb614=this['cursorInfo'];_0xafb614[_0xacff0c(0x29e)](_0x2bd8a7),this['_cursorInfo$'][_0xacff0c(0x307)](_0xafb614);}['_getMergeRange'](_0x3512db,_0x3145b8){const _0x2b18ba=_0x59f468;var _0x355a6d,_0x257f34;const _0x100ccd=(_0x257f34=(_0x355a6d=this[_0x2b18ba(0x525)][_0x2b18ba(0x404)](this[_0x2b18ba(0x405)]))==null?void 0x0:_0x355a6d[_0x2b18ba(0x21f)](_0x3512db))==null?void 0x0:_0x257f34['getMergeData']();return(_0x100ccd==null?void 0x0:_0x100ccd['find'](_0x423cef=>_0x23bbd9[_0x2b18ba(0x25a)](_0x423cef,_0x3145b8)))||_0x3145b8;}[_0x59f468(0x349)](){const _0x199582=_0x59f468,_0x78d4cc=new _0x2fc363(),_0x57f123=Jo(),_0x462fba=()=>{const _0x38d39d=_0x2eda;_0x78d4cc[_0x38d39d(0x1ba)]();const _0x5b83b3=(_0x497ddd,_0x1de744,_0x18891c,_0x1b5813)=>{const _0x538b87=_0x38d39d;let _0x30c429=[];switch(_0x497ddd['id']){case _0x41e7aa['DeleteRangeMoveLeftCommandId']:{_0x30c429=_0x32e871(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x402)]:{_0x30c429=_0x19d6d3(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x550)]:{_0x30c429=_0x51dcac(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x45f)]:{_0x30c429=_0x4c153f(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x3b3)]:{_0x30c429=_0x4172fd(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x319)]:{_0x30c429=_0xdf91b0(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x1d1)]:{_0x30c429=_0x10af59(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x53b)]:{_0x30c429=_0x8f8b06(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x2ca)]:{_0x30c429=_0x27bb0b(_0x497ddd,_0x1b5813);break;}}const _0x4b3375=_0x56b84c(_0x30c429,_0x1b5813),_0x53cda3=this['cursorInfo'][_0x538b87(0x25d)](_0x1de744);if(_0x53cda3&&_0x4b3375){const _0x45c59c={..._0x53cda3,'range':_0x4b3375};this[_0x538b87(0x22f)][_0x538b87(0x279)](_0x1de744,_0x45c59c),_0x57f123(()=>{const _0x1a4c31=_0x538b87,_0x2993f6=this['_refRangeService'][_0x1a4c31(0x4d6)](_0x4b3375,_0x5b9885=>(_0x2993f6[_0x1a4c31(0x1ba)](),_0x5b83b3(_0x5b9885,_0x1de744,_0x18891c,_0x4b3375)));_0x78d4cc[_0x1a4c31(0x3ab)](_0x2993f6);});}return{'redos':[],'undos':[]};};this[_0x38d39d(0x22f)]['forEach']((_0x92a1a5,_0x1a0b9d)=>{const _0x181f8a=_0x38d39d,{range:_0x3276a8,sheetID:_0xda2f73}=_0x92a1a5,_0x3d8f94=this['_refRangeService'][_0x181f8a(0x4d6)](_0x3276a8,_0x4b4b52=>(_0x3d8f94[_0x181f8a(0x1ba)](),_0x5b83b3(_0x4b4b52,_0x1a0b9d,_0xda2f73,_0x3276a8)));_0x78d4cc[_0x181f8a(0x3ab)](_0x3d8f94);});};this['disposeWithMe'](_0x510055(this[_0x199582(0x32b)][_0x199582(0x347)](()=>{_0x462fba();})));}['_toggleOnline'](){const _0x21f221=_0x59f468;var _0x21ac1c,_0x233c41;if(this[_0x21f221(0x1fc)]=!0x0,((_0x21ac1c=this[_0x21f221(0x525)][_0x21f221(0x370)]())==null?void 0x0:_0x21ac1c[_0x21f221(0x25c)]())!==this[_0x21f221(0x405)])return;const _0x9271ea=(_0x233c41=this['_injector'][_0x21f221(0x25d)](_0x49c3d1)['getCurrentSelections']())==null?void 0x0:_0x233c41[0x0],_0x2efe85=this[_0x21f221(0x525)][_0x21f221(0x558)](_0x52550e[_0x21f221(0x2b0)])[_0x21f221(0x561)]();_0x9271ea&&_0x2efe85&&this[_0x21f221(0x333)](_0x2efe85[_0x21f221(0x51d)](),_0x9271ea);}[_0x59f468(0x55e)](){const _0x1407ab=_0x59f468;this[_0x1407ab(0x1fc)]=!0x1;}};us=qo([je(0x2,_0x222038(_0x2e1c56)),je(0x3,_0x222038(Us)),je(0x4,_0x222038(Ae)),je(0x5,_0xd7de45),je(0x6,_0x1e017f),je(0x7,_0x222038(_0x4214dd))],us);var Zo=Object[_0x59f468(0x29a)],Qo=Object[_0x59f468(0x368)],ea=(_0x2bc09f,_0x900f5b,_0x126578,_0x4e68ca)=>{const _0x3892ad=_0x59f468;for(var _0x56513b=_0x4e68ca>0x1?void 0x0:_0x4e68ca?Qo(_0x900f5b,_0x126578):_0x900f5b,_0x16a13b=_0x2bc09f[_0x3892ad(0x21a)]-0x1,_0x59942e;_0x16a13b>=0x0;_0x16a13b--)(_0x59942e=_0x2bc09f[_0x16a13b])&&(_0x56513b=(_0x4e68ca?_0x59942e(_0x900f5b,_0x126578,_0x56513b):_0x59942e(_0x56513b))||_0x56513b);return _0x4e68ca&&_0x56513b&&Zo(_0x900f5b,_0x126578,_0x56513b),_0x56513b;},zt=(_0x512f84,_0xb3c334)=>(_0x43727f,_0x5bc4b8)=>_0xb3c334(_0x43727f,_0x5bc4b8,_0x512f84);let Fe=class extends _0x2c59cd{constructor(_0x1f06ef,_0x1f71e7,_0x1943f3){const _0x3cb223=_0x59f468;super(),g(this,'_entities',new Map()),g(this,_0x3cb223(0x326),new _0xd6475b()),(this['_univerInstanceService']=_0x1f06ef,this[_0x3cb223(0x351)]=_0x1f71e7,this[_0x3cb223(0x3ff)]=_0x1943f3,this[_0x3cb223(0x59d)]());}['dispose'](){const _0x2e5829=_0x59f468;super[_0x2e5829(0x1ba)](),this[_0x2e5829(0x326)]['complete'](),this['_entities'][_0x2e5829(0x3b0)](_0x4adedd=>_0x4adedd[_0x2e5829(0x1ba)]());}[_0x59f468(0x282)](_0x2318dd){const _0x261c8b=_0x59f468;return this['_entities'][_0x261c8b(0x309)](_0x2318dd)?this[_0x261c8b(0x47a)][_0x261c8b(0x25d)](_0x2318dd)[_0x261c8b(0x557)]:this[_0x261c8b(0x326)]['pipe'](_0x54e74d(_0x50417a=>_0x50417a[_0x261c8b(0x405)]===_0x2318dd),_0x2bc5b0(_0x39ff85=>_0x39ff85[_0x261c8b(0x557)]));}['_init'](){const _0x5181c5=_0x59f468;this[_0x5181c5(0x525)]['getTypeOfUnitAdded$'](_0x52550e[_0x5181c5(0x2b0)])['pipe'](_0x2eaf5f(this['dispose$']))[_0x5181c5(0x347)](async _0x364f0a=>{const _0x3aad6a=_0x5181c5,_0x4fec14=_0x364f0a['getUnitId'](),_0x5e2cf2=await this['_startSheetCollabCursor'](_0x4fec14);this[_0x3aad6a(0x326)][_0x3aad6a(0x307)](_0x5e2cf2),this[_0x3aad6a(0x47a)][_0x3aad6a(0x279)](_0x4fec14,_0x5e2cf2);}),this[_0x5181c5(0x525)]['getTypeOfUnitAdded$'](_0x52550e[_0x5181c5(0x4f9)])['pipe'](_0x2eaf5f(this[_0x5181c5(0x2c5)]))[_0x5181c5(0x318)](_0x54e74d(_0x4b1ae1=>!_0x4b1ae1['getUnitId']()[_0x5181c5(0x2dd)]('__')))['subscribe'](async _0x42f55a=>{const _0x130724=_0x5181c5,_0x1998bc=_0x42f55a[_0x130724(0x25c)](),_0x574183=await this[_0x130724(0x2aa)](_0x1998bc);this[_0x130724(0x326)]['next'](_0x574183),this['_entities'][_0x130724(0x279)](_0x1998bc,_0x574183);}),_0x5becde(this[_0x5181c5(0x525)][_0x5181c5(0x31a)](_0x52550e[_0x5181c5(0x4f9)]),this[_0x5181c5(0x525)][_0x5181c5(0x31a)](_0x52550e['UNIVER_SHEET']))['pipe'](_0x2eaf5f(this[_0x5181c5(0x2c5)]))[_0x5181c5(0x347)](_0x5709bf=>{const _0x56a5ea=_0x5181c5,_0x3603db=_0x5709bf[_0x56a5ea(0x25c)](),_0x2f091d=this[_0x56a5ea(0x47a)][_0x56a5ea(0x25d)](_0x3603db);_0x2f091d&&(_0x2f091d[_0x56a5ea(0x1ba)](),this[_0x56a5ea(0x47a)]['delete'](_0x3603db));});}async[_0x59f468(0x564)](_0x2cfdf3){const _0x33c5a7=_0x59f468,_0x43d78c=await this['_collabSessionService'][_0x33c5a7(0x55c)](_0x2cfdf3),_0x3fe275=this[_0x33c5a7(0x351)][_0x33c5a7(0x2d8)](us,_0x2cfdf3,_0x43d78c);return _0x3fe275['init'](),_0x3fe275;}async[_0x59f468(0x2aa)](_0x4ad680){const _0x2b6d95=_0x59f468,_0x768970=await this[_0x2b6d95(0x3ff)][_0x2b6d95(0x55c)](_0x4ad680),_0xfbc415=this[_0x2b6d95(0x351)]['createInstance'](_s,_0x4ad680,_0x768970);return _0xfbc415[_0x2b6d95(0x43e)](),_0xfbc415;}};Fe=ea([zt(0x0,_0xd7de45),zt(0x1,_0x222038(_0x2e1c56)),zt(0x2,_0x222038(Me))],Fe);const rt=0x14,si=0xc8,Xt=0x4,ta=0x5;function sa(_0x6d0bd6,_0x579a90){const _0x53680b=_0x59f468;let {radius:_0x5d0cc8,width:_0x2da928,height:_0x519303}=_0x579a90;_0x5d0cc8=_0x5d0cc8!=null?_0x5d0cc8:0x0,_0x2da928=_0x2da928!=null?_0x2da928:0x1e,_0x519303=_0x519303!=null?_0x519303:0x1e;let _0x169ed9=0x0,_0x59780e=0x0,_0x599dc4=0x0;_0x169ed9=_0x59780e=_0x599dc4=Math[_0x53680b(0x42a)](_0x5d0cc8,_0x2da928/0x2,_0x519303/0x2),_0x6d0bd6[_0x53680b(0x25b)](),_0x6d0bd6[_0x53680b(0x1df)](_0x169ed9,0x0),_0x6d0bd6[_0x53680b(0x383)](_0x2da928-_0x59780e,0x0),_0x6d0bd6['arc'](_0x2da928-_0x59780e,_0x59780e,_0x59780e,Math['PI']*0x3/0x2,0x0,!0x1),_0x6d0bd6[_0x53680b(0x383)](_0x2da928,_0x519303-_0x599dc4),_0x6d0bd6[_0x53680b(0x427)](_0x2da928-_0x599dc4,_0x519303-_0x599dc4,_0x599dc4,0x0,Math['PI']/0x2,!0x1),_0x6d0bd6[_0x53680b(0x383)](0x0,_0x519303),_0x6d0bd6[_0x53680b(0x383)](0x0,_0x169ed9),_0x6d0bd6['arc'](_0x169ed9,_0x169ed9,_0x169ed9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x6d0bd6[_0x53680b(0x598)](),_0x579a90['fill']&&(_0x6d0bd6['save'](),_0x6d0bd6[_0x53680b(0x4c7)]=_0x579a90[_0x53680b(0x3fd)],_0x579a90['fillRule']===_0x53680b(0x5b8)?_0x6d0bd6[_0x53680b(0x3fd)](_0x53680b(0x5b8)):_0x6d0bd6[_0x53680b(0x3fd)](),_0x6d0bd6[_0x53680b(0x229)]());}class jt extends _0x37149c{constructor(_0x5bdc84,_0x23b466){const _0x21e957=_0x59f468;super(_0x5bdc84,_0x23b466),g(this,_0x21e957(0x478)),g(this,_0x21e957(0x504)),(this[_0x21e957(0x478)]=_0x23b466==null?void 0x0:_0x23b466[_0x21e957(0x478)],this['text']=_0x23b466==null?void 0x0:_0x23b466['text']);}static[_0x59f468(0x4dc)](_0x1f7614,_0x42c933){const _0x2d466a=_0x59f468,{text:_0x73504c,color:_0x57b303}=_0x42c933;_0x1f7614[_0x2d466a(0x310)](),_0x1f7614[_0x2d466a(0x1e0)]=_0x2d466a(0x299);const _0x43adb2=_0x1f7614[_0x2d466a(0x272)](_0x73504c)[_0x2d466a(0x1f4)],_0x49dbde=Math[_0x2d466a(0x42a)](_0x43adb2+0x2*Xt,si);sa(_0x1f7614,{'height':rt,'radius':0x4,'width':_0x49dbde,'fill':_0x57b303,'evented':!0x1}),_0x1f7614[_0x2d466a(0x4c7)]='#FFF';const _0xa34b57=Xt,_0x34bdf7=rt-ta,_0x539405=si-0x2*Xt;if(_0x43adb2>_0x539405){let _0x54ae5d='',_0x4963fa=0x0;for(const _0x51f9fc of _0x73504c){const _0x47ec34=_0x1f7614[_0x2d466a(0x272)](_0x51f9fc)[_0x2d466a(0x1f4)];if(_0x4963fa+_0x47ec34<=_0x539405-_0x1f7614[_0x2d466a(0x272)]('...')[_0x2d466a(0x1f4)])_0x54ae5d+=_0x51f9fc,_0x4963fa+=_0x47ec34;else{_0x54ae5d+='...';break;}}_0x1f7614[_0x2d466a(0x338)](_0x54ae5d,_0xa34b57,_0x34bdf7);}else _0x1f7614['fillText'](_0x73504c,_0xa34b57,_0x34bdf7);_0x1f7614[_0x2d466a(0x229)]();}[_0x59f468(0x1e7)](_0x1c72f3){const _0x514406=_0x59f468;jt[_0x514406(0x4dc)](_0x1c72f3,this);}}const Jt='collab-text-anchor-',ia=_0x59f468(0x2fe),ra=_0x59f468(0x2ea),Xe=0x6,na=1.5,Zt=0x4,oa=1.5,aa=_0x59f468(0x437);class ii{constructor(_0x14e435,_0x553492,_0x2e6d30,_0x575fd4){const _0xbce41d=_0x59f468;g(this,'_shapes',[]),g(this,'_anchor',null),g(this,_0xbce41d(0x3ae),null),g(this,_0xbce41d(0x1a0),null),g(this,'_hideTimer',null),g(this,_0xbce41d(0x221),null),(this[_0xbce41d(0x1dd)]=_0x14e435,this[_0xbce41d(0x2a7)]=_0x553492,this[_0xbce41d(0x20b)]=_0x2e6d30,this[_0xbce41d(0x4b7)]=_0x575fd4,this[_0xbce41d(0x197)]());}set['_hover'](_0x2ed77f){const _0x7c397e=_0x59f468;_0x2ed77f?(this[_0x7c397e(0x1a0)]&&this[_0x7c397e(0x1a0)][_0x7c397e(0x1f2)](),this['_textBubble']&&this[_0x7c397e(0x3ae)]['show']()):(this['_anchorDot']&&this['_anchorDot'][_0x7c397e(0x31c)](),this['_textBubble']&&this[_0x7c397e(0x3ae)][_0x7c397e(0x1f2)]());}['dispose'](){const _0x313ec9=_0x59f468;for(const _0x29763d of this[_0x313ec9(0x2ec)])_0x29763d[_0x313ec9(0x1ba)]();this[_0x313ec9(0x3ae)]&&this[_0x313ec9(0x3ae)][_0x313ec9(0x1ba)](),this[_0x313ec9(0x1a0)]&&this[_0x313ec9(0x1a0)][_0x313ec9(0x1ba)](),this['_anchor']&&this[_0x313ec9(0x59f)][_0x313ec9(0x1ba)](),this[_0x313ec9(0x221)]&&this[_0x313ec9(0x221)]();}[_0x59f468(0x197)](){const _0x12385b=_0x59f468;var _0x4c270b;const {_docSkeleton:_0x4a1462,_document:_0x2d1210}=this,{color:_0x3873c8,name:_0x29124c,ranges:_0xf359da}=this[_0x12385b(0x1dd)],_0xc1ad12=_0x2d1210[_0x12385b(0x56d)](),{docsLeft:_0x5cc23d,docsTop:_0x65ebf8}=_0xc1ad12,_0x4db97c=new _0x4cd065(_0xc1ad12,_0x4a1462);for(const {startOffset:_0x5d9b83,endOffset:_0x1ec5a5,rangeType:_0x9dba01,segmentId:_0xcef74,segmentPage:_0x26e6aa,collapsed:_0x32d38d,isActive:_0x51fb5f}of _0xf359da){const _0x548314=_0x4a1462[_0x12385b(0x22e)](_0x5d9b83,!0x0,_0xcef74,_0x26e6aa);let _0x1f25a9=_0x4a1462[_0x12385b(0x22e)](_0x1ec5a5,!0x0,_0xcef74,_0x26e6aa);if(_0x1f25a9==null&&(_0x1f25a9=_0x4a1462['findNodePositionByCharIndex'](_0x1ec5a5-0x1,!0x1,_0xcef74,_0x26e6aa)),_0x51fb5f){const {contentBoxPointGroup:_0x7cb2db}=_0x4db97c[_0x12385b(0x44a)](_0x1f25a9,_0x1f25a9);if(_0x7cb2db[_0x12385b(0x21a)]===0x0)continue;this['_drawAnchor'](_0x3873c8,_0x7cb2db,_0x5cc23d,_0x65ebf8,_0x29124c),this[_0x12385b(0x221)]=this[_0x12385b(0x38f)]();}if(_0x548314&&_0x1f25a9){if(_0x9dba01===_0x638c4d[_0x12385b(0x555)]){const _0x360ccf=new _0x28e160(_0xc1ad12,_0x4a1462),{pointGroup:_0x465988}=(_0x4c270b=_0x360ccf[_0x12385b(0x44a)](_0x548314,_0x1f25a9))!=null?_0x4c270b:{};if(_0x465988==null||_0x465988[_0x12385b(0x21a)]===0x0)continue;this[_0x12385b(0x28d)](_0x3873c8,_0x465988,_0x5cc23d,_0x65ebf8);}else{if(!_0x32d38d){const {borderBoxPointGroup:_0x5b811b}=_0x4db97c[_0x12385b(0x44a)](_0x548314,_0x1f25a9);if(_0x5b811b[_0x12385b(0x21a)]===0x0)continue;this['_drawTextRange'](_0x3873c8,_0x5b811b,_0x5cc23d,_0x65ebf8);}}}}}['_drawAnchor'](_0x3d88b8,_0x336114,_0x3a6965,_0x223b03,_0x3eb33e){const _0x25f515=_0x59f468,_0x3bb1c2=this[_0x25f515(0x3b9)](_0x336114),{left:_0x5da9b2,top:_0x27ad56,height:_0x330825}=_0x3bb1c2,_0x6f3bf3=this[_0x25f515(0x363)](),_0x18ab48=oa/_0x6f3bf3,_0x596ca9=new _0x3648be(Jt+_0x218f61[_0x25f515(0x278)](Xe),{'left':_0x5da9b2+_0x3a6965-_0x18ab48,'top':_0x27ad56+_0x223b03,'height':_0x330825,'width':na,'fill':_0x3d88b8||_0x3f199f(_0x41eb8e[_0x25f515(0x45a)],0x0),'strokeWidth':_0x18ab48,'stroke':aa,'evented':!0x0});this[_0x25f515(0x59f)]=_0x596ca9,this[_0x25f515(0x2a7)][_0x25f515(0x298)](_0x596ca9,_0x43455b);const _0xe6765c=new _0x3648be(Jt+_0x218f61['generateRandomId'](Xe),{'left':_0x5da9b2+_0x3a6965-_0x18ab48,'top':_0x27ad56+_0x223b03-Zt/0x2,'height':Zt,'width':Zt,'fill':_0x3d88b8||_0x3f199f(_0x41eb8e[_0x25f515(0x45a)],0x0),'strokeWidth':0x0,'stroke':_0x3d88b8||_0x3f199f(_0x41eb8e[_0x25f515(0x45a)],0x0),'evented':!0x1});this[_0x25f515(0x1a0)]=_0xe6765c,this['_scene']['addObject'](_0xe6765c,_0x43455b);const _0x2dc09d=new jt(Jt+_0x218f61[_0x25f515(0x278)](Xe),{'left':_0x5da9b2+_0x3a6965-_0x18ab48,'top':_0x27ad56+_0x223b03-rt,'text':_0x3eb33e,'color':_0x3d88b8});this[_0x25f515(0x3ae)]=_0x2dc09d,this['_scene'][_0x25f515(0x298)](_0x2dc09d,_0x43455b),this[_0x25f515(0x4da)]=!0x1;}[_0x59f468(0x38f)](){const _0x2f2e22=_0x59f468,_0x55ef03=this[_0x2f2e22(0x59f)][_0x2f2e22(0x458)][_0x2f2e22(0x3d1)](()=>{this['_hover']=!0x0;}),_0x23ba05=this[_0x2f2e22(0x59f)][_0x2f2e22(0x1c8)][_0x2f2e22(0x3d1)](()=>{const _0x40a3ca=_0x2f2e22;this[_0x40a3ca(0x33c)]&&clearTimeout(this[_0x40a3ca(0x33c)]),this[_0x40a3ca(0x33c)]=setTimeout(()=>{const _0x2caee4=_0x40a3ca;this[_0x2caee4(0x4da)]=!0x1;},0x7d0);});return()=>{_0x55ef03['unsubscribe'](),_0x23ba05['unsubscribe']();};}['_drawTextRange'](_0x5848e8,_0x5d5525,_0x4550cc,_0x15ef58){const _0x57041d=_0x59f468,_0x48e919=new _0x5d65d0(_0x5848e8)['setAlpha'](0.2)[_0x57041d(0x228)](),_0x24246f=new _0xea7f00(ia+_0x218f61['generateRandomId'](Xe),{'pointsGroup':_0x5d5525,'fill':_0x48e919||_0x3f199f(_0x41eb8e[_0x57041d(0x45a)],0.2),'left':_0x4550cc,'top':_0x15ef58,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x57041d(0x2ec)][_0x57041d(0x4cf)](_0x24246f),this[_0x57041d(0x2a7)]['addObject'](_0x24246f,_0x43455b);}[_0x59f468(0x28d)](_0x446cc3,_0x426b00,_0x3943c6,_0x2f780e){const _0x4b4a29=_0x59f468,_0x4c2e62=new _0x5d65d0(_0x446cc3)[_0x4b4a29(0x1c5)](0.2)[_0x4b4a29(0x228)](),_0x15f5e0=new _0xea7f00(ra+_0x218f61[_0x4b4a29(0x278)](Xe),{'pointsGroup':_0x426b00,'fill':_0x4c2e62||_0x3f199f(_0x41eb8e[_0x4b4a29(0x45a)],0.2),'left':_0x3943c6,'top':_0x2f780e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4b4a29(0x2ec)][_0x4b4a29(0x4cf)](_0x15f5e0),this[_0x4b4a29(0x2a7)][_0x4b4a29(0x298)](_0x15f5e0,_0x43455b);}['_getAnchorBounding'](_0x8edd0){const _0x1b2e9b=_0x8edd0[0x0],_0x118852=_0x1b2e9b[0x0],_0x1ee17f=_0x1b2e9b[0x2],{x:_0x264328,y:_0x1c90e0}=_0x118852,{x:_0x532791,y:_0x5883b3}=_0x1ee17f;return{'left':_0x264328,'top':_0x1c90e0,'width':_0x532791-_0x264328,'height':_0x5883b3-_0x1c90e0};}[_0x59f468(0x363)](){const _0x19483e=_0x59f468,{scaleX:_0x422f96,scaleY:_0x4b5d22}=this[_0x19483e(0x2a7)]['getAncestorScale']();return Math[_0x19483e(0x456)](_0x422f96,_0x4b5d22);}}var ca=Object[_0x59f468(0x29a)],ha=Object[_0x59f468(0x368)],la=(_0xa79d2b,_0x21a0b0,_0x579013,_0x338f95)=>{for(var _0x1ee20a=_0x338f95>0x1?void 0x0:_0x338f95?ha(_0x21a0b0,_0x579013):_0x21a0b0,_0x5bc8b5=_0xa79d2b['length']-0x1,_0xe049a;_0x5bc8b5>=0x0;_0x5bc8b5--)(_0xe049a=_0xa79d2b[_0x5bc8b5])&&(_0x1ee20a=(_0x338f95?_0xe049a(_0x21a0b0,_0x579013,_0x1ee20a):_0xe049a(_0x1ee20a))||_0x1ee20a);return _0x338f95&&_0x1ee20a&&ca(_0x21a0b0,_0x579013,_0x1ee20a),_0x1ee20a;},ct=(_0x5adbf5,_0x2e7330)=>(_0x51beb5,_0x5ef658)=>_0x2e7330(_0x51beb5,_0x5ef658,_0x5adbf5);let ds=class extends _0x2c59cd{constructor(_0x574fcf,_0x931236,_0x5af883,_0x1180f0,_0x26f9d2){const _0x5ee078=_0x59f468;super(),g(this,_0x5ee078(0x32d),[]),g(this,_0x5ee078(0x44e),[]),(this[_0x5ee078(0x54f)]=_0x574fcf,this[_0x5ee078(0x2c8)]=_0x931236,this[_0x5ee078(0x554)]=_0x5af883,this[_0x5ee078(0x54d)]=_0x1180f0,this[_0x5ee078(0x209)]=_0x26f9d2,this['_init']());}[_0x59f468(0x59d)](){const _0x335b78=_0x59f468,_0x13bcd5=this[_0x335b78(0x54f)][_0x335b78(0x51a)],_0x432403=this[_0x335b78(0x2c8)];this['disposeWithMe'](_0x6f207e([this[_0x335b78(0x554)][_0x335b78(0x282)](_0x13bcd5),this[_0x335b78(0x209)][_0x335b78(0x577)]])[_0x335b78(0x318)](_0x3968e0(([_0x3b84f8,_0x239098])=>({'skeleton':_0x432403['getSkeleton'](),'cursors':[..._0x3b84f8[_0x335b78(0x4e9)]()]['flatMap'](_0x46f535=>({..._0x46f535,'color':_0x239098[_0x46f535[_0x335b78(0x478)]]}))})))[_0x335b78(0x347)](_0x584177=>{const _0xcdee6=_0x335b78;if(this['_removeCollabCursors'](),_0x584177){const {skeleton:_0xc47219,cursors:_0x1f326f}=_0x584177;this[_0xcdee6(0x1e9)](_0xc47219,_0x1f326f);}})),this[_0x335b78(0x465)](),this['_initCommandExecutedListener']();}[_0x59f468(0x1e9)](_0x273c18,_0x5c21aa){const _0x16808d=_0x59f468,{scene:_0x4eede3,mainComponent:_0x1ade3e}=this[_0x16808d(0x54f)],_0x23363e=_0x5c21aa[_0x16808d(0x36d)](_0xae43c7=>new ii(_0xae43c7,_0x4eede3,_0x273c18,_0x1ade3e));this[_0x16808d(0x32d)]=_0x23363e,this['_cursors']=_0x5c21aa;}[_0x59f468(0x42e)](){const _0x2e20b0=_0x59f468;this[_0x2e20b0(0x315)]();const {scene:_0x1f741d,mainComponent:_0x3e4ae1}=this[_0x2e20b0(0x54f)],_0x207a7e=this[_0x2e20b0(0x2c8)][_0x2e20b0(0x52f)](),_0x4f2a07=this[_0x2e20b0(0x44e)][_0x2e20b0(0x36d)](_0x52e390=>new ii(_0x52e390,_0x1f741d,_0x207a7e,_0x3e4ae1));this[_0x2e20b0(0x32d)]=_0x4f2a07;}[_0x59f468(0x315)](){const _0x3ab5f6=_0x59f468;this[_0x3ab5f6(0x32d)][_0x3ab5f6(0x3b0)](_0x10240e=>_0x10240e[_0x3ab5f6(0x1ba)]()),this[_0x3ab5f6(0x32d)]=[];}['_initCommandExecutedListener'](){const _0x4438a0=_0x59f468,_0x39b984=[_0xe0c4b['id']];this[_0x4438a0(0x4e2)](this['_commandService'][_0x4438a0(0x3b7)](_0x1867b8=>{const _0x173cdf=_0x4438a0;_0x39b984[_0x173cdf(0x2f8)](_0x1867b8['id'])&&_0x1867b8['params']['unitId']===this[_0x173cdf(0x54f)][_0x173cdf(0x51a)]&&this['_refreshCollabCursors']();}));}[_0x59f468(0x465)](){const _0x2cf9a4=_0x59f468;this['disposeWithMe'](_0x5742c0(this[_0x2cf9a4(0x54f)][_0x2cf9a4(0x1fb)][_0x2cf9a4(0x329)])[_0x2cf9a4(0x318)](_0x3c73ca(_0xe090a8=>_0xe090a8[_0x2cf9a4(0x2b2)]===_0x401d9d[_0x2cf9a4(0x410)]),_0x2e516c(0x10))[_0x2cf9a4(0x347)](()=>{const _0x2df17d=_0x2cf9a4;this[_0x2df17d(0x42e)]();}));}};ds=la([ct(0x1,_0x222038(_0x379b20)),ct(0x2,_0x222038(Fe)),ct(0x3,_0x1e017f),ct(0x4,_0x222038(_0x5e056c))],ds);const _a=0x1,ua=1.5;class da extends _0x37149c{constructor(_0x2a96de,_0x580228){const _0x400bc4=_0x59f468;super(_0x2a96de,_0x580228),g(this,_0x400bc4(0x480)),g(this,'_hovered',!0x1),g(this,_0x400bc4(0x58d)),g(this,_0x400bc4(0x3d6),''),g(this,_0x400bc4(0x54e),_0x400bc4(0x3ba)),g(this,'_backgroundColor'),(_0x580228&&this[_0x400bc4(0x2db)](_0x580228),this['onPointerEnter$'][_0x400bc4(0x3d1)](()=>this[_0x400bc4(0x2db)]({'hovered':!0x0})),this[_0x400bc4(0x1c8)]['subscribeEvent'](()=>this[_0x400bc4(0x2db)]({'hovered':!0x1})));}[_0x59f468(0x2db)](_0x2a6d20){const _0x3fd718=_0x59f468;var _0x53aa80,_0x1a863c,_0x15b4ee,_0x16aa85,_0x439177,_0xcd0838;this[_0x3fd718(0x480)]=(_0x53aa80=_0x2a6d20[_0x3fd718(0x478)])!=null?_0x53aa80:this[_0x3fd718(0x480)],this[_0x3fd718(0x1ce)]=(_0x1a863c=_0x2a6d20['hovered'])!=null?_0x1a863c:this['_hovered'],this['_range']=(_0x15b4ee=_0x2a6d20[_0x3fd718(0x1d8)])!=null?_0x15b4ee:this[_0x3fd718(0x58d)],this[_0x3fd718(0x3d6)]=(_0x16aa85=_0x2a6d20[_0x3fd718(0x48c)])!=null?_0x16aa85:this['_name'],this[_0x3fd718(0x54e)]=(_0x439177=_0x2a6d20[_0x3fd718(0x270)])!=null?_0x439177:this[_0x3fd718(0x54e)],this[_0x3fd718(0x19e)]=(_0xcd0838=_0x2a6d20['backgroundColor'])!=null?_0xcd0838:this[_0x3fd718(0x19e)],this[_0x3fd718(0x3cb)]({'width':_0x2a6d20[_0x3fd718(0x1f4)],'height':_0x2a6d20['height']});}[_0x59f468(0x58e)](_0xe24477){const _0x472371=_0x59f468,{row:_0x300854,column:_0x4e62f3}=_0xe24477;if(_0x300854>=this[_0x472371(0x58d)][_0x472371(0x24a)]&&_0x300854<=this['_range'][_0x472371(0x3af)]&&_0x4e62f3>=this['_range'][_0x472371(0x206)]&&_0x4e62f3<=this[_0x472371(0x58d)][_0x472371(0x337)]){this[_0x472371(0x2db)]({'hovered':!0x0});return;}this[_0x472371(0x2db)]({'hovered':!0x1});}[_0x59f468(0x4d0)](_0x2d320a){return!0x1;}[_0x59f468(0x1e7)](_0x55ee15){const _0x55bccf=_0x59f468;_0x3648be['drawWith'](_0x55ee15,{'width':this[_0x55bccf(0x1f4)],'height':this[_0x55bccf(0x1c9)],'strokeWidth':ua,'stroke':this[_0x55bccf(0x480)],'evented':!0x1,'fill':this[_0x55bccf(0x19e)]}),this[_0x55bccf(0x1ce)]&&(_0x55ee15[_0x55bccf(0x310)](),_0x55ee15['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x55bccf(0x253)?0x0:-rt),jt[_0x55bccf(0x4dc)](_0x55ee15,{'text':this['_name'],'color':this[_0x55bccf(0x480)]}),_0x55ee15[_0x55bccf(0x229)]());}}var fa=Object[_0x59f468(0x29a)],va=Object[_0x59f468(0x368)],pa=(_0x2094c2,_0x905510,_0x21bc12,_0x56171c)=>{const _0x42bbae=_0x59f468;for(var _0x5cbc8c=_0x56171c>0x1?void 0x0:_0x56171c?va(_0x905510,_0x21bc12):_0x905510,_0x40707d=_0x2094c2[_0x42bbae(0x21a)]-0x1,_0x4286be;_0x40707d>=0x0;_0x40707d--)(_0x4286be=_0x2094c2[_0x40707d])&&(_0x5cbc8c=(_0x56171c?_0x4286be(_0x905510,_0x21bc12,_0x5cbc8c):_0x4286be(_0x5cbc8c))||_0x5cbc8c);return _0x56171c&&_0x5cbc8c&&fa(_0x905510,_0x21bc12,_0x5cbc8c),_0x5cbc8c;},Qt=(_0x224909,_0x1578c7)=>(_0x459962,_0xc69d1c)=>_0x1578c7(_0x459962,_0xc69d1c,_0x224909);const ma=0x1389;let fs=class extends _0x2c59cd{constructor(_0x4f508d,_0x331312,_0x31a61b,_0x11b853){const _0x3eacc0=_0x59f468;super(),g(this,_0x3eacc0(0x44e),new Set()),g(this,_0x3eacc0(0x568),null),(this[_0x3eacc0(0x54f)]=_0x4f508d,this[_0x3eacc0(0x50a)]=_0x331312,this[_0x3eacc0(0x554)]=_0x31a61b,this[_0x3eacc0(0x209)]=_0x11b853,this[_0x3eacc0(0x59d)]());}[_0x59f468(0x59d)](){const _0x24a514=_0x59f468;this[_0x24a514(0x50a)]['currentSkeleton$']['pipe'](_0x1eb937(this['dispose$']),_0x29e5a7(_0x22dcf3=>{const _0x254984=_0x24a514;if(_0x22dcf3){const _0x4dce05=_0x22dcf3[_0x254984(0x4c1)];return _0x6f207e(this[_0x254984(0x554)]['getCollabCursors$'](this[_0x254984(0x54f)][_0x254984(0x51a)]),this[_0x254984(0x209)]['currentTheme$'])[_0x254984(0x318)](_0x3968e0(([_0x3f003f,_0x3ef077])=>{const _0x1c2228=new Map();return _0x3f003f['forEach']((_0x452687,_0x166bf2)=>{const _0x2753c2=_0x2eda;if(_0x452687['sheetID']===_0x4dce05){const _0x2c52d7={..._0x452687};_0x2c52d7[_0x2753c2(0x478)]=_0x3ef077[_0x452687['color']],_0x1c2228[_0x2753c2(0x279)](_0x166bf2,_0x2c52d7);}}),{'skeleton':_0x22dcf3,'cursors':_0x1c2228};}));}return _0x38a752({'skeleton':null,'cursors':new Map()});}))[_0x24a514(0x347)](({skeleton:_0x3708e0,cursors:_0xaa7487})=>{const _0x782ab7=_0x24a514;this[_0x782ab7(0x315)](),_0x3708e0&&this[_0x782ab7(0x1e9)](_0x3708e0,_0xaa7487);}),this[_0x24a514(0x50a)][_0x24a514(0x4d4)][_0x24a514(0x347)](_0x2f12ef=>{const _0x2d8a00=_0x24a514;if(_0x2f12ef==null)return;const {skeleton:_0x3c30b2}=_0x2f12ef,{scene:_0x447105}=this[_0x2d8a00(0x54f)];_0x447105[_0x2d8a00(0x31b)][_0x2d8a00(0x3d1)](_0x14f2b0(_0x28eb72=>{const _0x20dbc3=_0x2d8a00;var _0x2d7cf1,_0x18040f;const {offsetX:_0x46289b,offsetY:_0x16d1d3}=_0x28eb72,{x:_0x6f5988,y:_0x27ee20}=_0x447105[_0x20dbc3(0x3b2)](_0x4a7985[_0x20dbc3(0x259)]([_0x46289b,_0x16d1d3])),{scaleX:_0x10bba6,scaleY:_0xea1e81}=_0x447105[_0x20dbc3(0x35b)](),_0x29e024=_0x447105[_0x20dbc3(0x3cf)](_0xa2565b[_0x20dbc3(0x2f3)]),_0x1f7500=_0x447105['getVpScrollXYInfoByPosToVp'](_0x4a7985[_0x20dbc3(0x259)]([_0x6f5988,_0x27ee20]),_0x29e024),_0x4bbddb=_0x3c30b2[_0x20dbc3(0x19d)](_0x46289b,_0x16d1d3,_0x10bba6,_0xea1e81,_0x1f7500);((_0x2d7cf1=this[_0x20dbc3(0x568)])==null?void 0x0:_0x2d7cf1[_0x20dbc3(0x293)])===_0x4bbddb[_0x20dbc3(0x293)]&&((_0x18040f=this['_lastPointer'])==null?void 0x0:_0x18040f[_0x20dbc3(0x382)])===_0x4bbddb[_0x20dbc3(0x382)]||this[_0x20dbc3(0x44e)][_0x20dbc3(0x3b0)](_0x54f95e=>{const _0x3b76fe=_0x20dbc3;_0x54f95e[_0x3b76fe(0x58e)](_0x4bbddb);});},0x64));});}['_updateCollabCursors'](_0x4e4f2e,_0x12fdbb){const _0x281dee=_0x59f468;var _0x52e8a3;const _0x7873b3=(_0x52e8a3=this[_0x281dee(0x50a)][_0x281dee(0x3a4)]())==null?void 0x0:_0x52e8a3['skeleton'];if(!_0x7873b3)return;const _0x5578de=this['_getSheetObject']();if(!_0x5578de)return;this[_0x281dee(0x44e)][_0x281dee(0x3b0)](_0x57b1ce=>{const _0x8176a2=_0x281dee;_0x57b1ce[_0x8176a2(0x27c)]();});const {scene:_0x214483}=_0x5578de,_0x4b06b9=ga(Array[_0x281dee(0x30f)](_0x12fdbb['values']()))[_0x281dee(0x36d)](_0x240629=>{const _0x1a91ed=_0x281dee,{color:_0x2574c7,range:_0x2059d3,name:_0x593e2f,selection:_0x2ae551,sheetID:_0x4e16ba}=_0x240629,{startColumn:_0x6f91,startRow:_0x24731b,endColumn:_0x4876ef,endRow:_0x451ed4}=_0x2059d3,_0x37502f=_0x21c55c(_0x24731b,_0x6f91,_0x214483,_0x7873b3),_0x22125d=_0x21c55c(_0x451ed4,_0x4876ef,_0x214483,_0x7873b3),{columnHeaderHeightAndMarginTop:_0x9a263d}=_0x7873b3,{startX:_0x4f3123,startY:_0x44c761}=_0x37502f,{endX:_0x52035f,endY:_0x260421}=_0x22125d,_0x368b56=_0x52035f-_0x4f3123,_0x45bbc6=_0x260421-_0x44c761,_0x3f9f31={'labelPosition':_0x44c761-_0x9a263d>=rt?_0x1a91ed(0x3ba):_0x1a91ed(0x253),'sheetID':_0x4e16ba,'range':_0x2059d3,'color':_0x2574c7,'name':_0x593e2f,'selection':_0x2ae551,'left':_0x4f3123,'top':_0x44c761,'width':_0x368b56,'height':_0x45bbc6,'evented':!0x1,'zIndex':ma};return new da(_0x593e2f,_0x3f9f31);});_0x214483[_0x281dee(0x419)](_0x4b06b9,_a),this[_0x281dee(0x44e)]=new Set(_0x4b06b9);}[_0x59f468(0x315)](){const _0x404541=_0x59f468;var _0x5d38ef;(_0x5d38ef=this[_0x404541(0x44e)])==null||_0x5d38ef[_0x404541(0x3b0)](_0x132890=>_0x132890[_0x404541(0x1ba)]());}['_getSheetObject'](){const _0x3cd6fa=_0x59f468;return _0x3b93a6(this['_context'][_0x3cd6fa(0x4de)],this[_0x3cd6fa(0x54f)]);}};fs=pa([Qt(0x1,_0x222038(_0x4b35a2)),Qt(0x2,_0x222038(Fe)),Qt(0x3,_0x222038(_0x5e056c))],fs);function ga(_0x5693c6){const _0x28415d=_0x59f468,_0x5c6335=new Map();return _0x5693c6[_0x28415d(0x3b0)](_0x3d309f=>{const _0x155d19=_0x28415d;if(_0x5c6335[_0x155d19(0x309)](_0x3d309f['selection'])){const _0x20d84f=_0x5c6335[_0x155d19(0x25d)](_0x3d309f[_0x155d19(0x38d)]);_0x20d84f['name']+=',\x20'+_0x3d309f[_0x155d19(0x48c)];}else _0x5c6335[_0x155d19(0x279)](_0x3d309f[_0x155d19(0x38d)],_0x3d309f);}),Array[_0x28415d(0x30f)](_0x5c6335[_0x28415d(0x4e9)]());}var es=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x4d8ce6){const _0x5e3af3=_0x59f468;return _0x4d8ce6&&_0x4d8ce6[_0x5e3af3(0x57b)]&&Object[_0x5e3af3(0x1d3)][_0x5e3af3(0x346)][_0x5e3af3(0x3e3)](_0x4d8ce6,_0x5e3af3(0x433))?_0x4d8ce6[_0x5e3af3(0x433)]:_0x4d8ce6;}var ts={'exports':{}},Je={},ri;function Sa(){const _0x2e0fce=_0x59f468;if(ri)return Je;ri=0x1;var _0x485154=_0x2470a1,_0x4b7aef=Symbol[_0x2e0fce(0x44b)]('react.element'),_0x27da55=Symbol[_0x2e0fce(0x44b)](_0x2e0fce(0x2ab)),_0x5f2acc=Object[_0x2e0fce(0x1d3)]['hasOwnProperty'],_0x1be81e=_0x485154['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x2e0fce(0x3c4)],_0x575235={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0xd1a37a(_0x24fc6f,_0xf74e20,_0x1b4379){const _0x5526fd=_0x2e0fce;var _0x1bfd1d,_0x38323f={},_0x327e16=null,_0x4d5944=null;_0x1b4379!==void 0x0&&(_0x327e16=''+_0x1b4379),_0xf74e20['key']!==void 0x0&&(_0x327e16=''+_0xf74e20['key']),_0xf74e20[_0x5526fd(0x3d0)]!==void 0x0&&(_0x4d5944=_0xf74e20[_0x5526fd(0x3d0)]);for(_0x1bfd1d in _0xf74e20)_0x5f2acc['call'](_0xf74e20,_0x1bfd1d)&&!_0x575235[_0x5526fd(0x346)](_0x1bfd1d)&&(_0x38323f[_0x1bfd1d]=_0xf74e20[_0x1bfd1d]);if(_0x24fc6f&&_0x24fc6f['defaultProps']){for(_0x1bfd1d in(_0xf74e20=_0x24fc6f[_0x5526fd(0x3c7)],_0xf74e20))_0x38323f[_0x1bfd1d]===void 0x0&&(_0x38323f[_0x1bfd1d]=_0xf74e20[_0x1bfd1d]);}return{'$$typeof':_0x4b7aef,'type':_0x24fc6f,'key':_0x327e16,'ref':_0x4d5944,'props':_0x38323f,'_owner':_0x1be81e['current']};}return Je[_0x2e0fce(0x30b)]=_0x27da55,Je[_0x2e0fce(0x54a)]=_0xd1a37a,Je[_0x2e0fce(0x400)]=_0xd1a37a,Je;}var ni;function Ia(){const _0x1f94f4=_0x59f468;return ni||(ni=0x1,ts[_0x1f94f4(0x3b4)]=Sa()),ts[_0x1f94f4(0x3b4)];}var De=Ia(),te=function(){const _0x390895=_0x59f468;return te=Object[_0x390895(0x467)]||function(_0x207ed5){const _0x2ba969=_0x390895;for(var _0x5454f2,_0x5854b0=0x1,_0x409320=arguments['length'];_0x5854b0<_0x409320;_0x5854b0++){_0x5454f2=arguments[_0x5854b0];for(var _0x14570e in _0x5454f2)Object[_0x2ba969(0x1d3)][_0x2ba969(0x346)][_0x2ba969(0x3e3)](_0x5454f2,_0x14570e)&&(_0x207ed5[_0x14570e]=_0x5454f2[_0x14570e]);}return _0x207ed5;},te[_0x390895(0x593)](this,arguments);},Ca=function(_0x5e0d36,_0x54b851){const _0x48062c=_0x59f468;var _0xe0d31a={};for(var _0x51e184 in _0x5e0d36)Object[_0x48062c(0x1d3)]['hasOwnProperty'][_0x48062c(0x3e3)](_0x5e0d36,_0x51e184)&&_0x54b851[_0x48062c(0x3e0)](_0x51e184)<0x0&&(_0xe0d31a[_0x51e184]=_0x5e0d36[_0x51e184]);if(_0x5e0d36!=null&&typeof Object[_0x48062c(0x441)]==_0x48062c(0x51c)){for(var _0x2933c1=0x0,_0x51e184=Object[_0x48062c(0x441)](_0x5e0d36);_0x2933c1<_0x51e184[_0x48062c(0x21a)];_0x2933c1++)_0x54b851[_0x48062c(0x3e0)](_0x51e184[_0x2933c1])<0x0&&Object[_0x48062c(0x1d3)][_0x48062c(0x487)]['call'](_0x5e0d36,_0x51e184[_0x2933c1])&&(_0xe0d31a[_0x51e184[_0x2933c1]]=_0x5e0d36[_0x51e184[_0x2933c1]]);}return _0xe0d31a;},Ns=_0x3575fb(function(_0x402f40,_0x7fbd21){const _0x548583=_0x59f468;var _0x21f33b=_0x402f40['icon'],_0x376f06=_0x402f40['id'],_0x233a85=_0x402f40[_0x548583(0x2b4)],_0x114c00=_0x402f40[_0x548583(0x521)],_0x3309ea=Ca(_0x402f40,[_0x548583(0x1c1),'id',_0x548583(0x2b4),_0x548583(0x521)]),_0x593a3b=_0x548583(0x376)['concat'](_0x376f06,'\x20')[_0x548583(0x340)](_0x233a85||'')[_0x548583(0x420)](),_0x412515=_0x516cf1('_'[_0x548583(0x340)](Ta()));return Ji(_0x21f33b,''[_0x548583(0x340)](_0x376f06),{'defIds':_0x21f33b[_0x548583(0x225)],'idSuffix':_0x412515[_0x548583(0x1b5)]},te({'ref':_0x7fbd21,'className':_0x593a3b},_0x3309ea),_0x114c00);});function Ji(_0x5d2b01,_0x4e9179,_0xd680a5,_0x27e349,_0x49f662){const _0x282caa=_0x59f468;return _0x3d1e83(_0x5d2b01['tag'],te(te({'key':_0x4e9179},Ea(_0x5d2b01,_0xd680a5,_0x49f662)),_0x27e349),(ba(_0x5d2b01,_0xd680a5)[_0x282caa(0x423)]||[])[_0x282caa(0x36d)](function(_0x57fac5,_0x180be3){const _0x99a5d6=_0x282caa;return Ji(_0x57fac5,''[_0x99a5d6(0x340)](_0x4e9179,'-')['concat'](_0x5d2b01[_0x99a5d6(0x2d6)],'-')[_0x99a5d6(0x340)](_0x180be3),_0xd680a5,void 0x0,_0x49f662);}));}function Ea(_0x34a8f9,_0x53aa86,_0x575ada){const _0x3195ff=_0x59f468;var _0x186015=te({},_0x34a8f9['attrs']);_0x575ada!=null&&_0x575ada[_0x3195ff(0x430)]&&_0x186015[_0x3195ff(0x3fd)]==='colorChannel1'&&(_0x186015['fill']=_0x575ada['colorChannel1']);var _0x834784=_0x53aa86[_0x3195ff(0x225)];return!_0x834784||_0x834784[_0x3195ff(0x21a)]===0x0||(_0x34a8f9[_0x3195ff(0x2d6)]===_0x3195ff(0x273)&&_0x186015[_0x3195ff(0x549)]&&(_0x186015[_0x3195ff(0x549)]=_0x186015[_0x3195ff(0x549)]+_0x53aa86[_0x3195ff(0x378)]),Object[_0x3195ff(0x2f2)](_0x186015)[_0x3195ff(0x3b0)](function(_0x374bfb){const _0x4ce457=_0x3195ff;var _0x1ca2ae=_0x374bfb[0x0],_0x50f3fd=_0x374bfb[0x1];typeof _0x50f3fd==_0x4ce457(0x2fb)&&(_0x186015[_0x1ca2ae]=_0x50f3fd[_0x4ce457(0x2ce)](/url\(#(.*)\)/,_0x4ce457(0x55a)[_0x4ce457(0x340)](_0x53aa86[_0x4ce457(0x378)],')')));})),_0x186015;}function ba(_0x45e49b,_0x178e8f){const _0x1ce5c4=_0x59f468;var _0x330bc4,_0x8d3cea=_0x178e8f[_0x1ce5c4(0x225)];return!_0x8d3cea||_0x8d3cea[_0x1ce5c4(0x21a)]===0x0?_0x45e49b:_0x45e49b[_0x1ce5c4(0x2d6)]==='defs'&&(!((_0x330bc4=_0x45e49b[_0x1ce5c4(0x423)])===null||_0x330bc4===void 0x0)&&_0x330bc4[_0x1ce5c4(0x21a)])?te(te({},_0x45e49b),{'children':_0x45e49b['children'][_0x1ce5c4(0x36d)](function(_0x2af8d6){const _0x4ffa94=_0x1ce5c4;return typeof _0x2af8d6[_0x4ffa94(0x4b0)]['id']==_0x4ffa94(0x2fb)&&_0x8d3cea&&_0x8d3cea[_0x4ffa94(0x3e0)](_0x2af8d6[_0x4ffa94(0x4b0)]['id'])>-0x1?te(te({},_0x2af8d6),{'attrs':te(te({},_0x2af8d6['attrs']),{'id':_0x2af8d6[_0x4ffa94(0x4b0)]['id']+_0x178e8f[_0x4ffa94(0x378)]})}):_0x2af8d6;})}):_0x45e49b;}function Ta(){const _0x403c5e=_0x59f468;return Math['random']()[_0x403c5e(0x4a1)](0x24)[_0x403c5e(0x3a1)](0x2,0x8);}Ns[_0x59f468(0x277)]='UniverIcon';var Ra={'tag':'svg','attrs':{'fill':'none','viewBox':_0x59f468(0x4ee),'width':'1em','height':_0x59f468(0x3dc)},'children':[{'tag':'g','attrs':{'clipPath':_0x59f468(0x4e3)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x59f468(0x2d3),'strokeLinecap':_0x59f468(0x26b),'strokeLinejoin':_0x59f468(0x26b),'strokeWidth':1.2}}]},{'tag':_0x59f468(0x453),'attrs':{},'children':[{'tag':_0x59f468(0x511),'attrs':{'id':_0x59f468(0x2ed)},'children':[{'tag':'path','attrs':{'fill':_0x59f468(0x395),'d':_0x59f468(0x360)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Zi=_0x3575fb(function(_0x3f35bf,_0x1bb87a){return _0x3d1e83(Ns,Object['assign']({},_0x3f35bf,{'id':'off-line-single','ref':_0x1bb87a,'icon':Ra}));});Zi[_0x59f468(0x277)]=_0x59f468(0x336);var Oa={'tag':_0x59f468(0x1f0),'attrs':{'fill':_0x59f468(0x250),'viewBox':_0x59f468(0x45b),'width':_0x59f468(0x3dc),'height':_0x59f468(0x3dc)},'children':[{'tag':'g','attrs':{'clipPath':_0x59f468(0x54c)},'children':[{'tag':_0x59f468(0x4e5),'attrs':{'stroke':_0x59f468(0x2fc),'d':_0x59f468(0x5ac),'strokeLinecap':_0x59f468(0x26b),'strokeLinejoin':_0x59f468(0x26b),'strokeWidth':1.2}}]},{'tag':_0x59f468(0x453),'attrs':{},'children':[{'tag':_0x59f468(0x511),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x59f468(0x4e5),'attrs':{'fill':_0x59f468(0x395),'d':'M0\x200H16V16H0z','transform':_0x59f468(0x516)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Qi=_0x3575fb(function(_0x22f255,_0x55aca1){const _0x55e0e6=_0x59f468;return _0x3d1e83(Ns,Object[_0x55e0e6(0x467)]({},_0x22f255,{'id':_0x55e0e6(0x4f1),'ref':_0x55aca1,'icon':Oa}));});Qi['displayName']=_0x59f468(0x4b9);function er(_0xd9cbb9){const _0xecfd1d=_0x59f468;var _0x15d63a,_0x2555b6,_0x40bcf5='';if(typeof _0xd9cbb9==_0xecfd1d(0x2fb)||typeof _0xd9cbb9==_0xecfd1d(0x567))_0x40bcf5+=_0xd9cbb9;else{if(typeof _0xd9cbb9=='object'){if(Array['isArray'](_0xd9cbb9)){var _0x463a9b=_0xd9cbb9[_0xecfd1d(0x21a)];for(_0x15d63a=0x0;_0x15d63a<_0x463a9b;_0x15d63a++)_0xd9cbb9[_0x15d63a]&&(_0x2555b6=er(_0xd9cbb9[_0x15d63a]))&&(_0x40bcf5&&(_0x40bcf5+='\x20'),_0x40bcf5+=_0x2555b6);}else{for(_0x2555b6 in _0xd9cbb9)_0xd9cbb9[_0x2555b6]&&(_0x40bcf5&&(_0x40bcf5+='\x20'),_0x40bcf5+=_0x2555b6);}}}return _0x40bcf5;}function ya(){const _0x30cc63=_0x59f468;for(var _0x54b70f,_0x18f8c3,_0x2e4d16=0x0,_0x440cc4='',_0x2916aa=arguments[_0x30cc63(0x21a)];_0x2e4d16<_0x2916aa;_0x2e4d16++)(_0x54b70f=arguments[_0x2e4d16])&&(_0x18f8c3=er(_0x54b70f))&&(_0x440cc4&&(_0x440cc4+='\x20'),_0x440cc4+=_0x18f8c3);return _0x440cc4;}const wa=_0x59f468(0x4b1),Da=_0x59f468(0x210),Pa=_0x59f468(0x3f5),Ua='univer-online',Na=_0x59f468(0x366),Ze={'onlineStatusIcon':wa,'onlineStatusTitle':Da,'onlineStatus':Pa,'online':Ua,'offline':Na};function Aa(_0x7e92f6){const _0x27e7af=_0x59f468;switch(_0x7e92f6){case J['OFFLINE']:return'collabStatus.offline';case J[_0x27e7af(0x580)]:return'collabStatus.conflict';case J[_0x27e7af(0x2d1)]:return _0x27e7af(0x50f);case J[_0x27e7af(0x438)]:return _0x27e7af(0x27e);case J[_0x27e7af(0x552)]:case J[_0x27e7af(0x4db)]:return'collabStatus.syncing';case J[_0x27e7af(0x4ec)]:case J['PENDING']:return _0x27e7af(0x46a);}}function Ma(_0xc85610){const _0x3f0305=_0x59f468,{status$:_0x12571f}=_0xc85610,_0x37589f=_0x1bba2d(_0x12571f,J['NOT_COLLAB']),_0x38fa30=_0x45c214(_0x52880d),_0x33a7d8=_0x45c214(Me),_0x3b17f3=_0x37589f!==J['OFFLINE'],_0x58f942=_0x38fa30['t'](Aa(_0x37589f)),_0x4aafba=ya(Ze[_0x3f0305(0x416)],{[Ze[_0x3f0305(0x56b)]]:_0x3b17f3,[Ze[_0x3f0305(0x553)]]:!_0x3b17f3}),_0x47d099=_0x3b17f3?De[_0x3f0305(0x54a)](Qi,{}):De[_0x3f0305(0x54a)](Zi,{}),_0x269edb=_0x585c84(()=>{const _0x284788=_0x3f0305;_0x3b17f3||_0x33a7d8[_0x284788(0x587)]();},[_0x3b17f3,_0x33a7d8]);function _0x1dbef7(){const _0x116011=_0x3f0305;return De[_0x116011(0x400)](_0x116011(0x30d),{'className':_0x4aafba,'onClick':_0x269edb,'children':[De['jsx'](_0x116011(0x30d),{'className':Ze[_0x116011(0x36f)],'children':_0x47d099}),De[_0x116011(0x54a)](_0x116011(0x30d),{'className':Ze['onlineStatusTitle'],'children':_0x58f942})]});}return _0x3b17f3?_0x1dbef7():De['jsx'](_0x27c3d7,{'title':_0x38fa30['t']('collab-client.tooltip.reconnect'),'children':_0x1dbef7()});}var xa=Object[_0x59f468(0x29a)],La=Object[_0x59f468(0x368)],$a=(_0x101e69,_0x527443,_0x161fbd,_0x3d86d6)=>{const _0x537c46=_0x59f468;for(var _0x344384=_0x3d86d6>0x1?void 0x0:_0x3d86d6?La(_0x527443,_0x161fbd):_0x527443,_0x20629b=_0x101e69[_0x537c46(0x21a)]-0x1,_0x5d05f2;_0x20629b>=0x0;_0x20629b--)(_0x5d05f2=_0x101e69[_0x20629b])&&(_0x344384=(_0x3d86d6?_0x5d05f2(_0x527443,_0x161fbd,_0x344384):_0x5d05f2(_0x344384))||_0x344384);return _0x3d86d6&&_0x344384&&xa(_0x527443,_0x161fbd,_0x344384),_0x344384;},ht=(_0x49fdbb,_0x25eefd)=>(_0x5e48e2,_0x23ad2c)=>_0x25eefd(_0x5e48e2,_0x23ad2c,_0x49fdbb);let Nt=class extends _0x19fe63{constructor(_0x2f306d,_0x5ee46e,_0x3bd581,_0x54cd7e){const _0x3cd82a=_0x59f468;super(),g(this,_0x3cd82a(0x1c6),new _0x1f1fc6(J[_0x3cd82a(0x438)])),(this[_0x3cd82a(0x525)]=_0x2f306d,this[_0x3cd82a(0x4d3)]=_0x5ee46e,this[_0x3cd82a(0x351)]=_0x3bd581,this[_0x3cd82a(0x364)]=_0x54cd7e,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x59f468(0x494)](){const _0x2e4ba0=_0x59f468;this[_0x2e4ba0(0x4e2)](this['_univerInstanceService'][_0x2e4ba0(0x57d)]['pipe'](_0x2bc5b0(()=>{const _0x75ee19=_0x2e4ba0,_0x33bc4a=this[_0x75ee19(0x525)][_0x75ee19(0x370)]();return _0x33bc4a?this[_0x75ee19(0x364)][_0x75ee19(0x2b5)](_0x33bc4a[_0x75ee19(0x25c)]()):_0x38a752(null);}),_0x2bc5b0(_0x34d9f3=>_0x34d9f3?_0x34d9f3[_0x2e4ba0(0x215)]:_0x38a752(J[_0x2e4ba0(0x438)])))[_0x2e4ba0(0x347)](_0x241734=>{const _0x416afa=_0x2e4ba0;this[_0x416afa(0x1c6)][_0x416afa(0x307)](_0x241734);}));}[_0x59f468(0x32a)](){const _0x2f49b5=_0x59f468;this[_0x2f49b5(0x4e2)](this['_uiPartsService'][_0x2f49b5(0x2ef)](_0x17cc0c[_0x2f49b5(0x361)],()=>_0x4ec1ab(Ha({'status$':this['_status$']['asObservable']()}),this[_0x2f49b5(0x351)])));}};Nt=$a([ht(0x0,_0xd7de45),ht(0x1,_0x52c347),ht(0x2,_0x222038(_0x2e1c56)),ht(0x3,_0x222038(it))],Nt);function Ha(_0x47a185){const {status$:_0x47daf0}=_0x47a185;return function(){const _0x1873f6=_0x2eda;return De[_0x1873f6(0x54a)](Ma,{'status$':_0x47daf0});};}const tr=_0x4fa8ac(_0x59f468(0x26d));var ja=Object[_0x59f468(0x29a)],Ba=Object[_0x59f468(0x368)],ka=(_0x218d3f,_0x2e5e41,_0x26716a,_0xafc503)=>{const _0x737054=_0x59f468;for(var _0x3e887e=_0xafc503>0x1?void 0x0:_0xafc503?Ba(_0x2e5e41,_0x26716a):_0x2e5e41,_0x21b4fe=_0x218d3f[_0x737054(0x21a)]-0x1,_0x53c10b;_0x21b4fe>=0x0;_0x21b4fe--)(_0x53c10b=_0x218d3f[_0x21b4fe])&&(_0x3e887e=(_0xafc503?_0x53c10b(_0x2e5e41,_0x26716a,_0x3e887e):_0x53c10b(_0x3e887e))||_0x3e887e);return _0xafc503&&_0x3e887e&&ja(_0x2e5e41,_0x26716a,_0x3e887e),_0x3e887e;},Be=(_0x3f108d,_0x150200)=>(_0x1179d6,_0x184295)=>_0x150200(_0x1179d6,_0x184295,_0x3f108d);let At=class extends _0x2c59cd{constructor(_0x5cea6b,_0x1d32a4,_0x3c0c82,_0x40448f,_0x1a8b66,_0x4eca1d){const _0x1e5136=_0x59f468;super(),this[_0x1e5136(0x4eb)]=_0x5cea6b,this[_0x1e5136(0x3b6)]=_0x1d32a4,this['_commandService']=_0x3c0c82,this[_0x1e5136(0x1ca)]=_0x40448f,this[_0x1e5136(0x27a)]=_0x1a8b66,_0x4eca1d?_0x4eca1d==null||_0x4eca1d['whenReady']()[_0x1e5136(0x4dd)](()=>this[_0x1e5136(0x59d)]()):(this[_0x1e5136(0x3b6)][_0x1e5136(0x48b)](_0x1e5136(0x560),_0x1e5136(0x2dc)),this[_0x1e5136(0x59d)]());}async[_0x59f468(0x59d)](){const _0x1d40eb=_0x59f468,_0x9716c0=this[_0x1d40eb(0x4eb)][_0x1d40eb(0x3ec)](_0x1d40eb(0x4de)),_0x18f8cf=this[_0x1d40eb(0x4eb)][_0x1d40eb(0x3ec)](_0x1d40eb(0x2b2));if(!_0x9716c0||!_0x18f8cf){this[_0x1d40eb(0x3b6)][_0x1d40eb(0x48b)](_0x1d40eb(0x560),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x18f8cf)){case ae[_0x1d40eb(0x2b0)]:{const _0x39fc89=await this[_0x1d40eb(0x312)](_0x9716c0);this[_0x1d40eb(0x2f1)](_0x39fc89);break;}case ae[_0x1d40eb(0x4f9)]:{await this[_0x1d40eb(0x289)](_0x9716c0);break;}default:{this[_0x1d40eb(0x3b6)][_0x1d40eb(0x1ec)](_0x1d40eb(0x560),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x59f468(0x2f1)](_0x5eb710){const _0x65c87f=_0x59f468;await this[_0x65c87f(0x4a3)](_0x5eb710),_0x5eb710['activeSheet$']['pipe'](_0x2eaf5f(this[_0x65c87f(0x2c5)]))[_0x65c87f(0x347)](_0x3401d3=>{const _0x386a14=_0x65c87f;_0x3401d3&&this[_0x386a14(0x39d)](_0x3401d3);}),this[_0x65c87f(0x4eb)]['urlChange$']['pipe'](_0x2eaf5f(this[_0x65c87f(0x2c5)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x5eb710));}[_0x59f468(0x39d)](_0xf0543,_0x5cb57b=!0x1){const _0x1a1e24=_0x59f468,_0x1ae7fe=this[_0x1a1e24(0x4eb)][_0x1a1e24(0x3ec)](_0x1a1e24(0x21d));_0xf0543[_0x1a1e24(0x51d)]()!==_0x1ae7fe&&this[_0x1a1e24(0x4eb)][_0x1a1e24(0x4f8)](_0x1a1e24(0x21d),_0xf0543['getSheetId'](),_0x5cb57b);}async[_0x59f468(0x4a3)](_0x5b654e){const _0x5de28b=_0x59f468;var _0x4557cd;const _0x4848a4=this[_0x5de28b(0x4eb)][_0x5de28b(0x3ec)](_0x5de28b(0x21d));if(!_0x4848a4||!_0x5b654e['getSheetBySheetId'](_0x4848a4)){const _0x1c16b1=_0x5b654e[_0x5de28b(0x59c)]()[0x0],_0x4612b2=_0x5b654e['getSheetBySheetId'](_0x1c16b1);if(!_0x4612b2)return;this[_0x5de28b(0x39d)](_0x4612b2,!0x0),await this[_0x5de28b(0x54d)]['executeCommand'](_0x4cb6da['id'],{'unitId':_0x5b654e['getUnitId'](),'subUnitId':_0x1c16b1});return;}((_0x4557cd=_0x5b654e[_0x5de28b(0x561)]())==null?void 0x0:_0x4557cd['getSheetId']())!==_0x4848a4&&await this['_commandService']['executeCommand'](_0x4cb6da['id'],{'unitId':_0x5b654e['getUnitId'](),'subUnitId':_0x4848a4});}async[_0x59f468(0x312)](_0x3af50c){const _0x1b2dda=_0x59f468;let _0x2d7e04=0x0;const _0xabfd7=await this[_0x1b2dda(0x1ca)]['loadOfflineData'](_0x3af50c);return _0xabfd7&&(_0xabfd7['awaitingChangeset']||_0xabfd7['mutations']['length']!==0x0)&&(_0x2d7e04=_0xabfd7[_0x1b2dda(0x4bc)]),_0x2d7e04===0x0&&this[_0x1b2dda(0x3b6)][_0x1b2dda(0x48b)](_0x1b2dda(0x560),_0x1b2dda(0x389)),this['_snapshotService'][_0x1b2dda(0x1a5)](_0x3af50c,_0x2d7e04);}async[_0x59f468(0x289)](_0x5e9fc3){const _0x49e2a6=_0x59f468;let _0x112472=0x0;const _0x131578=await this['_localCacheService']['loadOfflineData'](_0x5e9fc3);return _0x131578&&(_0x131578['awaitingChangeset']||_0x131578[_0x49e2a6(0x1a2)]['length']!==0x0)&&(_0x112472=_0x131578[_0x49e2a6(0x4bc)]),_0x112472===0x0&&this[_0x49e2a6(0x3b6)]['debug']('[DataLoaderController]',_0x49e2a6(0x389)),this['_snapshotService'][_0x49e2a6(0x5b1)](_0x5e9fc3,_0x112472);}};At=ka([Be(0x0,tr),Be(0x1,_0x37805d),Be(0x2,_0x1e017f),Be(0x3,_0x222038(z)),Be(0x4,_0x222038(_0x1381aa)),Be(0x5,_0x3a5345(_0x45ceae))],At);var Wa=Object[_0x59f468(0x29a)],Fa=Object[_0x59f468(0x368)],Va=(_0x5c9159,_0x198368,_0x413f15,_0x45cf08)=>{const _0xa2406c=_0x59f468;for(var _0xfcf9a=_0x45cf08>0x1?void 0x0:_0x45cf08?Fa(_0x198368,_0x413f15):_0x198368,_0x1cda40=_0x5c9159[_0xa2406c(0x21a)]-0x1,_0x176533;_0x1cda40>=0x0;_0x1cda40--)(_0x176533=_0x5c9159[_0x1cda40])&&(_0xfcf9a=(_0x45cf08?_0x176533(_0x198368,_0x413f15,_0xfcf9a):_0x176533(_0xfcf9a))||_0xfcf9a);return _0x45cf08&&_0xfcf9a&&Wa(_0x198368,_0x413f15,_0xfcf9a),_0xfcf9a;},oi=(_0x1cbb66,_0x3089b2)=>(_0x465026,_0x13fbd1)=>_0x3089b2(_0x465026,_0x13fbd1,_0x1cbb66);const Ga=_0x59f468(0x49a),Ya=_0x59f468(0x1fe);let Mt=class extends _0x19fe63{constructor(_0x6fd784,_0x57419c){const _0x5a79d9=_0x59f468;super(),this['_univerInstanceService']=_0x6fd784,this[_0x5a79d9(0x58b)]=_0x57419c,this['_init']();}[_0x59f468(0x59d)](){const _0x2b96a6=_0x59f468;this[_0x2b96a6(0x4e2)](this[_0x2b96a6(0x525)][_0x2b96a6(0x57d)]['subscribe'](()=>{const _0x2d349a=_0x2b96a6;var _0x533e1b;const _0x1b43d1=this[_0x2d349a(0x525)][_0x2d349a(0x370)]();let _0x69803c=(_0x533e1b=this[_0x2d349a(0x58b)][_0x2d349a(0x55d)](Ga))!=null?_0x533e1b:Ya;_0x1b43d1 instanceof _0x2b04ff&&(_0x69803c=_0x1b43d1['name']),document[_0x2d349a(0x48e)]=_0x69803c;}));}};Mt=Va([oi(0x0,_0xd7de45),oi(0x1,_0x486aed)],Mt);var Ka=Object[_0x59f468(0x29a)],qa=Object[_0x59f468(0x368)],za=(_0x4be214,_0x375efe,_0x23c1b4,_0x104d4f)=>{const _0x368d1a=_0x59f468;for(var _0x2adf89=_0x104d4f>0x1?void 0x0:_0x104d4f?qa(_0x375efe,_0x23c1b4):_0x375efe,_0xf4bb2=_0x4be214[_0x368d1a(0x21a)]-0x1,_0x3f3dda;_0xf4bb2>=0x0;_0xf4bb2--)(_0x3f3dda=_0x4be214[_0xf4bb2])&&(_0x2adf89=(_0x104d4f?_0x3f3dda(_0x375efe,_0x23c1b4,_0x2adf89):_0x3f3dda(_0x2adf89))||_0x2adf89);return _0x104d4f&&_0x2adf89&&Ka(_0x375efe,_0x23c1b4,_0x2adf89),_0x2adf89;},ss=(_0x31a39a,_0xe60cfc)=>(_0x1efa02,_0x3fa4d3)=>_0xe60cfc(_0x1efa02,_0x3fa4d3,_0x31a39a);let xt=class{constructor(_0x21f29b,_0x3cb867,_0x57dd8d){const _0x5e405d=_0x59f468;this['_configService']=_0x21f29b,this[_0x5e405d(0x2e7)]=_0x3cb867,this['localeService']=_0x57dd8d,this[_0x5e405d(0x43e)]();}[_0x59f468(0x43e)](){const _0xf0b163=_0x59f468;this[_0xf0b163(0x2e7)][_0xf0b163(0x442)]({'priority':0x1,'interceptor':(_0x2e244a,_0x5eda27)=>_0x5eda27(_0x2e244a)['pipe'](_0x3b543c(async _0x39d736=>{const _0x506e55=_0xf0b163,_0x128310=_0x39d736;if(_0x128310[_0x506e55(0x1e8)]===0x191&&window[_0x506e55(0x1e6)](this['localeService']['t'](_0x506e55(0x1f6)))){const _0xb625c=window[_0x506e55(0x449)](window[_0x506e55(0x30e)][_0x506e55(0x2f0)]);window[_0x506e55(0x30e)][_0x506e55(0x2f0)]=this[_0x506e55(0x21b)]()+'?url='+_0xb625c;}return _0x128310;}))});}[_0x59f468(0x21b)](){const _0x100d3d=_0x59f468;var _0x135783,_0x4242e8;const _0x5bec0d=this[_0x100d3d(0x58b)][_0x100d3d(0x55d)]($n),_0xb60bad=this[_0x100d3d(0x58b)][_0x100d3d(0x55d)](Q);return(_0x4242e8=(_0x135783=_0xb60bad==null?void 0x0:_0xb60bad[_0x100d3d(0x1bc)])!=null?_0x135783:_0x5bec0d)!=null?_0x4242e8:Hn;}};xt=za([ss(0x0,_0x486aed),ss(0x1,_0x222038(_0x216536)),ss(0x2,_0x222038(_0x52880d))],xt);var Xa=Object[_0x59f468(0x29a)],Ja=Object[_0x59f468(0x368)],Za=(_0x854e93,_0x4b43c3,_0x78e6c7,_0x570072)=>{const _0x1dfb56=_0x59f468;for(var _0xcac14c=_0x570072>0x1?void 0x0:_0x570072?Ja(_0x4b43c3,_0x78e6c7):_0x4b43c3,_0x46d04f=_0x854e93[_0x1dfb56(0x21a)]-0x1,_0x8430fa;_0x46d04f>=0x0;_0x46d04f--)(_0x8430fa=_0x854e93[_0x46d04f])&&(_0xcac14c=(_0x570072?_0x8430fa(_0x4b43c3,_0x78e6c7,_0xcac14c):_0x8430fa(_0xcac14c))||_0xcac14c);return _0x570072&&_0xcac14c&&Xa(_0x4b43c3,_0x78e6c7,_0xcac14c),_0xcac14c;},ai=(_0x1b5a50,_0xa08d83)=>(_0x62e21e,_0x3eab98)=>_0xa08d83(_0x62e21e,_0x3eab98,_0x1b5a50);const sr=_0x59f468(0x5a0),Qa='/universer-api/authz';let vs=class extends _0x19fe63{constructor(_0x582a96,_0x454172){const _0x3953ea=_0x59f468;super(),this[_0x3953ea(0x3f8)]=_0x582a96,this[_0x3953ea(0x58b)]=_0x454172,this[_0x3953ea(0x52e)]();}['_initMergeInterceptor'](){const _0x53a2ee=_0x59f468,_0x33a361=this;this['disposeWithMe'](this[_0x53a2ee(0x3f8)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x388d52({'isMatch'(_0x560da9){const _0x5de8a4=_0x53a2ee;var _0x297c3e;if(_0x560da9[_0x5de8a4(0x1ab)]===_0x5de8a4(0x592)&&((_0x297c3e=_0x560da9[_0x5de8a4(0x25e)])!=null&&_0x297c3e[_0x5de8a4(0x444)])){const {objectID:_0x20f729,objectType:_0x1d660c}=_0x560da9[_0x5de8a4(0x25e)][_0x5de8a4(0x444)]||{};if(!_0x20f729||_0x1d660c===void 0x0)return!0x1;const _0x4e931f=_0x33a361['_getAPIPrefixPath']()+'/'+_0x1d660c+_0x5de8a4(0x5b0)+_0x20f729+_0x5de8a4(0x1f5);if(_0x560da9[_0x5de8a4(0x2cb)]===_0x4e931f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x723613){const _0x567287=_0x53a2ee;var _0x53d5c9;return(_0x53d5c9=_0x723613[_0x567287(0x25e)])==null?void 0x0:_0x53d5c9[_0x567287(0x444)];},'mergeParamsToRequest'(_0x116077,_0xfbcbab){const _0xa6093c=_0x53a2ee,_0x544d59=_0x33a361[_0xa6093c(0x2e4)]()+_0xa6093c(0x249),_0x22c109=_0x116077[_0xa6093c(0x50d)]((_0x4eb040,_0x117ec4)=>{const _0x2c537e=_0xa6093c,{unitID:_0x208ecd,objectID:_0xf5d0de,objectType:_0x469929,actions:_0x2d0a6e}=_0x117ec4;return _0x4eb040[_0x208ecd]||(_0x4eb040[_0x208ecd]={}),_0x4eb040[_0x208ecd][_0xf5d0de]||(_0x4eb040[_0x208ecd][_0xf5d0de]={'objectID':_0xf5d0de,'objectType':_0x469929,'actions':[]}),_0x4eb040[_0x208ecd][_0xf5d0de]['actions'][_0x2c537e(0x4cf)](..._0x2d0a6e),_0x4eb040;},{}),_0x35496c=[];for(const _0x41cd60 in _0x22c109)for(const _0x3ec39a in _0x22c109[_0x41cd60]){const {actions:_0x61369e,objectType:_0x5088ae}=_0x22c109[_0x41cd60][_0x3ec39a],_0x386c7f=[...new Set(_0x61369e)];_0x35496c['push']({'unitID':_0x41cd60,'objectID':_0x3ec39a,'objectType':_0x5088ae,'actions':_0x386c7f});}return new _0x55add6(_0xa6093c(0x592),_0x544d59,{'headers':_0xfbcbab[_0xa6093c(0x412)],'withCredentials':_0xfbcbab['withCredentials'],'responseType':_0xfbcbab[_0xa6093c(0x406)],'body':{'requests':_0x35496c}});}},{'distributeResult'(_0x34c36e,_0x463ac8){const _0x57fcee=_0x53a2ee,{objectActions:_0x51f830}=_0x34c36e;return _0x463ac8[_0x57fcee(0x36d)](_0x150b90=>{const _0x30d359=_0x57fcee,{unitID:_0x5665f8,objectID:_0x43da1e,actions:_0x48487c}=_0x150b90,_0xca1387=_0x51f830[_0x30d359(0x2a5)](_0x19ab1a=>_0x19ab1a[_0x30d359(0x405)]===_0x5665f8&&_0x19ab1a['objectID']===_0x43da1e),_0x41fca0=_0x48487c[_0x30d359(0x36d)](_0x1b7620=>_0xca1387==null?void 0x0:_0xca1387[_0x30d359(0x584)]['find'](_0x1e8125=>_0x1e8125[_0x30d359(0x202)]===_0x1b7620))[_0x30d359(0x532)](_0x302a3c=>!!_0x302a3c);return{'config':_0x150b90,'result':{'actions':_0x41fca0,'error':_0x34c36e[_0x30d359(0x1ec)]}};});}})}));}[_0x59f468(0x2e4)](){const _0x3105fe=_0x59f468;var _0x48c7eb,_0x556ae2;const _0x5a1609=this['_configService'][_0x3105fe(0x55d)](sr),_0x44c55e=this['_configService'][_0x3105fe(0x55d)](Q);return(_0x556ae2=(_0x48c7eb=_0x44c55e==null?void 0x0:_0x44c55e[_0x3105fe(0x204)])!=null?_0x48c7eb:_0x5a1609)!=null?_0x556ae2:Qa;}async[_0x59f468(0x252)](_0x43e7c2){const _0x6d2e2f=_0x59f468,_0x2ee433=this[_0x6d2e2f(0x2e4)]()+'/'+_0x43e7c2[_0x6d2e2f(0x40e)]+'/object';return(await this[_0x6d2e2f(0x3f8)][_0x6d2e2f(0x32e)](_0x2ee433,{'body':_0x43e7c2}))[_0x6d2e2f(0x444)]['objectID']||'';}async[_0x59f468(0x4c5)](_0x3f27b7){const _0x3f23bb=_0x59f468,_0x35a60a=this['_getAPIPrefixPath']()+_0x3f23bb(0x390);return(await this[_0x3f23bb(0x3f8)]['post'](_0x35a60a,{'body':_0x3f27b7}))['body'][_0x3f23bb(0x2e9)];}async[_0x59f468(0x44f)](_0x2c0c6a){const _0x33fd40=_0x59f468,_0x2bc83b=this[_0x33fd40(0x2e4)]()+'/'+_0x2c0c6a[_0x33fd40(0x40e)]+'/object/'+_0x2c0c6a[_0x33fd40(0x426)];await this[_0x33fd40(0x3f8)]['put'](_0x2bc83b,{'body':_0x2c0c6a});}async['allowed'](_0xf8d1b3){const _0x576cd6=_0x59f468,_0x212ac3=this[_0x576cd6(0x2e4)]()+'/'+_0xf8d1b3['objectType']+_0x576cd6(0x5b0)+_0xf8d1b3['objectID']+_0x576cd6(0x1f5);return(await this[_0x576cd6(0x3f8)]['post'](_0x212ac3,{'body':_0xf8d1b3}))['body'][_0x576cd6(0x584)];}async[_0x59f468(0x40b)](_0x564537){const _0x14ffa6=_0x59f468,_0xdcb8a5=this['_getAPIPrefixPath']()+_0x14ffa6(0x249);return(await this[_0x14ffa6(0x3f8)][_0x14ffa6(0x32e)](_0xdcb8a5,{'body':{'requests':_0x564537}}))[_0x14ffa6(0x444)]['objectActions'];}async[_0x59f468(0x4ce)](_0x447cba){const _0x482b03=_0x59f468,_0xfcd1b1=this[_0x482b03(0x2e4)]()+'/'+_0x447cba[_0x482b03(0x40e)]+_0x482b03(0x222),_0x2b5af2=await this[_0x482b03(0x3f8)][_0x482b03(0x32e)](_0xfcd1b1,{'body':_0x447cba});return{'roles':_0x2b5af2[_0x482b03(0x444)][_0x482b03(0x527)],'actions':_0x2b5af2[_0x482b03(0x444)][_0x482b03(0x584)]};}async[_0x59f468(0x2ff)](_0x214a19){const _0x575b0c=_0x59f468,_0x504311=this[_0x575b0c(0x2e4)]()+_0x575b0c(0x46e);await this[_0x575b0c(0x3f8)]['delete'](_0x504311,{'params':{'collaboratorID':_0x214a19[_0x575b0c(0x446)],'objectID':_0x214a19[_0x575b0c(0x426)],'unitID':_0x214a19[_0x575b0c(0x405)]}});}async[_0x59f468(0x328)](_0x218da1){const _0x265255=_0x59f468,_0x4bbdc3=this[_0x265255(0x2e4)]()+_0x265255(0x46e);await this[_0x265255(0x3f8)]['patch'](_0x4bbdc3,{'body':_0x218da1});}async['createCollaborator'](_0x385324){const _0x11c926=_0x59f468,_0xec7e93=this[_0x11c926(0x2e4)]()+_0x11c926(0x46e);await this['_HTTPService'][_0x11c926(0x32e)](_0xec7e93,{'body':_0x385324});}async[_0x59f468(0x1b9)](_0x1b3908){const _0x1c3f6e=_0x59f468,_0x298352=this[_0x1c3f6e(0x2e4)]()+'/collaborator';return(await this[_0x1c3f6e(0x3f8)]['get'](_0x298352,{'params':{'objectID':_0x1b3908[_0x1c3f6e(0x426)],'unitID':_0x1b3908[_0x1c3f6e(0x405)]}}))[_0x1c3f6e(0x444)][_0x1c3f6e(0x254)];}async[_0x59f468(0x30c)](_0x949468){const _0x281186=_0x59f468,_0xfb3817=this[_0x281186(0x2e4)]()+'/collaborator';await this['_HTTPService'][_0x281186(0x53c)](_0xfb3817,{'body':_0x949468});}};vs=Za([ai(0x0,_0x222038(_0x216536)),ai(0x1,_0x222038(_0x486aed))],vs);var ut={'exports':{}};function ec(_0x462015){const _0x19c6c9=_0x59f468;throw new Error(_0x19c6c9(0x375)+_0x462015+_0x19c6c9(0x1d0));}var dt={'exports':{}},tc=dt['exports'],ci;function _e(){const _0x5b7067=_0x59f468;return ci||(ci=0x1,function(_0x456327,_0x142e0b){(function(_0x283458,_0x177703){const _0x3c6498=_0x2eda;_0x456327[_0x3c6498(0x3b4)]=_0x177703();}(tc,function(){var _0x3eff25=_0x3eff25||function(_0x5c3397,_0xacacf){const _0x238342=_0x2eda;var _0x5b762d;if(typeof window<'u'&&window[_0x238342(0x301)]&&(_0x5b762d=window[_0x238342(0x301)]),typeof self<'u'&&self[_0x238342(0x301)]&&(_0x5b762d=self[_0x238342(0x301)]),typeof globalThis<'u'&&globalThis[_0x238342(0x301)]&&(_0x5b762d=globalThis[_0x238342(0x301)]),!_0x5b762d&&typeof window<'u'&&window[_0x238342(0x327)]&&(_0x5b762d=window[_0x238342(0x327)]),!_0x5b762d&&typeof es<'u'&&es[_0x238342(0x301)]&&(_0x5b762d=es['crypto']),!_0x5b762d&&typeof ec==_0x238342(0x51c))try{_0x5b762d=require(_0x238342(0x301));}catch{}var _0x4576ff=function(){const _0xa265b1=_0x238342;if(_0x5b762d){if(typeof _0x5b762d[_0xa265b1(0x4cc)]==_0xa265b1(0x51c))try{return _0x5b762d[_0xa265b1(0x4cc)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5b762d[_0xa265b1(0x36a)]=='function')try{return _0x5b762d[_0xa265b1(0x36a)](0x4)[_0xa265b1(0x4d9)]();}catch{}}throw new Error(_0xa265b1(0x4a8));},_0x4fee0a=Object['create']||(function(){function _0x2c5c6c(){}return function(_0x2c90af){const _0x4b7b79=_0x2eda;var _0x4db8e0;return _0x2c5c6c[_0x4b7b79(0x1d3)]=_0x2c90af,_0x4db8e0=new _0x2c5c6c(),_0x2c5c6c[_0x4b7b79(0x1d3)]=null,_0x4db8e0;};}()),_0x2b374a={},_0x5cc472=_0x2b374a[_0x238342(0x4bd)]={},_0x3ef94c=_0x5cc472[_0x238342(0x556)]=(function(){return{'extend':function(_0x30593e){const _0x21cd10=_0x2eda;var _0x2d90a2=_0x4fee0a(this);return _0x30593e&&_0x2d90a2[_0x21cd10(0x1ac)](_0x30593e),(!_0x2d90a2[_0x21cd10(0x346)](_0x21cd10(0x43e))||this['init']===_0x2d90a2['init'])&&(_0x2d90a2['init']=function(){const _0x24d383=_0x21cd10;_0x2d90a2[_0x24d383(0x1af)][_0x24d383(0x43e)]['apply'](this,arguments);}),_0x2d90a2[_0x21cd10(0x43e)][_0x21cd10(0x1d3)]=_0x2d90a2,_0x2d90a2[_0x21cd10(0x1af)]=this,_0x2d90a2;},'create':function(){const _0x30ecc5=_0x2eda;var _0x2643ba=this[_0x30ecc5(0x521)]();return _0x2643ba[_0x30ecc5(0x43e)][_0x30ecc5(0x593)](_0x2643ba,arguments),_0x2643ba;},'init':function(){},'mixIn':function(_0x2df298){const _0x40ec06=_0x2eda;for(var _0x2a0639 in _0x2df298)_0x2df298[_0x40ec06(0x346)](_0x2a0639)&&(this[_0x2a0639]=_0x2df298[_0x2a0639]);_0x2df298[_0x40ec06(0x346)](_0x40ec06(0x4a1))&&(this['toString']=_0x2df298['toString']);},'clone':function(){const _0x5ae18f=_0x2eda;return this[_0x5ae18f(0x43e)][_0x5ae18f(0x1d3)][_0x5ae18f(0x521)](this);}};}()),_0x14417d=_0x5cc472[_0x238342(0x20f)]=_0x3ef94c['extend']({'init':function(_0xebc4cb,_0x12f663){const _0x139982=_0x238342;_0xebc4cb=this[_0x139982(0x520)]=_0xebc4cb||[],_0x12f663!=_0xacacf?this[_0x139982(0x303)]=_0x12f663:this[_0x139982(0x303)]=_0xebc4cb[_0x139982(0x21a)]*0x4;},'toString':function(_0x35d9c4){const _0x2d9396=_0x238342;return(_0x35d9c4||_0x3f9b76)[_0x2d9396(0x3fc)](this);},'concat':function(_0x51b2b5){const _0x518a16=_0x238342;var _0x9ee004=this[_0x518a16(0x520)],_0x497e77=_0x51b2b5[_0x518a16(0x520)],_0x56305f=this[_0x518a16(0x303)],_0x3974af=_0x51b2b5['sigBytes'];if(this[_0x518a16(0x469)](),_0x56305f%0x4)for(var _0x1fed97=0x0;_0x1fed97<_0x3974af;_0x1fed97++){var _0x151e57=_0x497e77[_0x1fed97>>>0x2]>>>0x18-_0x1fed97%0x4*0x8&0xff;_0x9ee004[_0x56305f+_0x1fed97>>>0x2]|=_0x151e57<<0x18-(_0x56305f+_0x1fed97)%0x4*0x8;}else{for(var _0x38fb01=0x0;_0x38fb01<_0x3974af;_0x38fb01+=0x4)_0x9ee004[_0x56305f+_0x38fb01>>>0x2]=_0x497e77[_0x38fb01>>>0x2];}return this['sigBytes']+=_0x3974af,this;},'clamp':function(){const _0x41552d=_0x238342;var _0x1f0a75=this[_0x41552d(0x520)],_0x500a79=this[_0x41552d(0x303)];_0x1f0a75[_0x500a79>>>0x2]&=0xffffffff<<0x20-_0x500a79%0x4*0x8,_0x1f0a75[_0x41552d(0x21a)]=_0x5c3397[_0x41552d(0x2d0)](_0x500a79/0x4);},'clone':function(){const _0x7fe244=_0x238342;var _0x4f8b1c=_0x3ef94c[_0x7fe244(0x4ea)][_0x7fe244(0x3e3)](this);return _0x4f8b1c[_0x7fe244(0x520)]=this[_0x7fe244(0x520)][_0x7fe244(0x38c)](0x0),_0x4f8b1c;},'random':function(_0x967aad){const _0x47814c=_0x238342;for(var _0x81a00a=[],_0xc74901=0x0;_0xc74901<_0x967aad;_0xc74901+=0x4)_0x81a00a[_0x47814c(0x4cf)](_0x4576ff());return new _0x14417d[(_0x47814c(0x43e))](_0x81a00a,_0x967aad);}}),_0x208ea8=_0x2b374a['enc']={},_0x3f9b76=_0x208ea8[_0x238342(0x5b6)]={'stringify':function(_0xea8a64){const _0xb7781d=_0x238342;for(var _0x363f63=_0xea8a64[_0xb7781d(0x520)],_0x5b522a=_0xea8a64[_0xb7781d(0x303)],_0x66f40d=[],_0x50961b=0x0;_0x50961b<_0x5b522a;_0x50961b++){var _0x2532b2=_0x363f63[_0x50961b>>>0x2]>>>0x18-_0x50961b%0x4*0x8&0xff;_0x66f40d[_0xb7781d(0x4cf)]((_0x2532b2>>>0x4)[_0xb7781d(0x4a1)](0x10)),_0x66f40d[_0xb7781d(0x4cf)]((_0x2532b2&0xf)['toString'](0x10));}return _0x66f40d[_0xb7781d(0x271)]('');},'parse':function(_0x519c48){const _0x891c98=_0x238342;for(var _0x315b95=_0x519c48[_0x891c98(0x21a)],_0x2afc58=[],_0x2bbf62=0x0;_0x2bbf62<_0x315b95;_0x2bbf62+=0x2)_0x2afc58[_0x2bbf62>>>0x3]|=parseInt(_0x519c48[_0x891c98(0x37a)](_0x2bbf62,0x2),0x10)<<0x18-_0x2bbf62%0x8*0x4;return new _0x14417d[(_0x891c98(0x43e))](_0x2afc58,_0x315b95/0x2);}},_0x4e6f35=_0x208ea8[_0x238342(0x20d)]={'stringify':function(_0x52a607){const _0x12f02=_0x238342;for(var _0x519a51=_0x52a607[_0x12f02(0x520)],_0x502ef9=_0x52a607['sigBytes'],_0x248c94=[],_0x544072=0x0;_0x544072<_0x502ef9;_0x544072++){var _0x502799=_0x519a51[_0x544072>>>0x2]>>>0x18-_0x544072%0x4*0x8&0xff;_0x248c94[_0x12f02(0x4cf)](String['fromCharCode'](_0x502799));}return _0x248c94[_0x12f02(0x271)]('');},'parse':function(_0x55f125){const _0x44d632=_0x238342;for(var _0x1f3ef9=_0x55f125[_0x44d632(0x21a)],_0x174703=[],_0x402099=0x0;_0x402099<_0x1f3ef9;_0x402099++)_0x174703[_0x402099>>>0x2]|=(_0x55f125[_0x44d632(0x5a3)](_0x402099)&0xff)<<0x18-_0x402099%0x4*0x8;return new _0x14417d[(_0x44d632(0x43e))](_0x174703,_0x1f3ef9);}},_0x5ab51e=_0x208ea8[_0x238342(0x42d)]={'stringify':function(_0x66848){const _0x1647c6=_0x238342;try{return decodeURIComponent(escape(_0x4e6f35[_0x1647c6(0x3fc)](_0x66848)));}catch{throw new Error(_0x1647c6(0x599));}},'parse':function(_0x22b0ae){return _0x4e6f35['parse'](unescape(encodeURIComponent(_0x22b0ae)));}},_0x39560d=_0x5cc472[_0x238342(0x357)]=_0x3ef94c['extend']({'reset':function(){const _0x30a992=_0x238342;this['_data']=new _0x14417d[(_0x30a992(0x43e))](),this[_0x30a992(0x48a)]=0x0;},'_append':function(_0x2d9585){const _0x59e1f2=_0x238342;typeof _0x2d9585=='string'&&(_0x2d9585=_0x5ab51e[_0x59e1f2(0x2e1)](_0x2d9585)),this[_0x59e1f2(0x290)][_0x59e1f2(0x340)](_0x2d9585),this['_nDataBytes']+=_0x2d9585[_0x59e1f2(0x303)];},'_process':function(_0x5bd13e){const _0x53ba1d=_0x238342;var _0x388010,_0x5f3274=this['_data'],_0x2ee167=_0x5f3274[_0x53ba1d(0x520)],_0x1060bf=_0x5f3274['sigBytes'],_0x53444d=this[_0x53ba1d(0x43f)],_0xcc92c6=_0x53444d*0x4,_0xf081a7=_0x1060bf/_0xcc92c6;_0x5bd13e?_0xf081a7=_0x5c3397['ceil'](_0xf081a7):_0xf081a7=_0x5c3397[_0x53ba1d(0x456)]((_0xf081a7|0x0)-this[_0x53ba1d(0x2af)],0x0);var _0x8050c3=_0xf081a7*_0x53444d,_0x34fb8b=_0x5c3397[_0x53ba1d(0x42a)](_0x8050c3*0x4,_0x1060bf);if(_0x8050c3){for(var _0x43153a=0x0;_0x43153a<_0x8050c3;_0x43153a+=_0x53444d)this[_0x53ba1d(0x296)](_0x2ee167,_0x43153a);_0x388010=_0x2ee167[_0x53ba1d(0x41b)](0x0,_0x8050c3),_0x5f3274[_0x53ba1d(0x303)]-=_0x34fb8b;}return new _0x14417d[(_0x53ba1d(0x43e))](_0x388010,_0x34fb8b);},'clone':function(){const _0x5ee033=_0x238342;var _0x282aa8=_0x3ef94c[_0x5ee033(0x4ea)][_0x5ee033(0x3e3)](this);return _0x282aa8['_data']=this[_0x5ee033(0x290)][_0x5ee033(0x4ea)](),_0x282aa8;},'_minBufferSize':0x0});_0x5cc472[_0x238342(0x207)]=_0x39560d[_0x238342(0x521)]({'cfg':_0x3ef94c['extend'](),'init':function(_0x3218ed){const _0x5a36d2=_0x238342;this['cfg']=this[_0x5a36d2(0x377)][_0x5a36d2(0x521)](_0x3218ed),this['reset']();},'reset':function(){const _0x26fb95=_0x238342;_0x39560d[_0x26fb95(0x23f)][_0x26fb95(0x3e3)](this),this[_0x26fb95(0x452)]();},'update':function(_0xfcce9d){const _0x4bca83=_0x238342;return this[_0x4bca83(0x582)](_0xfcce9d),this[_0x4bca83(0x528)](),this;},'finalize':function(_0x24157c){const _0x10a1b6=_0x238342;_0x24157c&&this['_append'](_0x24157c);var _0x5af95d=this[_0x10a1b6(0x47f)]();return _0x5af95d;},'blockSize':0x10,'_createHelper':function(_0x3f3644){return function(_0x152435,_0x43bb58){const _0x4c7774=_0x2eda;return new _0x3f3644[(_0x4c7774(0x43e))](_0x43bb58)[_0x4c7774(0x37b)](_0x152435);};},'_createHmacHelper':function(_0x589cf2){return function(_0x10e1b1,_0x2dc1c0){const _0x252ac4=_0x2eda;return new _0x550eb1[(_0x252ac4(0x2d9))][(_0x252ac4(0x43e))](_0x589cf2,_0x2dc1c0)['finalize'](_0x10e1b1);};}});var _0x550eb1=_0x2b374a['algo']={};return _0x2b374a;}(Math);return _0x3eff25;}));}(dt)),dt[_0x5b7067(0x3b4)];}var ft={'exports':{}},sc=ft[_0x59f468(0x3b4)],hi;function ir(){const _0x441946=_0x59f468;return hi||(hi=0x1,function(_0x3026e7,_0x54baf9){(function(_0xebcc83,_0x87650d){const _0x10e300=_0x2eda;_0x3026e7[_0x10e300(0x3b4)]=_0x87650d(_e());}(sc,function(_0x4821f5){const _0x1f23c3=_0x2eda;return(function(){const _0x51054d=_0x2eda;var _0x3cd8d0=_0x4821f5,_0x13f725=_0x3cd8d0[_0x51054d(0x4bd)],_0x10a6f2=_0x13f725[_0x51054d(0x20f)],_0x16570f=_0x3cd8d0[_0x51054d(0x48f)];_0x16570f[_0x51054d(0x3fa)]={'stringify':function(_0x2ebb8b){const _0x53121c=_0x51054d;var _0x29d57e=_0x2ebb8b[_0x53121c(0x520)],_0x35ec5f=_0x2ebb8b[_0x53121c(0x303)],_0x3d74df=this[_0x53121c(0x2ba)];_0x2ebb8b[_0x53121c(0x469)]();for(var _0x167707=[],_0x306403=0x0;_0x306403<_0x35ec5f;_0x306403+=0x3)for(var _0x3bbb81=_0x29d57e[_0x306403>>>0x2]>>>0x18-_0x306403%0x4*0x8&0xff,_0x18d50b=_0x29d57e[_0x306403+0x1>>>0x2]>>>0x18-(_0x306403+0x1)%0x4*0x8&0xff,_0x47a7a9=_0x29d57e[_0x306403+0x2>>>0x2]>>>0x18-(_0x306403+0x2)%0x4*0x8&0xff,_0x466647=_0x3bbb81<<0x10|_0x18d50b<<0x8|_0x47a7a9,_0x2b5f40=0x0;_0x2b5f40<0x4&&_0x306403+_0x2b5f40*0.75<_0x35ec5f;_0x2b5f40++)_0x167707['push'](_0x3d74df[_0x53121c(0x230)](_0x466647>>>0x6*(0x3-_0x2b5f40)&0x3f));var _0x165af9=_0x3d74df[_0x53121c(0x230)](0x40);if(_0x165af9){for(;_0x167707[_0x53121c(0x21a)]%0x4;)_0x167707[_0x53121c(0x4cf)](_0x165af9);}return _0x167707[_0x53121c(0x271)]('');},'parse':function(_0xe2c7c7){const _0x7e96b6=_0x51054d;var _0x46add5=_0xe2c7c7[_0x7e96b6(0x21a)],_0x31fb97=this['_map'],_0x42c4ec=this[_0x7e96b6(0x2f9)];if(!_0x42c4ec){_0x42c4ec=this['_reverseMap']=[];for(var _0x514768=0x0;_0x514768<_0x31fb97[_0x7e96b6(0x21a)];_0x514768++)_0x42c4ec[_0x31fb97[_0x7e96b6(0x5a3)](_0x514768)]=_0x514768;}var _0x3ae705=_0x31fb97['charAt'](0x40);if(_0x3ae705){var _0x4b6807=_0xe2c7c7[_0x7e96b6(0x3e0)](_0x3ae705);_0x4b6807!==-0x1&&(_0x46add5=_0x4b6807);}return _0x585d28(_0xe2c7c7,_0x46add5,_0x42c4ec);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x585d28(_0x26bcc4,_0x5b9987,_0x230749){const _0x4ab42d=_0x51054d;for(var _0xff75f8=[],_0x5ab00c=0x0,_0x4ed7d4=0x0;_0x4ed7d4<_0x5b9987;_0x4ed7d4++)if(_0x4ed7d4%0x4){var _0x497dce=_0x230749[_0x26bcc4[_0x4ab42d(0x5a3)](_0x4ed7d4-0x1)]<<_0x4ed7d4%0x4*0x2,_0x353f59=_0x230749[_0x26bcc4[_0x4ab42d(0x5a3)](_0x4ed7d4)]>>>0x6-_0x4ed7d4%0x4*0x2,_0x3a82cc=_0x497dce|_0x353f59;_0xff75f8[_0x5ab00c>>>0x2]|=_0x3a82cc<<0x18-_0x5ab00c%0x4*0x8,_0x5ab00c++;}return _0x10a6f2[_0x4ab42d(0x252)](_0xff75f8,_0x5ab00c);}}()),_0x4821f5[_0x1f23c3(0x48f)]['Base64'];}));}(ft)),ft[_0x441946(0x3b4)];}var vt={'exports':{}},ic=vt[_0x59f468(0x3b4)],li;function rc(){const _0x43d22b=_0x59f468;return li||(li=0x1,function(_0x42dd52,_0x267775){(function(_0x5dec87,_0x4151e2){const _0x295291=_0x2eda;_0x42dd52[_0x295291(0x3b4)]=_0x4151e2(_e());}(ic,function(_0x2072d6){const _0x5f1146=_0x2eda;return function(_0xf8896d){const _0x50d5a6=_0x2eda;var _0x5444e2=_0x2072d6,_0x371eae=_0x5444e2['lib'],_0xfd8660=_0x371eae[_0x50d5a6(0x20f)],_0x2f5d0e=_0x371eae[_0x50d5a6(0x207)],_0x1d240a=_0x5444e2[_0x50d5a6(0x4bb)],_0x21d010=[];(function(){const _0x13b8ef=_0x50d5a6;for(var _0x32bca0=0x0;_0x32bca0<0x40;_0x32bca0++)_0x21d010[_0x32bca0]=_0xf8896d[_0x13b8ef(0x3dd)](_0xf8896d[_0x13b8ef(0x501)](_0x32bca0+0x1))*0x100000000|0x0;}());var _0x8b9f8f=_0x1d240a['MD5']=_0x2f5d0e[_0x50d5a6(0x521)]({'_doReset':function(){const _0x237704=_0x50d5a6;this[_0x237704(0x468)]=new _0xfd8660['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3b2fa1,_0x50155e){const _0x2d9a2d=_0x50d5a6;for(var _0x596991=0x0;_0x596991<0x10;_0x596991++){var _0x437858=_0x50155e+_0x596991,_0x316c2d=_0x3b2fa1[_0x437858];_0x3b2fa1[_0x437858]=(_0x316c2d<<0x8|_0x316c2d>>>0x18)&0xff00ff|(_0x316c2d<<0x18|_0x316c2d>>>0x8)&0xff00ff00;}var _0x45e525=this[_0x2d9a2d(0x468)][_0x2d9a2d(0x520)],_0x405853=_0x3b2fa1[_0x50155e+0x0],_0x27bb3d=_0x3b2fa1[_0x50155e+0x1],_0xe09037=_0x3b2fa1[_0x50155e+0x2],_0x2bb617=_0x3b2fa1[_0x50155e+0x3],_0x1d6470=_0x3b2fa1[_0x50155e+0x4],_0x3ae9d4=_0x3b2fa1[_0x50155e+0x5],_0x33bcc1=_0x3b2fa1[_0x50155e+0x6],_0x188d07=_0x3b2fa1[_0x50155e+0x7],_0x3a4900=_0x3b2fa1[_0x50155e+0x8],_0x26781b=_0x3b2fa1[_0x50155e+0x9],_0x5f1fb0=_0x3b2fa1[_0x50155e+0xa],_0x4f71a1=_0x3b2fa1[_0x50155e+0xb],_0x598270=_0x3b2fa1[_0x50155e+0xc],_0x1da5e1=_0x3b2fa1[_0x50155e+0xd],_0x43f46b=_0x3b2fa1[_0x50155e+0xe],_0x16f58a=_0x3b2fa1[_0x50155e+0xf],_0x213497=_0x45e525[0x0],_0x3d71f9=_0x45e525[0x1],_0x3d40ef=_0x45e525[0x2],_0x49105a=_0x45e525[0x3];_0x213497=_0xc07d9c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x405853,0x7,_0x21d010[0x0]),_0x49105a=_0xc07d9c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x27bb3d,0xc,_0x21d010[0x1]),_0x3d40ef=_0xc07d9c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0xe09037,0x11,_0x21d010[0x2]),_0x3d71f9=_0xc07d9c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x2bb617,0x16,_0x21d010[0x3]),_0x213497=_0xc07d9c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x1d6470,0x7,_0x21d010[0x4]),_0x49105a=_0xc07d9c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x3ae9d4,0xc,_0x21d010[0x5]),_0x3d40ef=_0xc07d9c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x33bcc1,0x11,_0x21d010[0x6]),_0x3d71f9=_0xc07d9c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x188d07,0x16,_0x21d010[0x7]),_0x213497=_0xc07d9c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x3a4900,0x7,_0x21d010[0x8]),_0x49105a=_0xc07d9c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x26781b,0xc,_0x21d010[0x9]),_0x3d40ef=_0xc07d9c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x5f1fb0,0x11,_0x21d010[0xa]),_0x3d71f9=_0xc07d9c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x4f71a1,0x16,_0x21d010[0xb]),_0x213497=_0xc07d9c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x598270,0x7,_0x21d010[0xc]),_0x49105a=_0xc07d9c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x1da5e1,0xc,_0x21d010[0xd]),_0x3d40ef=_0xc07d9c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x43f46b,0x11,_0x21d010[0xe]),_0x3d71f9=_0xc07d9c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x16f58a,0x16,_0x21d010[0xf]),_0x213497=_0x99bb4(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x27bb3d,0x5,_0x21d010[0x10]),_0x49105a=_0x99bb4(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x33bcc1,0x9,_0x21d010[0x11]),_0x3d40ef=_0x99bb4(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x4f71a1,0xe,_0x21d010[0x12]),_0x3d71f9=_0x99bb4(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x405853,0x14,_0x21d010[0x13]),_0x213497=_0x99bb4(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x3ae9d4,0x5,_0x21d010[0x14]),_0x49105a=_0x99bb4(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x5f1fb0,0x9,_0x21d010[0x15]),_0x3d40ef=_0x99bb4(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x16f58a,0xe,_0x21d010[0x16]),_0x3d71f9=_0x99bb4(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x1d6470,0x14,_0x21d010[0x17]),_0x213497=_0x99bb4(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x26781b,0x5,_0x21d010[0x18]),_0x49105a=_0x99bb4(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x43f46b,0x9,_0x21d010[0x19]),_0x3d40ef=_0x99bb4(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x2bb617,0xe,_0x21d010[0x1a]),_0x3d71f9=_0x99bb4(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x3a4900,0x14,_0x21d010[0x1b]),_0x213497=_0x99bb4(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x1da5e1,0x5,_0x21d010[0x1c]),_0x49105a=_0x99bb4(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0xe09037,0x9,_0x21d010[0x1d]),_0x3d40ef=_0x99bb4(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x188d07,0xe,_0x21d010[0x1e]),_0x3d71f9=_0x99bb4(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x598270,0x14,_0x21d010[0x1f]),_0x213497=_0x16d7c9(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x3ae9d4,0x4,_0x21d010[0x20]),_0x49105a=_0x16d7c9(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x3a4900,0xb,_0x21d010[0x21]),_0x3d40ef=_0x16d7c9(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x4f71a1,0x10,_0x21d010[0x22]),_0x3d71f9=_0x16d7c9(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x43f46b,0x17,_0x21d010[0x23]),_0x213497=_0x16d7c9(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x27bb3d,0x4,_0x21d010[0x24]),_0x49105a=_0x16d7c9(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x1d6470,0xb,_0x21d010[0x25]),_0x3d40ef=_0x16d7c9(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x188d07,0x10,_0x21d010[0x26]),_0x3d71f9=_0x16d7c9(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x5f1fb0,0x17,_0x21d010[0x27]),_0x213497=_0x16d7c9(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x1da5e1,0x4,_0x21d010[0x28]),_0x49105a=_0x16d7c9(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x405853,0xb,_0x21d010[0x29]),_0x3d40ef=_0x16d7c9(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x2bb617,0x10,_0x21d010[0x2a]),_0x3d71f9=_0x16d7c9(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x33bcc1,0x17,_0x21d010[0x2b]),_0x213497=_0x16d7c9(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x26781b,0x4,_0x21d010[0x2c]),_0x49105a=_0x16d7c9(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x598270,0xb,_0x21d010[0x2d]),_0x3d40ef=_0x16d7c9(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x16f58a,0x10,_0x21d010[0x2e]),_0x3d71f9=_0x16d7c9(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0xe09037,0x17,_0x21d010[0x2f]),_0x213497=_0x40399c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x405853,0x6,_0x21d010[0x30]),_0x49105a=_0x40399c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x188d07,0xa,_0x21d010[0x31]),_0x3d40ef=_0x40399c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x43f46b,0xf,_0x21d010[0x32]),_0x3d71f9=_0x40399c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x3ae9d4,0x15,_0x21d010[0x33]),_0x213497=_0x40399c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x598270,0x6,_0x21d010[0x34]),_0x49105a=_0x40399c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x2bb617,0xa,_0x21d010[0x35]),_0x3d40ef=_0x40399c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x5f1fb0,0xf,_0x21d010[0x36]),_0x3d71f9=_0x40399c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x27bb3d,0x15,_0x21d010[0x37]),_0x213497=_0x40399c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x3a4900,0x6,_0x21d010[0x38]),_0x49105a=_0x40399c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x16f58a,0xa,_0x21d010[0x39]),_0x3d40ef=_0x40399c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x33bcc1,0xf,_0x21d010[0x3a]),_0x3d71f9=_0x40399c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x1da5e1,0x15,_0x21d010[0x3b]),_0x213497=_0x40399c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x1d6470,0x6,_0x21d010[0x3c]),_0x49105a=_0x40399c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x4f71a1,0xa,_0x21d010[0x3d]),_0x3d40ef=_0x40399c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0xe09037,0xf,_0x21d010[0x3e]),_0x3d71f9=_0x40399c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x26781b,0x15,_0x21d010[0x3f]),_0x45e525[0x0]=_0x45e525[0x0]+_0x213497|0x0,_0x45e525[0x1]=_0x45e525[0x1]+_0x3d71f9|0x0,_0x45e525[0x2]=_0x45e525[0x2]+_0x3d40ef|0x0,_0x45e525[0x3]=_0x45e525[0x3]+_0x49105a|0x0;},'_doFinalize':function(){const _0x1a5776=_0x50d5a6;var _0x15c215=this[_0x1a5776(0x290)],_0x3d39f9=_0x15c215['words'],_0x5758f8=this[_0x1a5776(0x48a)]*0x8,_0x269591=_0x15c215[_0x1a5776(0x303)]*0x8;_0x3d39f9[_0x269591>>>0x5]|=0x80<<0x18-_0x269591%0x20;var _0x7a2300=_0xf8896d[_0x1a5776(0x316)](_0x5758f8/0x100000000),_0x329026=_0x5758f8;_0x3d39f9[(_0x269591+0x40>>>0x9<<0x4)+0xf]=(_0x7a2300<<0x8|_0x7a2300>>>0x18)&0xff00ff|(_0x7a2300<<0x18|_0x7a2300>>>0x8)&0xff00ff00,_0x3d39f9[(_0x269591+0x40>>>0x9<<0x4)+0xe]=(_0x329026<<0x8|_0x329026>>>0x18)&0xff00ff|(_0x329026<<0x18|_0x329026>>>0x8)&0xff00ff00,_0x15c215[_0x1a5776(0x303)]=(_0x3d39f9['length']+0x1)*0x4,this[_0x1a5776(0x528)]();for(var _0x5a95e8=this[_0x1a5776(0x468)],_0x115f8b=_0x5a95e8[_0x1a5776(0x520)],_0x17b0ae=0x0;_0x17b0ae<0x4;_0x17b0ae++){var _0x2568df=_0x115f8b[_0x17b0ae];_0x115f8b[_0x17b0ae]=(_0x2568df<<0x8|_0x2568df>>>0x18)&0xff00ff|(_0x2568df<<0x18|_0x2568df>>>0x8)&0xff00ff00;}return _0x5a95e8;},'clone':function(){const _0x3970ca=_0x50d5a6;var _0x381af8=_0x2f5d0e[_0x3970ca(0x4ea)][_0x3970ca(0x3e3)](this);return _0x381af8[_0x3970ca(0x468)]=this[_0x3970ca(0x468)][_0x3970ca(0x4ea)](),_0x381af8;}});function _0xc07d9c(_0x46a02d,_0x17b1e6,_0x10c21e,_0x398468,_0x19afb1,_0x4dd816,_0x5951ac){var _0x1c4d1a=_0x46a02d+(_0x17b1e6&_0x10c21e|~_0x17b1e6&_0x398468)+_0x19afb1+_0x5951ac;return(_0x1c4d1a<<_0x4dd816|_0x1c4d1a>>>0x20-_0x4dd816)+_0x17b1e6;}function _0x99bb4(_0x559b77,_0x110c7c,_0xf19dd,_0xbcb79a,_0x48adc3,_0xc5fec9,_0x2927c2){var _0x4162d2=_0x559b77+(_0x110c7c&_0xbcb79a|_0xf19dd&~_0xbcb79a)+_0x48adc3+_0x2927c2;return(_0x4162d2<<_0xc5fec9|_0x4162d2>>>0x20-_0xc5fec9)+_0x110c7c;}function _0x16d7c9(_0x49afa2,_0x23bfde,_0x4cd36e,_0x1fc43b,_0x9cf55b,_0x62b792,_0x405e47){var _0x2d1303=_0x49afa2+(_0x23bfde^_0x4cd36e^_0x1fc43b)+_0x9cf55b+_0x405e47;return(_0x2d1303<<_0x62b792|_0x2d1303>>>0x20-_0x62b792)+_0x23bfde;}function _0x40399c(_0xac0c99,_0x3438e2,_0x58eb92,_0x238f44,_0x498bc7,_0x2d2c07,_0x8c2f48){var _0xa6a1ac=_0xac0c99+(_0x58eb92^(_0x3438e2|~_0x238f44))+_0x498bc7+_0x8c2f48;return(_0xa6a1ac<<_0x2d2c07|_0xa6a1ac>>>0x20-_0x2d2c07)+_0x3438e2;}_0x5444e2[_0x50d5a6(0x4a6)]=_0x2f5d0e['_createHelper'](_0x8b9f8f),_0x5444e2[_0x50d5a6(0x1ae)]=_0x2f5d0e[_0x50d5a6(0x3ed)](_0x8b9f8f);}(Math),_0x2072d6[_0x5f1146(0x4a6)];}));}(vt)),vt[_0x43d22b(0x3b4)];}var pt={'exports':{}},mt={'exports':{}},nc=mt[_0x59f468(0x3b4)],_i;function oc(){const _0x301a7c=_0x59f468;return _i||(_i=0x1,function(_0x4960f9,_0x4b0b9a){(function(_0x443d0a,_0x4e3d90){const _0x2bdebd=_0x2eda;_0x4960f9[_0x2bdebd(0x3b4)]=_0x4e3d90(_e());}(nc,function(_0x445354){const _0x36380e=_0x2eda;return(function(){const _0x3e9a5d=_0x2eda;var _0x4a8c81=_0x445354,_0x5205c1=_0x4a8c81[_0x3e9a5d(0x4bd)],_0x2ee72d=_0x5205c1[_0x3e9a5d(0x20f)],_0x2fd878=_0x5205c1[_0x3e9a5d(0x207)],_0xfa188=_0x4a8c81[_0x3e9a5d(0x4bb)],_0x4e604a=[],_0x3bb9bd=_0xfa188[_0x3e9a5d(0x507)]=_0x2fd878[_0x3e9a5d(0x521)]({'_doReset':function(){const _0x2ada27=_0x3e9a5d;this[_0x2ada27(0x468)]=new _0x2ee72d[(_0x2ada27(0x43e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x48c7be,_0x53dc86){const _0x1e8ea6=_0x3e9a5d;for(var _0x5c2e76=this['_hash'][_0x1e8ea6(0x520)],_0x57f514=_0x5c2e76[0x0],_0x1e7811=_0x5c2e76[0x1],_0x35e64d=_0x5c2e76[0x2],_0x436a68=_0x5c2e76[0x3],_0x56a252=_0x5c2e76[0x4],_0x3bc27c=0x0;_0x3bc27c<0x50;_0x3bc27c++){if(_0x3bc27c<0x10)_0x4e604a[_0x3bc27c]=_0x48c7be[_0x53dc86+_0x3bc27c]|0x0;else{var _0x26139d=_0x4e604a[_0x3bc27c-0x3]^_0x4e604a[_0x3bc27c-0x8]^_0x4e604a[_0x3bc27c-0xe]^_0x4e604a[_0x3bc27c-0x10];_0x4e604a[_0x3bc27c]=_0x26139d<<0x1|_0x26139d>>>0x1f;}var _0x1f571d=(_0x57f514<<0x5|_0x57f514>>>0x1b)+_0x56a252+_0x4e604a[_0x3bc27c];_0x3bc27c<0x14?_0x1f571d+=(_0x1e7811&_0x35e64d|~_0x1e7811&_0x436a68)+0x5a827999:_0x3bc27c<0x28?_0x1f571d+=(_0x1e7811^_0x35e64d^_0x436a68)+0x6ed9eba1:_0x3bc27c<0x3c?_0x1f571d+=(_0x1e7811&_0x35e64d|_0x1e7811&_0x436a68|_0x35e64d&_0x436a68)-0x70e44324:_0x1f571d+=(_0x1e7811^_0x35e64d^_0x436a68)-0x359d3e2a,_0x56a252=_0x436a68,_0x436a68=_0x35e64d,_0x35e64d=_0x1e7811<<0x1e|_0x1e7811>>>0x2,_0x1e7811=_0x57f514,_0x57f514=_0x1f571d;}_0x5c2e76[0x0]=_0x5c2e76[0x0]+_0x57f514|0x0,_0x5c2e76[0x1]=_0x5c2e76[0x1]+_0x1e7811|0x0,_0x5c2e76[0x2]=_0x5c2e76[0x2]+_0x35e64d|0x0,_0x5c2e76[0x3]=_0x5c2e76[0x3]+_0x436a68|0x0,_0x5c2e76[0x4]=_0x5c2e76[0x4]+_0x56a252|0x0;},'_doFinalize':function(){const _0x4ca9e0=_0x3e9a5d;var _0x4f691f=this[_0x4ca9e0(0x290)],_0x382568=_0x4f691f[_0x4ca9e0(0x520)],_0x903d79=this[_0x4ca9e0(0x48a)]*0x8,_0x556c70=_0x4f691f[_0x4ca9e0(0x303)]*0x8;return _0x382568[_0x556c70>>>0x5]|=0x80<<0x18-_0x556c70%0x20,_0x382568[(_0x556c70+0x40>>>0x9<<0x4)+0xe]=Math[_0x4ca9e0(0x316)](_0x903d79/0x100000000),_0x382568[(_0x556c70+0x40>>>0x9<<0x4)+0xf]=_0x903d79,_0x4f691f[_0x4ca9e0(0x303)]=_0x382568['length']*0x4,this['_process'](),this['_hash'];},'clone':function(){const _0x5c2a9f=_0x3e9a5d;var _0x4eaf7a=_0x2fd878[_0x5c2a9f(0x4ea)][_0x5c2a9f(0x3e3)](this);return _0x4eaf7a[_0x5c2a9f(0x468)]=this[_0x5c2a9f(0x468)][_0x5c2a9f(0x4ea)](),_0x4eaf7a;}});_0x4a8c81['SHA1']=_0x2fd878[_0x3e9a5d(0x2c6)](_0x3bb9bd),_0x4a8c81[_0x3e9a5d(0x3c5)]=_0x2fd878[_0x3e9a5d(0x3ed)](_0x3bb9bd);}()),_0x445354[_0x36380e(0x507)];}));}(mt)),mt[_0x301a7c(0x3b4)];}var gt={'exports':{}},ac=gt[_0x59f468(0x3b4)],ui;function cc(){const _0x18fab7=_0x59f468;return ui||(ui=0x1,function(_0x6b8049,_0x42e944){(function(_0xd4a0e3,_0x1b7cbb){_0x6b8049['exports']=_0x1b7cbb(_e());}(ac,function(_0x36a7be){(function(){const _0x56b481=_0x2eda;var _0x1f1dbc=_0x36a7be,_0x5d0f07=_0x1f1dbc['lib'],_0x4fbf6d=_0x5d0f07['Base'],_0x3f156d=_0x1f1dbc[_0x56b481(0x48f)],_0x4697d1=_0x3f156d['Utf8'],_0x3cdca6=_0x1f1dbc[_0x56b481(0x4bb)];_0x3cdca6[_0x56b481(0x2d9)]=_0x4fbf6d[_0x56b481(0x521)]({'init':function(_0x1daeef,_0x588bfc){const _0x10b389=_0x56b481;_0x1daeef=this[_0x10b389(0x1ef)]=new _0x1daeef[(_0x10b389(0x43e))](),typeof _0x588bfc==_0x10b389(0x2fb)&&(_0x588bfc=_0x4697d1[_0x10b389(0x2e1)](_0x588bfc));var _0x275a72=_0x1daeef[_0x10b389(0x43f)],_0xe3c2bf=_0x275a72*0x4;_0x588bfc[_0x10b389(0x303)]>_0xe3c2bf&&(_0x588bfc=_0x1daeef['finalize'](_0x588bfc)),_0x588bfc['clamp']();for(var _0x20b24d=this[_0x10b389(0x47c)]=_0x588bfc[_0x10b389(0x4ea)](),_0x13d2d0=this[_0x10b389(0x523)]=_0x588bfc['clone'](),_0x203b9d=_0x20b24d[_0x10b389(0x520)],_0x4f86c3=_0x13d2d0[_0x10b389(0x520)],_0x458595=0x0;_0x458595<_0x275a72;_0x458595++)_0x203b9d[_0x458595]^=0x5c5c5c5c,_0x4f86c3[_0x458595]^=0x36363636;_0x20b24d[_0x10b389(0x303)]=_0x13d2d0[_0x10b389(0x303)]=_0xe3c2bf,this[_0x10b389(0x23f)]();},'reset':function(){const _0x56538f=_0x56b481;var _0xb068e=this['_hasher'];_0xb068e[_0x56538f(0x23f)](),_0xb068e[_0x56538f(0x44f)](this['_iKey']);},'update':function(_0x6cd3ab){const _0xc3feeb=_0x56b481;return this[_0xc3feeb(0x1ef)][_0xc3feeb(0x44f)](_0x6cd3ab),this;},'finalize':function(_0x12450d){const _0x4a136d=_0x56b481;var _0xf15e71=this[_0x4a136d(0x1ef)],_0x1f2414=_0xf15e71[_0x4a136d(0x37b)](_0x12450d);_0xf15e71[_0x4a136d(0x23f)]();var _0x57c41c=_0xf15e71[_0x4a136d(0x37b)](this[_0x4a136d(0x47c)][_0x4a136d(0x4ea)]()['concat'](_0x1f2414));return _0x57c41c;}});}());}));}(gt)),gt[_0x18fab7(0x3b4)];}var hc=pt['exports'],di;function rr(){const _0x48bb14=_0x59f468;return di||(di=0x1,function(_0x58f14d,_0xd2ce4e){(function(_0x437609,_0x7be9a5,_0xca541){const _0x493287=_0x2eda;_0x58f14d[_0x493287(0x3b4)]=_0x7be9a5(_e(),oc(),cc());}(hc,function(_0x4e3c25){const _0x26df9f=_0x2eda;return(function(){const _0x44e1e2=_0x2eda;var _0x1bf590=_0x4e3c25,_0x3b73e9=_0x1bf590[_0x44e1e2(0x4bd)],_0x5d3daa=_0x3b73e9['Base'],_0x4f6cdd=_0x3b73e9[_0x44e1e2(0x20f)],_0x119568=_0x1bf590[_0x44e1e2(0x4bb)],_0x56bbfe=_0x119568['MD5'],_0x5684d8=_0x119568['EvpKDF']=_0x5d3daa[_0x44e1e2(0x521)]({'cfg':_0x5d3daa[_0x44e1e2(0x521)]({'keySize':0x80/0x20,'hasher':_0x56bbfe,'iterations':0x1}),'init':function(_0x1059b0){const _0x2c9fee=_0x44e1e2;this[_0x2c9fee(0x377)]=this[_0x2c9fee(0x377)][_0x2c9fee(0x521)](_0x1059b0);},'compute':function(_0x15f3a4,_0x300c41){const _0xb00ed5=_0x44e1e2;for(var _0x4a4de8,_0x627e38=this[_0xb00ed5(0x377)],_0x1cf0dd=_0x627e38['hasher'][_0xb00ed5(0x252)](),_0x14337f=_0x4f6cdd['create'](),_0x110bdb=_0x14337f[_0xb00ed5(0x520)],_0x4e5648=_0x627e38[_0xb00ed5(0x1b4)],_0x13541c=_0x627e38[_0xb00ed5(0x1eb)];_0x110bdb[_0xb00ed5(0x21a)]<_0x4e5648;){_0x4a4de8&&_0x1cf0dd[_0xb00ed5(0x44f)](_0x4a4de8),_0x4a4de8=_0x1cf0dd['update'](_0x15f3a4)[_0xb00ed5(0x37b)](_0x300c41),_0x1cf0dd[_0xb00ed5(0x23f)]();for(var _0x4b5133=0x1;_0x4b5133<_0x13541c;_0x4b5133++)_0x4a4de8=_0x1cf0dd[_0xb00ed5(0x37b)](_0x4a4de8),_0x1cf0dd[_0xb00ed5(0x23f)]();_0x14337f[_0xb00ed5(0x340)](_0x4a4de8);}return _0x14337f[_0xb00ed5(0x303)]=_0x4e5648*0x4,_0x14337f;}});_0x1bf590[_0x44e1e2(0x496)]=function(_0x2385bb,_0x46cee2,_0x425b4f){const _0x29a4bd=_0x44e1e2;return _0x5684d8[_0x29a4bd(0x252)](_0x425b4f)[_0x29a4bd(0x322)](_0x2385bb,_0x46cee2);};}()),_0x4e3c25[_0x26df9f(0x496)];}));}(pt)),pt[_0x48bb14(0x3b4)];}var St={'exports':{}},lc=St[_0x59f468(0x3b4)],fi;function nr(){return fi||(fi=0x1,function(_0x4820d0,_0x5cc1e5){(function(_0x14355d,_0x3c32d5,_0x5ab4b9){const _0x36872d=_0x2eda;_0x4820d0[_0x36872d(0x3b4)]=_0x3c32d5(_e(),rr());}(lc,function(_0x268d26){const _0x28e0bc=_0x2eda;_0x268d26[_0x28e0bc(0x4bd)][_0x28e0bc(0x33e)]||function(_0x36f00a){const _0x18d6ed=_0x28e0bc;var _0x1e24c5=_0x268d26,_0x162862=_0x1e24c5[_0x18d6ed(0x4bd)],_0x3a544d=_0x162862['Base'],_0xb8523b=_0x162862['WordArray'],_0x5bfefc=_0x162862['BufferedBlockAlgorithm'],_0x128e15=_0x1e24c5[_0x18d6ed(0x48f)];_0x128e15[_0x18d6ed(0x42d)];var _0x827a8e=_0x128e15[_0x18d6ed(0x3fa)],_0x1c5a87=_0x1e24c5['algo'],_0x2c646c=_0x1c5a87['EvpKDF'],_0x4bd35e=_0x162862['Cipher']=_0x5bfefc[_0x18d6ed(0x521)]({'cfg':_0x3a544d[_0x18d6ed(0x521)](),'createEncryptor':function(_0x587f4c,_0x4f64f8){return this['create'](this['_ENC_XFORM_MODE'],_0x587f4c,_0x4f64f8);},'createDecryptor':function(_0x11c4c7,_0x4792bd){const _0x1cc97b=_0x18d6ed;return this[_0x1cc97b(0x252)](this[_0x1cc97b(0x5af)],_0x11c4c7,_0x4792bd);},'init':function(_0xf68b6d,_0x402ea1,_0x582f0b){const _0x29c879=_0x18d6ed;this[_0x29c879(0x377)]=this[_0x29c879(0x377)][_0x29c879(0x521)](_0x582f0b),this[_0x29c879(0x4fb)]=_0xf68b6d,this[_0x29c879(0x1c0)]=_0x402ea1,this[_0x29c879(0x23f)]();},'reset':function(){const _0x24631b=_0x18d6ed;_0x5bfefc[_0x24631b(0x23f)][_0x24631b(0x3e3)](this),this[_0x24631b(0x452)]();},'process':function(_0x2eb3cf){const _0x53ac2e=_0x18d6ed;return this[_0x53ac2e(0x582)](_0x2eb3cf),this[_0x53ac2e(0x528)]();},'finalize':function(_0x3ea41a){const _0xfe696=_0x18d6ed;_0x3ea41a&&this[_0xfe696(0x582)](_0x3ea41a);var _0x59fa79=this[_0xfe696(0x47f)]();return _0x59fa79;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2301a6(_0x58ace9){const _0xa0f020=_0x2eda;return typeof _0x58ace9==_0xa0f020(0x2fb)?_0x3ad5bb:_0x1ec272;}return function(_0x1d54ef){return{'encrypt':function(_0x328c1a,_0x3b4e34,_0x4c12a4){return _0x2301a6(_0x3b4e34)['encrypt'](_0x1d54ef,_0x328c1a,_0x3b4e34,_0x4c12a4);},'decrypt':function(_0x352db7,_0x7fbb28,_0x435dad){const _0x2964b1=_0x2eda;return _0x2301a6(_0x7fbb28)[_0x2964b1(0x3c9)](_0x1d54ef,_0x352db7,_0x7fbb28,_0x435dad);}};};}())});_0x162862[_0x18d6ed(0x4ff)]=_0x4bd35e[_0x18d6ed(0x521)]({'_doFinalize':function(){const _0xe584b1=_0x18d6ed;var _0x1c5d69=this[_0xe584b1(0x528)](!0x0);return _0x1c5d69;},'blockSize':0x1});var _0x5e65ff=_0x1e24c5[_0x18d6ed(0x4f4)]={},_0x597080=_0x162862[_0x18d6ed(0x224)]=_0x3a544d[_0x18d6ed(0x521)]({'createEncryptor':function(_0x3ef086,_0x4ba15e){const _0x286e75=_0x18d6ed;return this[_0x286e75(0x1fd)][_0x286e75(0x252)](_0x3ef086,_0x4ba15e);},'createDecryptor':function(_0x3c9e17,_0x310fcc){const _0x5c15f1=_0x18d6ed;return this[_0x5c15f1(0x1cc)][_0x5c15f1(0x252)](_0x3c9e17,_0x310fcc);},'init':function(_0x477a90,_0x2b04d8){const _0x2960c0=_0x18d6ed;this[_0x2960c0(0x311)]=_0x477a90,this['_iv']=_0x2b04d8;}}),_0x28499a=_0x5e65ff['CBC']=(function(){const _0x2e31ae=_0x18d6ed;var _0x1337f7=_0x597080[_0x2e31ae(0x521)]();_0x1337f7[_0x2e31ae(0x1fd)]=_0x1337f7[_0x2e31ae(0x521)]({'processBlock':function(_0x445051,_0x41d128){const _0x5ea5f3=_0x2e31ae;var _0x189500=this['_cipher'],_0x39c6c5=_0x189500[_0x5ea5f3(0x43f)];_0x34c72e['call'](this,_0x445051,_0x41d128,_0x39c6c5),_0x189500[_0x5ea5f3(0x58f)](_0x445051,_0x41d128),this[_0x5ea5f3(0x2f5)]=_0x445051[_0x5ea5f3(0x38c)](_0x41d128,_0x41d128+_0x39c6c5);}}),_0x1337f7[_0x2e31ae(0x1cc)]=_0x1337f7[_0x2e31ae(0x521)]({'processBlock':function(_0x4e2443,_0x501537){const _0x429919=_0x2e31ae;var _0x27896e=this[_0x429919(0x311)],_0x1cee2f=_0x27896e['blockSize'],_0xf1b94d=_0x4e2443[_0x429919(0x38c)](_0x501537,_0x501537+_0x1cee2f);_0x27896e[_0x429919(0x2cf)](_0x4e2443,_0x501537),_0x34c72e[_0x429919(0x3e3)](this,_0x4e2443,_0x501537,_0x1cee2f),this['_prevBlock']=_0xf1b94d;}});function _0x34c72e(_0x2e6e98,_0x17f5b0,_0x450948){const _0x58d6a7=_0x2e31ae;var _0x242749,_0x501272=this['_iv'];_0x501272?(_0x242749=_0x501272,this[_0x58d6a7(0x26a)]=_0x36f00a):_0x242749=this[_0x58d6a7(0x2f5)];for(var _0x1f543a=0x0;_0x1f543a<_0x450948;_0x1f543a++)_0x2e6e98[_0x17f5b0+_0x1f543a]^=_0x242749[_0x1f543a];}return _0x1337f7;}()),_0x2a07c4=_0x1e24c5[_0x18d6ed(0x429)]={},_0x2b6545=_0x2a07c4[_0x18d6ed(0x3e8)]={'pad':function(_0x494a5e,_0x4fbde1){const _0x5153f6=_0x18d6ed;for(var _0x1d6d1d=_0x4fbde1*0x4,_0x424586=_0x1d6d1d-_0x494a5e[_0x5153f6(0x303)]%_0x1d6d1d,_0x30e2fd=_0x424586<<0x18|_0x424586<<0x10|_0x424586<<0x8|_0x424586,_0x35cf9c=[],_0x4bb3e7=0x0;_0x4bb3e7<_0x424586;_0x4bb3e7+=0x4)_0x35cf9c['push'](_0x30e2fd);var _0x2c1f02=_0xb8523b[_0x5153f6(0x252)](_0x35cf9c,_0x424586);_0x494a5e[_0x5153f6(0x340)](_0x2c1f02);},'unpad':function(_0x26204d){const _0x4d0fd3=_0x18d6ed;var _0x4d3e73=_0x26204d[_0x4d0fd3(0x520)][_0x26204d[_0x4d0fd3(0x303)]-0x1>>>0x2]&0xff;_0x26204d['sigBytes']-=_0x4d3e73;}};_0x162862[_0x18d6ed(0x4f7)]=_0x4bd35e[_0x18d6ed(0x521)]({'cfg':_0x4bd35e['cfg']['extend']({'mode':_0x28499a,'padding':_0x2b6545}),'reset':function(){const _0x166495=_0x18d6ed;var _0x514fb0;_0x4bd35e[_0x166495(0x23f)][_0x166495(0x3e3)](this);var _0x5d5ae6=this[_0x166495(0x377)],_0x503aeb=_0x5d5ae6['iv'],_0xa8bef5=_0x5d5ae6['mode'];this['_xformMode']==this[_0x166495(0x285)]?_0x514fb0=_0xa8bef5[_0x166495(0x3c6)]:(_0x514fb0=_0xa8bef5['createDecryptor'],this['_minBufferSize']=0x1),this[_0x166495(0x302)]&&this[_0x166495(0x302)][_0x166495(0x4e0)]==_0x514fb0?this[_0x166495(0x302)]['init'](this,_0x503aeb&&_0x503aeb[_0x166495(0x520)]):(this['_mode']=_0x514fb0['call'](_0xa8bef5,this,_0x503aeb&&_0x503aeb[_0x166495(0x520)]),this[_0x166495(0x302)][_0x166495(0x4e0)]=_0x514fb0);},'_doProcessBlock':function(_0x2c8f68,_0x5303c8){const _0x49dc2e=_0x18d6ed;this[_0x49dc2e(0x302)][_0x49dc2e(0x216)](_0x2c8f68,_0x5303c8);},'_doFinalize':function(){const _0xa6fc2c=_0x18d6ed;var _0x2c881d,_0x47cc06=this[_0xa6fc2c(0x377)][_0xa6fc2c(0x3f9)];return this['_xformMode']==this[_0xa6fc2c(0x285)]?(_0x47cc06[_0xa6fc2c(0x429)](this[_0xa6fc2c(0x290)],this[_0xa6fc2c(0x43f)]),_0x2c881d=this['_process'](!0x0)):(_0x2c881d=this[_0xa6fc2c(0x528)](!0x0),_0x47cc06['unpad'](_0x2c881d)),_0x2c881d;},'blockSize':0x80/0x20});var _0x36f9ed=_0x162862[_0x18d6ed(0x341)]=_0x3a544d[_0x18d6ed(0x521)]({'init':function(_0x284d61){const _0x4e9eb5=_0x18d6ed;this[_0x4e9eb5(0x1ac)](_0x284d61);},'toString':function(_0x20f7b9){const _0x27860f=_0x18d6ed;return(_0x20f7b9||this[_0x27860f(0x1a9)])[_0x27860f(0x3fc)](this);}}),_0x43a53f=_0x1e24c5[_0x18d6ed(0x265)]={},_0xf6964e=_0x43a53f[_0x18d6ed(0x2c0)]={'stringify':function(_0x1a9573){const _0x535c45=_0x18d6ed;var _0x25e92b,_0x25acc8=_0x1a9573[_0x535c45(0x283)],_0x4f0f1b=_0x1a9573[_0x535c45(0x314)];return _0x4f0f1b?_0x25e92b=_0xb8523b[_0x535c45(0x252)]([0x53616c74,0x65645f5f])['concat'](_0x4f0f1b)['concat'](_0x25acc8):_0x25e92b=_0x25acc8,_0x25e92b[_0x535c45(0x4a1)](_0x827a8e);},'parse':function(_0x2f8509){const _0x1301a3=_0x18d6ed;var _0x187ca7,_0x5e2c1a=_0x827a8e['parse'](_0x2f8509),_0xa3b810=_0x5e2c1a[_0x1301a3(0x520)];return _0xa3b810[0x0]==0x53616c74&&_0xa3b810[0x1]==0x65645f5f&&(_0x187ca7=_0xb8523b['create'](_0xa3b810[_0x1301a3(0x38c)](0x2,0x4)),_0xa3b810['splice'](0x0,0x4),_0x5e2c1a[_0x1301a3(0x303)]-=0x10),_0x36f9ed[_0x1301a3(0x252)]({'ciphertext':_0x5e2c1a,'salt':_0x187ca7});}},_0x1ec272=_0x162862[_0x18d6ed(0x2a9)]=_0x3a544d[_0x18d6ed(0x521)]({'cfg':_0x3a544d['extend']({'format':_0xf6964e}),'encrypt':function(_0x35dbce,_0xe36941,_0x323623,_0xfc8581){const _0x2887f5=_0x18d6ed;_0xfc8581=this[_0x2887f5(0x377)][_0x2887f5(0x521)](_0xfc8581);var _0x1777b0=_0x35dbce[_0x2887f5(0x3c6)](_0x323623,_0xfc8581),_0x30e1f6=_0x1777b0[_0x2887f5(0x37b)](_0xe36941),_0x2dc8ad=_0x1777b0[_0x2887f5(0x377)];return _0x36f9ed['create']({'ciphertext':_0x30e1f6,'key':_0x323623,'iv':_0x2dc8ad['iv'],'algorithm':_0x35dbce,'mode':_0x2dc8ad['mode'],'padding':_0x2dc8ad[_0x2887f5(0x3f9)],'blockSize':_0x35dbce['blockSize'],'formatter':_0xfc8581['format']});},'decrypt':function(_0x198685,_0x38573c,_0x537b3e,_0x195d28){const _0xd39c74=_0x18d6ed;_0x195d28=this[_0xd39c74(0x377)]['extend'](_0x195d28),_0x38573c=this[_0xd39c74(0x199)](_0x38573c,_0x195d28[_0xd39c74(0x265)]);var _0x528882=_0x198685[_0xd39c74(0x485)](_0x537b3e,_0x195d28)['finalize'](_0x38573c[_0xd39c74(0x283)]);return _0x528882;},'_parse':function(_0x2d1a1c,_0x180ba4){const _0x187f99=_0x18d6ed;return typeof _0x2d1a1c==_0x187f99(0x2fb)?_0x180ba4[_0x187f99(0x2e1)](_0x2d1a1c,this):_0x2d1a1c;}}),_0x196a46=_0x1e24c5[_0x18d6ed(0x47b)]={},_0x5451f0=_0x196a46[_0x18d6ed(0x2c0)]={'execute':function(_0x4a844c,_0x5e03cd,_0x8be130,_0x4afb7f,_0x5e286e){const _0x226623=_0x18d6ed;if(_0x4afb7f||(_0x4afb7f=_0xb8523b[_0x226623(0x585)](0x40/0x8)),_0x5e286e)var _0x5f36cc=_0x2c646c['create']({'keySize':_0x5e03cd+_0x8be130,'hasher':_0x5e286e})[_0x226623(0x322)](_0x4a844c,_0x4afb7f);else var _0x5f36cc=_0x2c646c[_0x226623(0x252)]({'keySize':_0x5e03cd+_0x8be130})['compute'](_0x4a844c,_0x4afb7f);var _0x2af239=_0xb8523b['create'](_0x5f36cc[_0x226623(0x520)][_0x226623(0x38c)](_0x5e03cd),_0x8be130*0x4);return _0x5f36cc[_0x226623(0x303)]=_0x5e03cd*0x4,_0x36f9ed[_0x226623(0x252)]({'key':_0x5f36cc,'iv':_0x2af239,'salt':_0x4afb7f});}},_0x3ad5bb=_0x162862[_0x18d6ed(0x4aa)]=_0x1ec272[_0x18d6ed(0x521)]({'cfg':_0x1ec272[_0x18d6ed(0x377)][_0x18d6ed(0x521)]({'kdf':_0x5451f0}),'encrypt':function(_0x3db119,_0xbe5dbd,_0x587cdb,_0x2b033f){const _0xe2d2e9=_0x18d6ed;_0x2b033f=this['cfg'][_0xe2d2e9(0x521)](_0x2b033f);var _0x52db95=_0x2b033f['kdf'][_0xe2d2e9(0x1c7)](_0x587cdb,_0x3db119[_0xe2d2e9(0x1b4)],_0x3db119[_0xe2d2e9(0x3c0)],_0x2b033f[_0xe2d2e9(0x314)],_0x2b033f[_0xe2d2e9(0x428)]);_0x2b033f['iv']=_0x52db95['iv'];var _0x3baf83=_0x1ec272[_0xe2d2e9(0x203)][_0xe2d2e9(0x3e3)](this,_0x3db119,_0xbe5dbd,_0x52db95[_0xe2d2e9(0x47d)],_0x2b033f);return _0x3baf83['mixIn'](_0x52db95),_0x3baf83;},'decrypt':function(_0x51f857,_0x40bb97,_0x5152da,_0x2a9b6f){const _0x29f691=_0x18d6ed;_0x2a9b6f=this[_0x29f691(0x377)][_0x29f691(0x521)](_0x2a9b6f),_0x40bb97=this[_0x29f691(0x199)](_0x40bb97,_0x2a9b6f[_0x29f691(0x265)]);var _0xa15a62=_0x2a9b6f[_0x29f691(0x47b)][_0x29f691(0x1c7)](_0x5152da,_0x51f857[_0x29f691(0x1b4)],_0x51f857[_0x29f691(0x3c0)],_0x40bb97[_0x29f691(0x314)],_0x2a9b6f[_0x29f691(0x428)]);_0x2a9b6f['iv']=_0xa15a62['iv'];var _0x59a9b5=_0x1ec272[_0x29f691(0x3c9)][_0x29f691(0x3e3)](this,_0x51f857,_0x40bb97,_0xa15a62[_0x29f691(0x47d)],_0x2a9b6f);return _0x59a9b5;}});}();}));}(St)),St['exports'];}var _c=ut[_0x59f468(0x3b4)],vi;function uc(){return vi||(vi=0x1,function(_0x1bcfbe,_0x532b8b){(function(_0x1b81c5,_0x673a66,_0x5eca41){const _0x3e96d8=_0x2eda;_0x1bcfbe[_0x3e96d8(0x3b4)]=_0x673a66(_e(),ir(),rc(),rr(),nr());}(_c,function(_0x1bdbf9){const _0x322501=_0x2eda;return(function(){const _0x6a4b58=_0x2eda;var _0x25a314=_0x1bdbf9,_0x37afdd=_0x25a314[_0x6a4b58(0x4bd)],_0x2c5695=_0x37afdd['BlockCipher'],_0x358bf7=_0x25a314['algo'],_0x28bc66=[],_0x2a38fe=[],_0x5e0868=[],_0x43ee97=[],_0x470885=[],_0x5bb578=[],_0x338313=[],_0x55b36a=[],_0x3b518f=[],_0x1ee1df=[];(function(){for(var _0x176c32=[],_0xb5cd64=0x0;_0xb5cd64<0x100;_0xb5cd64++)_0xb5cd64<0x80?_0x176c32[_0xb5cd64]=_0xb5cd64<<0x1:_0x176c32[_0xb5cd64]=_0xb5cd64<<0x1^0x11b;for(var _0x6cc5d7=0x0,_0x218af0=0x0,_0xb5cd64=0x0;_0xb5cd64<0x100;_0xb5cd64++){var _0x4676d3=_0x218af0^_0x218af0<<0x1^_0x218af0<<0x2^_0x218af0<<0x3^_0x218af0<<0x4;_0x4676d3=_0x4676d3>>>0x8^_0x4676d3&0xff^0x63,_0x28bc66[_0x6cc5d7]=_0x4676d3,_0x2a38fe[_0x4676d3]=_0x6cc5d7;var _0x27e7b9=_0x176c32[_0x6cc5d7],_0x3c328f=_0x176c32[_0x27e7b9],_0x24a973=_0x176c32[_0x3c328f],_0x73f7c0=_0x176c32[_0x4676d3]*0x101^_0x4676d3*0x1010100;_0x5e0868[_0x6cc5d7]=_0x73f7c0<<0x18|_0x73f7c0>>>0x8,_0x43ee97[_0x6cc5d7]=_0x73f7c0<<0x10|_0x73f7c0>>>0x10,_0x470885[_0x6cc5d7]=_0x73f7c0<<0x8|_0x73f7c0>>>0x18,_0x5bb578[_0x6cc5d7]=_0x73f7c0;var _0x73f7c0=_0x24a973*0x1010101^_0x3c328f*0x10001^_0x27e7b9*0x101^_0x6cc5d7*0x1010100;_0x338313[_0x4676d3]=_0x73f7c0<<0x18|_0x73f7c0>>>0x8,_0x55b36a[_0x4676d3]=_0x73f7c0<<0x10|_0x73f7c0>>>0x10,_0x3b518f[_0x4676d3]=_0x73f7c0<<0x8|_0x73f7c0>>>0x18,_0x1ee1df[_0x4676d3]=_0x73f7c0,_0x6cc5d7?(_0x6cc5d7=_0x27e7b9^_0x176c32[_0x176c32[_0x176c32[_0x24a973^_0x27e7b9]]],_0x218af0^=_0x176c32[_0x176c32[_0x218af0]]):_0x6cc5d7=_0x218af0=0x1;}}());var _0x11c369=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1c9ef2=_0x358bf7['AES']=_0x2c5695['extend']({'_doReset':function(){const _0xaa2d55=_0x6a4b58;var _0x3415f0;if(!(this[_0xaa2d55(0x596)]&&this['_keyPriorReset']===this['_key'])){for(var _0x392ce9=this[_0xaa2d55(0x1b7)]=this[_0xaa2d55(0x1c0)],_0x286963=_0x392ce9['words'],_0x1227fc=_0x392ce9['sigBytes']/0x4,_0x472e37=this[_0xaa2d55(0x596)]=_0x1227fc+0x6,_0x459e7d=(_0x472e37+0x1)*0x4,_0x3d6847=this[_0xaa2d55(0x268)]=[],_0x5a2413=0x0;_0x5a2413<_0x459e7d;_0x5a2413++)_0x5a2413<_0x1227fc?_0x3d6847[_0x5a2413]=_0x286963[_0x5a2413]:(_0x3415f0=_0x3d6847[_0x5a2413-0x1],_0x5a2413%_0x1227fc?_0x1227fc>0x6&&_0x5a2413%_0x1227fc==0x4&&(_0x3415f0=_0x28bc66[_0x3415f0>>>0x18]<<0x18|_0x28bc66[_0x3415f0>>>0x10&0xff]<<0x10|_0x28bc66[_0x3415f0>>>0x8&0xff]<<0x8|_0x28bc66[_0x3415f0&0xff]):(_0x3415f0=_0x3415f0<<0x8|_0x3415f0>>>0x18,_0x3415f0=_0x28bc66[_0x3415f0>>>0x18]<<0x18|_0x28bc66[_0x3415f0>>>0x10&0xff]<<0x10|_0x28bc66[_0x3415f0>>>0x8&0xff]<<0x8|_0x28bc66[_0x3415f0&0xff],_0x3415f0^=_0x11c369[_0x5a2413/_0x1227fc|0x0]<<0x18),_0x3d6847[_0x5a2413]=_0x3d6847[_0x5a2413-_0x1227fc]^_0x3415f0);for(var _0xc21f6b=this[_0xaa2d55(0x300)]=[],_0x498234=0x0;_0x498234<_0x459e7d;_0x498234++){var _0x5a2413=_0x459e7d-_0x498234;if(_0x498234%0x4)var _0x3415f0=_0x3d6847[_0x5a2413];else var _0x3415f0=_0x3d6847[_0x5a2413-0x4];_0x498234<0x4||_0x5a2413<=0x4?_0xc21f6b[_0x498234]=_0x3415f0:_0xc21f6b[_0x498234]=_0x338313[_0x28bc66[_0x3415f0>>>0x18]]^_0x55b36a[_0x28bc66[_0x3415f0>>>0x10&0xff]]^_0x3b518f[_0x28bc66[_0x3415f0>>>0x8&0xff]]^_0x1ee1df[_0x28bc66[_0x3415f0&0xff]];}}},'encryptBlock':function(_0x15c9f3,_0x26bd19){const _0xed6f5b=_0x6a4b58;this[_0xed6f5b(0x22a)](_0x15c9f3,_0x26bd19,this[_0xed6f5b(0x268)],_0x5e0868,_0x43ee97,_0x470885,_0x5bb578,_0x28bc66);},'decryptBlock':function(_0xf8d3cd,_0x11cba4){const _0x5b7556=_0x6a4b58;var _0x9c1a63=_0xf8d3cd[_0x11cba4+0x1];_0xf8d3cd[_0x11cba4+0x1]=_0xf8d3cd[_0x11cba4+0x3],_0xf8d3cd[_0x11cba4+0x3]=_0x9c1a63,this[_0x5b7556(0x22a)](_0xf8d3cd,_0x11cba4,this[_0x5b7556(0x300)],_0x338313,_0x55b36a,_0x3b518f,_0x1ee1df,_0x2a38fe);var _0x9c1a63=_0xf8d3cd[_0x11cba4+0x1];_0xf8d3cd[_0x11cba4+0x1]=_0xf8d3cd[_0x11cba4+0x3],_0xf8d3cd[_0x11cba4+0x3]=_0x9c1a63;},'_doCryptBlock':function(_0x5ebe96,_0x16b425,_0x27b909,_0x1fc9f3,_0x1c9c02,_0xf1f892,_0x9c7a25,_0x401d2f){const _0x3d6196=_0x6a4b58;for(var _0x5f4c25=this[_0x3d6196(0x596)],_0x3d5288=_0x5ebe96[_0x16b425]^_0x27b909[0x0],_0x394cfb=_0x5ebe96[_0x16b425+0x1]^_0x27b909[0x1],_0x1b690e=_0x5ebe96[_0x16b425+0x2]^_0x27b909[0x2],_0x276da1=_0x5ebe96[_0x16b425+0x3]^_0x27b909[0x3],_0x235997=0x4,_0x52046f=0x1;_0x52046f<_0x5f4c25;_0x52046f++){var _0x5492e2=_0x1fc9f3[_0x3d5288>>>0x18]^_0x1c9c02[_0x394cfb>>>0x10&0xff]^_0xf1f892[_0x1b690e>>>0x8&0xff]^_0x9c7a25[_0x276da1&0xff]^_0x27b909[_0x235997++],_0x48f18d=_0x1fc9f3[_0x394cfb>>>0x18]^_0x1c9c02[_0x1b690e>>>0x10&0xff]^_0xf1f892[_0x276da1>>>0x8&0xff]^_0x9c7a25[_0x3d5288&0xff]^_0x27b909[_0x235997++],_0xfccd49=_0x1fc9f3[_0x1b690e>>>0x18]^_0x1c9c02[_0x276da1>>>0x10&0xff]^_0xf1f892[_0x3d5288>>>0x8&0xff]^_0x9c7a25[_0x394cfb&0xff]^_0x27b909[_0x235997++],_0x352565=_0x1fc9f3[_0x276da1>>>0x18]^_0x1c9c02[_0x3d5288>>>0x10&0xff]^_0xf1f892[_0x394cfb>>>0x8&0xff]^_0x9c7a25[_0x1b690e&0xff]^_0x27b909[_0x235997++];_0x3d5288=_0x5492e2,_0x394cfb=_0x48f18d,_0x1b690e=_0xfccd49,_0x276da1=_0x352565;}var _0x5492e2=(_0x401d2f[_0x3d5288>>>0x18]<<0x18|_0x401d2f[_0x394cfb>>>0x10&0xff]<<0x10|_0x401d2f[_0x1b690e>>>0x8&0xff]<<0x8|_0x401d2f[_0x276da1&0xff])^_0x27b909[_0x235997++],_0x48f18d=(_0x401d2f[_0x394cfb>>>0x18]<<0x18|_0x401d2f[_0x1b690e>>>0x10&0xff]<<0x10|_0x401d2f[_0x276da1>>>0x8&0xff]<<0x8|_0x401d2f[_0x3d5288&0xff])^_0x27b909[_0x235997++],_0xfccd49=(_0x401d2f[_0x1b690e>>>0x18]<<0x18|_0x401d2f[_0x276da1>>>0x10&0xff]<<0x10|_0x401d2f[_0x3d5288>>>0x8&0xff]<<0x8|_0x401d2f[_0x394cfb&0xff])^_0x27b909[_0x235997++],_0x352565=(_0x401d2f[_0x276da1>>>0x18]<<0x18|_0x401d2f[_0x3d5288>>>0x10&0xff]<<0x10|_0x401d2f[_0x394cfb>>>0x8&0xff]<<0x8|_0x401d2f[_0x1b690e&0xff])^_0x27b909[_0x235997++];_0x5ebe96[_0x16b425]=_0x5492e2,_0x5ebe96[_0x16b425+0x1]=_0x48f18d,_0x5ebe96[_0x16b425+0x2]=_0xfccd49,_0x5ebe96[_0x16b425+0x3]=_0x352565;},'keySize':0x100/0x20});_0x25a314[_0x6a4b58(0x4af)]=_0x2c5695[_0x6a4b58(0x2c6)](_0x1c9ef2);}()),_0x1bdbf9[_0x322501(0x4af)];}));}(ut)),ut['exports'];}var dc=uc();const fc=at(dc);var vc=ir();const pi=at(vc);var It={'exports':{}},pc=It['exports'],mi;function mc(){const _0x2efc9f=_0x59f468;return mi||(mi=0x1,function(_0x1f2836,_0x36b995){(function(_0x3523e0,_0x239004){const _0x538512=_0x2eda;_0x1f2836[_0x538512(0x3b4)]=_0x239004(_e());}(pc,function(_0x3f1b78){const _0x413cd3=_0x2eda;return _0x3f1b78[_0x413cd3(0x48f)][_0x413cd3(0x42d)];}));}(It)),It[_0x2efc9f(0x3b4)];}var gc=mc();const Sc=at(gc);var Ct={'exports':{}},Ic=Ct[_0x59f468(0x3b4)],gi;function Cc(){const _0x2b3570=_0x59f468;return gi||(gi=0x1,function(_0x58d755,_0x556429){(function(_0x5a36e3,_0x129051){_0x58d755['exports']=_0x129051(_e());}(Ic,function(_0x2cb480){const _0x19760c=_0x2eda;return(function(){const _0x2149bb=_0x2eda;if(typeof ArrayBuffer==_0x2149bb(0x51c)){var _0x4238f4=_0x2cb480,_0x3345c4=_0x4238f4[_0x2149bb(0x4bd)],_0x57166b=_0x3345c4[_0x2149bb(0x20f)],_0x3fce16=_0x57166b['init'],_0x2e68f7=_0x57166b[_0x2149bb(0x43e)]=function(_0x94c1be){const _0xe975cf=_0x2149bb;if(_0x94c1be instanceof ArrayBuffer&&(_0x94c1be=new Uint8Array(_0x94c1be)),(_0x94c1be instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x94c1be instanceof Uint8ClampedArray||_0x94c1be instanceof Int16Array||_0x94c1be instanceof Uint16Array||_0x94c1be instanceof Int32Array||_0x94c1be instanceof Uint32Array||_0x94c1be instanceof Float32Array||_0x94c1be instanceof Float64Array)&&(_0x94c1be=new Uint8Array(_0x94c1be['buffer'],_0x94c1be[_0xe975cf(0x371)],_0x94c1be[_0xe975cf(0x566)])),_0x94c1be instanceof Uint8Array){for(var _0x1a981f=_0x94c1be[_0xe975cf(0x566)],_0x3d05aa=[],_0x383456=0x0;_0x383456<_0x1a981f;_0x383456++)_0x3d05aa[_0x383456>>>0x2]|=_0x94c1be[_0x383456]<<0x18-_0x383456%0x4*0x8;_0x3fce16[_0xe975cf(0x3e3)](this,_0x3d05aa,_0x1a981f);}else _0x3fce16['apply'](this,arguments);};_0x2e68f7[_0x2149bb(0x1d3)]=_0x57166b;}}()),_0x2cb480[_0x19760c(0x4bd)]['WordArray'];}));}(Ct)),Ct[_0x2b3570(0x3b4)];}var Ec=Cc();const bc=at(Ec);var Et={'exports':{}},Tc=Et[_0x59f468(0x3b4)],Si;function Rc(){return Si||(Si=0x1,function(_0x5a747f,_0x2b9c1f){(function(_0x13ee73,_0x10df32,_0x5cd6d1){_0x5a747f['exports']=_0x10df32(_e(),nr());}(Tc,function(_0x555881){const _0x4743fb=_0x2eda;return _0x555881['pad'][_0x4743fb(0x515)]={'pad':function(){},'unpad':function(){}},_0x555881[_0x4743fb(0x429)][_0x4743fb(0x515)];}));}(Et)),Et['exports'];}var Oc=Rc();const yc=at(Oc);function wc(_0x1ba7ed,_0x38ebfd){const _0xa12dee=_0x59f468,_0x866da9=_0x38ebfd-_0x1ba7ed[_0xa12dee(0x21a)]%_0x38ebfd,_0x534fb6=String[_0xa12dee(0x52b)](_0x866da9)[_0xa12dee(0x247)](_0x866da9);return _0x1ba7ed+_0x534fb6;}function Dc(_0x1eb741,_0x4cc683){const _0x403a0c=_0x59f468,_0x23acf4=bc[_0x403a0c(0x585)](0x10),_0x54db07=wc(_0x1eb741,0x10),_0x3bda6c=fc[_0x403a0c(0x203)](Sc[_0x403a0c(0x2e1)](_0x54db07),pi[_0x403a0c(0x2e1)](_0x4cc683),{'iv':_0x23acf4,'padding':yc});return _0x23acf4['concat'](_0x3bda6c['ciphertext'])[_0x403a0c(0x4a1)](pi);}function Pc(){const _0x156668=_0x59f468,_0x946a89=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x156668(0x2e0)];if(_0x946a89){const _0x2d35c9={'time':Math['floor'](Date['now']()/0x3e8),'domain':location['hostname']};return Dc(JSON[_0x156668(0x3fc)](_0x2d35c9),_0x946a89);}}var Uc=Object[_0x59f468(0x29a)],Nc=Object['getOwnPropertyDescriptor'],Ac=(_0x48b6a1,_0x25cca7,_0x2ddf79,_0x2f6f66)=>{const _0x4efcb3=_0x59f468;for(var _0x141ae1=_0x2f6f66>0x1?void 0x0:_0x2f6f66?Nc(_0x25cca7,_0x2ddf79):_0x25cca7,_0x28f066=_0x48b6a1[_0x4efcb3(0x21a)]-0x1,_0x2f2963;_0x28f066>=0x0;_0x28f066--)(_0x2f2963=_0x48b6a1[_0x28f066])&&(_0x141ae1=(_0x2f6f66?_0x2f2963(_0x25cca7,_0x2ddf79,_0x141ae1):_0x2f2963(_0x141ae1))||_0x141ae1);return _0x2f6f66&&_0x141ae1&&Uc(_0x25cca7,_0x2ddf79,_0x141ae1),_0x141ae1;},Mc=(_0x32254e,_0x5465df)=>(_0x2f14db,_0x2016f2)=>_0x5465df(_0x2f14db,_0x2016f2,_0x32254e);let Lt=class{constructor(_0x5b06db){const _0x595932=_0x59f468;this[_0x595932(0x2e7)]=_0x5b06db,this[_0x595932(0x2bd)]();}['_initRequestHeader'](){const _0x535a66=_0x59f468;this['_httpService'][_0x535a66(0x442)]({'interceptor':(_0x3b66f9,_0xb6fb72)=>{const _0x2debed=_0x535a66,_0x26de44=_0x3b66f9['headers'],_0x4537e1=Pc();return _0x4537e1&&_0x26de44[_0x2debed(0x279)]('x-univer-host',_0x4537e1),_0xb6fb72(_0x3b66f9);}});}};Lt=Ac([Mc(0x0,_0x222038(_0x216536))],Lt);var xc=Object[_0x59f468(0x29a)],Lc=Object['getOwnPropertyDescriptor'],$c=(_0x4db7ab,_0x1a549a,_0x1026b3,_0x50ef03)=>{for(var _0x2d4fcd=_0x50ef03>0x1?void 0x0:_0x50ef03?Lc(_0x1a549a,_0x1026b3):_0x1a549a,_0x20088c=_0x4db7ab['length']-0x1,_0x6c8287;_0x20088c>=0x0;_0x20088c--)(_0x6c8287=_0x4db7ab[_0x20088c])&&(_0x2d4fcd=(_0x50ef03?_0x6c8287(_0x1a549a,_0x1026b3,_0x2d4fcd):_0x6c8287(_0x2d4fcd))||_0x2d4fcd);return _0x50ef03&&_0x2d4fcd&&xc(_0x1a549a,_0x1026b3,_0x2d4fcd),_0x2d4fcd;},is=(_0x23eb83,_0x5102db)=>(_0x3a2a9b,_0x1e19de)=>_0x5102db(_0x3a2a9b,_0x1e19de,_0x23eb83);const Hc=[_0x59f468(0x267),'image/jpeg',_0x59f468(0x524),_0x59f468(0x30a),'image/bmp'],jc=0x5*0x400*0x400,Bc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',kc=_0x59f468(0x3df),Wc=_0x59f468(0x57f),Fc=_0x59f468(0x2fd);let ps=class{constructor(_0xa8205b,_0xb33a94,_0x29d6d1){const _0x4f93d1=_0x59f468;g(this,'_waitCount',0x0),g(this,_0x4f93d1(0x244),new _0xd6475b()),g(this,_0x4f93d1(0x22d),this['_change$']),g(this,'_imageSourceCache',new Map()),(this['_httpService']=_0xa8205b,this[_0x4f93d1(0x58b)]=_0xb33a94,this[_0x4f93d1(0x525)]=_0x29d6d1);}[_0x59f468(0x1cd)](_0x1ce532){const _0x12d038=_0x59f468;this[_0x12d038(0x1e2)]=_0x1ce532,this['_change$'][_0x12d038(0x307)](_0x1ce532);}[_0x59f468(0x36e)](_0x559cc2,_0x4e252b){const _0x3a77ec=_0x59f468;if(_0x4e252b===_0x35508e[_0x3a77ec(0x562)]){const _0x4f6252=new Image();return _0x4f6252[_0x3a77ec(0x35a)]=_0x559cc2,_0x4f6252;}return this[_0x3a77ec(0x4bf)][_0x3a77ec(0x25d)](_0x559cc2);}[_0x59f468(0x237)](_0x3cf42f,_0xc2ad33,_0x5d0b56){const _0x513f90=_0x59f468;_0xc2ad33===_0x35508e[_0x513f90(0x562)]||_0x5d0b56==null||this[_0x513f90(0x4bf)][_0x513f90(0x279)](_0x3cf42f,_0x5d0b56);}async['getImage'](_0x11e21d){const _0x3be694=_0x59f468;try{const _0x5cf60d=this[_0x3be694(0x38a)](this[_0x3be694(0x359)](),''+_0x11e21d),_0x4b0f3a=(await this[_0x3be694(0x2e7)][_0x3be694(0x25d)](_0x5cf60d))['body'];if(_0x4b0f3a[_0x3be694(0x1ec)]&&_0x4b0f3a[_0x3be694(0x1ec)][_0x3be694(0x2b1)]===Wi['OK']){const _0x485d94=new URL(_0x4b0f3a[_0x3be694(0x2cb)],this[_0x3be694(0x2a4)]())[_0x3be694(0x4a1)]();return Promise[_0x3be694(0x3d5)](_0x485d94);}return Promise['reject'](_0x4b0f3a[_0x3be694(0x1ec)]);}catch(_0x366eb8){return Promise[_0x3be694(0x4f5)](_0x366eb8);}}async[_0x59f468(0x2b3)](_0xf4eb33){const _0x5eb59e=_0x59f468;let _0x59abb9='';if(!Hc[_0x5eb59e(0x2f8)](_0xf4eb33[_0x5eb59e(0x2b2)]))return this[_0x5eb59e(0x2d5)](),Promise[_0x5eb59e(0x4f5)](new Error(_0x38d426[_0x5eb59e(0x26e)]));if(_0xf4eb33[_0x5eb59e(0x49b)]>jc)return this[_0x5eb59e(0x2d5)](),Promise[_0x5eb59e(0x4f5)](new Error(_0x38d426[_0x5eb59e(0x295)]));try{const _0x40d9a4=new FormData();_0x40d9a4[_0x5eb59e(0x3d9)](_0x5eb59e(0x3bd),_0xf4eb33);const _0x42e917=this[_0x5eb59e(0x525)][_0x5eb59e(0x370)](),_0x5944cd=_0x42e917==null?void 0x0:_0x42e917[_0x5eb59e(0x25c)]();if(!_0x5944cd)throw new Error(_0x5eb59e(0x538));const _0x391f6d=this[_0x5eb59e(0x1e4)]()+'?size='+_0xf4eb33['size'][_0x5eb59e(0x4a1)]()+_0x5eb59e(0x1d2)+Fi[_0x5eb59e(0x508)]+'&assign='+encodeURIComponent(_0x5944cd),_0x2cf97e=await(await fetch(_0x391f6d,{'method':'POST','body':_0x40d9a4}))[_0x5eb59e(0x294)]();if(typeof _0x2cf97e[_0x5eb59e(0x52c)]!=_0x5eb59e(0x2fb))return this[_0x5eb59e(0x2d5)](),Promise['reject'](new Error(_0x38d426[_0x5eb59e(0x1ed)]));_0x59abb9=_0x2cf97e[_0x5eb59e(0x52c)];}catch{return this[_0x5eb59e(0x2d5)](),Promise['reject'](new Error(_0x38d426[_0x5eb59e(0x1ed)]));}return new Promise((_0x31f3d2,_0x1d7023)=>{const _0x36f472=_0x5eb59e,_0x15d011=new FileReader();_0x15d011[_0x36f472(0x234)](_0xf4eb33),_0x15d011[_0x36f472(0x1e5)]=_0x411887=>{const _0x52e713=_0x36f472;var _0x2df928;const _0xedffc6=(_0x2df928=_0x411887[_0x52e713(0x305)])==null?void 0x0:_0x2df928['result'];if(_0xedffc6==null){this[_0x52e713(0x2d5)](),_0x1d7023(new Error(_0x38d426[_0x52e713(0x1ed)]));return;}const _0x350052=_0x218f61[_0x52e713(0x278)](0x6);_0x31f3d2({'imageId':_0x350052,'imageSourceType':_0x35508e[_0x52e713(0x306)],'source':_0x59abb9,'base64Cache':_0xedffc6,'status':_0x38d426[_0x52e713(0x2fa)]}),this[_0x52e713(0x2d5)]();};});}[_0x59f468(0x1e4)](){const _0x4e32f5=_0x59f468;var _0xd1b3c,_0x21dad1;const _0x5ec708=this[_0x4e32f5(0x58b)][_0x4e32f5(0x55d)](Bc),_0x221f00=this[_0x4e32f5(0x58b)][_0x4e32f5(0x55d)](Q);return(_0x21dad1=(_0xd1b3c=_0x221f00==null?void 0x0:_0x221f00[_0x4e32f5(0x23d)])!=null?_0xd1b3c:_0x5ec708)!=null?_0x21dad1:kc;}[_0x59f468(0x359)](){const _0x14795e=_0x59f468;var _0x155a59,_0x5400ac;const _0x1e306b=this[_0x14795e(0x58b)]['getConfig'](Wc),_0xa14724=this[_0x14795e(0x58b)][_0x14795e(0x55d)](Q);return(_0x5400ac=(_0x155a59=_0xa14724==null?void 0x0:_0xa14724[_0x14795e(0x231)])!=null?_0x155a59:_0x1e306b)!=null?_0x5400ac:Fc;}[_0x59f468(0x2a4)](){const _0x5a017b=_0x59f468;var _0x5b3032;const _0x301bc3=this[_0x5a017b(0x58b)]['getConfig'](Q);return(_0x5b3032=_0x301bc3==null?void 0x0:_0x301bc3['downloadEndpointUrl'])!=null?_0x5b3032:location[_0x5a017b(0x4d7)];}[_0x59f468(0x38a)](_0xe73684,_0x663c4a){const _0xae4380=_0x59f468;return _0xe73684['replace'](_0xae4380(0x3be),_0x663c4a);}[_0x59f468(0x2d5)](){const _0x386cc1=_0x59f468;this[_0x386cc1(0x1e2)]-=0x1,this[_0x386cc1(0x244)][_0x386cc1(0x307)](this[_0x386cc1(0x1e2)]);}};ps=$c([is(0x0,_0x222038(_0x216536)),is(0x1,_0x486aed),is(0x2,_0x222038(_0xd7de45))],ps);var Vc=Object[_0x59f468(0x29a)],Gc=Object[_0x59f468(0x368)],Yc=(_0x331e14,_0x101247,_0x5168f8,_0x35dfb0)=>{const _0xbb74e8=_0x59f468;for(var _0x47ea86=_0x35dfb0>0x1?void 0x0:_0x35dfb0?Gc(_0x101247,_0x5168f8):_0x101247,_0x53565d=_0x331e14[_0xbb74e8(0x21a)]-0x1,_0x1a8038;_0x53565d>=0x0;_0x53565d--)(_0x1a8038=_0x331e14[_0x53565d])&&(_0x47ea86=(_0x35dfb0?_0x1a8038(_0x101247,_0x5168f8,_0x47ea86):_0x1a8038(_0x47ea86))||_0x47ea86);return _0x35dfb0&&_0x47ea86&&Vc(_0x101247,_0x5168f8,_0x47ea86),_0x47ea86;},Ii=(_0x7d7cbd,_0x3f730f)=>(_0x2b6a8f,_0x1f48e4)=>_0x3f730f(_0x2b6a8f,_0x1f48e4,_0x7d7cbd);const Kc=_0x59f468(0x40d);let ms=class{constructor(_0x359505,_0x5f5326){const _0x3bc821=_0x59f468;this['_configService']=_0x359505,this[_0x3bc821(0x3f8)]=_0x5f5326;}[_0x59f468(0x2e4)](){const _0x468607=_0x59f468;var _0x328f2c,_0xa8d0d0;const _0x19b732=this['_configService'][_0x468607(0x55d)](sr),_0x347645=this[_0x468607(0x58b)][_0x468607(0x55d)](Q);return(_0xa8d0d0=(_0x328f2c=_0x347645==null?void 0x0:_0x347645[_0x468607(0x204)])!=null?_0x328f2c:_0x19b732)!=null?_0xa8d0d0:Kc;}async[_0x59f468(0x4c5)](_0x1b7c6b){const _0x14f8f3=_0x59f468,_0x14553a=this[_0x14f8f3(0x2e4)]()+_0x14f8f3(0x46e);return{'list':[{'title':_0x14f8f3(0x3db),'mentions':(await this['_HTTPService'][_0x14f8f3(0x25d)](_0x14553a,{'params':{'objectID':_0x1b7c6b[_0x14f8f3(0x51a)],'unitID':_0x1b7c6b[_0x14f8f3(0x51a)]}}))['body'][_0x14f8f3(0x254)][_0x14f8f3(0x36d)](_0xb25302=>({'objectId':_0xb25302['id'],'name':_0xb25302[_0x14f8f3(0x317)]['name'],'metadata':{'icon':_0xb25302[_0x14f8f3(0x317)]['avatar']},'label':_0xb25302[_0x14f8f3(0x317)][_0x14f8f3(0x48c)],'objectType':_0xf50cab[_0x14f8f3(0x1d7)]})),'metadata':{},'type':_0xf50cab['PERSON']}]};}};ms=Yc([Ii(0x0,_0x222038(_0x486aed)),Ii(0x1,_0x222038(_0x216536))],ms);var qc=Object[_0x59f468(0x29a)],zc=Object[_0x59f468(0x368)],Xc=(_0x49d232,_0x120339,_0x5cf560,_0x3a0bfa)=>{const _0x120e71=_0x59f468;for(var _0x3a1ab2=_0x3a0bfa>0x1?void 0x0:_0x3a0bfa?zc(_0x120339,_0x5cf560):_0x120339,_0x4ef3f0=_0x49d232[_0x120e71(0x21a)]-0x1,_0x49c09d;_0x4ef3f0>=0x0;_0x4ef3f0--)(_0x49c09d=_0x49d232[_0x4ef3f0])&&(_0x3a1ab2=(_0x3a0bfa?_0x49c09d(_0x120339,_0x5cf560,_0x3a1ab2):_0x49c09d(_0x3a1ab2))||_0x3a1ab2);return _0x3a0bfa&&_0x3a1ab2&&qc(_0x120339,_0x5cf560,_0x3a1ab2),_0x3a1ab2;},Qe=(_0x1dc94a,_0x186d26)=>(_0x2df58c,_0x450808)=>_0x186d26(_0x2df58c,_0x450808,_0x1dc94a);let $t=class extends _0x2c59cd{constructor(_0x554c80,_0x4b9f4f,_0x256451,_0x45babc,_0x567b43){const _0x792d76=_0x59f468;super(),this[_0x792d76(0x351)]=_0x554c80,this[_0x792d76(0x525)]=_0x4b9f4f,this[_0x792d76(0x335)]=_0x256451,this[_0x792d76(0x463)]=_0x45babc,this[_0x792d76(0x58c)]=_0x567b43,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x59f468(0x29c)](){const _0x459797=_0x59f468,_0xc1e2d7=async _0x1614e5=>{const _0x2cbffb=_0x2eda;(await this[_0x2cbffb(0x463)][_0x2cbffb(0x55c)](_0x1614e5))['event$'][_0x2cbffb(0x318)](_0x3c73ca(_0x29a1c5=>_0x29a1c5['eventID']===_0x8a32d4[_0x2cbffb(0x518)]),_0x1eb937(this[_0x2cbffb(0x2c5)]))[_0x2cbffb(0x347)](_0x3b355c=>{const _0x2be811=_0x2cbffb,_0x28079b=_0x3b355c,{reason:_0x369745}=_0x28079b[_0x2be811(0x233)];this[_0x2be811(0x351)][_0x2be811(0x25d)](_0x3bbf26)[_0x2be811(0x31c)]({'type':_0x47f0e7[_0x2be811(0x2a8)],'content':this[_0x2be811(0x58c)]['t'](_0x2be811(0x45d))+'('+_0x369745+')'}),this[_0x2be811(0x335)]['updatePermissionPoint'](new _0x4ef6a0(_0x1614e5)['id'],!0x1),this['_collaborationSessionService'][_0x2be811(0x514)](_0x1614e5);});};_0x5becde(this[_0x459797(0x525)][_0x459797(0x242)](_0x52550e[_0x459797(0x2b0)]),this[_0x459797(0x525)]['getTypeOfUnitAdded$'](_0x52550e[_0x459797(0x4f9)]))['pipe'](_0x3968e0(_0x5e94cc=>_0x5e94cc[_0x459797(0x25c)]()),_0x3c73ca(_0x2bde4=>!_0x1db883(_0x2bde4)),_0x1eb937(this[_0x459797(0x2c5)]))[_0x459797(0x347)](_0x3789af=>{_0xc1e2d7(_0x3789af);});}[_0x59f468(0x3a6)](){const _0x498972=_0x59f468,_0xa2a0c1=async _0x1b7a4d=>{const _0x4e939c=_0x2eda;(await this[_0x4e939c(0x463)][_0x4e939c(0x55c)](_0x1b7a4d))[_0x4e939c(0x529)][_0x4e939c(0x318)](_0x3c73ca(_0x4a0d00=>_0x4a0d00[_0x4e939c(0x1b1)]===_0x8a32d4[_0x4e939c(0x2e3)]),_0x1eb937(this['dispose$']))['subscribe'](_0x50fb15=>{const _0xba26e0=_0x4e939c,_0x19123f=_0x50fb15,{objectId:_0x9b693d}=_0x19123f[_0xba26e0(0x233)],_0x3e84bb=this['_injector']['get'](_0x548674);_0x9b693d===_0x1b7a4d?_0x3e84bb[_0xba26e0(0x362)](_0x1b7a4d):_0x3e84bb[_0xba26e0(0x33b)](_0x1b7a4d,_0x9b693d);});};_0x5becde(this[_0x498972(0x525)][_0x498972(0x242)](_0x52550e[_0x498972(0x2b0)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x52550e[_0x498972(0x4f9)]))[_0x498972(0x318)](_0x3968e0(_0x1c9f5f=>_0x1c9f5f[_0x498972(0x25c)]()),_0x3c73ca(_0x3baa18=>!_0x1db883(_0x3baa18)),_0x1eb937(this[_0x498972(0x2c5)]))[_0x498972(0x347)](_0x38fc3b=>{_0xa2a0c1(_0x38fc3b);});}};$t=Xc([Qe(0x0,_0x222038(_0x2e1c56)),Qe(0x1,_0xd7de45),Qe(0x2,_0x593390),Qe(0x3,_0x222038(Me)),Qe(0x4,_0x222038(_0x52880d))],$t);var Jc=Object['defineProperty'],Zc=Object[_0x59f468(0x368)],Qc=(_0x24616d,_0x5b4607,_0x614ba0,_0x1686e1)=>{for(var _0x53f12c=_0x1686e1>0x1?void 0x0:_0x1686e1?Zc(_0x5b4607,_0x614ba0):_0x5b4607,_0x4a3d10=_0x24616d['length']-0x1,_0x30f6bb;_0x4a3d10>=0x0;_0x4a3d10--)(_0x30f6bb=_0x24616d[_0x4a3d10])&&(_0x53f12c=(_0x1686e1?_0x30f6bb(_0x5b4607,_0x614ba0,_0x53f12c):_0x30f6bb(_0x53f12c))||_0x53f12c);return _0x1686e1&&_0x53f12c&&Jc(_0x5b4607,_0x614ba0,_0x53f12c),_0x53f12c;},Ci=(_0x38c0ae,_0xe07ae1)=>(_0x598a47,_0x81cdde)=>_0xe07ae1(_0x598a47,_0x81cdde,_0x38c0ae);let gs=class{constructor(_0x2dba44,_0x2d0b18){const _0x5adc1c=_0x59f468;this[_0x5adc1c(0x58b)]=_0x2dba44,this[_0x5adc1c(0x2e7)]=_0x2d0b18;}async['getUnitOnRev'](_0x4db05a,_0x24e12b){const _0x16bdbe=_0x59f468;var _0x44ad27;const {unitID:_0x40a9aa,type:_0x100072,revision:_0xad6f30=0x0}=_0x24e12b,_0x5600ea=this['_getSnapshotAPIPrefix']()+'/'+_0x100072+_0x16bdbe(0x20c)+_0x40a9aa+'/rev/'+_0xad6f30,_0x525596=(await this[_0x16bdbe(0x2e7)][_0x16bdbe(0x25d)](_0x5600ea))[_0x16bdbe(0x444)],_0x520bbc=(_0x44ad27=_0x525596['snapshot'])==null?void 0x0:_0x44ad27[_0x16bdbe(0x53d)];if(_0x520bbc){const _0x225d31=_0x520bbc==null?void 0x0:_0x520bbc['originalMeta'],_0x36ab34=_0x4e5a09[_0x16bdbe(0x519)](_0x1a2e07(_0x225d31));_0x520bbc['originalMeta']=_0x36ab34,Object[_0x16bdbe(0x2f2)](_0x520bbc[_0x16bdbe(0x324)])[_0x16bdbe(0x3b0)](([,_0x20e92f])=>{const _0x3a2968=_0x16bdbe,_0x356656=_0x20e92f[_0x3a2968(0x493)],_0x430e01=_0x4e5a09[_0x3a2968(0x519)](_0x1a2e07(_0x356656));_0x20e92f[_0x3a2968(0x493)]=_0x430e01;});}return _0x525596;}async[_0x59f468(0x3bc)](_0x138849,_0x10545f){const _0x1c4a93=_0x59f468,{unitID:_0xaf9bb6,type:_0x46064b,blockID:_0x7e2aba}=_0x10545f,_0x258127=this[_0x1c4a93(0x57a)]()+'/'+_0x46064b+_0x1c4a93(0x20c)+_0xaf9bb6+_0x1c4a93(0x223)+_0x7e2aba;return(await this[_0x1c4a93(0x2e7)]['get'](_0x258127))[_0x1c4a93(0x444)];}async[_0x59f468(0x2c4)](_0x32eef2,_0x9651d0){const _0x39690f=_0x59f468,{unitID:_0x352302,type:_0x4d3a17,blockID:_0x3dc965}=_0x9651d0,_0x2f2cb4=this[_0x39690f(0x57a)]()+_0x39690f(0x223)+_0x4d3a17+_0x39690f(0x20c)+_0x352302+'/block/'+_0x3dc965;return(await this[_0x39690f(0x2e7)][_0x39690f(0x25d)](_0x2f2cb4))[_0x39690f(0x444)];}async[_0x59f468(0x1b0)](_0x9c89e6,_0x4c797d){const _0x2b0c33=_0x59f468,{unitID:_0x478f1d,type:_0x2c88a4,from:_0x5ede18,to:_0x59efb3}=_0x4c797d,_0x41f98e=this[_0x2b0c33(0x57a)]()+'/'+_0x2c88a4+'/unit/'+_0x478f1d+'/fetchmissing?from='+_0x5ede18+'&to='+_0x59efb3;return(await this[_0x2b0c33(0x2e7)]['get'](_0x41f98e))[_0x2b0c33(0x444)];}['_getSnapshotAPIPrefix'](){const _0x52a60a=_0x59f468;var _0x575e00;return(_0x575e00=this[_0x52a60a(0x58b)][_0x52a60a(0x55d)](bn))!=null?_0x575e00:this[_0x52a60a(0x57a)]();}[_0x59f468(0x57a)](){const _0x1ffe39=_0x59f468;var _0x31ae2d,_0x10f25a;const _0x14d1de=this['_configService'][_0x1ffe39(0x55d)](Cn),_0xad7c63=this[_0x1ffe39(0x58b)]['getConfig'](Q);return(_0x10f25a=(_0x31ae2d=_0xad7c63==null?void 0x0:_0xad7c63['snapshotServerUrl'])!=null?_0x31ae2d:_0x14d1de)!=null?_0x10f25a:En;}async[_0x59f468(0x471)](_0x20a655,_0x16d6b5){const _0x2b625e=_0x59f468,_0x12e49f=_0x2b625e(0x3b8)+_0x16d6b5['type']+_0x2b625e(0x20c)+_0x16d6b5[_0x2b625e(0x405)]+_0x2b625e(0x1b3);return(await this[_0x2b625e(0x2e7)][_0x2b625e(0x25d)](_0x12e49f,{'params':{'resourceId':JSON[_0x2b625e(0x3fc)](_0x16d6b5[_0x2b625e(0x39b)])}}))['body'];}[_0x59f468(0x260)](){const _0x3e1cca=_0x59f468;throw new Error(_0x3e1cca(0x2de));}[_0x59f468(0x399)](){const _0x495ca2=_0x59f468;throw new Error(_0x495ca2(0x2de));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){const _0x4bdaca=_0x59f468;throw new Error(_0x4bdaca(0x2de));}[_0x59f468(0x547)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};gs=Qc([Ci(0x0,_0x486aed),Ci(0x1,_0x222038(_0x216536))],gs);var eh=Object[_0x59f468(0x29a)],th=Object[_0x59f468(0x368)],sh=(_0x58c1a0,_0x35884d,_0x4f1602,_0x4da412)=>{const _0x457fcb=_0x59f468;for(var _0x359ddc=_0x4da412>0x1?void 0x0:_0x4da412?th(_0x35884d,_0x4f1602):_0x35884d,_0x423e33=_0x58c1a0[_0x457fcb(0x21a)]-0x1,_0x3b9ec6;_0x423e33>=0x0;_0x423e33--)(_0x3b9ec6=_0x58c1a0[_0x423e33])&&(_0x359ddc=(_0x4da412?_0x3b9ec6(_0x35884d,_0x4f1602,_0x359ddc):_0x3b9ec6(_0x359ddc))||_0x359ddc);return _0x4da412&&_0x359ddc&&eh(_0x35884d,_0x4f1602,_0x359ddc),_0x359ddc;},et=(_0x369449,_0x4852d7)=>(_0x3613f7,_0x358fd3)=>_0x4852d7(_0x3613f7,_0x358fd3,_0x369449);function _0x2eda(_0x4668f8,_0x15c4e7){const _0x23ae78=_0x23ae();return _0x2eda=function(_0x2edabb,_0x2436d8){_0x2edabb=_0x2edabb-0x197;let _0x5066d1=_0x23ae78[_0x2edabb];return _0x5066d1;},_0x2eda(_0x4668f8,_0x15c4e7);}let Ss=class extends _0x2432d3{constructor(_0x2b7d4d,_0x1707e7,_0x2ca9ef,_0x35c92d,_0xa1b1b0){const _0x586ab0=_0x59f468;super(_0x2b7d4d,_0x1707e7,_0x2ca9ef),this[_0x586ab0(0x24f)]=_0x35c92d,this[_0x586ab0(0x3b6)]=_0xa1b1b0;}['transformUndoRedo'](_0x1b58c4,_0x5d5311){const _0x3ef622=_0x59f468,_0x186f98=this[_0x3ef622(0x36c)](_0x1b58c4);if(_0x186f98)try{const _0x409539=this[_0x3ef622(0x3e6)](_0x186f98,_0x5d5311);this[_0x3ef622(0x41a)](_0x1b58c4,_0x409539);}catch(_0x2864e4){this[_0x3ef622(0x3b6)]['error']('[CollaborationUndoRedoService]',_0x2864e4),this[_0x3ef622(0x34e)](_0x1b58c4);}const _0x305712=this[_0x3ef622(0x3e1)](_0x1b58c4);if(_0x305712)try{const _0x42fbe1=this[_0x3ef622(0x3e6)](_0x305712,_0x5d5311);this[_0x3ef622(0x517)](_0x1b58c4,_0x42fbe1);}catch(_0x4231cb){this[_0x3ef622(0x3b6)]['error'](_0x4231cb),this[_0x3ef622(0x3cd)](_0x1b58c4);}}[_0x59f468(0x34e)](_0x273938){const _0x329f9a=_0x59f468,_0x272ea0=this[_0x329f9a(0x36c)](_0x273938);_0x272ea0&&(_0x272ea0['length']=0x0,this[_0x329f9a(0x3ad)]());}[_0x59f468(0x3cd)](_0x40e60c){const _0x40a10f=_0x59f468,_0x372de9=this[_0x40a10f(0x3e1)](_0x40e60c);_0x372de9&&(_0x372de9[_0x40a10f(0x21a)]=0x0,this[_0x40a10f(0x3ad)]());}[_0x59f468(0x41a)](_0x23f9e5,_0x1f9818){const _0x183256=_0x59f468;this[_0x183256(0x2f6)][_0x183256(0x279)](_0x23f9e5,_0x1f9818),this[_0x183256(0x3ad)]();}[_0x59f468(0x517)](_0x3a0bd5,_0x3f58c4){const _0x279107=_0x59f468;this['_redoStacks'][_0x279107(0x279)](_0x3a0bd5,_0x3f58c4),this[_0x279107(0x3ad)]();}['_transformStack'](_0x751f31,_0x3b1c70){const _0x6f28f0=_0x59f468,_0x150fe5=[];let _0x4a8870=_0x3b1c70,_0x22d461=_0x3b1c70;for(let _0x171ebd=_0x751f31['length']-0x1;_0x171ebd>=0x0;_0x171ebd--){const {unitID:_0x152011,undoMutations:_0x74765b,redoMutations:_0x4c161b}=_0x751f31[_0x171ebd],_0x4e5672=this['_transformService'][_0x6f28f0(0x3ce)](_0x4a8870,_0x74765b),_0x18309c=this[_0x6f28f0(0x24f)][_0x6f28f0(0x3ce)](_0x22d461,_0x4c161b);if(_0x571511(_0x4e5672)||_0x571511(_0x18309c)){this[_0x6f28f0(0x3b6)][_0x6f28f0(0x1ec)]('[CollaborationUndoRedoService]',_0x6f28f0(0x43a),_0x4e5672,_0x18309c);break;}_0x4a8870=_0x4e5672[_0x6f28f0(0x3da)],_0x22d461=_0x18309c[_0x6f28f0(0x3da)],_0x150fe5[_0x6f28f0(0x4cf)]({'unitID':_0x152011,'undoMutations':_0x4e5672['m2Prime'],'redoMutations':_0x18309c[_0x6f28f0(0x388)]});}return _0x150fe5[_0x6f28f0(0x51f)]();}};Ss=sh([et(0x0,_0xd7de45),et(0x1,_0x1e017f),et(0x2,_0xe6d98),et(0x3,_0x4cb437),et(0x4,_0x37805d)],Ss);class ih extends _0x2c59cd{constructor(){const _0x59a75e=_0x59f468;super(),g(this,_0x59a75e(0x50c)),this[_0x59a75e(0x50c)]=_0x92f771(window,_0x59a75e(0x4b4))[_0x59a75e(0x318)](_0x2eaf5f(this[_0x59a75e(0x2c5)]),_0x2ff007(0x1),_0x467ca9(void 0x0));}['setParam'](_0x4e7ca9,_0x44302e,_0x3b057a=!0x1){const _0x5ad8cb=_0x59f468,_0x2f918e=new URL(window['location'][_0x5ad8cb(0x2f0)]);_0x2f918e[_0x5ad8cb(0x4f2)][_0x5ad8cb(0x279)](_0x4e7ca9,_0x44302e),_0x3b057a?window[_0x5ad8cb(0x539)][_0x5ad8cb(0x4ba)]('','',_0x2f918e[_0x5ad8cb(0x4a1)]()):window[_0x5ad8cb(0x539)]['pushState']('','',_0x2f918e['toString']());}[_0x59f468(0x3eb)](_0x54a5db,_0x1f3269=!0x1){const _0x1aae4c=_0x59f468,_0x14bdc2=new URL(window[_0x1aae4c(0x30e)]['href']);_0x14bdc2[_0x1aae4c(0x4f2)][_0x1aae4c(0x29e)](_0x54a5db),_0x1f3269?window[_0x1aae4c(0x539)]['replaceState']('','',_0x14bdc2[_0x1aae4c(0x4a1)]()):window['history'][_0x1aae4c(0x506)]('','',_0x14bdc2[_0x1aae4c(0x4a1)]());}['getParam'](_0x13b498){const _0x16fd36=_0x59f468;var _0x11215f;return(_0x11215f=new URL(window[_0x16fd36(0x30e)][_0x16fd36(0x2f0)])['searchParams'][_0x16fd36(0x25d)](_0x13b498))!=null?_0x11215f:void 0x0;}}var or=Object[_0x59f468(0x29a)],rh=Object[_0x59f468(0x368)],nh=(_0x349c1f,_0x243087,_0x50da23)=>_0x243087 in _0x349c1f?or(_0x349c1f,_0x243087,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50da23}):_0x349c1f[_0x243087]=_0x50da23,oh=(_0x167055,_0x5b1276,_0x280fbf,_0x55261f)=>{const _0x5348bc=_0x59f468;for(var _0x219a42=_0x55261f>0x1?void 0x0:_0x55261f?rh(_0x5b1276,_0x280fbf):_0x5b1276,_0x3d3115=_0x167055[_0x5348bc(0x21a)]-0x1,_0x3e2c25;_0x3d3115>=0x0;_0x3d3115--)(_0x3e2c25=_0x167055[_0x3d3115])&&(_0x219a42=(_0x55261f?_0x3e2c25(_0x5b1276,_0x280fbf,_0x219a42):_0x3e2c25(_0x219a42))||_0x219a42);return _0x55261f&&_0x219a42&&or(_0x5b1276,_0x280fbf,_0x219a42),_0x219a42;},lt=(_0x47a1ce,_0x17fb30)=>(_0x4bea7b,_0x4be872)=>_0x17fb30(_0x4bea7b,_0x4be872,_0x47a1ce),ah=(_0x4410ec,_0x26cb20,_0x17f003)=>nh(_0x4410ec,_0x26cb20+'',_0x17f003);const ch=_0x59f468(0x44c);let Is=class extends _0x113ffe{constructor(_0x2e0ee1=jn,_0x59e19d,_0x416254,_0x111541,_0x424a7a){const _0x5d8b17=_0x59f468;super(),this[_0x5d8b17(0x522)]=_0x2e0ee1,this[_0x5d8b17(0x3b6)]=_0x59e19d,this[_0x5d8b17(0x342)]=_0x416254,this['_injector']=_0x111541,this[_0x5d8b17(0x58b)]=_0x424a7a;const {..._0x574e69}=this[_0x5d8b17(0x522)];this[_0x5d8b17(0x58b)][_0x5d8b17(0x481)](Q,_0x574e69);}['onStarting'](){const _0x26b565=_0x59f468;this[_0x26b565(0x1a6)](),this[_0x26b565(0x3fb)]();}[_0x59f468(0x23c)](){const _0x52bb9c=_0x59f468;_0x4c0f56(this[_0x52bb9c(0x351)],[[Mt],[Ut]]);}['onRendered'](){const _0x1b9a8=_0x59f468;this[_0x1b9a8(0x3b1)]();}[_0x59f468(0x1a6)](){const _0x30eeac=_0x59f468;var _0x33db8e,_0x2fb251,_0x13687d,_0x3fe09e;this[_0x30eeac(0x351)][_0x30eeac(0x309)](_0x2d2527)&&this[_0x30eeac(0x3b6)]['error'](_0x30eeac(0x239),_0x30eeac(0x526));const _0x122338=[[_0x2d2527,{'useClass':Ss}],[Me],[Us],[tr,{'useClass':ih}],[Ae],[z],[_0x5cdeee],[yt],[Dt],[Ot],[wt],[Ds],[xt],[Lt],[Gi],[$t],[Vi,{'useClass':(_0x2fb251=(_0x33db8e=this[_0x30eeac(0x522)])==null?void 0x0:_0x33db8e[_0x30eeac(0x374)])!=null?_0x2fb251:as}],[_0x24bd52,{'useClass':gs}],[_0x18f660,{'useClass':vs}],[_0x3c5ccf,{'useClass':ps}],[_0x454d7e,{'useClass':ms}],[it],[At],[Nt],[Mt],[Fe],[Ut]];(_0x13687d=this[_0x30eeac(0x522)])!=null&&_0x13687d[_0x30eeac(0x1cf)]&&_0x122338[_0x30eeac(0x4cf)]([Ht,{'useClass':Io}]),_0x33f43b(this[_0x30eeac(0x351)],_0x996ab4(_0x122338,(_0x3fe09e=this['_config'])==null?void 0x0:_0x3fe09e[_0x30eeac(0x3c8)]));}[_0x59f468(0x3b1)](){const _0xf38f8d=_0x59f468;this[_0xf38f8d(0x4e2)](this[_0xf38f8d(0x342)][_0xf38f8d(0x32f)](_0x52550e[_0xf38f8d(0x4f9)],[ds])),this['disposeWithMe'](this[_0xf38f8d(0x342)]['registerRenderModule'](_0x52550e[_0xf38f8d(0x2b0)],[fs]));}[_0x59f468(0x3fb)](){const _0x54771c=_0x59f468;var _0x38f133,_0x193a86;this['_injector']['get'](_0x216536)[_0x54771c(0x442)]({'priority':0x14,'interceptor':_0x5df05e({'maxParallel':0x6})}),(_0x38f133=this[_0x54771c(0x522)])!=null&&_0x38f133['enableOfflineEditing']||this['_injector']['get'](z)[_0x54771c(0x1a8)](),(_0x193a86=this['_config'])!=null&&_0x193a86[_0x54771c(0x35c)]&&_0x4c0f56(this[_0x54771c(0x351)],[[xt]]),_0x4c0f56(this[_0x54771c(0x351)],[[Lt],[Fe],[At],[it],[Nt],[$t]]);}};ah(Is,_0x59f468(0x394),ch),Is=oh([_0x9ba82c(_0x551335,_0x3b21ea),lt(0x1,_0x37805d),lt(0x2,_0x4e56e4),lt(0x3,_0x222038(_0x2e1c56)),lt(0x4,_0x486aed)],Is);export{sr as AUTHZ_URL_KEY,vs as AuthzIoHttpService,Q as COLLAB_CLIENT_CONFIG_KEY,xn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,Pt as CollaborationEntity,cs as CollaborationSession,Me as CollaborationSessionService,as as CollaborationSocketService,J as CollaborationStatus,Ma as CollaborationStatusDisplay,Gi as CommentService,At as DataLoaderController,Nt as DesktopCollaborationStatusDisplayController,hs as DocCollaborationEntity,wn as HEARTBEAT_INTERVAL_KEY,Bi as HEARTBEAT_TIMEOUT_KEY,Vi as ICollaborationSocketService,tr as IURLService,ps as ImageIoService,An as LOCAL_CACHE_INTERVAL_KEY,$n as LOGIN_URL_KEY,z as LocalCacheService,Ae as MemberService,ms as MentionIoHttpService,Un as RETRY_CONNECTING_MAX_COUNT_KEY,yh as SEND_CHANGESET_TIMEOUT_KEY,Cn as SNAPSHOT_SERVER_URL_KEY,bn as SNAPSHOT_URL_KEY,fe as SessionStatus,da as SheetCollabCursorShape,ls as SheetCollaborationEntity,gs as SnapshotServerOverHTTPService,Is as UniverCollaborationClientPlugin,ih as WebURLService,Bn as deserializeToCombResponse,kn as serializeCombRequest};
1
+ const _0x112848=_0x5808;(function(_0x356b66,_0x563a9c){const _0x151b14=_0x5808,_0x5f4193=_0x356b66();while(!![]){try{const _0x41170e=-parseInt(_0x151b14(0x428))/0x1+-parseInt(_0x151b14(0x4ef))/0x2*(parseInt(_0x151b14(0x58a))/0x3)+parseInt(_0x151b14(0x2a7))/0x4*(-parseInt(_0x151b14(0x340))/0x5)+-parseInt(_0x151b14(0x59b))/0x6+parseInt(_0x151b14(0x342))/0x7+-parseInt(_0x151b14(0x2d8))/0x8+parseInt(_0x151b14(0x53b))/0x9;if(_0x41170e===_0x563a9c)break;else _0x5f4193['push'](_0x5f4193['shift']());}catch(_0x4947bc){_0x5f4193['push'](_0x5f4193['shift']());}}}(_0x1893,0xe0904));var ar=Object[_0x112848(0x47b)],cr=(_0x4e84c8,_0x17b80b,_0x456941)=>_0x17b80b in _0x4e84c8?ar(_0x4e84c8,_0x17b80b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x456941}):_0x4e84c8[_0x17b80b]=_0x456941,g=(_0x5091cc,_0x4d9f7d,_0xa42e8f)=>cr(_0x5091cc,typeof _0x4d9f7d!=_0x112848(0x414)?_0x4d9f7d+'':_0x4d9f7d,_0xa42e8f);import{createIdentifier as _0x20e782,Inject as _0xa52f76,Disposable as _0x5c0223,DisposableCollection as _0x518f78,toDisposable as _0x1eb786,IConfigService as _0x11a6c7,ILogService as _0x5268cc,UserManagerService as _0x518073,UniverInstanceType as _0x3f1ceb,IUniverInstanceService as _0x1efafe,LocaleService as _0x316ab9,Optional as _0x2fcc7a,RxDisposable as _0x40c6c0,Injector as _0x2e5136,Tools as _0x5a9c5d,ILocalStorageService as _0x41275d,Rectangle as _0x430de4,ICommandService as _0x18a422,DOC_RANGE_TYPE as _0x1c1637,JSONX as _0x14548d,CommandType as _0x4ffeff,IPermissionService as _0x5607d9,IUndoRedoService as _0x196f01,sequenceExecute as _0x5b8778,debounce as _0x5d2740,COLORS as _0xb724fd,ColorKit as _0x182947,ThemeService as _0x1205f5,fromEventSubject as _0x25214b,useDependency as _0x2cfe22,connectInjector as _0x39ed40,Workbook as _0x25ce1f,MentionType as _0x2674d4,isInternalEditorID as _0x84653,LocalUndoRedoService as _0x1e5d78,IContextService as _0x4854c6,DependentOn as _0x2515dd,Plugin as _0x1eea30,touchDependencies as _0xf829bb,IAuthzIoService as _0x2cb575,IMentionIOService as _0x18bcf1,registerDependencies as _0x12d3f3,mergeOverrideWithDependencies as _0x5f51db}from'@univerjs/core';import{Subject as _0x37f3d3,merge as _0x566afd,takeUntil as _0xb4b5bf,BehaviorSubject as _0x1c751f,distinctUntilChanged as _0x1a2e52,fromEvent as _0x3a7923,ReplaySubject as _0x12eb08,take as _0x54b287,map as _0x396b6b,shareReplay as _0x4f483e,of as _0x3856a9,debounceTime as _0x2d6759,filter as _0x2e0ab5,switchMap as _0x305d56,combineLatest as _0x398699,concatMap as _0x7c024f,mapTo as _0x3cfafd}from'rxjs';import{map as _0x338263,take as _0x5237ca,filter as _0x4c7b7d,delay as _0x4a1906,throttleTime as _0x1755d1,takeUntil as _0x5b0372,switchMap as _0x4cc5c2}from'rxjs/operators';import{MessageType as _0x52ad10,Tooltip as _0x4eb3b3}from'@univerjs/design';import{HTTPService as _0xf832d4,WebSocketService as _0x380994,MergeInterceptorFactory as _0x4156b0,HTTPRequest as _0x3f6815,UniverNetworkPlugin as _0x40f020,ThresholdInterceptorFactory as _0x3a8cf9}from'@univerjs/network';import{IBeforeCloseService as _0x320b69,IMessageService as _0x1a4116,INotificationService as _0x30ba66,useObservable as _0x43ce4d,BuiltInUIPart as _0x4e8e5b,IUIPartsService as _0x66005c}from'@univerjs/ui';import{CollaborationEvent as _0x18493d,parseChangesetToProtocol as _0x4be9dd,ISnapshotServerService as _0x43ae5e,isTransformMutationFailure as _0xf61c00,isTransformMutationsWithChangesetSuccess as _0x4f22a8,ITransformService as _0x6c5e45,RevisionService as _0x340bb0,mapDocumentTypeToUniverType as _0x1fbe40,isTransformChangesetsSuccess as _0x288a08,CompressMutationService as _0x56bdcd,parseProtocolChangeset as _0x231171,SnapshotService as _0x17912e,textEncoder as _0x127662,b64DecodeUnicode as _0x57f395,isTransformMutationsWithChangesetFailure as _0xc4ef8c,UniverCollaborationPlugin as _0x1e483b}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x31cd31}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x20b394,RichTextEditingMutation as _0x32f6eb,SetTextSelectionsOperation as _0x31e913,DocSkeletonManagerService as _0x5ba5a1}from'@univerjs/docs';import{DocIMEInputManagerService as _0x331906,DocStateChangeManagerService as _0x40c526,IDocClipboardService as _0x3d16a8,NodePositionConvertToCursor as _0x1313ee,NodePositionConvertToRectRange as _0x163ef7,TEXT_RANGE_LAYER_INDEX as _0x184e3f,SetDocZoomRatioOperation as _0x262271}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x52a1cd,SetSelectionsOperation as _0x2f7f98,InsertSheetMutation as _0x227484,EmptyMutation as _0x595980,WorkbookEditablePermission as _0x1454cb,RefRangeService as _0x253623,EffectRefRangId as _0x2ce5bc,handleIRemoveRow as _0x4892c8,handleIRemoveCol as _0x1752ab,handleMoveRange as _0x32961c,handleInsertRow as _0x21e619,handleInsertRangeMoveRight as _0xcc17e9,handleInsertRangeMoveDown as _0x1d517f,handleInsertCol as _0x4479f2,handleDeleteRangeMoveUp as _0x4c2872,handleDeleteRangeMoveLeft as _0x5edb52,runRefRangeMutations as _0x3899c2,SetWorksheetActivateCommand as _0x1a52ba}from'@univerjs/sheets';import{IRenderManagerService as _0x457d35,Shape as _0x426011,Rect as _0x2bdb9c,getColor as _0x7a80fe,RegularPolygon as _0x10f4f6,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x20b791,Vector2 as _0x456d3c,SHEET_VIEWPORT_KEY as _0x3ab83e}from'@univerjs/engine-render';import{IImageIoService as _0x2c6ece,ImageSourceType as _0x9c5fb,ImageUploadStatusType as _0x550762}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x1b4ef8,serializeRangeWithSheet as _0x2f1193}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x54a0b0,getCoordByCell as _0x54af00,getSheetObject as _0x1bd3b5,SheetPermissionInitController as _0x43faf2}from'@univerjs/sheets-ui';import _0x282e13,{forwardRef as _0x234df0,useRef as _0x482462,createElement as _0x7a3241,useCallback as _0xe5146e}from'react';import{IRemoteInstanceService as _0x1f5375}from'@univerjs/rpc';const Cn=_0x112848(0x2f9),En=_0x112848(0x3f6),bn=_0x112848(0x49f),yh=_0x112848(0x2dd),Tn=0x7d0,Rn=_0x112848(0x5c9),On=_0x112848(0x4ba),yn=_0x112848(0x536),wn=_0x112848(0x510),Dn=0x7530,Bi=_0x112848(0x408),ki=0x4e20,Pn=0x4e20,Un='RETRY_CONNECTING_MAX_COUNT',Nn=0x3,An=_0x112848(0x5d7),Mn=0x3e8,xn=_0x112848(0x5d8),Ln=_0x112848(0x29a),$n=_0x112848(0x3d3),Hn=_0x112848(0x596);var Wi=(_0x5bcc93=>(_0x5bcc93[_0x5bcc93['UNDEFINED']=0x0]=_0x112848(0x50c),_0x5bcc93[_0x5bcc93['OK']=0x1]='OK',_0x5bcc93[_0x5bcc93['INTERNAL_ERROR']=0x2]=_0x112848(0x309),_0x5bcc93[_0x5bcc93['PERMISSION_DENIED']=0x3]=_0x112848(0x36b),_0x5bcc93[_0x5bcc93[_0x112848(0x44b)]=0x4]=_0x112848(0x44b),_0x5bcc93[_0x5bcc93[_0x112848(0x4e3)]=0x5]=_0x112848(0x4e3),_0x5bcc93[_0x5bcc93[_0x112848(0x60c)]=0x6]=_0x112848(0x60c),_0x5bcc93[_0x5bcc93[_0x112848(0x5cd)]=0x7]='INVALID_ARGUMENT',_0x5bcc93[_0x5bcc93['TOO_MANY_REQUESTS']=0x8]=_0x112848(0x308),_0x5bcc93[_0x5bcc93['COMPLETION_FINISHED']=0x9]=_0x112848(0x556),_0x5bcc93[_0x5bcc93['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x112848(0x293),_0x5bcc93[_0x5bcc93[_0x112848(0x25e)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5bcc93[_0x5bcc93['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5bcc93[_0x5bcc93['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5bcc93[_0x5bcc93[_0x112848(0x2ea)]=0x1b59]=_0x112848(0x2ea),_0x5bcc93[_0x5bcc93[_0x112848(0x30f)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5bcc93[_0x5bcc93['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5bcc93[_0x5bcc93['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x112848(0x3f3),_0x5bcc93[_0x5bcc93['APPLY_DUPLICATED']=0x1b5d]=_0x112848(0x375),_0x5bcc93[_0x5bcc93[_0x112848(0x421)]=0x1f41]=_0x112848(0x421),_0x5bcc93[_0x5bcc93[_0x112848(0x5e6)]=0x2329]=_0x112848(0x5e6),_0x5bcc93[_0x5bcc93[_0x112848(0x2ca)]=0x232a]=_0x112848(0x2ca),_0x5bcc93[_0x5bcc93[_0x112848(0x2f5)]=0x232b]=_0x112848(0x2f5),_0x5bcc93[_0x5bcc93[_0x112848(0x4b6)]=0x232c]=_0x112848(0x4b6),_0x5bcc93[_0x5bcc93[_0x112848(0x4a0)]=0x232d]=_0x112848(0x4a0),_0x5bcc93[_0x5bcc93[_0x112848(0x50f)]=0x2711]=_0x112848(0x50f),_0x5bcc93[_0x5bcc93[_0x112848(0x1f7)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5bcc93[_0x5bcc93['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x112848(0x223),_0x5bcc93[_0x5bcc93[_0x112848(0x55b)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5bcc93[_0x5bcc93[_0x112848(0x2d2)]=-0x1]=_0x112848(0x2d2),_0x5bcc93))(Wi||{}),ae=(_0x76a25c=>(_0x76a25c[_0x76a25c[_0x112848(0x318)]=0x0]=_0x112848(0x318),_0x76a25c[_0x76a25c[_0x112848(0x538)]=0x1]='UNIVER_DOC',_0x76a25c[_0x76a25c[_0x112848(0x3f0)]=0x2]=_0x112848(0x3f0),_0x76a25c[_0x76a25c[_0x112848(0x3ae)]=0x3]=_0x112848(0x3ae),_0x76a25c[_0x76a25c[_0x112848(0x494)]=0x4]=_0x112848(0x494),_0x76a25c[_0x76a25c[_0x112848(0x2d2)]=-0x1]=_0x112848(0x2d2),_0x76a25c))(ae||{}),W=(_0x25a828=>(_0x25a828[_0x25a828[_0x112848(0x5ad)]=0x0]=_0x112848(0x5ad),_0x25a828[_0x25a828[_0x112848(0x54c)]=0x1]='HELLO',_0x25a828[_0x25a828[_0x112848(0x25c)]=0x2]=_0x112848(0x25c),_0x25a828[_0x25a828['LEAVE']=0x3]=_0x112848(0x592),_0x25a828[_0x25a828['INGEST']=0x4]='INGEST',_0x25a828[_0x25a828['HEARTBEAT']=0x5]=_0x112848(0x3cc),_0x25a828[_0x25a828[_0x112848(0x4b7)]=0x6]=_0x112848(0x4b7),_0x25a828[_0x25a828['UNRECOGNIZED']=-0x1]=_0x112848(0x2d2),_0x25a828))(W||{}),ws=(_0x59e428=>(_0x59e428[_0x59e428['UNKNOWN_CODE']=0x0]=_0x112848(0x249),_0x59e428[_0x59e428['OK']=0x1]='OK',_0x59e428[_0x59e428[_0x112848(0x21a)]=0x2]=_0x112848(0x21a),_0x59e428[_0x59e428['JOIN_ROOM_FULL']=0x3e9]=_0x112848(0x51e),_0x59e428[_0x59e428[_0x112848(0x4a1)]=0x3ea]=_0x112848(0x4a1),_0x59e428[_0x59e428['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x59e428))(ws||{}),Fi=(_0xf0db37=>(_0xf0db37[_0xf0db37[_0x112848(0x264)]=0x0]=_0x112848(0x264),_0xf0db37[_0xf0db37[_0x112848(0x3cf)]=0x1]='HttpImport',_0xf0db37[_0xf0db37[_0x112848(0x366)]=0x2]=_0x112848(0x366),_0xf0db37[_0xf0db37[_0x112848(0x5a3)]=0x3]=_0x112848(0x5a3),_0xf0db37[_0xf0db37[_0x112848(0x605)]=0x4]=_0x112848(0x605),_0xf0db37[_0xf0db37[_0x112848(0x2d2)]=-0x1]=_0x112848(0x2d2),_0xf0db37))(Fi||{});const Q=_0x112848(0x24f),jn={};function Bn(_0x226d9a){const _0x7b7a13=_0x112848;var _0x21fc47,_0x406542,_0x3e3321,_0xa52455,_0x523ed5;const _0x3426ee=_0x226d9a[_0x7b7a13(0x600)],_0x49e912=JSON[_0x7b7a13(0x2e6)](_0x3426ee);switch(_0x49e912[_0x7b7a13(0x242)]){case W[_0x7b7a13(0x3cc)]:case W[_0x7b7a13(0x54c)]:{const _0x3c15d0=_0x49e912[_0x7b7a13(0x287)];return{..._0x49e912,'data':_0x3c15d0,'cmd':_0x49e912[_0x7b7a13(0x242)]};}case W[_0x7b7a13(0x25c)]:{const _0x4ff31b=_0x49e912[_0x7b7a13(0x526)];return{..._0x49e912,'data':_0x4ff31b,'cmd':_0x49e912['cmd']};}case W[_0x7b7a13(0x4b7)]:{const _0x28e4d8=_0x49e912[_0x7b7a13(0x4c7)];switch(_0x28e4d8[_0x7b7a13(0x585)]){case _0x18493d['PERMISSION_REJ']:return{..._0x49e912,'data':{..._0x28e4d8,'data':(_0x21fc47=_0x28e4d8[_0x7b7a13(0x55d)])==null?void 0x0:_0x21fc47['cs']},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d['CHANGESET_ACK']:return{..._0x49e912,'data':{..._0x28e4d8,'data':(_0x406542=_0x28e4d8[_0x7b7a13(0x447)])==null?void 0x0:_0x406542['cs']},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d['NEW_CHANGESETS']:return{..._0x49e912,'data':{..._0x28e4d8,'data':(_0x3e3321=_0x28e4d8['newCsEvent'])==null?void 0x0:_0x3e3321['cs']},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d[_0x7b7a13(0x46a)]:return{..._0x49e912,'data':{..._0x28e4d8,'data':(_0xa52455=_0x28e4d8[_0x7b7a13(0x5e2)])==null?void 0x0:_0xa52455['cs']},'cmd':_0x49e912['cmd']};case _0x18493d['CHANGESET_SHOULD_RETRY']:return{..._0x49e912,'data':{..._0x28e4d8,'data':(_0x523ed5=_0x28e4d8[_0x7b7a13(0x2e9)])==null?void 0x0:_0x523ed5['cs']},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d[_0x7b7a13(0x407)]:return{..._0x49e912,'data':{..._0x28e4d8,'data':_0x28e4d8[_0x7b7a13(0x27f)]},'cmd':_0x49e912['cmd']};case _0x18493d['USERS_ENTER']:return{..._0x49e912,'data':{..._0x28e4d8,'data':_0x28e4d8[_0x7b7a13(0x4c4)]},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d[_0x7b7a13(0x5ee)]:return{..._0x49e912,'data':{..._0x28e4d8,'data':_0x28e4d8[_0x7b7a13(0x46c)]},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d[_0x7b7a13(0x1fa)]:return{..._0x49e912,'data':{..._0x28e4d8,'data':_0x28e4d8['liveShareNewHost']},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d[_0x7b7a13(0x31c)]:case _0x18493d[_0x7b7a13(0x2ed)]:return{..._0x49e912,'data':{..._0x28e4d8,'data':_0x28e4d8[_0x7b7a13(0x3ee)]},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d[_0x7b7a13(0x1fc)]:return{..._0x49e912,'data':{..._0x28e4d8,'data':_0x28e4d8[_0x7b7a13(0x569)]},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d['MSG_FOR_ERROR']:return{..._0x49e912,'data':_0x28e4d8,'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d[_0x7b7a13(0x52e)]:return{..._0x49e912,'data':{..._0x28e4d8,'data':_0x28e4d8[_0x7b7a13(0x505)]},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d[_0x7b7a13(0x5f1)]:return{..._0x49e912,'data':{..._0x28e4d8,'data':_0x28e4d8[_0x7b7a13(0x20a)]},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d[_0x7b7a13(0x5d5)]:return{..._0x49e912,'data':{..._0x28e4d8,'data':_0x28e4d8[_0x7b7a13(0x201)]},'cmd':_0x49e912[_0x7b7a13(0x242)]};default:return _0x49e912;}}default:return _0x49e912;}}function kn(_0x5465d5){const _0x24d356=_0x112848;switch(_0x5465d5[_0x24d356(0x242)]){case W[_0x24d356(0x3cc)]:case W['HELLO']:return JSON['stringify']({'cmd':_0x5465d5[_0x24d356(0x242)],'routeKey':_0x5465d5[_0x24d356(0x29f)]});case W[_0x24d356(0x5ce)]:{let _0x4af51c;switch(_0x5465d5[_0x24d356(0x600)][_0x24d356(0x585)]){case _0x18493d[_0x24d356(0x407)]:{_0x4af51c={'eventID':_0x18493d[_0x24d356(0x407)],'updateCursorEvent':_0x5465d5[_0x24d356(0x600)][_0x24d356(0x600)]};break;}case _0x18493d['USERS_LEAVE']:{_0x4af51c={'eventID':_0x18493d[_0x24d356(0x5ee)],'leaveEvent':_0x5465d5[_0x24d356(0x600)][_0x24d356(0x600)]};break;}case _0x18493d[_0x24d356(0x2e8)]:{_0x4af51c={'eventID':_0x18493d[_0x24d356(0x2e8)],'joinEvent':_0x5465d5['data'][_0x24d356(0x600)]};break;}case _0x18493d['LIVESHARE_NEW_HOST']:{_0x4af51c={'eventID':_0x18493d[_0x24d356(0x1fa)],'liveShareNewHost':_0x5465d5['data']['data']};break;}case _0x18493d[_0x24d356(0x2ed)]:{_0x4af51c={'eventID':_0x18493d[_0x24d356(0x2ed)],'liveShareOperation':_0x5465d5[_0x24d356(0x600)][_0x24d356(0x600)]};break;}case _0x18493d[_0x24d356(0x1fc)]:{_0x4af51c={'eventID':_0x18493d[_0x24d356(0x1fc)],'liveShareTerminate':_0x5465d5[_0x24d356(0x600)][_0x24d356(0x600)]};break;}case _0x18493d[_0x24d356(0x49e)]:{_0x4af51c={'eventID':_0x18493d['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x5465d5[_0x24d356(0x600)][_0x24d356(0x600)]};break;}case _0x18493d[_0x24d356(0x31c)]:{_0x4af51c={'eventID':_0x18493d[_0x24d356(0x31c)]};break;}default:_0x4af51c={'eventID':_0x5465d5[_0x24d356(0x600)][_0x24d356(0x585)]};}return JSON[_0x24d356(0x2f0)]({'cmd':_0x5465d5[_0x24d356(0x242)],'routeKey':_0x5465d5['routeKey'],'collaMsg':_0x4af51c});}case W['JOIN']:return JSON[_0x24d356(0x2f0)]({'cmd':_0x5465d5[_0x24d356(0x242)],'routeKey':_0x5465d5['routeKey'],'joinReq':_0x5465d5[_0x24d356(0x600)]});case W['LEAVE']:return JSON[_0x24d356(0x2f0)]({'cmd':_0x5465d5['cmd'],'routeKey':_0x5465d5[_0x24d356(0x29f)],'leaveReq':_0x5465d5[_0x24d356(0x600)]});default:throw new Error(_0x24d356(0x32f));}}var Wn=Object[_0x112848(0x47b)],Fn=Object['getOwnPropertyDescriptor'],Vn=(_0x2ea69b,_0x293f74,_0x41c54e,_0x4d1494)=>{for(var _0x1bbb86=_0x4d1494>0x1?void 0x0:_0x4d1494?Fn(_0x293f74,_0x41c54e):_0x293f74,_0x2c159=_0x2ea69b['length']-0x1,_0x4af08b;_0x2c159>=0x0;_0x2c159--)(_0x4af08b=_0x2ea69b[_0x2c159])&&(_0x1bbb86=(_0x4d1494?_0x4af08b(_0x293f74,_0x41c54e,_0x1bbb86):_0x4af08b(_0x1bbb86))||_0x1bbb86);return _0x4d1494&&_0x1bbb86&&Wn(_0x293f74,_0x41c54e,_0x1bbb86),_0x1bbb86;},qe=(_0x4cc90d,_0x218ba7)=>(_0x25bac8,_0x3d643b)=>_0x218ba7(_0x25bac8,_0x3d643b,_0x4cc90d);const Vi=_0x20e782(_0x112848(0x4a5));function Gn(_0x4aa2cf,_0x57c17c,_0x4d1bd5){const _0x3eea6f=_0x112848;return _0x4aa2cf+'/'+_0x57c17c+_0x3eea6f(0x42b)+_0x4d1bd5+_0x3eea6f(0x334);}let as=class extends _0x5c0223{constructor(_0x4ba766,_0x46eaae,_0x3a7157,_0x42a208,_0x13b85b){const _0x2ea81a=_0x112848;super(),this[_0x2ea81a(0x5c1)]=_0x4ba766,this[_0x2ea81a(0x4a4)]=_0x46eaae,this[_0x2ea81a(0x3bf)]=_0x3a7157,this[_0x2ea81a(0x2bf)]=_0x42a208,this[_0x2ea81a(0x597)]=_0x13b85b;}[_0x112848(0x34f)](_0x2420c7){const _0x11c111=_0x112848,_0x2e0417=this['_ws'][_0x11c111(0x34f)](_0x2420c7);if(!_0x2e0417)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x2432d3=new _0x518f78(),_0xb9236b=new _0x37f3d3();_0x2432d3[_0x11c111(0x278)](_0x2e0417[_0x11c111(0x61a)]['subscribe'](_0x1fd2be=>_0xb9236b[_0x11c111(0x53a)](_0x1fd2be))),_0x2432d3[_0x11c111(0x278)](_0x1eb786(()=>_0xb9236b[_0x11c111(0x38e)]()));const _0x47f68f=new _0x37f3d3();_0x2432d3['add'](_0x2e0417['error$'][_0x11c111(0x4f8)](_0x2f1538=>_0x47f68f['next'](_0x2f1538))),_0x2432d3[_0x11c111(0x278)](_0x1eb786(()=>_0x47f68f[_0x11c111(0x38e)]()));const _0x2ffeb4=new _0x37f3d3();_0x2432d3[_0x11c111(0x278)](_0x2e0417[_0x11c111(0x463)]['subscribe'](_0x921709=>{const _0xd78b80=Bn(_0x921709);_0x2ffeb4['next'](_0xd78b80);})),_0x2432d3[_0x11c111(0x278)](_0x1eb786(()=>_0x2ffeb4[_0x11c111(0x38e)]()));let _0x487712;const _0x576520=()=>{const _0x9c57f8=_0x11c111;_0x47f68f[_0x9c57f8(0x53a)](new Event('connection\x20error')),_0xb9236b['next'](new CloseEvent(_0x9c57f8(0x21b))),_0x487712['close']();};return _0x487712={'memberID':'','close$':_0xb9236b[_0x11c111(0x606)](),'error$':_0x47f68f[_0x11c111(0x606)](),'open$':_0x2e0417[_0x11c111(0x362)],'message$':_0x2ffeb4[_0x11c111(0x606)](),'send':_0x400a9f=>{const _0x5f173e=_0x11c111;if(_0x400a9f['cmd']===W['INGEST']){if(_0x400a9f['data'][_0x5f173e(0x585)]===_0x18493d[_0x5f173e(0x37f)]){this[_0x5f173e(0x237)](_0x487712,_0x400a9f[_0x5f173e(0x600)])[_0x5f173e(0x32b)](_0x2b6217=>{const _0xbd10e4=_0x5f173e;this[_0xbd10e4(0x2bf)][_0xbd10e4(0x3b9)](_0x2b6217),_0x576520();});return;}if(_0x400a9f['data']['eventID']===_0x18493d[_0x5f173e(0x215)]){const _0x4f2bfd=_0x400a9f[_0x5f173e(0x600)];this[_0x5f173e(0x413)](_0x4f2bfd)[_0x5f173e(0x4bb)](_0x5342ee=>{const _0x2f29e8=_0x5f173e;_0x2ffeb4[_0x2f29e8(0x53a)]({'cmd':W[_0x2f29e8(0x4b7)],'code':ws['OK'],'routeKey':_0x4f2bfd[_0x2f29e8(0x600)][_0x2f29e8(0x5e0)],'routeType':'','data':{'eventID':_0x18493d[_0x2f29e8(0x23a)],'data':{'changesets':_0x5342ee}}});})[_0x5f173e(0x32b)](_0x12212d=>{const _0x13bb85=_0x5f173e;this['_logService'][_0x13bb85(0x3b9)](_0x12212d),_0x576520();});return;}}_0x2e0417[_0x5f173e(0x523)](kn(_0x400a9f));},'close':()=>{const _0x579dde=_0x11c111;_0x2e0417[_0x579dde(0x4ae)](),_0x2432d3['dispose']();}},_0x487712;}async[_0x112848(0x237)](_0x492973,_0x4cf3fb){const _0x279e88=_0x112848;var _0x144dc1,_0x463c79;const {unitType:_0x1d4b77,unitID:_0x12c775,changeset:_0x303e36}=_0x4cf3fb[_0x279e88(0x600)],_0x4bc543={'unitID':_0x12c775,'memberID':_0x492973[_0x279e88(0x54b)],'type':_0x1d4b77,'changeset':_0x4be9dd(_0x303e36)},_0x1e8204=this[_0x279e88(0x3bf)][_0x279e88(0x496)](xn),_0x3b2df3=this['_configService']['getConfig'](Q),_0x17f451=Gn((_0x463c79=(_0x144dc1=_0x3b2df3==null?void 0x0:_0x3b2df3[_0x279e88(0x384)])!=null?_0x144dc1:_0x1e8204)!=null?_0x463c79:Ln,_0x1d4b77,_0x12c775);try{await this[_0x279e88(0x5c1)][_0x279e88(0x368)](_0x17f451,{'body':_0x4bc543});}catch(_0x2cebca){throw this['_logService']['error'](_0x279e88(0x470),_0x279e88(0x60a)),_0x2cebca;}}async[_0x112848(0x413)](_0xe5fa){const _0x214452=_0x112848,{unitID:_0x540418,from:_0x39210d,to:_0x414153,unitType:_0x4664b4}=_0xe5fa[_0x214452(0x600)];return(await this[_0x214452(0x597)][_0x214452(0x28d)]({'metadata':void 0x0},{'unitID':_0x540418,'type':_0x4664b4,'from':_0x39210d,'to':_0x414153}))[_0x214452(0x247)];}};as=Vn([qe(0x0,_0xa52f76(_0xf832d4)),qe(0x1,_0xa52f76(_0x380994)),qe(0x2,_0x11a6c7),qe(0x3,_0x5268cc),qe(0x4,_0x43ae5e)],as);const Yn=_0x112848(0x431);function Kn(_0x354f1f){const _0xa2b68e=_0x112848;return JSON[_0xa2b68e(0x2f0)](_0x354f1f)[_0xa2b68e(0x2c7)];}class Gi{constructor(){const _0x8edd13=_0x112848;g(this,_0x8edd13(0x437),new _0x37f3d3()),g(this,_0x8edd13(0x2f3),this[_0x8edd13(0x437)][_0x8edd13(0x606)]());}[_0x112848(0x561)](_0xe08edd){const _0xa084b2=_0x112848;this['_commentUpdate$'][_0xa084b2(0x53a)](_0xe08edd);}}var qn=Object[_0x112848(0x47b)],zn=Object[_0x112848(0x331)],Xn=(_0x475896,_0x227127,_0x12a9fb,_0x2c4c7e)=>{for(var _0xb13e6c=_0x2c4c7e>0x1?void 0x0:_0x2c4c7e?zn(_0x227127,_0x12a9fb):_0x227127,_0x14d3d0=_0x475896['length']-0x1,_0x49018f;_0x14d3d0>=0x0;_0x14d3d0--)(_0x49018f=_0x475896[_0x14d3d0])&&(_0xb13e6c=(_0x2c4c7e?_0x49018f(_0x227127,_0x12a9fb,_0xb13e6c):_0x49018f(_0xb13e6c))||_0xb13e6c);return _0x2c4c7e&&_0xb13e6c&&qn(_0x227127,_0x12a9fb,_0xb13e6c),_0xb13e6c;},Ks=(_0x3d9381,_0x3686a0)=>(_0x2c552b,_0x4718e1)=>_0x3686a0(_0x2c552b,_0x4718e1,_0x3d9381);let Ae=class extends _0x5c0223{constructor(_0x21352c,_0x478ebb){const _0x46e20c=_0x112848;super(),g(this,'_roomMembers',new Map()),(this['_univerInstanceService']=_0x21352c,this[_0x46e20c(0x23d)]=_0x478ebb,this[_0x46e20c(0x29e)](_0x1eb786(_0x566afd(this[_0x46e20c(0x3ad)][_0x46e20c(0x524)](_0x3f1ceb[_0x46e20c(0x3f0)])[_0x46e20c(0x529)](_0x338263(_0xfbd414=>_0xfbd414[_0x46e20c(0x579)]())),this[_0x46e20c(0x3ad)][_0x46e20c(0x524)](_0x3f1ceb[_0x46e20c(0x538)])[_0x46e20c(0x529)](_0x338263(_0x4a626b=>_0x4a626b[_0x46e20c(0x579)]())),this['_univerInstanceService'][_0x46e20c(0x524)](_0x3f1ceb[_0x46e20c(0x3ae)])['pipe'](_0x338263(_0x2689b3=>_0x2689b3['getUnitId']())))[_0x46e20c(0x4f8)](_0x1b0df1=>this['_removeRoom'](_0x1b0df1)))));}[_0x112848(0x3e6)](_0x3ef039){const _0x395f32=_0x112848;this['_userManagerService'][_0x395f32(0x3e6)](_0x3ef039);}['getCurrentUser'](){const _0xd8816e=_0x112848;return this[_0xd8816e(0x23d)][_0xd8816e(0x35f)]();}[_0x112848(0x357)](_0x1652b4,_0x94ebfe){const _0x10ace3=_0x112848;let _0x584467=this[_0x10ace3(0x2c5)][_0x10ace3(0x4cd)](_0x1652b4);_0x584467||(_0x584467=new Jn(),this[_0x10ace3(0x2c5)][_0x10ace3(0x2ab)](_0x1652b4,_0x584467)),_0x584467[_0x10ace3(0x357)](_0x94ebfe);}[_0x112848(0x56f)](_0x3e3aeb,_0x37dba0){const _0x15ade8=_0x112848,_0x5b0a29=this[_0x15ade8(0x2c5)][_0x15ade8(0x4cd)](_0x3e3aeb);_0x5b0a29&&_0x5b0a29['removeMember'](_0x37dba0);}[_0x112848(0x212)](_0x472969){const _0x1f9a29=_0x112848;return this[_0x1f9a29(0x2c5)][_0x1f9a29(0x4cd)](_0x472969);}[_0x112848(0x4fb)](_0x3fc284,_0x40e130){const _0x35928c=_0x112848,_0x39f652=this['_roomMembers'][_0x35928c(0x4cd)](_0x3fc284);if(_0x39f652)return _0x39f652[_0x35928c(0x4fb)](_0x40e130);}[_0x112848(0x2b1)](_0x529671){const _0x3a1cfd=_0x112848,_0x179d3e=this[_0x3a1cfd(0x2c5)]['get'](_0x529671);_0x179d3e&&(_0x179d3e[_0x3a1cfd(0x298)](),this['_roomMembers']['delete'](_0x529671));}[_0x112848(0x298)](){const _0x22c854=_0x112848;this[_0x22c854(0x2c5)]['forEach'](_0x16ca53=>_0x16ca53['dispose']()),this[_0x22c854(0x2c5)][_0x22c854(0x5a9)]();}};Ae=Xn([Ks(0x0,_0x1efafe),Ks(0x1,_0xa52f76(_0x518073))],Ae);class Jn extends _0x5c0223{constructor(){const _0xf9198a=_0x112848;super(...arguments),g(this,_0xf9198a(0x40e),new Map());}[_0x112848(0x298)](){const _0x26fb7a=_0x112848;this['_members'][_0x26fb7a(0x5a9)]();}[_0x112848(0x357)](_0x219979){const _0x3eae6b=_0x112848;this[_0x3eae6b(0x40e)][_0x3eae6b(0x2ab)](_0x219979[_0x3eae6b(0x54b)],_0x219979);}[_0x112848(0x56f)](_0xae120a){const _0x374959=_0x112848;this[_0x374959(0x40e)][_0x374959(0x37b)](_0xae120a);}[_0x112848(0x4fb)](_0x14cbc2){const _0x557890=_0x112848;return this[_0x557890(0x40e)][_0x557890(0x4cd)](_0x14cbc2);}[_0x112848(0x26b)](){const _0xaec006=_0x112848;return Array[_0xaec006(0x38c)](this[_0xaec006(0x40e)][_0xaec006(0x27c)]());}}var Zn=Object[_0x112848(0x47b)],Qn=Object['getOwnPropertyDescriptor'],eo=(_0xded0c9,_0x47dc2e,_0x3ac60e,_0x330b38)=>{const _0x23ba94=_0x112848;for(var _0x1150ae=_0x330b38>0x1?void 0x0:_0x330b38?Qn(_0x47dc2e,_0x3ac60e):_0x47dc2e,_0x295b40=_0xded0c9[_0x23ba94(0x2c7)]-0x1,_0xa49e96;_0x295b40>=0x0;_0x295b40--)(_0xa49e96=_0xded0c9[_0x295b40])&&(_0x1150ae=(_0x330b38?_0xa49e96(_0x47dc2e,_0x3ac60e,_0x1150ae):_0xa49e96(_0x1150ae))||_0x1150ae);return _0x330b38&&_0x1150ae&&Zn(_0x47dc2e,_0x3ac60e,_0x1150ae),_0x1150ae;},Ee=(_0x5cb136,_0x5716c9)=>(_0x2ac677,_0x413195)=>_0x5716c9(_0x2ac677,_0x413195,_0x5cb136),fe=(_0x531b6f=>(_0x531b6f[_0x531b6f[_0x112848(0x52c)]=0x0]=_0x112848(0x52c),_0x531b6f[_0x531b6f['JOINING']=0x1]=_0x112848(0x3af),_0x531b6f[_0x531b6f[_0x112848(0x2c9)]=0x2]=_0x112848(0x2c9),_0x531b6f[_0x531b6f[_0x112848(0x4e2)]=0x3]=_0x112848(0x4e2),_0x531b6f))(fe||{});let cs=class extends _0x40c6c0{constructor(_0x3c8a18,_0x4e037b,_0x40fd50,_0x1b793d,_0x2f507d,_0x390bf7,_0x1d0e7b,_0x38a5a3,_0x4398c9,_0x49e5d8){const _0x1fa610=_0x112848;super(),g(this,'_sessionStatus$',new _0x1c751f(0x0)),g(this,_0x1fa610(0x29d),this[_0x1fa610(0x37a)][_0x1fa610(0x606)]()),g(this,'_event$',new _0x37f3d3()),g(this,_0x1fa610(0x4fa),this[_0x1fa610(0x2a1)][_0x1fa610(0x606)]()),g(this,_0x1fa610(0x511)),g(this,_0x1fa610(0x59d)),g(this,_0x1fa610(0x245)),g(this,_0x1fa610(0x580),!0x1),g(this,_0x1fa610(0x45e),null),(this[_0x1fa610(0x327)]=_0x3c8a18,this[_0x1fa610(0x2bf)]=_0x40fd50,this[_0x1fa610(0x604)]=_0x1b793d,this[_0x1fa610(0x611)]=_0x2f507d,this[_0x1fa610(0x3bf)]=_0x390bf7,this['_localeService']=_0x1d0e7b,this[_0x1fa610(0x4ca)]=_0x38a5a3,this[_0x1fa610(0x3ce)]=_0x4398c9,this[_0x1fa610(0x5de)]=_0x49e5d8,this[_0x1fa610(0x580)]=!!this[_0x1fa610(0x5de)],_0x4e037b[_0x1fa610(0x529)](_0xb4b5bf(this['dispose$']))[_0x1fa610(0x4f8)](_0x3f02e1=>{const _0xfcb114=_0x1fa610;var _0x3e7ee8;typeof _0x3f02e1>'u'||(this[_0xfcb114(0x511)]=_0x3f02e1,_0x3f02e1?(this['_joinRoom'](_0x3f02e1),this[_0xfcb114(0x59d)]=_0x3f02e1[_0xfcb114(0x463)][_0xfcb114(0x4f8)](_0x2dc4c9=>{const _0x397489=_0xfcb114;_0x2dc4c9[_0x397489(0x29f)]===this['_unitID']&&this[_0x397489(0x562)](_0x2dc4c9);})):(this[_0xfcb114(0x5a8)](),this[_0xfcb114(0x37a)][_0xfcb114(0x53a)](0x2),(_0x3e7ee8=this[_0xfcb114(0x59d)])==null||_0x3e7ee8[_0xfcb114(0x1f8)](),this[_0xfcb114(0x59d)]=null));}),this[_0x1fa610(0x29e)](this['_beforeCloseService'][_0x1fa610(0x34d)](()=>{const _0x560850=_0x1fa610;var _0xe117db;(_0xe117db=this['_socket'])==null||_0xe117db[_0x560850(0x523)]({'cmd':W[_0x560850(0x592)],'data':{'roomID':this[_0x560850(0x327)]}});})));}get[_0x112848(0x565)](){const _0x5a57e1=_0x112848;return this[_0x5a57e1(0x37a)][_0x5a57e1(0x2b0)]();}[_0x112848(0x22d)](){const _0x506e22=_0x112848;var _0x3c5976,_0x2d585c;return(_0x2d585c=(_0x3c5976=this['_socket'])==null?void 0x0:_0x3c5976[_0x506e22(0x54b)])!=null?_0x2d585c:null;}[_0x112848(0x298)](){const _0x1ab014=_0x112848;super[_0x1ab014(0x298)](),this[_0x1ab014(0x204)][_0x1ab014(0x53a)](),this['dispose$'][_0x1ab014(0x38e)]();}[_0x112848(0x4ae)](){const _0xee68ab=_0x112848;var _0x3f4595,_0x51cc35;this[_0xee68ab(0x5a8)](),(_0x3f4595=this[_0xee68ab(0x511)])==null||_0x3f4595[_0xee68ab(0x523)]({'cmd':W[_0xee68ab(0x592)],'data':{'roomID':this[_0xee68ab(0x327)]}}),(_0x51cc35=this[_0xee68ab(0x511)])==null||_0x51cc35[_0xee68ab(0x4ae)](),this[_0xee68ab(0x2a1)][_0xee68ab(0x38e)](),this[_0xee68ab(0x37a)]['complete'](),this['dispose']();}['_onCombEvent'](_0x5995aa){const _0x15e514=_0x112848;_0x5995aa[_0x15e514(0x242)]===W[_0x15e514(0x25c)]?this['_onJoinRoomEvent'](_0x5995aa):_0x5995aa[_0x15e514(0x242)]===W[_0x15e514(0x4b7)]&&this[_0x15e514(0x4eb)](_0x5995aa);}[_0x112848(0x4b8)](_0x15ad18){const _0xce653=_0x112848;this[_0xce653(0x37a)][_0xce653(0x53a)](0x1),_0x15ad18[_0xce653(0x523)]({'cmd':W[_0xce653(0x25c)],'routeKey':this[_0xce653(0x327)],'routeType':'','data':{'rooms':[{'roomID':this[_0xce653(0x327)]}]}});}[_0x112848(0x514)](_0x54afec){const _0x4424f0=_0x112848;var _0x2e3f40;if(_0x54afec[_0x4424f0(0x3d7)]===ws[_0x4424f0(0x21a)]){this[_0x4424f0(0x611)][_0x4424f0(0x501)]({'type':_0x52ad10['Warning'],'content':this[_0x4424f0(0x491)]['t'](_0x4424f0(0x40c))}),this[_0x4424f0(0x37a)][_0x4424f0(0x53a)](0x2);return;}this[_0x4424f0(0x37a)][_0x4424f0(0x53a)](0x3);const _0x3fa524=(_0x2e3f40=_0x54afec['data'][_0x4424f0(0x4d7)][this[_0x4424f0(0x327)]])==null?void 0x0:_0x2e3f40[_0x4424f0(0x1f1)];_0x3fa524&&_0x3fa524[_0x4424f0(0x209)](_0x5515a7=>this['_memberService'][_0x4424f0(0x357)](this[_0x4424f0(0x327)],_0x5515a7));}['_onRecvEvent'](_0x1e7a21){const _0x5f5936=_0x112848;try{const _0x14247b=_0x1e7a21[_0x5f5936(0x600)];switch(_0x14247b[_0x5f5936(0x585)]){case _0x18493d[_0x5f5936(0x2e8)]:this[_0x5f5936(0x3d4)](_0x14247b),this[_0x5f5936(0x2a1)]['next'](_0x14247b);break;case _0x18493d['USERS_LEAVE']:this['_onUserLeave'](_0x14247b),this[_0x5f5936(0x2a1)][_0x5f5936(0x53a)](_0x14247b);break;case _0x18493d[_0x5f5936(0x3a1)]:case _0x18493d[_0x5f5936(0x56b)]:this[_0x5f5936(0x3f1)](),this[_0x5f5936(0x355)](),this['_event$']['next'](_0x14247b);break;case _0x18493d[_0x5f5936(0x5fa)]:this[_0x5f5936(0x2bf)][_0x5f5936(0x3b9)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x5f5936(0x2f0)](_0x14247b)),this['_event$'][_0x5f5936(0x53a)](_0x14247b);break;case _0x18493d[_0x5f5936(0x52e)]:this[_0x5f5936(0x3ce)][_0x5f5936(0x561)](_0x14247b[_0x5f5936(0x600)]),this[_0x5f5936(0x2a1)][_0x5f5936(0x53a)](_0x14247b);break;default:this[_0x5f5936(0x2a1)][_0x5f5936(0x53a)](_0x14247b);}}catch(_0x58d8f7){this[_0x5f5936(0x2bf)][_0x5f5936(0x3b9)](_0x58d8f7,_0x1e7a21);}}['_onUserJoin'](_0x436a25){const _0x501baf=_0x112848;this['_memberService'][_0x501baf(0x357)](this['_unitID'],_0x436a25[_0x501baf(0x600)]);}[_0x112848(0x516)](_0x5602ba){const _0x24efb5=_0x112848;this[_0x24efb5(0x4ca)]['removeMember'](this[_0x24efb5(0x327)],_0x5602ba[_0x24efb5(0x600)][_0x24efb5(0x54b)]);}async[_0x112848(0x523)](_0x5e02e0,_0x47c5f1){const _0x264fa4=_0x112848;if(this[_0x264fa4(0x565)]!==0x3||!this[_0x264fa4(0x511)])throw new Error(_0x264fa4(0x60d));try{_0x5e02e0['eventID']===_0x18493d[_0x264fa4(0x37f)]&&(this[_0x264fa4(0x233)](),this[_0x264fa4(0x41b)](_0x5e02e0)),this[_0x264fa4(0x511)][_0x264fa4(0x523)]({'cmd':W[_0x264fa4(0x5ce)],'routeKey':_0x47c5f1,'routeType':'','data':_0x5e02e0});}catch(_0x9d756e){this[_0x264fa4(0x2bf)][_0x264fa4(0x3b9)](_0x9d756e);}}[_0x112848(0x233)](){const _0x97f67=_0x112848;var _0x248048;this[_0x97f67(0x245)]=window[_0x97f67(0x360)](()=>{const _0x33f349=_0x97f67;this[_0x33f349(0x245)]=null,this[_0x33f349(0x611)][_0x33f349(0x501)]({'type':_0x52ad10[_0x33f349(0x202)],'content':this[_0x33f349(0x491)]['t'](_0x33f349(0x387))});},(_0x248048=this[_0x97f67(0x3bf)][_0x97f67(0x496)](Bi))!=null?_0x248048:ki);}['_clearCollaborationTimeoutTimer'](){const _0x396f09=_0x112848;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x396f09(0x245)]),this[_0x396f09(0x245)]=null);}[_0x112848(0x41b)](_0x2f8c55){const _0x7fe2c6=_0x112848;if(!this[_0x7fe2c6(0x580)])return;const {data:_0x4ccb1b}=_0x2f8c55,{unitID:_0x451741,changeset:_0x461e76}=_0x4ccb1b,{mutations:_0x298345,type:_0x37ebad}=_0x461e76;this[_0x7fe2c6(0x45e)]={'unitId':_0x451741,'type':_0x37ebad,'startTime':performance[_0x7fe2c6(0x500)](),'stopTime':0x0,'duration':0x0,'size':Kn(_0x298345)};}[_0x112848(0x3f1)](){const _0x4b9da6=_0x112848;if(this[_0x4b9da6(0x580)]){if(!this[_0x4b9da6(0x45e)]){this['_logService'][_0x4b9da6(0x3b9)](_0x4b9da6(0x470),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4b9da6(0x45e)][_0x4b9da6(0x5fb)]=performance[_0x4b9da6(0x500)](),this[_0x4b9da6(0x45e)][_0x4b9da6(0x47d)]=this['_telemetryInfo'][_0x4b9da6(0x5fb)]-this[_0x4b9da6(0x45e)][_0x4b9da6(0x33c)],this['_telemetryService'][_0x4b9da6(0x51b)](Yn,this['_telemetryInfo']),this[_0x4b9da6(0x45e)]=null;}}[_0x112848(0x5a8)](){const _0x95c943=_0x112848;this[_0x95c943(0x45e)]=null;}};cs=eo([Ee(0x2,_0x5268cc),Ee(0x3,_0x320b69),Ee(0x4,_0x1a4116),Ee(0x5,_0x11a6c7),Ee(0x6,_0xa52f76(_0x316ab9)),Ee(0x7,_0xa52f76(Ae)),Ee(0x8,_0xa52f76(Gi)),Ee(0x9,_0x2fcc7a(_0x31cd31))],cs);var to=Object['defineProperty'],so=Object['getOwnPropertyDescriptor'],io=(_0x47566c,_0x9bf756,_0x1efc2,_0x40d109)=>{for(var _0x81c59c=_0x40d109>0x1?void 0x0:_0x40d109?so(_0x9bf756,_0x1efc2):_0x9bf756,_0x5b5a81=_0x47566c['length']-0x1,_0x5b65c7;_0x5b5a81>=0x0;_0x5b5a81--)(_0x5b65c7=_0x47566c[_0x5b5a81])&&(_0x81c59c=(_0x40d109?_0x5b65c7(_0x9bf756,_0x1efc2,_0x81c59c):_0x5b65c7(_0x81c59c))||_0x81c59c);return _0x40d109&&_0x81c59c&&to(_0x9bf756,_0x1efc2,_0x81c59c),_0x81c59c;},ye=(_0x4a81e4,_0x6f4b63)=>(_0x5736dc,_0x1dcdad)=>_0x6f4b63(_0x5736dc,_0x1dcdad,_0x4a81e4);let Me=class extends _0x5c0223{constructor(_0x5376ae,_0xfca04,_0x646a80,_0x1d9fc8,_0x59d58f,_0xe2d497,_0xeaf316){const _0x40f912=_0x112848;super(),g(this,_0x40f912(0x282),new _0x1c751f(void 0x0)),g(this,'socket$',this[_0x40f912(0x282)][_0x40f912(0x606)]()),g(this,_0x40f912(0x253),null),g(this,_0x40f912(0x38d),new Map()),g(this,_0x40f912(0x3ec),new _0x1c751f(fe['IDLE'])),g(this,_0x40f912(0x603),this[_0x40f912(0x3ec)]['asObservable']()),g(this,_0x40f912(0x232),!0x1),g(this,_0x40f912(0x352)),g(this,'_retryCount',0x0),g(this,_0x40f912(0x3d6)),g(this,_0x40f912(0x296)),(this['_injector']=_0x5376ae,this[_0x40f912(0x491)]=_0xfca04,this[_0x40f912(0x611)]=_0x646a80,this[_0x40f912(0x2bf)]=_0x1d9fc8,this['_configService']=_0x59d58f,this[_0x40f912(0x5b5)]=_0xe2d497,this['_httpService']=_0xeaf316,this[_0x40f912(0x568)]());}get['_socket'](){const _0xeb65c6=_0x112848;return this[_0xeb65c6(0x282)][_0xeb65c6(0x2b0)]();}[_0x112848(0x568)](){const _0x57014d=_0x112848;this[_0x57014d(0x4ee)](),this['_listenToOnlineEvent']();}[_0x112848(0x298)](){const _0x3f84f8=_0x112848;super['dispose'](),this[_0x3f84f8(0x38d)][_0x3f84f8(0x209)](_0x5eb885=>_0x5eb885[_0x3f84f8(0x298)]()),this[_0x3f84f8(0x38d)]['clear'](),this[_0x3f84f8(0x3ec)][_0x3f84f8(0x38e)]();}async[_0x112848(0x351)](_0x6d35d3){const _0x6c7930=_0x112848;if(this[_0x6c7930(0x38d)]['has'](_0x6d35d3))return this['_sessions']['get'](_0x6d35d3);this[_0x6c7930(0x539)]();const _0x45e66c=this['_injector'][_0x6c7930(0x4d8)](cs,_0x6d35d3,this[_0x6c7930(0x282)]['asObservable']());return this[_0x6c7930(0x38d)][_0x6c7930(0x2ab)](_0x6d35d3,_0x45e66c),_0x45e66c;}[_0x112848(0x4a9)](_0x52fdad){const _0x1649db=_0x112848;var _0x2058e;const _0x103978=this[_0x1649db(0x38d)][_0x1649db(0x4cd)](_0x52fdad);_0x103978&&(this['_sessions']['delete'](_0x52fdad),_0x103978[_0x1649db(0x4ae)]()),this['_sessions'][_0x1649db(0x307)]||(_0x2058e=this['_socket'])==null||_0x2058e[_0x1649db(0x4ae)]();}[_0x112848(0x4b1)](){const _0x54f0d7=_0x112848;this[_0x54f0d7(0x5f0)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x54f0d7(0x352)]),this[_0x54f0d7(0x352)]=null),this[_0x54f0d7(0x396)]();}async[_0x112848(0x49c)](){const _0x382441=_0x112848;var _0x44d897,_0x52d0da,_0x2ee5ad;const _0x48dfd3=this['_configService'][_0x382441(0x496)](Q),_0x32aaf9=(_0x44d897=_0x48dfd3==null?void 0x0:_0x48dfd3['wsSessionTicketUrl'])!=null?_0x44d897:yn;return(_0x2ee5ad=(_0x52d0da=(await this['_httpService'][_0x382441(0x4cd)](_0x32aaf9,{'headers':{'Content-Type':'application/json'}}))[_0x382441(0x321)])==null?void 0x0:_0x52d0da['ticket'])!=null?_0x2ee5ad:'';}[_0x112848(0x54a)](_0x3920b2){const _0x3c53bb=_0x112848;var _0x4296b1,_0x32e796;const _0xbfbf2e=this[_0x3c53bb(0x3bf)][_0x3c53bb(0x496)](Rn),_0x415df1=this[_0x3c53bb(0x3bf)]['getConfig'](Q),_0x2e1708=(_0x32e796=(_0x4296b1=_0x415df1==null?void 0x0:_0x415df1['collabWebSocketUrl'])!=null?_0x4296b1:_0xbfbf2e)!=null?_0x32e796:On,_0x2802a5=new URL(_0x2e1708,window[_0x3c53bb(0x51a)]['origin']);return _0x2802a5[_0x3c53bb(0x3a0)][_0x3c53bb(0x2ab)](_0x3c53bb(0x5a7),_0x3920b2),_0x2802a5[_0x3c53bb(0x27e)]();}async[_0x112848(0x499)](){const _0x1a24c0=_0x112848,_0x62b198=await this[_0x1a24c0(0x49c)](),_0x1f0a75=this['_createSocketURL'](_0x62b198),_0x44aa3b=this[_0x1a24c0(0x5b5)][_0x1a24c0(0x34f)](_0x1f0a75);return this['_candidateSocket']=_0x44aa3b,_0x44aa3b;}async[_0x112848(0x539)](){const _0x26529d=_0x112848;var _0x1bd66e,_0x40a6f1;try{const _0x43d5b5=(_0x40a6f1=(_0x1bd66e=this[_0x26529d(0x511)])!=null?_0x1bd66e:this['_candidateSocket'])!=null?_0x40a6f1:await this[_0x26529d(0x499)]();if(_0x43d5b5){const _0x19e529=_0x43d5b5[_0x26529d(0x523)];_0x43d5b5[_0x26529d(0x523)]=_0x13ec90=>(this[_0x26529d(0x495)](),_0x19e529[_0x26529d(0x290)](_0x43d5b5,[_0x13ec90])),_0x43d5b5[_0x26529d(0x463)]['subscribe'](_0x3a9871=>this[_0x26529d(0x3e7)](_0x43d5b5,_0x3a9871)),_0x43d5b5['error$']['pipe'](_0x5237ca(0x1))[_0x26529d(0x4f8)](_0x1db075=>this[_0x26529d(0x2bf)][_0x26529d(0x3b9)](_0x26529d(0x20b),_0x1db075)),_0x43d5b5[_0x26529d(0x362)][_0x26529d(0x529)](_0x5237ca(0x1))[_0x26529d(0x4f8)](()=>{const _0x3a2dd4=_0x26529d;this[_0x3a2dd4(0x2ad)](_0x43d5b5);}),_0x43d5b5[_0x26529d(0x61a)]['pipe'](_0x5237ca(0x1))[_0x26529d(0x4f8)](_0x2ec0ac=>{const _0x741637=_0x26529d;this[_0x741637(0x2bf)][_0x741637(0x234)](_0x741637(0x1f6),_0x741637(0x3b0),_0x2ec0ac),this['_onConnectionFailed']();});}}catch(_0x3dcfc5){this[_0x26529d(0x2bf)][_0x26529d(0x3b9)](_0x3dcfc5),this[_0x26529d(0x3e8)]();}}['_onConnectionOpen'](_0x26e45d){const _0x4c1b7e=_0x112848;this[_0x4c1b7e(0x2bf)][_0x4c1b7e(0x234)](_0x4c1b7e(0x1f6),'socket\x20open.'),_0x26e45d[_0x4c1b7e(0x523)]({'cmd':W[_0x4c1b7e(0x54c)]}),this['_rescheduleHeartbeat']();}[_0x112848(0x4ee)](){const _0x2631f5=_0x112848;window[_0x2631f5(0x356)](_0x2631f5(0x462),()=>this[_0x2631f5(0x3d5)]());}[_0x112848(0x3d5)](){const _0x4c3483=_0x112848;this[_0x4c3483(0x232)]=!0x1,this[_0x4c3483(0x253)]=null,this['_status$'][_0x4c3483(0x53a)](fe['OFFLINE']),this[_0x4c3483(0x282)]['next'](null),this[_0x4c3483(0x2d3)](),this['_clearHeartbeatTimer']();}[_0x112848(0x3e8)](){const _0x3ecb8d=_0x112848;var _0x12ff44;this[_0x3ecb8d(0x3d5)](),this['_retryCount']<((_0x12ff44=this[_0x3ecb8d(0x3bf)]['getConfig'](Un))!=null?_0x12ff44:Nn)?(this[_0x3ecb8d(0x611)][_0x3ecb8d(0x501)]({'key':_0x3ecb8d(0x433),'type':_0x52ad10['Warning'],'content':this['_localeService']['t'](_0x3ecb8d(0x221))}),this[_0x3ecb8d(0x396)]()):this[_0x3ecb8d(0x611)][_0x3ecb8d(0x501)]({'key':_0x3ecb8d(0x433),'type':_0x52ad10[_0x3ecb8d(0x202)],'content':this[_0x3ecb8d(0x491)]['t'](_0x3ecb8d(0x5da))});}[_0x112848(0x3b8)](){const _0x2cd82c=_0x112848,_0x3fad3b=()=>{const _0x1f8194=_0x5808;this['_socket']||this[_0x1f8194(0x4b1)]();},_0x4b4e89=()=>{const _0x74759a=_0x5808;this['_socket']||document[_0x74759a(0x486)]===_0x74759a(0x2bb)||this['reconnect']();};window['addEventListener'](_0x2cd82c(0x365),_0x3fad3b),document['addEventListener']('visibilitychange',_0x4b4e89);}[_0x112848(0x396)](){const _0x1b93dc=_0x112848;var _0x3ac112;const _0xfdf7e3=this[_0x1b93dc(0x5f0)],_0x351ed5=this[_0x1b93dc(0x3bf)][_0x1b93dc(0x496)](Q),_0x4d5a1c=_0xfdf7e3===0x0?0x0:((_0x3ac112=_0x351ed5==null?void 0x0:_0x351ed5[_0x1b93dc(0x35e)])!=null?_0x3ac112:Pn)*0x2**_0xfdf7e3;this[_0x1b93dc(0x352)]=window[_0x1b93dc(0x360)](()=>{const _0x9ab840=_0x1b93dc;clearTimeout(this[_0x9ab840(0x352)]),this[_0x9ab840(0x352)]=null,this[_0x9ab840(0x539)]();},_0x4d5a1c),this[_0x1b93dc(0x5f0)]+=0x1;}['_onMessage'](_0x22165f,_0x4099ba){const _0x875dd=_0x112848,{cmd:_0x3f6fa8}=_0x4099ba;_0x3f6fa8===W[_0x875dd(0x54c)]&&!this['_socketReady']&&(_0x22165f[_0x875dd(0x54b)]=_0x4099ba['data'][_0x875dd(0x54b)],this[_0x875dd(0x282)][_0x875dd(0x53a)](_0x22165f),this['_status$'][_0x875dd(0x53a)](fe['ONLINE']),this[_0x875dd(0x232)]=!0x0,this[_0x875dd(0x253)]=null),_0x3f6fa8===W['HEARTBEAT']&&this[_0x875dd(0x2d3)](),this[_0x875dd(0x495)]();}[_0x112848(0x495)](){const _0x52e356=_0x112848;var _0x2db55a;this[_0x52e356(0x268)](),this['_sendHeartbeatTimer']=window[_0x52e356(0x360)](()=>this[_0x52e356(0x4e4)](),(_0x2db55a=this[_0x52e356(0x3bf)][_0x52e356(0x496)](wn))!=null?_0x2db55a:Dn);}[_0x112848(0x4e4)](){const _0x2cc383=_0x112848;this[_0x2cc383(0x511)]['send']({'cmd':W['HEARTBEAT']}),this[_0x2cc383(0x243)]();}['_waitForHeartbeatResponse'](){const _0x27d86a=_0x112848;var _0x2c4d2d;this[_0x27d86a(0x296)]=window[_0x27d86a(0x360)](()=>this[_0x27d86a(0x3e8)](),(_0x2c4d2d=this['_configService']['getConfig'](Bi))!=null?_0x2c4d2d:ki);}['_clearHeartbeatTimer'](){const _0xb27961=_0x112848;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0xb27961(0x3d6)]),this[_0xb27961(0x3d6)]=null);}['_clearTimeoutTimer'](){const _0x59f858=_0x112848;this[_0x59f858(0x296)]!=null&&(clearTimeout(this[_0x59f858(0x296)]),this['_timeoutTimer']=null);}};Me=io([ye(0x0,_0xa52f76(_0x2e5136)),ye(0x1,_0xa52f76(_0x316ab9)),ye(0x2,_0x1a4116),ye(0x3,_0x5268cc),ye(0x4,_0x11a6c7),ye(0x5,Vi),ye(0x6,_0xa52f76(_0xf832d4))],Me);const Y=[];for(let i=0x0;i<0x100;++i)Y['push']((i+0x100)[_0x112848(0x27e)](0x10)[_0x112848(0x225)](0x1));function ro(_0x45128b,_0x317a03=0x0){return(Y[_0x45128b[_0x317a03+0x0]]+Y[_0x45128b[_0x317a03+0x1]]+Y[_0x45128b[_0x317a03+0x2]]+Y[_0x45128b[_0x317a03+0x3]]+'-'+Y[_0x45128b[_0x317a03+0x4]]+Y[_0x45128b[_0x317a03+0x5]]+'-'+Y[_0x45128b[_0x317a03+0x6]]+Y[_0x45128b[_0x317a03+0x7]]+'-'+Y[_0x45128b[_0x317a03+0x8]]+Y[_0x45128b[_0x317a03+0x9]]+'-'+Y[_0x45128b[_0x317a03+0xa]]+Y[_0x45128b[_0x317a03+0xb]]+Y[_0x45128b[_0x317a03+0xc]]+Y[_0x45128b[_0x317a03+0xd]]+Y[_0x45128b[_0x317a03+0xe]]+Y[_0x45128b[_0x317a03+0xf]])['toLowerCase']();}let Vt;const no=new Uint8Array(0x10);function oo(){const _0x25362e=_0x112848;if(!Vt){if(typeof crypto>'u'||!crypto[_0x25362e(0x497)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Vt=crypto[_0x25362e(0x497)][_0x25362e(0x60b)](crypto);}return Vt(no);}const ao=typeof crypto<'u'&&crypto[_0x112848(0x36a)]&&crypto[_0x112848(0x36a)]['bind'](crypto),qs={'randomUUID':ao};function co(_0x4210c9,_0x45841a,_0x87383c){const _0x3ee8f0=_0x112848;if(qs[_0x3ee8f0(0x36a)]&&!_0x45841a&&!_0x4210c9)return qs[_0x3ee8f0(0x36a)]();_0x4210c9=_0x4210c9||{};const _0x21bfd5=_0x4210c9[_0x3ee8f0(0x312)]||(_0x4210c9[_0x3ee8f0(0x338)]||oo)();return _0x21bfd5[0x6]=_0x21bfd5[0x6]&0xf|0x40,_0x21bfd5[0x8]=_0x21bfd5[0x8]&0x3f|0x80,ro(_0x21bfd5);}var ho=Object['defineProperty'],lo=Object[_0x112848(0x331)],_o=(_0x28afbf,_0x5307f9,_0x5f3921,_0x48dad2)=>{const _0x489c6f=_0x112848;for(var _0x90c109=_0x48dad2>0x1?void 0x0:_0x48dad2?lo(_0x5307f9,_0x5f3921):_0x5307f9,_0xbd6636=_0x28afbf[_0x489c6f(0x2c7)]-0x1,_0x385019;_0xbd6636>=0x0;_0xbd6636--)(_0x385019=_0x28afbf[_0xbd6636])&&(_0x90c109=(_0x48dad2?_0x385019(_0x5307f9,_0x5f3921,_0x90c109):_0x385019(_0x90c109))||_0x90c109);return _0x48dad2&&_0x90c109&&ho(_0x5307f9,_0x5f3921,_0x90c109),_0x90c109;},Gt=(_0x488a32,_0xe45679)=>(_0x1f54ba,_0x28003d)=>_0xe45679(_0x1f54ba,_0x28003d,_0x488a32);let Ot=class{constructor(_0x10d825,_0x3a55c7,_0x443bbc){const _0x45f438=_0x112848;this[_0x45f438(0x382)]=_0x10d825,this['_transformService']=_0x3a55c7,this['_renderManagerService']=_0x443bbc;}[_0x112848(0x5e1)](_0x1a6afa){const _0x574a96=_0x112848;this[_0x574a96(0x25f)](_0x1a6afa),this[_0x574a96(0x276)](_0x1a6afa);}['transformRemoteChangeset'](_0x5b9eeb){const _0x3bd1e1=_0x112848,{unitID:_0x4e535d}=_0x5b9eeb,_0x2ea551=this[_0x3bd1e1(0x38a)][_0x3bd1e1(0x281)](_0x4e535d)[_0x3bd1e1(0x4d5)](_0x331906),{redoCache:_0x2c893a}=_0x2ea551['getUndoRedoMutationParamsCache']();if(_0x2c893a[_0x3bd1e1(0x2c7)]===0x0)return _0x5b9eeb;let _0x585097=_0x5a9c5d[_0x3bd1e1(0x300)](_0x5b9eeb[_0x3bd1e1(0x3c0)][0x0]);for(let _0x462809=0x0;_0x462809<_0x2c893a[_0x3bd1e1(0x2c7)];_0x462809++){const _0x5627a0={'id':_0x3bd1e1(0x3be),'params':{..._0x2c893a[_0x462809]}},_0x5581e7=this[_0x3bd1e1(0x59f)][_0x3bd1e1(0x450)](_0x585097,_0x5627a0,!0x1);if(_0xf61c00(_0x5581e7))throw _0x5581e7[_0x3bd1e1(0x3b9)];_0x585097=_0x5581e7[_0x3bd1e1(0x427)];}return{..._0x5a9c5d[_0x3bd1e1(0x300)](_0x5b9eeb),'mutations':[_0x585097]};}['_transformUndoRedoStack'](_0x3f8dd4){const _0x162cc3=_0x112848,{unitID:_0x34c8c2}=_0x3f8dd4,_0x3f01e6=this[_0x162cc3(0x38a)]['getRenderById'](_0x34c8c2)[_0x162cc3(0x4d5)](_0x331906),{undoCache:_0x519c00,redoCache:_0x2184eb}=_0x3f01e6[_0x162cc3(0x485)]();if(_0x519c00[_0x162cc3(0x2c7)]===0x0||_0x2184eb[_0x162cc3(0x2c7)]===0x0)return;const _0x382199=[],_0x3fbcde=[];let _0x139895=_0x5a9c5d[_0x162cc3(0x300)](_0x3f8dd4[_0x162cc3(0x3c0)][0x0]),_0x3c9d18=_0x5a9c5d[_0x162cc3(0x300)](_0x3f8dd4['mutations'][0x0]);for(let _0x2104de=_0x519c00[_0x162cc3(0x2c7)]-0x1;_0x2104de>=0x0;_0x2104de--){const _0x41c565={'id':_0x162cc3(0x3be),'params':{..._0x519c00[_0x2104de]}},_0x3b5c05={'id':'doc.mutation.rich-text-editing','params':{..._0x2184eb[_0x2104de]}},_0x2b8f29=this[_0x162cc3(0x59f)][_0x162cc3(0x450)](_0x139895,_0x41c565,!0x1),_0x4b9ff0=this[_0x162cc3(0x59f)][_0x162cc3(0x450)](_0x3c9d18,_0x3b5c05,!0x1);if(_0xf61c00(_0x2b8f29))throw _0x2b8f29[_0x162cc3(0x3b9)];if(_0xf61c00(_0x4b9ff0))throw _0x4b9ff0['error'];_0x382199[_0x162cc3(0x333)](_0x2b8f29[_0x162cc3(0x553)][_0x162cc3(0x256)]),_0x3fbcde[_0x162cc3(0x333)](_0x4b9ff0[_0x162cc3(0x553)]['params']),_0x139895=_0x2b8f29['m1Prime'],_0x3c9d18=_0x4b9ff0[_0x162cc3(0x427)];}_0x3f01e6['setUndoRedoMutationParamsCache']({'undoCache':_0x382199,'redoCache':_0x3fbcde});}[_0x112848(0x276)](_0x4e02e6){const _0x22cafd=_0x112848,{unitID:_0x43c794}=_0x4e02e6,_0x3ed6fd=this['_renderManagerService'][_0x22cafd(0x281)](_0x43c794)[_0x22cafd(0x4d5)](_0x331906),_0x493a73=_0x3ed6fd[_0x22cafd(0x4c6)]();if(_0x493a73==null)return;const _0x2fb367=[{'id':_0x22cafd(0x3be),'params':{'unitId':_0x4e02e6[_0x22cafd(0x5e0)],'actions':null,'textRanges':[_0x493a73]}}],_0x4a51bd=this[_0x22cafd(0x59f)][_0x22cafd(0x284)](_0x4e02e6,_0x2fb367);if(!_0x4f22a8(_0x4a51bd))throw _0x4a51bd[_0x22cafd(0x3b9)];const _0x4982d7=_0x4a51bd['m2Prime'][0x0]['params']['textRanges'];Array[_0x22cafd(0x5f9)](_0x4982d7)&&_0x4982d7[_0x22cafd(0x2c7)]&&_0x3ed6fd[_0x22cafd(0x323)](_0x4982d7[0x0]);}};Ot=_o([Gt(0x0,_0xa52f76(_0x2e5136)),Gt(0x1,_0x6c5e45),Gt(0x2,_0x457d35)],Ot);var uo=Object['defineProperty'],fo=Object[_0x112848(0x331)],vo=(_0x3ae6d7,_0xe894d8,_0x157414,_0x165b4d)=>{const _0xdbaefd=_0x112848;for(var _0x506c29=_0x165b4d>0x1?void 0x0:_0x165b4d?fo(_0xe894d8,_0x157414):_0xe894d8,_0x21e2e9=_0x3ae6d7[_0xdbaefd(0x2c7)]-0x1,_0x16d325;_0x21e2e9>=0x0;_0x21e2e9--)(_0x16d325=_0x3ae6d7[_0x21e2e9])&&(_0x506c29=(_0x165b4d?_0x16d325(_0xe894d8,_0x157414,_0x506c29):_0x16d325(_0x506c29))||_0x506c29);return _0x165b4d&&_0x506c29&&uo(_0xe894d8,_0x157414,_0x506c29),_0x506c29;},ze=(_0x165cde,_0x42d8e1)=>(_0x5c0ba9,_0x442f4e)=>_0x42d8e1(_0x5c0ba9,_0x442f4e,_0x165cde);let z=class extends _0x5c0223{constructor(_0x42e882,_0x2eb742,_0x2e7869,_0x2ab5aa,_0x23e572){const _0x4f1c79=_0x112848;super(),g(this,'_cachedData',new Map()),g(this,_0x4f1c79(0x2af),new Map()),g(this,'_disabled',!0x1),(this[_0x4f1c79(0x3bf)]=_0x42e882,this['_localStorageService']=_0x2eb742,this[_0x4f1c79(0x604)]=_0x2e7869,this['_localeService']=_0x2ab5aa,this[_0x4f1c79(0x410)]=_0x23e572,this['_setupBeforeClosingHandler']());}[_0x112848(0x39b)](){const _0x4ecea6=_0x112848;this[_0x4ecea6(0x469)]=!0x0;}[_0x112848(0x4e7)](){const _0x10e59e=_0x112848;this[_0x10e59e(0x469)]=!0x1;}[_0x112848(0x298)](){const _0x36d0b1=_0x112848;this[_0x36d0b1(0x614)]()['then'](()=>super[_0x36d0b1(0x298)]());}async['loadOfflineData'](_0x269bae){const _0x2e033a=_0x112848;return this[_0x2e033a(0x469)]?null:this[_0x2e033a(0x5d4)]['getItem'](zs(_0x269bae));}async[_0x112848(0x294)](_0xf0f253,_0x1c7140){const _0x358282=_0x112848;return!!this[_0x358282(0x5d4)][_0x358282(0x385)](_0xf0f253,_0x1c7140);}[_0x112848(0x601)](_0x429a77,_0x1e101e,_0x4cc16f,_0xdd3fed){const _0x9c1090=_0x112848,_0xfaf604=this[_0x9c1090(0x410)]['getCurrentRevOfUnit'](_0x429a77);this[_0x9c1090(0x47e)][_0x9c1090(0x2ab)](_0x429a77,{'unitID':_0x429a77,'type':_0x1e101e,'awaitingChangeset':_0x4cc16f,'mutations':_0xdd3fed,'rev':_0xfaf604}),this['_saveTaskMap'][_0x9c1090(0x543)](_0x429a77)||this['_scheduleSaving'](_0x429a77);}[_0x112848(0x3dc)](_0x4c015c){const _0x557456=_0x112848,_0x52f373=this[_0x557456(0x5dd)]();_0x52f373===0x0?this['_saveCache'](_0x4c015c):this['_saveTaskMap'][_0x557456(0x2ab)](_0x4c015c,setTimeout(()=>this[_0x557456(0x530)](_0x4c015c),_0x52f373));}['_getSaveTimeout'](){const _0x2ea1e3=_0x112848;var _0x3c92a5;return(_0x3c92a5=this['_configService'][_0x2ea1e3(0x496)](An))!=null?_0x3c92a5:Mn;}[_0x112848(0x530)](_0x2cacd0){const _0x31594a=_0x112848,_0x26cfb7=this[_0x31594a(0x2af)][_0x31594a(0x4cd)](_0x2cacd0);return _0x26cfb7!==void 0x0&&window[_0x31594a(0x587)](_0x26cfb7),this['_localStorageService'][_0x31594a(0x385)](zs(_0x2cacd0),this[_0x31594a(0x47e)][_0x31594a(0x4cd)](_0x2cacd0))[_0x31594a(0x4bb)](()=>this[_0x31594a(0x2af)][_0x31594a(0x37b)](_0x2cacd0));}async[_0x112848(0x614)](){const _0x4cffd2=_0x112848,_0x151aad=[];this[_0x4cffd2(0x2af)]['forEach']((_0x1f1f28,_0x5b61f0)=>{const _0x26c686=_0x4cffd2;window[_0x26c686(0x587)](_0x1f1f28),_0x151aad[_0x26c686(0x2aa)](this[_0x26c686(0x530)](_0x5b61f0)[_0x26c686(0x4bb)](()=>{const _0x5f2b51=_0x26c686;this[_0x5f2b51(0x2af)][_0x5f2b51(0x37b)](_0x5b61f0);}));}),await Promise[_0x4cffd2(0x411)](_0x151aad);}['_setupBeforeClosingHandler'](){const _0x1e4cbf=_0x112848;this['disposeWithMe'](this[_0x1e4cbf(0x604)][_0x1e4cbf(0x552)](()=>{const _0x475d57=_0x1e4cbf;if(this[_0x475d57(0x2af)]['size'])return this[_0x475d57(0x491)]['t']('collaboration-client.offline-data-not-saved');}));}};z=vo([ze(0x0,_0x11a6c7),ze(0x1,_0x41275d),ze(0x2,_0x320b69),ze(0x3,_0xa52f76(_0x316ab9)),ze(0x4,_0xa52f76(_0x340bb0))],z);function zs(_0x2fbb99){const _0x30092d=_0x112848;return _0x30092d(0x47c)+_0x2fbb99;}var po=Object[_0x112848(0x47b)],mo=Object[_0x112848(0x331)],go=(_0x259445,_0x2e527b,_0x55654c,_0x551674)=>{for(var _0x2b6f4b=_0x551674>0x1?void 0x0:_0x551674?mo(_0x2e527b,_0x55654c):_0x2e527b,_0x25e187=_0x259445['length']-0x1,_0x65570d;_0x25e187>=0x0;_0x25e187--)(_0x65570d=_0x259445[_0x25e187])&&(_0x2b6f4b=(_0x551674?_0x65570d(_0x2e527b,_0x55654c,_0x2b6f4b):_0x65570d(_0x2b6f4b))||_0x2b6f4b);return _0x551674&&_0x2b6f4b&&po(_0x2e527b,_0x55654c,_0x2b6f4b),_0x2b6f4b;},Yt=(_0x45decb,_0x55c803)=>(_0x28ddac,_0x420ca2)=>_0x55c803(_0x28ddac,_0x420ca2,_0x45decb);function So(_0x485f8a){const _0x440101=_0x112848,{unitID:_0x1a714c,mutations:_0x3d4d5e}=_0x485f8a;return{'unitId':_0x1a714c,'subUnitId':_0x3d4d5e[0x0][_0x440101(0x256)][_0x440101(0x4b2)]};}let yt=class{constructor(_0x595e69,_0x485d2b,_0x3a4296){const _0x1cbd78=_0x112848;this['_injector']=_0x595e69,this[_0x1cbd78(0x59f)]=_0x485d2b,this[_0x1cbd78(0x574)]=_0x3a4296;}['transformSelections'](_0x33af5c){const _0x5c6fb9=_0x112848;var _0x32e18c,_0x291054,_0x185783,_0x2f72dd;const _0x567770=this[_0x5c6fb9(0x382)][_0x5c6fb9(0x4cd)](_0x52a1cd),{unitId:_0x256944,subUnitId:_0x40d70e}=So(_0x33af5c),_0x507ce7=_0x567770[_0x5c6fb9(0x402)](_0x256944)[_0x5c6fb9(0x3e4)](),_0x2eff3c=(_0x291054=(_0x32e18c=this[_0x5c6fb9(0x574)][_0x5c6fb9(0x56c)](_0x256944))==null?void 0x0:_0x32e18c[_0x5c6fb9(0x3a3)]())==null?void 0x0:_0x291054['getSheetId']();if(_0x507ce7[_0x5c6fb9(0x2c7)]===0x0||!_0x256944||!_0x40d70e)return;const _0x7b0dd6=[{'id':_0x2f7f98['id'],'params':{'unitId':_0x256944,'subUnitId':_0x2eff3c,'selections':_0x5a9c5d[_0x5c6fb9(0x300)](_0x507ce7)}}],_0x115fed=this[_0x5c6fb9(0x59f)][_0x5c6fb9(0x284)](_0x33af5c,_0x7b0dd6);if(!_0x4f22a8(_0x115fed))throw _0x115fed[_0x5c6fb9(0x3b9)];const _0x582a52=(_0x2f72dd=(_0x185783=_0x115fed[_0x5c6fb9(0x553)][0x0])==null?void 0x0:_0x185783[_0x5c6fb9(0x256)])==null?void 0x0:_0x2f72dd[_0x5c6fb9(0x4ac)];if(Array[_0x5c6fb9(0x5f9)](_0x582a52)&&_0x582a52[_0x5c6fb9(0x2c7)]){if(_0x582a52['length']===_0x7b0dd6[0x0]['params']['selections'][_0x5c6fb9(0x2c7)]&&_0x582a52[_0x5c6fb9(0x2f4)]((_0x5a82e4,_0x185076)=>_0x430de4[_0x5c6fb9(0x613)](_0x5a82e4[_0x5c6fb9(0x3b6)],_0x7b0dd6[0x0][_0x5c6fb9(0x256)][_0x5c6fb9(0x4ac)][_0x185076][_0x5c6fb9(0x3b6)])))return;this['_injector'][_0x5c6fb9(0x4cd)](_0x18a422)[_0x5c6fb9(0x283)](_0x2f7f98['id'],{'unitId':_0x256944,'subUnitId':_0x2eff3c,'selections':_0x582a52});}}};yt=go([Yt(0x0,_0xa52f76(_0x2e5136)),Yt(0x1,_0x6c5e45),Yt(0x2,_0x1efafe)],yt);const Ht=_0x20e782('univer-pro.collaboration-client.single-active-unit-service');var Yi=(_0x4e5cc4=>(_0x4e5cc4[_0x4e5cc4[_0x112848(0x370)]=0x0]=_0x112848(0x370),_0x4e5cc4[_0x4e5cc4[_0x112848(0x36e)]=0x1]='OTHER_CLIENTS_EDITING',_0x4e5cc4))(Yi||{});const Xs=0x7530,Js='ACTIVE_UNIT_EVENT_CHANNEL';class Io extends _0x5c0223{constructor(){const _0x3ab1f5=_0x112848;super(),g(this,'_id',_0x5a9c5d[_0x3ab1f5(0x3db)]()),g(this,_0x3ab1f5(0x22e),new Set()),g(this,_0x3ab1f5(0x4ea),new Map()),g(this,_0x3ab1f5(0x44c),null),g(this,'_clearOtherTimers',new Map()),g(this,'_unitStatus',new Map()),this[_0x3ab1f5(0x52b)]();}[_0x112848(0x298)](){const _0x5ab8e2=_0x112848;super[_0x5ab8e2(0x298)](),this[_0x5ab8e2(0x3b3)][_0x5ab8e2(0x209)]((_0x3ddd7b,_0x157035)=>this[_0x5ab8e2(0x286)](_0x157035)),this['_heartbeatTimer']&&window[_0x5ab8e2(0x224)](this[_0x5ab8e2(0x44c)]);}[_0x112848(0x288)](_0x2c3773){const _0x51de6f=_0x112848;return this[_0x51de6f(0x2a5)](_0x2c3773)[_0x51de6f(0x529)](_0x1a2e52());}[_0x112848(0x392)](_0x3ef97a){const _0x1d8951=_0x112848;this[_0x1d8951(0x22e)][_0x1d8951(0x307)]===0x0&&this[_0x1d8951(0x41e)](),this[_0x1d8951(0x22e)][_0x1d8951(0x278)](_0x3ef97a),this[_0x1d8951(0x320)]({'type':0x0,'memberID':this[_0x1d8951(0x602)],'unitIDs':[_0x3ef97a],'isForwarded':!0x1});}[_0x112848(0x4d2)](_0x3a17ff){const _0x38e224=_0x112848;this[_0x38e224(0x22e)][_0x38e224(0x37b)](_0x3a17ff),this['_selfUnitIDs'][_0x38e224(0x307)]===0x0&&this[_0x38e224(0x44c)]&&window[_0x38e224(0x224)](this[_0x38e224(0x44c)]);}['_init'](){const _0x5afd6d=_0x112848;this['disposeWithMe'](_0x1eb786(_0x3a7923(window,'storage')[_0x5afd6d(0x4f8)](_0x2f6890=>{const _0x3c81e3=_0x5afd6d;if(_0x2f6890['key']!==Js||!_0x2f6890[_0x3c81e3(0x315)])return;const _0x4bdcd4=JSON[_0x3c81e3(0x2e6)](_0x2f6890[_0x3c81e3(0x315)]);this['_handleEvent'](_0x4bdcd4);}))),window['addEventListener']('unload',()=>this[_0x5afd6d(0x320)]({'type':0x1,'memberID':this[_0x5afd6d(0x602)],'unitIDs':Array[_0x5afd6d(0x38c)](this[_0x5afd6d(0x22e)])}));}[_0x112848(0x1fb)](_0x1af651){const _0x5d18db=_0x112848;switch(_0x1af651['type']){case 0x0:this['_handleJoinEvent'](_0x1af651);break;case 0x1:this[_0x5d18db(0x2f7)](_0x1af651);break;case 0x2:this[_0x5d18db(0x236)](_0x1af651);break;}}['_handleJoinEvent'](_0x31c4cb){const _0x50a077=_0x112848,{unitIDs:_0x1d6e4c,memberID:_0x17eff5,isForwarded:_0x159bac}=_0x31c4cb;_0x1d6e4c[_0x50a077(0x209)](_0x4ae2a6=>{const _0x5a7c1c=_0x50a077;if(!_0x159bac&&this[_0x5a7c1c(0x4ea)][_0x5a7c1c(0x543)](_0x4ae2a6)&&this[_0x5a7c1c(0x2a5)](_0x4ae2a6)[_0x5a7c1c(0x53a)](0x1),!this[_0x5a7c1c(0x4ea)][_0x5a7c1c(0x543)](_0x4ae2a6)||!this['_unitOnClients'][_0x5a7c1c(0x4cd)](_0x4ae2a6)['has'](_0x17eff5)){const _0x5337a8=this['_unitOnClients']['get'](_0x4ae2a6)||new Set();_0x5337a8[_0x5a7c1c(0x278)](_0x17eff5),this['_unitOnClients'][_0x5a7c1c(0x2ab)](_0x4ae2a6,_0x5337a8),this[_0x5a7c1c(0x5aa)](_0x17eff5);}}),_0x159bac||this[_0x50a077(0x320)]({'type':0x0,'memberID':this[_0x50a077(0x602)],'unitIDs':[...this[_0x50a077(0x22e)]],'isForwarded':!0x0});}[_0x112848(0x5aa)](_0x492799){const _0x2bed3d=_0x112848;this[_0x2bed3d(0x286)](_0x492799);const _0x406311=window['setTimeout'](()=>{const _0x43011a=_0x2bed3d;this[_0x43011a(0x4ea)][_0x43011a(0x209)](_0x4d74ed=>{const _0x46e75a=_0x43011a;_0x4d74ed[_0x46e75a(0x37b)](_0x492799);});},Xs*0x2);this[_0x2bed3d(0x3b3)][_0x2bed3d(0x2ab)](_0x492799,_0x406311);}[_0x112848(0x286)](_0x51eb5c){const _0x39bd97=_0x112848;if(this[_0x39bd97(0x3b3)][_0x39bd97(0x543)](_0x51eb5c)){const _0x5267cb=this['_clearOtherTimers']['get'](_0x51eb5c);_0x5267cb&&window[_0x39bd97(0x587)](_0x5267cb),this[_0x39bd97(0x3b3)][_0x39bd97(0x2ab)](_0x51eb5c,null);}}['_handleLeaveEvent'](_0x310653){const _0x3a3611=_0x112848,{memberID:_0x446d9f,unitIDs:_0x9764ff}=_0x310653;_0x9764ff[_0x3a3611(0x209)](_0x425b7a=>{const _0xf85116=_0x3a3611;var _0x1ebc59;const _0x47845b=this[_0xf85116(0x4ea)][_0xf85116(0x4cd)](_0x425b7a);_0x47845b&&(_0x47845b['delete'](_0x446d9f),(_0x1ebc59=this[_0xf85116(0x2a5)](_0x425b7a))==null||_0x1ebc59[_0xf85116(0x53a)](_0x47845b['size']===0x0?0x0:0x1));}),this[_0x3a3611(0x286)](_0x446d9f);}[_0x112848(0x236)](_0x5e47f2){const _0x2511c9=_0x112848;this['_scheduleClearOtherTimer'](_0x5e47f2[_0x2511c9(0x54b)]);}['_send'](_0x35b709){const _0x26838d=_0x112848;localStorage['setItem'](Js,JSON[_0x26838d(0x2f0)](_0x35b709));}['_scheduleHeartbeat'](){const _0xce904=_0x112848;this[_0xce904(0x44c)]=window[_0xce904(0x364)](()=>{const _0x4e3f17=_0xce904;this[_0x4e3f17(0x320)]({'type':0x2,'memberID':this[_0x4e3f17(0x602)]});},Xs);}[_0x112848(0x2a5)](_0x438d0d){const _0x246db0=_0x112848;return this[_0x246db0(0x479)]['has'](_0x438d0d)||this['_unitStatus'][_0x246db0(0x2ab)](_0x438d0d,new _0x1c751f(0x0)),this['_unitStatus'][_0x246db0(0x4cd)](_0x438d0d);}}var Co=Object[_0x112848(0x47b)],Eo=Object[_0x112848(0x331)],bo=(_0x502c53,_0x46ea07,_0x2da054,_0x56e0b8)=>{const _0x3daad3=_0x112848;for(var _0x3f6540=_0x56e0b8>0x1?void 0x0:_0x56e0b8?Eo(_0x46ea07,_0x2da054):_0x46ea07,_0x28df03=_0x502c53[_0x3daad3(0x2c7)]-0x1,_0x45edd0;_0x28df03>=0x0;_0x28df03--)(_0x45edd0=_0x502c53[_0x28df03])&&(_0x3f6540=(_0x56e0b8?_0x45edd0(_0x46ea07,_0x2da054,_0x3f6540):_0x45edd0(_0x3f6540))||_0x3f6540);return _0x56e0b8&&_0x3f6540&&Co(_0x46ea07,_0x2da054,_0x3f6540),_0x3f6540;},Kt=(_0x5a6a40,_0x3db331)=>(_0x54156c,_0xb9e3f2)=>_0x3db331(_0x54156c,_0xb9e3f2,_0x5a6a40);let wt=class{constructor(_0x52bf1e,_0x41df81,_0x434ca5){const _0x2e2741=_0x112848;this[_0x2e2741(0x382)]=_0x52bf1e,this['_transformService']=_0x41df81,this['_docStateChangeManagerService']=_0x434ca5;}[_0x112848(0x4dc)](_0x491434){const _0x224b48=_0x112848;this[_0x224b48(0x30b)](_0x491434);}['transformRemoteChangeset'](_0x3b1fc4){const _0x5c5b5f=_0x112848,{unitID:_0xd1a7e}=_0x3b1fc4,{collaboration:_0x4cc91e}=this[_0x5c5b5f(0x4aa)]['getStateCache'](_0xd1a7e);if(_0x4cc91e['length']===0x0)return _0x3b1fc4;let _0x41af8d=_0x5a9c5d[_0x5c5b5f(0x300)](_0x3b1fc4['mutations'][0x0]);for(let _0x14e9d0=0x0;_0x14e9d0<_0x4cc91e[_0x5c5b5f(0x2c7)];_0x14e9d0++){const _0x280b92={'id':_0x5c5b5f(0x3be),'params':{'unitId':_0x4cc91e[_0x14e9d0][_0x5c5b5f(0x261)],..._0x4cc91e[_0x14e9d0][_0x5c5b5f(0x2f2)]}},_0x189ca5=this[_0x5c5b5f(0x59f)][_0x5c5b5f(0x450)](_0x41af8d,_0x280b92,!0x1);if(_0xf61c00(_0x189ca5))throw _0x189ca5[_0x5c5b5f(0x3b9)];_0x41af8d=_0x189ca5[_0x5c5b5f(0x427)];}return{..._0x5a9c5d[_0x5c5b5f(0x300)](_0x3b1fc4),'mutations':[_0x41af8d]};}[_0x112848(0x30b)](_0x1f5ec7){const _0x3623d9=_0x112848,{unitID:_0x28c0af}=_0x1f5ec7,{history:_0x5d4af6,collaboration:_0xf9f5f2}=this[_0x3623d9(0x4aa)][_0x3623d9(0x5e5)](_0x28c0af);if(_0x5d4af6[_0x3623d9(0x2c7)]===0x0&&_0xf9f5f2[_0x3623d9(0x2c7)]===0x0)return;const _0x517cbd=[],_0xb82850=[];let _0x259adb=_0x5a9c5d[_0x3623d9(0x300)](_0x1f5ec7[_0x3623d9(0x3c0)][0x0]),_0x4840b6=_0x5a9c5d[_0x3623d9(0x300)](_0x1f5ec7[_0x3623d9(0x3c0)][0x0]);for(let _0x32f847=_0x5d4af6['length']-0x1;_0x32f847>=0x0;_0x32f847--){const _0x31696f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5d4af6[_0x32f847]['unitId'],..._0x5d4af6[_0x32f847][_0x3623d9(0x5b7)]}},_0x5c82d4={'id':_0x3623d9(0x3be),'params':{'unitId':_0x5d4af6[_0x32f847][_0x3623d9(0x261)],..._0x5d4af6[_0x32f847][_0x3623d9(0x2f2)]}},_0x486523=this[_0x3623d9(0x59f)]['transformMutation'](_0x259adb,_0x31696f,!0x1),_0x360682=this[_0x3623d9(0x59f)][_0x3623d9(0x450)](_0x4840b6,_0x5c82d4,!0x1);if(_0xf61c00(_0x486523))throw _0x486523[_0x3623d9(0x3b9)];if(_0xf61c00(_0x360682))throw _0x360682['error'];_0x517cbd[_0x3623d9(0x333)]({..._0x5d4af6[_0x32f847],'undoState':_0x486523[_0x3623d9(0x553)][_0x3623d9(0x256)],'redoState':_0x360682[_0x3623d9(0x553)][_0x3623d9(0x256)]}),_0x259adb=_0x486523[_0x3623d9(0x427)],_0x4840b6=_0x360682[_0x3623d9(0x427)];}_0x259adb=_0x5a9c5d[_0x3623d9(0x300)](_0x1f5ec7[_0x3623d9(0x3c0)][0x0]),_0x4840b6=_0x5a9c5d['deepClone'](_0x1f5ec7['mutations'][0x0]);for(let _0xbb571=_0xf9f5f2[_0x3623d9(0x2c7)]-0x1;_0xbb571>=0x0;_0xbb571--){const _0xb98068={'id':_0x3623d9(0x3be),'params':{'unitId':_0xf9f5f2[_0xbb571][_0x3623d9(0x261)],..._0xf9f5f2[_0xbb571][_0x3623d9(0x5b7)]}},_0x152eb5={'id':_0x3623d9(0x3be),'params':{'unitId':_0xf9f5f2[_0xbb571][_0x3623d9(0x261)],..._0xf9f5f2[_0xbb571][_0x3623d9(0x2f2)]}},_0x3c4c31=this[_0x3623d9(0x59f)][_0x3623d9(0x450)](_0x259adb,_0xb98068,!0x1),_0x367c6c=this['_transformService']['transformMutation'](_0x4840b6,_0x152eb5,!0x1);if(_0xf61c00(_0x3c4c31))throw _0x3c4c31[_0x3623d9(0x3b9)];if(_0xf61c00(_0x367c6c))throw _0x367c6c[_0x3623d9(0x3b9)];_0xb82850[_0x3623d9(0x333)]({..._0xf9f5f2[_0xbb571],'undoState':_0x3c4c31[_0x3623d9(0x553)][_0x3623d9(0x256)],'redoState':_0x367c6c[_0x3623d9(0x553)][_0x3623d9(0x256)]}),_0x259adb=_0x3c4c31[_0x3623d9(0x427)],_0x4840b6=_0x367c6c[_0x3623d9(0x427)];}this[_0x3623d9(0x4aa)][_0x3623d9(0x313)](_0x28c0af,{'history':_0x517cbd,'collaboration':_0xb82850});}};wt=bo([Kt(0x0,_0xa52f76(_0x2e5136)),Kt(0x1,_0x6c5e45),Kt(0x2,_0xa52f76(_0x40c526))],wt);function Ki(_0x316541){const _0x5071b4=_0x112848;let _0x204539='';for(const _0x4976ea of _0x316541){const {startOffset:_0x5c354a,endOffset:_0x131b5a,isActive:_0x1af8ab,rangeType:_0x9f53dc,segmentId:_0x484e35,segmentPage:_0x54db67}=_0x4976ea;_0x204539[_0x5071b4(0x2c7)]&&(_0x204539+=','),_0x204539+=_0x5c354a+':'+_0x131b5a+':'+(_0x1af8ab?'1':'0')+':'+_0x9f53dc+':'+_0x484e35+':'+_0x54db67;}return _0x204539;}function To(_0x51174d){const _0x2a6b55=_0x112848,_0x409078=_0x51174d['split'](','),_0x59e9ce=[];for(const _0x18242a of _0x409078){const [_0x4e62a1,_0x6c41e3,_0x31946a,_0x3c3dd3,_0x511313,_0x3176f4]=_0x18242a[_0x2a6b55(0x513)](':');_0x59e9ce[_0x2a6b55(0x2aa)]({'startOffset':Number(_0x4e62a1),'endOffset':Number(_0x6c41e3),'collapsed':_0x4e62a1===_0x6c41e3,'isActive':_0x31946a==='1','rangeType':_0x3c3dd3===_0x1c1637[_0x2a6b55(0x59e)]?_0x1c1637['TEXT']:_0x1c1637[_0x2a6b55(0x34a)],'segmentId':typeof _0x511313==_0x2a6b55(0x458)?String(_0x511313):'','segmentPage':Number(_0x3176f4!=null?_0x3176f4:-0x1)});}return _0x59e9ce[_0x2a6b55(0x5f5)](_0x517ba3=>_0x517ba3['isActive'])||(_0x59e9ce[0x0][_0x2a6b55(0x317)]=!0x0),_0x59e9ce;}class Ds extends _0x40c6c0{constructor(){const _0x3c6984=_0x112848;super(...arguments),g(this,'_collabCursorState$',new _0x1c751f(null)),g(this,_0x3c6984(0x60f),this[_0x3c6984(0x44e)][_0x3c6984(0x606)]());}[_0x112848(0x24b)](_0x520ee5){const _0x1d9e68=_0x112848,{unitID:_0x24a819,memberID:_0x1399a9,textRanges:_0x16648d}=_0x520ee5,_0x1cc581=Ki(_0x16648d);if(_0x1cc581==='')return;const _0x3bc007={'unitID':_0x24a819,'memberID':_0x1399a9,'selection':_0x1cc581};this[_0x1d9e68(0x44e)][_0x1d9e68(0x53a)](_0x3bc007);}}var Ro=Object['defineProperty'],Oo=Object['getOwnPropertyDescriptor'],yo=(_0x1eb2ad,_0x5f560a,_0x53811f,_0x103990)=>{const _0x22e6d0=_0x112848;for(var _0x217792=_0x103990>0x1?void 0x0:_0x103990?Oo(_0x5f560a,_0x53811f):_0x5f560a,_0x1e37d4=_0x1eb2ad[_0x22e6d0(0x2c7)]-0x1,_0xc604b3;_0x1e37d4>=0x0;_0x1e37d4--)(_0xc604b3=_0x1eb2ad[_0x1e37d4])&&(_0x217792=(_0x103990?_0xc604b3(_0x5f560a,_0x53811f,_0x217792):_0xc604b3(_0x217792))||_0x217792);return _0x103990&&_0x217792&&Ro(_0x5f560a,_0x53811f,_0x217792),_0x217792;},Zs=(_0x9261c7,_0x10d9b0)=>(_0x55279,_0x5dc544)=>_0x10d9b0(_0x55279,_0x5dc544,_0x9261c7);let Dt=class{constructor(_0x35df12,_0x34ea72){const _0x11df48=_0x112848;this[_0x11df48(0x382)]=_0x35df12,this['_transformService']=_0x34ea72;}[_0x112848(0x51d)](_0x13ff98){const _0x5f30dc=_0x112848;var _0x385b85;const _0x4278c1=this[_0x5f30dc(0x382)][_0x5f30dc(0x4cd)](_0x20b394),_0x3aaf7b=(_0x385b85=_0x4278c1[_0x5f30dc(0x415)]())!=null?_0x385b85:[];if(_0x3aaf7b[_0x5f30dc(0x2c7)]===0x0)return;const _0xd44e68=_0x13ff98[_0x5f30dc(0x5e0)],_0x5f1a01=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xd44e68,'actions':null,'textRanges':_0x3aaf7b}}],_0xf9cbba=this['_transformService'][_0x5f30dc(0x284)](_0x13ff98,_0x5f1a01);if(!_0x4f22a8(_0xf9cbba))throw _0xf9cbba[_0x5f30dc(0x3b9)];const _0x62131e=_0xf9cbba[_0x5f30dc(0x553)][0x0][_0x5f30dc(0x256)][_0x5f30dc(0x259)];Array[_0x5f30dc(0x5f9)](_0x62131e)&&_0x62131e[_0x5f30dc(0x2c7)]&&_0x4278c1['replaceDocRanges'](_0x62131e,{'unitId':_0xd44e68,'subUnitId':_0xd44e68},!0x1);}};Dt=yo([Zs(0x0,_0xa52f76(_0x2e5136)),Zs(0x1,_0x6c5e45)],Dt);const wo=new Set([_0x227484['id']]);function Qs(_0x2a8567,_0x546a07,_0x3f7c4a,_0x54d6e1,_0x1e20f6){const _0x1218e1=_0x112848;var _0x2998fc,_0x212135,_0x38808a,_0x4dd6b1;const _0x21f44a=[];for(const _0x28db9f of _0x2a8567)if(wo[_0x1218e1(0x543)](_0x28db9f['id'])){if(_0x21f44a[_0x1218e1(0x2c7)]>0x0)break;_0x21f44a[_0x1218e1(0x2aa)](_0x28db9f);break;}else _0x21f44a['push'](_0x28db9f);const _0x385255=(_0x212135=(_0x2998fc=_0x1e20f6[_0x1218e1(0x35f)]())==null?void 0x0:_0x2998fc[_0x1218e1(0x455)])!=null?_0x212135:_0x1218e1(0x394),_0xf51b1e=(_0x4dd6b1=(_0x38808a=_0x1e20f6['getCurrentUser']())==null?void 0x0:_0x38808a[_0x1218e1(0x54b)])!=null?_0x4dd6b1:'unknown';return{'changeset':{'unitID':_0x546a07,'type':_0x1fbe40(_0x3f7c4a['getUnitType'](_0x546a07)),'baseRev':_0x54d6e1[_0x1218e1(0x404)](_0x546a07),'revision':0x0,'userID':_0x385255,'memberID':_0xf51b1e,'mutations':_0x21f44a},'pendingMutations':_0x2a8567[_0x1218e1(0x225)](_0x21f44a['length'])};}function Do(_0x3cf429,_0x1eebe6,_0x2ee5cf,_0x4989e4,_0x2dd217){const _0x2ea52d=_0x112848;var _0x535629,_0x21ec99,_0x4d8812,_0xe08332;const _0x2c89dc=[_0x3cf429[_0x2ea52d(0x456)]((_0xd25924,_0x4f7772)=>{const _0x40ae15=_0x2ea52d;var _0x175448;const {id:_0x2705c6}=_0xd25924,{id:_0x4a7aa2,type:_0x5d8c27}=_0x4f7772,_0x57100e=(_0x175448=_0xd25924[_0x40ae15(0x256)])!=null?_0x175448:{'actions':null},_0xb88ad8=_0x4f7772[_0x40ae15(0x256)];if(_0x2705c6&&_0x2705c6!==_0x4a7aa2)throw new Error(_0x40ae15(0x483)+_0x2705c6+_0x40ae15(0x3b4)+_0x4a7aa2+'.');return{..._0xd25924,'id':_0x4a7aa2,'type':_0x5d8c27,'params':{'unitId':_0xb88ad8['unitId'],'textRanges':_0xb88ad8['textRanges'],'actions':_0x14548d[_0x40ae15(0x2d7)](_0x57100e[_0x40ae15(0x35b)],_0xb88ad8[_0x40ae15(0x35b)])}};},{})],_0x30ffdc=(_0x21ec99=(_0x535629=_0x2dd217[_0x2ea52d(0x35f)]())==null?void 0x0:_0x535629[_0x2ea52d(0x455)])!=null?_0x21ec99:'unknown',_0x1cec09=(_0xe08332=(_0x4d8812=_0x2dd217[_0x2ea52d(0x35f)]())==null?void 0x0:_0x4d8812[_0x2ea52d(0x54b)])!=null?_0xe08332:_0x2ea52d(0x394);return{'changeset':{'unitID':_0x1eebe6,'type':_0x1fbe40(_0x2ee5cf['getUnitType'](_0x1eebe6)),'baseRev':_0x4989e4[_0x2ea52d(0x404)](_0x1eebe6),'revision':0x0,'userID':_0x30ffdc,'memberID':_0x1cec09,'mutations':_0x2c89dc},'pendingMutations':[]};}function qi(_0xdf739d,_0x2ab7e0){const _0x3fc6cf=_0x112848,_0x1fe485=new _0x12eb08(0x1);return setTimeout(()=>_0x1fe485['next'](_0x2ab7e0),_0xdf739d),_0x1fe485[_0x3fc6cf(0x606)]()['pipe'](_0x54b287(0x1));}const Po={'id':_0x595980['id'],'type':_0x4ffeff[_0x112848(0x49b)],'params':{}};var Uo=Object[_0x112848(0x47b)],No=Object[_0x112848(0x331)],Le=(_0xc5e361,_0x8e02a4,_0x3b3059,_0x31261f)=>{const _0x55c135=_0x112848;for(var _0x537a12=_0x31261f>0x1?void 0x0:_0x31261f?No(_0x8e02a4,_0x3b3059):_0x8e02a4,_0x4b057e=_0xc5e361[_0x55c135(0x2c7)]-0x1,_0xebfb8d;_0x4b057e>=0x0;_0x4b057e--)(_0xebfb8d=_0xc5e361[_0x4b057e])&&(_0x537a12=(_0x31261f?_0xebfb8d(_0x8e02a4,_0x3b3059,_0x537a12):_0xebfb8d(_0x537a12))||_0x537a12);return _0x31261f&&_0x537a12&&Uo(_0x8e02a4,_0x3b3059,_0x537a12),_0x537a12;},A=(_0x2bcf3e,_0x599a82)=>(_0x2ceb3a,_0x44b67a)=>_0x599a82(_0x2ceb3a,_0x44b67a,_0x2bcf3e),J=(_0x544b40=>(_0x544b40['NOT_COLLAB']=_0x112848(0x50e),_0x544b40[_0x112848(0x426)]='synced',_0x544b40[_0x112848(0x2ce)]=_0x112848(0x22c),_0x544b40[_0x112848(0x336)]=_0x112848(0x4c1),_0x544b40['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x544b40['FETCH_MISS']=_0x112848(0x449),_0x544b40[_0x112848(0x57d)]=_0x112848(0x2c0),_0x544b40['OFFLINE']=_0x112848(0x462),_0x544b40))(J||{});const zi=0xea60;class $e{constructor(_0x1575cd,_0x58a26c,_0x2f233f,_0x4ce360,_0x2592ad,_0x67048c,_0x324cec,_0x2228b7,_0x3757e6){const _0x2a78c1=_0x112848;g(this,_0x2a78c1(0x445),null),g(this,'_pendingMutations',[]),(this['unitID']=_0x1575cd,this[_0x2a78c1(0x5b1)]=_0x58a26c,this[_0x2a78c1(0x32e)]=_0x2592ad,this[_0x2a78c1(0x4f1)]=_0x67048c,this[_0x2a78c1(0x598)]=_0x324cec,this[_0x2a78c1(0x410)]=_0x2228b7,this[_0x2a78c1(0x3fa)]=_0x3757e6,this[_0x2a78c1(0x445)]=_0x2f233f,this[_0x2a78c1(0x46d)]=_0x4ce360);}[_0x112848(0x359)](_0x281742){const _0x110571=_0x112848,_0x5d44f9=this[_0x110571(0x410)][_0x110571(0x404)](this[_0x110571(0x5e0)]);return _0x281742[_0x110571(0x5e4)]>_0x5d44f9+0x1?(this[_0x110571(0x32e)]['onMissingChangesets']({'from':_0x5d44f9,'to':_0x281742['revision']-0x1}),!0x0):!0x1;}[_0x112848(0x416)](_0x1dacf3){const _0x13bcbc=_0x112848;this[_0x13bcbc(0x598)]['transformUndoRedo'](this[_0x13bcbc(0x5e0)],_0x1dacf3);}[_0x112848(0x383)](_0x435453){const _0xf1d441=_0x112848;var _0x1b6bda,_0x18cae7;(_0x18cae7=(_0x1b6bda=this[_0xf1d441(0x32e)])[_0xf1d441(0x258)])==null||_0x18cae7[_0xf1d441(0x32c)](_0x1b6bda,_0x435453);}[_0x112848(0x528)](_0x452913){const _0x14022f=_0x112848;var _0x433550,_0x1e0ba8;return(_0x1e0ba8=(_0x433550=this[_0x14022f(0x32e)])['onTransformIME'])==null?void 0x0:_0x1e0ba8[_0x14022f(0x32c)](_0x433550,_0x452913);}[_0x112848(0x41c)](_0x4bf11c){const _0x217a49=_0x112848;var _0x4fca92,_0x5879ce;return(_0x5879ce=(_0x4fca92=this[_0x217a49(0x32e)])['onTransformState'])==null?void 0x0:_0x5879ce['call'](_0x4fca92,_0x4bf11c);}[_0x112848(0x573)](_0x385221){const _0x4b878a=_0x112848;var _0xe64ee3,_0xc600c3,_0x2ab3cc;return(_0x2ab3cc=(_0xc600c3=(_0xe64ee3=this[_0x4b878a(0x32e)])[_0x4b878a(0x435)])==null?void 0x0:_0xc600c3[_0x4b878a(0x32c)](_0xe64ee3,_0x385221))!=null?_0x2ab3cc:_0x385221;}[_0x112848(0x4f2)](_0x345cde){const _0x3870ab=_0x112848;var _0x420f7c,_0x12630c,_0x393a50;return(_0x393a50=(_0x12630c=(_0x420f7c=this[_0x3870ab(0x32e)])[_0x3870ab(0x5c7)])==null?void 0x0:_0x12630c[_0x3870ab(0x32c)](_0x420f7c,_0x345cde))!=null?_0x393a50:_0x345cde;}['_syncEditingCollabCursor'](_0x493abc){const _0x48ba83=_0x112848;var _0x4e9759,_0x2a27b0;if(this['type']===ae[_0x48ba83(0x538)]){const {unitID:_0x3830ba,mutations:_0x1cfeb4,memberID:_0x2156da}=_0x493abc,_0x5b6195=_0x1cfeb4[0x0][_0x48ba83(0x256)][_0x48ba83(0x259)];Array[_0x48ba83(0x5f9)](_0x5b6195)&&_0x5b6195[_0x48ba83(0x2c7)]>0x0&&((_0x2a27b0=(_0x4e9759=this[_0x48ba83(0x32e)])[_0x48ba83(0x4de)])==null||_0x2a27b0[_0x48ba83(0x32c)](_0x4e9759,{'unitID':_0x3830ba,'memberID':_0x2156da,'textRanges':_0x5b6195}));}}[_0x112848(0x5d1)](){const _0x9170f8=_0x112848;this['_localCacheService'][_0x9170f8(0x601)](this[_0x9170f8(0x5e0)],this['type'],this[_0x9170f8(0x445)],this[_0x9170f8(0x46d)]);}[_0x112848(0x5c3)](){const _0xbe9918=_0x112848;return this[_0xbe9918(0x410)][_0xbe9918(0x404)](this[_0xbe9918(0x5e0)]);}[_0x112848(0x271)](){const _0x5e1aae=_0x112848;this['_revisionService'][_0x5e1aae(0x2fd)](this[_0x5e1aae(0x5e0)]);}[_0x112848(0x4e6)](_0x5b5c9f){const _0x6401ac=_0x112848;var _0x8a3f66;let _0x4a7a78=this['_transformRemoteChangesetByIMECache'](_0x5b5c9f);_0x4a7a78=this[_0x6401ac(0x4f2)](_0x4a7a78);const _0x302a93=_0x5b8778(_0x4a7a78['mutations'],this[_0x6401ac(0x4f1)],{'fromCollab':!0x0});if(!_0x302a93[_0x6401ac(0x567)])throw _0x302a93[_0x6401ac(0x3b9)]instanceof Error?_0x302a93[_0x6401ac(0x3b9)]:new Error((_0x8a3f66=_0x302a93[_0x6401ac(0x3b9)])!=null?_0x8a3f66:_0x6401ac(0x5cc));this[_0x6401ac(0x528)](_0x4a7a78),this[_0x6401ac(0x41c)](_0x4a7a78),this[_0x6401ac(0x416)](_0x5b5c9f),this['_transformSelections'](_0x4a7a78),this[_0x6401ac(0x2f8)](_0x4a7a78),this[_0x6401ac(0x271)]();}}let We=class extends $e{constructor(_0x19028c,_0x2bbfb9,_0x502b11,_0x2325b0,_0x5c4389,_0x741332,_0x19a0d0,_0x24a84e,_0x5c80d7,_0x616aa7){const _0x955151=_0x112848;super(_0x19028c,_0x2bbfb9,null,[],_0x502b11,_0x24a84e,_0x19a0d0,_0x2325b0,_0x5c4389),g(this,_0x955151(0x5ea),_0x955151(0x29c)),(this['_injector']=_0x741332,this['_logService']=_0x5c80d7,this[_0x955151(0x59f)]=_0x616aa7);}['appendMutation'](_0x73681d){const _0x56823=_0x112848,_0x47e594=this[_0x56823(0x382)][_0x56823(0x4d8)](pe,this['unitID'],this[_0x56823(0x5b1)],[_0x73681d],this[_0x56823(0x32e)]);return _0x47e594['_schedule'](),_0x47e594[_0x56823(0x5d1)](),_0x47e594;}[_0x112848(0x208)](_0x4af0e1){const _0x160dd0=_0x112848;if(this[_0x160dd0(0x359)](_0x4af0e1))return this[_0x160dd0(0x382)][_0x160dd0(0x4d8)](ce,this[_0x160dd0(0x5e0)],this[_0x160dd0(0x5b1)],null,[],null,[_0x4af0e1],this[_0x160dd0(0x32e)]);try{const _0x4d3577=this[_0x160dd0(0x59f)][_0x160dd0(0x284)](_0x4af0e1,[Po]);if(_0x4f22a8(_0x4d3577)){const {c1Prime:_0x5d9c1f}=_0x4d3577;return this['_executeRemoteChangeset'](_0x5d9c1f),this;}throw _0x4d3577[_0x160dd0(0x3b9)];}catch(_0x15a054){return this['_logService'][_0x160dd0(0x3b9)](_0x15a054),this['_onConflict'](!0x1);}}['_onConflict'](_0x41a57a){const _0x304c4e=_0x112848;return this['_injector'][_0x304c4e(0x4d8)](Re,this[_0x304c4e(0x5e0)],this['type'],null,[],this[_0x304c4e(0x32e)],_0x41a57a);}[_0x112848(0x3d9)](){const _0x1d5c1f=_0x112848;throw new Error(_0x1d5c1f(0x4bd));}[_0x112848(0x265)](){const _0x2ef7df=_0x112848;throw new Error(_0x2ef7df(0x468));}[_0x112848(0x275)](){return this;}[_0x112848(0x4f3)](){const _0x3e5174=_0x112848;return this['_injector'][_0x3e5174(0x4d8)](Oe,this[_0x3e5174(0x5e0)],this[_0x3e5174(0x5b1)],null,[],this['_handler']);}[_0x112848(0x57f)](){return this;}[_0x112848(0x5ac)](){const _0x4e2c33=_0x112848;throw new Error(_0x4e2c33(0x373));}[_0x112848(0x25d)](){const _0xfe8b39=_0x112848,_0x580c47=this['_revisionService']['getCurrentRevOfUnit'](this[_0xfe8b39(0x5e0)]);return this[_0xfe8b39(0x32e)][_0xfe8b39(0x2f6)]({'from':_0x580c47,'to':0x0}),this['_injector'][_0xfe8b39(0x4d8)](ce,this[_0xfe8b39(0x5e0)],this[_0xfe8b39(0x5b1)],null,[],null,[],this[_0xfe8b39(0x32e)]);}};We=Le([A(0x3,_0xa52f76(_0x340bb0)),A(0x4,_0xa52f76(z)),A(0x5,_0xa52f76(_0x2e5136)),A(0x6,_0x196f01),A(0x7,_0x18a422),A(0x8,_0x5268cc),A(0x9,_0x6c5e45)],We);let pe=class extends $e{constructor(_0x2a6fdb,_0x38b6ac,_0x2dddeb,_0x29bf0a,_0x43da0f,_0x56d156,_0x44c97b,_0x1081ba,_0x664539,_0xdc7f17,_0x24baaa,_0xf46174,_0x26206e,_0x1207e4){const _0x1bb1b4=_0x112848;super(_0x2a6fdb,_0x38b6ac,null,_0x2dddeb,_0x29bf0a,_0xdc7f17,_0x1207e4,_0x56d156,_0x44c97b),g(this,_0x1bb1b4(0x5ea),_0x1bb1b4(0x22c)),g(this,'_scheduleTimestamp',null),g(this,_0x1bb1b4(0x473),null),(this['_injector']=_0x43da0f,this[_0x1bb1b4(0x4ca)]=_0x1081ba,this[_0x1bb1b4(0x2bf)]=_0x664539,this[_0x1bb1b4(0x3bf)]=_0x24baaa,this['_transformService']=_0xf46174,this[_0x1bb1b4(0x3ad)]=_0x26206e);}[_0x112848(0x3de)](_0x4c8844){const _0x5843ea=_0x112848;return this[_0x5843ea(0x46d)][_0x5843ea(0x2aa)](_0x4c8844),this[_0x5843ea(0x5d1)](),this;}[_0x112848(0x208)](_0x3f7953){const _0x402ac5=_0x112848;if(this[_0x402ac5(0x359)](_0x3f7953))return this['_clearScheduledTask'](),this[_0x402ac5(0x382)]['createInstance'](ce,this[_0x402ac5(0x5e0)],this[_0x402ac5(0x5b1)],null,this['_pendingMutations'],null,[_0x3f7953],this[_0x402ac5(0x32e)]);try{const _0x454301=this[_0x402ac5(0x59f)][_0x402ac5(0x284)](_0x3f7953,this[_0x402ac5(0x46d)]);if(_0x4f22a8(_0x454301)){const {c1Prime:_0x1ca4e6,m2Prime:_0x47f29d}=_0x454301;this[_0x402ac5(0x4e6)](_0x1ca4e6);const _0xed382c=this['_injector'][_0x402ac5(0x4d8)](pe,this[_0x402ac5(0x5e0)],this[_0x402ac5(0x5b1)],_0x47f29d,this['_handler']);return this[_0x402ac5(0x250)](),_0xed382c['_schedule'](this['_scheduleTimestamp']?Math[_0x402ac5(0x21f)](0x0,new Date()[_0x402ac5(0x5cf)]()-this[_0x402ac5(0x35c)]):this[_0x402ac5(0x2b9)]()),_0xed382c;}throw _0x454301[_0x402ac5(0x3b9)];}catch(_0x377cb1){return this['_logService'][_0x402ac5(0x3b9)](_0x377cb1),this['_onConflict'](!0x1);}}[_0x112848(0x3d9)](){const _0x55052e=_0x112848;throw new Error(_0x55052e(0x582));}[_0x112848(0x265)](){const _0xda98d8=_0x112848;throw new Error(_0xda98d8(0x618));}[_0x112848(0x275)](){return this;}[_0x112848(0x4f3)](){const _0x1839b7=_0x112848;return this[_0x1839b7(0x250)](),this[_0x1839b7(0x382)][_0x1839b7(0x4d8)](Oe,this[_0x1839b7(0x5e0)],this[_0x1839b7(0x5b1)],null,this[_0x1839b7(0x46d)],this['_handler']);}['toggleOnline'](){return this;}[_0x112848(0x285)](_0xef2486){const _0x3a7a31=_0x112848,_0x47e6d8=_0xef2486!=null?_0xef2486:this[_0x3a7a31(0x2b9)]();this[_0x3a7a31(0x35c)]=new Date()[_0x3a7a31(0x5cf)](),this[_0x3a7a31(0x473)]=window[_0x3a7a31(0x360)](()=>{const _0x509bdd=_0x3a7a31;this[_0x509bdd(0x250)]();let _0x38b357=null;switch(this['type']){case ae[_0x509bdd(0x3f0)]:{_0x38b357=Qs(this['_pendingMutations'],this[_0x509bdd(0x5e0)],this[_0x509bdd(0x3ad)],this['_revisionService'],this['_memberService']);break;}case ae[_0x509bdd(0x538)]:{this[_0x509bdd(0x46d)][_0x509bdd(0x2f4)](_0x30f721=>_0x30f721['id']===_0x32f6eb['id'])?_0x38b357=Do(this[_0x509bdd(0x46d)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0x38b357=Qs(this[_0x509bdd(0x46d)],this[_0x509bdd(0x5e0)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x509bdd(0x5b1)]+'\x20in\x20_schedule.');}const {changeset:_0x459f24,pendingMutations:_0x4b4de8}=_0x38b357;this[_0x509bdd(0x32e)][_0x509bdd(0x5c5)](_0x459f24);const _0x41525b=_0x4b4de8[_0x509bdd(0x2c7)]?this[_0x509bdd(0x382)][_0x509bdd(0x4d8)](me,this['unitID'],this[_0x509bdd(0x5b1)],_0x459f24,_0x4b4de8,this[_0x509bdd(0x32e)],void 0x0):this[_0x509bdd(0x382)][_0x509bdd(0x4d8)](Te,this[_0x509bdd(0x5e0)],this[_0x509bdd(0x5b1)],_0x459f24,this[_0x509bdd(0x32e)]);_0x41525b[_0x509bdd(0x5d1)](),this[_0x509bdd(0x32e)][_0x509bdd(0x403)](this,_0x41525b);},_0x47e6d8);}[_0x112848(0x2b9)](){const _0x4c7b57=_0x112848;var _0x26da05;const _0x5a4814=this[_0x4c7b57(0x3bf)][_0x4c7b57(0x496)](Q);return(_0x26da05=_0x5a4814==null?void 0x0:_0x5a4814[_0x4c7b57(0x306)])!=null?_0x26da05:Tn;}[_0x112848(0x5ac)](){const _0x58ac96=_0x112848;throw new Error(_0x58ac96(0x211));}['_clearScheduledTask'](){const _0x57d0f3=_0x112848;this[_0x57d0f3(0x473)]!=null&&(clearTimeout(this[_0x57d0f3(0x473)]),this[_0x57d0f3(0x473)]=null);}[_0x112848(0x559)](_0x131b73){const _0x17a0bd=_0x112848;return this[_0x17a0bd(0x250)](),this[_0x17a0bd(0x382)][_0x17a0bd(0x4d8)](Re,this[_0x17a0bd(0x5e0)],this[_0x17a0bd(0x5b1)],null,this[_0x17a0bd(0x46d)],this[_0x17a0bd(0x32e)],_0x131b73);}};pe=Le([A(0x4,_0xa52f76(_0x2e5136)),A(0x5,_0xa52f76(_0x340bb0)),A(0x6,_0xa52f76(z)),A(0x7,_0xa52f76(Ae)),A(0x8,_0x5268cc),A(0x9,_0x18a422),A(0xa,_0x11a6c7),A(0xb,_0x6c5e45),A(0xc,_0x1efafe),A(0xd,_0x196f01)],pe);let Te=class extends $e{constructor(_0xa84f4e,_0x6f6dd3,_0x357787,_0x4d2a5c,_0x18a31f,_0x28d602,_0x4eeda3,_0x542c06,_0x5799fb,_0x3eab89,_0x22e58f){const _0x459bc3=_0x112848;super(_0xa84f4e,_0x6f6dd3,_0x357787,[],_0x4d2a5c,_0x542c06,_0x22e58f,_0x28d602,_0x4eeda3),g(this,_0x459bc3(0x5ea),_0x459bc3(0x4c1)),g(this,_0x459bc3(0x466),0x0),g(this,'_resendTimer'),g(this,_0x459bc3(0x205)),(this['_injector']=_0x18a31f,this[_0x459bc3(0x2bf)]=_0x5799fb,this[_0x459bc3(0x59f)]=_0x3eab89);}[_0x112848(0x3de)](_0x229f14){const _0x110b18=_0x112848;this[_0x110b18(0x250)]();const _0x39b8be=this[_0x110b18(0x382)]['createInstance'](me,this[_0x110b18(0x5e0)],this[_0x110b18(0x5b1)],this['_awaitingChangeset'],[_0x229f14],this[_0x110b18(0x32e)],this['_resendTimer']);return _0x39b8be[_0x110b18(0x5d1)](),_0x39b8be;}[_0x112848(0x208)](_0x158d05){const _0x17995a=_0x112848;if(this[_0x17995a(0x359)](_0x158d05))return this[_0x17995a(0x250)](),this[_0x17995a(0x382)][_0x17995a(0x4d8)](ce,this[_0x17995a(0x5e0)],this[_0x17995a(0x5b1)],this[_0x17995a(0x445)],[],null,[_0x158d05],this[_0x17995a(0x32e)]);try{const _0x403fb1=this[_0x17995a(0x59f)][_0x17995a(0x31f)]([_0x158d05],[this['_awaitingChangeset']],!0x1);if(_0x288a08(_0x403fb1)){const {c1Prime:_0xee89fc,c2Prime:_0x4ee00f}=_0x403fb1;this[_0x17995a(0x4e6)](_0xee89fc[0x0]),_0x4ee00f[0x0][_0x17995a(0x43b)]=this[_0x17995a(0x5c3)](),this[_0x17995a(0x250)]();const _0x4e4f6f=this[_0x17995a(0x382)][_0x17995a(0x4d8)](Te,this[_0x17995a(0x5e0)],this['type'],_0x4ee00f[0x0],this[_0x17995a(0x32e)]);return _0x4e4f6f[_0x17995a(0x5d1)](),_0x4e4f6f;}return this['_onConflict'](!0x1);}catch(_0x49c29e){return this[_0x17995a(0x2bf)][_0x17995a(0x3b9)](_0x49c29e),this[_0x17995a(0x559)](!0x1);}}[_0x112848(0x3d9)](_0x5d8432){const _0x3147f2=_0x112848;this[_0x3147f2(0x250)]();const _0x165042=this[_0x3147f2(0x410)]['getCurrentRevOfUnit'](this['unitID']);if(_0x5d8432[_0x3147f2(0x5e4)]<_0x165042-0x1)return this;if(this[_0x3147f2(0x359)](_0x5d8432))return this[_0x3147f2(0x382)]['createInstance'](ce,this[_0x3147f2(0x5e0)],this[_0x3147f2(0x5b1)],null,[],this['_awaitingChangeset'],[],this[_0x3147f2(0x32e)]);this['_incrementRevisionNumber']();const _0x54f040=this[_0x3147f2(0x382)][_0x3147f2(0x4d8)](We,this[_0x3147f2(0x5e0)],this[_0x3147f2(0x5b1)],this[_0x3147f2(0x32e)]);return _0x54f040[_0x3147f2(0x5d1)](),_0x54f040;}['onRemoteRej'](_0xccb2e6){const _0x495ff9=_0x112848;return this[_0x495ff9(0x559)](!!(_0xccb2e6!=null&&_0xccb2e6[_0x495ff9(0x3a4)]));}[_0x112848(0x275)](_0x2b83d6){const _0x34687d=_0x112848;return this['_resendTimeout']>zi?this[_0x34687d(0x4f3)]():(this['_resendTimer']=qi(this['_resendTimeout'],{'timeout':this[_0x34687d(0x466)],'reqId':_0x2b83d6[_0x34687d(0x5f7)]}),this['_sender']=this[_0x34687d(0x3b7)][_0x34687d(0x4f8)](({reqId:_0x3cfd46,timeout:_0x3bdeac})=>{const _0x1acec5=_0x34687d;this[_0x1acec5(0x3cd)](_0x3cfd46,_0x3bdeac);}),this);}[_0x112848(0x4f3)](){const _0x4d629e=_0x112848;return this[_0x4d629e(0x250)](),this['_injector']['createInstance'](Oe,this['unitID'],this[_0x4d629e(0x5b1)],this[_0x4d629e(0x445)],[],this[_0x4d629e(0x32e)]);}[_0x112848(0x57f)](){return this;}['resend'](){const _0x242377=_0x112848;this[_0x242377(0x32e)][_0x242377(0x5c5)](this[_0x242377(0x445)]);}[_0x112848(0x559)](_0x56404b){const _0x175be1=_0x112848;return this[_0x175be1(0x250)](),this[_0x175be1(0x382)][_0x175be1(0x4d8)](Re,this['unitID'],this[_0x175be1(0x5b1)],this['_awaitingChangeset'],[],this['_handler'],_0x56404b);}['_resendWithTimeout'](_0x3039fc,_0x362a4a){const _0x3657cf=_0x112848;var _0x2fbf02;_0x3039fc===((_0x2fbf02=this['_awaitingChangeset'])==null?void 0x0:_0x2fbf02[_0x3657cf(0x5f7)])&&(this[_0x3657cf(0x5ac)](),this[_0x3657cf(0x466)]=_0x362a4a===0x0?0x3e8:_0x362a4a*0x2);}[_0x112848(0x250)](){const _0xe34cec=_0x112848;var _0x56f6cc;(_0x56f6cc=this[_0xe34cec(0x205)])==null||_0x56f6cc[_0xe34cec(0x1f8)](),this[_0xe34cec(0x466)]=0x0;}};Te=Le([A(0x4,_0xa52f76(_0x2e5136)),A(0x5,_0xa52f76(_0x340bb0)),A(0x6,_0xa52f76(z)),A(0x7,_0x18a422),A(0x8,_0x5268cc),A(0x9,_0x6c5e45),A(0xa,_0x196f01)],Te);let me=class extends $e{constructor(_0x2d9e33,_0x2b4233,_0x2cf323,_0x138d3b,_0x333cb6,_0x5b6f5b,_0x1e5cb2,_0x90c4ea,_0x18a87f,_0x4b235f,_0x4f5714,_0x141564,_0x5956c0){const _0x74c6ef=_0x112848;super(_0x2d9e33,_0x2b4233,_0x2cf323,_0x138d3b,_0x333cb6,_0x4b235f,_0x5956c0,_0x90c4ea,_0x18a87f),g(this,_0x74c6ef(0x5ea),_0x74c6ef(0x48e)),g(this,_0x74c6ef(0x466),0x0),g(this,_0x74c6ef(0x3b7)),g(this,_0x74c6ef(0x205)),(this[_0x74c6ef(0x382)]=_0x1e5cb2,this['_logService']=_0x4f5714,this['_transformService']=_0x141564,_0x5b6f5b&&(this['_resendTimer']=_0x5b6f5b,this[_0x74c6ef(0x205)]=this[_0x74c6ef(0x3b7)][_0x74c6ef(0x4f8)](({reqId:_0x41467e,timeout:_0x18082c})=>{const _0x5a61ac=_0x74c6ef;this[_0x5a61ac(0x3cd)](_0x41467e,_0x18082c);})));}['appendMutation'](_0x598148){const _0x469a79=_0x112848;return this[_0x469a79(0x46d)][_0x469a79(0x2aa)](_0x598148),this;}[_0x112848(0x208)](_0x9ffe92){const _0x252fe9=_0x112848;if(this[_0x252fe9(0x359)](_0x9ffe92))return this['_clearScheduledTask'](),this['_injector'][_0x252fe9(0x4d8)](ce,this[_0x252fe9(0x5e0)],this[_0x252fe9(0x5b1)],this['_awaitingChangeset'],this[_0x252fe9(0x46d)],null,[_0x9ffe92],this[_0x252fe9(0x32e)]);try{const _0x23e7ff=this[_0x252fe9(0x59f)][_0x252fe9(0x31f)]([_0x9ffe92],[this['_awaitingChangeset']],!0x1);if(_0x288a08(_0x23e7ff)){const {c1Prime:_0x53cac6,c2Prime:_0x39439b}=_0x23e7ff,_0x638dad=this['_transformService']['transformMutationsWithChangeset'](_0x53cac6[0x0],this['_pendingMutations']);if(_0x4f22a8(_0x638dad)){const {c1Prime:_0x2254b7,m2Prime:_0x5da248}=_0x638dad;return this[_0x252fe9(0x4e6)](_0x2254b7),_0x39439b[0x0]['baseRev']=this[_0x252fe9(0x5c3)](),this[_0x252fe9(0x250)](),this['_injector'][_0x252fe9(0x4d8)](me,this[_0x252fe9(0x5e0)],this[_0x252fe9(0x5b1)],_0x39439b[0x0],_0x5da248,this[_0x252fe9(0x32e)],void 0x0);}throw _0x638dad[_0x252fe9(0x3b9)];}throw _0x23e7ff['error'];}catch(_0xf6af32){return this[_0x252fe9(0x2bf)][_0x252fe9(0x3b9)](_0xf6af32),this[_0x252fe9(0x559)](!0x1);}}[_0x112848(0x3d9)](_0x4cd351){const _0x3dd49e=_0x112848;if(this[_0x3dd49e(0x250)](),this['_checkMissing'](_0x4cd351))return this['_injector'][_0x3dd49e(0x4d8)](ce,this[_0x3dd49e(0x5e0)],this[_0x3dd49e(0x5b1)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x3dd49e(0x32e)]);this[_0x3dd49e(0x271)]();const _0x58dd67=this[_0x3dd49e(0x382)]['createInstance'](pe,this[_0x3dd49e(0x5e0)],this[_0x3dd49e(0x5b1)],this[_0x3dd49e(0x46d)],this[_0x3dd49e(0x32e)]);return _0x58dd67[_0x3dd49e(0x285)](),_0x58dd67['_updateLocalCache'](),_0x58dd67;}[_0x112848(0x265)](_0x523186){const _0x36973a=_0x112848;return this[_0x36973a(0x559)](!!(_0x523186!=null&&_0x523186['isPermissionRej']));}[_0x112848(0x275)](_0x3d3cc5){const _0x240ed1=_0x112848;return this[_0x240ed1(0x466)]>zi?this['toggleOffline']():(this['_resendTimer']=qi(this['_resendTimeout'],{'timeout':this[_0x240ed1(0x466)],'reqId':_0x3d3cc5[_0x240ed1(0x5f7)]}),this[_0x240ed1(0x205)]=this[_0x240ed1(0x3b7)][_0x240ed1(0x4f8)](({reqId:_0x40c5d3,timeout:_0x1d4751})=>{const _0x442584=_0x240ed1;this[_0x442584(0x3cd)](_0x40c5d3,_0x1d4751);}),this);}[_0x112848(0x4f3)](){const _0x5aa161=_0x112848;return this['_clearScheduledTask'](),this[_0x5aa161(0x382)][_0x5aa161(0x4d8)](Oe,this[_0x5aa161(0x5e0)],this[_0x5aa161(0x5b1)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x5aa161(0x32e)]);}[_0x112848(0x57f)](){return this;}[_0x112848(0x5ac)](){const _0x1073f2=_0x112848;this[_0x1073f2(0x32e)][_0x1073f2(0x5c5)](this[_0x1073f2(0x445)]);}[_0x112848(0x559)](_0x52c347){const _0xc92ca7=_0x112848;return this[_0xc92ca7(0x250)](),this[_0xc92ca7(0x382)][_0xc92ca7(0x4d8)](Re,this['unitID'],this[_0xc92ca7(0x5b1)],null,this[_0xc92ca7(0x46d)],this[_0xc92ca7(0x32e)],_0x52c347);}[_0x112848(0x3cd)](_0x171196,_0x391add){const _0x126d26=_0x112848;var _0x9a7ae;_0x171196===((_0x9a7ae=this['_awaitingChangeset'])==null?void 0x0:_0x9a7ae['reqId'])&&(this['resend'](),this[_0x126d26(0x466)]=_0x391add===0x0?0x3e8:_0x391add*0x2);}[_0x112848(0x250)](){const _0x268019=_0x112848;var _0x1f20d4;(_0x1f20d4=this[_0x268019(0x205)])==null||_0x1f20d4[_0x268019(0x1f8)](),this[_0x268019(0x466)]=0x0;}};me=Le([A(0x6,_0xa52f76(_0x2e5136)),A(0x7,_0xa52f76(_0x340bb0)),A(0x8,_0xa52f76(z)),A(0x9,_0x18a422),A(0xa,_0x5268cc),A(0xb,_0x6c5e45),A(0xc,_0x196f01)],me);let Re=class extends $e{constructor(_0xfd9c27,_0x110e66,_0x3cdd38,_0x26623e,_0xf8a8d1,_0xf364bc=!0x1,_0x35ad86,_0x26b9a7,_0x202a94,_0x350c03,_0x3f3f63,_0x53ba42,_0x351424){const _0x2068ca=_0x112848;super(_0xfd9c27,_0x110e66,_0x3cdd38,_0x26623e,_0xf8a8d1,_0x26b9a7,_0x202a94,_0x3f3f63,_0x350c03),g(this,_0x2068ca(0x5ea),_0x2068ca(0x2c0)),(this[_0x2068ca(0x226)]=_0xf364bc,this[_0x2068ca(0x52f)]=_0x35ad86,this[_0x2068ca(0x491)]=_0x53ba42,this['_notificationService']=_0x351424,this[_0x2068ca(0x471)](),this['_clearLocalCache'](),this[_0x2068ca(0x21c)]());}[_0x112848(0x3de)](){return this;}[_0x112848(0x208)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x112848(0x275)](){return this;}[_0x112848(0x4f3)](){return this;}[_0x112848(0x57f)](){return this;}[_0x112848(0x5ac)](){const _0x5488fe=_0x112848;throw new Error(_0x5488fe(0x395));}['_clearLocalCache'](){const _0x122910=_0x112848;this['_localCacheService'][_0x122910(0x601)](this[_0x122910(0x5e0)],this[_0x122910(0x5b1)],null,[]);}[_0x112848(0x471)](){const _0x5620e5=_0x112848;this[_0x5620e5(0x226)]?this['_notificationService'][_0x5620e5(0x501)]({'title':this[_0x5620e5(0x491)]['t'](_0x5620e5(0x57a)),'content':this[_0x5620e5(0x491)]['t'](_0x5620e5(0x452)),'type':_0x5620e5(0x3b9),'duration':0x0}):this['_notificationService'][_0x5620e5(0x501)]({'title':this[_0x5620e5(0x491)]['t'](_0x5620e5(0x5dc)),'content':this[_0x5620e5(0x491)]['t'](_0x5620e5(0x2fc)),'type':_0x5620e5(0x3b9),'duration':0x0});}[_0x112848(0x21c)](){const _0x17c451=_0x112848;this[_0x17c451(0x52f)][_0x17c451(0x615)](new _0x1454cb(this[_0x17c451(0x5e0)])['id'],!0x1);}};Re=Le([A(0x6,_0xa52f76(_0x5607d9)),A(0x7,_0x18a422),A(0x8,_0x196f01),A(0x9,_0xa52f76(z)),A(0xa,_0xa52f76(_0x340bb0)),A(0xb,_0xa52f76(_0x316ab9)),A(0xc,_0x30ba66)],Re);let Oe=class extends $e{constructor(_0x1cebbb,_0x1c2b9f,_0x15afde,_0x373f79,_0x1f80a9,_0x4384b6,_0x2704f4,_0x3ff997,_0x1ebfcc,_0x22407d){const _0x38a706=_0x112848;super(_0x1cebbb,_0x1c2b9f,_0x15afde,_0x373f79,_0x1f80a9,_0x1ebfcc,_0x22407d,_0x2704f4,_0x3ff997),g(this,_0x38a706(0x5ea),_0x38a706(0x462)),this[_0x38a706(0x382)]=_0x4384b6;}['appendMutation'](_0x2aed6a){const _0x11b2a4=_0x112848;return this[_0x11b2a4(0x46d)]['push'](_0x2aed6a),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x1eacce){const _0x1b8923=_0x112848;throw new Error(_0x1b8923(0x3ac));}[_0x112848(0x3d9)](){const _0x32cbde=_0x112848;throw new Error(_0x32cbde(0x2bc));}[_0x112848(0x265)](){const _0x3b0e6a=_0x112848;throw new Error(_0x3b0e6a(0x4db));}[_0x112848(0x275)](){return this;}[_0x112848(0x4f3)](){return this;}[_0x112848(0x57f)](){const _0x53b99c=_0x112848,{_injector:_0x2ea5e2,_pendingMutations:_0x1454bd,_awaitingChangeset:_0x23861b,unitID:_0x135177,_handler:_0x5d82d0,type:_0x4516c0}=this,_0x445039=Xi(_0x2ea5e2,_0x135177,_0x4516c0,_0x23861b,_0x1454bd,_0x5d82d0);return _0x445039 instanceof pe?_0x445039[_0x53b99c(0x285)]():(_0x445039 instanceof me||_0x445039 instanceof Te)&&_0x445039[_0x53b99c(0x5ac)](),_0x445039;}[_0x112848(0x5ac)](){const _0xe5e56=_0x112848;throw new Error(_0xe5e56(0x280));}};Oe=Le([A(0x5,_0xa52f76(_0x2e5136)),A(0x6,_0xa52f76(_0x340bb0)),A(0x7,_0xa52f76(z)),A(0x8,_0x18a422),A(0x9,_0x196f01)],Oe);let ce=class extends $e{constructor(_0x3a7f98,_0x2f3650,_0x493283,_0x534124,_0x463d53,_0x1b804a,_0x231709,_0x15bdec,_0x548527,_0x4609fb,_0x4692bd,_0x19e113,_0x225fbb,_0x58a309){const _0x2f20a8=_0x112848;super(_0x3a7f98,_0x2f3650,_0x493283,_0x534124,_0x231709,_0x19e113,_0x225fbb,_0x548527,_0x4609fb),g(this,_0x2f20a8(0x5ea),_0x2f20a8(0x449)),(this['_acknowledgedAwaitingChangeset']=_0x463d53,this[_0x2f20a8(0x20f)]=_0x1b804a,this['_injector']=_0x15bdec,this['_logService']=_0x4692bd,this[_0x2f20a8(0x59f)]=_0x58a309);}[_0x112848(0x4b9)](_0x3cc9f4){const _0x262640=_0x112848;try{const _0x2cd22b=[..._0x3cc9f4,...this[_0x262640(0x20f)]],_0x1dfb83=[this[_0x262640(0x445)]||this[_0x262640(0x53f)]][_0x262640(0x482)](_0x36faf5=>!!_0x36faf5);let _0x2c0299,_0x348a24;if(_0x1dfb83[_0x262640(0x2c7)]){const _0x56e1ca=this[_0x262640(0x59f)][_0x262640(0x31f)](_0x2cd22b,_0x1dfb83,!0x1);if(!_0x288a08(_0x56e1ca))throw _0x56e1ca[_0x262640(0x3b9)];_0x2c0299=_0x56e1ca[_0x262640(0x2c8)],_0x348a24=_0x56e1ca[_0x262640(0x2b3)];}else _0x2c0299=_0x2cd22b,_0x348a24=[];let _0x501ecf=this[_0x262640(0x46d)];_0x2c0299[_0x262640(0x209)](_0x27d297=>{const _0x15a9b6=_0x262640;let _0x49cdd7;if(_0x501ecf[_0x15a9b6(0x2c7)]){const _0x2cd7d6=this['_transformService']['transformMutationsWithChangeset'](_0x27d297,_0x501ecf);if(!_0x4f22a8(_0x2cd7d6))throw _0x2cd7d6[_0x15a9b6(0x3b9)];_0x49cdd7=_0x2cd7d6[_0x15a9b6(0x2c8)],_0x501ecf=_0x2cd7d6[_0x15a9b6(0x553)];}else _0x49cdd7=_0x27d297;this[_0x15a9b6(0x4e6)](_0x49cdd7);}),this[_0x262640(0x53f)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x348a24['length']&&(_0x348a24[0x0][_0x262640(0x43b)]=this['_getCurrentRevision']());let _0x33cd78;if(this[_0x262640(0x445)]&&_0x501ecf[_0x262640(0x2c7)]!==0x0)_0x33cd78=this[_0x262640(0x382)]['createInstance'](me,this['unitID'],this[_0x262640(0x5b1)],_0x348a24[0x0],_0x501ecf,this[_0x262640(0x32e)],void 0x0);else{if(this[_0x262640(0x445)]&&_0x501ecf['length']===0x0)_0x348a24[0x0][_0x262640(0x43b)]=this[_0x262640(0x5c3)](),_0x33cd78=this[_0x262640(0x382)][_0x262640(0x4d8)](Te,this[_0x262640(0x5e0)],this[_0x262640(0x5b1)],_0x348a24[0x0],this['_handler']);else{if(_0x501ecf['length']!==0x0){const _0x445c09=this[_0x262640(0x382)][_0x262640(0x4d8)](pe,this[_0x262640(0x5e0)],this['type'],_0x501ecf,this[_0x262640(0x32e)]);_0x445c09[_0x262640(0x285)](),_0x33cd78=_0x445c09;}else _0x33cd78=this['_injector'][_0x262640(0x4d8)](We,this[_0x262640(0x5e0)],this[_0x262640(0x5b1)],this[_0x262640(0x32e)]);}}return _0x33cd78[_0x262640(0x5d1)](),_0x33cd78;}catch(_0xc3c13e){return this[_0x262640(0x2bf)]['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0xc3c13e),this[_0x262640(0x382)][_0x262640(0x4d8)](Re,this[_0x262640(0x5e0)],this[_0x262640(0x5b1)],this[_0x262640(0x445)],this[_0x262640(0x46d)],this[_0x262640(0x32e)],!0x1);}}[_0x112848(0x5ac)](){const _0x26fa9d=_0x112848;throw new Error(_0x26fa9d(0x348));}['appendMutation'](_0x190f19){const _0x8e253d=_0x112848;return this[_0x8e253d(0x46d)][_0x8e253d(0x2aa)](_0x190f19),this;}['onRemoteChangeset'](_0x3b4e08){const _0x637462=_0x112848;return this['_queuedRemoteChangesets'][_0x637462(0x2aa)](_0x3b4e08),this;}[_0x112848(0x3d9)](_0x71aabc){const _0x4706fa=_0x112848;if(this['_awaitingChangeset'])return this[_0x4706fa(0x53f)]=this[_0x4706fa(0x445)],this['_awaitingChangeset']=null,this;throw new Error(_0x4706fa(0x58b));}[_0x112848(0x265)](_0x33c957){const _0x5eecd2=_0x112848;return this[_0x5eecd2(0x559)](!!(_0x33c957!=null&&_0x33c957[_0x5eecd2(0x3a4)]));}['onRemoteRetry'](){return this;}[_0x112848(0x4f3)](){const _0x11dbbf=_0x112848;return this[_0x11dbbf(0x382)][_0x11dbbf(0x4d8)](Oe,this[_0x11dbbf(0x5e0)],this['type'],this[_0x11dbbf(0x445)],this[_0x11dbbf(0x46d)],this[_0x11dbbf(0x32e)]);}[_0x112848(0x57f)](){return this;}[_0x112848(0x559)](_0x14b7bd){const _0x3317fe=_0x112848;return this[_0x3317fe(0x382)][_0x3317fe(0x4d8)](Re,this[_0x3317fe(0x5e0)],this[_0x3317fe(0x5b1)],this[_0x3317fe(0x445)],this['_pendingMutations'],this[_0x3317fe(0x32e)],_0x14b7bd);}};ce=Le([A(0x7,_0xa52f76(_0x2e5136)),A(0x8,_0xa52f76(_0x340bb0)),A(0x9,_0xa52f76(z)),A(0xa,_0x5268cc),A(0xb,_0x18a422),A(0xc,_0x196f01),A(0xd,_0x6c5e45)],ce);function Xi(_0x256236,_0x53e2ae,_0x52128,_0x4ae8fc,_0x271c24,_0x3264a0){const _0x39aacc=_0x112848;return _0x4ae8fc&&_0x271c24[_0x39aacc(0x2c7)]?_0x256236[_0x39aacc(0x4d8)](me,_0x53e2ae,_0x52128,_0x4ae8fc,_0x271c24,_0x3264a0,void 0x0):_0x4ae8fc?_0x256236[_0x39aacc(0x4d8)](Te,_0x53e2ae,_0x52128,_0x4ae8fc,_0x3264a0):_0x271c24[_0x39aacc(0x2c7)]?_0x256236[_0x39aacc(0x4d8)](pe,_0x53e2ae,_0x52128,_0x271c24,_0x3264a0):_0x256236[_0x39aacc(0x4d8)](We,_0x53e2ae,_0x52128,_0x3264a0);}var Ao=Object[_0x112848(0x47b)],Mo=Object[_0x112848(0x331)],Ps=(_0x386261,_0x54f7d2,_0x538390,_0x227ab0)=>{const _0x32690c=_0x112848;for(var _0x25d6a0=_0x227ab0>0x1?void 0x0:_0x227ab0?Mo(_0x54f7d2,_0x538390):_0x54f7d2,_0x20916a=_0x386261[_0x32690c(0x2c7)]-0x1,_0x684984;_0x20916a>=0x0;_0x20916a--)(_0x684984=_0x386261[_0x20916a])&&(_0x25d6a0=(_0x227ab0?_0x684984(_0x54f7d2,_0x538390,_0x25d6a0):_0x684984(_0x25d6a0))||_0x25d6a0);return _0x227ab0&&_0x25d6a0&&Ao(_0x54f7d2,_0x538390,_0x25d6a0),_0x25d6a0;},H=(_0x545cfc,_0x187e95)=>(_0x5df04a,_0x5e815d)=>_0x187e95(_0x5df04a,_0x5e815d,_0x545cfc);let Pt=class extends _0x40c6c0{constructor(_0x198eb3,_0x34dfae,_0x148162,_0x499523,_0x26668d,_0x42765a,_0xe757b8,_0x3e890c,_0x4e5865,_0x4a4a9d,_0xc7b955,_0x3251ba,_0xb3e7cb){const _0xd88041=_0x112848;super(),g(this,_0xd88041(0x430),new _0x1c751f(null)),g(this,_0xd88041(0x589),this[_0xd88041(0x430)][_0xd88041(0x606)]()),g(this,_0xd88041(0x374)),g(this,_0xd88041(0x4d6),!0x1),g(this,_0xd88041(0x3a6),''),g(this,'_changesetReqId',0x0),g(this,'status$',this[_0xd88041(0x589)][_0xd88041(0x529)](_0x396b6b(_0x27b338=>_0x27b338?_0x27b338[_0xd88041(0x5ea)]:J['OFFLINE']),_0x4f483e(0x1))),g(this,_0xd88041(0x1f3),!0x1),g(this,_0xd88041(0x37e),[]),(this[_0xd88041(0x5e0)]=_0x198eb3,this[_0xd88041(0x5a2)]=_0x34dfae,this[_0xd88041(0x248)]=_0x148162,this[_0xd88041(0x382)]=_0x499523,this[_0xd88041(0x3fa)]=_0x26668d,this[_0xd88041(0x4dd)]=_0x42765a,this[_0xd88041(0x491)]=_0xe757b8,this['_revisionService']=_0x3e890c,this['_logService']=_0x4e5865,this[_0xd88041(0x4f1)]=_0x4a4a9d,this[_0xd88041(0x611)]=_0xc7b955,this[_0xd88041(0x52f)]=_0x3251ba,this[_0xd88041(0x3bb)]=_0xb3e7cb);}get['state'](){const _0x215daa=_0x112848;return this[_0x215daa(0x374)];}async[_0x112848(0x460)](){const _0x5d0b1b=_0x112848;if(this[_0x5d0b1b(0x2fa)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x5d0b1b(0x52b)]();}[_0x112848(0x52d)](){const _0xd69eb2=_0x112848;return this[_0xd69eb2(0x4d6)]=!0x0,_0x1eb786(()=>{const _0x458602=_0xd69eb2;this[_0x458602(0x4d6)]=!0x1,this[_0x458602(0x4f0)]();});}[_0x112848(0x572)](_0x5e68ea){const _0x5e90f9=_0x112848;this[_0x5e90f9(0x374)]=_0x5e68ea,this[_0x5e90f9(0x430)][_0x5e90f9(0x53a)](_0x5e68ea);}async[_0x112848(0x52b)](){const _0x3d1622=_0x112848;var _0x1205b;this[_0x3d1622(0x572)](await this['_createInitialState']()),this[_0x3d1622(0x3bb)]&&((_0x1205b=this[_0x3d1622(0x3bb)])==null||_0x1205b[_0x3d1622(0x392)](this[_0x3d1622(0x5e0)]),this[_0x3d1622(0x29e)](this[_0x3d1622(0x3bb)]['getUnitStatus$'](this[_0x3d1622(0x5e0)])[_0x3d1622(0x4f8)](_0x3df2da=>{const _0x3c420e=_0x3d1622;this[_0x3c420e(0x2bf)][_0x3c420e(0x234)](_0x3c420e(0x4a6),_0x3c420e(0x4be),_0x3df2da),_0x3df2da===Yi[_0x3c420e(0x36e)]?(this['_messageService']['show']({'content':this[_0x3c420e(0x491)]['t'](_0x3c420e(0x30a)),'type':_0x52ad10[_0x3c420e(0x350)]}),this['_permissionService']['updatePermissionPoint'](new _0x1454cb(this[_0x3c420e(0x5e0)])['id'],!0x1),this[_0x3c420e(0x52f)][_0x3c420e(0x5d3)](!0x1)):(this[_0x3c420e(0x52f)]['updatePermissionPoint'](new _0x1454cb(this['unitID'])['id'],!0x0),this[_0x3c420e(0x52f)][_0x3c420e(0x5d3)](!0x0));})));let _0x29e57b=!0x1;return this[_0x3d1622(0x29e)](this[_0x3d1622(0x5a2)][_0x3d1622(0x29d)][_0x3d1622(0x4f8)](_0x7f456a=>{const _0x1cbeae=_0x3d1622;_0x7f456a===fe['ONLINE']?this['_toggleOnline'](_0x29e57b):_0x7f456a===fe[_0x1cbeae(0x2c9)]&&(_0x29e57b=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x3d1622(0x5a2)]['event$']['subscribe'](_0x3579ca=>{const _0x3f4f6b=_0x3d1622;try{switch(_0x3579ca[_0x3f4f6b(0x585)]){case _0x18493d['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x231171(_0x3579ca[_0x3f4f6b(0x600)]));break;}case _0x18493d[_0x3f4f6b(0x3a1)]:{this['_onRemoteACK'](_0x3579ca[_0x3f4f6b(0x600)]);break;}case _0x18493d[_0x3f4f6b(0x46a)]:{this['_onRemoteRejected']();break;}case _0x18493d['CHANGESET_SHOULD_RETRY']:{this[_0x3f4f6b(0x4b3)](_0x3579ca[_0x3f4f6b(0x600)]);break;}case _0x18493d[_0x3f4f6b(0x23a)]:{this[_0x3f4f6b(0x4d9)](_0x3579ca[_0x3f4f6b(0x600)][_0x3f4f6b(0x247)][_0x3f4f6b(0x400)](_0x2ff610=>_0x231171(_0x2ff610)));break;}case _0x18493d['PERMISSION_REJ']:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x337c37){throw console[_0x3f4f6b(0x3b9)](_0x3f4f6b(0x22f),_0x337c37),_0x337c37;}})),this[_0x3d1622(0x374)];}[_0x112848(0x4e5)](){this['_transitionLocked']=!0x1;}[_0x112848(0x52a)](){const _0x5bfe9d=_0x112848;if(this[_0x5bfe9d(0x1f3)])throw new Error('[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.');this[_0x5bfe9d(0x1f3)]=!0x0;}[_0x112848(0x2e0)](_0x36c178){const _0x2a8043=_0x112848;this[_0x2a8043(0x52a)](),this[_0x2a8043(0x572)](this[_0x2a8043(0x374)]['appendMutation'](_0x36c178)),this[_0x2a8043(0x4e5)]();}[_0x112848(0x472)](_0x4ea2d0){const _0x5b3363=_0x112848;if(!(_0x4ea2d0[_0x5b3363(0x5e4)]<=this[_0x5b3363(0x410)][_0x5b3363(0x404)](this[_0x5b3363(0x5e0)]))){if(this[_0x5b3363(0x4d6)]){this[_0x5b3363(0x37e)][_0x5b3363(0x2aa)](_0x4ea2d0);return;}this[_0x5b3363(0x45b)](_0x4ea2d0);}}['_exhaustRemoteChangesetQueue'](){const _0x5eab90=_0x112848;this[_0x5eab90(0x37e)][_0x5eab90(0x209)](_0x39985f=>this['_applyRemoteChangeset'](_0x39985f)),this[_0x5eab90(0x37e)]=[];}[_0x112848(0x45b)](_0x404230){const _0x3aa142=_0x112848,_0x36a588=this[_0x3aa142(0x4dd)][_0x3aa142(0x5ab)][_0x3aa142(0x4d4)](this[_0x3aa142(0x4dd)][_0x3aa142(0x5ab)][_0x3aa142(0x5b8)]()[_0x3aa142(0x436)])(_0x404230[_0x3aa142(0x3c0)],null)||_0x404230['mutations'],_0xf2e8a={..._0x404230,'mutations':_0x36a588};this[_0x3aa142(0x52a)](),this[_0x3aa142(0x572)](this['_state'][_0x3aa142(0x208)](_0xf2e8a)),this[_0x3aa142(0x4e5)]();}[_0x112848(0x3c4)](_0x45d803){const _0x352bb0=_0x112848;this['_lockTransition'](),this['_updateState'](this[_0x352bb0(0x374)]['onRemoteAck'](_0x45d803)),this['_unlockTransition']();}[_0x112848(0x29b)](_0x371d90){const _0x5280ee=_0x112848;this[_0x5280ee(0x52a)](),this['_updateState'](this[_0x5280ee(0x374)][_0x5280ee(0x265)](_0x371d90)),this[_0x5280ee(0x4e5)]();}['_onRemoteRetry'](_0x184616){const _0xb03629=_0x112848;this[_0xb03629(0x52a)](),this[_0xb03629(0x572)](this[_0xb03629(0x374)][_0xb03629(0x275)](_0x184616)),this['_unlockTransition']();}[_0x112848(0x4d9)](_0x2b95bb){const _0x58ce6e=_0x112848;if(!(this[_0x58ce6e(0x374)]instanceof ce))throw new TypeError(_0x58ce6e(0x23e));const _0x405687=_0x2b95bb[_0x58ce6e(0x400)](_0x138285=>{const _0xf0488f=_0x58ce6e,_0x5bbae8=this[_0xf0488f(0x4dd)][_0xf0488f(0x5ab)]['fetchThroughInterceptors'](this[_0xf0488f(0x4dd)]['interceptor'][_0xf0488f(0x5b8)]()[_0xf0488f(0x436)])(_0x138285['mutations'],null)||_0x138285[_0xf0488f(0x3c0)];return{..._0x138285,'mutations':_0x5bbae8};});this[_0x58ce6e(0x52a)](),this['_updateState'](this['_state'][_0x58ce6e(0x4b9)](_0x405687)),this[_0x58ce6e(0x4e5)]();}['_toggleOffline'](){const _0x34e6a2=_0x112848;this[_0x34e6a2(0x52a)](),this[_0x34e6a2(0x572)](this[_0x34e6a2(0x374)][_0x34e6a2(0x4f3)]()),this[_0x34e6a2(0x4e5)]();}[_0x112848(0x2da)](_0x34de55=!0x1){const _0x534dae=_0x112848;this[_0x534dae(0x52a)](),this[_0x534dae(0x572)](this[_0x534dae(0x374)][_0x534dae(0x57f)]()),this['_unlockTransition']();const _0x30feab=this['_state'];_0x34de55&&_0x30feab instanceof We&&(this[_0x534dae(0x52a)](),this['_updateState'](_0x30feab[_0x534dae(0x25d)]()),this['_unlockTransition']());}async[_0x112848(0x558)](){return new Promise(_0xa44e48=>{const _0x1f92b0=_0x5808;this[_0x1f92b0(0x5a2)]['sessionStatus$'][_0x1f92b0(0x529)](_0x54b287(0x1))['subscribe'](async _0x558533=>{const _0x26e55b=_0x1f92b0;_0xa44e48(await this[_0x26e55b(0x2ac)](_0x558533===fe[_0x26e55b(0x4e2)]));});});}[_0x112848(0x5a6)](){const _0x7a3bb3=_0x112848,_0xd4607d=this[_0x7a3bb3(0x5e0)];return{'onStateChange':(_0x10af81,_0x5ad8fe)=>{const _0x5a8e80=_0x7a3bb3;if(_0x10af81!==this[_0x5a8e80(0x374)])throw new Error(_0x5a8e80(0x272)+_0x10af81[_0x5a8e80(0x5ea)]+'\x0aAfter:\x20'+_0x5ad8fe[_0x5a8e80(0x5ea)]+'\x0aCurrent:\x20'+this[_0x5a8e80(0x374)][_0x5a8e80(0x5ea)]);this[_0x5a8e80(0x572)](_0x5ad8fe);},'onSendChangeset':_0x3c0202=>{const _0x5affe0=_0x7a3bb3;_0x3c0202[_0x5affe0(0x551)]||(_0x3c0202[_0x5affe0(0x551)]=this['_changesetSessionId'],_0x3c0202[_0x5affe0(0x5f7)]=++this[_0x5affe0(0x3b2)]);const _0x11be55={'eventID':_0x18493d['SUBMIT_CHANGESET'],'data':{'unitID':_0x3c0202['unitID'],'unitType':this['_type'],'changeset':_0x3c0202,'memberID':this[_0x5affe0(0x5a2)][_0x5affe0(0x22d)]()}};this['session'][_0x5affe0(0x523)](_0x11be55,this['unitID']);},'onMissingChangesets':({from:_0x53b3a3,to:_0xb7e061})=>{const _0x59d83f=_0x7a3bb3;this[_0x59d83f(0x2bf)]['debug'](_0x59d83f(0x4a6),_0x59d83f(0x4e8)+_0x53b3a3+_0x59d83f(0x58c)+_0xb7e061);const _0xf8a8ac={'eventID':_0x18493d[_0x59d83f(0x215)],'data':{'unitID':_0xd4607d,'unitType':this[_0x59d83f(0x248)],'from':_0x53b3a3,'to':_0xb7e061}};this[_0x59d83f(0x5a2)][_0x59d83f(0x523)](_0xf8a8ac,this[_0x59d83f(0x5e0)]);}};}async['_createInitialStateImpl'](_0x4ea719){const _0x179bad=_0x112848;var _0x1b5539,_0x665bee;const _0x4df64d=await this[_0x179bad(0x3fa)][_0x179bad(0x444)](this[_0x179bad(0x5e0)]),_0x381aa3=(_0x1b5539=_0x4df64d==null?void 0x0:_0x4df64d['mutations'])!=null?_0x1b5539:[],_0xac1a29=(_0x665bee=_0x4df64d==null?void 0x0:_0x4df64d[_0x179bad(0x330)])!=null?_0x665bee:null,_0x350d97=!!(_0xac1a29!=null&&_0xac1a29['sid'])&&!!(_0xac1a29!=null&&_0xac1a29[_0x179bad(0x5f7)]);this['_changesetSessionId']=_0x350d97?_0xac1a29[_0x179bad(0x551)]:co(),this['_changesetReqId']=_0x350d97?_0xac1a29[_0x179bad(0x5f7)]:0x0;const _0x314884=this[_0x179bad(0x5e0)];try{this[_0x179bad(0x1f9)](_0xac1a29,_0x381aa3);}catch(_0x426313){this[_0x179bad(0x2bf)][_0x179bad(0x3b9)](_0x426313);}const _0x4384ed=this[_0x179bad(0x5a6)]();if(_0x4ea719){const _0x4ece7c=Xi(this[_0x179bad(0x382)],_0x314884,this[_0x179bad(0x248)],_0xac1a29,_0x381aa3,_0x4384ed);return _0x4ece7c instanceof pe?_0x4ece7c[_0x179bad(0x285)]():(_0x4ece7c instanceof me||_0x4ece7c instanceof Te)&&_0x4ece7c[_0x179bad(0x5ac)](),_0x4ece7c;}return this[_0x179bad(0x382)][_0x179bad(0x4d8)](Oe,_0x314884,this['_type'],_0xac1a29,_0x381aa3,_0x4384ed);}['_replayCachedMutations'](_0xd7fbf4,_0x1bd309){const _0x31820d=_0x112848;var _0x36598b,_0x744920;const _0x444b44=this['_compressMutationService'][_0x31820d(0x5ab)][_0x31820d(0x4d4)](this[_0x31820d(0x4dd)][_0x31820d(0x5ab)][_0x31820d(0x5b8)]()[_0x31820d(0x436)]);(_0x36598b=_0x444b44((_0xd7fbf4==null?void 0x0:_0xd7fbf4[_0x31820d(0x3c0)])||[],null))==null||_0x36598b[_0x31820d(0x209)](_0x2a2a3a=>this[_0x31820d(0x4f1)][_0x31820d(0x283)](_0x2a2a3a['id'],_0x2a2a3a[_0x31820d(0x256)])),(_0x744920=_0x444b44(_0x1bd309||[],null))==null||_0x744920['forEach'](_0xc64cca=>this[_0x31820d(0x4f1)]['executeCommand'](_0xc64cca['id'],_0xc64cca[_0x31820d(0x256)]));}};Pt=Ps([H(0x3,_0xa52f76(_0x2e5136)),H(0x4,_0xa52f76(z)),H(0x5,_0xa52f76(_0x56bdcd)),H(0x6,_0xa52f76(_0x316ab9)),H(0x7,_0xa52f76(_0x340bb0)),H(0x8,_0x5268cc),H(0x9,_0x18a422),H(0xa,_0x1a4116),H(0xb,_0x5607d9),H(0xc,_0x2fcc7a(Ht))],Pt);let hs=class extends Pt{constructor(_0x288370,_0x293680,_0x1f87e8,_0x15edff,_0x3515e8,_0x13bea9,_0x13b455,_0x39c3b7,_0x33b425,_0x38cf65,_0x55769b,_0xbd56b,_0x4ab44a,_0x171528,_0x3fb298,_0x183f6c,_0x1b56a0,_0x5ece02){const _0x2efab7=_0x112848;super(_0x288370,_0x1f87e8,_0x293680,_0x15edff,_0x3515e8,_0x13bea9,_0x13b455,_0x39c3b7,_0x171528,_0x3fb298,_0x183f6c,_0x1b56a0,_0x5ece02),this[_0x2efab7(0x5e0)]=_0x288370,this[_0x2efab7(0x5b1)]=_0x293680,this[_0x2efab7(0x4aa)]=_0x33b425,this[_0x2efab7(0x5bd)]=_0x38cf65,this[_0x2efab7(0x28a)]=_0x55769b,this['_docTransformSelectionsService']=_0xbd56b,this[_0x2efab7(0x607)]=_0x4ab44a;}[_0x112848(0x5a6)](){const _0x4c6898=_0x112848,_0x56376f=super[_0x4c6898(0x5a6)]();return _0x56376f[_0x4c6898(0x2ee)]=_0x29923d=>this[_0x4c6898(0x5bd)]['transformIMECache'](_0x29923d),_0x56376f[_0x4c6898(0x487)]=_0x407a6b=>this[_0x4c6898(0x28a)][_0x4c6898(0x4dc)](_0x407a6b),_0x56376f[_0x4c6898(0x258)]=_0x354c37=>this[_0x4c6898(0x3d1)]['transformSelections'](_0x354c37),_0x56376f[_0x4c6898(0x4de)]=_0x232f38=>this['_docSyncEditingCollabCursorService'][_0x4c6898(0x24b)](_0x232f38),_0x56376f['onTransformRemoteChangesetByIMECache']=_0x10c837=>this[_0x4c6898(0x5bd)][_0x4c6898(0x325)](_0x10c837),_0x56376f[_0x4c6898(0x5c7)]=_0x28e84a=>this[_0x4c6898(0x28a)][_0x4c6898(0x325)](_0x28e84a),_0x56376f;}async[_0x112848(0x52b)](){const _0x3cf5b0=_0x112848,_0x51f50a=await super[_0x3cf5b0(0x52b)]();return this['disposeWithMe'](this[_0x3cf5b0(0x4aa)][_0x3cf5b0(0x251)][_0x3cf5b0(0x529)](_0xb4b5bf(this[_0x3cf5b0(0x204)]))[_0x3cf5b0(0x4f8)](_0x2f3a34=>{const _0x43486d=_0x3cf5b0;if(_0x2f3a34==null)return;const {unitId:_0x5a3f4e,redoState:_0x14634e,commandId:_0x519e5b}=_0x2f3a34;if(_0x5a3f4e!==this[_0x43486d(0x5e0)])return;const _0x230be1={'id':_0x519e5b,'type':_0x4ffeff['MUTATION'],'params':{'unitId':_0x5a3f4e,'actions':_0x14634e['actions'],'textRanges':null}};this[_0x43486d(0x2e0)](_0x230be1);})),this[_0x3cf5b0(0x29e)](this[_0x3cf5b0(0x4f1)][_0x3cf5b0(0x2ef)]((_0x117718,_0x2ec065)=>{const _0x3f35b9=_0x3cf5b0;if(_0x117718[_0x3f35b9(0x5b1)]!==_0x4ffeff[_0x3f35b9(0x49b)]||_0x2ec065!=null&&_0x2ec065[_0x3f35b9(0x506)]||_0x2ec065!=null&&_0x2ec065[_0x3f35b9(0x345)]||_0x117718['id']===_0x32f6eb['id'])return;const _0x449bdf=_0x117718[_0x3f35b9(0x256)];if((_0x449bdf==null?void 0x0:_0x449bdf[_0x3f35b9(0x261)])!==this[_0x3f35b9(0x5e0)])return;const _0x402dea=_0x117718,_0x1c312c=this[_0x3f35b9(0x4dd)][_0x3f35b9(0x5ab)]['fetchThroughInterceptors'](this[_0x3f35b9(0x4dd)][_0x3f35b9(0x5ab)][_0x3f35b9(0x5b8)]()['COMPRESS_MUTATION_SEND'])([_0x402dea],null)||[_0x402dea];this[_0x3f35b9(0x2e0)](_0x1c312c[0x0]);})),_0x51f50a;}};hs=Ps([H(0x3,_0xa52f76(_0x2e5136)),H(0x4,_0xa52f76(z)),H(0x5,_0xa52f76(_0x56bdcd)),H(0x6,_0xa52f76(_0x316ab9)),H(0x7,_0xa52f76(_0x340bb0)),H(0x8,_0xa52f76(_0x40c526)),H(0x9,_0xa52f76(Ot)),H(0xa,_0xa52f76(wt)),H(0xb,_0xa52f76(Dt)),H(0xc,_0xa52f76(Ds)),H(0xd,_0x5268cc),H(0xe,_0x18a422),H(0xf,_0x1a4116),H(0x10,_0x5607d9),H(0x11,_0x2fcc7a(Ht))],hs);let ls=class extends Pt{constructor(_0x177ac1,_0x594bbc,_0x3e6097,_0x1ab8c5,_0x442985,_0x11ae46,_0x276f33,_0x52bfce,_0x290ad0,_0x56a19f,_0x242257,_0x2a31c8,_0x1ff468,_0x30683a){super(_0x177ac1,_0x3e6097,_0x594bbc,_0x1ab8c5,_0x442985,_0x11ae46,_0x276f33,_0x52bfce,_0x56a19f,_0x242257,_0x2a31c8,_0x1ff468,_0x30683a),this['unitID']=_0x177ac1,this['type']=_0x594bbc,this['_sheetTransformSelectionsService']=_0x290ad0;}[_0x112848(0x5a6)](){const _0x599cea=_0x112848,_0x342c28=super[_0x599cea(0x5a6)]();return _0x342c28[_0x599cea(0x258)]=_0x45fc1e=>this[_0x599cea(0x341)]['transformSelections'](_0x45fc1e),_0x342c28;}async[_0x112848(0x52b)](){const _0x601ea5=_0x112848,_0x3eb915=await super['_init']();return this['disposeWithMe'](this[_0x601ea5(0x4f1)]['onCommandExecuted']((_0x591e98,_0x181b84)=>{const _0x282475=_0x601ea5;if(_0x591e98[_0x282475(0x5b1)]!==_0x4ffeff[_0x282475(0x49b)]||_0x181b84!=null&&_0x181b84[_0x282475(0x506)]||_0x181b84!=null&&_0x181b84[_0x282475(0x345)])return;const _0x2d1503=_0x591e98[_0x282475(0x256)];if((_0x2d1503==null?void 0x0:_0x2d1503[_0x282475(0x261)])!==this[_0x282475(0x5e0)])return;const _0x41230e=_0x591e98,_0x2c6944=this['_compressMutationService']['interceptor'][_0x282475(0x4d4)](this['_compressMutationService'][_0x282475(0x5ab)][_0x282475(0x5b8)]()[_0x282475(0x20d)])([_0x41230e],null)||[_0x41230e];this[_0x282475(0x2e0)](_0x2c6944[0x0]);})),_0x3eb915;}};ls=Ps([H(0x3,_0xa52f76(_0x2e5136)),H(0x4,_0xa52f76(z)),H(0x5,_0xa52f76(_0x56bdcd)),H(0x6,_0xa52f76(_0x316ab9)),H(0x7,_0xa52f76(_0x340bb0)),H(0x8,_0xa52f76(yt)),H(0x9,_0x5268cc),H(0xa,_0x18a422),H(0xb,_0x1a4116),H(0xc,_0x5607d9),H(0xd,_0x2fcc7a(Ht))],ls);var xo=Object[_0x112848(0x47b)],Lo=Object[_0x112848(0x331)],$o=(_0x10ce9c,_0xf1b1d2,_0x18becf,_0x50c311)=>{const _0x33fbbf=_0x112848;for(var _0x1c7f60=_0x50c311>0x1?void 0x0:_0x50c311?Lo(_0xf1b1d2,_0x18becf):_0xf1b1d2,_0x3b0adb=_0x10ce9c[_0x33fbbf(0x2c7)]-0x1,_0x3c5155;_0x3b0adb>=0x0;_0x3b0adb--)(_0x3c5155=_0x10ce9c[_0x3b0adb])&&(_0x1c7f60=(_0x50c311?_0x3c5155(_0xf1b1d2,_0x18becf,_0x1c7f60):_0x3c5155(_0x1c7f60))||_0x1c7f60);return _0x50c311&&_0x1c7f60&&xo(_0xf1b1d2,_0x18becf,_0x1c7f60),_0x1c7f60;},qt=(_0x588586,_0x3ec7ea)=>(_0x347541,_0x30acc4)=>_0x3ec7ea(_0x347541,_0x30acc4,_0x588586);let it=class extends _0x40c6c0{constructor(_0x409153,_0xece5d,_0x4b55f0){const _0x1e25cc=_0x112848;super(),g(this,_0x1e25cc(0x3a2),new Map()),g(this,_0x1e25cc(0x23c),new _0x37f3d3()),(this[_0x1e25cc(0x382)]=_0x409153,this[_0x1e25cc(0x2b2)]=_0xece5d,this[_0x1e25cc(0x3ad)]=_0x4b55f0,this['_init']());}[_0x112848(0x298)](){const _0x1cdff6=_0x112848;super[_0x1cdff6(0x298)](),this[_0x1cdff6(0x3a2)][_0x1cdff6(0x209)](_0x4e1687=>_0x4e1687[_0x1cdff6(0x298)]()),this[_0x1cdff6(0x3a2)][_0x1cdff6(0x5a9)]();}[_0x112848(0x39f)](_0x69ca5f){const _0xc39b2b=_0x112848;var _0x5bfe5a;return(_0x5bfe5a=this[_0xc39b2b(0x3a2)][_0xc39b2b(0x4cd)](_0x69ca5f))!=null?_0x5bfe5a:null;}[_0x112848(0x5a0)](_0x233e79){const _0x4fee14=_0x112848,_0x2991f2=this[_0x4fee14(0x39f)](_0x233e79);return _0x2991f2?_0x3856a9(_0x2991f2):this[_0x4fee14(0x23c)][_0x4fee14(0x529)](_0x4c7b7d(_0x433406=>_0x433406[_0x4fee14(0x5e0)]===_0x233e79));}[_0x112848(0x52b)](){const _0x4ca4c7=_0x112848;this[_0x4ca4c7(0x3ad)]['getTypeOfUnitAdded$'](_0x3f1ceb[_0x4ca4c7(0x3f0)])[_0x4ca4c7(0x529)](_0xb4b5bf(this[_0x4ca4c7(0x204)]),_0x4a1906(0x10))[_0x4ca4c7(0x4f8)](async _0x41c1d8=>{const _0x3c3f0d=_0x4ca4c7,_0x429d23=_0x41c1d8['getUnitId'](),_0x2bbb92=await this['_startCollaboration'](_0x429d23,ae[_0x3c3f0d(0x3f0)]);this[_0x3c3f0d(0x3a2)][_0x3c3f0d(0x2ab)](_0x429d23,_0x2bbb92);}),this[_0x4ca4c7(0x3ad)][_0x4ca4c7(0x571)](_0x3f1ceb[_0x4ca4c7(0x538)])[_0x4ca4c7(0x529)](_0xb4b5bf(this['dispose$']),_0x4a1906(0x10))[_0x4ca4c7(0x529)](_0x4c7b7d(_0xdeba28=>!_0xdeba28['getUnitId']()[_0x4ca4c7(0x441)]('__')))[_0x4ca4c7(0x4f8)](async _0x389dd8=>{const _0x3ad2f0=_0x4ca4c7,_0xf04ab5=_0x389dd8['getUnitId'](),_0x247e70=await this[_0x3ad2f0(0x3ea)](_0xf04ab5,ae['UNIVER_DOC']);this[_0x3ad2f0(0x3a2)][_0x3ad2f0(0x2ab)](_0xf04ab5,_0x247e70);}),_0x566afd(this['_univerInstanceService'][_0x4ca4c7(0x524)](_0x3f1ceb[_0x4ca4c7(0x3f0)]),this[_0x4ca4c7(0x3ad)][_0x4ca4c7(0x524)](_0x3f1ceb[_0x4ca4c7(0x538)]))['pipe'](_0xb4b5bf(this[_0x4ca4c7(0x204)]))[_0x4ca4c7(0x4f8)](_0x2c77ff=>{const _0x2cd79a=_0x4ca4c7,_0x451a2d=_0x2c77ff[_0x2cd79a(0x579)](),_0x51db73=this['_entities']['get'](_0x451a2d);_0x51db73&&(_0x51db73[_0x2cd79a(0x298)](),this[_0x2cd79a(0x3a2)]['delete'](_0x451a2d));});}async[_0x112848(0x3ea)](_0x7bd627,_0x427b49){const _0x5e13ef=_0x112848,_0x35c54b=await this[_0x5e13ef(0x2b2)][_0x5e13ef(0x351)](_0x7bd627),_0x30d8b1=this[_0x5e13ef(0x382)]['createInstance'](this[_0x5e13ef(0x23b)](_0x427b49),_0x7bd627,_0x427b49,_0x35c54b);return await _0x30d8b1[_0x5e13ef(0x460)](),this[_0x5e13ef(0x23c)][_0x5e13ef(0x53a)](_0x30d8b1),_0x30d8b1;}[_0x112848(0x23b)](_0x2984bb){const _0x5642c9=_0x112848;switch(_0x2984bb){case ae[_0x5642c9(0x538)]:return hs;case ae[_0x5642c9(0x3f0)]:return ls;default:throw new Error(_0x5642c9(0x508)+_0x2984bb);}}};it=$o([qt(0x0,_0xa52f76(_0x2e5136)),qt(0x1,_0xa52f76(Me)),qt(0x2,_0x1efafe)],it);var Ho=Object[_0x112848(0x47b)],jo=Object[_0x112848(0x331)],Bo=(_0x4806b7,_0x5e1ab4,_0x2151a5,_0x3446b5)=>{const _0x528d33=_0x112848;for(var _0x80d2af=_0x3446b5>0x1?void 0x0:_0x3446b5?jo(_0x5e1ab4,_0x2151a5):_0x5e1ab4,_0x81f8b5=_0x4806b7[_0x528d33(0x2c7)]-0x1,_0xd4375c;_0x81f8b5>=0x0;_0x81f8b5--)(_0xd4375c=_0x4806b7[_0x81f8b5])&&(_0x80d2af=(_0x3446b5?_0xd4375c(_0x5e1ab4,_0x2151a5,_0x80d2af):_0xd4375c(_0x80d2af))||_0x80d2af);return _0x3446b5&&_0x80d2af&&Ho(_0x5e1ab4,_0x2151a5,_0x80d2af),_0x80d2af;},ei=(_0xaae417,_0x2958c8)=>(_0x418570,_0x4c07c0)=>_0x2958c8(_0x418570,_0x4c07c0,_0xaae417);let Ut=class extends _0x40c6c0{constructor(_0x5505de,_0x4ee7e6){const _0xa8d8c5=_0x112848;super(),this[_0xa8d8c5(0x42f)]=_0x5505de,this[_0xa8d8c5(0x33e)]=_0x4ee7e6,this['_init']();}[_0x112848(0x52b)](){const _0x1bd3ad=_0x112848,_0x5726ee=this;this[_0x1bd3ad(0x29e)](this[_0x1bd3ad(0x42f)][_0x1bd3ad(0x423)]({'onBeforePasteImage':async _0x38c974=>{const _0x26573a=_0x1bd3ad,_0x1509d2=await _0x5726ee['_imageIoService'][_0x26573a(0x54e)](_0x38c974);return _0x1509d2?{'source':_0x1509d2[_0x26573a(0x48a)],'imageSourceType':_0x1509d2['imageSourceType']}:null;}}));}};Ut=Bo([ei(0x0,_0x3d16a8),ei(0x1,_0x2c6ece)],Ut);const ti=[_0x112848(0x3da),_0x112848(0x43e),_0x112848(0x27d),_0x112848(0x60e),_0x112848(0x55a),_0x112848(0x424)];class Us extends _0x5c0223{constructor(){const _0x27399d=_0x112848;super(...arguments),g(this,_0x27399d(0x389),new Map()),g(this,_0x27399d(0x608),0x0);}[_0x112848(0x289)](_0x4e56f7){const _0x289f85=_0x112848;if(this[_0x289f85(0x389)][_0x289f85(0x543)](_0x4e56f7))return this[_0x289f85(0x389)][_0x289f85(0x4cd)](_0x4e56f7);const _0x4d02c1=ti[this[_0x289f85(0x608)]];return this['_colorIndex']=(this[_0x289f85(0x608)]+0x1)%ti[_0x289f85(0x2c7)],this[_0x289f85(0x389)]['set'](_0x4e56f7,_0x4d02c1),_0x4d02c1;}}var ko=Object['defineProperty'],Wo=Object[_0x112848(0x331)],Fo=(_0xba0b19,_0x1d83c1,_0x179b69,_0x250bd0)=>{const _0x351c93=_0x112848;for(var _0xac6e6f=_0x250bd0>0x1?void 0x0:_0x250bd0?Wo(_0x1d83c1,_0x179b69):_0x1d83c1,_0x1a7aa2=_0xba0b19[_0x351c93(0x2c7)]-0x1,_0x339857;_0x1a7aa2>=0x0;_0x1a7aa2--)(_0x339857=_0xba0b19[_0x1a7aa2])&&(_0xac6e6f=(_0x250bd0?_0x339857(_0x1d83c1,_0x179b69,_0xac6e6f):_0x339857(_0xac6e6f))||_0xac6e6f);return _0x250bd0&&_0xac6e6f&&ko(_0x1d83c1,_0x179b69,_0xac6e6f),_0xac6e6f;},we=(_0x498180,_0x45892d)=>(_0x4c6859,_0x1700ec)=>_0x45892d(_0x4c6859,_0x1700ec,_0x498180);const Vo=0x12c,Go=0x64;let _s=class extends _0x40c6c0{constructor(_0x3063ce,_0x16a9b4,_0x45aa11,_0x11be60,_0x2eda28,_0x73bed9,_0x185570,_0x1e48ab,_0x162515){const _0x1e72ee=_0x112848;super(),g(this,'_online',!0x1),g(this,_0x1e72ee(0x52b),!0x1),g(this,_0x1e72ee(0x45c),new _0x1c751f(new Map())),g(this,_0x1e72ee(0x244),this['_cursorInfo$']['asObservable']()),g(this,_0x1e72ee(0x279),new _0x1c751f([])),g(this,'roomMembers$',this[_0x1e72ee(0x279)][_0x1e72ee(0x529)](_0x2d6759(Vo))),g(this,_0x1e72ee(0x566),_0x5d2740(_0x1b9fde=>{const _0x17e05b=_0x1e72ee,_0x8980bb={'eventID':_0x18493d['UPDATE_CURSOR'],'data':{'unitID':this[_0x17e05b(0x5e0)],'memberID':this[_0x17e05b(0x2c2)][_0x17e05b(0x22d)](),'selection':Ki(_0x1b9fde)}};this[_0x17e05b(0x2c2)][_0x17e05b(0x523)](_0x8980bb,this[_0x17e05b(0x5e0)]);},Go)),(this['unitID']=_0x3063ce,this['_session']=_0x16a9b4,this[_0x1e72ee(0x382)]=_0x45aa11,this[_0x1e72ee(0x425)]=_0x11be60,this['_memberService']=_0x2eda28,this[_0x1e72ee(0x5bf)]=_0x73bed9,this[_0x1e72ee(0x59f)]=_0x185570,this[_0x1e72ee(0x3ad)]=_0x1e48ab,this[_0x1e72ee(0x4f1)]=_0x162515);}get[_0x112848(0x24e)](){const _0x1a0bee=_0x112848;return this[_0x1a0bee(0x45c)][_0x1a0bee(0x2b0)]();}get[_0x112848(0x590)](){const _0x16c580=_0x112848;return this['_roomMembers$'][_0x16c580(0x2b0)]();}[_0x112848(0x298)](){const _0x27fed8=_0x112848;super[_0x27fed8(0x298)](),this['_cursorInfo$'][_0x27fed8(0x53a)](new Map()),this[_0x27fed8(0x45c)]['complete'](),this[_0x27fed8(0x279)]['next']([]),this[_0x27fed8(0x279)]['complete']();}[_0x112848(0x460)](){const _0x3112cf=_0x112848;this[_0x3112cf(0x52b)]||(this[_0x3112cf(0x52b)]=!0x0,this['_session']['sessionStatus$'][_0x3112cf(0x529)](_0xb4b5bf(this[_0x3112cf(0x204)]))[_0x3112cf(0x4f8)](_0x1010be=>{const _0x20f08b=_0x3112cf;_0x1010be===fe[_0x20f08b(0x4e2)]?this[_0x20f08b(0x2da)]():this[_0x20f08b(0x533)]();}),this[_0x3112cf(0x2c2)][_0x3112cf(0x4fa)][_0x3112cf(0x529)](_0xb4b5bf(this[_0x3112cf(0x204)]))[_0x3112cf(0x4f8)](_0x1915ae=>{const _0x305723=_0x3112cf,_0x4ad3fb=_0x1915ae[_0x305723(0x585)];_0x4ad3fb===_0x18493d['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1915ae),_0x4ad3fb===_0x18493d[_0x305723(0x5ee)]&&this[_0x305723(0x337)](_0x1915ae);}),this[_0x3112cf(0x29e)](this[_0x3112cf(0x4f1)]['onCommandExecuted'](_0x4c6a1b=>{const _0x11ca88=_0x3112cf,_0x4939f7=_0x4c6a1b[_0x11ca88(0x256)];_0x4939f7!=null&&this[_0x11ca88(0x432)]&&_0x4c6a1b['id']===_0x31e913['id']&&_0x4939f7[_0x11ca88(0x261)]===this[_0x11ca88(0x5e0)]&&_0x4939f7['isEditing']===!0x1&&_0x4939f7['ranges'][_0x11ca88(0x2c7)]>0x0&&this[_0x11ca88(0x566)](_0x4939f7[_0x11ca88(0x4a3)]);})),this[_0x3112cf(0x5bf)]['collabCursorState$'][_0x3112cf(0x529)](_0xb4b5bf(this[_0x3112cf(0x204)]))[_0x3112cf(0x4f8)](_0x4b1af5=>{const _0x6f5cb6=_0x3112cf;if((_0x4b1af5==null?void 0x0:_0x4b1af5[_0x6f5cb6(0x5e0)])!==this[_0x6f5cb6(0x5e0)])return;const _0x24a107={'eventID':_0x18493d['UPDATE_CURSOR'],'data':_0x4b1af5};this[_0x6f5cb6(0x218)](_0x24a107);}),this[_0x3112cf(0x29e)](this[_0x3112cf(0x4f1)]['onCommandExecuted'](_0x2f853=>{const _0x37f6d1=_0x3112cf;if(_0x2f853[_0x37f6d1(0x256)]==null)return;const _0x1ae375=_0x2f853[_0x37f6d1(0x256)];if(_0x2f853['id']!==_0x32f6eb['id']||_0x1ae375[_0x37f6d1(0x261)]!==this[_0x37f6d1(0x5e0)])return;const _0x2921f3={'id':'doc.mutation.rich-text-editing','params':_0x1ae375},_0xc1546c=this['cursorInfo'];for(const [_0x398bab,_0x399c59]of _0xc1546c){const _0x4dcdd2={'id':_0x37f6d1(0x3be),'params':{'unitId':this[_0x37f6d1(0x5e0)],'actions':null,'textRanges':_0x399c59[_0x37f6d1(0x4a3)]}},_0x202d6d=this['_transformService'][_0x37f6d1(0x450)](_0x2921f3,_0x4dcdd2,!0x1);if(_0xf61c00(_0x202d6d))throw _0x202d6d[_0x37f6d1(0x3b9)];_0xc1546c[_0x37f6d1(0x2ab)](_0x398bab,{..._0x399c59,'ranges':_0x202d6d['m2Prime'][_0x37f6d1(0x256)][_0x37f6d1(0x259)]});}queueMicrotask(()=>{const _0x17efd6=_0x37f6d1;this[_0x17efd6(0x45c)][_0x17efd6(0x53a)](_0xc1546c);});})));}[_0x112848(0x218)](_0x2449d1){const _0x3b5423=_0x112848;var _0x5ee622,_0x56d276;const {memberID:_0x181fb3,selection:_0x4f1685}=_0x2449d1[_0x3b5423(0x600)],_0x4f4a30=To(_0x4f1685),_0x456b69=(_0x56d276=(_0x5ee622=this[_0x3b5423(0x4ca)][_0x3b5423(0x4fb)](this[_0x3b5423(0x5e0)],_0x181fb3))==null?void 0x0:_0x5ee622['name'])!=null?_0x56d276:_0x3b5423(0x32a),_0x4b9993={'color':this[_0x3b5423(0x425)][_0x3b5423(0x289)](_0x181fb3),'name':_0x456b69,'ranges':_0x4f4a30},_0x19c0d9=this[_0x3b5423(0x24e)];_0x19c0d9[_0x3b5423(0x2ab)](_0x181fb3,_0x4b9993),this[_0x3b5423(0x45c)][_0x3b5423(0x53a)](_0x19c0d9);}[_0x112848(0x337)](_0x3654e9){const _0x5383bd=_0x112848,{memberID:_0x20064f}=_0x3654e9['data'],_0x428f99=this[_0x5383bd(0x24e)];_0x428f99[_0x5383bd(0x37b)](_0x20064f),this[_0x5383bd(0x45c)][_0x5383bd(0x53a)](_0x428f99);}['_toggleOnline'](){const _0x312a9b=_0x112848;var _0x47b3c3;if(this['_online']=!0x0,((_0x47b3c3=this[_0x312a9b(0x3ad)]['getFocusedUnit']())==null?void 0x0:_0x47b3c3['getUnitId']())!==this[_0x312a9b(0x5e0)])return;const _0x5b6e98=this[_0x312a9b(0x382)]['get'](_0x20b394)[_0x312a9b(0x415)]();Array[_0x312a9b(0x5f9)](_0x5b6e98)&&_0x5b6e98[_0x312a9b(0x2c7)]>0x0&&this[_0x312a9b(0x566)](_0x5b6e98);}[_0x112848(0x533)](){const _0x33f455=_0x112848;this[_0x33f455(0x432)]=!0x1;}};_s=Fo([we(0x2,_0xa52f76(_0x2e5136)),we(0x3,_0xa52f76(Us)),we(0x4,_0xa52f76(Ae)),we(0x5,_0xa52f76(Ds)),we(0x6,_0x6c5e45),we(0x7,_0x1efafe),we(0x8,_0x18a422)],_s);var Yo=Object[_0x112848(0x47b)],Ko=Object[_0x112848(0x331)],qo=(_0x538559,_0x305c3a,_0x317ada,_0x2ac08c)=>{const _0x392644=_0x112848;for(var _0x509f99=_0x2ac08c>0x1?void 0x0:_0x2ac08c?Ko(_0x305c3a,_0x317ada):_0x305c3a,_0x39e645=_0x538559[_0x392644(0x2c7)]-0x1,_0xd2c70d;_0x39e645>=0x0;_0x39e645--)(_0xd2c70d=_0x538559[_0x39e645])&&(_0x509f99=(_0x2ac08c?_0xd2c70d(_0x305c3a,_0x317ada,_0x509f99):_0xd2c70d(_0x509f99))||_0x509f99);return _0x2ac08c&&_0x509f99&&Yo(_0x305c3a,_0x317ada,_0x509f99),_0x509f99;},je=(_0x20ffa0,_0x13925a)=>(_0x493294,_0x34bcd2)=>_0x13925a(_0x493294,_0x34bcd2,_0x20ffa0);const zo=0x12c,Xo=0x64,Jo=()=>{let _0x1391d1=[],_0x2ead85=!0x1;return _0x16b2a7=>{const _0x23a843=_0x5808;_0x1391d1[_0x23a843(0x2aa)](_0x16b2a7),_0x2ead85||(_0x2ead85=!0x0,setTimeout(()=>{const _0xc3b49b=_0x23a843;_0x1391d1[_0xc3b49b(0x209)](_0x115ef3=>_0x115ef3()),_0x1391d1=[],_0x2ead85=!0x1;}));};};let us=class extends _0x40c6c0{constructor(_0x495e22,_0x502180,_0x1d79a4,_0x4132c0,_0x286dda,_0x435adf,_0x14a310,_0x264c17){const _0x380004=_0x112848;super(),g(this,_0x380004(0x432),!0x1),g(this,_0x380004(0x52b),!0x1),g(this,'_cursorInfo$',new _0x1c751f(new Map())),g(this,_0x380004(0x244),this[_0x380004(0x45c)][_0x380004(0x606)]()),g(this,_0x380004(0x279),new _0x1c751f([])),g(this,_0x380004(0x1ef),this[_0x380004(0x279)][_0x380004(0x529)](_0x2d6759(zo))),g(this,_0x380004(0x566),_0x5d2740((_0x51e102,_0x28b6ac)=>{const _0x3b876f=_0x380004,_0xe3676c={'eventID':_0x18493d[_0x3b876f(0x407)],'data':{'unitID':this['unitID'],'memberID':this[_0x3b876f(0x2c2)]['getMemberID'](),'selection':_0x2f1193(_0x51e102,_0x28b6ac[_0x3b876f(0x3b6)])}};this[_0x3b876f(0x2c2)][_0x3b876f(0x523)](_0xe3676c,this[_0x3b876f(0x5e0)]);},Xo)),(this[_0x380004(0x5e0)]=_0x495e22,this[_0x380004(0x2c2)]=_0x502180,this[_0x380004(0x382)]=_0x1d79a4,this['_colorAssignService']=_0x4132c0,this[_0x380004(0x4ca)]=_0x286dda,this[_0x380004(0x3ad)]=_0x435adf,this['_commandService']=_0x14a310,this[_0x380004(0x507)]=_0x264c17);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x112848(0x590)](){const _0x22eb07=_0x112848;return this[_0x22eb07(0x279)][_0x22eb07(0x2b0)]();}[_0x112848(0x298)](){const _0xcb43bf=_0x112848;super[_0xcb43bf(0x298)](),this['_cursorInfo$'][_0xcb43bf(0x53a)](new Map()),this['_cursorInfo$'][_0xcb43bf(0x38e)](),this[_0xcb43bf(0x279)][_0xcb43bf(0x53a)]([]),this[_0xcb43bf(0x279)]['complete']();}[_0x112848(0x460)](){const _0x4f23be=_0x112848;this[_0x4f23be(0x52b)]||(this[_0x4f23be(0x52b)]=!0x0,this[_0x4f23be(0x2c2)][_0x4f23be(0x29d)][_0x4f23be(0x529)](_0xb4b5bf(this['dispose$']))[_0x4f23be(0x4f8)](_0x1cb2e1=>{const _0x1d82fd=_0x4f23be;_0x1cb2e1===fe[_0x1d82fd(0x4e2)]?this[_0x1d82fd(0x2da)]():this[_0x1d82fd(0x533)]();}),this['_session'][_0x4f23be(0x4fa)]['pipe'](_0xb4b5bf(this[_0x4f23be(0x204)]))[_0x4f23be(0x4f8)](_0x262042=>{const _0x35ceea=_0x4f23be,_0x59cda0=_0x262042[_0x35ceea(0x585)];_0x59cda0===_0x18493d[_0x35ceea(0x407)]&&this[_0x35ceea(0x218)](_0x262042),_0x59cda0===_0x18493d['USERS_LEAVE']&&this[_0x35ceea(0x337)](_0x262042);}),this[_0x4f23be(0x4b5)](),this[_0x4f23be(0x29e)](this[_0x4f23be(0x4f1)][_0x4f23be(0x2ef)](_0xb17173=>{const _0xafaacd=_0x4f23be;if(this[_0xafaacd(0x432)]&&_0xb17173['id']===_0x2f7f98['id']&&_0xb17173[_0xafaacd(0x256)][_0xafaacd(0x261)]===this['unitID']){const _0x5adc28=_0xb17173['params'];this[_0xafaacd(0x566)](_0x5adc28[_0xafaacd(0x4b2)],_0x5adc28[_0xafaacd(0x4ac)][0x0]);}})));}['_onCursorUpdate'](_0x375788){const _0x55307d=_0x112848;var _0x410317,_0x2a13fc;const {memberID:_0x516fd2,selection:_0x1ac007}=_0x375788[_0x55307d(0x600)],{sheetName:_0x268cfa,range:_0x32f46d}=_0x1b4ef8(_0x1ac007),_0x366812={'name':(_0x2a13fc=(_0x410317=this[_0x55307d(0x4ca)]['getMember'](this[_0x55307d(0x5e0)],_0x516fd2))==null?void 0x0:_0x410317[_0x55307d(0x353)])!=null?_0x2a13fc:'Unknown\x20user','range':this[_0x55307d(0x270)](_0x268cfa,_0x32f46d),'sheetID':_0x268cfa,'color':this[_0x55307d(0x425)][_0x55307d(0x289)](_0x516fd2),'selection':_0x1ac007},_0x1045b8=this[_0x55307d(0x24e)];_0x1045b8[_0x55307d(0x2ab)](_0x516fd2,_0x366812),this[_0x55307d(0x45c)][_0x55307d(0x53a)](_0x1045b8);}[_0x112848(0x337)](_0x1b5585){const _0x57089d=_0x112848,{memberID:_0x50b772}=_0x1b5585[_0x57089d(0x600)],_0x5071ca=this[_0x57089d(0x24e)];_0x5071ca[_0x57089d(0x37b)](_0x50b772),this['_cursorInfo$'][_0x57089d(0x53a)](_0x5071ca);}[_0x112848(0x270)](_0x3e53dd,_0x5e2f85){const _0x4bac0b=_0x112848;var _0x18c3be,_0x48ff4b;const _0x2a0ebe=(_0x48ff4b=(_0x18c3be=this[_0x4bac0b(0x3ad)][_0x4bac0b(0x545)](this[_0x4bac0b(0x5e0)]))==null?void 0x0:_0x18c3be[_0x4bac0b(0x5b0)](_0x3e53dd))==null?void 0x0:_0x48ff4b[_0x4bac0b(0x5ff)]();return(_0x2a0ebe==null?void 0x0:_0x2a0ebe[_0x4bac0b(0x361)](_0x54915f=>_0x430de4[_0x4bac0b(0x440)](_0x54915f,_0x5e2f85)))||_0x5e2f85;}[_0x112848(0x4b5)](){const _0xb818cb=_0x112848,_0x2d6054=new _0x518f78(),_0x4a787d=Jo(),_0xd0b161=()=>{const _0x2f607b=_0x5808;_0x2d6054[_0x2f607b(0x298)]();const _0xb28a00=(_0x58de53,_0x1e0744,_0x278d36,_0x519580)=>{const _0x16bb05=_0x2f607b;let _0x374487=[];switch(_0x58de53['id']){case _0x2ce5bc[_0x16bb05(0x5c0)]:{_0x374487=_0x5edb52(_0x58de53,_0x519580);break;}case _0x2ce5bc[_0x16bb05(0x461)]:{_0x374487=_0x4c2872(_0x58de53,_0x519580);break;}case _0x2ce5bc[_0x16bb05(0x299)]:{_0x374487=_0x4479f2(_0x58de53,_0x519580);break;}case _0x2ce5bc['InsertRangeMoveDownCommandId']:{_0x374487=_0x1d517f(_0x58de53,_0x519580);break;}case _0x2ce5bc[_0x16bb05(0x3a7)]:{_0x374487=_0xcc17e9(_0x58de53,_0x519580);break;}case _0x2ce5bc['InsertRowCommandId']:{_0x374487=_0x21e619(_0x58de53,_0x519580);break;}case _0x2ce5bc[_0x16bb05(0x229)]:{_0x374487=_0x32961c(_0x58de53,_0x519580);break;}case _0x2ce5bc[_0x16bb05(0x3e0)]:{_0x374487=_0x1752ab(_0x58de53,_0x519580);break;}case _0x2ce5bc[_0x16bb05(0x595)]:{_0x374487=_0x4892c8(_0x58de53,_0x519580);break;}}const _0x17bb4a=_0x3899c2(_0x374487,_0x519580),_0x44804f=this[_0x16bb05(0x24e)]['get'](_0x1e0744);if(_0x44804f&&_0x17bb4a){const _0x4d2c9e={..._0x44804f,'range':_0x17bb4a};this['cursorInfo']['set'](_0x1e0744,_0x4d2c9e),_0x4a787d(()=>{const _0x45e28a=_0x16bb05,_0x3c945e=this['_refRangeService'][_0x45e28a(0x3a5)](_0x17bb4a,_0x4026a7=>(_0x3c945e[_0x45e28a(0x298)](),_0xb28a00(_0x4026a7,_0x1e0744,_0x278d36,_0x17bb4a)));_0x2d6054[_0x45e28a(0x278)](_0x3c945e);});}return{'redos':[],'undos':[]};};this[_0x2f607b(0x24e)][_0x2f607b(0x209)]((_0x54f9fb,_0x1bda9e)=>{const _0x28e019=_0x2f607b,{range:_0x300748,sheetID:_0x190678}=_0x54f9fb,_0x3faeef=this[_0x28e019(0x507)][_0x28e019(0x3a5)](_0x300748,_0x320672=>(_0x3faeef['dispose'](),_0xb28a00(_0x320672,_0x1bda9e,_0x190678,_0x300748)));_0x2d6054[_0x28e019(0x278)](_0x3faeef);});};this['disposeWithMe'](_0x1eb786(this[_0xb818cb(0x45c)][_0xb818cb(0x4f8)](()=>{_0xd0b161();})));}[_0x112848(0x2da)](){const _0x5a84c9=_0x112848;var _0x3f8932,_0x146086;if(this[_0x5a84c9(0x432)]=!0x0,((_0x3f8932=this[_0x5a84c9(0x3ad)][_0x5a84c9(0x377)]())==null?void 0x0:_0x3f8932['getUnitId']())!==this['unitID'])return;const _0x5cd0a4=(_0x146086=this['_injector'][_0x5a84c9(0x4cd)](_0x52a1cd)[_0x5a84c9(0x3e4)]())==null?void 0x0:_0x146086[0x0],_0x5f34ee=this[_0x5a84c9(0x3ad)][_0x5a84c9(0x35a)](_0x3f1ceb[_0x5a84c9(0x3f0)])[_0x5a84c9(0x3a3)]();_0x5cd0a4&&_0x5f34ee&&this[_0x5a84c9(0x566)](_0x5f34ee['getSheetId'](),_0x5cd0a4);}['_toggleOffline'](){const _0x5ef2bf=_0x112848;this[_0x5ef2bf(0x432)]=!0x1;}};us=qo([je(0x2,_0xa52f76(_0x2e5136)),je(0x3,_0xa52f76(Us)),je(0x4,_0xa52f76(Ae)),je(0x5,_0x1efafe),je(0x6,_0x18a422),je(0x7,_0xa52f76(_0x253623))],us);var Zo=Object[_0x112848(0x47b)],Qo=Object[_0x112848(0x331)],ea=(_0x4e5bf2,_0x434717,_0x3268b0,_0x289e7c)=>{const _0x23e329=_0x112848;for(var _0x3e2867=_0x289e7c>0x1?void 0x0:_0x289e7c?Qo(_0x434717,_0x3268b0):_0x434717,_0x36e11a=_0x4e5bf2[_0x23e329(0x2c7)]-0x1,_0x132f75;_0x36e11a>=0x0;_0x36e11a--)(_0x132f75=_0x4e5bf2[_0x36e11a])&&(_0x3e2867=(_0x289e7c?_0x132f75(_0x434717,_0x3268b0,_0x3e2867):_0x132f75(_0x3e2867))||_0x3e2867);return _0x289e7c&&_0x3e2867&&Zo(_0x434717,_0x3268b0,_0x3e2867),_0x3e2867;},zt=(_0xefa306,_0x405c87)=>(_0x465d63,_0x34ce87)=>_0x405c87(_0x465d63,_0x34ce87,_0xefa306);let Fe=class extends _0x40c6c0{constructor(_0x329ef7,_0x7c0c56,_0x5bda66){const _0xbdfddf=_0x112848;super(),g(this,_0xbdfddf(0x3a2),new Map()),g(this,_0xbdfddf(0x23c),new _0x37f3d3()),(this[_0xbdfddf(0x3ad)]=_0x329ef7,this[_0xbdfddf(0x382)]=_0x7c0c56,this[_0xbdfddf(0x2b2)]=_0x5bda66,this[_0xbdfddf(0x52b)]());}['dispose'](){const _0x3228a6=_0x112848;super['dispose'](),this['_entityInit$']['complete'](),this[_0x3228a6(0x3a2)]['forEach'](_0xde345e=>_0xde345e['dispose']());}[_0x112848(0x4c3)](_0x40f848){const _0x2eb392=_0x112848;return this['_entities'][_0x2eb392(0x543)](_0x40f848)?this[_0x2eb392(0x3a2)]['get'](_0x40f848)[_0x2eb392(0x244)]:this[_0x2eb392(0x23c)][_0x2eb392(0x529)](_0x2e0ab5(_0xb99f44=>_0xb99f44['unitID']===_0x40f848),_0x305d56(_0xf646d7=>_0xf646d7['cursorInfo$']));}[_0x112848(0x52b)](){const _0x2582b8=_0x112848;this[_0x2582b8(0x3ad)]['getTypeOfUnitAdded$'](_0x3f1ceb[_0x2582b8(0x3f0)])['pipe'](_0xb4b5bf(this['dispose$']))['subscribe'](async _0x4992ec=>{const _0x14d830=_0x2582b8,_0x19bb72=_0x4992ec[_0x14d830(0x579)](),_0x5c6b00=await this[_0x14d830(0x397)](_0x19bb72);this[_0x14d830(0x23c)]['next'](_0x5c6b00),this['_entities']['set'](_0x19bb72,_0x5c6b00);}),this[_0x2582b8(0x3ad)][_0x2582b8(0x571)](_0x3f1ceb[_0x2582b8(0x538)])[_0x2582b8(0x529)](_0xb4b5bf(this[_0x2582b8(0x204)]))[_0x2582b8(0x529)](_0x2e0ab5(_0x4bec2c=>!_0x4bec2c['getUnitId']()['startsWith']('__')))['subscribe'](async _0x9a47ba=>{const _0x17471f=_0x2582b8,_0x56ad91=_0x9a47ba[_0x17471f(0x579)](),_0x14120c=await this['_startDocCollabCursor'](_0x56ad91);this[_0x17471f(0x23c)][_0x17471f(0x53a)](_0x14120c),this[_0x17471f(0x3a2)][_0x17471f(0x2ab)](_0x56ad91,_0x14120c);}),_0x566afd(this['_univerInstanceService'][_0x2582b8(0x524)](_0x3f1ceb[_0x2582b8(0x538)]),this[_0x2582b8(0x3ad)]['getTypeOfUnitDisposed$'](_0x3f1ceb[_0x2582b8(0x3f0)]))['pipe'](_0xb4b5bf(this[_0x2582b8(0x204)]))[_0x2582b8(0x4f8)](_0x3a3b3a=>{const _0x3313da=_0x2582b8,_0x16d73e=_0x3a3b3a['getUnitId'](),_0x47634a=this[_0x3313da(0x3a2)][_0x3313da(0x4cd)](_0x16d73e);_0x47634a&&(_0x47634a['dispose'](),this[_0x3313da(0x3a2)][_0x3313da(0x37b)](_0x16d73e));});}async[_0x112848(0x397)](_0x2fb09f){const _0x560277=_0x112848,_0x3fdb5a=await this[_0x560277(0x2b2)][_0x560277(0x351)](_0x2fb09f),_0x36f6f3=this['_injector']['createInstance'](us,_0x2fb09f,_0x3fdb5a);return _0x36f6f3['init'](),_0x36f6f3;}async['_startDocCollabCursor'](_0x4950ff){const _0x539b7c=_0x112848,_0x3b124d=await this[_0x539b7c(0x2b2)][_0x539b7c(0x351)](_0x4950ff),_0x352042=this['_injector'][_0x539b7c(0x4d8)](_s,_0x4950ff,_0x3b124d);return _0x352042[_0x539b7c(0x460)](),_0x352042;}};Fe=ea([zt(0x0,_0x1efafe),zt(0x1,_0xa52f76(_0x2e5136)),zt(0x2,_0xa52f76(Me))],Fe);const rt=0x14,si=0xc8,Xt=0x4,ta=0x5;function sa(_0x4bc9f9,_0x380f66){const _0x56e8f8=_0x112848;let {radius:_0x15c153,width:_0x28ffef,height:_0xee5cb8}=_0x380f66;_0x15c153=_0x15c153!=null?_0x15c153:0x0,_0x28ffef=_0x28ffef!=null?_0x28ffef:0x1e,_0xee5cb8=_0xee5cb8!=null?_0xee5cb8:0x1e;let _0x5686ee=0x0,_0x412fcc=0x0,_0x51db1e=0x0;_0x5686ee=_0x412fcc=_0x51db1e=Math[_0x56e8f8(0x59a)](_0x15c153,_0x28ffef/0x2,_0xee5cb8/0x2),_0x4bc9f9[_0x56e8f8(0x266)](),_0x4bc9f9[_0x56e8f8(0x502)](_0x5686ee,0x0),_0x4bc9f9[_0x56e8f8(0x1ff)](_0x28ffef-_0x412fcc,0x0),_0x4bc9f9['arc'](_0x28ffef-_0x412fcc,_0x412fcc,_0x412fcc,Math['PI']*0x3/0x2,0x0,!0x1),_0x4bc9f9[_0x56e8f8(0x1ff)](_0x28ffef,_0xee5cb8-_0x51db1e),_0x4bc9f9[_0x56e8f8(0x518)](_0x28ffef-_0x51db1e,_0xee5cb8-_0x51db1e,_0x51db1e,0x0,Math['PI']/0x2,!0x1),_0x4bc9f9['lineTo'](0x0,_0xee5cb8),_0x4bc9f9[_0x56e8f8(0x1ff)](0x0,_0x5686ee),_0x4bc9f9[_0x56e8f8(0x518)](_0x5686ee,_0x5686ee,_0x5686ee,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4bc9f9['closePath'](),_0x380f66[_0x56e8f8(0x255)]&&(_0x4bc9f9[_0x56e8f8(0x586)](),_0x4bc9f9['fillStyle']=_0x380f66['fill'],_0x380f66['fillRule']===_0x56e8f8(0x616)?_0x4bc9f9[_0x56e8f8(0x255)](_0x56e8f8(0x616)):_0x4bc9f9[_0x56e8f8(0x255)](),_0x4bc9f9[_0x56e8f8(0x2b5)]());}class jt extends _0x426011{constructor(_0x4f615e,_0x4736b0){const _0x5aefee=_0x112848;super(_0x4f615e,_0x4736b0),g(this,_0x5aefee(0x406)),g(this,_0x5aefee(0x3df)),(this[_0x5aefee(0x406)]=_0x4736b0==null?void 0x0:_0x4736b0[_0x5aefee(0x406)],this['text']=_0x4736b0==null?void 0x0:_0x4736b0[_0x5aefee(0x3df)]);}static[_0x112848(0x254)](_0x241f4d,_0x517c42){const _0x542fba=_0x112848,{text:_0x359fc4,color:_0x11d84c}=_0x517c42;_0x241f4d['save'](),_0x241f4d[_0x542fba(0x301)]=_0x542fba(0x4d3);const _0x377497=_0x241f4d[_0x542fba(0x5d9)](_0x359fc4)[_0x542fba(0x422)],_0x211d67=Math[_0x542fba(0x59a)](_0x377497+0x2*Xt,si);sa(_0x241f4d,{'height':rt,'radius':0x4,'width':_0x211d67,'fill':_0x11d84c,'evented':!0x1}),_0x241f4d[_0x542fba(0x391)]=_0x542fba(0x5f4);const _0x3cf1f1=Xt,_0x25393d=rt-ta,_0x26a10f=si-0x2*Xt;if(_0x377497>_0x26a10f){let _0x5ab178='',_0x369cad=0x0;for(const _0x58300d of _0x359fc4){const _0x353777=_0x241f4d['measureText'](_0x58300d)['width'];if(_0x369cad+_0x353777<=_0x26a10f-_0x241f4d[_0x542fba(0x5d9)](_0x542fba(0x37d))[_0x542fba(0x422)])_0x5ab178+=_0x58300d,_0x369cad+=_0x353777;else{_0x5ab178+=_0x542fba(0x37d);break;}}_0x241f4d[_0x542fba(0x542)](_0x5ab178,_0x3cf1f1,_0x25393d);}else _0x241f4d[_0x542fba(0x542)](_0x359fc4,_0x3cf1f1,_0x25393d);_0x241f4d[_0x542fba(0x2b5)]();}[_0x112848(0x61d)](_0x1593e1){jt['drawWith'](_0x1593e1,this);}}const Jt=_0x112848(0x4cb),ia='collab-text-range-',ra=_0x112848(0x405),Xe=0x6,na=1.5,Zt=0x4,oa=1.5,aa=_0x112848(0x305);class ii{constructor(_0x49e191,_0x3139be,_0x3283a8,_0x1c1d74){const _0x1eac0e=_0x112848;g(this,'_shapes',[]),g(this,_0x1eac0e(0x5f3),null),g(this,'_textBubble',null),g(this,_0x1eac0e(0x4c5),null),g(this,_0x1eac0e(0x3ca),null),g(this,_0x1eac0e(0x58d),null),(this[_0x1eac0e(0x227)]=_0x49e191,this[_0x1eac0e(0x21e)]=_0x3139be,this[_0x1eac0e(0x26e)]=_0x3283a8,this[_0x1eac0e(0x343)]=_0x1c1d74,this[_0x1eac0e(0x3bc)]());}set[_0x112848(0x34e)](_0x495f5d){const _0x543e77=_0x112848;_0x495f5d?(this['_anchorDot']&&this[_0x543e77(0x4c5)][_0x543e77(0x5d6)](),this[_0x543e77(0x31d)]&&this[_0x543e77(0x31d)][_0x543e77(0x501)]()):(this[_0x543e77(0x4c5)]&&this[_0x543e77(0x4c5)][_0x543e77(0x501)](),this[_0x543e77(0x31d)]&&this[_0x543e77(0x31d)][_0x543e77(0x5d6)]());}[_0x112848(0x298)](){const _0x441b87=_0x112848;for(const _0x437a4a of this['_shapes'])_0x437a4a[_0x441b87(0x298)]();this[_0x441b87(0x31d)]&&this[_0x441b87(0x31d)][_0x441b87(0x298)](),this[_0x441b87(0x4c5)]&&this['_anchorDot'][_0x441b87(0x298)](),this['_anchor']&&this[_0x441b87(0x5f3)][_0x441b87(0x298)](),this[_0x441b87(0x58d)]&&this[_0x441b87(0x58d)]();}[_0x112848(0x3bc)](){const _0x46ea0c=_0x112848;var _0x580391;const {_docSkeleton:_0xf37cf6,_document:_0x433fb1}=this,{color:_0x589518,name:_0x481826,ranges:_0x54cee2}=this[_0x46ea0c(0x227)],_0x38796b=_0x433fb1[_0x46ea0c(0x4b4)](),{docsLeft:_0x506b82,docsTop:_0xad0b95}=_0x38796b,_0x417a6a=new _0x1313ee(_0x38796b,_0xf37cf6);for(const {startOffset:_0x5f2aca,endOffset:_0x518997,rangeType:_0x587a05,segmentId:_0x2299bf,segmentPage:_0x27551f,collapsed:_0x451247,isActive:_0x56d275}of _0x54cee2){const _0x1c3b74=_0xf37cf6[_0x46ea0c(0x4fd)](_0x5f2aca,!0x0,_0x2299bf,_0x27551f);let _0x2b8bb0=_0xf37cf6[_0x46ea0c(0x4fd)](_0x518997,!0x0,_0x2299bf,_0x27551f);if(_0x2b8bb0==null&&(_0x2b8bb0=_0xf37cf6[_0x46ea0c(0x4fd)](_0x518997-0x1,!0x1,_0x2299bf,_0x27551f)),_0x56d275){const {contentBoxPointGroup:_0x218b1d}=_0x417a6a['getRangePointData'](_0x2b8bb0,_0x2b8bb0);if(_0x218b1d[_0x46ea0c(0x2c7)]===0x0)continue;this[_0x46ea0c(0x386)](_0x589518,_0x218b1d,_0x506b82,_0xad0b95,_0x481826),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x1c3b74&&_0x2b8bb0){if(_0x587a05===_0x1c1637[_0x46ea0c(0x34a)]){const _0x3a5cd6=new _0x163ef7(_0x38796b,_0xf37cf6),{pointGroup:_0x19b092}=(_0x580391=_0x3a5cd6['getRangePointData'](_0x1c3b74,_0x2b8bb0))!=null?_0x580391:{};if(_0x19b092==null||_0x19b092[_0x46ea0c(0x2c7)]===0x0)continue;this[_0x46ea0c(0x230)](_0x589518,_0x19b092,_0x506b82,_0xad0b95);}else{if(!_0x451247){const {borderBoxPointGroup:_0x1aaaad}=_0x417a6a['getRangePointData'](_0x1c3b74,_0x2b8bb0);if(_0x1aaaad[_0x46ea0c(0x2c7)]===0x0)continue;this[_0x46ea0c(0x5bb)](_0x589518,_0x1aaaad,_0x506b82,_0xad0b95);}}}}}[_0x112848(0x386)](_0x59317b,_0xa9d29d,_0x14a81d,_0x24441a,_0x20b853){const _0x34edd9=_0x112848,_0x2456e2=this['_getAnchorBounding'](_0xa9d29d),{left:_0x1bab9c,top:_0x11b27b,height:_0x45111f}=_0x2456e2,_0x4a55f2=this['_getScale'](),_0x117984=oa/_0x4a55f2,_0x175d09=new _0x2bdb9c(Jt+_0x5a9c5d['generateRandomId'](Xe),{'left':_0x1bab9c+_0x14a81d-_0x117984,'top':_0x11b27b+_0x24441a,'height':_0x45111f,'width':na,'fill':_0x59317b||_0x7a80fe(_0xb724fd[_0x34edd9(0x2eb)],0x0),'strokeWidth':_0x117984,'stroke':aa,'evented':!0x0});this[_0x34edd9(0x5f3)]=_0x175d09,this[_0x34edd9(0x21e)]['addObject'](_0x175d09,_0x184e3f);const _0x48e7a1=new _0x2bdb9c(Jt+_0x5a9c5d[_0x34edd9(0x3db)](Xe),{'left':_0x1bab9c+_0x14a81d-_0x117984,'top':_0x11b27b+_0x24441a-Zt/0x2,'height':Zt,'width':Zt,'fill':_0x59317b||_0x7a80fe(_0xb724fd['black'],0x0),'strokeWidth':0x0,'stroke':_0x59317b||_0x7a80fe(_0xb724fd[_0x34edd9(0x2eb)],0x0),'evented':!0x1});this[_0x34edd9(0x4c5)]=_0x48e7a1,this[_0x34edd9(0x21e)][_0x34edd9(0x4f6)](_0x48e7a1,_0x184e3f);const _0x1e9798=new jt(Jt+_0x5a9c5d['generateRandomId'](Xe),{'left':_0x1bab9c+_0x14a81d-_0x117984,'top':_0x11b27b+_0x24441a-rt,'text':_0x20b853,'color':_0x59317b});this['_textBubble']=_0x1e9798,this[_0x34edd9(0x21e)][_0x34edd9(0x4f6)](_0x1e9798,_0x184e3f),this['_hover']=!0x1;}['_handleHover'](){const _0x27a517=_0x112848,_0xb24d3=this[_0x27a517(0x5f3)][_0x27a517(0x564)][_0x27a517(0x354)](()=>{this['_hover']=!0x0;}),_0x6c5664=this[_0x27a517(0x5f3)][_0x27a517(0x56a)][_0x27a517(0x354)](()=>{const _0x12ad83=_0x27a517;this[_0x12ad83(0x3ca)]&&clearTimeout(this[_0x12ad83(0x3ca)]),this[_0x12ad83(0x3ca)]=setTimeout(()=>{const _0x1fb898=_0x12ad83;this[_0x1fb898(0x34e)]=!0x1;},0x7d0);});return()=>{const _0x24168e=_0x27a517;_0xb24d3[_0x24168e(0x1f8)](),_0x6c5664[_0x24168e(0x1f8)]();};}[_0x112848(0x5bb)](_0x275f72,_0x55f9ab,_0x3a67ed,_0x18104e){const _0x5792c3=_0x112848,_0x337e7b=new _0x182947(_0x275f72)[_0x5792c3(0x5a4)](0.2)[_0x5792c3(0x5c8)](),_0xf2623d=new _0x10f4f6(ia+_0x5a9c5d[_0x5792c3(0x3db)](Xe),{'pointsGroup':_0x55f9ab,'fill':_0x337e7b||_0x7a80fe(_0xb724fd[_0x5792c3(0x2eb)],0.2),'left':_0x3a67ed,'top':_0x18104e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5792c3(0x5d2)][_0x5792c3(0x2aa)](_0xf2623d),this[_0x5792c3(0x21e)][_0x5792c3(0x4f6)](_0xf2623d,_0x184e3f);}['_drawRectRange'](_0x30a3a4,_0x1c68f5,_0x528f3d,_0x3ff89a){const _0x347e14=_0x112848,_0x105c6f=new _0x182947(_0x30a3a4)[_0x347e14(0x5a4)](0.2)[_0x347e14(0x5c8)](),_0x3cca48=new _0x10f4f6(ra+_0x5a9c5d['generateRandomId'](Xe),{'pointsGroup':_0x1c68f5,'fill':_0x105c6f||_0x7a80fe(_0xb724fd[_0x347e14(0x2eb)],0.2),'left':_0x528f3d,'top':_0x3ff89a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x347e14(0x5d2)][_0x347e14(0x2aa)](_0x3cca48),this['_scene']['addObject'](_0x3cca48,_0x184e3f);}[_0x112848(0x210)](_0x25710c){const _0x450582=_0x25710c[0x0],_0x542356=_0x450582[0x0],_0x525cb0=_0x450582[0x2],{x:_0x541da1,y:_0xdfc79d}=_0x542356,{x:_0x2e9b6f,y:_0x44e29d}=_0x525cb0;return{'left':_0x541da1,'top':_0xdfc79d,'width':_0x2e9b6f-_0x541da1,'height':_0x44e29d-_0xdfc79d};}[_0x112848(0x2db)](){const _0x236fb4=_0x112848,{scaleX:_0x526277,scaleY:_0x1b399d}=this[_0x236fb4(0x21e)][_0x236fb4(0x45d)]();return Math[_0x236fb4(0x21f)](_0x526277,_0x1b399d);}}var ca=Object[_0x112848(0x47b)],ha=Object[_0x112848(0x331)],la=(_0x3c1bd7,_0x2caa85,_0x2479a9,_0x2c8785)=>{const _0x39eb83=_0x112848;for(var _0x4c1675=_0x2c8785>0x1?void 0x0:_0x2c8785?ha(_0x2caa85,_0x2479a9):_0x2caa85,_0x387bc0=_0x3c1bd7[_0x39eb83(0x2c7)]-0x1,_0x1a4225;_0x387bc0>=0x0;_0x387bc0--)(_0x1a4225=_0x3c1bd7[_0x387bc0])&&(_0x4c1675=(_0x2c8785?_0x1a4225(_0x2caa85,_0x2479a9,_0x4c1675):_0x1a4225(_0x4c1675))||_0x4c1675);return _0x2c8785&&_0x4c1675&&ca(_0x2caa85,_0x2479a9,_0x4c1675),_0x4c1675;},ct=(_0x30769e,_0x31566a)=>(_0x21f296,_0x38e24c)=>_0x31566a(_0x21f296,_0x38e24c,_0x30769e);let ds=class extends _0x40c6c0{constructor(_0x1810bb,_0x4d387d,_0x879f3d,_0x57fe60,_0x34302d){const _0x1e7d59=_0x112848;super(),g(this,'_cursorShapes',[]),g(this,_0x1e7d59(0x55c),[]),(this[_0x1e7d59(0x38f)]=_0x1810bb,this[_0x1e7d59(0x4cc)]=_0x4d387d,this[_0x1e7d59(0x58e)]=_0x879f3d,this[_0x1e7d59(0x4f1)]=_0x57fe60,this['_themeService']=_0x34302d,this['_init']());}['_init'](){const _0x4fe322=_0x112848,_0x8c8abc=this[_0x4fe322(0x38f)][_0x4fe322(0x261)],_0x3f2bbb=this[_0x4fe322(0x4cc)];this[_0x4fe322(0x29e)](_0x398699([this[_0x4fe322(0x58e)][_0x4fe322(0x4c3)](_0x8c8abc),this['_themeService']['currentTheme$']])['pipe'](_0x338263(([_0x335e6b,_0x27dbaf])=>({'skeleton':_0x3f2bbb[_0x4fe322(0x207)](),'cursors':[..._0x335e6b['values']()]['flatMap'](_0xadd14b=>({..._0xadd14b,'color':_0x27dbaf[_0xadd14b[_0x4fe322(0x406)]]}))})))[_0x4fe322(0x4f8)](_0x2fd29d=>{const _0x3777b=_0x4fe322;if(this[_0x3777b(0x417)](),_0x2fd29d){const {skeleton:_0x1c3f00,cursors:_0x187a79}=_0x2fd29d;this[_0x3777b(0x446)](_0x1c3f00,_0x187a79);}})),this[_0x4fe322(0x512)](),this[_0x4fe322(0x554)]();}[_0x112848(0x446)](_0x22df7f,_0x2fd89e){const _0x4172ce=_0x112848,{scene:_0x45722c,mainComponent:_0x51e315}=this[_0x4172ce(0x38f)],_0x145835=_0x2fd89e[_0x4172ce(0x400)](_0x4a8023=>new ii(_0x4a8023,_0x45722c,_0x22df7f,_0x51e315));this['_cursorShapes']=_0x145835,this['_cursors']=_0x2fd89e;}[_0x112848(0x583)](){const _0x971c5e=_0x112848;this[_0x971c5e(0x417)]();const {scene:_0x415a03,mainComponent:_0x5e97aa}=this[_0x971c5e(0x38f)],_0x22b173=this[_0x971c5e(0x4cc)][_0x971c5e(0x207)](),_0x154038=this['_cursors'][_0x971c5e(0x400)](_0xa74e4f=>new ii(_0xa74e4f,_0x415a03,_0x22b173,_0x5e97aa));this[_0x971c5e(0x27a)]=_0x154038;}[_0x112848(0x417)](){const _0x308697=_0x112848;this['_cursorShapes']['forEach'](_0x5d8f2f=>_0x5d8f2f[_0x308697(0x298)]()),this[_0x308697(0x27a)]=[];}['_initCommandExecutedListener'](){const _0x3e8c6d=_0x112848,_0xc3f8a=[_0x262271['id']];this['disposeWithMe'](this[_0x3e8c6d(0x4f1)][_0x3e8c6d(0x2ef)](_0x297a21=>{const _0x539b3d=_0x3e8c6d;_0xc3f8a[_0x539b3d(0x3c5)](_0x297a21['id'])&&_0x297a21[_0x539b3d(0x256)][_0x539b3d(0x261)]===this[_0x539b3d(0x38f)][_0x539b3d(0x261)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x10d4a4=_0x112848;this[_0x10d4a4(0x29e)](_0x25214b(this[_0x10d4a4(0x38f)]['engine'][_0x10d4a4(0x42e)])[_0x10d4a4(0x529)](_0x4c7b7d(_0x5226f5=>_0x5226f5[_0x10d4a4(0x5b1)]===_0x20b791['resize']),_0x1755d1(0x10))['subscribe'](()=>{const _0x305341=_0x10d4a4;this[_0x305341(0x583)]();}));}};ds=la([ct(0x1,_0xa52f76(_0x5ba5a1)),ct(0x2,_0xa52f76(Fe)),ct(0x3,_0x18a422),ct(0x4,_0xa52f76(_0x1205f5))],ds);const _a=0x1,ua=1.5;class da extends _0x426011{constructor(_0x4bd281,_0x337139){const _0x568af4=_0x112848;super(_0x4bd281,_0x337139),g(this,'_color'),g(this,_0x568af4(0x504),!0x1),g(this,_0x568af4(0x490)),g(this,_0x568af4(0x4fe),''),g(this,_0x568af4(0x4f4),_0x568af4(0x56e)),g(this,_0x568af4(0x2df)),(_0x337139&&this[_0x568af4(0x612)](_0x337139),this[_0x568af4(0x564)][_0x568af4(0x354)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x568af4(0x56a)][_0x568af4(0x354)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x3e1b0c){const _0x4e9dc5=_0x112848;var _0x304b18,_0x4e03a2,_0x5d54b3,_0x4b7a4f,_0x4fee0f,_0x242ce4;this[_0x4e9dc5(0x4c9)]=(_0x304b18=_0x3e1b0c[_0x4e9dc5(0x406)])!=null?_0x304b18:this[_0x4e9dc5(0x4c9)],this[_0x4e9dc5(0x504)]=(_0x4e03a2=_0x3e1b0c[_0x4e9dc5(0x464)])!=null?_0x4e03a2:this['_hovered'],this[_0x4e9dc5(0x490)]=(_0x5d54b3=_0x3e1b0c[_0x4e9dc5(0x3b6)])!=null?_0x5d54b3:this[_0x4e9dc5(0x490)],this[_0x4e9dc5(0x4fe)]=(_0x4b7a4f=_0x3e1b0c[_0x4e9dc5(0x353)])!=null?_0x4b7a4f:this[_0x4e9dc5(0x4fe)],this[_0x4e9dc5(0x4f4)]=(_0x4fee0f=_0x3e1b0c[_0x4e9dc5(0x4e1)])!=null?_0x4fee0f:this[_0x4e9dc5(0x4f4)],this[_0x4e9dc5(0x2df)]=(_0x242ce4=_0x3e1b0c[_0x4e9dc5(0x228)])!=null?_0x242ce4:this[_0x4e9dc5(0x2df)],this[_0x4e9dc5(0x58f)]({'width':_0x3e1b0c[_0x4e9dc5(0x422)],'height':_0x3e1b0c['height']});}[_0x112848(0x492)](_0x3d8dd9){const _0x39a60e=_0x112848,{row:_0x58aa36,column:_0x1aae7e}=_0x3d8dd9;if(_0x58aa36>=this[_0x39a60e(0x490)][_0x39a60e(0x2fe)]&&_0x58aa36<=this[_0x39a60e(0x490)][_0x39a60e(0x2d1)]&&_0x1aae7e>=this[_0x39a60e(0x490)]['startColumn']&&_0x1aae7e<=this['_range'][_0x39a60e(0x28c)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x39a60e(0x612)]({'hovered':!0x1});}[_0x112848(0x2c1)](_0x3aa174){return!0x1;}[_0x112848(0x61d)](_0x442d96){const _0x56c63a=_0x112848;_0x2bdb9c[_0x56c63a(0x254)](_0x442d96,{'width':this[_0x56c63a(0x422)],'height':this[_0x56c63a(0x2b7)],'strokeWidth':ua,'stroke':this[_0x56c63a(0x4c9)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x56c63a(0x504)]&&(_0x442d96[_0x56c63a(0x586)](),_0x442d96[_0x56c63a(0x49a)](0x1,0x0,0x0,0x1,this[_0x56c63a(0x422)],this[_0x56c63a(0x4f4)]===_0x56c63a(0x35d)?0x0:-rt),jt[_0x56c63a(0x254)](_0x442d96,{'text':this['_name'],'color':this['_color']}),_0x442d96[_0x56c63a(0x2b5)]());}}var fa=Object[_0x112848(0x47b)],va=Object[_0x112848(0x331)],pa=(_0x20c15a,_0x520577,_0x1551fe,_0x2433d6)=>{const _0x4a7839=_0x112848;for(var _0x377b58=_0x2433d6>0x1?void 0x0:_0x2433d6?va(_0x520577,_0x1551fe):_0x520577,_0x32a4f1=_0x20c15a[_0x4a7839(0x2c7)]-0x1,_0x5ccc17;_0x32a4f1>=0x0;_0x32a4f1--)(_0x5ccc17=_0x20c15a[_0x32a4f1])&&(_0x377b58=(_0x2433d6?_0x5ccc17(_0x520577,_0x1551fe,_0x377b58):_0x5ccc17(_0x377b58))||_0x377b58);return _0x2433d6&&_0x377b58&&fa(_0x520577,_0x1551fe,_0x377b58),_0x377b58;},Qt=(_0x1726ca,_0xb26f09)=>(_0x4e8104,_0x2db9e7)=>_0xb26f09(_0x4e8104,_0x2db9e7,_0x1726ca);const ma=0x1389;let fs=class extends _0x40c6c0{constructor(_0x5b6681,_0x2e2bf5,_0x20c7fd,_0x3c97e3){const _0x482c09=_0x112848;super(),g(this,'_cursors',new Set()),g(this,_0x482c09(0x420),null),(this[_0x482c09(0x38f)]=_0x5b6681,this[_0x482c09(0x273)]=_0x2e2bf5,this[_0x482c09(0x58e)]=_0x20c7fd,this[_0x482c09(0x2fb)]=_0x3c97e3,this[_0x482c09(0x52b)]());}[_0x112848(0x52b)](){const _0x3a7414=_0x112848;this[_0x3a7414(0x273)][_0x3a7414(0x311)][_0x3a7414(0x529)](_0x5b0372(this[_0x3a7414(0x204)]),_0x4cc5c2(_0x4e71f7=>{const _0x34dc35=_0x3a7414;if(_0x4e71f7){const _0x5a8b3a=_0x4e71f7['sheetId'];return _0x398699(this['_collabCursorController'][_0x34dc35(0x4c3)](this[_0x34dc35(0x38f)][_0x34dc35(0x261)]),this[_0x34dc35(0x2fb)][_0x34dc35(0x5db)])[_0x34dc35(0x529)](_0x338263(([_0x592b48,_0x2388ad])=>{const _0x550fbc=_0x34dc35,_0x564faa=new Map();return _0x592b48[_0x550fbc(0x209)]((_0x4f85fb,_0x5a45a6)=>{const _0x70a895=_0x550fbc;if(_0x4f85fb[_0x70a895(0x438)]===_0x5a8b3a){const _0x44c7cc={..._0x4f85fb};_0x44c7cc[_0x70a895(0x406)]=_0x2388ad[_0x4f85fb[_0x70a895(0x406)]],_0x564faa[_0x70a895(0x2ab)](_0x5a45a6,_0x44c7cc);}}),{'skeleton':_0x4e71f7,'cursors':_0x564faa};}));}return _0x3856a9({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x51793f,cursors:_0x5223b2})=>{const _0x1b5ae6=_0x3a7414;this['_removeCollabCursors'](),_0x51793f&&this[_0x1b5ae6(0x446)](_0x51793f,_0x5223b2);}),this[_0x3a7414(0x273)][_0x3a7414(0x311)][_0x3a7414(0x4f8)](_0x16df5f=>{const _0xa63335=_0x3a7414;if(_0x16df5f==null)return;const {skeleton:_0x11f39f}=_0x16df5f,{scene:_0x17037b}=this[_0xa63335(0x38f)];_0x17037b[_0xa63335(0x1f0)][_0xa63335(0x354)](_0x5d2740(_0x4f0d03=>{const _0x4e26cb=_0xa63335;var _0x4119ef,_0x4310ef;const {offsetX:_0x3ff550,offsetY:_0x73883d}=_0x4f0d03,{x:_0xb591a3,y:_0x4cb352}=_0x17037b[_0x4e26cb(0x527)](_0x456d3c[_0x4e26cb(0x26d)]([_0x3ff550,_0x73883d])),{scaleX:_0x2a585d,scaleY:_0x42fe1a}=_0x17037b[_0x4e26cb(0x45d)](),_0x11843a=_0x17037b[_0x4e26cb(0x206)](_0x3ab83e[_0x4e26cb(0x319)]),_0xb48c07=_0x17037b[_0x4e26cb(0x2ba)](_0x456d3c[_0x4e26cb(0x26d)]([_0xb591a3,_0x4cb352]),_0x11843a),_0x4f6a2c=_0x11f39f['getCellPositionByOffset'](_0x3ff550,_0x73883d,_0x2a585d,_0x42fe1a,_0xb48c07);((_0x4119ef=this[_0x4e26cb(0x420)])==null?void 0x0:_0x4119ef['column'])===_0x4f6a2c[_0x4e26cb(0x349)]&&((_0x4310ef=this[_0x4e26cb(0x420)])==null?void 0x0:_0x4310ef['row'])===_0x4f6a2c[_0x4e26cb(0x43f)]||this[_0x4e26cb(0x55c)]['forEach'](_0x545696=>{const _0x69a510=_0x4e26cb;_0x545696[_0x69a510(0x492)](_0x4f6a2c);});},0x64));});}[_0x112848(0x446)](_0x300288,_0x2403d1){const _0x1063c1=_0x112848;var _0x78c3d0;const _0x14487d=(_0x78c3d0=this[_0x1063c1(0x273)][_0x1063c1(0x346)]())==null?void 0x0:_0x78c3d0['skeleton'];if(!_0x14487d)return;const _0x3699ee=this['_getSheetObject']();if(!_0x3699ee)return;this['_cursors'][_0x1063c1(0x209)](_0x216e34=>{const _0x49092d=_0x1063c1;_0x216e34[_0x49092d(0x2a0)]();});const {scene:_0x410041}=_0x3699ee,_0x286560=ga(Array[_0x1063c1(0x38c)](_0x2403d1[_0x1063c1(0x27c)]()))[_0x1063c1(0x400)](_0x516e84=>{const _0x5ae49e=_0x1063c1,{color:_0x39b4ee,range:_0x579042,name:_0x44def4,selection:_0x587958,sheetID:_0x308f00}=_0x516e84,{startColumn:_0xd900e1,startRow:_0x187e68,endColumn:_0x54e7b8,endRow:_0x39bbb3}=_0x579042,_0x11e1c7=_0x54af00(_0x187e68,_0xd900e1,_0x410041,_0x14487d),_0x21d071=_0x54af00(_0x39bbb3,_0x54e7b8,_0x410041,_0x14487d),{columnHeaderHeightAndMarginTop:_0x302287}=_0x14487d,{startX:_0x3b85a7,startY:_0x219f7c}=_0x11e1c7,{endX:_0x2da826,endY:_0x2485d9}=_0x21d071,_0x265f26=_0x2da826-_0x3b85a7,_0x2563b2=_0x2485d9-_0x219f7c,_0x18701d={'labelPosition':_0x219f7c-_0x302287>=rt?_0x5ae49e(0x56e):'bottom','sheetID':_0x308f00,'range':_0x579042,'color':_0x39b4ee,'name':_0x44def4,'selection':_0x587958,'left':_0x3b85a7,'top':_0x219f7c,'width':_0x265f26,'height':_0x2563b2,'evented':!0x1,'zIndex':ma};return new da(_0x44def4,_0x18701d);});_0x410041[_0x1063c1(0x262)](_0x286560,_a),this[_0x1063c1(0x55c)]=new Set(_0x286560);}['_removeCollabCursors'](){const _0x495791=_0x112848;var _0x58083e;(_0x58083e=this[_0x495791(0x55c)])==null||_0x58083e['forEach'](_0x7a440b=>_0x7a440b[_0x495791(0x298)]());}[_0x112848(0x304)](){const _0x7f6bee=_0x112848;return _0x1bd3b5(this[_0x7f6bee(0x38f)][_0x7f6bee(0x5eb)],this[_0x7f6bee(0x38f)]);}};fs=pa([Qt(0x1,_0xa52f76(_0x54a0b0)),Qt(0x2,_0xa52f76(Fe)),Qt(0x3,_0xa52f76(_0x1205f5))],fs);function ga(_0x2ec9d2){const _0x54ed35=_0x112848,_0x4e67f0=new Map();return _0x2ec9d2[_0x54ed35(0x209)](_0x24c4c9=>{const _0x173184=_0x54ed35;if(_0x4e67f0[_0x173184(0x543)](_0x24c4c9[_0x173184(0x40d)])){const _0xb86868=_0x4e67f0[_0x173184(0x4cd)](_0x24c4c9['selection']);_0xb86868[_0x173184(0x353)]+=',\x20'+_0x24c4c9[_0x173184(0x353)];}else _0x4e67f0[_0x173184(0x2ab)](_0x24c4c9['selection'],_0x24c4c9);}),Array['from'](_0x4e67f0['values']());}var es=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x29b2e9){const _0x19bddc=_0x112848;return _0x29b2e9&&_0x29b2e9[_0x19bddc(0x3e9)]&&Object[_0x19bddc(0x36f)][_0x19bddc(0x575)][_0x19bddc(0x32c)](_0x29b2e9,_0x19bddc(0x547))?_0x29b2e9[_0x19bddc(0x547)]:_0x29b2e9;}var ts={'exports':{}},Je={},ri;function Sa(){const _0x5ad30e=_0x112848;if(ri)return Je;ri=0x1;var _0x512370=_0x282e13,_0xfdd2c0=Symbol[_0x5ad30e(0x57c)](_0x5ad30e(0x3f4)),_0x2eecfe=Symbol[_0x5ad30e(0x57c)](_0x5ad30e(0x269)),_0x297501=Object[_0x5ad30e(0x36f)]['hasOwnProperty'],_0x3e31ee=_0x512370[_0x5ad30e(0x3a8)][_0x5ad30e(0x5f2)],_0x1b6b4a={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x4f9b86(_0x56ccc9,_0x1e1c1a,_0x49e274){const _0x426fb5=_0x5ad30e;var _0x4724d7,_0x420486={},_0xb20bce=null,_0x4c53b3=null;_0x49e274!==void 0x0&&(_0xb20bce=''+_0x49e274),_0x1e1c1a[_0x426fb5(0x27b)]!==void 0x0&&(_0xb20bce=''+_0x1e1c1a[_0x426fb5(0x27b)]),_0x1e1c1a[_0x426fb5(0x578)]!==void 0x0&&(_0x4c53b3=_0x1e1c1a[_0x426fb5(0x578)]);for(_0x4724d7 in _0x1e1c1a)_0x297501[_0x426fb5(0x32c)](_0x1e1c1a,_0x4724d7)&&!_0x1b6b4a[_0x426fb5(0x575)](_0x4724d7)&&(_0x420486[_0x4724d7]=_0x1e1c1a[_0x4724d7]);if(_0x56ccc9&&_0x56ccc9[_0x426fb5(0x3b5)]){for(_0x4724d7 in(_0x1e1c1a=_0x56ccc9['defaultProps'],_0x1e1c1a))_0x420486[_0x4724d7]===void 0x0&&(_0x420486[_0x4724d7]=_0x1e1c1a[_0x4724d7]);}return{'$$typeof':_0xfdd2c0,'type':_0x56ccc9,'key':_0xb20bce,'ref':_0x4c53b3,'props':_0x420486,'_owner':_0x3e31ee['current']};}return Je[_0x5ad30e(0x41f)]=_0x2eecfe,Je[_0x5ad30e(0x3e2)]=_0x4f9b86,Je[_0x5ad30e(0x379)]=_0x4f9b86,Je;}var ni;function Ia(){const _0x1ef787=_0x112848;return ni||(ni=0x1,ts['exports']=Sa()),ts[_0x1ef787(0x23f)];}var De=Ia(),te=function(){const _0x703554=_0x112848;return te=Object[_0x703554(0x5ba)]||function(_0xf88d95){const _0x57bdec=_0x703554;for(var _0x2dfa2a,_0xecef31=0x1,_0x3c13e7=arguments[_0x57bdec(0x2c7)];_0xecef31<_0x3c13e7;_0xecef31++){_0x2dfa2a=arguments[_0xecef31];for(var _0x4445e1 in _0x2dfa2a)Object['prototype'][_0x57bdec(0x575)][_0x57bdec(0x32c)](_0x2dfa2a,_0x4445e1)&&(_0xf88d95[_0x4445e1]=_0x2dfa2a[_0x4445e1]);}return _0xf88d95;},te[_0x703554(0x290)](this,arguments);},Ca=function(_0x3e9638,_0x570b41){const _0x111dd2=_0x112848;var _0x1d6cf4={};for(var _0x2512d4 in _0x3e9638)Object[_0x111dd2(0x36f)][_0x111dd2(0x575)]['call'](_0x3e9638,_0x2512d4)&&_0x570b41[_0x111dd2(0x4ab)](_0x2512d4)<0x0&&(_0x1d6cf4[_0x2512d4]=_0x3e9638[_0x2512d4]);if(_0x3e9638!=null&&typeof Object[_0x111dd2(0x42c)]==_0x111dd2(0x4ce)){for(var _0xc68a8c=0x0,_0x2512d4=Object[_0x111dd2(0x42c)](_0x3e9638);_0xc68a8c<_0x2512d4[_0x111dd2(0x2c7)];_0xc68a8c++)_0x570b41[_0x111dd2(0x4ab)](_0x2512d4[_0xc68a8c])<0x0&&Object[_0x111dd2(0x36f)][_0x111dd2(0x3f8)][_0x111dd2(0x32c)](_0x3e9638,_0x2512d4[_0xc68a8c])&&(_0x1d6cf4[_0x2512d4[_0xc68a8c]]=_0x3e9638[_0x2512d4[_0xc68a8c]]);}return _0x1d6cf4;},Ns=_0x234df0(function(_0x2e750d,_0x2186d0){const _0x90cb08=_0x112848;var _0x2eb1ee=_0x2e750d[_0x90cb08(0x5be)],_0x1e2972=_0x2e750d['id'],_0x52c868=_0x2e750d[_0x90cb08(0x5ef)],_0x3cc1b8=_0x2e750d['extend'],_0x4aab3d=Ca(_0x2e750d,['icon','id',_0x90cb08(0x5ef),'extend']),_0x3d4eb4='univerjs-icon\x20univerjs-icon-'[_0x90cb08(0x480)](_0x1e2972,'\x20')[_0x90cb08(0x480)](_0x52c868||'')[_0x90cb08(0x4a7)](),_0x370b15=_0x482462('_'[_0x90cb08(0x480)](Ta()));return Ji(_0x2eb1ee,''[_0x90cb08(0x480)](_0x1e2972),{'defIds':_0x2eb1ee['defIds'],'idSuffix':_0x370b15[_0x90cb08(0x3f2)]},te({'ref':_0x2186d0,'className':_0x3d4eb4},_0x4aab3d),_0x3cc1b8);});function Ji(_0x241120,_0x1f17c3,_0x72f5f6,_0x80a97d,_0x509e02){const _0x1efe80=_0x112848;return _0x7a3241(_0x241120[_0x1efe80(0x2ff)],te(te({'key':_0x1f17c3},Ea(_0x241120,_0x72f5f6,_0x509e02)),_0x80a97d),(ba(_0x241120,_0x72f5f6)[_0x1efe80(0x53d)]||[])[_0x1efe80(0x400)](function(_0x48b568,_0x44d7af){const _0x5e18ee=_0x1efe80;return Ji(_0x48b568,''[_0x5e18ee(0x480)](_0x1f17c3,'-')[_0x5e18ee(0x480)](_0x241120[_0x5e18ee(0x2ff)],'-')[_0x5e18ee(0x480)](_0x44d7af),_0x72f5f6,void 0x0,_0x509e02);}));}function Ea(_0x427996,_0x5e0214,_0x139b5b){const _0x59de77=_0x112848;var _0x5785a3=te({},_0x427996[_0x59de77(0x34b)]);_0x139b5b!=null&&_0x139b5b['colorChannel1']&&_0x5785a3[_0x59de77(0x255)]===_0x59de77(0x46e)&&(_0x5785a3[_0x59de77(0x255)]=_0x139b5b[_0x59de77(0x46e)]);var _0x1ae575=_0x5e0214[_0x59de77(0x2e2)];return!_0x1ae575||_0x1ae575[_0x59de77(0x2c7)]===0x0||(_0x427996[_0x59de77(0x2ff)]===_0x59de77(0x49d)&&_0x5785a3[_0x59de77(0x493)]&&(_0x5785a3[_0x59de77(0x493)]=_0x5785a3[_0x59de77(0x493)]+_0x5e0214[_0x59de77(0x576)]),Object[_0x59de77(0x2f1)](_0x5785a3)[_0x59de77(0x209)](function(_0x4e4eb0){const _0x4f33b5=_0x59de77;var _0x48cb0c=_0x4e4eb0[0x0],_0x1dd100=_0x4e4eb0[0x1];typeof _0x1dd100==_0x4f33b5(0x458)&&(_0x5785a3[_0x48cb0c]=_0x1dd100[_0x4f33b5(0x1f2)](/url\(#(.*)\)/,_0x4f33b5(0x339)[_0x4f33b5(0x480)](_0x5e0214[_0x4f33b5(0x576)],')')));})),_0x5785a3;}function ba(_0x374265,_0x4b60dd){const _0x491e7c=_0x112848;var _0x2739fd,_0x2b760f=_0x4b60dd[_0x491e7c(0x2e2)];return!_0x2b760f||_0x2b760f[_0x491e7c(0x2c7)]===0x0?_0x374265:_0x374265['tag']==='defs'&&(!((_0x2739fd=_0x374265['children'])===null||_0x2739fd===void 0x0)&&_0x2739fd['length'])?te(te({},_0x374265),{'children':_0x374265['children'][_0x491e7c(0x400)](function(_0x20fd1a){const _0x130895=_0x491e7c;return typeof _0x20fd1a['attrs']['id']==_0x130895(0x458)&&_0x2b760f&&_0x2b760f['indexOf'](_0x20fd1a[_0x130895(0x34b)]['id'])>-0x1?te(te({},_0x20fd1a),{'attrs':te(te({},_0x20fd1a[_0x130895(0x34b)]),{'id':_0x20fd1a['attrs']['id']+_0x4b60dd[_0x130895(0x576)]})}):_0x20fd1a;})}):_0x374265;}function Ta(){const _0x280d08=_0x112848;return Math[_0x280d08(0x312)]()[_0x280d08(0x27e)](0x24)[_0x280d08(0x39c)](0x2,0x8);}Ns[_0x112848(0x2e4)]='UniverIcon';var Ra={'tag':_0x112848(0x41d),'attrs':{'fill':_0x112848(0x3c1),'viewBox':_0x112848(0x448),'width':_0x112848(0x537),'height':_0x112848(0x537)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x112848(0x24c),'strokeLinecap':_0x112848(0x4d1),'strokeLinejoin':_0x112848(0x4d1),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x112848(0x316),'attrs':{'id':_0x112848(0x335)},'children':[{'tag':_0x112848(0x509),'attrs':{'fill':_0x112848(0x220),'d':_0x112848(0x418)}}]}]}],'defIds':[_0x112848(0x335)]},Zi=_0x234df0(function(_0x253056,_0x3ea732){return _0x7a3241(Ns,Object['assign']({},_0x253056,{'id':'off-line-single','ref':_0x3ea732,'icon':Ra}));});Zi[_0x112848(0x2e4)]=_0x112848(0x44a);var Oa={'tag':'svg','attrs':{'fill':_0x112848(0x3c1),'viewBox':_0x112848(0x439),'width':'1em','height':_0x112848(0x537)},'children':[{'tag':'g','attrs':{'clipPath':_0x112848(0x217)},'children':[{'tag':_0x112848(0x509),'attrs':{'stroke':'currentColor','d':_0x112848(0x246),'strokeLinecap':_0x112848(0x4d1),'strokeLinejoin':_0x112848(0x4d1),'strokeWidth':1.2}}]},{'tag':_0x112848(0x369),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x112848(0x5cb)},'children':[{'tag':_0x112848(0x509),'attrs':{'fill':'#fff','d':_0x112848(0x418),'transform':'translate(.97)'}}]}]}],'defIds':[_0x112848(0x5cb)]},Qi=_0x234df0(function(_0x2ac196,_0x4d42c6){const _0x150a64=_0x112848;return _0x7a3241(Ns,Object[_0x150a64(0x5ba)]({},_0x2ac196,{'id':_0x150a64(0x3e1),'ref':_0x4d42c6,'icon':Oa}));});Qi['displayName']='OnLineSingle';function er(_0x15385){const _0x76eda1=_0x112848;var _0x49e23d,_0x20c269,_0xb5d35a='';if(typeof _0x15385==_0x76eda1(0x458)||typeof _0x15385==_0x76eda1(0x467))_0xb5d35a+=_0x15385;else{if(typeof _0x15385==_0x76eda1(0x214)){if(Array[_0x76eda1(0x5f9)](_0x15385)){var _0x353fc5=_0x15385['length'];for(_0x49e23d=0x0;_0x49e23d<_0x353fc5;_0x49e23d++)_0x15385[_0x49e23d]&&(_0x20c269=er(_0x15385[_0x49e23d]))&&(_0xb5d35a&&(_0xb5d35a+='\x20'),_0xb5d35a+=_0x20c269);}else{for(_0x20c269 in _0x15385)_0x15385[_0x20c269]&&(_0xb5d35a&&(_0xb5d35a+='\x20'),_0xb5d35a+=_0x20c269);}}}return _0xb5d35a;}function ya(){const _0x1ba3a6=_0x112848;for(var _0x584310,_0x29a8ba,_0x1fe33c=0x0,_0xe5d767='',_0x3babab=arguments[_0x1ba3a6(0x2c7)];_0x1fe33c<_0x3babab;_0x1fe33c++)(_0x584310=arguments[_0x1fe33c])&&(_0x29a8ba=er(_0x584310))&&(_0xe5d767&&(_0xe5d767+='\x20'),_0xe5d767+=_0x29a8ba);return _0xe5d767;}const wa=_0x112848(0x570),Da=_0x112848(0x474),Pa=_0x112848(0x548),Ua=_0x112848(0x3aa),Na=_0x112848(0x522),Ze={'onlineStatusIcon':wa,'onlineStatusTitle':Da,'onlineStatus':Pa,'online':Ua,'offline':Na};function Aa(_0x4cd989){const _0x59ba45=_0x112848;switch(_0x4cd989){case J['OFFLINE']:return _0x59ba45(0x3f7);case J[_0x59ba45(0x57d)]:return'collabStatus.conflict';case J[_0x59ba45(0x295)]:return _0x59ba45(0x3bd);case J[_0x59ba45(0x4bc)]:return'collabStatus.notCollab';case J['AWAITING']:case J[_0x59ba45(0x476)]:return _0x59ba45(0x36d);case J[_0x59ba45(0x426)]:case J[_0x59ba45(0x2ce)]:return _0x59ba45(0x454);}}function Ma(_0xe212e0){const _0x2c7e8f=_0x112848,{status$:_0x4e3580}=_0xe212e0,_0x5bf520=_0x43ce4d(_0x4e3580,J[_0x2c7e8f(0x4bc)]),_0x256851=_0x2cfe22(_0x316ab9),_0x1419d3=_0x2cfe22(Me),_0x4d0c4f=_0x5bf520!==J[_0x2c7e8f(0x2c9)],_0x211f22=_0x256851['t'](Aa(_0x5bf520)),_0x15c424=ya(Ze[_0x2c7e8f(0x619)],{[Ze['online']]:_0x4d0c4f,[Ze['offline']]:!_0x4d0c4f}),_0x400e62=_0x4d0c4f?De[_0x2c7e8f(0x3e2)](Qi,{}):De[_0x2c7e8f(0x3e2)](Zi,{}),_0x378b3f=_0xe5146e(()=>{const _0x11e966=_0x2c7e8f;_0x4d0c4f||_0x1419d3[_0x11e966(0x4b1)]();},[_0x4d0c4f,_0x1419d3]);function _0x3eb9e0(){const _0x363893=_0x2c7e8f;return De[_0x363893(0x379)]('div',{'className':_0x15c424,'onClick':_0x378b3f,'children':[De[_0x363893(0x3e2)](_0x363893(0x31a),{'className':Ze[_0x363893(0x5af)],'children':_0x400e62}),De[_0x363893(0x3e2)](_0x363893(0x31a),{'className':Ze[_0x363893(0x610)],'children':_0x211f22})]});}return _0x4d0c4f?_0x3eb9e0():De[_0x2c7e8f(0x3e2)](_0x4eb3b3,{'title':_0x256851['t'](_0x2c7e8f(0x2de)),'children':_0x3eb9e0()});}var xa=Object['defineProperty'],La=Object['getOwnPropertyDescriptor'],$a=(_0x5dad0d,_0x2b0ab2,_0x162ac5,_0x3e1fe6)=>{const _0x2e5e5b=_0x112848;for(var _0x4be432=_0x3e1fe6>0x1?void 0x0:_0x3e1fe6?La(_0x2b0ab2,_0x162ac5):_0x2b0ab2,_0x51f200=_0x5dad0d[_0x2e5e5b(0x2c7)]-0x1,_0x41184e;_0x51f200>=0x0;_0x51f200--)(_0x41184e=_0x5dad0d[_0x51f200])&&(_0x4be432=(_0x3e1fe6?_0x41184e(_0x2b0ab2,_0x162ac5,_0x4be432):_0x41184e(_0x4be432))||_0x4be432);return _0x3e1fe6&&_0x4be432&&xa(_0x2b0ab2,_0x162ac5,_0x4be432),_0x4be432;},ht=(_0x151031,_0x1556b1)=>(_0x5420e4,_0x2831d8)=>_0x1556b1(_0x5420e4,_0x2831d8,_0x151031);let Nt=class extends _0x5c0223{constructor(_0x5dc5b3,_0x74562b,_0x3874b9,_0xbaacf7){const _0x5e25f4=_0x112848;super(),g(this,'_status$',new _0x1c751f(J[_0x5e25f4(0x4bc)])),(this['_univerInstanceService']=_0x5dc5b3,this[_0x5e25f4(0x521)]=_0x74562b,this[_0x5e25f4(0x382)]=_0x3874b9,this[_0x5e25f4(0x34c)]=_0xbaacf7,this[_0x5e25f4(0x2a2)](),this['_initStatusListener']());}[_0x112848(0x409)](){const _0x488441=_0x112848;this[_0x488441(0x29e)](this[_0x488441(0x3ad)]['focused$'][_0x488441(0x529)](_0x305d56(()=>{const _0x32205d=_0x488441,_0x2cebda=this['_univerInstanceService'][_0x32205d(0x377)]();return _0x2cebda?this[_0x32205d(0x34c)][_0x32205d(0x5a0)](_0x2cebda[_0x32205d(0x579)]()):_0x3856a9(null);}),_0x305d56(_0x19db3e=>_0x19db3e?_0x19db3e[_0x488441(0x603)]:_0x3856a9(J['NOT_COLLAB'])))[_0x488441(0x4f8)](_0x4a229b=>{const _0xca201e=_0x488441;this['_status$'][_0xca201e(0x53a)](_0x4a229b);}));}[_0x112848(0x2a2)](){const _0x2b5ef1=_0x112848;this[_0x2b5ef1(0x29e)](this[_0x2b5ef1(0x521)][_0x2b5ef1(0x5a1)](_0x4e8e5b[_0x2b5ef1(0x5b9)],()=>_0x39ed40(Ha({'status$':this['_status$']['asObservable']()}),this[_0x2b5ef1(0x382)])));}};Nt=$a([ht(0x0,_0x1efafe),ht(0x1,_0x66005c),ht(0x2,_0xa52f76(_0x2e5136)),ht(0x3,_0xa52f76(it))],Nt);function Ha(_0xa5b62){const {status$:_0x2244c6}=_0xa5b62;return function(){const _0x514c74=_0x5808;return De[_0x514c74(0x3e2)](Ma,{'status$':_0x2244c6});};}const tr=_0x20e782(_0x112848(0x31e));var ja=Object[_0x112848(0x47b)],Ba=Object[_0x112848(0x331)],ka=(_0x3ca766,_0x4a34e6,_0x36f0cb,_0x56602c)=>{const _0x3aeffd=_0x112848;for(var _0x66c91d=_0x56602c>0x1?void 0x0:_0x56602c?Ba(_0x4a34e6,_0x36f0cb):_0x4a34e6,_0x23a963=_0x3ca766[_0x3aeffd(0x2c7)]-0x1,_0x386534;_0x23a963>=0x0;_0x23a963--)(_0x386534=_0x3ca766[_0x23a963])&&(_0x66c91d=(_0x56602c?_0x386534(_0x4a34e6,_0x36f0cb,_0x66c91d):_0x386534(_0x66c91d))||_0x66c91d);return _0x56602c&&_0x66c91d&&ja(_0x4a34e6,_0x36f0cb,_0x66c91d),_0x66c91d;},Be=(_0x453356,_0x2f01cb)=>(_0x5d336f,_0x1cbdd8)=>_0x2f01cb(_0x5d336f,_0x1cbdd8,_0x453356);let At=class extends _0x40c6c0{constructor(_0x1c7b11,_0x5852a9,_0x1aae06,_0x1ef7d,_0x313ba8,_0x50bff6){const _0x2684e5=_0x112848;super(),this[_0x2684e5(0x443)]=_0x1c7b11,this[_0x2684e5(0x2bf)]=_0x5852a9,this[_0x2684e5(0x4f1)]=_0x1aae06,this[_0x2684e5(0x3fa)]=_0x1ef7d,this['_snapshotService']=_0x313ba8,_0x50bff6?_0x50bff6==null||_0x50bff6[_0x2684e5(0x2c4)]()['then'](()=>this[_0x2684e5(0x52b)]()):(this[_0x2684e5(0x2bf)][_0x2684e5(0x234)](_0x2684e5(0x5c6),_0x2684e5(0x498)),this[_0x2684e5(0x52b)]());}async[_0x112848(0x52b)](){const _0x275038=_0x112848,_0x18012c=this['_urlService']['getParam'](_0x275038(0x5eb)),_0x5999a9=this[_0x275038(0x443)][_0x275038(0x5e8)](_0x275038(0x5b1));if(!_0x18012c||!_0x5999a9){this[_0x275038(0x2bf)][_0x275038(0x234)](_0x275038(0x5c6),_0x275038(0x4ad));return;}switch(Number(_0x5999a9)){case ae[_0x275038(0x3f0)]:{const _0x398385=await this[_0x275038(0x61c)](_0x18012c);this['_setupSubUnitSync'](_0x398385);break;}case ae[_0x275038(0x538)]:{await this['_loadDoc'](_0x18012c);break;}default:{this[_0x275038(0x2bf)][_0x275038(0x3b9)](_0x275038(0x5c6),_0x275038(0x46f));break;}}}async[_0x112848(0x401)](_0x1dec33){const _0x16ae97=_0x112848;await this['_updateSubUnitFromURLParams'](_0x1dec33),_0x1dec33[_0x16ae97(0x442)][_0x16ae97(0x529)](_0xb4b5bf(this[_0x16ae97(0x204)]))['subscribe'](_0x3184fa=>{const _0x562110=_0x16ae97;_0x3184fa&&this[_0x562110(0x4da)](_0x3184fa);}),this[_0x16ae97(0x443)][_0x16ae97(0x2a3)][_0x16ae97(0x529)](_0xb4b5bf(this['dispose$']))[_0x16ae97(0x4f8)](()=>this['_updateSubUnitFromURLParams'](_0x1dec33));}[_0x112848(0x4da)](_0x95334b,_0xd5e616=!0x1){const _0x346677=_0x112848,_0x4dcc4c=this[_0x346677(0x443)][_0x346677(0x5e8)](_0x346677(0x2dc));_0x95334b[_0x346677(0x451)]()!==_0x4dcc4c&&this[_0x346677(0x443)][_0x346677(0x477)](_0x346677(0x2dc),_0x95334b[_0x346677(0x451)](),_0xd5e616);}async[_0x112848(0x55f)](_0x1e08af){const _0xdbc221=_0x112848;var _0x3ebc59;const _0x5e4ff9=this['_urlService'][_0xdbc221(0x5e8)]('subunit');if(!_0x5e4ff9||!_0x1e08af[_0xdbc221(0x5b0)](_0x5e4ff9)){const _0x3cea2b=_0x1e08af['getUnhiddenWorksheets']()[0x0],_0x3723ad=_0x1e08af[_0xdbc221(0x5b0)](_0x3cea2b);if(!_0x3723ad)return;this[_0xdbc221(0x4da)](_0x3723ad,!0x0),await this[_0xdbc221(0x4f1)][_0xdbc221(0x283)](_0x1a52ba['id'],{'unitId':_0x1e08af['getUnitId'](),'subUnitId':_0x3cea2b});return;}((_0x3ebc59=_0x1e08af[_0xdbc221(0x3a3)]())==null?void 0x0:_0x3ebc59[_0xdbc221(0x451)]())!==_0x5e4ff9&&await this[_0xdbc221(0x4f1)][_0xdbc221(0x283)](_0x1a52ba['id'],{'unitId':_0x1e08af[_0xdbc221(0x579)](),'subUnitId':_0x5e4ff9});}async[_0x112848(0x61c)](_0xb951fd){const _0x1466c5=_0x112848;let _0x6a1e31=0x0;const _0x38f14a=await this[_0x1466c5(0x3fa)][_0x1466c5(0x444)](_0xb951fd);return _0x38f14a&&(_0x38f14a[_0x1466c5(0x330)]||_0x38f14a[_0x1466c5(0x3c0)][_0x1466c5(0x2c7)]!==0x0)&&(_0x6a1e31=_0x38f14a[_0x1466c5(0x478)]),_0x6a1e31===0x0&&this[_0x1466c5(0x2bf)][_0x1466c5(0x234)](_0x1466c5(0x5c6),_0x1466c5(0x519)),this[_0x1466c5(0x26c)]['loadSheet'](_0xb951fd,_0x6a1e31);}async[_0x112848(0x2e7)](_0x5cbbf9){const _0x5e48a9=_0x112848;let _0x25ca8b=0x0;const _0x40b260=await this[_0x5e48a9(0x3fa)][_0x5e48a9(0x444)](_0x5cbbf9);return _0x40b260&&(_0x40b260[_0x5e48a9(0x330)]||_0x40b260['mutations']['length']!==0x0)&&(_0x25ca8b=_0x40b260['rev']),_0x25ca8b===0x0&&this[_0x5e48a9(0x2bf)]['debug']('[DataLoaderController]',_0x5e48a9(0x519)),this['_snapshotService'][_0x5e48a9(0x381)](_0x5cbbf9,_0x25ca8b);}};At=ka([Be(0x0,tr),Be(0x1,_0x5268cc),Be(0x2,_0x18a422),Be(0x3,_0xa52f76(z)),Be(0x4,_0xa52f76(_0x17912e)),Be(0x5,_0x2fcc7a(_0x1f5375))],At);var Wa=Object[_0x112848(0x47b)],Fa=Object[_0x112848(0x331)],Va=(_0x272268,_0x4c5403,_0x471009,_0x837e39)=>{const _0x47dcaa=_0x112848;for(var _0x29c0d1=_0x837e39>0x1?void 0x0:_0x837e39?Fa(_0x4c5403,_0x471009):_0x4c5403,_0x5bebfe=_0x272268[_0x47dcaa(0x2c7)]-0x1,_0xd73bcc;_0x5bebfe>=0x0;_0x5bebfe--)(_0xd73bcc=_0x272268[_0x5bebfe])&&(_0x29c0d1=(_0x837e39?_0xd73bcc(_0x4c5403,_0x471009,_0x29c0d1):_0xd73bcc(_0x29c0d1))||_0x29c0d1);return _0x837e39&&_0x29c0d1&&Wa(_0x4c5403,_0x471009,_0x29c0d1),_0x29c0d1;},oi=(_0x3a37bf,_0x240d9e)=>(_0x3245b6,_0x41325e)=>_0x240d9e(_0x3245b6,_0x41325e,_0x3a37bf);const Ga=_0x112848(0x47f),Ya='Univer';let Mt=class extends _0x5c0223{constructor(_0x9a7107,_0x57228d){const _0x3ebb24=_0x112848;super(),this['_univerInstanceService']=_0x9a7107,this['_configService']=_0x57228d,this[_0x3ebb24(0x52b)]();}['_init'](){const _0x50d638=_0x112848;this[_0x50d638(0x29e)](this['_univerInstanceService'][_0x50d638(0x5fe)][_0x50d638(0x4f8)](()=>{const _0x2f24d1=_0x50d638;var _0x144c2c;const _0xc3833d=this['_univerInstanceService'][_0x2f24d1(0x377)]();let _0x357ad2=(_0x144c2c=this[_0x2f24d1(0x3bf)]['getConfig'](Ga))!=null?_0x144c2c:Ya;_0xc3833d instanceof _0x25ce1f&&(_0x357ad2=_0xc3833d[_0x2f24d1(0x353)]),document[_0x2f24d1(0x544)]=_0x357ad2;}));}};Mt=Va([oi(0x0,_0x1efafe),oi(0x1,_0x11a6c7)],Mt);var Ka=Object[_0x112848(0x47b)],qa=Object[_0x112848(0x331)],za=(_0x1581c6,_0x5b80d0,_0x28a166,_0x20e3ae)=>{const _0x23d164=_0x112848;for(var _0xdaf783=_0x20e3ae>0x1?void 0x0:_0x20e3ae?qa(_0x5b80d0,_0x28a166):_0x5b80d0,_0x49df0d=_0x1581c6[_0x23d164(0x2c7)]-0x1,_0x221e7f;_0x49df0d>=0x0;_0x49df0d--)(_0x221e7f=_0x1581c6[_0x49df0d])&&(_0xdaf783=(_0x20e3ae?_0x221e7f(_0x5b80d0,_0x28a166,_0xdaf783):_0x221e7f(_0xdaf783))||_0xdaf783);return _0x20e3ae&&_0xdaf783&&Ka(_0x5b80d0,_0x28a166,_0xdaf783),_0xdaf783;},ss=(_0x2951e0,_0x2b1f78)=>(_0x3137ab,_0x13f8a8)=>_0x2b1f78(_0x3137ab,_0x13f8a8,_0x2951e0);let xt=class{constructor(_0x4ed9e3,_0x5b0160,_0xc6ebec){const _0x261a3d=_0x112848;this['_configService']=_0x4ed9e3,this[_0x261a3d(0x216)]=_0x5b0160,this[_0x261a3d(0x563)]=_0xc6ebec,this['init']();}['init'](){const _0x12650b=_0x112848;this[_0x12650b(0x216)][_0x12650b(0x43c)]({'priority':0x1,'interceptor':(_0x56d1a7,_0x222274)=>_0x222274(_0x56d1a7)['pipe'](_0x7c024f(async _0x273d8b=>{const _0x5e3225=_0x12650b,_0x648275=_0x273d8b;if(_0x648275[_0x5e3225(0x5ea)]===0x191&&window[_0x5e3225(0x260)](this[_0x5e3225(0x563)]['t']('auth.needGotoLoginAlert'))){const _0x14234c=window['encodeURIComponent'](window[_0x5e3225(0x51a)][_0x5e3225(0x326)]);window[_0x5e3225(0x51a)][_0x5e3225(0x326)]=this[_0x5e3225(0x5b3)]()+_0x5e3225(0x453)+_0x14234c;}return _0x648275;}))});}[_0x112848(0x5b3)](){const _0x10305e=_0x112848;var _0x5d1b1e,_0x2ecd13;const _0x352217=this[_0x10305e(0x3bf)][_0x10305e(0x496)]($n),_0x149fa6=this['_configService'][_0x10305e(0x496)](Q);return(_0x2ecd13=(_0x5d1b1e=_0x149fa6==null?void 0x0:_0x149fa6['loginUrlKey'])!=null?_0x5d1b1e:_0x352217)!=null?_0x2ecd13:Hn;}};xt=za([ss(0x0,_0x11a6c7),ss(0x1,_0xa52f76(_0xf832d4)),ss(0x2,_0xa52f76(_0x316ab9))],xt);var Xa=Object['defineProperty'],Ja=Object['getOwnPropertyDescriptor'],Za=(_0x2d230b,_0x299f3d,_0x1abd33,_0x1e9f0d)=>{const _0x13df11=_0x112848;for(var _0x108ca0=_0x1e9f0d>0x1?void 0x0:_0x1e9f0d?Ja(_0x299f3d,_0x1abd33):_0x299f3d,_0x39935c=_0x2d230b[_0x13df11(0x2c7)]-0x1,_0x3d0a91;_0x39935c>=0x0;_0x39935c--)(_0x3d0a91=_0x2d230b[_0x39935c])&&(_0x108ca0=(_0x1e9f0d?_0x3d0a91(_0x299f3d,_0x1abd33,_0x108ca0):_0x3d0a91(_0x108ca0))||_0x108ca0);return _0x1e9f0d&&_0x108ca0&&Xa(_0x299f3d,_0x1abd33,_0x108ca0),_0x108ca0;},ai=(_0x1b3947,_0x50b106)=>(_0x464f91,_0x178806)=>_0x50b106(_0x464f91,_0x178806,_0x1b3947);const sr=_0x112848(0x26f),Qa='/universer-api/authz';let vs=class extends _0x5c0223{constructor(_0x35acb3,_0x382815){const _0x216ed0=_0x112848;super(),this['_HTTPService']=_0x35acb3,this['_configService']=_0x382815,this[_0x216ed0(0x314)]();}[_0x112848(0x314)](){const _0x135455=_0x112848,_0x46c1d5=this;this['disposeWithMe'](this[_0x135455(0x46b)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x4156b0({'isMatch'(_0x38cf71){const _0x17f915=_0x135455;var _0x2b724;if(_0x38cf71[_0x17f915(0x5ae)]===_0x17f915(0x48b)&&((_0x2b724=_0x38cf71['requestParams'])!=null&&_0x2b724[_0x17f915(0x321)])){const {objectID:_0x5dbd44,objectType:_0x2ab36f}=_0x38cf71[_0x17f915(0x22b)][_0x17f915(0x321)]||{};if(!_0x5dbd44||_0x2ab36f===void 0x0)return!0x1;const _0x2b653c=_0x46c1d5[_0x17f915(0x2c6)]()+'/'+_0x2ab36f+'/object/'+_0x5dbd44+_0x17f915(0x344);if(_0x38cf71[_0x17f915(0x3dd)]===_0x2b653c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x52a333){const _0x2d4476=_0x135455;var _0x4ef8f6;return(_0x4ef8f6=_0x52a333['requestParams'])==null?void 0x0:_0x4ef8f6[_0x2d4476(0x321)];},'mergeParamsToRequest'(_0x27462e,_0x105264){const _0x290cf1=_0x135455,_0x22649e=_0x46c1d5[_0x290cf1(0x2c6)]()+_0x290cf1(0x48c),_0x1f7841=_0x27462e[_0x290cf1(0x456)]((_0x3f8ca0,_0x112307)=>{const _0x387e48=_0x290cf1,{unitID:_0x5bc235,objectID:_0xa88350,objectType:_0x4f2620,actions:_0x3a1537}=_0x112307;return _0x3f8ca0[_0x5bc235]||(_0x3f8ca0[_0x5bc235]={}),_0x3f8ca0[_0x5bc235][_0xa88350]||(_0x3f8ca0[_0x5bc235][_0xa88350]={'objectID':_0xa88350,'objectType':_0x4f2620,'actions':[]}),_0x3f8ca0[_0x5bc235][_0xa88350][_0x387e48(0x35b)][_0x387e48(0x2aa)](..._0x3a1537),_0x3f8ca0;},{}),_0x370d91=[];for(const _0x6a3a13 in _0x1f7841)for(const _0x279261 in _0x1f7841[_0x6a3a13]){const {actions:_0x232000,objectType:_0x4937ce}=_0x1f7841[_0x6a3a13][_0x279261],_0x527da6=[...new Set(_0x232000)];_0x370d91[_0x290cf1(0x2aa)]({'unitID':_0x6a3a13,'objectID':_0x279261,'objectType':_0x4937ce,'actions':_0x527da6});}return new _0x3f6815(_0x290cf1(0x48b),_0x22649e,{'headers':_0x105264[_0x290cf1(0x21d)],'withCredentials':_0x105264[_0x290cf1(0x412)],'responseType':_0x105264['responseType'],'body':{'requests':_0x370d91}});}},{'distributeResult'(_0xb9cb53,_0x3880db){const _0x25e8b6=_0x135455,{objectActions:_0x214a79}=_0xb9cb53;return _0x3880db[_0x25e8b6(0x400)](_0x1c05f4=>{const _0x5ea827=_0x25e8b6,{unitID:_0xe46f63,objectID:_0x9e89a0,actions:_0x4f7e2a}=_0x1c05f4,_0x27284e=_0x214a79['find'](_0x4a23d3=>_0x4a23d3['unitID']===_0xe46f63&&_0x4a23d3[_0x5ea827(0x5b4)]===_0x9e89a0),_0x52d7c9=_0x4f7e2a[_0x5ea827(0x400)](_0xed44ee=>_0x27284e==null?void 0x0:_0x27284e[_0x5ea827(0x35b)][_0x5ea827(0x361)](_0x3cda30=>_0x3cda30[_0x5ea827(0x5e7)]===_0xed44ee))[_0x5ea827(0x482)](_0x2a20db=>!!_0x2a20db);return{'config':_0x1c05f4,'result':{'actions':_0x52d7c9,'error':_0xb9cb53['error']}};});}})}));}[_0x112848(0x2c6)](){const _0xad517=_0x112848;var _0x29a80f,_0x24c639;const _0x468408=this[_0xad517(0x3bf)][_0xad517(0x496)](sr),_0x1aaab0=this[_0xad517(0x3bf)][_0xad517(0x496)](Q);return(_0x24c639=(_0x29a80f=_0x1aaab0==null?void 0x0:_0x1aaab0['authzUrl'])!=null?_0x29a80f:_0x468408)!=null?_0x24c639:Qa;}async[_0x112848(0x398)](_0x24f0da){const _0x3e2947=_0x112848,_0x58b1d7=this['_getAPIPrefixPath']()+'/'+_0x24f0da['objectType']+_0x3e2947(0x302);return(await this[_0x3e2947(0x46b)]['post'](_0x58b1d7,{'body':_0x24f0da}))[_0x3e2947(0x321)][_0x3e2947(0x5b4)]||'';}async[_0x112848(0x48f)](_0x515a1e){const _0x55e4b3=_0x112848,_0x289702=this[_0x55e4b3(0x2c6)]()+_0x55e4b3(0x213);return(await this['_HTTPService']['post'](_0x289702,{'body':_0x515a1e}))['body'][_0x55e4b3(0x434)];}async['update'](_0x2ef710){const _0x3a53a5=_0x112848,_0x1b4191=this[_0x3a53a5(0x2c6)]()+'/'+_0x2ef710[_0x3a53a5(0x47a)]+_0x3a53a5(0x24a)+_0x2ef710[_0x3a53a5(0x5b4)];await this[_0x3a53a5(0x46b)][_0x3a53a5(0x3c7)](_0x1b4191,{'body':_0x2ef710});}async['allowed'](_0x4b372d){const _0x3c1b04=_0x112848,_0x3feb97=this[_0x3c1b04(0x2c6)]()+'/'+_0x4b372d[_0x3c1b04(0x47a)]+_0x3c1b04(0x24a)+_0x4b372d[_0x3c1b04(0x5b4)]+_0x3c1b04(0x344);return(await this['_HTTPService'][_0x3c1b04(0x368)](_0x3feb97,{'body':_0x4b372d}))[_0x3c1b04(0x321)][_0x3c1b04(0x35b)];}async[_0x112848(0x42d)](_0x15cade){const _0x24670e=_0x112848,_0x143a64=this[_0x24670e(0x2c6)]()+_0x24670e(0x48c);return(await this[_0x24670e(0x46b)][_0x24670e(0x368)](_0x143a64,{'body':{'requests':_0x15cade}}))[_0x24670e(0x321)][_0x24670e(0x367)];}async[_0x112848(0x54f)](_0x3f84eb){const _0x1e93cd=_0x112848,_0x1dad91=this['_getAPIPrefixPath']()+'/'+_0x3f84eb[_0x1e93cd(0x47a)]+_0x1e93cd(0x222),_0x236d3f=await this['_HTTPService'][_0x1e93cd(0x368)](_0x1dad91,{'body':_0x3f84eb});return{'roles':_0x236d3f[_0x1e93cd(0x321)]['roles'],'actions':_0x236d3f['body']['actions']};}async[_0x112848(0x3ba)](_0x112148){const _0x18a4b2=_0x112848,_0x4ce821=this[_0x18a4b2(0x2c6)]()+_0x18a4b2(0x584);await this[_0x18a4b2(0x46b)][_0x18a4b2(0x37b)](_0x4ce821,{'params':{'collaboratorID':_0x112148[_0x18a4b2(0x24d)],'objectID':_0x112148[_0x18a4b2(0x5b4)],'unitID':_0x112148[_0x18a4b2(0x5e0)]}});}async['updateCollaborator'](_0xac7294){const _0x4884cc=_0x112848,_0x27506f=this[_0x4884cc(0x2c6)]()+_0x4884cc(0x584);await this[_0x4884cc(0x46b)][_0x4884cc(0x2be)](_0x27506f,{'body':_0xac7294});}async[_0x112848(0x5d0)](_0x21e0ad){const _0x5b646c=_0x112848,_0x89ede7=this['_getAPIPrefixPath']()+_0x5b646c(0x584);await this[_0x5b646c(0x46b)][_0x5b646c(0x368)](_0x89ede7,{'body':_0x21e0ad});}async['listCollaborators'](_0xd4b47d){const _0x5d281c=_0x112848,_0x172514=this[_0x5d281c(0x2c6)]()+'/collaborator';return(await this[_0x5d281c(0x46b)]['get'](_0x172514,{'params':{'objectID':_0xd4b47d[_0x5d281c(0x5b4)],'unitID':_0xd4b47d['unitID']}}))[_0x5d281c(0x321)][_0x5d281c(0x376)];}async['putCollaborators'](_0x2e2a84){const _0x82c852=_0x112848,_0x3b7fb3=this[_0x82c852(0x2c6)]()+'/collaborator';await this['_HTTPService'][_0x82c852(0x3c7)](_0x3b7fb3,{'body':_0x2e2a84});}};vs=Za([ai(0x0,_0xa52f76(_0xf832d4)),ai(0x1,_0xa52f76(_0x11a6c7))],vs);var ut={'exports':{}};function ec(_0x5289be){const _0x761986=_0x112848;throw new Error(_0x761986(0x3fc)+_0x5289be+_0x761986(0x257));}var dt={'exports':{}},tc=dt[_0x112848(0x23f)],ci;function _e(){const _0x34154d=_0x112848;return ci||(ci=0x1,function(_0x5e7c10,_0x72a06){(function(_0x4e7dd5,_0x4e607b){const _0x460310=_0x5808;_0x5e7c10[_0x460310(0x23f)]=_0x4e607b();}(tc,function(){var _0x5aa3c1=_0x5aa3c1||function(_0x3c85f1,_0x36a646){const _0x16e9ea=_0x5808;var _0x6b9a5d;if(typeof window<'u'&&window[_0x16e9ea(0x609)]&&(_0x6b9a5d=window['crypto']),typeof self<'u'&&self[_0x16e9ea(0x609)]&&(_0x6b9a5d=self[_0x16e9ea(0x609)]),typeof globalThis<'u'&&globalThis[_0x16e9ea(0x609)]&&(_0x6b9a5d=globalThis[_0x16e9ea(0x609)]),!_0x6b9a5d&&typeof window<'u'&&window[_0x16e9ea(0x2cd)]&&(_0x6b9a5d=window['msCrypto']),!_0x6b9a5d&&typeof es<'u'&&es['crypto']&&(_0x6b9a5d=es[_0x16e9ea(0x609)]),!_0x6b9a5d&&typeof ec==_0x16e9ea(0x4ce))try{_0x6b9a5d=require(_0x16e9ea(0x609));}catch{}var _0x305228=function(){const _0x45d578=_0x16e9ea;if(_0x6b9a5d){if(typeof _0x6b9a5d[_0x45d578(0x497)]==_0x45d578(0x4ce))try{return _0x6b9a5d['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x6b9a5d['randomBytes']=='function')try{return _0x6b9a5d[_0x45d578(0x4bf)](0x4)[_0x45d578(0x541)]();}catch{}}throw new Error(_0x45d578(0x599));},_0x2befe0=Object[_0x16e9ea(0x398)]||(function(){function _0x2ba464(){}return function(_0x2a352e){const _0x39f0b4=_0x5808;var _0x24de64;return _0x2ba464[_0x39f0b4(0x36f)]=_0x2a352e,_0x24de64=new _0x2ba464(),_0x2ba464[_0x39f0b4(0x36f)]=null,_0x24de64;};}()),_0x363f01={},_0x34f248=_0x363f01[_0x16e9ea(0x560)]={},_0x48e57d=_0x34f248[_0x16e9ea(0x549)]=(function(){return{'extend':function(_0x1f4002){const _0x4cd775=_0x5808;var _0x152dfc=_0x2befe0(this);return _0x1f4002&&_0x152dfc[_0x4cd775(0x591)](_0x1f4002),(!_0x152dfc[_0x4cd775(0x575)]('init')||this[_0x4cd775(0x460)]===_0x152dfc[_0x4cd775(0x460)])&&(_0x152dfc['init']=function(){const _0x146142=_0x4cd775;_0x152dfc['$super']['init'][_0x146142(0x290)](this,arguments);}),_0x152dfc['init'][_0x4cd775(0x36f)]=_0x152dfc,_0x152dfc[_0x4cd775(0x4fc)]=this,_0x152dfc;},'create':function(){const _0x29938e=_0x5808;var _0x44b5ee=this[_0x29938e(0x378)]();return _0x44b5ee[_0x29938e(0x460)][_0x29938e(0x290)](_0x44b5ee,arguments),_0x44b5ee;},'init':function(){},'mixIn':function(_0x4d8ffe){const _0x5d0d1c=_0x5808;for(var _0x3cc6d8 in _0x4d8ffe)_0x4d8ffe[_0x5d0d1c(0x575)](_0x3cc6d8)&&(this[_0x3cc6d8]=_0x4d8ffe[_0x3cc6d8]);_0x4d8ffe[_0x5d0d1c(0x575)](_0x5d0d1c(0x27e))&&(this[_0x5d0d1c(0x27e)]=_0x4d8ffe['toString']);},'clone':function(){const _0x582d9e=_0x5808;return this[_0x582d9e(0x460)][_0x582d9e(0x36f)][_0x582d9e(0x378)](this);}};}()),_0x26bf69=_0x34f248['WordArray']=_0x48e57d[_0x16e9ea(0x378)]({'init':function(_0x3063af,_0x464929){const _0x2f7a9c=_0x16e9ea;_0x3063af=this[_0x2f7a9c(0x2b4)]=_0x3063af||[],_0x464929!=_0x36a646?this[_0x2f7a9c(0x390)]=_0x464929:this[_0x2f7a9c(0x390)]=_0x3063af['length']*0x4;},'toString':function(_0x511998){const _0x1838c0=_0x16e9ea;return(_0x511998||_0x57541c)[_0x1838c0(0x2f0)](this);},'concat':function(_0x1c6f0b){const _0xbbc759=_0x16e9ea;var _0x46a671=this[_0xbbc759(0x2b4)],_0x2b65e5=_0x1c6f0b['words'],_0x483b96=this[_0xbbc759(0x390)],_0x8ce1a1=_0x1c6f0b[_0xbbc759(0x390)];if(this['clamp'](),_0x483b96%0x4)for(var _0x1704d6=0x0;_0x1704d6<_0x8ce1a1;_0x1704d6++){var _0x89b16a=_0x2b65e5[_0x1704d6>>>0x2]>>>0x18-_0x1704d6%0x4*0x8&0xff;_0x46a671[_0x483b96+_0x1704d6>>>0x2]|=_0x89b16a<<0x18-(_0x483b96+_0x1704d6)%0x4*0x8;}else{for(var _0x34b91c=0x0;_0x34b91c<_0x8ce1a1;_0x34b91c+=0x4)_0x46a671[_0x483b96+_0x34b91c>>>0x2]=_0x2b65e5[_0x34b91c>>>0x2];}return this[_0xbbc759(0x390)]+=_0x8ce1a1,this;},'clamp':function(){const _0x40cc40=_0x16e9ea;var _0x50bf78=this[_0x40cc40(0x2b4)],_0x3befc6=this[_0x40cc40(0x390)];_0x50bf78[_0x3befc6>>>0x2]&=0xffffffff<<0x20-_0x3befc6%0x4*0x8,_0x50bf78[_0x40cc40(0x2c7)]=_0x3c85f1[_0x40cc40(0x2ec)](_0x3befc6/0x4);},'clone':function(){const _0x6791=_0x16e9ea;var _0x2ff1d7=_0x48e57d[_0x6791(0x40b)][_0x6791(0x32c)](this);return _0x2ff1d7['words']=this['words']['slice'](0x0),_0x2ff1d7;},'random':function(_0x59994d){const _0x4eb3c7=_0x16e9ea;for(var _0x5d1e2e=[],_0x3e5b3c=0x0;_0x3e5b3c<_0x59994d;_0x3e5b3c+=0x4)_0x5d1e2e[_0x4eb3c7(0x2aa)](_0x305228());return new _0x26bf69[(_0x4eb3c7(0x460))](_0x5d1e2e,_0x59994d);}}),_0x3670eb=_0x363f01[_0x16e9ea(0x2ae)]={},_0x57541c=_0x3670eb[_0x16e9ea(0x241)]={'stringify':function(_0x343c91){const _0x162c0b=_0x16e9ea;for(var _0x31ade8=_0x343c91[_0x162c0b(0x2b4)],_0x80118b=_0x343c91[_0x162c0b(0x390)],_0xc34fe0=[],_0x2e85a2=0x0;_0x2e85a2<_0x80118b;_0x2e85a2++){var _0x3c5dbd=_0x31ade8[_0x2e85a2>>>0x2]>>>0x18-_0x2e85a2%0x4*0x8&0xff;_0xc34fe0[_0x162c0b(0x2aa)]((_0x3c5dbd>>>0x4)[_0x162c0b(0x27e)](0x10)),_0xc34fe0['push']((_0x3c5dbd&0xf)[_0x162c0b(0x27e)](0x10));}return _0xc34fe0[_0x162c0b(0x517)]('');},'parse':function(_0xdc44f0){const _0x133c3f=_0x16e9ea;for(var _0x3f26dc=_0xdc44f0[_0x133c3f(0x2c7)],_0x37f8af=[],_0x518de2=0x0;_0x518de2<_0x3f26dc;_0x518de2+=0x2)_0x37f8af[_0x518de2>>>0x3]|=parseInt(_0xdc44f0[_0x133c3f(0x2b6)](_0x518de2,0x2),0x10)<<0x18-_0x518de2%0x8*0x4;return new _0x26bf69[(_0x133c3f(0x460))](_0x37f8af,_0x3f26dc/0x2);}},_0x2a6d1c=_0x3670eb['Latin1']={'stringify':function(_0x3bebd4){const _0x349d69=_0x16e9ea;for(var _0x4f9694=_0x3bebd4[_0x349d69(0x2b4)],_0x5a7f5e=_0x3bebd4[_0x349d69(0x390)],_0xc5a461=[],_0x4bb9ea=0x0;_0x4bb9ea<_0x5a7f5e;_0x4bb9ea++){var _0x28ccd2=_0x4f9694[_0x4bb9ea>>>0x2]>>>0x18-_0x4bb9ea%0x4*0x8&0xff;_0xc5a461['push'](String[_0x349d69(0x3ab)](_0x28ccd2));}return _0xc5a461['join']('');},'parse':function(_0x377178){const _0x3cffa1=_0x16e9ea;for(var _0x333eef=_0x377178[_0x3cffa1(0x2c7)],_0x1625aa=[],_0x581676=0x0;_0x581676<_0x333eef;_0x581676++)_0x1625aa[_0x581676>>>0x2]|=(_0x377178['charCodeAt'](_0x581676)&0xff)<<0x18-_0x581676%0x4*0x8;return new _0x26bf69[(_0x3cffa1(0x460))](_0x1625aa,_0x333eef);}},_0x420926=_0x3670eb[_0x16e9ea(0x2cc)]={'stringify':function(_0x26316b){const _0x150451=_0x16e9ea;try{return decodeURIComponent(escape(_0x2a6d1c[_0x150451(0x2f0)](_0x26316b)));}catch{throw new Error(_0x150451(0x5ed));}},'parse':function(_0x3a81fd){return _0x2a6d1c['parse'](unescape(encodeURIComponent(_0x3a81fd)));}},_0x11f5ca=_0x34f248[_0x16e9ea(0x363)]=_0x48e57d['extend']({'reset':function(){const _0x101dd4=_0x16e9ea;this[_0x101dd4(0x371)]=new _0x26bf69[(_0x101dd4(0x460))](),this[_0x101dd4(0x5e3)]=0x0;},'_append':function(_0x1c4c5e){const _0xc5f49b=_0x16e9ea;typeof _0x1c4c5e==_0xc5f49b(0x458)&&(_0x1c4c5e=_0x420926['parse'](_0x1c4c5e)),this['_data']['concat'](_0x1c4c5e),this[_0xc5f49b(0x5e3)]+=_0x1c4c5e[_0xc5f49b(0x390)];},'_process':function(_0x3b409b){const _0x5d4569=_0x16e9ea;var _0xd9d090,_0x51d0d2=this['_data'],_0x20bf9d=_0x51d0d2['words'],_0x45cadb=_0x51d0d2['sigBytes'],_0x176701=this['blockSize'],_0x35b671=_0x176701*0x4,_0x289ff7=_0x45cadb/_0x35b671;_0x3b409b?_0x289ff7=_0x3c85f1[_0x5d4569(0x2ec)](_0x289ff7):_0x289ff7=_0x3c85f1[_0x5d4569(0x21f)]((_0x289ff7|0x0)-this[_0x5d4569(0x5fc)],0x0);var _0x2feb68=_0x289ff7*_0x176701,_0x308149=_0x3c85f1['min'](_0x2feb68*0x4,_0x45cadb);if(_0x2feb68){for(var _0x2feaae=0x0;_0x2feaae<_0x2feb68;_0x2feaae+=_0x176701)this[_0x5d4569(0x380)](_0x20bf9d,_0x2feaae);_0xd9d090=_0x20bf9d['splice'](0x0,_0x2feb68),_0x51d0d2[_0x5d4569(0x390)]-=_0x308149;}return new _0x26bf69[(_0x5d4569(0x460))](_0xd9d090,_0x308149);},'clone':function(){const _0x2c6158=_0x16e9ea;var _0x726004=_0x48e57d['clone']['call'](this);return _0x726004[_0x2c6158(0x371)]=this[_0x2c6158(0x371)][_0x2c6158(0x40b)](),_0x726004;},'_minBufferSize':0x0});_0x34f248['Hasher']=_0x11f5ca[_0x16e9ea(0x378)]({'cfg':_0x48e57d[_0x16e9ea(0x378)](),'init':function(_0xc030e4){const _0x26fc72=_0x16e9ea;this[_0x26fc72(0x4ed)]=this[_0x26fc72(0x4ed)][_0x26fc72(0x378)](_0xc030e4),this[_0x26fc72(0x546)]();},'reset':function(){const _0xb87a04=_0x16e9ea;_0x11f5ca[_0xb87a04(0x546)][_0xb87a04(0x32c)](this),this[_0xb87a04(0x540)]();},'update':function(_0x312388){const _0x352420=_0x16e9ea;return this[_0x352420(0x3c2)](_0x312388),this[_0x352420(0x489)](),this;},'finalize':function(_0x43e4d4){const _0x22680f=_0x16e9ea;_0x43e4d4&&this[_0x22680f(0x3c2)](_0x43e4d4);var _0x259da8=this['_doFinalize']();return _0x259da8;},'blockSize':0x10,'_createHelper':function(_0x6e09d3){return function(_0x4e70a9,_0x47e3c0){const _0x425ce8=_0x5808;return new _0x6e09d3[(_0x425ce8(0x460))](_0x47e3c0)[_0x425ce8(0x3fb)](_0x4e70a9);};},'_createHmacHelper':function(_0x529432){return function(_0x355de0,_0x2596e9){const _0x2b5e86=_0x5808;return new _0x4e6d14['HMAC'][(_0x2b5e86(0x460))](_0x529432,_0x2596e9)[_0x2b5e86(0x3fb)](_0x355de0);};}});var _0x4e6d14=_0x363f01['algo']={};return _0x363f01;}(Math);return _0x5aa3c1;}));}(dt)),dt[_0x34154d(0x23f)];}var ft={'exports':{}},sc=ft[_0x112848(0x23f)],hi;function ir(){const _0x3f9f21=_0x112848;return hi||(hi=0x1,function(_0x4c09b7,_0x319f3e){(function(_0x37d81f,_0x6929a0){const _0x3b99b2=_0x5808;_0x4c09b7[_0x3b99b2(0x23f)]=_0x6929a0(_e());}(sc,function(_0x5a22ab){const _0x45f749=_0x5808;return(function(){const _0x95e207=_0x5808;var _0x84c7f7=_0x5a22ab,_0x216d3b=_0x84c7f7['lib'],_0x5f286c=_0x216d3b[_0x95e207(0x531)],_0x27df82=_0x84c7f7[_0x95e207(0x2ae)];_0x27df82[_0x95e207(0x33f)]={'stringify':function(_0x43d745){const _0x3efe80=_0x95e207;var _0x4b9a09=_0x43d745[_0x3efe80(0x2b4)],_0x37b0f1=_0x43d745[_0x3efe80(0x390)],_0x1aac8c=this[_0x3efe80(0x332)];_0x43d745[_0x3efe80(0x399)]();for(var _0x46d967=[],_0x260142=0x0;_0x260142<_0x37b0f1;_0x260142+=0x3)for(var _0x17d2ab=_0x4b9a09[_0x260142>>>0x2]>>>0x18-_0x260142%0x4*0x8&0xff,_0x45f59e=_0x4b9a09[_0x260142+0x1>>>0x2]>>>0x18-(_0x260142+0x1)%0x4*0x8&0xff,_0x1f38c1=_0x4b9a09[_0x260142+0x2>>>0x2]>>>0x18-(_0x260142+0x2)%0x4*0x8&0xff,_0x2d6472=_0x17d2ab<<0x10|_0x45f59e<<0x8|_0x1f38c1,_0x1dde66=0x0;_0x1dde66<0x4&&_0x260142+_0x1dde66*0.75<_0x37b0f1;_0x1dde66++)_0x46d967[_0x3efe80(0x2aa)](_0x1aac8c[_0x3efe80(0x324)](_0x2d6472>>>0x6*(0x3-_0x1dde66)&0x3f));var _0x2942c7=_0x1aac8c['charAt'](0x40);if(_0x2942c7){for(;_0x46d967[_0x3efe80(0x2c7)]%0x4;)_0x46d967[_0x3efe80(0x2aa)](_0x2942c7);}return _0x46d967[_0x3efe80(0x517)]('');},'parse':function(_0x46aea0){const _0x402817=_0x95e207;var _0x34c559=_0x46aea0[_0x402817(0x2c7)],_0xce622=this[_0x402817(0x332)],_0x5dcebc=this[_0x402817(0x238)];if(!_0x5dcebc){_0x5dcebc=this['_reverseMap']=[];for(var _0x2c5eae=0x0;_0x2c5eae<_0xce622['length'];_0x2c5eae++)_0x5dcebc[_0xce622['charCodeAt'](_0x2c5eae)]=_0x2c5eae;}var _0x4d2eda=_0xce622[_0x402817(0x324)](0x40);if(_0x4d2eda){var _0x1ba36a=_0x46aea0[_0x402817(0x4ab)](_0x4d2eda);_0x1ba36a!==-0x1&&(_0x34c559=_0x1ba36a);}return _0x410c4c(_0x46aea0,_0x34c559,_0x5dcebc);},'_map':_0x95e207(0x267)};function _0x410c4c(_0xb6b5bf,_0x52fff8,_0x4e124d){const _0x38d65c=_0x95e207;for(var _0x891daa=[],_0x5d5995=0x0,_0x1bb4f4=0x0;_0x1bb4f4<_0x52fff8;_0x1bb4f4++)if(_0x1bb4f4%0x4){var _0x2a1dd2=_0x4e124d[_0xb6b5bf[_0x38d65c(0x577)](_0x1bb4f4-0x1)]<<_0x1bb4f4%0x4*0x2,_0x4fb802=_0x4e124d[_0xb6b5bf[_0x38d65c(0x577)](_0x1bb4f4)]>>>0x6-_0x1bb4f4%0x4*0x2,_0x4224cd=_0x2a1dd2|_0x4fb802;_0x891daa[_0x5d5995>>>0x2]|=_0x4224cd<<0x18-_0x5d5995%0x4*0x8,_0x5d5995++;}return _0x5f286c[_0x38d65c(0x398)](_0x891daa,_0x5d5995);}}()),_0x5a22ab[_0x45f749(0x2ae)][_0x45f749(0x33f)];}));}(ft)),ft[_0x3f9f21(0x23f)];}var vt={'exports':{}},ic=vt[_0x112848(0x23f)],li;function rc(){const _0x398914=_0x112848;return li||(li=0x1,function(_0x253ca7,_0x14e195){(function(_0x327b27,_0x3cffa0){const _0x5c7143=_0x5808;_0x253ca7[_0x5c7143(0x23f)]=_0x3cffa0(_e());}(ic,function(_0x11af37){const _0x3a6aaf=_0x5808;return function(_0x221cdc){const _0x548dff=_0x5808;var _0x58097b=_0x11af37,_0x5ebbfe=_0x58097b[_0x548dff(0x560)],_0x378de4=_0x5ebbfe['WordArray'],_0x3b4a08=_0x5ebbfe['Hasher'],_0x350c1c=_0x58097b[_0x548dff(0x30d)],_0x55ab2=[];(function(){const _0x436d26=_0x548dff;for(var _0x3d73aa=0x0;_0x3d73aa<0x40;_0x3d73aa++)_0x55ab2[_0x3d73aa]=_0x221cdc[_0x436d26(0x30c)](_0x221cdc['sin'](_0x3d73aa+0x1))*0x100000000|0x0;}());var _0x4a1229=_0x350c1c[_0x548dff(0x534)]=_0x3b4a08[_0x548dff(0x378)]({'_doReset':function(){const _0x5e8f6d=_0x548dff;this[_0x5e8f6d(0x475)]=new _0x378de4[(_0x5e8f6d(0x460))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x29b4e7,_0x3ccae6){const _0x214648=_0x548dff;for(var _0x29b12f=0x0;_0x29b12f<0x10;_0x29b12f++){var _0xc45e9a=_0x3ccae6+_0x29b12f,_0x22d3a2=_0x29b4e7[_0xc45e9a];_0x29b4e7[_0xc45e9a]=(_0x22d3a2<<0x8|_0x22d3a2>>>0x18)&0xff00ff|(_0x22d3a2<<0x18|_0x22d3a2>>>0x8)&0xff00ff00;}var _0x17ec02=this[_0x214648(0x475)][_0x214648(0x2b4)],_0x3906f8=_0x29b4e7[_0x3ccae6+0x0],_0x7d22de=_0x29b4e7[_0x3ccae6+0x1],_0x52fd76=_0x29b4e7[_0x3ccae6+0x2],_0x4102fc=_0x29b4e7[_0x3ccae6+0x3],_0x240d8a=_0x29b4e7[_0x3ccae6+0x4],_0x2d64c4=_0x29b4e7[_0x3ccae6+0x5],_0x3d4bce=_0x29b4e7[_0x3ccae6+0x6],_0xebb445=_0x29b4e7[_0x3ccae6+0x7],_0x591f40=_0x29b4e7[_0x3ccae6+0x8],_0x159630=_0x29b4e7[_0x3ccae6+0x9],_0x170915=_0x29b4e7[_0x3ccae6+0xa],_0x42ae3f=_0x29b4e7[_0x3ccae6+0xb],_0x59bbd0=_0x29b4e7[_0x3ccae6+0xc],_0x1711cb=_0x29b4e7[_0x3ccae6+0xd],_0x30dbee=_0x29b4e7[_0x3ccae6+0xe],_0x51b191=_0x29b4e7[_0x3ccae6+0xf],_0x39abf1=_0x17ec02[0x0],_0x469188=_0x17ec02[0x1],_0x5c8169=_0x17ec02[0x2],_0x765432=_0x17ec02[0x3];_0x39abf1=_0x327977(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x3906f8,0x7,_0x55ab2[0x0]),_0x765432=_0x327977(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x7d22de,0xc,_0x55ab2[0x1]),_0x5c8169=_0x327977(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x52fd76,0x11,_0x55ab2[0x2]),_0x469188=_0x327977(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x4102fc,0x16,_0x55ab2[0x3]),_0x39abf1=_0x327977(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x240d8a,0x7,_0x55ab2[0x4]),_0x765432=_0x327977(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x2d64c4,0xc,_0x55ab2[0x5]),_0x5c8169=_0x327977(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x3d4bce,0x11,_0x55ab2[0x6]),_0x469188=_0x327977(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0xebb445,0x16,_0x55ab2[0x7]),_0x39abf1=_0x327977(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x591f40,0x7,_0x55ab2[0x8]),_0x765432=_0x327977(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x159630,0xc,_0x55ab2[0x9]),_0x5c8169=_0x327977(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x170915,0x11,_0x55ab2[0xa]),_0x469188=_0x327977(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x42ae3f,0x16,_0x55ab2[0xb]),_0x39abf1=_0x327977(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x59bbd0,0x7,_0x55ab2[0xc]),_0x765432=_0x327977(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x1711cb,0xc,_0x55ab2[0xd]),_0x5c8169=_0x327977(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x30dbee,0x11,_0x55ab2[0xe]),_0x469188=_0x327977(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x51b191,0x16,_0x55ab2[0xf]),_0x39abf1=_0x430752(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x7d22de,0x5,_0x55ab2[0x10]),_0x765432=_0x430752(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x3d4bce,0x9,_0x55ab2[0x11]),_0x5c8169=_0x430752(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x42ae3f,0xe,_0x55ab2[0x12]),_0x469188=_0x430752(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x3906f8,0x14,_0x55ab2[0x13]),_0x39abf1=_0x430752(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x2d64c4,0x5,_0x55ab2[0x14]),_0x765432=_0x430752(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x170915,0x9,_0x55ab2[0x15]),_0x5c8169=_0x430752(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x51b191,0xe,_0x55ab2[0x16]),_0x469188=_0x430752(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x240d8a,0x14,_0x55ab2[0x17]),_0x39abf1=_0x430752(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x159630,0x5,_0x55ab2[0x18]),_0x765432=_0x430752(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x30dbee,0x9,_0x55ab2[0x19]),_0x5c8169=_0x430752(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x4102fc,0xe,_0x55ab2[0x1a]),_0x469188=_0x430752(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x591f40,0x14,_0x55ab2[0x1b]),_0x39abf1=_0x430752(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x1711cb,0x5,_0x55ab2[0x1c]),_0x765432=_0x430752(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x52fd76,0x9,_0x55ab2[0x1d]),_0x5c8169=_0x430752(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0xebb445,0xe,_0x55ab2[0x1e]),_0x469188=_0x430752(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x59bbd0,0x14,_0x55ab2[0x1f]),_0x39abf1=_0x3a4555(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x2d64c4,0x4,_0x55ab2[0x20]),_0x765432=_0x3a4555(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x591f40,0xb,_0x55ab2[0x21]),_0x5c8169=_0x3a4555(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x42ae3f,0x10,_0x55ab2[0x22]),_0x469188=_0x3a4555(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x30dbee,0x17,_0x55ab2[0x23]),_0x39abf1=_0x3a4555(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x7d22de,0x4,_0x55ab2[0x24]),_0x765432=_0x3a4555(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x240d8a,0xb,_0x55ab2[0x25]),_0x5c8169=_0x3a4555(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0xebb445,0x10,_0x55ab2[0x26]),_0x469188=_0x3a4555(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x170915,0x17,_0x55ab2[0x27]),_0x39abf1=_0x3a4555(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x1711cb,0x4,_0x55ab2[0x28]),_0x765432=_0x3a4555(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x3906f8,0xb,_0x55ab2[0x29]),_0x5c8169=_0x3a4555(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x4102fc,0x10,_0x55ab2[0x2a]),_0x469188=_0x3a4555(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x3d4bce,0x17,_0x55ab2[0x2b]),_0x39abf1=_0x3a4555(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x159630,0x4,_0x55ab2[0x2c]),_0x765432=_0x3a4555(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x59bbd0,0xb,_0x55ab2[0x2d]),_0x5c8169=_0x3a4555(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x51b191,0x10,_0x55ab2[0x2e]),_0x469188=_0x3a4555(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x52fd76,0x17,_0x55ab2[0x2f]),_0x39abf1=_0x1e8525(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x3906f8,0x6,_0x55ab2[0x30]),_0x765432=_0x1e8525(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0xebb445,0xa,_0x55ab2[0x31]),_0x5c8169=_0x1e8525(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x30dbee,0xf,_0x55ab2[0x32]),_0x469188=_0x1e8525(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x2d64c4,0x15,_0x55ab2[0x33]),_0x39abf1=_0x1e8525(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x59bbd0,0x6,_0x55ab2[0x34]),_0x765432=_0x1e8525(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x4102fc,0xa,_0x55ab2[0x35]),_0x5c8169=_0x1e8525(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x170915,0xf,_0x55ab2[0x36]),_0x469188=_0x1e8525(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x7d22de,0x15,_0x55ab2[0x37]),_0x39abf1=_0x1e8525(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x591f40,0x6,_0x55ab2[0x38]),_0x765432=_0x1e8525(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x51b191,0xa,_0x55ab2[0x39]),_0x5c8169=_0x1e8525(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x3d4bce,0xf,_0x55ab2[0x3a]),_0x469188=_0x1e8525(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x1711cb,0x15,_0x55ab2[0x3b]),_0x39abf1=_0x1e8525(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x240d8a,0x6,_0x55ab2[0x3c]),_0x765432=_0x1e8525(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x42ae3f,0xa,_0x55ab2[0x3d]),_0x5c8169=_0x1e8525(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x52fd76,0xf,_0x55ab2[0x3e]),_0x469188=_0x1e8525(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x159630,0x15,_0x55ab2[0x3f]),_0x17ec02[0x0]=_0x17ec02[0x0]+_0x39abf1|0x0,_0x17ec02[0x1]=_0x17ec02[0x1]+_0x469188|0x0,_0x17ec02[0x2]=_0x17ec02[0x2]+_0x5c8169|0x0,_0x17ec02[0x3]=_0x17ec02[0x3]+_0x765432|0x0;},'_doFinalize':function(){const _0xf5738b=_0x548dff;var _0x46a7d5=this[_0xf5738b(0x371)],_0x322131=_0x46a7d5[_0xf5738b(0x2b4)],_0x12bfe5=this[_0xf5738b(0x5e3)]*0x8,_0x620824=_0x46a7d5[_0xf5738b(0x390)]*0x8;_0x322131[_0x620824>>>0x5]|=0x80<<0x18-_0x620824%0x20;var _0x39d617=_0x221cdc[_0xf5738b(0x30e)](_0x12bfe5/0x100000000),_0x5c86b6=_0x12bfe5;_0x322131[(_0x620824+0x40>>>0x9<<0x4)+0xf]=(_0x39d617<<0x8|_0x39d617>>>0x18)&0xff00ff|(_0x39d617<<0x18|_0x39d617>>>0x8)&0xff00ff00,_0x322131[(_0x620824+0x40>>>0x9<<0x4)+0xe]=(_0x5c86b6<<0x8|_0x5c86b6>>>0x18)&0xff00ff|(_0x5c86b6<<0x18|_0x5c86b6>>>0x8)&0xff00ff00,_0x46a7d5[_0xf5738b(0x390)]=(_0x322131['length']+0x1)*0x4,this[_0xf5738b(0x489)]();for(var _0x10a8fd=this[_0xf5738b(0x475)],_0x2d08f2=_0x10a8fd[_0xf5738b(0x2b4)],_0x155ef5=0x0;_0x155ef5<0x4;_0x155ef5++){var _0x26eb0f=_0x2d08f2[_0x155ef5];_0x2d08f2[_0x155ef5]=(_0x26eb0f<<0x8|_0x26eb0f>>>0x18)&0xff00ff|(_0x26eb0f<<0x18|_0x26eb0f>>>0x8)&0xff00ff00;}return _0x10a8fd;},'clone':function(){const _0x537a5b=_0x548dff;var _0x3c1093=_0x3b4a08[_0x537a5b(0x40b)][_0x537a5b(0x32c)](this);return _0x3c1093[_0x537a5b(0x475)]=this['_hash'][_0x537a5b(0x40b)](),_0x3c1093;}});function _0x327977(_0x282f4e,_0x1a7b4c,_0x513b69,_0x322ebc,_0x44acbf,_0x19d692,_0x12f2e2){var _0x3937c3=_0x282f4e+(_0x1a7b4c&_0x513b69|~_0x1a7b4c&_0x322ebc)+_0x44acbf+_0x12f2e2;return(_0x3937c3<<_0x19d692|_0x3937c3>>>0x20-_0x19d692)+_0x1a7b4c;}function _0x430752(_0x3120a9,_0x2b8b60,_0x4ec647,_0x9f2a1,_0x49c1f9,_0x5d7376,_0x2fc8a9){var _0x17032a=_0x3120a9+(_0x2b8b60&_0x9f2a1|_0x4ec647&~_0x9f2a1)+_0x49c1f9+_0x2fc8a9;return(_0x17032a<<_0x5d7376|_0x17032a>>>0x20-_0x5d7376)+_0x2b8b60;}function _0x3a4555(_0x56e17b,_0x395be2,_0xf37ff5,_0x18d0ae,_0x5f33ce,_0x150d71,_0x421b2c){var _0x2233ad=_0x56e17b+(_0x395be2^_0xf37ff5^_0x18d0ae)+_0x5f33ce+_0x421b2c;return(_0x2233ad<<_0x150d71|_0x2233ad>>>0x20-_0x150d71)+_0x395be2;}function _0x1e8525(_0x397a07,_0xf1b9ce,_0xd251a5,_0x4c0ccf,_0x28e339,_0x21e71d,_0x2507b4){var _0x8f95dc=_0x397a07+(_0xd251a5^(_0xf1b9ce|~_0x4c0ccf))+_0x28e339+_0x2507b4;return(_0x8f95dc<<_0x21e71d|_0x8f95dc>>>0x20-_0x21e71d)+_0xf1b9ce;}_0x58097b[_0x548dff(0x534)]=_0x3b4a08['_createHelper'](_0x4a1229),_0x58097b['HmacMD5']=_0x3b4a08[_0x548dff(0x358)](_0x4a1229);}(Math),_0x11af37[_0x3a6aaf(0x534)];}));}(vt)),vt[_0x398914(0x23f)];}var pt={'exports':{}},mt={'exports':{}},nc=mt[_0x112848(0x23f)],_i;function oc(){return _i||(_i=0x1,function(_0x4044dd,_0x1cce94){(function(_0xbc526b,_0x367a2d){const _0x453a43=_0x5808;_0x4044dd[_0x453a43(0x23f)]=_0x367a2d(_e());}(nc,function(_0x351446){return(function(){const _0x4431ae=_0x5808;var _0x36da19=_0x351446,_0x17f9ae=_0x36da19[_0x4431ae(0x560)],_0x2c8d7f=_0x17f9ae[_0x4431ae(0x531)],_0x219099=_0x17f9ae[_0x4431ae(0x2c3)],_0x469e4e=_0x36da19[_0x4431ae(0x30d)],_0x4f10a6=[],_0x1d11cc=_0x469e4e[_0x4431ae(0x57b)]=_0x219099[_0x4431ae(0x378)]({'_doReset':function(){const _0x5ecbc2=_0x4431ae;this[_0x5ecbc2(0x475)]=new _0x2c8d7f['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1b6a65,_0x1b81fc){const _0x4a8249=_0x4431ae;for(var _0x1016a8=this[_0x4a8249(0x475)]['words'],_0x16f2e8=_0x1016a8[0x0],_0x173e2d=_0x1016a8[0x1],_0x144e41=_0x1016a8[0x2],_0x3919d1=_0x1016a8[0x3],_0x4f9183=_0x1016a8[0x4],_0x2c1333=0x0;_0x2c1333<0x50;_0x2c1333++){if(_0x2c1333<0x10)_0x4f10a6[_0x2c1333]=_0x1b6a65[_0x1b81fc+_0x2c1333]|0x0;else{var _0xf29139=_0x4f10a6[_0x2c1333-0x3]^_0x4f10a6[_0x2c1333-0x8]^_0x4f10a6[_0x2c1333-0xe]^_0x4f10a6[_0x2c1333-0x10];_0x4f10a6[_0x2c1333]=_0xf29139<<0x1|_0xf29139>>>0x1f;}var _0x21bcf5=(_0x16f2e8<<0x5|_0x16f2e8>>>0x1b)+_0x4f9183+_0x4f10a6[_0x2c1333];_0x2c1333<0x14?_0x21bcf5+=(_0x173e2d&_0x144e41|~_0x173e2d&_0x3919d1)+0x5a827999:_0x2c1333<0x28?_0x21bcf5+=(_0x173e2d^_0x144e41^_0x3919d1)+0x6ed9eba1:_0x2c1333<0x3c?_0x21bcf5+=(_0x173e2d&_0x144e41|_0x173e2d&_0x3919d1|_0x144e41&_0x3919d1)-0x70e44324:_0x21bcf5+=(_0x173e2d^_0x144e41^_0x3919d1)-0x359d3e2a,_0x4f9183=_0x3919d1,_0x3919d1=_0x144e41,_0x144e41=_0x173e2d<<0x1e|_0x173e2d>>>0x2,_0x173e2d=_0x16f2e8,_0x16f2e8=_0x21bcf5;}_0x1016a8[0x0]=_0x1016a8[0x0]+_0x16f2e8|0x0,_0x1016a8[0x1]=_0x1016a8[0x1]+_0x173e2d|0x0,_0x1016a8[0x2]=_0x1016a8[0x2]+_0x144e41|0x0,_0x1016a8[0x3]=_0x1016a8[0x3]+_0x3919d1|0x0,_0x1016a8[0x4]=_0x1016a8[0x4]+_0x4f9183|0x0;},'_doFinalize':function(){const _0x5d8a10=_0x4431ae;var _0x2ba1fa=this[_0x5d8a10(0x371)],_0xa5958a=_0x2ba1fa[_0x5d8a10(0x2b4)],_0x2b97c4=this['_nDataBytes']*0x8,_0xf4cf8e=_0x2ba1fa[_0x5d8a10(0x390)]*0x8;return _0xa5958a[_0xf4cf8e>>>0x5]|=0x80<<0x18-_0xf4cf8e%0x20,_0xa5958a[(_0xf4cf8e+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x2b97c4/0x100000000),_0xa5958a[(_0xf4cf8e+0x40>>>0x9<<0x4)+0xf]=_0x2b97c4,_0x2ba1fa[_0x5d8a10(0x390)]=_0xa5958a[_0x5d8a10(0x2c7)]*0x4,this[_0x5d8a10(0x489)](),this[_0x5d8a10(0x475)];},'clone':function(){const _0xfd6ca7=_0x4431ae;var _0x364df5=_0x219099[_0xfd6ca7(0x40b)][_0xfd6ca7(0x32c)](this);return _0x364df5['_hash']=this[_0xfd6ca7(0x475)]['clone'](),_0x364df5;}});_0x36da19[_0x4431ae(0x57b)]=_0x219099['_createHelper'](_0x1d11cc),_0x36da19[_0x4431ae(0x59c)]=_0x219099['_createHmacHelper'](_0x1d11cc);}()),_0x351446['SHA1'];}));}(mt)),mt['exports'];}var gt={'exports':{}},ac=gt[_0x112848(0x23f)],ui;function cc(){const _0xbf56b3=_0x112848;return ui||(ui=0x1,function(_0x699e30,_0x503ae5){(function(_0x43e769,_0x37d00b){const _0x56ebec=_0x5808;_0x699e30[_0x56ebec(0x23f)]=_0x37d00b(_e());}(ac,function(_0x42aea0){(function(){const _0x18ee19=_0x5808;var _0x588eb1=_0x42aea0,_0x341d6b=_0x588eb1[_0x18ee19(0x560)],_0x410f57=_0x341d6b[_0x18ee19(0x549)],_0x11a3c2=_0x588eb1['enc'],_0x44bcdd=_0x11a3c2[_0x18ee19(0x2cc)],_0x223651=_0x588eb1['algo'];_0x223651[_0x18ee19(0x4af)]=_0x410f57[_0x18ee19(0x378)]({'init':function(_0x1119d8,_0x273e03){const _0x177583=_0x18ee19;_0x1119d8=this[_0x177583(0x4df)]=new _0x1119d8[(_0x177583(0x460))](),typeof _0x273e03==_0x177583(0x458)&&(_0x273e03=_0x44bcdd[_0x177583(0x2e6)](_0x273e03));var _0x20d96e=_0x1119d8[_0x177583(0x3d2)],_0x2c1b56=_0x20d96e*0x4;_0x273e03[_0x177583(0x390)]>_0x2c1b56&&(_0x273e03=_0x1119d8['finalize'](_0x273e03)),_0x273e03[_0x177583(0x399)]();for(var _0x5a2c5c=this[_0x177583(0x3f9)]=_0x273e03[_0x177583(0x40b)](),_0x365df3=this['_iKey']=_0x273e03['clone'](),_0x2b9104=_0x5a2c5c['words'],_0x76da73=_0x365df3['words'],_0x3a292c=0x0;_0x3a292c<_0x20d96e;_0x3a292c++)_0x2b9104[_0x3a292c]^=0x5c5c5c5c,_0x76da73[_0x3a292c]^=0x36363636;_0x5a2c5c['sigBytes']=_0x365df3[_0x177583(0x390)]=_0x2c1b56,this[_0x177583(0x546)]();},'reset':function(){const _0x4176b7=_0x18ee19;var _0x13c4d7=this['_hasher'];_0x13c4d7[_0x4176b7(0x546)](),_0x13c4d7[_0x4176b7(0x5b6)](this[_0x4176b7(0x393)]);},'update':function(_0x494d29){const _0x31efea=_0x18ee19;return this[_0x31efea(0x4df)][_0x31efea(0x5b6)](_0x494d29),this;},'finalize':function(_0x44481b){const _0x111c78=_0x18ee19;var _0x4911a9=this[_0x111c78(0x4df)],_0x1abca6=_0x4911a9[_0x111c78(0x3fb)](_0x44481b);_0x4911a9[_0x111c78(0x546)]();var _0xe51f45=_0x4911a9[_0x111c78(0x3fb)](this[_0x111c78(0x3f9)][_0x111c78(0x40b)]()[_0x111c78(0x480)](_0x1abca6));return _0xe51f45;}});}());}));}(gt)),gt[_0xbf56b3(0x23f)];}var hc=pt[_0x112848(0x23f)],di;function rr(){const _0x32d878=_0x112848;return di||(di=0x1,function(_0x4b6e81,_0x2dee17){(function(_0x5e50c9,_0x38c0f8,_0x5a249c){_0x4b6e81['exports']=_0x38c0f8(_e(),oc(),cc());}(hc,function(_0x5b2022){return(function(){const _0x523bdb=_0x5808;var _0x70d98d=_0x5b2022,_0x40ad2d=_0x70d98d[_0x523bdb(0x560)],_0x5abf11=_0x40ad2d['Base'],_0x577dd5=_0x40ad2d['WordArray'],_0x2c7b03=_0x70d98d[_0x523bdb(0x30d)],_0x5fde38=_0x2c7b03[_0x523bdb(0x534)],_0x4ccf79=_0x2c7b03[_0x523bdb(0x525)]=_0x5abf11[_0x523bdb(0x378)]({'cfg':_0x5abf11[_0x523bdb(0x378)]({'keySize':0x80/0x20,'hasher':_0x5fde38,'iterations':0x1}),'init':function(_0x49d466){const _0x43a4e3=_0x523bdb;this[_0x43a4e3(0x4ed)]=this[_0x43a4e3(0x4ed)][_0x43a4e3(0x378)](_0x49d466);},'compute':function(_0x5eee8b,_0x1ebcb0){const _0x56e4d6=_0x523bdb;for(var _0x1a47e9,_0xf3f9bc=this[_0x56e4d6(0x4ed)],_0x4acd28=_0xf3f9bc[_0x56e4d6(0x291)][_0x56e4d6(0x398)](),_0x558d3a=_0x577dd5['create'](),_0x58312d=_0x558d3a[_0x56e4d6(0x2b4)],_0x12ca7d=_0xf3f9bc[_0x56e4d6(0x4ff)],_0x3eeea1=_0xf3f9bc['iterations'];_0x58312d[_0x56e4d6(0x2c7)]<_0x12ca7d;){_0x1a47e9&&_0x4acd28[_0x56e4d6(0x5b6)](_0x1a47e9),_0x1a47e9=_0x4acd28['update'](_0x5eee8b)[_0x56e4d6(0x3fb)](_0x1ebcb0),_0x4acd28[_0x56e4d6(0x546)]();for(var _0x40f562=0x1;_0x40f562<_0x3eeea1;_0x40f562++)_0x1a47e9=_0x4acd28[_0x56e4d6(0x3fb)](_0x1a47e9),_0x4acd28[_0x56e4d6(0x546)]();_0x558d3a[_0x56e4d6(0x480)](_0x1a47e9);}return _0x558d3a[_0x56e4d6(0x390)]=_0x12ca7d*0x4,_0x558d3a;}});_0x70d98d[_0x523bdb(0x525)]=function(_0x21bc8d,_0xed62f1,_0x3e2860){const _0x2757cb=_0x523bdb;return _0x4ccf79[_0x2757cb(0x398)](_0x3e2860)[_0x2757cb(0x2d0)](_0x21bc8d,_0xed62f1);};}()),_0x5b2022['EvpKDF'];}));}(pt)),pt[_0x32d878(0x23f)];}var St={'exports':{}},lc=St[_0x112848(0x23f)],fi;function nr(){const _0x4c620f=_0x112848;return fi||(fi=0x1,function(_0x162817,_0x384624){(function(_0xcd5694,_0x2740c7,_0x59cff4){const _0xd710ef=_0x5808;_0x162817[_0xd710ef(0x23f)]=_0x2740c7(_e(),rr());}(lc,function(_0x1df53e){const _0x49eca1=_0x5808;_0x1df53e[_0x49eca1(0x560)]['Cipher']||function(_0x30e478){const _0xcc6b18=_0x49eca1;var _0x3af9dc=_0x1df53e,_0x1e60a4=_0x3af9dc[_0xcc6b18(0x560)],_0x322d83=_0x1e60a4[_0xcc6b18(0x549)],_0x4ef5d1=_0x1e60a4[_0xcc6b18(0x531)],_0xbce495=_0x1e60a4[_0xcc6b18(0x363)],_0x32d03e=_0x3af9dc[_0xcc6b18(0x2ae)];_0x32d03e['Utf8'];var _0x112954=_0x32d03e[_0xcc6b18(0x33f)],_0x4a26d2=_0x3af9dc[_0xcc6b18(0x30d)],_0x37f2da=_0x4a26d2[_0xcc6b18(0x525)],_0x3aff36=_0x1e60a4[_0xcc6b18(0x55e)]=_0xbce495[_0xcc6b18(0x378)]({'cfg':_0x322d83[_0xcc6b18(0x378)](),'createEncryptor':function(_0x52747a,_0x355008){const _0x38ab34=_0xcc6b18;return this[_0x38ab34(0x398)](this[_0x38ab34(0x520)],_0x52747a,_0x355008);},'createDecryptor':function(_0x482676,_0x224ba7){const _0x37d561=_0xcc6b18;return this[_0x37d561(0x398)](this['_DEC_XFORM_MODE'],_0x482676,_0x224ba7);},'init':function(_0x24653c,_0x5e0d9f,_0x4d6ca9){const _0x5dd1cb=_0xcc6b18;this[_0x5dd1cb(0x4ed)]=this[_0x5dd1cb(0x4ed)]['extend'](_0x4d6ca9),this['_xformMode']=_0x24653c,this[_0x5dd1cb(0x2d6)]=_0x5e0d9f,this[_0x5dd1cb(0x546)]();},'reset':function(){const _0x53ed2e=_0xcc6b18;_0xbce495[_0x53ed2e(0x546)][_0x53ed2e(0x32c)](this),this[_0x53ed2e(0x540)]();},'process':function(_0x2f1234){const _0x5df5a4=_0xcc6b18;return this[_0x5df5a4(0x3c2)](_0x2f1234),this['_process']();},'finalize':function(_0x2c0075){const _0x3219a1=_0xcc6b18;_0x2c0075&&this[_0x3219a1(0x3c2)](_0x2c0075);var _0x3bcbef=this[_0x3219a1(0x54d)]();return _0x3bcbef;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3924c6(_0x4c2656){const _0x58d0d6=_0x5808;return typeof _0x4c2656==_0x58d0d6(0x458)?_0xc50894:_0x339726;}return function(_0x5bd462){return{'encrypt':function(_0x3df7ca,_0xa25cce,_0x521166){const _0x3b569f=_0x5808;return _0x3924c6(_0xa25cce)[_0x3b569f(0x310)](_0x5bd462,_0x3df7ca,_0xa25cce,_0x521166);},'decrypt':function(_0x37f6f1,_0xd46b09,_0x558ab8){const _0x2dbf82=_0x5808;return _0x3924c6(_0xd46b09)[_0x2dbf82(0x322)](_0x5bd462,_0x37f6f1,_0xd46b09,_0x558ab8);}};};}())});_0x1e60a4['StreamCipher']=_0x3aff36[_0xcc6b18(0x378)]({'_doFinalize':function(){const _0x9180bf=_0xcc6b18;var _0x49ac65=this[_0x9180bf(0x489)](!0x0);return _0x49ac65;},'blockSize':0x1});var _0x7f7763=_0x3af9dc[_0xcc6b18(0x3d8)]={},_0x32273b=_0x1e60a4[_0xcc6b18(0x2d4)]=_0x322d83['extend']({'createEncryptor':function(_0x19016b,_0x41de9e){const _0x4ab847=_0xcc6b18;return this['Encryptor'][_0x4ab847(0x398)](_0x19016b,_0x41de9e);},'createDecryptor':function(_0x43b920,_0x5ef593){const _0x362340=_0xcc6b18;return this['Decryptor'][_0x362340(0x398)](_0x43b920,_0x5ef593);},'init':function(_0x41539c,_0x556b58){const _0x75441b=_0xcc6b18;this[_0x75441b(0x2a4)]=_0x41539c,this['_iv']=_0x556b58;}}),_0x14dd17=_0x7f7763[_0xcc6b18(0x3c3)]=(function(){const _0x4d4f12=_0xcc6b18;var _0x29a93f=_0x32273b[_0x4d4f12(0x378)]();_0x29a93f[_0x4d4f12(0x42a)]=_0x29a93f[_0x4d4f12(0x378)]({'processBlock':function(_0x423ee8,_0x29bb52){const _0x347cea=_0x4d4f12;var _0x1c92de=this[_0x347cea(0x2a4)],_0x199a5b=_0x1c92de['blockSize'];_0x2d77ae['call'](this,_0x423ee8,_0x29bb52,_0x199a5b),_0x1c92de[_0x347cea(0x328)](_0x423ee8,_0x29bb52),this[_0x347cea(0x3a9)]=_0x423ee8['slice'](_0x29bb52,_0x29bb52+_0x199a5b);}}),_0x29a93f[_0x4d4f12(0x5f6)]=_0x29a93f['extend']({'processBlock':function(_0x2c9e02,_0x3276ba){const _0x45ff08=_0x4d4f12;var _0x2a61f1=this[_0x45ff08(0x2a4)],_0x37beb7=_0x2a61f1[_0x45ff08(0x3d2)],_0x31b188=_0x2c9e02[_0x45ff08(0x225)](_0x3276ba,_0x3276ba+_0x37beb7);_0x2a61f1[_0x45ff08(0x3f5)](_0x2c9e02,_0x3276ba),_0x2d77ae['call'](this,_0x2c9e02,_0x3276ba,_0x37beb7),this[_0x45ff08(0x3a9)]=_0x31b188;}});function _0x2d77ae(_0xf30429,_0x34bc62,_0x5b7d49){const _0x27d0d3=_0x4d4f12;var _0x48a752,_0x4b7de6=this[_0x27d0d3(0x3ef)];_0x4b7de6?(_0x48a752=_0x4b7de6,this[_0x27d0d3(0x3ef)]=_0x30e478):_0x48a752=this['_prevBlock'];for(var _0x792622=0x0;_0x792622<_0x5b7d49;_0x792622++)_0xf30429[_0x34bc62+_0x792622]^=_0x48a752[_0x792622];}return _0x29a93f;}()),_0x590a5f=_0x3af9dc['pad']={},_0x36edc3=_0x590a5f['Pkcs7']={'pad':function(_0xdb9268,_0x438838){const _0x54b590=_0xcc6b18;for(var _0x4a1599=_0x438838*0x4,_0x128b16=_0x4a1599-_0xdb9268[_0x54b590(0x390)]%_0x4a1599,_0x2b8c61=_0x128b16<<0x18|_0x128b16<<0x10|_0x128b16<<0x8|_0x128b16,_0x10b85a=[],_0x48f15c=0x0;_0x48f15c<_0x128b16;_0x48f15c+=0x4)_0x10b85a[_0x54b590(0x2aa)](_0x2b8c61);var _0x585180=_0x4ef5d1[_0x54b590(0x398)](_0x10b85a,_0x128b16);_0xdb9268[_0x54b590(0x480)](_0x585180);},'unpad':function(_0x524ecb){const _0x39586e=_0xcc6b18;var _0xc3017a=_0x524ecb['words'][_0x524ecb[_0x39586e(0x390)]-0x1>>>0x2]&0xff;_0x524ecb['sigBytes']-=_0xc3017a;}};_0x1e60a4['BlockCipher']=_0x3aff36[_0xcc6b18(0x378)]({'cfg':_0x3aff36[_0xcc6b18(0x4ed)][_0xcc6b18(0x378)]({'mode':_0x14dd17,'padding':_0x36edc3}),'reset':function(){const _0x5146e4=_0xcc6b18;var _0x198760;_0x3aff36[_0x5146e4(0x546)]['call'](this);var _0x13fd1e=this[_0x5146e4(0x4ed)],_0x3caf55=_0x13fd1e['iv'],_0x2d4483=_0x13fd1e[_0x5146e4(0x3d8)];this[_0x5146e4(0x5a5)]==this[_0x5146e4(0x520)]?_0x198760=_0x2d4483[_0x5146e4(0x3c6)]:(_0x198760=_0x2d4483[_0x5146e4(0x277)],this[_0x5146e4(0x5fc)]=0x1),this[_0x5146e4(0x3e3)]&&this[_0x5146e4(0x3e3)][_0x5146e4(0x1fe)]==_0x198760?this[_0x5146e4(0x3e3)][_0x5146e4(0x460)](this,_0x3caf55&&_0x3caf55[_0x5146e4(0x2b4)]):(this[_0x5146e4(0x3e3)]=_0x198760[_0x5146e4(0x32c)](_0x2d4483,this,_0x3caf55&&_0x3caf55['words']),this['_mode'][_0x5146e4(0x1fe)]=_0x198760);},'_doProcessBlock':function(_0x24fbe5,_0x1d909e){const _0x4d3ccd=_0xcc6b18;this[_0x4d3ccd(0x3e3)]['processBlock'](_0x24fbe5,_0x1d909e);},'_doFinalize':function(){const _0x20e25c=_0xcc6b18;var _0x3f9833,_0x48732=this[_0x20e25c(0x4ed)][_0x20e25c(0x2cb)];return this[_0x20e25c(0x5a5)]==this['_ENC_XFORM_MODE']?(_0x48732[_0x20e25c(0x3ff)](this[_0x20e25c(0x371)],this[_0x20e25c(0x3d2)]),_0x3f9833=this['_process'](!0x0)):(_0x3f9833=this['_process'](!0x0),_0x48732[_0x20e25c(0x3eb)](_0x3f9833)),_0x3f9833;},'blockSize':0x80/0x20});var _0x3dab96=_0x1e60a4['CipherParams']=_0x322d83['extend']({'init':function(_0x4d7d00){const _0x34bcae=_0xcc6b18;this[_0x34bcae(0x591)](_0x4d7d00);},'toString':function(_0xacf312){const _0x53c82a=_0xcc6b18;return(_0xacf312||this[_0x53c82a(0x581)])[_0x53c82a(0x2f0)](this);}}),_0x286bae=_0x3af9dc[_0xcc6b18(0x33d)]={},_0x17de23=_0x286bae[_0xcc6b18(0x419)]={'stringify':function(_0x4c81a7){const _0x1a763c=_0xcc6b18;var _0x21c4b6,_0x3ce7d9=_0x4c81a7[_0x1a763c(0x45f)],_0x3bd8dc=_0x4c81a7['salt'];return _0x3bd8dc?_0x21c4b6=_0x4ef5d1[_0x1a763c(0x398)]([0x53616c74,0x65645f5f])[_0x1a763c(0x480)](_0x3bd8dc)['concat'](_0x3ce7d9):_0x21c4b6=_0x3ce7d9,_0x21c4b6[_0x1a763c(0x27e)](_0x112954);},'parse':function(_0x22f0bc){const _0x3dd8ac=_0xcc6b18;var _0x126b65,_0x2782b9=_0x112954['parse'](_0x22f0bc),_0x3806c2=_0x2782b9[_0x3dd8ac(0x2b4)];return _0x3806c2[0x0]==0x53616c74&&_0x3806c2[0x1]==0x65645f5f&&(_0x126b65=_0x4ef5d1[_0x3dd8ac(0x398)](_0x3806c2[_0x3dd8ac(0x225)](0x2,0x4)),_0x3806c2[_0x3dd8ac(0x4f7)](0x0,0x4),_0x2782b9[_0x3dd8ac(0x390)]-=0x10),_0x3dab96['create']({'ciphertext':_0x2782b9,'salt':_0x126b65});}},_0x339726=_0x1e60a4[_0xcc6b18(0x1fd)]=_0x322d83[_0xcc6b18(0x378)]({'cfg':_0x322d83[_0xcc6b18(0x378)]({'format':_0x17de23}),'encrypt':function(_0x4d1b5e,_0x5056b8,_0x372654,_0x5b19aa){const _0x318a69=_0xcc6b18;_0x5b19aa=this['cfg']['extend'](_0x5b19aa);var _0x468225=_0x4d1b5e['createEncryptor'](_0x372654,_0x5b19aa),_0x212fe3=_0x468225['finalize'](_0x5056b8),_0x526491=_0x468225[_0x318a69(0x4ed)];return _0x3dab96[_0x318a69(0x398)]({'ciphertext':_0x212fe3,'key':_0x372654,'iv':_0x526491['iv'],'algorithm':_0x4d1b5e,'mode':_0x526491[_0x318a69(0x3d8)],'padding':_0x526491[_0x318a69(0x2cb)],'blockSize':_0x4d1b5e[_0x318a69(0x3d2)],'formatter':_0x5b19aa['format']});},'decrypt':function(_0x26f530,_0x35bcbc,_0x3b3af6,_0xe2e4c1){const _0x1dd4f6=_0xcc6b18;_0xe2e4c1=this[_0x1dd4f6(0x4ed)][_0x1dd4f6(0x378)](_0xe2e4c1),_0x35bcbc=this[_0x1dd4f6(0x43d)](_0x35bcbc,_0xe2e4c1['format']);var _0x2eaa85=_0x26f530[_0x1dd4f6(0x277)](_0x3b3af6,_0xe2e4c1)[_0x1dd4f6(0x3fb)](_0x35bcbc[_0x1dd4f6(0x45f)]);return _0x2eaa85;},'_parse':function(_0x3760dc,_0x4f5d55){const _0x155c42=_0xcc6b18;return typeof _0x3760dc==_0x155c42(0x458)?_0x4f5d55[_0x155c42(0x2e6)](_0x3760dc,this):_0x3760dc;}}),_0x5667ce=_0x3af9dc['kdf']={},_0x2995b7=_0x5667ce[_0xcc6b18(0x419)]={'execute':function(_0x342da5,_0x5ee413,_0x18fb77,_0x578368,_0x5279df){const _0x23d0a8=_0xcc6b18;if(_0x578368||(_0x578368=_0x4ef5d1[_0x23d0a8(0x312)](0x40/0x8)),_0x5279df)var _0x5ed034=_0x37f2da[_0x23d0a8(0x398)]({'keySize':_0x5ee413+_0x18fb77,'hasher':_0x5279df})['compute'](_0x342da5,_0x578368);else var _0x5ed034=_0x37f2da['create']({'keySize':_0x5ee413+_0x18fb77})['compute'](_0x342da5,_0x578368);var _0x31dc02=_0x4ef5d1[_0x23d0a8(0x398)](_0x5ed034[_0x23d0a8(0x2b4)][_0x23d0a8(0x225)](_0x5ee413),_0x18fb77*0x4);return _0x5ed034[_0x23d0a8(0x390)]=_0x5ee413*0x4,_0x3dab96[_0x23d0a8(0x398)]({'key':_0x5ed034,'iv':_0x31dc02,'salt':_0x578368});}},_0xc50894=_0x1e60a4[_0xcc6b18(0x303)]=_0x339726[_0xcc6b18(0x378)]({'cfg':_0x339726['cfg'][_0xcc6b18(0x378)]({'kdf':_0x2995b7}),'encrypt':function(_0x3ba8bb,_0x2ad156,_0x569a4b,_0x49d322){const _0x4b8082=_0xcc6b18;_0x49d322=this[_0x4b8082(0x4ed)][_0x4b8082(0x378)](_0x49d322);var _0x56fc07=_0x49d322[_0x4b8082(0x555)][_0x4b8082(0x48d)](_0x569a4b,_0x3ba8bb[_0x4b8082(0x4ff)],_0x3ba8bb[_0x4b8082(0x22a)],_0x49d322[_0x4b8082(0x44d)],_0x49d322[_0x4b8082(0x291)]);_0x49d322['iv']=_0x56fc07['iv'];var _0xb4add8=_0x339726[_0x4b8082(0x310)]['call'](this,_0x3ba8bb,_0x2ad156,_0x56fc07[_0x4b8082(0x27b)],_0x49d322);return _0xb4add8[_0x4b8082(0x591)](_0x56fc07),_0xb4add8;},'decrypt':function(_0x154232,_0x2b156a,_0x353b15,_0x23c65b){const _0x36ed6d=_0xcc6b18;_0x23c65b=this[_0x36ed6d(0x4ed)][_0x36ed6d(0x378)](_0x23c65b),_0x2b156a=this[_0x36ed6d(0x43d)](_0x2b156a,_0x23c65b[_0x36ed6d(0x33d)]);var _0x4df019=_0x23c65b[_0x36ed6d(0x555)][_0x36ed6d(0x48d)](_0x353b15,_0x154232[_0x36ed6d(0x4ff)],_0x154232[_0x36ed6d(0x22a)],_0x2b156a[_0x36ed6d(0x44d)],_0x23c65b['hasher']);_0x23c65b['iv']=_0x4df019['iv'];var _0x32bb73=_0x339726[_0x36ed6d(0x322)][_0x36ed6d(0x32c)](this,_0x154232,_0x2b156a,_0x4df019[_0x36ed6d(0x27b)],_0x23c65b);return _0x32bb73;}});}();}));}(St)),St[_0x4c620f(0x23f)];}var _c=ut['exports'],vi;function uc(){const _0x304306=_0x112848;return vi||(vi=0x1,function(_0x157666,_0x34a12a){(function(_0x398e2f,_0x212164,_0x550acb){const _0x27323b=_0x5808;_0x157666[_0x27323b(0x23f)]=_0x212164(_e(),ir(),rc(),rr(),nr());}(_c,function(_0x165190){const _0xd26cdb=_0x5808;return(function(){const _0x2f39ab=_0x5808;var _0x1b0b0f=_0x165190,_0x461a73=_0x1b0b0f['lib'],_0x3f62cb=_0x461a73['BlockCipher'],_0x2dfa75=_0x1b0b0f[_0x2f39ab(0x30d)],_0x446a86=[],_0x5b7a54=[],_0x5757d4=[],_0xc5123b=[],_0x5c6fb3=[],_0x4542d8=[],_0x32362d=[],_0x5d41ee=[],_0x334759=[],_0x4699ae=[];(function(){for(var _0x42434d=[],_0xffbd8f=0x0;_0xffbd8f<0x100;_0xffbd8f++)_0xffbd8f<0x80?_0x42434d[_0xffbd8f]=_0xffbd8f<<0x1:_0x42434d[_0xffbd8f]=_0xffbd8f<<0x1^0x11b;for(var _0x1e9f09=0x0,_0x4c0285=0x0,_0xffbd8f=0x0;_0xffbd8f<0x100;_0xffbd8f++){var _0x423f6e=_0x4c0285^_0x4c0285<<0x1^_0x4c0285<<0x2^_0x4c0285<<0x3^_0x4c0285<<0x4;_0x423f6e=_0x423f6e>>>0x8^_0x423f6e&0xff^0x63,_0x446a86[_0x1e9f09]=_0x423f6e,_0x5b7a54[_0x423f6e]=_0x1e9f09;var _0x112f3b=_0x42434d[_0x1e9f09],_0x9accd4=_0x42434d[_0x112f3b],_0x9145a6=_0x42434d[_0x9accd4],_0x3f7bc9=_0x42434d[_0x423f6e]*0x101^_0x423f6e*0x1010100;_0x5757d4[_0x1e9f09]=_0x3f7bc9<<0x18|_0x3f7bc9>>>0x8,_0xc5123b[_0x1e9f09]=_0x3f7bc9<<0x10|_0x3f7bc9>>>0x10,_0x5c6fb3[_0x1e9f09]=_0x3f7bc9<<0x8|_0x3f7bc9>>>0x18,_0x4542d8[_0x1e9f09]=_0x3f7bc9;var _0x3f7bc9=_0x9145a6*0x1010101^_0x9accd4*0x10001^_0x112f3b*0x101^_0x1e9f09*0x1010100;_0x32362d[_0x423f6e]=_0x3f7bc9<<0x18|_0x3f7bc9>>>0x8,_0x5d41ee[_0x423f6e]=_0x3f7bc9<<0x10|_0x3f7bc9>>>0x10,_0x334759[_0x423f6e]=_0x3f7bc9<<0x8|_0x3f7bc9>>>0x18,_0x4699ae[_0x423f6e]=_0x3f7bc9,_0x1e9f09?(_0x1e9f09=_0x112f3b^_0x42434d[_0x42434d[_0x42434d[_0x9145a6^_0x112f3b]]],_0x4c0285^=_0x42434d[_0x42434d[_0x4c0285]]):_0x1e9f09=_0x4c0285=0x1;}}());var _0x1a805f=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1acd11=_0x2dfa75['AES']=_0x3f62cb[_0x2f39ab(0x378)]({'_doReset':function(){const _0xe3dc4=_0x2f39ab;var _0x3bec32;if(!(this[_0xe3dc4(0x37c)]&&this[_0xe3dc4(0x4f9)]===this['_key'])){for(var _0xf8e973=this[_0xe3dc4(0x4f9)]=this['_key'],_0x3b1013=_0xf8e973['words'],_0x36eca9=_0xf8e973['sigBytes']/0x4,_0x243eb3=this[_0xe3dc4(0x37c)]=_0x36eca9+0x6,_0x3c8320=(_0x243eb3+0x1)*0x4,_0x34fb5d=this[_0xe3dc4(0x617)]=[],_0x4e02bd=0x0;_0x4e02bd<_0x3c8320;_0x4e02bd++)_0x4e02bd<_0x36eca9?_0x34fb5d[_0x4e02bd]=_0x3b1013[_0x4e02bd]:(_0x3bec32=_0x34fb5d[_0x4e02bd-0x1],_0x4e02bd%_0x36eca9?_0x36eca9>0x6&&_0x4e02bd%_0x36eca9==0x4&&(_0x3bec32=_0x446a86[_0x3bec32>>>0x18]<<0x18|_0x446a86[_0x3bec32>>>0x10&0xff]<<0x10|_0x446a86[_0x3bec32>>>0x8&0xff]<<0x8|_0x446a86[_0x3bec32&0xff]):(_0x3bec32=_0x3bec32<<0x8|_0x3bec32>>>0x18,_0x3bec32=_0x446a86[_0x3bec32>>>0x18]<<0x18|_0x446a86[_0x3bec32>>>0x10&0xff]<<0x10|_0x446a86[_0x3bec32>>>0x8&0xff]<<0x8|_0x446a86[_0x3bec32&0xff],_0x3bec32^=_0x1a805f[_0x4e02bd/_0x36eca9|0x0]<<0x18),_0x34fb5d[_0x4e02bd]=_0x34fb5d[_0x4e02bd-_0x36eca9]^_0x3bec32);for(var _0x30f472=this[_0xe3dc4(0x2bd)]=[],_0xe78f6e=0x0;_0xe78f6e<_0x3c8320;_0xe78f6e++){var _0x4e02bd=_0x3c8320-_0xe78f6e;if(_0xe78f6e%0x4)var _0x3bec32=_0x34fb5d[_0x4e02bd];else var _0x3bec32=_0x34fb5d[_0x4e02bd-0x4];_0xe78f6e<0x4||_0x4e02bd<=0x4?_0x30f472[_0xe78f6e]=_0x3bec32:_0x30f472[_0xe78f6e]=_0x32362d[_0x446a86[_0x3bec32>>>0x18]]^_0x5d41ee[_0x446a86[_0x3bec32>>>0x10&0xff]]^_0x334759[_0x446a86[_0x3bec32>>>0x8&0xff]]^_0x4699ae[_0x446a86[_0x3bec32&0xff]];}}},'encryptBlock':function(_0x4f6744,_0x388f2d){const _0xd82140=_0x2f39ab;this[_0xd82140(0x2e3)](_0x4f6744,_0x388f2d,this[_0xd82140(0x617)],_0x5757d4,_0xc5123b,_0x5c6fb3,_0x4542d8,_0x446a86);},'decryptBlock':function(_0x1abccf,_0x1c85ac){const _0x89df08=_0x2f39ab;var _0x425484=_0x1abccf[_0x1c85ac+0x1];_0x1abccf[_0x1c85ac+0x1]=_0x1abccf[_0x1c85ac+0x3],_0x1abccf[_0x1c85ac+0x3]=_0x425484,this[_0x89df08(0x2e3)](_0x1abccf,_0x1c85ac,this[_0x89df08(0x2bd)],_0x32362d,_0x5d41ee,_0x334759,_0x4699ae,_0x5b7a54);var _0x425484=_0x1abccf[_0x1c85ac+0x1];_0x1abccf[_0x1c85ac+0x1]=_0x1abccf[_0x1c85ac+0x3],_0x1abccf[_0x1c85ac+0x3]=_0x425484;},'_doCryptBlock':function(_0x3605b9,_0x26b6f1,_0x216ea0,_0x479966,_0x56df53,_0x5b626d,_0x21c9f1,_0x149410){const _0x311137=_0x2f39ab;for(var _0x3240c4=this[_0x311137(0x37c)],_0x54d4cb=_0x3605b9[_0x26b6f1]^_0x216ea0[0x0],_0x170b2b=_0x3605b9[_0x26b6f1+0x1]^_0x216ea0[0x1],_0xed7b49=_0x3605b9[_0x26b6f1+0x2]^_0x216ea0[0x2],_0x5945f0=_0x3605b9[_0x26b6f1+0x3]^_0x216ea0[0x3],_0x5838a9=0x4,_0x35782d=0x1;_0x35782d<_0x3240c4;_0x35782d++){var _0x4e71f0=_0x479966[_0x54d4cb>>>0x18]^_0x56df53[_0x170b2b>>>0x10&0xff]^_0x5b626d[_0xed7b49>>>0x8&0xff]^_0x21c9f1[_0x5945f0&0xff]^_0x216ea0[_0x5838a9++],_0x472812=_0x479966[_0x170b2b>>>0x18]^_0x56df53[_0xed7b49>>>0x10&0xff]^_0x5b626d[_0x5945f0>>>0x8&0xff]^_0x21c9f1[_0x54d4cb&0xff]^_0x216ea0[_0x5838a9++],_0x4ab506=_0x479966[_0xed7b49>>>0x18]^_0x56df53[_0x5945f0>>>0x10&0xff]^_0x5b626d[_0x54d4cb>>>0x8&0xff]^_0x21c9f1[_0x170b2b&0xff]^_0x216ea0[_0x5838a9++],_0x30259b=_0x479966[_0x5945f0>>>0x18]^_0x56df53[_0x54d4cb>>>0x10&0xff]^_0x5b626d[_0x170b2b>>>0x8&0xff]^_0x21c9f1[_0xed7b49&0xff]^_0x216ea0[_0x5838a9++];_0x54d4cb=_0x4e71f0,_0x170b2b=_0x472812,_0xed7b49=_0x4ab506,_0x5945f0=_0x30259b;}var _0x4e71f0=(_0x149410[_0x54d4cb>>>0x18]<<0x18|_0x149410[_0x170b2b>>>0x10&0xff]<<0x10|_0x149410[_0xed7b49>>>0x8&0xff]<<0x8|_0x149410[_0x5945f0&0xff])^_0x216ea0[_0x5838a9++],_0x472812=(_0x149410[_0x170b2b>>>0x18]<<0x18|_0x149410[_0xed7b49>>>0x10&0xff]<<0x10|_0x149410[_0x5945f0>>>0x8&0xff]<<0x8|_0x149410[_0x54d4cb&0xff])^_0x216ea0[_0x5838a9++],_0x4ab506=(_0x149410[_0xed7b49>>>0x18]<<0x18|_0x149410[_0x5945f0>>>0x10&0xff]<<0x10|_0x149410[_0x54d4cb>>>0x8&0xff]<<0x8|_0x149410[_0x170b2b&0xff])^_0x216ea0[_0x5838a9++],_0x30259b=(_0x149410[_0x5945f0>>>0x18]<<0x18|_0x149410[_0x54d4cb>>>0x10&0xff]<<0x10|_0x149410[_0x170b2b>>>0x8&0xff]<<0x8|_0x149410[_0xed7b49&0xff])^_0x216ea0[_0x5838a9++];_0x3605b9[_0x26b6f1]=_0x4e71f0,_0x3605b9[_0x26b6f1+0x1]=_0x472812,_0x3605b9[_0x26b6f1+0x2]=_0x4ab506,_0x3605b9[_0x26b6f1+0x3]=_0x30259b;},'keySize':0x100/0x20});_0x1b0b0f[_0x2f39ab(0x3fd)]=_0x3f62cb[_0x2f39ab(0x4cf)](_0x1acd11);}()),_0x165190[_0xd26cdb(0x3fd)];}));}(ut)),ut[_0x304306(0x23f)];}var dc=uc();const fc=at(dc);var vc=ir();const pi=at(vc);var It={'exports':{}},pc=It[_0x112848(0x23f)],mi;function mc(){const _0x43f21f=_0x112848;return mi||(mi=0x1,function(_0x4166e1,_0x1717aa){(function(_0x1942f6,_0x4710a7){const _0x10ab23=_0x5808;_0x4166e1[_0x10ab23(0x23f)]=_0x4710a7(_e());}(pc,function(_0x3486a9){const _0x3cd411=_0x5808;return _0x3486a9[_0x3cd411(0x2ae)]['Utf8'];}));}(It)),It[_0x43f21f(0x23f)];}var gc=mc();const Sc=at(gc);var Ct={'exports':{}},Ic=Ct[_0x112848(0x23f)],gi;function Cc(){const _0x142b9c=_0x112848;return gi||(gi=0x1,function(_0x419f5b,_0x4d51d7){(function(_0x7cb5bc,_0x52df21){const _0x31379f=_0x5808;_0x419f5b[_0x31379f(0x23f)]=_0x52df21(_e());}(Ic,function(_0x4a7f49){const _0xcb7520=_0x5808;return(function(){const _0x2546f2=_0x5808;if(typeof ArrayBuffer==_0x2546f2(0x4ce)){var _0x2ff5a3=_0x4a7f49,_0x462590=_0x2ff5a3[_0x2546f2(0x560)],_0x58ae1e=_0x462590[_0x2546f2(0x531)],_0x53761a=_0x58ae1e[_0x2546f2(0x460)],_0x572c5b=_0x58ae1e[_0x2546f2(0x460)]=function(_0x2ea671){const _0x397dfd=_0x2546f2;if(_0x2ea671 instanceof ArrayBuffer&&(_0x2ea671=new Uint8Array(_0x2ea671)),(_0x2ea671 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2ea671 instanceof Uint8ClampedArray||_0x2ea671 instanceof Int16Array||_0x2ea671 instanceof Uint16Array||_0x2ea671 instanceof Int32Array||_0x2ea671 instanceof Uint32Array||_0x2ea671 instanceof Float32Array||_0x2ea671 instanceof Float64Array)&&(_0x2ea671=new Uint8Array(_0x2ea671['buffer'],_0x2ea671[_0x397dfd(0x488)],_0x2ea671['byteLength'])),_0x2ea671 instanceof Uint8Array){for(var _0x73427a=_0x2ea671['byteLength'],_0x1516c4=[],_0x411680=0x0;_0x411680<_0x73427a;_0x411680++)_0x1516c4[_0x411680>>>0x2]|=_0x2ea671[_0x411680]<<0x18-_0x411680%0x4*0x8;_0x53761a[_0x397dfd(0x32c)](this,_0x1516c4,_0x73427a);}else _0x53761a[_0x397dfd(0x290)](this,arguments);};_0x572c5b[_0x2546f2(0x36f)]=_0x58ae1e;}}()),_0x4a7f49[_0xcb7520(0x560)][_0xcb7520(0x531)];}));}(Ct)),Ct[_0x142b9c(0x23f)];}var Ec=Cc();const bc=at(Ec);var Et={'exports':{}},Tc=Et[_0x112848(0x23f)],Si;function Rc(){return Si||(Si=0x1,function(_0x396169,_0x3bdbee){(function(_0xddecd9,_0x5dce89,_0x5d2c26){const _0x1c76eb=_0x5808;_0x396169[_0x1c76eb(0x23f)]=_0x5dce89(_e(),nr());}(Tc,function(_0x47b4e4){const _0x2ff31a=_0x5808;return _0x47b4e4[_0x2ff31a(0x3ff)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x47b4e4[_0x2ff31a(0x3ff)][_0x2ff31a(0x3cb)];}));}(Et)),Et['exports'];}var Oc=Rc();const yc=at(Oc);function wc(_0x1e634a,_0x409ab4){const _0x117ace=_0x409ab4-_0x1e634a['length']%_0x409ab4,_0x1d465b=String['fromCharCode'](_0x117ace)['repeat'](_0x117ace);return _0x1e634a+_0x1d465b;}function Dc(_0x117b87,_0x4a28ef){const _0x34eeba=_0x112848,_0x2082ce=bc[_0x34eeba(0x312)](0x10),_0x5492b9=wc(_0x117b87,0x10),_0x204530=fc[_0x34eeba(0x310)](Sc[_0x34eeba(0x2e6)](_0x5492b9),pi['parse'](_0x4a28ef),{'iv':_0x2082ce,'padding':yc});return _0x2082ce[_0x34eeba(0x480)](_0x204530['ciphertext'])[_0x34eeba(0x27e)](pi);}function Pc(){const _0x14098a=_0x112848,_0x4fe448=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x4fe448){const _0x37a4bd={'time':Math[_0x14098a(0x30e)](Date[_0x14098a(0x500)]()/0x3e8),'domain':location['hostname']};return Dc(JSON[_0x14098a(0x2f0)](_0x37a4bd),_0x4fe448);}}var Uc=Object[_0x112848(0x47b)],Nc=Object['getOwnPropertyDescriptor'],Ac=(_0x1725b3,_0x2288a1,_0x3da2d0,_0x52ca29)=>{const _0x5c28e3=_0x112848;for(var _0x3226ca=_0x52ca29>0x1?void 0x0:_0x52ca29?Nc(_0x2288a1,_0x3da2d0):_0x2288a1,_0x46e254=_0x1725b3[_0x5c28e3(0x2c7)]-0x1,_0x59d6c0;_0x46e254>=0x0;_0x46e254--)(_0x59d6c0=_0x1725b3[_0x46e254])&&(_0x3226ca=(_0x52ca29?_0x59d6c0(_0x2288a1,_0x3da2d0,_0x3226ca):_0x59d6c0(_0x3226ca))||_0x3226ca);return _0x52ca29&&_0x3226ca&&Uc(_0x2288a1,_0x3da2d0,_0x3226ca),_0x3226ca;},Mc=(_0x38c30d,_0x233ffa)=>(_0x50f665,_0x4ff8ee)=>_0x233ffa(_0x50f665,_0x4ff8ee,_0x38c30d);let Lt=class{constructor(_0xb76a1f){this['_httpService']=_0xb76a1f,this['_initRequestHeader']();}[_0x112848(0x53c)](){const _0x4c814d=_0x112848;this['_httpService'][_0x4c814d(0x43c)]({'interceptor':(_0x5bf61c,_0x1214d7)=>{const _0x5c2ce1=_0x4c814d,_0x4ff0e3=_0x5bf61c['headers'],_0x4b92c1=Pc();return _0x4b92c1&&_0x4ff0e3['set'](_0x5c2ce1(0x4a2),_0x4b92c1),_0x1214d7(_0x5bf61c);}});}};Lt=Ac([Mc(0x0,_0xa52f76(_0xf832d4))],Lt);var xc=Object[_0x112848(0x47b)],Lc=Object['getOwnPropertyDescriptor'],$c=(_0x5c66ff,_0x11c1e4,_0x36a3fe,_0x3a2d2c)=>{for(var _0x361a80=_0x3a2d2c>0x1?void 0x0:_0x3a2d2c?Lc(_0x11c1e4,_0x36a3fe):_0x11c1e4,_0x1edfb2=_0x5c66ff['length']-0x1,_0x294ff7;_0x1edfb2>=0x0;_0x1edfb2--)(_0x294ff7=_0x5c66ff[_0x1edfb2])&&(_0x361a80=(_0x3a2d2c?_0x294ff7(_0x11c1e4,_0x36a3fe,_0x361a80):_0x294ff7(_0x361a80))||_0x361a80);return _0x3a2d2c&&_0x361a80&&xc(_0x11c1e4,_0x36a3fe,_0x361a80),_0x361a80;},is=(_0x52305c,_0x2888ea)=>(_0x1ea620,_0x3342d3)=>_0x2888ea(_0x1ea620,_0x3342d3,_0x52305c);const Hc=[_0x112848(0x3d0),_0x112848(0x4c0),_0x112848(0x5fd),_0x112848(0x57e),_0x112848(0x372)],jc=0x5*0x400*0x400,Bc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',kc=_0x112848(0x388),Wc=_0x112848(0x36c),Fc='/universer-api/file/{fileID}/sign-url';let ps=class{constructor(_0x211841,_0x4361b3,_0x3435b8){const _0x2a63fa=_0x112848;g(this,_0x2a63fa(0x5e9),0x0),g(this,_0x2a63fa(0x4c2),new _0x37f3d3()),g(this,_0x2a63fa(0x4d0),this[_0x2a63fa(0x4c2)]),g(this,'_imageSourceCache',new Map()),(this[_0x2a63fa(0x216)]=_0x211841,this['_configService']=_0x4361b3,this[_0x2a63fa(0x3ad)]=_0x3435b8);}[_0x112848(0x239)](_0x1bee41){const _0x3e910b=_0x112848;this['_waitCount']=_0x1bee41,this[_0x3e910b(0x4c2)][_0x3e910b(0x53a)](_0x1bee41);}[_0x112848(0x347)](_0x16de20,_0xbcd12f){const _0x49bcd7=_0x112848;if(_0xbcd12f===_0x9c5fb['BASE64']){const _0x22c3ed=new Image();return _0x22c3ed['src']=_0x16de20,_0x22c3ed;}return this[_0x49bcd7(0x38b)][_0x49bcd7(0x4cd)](_0x16de20);}[_0x112848(0x4a8)](_0x2053ec,_0x28bcf5,_0x576432){const _0x3d996e=_0x112848;_0x28bcf5===_0x9c5fb[_0x3d996e(0x2cf)]||_0x576432==null||this['_imageSourceCache'][_0x3d996e(0x2ab)](_0x2053ec,_0x576432);}async['getImage'](_0x228445){const _0xdf67b0=_0x112848;try{const _0x539364=this[_0xdf67b0(0x2a8)](this['_getSignURL'](),''+_0x228445),_0x5bb417=(await this[_0xdf67b0(0x216)][_0xdf67b0(0x4cd)](_0x539364))['body'];if(_0x5bb417['error']&&_0x5bb417[_0xdf67b0(0x3b9)][_0xdf67b0(0x3d7)]===Wi['OK']){const _0x14d78e=new URL(_0x5bb417[_0xdf67b0(0x3dd)],this[_0xdf67b0(0x5f8)]())[_0xdf67b0(0x27e)]();return Promise['resolve'](_0x14d78e);}return Promise[_0xdf67b0(0x5c4)](_0x5bb417['error']);}catch(_0x194ac5){return Promise['reject'](_0x194ac5);}}async[_0x112848(0x54e)](_0x1f1bb9){const _0x2ffae9=_0x112848;let _0x2b016d='';if(!Hc[_0x2ffae9(0x3c5)](_0x1f1bb9[_0x2ffae9(0x5b1)]))return this[_0x2ffae9(0x429)](),Promise[_0x2ffae9(0x5c4)](new Error(_0x550762[_0x2ffae9(0x5bc)]));if(_0x1f1bb9[_0x2ffae9(0x307)]>jc)return this['_decreaseWaiting'](),Promise[_0x2ffae9(0x5c4)](new Error(_0x550762[_0x2ffae9(0x44f)]));try{const _0x2ff024=new FormData();_0x2ff024[_0x2ffae9(0x51c)](_0x2ffae9(0x3fe),_0x1f1bb9);const _0x38574d=this[_0x2ffae9(0x3ad)][_0x2ffae9(0x377)](),_0x598979=_0x38574d==null?void 0x0:_0x38574d[_0x2ffae9(0x579)]();if(!_0x598979)throw new Error(_0x2ffae9(0x33b));const _0x1070e4=this[_0x2ffae9(0x51f)]()+'?size='+_0x1f1bb9[_0x2ffae9(0x307)][_0x2ffae9(0x27e)]()+'&source='+Fi[_0x2ffae9(0x5a3)]+_0x2ffae9(0x40f)+encodeURIComponent(_0x598979),_0x36aa28=await(await fetch(_0x1070e4,{'method':'POST','body':_0x2ff024}))['json']();if(typeof _0x36aa28['FileId']!=_0x2ffae9(0x458))return this[_0x2ffae9(0x429)](),Promise[_0x2ffae9(0x5c4)](new Error(_0x550762[_0x2ffae9(0x5ec)]));_0x2b016d=_0x36aa28[_0x2ffae9(0x32d)];}catch{return this[_0x2ffae9(0x429)](),Promise[_0x2ffae9(0x5c4)](new Error(_0x550762['ERROR_IMAGE']));}return new Promise((_0x346ad6,_0x3d1f4e)=>{const _0x32ea9e=_0x2ffae9,_0x207e66=new FileReader();_0x207e66[_0x32ea9e(0x41a)](_0x1f1bb9),_0x207e66['onload']=_0x1a6b9f=>{const _0x5f5416=_0x32ea9e;var _0x316dd9;const _0x33210f=(_0x316dd9=_0x1a6b9f[_0x5f5416(0x3e5)])==null?void 0x0:_0x316dd9[_0x5f5416(0x567)];if(_0x33210f==null){this[_0x5f5416(0x429)](),_0x3d1f4e(new Error(_0x550762['ERROR_IMAGE']));return;}const _0x1d1946=_0x5a9c5d[_0x5f5416(0x3db)](0x6);_0x346ad6({'imageId':_0x1d1946,'imageSourceType':_0x9c5fb[_0x5f5416(0x235)],'source':_0x2b016d,'base64Cache':_0x33210f,'status':_0x550762[_0x5f5416(0x4ec)]}),this[_0x5f5416(0x429)]();};});}[_0x112848(0x51f)](){const _0x3a1f22=_0x112848;var _0x2a6620,_0x2245d1;const _0xfe5c33=this[_0x3a1f22(0x3bf)][_0x3a1f22(0x496)](Bc),_0x1fbbb7=this[_0x3a1f22(0x3bf)][_0x3a1f22(0x496)](Q);return(_0x2245d1=(_0x2a6620=_0x1fbbb7==null?void 0x0:_0x1fbbb7[_0x3a1f22(0x2a9)])!=null?_0x2a6620:_0xfe5c33)!=null?_0x2245d1:kc;}[_0x112848(0x56d)](){const _0x11fe47=_0x112848;var _0x42d842,_0x5f24e9;const _0x320c9f=this[_0x11fe47(0x3bf)]['getConfig'](Wc),_0x5539c1=this['_configService'][_0x11fe47(0x496)](Q);return(_0x5f24e9=(_0x42d842=_0x5539c1==null?void 0x0:_0x5539c1[_0x11fe47(0x550)])!=null?_0x42d842:_0x320c9f)!=null?_0x5f24e9:Fc;}[_0x112848(0x5f8)](){const _0xdf458f=_0x112848;var _0x2d7425;const _0x141acb=this[_0xdf458f(0x3bf)]['getConfig'](Q);return(_0x2d7425=_0x141acb==null?void 0x0:_0x141acb[_0xdf458f(0x200)])!=null?_0x2d7425:location[_0xdf458f(0x5b2)];}[_0x112848(0x2a8)](_0x163d67,_0x246987){const _0x2640d3=_0x112848;return _0x163d67[_0x2640d3(0x1f2)](_0x2640d3(0x465),_0x246987);}[_0x112848(0x429)](){const _0xb60ad4=_0x112848;this[_0xb60ad4(0x5e9)]-=0x1,this[_0xb60ad4(0x4c2)][_0xb60ad4(0x53a)](this[_0xb60ad4(0x5e9)]);}};ps=$c([is(0x0,_0xa52f76(_0xf832d4)),is(0x1,_0x11a6c7),is(0x2,_0xa52f76(_0x1efafe))],ps);var Vc=Object[_0x112848(0x47b)],Gc=Object[_0x112848(0x331)],Yc=(_0x20c528,_0xcaa22,_0x145c97,_0x24597f)=>{const _0x3620e9=_0x112848;for(var _0x5bb698=_0x24597f>0x1?void 0x0:_0x24597f?Gc(_0xcaa22,_0x145c97):_0xcaa22,_0x319f7e=_0x20c528[_0x3620e9(0x2c7)]-0x1,_0x421732;_0x319f7e>=0x0;_0x319f7e--)(_0x421732=_0x20c528[_0x319f7e])&&(_0x5bb698=(_0x24597f?_0x421732(_0xcaa22,_0x145c97,_0x5bb698):_0x421732(_0x5bb698))||_0x5bb698);return _0x24597f&&_0x5bb698&&Vc(_0xcaa22,_0x145c97,_0x5bb698),_0x5bb698;},Ii=(_0x4d40cb,_0x19223b)=>(_0x39b800,_0x35e68f)=>_0x19223b(_0x39b800,_0x35e68f,_0x4d40cb);const Kc='/universer-api/authz';let ms=class{constructor(_0x27d755,_0x37968b){const _0x73e7a8=_0x112848;this['_configService']=_0x27d755,this[_0x73e7a8(0x46b)]=_0x37968b;}['_getAPIPrefixPath'](){const _0x422b95=_0x112848;var _0x4e25c4,_0xe49673;const _0x38b86d=this[_0x422b95(0x3bf)][_0x422b95(0x496)](sr),_0x5fd495=this['_configService'][_0x422b95(0x496)](Q);return(_0xe49673=(_0x4e25c4=_0x5fd495==null?void 0x0:_0x5fd495[_0x422b95(0x3c8)])!=null?_0x4e25c4:_0x38b86d)!=null?_0xe49673:Kc;}async[_0x112848(0x48f)](_0x19cc87){const _0x49957e=_0x112848,_0x398e1b=this[_0x49957e(0x2c6)]()+_0x49957e(0x584);return{'list':[{'title':_0x49957e(0x25a),'mentions':(await this['_HTTPService']['get'](_0x398e1b,{'params':{'objectID':_0x19cc87[_0x49957e(0x261)],'unitID':_0x19cc87[_0x49957e(0x261)]}}))['body'][_0x49957e(0x376)][_0x49957e(0x400)](_0x47abf3=>({'objectId':_0x47abf3['id'],'name':_0x47abf3[_0x49957e(0x2d5)][_0x49957e(0x353)],'metadata':{'icon':_0x47abf3[_0x49957e(0x2d5)]['avatar']},'label':_0x47abf3['subject']['name'],'objectType':_0x2674d4[_0x49957e(0x45a)]})),'metadata':{},'type':_0x2674d4[_0x49957e(0x45a)]}]};}};ms=Yc([Ii(0x0,_0xa52f76(_0x11a6c7)),Ii(0x1,_0xa52f76(_0xf832d4))],ms);var qc=Object['defineProperty'],zc=Object[_0x112848(0x331)],Xc=(_0x223342,_0x52d100,_0x159cd4,_0x4ea28c)=>{for(var _0x20be01=_0x4ea28c>0x1?void 0x0:_0x4ea28c?zc(_0x52d100,_0x159cd4):_0x52d100,_0x12babd=_0x223342['length']-0x1,_0x31a774;_0x12babd>=0x0;_0x12babd--)(_0x31a774=_0x223342[_0x12babd])&&(_0x20be01=(_0x4ea28c?_0x31a774(_0x52d100,_0x159cd4,_0x20be01):_0x31a774(_0x20be01))||_0x20be01);return _0x4ea28c&&_0x20be01&&qc(_0x52d100,_0x159cd4,_0x20be01),_0x20be01;},Qe=(_0x307f21,_0x3391a6)=>(_0x37d36a,_0x57e26b)=>_0x3391a6(_0x37d36a,_0x57e26b,_0x307f21);let $t=class extends _0x40c6c0{constructor(_0xe25e41,_0x1097f1,_0x416847,_0x3a27f1,_0x2c2128){const _0x2981d3=_0x112848;super(),this[_0x2981d3(0x382)]=_0xe25e41,this[_0x2981d3(0x3ad)]=_0x1097f1,this[_0x2981d3(0x52f)]=_0x416847,this['_collaborationSessionService']=_0x3a27f1,this[_0x2981d3(0x491)]=_0x2c2128,this[_0x2981d3(0x3c9)](),this[_0x2981d3(0x61b)]();}['_initCloseConn'](){const _0x3ba543=_0x112848,_0x3504a9=async _0x3ee76b=>{const _0x196476=_0x5808;(await this[_0x196476(0x3ed)][_0x196476(0x351)](_0x3ee76b))[_0x196476(0x4fa)]['pipe'](_0x4c7b7d(_0x91c996=>_0x91c996[_0x196476(0x585)]===_0x18493d['SHOULD_CLOSE_CONN']),_0x5b0372(this[_0x196476(0x204)]))[_0x196476(0x4f8)](_0x4abeeb=>{const _0x2d3bf8=_0x196476,_0x1383ca=_0x4abeeb,{reason:_0x13165d}=_0x1383ca[_0x2d3bf8(0x600)];this['_injector'][_0x2d3bf8(0x4cd)](_0x1a4116)[_0x2d3bf8(0x501)]({'type':_0x52ad10[_0x2d3bf8(0x202)],'content':this[_0x2d3bf8(0x491)]['t'](_0x2d3bf8(0x459))+'('+_0x13165d+')'}),this[_0x2d3bf8(0x52f)][_0x2d3bf8(0x615)](new _0x1454cb(_0x3ee76b)['id'],!0x1),this[_0x2d3bf8(0x3ed)]['closeSession'](_0x3ee76b);});};_0x566afd(this[_0x3ba543(0x3ad)]['getTypeOfUnitAdded$'](_0x3f1ceb['UNIVER_SHEET']),this[_0x3ba543(0x3ad)][_0x3ba543(0x571)](_0x3f1ceb[_0x3ba543(0x538)]))[_0x3ba543(0x529)](_0x338263(_0x4ea2b0=>_0x4ea2b0[_0x3ba543(0x579)]()),_0x4c7b7d(_0x1b021e=>!_0x84653(_0x1b021e)),_0x5b0372(this['dispose$']))[_0x3ba543(0x4f8)](_0x4db41c=>{_0x3504a9(_0x4db41c);});}[_0x112848(0x3c9)](){const _0x54170a=_0x112848,_0x23306f=async _0x44f35b=>{const _0x1ca708=_0x5808;(await this[_0x1ca708(0x3ed)]['requireSession'](_0x44f35b))[_0x1ca708(0x4fa)][_0x1ca708(0x529)](_0x4c7b7d(_0x57b112=>_0x57b112['eventID']===_0x18493d[_0x1ca708(0x5f1)]),_0x5b0372(this[_0x1ca708(0x204)]))[_0x1ca708(0x4f8)](_0x3972ad=>{const _0x38f8cf=_0x1ca708,_0xe6b842=_0x3972ad,{objectId:_0x1a3bbe}=_0xe6b842[_0x38f8cf(0x600)],_0x49fe08=this['_injector'][_0x38f8cf(0x4cd)](_0x43faf2);_0x1a3bbe===_0x44f35b?_0x49fe08[_0x38f8cf(0x1f4)](_0x44f35b):_0x49fe08[_0x38f8cf(0x588)](_0x44f35b,_0x1a3bbe);});};_0x566afd(this[_0x54170a(0x3ad)]['getTypeOfUnitAdded$'](_0x3f1ceb[_0x54170a(0x3f0)]),this['_univerInstanceService'][_0x54170a(0x571)](_0x3f1ceb[_0x54170a(0x538)]))[_0x54170a(0x529)](_0x338263(_0x5ec4a5=>_0x5ec4a5[_0x54170a(0x579)]()),_0x4c7b7d(_0x34b702=>!_0x84653(_0x34b702)),_0x5b0372(this[_0x54170a(0x204)]))[_0x54170a(0x4f8)](_0x4d7ed3=>{_0x23306f(_0x4d7ed3);});}};function _0x5808(_0x3e20f3,_0x5abf38){const _0x189321=_0x1893();return _0x5808=function(_0x5808b2,_0x3cfe48){_0x5808b2=_0x5808b2-0x1ef;let _0x133be0=_0x189321[_0x5808b2];return _0x133be0;},_0x5808(_0x3e20f3,_0x5abf38);}function _0x1893(){const _0x476b6f=['_refreshCollabCursors','/collaborator','eventID','save','clearTimeout','refreshPermission','state$','414jnKTyo','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','\x20to\x20','_eventUnsubscribe','_collabCursorController','transformByState','roomMembers','mixIn','LEAVE','copyFileMeta','removeParam','RemoveRowCommandId','/universer-api/oidc/authpage','_snapshotServerService','_undoRedoService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','min','7596684lCgszK','HmacSHA1','_socketMessageSubscription','TEXT','_transformService','getCollabEntity$','registerComponent','session','UnitEmbedded','setAlpha','_xformMode','_createHandler','sessionTicket','_throwTelemetryCollaborationNewChangeset','clear','_scheduleClearOtherTimer','interceptor','resend','UNKNOWN_CMD','method','onlineStatusIcon','getSheetBySheetId','type','origin','_getLoginPath','objectID','_socketService','update','undoState','getInterceptPoints','HEADER_MENU','assign','_drawTextRange','ERROR_IMAGE_TYPE','_docTransformIMECacheService','icon','_syncEditingCollabCursorService','DeleteRangeMoveLeftCommandId','_http','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_getCurrentRevision','reject','onSendChangeset','[DataLoaderController]','onTransformRemoteChangesetByStateCache','toRgbString','COLLAB_WEB_SOCKET_URL','history','on-line-single_clip0_910_349','[CollaborationState]:\x20apply\x20error!','INVALID_ARGUMENT','INGEST','getTime','createCollaborator','_updateLocalCache','_shapes','setShowComponents','_localStorageService','SHOULD_CLOSE_CONN','hide','LOCAL_CACHE_INTERVAL','COLLAB_SUBMIT_CHANGESET_URL','measureText','session.connection-failed','currentTheme$','conflict.title','_getSaveTimeout','_telemetryService','getSnapshotAPIPath','unitID','transformIMECache','csRejEvent','_nDataBytes','revision','getStateCache','LICENSE_MAX_UNITS_EXCEEDED','action','getParam','_waitCount','status','unit','ERROR_IMAGE','Malformed\x20UTF-8\x20data','USERS_LEAVE','className','_retryCount','UPDATE_PERMISSION_OBJ','ReactCurrentOwner','_anchor','#FFF','some','Decryptor','reqId','_getDownloadEndpointURL','isArray','MSG_FOR_ERROR','stopTime','_minBufferSize','image/jpg','focused$','getMergeData','data','updateOfflineData','_id','status$','_beforeCloseService','UnitSnapshot','asObservable','_docSyncEditingCollabCursorService','_colorIndex','crypto','submit\x20changeset\x20error!','bind','ALREADY_EXISTS','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','red300','collabCursorState$','onlineStatusTitle','_messageService','setShapeProps','equals','exhaustSavingTask','updatePermissionPoint','evenodd','_keySchedule','[PendingState]:\x20received\x20rejection.','onlineStatus','close$','_initCloseConn','_loadSheet','_draw','roomMembers$','onPointerMove$','members','replace','_transitionLocked','initWorkbookPermissionChange','saveSnapshot','[CollaborationSessionService]','YUUMI_URL_COL_OUT_OF_RANGE','unsubscribe','_replayCachedMutations','LIVESHARE_NEW_HOST','_handleEvent','LIVESHARE_TERMINATE','SerializableCipher','__creator','lineTo','downloadEndpointUrl','shouldCloseConn','Error','&to=','dispose$','_sender','getViewport','getSkeleton','onRemoteChangeset','forEach','updatePermissionObjEvent','[CollaborationSessionService]:\x20socket\x20error','snapshot','COMPRESS_MUTATION_SEND','/block/','_queuedRemoteChangesets','_getAnchorBounding','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getRoom','/-/object/list','object','FETCH_MISSING','_httpService','url(#on-line-single_clip0_910_349)','_onCursorUpdate','getDeserializedSheetBlock','FAIL','connection\x20error','_disableEditing','headers','_scene','max','#fff','session.will-retry','/role','YUUMI_RATE_OVER_LIMIT','clearInterval','slice','_isPermissionRej','_cursor','backgroundColor','MoveRangeCommandId','ivSize','requestParams','pending','getMemberID','_selfUnitIDs','Error\x20on\x20receiving\x20event','_drawRectRange','registerRenderModule','_socketReady','_scheduleCollaborationTimeoutTimer','debug','UUID','_handleHeartbeatEvent','_submitChangeset','_reverseMap','setWaitCount','PSEUDO_FETCH_MISSING_RESULT','_getCtorByUniverType','_entityInit$','_userManagerService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','exports','socketService','Hex','cmd','_waitForHeartbeatResponse','cursorInfo$','_collaborationTimeoutTimer','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','changesets','_type','UNKNOWN_CODE','/object/','syncEditingCollabCursor','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','collaboratorID','cursorInfo','collaboration-client.config','_clearScheduledTask','docStateChange$','saveChangeset','_candidateSocket','drawWith','fill','params','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','onTransformSelections','textRanges','People','pluginName','JOIN','fetchMiss','SNAPSHOT_INVALID_SNAPSHOT','_transformUndoRedoStack','confirm','unitId','addObjects','resourceIDs','Undefined','onRemoteRej','beginPath','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_clearHeartbeatTimer','react.fragment','onReady','getAllMembers','_snapshotService','FromArray','_docSkeleton','AUTHZ_URL_KEY','_getMergeRange','_incrementRevisionNumber','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_sheetSkeletonManagerService','_initDependencies','onRemoteRetry','_transformPreviousActiveRange','createDecryptor','add','_roomMembers$','_cursorShapes','key','values','verdancy600','toString','updateCursorEvent','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','getRenderById','_socket$','executeCommand','transformMutationsWithChangeset','_schedule','_removeClearOtherTimer','infoRsp','getUnitStatus$','assignAColorForMemberID','_docTransformStateCacheService','_getRedoStack','endColumn','fetchMissingChangesets','replaceState','[CollaborationUndoRedoService]','apply','hasher','pushState','CHANGESET_REVISION_CONFILICT','saveOfflineData','FETCH_MISS','_timeoutTimer','_updateStatus','dispose','InsertColCommandId','/universer-api/comb','_onRemoteRejected','synced','sessionStatus$','disposeWithMe','routeKey','makeDirty','_event$','_initStatusComponent','urlChange$','_cipher','_ensureSubject','_getUndoStack','6580772bdocTy','_replaceFileID','uploadFileServerUrl','push','set','_createInitialStateImpl','_onConnectionOpen','enc','_saveTaskMap','getValue','_removeRoom','_collabSessionService','c2Prime','words','restore','substr','height','onStarting','_getSendChangesetTimeout','getVpScrollXYInfoByPosToVp','hidden','[OfflineState]:\x20received\x20acknowledgement.','_invKeySchedule','patch','_logService','conflict','triggerDblclick','_session','Hasher','whenReady','_roomMembers','_getAPIPrefixPath','length','c1Prime','OFFLINE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','padding','Utf8','msCrypto','PENDING','BASE64','compute','endRow','UNRECOGNIZED','_clearTimeoutTimer','BlockCipherMode','subject','_key','compose','11726768NIiJXz','getUnitOnRev','_toggleOnline','_getScale','subunit','SEND_CHANGESET_TIMEOUT','collab-client.tooltip.reconnect','_backgroundColor','_onLocalMutation','/universer-api/snapshot/','defIds','_doCryptBlock','displayName','_transformStack','parse','_loadDoc','USERS_ENTER','csShouldRetryEvent','APPLY_REJECT','black','ceil','LIVESHARE_OPERATION','onTransformIME','onCommandExecuted','stringify','entries','redoState','commentUpdate$','every','LICENSE_IMPORT_SIZE_EXCEEDED','onMissingChangesets','_handleLeaveEvent','_syncEditingCollabCursor','SNAPSHOT_SERVER_URL_KEY','state','_themeService','conflict.content','incrementRevOfUnit','startRow','tag','deepClone','font','/object','PasswordBasedCipher','_getSheetObject','rgba(255,\x20255,\x20255,\x200.01)','sendChangesetTimeout','size','TOO_MANY_REQUESTS','INTERNAL_ERROR','collaboration.single-unit.warning','_transformHistoryAndStateStack','abs','algo','floor','APPLY_NON_SEQUENTIAL_REVISION','encrypt','currentSkeleton$','random','setStateCache','_initMergeInterceptor','newValue','clipPath','isActive','UNIVER_UNKNOWN','VIEW_MAIN','div','_registerDependencies','LIVESHARE_FETCH_OPERATIONS','_textBubble','uni.network.url-service','transformChangesets','_send','body','decrypt','setActiveRange','charAt','transformRemoteChangeset','href','_unitID','encryptBlock','enableOfflineEditing','Unknown\x20user','catch','call','FileId','_handler','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','awaitingChangeset','getOwnPropertyDescriptor','_map','unshift','/new_changes','off-line-single_clip0_910_343','AWAITING','_onCursorDelete','rng','url(#$1','transformStack\x20failed!','unitId\x20is\x20not\x20found','startTime','format','_imageIoService','Base64','5irzMsv','_sheetTransformSelectionsService','4322619NCEErH','_document','/allowed','onlyLocal','getCurrent','getImageSourceCache','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','column','RECT','attrs','_collaborationController','registerOnClose','_hover','createSocket','Warning','requireSession','_retryConnectingTimer','name','subscribeEvent','_clearCollaborationTimeoutTimer','addEventListener','updateMember','_createHmacHelper','_checkMissing','getCurrentUnitForType','actions','_scheduleTimestamp','bottom','retryConnectingInterval','getCurrentUser','setTimeout','find','open$','BufferedBlockAlgorithm','setInterval','online','HttpExport','objectActions','post','defs','randomUUID','PERMISSION_DENIED','EXCHANGE_SIGN_URL_SERVER_URL_KEY','collabStatus.syncing','OTHER_CLIENTS_EDITING','prototype','NO_OTHER_CLIENTS_EDITING','_data','image/bmp','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_state','APPLY_DUPLICATED','collaborators','getFocusedUnit','extend','jsxs','_sessionStatus$','delete','_nRounds','...','_remoteChangesetQueue','SUBMIT_CHANGESET','_doProcessBlock','loadDoc','_injector','_transformSelections','collabSubmitChangesetUrl','setItem','_drawAnchor','session.collaboration-timeout','/universer-api/stream/file/upload','_assignedColors','_renderManagerService','_imageSourceCache','from','_sessions','complete','_context','sigBytes','fillStyle','editingUnit','_iKey','unknown','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_tryReconnect','_startSheetCollabCursor','create','clamp','popstate','disableLocalCache','substring','encode','enableSingleActiveInstanceLock','getCollabEntity','searchParams','CHANGESET_ACK','_entities','getActiveSheet','isPermissionRej','registerRefRange','_changesetSessionId','InsertRangeMoveRightCommandId','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_prevBlock','univer-online','fromCharCode','[OfflineState]:\x20received\x20changeset.','_univerInstanceService','UNIVER_SLIDE','JOINING','socket\x20close','getResourcesRequest','_changesetReqId','_clearOtherTimers','\x20-\x20','defaultProps','range','_resendTimer','_listenToOnlineEvent','error','deleteCollaborator','_singleActiveUnitService','_render','collabStatus.fetchMiss','doc.mutation.rich-text-editing','_configService','mutations','none','_append','CBC','_onRemoteACK','includes','createEncryptor','put','authzUrl','_initUnitPermissionChange','_hideTimer','NoPadding','HEARTBEAT','_resendWithTimeout','_commentService','HttpImport','image/png','_docTransformSelectionsService','blockSize','LOGIN_URL_KEY','_onUserJoin','_onOffline','_sendHeartbeatTimer','code','mode','onRemoteAck','purple300','generateRandomId','_scheduleSaving','url','appendMutation','text','RemoveColCommandId','on-line-single','jsx','_mode','getCurrentSelections','target','setCurrentUser','_onMessage','_onConnectionFailed','__esModule','_startCollaboration','unpad','_status$','_collaborationSessionService','liveShareOperation','_iv','UNIVER_SHEET','_stopTelemetryCollaborationNewChangeset','current','APPLY_PERMISSION_DENIED','react.element','decryptBlock','/universer-api/snapshot','collabStatus.offline','propertyIsEnumerable','_oKey','_localCacheService','finalize','Could\x20not\x20dynamically\x20require\x20\x22','AES','file','pad','map','_setupSubUnitSync','getWorkbookSelections','onStateChange','getCurrentRevOfUnit','collab-rect-range-','color','UPDATE_CURSOR','HEARTBEAT_TIMEOUT','_initStatusListener','reverse','clone','session.room-full','selection','_members','&assign=','_revisionService','all','withCredentials','_fetchMissChangesets','symbol','getDocRanges','_transformUndoredo','_removeCollabCursors','M0\x200H16V16H0z','OpenSSL','readAsDataURL','_startTelemetryCollaborationNewChangeset','_transformStateCache','svg','_scheduleHeartbeat','Fragment','_lastPointer','CONNECTOR_DATA_TOO_LARGE','width','addClipboardHook','gold400','_colorAssignService','SYNCED','m1Prime','254129CbauIz','_decreaseWaiting','Encryptor','/unit/','getOwnPropertySymbols','batchAllowed','onTransformChange$','_docClipboardService','_state$','collaboration_new_changeset','_online','collaboration-session-retry','objects','onTransformRemoteChangesetByIMECache','COMPRESS_MUTATION_APPLY','_commentUpdate$','sheetID','0\x200\x2017\x2016','sheets','baseRev','registerHTTPInterceptor','_parse','jiqing500','row','contains','startsWith','activeSheet$','_urlService','loadOfflineData','_awaitingChangeset','_updateCollabCursors','csAckEvent','0\x200\x2016\x2016','fetch_missing','OffLineSingle','NOT_FOUND','_heartbeatTimer','salt','_collabCursorState$','ERROR_EXCEED_SIZE','transformMutation','getSheetId','permission.content','?url=','collabStatus.synced','userID','reduce','_clearUndo','string','collaboration.closeRoom','PERSON','_applyRemoteChangeset','_cursorInfo$','getAncestorScale','_telemetryInfo','ciphertext','init','DeleteRangeMoveUpCommandId','offline','message$','hovered','{fileID}','_resendTimeout','number','[SyncedState]:\x20received\x20rejection.','_disabled','CHANGESET_REJ','_HTTPService','leaveEvent','_pendingMutations','colorChannel1','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[CollaborationSession]','_showConflictNotification','_onRemoteChangeset','_sendingTimer','univer-online-status-title','_hash','AWAITING_WITH_PENDING','setParam','rev','_unitStatus','objectType','defineProperty','unit-cache-','duration','_cachedData','DEFAULT_FILE_NAME','concat','_substituteUndoStack','filter','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[UniverCollaborationClientPlugin]','getUndoRedoMutationParamsCache','visibilityState','onTransformState','byteOffset','_process','source','POST','/-/object/-/batch_allowed','execute','awaiting_with_pending','list','_range','_localeService','onMouseMove','xlink:href','UNIVER_PROJECT','_rescheduleHeartbeat','getConfig','getRandomValues','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_createSocket','transform','MUTATION','_getSessionTicket','use','LIVESHARE_REQUEST_HOST','SNAPSHOT_URL_KEY','LICENSE_DISTRO_REJECTED','JOIN_ROOM_NOT_ALLOWED','x-univer-host','ranges','_ws','univer-pro.collaboration-client-socket-service','[CollaborationEntity]','trim','addImageSourceCache','closeSession','_docStateChangeManagerService','indexOf','selections','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','close','HMAC','transformUndoRedo','reconnect','subUnitId','_onRemoteRetry','getOffsetConfig','_onRefRangeChange','LICENSE_EXPORT_SIZE_EXCEEDED','RECV','_joinRoom','onMissedChangesetFetched','ws://127.0.0.1:8000/universer-api/comb/connect','then','NOT_COLLAB','[SyncedState]:\x20received\x20acknowledgement.','editing\x20status\x20changed\x20to','randomBytes','image/jpeg','awaiting','_change$','getCollabCursors$','joinEvent','_anchorDot','getActiveRange','collaMsg','setConfig','_color','_memberService','collab-text-anchor-','_docSkeletonManagerService','get','function','_createHelper','change$','round','disposeUnit','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','fetchThroughInterceptors','with','_collaborationPaused','roomInfos','createInstance','_onFetchMissResult','_updateURLWithCurrentState','[OfflineState]:\x20received\x20rejection.','transformStateCache','_compressMutationService','onSyncEditingCollabCursor','_hasher','_getAPIPrefix','labelPosition','ONLINE','UNAUTHENTICATED','_sendHeartbeat','_unlockTransition','_executeRemoteChangeset','enableLocalCache','fetching\x20missing\x20changesets\x20from\x20','_clearRedo','_unitOnClients','_onRecvEvent','SUCCUSS','cfg','_listenToOfflineEvent','5004jeNiua','_exhaustRemoteChangesetQueue','_commandService','_transformRemoteChangesetByStateCache','toggleOffline','_labelPosition','getLatestCsReqIdBySid','addObject','splice','subscribe','_keyPriorReset','event$','getMember','$super','findNodePositionByCharIndex','_name','keySize','now','show','moveTo','_registerRenderDependencies','_hovered','commentUpdateEvent','fromCollab','_refRangeService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','path','/fetchmissing?from=','snapshotServerUrl','UNDEFINED','_config','not_collab','YUUMI_UNABLE_LOAD_URL','HEARTBEAT_INTERVAL','_socket','_initResize','split','_onJoinRoomEvent','getSheetBlock','_onUserLeave','join','arc','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','location','capture','append','transformSelections','JOIN_ROOM_FULL','_getUploadFileURL','_ENC_XFORM_MODE','_uiPartsService','univer-offline','send','getTypeOfUnitDisposed$','EvpKDF','joinRsp','getRelativeToViewportCoord','_transformIMECache','pipe','_lockTransition','_init','IDLE','pauseCollaboration','COMMENT_UPDATE','_permissionService','_saveCache','WordArray','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_toggleOffline','MD5','/rev/','/universer-api/user/session-ticket','1em','UNIVER_DOC','_tryEnsureSocket','next','47509677QvVFWS','_initRequestHeader','children','onRendered','_acknowledgedAwaitingChangeset','_doReset','readInt32LE','fillText','has','title','getUniverSheetInstance','reset','default','univer-online-status','Base','_createSocketURL','memberID','HELLO','_doFinalize','saveImage','listRoles','signUrlServerUrl','sid','registerBeforeClose','m2Prime','_initCommandExecutedListener','kdf','COMPLETION_FINISHED','originalMeta','_createInitialState','_onConflict','blue400','YUUMI_SUBSCRIPTION_NOT_FOUND','_cursors','permissionRejEvent','Cipher','_updateSubUnitFromURLParams','lib','onCommentUpdate','_onCombEvent','localeService','onPointerEnter$','sessionStatus','_updateLocalCursor','result','_initEventListeners','liveShareNewHost','onPointerLeave$','CHANGESET_SHOULD_RETRY','getUnit','_getSignURL','top','removeMember','univer-online-status-icon','getTypeOfUnitAdded$','_updateState','_transformRemoteChangesetByIMECache','_instanceService','hasOwnProperty','idSuffix','charCodeAt','ref','getUnitId','permission.title','SHA1','for','CONFLICT','image/gif','toggleOnline','_shouldReportTelemetry','formatter','[PendingState]:\x20received\x20acknowledgement.'];_0x1893=function(){return _0x476b6f;};return _0x1893();}$t=Xc([Qe(0x0,_0xa52f76(_0x2e5136)),Qe(0x1,_0x1efafe),Qe(0x2,_0x5607d9),Qe(0x3,_0xa52f76(Me)),Qe(0x4,_0xa52f76(_0x316ab9))],$t);var Jc=Object['defineProperty'],Zc=Object[_0x112848(0x331)],Qc=(_0x41f04a,_0x175819,_0x2e623e,_0x12e7d8)=>{const _0x445e3a=_0x112848;for(var _0xecba85=_0x12e7d8>0x1?void 0x0:_0x12e7d8?Zc(_0x175819,_0x2e623e):_0x175819,_0x497b5c=_0x41f04a[_0x445e3a(0x2c7)]-0x1,_0x4a9d62;_0x497b5c>=0x0;_0x497b5c--)(_0x4a9d62=_0x41f04a[_0x497b5c])&&(_0xecba85=(_0x12e7d8?_0x4a9d62(_0x175819,_0x2e623e,_0xecba85):_0x4a9d62(_0xecba85))||_0xecba85);return _0x12e7d8&&_0xecba85&&Jc(_0x175819,_0x2e623e,_0xecba85),_0xecba85;},Ci=(_0x2e7ccb,_0x13d3c8)=>(_0x18ba4e,_0x24ca2a)=>_0x13d3c8(_0x18ba4e,_0x24ca2a,_0x2e7ccb);let gs=class{constructor(_0x3e0ef8,_0x4dbe1b){const _0x361d1d=_0x112848;this[_0x361d1d(0x3bf)]=_0x3e0ef8,this[_0x361d1d(0x216)]=_0x4dbe1b;}async[_0x112848(0x2d9)](_0x540c40,_0x372954){const _0x1f15f6=_0x112848;var _0x35a253;const {unitID:_0x2fa2c0,type:_0x2d313e,revision:_0xc3af79=0x0}=_0x372954,_0x3b07fd=this[_0x1f15f6(0x5df)]()+'/'+_0x2d313e+_0x1f15f6(0x42b)+_0x2fa2c0+_0x1f15f6(0x535)+_0xc3af79,_0x380aad=(await this[_0x1f15f6(0x216)][_0x1f15f6(0x4cd)](_0x3b07fd))[_0x1f15f6(0x321)],_0x4e0f82=(_0x35a253=_0x380aad[_0x1f15f6(0x20c)])==null?void 0x0:_0x35a253['workbook'];if(_0x4e0f82){const _0x131824=_0x4e0f82==null?void 0x0:_0x4e0f82[_0x1f15f6(0x557)],_0x2d2ced=_0x127662[_0x1f15f6(0x39d)](_0x57f395(_0x131824));_0x4e0f82[_0x1f15f6(0x557)]=_0x2d2ced,Object[_0x1f15f6(0x2f1)](_0x4e0f82[_0x1f15f6(0x43a)])[_0x1f15f6(0x209)](([,_0x4f4893])=>{const _0x949376=_0x1f15f6,_0x26640e=_0x4f4893[_0x949376(0x557)],_0x38a186=_0x127662['encode'](_0x57f395(_0x26640e));_0x4f4893[_0x949376(0x557)]=_0x38a186;});}return _0x380aad;}async[_0x112848(0x515)](_0x42b328,_0x536ed4){const _0x4060c3=_0x112848,{unitID:_0x4ca12f,type:_0x57806b,blockID:_0x9d1ea6}=_0x536ed4,_0x5bd249=this[_0x4060c3(0x4e0)]()+'/'+_0x57806b+_0x4060c3(0x42b)+_0x4ca12f+_0x4060c3(0x20e)+_0x9d1ea6;return(await this[_0x4060c3(0x216)][_0x4060c3(0x4cd)](_0x5bd249))[_0x4060c3(0x321)];}async[_0x112848(0x219)](_0x3f2fa2,_0x27fce8){const _0x42b16b=_0x112848,{unitID:_0x1a6930,type:_0x1a8ffa,blockID:_0x7eeb81}=_0x27fce8,_0x4ed934=this[_0x42b16b(0x4e0)]()+'/block/'+_0x1a8ffa+_0x42b16b(0x42b)+_0x1a6930+_0x42b16b(0x20e)+_0x7eeb81;return(await this[_0x42b16b(0x216)]['get'](_0x4ed934))[_0x42b16b(0x321)];}async[_0x112848(0x28d)](_0x2d198e,_0x5a9655){const _0x1b403b=_0x112848,{unitID:_0x3994e4,type:_0x4f6bea,from:_0x5756de,to:_0x3193ea}=_0x5a9655,_0x204ae2=this[_0x1b403b(0x4e0)]()+'/'+_0x4f6bea+'/unit/'+_0x3994e4+_0x1b403b(0x50a)+_0x5756de+_0x1b403b(0x203)+_0x3193ea;return(await this[_0x1b403b(0x216)][_0x1b403b(0x4cd)](_0x204ae2))[_0x1b403b(0x321)];}['getSnapshotAPIPath'](){const _0x30abab=_0x112848;var _0x3154b7;return(_0x3154b7=this[_0x30abab(0x3bf)]['getConfig'](bn))!=null?_0x3154b7:this['_getAPIPrefix']();}['_getAPIPrefix'](){const _0x4aae39=_0x112848;var _0x4370c4,_0xf77f11;const _0x439bc9=this[_0x4aae39(0x3bf)][_0x4aae39(0x496)](Cn),_0x933be7=this['_configService'][_0x4aae39(0x496)](Q);return(_0xf77f11=(_0x4370c4=_0x933be7==null?void 0x0:_0x933be7[_0x4aae39(0x50b)])!=null?_0x4370c4:_0x439bc9)!=null?_0xf77f11:En;}async[_0x112848(0x3b1)](_0x1ae104,_0xd69ba8){const _0x165f68=_0x112848,_0x1d1433=_0x165f68(0x2e1)+_0xd69ba8[_0x165f68(0x5b1)]+_0x165f68(0x42b)+_0xd69ba8[_0x165f68(0x5e0)]+'/resources';return(await this['_httpService'][_0x165f68(0x4cd)](_0x1d1433,{'params':{'resourceId':JSON[_0x165f68(0x2f0)](_0xd69ba8[_0x165f68(0x263)])}}))[_0x165f68(0x321)];}[_0x112848(0x1f5)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x112848(0x252)](){const _0x3502cc=_0x112848;throw new Error(_0x3502cc(0x5c2));}[_0x112848(0x593)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x112848(0x4f5)](){const _0x11a742=_0x112848;throw new Error(_0x11a742(0x5c2));}};gs=Qc([Ci(0x0,_0x11a6c7),Ci(0x1,_0xa52f76(_0xf832d4))],gs);var eh=Object[_0x112848(0x47b)],th=Object[_0x112848(0x331)],sh=(_0x486c90,_0x12fea9,_0x17ed31,_0x166a6d)=>{const _0x266784=_0x112848;for(var _0xd05e75=_0x166a6d>0x1?void 0x0:_0x166a6d?th(_0x12fea9,_0x17ed31):_0x12fea9,_0x28ec97=_0x486c90[_0x266784(0x2c7)]-0x1,_0x4fe815;_0x28ec97>=0x0;_0x28ec97--)(_0x4fe815=_0x486c90[_0x28ec97])&&(_0xd05e75=(_0x166a6d?_0x4fe815(_0x12fea9,_0x17ed31,_0xd05e75):_0x4fe815(_0xd05e75))||_0xd05e75);return _0x166a6d&&_0xd05e75&&eh(_0x12fea9,_0x17ed31,_0xd05e75),_0xd05e75;},et=(_0x59adbf,_0x4e896d)=>(_0x5852a7,_0x258449)=>_0x4e896d(_0x5852a7,_0x258449,_0x59adbf);let Ss=class extends _0x1e5d78{constructor(_0x337e83,_0x36ad8a,_0x563634,_0x2634d5,_0x58a638){const _0x34fde0=_0x112848;super(_0x337e83,_0x36ad8a,_0x563634),this[_0x34fde0(0x59f)]=_0x2634d5,this[_0x34fde0(0x2bf)]=_0x58a638;}[_0x112848(0x4b0)](_0x5d04e8,_0x516509){const _0x6be8f8=_0x112848,_0x134b13=this[_0x6be8f8(0x2a6)](_0x5d04e8);if(_0x134b13)try{const _0x53358a=this[_0x6be8f8(0x2e5)](_0x134b13,_0x516509);this[_0x6be8f8(0x481)](_0x5d04e8,_0x53358a);}catch(_0x6de947){this[_0x6be8f8(0x2bf)]['error'](_0x6be8f8(0x28f),_0x6de947),this[_0x6be8f8(0x457)](_0x5d04e8);}const _0xd61ec7=this[_0x6be8f8(0x28b)](_0x5d04e8);if(_0xd61ec7)try{const _0x4a926a=this[_0x6be8f8(0x2e5)](_0xd61ec7,_0x516509);this['_substituteRedoStack'](_0x5d04e8,_0x4a926a);}catch(_0xf20f1d){this['_logService'][_0x6be8f8(0x3b9)](_0xf20f1d),this[_0x6be8f8(0x4e9)](_0x5d04e8);}}['_clearUndo'](_0x28f167){const _0x5cfc18=_0x112848,_0x58000a=this['_getUndoStack'](_0x28f167);_0x58000a&&(_0x58000a['length']=0x0,this[_0x5cfc18(0x297)]());}[_0x112848(0x4e9)](_0x4f8519){const _0x5086a7=_0x112848,_0x3e22d8=this[_0x5086a7(0x28b)](_0x4f8519);_0x3e22d8&&(_0x3e22d8['length']=0x0,this[_0x5086a7(0x297)]());}[_0x112848(0x481)](_0x644715,_0x91736){const _0x2aa2ed=_0x112848;this['_undoStacks'][_0x2aa2ed(0x2ab)](_0x644715,_0x91736),this['_updateStatus']();}['_substituteRedoStack'](_0x471dbb,_0x59c99d){const _0x4b5b3c=_0x112848;this['_redoStacks']['set'](_0x471dbb,_0x59c99d),this[_0x4b5b3c(0x297)]();}['_transformStack'](_0x1b0146,_0x34a84d){const _0x5cf534=_0x112848,_0x40f839=[];let _0x220cba=_0x34a84d,_0x19f76b=_0x34a84d;for(let _0x4aea6e=_0x1b0146[_0x5cf534(0x2c7)]-0x1;_0x4aea6e>=0x0;_0x4aea6e--){const {unitID:_0x4f454f,undoMutations:_0x57a476,redoMutations:_0x26fb12}=_0x1b0146[_0x4aea6e],_0x3d98fa=this[_0x5cf534(0x59f)][_0x5cf534(0x284)](_0x220cba,_0x57a476),_0x2261df=this[_0x5cf534(0x59f)][_0x5cf534(0x284)](_0x19f76b,_0x26fb12);if(_0xc4ef8c(_0x3d98fa)||_0xc4ef8c(_0x2261df)){this[_0x5cf534(0x2bf)][_0x5cf534(0x3b9)]('[CollaborationUndoRedoService]',_0x5cf534(0x33a),_0x3d98fa,_0x2261df);break;}_0x220cba=_0x3d98fa['c1Prime'],_0x19f76b=_0x2261df['c1Prime'],_0x40f839[_0x5cf534(0x2aa)]({'unitID':_0x4f454f,'undoMutations':_0x3d98fa[_0x5cf534(0x553)],'redoMutations':_0x2261df[_0x5cf534(0x553)]});}return _0x40f839[_0x5cf534(0x40a)]();}};Ss=sh([et(0x0,_0x1efafe),et(0x1,_0x18a422),et(0x2,_0x4854c6),et(0x3,_0x6c5e45),et(0x4,_0x5268cc)],Ss);class ih extends _0x40c6c0{constructor(){const _0x50608e=_0x112848;super(),g(this,_0x50608e(0x2a3)),this['urlChange$']=_0x3a7923(window,_0x50608e(0x39a))[_0x50608e(0x529)](_0xb4b5bf(this[_0x50608e(0x204)]),_0x4f483e(0x1),_0x3cfafd(void 0x0));}['setParam'](_0x5dae4f,_0xcb1bdb,_0x58db75=!0x1){const _0x18fd66=_0x112848,_0x611a3=new URL(window['location']['href']);_0x611a3[_0x18fd66(0x3a0)][_0x18fd66(0x2ab)](_0x5dae4f,_0xcb1bdb),_0x58db75?window[_0x18fd66(0x5ca)][_0x18fd66(0x28e)]('','',_0x611a3['toString']()):window['history'][_0x18fd66(0x292)]('','',_0x611a3[_0x18fd66(0x27e)]());}[_0x112848(0x594)](_0x4bea92,_0x1c74dc=!0x1){const _0x1eef1a=_0x112848,_0x491f1f=new URL(window['location']['href']);_0x491f1f[_0x1eef1a(0x3a0)][_0x1eef1a(0x37b)](_0x4bea92),_0x1c74dc?window[_0x1eef1a(0x5ca)][_0x1eef1a(0x28e)]('','',_0x491f1f['toString']()):window['history']['pushState']('','',_0x491f1f[_0x1eef1a(0x27e)]());}[_0x112848(0x5e8)](_0x2f45a5){const _0x1d7e7a=_0x112848;var _0x314afd;return(_0x314afd=new URL(window[_0x1d7e7a(0x51a)]['href'])[_0x1d7e7a(0x3a0)][_0x1d7e7a(0x4cd)](_0x2f45a5))!=null?_0x314afd:void 0x0;}}var or=Object[_0x112848(0x47b)],rh=Object[_0x112848(0x331)],nh=(_0x426676,_0x3dbe21,_0x3248c7)=>_0x3dbe21 in _0x426676?or(_0x426676,_0x3dbe21,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3248c7}):_0x426676[_0x3dbe21]=_0x3248c7,oh=(_0x406187,_0x299e93,_0x219bfc,_0x2591db)=>{const _0x52a996=_0x112848;for(var _0x26968d=_0x2591db>0x1?void 0x0:_0x2591db?rh(_0x299e93,_0x219bfc):_0x299e93,_0x531fca=_0x406187[_0x52a996(0x2c7)]-0x1,_0x415f8e;_0x531fca>=0x0;_0x531fca--)(_0x415f8e=_0x406187[_0x531fca])&&(_0x26968d=(_0x2591db?_0x415f8e(_0x299e93,_0x219bfc,_0x26968d):_0x415f8e(_0x26968d))||_0x26968d);return _0x2591db&&_0x26968d&&or(_0x299e93,_0x219bfc,_0x26968d),_0x26968d;},lt=(_0x2ec6f8,_0x584f8e)=>(_0x4ed807,_0x3c2ea4)=>_0x584f8e(_0x4ed807,_0x3c2ea4,_0x2ec6f8),ah=(_0x4a324d,_0x1f2a37,_0x366028)=>nh(_0x4a324d,_0x1f2a37+'',_0x366028);const ch='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Is=class extends _0x1eea30{constructor(_0x461256=jn,_0x45a028,_0x470ae6,_0x5e3807,_0x3475ee){const _0x5d8acb=_0x112848;super(),this[_0x5d8acb(0x50d)]=_0x461256,this[_0x5d8acb(0x2bf)]=_0x45a028,this[_0x5d8acb(0x38a)]=_0x470ae6,this['_injector']=_0x5e3807,this['_configService']=_0x3475ee;const {..._0x3ddad9}=this[_0x5d8acb(0x50d)];this['_configService'][_0x5d8acb(0x4c8)](Q,_0x3ddad9);}[_0x112848(0x2b8)](){const _0x2e25a9=_0x112848;this['_registerDependencies'](),this[_0x2e25a9(0x274)]();}[_0x112848(0x26a)](){const _0x41c15=_0x112848;_0xf829bb(this[_0x41c15(0x382)],[[Mt],[Ut]]);}[_0x112848(0x53e)](){this['_registerRenderDependencies']();}[_0x112848(0x31b)](){const _0x196157=_0x112848;var _0x35c36d,_0x37d4b5,_0x46965b,_0x42bfeb;this[_0x196157(0x382)][_0x196157(0x543)](_0x196f01)&&this[_0x196157(0x2bf)][_0x196157(0x3b9)](_0x196157(0x484),_0x196157(0x532));const _0x5ae4fc=[[_0x196f01,{'useClass':Ss}],[Me],[Us],[tr,{'useClass':ih}],[Ae],[z],[_0x380994],[yt],[Dt],[Ot],[wt],[Ds],[xt],[Lt],[Gi],[$t],[Vi,{'useClass':(_0x37d4b5=(_0x35c36d=this[_0x196157(0x50d)])==null?void 0x0:_0x35c36d[_0x196157(0x240)])!=null?_0x37d4b5:as}],[_0x43ae5e,{'useClass':gs}],[_0x2cb575,{'useClass':vs}],[_0x2c6ece,{'useClass':ps}],[_0x18bcf1,{'useClass':ms}],[it],[At],[Nt],[Mt],[Fe],[Ut]];(_0x46965b=this[_0x196157(0x50d)])!=null&&_0x46965b[_0x196157(0x39e)]&&_0x5ae4fc['push']([Ht,{'useClass':Io}]),_0x12d3f3(this[_0x196157(0x382)],_0x5f51db(_0x5ae4fc,(_0x42bfeb=this[_0x196157(0x50d)])==null?void 0x0:_0x42bfeb['override']));}[_0x112848(0x503)](){const _0x1d153f=_0x112848;this['disposeWithMe'](this[_0x1d153f(0x38a)][_0x1d153f(0x231)](_0x3f1ceb[_0x1d153f(0x538)],[ds])),this[_0x1d153f(0x29e)](this[_0x1d153f(0x38a)][_0x1d153f(0x231)](_0x3f1ceb[_0x1d153f(0x3f0)],[fs]));}[_0x112848(0x274)](){const _0x505046=_0x112848;var _0xea0bdb,_0x580a48;this[_0x505046(0x382)][_0x505046(0x4cd)](_0xf832d4)[_0x505046(0x43c)]({'priority':0x14,'interceptor':_0x3a8cf9({'maxParallel':0x6})}),(_0xea0bdb=this[_0x505046(0x50d)])!=null&&_0xea0bdb[_0x505046(0x329)]||this[_0x505046(0x382)]['get'](z)[_0x505046(0x39b)](),(_0x580a48=this[_0x505046(0x50d)])!=null&&_0x580a48['enableAuthServer']&&_0xf829bb(this['_injector'],[[xt]]),_0xf829bb(this['_injector'],[[Lt],[Fe],[At],[it],[Nt],[$t]]);}};ah(Is,_0x112848(0x25b),ch),Is=oh([_0x2515dd(_0x1e483b,_0x40f020),lt(0x1,_0x5268cc),lt(0x2,_0x457d35),lt(0x3,_0xa52f76(_0x2e5136)),lt(0x4,_0x11a6c7)],Is);export{sr as AUTHZ_URL_KEY,vs as AuthzIoHttpService,Q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,xn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,Pt as CollaborationEntity,cs as CollaborationSession,Me as CollaborationSessionService,as as CollaborationSocketService,J as CollaborationStatus,Ma as CollaborationStatusDisplay,ps as CollabrationImageIoService,Gi as CommentService,At as DataLoaderController,Nt as DesktopCollaborationStatusDisplayController,hs as DocCollaborationEntity,wn as HEARTBEAT_INTERVAL_KEY,Bi as HEARTBEAT_TIMEOUT_KEY,Vi as ICollaborationSocketService,tr as IURLService,An as LOCAL_CACHE_INTERVAL_KEY,$n as LOGIN_URL_KEY,z as LocalCacheService,Ae as MemberService,ms as MentionIoHttpService,Un as RETRY_CONNECTING_MAX_COUNT_KEY,yh as SEND_CHANGESET_TIMEOUT_KEY,Cn as SNAPSHOT_SERVER_URL_KEY,bn as SNAPSHOT_URL_KEY,fe as SessionStatus,da as SheetCollabCursorShape,ls as SheetCollaborationEntity,gs as SnapshotServerOverHTTPService,Is as UniverCollaborationClientPlugin,ih as WebURLService,Bn as deserializeToCombResponse,kn as serializeCombRequest};