@univerjs-pro/collaboration-client 0.5.0-nightly.202411241606 → 0.5.0-nightly.202411251606

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 _0x46f17f=_0x1425;(function(_0x2ad613,_0x83c744){const _0x221ccb=_0x1425,_0x435f74=_0x2ad613();while(!![]){try{const _0x1be2bc=parseInt(_0x221ccb(0x29c))/0x1*(-parseInt(_0x221ccb(0x433))/0x2)+parseInt(_0x221ccb(0x47e))/0x3*(parseInt(_0x221ccb(0x2ab))/0x4)+parseInt(_0x221ccb(0x39d))/0x5+parseInt(_0x221ccb(0x482))/0x6+parseInt(_0x221ccb(0x281))/0x7*(parseInt(_0x221ccb(0x560))/0x8)+parseInt(_0x221ccb(0x3c1))/0x9+parseInt(_0x221ccb(0x4b8))/0xa*(-parseInt(_0x221ccb(0x499))/0xb);if(_0x1be2bc===_0x83c744)break;else _0x435f74['push'](_0x435f74['shift']());}catch(_0x2c63fa){_0x435f74['push'](_0x435f74['shift']());}}}(_0x4ae6,0xe74fe));var sr=Object[_0x46f17f(0x3a4)],ir=(_0x56acfe,_0xd1f283,_0x482e16)=>_0xd1f283 in _0x56acfe?sr(_0x56acfe,_0xd1f283,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x482e16}):_0x56acfe[_0xd1f283]=_0x482e16,g=(_0x2f2816,_0x22554c,_0x463010)=>ir(_0x2f2816,typeof _0x22554c!=_0x46f17f(0x436)?_0x22554c+'':_0x22554c,_0x463010);import{createIdentifier as _0x1035a6,Inject as _0x4e871f,Disposable as _0x156359,DisposableCollection as _0x55ba00,toDisposable as _0x105bf3,IConfigService as _0x175c85,ILogService as _0x416cf3,UserManagerService as _0x5d0dc8,UniverInstanceType as _0x571c15,IUniverInstanceService as _0x2d6c6a,LocaleService as _0x19d230,Optional as _0x1316cb,RxDisposable as _0x2ddc3d,Injector as _0x24063a,Tools as _0x389286,ILocalStorageService as _0x4b294d,Rectangle as _0x135866,ICommandService as _0x15e74e,DOC_RANGE_TYPE as _0x32f3c1,JSONX as _0x11c1f9,CommandType as _0x4b7f16,IPermissionService as _0x26d1fe,IUndoRedoService as _0x166e89,sequenceExecute as _0x172a56,debounce as _0x2152b9,COLORS as _0x2b7ec6,ColorKit as _0xaff671,ThemeService as _0x4f10db,fromEventSubject as _0x12ea27,useDependency as _0x155249,connectInjector as _0x31f1c2,Workbook as _0x3b1689,MentionType as _0x2bba6c,isInternalEditorID as _0x2085b2,LocalUndoRedoService as _0x3693db,IContextService as _0xbdb4f2,DependentOn as _0x41ce9f,Plugin as _0x252f7f,touchDependencies as _0x5991ac,IAuthzIoService as _0x3a2cdd,IMentionIOService as _0x4be088,registerDependencies as _0x45de4c,mergeOverrideWithDependencies as _0x440f6e}from'@univerjs/core';import{Subject as _0x31ccd3,merge as _0x3c9b26,takeUntil as _0x2b97ad,BehaviorSubject as _0x4581fa,distinctUntilChanged as _0x242d51,fromEvent as _0x249771,ReplaySubject as _0x55511b,take as _0x522325,map as _0x19435b,shareReplay as _0xbfa8cd,of as _0x1f0a04,debounceTime as _0x3d77e4,filter as _0x20495e,switchMap as _0x36f349,combineLatest as _0x4ad575,concatMap as _0x23ed2f,mapTo as _0x561896}from'rxjs';import{map as _0x4f9d2a,take as _0x265746,filter as _0x191857,delay as _0x1055a5,throttleTime as _0x1c9b34,takeUntil as _0x4ff54a,switchMap as _0xe3a2c7}from'rxjs/operators';import{MessageType as _0x4ed4eb,Tooltip as _0x2c7462}from'@univerjs/design';import{HTTPService as _0x595bc6,WebSocketService as _0x2ac4d0,MergeInterceptorFactory as _0x171710,HTTPRequest as _0x12fd84,UniverNetworkPlugin as _0x691783,ThresholdInterceptorFactory as _0x2f5156}from'@univerjs/network';import{IBeforeCloseService as _0x17e608,IMessageService as _0x30cbad,INotificationService as _0x4be5c5,useObservable as _0x5a9c52,BuiltInUIPart as _0x5c457d,IUIPartsService as _0x36bc47}from'@univerjs/ui';import{CollaborationEvent as _0x40bfa0,parseChangesetToProtocol as _0x27c72a,ISnapshotServerService as _0x24c16b,isTransformMutationFailure as _0x391986,isTransformMutationsWithChangesetSuccess as _0x12fb0f,ITransformService as _0x1ea1f3,RevisionService as _0x55fa5b,mapDocumentTypeToUniverType as _0x14b156,isTransformChangesetsSuccess as _0x9dfff7,CompressMutationService as _0x1908d7,parseProtocolChangeset as _0x2a8841,SnapshotService as _0x16d892,textEncoder as _0x5619fa,b64DecodeUnicode as _0xb6f622,isTransformMutationsWithChangesetFailure as _0x2619e6,UniverCollaborationPlugin as _0x1c17f9}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x48de2f}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x5ed2b2,RichTextEditingMutation as _0x1ba87a,SetTextSelectionsOperation as _0x3c5819,DocSkeletonManagerService as _0x3969f2}from'@univerjs/docs';import{DocIMEInputManagerService as _0x20d10d,DocStateChangeManagerService as _0x280b41,IDocClipboardService as _0x103fa2,NodePositionConvertToCursor as _0x116697,NodePositionConvertToRectRange as _0xba79ba,TEXT_RANGE_LAYER_INDEX as _0x2bc01b,SetDocZoomRatioOperation as _0x3d9e18}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x57d5f4,SetSelectionsOperation as _0x4feead,InsertSheetMutation as _0x92993c,EmptyMutation as _0xc2211f,WorkbookEditablePermission as _0x43ee6b,RefRangeService as _0x101b82,EffectRefRangId as _0x314df9,handleIRemoveRow as _0x325aae,handleIRemoveCol as _0x1436b6,handleMoveRange as _0xecff8f,handleInsertRow as _0x2d4f83,handleInsertRangeMoveRight as _0x3ba33c,handleInsertRangeMoveDown as _0x78040,handleInsertCol as _0x5ce0fd,handleDeleteRangeMoveUp as _0x5465a6,handleDeleteRangeMoveLeft as _0x4be412,runRefRangeMutations as _0x3fa3f8,SetWorksheetActivateCommand as _0x527771}from'@univerjs/sheets';import{IRenderManagerService as _0x51f1aa,Shape as _0x3af5e6,Rect as _0x3422e5,getColor as _0x1b9413,RegularPolygon as _0x5ac9ed,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x558250,Vector2 as _0x369c59}from'@univerjs/engine-render';import{IImageIoService as _0x30c4e5,ImageSourceType as _0x8450ec,ImageUploadStatusType as _0x3bad31}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x534b4a,serializeRangeWithSheet as _0x4f8d59}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x5a4329,VIEWPORT_KEY as _0x4f4f8e,getCoordByCell as _0x5c7434,getSheetObject as _0x482e64,SheetPermissionInitController as _0x22c3b8}from'@univerjs/sheets-ui';import _0x3c6a43,{forwardRef as _0x16fb4d,useRef as _0x14c015,createElement as _0x3daae4,useCallback as _0x3cf208}from'react';import{IRemoteInstanceService as _0x33a2e7}from'@univerjs/rpc';const mn=_0x46f17f(0x448),pn='/universer-api/snapshot',gn=_0x46f17f(0x16a),_h=_0x46f17f(0x563),Sn=0x7d0,In='COLLAB_WEB_SOCKET_URL',Cn=_0x46f17f(0x223),En=_0x46f17f(0x160),bn=_0x46f17f(0x4b1),Tn=0x7530,Di=_0x46f17f(0x1bb),Pi=0x4e20,Rn=0x4e20,On='RETRY_CONNECTING_MAX_COUNT',yn=0x3,wn='LOCAL_CACHE_INTERVAL',Dn=0x3e8,Pn=_0x46f17f(0x518),Un=_0x46f17f(0x23b),Nn='LOGIN_URL_KEY',An=_0x46f17f(0x263);var Ui=(_0x3f860d=>(_0x3f860d[_0x3f860d[_0x46f17f(0x324)]=0x0]=_0x46f17f(0x324),_0x3f860d[_0x3f860d['OK']=0x1]='OK',_0x3f860d[_0x3f860d['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x3f860d[_0x3f860d['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x3f860d[_0x3f860d['NOT_FOUND']=0x4]=_0x46f17f(0x24b),_0x3f860d[_0x3f860d[_0x46f17f(0x50a)]=0x5]=_0x46f17f(0x50a),_0x3f860d[_0x3f860d[_0x46f17f(0x2ce)]=0x6]=_0x46f17f(0x2ce),_0x3f860d[_0x3f860d[_0x46f17f(0x449)]=0x7]=_0x46f17f(0x449),_0x3f860d[_0x3f860d[_0x46f17f(0x342)]=0x8]=_0x46f17f(0x342),_0x3f860d[_0x3f860d[_0x46f17f(0x22c)]=0x9]='COMPLETION_FINISHED',_0x3f860d[_0x3f860d[_0x46f17f(0x41d)]=0x1389]=_0x46f17f(0x41d),_0x3f860d[_0x3f860d[_0x46f17f(0x4f3)]=0x1771]=_0x46f17f(0x4f3),_0x3f860d[_0x3f860d['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x46f17f(0x4be),_0x3f860d[_0x3f860d[_0x46f17f(0x445)]=0x1773]=_0x46f17f(0x445),_0x3f860d[_0x3f860d[_0x46f17f(0x1a5)]=0x1b59]=_0x46f17f(0x1a5),_0x3f860d[_0x3f860d[_0x46f17f(0x567)]=0x1b5a]=_0x46f17f(0x567),_0x3f860d[_0x3f860d[_0x46f17f(0x2d9)]=0x1b5b]=_0x46f17f(0x2d9),_0x3f860d[_0x3f860d[_0x46f17f(0x569)]=0x1b5c]=_0x46f17f(0x569),_0x3f860d[_0x3f860d[_0x46f17f(0x3d8)]=0x1b5d]=_0x46f17f(0x3d8),_0x3f860d[_0x3f860d[_0x46f17f(0x41c)]=0x1f41]=_0x46f17f(0x41c),_0x3f860d[_0x3f860d[_0x46f17f(0x23f)]=0x2329]=_0x46f17f(0x23f),_0x3f860d[_0x3f860d[_0x46f17f(0x53f)]=0x232a]=_0x46f17f(0x53f),_0x3f860d[_0x3f860d[_0x46f17f(0x1da)]=0x232b]=_0x46f17f(0x1da),_0x3f860d[_0x3f860d[_0x46f17f(0x211)]=0x232c]=_0x46f17f(0x211),_0x3f860d[_0x3f860d[_0x46f17f(0x26e)]=0x232d]=_0x46f17f(0x26e),_0x3f860d[_0x3f860d[_0x46f17f(0x36e)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3f860d[_0x3f860d[_0x46f17f(0x2d2)]=0x2712]=_0x46f17f(0x2d2),_0x3f860d[_0x3f860d[_0x46f17f(0x269)]=0x2713]=_0x46f17f(0x269),_0x3f860d[_0x3f860d[_0x46f17f(0x487)]=0x2714]=_0x46f17f(0x487),_0x3f860d[_0x3f860d[_0x46f17f(0x38c)]=-0x1]=_0x46f17f(0x38c),_0x3f860d))(Ui||{}),ce=(_0x28086e=>(_0x28086e[_0x28086e[_0x46f17f(0x333)]=0x0]='UNIVER_UNKNOWN',_0x28086e[_0x28086e[_0x46f17f(0x15e)]=0x1]=_0x46f17f(0x15e),_0x28086e[_0x28086e[_0x46f17f(0x226)]=0x2]=_0x46f17f(0x226),_0x28086e[_0x28086e[_0x46f17f(0x311)]=0x3]=_0x46f17f(0x311),_0x28086e[_0x28086e['UNIVER_PROJECT']=0x4]=_0x46f17f(0x50d),_0x28086e[_0x28086e[_0x46f17f(0x38c)]=-0x1]=_0x46f17f(0x38c),_0x28086e))(ce||{}),W=(_0x5c0f65=>(_0x5c0f65[_0x5c0f65[_0x46f17f(0x4cc)]=0x0]='UNKNOWN_CMD',_0x5c0f65[_0x5c0f65[_0x46f17f(0x343)]=0x1]=_0x46f17f(0x343),_0x5c0f65[_0x5c0f65[_0x46f17f(0x4c3)]=0x2]=_0x46f17f(0x4c3),_0x5c0f65[_0x5c0f65['LEAVE']=0x3]=_0x46f17f(0x26c),_0x5c0f65[_0x5c0f65['INGEST']=0x4]=_0x46f17f(0x30b),_0x5c0f65[_0x5c0f65[_0x46f17f(0x4aa)]=0x5]=_0x46f17f(0x4aa),_0x5c0f65[_0x5c0f65['RECV']=0x6]=_0x46f17f(0x214),_0x5c0f65[_0x5c0f65['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5c0f65))(W||{}),bs=(_0x244978=>(_0x244978[_0x244978[_0x46f17f(0x39c)]=0x0]=_0x46f17f(0x39c),_0x244978[_0x244978['OK']=0x1]='OK',_0x244978[_0x244978[_0x46f17f(0x4c2)]=0x2]=_0x46f17f(0x4c2),_0x244978[_0x244978[_0x46f17f(0x39a)]=0x3e9]=_0x46f17f(0x39a),_0x244978[_0x244978[_0x46f17f(0x181)]=0x3ea]=_0x46f17f(0x181),_0x244978[_0x244978['UNRECOGNIZED']=-0x1]=_0x46f17f(0x38c),_0x244978))(bs||{}),Ni=(_0x48687a=>(_0x48687a[_0x48687a[_0x46f17f(0x1bc)]=0x0]='Undefined',_0x48687a[_0x48687a[_0x46f17f(0x3e9)]=0x1]='HttpImport',_0x48687a[_0x48687a[_0x46f17f(0x286)]=0x2]=_0x46f17f(0x286),_0x48687a[_0x48687a['UnitEmbedded']=0x3]='UnitEmbedded',_0x48687a[_0x48687a[_0x46f17f(0x545)]=0x4]='UnitSnapshot',_0x48687a[_0x48687a[_0x46f17f(0x38c)]=-0x1]='UNRECOGNIZED',_0x48687a))(Ni||{});const ee=_0x46f17f(0x382),Mn={};function xn(_0x45788a){const _0xcec0e=_0x46f17f;var _0x29bd48,_0x3ae173,_0x18b1f4,_0x59ee9e,_0x4fc954;const _0x4b9226=_0x45788a[_0xcec0e(0x1bf)],_0x425686=JSON['parse'](_0x4b9226);switch(_0x425686['cmd']){case W[_0xcec0e(0x4aa)]:case W['HELLO']:{const _0x379b18=_0x425686[_0xcec0e(0x49b)];return{..._0x425686,'data':_0x379b18,'cmd':_0x425686[_0xcec0e(0x196)]};}case W[_0xcec0e(0x4c3)]:{const _0x3cc811=_0x425686['joinRsp'];return{..._0x425686,'data':_0x3cc811,'cmd':_0x425686['cmd']};}case W['RECV']:{const _0xd83fcb=_0x425686[_0xcec0e(0x3ce)];switch(_0xd83fcb[_0xcec0e(0x242)]){case _0x40bfa0[_0xcec0e(0x162)]:return{..._0x425686,'data':{..._0xd83fcb,'data':(_0x29bd48=_0xd83fcb[_0xcec0e(0x52a)])==null?void 0x0:_0x29bd48['cs']},'cmd':_0x425686[_0xcec0e(0x196)]};case _0x40bfa0[_0xcec0e(0x584)]:return{..._0x425686,'data':{..._0xd83fcb,'data':(_0x3ae173=_0xd83fcb[_0xcec0e(0x20f)])==null?void 0x0:_0x3ae173['cs']},'cmd':_0x425686['cmd']};case _0x40bfa0['NEW_CHANGESETS']:return{..._0x425686,'data':{..._0xd83fcb,'data':(_0x18b1f4=_0xd83fcb['newCsEvent'])==null?void 0x0:_0x18b1f4['cs']},'cmd':_0x425686[_0xcec0e(0x196)]};case _0x40bfa0[_0xcec0e(0x525)]:return{..._0x425686,'data':{..._0xd83fcb,'data':(_0x59ee9e=_0xd83fcb[_0xcec0e(0x479)])==null?void 0x0:_0x59ee9e['cs']},'cmd':_0x425686[_0xcec0e(0x196)]};case _0x40bfa0['CHANGESET_SHOULD_RETRY']:return{..._0x425686,'data':{..._0xd83fcb,'data':(_0x4fc954=_0xd83fcb[_0xcec0e(0x28d)])==null?void 0x0:_0x4fc954['cs']},'cmd':_0x425686[_0xcec0e(0x196)]};case _0x40bfa0[_0xcec0e(0x204)]:return{..._0x425686,'data':{..._0xd83fcb,'data':_0xd83fcb['updateCursorEvent']},'cmd':_0x425686['cmd']};case _0x40bfa0[_0xcec0e(0x52d)]:return{..._0x425686,'data':{..._0xd83fcb,'data':_0xd83fcb[_0xcec0e(0x55e)]},'cmd':_0x425686['cmd']};case _0x40bfa0[_0xcec0e(0x2b4)]:return{..._0x425686,'data':{..._0xd83fcb,'data':_0xd83fcb[_0xcec0e(0x51d)]},'cmd':_0x425686[_0xcec0e(0x196)]};case _0x40bfa0[_0xcec0e(0x397)]:return{..._0x425686,'data':{..._0xd83fcb,'data':_0xd83fcb[_0xcec0e(0x250)]},'cmd':_0x425686[_0xcec0e(0x196)]};case _0x40bfa0[_0xcec0e(0x4af)]:case _0x40bfa0['LIVESHARE_OPERATION']:return{..._0x425686,'data':{..._0xd83fcb,'data':_0xd83fcb['liveShareOperation']},'cmd':_0x425686[_0xcec0e(0x196)]};case _0x40bfa0['LIVESHARE_TERMINATE']:return{..._0x425686,'data':{..._0xd83fcb,'data':_0xd83fcb[_0xcec0e(0x250)]},'cmd':_0x425686[_0xcec0e(0x196)]};case _0x40bfa0[_0xcec0e(0x376)]:return{..._0x425686,'data':_0xd83fcb,'cmd':_0x425686[_0xcec0e(0x196)]};case _0x40bfa0[_0xcec0e(0x530)]:return{..._0x425686,'data':{..._0xd83fcb,'data':_0xd83fcb[_0xcec0e(0x29b)]},'cmd':_0x425686['cmd']};case _0x40bfa0['UPDATE_PERMISSION_OBJ']:return{..._0x425686,'data':{..._0xd83fcb,'data':_0xd83fcb[_0xcec0e(0x1ab)]},'cmd':_0x425686['cmd']};case _0x40bfa0['SHOULD_CLOSE_CONN']:return{..._0x425686,'data':{..._0xd83fcb,'data':_0xd83fcb[_0xcec0e(0x3ae)]},'cmd':_0x425686[_0xcec0e(0x196)]};default:return _0x425686;}}default:return _0x425686;}}function Ln(_0x550ee3){const _0x59f98c=_0x46f17f;switch(_0x550ee3[_0x59f98c(0x196)]){case W[_0x59f98c(0x4aa)]:case W[_0x59f98c(0x343)]:return JSON[_0x59f98c(0x353)]({'cmd':_0x550ee3[_0x59f98c(0x196)],'routeKey':_0x550ee3[_0x59f98c(0x576)]});case W[_0x59f98c(0x30b)]:{let _0x51d8c5;switch(_0x550ee3[_0x59f98c(0x1bf)]['eventID']){case _0x40bfa0[_0x59f98c(0x204)]:{_0x51d8c5={'eventID':_0x40bfa0[_0x59f98c(0x204)],'updateCursorEvent':_0x550ee3[_0x59f98c(0x1bf)][_0x59f98c(0x1bf)]};break;}case _0x40bfa0[_0x59f98c(0x2b4)]:{_0x51d8c5={'eventID':_0x40bfa0['USERS_LEAVE'],'leaveEvent':_0x550ee3[_0x59f98c(0x1bf)][_0x59f98c(0x1bf)]};break;}case _0x40bfa0[_0x59f98c(0x52d)]:{_0x51d8c5={'eventID':_0x40bfa0[_0x59f98c(0x52d)],'joinEvent':_0x550ee3['data'][_0x59f98c(0x1bf)]};break;}case _0x40bfa0[_0x59f98c(0x397)]:{_0x51d8c5={'eventID':_0x40bfa0[_0x59f98c(0x397)],'liveShareNewHost':_0x550ee3[_0x59f98c(0x1bf)][_0x59f98c(0x1bf)]};break;}case _0x40bfa0[_0x59f98c(0x3d9)]:{_0x51d8c5={'eventID':_0x40bfa0[_0x59f98c(0x3d9)],'liveShareOperation':_0x550ee3['data'][_0x59f98c(0x1bf)]};break;}case _0x40bfa0[_0x59f98c(0x523)]:{_0x51d8c5={'eventID':_0x40bfa0[_0x59f98c(0x523)],'liveShareTerminate':_0x550ee3[_0x59f98c(0x1bf)][_0x59f98c(0x1bf)]};break;}case _0x40bfa0[_0x59f98c(0x33d)]:{_0x51d8c5={'eventID':_0x40bfa0[_0x59f98c(0x33d)],'liveShareRequestHost':_0x550ee3[_0x59f98c(0x1bf)][_0x59f98c(0x1bf)]};break;}case _0x40bfa0['LIVESHARE_FETCH_OPERATIONS']:{_0x51d8c5={'eventID':_0x40bfa0[_0x59f98c(0x4af)]};break;}default:_0x51d8c5={'eventID':_0x550ee3[_0x59f98c(0x1bf)]['eventID']};}return JSON[_0x59f98c(0x353)]({'cmd':_0x550ee3[_0x59f98c(0x196)],'routeKey':_0x550ee3['routeKey'],'collaMsg':_0x51d8c5});}case W[_0x59f98c(0x4c3)]:return JSON['stringify']({'cmd':_0x550ee3[_0x59f98c(0x196)],'routeKey':_0x550ee3[_0x59f98c(0x576)],'joinReq':_0x550ee3[_0x59f98c(0x1bf)]});case W[_0x59f98c(0x26c)]:return JSON[_0x59f98c(0x353)]({'cmd':_0x550ee3['cmd'],'routeKey':_0x550ee3[_0x59f98c(0x576)],'leaveReq':_0x550ee3[_0x59f98c(0x1bf)]});default:throw new Error(_0x59f98c(0x3aa));}}var $n=Object[_0x46f17f(0x3a4)],Hn=Object[_0x46f17f(0x17b)],jn=(_0x344aad,_0x15613b,_0x3e60f3,_0x23f74a)=>{const _0x365342=_0x46f17f;for(var _0x4660ea=_0x23f74a>0x1?void 0x0:_0x23f74a?Hn(_0x15613b,_0x3e60f3):_0x15613b,_0xe52535=_0x344aad[_0x365342(0x407)]-0x1,_0x1d6594;_0xe52535>=0x0;_0xe52535--)(_0x1d6594=_0x344aad[_0xe52535])&&(_0x4660ea=(_0x23f74a?_0x1d6594(_0x15613b,_0x3e60f3,_0x4660ea):_0x1d6594(_0x4660ea))||_0x4660ea);return _0x23f74a&&_0x4660ea&&$n(_0x15613b,_0x3e60f3,_0x4660ea),_0x4660ea;},qe=(_0x6d292e,_0xc0a068)=>(_0x41e2c5,_0x5845b7)=>_0xc0a068(_0x41e2c5,_0x5845b7,_0x6d292e);const Ai=_0x1035a6(_0x46f17f(0x544));function Bn(_0x5a2faa,_0x3c3e45,_0x31454a){const _0x1ba70f=_0x46f17f;return _0x5a2faa+'/'+_0x3c3e45+'/unit/'+_0x31454a+_0x1ba70f(0x28b);}let ss=class extends _0x156359{constructor(_0x3f94a2,_0x5a0b85,_0x4a684d,_0x46baac,_0x52df24){const _0x5983c7=_0x46f17f;super(),this[_0x5983c7(0x296)]=_0x3f94a2,this[_0x5983c7(0x25f)]=_0x5a0b85,this[_0x5983c7(0x57c)]=_0x4a684d,this[_0x5983c7(0x1a7)]=_0x46baac,this[_0x5983c7(0x459)]=_0x52df24;}[_0x46f17f(0x36a)](_0x3e4dbe){const _0x3d036f=_0x46f17f,_0xbd4442=this[_0x3d036f(0x25f)][_0x3d036f(0x36a)](_0x3e4dbe);if(!_0xbd4442)throw new Error(_0x3d036f(0x230));const _0x23afe6=new _0x55ba00(),_0x2fe8b4=new _0x31ccd3();_0x23afe6[_0x3d036f(0x42c)](_0xbd4442['close$'][_0x3d036f(0x346)](_0xb68d28=>_0x2fe8b4[_0x3d036f(0x4e6)](_0xb68d28))),_0x23afe6[_0x3d036f(0x42c)](_0x105bf3(()=>_0x2fe8b4[_0x3d036f(0x282)]()));const _0x430334=new _0x31ccd3();_0x23afe6[_0x3d036f(0x42c)](_0xbd4442['error$']['subscribe'](_0x331ea1=>_0x430334[_0x3d036f(0x4e6)](_0x331ea1))),_0x23afe6['add'](_0x105bf3(()=>_0x430334[_0x3d036f(0x282)]()));const _0x5bae77=new _0x31ccd3();_0x23afe6['add'](_0xbd4442['message$'][_0x3d036f(0x346)](_0x35bff9=>{const _0x1cd20c=_0x3d036f,_0x43f883=xn(_0x35bff9);_0x5bae77[_0x1cd20c(0x4e6)](_0x43f883);})),_0x23afe6['add'](_0x105bf3(()=>_0x5bae77['complete']()));let _0x360bee;const _0x174437=()=>{const _0x42372f=_0x3d036f;_0x430334[_0x42372f(0x4e6)](new Event(_0x42372f(0x268))),_0x2fe8b4[_0x42372f(0x4e6)](new CloseEvent(_0x42372f(0x268))),_0x360bee['close']();};return _0x360bee={'memberID':'','close$':_0x2fe8b4[_0x3d036f(0x1fb)](),'error$':_0x430334['asObservable'](),'open$':_0xbd4442['open$'],'message$':_0x5bae77[_0x3d036f(0x1fb)](),'send':_0xf6cf4f=>{const _0x3fdb8f=_0x3d036f;if(_0xf6cf4f[_0x3fdb8f(0x196)]===W[_0x3fdb8f(0x30b)]){if(_0xf6cf4f[_0x3fdb8f(0x1bf)]['eventID']===_0x40bfa0[_0x3fdb8f(0x2de)]){this['_submitChangeset'](_0x360bee,_0xf6cf4f[_0x3fdb8f(0x1bf)])['catch'](_0x4cdf09=>{const _0x5bd0c2=_0x3fdb8f;this[_0x5bd0c2(0x1a7)][_0x5bd0c2(0x27d)](_0x4cdf09),_0x174437();});return;}if(_0xf6cf4f[_0x3fdb8f(0x1bf)][_0x3fdb8f(0x242)]===_0x40bfa0[_0x3fdb8f(0x26f)]){const _0x23aa34=_0xf6cf4f[_0x3fdb8f(0x1bf)];this['_fetchMissChangesets'](_0x23aa34)[_0x3fdb8f(0x3b2)](_0x1df0bd=>{const _0x518ffa=_0x3fdb8f;_0x5bae77[_0x518ffa(0x4e6)]({'cmd':W[_0x518ffa(0x214)],'code':bs['OK'],'routeKey':_0x23aa34[_0x518ffa(0x1bf)][_0x518ffa(0x498)],'routeType':'','data':{'eventID':_0x40bfa0[_0x518ffa(0x357)],'data':{'changesets':_0x1df0bd}}});})[_0x3fdb8f(0x551)](_0x58b10f=>{const _0x4cc876=_0x3fdb8f;this[_0x4cc876(0x1a7)][_0x4cc876(0x27d)](_0x58b10f),_0x174437();});return;}}_0xbd4442['send'](Ln(_0xf6cf4f));},'close':()=>{const _0x1dc0e9=_0x3d036f;_0xbd4442[_0x1dc0e9(0x23e)](),_0x23afe6[_0x1dc0e9(0x338)]();}},_0x360bee;}async[_0x46f17f(0x47b)](_0x2bae50,_0x56a1a0){const _0x502d18=_0x46f17f;var _0x300546,_0x356e5d;const {unitType:_0x322906,unitID:_0x7901d3,changeset:_0x2fd33a}=_0x56a1a0['data'],_0x3a0135={'unitID':_0x7901d3,'memberID':_0x2bae50['memberID'],'type':_0x322906,'changeset':_0x27c72a(_0x2fd33a)},_0x49b442=this['_configService'][_0x502d18(0x4b3)](Pn),_0x185eb2=this[_0x502d18(0x57c)][_0x502d18(0x4b3)](ee),_0x547075=Bn((_0x356e5d=(_0x300546=_0x185eb2==null?void 0x0:_0x185eb2['collabSubmitChangesetUrl'])!=null?_0x300546:_0x49b442)!=null?_0x356e5d:Un,_0x322906,_0x7901d3);try{await this[_0x502d18(0x296)][_0x502d18(0x203)](_0x547075,{'body':_0x3a0135});}catch(_0x515ad4){throw this['_logService'][_0x502d18(0x27d)](_0x502d18(0x23a),_0x502d18(0x36c)),_0x515ad4;}}async[_0x46f17f(0x2dd)](_0x372d95){const _0x245033=_0x46f17f,{unitID:_0x15de1c,from:_0x16ce3b,to:_0x2401fe,unitType:_0x3738a7}=_0x372d95[_0x245033(0x1bf)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x15de1c,'type':_0x3738a7,'from':_0x16ce3b,'to':_0x2401fe}))[_0x245033(0x3d3)];}};ss=jn([qe(0x0,_0x4e871f(_0x595bc6)),qe(0x1,_0x4e871f(_0x2ac4d0)),qe(0x2,_0x175c85),qe(0x3,_0x416cf3),qe(0x4,_0x24c16b)],ss);const kn=_0x46f17f(0x1a2);function Wn(_0x54ffb1){const _0x2b8e8b=_0x46f17f;return JSON['stringify'](_0x54ffb1)[_0x2b8e8b(0x407)];}class Mi{constructor(){const _0x53b1d6=_0x46f17f;g(this,'_commentUpdate$',new _0x31ccd3()),g(this,'commentUpdate$',this['_commentUpdate$'][_0x53b1d6(0x1fb)]());}['onCommentUpdate'](_0x4419f0){const _0x554f1b=_0x46f17f;this[_0x554f1b(0x40b)][_0x554f1b(0x4e6)](_0x4419f0);}}var Fn=Object['defineProperty'],Vn=Object[_0x46f17f(0x17b)],Gn=(_0xefb0d,_0x42747f,_0x143fcc,_0xf8d049)=>{const _0x4c3fb5=_0x46f17f;for(var _0x4d9e61=_0xf8d049>0x1?void 0x0:_0xf8d049?Vn(_0x42747f,_0x143fcc):_0x42747f,_0x42d4a8=_0xefb0d[_0x4c3fb5(0x407)]-0x1,_0x161f4e;_0x42d4a8>=0x0;_0x42d4a8--)(_0x161f4e=_0xefb0d[_0x42d4a8])&&(_0x4d9e61=(_0xf8d049?_0x161f4e(_0x42747f,_0x143fcc,_0x4d9e61):_0x161f4e(_0x4d9e61))||_0x4d9e61);return _0xf8d049&&_0x4d9e61&&Fn(_0x42747f,_0x143fcc,_0x4d9e61),_0x4d9e61;},Ws=(_0x593d46,_0x140e7f)=>(_0x58c589,_0x55f805)=>_0x140e7f(_0x58c589,_0x55f805,_0x593d46);let Me=class extends _0x156359{constructor(_0x2d4d37,_0x543649){const _0x1c69b6=_0x46f17f;super(),g(this,'_roomMembers',new Map()),(this['_univerInstanceService']=_0x2d4d37,this[_0x1c69b6(0x1f8)]=_0x543649,this[_0x1c69b6(0x45a)](_0x105bf3(_0x3c9b26(this[_0x1c69b6(0x53d)][_0x1c69b6(0x166)](_0x571c15['UNIVER_SHEET'])[_0x1c69b6(0x4e3)](_0x4f9d2a(_0x6b8e0c=>_0x6b8e0c[_0x1c69b6(0x565)]())),this[_0x1c69b6(0x53d)][_0x1c69b6(0x166)](_0x571c15[_0x1c69b6(0x15e)])['pipe'](_0x4f9d2a(_0x5ae3d1=>_0x5ae3d1[_0x1c69b6(0x565)]())),this[_0x1c69b6(0x53d)]['getTypeOfUnitDisposed$'](_0x571c15[_0x1c69b6(0x311)])['pipe'](_0x4f9d2a(_0x18d3b7=>_0x18d3b7[_0x1c69b6(0x565)]())))[_0x1c69b6(0x346)](_0x45e67b=>this[_0x1c69b6(0x3f0)](_0x45e67b)))));}[_0x46f17f(0x1cd)](_0x3247f2){const _0xd07ae=_0x46f17f;this[_0xd07ae(0x1f8)][_0xd07ae(0x1cd)](_0x3247f2);}[_0x46f17f(0x188)](){const _0xb658fe=_0x46f17f;return this['_userManagerService'][_0xb658fe(0x188)]();}[_0x46f17f(0x33f)](_0x47e377,_0x45c59b){const _0x55a667=_0x46f17f;let _0x222917=this[_0x55a667(0x41e)][_0x55a667(0x3e1)](_0x47e377);_0x222917||(_0x222917=new Yn(),this['_roomMembers'][_0x55a667(0x25b)](_0x47e377,_0x222917)),_0x222917[_0x55a667(0x33f)](_0x45c59b);}[_0x46f17f(0x321)](_0x4dfb4f,_0xb6a723){const _0x16363a=_0x46f17f,_0x5eacbf=this['_roomMembers'][_0x16363a(0x3e1)](_0x4dfb4f);_0x5eacbf&&_0x5eacbf['removeMember'](_0xb6a723);}[_0x46f17f(0x222)](_0x1b662c){const _0x4b3c30=_0x46f17f;return this[_0x4b3c30(0x41e)][_0x4b3c30(0x3e1)](_0x1b662c);}[_0x46f17f(0x438)](_0x2724f0,_0x5a7fa9){const _0x54d7f1=_0x46f17f,_0x566240=this[_0x54d7f1(0x41e)]['get'](_0x2724f0);if(_0x566240)return _0x566240[_0x54d7f1(0x438)](_0x5a7fa9);}[_0x46f17f(0x3f0)](_0x3764be){const _0x20fbb6=_0x46f17f,_0x26f08f=this['_roomMembers']['get'](_0x3764be);_0x26f08f&&(_0x26f08f[_0x20fbb6(0x338)](),this[_0x20fbb6(0x41e)][_0x20fbb6(0x2cd)](_0x3764be));}[_0x46f17f(0x338)](){const _0x536499=_0x46f17f;this[_0x536499(0x41e)][_0x536499(0x519)](_0x40cc50=>_0x40cc50[_0x536499(0x338)]()),this['_roomMembers']['clear']();}};Me=Gn([Ws(0x0,_0x2d6c6a),Ws(0x1,_0x4e871f(_0x5d0dc8))],Me);class Yn extends _0x156359{constructor(){super(...arguments),g(this,'_members',new Map());}['dispose'](){const _0x3095b0=_0x46f17f;this[_0x3095b0(0x34b)][_0x3095b0(0x4f8)]();}[_0x46f17f(0x33f)](_0x591e89){const _0x3cb072=_0x46f17f;this[_0x3cb072(0x34b)]['set'](_0x591e89[_0x3cb072(0x3bd)],_0x591e89);}[_0x46f17f(0x321)](_0x1f92d9){const _0x39efce=_0x46f17f;this[_0x39efce(0x34b)][_0x39efce(0x2cd)](_0x1f92d9);}['getMember'](_0x2281e2){const _0x1d3534=_0x46f17f;return this[_0x1d3534(0x34b)][_0x1d3534(0x3e1)](_0x2281e2);}[_0x46f17f(0x4e8)](){const _0x13db46=_0x46f17f;return Array[_0x13db46(0x575)](this[_0x13db46(0x34b)][_0x13db46(0x564)]());}}var Kn=Object[_0x46f17f(0x3a4)],zn=Object['getOwnPropertyDescriptor'],qn=(_0x2a8a35,_0x3c4b09,_0x7d3f4,_0x5c21b1)=>{for(var _0x7a0f11=_0x5c21b1>0x1?void 0x0:_0x5c21b1?zn(_0x3c4b09,_0x7d3f4):_0x3c4b09,_0x59c03c=_0x2a8a35['length']-0x1,_0x2743b6;_0x59c03c>=0x0;_0x59c03c--)(_0x2743b6=_0x2a8a35[_0x59c03c])&&(_0x7a0f11=(_0x5c21b1?_0x2743b6(_0x3c4b09,_0x7d3f4,_0x7a0f11):_0x2743b6(_0x7a0f11))||_0x7a0f11);return _0x5c21b1&&_0x7a0f11&&Kn(_0x3c4b09,_0x7d3f4,_0x7a0f11),_0x7a0f11;},be=(_0x4a1de7,_0x5c21b8)=>(_0x4ba4d3,_0x30de83)=>_0x5c21b8(_0x4ba4d3,_0x30de83,_0x4a1de7),ve=(_0x54354b=>(_0x54354b[_0x54354b[_0x46f17f(0x1e1)]=0x0]=_0x46f17f(0x1e1),_0x54354b[_0x54354b['JOINING']=0x1]=_0x46f17f(0x548),_0x54354b[_0x54354b[_0x46f17f(0x1d3)]=0x2]=_0x46f17f(0x1d3),_0x54354b[_0x54354b[_0x46f17f(0x22b)]=0x3]=_0x46f17f(0x22b),_0x54354b))(ve||{});let is=class extends _0x2ddc3d{constructor(_0x5e79ca,_0x4fefce,_0x4a1408,_0x3d1dbc,_0x1c9b10,_0x31d250,_0x4d9a10,_0x1c937a,_0x39dd6b,_0x62191e){const _0x26fe87=_0x46f17f;super(),g(this,'_sessionStatus$',new _0x4581fa(0x0)),g(this,_0x26fe87(0x52e),this['_sessionStatus$'][_0x26fe87(0x1fb)]()),g(this,'_event$',new _0x31ccd3()),g(this,'event$',this['_event$'][_0x26fe87(0x1fb)]()),g(this,_0x26fe87(0x568)),g(this,_0x26fe87(0x288)),g(this,_0x26fe87(0x287)),g(this,'_shouldReportTelemetry',!0x1),g(this,_0x26fe87(0x1b5),null),(this[_0x26fe87(0x2f7)]=_0x5e79ca,this['_logService']=_0x4a1408,this[_0x26fe87(0x3ab)]=_0x3d1dbc,this[_0x26fe87(0x19d)]=_0x1c9b10,this['_configService']=_0x31d250,this[_0x26fe87(0x469)]=_0x4d9a10,this[_0x26fe87(0x57e)]=_0x1c937a,this[_0x26fe87(0x580)]=_0x39dd6b,this[_0x26fe87(0x2c5)]=_0x62191e,this[_0x26fe87(0x262)]=!!this[_0x26fe87(0x2c5)],_0x4fefce[_0x26fe87(0x4e3)](_0x2b97ad(this[_0x26fe87(0x246)]))['subscribe'](_0x8f25b8=>{const _0x3106ce=_0x26fe87;var _0x276757;typeof _0x8f25b8>'u'||(this['_socket']=_0x8f25b8,_0x8f25b8?(this['_joinRoom'](_0x8f25b8),this['_socketMessageSubscription']=_0x8f25b8[_0x3106ce(0x2ae)][_0x3106ce(0x346)](_0x39c64f=>{const _0x4bbb0c=_0x3106ce;_0x39c64f[_0x4bbb0c(0x576)]===this[_0x4bbb0c(0x2f7)]&&this['_onCombEvent'](_0x39c64f);})):(this[_0x3106ce(0x372)](),this[_0x3106ce(0x4f9)][_0x3106ce(0x4e6)](0x2),(_0x276757=this[_0x3106ce(0x288)])==null||_0x276757[_0x3106ce(0x362)](),this['_socketMessageSubscription']=null));}),this[_0x26fe87(0x45a)](this[_0x26fe87(0x3ab)][_0x26fe87(0x284)](()=>{const _0x39c180=_0x26fe87;var _0x2d3f18;(_0x2d3f18=this[_0x39c180(0x568)])==null||_0x2d3f18['send']({'cmd':W['LEAVE'],'data':{'roomID':this[_0x39c180(0x2f7)]}});})));}get[_0x46f17f(0x513)](){return this['_sessionStatus$']['getValue']();}['getMemberID'](){const _0x1adbd3=_0x46f17f;var _0x125e44,_0x23ec38;return(_0x23ec38=(_0x125e44=this['_socket'])==null?void 0x0:_0x125e44[_0x1adbd3(0x3bd)])!=null?_0x23ec38:null;}[_0x46f17f(0x338)](){const _0x55a3d6=_0x46f17f;super['dispose'](),this[_0x55a3d6(0x246)][_0x55a3d6(0x4e6)](),this[_0x55a3d6(0x246)][_0x55a3d6(0x282)]();}[_0x46f17f(0x23e)](){const _0x5952d2=_0x46f17f;var _0x46f9a3,_0x1385e8;this['_throwTelemetryCollaborationNewChangeset'](),(_0x46f9a3=this[_0x5952d2(0x568)])==null||_0x46f9a3[_0x5952d2(0x31a)]({'cmd':W[_0x5952d2(0x26c)],'data':{'roomID':this[_0x5952d2(0x2f7)]}}),(_0x1385e8=this['_socket'])==null||_0x1385e8[_0x5952d2(0x23e)](),this['_event$'][_0x5952d2(0x282)](),this[_0x5952d2(0x4f9)][_0x5952d2(0x282)](),this[_0x5952d2(0x338)]();}[_0x46f17f(0x4ce)](_0x5b4bc8){const _0x4891eb=_0x46f17f;_0x5b4bc8['cmd']===W[_0x4891eb(0x4c3)]?this[_0x4891eb(0x2af)](_0x5b4bc8):_0x5b4bc8['cmd']===W[_0x4891eb(0x214)]&&this[_0x4891eb(0x42a)](_0x5b4bc8);}['_joinRoom'](_0x5a4de4){const _0x20861b=_0x46f17f;this[_0x20861b(0x4f9)][_0x20861b(0x4e6)](0x1),_0x5a4de4[_0x20861b(0x31a)]({'cmd':W[_0x20861b(0x4c3)],'routeKey':this[_0x20861b(0x2f7)],'routeType':'','data':{'rooms':[{'roomID':this[_0x20861b(0x2f7)]}]}});}[_0x46f17f(0x2af)](_0x266a03){const _0x5b6907=_0x46f17f;var _0x3af754;if(_0x266a03[_0x5b6907(0x461)]===bs['FAIL']){this[_0x5b6907(0x19d)][_0x5b6907(0x17e)]({'type':_0x4ed4eb[_0x5b6907(0x475)],'content':this['_localeService']['t'](_0x5b6907(0x194))}),this[_0x5b6907(0x4f9)][_0x5b6907(0x4e6)](0x2);return;}this[_0x5b6907(0x4f9)][_0x5b6907(0x4e6)](0x3);const _0x1f8946=(_0x3af754=_0x266a03[_0x5b6907(0x1bf)][_0x5b6907(0x55d)][this[_0x5b6907(0x2f7)]])==null?void 0x0:_0x3af754[_0x5b6907(0x511)];_0x1f8946&&_0x1f8946['forEach'](_0x493c79=>this['_memberService'][_0x5b6907(0x33f)](this[_0x5b6907(0x2f7)],_0x493c79));}['_onRecvEvent'](_0x1b94d4){const _0x4ec59f=_0x46f17f;try{const _0x6d05c3=_0x1b94d4[_0x4ec59f(0x1bf)];switch(_0x6d05c3['eventID']){case _0x40bfa0[_0x4ec59f(0x52d)]:this[_0x4ec59f(0x517)](_0x6d05c3),this['_event$']['next'](_0x6d05c3);break;case _0x40bfa0[_0x4ec59f(0x2b4)]:this['_onUserLeave'](_0x6d05c3),this[_0x4ec59f(0x1d1)][_0x4ec59f(0x4e6)](_0x6d05c3);break;case _0x40bfa0['CHANGESET_ACK']:case _0x40bfa0['CHANGESET_SHOULD_RETRY']:this[_0x4ec59f(0x256)](),this[_0x4ec59f(0x54f)](),this[_0x4ec59f(0x1d1)][_0x4ec59f(0x4e6)](_0x6d05c3);break;case _0x40bfa0[_0x4ec59f(0x376)]:this['_logService'][_0x4ec59f(0x27d)](_0x4ec59f(0x505)+JSON['stringify'](_0x6d05c3)),this['_event$'][_0x4ec59f(0x4e6)](_0x6d05c3);break;case _0x40bfa0[_0x4ec59f(0x530)]:this[_0x4ec59f(0x580)][_0x4ec59f(0x231)](_0x6d05c3['data']),this[_0x4ec59f(0x1d1)]['next'](_0x6d05c3);break;default:this[_0x4ec59f(0x1d1)][_0x4ec59f(0x4e6)](_0x6d05c3);}}catch(_0x27a5bf){this[_0x4ec59f(0x1a7)][_0x4ec59f(0x27d)](_0x27a5bf,_0x1b94d4);}}[_0x46f17f(0x517)](_0x44bab5){const _0x33ac38=_0x46f17f;this[_0x33ac38(0x57e)][_0x33ac38(0x33f)](this[_0x33ac38(0x2f7)],_0x44bab5[_0x33ac38(0x1bf)]);}[_0x46f17f(0x16d)](_0x4edc19){const _0x770030=_0x46f17f;this[_0x770030(0x57e)]['removeMember'](this[_0x770030(0x2f7)],_0x4edc19['data'][_0x770030(0x3bd)]);}async['send'](_0x835deb,_0x47a8ec){const _0x193328=_0x46f17f;if(this[_0x193328(0x513)]!==0x3||!this['_socket'])throw new Error(_0x193328(0x293));try{_0x835deb[_0x193328(0x242)]===_0x40bfa0[_0x193328(0x2de)]&&(this[_0x193328(0x206)](),this[_0x193328(0x2d8)](_0x835deb)),this['_socket'][_0x193328(0x31a)]({'cmd':W[_0x193328(0x30b)],'routeKey':_0x47a8ec,'routeType':'','data':_0x835deb});}catch(_0x4247eb){this['_logService'][_0x193328(0x27d)](_0x4247eb);}}['_scheduleCollaborationTimeoutTimer'](){const _0x4f5482=_0x46f17f;var _0x15766f;this['_collaborationTimeoutTimer']=window['setTimeout'](()=>{const _0x3982fb=_0x1425;this['_collaborationTimeoutTimer']=null,this[_0x3982fb(0x19d)][_0x3982fb(0x17e)]({'type':_0x4ed4eb[_0x3982fb(0x180)],'content':this[_0x3982fb(0x469)]['t'](_0x3982fb(0x1ce))});},(_0x15766f=this[_0x4f5482(0x57c)][_0x4f5482(0x4b3)](Di))!=null?_0x15766f:Pi);}[_0x46f17f(0x54f)](){const _0x412f97=_0x46f17f;this[_0x412f97(0x287)]&&(clearTimeout(this[_0x412f97(0x287)]),this[_0x412f97(0x287)]=null);}[_0x46f17f(0x2d8)](_0x4b66cd){const _0x2c9a1c=_0x46f17f;if(!this[_0x2c9a1c(0x262)])return;const {data:_0x3872e3}=_0x4b66cd,{unitID:_0x207ca9,changeset:_0x54b398}=_0x3872e3,{mutations:_0x1ddac7,type:_0x38f3c7}=_0x54b398;this[_0x2c9a1c(0x1b5)]={'unitId':_0x207ca9,'type':_0x38f3c7,'startTime':performance[_0x2c9a1c(0x2a4)](),'stopTime':0x0,'duration':0x0,'size':Wn(_0x1ddac7)};}[_0x46f17f(0x256)](){const _0x21492a=_0x46f17f;if(this['_shouldReportTelemetry']){if(!this[_0x21492a(0x1b5)]){this[_0x21492a(0x1a7)][_0x21492a(0x27d)](_0x21492a(0x23a),_0x21492a(0x58a));return;}this['_telemetryInfo'][_0x21492a(0x22e)]=performance[_0x21492a(0x2a4)](),this[_0x21492a(0x1b5)][_0x21492a(0x4bb)]=this[_0x21492a(0x1b5)]['stopTime']-this['_telemetryInfo']['startTime'],this['_telemetryService'][_0x21492a(0x422)](kn,this['_telemetryInfo']),this[_0x21492a(0x1b5)]=null;}}[_0x46f17f(0x372)](){const _0xd2fb0c=_0x46f17f;this[_0xd2fb0c(0x1b5)]=null;}};is=qn([be(0x2,_0x416cf3),be(0x3,_0x17e608),be(0x4,_0x30cbad),be(0x5,_0x175c85),be(0x6,_0x4e871f(_0x19d230)),be(0x7,_0x4e871f(Me)),be(0x8,_0x4e871f(Mi)),be(0x9,_0x1316cb(_0x48de2f))],is);var Xn=Object[_0x46f17f(0x3a4)],Jn=Object[_0x46f17f(0x17b)],Zn=(_0x17abb2,_0x3801fa,_0x50ad75,_0x18259b)=>{const _0x4d5abc=_0x46f17f;for(var _0x2f7fde=_0x18259b>0x1?void 0x0:_0x18259b?Jn(_0x3801fa,_0x50ad75):_0x3801fa,_0xa77fb4=_0x17abb2[_0x4d5abc(0x407)]-0x1,_0x42a620;_0xa77fb4>=0x0;_0xa77fb4--)(_0x42a620=_0x17abb2[_0xa77fb4])&&(_0x2f7fde=(_0x18259b?_0x42a620(_0x3801fa,_0x50ad75,_0x2f7fde):_0x42a620(_0x2f7fde))||_0x2f7fde);return _0x18259b&&_0x2f7fde&&Xn(_0x3801fa,_0x50ad75,_0x2f7fde),_0x2f7fde;},we=(_0x236760,_0x387e8a)=>(_0x133618,_0x3ddf5f)=>_0x387e8a(_0x133618,_0x3ddf5f,_0x236760);let xe=class extends _0x156359{constructor(_0x1ef804,_0x596db1,_0x346140,_0xe4ed94,_0x429a2f,_0x1804ab,_0x4c54f9){const _0x47c967=_0x46f17f;super(),g(this,_0x47c967(0x1ed),new _0x4581fa(void 0x0)),g(this,_0x47c967(0x31b),this[_0x47c967(0x1ed)]['asObservable']()),g(this,'_candidateSocket',null),g(this,_0x47c967(0x2d6),new Map()),g(this,_0x47c967(0x258),new _0x4581fa(ve[_0x47c967(0x1e1)])),g(this,_0x47c967(0x571),this[_0x47c967(0x258)][_0x47c967(0x1fb)]()),g(this,_0x47c967(0x48a),!0x1),g(this,_0x47c967(0x28c)),g(this,_0x47c967(0x54b),0x0),g(this,_0x47c967(0x337)),g(this,_0x47c967(0x2d1)),(this['_injector']=_0x1ef804,this[_0x47c967(0x469)]=_0x596db1,this['_messageService']=_0x346140,this[_0x47c967(0x1a7)]=_0xe4ed94,this[_0x47c967(0x57c)]=_0x429a2f,this[_0x47c967(0x38a)]=_0x1804ab,this[_0x47c967(0x32f)]=_0x4c54f9,this['_initEventListeners']());}get[_0x46f17f(0x568)](){const _0x1a8525=_0x46f17f;return this[_0x1a8525(0x1ed)][_0x1a8525(0x290)]();}[_0x46f17f(0x3da)](){this['_listenToOfflineEvent'](),this['_listenToOnlineEvent']();}[_0x46f17f(0x338)](){const _0x25fb41=_0x46f17f;super['dispose'](),this[_0x25fb41(0x2d6)][_0x25fb41(0x519)](_0x1ddf54=>_0x1ddf54[_0x25fb41(0x338)]()),this['_sessions'][_0x25fb41(0x4f8)](),this[_0x25fb41(0x258)][_0x25fb41(0x282)]();}async[_0x46f17f(0x294)](_0x2bf57){const _0x31da63=_0x46f17f;if(this[_0x31da63(0x2d6)][_0x31da63(0x49a)](_0x2bf57))return this[_0x31da63(0x2d6)][_0x31da63(0x3e1)](_0x2bf57);this['_tryEnsureSocket']();const _0x212e18=this[_0x31da63(0x176)][_0x31da63(0x2a8)](is,_0x2bf57,this[_0x31da63(0x1ed)][_0x31da63(0x1fb)]());return this['_sessions'][_0x31da63(0x25b)](_0x2bf57,_0x212e18),_0x212e18;}[_0x46f17f(0x497)](_0x1eb3fa){const _0x5cbc7a=_0x46f17f;var _0x262596;const _0x26c304=this[_0x5cbc7a(0x2d6)][_0x5cbc7a(0x3e1)](_0x1eb3fa);_0x26c304&&(this[_0x5cbc7a(0x2d6)][_0x5cbc7a(0x2cd)](_0x1eb3fa),_0x26c304[_0x5cbc7a(0x23e)]()),this[_0x5cbc7a(0x2d6)]['size']||(_0x262596=this['_socket'])==null||_0x262596[_0x5cbc7a(0x23e)]();}[_0x46f17f(0x1d6)](){const _0x424ce3=_0x46f17f;this[_0x424ce3(0x54b)]=0x0,this[_0x424ce3(0x28c)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this['_tryReconnect']();}async[_0x46f17f(0x421)](){const _0x34c031=_0x46f17f;var _0x372cf5,_0x762a90,_0x3f9072;const _0x25cdb1=this[_0x34c031(0x57c)]['getConfig'](ee),_0x2e4dd6=(_0x372cf5=_0x25cdb1==null?void 0x0:_0x25cdb1[_0x34c031(0x2eb)])!=null?_0x372cf5:En;return(_0x3f9072=(_0x762a90=(await this[_0x34c031(0x32f)][_0x34c031(0x3e1)](_0x2e4dd6,{'headers':{'Content-Type':_0x34c031(0x3bb)}}))[_0x34c031(0x358)])==null?void 0x0:_0x762a90[_0x34c031(0x507)])!=null?_0x3f9072:'';}[_0x46f17f(0x586)](_0x15cfad){const _0x2e95bc=_0x46f17f;var _0x485a9a,_0x88a2d8;const _0x3ebea7=this[_0x2e95bc(0x57c)][_0x2e95bc(0x4b3)](In),_0x3d3a5e=this[_0x2e95bc(0x57c)][_0x2e95bc(0x4b3)](ee),_0x45a133=(_0x88a2d8=(_0x485a9a=_0x3d3a5e==null?void 0x0:_0x3d3a5e[_0x2e95bc(0x24f)])!=null?_0x485a9a:_0x3ebea7)!=null?_0x88a2d8:Cn,_0x55dfa1=new URL(_0x45a133,window[_0x2e95bc(0x4c7)][_0x2e95bc(0x36b)]);return _0x55dfa1[_0x2e95bc(0x3e4)][_0x2e95bc(0x25b)](_0x2e95bc(0x335),_0x15cfad),_0x55dfa1[_0x2e95bc(0x4b7)]();}async[_0x46f17f(0x329)](){const _0xd101ab=_0x46f17f,_0x3efc52=await this['_getSessionTicket'](),_0x4bdee5=this[_0xd101ab(0x586)](_0x3efc52),_0x5bf5f6=this[_0xd101ab(0x38a)]['createSocket'](_0x4bdee5);return this[_0xd101ab(0x3dc)]=_0x5bf5f6,_0x5bf5f6;}async[_0x46f17f(0x2c1)](){const _0x4d59aa=_0x46f17f;var _0x27d9a0,_0x29230e;try{const _0x2310d5=(_0x29230e=(_0x27d9a0=this[_0x4d59aa(0x568)])!=null?_0x27d9a0:this[_0x4d59aa(0x3dc)])!=null?_0x29230e:await this[_0x4d59aa(0x329)]();if(_0x2310d5){const _0x5d0f43=_0x2310d5[_0x4d59aa(0x31a)];_0x2310d5[_0x4d59aa(0x31a)]=_0x4ea620=>(this[_0x4d59aa(0x27c)](),_0x5d0f43[_0x4d59aa(0x44c)](_0x2310d5,[_0x4ea620])),_0x2310d5['message$'][_0x4d59aa(0x346)](_0x19f15e=>this[_0x4d59aa(0x527)](_0x2310d5,_0x19f15e)),_0x2310d5[_0x4d59aa(0x3df)]['pipe'](_0x265746(0x1))[_0x4d59aa(0x346)](_0x2334fb=>this[_0x4d59aa(0x1a7)][_0x4d59aa(0x27d)](_0x4d59aa(0x2f1),_0x2334fb)),_0x2310d5[_0x4d59aa(0x450)]['pipe'](_0x265746(0x1))['subscribe'](()=>{const _0x4f2abe=_0x4d59aa;this[_0x4f2abe(0x4c1)](_0x2310d5);}),_0x2310d5['close$'][_0x4d59aa(0x4e3)](_0x265746(0x1))[_0x4d59aa(0x346)](_0x151bf4=>{const _0x31f8bc=_0x4d59aa;this['_logService'][_0x31f8bc(0x589)]('[CollaborationSessionService]',_0x31f8bc(0x334),_0x151bf4),this[_0x31f8bc(0x434)]();});}}catch(_0x4f9c03){this[_0x4d59aa(0x1a7)]['error'](_0x4f9c03),this[_0x4d59aa(0x434)]();}}[_0x46f17f(0x4c1)](_0x34fe81){const _0x314799=_0x46f17f;this[_0x314799(0x1a7)]['debug'](_0x314799(0x47a),'socket\x20open.'),_0x34fe81[_0x314799(0x31a)]({'cmd':W['HELLO']}),this[_0x314799(0x27c)]();}[_0x46f17f(0x4ef)](){const _0x2f6fb5=_0x46f17f;window[_0x2f6fb5(0x244)](_0x2f6fb5(0x20a),()=>this[_0x2f6fb5(0x33a)]());}[_0x46f17f(0x33a)](){const _0x45c970=_0x46f17f;this['_socketReady']=!0x1,this[_0x45c970(0x3dc)]=null,this[_0x45c970(0x258)]['next'](ve[_0x45c970(0x1d3)]),this[_0x45c970(0x1ed)][_0x45c970(0x4e6)](null),this['_clearTimeoutTimer'](),this[_0x45c970(0x33b)]();}['_onConnectionFailed'](){const _0x5ecde2=_0x46f17f;var _0x591616;this[_0x5ecde2(0x33a)](),this[_0x5ecde2(0x54b)]<((_0x591616=this[_0x5ecde2(0x57c)]['getConfig'](On))!=null?_0x591616:yn)?(this[_0x5ecde2(0x19d)][_0x5ecde2(0x17e)]({'key':_0x5ecde2(0x1b0),'type':_0x4ed4eb['Warning'],'content':this[_0x5ecde2(0x469)]['t']('session.will-retry')}),this[_0x5ecde2(0x3db)]()):this[_0x5ecde2(0x19d)][_0x5ecde2(0x17e)]({'key':_0x5ecde2(0x1b0),'type':_0x4ed4eb[_0x5ecde2(0x180)],'content':this[_0x5ecde2(0x469)]['t'](_0x5ecde2(0x1fd))});}[_0x46f17f(0x2f8)](){const _0x139efb=_0x46f17f,_0x5821e8=()=>{const _0x1044fa=_0x1425;this[_0x1044fa(0x568)]||this[_0x1044fa(0x1d6)]();},_0xa3541c=()=>{const _0x7660da=_0x1425;this[_0x7660da(0x568)]||document[_0x7660da(0x34f)]===_0x7660da(0x4fb)||this[_0x7660da(0x1d6)]();};window['addEventListener'](_0x139efb(0x2ee),_0x5821e8),document[_0x139efb(0x244)](_0x139efb(0x3ed),_0xa3541c);}['_tryReconnect'](){const _0x3da0aa=_0x46f17f;var _0x457645;const _0x4b6697=this[_0x3da0aa(0x54b)],_0x284086=this[_0x3da0aa(0x57c)][_0x3da0aa(0x4b3)](ee),_0x536609=_0x4b6697===0x0?0x0:((_0x457645=_0x284086==null?void 0x0:_0x284086[_0x3da0aa(0x47f)])!=null?_0x457645:Rn)*0x2**_0x4b6697;this[_0x3da0aa(0x28c)]=window[_0x3da0aa(0x3f6)](()=>{const _0x3b2303=_0x3da0aa;clearTimeout(this['_retryConnectingTimer']),this[_0x3b2303(0x28c)]=null,this[_0x3b2303(0x2c1)]();},_0x536609),this['_retryCount']+=0x1;}['_onMessage'](_0x274103,_0x3efe85){const _0x3c74b2=_0x46f17f,{cmd:_0x381401}=_0x3efe85;_0x381401===W[_0x3c74b2(0x343)]&&!this[_0x3c74b2(0x48a)]&&(_0x274103[_0x3c74b2(0x3bd)]=_0x3efe85['data'][_0x3c74b2(0x3bd)],this[_0x3c74b2(0x1ed)][_0x3c74b2(0x4e6)](_0x274103),this['_status$']['next'](ve[_0x3c74b2(0x22b)]),this[_0x3c74b2(0x48a)]=!0x0,this[_0x3c74b2(0x3dc)]=null),_0x381401===W[_0x3c74b2(0x4aa)]&&this[_0x3c74b2(0x512)](),this['_rescheduleHeartbeat']();}[_0x46f17f(0x27c)](){const _0x548f7c=_0x46f17f;var _0x815466;this[_0x548f7c(0x33b)](),this[_0x548f7c(0x337)]=window[_0x548f7c(0x3f6)](()=>this['_sendHeartbeat'](),(_0x815466=this[_0x548f7c(0x57c)][_0x548f7c(0x4b3)](bn))!=null?_0x815466:Tn);}['_sendHeartbeat'](){const _0x3d4860=_0x46f17f;this[_0x3d4860(0x568)][_0x3d4860(0x31a)]({'cmd':W['HEARTBEAT']}),this[_0x3d4860(0x298)]();}[_0x46f17f(0x298)](){const _0x489748=_0x46f17f;var _0x39fb20;this[_0x489748(0x2d1)]=window[_0x489748(0x3f6)](()=>this['_onConnectionFailed'](),(_0x39fb20=this[_0x489748(0x57c)][_0x489748(0x4b3)](Di))!=null?_0x39fb20:Pi);}[_0x46f17f(0x33b)](){const _0xd48368=_0x46f17f;this[_0xd48368(0x337)]!=null&&(clearTimeout(this[_0xd48368(0x337)]),this[_0xd48368(0x337)]=null);}[_0x46f17f(0x512)](){const _0x60e571=_0x46f17f;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x60e571(0x2d1)]),this[_0x60e571(0x2d1)]=null);}};xe=Zn([we(0x0,_0x4e871f(_0x24063a)),we(0x1,_0x4e871f(_0x19d230)),we(0x2,_0x30cbad),we(0x3,_0x416cf3),we(0x4,_0x175c85),we(0x5,Ai),we(0x6,_0x4e871f(_0x595bc6))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y['push']((i+0x100)[_0x46f17f(0x4b7)](0x10)['slice'](0x1));function Qn(_0x2ec82e,_0x17d9a5=0x0){const _0x220ba9=_0x46f17f;return(Y[_0x2ec82e[_0x17d9a5+0x0]]+Y[_0x2ec82e[_0x17d9a5+0x1]]+Y[_0x2ec82e[_0x17d9a5+0x2]]+Y[_0x2ec82e[_0x17d9a5+0x3]]+'-'+Y[_0x2ec82e[_0x17d9a5+0x4]]+Y[_0x2ec82e[_0x17d9a5+0x5]]+'-'+Y[_0x2ec82e[_0x17d9a5+0x6]]+Y[_0x2ec82e[_0x17d9a5+0x7]]+'-'+Y[_0x2ec82e[_0x17d9a5+0x8]]+Y[_0x2ec82e[_0x17d9a5+0x9]]+'-'+Y[_0x2ec82e[_0x17d9a5+0xa]]+Y[_0x2ec82e[_0x17d9a5+0xb]]+Y[_0x2ec82e[_0x17d9a5+0xc]]+Y[_0x2ec82e[_0x17d9a5+0xd]]+Y[_0x2ec82e[_0x17d9a5+0xe]]+Y[_0x2ec82e[_0x17d9a5+0xf]])[_0x220ba9(0x3ec)]();}let Mt;const eo=new Uint8Array(0x10);function to(){const _0x757c80=_0x46f17f;if(!Mt){if(typeof crypto>'u'||!crypto[_0x757c80(0x423)])throw new Error(_0x757c80(0x1d7));Mt=crypto[_0x757c80(0x423)][_0x757c80(0x339)](crypto);}return Mt(eo);}const so=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x46f17f(0x339)](crypto),Fs={'randomUUID':so};function io(_0x444bbb,_0x5ad504,_0xc8e498){const _0x4363c5=_0x46f17f;if(Fs[_0x4363c5(0x1bd)]&&!_0x5ad504&&!_0x444bbb)return Fs[_0x4363c5(0x1bd)]();_0x444bbb=_0x444bbb||{};const _0x1461bc=_0x444bbb[_0x4363c5(0x237)]||(_0x444bbb[_0x4363c5(0x493)]||to)();return _0x1461bc[0x6]=_0x1461bc[0x6]&0xf|0x40,_0x1461bc[0x8]=_0x1461bc[0x8]&0x3f|0x80,Qn(_0x1461bc);}var ro=Object[_0x46f17f(0x3a4)],no=Object[_0x46f17f(0x17b)],oo=(_0x1d985c,_0x3f7c6c,_0x3e4e1c,_0x2322f3)=>{const _0x587d75=_0x46f17f;for(var _0x5782fd=_0x2322f3>0x1?void 0x0:_0x2322f3?no(_0x3f7c6c,_0x3e4e1c):_0x3f7c6c,_0x127505=_0x1d985c[_0x587d75(0x407)]-0x1,_0x247e7c;_0x127505>=0x0;_0x127505--)(_0x247e7c=_0x1d985c[_0x127505])&&(_0x5782fd=(_0x2322f3?_0x247e7c(_0x3f7c6c,_0x3e4e1c,_0x5782fd):_0x247e7c(_0x5782fd))||_0x5782fd);return _0x2322f3&&_0x5782fd&&ro(_0x3f7c6c,_0x3e4e1c,_0x5782fd),_0x5782fd;},xt=(_0x278493,_0x29b40d)=>(_0x82bce7,_0x30efaf)=>_0x29b40d(_0x82bce7,_0x30efaf,_0x278493);let vt=class{constructor(_0x431f2e,_0x18c8ac,_0x457557){const _0x2a9383=_0x46f17f;this[_0x2a9383(0x176)]=_0x431f2e,this[_0x2a9383(0x53b)]=_0x18c8ac,this[_0x2a9383(0x25d)]=_0x457557;}[_0x46f17f(0x3b3)](_0x227f7f){const _0x3f6681=_0x46f17f;this[_0x3f6681(0x409)](_0x227f7f),this['_transformPreviousActiveRange'](_0x227f7f);}[_0x46f17f(0x4ea)](_0x37128e){const _0x2052ba=_0x46f17f,{unitID:_0x546ed0}=_0x37128e,_0x8ce8f8=this[_0x2052ba(0x25d)][_0x2052ba(0x169)](_0x546ed0)['with'](_0x20d10d),{redoCache:_0x3630b3}=_0x8ce8f8[_0x2052ba(0x57d)]();if(_0x3630b3[_0x2052ba(0x407)]===0x0)return _0x37128e;let _0x558c00=_0x389286[_0x2052ba(0x1eb)](_0x37128e['mutations'][0x0]);for(let _0x45b06f=0x0;_0x45b06f<_0x3630b3[_0x2052ba(0x407)];_0x45b06f++){const _0x563726={'id':'doc.mutation.rich-text-editing','params':{..._0x3630b3[_0x45b06f]}},_0x35c0ab=this['_transformService'][_0x2052ba(0x31d)](_0x558c00,_0x563726,!0x1);if(_0x391986(_0x35c0ab))throw _0x35c0ab[_0x2052ba(0x27d)];_0x558c00=_0x35c0ab[_0x2052ba(0x377)];}return{..._0x389286[_0x2052ba(0x1eb)](_0x37128e),'mutations':[_0x558c00]};}[_0x46f17f(0x409)](_0x85c498){const _0x218d26=_0x46f17f,{unitID:_0x2a1aa3}=_0x85c498,_0x1fb48c=this[_0x218d26(0x25d)]['getRenderById'](_0x2a1aa3)[_0x218d26(0x453)](_0x20d10d),{undoCache:_0x555129,redoCache:_0x478bff}=_0x1fb48c['getUndoRedoMutationParamsCache']();if(_0x555129[_0x218d26(0x407)]===0x0||_0x478bff[_0x218d26(0x407)]===0x0)return;const _0x212166=[],_0x2ae503=[];let _0xf5c3a4=_0x389286[_0x218d26(0x1eb)](_0x85c498[_0x218d26(0x49d)][0x0]),_0x58d160=_0x389286[_0x218d26(0x1eb)](_0x85c498['mutations'][0x0]);for(let _0x1671ef=_0x555129[_0x218d26(0x407)]-0x1;_0x1671ef>=0x0;_0x1671ef--){const _0x40698f={'id':'doc.mutation.rich-text-editing','params':{..._0x555129[_0x1671ef]}},_0xb92880={'id':'doc.mutation.rich-text-editing','params':{..._0x478bff[_0x1671ef]}},_0x2ccb3d=this[_0x218d26(0x53b)]['transformMutation'](_0xf5c3a4,_0x40698f,!0x1),_0x1bb95a=this[_0x218d26(0x53b)][_0x218d26(0x31d)](_0x58d160,_0xb92880,!0x1);if(_0x391986(_0x2ccb3d))throw _0x2ccb3d[_0x218d26(0x27d)];if(_0x391986(_0x1bb95a))throw _0x1bb95a[_0x218d26(0x27d)];_0x212166[_0x218d26(0x28e)](_0x2ccb3d[_0x218d26(0x178)][_0x218d26(0x496)]),_0x2ae503['unshift'](_0x1bb95a[_0x218d26(0x178)][_0x218d26(0x496)]),_0xf5c3a4=_0x2ccb3d[_0x218d26(0x377)],_0x58d160=_0x1bb95a[_0x218d26(0x377)];}_0x1fb48c[_0x218d26(0x553)]({'undoCache':_0x212166,'redoCache':_0x2ae503});}[_0x46f17f(0x2b2)](_0x3f1504){const _0x3c44c7=_0x46f17f,{unitID:_0x46c4d8}=_0x3f1504,_0x57b915=this[_0x3c44c7(0x25d)][_0x3c44c7(0x169)](_0x46c4d8)[_0x3c44c7(0x453)](_0x20d10d),_0x55a047=_0x57b915[_0x3c44c7(0x219)]();if(_0x55a047==null)return;const _0x2b7c70=[{'id':_0x3c44c7(0x1e4),'params':{'unitId':_0x3f1504['unitID'],'actions':null,'textRanges':[_0x55a047]}}],_0x635354=this[_0x3c44c7(0x53b)][_0x3c44c7(0x46f)](_0x3f1504,_0x2b7c70);if(!_0x12fb0f(_0x635354))throw _0x635354[_0x3c44c7(0x27d)];const _0x1fe901=_0x635354[_0x3c44c7(0x178)][0x0][_0x3c44c7(0x496)][_0x3c44c7(0x167)];Array[_0x3c44c7(0x328)](_0x1fe901)&&_0x1fe901[_0x3c44c7(0x407)]&&_0x57b915[_0x3c44c7(0x58b)](_0x1fe901[0x0]);}};vt=oo([xt(0x0,_0x4e871f(_0x24063a)),xt(0x1,_0x1ea1f3),xt(0x2,_0x51f1aa)],vt);var ao=Object[_0x46f17f(0x3a4)],co=Object[_0x46f17f(0x17b)],ho=(_0x37539f,_0x2037fa,_0x1a5ea3,_0x332932)=>{const _0x4fe355=_0x46f17f;for(var _0x17562a=_0x332932>0x1?void 0x0:_0x332932?co(_0x2037fa,_0x1a5ea3):_0x2037fa,_0xac5351=_0x37539f[_0x4fe355(0x407)]-0x1,_0x5c6771;_0xac5351>=0x0;_0xac5351--)(_0x5c6771=_0x37539f[_0xac5351])&&(_0x17562a=(_0x332932?_0x5c6771(_0x2037fa,_0x1a5ea3,_0x17562a):_0x5c6771(_0x17562a))||_0x17562a);return _0x332932&&_0x17562a&&ao(_0x2037fa,_0x1a5ea3,_0x17562a),_0x17562a;},Xe=(_0xf17f98,_0x2523d6)=>(_0x3fd815,_0x195cc8)=>_0x2523d6(_0x3fd815,_0x195cc8,_0xf17f98);let q=class extends _0x156359{constructor(_0x46f1a5,_0x56c394,_0x4d9c56,_0x1ec38f,_0x7eed10){const _0x5cb4e3=_0x46f17f;super(),g(this,_0x5cb4e3(0x22a),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x5cb4e3(0x541),!0x1),(this['_configService']=_0x46f1a5,this[_0x5cb4e3(0x39f)]=_0x56c394,this['_beforeCloseService']=_0x4d9c56,this[_0x5cb4e3(0x469)]=_0x1ec38f,this['_revisionService']=_0x7eed10,this['_setupBeforeClosingHandler']());}[_0x46f17f(0x393)](){const _0x2fb322=_0x46f17f;this[_0x2fb322(0x541)]=!0x0;}[_0x46f17f(0x24e)](){const _0x3abdca=_0x46f17f;this[_0x3abdca(0x541)]=!0x1;}[_0x46f17f(0x338)](){const _0x236420=_0x46f17f;this[_0x236420(0x19f)]()['then'](()=>super[_0x236420(0x338)]());}async['loadOfflineData'](_0x2b23f7){const _0x338985=_0x46f17f;return this[_0x338985(0x541)]?null:this[_0x338985(0x39f)]['getItem'](Vs(_0x2b23f7));}async[_0x46f17f(0x1aa)](_0x2466bb,_0xd40661){const _0x52f017=_0x46f17f;return!!this['_localStorageService'][_0x52f017(0x44f)](_0x2466bb,_0xd40661);}[_0x46f17f(0x32d)](_0x595433,_0x516b14,_0x1aefe4,_0x3ef0f7){const _0x141987=_0x46f17f,_0x127594=this['_revisionService'][_0x141987(0x3c2)](_0x595433);this[_0x141987(0x22a)][_0x141987(0x25b)](_0x595433,{'unitID':_0x595433,'type':_0x516b14,'awaitingChangeset':_0x1aefe4,'mutations':_0x3ef0f7,'rev':_0x127594}),this[_0x141987(0x1cb)][_0x141987(0x49a)](_0x595433)||this['_scheduleSaving'](_0x595433);}[_0x46f17f(0x3c5)](_0x29d73f){const _0x545dd1=_0x46f17f,_0x5bf027=this[_0x545dd1(0x3fc)]();_0x5bf027===0x0?this[_0x545dd1(0x4d6)](_0x29d73f):this[_0x545dd1(0x1cb)][_0x545dd1(0x25b)](_0x29d73f,setTimeout(()=>this[_0x545dd1(0x4d6)](_0x29d73f),_0x5bf027));}['_getSaveTimeout'](){const _0x1351f9=_0x46f17f;var _0x28f92c;return(_0x28f92c=this[_0x1351f9(0x57c)][_0x1351f9(0x4b3)](wn))!=null?_0x28f92c:Dn;}[_0x46f17f(0x4d6)](_0xac88b9){const _0x194b8c=_0x46f17f,_0x2b7576=this[_0x194b8c(0x1cb)][_0x194b8c(0x3e1)](_0xac88b9);return _0x2b7576!==void 0x0&&window[_0x194b8c(0x2c0)](_0x2b7576),this['_localStorageService'][_0x194b8c(0x44f)](Vs(_0xac88b9),this['_cachedData'][_0x194b8c(0x3e1)](_0xac88b9))['then'](()=>this[_0x194b8c(0x1cb)][_0x194b8c(0x2cd)](_0xac88b9));}async[_0x46f17f(0x19f)](){const _0x58d59a=_0x46f17f,_0x16e02b=[];this[_0x58d59a(0x1cb)]['forEach']((_0x3f17bd,_0x4a883d)=>{const _0x1e6cd8=_0x58d59a;window[_0x1e6cd8(0x2c0)](_0x3f17bd),_0x16e02b[_0x1e6cd8(0x23d)](this[_0x1e6cd8(0x4d6)](_0x4a883d)[_0x1e6cd8(0x3b2)](()=>{const _0x26e25f=_0x1e6cd8;this[_0x26e25f(0x1cb)][_0x26e25f(0x2cd)](_0x4a883d);}));}),await Promise['all'](_0x16e02b);}[_0x46f17f(0x4b4)](){const _0x5efc5e=_0x46f17f;this[_0x5efc5e(0x45a)](this[_0x5efc5e(0x3ab)][_0x5efc5e(0x3a3)](()=>{const _0x1e7ddd=_0x5efc5e;if(this[_0x1e7ddd(0x1cb)]['size'])return this[_0x1e7ddd(0x469)]['t'](_0x1e7ddd(0x182));}));}};q=ho([Xe(0x0,_0x175c85),Xe(0x1,_0x4b294d),Xe(0x2,_0x17e608),Xe(0x3,_0x4e871f(_0x19d230)),Xe(0x4,_0x4e871f(_0x55fa5b))],q);function Vs(_0x340c33){const _0x4f1330=_0x46f17f;return _0x4f1330(0x520)+_0x340c33;}var lo=Object[_0x46f17f(0x3a4)],_o=Object[_0x46f17f(0x17b)],uo=(_0x2f0c6f,_0x4dbcbb,_0x1d381b,_0x2b2e5a)=>{const _0x2becb2=_0x46f17f;for(var _0x517b7d=_0x2b2e5a>0x1?void 0x0:_0x2b2e5a?_o(_0x4dbcbb,_0x1d381b):_0x4dbcbb,_0x2eb70a=_0x2f0c6f[_0x2becb2(0x407)]-0x1,_0x422c50;_0x2eb70a>=0x0;_0x2eb70a--)(_0x422c50=_0x2f0c6f[_0x2eb70a])&&(_0x517b7d=(_0x2b2e5a?_0x422c50(_0x4dbcbb,_0x1d381b,_0x517b7d):_0x422c50(_0x517b7d))||_0x517b7d);return _0x2b2e5a&&_0x517b7d&&lo(_0x4dbcbb,_0x1d381b,_0x517b7d),_0x517b7d;},Lt=(_0x44be31,_0x3a195a)=>(_0x4c26ee,_0x14ef72)=>_0x3a195a(_0x4c26ee,_0x14ef72,_0x44be31);function fo(_0x1841b8){const _0x1decab=_0x46f17f,{unitID:_0x22cdfe,mutations:_0x2a6e0a}=_0x1841b8;return{'unitId':_0x22cdfe,'subUnitId':_0x2a6e0a[0x0][_0x1decab(0x496)]['subUnitId']};}let mt=class{constructor(_0x29cc20,_0x52bda6,_0x1cc286){const _0x50c83e=_0x46f17f;this[_0x50c83e(0x176)]=_0x29cc20,this[_0x50c83e(0x53b)]=_0x52bda6,this[_0x50c83e(0x2c6)]=_0x1cc286;}['transformSelections'](_0x5cf941){const _0x3a59a3=_0x46f17f;var _0x339f5e,_0x4ff868,_0x14026a,_0x2a0c51;const _0x3f8579=this[_0x3a59a3(0x176)][_0x3a59a3(0x3e1)](_0x57d5f4),{unitId:_0x229c97,subUnitId:_0x2ad78b}=fo(_0x5cf941),_0x3774e0=_0x3f8579[_0x3a59a3(0x430)](_0x229c97)['getCurrentSelections'](),_0x3df0ac=(_0x4ff868=(_0x339f5e=this['_instanceService'][_0x3a59a3(0x471)](_0x229c97))==null?void 0x0:_0x339f5e[_0x3a59a3(0x4c5)]())==null?void 0x0:_0x4ff868[_0x3a59a3(0x316)]();if(_0x3774e0[_0x3a59a3(0x407)]===0x0||!_0x229c97||!_0x2ad78b)return;const _0x5689be=[{'id':_0x4feead['id'],'params':{'unitId':_0x229c97,'subUnitId':_0x3df0ac,'selections':_0x389286[_0x3a59a3(0x1eb)](_0x3774e0)}}],_0x5b216e=this[_0x3a59a3(0x53b)][_0x3a59a3(0x46f)](_0x5cf941,_0x5689be);if(!_0x12fb0f(_0x5b216e))throw _0x5b216e['error'];const _0x5c76f9=(_0x2a0c51=(_0x14026a=_0x5b216e[_0x3a59a3(0x178)][0x0])==null?void 0x0:_0x14026a[_0x3a59a3(0x496)])==null?void 0x0:_0x2a0c51[_0x3a59a3(0x51e)];if(Array[_0x3a59a3(0x328)](_0x5c76f9)&&_0x5c76f9[_0x3a59a3(0x407)]){if(_0x5c76f9[_0x3a59a3(0x407)]===_0x5689be[0x0][_0x3a59a3(0x496)][_0x3a59a3(0x51e)][_0x3a59a3(0x407)]&&_0x5c76f9[_0x3a59a3(0x4f6)]((_0x4ad2a0,_0x45149f)=>_0x135866[_0x3a59a3(0x4cf)](_0x4ad2a0[_0x3a59a3(0x30c)],_0x5689be[0x0][_0x3a59a3(0x496)][_0x3a59a3(0x51e)][_0x45149f]['range'])))return;this[_0x3a59a3(0x176)][_0x3a59a3(0x3e1)](_0x15e74e)[_0x3a59a3(0x521)](_0x4feead['id'],{'unitId':_0x229c97,'subUnitId':_0x3df0ac,'selections':_0x5c76f9});}}};mt=uo([Lt(0x0,_0x4e871f(_0x24063a)),Lt(0x1,_0x1ea1f3),Lt(0x2,_0x2d6c6a)],mt);const yt=_0x1035a6(_0x46f17f(0x3cc));var xi=(_0x5acc5f=>(_0x5acc5f[_0x5acc5f[_0x46f17f(0x42f)]=0x0]=_0x46f17f(0x42f),_0x5acc5f[_0x5acc5f[_0x46f17f(0x4cd)]=0x1]=_0x46f17f(0x4cd),_0x5acc5f))(xi||{});const Gs=0x7530,Ys='ACTIVE_UNIT_EVENT_CHANNEL';class vo extends _0x156359{constructor(){const _0x44224f=_0x46f17f;super(),g(this,_0x44224f(0x24c),_0x389286[_0x44224f(0x467)]()),g(this,_0x44224f(0x46a),new Set()),g(this,_0x44224f(0x4dd),new Map()),g(this,_0x44224f(0x1b7),null),g(this,'_clearOtherTimers',new Map()),g(this,_0x44224f(0x2d4),new Map()),this[_0x44224f(0x3a9)]();}[_0x46f17f(0x338)](){const _0x14f1f9=_0x46f17f;super['dispose'](),this[_0x14f1f9(0x208)]['forEach']((_0x52b0fd,_0x2c0f1f)=>this['_removeClearOtherTimer'](_0x2c0f1f)),this[_0x14f1f9(0x1b7)]&&window[_0x14f1f9(0x2e2)](this[_0x14f1f9(0x1b7)]);}[_0x46f17f(0x486)](_0x5b4daf){const _0x4cff09=_0x46f17f;return this[_0x4cff09(0x22f)](_0x5b4daf)[_0x4cff09(0x4e3)](_0x242d51());}['editingUnit'](_0x258126){const _0x5b102d=_0x46f17f;this['_selfUnitIDs'][_0x5b102d(0x16c)]===0x0&&this['_scheduleHeartbeat'](),this[_0x5b102d(0x46a)][_0x5b102d(0x42c)](_0x258126),this[_0x5b102d(0x374)]({'type':0x0,'memberID':this[_0x5b102d(0x24c)],'unitIDs':[_0x258126],'isForwarded':!0x1});}[_0x46f17f(0x386)](_0x17eabd){const _0x453c79=_0x46f17f;this[_0x453c79(0x46a)]['delete'](_0x17eabd),this[_0x453c79(0x46a)]['size']===0x0&&this['_heartbeatTimer']&&window[_0x453c79(0x2e2)](this[_0x453c79(0x1b7)]);}[_0x46f17f(0x3a9)](){const _0xdc9972=_0x46f17f;this['disposeWithMe'](_0x105bf3(_0x249771(window,_0xdc9972(0x24a))[_0xdc9972(0x346)](_0x418126=>{const _0x523fe3=_0xdc9972;if(_0x418126[_0x523fe3(0x1ae)]!==Ys||!_0x418126[_0x523fe3(0x572)])return;const _0x24ae41=JSON[_0x523fe3(0x4b9)](_0x418126[_0x523fe3(0x572)]);this[_0x523fe3(0x4d7)](_0x24ae41);}))),window[_0xdc9972(0x244)](_0xdc9972(0x21b),()=>this[_0xdc9972(0x374)]({'type':0x1,'memberID':this[_0xdc9972(0x24c)],'unitIDs':Array['from'](this[_0xdc9972(0x46a)])}));}[_0x46f17f(0x4d7)](_0x2b2bd4){const _0x5c353a=_0x46f17f;switch(_0x2b2bd4[_0x5c353a(0x2a2)]){case 0x0:this[_0x5c353a(0x1ec)](_0x2b2bd4);break;case 0x1:this[_0x5c353a(0x440)](_0x2b2bd4);break;case 0x2:this[_0x5c353a(0x35d)](_0x2b2bd4);break;}}[_0x46f17f(0x1ec)](_0x253fbc){const _0x466f83=_0x46f17f,{unitIDs:_0x41b0ad,memberID:_0x3d543d,isForwarded:_0x40818b}=_0x253fbc;_0x41b0ad[_0x466f83(0x519)](_0x3304d2=>{const _0x4ccc04=_0x466f83;if(!_0x40818b&&this[_0x4ccc04(0x4dd)][_0x4ccc04(0x49a)](_0x3304d2)&&this[_0x4ccc04(0x22f)](_0x3304d2)[_0x4ccc04(0x4e6)](0x1),!this[_0x4ccc04(0x4dd)]['has'](_0x3304d2)||!this[_0x4ccc04(0x4dd)][_0x4ccc04(0x3e1)](_0x3304d2)[_0x4ccc04(0x49a)](_0x3d543d)){const _0x6481b1=this[_0x4ccc04(0x4dd)]['get'](_0x3304d2)||new Set();_0x6481b1['add'](_0x3d543d),this[_0x4ccc04(0x4dd)]['set'](_0x3304d2,_0x6481b1),this[_0x4ccc04(0x56d)](_0x3d543d);}}),_0x40818b||this[_0x466f83(0x374)]({'type':0x0,'memberID':this[_0x466f83(0x24c)],'unitIDs':[...this[_0x466f83(0x46a)]],'isForwarded':!0x0});}[_0x46f17f(0x56d)](_0x5d3c74){const _0x259994=_0x46f17f;this['_removeClearOtherTimer'](_0x5d3c74);const _0x42a089=window[_0x259994(0x3f6)](()=>{const _0x429c12=_0x259994;this[_0x429c12(0x4dd)]['forEach'](_0x576364=>{const _0x4f472e=_0x429c12;_0x576364[_0x4f472e(0x2cd)](_0x5d3c74);});},Gs*0x2);this['_clearOtherTimers'][_0x259994(0x25b)](_0x5d3c74,_0x42a089);}[_0x46f17f(0x41b)](_0x1c32fd){const _0x4d6253=_0x46f17f;if(this['_clearOtherTimers'][_0x4d6253(0x49a)](_0x1c32fd)){const _0x128176=this[_0x4d6253(0x208)][_0x4d6253(0x3e1)](_0x1c32fd);_0x128176&&window[_0x4d6253(0x2c0)](_0x128176),this[_0x4d6253(0x208)][_0x4d6253(0x25b)](_0x1c32fd,null);}}[_0x46f17f(0x440)](_0x3a09b1){const _0x201349=_0x46f17f,{memberID:_0x35d7e2,unitIDs:_0x3d6e6a}=_0x3a09b1;_0x3d6e6a[_0x201349(0x519)](_0x2257cb=>{const _0x43abf9=_0x201349;var _0x1cef8a;const _0x6b5544=this[_0x43abf9(0x4dd)][_0x43abf9(0x3e1)](_0x2257cb);_0x6b5544&&(_0x6b5544[_0x43abf9(0x2cd)](_0x35d7e2),(_0x1cef8a=this[_0x43abf9(0x22f)](_0x2257cb))==null||_0x1cef8a['next'](_0x6b5544[_0x43abf9(0x16c)]===0x0?0x0:0x1));}),this[_0x201349(0x41b)](_0x35d7e2);}[_0x46f17f(0x35d)](_0x4a16d6){const _0x405b3f=_0x46f17f;this[_0x405b3f(0x56d)](_0x4a16d6[_0x405b3f(0x3bd)]);}[_0x46f17f(0x374)](_0x52f18e){const _0xe19eda=_0x46f17f;localStorage['setItem'](Ys,JSON[_0xe19eda(0x353)](_0x52f18e));}[_0x46f17f(0x4fd)](){const _0x39f818=_0x46f17f;this[_0x39f818(0x1b7)]=window[_0x39f818(0x35e)](()=>{const _0x4a0725=_0x39f818;this[_0x4a0725(0x374)]({'type':0x2,'memberID':this[_0x4a0725(0x24c)]});},Gs);}[_0x46f17f(0x22f)](_0x1eb3f8){const _0x5b5503=_0x46f17f;return this[_0x5b5503(0x2d4)][_0x5b5503(0x49a)](_0x1eb3f8)||this['_unitStatus'][_0x5b5503(0x25b)](_0x1eb3f8,new _0x4581fa(0x0)),this[_0x5b5503(0x2d4)]['get'](_0x1eb3f8);}}var mo=Object[_0x46f17f(0x3a4)],po=Object[_0x46f17f(0x17b)],go=(_0x1b47b6,_0x5218a0,_0x159e7a,_0x105569)=>{const _0x3d3c1e=_0x46f17f;for(var _0x474b41=_0x105569>0x1?void 0x0:_0x105569?po(_0x5218a0,_0x159e7a):_0x5218a0,_0xa34380=_0x1b47b6[_0x3d3c1e(0x407)]-0x1,_0x409639;_0xa34380>=0x0;_0xa34380--)(_0x409639=_0x1b47b6[_0xa34380])&&(_0x474b41=(_0x105569?_0x409639(_0x5218a0,_0x159e7a,_0x474b41):_0x409639(_0x474b41))||_0x474b41);return _0x105569&&_0x474b41&&mo(_0x5218a0,_0x159e7a,_0x474b41),_0x474b41;},$t=(_0x572032,_0x2b9100)=>(_0x1c607e,_0x1193c4)=>_0x2b9100(_0x1c607e,_0x1193c4,_0x572032);let pt=class{constructor(_0x7200fb,_0x5cc2e2,_0x3d550f){const _0x3db815=_0x46f17f;this[_0x3db815(0x176)]=_0x7200fb,this[_0x3db815(0x53b)]=_0x5cc2e2,this[_0x3db815(0x532)]=_0x3d550f;}[_0x46f17f(0x408)](_0x3ad4ca){this['_transformHistoryAndStateStack'](_0x3ad4ca);}[_0x46f17f(0x4ea)](_0x240bcd){const _0x58cc97=_0x46f17f,{unitID:_0x21f6c3}=_0x240bcd,{collaboration:_0x37cc0c}=this['_docStateChangeManagerService'][_0x58cc97(0x32c)](_0x21f6c3);if(_0x37cc0c[_0x58cc97(0x407)]===0x0)return _0x240bcd;let _0x281acc=_0x389286[_0x58cc97(0x1eb)](_0x240bcd[_0x58cc97(0x49d)][0x0]);for(let _0x1802da=0x0;_0x1802da<_0x37cc0c['length'];_0x1802da++){const _0x1b57e2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x37cc0c[_0x1802da][_0x58cc97(0x318)],..._0x37cc0c[_0x1802da]['redoState']}},_0x9d2103=this['_transformService'][_0x58cc97(0x31d)](_0x281acc,_0x1b57e2,!0x1);if(_0x391986(_0x9d2103))throw _0x9d2103[_0x58cc97(0x27d)];_0x281acc=_0x9d2103[_0x58cc97(0x377)];}return{..._0x389286[_0x58cc97(0x1eb)](_0x240bcd),'mutations':[_0x281acc]};}['_transformHistoryAndStateStack'](_0x5698e9){const _0x2aa36f=_0x46f17f,{unitID:_0x2dc04c}=_0x5698e9,{history:_0x3364c3,collaboration:_0x1d3851}=this[_0x2aa36f(0x532)][_0x2aa36f(0x32c)](_0x2dc04c);if(_0x3364c3[_0x2aa36f(0x407)]===0x0&&_0x1d3851[_0x2aa36f(0x407)]===0x0)return;const _0x2173ab=[],_0x3b034f=[];let _0x2d070c=_0x389286['deepClone'](_0x5698e9[_0x2aa36f(0x49d)][0x0]),_0x13364c=_0x389286['deepClone'](_0x5698e9[_0x2aa36f(0x49d)][0x0]);for(let _0x56a1b2=_0x3364c3[_0x2aa36f(0x407)]-0x1;_0x56a1b2>=0x0;_0x56a1b2--){const _0x1366c6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3364c3[_0x56a1b2][_0x2aa36f(0x318)],..._0x3364c3[_0x56a1b2]['undoState']}},_0x44d42c={'id':_0x2aa36f(0x1e4),'params':{'unitId':_0x3364c3[_0x56a1b2][_0x2aa36f(0x318)],..._0x3364c3[_0x56a1b2][_0x2aa36f(0x195)]}},_0x5d97dc=this[_0x2aa36f(0x53b)][_0x2aa36f(0x31d)](_0x2d070c,_0x1366c6,!0x1),_0x4cafbf=this[_0x2aa36f(0x53b)][_0x2aa36f(0x31d)](_0x13364c,_0x44d42c,!0x1);if(_0x391986(_0x5d97dc))throw _0x5d97dc[_0x2aa36f(0x27d)];if(_0x391986(_0x4cafbf))throw _0x4cafbf[_0x2aa36f(0x27d)];_0x2173ab[_0x2aa36f(0x28e)]({..._0x3364c3[_0x56a1b2],'undoState':_0x5d97dc[_0x2aa36f(0x178)]['params'],'redoState':_0x4cafbf[_0x2aa36f(0x178)][_0x2aa36f(0x496)]}),_0x2d070c=_0x5d97dc[_0x2aa36f(0x377)],_0x13364c=_0x4cafbf['m1Prime'];}_0x2d070c=_0x389286[_0x2aa36f(0x1eb)](_0x5698e9['mutations'][0x0]),_0x13364c=_0x389286[_0x2aa36f(0x1eb)](_0x5698e9['mutations'][0x0]);for(let _0x2dadbb=_0x1d3851[_0x2aa36f(0x407)]-0x1;_0x2dadbb>=0x0;_0x2dadbb--){const _0x234d54={'id':_0x2aa36f(0x1e4),'params':{'unitId':_0x1d3851[_0x2dadbb][_0x2aa36f(0x318)],..._0x1d3851[_0x2dadbb][_0x2aa36f(0x42b)]}},_0x2f3ff3={'id':_0x2aa36f(0x1e4),'params':{'unitId':_0x1d3851[_0x2dadbb]['unitId'],..._0x1d3851[_0x2dadbb][_0x2aa36f(0x195)]}},_0x164e65=this[_0x2aa36f(0x53b)][_0x2aa36f(0x31d)](_0x2d070c,_0x234d54,!0x1),_0x595d78=this[_0x2aa36f(0x53b)][_0x2aa36f(0x31d)](_0x13364c,_0x2f3ff3,!0x1);if(_0x391986(_0x164e65))throw _0x164e65[_0x2aa36f(0x27d)];if(_0x391986(_0x595d78))throw _0x595d78[_0x2aa36f(0x27d)];_0x3b034f[_0x2aa36f(0x28e)]({..._0x1d3851[_0x2dadbb],'undoState':_0x164e65[_0x2aa36f(0x178)][_0x2aa36f(0x496)],'redoState':_0x595d78['m2Prime']['params']}),_0x2d070c=_0x164e65[_0x2aa36f(0x377)],_0x13364c=_0x595d78[_0x2aa36f(0x377)];}this[_0x2aa36f(0x532)][_0x2aa36f(0x309)](_0x2dc04c,{'history':_0x2173ab,'collaboration':_0x3b034f});}};pt=go([$t(0x0,_0x4e871f(_0x24063a)),$t(0x1,_0x1ea1f3),$t(0x2,_0x4e871f(_0x280b41))],pt);function Li(_0x55ce42){const _0x3898b0=_0x46f17f;let _0x1c53f5='';for(const _0x372bab of _0x55ce42){const {startOffset:_0x328971,endOffset:_0x1c1aad,isActive:_0x34731b,rangeType:_0x58181c,segmentId:_0x1b6daa,segmentPage:_0x44cfc9}=_0x372bab;_0x1c53f5[_0x3898b0(0x407)]&&(_0x1c53f5+=','),_0x1c53f5+=_0x328971+':'+_0x1c1aad+':'+(_0x34731b?'1':'0')+':'+_0x58181c+':'+_0x1b6daa+':'+_0x44cfc9;}return _0x1c53f5;}function So(_0x3c77a0){const _0x260253=_0x46f17f,_0x57c038=_0x3c77a0['split'](','),_0x14b6e4=[];for(const _0x3ae180 of _0x57c038){const [_0x2cc129,_0x3ad81e,_0x47857b,_0x34d885,_0x136336,_0x594b5d]=_0x3ae180[_0x260253(0x190)](':');_0x14b6e4[_0x260253(0x23d)]({'startOffset':Number(_0x2cc129),'endOffset':Number(_0x3ad81e),'collapsed':_0x2cc129===_0x3ad81e,'isActive':_0x47857b==='1','rangeType':_0x34d885===_0x32f3c1[_0x260253(0x2ad)]?_0x32f3c1[_0x260253(0x2ad)]:_0x32f3c1[_0x260253(0x428)],'segmentId':typeof _0x136336==_0x260253(0x366)?String(_0x136336):'','segmentPage':Number(_0x594b5d!=null?_0x594b5d:-0x1)});}return _0x14b6e4['some'](_0x2bd83f=>_0x2bd83f[_0x260253(0x243)])||(_0x14b6e4[0x0]['isActive']=!0x0),_0x14b6e4;}class Ts extends _0x2ddc3d{constructor(){const _0x1b7ac2=_0x46f17f;super(...arguments),g(this,_0x1b7ac2(0x578),new _0x4581fa(null)),g(this,_0x1b7ac2(0x3d4),this[_0x1b7ac2(0x578)][_0x1b7ac2(0x1fb)]());}[_0x46f17f(0x174)](_0x118522){const _0x302618=_0x46f17f,{unitID:_0x29b5fe,memberID:_0x40d065,textRanges:_0x514875}=_0x118522,_0x2a5b84=Li(_0x514875);if(_0x2a5b84==='')return;const _0x203f2b={'unitID':_0x29b5fe,'memberID':_0x40d065,'selection':_0x2a5b84};this[_0x302618(0x578)][_0x302618(0x4e6)](_0x203f2b);}}var Io=Object[_0x46f17f(0x3a4)],Co=Object['getOwnPropertyDescriptor'],Eo=(_0x52c75d,_0x1736ac,_0x9d959d,_0x49dd21)=>{const _0x4f93b1=_0x46f17f;for(var _0x2e4921=_0x49dd21>0x1?void 0x0:_0x49dd21?Co(_0x1736ac,_0x9d959d):_0x1736ac,_0x31d12c=_0x52c75d[_0x4f93b1(0x407)]-0x1,_0x43946f;_0x31d12c>=0x0;_0x31d12c--)(_0x43946f=_0x52c75d[_0x31d12c])&&(_0x2e4921=(_0x49dd21?_0x43946f(_0x1736ac,_0x9d959d,_0x2e4921):_0x43946f(_0x2e4921))||_0x2e4921);return _0x49dd21&&_0x2e4921&&Io(_0x1736ac,_0x9d959d,_0x2e4921),_0x2e4921;},Ks=(_0x115365,_0x264eb7)=>(_0x151604,_0xa66ddf)=>_0x264eb7(_0x151604,_0xa66ddf,_0x115365);let gt=class{constructor(_0x107e24,_0x20d9af){const _0x902090=_0x46f17f;this[_0x902090(0x176)]=_0x107e24,this[_0x902090(0x53b)]=_0x20d9af;}[_0x46f17f(0x1af)](_0x15ce6e){const _0x305853=_0x46f17f;var _0x2b49ec;const _0x50e56e=this[_0x305853(0x176)][_0x305853(0x3e1)](_0x5ed2b2),_0x59002e=(_0x2b49ec=_0x50e56e[_0x305853(0x240)]())!=null?_0x2b49ec:[];if(_0x59002e[_0x305853(0x407)]===0x0)return;const _0x16235f=_0x15ce6e[_0x305853(0x498)],_0x2069dd=[{'id':_0x305853(0x1e4),'params':{'unitId':_0x16235f,'actions':null,'textRanges':_0x59002e}}],_0x448a12=this[_0x305853(0x53b)][_0x305853(0x46f)](_0x15ce6e,_0x2069dd);if(!_0x12fb0f(_0x448a12))throw _0x448a12[_0x305853(0x27d)];const _0x783d54=_0x448a12[_0x305853(0x178)][0x0][_0x305853(0x496)][_0x305853(0x167)];Array['isArray'](_0x783d54)&&_0x783d54[_0x305853(0x407)]&&_0x50e56e['replaceDocRanges'](_0x783d54,{'unitId':_0x16235f,'subUnitId':_0x16235f},!0x1);}};gt=Eo([Ks(0x0,_0x4e871f(_0x24063a)),Ks(0x1,_0x1ea1f3)],gt);const bo=new Set([_0x92993c['id']]);function zs(_0x4915b1,_0x5197d1,_0x3862f3,_0x3524d8,_0x2cdbff){const _0x55ac3d=_0x46f17f;var _0x4dfad9,_0x2b6509,_0x5016b7,_0x1af7ab;const _0x844f96=[];for(const _0x49d0ce of _0x4915b1)if(bo[_0x55ac3d(0x49a)](_0x49d0ce['id'])){if(_0x844f96['length']>0x0)break;_0x844f96['push'](_0x49d0ce);break;}else _0x844f96['push'](_0x49d0ce);const _0x3792a8=(_0x2b6509=(_0x4dfad9=_0x2cdbff['getCurrentUser']())==null?void 0x0:_0x4dfad9['userID'])!=null?_0x2b6509:_0x55ac3d(0x546),_0x7d6773=(_0x1af7ab=(_0x5016b7=_0x2cdbff['getCurrentUser']())==null?void 0x0:_0x5016b7[_0x55ac3d(0x3bd)])!=null?_0x1af7ab:_0x55ac3d(0x546);return{'changeset':{'unitID':_0x5197d1,'type':_0x14b156(_0x3862f3['getUnitType'](_0x5197d1)),'baseRev':_0x3524d8['getCurrentRevOfUnit'](_0x5197d1),'revision':0x0,'userID':_0x3792a8,'memberID':_0x7d6773,'mutations':_0x844f96},'pendingMutations':_0x4915b1[_0x55ac3d(0x325)](_0x844f96['length'])};}function To(_0x10341d,_0x498f30,_0x400dfd,_0xd326a6,_0x2e840d){const _0x17fc49=_0x46f17f;var _0x5e3ca0,_0x252381,_0x182144,_0x3602fd;const _0x4321a0=[_0x10341d[_0x17fc49(0x249)]((_0x6386c,_0x5161e2)=>{const _0x57f742=_0x17fc49;var _0x3368b8;const {id:_0x78b032}=_0x6386c,{id:_0x25cac7,type:_0x2f1339}=_0x5161e2,_0xa7a45a=(_0x3368b8=_0x6386c[_0x57f742(0x496)])!=null?_0x3368b8:{'actions':null},_0x4fb488=_0x5161e2['params'];if(_0x78b032&&_0x78b032!==_0x25cac7)throw new Error(_0x57f742(0x19b)+_0x78b032+'\x20-\x20'+_0x25cac7+'.');return{..._0x6386c,'id':_0x25cac7,'type':_0x2f1339,'params':{'unitId':_0x4fb488[_0x57f742(0x318)],'textRanges':_0x4fb488['textRanges'],'actions':_0x11c1f9[_0x57f742(0x540)](_0xa7a45a[_0x57f742(0x52f)],_0x4fb488[_0x57f742(0x52f)])}};},{})],_0x177f2d=(_0x252381=(_0x5e3ca0=_0x2e840d['getCurrentUser']())==null?void 0x0:_0x5e3ca0['userID'])!=null?_0x252381:'unknown',_0x4027ec=(_0x3602fd=(_0x182144=_0x2e840d[_0x17fc49(0x188)]())==null?void 0x0:_0x182144[_0x17fc49(0x3bd)])!=null?_0x3602fd:_0x17fc49(0x546);return{'changeset':{'unitID':_0x498f30,'type':_0x14b156(_0x400dfd[_0x17fc49(0x1c1)](_0x498f30)),'baseRev':_0xd326a6[_0x17fc49(0x3c2)](_0x498f30),'revision':0x0,'userID':_0x177f2d,'memberID':_0x4027ec,'mutations':_0x4321a0},'pendingMutations':[]};}function $i(_0x510479,_0x21a0fa){const _0xd3f77d=_0x46f17f,_0x4ffb2e=new _0x55511b(0x1);return setTimeout(()=>_0x4ffb2e['next'](_0x21a0fa),_0x510479),_0x4ffb2e[_0xd3f77d(0x1fb)]()[_0xd3f77d(0x4e3)](_0x522325(0x1));}const Ro={'id':_0xc2211f['id'],'type':_0x4b7f16['MUTATION'],'params':{}};var Oo=Object['defineProperty'],yo=Object[_0x46f17f(0x17b)],$e=(_0x12a6ab,_0x2fad3c,_0x537696,_0x3acacb)=>{const _0x3a0502=_0x46f17f;for(var _0xe377b8=_0x3acacb>0x1?void 0x0:_0x3acacb?yo(_0x2fad3c,_0x537696):_0x2fad3c,_0x5f02b3=_0x12a6ab[_0x3a0502(0x407)]-0x1,_0x4f818f;_0x5f02b3>=0x0;_0x5f02b3--)(_0x4f818f=_0x12a6ab[_0x5f02b3])&&(_0xe377b8=(_0x3acacb?_0x4f818f(_0x2fad3c,_0x537696,_0xe377b8):_0x4f818f(_0xe377b8))||_0xe377b8);return _0x3acacb&&_0xe377b8&&Oo(_0x2fad3c,_0x537696,_0xe377b8),_0xe377b8;},A=(_0x49a148,_0xa2cf5)=>(_0x2d3fc7,_0x22bcd7)=>_0xa2cf5(_0x2d3fc7,_0x22bcd7,_0x49a148),J=(_0x4b8786=>(_0x4b8786['NOT_COLLAB']=_0x46f17f(0x199),_0x4b8786[_0x46f17f(0x17c)]=_0x46f17f(0x3e5),_0x4b8786[_0x46f17f(0x2a6)]='pending',_0x4b8786[_0x46f17f(0x351)]=_0x46f17f(0x1f0),_0x4b8786[_0x46f17f(0x2cf)]=_0x46f17f(0x414),_0x4b8786['FETCH_MISS']='fetch_missing',_0x4b8786['CONFLICT']=_0x46f17f(0x427),_0x4b8786[_0x46f17f(0x1d3)]=_0x46f17f(0x20a),_0x4b8786))(J||{});const Hi=0xea60;class He{constructor(_0x3401d2,_0x34f620,_0x310d67,_0x4e3529,_0x29f93f,_0x36fae4,_0x2ab1ce,_0x5d06ea,_0x9927d8){const _0x49164f=_0x46f17f;g(this,'_awaitingChangeset',null),g(this,_0x49164f(0x198),[]),(this[_0x49164f(0x498)]=_0x3401d2,this[_0x49164f(0x2a2)]=_0x34f620,this['_handler']=_0x29f93f,this[_0x49164f(0x558)]=_0x36fae4,this[_0x49164f(0x2d7)]=_0x2ab1ce,this[_0x49164f(0x33e)]=_0x5d06ea,this[_0x49164f(0x4fe)]=_0x9927d8,this['_awaitingChangeset']=_0x310d67,this[_0x49164f(0x198)]=_0x4e3529);}[_0x46f17f(0x4dc)](_0x17b4b7){const _0x6b0d63=_0x46f17f,_0x732c44=this[_0x6b0d63(0x33e)]['getCurrentRevOfUnit'](this['unitID']);return _0x17b4b7[_0x6b0d63(0x40c)]>_0x732c44+0x1?(this[_0x6b0d63(0x429)][_0x6b0d63(0x312)]({'from':_0x732c44,'to':_0x17b4b7[_0x6b0d63(0x40c)]-0x1}),!0x0):!0x1;}[_0x46f17f(0x252)](_0x48bd01){const _0x4e0692=_0x46f17f;this['_undoRedoService'][_0x4e0692(0x472)](this[_0x4e0692(0x498)],_0x48bd01);}[_0x46f17f(0x2fc)](_0x27ff67){const _0x4592f6=_0x46f17f;var _0x19e0f2,_0x1d866a;(_0x1d866a=(_0x19e0f2=this[_0x4592f6(0x429)])[_0x4592f6(0x363)])==null||_0x1d866a[_0x4592f6(0x3a8)](_0x19e0f2,_0x27ff67);}[_0x46f17f(0x305)](_0x25d8be){const _0x38780b=_0x46f17f;var _0x36685f,_0xed0a9f;return(_0xed0a9f=(_0x36685f=this[_0x38780b(0x429)])['onTransformIME'])==null?void 0x0:_0xed0a9f['call'](_0x36685f,_0x25d8be);}[_0x46f17f(0x516)](_0x59129d){const _0x61158e=_0x46f17f;var _0x187b1a,_0x51a084;return(_0x51a084=(_0x187b1a=this['_handler'])[_0x61158e(0x2f9)])==null?void 0x0:_0x51a084[_0x61158e(0x3a8)](_0x187b1a,_0x59129d);}['_transformRemoteChangesetByIMECache'](_0x4b3d44){const _0x3762f4=_0x46f17f;var _0x3fabbc,_0x105909,_0xe920d8;return(_0xe920d8=(_0x105909=(_0x3fabbc=this[_0x3762f4(0x429)])[_0x3762f4(0x283)])==null?void 0x0:_0x105909[_0x3762f4(0x3a8)](_0x3fabbc,_0x4b3d44))!=null?_0xe920d8:_0x4b3d44;}[_0x46f17f(0x239)](_0x30573c){const _0x298073=_0x46f17f;var _0x1f6a94,_0x4f1f05,_0x245566;return(_0x245566=(_0x4f1f05=(_0x1f6a94=this['_handler'])[_0x298073(0x289)])==null?void 0x0:_0x4f1f05[_0x298073(0x3a8)](_0x1f6a94,_0x30573c))!=null?_0x245566:_0x30573c;}['_syncEditingCollabCursor'](_0xb0701b){const _0x32b575=_0x46f17f;var _0x3e561e,_0x4e19c4;if(this[_0x32b575(0x2a2)]===ce[_0x32b575(0x15e)]){const {unitID:_0x354613,mutations:_0x9edfd7,memberID:_0x3b2978}=_0xb0701b,_0x5a4b31=_0x9edfd7[0x0][_0x32b575(0x496)]['textRanges'];Array[_0x32b575(0x328)](_0x5a4b31)&&_0x5a4b31['length']>0x0&&((_0x4e19c4=(_0x3e561e=this[_0x32b575(0x429)])[_0x32b575(0x2a9)])==null||_0x4e19c4[_0x32b575(0x3a8)](_0x3e561e,{'unitID':_0x354613,'memberID':_0x3b2978,'textRanges':_0x5a4b31}));}}['_updateLocalCache'](){const _0x126189=_0x46f17f;this[_0x126189(0x4fe)][_0x126189(0x32d)](this['unitID'],this[_0x126189(0x2a2)],this[_0x126189(0x40d)],this['_pendingMutations']);}[_0x46f17f(0x2ac)](){const _0x4a21ba=_0x46f17f;return this['_revisionService'][_0x4a21ba(0x3c2)](this[_0x4a21ba(0x498)]);}[_0x46f17f(0x1a0)](){const _0x5872e0=_0x46f17f;this[_0x5872e0(0x33e)][_0x5872e0(0x2d5)](this['unitID']);}[_0x46f17f(0x535)](_0xe98dc9){const _0x59f6df=_0x46f17f;var _0x2b46f0;let _0x52449b=this['_transformRemoteChangesetByIMECache'](_0xe98dc9);_0x52449b=this['_transformRemoteChangesetByStateCache'](_0x52449b);const _0x3a3a04=_0x172a56(_0x52449b[_0x59f6df(0x49d)],this['_commandService'],{'fromCollab':!0x0});if(!_0x3a3a04['result'])throw _0x3a3a04[_0x59f6df(0x27d)]instanceof Error?_0x3a3a04['error']:new Error((_0x2b46f0=_0x3a3a04[_0x59f6df(0x27d)])!=null?_0x2b46f0:'[CollaborationState]:\x20apply\x20error!');this[_0x59f6df(0x305)](_0x52449b),this[_0x59f6df(0x516)](_0x52449b),this['_transformUndoredo'](_0xe98dc9),this[_0x59f6df(0x2fc)](_0x52449b),this[_0x59f6df(0x373)](_0x52449b),this[_0x59f6df(0x1a0)]();}}let Fe=class extends He{constructor(_0x4a44d2,_0xdf5a98,_0x2a0a1e,_0x34716c,_0x857d37,_0x11f031,_0x16089b,_0x40fd01,_0x1d6170,_0x3359fe){const _0x40d5ff=_0x46f17f;super(_0x4a44d2,_0xdf5a98,null,[],_0x2a0a1e,_0x40fd01,_0x16089b,_0x34716c,_0x857d37),g(this,_0x40d5ff(0x54c),'synced'),(this[_0x40d5ff(0x176)]=_0x11f031,this[_0x40d5ff(0x1a7)]=_0x1d6170,this[_0x40d5ff(0x53b)]=_0x3359fe);}[_0x46f17f(0x307)](_0x35d320){const _0x251784=_0x46f17f,_0x20cfef=this[_0x251784(0x176)]['createInstance'](pe,this['unitID'],this[_0x251784(0x2a2)],[_0x35d320],this[_0x251784(0x429)]);return _0x20cfef[_0x251784(0x2ca)](),_0x20cfef[_0x251784(0x340)](),_0x20cfef;}[_0x46f17f(0x491)](_0x38c4c8){const _0x4c2244=_0x46f17f;if(this[_0x4c2244(0x4dc)](_0x38c4c8))return this[_0x4c2244(0x176)][_0x4c2244(0x2a8)](he,this[_0x4c2244(0x498)],this[_0x4c2244(0x2a2)],null,[],null,[_0x38c4c8],this['_handler']);try{const _0x453846=this[_0x4c2244(0x53b)][_0x4c2244(0x46f)](_0x38c4c8,[Ro]);if(_0x12fb0f(_0x453846)){const {c1Prime:_0x6ef983}=_0x453846;return this[_0x4c2244(0x535)](_0x6ef983),this;}throw _0x453846['error'];}catch(_0x1ce5df){return this[_0x4c2244(0x1a7)][_0x4c2244(0x27d)](_0x1ce5df),this[_0x4c2244(0x186)](!0x1);}}[_0x46f17f(0x186)](_0x58f332){const _0x558ef8=_0x46f17f;return this['_injector'][_0x558ef8(0x2a8)](Oe,this[_0x558ef8(0x498)],this['type'],null,[],this['_handler'],_0x58f332);}[_0x46f17f(0x55c)](){const _0x1800d7=_0x46f17f;throw new Error(_0x1800d7(0x26d));}[_0x46f17f(0x34c)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x46f17f(0x2f5)](){const _0x9a978c=_0x46f17f;return this['_injector'][_0x9a978c(0x2a8)](ye,this['unitID'],this[_0x9a978c(0x2a2)],null,[],this[_0x9a978c(0x429)]);}[_0x46f17f(0x2dc)](){return this;}['resend'](){const _0x12bfa8=_0x46f17f;throw new Error(_0x12bfa8(0x2cc));}['fetchMiss'](){const _0x3cac1f=_0x46f17f,_0x199a5b=this[_0x3cac1f(0x33e)]['getCurrentRevOfUnit'](this[_0x3cac1f(0x498)]);return this[_0x3cac1f(0x429)][_0x3cac1f(0x312)]({'from':_0x199a5b,'to':0x0}),this[_0x3cac1f(0x176)][_0x3cac1f(0x2a8)](he,this['unitID'],this[_0x3cac1f(0x2a2)],null,[],null,[],this['_handler']);}};Fe=$e([A(0x3,_0x4e871f(_0x55fa5b)),A(0x4,_0x4e871f(q)),A(0x5,_0x4e871f(_0x24063a)),A(0x6,_0x166e89),A(0x7,_0x15e74e),A(0x8,_0x416cf3),A(0x9,_0x1ea1f3)],Fe);let pe=class extends He{constructor(_0x4048e,_0x44c865,_0x1cf1ad,_0x492695,_0x414744,_0x2c5d19,_0x32acf2,_0x97edfb,_0x3db770,_0x4f8747,_0x39bff7,_0x4bde49,_0x5c4e7f,_0x272f39){const _0x342ef0=_0x46f17f;super(_0x4048e,_0x44c865,null,_0x1cf1ad,_0x492695,_0x4f8747,_0x272f39,_0x2c5d19,_0x32acf2),g(this,_0x342ef0(0x54c),'pending'),g(this,_0x342ef0(0x494),null),g(this,_0x342ef0(0x170),null),(this[_0x342ef0(0x176)]=_0x414744,this[_0x342ef0(0x57e)]=_0x97edfb,this['_logService']=_0x3db770,this['_configService']=_0x39bff7,this[_0x342ef0(0x53b)]=_0x4bde49,this[_0x342ef0(0x53d)]=_0x5c4e7f);}['appendMutation'](_0x957476){const _0x56b4da=_0x46f17f;return this[_0x56b4da(0x198)][_0x56b4da(0x23d)](_0x957476),this[_0x56b4da(0x340)](),this;}['onRemoteChangeset'](_0x2a9b7d){const _0x45c065=_0x46f17f;if(this['_checkMissing'](_0x2a9b7d))return this[_0x45c065(0x3f7)](),this[_0x45c065(0x176)]['createInstance'](he,this['unitID'],this[_0x45c065(0x2a2)],null,this['_pendingMutations'],null,[_0x2a9b7d],this['_handler']);try{const _0x33a8c7=this['_transformService']['transformMutationsWithChangeset'](_0x2a9b7d,this[_0x45c065(0x198)]);if(_0x12fb0f(_0x33a8c7)){const {c1Prime:_0x10291b,m2Prime:_0x15f06f}=_0x33a8c7;this[_0x45c065(0x535)](_0x10291b);const _0x350e40=this[_0x45c065(0x176)][_0x45c065(0x2a8)](pe,this[_0x45c065(0x498)],this['type'],_0x15f06f,this[_0x45c065(0x429)]);return this[_0x45c065(0x3f7)](),_0x350e40[_0x45c065(0x2ca)](this[_0x45c065(0x494)]?Math[_0x45c065(0x17d)](0x0,new Date()[_0x45c065(0x1a4)]()-this['_scheduleTimestamp']):this[_0x45c065(0x41f)]()),_0x350e40;}throw _0x33a8c7['error'];}catch(_0x5cc609){return this['_logService'][_0x45c065(0x27d)](_0x5cc609),this[_0x45c065(0x186)](!0x1);}}['onRemoteAck'](){const _0x30061a=_0x46f17f;throw new Error(_0x30061a(0x460));}[_0x46f17f(0x34c)](){const _0x3a2070=_0x46f17f;throw new Error(_0x3a2070(0x476));}['onRemoteRetry'](){return this;}[_0x46f17f(0x2f5)](){const _0x580328=_0x46f17f;return this[_0x580328(0x3f7)](),this[_0x580328(0x176)][_0x580328(0x2a8)](ye,this[_0x580328(0x498)],this[_0x580328(0x2a2)],null,this['_pendingMutations'],this[_0x580328(0x429)]);}['toggleOnline'](){return this;}[_0x46f17f(0x2ca)](_0xd09d88){const _0x100bc4=_0x46f17f,_0x263e74=_0xd09d88!=null?_0xd09d88:this[_0x100bc4(0x41f)]();this['_scheduleTimestamp']=new Date()['getTime'](),this[_0x100bc4(0x170)]=window[_0x100bc4(0x3f6)](()=>{const _0x126429=_0x100bc4;this[_0x126429(0x3f7)]();let _0x2473d0=null;switch(this['type']){case ce[_0x126429(0x226)]:{_0x2473d0=zs(this[_0x126429(0x198)],this[_0x126429(0x498)],this['_univerInstanceService'],this[_0x126429(0x33e)],this[_0x126429(0x57e)]);break;}case ce[_0x126429(0x15e)]:{this['_pendingMutations'][_0x126429(0x4f6)](_0x55b4f1=>_0x55b4f1['id']===_0x1ba87a['id'])?_0x2473d0=To(this[_0x126429(0x198)],this['unitID'],this[_0x126429(0x53d)],this[_0x126429(0x33e)],this[_0x126429(0x57e)]):_0x2473d0=zs(this['_pendingMutations'],this['unitID'],this[_0x126429(0x53d)],this[_0x126429(0x33e)],this[_0x126429(0x57e)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x126429(0x25c));}const {changeset:_0x67418c,pendingMutations:_0x25e6a9}=_0x2473d0;this[_0x126429(0x429)][_0x126429(0x3bf)](_0x67418c);const _0x5e492f=_0x25e6a9[_0x126429(0x407)]?this[_0x126429(0x176)][_0x126429(0x2a8)](ge,this[_0x126429(0x498)],this[_0x126429(0x2a2)],_0x67418c,_0x25e6a9,this['_handler'],void 0x0):this[_0x126429(0x176)][_0x126429(0x2a8)](Re,this[_0x126429(0x498)],this[_0x126429(0x2a2)],_0x67418c,this[_0x126429(0x429)]);_0x5e492f['_updateLocalCache'](),this[_0x126429(0x429)]['onStateChange'](this,_0x5e492f);},_0x263e74);}[_0x46f17f(0x41f)](){const _0x3b1e19=_0x46f17f;var _0x21aa41;const _0x1e7b12=this['_configService']['getConfig'](ee);return(_0x21aa41=_0x1e7b12==null?void 0x0:_0x1e7b12[_0x3b1e19(0x272)])!=null?_0x21aa41:Sn;}[_0x46f17f(0x3e6)](){const _0x2ac14e=_0x46f17f;throw new Error(_0x2ac14e(0x39b));}[_0x46f17f(0x3f7)](){const _0x5c6e7e=_0x46f17f;this[_0x5c6e7e(0x170)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x46f17f(0x186)](_0x472c16){const _0x2336b1=_0x46f17f;return this['_clearScheduledTask'](),this[_0x2336b1(0x176)][_0x2336b1(0x2a8)](Oe,this[_0x2336b1(0x498)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x472c16);}};pe=$e([A(0x4,_0x4e871f(_0x24063a)),A(0x5,_0x4e871f(_0x55fa5b)),A(0x6,_0x4e871f(q)),A(0x7,_0x4e871f(Me)),A(0x8,_0x416cf3),A(0x9,_0x15e74e),A(0xa,_0x175c85),A(0xb,_0x1ea1f3),A(0xc,_0x2d6c6a),A(0xd,_0x166e89)],pe);let Re=class extends He{constructor(_0x3f23e3,_0x3b63d4,_0x29c37f,_0x22923b,_0x2165e0,_0x27addb,_0x566cb1,_0x1dfc03,_0x7bde30,_0x5273b3,_0x3d917b){const _0x11e699=_0x46f17f;super(_0x3f23e3,_0x3b63d4,_0x29c37f,[],_0x22923b,_0x1dfc03,_0x3d917b,_0x27addb,_0x566cb1),g(this,_0x11e699(0x54c),'awaiting'),g(this,_0x11e699(0x304),0x0),g(this,_0x11e699(0x4eb)),g(this,'_sender'),(this[_0x11e699(0x176)]=_0x2165e0,this[_0x11e699(0x1a7)]=_0x7bde30,this['_transformService']=_0x5273b3);}['appendMutation'](_0x2a6ba8){const _0xc0841f=_0x46f17f;this[_0xc0841f(0x3f7)]();const _0x4a2510=this['_injector'][_0xc0841f(0x2a8)](ge,this['unitID'],this['type'],this['_awaitingChangeset'],[_0x2a6ba8],this[_0xc0841f(0x429)],this[_0xc0841f(0x4eb)]);return _0x4a2510[_0xc0841f(0x340)](),_0x4a2510;}[_0x46f17f(0x491)](_0x58d8a7){const _0x1e097a=_0x46f17f;if(this['_checkMissing'](_0x58d8a7))return this['_clearScheduledTask'](),this['_injector']['createInstance'](he,this['unitID'],this[_0x1e097a(0x2a2)],this[_0x1e097a(0x40d)],[],null,[_0x58d8a7],this['_handler']);try{const _0x3baf8e=this['_transformService'][_0x1e097a(0x314)]([_0x58d8a7],[this[_0x1e097a(0x40d)]],!0x1);if(_0x9dfff7(_0x3baf8e)){const {c1Prime:_0x5ecf39,c2Prime:_0x370921}=_0x3baf8e;this[_0x1e097a(0x535)](_0x5ecf39[0x0]),_0x370921[0x0]['baseRev']=this[_0x1e097a(0x2ac)](),this[_0x1e097a(0x3f7)]();const _0x4bd5ea=this[_0x1e097a(0x176)]['createInstance'](Re,this[_0x1e097a(0x498)],this[_0x1e097a(0x2a2)],_0x370921[0x0],this['_handler']);return _0x4bd5ea['_updateLocalCache'](),_0x4bd5ea;}return this['_onConflict'](!0x1);}catch(_0x19ca41){return this[_0x1e097a(0x1a7)][_0x1e097a(0x27d)](_0x19ca41),this[_0x1e097a(0x186)](!0x1);}}[_0x46f17f(0x55c)](_0x12743e){const _0xc5e9b1=_0x46f17f;this[_0xc5e9b1(0x3f7)]();const _0xecbcda=this[_0xc5e9b1(0x33e)][_0xc5e9b1(0x3c2)](this[_0xc5e9b1(0x498)]);if(_0x12743e[_0xc5e9b1(0x40c)]<_0xecbcda-0x1)return this;if(this[_0xc5e9b1(0x4dc)](_0x12743e))return this[_0xc5e9b1(0x176)][_0xc5e9b1(0x2a8)](he,this[_0xc5e9b1(0x498)],this['type'],null,[],this[_0xc5e9b1(0x40d)],[],this[_0xc5e9b1(0x429)]);this[_0xc5e9b1(0x1a0)]();const _0x1a6184=this[_0xc5e9b1(0x176)][_0xc5e9b1(0x2a8)](Fe,this['unitID'],this[_0xc5e9b1(0x2a2)],this[_0xc5e9b1(0x429)]);return _0x1a6184['_updateLocalCache'](),_0x1a6184;}[_0x46f17f(0x34c)](_0x8874d4){const _0x31a438=_0x46f17f;return this[_0x31a438(0x186)](!!(_0x8874d4!=null&&_0x8874d4[_0x31a438(0x291)]));}[_0x46f17f(0x3d6)](_0x361ceb){const _0x3bf983=_0x46f17f;return this[_0x3bf983(0x304)]>Hi?this['toggleOffline']():(this[_0x3bf983(0x4eb)]=$i(this[_0x3bf983(0x304)],{'timeout':this['_resendTimeout'],'reqId':_0x361ceb[_0x3bf983(0x418)]}),this[_0x3bf983(0x25a)]=this['_resendTimer']['subscribe'](({reqId:_0x4b45a5,timeout:_0x417ac7})=>{const _0x2f3a79=_0x3bf983;this[_0x2f3a79(0x341)](_0x4b45a5,_0x417ac7);}),this);}[_0x46f17f(0x2f5)](){const _0x352557=_0x46f17f;return this[_0x352557(0x3f7)](),this[_0x352557(0x176)][_0x352557(0x2a8)](ye,this[_0x352557(0x498)],this[_0x352557(0x2a2)],this[_0x352557(0x40d)],[],this[_0x352557(0x429)]);}[_0x46f17f(0x2dc)](){return this;}[_0x46f17f(0x3e6)](){const _0x4cd784=_0x46f17f;this[_0x4cd784(0x429)][_0x4cd784(0x3bf)](this[_0x4cd784(0x40d)]);}[_0x46f17f(0x186)](_0x3c0143){const _0x37df95=_0x46f17f;return this[_0x37df95(0x3f7)](),this[_0x37df95(0x176)]['createInstance'](Oe,this[_0x37df95(0x498)],this[_0x37df95(0x2a2)],this[_0x37df95(0x40d)],[],this[_0x37df95(0x429)],_0x3c0143);}[_0x46f17f(0x341)](_0x5d681d,_0x4f3d2a){const _0x332923=_0x46f17f;var _0x5ea655;_0x5d681d===((_0x5ea655=this[_0x332923(0x40d)])==null?void 0x0:_0x5ea655[_0x332923(0x418)])&&(this[_0x332923(0x3e6)](),this[_0x332923(0x304)]=_0x4f3d2a===0x0?0x3e8:_0x4f3d2a*0x2);}[_0x46f17f(0x3f7)](){const _0x173641=_0x46f17f;var _0x37ee15;(_0x37ee15=this[_0x173641(0x25a)])==null||_0x37ee15[_0x173641(0x362)](),this['_resendTimeout']=0x0;}};Re=$e([A(0x4,_0x4e871f(_0x24063a)),A(0x5,_0x4e871f(_0x55fa5b)),A(0x6,_0x4e871f(q)),A(0x7,_0x15e74e),A(0x8,_0x416cf3),A(0x9,_0x1ea1f3),A(0xa,_0x166e89)],Re);let ge=class extends He{constructor(_0x1111dc,_0x8504c9,_0x983750,_0x1c06b9,_0x58506e,_0x4889d7,_0x425cef,_0x4dab51,_0x1cf0fc,_0x24065f,_0x311c14,_0x23f813,_0x5518fa){const _0x7d6912=_0x46f17f;super(_0x1111dc,_0x8504c9,_0x983750,_0x1c06b9,_0x58506e,_0x24065f,_0x5518fa,_0x4dab51,_0x1cf0fc),g(this,_0x7d6912(0x54c),_0x7d6912(0x414)),g(this,_0x7d6912(0x304),0x0),g(this,'_resendTimer'),g(this,'_sender'),(this[_0x7d6912(0x176)]=_0x425cef,this[_0x7d6912(0x1a7)]=_0x311c14,this['_transformService']=_0x23f813,_0x4889d7&&(this[_0x7d6912(0x4eb)]=_0x4889d7,this['_sender']=this[_0x7d6912(0x4eb)][_0x7d6912(0x346)](({reqId:_0x2d56d5,timeout:_0x3dd2f1})=>{const _0x5bf845=_0x7d6912;this[_0x5bf845(0x341)](_0x2d56d5,_0x3dd2f1);})));}[_0x46f17f(0x307)](_0x50681d){const _0x5778ab=_0x46f17f;return this[_0x5778ab(0x198)][_0x5778ab(0x23d)](_0x50681d),this;}[_0x46f17f(0x491)](_0x3defe3){const _0xd9116d=_0x46f17f;if(this['_checkMissing'](_0x3defe3))return this[_0xd9116d(0x3f7)](),this[_0xd9116d(0x176)]['createInstance'](he,this['unitID'],this[_0xd9116d(0x2a2)],this[_0xd9116d(0x40d)],this[_0xd9116d(0x198)],null,[_0x3defe3],this[_0xd9116d(0x429)]);try{const _0x2bddd6=this[_0xd9116d(0x53b)][_0xd9116d(0x314)]([_0x3defe3],[this[_0xd9116d(0x40d)]],!0x1);if(_0x9dfff7(_0x2bddd6)){const {c1Prime:_0x570d13,c2Prime:_0x329d83}=_0x2bddd6,_0x32f65a=this[_0xd9116d(0x53b)][_0xd9116d(0x46f)](_0x570d13[0x0],this[_0xd9116d(0x198)]);if(_0x12fb0f(_0x32f65a)){const {c1Prime:_0x5399a5,m2Prime:_0x472606}=_0x32f65a;return this['_executeRemoteChangeset'](_0x5399a5),_0x329d83[0x0][_0xd9116d(0x3fa)]=this[_0xd9116d(0x2ac)](),this[_0xd9116d(0x3f7)](),this[_0xd9116d(0x176)][_0xd9116d(0x2a8)](ge,this[_0xd9116d(0x498)],this['type'],_0x329d83[0x0],_0x472606,this['_handler'],void 0x0);}throw _0x32f65a[_0xd9116d(0x27d)];}throw _0x2bddd6['error'];}catch(_0x34b495){return this['_logService']['error'](_0x34b495),this['_onConflict'](!0x1);}}[_0x46f17f(0x55c)](_0x5e9d98){const _0x351dee=_0x46f17f;if(this[_0x351dee(0x3f7)](),this[_0x351dee(0x4dc)](_0x5e9d98))return this[_0x351dee(0x176)]['createInstance'](he,this[_0x351dee(0x498)],this['type'],null,this[_0x351dee(0x198)],this[_0x351dee(0x40d)],[],this[_0x351dee(0x429)]);this[_0x351dee(0x1a0)]();const _0x41c0f6=this['_injector'][_0x351dee(0x2a8)](pe,this['unitID'],this[_0x351dee(0x2a2)],this['_pendingMutations'],this['_handler']);return _0x41c0f6[_0x351dee(0x2ca)](),_0x41c0f6[_0x351dee(0x340)](),_0x41c0f6;}[_0x46f17f(0x34c)](_0x5eb94b){const _0x4a9e69=_0x46f17f;return this[_0x4a9e69(0x186)](!!(_0x5eb94b!=null&&_0x5eb94b[_0x4a9e69(0x291)]));}[_0x46f17f(0x3d6)](_0x19cf8f){const _0x3dfa16=_0x46f17f;return this[_0x3dfa16(0x304)]>Hi?this[_0x3dfa16(0x2f5)]():(this[_0x3dfa16(0x4eb)]=$i(this[_0x3dfa16(0x304)],{'timeout':this['_resendTimeout'],'reqId':_0x19cf8f[_0x3dfa16(0x418)]}),this[_0x3dfa16(0x25a)]=this[_0x3dfa16(0x4eb)][_0x3dfa16(0x346)](({reqId:_0x51b693,timeout:_0x5e34ca})=>{const _0x5d4f9a=_0x3dfa16;this[_0x5d4f9a(0x341)](_0x51b693,_0x5e34ca);}),this);}['toggleOffline'](){const _0x2c7f07=_0x46f17f;return this[_0x2c7f07(0x3f7)](),this[_0x2c7f07(0x176)]['createInstance'](ye,this[_0x2c7f07(0x498)],this[_0x2c7f07(0x2a2)],this[_0x2c7f07(0x40d)],this[_0x2c7f07(0x198)],this[_0x2c7f07(0x429)]);}[_0x46f17f(0x2dc)](){return this;}['resend'](){const _0x3ce2ff=_0x46f17f;this[_0x3ce2ff(0x429)][_0x3ce2ff(0x3bf)](this[_0x3ce2ff(0x40d)]);}[_0x46f17f(0x186)](_0x111866){const _0xdcc735=_0x46f17f;return this[_0xdcc735(0x3f7)](),this['_injector'][_0xdcc735(0x2a8)](Oe,this[_0xdcc735(0x498)],this[_0xdcc735(0x2a2)],null,this[_0xdcc735(0x198)],this['_handler'],_0x111866);}[_0x46f17f(0x341)](_0x2cde7d,_0x500a7e){const _0xf67c9b=_0x46f17f;var _0x30b665;_0x2cde7d===((_0x30b665=this['_awaitingChangeset'])==null?void 0x0:_0x30b665['reqId'])&&(this['resend'](),this[_0xf67c9b(0x304)]=_0x500a7e===0x0?0x3e8:_0x500a7e*0x2);}[_0x46f17f(0x3f7)](){const _0x42e3c0=_0x46f17f;var _0x2534c7;(_0x2534c7=this[_0x42e3c0(0x25a)])==null||_0x2534c7['unsubscribe'](),this['_resendTimeout']=0x0;}};ge=$e([A(0x6,_0x4e871f(_0x24063a)),A(0x7,_0x4e871f(_0x55fa5b)),A(0x8,_0x4e871f(q)),A(0x9,_0x15e74e),A(0xa,_0x416cf3),A(0xb,_0x1ea1f3),A(0xc,_0x166e89)],ge);let Oe=class extends He{constructor(_0x93ddbb,_0x302560,_0x3b32ba,_0x61c2a,_0x170a5c,_0x459d9f=!0x1,_0x2af52c,_0x5147a0,_0x58b3e8,_0x478846,_0x5681fd,_0x198c14,_0x394e6d){const _0x2c6b61=_0x46f17f;super(_0x93ddbb,_0x302560,_0x3b32ba,_0x61c2a,_0x170a5c,_0x5147a0,_0x58b3e8,_0x5681fd,_0x478846),g(this,_0x2c6b61(0x54c),_0x2c6b61(0x427)),(this[_0x2c6b61(0x3fd)]=_0x459d9f,this['_permissionService']=_0x2af52c,this[_0x2c6b61(0x469)]=_0x198c14,this[_0x2c6b61(0x4a6)]=_0x394e6d,this[_0x2c6b61(0x267)](),this[_0x2c6b61(0x424)](),this[_0x2c6b61(0x2b6)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x46f17f(0x55c)](){return this;}[_0x46f17f(0x34c)](){return this;}[_0x46f17f(0x3d6)](){return this;}[_0x46f17f(0x2f5)](){return this;}[_0x46f17f(0x2dc)](){return this;}['resend'](){const _0x660938=_0x46f17f;throw new Error(_0x660938(0x503));}[_0x46f17f(0x424)](){const _0x1b7a75=_0x46f17f;this[_0x1b7a75(0x4fe)][_0x1b7a75(0x32d)](this[_0x1b7a75(0x498)],this[_0x1b7a75(0x2a2)],null,[]);}['_showConflictNotification'](){const _0x4ab169=_0x46f17f;this[_0x4ab169(0x3fd)]?this[_0x4ab169(0x4a6)]['show']({'title':this[_0x4ab169(0x469)]['t'](_0x4ab169(0x32b)),'content':this[_0x4ab169(0x469)]['t'](_0x4ab169(0x352)),'type':'error','duration':0x0}):this[_0x4ab169(0x4a6)][_0x4ab169(0x17e)]({'title':this[_0x4ab169(0x469)]['t'](_0x4ab169(0x481)),'content':this[_0x4ab169(0x469)]['t'](_0x4ab169(0x3bc)),'type':_0x4ab169(0x27d),'duration':0x0});}[_0x46f17f(0x2b6)](){const _0x36b90b=_0x46f17f;this[_0x36b90b(0x2a3)]['updatePermissionPoint'](new _0x43ee6b(this[_0x36b90b(0x498)])['id'],!0x1);}};Oe=$e([A(0x6,_0x4e871f(_0x26d1fe)),A(0x7,_0x15e74e),A(0x8,_0x166e89),A(0x9,_0x4e871f(q)),A(0xa,_0x4e871f(_0x55fa5b)),A(0xb,_0x4e871f(_0x19d230)),A(0xc,_0x4be5c5)],Oe);let ye=class extends He{constructor(_0x825b50,_0x35ec7a,_0x152b12,_0x4be1e7,_0x3ec1ca,_0x131e2a,_0x50610b,_0x1e61f2,_0x47b345,_0x2bef4c){const _0x249416=_0x46f17f;super(_0x825b50,_0x35ec7a,_0x152b12,_0x4be1e7,_0x3ec1ca,_0x47b345,_0x2bef4c,_0x50610b,_0x1e61f2),g(this,_0x249416(0x54c),_0x249416(0x20a)),this[_0x249416(0x176)]=_0x131e2a;}[_0x46f17f(0x307)](_0x332207){const _0x5bfd02=_0x46f17f;return this[_0x5bfd02(0x198)][_0x5bfd02(0x23d)](_0x332207),this[_0x5bfd02(0x340)](),this;}['onRemoteChangeset'](_0x52ed58){const _0x4b182c=_0x46f17f;throw new Error(_0x4b182c(0x276));}[_0x46f17f(0x55c)](){const _0x88c9bd=_0x46f17f;throw new Error(_0x88c9bd(0x387));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x46f17f(0x2f5)](){return this;}[_0x46f17f(0x2dc)](){const _0xfa65ad=_0x46f17f,{_injector:_0x502e76,_pendingMutations:_0x3310ae,_awaitingChangeset:_0x2bafa4,unitID:_0xb6f05e,_handler:_0x236064,type:_0x35aa74}=this,_0x26046f=ji(_0x502e76,_0xb6f05e,_0x35aa74,_0x2bafa4,_0x3310ae,_0x236064);return _0x26046f instanceof pe?_0x26046f[_0xfa65ad(0x2ca)]():(_0x26046f instanceof ge||_0x26046f instanceof Re)&&_0x26046f[_0xfa65ad(0x3e6)](),_0x26046f;}[_0x46f17f(0x3e6)](){const _0x313595=_0x46f17f;throw new Error(_0x313595(0x229));}};ye=$e([A(0x5,_0x4e871f(_0x24063a)),A(0x6,_0x4e871f(_0x55fa5b)),A(0x7,_0x4e871f(q)),A(0x8,_0x15e74e),A(0x9,_0x166e89)],ye);let he=class extends He{constructor(_0x29dcf2,_0x3ddcc4,_0x21c4d5,_0x2a0144,_0x23e6a7,_0x1f98eb,_0x202d3e,_0x213995,_0x1822bf,_0x1b80ad,_0x5e3c7c,_0xc9128b,_0x238adf,_0x251ac4){const _0x52baec=_0x46f17f;super(_0x29dcf2,_0x3ddcc4,_0x21c4d5,_0x2a0144,_0x202d3e,_0xc9128b,_0x238adf,_0x1822bf,_0x1b80ad),g(this,_0x52baec(0x54c),_0x52baec(0x58c)),(this[_0x52baec(0x270)]=_0x23e6a7,this[_0x52baec(0x1f2)]=_0x1f98eb,this[_0x52baec(0x176)]=_0x213995,this[_0x52baec(0x1a7)]=_0x5e3c7c,this[_0x52baec(0x53b)]=_0x251ac4);}[_0x46f17f(0x212)](_0xd70751){const _0x315b3d=_0x46f17f;try{const _0x50125d=[..._0xd70751,...this['_queuedRemoteChangesets']],_0x5f325f=[this[_0x315b3d(0x40d)]||this['_acknowledgedAwaitingChangeset']][_0x315b3d(0x236)](_0xd77a86=>!!_0xd77a86);let _0x1772d1,_0x4b19b8;if(_0x5f325f['length']){const _0xe3d4e0=this[_0x315b3d(0x53b)][_0x315b3d(0x314)](_0x50125d,_0x5f325f,!0x1);if(!_0x9dfff7(_0xe3d4e0))throw _0xe3d4e0[_0x315b3d(0x27d)];_0x1772d1=_0xe3d4e0[_0x315b3d(0x3c6)],_0x4b19b8=_0xe3d4e0[_0x315b3d(0x3f5)];}else _0x1772d1=_0x50125d,_0x4b19b8=[];let _0x8c6fb7=this['_pendingMutations'];_0x1772d1[_0x315b3d(0x519)](_0x152c06=>{const _0x3167a0=_0x315b3d;let _0xd51201;if(_0x8c6fb7[_0x3167a0(0x407)]){const _0x2f189f=this[_0x3167a0(0x53b)][_0x3167a0(0x46f)](_0x152c06,_0x8c6fb7);if(!_0x12fb0f(_0x2f189f))throw _0x2f189f['error'];_0xd51201=_0x2f189f[_0x3167a0(0x3c6)],_0x8c6fb7=_0x2f189f['m2Prime'];}else _0xd51201=_0x152c06;this[_0x3167a0(0x535)](_0xd51201);}),this[_0x315b3d(0x270)]&&this[_0x315b3d(0x1a0)](),this[_0x315b3d(0x40d)]&&_0x4b19b8['length']&&(_0x4b19b8[0x0][_0x315b3d(0x3fa)]=this[_0x315b3d(0x2ac)]());let _0x19bc3e;if(this[_0x315b3d(0x40d)]&&_0x8c6fb7[_0x315b3d(0x407)]!==0x0)_0x19bc3e=this[_0x315b3d(0x176)][_0x315b3d(0x2a8)](ge,this[_0x315b3d(0x498)],this[_0x315b3d(0x2a2)],_0x4b19b8[0x0],_0x8c6fb7,this[_0x315b3d(0x429)],void 0x0);else{if(this['_awaitingChangeset']&&_0x8c6fb7[_0x315b3d(0x407)]===0x0)_0x4b19b8[0x0][_0x315b3d(0x3fa)]=this[_0x315b3d(0x2ac)](),_0x19bc3e=this[_0x315b3d(0x176)][_0x315b3d(0x2a8)](Re,this[_0x315b3d(0x498)],this['type'],_0x4b19b8[0x0],this[_0x315b3d(0x429)]);else{if(_0x8c6fb7[_0x315b3d(0x407)]!==0x0){const _0x18dc82=this[_0x315b3d(0x176)][_0x315b3d(0x2a8)](pe,this['unitID'],this[_0x315b3d(0x2a2)],_0x8c6fb7,this[_0x315b3d(0x429)]);_0x18dc82[_0x315b3d(0x2ca)](),_0x19bc3e=_0x18dc82;}else _0x19bc3e=this[_0x315b3d(0x176)][_0x315b3d(0x2a8)](Fe,this[_0x315b3d(0x498)],this[_0x315b3d(0x2a2)],this[_0x315b3d(0x429)]);}}return _0x19bc3e[_0x315b3d(0x340)](),_0x19bc3e;}catch(_0x5ca168){return this[_0x315b3d(0x1a7)]['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x5ca168),this[_0x315b3d(0x176)][_0x315b3d(0x2a8)](Oe,this['unitID'],this['type'],this[_0x315b3d(0x40d)],this[_0x315b3d(0x198)],this[_0x315b3d(0x429)],!0x1);}}[_0x46f17f(0x3e6)](){const _0x159dca=_0x46f17f;throw new Error(_0x159dca(0x1e9));}[_0x46f17f(0x307)](_0x1f644b){return this['_pendingMutations']['push'](_0x1f644b),this;}[_0x46f17f(0x491)](_0x57b6e5){const _0x1c63d8=_0x46f17f;return this[_0x1c63d8(0x1f2)][_0x1c63d8(0x23d)](_0x57b6e5),this;}['onRemoteAck'](_0x3f06a0){const _0x8da0fd=_0x46f17f;if(this[_0x8da0fd(0x40d)])return this['_acknowledgedAwaitingChangeset']=this[_0x8da0fd(0x40d)],this[_0x8da0fd(0x40d)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x46f17f(0x34c)](_0x251aed){const _0x26fb2d=_0x46f17f;return this[_0x26fb2d(0x186)](!!(_0x251aed!=null&&_0x251aed[_0x26fb2d(0x291)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x34a222=_0x46f17f;return this[_0x34a222(0x176)][_0x34a222(0x2a8)](ye,this[_0x34a222(0x498)],this['type'],this[_0x34a222(0x40d)],this['_pendingMutations'],this[_0x34a222(0x429)]);}[_0x46f17f(0x2dc)](){return this;}[_0x46f17f(0x186)](_0x41a41e){const _0x31e9d3=_0x46f17f;return this[_0x31e9d3(0x176)]['createInstance'](Oe,this[_0x31e9d3(0x498)],this[_0x31e9d3(0x2a2)],this['_awaitingChangeset'],this[_0x31e9d3(0x198)],this[_0x31e9d3(0x429)],_0x41a41e);}};he=$e([A(0x7,_0x4e871f(_0x24063a)),A(0x8,_0x4e871f(_0x55fa5b)),A(0x9,_0x4e871f(q)),A(0xa,_0x416cf3),A(0xb,_0x15e74e),A(0xc,_0x166e89),A(0xd,_0x1ea1f3)],he);function ji(_0xbfed82,_0x5da66e,_0x18bfcd,_0x51ea68,_0x31b0c4,_0x2aed23){const _0x55d7e7=_0x46f17f;return _0x51ea68&&_0x31b0c4[_0x55d7e7(0x407)]?_0xbfed82[_0x55d7e7(0x2a8)](ge,_0x5da66e,_0x18bfcd,_0x51ea68,_0x31b0c4,_0x2aed23,void 0x0):_0x51ea68?_0xbfed82['createInstance'](Re,_0x5da66e,_0x18bfcd,_0x51ea68,_0x2aed23):_0x31b0c4[_0x55d7e7(0x407)]?_0xbfed82['createInstance'](pe,_0x5da66e,_0x18bfcd,_0x31b0c4,_0x2aed23):_0xbfed82['createInstance'](Fe,_0x5da66e,_0x18bfcd,_0x2aed23);}var wo=Object['defineProperty'],Do=Object[_0x46f17f(0x17b)],Rs=(_0x310834,_0x195444,_0x13225b,_0x518707)=>{const _0x5c83ec=_0x46f17f;for(var _0x1f096e=_0x518707>0x1?void 0x0:_0x518707?Do(_0x195444,_0x13225b):_0x195444,_0x50d217=_0x310834[_0x5c83ec(0x407)]-0x1,_0x98c3a2;_0x50d217>=0x0;_0x50d217--)(_0x98c3a2=_0x310834[_0x50d217])&&(_0x1f096e=(_0x518707?_0x98c3a2(_0x195444,_0x13225b,_0x1f096e):_0x98c3a2(_0x1f096e))||_0x1f096e);return _0x518707&&_0x1f096e&&wo(_0x195444,_0x13225b,_0x1f096e),_0x1f096e;},H=(_0x264381,_0x42719e)=>(_0x154b2d,_0x17269f)=>_0x42719e(_0x154b2d,_0x17269f,_0x264381);let St=class extends _0x2ddc3d{constructor(_0x415ebf,_0x4a01e9,_0x276107,_0x1c2ba0,_0x40d10e,_0x40d55c,_0xf4839a,_0x1db992,_0x10fd25,_0x205463,_0x34d7e8,_0x3022b9,_0x238be1){const _0x23869e=_0x46f17f;super(),g(this,_0x23869e(0x1b3),new _0x4581fa(null)),g(this,_0x23869e(0x302),this[_0x23869e(0x1b3)][_0x23869e(0x1fb)]()),g(this,_0x23869e(0x274)),g(this,_0x23869e(0x369),!0x1),g(this,_0x23869e(0x47d),''),g(this,_0x23869e(0x57a),0x0),g(this,_0x23869e(0x571),this[_0x23869e(0x302)][_0x23869e(0x4e3)](_0x19435b(_0x1b7982=>_0x1b7982?_0x1b7982[_0x23869e(0x54c)]:J[_0x23869e(0x1d3)]),_0xbfa8cd(0x1))),g(this,_0x23869e(0x1a3),!0x1),g(this,_0x23869e(0x25e),[]),(this[_0x23869e(0x498)]=_0x415ebf,this[_0x23869e(0x21c)]=_0x4a01e9,this[_0x23869e(0x241)]=_0x276107,this['_injector']=_0x1c2ba0,this[_0x23869e(0x4fe)]=_0x40d10e,this[_0x23869e(0x2c7)]=_0x40d55c,this['_localeService']=_0xf4839a,this[_0x23869e(0x33e)]=_0x1db992,this[_0x23869e(0x1a7)]=_0x10fd25,this[_0x23869e(0x558)]=_0x205463,this['_messageService']=_0x34d7e8,this['_permissionService']=_0x3022b9,this['_singleActiveUnitService']=_0x238be1);}get['state'](){const _0x2a122d=_0x46f17f;return this[_0x2a122d(0x274)];}async[_0x46f17f(0x426)](){const _0x58c561=_0x46f17f;if(this['state'])throw new Error(_0x58c561(0x27b));await this['_init']();}[_0x46f17f(0x510)](){const _0xcec47a=_0x46f17f;return this[_0xcec47a(0x369)]=!0x0,_0x105bf3(()=>{const _0x3e26ec=_0xcec47a;this[_0x3e26ec(0x369)]=!0x1,this[_0x3e26ec(0x3f9)]();});}[_0x46f17f(0x193)](_0x4fdbc0){const _0x39d5f9=_0x46f17f;this[_0x39d5f9(0x274)]=_0x4fdbc0,this[_0x39d5f9(0x1b3)][_0x39d5f9(0x4e6)](_0x4fdbc0);}async['_init'](){const _0x3f0a37=_0x46f17f;var _0x573e55;this[_0x3f0a37(0x193)](await this[_0x3f0a37(0x2b0)]()),this[_0x3f0a37(0x3d5)]&&((_0x573e55=this[_0x3f0a37(0x3d5)])==null||_0x573e55[_0x3f0a37(0x45f)](this['unitID']),this[_0x3f0a37(0x45a)](this[_0x3f0a37(0x3d5)]['getUnitStatus$'](this[_0x3f0a37(0x498)])[_0x3f0a37(0x346)](_0x3ea1d0=>{const _0x1624ef=_0x3f0a37;this[_0x1624ef(0x1a7)]['debug'](_0x1624ef(0x477),_0x1624ef(0x522),_0x3ea1d0),_0x3ea1d0===xi[_0x1624ef(0x4cd)]?(this[_0x1624ef(0x19d)]['show']({'content':this['_localeService']['t'](_0x1624ef(0x410)),'type':_0x4ed4eb[_0x1624ef(0x475)]}),this[_0x1624ef(0x2a3)][_0x1624ef(0x396)](new _0x43ee6b(this[_0x1624ef(0x498)])['id'],!0x1),this[_0x1624ef(0x2a3)][_0x1624ef(0x224)](!0x1)):(this[_0x1624ef(0x2a3)][_0x1624ef(0x396)](new _0x43ee6b(this['unitID'])['id'],!0x0),this[_0x1624ef(0x2a3)][_0x1624ef(0x224)](!0x0));})));let _0xc9aea7=!0x1;return this[_0x3f0a37(0x45a)](this[_0x3f0a37(0x21c)]['sessionStatus$'][_0x3f0a37(0x346)](_0x4c76e3=>{const _0x4e5a9f=_0x3f0a37;_0x4c76e3===ve[_0x4e5a9f(0x22b)]?this[_0x4e5a9f(0x435)](_0xc9aea7):_0x4c76e3===ve[_0x4e5a9f(0x1d3)]&&(_0xc9aea7=!0x0,this[_0x4e5a9f(0x29e)]());})),this[_0x3f0a37(0x45a)](this[_0x3f0a37(0x21c)][_0x3f0a37(0x4f2)]['subscribe'](_0x9db96f=>{const _0x42c009=_0x3f0a37;try{switch(_0x9db96f[_0x42c009(0x242)]){case _0x40bfa0[_0x42c009(0x29a)]:{this['_onRemoteChangeset'](_0x2a8841(_0x9db96f[_0x42c009(0x1bf)]));break;}case _0x40bfa0[_0x42c009(0x584)]:{this[_0x42c009(0x56b)](_0x9db96f['data']);break;}case _0x40bfa0[_0x42c009(0x525)]:{this[_0x42c009(0x1d4)]();break;}case _0x40bfa0[_0x42c009(0x319)]:{this['_onRemoteRetry'](_0x9db96f['data']);break;}case _0x40bfa0['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x42c009(0x175)](_0x9db96f['data'][_0x42c009(0x3d3)][_0x42c009(0x265)](_0x2a19b0=>_0x2a8841(_0x2a19b0)));break;}case _0x40bfa0[_0x42c009(0x162)]:this[_0x42c009(0x1d4)]({'isPermissionRej':!0x0});}}catch(_0x9eac71){throw console[_0x42c009(0x27d)](_0x42c009(0x52c),_0x9eac71),_0x9eac71;}})),this['_state'];}[_0x46f17f(0x1db)](){const _0x44a8e9=_0x46f17f;this[_0x44a8e9(0x1a3)]=!0x1;}['_lockTransition'](){const _0x45c173=_0x46f17f;if(this['_transitionLocked'])throw new Error(_0x45c173(0x35f));this[_0x45c173(0x1a3)]=!0x0;}[_0x46f17f(0x4de)](_0x537194){const _0x2112af=_0x46f17f;this['_lockTransition'](),this[_0x2112af(0x193)](this[_0x2112af(0x274)]['appendMutation'](_0x537194)),this['_unlockTransition']();}[_0x46f17f(0x3eb)](_0x2140d5){const _0x2592ca=_0x46f17f;if(!(_0x2140d5[_0x2592ca(0x40c)]<=this[_0x2592ca(0x33e)][_0x2592ca(0x3c2)](this[_0x2592ca(0x498)]))){if(this[_0x2592ca(0x369)]){this[_0x2592ca(0x25e)][_0x2592ca(0x23d)](_0x2140d5);return;}this[_0x2592ca(0x259)](_0x2140d5);}}[_0x46f17f(0x3f9)](){const _0x14ba24=_0x46f17f;this[_0x14ba24(0x25e)][_0x14ba24(0x519)](_0x26a113=>this[_0x14ba24(0x259)](_0x26a113)),this['_remoteChangesetQueue']=[];}[_0x46f17f(0x259)](_0x2d621b){const _0x43362d=_0x46f17f,_0x52b838=this[_0x43362d(0x2c7)]['interceptor'][_0x43362d(0x359)](this[_0x43362d(0x2c7)][_0x43362d(0x392)][_0x43362d(0x2c2)]()[_0x43362d(0x46c)])(_0x2d621b[_0x43362d(0x49d)],null)||_0x2d621b['mutations'],_0x1228db={..._0x2d621b,'mutations':_0x52b838};this[_0x43362d(0x285)](),this[_0x43362d(0x193)](this[_0x43362d(0x274)][_0x43362d(0x491)](_0x1228db)),this['_unlockTransition']();}[_0x46f17f(0x56b)](_0xea8b24){const _0x3aacdb=_0x46f17f;this[_0x3aacdb(0x285)](),this[_0x3aacdb(0x193)](this[_0x3aacdb(0x274)][_0x3aacdb(0x55c)](_0xea8b24)),this[_0x3aacdb(0x1db)]();}[_0x46f17f(0x1d4)](_0x5bb675){const _0x3eb609=_0x46f17f;this[_0x3eb609(0x285)](),this[_0x3eb609(0x193)](this[_0x3eb609(0x274)][_0x3eb609(0x34c)](_0x5bb675)),this[_0x3eb609(0x1db)]();}[_0x46f17f(0x2f6)](_0x1054e6){const _0x46d943=_0x46f17f;this[_0x46d943(0x285)](),this[_0x46d943(0x193)](this[_0x46d943(0x274)][_0x46d943(0x3d6)](_0x1054e6)),this[_0x46d943(0x1db)]();}[_0x46f17f(0x175)](_0x480fd7){const _0x218271=_0x46f17f;if(!(this[_0x218271(0x274)]instanceof he))throw new TypeError(_0x218271(0x54a));const _0x2d9237=_0x480fd7[_0x218271(0x265)](_0x54a66b=>{const _0xaaafda=_0x218271,_0x42f284=this[_0xaaafda(0x2c7)]['interceptor'][_0xaaafda(0x359)](this['_compressMutationService'][_0xaaafda(0x392)][_0xaaafda(0x2c2)]()[_0xaaafda(0x46c)])(_0x54a66b[_0xaaafda(0x49d)],null)||_0x54a66b[_0xaaafda(0x49d)];return{..._0x54a66b,'mutations':_0x42f284};});this[_0x218271(0x285)](),this['_updateState'](this['_state'][_0x218271(0x212)](_0x2d9237)),this[_0x218271(0x1db)]();}['_toggleOffline'](){const _0x217b64=_0x46f17f;this[_0x217b64(0x285)](),this['_updateState'](this[_0x217b64(0x274)][_0x217b64(0x2f5)]()),this[_0x217b64(0x1db)]();}[_0x46f17f(0x435)](_0x373066=!0x1){const _0x5894af=_0x46f17f;this[_0x5894af(0x285)](),this[_0x5894af(0x193)](this[_0x5894af(0x274)][_0x5894af(0x2dc)]()),this['_unlockTransition']();const _0x3b09b5=this[_0x5894af(0x274)];_0x373066&&_0x3b09b5 instanceof Fe&&(this[_0x5894af(0x285)](),this[_0x5894af(0x193)](_0x3b09b5[_0x5894af(0x4c0)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x422ca4=>{const _0x4959a1=_0x1425;this[_0x4959a1(0x21c)][_0x4959a1(0x52e)][_0x4959a1(0x4e3)](_0x522325(0x1))['subscribe'](async _0x4896c9=>{const _0x25f1e9=_0x4959a1;_0x422ca4(await this[_0x25f1e9(0x49c)](_0x4896c9===ve[_0x25f1e9(0x22b)]));});});}[_0x46f17f(0x2d0)](){const _0x19f936=_0x46f17f,_0x1c2045=this[_0x19f936(0x498)];return{'onStateChange':(_0x2fc576,_0x267273)=>{const _0x144292=_0x19f936;if(_0x2fc576!==this['_state'])throw new Error(_0x144292(0x3f2)+_0x2fc576['status']+_0x144292(0x345)+_0x267273[_0x144292(0x54c)]+_0x144292(0x20b)+this[_0x144292(0x274)][_0x144292(0x54c)]);this[_0x144292(0x193)](_0x267273);},'onSendChangeset':_0x342bdb=>{const _0x31222c=_0x19f936;_0x342bdb[_0x31222c(0x1e7)]||(_0x342bdb['sid']=this[_0x31222c(0x47d)],_0x342bdb[_0x31222c(0x418)]=++this[_0x31222c(0x57a)]);const _0x320748={'eventID':_0x40bfa0[_0x31222c(0x2de)],'data':{'unitID':_0x342bdb[_0x31222c(0x498)],'unitType':this[_0x31222c(0x241)],'changeset':_0x342bdb,'memberID':this[_0x31222c(0x21c)][_0x31222c(0x28f)]()}};this[_0x31222c(0x21c)][_0x31222c(0x31a)](_0x320748,this[_0x31222c(0x498)]);},'onMissingChangesets':({from:_0x2c2d17,to:_0x13bc77})=>{const _0x34883d=_0x19f936;this[_0x34883d(0x1a7)][_0x34883d(0x589)]('[CollaborationEntity]',_0x34883d(0x3a7)+_0x2c2d17+'\x20to\x20'+_0x13bc77);const _0x54879e={'eventID':_0x40bfa0[_0x34883d(0x26f)],'data':{'unitID':_0x1c2045,'unitType':this[_0x34883d(0x241)],'from':_0x2c2d17,'to':_0x13bc77}};this['session']['send'](_0x54879e,this[_0x34883d(0x498)]);}};}async[_0x46f17f(0x49c)](_0xb4b930){const _0x4137ff=_0x46f17f;var _0x54f1bc,_0x680b4a;const _0x12e0c5=await this[_0x4137ff(0x4fe)]['loadOfflineData'](this[_0x4137ff(0x498)]),_0x59009d=(_0x54f1bc=_0x12e0c5==null?void 0x0:_0x12e0c5[_0x4137ff(0x49d)])!=null?_0x54f1bc:[],_0x257883=(_0x680b4a=_0x12e0c5==null?void 0x0:_0x12e0c5[_0x4137ff(0x566)])!=null?_0x680b4a:null,_0x5b7f9c=!!(_0x257883!=null&&_0x257883[_0x4137ff(0x1e7)])&&!!(_0x257883!=null&&_0x257883[_0x4137ff(0x418)]);this[_0x4137ff(0x47d)]=_0x5b7f9c?_0x257883[_0x4137ff(0x1e7)]:io(),this[_0x4137ff(0x57a)]=_0x5b7f9c?_0x257883[_0x4137ff(0x418)]:0x0;const _0x1291ad=this['unitID'];try{this[_0x4137ff(0x313)](_0x257883,_0x59009d);}catch(_0x2ae0e3){this[_0x4137ff(0x1a7)]['error'](_0x2ae0e3);}const _0x2bda88=this[_0x4137ff(0x2d0)]();if(_0xb4b930){const _0x3d266c=ji(this[_0x4137ff(0x176)],_0x1291ad,this[_0x4137ff(0x241)],_0x257883,_0x59009d,_0x2bda88);return _0x3d266c instanceof pe?_0x3d266c[_0x4137ff(0x2ca)]():(_0x3d266c instanceof ge||_0x3d266c instanceof Re)&&_0x3d266c[_0x4137ff(0x3e6)](),_0x3d266c;}return this['_injector']['createInstance'](ye,_0x1291ad,this[_0x4137ff(0x241)],_0x257883,_0x59009d,_0x2bda88);}[_0x46f17f(0x313)](_0x11796f,_0x307a54){const _0xf39a11=_0x46f17f;var _0x2258b0,_0x57663f;const _0x3276de=this[_0xf39a11(0x2c7)][_0xf39a11(0x392)][_0xf39a11(0x359)](this[_0xf39a11(0x2c7)][_0xf39a11(0x392)][_0xf39a11(0x2c2)]()[_0xf39a11(0x46c)]);(_0x2258b0=_0x3276de((_0x11796f==null?void 0x0:_0x11796f['mutations'])||[],null))==null||_0x2258b0[_0xf39a11(0x519)](_0x47f84a=>this[_0xf39a11(0x558)]['executeCommand'](_0x47f84a['id'],_0x47f84a[_0xf39a11(0x496)])),(_0x57663f=_0x3276de(_0x307a54||[],null))==null||_0x57663f[_0xf39a11(0x519)](_0x20b8ef=>this[_0xf39a11(0x558)]['executeCommand'](_0x20b8ef['id'],_0x20b8ef[_0xf39a11(0x496)]));}};St=Rs([H(0x3,_0x4e871f(_0x24063a)),H(0x4,_0x4e871f(q)),H(0x5,_0x4e871f(_0x1908d7)),H(0x6,_0x4e871f(_0x19d230)),H(0x7,_0x4e871f(_0x55fa5b)),H(0x8,_0x416cf3),H(0x9,_0x15e74e),H(0xa,_0x30cbad),H(0xb,_0x26d1fe),H(0xc,_0x1316cb(yt))],St);let rs=class extends St{constructor(_0x4be146,_0x36bdf1,_0x46a918,_0x4e8b09,_0x4a4d9,_0x471f8b,_0x57e42f,_0x36a278,_0x2e5d8c,_0x557837,_0x1b5ccc,_0x2284b6,_0x41b7b5,_0x380918,_0x242274,_0x1ecbd9,_0x14a3a1,_0x166add){const _0x513ea9=_0x46f17f;super(_0x4be146,_0x46a918,_0x36bdf1,_0x4e8b09,_0x4a4d9,_0x471f8b,_0x57e42f,_0x36a278,_0x380918,_0x242274,_0x1ecbd9,_0x14a3a1,_0x166add),this[_0x513ea9(0x498)]=_0x4be146,this[_0x513ea9(0x2a2)]=_0x36bdf1,this[_0x513ea9(0x532)]=_0x2e5d8c,this[_0x513ea9(0x3c7)]=_0x557837,this[_0x513ea9(0x3af)]=_0x1b5ccc,this[_0x513ea9(0x209)]=_0x2284b6,this[_0x513ea9(0x485)]=_0x41b7b5;}[_0x46f17f(0x2d0)](){const _0x5b27c7=_0x46f17f,_0x545f7c=super['_createHandler']();return _0x545f7c[_0x5b27c7(0x375)]=_0x2fb54c=>this[_0x5b27c7(0x3c7)][_0x5b27c7(0x3b3)](_0x2fb54c),_0x545f7c[_0x5b27c7(0x2f9)]=_0x3a783c=>this[_0x5b27c7(0x3af)][_0x5b27c7(0x408)](_0x3a783c),_0x545f7c[_0x5b27c7(0x363)]=_0x558f56=>this['_docTransformSelectionsService'][_0x5b27c7(0x1af)](_0x558f56),_0x545f7c['onSyncEditingCollabCursor']=_0x3f93a7=>this[_0x5b27c7(0x485)][_0x5b27c7(0x174)](_0x3f93a7),_0x545f7c[_0x5b27c7(0x283)]=_0x39e101=>this[_0x5b27c7(0x3c7)]['transformRemoteChangeset'](_0x39e101),_0x545f7c[_0x5b27c7(0x289)]=_0x12a72f=>this[_0x5b27c7(0x3af)][_0x5b27c7(0x4ea)](_0x12a72f),_0x545f7c;}async[_0x46f17f(0x3a9)](){const _0x27d552=_0x46f17f,_0x825759=await super[_0x27d552(0x3a9)]();return this[_0x27d552(0x45a)](this[_0x27d552(0x532)][_0x27d552(0x3b0)][_0x27d552(0x4e3)](_0x2b97ad(this['dispose$']))[_0x27d552(0x346)](_0x48aedf=>{const _0x260a2f=_0x27d552;if(_0x48aedf==null)return;const {unitId:_0x49019e,redoState:_0xdf70a1,commandId:_0x58678f}=_0x48aedf;if(_0x49019e!==this[_0x260a2f(0x498)])return;const _0x47658c={'id':_0x58678f,'type':_0x4b7f16[_0x260a2f(0x21d)],'params':{'unitId':_0x49019e,'actions':_0xdf70a1[_0x260a2f(0x52f)],'textRanges':null}};this[_0x260a2f(0x4de)](_0x47658c);})),this[_0x27d552(0x45a)](this['_commandService'][_0x27d552(0x30f)]((_0x31dcbd,_0x47ddd8)=>{const _0x5137d0=_0x27d552;if(_0x31dcbd[_0x5137d0(0x2a2)]!==_0x4b7f16[_0x5137d0(0x21d)]||_0x47ddd8!=null&&_0x47ddd8[_0x5137d0(0x2ec)]||_0x47ddd8!=null&&_0x47ddd8[_0x5137d0(0x2a5)]||_0x31dcbd['id']===_0x1ba87a['id'])return;const _0x551ca7=_0x31dcbd[_0x5137d0(0x496)];if((_0x551ca7==null?void 0x0:_0x551ca7[_0x5137d0(0x318)])!==this[_0x5137d0(0x498)])return;const _0x4a5031=_0x31dcbd,_0x57930e=this[_0x5137d0(0x2c7)][_0x5137d0(0x392)][_0x5137d0(0x359)](this['_compressMutationService'][_0x5137d0(0x392)][_0x5137d0(0x2c2)]()[_0x5137d0(0x3ba)])([_0x4a5031],null)||[_0x4a5031];this['_onLocalMutation'](_0x57930e[0x0]);})),_0x825759;}};rs=Rs([H(0x3,_0x4e871f(_0x24063a)),H(0x4,_0x4e871f(q)),H(0x5,_0x4e871f(_0x1908d7)),H(0x6,_0x4e871f(_0x19d230)),H(0x7,_0x4e871f(_0x55fa5b)),H(0x8,_0x4e871f(_0x280b41)),H(0x9,_0x4e871f(vt)),H(0xa,_0x4e871f(pt)),H(0xb,_0x4e871f(gt)),H(0xc,_0x4e871f(Ts)),H(0xd,_0x416cf3),H(0xe,_0x15e74e),H(0xf,_0x30cbad),H(0x10,_0x26d1fe),H(0x11,_0x1316cb(yt))],rs);let ns=class extends St{constructor(_0x56d763,_0x2de105,_0x5efe7b,_0x49acd5,_0x2271db,_0x193e7f,_0x8143a8,_0x2303da,_0x26bc91,_0xa02564,_0x44e9af,_0xc7d5aa,_0x15e688,_0x481988){const _0x59f214=_0x46f17f;super(_0x56d763,_0x5efe7b,_0x2de105,_0x49acd5,_0x2271db,_0x193e7f,_0x8143a8,_0x2303da,_0xa02564,_0x44e9af,_0xc7d5aa,_0x15e688,_0x481988),this[_0x59f214(0x498)]=_0x56d763,this[_0x59f214(0x2a2)]=_0x2de105,this['_sheetTransformSelectionsService']=_0x26bc91;}['_createHandler'](){const _0x63b344=_0x46f17f,_0x4c38f5=super['_createHandler']();return _0x4c38f5[_0x63b344(0x363)]=_0x1f5500=>this[_0x63b344(0x27e)]['transformSelections'](_0x1f5500),_0x4c38f5;}async[_0x46f17f(0x3a9)](){const _0x584ee5=_0x46f17f,_0x2766b4=await super[_0x584ee5(0x3a9)]();return this[_0x584ee5(0x45a)](this[_0x584ee5(0x558)][_0x584ee5(0x30f)]((_0x157535,_0x1a51f4)=>{const _0x33515f=_0x584ee5;if(_0x157535[_0x33515f(0x2a2)]!==_0x4b7f16['MUTATION']||_0x1a51f4!=null&&_0x1a51f4['fromCollab']||_0x1a51f4!=null&&_0x1a51f4[_0x33515f(0x2a5)])return;const _0x28d214=_0x157535[_0x33515f(0x496)];if((_0x28d214==null?void 0x0:_0x28d214[_0x33515f(0x318)])!==this[_0x33515f(0x498)])return;const _0x1c82c2=_0x157535,_0x10e594=this[_0x33515f(0x2c7)][_0x33515f(0x392)]['fetchThroughInterceptors'](this[_0x33515f(0x2c7)][_0x33515f(0x392)][_0x33515f(0x2c2)]()['COMPRESS_MUTATION_SEND'])([_0x1c82c2],null)||[_0x1c82c2];this[_0x33515f(0x4de)](_0x10e594[0x0]);})),_0x2766b4;}};ns=Rs([H(0x3,_0x4e871f(_0x24063a)),H(0x4,_0x4e871f(q)),H(0x5,_0x4e871f(_0x1908d7)),H(0x6,_0x4e871f(_0x19d230)),H(0x7,_0x4e871f(_0x55fa5b)),H(0x8,_0x4e871f(mt)),H(0x9,_0x416cf3),H(0xa,_0x15e74e),H(0xb,_0x30cbad),H(0xc,_0x26d1fe),H(0xd,_0x1316cb(yt))],ns);var Po=Object[_0x46f17f(0x3a4)],Uo=Object[_0x46f17f(0x17b)],No=(_0x476aef,_0xe91fb9,_0x1a384a,_0xee6157)=>{const _0x45ce19=_0x46f17f;for(var _0x2a23aa=_0xee6157>0x1?void 0x0:_0xee6157?Uo(_0xe91fb9,_0x1a384a):_0xe91fb9,_0x545dbd=_0x476aef[_0x45ce19(0x407)]-0x1,_0x504efa;_0x545dbd>=0x0;_0x545dbd--)(_0x504efa=_0x476aef[_0x545dbd])&&(_0x2a23aa=(_0xee6157?_0x504efa(_0xe91fb9,_0x1a384a,_0x2a23aa):_0x504efa(_0x2a23aa))||_0x2a23aa);return _0xee6157&&_0x2a23aa&&Po(_0xe91fb9,_0x1a384a,_0x2a23aa),_0x2a23aa;},Ht=(_0x26e6db,_0x59ca6c)=>(_0x15a89a,_0x29ecb1)=>_0x59ca6c(_0x15a89a,_0x29ecb1,_0x26e6db);let it=class extends _0x2ddc3d{constructor(_0x50fc52,_0x44fbfa,_0xff1a80){const _0x225aa5=_0x46f17f;super(),g(this,'_entities',new Map()),g(this,_0x225aa5(0x2b5),new _0x31ccd3()),(this[_0x225aa5(0x176)]=_0x50fc52,this['_collabSessionService']=_0x44fbfa,this['_univerInstanceService']=_0xff1a80,this[_0x225aa5(0x3a9)]());}['dispose'](){const _0x394509=_0x46f17f;super['dispose'](),this[_0x394509(0x443)][_0x394509(0x519)](_0x32e165=>_0x32e165[_0x394509(0x338)]()),this[_0x394509(0x443)]['clear']();}[_0x46f17f(0x3f8)](_0x28966c){const _0x4394eb=_0x46f17f;var _0x4bbc4e;return(_0x4bbc4e=this[_0x4394eb(0x443)][_0x4394eb(0x3e1)](_0x28966c))!=null?_0x4bbc4e:null;}[_0x46f17f(0x20c)](_0x5585e0){const _0x4cc47c=_0x46f17f,_0x45b053=this['getCollabEntity'](_0x5585e0);return _0x45b053?_0x1f0a04(_0x45b053):this[_0x4cc47c(0x2b5)][_0x4cc47c(0x4e3)](_0x191857(_0x2acf76=>_0x2acf76['unitID']===_0x5585e0));}[_0x46f17f(0x3a9)](){const _0x23aeb1=_0x46f17f;this[_0x23aeb1(0x53d)][_0x23aeb1(0x26b)](_0x571c15['UNIVER_SHEET'])[_0x23aeb1(0x4e3)](_0x2b97ad(this[_0x23aeb1(0x246)]),_0x1055a5(0x10))[_0x23aeb1(0x346)](async _0x4131a5=>{const _0x1ea182=_0x23aeb1,_0x1b7a18=_0x4131a5[_0x1ea182(0x565)](),_0x445a06=await this[_0x1ea182(0x400)](_0x1b7a18,ce['UNIVER_SHEET']);this['_entities'][_0x1ea182(0x25b)](_0x1b7a18,_0x445a06);}),this[_0x23aeb1(0x53d)][_0x23aeb1(0x26b)](_0x571c15[_0x23aeb1(0x15e)])[_0x23aeb1(0x4e3)](_0x2b97ad(this[_0x23aeb1(0x246)]),_0x1055a5(0x10))['pipe'](_0x191857(_0x38f62e=>!_0x38f62e[_0x23aeb1(0x565)]()[_0x23aeb1(0x2bb)]('__')))['subscribe'](async _0x3d9a44=>{const _0x4d9b8c=_0x23aeb1,_0x3abe38=_0x3d9a44[_0x4d9b8c(0x565)](),_0x252e90=await this[_0x4d9b8c(0x400)](_0x3abe38,ce['UNIVER_DOC']);this['_entities'][_0x4d9b8c(0x25b)](_0x3abe38,_0x252e90);}),_0x3c9b26(this[_0x23aeb1(0x53d)]['getTypeOfUnitDisposed$'](_0x571c15[_0x23aeb1(0x226)]),this[_0x23aeb1(0x53d)][_0x23aeb1(0x166)](_0x571c15[_0x23aeb1(0x15e)]))['pipe'](_0x2b97ad(this[_0x23aeb1(0x246)]))['subscribe'](_0x32f189=>{const _0x306b05=_0x23aeb1,_0x501f62=_0x32f189[_0x306b05(0x565)](),_0x1fde1f=this['_entities'][_0x306b05(0x3e1)](_0x501f62);_0x1fde1f&&(_0x1fde1f[_0x306b05(0x338)](),this[_0x306b05(0x443)][_0x306b05(0x2cd)](_0x501f62));});}async[_0x46f17f(0x400)](_0x145591,_0x4fe772){const _0x4c7445=_0x46f17f,_0x843f9c=await this['_collabSessionService'][_0x4c7445(0x294)](_0x145591),_0x1eb97b=this[_0x4c7445(0x176)]['createInstance'](this['_getCtorByUniverType'](_0x4fe772),_0x145591,_0x4fe772,_0x843f9c);return await _0x1eb97b[_0x4c7445(0x426)](),this['_entityInit$'][_0x4c7445(0x4e6)](_0x1eb97b),_0x1eb97b;}['_getCtorByUniverType'](_0x507f2d){const _0x50dde9=_0x46f17f;switch(_0x507f2d){case ce[_0x50dde9(0x15e)]:return rs;case ce[_0x50dde9(0x226)]:return ns;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x507f2d);}}};it=No([Ht(0x0,_0x4e871f(_0x24063a)),Ht(0x1,_0x4e871f(xe)),Ht(0x2,_0x2d6c6a)],it);var Ao=Object['defineProperty'],Mo=Object[_0x46f17f(0x17b)],xo=(_0x203bd8,_0xf25f72,_0x432fb0,_0xd166d2)=>{const _0x38ff27=_0x46f17f;for(var _0x3eae26=_0xd166d2>0x1?void 0x0:_0xd166d2?Mo(_0xf25f72,_0x432fb0):_0xf25f72,_0x31cb30=_0x203bd8[_0x38ff27(0x407)]-0x1,_0x396e3a;_0x31cb30>=0x0;_0x31cb30--)(_0x396e3a=_0x203bd8[_0x31cb30])&&(_0x3eae26=(_0xd166d2?_0x396e3a(_0xf25f72,_0x432fb0,_0x3eae26):_0x396e3a(_0x3eae26))||_0x3eae26);return _0xd166d2&&_0x3eae26&&Ao(_0xf25f72,_0x432fb0,_0x3eae26),_0x3eae26;},qs=(_0x2d5e50,_0x4ac3b2)=>(_0x34be5e,_0x2fb8cd)=>_0x4ac3b2(_0x34be5e,_0x2fb8cd,_0x2d5e50);let It=class extends _0x2ddc3d{constructor(_0xc3510a,_0x1322ff){const _0x2d49f5=_0x46f17f;super(),this[_0x2d49f5(0x273)]=_0xc3510a,this[_0x2d49f5(0x420)]=_0x1322ff,this[_0x2d49f5(0x3a9)]();}[_0x46f17f(0x3a9)](){const _0x105847=_0x46f17f,_0x11a728=this;this[_0x105847(0x45a)](this[_0x105847(0x273)]['addClipboardHook']({'onBeforePasteImage':async _0x56255e=>{const _0x5c0b37=_0x105847,_0x11bd03=await _0x11a728['_imageIoService'][_0x5c0b37(0x554)](_0x56255e);return _0x11bd03?{'source':_0x11bd03[_0x5c0b37(0x1cf)],'imageSourceType':_0x11bd03[_0x5c0b37(0x32a)]}:null;}}));}};It=xo([qs(0x0,_0x103fa2),qs(0x1,_0x30c4e5)],It);const Xs=[_0x46f17f(0x1fc),'jiqing500',_0x46f17f(0x2fa),_0x46f17f(0x48d),_0x46f17f(0x555),_0x46f17f(0x4cb)];class Os extends _0x156359{constructor(){const _0x125c31=_0x46f17f;super(...arguments),g(this,_0x125c31(0x441),new Map()),g(this,_0x125c31(0x1a9),0x0);}[_0x46f17f(0x478)](_0x4741bd){const _0x4f5812=_0x46f17f;if(this[_0x4f5812(0x441)]['has'](_0x4741bd))return this[_0x4f5812(0x441)][_0x4f5812(0x3e1)](_0x4741bd);const _0x5a44be=Xs[this[_0x4f5812(0x1a9)]];return this[_0x4f5812(0x1a9)]=(this[_0x4f5812(0x1a9)]+0x1)%Xs[_0x4f5812(0x407)],this[_0x4f5812(0x441)][_0x4f5812(0x25b)](_0x4741bd,_0x5a44be),_0x5a44be;}}var Lo=Object['defineProperty'],$o=Object[_0x46f17f(0x17b)],Ho=(_0x467b0,_0x3e8f7e,_0x53787f,_0x267b60)=>{const _0x3b80fc=_0x46f17f;for(var _0x45d7b0=_0x267b60>0x1?void 0x0:_0x267b60?$o(_0x3e8f7e,_0x53787f):_0x3e8f7e,_0x5916ce=_0x467b0[_0x3b80fc(0x407)]-0x1,_0x4ee482;_0x5916ce>=0x0;_0x5916ce--)(_0x4ee482=_0x467b0[_0x5916ce])&&(_0x45d7b0=(_0x267b60?_0x4ee482(_0x3e8f7e,_0x53787f,_0x45d7b0):_0x4ee482(_0x45d7b0))||_0x45d7b0);return _0x267b60&&_0x45d7b0&&Lo(_0x3e8f7e,_0x53787f,_0x45d7b0),_0x45d7b0;},De=(_0x7b5044,_0x49f7db)=>(_0x68e952,_0x53d19c)=>_0x49f7db(_0x68e952,_0x53d19c,_0x7b5044);const jo=0x12c,Bo=0x64;let os=class extends _0x2ddc3d{constructor(_0x1bad17,_0xc5f75d,_0x439731,_0x421b8b,_0x117d3e,_0x24b642,_0x220359,_0x967cff,_0x289803){const _0xf2110=_0x46f17f;super(),g(this,'_online',!0x1),g(this,_0xf2110(0x3a9),!0x1),g(this,_0xf2110(0x201),new _0x4581fa(new Map())),g(this,_0xf2110(0x3de),this['_cursorInfo$'][_0xf2110(0x1fb)]()),g(this,_0xf2110(0x561),new _0x4581fa([])),g(this,_0xf2110(0x185),this['_roomMembers$'][_0xf2110(0x4e3)](_0x3d77e4(jo))),g(this,_0xf2110(0x1d9),_0x2152b9(_0x35802a=>{const _0x1d6855=_0xf2110,_0x22c93e={'eventID':_0x40bfa0[_0x1d6855(0x204)],'data':{'unitID':this[_0x1d6855(0x498)],'memberID':this[_0x1d6855(0x3f3)][_0x1d6855(0x28f)](),'selection':Li(_0x35802a)}};this[_0x1d6855(0x3f3)][_0x1d6855(0x31a)](_0x22c93e,this[_0x1d6855(0x498)]);},Bo)),(this[_0xf2110(0x498)]=_0x1bad17,this['_session']=_0xc5f75d,this[_0xf2110(0x176)]=_0x439731,this['_colorAssignService']=_0x421b8b,this['_memberService']=_0x117d3e,this[_0xf2110(0x2e0)]=_0x24b642,this[_0xf2110(0x53b)]=_0x220359,this[_0xf2110(0x53d)]=_0x967cff,this[_0xf2110(0x558)]=_0x289803);}get[_0x46f17f(0x4ba)](){const _0x11cd45=_0x46f17f;return this[_0x11cd45(0x201)][_0x11cd45(0x290)]();}get[_0x46f17f(0x432)](){const _0x1bd615=_0x46f17f;return this[_0x1bd615(0x561)]['getValue']();}[_0x46f17f(0x338)](){const _0x17cc75=_0x46f17f;super[_0x17cc75(0x338)](),this[_0x17cc75(0x201)][_0x17cc75(0x4e6)](new Map()),this['_cursorInfo$'][_0x17cc75(0x282)](),this['_roomMembers$'][_0x17cc75(0x4e6)]([]),this['_roomMembers$'][_0x17cc75(0x282)]();}[_0x46f17f(0x426)](){const _0x44ca37=_0x46f17f;this[_0x44ca37(0x3a9)]||(this[_0x44ca37(0x3a9)]=!0x0,this['_session']['sessionStatus$'][_0x44ca37(0x4e3)](_0x2b97ad(this['dispose$']))['subscribe'](_0x2e738c=>{const _0xc5604b=_0x44ca37;_0x2e738c===ve[_0xc5604b(0x22b)]?this[_0xc5604b(0x435)]():this[_0xc5604b(0x29e)]();}),this[_0x44ca37(0x3f3)][_0x44ca37(0x4f2)][_0x44ca37(0x4e3)](_0x2b97ad(this['dispose$']))['subscribe'](_0x18e87=>{const _0x3cdb10=_0x44ca37,_0x5bd833=_0x18e87[_0x3cdb10(0x242)];_0x5bd833===_0x40bfa0[_0x3cdb10(0x204)]&&this[_0x3cdb10(0x2b9)](_0x18e87),_0x5bd833===_0x40bfa0['USERS_LEAVE']&&this['_onCursorDelete'](_0x18e87);}),this[_0x44ca37(0x45a)](this['_commandService']['onCommandExecuted'](_0x5564f1=>{const _0x43e58b=_0x44ca37,_0x42759e=_0x5564f1[_0x43e58b(0x496)];_0x42759e!=null&&this['_online']&&_0x5564f1['id']===_0x3c5819['id']&&_0x42759e[_0x43e58b(0x318)]===this[_0x43e58b(0x498)]&&_0x42759e[_0x43e58b(0x442)]===!0x1&&_0x42759e[_0x43e58b(0x370)][_0x43e58b(0x407)]>0x0&&this['_updateLocalCursor'](_0x42759e[_0x43e58b(0x370)]);})),this['_syncEditingCollabCursorService'][_0x44ca37(0x3d4)][_0x44ca37(0x4e3)](_0x2b97ad(this['dispose$']))['subscribe'](_0x5aac7e=>{const _0x5afa57=_0x44ca37;if((_0x5aac7e==null?void 0x0:_0x5aac7e[_0x5afa57(0x498)])!==this['unitID'])return;const _0x337239={'eventID':_0x40bfa0[_0x5afa57(0x204)],'data':_0x5aac7e};this['_onCursorUpdate'](_0x337239);}),this[_0x44ca37(0x45a)](this[_0x44ca37(0x558)]['onCommandExecuted'](_0xe5749e=>{const _0x467fd7=_0x44ca37;if(_0xe5749e['params']==null)return;const _0x4fc2ad=_0xe5749e['params'];if(_0xe5749e['id']!==_0x1ba87a['id']||_0x4fc2ad['unitId']!==this['unitID'])return;const _0x5d50f3={'id':_0x467fd7(0x1e4),'params':_0x4fc2ad},_0x5b83a6=this['cursorInfo'];for(const [_0x292169,_0x4b11ef]of _0x5b83a6){const _0x1aa499={'id':_0x467fd7(0x1e4),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x4b11ef['ranges']}},_0x5d1b8f=this[_0x467fd7(0x53b)][_0x467fd7(0x31d)](_0x5d50f3,_0x1aa499,!0x1);if(_0x391986(_0x5d1b8f))throw _0x5d1b8f[_0x467fd7(0x27d)];_0x5b83a6[_0x467fd7(0x25b)](_0x292169,{..._0x4b11ef,'ranges':_0x5d1b8f[_0x467fd7(0x178)][_0x467fd7(0x496)][_0x467fd7(0x167)]});}queueMicrotask(()=>{const _0x2805da=_0x467fd7;this[_0x2805da(0x201)][_0x2805da(0x4e6)](_0x5b83a6);});})));}['_onCursorUpdate'](_0x55e3d4){const _0x59018d=_0x46f17f;var _0xc7bfc2,_0x3ac5f7;const {memberID:_0xa27db5,selection:_0x3d7ccd}=_0x55e3d4[_0x59018d(0x1bf)],_0x386631=So(_0x3d7ccd),_0x29de0d=(_0x3ac5f7=(_0xc7bfc2=this[_0x59018d(0x57e)][_0x59018d(0x438)](this['unitID'],_0xa27db5))==null?void 0x0:_0xc7bfc2[_0x59018d(0x1c9)])!=null?_0x3ac5f7:'Unknown\x20user',_0x5e00e3={'color':this[_0x59018d(0x35c)]['assignAColorForMemberID'](_0xa27db5),'name':_0x29de0d,'ranges':_0x386631},_0xa13203=this['cursorInfo'];_0xa13203[_0x59018d(0x25b)](_0xa27db5,_0x5e00e3),this[_0x59018d(0x201)][_0x59018d(0x4e6)](_0xa13203);}[_0x46f17f(0x331)](_0x5294f1){const _0x2166ad=_0x46f17f,{memberID:_0x208ad1}=_0x5294f1[_0x2166ad(0x1bf)],_0x15a471=this[_0x2166ad(0x4ba)];_0x15a471[_0x2166ad(0x2cd)](_0x208ad1),this[_0x2166ad(0x201)][_0x2166ad(0x4e6)](_0x15a471);}[_0x46f17f(0x435)](){const _0x2ccac3=_0x46f17f;var _0x59d2cf;if(this[_0x2ccac3(0x1e8)]=!0x0,((_0x59d2cf=this[_0x2ccac3(0x53d)][_0x2ccac3(0x46b)]())==null?void 0x0:_0x59d2cf[_0x2ccac3(0x565)]())!==this[_0x2ccac3(0x498)])return;const _0x592ea7=this[_0x2ccac3(0x176)]['get'](_0x5ed2b2)[_0x2ccac3(0x240)]();Array['isArray'](_0x592ea7)&&_0x592ea7[_0x2ccac3(0x407)]>0x0&&this['_updateLocalCursor'](_0x592ea7);}['_toggleOffline'](){const _0x12fa3c=_0x46f17f;this[_0x12fa3c(0x1e8)]=!0x1;}};os=Ho([De(0x2,_0x4e871f(_0x24063a)),De(0x3,_0x4e871f(Os)),De(0x4,_0x4e871f(Me)),De(0x5,_0x4e871f(Ts)),De(0x6,_0x1ea1f3),De(0x7,_0x2d6c6a),De(0x8,_0x15e74e)],os);var ko=Object[_0x46f17f(0x3a4)],Wo=Object[_0x46f17f(0x17b)],Fo=(_0x5255ae,_0xdd7e18,_0x184f85,_0x39785c)=>{for(var _0x3c8f4e=_0x39785c>0x1?void 0x0:_0x39785c?Wo(_0xdd7e18,_0x184f85):_0xdd7e18,_0x59f3be=_0x5255ae['length']-0x1,_0x2909d9;_0x59f3be>=0x0;_0x59f3be--)(_0x2909d9=_0x5255ae[_0x59f3be])&&(_0x3c8f4e=(_0x39785c?_0x2909d9(_0xdd7e18,_0x184f85,_0x3c8f4e):_0x2909d9(_0x3c8f4e))||_0x3c8f4e);return _0x39785c&&_0x3c8f4e&&ko(_0xdd7e18,_0x184f85,_0x3c8f4e),_0x3c8f4e;},Be=(_0x5b0cc4,_0x15a30a)=>(_0x526079,_0x3723d9)=>_0x15a30a(_0x526079,_0x3723d9,_0x5b0cc4);const Vo=0x12c,Go=0x64,Yo=()=>{let _0x12df00=[],_0x1f3206=!0x1;return _0x457e9f=>{_0x12df00['push'](_0x457e9f),_0x1f3206||(_0x1f3206=!0x0,setTimeout(()=>{const _0x1070b6=_0x1425;_0x12df00[_0x1070b6(0x519)](_0x4eeee0=>_0x4eeee0()),_0x12df00=[],_0x1f3206=!0x1;}));};};let as=class extends _0x2ddc3d{constructor(_0x3256f1,_0xa33240,_0x38fbfc,_0x503e4e,_0x526bed,_0x2b3c73,_0x5a1d15,_0x2a7a4a){const _0x4ec56c=_0x46f17f;super(),g(this,_0x4ec56c(0x1e8),!0x1),g(this,_0x4ec56c(0x3a9),!0x1),g(this,_0x4ec56c(0x201),new _0x4581fa(new Map())),g(this,'cursorInfo$',this[_0x4ec56c(0x201)][_0x4ec56c(0x1fb)]()),g(this,_0x4ec56c(0x561),new _0x4581fa([])),g(this,_0x4ec56c(0x185),this['_roomMembers$'][_0x4ec56c(0x4e3)](_0x3d77e4(Vo))),g(this,'_updateLocalCursor',_0x2152b9((_0x276407,_0x558d97)=>{const _0xc6725c=_0x4ec56c,_0x339032={'eventID':_0x40bfa0[_0xc6725c(0x204)],'data':{'unitID':this['unitID'],'memberID':this[_0xc6725c(0x3f3)][_0xc6725c(0x28f)](),'selection':_0x4f8d59(_0x276407,_0x558d97[_0xc6725c(0x30c)])}};this['_session']['send'](_0x339032,this[_0xc6725c(0x498)]);},Go)),(this[_0x4ec56c(0x498)]=_0x3256f1,this[_0x4ec56c(0x3f3)]=_0xa33240,this['_injector']=_0x38fbfc,this[_0x4ec56c(0x35c)]=_0x503e4e,this[_0x4ec56c(0x57e)]=_0x526bed,this[_0x4ec56c(0x53d)]=_0x2b3c73,this['_commandService']=_0x5a1d15,this[_0x4ec56c(0x385)]=_0x2a7a4a);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x46f17f(0x432)](){const _0x2e3021=_0x46f17f;return this['_roomMembers$'][_0x2e3021(0x290)]();}[_0x46f17f(0x338)](){const _0x41ac46=_0x46f17f;super['dispose'](),this['_cursorInfo$'][_0x41ac46(0x4e6)](new Map()),this[_0x41ac46(0x201)][_0x41ac46(0x282)](),this[_0x41ac46(0x561)]['next']([]),this['_roomMembers$'][_0x41ac46(0x282)]();}[_0x46f17f(0x426)](){const _0x1582ad=_0x46f17f;this[_0x1582ad(0x3a9)]||(this[_0x1582ad(0x3a9)]=!0x0,this[_0x1582ad(0x3f3)]['sessionStatus$'][_0x1582ad(0x4e3)](_0x2b97ad(this[_0x1582ad(0x246)]))[_0x1582ad(0x346)](_0x322863=>{const _0x375655=_0x1582ad;_0x322863===ve[_0x375655(0x22b)]?this[_0x375655(0x435)]():this[_0x375655(0x29e)]();}),this[_0x1582ad(0x3f3)][_0x1582ad(0x4f2)][_0x1582ad(0x4e3)](_0x2b97ad(this[_0x1582ad(0x246)]))['subscribe'](_0x363794=>{const _0x465f68=_0x1582ad,_0x137f15=_0x363794[_0x465f68(0x242)];_0x137f15===_0x40bfa0[_0x465f68(0x204)]&&this[_0x465f68(0x2b9)](_0x363794),_0x137f15===_0x40bfa0[_0x465f68(0x2b4)]&&this[_0x465f68(0x331)](_0x363794);}),this[_0x1582ad(0x308)](),this[_0x1582ad(0x45a)](this[_0x1582ad(0x558)]['onCommandExecuted'](_0x32e45e=>{const _0x32853a=_0x1582ad;if(this[_0x32853a(0x1e8)]&&_0x32e45e['id']===_0x4feead['id']&&_0x32e45e[_0x32853a(0x496)][_0x32853a(0x318)]===this['unitID']){const _0x40b3cb=_0x32e45e[_0x32853a(0x496)];this[_0x32853a(0x1d9)](_0x40b3cb[_0x32853a(0x1f6)],_0x40b3cb[_0x32853a(0x51e)][0x0]);}})));}[_0x46f17f(0x2b9)](_0x17adab){const _0x5f49a2=_0x46f17f;var _0x3e8bc3,_0x58a097;const {memberID:_0x19b9ff,selection:_0x43c5cb}=_0x17adab[_0x5f49a2(0x1bf)],{sheetName:_0x265e3d,range:_0x32ac49}=_0x534b4a(_0x43c5cb),_0xf52092={'name':(_0x58a097=(_0x3e8bc3=this['_memberService'][_0x5f49a2(0x438)](this['unitID'],_0x19b9ff))==null?void 0x0:_0x3e8bc3['name'])!=null?_0x58a097:'Unknown\x20user','range':this['_getMergeRange'](_0x265e3d,_0x32ac49),'sheetID':_0x265e3d,'color':this[_0x5f49a2(0x35c)]['assignAColorForMemberID'](_0x19b9ff),'selection':_0x43c5cb},_0x4e7795=this[_0x5f49a2(0x4ba)];_0x4e7795['set'](_0x19b9ff,_0xf52092),this[_0x5f49a2(0x201)][_0x5f49a2(0x4e6)](_0x4e7795);}[_0x46f17f(0x331)](_0x443f30){const _0x5599de=_0x46f17f,{memberID:_0x20653b}=_0x443f30['data'],_0x1a3b41=this['cursorInfo'];_0x1a3b41[_0x5599de(0x2cd)](_0x20653b),this['_cursorInfo$'][_0x5599de(0x4e6)](_0x1a3b41);}['_getMergeRange'](_0x599b97,_0x1b9b74){const _0x12c33a=_0x46f17f;var _0x5735e9,_0x51a5a5;const _0x228e08=(_0x51a5a5=(_0x5735e9=this[_0x12c33a(0x53d)]['getUniverSheetInstance'](this[_0x12c33a(0x498)]))==null?void 0x0:_0x5735e9['getSheetBySheetId'](_0x599b97))==null?void 0x0:_0x51a5a5[_0x12c33a(0x2a1)]();return(_0x228e08==null?void 0x0:_0x228e08[_0x12c33a(0x378)](_0x5c4dd6=>_0x135866[_0x12c33a(0x3b6)](_0x5c4dd6,_0x1b9b74)))||_0x1b9b74;}['_onRefRangeChange'](){const _0x527808=_0x46f17f,_0x36ac4e=new _0x55ba00(),_0x34e7f3=Yo(),_0x384bc3=()=>{const _0x5c4a4d=_0x1425;_0x36ac4e[_0x5c4a4d(0x338)]();const _0x4b0596=(_0x33c6c1,_0x5edfa6,_0x539060,_0x4cdcda)=>{const _0x7681e3=_0x5c4a4d;let _0x2c6550=[];switch(_0x33c6c1['id']){case _0x314df9['DeleteRangeMoveLeftCommandId']:{_0x2c6550=_0x4be412(_0x33c6c1,_0x4cdcda);break;}case _0x314df9[_0x7681e3(0x574)]:{_0x2c6550=_0x5465a6(_0x33c6c1,_0x4cdcda);break;}case _0x314df9[_0x7681e3(0x51b)]:{_0x2c6550=_0x5ce0fd(_0x33c6c1,_0x4cdcda);break;}case _0x314df9[_0x7681e3(0x1f4)]:{_0x2c6550=_0x78040(_0x33c6c1,_0x4cdcda);break;}case _0x314df9[_0x7681e3(0x2e5)]:{_0x2c6550=_0x3ba33c(_0x33c6c1,_0x4cdcda);break;}case _0x314df9[_0x7681e3(0x19a)]:{_0x2c6550=_0x2d4f83(_0x33c6c1,_0x4cdcda);break;}case _0x314df9[_0x7681e3(0x1c7)]:{_0x2c6550=_0xecff8f(_0x33c6c1,_0x4cdcda);break;}case _0x314df9[_0x7681e3(0x533)]:{_0x2c6550=_0x1436b6(_0x33c6c1,_0x4cdcda);break;}case _0x314df9['RemoveRowCommandId']:{_0x2c6550=_0x325aae(_0x33c6c1,_0x4cdcda);break;}}const _0x3640e1=_0x3fa3f8(_0x2c6550,_0x4cdcda),_0x21df37=this[_0x7681e3(0x4ba)][_0x7681e3(0x3e1)](_0x5edfa6);if(_0x21df37&&_0x3640e1){const _0x2285c9={..._0x21df37,'range':_0x3640e1};this[_0x7681e3(0x4ba)][_0x7681e3(0x25b)](_0x5edfa6,_0x2285c9),_0x34e7f3(()=>{const _0x218eab=_0x7681e3,_0x17e40d=this[_0x218eab(0x385)]['registerRefRange'](_0x3640e1,_0x47bf58=>(_0x17e40d[_0x218eab(0x338)](),_0x4b0596(_0x47bf58,_0x5edfa6,_0x539060,_0x3640e1)));_0x36ac4e[_0x218eab(0x42c)](_0x17e40d);});}return{'redos':[],'undos':[]};};this[_0x5c4a4d(0x4ba)][_0x5c4a4d(0x519)]((_0x13d182,_0x16bd09)=>{const _0x14c3e3=_0x5c4a4d,{range:_0x4a39f3,sheetID:_0x465aaf}=_0x13d182,_0x5455ea=this['_refRangeService'][_0x14c3e3(0x53e)](_0x4a39f3,_0x237706=>(_0x5455ea[_0x14c3e3(0x338)](),_0x4b0596(_0x237706,_0x16bd09,_0x465aaf,_0x4a39f3)));_0x36ac4e[_0x14c3e3(0x42c)](_0x5455ea);});};this[_0x527808(0x45a)](_0x105bf3(this['_cursorInfo$'][_0x527808(0x346)](()=>{_0x384bc3();})));}[_0x46f17f(0x435)](){const _0x406967=_0x46f17f;var _0x1e8dea,_0x5ba309;if(this[_0x406967(0x1e8)]=!0x0,((_0x1e8dea=this[_0x406967(0x53d)][_0x406967(0x46b)]())==null?void 0x0:_0x1e8dea[_0x406967(0x565)]())!==this[_0x406967(0x498)])return;const _0x255a66=(_0x5ba309=this[_0x406967(0x176)]['get'](_0x57d5f4)[_0x406967(0x1f9)]())==null?void 0x0:_0x5ba309[0x0],_0x289f4d=this[_0x406967(0x53d)]['getCurrentUnitForType'](_0x571c15[_0x406967(0x226)])[_0x406967(0x4c5)]();_0x255a66&&_0x289f4d&&this[_0x406967(0x1d9)](_0x289f4d[_0x406967(0x316)](),_0x255a66);}[_0x46f17f(0x29e)](){this['_online']=!0x1;}};as=Fo([Be(0x2,_0x4e871f(_0x24063a)),Be(0x3,_0x4e871f(Os)),Be(0x4,_0x4e871f(Me)),Be(0x5,_0x2d6c6a),Be(0x6,_0x15e74e),Be(0x7,_0x4e871f(_0x101b82))],as);var Ko=Object[_0x46f17f(0x3a4)],zo=Object[_0x46f17f(0x17b)],qo=(_0x281406,_0x1de195,_0x482d79,_0x2ffdf7)=>{for(var _0x4192e9=_0x2ffdf7>0x1?void 0x0:_0x2ffdf7?zo(_0x1de195,_0x482d79):_0x1de195,_0x304e4d=_0x281406['length']-0x1,_0x1df415;_0x304e4d>=0x0;_0x304e4d--)(_0x1df415=_0x281406[_0x304e4d])&&(_0x4192e9=(_0x2ffdf7?_0x1df415(_0x1de195,_0x482d79,_0x4192e9):_0x1df415(_0x4192e9))||_0x4192e9);return _0x2ffdf7&&_0x4192e9&&Ko(_0x1de195,_0x482d79,_0x4192e9),_0x4192e9;},jt=(_0x5a6b05,_0x3adab1)=>(_0x5b4fa7,_0x181458)=>_0x3adab1(_0x5b4fa7,_0x181458,_0x5a6b05);let Ve=class extends _0x2ddc3d{constructor(_0x36964b,_0x4adca0,_0x30658d){const _0x3fdd5b=_0x46f17f;super(),g(this,_0x3fdd5b(0x443),new Map()),g(this,_0x3fdd5b(0x2b5),new _0x31ccd3()),(this[_0x3fdd5b(0x53d)]=_0x36964b,this[_0x3fdd5b(0x176)]=_0x4adca0,this[_0x3fdd5b(0x526)]=_0x30658d,this[_0x3fdd5b(0x3a9)]());}[_0x46f17f(0x338)](){const _0x1acfd1=_0x46f17f;super['dispose'](),this['_entityInit$']['complete'](),this[_0x1acfd1(0x443)][_0x1acfd1(0x519)](_0x2f68f5=>_0x2f68f5[_0x1acfd1(0x338)]());}[_0x46f17f(0x539)](_0x279171){const _0x323120=_0x46f17f;return this[_0x323120(0x443)][_0x323120(0x49a)](_0x279171)?this[_0x323120(0x443)]['get'](_0x279171)[_0x323120(0x3de)]:this[_0x323120(0x2b5)]['pipe'](_0x20495e(_0x557bdf=>_0x557bdf[_0x323120(0x498)]===_0x279171),_0x36f349(_0x4ad1d8=>_0x4ad1d8[_0x323120(0x3de)]));}[_0x46f17f(0x3a9)](){const _0x2dc892=_0x46f17f;this[_0x2dc892(0x53d)][_0x2dc892(0x26b)](_0x571c15[_0x2dc892(0x226)])['pipe'](_0x2b97ad(this['dispose$']))[_0x2dc892(0x346)](async _0xe5fafe=>{const _0x1c362e=_0x2dc892,_0x33cab9=_0xe5fafe[_0x1c362e(0x565)](),_0x19bfa6=await this[_0x1c362e(0x4a8)](_0x33cab9);this['_entityInit$'][_0x1c362e(0x4e6)](_0x19bfa6),this[_0x1c362e(0x443)][_0x1c362e(0x25b)](_0x33cab9,_0x19bfa6);}),this[_0x2dc892(0x53d)]['getTypeOfUnitAdded$'](_0x571c15['UNIVER_DOC'])[_0x2dc892(0x4e3)](_0x2b97ad(this['dispose$']))['pipe'](_0x20495e(_0x3e197e=>!_0x3e197e[_0x2dc892(0x565)]()[_0x2dc892(0x2bb)]('__')))[_0x2dc892(0x346)](async _0x596143=>{const _0x537e6e=_0x2dc892,_0x119593=_0x596143[_0x537e6e(0x565)](),_0x3780db=await this['_startDocCollabCursor'](_0x119593);this[_0x537e6e(0x2b5)][_0x537e6e(0x4e6)](_0x3780db),this[_0x537e6e(0x443)]['set'](_0x119593,_0x3780db);}),_0x3c9b26(this[_0x2dc892(0x53d)][_0x2dc892(0x166)](_0x571c15['UNIVER_DOC']),this[_0x2dc892(0x53d)]['getTypeOfUnitDisposed$'](_0x571c15['UNIVER_SHEET']))['pipe'](_0x2b97ad(this[_0x2dc892(0x246)]))['subscribe'](_0x2080cb=>{const _0x31e71c=_0x2dc892,_0x33cd1d=_0x2080cb[_0x31e71c(0x565)](),_0x552e1f=this[_0x31e71c(0x443)][_0x31e71c(0x3e1)](_0x33cd1d);_0x552e1f&&(_0x552e1f[_0x31e71c(0x338)](),this[_0x31e71c(0x443)]['delete'](_0x33cd1d));});}async[_0x46f17f(0x4a8)](_0x5f1117){const _0x28d5f0=_0x46f17f,_0x5223b9=await this[_0x28d5f0(0x526)][_0x28d5f0(0x294)](_0x5f1117),_0x29f4bf=this[_0x28d5f0(0x176)]['createInstance'](as,_0x5f1117,_0x5223b9);return _0x29f4bf[_0x28d5f0(0x426)](),_0x29f4bf;}async[_0x46f17f(0x30a)](_0x31eade){const _0x457a18=_0x46f17f,_0x51b595=await this[_0x457a18(0x526)][_0x457a18(0x294)](_0x31eade),_0xddb828=this[_0x457a18(0x176)][_0x457a18(0x2a8)](os,_0x31eade,_0x51b595);return _0xddb828[_0x457a18(0x426)](),_0xddb828;}};Ve=qo([jt(0x0,_0x2d6c6a),jt(0x1,_0x4e871f(_0x24063a)),jt(0x2,_0x4e871f(xe))],Ve);const rt=0x14,Js=0xc8,Bt=0x4,Xo=0x5;function Jo(_0x4108c4,_0xd68e){const _0x54cfdd=_0x46f17f;let {radius:_0x37a0b1,width:_0x41f37c,height:_0xd7958e}=_0xd68e;_0x37a0b1=_0x37a0b1!=null?_0x37a0b1:0x0,_0x41f37c=_0x41f37c!=null?_0x41f37c:0x1e,_0xd7958e=_0xd7958e!=null?_0xd7958e:0x1e;let _0x2fbcc6=0x0,_0xe62007=0x0,_0x4cd6b6=0x0;_0x2fbcc6=_0xe62007=_0x4cd6b6=Math[_0x54cfdd(0x1df)](_0x37a0b1,_0x41f37c/0x2,_0xd7958e/0x2),_0x4108c4[_0x54cfdd(0x4ad)](),_0x4108c4[_0x54cfdd(0x39e)](_0x2fbcc6,0x0),_0x4108c4[_0x54cfdd(0x4b2)](_0x41f37c-_0xe62007,0x0),_0x4108c4[_0x54cfdd(0x18d)](_0x41f37c-_0xe62007,_0xe62007,_0xe62007,Math['PI']*0x3/0x2,0x0,!0x1),_0x4108c4[_0x54cfdd(0x4b2)](_0x41f37c,_0xd7958e-_0x4cd6b6),_0x4108c4[_0x54cfdd(0x18d)](_0x41f37c-_0x4cd6b6,_0xd7958e-_0x4cd6b6,_0x4cd6b6,0x0,Math['PI']/0x2,!0x1),_0x4108c4['lineTo'](0x0,_0xd7958e),_0x4108c4[_0x54cfdd(0x4b2)](0x0,_0x2fbcc6),_0x4108c4[_0x54cfdd(0x18d)](_0x2fbcc6,_0x2fbcc6,_0x2fbcc6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4108c4['closePath'](),_0xd68e[_0x54cfdd(0x2bf)]&&(_0x4108c4['save'](),_0x4108c4[_0x54cfdd(0x1c8)]=_0xd68e[_0x54cfdd(0x2bf)],_0xd68e[_0x54cfdd(0x365)]===_0x54cfdd(0x183)?_0x4108c4[_0x54cfdd(0x2bf)](_0x54cfdd(0x183)):_0x4108c4[_0x54cfdd(0x2bf)](),_0x4108c4[_0x54cfdd(0x2ff)]());}class wt extends _0x3af5e6{constructor(_0x241d21,_0xd1fa48){const _0x2e932b=_0x46f17f;super(_0x241d21,_0xd1fa48),g(this,_0x2e932b(0x33c)),g(this,_0x2e932b(0x2e4)),(this[_0x2e932b(0x33c)]=_0xd1fa48==null?void 0x0:_0xd1fa48[_0x2e932b(0x33c)],this[_0x2e932b(0x2e4)]=_0xd1fa48==null?void 0x0:_0xd1fa48[_0x2e932b(0x2e4)]);}static['drawWith'](_0x3bf7e7,_0x5128e8){const _0x2294e5=_0x46f17f,{text:_0x59ab2c,color:_0x1dc9a}=_0x5128e8;_0x3bf7e7[_0x2294e5(0x40f)](),_0x3bf7e7['font']=_0x2294e5(0x1a1);const _0x51438f=_0x3bf7e7[_0x2294e5(0x295)](_0x59ab2c)[_0x2294e5(0x326)],_0x4edb44=Math['min'](_0x51438f+0x2*Bt,Js);Jo(_0x3bf7e7,{'height':rt,'radius':0x4,'width':_0x4edb44,'fill':_0x1dc9a,'evented':!0x1}),_0x3bf7e7[_0x2294e5(0x1c8)]=_0x2294e5(0x504);const _0x22071f=Bt,_0xea2ee=rt-Xo,_0x5a23d8=Js-0x2*Bt;if(_0x51438f>_0x5a23d8){let _0x224c35='',_0x263cb2=0x0;for(const _0x52962d of _0x59ab2c){const _0x7cddc=_0x3bf7e7[_0x2294e5(0x295)](_0x52962d)[_0x2294e5(0x326)];if(_0x263cb2+_0x7cddc<=_0x5a23d8-_0x3bf7e7[_0x2294e5(0x295)](_0x2294e5(0x3d0))[_0x2294e5(0x326)])_0x224c35+=_0x52962d,_0x263cb2+=_0x7cddc;else{_0x224c35+='...';break;}}_0x3bf7e7[_0x2294e5(0x1b9)](_0x224c35,_0x22071f,_0xea2ee);}else _0x3bf7e7['fillText'](_0x59ab2c,_0x22071f,_0xea2ee);_0x3bf7e7[_0x2294e5(0x2ff)]();}[_0x46f17f(0x320)](_0x1dff0a){wt['drawWith'](_0x1dff0a,this);}}const kt='collab-text-anchor-',Zo=_0x46f17f(0x3e8),Qo=_0x46f17f(0x3be),Je=0x6,ea=1.5,Wt=0x4,ta=1.5,sa='rgba(255,\x20255,\x20255,\x200.01)';class Zs{constructor(_0x126514,_0x420505,_0x44ee85,_0x744492){const _0x41d9d2=_0x46f17f;g(this,'_shapes',[]),g(this,_0x41d9d2(0x52b),null),g(this,_0x41d9d2(0x4ac),null),g(this,_0x41d9d2(0x384),null),g(this,'_hideTimer',null),g(this,_0x41d9d2(0x37a),null),(this[_0x41d9d2(0x3a5)]=_0x126514,this[_0x41d9d2(0x2e9)]=_0x420505,this[_0x41d9d2(0x4da)]=_0x44ee85,this[_0x41d9d2(0x16e)]=_0x744492,this[_0x41d9d2(0x542)]());}set['_hover'](_0x240752){const _0xd34844=_0x46f17f;_0x240752?(this[_0xd34844(0x384)]&&this[_0xd34844(0x384)][_0xd34844(0x218)](),this[_0xd34844(0x4ac)]&&this[_0xd34844(0x4ac)][_0xd34844(0x17e)]()):(this[_0xd34844(0x384)]&&this[_0xd34844(0x384)][_0xd34844(0x17e)](),this[_0xd34844(0x4ac)]&&this[_0xd34844(0x4ac)][_0xd34844(0x218)]());}[_0x46f17f(0x338)](){const _0x1ebde0=_0x46f17f;for(const _0x4b0828 of this[_0x1ebde0(0x2bc)])_0x4b0828[_0x1ebde0(0x338)]();this['_textBubble']&&this['_textBubble'][_0x1ebde0(0x338)](),this[_0x1ebde0(0x384)]&&this[_0x1ebde0(0x384)][_0x1ebde0(0x338)](),this[_0x1ebde0(0x52b)]&&this[_0x1ebde0(0x52b)][_0x1ebde0(0x338)](),this[_0x1ebde0(0x37a)]&&this['_eventUnsubscribe']();}['_render'](){const _0x469874=_0x46f17f;var _0x38b79c;const {_docSkeleton:_0x46cd68,_document:_0x1dbfac}=this,{color:_0x52cdda,name:_0x1e0689,ranges:_0x5bc826}=this[_0x469874(0x3a5)],_0x4d8fc9=_0x1dbfac['getOffsetConfig'](),{docsLeft:_0x397fe6,docsTop:_0x5cbb3f}=_0x4d8fc9,_0x170c70=new _0x116697(_0x4d8fc9,_0x46cd68);for(const {startOffset:_0x30a88e,endOffset:_0x4500ec,rangeType:_0x590b9a,segmentId:_0x5f246d,segmentPage:_0x17522d,collapsed:_0x264206,isActive:_0x15ede3}of _0x5bc826){const _0x51aceb=_0x46cd68[_0x469874(0x537)](_0x30a88e,!0x0,_0x5f246d,_0x17522d);let _0x5aa449=_0x46cd68[_0x469874(0x537)](_0x4500ec,!0x0,_0x5f246d,_0x17522d);if(_0x5aa449==null&&(_0x5aa449=_0x46cd68[_0x469874(0x537)](_0x4500ec-0x1,!0x1,_0x5f246d,_0x17522d)),_0x15ede3){const {contentBoxPointGroup:_0x281b41}=_0x170c70[_0x469874(0x465)](_0x5aa449,_0x5aa449);if(_0x281b41[_0x469874(0x407)]===0x0)continue;this[_0x469874(0x1c4)](_0x52cdda,_0x281b41,_0x397fe6,_0x5cbb3f,_0x1e0689),this['_eventUnsubscribe']=this[_0x469874(0x394)]();}if(_0x51aceb&&_0x5aa449){if(_0x590b9a===_0x32f3c1['RECT']){const _0x33ecdb=new _0xba79ba(_0x4d8fc9,_0x46cd68),{pointGroup:_0x530a7d}=(_0x38b79c=_0x33ecdb[_0x469874(0x465)](_0x51aceb,_0x5aa449))!=null?_0x38b79c:{};if(_0x530a7d==null||_0x530a7d[_0x469874(0x407)]===0x0)continue;this[_0x469874(0x415)](_0x52cdda,_0x530a7d,_0x397fe6,_0x5cbb3f);}else{if(!_0x264206){const {borderBoxPointGroup:_0x3b5f64}=_0x170c70[_0x469874(0x465)](_0x51aceb,_0x5aa449);if(_0x3b5f64[_0x469874(0x407)]===0x0)continue;this[_0x469874(0x4a2)](_0x52cdda,_0x3b5f64,_0x397fe6,_0x5cbb3f);}}}}}[_0x46f17f(0x1c4)](_0xd69cce,_0x3ab3f1,_0xa64085,_0x4fa93e,_0x6a8d32){const _0x5f430f=_0x46f17f,_0x18f1ea=this[_0x5f430f(0x225)](_0x3ab3f1),{left:_0x1ffb87,top:_0x5025dd,height:_0x63d161}=_0x18f1ea,_0x119f3f=this[_0x5f430f(0x4d4)](),_0x1406f7=ta/_0x119f3f,_0x1bd313=new _0x3422e5(kt+_0x389286[_0x5f430f(0x467)](Je),{'left':_0x1ffb87+_0xa64085-_0x1406f7,'top':_0x5025dd+_0x4fa93e,'height':_0x63d161,'width':ea,'fill':_0xd69cce||_0x1b9413(_0x2b7ec6[_0x5f430f(0x1cc)],0x0),'strokeWidth':_0x1406f7,'stroke':sa,'evented':!0x0});this[_0x5f430f(0x52b)]=_0x1bd313,this[_0x5f430f(0x2e9)][_0x5f430f(0x191)](_0x1bd313,_0x2bc01b);const _0x48d0d4=new _0x3422e5(kt+_0x389286['generateRandomId'](Je),{'left':_0x1ffb87+_0xa64085-_0x1406f7,'top':_0x5025dd+_0x4fa93e-Wt/0x2,'height':Wt,'width':Wt,'fill':_0xd69cce||_0x1b9413(_0x2b7ec6[_0x5f430f(0x1cc)],0x0),'strokeWidth':0x0,'stroke':_0xd69cce||_0x1b9413(_0x2b7ec6[_0x5f430f(0x1cc)],0x0),'evented':!0x1});this['_anchorDot']=_0x48d0d4,this[_0x5f430f(0x2e9)][_0x5f430f(0x191)](_0x48d0d4,_0x2bc01b);const _0x16f316=new wt(kt+_0x389286['generateRandomId'](Je),{'left':_0x1ffb87+_0xa64085-_0x1406f7,'top':_0x5025dd+_0x4fa93e-rt,'text':_0x6a8d32,'color':_0xd69cce});this[_0x5f430f(0x4ac)]=_0x16f316,this[_0x5f430f(0x2e9)][_0x5f430f(0x191)](_0x16f316,_0x2bc01b),this[_0x5f430f(0x3a2)]=!0x1;}[_0x46f17f(0x394)](){const _0x5363ed=_0x46f17f,_0x4f02f2=this['_anchor'][_0x5363ed(0x3cb)][_0x5363ed(0x473)](()=>{this['_hover']=!0x0;}),_0x25d0af=this['_anchor'][_0x5363ed(0x322)][_0x5363ed(0x473)](()=>{const _0x47329f=_0x5363ed;this['_hideTimer']&&clearTimeout(this[_0x47329f(0x389)]),this[_0x47329f(0x389)]=setTimeout(()=>{const _0x4d23df=_0x47329f;this[_0x4d23df(0x3a2)]=!0x1;},0x7d0);});return()=>{const _0x288b48=_0x5363ed;_0x4f02f2[_0x288b48(0x362)](),_0x25d0af[_0x288b48(0x362)]();};}[_0x46f17f(0x4a2)](_0x353b7a,_0x306d32,_0x8ea434,_0x15d8f4){const _0x7b517b=_0x46f17f,_0x177c6f=new _0xaff671(_0x353b7a)[_0x7b517b(0x1ea)](0.2)[_0x7b517b(0x278)](),_0x3f3b0e=new _0x5ac9ed(Zo+_0x389286['generateRandomId'](Je),{'pointsGroup':_0x306d32,'fill':_0x177c6f||_0x1b9413(_0x2b7ec6[_0x7b517b(0x1cc)],0.2),'left':_0x8ea434,'top':_0x15d8f4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x7b517b(0x2bc)][_0x7b517b(0x23d)](_0x3f3b0e),this['_scene'][_0x7b517b(0x191)](_0x3f3b0e,_0x2bc01b);}[_0x46f17f(0x415)](_0x200ba0,_0x40ee52,_0x2261ec,_0x3d5381){const _0x308a8f=_0x46f17f,_0x599d7d=new _0xaff671(_0x200ba0)[_0x308a8f(0x1ea)](0.2)[_0x308a8f(0x278)](),_0x112b1e=new _0x5ac9ed(Qo+_0x389286[_0x308a8f(0x467)](Je),{'pointsGroup':_0x40ee52,'fill':_0x599d7d||_0x1b9413(_0x2b7ec6[_0x308a8f(0x1cc)],0.2),'left':_0x2261ec,'top':_0x3d5381,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x308a8f(0x2bc)][_0x308a8f(0x23d)](_0x112b1e),this[_0x308a8f(0x2e9)][_0x308a8f(0x191)](_0x112b1e,_0x2bc01b);}[_0x46f17f(0x225)](_0x5f3a3e){const _0x5309b0=_0x5f3a3e[0x0],_0xfbb735=_0x5309b0[0x0],_0x271b9c=_0x5309b0[0x2],{x:_0x1e6089,y:_0x45775c}=_0xfbb735,{x:_0x355552,y:_0x201585}=_0x271b9c;return{'left':_0x1e6089,'top':_0x45775c,'width':_0x355552-_0x1e6089,'height':_0x201585-_0x45775c};}[_0x46f17f(0x4d4)](){const _0x474b45=_0x46f17f,{scaleX:_0x4a829e,scaleY:_0x5ee546}=this['_scene']['getAncestorScale']();return Math[_0x474b45(0x17d)](_0x4a829e,_0x5ee546);}}var ia=Object[_0x46f17f(0x3a4)],ra=Object[_0x46f17f(0x17b)],na=(_0x4835e7,_0x12d2cb,_0x144fed,_0xebde72)=>{const _0x2895c1=_0x46f17f;for(var _0x4434cb=_0xebde72>0x1?void 0x0:_0xebde72?ra(_0x12d2cb,_0x144fed):_0x12d2cb,_0x3aee9a=_0x4835e7[_0x2895c1(0x407)]-0x1,_0x3eaf30;_0x3aee9a>=0x0;_0x3aee9a--)(_0x3eaf30=_0x4835e7[_0x3aee9a])&&(_0x4434cb=(_0xebde72?_0x3eaf30(_0x12d2cb,_0x144fed,_0x4434cb):_0x3eaf30(_0x4434cb))||_0x4434cb);return _0xebde72&&_0x4434cb&&ia(_0x12d2cb,_0x144fed,_0x4434cb),_0x4434cb;},ct=(_0x239084,_0x2ba242)=>(_0x19e319,_0xff84cb)=>_0x2ba242(_0x19e319,_0xff84cb,_0x239084);let cs=class extends _0x2ddc3d{constructor(_0x2deb6b,_0x553f8f,_0x5ec543,_0x231648,_0x317b91){const _0x480606=_0x46f17f;super(),g(this,_0x480606(0x50b),[]),g(this,_0x480606(0x2cb),[]),(this[_0x480606(0x412)]=_0x2deb6b,this['_docSkeletonManagerService']=_0x553f8f,this[_0x480606(0x3d2)]=_0x5ec543,this[_0x480606(0x558)]=_0x231648,this[_0x480606(0x2db)]=_0x317b91,this[_0x480606(0x3a9)]());}[_0x46f17f(0x3a9)](){const _0x14a8cb=_0x46f17f,_0x14a36f=this[_0x14a8cb(0x412)][_0x14a8cb(0x318)],_0x48e651=this[_0x14a8cb(0x4b6)];this[_0x14a8cb(0x45a)](_0x4ad575([this[_0x14a8cb(0x3d2)][_0x14a8cb(0x539)](_0x14a36f),this[_0x14a8cb(0x2db)]['currentTheme$']])[_0x14a8cb(0x4e3)](_0x4f9d2a(([_0x4bc48e,_0x2cb482])=>({'skeleton':_0x48e651[_0x14a8cb(0x3c0)](),'cursors':[..._0x4bc48e[_0x14a8cb(0x564)]()][_0x14a8cb(0x2bd)](_0x494241=>({..._0x494241,'color':_0x2cb482[_0x494241[_0x14a8cb(0x33c)]]}))})))[_0x14a8cb(0x346)](_0x1ae3e5=>{const _0x4a82c4=_0x14a8cb;if(this[_0x4a82c4(0x255)](),_0x1ae3e5){const {skeleton:_0x60038a,cursors:_0x1c2921}=_0x1ae3e5;this[_0x4a82c4(0x34d)](_0x60038a,_0x1c2921);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x46f17f(0x34d)](_0x554c9b,_0x4489ba){const _0x1653d4=_0x46f17f,{scene:_0x35bd57,mainComponent:_0x449603}=this['_context'],_0x1fca6f=_0x4489ba[_0x1653d4(0x265)](_0x4f9be9=>new Zs(_0x4f9be9,_0x35bd57,_0x554c9b,_0x449603));this[_0x1653d4(0x50b)]=_0x1fca6f,this['_cursors']=_0x4489ba;}[_0x46f17f(0x28a)](){const _0x2acad4=_0x46f17f;this[_0x2acad4(0x255)]();const {scene:_0x42c8fd,mainComponent:_0x45bdad}=this[_0x2acad4(0x412)],_0x23ba3d=this[_0x2acad4(0x4b6)][_0x2acad4(0x3c0)](),_0x4c9c1b=this[_0x2acad4(0x2cb)][_0x2acad4(0x265)](_0x443e2d=>new Zs(_0x443e2d,_0x42c8fd,_0x23ba3d,_0x45bdad));this[_0x2acad4(0x50b)]=_0x4c9c1b;}['_removeCollabCursors'](){const _0x14bccb=_0x46f17f;this[_0x14bccb(0x50b)][_0x14bccb(0x519)](_0x883093=>_0x883093['dispose']()),this['_cursorShapes']=[];}[_0x46f17f(0x2e1)](){const _0x511138=_0x46f17f,_0x18fd2f=[_0x3d9e18['id']];this['disposeWithMe'](this[_0x511138(0x558)][_0x511138(0x30f)](_0x669bbc=>{const _0x1fe146=_0x511138;_0x18fd2f['includes'](_0x669bbc['id'])&&_0x669bbc['params'][_0x1fe146(0x318)]===this[_0x1fe146(0x412)][_0x1fe146(0x318)]&&this[_0x1fe146(0x28a)]();}));}[_0x46f17f(0x315)](){const _0x4b713e=_0x46f17f;this[_0x4b713e(0x45a)](_0x12ea27(this[_0x4b713e(0x412)][_0x4b713e(0x292)][_0x4b713e(0x3b4)])['pipe'](_0x191857(_0x1f3261=>_0x1f3261[_0x4b713e(0x2a2)]===_0x558250[_0x4b713e(0x4d0)]),_0x1c9b34(0x10))['subscribe'](()=>{const _0x540212=_0x4b713e;this[_0x540212(0x28a)]();}));}};cs=na([ct(0x1,_0x4e871f(_0x3969f2)),ct(0x2,_0x4e871f(Ve)),ct(0x3,_0x15e74e),ct(0x4,_0x4e871f(_0x4f10db))],cs);const oa=0x1,aa=1.5;class ca extends _0x3af5e6{constructor(_0x5ab775,_0x441d0b){const _0x46274f=_0x46f17f;super(_0x5ab775,_0x441d0b),g(this,_0x46274f(0x187)),g(this,_0x46274f(0x184),!0x1),g(this,_0x46274f(0x44b)),g(this,_0x46274f(0x528),''),g(this,'_labelPosition',_0x46274f(0x2ed)),g(this,_0x46274f(0x447)),(_0x441d0b&&this[_0x46274f(0x1a6)](_0x441d0b),this[_0x46274f(0x3cb)][_0x46274f(0x473)](()=>this[_0x46274f(0x1a6)]({'hovered':!0x0})),this['onPointerLeave$'][_0x46274f(0x473)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x46f17f(0x1a6)](_0x1b9d3e){const _0x1655a2=_0x46f17f;var _0x5f33d9,_0x587935,_0x527747,_0x4d139a,_0x2b21e0,_0x4108b8;this['_color']=(_0x5f33d9=_0x1b9d3e[_0x1655a2(0x33c)])!=null?_0x5f33d9:this[_0x1655a2(0x187)],this['_hovered']=(_0x587935=_0x1b9d3e[_0x1655a2(0x48f)])!=null?_0x587935:this[_0x1655a2(0x184)],this[_0x1655a2(0x44b)]=(_0x527747=_0x1b9d3e[_0x1655a2(0x30c)])!=null?_0x527747:this[_0x1655a2(0x44b)],this['_name']=(_0x4d139a=_0x1b9d3e[_0x1655a2(0x1c9)])!=null?_0x4d139a:this[_0x1655a2(0x528)],this[_0x1655a2(0x4f4)]=(_0x2b21e0=_0x1b9d3e['labelPosition'])!=null?_0x2b21e0:this[_0x1655a2(0x4f4)],this[_0x1655a2(0x447)]=(_0x4108b8=_0x1b9d3e['backgroundColor'])!=null?_0x4108b8:this[_0x1655a2(0x447)],this[_0x1655a2(0x49e)]({'width':_0x1b9d3e['width'],'height':_0x1b9d3e['height']});}[_0x46f17f(0x2c3)](_0x54c9af){const _0x4d51c6=_0x46f17f,{row:_0x5a90c5,column:_0xc81459}=_0x54c9af;if(_0x5a90c5>=this[_0x4d51c6(0x44b)]['startRow']&&_0x5a90c5<=this['_range'][_0x4d51c6(0x399)]&&_0xc81459>=this[_0x4d51c6(0x44b)][_0x4d51c6(0x391)]&&_0xc81459<=this[_0x4d51c6(0x44b)]['endColumn']){this[_0x4d51c6(0x1a6)]({'hovered':!0x0});return;}this[_0x4d51c6(0x1a6)]({'hovered':!0x1});}[_0x46f17f(0x205)](_0x41bc63){return!0x1;}[_0x46f17f(0x320)](_0x68714d){const _0x44b4fe=_0x46f17f;_0x3422e5[_0x44b4fe(0x173)](_0x68714d,{'width':this[_0x44b4fe(0x326)],'height':this[_0x44b4fe(0x30d)],'strokeWidth':aa,'stroke':this[_0x44b4fe(0x187)],'evented':!0x1,'fill':this[_0x44b4fe(0x447)]}),this[_0x44b4fe(0x184)]&&(_0x68714d[_0x44b4fe(0x40f)](),_0x68714d['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x44b4fe(0x4f4)]==='bottom'?0x0:-rt),wt[_0x44b4fe(0x173)](_0x68714d,{'text':this['_name'],'color':this['_color']}),_0x68714d[_0x44b4fe(0x2ff)]());}}var ha=Object['defineProperty'],la=Object[_0x46f17f(0x17b)],_a=(_0x2b5fe6,_0x57f218,_0x22049b,_0x13d548)=>{for(var _0x59da2c=_0x13d548>0x1?void 0x0:_0x13d548?la(_0x57f218,_0x22049b):_0x57f218,_0x3b84a9=_0x2b5fe6['length']-0x1,_0x2060e6;_0x3b84a9>=0x0;_0x3b84a9--)(_0x2060e6=_0x2b5fe6[_0x3b84a9])&&(_0x59da2c=(_0x13d548?_0x2060e6(_0x57f218,_0x22049b,_0x59da2c):_0x2060e6(_0x59da2c))||_0x59da2c);return _0x13d548&&_0x59da2c&&ha(_0x57f218,_0x22049b,_0x59da2c),_0x59da2c;},Ft=(_0x171ef0,_0x24108d)=>(_0x2c8ee4,_0x27cb43)=>_0x24108d(_0x2c8ee4,_0x27cb43,_0x171ef0);const ua=0x1389;let hs=class extends _0x2ddc3d{constructor(_0x671c80,_0x272549,_0x5550ad,_0x432ea4){const _0x7c2b1f=_0x46f17f;super(),g(this,_0x7c2b1f(0x2cb),new Set()),g(this,_0x7c2b1f(0x42d),null),(this[_0x7c2b1f(0x412)]=_0x671c80,this[_0x7c2b1f(0x1c2)]=_0x272549,this['_collabCursorController']=_0x5550ad,this['_themeService']=_0x432ea4,this['_init']());}[_0x46f17f(0x3a9)](){const _0x416c42=_0x46f17f;this[_0x416c42(0x1c2)][_0x416c42(0x2ea)]['pipe'](_0x4ff54a(this[_0x416c42(0x246)]),_0xe3a2c7(_0x44f3ba=>{const _0x58a58c=_0x416c42;if(_0x44f3ba){const _0x1886b3=_0x44f3ba[_0x58a58c(0x4db)];return _0x4ad575(this[_0x58a58c(0x3d2)][_0x58a58c(0x539)](this[_0x58a58c(0x412)][_0x58a58c(0x318)]),this[_0x58a58c(0x2db)]['currentTheme$'])[_0x58a58c(0x4e3)](_0x4f9d2a(([_0x2ad911,_0x28ab86])=>{const _0x475dc4=_0x58a58c,_0x4b90dc=new Map();return _0x2ad911[_0x475dc4(0x519)]((_0x2a7d06,_0x12c902)=>{const _0x367eef=_0x475dc4;if(_0x2a7d06['sheetID']===_0x1886b3){const _0x5e5cf1={..._0x2a7d06};_0x5e5cf1[_0x367eef(0x33c)]=_0x28ab86[_0x2a7d06[_0x367eef(0x33c)]],_0x4b90dc[_0x367eef(0x25b)](_0x12c902,_0x5e5cf1);}}),{'skeleton':_0x44f3ba,'cursors':_0x4b90dc};}));}return _0x1f0a04({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x2c27e4,cursors:_0x14d0ae})=>{const _0xbe795d=_0x416c42;this['_removeCollabCursors'](),_0x2c27e4&&this[_0xbe795d(0x34d)](_0x2c27e4,_0x14d0ae);}),this[_0x416c42(0x1c2)]['currentSkeleton$']['subscribe'](_0x41b888=>{const _0x171545=_0x416c42;if(_0x41b888==null)return;const {skeleton:_0x5ee9b1}=_0x41b888,{scene:_0x22ae5d}=this['_context'];_0x22ae5d[_0x171545(0x549)][_0x171545(0x473)](_0x2152b9(_0x3dae89=>{const _0x314cd6=_0x171545;var _0x266c7a,_0x1e5cd0;const {offsetX:_0x2b852d,offsetY:_0x4bb59f}=_0x3dae89,{x:_0x139058,y:_0x4fd5a5}=_0x22ae5d[_0x314cd6(0x4ec)](_0x369c59[_0x314cd6(0x3c9)]([_0x2b852d,_0x4bb59f])),{scaleX:_0x10e924,scaleY:_0x8f7b56}=_0x22ae5d[_0x314cd6(0x1ee)](),_0x5313ec=_0x22ae5d['getViewport'](_0x4f4f8e[_0x314cd6(0x1e3)]),_0x3fee2b=_0x22ae5d['getVpScrollXYInfoByPosToVp'](_0x369c59[_0x314cd6(0x3c9)]([_0x139058,_0x4fd5a5]),_0x5313ec),_0x49049d=_0x5ee9b1['getCellPositionByOffset'](_0x2b852d,_0x4bb59f,_0x10e924,_0x8f7b56,_0x3fee2b);((_0x266c7a=this[_0x314cd6(0x42d)])==null?void 0x0:_0x266c7a[_0x314cd6(0x4b0)])===_0x49049d[_0x314cd6(0x4b0)]&&((_0x1e5cd0=this['_lastPointer'])==null?void 0x0:_0x1e5cd0[_0x314cd6(0x4d9)])===_0x49049d[_0x314cd6(0x4d9)]||this[_0x314cd6(0x2cb)]['forEach'](_0x3f4bd0=>{const _0x33ce19=_0x314cd6;_0x3f4bd0[_0x33ce19(0x2c3)](_0x49049d);});},0x64));});}[_0x46f17f(0x34d)](_0x22b8ef,_0x1d00d0){const _0xc056ee=_0x46f17f;var _0x26e7a8;const _0x1fa996=(_0x26e7a8=this[_0xc056ee(0x1c2)][_0xc056ee(0x17a)]())==null?void 0x0:_0x26e7a8[_0xc056ee(0x4bd)];if(!_0x1fa996)return;const _0x26de61=this[_0xc056ee(0x360)]();if(!_0x26de61)return;this['_cursors'][_0xc056ee(0x519)](_0x37f8e9=>{const _0x5ae410=_0xc056ee;_0x37f8e9[_0x5ae410(0x1f7)]();});const {scene:_0x3b8df5}=_0x26de61,_0x4c2bdf=da(Array[_0xc056ee(0x575)](_0x1d00d0['values']()))[_0xc056ee(0x265)](_0x48a79f=>{const _0x53b725=_0xc056ee,{color:_0x15edc6,range:_0x4fc739,name:_0x11e4ff,selection:_0x31690f,sheetID:_0x12584a}=_0x48a79f,{startColumn:_0xdcc25c,startRow:_0x58157f,endColumn:_0x534041,endRow:_0x1bcbc1}=_0x4fc739,_0x413c4f=_0x5c7434(_0x58157f,_0xdcc25c,_0x3b8df5,_0x1fa996),_0x13f71c=_0x5c7434(_0x1bcbc1,_0x534041,_0x3b8df5,_0x1fa996),{columnHeaderHeightAndMarginTop:_0x444af6}=_0x1fa996,{startX:_0xfff938,startY:_0x5d253d}=_0x413c4f,{endX:_0x5745e4,endY:_0x3b6cd8}=_0x13f71c,_0x2974d6=_0x5745e4-_0xfff938,_0x41c39d=_0x3b6cd8-_0x5d253d,_0x5918da={'labelPosition':_0x5d253d-_0x444af6>=rt?_0x53b725(0x2ed):_0x53b725(0x172),'sheetID':_0x12584a,'range':_0x4fc739,'color':_0x15edc6,'name':_0x11e4ff,'selection':_0x31690f,'left':_0xfff938,'top':_0x5d253d,'width':_0x2974d6,'height':_0x41c39d,'evented':!0x1,'zIndex':ua};return new ca(_0x11e4ff,_0x5918da);});_0x3b8df5[_0xc056ee(0x3ca)](_0x4c2bdf,oa),this[_0xc056ee(0x2cb)]=new Set(_0x4c2bdf);}[_0x46f17f(0x255)](){const _0x5752fd=_0x46f17f;var _0x1054a0;(_0x1054a0=this['_cursors'])==null||_0x1054a0[_0x5752fd(0x519)](_0x5696f9=>_0x5696f9[_0x5752fd(0x338)]());}['_getSheetObject'](){const _0x498cb3=_0x46f17f;return _0x482e64(this[_0x498cb3(0x412)][_0x498cb3(0x1ba)],this[_0x498cb3(0x412)]);}};hs=_a([Ft(0x1,_0x4e871f(_0x5a4329)),Ft(0x2,_0x4e871f(Ve)),Ft(0x3,_0x4e871f(_0x4f10db))],hs);function da(_0x14d4d0){const _0x567081=_0x46f17f,_0x2fde74=new Map();return _0x14d4d0[_0x567081(0x519)](_0x4628c7=>{const _0xe6922c=_0x567081;if(_0x2fde74[_0xe6922c(0x49a)](_0x4628c7['selection'])){const _0x8d0852=_0x2fde74[_0xe6922c(0x3e1)](_0x4628c7['selection']);_0x8d0852[_0xe6922c(0x1c9)]+=',\x20'+_0x4628c7[_0xe6922c(0x1c9)];}else _0x2fde74[_0xe6922c(0x25b)](_0x4628c7[_0xe6922c(0x480)],_0x4628c7);}),Array[_0x567081(0x575)](_0x2fde74[_0x567081(0x564)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x30ca3d){const _0x9dbf89=_0x46f17f;return _0x30ca3d&&_0x30ca3d[_0x9dbf89(0x4d3)]&&Object[_0x9dbf89(0x4c9)]['hasOwnProperty'][_0x9dbf89(0x3a8)](_0x30ca3d,_0x9dbf89(0x381))?_0x30ca3d[_0x9dbf89(0x381)]:_0x30ca3d;}var Bi={'exports':{}},Dt={},fa=_0x3c6a43,va=Symbol['for'](_0x46f17f(0x40a)),ma=Symbol[_0x46f17f(0x56a)]('react.fragment'),pa=Object[_0x46f17f(0x4c9)][_0x46f17f(0x437)],ga=fa['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED']['ReactCurrentOwner'],Sa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function ki(_0x472432,_0x20e90e,_0x26c387){const _0x58f889=_0x46f17f;var _0x16272e,_0xc7c2fe={},_0x56704a=null,_0x1052ed=null;_0x26c387!==void 0x0&&(_0x56704a=''+_0x26c387),_0x20e90e[_0x58f889(0x1ae)]!==void 0x0&&(_0x56704a=''+_0x20e90e[_0x58f889(0x1ae)]),_0x20e90e[_0x58f889(0x215)]!==void 0x0&&(_0x1052ed=_0x20e90e['ref']);for(_0x16272e in _0x20e90e)pa['call'](_0x20e90e,_0x16272e)&&!Sa[_0x58f889(0x437)](_0x16272e)&&(_0xc7c2fe[_0x16272e]=_0x20e90e[_0x16272e]);if(_0x472432&&_0x472432[_0x58f889(0x468)]){for(_0x16272e in(_0x20e90e=_0x472432[_0x58f889(0x468)],_0x20e90e))_0xc7c2fe[_0x16272e]===void 0x0&&(_0xc7c2fe[_0x16272e]=_0x20e90e[_0x16272e]);}return{'$$typeof':va,'type':_0x472432,'key':_0x56704a,'ref':_0x1052ed,'props':_0xc7c2fe,'_owner':ga[_0x58f889(0x1ef)]};}Dt[_0x46f17f(0x253)]=ma,Dt['jsx']=ki,Dt[_0x46f17f(0x336)]=ki,Bi[_0x46f17f(0x4b5)]=Dt;var Pe=Bi[_0x46f17f(0x4b5)],se=function(){const _0x2b22b9=_0x46f17f;return se=Object[_0x2b22b9(0x42e)]||function(_0x5f4ee9){const _0x2fe229=_0x2b22b9;for(var _0x235812,_0x1a99f1=0x1,_0x3a3a21=arguments['length'];_0x1a99f1<_0x3a3a21;_0x1a99f1++){_0x235812=arguments[_0x1a99f1];for(var _0x494723 in _0x235812)Object[_0x2fe229(0x4c9)][_0x2fe229(0x437)]['call'](_0x235812,_0x494723)&&(_0x5f4ee9[_0x494723]=_0x235812[_0x494723]);}return _0x5f4ee9;},se[_0x2b22b9(0x44c)](this,arguments);},Ia=function(_0xe6820d,_0xe986bb){const _0x42fd8b=_0x46f17f;var _0x452322={};for(var _0x307428 in _0xe6820d)Object[_0x42fd8b(0x4c9)][_0x42fd8b(0x437)]['call'](_0xe6820d,_0x307428)&&_0xe986bb[_0x42fd8b(0x49f)](_0x307428)<0x0&&(_0x452322[_0x307428]=_0xe6820d[_0x307428]);if(_0xe6820d!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x3f047a=0x0,_0x307428=Object[_0x42fd8b(0x405)](_0xe6820d);_0x3f047a<_0x307428['length'];_0x3f047a++)_0xe986bb[_0x42fd8b(0x49f)](_0x307428[_0x3f047a])<0x0&&Object['prototype'][_0x42fd8b(0x2be)][_0x42fd8b(0x3a8)](_0xe6820d,_0x307428[_0x3f047a])&&(_0x452322[_0x307428[_0x3f047a]]=_0xe6820d[_0x307428[_0x3f047a]]);}return _0x452322;},ys=_0x16fb4d(function(_0x43f9fe,_0x13ac55){const _0x550e2d=_0x46f17f;var _0x9bc2b7=_0x43f9fe[_0x550e2d(0x390)],_0x1b270f=_0x43f9fe['id'],_0x1132df=_0x43f9fe[_0x550e2d(0x458)],_0x749b67=_0x43f9fe[_0x550e2d(0x3c3)],_0x3f05bc=Ia(_0x43f9fe,['icon','id',_0x550e2d(0x458),_0x550e2d(0x3c3)]),_0x5ddbd4=_0x550e2d(0x1dd)[_0x550e2d(0x216)](_0x1b270f,'\x20')['concat'](_0x1132df||'')[_0x550e2d(0x579)](),_0x513439=_0x14c015('_'['concat'](ba()));return Wi(_0x9bc2b7,''[_0x550e2d(0x216)](_0x1b270f),{'defIds':_0x9bc2b7[_0x550e2d(0x550)],'idSuffix':_0x513439[_0x550e2d(0x1ef)]},se({'ref':_0x13ac55,'className':_0x5ddbd4},_0x3f05bc),_0x749b67);});function Wi(_0x2d989c,_0x6781c,_0x4bbe12,_0x1b0833,_0x260152){const _0x3eb140=_0x46f17f;return _0x3daae4(_0x2d989c[_0x3eb140(0x3a0)],se(se({'key':_0x6781c},Ca(_0x2d989c,_0x4bbe12,_0x260152)),_0x1b0833),(Ea(_0x2d989c,_0x4bbe12)[_0x3eb140(0x220)]||[])['map'](function(_0x498e19,_0x425a9d){const _0x1fc880=_0x3eb140;return Wi(_0x498e19,''[_0x1fc880(0x216)](_0x6781c,'-')[_0x1fc880(0x216)](_0x2d989c['tag'],'-')[_0x1fc880(0x216)](_0x425a9d),_0x4bbe12,void 0x0,_0x260152);}));}function Ca(_0x486183,_0x25b316,_0xc59984){const _0x497656=_0x46f17f;var _0x2c3287=se({},_0x486183[_0x497656(0x1fa)]);_0xc59984!=null&&_0xc59984[_0x497656(0x245)]&&_0x2c3287['fill']==='colorChannel1'&&(_0x2c3287['fill']=_0xc59984['colorChannel1']);var _0x3a8085=_0x25b316['defIds'];return!_0x3a8085||_0x3a8085['length']===0x0||(_0x486183[_0x497656(0x3a0)]==='use'&&_0x2c3287[_0x497656(0x32e)]&&(_0x2c3287[_0x497656(0x32e)]=_0x2c3287['xlink:href']+_0x25b316['idSuffix']),Object[_0x497656(0x228)](_0x2c3287)['forEach'](function(_0x392294){const _0x1a6db5=_0x497656;var _0x1a45ba=_0x392294[0x0],_0x23197d=_0x392294[0x1];typeof _0x23197d==_0x1a6db5(0x366)&&(_0x2c3287[_0x1a45ba]=_0x23197d[_0x1a6db5(0x484)](/url\(#(.*)\)/,_0x1a6db5(0x17f)[_0x1a6db5(0x216)](_0x25b316[_0x1a6db5(0x19c)],')')));})),_0x2c3287;}function Ea(_0x2327a7,_0x3cf86f){const _0xdc1899=_0x46f17f;var _0x5cc62b,_0x1f34c4=_0x3cf86f[_0xdc1899(0x550)];return!_0x1f34c4||_0x1f34c4['length']===0x0?_0x2327a7:_0x2327a7[_0xdc1899(0x3a0)]===_0xdc1899(0x40e)&&(!((_0x5cc62b=_0x2327a7[_0xdc1899(0x220)])===null||_0x5cc62b===void 0x0)&&_0x5cc62b[_0xdc1899(0x407)])?se(se({},_0x2327a7),{'children':_0x2327a7[_0xdc1899(0x220)][_0xdc1899(0x265)](function(_0xc2b28d){const _0x82b4c8=_0xdc1899;return typeof _0xc2b28d[_0x82b4c8(0x1fa)]['id']=='string'&&_0x1f34c4&&_0x1f34c4[_0x82b4c8(0x49f)](_0xc2b28d[_0x82b4c8(0x1fa)]['id'])>-0x1?se(se({},_0xc2b28d),{'attrs':se(se({},_0xc2b28d['attrs']),{'id':_0xc2b28d[_0x82b4c8(0x1fa)]['id']+_0x3cf86f[_0x82b4c8(0x19c)]})}):_0xc2b28d;})}):_0x2327a7;}function ba(){const _0x121909=_0x46f17f;return Math[_0x121909(0x237)]()[_0x121909(0x4b7)](0x24)[_0x121909(0x1b8)](0x2,0x8);}ys[_0x46f17f(0x43b)]=_0x46f17f(0x416);var Ta={'tag':_0x46f17f(0x2a7),'attrs':{'fill':_0x46f17f(0x3dd),'viewBox':'0\x200\x2016\x2016','width':_0x46f17f(0x508),'height':_0x46f17f(0x508)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x46f17f(0x4ab),'attrs':{'stroke':_0x46f17f(0x34a),'d':_0x46f17f(0x55b),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x46f17f(0x40e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x46f17f(0x1c0)},'children':[{'tag':'path','attrs':{'fill':_0x46f17f(0x557),'d':_0x46f17f(0x4f5)}}]}]}],'defIds':[_0x46f17f(0x1c0)]},Fi=_0x16fb4d(function(_0xe4ad76,_0xccb20d){const _0x2a40b6=_0x46f17f;return _0x3daae4(ys,Object[_0x2a40b6(0x42e)]({},_0xe4ad76,{'id':_0x2a40b6(0x24d),'ref':_0xccb20d,'icon':Ta}));});Fi[_0x46f17f(0x43b)]=_0x46f17f(0x577);var Ra={'tag':_0x46f17f(0x2a7),'attrs':{'fill':_0x46f17f(0x3dd),'viewBox':_0x46f17f(0x1a8),'width':_0x46f17f(0x508),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x46f17f(0x29f)},'children':[{'tag':_0x46f17f(0x4ab),'attrs':{'stroke':_0x46f17f(0x34a),'d':_0x46f17f(0x1e6),'strokeLinecap':_0x46f17f(0x55a),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x46f17f(0x40e),'attrs':{},'children':[{'tag':_0x46f17f(0x347),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x46f17f(0x4ab),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x46f17f(0x559)}}]}]}],'defIds':[_0x46f17f(0x300)]},Vi=_0x16fb4d(function(_0x836006,_0x2d1d68){return _0x3daae4(ys,Object['assign']({},_0x836006,{'id':'on-line-single','ref':_0x2d1d68,'icon':Ra}));});Vi[_0x46f17f(0x43b)]=_0x46f17f(0x2c4);function Gi(_0x14a8a2){const _0x3a67de=_0x46f17f;var _0x26c491,_0x535bf2,_0x43f07c='';if(typeof _0x14a8a2==_0x3a67de(0x366)||typeof _0x14a8a2==_0x3a67de(0x18b))_0x43f07c+=_0x14a8a2;else{if(typeof _0x14a8a2==_0x3a67de(0x500)){if(Array[_0x3a67de(0x328)](_0x14a8a2)){var _0x4d8e4a=_0x14a8a2['length'];for(_0x26c491=0x0;_0x26c491<_0x4d8e4a;_0x26c491++)_0x14a8a2[_0x26c491]&&(_0x535bf2=Gi(_0x14a8a2[_0x26c491]))&&(_0x43f07c&&(_0x43f07c+='\x20'),_0x43f07c+=_0x535bf2);}else{for(_0x535bf2 in _0x14a8a2)_0x14a8a2[_0x535bf2]&&(_0x43f07c&&(_0x43f07c+='\x20'),_0x43f07c+=_0x535bf2);}}}return _0x43f07c;}function Oa(){const _0x306ca9=_0x46f17f;for(var _0x380381,_0x2d8bba,_0x2e5475=0x0,_0x2a4759='',_0xcdec63=arguments[_0x306ca9(0x407)];_0x2e5475<_0xcdec63;_0x2e5475++)(_0x380381=arguments[_0x2e5475])&&(_0x2d8bba=Gi(_0x380381))&&(_0x2a4759&&(_0x2a4759+='\x20'),_0x2a4759+=_0x2d8bba);return _0x2a4759;}const ya=_0x46f17f(0x3e7),wa=_0x46f17f(0x355),Da=_0x46f17f(0x192),Pa=_0x46f17f(0x4c4),Ua=_0x46f17f(0x275),Ze={'onlineStatusIcon':ya,'onlineStatusTitle':wa,'onlineStatus':Da,'online':Pa,'offline':Ua};function Na(_0x4bd8e8){const _0x24eceb=_0x46f17f;switch(_0x4bd8e8){case J[_0x24eceb(0x1d3)]:return _0x24eceb(0x37d);case J[_0x24eceb(0x2f4)]:return _0x24eceb(0x207);case J[_0x24eceb(0x404)]:return _0x24eceb(0x38b);case J[_0x24eceb(0x51f)]:return _0x24eceb(0x248);case J[_0x24eceb(0x351)]:case J['AWAITING_WITH_PENDING']:return _0x24eceb(0x354);case J[_0x24eceb(0x17c)]:case J[_0x24eceb(0x2a6)]:return _0x24eceb(0x57f);}}function Aa(_0x2f6d58){const _0x536d0a=_0x46f17f,{status$:_0x497fb9}=_0x2f6d58,_0x9e171f=_0x5a9c52(_0x497fb9,J['NOT_COLLAB']),_0x1a5f95=_0x155249(_0x19d230),_0x48d1a3=_0x155249(xe),_0x5b07f7=_0x9e171f!==J[_0x536d0a(0x1d3)],_0x43c6f1=_0x1a5f95['t'](Na(_0x9e171f)),_0xf44ea7=Oa(Ze[_0x536d0a(0x2fe)],{[Ze[_0x536d0a(0x2ee)]]:_0x5b07f7,[Ze[_0x536d0a(0x20a)]]:!_0x5b07f7}),_0x4b5585=_0x5b07f7?Pe[_0x536d0a(0x383)](Vi,{}):Pe[_0x536d0a(0x383)](Fi,{}),_0x4764ef=_0x3cf208(()=>{const _0x1af27a=_0x536d0a;_0x5b07f7||_0x48d1a3[_0x1af27a(0x1d6)]();},[_0x5b07f7,_0x48d1a3]);function _0x56c3ee(){const _0x199d46=_0x536d0a;return Pe[_0x199d46(0x336)](_0x199d46(0x280),{'className':_0xf44ea7,'onClick':_0x4764ef,'children':[Pe[_0x199d46(0x383)](_0x199d46(0x280),{'className':Ze[_0x199d46(0x1c3)],'children':_0x4b5585}),Pe[_0x199d46(0x383)](_0x199d46(0x280),{'className':Ze[_0x199d46(0x417)],'children':_0x43c6f1})]});}return _0x5b07f7?_0x56c3ee():Pe[_0x536d0a(0x383)](_0x2c7462,{'title':_0x1a5f95['t'](_0x536d0a(0x57b)),'children':_0x56c3ee()});}var Ma=Object[_0x46f17f(0x3a4)],xa=Object['getOwnPropertyDescriptor'],La=(_0x57300b,_0x4d2611,_0xfbf169,_0xb7becc)=>{const _0x56c8c2=_0x46f17f;for(var _0x5dd4b6=_0xb7becc>0x1?void 0x0:_0xb7becc?xa(_0x4d2611,_0xfbf169):_0x4d2611,_0x50d327=_0x57300b[_0x56c8c2(0x407)]-0x1,_0x3c038a;_0x50d327>=0x0;_0x50d327--)(_0x3c038a=_0x57300b[_0x50d327])&&(_0x5dd4b6=(_0xb7becc?_0x3c038a(_0x4d2611,_0xfbf169,_0x5dd4b6):_0x3c038a(_0x5dd4b6))||_0x5dd4b6);return _0xb7becc&&_0x5dd4b6&&Ma(_0x4d2611,_0xfbf169,_0x5dd4b6),_0x5dd4b6;},ht=(_0x495d19,_0x51487b)=>(_0x484116,_0x2ad774)=>_0x51487b(_0x484116,_0x2ad774,_0x495d19);let Ct=class extends _0x156359{constructor(_0x330a1f,_0x137c4e,_0x1a92f3,_0x39b033){const _0x57438a=_0x46f17f;super(),g(this,_0x57438a(0x258),new _0x4581fa(J[_0x57438a(0x51f)])),(this[_0x57438a(0x53d)]=_0x330a1f,this[_0x57438a(0x217)]=_0x137c4e,this['_injector']=_0x1a92f3,this[_0x57438a(0x306)]=_0x39b033,this[_0x57438a(0x233)](),this['_initStatusListener']());}[_0x46f17f(0x344)](){const _0x131309=_0x46f17f;this[_0x131309(0x45a)](this[_0x131309(0x53d)]['focused$'][_0x131309(0x4e3)](_0x36f349(()=>{const _0xcb1519=_0x131309,_0x420253=this[_0xcb1519(0x53d)]['getFocusedUnit']();return _0x420253?this[_0xcb1519(0x306)]['getCollabEntity$'](_0x420253['getUnitId']()):_0x1f0a04(null);}),_0x36f349(_0x4565ff=>_0x4565ff?_0x4565ff[_0x131309(0x571)]:_0x1f0a04(J['NOT_COLLAB'])))[_0x131309(0x346)](_0x4fe654=>{const _0x155c14=_0x131309;this[_0x155c14(0x258)][_0x155c14(0x4e6)](_0x4fe654);}));}[_0x46f17f(0x233)](){const _0x1a4fd9=_0x46f17f;this[_0x1a4fd9(0x45a)](this[_0x1a4fd9(0x217)]['registerComponent'](_0x5c457d[_0x1a4fd9(0x45b)],()=>_0x31f1c2($a({'status$':this['_status$']['asObservable']()}),this[_0x1a4fd9(0x176)])));}};Ct=La([ht(0x0,_0x2d6c6a),ht(0x1,_0x36bc47),ht(0x2,_0x4e871f(_0x24063a)),ht(0x3,_0x4e871f(it))],Ct);function $a(_0x3da9dc){const {status$:_0x19c647}=_0x3da9dc;return function(){const _0x473ebb=_0x1425;return Pe[_0x473ebb(0x383)](Aa,{'status$':_0x19c647});};}const Yi=_0x1035a6('uni.network.url-service');function _0x1425(_0x4c6389,_0x2ef46b){const _0x4ae699=_0x4ae6();return _0x1425=function(_0x1425b2,_0x142255){_0x1425b2=_0x1425b2-0x15e;let _0x58a4ba=_0x4ae699[_0x1425b2];return _0x58a4ba;},_0x1425(_0x4c6389,_0x2ef46b);}var Ha=Object['defineProperty'],ja=Object['getOwnPropertyDescriptor'],Ba=(_0x43e363,_0x2ce3ce,_0x1922f4,_0x2ee8b5)=>{const _0x41c77c=_0x46f17f;for(var _0x5b8b6d=_0x2ee8b5>0x1?void 0x0:_0x2ee8b5?ja(_0x2ce3ce,_0x1922f4):_0x2ce3ce,_0x3eab4b=_0x43e363[_0x41c77c(0x407)]-0x1,_0x45e729;_0x3eab4b>=0x0;_0x3eab4b--)(_0x45e729=_0x43e363[_0x3eab4b])&&(_0x5b8b6d=(_0x2ee8b5?_0x45e729(_0x2ce3ce,_0x1922f4,_0x5b8b6d):_0x45e729(_0x5b8b6d))||_0x5b8b6d);return _0x2ee8b5&&_0x5b8b6d&&Ha(_0x2ce3ce,_0x1922f4,_0x5b8b6d),_0x5b8b6d;},ke=(_0x3a7fbf,_0x5dafbe)=>(_0x4bec62,_0x4e5dec)=>_0x5dafbe(_0x4bec62,_0x4e5dec,_0x3a7fbf);let Et=class extends _0x2ddc3d{constructor(_0x1e4e5b,_0x42ec67,_0x1b5026,_0x4ec9d4,_0x4d333e,_0x1507ac){const _0x58ac3a=_0x46f17f;super(),this[_0x58ac3a(0x16f)]=_0x1e4e5b,this[_0x58ac3a(0x1a7)]=_0x42ec67,this['_commandService']=_0x1b5026,this['_localCacheService']=_0x4ec9d4,this[_0x58ac3a(0x58e)]=_0x4d333e,_0x1507ac?_0x1507ac==null||_0x1507ac['whenReady']()['then'](()=>this[_0x58ac3a(0x3a9)]()):(this['_logService'][_0x58ac3a(0x589)](_0x58ac3a(0x588),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x58ac3a(0x3a9)]());}async[_0x46f17f(0x3a9)](){const _0x2e73ad=_0x46f17f,_0x166079=this[_0x2e73ad(0x16f)][_0x2e73ad(0x502)]('unit'),_0x2c48ef=this[_0x2e73ad(0x16f)][_0x2e73ad(0x502)](_0x2e73ad(0x2a2));if(!_0x166079||!_0x2c48ef){this[_0x2e73ad(0x1a7)][_0x2e73ad(0x589)](_0x2e73ad(0x588),_0x2e73ad(0x27a));return;}switch(Number(_0x2c48ef)){case ce[_0x2e73ad(0x226)]:{const _0x21b306=await this[_0x2e73ad(0x161)](_0x166079);this[_0x2e73ad(0x1f5)](_0x21b306);break;}case ce[_0x2e73ad(0x15e)]:{await this[_0x2e73ad(0x200)](_0x166079);break;}default:{this[_0x2e73ad(0x1a7)][_0x2e73ad(0x27d)]('[DataLoaderController]',_0x2e73ad(0x16b));break;}}}async[_0x46f17f(0x1f5)](_0x1e3ae2){const _0x881f06=_0x46f17f;await this[_0x881f06(0x581)](_0x1e3ae2),_0x1e3ae2[_0x881f06(0x395)][_0x881f06(0x4e3)](_0x2b97ad(this['dispose$']))[_0x881f06(0x346)](_0x25b323=>{const _0x1ac07f=_0x881f06;_0x25b323&&this[_0x1ac07f(0x3b1)](_0x25b323);}),this[_0x881f06(0x16f)]['urlChange$'][_0x881f06(0x4e3)](_0x2b97ad(this[_0x881f06(0x246)]))['subscribe'](()=>this[_0x881f06(0x581)](_0x1e3ae2));}[_0x46f17f(0x3b1)](_0x53cc90,_0x3d4ebf=!0x1){const _0x57d756=_0x46f17f,_0x24cd56=this[_0x57d756(0x16f)]['getParam'](_0x57d756(0x4ae));_0x53cc90['getSheetId']()!==_0x24cd56&&this['_urlService'][_0x57d756(0x4d8)](_0x57d756(0x4ae),_0x53cc90[_0x57d756(0x316)](),_0x3d4ebf);}async['_updateSubUnitFromURLParams'](_0x2ed4c2){const _0x4aea42=_0x46f17f;var _0xb985ae;const _0xef2e3e=this[_0x4aea42(0x16f)][_0x4aea42(0x502)](_0x4aea42(0x4ae));if(!_0xef2e3e||!_0x2ed4c2['getSheetBySheetId'](_0xef2e3e)){const _0x33f2e9=_0x2ed4c2['getUnhiddenWorksheets']()[0x0],_0x56f838=_0x2ed4c2[_0x4aea42(0x4e5)](_0x33f2e9);if(!_0x56f838)return;this[_0x4aea42(0x3b1)](_0x56f838,!0x0),await this[_0x4aea42(0x558)][_0x4aea42(0x521)](_0x527771['id'],{'unitId':_0x2ed4c2[_0x4aea42(0x565)](),'subUnitId':_0x33f2e9});return;}((_0xb985ae=_0x2ed4c2[_0x4aea42(0x4c5)]())==null?void 0x0:_0xb985ae[_0x4aea42(0x316)]())!==_0xef2e3e&&await this[_0x4aea42(0x558)][_0x4aea42(0x521)](_0x527771['id'],{'unitId':_0x2ed4c2[_0x4aea42(0x565)](),'subUnitId':_0xef2e3e});}async[_0x46f17f(0x161)](_0x178ae1){const _0x323e31=_0x46f17f;let _0x15ba4e=0x0;const _0x280e5d=await this[_0x323e31(0x4fe)][_0x323e31(0x31c)](_0x178ae1);return _0x280e5d&&(_0x280e5d[_0x323e31(0x566)]||_0x280e5d[_0x323e31(0x49d)][_0x323e31(0x407)]!==0x0)&&(_0x15ba4e=_0x280e5d[_0x323e31(0x2f2)]),_0x15ba4e===0x0&&this['_logService'][_0x323e31(0x589)](_0x323e31(0x588),_0x323e31(0x179)),this['_snapshotService'][_0x323e31(0x529)](_0x178ae1,_0x15ba4e);}async[_0x46f17f(0x200)](_0x46745b){const _0x1b1422=_0x46f17f;let _0x5ed4d9=0x0;const _0x5a2ab8=await this[_0x1b1422(0x4fe)][_0x1b1422(0x31c)](_0x46745b);return _0x5a2ab8&&(_0x5a2ab8[_0x1b1422(0x566)]||_0x5a2ab8['mutations'][_0x1b1422(0x407)]!==0x0)&&(_0x5ed4d9=_0x5a2ab8[_0x1b1422(0x2f2)]),_0x5ed4d9===0x0&&this[_0x1b1422(0x1a7)]['debug'](_0x1b1422(0x588),_0x1b1422(0x179)),this[_0x1b1422(0x58e)][_0x1b1422(0x403)](_0x46745b,_0x5ed4d9);}};Et=Ba([ke(0x0,Yi),ke(0x1,_0x416cf3),ke(0x2,_0x15e74e),ke(0x3,_0x4e871f(q)),ke(0x4,_0x4e871f(_0x16d892)),ke(0x5,_0x1316cb(_0x33a2e7))],Et);var ka=Object[_0x46f17f(0x3a4)],Wa=Object['getOwnPropertyDescriptor'],Fa=(_0x5a8775,_0x1f20e2,_0x1c7c7f,_0x3d18fb)=>{for(var _0xc17f62=_0x3d18fb>0x1?void 0x0:_0x3d18fb?Wa(_0x1f20e2,_0x1c7c7f):_0x1f20e2,_0x58b9f8=_0x5a8775['length']-0x1,_0x1123a3;_0x58b9f8>=0x0;_0x58b9f8--)(_0x1123a3=_0x5a8775[_0x58b9f8])&&(_0xc17f62=(_0x3d18fb?_0x1123a3(_0x1f20e2,_0x1c7c7f,_0xc17f62):_0x1123a3(_0xc17f62))||_0xc17f62);return _0x3d18fb&&_0xc17f62&&ka(_0x1f20e2,_0x1c7c7f,_0xc17f62),_0xc17f62;},Qs=(_0xf63fa8,_0x2bc210)=>(_0x345ba9,_0x2f81bc)=>_0x2bc210(_0x345ba9,_0x2f81bc,_0xf63fa8);const Va=_0x46f17f(0x35a),Ga=_0x46f17f(0x264);let bt=class extends _0x156359{constructor(_0x366e2a,_0x28b9ed){const _0x424d85=_0x46f17f;super(),this[_0x424d85(0x53d)]=_0x366e2a,this[_0x424d85(0x57c)]=_0x28b9ed,this[_0x424d85(0x3a9)]();}[_0x46f17f(0x3a9)](){const _0x42e48f=_0x46f17f;this[_0x42e48f(0x45a)](this[_0x42e48f(0x53d)]['focused$']['subscribe'](()=>{const _0x5bf37e=_0x42e48f;var _0x2d79eb;const _0x322aba=this[_0x5bf37e(0x53d)][_0x5bf37e(0x46b)]();let _0x168d3=(_0x2d79eb=this['_configService'][_0x5bf37e(0x4b3)](Va))!=null?_0x2d79eb:Ga;_0x322aba instanceof _0x3b1689&&(_0x168d3=_0x322aba[_0x5bf37e(0x1c9)]),document[_0x5bf37e(0x2b1)]=_0x168d3;}));}};bt=Fa([Qs(0x0,_0x2d6c6a),Qs(0x1,_0x175c85)],bt);var Ya=Object['defineProperty'],Ka=Object[_0x46f17f(0x17b)],za=(_0x389048,_0x58568,_0x32d66a,_0x33e151)=>{const _0x14b2b2=_0x46f17f;for(var _0x1e7f1e=_0x33e151>0x1?void 0x0:_0x33e151?Ka(_0x58568,_0x32d66a):_0x58568,_0x2e6c49=_0x389048[_0x14b2b2(0x407)]-0x1,_0x172b35;_0x2e6c49>=0x0;_0x2e6c49--)(_0x172b35=_0x389048[_0x2e6c49])&&(_0x1e7f1e=(_0x33e151?_0x172b35(_0x58568,_0x32d66a,_0x1e7f1e):_0x172b35(_0x1e7f1e))||_0x1e7f1e);return _0x33e151&&_0x1e7f1e&&Ya(_0x58568,_0x32d66a,_0x1e7f1e),_0x1e7f1e;},Vt=(_0x171c21,_0x25cedf)=>(_0x204350,_0x23d703)=>_0x25cedf(_0x204350,_0x23d703,_0x171c21);let Tt=class{constructor(_0x2f0903,_0xf973cc,_0xa03b1a){const _0x2df288=_0x46f17f;this[_0x2df288(0x57c)]=_0x2f0903,this[_0x2df288(0x32f)]=_0xf973cc,this[_0x2df288(0x50c)]=_0xa03b1a,this[_0x2df288(0x426)]();}['init'](){const _0x5103e6=_0x46f17f;this[_0x5103e6(0x32f)][_0x5103e6(0x317)]({'priority':0x1,'interceptor':(_0x5b94b5,_0x1eb36e)=>_0x1eb36e(_0x5b94b5)['pipe'](_0x23ed2f(async _0x576c22=>{const _0x3bc990=_0x5103e6,_0x2196e7=_0x576c22;if(_0x2196e7[_0x3bc990(0x54c)]===0x191&&window['confirm'](this[_0x3bc990(0x50c)]['t'](_0x3bc990(0x3f1)))){const _0x167222=window[_0x3bc990(0x332)](window[_0x3bc990(0x4c7)][_0x3bc990(0x46d)]);window['location']['href']=this['_getLoginPath']()+_0x3bc990(0x556)+_0x167222;}return _0x2196e7;}))});}[_0x46f17f(0x45e)](){const _0x5f1cce=_0x46f17f;var _0x56685b,_0x5a8ad5;const _0x37ae24=this['_configService'][_0x5f1cce(0x4b3)](Nn),_0x364d5b=this[_0x5f1cce(0x57c)]['getConfig'](ee);return(_0x5a8ad5=(_0x56685b=_0x364d5b==null?void 0x0:_0x364d5b[_0x5f1cce(0x3cd)])!=null?_0x56685b:_0x37ae24)!=null?_0x5a8ad5:An;}};Tt=za([Vt(0x0,_0x175c85),Vt(0x1,_0x4e871f(_0x595bc6)),Vt(0x2,_0x4e871f(_0x19d230))],Tt);var qa=Object[_0x46f17f(0x3a4)],Xa=Object[_0x46f17f(0x17b)],Ja=(_0xb2ef3a,_0x5bc492,_0x4c7fc4,_0x233297)=>{const _0x23f899=_0x46f17f;for(var _0x150d5a=_0x233297>0x1?void 0x0:_0x233297?Xa(_0x5bc492,_0x4c7fc4):_0x5bc492,_0x33b414=_0xb2ef3a[_0x23f899(0x407)]-0x1,_0x5226ab;_0x33b414>=0x0;_0x33b414--)(_0x5226ab=_0xb2ef3a[_0x33b414])&&(_0x150d5a=(_0x233297?_0x5226ab(_0x5bc492,_0x4c7fc4,_0x150d5a):_0x5226ab(_0x150d5a))||_0x150d5a);return _0x233297&&_0x150d5a&&qa(_0x5bc492,_0x4c7fc4,_0x150d5a),_0x150d5a;},ei=(_0x3c7fd3,_0x4c7d61)=>(_0x4a5c32,_0x5d5785)=>_0x4c7d61(_0x4a5c32,_0x5d5785,_0x3c7fd3);const Ki=_0x46f17f(0x2fb),Za=_0x46f17f(0x260);let ls=class extends _0x156359{constructor(_0x319904,_0x3e1916){const _0x470ead=_0x46f17f;super(),this[_0x470ead(0x524)]=_0x319904,this[_0x470ead(0x57c)]=_0x3e1916,this['_initMergeInterceptor']();}[_0x46f17f(0x402)](){const _0x2d2fc0=_0x46f17f,_0x1951d3=this;this[_0x2d2fc0(0x45a)](this[_0x2d2fc0(0x524)][_0x2d2fc0(0x317)]({'priority':0x3e7,'interceptor':_0x171710({'isMatch'(_0x50c368){const _0x5af2fb=_0x2d2fc0;var _0x241c88;if(_0x50c368[_0x5af2fb(0x380)]===_0x5af2fb(0x50e)&&((_0x241c88=_0x50c368[_0x5af2fb(0x4ed)])!=null&&_0x241c88[_0x5af2fb(0x358)])){const {objectID:_0xbdb352,objectType:_0x2351a3}=_0x50c368['requestParams'][_0x5af2fb(0x358)]||{};if(!_0xbdb352||_0x2351a3===void 0x0)return!0x1;const _0x35b9d7=_0x1951d3[_0x5af2fb(0x457)]()+'/'+_0x2351a3+_0x5af2fb(0x2b8)+_0xbdb352+_0x5af2fb(0x18f);if(_0x50c368[_0x5af2fb(0x1e2)]===_0x35b9d7)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x45fe1a){const _0x13c83b=_0x2d2fc0;var _0x5e5608;return(_0x5e5608=_0x45fe1a['requestParams'])==null?void 0x0:_0x5e5608[_0x13c83b(0x358)];},'mergeParamsToRequest'(_0x3452b9,_0x22366d){const _0x1a7646=_0x2d2fc0,_0x5cdae9=_0x1951d3['_getAPIPrefixPath']()+_0x1a7646(0x506),_0x57a6d9=_0x3452b9[_0x1a7646(0x249)]((_0xa8807,_0x56af7b)=>{const _0x276f6e=_0x1a7646,{unitID:_0x2b091f,objectID:_0x3201c5,objectType:_0x387001,actions:_0x225534}=_0x56af7b;return _0xa8807[_0x2b091f]||(_0xa8807[_0x2b091f]={}),_0xa8807[_0x2b091f][_0x3201c5]||(_0xa8807[_0x2b091f][_0x3201c5]={'objectID':_0x3201c5,'objectType':_0x387001,'actions':[]}),_0xa8807[_0x2b091f][_0x3201c5][_0x276f6e(0x52f)][_0x276f6e(0x23d)](..._0x225534),_0xa8807;},{}),_0x4c6078=[];for(const _0x4ebaef in _0x57a6d9)for(const _0x29eabd in _0x57a6d9[_0x4ebaef]){const {actions:_0x57fd95,objectType:_0x4f5c25}=_0x57a6d9[_0x4ebaef][_0x29eabd],_0x171432=[...new Set(_0x57fd95)];_0x4c6078[_0x1a7646(0x23d)]({'unitID':_0x4ebaef,'objectID':_0x29eabd,'objectType':_0x4f5c25,'actions':_0x171432});}return new _0x12fd84(_0x1a7646(0x50e),_0x5cdae9,{'headers':_0x22366d[_0x1a7646(0x21f)],'withCredentials':_0x22366d[_0x1a7646(0x398)],'responseType':_0x22366d['responseType'],'body':{'requests':_0x4c6078}});}},{'distributeResult'(_0x2d5c3e,_0x3b7543){const {objectActions:_0x5aa5c8}=_0x2d5c3e;return _0x3b7543['map'](_0x155981=>{const _0x4f05cb=_0x1425,{unitID:_0x59aba3,objectID:_0x370a12,actions:_0x1b7c57}=_0x155981,_0x2ac8ae=_0x5aa5c8['find'](_0x5eee44=>_0x5eee44[_0x4f05cb(0x498)]===_0x59aba3&&_0x5eee44[_0x4f05cb(0x1de)]===_0x370a12),_0x16b4e7=_0x1b7c57['map'](_0x6587bd=>_0x2ac8ae==null?void 0x0:_0x2ac8ae['actions']['find'](_0x4a2213=>_0x4a2213[_0x4f05cb(0x323)]===_0x6587bd))['filter'](_0x12dbc1=>!!_0x12dbc1);return{'config':_0x155981,'result':{'actions':_0x16b4e7,'error':_0x2d5c3e[_0x4f05cb(0x27d)]}};});}})}));}[_0x46f17f(0x457)](){const _0x185e05=_0x46f17f;var _0x1119d3,_0x28273e;const _0x3c4626=this[_0x185e05(0x57c)][_0x185e05(0x4b3)](Ki),_0x4cadab=this[_0x185e05(0x57c)]['getConfig'](ee);return(_0x28273e=(_0x1119d3=_0x4cadab==null?void 0x0:_0x4cadab['authzUrl'])!=null?_0x1119d3:_0x3c4626)!=null?_0x28273e:Za;}async[_0x46f17f(0x34e)](_0x42cd1b){const _0x4728f6=_0x46f17f,_0x59e0d6=this[_0x4728f6(0x457)]()+'/'+_0x42cd1b[_0x4728f6(0x371)]+_0x4728f6(0x38d);return(await this[_0x4728f6(0x524)][_0x4728f6(0x203)](_0x59e0d6,{'body':_0x42cd1b}))['body'][_0x4728f6(0x1de)]||'';}async[_0x46f17f(0x4e0)](_0x50490c){const _0x3bbc24=_0x46f17f,_0xe91f33=this[_0x3bbc24(0x457)]()+_0x3bbc24(0x3fe);return(await this['_HTTPService']['post'](_0xe91f33,{'body':_0x50490c}))[_0x3bbc24(0x358)]['objects'];}async[_0x46f17f(0x266)](_0x3fad1f){const _0x2dd710=_0x46f17f,_0x152b94=this[_0x2dd710(0x457)]()+'/'+_0x3fad1f[_0x2dd710(0x371)]+'/object/'+_0x3fad1f[_0x2dd710(0x1de)];await this['_HTTPService'][_0x2dd710(0x470)](_0x152b94,{'body':_0x3fad1f});}async[_0x46f17f(0x562)](_0x5692e2){const _0x440c3e=_0x46f17f,_0x240e5d=this[_0x440c3e(0x457)]()+'/'+_0x5692e2[_0x440c3e(0x371)]+'/object/'+_0x5692e2['objectID']+'/allowed';return(await this[_0x440c3e(0x524)][_0x440c3e(0x203)](_0x240e5d,{'body':_0x5692e2}))[_0x440c3e(0x358)]['actions'];}async[_0x46f17f(0x279)](_0x5adde8){const _0x34f908=_0x46f17f,_0x5c100e=this['_getAPIPrefixPath']()+_0x34f908(0x506);return(await this[_0x34f908(0x524)]['post'](_0x5c100e,{'body':{'requests':_0x5adde8}}))[_0x34f908(0x358)][_0x34f908(0x552)];}async['listRoles'](_0x2194ba){const _0x401e02=_0x46f17f,_0x358a1b=this['_getAPIPrefixPath']()+'/'+_0x2194ba[_0x401e02(0x371)]+_0x401e02(0x58f),_0x2d536e=await this[_0x401e02(0x524)][_0x401e02(0x203)](_0x358a1b,{'body':_0x2194ba});return{'roles':_0x2d536e[_0x401e02(0x358)][_0x401e02(0x3ad)],'actions':_0x2d536e['body'][_0x401e02(0x52f)]};}async[_0x46f17f(0x3b8)](_0x249a20){const _0x358be9=_0x46f17f,_0x38fdb4=this[_0x358be9(0x457)]()+_0x358be9(0x4a4);await this['_HTTPService'][_0x358be9(0x2cd)](_0x38fdb4,{'params':{'collaboratorID':_0x249a20[_0x358be9(0x514)],'objectID':_0x249a20[_0x358be9(0x1de)],'unitID':_0x249a20[_0x358be9(0x498)]}});}async[_0x46f17f(0x163)](_0x13e1e7){const _0xcd6631=_0x46f17f,_0x202b11=this[_0xcd6631(0x457)]()+_0xcd6631(0x4a4);await this[_0xcd6631(0x524)][_0xcd6631(0x4fc)](_0x202b11,{'body':_0x13e1e7});}async[_0x46f17f(0x413)](_0x42da1b){const _0x257448=_0x46f17f,_0xd7c88d=this[_0x257448(0x457)]()+_0x257448(0x4a4);await this[_0x257448(0x524)]['post'](_0xd7c88d,{'body':_0x42da1b});}async[_0x46f17f(0x3cf)](_0x3738d1){const _0x374d4d=_0x46f17f,_0x442710=this[_0x374d4d(0x457)]()+_0x374d4d(0x4a4);return(await this['_HTTPService'][_0x374d4d(0x3e1)](_0x442710,{'params':{'objectID':_0x3738d1[_0x374d4d(0x1de)],'unitID':_0x3738d1[_0x374d4d(0x498)]}}))[_0x374d4d(0x358)][_0x374d4d(0x3e2)];}async[_0x46f17f(0x2da)](_0x2473c2){const _0x50556e=_0x46f17f,_0x6ec6c5=this['_getAPIPrefixPath']()+_0x50556e(0x4a4);await this[_0x50556e(0x524)][_0x50556e(0x470)](_0x6ec6c5,{'body':_0x2473c2});}};function _0x4ae6(){const _0x83dcf7=['loadSheet','permissionRejEvent','_anchor','Error\x20on\x20receiving\x20event','USERS_ENTER','sessionStatus$','actions','COMMENT_UPDATE','/universer-api/stream/file/upload','_docStateChangeManagerService','RemoveColCommandId','reset','_executeRemoteChangeset','CBC','findNodePositionByCharIndex','UNIVER_COLLABORATION_CLIENT_PLUGIN','getCollabCursors$','includes','_transformService','decrypt','_univerInstanceService','registerRefRange','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','compose','_disabled','_render','_decreaseWaiting','univer-pro.collaboration-client-socket-service','UnitSnapshot','unknown','abs','JOINING','onPointerMove$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_retryCount','status','Base','enableSingleActiveInstanceLock','_clearCollaborationTimeoutTimer','defIds','catch','objectActions','setUndoRedoMutationParamsCache','saveImage','blue400','?url=','#fff','_commandService','translate(.97)','round','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','onRemoteAck','roomInfos','joinEvent','_minBufferSize','48nzxYac','_roomMembers$','allowed','SEND_CHANGESET_TIMEOUT','values','getUnitId','awaitingChangeset','APPLY_NON_SEQUENTIAL_REVISION','_socket','APPLY_PERMISSION_DENIED','for','_onRemoteACK','Encryptor','_scheduleClearOtherTimer','hasher','addImageSourceCache','SHA1','status$','newValue','encryptBlock','DeleteRangeMoveUpCommandId','from','routeKey','OffLineSingle','_collabCursorState$','trim','_changesetReqId','collab-client.tooltip.reconnect','_configService','getUndoRedoMutationParamsCache','_memberService','collabStatus.synced','_commentService','_updateSubUnitFromURLParams','change$','CipherParams','CHANGESET_ACK','BufferedBlockAlgorithm','_createSocketURL','format','[DataLoaderController]','debug','telemetry\x20info\x20is\x20not\x20initialized','setActiveRange','fetch_missing','_ENC_XFORM_MODE','_snapshotService','/role','_substituteUndoStack','UNIVER_DOC','Latin1','/universer-api/user/session-ticket','_loadSheet','PERMISSION_REJ','updateCollaborator','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_getSnapshotAPIPrefix','getTypeOfUnitDisposed$','textRanges','_prevBlock','getRenderById','SNAPSHOT_URL_KEY','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','size','_onUserLeave','_document','_urlService','_sendingTimer','join','bottom','drawWith','syncEditingCollabCursor','_onFetchMissResult','_injector','resolve','m2Prime','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getCurrent','getOwnPropertyDescriptor','SYNCED','max','show','url(#$1','Error','JOIN_ROOM_NOT_ALLOWED','collaboration-client.offline-data-not-saved','evenodd','_hovered','roomMembers$','_onConflict','_color','getCurrentUser','crypto','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','number','saveSnapshot','arc','HmacMD5','/allowed','split','addObject','univer-online-status','_updateState','session.room-full','redoState','cmd','substr','_pendingMutations','not_collab','InsertRowCommandId','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','idSuffix','_messageService','_doCryptBlock','exhaustSavingTask','_incrementRevisionNumber','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','collaboration_new_changeset','_transitionLocked','getTime','APPLY_REJECT','setShapeProps','_logService','0\x200\x2017\x2016','_colorIndex','saveOfflineData','updatePermissionObjEvent','pushState','decryptBlock','key','transformSelections','collaboration-session-retry','enableAuthServer','WordArray','_state$','ceil','_telemetryInfo','SerializableCipher','_heartbeatTimer','substring','fillText','unit','HEARTBEAT_TIMEOUT','Undefined','randomUUID','BASE64','data','off-line-single_clip0_910_343','getUnitType','_sheetSkeletonManagerService','onlineStatusIcon','_drawAnchor','_xformMode','refreshPermission','MoveRangeCommandId','fillStyle','name','compute','_saveTaskMap','black','setCurrentUser','session.collaboration-timeout','source','Hex','_event$','history','OFFLINE','_onRemoteRejected','padding','reconnect','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','AES','_updateLocalCursor','LICENSE_IMPORT_SIZE_EXCEEDED','_unlockTransition','image/jpg','univerjs-icon\x20univerjs-icon-','objectID','min','_replaceFileID','IDLE','url','VIEW_MAIN','doc.mutation.rich-text-editing','keySize','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','sid','_online','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','setAlpha','deepClone','_handleJoinEvent','_socket$','getAncestorScale','current','awaiting','reject','_queuedRemoteChangesets','_key','InsertRangeMoveDownCommandId','_setupSubUnitSync','subUnitId','makeDirty','_userManagerService','getCurrentSelections','attrs','asObservable','purple300','session.connection-failed','onReady','saveChangeset','_loadDoc','_cursorInfo$','_map','post','UPDATE_CURSOR','triggerDblclick','_scheduleCollaborationTimeoutTimer','collabStatus.conflict','_clearOtherTimers','_docTransformSelectionsService','offline','\x0aCurrent:\x20','getCollabEntity$','OpenSSL','sin','csAckEvent','PERSON','LICENSE_EXPORT_SIZE_EXCEEDED','onMissedChangesetFetched','/block/','RECV','ref','concat','_uiPartsService','hide','getActiveRange','_data','unload','session','MUTATION','src','headers','children','/universer-api/file/{fileID}/sign-url','getRoom','ws://127.0.0.1:8000/universer-api/comb/connect','setShowComponents','_getAnchorBounding','UNIVER_SHEET','_change$','entries','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_cachedData','ONLINE','COMPLETION_FINISHED','msCrypto','stopTime','_ensureSubject','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','onCommentUpdate','function','_initStatusComponent','originalMeta','_mode','filter','random','_nDataBytes','_transformRemoteChangesetByStateCache','[CollaborationSession]','/universer-api/comb','_invKeySchedule','push','close','LICENSE_MAX_UNITS_EXCEEDED','getDocRanges','_type','eventID','isActive','addEventListener','colorChannel1','dispose$','_registerDependencies','collabStatus.notCollab','reduce','storage','NOT_FOUND','_id','off-line-single','enableLocalCache','collabWebSocketUrl','liveShareNewHost','_initRequestHeader','_transformUndoredo','Fragment','getLatestCsReqIdBySid','_removeCollabCursors','_stopTelemetryCollaborationNewChangeset','subject','_status$','_applyRemoteChangeset','_sender','set','\x20in\x20_schedule.','_renderManagerService','_remoteChangesetQueue','_ws','/universer-api/authz','_substituteRedoStack','_shouldReportTelemetry','/universer-api/oidc/authpage','Univer','map','update','_showConflictNotification','connection\x20error','YUUMI_RATE_OVER_LIMIT','fromCharCode','getTypeOfUnitAdded$','LEAVE','[SyncedState]:\x20received\x20acknowledgement.','LICENSE_DISTRO_REJECTED','FETCH_MISSING','_acknowledgedAwaitingChangeset','?size=','sendChangesetTimeout','_docClipboardService','_state','univer-offline','[OfflineState]:\x20received\x20changeset.','_createHmacHelper','toRgbString','batchAllowed','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_rescheduleHeartbeat','error','_sheetTransformSelectionsService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','div','881699qRAAOb','complete','onTransformRemoteChangesetByIMECache','registerOnClose','_lockTransition','HttpExport','_collaborationTimeoutTimer','_socketMessageSubscription','onTransformRemoteChangesetByStateCache','_refreshCollabCursors','/new_changes','_retryConnectingTimer','csShouldRetryEvent','unshift','getMemberID','getValue','isPermissionRej','engine','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','requireSession','measureText','_http','snapshotServerUrl','_waitForHeartbeatResponse','createDecryptor','NEW_CHANGESETS','commentUpdateEvent','3XuuuVy','_createHelper','_toggleOffline','url(#on-line-single_clip0_910_349)','[CollaborationUndoRedoService]','getMergeData','type','_permissionService','now','onlyLocal','PENDING','svg','createInstance','onSyncEditingCollabCursor','_updateStatus','19316SpUYKt','_getCurrentRevision','TEXT','message$','_onJoinRoomEvent','_createInitialState','title','_transformPreviousActiveRange','byteOffset','USERS_LEAVE','_entityInit$','_disableEditing','_initUnitPermissionChange','/object/','_onCursorUpdate','_clearUndo','startsWith','_shapes','flatMap','propertyIsEnumerable','fill','clearTimeout','_tryEnsureSocket','getInterceptPoints','onMouseMove','OnLineSingle','_telemetryService','_instanceService','_compressMutationService','image/gif','BlockCipherMode','_schedule','_cursors','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','delete','ALREADY_EXISTS','AWAITING_WITH_PENDING','_createHandler','_timeoutTimer','YUUMI_URL_COL_OUT_OF_RANGE','mode','_unitStatus','incrementRevOfUnit','_sessions','_undoRedoService','_startTelemetryCollaborationNewChangeset','APPLY_REVISION_CONFILICT','putCollaborators','_themeService','toggleOnline','_fetchMissChangesets','SUBMIT_CHANGESET','transformStack\x20failed!','_syncEditingCollabCursorService','_initCommandExecutedListener','clearInterval','_collaborationSessionService','text','InsertRangeMoveRightCommandId','append','_oKey','_process','_scene','currentSkeleton$','wsSessionTicketUrl','fromCollab','top','online','&assign=','_getSignURL','[CollaborationSessionService]:\x20socket\x20error','rev','splice','CONFLICT','toggleOffline','_onRemoteRetry','_unitID','_listenToOnlineEvent','onTransformState','verdancy600','AUTHZ_URL_KEY','_transformSelections','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','onlineStatus','restore','on-line-single_clip0_910_349','_initCloseConn','state$','words','_resendTimeout','_transformIMECache','_collaborationController','appendMutation','_onRefRangeChange','setStateCache','_startDocCollabCursor','INGEST','range','height','_keyPriorReset','onCommandExecuted','getImage','UNIVER_SLIDE','onMissingChangesets','_replayCachedMutations','transformChangesets','_initResize','getSheetId','registerHTTPInterceptor','unitId','CHANGESET_SHOULD_RETRY','send','socket$','loadOfflineData','transformMutation','SHOULD_CLOSE_CONN','EvpKDF','_draw','removeMember','onPointerLeave$','action','UNDEFINED','slice','width','Could\x20not\x20dynamically\x20require\x20\x22','isArray','_createSocket','imageSourceType','permission.title','getStateCache','updateOfflineData','xlink:href','_httpService','_registerRenderDependencies','_onCursorDelete','encodeURIComponent','UNIVER_UNKNOWN','socket\x20close','sessionTicket','jsxs','_sendHeartbeatTimer','dispose','bind','_onOffline','_clearHeartbeatTimer','color','LIVESHARE_REQUEST_HOST','_revisionService','updateMember','_updateLocalCache','_resendWithTimeout','TOO_MANY_REQUESTS','HELLO','_initStatusListener','\x0aAfter:\x20','subscribe','clipPath','_transformStack','override','currentColor','_members','onRemoteRej','_updateCollabCursors','create','visibilityState','_imageSourceCache','AWAITING','permission.content','stringify','collabStatus.syncing','univer-online-status-title','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','PSEUDO_FETCH_MISSING_RESULT','body','fetchThroughInterceptors','DEFAULT_FILE_NAME','ERROR_IMAGE','_colorAssignService','_handleHeartbeatEvent','setInterval','[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.','_getSheetObject','getImageSourceCache','unsubscribe','onTransformSelections','onRendered','fillRule','string','replaceState','json','_collaborationPaused','createSocket','origin','submit\x20changeset\x20error!','uploadFileServerUrl','YUUMI_UNABLE_LOAD_URL','clone','ranges','objectType','_throwTelemetryCollaborationNewChangeset','_syncEditingCollabCursor','_send','onTransformIME','MSG_FOR_ERROR','m1Prime','find','cfg','_eventUnsubscribe','_keySchedule','signUrlServerUrl','collabStatus.offline','/unit/','[UniverCollaborationClientPlugin]','method','default','collaboration-client.config','jsx','_anchorDot','_refRangeService','disposeUnit','[OfflineState]:\x20received\x20acknowledgement.','getSheetBlock','_hideTimer','_socketService','collabStatus.fetchMiss','UNRECOGNIZED','/object','image/jpeg','unpad','icon','startColumn','interceptor','disableLocalCache','_handleHover','activeSheet$','updatePermissionPoint','LIVESHARE_NEW_HOST','withCredentials','endRow','JOIN_ROOM_FULL','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','UNKNOWN_CODE','2471070NRsWaG','moveTo','_localStorageService','tag','_reverseMap','_hover','registerBeforeClose','defineProperty','_cursor','blockSize','fetching\x20missing\x20changesets\x20from\x20','call','_init','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_beforeCloseService','ciphertext','roles','shouldCloseConn','_docTransformStateCacheService','docStateChange$','_updateURLWithCurrentState','then','transformIMECache','onTransformChange$','unitId\x20is\x20not\x20found','contains','registerRenderModule','deleteCollaborator','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','COMPRESS_MUTATION_SEND','application/json','conflict.content','memberID','collab-rect-range-','onSendChangeset','getSkeleton','6153957LeEaVQ','getCurrentRevOfUnit','extend','setConfig','_scheduleSaving','c1Prime','_docTransformIMECacheService','processBlock','FromArray','addObjects','onPointerEnter$','univer-pro.collaboration-client.single-active-unit-service','loginUrlKey','collaMsg','listCollaborators','...','_iKey','_collabCursorController','changesets','collabCursorState$','_singleActiveUnitService','onRemoteRetry','clamp','APPLY_DUPLICATED','LIVESHARE_OPERATION','_initEventListeners','_tryReconnect','_candidateSocket','none','cursorInfo$','error$','image/bmp','get','collaborators','mixIn','searchParams','synced','resend','univer-online-status-icon','collab-text-range-','HttpImport','/fetchmissing?from=','_onRemoteChangeset','toLowerCase','visibilitychange','_getUploadFileURL','target','_removeRoom','auth.needGotoLoginAlert','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_session','&to=','c2Prime','setTimeout','_clearScheduledTask','getCollabEntity','_exhaustRemoteChangesetQueue','baseRev','/resources','_getSaveTimeout','_isPermissionRej','/-/object/list','_waitCount','_startCollaboration','_nRounds','_initMergeInterceptor','loadDoc','FETCH_MISS','getOwnPropertySymbols','x-univer-host','length','transformStateCache','_transformUndoRedoStack','react.element','_commentUpdate$','revision','_awaitingChangeset','defs','save','collaboration.single-unit.warning','pad','_context','createCollaborator','awaiting_with_pending','_drawRectRange','UniverIcon','onlineStatusTitle','reqId','repeat','salt','_removeClearOtherTimer','CONNECTOR_DATA_TOO_LARGE','CHANGESET_REVISION_CONFILICT','_roomMembers','_getSendChangesetTimeout','_imageIoService','_getSessionTicket','capture','getRandomValues','_clearLocalCache','initWorkbookPermissionChange','init','conflict','RECT','_handler','_onRecvEvent','undoState','add','_lastPointer','assign','NO_OTHER_CLIENTS_EDITING','getWorkbookSelections','urlChange$','roomMembers','197878Girdqv','_onConnectionFailed','_toggleOnline','symbol','hasOwnProperty','getMember','image/png','MD5','displayName','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_hash','{fileID}','pluginName','_handleLeaveEvent','_assignedColors','isEditing','_entities','StreamCipher','ENSURE_SNAPSHOT_EXECUTION','copyFileMeta','_backgroundColor','SNAPSHOT_SERVER_URL_KEY','INVALID_ARGUMENT','byteLength','_range','apply','_append','finalize','setItem','open$','onStarting','HmacSHA1','with','_getUndoStack','_getRedoStack','collaboration.closeRoom','_getAPIPrefixPath','className','_snapshotServerService','disposeWithMe','HEADER_MENU','getResourcesRequest','_config','_getLoginPath','editingUnit','[PendingState]:\x20received\x20acknowledgement.','code','FileId','SUCCUSS','UPDATE_PERMISSION_OBJ','getRangePointData','BlockCipher','generateRandomId','defaultProps','_localeService','_selfUnitIDs','getFocusedUnit','COMPRESS_MUTATION_APPLY','href','sigBytes','transformMutationsWithChangeset','put','getUnit','transformUndoRedo','subscribeEvent','__Key__','Warning','[PendingState]:\x20received\x20rejection.','[CollaborationEntity]','assignAColorForMemberID','csRejEvent','[CollaborationSessionService]','_submitChangeset','algo','_changesetSessionId','42tsSVqo','retryConnectingInterval','selection','conflict.title','849702LmCLZp','floor','replace','_docSyncEditingCollabCursorService','getUnitStatus$','YUUMI_SUBSCRIPTION_NOT_FOUND','formatter','randomBytes','_socketReady','charCodeAt','_getAPIPrefix','red300','encrypt','hovered','HMAC','onRemoteChangeset','Cipher','rng','_scheduleTimestamp','ivSize','params','closeSession','unitID','42427KsXWEl','has','infoRsp','_createInitialStateImpl','mutations','transformByState','indexOf','workbook','authzUrl','_drawTextRange','setWaitCount','/collaborator','iterations','_notificationService','$super','_startSheetCollabCursor','/rev/','HEARTBEAT','path','_textBubble','beginPath','subunit','LIVESHARE_FETCH_OPERATIONS','column','HEARTBEAT_INTERVAL','lineTo','getConfig','_setupBeforeClosingHandler','exports','_docSkeletonManagerService','toString','2330Yoorqx','parse','cursorInfo','duration','Decryptor','skeleton','SNAPSHOT_HAS_BEEN_REMOVED','_clearRedo','fetchMiss','_onConnectionOpen','FAIL','JOIN','univer-online','getActiveSheet','getUnitOnRev','location','_doFinalize','prototype','_DEC_XFORM_MODE','gold400','UNKNOWN_CMD','OTHER_CLIENTS_EDITING','_onCombEvent','equals','resize','execute','Utf8','__esModule','_getScale','_doReset','_saveCache','_handleEvent','setParam','row','_docSkeleton','sheetId','_checkMissing','_unitOnClients','_onLocalMutation','encode','list','charAt','onload','pipe','_getDownloadEndpointURL','getSheetBySheetId','next','_redoStacks','getAllMembers','_initDependencies','transformRemoteChangeset','_resendTimer','getRelativeToViewportCoord','requestParams','createEncryptor','_listenToOfflineEvent','_iv','avatar','event$','SNAPSHOT_INVALID_SNAPSHOT','_labelPosition','M0\x200H16V16H0z','every','/universer-api/snapshot/','clear','_sessionStatus$','_parse','hidden','patch','_scheduleHeartbeat','_localCacheService','enc','object','Base64','getParam','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','#FFF','save\x20fail\x20reason\x20is\x20','/-/object/-/batch_allowed','ticket','1em','_hasher','UNAUTHENTICATED','_cursorShapes','localeService','UNIVER_PROJECT','POST','kdf','pauseCollaboration','members','_clearTimeoutTimer','sessionStatus','collaboratorID','lib','_transformStateCache','_onUserJoin','COLLAB_SUBMIT_CHANGESET_URL','forEach','Hasher','InsertColCommandId','&source=','leaveEvent','selections','NOT_COLLAB','unit-cache-','executeCommand','editing\x20status\x20changed\x20to','LIVESHARE_TERMINATE','_HTTPService','CHANGESET_REJ','_collabSessionService','_onMessage','_name'];_0x4ae6=function(){return _0x83dcf7;};return _0x4ae6();}ls=Ja([ei(0x0,_0x4e871f(_0x595bc6)),ei(0x1,_0x4e871f(_0x175c85))],ls);var zi={'exports':{}};function Qa(_0x5de023){const _0x12cc6c=_0x46f17f;throw new Error(_0x12cc6c(0x327)+_0x5de023+_0x12cc6c(0x43c));}var Gt={'exports':{}},ti;function ue(){return ti||(ti=0x1,function(_0x38ea78,_0x16149f){(function(_0x5c598e,_0x1a6b6b){const _0x2dc332=_0x1425;_0x38ea78[_0x2dc332(0x4b5)]=_0x1a6b6b();}(Z,function(){var _0x93d9bf=_0x93d9bf||function(_0x177b85,_0x4d9de5){const _0x304755=_0x1425;var _0x5131ec;if(typeof window<'u'&&window[_0x304755(0x189)]&&(_0x5131ec=window[_0x304755(0x189)]),typeof self<'u'&&self[_0x304755(0x189)]&&(_0x5131ec=self[_0x304755(0x189)]),typeof globalThis<'u'&&globalThis[_0x304755(0x189)]&&(_0x5131ec=globalThis[_0x304755(0x189)]),!_0x5131ec&&typeof window<'u'&&window[_0x304755(0x22d)]&&(_0x5131ec=window[_0x304755(0x22d)]),!_0x5131ec&&typeof Z<'u'&&Z[_0x304755(0x189)]&&(_0x5131ec=Z[_0x304755(0x189)]),!_0x5131ec&&typeof Qa==_0x304755(0x232))try{_0x5131ec=require(_0x304755(0x189));}catch{}var _0x334739=function(){const _0x47ce90=_0x304755;if(_0x5131ec){if(typeof _0x5131ec[_0x47ce90(0x423)]==_0x47ce90(0x232))try{return _0x5131ec[_0x47ce90(0x423)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5131ec[_0x47ce90(0x489)]=='function')try{return _0x5131ec['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x47ce90(0x356));},_0x174b9c=Object[_0x304755(0x34e)]||(function(){function _0x22e185(){}return function(_0x1b1ccb){const _0x57c0db=_0x1425;var _0x157d58;return _0x22e185[_0x57c0db(0x4c9)]=_0x1b1ccb,_0x157d58=new _0x22e185(),_0x22e185[_0x57c0db(0x4c9)]=null,_0x157d58;};}()),_0x1f633e={},_0x166d9d=_0x1f633e[_0x304755(0x515)]={},_0xae6cbe=_0x166d9d['Base']=(function(){return{'extend':function(_0x3c55f1){const _0x4a7b9f=_0x1425;var _0x483c1e=_0x174b9c(this);return _0x3c55f1&&_0x483c1e[_0x4a7b9f(0x3e3)](_0x3c55f1),(!_0x483c1e[_0x4a7b9f(0x437)](_0x4a7b9f(0x426))||this[_0x4a7b9f(0x426)]===_0x483c1e['init'])&&(_0x483c1e[_0x4a7b9f(0x426)]=function(){const _0x5bd6fb=_0x4a7b9f;_0x483c1e[_0x5bd6fb(0x4a7)][_0x5bd6fb(0x426)][_0x5bd6fb(0x44c)](this,arguments);}),_0x483c1e[_0x4a7b9f(0x426)][_0x4a7b9f(0x4c9)]=_0x483c1e,_0x483c1e['$super']=this,_0x483c1e;},'create':function(){const _0x7e5eaa=_0x1425;var _0x104093=this[_0x7e5eaa(0x3c3)]();return _0x104093[_0x7e5eaa(0x426)][_0x7e5eaa(0x44c)](_0x104093,arguments),_0x104093;},'init':function(){},'mixIn':function(_0x209e0f){const _0x4034b1=_0x1425;for(var _0x36bd81 in _0x209e0f)_0x209e0f[_0x4034b1(0x437)](_0x36bd81)&&(this[_0x36bd81]=_0x209e0f[_0x36bd81]);_0x209e0f['hasOwnProperty']('toString')&&(this[_0x4034b1(0x4b7)]=_0x209e0f['toString']);},'clone':function(){const _0x1ac1f2=_0x1425;return this['init'][_0x1ac1f2(0x4c9)]['extend'](this);}};}()),_0x50100b=_0x166d9d[_0x304755(0x1b2)]=_0xae6cbe[_0x304755(0x3c3)]({'init':function(_0x143378,_0x40b1eb){const _0x183078=_0x304755;_0x143378=this[_0x183078(0x303)]=_0x143378||[],_0x40b1eb!=_0x4d9de5?this[_0x183078(0x46e)]=_0x40b1eb:this[_0x183078(0x46e)]=_0x143378['length']*0x4;},'toString':function(_0x2cc05e){const _0x5ca871=_0x304755;return(_0x2cc05e||_0xb6b914)[_0x5ca871(0x353)](this);},'concat':function(_0x4515fe){const _0x22ba52=_0x304755;var _0x2381fb=this['words'],_0x19e9e5=_0x4515fe['words'],_0xb33421=this['sigBytes'],_0x39f45e=_0x4515fe[_0x22ba52(0x46e)];if(this['clamp'](),_0xb33421%0x4)for(var _0xb33263=0x0;_0xb33263<_0x39f45e;_0xb33263++){var _0x473538=_0x19e9e5[_0xb33263>>>0x2]>>>0x18-_0xb33263%0x4*0x8&0xff;_0x2381fb[_0xb33421+_0xb33263>>>0x2]|=_0x473538<<0x18-(_0xb33421+_0xb33263)%0x4*0x8;}else{for(var _0x26d4ad=0x0;_0x26d4ad<_0x39f45e;_0x26d4ad+=0x4)_0x2381fb[_0xb33421+_0x26d4ad>>>0x2]=_0x19e9e5[_0x26d4ad>>>0x2];}return this[_0x22ba52(0x46e)]+=_0x39f45e,this;},'clamp':function(){const _0x36086d=_0x304755;var _0x30a1e2=this[_0x36086d(0x303)],_0x1a3d89=this['sigBytes'];_0x30a1e2[_0x1a3d89>>>0x2]&=0xffffffff<<0x20-_0x1a3d89%0x4*0x8,_0x30a1e2['length']=_0x177b85[_0x36086d(0x1b4)](_0x1a3d89/0x4);},'clone':function(){const _0x5ae5fd=_0x304755;var _0x7d377e=_0xae6cbe['clone'][_0x5ae5fd(0x3a8)](this);return _0x7d377e[_0x5ae5fd(0x303)]=this[_0x5ae5fd(0x303)][_0x5ae5fd(0x325)](0x0),_0x7d377e;},'random':function(_0x4a543d){const _0x54c117=_0x304755;for(var _0x5b1337=[],_0xf5c646=0x0;_0xf5c646<_0x4a543d;_0xf5c646+=0x4)_0x5b1337['push'](_0x334739());return new _0x50100b[(_0x54c117(0x426))](_0x5b1337,_0x4a543d);}}),_0x2e6aa7=_0x1f633e['enc']={},_0xb6b914=_0x2e6aa7[_0x304755(0x1d0)]={'stringify':function(_0x1268e4){const _0x5a3914=_0x304755;for(var _0x2e0006=_0x1268e4[_0x5a3914(0x303)],_0x692464=_0x1268e4['sigBytes'],_0x459a7d=[],_0x386176=0x0;_0x386176<_0x692464;_0x386176++){var _0x5b6b4e=_0x2e0006[_0x386176>>>0x2]>>>0x18-_0x386176%0x4*0x8&0xff;_0x459a7d[_0x5a3914(0x23d)]((_0x5b6b4e>>>0x4)[_0x5a3914(0x4b7)](0x10)),_0x459a7d[_0x5a3914(0x23d)]((_0x5b6b4e&0xf)[_0x5a3914(0x4b7)](0x10));}return _0x459a7d['join']('');},'parse':function(_0x49b32a){const _0x305923=_0x304755;for(var _0x2491be=_0x49b32a[_0x305923(0x407)],_0x42bc87=[],_0xf06d04=0x0;_0xf06d04<_0x2491be;_0xf06d04+=0x2)_0x42bc87[_0xf06d04>>>0x3]|=parseInt(_0x49b32a[_0x305923(0x197)](_0xf06d04,0x2),0x10)<<0x18-_0xf06d04%0x8*0x4;return new _0x50100b[(_0x305923(0x426))](_0x42bc87,_0x2491be/0x2);}},_0x455960=_0x2e6aa7[_0x304755(0x15f)]={'stringify':function(_0x2e27f0){const _0x3266a3=_0x304755;for(var _0x5efc4c=_0x2e27f0[_0x3266a3(0x303)],_0xd6d4f6=_0x2e27f0[_0x3266a3(0x46e)],_0x28750d=[],_0x3e5918=0x0;_0x3e5918<_0xd6d4f6;_0x3e5918++){var _0x3fa301=_0x5efc4c[_0x3e5918>>>0x2]>>>0x18-_0x3e5918%0x4*0x8&0xff;_0x28750d['push'](String[_0x3266a3(0x26a)](_0x3fa301));}return _0x28750d[_0x3266a3(0x171)]('');},'parse':function(_0x12cc6b){const _0x4bac7e=_0x304755;for(var _0x28f784=_0x12cc6b['length'],_0x1773a7=[],_0x100d35=0x0;_0x100d35<_0x28f784;_0x100d35++)_0x1773a7[_0x100d35>>>0x2]|=(_0x12cc6b[_0x4bac7e(0x48b)](_0x100d35)&0xff)<<0x18-_0x100d35%0x4*0x8;return new _0x50100b[(_0x4bac7e(0x426))](_0x1773a7,_0x28f784);}},_0x2e3530=_0x2e6aa7[_0x304755(0x4d2)]={'stringify':function(_0x349192){try{return decodeURIComponent(escape(_0x455960['stringify'](_0x349192)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x3964e8){return _0x455960['parse'](unescape(encodeURIComponent(_0x3964e8)));}},_0x30e339=_0x166d9d[_0x304755(0x585)]=_0xae6cbe['extend']({'reset':function(){this['_data']=new _0x50100b['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x108b28){const _0x10fc60=_0x304755;typeof _0x108b28=='string'&&(_0x108b28=_0x2e3530[_0x10fc60(0x4b9)](_0x108b28)),this[_0x10fc60(0x21a)][_0x10fc60(0x216)](_0x108b28),this[_0x10fc60(0x238)]+=_0x108b28[_0x10fc60(0x46e)];},'_process':function(_0x193254){const _0xc54014=_0x304755;var _0xdf0004,_0x357244=this['_data'],_0x20c88e=_0x357244[_0xc54014(0x303)],_0x18c85a=_0x357244[_0xc54014(0x46e)],_0x15a638=this[_0xc54014(0x3a6)],_0x49f302=_0x15a638*0x4,_0x46a879=_0x18c85a/_0x49f302;_0x193254?_0x46a879=_0x177b85[_0xc54014(0x1b4)](_0x46a879):_0x46a879=_0x177b85[_0xc54014(0x17d)]((_0x46a879|0x0)-this[_0xc54014(0x55f)],0x0);var _0x505363=_0x46a879*_0x15a638,_0x2b77a1=_0x177b85[_0xc54014(0x1df)](_0x505363*0x4,_0x18c85a);if(_0x505363){for(var _0x437042=0x0;_0x437042<_0x505363;_0x437042+=_0x15a638)this['_doProcessBlock'](_0x20c88e,_0x437042);_0xdf0004=_0x20c88e[_0xc54014(0x2f3)](0x0,_0x505363),_0x357244[_0xc54014(0x46e)]-=_0x2b77a1;}return new _0x50100b['init'](_0xdf0004,_0x2b77a1);},'clone':function(){const _0x3bc89b=_0x304755;var _0x5261cf=_0xae6cbe['clone'][_0x3bc89b(0x3a8)](this);return _0x5261cf[_0x3bc89b(0x21a)]=this[_0x3bc89b(0x21a)][_0x3bc89b(0x36f)](),_0x5261cf;},'_minBufferSize':0x0});_0x166d9d['Hasher']=_0x30e339[_0x304755(0x3c3)]({'cfg':_0xae6cbe[_0x304755(0x3c3)](),'init':function(_0x347edd){const _0x23e008=_0x304755;this['cfg']=this[_0x23e008(0x379)][_0x23e008(0x3c3)](_0x347edd),this[_0x23e008(0x534)]();},'reset':function(){const _0x64fb02=_0x304755;_0x30e339[_0x64fb02(0x534)][_0x64fb02(0x3a8)](this),this[_0x64fb02(0x4d5)]();},'update':function(_0xa52a0e){const _0x3cbb18=_0x304755;return this[_0x3cbb18(0x44d)](_0xa52a0e),this[_0x3cbb18(0x2e8)](),this;},'finalize':function(_0x3bbd16){const _0x3a45dc=_0x304755;_0x3bbd16&&this[_0x3a45dc(0x44d)](_0x3bbd16);var _0x4ffefb=this[_0x3a45dc(0x4c8)]();return _0x4ffefb;},'blockSize':0x10,'_createHelper':function(_0x371555){return function(_0x3f974b,_0x29b00e){const _0xd760e=_0x1425;return new _0x371555[(_0xd760e(0x426))](_0x29b00e)['finalize'](_0x3f974b);};},'_createHmacHelper':function(_0x3abf25){return function(_0x14ff1b,_0x238222){const _0x5652a8=_0x1425;return new _0x4442d8[(_0x5652a8(0x490))][(_0x5652a8(0x426))](_0x3abf25,_0x238222)[_0x5652a8(0x44e)](_0x14ff1b);};}});var _0x4442d8=_0x1f633e[_0x304755(0x47c)]={};return _0x1f633e;}(Math);return _0x93d9bf;}));}(Gt)),Gt['exports'];}var Yt={'exports':{}},si;function qi(){const _0x2f024a=_0x46f17f;return si||(si=0x1,function(_0x45361b,_0x4157b6){(function(_0x1ac2c0,_0x126022){const _0x2b59f6=_0x1425;_0x45361b[_0x2b59f6(0x4b5)]=_0x126022(ue());}(Z,function(_0x33e1b6){const _0x30a034=_0x1425;return(function(){const _0x413aa6=_0x1425;var _0x4df3af=_0x33e1b6,_0x166e35=_0x4df3af['lib'],_0x86072a=_0x166e35['WordArray'],_0x116b30=_0x4df3af[_0x413aa6(0x4ff)];_0x116b30[_0x413aa6(0x501)]={'stringify':function(_0x340b6a){const _0x5f28cc=_0x413aa6;var _0x803652=_0x340b6a[_0x5f28cc(0x303)],_0x40b079=_0x340b6a[_0x5f28cc(0x46e)],_0x375b39=this[_0x5f28cc(0x202)];_0x340b6a[_0x5f28cc(0x3d7)]();for(var _0x5aeba9=[],_0x3bcd6e=0x0;_0x3bcd6e<_0x40b079;_0x3bcd6e+=0x3)for(var _0x35be5a=_0x803652[_0x3bcd6e>>>0x2]>>>0x18-_0x3bcd6e%0x4*0x8&0xff,_0x2a2483=_0x803652[_0x3bcd6e+0x1>>>0x2]>>>0x18-(_0x3bcd6e+0x1)%0x4*0x8&0xff,_0x1ddfe5=_0x803652[_0x3bcd6e+0x2>>>0x2]>>>0x18-(_0x3bcd6e+0x2)%0x4*0x8&0xff,_0x57fbb4=_0x35be5a<<0x10|_0x2a2483<<0x8|_0x1ddfe5,_0xc70885=0x0;_0xc70885<0x4&&_0x3bcd6e+_0xc70885*0.75<_0x40b079;_0xc70885++)_0x5aeba9[_0x5f28cc(0x23d)](_0x375b39[_0x5f28cc(0x4e1)](_0x57fbb4>>>0x6*(0x3-_0xc70885)&0x3f));var _0x346fb0=_0x375b39[_0x5f28cc(0x4e1)](0x40);if(_0x346fb0){for(;_0x5aeba9['length']%0x4;)_0x5aeba9[_0x5f28cc(0x23d)](_0x346fb0);}return _0x5aeba9['join']('');},'parse':function(_0x5b7709){const _0x11e23e=_0x413aa6;var _0x57ced5=_0x5b7709[_0x11e23e(0x407)],_0x9cf195=this['_map'],_0x529cc9=this[_0x11e23e(0x3a1)];if(!_0x529cc9){_0x529cc9=this[_0x11e23e(0x3a1)]=[];for(var _0x4913fb=0x0;_0x4913fb<_0x9cf195['length'];_0x4913fb++)_0x529cc9[_0x9cf195[_0x11e23e(0x48b)](_0x4913fb)]=_0x4913fb;}var _0x17abe2=_0x9cf195[_0x11e23e(0x4e1)](0x40);if(_0x17abe2){var _0x3d6022=_0x5b7709[_0x11e23e(0x49f)](_0x17abe2);_0x3d6022!==-0x1&&(_0x57ced5=_0x3d6022);}return _0x711b9e(_0x5b7709,_0x57ced5,_0x529cc9);},'_map':_0x413aa6(0x3b9)};function _0x711b9e(_0x22a6ac,_0x27a399,_0x2535b4){const _0x54bf33=_0x413aa6;for(var _0x2bdebb=[],_0x235afd=0x0,_0x50792c=0x0;_0x50792c<_0x27a399;_0x50792c++)if(_0x50792c%0x4){var _0x2b43f7=_0x2535b4[_0x22a6ac[_0x54bf33(0x48b)](_0x50792c-0x1)]<<_0x50792c%0x4*0x2,_0x23ed6c=_0x2535b4[_0x22a6ac['charCodeAt'](_0x50792c)]>>>0x6-_0x50792c%0x4*0x2,_0x21ee19=_0x2b43f7|_0x23ed6c;_0x2bdebb[_0x235afd>>>0x2]|=_0x21ee19<<0x18-_0x235afd%0x4*0x8,_0x235afd++;}return _0x86072a[_0x54bf33(0x34e)](_0x2bdebb,_0x235afd);}}()),_0x33e1b6[_0x30a034(0x4ff)]['Base64'];}));}(Yt)),Yt[_0x2f024a(0x4b5)];}var Kt={'exports':{}},ii;function ec(){const _0x27df0d=_0x46f17f;return ii||(ii=0x1,function(_0x4df853,_0x1f7acb){(function(_0x25fe89,_0x196d47){const _0x48044f=_0x1425;_0x4df853[_0x48044f(0x4b5)]=_0x196d47(ue());}(Z,function(_0x3b3853){const _0x33de99=_0x1425;return function(_0x231776){const _0x5afdb9=_0x1425;var _0x390586=_0x3b3853,_0xd6d205=_0x390586[_0x5afdb9(0x515)],_0x1e1c51=_0xd6d205[_0x5afdb9(0x1b2)],_0x3728ac=_0xd6d205[_0x5afdb9(0x51a)],_0x22534a=_0x390586[_0x5afdb9(0x47c)],_0x2f235e=[];(function(){const _0x42fba1=_0x5afdb9;for(var _0x56ce99=0x0;_0x56ce99<0x40;_0x56ce99++)_0x2f235e[_0x56ce99]=_0x231776[_0x42fba1(0x547)](_0x231776[_0x42fba1(0x20e)](_0x56ce99+0x1))*0x100000000|0x0;}());var _0x4e4ff5=_0x22534a['MD5']=_0x3728ac[_0x5afdb9(0x3c3)]({'_doReset':function(){const _0x54ddcf=_0x5afdb9;this[_0x54ddcf(0x43d)]=new _0x1e1c51[(_0x54ddcf(0x426))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xb38d24,_0x1d0f2f){const _0x3ac7f0=_0x5afdb9;for(var _0x1309ab=0x0;_0x1309ab<0x10;_0x1309ab++){var _0x1f12e3=_0x1d0f2f+_0x1309ab,_0x156e8c=_0xb38d24[_0x1f12e3];_0xb38d24[_0x1f12e3]=(_0x156e8c<<0x8|_0x156e8c>>>0x18)&0xff00ff|(_0x156e8c<<0x18|_0x156e8c>>>0x8)&0xff00ff00;}var _0x4d7292=this[_0x3ac7f0(0x43d)][_0x3ac7f0(0x303)],_0x201144=_0xb38d24[_0x1d0f2f+0x0],_0x5b7667=_0xb38d24[_0x1d0f2f+0x1],_0x1b8862=_0xb38d24[_0x1d0f2f+0x2],_0x52e07e=_0xb38d24[_0x1d0f2f+0x3],_0x266f40=_0xb38d24[_0x1d0f2f+0x4],_0x4759a0=_0xb38d24[_0x1d0f2f+0x5],_0x5053f8=_0xb38d24[_0x1d0f2f+0x6],_0x558704=_0xb38d24[_0x1d0f2f+0x7],_0x410588=_0xb38d24[_0x1d0f2f+0x8],_0x592de5=_0xb38d24[_0x1d0f2f+0x9],_0x11826d=_0xb38d24[_0x1d0f2f+0xa],_0x416379=_0xb38d24[_0x1d0f2f+0xb],_0x55b357=_0xb38d24[_0x1d0f2f+0xc],_0x85e016=_0xb38d24[_0x1d0f2f+0xd],_0x3ff003=_0xb38d24[_0x1d0f2f+0xe],_0x5a56d7=_0xb38d24[_0x1d0f2f+0xf],_0x434761=_0x4d7292[0x0],_0x48dd93=_0x4d7292[0x1],_0x300d53=_0x4d7292[0x2],_0x4ff982=_0x4d7292[0x3];_0x434761=_0x21b7e7(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x201144,0x7,_0x2f235e[0x0]),_0x4ff982=_0x21b7e7(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x5b7667,0xc,_0x2f235e[0x1]),_0x300d53=_0x21b7e7(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x1b8862,0x11,_0x2f235e[0x2]),_0x48dd93=_0x21b7e7(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x52e07e,0x16,_0x2f235e[0x3]),_0x434761=_0x21b7e7(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x266f40,0x7,_0x2f235e[0x4]),_0x4ff982=_0x21b7e7(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x4759a0,0xc,_0x2f235e[0x5]),_0x300d53=_0x21b7e7(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x5053f8,0x11,_0x2f235e[0x6]),_0x48dd93=_0x21b7e7(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x558704,0x16,_0x2f235e[0x7]),_0x434761=_0x21b7e7(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x410588,0x7,_0x2f235e[0x8]),_0x4ff982=_0x21b7e7(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x592de5,0xc,_0x2f235e[0x9]),_0x300d53=_0x21b7e7(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x11826d,0x11,_0x2f235e[0xa]),_0x48dd93=_0x21b7e7(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x416379,0x16,_0x2f235e[0xb]),_0x434761=_0x21b7e7(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x55b357,0x7,_0x2f235e[0xc]),_0x4ff982=_0x21b7e7(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x85e016,0xc,_0x2f235e[0xd]),_0x300d53=_0x21b7e7(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x3ff003,0x11,_0x2f235e[0xe]),_0x48dd93=_0x21b7e7(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x5a56d7,0x16,_0x2f235e[0xf]),_0x434761=_0x511951(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x5b7667,0x5,_0x2f235e[0x10]),_0x4ff982=_0x511951(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x5053f8,0x9,_0x2f235e[0x11]),_0x300d53=_0x511951(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x416379,0xe,_0x2f235e[0x12]),_0x48dd93=_0x511951(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x201144,0x14,_0x2f235e[0x13]),_0x434761=_0x511951(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x4759a0,0x5,_0x2f235e[0x14]),_0x4ff982=_0x511951(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x11826d,0x9,_0x2f235e[0x15]),_0x300d53=_0x511951(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x5a56d7,0xe,_0x2f235e[0x16]),_0x48dd93=_0x511951(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x266f40,0x14,_0x2f235e[0x17]),_0x434761=_0x511951(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x592de5,0x5,_0x2f235e[0x18]),_0x4ff982=_0x511951(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x3ff003,0x9,_0x2f235e[0x19]),_0x300d53=_0x511951(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x52e07e,0xe,_0x2f235e[0x1a]),_0x48dd93=_0x511951(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x410588,0x14,_0x2f235e[0x1b]),_0x434761=_0x511951(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x85e016,0x5,_0x2f235e[0x1c]),_0x4ff982=_0x511951(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x1b8862,0x9,_0x2f235e[0x1d]),_0x300d53=_0x511951(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x558704,0xe,_0x2f235e[0x1e]),_0x48dd93=_0x511951(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x55b357,0x14,_0x2f235e[0x1f]),_0x434761=_0x553eae(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x4759a0,0x4,_0x2f235e[0x20]),_0x4ff982=_0x553eae(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x410588,0xb,_0x2f235e[0x21]),_0x300d53=_0x553eae(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x416379,0x10,_0x2f235e[0x22]),_0x48dd93=_0x553eae(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x3ff003,0x17,_0x2f235e[0x23]),_0x434761=_0x553eae(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x5b7667,0x4,_0x2f235e[0x24]),_0x4ff982=_0x553eae(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x266f40,0xb,_0x2f235e[0x25]),_0x300d53=_0x553eae(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x558704,0x10,_0x2f235e[0x26]),_0x48dd93=_0x553eae(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x11826d,0x17,_0x2f235e[0x27]),_0x434761=_0x553eae(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x85e016,0x4,_0x2f235e[0x28]),_0x4ff982=_0x553eae(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x201144,0xb,_0x2f235e[0x29]),_0x300d53=_0x553eae(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x52e07e,0x10,_0x2f235e[0x2a]),_0x48dd93=_0x553eae(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x5053f8,0x17,_0x2f235e[0x2b]),_0x434761=_0x553eae(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x592de5,0x4,_0x2f235e[0x2c]),_0x4ff982=_0x553eae(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x55b357,0xb,_0x2f235e[0x2d]),_0x300d53=_0x553eae(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x5a56d7,0x10,_0x2f235e[0x2e]),_0x48dd93=_0x553eae(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x1b8862,0x17,_0x2f235e[0x2f]),_0x434761=_0x4ec13b(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x201144,0x6,_0x2f235e[0x30]),_0x4ff982=_0x4ec13b(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x558704,0xa,_0x2f235e[0x31]),_0x300d53=_0x4ec13b(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x3ff003,0xf,_0x2f235e[0x32]),_0x48dd93=_0x4ec13b(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x4759a0,0x15,_0x2f235e[0x33]),_0x434761=_0x4ec13b(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x55b357,0x6,_0x2f235e[0x34]),_0x4ff982=_0x4ec13b(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x52e07e,0xa,_0x2f235e[0x35]),_0x300d53=_0x4ec13b(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x11826d,0xf,_0x2f235e[0x36]),_0x48dd93=_0x4ec13b(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x5b7667,0x15,_0x2f235e[0x37]),_0x434761=_0x4ec13b(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x410588,0x6,_0x2f235e[0x38]),_0x4ff982=_0x4ec13b(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x5a56d7,0xa,_0x2f235e[0x39]),_0x300d53=_0x4ec13b(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x5053f8,0xf,_0x2f235e[0x3a]),_0x48dd93=_0x4ec13b(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x85e016,0x15,_0x2f235e[0x3b]),_0x434761=_0x4ec13b(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x266f40,0x6,_0x2f235e[0x3c]),_0x4ff982=_0x4ec13b(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x416379,0xa,_0x2f235e[0x3d]),_0x300d53=_0x4ec13b(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x1b8862,0xf,_0x2f235e[0x3e]),_0x48dd93=_0x4ec13b(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x592de5,0x15,_0x2f235e[0x3f]),_0x4d7292[0x0]=_0x4d7292[0x0]+_0x434761|0x0,_0x4d7292[0x1]=_0x4d7292[0x1]+_0x48dd93|0x0,_0x4d7292[0x2]=_0x4d7292[0x2]+_0x300d53|0x0,_0x4d7292[0x3]=_0x4d7292[0x3]+_0x4ff982|0x0;},'_doFinalize':function(){const _0x181fc8=_0x5afdb9;var _0x3d316b=this[_0x181fc8(0x21a)],_0x41e2c2=_0x3d316b[_0x181fc8(0x303)],_0x4bcef4=this[_0x181fc8(0x238)]*0x8,_0x5988f6=_0x3d316b[_0x181fc8(0x46e)]*0x8;_0x41e2c2[_0x5988f6>>>0x5]|=0x80<<0x18-_0x5988f6%0x20;var _0x72d595=_0x231776[_0x181fc8(0x483)](_0x4bcef4/0x100000000),_0x459416=_0x4bcef4;_0x41e2c2[(_0x5988f6+0x40>>>0x9<<0x4)+0xf]=(_0x72d595<<0x8|_0x72d595>>>0x18)&0xff00ff|(_0x72d595<<0x18|_0x72d595>>>0x8)&0xff00ff00,_0x41e2c2[(_0x5988f6+0x40>>>0x9<<0x4)+0xe]=(_0x459416<<0x8|_0x459416>>>0x18)&0xff00ff|(_0x459416<<0x18|_0x459416>>>0x8)&0xff00ff00,_0x3d316b[_0x181fc8(0x46e)]=(_0x41e2c2[_0x181fc8(0x407)]+0x1)*0x4,this[_0x181fc8(0x2e8)]();for(var _0x1a5813=this[_0x181fc8(0x43d)],_0x878618=_0x1a5813[_0x181fc8(0x303)],_0x1b8b43=0x0;_0x1b8b43<0x4;_0x1b8b43++){var _0x422d88=_0x878618[_0x1b8b43];_0x878618[_0x1b8b43]=(_0x422d88<<0x8|_0x422d88>>>0x18)&0xff00ff|(_0x422d88<<0x18|_0x422d88>>>0x8)&0xff00ff00;}return _0x1a5813;},'clone':function(){const _0xa41d1c=_0x5afdb9;var _0x346ad1=_0x3728ac[_0xa41d1c(0x36f)][_0xa41d1c(0x3a8)](this);return _0x346ad1[_0xa41d1c(0x43d)]=this['_hash']['clone'](),_0x346ad1;}});function _0x21b7e7(_0x252aa3,_0x54be2b,_0x6e36e9,_0x5e0107,_0xfda996,_0x3d296d,_0x43ab69){var _0x401b17=_0x252aa3+(_0x54be2b&_0x6e36e9|~_0x54be2b&_0x5e0107)+_0xfda996+_0x43ab69;return(_0x401b17<<_0x3d296d|_0x401b17>>>0x20-_0x3d296d)+_0x54be2b;}function _0x511951(_0x2399c0,_0x13224b,_0x2d0a6a,_0x405d2a,_0x3da3e8,_0x1f0e40,_0x16a4b0){var _0x261bc3=_0x2399c0+(_0x13224b&_0x405d2a|_0x2d0a6a&~_0x405d2a)+_0x3da3e8+_0x16a4b0;return(_0x261bc3<<_0x1f0e40|_0x261bc3>>>0x20-_0x1f0e40)+_0x13224b;}function _0x553eae(_0x3fbbb6,_0x15ae05,_0x5d0f92,_0x21356b,_0x3c9745,_0x273547,_0x565051){var _0x4ae9b7=_0x3fbbb6+(_0x15ae05^_0x5d0f92^_0x21356b)+_0x3c9745+_0x565051;return(_0x4ae9b7<<_0x273547|_0x4ae9b7>>>0x20-_0x273547)+_0x15ae05;}function _0x4ec13b(_0x22f18e,_0x1dad54,_0x36ed23,_0x1daa98,_0x45cf1d,_0x305c73,_0x19a47e){var _0x52a322=_0x22f18e+(_0x36ed23^(_0x1dad54|~_0x1daa98))+_0x45cf1d+_0x19a47e;return(_0x52a322<<_0x305c73|_0x52a322>>>0x20-_0x305c73)+_0x1dad54;}_0x390586[_0x5afdb9(0x43a)]=_0x3728ac[_0x5afdb9(0x29d)](_0x4e4ff5),_0x390586[_0x5afdb9(0x18e)]=_0x3728ac[_0x5afdb9(0x277)](_0x4e4ff5);}(Math),_0x3b3853[_0x33de99(0x43a)];}));}(Kt)),Kt[_0x27df0d(0x4b5)];}var zt={'exports':{}},qt={'exports':{}},ri;function tc(){const _0xc074d=_0x46f17f;return ri||(ri=0x1,function(_0x4595a8,_0x13836e){(function(_0x5316e8,_0x5cfd4f){const _0x2bc5f6=_0x1425;_0x4595a8[_0x2bc5f6(0x4b5)]=_0x5cfd4f(ue());}(Z,function(_0x1ff840){const _0x52ddf5=_0x1425;return(function(){const _0x5f0cb7=_0x1425;var _0x4ccb6d=_0x1ff840,_0x30087e=_0x4ccb6d['lib'],_0x20d6a4=_0x30087e[_0x5f0cb7(0x1b2)],_0x3b9def=_0x30087e[_0x5f0cb7(0x51a)],_0x1d838b=_0x4ccb6d[_0x5f0cb7(0x47c)],_0x34e1f2=[],_0x2d1a1d=_0x1d838b[_0x5f0cb7(0x570)]=_0x3b9def[_0x5f0cb7(0x3c3)]({'_doReset':function(){const _0x1ae526=_0x5f0cb7;this[_0x1ae526(0x43d)]=new _0x20d6a4[(_0x1ae526(0x426))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x357776,_0x2a469c){const _0x4077c4=_0x5f0cb7;for(var _0x3339e1=this[_0x4077c4(0x43d)][_0x4077c4(0x303)],_0x5e89d3=_0x3339e1[0x0],_0x10a940=_0x3339e1[0x1],_0x48a84d=_0x3339e1[0x2],_0xa154f6=_0x3339e1[0x3],_0x33b64e=_0x3339e1[0x4],_0x441ff1=0x0;_0x441ff1<0x50;_0x441ff1++){if(_0x441ff1<0x10)_0x34e1f2[_0x441ff1]=_0x357776[_0x2a469c+_0x441ff1]|0x0;else{var _0x415015=_0x34e1f2[_0x441ff1-0x3]^_0x34e1f2[_0x441ff1-0x8]^_0x34e1f2[_0x441ff1-0xe]^_0x34e1f2[_0x441ff1-0x10];_0x34e1f2[_0x441ff1]=_0x415015<<0x1|_0x415015>>>0x1f;}var _0x1f8caa=(_0x5e89d3<<0x5|_0x5e89d3>>>0x1b)+_0x33b64e+_0x34e1f2[_0x441ff1];_0x441ff1<0x14?_0x1f8caa+=(_0x10a940&_0x48a84d|~_0x10a940&_0xa154f6)+0x5a827999:_0x441ff1<0x28?_0x1f8caa+=(_0x10a940^_0x48a84d^_0xa154f6)+0x6ed9eba1:_0x441ff1<0x3c?_0x1f8caa+=(_0x10a940&_0x48a84d|_0x10a940&_0xa154f6|_0x48a84d&_0xa154f6)-0x70e44324:_0x1f8caa+=(_0x10a940^_0x48a84d^_0xa154f6)-0x359d3e2a,_0x33b64e=_0xa154f6,_0xa154f6=_0x48a84d,_0x48a84d=_0x10a940<<0x1e|_0x10a940>>>0x2,_0x10a940=_0x5e89d3,_0x5e89d3=_0x1f8caa;}_0x3339e1[0x0]=_0x3339e1[0x0]+_0x5e89d3|0x0,_0x3339e1[0x1]=_0x3339e1[0x1]+_0x10a940|0x0,_0x3339e1[0x2]=_0x3339e1[0x2]+_0x48a84d|0x0,_0x3339e1[0x3]=_0x3339e1[0x3]+_0xa154f6|0x0,_0x3339e1[0x4]=_0x3339e1[0x4]+_0x33b64e|0x0;},'_doFinalize':function(){const _0x8766c5=_0x5f0cb7;var _0x362b98=this[_0x8766c5(0x21a)],_0x313ee0=_0x362b98[_0x8766c5(0x303)],_0x1b245d=this['_nDataBytes']*0x8,_0x13178a=_0x362b98[_0x8766c5(0x46e)]*0x8;return _0x313ee0[_0x13178a>>>0x5]|=0x80<<0x18-_0x13178a%0x20,_0x313ee0[(_0x13178a+0x40>>>0x9<<0x4)+0xe]=Math[_0x8766c5(0x483)](_0x1b245d/0x100000000),_0x313ee0[(_0x13178a+0x40>>>0x9<<0x4)+0xf]=_0x1b245d,_0x362b98['sigBytes']=_0x313ee0[_0x8766c5(0x407)]*0x4,this[_0x8766c5(0x2e8)](),this[_0x8766c5(0x43d)];},'clone':function(){const _0x17421d=_0x5f0cb7;var _0x2dbb37=_0x3b9def[_0x17421d(0x36f)][_0x17421d(0x3a8)](this);return _0x2dbb37[_0x17421d(0x43d)]=this['_hash'][_0x17421d(0x36f)](),_0x2dbb37;}});_0x4ccb6d[_0x5f0cb7(0x570)]=_0x3b9def[_0x5f0cb7(0x29d)](_0x2d1a1d),_0x4ccb6d[_0x5f0cb7(0x452)]=_0x3b9def[_0x5f0cb7(0x277)](_0x2d1a1d);}()),_0x1ff840[_0x52ddf5(0x570)];}));}(qt)),qt[_0xc074d(0x4b5)];}var Xt={'exports':{}},ni;function sc(){return ni||(ni=0x1,function(_0x198aa9,_0x33ddb2){(function(_0x55928f,_0x3f5ef6){const _0xf8d072=_0x1425;_0x198aa9[_0xf8d072(0x4b5)]=_0x3f5ef6(ue());}(Z,function(_0x17b83f){(function(){const _0x130aa4=_0x1425;var _0x53067f=_0x17b83f,_0x4b4bdf=_0x53067f[_0x130aa4(0x515)],_0x20789e=_0x4b4bdf[_0x130aa4(0x54d)],_0x5bdf08=_0x53067f[_0x130aa4(0x4ff)],_0x525226=_0x5bdf08['Utf8'],_0x310e1b=_0x53067f['algo'];_0x310e1b[_0x130aa4(0x490)]=_0x20789e[_0x130aa4(0x3c3)]({'init':function(_0x5e3e87,_0x19148f){const _0x5de506=_0x130aa4;_0x5e3e87=this[_0x5de506(0x509)]=new _0x5e3e87['init'](),typeof _0x19148f==_0x5de506(0x366)&&(_0x19148f=_0x525226[_0x5de506(0x4b9)](_0x19148f));var _0x1ecf09=_0x5e3e87[_0x5de506(0x3a6)],_0x2c2c92=_0x1ecf09*0x4;_0x19148f[_0x5de506(0x46e)]>_0x2c2c92&&(_0x19148f=_0x5e3e87[_0x5de506(0x44e)](_0x19148f)),_0x19148f[_0x5de506(0x3d7)]();for(var _0x39957b=this[_0x5de506(0x2e7)]=_0x19148f[_0x5de506(0x36f)](),_0x59c87=this[_0x5de506(0x3d1)]=_0x19148f[_0x5de506(0x36f)](),_0x2257a4=_0x39957b['words'],_0xfd9b4e=_0x59c87['words'],_0xe9c51b=0x0;_0xe9c51b<_0x1ecf09;_0xe9c51b++)_0x2257a4[_0xe9c51b]^=0x5c5c5c5c,_0xfd9b4e[_0xe9c51b]^=0x36363636;_0x39957b[_0x5de506(0x46e)]=_0x59c87['sigBytes']=_0x2c2c92,this[_0x5de506(0x534)]();},'reset':function(){const _0x4d66ad=_0x130aa4;var _0x216b60=this['_hasher'];_0x216b60[_0x4d66ad(0x534)](),_0x216b60[_0x4d66ad(0x266)](this['_iKey']);},'update':function(_0x121a17){const _0x1eaa0d=_0x130aa4;return this[_0x1eaa0d(0x509)][_0x1eaa0d(0x266)](_0x121a17),this;},'finalize':function(_0x19d332){const _0x4505d9=_0x130aa4;var _0x56c138=this['_hasher'],_0x1a92c9=_0x56c138[_0x4505d9(0x44e)](_0x19d332);_0x56c138[_0x4505d9(0x534)]();var _0x558f34=_0x56c138[_0x4505d9(0x44e)](this[_0x4505d9(0x2e7)][_0x4505d9(0x36f)]()[_0x4505d9(0x216)](_0x1a92c9));return _0x558f34;}});}());}));}(Xt)),Xt['exports'];}var oi;function Xi(){const _0x1fdfcf=_0x46f17f;return oi||(oi=0x1,function(_0x451345,_0x11326a){(function(_0x4a5ec1,_0x297a22,_0x15ce07){const _0x2c3be4=_0x1425;_0x451345[_0x2c3be4(0x4b5)]=_0x297a22(ue(),tc(),sc());}(Z,function(_0x6304a4){return(function(){const _0x5c27f7=_0x1425;var _0x447e5a=_0x6304a4,_0x553dbc=_0x447e5a[_0x5c27f7(0x515)],_0x463787=_0x553dbc[_0x5c27f7(0x54d)],_0x34864f=_0x553dbc[_0x5c27f7(0x1b2)],_0x901d89=_0x447e5a['algo'],_0x3fee98=_0x901d89[_0x5c27f7(0x43a)],_0xa1a871=_0x901d89[_0x5c27f7(0x31f)]=_0x463787[_0x5c27f7(0x3c3)]({'cfg':_0x463787['extend']({'keySize':0x80/0x20,'hasher':_0x3fee98,'iterations':0x1}),'init':function(_0x53a6ee){const _0x33d9a4=_0x5c27f7;this[_0x33d9a4(0x379)]=this[_0x33d9a4(0x379)]['extend'](_0x53a6ee);},'compute':function(_0x758de9,_0xa5d529){const _0x185c23=_0x5c27f7;for(var _0x2fa2d5,_0x425987=this[_0x185c23(0x379)],_0x119ce2=_0x425987[_0x185c23(0x56e)][_0x185c23(0x34e)](),_0x19be08=_0x34864f['create'](),_0x38ed19=_0x19be08[_0x185c23(0x303)],_0x53a2a7=_0x425987[_0x185c23(0x1e5)],_0x4dcc95=_0x425987[_0x185c23(0x4a5)];_0x38ed19['length']<_0x53a2a7;){_0x2fa2d5&&_0x119ce2['update'](_0x2fa2d5),_0x2fa2d5=_0x119ce2[_0x185c23(0x266)](_0x758de9)[_0x185c23(0x44e)](_0xa5d529),_0x119ce2['reset']();for(var _0x1cc402=0x1;_0x1cc402<_0x4dcc95;_0x1cc402++)_0x2fa2d5=_0x119ce2[_0x185c23(0x44e)](_0x2fa2d5),_0x119ce2['reset']();_0x19be08[_0x185c23(0x216)](_0x2fa2d5);}return _0x19be08[_0x185c23(0x46e)]=_0x53a2a7*0x4,_0x19be08;}});_0x447e5a[_0x5c27f7(0x31f)]=function(_0x3b3515,_0x53b14f,_0x46bff9){const _0x297e6c=_0x5c27f7;return _0xa1a871[_0x297e6c(0x34e)](_0x46bff9)[_0x297e6c(0x1ca)](_0x3b3515,_0x53b14f);};}()),_0x6304a4['EvpKDF'];}));}(zt)),zt[_0x1fdfcf(0x4b5)];}var Jt={'exports':{}},ai;function Ji(){const _0x32bca1=_0x46f17f;return ai||(ai=0x1,function(_0x34e2a2,_0x1d5d75){(function(_0x2e24dd,_0x20dc65,_0x17b26d){const _0x1c2a78=_0x1425;_0x34e2a2[_0x1c2a78(0x4b5)]=_0x20dc65(ue(),Xi());}(Z,function(_0x43a5f2){const _0x4994d9=_0x1425;_0x43a5f2[_0x4994d9(0x515)][_0x4994d9(0x492)]||function(_0x4f5dfe){const _0x5aac2a=_0x4994d9;var _0x351bd7=_0x43a5f2,_0x1ab313=_0x351bd7[_0x5aac2a(0x515)],_0x292879=_0x1ab313[_0x5aac2a(0x54d)],_0x5dd29d=_0x1ab313[_0x5aac2a(0x1b2)],_0x2fcf9c=_0x1ab313['BufferedBlockAlgorithm'],_0x33c167=_0x351bd7[_0x5aac2a(0x4ff)];_0x33c167['Utf8'];var _0x509323=_0x33c167[_0x5aac2a(0x501)],_0x3b2ab8=_0x351bd7['algo'],_0x1b06b9=_0x3b2ab8[_0x5aac2a(0x31f)],_0x34ceca=_0x1ab313['Cipher']=_0x2fcf9c[_0x5aac2a(0x3c3)]({'cfg':_0x292879[_0x5aac2a(0x3c3)](),'createEncryptor':function(_0x44e1ed,_0x32a0f2){const _0x54b64d=_0x5aac2a;return this[_0x54b64d(0x34e)](this['_ENC_XFORM_MODE'],_0x44e1ed,_0x32a0f2);},'createDecryptor':function(_0x4eff9e,_0x201578){const _0x4edc43=_0x5aac2a;return this['create'](this[_0x4edc43(0x4ca)],_0x4eff9e,_0x201578);},'init':function(_0x7e4c8d,_0x39a78a,_0x126fc7){const _0x373365=_0x5aac2a;this[_0x373365(0x379)]=this['cfg'][_0x373365(0x3c3)](_0x126fc7),this[_0x373365(0x1c5)]=_0x7e4c8d,this[_0x373365(0x1f3)]=_0x39a78a,this[_0x373365(0x534)]();},'reset':function(){const _0x5ab09e=_0x5aac2a;_0x2fcf9c[_0x5ab09e(0x534)][_0x5ab09e(0x3a8)](this),this[_0x5ab09e(0x4d5)]();},'process':function(_0x58b9e5){const _0x561c47=_0x5aac2a;return this['_append'](_0x58b9e5),this[_0x561c47(0x2e8)]();},'finalize':function(_0x5278b1){const _0x125770=_0x5aac2a;_0x5278b1&&this[_0x125770(0x44d)](_0x5278b1);var _0x27bc9e=this['_doFinalize']();return _0x27bc9e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x51233c(_0x52cff1){return typeof _0x52cff1=='string'?_0x151da8:_0x2fbea5;}return function(_0x3d94fa){return{'encrypt':function(_0x25b274,_0x10d42d,_0x5f2d44){const _0x386ce1=_0x1425;return _0x51233c(_0x10d42d)[_0x386ce1(0x48e)](_0x3d94fa,_0x25b274,_0x10d42d,_0x5f2d44);},'decrypt':function(_0x1a2558,_0x44a0e2,_0xb61efe){return _0x51233c(_0x44a0e2)['decrypt'](_0x3d94fa,_0x1a2558,_0x44a0e2,_0xb61efe);}};};}())});_0x1ab313[_0x5aac2a(0x444)]=_0x34ceca[_0x5aac2a(0x3c3)]({'_doFinalize':function(){const _0x59b25f=_0x5aac2a;var _0x1a033d=this[_0x59b25f(0x2e8)](!0x0);return _0x1a033d;},'blockSize':0x1});var _0x5b433c=_0x351bd7[_0x5aac2a(0x2d3)]={},_0x1439b0=_0x1ab313[_0x5aac2a(0x2c9)]=_0x292879[_0x5aac2a(0x3c3)]({'createEncryptor':function(_0x211f14,_0x35aa92){const _0x102a15=_0x5aac2a;return this[_0x102a15(0x56c)][_0x102a15(0x34e)](_0x211f14,_0x35aa92);},'createDecryptor':function(_0x3b8f08,_0x1105cd){const _0x591d53=_0x5aac2a;return this[_0x591d53(0x4bc)][_0x591d53(0x34e)](_0x3b8f08,_0x1105cd);},'init':function(_0x50a11c,_0x272e2c){this['_cipher']=_0x50a11c,this['_iv']=_0x272e2c;}}),_0x1cc22f=_0x5b433c[_0x5aac2a(0x536)]=(function(){const _0x174628=_0x5aac2a;var _0x406af3=_0x1439b0[_0x174628(0x3c3)]();_0x406af3['Encryptor']=_0x406af3['extend']({'processBlock':function(_0x172af2,_0x1681a7){const _0x1b8b5b=_0x174628;var _0x53376d=this['_cipher'],_0x1a5641=_0x53376d[_0x1b8b5b(0x3a6)];_0x2fc9b6[_0x1b8b5b(0x3a8)](this,_0x172af2,_0x1681a7,_0x1a5641),_0x53376d[_0x1b8b5b(0x573)](_0x172af2,_0x1681a7),this['_prevBlock']=_0x172af2['slice'](_0x1681a7,_0x1681a7+_0x1a5641);}}),_0x406af3[_0x174628(0x4bc)]=_0x406af3[_0x174628(0x3c3)]({'processBlock':function(_0x165cf4,_0x14081d){const _0x5820a8=_0x174628;var _0x2b242f=this['_cipher'],_0x5658c7=_0x2b242f['blockSize'],_0x53589a=_0x165cf4['slice'](_0x14081d,_0x14081d+_0x5658c7);_0x2b242f[_0x5820a8(0x1ad)](_0x165cf4,_0x14081d),_0x2fc9b6[_0x5820a8(0x3a8)](this,_0x165cf4,_0x14081d,_0x5658c7),this[_0x5820a8(0x168)]=_0x53589a;}});function _0x2fc9b6(_0x4a4e32,_0x2af8c3,_0x163ec3){const _0x51e104=_0x174628;var _0x38ffb3,_0x35a8e3=this[_0x51e104(0x4f0)];_0x35a8e3?(_0x38ffb3=_0x35a8e3,this[_0x51e104(0x4f0)]=_0x4f5dfe):_0x38ffb3=this[_0x51e104(0x168)];for(var _0x19c1ea=0x0;_0x19c1ea<_0x163ec3;_0x19c1ea++)_0x4a4e32[_0x2af8c3+_0x19c1ea]^=_0x38ffb3[_0x19c1ea];}return _0x406af3;}()),_0x3f47a4=_0x351bd7[_0x5aac2a(0x411)]={},_0x3ea5ed=_0x3f47a4['Pkcs7']={'pad':function(_0x586bd3,_0x9455ff){const _0x37f42f=_0x5aac2a;for(var _0x3221c6=_0x9455ff*0x4,_0x22b5a7=_0x3221c6-_0x586bd3['sigBytes']%_0x3221c6,_0x3d8386=_0x22b5a7<<0x18|_0x22b5a7<<0x10|_0x22b5a7<<0x8|_0x22b5a7,_0x8e4a92=[],_0x35250c=0x0;_0x35250c<_0x22b5a7;_0x35250c+=0x4)_0x8e4a92[_0x37f42f(0x23d)](_0x3d8386);var _0x25e856=_0x5dd29d[_0x37f42f(0x34e)](_0x8e4a92,_0x22b5a7);_0x586bd3[_0x37f42f(0x216)](_0x25e856);},'unpad':function(_0x52c8df){const _0x2eef90=_0x5aac2a;var _0x17a044=_0x52c8df[_0x2eef90(0x303)][_0x52c8df['sigBytes']-0x1>>>0x2]&0xff;_0x52c8df[_0x2eef90(0x46e)]-=_0x17a044;}};_0x1ab313['BlockCipher']=_0x34ceca['extend']({'cfg':_0x34ceca[_0x5aac2a(0x379)][_0x5aac2a(0x3c3)]({'mode':_0x1cc22f,'padding':_0x3ea5ed}),'reset':function(){const _0x5b1ac3=_0x5aac2a;var _0x23068e;_0x34ceca[_0x5b1ac3(0x534)][_0x5b1ac3(0x3a8)](this);var _0x46eafc=this[_0x5b1ac3(0x379)],_0x509372=_0x46eafc['iv'],_0x44fecf=_0x46eafc[_0x5b1ac3(0x2d3)];this[_0x5b1ac3(0x1c5)]==this[_0x5b1ac3(0x58d)]?_0x23068e=_0x44fecf[_0x5b1ac3(0x4ee)]:(_0x23068e=_0x44fecf['createDecryptor'],this[_0x5b1ac3(0x55f)]=0x1),this[_0x5b1ac3(0x235)]&&this[_0x5b1ac3(0x235)]['__creator']==_0x23068e?this[_0x5b1ac3(0x235)][_0x5b1ac3(0x426)](this,_0x509372&&_0x509372[_0x5b1ac3(0x303)]):(this[_0x5b1ac3(0x235)]=_0x23068e['call'](_0x44fecf,this,_0x509372&&_0x509372[_0x5b1ac3(0x303)]),this['_mode']['__creator']=_0x23068e);},'_doProcessBlock':function(_0x4247b4,_0x69072a){const _0x33e9f0=_0x5aac2a;this[_0x33e9f0(0x235)][_0x33e9f0(0x3c8)](_0x4247b4,_0x69072a);},'_doFinalize':function(){const _0x181900=_0x5aac2a;var _0x47b054,_0x2738ab=this[_0x181900(0x379)][_0x181900(0x1d5)];return this[_0x181900(0x1c5)]==this['_ENC_XFORM_MODE']?(_0x2738ab[_0x181900(0x411)](this['_data'],this[_0x181900(0x3a6)]),_0x47b054=this[_0x181900(0x2e8)](!0x0)):(_0x47b054=this[_0x181900(0x2e8)](!0x0),_0x2738ab[_0x181900(0x38f)](_0x47b054)),_0x47b054;},'blockSize':0x80/0x20});var _0x3ca420=_0x1ab313[_0x5aac2a(0x583)]=_0x292879[_0x5aac2a(0x3c3)]({'init':function(_0x262b9e){const _0x254d16=_0x5aac2a;this[_0x254d16(0x3e3)](_0x262b9e);},'toString':function(_0x160dcd){const _0x34dd24=_0x5aac2a;return(_0x160dcd||this[_0x34dd24(0x488)])[_0x34dd24(0x353)](this);}}),_0x45e192=_0x351bd7[_0x5aac2a(0x587)]={},_0x2f89e7=_0x45e192['OpenSSL']={'stringify':function(_0x288398){const _0x1d1641=_0x5aac2a;var _0xe30714,_0x49bed9=_0x288398[_0x1d1641(0x3ac)],_0x11156a=_0x288398['salt'];return _0x11156a?_0xe30714=_0x5dd29d[_0x1d1641(0x34e)]([0x53616c74,0x65645f5f])['concat'](_0x11156a)[_0x1d1641(0x216)](_0x49bed9):_0xe30714=_0x49bed9,_0xe30714['toString'](_0x509323);},'parse':function(_0x4c0a67){const _0x376f4b=_0x5aac2a;var _0x4f552c,_0x356e1b=_0x509323['parse'](_0x4c0a67),_0x35d2c8=_0x356e1b[_0x376f4b(0x303)];return _0x35d2c8[0x0]==0x53616c74&&_0x35d2c8[0x1]==0x65645f5f&&(_0x4f552c=_0x5dd29d[_0x376f4b(0x34e)](_0x35d2c8[_0x376f4b(0x325)](0x2,0x4)),_0x35d2c8[_0x376f4b(0x2f3)](0x0,0x4),_0x356e1b[_0x376f4b(0x46e)]-=0x10),_0x3ca420[_0x376f4b(0x34e)]({'ciphertext':_0x356e1b,'salt':_0x4f552c});}},_0x2fbea5=_0x1ab313[_0x5aac2a(0x1b6)]=_0x292879[_0x5aac2a(0x3c3)]({'cfg':_0x292879[_0x5aac2a(0x3c3)]({'format':_0x2f89e7}),'encrypt':function(_0x3b5518,_0x4e3647,_0x55c52f,_0x432305){const _0x45bc9f=_0x5aac2a;_0x432305=this['cfg']['extend'](_0x432305);var _0x3dcf6d=_0x3b5518[_0x45bc9f(0x4ee)](_0x55c52f,_0x432305),_0x367df1=_0x3dcf6d[_0x45bc9f(0x44e)](_0x4e3647),_0x7a1f88=_0x3dcf6d[_0x45bc9f(0x379)];return _0x3ca420[_0x45bc9f(0x34e)]({'ciphertext':_0x367df1,'key':_0x55c52f,'iv':_0x7a1f88['iv'],'algorithm':_0x3b5518,'mode':_0x7a1f88['mode'],'padding':_0x7a1f88['padding'],'blockSize':_0x3b5518['blockSize'],'formatter':_0x432305[_0x45bc9f(0x587)]});},'decrypt':function(_0x2ecb19,_0x4bfaeb,_0x59cd96,_0x116d9a){const _0x3bdbc7=_0x5aac2a;_0x116d9a=this[_0x3bdbc7(0x379)][_0x3bdbc7(0x3c3)](_0x116d9a),_0x4bfaeb=this[_0x3bdbc7(0x4fa)](_0x4bfaeb,_0x116d9a['format']);var _0x253b2f=_0x2ecb19[_0x3bdbc7(0x299)](_0x59cd96,_0x116d9a)['finalize'](_0x4bfaeb['ciphertext']);return _0x253b2f;},'_parse':function(_0x3f1790,_0x246d7f){const _0x515dbd=_0x5aac2a;return typeof _0x3f1790==_0x515dbd(0x366)?_0x246d7f['parse'](_0x3f1790,this):_0x3f1790;}}),_0x42d903=_0x351bd7[_0x5aac2a(0x50f)]={},_0x1f5f80=_0x42d903[_0x5aac2a(0x20d)]={'execute':function(_0x15c576,_0x4b58c4,_0x4f3caa,_0x5081e7,_0xad06af){const _0x5d6273=_0x5aac2a;if(_0x5081e7||(_0x5081e7=_0x5dd29d[_0x5d6273(0x237)](0x40/0x8)),_0xad06af)var _0x4f9f3a=_0x1b06b9[_0x5d6273(0x34e)]({'keySize':_0x4b58c4+_0x4f3caa,'hasher':_0xad06af})['compute'](_0x15c576,_0x5081e7);else var _0x4f9f3a=_0x1b06b9[_0x5d6273(0x34e)]({'keySize':_0x4b58c4+_0x4f3caa})[_0x5d6273(0x1ca)](_0x15c576,_0x5081e7);var _0x2a7933=_0x5dd29d[_0x5d6273(0x34e)](_0x4f9f3a[_0x5d6273(0x303)]['slice'](_0x4b58c4),_0x4f3caa*0x4);return _0x4f9f3a[_0x5d6273(0x46e)]=_0x4b58c4*0x4,_0x3ca420[_0x5d6273(0x34e)]({'key':_0x4f9f3a,'iv':_0x2a7933,'salt':_0x5081e7});}},_0x151da8=_0x1ab313['PasswordBasedCipher']=_0x2fbea5[_0x5aac2a(0x3c3)]({'cfg':_0x2fbea5[_0x5aac2a(0x379)][_0x5aac2a(0x3c3)]({'kdf':_0x1f5f80}),'encrypt':function(_0x18d170,_0x382d16,_0x239474,_0x42ebcd){const _0xb15837=_0x5aac2a;_0x42ebcd=this[_0xb15837(0x379)][_0xb15837(0x3c3)](_0x42ebcd);var _0x44c6f4=_0x42ebcd[_0xb15837(0x50f)][_0xb15837(0x4d1)](_0x239474,_0x18d170[_0xb15837(0x1e5)],_0x18d170[_0xb15837(0x495)],_0x42ebcd[_0xb15837(0x41a)],_0x42ebcd[_0xb15837(0x56e)]);_0x42ebcd['iv']=_0x44c6f4['iv'];var _0x3ce7c5=_0x2fbea5[_0xb15837(0x48e)][_0xb15837(0x3a8)](this,_0x18d170,_0x382d16,_0x44c6f4[_0xb15837(0x1ae)],_0x42ebcd);return _0x3ce7c5[_0xb15837(0x3e3)](_0x44c6f4),_0x3ce7c5;},'decrypt':function(_0x296e06,_0x2cc07d,_0x5173e0,_0x345477){const _0x5653b0=_0x5aac2a;_0x345477=this[_0x5653b0(0x379)][_0x5653b0(0x3c3)](_0x345477),_0x2cc07d=this[_0x5653b0(0x4fa)](_0x2cc07d,_0x345477[_0x5653b0(0x587)]);var _0x5ec83f=_0x345477[_0x5653b0(0x50f)][_0x5653b0(0x4d1)](_0x5173e0,_0x296e06[_0x5653b0(0x1e5)],_0x296e06[_0x5653b0(0x495)],_0x2cc07d['salt'],_0x345477[_0x5653b0(0x56e)]);_0x345477['iv']=_0x5ec83f['iv'];var _0x289829=_0x2fbea5[_0x5653b0(0x53c)][_0x5653b0(0x3a8)](this,_0x296e06,_0x2cc07d,_0x5ec83f['key'],_0x345477);return _0x289829;}});}();}));}(Jt)),Jt[_0x32bca1(0x4b5)];}(function(_0x5cdcb3,_0xdd1146){(function(_0x42721f,_0x3aef86,_0x9842a){_0x5cdcb3['exports']=_0x3aef86(ue(),qi(),ec(),Xi(),Ji());}(Z,function(_0x2ef6e1){const _0x3b11be=_0x1425;return(function(){const _0x408345=_0x1425;var _0x3e5e12=_0x2ef6e1,_0x2dd4b7=_0x3e5e12[_0x408345(0x515)],_0x2d4b66=_0x2dd4b7[_0x408345(0x466)],_0x11c405=_0x3e5e12[_0x408345(0x47c)],_0x2178e5=[],_0x4ad916=[],_0x6dc09e=[],_0xf6e981=[],_0x458d08=[],_0x4140ad=[],_0x44f688=[],_0x51f3b3=[],_0x22166a=[],_0x117fdc=[];(function(){for(var _0x17d4c9=[],_0x118456=0x0;_0x118456<0x100;_0x118456++)_0x118456<0x80?_0x17d4c9[_0x118456]=_0x118456<<0x1:_0x17d4c9[_0x118456]=_0x118456<<0x1^0x11b;for(var _0x348883=0x0,_0x25b37f=0x0,_0x118456=0x0;_0x118456<0x100;_0x118456++){var _0x718b2c=_0x25b37f^_0x25b37f<<0x1^_0x25b37f<<0x2^_0x25b37f<<0x3^_0x25b37f<<0x4;_0x718b2c=_0x718b2c>>>0x8^_0x718b2c&0xff^0x63,_0x2178e5[_0x348883]=_0x718b2c,_0x4ad916[_0x718b2c]=_0x348883;var _0x102884=_0x17d4c9[_0x348883],_0x3522d2=_0x17d4c9[_0x102884],_0x3e6ece=_0x17d4c9[_0x3522d2],_0x406d19=_0x17d4c9[_0x718b2c]*0x101^_0x718b2c*0x1010100;_0x6dc09e[_0x348883]=_0x406d19<<0x18|_0x406d19>>>0x8,_0xf6e981[_0x348883]=_0x406d19<<0x10|_0x406d19>>>0x10,_0x458d08[_0x348883]=_0x406d19<<0x8|_0x406d19>>>0x18,_0x4140ad[_0x348883]=_0x406d19;var _0x406d19=_0x3e6ece*0x1010101^_0x3522d2*0x10001^_0x102884*0x101^_0x348883*0x1010100;_0x44f688[_0x718b2c]=_0x406d19<<0x18|_0x406d19>>>0x8,_0x51f3b3[_0x718b2c]=_0x406d19<<0x10|_0x406d19>>>0x10,_0x22166a[_0x718b2c]=_0x406d19<<0x8|_0x406d19>>>0x18,_0x117fdc[_0x718b2c]=_0x406d19,_0x348883?(_0x348883=_0x102884^_0x17d4c9[_0x17d4c9[_0x17d4c9[_0x3e6ece^_0x102884]]],_0x25b37f^=_0x17d4c9[_0x17d4c9[_0x25b37f]]):_0x348883=_0x25b37f=0x1;}}());var _0x20c02d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x147cca=_0x11c405['AES']=_0x2d4b66[_0x408345(0x3c3)]({'_doReset':function(){const _0x235b17=_0x408345;var _0x119283;if(!(this[_0x235b17(0x401)]&&this['_keyPriorReset']===this['_key'])){for(var _0x5673a5=this[_0x235b17(0x30e)]=this[_0x235b17(0x1f3)],_0x36a27f=_0x5673a5[_0x235b17(0x303)],_0x4208a1=_0x5673a5['sigBytes']/0x4,_0x5e1a2b=this[_0x235b17(0x401)]=_0x4208a1+0x6,_0x9b2f08=(_0x5e1a2b+0x1)*0x4,_0x109489=this[_0x235b17(0x37b)]=[],_0x749264=0x0;_0x749264<_0x9b2f08;_0x749264++)_0x749264<_0x4208a1?_0x109489[_0x749264]=_0x36a27f[_0x749264]:(_0x119283=_0x109489[_0x749264-0x1],_0x749264%_0x4208a1?_0x4208a1>0x6&&_0x749264%_0x4208a1==0x4&&(_0x119283=_0x2178e5[_0x119283>>>0x18]<<0x18|_0x2178e5[_0x119283>>>0x10&0xff]<<0x10|_0x2178e5[_0x119283>>>0x8&0xff]<<0x8|_0x2178e5[_0x119283&0xff]):(_0x119283=_0x119283<<0x8|_0x119283>>>0x18,_0x119283=_0x2178e5[_0x119283>>>0x18]<<0x18|_0x2178e5[_0x119283>>>0x10&0xff]<<0x10|_0x2178e5[_0x119283>>>0x8&0xff]<<0x8|_0x2178e5[_0x119283&0xff],_0x119283^=_0x20c02d[_0x749264/_0x4208a1|0x0]<<0x18),_0x109489[_0x749264]=_0x109489[_0x749264-_0x4208a1]^_0x119283);for(var _0x59571e=this[_0x235b17(0x23c)]=[],_0x2466de=0x0;_0x2466de<_0x9b2f08;_0x2466de++){var _0x749264=_0x9b2f08-_0x2466de;if(_0x2466de%0x4)var _0x119283=_0x109489[_0x749264];else var _0x119283=_0x109489[_0x749264-0x4];_0x2466de<0x4||_0x749264<=0x4?_0x59571e[_0x2466de]=_0x119283:_0x59571e[_0x2466de]=_0x44f688[_0x2178e5[_0x119283>>>0x18]]^_0x51f3b3[_0x2178e5[_0x119283>>>0x10&0xff]]^_0x22166a[_0x2178e5[_0x119283>>>0x8&0xff]]^_0x117fdc[_0x2178e5[_0x119283&0xff]];}}},'encryptBlock':function(_0x707961,_0x1ce7a2){const _0x319823=_0x408345;this[_0x319823(0x19e)](_0x707961,_0x1ce7a2,this[_0x319823(0x37b)],_0x6dc09e,_0xf6e981,_0x458d08,_0x4140ad,_0x2178e5);},'decryptBlock':function(_0x23f93e,_0x40013f){const _0x4199de=_0x408345;var _0x445889=_0x23f93e[_0x40013f+0x1];_0x23f93e[_0x40013f+0x1]=_0x23f93e[_0x40013f+0x3],_0x23f93e[_0x40013f+0x3]=_0x445889,this[_0x4199de(0x19e)](_0x23f93e,_0x40013f,this['_invKeySchedule'],_0x44f688,_0x51f3b3,_0x22166a,_0x117fdc,_0x4ad916);var _0x445889=_0x23f93e[_0x40013f+0x1];_0x23f93e[_0x40013f+0x1]=_0x23f93e[_0x40013f+0x3],_0x23f93e[_0x40013f+0x3]=_0x445889;},'_doCryptBlock':function(_0x50823e,_0x42e888,_0x350618,_0x2fa249,_0x5b7f5d,_0x2c2cc2,_0x4646d8,_0x3aa55d){const _0x4008d6=_0x408345;for(var _0x39b697=this[_0x4008d6(0x401)],_0x404363=_0x50823e[_0x42e888]^_0x350618[0x0],_0x613636=_0x50823e[_0x42e888+0x1]^_0x350618[0x1],_0x734d74=_0x50823e[_0x42e888+0x2]^_0x350618[0x2],_0x4998eb=_0x50823e[_0x42e888+0x3]^_0x350618[0x3],_0x3e738c=0x4,_0x3c8b07=0x1;_0x3c8b07<_0x39b697;_0x3c8b07++){var _0x3ae267=_0x2fa249[_0x404363>>>0x18]^_0x5b7f5d[_0x613636>>>0x10&0xff]^_0x2c2cc2[_0x734d74>>>0x8&0xff]^_0x4646d8[_0x4998eb&0xff]^_0x350618[_0x3e738c++],_0x26922e=_0x2fa249[_0x613636>>>0x18]^_0x5b7f5d[_0x734d74>>>0x10&0xff]^_0x2c2cc2[_0x4998eb>>>0x8&0xff]^_0x4646d8[_0x404363&0xff]^_0x350618[_0x3e738c++],_0x54d241=_0x2fa249[_0x734d74>>>0x18]^_0x5b7f5d[_0x4998eb>>>0x10&0xff]^_0x2c2cc2[_0x404363>>>0x8&0xff]^_0x4646d8[_0x613636&0xff]^_0x350618[_0x3e738c++],_0x2a0cb7=_0x2fa249[_0x4998eb>>>0x18]^_0x5b7f5d[_0x404363>>>0x10&0xff]^_0x2c2cc2[_0x613636>>>0x8&0xff]^_0x4646d8[_0x734d74&0xff]^_0x350618[_0x3e738c++];_0x404363=_0x3ae267,_0x613636=_0x26922e,_0x734d74=_0x54d241,_0x4998eb=_0x2a0cb7;}var _0x3ae267=(_0x3aa55d[_0x404363>>>0x18]<<0x18|_0x3aa55d[_0x613636>>>0x10&0xff]<<0x10|_0x3aa55d[_0x734d74>>>0x8&0xff]<<0x8|_0x3aa55d[_0x4998eb&0xff])^_0x350618[_0x3e738c++],_0x26922e=(_0x3aa55d[_0x613636>>>0x18]<<0x18|_0x3aa55d[_0x734d74>>>0x10&0xff]<<0x10|_0x3aa55d[_0x4998eb>>>0x8&0xff]<<0x8|_0x3aa55d[_0x404363&0xff])^_0x350618[_0x3e738c++],_0x54d241=(_0x3aa55d[_0x734d74>>>0x18]<<0x18|_0x3aa55d[_0x4998eb>>>0x10&0xff]<<0x10|_0x3aa55d[_0x404363>>>0x8&0xff]<<0x8|_0x3aa55d[_0x613636&0xff])^_0x350618[_0x3e738c++],_0x2a0cb7=(_0x3aa55d[_0x4998eb>>>0x18]<<0x18|_0x3aa55d[_0x404363>>>0x10&0xff]<<0x10|_0x3aa55d[_0x613636>>>0x8&0xff]<<0x8|_0x3aa55d[_0x734d74&0xff])^_0x350618[_0x3e738c++];_0x50823e[_0x42e888]=_0x3ae267,_0x50823e[_0x42e888+0x1]=_0x26922e,_0x50823e[_0x42e888+0x2]=_0x54d241,_0x50823e[_0x42e888+0x3]=_0x2a0cb7;},'keySize':0x100/0x20});_0x3e5e12[_0x408345(0x1d8)]=_0x2d4b66[_0x408345(0x29d)](_0x147cca);}()),_0x2ef6e1[_0x3b11be(0x1d8)];}));}(zi));var ic=zi[_0x46f17f(0x4b5)];const rc=at(ic);var nc=qi();const ci=at(nc);var Zi={'exports':{}};(function(_0x38724b,_0x516eb8){(function(_0x3cedeb,_0xcdfc53){const _0x48e4fd=_0x1425;_0x38724b[_0x48e4fd(0x4b5)]=_0xcdfc53(ue());}(Z,function(_0x225fb0){const _0x1f185c=_0x1425;return _0x225fb0[_0x1f185c(0x4ff)][_0x1f185c(0x4d2)];}));}(Zi));var oc=Zi[_0x46f17f(0x4b5)];const ac=at(oc);var Qi={'exports':{}};(function(_0x5f3a67,_0x9cd445){(function(_0x78d569,_0x104335){const _0x235863=_0x1425;_0x5f3a67[_0x235863(0x4b5)]=_0x104335(ue());}(Z,function(_0x44cfe9){const _0x6caa33=_0x1425;return(function(){const _0x1dad93=_0x1425;if(typeof ArrayBuffer==_0x1dad93(0x232)){var _0x579acb=_0x44cfe9,_0x317ad0=_0x579acb[_0x1dad93(0x515)],_0x4dbad5=_0x317ad0[_0x1dad93(0x1b2)],_0x2b2ed9=_0x4dbad5[_0x1dad93(0x426)],_0x111b83=_0x4dbad5[_0x1dad93(0x426)]=function(_0x5953ac){const _0x2043bd=_0x1dad93;if(_0x5953ac instanceof ArrayBuffer&&(_0x5953ac=new Uint8Array(_0x5953ac)),(_0x5953ac instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5953ac instanceof Uint8ClampedArray||_0x5953ac instanceof Int16Array||_0x5953ac instanceof Uint16Array||_0x5953ac instanceof Int32Array||_0x5953ac instanceof Uint32Array||_0x5953ac instanceof Float32Array||_0x5953ac instanceof Float64Array)&&(_0x5953ac=new Uint8Array(_0x5953ac['buffer'],_0x5953ac[_0x2043bd(0x2b3)],_0x5953ac['byteLength'])),_0x5953ac instanceof Uint8Array){for(var _0x3c9b9a=_0x5953ac[_0x2043bd(0x44a)],_0x45d6e0=[],_0x4bb256=0x0;_0x4bb256<_0x3c9b9a;_0x4bb256++)_0x45d6e0[_0x4bb256>>>0x2]|=_0x5953ac[_0x4bb256]<<0x18-_0x4bb256%0x4*0x8;_0x2b2ed9[_0x2043bd(0x3a8)](this,_0x45d6e0,_0x3c9b9a);}else _0x2b2ed9[_0x2043bd(0x44c)](this,arguments);};_0x111b83[_0x1dad93(0x4c9)]=_0x4dbad5;}}()),_0x44cfe9[_0x6caa33(0x515)][_0x6caa33(0x1b2)];}));}(Qi));var cc=Qi[_0x46f17f(0x4b5)];const hc=at(cc);var er={'exports':{}};(function(_0x548ec4,_0x49f045){(function(_0x412e60,_0x47cf34,_0x18ec42){const _0x3146d6=_0x1425;_0x548ec4[_0x3146d6(0x4b5)]=_0x47cf34(ue(),Ji());}(Z,function(_0x382719){const _0x569fb5=_0x1425;return _0x382719[_0x569fb5(0x411)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x382719[_0x569fb5(0x411)]['NoPadding'];}));}(er));var lc=er[_0x46f17f(0x4b5)];const _c=at(lc);function uc(_0x219b59,_0x1a84df){const _0x1b1cb3=_0x46f17f,_0x38b6ff=_0x1a84df-_0x219b59[_0x1b1cb3(0x407)]%_0x1a84df,_0x21f584=String[_0x1b1cb3(0x26a)](_0x38b6ff)[_0x1b1cb3(0x419)](_0x38b6ff);return _0x219b59+_0x21f584;}function dc(_0x1f34cb,_0x49fcf4){const _0x1ab06f=_0x46f17f,_0x186fe7=hc['random'](0x10),_0x48f71e=uc(_0x1f34cb,0x10),_0x15c029=rc[_0x1ab06f(0x48e)](ac['parse'](_0x48f71e),ci[_0x1ab06f(0x4b9)](_0x49fcf4),{'iv':_0x186fe7,'padding':_c});return _0x186fe7[_0x1ab06f(0x216)](_0x15c029[_0x1ab06f(0x3ac)])['toString'](ci);}function fc(){const _0x223982=_0x46f17f,_0x387c33=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x223982(0x474)];if(_0x387c33){const _0x4578c9={'time':Math[_0x223982(0x483)](Date['now']()/0x3e8),'domain':location['hostname']};return dc(JSON[_0x223982(0x353)](_0x4578c9),_0x387c33);}}var vc=Object[_0x46f17f(0x3a4)],mc=Object[_0x46f17f(0x17b)],pc=(_0x2583f3,_0x3e3ab3,_0x31ecf8,_0x346a99)=>{for(var _0x571fb3=_0x346a99>0x1?void 0x0:_0x346a99?mc(_0x3e3ab3,_0x31ecf8):_0x3e3ab3,_0x2a206c=_0x2583f3['length']-0x1,_0x548836;_0x2a206c>=0x0;_0x2a206c--)(_0x548836=_0x2583f3[_0x2a206c])&&(_0x571fb3=(_0x346a99?_0x548836(_0x3e3ab3,_0x31ecf8,_0x571fb3):_0x548836(_0x571fb3))||_0x571fb3);return _0x346a99&&_0x571fb3&&vc(_0x3e3ab3,_0x31ecf8,_0x571fb3),_0x571fb3;},gc=(_0x468fab,_0x55f574)=>(_0x2df712,_0x4695d0)=>_0x55f574(_0x2df712,_0x4695d0,_0x468fab);let Rt=class{constructor(_0x4448cf){const _0x4c8fcb=_0x46f17f;this[_0x4c8fcb(0x32f)]=_0x4448cf,this['_initRequestHeader']();}[_0x46f17f(0x251)](){const _0x4513ed=_0x46f17f;this['_httpService'][_0x4513ed(0x317)]({'interceptor':(_0x27c75f,_0x2d0bc3)=>{const _0x51c17a=_0x4513ed,_0x4fb419=_0x27c75f['headers'],_0x45d4d2=fc();return _0x45d4d2&&_0x4fb419[_0x51c17a(0x25b)](_0x51c17a(0x406),_0x45d4d2),_0x2d0bc3(_0x27c75f);}});}};Rt=pc([gc(0x0,_0x4e871f(_0x595bc6))],Rt);var Sc=Object[_0x46f17f(0x3a4)],Ic=Object['getOwnPropertyDescriptor'],Cc=(_0x47e1dc,_0x47aa8a,_0x29f869,_0xf0eea)=>{const _0x890bad=_0x46f17f;for(var _0xcf0595=_0xf0eea>0x1?void 0x0:_0xf0eea?Ic(_0x47aa8a,_0x29f869):_0x47aa8a,_0x53670c=_0x47e1dc[_0x890bad(0x407)]-0x1,_0x390b03;_0x53670c>=0x0;_0x53670c--)(_0x390b03=_0x47e1dc[_0x53670c])&&(_0xcf0595=(_0xf0eea?_0x390b03(_0x47aa8a,_0x29f869,_0xcf0595):_0x390b03(_0xcf0595))||_0xcf0595);return _0xf0eea&&_0xcf0595&&Sc(_0x47aa8a,_0x29f869,_0xcf0595),_0xcf0595;},Zt=(_0x561957,_0x5dd07a)=>(_0x2f8e7f,_0x5275ab)=>_0x5dd07a(_0x2f8e7f,_0x5275ab,_0x561957);const Ec=[_0x46f17f(0x439),_0x46f17f(0x38e),_0x46f17f(0x1dc),_0x46f17f(0x2c8),_0x46f17f(0x3e0)],bc=0x5*0x400*0x400,Tc=_0x46f17f(0x2fd),Rc=_0x46f17f(0x531),Oc=_0x46f17f(0x164),yc=_0x46f17f(0x221);let _s=class{constructor(_0x32e99c,_0x481d8a,_0x33cc04){const _0x12f2d6=_0x46f17f;g(this,_0x12f2d6(0x3ff),0x0),g(this,_0x12f2d6(0x227),new _0x31ccd3()),g(this,_0x12f2d6(0x582),this[_0x12f2d6(0x227)]),g(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x32e99c,this[_0x12f2d6(0x57c)]=_0x481d8a,this[_0x12f2d6(0x53d)]=_0x33cc04);}[_0x46f17f(0x4a3)](_0x25ed65){const _0x1ed76b=_0x46f17f;this['_waitCount']=_0x25ed65,this[_0x1ed76b(0x227)][_0x1ed76b(0x4e6)](_0x25ed65);}[_0x46f17f(0x361)](_0x4bea39,_0x2d1b84){const _0x2e0152=_0x46f17f;if(_0x2d1b84===_0x8450ec[_0x2e0152(0x1be)]){const _0x33e459=new Image();return _0x33e459[_0x2e0152(0x21e)]=_0x4bea39,_0x33e459;}return this[_0x2e0152(0x350)][_0x2e0152(0x3e1)](_0x4bea39);}[_0x46f17f(0x56f)](_0x285dbe,_0x5594b7,_0x8f9305){const _0x3a463c=_0x46f17f;_0x5594b7===_0x8450ec['BASE64']||_0x8f9305==null||this[_0x3a463c(0x350)][_0x3a463c(0x25b)](_0x285dbe,_0x8f9305);}async[_0x46f17f(0x310)](_0x454481){const _0x8bfedc=_0x46f17f;try{const _0x5a005b=this[_0x8bfedc(0x1e0)](this[_0x8bfedc(0x2f0)](),''+_0x454481),_0x1659ed=(await this['_httpService'][_0x8bfedc(0x3e1)](_0x5a005b))['body'];if(_0x1659ed[_0x8bfedc(0x27d)]&&_0x1659ed[_0x8bfedc(0x27d)][_0x8bfedc(0x461)]===Ui['OK']){const _0x23e55a=new URL(_0x1659ed['url'],this[_0x8bfedc(0x4e4)]())['toString']();return Promise[_0x8bfedc(0x177)](_0x23e55a);}return Promise[_0x8bfedc(0x1f1)](_0x1659ed[_0x8bfedc(0x27d)]);}catch(_0x44a382){return Promise[_0x8bfedc(0x1f1)](_0x44a382);}}async[_0x46f17f(0x554)](_0x287e5d){const _0x512be8=_0x46f17f;let _0x27a780='';if(!Ec[_0x512be8(0x53a)](_0x287e5d['type']))return this[_0x512be8(0x543)](),Promise[_0x512be8(0x1f1)](new Error(_0x3bad31['ERROR_IMAGE_TYPE']));if(_0x287e5d[_0x512be8(0x16c)]>bc)return this[_0x512be8(0x543)](),Promise[_0x512be8(0x1f1)](new Error(_0x3bad31['ERROR_EXCEED_SIZE']));try{const _0x1bbcfa=new FormData();_0x1bbcfa[_0x512be8(0x2e6)]('file',_0x287e5d);const _0x3ec4=this[_0x512be8(0x53d)][_0x512be8(0x46b)](),_0x3bf948=_0x3ec4==null?void 0x0:_0x3ec4['getUnitId']();if(!_0x3bf948)throw new Error(_0x512be8(0x3b5));const _0x215897=this[_0x512be8(0x3ee)]()+_0x512be8(0x271)+_0x287e5d[_0x512be8(0x16c)][_0x512be8(0x4b7)]()+_0x512be8(0x51c)+Ni['UnitEmbedded']+_0x512be8(0x2ef)+encodeURIComponent(_0x3bf948),_0x663f80=await(await fetch(_0x215897,{'method':'POST','body':_0x1bbcfa}))[_0x512be8(0x368)]();if(typeof _0x663f80['FileId']!='string')return this[_0x512be8(0x543)](),Promise['reject'](new Error(_0x3bad31[_0x512be8(0x35b)]));_0x27a780=_0x663f80[_0x512be8(0x462)];}catch{return this[_0x512be8(0x543)](),Promise['reject'](new Error(_0x3bad31[_0x512be8(0x35b)]));}return new Promise((_0x34c925,_0x5cbc52)=>{const _0x196131=_0x512be8,_0x3dd903=new FileReader();_0x3dd903['readAsDataURL'](_0x287e5d),_0x3dd903[_0x196131(0x4e2)]=_0x4de565=>{const _0x59bebd=_0x196131;var _0x4fba66;const _0x1ed2b1=(_0x4fba66=_0x4de565[_0x59bebd(0x3ef)])==null?void 0x0:_0x4fba66['result'];if(_0x1ed2b1==null){this['_decreaseWaiting'](),_0x5cbc52(new Error(_0x3bad31[_0x59bebd(0x35b)]));return;}const _0x52ea58=_0x389286[_0x59bebd(0x467)](0x6);_0x34c925({'imageId':_0x52ea58,'imageSourceType':_0x8450ec['UUID'],'source':_0x27a780,'base64Cache':_0x1ed2b1,'status':_0x3bad31[_0x59bebd(0x463)]}),this[_0x59bebd(0x543)]();};});}['_getUploadFileURL'](){const _0x2826ed=_0x46f17f;var _0x47033a,_0x28b045;const _0x538ea3=this[_0x2826ed(0x57c)][_0x2826ed(0x4b3)](Tc),_0x6596b1=this[_0x2826ed(0x57c)][_0x2826ed(0x4b3)](ee);return(_0x28b045=(_0x47033a=_0x6596b1==null?void 0x0:_0x6596b1[_0x2826ed(0x36d)])!=null?_0x47033a:_0x538ea3)!=null?_0x28b045:Rc;}[_0x46f17f(0x2f0)](){const _0x1f33ba=_0x46f17f;var _0x1aa357,_0x5e250d;const _0x1cac11=this['_configService'][_0x1f33ba(0x4b3)](Oc),_0x471d5d=this[_0x1f33ba(0x57c)][_0x1f33ba(0x4b3)](ee);return(_0x5e250d=(_0x1aa357=_0x471d5d==null?void 0x0:_0x471d5d[_0x1f33ba(0x37c)])!=null?_0x1aa357:_0x1cac11)!=null?_0x5e250d:yc;}['_getDownloadEndpointURL'](){const _0x5d78de=_0x46f17f;var _0x435b88;const _0x16104f=this[_0x5d78de(0x57c)]['getConfig'](ee);return(_0x435b88=_0x16104f==null?void 0x0:_0x16104f['downloadEndpointUrl'])!=null?_0x435b88:location['origin'];}[_0x46f17f(0x1e0)](_0x5136c8,_0x330f28){const _0x31a4c1=_0x46f17f;return _0x5136c8['replace'](_0x31a4c1(0x43e),_0x330f28);}['_decreaseWaiting'](){const _0x31f3cd=_0x46f17f;this[_0x31f3cd(0x3ff)]-=0x1,this[_0x31f3cd(0x227)][_0x31f3cd(0x4e6)](this[_0x31f3cd(0x3ff)]);}};_s=Cc([Zt(0x0,_0x4e871f(_0x595bc6)),Zt(0x1,_0x175c85),Zt(0x2,_0x4e871f(_0x2d6c6a))],_s);var wc=Object['defineProperty'],Dc=Object[_0x46f17f(0x17b)],Pc=(_0x2e9071,_0x1e7f35,_0xd0b7f4,_0x2b5397)=>{const _0x20a92b=_0x46f17f;for(var _0x30bcc4=_0x2b5397>0x1?void 0x0:_0x2b5397?Dc(_0x1e7f35,_0xd0b7f4):_0x1e7f35,_0x2f6fc1=_0x2e9071[_0x20a92b(0x407)]-0x1,_0xbc3609;_0x2f6fc1>=0x0;_0x2f6fc1--)(_0xbc3609=_0x2e9071[_0x2f6fc1])&&(_0x30bcc4=(_0x2b5397?_0xbc3609(_0x1e7f35,_0xd0b7f4,_0x30bcc4):_0xbc3609(_0x30bcc4))||_0x30bcc4);return _0x2b5397&&_0x30bcc4&&wc(_0x1e7f35,_0xd0b7f4,_0x30bcc4),_0x30bcc4;},hi=(_0x3a7436,_0x4c97eb)=>(_0x510b2d,_0x3dc17d)=>_0x4c97eb(_0x510b2d,_0x3dc17d,_0x3a7436);const Uc=_0x46f17f(0x260);let us=class{constructor(_0x43f966,_0x50d59b){const _0x24a7e3=_0x46f17f;this[_0x24a7e3(0x57c)]=_0x43f966,this['_HTTPService']=_0x50d59b;}[_0x46f17f(0x457)](){const _0x37f69a=_0x46f17f;var _0x9bdd52,_0x246098;const _0x2621d1=this[_0x37f69a(0x57c)]['getConfig'](Ki),_0x2d620d=this[_0x37f69a(0x57c)][_0x37f69a(0x4b3)](ee);return(_0x246098=(_0x9bdd52=_0x2d620d==null?void 0x0:_0x2d620d[_0x37f69a(0x4a1)])!=null?_0x9bdd52:_0x2621d1)!=null?_0x246098:Uc;}async['list'](_0x5d2f78){const _0x3d7e57=_0x46f17f,_0x3b89cc=this['_getAPIPrefixPath']()+_0x3d7e57(0x4a4);return{'list':[{'title':'People','mentions':(await this[_0x3d7e57(0x524)]['get'](_0x3b89cc,{'params':{'objectID':_0x5d2f78[_0x3d7e57(0x318)],'unitID':_0x5d2f78['unitId']}}))['body']['collaborators'][_0x3d7e57(0x265)](_0x516041=>({'objectId':_0x516041['id'],'name':_0x516041[_0x3d7e57(0x257)]['name'],'metadata':{'icon':_0x516041[_0x3d7e57(0x257)][_0x3d7e57(0x4f1)]},'label':_0x516041[_0x3d7e57(0x257)]['name'],'objectType':_0x2bba6c['PERSON']})),'metadata':{},'type':_0x2bba6c[_0x3d7e57(0x210)]}]};}};us=Pc([hi(0x0,_0x4e871f(_0x175c85)),hi(0x1,_0x4e871f(_0x595bc6))],us);var Nc=Object[_0x46f17f(0x3a4)],Ac=Object[_0x46f17f(0x17b)],Mc=(_0x57eec8,_0x2fdef3,_0x30f1e3,_0xd5ac31)=>{const _0x186b2e=_0x46f17f;for(var _0x17c935=_0xd5ac31>0x1?void 0x0:_0xd5ac31?Ac(_0x2fdef3,_0x30f1e3):_0x2fdef3,_0x497fcf=_0x57eec8[_0x186b2e(0x407)]-0x1,_0x55cba1;_0x497fcf>=0x0;_0x497fcf--)(_0x55cba1=_0x57eec8[_0x497fcf])&&(_0x17c935=(_0xd5ac31?_0x55cba1(_0x2fdef3,_0x30f1e3,_0x17c935):_0x55cba1(_0x17c935))||_0x17c935);return _0xd5ac31&&_0x17c935&&Nc(_0x2fdef3,_0x30f1e3,_0x17c935),_0x17c935;},Qe=(_0x2a514b,_0x1c9303)=>(_0x4db5e4,_0x16fa79)=>_0x1c9303(_0x4db5e4,_0x16fa79,_0x2a514b);let Ot=class extends _0x2ddc3d{constructor(_0x3e2958,_0xbc013f,_0x25fdf8,_0x2b2a4a,_0x43284b){const _0x2cafb0=_0x46f17f;super(),this[_0x2cafb0(0x176)]=_0x3e2958,this[_0x2cafb0(0x53d)]=_0xbc013f,this['_permissionService']=_0x25fdf8,this[_0x2cafb0(0x2e3)]=_0x2b2a4a,this[_0x2cafb0(0x469)]=_0x43284b,this[_0x2cafb0(0x2b7)](),this[_0x2cafb0(0x301)]();}[_0x46f17f(0x301)](){const _0x526db0=_0x46f17f,_0x286197=async _0x4dce73=>{const _0x18f6e5=_0x1425;(await this[_0x18f6e5(0x2e3)][_0x18f6e5(0x294)](_0x4dce73))[_0x18f6e5(0x4f2)][_0x18f6e5(0x4e3)](_0x191857(_0x1e945c=>_0x1e945c[_0x18f6e5(0x242)]===_0x40bfa0[_0x18f6e5(0x31e)]),_0x4ff54a(this[_0x18f6e5(0x246)]))[_0x18f6e5(0x346)](_0xa2ab76=>{const _0x3bd069=_0x18f6e5,_0xc742c1=_0xa2ab76,{reason:_0x1c50cf}=_0xc742c1['data'];this['_injector'][_0x3bd069(0x3e1)](_0x30cbad)[_0x3bd069(0x17e)]({'type':_0x4ed4eb[_0x3bd069(0x180)],'content':this[_0x3bd069(0x469)]['t'](_0x3bd069(0x456))+'('+_0x1c50cf+')'}),this['_permissionService'][_0x3bd069(0x396)](new _0x43ee6b(_0x4dce73)['id'],!0x1),this[_0x3bd069(0x2e3)][_0x3bd069(0x497)](_0x4dce73);});};_0x3c9b26(this['_univerInstanceService'][_0x526db0(0x26b)](_0x571c15[_0x526db0(0x226)]),this[_0x526db0(0x53d)][_0x526db0(0x26b)](_0x571c15[_0x526db0(0x15e)]))['pipe'](_0x4f9d2a(_0xe44807=>_0xe44807['getUnitId']()),_0x191857(_0x46b501=>!_0x2085b2(_0x46b501)),_0x4ff54a(this[_0x526db0(0x246)]))[_0x526db0(0x346)](_0x39a8e6=>{_0x286197(_0x39a8e6);});}[_0x46f17f(0x2b7)](){const _0x2eb88f=_0x46f17f,_0x5b775a=async _0x2ff154=>{const _0x3c5b37=_0x1425;(await this[_0x3c5b37(0x2e3)][_0x3c5b37(0x294)](_0x2ff154))[_0x3c5b37(0x4f2)]['pipe'](_0x191857(_0x484bb8=>_0x484bb8[_0x3c5b37(0x242)]===_0x40bfa0[_0x3c5b37(0x464)]),_0x4ff54a(this[_0x3c5b37(0x246)]))[_0x3c5b37(0x346)](_0x1697e6=>{const _0x37a8b6=_0x3c5b37,_0x2ecc9f=_0x1697e6,{objectId:_0x2fe140}=_0x2ecc9f['data'],_0x57b90c=this[_0x37a8b6(0x176)][_0x37a8b6(0x3e1)](_0x22c3b8);_0x2fe140===_0x2ff154?_0x57b90c[_0x37a8b6(0x425)](_0x2ff154):_0x57b90c[_0x37a8b6(0x1c6)](_0x2ff154,_0x2fe140);});};_0x3c9b26(this[_0x2eb88f(0x53d)][_0x2eb88f(0x26b)](_0x571c15['UNIVER_SHEET']),this[_0x2eb88f(0x53d)]['getTypeOfUnitAdded$'](_0x571c15['UNIVER_DOC']))['pipe'](_0x4f9d2a(_0x1da6c9=>_0x1da6c9[_0x2eb88f(0x565)]()),_0x191857(_0x3948ef=>!_0x2085b2(_0x3948ef)),_0x4ff54a(this[_0x2eb88f(0x246)]))[_0x2eb88f(0x346)](_0x13ecb5=>{_0x5b775a(_0x13ecb5);});}};Ot=Mc([Qe(0x0,_0x4e871f(_0x24063a)),Qe(0x1,_0x2d6c6a),Qe(0x2,_0x26d1fe),Qe(0x3,_0x4e871f(xe)),Qe(0x4,_0x4e871f(_0x19d230))],Ot);var xc=Object[_0x46f17f(0x3a4)],Lc=Object['getOwnPropertyDescriptor'],$c=(_0x89b45,_0x1f4d93,_0xa05085,_0x415fe9)=>{for(var _0x1434f=_0x415fe9>0x1?void 0x0:_0x415fe9?Lc(_0x1f4d93,_0xa05085):_0x1f4d93,_0x3eb51b=_0x89b45['length']-0x1,_0x14a781;_0x3eb51b>=0x0;_0x3eb51b--)(_0x14a781=_0x89b45[_0x3eb51b])&&(_0x1434f=(_0x415fe9?_0x14a781(_0x1f4d93,_0xa05085,_0x1434f):_0x14a781(_0x1434f))||_0x1434f);return _0x415fe9&&_0x1434f&&xc(_0x1f4d93,_0xa05085,_0x1434f),_0x1434f;},li=(_0x49ef58,_0x56377a)=>(_0x1682b6,_0x70f843)=>_0x56377a(_0x1682b6,_0x70f843,_0x49ef58);let ds=class{constructor(_0x3e5740,_0x4f9e95){const _0x4ffbb2=_0x46f17f;this['_configService']=_0x3e5740,this[_0x4ffbb2(0x32f)]=_0x4f9e95;}async[_0x46f17f(0x4c6)](_0x1ccec4,_0x49de2d){const _0x4ff094=_0x46f17f;var _0x18b3a0;const {unitID:_0x36bf99,type:_0x1347e4,revision:_0x17f1bc=0x0}=_0x49de2d,_0x287c06=this[_0x4ff094(0x165)]()+'/'+_0x1347e4+_0x4ff094(0x37e)+_0x36bf99+_0x4ff094(0x4a9)+_0x17f1bc,_0x3af7ad=(await this[_0x4ff094(0x32f)][_0x4ff094(0x3e1)](_0x287c06))[_0x4ff094(0x358)],_0x7e80b9=(_0x18b3a0=_0x3af7ad['snapshot'])==null?void 0x0:_0x18b3a0[_0x4ff094(0x4a0)];if(_0x7e80b9){const _0x2a8c61=_0x7e80b9==null?void 0x0:_0x7e80b9['originalMeta'],_0x189312=_0x5619fa[_0x4ff094(0x4df)](_0xb6f622(_0x2a8c61));_0x7e80b9[_0x4ff094(0x234)]=_0x189312,Object[_0x4ff094(0x228)](_0x7e80b9['sheets'])[_0x4ff094(0x519)](([,_0xfde918])=>{const _0x3772f8=_0x4ff094,_0x52882c=_0xfde918[_0x3772f8(0x234)],_0x39da03=_0x5619fa[_0x3772f8(0x4df)](_0xb6f622(_0x52882c));_0xfde918[_0x3772f8(0x234)]=_0x39da03;});}return _0x3af7ad;}async[_0x46f17f(0x388)](_0x374c16,_0x32bd96){const _0x26e4fe=_0x46f17f,{unitID:_0x25e09b,type:_0x1fdc40,blockID:_0x451e4a}=_0x32bd96,_0x22b388=this['_getAPIPrefix']()+'/'+_0x1fdc40+'/unit/'+_0x25e09b+_0x26e4fe(0x213)+_0x451e4a;return(await this[_0x26e4fe(0x32f)][_0x26e4fe(0x3e1)](_0x22b388))['body'];}async['getDeserializedSheetBlock'](_0x39f968,_0x3f8cb3){const _0x10437b=_0x46f17f,{unitID:_0x36c8c7,type:_0x17d30f,blockID:_0x1ea68d}=_0x3f8cb3,_0x2160ed=this[_0x10437b(0x48c)]()+_0x10437b(0x213)+_0x17d30f+'/unit/'+_0x36c8c7+_0x10437b(0x213)+_0x1ea68d;return(await this[_0x10437b(0x32f)][_0x10437b(0x3e1)](_0x2160ed))[_0x10437b(0x358)];}async['fetchMissingChangesets'](_0x3e017e,_0x305045){const _0x4987fd=_0x46f17f,{unitID:_0x57c967,type:_0xfec30b,from:_0x15a3c9,to:_0x25c089}=_0x305045,_0x49a0d9=this[_0x4987fd(0x48c)]()+'/'+_0xfec30b+'/unit/'+_0x57c967+_0x4987fd(0x3ea)+_0x15a3c9+_0x4987fd(0x3f4)+_0x25c089;return(await this[_0x4987fd(0x32f)]['get'](_0x49a0d9))['body'];}[_0x46f17f(0x165)](){const _0x3822bc=_0x46f17f;var _0x4e1470;return(_0x4e1470=this['_configService']['getConfig'](gn))!=null?_0x4e1470:this[_0x3822bc(0x48c)]();}[_0x46f17f(0x48c)](){const _0x2c763c=_0x46f17f;var _0x1782c5,_0x57bc3f;const _0x160a46=this[_0x2c763c(0x57c)]['getConfig'](mn),_0x381eb0=this['_configService'][_0x2c763c(0x4b3)](ee);return(_0x57bc3f=(_0x1782c5=_0x381eb0==null?void 0x0:_0x381eb0[_0x2c763c(0x297)])!=null?_0x1782c5:_0x160a46)!=null?_0x57bc3f:pn;}async[_0x46f17f(0x45c)](_0x2eded6,_0x54d020){const _0x10c6a8=_0x46f17f,_0x139ea7=_0x10c6a8(0x4f7)+_0x54d020[_0x10c6a8(0x2a2)]+_0x10c6a8(0x37e)+_0x54d020['unitID']+_0x10c6a8(0x3fb);return(await this[_0x10c6a8(0x32f)][_0x10c6a8(0x3e1)](_0x139ea7,{'params':{'resourceId':JSON[_0x10c6a8(0x353)](_0x54d020['resourceIDs'])}}))[_0x10c6a8(0x358)];}[_0x46f17f(0x18c)](){const _0x5b07a7=_0x46f17f;throw new Error(_0x5b07a7(0x27f));}['saveSheetBlock'](){const _0x3f4f8b=_0x46f17f;throw new Error(_0x3f4f8b(0x27f));}[_0x46f17f(0x1ff)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x46f17f(0x446)](){const _0xf5df44=_0x46f17f;throw new Error(_0xf5df44(0x27f));}[_0x46f17f(0x254)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};ds=$c([li(0x0,_0x175c85),li(0x1,_0x4e871f(_0x595bc6))],ds);var Hc=Object[_0x46f17f(0x3a4)],jc=Object[_0x46f17f(0x17b)],Bc=(_0x27f693,_0x41fcba,_0x3b40d1,_0x21ded7)=>{const _0x3fafe1=_0x46f17f;for(var _0x5225cc=_0x21ded7>0x1?void 0x0:_0x21ded7?jc(_0x41fcba,_0x3b40d1):_0x41fcba,_0xcbb38=_0x27f693[_0x3fafe1(0x407)]-0x1,_0x38136e;_0xcbb38>=0x0;_0xcbb38--)(_0x38136e=_0x27f693[_0xcbb38])&&(_0x5225cc=(_0x21ded7?_0x38136e(_0x41fcba,_0x3b40d1,_0x5225cc):_0x38136e(_0x5225cc))||_0x5225cc);return _0x21ded7&&_0x5225cc&&Hc(_0x41fcba,_0x3b40d1,_0x5225cc),_0x5225cc;},et=(_0x7d88c5,_0x3742d4)=>(_0x31de1d,_0x40d2f6)=>_0x3742d4(_0x31de1d,_0x40d2f6,_0x7d88c5);let fs=class extends _0x3693db{constructor(_0x1c9b95,_0x4a13d0,_0xee6955,_0x22ccae,_0x292e82){const _0x191453=_0x46f17f;super(_0x1c9b95,_0x4a13d0,_0xee6955),this[_0x191453(0x53b)]=_0x22ccae,this[_0x191453(0x1a7)]=_0x292e82;}[_0x46f17f(0x472)](_0x4e1762,_0x39277){const _0x42cc80=_0x46f17f,_0xe7711=this[_0x42cc80(0x454)](_0x4e1762);if(_0xe7711)try{const _0x22ac3d=this['_transformStack'](_0xe7711,_0x39277);this[_0x42cc80(0x590)](_0x4e1762,_0x22ac3d);}catch(_0x49e080){this[_0x42cc80(0x1a7)][_0x42cc80(0x27d)](_0x42cc80(0x2a0),_0x49e080),this[_0x42cc80(0x2ba)](_0x4e1762);}const _0x5c48d5=this[_0x42cc80(0x455)](_0x4e1762);if(_0x5c48d5)try{const _0x12de50=this[_0x42cc80(0x348)](_0x5c48d5,_0x39277);this[_0x42cc80(0x261)](_0x4e1762,_0x12de50);}catch(_0x4f8473){this['_logService'][_0x42cc80(0x27d)](_0x4f8473),this[_0x42cc80(0x4bf)](_0x4e1762);}}[_0x46f17f(0x2ba)](_0x4c3510){const _0x5559af=_0x46f17f,_0x411953=this[_0x5559af(0x454)](_0x4c3510);_0x411953&&(_0x411953[_0x5559af(0x407)]=0x0,this[_0x5559af(0x2aa)]());}[_0x46f17f(0x4bf)](_0x3cca34){const _0x3332dc=_0x46f17f,_0x3a925a=this[_0x3332dc(0x455)](_0x3cca34);_0x3a925a&&(_0x3a925a[_0x3332dc(0x407)]=0x0,this[_0x3332dc(0x2aa)]());}['_substituteUndoStack'](_0x4ae937,_0x3dccb1){const _0x536988=_0x46f17f;this['_undoStacks'][_0x536988(0x25b)](_0x4ae937,_0x3dccb1),this['_updateStatus']();}[_0x46f17f(0x261)](_0x3f8350,_0x2b75c2){const _0x53c58c=_0x46f17f;this[_0x53c58c(0x4e7)][_0x53c58c(0x25b)](_0x3f8350,_0x2b75c2),this[_0x53c58c(0x2aa)]();}['_transformStack'](_0x2f4073,_0x477703){const _0x5570d7=_0x46f17f,_0x1687ca=[];let _0x58f678=_0x477703,_0x315c99=_0x477703;for(let _0x361911=_0x2f4073[_0x5570d7(0x407)]-0x1;_0x361911>=0x0;_0x361911--){const {unitID:_0x144b7b,undoMutations:_0x571a38,redoMutations:_0x331084}=_0x2f4073[_0x361911],_0x4f72ad=this[_0x5570d7(0x53b)][_0x5570d7(0x46f)](_0x58f678,_0x571a38),_0x328401=this[_0x5570d7(0x53b)][_0x5570d7(0x46f)](_0x315c99,_0x331084);if(_0x2619e6(_0x4f72ad)||_0x2619e6(_0x328401)){this[_0x5570d7(0x1a7)]['error'](_0x5570d7(0x2a0),_0x5570d7(0x2df),_0x4f72ad,_0x328401);break;}_0x58f678=_0x4f72ad[_0x5570d7(0x3c6)],_0x315c99=_0x328401['c1Prime'],_0x1687ca[_0x5570d7(0x23d)]({'unitID':_0x144b7b,'undoMutations':_0x4f72ad['m2Prime'],'redoMutations':_0x328401['m2Prime']});}return _0x1687ca['reverse']();}};fs=Bc([et(0x0,_0x2d6c6a),et(0x1,_0x15e74e),et(0x2,_0xbdb4f2),et(0x3,_0x1ea1f3),et(0x4,_0x416cf3)],fs);class kc extends _0x2ddc3d{constructor(){const _0x215853=_0x46f17f;super(),g(this,_0x215853(0x431)),this[_0x215853(0x431)]=_0x249771(window,'popstate')['pipe'](_0x2b97ad(this['dispose$']),_0xbfa8cd(0x1),_0x561896(void 0x0));}[_0x46f17f(0x4d8)](_0xd8881e,_0x96657e,_0x13124e=!0x1){const _0x5d27ae=_0x46f17f,_0x10ca76=new URL(window[_0x5d27ae(0x4c7)][_0x5d27ae(0x46d)]);_0x10ca76[_0x5d27ae(0x3e4)]['set'](_0xd8881e,_0x96657e),_0x13124e?window[_0x5d27ae(0x1d2)][_0x5d27ae(0x367)]('','',_0x10ca76[_0x5d27ae(0x4b7)]()):window['history'][_0x5d27ae(0x1ac)]('','',_0x10ca76[_0x5d27ae(0x4b7)]());}['removeParam'](_0x3c9de4,_0x42c635=!0x1){const _0x24ecff=_0x46f17f,_0x332674=new URL(window[_0x24ecff(0x4c7)][_0x24ecff(0x46d)]);_0x332674[_0x24ecff(0x3e4)][_0x24ecff(0x2cd)](_0x3c9de4),_0x42c635?window[_0x24ecff(0x1d2)]['replaceState']('','',_0x332674['toString']()):window[_0x24ecff(0x1d2)]['pushState']('','',_0x332674[_0x24ecff(0x4b7)]());}[_0x46f17f(0x502)](_0x51ebaa){const _0x201642=_0x46f17f;var _0x2ad902;return(_0x2ad902=new URL(window[_0x201642(0x4c7)][_0x201642(0x46d)])[_0x201642(0x3e4)][_0x201642(0x3e1)](_0x51ebaa))!=null?_0x2ad902:void 0x0;}}var tr=Object[_0x46f17f(0x3a4)],Wc=Object[_0x46f17f(0x17b)],Fc=(_0x252124,_0x341700,_0x4d7d90)=>_0x341700 in _0x252124?tr(_0x252124,_0x341700,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d7d90}):_0x252124[_0x341700]=_0x4d7d90,Vc=(_0x2b88d4,_0xca4c36,_0x180e89,_0x5ccd22)=>{const _0x5312c2=_0x46f17f;for(var _0x2caa5f=_0x5ccd22>0x1?void 0x0:_0x5ccd22?Wc(_0xca4c36,_0x180e89):_0xca4c36,_0x3563c9=_0x2b88d4[_0x5312c2(0x407)]-0x1,_0x414b8b;_0x3563c9>=0x0;_0x3563c9--)(_0x414b8b=_0x2b88d4[_0x3563c9])&&(_0x2caa5f=(_0x5ccd22?_0x414b8b(_0xca4c36,_0x180e89,_0x2caa5f):_0x414b8b(_0x2caa5f))||_0x2caa5f);return _0x5ccd22&&_0x2caa5f&&tr(_0xca4c36,_0x180e89,_0x2caa5f),_0x2caa5f;},lt=(_0x53496e,_0x348be6)=>(_0x40b2e9,_0x2c2a17)=>_0x348be6(_0x40b2e9,_0x2c2a17,_0x53496e),Gc=(_0x359767,_0x4dc685,_0x1e1521)=>Fc(_0x359767,_0x4dc685+'',_0x1e1521);const Yc=_0x46f17f(0x538);let vs=class extends _0x252f7f{constructor(_0x585413=Mn,_0x4d1b2d,_0x7ba1d0,_0x1348de,_0x53cef9){const _0x1bc33f=_0x46f17f;super(),this[_0x1bc33f(0x45d)]=_0x585413,this['_logService']=_0x4d1b2d,this[_0x1bc33f(0x25d)]=_0x7ba1d0,this[_0x1bc33f(0x176)]=_0x1348de,this[_0x1bc33f(0x57c)]=_0x53cef9;const {..._0x3eb203}=this[_0x1bc33f(0x45d)];this[_0x1bc33f(0x57c)][_0x1bc33f(0x3c4)](ee,_0x3eb203);}[_0x46f17f(0x451)](){const _0x25beef=_0x46f17f;this[_0x25beef(0x247)](),this[_0x25beef(0x4e9)]();}[_0x46f17f(0x1fe)](){const _0xc060a0=_0x46f17f;_0x5991ac(this[_0xc060a0(0x176)],[[bt],[It]]);}[_0x46f17f(0x364)](){const _0x51a6d6=_0x46f17f;this[_0x51a6d6(0x330)]();}[_0x46f17f(0x247)](){const _0x3a324c=_0x46f17f;var _0x5d8a4a,_0x4d997a,_0x373bd7,_0x1223a9;this[_0x3a324c(0x176)]['has'](_0x166e89)&&this[_0x3a324c(0x1a7)]['error'](_0x3a324c(0x37f),_0x3a324c(0x18a));const _0x30f825=[[_0x166e89,{'useClass':fs}],[xe],[Os],[Yi,{'useClass':kc}],[Me],[q],[_0x2ac4d0],[mt],[gt],[vt],[pt],[Ts],[Tt],[Rt],[Mi],[Ot],[Ai,{'useClass':(_0x4d997a=(_0x5d8a4a=this[_0x3a324c(0x45d)])==null?void 0x0:_0x5d8a4a['socketService'])!=null?_0x4d997a:ss}],[_0x24c16b,{'useClass':ds}],[_0x3a2cdd,{'useClass':ls}],[_0x30c4e5,{'useClass':_s}],[_0x4be088,{'useClass':us}],[it],[Et],[Ct],[bt],[Ve],[It]];(_0x373bd7=this['_config'])!=null&&_0x373bd7[_0x3a324c(0x54e)]&&_0x30f825[_0x3a324c(0x23d)]([yt,{'useClass':vo}]),_0x45de4c(this['_injector'],_0x440f6e(_0x30f825,(_0x1223a9=this['_config'])==null?void 0x0:_0x1223a9[_0x3a324c(0x349)]));}[_0x46f17f(0x330)](){const _0x3a5930=_0x46f17f;this[_0x3a5930(0x45a)](this[_0x3a5930(0x25d)][_0x3a5930(0x3b7)](_0x571c15[_0x3a5930(0x15e)],[cs])),this[_0x3a5930(0x45a)](this[_0x3a5930(0x25d)][_0x3a5930(0x3b7)](_0x571c15['UNIVER_SHEET'],[hs]));}[_0x46f17f(0x4e9)](){const _0x39481b=_0x46f17f;var _0x3ad738,_0x34c812;this[_0x39481b(0x176)][_0x39481b(0x3e1)](_0x595bc6)[_0x39481b(0x317)]({'priority':0x14,'interceptor':_0x2f5156({'maxParallel':0x6})}),(_0x3ad738=this[_0x39481b(0x45d)])!=null&&_0x3ad738['enableOfflineEditing']||this[_0x39481b(0x176)][_0x39481b(0x3e1)](q)['disableLocalCache'](),(_0x34c812=this[_0x39481b(0x45d)])!=null&&_0x34c812[_0x39481b(0x1b1)]&&_0x5991ac(this[_0x39481b(0x176)],[[Tt]]),_0x5991ac(this[_0x39481b(0x176)],[[Rt],[Ve],[Et],[it],[Ct],[Ot]]);}};Gc(vs,_0x46f17f(0x43f),Yc),vs=Vc([_0x41ce9f(_0x1c17f9,_0x691783),lt(0x1,_0x416cf3),lt(0x2,_0x51f1aa),lt(0x3,_0x4e871f(_0x24063a)),lt(0x4,_0x175c85)],vs);export{Ki as AUTHZ_URL_KEY,ls as AuthzIoHttpService,ee as COLLAB_CLIENT_CONFIG_KEY,Pn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,St as CollaborationEntity,is as CollaborationSession,xe as CollaborationSessionService,ss as CollaborationSocketService,J as CollaborationStatus,Aa as CollaborationStatusDisplay,Mi as CommentService,Et as DataLoaderController,Ct as DesktopCollaborationStatusDisplayController,rs as DocCollaborationEntity,bn as HEARTBEAT_INTERVAL_KEY,Di as HEARTBEAT_TIMEOUT_KEY,Ai as ICollaborationSocketService,Yi as IURLService,_s as ImageIoService,wn as LOCAL_CACHE_INTERVAL_KEY,Nn as LOGIN_URL_KEY,q as LocalCacheService,Me as MemberService,us as MentionIoHttpService,On as RETRY_CONNECTING_MAX_COUNT_KEY,_h as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,gn as SNAPSHOT_URL_KEY,ve as SessionStatus,ca as SheetCollabCursorShape,ns as SheetCollaborationEntity,ds as SnapshotServerOverHTTPService,vs as UniverCollaborationClientPlugin,kc as WebURLService,xn as deserializeToCombResponse,Ln as serializeCombRequest};
1
+ const _0x50a7d0=_0xc944;(function(_0x3720ac,_0x7adca0){const _0x153dfe=_0xc944,_0x2241cb=_0x3720ac();while(!![]){try{const _0x50f4bc=parseInt(_0x153dfe(0x2f3))/0x1*(-parseInt(_0x153dfe(0x2f7))/0x2)+-parseInt(_0x153dfe(0x21a))/0x3*(-parseInt(_0x153dfe(0x39e))/0x4)+parseInt(_0x153dfe(0x4ad))/0x5+parseInt(_0x153dfe(0x269))/0x6*(parseInt(_0x153dfe(0x307))/0x7)+-parseInt(_0x153dfe(0x4d1))/0x8*(-parseInt(_0x153dfe(0x123))/0x9)+parseInt(_0x153dfe(0x436))/0xa*(parseInt(_0x153dfe(0x44a))/0xb)+-parseInt(_0x153dfe(0x1f2))/0xc;if(_0x50f4bc===_0x7adca0)break;else _0x2241cb['push'](_0x2241cb['shift']());}catch(_0x265f27){_0x2241cb['push'](_0x2241cb['shift']());}}}(_0x1283,0x3bc24));var sr=Object['defineProperty'],ir=(_0x542dc2,_0x34665b,_0x1b5b4f)=>_0x34665b in _0x542dc2?sr(_0x542dc2,_0x34665b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b5b4f}):_0x542dc2[_0x34665b]=_0x1b5b4f,g=(_0x296a0f,_0x577952,_0x2943c8)=>ir(_0x296a0f,typeof _0x577952!=_0x50a7d0(0x104)?_0x577952+'':_0x577952,_0x2943c8);import{createIdentifier as _0x17c099,Inject as _0x33026a,Disposable as _0x514939,DisposableCollection as _0x2912e1,toDisposable as _0xd370ea,IConfigService as _0x533505,ILogService as _0x299b7a,UserManagerService as _0x7e9e9e,UniverInstanceType as _0x40c566,IUniverInstanceService as _0x28b990,LocaleService as _0x21b13d,Optional as _0x380b11,RxDisposable as _0x2983d9,Injector as _0x17dae8,Tools as _0x378638,ILocalStorageService as _0xd46cc5,Rectangle as _0x18079f,ICommandService as _0x2e05f8,DOC_RANGE_TYPE as _0x2b344d,JSONX as _0x198357,CommandType as _0x30659a,IPermissionService as _0x20da8e,IUndoRedoService as _0x5b0e0d,sequenceExecute as _0x396518,debounce as _0x10313f,COLORS as _0x461fc5,ColorKit as _0x3567ae,ThemeService as _0x466ca0,fromEventSubject as _0x3f0bbd,useDependency as _0x4739ca,connectInjector as _0x5acef2,Workbook as _0xf4680a,MentionType as _0x1ebf2e,isInternalEditorID as _0x520839,LocalUndoRedoService as _0x2bc4a,IContextService as _0x1b8983,DependentOn as _0x449762,Plugin as _0x318b29,touchDependencies as _0x8eb2c0,IAuthzIoService as _0x1540fd,IMentionIOService as _0x5f0aab,registerDependencies as _0x154853,mergeOverrideWithDependencies as _0x3bf386}from'@univerjs/core';import{Subject as _0x5b148b,merge as _0x4a9003,takeUntil as _0x2b44f7,BehaviorSubject as _0x22472b,distinctUntilChanged as _0x1b81a6,fromEvent as _0x226128,ReplaySubject as _0x136f27,take as _0x5cbb3a,map as _0x4aea5f,shareReplay as _0x58d478,of as _0x40848f,debounceTime as _0x521a38,filter as _0x1e1f37,switchMap as _0x150ba9,combineLatest as _0x5bce60,concatMap as _0x320b34,mapTo as _0x5c5108}from'rxjs';import{map as _0xe5458e,take as _0x5dbd78,filter as _0x7d8aef,delay as _0x1b5247,throttleTime as _0x755a89,takeUntil as _0x3d76fb,switchMap as _0x147bb3}from'rxjs/operators';import{MessageType as _0x4eaed3,Tooltip as _0x208dab}from'@univerjs/design';import{HTTPService as _0x278722,WebSocketService as _0x2d5820,MergeInterceptorFactory as _0x528585,HTTPRequest as _0x5522e9,UniverNetworkPlugin as _0x1bc40e,ThresholdInterceptorFactory as _0x4a5979}from'@univerjs/network';import{IBeforeCloseService as _0x3a2a39,IMessageService as _0xa8b33d,INotificationService as _0x45333f,useObservable as _0x30f937,BuiltInUIPart as _0x1815bd,IUIPartsService as _0x43dd49}from'@univerjs/ui';import{CollaborationEvent as _0x26d642,parseChangesetToProtocol as _0x1b0c2c,ISnapshotServerService as _0x2647d5,isTransformMutationFailure as _0x2432d6,isTransformMutationsWithChangesetSuccess as _0x545fca,ITransformService as _0x4af41b,RevisionService as _0x50f245,mapDocumentTypeToUniverType as _0x3726a0,isTransformChangesetsSuccess as _0x22d91c,CompressMutationService as _0x11828c,parseProtocolChangeset as _0x1785c0,SnapshotService as _0x413c1b,textEncoder as _0x4a42d6,b64DecodeUnicode as _0x806675,isTransformMutationsWithChangesetFailure as _0x2a96c9,UniverCollaborationPlugin as _0x8096fe}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1ff87b}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x370f46,RichTextEditingMutation as _0x5e3fd9,SetTextSelectionsOperation as _0x11d07f,DocSkeletonManagerService as _0x10e516}from'@univerjs/docs';import{DocIMEInputManagerService as _0x250d28,DocStateChangeManagerService as _0x4ac2d0,IDocClipboardService as _0x3b4ce9,NodePositionConvertToCursor as _0x34ed6a,NodePositionConvertToRectRange as _0x16a980,TEXT_RANGE_LAYER_INDEX as _0x2d2bdf,SetDocZoomRatioOperation as _0x57b946}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x3a11a0,SetSelectionsOperation as _0x313c8a,InsertSheetMutation as _0x47f947,EmptyMutation as _0x2b292b,WorkbookEditablePermission as _0x442ff4,RefRangeService as _0x353c51,EffectRefRangId as _0x417021,handleIRemoveRow as _0x32a4f4,handleIRemoveCol as _0x5369f9,handleMoveRange as _0x28f3e9,handleInsertRow as _0x23c885,handleInsertRangeMoveRight as _0x40abdd,handleInsertRangeMoveDown as _0x51a436,handleInsertCol as _0x1eb2df,handleDeleteRangeMoveUp as _0x1e512b,handleDeleteRangeMoveLeft as _0x471bf3,runRefRangeMutations as _0x51f717,SetWorksheetActivateCommand as _0x418451}from'@univerjs/sheets';import{IRenderManagerService as _0x984cff,Shape as _0x1626cc,Rect as _0x502301,getColor as _0x267fcd,RegularPolygon as _0x2a0302,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xe166d6,Vector2 as _0x47811b}from'@univerjs/engine-render';import{IImageIoService as _0x4a51fd,ImageSourceType as _0x253162,ImageUploadStatusType as _0x4e08d9}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0xe6e903,serializeRangeWithSheet as _0x49a24a}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0xb45b1b,VIEWPORT_KEY as _0x54d40e,getCoordByCell as _0x1070d0,getSheetObject as _0x47d2a2,SheetPermissionInitController as _0x5a857a}from'@univerjs/sheets-ui';import _0x4b9c5e,{forwardRef as _0x447627,useRef as _0x244bad,createElement as _0x513a66,useCallback as _0x311bd9}from'react';import{IRemoteInstanceService as _0x14e6c9}from'@univerjs/rpc';const mn=_0x50a7d0(0x285),pn=_0x50a7d0(0x19b),gn=_0x50a7d0(0x38b),_h='SEND_CHANGESET_TIMEOUT',Sn=0x7d0,In=_0x50a7d0(0xd3),Cn=_0x50a7d0(0x3a8),En=_0x50a7d0(0x223),bn=_0x50a7d0(0x177),Tn=0x7530,Di='HEARTBEAT_TIMEOUT',Pi=0x4e20,Rn=0x4e20,On=_0x50a7d0(0x2db),yn=0x3,wn=_0x50a7d0(0xe6),Dn=0x3e8,Pn=_0x50a7d0(0x278),Un=_0x50a7d0(0x317),Nn=_0x50a7d0(0x272),An='/universer-api/oidc/authpage';var Ui=(_0x6d77d0=>(_0x6d77d0[_0x6d77d0['UNDEFINED']=0x0]='UNDEFINED',_0x6d77d0[_0x6d77d0['OK']=0x1]='OK',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x3b3)]=0x2]=_0x50a7d0(0x3b3),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x45e)]=0x3]=_0x50a7d0(0x45e),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x40d)]=0x4]=_0x50a7d0(0x40d),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x44f)]=0x5]=_0x50a7d0(0x44f),_0x6d77d0[_0x6d77d0['ALREADY_EXISTS']=0x6]=_0x50a7d0(0x2f6),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x253)]=0x7]=_0x50a7d0(0x253),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x126)]=0x8]='TOO_MANY_REQUESTS',_0x6d77d0[_0x6d77d0['COMPLETION_FINISHED']=0x9]=_0x50a7d0(0x3be),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x1a7)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x302)]=0x1771]=_0x50a7d0(0x302),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x26e)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x2c3)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x118)]=0x1b59]='APPLY_REJECT',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x3f9)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x6d77d0[_0x6d77d0['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x6d77d0[_0x6d77d0['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x50a7d0(0xc4),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x355)]=0x1b5d]=_0x50a7d0(0x355),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x2bb)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x131)]=0x2329]=_0x50a7d0(0x131),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x27d)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x6d77d0[_0x6d77d0['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x50a7d0(0x426),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x1ba)]=0x232c]=_0x50a7d0(0x1ba),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x3dd)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x1cc)]=0x2711]=_0x50a7d0(0x1cc),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x128)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x443)]=0x2713]=_0x50a7d0(0x443),_0x6d77d0[_0x6d77d0[_0x50a7d0(0xf2)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x356)]=-0x1]='UNRECOGNIZED',_0x6d77d0))(Ui||{}),ce=(_0x1583fe=>(_0x1583fe[_0x1583fe[_0x50a7d0(0x1a1)]=0x0]=_0x50a7d0(0x1a1),_0x1583fe[_0x1583fe['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x1583fe[_0x1583fe[_0x50a7d0(0x331)]=0x2]=_0x50a7d0(0x331),_0x1583fe[_0x1583fe[_0x50a7d0(0x18a)]=0x3]=_0x50a7d0(0x18a),_0x1583fe[_0x1583fe[_0x50a7d0(0xc3)]=0x4]=_0x50a7d0(0xc3),_0x1583fe[_0x1583fe[_0x50a7d0(0x356)]=-0x1]='UNRECOGNIZED',_0x1583fe))(ce||{}),W=(_0x20f12e=>(_0x20f12e[_0x20f12e['UNKNOWN_CMD']=0x0]=_0x50a7d0(0x21b),_0x20f12e[_0x20f12e[_0x50a7d0(0x4ac)]=0x1]=_0x50a7d0(0x4ac),_0x20f12e[_0x20f12e[_0x50a7d0(0x197)]=0x2]=_0x50a7d0(0x197),_0x20f12e[_0x20f12e[_0x50a7d0(0x215)]=0x3]=_0x50a7d0(0x215),_0x20f12e[_0x20f12e[_0x50a7d0(0x35b)]=0x4]=_0x50a7d0(0x35b),_0x20f12e[_0x20f12e[_0x50a7d0(0x48b)]=0x5]=_0x50a7d0(0x48b),_0x20f12e[_0x20f12e['RECV']=0x6]=_0x50a7d0(0xb5),_0x20f12e[_0x20f12e['UNRECOGNIZED']=-0x1]=_0x50a7d0(0x356),_0x20f12e))(W||{}),bs=(_0x268386=>(_0x268386[_0x268386[_0x50a7d0(0x172)]=0x0]=_0x50a7d0(0x172),_0x268386[_0x268386['OK']=0x1]='OK',_0x268386[_0x268386[_0x50a7d0(0x204)]=0x2]=_0x50a7d0(0x204),_0x268386[_0x268386[_0x50a7d0(0xcb)]=0x3e9]=_0x50a7d0(0xcb),_0x268386[_0x268386[_0x50a7d0(0x2e3)]=0x3ea]='JOIN_ROOM_NOT_ALLOWED',_0x268386[_0x268386[_0x50a7d0(0x356)]=-0x1]=_0x50a7d0(0x356),_0x268386))(bs||{}),Ni=(_0xea68ec=>(_0xea68ec[_0xea68ec['Undefined']=0x0]=_0x50a7d0(0x3ce),_0xea68ec[_0xea68ec[_0x50a7d0(0x129)]=0x1]=_0x50a7d0(0x129),_0xea68ec[_0xea68ec['HttpExport']=0x2]='HttpExport',_0xea68ec[_0xea68ec[_0x50a7d0(0x1f4)]=0x3]=_0x50a7d0(0x1f4),_0xea68ec[_0xea68ec[_0x50a7d0(0xcc)]=0x4]='UnitSnapshot',_0xea68ec[_0xea68ec[_0x50a7d0(0x356)]=-0x1]=_0x50a7d0(0x356),_0xea68ec))(Ni||{});const ee=_0x50a7d0(0x46f),Mn={};function xn(_0x1afe1a){const _0x5c09ac=_0x50a7d0;var _0xbe863a,_0x5a6efd,_0x3a7628,_0x4566ef,_0x28f273;const _0x37c006=_0x1afe1a[_0x5c09ac(0x274)],_0x3e1149=JSON[_0x5c09ac(0x47f)](_0x37c006);switch(_0x3e1149[_0x5c09ac(0xff)]){case W[_0x5c09ac(0x48b)]:case W[_0x5c09ac(0x4ac)]:{const _0x51eafa=_0x3e1149['infoRsp'];return{..._0x3e1149,'data':_0x51eafa,'cmd':_0x3e1149[_0x5c09ac(0xff)]};}case W[_0x5c09ac(0x197)]:{const _0x40a4df=_0x3e1149[_0x5c09ac(0x3e4)];return{..._0x3e1149,'data':_0x40a4df,'cmd':_0x3e1149[_0x5c09ac(0xff)]};}case W[_0x5c09ac(0xb5)]:{const _0x3ffc45=_0x3e1149[_0x5c09ac(0x48e)];switch(_0x3ffc45[_0x5c09ac(0x424)]){case _0x26d642[_0x5c09ac(0x32f)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':(_0xbe863a=_0x3ffc45['permissionRejEvent'])==null?void 0x0:_0xbe863a['cs']},'cmd':_0x3e1149['cmd']};case _0x26d642[_0x5c09ac(0x26d)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':(_0x5a6efd=_0x3ffc45[_0x5c09ac(0x235)])==null?void 0x0:_0x5a6efd['cs']},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642[_0x5c09ac(0x3b8)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':(_0x3a7628=_0x3ffc45[_0x5c09ac(0x310)])==null?void 0x0:_0x3a7628['cs']},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642['CHANGESET_REJ']:return{..._0x3e1149,'data':{..._0x3ffc45,'data':(_0x4566ef=_0x3ffc45[_0x5c09ac(0x35c)])==null?void 0x0:_0x4566ef['cs']},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642['CHANGESET_SHOULD_RETRY']:return{..._0x3e1149,'data':{..._0x3ffc45,'data':(_0x28f273=_0x3ffc45['csShouldRetryEvent'])==null?void 0x0:_0x28f273['cs']},'cmd':_0x3e1149['cmd']};case _0x26d642['UPDATE_CURSOR']:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x1a5)]},'cmd':_0x3e1149['cmd']};case _0x26d642[_0x5c09ac(0x3cd)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x325)]},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642[_0x5c09ac(0x348)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45['leaveEvent']},'cmd':_0x3e1149['cmd']};case _0x26d642[_0x5c09ac(0x13b)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x108)]},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642[_0x5c09ac(0x435)]:case _0x26d642[_0x5c09ac(0xd0)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x16d)]},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642['LIVESHARE_TERMINATE']:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x108)]},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642[_0x5c09ac(0x3a4)]:return{..._0x3e1149,'data':_0x3ffc45,'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642[_0x5c09ac(0x11e)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x41d)]},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642[_0x5c09ac(0x407)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x415)]},'cmd':_0x3e1149['cmd']};case _0x26d642['SHOULD_CLOSE_CONN']:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x3c7)]},'cmd':_0x3e1149['cmd']};default:return _0x3e1149;}}default:return _0x3e1149;}}function Ln(_0x410936){const _0x5d1381=_0x50a7d0;switch(_0x410936['cmd']){case W[_0x5d1381(0x48b)]:case W['HELLO']:return JSON[_0x5d1381(0x2d6)]({'cmd':_0x410936[_0x5d1381(0xff)],'routeKey':_0x410936[_0x5d1381(0x49c)]});case W[_0x5d1381(0x35b)]:{let _0x2c7eb0;switch(_0x410936[_0x5d1381(0x274)][_0x5d1381(0x424)]){case _0x26d642[_0x5d1381(0x4ca)]:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0x4ca)],'updateCursorEvent':_0x410936[_0x5d1381(0x274)][_0x5d1381(0x274)]};break;}case _0x26d642[_0x5d1381(0x348)]:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0x348)],'leaveEvent':_0x410936[_0x5d1381(0x274)]['data']};break;}case _0x26d642['USERS_ENTER']:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0x3cd)],'joinEvent':_0x410936['data'][_0x5d1381(0x274)]};break;}case _0x26d642['LIVESHARE_NEW_HOST']:{_0x2c7eb0={'eventID':_0x26d642['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x410936['data'][_0x5d1381(0x274)]};break;}case _0x26d642[_0x5d1381(0xd0)]:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0xd0)],'liveShareOperation':_0x410936['data']['data']};break;}case _0x26d642[_0x5d1381(0x2cc)]:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0x2cc)],'liveShareTerminate':_0x410936[_0x5d1381(0x274)][_0x5d1381(0x274)]};break;}case _0x26d642['LIVESHARE_REQUEST_HOST']:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0x188)],'liveShareRequestHost':_0x410936[_0x5d1381(0x274)][_0x5d1381(0x274)]};break;}case _0x26d642[_0x5d1381(0x435)]:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0x435)]};break;}default:_0x2c7eb0={'eventID':_0x410936['data'][_0x5d1381(0x424)]};}return JSON[_0x5d1381(0x2d6)]({'cmd':_0x410936[_0x5d1381(0xff)],'routeKey':_0x410936[_0x5d1381(0x49c)],'collaMsg':_0x2c7eb0});}case W['JOIN']:return JSON['stringify']({'cmd':_0x410936[_0x5d1381(0xff)],'routeKey':_0x410936[_0x5d1381(0x49c)],'joinReq':_0x410936[_0x5d1381(0x274)]});case W[_0x5d1381(0x215)]:return JSON[_0x5d1381(0x2d6)]({'cmd':_0x410936['cmd'],'routeKey':_0x410936[_0x5d1381(0x49c)],'leaveReq':_0x410936[_0x5d1381(0x274)]});default:throw new Error(_0x5d1381(0x288));}}var $n=Object['defineProperty'],Hn=Object['getOwnPropertyDescriptor'],jn=(_0x19bfe3,_0x35b696,_0x46cfbd,_0x939166)=>{const _0x33f84a=_0x50a7d0;for(var _0xd48c45=_0x939166>0x1?void 0x0:_0x939166?Hn(_0x35b696,_0x46cfbd):_0x35b696,_0x2f99d1=_0x19bfe3[_0x33f84a(0x1d0)]-0x1,_0x29ea67;_0x2f99d1>=0x0;_0x2f99d1--)(_0x29ea67=_0x19bfe3[_0x2f99d1])&&(_0xd48c45=(_0x939166?_0x29ea67(_0x35b696,_0x46cfbd,_0xd48c45):_0x29ea67(_0xd48c45))||_0xd48c45);return _0x939166&&_0xd48c45&&$n(_0x35b696,_0x46cfbd,_0xd48c45),_0xd48c45;},qe=(_0x2d8302,_0x4753d3)=>(_0x2db6ea,_0x21fc4b)=>_0x4753d3(_0x2db6ea,_0x21fc4b,_0x2d8302);const Ai=_0x17c099('univer-pro.collaboration-client-socket-service');function Bn(_0x5a438b,_0x98317e,_0x23a258){const _0x5b4216=_0x50a7d0;return _0x5a438b+'/'+_0x98317e+_0x5b4216(0x224)+_0x23a258+_0x5b4216(0xb0);}let ss=class extends _0x514939{constructor(_0x180da1,_0xc7894,_0x25bad7,_0xf29a72,_0x589bf8){const _0x2ae80e=_0x50a7d0;super(),this[_0x2ae80e(0x314)]=_0x180da1,this[_0x2ae80e(0xbf)]=_0xc7894,this[_0x2ae80e(0x3bb)]=_0x25bad7,this['_logService']=_0xf29a72,this[_0x2ae80e(0x18f)]=_0x589bf8;}[_0x50a7d0(0x374)](_0x1e8792){const _0x2c22b9=_0x50a7d0,_0x3dbb88=this['_ws'][_0x2c22b9(0x374)](_0x1e8792);if(!_0x3dbb88)throw new Error(_0x2c22b9(0x49f));const _0x5a9199=new _0x2912e1(),_0x4c1422=new _0x5b148b();_0x5a9199['add'](_0x3dbb88[_0x2c22b9(0x4a7)][_0x2c22b9(0x479)](_0x37c5b7=>_0x4c1422['next'](_0x37c5b7))),_0x5a9199[_0x2c22b9(0x366)](_0xd370ea(()=>_0x4c1422[_0x2c22b9(0x3c4)]()));const _0x1d1598=new _0x5b148b();_0x5a9199['add'](_0x3dbb88['error$'][_0x2c22b9(0x479)](_0x30a81e=>_0x1d1598[_0x2c22b9(0x492)](_0x30a81e))),_0x5a9199[_0x2c22b9(0x366)](_0xd370ea(()=>_0x1d1598[_0x2c22b9(0x3c4)]()));const _0xe5bb2e=new _0x5b148b();_0x5a9199[_0x2c22b9(0x366)](_0x3dbb88[_0x2c22b9(0x103)][_0x2c22b9(0x479)](_0x1d0789=>{const _0x1b730a=_0x2c22b9,_0x4abbc4=xn(_0x1d0789);_0xe5bb2e[_0x1b730a(0x492)](_0x4abbc4);})),_0x5a9199['add'](_0xd370ea(()=>_0xe5bb2e[_0x2c22b9(0x3c4)]()));let _0x4cf208;const _0x21f7bc=()=>{const _0x47cea3=_0x2c22b9;_0x1d1598['next'](new Event(_0x47cea3(0x1b1))),_0x4c1422[_0x47cea3(0x492)](new CloseEvent('connection\x20error')),_0x4cf208[_0x47cea3(0x42b)]();};return _0x4cf208={'memberID':'','close$':_0x4c1422['asObservable'](),'error$':_0x1d1598[_0x2c22b9(0x1e8)](),'open$':_0x3dbb88[_0x2c22b9(0x241)],'message$':_0xe5bb2e[_0x2c22b9(0x1e8)](),'send':_0x247c8c=>{const _0xb930a=_0x2c22b9;if(_0x247c8c[_0xb930a(0xff)]===W[_0xb930a(0x35b)]){if(_0x247c8c['data'][_0xb930a(0x424)]===_0x26d642['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x4cf208,_0x247c8c[_0xb930a(0x274)])['catch'](_0x37bea0=>{const _0x4a323c=_0xb930a;this[_0x4a323c(0x422)][_0x4a323c(0x3a2)](_0x37bea0),_0x21f7bc();});return;}if(_0x247c8c[_0xb930a(0x274)][_0xb930a(0x424)]===_0x26d642[_0xb930a(0x222)]){const _0x246b61=_0x247c8c[_0xb930a(0x274)];this['_fetchMissChangesets'](_0x246b61)[_0xb930a(0x119)](_0x2dbc54=>{const _0x214141=_0xb930a;_0xe5bb2e[_0x214141(0x492)]({'cmd':W[_0x214141(0xb5)],'code':bs['OK'],'routeKey':_0x246b61[_0x214141(0x274)][_0x214141(0xaa)],'routeType':'','data':{'eventID':_0x26d642[_0x214141(0xec)],'data':{'changesets':_0x2dbc54}}});})[_0xb930a(0x217)](_0x1b28e9=>{const _0x3081b4=_0xb930a;this[_0x3081b4(0x422)]['error'](_0x1b28e9),_0x21f7bc();});return;}}_0x3dbb88[_0xb930a(0x23c)](Ln(_0x247c8c));},'close':()=>{const _0x5df247=_0x2c22b9;_0x3dbb88[_0x5df247(0x42b)](),_0x5a9199['dispose']();}},_0x4cf208;}async[_0x50a7d0(0x3a3)](_0x2409cb,_0x34df5f){const _0x3145be=_0x50a7d0;var _0x22ca3e,_0x1e38af;const {unitType:_0x3d013c,unitID:_0x1961d1,changeset:_0x3eb2a3}=_0x34df5f[_0x3145be(0x274)],_0x1356ab={'unitID':_0x1961d1,'memberID':_0x2409cb['memberID'],'type':_0x3d013c,'changeset':_0x1b0c2c(_0x3eb2a3)},_0xa3baf4=this[_0x3145be(0x3bb)][_0x3145be(0x4c6)](Pn),_0x16bc1d=this[_0x3145be(0x3bb)][_0x3145be(0x4c6)](ee),_0x14c176=Bn((_0x1e38af=(_0x22ca3e=_0x16bc1d==null?void 0x0:_0x16bc1d[_0x3145be(0x47c)])!=null?_0x22ca3e:_0xa3baf4)!=null?_0x1e38af:Un,_0x3d013c,_0x1961d1);try{await this['_http']['post'](_0x14c176,{'body':_0x1356ab});}catch(_0x36535a){throw this[_0x3145be(0x422)][_0x3145be(0x3a2)](_0x3145be(0x417),_0x3145be(0x389)),_0x36535a;}}async[_0x50a7d0(0x3bc)](_0x29b481){const _0x1de73b=_0x50a7d0,{unitID:_0x271d67,from:_0x29b3a8,to:_0x177106,unitType:_0x5d0aac}=_0x29b481[_0x1de73b(0x274)];return(await this['_snapshotServerService'][_0x1de73b(0x392)]({'metadata':void 0x0},{'unitID':_0x271d67,'type':_0x5d0aac,'from':_0x29b3a8,'to':_0x177106}))[_0x1de73b(0xfa)];}};ss=jn([qe(0x0,_0x33026a(_0x278722)),qe(0x1,_0x33026a(_0x2d5820)),qe(0x2,_0x533505),qe(0x3,_0x299b7a),qe(0x4,_0x2647d5)],ss);const kn='collaboration_new_changeset';function Wn(_0x5f114b){const _0x4dfc98=_0x50a7d0;return JSON[_0x4dfc98(0x2d6)](_0x5f114b)[_0x4dfc98(0x1d0)];}class Mi{constructor(){const _0x59f43c=_0x50a7d0;g(this,'_commentUpdate$',new _0x5b148b()),g(this,'commentUpdate$',this[_0x59f43c(0xdb)][_0x59f43c(0x1e8)]());}['onCommentUpdate'](_0x285761){this['_commentUpdate$']['next'](_0x285761);}}var Fn=Object[_0x50a7d0(0x15c)],Vn=Object[_0x50a7d0(0x18b)],Gn=(_0x8c3914,_0xe4c5ee,_0x108fe3,_0x45551e)=>{const _0x54ae84=_0x50a7d0;for(var _0x3d1512=_0x45551e>0x1?void 0x0:_0x45551e?Vn(_0xe4c5ee,_0x108fe3):_0xe4c5ee,_0xedf349=_0x8c3914[_0x54ae84(0x1d0)]-0x1,_0x373899;_0xedf349>=0x0;_0xedf349--)(_0x373899=_0x8c3914[_0xedf349])&&(_0x3d1512=(_0x45551e?_0x373899(_0xe4c5ee,_0x108fe3,_0x3d1512):_0x373899(_0x3d1512))||_0x3d1512);return _0x45551e&&_0x3d1512&&Fn(_0xe4c5ee,_0x108fe3,_0x3d1512),_0x3d1512;},Ws=(_0x2ab125,_0x530cf3)=>(_0x1b7b52,_0x1c19a8)=>_0x530cf3(_0x1b7b52,_0x1c19a8,_0x2ab125);let Me=class extends _0x514939{constructor(_0x3b9bf8,_0x4ce08a){const _0x3f1095=_0x50a7d0;super(),g(this,_0x3f1095(0x4a3),new Map()),(this['_univerInstanceService']=_0x3b9bf8,this[_0x3f1095(0xae)]=_0x4ce08a,this[_0x3f1095(0x450)](_0xd370ea(_0x4a9003(this['_univerInstanceService'][_0x3f1095(0x42a)](_0x40c566['UNIVER_SHEET'])[_0x3f1095(0x157)](_0xe5458e(_0x446a78=>_0x446a78[_0x3f1095(0x14f)]())),this[_0x3f1095(0x283)]['getTypeOfUnitDisposed$'](_0x40c566[_0x3f1095(0x26b)])[_0x3f1095(0x157)](_0xe5458e(_0x3eb7d6=>_0x3eb7d6[_0x3f1095(0x14f)]())),this[_0x3f1095(0x283)]['getTypeOfUnitDisposed$'](_0x40c566['UNIVER_SLIDE'])[_0x3f1095(0x157)](_0xe5458e(_0x5a8dc5=>_0x5a8dc5['getUnitId']())))[_0x3f1095(0x479)](_0xfd3677=>this[_0x3f1095(0xc9)](_0xfd3677)))));}[_0x50a7d0(0x287)](_0x70e23c){const _0xfdef72=_0x50a7d0;this[_0xfdef72(0xae)][_0xfdef72(0x287)](_0x70e23c);}[_0x50a7d0(0x3e2)](){const _0x180973=_0x50a7d0;return this['_userManagerService'][_0x180973(0x3e2)]();}[_0x50a7d0(0x163)](_0x5e75c8,_0x5ce7f4){const _0x1de452=_0x50a7d0;let _0x47d10b=this['_roomMembers']['get'](_0x5e75c8);_0x47d10b||(_0x47d10b=new Yn(),this[_0x1de452(0x4a3)][_0x1de452(0x2ce)](_0x5e75c8,_0x47d10b)),_0x47d10b['updateMember'](_0x5ce7f4);}['removeMember'](_0x24fee6,_0x5d85b2){const _0x23965f=_0x50a7d0,_0x550a47=this[_0x23965f(0x4a3)][_0x23965f(0x373)](_0x24fee6);_0x550a47&&_0x550a47[_0x23965f(0x2ff)](_0x5d85b2);}['getRoom'](_0x566797){const _0x5d22e3=_0x50a7d0;return this[_0x5d22e3(0x4a3)][_0x5d22e3(0x373)](_0x566797);}['getMember'](_0x40ae34,_0x5e21a7){const _0x13bb6c=_0x50a7d0,_0x4177a7=this['_roomMembers'][_0x13bb6c(0x373)](_0x40ae34);if(_0x4177a7)return _0x4177a7[_0x13bb6c(0x34c)](_0x5e21a7);}[_0x50a7d0(0xc9)](_0x24ac4b){const _0x369a10=_0x50a7d0,_0x23f6f9=this[_0x369a10(0x4a3)][_0x369a10(0x373)](_0x24ac4b);_0x23f6f9&&(_0x23f6f9['dispose'](),this[_0x369a10(0x4a3)]['delete'](_0x24ac4b));}[_0x50a7d0(0x45c)](){const _0x2205b7=_0x50a7d0;this[_0x2205b7(0x4a3)][_0x2205b7(0x375)](_0x47c8b1=>_0x47c8b1[_0x2205b7(0x45c)]()),this[_0x2205b7(0x4a3)][_0x2205b7(0x21f)]();}};Me=Gn([Ws(0x0,_0x28b990),Ws(0x1,_0x33026a(_0x7e9e9e))],Me);class Yn extends _0x514939{constructor(){const _0x5d2b6b=_0x50a7d0;super(...arguments),g(this,_0x5d2b6b(0x2e8),new Map());}['dispose'](){const _0x3a2819=_0x50a7d0;this[_0x3a2819(0x2e8)]['clear']();}[_0x50a7d0(0x163)](_0x550717){const _0x2622bd=_0x50a7d0;this[_0x2622bd(0x2e8)][_0x2622bd(0x2ce)](_0x550717[_0x2622bd(0x13f)],_0x550717);}[_0x50a7d0(0x2ff)](_0x7a8bf3){const _0x18fd57=_0x50a7d0;this[_0x18fd57(0x2e8)][_0x18fd57(0x18d)](_0x7a8bf3);}['getMember'](_0x2454e3){const _0x32d147=_0x50a7d0;return this[_0x32d147(0x2e8)][_0x32d147(0x373)](_0x2454e3);}['getAllMembers'](){const _0x30d3a4=_0x50a7d0;return Array[_0x30d3a4(0x3bf)](this[_0x30d3a4(0x2e8)][_0x30d3a4(0x410)]());}}var Kn=Object['defineProperty'],zn=Object[_0x50a7d0(0x18b)],qn=(_0x570e5b,_0xdaf0b8,_0x2f2d48,_0x1a5d90)=>{const _0x241ada=_0x50a7d0;for(var _0x116634=_0x1a5d90>0x1?void 0x0:_0x1a5d90?zn(_0xdaf0b8,_0x2f2d48):_0xdaf0b8,_0x1f91d5=_0x570e5b[_0x241ada(0x1d0)]-0x1,_0x38626a;_0x1f91d5>=0x0;_0x1f91d5--)(_0x38626a=_0x570e5b[_0x1f91d5])&&(_0x116634=(_0x1a5d90?_0x38626a(_0xdaf0b8,_0x2f2d48,_0x116634):_0x38626a(_0x116634))||_0x116634);return _0x1a5d90&&_0x116634&&Kn(_0xdaf0b8,_0x2f2d48,_0x116634),_0x116634;},be=(_0x287b09,_0x212778)=>(_0x349a0d,_0x34dd60)=>_0x212778(_0x349a0d,_0x34dd60,_0x287b09),ve=(_0x2d0626=>(_0x2d0626[_0x2d0626[_0x50a7d0(0x3ea)]=0x0]=_0x50a7d0(0x3ea),_0x2d0626[_0x2d0626['JOINING']=0x1]=_0x50a7d0(0x4c5),_0x2d0626[_0x2d0626[_0x50a7d0(0x4a2)]=0x2]=_0x50a7d0(0x4a2),_0x2d0626[_0x2d0626['ONLINE']=0x3]='ONLINE',_0x2d0626))(ve||{});let is=class extends _0x2983d9{constructor(_0x427b63,_0x305547,_0x5d9ae7,_0x5d2249,_0x4fca08,_0x3172ac,_0xbe1aed,_0xf2b0a8,_0x158e40,_0x5dd209){const _0x44ec65=_0x50a7d0;super(),g(this,_0x44ec65(0x1e5),new _0x22472b(0x0)),g(this,'sessionStatus$',this[_0x44ec65(0x1e5)][_0x44ec65(0x1e8)]()),g(this,_0x44ec65(0x419),new _0x5b148b()),g(this,_0x44ec65(0x414),this[_0x44ec65(0x419)][_0x44ec65(0x1e8)]()),g(this,_0x44ec65(0x4ae)),g(this,'_socketMessageSubscription'),g(this,_0x44ec65(0xfd)),g(this,_0x44ec65(0x1c6),!0x1),g(this,'_telemetryInfo',null),(this[_0x44ec65(0x3d7)]=_0x427b63,this['_logService']=_0x5d9ae7,this[_0x44ec65(0x47b)]=_0x5d2249,this[_0x44ec65(0xdf)]=_0x4fca08,this[_0x44ec65(0x3bb)]=_0x3172ac,this['_localeService']=_0xbe1aed,this[_0x44ec65(0x35d)]=_0xf2b0a8,this[_0x44ec65(0x30b)]=_0x158e40,this[_0x44ec65(0x1dd)]=_0x5dd209,this[_0x44ec65(0x1c6)]=!!this['_telemetryService'],_0x305547[_0x44ec65(0x157)](_0x2b44f7(this[_0x44ec65(0x42e)]))[_0x44ec65(0x479)](_0x505dba=>{const _0x4eecfb=_0x44ec65;var _0x97a09a;typeof _0x505dba>'u'||(this[_0x4eecfb(0x4ae)]=_0x505dba,_0x505dba?(this['_joinRoom'](_0x505dba),this[_0x4eecfb(0x42f)]=_0x505dba[_0x4eecfb(0x103)][_0x4eecfb(0x479)](_0xbff601=>{const _0x3f2249=_0x4eecfb;_0xbff601[_0x3f2249(0x49c)]===this[_0x3f2249(0x3d7)]&&this['_onCombEvent'](_0xbff601);})):(this[_0x4eecfb(0xfb)](),this[_0x4eecfb(0x1e5)][_0x4eecfb(0x492)](0x2),(_0x97a09a=this['_socketMessageSubscription'])==null||_0x97a09a[_0x4eecfb(0x4b2)](),this[_0x4eecfb(0x42f)]=null));}),this[_0x44ec65(0x450)](this['_beforeCloseService'][_0x44ec65(0xd7)](()=>{const _0xb35bea=_0x44ec65;var _0xcfa50f;(_0xcfa50f=this['_socket'])==null||_0xcfa50f[_0xb35bea(0x23c)]({'cmd':W[_0xb35bea(0x215)],'data':{'roomID':this[_0xb35bea(0x3d7)]}});})));}get['sessionStatus'](){const _0x3d4a2=_0x50a7d0;return this[_0x3d4a2(0x1e5)][_0x3d4a2(0x185)]();}[_0x50a7d0(0x347)](){var _0x3a0069,_0x4a02d9;return(_0x4a02d9=(_0x3a0069=this['_socket'])==null?void 0x0:_0x3a0069['memberID'])!=null?_0x4a02d9:null;}['dispose'](){const _0x490d15=_0x50a7d0;super[_0x490d15(0x45c)](),this[_0x490d15(0x42e)][_0x490d15(0x492)](),this[_0x490d15(0x42e)]['complete']();}[_0x50a7d0(0x42b)](){const _0x51d960=_0x50a7d0;var _0x48277b,_0x45ece1;this['_throwTelemetryCollaborationNewChangeset'](),(_0x48277b=this['_socket'])==null||_0x48277b[_0x51d960(0x23c)]({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x45ece1=this[_0x51d960(0x4ae)])==null||_0x45ece1[_0x51d960(0x42b)](),this[_0x51d960(0x419)]['complete'](),this[_0x51d960(0x1e5)][_0x51d960(0x3c4)](),this[_0x51d960(0x45c)]();}[_0x50a7d0(0x341)](_0x59f559){const _0x34d971=_0x50a7d0;_0x59f559[_0x34d971(0xff)]===W[_0x34d971(0x197)]?this[_0x34d971(0x1ce)](_0x59f559):_0x59f559[_0x34d971(0xff)]===W['RECV']&&this['_onRecvEvent'](_0x59f559);}[_0x50a7d0(0x1b9)](_0xed96c2){const _0x2c754f=_0x50a7d0;this[_0x2c754f(0x1e5)]['next'](0x1),_0xed96c2[_0x2c754f(0x23c)]({'cmd':W[_0x2c754f(0x197)],'routeKey':this[_0x2c754f(0x3d7)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2c754f(0x3d7)]}]}});}[_0x50a7d0(0x1ce)](_0x557299){const _0x3e9c4b=_0x50a7d0;var _0x54a242;if(_0x557299[_0x3e9c4b(0x48a)]===bs['FAIL']){this[_0x3e9c4b(0xdf)]['show']({'type':_0x4eaed3[_0x3e9c4b(0x4c9)],'content':this[_0x3e9c4b(0x193)]['t'](_0x3e9c4b(0x2c4))}),this['_sessionStatus$'][_0x3e9c4b(0x492)](0x2);return;}this[_0x3e9c4b(0x1e5)][_0x3e9c4b(0x492)](0x3);const _0x1ae639=(_0x54a242=_0x557299[_0x3e9c4b(0x274)][_0x3e9c4b(0x199)][this['_unitID']])==null?void 0x0:_0x54a242[_0x3e9c4b(0x3a7)];_0x1ae639&&_0x1ae639['forEach'](_0x5222e9=>this[_0x3e9c4b(0x35d)][_0x3e9c4b(0x163)](this[_0x3e9c4b(0x3d7)],_0x5222e9));}[_0x50a7d0(0x246)](_0x5a3c7a){const _0x10ceef=_0x50a7d0;try{const _0x24494c=_0x5a3c7a['data'];switch(_0x24494c[_0x10ceef(0x424)]){case _0x26d642['USERS_ENTER']:this[_0x10ceef(0x2b1)](_0x24494c),this[_0x10ceef(0x419)][_0x10ceef(0x492)](_0x24494c);break;case _0x26d642[_0x10ceef(0x348)]:this[_0x10ceef(0x2fc)](_0x24494c),this[_0x10ceef(0x419)][_0x10ceef(0x492)](_0x24494c);break;case _0x26d642[_0x10ceef(0x26d)]:case _0x26d642[_0x10ceef(0x354)]:this[_0x10ceef(0xf6)](),this[_0x10ceef(0x2b3)](),this[_0x10ceef(0x419)][_0x10ceef(0x492)](_0x24494c);break;case _0x26d642[_0x10ceef(0x3a4)]:this[_0x10ceef(0x422)][_0x10ceef(0x3a2)](_0x10ceef(0x4cb)+JSON['stringify'](_0x24494c)),this[_0x10ceef(0x419)][_0x10ceef(0x492)](_0x24494c);break;case _0x26d642[_0x10ceef(0x11e)]:this[_0x10ceef(0x30b)]['onCommentUpdate'](_0x24494c[_0x10ceef(0x274)]),this[_0x10ceef(0x419)]['next'](_0x24494c);break;default:this[_0x10ceef(0x419)]['next'](_0x24494c);}}catch(_0xd53578){this[_0x10ceef(0x422)][_0x10ceef(0x3a2)](_0xd53578,_0x5a3c7a);}}[_0x50a7d0(0x2b1)](_0x103720){const _0x877842=_0x50a7d0;this[_0x877842(0x35d)][_0x877842(0x163)](this[_0x877842(0x3d7)],_0x103720[_0x877842(0x274)]);}[_0x50a7d0(0x2fc)](_0x5c383e){const _0x2382c8=_0x50a7d0;this[_0x2382c8(0x35d)][_0x2382c8(0x2ff)](this['_unitID'],_0x5c383e[_0x2382c8(0x274)]['memberID']);}async[_0x50a7d0(0x23c)](_0x4a1e6f,_0x9c0cd5){const _0x266db6=_0x50a7d0;if(this['sessionStatus']!==0x3||!this[_0x266db6(0x4ae)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4a1e6f[_0x266db6(0x424)]===_0x26d642[_0x266db6(0x1e4)]&&(this[_0x266db6(0x2d1)](),this['_startTelemetryCollaborationNewChangeset'](_0x4a1e6f)),this['_socket'][_0x266db6(0x23c)]({'cmd':W[_0x266db6(0x35b)],'routeKey':_0x9c0cd5,'routeType':'','data':_0x4a1e6f});}catch(_0x284cbd){this[_0x266db6(0x422)][_0x266db6(0x3a2)](_0x284cbd);}}[_0x50a7d0(0x2d1)](){const _0x485aff=_0x50a7d0;var _0x51393e;this[_0x485aff(0xfd)]=window['setTimeout'](()=>{const _0x51e48f=_0x485aff;this['_collaborationTimeoutTimer']=null,this[_0x51e48f(0xdf)]['show']({'type':_0x4eaed3[_0x51e48f(0x282)],'content':this[_0x51e48f(0x193)]['t'](_0x51e48f(0x4be))});},(_0x51393e=this[_0x485aff(0x3bb)][_0x485aff(0x4c6)](Di))!=null?_0x51393e:Pi);}['_clearCollaborationTimeoutTimer'](){const _0x5b188d=_0x50a7d0;this[_0x5b188d(0xfd)]&&(clearTimeout(this[_0x5b188d(0xfd)]),this[_0x5b188d(0xfd)]=null);}[_0x50a7d0(0x40c)](_0x56caf8){const _0x5dadf0=_0x50a7d0;if(!this[_0x5dadf0(0x1c6)])return;const {data:_0xd7927a}=_0x56caf8,{unitID:_0x5e8c8a,changeset:_0x12caee}=_0xd7927a,{mutations:_0x5e4796,type:_0x12fb8f}=_0x12caee;this['_telemetryInfo']={'unitId':_0x5e8c8a,'type':_0x12fb8f,'startTime':performance[_0x5dadf0(0x15a)](),'stopTime':0x0,'duration':0x0,'size':Wn(_0x5e4796)};}[_0x50a7d0(0xf6)](){const _0x2e7d10=_0x50a7d0;if(this['_shouldReportTelemetry']){if(!this[_0x2e7d10(0x39d)]){this[_0x2e7d10(0x422)][_0x2e7d10(0x3a2)](_0x2e7d10(0x417),_0x2e7d10(0x467));return;}this[_0x2e7d10(0x39d)][_0x2e7d10(0x4d0)]=performance[_0x2e7d10(0x15a)](),this[_0x2e7d10(0x39d)]['duration']=this[_0x2e7d10(0x39d)][_0x2e7d10(0x4d0)]-this[_0x2e7d10(0x39d)]['startTime'],this[_0x2e7d10(0x1dd)][_0x2e7d10(0x2f0)](kn,this[_0x2e7d10(0x39d)]),this[_0x2e7d10(0x39d)]=null;}}[_0x50a7d0(0xfb)](){const _0x27228f=_0x50a7d0;this[_0x27228f(0x39d)]=null;}};is=qn([be(0x2,_0x299b7a),be(0x3,_0x3a2a39),be(0x4,_0xa8b33d),be(0x5,_0x533505),be(0x6,_0x33026a(_0x21b13d)),be(0x7,_0x33026a(Me)),be(0x8,_0x33026a(Mi)),be(0x9,_0x380b11(_0x1ff87b))],is);var Xn=Object['defineProperty'],Jn=Object[_0x50a7d0(0x18b)],Zn=(_0x318848,_0x381c16,_0x12285f,_0x2c036c)=>{for(var _0x25a3cf=_0x2c036c>0x1?void 0x0:_0x2c036c?Jn(_0x381c16,_0x12285f):_0x381c16,_0xaefc80=_0x318848['length']-0x1,_0x474f6f;_0xaefc80>=0x0;_0xaefc80--)(_0x474f6f=_0x318848[_0xaefc80])&&(_0x25a3cf=(_0x2c036c?_0x474f6f(_0x381c16,_0x12285f,_0x25a3cf):_0x474f6f(_0x25a3cf))||_0x25a3cf);return _0x2c036c&&_0x25a3cf&&Xn(_0x381c16,_0x12285f,_0x25a3cf),_0x25a3cf;},we=(_0x4590b3,_0x477702)=>(_0x16041d,_0x375273)=>_0x477702(_0x16041d,_0x375273,_0x4590b3);let xe=class extends _0x514939{constructor(_0x414a80,_0x97ac0b,_0x59ebc9,_0xd0459,_0x8a4089,_0x2f92e9,_0x4ae8c2){const _0x906537=_0x50a7d0;super(),g(this,_0x906537(0x4cd),new _0x22472b(void 0x0)),g(this,_0x906537(0x3e3),this[_0x906537(0x4cd)][_0x906537(0x1e8)]()),g(this,'_candidateSocket',null),g(this,_0x906537(0x1a6),new Map()),g(this,'_status$',new _0x22472b(ve[_0x906537(0x3ea)])),g(this,'status$',this[_0x906537(0x390)]['asObservable']()),g(this,_0x906537(0x31b),!0x1),g(this,'_retryConnectingTimer'),g(this,_0x906537(0x421),0x0),g(this,_0x906537(0x12e)),g(this,_0x906537(0x22a)),(this[_0x906537(0x408)]=_0x414a80,this[_0x906537(0x193)]=_0x97ac0b,this[_0x906537(0xdf)]=_0x59ebc9,this[_0x906537(0x422)]=_0xd0459,this[_0x906537(0x3bb)]=_0x8a4089,this[_0x906537(0x247)]=_0x2f92e9,this[_0x906537(0x38a)]=_0x4ae8c2,this['_initEventListeners']());}get[_0x50a7d0(0x4ae)](){const _0x10abf9=_0x50a7d0;return this[_0x10abf9(0x4cd)][_0x10abf9(0x185)]();}[_0x50a7d0(0x3ac)](){const _0x414cdc=_0x50a7d0;this[_0x414cdc(0x213)](),this[_0x414cdc(0x400)]();}[_0x50a7d0(0x45c)](){const _0x463392=_0x50a7d0;super[_0x463392(0x45c)](),this[_0x463392(0x1a6)][_0x463392(0x375)](_0x1df7b2=>_0x1df7b2[_0x463392(0x45c)]()),this[_0x463392(0x1a6)]['clear'](),this[_0x463392(0x390)][_0x463392(0x3c4)]();}async[_0x50a7d0(0x30a)](_0x37cbb1){const _0x422cb7=_0x50a7d0;if(this[_0x422cb7(0x1a6)]['has'](_0x37cbb1))return this[_0x422cb7(0x1a6)][_0x422cb7(0x373)](_0x37cbb1);this[_0x422cb7(0x1d4)]();const _0x3650dd=this['_injector'][_0x422cb7(0xe7)](is,_0x37cbb1,this[_0x422cb7(0x4cd)][_0x422cb7(0x1e8)]());return this['_sessions'][_0x422cb7(0x2ce)](_0x37cbb1,_0x3650dd),_0x3650dd;}[_0x50a7d0(0xc1)](_0x29970a){const _0x4e8370=_0x50a7d0;var _0x377882;const _0x35071d=this[_0x4e8370(0x1a6)]['get'](_0x29970a);_0x35071d&&(this[_0x4e8370(0x1a6)]['delete'](_0x29970a),_0x35071d[_0x4e8370(0x42b)]()),this[_0x4e8370(0x1a6)][_0x4e8370(0x1e7)]||(_0x377882=this['_socket'])==null||_0x377882[_0x4e8370(0x42b)]();}[_0x50a7d0(0x466)](){const _0xf10e3f=_0x50a7d0;this['_retryCount']=0x0,this[_0xf10e3f(0x1f0)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0xf10e3f(0x1f0)]=null),this[_0xf10e3f(0xb7)]();}async['_getSessionTicket'](){const _0x55dc03=_0x50a7d0;var _0x5c000a,_0x2e9cca,_0x4dae57;const _0x546281=this[_0x55dc03(0x3bb)][_0x55dc03(0x4c6)](ee),_0x589a83=(_0x5c000a=_0x546281==null?void 0x0:_0x546281[_0x55dc03(0x2ab)])!=null?_0x5c000a:En;return(_0x4dae57=(_0x2e9cca=(await this[_0x55dc03(0x38a)][_0x55dc03(0x373)](_0x589a83,{'headers':{'Content-Type':_0x55dc03(0x133)}}))['body'])==null?void 0x0:_0x2e9cca[_0x55dc03(0x37d)])!=null?_0x4dae57:'';}['_createSocketURL'](_0xe20f48){const _0x2e9a25=_0x50a7d0;var _0x38b60d,_0x4e73ed;const _0x1a6631=this['_configService'][_0x2e9a25(0x4c6)](In),_0x1bf7b3=this[_0x2e9a25(0x3bb)][_0x2e9a25(0x4c6)](ee),_0x15afd3=(_0x4e73ed=(_0x38b60d=_0x1bf7b3==null?void 0x0:_0x1bf7b3[_0x2e9a25(0x469)])!=null?_0x38b60d:_0x1a6631)!=null?_0x4e73ed:Cn,_0x26ae3b=new URL(_0x15afd3,window[_0x2e9a25(0x41a)]['origin']);return _0x26ae3b[_0x2e9a25(0x484)]['set']('sessionTicket',_0xe20f48),_0x26ae3b[_0x2e9a25(0x45a)]();}async[_0x50a7d0(0x1f9)](){const _0x5d3f47=_0x50a7d0,_0x3eed1b=await this[_0x5d3f47(0x2f5)](),_0x5ca9b0=this['_createSocketURL'](_0x3eed1b),_0x6a6939=this[_0x5d3f47(0x247)][_0x5d3f47(0x374)](_0x5ca9b0);return this['_candidateSocket']=_0x6a6939,_0x6a6939;}async[_0x50a7d0(0x1d4)](){const _0x33374e=_0x50a7d0;var _0x45cf8c,_0x104579;try{const _0x40c2a0=(_0x104579=(_0x45cf8c=this[_0x33374e(0x4ae)])!=null?_0x45cf8c:this['_candidateSocket'])!=null?_0x104579:await this[_0x33374e(0x1f9)]();if(_0x40c2a0){const _0x467753=_0x40c2a0[_0x33374e(0x23c)];_0x40c2a0[_0x33374e(0x23c)]=_0x2bd316=>(this[_0x33374e(0x2b5)](),_0x467753[_0x33374e(0x335)](_0x40c2a0,[_0x2bd316])),_0x40c2a0[_0x33374e(0x103)][_0x33374e(0x479)](_0x2edb70=>this['_onMessage'](_0x40c2a0,_0x2edb70)),_0x40c2a0[_0x33374e(0x432)][_0x33374e(0x157)](_0x5dbd78(0x1))['subscribe'](_0x508dcd=>this[_0x33374e(0x422)][_0x33374e(0x3a2)](_0x33374e(0x2b8),_0x508dcd)),_0x40c2a0[_0x33374e(0x241)][_0x33374e(0x157)](_0x5dbd78(0x1))[_0x33374e(0x479)](()=>{const _0x3c3181=_0x33374e;this[_0x3c3181(0x152)](_0x40c2a0);}),_0x40c2a0[_0x33374e(0x4a7)]['pipe'](_0x5dbd78(0x1))[_0x33374e(0x479)](_0x24c110=>{const _0x17dc49=_0x33374e;this['_logService'][_0x17dc49(0x165)](_0x17dc49(0x112),_0x17dc49(0x4cc),_0x24c110),this[_0x17dc49(0x448)]();});}}catch(_0x4f90fc){this[_0x33374e(0x422)]['error'](_0x4f90fc),this[_0x33374e(0x448)]();}}[_0x50a7d0(0x152)](_0x57f544){const _0x2ecd6c=_0x50a7d0;this['_logService'][_0x2ecd6c(0x165)](_0x2ecd6c(0x112),_0x2ecd6c(0x13e)),_0x57f544[_0x2ecd6c(0x23c)]({'cmd':W[_0x2ecd6c(0x4ac)]}),this[_0x2ecd6c(0x2b5)]();}[_0x50a7d0(0x213)](){const _0x1d657b=_0x50a7d0;window['addEventListener']('offline',()=>this[_0x1d657b(0x3cb)]());}[_0x50a7d0(0x3cb)](){const _0x2049aa=_0x50a7d0;this[_0x2049aa(0x31b)]=!0x1,this['_candidateSocket']=null,this[_0x2049aa(0x390)][_0x2049aa(0x492)](ve['OFFLINE']),this[_0x2049aa(0x4cd)][_0x2049aa(0x492)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x50a7d0(0x448)](){const _0x1b31f1=_0x50a7d0;var _0x1dca1e;this[_0x1b31f1(0x3cb)](),this['_retryCount']<((_0x1dca1e=this[_0x1b31f1(0x3bb)][_0x1b31f1(0x4c6)](On))!=null?_0x1dca1e:yn)?(this[_0x1b31f1(0xdf)][_0x1b31f1(0x179)]({'key':'collaboration-session-retry','type':_0x4eaed3[_0x1b31f1(0x4c9)],'content':this[_0x1b31f1(0x193)]['t'](_0x1b31f1(0x2c9))}),this[_0x1b31f1(0xb7)]()):this['_messageService'][_0x1b31f1(0x179)]({'key':_0x1b31f1(0x47d),'type':_0x4eaed3['Error'],'content':this[_0x1b31f1(0x193)]['t'](_0x1b31f1(0x4b6))});}[_0x50a7d0(0x400)](){const _0x5a5234=_0x50a7d0,_0x3238b2=()=>{const _0x44b9fa=_0xc944;this['_socket']||this[_0x44b9fa(0x466)]();},_0x51a65e=()=>{const _0x25199f=_0xc944;this['_socket']||document['visibilityState']==='hidden'||this[_0x25199f(0x466)]();};window[_0x5a5234(0x3ae)](_0x5a5234(0x1bc),_0x3238b2),document[_0x5a5234(0x3ae)](_0x5a5234(0x145),_0x51a65e);}[_0x50a7d0(0xb7)](){const _0x2b66e2=_0x50a7d0;var _0xe25588;const _0x4b8f70=this['_retryCount'],_0x31efa7=this[_0x2b66e2(0x3bb)][_0x2b66e2(0x4c6)](ee),_0x733aa5=_0x4b8f70===0x0?0x0:((_0xe25588=_0x31efa7==null?void 0x0:_0x31efa7['retryConnectingInterval'])!=null?_0xe25588:Rn)*0x2**_0x4b8f70;this['_retryConnectingTimer']=window['setTimeout'](()=>{const _0x2f4ea9=_0x2b66e2;clearTimeout(this['_retryConnectingTimer']),this[_0x2f4ea9(0x1f0)]=null,this[_0x2f4ea9(0x1d4)]();},_0x733aa5),this[_0x2b66e2(0x421)]+=0x1;}[_0x50a7d0(0x324)](_0x2f85d3,_0x221940){const _0x1318f5=_0x50a7d0,{cmd:_0x1f11bd}=_0x221940;_0x1f11bd===W['HELLO']&&!this[_0x1318f5(0x31b)]&&(_0x2f85d3[_0x1318f5(0x13f)]=_0x221940[_0x1318f5(0x274)][_0x1318f5(0x13f)],this[_0x1318f5(0x4cd)][_0x1318f5(0x492)](_0x2f85d3),this[_0x1318f5(0x390)][_0x1318f5(0x492)](ve[_0x1318f5(0x156)]),this[_0x1318f5(0x31b)]=!0x0,this[_0x1318f5(0x3ba)]=null),_0x1f11bd===W[_0x1318f5(0x48b)]&&this[_0x1318f5(0x1ed)](),this[_0x1318f5(0x2b5)]();}['_rescheduleHeartbeat'](){const _0x533d70=_0x50a7d0;var _0x25c25d;this[_0x533d70(0x427)](),this[_0x533d70(0x12e)]=window[_0x533d70(0x367)](()=>this[_0x533d70(0xfe)](),(_0x25c25d=this[_0x533d70(0x3bb)][_0x533d70(0x4c6)](bn))!=null?_0x25c25d:Tn);}[_0x50a7d0(0xfe)](){const _0x333253=_0x50a7d0;this[_0x333253(0x4ae)][_0x333253(0x23c)]({'cmd':W[_0x333253(0x48b)]}),this[_0x333253(0x477)]();}['_waitForHeartbeatResponse'](){const _0x35b998=_0x50a7d0;var _0x108720;this[_0x35b998(0x22a)]=window[_0x35b998(0x367)](()=>this['_onConnectionFailed'](),(_0x108720=this['_configService'][_0x35b998(0x4c6)](Di))!=null?_0x108720:Pi);}[_0x50a7d0(0x427)](){const _0xfef7d5=_0x50a7d0;this[_0xfef7d5(0x12e)]!=null&&(clearTimeout(this[_0xfef7d5(0x12e)]),this[_0xfef7d5(0x12e)]=null);}[_0x50a7d0(0x1ed)](){const _0x2af7aa=_0x50a7d0;this[_0x2af7aa(0x22a)]!=null&&(clearTimeout(this[_0x2af7aa(0x22a)]),this[_0x2af7aa(0x22a)]=null);}};xe=Zn([we(0x0,_0x33026a(_0x17dae8)),we(0x1,_0x33026a(_0x21b13d)),we(0x2,_0xa8b33d),we(0x3,_0x299b7a),we(0x4,_0x533505),we(0x5,Ai),we(0x6,_0x33026a(_0x278722))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x50a7d0(0xc6)]((i+0x100)[_0x50a7d0(0x45a)](0x10)[_0x50a7d0(0x2bf)](0x1));function Qn(_0xf5bf73,_0x2bf021=0x0){const _0x3a7e94=_0x50a7d0;return(Y[_0xf5bf73[_0x2bf021+0x0]]+Y[_0xf5bf73[_0x2bf021+0x1]]+Y[_0xf5bf73[_0x2bf021+0x2]]+Y[_0xf5bf73[_0x2bf021+0x3]]+'-'+Y[_0xf5bf73[_0x2bf021+0x4]]+Y[_0xf5bf73[_0x2bf021+0x5]]+'-'+Y[_0xf5bf73[_0x2bf021+0x6]]+Y[_0xf5bf73[_0x2bf021+0x7]]+'-'+Y[_0xf5bf73[_0x2bf021+0x8]]+Y[_0xf5bf73[_0x2bf021+0x9]]+'-'+Y[_0xf5bf73[_0x2bf021+0xa]]+Y[_0xf5bf73[_0x2bf021+0xb]]+Y[_0xf5bf73[_0x2bf021+0xc]]+Y[_0xf5bf73[_0x2bf021+0xd]]+Y[_0xf5bf73[_0x2bf021+0xe]]+Y[_0xf5bf73[_0x2bf021+0xf]])[_0x3a7e94(0xc2)]();}let Mt;const eo=new Uint8Array(0x10);function to(){const _0x4c14b4=_0x50a7d0;if(!Mt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x4c14b4(0x32e));Mt=crypto['getRandomValues']['bind'](crypto);}return Mt(eo);}const so=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x50a7d0(0x412)][_0x50a7d0(0x2b2)](crypto),Fs={'randomUUID':so};function io(_0xe89f59,_0x296116,_0x4450ec){const _0x7fb854=_0x50a7d0;if(Fs[_0x7fb854(0x412)]&&!_0x296116&&!_0xe89f59)return Fs[_0x7fb854(0x412)]();_0xe89f59=_0xe89f59||{};const _0x731d72=_0xe89f59[_0x7fb854(0x220)]||(_0xe89f59[_0x7fb854(0x495)]||to)();return _0x731d72[0x6]=_0x731d72[0x6]&0xf|0x40,_0x731d72[0x8]=_0x731d72[0x8]&0x3f|0x80,Qn(_0x731d72);}var ro=Object[_0x50a7d0(0x15c)],no=Object[_0x50a7d0(0x18b)],oo=(_0x36c680,_0x2f0467,_0x4e3d6e,_0x427a9b)=>{const _0x46dfe6=_0x50a7d0;for(var _0xdf8388=_0x427a9b>0x1?void 0x0:_0x427a9b?no(_0x2f0467,_0x4e3d6e):_0x2f0467,_0x4e5275=_0x36c680[_0x46dfe6(0x1d0)]-0x1,_0xbcbdc9;_0x4e5275>=0x0;_0x4e5275--)(_0xbcbdc9=_0x36c680[_0x4e5275])&&(_0xdf8388=(_0x427a9b?_0xbcbdc9(_0x2f0467,_0x4e3d6e,_0xdf8388):_0xbcbdc9(_0xdf8388))||_0xdf8388);return _0x427a9b&&_0xdf8388&&ro(_0x2f0467,_0x4e3d6e,_0xdf8388),_0xdf8388;},xt=(_0x44eea1,_0x57d353)=>(_0x3e1318,_0x1f381d)=>_0x57d353(_0x3e1318,_0x1f381d,_0x44eea1);let vt=class{constructor(_0x5dee18,_0x1f1f91,_0xbfffaa){const _0x4f424d=_0x50a7d0;this[_0x4f424d(0x408)]=_0x5dee18,this[_0x4f424d(0x494)]=_0x1f1f91,this[_0x4f424d(0x1af)]=_0xbfffaa;}[_0x50a7d0(0xef)](_0x1a24f0){const _0x732d8f=_0x50a7d0;this[_0x732d8f(0x3c2)](_0x1a24f0),this[_0x732d8f(0x4ab)](_0x1a24f0);}['transformRemoteChangeset'](_0x3a9935){const _0x1de53e=_0x50a7d0,{unitID:_0x18f418}=_0x3a9935,_0x4755f8=this[_0x1de53e(0x1af)]['getRenderById'](_0x18f418)[_0x1de53e(0x378)](_0x250d28),{redoCache:_0x124ff3}=_0x4755f8[_0x1de53e(0x323)]();if(_0x124ff3[_0x1de53e(0x1d0)]===0x0)return _0x3a9935;let _0x48c367=_0x378638['deepClone'](_0x3a9935['mutations'][0x0]);for(let _0x528351=0x0;_0x528351<_0x124ff3[_0x1de53e(0x1d0)];_0x528351++){const _0x19b47d={'id':_0x1de53e(0xeb),'params':{..._0x124ff3[_0x528351]}},_0x52e0d8=this[_0x1de53e(0x494)][_0x1de53e(0x1da)](_0x48c367,_0x19b47d,!0x1);if(_0x2432d6(_0x52e0d8))throw _0x52e0d8['error'];_0x48c367=_0x52e0d8[_0x1de53e(0x1c1)];}return{..._0x378638[_0x1de53e(0x2fe)](_0x3a9935),'mutations':[_0x48c367]};}[_0x50a7d0(0x3c2)](_0x521b43){const _0x2814f1=_0x50a7d0,{unitID:_0x48b191}=_0x521b43,_0x165ab2=this['_renderManagerService'][_0x2814f1(0x328)](_0x48b191)['with'](_0x250d28),{undoCache:_0x214718,redoCache:_0x44bd3d}=_0x165ab2['getUndoRedoMutationParamsCache']();if(_0x214718[_0x2814f1(0x1d0)]===0x0||_0x44bd3d[_0x2814f1(0x1d0)]===0x0)return;const _0x50cd65=[],_0x2f66fe=[];let _0x5cbaf1=_0x378638[_0x2814f1(0x2fe)](_0x521b43[_0x2814f1(0x182)][0x0]),_0x3b5957=_0x378638[_0x2814f1(0x2fe)](_0x521b43[_0x2814f1(0x182)][0x0]);for(let _0x4e6ee0=_0x214718['length']-0x1;_0x4e6ee0>=0x0;_0x4e6ee0--){const _0xf8d1e7={'id':'doc.mutation.rich-text-editing','params':{..._0x214718[_0x4e6ee0]}},_0x5ba1b1={'id':_0x2814f1(0xeb),'params':{..._0x44bd3d[_0x4e6ee0]}},_0xac92a7=this[_0x2814f1(0x494)][_0x2814f1(0x1da)](_0x5cbaf1,_0xf8d1e7,!0x1),_0x5ef3b3=this[_0x2814f1(0x494)][_0x2814f1(0x1da)](_0x3b5957,_0x5ba1b1,!0x1);if(_0x2432d6(_0xac92a7))throw _0xac92a7[_0x2814f1(0x3a2)];if(_0x2432d6(_0x5ef3b3))throw _0x5ef3b3[_0x2814f1(0x3a2)];_0x50cd65['unshift'](_0xac92a7[_0x2814f1(0x37e)]['params']),_0x2f66fe['unshift'](_0x5ef3b3[_0x2814f1(0x37e)][_0x2814f1(0x4a8)]),_0x5cbaf1=_0xac92a7['m1Prime'],_0x3b5957=_0x5ef3b3[_0x2814f1(0x1c1)];}_0x165ab2[_0x2814f1(0x33e)]({'undoCache':_0x50cd65,'redoCache':_0x2f66fe});}[_0x50a7d0(0x4ab)](_0x434c71){const _0x44476a=_0x50a7d0,{unitID:_0x540ec2}=_0x434c71,_0x2ab2a9=this[_0x44476a(0x1af)]['getRenderById'](_0x540ec2)[_0x44476a(0x378)](_0x250d28),_0x50edd5=_0x2ab2a9[_0x44476a(0x38d)]();if(_0x50edd5==null)return;const _0x4551b4=[{'id':_0x44476a(0xeb),'params':{'unitId':_0x434c71[_0x44476a(0xaa)],'actions':null,'textRanges':[_0x50edd5]}}],_0x3c1e09=this[_0x44476a(0x494)]['transformMutationsWithChangeset'](_0x434c71,_0x4551b4);if(!_0x545fca(_0x3c1e09))throw _0x3c1e09[_0x44476a(0x3a2)];const _0x58478f=_0x3c1e09[_0x44476a(0x37e)][0x0][_0x44476a(0x4a8)][_0x44476a(0x238)];Array[_0x44476a(0x20e)](_0x58478f)&&_0x58478f[_0x44476a(0x1d0)]&&_0x2ab2a9['setActiveRange'](_0x58478f[0x0]);}};vt=oo([xt(0x0,_0x33026a(_0x17dae8)),xt(0x1,_0x4af41b),xt(0x2,_0x984cff)],vt);var ao=Object['defineProperty'],co=Object['getOwnPropertyDescriptor'],ho=(_0x5b3848,_0x1e434a,_0x2879f4,_0x2ac1b3)=>{for(var _0x3000d9=_0x2ac1b3>0x1?void 0x0:_0x2ac1b3?co(_0x1e434a,_0x2879f4):_0x1e434a,_0x33e582=_0x5b3848['length']-0x1,_0x1be806;_0x33e582>=0x0;_0x33e582--)(_0x1be806=_0x5b3848[_0x33e582])&&(_0x3000d9=(_0x2ac1b3?_0x1be806(_0x1e434a,_0x2879f4,_0x3000d9):_0x1be806(_0x3000d9))||_0x3000d9);return _0x2ac1b3&&_0x3000d9&&ao(_0x1e434a,_0x2879f4,_0x3000d9),_0x3000d9;},Xe=(_0x5504c9,_0x9e3602)=>(_0x1049ba,_0xfec98)=>_0x9e3602(_0x1049ba,_0xfec98,_0x5504c9);let q=class extends _0x514939{constructor(_0x5a1ffb,_0x270e1a,_0x3b2102,_0x51ea2b,_0x2e8f33){const _0x43d7ad=_0x50a7d0;super(),g(this,_0x43d7ad(0x273),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x43d7ad(0x2d2),!0x1),(this[_0x43d7ad(0x3bb)]=_0x5a1ffb,this[_0x43d7ad(0x476)]=_0x270e1a,this['_beforeCloseService']=_0x3b2102,this[_0x43d7ad(0x193)]=_0x51ea2b,this[_0x43d7ad(0x383)]=_0x2e8f33,this[_0x43d7ad(0x2b4)]());}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x4666eb=_0x50a7d0;this[_0x4666eb(0x2d2)]=!0x1;}[_0x50a7d0(0x45c)](){const _0x5ead55=_0x50a7d0;this[_0x5ead55(0x3fe)]()[_0x5ead55(0x119)](()=>super[_0x5ead55(0x45c)]());}async['loadOfflineData'](_0x528cf1){const _0x20b2d7=_0x50a7d0;return this[_0x20b2d7(0x2d2)]?null:this[_0x20b2d7(0x476)][_0x20b2d7(0x164)](Vs(_0x528cf1));}async[_0x50a7d0(0x3b4)](_0x47a8c4,_0x2767f3){const _0xa1a0b=_0x50a7d0;return!!this['_localStorageService'][_0xa1a0b(0x31a)](_0x47a8c4,_0x2767f3);}['updateOfflineData'](_0x4a08d3,_0x3ab629,_0x1ee768,_0x5b8983){const _0x4f2d71=_0x50a7d0,_0x4f4218=this[_0x4f2d71(0x383)]['getCurrentRevOfUnit'](_0x4a08d3);this[_0x4f2d71(0x273)][_0x4f2d71(0x2ce)](_0x4a08d3,{'unitID':_0x4a08d3,'type':_0x3ab629,'awaitingChangeset':_0x1ee768,'mutations':_0x5b8983,'rev':_0x4f4218}),this[_0x4f2d71(0xbe)][_0x4f2d71(0x28d)](_0x4a08d3)||this[_0x4f2d71(0x413)](_0x4a08d3);}[_0x50a7d0(0x413)](_0x1ac8a3){const _0x425ed8=_0x50a7d0,_0x36db2=this[_0x425ed8(0x2a9)]();_0x36db2===0x0?this[_0x425ed8(0xfc)](_0x1ac8a3):this['_saveTaskMap'][_0x425ed8(0x2ce)](_0x1ac8a3,setTimeout(()=>this['_saveCache'](_0x1ac8a3),_0x36db2));}['_getSaveTimeout'](){const _0x233a9a=_0x50a7d0;var _0x3bb188;return(_0x3bb188=this[_0x233a9a(0x3bb)][_0x233a9a(0x4c6)](wn))!=null?_0x3bb188:Dn;}[_0x50a7d0(0xfc)](_0x3c9b3c){const _0x532f02=_0x50a7d0,_0xac7d6e=this[_0x532f02(0xbe)][_0x532f02(0x373)](_0x3c9b3c);return _0xac7d6e!==void 0x0&&window[_0x532f02(0x4a4)](_0xac7d6e),this[_0x532f02(0x476)][_0x532f02(0x31a)](Vs(_0x3c9b3c),this[_0x532f02(0x273)][_0x532f02(0x373)](_0x3c9b3c))['then'](()=>this[_0x532f02(0xbe)]['delete'](_0x3c9b3c));}async['exhaustSavingTask'](){const _0x2e6c92=_0x50a7d0,_0x37eb0b=[];this['_saveTaskMap'][_0x2e6c92(0x375)]((_0x54b387,_0x3e6c06)=>{const _0x139d7d=_0x2e6c92;window[_0x139d7d(0x4a4)](_0x54b387),_0x37eb0b[_0x139d7d(0xc6)](this[_0x139d7d(0xfc)](_0x3e6c06)[_0x139d7d(0x119)](()=>{const _0x4d2113=_0x139d7d;this[_0x4d2113(0xbe)][_0x4d2113(0x18d)](_0x3e6c06);}));}),await Promise['all'](_0x37eb0b);}[_0x50a7d0(0x2b4)](){const _0xa388e0=_0x50a7d0;this['disposeWithMe'](this['_beforeCloseService'][_0xa388e0(0x43a)](()=>{const _0x453dce=_0xa388e0;if(this['_saveTaskMap'][_0x453dce(0x1e7)])return this[_0x453dce(0x193)]['t']('collaboration-client.offline-data-not-saved');}));}};q=ho([Xe(0x0,_0x533505),Xe(0x1,_0xd46cc5),Xe(0x2,_0x3a2a39),Xe(0x3,_0x33026a(_0x21b13d)),Xe(0x4,_0x33026a(_0x50f245))],q);function Vs(_0x13bf7f){const _0x32e9a3=_0x50a7d0;return _0x32e9a3(0x147)+_0x13bf7f;}var lo=Object[_0x50a7d0(0x15c)],_o=Object[_0x50a7d0(0x18b)],uo=(_0x43845b,_0xf76a4,_0x442692,_0x29be65)=>{const _0x41c0e0=_0x50a7d0;for(var _0x2548d3=_0x29be65>0x1?void 0x0:_0x29be65?_o(_0xf76a4,_0x442692):_0xf76a4,_0x5760a7=_0x43845b[_0x41c0e0(0x1d0)]-0x1,_0x748510;_0x5760a7>=0x0;_0x5760a7--)(_0x748510=_0x43845b[_0x5760a7])&&(_0x2548d3=(_0x29be65?_0x748510(_0xf76a4,_0x442692,_0x2548d3):_0x748510(_0x2548d3))||_0x2548d3);return _0x29be65&&_0x2548d3&&lo(_0xf76a4,_0x442692,_0x2548d3),_0x2548d3;},Lt=(_0x222089,_0x147d1e)=>(_0x8055ac,_0x2f5d01)=>_0x147d1e(_0x8055ac,_0x2f5d01,_0x222089);function fo(_0xfaf97){const _0x4e4159=_0x50a7d0,{unitID:_0x3be2c8,mutations:_0x116281}=_0xfaf97;return{'unitId':_0x3be2c8,'subUnitId':_0x116281[0x0][_0x4e4159(0x4a8)][_0x4e4159(0x376)]};}let mt=class{constructor(_0x17e377,_0x10db8d,_0x51c290){const _0x25ed9b=_0x50a7d0;this[_0x25ed9b(0x408)]=_0x17e377,this[_0x25ed9b(0x494)]=_0x10db8d,this['_instanceService']=_0x51c290;}['transformSelections'](_0x3bc6e2){const _0x4eb9f3=_0x50a7d0;var _0x43c8b2,_0x55c572,_0x7d5500,_0x31c1df;const _0x294836=this[_0x4eb9f3(0x408)][_0x4eb9f3(0x373)](_0x3a11a0),{unitId:_0x6fc43c,subUnitId:_0x1d96b4}=fo(_0x3bc6e2),_0x1c504d=_0x294836[_0x4eb9f3(0xe5)](_0x6fc43c)['getCurrentSelections'](),_0x22e4a3=(_0x55c572=(_0x43c8b2=this['_instanceService'][_0x4eb9f3(0x346)](_0x6fc43c))==null?void 0x0:_0x43c8b2['getActiveSheet']())==null?void 0x0:_0x55c572[_0x4eb9f3(0x1ef)]();if(_0x1c504d[_0x4eb9f3(0x1d0)]===0x0||!_0x6fc43c||!_0x1d96b4)return;const _0x221803=[{'id':_0x313c8a['id'],'params':{'unitId':_0x6fc43c,'subUnitId':_0x22e4a3,'selections':_0x378638[_0x4eb9f3(0x2fe)](_0x1c504d)}}],_0x21f99b=this[_0x4eb9f3(0x494)][_0x4eb9f3(0x31d)](_0x3bc6e2,_0x221803);if(!_0x545fca(_0x21f99b))throw _0x21f99b[_0x4eb9f3(0x3a2)];const _0x5e05a0=(_0x31c1df=(_0x7d5500=_0x21f99b[_0x4eb9f3(0x37e)][0x0])==null?void 0x0:_0x7d5500[_0x4eb9f3(0x4a8)])==null?void 0x0:_0x31c1df['selections'];if(Array['isArray'](_0x5e05a0)&&_0x5e05a0[_0x4eb9f3(0x1d0)]){if(_0x5e05a0[_0x4eb9f3(0x1d0)]===_0x221803[0x0][_0x4eb9f3(0x4a8)][_0x4eb9f3(0x48f)][_0x4eb9f3(0x1d0)]&&_0x5e05a0[_0x4eb9f3(0x18c)]((_0x2000f7,_0x8ab17f)=>_0x18079f['equals'](_0x2000f7['range'],_0x221803[0x0][_0x4eb9f3(0x4a8)][_0x4eb9f3(0x48f)][_0x8ab17f][_0x4eb9f3(0x2ba)])))return;this['_injector'][_0x4eb9f3(0x373)](_0x2e05f8)[_0x4eb9f3(0x368)](_0x313c8a['id'],{'unitId':_0x6fc43c,'subUnitId':_0x22e4a3,'selections':_0x5e05a0});}}};mt=uo([Lt(0x0,_0x33026a(_0x17dae8)),Lt(0x1,_0x4af41b),Lt(0x2,_0x28b990)],mt);const yt=_0x17c099(_0x50a7d0(0x2f9));var xi=(_0x366b98=>(_0x366b98[_0x366b98[_0x50a7d0(0xc8)]=0x0]=_0x50a7d0(0xc8),_0x366b98[_0x366b98[_0x50a7d0(0xe4)]=0x1]='OTHER_CLIENTS_EDITING',_0x366b98))(xi||{});const Gs=0x7530,Ys='ACTIVE_UNIT_EVENT_CHANNEL';class vo extends _0x514939{constructor(){const _0x67cae9=_0x50a7d0;super(),g(this,'_id',_0x378638['generateRandomId']()),g(this,_0x67cae9(0x329),new Set()),g(this,'_unitOnClients',new Map()),g(this,'_heartbeatTimer',null),g(this,_0x67cae9(0x2bc),new Map()),g(this,_0x67cae9(0x248),new Map()),this[_0x67cae9(0x1a9)]();}[_0x50a7d0(0x45c)](){const _0x23727f=_0x50a7d0;super['dispose'](),this[_0x23727f(0x2bc)][_0x23727f(0x375)]((_0x4b5dcb,_0x23c1c7)=>this['_removeClearOtherTimer'](_0x23c1c7)),this['_heartbeatTimer']&&window[_0x23727f(0x2df)](this['_heartbeatTimer']);}[_0x50a7d0(0x2c5)](_0x5a34b0){const _0x3a59dd=_0x50a7d0;return this['_ensureSubject'](_0x5a34b0)[_0x3a59dd(0x157)](_0x1b81a6());}[_0x50a7d0(0x20a)](_0x39df4a){const _0xe52f0a=_0x50a7d0;this[_0xe52f0a(0x329)][_0xe52f0a(0x1e7)]===0x0&&this[_0xe52f0a(0x107)](),this[_0xe52f0a(0x329)][_0xe52f0a(0x366)](_0x39df4a),this[_0xe52f0a(0x127)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x39df4a],'isForwarded':!0x1});}[_0x50a7d0(0x2a5)](_0x1ad531){const _0x4a5d93=_0x50a7d0;this[_0x4a5d93(0x329)][_0x4a5d93(0x18d)](_0x1ad531),this[_0x4a5d93(0x329)][_0x4a5d93(0x1e7)]===0x0&&this[_0x4a5d93(0x113)]&&window[_0x4a5d93(0x2df)](this[_0x4a5d93(0x113)]);}[_0x50a7d0(0x1a9)](){const _0x32b17f=_0x50a7d0;this[_0x32b17f(0x450)](_0xd370ea(_0x226128(window,_0x32b17f(0x262))[_0x32b17f(0x479)](_0x3ec82d=>{const _0x326cf6=_0x32b17f;if(_0x3ec82d[_0x326cf6(0x31f)]!==Ys||!_0x3ec82d[_0x326cf6(0x3a0)])return;const _0x250b2e=JSON[_0x326cf6(0x47f)](_0x3ec82d[_0x326cf6(0x3a0)]);this[_0x326cf6(0x41e)](_0x250b2e);}))),window[_0x32b17f(0x3ae)](_0x32b17f(0x158),()=>this[_0x32b17f(0x127)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x47f76d){const _0xba625e=_0x50a7d0;switch(_0x47f76d[_0xba625e(0x105)]){case 0x0:this[_0xba625e(0x382)](_0x47f76d);break;case 0x1:this[_0xba625e(0x1f1)](_0x47f76d);break;case 0x2:this[_0xba625e(0x1bd)](_0x47f76d);break;}}[_0x50a7d0(0x382)](_0x8c5bd1){const _0x5f1146=_0x50a7d0,{unitIDs:_0x570957,memberID:_0x49294d,isForwarded:_0x117dc5}=_0x8c5bd1;_0x570957[_0x5f1146(0x375)](_0x1f88ab=>{const _0x328be0=_0x5f1146;if(!_0x117dc5&&this[_0x328be0(0x121)][_0x328be0(0x28d)](_0x1f88ab)&&this['_ensureSubject'](_0x1f88ab)[_0x328be0(0x492)](0x1),!this[_0x328be0(0x121)][_0x328be0(0x28d)](_0x1f88ab)||!this[_0x328be0(0x121)][_0x328be0(0x373)](_0x1f88ab)[_0x328be0(0x28d)](_0x49294d)){const _0x549f05=this['_unitOnClients'][_0x328be0(0x373)](_0x1f88ab)||new Set();_0x549f05[_0x328be0(0x366)](_0x49294d),this['_unitOnClients'][_0x328be0(0x2ce)](_0x1f88ab,_0x549f05),this[_0x328be0(0xba)](_0x49294d);}}),_0x117dc5||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x5f1146(0x329)]],'isForwarded':!0x0});}[_0x50a7d0(0xba)](_0x15852f){const _0x544822=_0x50a7d0;this[_0x544822(0x46d)](_0x15852f);const _0x295c9b=window['setTimeout'](()=>{const _0x56f6f2=_0x544822;this[_0x56f6f2(0x121)][_0x56f6f2(0x375)](_0x1d6853=>{const _0x3dd2be=_0x56f6f2;_0x1d6853[_0x3dd2be(0x18d)](_0x15852f);});},Gs*0x2);this[_0x544822(0x2bc)][_0x544822(0x2ce)](_0x15852f,_0x295c9b);}[_0x50a7d0(0x46d)](_0x29d3e3){const _0x42dae5=_0x50a7d0;if(this[_0x42dae5(0x2bc)][_0x42dae5(0x28d)](_0x29d3e3)){const _0x55c2ab=this[_0x42dae5(0x2bc)]['get'](_0x29d3e3);_0x55c2ab&&window['clearTimeout'](_0x55c2ab),this['_clearOtherTimers'][_0x42dae5(0x2ce)](_0x29d3e3,null);}}[_0x50a7d0(0x1f1)](_0x154b30){const _0xbda5fa=_0x50a7d0,{memberID:_0xd99fd2,unitIDs:_0x331692}=_0x154b30;_0x331692[_0xbda5fa(0x375)](_0x22369f=>{const _0x35c931=_0xbda5fa;var _0x4011a9;const _0x522315=this[_0x35c931(0x121)][_0x35c931(0x373)](_0x22369f);_0x522315&&(_0x522315[_0x35c931(0x18d)](_0xd99fd2),(_0x4011a9=this[_0x35c931(0x1fc)](_0x22369f))==null||_0x4011a9[_0x35c931(0x492)](_0x522315[_0x35c931(0x1e7)]===0x0?0x0:0x1));}),this[_0xbda5fa(0x46d)](_0xd99fd2);}['_handleHeartbeatEvent'](_0x43eae2){const _0x53b763=_0x50a7d0;this['_scheduleClearOtherTimer'](_0x43eae2[_0x53b763(0x13f)]);}['_send'](_0x194576){const _0x3b63f4=_0x50a7d0;localStorage[_0x3b63f4(0x31a)](Ys,JSON[_0x3b63f4(0x2d6)](_0x194576));}['_scheduleHeartbeat'](){const _0x51a7e1=_0x50a7d0;this[_0x51a7e1(0x113)]=window[_0x51a7e1(0x3dc)](()=>{const _0x487c9b=_0x51a7e1;this['_send']({'type':0x2,'memberID':this[_0x487c9b(0x16c)]});},Gs);}[_0x50a7d0(0x1fc)](_0x493e6c){const _0x4d36e8=_0x50a7d0;return this[_0x4d36e8(0x248)][_0x4d36e8(0x28d)](_0x493e6c)||this['_unitStatus'][_0x4d36e8(0x2ce)](_0x493e6c,new _0x22472b(0x0)),this[_0x4d36e8(0x248)][_0x4d36e8(0x373)](_0x493e6c);}}var mo=Object['defineProperty'],po=Object[_0x50a7d0(0x18b)],go=(_0x4cc51f,_0x4df7bb,_0x56e4ba,_0x41bf3a)=>{for(var _0x58998f=_0x41bf3a>0x1?void 0x0:_0x41bf3a?po(_0x4df7bb,_0x56e4ba):_0x4df7bb,_0x36386f=_0x4cc51f['length']-0x1,_0x259fff;_0x36386f>=0x0;_0x36386f--)(_0x259fff=_0x4cc51f[_0x36386f])&&(_0x58998f=(_0x41bf3a?_0x259fff(_0x4df7bb,_0x56e4ba,_0x58998f):_0x259fff(_0x58998f))||_0x58998f);return _0x41bf3a&&_0x58998f&&mo(_0x4df7bb,_0x56e4ba,_0x58998f),_0x58998f;},$t=(_0x17e86e,_0xe1fae9)=>(_0x3a09cc,_0x3f8ee7)=>_0xe1fae9(_0x3a09cc,_0x3f8ee7,_0x17e86e);let pt=class{constructor(_0x2df839,_0x2d030d,_0x551db7){const _0x5303b3=_0x50a7d0;this[_0x5303b3(0x408)]=_0x2df839,this[_0x5303b3(0x494)]=_0x2d030d,this[_0x5303b3(0x321)]=_0x551db7;}[_0x50a7d0(0x191)](_0x436dae){const _0x1eeaac=_0x50a7d0;this[_0x1eeaac(0x3b7)](_0x436dae);}[_0x50a7d0(0x3e5)](_0x58a428){const _0x4f4402=_0x50a7d0,{unitID:_0x66cd93}=_0x58a428,{collaboration:_0x22b241}=this[_0x4f4402(0x321)]['getStateCache'](_0x66cd93);if(_0x22b241['length']===0x0)return _0x58a428;let _0xf45b10=_0x378638['deepClone'](_0x58a428[_0x4f4402(0x182)][0x0]);for(let _0x51492c=0x0;_0x51492c<_0x22b241['length'];_0x51492c++){const _0x228690={'id':_0x4f4402(0xeb),'params':{'unitId':_0x22b241[_0x51492c]['unitId'],..._0x22b241[_0x51492c][_0x4f4402(0x2a6)]}},_0x42fe9b=this[_0x4f4402(0x494)][_0x4f4402(0x1da)](_0xf45b10,_0x228690,!0x1);if(_0x2432d6(_0x42fe9b))throw _0x42fe9b[_0x4f4402(0x3a2)];_0xf45b10=_0x42fe9b[_0x4f4402(0x1c1)];}return{..._0x378638['deepClone'](_0x58a428),'mutations':[_0xf45b10]};}['_transformHistoryAndStateStack'](_0xc24496){const _0x4d2892=_0x50a7d0,{unitID:_0x3323ca}=_0xc24496,{history:_0x3658a0,collaboration:_0x52c3bd}=this[_0x4d2892(0x321)]['getStateCache'](_0x3323ca);if(_0x3658a0[_0x4d2892(0x1d0)]===0x0&&_0x52c3bd[_0x4d2892(0x1d0)]===0x0)return;const _0x27639f=[],_0x5daf41=[];let _0x355db8=_0x378638[_0x4d2892(0x2fe)](_0xc24496[_0x4d2892(0x182)][0x0]),_0x1a3611=_0x378638[_0x4d2892(0x2fe)](_0xc24496[_0x4d2892(0x182)][0x0]);for(let _0x21d603=_0x3658a0[_0x4d2892(0x1d0)]-0x1;_0x21d603>=0x0;_0x21d603--){const _0x2c91e4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3658a0[_0x21d603][_0x4d2892(0x258)],..._0x3658a0[_0x21d603]['undoState']}},_0x473344={'id':_0x4d2892(0xeb),'params':{'unitId':_0x3658a0[_0x21d603][_0x4d2892(0x258)],..._0x3658a0[_0x21d603][_0x4d2892(0x2a6)]}},_0x41a19f=this[_0x4d2892(0x494)]['transformMutation'](_0x355db8,_0x2c91e4,!0x1),_0x6660c=this[_0x4d2892(0x494)][_0x4d2892(0x1da)](_0x1a3611,_0x473344,!0x1);if(_0x2432d6(_0x41a19f))throw _0x41a19f['error'];if(_0x2432d6(_0x6660c))throw _0x6660c[_0x4d2892(0x3a2)];_0x27639f['unshift']({..._0x3658a0[_0x21d603],'undoState':_0x41a19f[_0x4d2892(0x37e)][_0x4d2892(0x4a8)],'redoState':_0x6660c[_0x4d2892(0x37e)]['params']}),_0x355db8=_0x41a19f[_0x4d2892(0x1c1)],_0x1a3611=_0x6660c[_0x4d2892(0x1c1)];}_0x355db8=_0x378638[_0x4d2892(0x2fe)](_0xc24496[_0x4d2892(0x182)][0x0]),_0x1a3611=_0x378638[_0x4d2892(0x2fe)](_0xc24496[_0x4d2892(0x182)][0x0]);for(let _0x196133=_0x52c3bd[_0x4d2892(0x1d0)]-0x1;_0x196133>=0x0;_0x196133--){const _0x23ef36={'id':_0x4d2892(0xeb),'params':{'unitId':_0x52c3bd[_0x196133][_0x4d2892(0x258)],..._0x52c3bd[_0x196133][_0x4d2892(0x28e)]}},_0x554960={'id':_0x4d2892(0xeb),'params':{'unitId':_0x52c3bd[_0x196133][_0x4d2892(0x258)],..._0x52c3bd[_0x196133][_0x4d2892(0x2a6)]}},_0x2fc5c9=this['_transformService'][_0x4d2892(0x1da)](_0x355db8,_0x23ef36,!0x1),_0x3dd0cb=this[_0x4d2892(0x494)]['transformMutation'](_0x1a3611,_0x554960,!0x1);if(_0x2432d6(_0x2fc5c9))throw _0x2fc5c9['error'];if(_0x2432d6(_0x3dd0cb))throw _0x3dd0cb[_0x4d2892(0x3a2)];_0x5daf41[_0x4d2892(0x168)]({..._0x52c3bd[_0x196133],'undoState':_0x2fc5c9[_0x4d2892(0x37e)][_0x4d2892(0x4a8)],'redoState':_0x3dd0cb['m2Prime'][_0x4d2892(0x4a8)]}),_0x355db8=_0x2fc5c9[_0x4d2892(0x1c1)],_0x1a3611=_0x3dd0cb[_0x4d2892(0x1c1)];}this[_0x4d2892(0x321)][_0x4d2892(0x21d)](_0x3323ca,{'history':_0x27639f,'collaboration':_0x5daf41});}};pt=go([$t(0x0,_0x33026a(_0x17dae8)),$t(0x1,_0x4af41b),$t(0x2,_0x33026a(_0x4ac2d0))],pt);function Li(_0x1dd115){let _0xf4e4ca='';for(const _0x20b719 of _0x1dd115){const {startOffset:_0x52938d,endOffset:_0xfcc0c7,isActive:_0x49cda5,rangeType:_0x2325b3,segmentId:_0x24098c,segmentPage:_0x4507f3}=_0x20b719;_0xf4e4ca['length']&&(_0xf4e4ca+=','),_0xf4e4ca+=_0x52938d+':'+_0xfcc0c7+':'+(_0x49cda5?'1':'0')+':'+_0x2325b3+':'+_0x24098c+':'+_0x4507f3;}return _0xf4e4ca;}function So(_0x51197f){const _0x1561a5=_0x50a7d0,_0x4da699=_0x51197f[_0x1561a5(0xd8)](','),_0x185382=[];for(const _0xffadcc of _0x4da699){const [_0x120ca2,_0xd2b219,_0x53c95f,_0x12b220,_0x3005a6,_0x52f37e]=_0xffadcc[_0x1561a5(0xd8)](':');_0x185382[_0x1561a5(0xc6)]({'startOffset':Number(_0x120ca2),'endOffset':Number(_0xd2b219),'collapsed':_0x120ca2===_0xd2b219,'isActive':_0x53c95f==='1','rangeType':_0x12b220===_0x2b344d[_0x1561a5(0x1cb)]?_0x2b344d[_0x1561a5(0x1cb)]:_0x2b344d[_0x1561a5(0x357)],'segmentId':typeof _0x3005a6==_0x1561a5(0x218)?String(_0x3005a6):'','segmentPage':Number(_0x52f37e!=null?_0x52f37e:-0x1)});}return _0x185382[_0x1561a5(0x365)](_0x4350af=>_0x4350af['isActive'])||(_0x185382[0x0][_0x1561a5(0x28c)]=!0x0),_0x185382;}class Ts extends _0x2983d9{constructor(){const _0x6f9da2=_0x50a7d0;super(...arguments),g(this,'_collabCursorState$',new _0x22472b(null)),g(this,_0x6f9da2(0x388),this[_0x6f9da2(0x3fc)]['asObservable']());}[_0x50a7d0(0x4aa)](_0x5e0256){const _0x5d1e7c=_0x50a7d0,{unitID:_0x426ccf,memberID:_0x33b364,textRanges:_0x387f4c}=_0x5e0256,_0x30c1f3=Li(_0x387f4c);if(_0x30c1f3==='')return;const _0x4e82f1={'unitID':_0x426ccf,'memberID':_0x33b364,'selection':_0x30c1f3};this[_0x5d1e7c(0x3fc)][_0x5d1e7c(0x492)](_0x4e82f1);}}var Io=Object[_0x50a7d0(0x15c)],Co=Object[_0x50a7d0(0x18b)],Eo=(_0x22e539,_0x163a2a,_0x1f6607,_0x4c1ba0)=>{const _0x22d47c=_0x50a7d0;for(var _0x1ba67c=_0x4c1ba0>0x1?void 0x0:_0x4c1ba0?Co(_0x163a2a,_0x1f6607):_0x163a2a,_0x25eb91=_0x22e539[_0x22d47c(0x1d0)]-0x1,_0x16f2b9;_0x25eb91>=0x0;_0x25eb91--)(_0x16f2b9=_0x22e539[_0x25eb91])&&(_0x1ba67c=(_0x4c1ba0?_0x16f2b9(_0x163a2a,_0x1f6607,_0x1ba67c):_0x16f2b9(_0x1ba67c))||_0x1ba67c);return _0x4c1ba0&&_0x1ba67c&&Io(_0x163a2a,_0x1f6607,_0x1ba67c),_0x1ba67c;},Ks=(_0x4c22a4,_0x249937)=>(_0x1f33c2,_0x478287)=>_0x249937(_0x1f33c2,_0x478287,_0x4c22a4);let gt=class{constructor(_0x51fd1b,_0x1c144c){const _0x2c7606=_0x50a7d0;this[_0x2c7606(0x408)]=_0x51fd1b,this[_0x2c7606(0x494)]=_0x1c144c;}[_0x50a7d0(0x470)](_0x150ab8){const _0x1b85a2=_0x50a7d0;var _0x8722e0;const _0x4314e9=this[_0x1b85a2(0x408)]['get'](_0x370f46),_0x213f13=(_0x8722e0=_0x4314e9[_0x1b85a2(0x2ad)]())!=null?_0x8722e0:[];if(_0x213f13[_0x1b85a2(0x1d0)]===0x0)return;const _0x519882=_0x150ab8['unitID'],_0x389075=[{'id':_0x1b85a2(0xeb),'params':{'unitId':_0x519882,'actions':null,'textRanges':_0x213f13}}],_0xa2725=this[_0x1b85a2(0x494)][_0x1b85a2(0x31d)](_0x150ab8,_0x389075);if(!_0x545fca(_0xa2725))throw _0xa2725[_0x1b85a2(0x3a2)];const _0x197305=_0xa2725[_0x1b85a2(0x37e)][0x0]['params'][_0x1b85a2(0x238)];Array[_0x1b85a2(0x20e)](_0x197305)&&_0x197305['length']&&_0x4314e9[_0x1b85a2(0x25a)](_0x197305,{'unitId':_0x519882,'subUnitId':_0x519882},!0x1);}};gt=Eo([Ks(0x0,_0x33026a(_0x17dae8)),Ks(0x1,_0x4af41b)],gt);const bo=new Set([_0x47f947['id']]);function zs(_0x876ab4,_0x5dcb64,_0x1cd235,_0x1f502f,_0x19c09b){const _0xd9240d=_0x50a7d0;var _0x519d66,_0x324268,_0x49a56a,_0xcab886;const _0x38cdbd=[];for(const _0x4a7566 of _0x876ab4)if(bo[_0xd9240d(0x28d)](_0x4a7566['id'])){if(_0x38cdbd[_0xd9240d(0x1d0)]>0x0)break;_0x38cdbd[_0xd9240d(0xc6)](_0x4a7566);break;}else _0x38cdbd['push'](_0x4a7566);const _0x3085b7=(_0x324268=(_0x519d66=_0x19c09b[_0xd9240d(0x3e2)]())==null?void 0x0:_0x519d66['userID'])!=null?_0x324268:_0xd9240d(0xf8),_0x1b8849=(_0xcab886=(_0x49a56a=_0x19c09b[_0xd9240d(0x3e2)]())==null?void 0x0:_0x49a56a[_0xd9240d(0x13f)])!=null?_0xcab886:_0xd9240d(0xf8);return{'changeset':{'unitID':_0x5dcb64,'type':_0x3726a0(_0x1cd235[_0xd9240d(0x10d)](_0x5dcb64)),'baseRev':_0x1f502f[_0xd9240d(0x4cf)](_0x5dcb64),'revision':0x0,'userID':_0x3085b7,'memberID':_0x1b8849,'mutations':_0x38cdbd},'pendingMutations':_0x876ab4[_0xd9240d(0x2bf)](_0x38cdbd['length'])};}function To(_0x4b5b3e,_0x4854c6,_0x398fd8,_0x2189d9,_0x42786e){const _0x1620b5=_0x50a7d0;var _0xcd8720,_0x25a73a,_0x4910e3,_0x11463a;const _0x55a06a=[_0x4b5b3e[_0x1620b5(0x143)]((_0x38e329,_0x209bad)=>{const _0x25b3d3=_0x1620b5;var _0x585941;const {id:_0x36a90b}=_0x38e329,{id:_0xdd613a,type:_0x1d7eaf}=_0x209bad,_0x494127=(_0x585941=_0x38e329[_0x25b3d3(0x4a8)])!=null?_0x585941:{'actions':null},_0x3add27=_0x209bad[_0x25b3d3(0x4a8)];if(_0x36a90b&&_0x36a90b!==_0xdd613a)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x36a90b+'\x20-\x20'+_0xdd613a+'.');return{..._0x38e329,'id':_0xdd613a,'type':_0x1d7eaf,'params':{'unitId':_0x3add27[_0x25b3d3(0x258)],'textRanges':_0x3add27[_0x25b3d3(0x238)],'actions':_0x198357[_0x25b3d3(0x353)](_0x494127['actions'],_0x3add27[_0x25b3d3(0x433)])}};},{})],_0x1ba5be=(_0x25a73a=(_0xcd8720=_0x42786e[_0x1620b5(0x3e2)]())==null?void 0x0:_0xcd8720[_0x1620b5(0x3d3)])!=null?_0x25a73a:_0x1620b5(0xf8),_0x1a9368=(_0x11463a=(_0x4910e3=_0x42786e[_0x1620b5(0x3e2)]())==null?void 0x0:_0x4910e3['memberID'])!=null?_0x11463a:_0x1620b5(0xf8);return{'changeset':{'unitID':_0x4854c6,'type':_0x3726a0(_0x398fd8[_0x1620b5(0x10d)](_0x4854c6)),'baseRev':_0x2189d9[_0x1620b5(0x4cf)](_0x4854c6),'revision':0x0,'userID':_0x1ba5be,'memberID':_0x1a9368,'mutations':_0x55a06a},'pendingMutations':[]};}function $i(_0x30fa18,_0x187694){const _0x50d099=_0x50a7d0,_0xb8486e=new _0x136f27(0x1);return setTimeout(()=>_0xb8486e['next'](_0x187694),_0x30fa18),_0xb8486e['asObservable']()[_0x50d099(0x157)](_0x5cbb3a(0x1));}const Ro={'id':_0x2b292b['id'],'type':_0x30659a[_0x50a7d0(0x41f)],'params':{}};var Oo=Object[_0x50a7d0(0x15c)],yo=Object['getOwnPropertyDescriptor'],$e=(_0x1ba909,_0x530b38,_0x785105,_0x4eebe9)=>{const _0x3d8f73=_0x50a7d0;for(var _0x561deb=_0x4eebe9>0x1?void 0x0:_0x4eebe9?yo(_0x530b38,_0x785105):_0x530b38,_0x2b37ee=_0x1ba909[_0x3d8f73(0x1d0)]-0x1,_0x207e5f;_0x2b37ee>=0x0;_0x2b37ee--)(_0x207e5f=_0x1ba909[_0x2b37ee])&&(_0x561deb=(_0x4eebe9?_0x207e5f(_0x530b38,_0x785105,_0x561deb):_0x207e5f(_0x561deb))||_0x561deb);return _0x4eebe9&&_0x561deb&&Oo(_0x530b38,_0x785105,_0x561deb),_0x561deb;},A=(_0x260c95,_0x2a36c4)=>(_0x1433a5,_0x282f1c)=>_0x2a36c4(_0x1433a5,_0x282f1c,_0x260c95),J=(_0x2c8a9d=>(_0x2c8a9d['NOT_COLLAB']=_0x50a7d0(0x225),_0x2c8a9d['SYNCED']='synced',_0x2c8a9d['PENDING']=_0x50a7d0(0x14e),_0x2c8a9d[_0x50a7d0(0x30f)]=_0x50a7d0(0x114),_0x2c8a9d['AWAITING_WITH_PENDING']=_0x50a7d0(0x49e),_0x2c8a9d[_0x50a7d0(0x2cb)]=_0x50a7d0(0x401),_0x2c8a9d[_0x50a7d0(0x441)]='conflict',_0x2c8a9d[_0x50a7d0(0x4a2)]=_0x50a7d0(0x140),_0x2c8a9d))(J||{});const Hi=0xea60;class He{constructor(_0x28cc8f,_0x83a61c,_0x3cb097,_0x528d73,_0x26fa2e,_0x42634e,_0x57c585,_0x34c956,_0x570197){const _0x393a82=_0x50a7d0;g(this,_0x393a82(0x1aa),null),g(this,_0x393a82(0x196),[]),(this['unitID']=_0x28cc8f,this['type']=_0x83a61c,this[_0x393a82(0x106)]=_0x26fa2e,this[_0x393a82(0x293)]=_0x42634e,this['_undoRedoService']=_0x57c585,this[_0x393a82(0x383)]=_0x34c956,this[_0x393a82(0x251)]=_0x570197,this[_0x393a82(0x1aa)]=_0x3cb097,this['_pendingMutations']=_0x528d73);}[_0x50a7d0(0x195)](_0x42f3a1){const _0x171faa=_0x50a7d0,_0x3701ac=this[_0x171faa(0x383)][_0x171faa(0x4cf)](this[_0x171faa(0xaa)]);return _0x42f3a1[_0x171faa(0x29d)]>_0x3701ac+0x1?(this[_0x171faa(0x106)][_0x171faa(0xf7)]({'from':_0x3701ac,'to':_0x42f3a1[_0x171faa(0x29d)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x33bdb1){const _0x1812fd=_0x50a7d0;this[_0x1812fd(0x402)][_0x1812fd(0x30e)](this[_0x1812fd(0xaa)],_0x33bdb1);}['_transformSelections'](_0x182841){const _0x2276cb=_0x50a7d0;var _0x2b8ea2,_0x2f1d91;(_0x2f1d91=(_0x2b8ea2=this[_0x2276cb(0x106)])[_0x2276cb(0x233)])==null||_0x2f1d91[_0x2276cb(0x2a1)](_0x2b8ea2,_0x182841);}['_transformIMECache'](_0x2851db){const _0x3f5a52=_0x50a7d0;var _0x41e30f,_0x1d0d1e;return(_0x1d0d1e=(_0x41e30f=this[_0x3f5a52(0x106)])[_0x3f5a52(0x301)])==null?void 0x0:_0x1d0d1e[_0x3f5a52(0x2a1)](_0x41e30f,_0x2851db);}[_0x50a7d0(0x3f6)](_0x831b7b){const _0x30994f=_0x50a7d0;var _0x3a3ff5,_0x4f6c83;return(_0x4f6c83=(_0x3a3ff5=this[_0x30994f(0x106)])[_0x30994f(0xc0)])==null?void 0x0:_0x4f6c83[_0x30994f(0x2a1)](_0x3a3ff5,_0x831b7b);}[_0x50a7d0(0x3af)](_0x41c3f6){const _0x34da82=_0x50a7d0;var _0x3ed1a0,_0x54bbef,_0x1b30e9;return(_0x1b30e9=(_0x54bbef=(_0x3ed1a0=this[_0x34da82(0x106)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x54bbef[_0x34da82(0x2a1)](_0x3ed1a0,_0x41c3f6))!=null?_0x1b30e9:_0x41c3f6;}[_0x50a7d0(0x1d8)](_0x5ab38c){const _0x4b61ae=_0x50a7d0;var _0x30ffd1,_0x1e304b,_0x104eb6;return(_0x104eb6=(_0x1e304b=(_0x30ffd1=this[_0x4b61ae(0x106)])[_0x4b61ae(0xdd)])==null?void 0x0:_0x1e304b['call'](_0x30ffd1,_0x5ab38c))!=null?_0x104eb6:_0x5ab38c;}['_syncEditingCollabCursor'](_0x11b840){const _0x5776e6=_0x50a7d0;var _0x176ece,_0x421546;if(this[_0x5776e6(0x105)]===ce[_0x5776e6(0x26b)]){const {unitID:_0x37eade,mutations:_0x49091d,memberID:_0x33e5cc}=_0x11b840,_0x3eb364=_0x49091d[0x0][_0x5776e6(0x4a8)][_0x5776e6(0x238)];Array[_0x5776e6(0x20e)](_0x3eb364)&&_0x3eb364[_0x5776e6(0x1d0)]>0x0&&((_0x421546=(_0x176ece=this[_0x5776e6(0x106)])[_0x5776e6(0x16f)])==null||_0x421546[_0x5776e6(0x2a1)](_0x176ece,{'unitID':_0x37eade,'memberID':_0x33e5cc,'textRanges':_0x3eb364}));}}['_updateLocalCache'](){const _0x549aae=_0x50a7d0;this[_0x549aae(0x251)]['updateOfflineData'](this['unitID'],this[_0x549aae(0x105)],this[_0x549aae(0x1aa)],this[_0x549aae(0x196)]);}[_0x50a7d0(0x465)](){const _0x31d009=_0x50a7d0;return this[_0x31d009(0x383)]['getCurrentRevOfUnit'](this[_0x31d009(0xaa)]);}['_incrementRevisionNumber'](){const _0x16c025=_0x50a7d0;this[_0x16c025(0x383)][_0x16c025(0x3aa)](this[_0x16c025(0xaa)]);}[_0x50a7d0(0x130)](_0x2f3467){const _0x3c94bc=_0x50a7d0;var _0x4dcd65;let _0x5c57e8=this[_0x3c94bc(0x3af)](_0x2f3467);_0x5c57e8=this[_0x3c94bc(0x1d8)](_0x5c57e8);const _0x349758=_0x396518(_0x5c57e8[_0x3c94bc(0x182)],this['_commandService'],{'fromCollab':!0x0});if(!_0x349758['result'])throw _0x349758[_0x3c94bc(0x3a2)]instanceof Error?_0x349758['error']:new Error((_0x4dcd65=_0x349758[_0x3c94bc(0x3a2)])!=null?_0x4dcd65:_0x3c94bc(0x3df));this[_0x3c94bc(0x344)](_0x5c57e8),this[_0x3c94bc(0x3f6)](_0x5c57e8),this[_0x3c94bc(0x2f1)](_0x2f3467),this[_0x3c94bc(0x4bd)](_0x5c57e8),this[_0x3c94bc(0x192)](_0x5c57e8),this[_0x3c94bc(0x2e1)]();}}let Fe=class extends He{constructor(_0x1905dd,_0x237865,_0x138ab8,_0x40d8ee,_0x709427,_0x55d2eb,_0x2931db,_0x1c502c,_0x163712,_0x2c576e){const _0x38e527=_0x50a7d0;super(_0x1905dd,_0x237865,null,[],_0x138ab8,_0x1c502c,_0x2931db,_0x40d8ee,_0x709427),g(this,_0x38e527(0x295),_0x38e527(0x4b1)),(this[_0x38e527(0x408)]=_0x55d2eb,this[_0x38e527(0x422)]=_0x163712,this[_0x38e527(0x494)]=_0x2c576e);}[_0x50a7d0(0x442)](_0x12a543){const _0x194ad2=_0x50a7d0,_0x1ccffe=this[_0x194ad2(0x408)]['createInstance'](pe,this[_0x194ad2(0xaa)],this[_0x194ad2(0x105)],[_0x12a543],this[_0x194ad2(0x106)]);return _0x1ccffe[_0x194ad2(0x245)](),_0x1ccffe[_0x194ad2(0x461)](),_0x1ccffe;}[_0x50a7d0(0x13c)](_0x5b9197){const _0x38cbc2=_0x50a7d0;if(this[_0x38cbc2(0x195)](_0x5b9197))return this[_0x38cbc2(0x408)]['createInstance'](he,this[_0x38cbc2(0xaa)],this['type'],null,[],null,[_0x5b9197],this['_handler']);try{const _0x24c678=this[_0x38cbc2(0x494)][_0x38cbc2(0x31d)](_0x5b9197,[Ro]);if(_0x545fca(_0x24c678)){const {c1Prime:_0x2fdfe4}=_0x24c678;return this[_0x38cbc2(0x130)](_0x2fdfe4),this;}throw _0x24c678[_0x38cbc2(0x3a2)];}catch(_0x55b907){return this[_0x38cbc2(0x422)]['error'](_0x55b907),this[_0x38cbc2(0x498)](!0x1);}}[_0x50a7d0(0x498)](_0x364617){const _0x4e578f=_0x50a7d0;return this['_injector'][_0x4e578f(0xe7)](Oe,this[_0x4e578f(0xaa)],this[_0x4e578f(0x105)],null,[],this['_handler'],_0x364617);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x50a7d0(0x395)](){const _0x2f05ad=_0x50a7d0;throw new Error(_0x2f05ad(0x122));}['onRemoteRetry'](){return this;}[_0x50a7d0(0x2b9)](){const _0x2cf074=_0x50a7d0;return this[_0x2cf074(0x408)]['createInstance'](ye,this[_0x2cf074(0xaa)],this['type'],null,[],this[_0x2cf074(0x106)]);}['toggleOnline'](){return this;}['resend'](){const _0x3fd049=_0x50a7d0;throw new Error(_0x3fd049(0x3c9));}[_0x50a7d0(0x1b2)](){const _0x1d13a7=_0x50a7d0,_0x5b169b=this[_0x1d13a7(0x383)]['getCurrentRevOfUnit'](this[_0x1d13a7(0xaa)]);return this[_0x1d13a7(0x106)]['onMissingChangesets']({'from':_0x5b169b,'to':0x0}),this[_0x1d13a7(0x408)][_0x1d13a7(0xe7)](he,this[_0x1d13a7(0xaa)],this[_0x1d13a7(0x105)],null,[],null,[],this['_handler']);}};Fe=$e([A(0x3,_0x33026a(_0x50f245)),A(0x4,_0x33026a(q)),A(0x5,_0x33026a(_0x17dae8)),A(0x6,_0x5b0e0d),A(0x7,_0x2e05f8),A(0x8,_0x299b7a),A(0x9,_0x4af41b)],Fe);let pe=class extends He{constructor(_0x5a3234,_0x30967f,_0x54b2c7,_0x2b7dad,_0x4051cf,_0x1098a9,_0x366dc4,_0x58eaef,_0xeaa740,_0xdca6b7,_0x3358b7,_0x52212d,_0x413856,_0x528ea1){const _0x538f54=_0x50a7d0;super(_0x5a3234,_0x30967f,null,_0x54b2c7,_0x2b7dad,_0xdca6b7,_0x528ea1,_0x1098a9,_0x366dc4),g(this,_0x538f54(0x295),_0x538f54(0x14e)),g(this,'_scheduleTimestamp',null),g(this,'_sendingTimer',null),(this['_injector']=_0x4051cf,this[_0x538f54(0x35d)]=_0x58eaef,this[_0x538f54(0x422)]=_0xeaa740,this[_0x538f54(0x3bb)]=_0x3358b7,this[_0x538f54(0x494)]=_0x52212d,this[_0x538f54(0x283)]=_0x413856);}[_0x50a7d0(0x442)](_0x3d95ee){const _0x1d8a12=_0x50a7d0;return this[_0x1d8a12(0x196)]['push'](_0x3d95ee),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x43f34e){const _0x2a558f=_0x50a7d0;if(this[_0x2a558f(0x195)](_0x43f34e))return this[_0x2a558f(0x2c1)](),this[_0x2a558f(0x408)][_0x2a558f(0xe7)](he,this[_0x2a558f(0xaa)],this['type'],null,this[_0x2a558f(0x196)],null,[_0x43f34e],this[_0x2a558f(0x106)]);try{const _0x37fe60=this['_transformService'][_0x2a558f(0x31d)](_0x43f34e,this[_0x2a558f(0x196)]);if(_0x545fca(_0x37fe60)){const {c1Prime:_0x1ad57f,m2Prime:_0x4dae5d}=_0x37fe60;this['_executeRemoteChangeset'](_0x1ad57f);const _0x903813=this['_injector'][_0x2a558f(0xe7)](pe,this['unitID'],this[_0x2a558f(0x105)],_0x4dae5d,this['_handler']);return this['_clearScheduledTask'](),_0x903813[_0x2a558f(0x245)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this[_0x2a558f(0x4bb)]()),_0x903813;}throw _0x37fe60[_0x2a558f(0x3a2)];}catch(_0x5bc727){return this['_logService'][_0x2a558f(0x3a2)](_0x5bc727),this['_onConflict'](!0x1);}}[_0x50a7d0(0x3e8)](){const _0x1407c7=_0x50a7d0;throw new Error(_0x1407c7(0x491));}['onRemoteRej'](){const _0x51cb1e=_0x50a7d0;throw new Error(_0x51cb1e(0x425));}[_0x50a7d0(0x29b)](){return this;}[_0x50a7d0(0x2b9)](){const _0xae98a8=_0x50a7d0;return this[_0xae98a8(0x2c1)](),this[_0xae98a8(0x408)]['createInstance'](ye,this[_0xae98a8(0xaa)],this[_0xae98a8(0x105)],null,this[_0xae98a8(0x196)],this[_0xae98a8(0x106)]);}[_0x50a7d0(0x30d)](){return this;}['_schedule'](_0x54b8c8){const _0x4e1bb9=_0x50a7d0,_0xd4444e=_0x54b8c8!=null?_0x54b8c8:this[_0x4e1bb9(0x4bb)]();this[_0x4e1bb9(0x1f7)]=new Date()['getTime'](),this['_sendingTimer']=window['setTimeout'](()=>{const _0x4d7b67=_0x4e1bb9;this[_0x4d7b67(0x2c1)]();let _0xd26c96=null;switch(this[_0x4d7b67(0x105)]){case ce[_0x4d7b67(0x331)]:{_0xd26c96=zs(this[_0x4d7b67(0x196)],this[_0x4d7b67(0xaa)],this[_0x4d7b67(0x283)],this[_0x4d7b67(0x383)],this[_0x4d7b67(0x35d)]);break;}case ce['UNIVER_DOC']:{this['_pendingMutations'][_0x4d7b67(0x18c)](_0x24a6c3=>_0x24a6c3['id']===_0x5e3fd9['id'])?_0xd26c96=To(this[_0x4d7b67(0x196)],this[_0x4d7b67(0xaa)],this[_0x4d7b67(0x283)],this[_0x4d7b67(0x383)],this[_0x4d7b67(0x35d)]):_0xd26c96=zs(this[_0x4d7b67(0x196)],this['unitID'],this[_0x4d7b67(0x283)],this[_0x4d7b67(0x383)],this[_0x4d7b67(0x35d)]);break;}default:throw new Error(_0x4d7b67(0x1e9)+this['type']+_0x4d7b67(0x257));}const {changeset:_0x112d45,pendingMutations:_0x21ebfb}=_0xd26c96;this[_0x4d7b67(0x106)][_0x4d7b67(0x17a)](_0x112d45);const _0x43c3b8=_0x21ebfb[_0x4d7b67(0x1d0)]?this['_injector'][_0x4d7b67(0xe7)](ge,this[_0x4d7b67(0xaa)],this[_0x4d7b67(0x105)],_0x112d45,_0x21ebfb,this[_0x4d7b67(0x106)],void 0x0):this[_0x4d7b67(0x408)][_0x4d7b67(0xe7)](Re,this[_0x4d7b67(0xaa)],this[_0x4d7b67(0x105)],_0x112d45,this[_0x4d7b67(0x106)]);_0x43c3b8[_0x4d7b67(0x461)](),this[_0x4d7b67(0x106)][_0x4d7b67(0x3ad)](this,_0x43c3b8);},_0xd4444e);}['_getSendChangesetTimeout'](){const _0x483e8f=_0x50a7d0;var _0xda0355;const _0x5696d1=this['_configService'][_0x483e8f(0x4c6)](ee);return(_0xda0355=_0x5696d1==null?void 0x0:_0x5696d1[_0x483e8f(0x12d)])!=null?_0xda0355:Sn;}[_0x50a7d0(0x3d1)](){const _0x1ce0a3=_0x50a7d0;throw new Error(_0x1ce0a3(0x26c));}[_0x50a7d0(0x2c1)](){const _0x8837f9=_0x50a7d0;this[_0x8837f9(0xe8)]!=null&&(clearTimeout(this[_0x8837f9(0xe8)]),this[_0x8837f9(0xe8)]=null);}['_onConflict'](_0x3740ae){const _0x141d72=_0x50a7d0;return this[_0x141d72(0x2c1)](),this[_0x141d72(0x408)]['createInstance'](Oe,this[_0x141d72(0xaa)],this[_0x141d72(0x105)],null,this[_0x141d72(0x196)],this['_handler'],_0x3740ae);}};pe=$e([A(0x4,_0x33026a(_0x17dae8)),A(0x5,_0x33026a(_0x50f245)),A(0x6,_0x33026a(q)),A(0x7,_0x33026a(Me)),A(0x8,_0x299b7a),A(0x9,_0x2e05f8),A(0xa,_0x533505),A(0xb,_0x4af41b),A(0xc,_0x28b990),A(0xd,_0x5b0e0d)],pe);let Re=class extends He{constructor(_0x52b2a3,_0x9c0b8d,_0x1652a4,_0xf2ab3c,_0x43d450,_0xca0dfe,_0x4b9ef6,_0x2b1034,_0x550433,_0x258963,_0x2e595e){const _0x27bf4c=_0x50a7d0;super(_0x52b2a3,_0x9c0b8d,_0x1652a4,[],_0xf2ab3c,_0x2b1034,_0x2e595e,_0xca0dfe,_0x4b9ef6),g(this,_0x27bf4c(0x295),_0x27bf4c(0x114)),g(this,_0x27bf4c(0x212),0x0),g(this,'_resendTimer'),g(this,'_sender'),(this[_0x27bf4c(0x408)]=_0x43d450,this['_logService']=_0x550433,this[_0x27bf4c(0x494)]=_0x258963);}['appendMutation'](_0xe64053){const _0x210462=_0x50a7d0;this[_0x210462(0x2c1)]();const _0xa3a174=this[_0x210462(0x408)][_0x210462(0xe7)](ge,this[_0x210462(0xaa)],this[_0x210462(0x105)],this[_0x210462(0x1aa)],[_0xe64053],this['_handler'],this[_0x210462(0x160)]);return _0xa3a174[_0x210462(0x461)](),_0xa3a174;}['onRemoteChangeset'](_0x38cad0){const _0x598eb2=_0x50a7d0;if(this[_0x598eb2(0x195)](_0x38cad0))return this[_0x598eb2(0x2c1)](),this[_0x598eb2(0x408)][_0x598eb2(0xe7)](he,this[_0x598eb2(0xaa)],this[_0x598eb2(0x105)],this[_0x598eb2(0x1aa)],[],null,[_0x38cad0],this[_0x598eb2(0x106)]);try{const _0x282117=this[_0x598eb2(0x494)]['transformChangesets']([_0x38cad0],[this[_0x598eb2(0x1aa)]],!0x1);if(_0x22d91c(_0x282117)){const {c1Prime:_0xfcb90d,c2Prime:_0x1907f3}=_0x282117;this[_0x598eb2(0x130)](_0xfcb90d[0x0]),_0x1907f3[0x0]['baseRev']=this[_0x598eb2(0x465)](),this[_0x598eb2(0x2c1)]();const _0x3af899=this[_0x598eb2(0x408)][_0x598eb2(0xe7)](Re,this['unitID'],this[_0x598eb2(0x105)],_0x1907f3[0x0],this['_handler']);return _0x3af899[_0x598eb2(0x461)](),_0x3af899;}return this[_0x598eb2(0x498)](!0x1);}catch(_0x4ff7e9){return this[_0x598eb2(0x422)]['error'](_0x4ff7e9),this[_0x598eb2(0x498)](!0x1);}}[_0x50a7d0(0x3e8)](_0x113b61){const _0x11fa84=_0x50a7d0;this[_0x11fa84(0x2c1)]();const _0x586046=this['_revisionService'][_0x11fa84(0x4cf)](this[_0x11fa84(0xaa)]);if(_0x113b61[_0x11fa84(0x29d)]<_0x586046-0x1)return this;if(this['_checkMissing'](_0x113b61))return this['_injector'][_0x11fa84(0xe7)](he,this['unitID'],this[_0x11fa84(0x105)],null,[],this[_0x11fa84(0x1aa)],[],this[_0x11fa84(0x106)]);this['_incrementRevisionNumber']();const _0x4c9deb=this['_injector'][_0x11fa84(0xe7)](Fe,this[_0x11fa84(0xaa)],this[_0x11fa84(0x105)],this['_handler']);return _0x4c9deb['_updateLocalCache'](),_0x4c9deb;}[_0x50a7d0(0x395)](_0xa220f0){const _0x3d8a6d=_0x50a7d0;return this[_0x3d8a6d(0x498)](!!(_0xa220f0!=null&&_0xa220f0[_0x3d8a6d(0x260)]));}['onRemoteRetry'](_0x2fdafd){const _0x4a9a5a=_0x50a7d0;return this[_0x4a9a5a(0x212)]>Hi?this[_0x4a9a5a(0x2b9)]():(this[_0x4a9a5a(0x160)]=$i(this[_0x4a9a5a(0x212)],{'timeout':this['_resendTimeout'],'reqId':_0x2fdafd[_0x4a9a5a(0x243)]}),this['_sender']=this[_0x4a9a5a(0x160)][_0x4a9a5a(0x479)](({reqId:_0x489405,timeout:_0x55353e})=>{const _0x1a42f6=_0x4a9a5a;this[_0x1a42f6(0x167)](_0x489405,_0x55353e);}),this);}['toggleOffline'](){const _0x35df89=_0x50a7d0;return this[_0x35df89(0x2c1)](),this[_0x35df89(0x408)][_0x35df89(0xe7)](ye,this[_0x35df89(0xaa)],this[_0x35df89(0x105)],this[_0x35df89(0x1aa)],[],this[_0x35df89(0x106)]);}[_0x50a7d0(0x30d)](){return this;}[_0x50a7d0(0x3d1)](){const _0x1a4974=_0x50a7d0;this[_0x1a4974(0x106)][_0x1a4974(0x17a)](this['_awaitingChangeset']);}[_0x50a7d0(0x498)](_0x19a2ce){const _0x336dfb=_0x50a7d0;return this[_0x336dfb(0x2c1)](),this['_injector']['createInstance'](Oe,this[_0x336dfb(0xaa)],this[_0x336dfb(0x105)],this[_0x336dfb(0x1aa)],[],this[_0x336dfb(0x106)],_0x19a2ce);}[_0x50a7d0(0x167)](_0x221435,_0x562378){const _0x4f6a7e=_0x50a7d0;var _0x3b358d;_0x221435===((_0x3b358d=this[_0x4f6a7e(0x1aa)])==null?void 0x0:_0x3b358d['reqId'])&&(this[_0x4f6a7e(0x3d1)](),this[_0x4f6a7e(0x212)]=_0x562378===0x0?0x3e8:_0x562378*0x2);}[_0x50a7d0(0x2c1)](){const _0x5c7918=_0x50a7d0;var _0x16e265;(_0x16e265=this[_0x5c7918(0x411)])==null||_0x16e265[_0x5c7918(0x4b2)](),this[_0x5c7918(0x212)]=0x0;}};Re=$e([A(0x4,_0x33026a(_0x17dae8)),A(0x5,_0x33026a(_0x50f245)),A(0x6,_0x33026a(q)),A(0x7,_0x2e05f8),A(0x8,_0x299b7a),A(0x9,_0x4af41b),A(0xa,_0x5b0e0d)],Re);let ge=class extends He{constructor(_0x4d84a9,_0x4820f2,_0x5be511,_0x49f57b,_0x148ed0,_0x18480c,_0x50754b,_0x313fa6,_0x50cfb3,_0x48b013,_0x189a2a,_0x4e5c4a,_0x457f53){const _0xb80f65=_0x50a7d0;super(_0x4d84a9,_0x4820f2,_0x5be511,_0x49f57b,_0x148ed0,_0x48b013,_0x457f53,_0x313fa6,_0x50cfb3),g(this,_0xb80f65(0x295),_0xb80f65(0x49e)),g(this,'_resendTimeout',0x0),g(this,_0xb80f65(0x160)),g(this,'_sender'),(this[_0xb80f65(0x408)]=_0x50754b,this['_logService']=_0x189a2a,this[_0xb80f65(0x494)]=_0x4e5c4a,_0x18480c&&(this[_0xb80f65(0x160)]=_0x18480c,this[_0xb80f65(0x411)]=this[_0xb80f65(0x160)][_0xb80f65(0x479)](({reqId:_0x108e60,timeout:_0x5ed197})=>{this['_resendWithTimeout'](_0x108e60,_0x5ed197);})));}[_0x50a7d0(0x442)](_0x59bb31){const _0xb5d625=_0x50a7d0;return this[_0xb5d625(0x196)][_0xb5d625(0xc6)](_0x59bb31),this;}[_0x50a7d0(0x13c)](_0x44e2c4){const _0x19bfb6=_0x50a7d0;if(this['_checkMissing'](_0x44e2c4))return this[_0x19bfb6(0x2c1)](),this['_injector'][_0x19bfb6(0xe7)](he,this['unitID'],this['type'],this[_0x19bfb6(0x1aa)],this[_0x19bfb6(0x196)],null,[_0x44e2c4],this[_0x19bfb6(0x106)]);try{const _0x3dcdaf=this[_0x19bfb6(0x494)][_0x19bfb6(0x100)]([_0x44e2c4],[this[_0x19bfb6(0x1aa)]],!0x1);if(_0x22d91c(_0x3dcdaf)){const {c1Prime:_0x1ba192,c2Prime:_0x21f54c}=_0x3dcdaf,_0x4e8481=this[_0x19bfb6(0x494)][_0x19bfb6(0x31d)](_0x1ba192[0x0],this['_pendingMutations']);if(_0x545fca(_0x4e8481)){const {c1Prime:_0x2c29fe,m2Prime:_0x4523ae}=_0x4e8481;return this['_executeRemoteChangeset'](_0x2c29fe),_0x21f54c[0x0][_0x19bfb6(0x170)]=this['_getCurrentRevision'](),this[_0x19bfb6(0x2c1)](),this[_0x19bfb6(0x408)][_0x19bfb6(0xe7)](ge,this['unitID'],this[_0x19bfb6(0x105)],_0x21f54c[0x0],_0x4523ae,this[_0x19bfb6(0x106)],void 0x0);}throw _0x4e8481[_0x19bfb6(0x3a2)];}throw _0x3dcdaf[_0x19bfb6(0x3a2)];}catch(_0x5a39a9){return this['_logService'][_0x19bfb6(0x3a2)](_0x5a39a9),this[_0x19bfb6(0x498)](!0x1);}}['onRemoteAck'](_0x2d8432){const _0x3d7ee5=_0x50a7d0;if(this['_clearScheduledTask'](),this[_0x3d7ee5(0x195)](_0x2d8432))return this[_0x3d7ee5(0x408)][_0x3d7ee5(0xe7)](he,this['unitID'],this['type'],null,this[_0x3d7ee5(0x196)],this['_awaitingChangeset'],[],this[_0x3d7ee5(0x106)]);this[_0x3d7ee5(0x2e1)]();const _0x1844b1=this[_0x3d7ee5(0x408)][_0x3d7ee5(0xe7)](pe,this[_0x3d7ee5(0xaa)],this[_0x3d7ee5(0x105)],this['_pendingMutations'],this[_0x3d7ee5(0x106)]);return _0x1844b1[_0x3d7ee5(0x245)](),_0x1844b1[_0x3d7ee5(0x461)](),_0x1844b1;}[_0x50a7d0(0x395)](_0x2ce8d1){const _0x4c6100=_0x50a7d0;return this[_0x4c6100(0x498)](!!(_0x2ce8d1!=null&&_0x2ce8d1[_0x4c6100(0x260)]));}[_0x50a7d0(0x29b)](_0x5e48de){const _0x35a759=_0x50a7d0;return this[_0x35a759(0x212)]>Hi?this[_0x35a759(0x2b9)]():(this[_0x35a759(0x160)]=$i(this[_0x35a759(0x212)],{'timeout':this['_resendTimeout'],'reqId':_0x5e48de[_0x35a759(0x243)]}),this[_0x35a759(0x411)]=this['_resendTimer'][_0x35a759(0x479)](({reqId:_0x58d6b0,timeout:_0x3ac83d})=>{const _0x1745d8=_0x35a759;this[_0x1745d8(0x167)](_0x58d6b0,_0x3ac83d);}),this);}[_0x50a7d0(0x2b9)](){const _0x308bce=_0x50a7d0;return this['_clearScheduledTask'](),this[_0x308bce(0x408)][_0x308bce(0xe7)](ye,this[_0x308bce(0xaa)],this[_0x308bce(0x105)],this[_0x308bce(0x1aa)],this[_0x308bce(0x196)],this[_0x308bce(0x106)]);}[_0x50a7d0(0x30d)](){return this;}[_0x50a7d0(0x3d1)](){const _0x55836e=_0x50a7d0;this[_0x55836e(0x106)][_0x55836e(0x17a)](this[_0x55836e(0x1aa)]);}[_0x50a7d0(0x498)](_0x183992){const _0x30ea3b=_0x50a7d0;return this[_0x30ea3b(0x2c1)](),this[_0x30ea3b(0x408)][_0x30ea3b(0xe7)](Oe,this[_0x30ea3b(0xaa)],this['type'],null,this[_0x30ea3b(0x196)],this[_0x30ea3b(0x106)],_0x183992);}['_resendWithTimeout'](_0x219753,_0x44a01b){const _0x4aa2cb=_0x50a7d0;var _0xec7fe9;_0x219753===((_0xec7fe9=this[_0x4aa2cb(0x1aa)])==null?void 0x0:_0xec7fe9[_0x4aa2cb(0x243)])&&(this[_0x4aa2cb(0x3d1)](),this[_0x4aa2cb(0x212)]=_0x44a01b===0x0?0x3e8:_0x44a01b*0x2);}[_0x50a7d0(0x2c1)](){const _0x38c303=_0x50a7d0;var _0x2ee85b;(_0x2ee85b=this[_0x38c303(0x411)])==null||_0x2ee85b[_0x38c303(0x4b2)](),this['_resendTimeout']=0x0;}};ge=$e([A(0x6,_0x33026a(_0x17dae8)),A(0x7,_0x33026a(_0x50f245)),A(0x8,_0x33026a(q)),A(0x9,_0x2e05f8),A(0xa,_0x299b7a),A(0xb,_0x4af41b),A(0xc,_0x5b0e0d)],ge);let Oe=class extends He{constructor(_0x22ebe1,_0x3b4b95,_0x270593,_0x3ccc70,_0x58284c,_0x5695a8=!0x1,_0x3bd8fe,_0x2bc7fa,_0x408eea,_0x1cff89,_0x1252b1,_0x508c2b,_0x639674){const _0x320b2e=_0x50a7d0;super(_0x22ebe1,_0x3b4b95,_0x270593,_0x3ccc70,_0x58284c,_0x2bc7fa,_0x408eea,_0x1252b1,_0x1cff89),g(this,'status',_0x320b2e(0x312)),(this[_0x320b2e(0x33a)]=_0x5695a8,this[_0x320b2e(0x135)]=_0x3bd8fe,this['_localeService']=_0x508c2b,this[_0x320b2e(0x276)]=_0x639674,this['_showConflictNotification'](),this[_0x320b2e(0x36b)](),this[_0x320b2e(0x332)]());}[_0x50a7d0(0x442)](){return this;}[_0x50a7d0(0x13c)](){return this;}[_0x50a7d0(0x3e8)](){return this;}[_0x50a7d0(0x395)](){return this;}[_0x50a7d0(0x29b)](){return this;}[_0x50a7d0(0x2b9)](){return this;}[_0x50a7d0(0x30d)](){return this;}[_0x50a7d0(0x3d1)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){const _0x2f84e9=_0x50a7d0;this[_0x2f84e9(0x251)][_0x2f84e9(0x306)](this['unitID'],this['type'],null,[]);}[_0x50a7d0(0x34f)](){const _0x292e81=_0x50a7d0;this['_isPermissionRej']?this[_0x292e81(0x276)][_0x292e81(0x179)]({'title':this[_0x292e81(0x193)]['t'](_0x292e81(0xb8)),'content':this[_0x292e81(0x193)]['t'](_0x292e81(0x48d)),'type':_0x292e81(0x3a2),'duration':0x0}):this[_0x292e81(0x276)][_0x292e81(0x179)]({'title':this[_0x292e81(0x193)]['t'](_0x292e81(0x21c)),'content':this[_0x292e81(0x193)]['t'](_0x292e81(0x453)),'type':_0x292e81(0x3a2),'duration':0x0});}['_disableEditing'](){const _0x435150=_0x50a7d0;this['_permissionService'][_0x435150(0x142)](new _0x442ff4(this[_0x435150(0xaa)])['id'],!0x1);}};Oe=$e([A(0x6,_0x33026a(_0x20da8e)),A(0x7,_0x2e05f8),A(0x8,_0x5b0e0d),A(0x9,_0x33026a(q)),A(0xa,_0x33026a(_0x50f245)),A(0xb,_0x33026a(_0x21b13d)),A(0xc,_0x45333f)],Oe);let ye=class extends He{constructor(_0x586599,_0x150197,_0x40c39c,_0x3ccdb4,_0x3a2582,_0x25ea8e,_0x2b3da7,_0x1b773c,_0x2d3359,_0x323c82){const _0x1cf574=_0x50a7d0;super(_0x586599,_0x150197,_0x40c39c,_0x3ccdb4,_0x3a2582,_0x2d3359,_0x323c82,_0x2b3da7,_0x1b773c),g(this,_0x1cf574(0x295),'offline'),this['_injector']=_0x25ea8e;}[_0x50a7d0(0x442)](_0x2236a0){const _0xc4c981=_0x50a7d0;return this[_0xc4c981(0x196)]['push'](_0x2236a0),this['_updateLocalCache'](),this;}[_0x50a7d0(0x13c)](_0x4f8270){const _0x46e123=_0x50a7d0;throw new Error(_0x46e123(0x499));}['onRemoteAck'](){const _0x4331f1=_0x50a7d0;throw new Error(_0x4331f1(0x2c6));}[_0x50a7d0(0x395)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x50a7d0(0x29b)](){return this;}[_0x50a7d0(0x2b9)](){return this;}[_0x50a7d0(0x30d)](){const {_injector:_0x39152b,_pendingMutations:_0x37fc2d,_awaitingChangeset:_0xeedad8,unitID:_0xce18ff,_handler:_0x37710e,type:_0x615554}=this,_0x2528ee=ji(_0x39152b,_0xce18ff,_0x615554,_0xeedad8,_0x37fc2d,_0x37710e);return _0x2528ee instanceof pe?_0x2528ee['_schedule']():(_0x2528ee instanceof ge||_0x2528ee instanceof Re)&&_0x2528ee['resend'](),_0x2528ee;}[_0x50a7d0(0x3d1)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=$e([A(0x5,_0x33026a(_0x17dae8)),A(0x6,_0x33026a(_0x50f245)),A(0x7,_0x33026a(q)),A(0x8,_0x2e05f8),A(0x9,_0x5b0e0d)],ye);let he=class extends He{constructor(_0x5dff0a,_0x247064,_0x1292a8,_0x31c932,_0x3f95e2,_0xba962a,_0x5e7bd3,_0x233deb,_0x543ac5,_0x1ed990,_0x202b76,_0x106800,_0x25e3d9,_0x40b52e){const _0x3544a2=_0x50a7d0;super(_0x5dff0a,_0x247064,_0x1292a8,_0x31c932,_0x5e7bd3,_0x106800,_0x25e3d9,_0x543ac5,_0x1ed990),g(this,'status',_0x3544a2(0x401)),(this[_0x3544a2(0x267)]=_0x3f95e2,this[_0x3544a2(0x43e)]=_0xba962a,this['_injector']=_0x233deb,this[_0x3544a2(0x422)]=_0x202b76,this[_0x3544a2(0x494)]=_0x40b52e);}['onMissedChangesetFetched'](_0x53fb39){const _0x3d58e2=_0x50a7d0;try{const _0x1a85d7=[..._0x53fb39,...this['_queuedRemoteChangesets']],_0x45f766=[this[_0x3d58e2(0x1aa)]||this[_0x3d58e2(0x267)]][_0x3d58e2(0x4ba)](_0x1e7fc6=>!!_0x1e7fc6);let _0x1b6a0b,_0x3dbc18;if(_0x45f766[_0x3d58e2(0x1d0)]){const _0xbb209a=this['_transformService'][_0x3d58e2(0x100)](_0x1a85d7,_0x45f766,!0x1);if(!_0x22d91c(_0xbb209a))throw _0xbb209a[_0x3d58e2(0x3a2)];_0x1b6a0b=_0xbb209a[_0x3d58e2(0x345)],_0x3dbc18=_0xbb209a[_0x3d58e2(0xcd)];}else _0x1b6a0b=_0x1a85d7,_0x3dbc18=[];let _0x1742fb=this[_0x3d58e2(0x196)];_0x1b6a0b[_0x3d58e2(0x375)](_0xc99d9c=>{const _0x344d0a=_0x3d58e2;let _0x4ab201;if(_0x1742fb[_0x344d0a(0x1d0)]){const _0x1ba115=this[_0x344d0a(0x494)][_0x344d0a(0x31d)](_0xc99d9c,_0x1742fb);if(!_0x545fca(_0x1ba115))throw _0x1ba115[_0x344d0a(0x3a2)];_0x4ab201=_0x1ba115[_0x344d0a(0x345)],_0x1742fb=_0x1ba115[_0x344d0a(0x37e)];}else _0x4ab201=_0xc99d9c;this['_executeRemoteChangeset'](_0x4ab201);}),this[_0x3d58e2(0x267)]&&this[_0x3d58e2(0x2e1)](),this[_0x3d58e2(0x1aa)]&&_0x3dbc18['length']&&(_0x3dbc18[0x0][_0x3d58e2(0x170)]=this[_0x3d58e2(0x465)]());let _0x53540f;if(this[_0x3d58e2(0x1aa)]&&_0x1742fb[_0x3d58e2(0x1d0)]!==0x0)_0x53540f=this[_0x3d58e2(0x408)][_0x3d58e2(0xe7)](ge,this[_0x3d58e2(0xaa)],this[_0x3d58e2(0x105)],_0x3dbc18[0x0],_0x1742fb,this['_handler'],void 0x0);else{if(this[_0x3d58e2(0x1aa)]&&_0x1742fb[_0x3d58e2(0x1d0)]===0x0)_0x3dbc18[0x0]['baseRev']=this[_0x3d58e2(0x465)](),_0x53540f=this[_0x3d58e2(0x408)][_0x3d58e2(0xe7)](Re,this['unitID'],this[_0x3d58e2(0x105)],_0x3dbc18[0x0],this[_0x3d58e2(0x106)]);else{if(_0x1742fb[_0x3d58e2(0x1d0)]!==0x0){const _0x7538ac=this['_injector'][_0x3d58e2(0xe7)](pe,this[_0x3d58e2(0xaa)],this[_0x3d58e2(0x105)],_0x1742fb,this[_0x3d58e2(0x106)]);_0x7538ac[_0x3d58e2(0x245)](),_0x53540f=_0x7538ac;}else _0x53540f=this[_0x3d58e2(0x408)][_0x3d58e2(0xe7)](Fe,this[_0x3d58e2(0xaa)],this[_0x3d58e2(0x105)],this[_0x3d58e2(0x106)]);}}return _0x53540f[_0x3d58e2(0x461)](),_0x53540f;}catch(_0x50a9a8){return this['_logService'][_0x3d58e2(0x3a2)]('[FetchMissState]',_0x3d58e2(0xf4),_0x50a9a8),this[_0x3d58e2(0x408)]['createInstance'](Oe,this[_0x3d58e2(0xaa)],this[_0x3d58e2(0x105)],this[_0x3d58e2(0x1aa)],this['_pendingMutations'],this[_0x3d58e2(0x106)],!0x1);}}[_0x50a7d0(0x3d1)](){const _0x169d4a=_0x50a7d0;throw new Error(_0x169d4a(0xcf));}[_0x50a7d0(0x442)](_0x3f050c){const _0x4adbd9=_0x50a7d0;return this[_0x4adbd9(0x196)][_0x4adbd9(0xc6)](_0x3f050c),this;}[_0x50a7d0(0x13c)](_0x1bb189){const _0x2ba612=_0x50a7d0;return this[_0x2ba612(0x43e)][_0x2ba612(0xc6)](_0x1bb189),this;}['onRemoteAck'](_0x29bd24){const _0xe8f69=_0x50a7d0;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0xe8f69(0x1aa)],this[_0xe8f69(0x1aa)]=null,this;throw new Error(_0xe8f69(0x255));}[_0x50a7d0(0x395)](_0x29b485){const _0x2d3933=_0x50a7d0;return this[_0x2d3933(0x498)](!!(_0x29b485!=null&&_0x29b485[_0x2d3933(0x260)]));}['onRemoteRetry'](){return this;}[_0x50a7d0(0x2b9)](){const _0x4361c9=_0x50a7d0;return this['_injector']['createInstance'](ye,this[_0x4361c9(0xaa)],this[_0x4361c9(0x105)],this[_0x4361c9(0x1aa)],this[_0x4361c9(0x196)],this[_0x4361c9(0x106)]);}['toggleOnline'](){return this;}['_onConflict'](_0x29a01d){const _0x83ac06=_0x50a7d0;return this[_0x83ac06(0x408)][_0x83ac06(0xe7)](Oe,this[_0x83ac06(0xaa)],this[_0x83ac06(0x105)],this[_0x83ac06(0x1aa)],this[_0x83ac06(0x196)],this[_0x83ac06(0x106)],_0x29a01d);}};he=$e([A(0x7,_0x33026a(_0x17dae8)),A(0x8,_0x33026a(_0x50f245)),A(0x9,_0x33026a(q)),A(0xa,_0x299b7a),A(0xb,_0x2e05f8),A(0xc,_0x5b0e0d),A(0xd,_0x4af41b)],he);function ji(_0x4b25ed,_0x40a611,_0x2654f0,_0x2b9d91,_0x26e89c,_0x3676e2){const _0x26dba2=_0x50a7d0;return _0x2b9d91&&_0x26e89c['length']?_0x4b25ed[_0x26dba2(0xe7)](ge,_0x40a611,_0x2654f0,_0x2b9d91,_0x26e89c,_0x3676e2,void 0x0):_0x2b9d91?_0x4b25ed[_0x26dba2(0xe7)](Re,_0x40a611,_0x2654f0,_0x2b9d91,_0x3676e2):_0x26e89c['length']?_0x4b25ed[_0x26dba2(0xe7)](pe,_0x40a611,_0x2654f0,_0x26e89c,_0x3676e2):_0x4b25ed[_0x26dba2(0xe7)](Fe,_0x40a611,_0x2654f0,_0x3676e2);}var wo=Object[_0x50a7d0(0x15c)],Do=Object[_0x50a7d0(0x18b)],Rs=(_0x26a471,_0x3cfe1a,_0x34e43c,_0x5da298)=>{const _0x15b091=_0x50a7d0;for(var _0x346be7=_0x5da298>0x1?void 0x0:_0x5da298?Do(_0x3cfe1a,_0x34e43c):_0x3cfe1a,_0x5b100e=_0x26a471[_0x15b091(0x1d0)]-0x1,_0x153d31;_0x5b100e>=0x0;_0x5b100e--)(_0x153d31=_0x26a471[_0x5b100e])&&(_0x346be7=(_0x5da298?_0x153d31(_0x3cfe1a,_0x34e43c,_0x346be7):_0x153d31(_0x346be7))||_0x346be7);return _0x5da298&&_0x346be7&&wo(_0x3cfe1a,_0x34e43c,_0x346be7),_0x346be7;},H=(_0x588ee5,_0x502f9d)=>(_0x4bfbbd,_0x24972f)=>_0x502f9d(_0x4bfbbd,_0x24972f,_0x588ee5);let St=class extends _0x2983d9{constructor(_0x8469bd,_0x2d079e,_0x242c58,_0x32bd10,_0x4cbd23,_0xa69280,_0x303b7f,_0x3957e0,_0x38a85f,_0x5ac446,_0x4cefbe,_0x28694e,_0x296bc7){const _0x3eb1d4=_0x50a7d0;super(),g(this,_0x3eb1d4(0x134),new _0x22472b(null)),g(this,'state$',this[_0x3eb1d4(0x134)][_0x3eb1d4(0x1e8)]()),g(this,_0x3eb1d4(0xaf)),g(this,_0x3eb1d4(0x11d),!0x1),g(this,_0x3eb1d4(0x2dd),''),g(this,_0x3eb1d4(0x102),0x0),g(this,_0x3eb1d4(0x361),this['state$'][_0x3eb1d4(0x157)](_0x4aea5f(_0x12bb24=>_0x12bb24?_0x12bb24['status']:J['OFFLINE']),_0x58d478(0x1))),g(this,_0x3eb1d4(0x41c),!0x1),g(this,_0x3eb1d4(0x174),[]),(this[_0x3eb1d4(0xaa)]=_0x8469bd,this[_0x3eb1d4(0xd5)]=_0x2d079e,this[_0x3eb1d4(0x46e)]=_0x242c58,this[_0x3eb1d4(0x408)]=_0x32bd10,this['_localCacheService']=_0x4cbd23,this[_0x3eb1d4(0x47a)]=_0xa69280,this[_0x3eb1d4(0x193)]=_0x303b7f,this[_0x3eb1d4(0x383)]=_0x3957e0,this[_0x3eb1d4(0x422)]=_0x38a85f,this[_0x3eb1d4(0x293)]=_0x5ac446,this[_0x3eb1d4(0xdf)]=_0x4cefbe,this[_0x3eb1d4(0x135)]=_0x28694e,this[_0x3eb1d4(0x3f8)]=_0x296bc7);}get[_0x50a7d0(0x3bd)](){const _0x4b6bbd=_0x50a7d0;return this[_0x4b6bbd(0xaf)];}async[_0x50a7d0(0x237)](){const _0x1e351c=_0x50a7d0;if(this[_0x1e351c(0x3bd)])throw new Error(_0x1e351c(0x396));await this[_0x1e351c(0x1a9)]();}[_0x50a7d0(0x34a)](){const _0x2ab81f=_0x50a7d0;return this[_0x2ab81f(0x11d)]=!0x0,_0xd370ea(()=>{const _0x39e103=_0x2ab81f;this[_0x39e103(0x11d)]=!0x1,this[_0x39e103(0x2da)]();});}[_0x50a7d0(0x44b)](_0x28642f){const _0x10d2b8=_0x50a7d0;this[_0x10d2b8(0xaf)]=_0x28642f,this['_state$']['next'](_0x28642f);}async[_0x50a7d0(0x1a9)](){const _0x9bbd0c=_0x50a7d0;var _0x1c297a;this[_0x9bbd0c(0x44b)](await this['_createInitialState']()),this[_0x9bbd0c(0x3f8)]&&((_0x1c297a=this[_0x9bbd0c(0x3f8)])==null||_0x1c297a[_0x9bbd0c(0x20a)](this[_0x9bbd0c(0xaa)]),this[_0x9bbd0c(0x450)](this[_0x9bbd0c(0x3f8)][_0x9bbd0c(0x2c5)](this[_0x9bbd0c(0xaa)])[_0x9bbd0c(0x479)](_0x1260ca=>{const _0x286e89=_0x9bbd0c;this[_0x286e89(0x422)][_0x286e89(0x165)](_0x286e89(0x296),_0x286e89(0x473),_0x1260ca),_0x1260ca===xi[_0x286e89(0xe4)]?(this[_0x286e89(0xdf)][_0x286e89(0x179)]({'content':this[_0x286e89(0x193)]['t'](_0x286e89(0xc5)),'type':_0x4eaed3[_0x286e89(0x4c9)]}),this[_0x286e89(0x135)][_0x286e89(0x142)](new _0x442ff4(this['unitID'])['id'],!0x1),this[_0x286e89(0x135)][_0x286e89(0x44d)](!0x1)):(this[_0x286e89(0x135)][_0x286e89(0x142)](new _0x442ff4(this[_0x286e89(0xaa)])['id'],!0x0),this['_permissionService'][_0x286e89(0x44d)](!0x0));})));let _0x32c114=!0x1;return this[_0x9bbd0c(0x450)](this[_0x9bbd0c(0xd5)][_0x9bbd0c(0x294)][_0x9bbd0c(0x479)](_0x34cca6=>{const _0x3d459e=_0x9bbd0c;_0x34cca6===ve[_0x3d459e(0x156)]?this[_0x3d459e(0x1f6)](_0x32c114):_0x34cca6===ve[_0x3d459e(0x4a2)]&&(_0x32c114=!0x0,this[_0x3d459e(0x1a0)]());})),this['disposeWithMe'](this[_0x9bbd0c(0xd5)]['event$']['subscribe'](_0xc11fff=>{const _0x3e9221=_0x9bbd0c;try{switch(_0xc11fff[_0x3e9221(0x424)]){case _0x26d642['NEW_CHANGESETS']:{this[_0x3e9221(0x25d)](_0x1785c0(_0xc11fff[_0x3e9221(0x274)]));break;}case _0x26d642['CHANGESET_ACK']:{this[_0x3e9221(0x2c7)](_0xc11fff[_0x3e9221(0x274)]);break;}case _0x26d642[_0x3e9221(0xb1)]:{this[_0x3e9221(0x2a0)]();break;}case _0x26d642[_0x3e9221(0x354)]:{this[_0x3e9221(0x219)](_0xc11fff[_0x3e9221(0x274)]);break;}case _0x26d642[_0x3e9221(0xec)]:{this[_0x3e9221(0x3eb)](_0xc11fff[_0x3e9221(0x274)][_0x3e9221(0xfa)][_0x3e9221(0x360)](_0xa927c=>_0x1785c0(_0xa927c)));break;}case _0x26d642['PERMISSION_REJ']:this[_0x3e9221(0x2a0)]({'isPermissionRej':!0x0});}}catch(_0x310bc0){throw console[_0x3e9221(0x3a2)](_0x3e9221(0x1b8),_0x310bc0),_0x310bc0;}})),this[_0x9bbd0c(0xaf)];}[_0x50a7d0(0x316)](){const _0x2316c0=_0x50a7d0;this[_0x2316c0(0x41c)]=!0x1;}[_0x50a7d0(0x2e7)](){const _0x519ba3=_0x50a7d0;if(this[_0x519ba3(0x41c)])throw new Error(_0x519ba3(0xee));this['_transitionLocked']=!0x0;}[_0x50a7d0(0x2fd)](_0x3a8cd8){const _0x17e23d=_0x50a7d0;this[_0x17e23d(0x2e7)](),this[_0x17e23d(0x44b)](this[_0x17e23d(0xaf)][_0x17e23d(0x442)](_0x3a8cd8)),this[_0x17e23d(0x316)]();}[_0x50a7d0(0x25d)](_0x33ffdf){const _0x34f1dd=_0x50a7d0;if(!(_0x33ffdf['revision']<=this[_0x34f1dd(0x383)][_0x34f1dd(0x4cf)](this[_0x34f1dd(0xaa)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x34f1dd(0xc6)](_0x33ffdf);return;}this[_0x34f1dd(0x4bf)](_0x33ffdf);}}[_0x50a7d0(0x2da)](){const _0x371d5e=_0x50a7d0;this[_0x371d5e(0x174)][_0x371d5e(0x375)](_0x1aeed8=>this[_0x371d5e(0x4bf)](_0x1aeed8)),this['_remoteChangesetQueue']=[];}[_0x50a7d0(0x4bf)](_0x72abd2){const _0x2fd264=_0x50a7d0,_0x1c0c00=this['_compressMutationService'][_0x2fd264(0x482)]['fetchThroughInterceptors'](this[_0x2fd264(0x47a)][_0x2fd264(0x482)][_0x2fd264(0x27a)]()[_0x2fd264(0x3d2)])(_0x72abd2['mutations'],null)||_0x72abd2[_0x2fd264(0x182)],_0x59f1b1={..._0x72abd2,'mutations':_0x1c0c00};this[_0x2fd264(0x2e7)](),this[_0x2fd264(0x44b)](this['_state'][_0x2fd264(0x13c)](_0x59f1b1)),this[_0x2fd264(0x316)]();}[_0x50a7d0(0x2c7)](_0x3b0cb5){const _0x3deed7=_0x50a7d0;this[_0x3deed7(0x2e7)](),this['_updateState'](this[_0x3deed7(0xaf)]['onRemoteAck'](_0x3b0cb5)),this[_0x3deed7(0x316)]();}[_0x50a7d0(0x2a0)](_0x3b6e41){const _0x258d95=_0x50a7d0;this[_0x258d95(0x2e7)](),this['_updateState'](this[_0x258d95(0xaf)]['onRemoteRej'](_0x3b6e41)),this[_0x258d95(0x316)]();}[_0x50a7d0(0x219)](_0x425fdb){const _0x4b357b=_0x50a7d0;this['_lockTransition'](),this[_0x4b357b(0x44b)](this['_state'][_0x4b357b(0x29b)](_0x425fdb)),this[_0x4b357b(0x316)]();}[_0x50a7d0(0x3eb)](_0x3529db){const _0xa6b5bb=_0x50a7d0;if(!(this[_0xa6b5bb(0xaf)]instanceof he))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x4694d1=_0x3529db['map'](_0x162486=>{const _0x57b0f2=_0xa6b5bb,_0x2f9333=this[_0x57b0f2(0x47a)][_0x57b0f2(0x482)][_0x57b0f2(0xf1)](this[_0x57b0f2(0x47a)][_0x57b0f2(0x482)][_0x57b0f2(0x27a)]()[_0x57b0f2(0x3d2)])(_0x162486['mutations'],null)||_0x162486[_0x57b0f2(0x182)];return{..._0x162486,'mutations':_0x2f9333};});this['_lockTransition'](),this[_0xa6b5bb(0x44b)](this[_0xa6b5bb(0xaf)]['onMissedChangesetFetched'](_0x4694d1)),this[_0xa6b5bb(0x316)]();}[_0x50a7d0(0x1a0)](){const _0x360636=_0x50a7d0;this['_lockTransition'](),this[_0x360636(0x44b)](this[_0x360636(0xaf)][_0x360636(0x2b9)]()),this[_0x360636(0x316)]();}[_0x50a7d0(0x1f6)](_0x12d4b1=!0x1){const _0x2a2db8=_0x50a7d0;this[_0x2a2db8(0x2e7)](),this[_0x2a2db8(0x44b)](this[_0x2a2db8(0xaf)][_0x2a2db8(0x30d)]()),this[_0x2a2db8(0x316)]();const _0x348745=this['_state'];_0x12d4b1&&_0x348745 instanceof Fe&&(this['_lockTransition'](),this[_0x2a2db8(0x44b)](_0x348745[_0x2a2db8(0x1b2)]()),this[_0x2a2db8(0x316)]());}async['_createInitialState'](){return new Promise(_0x1e8f87=>{const _0x440a44=_0xc944;this['session'][_0x440a44(0x294)]['pipe'](_0x5cbb3a(0x1))[_0x440a44(0x479)](async _0x29da96=>{const _0x1f61f8=_0x440a44;_0x1e8f87(await this[_0x1f61f8(0x180)](_0x29da96===ve[_0x1f61f8(0x156)]));});});}[_0x50a7d0(0x455)](){const _0x4ba68c=_0x50a7d0,_0x15a718=this[_0x4ba68c(0xaa)];return{'onStateChange':(_0x204d44,_0x193076)=>{const _0x338378=_0x4ba68c;if(_0x204d44!==this['_state'])throw new Error(_0x338378(0x29a)+_0x204d44[_0x338378(0x295)]+'\x0aAfter:\x20'+_0x193076[_0x338378(0x295)]+_0x338378(0x2de)+this[_0x338378(0xaf)]['status']);this[_0x338378(0x44b)](_0x193076);},'onSendChangeset':_0x837e72=>{const _0x4acc72=_0x4ba68c;_0x837e72['sid']||(_0x837e72['sid']=this[_0x4acc72(0x2dd)],_0x837e72[_0x4acc72(0x243)]=++this['_changesetReqId']);const _0x133913={'eventID':_0x26d642['SUBMIT_CHANGESET'],'data':{'unitID':_0x837e72['unitID'],'unitType':this['_type'],'changeset':_0x837e72,'memberID':this['session'][_0x4acc72(0x347)]()}};this['session'][_0x4acc72(0x23c)](_0x133913,this[_0x4acc72(0xaa)]);},'onMissingChangesets':({from:_0x39980c,to:_0xe3df18})=>{const _0x35c90e=_0x4ba68c;this[_0x35c90e(0x422)][_0x35c90e(0x165)](_0x35c90e(0x296),_0x35c90e(0xdc)+_0x39980c+_0x35c90e(0x3f2)+_0xe3df18);const _0x1b91c1={'eventID':_0x26d642['FETCH_MISSING'],'data':{'unitID':_0x15a718,'unitType':this[_0x35c90e(0x46e)],'from':_0x39980c,'to':_0xe3df18}};this[_0x35c90e(0xd5)][_0x35c90e(0x23c)](_0x1b91c1,this[_0x35c90e(0xaa)]);}};}async['_createInitialStateImpl'](_0x1a742c){const _0x3be2df=_0x50a7d0;var _0x16c238,_0x4a598b;const _0x1e69d1=await this['_localCacheService'][_0x3be2df(0x342)](this[_0x3be2df(0xaa)]),_0x50765b=(_0x16c238=_0x1e69d1==null?void 0x0:_0x1e69d1[_0x3be2df(0x182)])!=null?_0x16c238:[],_0x5aa305=(_0x4a598b=_0x1e69d1==null?void 0x0:_0x1e69d1[_0x3be2df(0x16a)])!=null?_0x4a598b:null,_0x493a88=!!(_0x5aa305!=null&&_0x5aa305[_0x3be2df(0x291)])&&!!(_0x5aa305!=null&&_0x5aa305[_0x3be2df(0x243)]);this[_0x3be2df(0x2dd)]=_0x493a88?_0x5aa305['sid']:io(),this[_0x3be2df(0x102)]=_0x493a88?_0x5aa305['reqId']:0x0;const _0x1d5378=this[_0x3be2df(0xaa)];try{this[_0x3be2df(0x487)](_0x5aa305,_0x50765b);}catch(_0x15c796){this['_logService'][_0x3be2df(0x3a2)](_0x15c796);}const _0x3515e9=this['_createHandler']();if(_0x1a742c){const _0x15fac6=ji(this[_0x3be2df(0x408)],_0x1d5378,this[_0x3be2df(0x46e)],_0x5aa305,_0x50765b,_0x3515e9);return _0x15fac6 instanceof pe?_0x15fac6['_schedule']():(_0x15fac6 instanceof ge||_0x15fac6 instanceof Re)&&_0x15fac6[_0x3be2df(0x3d1)](),_0x15fac6;}return this[_0x3be2df(0x408)][_0x3be2df(0xe7)](ye,_0x1d5378,this[_0x3be2df(0x46e)],_0x5aa305,_0x50765b,_0x3515e9);}[_0x50a7d0(0x487)](_0x21a914,_0x4a45e4){const _0x210cbf=_0x50a7d0;var _0x5f57cb,_0x35f88d;const _0x81016c=this[_0x210cbf(0x47a)][_0x210cbf(0x482)][_0x210cbf(0xf1)](this[_0x210cbf(0x47a)][_0x210cbf(0x482)][_0x210cbf(0x27a)]()[_0x210cbf(0x3d2)]);(_0x5f57cb=_0x81016c((_0x21a914==null?void 0x0:_0x21a914[_0x210cbf(0x182)])||[],null))==null||_0x5f57cb[_0x210cbf(0x375)](_0x4be2c8=>this[_0x210cbf(0x293)][_0x210cbf(0x368)](_0x4be2c8['id'],_0x4be2c8['params'])),(_0x35f88d=_0x81016c(_0x4a45e4||[],null))==null||_0x35f88d[_0x210cbf(0x375)](_0x4cf341=>this[_0x210cbf(0x293)]['executeCommand'](_0x4cf341['id'],_0x4cf341[_0x210cbf(0x4a8)]));}};St=Rs([H(0x3,_0x33026a(_0x17dae8)),H(0x4,_0x33026a(q)),H(0x5,_0x33026a(_0x11828c)),H(0x6,_0x33026a(_0x21b13d)),H(0x7,_0x33026a(_0x50f245)),H(0x8,_0x299b7a),H(0x9,_0x2e05f8),H(0xa,_0xa8b33d),H(0xb,_0x20da8e),H(0xc,_0x380b11(yt))],St);let rs=class extends St{constructor(_0x254533,_0x30124d,_0x37458e,_0x10a673,_0x482c0d,_0x1e634b,_0x535522,_0x56e6b7,_0x1e5935,_0x58f91e,_0x5dbc75,_0xd793c8,_0x46f9e8,_0x2822d0,_0x33cb83,_0x1446e0,_0x1ae22d,_0x17b1ec){const _0xf200c1=_0x50a7d0;super(_0x254533,_0x37458e,_0x30124d,_0x10a673,_0x482c0d,_0x1e634b,_0x535522,_0x56e6b7,_0x2822d0,_0x33cb83,_0x1446e0,_0x1ae22d,_0x17b1ec),this[_0xf200c1(0xaa)]=_0x254533,this[_0xf200c1(0x105)]=_0x30124d,this[_0xf200c1(0x321)]=_0x1e5935,this['_docTransformIMECacheService']=_0x58f91e,this[_0xf200c1(0x431)]=_0x5dbc75,this[_0xf200c1(0x4c3)]=_0xd793c8,this[_0xf200c1(0xd4)]=_0x46f9e8;}[_0x50a7d0(0x455)](){const _0x3fdf9c=_0x50a7d0,_0x15b82a=super[_0x3fdf9c(0x455)]();return _0x15b82a['onTransformIME']=_0x3d88fc=>this['_docTransformIMECacheService']['transformIMECache'](_0x3d88fc),_0x15b82a[_0x3fdf9c(0xc0)]=_0x2d100e=>this[_0x3fdf9c(0x431)]['transformStateCache'](_0x2d100e),_0x15b82a[_0x3fdf9c(0x233)]=_0x1993cf=>this['_docTransformSelectionsService'][_0x3fdf9c(0x470)](_0x1993cf),_0x15b82a[_0x3fdf9c(0x16f)]=_0x282cdd=>this[_0x3fdf9c(0xd4)][_0x3fdf9c(0x4aa)](_0x282cdd),_0x15b82a[_0x3fdf9c(0x14a)]=_0x2cd8d1=>this[_0x3fdf9c(0x27f)]['transformRemoteChangeset'](_0x2cd8d1),_0x15b82a[_0x3fdf9c(0xdd)]=_0x3ee88c=>this['_docTransformStateCacheService'][_0x3fdf9c(0x3e5)](_0x3ee88c),_0x15b82a;}async[_0x50a7d0(0x1a9)](){const _0x1a13f2=_0x50a7d0,_0x5e1df9=await super[_0x1a13f2(0x1a9)]();return this[_0x1a13f2(0x450)](this[_0x1a13f2(0x321)][_0x1a13f2(0x231)]['pipe'](_0x2b44f7(this[_0x1a13f2(0x42e)]))[_0x1a13f2(0x479)](_0x18d33b=>{const _0x9b1ded=_0x1a13f2;if(_0x18d33b==null)return;const {unitId:_0xae8e37,redoState:_0x238f76,commandId:_0x2dd6c2}=_0x18d33b;if(_0xae8e37!==this[_0x9b1ded(0xaa)])return;const _0x1cb5f6={'id':_0x2dd6c2,'type':_0x30659a[_0x9b1ded(0x41f)],'params':{'unitId':_0xae8e37,'actions':_0x238f76[_0x9b1ded(0x433)],'textRanges':null}};this[_0x9b1ded(0x2fd)](_0x1cb5f6);})),this['disposeWithMe'](this[_0x1a13f2(0x293)][_0x1a13f2(0x2c8)]((_0x90b0cc,_0x2cd501)=>{const _0x3a2218=_0x1a13f2;if(_0x90b0cc['type']!==_0x30659a[_0x3a2218(0x41f)]||_0x2cd501!=null&&_0x2cd501[_0x3a2218(0x336)]||_0x2cd501!=null&&_0x2cd501[_0x3a2218(0x1ad)]||_0x90b0cc['id']===_0x5e3fd9['id'])return;const _0x1e9403=_0x90b0cc[_0x3a2218(0x4a8)];if((_0x1e9403==null?void 0x0:_0x1e9403['unitId'])!==this['unitID'])return;const _0x5c1e02=_0x90b0cc,_0x531b51=this[_0x3a2218(0x47a)][_0x3a2218(0x482)][_0x3a2218(0xf1)](this[_0x3a2218(0x47a)][_0x3a2218(0x482)]['getInterceptPoints']()[_0x3a2218(0x25c)])([_0x5c1e02],null)||[_0x5c1e02];this[_0x3a2218(0x2fd)](_0x531b51[0x0]);})),_0x5e1df9;}};rs=Rs([H(0x3,_0x33026a(_0x17dae8)),H(0x4,_0x33026a(q)),H(0x5,_0x33026a(_0x11828c)),H(0x6,_0x33026a(_0x21b13d)),H(0x7,_0x33026a(_0x50f245)),H(0x8,_0x33026a(_0x4ac2d0)),H(0x9,_0x33026a(vt)),H(0xa,_0x33026a(pt)),H(0xb,_0x33026a(gt)),H(0xc,_0x33026a(Ts)),H(0xd,_0x299b7a),H(0xe,_0x2e05f8),H(0xf,_0xa8b33d),H(0x10,_0x20da8e),H(0x11,_0x380b11(yt))],rs);let ns=class extends St{constructor(_0x2e6ab2,_0x2ecd73,_0x27c188,_0x1edb3f,_0x44f931,_0x5afbaf,_0x31f2c0,_0x3a9641,_0x29d86d,_0x52ef0e,_0x5a3e1a,_0x5d4248,_0xbb3925,_0x5d7dfb){const _0x2fd650=_0x50a7d0;super(_0x2e6ab2,_0x27c188,_0x2ecd73,_0x1edb3f,_0x44f931,_0x5afbaf,_0x31f2c0,_0x3a9641,_0x52ef0e,_0x5a3e1a,_0x5d4248,_0xbb3925,_0x5d7dfb),this[_0x2fd650(0xaa)]=_0x2e6ab2,this[_0x2fd650(0x105)]=_0x2ecd73,this['_sheetTransformSelectionsService']=_0x29d86d;}[_0x50a7d0(0x455)](){const _0x36f63a=_0x50a7d0,_0x84068f=super[_0x36f63a(0x455)]();return _0x84068f[_0x36f63a(0x233)]=_0x588635=>this['_sheetTransformSelectionsService'][_0x36f63a(0x470)](_0x588635),_0x84068f;}async[_0x50a7d0(0x1a9)](){const _0x35b6c1=_0x50a7d0,_0x2df28c=await super[_0x35b6c1(0x1a9)]();return this[_0x35b6c1(0x450)](this['_commandService']['onCommandExecuted']((_0x57aa7f,_0xe82c97)=>{const _0x47be35=_0x35b6c1;if(_0x57aa7f[_0x47be35(0x105)]!==_0x30659a['MUTATION']||_0xe82c97!=null&&_0xe82c97[_0x47be35(0x336)]||_0xe82c97!=null&&_0xe82c97['onlyLocal'])return;const _0xaf1d6e=_0x57aa7f[_0x47be35(0x4a8)];if((_0xaf1d6e==null?void 0x0:_0xaf1d6e[_0x47be35(0x258)])!==this['unitID'])return;const _0x447c20=_0x57aa7f,_0x12ca19=this[_0x47be35(0x47a)][_0x47be35(0x482)]['fetchThroughInterceptors'](this[_0x47be35(0x47a)][_0x47be35(0x482)][_0x47be35(0x27a)]()[_0x47be35(0x25c)])([_0x447c20],null)||[_0x447c20];this[_0x47be35(0x2fd)](_0x12ca19[0x0]);})),_0x2df28c;}};ns=Rs([H(0x3,_0x33026a(_0x17dae8)),H(0x4,_0x33026a(q)),H(0x5,_0x33026a(_0x11828c)),H(0x6,_0x33026a(_0x21b13d)),H(0x7,_0x33026a(_0x50f245)),H(0x8,_0x33026a(mt)),H(0x9,_0x299b7a),H(0xa,_0x2e05f8),H(0xb,_0xa8b33d),H(0xc,_0x20da8e),H(0xd,_0x380b11(yt))],ns);var Po=Object[_0x50a7d0(0x15c)],Uo=Object[_0x50a7d0(0x18b)],No=(_0x4b09f1,_0x20cbef,_0x5e3e66,_0x47d512)=>{for(var _0x10c1b2=_0x47d512>0x1?void 0x0:_0x47d512?Uo(_0x20cbef,_0x5e3e66):_0x20cbef,_0x168b46=_0x4b09f1['length']-0x1,_0xd90142;_0x168b46>=0x0;_0x168b46--)(_0xd90142=_0x4b09f1[_0x168b46])&&(_0x10c1b2=(_0x47d512?_0xd90142(_0x20cbef,_0x5e3e66,_0x10c1b2):_0xd90142(_0x10c1b2))||_0x10c1b2);return _0x47d512&&_0x10c1b2&&Po(_0x20cbef,_0x5e3e66,_0x10c1b2),_0x10c1b2;},Ht=(_0x569716,_0x5d0992)=>(_0x44a43c,_0x265e3a)=>_0x5d0992(_0x44a43c,_0x265e3a,_0x569716);let it=class extends _0x2983d9{constructor(_0x4e01f5,_0x2022be,_0x5d8cf8){const _0x5d61a0=_0x50a7d0;super(),g(this,_0x5d61a0(0x27e),new Map()),g(this,_0x5d61a0(0x178),new _0x5b148b()),(this[_0x5d61a0(0x408)]=_0x4e01f5,this[_0x5d61a0(0x10a)]=_0x2022be,this['_univerInstanceService']=_0x5d8cf8,this[_0x5d61a0(0x1a9)]());}[_0x50a7d0(0x45c)](){const _0xd9d0c9=_0x50a7d0;super[_0xd9d0c9(0x45c)](),this['_entities']['forEach'](_0x80ab8b=>_0x80ab8b[_0xd9d0c9(0x45c)]()),this['_entities'][_0xd9d0c9(0x21f)]();}[_0x50a7d0(0x447)](_0x19d76b){const _0xcc9364=_0x50a7d0;var _0x81a7d9;return(_0x81a7d9=this[_0xcc9364(0x27e)]['get'](_0x19d76b))!=null?_0x81a7d9:null;}[_0x50a7d0(0x29e)](_0x26d0dd){const _0x273b73=_0x50a7d0,_0x556dc6=this[_0x273b73(0x447)](_0x26d0dd);return _0x556dc6?_0x40848f(_0x556dc6):this[_0x273b73(0x178)][_0x273b73(0x157)](_0x7d8aef(_0xdceed=>_0xdceed[_0x273b73(0xaa)]===_0x26d0dd));}[_0x50a7d0(0x1a9)](){const _0x393c4b=_0x50a7d0;this[_0x393c4b(0x283)][_0x393c4b(0x162)](_0x40c566[_0x393c4b(0x331)])[_0x393c4b(0x157)](_0x2b44f7(this[_0x393c4b(0x42e)]),_0x1b5247(0x10))['subscribe'](async _0x21ade9=>{const _0x4dc474=_0x393c4b,_0x468ef8=_0x21ade9[_0x4dc474(0x14f)](),_0x277530=await this[_0x4dc474(0x39f)](_0x468ef8,ce[_0x4dc474(0x331)]);this[_0x4dc474(0x27e)]['set'](_0x468ef8,_0x277530);}),this['_univerInstanceService'][_0x393c4b(0x162)](_0x40c566['UNIVER_DOC'])[_0x393c4b(0x157)](_0x2b44f7(this[_0x393c4b(0x42e)]),_0x1b5247(0x10))[_0x393c4b(0x157)](_0x7d8aef(_0x2ca681=>!_0x2ca681[_0x393c4b(0x14f)]()[_0x393c4b(0x115)]('__')))[_0x393c4b(0x479)](async _0x5d81d7=>{const _0x223e84=_0x393c4b,_0x47545b=_0x5d81d7['getUnitId'](),_0x2e71dd=await this['_startCollaboration'](_0x47545b,ce[_0x223e84(0x26b)]);this[_0x223e84(0x27e)][_0x223e84(0x2ce)](_0x47545b,_0x2e71dd);}),_0x4a9003(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x40c566[_0x393c4b(0x331)]),this[_0x393c4b(0x283)][_0x393c4b(0x42a)](_0x40c566['UNIVER_DOC']))['pipe'](_0x2b44f7(this[_0x393c4b(0x42e)]))['subscribe'](_0x195e1b=>{const _0x5793f5=_0x393c4b,_0x563290=_0x195e1b[_0x5793f5(0x14f)](),_0x9d50c6=this[_0x5793f5(0x27e)][_0x5793f5(0x373)](_0x563290);_0x9d50c6&&(_0x9d50c6[_0x5793f5(0x45c)](),this[_0x5793f5(0x27e)][_0x5793f5(0x18d)](_0x563290));});}async[_0x50a7d0(0x39f)](_0x5a320e,_0x3b4be2){const _0xc5e915=_0x50a7d0,_0x20ddc1=await this[_0xc5e915(0x10a)][_0xc5e915(0x30a)](_0x5a320e),_0x25fb0b=this[_0xc5e915(0x408)]['createInstance'](this[_0xc5e915(0x364)](_0x3b4be2),_0x5a320e,_0x3b4be2,_0x20ddc1);return await _0x25fb0b[_0xc5e915(0x237)](),this[_0xc5e915(0x178)][_0xc5e915(0x492)](_0x25fb0b),_0x25fb0b;}['_getCtorByUniverType'](_0x4beb8f){const _0x2e6e4e=_0x50a7d0;switch(_0x4beb8f){case ce[_0x2e6e4e(0x26b)]:return rs;case ce['UNIVER_SHEET']:return ns;default:throw new Error(_0x2e6e4e(0x3fa)+_0x4beb8f);}}};it=No([Ht(0x0,_0x33026a(_0x17dae8)),Ht(0x1,_0x33026a(xe)),Ht(0x2,_0x28b990)],it);var Ao=Object[_0x50a7d0(0x15c)],Mo=Object['getOwnPropertyDescriptor'],xo=(_0xcb5dea,_0x494261,_0x155330,_0x86f6fa)=>{const _0x58b952=_0x50a7d0;for(var _0x32c8de=_0x86f6fa>0x1?void 0x0:_0x86f6fa?Mo(_0x494261,_0x155330):_0x494261,_0x47aa51=_0xcb5dea[_0x58b952(0x1d0)]-0x1,_0x49a07c;_0x47aa51>=0x0;_0x47aa51--)(_0x49a07c=_0xcb5dea[_0x47aa51])&&(_0x32c8de=(_0x86f6fa?_0x49a07c(_0x494261,_0x155330,_0x32c8de):_0x49a07c(_0x32c8de))||_0x32c8de);return _0x86f6fa&&_0x32c8de&&Ao(_0x494261,_0x155330,_0x32c8de),_0x32c8de;},qs=(_0x51df45,_0xcbe758)=>(_0x43e52e,_0x2f857f)=>_0xcbe758(_0x43e52e,_0x2f857f,_0x51df45);let It=class extends _0x2983d9{constructor(_0x5716a5,_0x494493){const _0x47b2cd=_0x50a7d0;super(),this['_docClipboardService']=_0x5716a5,this[_0x47b2cd(0x3b6)]=_0x494493,this['_init']();}[_0x50a7d0(0x1a9)](){const _0x11f90a=_0x50a7d0,_0x2a41ba=this;this['disposeWithMe'](this['_docClipboardService'][_0x11f90a(0x275)]({'onBeforePasteImage':async _0x44766b=>{const _0x356eec=_0x11f90a,_0x49bd2a=await _0x2a41ba['_imageIoService'][_0x356eec(0x4b7)](_0x44766b);return _0x49bd2a?{'source':_0x49bd2a[_0x356eec(0x290)],'imageSourceType':_0x49bd2a[_0x356eec(0x49d)]}:null;}}));}};It=xo([qs(0x0,_0x3b4ce9),qs(0x1,_0x4a51fd)],It);const Xs=[_0x50a7d0(0x2c2),_0x50a7d0(0x330),_0x50a7d0(0x481),_0x50a7d0(0x437),_0x50a7d0(0x2f8),_0x50a7d0(0x20b)];class Os extends _0x514939{constructor(){const _0x531191=_0x50a7d0;super(...arguments),g(this,_0x531191(0x1b3),new Map()),g(this,'_colorIndex',0x0);}[_0x50a7d0(0x17e)](_0x21f09b){const _0x29b6ff=_0x50a7d0;if(this[_0x29b6ff(0x1b3)]['has'](_0x21f09b))return this[_0x29b6ff(0x1b3)][_0x29b6ff(0x373)](_0x21f09b);const _0x13f025=Xs[this[_0x29b6ff(0x318)]];return this[_0x29b6ff(0x318)]=(this[_0x29b6ff(0x318)]+0x1)%Xs[_0x29b6ff(0x1d0)],this[_0x29b6ff(0x1b3)]['set'](_0x21f09b,_0x13f025),_0x13f025;}}var Lo=Object['defineProperty'],$o=Object[_0x50a7d0(0x18b)],Ho=(_0x4e6cb6,_0x2969e1,_0x20d13b,_0x522ddd)=>{const _0x55fa41=_0x50a7d0;for(var _0x5a825b=_0x522ddd>0x1?void 0x0:_0x522ddd?$o(_0x2969e1,_0x20d13b):_0x2969e1,_0x4c8866=_0x4e6cb6[_0x55fa41(0x1d0)]-0x1,_0x15cf01;_0x4c8866>=0x0;_0x4c8866--)(_0x15cf01=_0x4e6cb6[_0x4c8866])&&(_0x5a825b=(_0x522ddd?_0x15cf01(_0x2969e1,_0x20d13b,_0x5a825b):_0x15cf01(_0x5a825b))||_0x5a825b);return _0x522ddd&&_0x5a825b&&Lo(_0x2969e1,_0x20d13b,_0x5a825b),_0x5a825b;},De=(_0x4d792e,_0x4d026e)=>(_0x32573c,_0x423e0e)=>_0x4d026e(_0x32573c,_0x423e0e,_0x4d792e);const jo=0x12c,Bo=0x64;function _0x1283(){const _0x86e0ba=['joinEvent','collaboratorID','_anchorDot','getRenderById','_selfUnitIDs','top','collaboration.closeRoom','salt','_getUploadFileURL','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','PERMISSION_REJ','jiqing500','UNIVER_SHEET','_disableEditing','_createHmacHelper','_urlService','apply','fromCollab','assign','_drawRectRange','Cipher','_isPermissionRej','pushState','/object','roomMembers','setUndoRedoMutationParamsCache','univerjs-icon\x20univerjs-icon-','attrs','_onCombEvent','loadOfflineData','Could\x20not\x20dynamically\x20require\x20\x22','_transformIMECache','c1Prime','getUnit','getMemberID','USERS_LEAVE','getUnitOnRev','pauseCollaboration','__Key__','getMember','round','enableOfflineEditing','_showConflictNotification','/universer-api/file/{fileID}/sign-url','ref','_HTTPService','compose','CHANGESET_SHOULD_RETRY','APPLY_DUPLICATED','UNRECOGNIZED','RECT','deleteCollaborator','byteOffset','row','INGEST','csRejEvent','_memberService','_collaborationSessionService','enableSingleActiveInstanceLock','map','status$','_getScale','finalize','_getCtorByUniverType','some','add','setTimeout','executeCommand','_process','InsertRangeMoveRightCommandId','_clearLocalCache','function','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','FromArray','AWAITING_WITH_PENDING','react.element','NoPadding','_hash','get','createSocket','forEach','subUnitId','_getUndoStack','with','entries','?size=','_docSkeleton','_decreaseWaiting','ticket','m2Prime','repeat','defIds','{fileID}','_handleJoinEvent','_revisionService','onlineStatus','_context','localeService','&source=','collabCursorState$','submit\x20changeset\x20error!','_httpService','SNAPSHOT_URL_KEY','_snapshotService','getActiveRange','_cursor','_shapes','_status$','getOwnPropertySymbols','fetchMissingChangesets','_handleHover','_onCursorDelete','onRemoteRej','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','collabStatus.conflict','setAlpha','_eventUnsubscribe','find','_keySchedule','_data','_telemetryInfo','24rMZDYT','_startCollaboration','newValue','SHOULD_CLOSE_CONN','error','_submitChangeset','MSG_FOR_ERROR','CipherParams','byteLength','members','ws://127.0.0.1:8000/universer-api/comb/connect','_getAPIPrefix','incrementRevOfUnit','onPointerEnter$','_initEventListeners','onStateChange','addEventListener','_transformRemoteChangesetByIMECache','UniverIcon','_updateSubUnitFromURLParams','clone','INTERNAL_ERROR','saveOfflineData','_initUnitPermissionChange','_imageIoService','_transformHistoryAndStateStack','NEW_CHANGESETS','setWaitCount','_candidateSocket','_configService','_fetchMissChangesets','state','COMPLETION_FINISHED','from','ERROR_EXCEED_SIZE','onMouseMove','_transformUndoRedoStack','object','complete','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Malformed\x20UTF-8\x20data','shouldCloseConn','loadSheet','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_getAPIPrefixPath','_onOffline','url(#off-line-single_clip0_910_343)','USERS_ENTER','Undefined','onReady','_name','resend','COMPRESS_MUTATION_APPLY','userID','sheetID','initWorkbookPermissionChange','_startDocCollabCursor','_unitID','fillStyle','_hideTimer','_themeService','PasswordBasedCipher','setInterval','LICENSE_DISTRO_REJECTED','headers','[CollaborationState]:\x20apply\x20error!','saveChangeset','_loadDoc','getCurrentUser','socket$','joinRsp','transformRemoteChangeset','evenodd','mixIn','onRemoteAck','authzUrl','IDLE','_onFetchMissResult','AES','...','_online','tag','_colorAssignService','unitId\x20is\x20not\x20found','\x20to\x20','_backgroundColor','avatar','color','_transformStateCache','__creator','_singleActiveUnitService','APPLY_NON_SEQUENTIAL_REVISION','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_getDownloadEndpointURL','_collabCursorState$','decryptBlock','exhaustSavingTask','_nDataBytes','_listenToOnlineEvent','fetch_missing','_undoRedoService','href','formatter','_xformMode','univer-online-status','UPDATE_PERMISSION_OBJ','_injector','includes','univer-online','url','_startTelemetryCollaborationNewChangeset','NOT_FOUND','_getRedoStack','_initDependencies','values','_sender','randomUUID','_scheduleSaving','event$','updatePermissionObjEvent','_getSignURL','[CollaborationSession]','_loadSheet','_event$','location','displayName','_transitionLocked','commentUpdateEvent','_handleEvent','MUTATION','UNIVER_COLLABORATION_CLIENT_PLUGIN','_retryCount','_logService','_ENC_XFORM_MODE','eventID','[PendingState]:\x20received\x20rejection.','LICENSE_IMPORT_SIZE_EXCEEDED','_clearHeartbeatTimer','NOT_COLLAB','enc','getTypeOfUnitDisposed$','close','append','override','dispose$','_socketMessageSubscription','getCollabCursors$','_docTransformStateCacheService','error$','actions','registerHTTPInterceptor','LIVESHARE_FETCH_OPERATIONS','4891070nLWRJE','red300','_sheetSkeletonManagerService','HmacMD5','registerBeforeClose','AUTHZ_URL_KEY','collabStatus.offline','_session','_queuedRemoteChangesets','_transformStack','reject','CONFLICT','appendMutation','YUUMI_RATE_OVER_LIMIT','readAsDataURL','words','_docSkeletonManagerService','getCollabEntity','_onConnectionFailed','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','11OLpPdZ','_updateState','findNodePositionByCharIndex','setShowComponents','_clearUndo','UNAUTHENTICATED','disposeWithMe','People','height','conflict.content','getOffsetConfig','_createHandler','_scene','listCollaborators','hasher','_updateLocalCursor','toString','univer-online-status-icon','dispose','updateCollaborator','PERMISSION_DENIED','className','getParam','_updateLocalCache','post','subject','enableAuthServer','_getCurrentRevision','reconnect','telemetry\x20info\x20is\x20not\x20initialized','Utf8','collabWebSocketUrl','off-line-single','_drawTextRange','_registerDependencies','_removeClearOtherTimer','_type','collaboration-client.config','transformSelections','univer-offline','ivSize','editing\x20status\x20changed\x20to','putCollaborators','DeleteRangeMoveLeftCommandId','_localStorageService','_waitForHeartbeatResponse','engine','subscribe','_compressMutationService','_beforeCloseService','collabSubmitChangesetUrl','collaboration-session-retry','backgroundColor','parse','exports','verdancy600','interceptor','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','searchParams','processBlock','text','_replayCachedMutations','_removeCollabCursors','EvpKDF','code','HEARTBEAT','body','permission.content','collaMsg','selections','collabStatus.syncing','[PendingState]:\x20received\x20acknowledgement.','next','makeDirty','_transformService','rng','$super','FileId','_onConflict','[OfflineState]:\x20received\x20changeset.','toRgbString','column','routeKey','imageSourceType','awaiting_with_pending','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getImageSourceCache','/universer-api/stream/file/upload','OFFLINE','_roomMembers','clearTimeout','getCurrent','collabStatus.synced','close$','params','execute','syncEditingCollabCursor','_transformPreviousActiveRange','HELLO','777520vZRFuT','_socket','_substituteRedoStack','Hasher','synced','unsubscribe','_getMergeRange','_initStatusListener','_cipher','session.connection-failed','saveImage','registerRefRange','title','filter','_getSendChangesetTimeout','clipPath','_transformSelections','session.collaboration-timeout','_applyRemoteChangeset','_iv','xlink:href','_substituteUndoStack','_docTransformSelectionsService','currentTheme$','JOINING','getConfig','?url=','react.fragment','Warning','UPDATE_CURSOR','save\x20fail\x20reason\x20is\x20','socket\x20close','_socket$','_textBubble','getCurrentRevOfUnit','stopTime','8taGCFJ','POST','unitID','objectType','_redoStacks','_nRounds','_userManagerService','_state','/new_changes','CHANGESET_REJ','_initResize','method','/allowed','RECV','colorChannel1','_tryReconnect','permission.title','roomMembers$','_scheduleClearOtherTimer','url(#$1','Univer','/object/','_saveTaskMap','_ws','onTransformState','closeSession','toLowerCase','UNIVER_PROJECT','APPLY_PERMISSION_DENIED','collaboration.single-unit.warning','push','_collaborationController','NO_OTHER_CLIENTS_EDITING','_removeRoom','reset','JOIN_ROOM_FULL','UnitSnapshot','c2Prime','ranges','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','LIVESHARE_OPERATION','[DataLoaderController]','format','COLLAB_WEB_SOCKET_URL','_docSyncEditingCollabCursorService','session','_doCryptBlock','registerOnClose','split','trim','_document','_commentUpdate$','fetching\x20missing\x20changesets\x20from\x20','onTransformRemoteChangesetByStateCache','lib','_messageService','file','_oKey','bottom','splice','OTHER_CLIENTS_EDITING','getWorkbookSelections','LOCAL_CACHE_INTERVAL','createInstance','_sendingTimer','put','sin','doc.mutation.rich-text-editing','PSEUDO_FETCH_MISSING_RESULT','onTransformChange$','[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.','transformIMECache','div','fetchThroughInterceptors','YUUMI_SUBSCRIPTION_NOT_FOUND','getVpScrollXYInfoByPosToVp','failed\x20to\x20apply\x20missed\x20changesets!','mode','_stopTelemetryCollaborationNewChangeset','onMissingChangesets','unknown','/-/object/-/batch_allowed','changesets','_throwTelemetryCollaborationNewChangeset','_saveCache','_collaborationTimeoutTimer','_sendHeartbeat','cmd','transformChangesets','resolve','_changesetReqId','message$','symbol','type','_handler','_scheduleHeartbeat','liveShareNewHost','_getSnapshotAPIPrefix','_collabSessionService','propertyIsEnumerable','_refreshCollabCursors','getUnitType','concat','blockSize','collaborators','Base','[CollaborationSessionService]','_heartbeatTimer','awaiting','startsWith','HMAC','min','APPLY_REJECT','then','/resources','join','_anchor','_collaborationPaused','COMMENT_UPDATE','msCrypto','Decryptor','_unitOnClients','[SyncedState]:\x20received\x20rejection.','2919087pVCDXk','off-line-single_clip0_910_343','name','TOO_MANY_REQUESTS','_send','YUUMI_URL_COL_OUT_OF_RANGE','HttpImport','generateRandomId','InsertRangeMoveDownCommandId','Pkcs7','sendChangesetTimeout','_sendHeartbeatTimer','_collabCursorController','_executeRemoteChangeset','LICENSE_MAX_UNITS_EXCEEDED','icon','application/json','_state$','_permissionService','_doReset','update','compute','_map','hostname','LIVESHARE_NEW_HOST','onRemoteChangeset','[UniverCollaborationClientPlugin]','socket\x20open.','memberID','offline','on-line-single_clip0_910_349','updatePermissionPoint','reduce','_initStatusComponent','visibilitychange','cfg','unit-cache-','startColumn','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','onTransformRemoteChangesetByIMECache','arc','Latin1','getSkeleton','pending','getUnitId','_parse','moveTo','_onConnectionOpen','createEncryptor','addObject','prototype','ONLINE','pipe','unload','cursorInfo$','now','MoveRangeCommandId','defineProperty','isEditing','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','black','_resendTimer','_syncEditingCollabCursorService','getTypeOfUnitAdded$','updateMember','getItem','debug','confirm','_resendWithTimeout','unshift','saveSheetBlock','awaitingChangeset','image/png','_id','liveShareOperation','InsertColCommandId','onSyncEditingCollabCursor','baseRev','focused$','UNKNOWN_CODE','hovered','_remoteChangesetQueue','_hasher','MD5','HEARTBEAT_INTERVAL','_entityInit$','show','onSendChangeset','_invKeySchedule','default','clamp','assignAColorForMemberID','iterations','_createInitialStateImpl','children','mutations','ciphertext','#FFF','getValue','sheetId','on-line-single','LIVESHARE_REQUEST_HOST','collab-client.tooltip.reconnect','UNIVER_SLIDE','getOwnPropertyDescriptor','every','delete','_cursorShapes','_snapshotServerService','0\x200\x2017\x2016','transformStateCache','_syncEditingCollabCursor','_localeService','unpad','_checkMissing','_pendingMutations','JOIN','_registerRenderDependencies','roomInfos','_keyPriorReset','/universer-api/snapshot','OpenSSL','substring','EXCHANGE_SIGN_URL_SERVER_URL_KEY','restore','_toggleOffline','UNIVER_UNKNOWN','_cursors','HmacSHA1','/universer-api/authz','updateCursorEvent','_sessions','CHANGESET_REVISION_CONFILICT','sigBytes','_init','_awaitingChangeset','none','onPointerLeave$','onlyLocal','resourceIDs','_renderManagerService','_replaceFileID','connection\x20error','fetchMiss','_assignedColors','replaceState','_render','onload','idSuffix','Error\x20on\x20receiving\x20event','_joinRoom','LICENSE_EXPORT_SIZE_EXCEEDED','Base64','online','_handleHeartbeatEvent','_change$','SHA1','_getLoginPath','m1Prime','_minBufferSize','transform','save','_updateStatus','_shouldReportTelemetry','setConfig','univer-online-status-title','subscribeEvent','snapshot','TEXT','YUUMI_UNABLE_LOAD_URL','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','_onJoinRoomEvent','[CollaborationUndoRedoService]','length','_hover','saveSnapshot','closePath','_tryEnsureSocket','keySize','change$','_getAnchorBounding','_transformRemoteChangesetByStateCache','unit','transformMutation','addImageSourceCache','hide','_telemetryService','cursorInfo','_initMergeInterceptor','collab-text-range-','urlChange$','src','withCredentials','SUBMIT_CHANGESET','_sessionStatus$','_color','size','asObservable','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_config','subunit','originalMeta','_clearTimeoutTimer','#fff','getSheetId','_retryConnectingTimer','_handleLeaveEvent','8411244tyVeEA','_initRequestHeader','UnitEmbedded','_draw','_toggleOnline','_scheduleTimestamp','_iKey','_createSocket','buffer','_updateURLWithCurrentState','_ensureSubject','currentSkeleton$','BASE64','_reverseMap','_roomMembers$','_imageSourceCache','Encryptor','onRendered','FAIL','list','path','encryptBlock','charAt','lineTo','editingUnit','gold400','charCodeAt','/-/object/list','isArray','_startSheetCollabCursor','_onRefRangeChange','_onCursorUpdate','_resendTimeout','_listenToOfflineEvent','defs','LEAVE','startRow','catch','string','_onRemoteRetry','80769yDPYXf','UNKNOWN_CMD','conflict.title','setStateCache','pad','clear','random','patch','FETCH_MISSING','/universer-api/user/session-ticket','/unit/','not_collab','replace','selection','removeParam','extend','_timeoutTimer','StreamCipher','/collaborator','createDecryptor','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','collabStatus.fetchMiss','getSheetBlock','docStateChange$','flatMap','onTransformSelections','pluginName','csAckEvent','setParam','init','textRanges','_doFinalize','_DEC_XFORM_MODE','PENDING','send','objectID','getSheetBySheetId','jsx','/rev/','open$','ReactCurrentOwner','reqId','_lastPointer','_schedule','_onRecvEvent','_socketService','_unitStatus','fromCharCode','ERROR_IMAGE','abs','create','for','batchAllowed','&to=','OffLineSingle','_localCacheService','_hovered','INVALID_ARGUMENT','fillText','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getDeserializedSheetBlock','\x20in\x20_schedule.','unitId','auth.needGotoLoginAlert','replaceDocRanges','url(#on-line-single_clip0_910_349)','COMPRESS_MUTATION_SEND','_onRemoteChangeset','_mode','getRangePointData','isPermissionRej','_updateCollabCursors','storage','algo','onStarting','action','requestParams','_acknowledgedAwaitingChangeset','_uiPartsService','6YbWHqb','ceil','UNIVER_DOC','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_ACK','SNAPSHOT_HAS_BEEN_REMOVED','rev','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','1em','LOGIN_URL_KEY','_cachedData','data','addClipboardHook','_notificationService','disableLocalCache','COLLAB_SUBMIT_CHANGESET_URL','decrypt','getInterceptPoints','getUniverSheetInstance','origin','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_entities','_docTransformIMECacheService','_refRangeService','WordArray','Error','_univerInstanceService','BufferedBlockAlgorithm','SNAPSHOT_SERVER_URL_KEY','getRandomValues','setCurrentUser','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','Hex','setShapeProps','_doProcessBlock','isActive','has','undoState','floor','source','sid','json','_commandService','sessionStatus$','status','[CollaborationEntity]','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','rgba(255,\x20255,\x20255,\x200.01)','indexOf','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','onRemoteRetry','current','revision','getCollabEntity$','copyFileMeta','_onRemoteRejected','call','/block/','UUID','_clearRedo','disposeUnit','redoState','encode','HEADER_MENU','_getSaveTimeout','_prevBlock','wsSessionTicketUrl','_cursorInfo$','getDocRanges','image/jpeg','createCollaborator','defaultProps','_onUserJoin','bind','_clearCollaborationTimeoutTimer','_setupBeforeClosingHandler','_rescheduleHeartbeat','beginPath','_key','[CollaborationSessionService]:\x20socket\x20error','toggleOffline','range','CONNECTOR_DATA_TOO_LARGE','_clearOtherTimers','0\x200\x2016\x2016','RemoveRowCommandId','slice','encodeURIComponent','_clearScheduledTask','purple300','ENSURE_SNAPSHOT_EXECUTION','session.room-full','getUnitStatus$','[OfflineState]:\x20received\x20acknowledgement.','_onRemoteACK','onCommandExecuted','session.will-retry','width','FETCH_MISS','LIVESHARE_TERMINATE','roles','set','BlockCipher','allowed','_scheduleCollaborationTimeoutTimer','_disabled','endColumn','history','crypto','stringify','measureText','getAncestorScale','SYNCED','_exhaustRemoteChangesetQueue','RETRY_CONNECTING_MAX_COUNT','onlineStatusIcon','_changesetSessionId','\x0aCurrent:\x20','clearInterval','collab-rect-range-','_incrementRevisionNumber','_range','JOIN_ROOM_NOT_ALLOWED','drawWith','_initCommandExecutedListener','registerRenderModule','_lockTransition','_members','listRoles','hasOwnProperty','randomBytes','Unknown\x20user','_append','snapshotServerUrl','currentColor','capture','_transformUndoredo','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','49mcWWcP','getMergeData','_getSessionTicket','ALREADY_EXISTS','16158zmXhFj','blue400','univer-pro.collaboration-client.single-active-unit-service','downloadEndpointUrl','CBC','_onUserLeave','_onLocalMutation','deepClone','removeMember','responseType','onTransformIME','SNAPSHOT_INVALID_SNAPSHOT','getViewport','__esModule','getUnhiddenWorksheets','updateOfflineData','1477616tHCGKh','padding','_waitCount','requireSession','_commentService','PERSON','toggleOnline','transformUndoRedo','AWAITING','newCsEvent','getFocusedUnit','conflict','/universer-api/snapshot/','_http','_getSheetObject','_unlockTransition','/universer-api/comb','_colorIndex','max','setItem','_socketReady','encrypt','transformMutationsWithChangeset','_labelPosition','key','jsxs','_docStateChangeManagerService','fill','getUndoRedoMutationParamsCache','_onMessage'];_0x1283=function(){return _0x86e0ba;};return _0x1283();}let os=class extends _0x2983d9{constructor(_0x2a33ff,_0x38764c,_0x3b0b7d,_0x24648c,_0x422eda,_0xbead3d,_0x1fea34,_0x5d3c0b,_0x2433b7){const _0x10fd0f=_0x50a7d0;super(),g(this,'_online',!0x1),g(this,_0x10fd0f(0x1a9),!0x1),g(this,_0x10fd0f(0x2ac),new _0x22472b(new Map())),g(this,_0x10fd0f(0x159),this['_cursorInfo$'][_0x10fd0f(0x1e8)]()),g(this,_0x10fd0f(0x200),new _0x22472b([])),g(this,'roomMembers$',this[_0x10fd0f(0x200)][_0x10fd0f(0x157)](_0x521a38(jo))),g(this,_0x10fd0f(0x459),_0x10313f(_0xc15217=>{const _0x42dadd=_0x10fd0f,_0x4308cf={'eventID':_0x26d642[_0x42dadd(0x4ca)],'data':{'unitID':this[_0x42dadd(0xaa)],'memberID':this[_0x42dadd(0x43d)][_0x42dadd(0x347)](),'selection':Li(_0xc15217)}};this[_0x42dadd(0x43d)]['send'](_0x4308cf,this['unitID']);},Bo)),(this['unitID']=_0x2a33ff,this[_0x10fd0f(0x43d)]=_0x38764c,this[_0x10fd0f(0x408)]=_0x3b0b7d,this['_colorAssignService']=_0x24648c,this[_0x10fd0f(0x35d)]=_0x422eda,this[_0x10fd0f(0x161)]=_0xbead3d,this[_0x10fd0f(0x494)]=_0x1fea34,this[_0x10fd0f(0x283)]=_0x5d3c0b,this[_0x10fd0f(0x293)]=_0x2433b7);}get[_0x50a7d0(0x1de)](){const _0x1c8a16=_0x50a7d0;return this['_cursorInfo$'][_0x1c8a16(0x185)]();}get[_0x50a7d0(0x33d)](){const _0x2fc873=_0x50a7d0;return this[_0x2fc873(0x200)]['getValue']();}[_0x50a7d0(0x45c)](){const _0x1eb571=_0x50a7d0;super[_0x1eb571(0x45c)](),this[_0x1eb571(0x2ac)][_0x1eb571(0x492)](new Map()),this[_0x1eb571(0x2ac)]['complete'](),this[_0x1eb571(0x200)]['next']([]),this[_0x1eb571(0x200)][_0x1eb571(0x3c4)]();}[_0x50a7d0(0x237)](){const _0x50c065=_0x50a7d0;this[_0x50c065(0x1a9)]||(this[_0x50c065(0x1a9)]=!0x0,this['_session'][_0x50c065(0x294)]['pipe'](_0x2b44f7(this['dispose$']))[_0x50c065(0x479)](_0x5e4856=>{const _0x306672=_0x50c065;_0x5e4856===ve[_0x306672(0x156)]?this[_0x306672(0x1f6)]():this[_0x306672(0x1a0)]();}),this[_0x50c065(0x43d)]['event$']['pipe'](_0x2b44f7(this[_0x50c065(0x42e)]))[_0x50c065(0x479)](_0x2117fb=>{const _0x5f41af=_0x50c065,_0x3734e5=_0x2117fb[_0x5f41af(0x424)];_0x3734e5===_0x26d642['UPDATE_CURSOR']&&this[_0x5f41af(0x211)](_0x2117fb),_0x3734e5===_0x26d642[_0x5f41af(0x348)]&&this[_0x5f41af(0x394)](_0x2117fb);}),this[_0x50c065(0x450)](this[_0x50c065(0x293)][_0x50c065(0x2c8)](_0x3cb9cf=>{const _0x320273=_0x50c065,_0xb99532=_0x3cb9cf[_0x320273(0x4a8)];_0xb99532!=null&&this['_online']&&_0x3cb9cf['id']===_0x11d07f['id']&&_0xb99532[_0x320273(0x258)]===this['unitID']&&_0xb99532[_0x320273(0x15d)]===!0x1&&_0xb99532[_0x320273(0xce)][_0x320273(0x1d0)]>0x0&&this[_0x320273(0x459)](_0xb99532[_0x320273(0xce)]);})),this['_syncEditingCollabCursorService'][_0x50c065(0x388)][_0x50c065(0x157)](_0x2b44f7(this[_0x50c065(0x42e)]))[_0x50c065(0x479)](_0x400247=>{const _0x3cd834=_0x50c065;if((_0x400247==null?void 0x0:_0x400247[_0x3cd834(0xaa)])!==this[_0x3cd834(0xaa)])return;const _0x12ac30={'eventID':_0x26d642[_0x3cd834(0x4ca)],'data':_0x400247};this['_onCursorUpdate'](_0x12ac30);}),this[_0x50c065(0x450)](this[_0x50c065(0x293)]['onCommandExecuted'](_0x302bb4=>{const _0x6d056f=_0x50c065;if(_0x302bb4[_0x6d056f(0x4a8)]==null)return;const _0x276d47=_0x302bb4[_0x6d056f(0x4a8)];if(_0x302bb4['id']!==_0x5e3fd9['id']||_0x276d47['unitId']!==this[_0x6d056f(0xaa)])return;const _0x132db2={'id':_0x6d056f(0xeb),'params':_0x276d47},_0x3a36f5=this[_0x6d056f(0x1de)];for(const [_0x5408be,_0x339a8b]of _0x3a36f5){const _0x4d3e24={'id':_0x6d056f(0xeb),'params':{'unitId':this[_0x6d056f(0xaa)],'actions':null,'textRanges':_0x339a8b[_0x6d056f(0xce)]}},_0x2a9bf7=this['_transformService'][_0x6d056f(0x1da)](_0x132db2,_0x4d3e24,!0x1);if(_0x2432d6(_0x2a9bf7))throw _0x2a9bf7[_0x6d056f(0x3a2)];_0x3a36f5['set'](_0x5408be,{..._0x339a8b,'ranges':_0x2a9bf7['m2Prime'][_0x6d056f(0x4a8)][_0x6d056f(0x238)]});}queueMicrotask(()=>{const _0xa09ca=_0x6d056f;this[_0xa09ca(0x2ac)]['next'](_0x3a36f5);});})));}[_0x50a7d0(0x211)](_0xb149f4){const _0x3e0051=_0x50a7d0;var _0x593631,_0x196085;const {memberID:_0x6e8645,selection:_0x447e97}=_0xb149f4['data'],_0x480602=So(_0x447e97),_0x176c7a=(_0x196085=(_0x593631=this[_0x3e0051(0x35d)][_0x3e0051(0x34c)](this['unitID'],_0x6e8645))==null?void 0x0:_0x593631[_0x3e0051(0x125)])!=null?_0x196085:'Unknown\x20user',_0x418fa9={'color':this[_0x3e0051(0x3f0)][_0x3e0051(0x17e)](_0x6e8645),'name':_0x176c7a,'ranges':_0x480602},_0xae5a38=this['cursorInfo'];_0xae5a38[_0x3e0051(0x2ce)](_0x6e8645,_0x418fa9),this[_0x3e0051(0x2ac)]['next'](_0xae5a38);}[_0x50a7d0(0x394)](_0x3026dc){const _0x459b36=_0x50a7d0,{memberID:_0x58b832}=_0x3026dc['data'],_0x2641c8=this[_0x459b36(0x1de)];_0x2641c8[_0x459b36(0x18d)](_0x58b832),this['_cursorInfo$']['next'](_0x2641c8);}[_0x50a7d0(0x1f6)](){const _0x495193=_0x50a7d0;var _0x3c1400;if(this[_0x495193(0x3ee)]=!0x0,((_0x3c1400=this[_0x495193(0x283)][_0x495193(0x311)]())==null?void 0x0:_0x3c1400[_0x495193(0x14f)]())!==this['unitID'])return;const _0x4d88f1=this[_0x495193(0x408)][_0x495193(0x373)](_0x370f46)[_0x495193(0x2ad)]();Array[_0x495193(0x20e)](_0x4d88f1)&&_0x4d88f1[_0x495193(0x1d0)]>0x0&&this[_0x495193(0x459)](_0x4d88f1);}['_toggleOffline'](){const _0x16e908=_0x50a7d0;this[_0x16e908(0x3ee)]=!0x1;}};os=Ho([De(0x2,_0x33026a(_0x17dae8)),De(0x3,_0x33026a(Os)),De(0x4,_0x33026a(Me)),De(0x5,_0x33026a(Ts)),De(0x6,_0x4af41b),De(0x7,_0x28b990),De(0x8,_0x2e05f8)],os);var ko=Object[_0x50a7d0(0x15c)],Wo=Object['getOwnPropertyDescriptor'],Fo=(_0x55f3cf,_0x155c62,_0x294fe0,_0xed47f9)=>{const _0x4d3d5b=_0x50a7d0;for(var _0xbb1d41=_0xed47f9>0x1?void 0x0:_0xed47f9?Wo(_0x155c62,_0x294fe0):_0x155c62,_0x491a81=_0x55f3cf[_0x4d3d5b(0x1d0)]-0x1,_0x1358ee;_0x491a81>=0x0;_0x491a81--)(_0x1358ee=_0x55f3cf[_0x491a81])&&(_0xbb1d41=(_0xed47f9?_0x1358ee(_0x155c62,_0x294fe0,_0xbb1d41):_0x1358ee(_0xbb1d41))||_0xbb1d41);return _0xed47f9&&_0xbb1d41&&ko(_0x155c62,_0x294fe0,_0xbb1d41),_0xbb1d41;},Be=(_0x2c1948,_0x4d20c3)=>(_0x525028,_0x2f738e)=>_0x4d20c3(_0x525028,_0x2f738e,_0x2c1948);const Vo=0x12c,Go=0x64,Yo=()=>{let _0x41badd=[],_0x32d515=!0x1;return _0x14540e=>{const _0x89fe45=_0xc944;_0x41badd[_0x89fe45(0xc6)](_0x14540e),_0x32d515||(_0x32d515=!0x0,setTimeout(()=>{_0x41badd['forEach'](_0x531041=>_0x531041()),_0x41badd=[],_0x32d515=!0x1;}));};};let as=class extends _0x2983d9{constructor(_0x2b00d6,_0x5ddcc8,_0x569df5,_0xe24e0f,_0x255cf1,_0x2af552,_0xda412d,_0x343406){const _0x2d2adb=_0x50a7d0;super(),g(this,_0x2d2adb(0x3ee),!0x1),g(this,_0x2d2adb(0x1a9),!0x1),g(this,_0x2d2adb(0x2ac),new _0x22472b(new Map())),g(this,_0x2d2adb(0x159),this['_cursorInfo$'][_0x2d2adb(0x1e8)]()),g(this,_0x2d2adb(0x200),new _0x22472b([])),g(this,_0x2d2adb(0xb9),this[_0x2d2adb(0x200)]['pipe'](_0x521a38(Vo))),g(this,_0x2d2adb(0x459),_0x10313f((_0x2573bf,_0x1cd2e6)=>{const _0x38906c=_0x2d2adb,_0x442153={'eventID':_0x26d642[_0x38906c(0x4ca)],'data':{'unitID':this['unitID'],'memberID':this[_0x38906c(0x43d)][_0x38906c(0x347)](),'selection':_0x49a24a(_0x2573bf,_0x1cd2e6['range'])}};this[_0x38906c(0x43d)][_0x38906c(0x23c)](_0x442153,this['unitID']);},Go)),(this['unitID']=_0x2b00d6,this[_0x2d2adb(0x43d)]=_0x5ddcc8,this['_injector']=_0x569df5,this['_colorAssignService']=_0xe24e0f,this[_0x2d2adb(0x35d)]=_0x255cf1,this[_0x2d2adb(0x283)]=_0x2af552,this[_0x2d2adb(0x293)]=_0xda412d,this[_0x2d2adb(0x280)]=_0x343406);}get[_0x50a7d0(0x1de)](){const _0x557737=_0x50a7d0;return this[_0x557737(0x2ac)][_0x557737(0x185)]();}get[_0x50a7d0(0x33d)](){const _0x532672=_0x50a7d0;return this[_0x532672(0x200)]['getValue']();}[_0x50a7d0(0x45c)](){const _0x2c89f0=_0x50a7d0;super[_0x2c89f0(0x45c)](),this[_0x2c89f0(0x2ac)][_0x2c89f0(0x492)](new Map()),this[_0x2c89f0(0x2ac)][_0x2c89f0(0x3c4)](),this[_0x2c89f0(0x200)]['next']([]),this[_0x2c89f0(0x200)]['complete']();}['init'](){const _0x3162a8=_0x50a7d0;this['_init']||(this['_init']=!0x0,this['_session']['sessionStatus$']['pipe'](_0x2b44f7(this['dispose$']))[_0x3162a8(0x479)](_0x32673b=>{const _0x19b042=_0x3162a8;_0x32673b===ve[_0x19b042(0x156)]?this[_0x19b042(0x1f6)]():this[_0x19b042(0x1a0)]();}),this[_0x3162a8(0x43d)][_0x3162a8(0x414)]['pipe'](_0x2b44f7(this['dispose$']))[_0x3162a8(0x479)](_0x4b3bc5=>{const _0x1af0a7=_0x3162a8,_0x510f2b=_0x4b3bc5[_0x1af0a7(0x424)];_0x510f2b===_0x26d642[_0x1af0a7(0x4ca)]&&this[_0x1af0a7(0x211)](_0x4b3bc5),_0x510f2b===_0x26d642[_0x1af0a7(0x348)]&&this['_onCursorDelete'](_0x4b3bc5);}),this[_0x3162a8(0x210)](),this[_0x3162a8(0x450)](this['_commandService'][_0x3162a8(0x2c8)](_0x265074=>{const _0x4b9819=_0x3162a8;if(this[_0x4b9819(0x3ee)]&&_0x265074['id']===_0x313c8a['id']&&_0x265074[_0x4b9819(0x4a8)][_0x4b9819(0x258)]===this[_0x4b9819(0xaa)]){const _0x52b883=_0x265074[_0x4b9819(0x4a8)];this[_0x4b9819(0x459)](_0x52b883[_0x4b9819(0x376)],_0x52b883[_0x4b9819(0x48f)][0x0]);}})));}[_0x50a7d0(0x211)](_0x26aaab){const _0x98670a=_0x50a7d0;var _0x10e175,_0x4c87cb;const {memberID:_0x116667,selection:_0x21b3c5}=_0x26aaab[_0x98670a(0x274)],{sheetName:_0x3e4079,range:_0x34c838}=_0xe6e903(_0x21b3c5),_0x44599e={'name':(_0x4c87cb=(_0x10e175=this[_0x98670a(0x35d)]['getMember'](this[_0x98670a(0xaa)],_0x116667))==null?void 0x0:_0x10e175[_0x98670a(0x125)])!=null?_0x4c87cb:_0x98670a(0x2ec),'range':this['_getMergeRange'](_0x3e4079,_0x34c838),'sheetID':_0x3e4079,'color':this[_0x98670a(0x3f0)][_0x98670a(0x17e)](_0x116667),'selection':_0x21b3c5},_0x344bd3=this[_0x98670a(0x1de)];_0x344bd3['set'](_0x116667,_0x44599e),this[_0x98670a(0x2ac)][_0x98670a(0x492)](_0x344bd3);}[_0x50a7d0(0x394)](_0x5b3651){const _0x54f78c=_0x50a7d0,{memberID:_0x1c62a6}=_0x5b3651[_0x54f78c(0x274)],_0x31446a=this['cursorInfo'];_0x31446a[_0x54f78c(0x18d)](_0x1c62a6),this[_0x54f78c(0x2ac)][_0x54f78c(0x492)](_0x31446a);}[_0x50a7d0(0x4b3)](_0x268f89,_0x5f073b){const _0x10dc77=_0x50a7d0;var _0x5dfa3d,_0x25382f;const _0x2a095d=(_0x25382f=(_0x5dfa3d=this[_0x10dc77(0x283)][_0x10dc77(0x27b)](this['unitID']))==null?void 0x0:_0x5dfa3d[_0x10dc77(0x23e)](_0x268f89))==null?void 0x0:_0x25382f[_0x10dc77(0x2f4)]();return(_0x2a095d==null?void 0x0:_0x2a095d[_0x10dc77(0x39a)](_0x2c0e4e=>_0x18079f['contains'](_0x2c0e4e,_0x5f073b)))||_0x5f073b;}['_onRefRangeChange'](){const _0x3126c8=_0x50a7d0,_0x4ed92d=new _0x2912e1(),_0x19d0a6=Yo(),_0x5b29eb=()=>{const _0x194c79=_0xc944;_0x4ed92d[_0x194c79(0x45c)]();const _0x2dd0fe=(_0x109c22,_0x1b3604,_0x3d158a,_0x20014c)=>{const _0x305da9=_0x194c79;let _0x4e6b3d=[];switch(_0x109c22['id']){case _0x417021[_0x305da9(0x475)]:{_0x4e6b3d=_0x471bf3(_0x109c22,_0x20014c);break;}case _0x417021['DeleteRangeMoveUpCommandId']:{_0x4e6b3d=_0x1e512b(_0x109c22,_0x20014c);break;}case _0x417021[_0x305da9(0x16e)]:{_0x4e6b3d=_0x1eb2df(_0x109c22,_0x20014c);break;}case _0x417021[_0x305da9(0x12b)]:{_0x4e6b3d=_0x51a436(_0x109c22,_0x20014c);break;}case _0x417021[_0x305da9(0x36a)]:{_0x4e6b3d=_0x40abdd(_0x109c22,_0x20014c);break;}case _0x417021['InsertRowCommandId']:{_0x4e6b3d=_0x23c885(_0x109c22,_0x20014c);break;}case _0x417021[_0x305da9(0x15b)]:{_0x4e6b3d=_0x28f3e9(_0x109c22,_0x20014c);break;}case _0x417021['RemoveColCommandId']:{_0x4e6b3d=_0x5369f9(_0x109c22,_0x20014c);break;}case _0x417021[_0x305da9(0x2be)]:{_0x4e6b3d=_0x32a4f4(_0x109c22,_0x20014c);break;}}const _0x52525d=_0x51f717(_0x4e6b3d,_0x20014c),_0xad89a0=this[_0x305da9(0x1de)][_0x305da9(0x373)](_0x1b3604);if(_0xad89a0&&_0x52525d){const _0x1cb8fa={..._0xad89a0,'range':_0x52525d};this['cursorInfo'][_0x305da9(0x2ce)](_0x1b3604,_0x1cb8fa),_0x19d0a6(()=>{const _0x32742b=_0x305da9,_0x407707=this['_refRangeService']['registerRefRange'](_0x52525d,_0x1b9250=>(_0x407707[_0x32742b(0x45c)](),_0x2dd0fe(_0x1b9250,_0x1b3604,_0x3d158a,_0x52525d)));_0x4ed92d[_0x32742b(0x366)](_0x407707);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x10714f,_0x3996d3)=>{const _0x90d711=_0x194c79,{range:_0x32cf0e,sheetID:_0x2cc926}=_0x10714f,_0xa9e31c=this[_0x90d711(0x280)][_0x90d711(0x4b8)](_0x32cf0e,_0x576dc7=>(_0xa9e31c['dispose'](),_0x2dd0fe(_0x576dc7,_0x3996d3,_0x2cc926,_0x32cf0e)));_0x4ed92d[_0x90d711(0x366)](_0xa9e31c);});};this[_0x3126c8(0x450)](_0xd370ea(this[_0x3126c8(0x2ac)][_0x3126c8(0x479)](()=>{_0x5b29eb();})));}['_toggleOnline'](){const _0xf60f16=_0x50a7d0;var _0x3de7fd,_0x50ab73;if(this[_0xf60f16(0x3ee)]=!0x0,((_0x3de7fd=this[_0xf60f16(0x283)]['getFocusedUnit']())==null?void 0x0:_0x3de7fd[_0xf60f16(0x14f)]())!==this[_0xf60f16(0xaa)])return;const _0x5acd67=(_0x50ab73=this['_injector']['get'](_0x3a11a0)['getCurrentSelections']())==null?void 0x0:_0x50ab73[0x0],_0x21c87e=this['_univerInstanceService']['getCurrentUnitForType'](_0x40c566[_0xf60f16(0x331)])['getActiveSheet']();_0x5acd67&&_0x21c87e&&this[_0xf60f16(0x459)](_0x21c87e['getSheetId'](),_0x5acd67);}[_0x50a7d0(0x1a0)](){const _0x205279=_0x50a7d0;this[_0x205279(0x3ee)]=!0x1;}};as=Fo([Be(0x2,_0x33026a(_0x17dae8)),Be(0x3,_0x33026a(Os)),Be(0x4,_0x33026a(Me)),Be(0x5,_0x28b990),Be(0x6,_0x2e05f8),Be(0x7,_0x33026a(_0x353c51))],as);var Ko=Object[_0x50a7d0(0x15c)],zo=Object[_0x50a7d0(0x18b)],qo=(_0x1b1986,_0x3f3d36,_0x2ce1ae,_0x350b1d)=>{const _0x1ad75f=_0x50a7d0;for(var _0x550c57=_0x350b1d>0x1?void 0x0:_0x350b1d?zo(_0x3f3d36,_0x2ce1ae):_0x3f3d36,_0x5a3419=_0x1b1986[_0x1ad75f(0x1d0)]-0x1,_0x4af76c;_0x5a3419>=0x0;_0x5a3419--)(_0x4af76c=_0x1b1986[_0x5a3419])&&(_0x550c57=(_0x350b1d?_0x4af76c(_0x3f3d36,_0x2ce1ae,_0x550c57):_0x4af76c(_0x550c57))||_0x550c57);return _0x350b1d&&_0x550c57&&Ko(_0x3f3d36,_0x2ce1ae,_0x550c57),_0x550c57;},jt=(_0x1d9b50,_0x1f9f17)=>(_0x5e1a30,_0x117126)=>_0x1f9f17(_0x5e1a30,_0x117126,_0x1d9b50);let Ve=class extends _0x2983d9{constructor(_0x4c7c37,_0x52c498,_0x2d6399){const _0x1e01fe=_0x50a7d0;super(),g(this,'_entities',new Map()),g(this,_0x1e01fe(0x178),new _0x5b148b()),(this[_0x1e01fe(0x283)]=_0x4c7c37,this[_0x1e01fe(0x408)]=_0x52c498,this[_0x1e01fe(0x10a)]=_0x2d6399,this[_0x1e01fe(0x1a9)]());}[_0x50a7d0(0x45c)](){const _0x4f15fb=_0x50a7d0;super[_0x4f15fb(0x45c)](),this[_0x4f15fb(0x178)][_0x4f15fb(0x3c4)](),this['_entities']['forEach'](_0x1b30c3=>_0x1b30c3[_0x4f15fb(0x45c)]());}['getCollabCursors$'](_0x579291){const _0x35ee70=_0x50a7d0;return this['_entities'][_0x35ee70(0x28d)](_0x579291)?this[_0x35ee70(0x27e)]['get'](_0x579291)[_0x35ee70(0x159)]:this[_0x35ee70(0x178)]['pipe'](_0x1e1f37(_0x48bbea=>_0x48bbea[_0x35ee70(0xaa)]===_0x579291),_0x150ba9(_0x26e6e3=>_0x26e6e3[_0x35ee70(0x159)]));}[_0x50a7d0(0x1a9)](){const _0x37a6bd=_0x50a7d0;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x40c566[_0x37a6bd(0x331)])[_0x37a6bd(0x157)](_0x2b44f7(this['dispose$']))['subscribe'](async _0x2842b9=>{const _0x2536f6=_0x37a6bd,_0x8b1f9d=_0x2842b9[_0x2536f6(0x14f)](),_0x6297b7=await this['_startSheetCollabCursor'](_0x8b1f9d);this['_entityInit$'][_0x2536f6(0x492)](_0x6297b7),this[_0x2536f6(0x27e)][_0x2536f6(0x2ce)](_0x8b1f9d,_0x6297b7);}),this[_0x37a6bd(0x283)][_0x37a6bd(0x162)](_0x40c566['UNIVER_DOC'])[_0x37a6bd(0x157)](_0x2b44f7(this[_0x37a6bd(0x42e)]))[_0x37a6bd(0x157)](_0x1e1f37(_0x432800=>!_0x432800[_0x37a6bd(0x14f)]()[_0x37a6bd(0x115)]('__')))[_0x37a6bd(0x479)](async _0x31f7b1=>{const _0x54ce58=_0x37a6bd,_0x2b1928=_0x31f7b1[_0x54ce58(0x14f)](),_0x44a842=await this[_0x54ce58(0x3d6)](_0x2b1928);this[_0x54ce58(0x178)]['next'](_0x44a842),this['_entities']['set'](_0x2b1928,_0x44a842);}),_0x4a9003(this['_univerInstanceService'][_0x37a6bd(0x42a)](_0x40c566[_0x37a6bd(0x26b)]),this['_univerInstanceService'][_0x37a6bd(0x42a)](_0x40c566[_0x37a6bd(0x331)]))[_0x37a6bd(0x157)](_0x2b44f7(this[_0x37a6bd(0x42e)]))[_0x37a6bd(0x479)](_0x1dafbc=>{const _0x14d220=_0x37a6bd,_0x3ed0fe=_0x1dafbc[_0x14d220(0x14f)](),_0x4dba41=this[_0x14d220(0x27e)][_0x14d220(0x373)](_0x3ed0fe);_0x4dba41&&(_0x4dba41[_0x14d220(0x45c)](),this[_0x14d220(0x27e)][_0x14d220(0x18d)](_0x3ed0fe));});}async[_0x50a7d0(0x20f)](_0x4fc37b){const _0x156c88=_0x50a7d0,_0x10f0df=await this[_0x156c88(0x10a)]['requireSession'](_0x4fc37b),_0x29f2f5=this[_0x156c88(0x408)][_0x156c88(0xe7)](as,_0x4fc37b,_0x10f0df);return _0x29f2f5[_0x156c88(0x237)](),_0x29f2f5;}async[_0x50a7d0(0x3d6)](_0x452e61){const _0x2461b8=_0x50a7d0,_0x4fbd81=await this[_0x2461b8(0x10a)]['requireSession'](_0x452e61),_0x4edacc=this[_0x2461b8(0x408)]['createInstance'](os,_0x452e61,_0x4fbd81);return _0x4edacc[_0x2461b8(0x237)](),_0x4edacc;}};Ve=qo([jt(0x0,_0x28b990),jt(0x1,_0x33026a(_0x17dae8)),jt(0x2,_0x33026a(xe))],Ve);const rt=0x14,Js=0xc8,Bt=0x4,Xo=0x5;function Jo(_0x36b85e,_0x5c3a00){const _0x434f62=_0x50a7d0;let {radius:_0x173c8c,width:_0x19ef6c,height:_0x4084fd}=_0x5c3a00;_0x173c8c=_0x173c8c!=null?_0x173c8c:0x0,_0x19ef6c=_0x19ef6c!=null?_0x19ef6c:0x1e,_0x4084fd=_0x4084fd!=null?_0x4084fd:0x1e;let _0x4fe4dd=0x0,_0x4a6be1=0x0,_0x17148c=0x0;_0x4fe4dd=_0x4a6be1=_0x17148c=Math['min'](_0x173c8c,_0x19ef6c/0x2,_0x4084fd/0x2),_0x36b85e[_0x434f62(0x2b6)](),_0x36b85e[_0x434f62(0x151)](_0x4fe4dd,0x0),_0x36b85e[_0x434f62(0x209)](_0x19ef6c-_0x4a6be1,0x0),_0x36b85e[_0x434f62(0x14b)](_0x19ef6c-_0x4a6be1,_0x4a6be1,_0x4a6be1,Math['PI']*0x3/0x2,0x0,!0x1),_0x36b85e[_0x434f62(0x209)](_0x19ef6c,_0x4084fd-_0x17148c),_0x36b85e[_0x434f62(0x14b)](_0x19ef6c-_0x17148c,_0x4084fd-_0x17148c,_0x17148c,0x0,Math['PI']/0x2,!0x1),_0x36b85e[_0x434f62(0x209)](0x0,_0x4084fd),_0x36b85e[_0x434f62(0x209)](0x0,_0x4fe4dd),_0x36b85e[_0x434f62(0x14b)](_0x4fe4dd,_0x4fe4dd,_0x4fe4dd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x36b85e[_0x434f62(0x1d3)](),_0x5c3a00[_0x434f62(0x322)]&&(_0x36b85e['save'](),_0x36b85e[_0x434f62(0x3d8)]=_0x5c3a00[_0x434f62(0x322)],_0x5c3a00['fillRule']==='evenodd'?_0x36b85e[_0x434f62(0x322)](_0x434f62(0x3e6)):_0x36b85e[_0x434f62(0x322)](),_0x36b85e[_0x434f62(0x19f)]());}class wt extends _0x1626cc{constructor(_0x14dd1e,_0x3122a3){const _0x339530=_0x50a7d0;super(_0x14dd1e,_0x3122a3),g(this,_0x339530(0x3f5)),g(this,_0x339530(0x486)),(this[_0x339530(0x3f5)]=_0x3122a3==null?void 0x0:_0x3122a3[_0x339530(0x3f5)],this[_0x339530(0x486)]=_0x3122a3==null?void 0x0:_0x3122a3['text']);}static['drawWith'](_0x2dbd8e,_0x2f2af8){const _0x42239a=_0x50a7d0,{text:_0x3f967b,color:_0x339e2c}=_0x2f2af8;_0x2dbd8e[_0x42239a(0x1c4)](),_0x2dbd8e['font']=_0x42239a(0x36d);const _0x258391=_0x2dbd8e[_0x42239a(0x2d7)](_0x3f967b)['width'],_0x2ffd55=Math[_0x42239a(0x117)](_0x258391+0x2*Bt,Js);Jo(_0x2dbd8e,{'height':rt,'radius':0x4,'width':_0x2ffd55,'fill':_0x339e2c,'evented':!0x1}),_0x2dbd8e['fillStyle']=_0x42239a(0x184);const _0x31b586=Bt,_0x548576=rt-Xo,_0x4059e5=Js-0x2*Bt;if(_0x258391>_0x4059e5){let _0x17caad='',_0x5f328b=0x0;for(const _0x2c8133 of _0x3f967b){const _0x40e0ae=_0x2dbd8e['measureText'](_0x2c8133)[_0x42239a(0x2ca)];if(_0x5f328b+_0x40e0ae<=_0x4059e5-_0x2dbd8e[_0x42239a(0x2d7)](_0x42239a(0x3ed))[_0x42239a(0x2ca)])_0x17caad+=_0x2c8133,_0x5f328b+=_0x40e0ae;else{_0x17caad+='...';break;}}_0x2dbd8e['fillText'](_0x17caad,_0x31b586,_0x548576);}else _0x2dbd8e[_0x42239a(0x254)](_0x3f967b,_0x31b586,_0x548576);_0x2dbd8e[_0x42239a(0x19f)]();}[_0x50a7d0(0x1f5)](_0x5f2c9d){const _0x2a4e46=_0x50a7d0;wt[_0x2a4e46(0x2e4)](_0x5f2c9d,this);}}const kt='collab-text-anchor-',Zo=_0x50a7d0(0x1e0),Qo=_0x50a7d0(0x2e0),Je=0x6,ea=1.5,Wt=0x4,ta=1.5,sa=_0x50a7d0(0x298);class Zs{constructor(_0x325cb3,_0xc87e7c,_0x268ce2,_0x3c536a){const _0x58a8ee=_0x50a7d0;g(this,_0x58a8ee(0x38f),[]),g(this,_0x58a8ee(0x11c),null),g(this,_0x58a8ee(0x4ce),null),g(this,_0x58a8ee(0x327),null),g(this,_0x58a8ee(0x3d9),null),g(this,_0x58a8ee(0x399),null),(this[_0x58a8ee(0x38e)]=_0x325cb3,this[_0x58a8ee(0x456)]=_0xc87e7c,this[_0x58a8ee(0x37b)]=_0x268ce2,this[_0x58a8ee(0xda)]=_0x3c536a,this[_0x58a8ee(0x1b5)]());}set[_0x50a7d0(0x1d1)](_0x1a0bc8){const _0x2396cd=_0x50a7d0;_0x1a0bc8?(this[_0x2396cd(0x327)]&&this[_0x2396cd(0x327)][_0x2396cd(0x1dc)](),this[_0x2396cd(0x4ce)]&&this[_0x2396cd(0x4ce)]['show']()):(this[_0x2396cd(0x327)]&&this[_0x2396cd(0x327)]['show'](),this[_0x2396cd(0x4ce)]&&this[_0x2396cd(0x4ce)][_0x2396cd(0x1dc)]());}[_0x50a7d0(0x45c)](){const _0x2386a6=_0x50a7d0;for(const _0x2391fc of this['_shapes'])_0x2391fc[_0x2386a6(0x45c)]();this[_0x2386a6(0x4ce)]&&this[_0x2386a6(0x4ce)][_0x2386a6(0x45c)](),this[_0x2386a6(0x327)]&&this[_0x2386a6(0x327)][_0x2386a6(0x45c)](),this[_0x2386a6(0x11c)]&&this[_0x2386a6(0x11c)][_0x2386a6(0x45c)](),this[_0x2386a6(0x399)]&&this[_0x2386a6(0x399)]();}[_0x50a7d0(0x1b5)](){const _0x3a6ce3=_0x50a7d0;var _0x1c478e;const {_docSkeleton:_0x1e3f1,_document:_0x169ca5}=this,{color:_0x77cb67,name:_0x5e0f02,ranges:_0x4e4d29}=this[_0x3a6ce3(0x38e)],_0xc1ac40=_0x169ca5[_0x3a6ce3(0x454)](),{docsLeft:_0x4030a9,docsTop:_0x4c02c9}=_0xc1ac40,_0x4b5f12=new _0x34ed6a(_0xc1ac40,_0x1e3f1);for(const {startOffset:_0x5ce112,endOffset:_0x114150,rangeType:_0x36f36f,segmentId:_0x159caa,segmentPage:_0x204c68,collapsed:_0x3f702c,isActive:_0x4214e2}of _0x4e4d29){const _0xd70088=_0x1e3f1[_0x3a6ce3(0x44c)](_0x5ce112,!0x0,_0x159caa,_0x204c68);let _0xf90af4=_0x1e3f1[_0x3a6ce3(0x44c)](_0x114150,!0x0,_0x159caa,_0x204c68);if(_0xf90af4==null&&(_0xf90af4=_0x1e3f1[_0x3a6ce3(0x44c)](_0x114150-0x1,!0x1,_0x159caa,_0x204c68)),_0x4214e2){const {contentBoxPointGroup:_0x3e1a66}=_0x4b5f12[_0x3a6ce3(0x25f)](_0xf90af4,_0xf90af4);if(_0x3e1a66[_0x3a6ce3(0x1d0)]===0x0)continue;this['_drawAnchor'](_0x77cb67,_0x3e1a66,_0x4030a9,_0x4c02c9,_0x5e0f02),this[_0x3a6ce3(0x399)]=this[_0x3a6ce3(0x393)]();}if(_0xd70088&&_0xf90af4){if(_0x36f36f===_0x2b344d[_0x3a6ce3(0x357)]){const _0x410b91=new _0x16a980(_0xc1ac40,_0x1e3f1),{pointGroup:_0x51a979}=(_0x1c478e=_0x410b91[_0x3a6ce3(0x25f)](_0xd70088,_0xf90af4))!=null?_0x1c478e:{};if(_0x51a979==null||_0x51a979[_0x3a6ce3(0x1d0)]===0x0)continue;this[_0x3a6ce3(0x338)](_0x77cb67,_0x51a979,_0x4030a9,_0x4c02c9);}else{if(!_0x3f702c){const {borderBoxPointGroup:_0x48098c}=_0x4b5f12[_0x3a6ce3(0x25f)](_0xd70088,_0xf90af4);if(_0x48098c['length']===0x0)continue;this[_0x3a6ce3(0x46b)](_0x77cb67,_0x48098c,_0x4030a9,_0x4c02c9);}}}}}['_drawAnchor'](_0x3a1b81,_0x4f7a23,_0xdb37de,_0x11bca8,_0x196d96){const _0x3c0dd2=_0x50a7d0,_0x461ebe=this[_0x3c0dd2(0x1d7)](_0x4f7a23),{left:_0xd6c73c,top:_0xdd7288,height:_0x493130}=_0x461ebe,_0x59e858=this[_0x3c0dd2(0x362)](),_0x570c3a=ta/_0x59e858,_0x201292=new _0x502301(kt+_0x378638[_0x3c0dd2(0x12a)](Je),{'left':_0xd6c73c+_0xdb37de-_0x570c3a,'top':_0xdd7288+_0x11bca8,'height':_0x493130,'width':ea,'fill':_0x3a1b81||_0x267fcd(_0x461fc5[_0x3c0dd2(0x15f)],0x0),'strokeWidth':_0x570c3a,'stroke':sa,'evented':!0x0});this[_0x3c0dd2(0x11c)]=_0x201292,this['_scene'][_0x3c0dd2(0x154)](_0x201292,_0x2d2bdf);const _0x17eceb=new _0x502301(kt+_0x378638[_0x3c0dd2(0x12a)](Je),{'left':_0xd6c73c+_0xdb37de-_0x570c3a,'top':_0xdd7288+_0x11bca8-Wt/0x2,'height':Wt,'width':Wt,'fill':_0x3a1b81||_0x267fcd(_0x461fc5[_0x3c0dd2(0x15f)],0x0),'strokeWidth':0x0,'stroke':_0x3a1b81||_0x267fcd(_0x461fc5[_0x3c0dd2(0x15f)],0x0),'evented':!0x1});this[_0x3c0dd2(0x327)]=_0x17eceb,this[_0x3c0dd2(0x456)]['addObject'](_0x17eceb,_0x2d2bdf);const _0x4e2e5f=new wt(kt+_0x378638[_0x3c0dd2(0x12a)](Je),{'left':_0xd6c73c+_0xdb37de-_0x570c3a,'top':_0xdd7288+_0x11bca8-rt,'text':_0x196d96,'color':_0x3a1b81});this['_textBubble']=_0x4e2e5f,this['_scene']['addObject'](_0x4e2e5f,_0x2d2bdf),this[_0x3c0dd2(0x1d1)]=!0x1;}[_0x50a7d0(0x393)](){const _0x18f5cf=_0x50a7d0,_0x5e2bdb=this[_0x18f5cf(0x11c)][_0x18f5cf(0x3ab)][_0x18f5cf(0x1c9)](()=>{const _0x5861e6=_0x18f5cf;this[_0x5861e6(0x1d1)]=!0x0;}),_0x59f13b=this['_anchor'][_0x18f5cf(0x1ac)]['subscribeEvent'](()=>{const _0x369a6a=_0x18f5cf;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x369a6a(0x3d9)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x209a59=_0x18f5cf;_0x5e2bdb[_0x209a59(0x4b2)](),_0x59f13b[_0x209a59(0x4b2)]();};}['_drawTextRange'](_0x3a132d,_0x46f0cb,_0xdff8c9,_0x5d9d21){const _0x445c01=_0x50a7d0,_0x447d8e=new _0x3567ae(_0x3a132d)[_0x445c01(0x398)](0.2)['toRgbString'](),_0x3cd262=new _0x2a0302(Zo+_0x378638[_0x445c01(0x12a)](Je),{'pointsGroup':_0x46f0cb,'fill':_0x447d8e||_0x267fcd(_0x461fc5[_0x445c01(0x15f)],0.2),'left':_0xdff8c9,'top':_0x5d9d21,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x445c01(0x38f)][_0x445c01(0xc6)](_0x3cd262),this['_scene'][_0x445c01(0x154)](_0x3cd262,_0x2d2bdf);}[_0x50a7d0(0x338)](_0x52d8a2,_0x11a8f7,_0x265adb,_0x5ee66f){const _0x4e3703=_0x50a7d0,_0x11383c=new _0x3567ae(_0x52d8a2)[_0x4e3703(0x398)](0.2)[_0x4e3703(0x49a)](),_0x5a7ce4=new _0x2a0302(Qo+_0x378638[_0x4e3703(0x12a)](Je),{'pointsGroup':_0x11a8f7,'fill':_0x11383c||_0x267fcd(_0x461fc5[_0x4e3703(0x15f)],0.2),'left':_0x265adb,'top':_0x5ee66f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e3703(0x38f)]['push'](_0x5a7ce4),this['_scene'][_0x4e3703(0x154)](_0x5a7ce4,_0x2d2bdf);}[_0x50a7d0(0x1d7)](_0x4c7e4e){const _0x52802d=_0x4c7e4e[0x0],_0x1f974b=_0x52802d[0x0],_0x3fee62=_0x52802d[0x2],{x:_0x539afe,y:_0x5b92f7}=_0x1f974b,{x:_0x781ef,y:_0x396d99}=_0x3fee62;return{'left':_0x539afe,'top':_0x5b92f7,'width':_0x781ef-_0x539afe,'height':_0x396d99-_0x5b92f7};}[_0x50a7d0(0x362)](){const _0xc1a347=_0x50a7d0,{scaleX:_0xec05af,scaleY:_0x49c86f}=this[_0xc1a347(0x456)]['getAncestorScale']();return Math[_0xc1a347(0x319)](_0xec05af,_0x49c86f);}}var ia=Object[_0x50a7d0(0x15c)],ra=Object[_0x50a7d0(0x18b)],na=(_0x1672c6,_0x336655,_0x359bb7,_0x3c012a)=>{const _0x5c4413=_0x50a7d0;for(var _0x241326=_0x3c012a>0x1?void 0x0:_0x3c012a?ra(_0x336655,_0x359bb7):_0x336655,_0x36669d=_0x1672c6[_0x5c4413(0x1d0)]-0x1,_0x1d7011;_0x36669d>=0x0;_0x36669d--)(_0x1d7011=_0x1672c6[_0x36669d])&&(_0x241326=(_0x3c012a?_0x1d7011(_0x336655,_0x359bb7,_0x241326):_0x1d7011(_0x241326))||_0x241326);return _0x3c012a&&_0x241326&&ia(_0x336655,_0x359bb7,_0x241326),_0x241326;},ct=(_0x3dc01e,_0x235e7b)=>(_0x1223a,_0x1fb885)=>_0x235e7b(_0x1223a,_0x1fb885,_0x3dc01e);let cs=class extends _0x2983d9{constructor(_0x2886fd,_0x40a0ba,_0x2b17f6,_0x20ccdf,_0x5aaaf0){const _0x51414b=_0x50a7d0;super(),g(this,'_cursorShapes',[]),g(this,_0x51414b(0x1a2),[]),(this['_context']=_0x2886fd,this[_0x51414b(0x446)]=_0x40a0ba,this[_0x51414b(0x12f)]=_0x2b17f6,this['_commandService']=_0x20ccdf,this[_0x51414b(0x3da)]=_0x5aaaf0,this['_init']());}['_init'](){const _0x228864=_0x50a7d0,_0x412c0d=this[_0x228864(0x385)][_0x228864(0x258)],_0xd4348f=this['_docSkeletonManagerService'];this[_0x228864(0x450)](_0x5bce60([this[_0x228864(0x12f)]['getCollabCursors$'](_0x412c0d),this[_0x228864(0x3da)][_0x228864(0x4c4)]])['pipe'](_0xe5458e(([_0x152a07,_0x5e2508])=>({'skeleton':_0xd4348f[_0x228864(0x14d)](),'cursors':[..._0x152a07['values']()][_0x228864(0x232)](_0x21c5a4=>({..._0x21c5a4,'color':_0x5e2508[_0x21c5a4[_0x228864(0x3f5)]]}))})))[_0x228864(0x479)](_0x23c809=>{const _0xa8ca6c=_0x228864;if(this[_0xa8ca6c(0x488)](),_0x23c809){const {skeleton:_0x199873,cursors:_0x1e68fe}=_0x23c809;this[_0xa8ca6c(0x261)](_0x199873,_0x1e68fe);}})),this[_0x228864(0xb2)](),this[_0x228864(0x2e5)]();}[_0x50a7d0(0x261)](_0x3d6f1a,_0x4171f9){const _0x37098d=_0x50a7d0,{scene:_0x498f07,mainComponent:_0x46d16f}=this['_context'],_0x14c207=_0x4171f9[_0x37098d(0x360)](_0x1c5cb7=>new Zs(_0x1c5cb7,_0x498f07,_0x3d6f1a,_0x46d16f));this['_cursorShapes']=_0x14c207,this[_0x37098d(0x1a2)]=_0x4171f9;}['_refreshCollabCursors'](){const _0x1b1a78=_0x50a7d0;this[_0x1b1a78(0x488)]();const {scene:_0x50c40c,mainComponent:_0x370d7b}=this['_context'],_0x20c487=this[_0x1b1a78(0x446)][_0x1b1a78(0x14d)](),_0x27ca94=this['_cursors']['map'](_0x38f8f8=>new Zs(_0x38f8f8,_0x50c40c,_0x20c487,_0x370d7b));this[_0x1b1a78(0x18e)]=_0x27ca94;}[_0x50a7d0(0x488)](){const _0x4b1afe=_0x50a7d0;this['_cursorShapes']['forEach'](_0x3c6119=>_0x3c6119[_0x4b1afe(0x45c)]()),this['_cursorShapes']=[];}[_0x50a7d0(0x2e5)](){const _0x4d14d6=_0x50a7d0,_0x2630ff=[_0x57b946['id']];this['disposeWithMe'](this[_0x4d14d6(0x293)]['onCommandExecuted'](_0x14eab6=>{const _0x2a2dfb=_0x4d14d6;_0x2630ff[_0x2a2dfb(0x409)](_0x14eab6['id'])&&_0x14eab6[_0x2a2dfb(0x4a8)][_0x2a2dfb(0x258)]===this[_0x2a2dfb(0x385)]['unitId']&&this[_0x2a2dfb(0x10c)]();}));}['_initResize'](){const _0x17fb0c=_0x50a7d0;this[_0x17fb0c(0x450)](_0x3f0bbd(this[_0x17fb0c(0x385)][_0x17fb0c(0x478)][_0x17fb0c(0xed)])['pipe'](_0x7d8aef(_0x32d4b1=>_0x32d4b1[_0x17fb0c(0x105)]===_0xe166d6['resize']),_0x755a89(0x10))[_0x17fb0c(0x479)](()=>{const _0x39d90b=_0x17fb0c;this[_0x39d90b(0x10c)]();}));}};cs=na([ct(0x1,_0x33026a(_0x10e516)),ct(0x2,_0x33026a(Ve)),ct(0x3,_0x2e05f8),ct(0x4,_0x33026a(_0x466ca0))],cs);const oa=0x1,aa=1.5;class ca extends _0x1626cc{constructor(_0x56685e,_0x332a76){const _0x8b1299=_0x50a7d0;super(_0x56685e,_0x332a76),g(this,_0x8b1299(0x1e6)),g(this,_0x8b1299(0x252),!0x1),g(this,_0x8b1299(0x2e2)),g(this,_0x8b1299(0x3d0),''),g(this,_0x8b1299(0x31e),_0x8b1299(0x32a)),g(this,_0x8b1299(0x3f3)),(_0x332a76&&this[_0x8b1299(0x28a)](_0x332a76),this[_0x8b1299(0x3ab)]['subscribeEvent'](()=>this[_0x8b1299(0x28a)]({'hovered':!0x0})),this[_0x8b1299(0x1ac)][_0x8b1299(0x1c9)](()=>this[_0x8b1299(0x28a)]({'hovered':!0x1})));}[_0x50a7d0(0x28a)](_0x340a41){const _0x16beb7=_0x50a7d0;var _0x5e5840,_0x54eeee,_0x21aa52,_0x480513,_0x1edc68,_0x32348b;this[_0x16beb7(0x1e6)]=(_0x5e5840=_0x340a41[_0x16beb7(0x3f5)])!=null?_0x5e5840:this[_0x16beb7(0x1e6)],this[_0x16beb7(0x252)]=(_0x54eeee=_0x340a41[_0x16beb7(0x173)])!=null?_0x54eeee:this[_0x16beb7(0x252)],this['_range']=(_0x21aa52=_0x340a41[_0x16beb7(0x2ba)])!=null?_0x21aa52:this[_0x16beb7(0x2e2)],this[_0x16beb7(0x3d0)]=(_0x480513=_0x340a41[_0x16beb7(0x125)])!=null?_0x480513:this[_0x16beb7(0x3d0)],this[_0x16beb7(0x31e)]=(_0x1edc68=_0x340a41['labelPosition'])!=null?_0x1edc68:this[_0x16beb7(0x31e)],this[_0x16beb7(0x3f3)]=(_0x32348b=_0x340a41[_0x16beb7(0x47e)])!=null?_0x32348b:this[_0x16beb7(0x3f3)],this['transformByState']({'width':_0x340a41[_0x16beb7(0x2ca)],'height':_0x340a41[_0x16beb7(0x452)]});}[_0x50a7d0(0x3c1)](_0x5c1614){const _0x25de5a=_0x50a7d0,{row:_0x159881,column:_0x2b588c}=_0x5c1614;if(_0x159881>=this['_range'][_0x25de5a(0x216)]&&_0x159881<=this[_0x25de5a(0x2e2)]['endRow']&&_0x2b588c>=this['_range'][_0x25de5a(0x148)]&&_0x2b588c<=this['_range'][_0x25de5a(0x2d3)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x25de5a(0x28a)]({'hovered':!0x1});}['triggerDblclick'](_0xbc1ab2){return!0x1;}[_0x50a7d0(0x1f5)](_0xda9457){const _0x1a32ab=_0x50a7d0;_0x502301[_0x1a32ab(0x2e4)](_0xda9457,{'width':this[_0x1a32ab(0x2ca)],'height':this[_0x1a32ab(0x452)],'strokeWidth':aa,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x1a32ab(0x252)]&&(_0xda9457[_0x1a32ab(0x1c4)](),_0xda9457[_0x1a32ab(0x1c3)](0x1,0x0,0x0,0x1,this[_0x1a32ab(0x2ca)],this[_0x1a32ab(0x31e)]===_0x1a32ab(0xe2)?0x0:-rt),wt[_0x1a32ab(0x2e4)](_0xda9457,{'text':this[_0x1a32ab(0x3d0)],'color':this['_color']}),_0xda9457[_0x1a32ab(0x19f)]());}}var ha=Object[_0x50a7d0(0x15c)],la=Object[_0x50a7d0(0x18b)],_a=(_0x409b34,_0x583c62,_0x5b05e2,_0x2352a5)=>{for(var _0x4ab2c2=_0x2352a5>0x1?void 0x0:_0x2352a5?la(_0x583c62,_0x5b05e2):_0x583c62,_0x3ea81a=_0x409b34['length']-0x1,_0x5e5f63;_0x3ea81a>=0x0;_0x3ea81a--)(_0x5e5f63=_0x409b34[_0x3ea81a])&&(_0x4ab2c2=(_0x2352a5?_0x5e5f63(_0x583c62,_0x5b05e2,_0x4ab2c2):_0x5e5f63(_0x4ab2c2))||_0x4ab2c2);return _0x2352a5&&_0x4ab2c2&&ha(_0x583c62,_0x5b05e2,_0x4ab2c2),_0x4ab2c2;},Ft=(_0x1a5b5f,_0x3d2f54)=>(_0x4723a8,_0x362580)=>_0x3d2f54(_0x4723a8,_0x362580,_0x1a5b5f);const ua=0x1389;let hs=class extends _0x2983d9{constructor(_0x47fedc,_0x5a6a31,_0x194c73,_0x1d3fb6){const _0x31f7fb=_0x50a7d0;super(),g(this,_0x31f7fb(0x1a2),new Set()),g(this,'_lastPointer',null),(this[_0x31f7fb(0x385)]=_0x47fedc,this[_0x31f7fb(0x438)]=_0x5a6a31,this[_0x31f7fb(0x12f)]=_0x194c73,this['_themeService']=_0x1d3fb6,this[_0x31f7fb(0x1a9)]());}[_0x50a7d0(0x1a9)](){const _0x4ed610=_0x50a7d0;this[_0x4ed610(0x438)]['currentSkeleton$'][_0x4ed610(0x157)](_0x3d76fb(this['dispose$']),_0x147bb3(_0xc4d912=>{const _0x3344f1=_0x4ed610;if(_0xc4d912){const _0x1d7ea2=_0xc4d912[_0x3344f1(0x186)];return _0x5bce60(this['_collabCursorController'][_0x3344f1(0x430)](this['_context']['unitId']),this[_0x3344f1(0x3da)][_0x3344f1(0x4c4)])[_0x3344f1(0x157)](_0xe5458e(([_0x142f6c,_0x48725e])=>{const _0x4f84d1=_0x3344f1,_0x1c39ea=new Map();return _0x142f6c[_0x4f84d1(0x375)]((_0x34ae65,_0x4afa5d)=>{const _0x47f850=_0x4f84d1;if(_0x34ae65[_0x47f850(0x3d4)]===_0x1d7ea2){const _0xff1188={..._0x34ae65};_0xff1188['color']=_0x48725e[_0x34ae65[_0x47f850(0x3f5)]],_0x1c39ea['set'](_0x4afa5d,_0xff1188);}}),{'skeleton':_0xc4d912,'cursors':_0x1c39ea};}));}return _0x40848f({'skeleton':null,'cursors':new Map()});}))[_0x4ed610(0x479)](({skeleton:_0x2dc729,cursors:_0x3f8281})=>{const _0xc0f90f=_0x4ed610;this['_removeCollabCursors'](),_0x2dc729&&this[_0xc0f90f(0x261)](_0x2dc729,_0x3f8281);}),this[_0x4ed610(0x438)][_0x4ed610(0x1fd)][_0x4ed610(0x479)](_0x4ba1fe=>{const _0x4a33f7=_0x4ed610;if(_0x4ba1fe==null)return;const {skeleton:_0x20f5da}=_0x4ba1fe,{scene:_0x373cff}=this[_0x4a33f7(0x385)];_0x373cff['onPointerMove$'][_0x4a33f7(0x1c9)](_0x10313f(_0x598267=>{const _0xe6bf5c=_0x4a33f7;var _0x2bae5b,_0x3d977a;const {offsetX:_0x1a74ad,offsetY:_0x441ff8}=_0x598267,{x:_0x28b425,y:_0x436a93}=_0x373cff['getRelativeToViewportCoord'](_0x47811b[_0xe6bf5c(0x36e)]([_0x1a74ad,_0x441ff8])),{scaleX:_0x20134e,scaleY:_0x407286}=_0x373cff[_0xe6bf5c(0x2d8)](),_0x1ce047=_0x373cff[_0xe6bf5c(0x303)](_0x54d40e['VIEW_MAIN']),_0x30868e=_0x373cff[_0xe6bf5c(0xf3)](_0x47811b['FromArray']([_0x28b425,_0x436a93]),_0x1ce047),_0x167e88=_0x20f5da['getCellPositionByOffset'](_0x1a74ad,_0x441ff8,_0x20134e,_0x407286,_0x30868e);((_0x2bae5b=this['_lastPointer'])==null?void 0x0:_0x2bae5b[_0xe6bf5c(0x49b)])===_0x167e88[_0xe6bf5c(0x49b)]&&((_0x3d977a=this[_0xe6bf5c(0x244)])==null?void 0x0:_0x3d977a[_0xe6bf5c(0x35a)])===_0x167e88[_0xe6bf5c(0x35a)]||this[_0xe6bf5c(0x1a2)]['forEach'](_0x2860b9=>{_0x2860b9['onMouseMove'](_0x167e88);});},0x64));});}[_0x50a7d0(0x261)](_0x4fd153,_0x427f4d){const _0x26b6d1=_0x50a7d0;var _0x2b9155;const _0x3919e5=(_0x2b9155=this[_0x26b6d1(0x438)][_0x26b6d1(0x4a5)]())==null?void 0x0:_0x2b9155['skeleton'];if(!_0x3919e5)return;const _0x2e601a=this[_0x26b6d1(0x315)]();if(!_0x2e601a)return;this['_cursors']['forEach'](_0x26929a=>{const _0x19d744=_0x26b6d1;_0x26929a[_0x19d744(0x493)]();});const {scene:_0x3cbbc9}=_0x2e601a,_0x84a473=da(Array[_0x26b6d1(0x3bf)](_0x427f4d[_0x26b6d1(0x410)]()))['map'](_0x517841=>{const _0x418dd2=_0x26b6d1,{color:_0x515b96,range:_0x258fa2,name:_0x3d29a3,selection:_0x4b7c4c,sheetID:_0x27a21c}=_0x517841,{startColumn:_0x337128,startRow:_0x33cac0,endColumn:_0xe1e4de,endRow:_0x30ca95}=_0x258fa2,_0x42a6e2=_0x1070d0(_0x33cac0,_0x337128,_0x3cbbc9,_0x3919e5),_0x5d3dde=_0x1070d0(_0x30ca95,_0xe1e4de,_0x3cbbc9,_0x3919e5),{columnHeaderHeightAndMarginTop:_0x51cc24}=_0x3919e5,{startX:_0x3415eb,startY:_0x19933f}=_0x42a6e2,{endX:_0x290dbf,endY:_0x584691}=_0x5d3dde,_0x5a9acd=_0x290dbf-_0x3415eb,_0x3f2d3d=_0x584691-_0x19933f,_0x467391={'labelPosition':_0x19933f-_0x51cc24>=rt?_0x418dd2(0x32a):'bottom','sheetID':_0x27a21c,'range':_0x258fa2,'color':_0x515b96,'name':_0x3d29a3,'selection':_0x4b7c4c,'left':_0x3415eb,'top':_0x19933f,'width':_0x5a9acd,'height':_0x3f2d3d,'evented':!0x1,'zIndex':ua};return new ca(_0x3d29a3,_0x467391);});_0x3cbbc9['addObjects'](_0x84a473,oa),this[_0x26b6d1(0x1a2)]=new Set(_0x84a473);}[_0x50a7d0(0x488)](){const _0x24c34f=_0x50a7d0;var _0x121099;(_0x121099=this[_0x24c34f(0x1a2)])==null||_0x121099[_0x24c34f(0x375)](_0xe05d4e=>_0xe05d4e[_0x24c34f(0x45c)]());}['_getSheetObject'](){const _0x49a8a9=_0x50a7d0;return _0x47d2a2(this['_context'][_0x49a8a9(0x1d9)],this['_context']);}};hs=_a([Ft(0x1,_0x33026a(_0xb45b1b)),Ft(0x2,_0x33026a(Ve)),Ft(0x3,_0x33026a(_0x466ca0))],hs);function da(_0x17b230){const _0x5edca7=_0x50a7d0,_0x55e1e5=new Map();return _0x17b230['forEach'](_0x6df9d8=>{const _0x408d2f=_0xc944;if(_0x55e1e5[_0x408d2f(0x28d)](_0x6df9d8[_0x408d2f(0x227)])){const _0x281314=_0x55e1e5['get'](_0x6df9d8[_0x408d2f(0x227)]);_0x281314[_0x408d2f(0x125)]+=',\x20'+_0x6df9d8['name'];}else _0x55e1e5[_0x408d2f(0x2ce)](_0x6df9d8['selection'],_0x6df9d8);}),Array[_0x5edca7(0x3bf)](_0x55e1e5['values']());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0xfc4ad5){const _0x43d9ac=_0x50a7d0;return _0xfc4ad5&&_0xfc4ad5[_0x43d9ac(0x304)]&&Object[_0x43d9ac(0x155)][_0x43d9ac(0x2ea)][_0x43d9ac(0x2a1)](_0xfc4ad5,_0x43d9ac(0x17c))?_0xfc4ad5[_0x43d9ac(0x17c)]:_0xfc4ad5;}var Bi={'exports':{}},Dt={},fa=_0x4b9c5e,va=Symbol[_0x50a7d0(0x24d)](_0x50a7d0(0x370)),ma=Symbol[_0x50a7d0(0x24d)](_0x50a7d0(0x4c8)),pa=Object[_0x50a7d0(0x155)][_0x50a7d0(0x2ea)],ga=fa['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x50a7d0(0x242)],Sa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function ki(_0xa25987,_0x1e629c,_0x1f415c){const _0x4e72be=_0x50a7d0;var _0x5e9d63,_0x3f448f={},_0x4e66ab=null,_0x2d8830=null;_0x1f415c!==void 0x0&&(_0x4e66ab=''+_0x1f415c),_0x1e629c['key']!==void 0x0&&(_0x4e66ab=''+_0x1e629c[_0x4e72be(0x31f)]),_0x1e629c[_0x4e72be(0x351)]!==void 0x0&&(_0x2d8830=_0x1e629c[_0x4e72be(0x351)]);for(_0x5e9d63 in _0x1e629c)pa[_0x4e72be(0x2a1)](_0x1e629c,_0x5e9d63)&&!Sa[_0x4e72be(0x2ea)](_0x5e9d63)&&(_0x3f448f[_0x5e9d63]=_0x1e629c[_0x5e9d63]);if(_0xa25987&&_0xa25987[_0x4e72be(0x2b0)]){for(_0x5e9d63 in(_0x1e629c=_0xa25987['defaultProps'],_0x1e629c))_0x3f448f[_0x5e9d63]===void 0x0&&(_0x3f448f[_0x5e9d63]=_0x1e629c[_0x5e9d63]);}return{'$$typeof':va,'type':_0xa25987,'key':_0x4e66ab,'ref':_0x2d8830,'props':_0x3f448f,'_owner':ga[_0x4e72be(0x29c)]};}Dt['Fragment']=ma,Dt[_0x50a7d0(0x23f)]=ki,Dt[_0x50a7d0(0x320)]=ki,Bi[_0x50a7d0(0x480)]=Dt;var Pe=Bi[_0x50a7d0(0x480)],se=function(){const _0xc8a612=_0x50a7d0;return se=Object[_0xc8a612(0x337)]||function(_0x470526){const _0x4984d8=_0xc8a612;for(var _0x1aa514,_0x47de3a=0x1,_0x568002=arguments[_0x4984d8(0x1d0)];_0x47de3a<_0x568002;_0x47de3a++){_0x1aa514=arguments[_0x47de3a];for(var _0xa8f7c2 in _0x1aa514)Object[_0x4984d8(0x155)]['hasOwnProperty']['call'](_0x1aa514,_0xa8f7c2)&&(_0x470526[_0xa8f7c2]=_0x1aa514[_0xa8f7c2]);}return _0x470526;},se[_0xc8a612(0x335)](this,arguments);},Ia=function(_0x2661f6,_0x52f355){const _0x3dffdd=_0x50a7d0;var _0xfadb02={};for(var _0x1264ff in _0x2661f6)Object[_0x3dffdd(0x155)]['hasOwnProperty'][_0x3dffdd(0x2a1)](_0x2661f6,_0x1264ff)&&_0x52f355['indexOf'](_0x1264ff)<0x0&&(_0xfadb02[_0x1264ff]=_0x2661f6[_0x1264ff]);if(_0x2661f6!=null&&typeof Object[_0x3dffdd(0x391)]==_0x3dffdd(0x36c)){for(var _0x50b907=0x0,_0x1264ff=Object[_0x3dffdd(0x391)](_0x2661f6);_0x50b907<_0x1264ff[_0x3dffdd(0x1d0)];_0x50b907++)_0x52f355['indexOf'](_0x1264ff[_0x50b907])<0x0&&Object['prototype'][_0x3dffdd(0x10b)][_0x3dffdd(0x2a1)](_0x2661f6,_0x1264ff[_0x50b907])&&(_0xfadb02[_0x1264ff[_0x50b907]]=_0x2661f6[_0x1264ff[_0x50b907]]);}return _0xfadb02;},ys=_0x447627(function(_0x4a20bb,_0x430225){const _0x1a002f=_0x50a7d0;var _0xa0b81=_0x4a20bb[_0x1a002f(0x132)],_0x5f2f96=_0x4a20bb['id'],_0xbf310e=_0x4a20bb[_0x1a002f(0x45f)],_0x1136d4=_0x4a20bb[_0x1a002f(0x229)],_0x511032=Ia(_0x4a20bb,[_0x1a002f(0x132),'id',_0x1a002f(0x45f),_0x1a002f(0x229)]),_0x4a8160=_0x1a002f(0x33f)[_0x1a002f(0x10e)](_0x5f2f96,'\x20')['concat'](_0xbf310e||'')[_0x1a002f(0xd9)](),_0xd22f1a=_0x244bad('_'[_0x1a002f(0x10e)](ba()));return Wi(_0xa0b81,''[_0x1a002f(0x10e)](_0x5f2f96),{'defIds':_0xa0b81['defIds'],'idSuffix':_0xd22f1a[_0x1a002f(0x29c)]},se({'ref':_0x430225,'className':_0x4a8160},_0x511032),_0x1136d4);});function Wi(_0x490c1d,_0x2288ac,_0x2dfcba,_0x359109,_0x42b62b){const _0x35eb12=_0x50a7d0;return _0x513a66(_0x490c1d[_0x35eb12(0x3ef)],se(se({'key':_0x2288ac},Ca(_0x490c1d,_0x2dfcba,_0x42b62b)),_0x359109),(Ea(_0x490c1d,_0x2dfcba)[_0x35eb12(0x181)]||[])[_0x35eb12(0x360)](function(_0x2e46fa,_0x5e194b){const _0x26d1a6=_0x35eb12;return Wi(_0x2e46fa,''['concat'](_0x2288ac,'-')['concat'](_0x490c1d[_0x26d1a6(0x3ef)],'-')[_0x26d1a6(0x10e)](_0x5e194b),_0x2dfcba,void 0x0,_0x42b62b);}));}function Ca(_0x154cfa,_0x64c966,_0x20707f){const _0x8e219d=_0x50a7d0;var _0x307bc9=se({},_0x154cfa[_0x8e219d(0x340)]);_0x20707f!=null&&_0x20707f[_0x8e219d(0xb6)]&&_0x307bc9[_0x8e219d(0x322)]===_0x8e219d(0xb6)&&(_0x307bc9['fill']=_0x20707f['colorChannel1']);var _0x521d4d=_0x64c966[_0x8e219d(0x380)];return!_0x521d4d||_0x521d4d[_0x8e219d(0x1d0)]===0x0||(_0x154cfa['tag']==='use'&&_0x307bc9[_0x8e219d(0x4c1)]&&(_0x307bc9[_0x8e219d(0x4c1)]=_0x307bc9[_0x8e219d(0x4c1)]+_0x64c966[_0x8e219d(0x1b7)]),Object[_0x8e219d(0x379)](_0x307bc9)[_0x8e219d(0x375)](function(_0x3630fa){const _0x2b5e98=_0x8e219d;var _0x3c7c60=_0x3630fa[0x0],_0x3a545d=_0x3630fa[0x1];typeof _0x3a545d==_0x2b5e98(0x218)&&(_0x307bc9[_0x3c7c60]=_0x3a545d[_0x2b5e98(0x226)](/url\(#(.*)\)/,_0x2b5e98(0xbb)[_0x2b5e98(0x10e)](_0x64c966[_0x2b5e98(0x1b7)],')')));})),_0x307bc9;}function Ea(_0x3c3096,_0x4a31fd){const _0x1d6042=_0x50a7d0;var _0x410b3b,_0x51a933=_0x4a31fd[_0x1d6042(0x380)];return!_0x51a933||_0x51a933[_0x1d6042(0x1d0)]===0x0?_0x3c3096:_0x3c3096[_0x1d6042(0x3ef)]===_0x1d6042(0x214)&&(!((_0x410b3b=_0x3c3096[_0x1d6042(0x181)])===null||_0x410b3b===void 0x0)&&_0x410b3b[_0x1d6042(0x1d0)])?se(se({},_0x3c3096),{'children':_0x3c3096[_0x1d6042(0x181)][_0x1d6042(0x360)](function(_0x57e616){const _0x5dc8d1=_0x1d6042;return typeof _0x57e616[_0x5dc8d1(0x340)]['id']==_0x5dc8d1(0x218)&&_0x51a933&&_0x51a933[_0x5dc8d1(0x299)](_0x57e616['attrs']['id'])>-0x1?se(se({},_0x57e616),{'attrs':se(se({},_0x57e616[_0x5dc8d1(0x340)]),{'id':_0x57e616['attrs']['id']+_0x4a31fd[_0x5dc8d1(0x1b7)]})}):_0x57e616;})}):_0x3c3096;}function ba(){const _0x38213e=_0x50a7d0;return Math[_0x38213e(0x220)]()['toString'](0x24)[_0x38213e(0x19d)](0x2,0x8);}ys['displayName']=_0x50a7d0(0x3b0);var Ta={'tag':'svg','attrs':{'fill':_0x50a7d0(0x1ab),'viewBox':_0x50a7d0(0x2bd),'width':_0x50a7d0(0x271),'height':_0x50a7d0(0x271)},'children':[{'tag':'g','attrs':{'clipPath':_0x50a7d0(0x3cc)},'children':[{'tag':_0x50a7d0(0x206),'attrs':{'stroke':_0x50a7d0(0x2ef),'d':_0x50a7d0(0x149),'strokeLinecap':_0x50a7d0(0x34d),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x50a7d0(0x214),'attrs':{},'children':[{'tag':_0x50a7d0(0x4bc),'attrs':{'id':_0x50a7d0(0x124)},'children':[{'tag':_0x50a7d0(0x206),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},Fi=_0x447627(function(_0x556ac0,_0x58b91f){const _0x26587f=_0x50a7d0;return _0x513a66(ys,Object[_0x26587f(0x337)]({},_0x556ac0,{'id':_0x26587f(0x46a),'ref':_0x58b91f,'icon':Ta}));});Fi[_0x50a7d0(0x41b)]=_0x50a7d0(0x250);var Ra={'tag':'svg','attrs':{'fill':_0x50a7d0(0x1ab),'viewBox':_0x50a7d0(0x190),'width':_0x50a7d0(0x271),'height':_0x50a7d0(0x271)},'children':[{'tag':'g','attrs':{'clipPath':_0x50a7d0(0x25b)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x50a7d0(0x1cd),'strokeLinecap':_0x50a7d0(0x34d),'strokeLinejoin':_0x50a7d0(0x34d),'strokeWidth':1.2}}]},{'tag':_0x50a7d0(0x214),'attrs':{},'children':[{'tag':_0x50a7d0(0x4bc),'attrs':{'id':_0x50a7d0(0x141)},'children':[{'tag':_0x50a7d0(0x206),'attrs':{'fill':_0x50a7d0(0x1ee),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},Vi=_0x447627(function(_0x233b4e,_0x12720c){const _0x7af440=_0x50a7d0;return _0x513a66(ys,Object[_0x7af440(0x337)]({},_0x233b4e,{'id':_0x7af440(0x187),'ref':_0x12720c,'icon':Ra}));});Vi[_0x50a7d0(0x41b)]='OnLineSingle';function Gi(_0x3bcaf0){const _0x5a168e=_0x50a7d0;var _0x1a41b4,_0x5e3221,_0x535f13='';if(typeof _0x3bcaf0=='string'||typeof _0x3bcaf0=='number')_0x535f13+=_0x3bcaf0;else{if(typeof _0x3bcaf0==_0x5a168e(0x3c3)){if(Array[_0x5a168e(0x20e)](_0x3bcaf0)){var _0x2c9810=_0x3bcaf0[_0x5a168e(0x1d0)];for(_0x1a41b4=0x0;_0x1a41b4<_0x2c9810;_0x1a41b4++)_0x3bcaf0[_0x1a41b4]&&(_0x5e3221=Gi(_0x3bcaf0[_0x1a41b4]))&&(_0x535f13&&(_0x535f13+='\x20'),_0x535f13+=_0x5e3221);}else{for(_0x5e3221 in _0x3bcaf0)_0x3bcaf0[_0x5e3221]&&(_0x535f13&&(_0x535f13+='\x20'),_0x535f13+=_0x5e3221);}}}return _0x535f13;}function Oa(){const _0x17b0e6=_0x50a7d0;for(var _0x430360,_0x2e9d73,_0x527667=0x0,_0x5de755='',_0x2d338b=arguments[_0x17b0e6(0x1d0)];_0x527667<_0x2d338b;_0x527667++)(_0x430360=arguments[_0x527667])&&(_0x2e9d73=Gi(_0x430360))&&(_0x5de755&&(_0x5de755+='\x20'),_0x5de755+=_0x2e9d73);return _0x5de755;}const ya=_0x50a7d0(0x45b),wa=_0x50a7d0(0x1c8),Da=_0x50a7d0(0x406),Pa=_0x50a7d0(0x40a),Ua=_0x50a7d0(0x471),Ze={'onlineStatusIcon':ya,'onlineStatusTitle':wa,'onlineStatus':Da,'online':Pa,'offline':Ua};function Na(_0x18f8aa){const _0x218b75=_0x50a7d0;switch(_0x18f8aa){case J[_0x218b75(0x4a2)]:return _0x218b75(0x43c);case J[_0x218b75(0x441)]:return _0x218b75(0x397);case J['FETCH_MISS']:return _0x218b75(0x22f);case J[_0x218b75(0x428)]:return'collabStatus.notCollab';case J['AWAITING']:case J[_0x218b75(0x36f)]:return _0x218b75(0x490);case J[_0x218b75(0x2d9)]:case J[_0x218b75(0x23b)]:return _0x218b75(0x4a6);}}function Aa(_0x298c4a){const _0x12f807=_0x50a7d0,{status$:_0x327ea0}=_0x298c4a,_0x4ed109=_0x30f937(_0x327ea0,J[_0x12f807(0x428)]),_0x2b3a11=_0x4739ca(_0x21b13d),_0x448825=_0x4739ca(xe),_0x481235=_0x4ed109!==J[_0x12f807(0x4a2)],_0x46c568=_0x2b3a11['t'](Na(_0x4ed109)),_0x3d6c10=Oa(Ze[_0x12f807(0x384)],{[Ze[_0x12f807(0x1bc)]]:_0x481235,[Ze[_0x12f807(0x140)]]:!_0x481235}),_0x34030a=_0x481235?Pe[_0x12f807(0x23f)](Vi,{}):Pe[_0x12f807(0x23f)](Fi,{}),_0x387d26=_0x311bd9(()=>{const _0x5be047=_0x12f807;_0x481235||_0x448825[_0x5be047(0x466)]();},[_0x481235,_0x448825]);function _0x20ec19(){const _0x5e451e=_0x12f807;return Pe[_0x5e451e(0x320)]('div',{'className':_0x3d6c10,'onClick':_0x387d26,'children':[Pe[_0x5e451e(0x23f)](_0x5e451e(0xf0),{'className':Ze[_0x5e451e(0x2dc)],'children':_0x34030a}),Pe[_0x5e451e(0x23f)](_0x5e451e(0xf0),{'className':Ze['onlineStatusTitle'],'children':_0x46c568})]});}return _0x481235?_0x20ec19():Pe[_0x12f807(0x23f)](_0x208dab,{'title':_0x2b3a11['t'](_0x12f807(0x189)),'children':_0x20ec19()});}var Ma=Object[_0x50a7d0(0x15c)],xa=Object['getOwnPropertyDescriptor'],La=(_0x43e91c,_0x14f5e4,_0x4a35e9,_0x549721)=>{const _0x46a9f8=_0x50a7d0;for(var _0x3c4288=_0x549721>0x1?void 0x0:_0x549721?xa(_0x14f5e4,_0x4a35e9):_0x14f5e4,_0x273aaa=_0x43e91c[_0x46a9f8(0x1d0)]-0x1,_0x4c8726;_0x273aaa>=0x0;_0x273aaa--)(_0x4c8726=_0x43e91c[_0x273aaa])&&(_0x3c4288=(_0x549721?_0x4c8726(_0x14f5e4,_0x4a35e9,_0x3c4288):_0x4c8726(_0x3c4288))||_0x3c4288);return _0x549721&&_0x3c4288&&Ma(_0x14f5e4,_0x4a35e9,_0x3c4288),_0x3c4288;},ht=(_0x402010,_0x30fc7b)=>(_0x26b221,_0x13e2f6)=>_0x30fc7b(_0x26b221,_0x13e2f6,_0x402010);let Ct=class extends _0x514939{constructor(_0x1542b1,_0x81f375,_0x12e373,_0x3764ef){const _0x6da674=_0x50a7d0;super(),g(this,_0x6da674(0x390),new _0x22472b(J[_0x6da674(0x428)])),(this['_univerInstanceService']=_0x1542b1,this[_0x6da674(0x268)]=_0x81f375,this['_injector']=_0x12e373,this['_collaborationController']=_0x3764ef,this[_0x6da674(0x144)](),this[_0x6da674(0x4b4)]());}[_0x50a7d0(0x4b4)](){const _0x38a0aa=_0x50a7d0;this['disposeWithMe'](this[_0x38a0aa(0x283)][_0x38a0aa(0x171)]['pipe'](_0x150ba9(()=>{const _0x1306e7=_0x38a0aa,_0x27c827=this['_univerInstanceService'][_0x1306e7(0x311)]();return _0x27c827?this[_0x1306e7(0xc7)][_0x1306e7(0x29e)](_0x27c827[_0x1306e7(0x14f)]()):_0x40848f(null);}),_0x150ba9(_0x3a3a8f=>_0x3a3a8f?_0x3a3a8f[_0x38a0aa(0x361)]:_0x40848f(J[_0x38a0aa(0x428)])))[_0x38a0aa(0x479)](_0x3feb22=>{const _0x28207b=_0x38a0aa;this[_0x28207b(0x390)][_0x28207b(0x492)](_0x3feb22);}));}[_0x50a7d0(0x144)](){const _0x2a1b9d=_0x50a7d0;this[_0x2a1b9d(0x450)](this['_uiPartsService']['registerComponent'](_0x1815bd[_0x2a1b9d(0x2a8)],()=>_0x5acef2($a({'status$':this[_0x2a1b9d(0x390)][_0x2a1b9d(0x1e8)]()}),this[_0x2a1b9d(0x408)])));}};Ct=La([ht(0x0,_0x28b990),ht(0x1,_0x43dd49),ht(0x2,_0x33026a(_0x17dae8)),ht(0x3,_0x33026a(it))],Ct);function $a(_0x19cfe8){const {status$:_0x3d853a}=_0x19cfe8;return function(){return Pe['jsx'](Aa,{'status$':_0x3d853a});};}const Yi=_0x17c099('uni.network.url-service');var Ha=Object['defineProperty'],ja=Object[_0x50a7d0(0x18b)],Ba=(_0x413470,_0x59cc8d,_0x4bc95a,_0x2337a0)=>{for(var _0x47930e=_0x2337a0>0x1?void 0x0:_0x2337a0?ja(_0x59cc8d,_0x4bc95a):_0x59cc8d,_0x2b4997=_0x413470['length']-0x1,_0x53ee34;_0x2b4997>=0x0;_0x2b4997--)(_0x53ee34=_0x413470[_0x2b4997])&&(_0x47930e=(_0x2337a0?_0x53ee34(_0x59cc8d,_0x4bc95a,_0x47930e):_0x53ee34(_0x47930e))||_0x47930e);return _0x2337a0&&_0x47930e&&Ha(_0x59cc8d,_0x4bc95a,_0x47930e),_0x47930e;},ke=(_0x349854,_0x5228c5)=>(_0xfd88fb,_0x15c342)=>_0x5228c5(_0xfd88fb,_0x15c342,_0x349854);let Et=class extends _0x2983d9{constructor(_0x5dd0aa,_0x2b16c8,_0x4cb698,_0x87bef,_0x4d85d6,_0x534ab3){const _0x29f960=_0x50a7d0;super(),this['_urlService']=_0x5dd0aa,this['_logService']=_0x2b16c8,this[_0x29f960(0x293)]=_0x4cb698,this[_0x29f960(0x251)]=_0x87bef,this[_0x29f960(0x38c)]=_0x4d85d6,_0x534ab3?_0x534ab3==null||_0x534ab3['whenReady']()[_0x29f960(0x119)](()=>this[_0x29f960(0x1a9)]()):(this[_0x29f960(0x422)][_0x29f960(0x165)]('[DataLoaderController]',_0x29f960(0x15e)),this[_0x29f960(0x1a9)]());}async['_init'](){const _0x2ba4fa=_0x50a7d0,_0x571167=this[_0x2ba4fa(0x334)][_0x2ba4fa(0x460)](_0x2ba4fa(0x1d9)),_0x1513a9=this[_0x2ba4fa(0x334)][_0x2ba4fa(0x460)]('type');if(!_0x571167||!_0x1513a9){this[_0x2ba4fa(0x422)][_0x2ba4fa(0x165)]('[DataLoaderController]',_0x2ba4fa(0x449));return;}switch(Number(_0x1513a9)){case ce['UNIVER_SHEET']:{const _0x5b53ce=await this[_0x2ba4fa(0x418)](_0x571167);this['_setupSubUnitSync'](_0x5b53ce);break;}case ce['UNIVER_DOC']:{await this[_0x2ba4fa(0x3e1)](_0x571167);break;}default:{this[_0x2ba4fa(0x422)][_0x2ba4fa(0x3a2)]('[DataLoaderController]',_0x2ba4fa(0x270));break;}}}async['_setupSubUnitSync'](_0x228f25){const _0x4b4939=_0x50a7d0;await this[_0x4b4939(0x3b1)](_0x228f25),_0x228f25['activeSheet$'][_0x4b4939(0x157)](_0x2b44f7(this[_0x4b4939(0x42e)]))[_0x4b4939(0x479)](_0x6646e5=>{const _0x26c621=_0x4b4939;_0x6646e5&&this[_0x26c621(0x1fb)](_0x6646e5);}),this[_0x4b4939(0x334)][_0x4b4939(0x1e1)][_0x4b4939(0x157)](_0x2b44f7(this[_0x4b4939(0x42e)]))[_0x4b4939(0x479)](()=>this['_updateSubUnitFromURLParams'](_0x228f25));}[_0x50a7d0(0x1fb)](_0x25044d,_0x4bcfc4=!0x1){const _0x11f1c1=_0x50a7d0,_0x13ff56=this[_0x11f1c1(0x334)][_0x11f1c1(0x460)](_0x11f1c1(0x1eb));_0x25044d['getSheetId']()!==_0x13ff56&&this[_0x11f1c1(0x334)][_0x11f1c1(0x236)](_0x11f1c1(0x1eb),_0x25044d[_0x11f1c1(0x1ef)](),_0x4bcfc4);}async[_0x50a7d0(0x3b1)](_0x231bac){const _0x35c2ee=_0x50a7d0;var _0x458c86;const _0x3d3656=this['_urlService'][_0x35c2ee(0x460)](_0x35c2ee(0x1eb));if(!_0x3d3656||!_0x231bac[_0x35c2ee(0x23e)](_0x3d3656)){const _0x37122c=_0x231bac[_0x35c2ee(0x305)]()[0x0],_0x3ad09a=_0x231bac['getSheetBySheetId'](_0x37122c);if(!_0x3ad09a)return;this['_updateURLWithCurrentState'](_0x3ad09a,!0x0),await this[_0x35c2ee(0x293)][_0x35c2ee(0x368)](_0x418451['id'],{'unitId':_0x231bac[_0x35c2ee(0x14f)](),'subUnitId':_0x37122c});return;}((_0x458c86=_0x231bac['getActiveSheet']())==null?void 0x0:_0x458c86[_0x35c2ee(0x1ef)]())!==_0x3d3656&&await this[_0x35c2ee(0x293)][_0x35c2ee(0x368)](_0x418451['id'],{'unitId':_0x231bac['getUnitId'](),'subUnitId':_0x3d3656});}async[_0x50a7d0(0x418)](_0xe4506d){const _0x403c60=_0x50a7d0;let _0x5d3f84=0x0;const _0x1ac91f=await this[_0x403c60(0x251)]['loadOfflineData'](_0xe4506d);return _0x1ac91f&&(_0x1ac91f[_0x403c60(0x16a)]||_0x1ac91f[_0x403c60(0x182)][_0x403c60(0x1d0)]!==0x0)&&(_0x5d3f84=_0x1ac91f[_0x403c60(0x26f)]),_0x5d3f84===0x0&&this[_0x403c60(0x422)]['debug']('[DataLoaderController]',_0x403c60(0x483)),this[_0x403c60(0x38c)][_0x403c60(0x3c8)](_0xe4506d,_0x5d3f84);}async[_0x50a7d0(0x3e1)](_0x4c4cd8){const _0x2423c2=_0x50a7d0;let _0x196e32=0x0;const _0x81c6be=await this[_0x2423c2(0x251)][_0x2423c2(0x342)](_0x4c4cd8);return _0x81c6be&&(_0x81c6be['awaitingChangeset']||_0x81c6be['mutations'][_0x2423c2(0x1d0)]!==0x0)&&(_0x196e32=_0x81c6be[_0x2423c2(0x26f)]),_0x196e32===0x0&&this['_logService']['debug'](_0x2423c2(0xd1),_0x2423c2(0x483)),this[_0x2423c2(0x38c)]['loadDoc'](_0x4c4cd8,_0x196e32);}};Et=Ba([ke(0x0,Yi),ke(0x1,_0x299b7a),ke(0x2,_0x2e05f8),ke(0x3,_0x33026a(q)),ke(0x4,_0x33026a(_0x413c1b)),ke(0x5,_0x380b11(_0x14e6c9))],Et);var ka=Object[_0x50a7d0(0x15c)],Wa=Object['getOwnPropertyDescriptor'],Fa=(_0x1ba0d7,_0x5773a2,_0x427156,_0x420c2c)=>{for(var _0x22bba3=_0x420c2c>0x1?void 0x0:_0x420c2c?Wa(_0x5773a2,_0x427156):_0x5773a2,_0x1f8e8c=_0x1ba0d7['length']-0x1,_0x8493a6;_0x1f8e8c>=0x0;_0x1f8e8c--)(_0x8493a6=_0x1ba0d7[_0x1f8e8c])&&(_0x22bba3=(_0x420c2c?_0x8493a6(_0x5773a2,_0x427156,_0x22bba3):_0x8493a6(_0x22bba3))||_0x22bba3);return _0x420c2c&&_0x22bba3&&ka(_0x5773a2,_0x427156,_0x22bba3),_0x22bba3;},Qs=(_0x385db6,_0x3eddc2)=>(_0x3717b0,_0x536741)=>_0x3eddc2(_0x3717b0,_0x536741,_0x385db6);const Va='DEFAULT_FILE_NAME',Ga=_0x50a7d0(0xbc);let bt=class extends _0x514939{constructor(_0x451eb4,_0x26d302){const _0x26e016=_0x50a7d0;super(),this[_0x26e016(0x283)]=_0x451eb4,this[_0x26e016(0x3bb)]=_0x26d302,this['_init']();}['_init'](){const _0xfa8eb4=_0x50a7d0;this['disposeWithMe'](this[_0xfa8eb4(0x283)]['focused$'][_0xfa8eb4(0x479)](()=>{const _0x53af8a=_0xfa8eb4;var _0x1595f5;const _0x375a56=this[_0x53af8a(0x283)][_0x53af8a(0x311)]();let _0x3f0b12=(_0x1595f5=this[_0x53af8a(0x3bb)]['getConfig'](Va))!=null?_0x1595f5:Ga;_0x375a56 instanceof _0xf4680a&&(_0x3f0b12=_0x375a56[_0x53af8a(0x125)]),document[_0x53af8a(0x4b9)]=_0x3f0b12;}));}};bt=Fa([Qs(0x0,_0x28b990),Qs(0x1,_0x533505)],bt);var Ya=Object[_0x50a7d0(0x15c)],Ka=Object[_0x50a7d0(0x18b)],za=(_0x286f29,_0x4911eb,_0x1371b5,_0x170f71)=>{const _0x221505=_0x50a7d0;for(var _0x196e25=_0x170f71>0x1?void 0x0:_0x170f71?Ka(_0x4911eb,_0x1371b5):_0x4911eb,_0x59e9b6=_0x286f29[_0x221505(0x1d0)]-0x1,_0x39cc91;_0x59e9b6>=0x0;_0x59e9b6--)(_0x39cc91=_0x286f29[_0x59e9b6])&&(_0x196e25=(_0x170f71?_0x39cc91(_0x4911eb,_0x1371b5,_0x196e25):_0x39cc91(_0x196e25))||_0x196e25);return _0x170f71&&_0x196e25&&Ya(_0x4911eb,_0x1371b5,_0x196e25),_0x196e25;},Vt=(_0x46015f,_0x373477)=>(_0x1fab72,_0x26f52f)=>_0x373477(_0x1fab72,_0x26f52f,_0x46015f);let Tt=class{constructor(_0x37900a,_0x4780b2,_0x3804c5){const _0x3eb9bb=_0x50a7d0;this[_0x3eb9bb(0x3bb)]=_0x37900a,this['_httpService']=_0x4780b2,this[_0x3eb9bb(0x386)]=_0x3804c5,this['init']();}[_0x50a7d0(0x237)](){const _0x21bf49=_0x50a7d0;this[_0x21bf49(0x38a)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x10ee09,_0x53cebb)=>_0x53cebb(_0x10ee09)['pipe'](_0x320b34(async _0x3d3138=>{const _0x3d1429=_0x21bf49,_0x30a10c=_0x3d3138;if(_0x30a10c['status']===0x191&&window[_0x3d1429(0x166)](this[_0x3d1429(0x386)]['t'](_0x3d1429(0x259)))){const _0x2b9c34=window[_0x3d1429(0x2c0)](window[_0x3d1429(0x41a)]['href']);window['location'][_0x3d1429(0x403)]=this['_getLoginPath']()+_0x3d1429(0x4c7)+_0x2b9c34;}return _0x30a10c;}))});}[_0x50a7d0(0x1c0)](){const _0x3ba2a6=_0x50a7d0;var _0x2a8f2f,_0xa5b188;const _0x4c35e3=this['_configService'][_0x3ba2a6(0x4c6)](Nn),_0x55080a=this[_0x3ba2a6(0x3bb)][_0x3ba2a6(0x4c6)](ee);return(_0xa5b188=(_0x2a8f2f=_0x55080a==null?void 0x0:_0x55080a['loginUrlKey'])!=null?_0x2a8f2f:_0x4c35e3)!=null?_0xa5b188:An;}};Tt=za([Vt(0x0,_0x533505),Vt(0x1,_0x33026a(_0x278722)),Vt(0x2,_0x33026a(_0x21b13d))],Tt);var qa=Object[_0x50a7d0(0x15c)],Xa=Object[_0x50a7d0(0x18b)],Ja=(_0x556fe8,_0x17b803,_0x2a9792,_0x42679a)=>{for(var _0x35d6b5=_0x42679a>0x1?void 0x0:_0x42679a?Xa(_0x17b803,_0x2a9792):_0x17b803,_0x53aed8=_0x556fe8['length']-0x1,_0x1d822a;_0x53aed8>=0x0;_0x53aed8--)(_0x1d822a=_0x556fe8[_0x53aed8])&&(_0x35d6b5=(_0x42679a?_0x1d822a(_0x17b803,_0x2a9792,_0x35d6b5):_0x1d822a(_0x35d6b5))||_0x35d6b5);return _0x42679a&&_0x35d6b5&&qa(_0x17b803,_0x2a9792,_0x35d6b5),_0x35d6b5;},ei=(_0x59c863,_0x4eca7f)=>(_0x17fa19,_0x2d1aee)=>_0x4eca7f(_0x17fa19,_0x2d1aee,_0x59c863);const Ki=_0x50a7d0(0x43b),Za='/universer-api/authz';let ls=class extends _0x514939{constructor(_0x1a5985,_0x2f8dfa){const _0x18b039=_0x50a7d0;super(),this[_0x18b039(0x352)]=_0x1a5985,this[_0x18b039(0x3bb)]=_0x2f8dfa,this[_0x18b039(0x1df)]();}[_0x50a7d0(0x1df)](){const _0x1e6739=_0x50a7d0,_0x1b939c=this;this['disposeWithMe'](this[_0x1e6739(0x352)][_0x1e6739(0x434)]({'priority':0x3e7,'interceptor':_0x528585({'isMatch'(_0x3e0780){const _0x813d39=_0x1e6739;var _0x47ef4d;if(_0x3e0780[_0x813d39(0xb3)]===_0x813d39(0xa9)&&((_0x47ef4d=_0x3e0780[_0x813d39(0x266)])!=null&&_0x47ef4d[_0x813d39(0x48c)])){const {objectID:_0x15898b,objectType:_0x19698f}=_0x3e0780[_0x813d39(0x266)][_0x813d39(0x48c)]||{};if(!_0x15898b||_0x19698f===void 0x0)return!0x1;const _0x296c59=_0x1b939c[_0x813d39(0x3ca)]()+'/'+_0x19698f+_0x813d39(0xbd)+_0x15898b+_0x813d39(0xb4);if(_0x3e0780[_0x813d39(0x40b)]===_0x296c59)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x32738f){const _0x3857e2=_0x1e6739;var _0x198fb8;return(_0x198fb8=_0x32738f[_0x3857e2(0x266)])==null?void 0x0:_0x198fb8[_0x3857e2(0x48c)];},'mergeParamsToRequest'(_0xbf7d1e,_0x5eb020){const _0xc51512=_0x1e6739,_0x5abc62=_0x1b939c[_0xc51512(0x3ca)]()+_0xc51512(0xf9),_0x30caa8=_0xbf7d1e['reduce']((_0x31a78f,_0x23220a)=>{const _0x427f27=_0xc51512,{unitID:_0x31a67f,objectID:_0x3c1d16,objectType:_0x3c2549,actions:_0xd65050}=_0x23220a;return _0x31a78f[_0x31a67f]||(_0x31a78f[_0x31a67f]={}),_0x31a78f[_0x31a67f][_0x3c1d16]||(_0x31a78f[_0x31a67f][_0x3c1d16]={'objectID':_0x3c1d16,'objectType':_0x3c2549,'actions':[]}),_0x31a78f[_0x31a67f][_0x3c1d16][_0x427f27(0x433)][_0x427f27(0xc6)](..._0xd65050),_0x31a78f;},{}),_0x4ef49f=[];for(const _0x1e7513 in _0x30caa8)for(const _0x285fb8 in _0x30caa8[_0x1e7513]){const {actions:_0x2f1f92,objectType:_0xdf768f}=_0x30caa8[_0x1e7513][_0x285fb8],_0x526c06=[...new Set(_0x2f1f92)];_0x4ef49f[_0xc51512(0xc6)]({'unitID':_0x1e7513,'objectID':_0x285fb8,'objectType':_0xdf768f,'actions':_0x526c06});}return new _0x5522e9(_0xc51512(0xa9),_0x5abc62,{'headers':_0x5eb020[_0xc51512(0x3de)],'withCredentials':_0x5eb020[_0xc51512(0x1e3)],'responseType':_0x5eb020[_0xc51512(0x300)],'body':{'requests':_0x4ef49f}});}},{'distributeResult'(_0x435bd0,_0x484650){const _0x4ebcf8=_0x1e6739,{objectActions:_0x3e36a6}=_0x435bd0;return _0x484650[_0x4ebcf8(0x360)](_0x3434c9=>{const _0xbb0958=_0x4ebcf8,{unitID:_0x355397,objectID:_0xd2cdea,actions:_0x94f116}=_0x3434c9,_0x49c2d2=_0x3e36a6[_0xbb0958(0x39a)](_0x1f7524=>_0x1f7524[_0xbb0958(0xaa)]===_0x355397&&_0x1f7524['objectID']===_0xd2cdea),_0x48fff4=_0x94f116[_0xbb0958(0x360)](_0x1d399b=>_0x49c2d2==null?void 0x0:_0x49c2d2[_0xbb0958(0x433)]['find'](_0x8e8030=>_0x8e8030[_0xbb0958(0x265)]===_0x1d399b))[_0xbb0958(0x4ba)](_0x162ae4=>!!_0x162ae4);return{'config':_0x3434c9,'result':{'actions':_0x48fff4,'error':_0x435bd0[_0xbb0958(0x3a2)]}};});}})}));}[_0x50a7d0(0x3ca)](){const _0x2e2fab=_0x50a7d0;var _0x184844,_0xdc07b3;const _0x5cd3fb=this[_0x2e2fab(0x3bb)][_0x2e2fab(0x4c6)](Ki),_0x3c2a1e=this[_0x2e2fab(0x3bb)]['getConfig'](ee);return(_0xdc07b3=(_0x184844=_0x3c2a1e==null?void 0x0:_0x3c2a1e[_0x2e2fab(0x3e9)])!=null?_0x184844:_0x5cd3fb)!=null?_0xdc07b3:Za;}async[_0x50a7d0(0x24c)](_0x1ede51){const _0x16858a=_0x50a7d0,_0x41835a=this['_getAPIPrefixPath']()+'/'+_0x1ede51['objectType']+_0x16858a(0x33c);return(await this['_HTTPService']['post'](_0x41835a,{'body':_0x1ede51}))['body'][_0x16858a(0x23d)]||'';}async[_0x50a7d0(0x205)](_0x114423){const _0xe10d19=_0x50a7d0,_0x5aeb20=this[_0xe10d19(0x3ca)]()+_0xe10d19(0x20d);return(await this[_0xe10d19(0x352)]['post'](_0x5aeb20,{'body':_0x114423}))[_0xe10d19(0x48c)]['objects'];}async['update'](_0x5d1719){const _0x1f8870=_0x50a7d0,_0x5b2614=this[_0x1f8870(0x3ca)]()+'/'+_0x5d1719[_0x1f8870(0xab)]+_0x1f8870(0xbd)+_0x5d1719[_0x1f8870(0x23d)];await this[_0x1f8870(0x352)][_0x1f8870(0xe9)](_0x5b2614,{'body':_0x5d1719});}async[_0x50a7d0(0x2d0)](_0x128b94){const _0x5525f1=_0x50a7d0,_0x232c5a=this[_0x5525f1(0x3ca)]()+'/'+_0x128b94['objectType']+'/object/'+_0x128b94[_0x5525f1(0x23d)]+_0x5525f1(0xb4);return(await this[_0x5525f1(0x352)][_0x5525f1(0x462)](_0x232c5a,{'body':_0x128b94}))[_0x5525f1(0x48c)][_0x5525f1(0x433)];}async[_0x50a7d0(0x24e)](_0x2bb6ed){const _0x3f45b8=_0x50a7d0,_0x57e931=this[_0x3f45b8(0x3ca)]()+_0x3f45b8(0xf9);return(await this['_HTTPService'][_0x3f45b8(0x462)](_0x57e931,{'body':{'requests':_0x2bb6ed}}))[_0x3f45b8(0x48c)]['objectActions'];}async[_0x50a7d0(0x2e9)](_0x162a11){const _0x32326d=_0x50a7d0,_0x22c346=this[_0x32326d(0x3ca)]()+'/'+_0x162a11[_0x32326d(0xab)]+'/role',_0xf4376e=await this[_0x32326d(0x352)][_0x32326d(0x462)](_0x22c346,{'body':_0x162a11});return{'roles':_0xf4376e[_0x32326d(0x48c)][_0x32326d(0x2cd)],'actions':_0xf4376e[_0x32326d(0x48c)][_0x32326d(0x433)]};}async[_0x50a7d0(0x358)](_0x180d93){const _0x3a67a2=_0x50a7d0,_0xcd1812=this[_0x3a67a2(0x3ca)]()+_0x3a67a2(0x22c);await this['_HTTPService']['delete'](_0xcd1812,{'params':{'collaboratorID':_0x180d93[_0x3a67a2(0x326)],'objectID':_0x180d93[_0x3a67a2(0x23d)],'unitID':_0x180d93[_0x3a67a2(0xaa)]}});}async[_0x50a7d0(0x45d)](_0x974f50){const _0x512ed4=_0x50a7d0,_0x6a062c=this[_0x512ed4(0x3ca)]()+_0x512ed4(0x22c);await this[_0x512ed4(0x352)][_0x512ed4(0x221)](_0x6a062c,{'body':_0x974f50});}async[_0x50a7d0(0x2af)](_0xd999c6){const _0x37d3c3=_0x50a7d0,_0x4d116f=this['_getAPIPrefixPath']()+_0x37d3c3(0x22c);await this[_0x37d3c3(0x352)]['post'](_0x4d116f,{'body':_0xd999c6});}async[_0x50a7d0(0x457)](_0x324c6f){const _0x2ad2a0=_0x50a7d0,_0x1de86c=this['_getAPIPrefixPath']()+_0x2ad2a0(0x22c);return(await this[_0x2ad2a0(0x352)][_0x2ad2a0(0x373)](_0x1de86c,{'params':{'objectID':_0x324c6f['objectID'],'unitID':_0x324c6f['unitID']}}))[_0x2ad2a0(0x48c)][_0x2ad2a0(0x110)];}async[_0x50a7d0(0x474)](_0x24548a){const _0x423873=_0x50a7d0,_0x510d49=this[_0x423873(0x3ca)]()+'/collaborator';await this[_0x423873(0x352)][_0x423873(0xe9)](_0x510d49,{'body':_0x24548a});}};ls=Ja([ei(0x0,_0x33026a(_0x278722)),ei(0x1,_0x33026a(_0x533505))],ls);var zi={'exports':{}};function Qa(_0x5d1fa7){const _0x45a4ae=_0x50a7d0;throw new Error(_0x45a4ae(0x343)+_0x5d1fa7+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Gt={'exports':{}},ti;function ue(){const _0x30ba81=_0x50a7d0;return ti||(ti=0x1,function(_0x1d648e,_0x97baaf){(function(_0xfc4064,_0x168a0f){const _0x48988e=_0xc944;_0x1d648e[_0x48988e(0x480)]=_0x168a0f();}(Z,function(){var _0x5698b2=_0x5698b2||function(_0x1e0bc3,_0x5ea41b){const _0x2697b3=_0xc944;var _0x232d0a;if(typeof window<'u'&&window[_0x2697b3(0x2d5)]&&(_0x232d0a=window[_0x2697b3(0x2d5)]),typeof self<'u'&&self[_0x2697b3(0x2d5)]&&(_0x232d0a=self[_0x2697b3(0x2d5)]),typeof globalThis<'u'&&globalThis[_0x2697b3(0x2d5)]&&(_0x232d0a=globalThis[_0x2697b3(0x2d5)]),!_0x232d0a&&typeof window<'u'&&window[_0x2697b3(0x11f)]&&(_0x232d0a=window[_0x2697b3(0x11f)]),!_0x232d0a&&typeof Z<'u'&&Z[_0x2697b3(0x2d5)]&&(_0x232d0a=Z[_0x2697b3(0x2d5)]),!_0x232d0a&&typeof Qa==_0x2697b3(0x36c))try{_0x232d0a=require(_0x2697b3(0x2d5));}catch{}var _0xfc31e2=function(){const _0x686a91=_0x2697b3;if(_0x232d0a){if(typeof _0x232d0a[_0x686a91(0x286)]==_0x686a91(0x36c))try{return _0x232d0a[_0x686a91(0x286)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x232d0a[_0x686a91(0x2eb)]==_0x686a91(0x36c))try{return _0x232d0a[_0x686a91(0x2eb)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x686a91(0x22e));},_0x37470d=Object[_0x2697b3(0x24c)]||(function(){function _0x482120(){}return function(_0x560e35){const _0x378245=_0xc944;var _0x50d9cc;return _0x482120[_0x378245(0x155)]=_0x560e35,_0x50d9cc=new _0x482120(),_0x482120[_0x378245(0x155)]=null,_0x50d9cc;};}()),_0xadaf4f={},_0x324e5d=_0xadaf4f[_0x2697b3(0xde)]={},_0x12444e=_0x324e5d[_0x2697b3(0x111)]=(function(){return{'extend':function(_0x16c96a){const _0xebfa8c=_0xc944;var _0x2ef387=_0x37470d(this);return _0x16c96a&&_0x2ef387[_0xebfa8c(0x3e7)](_0x16c96a),(!_0x2ef387[_0xebfa8c(0x2ea)]('init')||this[_0xebfa8c(0x237)]===_0x2ef387[_0xebfa8c(0x237)])&&(_0x2ef387['init']=function(){const _0x35776f=_0xebfa8c;_0x2ef387['$super'][_0x35776f(0x237)][_0x35776f(0x335)](this,arguments);}),_0x2ef387[_0xebfa8c(0x237)]['prototype']=_0x2ef387,_0x2ef387[_0xebfa8c(0x496)]=this,_0x2ef387;},'create':function(){const _0xff1874=_0xc944;var _0x36e986=this['extend']();return _0x36e986[_0xff1874(0x237)][_0xff1874(0x335)](_0x36e986,arguments),_0x36e986;},'init':function(){},'mixIn':function(_0x113b31){const _0x455abf=_0xc944;for(var _0x3a614e in _0x113b31)_0x113b31[_0x455abf(0x2ea)](_0x3a614e)&&(this[_0x3a614e]=_0x113b31[_0x3a614e]);_0x113b31[_0x455abf(0x2ea)]('toString')&&(this[_0x455abf(0x45a)]=_0x113b31['toString']);},'clone':function(){const _0xd1baa3=_0xc944;return this[_0xd1baa3(0x237)]['prototype'][_0xd1baa3(0x229)](this);}};}()),_0x3631a4=_0x324e5d[_0x2697b3(0x281)]=_0x12444e[_0x2697b3(0x229)]({'init':function(_0x2c7888,_0x555610){const _0x3191fc=_0x2697b3;_0x2c7888=this[_0x3191fc(0x445)]=_0x2c7888||[],_0x555610!=_0x5ea41b?this[_0x3191fc(0x1a8)]=_0x555610:this[_0x3191fc(0x1a8)]=_0x2c7888['length']*0x4;},'toString':function(_0x205fc4){const _0x3348ed=_0x2697b3;return(_0x205fc4||_0x31ad16)[_0x3348ed(0x2d6)](this);},'concat':function(_0x36f31a){const _0x568442=_0x2697b3;var _0x1fded6=this[_0x568442(0x445)],_0x41e8a1=_0x36f31a['words'],_0x4fd530=this['sigBytes'],_0x5d0308=_0x36f31a['sigBytes'];if(this[_0x568442(0x17d)](),_0x4fd530%0x4)for(var _0x4621a2=0x0;_0x4621a2<_0x5d0308;_0x4621a2++){var _0xf646b6=_0x41e8a1[_0x4621a2>>>0x2]>>>0x18-_0x4621a2%0x4*0x8&0xff;_0x1fded6[_0x4fd530+_0x4621a2>>>0x2]|=_0xf646b6<<0x18-(_0x4fd530+_0x4621a2)%0x4*0x8;}else{for(var _0x267d93=0x0;_0x267d93<_0x5d0308;_0x267d93+=0x4)_0x1fded6[_0x4fd530+_0x267d93>>>0x2]=_0x41e8a1[_0x267d93>>>0x2];}return this[_0x568442(0x1a8)]+=_0x5d0308,this;},'clamp':function(){const _0xd5cda1=_0x2697b3;var _0x4b8fbe=this[_0xd5cda1(0x445)],_0x4fd035=this[_0xd5cda1(0x1a8)];_0x4b8fbe[_0x4fd035>>>0x2]&=0xffffffff<<0x20-_0x4fd035%0x4*0x8,_0x4b8fbe[_0xd5cda1(0x1d0)]=_0x1e0bc3[_0xd5cda1(0x26a)](_0x4fd035/0x4);},'clone':function(){const _0x3a50f5=_0x2697b3;var _0xb8b8a4=_0x12444e[_0x3a50f5(0x3b2)]['call'](this);return _0xb8b8a4[_0x3a50f5(0x445)]=this['words'][_0x3a50f5(0x2bf)](0x0),_0xb8b8a4;},'random':function(_0x4568f5){const _0x152eb0=_0x2697b3;for(var _0x4f511b=[],_0x2f6390=0x0;_0x2f6390<_0x4568f5;_0x2f6390+=0x4)_0x4f511b[_0x152eb0(0xc6)](_0xfc31e2());return new _0x3631a4['init'](_0x4f511b,_0x4568f5);}}),_0x27f9b3=_0xadaf4f['enc']={},_0x31ad16=_0x27f9b3[_0x2697b3(0x289)]={'stringify':function(_0x1d44e9){const _0x5749b6=_0x2697b3;for(var _0x317a21=_0x1d44e9[_0x5749b6(0x445)],_0x1f0aea=_0x1d44e9[_0x5749b6(0x1a8)],_0x2cc28e=[],_0x5b71d6=0x0;_0x5b71d6<_0x1f0aea;_0x5b71d6++){var _0x532de7=_0x317a21[_0x5b71d6>>>0x2]>>>0x18-_0x5b71d6%0x4*0x8&0xff;_0x2cc28e[_0x5749b6(0xc6)]((_0x532de7>>>0x4)[_0x5749b6(0x45a)](0x10)),_0x2cc28e[_0x5749b6(0xc6)]((_0x532de7&0xf)[_0x5749b6(0x45a)](0x10));}return _0x2cc28e[_0x5749b6(0x11b)]('');},'parse':function(_0x52537d){const _0x12f76a=_0x2697b3;for(var _0x8885e2=_0x52537d[_0x12f76a(0x1d0)],_0x15719e=[],_0x44b4c3=0x0;_0x44b4c3<_0x8885e2;_0x44b4c3+=0x2)_0x15719e[_0x44b4c3>>>0x3]|=parseInt(_0x52537d['substr'](_0x44b4c3,0x2),0x10)<<0x18-_0x44b4c3%0x8*0x4;return new _0x3631a4['init'](_0x15719e,_0x8885e2/0x2);}},_0xdadb45=_0x27f9b3[_0x2697b3(0x14c)]={'stringify':function(_0x10b6de){const _0x12da7d=_0x2697b3;for(var _0x209c92=_0x10b6de[_0x12da7d(0x445)],_0x243870=_0x10b6de[_0x12da7d(0x1a8)],_0x205c11=[],_0x3ede3d=0x0;_0x3ede3d<_0x243870;_0x3ede3d++){var _0x2f35a2=_0x209c92[_0x3ede3d>>>0x2]>>>0x18-_0x3ede3d%0x4*0x8&0xff;_0x205c11[_0x12da7d(0xc6)](String[_0x12da7d(0x249)](_0x2f35a2));}return _0x205c11[_0x12da7d(0x11b)]('');},'parse':function(_0x4b548){const _0x2cb046=_0x2697b3;for(var _0x3d71e2=_0x4b548[_0x2cb046(0x1d0)],_0x3a9d19=[],_0x1ec017=0x0;_0x1ec017<_0x3d71e2;_0x1ec017++)_0x3a9d19[_0x1ec017>>>0x2]|=(_0x4b548[_0x2cb046(0x20c)](_0x1ec017)&0xff)<<0x18-_0x1ec017%0x4*0x8;return new _0x3631a4[(_0x2cb046(0x237))](_0x3a9d19,_0x3d71e2);}},_0x34d3bc=_0x27f9b3[_0x2697b3(0x468)]={'stringify':function(_0xab20b6){const _0x1310c9=_0x2697b3;try{return decodeURIComponent(escape(_0xdadb45['stringify'](_0xab20b6)));}catch{throw new Error(_0x1310c9(0x3c6));}},'parse':function(_0x5c0499){return _0xdadb45['parse'](unescape(encodeURIComponent(_0x5c0499)));}},_0x159bec=_0x324e5d[_0x2697b3(0x284)]=_0x12444e[_0x2697b3(0x229)]({'reset':function(){const _0x34c40b=_0x2697b3;this[_0x34c40b(0x39c)]=new _0x3631a4['init'](),this[_0x34c40b(0x3ff)]=0x0;},'_append':function(_0x38360b){const _0x573ae6=_0x2697b3;typeof _0x38360b==_0x573ae6(0x218)&&(_0x38360b=_0x34d3bc[_0x573ae6(0x47f)](_0x38360b)),this[_0x573ae6(0x39c)]['concat'](_0x38360b),this['_nDataBytes']+=_0x38360b[_0x573ae6(0x1a8)];},'_process':function(_0x33f302){const _0xa2f50b=_0x2697b3;var _0x1c0e81,_0x51b4a3=this[_0xa2f50b(0x39c)],_0x274680=_0x51b4a3['words'],_0x5e3ad7=_0x51b4a3[_0xa2f50b(0x1a8)],_0x4cb9ad=this['blockSize'],_0x4a80aa=_0x4cb9ad*0x4,_0x10c66c=_0x5e3ad7/_0x4a80aa;_0x33f302?_0x10c66c=_0x1e0bc3[_0xa2f50b(0x26a)](_0x10c66c):_0x10c66c=_0x1e0bc3[_0xa2f50b(0x319)]((_0x10c66c|0x0)-this[_0xa2f50b(0x1c2)],0x0);var _0xc655ef=_0x10c66c*_0x4cb9ad,_0x51fbb3=_0x1e0bc3['min'](_0xc655ef*0x4,_0x5e3ad7);if(_0xc655ef){for(var _0x2c1983=0x0;_0x2c1983<_0xc655ef;_0x2c1983+=_0x4cb9ad)this[_0xa2f50b(0x28b)](_0x274680,_0x2c1983);_0x1c0e81=_0x274680['splice'](0x0,_0xc655ef),_0x51b4a3[_0xa2f50b(0x1a8)]-=_0x51fbb3;}return new _0x3631a4['init'](_0x1c0e81,_0x51fbb3);},'clone':function(){const _0x1d5445=_0x2697b3;var _0x51cbfc=_0x12444e[_0x1d5445(0x3b2)][_0x1d5445(0x2a1)](this);return _0x51cbfc[_0x1d5445(0x39c)]=this['_data']['clone'](),_0x51cbfc;},'_minBufferSize':0x0});_0x324e5d[_0x2697b3(0x4b0)]=_0x159bec[_0x2697b3(0x229)]({'cfg':_0x12444e[_0x2697b3(0x229)](),'init':function(_0xe58cc5){const _0xd5d07f=_0x2697b3;this[_0xd5d07f(0x146)]=this[_0xd5d07f(0x146)][_0xd5d07f(0x229)](_0xe58cc5),this[_0xd5d07f(0xca)]();},'reset':function(){const _0x30d74c=_0x2697b3;_0x159bec[_0x30d74c(0xca)][_0x30d74c(0x2a1)](this),this['_doReset']();},'update':function(_0x4296ac){const _0x17975b=_0x2697b3;return this[_0x17975b(0x2ed)](_0x4296ac),this[_0x17975b(0x369)](),this;},'finalize':function(_0x19f622){_0x19f622&&this['_append'](_0x19f622);var _0x3ebff7=this['_doFinalize']();return _0x3ebff7;},'blockSize':0x10,'_createHelper':function(_0x2cdee9){return function(_0x11fd2d,_0x562698){const _0x4b5bf8=_0xc944;return new _0x2cdee9[(_0x4b5bf8(0x237))](_0x562698)[_0x4b5bf8(0x363)](_0x11fd2d);};},'_createHmacHelper':function(_0xb31df){return function(_0x21d11a,_0x4ffb07){const _0x48c726=_0xc944;return new _0x13e4b4['HMAC'][(_0x48c726(0x237))](_0xb31df,_0x4ffb07)[_0x48c726(0x363)](_0x21d11a);};}});var _0x13e4b4=_0xadaf4f[_0x2697b3(0x263)]={};return _0xadaf4f;}(Math);return _0x5698b2;}));}(Gt)),Gt[_0x30ba81(0x480)];}var Yt={'exports':{}},si;function qi(){const _0x4fb252=_0x50a7d0;return si||(si=0x1,function(_0x3a97bf,_0x26f764){(function(_0x3cfff9,_0x1f9206){const _0x5ef279=_0xc944;_0x3a97bf[_0x5ef279(0x480)]=_0x1f9206(ue());}(Z,function(_0x2671ef){const _0x45774e=_0xc944;return(function(){const _0x5ae488=_0xc944;var _0x2f1b98=_0x2671ef,_0x51273e=_0x2f1b98['lib'],_0x48073a=_0x51273e['WordArray'],_0x172e16=_0x2f1b98['enc'];_0x172e16['Base64']={'stringify':function(_0x5e580d){const _0x4e9cc5=_0xc944;var _0x5d13ed=_0x5e580d['words'],_0x401674=_0x5e580d[_0x4e9cc5(0x1a8)],_0x156150=this['_map'];_0x5e580d[_0x4e9cc5(0x17d)]();for(var _0x569f5f=[],_0x4b93a5=0x0;_0x4b93a5<_0x401674;_0x4b93a5+=0x3)for(var _0x359f01=_0x5d13ed[_0x4b93a5>>>0x2]>>>0x18-_0x4b93a5%0x4*0x8&0xff,_0x299e13=_0x5d13ed[_0x4b93a5+0x1>>>0x2]>>>0x18-(_0x4b93a5+0x1)%0x4*0x8&0xff,_0x1840e7=_0x5d13ed[_0x4b93a5+0x2>>>0x2]>>>0x18-(_0x4b93a5+0x2)%0x4*0x8&0xff,_0x381b2b=_0x359f01<<0x10|_0x299e13<<0x8|_0x1840e7,_0x4c84d9=0x0;_0x4c84d9<0x4&&_0x4b93a5+_0x4c84d9*0.75<_0x401674;_0x4c84d9++)_0x569f5f[_0x4e9cc5(0xc6)](_0x156150[_0x4e9cc5(0x208)](_0x381b2b>>>0x6*(0x3-_0x4c84d9)&0x3f));var _0x85a6ca=_0x156150['charAt'](0x40);if(_0x85a6ca){for(;_0x569f5f['length']%0x4;)_0x569f5f[_0x4e9cc5(0xc6)](_0x85a6ca);}return _0x569f5f[_0x4e9cc5(0x11b)]('');},'parse':function(_0x42337e){const _0x50d4d1=_0xc944;var _0x3ab55d=_0x42337e['length'],_0x2249a4=this[_0x50d4d1(0x139)],_0x482ac7=this[_0x50d4d1(0x1ff)];if(!_0x482ac7){_0x482ac7=this[_0x50d4d1(0x1ff)]=[];for(var _0xa09c34=0x0;_0xa09c34<_0x2249a4[_0x50d4d1(0x1d0)];_0xa09c34++)_0x482ac7[_0x2249a4['charCodeAt'](_0xa09c34)]=_0xa09c34;}var _0xe378e=_0x2249a4[_0x50d4d1(0x208)](0x40);if(_0xe378e){var _0xac9eb1=_0x42337e[_0x50d4d1(0x299)](_0xe378e);_0xac9eb1!==-0x1&&(_0x3ab55d=_0xac9eb1);}return _0x3f118e(_0x42337e,_0x3ab55d,_0x482ac7);},'_map':_0x5ae488(0x2f2)};function _0x3f118e(_0x310d69,_0x409115,_0x362e9a){const _0x4a15c2=_0x5ae488;for(var _0x2ed958=[],_0x4585f5=0x0,_0x52fe5f=0x0;_0x52fe5f<_0x409115;_0x52fe5f++)if(_0x52fe5f%0x4){var _0x287254=_0x362e9a[_0x310d69[_0x4a15c2(0x20c)](_0x52fe5f-0x1)]<<_0x52fe5f%0x4*0x2,_0x1085a9=_0x362e9a[_0x310d69['charCodeAt'](_0x52fe5f)]>>>0x6-_0x52fe5f%0x4*0x2,_0x303598=_0x287254|_0x1085a9;_0x2ed958[_0x4585f5>>>0x2]|=_0x303598<<0x18-_0x4585f5%0x4*0x8,_0x4585f5++;}return _0x48073a['create'](_0x2ed958,_0x4585f5);}}()),_0x2671ef[_0x45774e(0x429)][_0x45774e(0x1bb)];}));}(Yt)),Yt[_0x4fb252(0x480)];}var Kt={'exports':{}},ii;function ec(){return ii||(ii=0x1,function(_0x3b6e5a,_0x26f1c6){(function(_0x2c7a04,_0x12b011){const _0x1f5238=_0xc944;_0x3b6e5a[_0x1f5238(0x480)]=_0x12b011(ue());}(Z,function(_0x2068fe){const _0x13d792=_0xc944;return function(_0x177345){const _0x25b43f=_0xc944;var _0x376e6f=_0x2068fe,_0x1d24fc=_0x376e6f['lib'],_0x2946c5=_0x1d24fc[_0x25b43f(0x281)],_0x1b1f8d=_0x1d24fc[_0x25b43f(0x4b0)],_0x155436=_0x376e6f[_0x25b43f(0x263)],_0x361ac1=[];(function(){const _0x37be05=_0x25b43f;for(var _0x5e0546=0x0;_0x5e0546<0x40;_0x5e0546++)_0x361ac1[_0x5e0546]=_0x177345[_0x37be05(0x24b)](_0x177345[_0x37be05(0xea)](_0x5e0546+0x1))*0x100000000|0x0;}());var _0x174263=_0x155436['MD5']=_0x1b1f8d[_0x25b43f(0x229)]({'_doReset':function(){const _0x133b06=_0x25b43f;this['_hash']=new _0x2946c5[(_0x133b06(0x237))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1ec91f,_0x4b6db5){const _0xb966f5=_0x25b43f;for(var _0x382f51=0x0;_0x382f51<0x10;_0x382f51++){var _0x565871=_0x4b6db5+_0x382f51,_0x5b856b=_0x1ec91f[_0x565871];_0x1ec91f[_0x565871]=(_0x5b856b<<0x8|_0x5b856b>>>0x18)&0xff00ff|(_0x5b856b<<0x18|_0x5b856b>>>0x8)&0xff00ff00;}var _0x350e8d=this[_0xb966f5(0x372)][_0xb966f5(0x445)],_0x655ef4=_0x1ec91f[_0x4b6db5+0x0],_0x472ef4=_0x1ec91f[_0x4b6db5+0x1],_0x4c5026=_0x1ec91f[_0x4b6db5+0x2],_0x5c5d40=_0x1ec91f[_0x4b6db5+0x3],_0x37a6b1=_0x1ec91f[_0x4b6db5+0x4],_0x19c91d=_0x1ec91f[_0x4b6db5+0x5],_0x23c360=_0x1ec91f[_0x4b6db5+0x6],_0x40e564=_0x1ec91f[_0x4b6db5+0x7],_0x22b01e=_0x1ec91f[_0x4b6db5+0x8],_0x6c186f=_0x1ec91f[_0x4b6db5+0x9],_0xbec02b=_0x1ec91f[_0x4b6db5+0xa],_0x200ab2=_0x1ec91f[_0x4b6db5+0xb],_0x4dcebe=_0x1ec91f[_0x4b6db5+0xc],_0x3bc524=_0x1ec91f[_0x4b6db5+0xd],_0x4320d1=_0x1ec91f[_0x4b6db5+0xe],_0x396e59=_0x1ec91f[_0x4b6db5+0xf],_0x41220b=_0x350e8d[0x0],_0x4661dc=_0x350e8d[0x1],_0x2d3d16=_0x350e8d[0x2],_0x3c1839=_0x350e8d[0x3];_0x41220b=_0x123240(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x655ef4,0x7,_0x361ac1[0x0]),_0x3c1839=_0x123240(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x472ef4,0xc,_0x361ac1[0x1]),_0x2d3d16=_0x123240(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x4c5026,0x11,_0x361ac1[0x2]),_0x4661dc=_0x123240(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x5c5d40,0x16,_0x361ac1[0x3]),_0x41220b=_0x123240(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x37a6b1,0x7,_0x361ac1[0x4]),_0x3c1839=_0x123240(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x19c91d,0xc,_0x361ac1[0x5]),_0x2d3d16=_0x123240(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x23c360,0x11,_0x361ac1[0x6]),_0x4661dc=_0x123240(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x40e564,0x16,_0x361ac1[0x7]),_0x41220b=_0x123240(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x22b01e,0x7,_0x361ac1[0x8]),_0x3c1839=_0x123240(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x6c186f,0xc,_0x361ac1[0x9]),_0x2d3d16=_0x123240(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0xbec02b,0x11,_0x361ac1[0xa]),_0x4661dc=_0x123240(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x200ab2,0x16,_0x361ac1[0xb]),_0x41220b=_0x123240(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x4dcebe,0x7,_0x361ac1[0xc]),_0x3c1839=_0x123240(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x3bc524,0xc,_0x361ac1[0xd]),_0x2d3d16=_0x123240(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x4320d1,0x11,_0x361ac1[0xe]),_0x4661dc=_0x123240(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x396e59,0x16,_0x361ac1[0xf]),_0x41220b=_0x387c74(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x472ef4,0x5,_0x361ac1[0x10]),_0x3c1839=_0x387c74(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x23c360,0x9,_0x361ac1[0x11]),_0x2d3d16=_0x387c74(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x200ab2,0xe,_0x361ac1[0x12]),_0x4661dc=_0x387c74(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x655ef4,0x14,_0x361ac1[0x13]),_0x41220b=_0x387c74(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x19c91d,0x5,_0x361ac1[0x14]),_0x3c1839=_0x387c74(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0xbec02b,0x9,_0x361ac1[0x15]),_0x2d3d16=_0x387c74(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x396e59,0xe,_0x361ac1[0x16]),_0x4661dc=_0x387c74(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x37a6b1,0x14,_0x361ac1[0x17]),_0x41220b=_0x387c74(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x6c186f,0x5,_0x361ac1[0x18]),_0x3c1839=_0x387c74(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x4320d1,0x9,_0x361ac1[0x19]),_0x2d3d16=_0x387c74(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x5c5d40,0xe,_0x361ac1[0x1a]),_0x4661dc=_0x387c74(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x22b01e,0x14,_0x361ac1[0x1b]),_0x41220b=_0x387c74(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x3bc524,0x5,_0x361ac1[0x1c]),_0x3c1839=_0x387c74(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x4c5026,0x9,_0x361ac1[0x1d]),_0x2d3d16=_0x387c74(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x40e564,0xe,_0x361ac1[0x1e]),_0x4661dc=_0x387c74(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x4dcebe,0x14,_0x361ac1[0x1f]),_0x41220b=_0x1086ce(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x19c91d,0x4,_0x361ac1[0x20]),_0x3c1839=_0x1086ce(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x22b01e,0xb,_0x361ac1[0x21]),_0x2d3d16=_0x1086ce(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x200ab2,0x10,_0x361ac1[0x22]),_0x4661dc=_0x1086ce(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x4320d1,0x17,_0x361ac1[0x23]),_0x41220b=_0x1086ce(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x472ef4,0x4,_0x361ac1[0x24]),_0x3c1839=_0x1086ce(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x37a6b1,0xb,_0x361ac1[0x25]),_0x2d3d16=_0x1086ce(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x40e564,0x10,_0x361ac1[0x26]),_0x4661dc=_0x1086ce(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0xbec02b,0x17,_0x361ac1[0x27]),_0x41220b=_0x1086ce(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x3bc524,0x4,_0x361ac1[0x28]),_0x3c1839=_0x1086ce(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x655ef4,0xb,_0x361ac1[0x29]),_0x2d3d16=_0x1086ce(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x5c5d40,0x10,_0x361ac1[0x2a]),_0x4661dc=_0x1086ce(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x23c360,0x17,_0x361ac1[0x2b]),_0x41220b=_0x1086ce(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x6c186f,0x4,_0x361ac1[0x2c]),_0x3c1839=_0x1086ce(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x4dcebe,0xb,_0x361ac1[0x2d]),_0x2d3d16=_0x1086ce(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x396e59,0x10,_0x361ac1[0x2e]),_0x4661dc=_0x1086ce(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x4c5026,0x17,_0x361ac1[0x2f]),_0x41220b=_0x5d47f5(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x655ef4,0x6,_0x361ac1[0x30]),_0x3c1839=_0x5d47f5(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x40e564,0xa,_0x361ac1[0x31]),_0x2d3d16=_0x5d47f5(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x4320d1,0xf,_0x361ac1[0x32]),_0x4661dc=_0x5d47f5(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x19c91d,0x15,_0x361ac1[0x33]),_0x41220b=_0x5d47f5(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x4dcebe,0x6,_0x361ac1[0x34]),_0x3c1839=_0x5d47f5(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x5c5d40,0xa,_0x361ac1[0x35]),_0x2d3d16=_0x5d47f5(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0xbec02b,0xf,_0x361ac1[0x36]),_0x4661dc=_0x5d47f5(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x472ef4,0x15,_0x361ac1[0x37]),_0x41220b=_0x5d47f5(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x22b01e,0x6,_0x361ac1[0x38]),_0x3c1839=_0x5d47f5(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x396e59,0xa,_0x361ac1[0x39]),_0x2d3d16=_0x5d47f5(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x23c360,0xf,_0x361ac1[0x3a]),_0x4661dc=_0x5d47f5(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x3bc524,0x15,_0x361ac1[0x3b]),_0x41220b=_0x5d47f5(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x37a6b1,0x6,_0x361ac1[0x3c]),_0x3c1839=_0x5d47f5(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x200ab2,0xa,_0x361ac1[0x3d]),_0x2d3d16=_0x5d47f5(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x4c5026,0xf,_0x361ac1[0x3e]),_0x4661dc=_0x5d47f5(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x6c186f,0x15,_0x361ac1[0x3f]),_0x350e8d[0x0]=_0x350e8d[0x0]+_0x41220b|0x0,_0x350e8d[0x1]=_0x350e8d[0x1]+_0x4661dc|0x0,_0x350e8d[0x2]=_0x350e8d[0x2]+_0x2d3d16|0x0,_0x350e8d[0x3]=_0x350e8d[0x3]+_0x3c1839|0x0;},'_doFinalize':function(){const _0x3c0403=_0x25b43f;var _0x897056=this['_data'],_0xd708f3=_0x897056[_0x3c0403(0x445)],_0x20bd57=this[_0x3c0403(0x3ff)]*0x8,_0x1fa521=_0x897056[_0x3c0403(0x1a8)]*0x8;_0xd708f3[_0x1fa521>>>0x5]|=0x80<<0x18-_0x1fa521%0x20;var _0x1ab8cd=_0x177345[_0x3c0403(0x28f)](_0x20bd57/0x100000000),_0x4f8f3=_0x20bd57;_0xd708f3[(_0x1fa521+0x40>>>0x9<<0x4)+0xf]=(_0x1ab8cd<<0x8|_0x1ab8cd>>>0x18)&0xff00ff|(_0x1ab8cd<<0x18|_0x1ab8cd>>>0x8)&0xff00ff00,_0xd708f3[(_0x1fa521+0x40>>>0x9<<0x4)+0xe]=(_0x4f8f3<<0x8|_0x4f8f3>>>0x18)&0xff00ff|(_0x4f8f3<<0x18|_0x4f8f3>>>0x8)&0xff00ff00,_0x897056[_0x3c0403(0x1a8)]=(_0xd708f3[_0x3c0403(0x1d0)]+0x1)*0x4,this[_0x3c0403(0x369)]();for(var _0x583ab9=this[_0x3c0403(0x372)],_0x2df6c8=_0x583ab9[_0x3c0403(0x445)],_0x374ee3=0x0;_0x374ee3<0x4;_0x374ee3++){var _0x39f5a1=_0x2df6c8[_0x374ee3];_0x2df6c8[_0x374ee3]=(_0x39f5a1<<0x8|_0x39f5a1>>>0x18)&0xff00ff|(_0x39f5a1<<0x18|_0x39f5a1>>>0x8)&0xff00ff00;}return _0x583ab9;},'clone':function(){const _0x58ec50=_0x25b43f;var _0xadb911=_0x1b1f8d[_0x58ec50(0x3b2)][_0x58ec50(0x2a1)](this);return _0xadb911[_0x58ec50(0x372)]=this[_0x58ec50(0x372)][_0x58ec50(0x3b2)](),_0xadb911;}});function _0x123240(_0x23b8c4,_0x43d331,_0x3ad984,_0x850360,_0x4365c0,_0x1e3e4e,_0x381268){var _0x2d4be7=_0x23b8c4+(_0x43d331&_0x3ad984|~_0x43d331&_0x850360)+_0x4365c0+_0x381268;return(_0x2d4be7<<_0x1e3e4e|_0x2d4be7>>>0x20-_0x1e3e4e)+_0x43d331;}function _0x387c74(_0xda78f5,_0x539bb4,_0x3a2f42,_0x28c049,_0x2d4b69,_0x5d115d,_0x4a4950){var _0x50fcd1=_0xda78f5+(_0x539bb4&_0x28c049|_0x3a2f42&~_0x28c049)+_0x2d4b69+_0x4a4950;return(_0x50fcd1<<_0x5d115d|_0x50fcd1>>>0x20-_0x5d115d)+_0x539bb4;}function _0x1086ce(_0x2ca9b0,_0x45e05f,_0x4482d8,_0x1b8138,_0xa4b8e1,_0x16514a,_0x45648f){var _0x15b0cd=_0x2ca9b0+(_0x45e05f^_0x4482d8^_0x1b8138)+_0xa4b8e1+_0x45648f;return(_0x15b0cd<<_0x16514a|_0x15b0cd>>>0x20-_0x16514a)+_0x45e05f;}function _0x5d47f5(_0x511c53,_0x3faa4c,_0x3a2bdd,_0x1391ab,_0x5565cd,_0x251fdd,_0x4d629e){var _0x3590ad=_0x511c53+(_0x3a2bdd^(_0x3faa4c|~_0x1391ab))+_0x5565cd+_0x4d629e;return(_0x3590ad<<_0x251fdd|_0x3590ad>>>0x20-_0x251fdd)+_0x3faa4c;}_0x376e6f[_0x25b43f(0x176)]=_0x1b1f8d['_createHelper'](_0x174263),_0x376e6f[_0x25b43f(0x439)]=_0x1b1f8d[_0x25b43f(0x333)](_0x174263);}(Math),_0x2068fe[_0x13d792(0x176)];}));}(Kt)),Kt['exports'];}var zt={'exports':{}},qt={'exports':{}},ri;function tc(){const _0x179b4c=_0x50a7d0;return ri||(ri=0x1,function(_0x3eda93,_0x5ebfb5){(function(_0x47f55a,_0x5e3604){const _0x4d01e2=_0xc944;_0x3eda93[_0x4d01e2(0x480)]=_0x5e3604(ue());}(Z,function(_0x499830){const _0x229e00=_0xc944;return(function(){const _0x2d31d9=_0xc944;var _0x5daf17=_0x499830,_0x2d90eb=_0x5daf17[_0x2d31d9(0xde)],_0x1ccc5c=_0x2d90eb['WordArray'],_0x316e77=_0x2d90eb[_0x2d31d9(0x4b0)],_0x92dec2=_0x5daf17['algo'],_0x607f66=[],_0x13bb31=_0x92dec2['SHA1']=_0x316e77[_0x2d31d9(0x229)]({'_doReset':function(){const _0x51054a=_0x2d31d9;this['_hash']=new _0x1ccc5c[(_0x51054a(0x237))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x564a90,_0x1de542){const _0x9486f4=_0x2d31d9;for(var _0x25e9e2=this[_0x9486f4(0x372)][_0x9486f4(0x445)],_0x274881=_0x25e9e2[0x0],_0x5b1256=_0x25e9e2[0x1],_0xbe69ba=_0x25e9e2[0x2],_0x42784e=_0x25e9e2[0x3],_0x2e3ff1=_0x25e9e2[0x4],_0x4b5e7b=0x0;_0x4b5e7b<0x50;_0x4b5e7b++){if(_0x4b5e7b<0x10)_0x607f66[_0x4b5e7b]=_0x564a90[_0x1de542+_0x4b5e7b]|0x0;else{var _0x1da282=_0x607f66[_0x4b5e7b-0x3]^_0x607f66[_0x4b5e7b-0x8]^_0x607f66[_0x4b5e7b-0xe]^_0x607f66[_0x4b5e7b-0x10];_0x607f66[_0x4b5e7b]=_0x1da282<<0x1|_0x1da282>>>0x1f;}var _0x1d76d8=(_0x274881<<0x5|_0x274881>>>0x1b)+_0x2e3ff1+_0x607f66[_0x4b5e7b];_0x4b5e7b<0x14?_0x1d76d8+=(_0x5b1256&_0xbe69ba|~_0x5b1256&_0x42784e)+0x5a827999:_0x4b5e7b<0x28?_0x1d76d8+=(_0x5b1256^_0xbe69ba^_0x42784e)+0x6ed9eba1:_0x4b5e7b<0x3c?_0x1d76d8+=(_0x5b1256&_0xbe69ba|_0x5b1256&_0x42784e|_0xbe69ba&_0x42784e)-0x70e44324:_0x1d76d8+=(_0x5b1256^_0xbe69ba^_0x42784e)-0x359d3e2a,_0x2e3ff1=_0x42784e,_0x42784e=_0xbe69ba,_0xbe69ba=_0x5b1256<<0x1e|_0x5b1256>>>0x2,_0x5b1256=_0x274881,_0x274881=_0x1d76d8;}_0x25e9e2[0x0]=_0x25e9e2[0x0]+_0x274881|0x0,_0x25e9e2[0x1]=_0x25e9e2[0x1]+_0x5b1256|0x0,_0x25e9e2[0x2]=_0x25e9e2[0x2]+_0xbe69ba|0x0,_0x25e9e2[0x3]=_0x25e9e2[0x3]+_0x42784e|0x0,_0x25e9e2[0x4]=_0x25e9e2[0x4]+_0x2e3ff1|0x0;},'_doFinalize':function(){const _0x475d83=_0x2d31d9;var _0x30e666=this[_0x475d83(0x39c)],_0x19bc5b=_0x30e666[_0x475d83(0x445)],_0x3b63c8=this[_0x475d83(0x3ff)]*0x8,_0x2cbd77=_0x30e666[_0x475d83(0x1a8)]*0x8;return _0x19bc5b[_0x2cbd77>>>0x5]|=0x80<<0x18-_0x2cbd77%0x20,_0x19bc5b[(_0x2cbd77+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x3b63c8/0x100000000),_0x19bc5b[(_0x2cbd77+0x40>>>0x9<<0x4)+0xf]=_0x3b63c8,_0x30e666[_0x475d83(0x1a8)]=_0x19bc5b[_0x475d83(0x1d0)]*0x4,this[_0x475d83(0x369)](),this[_0x475d83(0x372)];},'clone':function(){const _0x1202f6=_0x2d31d9;var _0x468ce3=_0x316e77[_0x1202f6(0x3b2)]['call'](this);return _0x468ce3[_0x1202f6(0x372)]=this[_0x1202f6(0x372)][_0x1202f6(0x3b2)](),_0x468ce3;}});_0x5daf17[_0x2d31d9(0x1bf)]=_0x316e77['_createHelper'](_0x13bb31),_0x5daf17[_0x2d31d9(0x1a3)]=_0x316e77[_0x2d31d9(0x333)](_0x13bb31);}()),_0x499830[_0x229e00(0x1bf)];}));}(qt)),qt[_0x179b4c(0x480)];}var Xt={'exports':{}},ni;function sc(){const _0x52697a=_0x50a7d0;return ni||(ni=0x1,function(_0x22987c,_0x48341d){(function(_0x20d919,_0x1b87e0){const _0x236ed4=_0xc944;_0x22987c[_0x236ed4(0x480)]=_0x1b87e0(ue());}(Z,function(_0x5c1c18){(function(){const _0x30635a=_0xc944;var _0x44f8ab=_0x5c1c18,_0x1cf644=_0x44f8ab[_0x30635a(0xde)],_0x3306fa=_0x1cf644[_0x30635a(0x111)],_0xe93fea=_0x44f8ab[_0x30635a(0x429)],_0x3d2e67=_0xe93fea[_0x30635a(0x468)],_0x42ccb0=_0x44f8ab[_0x30635a(0x263)];_0x42ccb0[_0x30635a(0x116)]=_0x3306fa[_0x30635a(0x229)]({'init':function(_0x58052e,_0x3f0003){const _0x313601=_0x30635a;_0x58052e=this['_hasher']=new _0x58052e[(_0x313601(0x237))](),typeof _0x3f0003=='string'&&(_0x3f0003=_0x3d2e67[_0x313601(0x47f)](_0x3f0003));var _0x371534=_0x58052e[_0x313601(0x10f)],_0x3312fd=_0x371534*0x4;_0x3f0003[_0x313601(0x1a8)]>_0x3312fd&&(_0x3f0003=_0x58052e[_0x313601(0x363)](_0x3f0003)),_0x3f0003[_0x313601(0x17d)]();for(var _0x2576a6=this['_oKey']=_0x3f0003[_0x313601(0x3b2)](),_0x49994b=this['_iKey']=_0x3f0003[_0x313601(0x3b2)](),_0x6aa149=_0x2576a6['words'],_0x326c7b=_0x49994b[_0x313601(0x445)],_0x168b72=0x0;_0x168b72<_0x371534;_0x168b72++)_0x6aa149[_0x168b72]^=0x5c5c5c5c,_0x326c7b[_0x168b72]^=0x36363636;_0x2576a6[_0x313601(0x1a8)]=_0x49994b[_0x313601(0x1a8)]=_0x3312fd,this['reset']();},'reset':function(){const _0x1b5437=_0x30635a;var _0x30b539=this[_0x1b5437(0x175)];_0x30b539[_0x1b5437(0xca)](),_0x30b539['update'](this[_0x1b5437(0x1f8)]);},'update':function(_0x515c03){const _0x1b9890=_0x30635a;return this[_0x1b9890(0x175)][_0x1b9890(0x137)](_0x515c03),this;},'finalize':function(_0x3a1945){const _0x5d344c=_0x30635a;var _0x1a0806=this[_0x5d344c(0x175)],_0x3227d7=_0x1a0806[_0x5d344c(0x363)](_0x3a1945);_0x1a0806['reset']();var _0x57c57e=_0x1a0806[_0x5d344c(0x363)](this[_0x5d344c(0xe1)]['clone']()[_0x5d344c(0x10e)](_0x3227d7));return _0x57c57e;}});}());}));}(Xt)),Xt[_0x52697a(0x480)];}var oi;function _0xc944(_0x5cdb6b,_0x1d047a){const _0x12838f=_0x1283();return _0xc944=function(_0xc944c9,_0x3db4ed){_0xc944c9=_0xc944c9-0xa9;let _0x1556bc=_0x12838f[_0xc944c9];return _0x1556bc;},_0xc944(_0x5cdb6b,_0x1d047a);}function Xi(){const _0x20d52c=_0x50a7d0;return oi||(oi=0x1,function(_0x5138bd,_0x5a61e9){(function(_0x1ee41b,_0x2dbac4,_0x38a981){const _0x437e14=_0xc944;_0x5138bd[_0x437e14(0x480)]=_0x2dbac4(ue(),tc(),sc());}(Z,function(_0x461d1a){const _0x4d6a55=_0xc944;return(function(){const _0xb8a41f=_0xc944;var _0x452ead=_0x461d1a,_0x4c5f5e=_0x452ead[_0xb8a41f(0xde)],_0x266a1d=_0x4c5f5e[_0xb8a41f(0x111)],_0x179c9d=_0x4c5f5e[_0xb8a41f(0x281)],_0x5b92e4=_0x452ead[_0xb8a41f(0x263)],_0x203d29=_0x5b92e4[_0xb8a41f(0x176)],_0x107074=_0x5b92e4[_0xb8a41f(0x489)]=_0x266a1d[_0xb8a41f(0x229)]({'cfg':_0x266a1d[_0xb8a41f(0x229)]({'keySize':0x80/0x20,'hasher':_0x203d29,'iterations':0x1}),'init':function(_0xdeb99f){const _0x5df228=_0xb8a41f;this['cfg']=this[_0x5df228(0x146)][_0x5df228(0x229)](_0xdeb99f);},'compute':function(_0x4ebdb9,_0x5d6bad){const _0x1c570a=_0xb8a41f;for(var _0x593cce,_0x110f42=this[_0x1c570a(0x146)],_0x3d26f3=_0x110f42['hasher'][_0x1c570a(0x24c)](),_0x53e9d6=_0x179c9d[_0x1c570a(0x24c)](),_0x1ecd9e=_0x53e9d6[_0x1c570a(0x445)],_0x94f39a=_0x110f42[_0x1c570a(0x1d5)],_0x2e5de0=_0x110f42[_0x1c570a(0x17f)];_0x1ecd9e[_0x1c570a(0x1d0)]<_0x94f39a;){_0x593cce&&_0x3d26f3[_0x1c570a(0x137)](_0x593cce),_0x593cce=_0x3d26f3[_0x1c570a(0x137)](_0x4ebdb9)[_0x1c570a(0x363)](_0x5d6bad),_0x3d26f3['reset']();for(var _0xc9bbe4=0x1;_0xc9bbe4<_0x2e5de0;_0xc9bbe4++)_0x593cce=_0x3d26f3[_0x1c570a(0x363)](_0x593cce),_0x3d26f3['reset']();_0x53e9d6['concat'](_0x593cce);}return _0x53e9d6[_0x1c570a(0x1a8)]=_0x94f39a*0x4,_0x53e9d6;}});_0x452ead[_0xb8a41f(0x489)]=function(_0x28c4a8,_0x271e71,_0x4e5b79){const _0xd31311=_0xb8a41f;return _0x107074[_0xd31311(0x24c)](_0x4e5b79)['compute'](_0x28c4a8,_0x271e71);};}()),_0x461d1a[_0x4d6a55(0x489)];}));}(zt)),zt[_0x20d52c(0x480)];}var Jt={'exports':{}},ai;function Ji(){return ai||(ai=0x1,function(_0xaa95e3,_0x444ad5){(function(_0x55b202,_0x14831e,_0x2cb20a){const _0x20fcf6=_0xc944;_0xaa95e3[_0x20fcf6(0x480)]=_0x14831e(ue(),Xi());}(Z,function(_0x1299eb){const _0x156645=_0xc944;_0x1299eb[_0x156645(0xde)][_0x156645(0x339)]||function(_0x15c027){const _0x486992=_0x156645;var _0x1b2f13=_0x1299eb,_0x19f3c6=_0x1b2f13[_0x486992(0xde)],_0x4d7c81=_0x19f3c6[_0x486992(0x111)],_0x387b5f=_0x19f3c6['WordArray'],_0xdea24d=_0x19f3c6[_0x486992(0x284)],_0x3787ce=_0x1b2f13['enc'];_0x3787ce[_0x486992(0x468)];var _0x4431ea=_0x3787ce[_0x486992(0x1bb)],_0x1b8734=_0x1b2f13['algo'],_0x5aed02=_0x1b8734[_0x486992(0x489)],_0xebff5c=_0x19f3c6[_0x486992(0x339)]=_0xdea24d[_0x486992(0x229)]({'cfg':_0x4d7c81['extend'](),'createEncryptor':function(_0x4e8584,_0x2c3ace){const _0x217c16=_0x486992;return this[_0x217c16(0x24c)](this[_0x217c16(0x423)],_0x4e8584,_0x2c3ace);},'createDecryptor':function(_0x308628,_0x457cb1){const _0x16eafc=_0x486992;return this[_0x16eafc(0x24c)](this[_0x16eafc(0x23a)],_0x308628,_0x457cb1);},'init':function(_0x4b667a,_0x474839,_0x43a3fb){const _0x235342=_0x486992;this[_0x235342(0x146)]=this['cfg'][_0x235342(0x229)](_0x43a3fb),this['_xformMode']=_0x4b667a,this['_key']=_0x474839,this[_0x235342(0xca)]();},'reset':function(){const _0x24012b=_0x486992;_0xdea24d[_0x24012b(0xca)][_0x24012b(0x2a1)](this),this[_0x24012b(0x136)]();},'process':function(_0x585a66){const _0x351e0d=_0x486992;return this[_0x351e0d(0x2ed)](_0x585a66),this[_0x351e0d(0x369)]();},'finalize':function(_0x4b1337){const _0x25ba82=_0x486992;_0x4b1337&&this[_0x25ba82(0x2ed)](_0x4b1337);var _0x5c8c63=this[_0x25ba82(0x239)]();return _0x5c8c63;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4ec66e(_0x4e8122){const _0x3d4391=_0xc944;return typeof _0x4e8122==_0x3d4391(0x218)?_0x456286:_0x1de5a6;}return function(_0x100ac1){return{'encrypt':function(_0x23c601,_0x254a28,_0x472fac){const _0x277514=_0xc944;return _0x4ec66e(_0x254a28)[_0x277514(0x31c)](_0x100ac1,_0x23c601,_0x254a28,_0x472fac);},'decrypt':function(_0x1502c3,_0x2353d1,_0xe1e692){const _0x1dfaaa=_0xc944;return _0x4ec66e(_0x2353d1)[_0x1dfaaa(0x279)](_0x100ac1,_0x1502c3,_0x2353d1,_0xe1e692);}};};}())});_0x19f3c6[_0x486992(0x22b)]=_0xebff5c[_0x486992(0x229)]({'_doFinalize':function(){const _0x5b2f76=_0x486992;var _0x48e703=this[_0x5b2f76(0x369)](!0x0);return _0x48e703;},'blockSize':0x1});var _0x1a5710=_0x1b2f13[_0x486992(0xf5)]={},_0x30dda7=_0x19f3c6['BlockCipherMode']=_0x4d7c81['extend']({'createEncryptor':function(_0x3aeaf1,_0xccc46a){const _0x9915a2=_0x486992;return this[_0x9915a2(0x202)][_0x9915a2(0x24c)](_0x3aeaf1,_0xccc46a);},'createDecryptor':function(_0x4ab455,_0x5e370c){const _0x45448e=_0x486992;return this[_0x45448e(0x120)][_0x45448e(0x24c)](_0x4ab455,_0x5e370c);},'init':function(_0x2c66ed,_0x3e7f94){const _0x4430c3=_0x486992;this[_0x4430c3(0x4b5)]=_0x2c66ed,this[_0x4430c3(0x4c0)]=_0x3e7f94;}}),_0x4a6e45=_0x1a5710[_0x486992(0x2fb)]=(function(){const _0x2087be=_0x486992;var _0x3f15a9=_0x30dda7[_0x2087be(0x229)]();_0x3f15a9[_0x2087be(0x202)]=_0x3f15a9[_0x2087be(0x229)]({'processBlock':function(_0x5df569,_0x283975){const _0x3cd14b=_0x2087be;var _0x4c3ec9=this[_0x3cd14b(0x4b5)],_0xb74dc0=_0x4c3ec9[_0x3cd14b(0x10f)];_0x5e97df[_0x3cd14b(0x2a1)](this,_0x5df569,_0x283975,_0xb74dc0),_0x4c3ec9[_0x3cd14b(0x207)](_0x5df569,_0x283975),this[_0x3cd14b(0x2aa)]=_0x5df569[_0x3cd14b(0x2bf)](_0x283975,_0x283975+_0xb74dc0);}}),_0x3f15a9['Decryptor']=_0x3f15a9[_0x2087be(0x229)]({'processBlock':function(_0x547b57,_0x4f1bda){const _0x135073=_0x2087be;var _0x8da143=this['_cipher'],_0x259f37=_0x8da143[_0x135073(0x10f)],_0x2b077d=_0x547b57[_0x135073(0x2bf)](_0x4f1bda,_0x4f1bda+_0x259f37);_0x8da143[_0x135073(0x3fd)](_0x547b57,_0x4f1bda),_0x5e97df['call'](this,_0x547b57,_0x4f1bda,_0x259f37),this[_0x135073(0x2aa)]=_0x2b077d;}});function _0x5e97df(_0x1f73e6,_0x3f502b,_0x2af4b6){const _0xe81238=_0x2087be;var _0x137b0b,_0x4a3fe7=this[_0xe81238(0x4c0)];_0x4a3fe7?(_0x137b0b=_0x4a3fe7,this[_0xe81238(0x4c0)]=_0x15c027):_0x137b0b=this['_prevBlock'];for(var _0x3c42fa=0x0;_0x3c42fa<_0x2af4b6;_0x3c42fa++)_0x1f73e6[_0x3f502b+_0x3c42fa]^=_0x137b0b[_0x3c42fa];}return _0x3f15a9;}()),_0x4ee198=_0x1b2f13[_0x486992(0x21e)]={},_0x3e14fe=_0x4ee198[_0x486992(0x12c)]={'pad':function(_0x1f2acb,_0x582833){const _0x517fe2=_0x486992;for(var _0x7db2cf=_0x582833*0x4,_0x245cb4=_0x7db2cf-_0x1f2acb[_0x517fe2(0x1a8)]%_0x7db2cf,_0x7cb303=_0x245cb4<<0x18|_0x245cb4<<0x10|_0x245cb4<<0x8|_0x245cb4,_0x220bcf=[],_0x1a703d=0x0;_0x1a703d<_0x245cb4;_0x1a703d+=0x4)_0x220bcf['push'](_0x7cb303);var _0x46ce9b=_0x387b5f['create'](_0x220bcf,_0x245cb4);_0x1f2acb[_0x517fe2(0x10e)](_0x46ce9b);},'unpad':function(_0x41df51){const _0xd67c83=_0x486992;var _0x33dce8=_0x41df51[_0xd67c83(0x445)][_0x41df51[_0xd67c83(0x1a8)]-0x1>>>0x2]&0xff;_0x41df51[_0xd67c83(0x1a8)]-=_0x33dce8;}};_0x19f3c6[_0x486992(0x2cf)]=_0xebff5c[_0x486992(0x229)]({'cfg':_0xebff5c[_0x486992(0x146)]['extend']({'mode':_0x4a6e45,'padding':_0x3e14fe}),'reset':function(){const _0x146fa4=_0x486992;var _0x302809;_0xebff5c['reset']['call'](this);var _0x3fa89b=this[_0x146fa4(0x146)],_0x326060=_0x3fa89b['iv'],_0x393b61=_0x3fa89b['mode'];this[_0x146fa4(0x405)]==this[_0x146fa4(0x423)]?_0x302809=_0x393b61[_0x146fa4(0x153)]:(_0x302809=_0x393b61[_0x146fa4(0x22d)],this[_0x146fa4(0x1c2)]=0x1),this[_0x146fa4(0x25e)]&&this['_mode'][_0x146fa4(0x3f7)]==_0x302809?this[_0x146fa4(0x25e)][_0x146fa4(0x237)](this,_0x326060&&_0x326060[_0x146fa4(0x445)]):(this['_mode']=_0x302809[_0x146fa4(0x2a1)](_0x393b61,this,_0x326060&&_0x326060[_0x146fa4(0x445)]),this[_0x146fa4(0x25e)][_0x146fa4(0x3f7)]=_0x302809);},'_doProcessBlock':function(_0x1aaec2,_0x284a02){const _0x270879=_0x486992;this[_0x270879(0x25e)][_0x270879(0x485)](_0x1aaec2,_0x284a02);},'_doFinalize':function(){const _0x3c70ed=_0x486992;var _0x759ee,_0xa7ae0d=this[_0x3c70ed(0x146)]['padding'];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0xa7ae0d[_0x3c70ed(0x21e)](this[_0x3c70ed(0x39c)],this[_0x3c70ed(0x10f)]),_0x759ee=this[_0x3c70ed(0x369)](!0x0)):(_0x759ee=this[_0x3c70ed(0x369)](!0x0),_0xa7ae0d[_0x3c70ed(0x194)](_0x759ee)),_0x759ee;},'blockSize':0x80/0x20});var _0x1158c2=_0x19f3c6[_0x486992(0x3a5)]=_0x4d7c81[_0x486992(0x229)]({'init':function(_0x5be310){const _0xe4261c=_0x486992;this[_0xe4261c(0x3e7)](_0x5be310);},'toString':function(_0x21af49){const _0x53730b=_0x486992;return(_0x21af49||this[_0x53730b(0x404)])['stringify'](this);}}),_0x557a06=_0x1b2f13[_0x486992(0xd2)]={},_0x14d4e1=_0x557a06['OpenSSL']={'stringify':function(_0x56b5d7){const _0x414134=_0x486992;var _0x1ab6d2,_0x32f37a=_0x56b5d7[_0x414134(0x183)],_0x277988=_0x56b5d7[_0x414134(0x32c)];return _0x277988?_0x1ab6d2=_0x387b5f['create']([0x53616c74,0x65645f5f])[_0x414134(0x10e)](_0x277988)['concat'](_0x32f37a):_0x1ab6d2=_0x32f37a,_0x1ab6d2[_0x414134(0x45a)](_0x4431ea);},'parse':function(_0xf5a408){const _0x11f30a=_0x486992;var _0x42a085,_0xd5f525=_0x4431ea['parse'](_0xf5a408),_0x2cb2a7=_0xd5f525[_0x11f30a(0x445)];return _0x2cb2a7[0x0]==0x53616c74&&_0x2cb2a7[0x1]==0x65645f5f&&(_0x42a085=_0x387b5f[_0x11f30a(0x24c)](_0x2cb2a7['slice'](0x2,0x4)),_0x2cb2a7[_0x11f30a(0xe3)](0x0,0x4),_0xd5f525[_0x11f30a(0x1a8)]-=0x10),_0x1158c2[_0x11f30a(0x24c)]({'ciphertext':_0xd5f525,'salt':_0x42a085});}},_0x1de5a6=_0x19f3c6['SerializableCipher']=_0x4d7c81[_0x486992(0x229)]({'cfg':_0x4d7c81[_0x486992(0x229)]({'format':_0x14d4e1}),'encrypt':function(_0x457745,_0x3f1e64,_0x26ebe6,_0x542c88){const _0x1fa0bc=_0x486992;_0x542c88=this[_0x1fa0bc(0x146)]['extend'](_0x542c88);var _0x2bd283=_0x457745[_0x1fa0bc(0x153)](_0x26ebe6,_0x542c88),_0x5f03f7=_0x2bd283['finalize'](_0x3f1e64),_0x30d988=_0x2bd283[_0x1fa0bc(0x146)];return _0x1158c2[_0x1fa0bc(0x24c)]({'ciphertext':_0x5f03f7,'key':_0x26ebe6,'iv':_0x30d988['iv'],'algorithm':_0x457745,'mode':_0x30d988[_0x1fa0bc(0xf5)],'padding':_0x30d988[_0x1fa0bc(0x308)],'blockSize':_0x457745[_0x1fa0bc(0x10f)],'formatter':_0x542c88[_0x1fa0bc(0xd2)]});},'decrypt':function(_0x5cf78f,_0x4bad6a,_0xd210a5,_0x3e5906){const _0xdc5019=_0x486992;_0x3e5906=this[_0xdc5019(0x146)]['extend'](_0x3e5906),_0x4bad6a=this[_0xdc5019(0x150)](_0x4bad6a,_0x3e5906[_0xdc5019(0xd2)]);var _0x4512c4=_0x5cf78f['createDecryptor'](_0xd210a5,_0x3e5906)[_0xdc5019(0x363)](_0x4bad6a['ciphertext']);return _0x4512c4;},'_parse':function(_0x3b4eab,_0x3b949d){return typeof _0x3b4eab=='string'?_0x3b949d['parse'](_0x3b4eab,this):_0x3b4eab;}}),_0x3089ee=_0x1b2f13['kdf']={},_0x3ba1a9=_0x3089ee[_0x486992(0x19c)]={'execute':function(_0x6d51df,_0x91b2aa,_0x245e4b,_0x404f0b,_0x28f9c7){const _0x5a60a4=_0x486992;if(_0x404f0b||(_0x404f0b=_0x387b5f['random'](0x40/0x8)),_0x28f9c7)var _0x3aefd2=_0x5aed02['create']({'keySize':_0x91b2aa+_0x245e4b,'hasher':_0x28f9c7})[_0x5a60a4(0x138)](_0x6d51df,_0x404f0b);else var _0x3aefd2=_0x5aed02['create']({'keySize':_0x91b2aa+_0x245e4b})[_0x5a60a4(0x138)](_0x6d51df,_0x404f0b);var _0x42ad99=_0x387b5f['create'](_0x3aefd2['words'][_0x5a60a4(0x2bf)](_0x91b2aa),_0x245e4b*0x4);return _0x3aefd2[_0x5a60a4(0x1a8)]=_0x91b2aa*0x4,_0x1158c2[_0x5a60a4(0x24c)]({'key':_0x3aefd2,'iv':_0x42ad99,'salt':_0x404f0b});}},_0x456286=_0x19f3c6[_0x486992(0x3db)]=_0x1de5a6['extend']({'cfg':_0x1de5a6[_0x486992(0x146)][_0x486992(0x229)]({'kdf':_0x3ba1a9}),'encrypt':function(_0x402d85,_0x2d2673,_0x1e546f,_0x39c266){const _0x28501d=_0x486992;_0x39c266=this[_0x28501d(0x146)]['extend'](_0x39c266);var _0x2f8505=_0x39c266['kdf'][_0x28501d(0x4a9)](_0x1e546f,_0x402d85[_0x28501d(0x1d5)],_0x402d85[_0x28501d(0x472)],_0x39c266[_0x28501d(0x32c)],_0x39c266[_0x28501d(0x458)]);_0x39c266['iv']=_0x2f8505['iv'];var _0x481887=_0x1de5a6[_0x28501d(0x31c)]['call'](this,_0x402d85,_0x2d2673,_0x2f8505[_0x28501d(0x31f)],_0x39c266);return _0x481887[_0x28501d(0x3e7)](_0x2f8505),_0x481887;},'decrypt':function(_0x403a57,_0x2dedef,_0x5e1782,_0x247f0e){const _0x426dff=_0x486992;_0x247f0e=this[_0x426dff(0x146)][_0x426dff(0x229)](_0x247f0e),_0x2dedef=this[_0x426dff(0x150)](_0x2dedef,_0x247f0e['format']);var _0x280488=_0x247f0e['kdf']['execute'](_0x5e1782,_0x403a57[_0x426dff(0x1d5)],_0x403a57[_0x426dff(0x472)],_0x2dedef[_0x426dff(0x32c)],_0x247f0e[_0x426dff(0x458)]);_0x247f0e['iv']=_0x280488['iv'];var _0x2e30bc=_0x1de5a6[_0x426dff(0x279)]['call'](this,_0x403a57,_0x2dedef,_0x280488[_0x426dff(0x31f)],_0x247f0e);return _0x2e30bc;}});}();}));}(Jt)),Jt['exports'];}(function(_0x4a5aad,_0x219c5b){(function(_0x15e51e,_0xe29774,_0x4a44dc){const _0x29f55a=_0xc944;_0x4a5aad[_0x29f55a(0x480)]=_0xe29774(ue(),qi(),ec(),Xi(),Ji());}(Z,function(_0x1eec4d){const _0x11cf1c=_0xc944;return(function(){const _0x604d7b=_0xc944;var _0x53d13c=_0x1eec4d,_0xb38d15=_0x53d13c[_0x604d7b(0xde)],_0xdd3a63=_0xb38d15[_0x604d7b(0x2cf)],_0x4e578a=_0x53d13c[_0x604d7b(0x263)],_0x2e5438=[],_0x2d44bb=[],_0x5727a9=[],_0x42df13=[],_0x731e0=[],_0x48a60f=[],_0xbe057a=[],_0x5e238e=[],_0x2512ff=[],_0x4cd99a=[];(function(){for(var _0x45c0bc=[],_0x264c47=0x0;_0x264c47<0x100;_0x264c47++)_0x264c47<0x80?_0x45c0bc[_0x264c47]=_0x264c47<<0x1:_0x45c0bc[_0x264c47]=_0x264c47<<0x1^0x11b;for(var _0x4860d8=0x0,_0x2344f7=0x0,_0x264c47=0x0;_0x264c47<0x100;_0x264c47++){var _0x575aff=_0x2344f7^_0x2344f7<<0x1^_0x2344f7<<0x2^_0x2344f7<<0x3^_0x2344f7<<0x4;_0x575aff=_0x575aff>>>0x8^_0x575aff&0xff^0x63,_0x2e5438[_0x4860d8]=_0x575aff,_0x2d44bb[_0x575aff]=_0x4860d8;var _0xb4954b=_0x45c0bc[_0x4860d8],_0x3c4b1f=_0x45c0bc[_0xb4954b],_0x4c564e=_0x45c0bc[_0x3c4b1f],_0x3e2a67=_0x45c0bc[_0x575aff]*0x101^_0x575aff*0x1010100;_0x5727a9[_0x4860d8]=_0x3e2a67<<0x18|_0x3e2a67>>>0x8,_0x42df13[_0x4860d8]=_0x3e2a67<<0x10|_0x3e2a67>>>0x10,_0x731e0[_0x4860d8]=_0x3e2a67<<0x8|_0x3e2a67>>>0x18,_0x48a60f[_0x4860d8]=_0x3e2a67;var _0x3e2a67=_0x4c564e*0x1010101^_0x3c4b1f*0x10001^_0xb4954b*0x101^_0x4860d8*0x1010100;_0xbe057a[_0x575aff]=_0x3e2a67<<0x18|_0x3e2a67>>>0x8,_0x5e238e[_0x575aff]=_0x3e2a67<<0x10|_0x3e2a67>>>0x10,_0x2512ff[_0x575aff]=_0x3e2a67<<0x8|_0x3e2a67>>>0x18,_0x4cd99a[_0x575aff]=_0x3e2a67,_0x4860d8?(_0x4860d8=_0xb4954b^_0x45c0bc[_0x45c0bc[_0x45c0bc[_0x4c564e^_0xb4954b]]],_0x2344f7^=_0x45c0bc[_0x45c0bc[_0x2344f7]]):_0x4860d8=_0x2344f7=0x1;}}());var _0x58fa76=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xa660cc=_0x4e578a[_0x604d7b(0x3ec)]=_0xdd3a63[_0x604d7b(0x229)]({'_doReset':function(){const _0x1d5901=_0x604d7b;var _0xb95b80;if(!(this[_0x1d5901(0xad)]&&this[_0x1d5901(0x19a)]===this[_0x1d5901(0x2b7)])){for(var _0x328e67=this[_0x1d5901(0x19a)]=this[_0x1d5901(0x2b7)],_0x1f2545=_0x328e67[_0x1d5901(0x445)],_0x482e4b=_0x328e67[_0x1d5901(0x1a8)]/0x4,_0x2a19e7=this[_0x1d5901(0xad)]=_0x482e4b+0x6,_0x2c6853=(_0x2a19e7+0x1)*0x4,_0x3aaac6=this[_0x1d5901(0x39b)]=[],_0x4a6813=0x0;_0x4a6813<_0x2c6853;_0x4a6813++)_0x4a6813<_0x482e4b?_0x3aaac6[_0x4a6813]=_0x1f2545[_0x4a6813]:(_0xb95b80=_0x3aaac6[_0x4a6813-0x1],_0x4a6813%_0x482e4b?_0x482e4b>0x6&&_0x4a6813%_0x482e4b==0x4&&(_0xb95b80=_0x2e5438[_0xb95b80>>>0x18]<<0x18|_0x2e5438[_0xb95b80>>>0x10&0xff]<<0x10|_0x2e5438[_0xb95b80>>>0x8&0xff]<<0x8|_0x2e5438[_0xb95b80&0xff]):(_0xb95b80=_0xb95b80<<0x8|_0xb95b80>>>0x18,_0xb95b80=_0x2e5438[_0xb95b80>>>0x18]<<0x18|_0x2e5438[_0xb95b80>>>0x10&0xff]<<0x10|_0x2e5438[_0xb95b80>>>0x8&0xff]<<0x8|_0x2e5438[_0xb95b80&0xff],_0xb95b80^=_0x58fa76[_0x4a6813/_0x482e4b|0x0]<<0x18),_0x3aaac6[_0x4a6813]=_0x3aaac6[_0x4a6813-_0x482e4b]^_0xb95b80);for(var _0x514594=this[_0x1d5901(0x17b)]=[],_0x32b96f=0x0;_0x32b96f<_0x2c6853;_0x32b96f++){var _0x4a6813=_0x2c6853-_0x32b96f;if(_0x32b96f%0x4)var _0xb95b80=_0x3aaac6[_0x4a6813];else var _0xb95b80=_0x3aaac6[_0x4a6813-0x4];_0x32b96f<0x4||_0x4a6813<=0x4?_0x514594[_0x32b96f]=_0xb95b80:_0x514594[_0x32b96f]=_0xbe057a[_0x2e5438[_0xb95b80>>>0x18]]^_0x5e238e[_0x2e5438[_0xb95b80>>>0x10&0xff]]^_0x2512ff[_0x2e5438[_0xb95b80>>>0x8&0xff]]^_0x4cd99a[_0x2e5438[_0xb95b80&0xff]];}}},'encryptBlock':function(_0xb9c13f,_0x4258aa){const _0x4b09b9=_0x604d7b;this[_0x4b09b9(0xd6)](_0xb9c13f,_0x4258aa,this[_0x4b09b9(0x39b)],_0x5727a9,_0x42df13,_0x731e0,_0x48a60f,_0x2e5438);},'decryptBlock':function(_0x283c1a,_0x42e45c){const _0x1a0054=_0x604d7b;var _0x846566=_0x283c1a[_0x42e45c+0x1];_0x283c1a[_0x42e45c+0x1]=_0x283c1a[_0x42e45c+0x3],_0x283c1a[_0x42e45c+0x3]=_0x846566,this[_0x1a0054(0xd6)](_0x283c1a,_0x42e45c,this['_invKeySchedule'],_0xbe057a,_0x5e238e,_0x2512ff,_0x4cd99a,_0x2d44bb);var _0x846566=_0x283c1a[_0x42e45c+0x1];_0x283c1a[_0x42e45c+0x1]=_0x283c1a[_0x42e45c+0x3],_0x283c1a[_0x42e45c+0x3]=_0x846566;},'_doCryptBlock':function(_0x2b3092,_0x10f4ad,_0x58df07,_0x4935ac,_0x226363,_0x1c21fa,_0x3fceab,_0x5d7601){for(var _0x5918c1=this['_nRounds'],_0x50206d=_0x2b3092[_0x10f4ad]^_0x58df07[0x0],_0x15e1a7=_0x2b3092[_0x10f4ad+0x1]^_0x58df07[0x1],_0x38e8f0=_0x2b3092[_0x10f4ad+0x2]^_0x58df07[0x2],_0x2e43d6=_0x2b3092[_0x10f4ad+0x3]^_0x58df07[0x3],_0x392cfb=0x4,_0x40d131=0x1;_0x40d131<_0x5918c1;_0x40d131++){var _0x1c7aae=_0x4935ac[_0x50206d>>>0x18]^_0x226363[_0x15e1a7>>>0x10&0xff]^_0x1c21fa[_0x38e8f0>>>0x8&0xff]^_0x3fceab[_0x2e43d6&0xff]^_0x58df07[_0x392cfb++],_0x154602=_0x4935ac[_0x15e1a7>>>0x18]^_0x226363[_0x38e8f0>>>0x10&0xff]^_0x1c21fa[_0x2e43d6>>>0x8&0xff]^_0x3fceab[_0x50206d&0xff]^_0x58df07[_0x392cfb++],_0x140b9d=_0x4935ac[_0x38e8f0>>>0x18]^_0x226363[_0x2e43d6>>>0x10&0xff]^_0x1c21fa[_0x50206d>>>0x8&0xff]^_0x3fceab[_0x15e1a7&0xff]^_0x58df07[_0x392cfb++],_0x222dd0=_0x4935ac[_0x2e43d6>>>0x18]^_0x226363[_0x50206d>>>0x10&0xff]^_0x1c21fa[_0x15e1a7>>>0x8&0xff]^_0x3fceab[_0x38e8f0&0xff]^_0x58df07[_0x392cfb++];_0x50206d=_0x1c7aae,_0x15e1a7=_0x154602,_0x38e8f0=_0x140b9d,_0x2e43d6=_0x222dd0;}var _0x1c7aae=(_0x5d7601[_0x50206d>>>0x18]<<0x18|_0x5d7601[_0x15e1a7>>>0x10&0xff]<<0x10|_0x5d7601[_0x38e8f0>>>0x8&0xff]<<0x8|_0x5d7601[_0x2e43d6&0xff])^_0x58df07[_0x392cfb++],_0x154602=(_0x5d7601[_0x15e1a7>>>0x18]<<0x18|_0x5d7601[_0x38e8f0>>>0x10&0xff]<<0x10|_0x5d7601[_0x2e43d6>>>0x8&0xff]<<0x8|_0x5d7601[_0x50206d&0xff])^_0x58df07[_0x392cfb++],_0x140b9d=(_0x5d7601[_0x38e8f0>>>0x18]<<0x18|_0x5d7601[_0x2e43d6>>>0x10&0xff]<<0x10|_0x5d7601[_0x50206d>>>0x8&0xff]<<0x8|_0x5d7601[_0x15e1a7&0xff])^_0x58df07[_0x392cfb++],_0x222dd0=(_0x5d7601[_0x2e43d6>>>0x18]<<0x18|_0x5d7601[_0x50206d>>>0x10&0xff]<<0x10|_0x5d7601[_0x15e1a7>>>0x8&0xff]<<0x8|_0x5d7601[_0x38e8f0&0xff])^_0x58df07[_0x392cfb++];_0x2b3092[_0x10f4ad]=_0x1c7aae,_0x2b3092[_0x10f4ad+0x1]=_0x154602,_0x2b3092[_0x10f4ad+0x2]=_0x140b9d,_0x2b3092[_0x10f4ad+0x3]=_0x222dd0;},'keySize':0x100/0x20});_0x53d13c['AES']=_0xdd3a63['_createHelper'](_0xa660cc);}()),_0x1eec4d[_0x11cf1c(0x3ec)];}));}(zi));var ic=zi[_0x50a7d0(0x480)];const rc=at(ic);var nc=qi();const ci=at(nc);var Zi={'exports':{}};(function(_0xe39910,_0x95a916){(function(_0x4b6d95,_0x4998c4){const _0x36da08=_0xc944;_0xe39910[_0x36da08(0x480)]=_0x4998c4(ue());}(Z,function(_0x5f1695){const _0x69aede=_0xc944;return _0x5f1695[_0x69aede(0x429)][_0x69aede(0x468)];}));}(Zi));var oc=Zi[_0x50a7d0(0x480)];const ac=at(oc);var Qi={'exports':{}};(function(_0x252527,_0x147f87){(function(_0x1176d5,_0x550135){const _0x56f8c1=_0xc944;_0x252527[_0x56f8c1(0x480)]=_0x550135(ue());}(Z,function(_0xc9903c){const _0x36dcc8=_0xc944;return(function(){const _0x5ed382=_0xc944;if(typeof ArrayBuffer==_0x5ed382(0x36c)){var _0x44f071=_0xc9903c,_0x35bf71=_0x44f071['lib'],_0x4cf2d2=_0x35bf71['WordArray'],_0x3440fa=_0x4cf2d2[_0x5ed382(0x237)],_0x51eedc=_0x4cf2d2[_0x5ed382(0x237)]=function(_0x2830a0){const _0x3a79b0=_0x5ed382;if(_0x2830a0 instanceof ArrayBuffer&&(_0x2830a0=new Uint8Array(_0x2830a0)),(_0x2830a0 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2830a0 instanceof Uint8ClampedArray||_0x2830a0 instanceof Int16Array||_0x2830a0 instanceof Uint16Array||_0x2830a0 instanceof Int32Array||_0x2830a0 instanceof Uint32Array||_0x2830a0 instanceof Float32Array||_0x2830a0 instanceof Float64Array)&&(_0x2830a0=new Uint8Array(_0x2830a0[_0x3a79b0(0x1fa)],_0x2830a0[_0x3a79b0(0x359)],_0x2830a0[_0x3a79b0(0x3a6)])),_0x2830a0 instanceof Uint8Array){for(var _0x4f8341=_0x2830a0[_0x3a79b0(0x3a6)],_0x14ea20=[],_0xf9885=0x0;_0xf9885<_0x4f8341;_0xf9885++)_0x14ea20[_0xf9885>>>0x2]|=_0x2830a0[_0xf9885]<<0x18-_0xf9885%0x4*0x8;_0x3440fa[_0x3a79b0(0x2a1)](this,_0x14ea20,_0x4f8341);}else _0x3440fa[_0x3a79b0(0x335)](this,arguments);};_0x51eedc[_0x5ed382(0x155)]=_0x4cf2d2;}}()),_0xc9903c[_0x36dcc8(0xde)]['WordArray'];}));}(Qi));var cc=Qi[_0x50a7d0(0x480)];const hc=at(cc);var er={'exports':{}};(function(_0x4edeec,_0x50f1ae){(function(_0x1264d8,_0xcf8a05,_0x3f8cb7){const _0x2b411a=_0xc944;_0x4edeec[_0x2b411a(0x480)]=_0xcf8a05(ue(),Ji());}(Z,function(_0x5d0a26){const _0x211281=_0xc944;return _0x5d0a26[_0x211281(0x21e)][_0x211281(0x371)]={'pad':function(){},'unpad':function(){}},_0x5d0a26[_0x211281(0x21e)][_0x211281(0x371)];}));}(er));var lc=er[_0x50a7d0(0x480)];const _c=at(lc);function uc(_0x106420,_0x2e3b03){const _0x21fd13=_0x50a7d0,_0x4774c8=_0x2e3b03-_0x106420[_0x21fd13(0x1d0)]%_0x2e3b03,_0x578279=String['fromCharCode'](_0x4774c8)[_0x21fd13(0x37f)](_0x4774c8);return _0x106420+_0x578279;}function dc(_0x263555,_0x5d1b1c){const _0x50e15d=_0x50a7d0,_0x10a786=hc[_0x50e15d(0x220)](0x10),_0x1191bc=uc(_0x263555,0x10),_0x375f36=rc[_0x50e15d(0x31c)](ac[_0x50e15d(0x47f)](_0x1191bc),ci['parse'](_0x5d1b1c),{'iv':_0x10a786,'padding':_c});return _0x10a786['concat'](_0x375f36[_0x50e15d(0x183)])[_0x50e15d(0x45a)](ci);}function fc(){const _0xfe9c5d=_0x50a7d0,_0x4f964e=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0xfe9c5d(0x34b)];if(_0x4f964e){const _0x122c48={'time':Math[_0xfe9c5d(0x28f)](Date[_0xfe9c5d(0x15a)]()/0x3e8),'domain':location[_0xfe9c5d(0x13a)]};return dc(JSON[_0xfe9c5d(0x2d6)](_0x122c48),_0x4f964e);}}var vc=Object[_0x50a7d0(0x15c)],mc=Object[_0x50a7d0(0x18b)],pc=(_0xa398ed,_0x5cb77f,_0x464590,_0x153352)=>{const _0x20e1a2=_0x50a7d0;for(var _0x1acb38=_0x153352>0x1?void 0x0:_0x153352?mc(_0x5cb77f,_0x464590):_0x5cb77f,_0x11bbbd=_0xa398ed[_0x20e1a2(0x1d0)]-0x1,_0x26be38;_0x11bbbd>=0x0;_0x11bbbd--)(_0x26be38=_0xa398ed[_0x11bbbd])&&(_0x1acb38=(_0x153352?_0x26be38(_0x5cb77f,_0x464590,_0x1acb38):_0x26be38(_0x1acb38))||_0x1acb38);return _0x153352&&_0x1acb38&&vc(_0x5cb77f,_0x464590,_0x1acb38),_0x1acb38;},gc=(_0x2b1dc8,_0x1f8f8a)=>(_0x70eaf1,_0x1e7ba8)=>_0x1f8f8a(_0x70eaf1,_0x1e7ba8,_0x2b1dc8);let Rt=class{constructor(_0x284d0a){const _0x5682e7=_0x50a7d0;this[_0x5682e7(0x38a)]=_0x284d0a,this[_0x5682e7(0x1f3)]();}[_0x50a7d0(0x1f3)](){const _0x554f8f=_0x50a7d0;this['_httpService'][_0x554f8f(0x434)]({'interceptor':(_0x2fb707,_0x51042c)=>{const _0x2b7f0d=_0x554f8f,_0x2e1f91=_0x2fb707[_0x2b7f0d(0x3de)],_0x2c3ac6=fc();return _0x2c3ac6&&_0x2e1f91[_0x2b7f0d(0x2ce)]('x-univer-host',_0x2c3ac6),_0x51042c(_0x2fb707);}});}};Rt=pc([gc(0x0,_0x33026a(_0x278722))],Rt);var Sc=Object[_0x50a7d0(0x15c)],Ic=Object[_0x50a7d0(0x18b)],Cc=(_0x124d16,_0x565b2b,_0x59dcfc,_0x382892)=>{const _0x29b592=_0x50a7d0;for(var _0x5387f8=_0x382892>0x1?void 0x0:_0x382892?Ic(_0x565b2b,_0x59dcfc):_0x565b2b,_0xf44418=_0x124d16[_0x29b592(0x1d0)]-0x1,_0x375c33;_0xf44418>=0x0;_0xf44418--)(_0x375c33=_0x124d16[_0xf44418])&&(_0x5387f8=(_0x382892?_0x375c33(_0x565b2b,_0x59dcfc,_0x5387f8):_0x375c33(_0x5387f8))||_0x5387f8);return _0x382892&&_0x5387f8&&Sc(_0x565b2b,_0x59dcfc,_0x5387f8),_0x5387f8;},Zt=(_0x548b45,_0x32ad1d)=>(_0x121149,_0x49f055)=>_0x32ad1d(_0x121149,_0x49f055,_0x548b45);const Ec=[_0x50a7d0(0x16b),_0x50a7d0(0x2ae),'image/jpg','image/gif','image/bmp'],bc=0x5*0x400*0x400,Tc=_0x50a7d0(0x297),Rc=_0x50a7d0(0x4a1),Oc=_0x50a7d0(0x19e),yc=_0x50a7d0(0x350);let _s=class{constructor(_0x53f0c7,_0x92e20b,_0x10fe6b){const _0x24c98f=_0x50a7d0;g(this,_0x24c98f(0x309),0x0),g(this,_0x24c98f(0x1be),new _0x5b148b()),g(this,_0x24c98f(0x1d6),this['_change$']),g(this,'_imageSourceCache',new Map()),(this[_0x24c98f(0x38a)]=_0x53f0c7,this[_0x24c98f(0x3bb)]=_0x92e20b,this[_0x24c98f(0x283)]=_0x10fe6b);}[_0x50a7d0(0x3b9)](_0x1acc92){const _0x9edf04=_0x50a7d0;this[_0x9edf04(0x309)]=_0x1acc92,this[_0x9edf04(0x1be)][_0x9edf04(0x492)](_0x1acc92);}[_0x50a7d0(0x4a0)](_0x3f0b9f,_0x10bd91){const _0x31c40e=_0x50a7d0;if(_0x10bd91===_0x253162[_0x31c40e(0x1fe)]){const _0x264193=new Image();return _0x264193[_0x31c40e(0x1e2)]=_0x3f0b9f,_0x264193;}return this[_0x31c40e(0x201)][_0x31c40e(0x373)](_0x3f0b9f);}[_0x50a7d0(0x1db)](_0xc07f4d,_0x45360d,_0x5ba696){const _0x42c18f=_0x50a7d0;_0x45360d===_0x253162[_0x42c18f(0x1fe)]||_0x5ba696==null||this[_0x42c18f(0x201)][_0x42c18f(0x2ce)](_0xc07f4d,_0x5ba696);}async['getImage'](_0x449ace){const _0x196b9c=_0x50a7d0;try{const _0x429a60=this[_0x196b9c(0x1b0)](this[_0x196b9c(0x416)](),''+_0x449ace),_0x36cfd6=(await this[_0x196b9c(0x38a)]['get'](_0x429a60))[_0x196b9c(0x48c)];if(_0x36cfd6[_0x196b9c(0x3a2)]&&_0x36cfd6['error'][_0x196b9c(0x48a)]===Ui['OK']){const _0x48c75c=new URL(_0x36cfd6[_0x196b9c(0x40b)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x196b9c(0x101)](_0x48c75c);}return Promise[_0x196b9c(0x440)](_0x36cfd6[_0x196b9c(0x3a2)]);}catch(_0x3d343c){return Promise['reject'](_0x3d343c);}}async[_0x50a7d0(0x4b7)](_0x3606db){const _0x4325c5=_0x50a7d0;let _0x4d4073='';if(!Ec[_0x4325c5(0x409)](_0x3606db[_0x4325c5(0x105)]))return this[_0x4325c5(0x37c)](),Promise[_0x4325c5(0x440)](new Error(_0x4e08d9['ERROR_IMAGE_TYPE']));if(_0x3606db[_0x4325c5(0x1e7)]>bc)return this[_0x4325c5(0x37c)](),Promise[_0x4325c5(0x440)](new Error(_0x4e08d9[_0x4325c5(0x3c0)]));try{const _0x13b716=new FormData();_0x13b716[_0x4325c5(0x42c)](_0x4325c5(0xe0),_0x3606db);const _0xbf7b39=this[_0x4325c5(0x283)][_0x4325c5(0x311)](),_0x6fc3c7=_0xbf7b39==null?void 0x0:_0xbf7b39[_0x4325c5(0x14f)]();if(!_0x6fc3c7)throw new Error(_0x4325c5(0x3f1));const _0x55298d=this[_0x4325c5(0x32d)]()+_0x4325c5(0x37a)+_0x3606db[_0x4325c5(0x1e7)][_0x4325c5(0x45a)]()+_0x4325c5(0x387)+Ni[_0x4325c5(0x1f4)]+'&assign='+encodeURIComponent(_0x6fc3c7),_0x4ed929=await(await fetch(_0x55298d,{'method':'POST','body':_0x13b716}))[_0x4325c5(0x292)]();if(typeof _0x4ed929[_0x4325c5(0x497)]!='string')return this[_0x4325c5(0x37c)](),Promise[_0x4325c5(0x440)](new Error(_0x4e08d9[_0x4325c5(0x24a)]));_0x4d4073=_0x4ed929[_0x4325c5(0x497)];}catch{return this[_0x4325c5(0x37c)](),Promise[_0x4325c5(0x440)](new Error(_0x4e08d9['ERROR_IMAGE']));}return new Promise((_0x222087,_0x1d04ac)=>{const _0x36164a=_0x4325c5,_0x362b62=new FileReader();_0x362b62[_0x36164a(0x444)](_0x3606db),_0x362b62[_0x36164a(0x1b6)]=_0x487760=>{const _0x1e998b=_0x36164a;var _0x165b63;const _0x3314ca=(_0x165b63=_0x487760['target'])==null?void 0x0:_0x165b63['result'];if(_0x3314ca==null){this['_decreaseWaiting'](),_0x1d04ac(new Error(_0x4e08d9[_0x1e998b(0x24a)]));return;}const _0x49ec02=_0x378638['generateRandomId'](0x6);_0x222087({'imageId':_0x49ec02,'imageSourceType':_0x253162[_0x1e998b(0x2a3)],'source':_0x4d4073,'base64Cache':_0x3314ca,'status':_0x4e08d9['SUCCUSS']}),this[_0x1e998b(0x37c)]();};});}[_0x50a7d0(0x32d)](){const _0x48bb35=_0x50a7d0;var _0x588341,_0x555dce;const _0x27ad45=this['_configService'][_0x48bb35(0x4c6)](Tc),_0x3c4747=this[_0x48bb35(0x3bb)]['getConfig'](ee);return(_0x555dce=(_0x588341=_0x3c4747==null?void 0x0:_0x3c4747['uploadFileServerUrl'])!=null?_0x588341:_0x27ad45)!=null?_0x555dce:Rc;}[_0x50a7d0(0x416)](){const _0x2e7358=_0x50a7d0;var _0x4793e1,_0x9b05e8;const _0x462246=this[_0x2e7358(0x3bb)][_0x2e7358(0x4c6)](Oc),_0x55f8c1=this[_0x2e7358(0x3bb)][_0x2e7358(0x4c6)](ee);return(_0x9b05e8=(_0x4793e1=_0x55f8c1==null?void 0x0:_0x55f8c1['signUrlServerUrl'])!=null?_0x4793e1:_0x462246)!=null?_0x9b05e8:yc;}[_0x50a7d0(0x3fb)](){const _0x5e8e08=_0x50a7d0;var _0x57c644;const _0xccba4f=this[_0x5e8e08(0x3bb)][_0x5e8e08(0x4c6)](ee);return(_0x57c644=_0xccba4f==null?void 0x0:_0xccba4f[_0x5e8e08(0x2fa)])!=null?_0x57c644:location[_0x5e8e08(0x27c)];}[_0x50a7d0(0x1b0)](_0x467582,_0x3020bf){const _0x18a8d3=_0x50a7d0;return _0x467582[_0x18a8d3(0x226)](_0x18a8d3(0x381),_0x3020bf);}[_0x50a7d0(0x37c)](){const _0x5ecad0=_0x50a7d0;this[_0x5ecad0(0x309)]-=0x1,this[_0x5ecad0(0x1be)][_0x5ecad0(0x492)](this['_waitCount']);}};_s=Cc([Zt(0x0,_0x33026a(_0x278722)),Zt(0x1,_0x533505),Zt(0x2,_0x33026a(_0x28b990))],_s);var wc=Object[_0x50a7d0(0x15c)],Dc=Object[_0x50a7d0(0x18b)],Pc=(_0x40494a,_0x5ebf8c,_0xaadcad,_0x4b04e8)=>{const _0x425d03=_0x50a7d0;for(var _0x8e304d=_0x4b04e8>0x1?void 0x0:_0x4b04e8?Dc(_0x5ebf8c,_0xaadcad):_0x5ebf8c,_0x416a69=_0x40494a[_0x425d03(0x1d0)]-0x1,_0x24d222;_0x416a69>=0x0;_0x416a69--)(_0x24d222=_0x40494a[_0x416a69])&&(_0x8e304d=(_0x4b04e8?_0x24d222(_0x5ebf8c,_0xaadcad,_0x8e304d):_0x24d222(_0x8e304d))||_0x8e304d);return _0x4b04e8&&_0x8e304d&&wc(_0x5ebf8c,_0xaadcad,_0x8e304d),_0x8e304d;},hi=(_0x403c70,_0x24b39d)=>(_0x169d8f,_0x1e5978)=>_0x24b39d(_0x169d8f,_0x1e5978,_0x403c70);const Uc=_0x50a7d0(0x1a4);let us=class{constructor(_0x29cfa1,_0x21a8dd){this['_configService']=_0x29cfa1,this['_HTTPService']=_0x21a8dd;}[_0x50a7d0(0x3ca)](){const _0x4d8591=_0x50a7d0;var _0x2ec33b,_0x2f5547;const _0x40e05e=this[_0x4d8591(0x3bb)]['getConfig'](Ki),_0x1dd891=this[_0x4d8591(0x3bb)]['getConfig'](ee);return(_0x2f5547=(_0x2ec33b=_0x1dd891==null?void 0x0:_0x1dd891['authzUrl'])!=null?_0x2ec33b:_0x40e05e)!=null?_0x2f5547:Uc;}async[_0x50a7d0(0x205)](_0x308999){const _0x131b11=_0x50a7d0,_0x4d3f48=this[_0x131b11(0x3ca)]()+_0x131b11(0x22c);return{'list':[{'title':_0x131b11(0x451),'mentions':(await this[_0x131b11(0x352)]['get'](_0x4d3f48,{'params':{'objectID':_0x308999['unitId'],'unitID':_0x308999[_0x131b11(0x258)]}}))[_0x131b11(0x48c)]['collaborators']['map'](_0x40986d=>({'objectId':_0x40986d['id'],'name':_0x40986d[_0x131b11(0x463)][_0x131b11(0x125)],'metadata':{'icon':_0x40986d[_0x131b11(0x463)][_0x131b11(0x3f4)]},'label':_0x40986d[_0x131b11(0x463)][_0x131b11(0x125)],'objectType':_0x1ebf2e[_0x131b11(0x30c)]})),'metadata':{},'type':_0x1ebf2e[_0x131b11(0x30c)]}]};}};us=Pc([hi(0x0,_0x33026a(_0x533505)),hi(0x1,_0x33026a(_0x278722))],us);var Nc=Object[_0x50a7d0(0x15c)],Ac=Object[_0x50a7d0(0x18b)],Mc=(_0x47208b,_0x55a36f,_0x37175d,_0x31be91)=>{const _0x596e22=_0x50a7d0;for(var _0x3d9f9b=_0x31be91>0x1?void 0x0:_0x31be91?Ac(_0x55a36f,_0x37175d):_0x55a36f,_0x2c94dd=_0x47208b[_0x596e22(0x1d0)]-0x1,_0x546bf2;_0x2c94dd>=0x0;_0x2c94dd--)(_0x546bf2=_0x47208b[_0x2c94dd])&&(_0x3d9f9b=(_0x31be91?_0x546bf2(_0x55a36f,_0x37175d,_0x3d9f9b):_0x546bf2(_0x3d9f9b))||_0x3d9f9b);return _0x31be91&&_0x3d9f9b&&Nc(_0x55a36f,_0x37175d,_0x3d9f9b),_0x3d9f9b;},Qe=(_0x5b4aa9,_0x42db01)=>(_0x331d95,_0x17b003)=>_0x42db01(_0x331d95,_0x17b003,_0x5b4aa9);let Ot=class extends _0x2983d9{constructor(_0x5879af,_0x397c6d,_0x5a085d,_0x12a47c,_0x57d325){const _0x35c8e0=_0x50a7d0;super(),this['_injector']=_0x5879af,this[_0x35c8e0(0x283)]=_0x397c6d,this[_0x35c8e0(0x135)]=_0x5a085d,this[_0x35c8e0(0x35e)]=_0x12a47c,this[_0x35c8e0(0x193)]=_0x57d325,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){const _0x4f8d56=_0x50a7d0,_0x166933=async _0xd11d1e=>{const _0xa9c48a=_0xc944;(await this[_0xa9c48a(0x35e)][_0xa9c48a(0x30a)](_0xd11d1e))['event$']['pipe'](_0x7d8aef(_0x18c1d4=>_0x18c1d4[_0xa9c48a(0x424)]===_0x26d642[_0xa9c48a(0x3a1)]),_0x3d76fb(this[_0xa9c48a(0x42e)]))[_0xa9c48a(0x479)](_0x306c82=>{const _0x201457=_0xa9c48a,_0x3cae01=_0x306c82,{reason:_0x937e42}=_0x3cae01[_0x201457(0x274)];this[_0x201457(0x408)][_0x201457(0x373)](_0xa8b33d)[_0x201457(0x179)]({'type':_0x4eaed3[_0x201457(0x282)],'content':this['_localeService']['t'](_0x201457(0x32b))+'('+_0x937e42+')'}),this['_permissionService'][_0x201457(0x142)](new _0x442ff4(_0xd11d1e)['id'],!0x1),this[_0x201457(0x35e)][_0x201457(0xc1)](_0xd11d1e);});};_0x4a9003(this[_0x4f8d56(0x283)][_0x4f8d56(0x162)](_0x40c566['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x40c566[_0x4f8d56(0x26b)]))[_0x4f8d56(0x157)](_0xe5458e(_0x97b3b2=>_0x97b3b2[_0x4f8d56(0x14f)]()),_0x7d8aef(_0x4b42f8=>!_0x520839(_0x4b42f8)),_0x3d76fb(this[_0x4f8d56(0x42e)]))[_0x4f8d56(0x479)](_0x877630=>{_0x166933(_0x877630);});}[_0x50a7d0(0x3b5)](){const _0x4a7961=_0x50a7d0,_0x214ccb=async _0x278be7=>{const _0x184146=_0xc944;(await this[_0x184146(0x35e)][_0x184146(0x30a)](_0x278be7))[_0x184146(0x414)]['pipe'](_0x7d8aef(_0x393673=>_0x393673[_0x184146(0x424)]===_0x26d642['UPDATE_PERMISSION_OBJ']),_0x3d76fb(this[_0x184146(0x42e)]))[_0x184146(0x479)](_0x8ea0=>{const _0x20d4e6=_0x184146,_0x370b1e=_0x8ea0,{objectId:_0x2b27f9}=_0x370b1e['data'],_0xc24c90=this[_0x20d4e6(0x408)][_0x20d4e6(0x373)](_0x5a857a);_0x2b27f9===_0x278be7?_0xc24c90[_0x20d4e6(0x3d5)](_0x278be7):_0xc24c90['refreshPermission'](_0x278be7,_0x2b27f9);});};_0x4a9003(this[_0x4a7961(0x283)][_0x4a7961(0x162)](_0x40c566[_0x4a7961(0x331)]),this[_0x4a7961(0x283)]['getTypeOfUnitAdded$'](_0x40c566['UNIVER_DOC']))['pipe'](_0xe5458e(_0x2718be=>_0x2718be[_0x4a7961(0x14f)]()),_0x7d8aef(_0x4c4476=>!_0x520839(_0x4c4476)),_0x3d76fb(this[_0x4a7961(0x42e)]))['subscribe'](_0x4b2541=>{_0x214ccb(_0x4b2541);});}};Ot=Mc([Qe(0x0,_0x33026a(_0x17dae8)),Qe(0x1,_0x28b990),Qe(0x2,_0x20da8e),Qe(0x3,_0x33026a(xe)),Qe(0x4,_0x33026a(_0x21b13d))],Ot);var xc=Object['defineProperty'],Lc=Object['getOwnPropertyDescriptor'],$c=(_0x26f9f8,_0x2238c6,_0x3fc1ea,_0x235ffd)=>{for(var _0x3c9795=_0x235ffd>0x1?void 0x0:_0x235ffd?Lc(_0x2238c6,_0x3fc1ea):_0x2238c6,_0x5d5b08=_0x26f9f8['length']-0x1,_0x3d4869;_0x5d5b08>=0x0;_0x5d5b08--)(_0x3d4869=_0x26f9f8[_0x5d5b08])&&(_0x3c9795=(_0x235ffd?_0x3d4869(_0x2238c6,_0x3fc1ea,_0x3c9795):_0x3d4869(_0x3c9795))||_0x3c9795);return _0x235ffd&&_0x3c9795&&xc(_0x2238c6,_0x3fc1ea,_0x3c9795),_0x3c9795;},li=(_0x493214,_0x594363)=>(_0x5c5587,_0x17b349)=>_0x594363(_0x5c5587,_0x17b349,_0x493214);let ds=class{constructor(_0x2adaa3,_0x2e240f){const _0x2494d2=_0x50a7d0;this[_0x2494d2(0x3bb)]=_0x2adaa3,this[_0x2494d2(0x38a)]=_0x2e240f;}async[_0x50a7d0(0x349)](_0x3d0a2d,_0x51b5f4){const _0x3cf68c=_0x50a7d0;var _0x8c979e;const {unitID:_0x36fd5c,type:_0x17f0c3,revision:_0x1f44a8=0x0}=_0x51b5f4,_0x3ef924=this[_0x3cf68c(0x109)]()+'/'+_0x17f0c3+'/unit/'+_0x36fd5c+_0x3cf68c(0x240)+_0x1f44a8,_0x12d922=(await this[_0x3cf68c(0x38a)][_0x3cf68c(0x373)](_0x3ef924))['body'],_0x26f066=(_0x8c979e=_0x12d922[_0x3cf68c(0x1ca)])==null?void 0x0:_0x8c979e['workbook'];if(_0x26f066){const _0x3e4623=_0x26f066==null?void 0x0:_0x26f066['originalMeta'],_0x1bd2ee=_0x4a42d6[_0x3cf68c(0x2a7)](_0x806675(_0x3e4623));_0x26f066[_0x3cf68c(0x1ec)]=_0x1bd2ee,Object[_0x3cf68c(0x379)](_0x26f066['sheets'])[_0x3cf68c(0x375)](([,_0x3fcad8])=>{const _0x5031b4=_0x3cf68c,_0x4a5f32=_0x3fcad8['originalMeta'],_0x1bc785=_0x4a42d6[_0x5031b4(0x2a7)](_0x806675(_0x4a5f32));_0x3fcad8[_0x5031b4(0x1ec)]=_0x1bc785;});}return _0x12d922;}async[_0x50a7d0(0x230)](_0x100fdf,_0x5b3bfb){const _0x80f3fc=_0x50a7d0,{unitID:_0xf787c9,type:_0x3e4b4f,blockID:_0x464c9d}=_0x5b3bfb,_0xef94f9=this['_getAPIPrefix']()+'/'+_0x3e4b4f+_0x80f3fc(0x224)+_0xf787c9+'/block/'+_0x464c9d;return(await this['_httpService'][_0x80f3fc(0x373)](_0xef94f9))[_0x80f3fc(0x48c)];}async[_0x50a7d0(0x256)](_0xceec6,_0x2891fd){const _0x1cbb76=_0x50a7d0,{unitID:_0x201a43,type:_0x44fed0,blockID:_0x1389f9}=_0x2891fd,_0x2bdb11=this[_0x1cbb76(0x3a9)]()+_0x1cbb76(0x2a2)+_0x44fed0+_0x1cbb76(0x224)+_0x201a43+_0x1cbb76(0x2a2)+_0x1389f9;return(await this[_0x1cbb76(0x38a)][_0x1cbb76(0x373)](_0x2bdb11))['body'];}async[_0x50a7d0(0x392)](_0x26a48b,_0x38d7bc){const _0x312fa8=_0x50a7d0,{unitID:_0x5610f2,type:_0x2f6844,from:_0x20d14c,to:_0x606869}=_0x38d7bc,_0x25aeea=this[_0x312fa8(0x3a9)]()+'/'+_0x2f6844+'/unit/'+_0x5610f2+'/fetchmissing?from='+_0x20d14c+_0x312fa8(0x24f)+_0x606869;return(await this[_0x312fa8(0x38a)]['get'](_0x25aeea))[_0x312fa8(0x48c)];}['_getSnapshotAPIPrefix'](){const _0x2d6d8e=_0x50a7d0;var _0x4cb593;return(_0x4cb593=this['_configService'][_0x2d6d8e(0x4c6)](gn))!=null?_0x4cb593:this[_0x2d6d8e(0x3a9)]();}['_getAPIPrefix'](){const _0x1a15bf=_0x50a7d0;var _0x57392a,_0x461259;const _0x2a5718=this[_0x1a15bf(0x3bb)][_0x1a15bf(0x4c6)](mn),_0x3e0838=this[_0x1a15bf(0x3bb)][_0x1a15bf(0x4c6)](ee);return(_0x461259=(_0x57392a=_0x3e0838==null?void 0x0:_0x3e0838[_0x1a15bf(0x2ee)])!=null?_0x57392a:_0x2a5718)!=null?_0x461259:pn;}async['getResourcesRequest'](_0x42cd8d,_0x5cce02){const _0x3e1e17=_0x50a7d0,_0x25f085=_0x3e1e17(0x313)+_0x5cce02[_0x3e1e17(0x105)]+_0x3e1e17(0x224)+_0x5cce02[_0x3e1e17(0xaa)]+_0x3e1e17(0x11a);return(await this['_httpService'][_0x3e1e17(0x373)](_0x25f085,{'params':{'resourceId':JSON['stringify'](_0x5cce02[_0x3e1e17(0x1ae)])}}))['body'];}[_0x50a7d0(0x1d2)](){const _0x23330e=_0x50a7d0;throw new Error(_0x23330e(0x3c5));}[_0x50a7d0(0x169)](){const _0x3bded7=_0x50a7d0;throw new Error(_0x3bded7(0x3c5));}[_0x50a7d0(0x3e0)](){const _0x32ef94=_0x50a7d0;throw new Error(_0x32ef94(0x3c5));}[_0x50a7d0(0x29f)](){const _0x5d1716=_0x50a7d0;throw new Error(_0x5d1716(0x3c5));}['getLatestCsReqIdBySid'](){const _0x465f0d=_0x50a7d0;throw new Error(_0x465f0d(0x3c5));}};ds=$c([li(0x0,_0x533505),li(0x1,_0x33026a(_0x278722))],ds);var Hc=Object[_0x50a7d0(0x15c)],jc=Object[_0x50a7d0(0x18b)],Bc=(_0x3d83ed,_0x2b6f21,_0x81bc6b,_0x2c6804)=>{const _0x195e4e=_0x50a7d0;for(var _0x2ece17=_0x2c6804>0x1?void 0x0:_0x2c6804?jc(_0x2b6f21,_0x81bc6b):_0x2b6f21,_0x534971=_0x3d83ed[_0x195e4e(0x1d0)]-0x1,_0x59b11b;_0x534971>=0x0;_0x534971--)(_0x59b11b=_0x3d83ed[_0x534971])&&(_0x2ece17=(_0x2c6804?_0x59b11b(_0x2b6f21,_0x81bc6b,_0x2ece17):_0x59b11b(_0x2ece17))||_0x2ece17);return _0x2c6804&&_0x2ece17&&Hc(_0x2b6f21,_0x81bc6b,_0x2ece17),_0x2ece17;},et=(_0x5e13e5,_0xf7173c)=>(_0x595e00,_0x458d07)=>_0xf7173c(_0x595e00,_0x458d07,_0x5e13e5);let fs=class extends _0x2bc4a{constructor(_0x396d2f,_0x6cc794,_0x537169,_0x4aed3e,_0x3c9726){const _0x2363b0=_0x50a7d0;super(_0x396d2f,_0x6cc794,_0x537169),this[_0x2363b0(0x494)]=_0x4aed3e,this[_0x2363b0(0x422)]=_0x3c9726;}['transformUndoRedo'](_0x463e40,_0x58e34f){const _0x3578de=_0x50a7d0,_0x4d930e=this[_0x3578de(0x377)](_0x463e40);if(_0x4d930e)try{const _0x148e3d=this[_0x3578de(0x43f)](_0x4d930e,_0x58e34f);this[_0x3578de(0x4c2)](_0x463e40,_0x148e3d);}catch(_0x2cf3bd){this[_0x3578de(0x422)]['error'](_0x3578de(0x1cf),_0x2cf3bd),this[_0x3578de(0x44e)](_0x463e40);}const _0x23bb25=this[_0x3578de(0x40e)](_0x463e40);if(_0x23bb25)try{const _0x4a53cf=this['_transformStack'](_0x23bb25,_0x58e34f);this[_0x3578de(0x4af)](_0x463e40,_0x4a53cf);}catch(_0x243804){this['_logService'][_0x3578de(0x3a2)](_0x243804),this[_0x3578de(0x2a4)](_0x463e40);}}[_0x50a7d0(0x44e)](_0x41e2ca){const _0x198cae=_0x50a7d0,_0x127f54=this[_0x198cae(0x377)](_0x41e2ca);_0x127f54&&(_0x127f54[_0x198cae(0x1d0)]=0x0,this[_0x198cae(0x1c5)]());}[_0x50a7d0(0x2a4)](_0x2fff44){const _0x4d5ea6=_0x50a7d0,_0xfad35e=this[_0x4d5ea6(0x40e)](_0x2fff44);_0xfad35e&&(_0xfad35e['length']=0x0,this['_updateStatus']());}[_0x50a7d0(0x4c2)](_0xdfe5b,_0x432aec){const _0x117350=_0x50a7d0;this['_undoStacks'][_0x117350(0x2ce)](_0xdfe5b,_0x432aec),this[_0x117350(0x1c5)]();}[_0x50a7d0(0x4af)](_0x4f54c4,_0x3e5833){const _0x2fba5f=_0x50a7d0;this[_0x2fba5f(0xac)][_0x2fba5f(0x2ce)](_0x4f54c4,_0x3e5833),this['_updateStatus']();}[_0x50a7d0(0x43f)](_0x106e3c,_0xda3982){const _0x1f1b7e=_0x50a7d0,_0x110ed4=[];let _0x369253=_0xda3982,_0x17dcbe=_0xda3982;for(let _0x5a48f5=_0x106e3c[_0x1f1b7e(0x1d0)]-0x1;_0x5a48f5>=0x0;_0x5a48f5--){const {unitID:_0x40c537,undoMutations:_0x4fdaf1,redoMutations:_0x4d644c}=_0x106e3c[_0x5a48f5],_0x1e7e9d=this[_0x1f1b7e(0x494)][_0x1f1b7e(0x31d)](_0x369253,_0x4fdaf1),_0x1f34aa=this[_0x1f1b7e(0x494)][_0x1f1b7e(0x31d)](_0x17dcbe,_0x4d644c);if(_0x2a96c9(_0x1e7e9d)||_0x2a96c9(_0x1f34aa)){this['_logService'][_0x1f1b7e(0x3a2)](_0x1f1b7e(0x1cf),'transformStack\x20failed!',_0x1e7e9d,_0x1f34aa);break;}_0x369253=_0x1e7e9d[_0x1f1b7e(0x345)],_0x17dcbe=_0x1f34aa[_0x1f1b7e(0x345)],_0x110ed4[_0x1f1b7e(0xc6)]({'unitID':_0x40c537,'undoMutations':_0x1e7e9d['m2Prime'],'redoMutations':_0x1f34aa[_0x1f1b7e(0x37e)]});}return _0x110ed4['reverse']();}};fs=Bc([et(0x0,_0x28b990),et(0x1,_0x2e05f8),et(0x2,_0x1b8983),et(0x3,_0x4af41b),et(0x4,_0x299b7a)],fs);class kc extends _0x2983d9{constructor(){const _0x1d1e9f=_0x50a7d0;super(),g(this,_0x1d1e9f(0x1e1)),this[_0x1d1e9f(0x1e1)]=_0x226128(window,'popstate')['pipe'](_0x2b44f7(this[_0x1d1e9f(0x42e)]),_0x58d478(0x1),_0x5c5108(void 0x0));}[_0x50a7d0(0x236)](_0xb0379b,_0xb29f22,_0x473af5=!0x1){const _0x3b4908=_0x50a7d0,_0x8ba623=new URL(window['location']['href']);_0x8ba623[_0x3b4908(0x484)][_0x3b4908(0x2ce)](_0xb0379b,_0xb29f22),_0x473af5?window[_0x3b4908(0x2d4)][_0x3b4908(0x1b4)]('','',_0x8ba623[_0x3b4908(0x45a)]()):window[_0x3b4908(0x2d4)][_0x3b4908(0x33b)]('','',_0x8ba623[_0x3b4908(0x45a)]());}[_0x50a7d0(0x228)](_0x40d615,_0x1e14ae=!0x1){const _0x3bc39e=_0x50a7d0,_0x3ad560=new URL(window[_0x3bc39e(0x41a)][_0x3bc39e(0x403)]);_0x3ad560[_0x3bc39e(0x484)]['delete'](_0x40d615),_0x1e14ae?window[_0x3bc39e(0x2d4)][_0x3bc39e(0x1b4)]('','',_0x3ad560[_0x3bc39e(0x45a)]()):window[_0x3bc39e(0x2d4)][_0x3bc39e(0x33b)]('','',_0x3ad560['toString']());}[_0x50a7d0(0x460)](_0x57c189){const _0x3ae67c=_0x50a7d0;var _0xfb39ea;return(_0xfb39ea=new URL(window[_0x3ae67c(0x41a)][_0x3ae67c(0x403)])[_0x3ae67c(0x484)][_0x3ae67c(0x373)](_0x57c189))!=null?_0xfb39ea:void 0x0;}}var tr=Object[_0x50a7d0(0x15c)],Wc=Object[_0x50a7d0(0x18b)],Fc=(_0x15529e,_0x5d3c9f,_0x161379)=>_0x5d3c9f in _0x15529e?tr(_0x15529e,_0x5d3c9f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x161379}):_0x15529e[_0x5d3c9f]=_0x161379,Vc=(_0x5addd5,_0x452fc0,_0x1a53fc,_0x5cadf5)=>{const _0x36a0db=_0x50a7d0;for(var _0x3f0e88=_0x5cadf5>0x1?void 0x0:_0x5cadf5?Wc(_0x452fc0,_0x1a53fc):_0x452fc0,_0x3800db=_0x5addd5[_0x36a0db(0x1d0)]-0x1,_0x5dce9d;_0x3800db>=0x0;_0x3800db--)(_0x5dce9d=_0x5addd5[_0x3800db])&&(_0x3f0e88=(_0x5cadf5?_0x5dce9d(_0x452fc0,_0x1a53fc,_0x3f0e88):_0x5dce9d(_0x3f0e88))||_0x3f0e88);return _0x5cadf5&&_0x3f0e88&&tr(_0x452fc0,_0x1a53fc,_0x3f0e88),_0x3f0e88;},lt=(_0x1c7470,_0x7770ac)=>(_0x3882b7,_0xc5c11f)=>_0x7770ac(_0x3882b7,_0xc5c11f,_0x1c7470),Gc=(_0x3b1be1,_0x1f1369,_0x2c27c7)=>Fc(_0x3b1be1,_0x1f1369+'',_0x2c27c7);const Yc=_0x50a7d0(0x420);let vs=class extends _0x318b29{constructor(_0x3f59e3=Mn,_0x5a5d22,_0x2da2f3,_0x1f8a92,_0x19d95d){const _0x329e89=_0x50a7d0;super(),this[_0x329e89(0x1ea)]=_0x3f59e3,this['_logService']=_0x5a5d22,this[_0x329e89(0x1af)]=_0x2da2f3,this[_0x329e89(0x408)]=_0x1f8a92,this[_0x329e89(0x3bb)]=_0x19d95d;const {..._0x103ff9}=this[_0x329e89(0x1ea)];this['_configService'][_0x329e89(0x1c7)](ee,_0x103ff9);}[_0x50a7d0(0x264)](){const _0x4be045=_0x50a7d0;this[_0x4be045(0x46c)](),this[_0x4be045(0x40f)]();}[_0x50a7d0(0x3cf)](){const _0x3b71dc=_0x50a7d0;_0x8eb2c0(this[_0x3b71dc(0x408)],[[bt],[It]]);}[_0x50a7d0(0x203)](){const _0x1bdd1e=_0x50a7d0;this[_0x1bdd1e(0x198)]();}[_0x50a7d0(0x46c)](){const _0x23c6f9=_0x50a7d0;var _0x54222a,_0xf60463,_0x3e292f,_0x26d784;this[_0x23c6f9(0x408)][_0x23c6f9(0x28d)](_0x5b0e0d)&&this[_0x23c6f9(0x422)][_0x23c6f9(0x3a2)](_0x23c6f9(0x13d),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4f32e9=[[_0x5b0e0d,{'useClass':fs}],[xe],[Os],[Yi,{'useClass':kc}],[Me],[q],[_0x2d5820],[mt],[gt],[vt],[pt],[Ts],[Tt],[Rt],[Mi],[Ot],[Ai,{'useClass':(_0xf60463=(_0x54222a=this[_0x23c6f9(0x1ea)])==null?void 0x0:_0x54222a['socketService'])!=null?_0xf60463:ss}],[_0x2647d5,{'useClass':ds}],[_0x1540fd,{'useClass':ls}],[_0x4a51fd,{'useClass':_s}],[_0x5f0aab,{'useClass':us}],[it],[Et],[Ct],[bt],[Ve],[It]];(_0x3e292f=this[_0x23c6f9(0x1ea)])!=null&&_0x3e292f[_0x23c6f9(0x35f)]&&_0x4f32e9[_0x23c6f9(0xc6)]([yt,{'useClass':vo}]),_0x154853(this[_0x23c6f9(0x408)],_0x3bf386(_0x4f32e9,(_0x26d784=this['_config'])==null?void 0x0:_0x26d784[_0x23c6f9(0x42d)]));}[_0x50a7d0(0x198)](){const _0x4ac07c=_0x50a7d0;this[_0x4ac07c(0x450)](this[_0x4ac07c(0x1af)][_0x4ac07c(0x2e6)](_0x40c566['UNIVER_DOC'],[cs])),this[_0x4ac07c(0x450)](this[_0x4ac07c(0x1af)][_0x4ac07c(0x2e6)](_0x40c566[_0x4ac07c(0x331)],[hs]));}[_0x50a7d0(0x40f)](){const _0x44dd1e=_0x50a7d0;var _0xdb7583,_0x103fb4;this[_0x44dd1e(0x408)][_0x44dd1e(0x373)](_0x278722)[_0x44dd1e(0x434)]({'priority':0x14,'interceptor':_0x4a5979({'maxParallel':0x6})}),(_0xdb7583=this['_config'])!=null&&_0xdb7583[_0x44dd1e(0x34e)]||this[_0x44dd1e(0x408)]['get'](q)[_0x44dd1e(0x277)](),(_0x103fb4=this[_0x44dd1e(0x1ea)])!=null&&_0x103fb4[_0x44dd1e(0x464)]&&_0x8eb2c0(this[_0x44dd1e(0x408)],[[Tt]]),_0x8eb2c0(this['_injector'],[[Rt],[Ve],[Et],[it],[Ct],[Ot]]);}};Gc(vs,_0x50a7d0(0x234),Yc),vs=Vc([_0x449762(_0x8096fe,_0x1bc40e),lt(0x1,_0x299b7a),lt(0x2,_0x984cff),lt(0x3,_0x33026a(_0x17dae8)),lt(0x4,_0x533505)],vs);export{Ki as AUTHZ_URL_KEY,ls as AuthzIoHttpService,ee as COLLAB_CLIENT_CONFIG_KEY,Pn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,St as CollaborationEntity,is as CollaborationSession,xe as CollaborationSessionService,ss as CollaborationSocketService,J as CollaborationStatus,Aa as CollaborationStatusDisplay,Mi as CommentService,Et as DataLoaderController,Ct as DesktopCollaborationStatusDisplayController,rs as DocCollaborationEntity,bn as HEARTBEAT_INTERVAL_KEY,Di as HEARTBEAT_TIMEOUT_KEY,Ai as ICollaborationSocketService,Yi as IURLService,_s as ImageIoService,wn as LOCAL_CACHE_INTERVAL_KEY,Nn as LOGIN_URL_KEY,q as LocalCacheService,Me as MemberService,us as MentionIoHttpService,On as RETRY_CONNECTING_MAX_COUNT_KEY,_h as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,gn as SNAPSHOT_URL_KEY,ve as SessionStatus,ca as SheetCollabCursorShape,ns as SheetCollaborationEntity,ds as SnapshotServerOverHTTPService,vs as UniverCollaborationClientPlugin,kc as WebURLService,xn as deserializeToCombResponse,Ln as serializeCombRequest};