@univerjs-pro/collaboration-client 0.4.2-nightly.202410311606 → 0.4.2-nightly.202411021605

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 _0x29204f=_0x5d6c;(function(_0x20584a,_0x2eeb1e){const _0x8e42c9=_0x5d6c,_0x366114=_0x20584a();while(!![]){try{const _0x2ab545=-parseInt(_0x8e42c9(0x4c9))/0x1+parseInt(_0x8e42c9(0x230))/0x2+parseInt(_0x8e42c9(0x1c2))/0x3*(parseInt(_0x8e42c9(0x363))/0x4)+parseInt(_0x8e42c9(0x33c))/0x5+parseInt(_0x8e42c9(0x192))/0x6+-parseInt(_0x8e42c9(0x591))/0x7*(-parseInt(_0x8e42c9(0x39a))/0x8)+parseInt(_0x8e42c9(0x3cf))/0x9*(-parseInt(_0x8e42c9(0x508))/0xa);if(_0x2ab545===_0x2eeb1e)break;else _0x366114['push'](_0x366114['shift']());}catch(_0x188c4d){_0x366114['push'](_0x366114['shift']());}}}(_0x3441,0xe595e));var Ki=Object[_0x29204f(0x51a)],zi=(_0x4a4eaa,_0x434a4b,_0x2a583c)=>_0x434a4b in _0x4a4eaa?Ki(_0x4a4eaa,_0x434a4b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a583c}):_0x4a4eaa[_0x434a4b]=_0x2a583c,g=(_0x3adf51,_0x5a83f8,_0x20513c)=>zi(_0x3adf51,typeof _0x5a83f8!=_0x29204f(0x2d0)?_0x5a83f8+'':_0x5a83f8,_0x20513c);import{createIdentifier as _0x230979,Inject as _0x31a227,Disposable as _0x2a7347,DisposableCollection as _0x4fd609,toDisposable as _0x239c52,IConfigService as _0x1d1963,ILogService as _0x15baf7,UserManagerService as _0x1fc463,UniverInstanceType as _0x5e8949,IUniverInstanceService as _0x1a11e5,LocaleService as _0x3da7c2,Optional as _0x2fdd6d,RxDisposable as _0x3823d2,Injector as _0x3ada64,Tools as _0x572bca,ILocalStorageService as _0x2662bd,Rectangle as _0x580a72,ICommandService as _0x1f9396,DOC_RANGE_TYPE as _0x362093,JSONX as _0x4da6d4,CommandType as _0x589e31,IPermissionService as _0x532950,IUndoRedoService as _0x2d7dca,sequenceExecute as _0x416da5,debounce as _0x164ec5,COLORS as _0x599565,ColorKit as _0x4393a4,ThemeService as _0x58d887,fromEventSubject as _0x56e5f4,useDependency as _0xdca07e,connectInjector as _0xe78903,Workbook as _0x343a21,isInternalEditorID as _0x157358,LocalUndoRedoService as _0x244295,IContextService as _0x1d65ea,DependentOn as _0x2a0661,Plugin as _0x559f25,touchDependencies as _0x225116,IAuthzIoService as _0x144eae,registerDependencies as _0x59b5ce,mergeOverrideWithDependencies as _0x463d11}from'@univerjs/core';import{Subject as _0x5c0e09,merge as _0x5924a9,takeUntil as _0x4b7102,BehaviorSubject as _0x4d53e2,distinctUntilChanged as _0x50bbac,fromEvent as _0x43007f,ReplaySubject as _0x588c9c,take as _0x34813f,map as _0x48d892,shareReplay as _0x19bdf5,of as _0x13a6f8,debounceTime as _0x2d6658,filter as _0x35e38e,switchMap as _0x481a9a,combineLatest as _0x55b0dc,concatMap as _0x3c2036,mapTo as _0x13df20}from'rxjs';import{map as _0x2057c1,take as _0x3c517f,filter as _0xeba3c2,delay as _0x202ec8,throttleTime as _0x5da6f1,takeUntil as _0xa64c87,switchMap as _0x1a8fcb}from'rxjs/operators';import{MessageType as _0x11c8f7,Tooltip as _0x5abc1a}from'@univerjs/design';import{IBeforeCloseService as _0x391a01,IMessageService as _0x5d8f55,INotificationService as _0x1b321d,useObservable as _0x262485,BuiltInUIPart as _0x28b09b,IUIPartsService as _0x239135}from'@univerjs/ui';import{HTTPService as _0x6042f,WebSocketService as _0x2c6668,MergeInterceptorFactory as _0x817fd0,HTTPRequest as _0x3eebe9,UniverNetworkPlugin as _0x4f0b4e,ThresholdInterceptorFactory as _0x11508f}from'@univerjs/network';import{CollaborationEvent as _0x4bdbff,parseChangesetToProtocol as _0x4e835a,ISnapshotServerService as _0x361c65,isTransformMutationFailure as _0x3a6c5b,isTransformMutationsWithChangesetSuccess as _0x15601c,ITransformService as _0x5f49ec,RevisionService as _0xbf5b42,mapDocumentTypeToUniverType as _0x154b8d,isTransformChangesetsSuccess as _0x557c9b,CompressMutationService as _0x1f61af,parseProtocolChangeset as _0x1c38f8,SnapshotService as _0x1e5978,textEncoder as _0x14238e,b64DecodeUnicode as _0x8f9bda,isTransformMutationsWithChangesetFailure as _0x4656b9,UniverCollaborationPlugin as _0x931006}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x3eb98d}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x66bd33,DocStateChangeManagerService as _0x4613da,NodePositionConvertToCursor as _0x5e2d9d,NodePositionConvertToRectRange as _0x32e2ad,TEXT_RANGE_LAYER_INDEX as _0x41121f,SetDocZoomRatioOperation as _0x2a560c}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x4aa850,SetSelectionsOperation as _0xac4f86,InsertSheetMutation as _0xf19ec9,EmptyMutation as _0x7e4c57,WorkbookEditablePermission as _0x1a85fe,RefRangeService as _0x23b58f,EffectRefRangId as _0x33f806,handleIRemoveRow as _0x29aec6,handleIRemoveCol as _0x57d65c,handleMoveRange as _0x41d27b,handleInsertRow as _0x534953,handleInsertRangeMoveRight as _0x164a25,handleInsertRangeMoveDown as _0x32661a,handleInsertCol as _0x467581,handleDeleteRangeMoveUp as _0x2a464d,handleDeleteRangeMoveLeft as _0x514b3c,runRefRangeMutations as _0x2ed175,SetWorksheetActivateCommand as _0x3021b5}from'@univerjs/sheets';import{IRenderManagerService as _0x427763,Shape as _0x58ae8b,Rect as _0x471a33,getColor as _0x13b5bd,RegularPolygon as _0x5cdea5,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x23f0d1,Vector2 as _0x45b5fa}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x53d45e,RichTextEditingMutation as _0x4708ca,SetTextSelectionsOperation as _0xa415ab,DocSkeletonManagerService as _0x13a800}from'@univerjs/docs';import{ImageSourceType as _0x12208b,ImageUploadStatusType as _0x1ae38a,IImageIoService as _0x3d3c63}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x12070d,serializeRangeWithSheet as _0x43633c}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x49cddf,VIEWPORT_KEY as _0x3eef43,getCoordByCell as _0x105712,getSheetObject as _0x8e2227,SheetPermissionInitController as _0x589a77}from'@univerjs/sheets-ui';import _0x2f9e0b,{forwardRef as _0x4aa6cf,useRef as _0x5ed0a5,createElement as _0x40dbfa,useCallback as _0x198b7e}from'react';import{IRemoteInstanceService as _0x541ff8}from'@univerjs/rpc';const rr=_0x29204f(0x3ff),or='/universer-api/snapshot',ar=_0x29204f(0x3af),kc=_0x29204f(0x348),cr=0x7d0,hr='COLLAB_WEB_SOCKET_URL',lr=_0x29204f(0x45c),_r=_0x29204f(0x244),ur=0x7530,bi=_0x29204f(0x566),Ti=0x4e20,dr=0x4e20,fr='RETRY_CONNECTING_MAX_COUNT',vr=0x3,mr=_0x29204f(0x239),pr=0x3e8,gr=_0x29204f(0x28c),Sr=_0x29204f(0x1b4),Ir=_0x29204f(0x395),Cr=_0x29204f(0x585);var Ri=(_0x5af8c2=>(_0x5af8c2[_0x5af8c2['UNDEFINED']=0x0]='UNDEFINED',_0x5af8c2[_0x5af8c2['OK']=0x1]='OK',_0x5af8c2[_0x5af8c2[_0x29204f(0x2b5)]=0x2]='INTERNAL_ERROR',_0x5af8c2[_0x5af8c2[_0x29204f(0x1ad)]=0x3]='PERMISSION_DENIED',_0x5af8c2[_0x5af8c2[_0x29204f(0x57f)]=0x4]=_0x29204f(0x57f),_0x5af8c2[_0x5af8c2[_0x29204f(0x2e6)]=0x5]=_0x29204f(0x2e6),_0x5af8c2[_0x5af8c2[_0x29204f(0x2e2)]=0x6]=_0x29204f(0x2e2),_0x5af8c2[_0x5af8c2[_0x29204f(0x556)]=0x7]=_0x29204f(0x556),_0x5af8c2[_0x5af8c2[_0x29204f(0x2ee)]=0x8]='TOO_MANY_REQUESTS',_0x5af8c2[_0x5af8c2[_0x29204f(0x22d)]=0x9]='COMPLETION_FINISHED',_0x5af8c2[_0x5af8c2[_0x29204f(0x24d)]=0x1389]=_0x29204f(0x24d),_0x5af8c2[_0x5af8c2[_0x29204f(0x2fc)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5af8c2[_0x5af8c2['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x29204f(0x35a),_0x5af8c2[_0x5af8c2[_0x29204f(0x3db)]=0x1773]=_0x29204f(0x3db),_0x5af8c2[_0x5af8c2['APPLY_REJECT']=0x1b59]=_0x29204f(0x3f0),_0x5af8c2[_0x5af8c2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x29204f(0x2e7),_0x5af8c2[_0x5af8c2[_0x29204f(0x491)]=0x1b5b]=_0x29204f(0x491),_0x5af8c2[_0x5af8c2[_0x29204f(0x51c)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5af8c2[_0x5af8c2[_0x29204f(0x3ba)]=0x1b5d]='APPLY_DUPLICATED',_0x5af8c2[_0x5af8c2['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x29204f(0x4bd),_0x5af8c2[_0x5af8c2[_0x29204f(0x4a4)]=0x2329]=_0x29204f(0x4a4),_0x5af8c2[_0x5af8c2[_0x29204f(0x1d8)]=0x232a]=_0x29204f(0x1d8),_0x5af8c2[_0x5af8c2[_0x29204f(0x295)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5af8c2[_0x5af8c2[_0x29204f(0x37a)]=0x232c]=_0x29204f(0x37a),_0x5af8c2[_0x5af8c2[_0x29204f(0x354)]=0x232d]=_0x29204f(0x354),_0x5af8c2[_0x5af8c2['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5af8c2[_0x5af8c2[_0x29204f(0x4ed)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5af8c2[_0x5af8c2[_0x29204f(0x1fa)]=0x2713]=_0x29204f(0x1fa),_0x5af8c2[_0x5af8c2[_0x29204f(0x280)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5af8c2[_0x5af8c2[_0x29204f(0x2cc)]=-0x1]=_0x29204f(0x2cc),_0x5af8c2))(Ri||{}),ce=(_0x4a25bb=>(_0x4a25bb[_0x4a25bb[_0x29204f(0x24b)]=0x0]=_0x29204f(0x24b),_0x4a25bb[_0x4a25bb[_0x29204f(0x3e8)]=0x1]='UNIVER_DOC',_0x4a25bb[_0x4a25bb[_0x29204f(0x27e)]=0x2]='UNIVER_SHEET',_0x4a25bb[_0x4a25bb[_0x29204f(0x218)]=0x3]=_0x29204f(0x218),_0x4a25bb[_0x4a25bb[_0x29204f(0x42b)]=0x4]=_0x29204f(0x42b),_0x4a25bb[_0x4a25bb['UNRECOGNIZED']=-0x1]=_0x29204f(0x2cc),_0x4a25bb))(ce||{}),W=(_0x237eab=>(_0x237eab[_0x237eab[_0x29204f(0x31f)]=0x0]=_0x29204f(0x31f),_0x237eab[_0x237eab[_0x29204f(0x3b7)]=0x1]='HELLO',_0x237eab[_0x237eab[_0x29204f(0x481)]=0x2]=_0x29204f(0x481),_0x237eab[_0x237eab[_0x29204f(0x5a2)]=0x3]=_0x29204f(0x5a2),_0x237eab[_0x237eab[_0x29204f(0x278)]=0x4]=_0x29204f(0x278),_0x237eab[_0x237eab[_0x29204f(0x20c)]=0x5]=_0x29204f(0x20c),_0x237eab[_0x237eab[_0x29204f(0x49c)]=0x6]=_0x29204f(0x49c),_0x237eab[_0x237eab[_0x29204f(0x2cc)]=-0x1]=_0x29204f(0x2cc),_0x237eab))(W||{}),Is=(_0x1924e6=>(_0x1924e6[_0x1924e6[_0x29204f(0x3c0)]=0x0]=_0x29204f(0x3c0),_0x1924e6[_0x1924e6['OK']=0x1]='OK',_0x1924e6[_0x1924e6[_0x29204f(0x1f3)]=0x2]=_0x29204f(0x1f3),_0x1924e6[_0x1924e6[_0x29204f(0x2cc)]=-0x1]='UNRECOGNIZED',_0x1924e6))(Is||{}),yi=(_0x57e63f=>(_0x57e63f[_0x57e63f[_0x29204f(0x1e2)]=0x0]=_0x29204f(0x1e2),_0x57e63f[_0x57e63f[_0x29204f(0x532)]=0x1]=_0x29204f(0x532),_0x57e63f[_0x57e63f[_0x29204f(0x332)]=0x2]=_0x29204f(0x332),_0x57e63f[_0x57e63f['UnitEmbedded']=0x3]=_0x29204f(0x59b),_0x57e63f[_0x57e63f[_0x29204f(0x360)]=0x4]=_0x29204f(0x360),_0x57e63f[_0x57e63f[_0x29204f(0x2cc)]=-0x1]=_0x29204f(0x2cc),_0x57e63f))(yi||{});const ie=_0x29204f(0x4d4),Er={};function br(_0x26f478){const _0x2cc70d=_0x29204f;var _0x274ba4,_0x52b408,_0x44af57,_0x215854,_0x1fe78e;const _0x20dd7e=_0x26f478[_0x2cc70d(0x1af)],_0x470660=JSON[_0x2cc70d(0x23a)](_0x20dd7e);switch(_0x470660[_0x2cc70d(0x2c5)]){case W[_0x2cc70d(0x20c)]:case W[_0x2cc70d(0x3b7)]:{const _0x4b3117=_0x470660[_0x2cc70d(0x1b8)];return{..._0x470660,'data':_0x4b3117,'cmd':_0x470660[_0x2cc70d(0x2c5)]};}case W[_0x2cc70d(0x481)]:{const _0x443d40=_0x470660['joinRsp'];return{..._0x470660,'data':_0x443d40,'cmd':_0x470660[_0x2cc70d(0x2c5)]};}case W['RECV']:{const _0x56603c=_0x470660[_0x2cc70d(0x54e)];switch(_0x56603c['eventID']){case _0x4bdbff['PERMISSION_REJ']:return{..._0x470660,'data':{..._0x56603c,'data':(_0x274ba4=_0x56603c['permissionRejEvent'])==null?void 0x0:_0x274ba4['cs']},'cmd':_0x470660[_0x2cc70d(0x2c5)]};case _0x4bdbff['CHANGESET_ACK']:return{..._0x470660,'data':{..._0x56603c,'data':(_0x52b408=_0x56603c['csAckEvent'])==null?void 0x0:_0x52b408['cs']},'cmd':_0x470660[_0x2cc70d(0x2c5)]};case _0x4bdbff['NEW_CHANGESETS']:return{..._0x470660,'data':{..._0x56603c,'data':(_0x44af57=_0x56603c[_0x2cc70d(0x2d4)])==null?void 0x0:_0x44af57['cs']},'cmd':_0x470660[_0x2cc70d(0x2c5)]};case _0x4bdbff[_0x2cc70d(0x580)]:return{..._0x470660,'data':{..._0x56603c,'data':(_0x215854=_0x56603c[_0x2cc70d(0x3c7)])==null?void 0x0:_0x215854['cs']},'cmd':_0x470660['cmd']};case _0x4bdbff[_0x2cc70d(0x398)]:return{..._0x470660,'data':{..._0x56603c,'data':(_0x1fe78e=_0x56603c[_0x2cc70d(0x50c)])==null?void 0x0:_0x1fe78e['cs']},'cmd':_0x470660['cmd']};case _0x4bdbff[_0x2cc70d(0x1f7)]:return{..._0x470660,'data':{..._0x56603c,'data':_0x56603c[_0x2cc70d(0x470)]},'cmd':_0x470660[_0x2cc70d(0x2c5)]};case _0x4bdbff[_0x2cc70d(0x2e5)]:return{..._0x470660,'data':{..._0x56603c,'data':_0x56603c[_0x2cc70d(0x3cc)]},'cmd':_0x470660[_0x2cc70d(0x2c5)]};case _0x4bdbff[_0x2cc70d(0x2e9)]:return{..._0x470660,'data':{..._0x56603c,'data':_0x56603c[_0x2cc70d(0x4b0)]},'cmd':_0x470660['cmd']};case _0x4bdbff[_0x2cc70d(0x3f7)]:return{..._0x470660,'data':{..._0x56603c,'data':_0x56603c[_0x2cc70d(0x4b9)]},'cmd':_0x470660[_0x2cc70d(0x2c5)]};case _0x4bdbff[_0x2cc70d(0x32b)]:case _0x4bdbff['LIVESHARE_OPERATION']:return{..._0x470660,'data':{..._0x56603c,'data':_0x56603c[_0x2cc70d(0x2dd)]},'cmd':_0x470660['cmd']};case _0x4bdbff[_0x2cc70d(0x2ce)]:return{..._0x470660,'data':{..._0x56603c,'data':_0x56603c[_0x2cc70d(0x4b9)]},'cmd':_0x470660['cmd']};case _0x4bdbff[_0x2cc70d(0x1ea)]:return{..._0x470660,'data':_0x56603c,'cmd':_0x470660[_0x2cc70d(0x2c5)]};case _0x4bdbff[_0x2cc70d(0x516)]:return{..._0x470660,'data':{..._0x56603c,'data':_0x56603c[_0x2cc70d(0x33a)]},'cmd':_0x470660[_0x2cc70d(0x2c5)]};case _0x4bdbff[_0x2cc70d(0x431)]:return{..._0x470660,'data':{..._0x56603c,'data':_0x56603c[_0x2cc70d(0x249)]},'cmd':_0x470660[_0x2cc70d(0x2c5)]};case _0x4bdbff[_0x2cc70d(0x23f)]:return{..._0x470660,'data':{..._0x56603c,'data':_0x56603c[_0x2cc70d(0x210)]},'cmd':_0x470660[_0x2cc70d(0x2c5)]};default:return _0x470660;}}default:return _0x470660;}}function Tr(_0xf8e25b){const _0x8d15b7=_0x29204f;switch(_0xf8e25b['cmd']){case W[_0x8d15b7(0x20c)]:case W[_0x8d15b7(0x3b7)]:return JSON['stringify']({'cmd':_0xf8e25b[_0x8d15b7(0x2c5)],'routeKey':_0xf8e25b[_0x8d15b7(0x27d)]});case W[_0x8d15b7(0x278)]:{let _0x5c6545;switch(_0xf8e25b['data'][_0x8d15b7(0x4dd)]){case _0x4bdbff[_0x8d15b7(0x1f7)]:{_0x5c6545={'eventID':_0x4bdbff[_0x8d15b7(0x1f7)],'updateCursorEvent':_0xf8e25b[_0x8d15b7(0x1af)][_0x8d15b7(0x1af)]};break;}case _0x4bdbff['USERS_LEAVE']:{_0x5c6545={'eventID':_0x4bdbff[_0x8d15b7(0x2e9)],'leaveEvent':_0xf8e25b[_0x8d15b7(0x1af)][_0x8d15b7(0x1af)]};break;}case _0x4bdbff[_0x8d15b7(0x2e5)]:{_0x5c6545={'eventID':_0x4bdbff['USERS_ENTER'],'joinEvent':_0xf8e25b[_0x8d15b7(0x1af)][_0x8d15b7(0x1af)]};break;}case _0x4bdbff[_0x8d15b7(0x3f7)]:{_0x5c6545={'eventID':_0x4bdbff[_0x8d15b7(0x3f7)],'liveShareNewHost':_0xf8e25b[_0x8d15b7(0x1af)]['data']};break;}case _0x4bdbff['LIVESHARE_OPERATION']:{_0x5c6545={'eventID':_0x4bdbff[_0x8d15b7(0x4e9)],'liveShareOperation':_0xf8e25b[_0x8d15b7(0x1af)][_0x8d15b7(0x1af)]};break;}case _0x4bdbff[_0x8d15b7(0x2ce)]:{_0x5c6545={'eventID':_0x4bdbff[_0x8d15b7(0x2ce)],'liveShareTerminate':_0xf8e25b[_0x8d15b7(0x1af)][_0x8d15b7(0x1af)]};break;}case _0x4bdbff[_0x8d15b7(0x422)]:{_0x5c6545={'eventID':_0x4bdbff[_0x8d15b7(0x422)],'liveShareRequestHost':_0xf8e25b[_0x8d15b7(0x1af)]['data']};break;}case _0x4bdbff['LIVESHARE_FETCH_OPERATIONS']:{_0x5c6545={'eventID':_0x4bdbff[_0x8d15b7(0x32b)]};break;}default:_0x5c6545={'eventID':_0xf8e25b[_0x8d15b7(0x1af)][_0x8d15b7(0x4dd)]};}return JSON['stringify']({'cmd':_0xf8e25b[_0x8d15b7(0x2c5)],'routeKey':_0xf8e25b[_0x8d15b7(0x27d)],'collaMsg':_0x5c6545});}case W[_0x8d15b7(0x481)]:return JSON[_0x8d15b7(0x4bf)]({'cmd':_0xf8e25b['cmd'],'routeKey':_0xf8e25b[_0x8d15b7(0x27d)],'joinReq':_0xf8e25b['data']});case W['LEAVE']:return JSON[_0x8d15b7(0x4bf)]({'cmd':_0xf8e25b['cmd'],'routeKey':_0xf8e25b['routeKey'],'leaveReq':_0xf8e25b[_0x8d15b7(0x1af)]});default:throw new Error(_0x8d15b7(0x373));}}var Rr=Object[_0x29204f(0x51a)],yr=Object['getOwnPropertyDescriptor'],Or=(_0x5f047b,_0x339dde,_0x1ae7df,_0xc9fccc)=>{const _0x4f97f6=_0x29204f;for(var _0x1df6fe=_0xc9fccc>0x1?void 0x0:_0xc9fccc?yr(_0x339dde,_0x1ae7df):_0x339dde,_0x9769b7=_0x5f047b[_0x4f97f6(0x2f0)]-0x1,_0xcb759e;_0x9769b7>=0x0;_0x9769b7--)(_0xcb759e=_0x5f047b[_0x9769b7])&&(_0x1df6fe=(_0xc9fccc?_0xcb759e(_0x339dde,_0x1ae7df,_0x1df6fe):_0xcb759e(_0x1df6fe))||_0x1df6fe);return _0xc9fccc&&_0x1df6fe&&Rr(_0x339dde,_0x1ae7df,_0x1df6fe),_0x1df6fe;},qe=(_0x3cbc2c,_0x3260e2)=>(_0x1380ea,_0x1dd63f)=>_0x3260e2(_0x1380ea,_0x1dd63f,_0x3cbc2c);const Oi=_0x230979('univer-pro.collaboration-client-socket-service');function wr(_0x1b0891,_0x5deeca,_0x23884d){const _0x1dfe54=_0x29204f;return _0x1b0891+'/'+_0x5deeca+_0x1dfe54(0x520)+_0x23884d+_0x1dfe54(0x39b);}let es=class extends _0x2a7347{constructor(_0x29d6b1,_0x2cd366,_0x4915ce,_0x159761,_0x1a8acf){const _0x4c981e=_0x29204f;super(),this[_0x4c981e(0x579)]=_0x29d6b1,this[_0x4c981e(0x5a0)]=_0x2cd366,this[_0x4c981e(0x2d6)]=_0x4915ce,this[_0x4c981e(0x1a4)]=_0x159761,this[_0x4c981e(0x29b)]=_0x1a8acf;}['createSocket'](_0xb43f87){const _0x14aa25=_0x29204f,_0x2818b0=this['_ws'][_0x14aa25(0x31d)](_0xb43f87);if(!_0x2818b0)throw new Error(_0x14aa25(0x20b));const _0x4d269a=new _0x4fd609(),_0x5a6f45=new _0x5c0e09();_0x4d269a[_0x14aa25(0x525)](_0x2818b0[_0x14aa25(0x4a9)]['subscribe'](_0x41c545=>_0x5a6f45[_0x14aa25(0x27a)](_0x41c545))),_0x4d269a[_0x14aa25(0x525)](_0x239c52(()=>_0x5a6f45[_0x14aa25(0x1a6)]()));const _0x4415f3=new _0x5c0e09();_0x4d269a[_0x14aa25(0x525)](_0x2818b0[_0x14aa25(0x1dc)][_0x14aa25(0x388)](_0x68130=>_0x4415f3[_0x14aa25(0x27a)](_0x68130))),_0x4d269a['add'](_0x239c52(()=>_0x4415f3[_0x14aa25(0x1a6)]()));const _0x1b97f3=new _0x5c0e09();_0x4d269a['add'](_0x2818b0[_0x14aa25(0x1a3)][_0x14aa25(0x388)](_0x176c54=>{const _0xc6532a=br(_0x176c54);_0x1b97f3['next'](_0xc6532a);})),_0x4d269a[_0x14aa25(0x525)](_0x239c52(()=>_0x1b97f3[_0x14aa25(0x1a6)]()));let _0x2e891e;const _0x2c2fe4=()=>{const _0x59a0d5=_0x14aa25;_0x4415f3[_0x59a0d5(0x27a)](new Event(_0x59a0d5(0x2fd))),_0x5a6f45['next'](new CloseEvent('connection\x20error')),_0x2e891e[_0x59a0d5(0x322)]();};return _0x2e891e={'memberID':'','close$':_0x5a6f45['asObservable'](),'error$':_0x4415f3[_0x14aa25(0x1eb)](),'open$':_0x2818b0[_0x14aa25(0x38a)],'message$':_0x1b97f3[_0x14aa25(0x1eb)](),'send':_0x3e6d02=>{const _0x4ecaf6=_0x14aa25;if(_0x3e6d02['cmd']===W[_0x4ecaf6(0x278)]){if(_0x3e6d02[_0x4ecaf6(0x1af)]['eventID']===_0x4bdbff[_0x4ecaf6(0x4a7)]){this['_submitChangeset'](_0x2e891e,_0x3e6d02[_0x4ecaf6(0x1af)])[_0x4ecaf6(0x43d)](_0x2b6367=>{const _0x456234=_0x4ecaf6;this['_logService'][_0x456234(0x5a3)](_0x2b6367),_0x2c2fe4();});return;}if(_0x3e6d02['data'][_0x4ecaf6(0x4dd)]===_0x4bdbff[_0x4ecaf6(0x343)]){const _0x41167a=_0x3e6d02[_0x4ecaf6(0x1af)];this[_0x4ecaf6(0x31c)](_0x41167a)['then'](_0xbf035d=>{const _0x3a2738=_0x4ecaf6;_0x1b97f3[_0x3a2738(0x27a)]({'cmd':W[_0x3a2738(0x49c)],'code':Is['OK'],'routeKey':_0x41167a[_0x3a2738(0x1af)][_0x3a2738(0x4a6)],'routeType':'','data':{'eventID':_0x4bdbff[_0x3a2738(0x1c4)],'data':{'changesets':_0xbf035d}}});})[_0x4ecaf6(0x43d)](_0x3509b0=>{const _0x151bf7=_0x4ecaf6;this[_0x151bf7(0x1a4)][_0x151bf7(0x5a3)](_0x3509b0),_0x2c2fe4();});return;}}_0x2818b0[_0x4ecaf6(0x2fb)](Tr(_0x3e6d02));},'close':()=>{const _0x110682=_0x14aa25;_0x2818b0[_0x110682(0x322)](),_0x4d269a[_0x110682(0x1db)]();}},_0x2e891e;}async[_0x29204f(0x38e)](_0x14044b,_0x4c8140){const _0x1552db=_0x29204f;var _0x2a0916,_0x49fc56;const {unitType:_0x10a87d,unitID:_0x3cbccd,changeset:_0x38b46d}=_0x4c8140[_0x1552db(0x1af)],_0x32e8e2={'unitID':_0x3cbccd,'memberID':_0x14044b[_0x1552db(0x2f9)],'type':_0x10a87d,'changeset':_0x4e835a(_0x38b46d)},_0xf86641=this['_configService'][_0x1552db(0x4c3)](gr),_0x2d8318=this[_0x1552db(0x2d6)][_0x1552db(0x4c3)](ie),_0x4490ed=wr((_0x49fc56=(_0x2a0916=_0x2d8318==null?void 0x0:_0x2d8318[_0x1552db(0x522)])!=null?_0x2a0916:_0xf86641)!=null?_0x49fc56:Sr,_0x10a87d,_0x3cbccd);try{await this[_0x1552db(0x579)][_0x1552db(0x550)](_0x4490ed,{'body':_0x32e8e2});}catch(_0x1d7870){throw this[_0x1552db(0x1a4)]['error'](_0x1552db(0x434),_0x1552db(0x4d6)),_0x1d7870;}}async[_0x29204f(0x31c)](_0x37b991){const _0xf93d14=_0x29204f,{unitID:_0x182882,from:_0x438d1a,to:_0x3e17a5,unitType:_0x32d1c4}=_0x37b991[_0xf93d14(0x1af)];return(await this['_snapshotServerService'][_0xf93d14(0x53c)]({'metadata':void 0x0},{'unitID':_0x182882,'type':_0x32d1c4,'from':_0x438d1a,'to':_0x3e17a5}))[_0xf93d14(0x3e3)];}};es=Or([qe(0x0,_0x31a227(_0x6042f)),qe(0x1,_0x31a227(_0x2c6668)),qe(0x2,_0x1d1963),qe(0x3,_0x15baf7),qe(0x4,_0x361c65)],es);const Dr=_0x29204f(0x324);function Pr(_0x485df8){const _0x6b7c71=_0x29204f;return JSON[_0x6b7c71(0x4bf)](_0x485df8)[_0x6b7c71(0x2f0)];}class wi{constructor(){const _0x5b9f50=_0x29204f;g(this,'_commentUpdate$',new _0x5c0e09()),g(this,_0x5b9f50(0x4db),this[_0x5b9f50(0x537)][_0x5b9f50(0x1eb)]());}[_0x29204f(0x29e)](_0x50478e){const _0x4db306=_0x29204f;this[_0x4db306(0x537)][_0x4db306(0x27a)](_0x50478e);}}var Ur=Object[_0x29204f(0x51a)],Nr=Object[_0x29204f(0x424)],Ar=(_0x51abbb,_0x3d0d5e,_0x4ded9a,_0x117f68)=>{const _0x352226=_0x29204f;for(var _0x2cffea=_0x117f68>0x1?void 0x0:_0x117f68?Nr(_0x3d0d5e,_0x4ded9a):_0x3d0d5e,_0x44f37b=_0x51abbb[_0x352226(0x2f0)]-0x1,_0x45bb4b;_0x44f37b>=0x0;_0x44f37b--)(_0x45bb4b=_0x51abbb[_0x44f37b])&&(_0x2cffea=(_0x117f68?_0x45bb4b(_0x3d0d5e,_0x4ded9a,_0x2cffea):_0x45bb4b(_0x2cffea))||_0x2cffea);return _0x117f68&&_0x2cffea&&Ur(_0x3d0d5e,_0x4ded9a,_0x2cffea),_0x2cffea;},Hs=(_0x3681c7,_0x4a70e8)=>(_0x176f0e,_0x539c60)=>_0x4a70e8(_0x176f0e,_0x539c60,_0x3681c7);let Ne=class extends _0x2a7347{constructor(_0x45f91a,_0x177778){const _0x2fc11b=_0x29204f;super(),g(this,'_roomMembers',new Map()),(this[_0x2fc11b(0x472)]=_0x45f91a,this[_0x2fc11b(0x510)]=_0x177778,this[_0x2fc11b(0x1ba)](_0x239c52(_0x5924a9(this[_0x2fc11b(0x472)][_0x2fc11b(0x574)](_0x5e8949[_0x2fc11b(0x27e)])[_0x2fc11b(0x457)](_0x2057c1(_0x24dc9a=>_0x24dc9a[_0x2fc11b(0x335)]())),this[_0x2fc11b(0x472)][_0x2fc11b(0x574)](_0x5e8949['UNIVER_DOC'])[_0x2fc11b(0x457)](_0x2057c1(_0x4247c3=>_0x4247c3[_0x2fc11b(0x335)]())),this[_0x2fc11b(0x472)][_0x2fc11b(0x574)](_0x5e8949['UNIVER_SLIDE'])[_0x2fc11b(0x457)](_0x2057c1(_0xc8593c=>_0xc8593c[_0x2fc11b(0x335)]())))[_0x2fc11b(0x388)](_0x393f05=>this['_removeRoom'](_0x393f05)))));}['setCurrentUser'](_0x42d595){const _0x3b14a8=_0x29204f;this['_userManagerService'][_0x3b14a8(0x3d1)](_0x42d595);}[_0x29204f(0x288)](){const _0x13958b=_0x29204f;return this[_0x13958b(0x510)][_0x13958b(0x288)]();}[_0x29204f(0x2ba)](_0x43d47f,_0x307089){const _0x1c4b94=_0x29204f;let _0x485326=this[_0x1c4b94(0x314)][_0x1c4b94(0x19e)](_0x43d47f);_0x485326||(_0x485326=new Mr(),this[_0x1c4b94(0x314)][_0x1c4b94(0x4b7)](_0x43d47f,_0x485326)),_0x485326['updateMember'](_0x307089);}[_0x29204f(0x589)](_0x3e16ac,_0x57cf8c){const _0x4f3f8b=_0x29204f,_0xabddfd=this[_0x4f3f8b(0x314)][_0x4f3f8b(0x19e)](_0x3e16ac);_0xabddfd&&_0xabddfd[_0x4f3f8b(0x589)](_0x57cf8c);}['getRoom'](_0x5d9ced){const _0x2be8ce=_0x29204f;return this[_0x2be8ce(0x314)][_0x2be8ce(0x19e)](_0x5d9ced);}[_0x29204f(0x46b)](_0x4ae65c,_0x935690){const _0x52d151=_0x29204f,_0x5aa550=this[_0x52d151(0x314)][_0x52d151(0x19e)](_0x4ae65c);if(_0x5aa550)return _0x5aa550[_0x52d151(0x46b)](_0x935690);}[_0x29204f(0x35f)](_0x1416f0){const _0x10e700=_0x29204f,_0x8f7ba4=this['_roomMembers']['get'](_0x1416f0);_0x8f7ba4&&(_0x8f7ba4['dispose'](),this[_0x10e700(0x314)][_0x10e700(0x204)](_0x1416f0));}[_0x29204f(0x1db)](){const _0xee5367=_0x29204f;this[_0xee5367(0x314)][_0xee5367(0x4a0)](_0x55d475=>_0x55d475[_0xee5367(0x1db)]()),this[_0xee5367(0x314)][_0xee5367(0x219)]();}};Ne=Ar([Hs(0x0,_0x1a11e5),Hs(0x1,_0x31a227(_0x1fc463))],Ne);class Mr extends _0x2a7347{constructor(){const _0x1b41eb=_0x29204f;super(...arguments),g(this,_0x1b41eb(0x3a0),new Map());}[_0x29204f(0x1db)](){const _0x4dbc0f=_0x29204f;this['_members'][_0x4dbc0f(0x219)]();}['updateMember'](_0x3a7852){const _0x340814=_0x29204f;this[_0x340814(0x3a0)][_0x340814(0x4b7)](_0x3a7852[_0x340814(0x2f9)],_0x3a7852);}['removeMember'](_0x301b3e){const _0x4b62c1=_0x29204f;this[_0x4b62c1(0x3a0)][_0x4b62c1(0x204)](_0x301b3e);}[_0x29204f(0x46b)](_0x47312e){const _0xaa7c6e=_0x29204f;return this['_members'][_0xaa7c6e(0x19e)](_0x47312e);}[_0x29204f(0x3a4)](){const _0x509637=_0x29204f;return Array[_0x509637(0x4c8)](this[_0x509637(0x3a0)][_0x509637(0x593)]());}}var xr=Object['defineProperty'],Lr=Object['getOwnPropertyDescriptor'],$r=(_0x23a045,_0x1b1355,_0x5d2499,_0x472661)=>{const _0x10eb98=_0x29204f;for(var _0x10b389=_0x472661>0x1?void 0x0:_0x472661?Lr(_0x1b1355,_0x5d2499):_0x1b1355,_0x5ae3e1=_0x23a045[_0x10eb98(0x2f0)]-0x1,_0x48ec2a;_0x5ae3e1>=0x0;_0x5ae3e1--)(_0x48ec2a=_0x23a045[_0x5ae3e1])&&(_0x10b389=(_0x472661?_0x48ec2a(_0x1b1355,_0x5d2499,_0x10b389):_0x48ec2a(_0x10b389))||_0x10b389);return _0x472661&&_0x10b389&&xr(_0x1b1355,_0x5d2499,_0x10b389),_0x10b389;},Ee=(_0x4e248c,_0x2b9c0c)=>(_0x3ac6c0,_0x2a6a00)=>_0x2b9c0c(_0x3ac6c0,_0x2a6a00,_0x4e248c),ve=(_0x46d4a1=>(_0x46d4a1[_0x46d4a1[_0x29204f(0x1dd)]=0x0]=_0x29204f(0x1dd),_0x46d4a1[_0x46d4a1[_0x29204f(0x329)]=0x1]='JOINING',_0x46d4a1[_0x46d4a1['OFFLINE']=0x2]=_0x29204f(0x557),_0x46d4a1[_0x46d4a1[_0x29204f(0x576)]=0x3]=_0x29204f(0x576),_0x46d4a1))(ve||{});let ts=class extends _0x3823d2{constructor(_0x5c80ff,_0x1e1316,_0x1cad30,_0x53932b,_0xa5f417,_0x2127bf,_0x35c573,_0x5e56c6,_0xea216c,_0x242569){const _0xb33937=_0x29204f;super(),g(this,_0xb33937(0x250),new _0x4d53e2(0x0)),g(this,'sessionStatus$',this[_0xb33937(0x250)][_0xb33937(0x1eb)]()),g(this,_0xb33937(0x32f),new _0x5c0e09()),g(this,_0xb33937(0x190),this['_event$']['asObservable']()),g(this,'_socket'),g(this,_0xb33937(0x54c)),g(this,'_collaborationTimeoutTimer'),g(this,_0xb33937(0x4d7),!0x1),g(this,_0xb33937(0x3fd),null),(this[_0xb33937(0x233)]=_0x5c80ff,this[_0xb33937(0x1a4)]=_0x1cad30,this[_0xb33937(0x3a3)]=_0x53932b,this[_0xb33937(0x3ca)]=_0xa5f417,this[_0xb33937(0x2d6)]=_0x2127bf,this[_0xb33937(0x1ab)]=_0x35c573,this[_0xb33937(0x1c8)]=_0x5e56c6,this[_0xb33937(0x58d)]=_0xea216c,this[_0xb33937(0x464)]=_0x242569,this[_0xb33937(0x4d7)]=!!this[_0xb33937(0x464)],_0x1e1316[_0xb33937(0x457)](_0x4b7102(this[_0xb33937(0x58b)]))[_0xb33937(0x388)](_0x18bfe3=>{const _0x4f3ed9=_0xb33937;var _0x46e2b2;typeof _0x18bfe3>'u'||(this[_0x4f3ed9(0x328)]=_0x18bfe3,_0x18bfe3?(this['_joinRoom'](_0x18bfe3),this['_socketMessageSubscription']=_0x18bfe3[_0x4f3ed9(0x1a3)][_0x4f3ed9(0x388)](_0x5717d6=>{const _0x3fce32=_0x4f3ed9;_0x5717d6[_0x3fce32(0x27d)]===this[_0x3fce32(0x233)]&&this[_0x3fce32(0x33e)](_0x5717d6);})):(this[_0x4f3ed9(0x429)](),this['_sessionStatus$']['next'](0x2),(_0x46e2b2=this[_0x4f3ed9(0x54c)])==null||_0x46e2b2[_0x4f3ed9(0x2b8)](),this[_0x4f3ed9(0x54c)]=null));}),this['disposeWithMe'](this[_0xb33937(0x3a3)][_0xb33937(0x33d)](()=>{const _0x7df08e=_0xb33937;var _0x1f5184;(_0x1f5184=this['_socket'])==null||_0x1f5184['send']({'cmd':W[_0x7df08e(0x5a2)],'data':{'roomID':this['_unitID']}});})));}get[_0x29204f(0x453)](){const _0x2ea18c=_0x29204f;return this[_0x2ea18c(0x250)][_0x2ea18c(0x432)]();}[_0x29204f(0x315)](){const _0x3f0225=_0x29204f;var _0x538585,_0xdc93d2;return(_0xdc93d2=(_0x538585=this[_0x3f0225(0x328)])==null?void 0x0:_0x538585[_0x3f0225(0x2f9)])!=null?_0xdc93d2:null;}[_0x29204f(0x1db)](){const _0x42207f=_0x29204f;super[_0x42207f(0x1db)](),this[_0x42207f(0x58b)][_0x42207f(0x27a)](),this[_0x42207f(0x58b)]['complete']();}[_0x29204f(0x322)](){const _0x47fe9e=_0x29204f;var _0x55aea7,_0x1bad1e;this['_throwTelemetryCollaborationNewChangeset'](),(_0x55aea7=this['_socket'])==null||_0x55aea7['send']({'cmd':W['LEAVE'],'data':{'roomID':this[_0x47fe9e(0x233)]}}),(_0x1bad1e=this[_0x47fe9e(0x328)])==null||_0x1bad1e[_0x47fe9e(0x322)](),this[_0x47fe9e(0x32f)]['complete'](),this[_0x47fe9e(0x250)][_0x47fe9e(0x1a6)](),this[_0x47fe9e(0x1db)]();}[_0x29204f(0x33e)](_0x443cf8){const _0x3ea660=_0x29204f;_0x443cf8['cmd']===W[_0x3ea660(0x481)]?this['_onJoinRoomEvent'](_0x443cf8):_0x443cf8[_0x3ea660(0x2c5)]===W[_0x3ea660(0x49c)]&&this[_0x3ea660(0x268)](_0x443cf8);}['_joinRoom'](_0x456190){const _0x9bfb30=_0x29204f;this[_0x9bfb30(0x250)][_0x9bfb30(0x27a)](0x1),_0x456190[_0x9bfb30(0x2fb)]({'cmd':W[_0x9bfb30(0x481)],'routeKey':this[_0x9bfb30(0x233)],'routeType':'','data':{'rooms':[{'roomID':this[_0x9bfb30(0x233)]}]}});}[_0x29204f(0x1ee)](_0x4249db){const _0x3725f3=_0x29204f;var _0x124575;if(_0x4249db['code']===Is['FAIL']){this['_messageService'][_0x3725f3(0x4ad)]({'type':_0x11c8f7[_0x3725f3(0x243)],'content':this[_0x3725f3(0x1ab)]['t'](_0x3725f3(0x42a))}),this[_0x3725f3(0x250)][_0x3725f3(0x27a)](0x2);return;}this[_0x3725f3(0x250)][_0x3725f3(0x27a)](0x3);const _0x2a214d=(_0x124575=_0x4249db[_0x3725f3(0x1af)]['roomInfos'][this[_0x3725f3(0x233)]])==null?void 0x0:_0x124575['members'];_0x2a214d&&_0x2a214d['forEach'](_0x561803=>this[_0x3725f3(0x1c8)][_0x3725f3(0x2ba)](this[_0x3725f3(0x233)],_0x561803));}[_0x29204f(0x268)](_0x5af7fb){const _0x585b01=_0x29204f;try{const _0x26b70b=_0x5af7fb[_0x585b01(0x1af)];switch(_0x26b70b[_0x585b01(0x4dd)]){case _0x4bdbff['USERS_ENTER']:this[_0x585b01(0x202)](_0x26b70b),this['_event$']['next'](_0x26b70b);break;case _0x4bdbff[_0x585b01(0x2e9)]:this[_0x585b01(0x274)](_0x26b70b),this[_0x585b01(0x32f)][_0x585b01(0x27a)](_0x26b70b);break;case _0x4bdbff[_0x585b01(0x1ca)]:case _0x4bdbff[_0x585b01(0x398)]:this[_0x585b01(0x3c3)](),this[_0x585b01(0x22e)](),this[_0x585b01(0x32f)][_0x585b01(0x27a)](_0x26b70b);break;case _0x4bdbff[_0x585b01(0x1ea)]:this['_logService']['error'](_0x585b01(0x2d9)+JSON[_0x585b01(0x4bf)](_0x26b70b)),this[_0x585b01(0x32f)][_0x585b01(0x27a)](_0x26b70b);break;case _0x4bdbff['COMMENT_UPDATE']:this[_0x585b01(0x58d)][_0x585b01(0x29e)](_0x26b70b[_0x585b01(0x1af)]),this[_0x585b01(0x32f)]['next'](_0x26b70b);break;default:this['_event$']['next'](_0x26b70b);}}catch(_0x24d1df){this[_0x585b01(0x1a4)]['error'](_0x24d1df,_0x5af7fb);}}[_0x29204f(0x202)](_0x521922){const _0x2622e5=_0x29204f;this[_0x2622e5(0x1c8)]['updateMember'](this[_0x2622e5(0x233)],_0x521922[_0x2622e5(0x1af)]);}[_0x29204f(0x274)](_0x3281b7){const _0x395510=_0x29204f;this[_0x395510(0x1c8)][_0x395510(0x589)](this[_0x395510(0x233)],_0x3281b7[_0x395510(0x1af)]['memberID']);}async[_0x29204f(0x2fb)](_0x465fc7,_0x5e1580){const _0x36d00e=_0x29204f;if(this[_0x36d00e(0x453)]!==0x3||!this['_socket'])throw new Error(_0x36d00e(0x205));try{_0x465fc7[_0x36d00e(0x4dd)]===_0x4bdbff[_0x36d00e(0x4a7)]&&(this[_0x36d00e(0x511)](),this['_startTelemetryCollaborationNewChangeset'](_0x465fc7)),this[_0x36d00e(0x328)]['send']({'cmd':W['INGEST'],'routeKey':_0x5e1580,'routeType':'','data':_0x465fc7});}catch(_0x210174){this[_0x36d00e(0x1a4)][_0x36d00e(0x5a3)](_0x210174);}}[_0x29204f(0x511)](){const _0x31cff4=_0x29204f;var _0x24c9dc;this['_collaborationTimeoutTimer']=window[_0x31cff4(0x361)](()=>{const _0x51c39d=_0x31cff4;this['_collaborationTimeoutTimer']=null,this['_messageService'][_0x51c39d(0x4ad)]({'type':_0x11c8f7[_0x51c39d(0x428)],'content':this[_0x51c39d(0x1ab)]['t'](_0x51c39d(0x4e3))});},(_0x24c9dc=this[_0x31cff4(0x2d6)][_0x31cff4(0x4c3)](bi))!=null?_0x24c9dc:Ti);}['_clearCollaborationTimeoutTimer'](){const _0x437a4a=_0x29204f;this[_0x437a4a(0x44a)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x437a4a(0x44a)]=null);}[_0x29204f(0x526)](_0x2975fc){if(!this['_shouldReportTelemetry'])return;const {data:_0x24ae1c}=_0x2975fc,{unitID:_0x36bbd3,changeset:_0x54af62}=_0x24ae1c,{mutations:_0x303abd,type:_0x52eed1}=_0x54af62;this['_telemetryInfo']={'unitId':_0x36bbd3,'type':_0x52eed1,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x303abd)};}[_0x29204f(0x3c3)](){const _0x19d413=_0x29204f;if(this[_0x19d413(0x4d7)]){if(!this[_0x19d413(0x3fd)]){this[_0x19d413(0x1a4)][_0x19d413(0x5a3)](_0x19d413(0x434),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x19d413(0x3fd)][_0x19d413(0x351)]=performance[_0x19d413(0x3f8)](),this[_0x19d413(0x3fd)]['duration']=this[_0x19d413(0x3fd)][_0x19d413(0x351)]-this['_telemetryInfo'][_0x19d413(0x48f)],this[_0x19d413(0x464)]['capture'](Dr,this[_0x19d413(0x3fd)]),this[_0x19d413(0x3fd)]=null;}}[_0x29204f(0x429)](){this['_telemetryInfo']=null;}};ts=$r([Ee(0x2,_0x15baf7),Ee(0x3,_0x391a01),Ee(0x4,_0x5d8f55),Ee(0x5,_0x1d1963),Ee(0x6,_0x31a227(_0x3da7c2)),Ee(0x7,_0x31a227(Ne)),Ee(0x8,_0x31a227(wi)),Ee(0x9,_0x2fdd6d(_0x3eb98d))],ts);var Hr=Object[_0x29204f(0x51a)],jr=Object['getOwnPropertyDescriptor'],Br=(_0x131d2d,_0x49b61a,_0x5289df,_0x20adfb)=>{const _0x347a0d=_0x29204f;for(var _0x153e6f=_0x20adfb>0x1?void 0x0:_0x20adfb?jr(_0x49b61a,_0x5289df):_0x49b61a,_0x5c8d12=_0x131d2d[_0x347a0d(0x2f0)]-0x1,_0x506334;_0x5c8d12>=0x0;_0x5c8d12--)(_0x506334=_0x131d2d[_0x5c8d12])&&(_0x153e6f=(_0x20adfb?_0x506334(_0x49b61a,_0x5289df,_0x153e6f):_0x506334(_0x153e6f))||_0x153e6f);return _0x20adfb&&_0x153e6f&&Hr(_0x49b61a,_0x5289df,_0x153e6f),_0x153e6f;},je=(_0x4c5899,_0x37eb47)=>(_0xe347f8,_0x1e0274)=>_0x37eb47(_0xe347f8,_0x1e0274,_0x4c5899);let Ae=class extends _0x2a7347{constructor(_0x8e7c90,_0x156484,_0x5c5908,_0x388716,_0x430cf3,_0x22b61f){const _0x428aed=_0x29204f;super(),g(this,'_socket$',new _0x4d53e2(void 0x0)),g(this,_0x428aed(0x266),this[_0x428aed(0x2c2)][_0x428aed(0x1eb)]()),g(this,'_candidateSocket',null),g(this,_0x428aed(0x376),new Map()),g(this,'_status$',new _0x4d53e2(ve[_0x428aed(0x1dd)])),g(this,_0x428aed(0x37d),this['_status$'][_0x428aed(0x1eb)]()),g(this,'_socketReady',!0x1),g(this,_0x428aed(0x504)),g(this,_0x428aed(0x42e),0x0),g(this,_0x428aed(0x4e7)),g(this,_0x428aed(0x371)),(this[_0x428aed(0x501)]=_0x8e7c90,this[_0x428aed(0x1ab)]=_0x156484,this[_0x428aed(0x3ca)]=_0x5c5908,this[_0x428aed(0x1a4)]=_0x388716,this[_0x428aed(0x2d6)]=_0x430cf3,this[_0x428aed(0x2b9)]=_0x22b61f,this[_0x428aed(0x471)]());}get[_0x29204f(0x328)](){const _0x4c4508=_0x29204f;return this[_0x4c4508(0x2c2)][_0x4c4508(0x432)]();}[_0x29204f(0x471)](){const _0x599f4e=_0x29204f;this[_0x599f4e(0x203)](),this[_0x599f4e(0x1f0)]();}[_0x29204f(0x1db)](){const _0x5a1536=_0x29204f;super[_0x5a1536(0x1db)](),this[_0x5a1536(0x376)][_0x5a1536(0x4a0)](_0x53834b=>_0x53834b[_0x5a1536(0x1db)]()),this[_0x5a1536(0x376)]['clear'](),this[_0x5a1536(0x325)][_0x5a1536(0x1a6)]();}async[_0x29204f(0x2ea)](_0x289bda){const _0x438040=_0x29204f;if(this[_0x438040(0x376)][_0x438040(0x246)](_0x289bda))return this[_0x438040(0x376)][_0x438040(0x19e)](_0x289bda);this[_0x438040(0x57e)]();const _0x4433a0=this[_0x438040(0x501)][_0x438040(0x49e)](ts,_0x289bda,this[_0x438040(0x2c2)][_0x438040(0x1eb)]());return this['_sessions'][_0x438040(0x4b7)](_0x289bda,_0x4433a0),_0x4433a0;}[_0x29204f(0x1b3)](_0x52486e){const _0x516359=_0x29204f;var _0x2b0b02;const _0x1ed1c2=this[_0x516359(0x376)][_0x516359(0x19e)](_0x52486e);_0x1ed1c2&&(this['_sessions'][_0x516359(0x204)](_0x52486e),_0x1ed1c2[_0x516359(0x322)]()),this['_sessions']['size']||(_0x2b0b02=this['_socket'])==null||_0x2b0b02['close']();}['reconnect'](){const _0x398921=_0x29204f;this[_0x398921(0x42e)]=0x0,this[_0x398921(0x504)]!=null&&(clearTimeout(this[_0x398921(0x504)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}[_0x29204f(0x3d7)](){const _0x438f70=_0x29204f;var _0x3a1247,_0x28c8f0;const _0x44be7f=this['_configService'][_0x438f70(0x4c3)](hr),_0x2d2127=this[_0x438f70(0x2d6)][_0x438f70(0x4c3)](ie),_0x1cf440=(_0x28c8f0=(_0x3a1247=_0x2d2127==null?void 0x0:_0x2d2127['collabWebSocketUrl'])!=null?_0x3a1247:_0x44be7f)!=null?_0x28c8f0:lr,_0x1d62fd=this['_socketService'][_0x438f70(0x31d)](_0x1cf440);return this[_0x438f70(0x1a2)]=_0x1d62fd,_0x1d62fd;}[_0x29204f(0x57e)](){const _0x3cc20a=_0x29204f;var _0x20a813,_0x10bdf8;try{const _0x304f55=(_0x10bdf8=(_0x20a813=this['_socket'])!=null?_0x20a813:this[_0x3cc20a(0x1a2)])!=null?_0x10bdf8:this[_0x3cc20a(0x3d7)]();if(_0x304f55){const _0x1e9b63=_0x304f55['send'];_0x304f55[_0x3cc20a(0x2fb)]=_0xcc23c5=>(this[_0x3cc20a(0x1a9)](),_0x1e9b63[_0x3cc20a(0x304)](_0x304f55,[_0xcc23c5])),_0x304f55[_0x3cc20a(0x1a3)][_0x3cc20a(0x388)](_0x59282e=>this['_onMessage'](_0x304f55,_0x59282e)),_0x304f55[_0x3cc20a(0x1dc)][_0x3cc20a(0x457)](_0x3c517f(0x1))[_0x3cc20a(0x388)](_0x57c63f=>this['_logService'][_0x3cc20a(0x5a3)](_0x3cc20a(0x1c6),_0x57c63f)),_0x304f55[_0x3cc20a(0x38a)][_0x3cc20a(0x457)](_0x3c517f(0x1))[_0x3cc20a(0x388)](()=>{this['_onConnectionOpen'](_0x304f55);}),_0x304f55[_0x3cc20a(0x4a9)][_0x3cc20a(0x457)](_0x3c517f(0x1))[_0x3cc20a(0x388)](_0x5681b5=>{const _0x34879c=_0x3cc20a;this[_0x34879c(0x1a4)][_0x34879c(0x416)]('[CollaborationSessionService]',_0x34879c(0x3d0),_0x5681b5),this[_0x34879c(0x57a)]();});}}catch(_0x2b68e9){this[_0x3cc20a(0x1a4)]['error'](_0x2b68e9),this['_onConnectionFailed']();}}[_0x29204f(0x3a7)](_0x3a6854){const _0x186fe4=_0x29204f;this[_0x186fe4(0x1a4)][_0x186fe4(0x416)](_0x186fe4(0x4f8),'socket\x20open.'),_0x3a6854[_0x186fe4(0x2fb)]({'cmd':W[_0x186fe4(0x3b7)]}),this[_0x186fe4(0x1a9)]();}['_listenToOfflineEvent'](){const _0x29f72f=_0x29204f;window[_0x29f72f(0x281)](_0x29f72f(0x234),()=>this[_0x29f72f(0x452)]());}[_0x29204f(0x452)](){const _0x31c7ad=_0x29204f;this['_socketReady']=!0x1,this[_0x31c7ad(0x1a2)]=null,this[_0x31c7ad(0x325)]['next'](ve[_0x31c7ad(0x557)]),this[_0x31c7ad(0x2c2)][_0x31c7ad(0x27a)](null),this[_0x31c7ad(0x312)](),this[_0x31c7ad(0x4af)]();}['_onConnectionFailed'](){const _0x2dcb54=_0x29204f;var _0x564bc2;this[_0x2dcb54(0x452)](),this['_retryCount']<((_0x564bc2=this['_configService'][_0x2dcb54(0x4c3)](fr))!=null?_0x564bc2:vr)?(this[_0x2dcb54(0x3ca)]['show']({'key':'collaboration-session-retry','type':_0x11c8f7[_0x2dcb54(0x243)],'content':this[_0x2dcb54(0x1ab)]['t']('session.will-retry')}),this[_0x2dcb54(0x338)]()):this[_0x2dcb54(0x3ca)]['show']({'key':_0x2dcb54(0x225),'type':_0x11c8f7['Error'],'content':this[_0x2dcb54(0x1ab)]['t'](_0x2dcb54(0x2d8))});}[_0x29204f(0x1f0)](){const _0x1b0df6=_0x29204f,_0x17bbcb=()=>{const _0x592433=_0x5d6c;this['_socket']||this[_0x592433(0x341)]();},_0x5489c0=()=>{const _0x1751d2=_0x5d6c;this[_0x1751d2(0x328)]||document['visibilityState']===_0x1751d2(0x46c)||this[_0x1751d2(0x341)]();};window[_0x1b0df6(0x281)]('online',_0x17bbcb),document[_0x1b0df6(0x281)](_0x1b0df6(0x4e6),_0x5489c0);}[_0x29204f(0x338)](){const _0x34edd9=_0x29204f;var _0x25b575;const _0x35a1ad=this[_0x34edd9(0x42e)],_0x1d5d62=this[_0x34edd9(0x2d6)][_0x34edd9(0x4c3)](ie),_0x254b5c=_0x35a1ad===0x0?0x0:((_0x25b575=_0x1d5d62==null?void 0x0:_0x1d5d62['retryConnectingInterval'])!=null?_0x25b575:dr)*0x2**_0x35a1ad;this['_retryConnectingTimer']=window[_0x34edd9(0x361)](()=>{const _0x4432af=_0x34edd9;clearTimeout(this['_retryConnectingTimer']),this[_0x4432af(0x504)]=null,this[_0x4432af(0x57e)]();},_0x254b5c),this[_0x34edd9(0x42e)]+=0x1;}[_0x29204f(0x3c1)](_0x44c2bb,_0x455bb2){const _0x3f95ca=_0x29204f,{cmd:_0x5b270c}=_0x455bb2;_0x5b270c===W[_0x3f95ca(0x3b7)]&&!this[_0x3f95ca(0x220)]&&(_0x44c2bb[_0x3f95ca(0x2f9)]=_0x455bb2[_0x3f95ca(0x1af)]['memberID'],this[_0x3f95ca(0x2c2)]['next'](_0x44c2bb),this[_0x3f95ca(0x325)]['next'](ve[_0x3f95ca(0x576)]),this[_0x3f95ca(0x220)]=!0x0,this['_candidateSocket']=null),_0x5b270c===W['HEARTBEAT']&&this[_0x3f95ca(0x312)](),this[_0x3f95ca(0x1a9)]();}['_rescheduleHeartbeat'](){const _0x59f58b=_0x29204f;var _0x13bf3d;this['_clearHeartbeatTimer'](),this[_0x59f58b(0x4e7)]=window[_0x59f58b(0x361)](()=>this[_0x59f58b(0x551)](),(_0x13bf3d=this[_0x59f58b(0x2d6)][_0x59f58b(0x4c3)](_r))!=null?_0x13bf3d:ur);}[_0x29204f(0x551)](){const _0x3af741=_0x29204f;this['_socket'][_0x3af741(0x2fb)]({'cmd':W['HEARTBEAT']}),this[_0x3af741(0x237)]();}[_0x29204f(0x237)](){const _0x898d57=_0x29204f;var _0x248046;this[_0x898d57(0x371)]=window[_0x898d57(0x361)](()=>this[_0x898d57(0x57a)](),(_0x248046=this[_0x898d57(0x2d6)][_0x898d57(0x4c3)](bi))!=null?_0x248046:Ti);}[_0x29204f(0x4af)](){const _0x28e727=_0x29204f;this[_0x28e727(0x4e7)]!=null&&(clearTimeout(this[_0x28e727(0x4e7)]),this['_sendHeartbeatTimer']=null);}[_0x29204f(0x312)](){const _0x298ea3=_0x29204f;this[_0x298ea3(0x371)]!=null&&(clearTimeout(this[_0x298ea3(0x371)]),this[_0x298ea3(0x371)]=null);}};Ae=Br([je(0x0,_0x31a227(_0x3ada64)),je(0x1,_0x31a227(_0x3da7c2)),je(0x2,_0x5d8f55),je(0x3,_0x15baf7),je(0x4,_0x1d1963),je(0x5,Oi)],Ae);var Y=[];for(var Nt=0x0;Nt<0x100;++Nt)Y[_0x29204f(0x523)]((Nt+0x100)[_0x29204f(0x1b5)](0x10)['slice'](0x1));function kr(_0x394d18,_0x5baedd=0x0){return(Y[_0x394d18[_0x5baedd+0x0]]+Y[_0x394d18[_0x5baedd+0x1]]+Y[_0x394d18[_0x5baedd+0x2]]+Y[_0x394d18[_0x5baedd+0x3]]+'-'+Y[_0x394d18[_0x5baedd+0x4]]+Y[_0x394d18[_0x5baedd+0x5]]+'-'+Y[_0x394d18[_0x5baedd+0x6]]+Y[_0x394d18[_0x5baedd+0x7]]+'-'+Y[_0x394d18[_0x5baedd+0x8]]+Y[_0x394d18[_0x5baedd+0x9]]+'-'+Y[_0x394d18[_0x5baedd+0xa]]+Y[_0x394d18[_0x5baedd+0xb]]+Y[_0x394d18[_0x5baedd+0xc]]+Y[_0x394d18[_0x5baedd+0xd]]+Y[_0x394d18[_0x5baedd+0xe]]+Y[_0x394d18[_0x5baedd+0xf]])['toLowerCase']();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0x45abae=_0x29204f;if(!ct&&(ct=typeof crypto<'u'&&crypto[_0x45abae(0x229)]&&crypto['getRandomValues'][_0x45abae(0x1df)](crypto),!ct))throw new Error(_0x45abae(0x53a));return ct(Wr);}var Vr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x29204f(0x4fd)][_0x29204f(0x1df)](crypto);const js={'randomUUID':Vr};function Gr(_0x2e4e5f,_0xabf447,_0x21c8da){const _0x5ad579=_0x29204f;if(js[_0x5ad579(0x4fd)]&&!_0xabf447&&!_0x2e4e5f)return js['randomUUID']();_0x2e4e5f=_0x2e4e5f||{};var _0xb0c4df=_0x2e4e5f[_0x5ad579(0x1ac)]||(_0x2e4e5f['rng']||Fr)();return _0xb0c4df[0x6]=_0xb0c4df[0x6]&0xf|0x40,_0xb0c4df[0x8]=_0xb0c4df[0x8]&0x3f|0x80,kr(_0xb0c4df);}var Yr=Object[_0x29204f(0x51a)],Kr=Object['getOwnPropertyDescriptor'],zr=(_0x2650c1,_0x2a1ff1,_0x48881e,_0x262544)=>{const _0x48fc98=_0x29204f;for(var _0x452a67=_0x262544>0x1?void 0x0:_0x262544?Kr(_0x2a1ff1,_0x48881e):_0x2a1ff1,_0xdfec58=_0x2650c1[_0x48fc98(0x2f0)]-0x1,_0x5a8203;_0xdfec58>=0x0;_0xdfec58--)(_0x5a8203=_0x2650c1[_0xdfec58])&&(_0x452a67=(_0x262544?_0x5a8203(_0x2a1ff1,_0x48881e,_0x452a67):_0x5a8203(_0x452a67))||_0x452a67);return _0x262544&&_0x452a67&&Yr(_0x2a1ff1,_0x48881e,_0x452a67),_0x452a67;},At=(_0x8e3f52,_0x30aee7)=>(_0x376739,_0x283b57)=>_0x30aee7(_0x376739,_0x283b57,_0x8e3f52);let vt=class{constructor(_0x3693bb,_0x2dc8cd,_0x488dc7){const _0x52f8af=_0x29204f;this[_0x52f8af(0x501)]=_0x3693bb,this[_0x52f8af(0x4a1)]=_0x2dc8cd,this[_0x52f8af(0x224)]=_0x488dc7;}['transformIMECache'](_0x3f5114){const _0x584fbf=_0x29204f;this[_0x584fbf(0x425)](_0x3f5114),this[_0x584fbf(0x3a9)](_0x3f5114);}[_0x29204f(0x514)](_0x3dad56){const _0x37822a=_0x29204f,{unitID:_0x20f6ac}=_0x3dad56,_0xf5df02=this[_0x37822a(0x224)][_0x37822a(0x596)](_0x20f6ac)[_0x37822a(0x3f4)](_0x66bd33),{redoCache:_0x13d9cf}=_0xf5df02[_0x37822a(0x2ab)]();if(_0x13d9cf[_0x37822a(0x2f0)]===0x0)return _0x3dad56;let _0x532638=_0x572bca[_0x37822a(0x440)](_0x3dad56['mutations'][0x0]);for(let _0x253a62=0x0;_0x253a62<_0x13d9cf[_0x37822a(0x2f0)];_0x253a62++){const _0x3dffc2={'id':'doc.mutation.rich-text-editing','params':{..._0x13d9cf[_0x253a62]}},_0x58e1fb=this[_0x37822a(0x4a1)]['transformMutation'](_0x532638,_0x3dffc2,!0x1);if(_0x3a6c5b(_0x58e1fb))throw _0x58e1fb[_0x37822a(0x5a3)];_0x532638=_0x58e1fb[_0x37822a(0x59d)];}return{..._0x572bca['deepClone'](_0x3dad56),'mutations':[_0x532638]};}[_0x29204f(0x425)](_0x5ca7e9){const _0x448009=_0x29204f,{unitID:_0x3c0336}=_0x5ca7e9,_0x363351=this[_0x448009(0x224)][_0x448009(0x596)](_0x3c0336)[_0x448009(0x3f4)](_0x66bd33),{undoCache:_0x583cbe,redoCache:_0x3a3141}=_0x363351[_0x448009(0x2ab)]();if(_0x583cbe[_0x448009(0x2f0)]===0x0||_0x3a3141[_0x448009(0x2f0)]===0x0)return;const _0x58d142=[],_0x84a699=[];let _0x5434e6=_0x572bca[_0x448009(0x440)](_0x5ca7e9[_0x448009(0x1b7)][0x0]),_0x3850cd=_0x572bca[_0x448009(0x440)](_0x5ca7e9[_0x448009(0x1b7)][0x0]);for(let _0x53d3f2=_0x583cbe[_0x448009(0x2f0)]-0x1;_0x53d3f2>=0x0;_0x53d3f2--){const _0x424c64={'id':_0x448009(0x384),'params':{..._0x583cbe[_0x53d3f2]}},_0x4b94ed={'id':'doc.mutation.rich-text-editing','params':{..._0x3a3141[_0x53d3f2]}},_0x3484e4=this[_0x448009(0x4a1)][_0x448009(0x2fa)](_0x5434e6,_0x424c64,!0x1),_0x512abc=this[_0x448009(0x4a1)][_0x448009(0x2fa)](_0x3850cd,_0x4b94ed,!0x1);if(_0x3a6c5b(_0x3484e4))throw _0x3484e4[_0x448009(0x5a3)];if(_0x3a6c5b(_0x512abc))throw _0x512abc['error'];_0x58d142[_0x448009(0x2df)](_0x3484e4[_0x448009(0x4ee)][_0x448009(0x499)]),_0x84a699[_0x448009(0x2df)](_0x512abc[_0x448009(0x4ee)]['params']),_0x5434e6=_0x3484e4[_0x448009(0x59d)],_0x3850cd=_0x512abc['m1Prime'];}_0x363351[_0x448009(0x404)]({'undoCache':_0x58d142,'redoCache':_0x84a699});}[_0x29204f(0x3a9)](_0x1b2c41){const _0x3440e1=_0x29204f,{unitID:_0x2f7442}=_0x1b2c41,_0x2452b2=this[_0x3440e1(0x224)][_0x3440e1(0x596)](_0x2f7442)['with'](_0x66bd33),_0x39d138=_0x2452b2[_0x3440e1(0x34b)]();if(_0x39d138==null)return;const _0x2b29d7=[{'id':_0x3440e1(0x384),'params':{'unitId':_0x1b2c41[_0x3440e1(0x4a6)],'actions':null,'textRanges':[_0x39d138]}}],_0x5df029=this['_transformService']['transformMutationsWithChangeset'](_0x1b2c41,_0x2b29d7);if(!_0x15601c(_0x5df029))throw _0x5df029['error'];const _0x2d00b1=_0x5df029[_0x3440e1(0x4ee)][0x0][_0x3440e1(0x499)][_0x3440e1(0x45b)];Array[_0x3440e1(0x212)](_0x2d00b1)&&_0x2d00b1[_0x3440e1(0x2f0)]&&_0x2452b2[_0x3440e1(0x477)](_0x2d00b1[0x0]);}};vt=zr([At(0x0,_0x31a227(_0x3ada64)),At(0x1,_0x5f49ec),At(0x2,_0x427763)],vt);var qr=Object[_0x29204f(0x51a)],Xr=Object['getOwnPropertyDescriptor'],Jr=(_0x4de32d,_0x5f024e,_0x5581ad,_0x53b5d0)=>{for(var _0x1b61bd=_0x53b5d0>0x1?void 0x0:_0x53b5d0?Xr(_0x5f024e,_0x5581ad):_0x5f024e,_0x424006=_0x4de32d['length']-0x1,_0x1ee4f5;_0x424006>=0x0;_0x424006--)(_0x1ee4f5=_0x4de32d[_0x424006])&&(_0x1b61bd=(_0x53b5d0?_0x1ee4f5(_0x5f024e,_0x5581ad,_0x1b61bd):_0x1ee4f5(_0x1b61bd))||_0x1b61bd);return _0x53b5d0&&_0x1b61bd&&qr(_0x5f024e,_0x5581ad,_0x1b61bd),_0x1b61bd;},Xe=(_0x48f57c,_0x1ee9a4)=>(_0xf32a,_0x4e5caf)=>_0x1ee9a4(_0xf32a,_0x4e5caf,_0x48f57c);let q=class extends _0x2a7347{constructor(_0x55a410,_0x3ed32e,_0x11a31f,_0x3fa33e,_0x26f95b){const _0x2041f4=_0x29204f;super(),g(this,_0x2041f4(0x1bf),new Map()),g(this,_0x2041f4(0x29f),new Map()),g(this,'_disabled',!0x1),(this['_configService']=_0x55a410,this[_0x2041f4(0x1cc)]=_0x3ed32e,this['_beforeCloseService']=_0x11a31f,this[_0x2041f4(0x1ab)]=_0x3fa33e,this[_0x2041f4(0x2b7)]=_0x26f95b,this[_0x2041f4(0x370)]());}[_0x29204f(0x578)](){this['_disabled']=!0x0;}[_0x29204f(0x568)](){const _0x38de2f=_0x29204f;this[_0x38de2f(0x3d2)]=!0x1;}[_0x29204f(0x1db)](){const _0x5f5481=_0x29204f;this[_0x5f5481(0x3d5)]()['then'](()=>super[_0x5f5481(0x1db)]());}async[_0x29204f(0x43e)](_0x373fa4){const _0xf2ef73=_0x29204f;return this[_0xf2ef73(0x3d2)]?null:this[_0xf2ef73(0x1cc)][_0xf2ef73(0x306)](Bs(_0x373fa4));}async[_0x29204f(0x1b0)](_0x354eac,_0x75c3ce){const _0x31afc6=_0x29204f;return!!this[_0x31afc6(0x1cc)][_0x31afc6(0x512)](_0x354eac,_0x75c3ce);}[_0x29204f(0x444)](_0x558f74,_0x36f3bc,_0x3b9c55,_0x108679){const _0x17015d=_0x29204f,_0x1ab42d=this[_0x17015d(0x2b7)][_0x17015d(0x362)](_0x558f74);this[_0x17015d(0x1bf)][_0x17015d(0x4b7)](_0x558f74,{'unitID':_0x558f74,'type':_0x36f3bc,'awaitingChangeset':_0x3b9c55,'mutations':_0x108679,'rev':_0x1ab42d}),this[_0x17015d(0x29f)]['has'](_0x558f74)||this[_0x17015d(0x40d)](_0x558f74);}['_scheduleSaving'](_0xb0e4c0){const _0x27e523=_0x29204f,_0x55a6a0=this[_0x27e523(0x55c)]();_0x55a6a0===0x0?this[_0x27e523(0x53f)](_0xb0e4c0):this[_0x27e523(0x29f)][_0x27e523(0x4b7)](_0xb0e4c0,setTimeout(()=>this[_0x27e523(0x53f)](_0xb0e4c0),_0x55a6a0));}[_0x29204f(0x55c)](){const _0x21578c=_0x29204f;var _0x4eec99;return(_0x4eec99=this[_0x21578c(0x2d6)]['getConfig'](mr))!=null?_0x4eec99:pr;}[_0x29204f(0x53f)](_0x1f9c6c){const _0x4ac24d=_0x29204f,_0x283dfd=this[_0x4ac24d(0x29f)]['get'](_0x1f9c6c);return _0x283dfd!==void 0x0&&window[_0x4ac24d(0x276)](_0x283dfd),this[_0x4ac24d(0x1cc)][_0x4ac24d(0x512)](Bs(_0x1f9c6c),this[_0x4ac24d(0x1bf)][_0x4ac24d(0x19e)](_0x1f9c6c))['then'](()=>this[_0x4ac24d(0x29f)][_0x4ac24d(0x204)](_0x1f9c6c));}async[_0x29204f(0x3d5)](){const _0x3f5f59=_0x29204f,_0x50e70e=[];this[_0x3f5f59(0x29f)][_0x3f5f59(0x4a0)]((_0x3626e2,_0x2d8b03)=>{const _0x56cec2=_0x3f5f59;window[_0x56cec2(0x276)](_0x3626e2),_0x50e70e['push'](this[_0x56cec2(0x53f)](_0x2d8b03)[_0x56cec2(0x1f4)](()=>{const _0x524368=_0x56cec2;this['_saveTaskMap'][_0x524368(0x204)](_0x2d8b03);}));}),await Promise['all'](_0x50e70e);}[_0x29204f(0x370)](){const _0x354de7=_0x29204f;this['disposeWithMe'](this[_0x354de7(0x3a3)][_0x354de7(0x4ce)](()=>{const _0x58491d=_0x354de7;if(this[_0x58491d(0x29f)][_0x58491d(0x48a)])return this[_0x58491d(0x1ab)]['t']('collaboration-client.offline-data-not-saved');}));}};q=Jr([Xe(0x0,_0x1d1963),Xe(0x1,_0x2662bd),Xe(0x2,_0x391a01),Xe(0x3,_0x31a227(_0x3da7c2)),Xe(0x4,_0x31a227(_0xbf5b42))],q);function Bs(_0x484748){const _0x4fbee6=_0x29204f;return _0x4fbee6(0x3fc)+_0x484748;}var Zr=Object[_0x29204f(0x51a)],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x19c501,_0x4113e9,_0x4d3553,_0x36ac41)=>{const _0xa960b1=_0x29204f;for(var _0x5d7aa8=_0x36ac41>0x1?void 0x0:_0x36ac41?Qr(_0x4113e9,_0x4d3553):_0x4113e9,_0x500a9c=_0x19c501[_0xa960b1(0x2f0)]-0x1,_0x373b81;_0x500a9c>=0x0;_0x500a9c--)(_0x373b81=_0x19c501[_0x500a9c])&&(_0x5d7aa8=(_0x36ac41?_0x373b81(_0x4113e9,_0x4d3553,_0x5d7aa8):_0x373b81(_0x5d7aa8))||_0x5d7aa8);return _0x36ac41&&_0x5d7aa8&&Zr(_0x4113e9,_0x4d3553,_0x5d7aa8),_0x5d7aa8;},Mt=(_0x26a986,_0x24a7ef)=>(_0xd6b429,_0x1d3c26)=>_0x24a7ef(_0xd6b429,_0x1d3c26,_0x26a986);function to(_0x52af13){const _0xd57c04=_0x29204f,{unitID:_0x5b6a17,mutations:_0x5ee7d4}=_0x52af13;return{'unitId':_0x5b6a17,'subUnitId':_0x5ee7d4[0x0][_0xd57c04(0x499)]['subUnitId']};}function _0x3441(){const _0x5050ed=['ws://127.0.0.1:8000/universer-api/comb/connect','_docSyncEditingCollabCursorService','extend','loadSheet','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','icon','isEditing','EvpKDF','_telemetryService','assign','number','_waitCount','Could\x20not\x20dynamically\x20require\x20\x22','Unknown\x20user','resourceIDs','getMember','hidden','verdancy600','_change$','string','updateCursorEvent','_initEventListeners','_univerInstanceService','_transformIMECache','saveSheetBlock','_type','onPointerMove$','setActiveRange','_loadSheet','selections','BlockCipherMode','ciphertext','_doFinalize','_syncEditingCollabCursorService','_docSkeletonManagerService','_clearScheduledTask','_imageSourceCache','JOIN','_HTTPService','fillStyle','_anchorDot','_replaceFileID','_permissionService','encode','_config','MoveRangeCommandId','size','getFocusedUnit','url','moveTo','_cursorInfo$','startTime','endColumn','APPLY_REVISION_CONFILICT','FETCH_MISS','AES','M0\x200H16V16H0z','[SyncedState]:\x20received\x20acknowledgement.','_lastPointer','_transformHistoryAndStateStack','&assign=','params','SUCCUSS','evenodd','RECV','crypto','createInstance','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','forEach','_transformService','_getSendChangesetTimeout','_clearOtherTimers','LICENSE_MAX_UNITS_EXCEEDED','_state','unitID','SUBMIT_CHANGESET','range','close$','mixIn','_handler','_getSheetObject','show','_init','_clearHeartbeatTimer','leaveEvent','getImage','_startDocCollabCursor','unknown','getVpScrollXYInfoByPosToVp','_initUnitPermissionChange','getDocRanges','set','colorChannel1','liveShareNewHost','msCrypto','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_instanceService','CONNECTOR_DATA_TOO_LARGE','top','stringify','_hash','_assignedColors','_compressMutationService','getConfig','pad','getParam','WordArray','buffer','from','962384RRHMFV','_keySchedule','engine','_executeRemoteChangeset','activeSheet$','registerBeforeClose','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','createElement','fill','/collaborator','_append','collaboration-client.config','_queuedRemoteChangesets','submit\x20changeset\x20error!','_shouldReportTelemetry','loginUrlKey','collabStatus.conflict','univer-online-status-title','commentUpdate$','processBlock','eventID','_remoteChangesetQueue','interceptor','createCollaborator','_onLocalMutation','charCodeAt','session.collaboration-timeout','_refreshCollabCursors','_drawRectRange','visibilitychange','_sendHeartbeatTimer','getCellPositionByOffset','LIVESHARE_OPERATION','_snapshotService','resize','collab-rect-range-','YUUMI_URL_COL_OUT_OF_RANGE','m2Prime','toggleOffline','some','byteLength','_createInitialStateImpl','_reverseMap','_undoRedoService','_iKey','getTime','_setupSubUnitSync','[CollaborationSessionService]','Malformed\x20UTF-8\x20data','setInterval','_data','_range','randomUUID','onPointerEnter$','DEFAULT_FILE_NAME','_entities','_injector','compose','\x20-\x20','_retryConnectingTimer','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','sid','?url=','14770ZjxtXB','/universer-api/authz','_prevBlock','workbook','csShouldRetryEvent','InsertRangeMoveRightCommandId','bottom','getResourcesRequest','_userManagerService','_scheduleCollaborationTimeoutTimer','setItem','drawWith','transformRemoteChangeset','collabStatus.notCollab','COMMENT_UPDATE','onlyLocal','HmacSHA1','permission.title','defineProperty','getSheetBySheetId','APPLY_PERMISSION_DENIED','_minBufferSize','endRow','_handleHeartbeatEvent','/unit/','clone','collabSubmitChangesetUrl','push','setShowComponents','add','_startTelemetryCollaborationNewChangeset','_hovered','iterations','responseType','lineTo','_process','COMPRESS_MUTATION_SEND','getActiveSheet','_replayCachedMutations','onSendChangeset','_exhaustRemoteChangesetQueue','_scheduleHeartbeat','HttpImport','charAt','blockSize','docStateChange$','fetching\x20missing\x20changesets\x20from\x20','_commentUpdate$','Base','conflict.content','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','[PendingState]:\x20received\x20acknowledgement.','fetchMissingChangesets','transformUndoRedo','onTransformSelections','_saveCache','_keyPriorReset','confirm','_xformMode','getTypeOfUnitAdded$','row','/-/object/list','\x0aCurrent:\x20','FileId','univer-online-status-icon','roomMembers$','_collaborationSessionService','batchAllowed','_socketMessageSubscription','ERROR_IMAGE','collaMsg','conflict.title','post','_sendHeartbeat','reqId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','[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.','authzUrl','INVALID_ARGUMENT','OFFLINE','onRemoteRetry','prototype','univerjs-icon\x20univerjs-icon-','_iv','_getSaveTimeout','_unitOnClients','onTransformRemoteChangesetByStateCache','_initResize','width','OTHER_CLIENTS_EDITING','pending','_backgroundColor','__creator','_invKeySchedule','HEARTBEAT_TIMEOUT','unpad','enableLocalCache','hostname','reset','_getCtorByUniverType','_registerDependencies','_createHmacHelper','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','#FFF','_onCursorUpdate','_clearLocalCache','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','setShapeProps','getTypeOfUnitDisposed$','_ENC_XFORM_MODE','ONLINE','\x0aAfter:\x20','disableLocalCache','_http','_onConnectionFailed','NEW_CHANGESETS','closePath','replaceState','_tryEnsureSocket','NOT_FOUND','CHANGESET_REJ','_drawAnchor','&source=','_initStatusComponent','generateRandomId','/universer-api/oidc/authpage','startsWith','_awaitingChangeset','createEncryptor','removeMember','readInt32LE','dispose$','exports','_commentService','roomMembers','_themeService','_substituteUndoStack','91TQrEjw','updateCollaborator','values','readAsDataURL','path','getRenderById','searchParams','_doCryptBlock','_initCloseConn','HmacMD5','UnitEmbedded','hide','m1Prime','list','UUID','_ws','resolve','LEAVE','error','_colorIndex','getUnitOnRev','[CollaborationUndoRedoService]','rgba(255,\x20255,\x20255,\x200.01)','event$','getInterceptPoints','7360608XOuyxm','_parse','_redoStacks','init','collabStatus.fetchMiss','enc','clearInterval','_transformRemoteChangesetByIMECache','[OfflineState]:\x20received\x20rejection.','_document','_checkMissing','#fff','get','resend','addObjects','VIEW_MAIN','_candidateSocket','message$','_logService','executeCommand','complete','image/jpeg','_resendTimeout','_rescheduleHeartbeat','whenReady','_localeService','random','PERMISSION_DENIED','_nRounds','data','saveOfflineData','fetch_missing','_refRangeService','closeSession','/universer-api/comb','toString','SYNCED','mutations','infoRsp','getUniverSheetInstance','disposeWithMe','/fetchmissing?from=','createDecryptor','RECT','_removeClearOtherTimer','_cachedData','_disableEditing','putCollaborators','1321701iRWvOS','function','PSEUDO_FETCH_MISSING_RESULT','selection','[CollaborationSessionService]:\x20socket\x20error','every','_memberService','ranges','CHANGESET_ACK','Error\x20on\x20receiving\x20event','_localStorageService','_createInitialState','xlink:href','_unlockTransition','ACTIVE_UNIT_EVENT_CHANNEL','labelPosition','onlineStatus','_colorAssignService','setStateCache','attrs','disposeUnit','_anchor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_pendingMutations','Encryptor','dispose','error$','IDLE','sessionStatus$','bind','[PendingState]:\x20unhandled\x20univer\x20type:\x20','slice','Undefined','format','_scheduleTimestamp','_handleJoinEvent','onlineStatusIcon','getRangePointData','getDeserializedSheetBlock','image/bmp','MSG_FOR_ERROR','asObservable','getCollabEntity','_selfUnitIDs','_onJoinRoomEvent','reject','_listenToOnlineEvent','[SyncedState]:\x20received\x20rejection.','_initMergeInterceptor','FAIL','then','getSkeleton','_entityInit$','UPDATE_CURSOR','_collabCursorController','_sheetTransformSelectionsService','YUUMI_RATE_OVER_LIMIT','unitId','defIds','deleteCollaborator','[DataLoaderController]','objectActions','svg','_heartbeatTimer','_onUserJoin','_listenToOfflineEvent','delete','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','requestParams','_cursor','onPointerLeave$','encodeURIComponent','padding','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','HEARTBEAT','_updateLocalCursor','__Key__','contains','shouldCloseConn','[OfflineState]:\x20received\x20acknowledgement.','isArray','saveImage','decryptBlock','_docTransformSelectionsService','getOffsetConfig','change$','UNIVER_SLIDE','clear','sigBytes','_transformStack','editingUnit','_singleActiveUnitService','_collaborationController','splice','_socketReady','code','json','BufferedBlockAlgorithm','_renderManagerService','collaboration-session-retry','assignAColorForMemberID','_handleHover','state$','getRandomValues','collaboration.single-unit.warning','pushState','_shapes','COMPLETION_FINISHED','_clearCollaborationTimeoutTimer','_resendWithTimeout','1370980CNbzIf','color','registerComponent','_unitID','offline','restore','height','_waitForHeartbeatResponse','getCollabCursors$','LOCAL_CACHE_INTERVAL','parse','incrementRevOfUnit','toggleOnline','NoPadding','transform','SHOULD_CLOSE_CONN','roles','PERMISSION_REJ','isPermissionRej','Warning','HEARTBEAT_INTERVAL','[UniverCollaborationClientPlugin]','has','localeService','getStateCache','updatePermissionObjEvent','split','UNIVER_UNKNOWN','onTransformChange$','CHANGESET_REVISION_CONFILICT','socketService','_color','_sessionStatus$','_hasher','sheetId','_getDownloadEndpointURL','defs','_notificationService','title','hasher','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','text','CipherParams','_DEC_XFORM_MODE','BlockCipher','SHA1','transformStack\x20failed!','_hover','ceil','onload','InsertRowCommandId','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','BASE64','_getScale','socket$','type','_onRecvEvent','body','abs','hovered','execute','name','encrypt','substring','className','_decreaseWaiting','clipPath','_key','_onUserLeave','image/png','clearTimeout','compute','INGEST','filter','next','encryptBlock','formatter','routeKey','UNIVER_SHEET','_session','YUUMI_SUBSCRIPTION_NOT_FOUND','addEventListener','_createHelper','objectID','Decryptor','_uiPartsService','transformIMECache','_incrementRevisionNumber','getCurrentUser','_getLoginPath','byteOffset','SerializableCipher','COLLAB_SUBMIT_CHANGESET_URL','transformMutationsWithChangeset','put','Hasher','_oKey','onRemoteAck','_render','_eventUnsubscribe','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','LICENSE_IMPORT_SIZE_EXCEEDED','FromArray','cursorInfo$','override','_acknowledgedAwaitingChangeset','startColumn','_snapshotServerService','_transformUndoredo','revision','onCommentUpdate','_saveTaskMap','_transformStateCache','_createHandler','0\x200\x2017\x2016','_context','result','_updateLocalCache','x-univer-host','column','randomBytes','listCollaborators','_lockTransition','getUndoRedoMutationParamsCache','_syncEditingCollabCursor','initWorkbookPermissionChange','UniverIcon','_hideTimer','on-line-single_clip0_910_349','getCollabEntity$','_docTransformStateCacheService','_onRemoteRejected','hasOwnProperty','INTERNAL_ERROR','onReady','_revisionService','unsubscribe','_socketService','updateMember','synced','_map','OpenSSL','kdf','sendChangesetTimeout','unload','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_socket$','refreshPermission','objectType','cmd','setConfig','syncEditingCollabCursor','update','onTransformIME','_online','_collaborationPaused','UNRECOGNIZED','decrypt','LIVESHARE_TERMINATE','AUTHZ_URL_KEY','symbol','_sheetSkeletonManagerService','getCurrentUnitForType','gold400','newCsEvent','univer-online','_configService','allowed','session.connection-failed','save\x20fail\x20reason\x20is\x20','PENDING','_getMergeRange','onMouseMove','liveShareOperation','url(#$1','unshift','floor','auth.needGotoLoginAlert','ALREADY_EXISTS','_applyRemoteChangeset','permission.content','USERS_ENTER','UNAUTHENTICATED','APPLY_NON_SEQUENTIAL_REVISION','black','USERS_LEAVE','requireSession','triggerDblclick','MUTATION','cursorInfo','TOO_MANY_REQUESTS','currentTheme$','length','onRemoteChangeset','_doReset','transformSelections','awaiting','onMissingChangesets','_docTransformIMECacheService','onRendered','translate(.97)','memberID','transformMutation','send','SNAPSHOT_INVALID_SNAPSHOT','connection\x20error','div','_nDataBytes','origin','_transformSelections','_initRequestHeader','_scene','apply','_transformRemoteChangesetByStateCache','getItem','none','_urlService','round','_draw','transformByState','salt','copyFileMeta','key','sheets','purple300','awaiting_with_pending','_clearTimeoutTimer','_onRemoteRetry','_roomMembers','getMemberID','getSheetId','status','file','_localCacheService','blue400','_getAPIPrefix','_fetchMissChangesets','createSocket','measureText','UNKNOWN_CMD','_ensureSubject','call','close','rev','collaboration_new_changeset','_status$','max','signUrlServerUrl','_socket','JOINING','onSyncEditingCollabCursor','LIVESHARE_FETCH_OPERATIONS','_initStatusListener','url(#on-line-single_clip0_910_349)','/allowed','_event$','_handleEvent','unit','HttpExport','Base64','userID','getUnitId','_clearUndo','setAlpha','_tryReconnect','words','commentUpdateEvent','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','5586305nTHWNU','registerOnClose','_onCombEvent','_updateSubUnitFromURLParams','enableAuthServer','reconnect','_getAPIPrefixPath','FETCH_MISSING','_substituteRedoStack','image/jpg','_roomMembers$','ERROR_EXCEED_SIZE','SEND_CHANGESET_TIMEOUT','_onConflict','awaitingChangeset','getActiveRange','getOwnPropertySymbols','_updateState','_schedule','_collabSessionService','_showConflictNotification','stopTime','_updateCollabCursors','pauseCollaboration','LICENSE_DISTRO_REJECTED','AWAITING_WITH_PENDING','collab-client.tooltip.reconnect','toRgbString','default','UNIVER_COLLABORATION_CLIENT_PLUGIN','SNAPSHOT_HAS_BEEN_REMOVED','InsertColCommandId','$super','_onCursorDelete','getUnitType','_removeRoom','UnitSnapshot','setTimeout','getCurrentRevOfUnit','4ovFYnh','_changesetSessionId','c1Prime','findNodePositionByCharIndex','onCommandExecuted','urlChange$','subunit','arc','_registerRenderDependencies','[FetchMissState]','updatePermissionPoint','failed\x20to\x20apply\x20missed\x20changesets!','_labelPosition','_setupBeforeClosingHandler','_timeoutTimer','fetchThroughInterceptors','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','onMissedChangesetFetched','setParam','_sessions','{fileID}','_name','pluginName','LICENSE_EXPORT_SIZE_EXCEEDED','font','off-line-single_clip0_910_343','status$','registerRefRange','red300','lib','currentColor','HMAC','concat','doc.mutation.rich-text-editing','/resources','_state$','getUnit','subscribe','_toggleOnline','open$','_changesetReqId','onRemoteRej','subscribeEvent','_submitChangeset','1em','editing\x20status\x20changed\x20to','save','sin','on-line-single','Cipher','LOGIN_URL_KEY','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_mode','CHANGESET_SHOULD_RETRY','Pkcs7','741544yGRDdj','/new_changes','_startCollaboration','join','not_collab','_unitStatus','_members','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','removeParam','_beforeCloseService','getAllMembers','[CollaborationEntity]','AWAITING','_onConnectionOpen','beginPath','_transformPreviousActiveRange','collabStatus.synced','listRoles','propertyIsEnumerable','_textBubble','undoState','SNAPSHOT_URL_KEY','transformChangesets','getRelativeToViewportCoord','_getSnapshotAPIPrefix','skeleton','currentSkeleton$','RemoveRowCommandId','_docStateChangeManagerService','HELLO','redoState','onTransformRemoteChangesetByIMECache','APPLY_DUPLICATED','getUnhiddenWorksheets','ERROR_IMAGE_TYPE','enableSingleActiveInstanceLock','_getRedoStack','focused$','UNKNOWN_CODE','_onMessage','/object','_stopTelemetryCollaborationNewChangeset','getUnitStatus$','TEXT','url(#off-line-single_clip0_910_343)','csRejEvent','_id','create','_messageService','history','joinEvent','algo','replaceTextRanges','16893jaKrrK','socket\x20close','setCurrentUser','_disabled','&to=','_isPermissionRej','exhaustSavingTask','addObject','_createSocket','_collabCursorState$','/universer-api/snapshot/','_commandService','ENSURE_SNAPSHOT_EXECUTION','repeat','trim','idSuffix','_undoStacks','snapshotServerUrl','CONFLICT','find','changesets','registerHTTPInterceptor','newValue','_send','ivSize','UNIVER_DOC','Utf8','getCurrentSelections','_getAnchorBounding','StreamCipher','originalMeta','min','_httpService','APPLY_REJECT','NO_OTHER_CLIENTS_EDITING','_getUploadFileURL','_sendingTimer','with','Latin1','tag','LIVESHARE_NEW_HOST','now','indexOf','fillText','_sender','unit-cache-','_telemetryInfo','popstate','SNAPSHOT_SERVER_URL_KEY','location','keySize','_initDependencies','fromCharCode','setUndoRedoMutationParamsCache','finalize','/rev/','method','mode','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','includes','RemoveColCommandId','clamp','_scheduleSaving','MD5','actions','/-/object/-/batch_allowed','onTransformState','jiqing500','_initCommandExecutedListener','_resendTimer','collab-text-range-','debug','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_getCurrentRevision','headers','cfg','DeleteRangeMoveUpCommandId','_cursorShapes','appendMutation','_toggleOffline','/role','_updateStatus','reduce','LIVESHARE_REQUEST_HOST','conflict','getOwnPropertyDescriptor','_transformUndoRedoStack','uni.network.url-service','replace','Error','_throwTelemetryCollaborationNewChangeset','session.room-full','UNIVER_PROJECT','_scheduleClearOtherTimer','object','_retryCount','_getUndoStack','InsertRangeMoveDownCommandId','UPDATE_PERMISSION_OBJ','getValue','_updateURLWithCurrentState','[CollaborationSession]','_cursors','displayName','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','href','POST','/universer-api/file/{fileID}/sign-url','transformStateCache','map','catch','loadOfflineData','_drawTextRange','deepClone','_loadDoc','NOT_COLLAB','baseRev','updateOfflineData','_getSignURL','COMPRESS_MUTATION_APPLY','src','collaborators','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_collaborationTimeoutTimer','_transitionLocked','fetchMiss','getViewport','isActive','_cipher','reverse','getImageSourceCache','_onOffline','sessionStatus','_docSkeleton','current','equals','pipe','sheetID','session','/object/','textRanges'];_0x3441=function(){return _0x5050ed;};return _0x3441();}let mt=class{constructor(_0x1ce172,_0x1a504e,_0x2c66b9){const _0x252026=_0x29204f;this['_injector']=_0x1ce172,this[_0x252026(0x4a1)]=_0x1a504e,this[_0x252026(0x4bc)]=_0x2c66b9;}[_0x29204f(0x2f3)](_0x3ea60a){const _0xcd5820=_0x29204f;var _0x49a348,_0x295f68,_0x39f10a,_0x1dfb4a;const _0x53dac5=this[_0xcd5820(0x501)][_0xcd5820(0x19e)](_0x4aa850),{unitId:_0x239b44,subUnitId:_0x251bf0}=to(_0x3ea60a),_0xf1caa1=_0x53dac5['getWorkbookSelections'](_0x239b44)[_0xcd5820(0x3ea)](),_0x335fde=(_0x295f68=(_0x49a348=this[_0xcd5820(0x4bc)][_0xcd5820(0x387)](_0x239b44))==null?void 0x0:_0x49a348[_0xcd5820(0x52d)]())==null?void 0x0:_0x295f68[_0xcd5820(0x316)]();if(_0xf1caa1[_0xcd5820(0x2f0)]===0x0||!_0x239b44||!_0x251bf0)return;const _0x2c91af=[{'id':_0xac4f86['id'],'params':{'unitId':_0x239b44,'subUnitId':_0x335fde,'selections':_0x572bca['deepClone'](_0xf1caa1)}}],_0x3a4aea=this[_0xcd5820(0x4a1)][_0xcd5820(0x28d)](_0x3ea60a,_0x2c91af);if(!_0x15601c(_0x3a4aea))throw _0x3a4aea[_0xcd5820(0x5a3)];const _0x15fc7a=(_0x1dfb4a=(_0x39f10a=_0x3a4aea[_0xcd5820(0x4ee)][0x0])==null?void 0x0:_0x39f10a[_0xcd5820(0x499)])==null?void 0x0:_0x1dfb4a[_0xcd5820(0x479)];if(Array[_0xcd5820(0x212)](_0x15fc7a)&&_0x15fc7a[_0xcd5820(0x2f0)]){if(_0x15fc7a[_0xcd5820(0x2f0)]===_0x2c91af[0x0][_0xcd5820(0x499)][_0xcd5820(0x479)][_0xcd5820(0x2f0)]&&_0x15fc7a[_0xcd5820(0x1c7)]((_0x49aae6,_0x30d547)=>_0x580a72[_0xcd5820(0x456)](_0x49aae6['range'],_0x2c91af[0x0]['params'][_0xcd5820(0x479)][_0x30d547][_0xcd5820(0x4a8)])))return;this[_0xcd5820(0x501)][_0xcd5820(0x19e)](_0x1f9396)['executeCommand'](_0xac4f86['id'],{'unitId':_0x239b44,'subUnitId':_0x335fde,'selections':_0x15fc7a});}}};mt=eo([Mt(0x0,_0x31a227(_0x3ada64)),Mt(0x1,_0x5f49ec),Mt(0x2,_0x1a11e5)],mt);const yt=_0x230979('univer-pro.collaboration-client.single-active-unit-service');var Di=(_0x16f486=>(_0x16f486[_0x16f486['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x29204f(0x3f1),_0x16f486[_0x16f486[_0x29204f(0x561)]=0x1]=_0x29204f(0x561),_0x16f486))(Di||{});const ks=0x7530,Ws=_0x29204f(0x1d0);class so extends _0x2a7347{constructor(){const _0x210fd2=_0x29204f;super(),g(this,_0x210fd2(0x3c8),_0x572bca[_0x210fd2(0x584)]()),g(this,_0x210fd2(0x1ed),new Set()),g(this,'_unitOnClients',new Map()),g(this,'_heartbeatTimer',null),g(this,'_clearOtherTimers',new Map()),g(this,'_unitStatus',new Map()),this[_0x210fd2(0x4ae)]();}[_0x29204f(0x1db)](){const _0x462e82=_0x29204f;super['dispose'](),this[_0x462e82(0x4a3)][_0x462e82(0x4a0)]((_0x50e72f,_0x2d40d5)=>this[_0x462e82(0x1be)](_0x2d40d5)),this[_0x462e82(0x201)]&&window[_0x462e82(0x198)](this[_0x462e82(0x201)]);}[_0x29204f(0x3c4)](_0x533cac){const _0x961f25=_0x29204f;return this[_0x961f25(0x320)](_0x533cac)[_0x961f25(0x457)](_0x50bbac());}[_0x29204f(0x21c)](_0x4f0025){const _0x3f00cb=_0x29204f;this[_0x3f00cb(0x1ed)]['size']===0x0&&this[_0x3f00cb(0x531)](),this[_0x3f00cb(0x1ed)]['add'](_0x4f0025),this[_0x3f00cb(0x3e6)]({'type':0x0,'memberID':this[_0x3f00cb(0x3c8)],'unitIDs':[_0x4f0025],'isForwarded':!0x1});}[_0x29204f(0x1d6)](_0x15dce4){const _0x56eee6=_0x29204f;this[_0x56eee6(0x1ed)][_0x56eee6(0x204)](_0x15dce4),this[_0x56eee6(0x1ed)][_0x56eee6(0x48a)]===0x0&&this['_heartbeatTimer']&&window[_0x56eee6(0x198)](this[_0x56eee6(0x201)]);}[_0x29204f(0x4ae)](){const _0x1895a5=_0x29204f;this[_0x1895a5(0x1ba)](_0x239c52(_0x43007f(window,'storage')[_0x1895a5(0x388)](_0x509448=>{const _0x367f43=_0x1895a5;if(_0x509448[_0x367f43(0x30e)]!==Ws||!_0x509448[_0x367f43(0x3e5)])return;const _0x563a4b=JSON[_0x367f43(0x23a)](_0x509448['newValue']);this[_0x367f43(0x330)](_0x563a4b);}))),window[_0x1895a5(0x281)](_0x1895a5(0x2c0),()=>this['_send']({'type':0x1,'memberID':this[_0x1895a5(0x3c8)],'unitIDs':Array['from'](this[_0x1895a5(0x1ed)])}));}[_0x29204f(0x330)](_0x35be6c){const _0xfab6e3=_0x29204f;switch(_0x35be6c[_0xfab6e3(0x267)]){case 0x0:this[_0xfab6e3(0x1e5)](_0x35be6c);break;case 0x1:this['_handleLeaveEvent'](_0x35be6c);break;case 0x2:this[_0xfab6e3(0x51f)](_0x35be6c);break;}}[_0x29204f(0x1e5)](_0x43fd8f){const _0x5df6b3=_0x29204f,{unitIDs:_0x4dbca2,memberID:_0x2963db,isForwarded:_0x2cbb02}=_0x43fd8f;_0x4dbca2[_0x5df6b3(0x4a0)](_0x1d1cb7=>{const _0x48fd95=_0x5df6b3;if(!_0x2cbb02&&this['_unitOnClients'][_0x48fd95(0x246)](_0x1d1cb7)&&this[_0x48fd95(0x320)](_0x1d1cb7)[_0x48fd95(0x27a)](0x1),!this[_0x48fd95(0x55d)][_0x48fd95(0x246)](_0x1d1cb7)||!this[_0x48fd95(0x55d)][_0x48fd95(0x19e)](_0x1d1cb7)[_0x48fd95(0x246)](_0x2963db)){const _0x4978aa=this[_0x48fd95(0x55d)][_0x48fd95(0x19e)](_0x1d1cb7)||new Set();_0x4978aa[_0x48fd95(0x525)](_0x2963db),this['_unitOnClients'][_0x48fd95(0x4b7)](_0x1d1cb7,_0x4978aa),this[_0x48fd95(0x42c)](_0x2963db);}}),_0x2cbb02||this[_0x5df6b3(0x3e6)]({'type':0x0,'memberID':this[_0x5df6b3(0x3c8)],'unitIDs':[...this[_0x5df6b3(0x1ed)]],'isForwarded':!0x0});}[_0x29204f(0x42c)](_0x436fba){const _0xbacb05=_0x29204f;this[_0xbacb05(0x1be)](_0x436fba);const _0x685dae=window[_0xbacb05(0x361)](()=>{const _0x149fa0=_0xbacb05;this[_0x149fa0(0x55d)][_0x149fa0(0x4a0)](_0x1f6b81=>{const _0x559318=_0x149fa0;_0x1f6b81[_0x559318(0x204)](_0x436fba);});},ks*0x2);this[_0xbacb05(0x4a3)][_0xbacb05(0x4b7)](_0x436fba,_0x685dae);}[_0x29204f(0x1be)](_0x50df52){const _0x10278f=_0x29204f;if(this[_0x10278f(0x4a3)][_0x10278f(0x246)](_0x50df52)){const _0x308500=this['_clearOtherTimers'][_0x10278f(0x19e)](_0x50df52);_0x308500&&window[_0x10278f(0x276)](_0x308500),this[_0x10278f(0x4a3)][_0x10278f(0x4b7)](_0x50df52,null);}}['_handleLeaveEvent'](_0x5e104e){const _0x5ab437=_0x29204f,{memberID:_0xaf0977,unitIDs:_0x2ad056}=_0x5e104e;_0x2ad056[_0x5ab437(0x4a0)](_0x596253=>{const _0x543751=_0x5ab437;var _0x37578c;const _0x54e1ff=this[_0x543751(0x55d)]['get'](_0x596253);_0x54e1ff&&(_0x54e1ff[_0x543751(0x204)](_0xaf0977),(_0x37578c=this[_0x543751(0x320)](_0x596253))==null||_0x37578c[_0x543751(0x27a)](_0x54e1ff[_0x543751(0x48a)]===0x0?0x0:0x1));}),this[_0x5ab437(0x1be)](_0xaf0977);}[_0x29204f(0x51f)](_0x4fd82b){const _0x476dd6=_0x29204f;this[_0x476dd6(0x42c)](_0x4fd82b['memberID']);}['_send'](_0x439434){const _0x21f5c5=_0x29204f;localStorage[_0x21f5c5(0x512)](Ws,JSON[_0x21f5c5(0x4bf)](_0x439434));}['_scheduleHeartbeat'](){const _0x38f796=_0x29204f;this['_heartbeatTimer']=window[_0x38f796(0x4fa)](()=>{const _0x59063b=_0x38f796;this['_send']({'type':0x2,'memberID':this[_0x59063b(0x3c8)]});},ks);}[_0x29204f(0x320)](_0x446f4d){const _0x425f34=_0x29204f;return this[_0x425f34(0x39f)][_0x425f34(0x246)](_0x446f4d)||this[_0x425f34(0x39f)][_0x425f34(0x4b7)](_0x446f4d,new _0x4d53e2(0x0)),this[_0x425f34(0x39f)][_0x425f34(0x19e)](_0x446f4d);}}var io=Object['defineProperty'],no=Object[_0x29204f(0x424)],ro=(_0x499d33,_0x12d2f6,_0x53ab,_0x5e5568)=>{for(var _0x52612c=_0x5e5568>0x1?void 0x0:_0x5e5568?no(_0x12d2f6,_0x53ab):_0x12d2f6,_0x26af6b=_0x499d33['length']-0x1,_0x4fdc42;_0x26af6b>=0x0;_0x26af6b--)(_0x4fdc42=_0x499d33[_0x26af6b])&&(_0x52612c=(_0x5e5568?_0x4fdc42(_0x12d2f6,_0x53ab,_0x52612c):_0x4fdc42(_0x52612c))||_0x52612c);return _0x5e5568&&_0x52612c&&io(_0x12d2f6,_0x53ab,_0x52612c),_0x52612c;},xt=(_0x2bde33,_0x4eedb8)=>(_0x265a22,_0x29f621)=>_0x4eedb8(_0x265a22,_0x29f621,_0x2bde33);let pt=class{constructor(_0x261745,_0x2d4f49,_0x38777a){const _0x4dbc4c=_0x29204f;this['_injector']=_0x261745,this[_0x4dbc4c(0x4a1)]=_0x2d4f49,this[_0x4dbc4c(0x3b6)]=_0x38777a;}['transformStateCache'](_0x5cbb50){const _0x4c81c5=_0x29204f;this[_0x4c81c5(0x497)](_0x5cbb50);}['transformRemoteChangeset'](_0x44f2cc){const _0x3194ad=_0x29204f,{unitID:_0x3ee229}=_0x44f2cc,{collaboration:_0xb3ecaf}=this[_0x3194ad(0x3b6)]['getStateCache'](_0x3ee229);if(_0xb3ecaf[_0x3194ad(0x2f0)]===0x0)return _0x44f2cc;let _0x3d28d3=_0x572bca['deepClone'](_0x44f2cc[_0x3194ad(0x1b7)][0x0]);for(let _0x39de33=0x0;_0x39de33<_0xb3ecaf[_0x3194ad(0x2f0)];_0x39de33++){const _0xf5f9d2={'id':_0x3194ad(0x384),'params':{'unitId':_0xb3ecaf[_0x39de33][_0x3194ad(0x1fb)],..._0xb3ecaf[_0x39de33][_0x3194ad(0x3b8)]}},_0x18b92f=this[_0x3194ad(0x4a1)]['transformMutation'](_0x3d28d3,_0xf5f9d2,!0x1);if(_0x3a6c5b(_0x18b92f))throw _0x18b92f[_0x3194ad(0x5a3)];_0x3d28d3=_0x18b92f['m1Prime'];}return{..._0x572bca[_0x3194ad(0x440)](_0x44f2cc),'mutations':[_0x3d28d3]};}['_transformHistoryAndStateStack'](_0x389d82){const _0x46cb6f=_0x29204f,{unitID:_0x5af948}=_0x389d82,{history:_0x4a279d,collaboration:_0x5bd0fa}=this[_0x46cb6f(0x3b6)][_0x46cb6f(0x248)](_0x5af948);if(_0x4a279d[_0x46cb6f(0x2f0)]===0x0&&_0x5bd0fa[_0x46cb6f(0x2f0)]===0x0)return;const _0x1c556f=[],_0x4d1337=[];let _0x1dde24=_0x572bca[_0x46cb6f(0x440)](_0x389d82['mutations'][0x0]),_0x153b2f=_0x572bca[_0x46cb6f(0x440)](_0x389d82[_0x46cb6f(0x1b7)][0x0]);for(let _0x1752db=_0x4a279d[_0x46cb6f(0x2f0)]-0x1;_0x1752db>=0x0;_0x1752db--){const _0x581b53={'id':_0x46cb6f(0x384),'params':{'unitId':_0x4a279d[_0x1752db]['unitId'],..._0x4a279d[_0x1752db][_0x46cb6f(0x3ae)]}},_0x23a22a={'id':_0x46cb6f(0x384),'params':{'unitId':_0x4a279d[_0x1752db]['unitId'],..._0x4a279d[_0x1752db][_0x46cb6f(0x3b8)]}},_0x20dcf5=this['_transformService'][_0x46cb6f(0x2fa)](_0x1dde24,_0x581b53,!0x1),_0x3c3d73=this[_0x46cb6f(0x4a1)][_0x46cb6f(0x2fa)](_0x153b2f,_0x23a22a,!0x1);if(_0x3a6c5b(_0x20dcf5))throw _0x20dcf5[_0x46cb6f(0x5a3)];if(_0x3a6c5b(_0x3c3d73))throw _0x3c3d73[_0x46cb6f(0x5a3)];_0x1c556f[_0x46cb6f(0x2df)]({..._0x4a279d[_0x1752db],'undoState':_0x20dcf5[_0x46cb6f(0x4ee)][_0x46cb6f(0x499)],'redoState':_0x3c3d73['m2Prime']['params']}),_0x1dde24=_0x20dcf5[_0x46cb6f(0x59d)],_0x153b2f=_0x3c3d73[_0x46cb6f(0x59d)];}_0x1dde24=_0x572bca[_0x46cb6f(0x440)](_0x389d82[_0x46cb6f(0x1b7)][0x0]),_0x153b2f=_0x572bca[_0x46cb6f(0x440)](_0x389d82[_0x46cb6f(0x1b7)][0x0]);for(let _0x44ab21=_0x5bd0fa['length']-0x1;_0x44ab21>=0x0;_0x44ab21--){const _0xb40973={'id':_0x46cb6f(0x384),'params':{'unitId':_0x5bd0fa[_0x44ab21][_0x46cb6f(0x1fb)],..._0x5bd0fa[_0x44ab21]['undoState']}},_0x357d35={'id':_0x46cb6f(0x384),'params':{'unitId':_0x5bd0fa[_0x44ab21]['unitId'],..._0x5bd0fa[_0x44ab21][_0x46cb6f(0x3b8)]}},_0x31cf3d=this[_0x46cb6f(0x4a1)]['transformMutation'](_0x1dde24,_0xb40973,!0x1),_0x3e19fc=this[_0x46cb6f(0x4a1)][_0x46cb6f(0x2fa)](_0x153b2f,_0x357d35,!0x1);if(_0x3a6c5b(_0x31cf3d))throw _0x31cf3d[_0x46cb6f(0x5a3)];if(_0x3a6c5b(_0x3e19fc))throw _0x3e19fc['error'];_0x4d1337[_0x46cb6f(0x2df)]({..._0x5bd0fa[_0x44ab21],'undoState':_0x31cf3d[_0x46cb6f(0x4ee)]['params'],'redoState':_0x3e19fc[_0x46cb6f(0x4ee)][_0x46cb6f(0x499)]}),_0x1dde24=_0x31cf3d['m1Prime'],_0x153b2f=_0x3e19fc[_0x46cb6f(0x59d)];}this[_0x46cb6f(0x3b6)][_0x46cb6f(0x1d4)](_0x5af948,{'history':_0x1c556f,'collaboration':_0x4d1337});}};pt=ro([xt(0x0,_0x31a227(_0x3ada64)),xt(0x1,_0x5f49ec),xt(0x2,_0x31a227(_0x4613da))],pt);function Pi(_0x4ab3ef){const _0x4f9e0e=_0x29204f;let _0xc868fb='';for(const _0x36226a of _0x4ab3ef){const {startOffset:_0x2d3db4,endOffset:_0x4f6908,isActive:_0x404944,rangeType:_0x227b11,segmentId:_0x3899b4,segmentPage:_0xc9a953}=_0x36226a;_0xc868fb[_0x4f9e0e(0x2f0)]&&(_0xc868fb+=','),_0xc868fb+=_0x2d3db4+':'+_0x4f6908+':'+(_0x404944?'1':'0')+':'+_0x227b11+':'+_0x3899b4+':'+_0xc9a953;}return _0xc868fb;}function oo(_0x324dd4){const _0x7e2e19=_0x29204f,_0x1ab5a3=_0x324dd4[_0x7e2e19(0x24a)](','),_0x5830d9=[];for(const _0x26bb37 of _0x1ab5a3){const [_0x25fe92,_0x1e00b0,_0x303d1e,_0x404510,_0x5b8a31,_0x31ce03]=_0x26bb37['split'](':');_0x5830d9[_0x7e2e19(0x523)]({'startOffset':Number(_0x25fe92),'endOffset':Number(_0x1e00b0),'collapsed':_0x25fe92===_0x1e00b0,'isActive':_0x303d1e==='1','rangeType':_0x404510===_0x362093[_0x7e2e19(0x3c5)]?_0x362093[_0x7e2e19(0x3c5)]:_0x362093['RECT'],'segmentId':typeof _0x5b8a31=='string'?String(_0x5b8a31):'','segmentPage':Number(_0x31ce03!=null?_0x31ce03:-0x1)});}return _0x5830d9[_0x7e2e19(0x4f0)](_0x29e2e4=>_0x29e2e4[_0x7e2e19(0x44e)])||(_0x5830d9[0x0][_0x7e2e19(0x44e)]=!0x0),_0x5830d9;}class Cs extends _0x3823d2{constructor(){const _0x196d54=_0x29204f;super(...arguments),g(this,_0x196d54(0x3d8),new _0x4d53e2(null)),g(this,'collabCursorState$',this[_0x196d54(0x3d8)][_0x196d54(0x1eb)]());}['syncEditingCollabCursor'](_0x5ece52){const _0x2106c4=_0x29204f,{unitID:_0xad6bb1,memberID:_0x11de4f,textRanges:_0x5b48cf}=_0x5ece52,_0x50eb9f=Pi(_0x5b48cf);if(_0x50eb9f==='')return;const _0x3b266b={'unitID':_0xad6bb1,'memberID':_0x11de4f,'selection':_0x50eb9f};this['_collabCursorState$'][_0x2106c4(0x27a)](_0x3b266b);}}var ao=Object[_0x29204f(0x51a)],co=Object[_0x29204f(0x424)],ho=(_0x2d8f3c,_0x1c35ac,_0x1e7742,_0x5b50a5)=>{const _0x401d0a=_0x29204f;for(var _0x2f5a96=_0x5b50a5>0x1?void 0x0:_0x5b50a5?co(_0x1c35ac,_0x1e7742):_0x1c35ac,_0x566b05=_0x2d8f3c[_0x401d0a(0x2f0)]-0x1,_0x55c07d;_0x566b05>=0x0;_0x566b05--)(_0x55c07d=_0x2d8f3c[_0x566b05])&&(_0x2f5a96=(_0x5b50a5?_0x55c07d(_0x1c35ac,_0x1e7742,_0x2f5a96):_0x55c07d(_0x2f5a96))||_0x2f5a96);return _0x5b50a5&&_0x2f5a96&&ao(_0x1c35ac,_0x1e7742,_0x2f5a96),_0x2f5a96;},Fs=(_0x57bc1e,_0x47a643)=>(_0x944379,_0x22c3c5)=>_0x47a643(_0x944379,_0x22c3c5,_0x57bc1e);let gt=class{constructor(_0x4ca4bf,_0x5f24c2){const _0x52b7c1=_0x29204f;this['_injector']=_0x4ca4bf,this[_0x52b7c1(0x4a1)]=_0x5f24c2;}[_0x29204f(0x2f3)](_0xd9ac24){const _0x4d0e12=_0x29204f;var _0x44231f;const _0x5aed4f=this[_0x4d0e12(0x501)][_0x4d0e12(0x19e)](_0x53d45e),_0x3f50cb=(_0x44231f=_0x5aed4f[_0x4d0e12(0x4b6)]())!=null?_0x44231f:[];if(_0x3f50cb[_0x4d0e12(0x2f0)]===0x0)return;const _0x231a8d=[{'id':_0x4d0e12(0x384),'params':{'unitId':_0xd9ac24[_0x4d0e12(0x4a6)],'actions':null,'textRanges':_0x3f50cb}}],_0x432373=this[_0x4d0e12(0x4a1)][_0x4d0e12(0x28d)](_0xd9ac24,_0x231a8d);if(!_0x15601c(_0x432373))throw _0x432373[_0x4d0e12(0x5a3)];const _0x57e9dd=_0x432373[_0x4d0e12(0x4ee)][0x0]['params']['textRanges'];Array[_0x4d0e12(0x212)](_0x57e9dd)&&_0x57e9dd[_0x4d0e12(0x2f0)]&&_0x5aed4f[_0x4d0e12(0x3ce)](_0x57e9dd,!0x1);}};gt=ho([Fs(0x0,_0x31a227(_0x3ada64)),Fs(0x1,_0x5f49ec)],gt);const lo=new Set([_0xf19ec9['id']]);function Vs(_0x324e70,_0x43e739,_0x254992,_0x5c856f,_0xd0cc70){const _0x1e5c36=_0x29204f;var _0xe2b519,_0xb6a5d9,_0x50cd82,_0x524b50;const _0x4907dc=[];for(const _0x4c522c of _0x324e70)if(lo[_0x1e5c36(0x246)](_0x4c522c['id'])){if(_0x4907dc[_0x1e5c36(0x2f0)]>0x0)break;_0x4907dc[_0x1e5c36(0x523)](_0x4c522c);break;}else _0x4907dc[_0x1e5c36(0x523)](_0x4c522c);const _0x240843=(_0xb6a5d9=(_0xe2b519=_0xd0cc70[_0x1e5c36(0x288)]())==null?void 0x0:_0xe2b519['userID'])!=null?_0xb6a5d9:_0x1e5c36(0x4b3),_0x1f2cf3=(_0x524b50=(_0x50cd82=_0xd0cc70['getCurrentUser']())==null?void 0x0:_0x50cd82[_0x1e5c36(0x2f9)])!=null?_0x524b50:_0x1e5c36(0x4b3);return{'changeset':{'unitID':_0x43e739,'type':_0x154b8d(_0x254992[_0x1e5c36(0x35e)](_0x43e739)),'baseRev':_0x5c856f[_0x1e5c36(0x362)](_0x43e739),'revision':0x0,'userID':_0x240843,'memberID':_0x1f2cf3,'mutations':_0x4907dc},'pendingMutations':_0x324e70[_0x1e5c36(0x1e1)](_0x4907dc[_0x1e5c36(0x2f0)])};}function _o(_0x20ce84,_0x5f44ab,_0x326221,_0x508cb9,_0x14bbbe){const _0x281cd3=_0x29204f;var _0x10cc15,_0x88f936,_0x137bb7,_0x102dcf;const _0xa56eff=[_0x20ce84[_0x281cd3(0x421)]((_0x88f06,_0x5cbec7)=>{const _0xf48a49=_0x281cd3;var _0x22866c;const {id:_0x10a7b7}=_0x88f06,{id:_0x13bbf3,type:_0x250c4f}=_0x5cbec7,_0x55414e=(_0x22866c=_0x88f06[_0xf48a49(0x499)])!=null?_0x22866c:{'actions':null},_0x3ab822=_0x5cbec7[_0xf48a49(0x499)];if(_0x10a7b7&&_0x10a7b7!==_0x13bbf3)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x10a7b7+_0xf48a49(0x503)+_0x13bbf3+'.');return{..._0x88f06,'id':_0x13bbf3,'type':_0x250c4f,'params':{'unitId':_0x3ab822[_0xf48a49(0x1fb)],'textRanges':_0x3ab822[_0xf48a49(0x45b)],'actions':_0x4da6d4[_0xf48a49(0x502)](_0x55414e[_0xf48a49(0x40f)],_0x3ab822[_0xf48a49(0x40f)])}};},{})],_0x26aec4=(_0x88f936=(_0x10cc15=_0x14bbbe['getCurrentUser']())==null?void 0x0:_0x10cc15[_0x281cd3(0x334)])!=null?_0x88f936:_0x281cd3(0x4b3),_0x214f5f=(_0x102dcf=(_0x137bb7=_0x14bbbe[_0x281cd3(0x288)]())==null?void 0x0:_0x137bb7['memberID'])!=null?_0x102dcf:'unknown';return{'changeset':{'unitID':_0x5f44ab,'type':_0x154b8d(_0x326221[_0x281cd3(0x35e)](_0x5f44ab)),'baseRev':_0x508cb9[_0x281cd3(0x362)](_0x5f44ab),'revision':0x0,'userID':_0x26aec4,'memberID':_0x214f5f,'mutations':_0xa56eff},'pendingMutations':[]};}function Ui(_0x22e812,_0x2ecc0b){const _0x37589e=_0x29204f,_0x236245=new _0x588c9c(0x1);return setTimeout(()=>_0x236245[_0x37589e(0x27a)](_0x2ecc0b),_0x22e812),_0x236245['asObservable']()[_0x37589e(0x457)](_0x34813f(0x1));}const uo={'id':_0x7e4c57['id'],'type':_0x589e31[_0x29204f(0x2ec)],'params':{}};var fo=Object[_0x29204f(0x51a)],vo=Object['getOwnPropertyDescriptor'],Le=(_0x4a1985,_0x2ec481,_0xc158c1,_0x3b428a)=>{const _0x423ea1=_0x29204f;for(var _0x2bdd12=_0x3b428a>0x1?void 0x0:_0x3b428a?vo(_0x2ec481,_0xc158c1):_0x2ec481,_0x1a142a=_0x4a1985[_0x423ea1(0x2f0)]-0x1,_0x66858a;_0x1a142a>=0x0;_0x1a142a--)(_0x66858a=_0x4a1985[_0x1a142a])&&(_0x2bdd12=(_0x3b428a?_0x66858a(_0x2ec481,_0xc158c1,_0x2bdd12):_0x66858a(_0x2bdd12))||_0x2bdd12);return _0x3b428a&&_0x2bdd12&&fo(_0x2ec481,_0xc158c1,_0x2bdd12),_0x2bdd12;},A=(_0xa2a18c,_0x205d1c)=>(_0x4d6f9c,_0x23989d)=>_0x205d1c(_0x4d6f9c,_0x23989d,_0xa2a18c),J=(_0x427bda=>(_0x427bda['NOT_COLLAB']=_0x29204f(0x39e),_0x427bda[_0x29204f(0x1b6)]=_0x29204f(0x2bb),_0x427bda[_0x29204f(0x2da)]=_0x29204f(0x562),_0x427bda[_0x29204f(0x3a6)]=_0x29204f(0x2f4),_0x427bda[_0x29204f(0x355)]=_0x29204f(0x311),_0x427bda[_0x29204f(0x492)]=_0x29204f(0x1b1),_0x427bda[_0x29204f(0x3e1)]=_0x29204f(0x423),_0x427bda[_0x29204f(0x557)]=_0x29204f(0x234),_0x427bda))(J||{});const Ni=0xea60;class $e{constructor(_0x2b2594,_0x15d797,_0xfcef20,_0x43f03c,_0x2d67f4,_0x550251,_0x33c257,_0x14b830,_0xdaafc8){const _0x327773=_0x29204f;g(this,_0x327773(0x587),null),g(this,_0x327773(0x1d9),[]),(this[_0x327773(0x4a6)]=_0x2b2594,this['type']=_0x15d797,this[_0x327773(0x4ab)]=_0x2d67f4,this[_0x327773(0x3da)]=_0x550251,this[_0x327773(0x4f4)]=_0x33c257,this[_0x327773(0x2b7)]=_0x14b830,this[_0x327773(0x319)]=_0xdaafc8,this[_0x327773(0x587)]=_0xfcef20,this['_pendingMutations']=_0x43f03c);}[_0x29204f(0x19c)](_0x1a378b){const _0x5bd90d=_0x29204f,_0xa9081a=this[_0x5bd90d(0x2b7)][_0x5bd90d(0x362)](this[_0x5bd90d(0x4a6)]);return _0x1a378b[_0x5bd90d(0x29d)]>_0xa9081a+0x1?(this['_handler'][_0x5bd90d(0x2f5)]({'from':_0xa9081a,'to':_0x1a378b[_0x5bd90d(0x29d)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x6cb909){const _0x244bd5=_0x29204f;this[_0x244bd5(0x4f4)][_0x244bd5(0x53d)](this[_0x244bd5(0x4a6)],_0x6cb909);}[_0x29204f(0x301)](_0x3fb1f9){const _0xfaeb6c=_0x29204f;var _0x274bcd,_0x7ab107;(_0x7ab107=(_0x274bcd=this['_handler'])[_0xfaeb6c(0x53e)])==null||_0x7ab107[_0xfaeb6c(0x321)](_0x274bcd,_0x3fb1f9);}[_0x29204f(0x473)](_0x3a9e16){const _0x5c28e=_0x29204f;var _0x45a19b,_0x560a17;return(_0x560a17=(_0x45a19b=this['_handler'])[_0x5c28e(0x2c9)])==null?void 0x0:_0x560a17[_0x5c28e(0x321)](_0x45a19b,_0x3a9e16);}[_0x29204f(0x2a0)](_0x3a98e1){const _0xafedc0=_0x29204f;var _0x1cb6d7,_0x278e32;return(_0x278e32=(_0x1cb6d7=this[_0xafedc0(0x4ab)])[_0xafedc0(0x411)])==null?void 0x0:_0x278e32[_0xafedc0(0x321)](_0x1cb6d7,_0x3a98e1);}[_0x29204f(0x199)](_0x454737){const _0x3a4329=_0x29204f;var _0x372984,_0x552d26,_0x179075;return(_0x179075=(_0x552d26=(_0x372984=this[_0x3a4329(0x4ab)])[_0x3a4329(0x3b9)])==null?void 0x0:_0x552d26[_0x3a4329(0x321)](_0x372984,_0x454737))!=null?_0x179075:_0x454737;}[_0x29204f(0x305)](_0x33c1da){const _0x473ee8=_0x29204f;var _0x30b802,_0x2f3075,_0x35a0fc;return(_0x35a0fc=(_0x2f3075=(_0x30b802=this[_0x473ee8(0x4ab)])[_0x473ee8(0x55e)])==null?void 0x0:_0x2f3075[_0x473ee8(0x321)](_0x30b802,_0x33c1da))!=null?_0x35a0fc:_0x33c1da;}[_0x29204f(0x2ac)](_0xcb0dbb){const _0x576447=_0x29204f;var _0x166072,_0x44e356;if(this['type']===ce['UNIVER_DOC']){const {unitID:_0x30b5e8,mutations:_0x125e67,memberID:_0x4504fb}=_0xcb0dbb,_0x79924d=_0x125e67[0x0]['params'][_0x576447(0x45b)];Array[_0x576447(0x212)](_0x79924d)&&_0x79924d[_0x576447(0x2f0)]>0x0&&((_0x44e356=(_0x166072=this[_0x576447(0x4ab)])[_0x576447(0x32a)])==null||_0x44e356[_0x576447(0x321)](_0x166072,{'unitID':_0x30b5e8,'memberID':_0x4504fb,'textRanges':_0x79924d}));}}[_0x29204f(0x2a5)](){const _0x4f7338=_0x29204f;this[_0x4f7338(0x319)][_0x4f7338(0x444)](this[_0x4f7338(0x4a6)],this[_0x4f7338(0x267)],this[_0x4f7338(0x587)],this[_0x4f7338(0x1d9)]);}[_0x29204f(0x418)](){const _0x49f9f5=_0x29204f;return this[_0x49f9f5(0x2b7)][_0x49f9f5(0x362)](this['unitID']);}[_0x29204f(0x287)](){const _0x354846=_0x29204f;this['_revisionService'][_0x354846(0x23b)](this[_0x354846(0x4a6)]);}[_0x29204f(0x4cc)](_0x2d9b98){const _0x3f1edc=_0x29204f;var _0x407374;let _0x529896=this[_0x3f1edc(0x199)](_0x2d9b98);_0x529896=this[_0x3f1edc(0x305)](_0x529896);const _0x2828c4=_0x416da5(_0x529896[_0x3f1edc(0x1b7)],this[_0x3f1edc(0x3da)],{'fromCollab':!0x0});if(!_0x2828c4[_0x3f1edc(0x2a4)])throw _0x2828c4[_0x3f1edc(0x5a3)]instanceof Error?_0x2828c4['error']:new Error((_0x407374=_0x2828c4['error'])!=null?_0x407374:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x529896),this[_0x3f1edc(0x2a0)](_0x529896),this[_0x3f1edc(0x29c)](_0x2d9b98),this['_transformSelections'](_0x529896),this['_syncEditingCollabCursor'](_0x529896),this[_0x3f1edc(0x287)]();}}let Fe=class extends $e{constructor(_0x165971,_0x43c6e1,_0x15a87a,_0x106624,_0x35bb4d,_0x58ee7d,_0x3de607,_0x3e8a12,_0x1b6d7e,_0x349971){const _0x2ba318=_0x29204f;super(_0x165971,_0x43c6e1,null,[],_0x15a87a,_0x3e8a12,_0x3de607,_0x106624,_0x35bb4d),g(this,_0x2ba318(0x317),_0x2ba318(0x2bb)),(this[_0x2ba318(0x501)]=_0x58ee7d,this[_0x2ba318(0x1a4)]=_0x1b6d7e,this['_transformService']=_0x349971);}[_0x29204f(0x41d)](_0x2aa0b5){const _0x5416f4=_0x29204f,_0x4781db=this[_0x5416f4(0x501)][_0x5416f4(0x49e)](pe,this[_0x5416f4(0x4a6)],this[_0x5416f4(0x267)],[_0x2aa0b5],this[_0x5416f4(0x4ab)]);return _0x4781db['_schedule'](),_0x4781db[_0x5416f4(0x2a5)](),_0x4781db;}[_0x29204f(0x2f1)](_0x295b0b){const _0x2f6e06=_0x29204f;if(this[_0x2f6e06(0x19c)](_0x295b0b))return this[_0x2f6e06(0x501)][_0x2f6e06(0x49e)](he,this[_0x2f6e06(0x4a6)],this[_0x2f6e06(0x267)],null,[],null,[_0x295b0b],this[_0x2f6e06(0x4ab)]);try{const _0x5d674b=this[_0x2f6e06(0x4a1)]['transformMutationsWithChangeset'](_0x295b0b,[uo]);if(_0x15601c(_0x5d674b)){const {c1Prime:_0xf54b24}=_0x5d674b;return this[_0x2f6e06(0x4cc)](_0xf54b24),this;}throw _0x5d674b[_0x2f6e06(0x5a3)];}catch(_0x965109){return this[_0x2f6e06(0x1a4)][_0x2f6e06(0x5a3)](_0x965109),this['_onConflict'](!0x1);}}[_0x29204f(0x349)](_0x17f81c){const _0x44d3e0=_0x29204f;return this[_0x44d3e0(0x501)]['createInstance'](Re,this[_0x44d3e0(0x4a6)],this['type'],null,[],this[_0x44d3e0(0x4ab)],_0x17f81c);}[_0x29204f(0x291)](){const _0xc76850=_0x29204f;throw new Error(_0xc76850(0x495));}[_0x29204f(0x38c)](){const _0x205d0a=_0x29204f;throw new Error(_0x205d0a(0x1f1));}[_0x29204f(0x558)](){return this;}[_0x29204f(0x4ef)](){const _0x301f1e=_0x29204f;return this[_0x301f1e(0x501)][_0x301f1e(0x49e)](ye,this[_0x301f1e(0x4a6)],this[_0x301f1e(0x267)],null,[],this['_handler']);}[_0x29204f(0x23c)](){return this;}[_0x29204f(0x19f)](){const _0x4db32b=_0x29204f;throw new Error(_0x4db32b(0x396));}[_0x29204f(0x44c)](){const _0x433115=_0x29204f,_0xe28e08=this[_0x433115(0x2b7)]['getCurrentRevOfUnit'](this[_0x433115(0x4a6)]);return this['_handler'][_0x433115(0x2f5)]({'from':_0xe28e08,'to':0x0}),this[_0x433115(0x501)]['createInstance'](he,this[_0x433115(0x4a6)],this[_0x433115(0x267)],null,[],null,[],this[_0x433115(0x4ab)]);}};Fe=Le([A(0x3,_0x31a227(_0xbf5b42)),A(0x4,_0x31a227(q)),A(0x5,_0x31a227(_0x3ada64)),A(0x6,_0x2d7dca),A(0x7,_0x1f9396),A(0x8,_0x15baf7),A(0x9,_0x5f49ec)],Fe);let pe=class extends $e{constructor(_0x32da8e,_0x39ca43,_0x4ceda8,_0x3cdc37,_0x32782f,_0x298066,_0x287d20,_0xfbdb00,_0x4c12c9,_0x2930a3,_0x137149,_0x5e00e4,_0xb66772,_0x4d6a6f){const _0x517a8b=_0x29204f;super(_0x32da8e,_0x39ca43,null,_0x4ceda8,_0x3cdc37,_0x2930a3,_0x4d6a6f,_0x298066,_0x287d20),g(this,_0x517a8b(0x317),_0x517a8b(0x562)),g(this,'_scheduleTimestamp',null),g(this,_0x517a8b(0x3f3),null),(this[_0x517a8b(0x501)]=_0x32782f,this[_0x517a8b(0x1c8)]=_0xfbdb00,this['_logService']=_0x4c12c9,this[_0x517a8b(0x2d6)]=_0x137149,this[_0x517a8b(0x4a1)]=_0x5e00e4,this[_0x517a8b(0x472)]=_0xb66772);}[_0x29204f(0x41d)](_0x255d61){const _0x168dca=_0x29204f;return this[_0x168dca(0x1d9)][_0x168dca(0x523)](_0x255d61),this['_updateLocalCache'](),this;}[_0x29204f(0x2f1)](_0x395abe){const _0x7e7bc6=_0x29204f;if(this[_0x7e7bc6(0x19c)](_0x395abe))return this[_0x7e7bc6(0x47f)](),this[_0x7e7bc6(0x501)][_0x7e7bc6(0x49e)](he,this['unitID'],this[_0x7e7bc6(0x267)],null,this[_0x7e7bc6(0x1d9)],null,[_0x395abe],this[_0x7e7bc6(0x4ab)]);try{const _0xf7cffe=this[_0x7e7bc6(0x4a1)][_0x7e7bc6(0x28d)](_0x395abe,this[_0x7e7bc6(0x1d9)]);if(_0x15601c(_0xf7cffe)){const {c1Prime:_0x38265c,m2Prime:_0x29b2d1}=_0xf7cffe;this[_0x7e7bc6(0x4cc)](_0x38265c);const _0x1f309d=this['_injector']['createInstance'](pe,this['unitID'],this['type'],_0x29b2d1,this[_0x7e7bc6(0x4ab)]);return this[_0x7e7bc6(0x47f)](),_0x1f309d[_0x7e7bc6(0x34e)](this['_scheduleTimestamp']?Math[_0x7e7bc6(0x326)](0x0,new Date()[_0x7e7bc6(0x4f6)]()-this[_0x7e7bc6(0x1e4)]):this[_0x7e7bc6(0x4a2)]()),_0x1f309d;}throw _0xf7cffe[_0x7e7bc6(0x5a3)];}catch(_0x548bbb){return this[_0x7e7bc6(0x1a4)]['error'](_0x548bbb),this[_0x7e7bc6(0x349)](!0x1);}}[_0x29204f(0x291)](){const _0x127087=_0x29204f;throw new Error(_0x127087(0x53b));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x29204f(0x4ef)](){const _0x107e97=_0x29204f;return this['_clearScheduledTask'](),this[_0x107e97(0x501)]['createInstance'](ye,this[_0x107e97(0x4a6)],this[_0x107e97(0x267)],null,this[_0x107e97(0x1d9)],this[_0x107e97(0x4ab)]);}['toggleOnline'](){return this;}['_schedule'](_0x4bc280){const _0x3bf188=_0x29204f,_0xf6b227=_0x4bc280!=null?_0x4bc280:this[_0x3bf188(0x4a2)]();this[_0x3bf188(0x1e4)]=new Date()[_0x3bf188(0x4f6)](),this['_sendingTimer']=window[_0x3bf188(0x361)](()=>{const _0x314ee5=_0x3bf188;this[_0x314ee5(0x47f)]();let _0x1d12db=null;switch(this[_0x314ee5(0x267)]){case ce[_0x314ee5(0x27e)]:{_0x1d12db=Vs(this[_0x314ee5(0x1d9)],this[_0x314ee5(0x4a6)],this['_univerInstanceService'],this[_0x314ee5(0x2b7)],this['_memberService']);break;}case ce['UNIVER_DOC']:{this[_0x314ee5(0x1d9)][_0x314ee5(0x1c7)](_0x3c9d56=>_0x3c9d56['id']===_0x4708ca['id'])?_0x1d12db=_o(this[_0x314ee5(0x1d9)],this[_0x314ee5(0x4a6)],this[_0x314ee5(0x472)],this[_0x314ee5(0x2b7)],this['_memberService']):_0x1d12db=Vs(this[_0x314ee5(0x1d9)],this[_0x314ee5(0x4a6)],this['_univerInstanceService'],this[_0x314ee5(0x2b7)],this[_0x314ee5(0x1c8)]);break;}default:throw new Error(_0x314ee5(0x1e0)+this[_0x314ee5(0x267)]+'\x20in\x20_schedule.');}const {changeset:_0x29bd6e,pendingMutations:_0x4b4e56}=_0x1d12db;this[_0x314ee5(0x4ab)][_0x314ee5(0x52f)](_0x29bd6e);const _0xf7463b=_0x4b4e56[_0x314ee5(0x2f0)]?this[_0x314ee5(0x501)][_0x314ee5(0x49e)](ge,this[_0x314ee5(0x4a6)],this[_0x314ee5(0x267)],_0x29bd6e,_0x4b4e56,this[_0x314ee5(0x4ab)],void 0x0):this[_0x314ee5(0x501)][_0x314ee5(0x49e)](Te,this[_0x314ee5(0x4a6)],this[_0x314ee5(0x267)],_0x29bd6e,this[_0x314ee5(0x4ab)]);_0xf7463b['_updateLocalCache'](),this[_0x314ee5(0x4ab)]['onStateChange'](this,_0xf7463b);},_0xf6b227);}[_0x29204f(0x4a2)](){const _0x1aca2b=_0x29204f;var _0x15aa7d;const _0x42da0c=this[_0x1aca2b(0x2d6)][_0x1aca2b(0x4c3)](ie);return(_0x15aa7d=_0x42da0c==null?void 0x0:_0x42da0c[_0x1aca2b(0x2bf)])!=null?_0x15aa7d:cr;}[_0x29204f(0x19f)](){const _0x40ee4c=_0x29204f;throw new Error(_0x40ee4c(0x460));}['_clearScheduledTask'](){const _0x14b98c=_0x29204f;this[_0x14b98c(0x3f3)]!=null&&(clearTimeout(this[_0x14b98c(0x3f3)]),this[_0x14b98c(0x3f3)]=null);}['_onConflict'](_0x1884b4){const _0x35c247=_0x29204f;return this[_0x35c247(0x47f)](),this[_0x35c247(0x501)][_0x35c247(0x49e)](Re,this[_0x35c247(0x4a6)],this[_0x35c247(0x267)],null,this['_pendingMutations'],this['_handler'],_0x1884b4);}};pe=Le([A(0x4,_0x31a227(_0x3ada64)),A(0x5,_0x31a227(_0xbf5b42)),A(0x6,_0x31a227(q)),A(0x7,_0x31a227(Ne)),A(0x8,_0x15baf7),A(0x9,_0x1f9396),A(0xa,_0x1d1963),A(0xb,_0x5f49ec),A(0xc,_0x1a11e5),A(0xd,_0x2d7dca)],pe);let Te=class extends $e{constructor(_0x3de7c1,_0x24b609,_0x16f0eb,_0x183a6b,_0x422909,_0x3a5bc9,_0x371daf,_0x570729,_0x50cbee,_0x15eef1,_0x421eb2){const _0x241367=_0x29204f;super(_0x3de7c1,_0x24b609,_0x16f0eb,[],_0x183a6b,_0x570729,_0x421eb2,_0x3a5bc9,_0x371daf),g(this,_0x241367(0x317),_0x241367(0x2f4)),g(this,'_resendTimeout',0x0),g(this,_0x241367(0x414)),g(this,_0x241367(0x3fb)),(this['_injector']=_0x422909,this[_0x241367(0x1a4)]=_0x50cbee,this['_transformService']=_0x15eef1);}[_0x29204f(0x41d)](_0x72d36e){const _0x3031a8=_0x29204f;this[_0x3031a8(0x47f)]();const _0x1f97d0=this[_0x3031a8(0x501)][_0x3031a8(0x49e)](ge,this[_0x3031a8(0x4a6)],this[_0x3031a8(0x267)],this['_awaitingChangeset'],[_0x72d36e],this[_0x3031a8(0x4ab)],this[_0x3031a8(0x414)]);return _0x1f97d0[_0x3031a8(0x2a5)](),_0x1f97d0;}[_0x29204f(0x2f1)](_0x3b0aec){const _0x5d9676=_0x29204f;if(this[_0x5d9676(0x19c)](_0x3b0aec))return this['_clearScheduledTask'](),this[_0x5d9676(0x501)]['createInstance'](he,this[_0x5d9676(0x4a6)],this[_0x5d9676(0x267)],this[_0x5d9676(0x587)],[],null,[_0x3b0aec],this[_0x5d9676(0x4ab)]);try{const _0x51301c=this[_0x5d9676(0x4a1)][_0x5d9676(0x3b0)]([_0x3b0aec],[this['_awaitingChangeset']],!0x1);if(_0x557c9b(_0x51301c)){const {c1Prime:_0x340db0,c2Prime:_0x1d6035}=_0x51301c;this[_0x5d9676(0x4cc)](_0x340db0[0x0]),_0x1d6035[0x0][_0x5d9676(0x443)]=this['_getCurrentRevision'](),this[_0x5d9676(0x47f)]();const _0x321ef7=this[_0x5d9676(0x501)]['createInstance'](Te,this[_0x5d9676(0x4a6)],this['type'],_0x1d6035[0x0],this[_0x5d9676(0x4ab)]);return _0x321ef7['_updateLocalCache'](),_0x321ef7;}return this[_0x5d9676(0x349)](!0x1);}catch(_0x585c24){return this[_0x5d9676(0x1a4)][_0x5d9676(0x5a3)](_0x585c24),this[_0x5d9676(0x349)](!0x1);}}[_0x29204f(0x291)](_0x1eaf84){const _0x437aa3=_0x29204f;this[_0x437aa3(0x47f)]();const _0x4cc3f9=this[_0x437aa3(0x2b7)]['getCurrentRevOfUnit'](this[_0x437aa3(0x4a6)]);if(_0x1eaf84['revision']<_0x4cc3f9-0x1)return this;if(this[_0x437aa3(0x19c)](_0x1eaf84))return this[_0x437aa3(0x501)][_0x437aa3(0x49e)](he,this[_0x437aa3(0x4a6)],this[_0x437aa3(0x267)],null,[],this[_0x437aa3(0x587)],[],this[_0x437aa3(0x4ab)]);this['_incrementRevisionNumber']();const _0x374763=this[_0x437aa3(0x501)]['createInstance'](Fe,this[_0x437aa3(0x4a6)],this['type'],this[_0x437aa3(0x4ab)]);return _0x374763[_0x437aa3(0x2a5)](),_0x374763;}['onRemoteRej'](_0xfe419c){const _0x4e42d2=_0x29204f;return this[_0x4e42d2(0x349)](!!(_0xfe419c!=null&&_0xfe419c[_0x4e42d2(0x242)]));}[_0x29204f(0x558)](_0x5c67a8){const _0x364544=_0x29204f;return this['_resendTimeout']>Ni?this['toggleOffline']():(this[_0x364544(0x414)]=Ui(this[_0x364544(0x1a8)],{'timeout':this[_0x364544(0x1a8)],'reqId':_0x5c67a8['reqId']}),this['_sender']=this[_0x364544(0x414)][_0x364544(0x388)](({reqId:_0x28a7da,timeout:_0x754e37})=>{const _0x1be2dc=_0x364544;this[_0x1be2dc(0x22f)](_0x28a7da,_0x754e37);}),this);}[_0x29204f(0x4ef)](){const _0x1129dd=_0x29204f;return this[_0x1129dd(0x47f)](),this['_injector'][_0x1129dd(0x49e)](ye,this[_0x1129dd(0x4a6)],this[_0x1129dd(0x267)],this[_0x1129dd(0x587)],[],this[_0x1129dd(0x4ab)]);}['toggleOnline'](){return this;}['resend'](){const _0x1f5664=_0x29204f;this[_0x1f5664(0x4ab)][_0x1f5664(0x52f)](this[_0x1f5664(0x587)]);}['_onConflict'](_0x18e28e){const _0x29e049=_0x29204f;return this['_clearScheduledTask'](),this[_0x29e049(0x501)][_0x29e049(0x49e)](Re,this[_0x29e049(0x4a6)],this[_0x29e049(0x267)],this[_0x29e049(0x587)],[],this['_handler'],_0x18e28e);}['_resendWithTimeout'](_0x109f2e,_0x3b950a){const _0x268481=_0x29204f;var _0x8a7ade;_0x109f2e===((_0x8a7ade=this[_0x268481(0x587)])==null?void 0x0:_0x8a7ade[_0x268481(0x552)])&&(this[_0x268481(0x19f)](),this[_0x268481(0x1a8)]=_0x3b950a===0x0?0x3e8:_0x3b950a*0x2);}[_0x29204f(0x47f)](){const _0x2cfa15=_0x29204f;var _0x42ac00;(_0x42ac00=this[_0x2cfa15(0x3fb)])==null||_0x42ac00[_0x2cfa15(0x2b8)](),this[_0x2cfa15(0x1a8)]=0x0;}};Te=Le([A(0x4,_0x31a227(_0x3ada64)),A(0x5,_0x31a227(_0xbf5b42)),A(0x6,_0x31a227(q)),A(0x7,_0x1f9396),A(0x8,_0x15baf7),A(0x9,_0x5f49ec),A(0xa,_0x2d7dca)],Te);let ge=class extends $e{constructor(_0x25a554,_0x28f4be,_0x3ff24b,_0x475ba6,_0x92b714,_0x574fb9,_0x49805f,_0x4efd8a,_0x1cf387,_0x6fa6a3,_0x4dc222,_0x1fedc5,_0x4474f6){const _0x265bde=_0x29204f;super(_0x25a554,_0x28f4be,_0x3ff24b,_0x475ba6,_0x92b714,_0x6fa6a3,_0x4474f6,_0x4efd8a,_0x1cf387),g(this,_0x265bde(0x317),_0x265bde(0x311)),g(this,'_resendTimeout',0x0),g(this,_0x265bde(0x414)),g(this,_0x265bde(0x3fb)),(this['_injector']=_0x49805f,this['_logService']=_0x4dc222,this['_transformService']=_0x1fedc5,_0x574fb9&&(this[_0x265bde(0x414)]=_0x574fb9,this['_sender']=this[_0x265bde(0x414)]['subscribe'](({reqId:_0xa6f19e,timeout:_0x24d529})=>{const _0x3582ac=_0x265bde;this[_0x3582ac(0x22f)](_0xa6f19e,_0x24d529);})));}[_0x29204f(0x41d)](_0xb7ec7a){const _0x5d44de=_0x29204f;return this[_0x5d44de(0x1d9)]['push'](_0xb7ec7a),this;}[_0x29204f(0x2f1)](_0xdcb92a){const _0x1de4a1=_0x29204f;if(this[_0x1de4a1(0x19c)](_0xdcb92a))return this[_0x1de4a1(0x47f)](),this['_injector'][_0x1de4a1(0x49e)](he,this[_0x1de4a1(0x4a6)],this[_0x1de4a1(0x267)],this[_0x1de4a1(0x587)],this['_pendingMutations'],null,[_0xdcb92a],this[_0x1de4a1(0x4ab)]);try{const _0x37e8ce=this[_0x1de4a1(0x4a1)][_0x1de4a1(0x3b0)]([_0xdcb92a],[this[_0x1de4a1(0x587)]],!0x1);if(_0x557c9b(_0x37e8ce)){const {c1Prime:_0x12d3bd,c2Prime:_0x2aed41}=_0x37e8ce,_0x892a1a=this[_0x1de4a1(0x4a1)][_0x1de4a1(0x28d)](_0x12d3bd[0x0],this['_pendingMutations']);if(_0x15601c(_0x892a1a)){const {c1Prime:_0x4f8d9a,m2Prime:_0x550621}=_0x892a1a;return this[_0x1de4a1(0x4cc)](_0x4f8d9a),_0x2aed41[0x0]['baseRev']=this[_0x1de4a1(0x418)](),this[_0x1de4a1(0x47f)](),this[_0x1de4a1(0x501)]['createInstance'](ge,this[_0x1de4a1(0x4a6)],this[_0x1de4a1(0x267)],_0x2aed41[0x0],_0x550621,this[_0x1de4a1(0x4ab)],void 0x0);}throw _0x892a1a['error'];}throw _0x37e8ce[_0x1de4a1(0x5a3)];}catch(_0x155cf1){return this[_0x1de4a1(0x1a4)][_0x1de4a1(0x5a3)](_0x155cf1),this[_0x1de4a1(0x349)](!0x1);}}[_0x29204f(0x291)](_0x4f4298){const _0x1dfd7c=_0x29204f;if(this['_clearScheduledTask'](),this[_0x1dfd7c(0x19c)](_0x4f4298))return this['_injector']['createInstance'](he,this[_0x1dfd7c(0x4a6)],this[_0x1dfd7c(0x267)],null,this[_0x1dfd7c(0x1d9)],this[_0x1dfd7c(0x587)],[],this[_0x1dfd7c(0x4ab)]);this[_0x1dfd7c(0x287)]();const _0x54c49c=this[_0x1dfd7c(0x501)][_0x1dfd7c(0x49e)](pe,this[_0x1dfd7c(0x4a6)],this[_0x1dfd7c(0x267)],this[_0x1dfd7c(0x1d9)],this[_0x1dfd7c(0x4ab)]);return _0x54c49c[_0x1dfd7c(0x34e)](),_0x54c49c[_0x1dfd7c(0x2a5)](),_0x54c49c;}['onRemoteRej'](_0x3ff5fa){const _0x3b4f22=_0x29204f;return this[_0x3b4f22(0x349)](!!(_0x3ff5fa!=null&&_0x3ff5fa[_0x3b4f22(0x242)]));}[_0x29204f(0x558)](_0x1345a6){const _0x560de2=_0x29204f;return this[_0x560de2(0x1a8)]>Ni?this[_0x560de2(0x4ef)]():(this['_resendTimer']=Ui(this['_resendTimeout'],{'timeout':this[_0x560de2(0x1a8)],'reqId':_0x1345a6[_0x560de2(0x552)]}),this[_0x560de2(0x3fb)]=this[_0x560de2(0x414)][_0x560de2(0x388)](({reqId:_0x4fded7,timeout:_0x1d9a78})=>{const _0x230580=_0x560de2;this[_0x230580(0x22f)](_0x4fded7,_0x1d9a78);}),this);}[_0x29204f(0x4ef)](){const _0x2a8600=_0x29204f;return this[_0x2a8600(0x47f)](),this[_0x2a8600(0x501)][_0x2a8600(0x49e)](ye,this[_0x2a8600(0x4a6)],this['type'],this[_0x2a8600(0x587)],this['_pendingMutations'],this[_0x2a8600(0x4ab)]);}['toggleOnline'](){return this;}['resend'](){const _0x31270f=_0x29204f;this[_0x31270f(0x4ab)][_0x31270f(0x52f)](this[_0x31270f(0x587)]);}[_0x29204f(0x349)](_0x486912){const _0x3d7888=_0x29204f;return this[_0x3d7888(0x47f)](),this[_0x3d7888(0x501)][_0x3d7888(0x49e)](Re,this['unitID'],this[_0x3d7888(0x267)],null,this[_0x3d7888(0x1d9)],this['_handler'],_0x486912);}[_0x29204f(0x22f)](_0x30be30,_0x19d366){const _0x5238ad=_0x29204f;var _0x216027;_0x30be30===((_0x216027=this['_awaitingChangeset'])==null?void 0x0:_0x216027['reqId'])&&(this[_0x5238ad(0x19f)](),this['_resendTimeout']=_0x19d366===0x0?0x3e8:_0x19d366*0x2);}[_0x29204f(0x47f)](){const _0x21988f=_0x29204f;var _0x580fe3;(_0x580fe3=this[_0x21988f(0x3fb)])==null||_0x580fe3[_0x21988f(0x2b8)](),this[_0x21988f(0x1a8)]=0x0;}};ge=Le([A(0x6,_0x31a227(_0x3ada64)),A(0x7,_0x31a227(_0xbf5b42)),A(0x8,_0x31a227(q)),A(0x9,_0x1f9396),A(0xa,_0x15baf7),A(0xb,_0x5f49ec),A(0xc,_0x2d7dca)],ge);let Re=class extends $e{constructor(_0x5652a3,_0x378dd5,_0x637716,_0x4b6bea,_0x1f23f1,_0x249646=!0x1,_0x32cb37,_0x36e325,_0x52a2a4,_0x7e1396,_0x3b15bd,_0x2189f0,_0x29b090){const _0x3aa6b1=_0x29204f;super(_0x5652a3,_0x378dd5,_0x637716,_0x4b6bea,_0x1f23f1,_0x36e325,_0x52a2a4,_0x3b15bd,_0x7e1396),g(this,_0x3aa6b1(0x317),_0x3aa6b1(0x423)),(this['_isPermissionRej']=_0x249646,this['_permissionService']=_0x32cb37,this[_0x3aa6b1(0x1ab)]=_0x2189f0,this['_notificationService']=_0x29b090,this[_0x3aa6b1(0x350)](),this['_clearLocalCache'](),this[_0x3aa6b1(0x1c0)]());}[_0x29204f(0x41d)](){return this;}[_0x29204f(0x2f1)](){return this;}[_0x29204f(0x291)](){return this;}[_0x29204f(0x38c)](){return this;}[_0x29204f(0x558)](){return this;}[_0x29204f(0x4ef)](){return this;}[_0x29204f(0x23c)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x29204f(0x571)](){const _0x1c1522=_0x29204f;this['_localCacheService'][_0x1c1522(0x444)](this[_0x1c1522(0x4a6)],this[_0x1c1522(0x267)],null,[]);}['_showConflictNotification'](){const _0x3a45dd=_0x29204f;this[_0x3a45dd(0x3d4)]?this[_0x3a45dd(0x255)][_0x3a45dd(0x4ad)]({'title':this[_0x3a45dd(0x1ab)]['t'](_0x3a45dd(0x519)),'content':this['_localeService']['t'](_0x3a45dd(0x2e4)),'type':_0x3a45dd(0x5a3),'duration':0x0}):this[_0x3a45dd(0x255)][_0x3a45dd(0x4ad)]({'title':this['_localeService']['t'](_0x3a45dd(0x54f)),'content':this[_0x3a45dd(0x1ab)]['t'](_0x3a45dd(0x539)),'type':_0x3a45dd(0x5a3),'duration':0x0});}[_0x29204f(0x1c0)](){const _0x4120fc=_0x29204f;this['_permissionService'][_0x4120fc(0x36d)](new _0x1a85fe(this[_0x4120fc(0x4a6)])['id'],!0x1);}};Re=Le([A(0x6,_0x31a227(_0x532950)),A(0x7,_0x1f9396),A(0x8,_0x2d7dca),A(0x9,_0x31a227(q)),A(0xa,_0x31a227(_0xbf5b42)),A(0xb,_0x31a227(_0x3da7c2)),A(0xc,_0x1b321d)],Re);let ye=class extends $e{constructor(_0x3f88e1,_0x387d9b,_0x280cf5,_0x3b3f49,_0x167c1b,_0x2111ae,_0x455019,_0x125984,_0x52cc44,_0x222dbd){super(_0x3f88e1,_0x387d9b,_0x280cf5,_0x3b3f49,_0x167c1b,_0x52cc44,_0x222dbd,_0x455019,_0x125984),g(this,'status','offline'),this['_injector']=_0x2111ae;}[_0x29204f(0x41d)](_0x450f24){const _0xc2f3df=_0x29204f;return this['_pendingMutations'][_0xc2f3df(0x523)](_0x450f24),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x13da99){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x29204f(0x291)](){const _0x4f6576=_0x29204f;throw new Error(_0x4f6576(0x211));}[_0x29204f(0x38c)](){const _0x2ac3c0=_0x29204f;throw new Error(_0x2ac3c0(0x19a));}[_0x29204f(0x558)](){return this;}[_0x29204f(0x4ef)](){return this;}[_0x29204f(0x23c)](){const _0x2a00ca=_0x29204f,{_injector:_0x19a0be,_pendingMutations:_0x5d4dc0,_awaitingChangeset:_0x5b2082,unitID:_0x2749f2,_handler:_0xa68b6c,type:_0x244ffe}=this,_0x493063=Ai(_0x19a0be,_0x2749f2,_0x244ffe,_0x5b2082,_0x5d4dc0,_0xa68b6c);return _0x493063 instanceof pe?_0x493063[_0x2a00ca(0x34e)]():(_0x493063 instanceof ge||_0x493063 instanceof Te)&&_0x493063[_0x2a00ca(0x19f)](),_0x493063;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=Le([A(0x5,_0x31a227(_0x3ada64)),A(0x6,_0x31a227(_0xbf5b42)),A(0x7,_0x31a227(q)),A(0x8,_0x1f9396),A(0x9,_0x2d7dca)],ye);let he=class extends $e{constructor(_0x307160,_0xafa6f9,_0x1b6c10,_0x35dbc5,_0x243619,_0x675518,_0x5ae713,_0x4eecab,_0x11e10f,_0x597ca0,_0x6a7194,_0x5cd851,_0x3654b1,_0x600a76){const _0x2f4571=_0x29204f;super(_0x307160,_0xafa6f9,_0x1b6c10,_0x35dbc5,_0x5ae713,_0x5cd851,_0x3654b1,_0x11e10f,_0x597ca0),g(this,'status',_0x2f4571(0x1b1)),(this[_0x2f4571(0x299)]=_0x243619,this[_0x2f4571(0x4d5)]=_0x675518,this['_injector']=_0x4eecab,this[_0x2f4571(0x1a4)]=_0x6a7194,this[_0x2f4571(0x4a1)]=_0x600a76);}[_0x29204f(0x374)](_0x5b1303){const _0x4d2397=_0x29204f;try{const _0x325a94=[..._0x5b1303,...this[_0x4d2397(0x4d5)]],_0x5765db=[this['_awaitingChangeset']||this[_0x4d2397(0x299)]][_0x4d2397(0x279)](_0x7d6229=>!!_0x7d6229);let _0x341f8e,_0xf9c394;if(_0x5765db[_0x4d2397(0x2f0)]){const _0x38e8af=this[_0x4d2397(0x4a1)][_0x4d2397(0x3b0)](_0x325a94,_0x5765db,!0x1);if(!_0x557c9b(_0x38e8af))throw _0x38e8af[_0x4d2397(0x5a3)];_0x341f8e=_0x38e8af[_0x4d2397(0x365)],_0xf9c394=_0x38e8af['c2Prime'];}else _0x341f8e=_0x325a94,_0xf9c394=[];let _0x2acb5b=this[_0x4d2397(0x1d9)];_0x341f8e[_0x4d2397(0x4a0)](_0x4ad7a4=>{const _0x55ecb8=_0x4d2397;let _0x4b8b89;if(_0x2acb5b['length']){const _0x1c3dfd=this[_0x55ecb8(0x4a1)][_0x55ecb8(0x28d)](_0x4ad7a4,_0x2acb5b);if(!_0x15601c(_0x1c3dfd))throw _0x1c3dfd[_0x55ecb8(0x5a3)];_0x4b8b89=_0x1c3dfd[_0x55ecb8(0x365)],_0x2acb5b=_0x1c3dfd[_0x55ecb8(0x4ee)];}else _0x4b8b89=_0x4ad7a4;this[_0x55ecb8(0x4cc)](_0x4b8b89);}),this[_0x4d2397(0x299)]&&this[_0x4d2397(0x287)](),this[_0x4d2397(0x587)]&&_0xf9c394['length']&&(_0xf9c394[0x0][_0x4d2397(0x443)]=this[_0x4d2397(0x418)]());let _0x3bc5eb;if(this[_0x4d2397(0x587)]&&_0x2acb5b[_0x4d2397(0x2f0)]!==0x0)_0x3bc5eb=this[_0x4d2397(0x501)][_0x4d2397(0x49e)](ge,this[_0x4d2397(0x4a6)],this['type'],_0xf9c394[0x0],_0x2acb5b,this[_0x4d2397(0x4ab)],void 0x0);else{if(this[_0x4d2397(0x587)]&&_0x2acb5b[_0x4d2397(0x2f0)]===0x0)_0xf9c394[0x0][_0x4d2397(0x443)]=this[_0x4d2397(0x418)](),_0x3bc5eb=this[_0x4d2397(0x501)][_0x4d2397(0x49e)](Te,this[_0x4d2397(0x4a6)],this[_0x4d2397(0x267)],_0xf9c394[0x0],this[_0x4d2397(0x4ab)]);else{if(_0x2acb5b[_0x4d2397(0x2f0)]!==0x0){const _0x13bf4c=this[_0x4d2397(0x501)][_0x4d2397(0x49e)](pe,this[_0x4d2397(0x4a6)],this[_0x4d2397(0x267)],_0x2acb5b,this['_handler']);_0x13bf4c[_0x4d2397(0x34e)](),_0x3bc5eb=_0x13bf4c;}else _0x3bc5eb=this[_0x4d2397(0x501)][_0x4d2397(0x49e)](Fe,this[_0x4d2397(0x4a6)],this['type'],this[_0x4d2397(0x4ab)]);}}return _0x3bc5eb['_updateLocalCache'](),_0x3bc5eb;}catch(_0x39ff1d){return this[_0x4d2397(0x1a4)][_0x4d2397(0x5a3)](_0x4d2397(0x36c),_0x4d2397(0x36e),_0x39ff1d),this[_0x4d2397(0x501)]['createInstance'](Re,this['unitID'],this[_0x4d2397(0x267)],this[_0x4d2397(0x587)],this['_pendingMutations'],this[_0x4d2397(0x4ab)],!0x1);}}[_0x29204f(0x19f)](){const _0x3845f5=_0x29204f;throw new Error(_0x3845f5(0x437));}[_0x29204f(0x41d)](_0x18dce5){const _0xb860dd=_0x29204f;return this[_0xb860dd(0x1d9)]['push'](_0x18dce5),this;}['onRemoteChangeset'](_0x53e440){const _0x1420ee=_0x29204f;return this['_queuedRemoteChangesets'][_0x1420ee(0x523)](_0x53e440),this;}[_0x29204f(0x291)](_0x69b506){const _0x2c4a09=_0x29204f;if(this['_awaitingChangeset'])return this[_0x2c4a09(0x299)]=this['_awaitingChangeset'],this[_0x2c4a09(0x587)]=null,this;throw new Error(_0x2c4a09(0x56e));}[_0x29204f(0x38c)](_0x163463){const _0x3f5434=_0x29204f;return this[_0x3f5434(0x349)](!!(_0x163463!=null&&_0x163463['isPermissionRej']));}[_0x29204f(0x558)](){return this;}[_0x29204f(0x4ef)](){const _0x32f97d=_0x29204f;return this[_0x32f97d(0x501)][_0x32f97d(0x49e)](ye,this[_0x32f97d(0x4a6)],this[_0x32f97d(0x267)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x32f97d(0x4ab)]);}['toggleOnline'](){return this;}[_0x29204f(0x349)](_0x5b3995){const _0x457840=_0x29204f;return this[_0x457840(0x501)][_0x457840(0x49e)](Re,this[_0x457840(0x4a6)],this[_0x457840(0x267)],this[_0x457840(0x587)],this['_pendingMutations'],this['_handler'],_0x5b3995);}};he=Le([A(0x7,_0x31a227(_0x3ada64)),A(0x8,_0x31a227(_0xbf5b42)),A(0x9,_0x31a227(q)),A(0xa,_0x15baf7),A(0xb,_0x1f9396),A(0xc,_0x2d7dca),A(0xd,_0x5f49ec)],he);function Ai(_0x400e40,_0x10e998,_0xe3b329,_0x4684b7,_0x689020,_0x1e8036){const _0x5c3eca=_0x29204f;return _0x4684b7&&_0x689020[_0x5c3eca(0x2f0)]?_0x400e40['createInstance'](ge,_0x10e998,_0xe3b329,_0x4684b7,_0x689020,_0x1e8036,void 0x0):_0x4684b7?_0x400e40['createInstance'](Te,_0x10e998,_0xe3b329,_0x4684b7,_0x1e8036):_0x689020[_0x5c3eca(0x2f0)]?_0x400e40[_0x5c3eca(0x49e)](pe,_0x10e998,_0xe3b329,_0x689020,_0x1e8036):_0x400e40['createInstance'](Fe,_0x10e998,_0xe3b329,_0x1e8036);}var mo=Object[_0x29204f(0x51a)],po=Object[_0x29204f(0x424)],Es=(_0x1d8553,_0x2dde2d,_0x300b0a,_0x2b4252)=>{const _0x54c87b=_0x29204f;for(var _0x3eda5c=_0x2b4252>0x1?void 0x0:_0x2b4252?po(_0x2dde2d,_0x300b0a):_0x2dde2d,_0x2dbf1f=_0x1d8553[_0x54c87b(0x2f0)]-0x1,_0x2e55ab;_0x2dbf1f>=0x0;_0x2dbf1f--)(_0x2e55ab=_0x1d8553[_0x2dbf1f])&&(_0x3eda5c=(_0x2b4252?_0x2e55ab(_0x2dde2d,_0x300b0a,_0x3eda5c):_0x2e55ab(_0x3eda5c))||_0x3eda5c);return _0x2b4252&&_0x3eda5c&&mo(_0x2dde2d,_0x300b0a,_0x3eda5c),_0x3eda5c;},H=(_0x35c623,_0x3124c8)=>(_0x523730,_0x307ce4)=>_0x3124c8(_0x523730,_0x307ce4,_0x35c623);let St=class extends _0x3823d2{constructor(_0x29991d,_0x25509f,_0xacd31,_0x117222,_0x395051,_0xbe6b36,_0x127e66,_0x119764,_0x1b23e2,_0x4c3827,_0xee9b14,_0x259663,_0x23ae54){const _0x4f9927=_0x29204f;super(),g(this,_0x4f9927(0x386),new _0x4d53e2(null)),g(this,_0x4f9927(0x228),this['_state$'][_0x4f9927(0x1eb)]()),g(this,'_state'),g(this,'_collaborationPaused',!0x1),g(this,_0x4f9927(0x364),''),g(this,'_changesetReqId',0x0),g(this,'status$',this[_0x4f9927(0x228)][_0x4f9927(0x457)](_0x48d892(_0x5040e5=>_0x5040e5?_0x5040e5['status']:J[_0x4f9927(0x557)]),_0x19bdf5(0x1))),g(this,'_transitionLocked',!0x1),g(this,_0x4f9927(0x4de),[]),(this['unitID']=_0x29991d,this[_0x4f9927(0x459)]=_0x25509f,this[_0x4f9927(0x475)]=_0xacd31,this[_0x4f9927(0x501)]=_0x117222,this[_0x4f9927(0x319)]=_0x395051,this[_0x4f9927(0x4c2)]=_0xbe6b36,this[_0x4f9927(0x1ab)]=_0x127e66,this['_revisionService']=_0x119764,this[_0x4f9927(0x1a4)]=_0x1b23e2,this[_0x4f9927(0x3da)]=_0x4c3827,this['_messageService']=_0xee9b14,this['_permissionService']=_0x259663,this['_singleActiveUnitService']=_0x23ae54);}get['state'](){const _0x587aaf=_0x29204f;return this[_0x587aaf(0x4a5)];}async['init'](){const _0xe5a484=_0x29204f;if(this['state'])throw new Error(_0xe5a484(0x2c1));await this[_0xe5a484(0x4ae)]();}[_0x29204f(0x353)](){const _0x2eaa3c=_0x29204f;return this[_0x2eaa3c(0x2cb)]=!0x0,_0x239c52(()=>{const _0x50fb84=_0x2eaa3c;this[_0x50fb84(0x2cb)]=!0x1,this[_0x50fb84(0x530)]();});}[_0x29204f(0x34d)](_0x4ca9b5){const _0x58a294=_0x29204f;this[_0x58a294(0x4a5)]=_0x4ca9b5,this[_0x58a294(0x386)][_0x58a294(0x27a)](_0x4ca9b5);}async[_0x29204f(0x4ae)](){const _0x3c29e5=_0x29204f;var _0x3e5510;this[_0x3c29e5(0x34d)](await this['_createInitialState']()),this[_0x3c29e5(0x21d)]&&((_0x3e5510=this[_0x3c29e5(0x21d)])==null||_0x3e5510[_0x3c29e5(0x21c)](this[_0x3c29e5(0x4a6)]),this[_0x3c29e5(0x1ba)](this[_0x3c29e5(0x21d)]['getUnitStatus$'](this[_0x3c29e5(0x4a6)])[_0x3c29e5(0x388)](_0x4fc1bf=>{const _0x4bd714=_0x3c29e5;this[_0x4bd714(0x1a4)][_0x4bd714(0x416)](_0x4bd714(0x3a5),_0x4bd714(0x390),_0x4fc1bf),_0x4fc1bf===Di[_0x4bd714(0x561)]?(this[_0x4bd714(0x3ca)]['show']({'content':this[_0x4bd714(0x1ab)]['t'](_0x4bd714(0x22a)),'type':_0x11c8f7[_0x4bd714(0x243)]}),this['_permissionService']['updatePermissionPoint'](new _0x1a85fe(this[_0x4bd714(0x4a6)])['id'],!0x1),this[_0x4bd714(0x486)][_0x4bd714(0x524)](!0x1)):(this[_0x4bd714(0x486)][_0x4bd714(0x36d)](new _0x1a85fe(this[_0x4bd714(0x4a6)])['id'],!0x0),this[_0x4bd714(0x486)][_0x4bd714(0x524)](!0x0));})));let _0xde5224=!0x1;return this['disposeWithMe'](this[_0x3c29e5(0x459)][_0x3c29e5(0x1de)]['subscribe'](_0x5f1236=>{const _0x6e7e2a=_0x3c29e5;_0x5f1236===ve['ONLINE']?this[_0x6e7e2a(0x389)](_0xde5224):_0x5f1236===ve[_0x6e7e2a(0x557)]&&(_0xde5224=!0x0,this[_0x6e7e2a(0x41e)]());})),this[_0x3c29e5(0x1ba)](this[_0x3c29e5(0x459)]['event$'][_0x3c29e5(0x388)](_0x273e42=>{const _0x855aa8=_0x3c29e5;try{switch(_0x273e42[_0x855aa8(0x4dd)]){case _0x4bdbff[_0x855aa8(0x57b)]:{this['_onRemoteChangeset'](_0x1c38f8(_0x273e42[_0x855aa8(0x1af)]));break;}case _0x4bdbff[_0x855aa8(0x1ca)]:{this['_onRemoteACK'](_0x273e42[_0x855aa8(0x1af)]);break;}case _0x4bdbff[_0x855aa8(0x580)]:{this[_0x855aa8(0x2b3)]();break;}case _0x4bdbff[_0x855aa8(0x398)]:{this[_0x855aa8(0x313)](_0x273e42[_0x855aa8(0x1af)]);break;}case _0x4bdbff['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x273e42[_0x855aa8(0x1af)][_0x855aa8(0x3e3)][_0x855aa8(0x43c)](_0x5bc631=>_0x1c38f8(_0x5bc631)));break;}case _0x4bdbff[_0x855aa8(0x241)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x5f4b61){throw console['error'](_0x855aa8(0x1cb),_0x5f4b61),_0x5f4b61;}})),this[_0x3c29e5(0x4a5)];}[_0x29204f(0x1cf)](){const _0x2484df=_0x29204f;this[_0x2484df(0x44b)]=!0x1;}['_lockTransition'](){const _0x5029bb=_0x29204f;if(this[_0x5029bb(0x44b)])throw new Error(_0x5029bb(0x554));this['_transitionLocked']=!0x0;}[_0x29204f(0x4e1)](_0xed63f6){const _0x26cc3d=_0x29204f;this['_lockTransition'](),this['_updateState'](this[_0x26cc3d(0x4a5)]['appendMutation'](_0xed63f6)),this[_0x26cc3d(0x1cf)]();}['_onRemoteChangeset'](_0x411270){const _0x59fd11=_0x29204f;if(!(_0x411270['revision']<=this[_0x59fd11(0x2b7)][_0x59fd11(0x362)](this[_0x59fd11(0x4a6)]))){if(this[_0x59fd11(0x2cb)]){this[_0x59fd11(0x4de)][_0x59fd11(0x523)](_0x411270);return;}this['_applyRemoteChangeset'](_0x411270);}}[_0x29204f(0x530)](){const _0x4be098=_0x29204f;this[_0x4be098(0x4de)][_0x4be098(0x4a0)](_0x25a031=>this[_0x4be098(0x2e3)](_0x25a031)),this[_0x4be098(0x4de)]=[];}['_applyRemoteChangeset'](_0x587f1a){const _0x2103c0=_0x29204f,_0x37f1e9=this['_compressMutationService'][_0x2103c0(0x4df)][_0x2103c0(0x372)](this['_compressMutationService'][_0x2103c0(0x4df)][_0x2103c0(0x191)]()['COMPRESS_MUTATION_APPLY'])(_0x587f1a[_0x2103c0(0x1b7)],null)||_0x587f1a['mutations'],_0x518829={..._0x587f1a,'mutations':_0x37f1e9};this[_0x2103c0(0x2aa)](),this['_updateState'](this[_0x2103c0(0x4a5)]['onRemoteChangeset'](_0x518829)),this[_0x2103c0(0x1cf)]();}['_onRemoteACK'](_0x56906f){const _0x5e9bd6=_0x29204f;this[_0x5e9bd6(0x2aa)](),this[_0x5e9bd6(0x34d)](this[_0x5e9bd6(0x4a5)][_0x5e9bd6(0x291)](_0x56906f)),this['_unlockTransition']();}[_0x29204f(0x2b3)](_0x21ad3d){const _0x44eef6=_0x29204f;this['_lockTransition'](),this[_0x44eef6(0x34d)](this[_0x44eef6(0x4a5)]['onRemoteRej'](_0x21ad3d)),this[_0x44eef6(0x1cf)]();}[_0x29204f(0x313)](_0x3bbe97){const _0x3cd37e=_0x29204f;this['_lockTransition'](),this[_0x3cd37e(0x34d)](this['_state'][_0x3cd37e(0x558)](_0x3bbe97)),this[_0x3cd37e(0x1cf)]();}['_onFetchMissResult'](_0x5bdd72){const _0xe1382b=_0x29204f;if(!(this[_0xe1382b(0x4a5)]instanceof he))throw new TypeError(_0xe1382b(0x258));const _0x1b63a6=_0x5bdd72['map'](_0xfdee75=>{const _0x28dbe1=_0xe1382b,_0x4fcdb6=this['_compressMutationService'][_0x28dbe1(0x4df)][_0x28dbe1(0x372)](this[_0x28dbe1(0x4c2)][_0x28dbe1(0x4df)][_0x28dbe1(0x191)]()[_0x28dbe1(0x446)])(_0xfdee75[_0x28dbe1(0x1b7)],null)||_0xfdee75[_0x28dbe1(0x1b7)];return{..._0xfdee75,'mutations':_0x4fcdb6};});this['_lockTransition'](),this['_updateState'](this[_0xe1382b(0x4a5)][_0xe1382b(0x374)](_0x1b63a6)),this[_0xe1382b(0x1cf)]();}[_0x29204f(0x41e)](){const _0x52dc03=_0x29204f;this[_0x52dc03(0x2aa)](),this['_updateState'](this[_0x52dc03(0x4a5)]['toggleOffline']()),this['_unlockTransition']();}[_0x29204f(0x389)](_0x21f9c3=!0x1){const _0x358402=_0x29204f;this[_0x358402(0x2aa)](),this[_0x358402(0x34d)](this[_0x358402(0x4a5)][_0x358402(0x23c)]()),this[_0x358402(0x1cf)]();const _0x9808fa=this['_state'];_0x21f9c3&&_0x9808fa instanceof Fe&&(this[_0x358402(0x2aa)](),this[_0x358402(0x34d)](_0x9808fa[_0x358402(0x44c)]()),this[_0x358402(0x1cf)]());}async[_0x29204f(0x1cd)](){return new Promise(_0x54c0d2=>{const _0x36a72f=_0x5d6c;this[_0x36a72f(0x459)][_0x36a72f(0x1de)][_0x36a72f(0x457)](_0x34813f(0x1))[_0x36a72f(0x388)](async _0xfa506c=>{_0x54c0d2(await this['_createInitialStateImpl'](_0xfa506c===ve['ONLINE']));});});}[_0x29204f(0x2a1)](){const _0x468030=_0x29204f,_0x2bf71c=this[_0x468030(0x4a6)];return{'onStateChange':(_0x521789,_0x3a7f1f)=>{const _0x30298f=_0x468030;if(_0x521789!==this[_0x30298f(0x4a5)])throw new Error(_0x30298f(0x294)+_0x521789[_0x30298f(0x317)]+_0x30298f(0x577)+_0x3a7f1f['status']+_0x30298f(0x546)+this[_0x30298f(0x4a5)][_0x30298f(0x317)]);this[_0x30298f(0x34d)](_0x3a7f1f);},'onSendChangeset':_0x5de46d=>{const _0x11169c=_0x468030;_0x5de46d['sid']||(_0x5de46d[_0x11169c(0x506)]=this[_0x11169c(0x364)],_0x5de46d[_0x11169c(0x552)]=++this[_0x11169c(0x38b)]);const _0x1f522a={'eventID':_0x4bdbff['SUBMIT_CHANGESET'],'data':{'unitID':_0x5de46d['unitID'],'unitType':this[_0x11169c(0x475)],'changeset':_0x5de46d,'memberID':this[_0x11169c(0x459)][_0x11169c(0x315)]()}};this[_0x11169c(0x459)][_0x11169c(0x2fb)](_0x1f522a,this['unitID']);},'onMissingChangesets':({from:_0x1fba89,to:_0x18a768})=>{const _0x4c758e=_0x468030;this[_0x4c758e(0x1a4)][_0x4c758e(0x416)](_0x4c758e(0x3a5),_0x4c758e(0x536)+_0x1fba89+'\x20to\x20'+_0x18a768);const _0x487550={'eventID':_0x4bdbff[_0x4c758e(0x343)],'data':{'unitID':_0x2bf71c,'unitType':this[_0x4c758e(0x475)],'from':_0x1fba89,'to':_0x18a768}};this[_0x4c758e(0x459)][_0x4c758e(0x2fb)](_0x487550,this['unitID']);}};}async[_0x29204f(0x4f2)](_0x2f793c){const _0x12d060=_0x29204f;var _0x505126,_0x3a3e4f;const _0x4174a0=await this[_0x12d060(0x319)][_0x12d060(0x43e)](this[_0x12d060(0x4a6)]),_0xac5ba4=(_0x505126=_0x4174a0==null?void 0x0:_0x4174a0[_0x12d060(0x1b7)])!=null?_0x505126:[],_0x4db1d0=(_0x3a3e4f=_0x4174a0==null?void 0x0:_0x4174a0['awaitingChangeset'])!=null?_0x3a3e4f:null,_0x1cc05d=!!(_0x4db1d0!=null&&_0x4db1d0['sid'])&&!!(_0x4db1d0!=null&&_0x4db1d0[_0x12d060(0x552)]);this[_0x12d060(0x364)]=_0x1cc05d?_0x4db1d0[_0x12d060(0x506)]:Gr(),this['_changesetReqId']=_0x1cc05d?_0x4db1d0[_0x12d060(0x552)]:0x0;const _0x4f6861=this[_0x12d060(0x4a6)];try{this[_0x12d060(0x52e)](_0x4db1d0,_0xac5ba4);}catch(_0x547270){this['_logService'][_0x12d060(0x5a3)](_0x547270);}const _0x2b92d0=this[_0x12d060(0x2a1)]();if(_0x2f793c){const _0x957593=Ai(this[_0x12d060(0x501)],_0x4f6861,this[_0x12d060(0x475)],_0x4db1d0,_0xac5ba4,_0x2b92d0);return _0x957593 instanceof pe?_0x957593['_schedule']():(_0x957593 instanceof ge||_0x957593 instanceof Te)&&_0x957593[_0x12d060(0x19f)](),_0x957593;}return this['_injector'][_0x12d060(0x49e)](ye,_0x4f6861,this[_0x12d060(0x475)],_0x4db1d0,_0xac5ba4,_0x2b92d0);}[_0x29204f(0x52e)](_0x9400ec,_0x2c541b){const _0x58f62e=_0x29204f;var _0x39427e,_0x543916;const _0x46ba5b=this['_compressMutationService'][_0x58f62e(0x4df)]['fetchThroughInterceptors'](this[_0x58f62e(0x4c2)][_0x58f62e(0x4df)][_0x58f62e(0x191)]()[_0x58f62e(0x446)]);(_0x39427e=_0x46ba5b((_0x9400ec==null?void 0x0:_0x9400ec[_0x58f62e(0x1b7)])||[],null))==null||_0x39427e[_0x58f62e(0x4a0)](_0x52048b=>this['_commandService'][_0x58f62e(0x1a5)](_0x52048b['id'],_0x52048b[_0x58f62e(0x499)])),(_0x543916=_0x46ba5b(_0x2c541b||[],null))==null||_0x543916[_0x58f62e(0x4a0)](_0x4e3ad8=>this[_0x58f62e(0x3da)]['executeCommand'](_0x4e3ad8['id'],_0x4e3ad8[_0x58f62e(0x499)]));}};St=Es([H(0x3,_0x31a227(_0x3ada64)),H(0x4,_0x31a227(q)),H(0x5,_0x31a227(_0x1f61af)),H(0x6,_0x31a227(_0x3da7c2)),H(0x7,_0x31a227(_0xbf5b42)),H(0x8,_0x15baf7),H(0x9,_0x1f9396),H(0xa,_0x5d8f55),H(0xb,_0x532950),H(0xc,_0x2fdd6d(yt))],St);let ss=class extends St{constructor(_0x526a14,_0x2307cc,_0x3aaa93,_0x472e3f,_0x5a2671,_0x597068,_0x2fb97c,_0x3bdf25,_0x1d20bb,_0x5796a1,_0x1afeec,_0x310bca,_0x1d689b,_0x53a28e,_0x38e4e9,_0xc63f0e,_0x97812f,_0x2b67d8){const _0x5235ca=_0x29204f;super(_0x526a14,_0x3aaa93,_0x2307cc,_0x472e3f,_0x5a2671,_0x597068,_0x2fb97c,_0x3bdf25,_0x53a28e,_0x38e4e9,_0xc63f0e,_0x97812f,_0x2b67d8),this[_0x5235ca(0x4a6)]=_0x526a14,this[_0x5235ca(0x267)]=_0x2307cc,this[_0x5235ca(0x3b6)]=_0x1d20bb,this[_0x5235ca(0x2f6)]=_0x5796a1,this[_0x5235ca(0x2b2)]=_0x1afeec,this[_0x5235ca(0x215)]=_0x310bca,this['_docSyncEditingCollabCursorService']=_0x1d689b;}['_createHandler'](){const _0x5b2ffd=_0x29204f,_0x4cae32=super[_0x5b2ffd(0x2a1)]();return _0x4cae32[_0x5b2ffd(0x2c9)]=_0x3a5b3a=>this[_0x5b2ffd(0x2f6)][_0x5b2ffd(0x286)](_0x3a5b3a),_0x4cae32[_0x5b2ffd(0x411)]=_0x19908a=>this[_0x5b2ffd(0x2b2)][_0x5b2ffd(0x43b)](_0x19908a),_0x4cae32[_0x5b2ffd(0x53e)]=_0x100d48=>this[_0x5b2ffd(0x215)]['transformSelections'](_0x100d48),_0x4cae32[_0x5b2ffd(0x32a)]=_0x5b5688=>this[_0x5b2ffd(0x45d)][_0x5b2ffd(0x2c7)](_0x5b5688),_0x4cae32[_0x5b2ffd(0x3b9)]=_0x471162=>this[_0x5b2ffd(0x2f6)][_0x5b2ffd(0x514)](_0x471162),_0x4cae32['onTransformRemoteChangesetByStateCache']=_0x59e000=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x59e000),_0x4cae32;}async[_0x29204f(0x4ae)](){const _0x5e8de7=_0x29204f,_0x5f0e81=await super['_init']();return this[_0x5e8de7(0x3b6)][_0x5e8de7(0x535)][_0x5e8de7(0x457)](_0x4b7102(this[_0x5e8de7(0x58b)]))['subscribe'](_0x314235=>{const _0x35a04d=_0x5e8de7;if(_0x314235==null)return;const {unitId:_0x529314,redoState:_0x51cd5d,commandId:_0x15242a}=_0x314235;if(_0x529314!==this[_0x35a04d(0x4a6)])return;const _0x449fd4={'id':_0x15242a,'type':_0x589e31[_0x35a04d(0x2ec)],'params':{'unitId':_0x529314,'actions':_0x51cd5d[_0x35a04d(0x40f)],'textRanges':null}};this[_0x35a04d(0x4e1)](_0x449fd4);}),_0x5f0e81;}};function _0x5d6c(_0x186b4e,_0x1b0898){const _0x3441de=_0x3441();return _0x5d6c=function(_0x5d6c25,_0x1e8940){_0x5d6c25=_0x5d6c25-0x190;let _0x1aac3d=_0x3441de[_0x5d6c25];return _0x1aac3d;},_0x5d6c(_0x186b4e,_0x1b0898);}ss=Es([H(0x3,_0x31a227(_0x3ada64)),H(0x4,_0x31a227(q)),H(0x5,_0x31a227(_0x1f61af)),H(0x6,_0x31a227(_0x3da7c2)),H(0x7,_0x31a227(_0xbf5b42)),H(0x8,_0x31a227(_0x4613da)),H(0x9,_0x31a227(vt)),H(0xa,_0x31a227(pt)),H(0xb,_0x31a227(gt)),H(0xc,_0x31a227(Cs)),H(0xd,_0x15baf7),H(0xe,_0x1f9396),H(0xf,_0x5d8f55),H(0x10,_0x532950),H(0x11,_0x2fdd6d(yt))],ss);let is=class extends St{constructor(_0xe68345,_0xb5d882,_0x3f0a0c,_0x3d8aa4,_0x2ac82f,_0x53c335,_0x59ae22,_0x354c64,_0x3f6d51,_0x4babac,_0x396f0e,_0x4ee02c,_0x1c099e,_0x3edeae){const _0x12dfc5=_0x29204f;super(_0xe68345,_0x3f0a0c,_0xb5d882,_0x3d8aa4,_0x2ac82f,_0x53c335,_0x59ae22,_0x354c64,_0x4babac,_0x396f0e,_0x4ee02c,_0x1c099e,_0x3edeae),this[_0x12dfc5(0x4a6)]=_0xe68345,this[_0x12dfc5(0x267)]=_0xb5d882,this['_sheetTransformSelectionsService']=_0x3f6d51;}[_0x29204f(0x2a1)](){const _0x225f41=_0x29204f,_0x19887c=super[_0x225f41(0x2a1)]();return _0x19887c[_0x225f41(0x53e)]=_0x4f464f=>this[_0x225f41(0x1f9)][_0x225f41(0x2f3)](_0x4f464f),_0x19887c;}async[_0x29204f(0x4ae)](){const _0x4ce78a=_0x29204f,_0x409fde=await super[_0x4ce78a(0x4ae)]();return this[_0x4ce78a(0x1ba)](this[_0x4ce78a(0x3da)][_0x4ce78a(0x367)]((_0xf5618b,_0x16fbb3)=>{const _0x56f43d=_0x4ce78a;if(_0xf5618b[_0x56f43d(0x267)]!==_0x589e31[_0x56f43d(0x2ec)]||_0x16fbb3!=null&&_0x16fbb3['fromCollab']||_0x16fbb3!=null&&_0x16fbb3[_0x56f43d(0x517)])return;const _0xe62b3e=_0xf5618b['params'];if((_0xe62b3e==null?void 0x0:_0xe62b3e[_0x56f43d(0x1fb)])!==this[_0x56f43d(0x4a6)])return;const _0x4d6416=_0xf5618b,_0x3f81c5=this[_0x56f43d(0x4c2)][_0x56f43d(0x4df)][_0x56f43d(0x372)](this['_compressMutationService'][_0x56f43d(0x4df)][_0x56f43d(0x191)]()[_0x56f43d(0x52c)])([_0x4d6416],null)||[_0x4d6416];this[_0x56f43d(0x4e1)](_0x3f81c5[0x0]);})),_0x409fde;}};is=Es([H(0x3,_0x31a227(_0x3ada64)),H(0x4,_0x31a227(q)),H(0x5,_0x31a227(_0x1f61af)),H(0x6,_0x31a227(_0x3da7c2)),H(0x7,_0x31a227(_0xbf5b42)),H(0x8,_0x31a227(mt)),H(0x9,_0x15baf7),H(0xa,_0x1f9396),H(0xb,_0x5d8f55),H(0xc,_0x532950),H(0xd,_0x2fdd6d(yt))],is);var go=Object[_0x29204f(0x51a)],So=Object[_0x29204f(0x424)],Io=(_0x2b935b,_0x48688b,_0x38c8be,_0x35b940)=>{const _0x35db6b=_0x29204f;for(var _0x586ba1=_0x35b940>0x1?void 0x0:_0x35b940?So(_0x48688b,_0x38c8be):_0x48688b,_0xa64153=_0x2b935b[_0x35db6b(0x2f0)]-0x1,_0x58f526;_0xa64153>=0x0;_0xa64153--)(_0x58f526=_0x2b935b[_0xa64153])&&(_0x586ba1=(_0x35b940?_0x58f526(_0x48688b,_0x38c8be,_0x586ba1):_0x58f526(_0x586ba1))||_0x586ba1);return _0x35b940&&_0x586ba1&&go(_0x48688b,_0x38c8be,_0x586ba1),_0x586ba1;},Lt=(_0x43f444,_0x87f53)=>(_0x5efc01,_0x772449)=>_0x87f53(_0x5efc01,_0x772449,_0x43f444);let it=class extends _0x3823d2{constructor(_0x4f224c,_0x56dad8,_0x443e6d){const _0x3b3f6c=_0x29204f;super(),g(this,'_entities',new Map()),g(this,_0x3b3f6c(0x1f6),new _0x5c0e09()),(this[_0x3b3f6c(0x501)]=_0x4f224c,this['_collabSessionService']=_0x56dad8,this[_0x3b3f6c(0x472)]=_0x443e6d,this['_init']());}[_0x29204f(0x1db)](){const _0xbe7f04=_0x29204f;super[_0xbe7f04(0x1db)](),this[_0xbe7f04(0x500)][_0xbe7f04(0x4a0)](_0x5f0502=>_0x5f0502[_0xbe7f04(0x1db)]()),this[_0xbe7f04(0x500)][_0xbe7f04(0x219)]();}['getCollabEntity'](_0x3c458c){const _0x30c709=_0x29204f;var _0x4ee1c0;return(_0x4ee1c0=this[_0x30c709(0x500)][_0x30c709(0x19e)](_0x3c458c))!=null?_0x4ee1c0:null;}[_0x29204f(0x2b1)](_0x149f1a){const _0x40bd5c=_0x29204f,_0x23fcaf=this[_0x40bd5c(0x1ec)](_0x149f1a);return _0x23fcaf?_0x13a6f8(_0x23fcaf):this[_0x40bd5c(0x1f6)][_0x40bd5c(0x457)](_0xeba3c2(_0x2e3ddf=>_0x2e3ddf['unitID']===_0x149f1a));}[_0x29204f(0x4ae)](){const _0x41adbf=_0x29204f;this[_0x41adbf(0x472)]['getTypeOfUnitAdded$'](_0x5e8949[_0x41adbf(0x27e)])[_0x41adbf(0x457)](_0x4b7102(this[_0x41adbf(0x58b)]),_0x202ec8(0x10))[_0x41adbf(0x388)](async _0x18b0f2=>{const _0x4fdb45=_0x41adbf,_0x44184e=_0x18b0f2['getUnitId'](),_0x56015a=await this[_0x4fdb45(0x39c)](_0x44184e,ce[_0x4fdb45(0x27e)]);this[_0x4fdb45(0x500)][_0x4fdb45(0x4b7)](_0x44184e,_0x56015a);}),this[_0x41adbf(0x472)]['getTypeOfUnitAdded$'](_0x5e8949[_0x41adbf(0x3e8)])[_0x41adbf(0x457)](_0x4b7102(this[_0x41adbf(0x58b)]),_0x202ec8(0x10))['pipe'](_0xeba3c2(_0x5669d0=>!_0x5669d0['getUnitId']()[_0x41adbf(0x586)]('__')))[_0x41adbf(0x388)](async _0x591c5e=>{const _0x4f34cf=_0x41adbf,_0x511161=_0x591c5e[_0x4f34cf(0x335)](),_0x1a5ee6=await this[_0x4f34cf(0x39c)](_0x511161,ce[_0x4f34cf(0x3e8)]);this['_entities'][_0x4f34cf(0x4b7)](_0x511161,_0x1a5ee6);}),_0x5924a9(this[_0x41adbf(0x472)][_0x41adbf(0x574)](_0x5e8949['UNIVER_SHEET']),this['_univerInstanceService'][_0x41adbf(0x574)](_0x5e8949[_0x41adbf(0x3e8)]))[_0x41adbf(0x457)](_0x4b7102(this[_0x41adbf(0x58b)]))[_0x41adbf(0x388)](_0x24f29e=>{const _0x5041e6=_0x41adbf,_0x59bab7=_0x24f29e[_0x5041e6(0x335)](),_0x54ded9=this[_0x5041e6(0x500)][_0x5041e6(0x19e)](_0x59bab7);_0x54ded9&&(_0x54ded9[_0x5041e6(0x1db)](),this['_entities']['delete'](_0x59bab7));});}async[_0x29204f(0x39c)](_0x13b29a,_0x261437){const _0x251053=_0x29204f,_0x161f1d=await this['_collabSessionService'][_0x251053(0x2ea)](_0x13b29a),_0x253089=this[_0x251053(0x501)][_0x251053(0x49e)](this[_0x251053(0x56b)](_0x261437),_0x13b29a,_0x261437,_0x161f1d);return await _0x253089[_0x251053(0x195)](),this['_entityInit$'][_0x251053(0x27a)](_0x253089),_0x253089;}[_0x29204f(0x56b)](_0x182d1b){const _0x7d6b76=_0x29204f;switch(_0x182d1b){case ce['UNIVER_DOC']:return ss;case ce[_0x7d6b76(0x27e)]:return is;default:throw new Error(_0x7d6b76(0x49f)+_0x182d1b);}}};it=Io([Lt(0x0,_0x31a227(_0x3ada64)),Lt(0x1,_0x31a227(Ae)),Lt(0x2,_0x1a11e5)],it);const Gs=[_0x29204f(0x310),_0x29204f(0x412),_0x29204f(0x46d),_0x29204f(0x37f),_0x29204f(0x31a),_0x29204f(0x2d3)];class bs extends _0x2a7347{constructor(){const _0x43c267=_0x29204f;super(...arguments),g(this,'_assignedColors',new Map()),g(this,_0x43c267(0x5a4),0x0);}[_0x29204f(0x226)](_0xa60db7){const _0x5f4a5f=_0x29204f;if(this[_0x5f4a5f(0x4c1)][_0x5f4a5f(0x246)](_0xa60db7))return this[_0x5f4a5f(0x4c1)][_0x5f4a5f(0x19e)](_0xa60db7);const _0x25784a=Gs[this[_0x5f4a5f(0x5a4)]];return this[_0x5f4a5f(0x5a4)]=(this[_0x5f4a5f(0x5a4)]+0x1)%Gs[_0x5f4a5f(0x2f0)],this[_0x5f4a5f(0x4c1)][_0x5f4a5f(0x4b7)](_0xa60db7,_0x25784a),_0x25784a;}}var Co=Object['defineProperty'],Eo=Object['getOwnPropertyDescriptor'],bo=(_0xf33e2a,_0x10f78a,_0x500af1,_0x563579)=>{const _0x204914=_0x29204f;for(var _0xaf854b=_0x563579>0x1?void 0x0:_0x563579?Eo(_0x10f78a,_0x500af1):_0x10f78a,_0x27f769=_0xf33e2a[_0x204914(0x2f0)]-0x1,_0x3bd123;_0x27f769>=0x0;_0x27f769--)(_0x3bd123=_0xf33e2a[_0x27f769])&&(_0xaf854b=(_0x563579?_0x3bd123(_0x10f78a,_0x500af1,_0xaf854b):_0x3bd123(_0xaf854b))||_0xaf854b);return _0x563579&&_0xaf854b&&Co(_0x10f78a,_0x500af1,_0xaf854b),_0xaf854b;},Oe=(_0x1e6a0d,_0xfbdb8f)=>(_0x3935f3,_0x110bd5)=>_0xfbdb8f(_0x3935f3,_0x110bd5,_0x1e6a0d);const To=0x12c,Ro=0x64;let ns=class extends _0x3823d2{constructor(_0x3e4362,_0x427be5,_0xe009c2,_0x49d825,_0x5e16a5,_0x3a86cf,_0x18f373,_0xf1667f,_0x4a7fe5){const _0x916918=_0x29204f;super(),g(this,_0x916918(0x2ca),!0x1),g(this,_0x916918(0x4ae),!0x1),g(this,'_cursorInfo$',new _0x4d53e2(new Map())),g(this,'cursorInfo$',this[_0x916918(0x48e)][_0x916918(0x1eb)]()),g(this,'_roomMembers$',new _0x4d53e2([])),g(this,_0x916918(0x549),this[_0x916918(0x346)][_0x916918(0x457)](_0x2d6658(To))),g(this,_0x916918(0x20d),_0x164ec5(_0x3d02f6=>{const _0x20ba98=_0x916918,_0x33f124={'eventID':_0x4bdbff[_0x20ba98(0x1f7)],'data':{'unitID':this[_0x20ba98(0x4a6)],'memberID':this[_0x20ba98(0x27f)][_0x20ba98(0x315)](),'selection':Pi(_0x3d02f6)}};this[_0x20ba98(0x27f)][_0x20ba98(0x2fb)](_0x33f124,this[_0x20ba98(0x4a6)]);},Ro)),(this['unitID']=_0x3e4362,this[_0x916918(0x27f)]=_0x427be5,this[_0x916918(0x501)]=_0xe009c2,this[_0x916918(0x1d3)]=_0x49d825,this['_memberService']=_0x5e16a5,this[_0x916918(0x47d)]=_0x3a86cf,this[_0x916918(0x4a1)]=_0x18f373,this[_0x916918(0x472)]=_0xf1667f,this['_commandService']=_0x4a7fe5);}get[_0x29204f(0x2ed)](){const _0x513509=_0x29204f;return this[_0x513509(0x48e)][_0x513509(0x432)]();}get[_0x29204f(0x58e)](){const _0x5e0f7d=_0x29204f;return this['_roomMembers$'][_0x5e0f7d(0x432)]();}['dispose'](){const _0x2cff36=_0x29204f;super[_0x2cff36(0x1db)](),this['_cursorInfo$']['next'](new Map()),this[_0x2cff36(0x48e)][_0x2cff36(0x1a6)](),this['_roomMembers$'][_0x2cff36(0x27a)]([]),this['_roomMembers$'][_0x2cff36(0x1a6)]();}[_0x29204f(0x195)](){const _0xae00f2=_0x29204f;this['_init']||(this[_0xae00f2(0x4ae)]=!0x0,this[_0xae00f2(0x27f)][_0xae00f2(0x1de)][_0xae00f2(0x457)](_0x4b7102(this[_0xae00f2(0x58b)]))['subscribe'](_0x44945b=>{const _0x5b8630=_0xae00f2;_0x44945b===ve[_0x5b8630(0x576)]?this['_toggleOnline']():this[_0x5b8630(0x41e)]();}),this['_session'][_0xae00f2(0x190)]['pipe'](_0x4b7102(this[_0xae00f2(0x58b)]))[_0xae00f2(0x388)](_0x218de7=>{const _0x426e84=_0xae00f2,_0x8b1c55=_0x218de7[_0x426e84(0x4dd)];_0x8b1c55===_0x4bdbff[_0x426e84(0x1f7)]&&this[_0x426e84(0x570)](_0x218de7),_0x8b1c55===_0x4bdbff[_0x426e84(0x2e9)]&&this['_onCursorDelete'](_0x218de7);}),this[_0xae00f2(0x1ba)](this['_commandService'][_0xae00f2(0x367)](_0x323785=>{const _0x36920=_0xae00f2,_0x884660=_0x323785[_0x36920(0x499)];_0x884660!=null&&this[_0x36920(0x2ca)]&&_0x323785['id']===_0xa415ab['id']&&_0x884660[_0x36920(0x1fb)]===this[_0x36920(0x4a6)]&&_0x884660[_0x36920(0x462)]===!0x1&&_0x884660[_0x36920(0x1c9)]['length']>0x0&&this[_0x36920(0x20d)](_0x884660[_0x36920(0x1c9)]);})),this[_0xae00f2(0x47d)]['collabCursorState$'][_0xae00f2(0x457)](_0x4b7102(this['dispose$']))['subscribe'](_0x44be29=>{const _0x5b8eef=_0xae00f2;if((_0x44be29==null?void 0x0:_0x44be29[_0x5b8eef(0x4a6)])!==this['unitID'])return;const _0x5aafb9={'eventID':_0x4bdbff[_0x5b8eef(0x1f7)],'data':_0x44be29};this[_0x5b8eef(0x570)](_0x5aafb9);}),this[_0xae00f2(0x1ba)](this[_0xae00f2(0x3da)]['onCommandExecuted'](_0x494950=>{const _0x463ac2=_0xae00f2;if(_0x494950[_0x463ac2(0x499)]==null)return;const _0x14f54b=_0x494950[_0x463ac2(0x499)];if(_0x494950['id']!==_0x4708ca['id']||_0x14f54b[_0x463ac2(0x1fb)]!==this[_0x463ac2(0x4a6)])return;const _0x393fa5={'id':_0x463ac2(0x384),'params':_0x14f54b},_0x495e92=this[_0x463ac2(0x2ed)];for(const [_0x23ca2a,_0x4db399]of _0x495e92){const _0x4a7a54={'id':_0x463ac2(0x384),'params':{'unitId':this[_0x463ac2(0x4a6)],'actions':null,'textRanges':_0x4db399['ranges']}},_0x41a0ab=this['_transformService'][_0x463ac2(0x2fa)](_0x393fa5,_0x4a7a54,!0x1);if(_0x3a6c5b(_0x41a0ab))throw _0x41a0ab[_0x463ac2(0x5a3)];_0x495e92[_0x463ac2(0x4b7)](_0x23ca2a,{..._0x4db399,'ranges':_0x41a0ab[_0x463ac2(0x4ee)][_0x463ac2(0x499)][_0x463ac2(0x45b)]});}queueMicrotask(()=>{const _0x4dbd49=_0x463ac2;this[_0x4dbd49(0x48e)][_0x4dbd49(0x27a)](_0x495e92);});})));}[_0x29204f(0x570)](_0x5c7c1e){const _0x5827a1=_0x29204f;var _0x47c150,_0x140a11;const {memberID:_0x550db0,selection:_0x30b031}=_0x5c7c1e['data'],_0x2df91a=oo(_0x30b031),_0x4e118b=(_0x140a11=(_0x47c150=this[_0x5827a1(0x1c8)][_0x5827a1(0x46b)](this['unitID'],_0x550db0))==null?void 0x0:_0x47c150['name'])!=null?_0x140a11:_0x5827a1(0x469),_0x30871f={'color':this['_colorAssignService'][_0x5827a1(0x226)](_0x550db0),'name':_0x4e118b,'ranges':_0x2df91a},_0x520f79=this[_0x5827a1(0x2ed)];_0x520f79[_0x5827a1(0x4b7)](_0x550db0,_0x30871f),this['_cursorInfo$']['next'](_0x520f79);}['_onCursorDelete'](_0x162389){const _0x392c6f=_0x29204f,{memberID:_0x5b5d5d}=_0x162389['data'],_0x35bc85=this[_0x392c6f(0x2ed)];_0x35bc85[_0x392c6f(0x204)](_0x5b5d5d),this['_cursorInfo$']['next'](_0x35bc85);}['_toggleOnline'](){const _0x33a4a7=_0x29204f;var _0x214df6;if(this[_0x33a4a7(0x2ca)]=!0x0,((_0x214df6=this['_univerInstanceService'][_0x33a4a7(0x48b)]())==null?void 0x0:_0x214df6[_0x33a4a7(0x335)]())!==this['unitID'])return;const _0x434413=this['_injector'][_0x33a4a7(0x19e)](_0x53d45e)['getDocRanges']();Array[_0x33a4a7(0x212)](_0x434413)&&_0x434413[_0x33a4a7(0x2f0)]>0x0&&this[_0x33a4a7(0x20d)](_0x434413);}[_0x29204f(0x41e)](){const _0x5f2578=_0x29204f;this[_0x5f2578(0x2ca)]=!0x1;}};ns=bo([Oe(0x2,_0x31a227(_0x3ada64)),Oe(0x3,_0x31a227(bs)),Oe(0x4,_0x31a227(Ne)),Oe(0x5,_0x31a227(Cs)),Oe(0x6,_0x5f49ec),Oe(0x7,_0x1a11e5),Oe(0x8,_0x1f9396)],ns);var yo=Object[_0x29204f(0x51a)],Oo=Object[_0x29204f(0x424)],wo=(_0x2323cb,_0x41f0fb,_0x387e68,_0x1c9339)=>{const _0x4603ae=_0x29204f;for(var _0x2844d7=_0x1c9339>0x1?void 0x0:_0x1c9339?Oo(_0x41f0fb,_0x387e68):_0x41f0fb,_0x3e9c6c=_0x2323cb[_0x4603ae(0x2f0)]-0x1,_0x5c7de7;_0x3e9c6c>=0x0;_0x3e9c6c--)(_0x5c7de7=_0x2323cb[_0x3e9c6c])&&(_0x2844d7=(_0x1c9339?_0x5c7de7(_0x41f0fb,_0x387e68,_0x2844d7):_0x5c7de7(_0x2844d7))||_0x2844d7);return _0x1c9339&&_0x2844d7&&yo(_0x41f0fb,_0x387e68,_0x2844d7),_0x2844d7;},Be=(_0x349dcc,_0x3c5b08)=>(_0x3ac7b6,_0x1aec10)=>_0x3c5b08(_0x3ac7b6,_0x1aec10,_0x349dcc);const Do=0x12c,Po=0x64,Uo=()=>{let _0x27ae8b=[],_0x189358=!0x1;return _0x33d156=>{const _0x29ce9a=_0x5d6c;_0x27ae8b[_0x29ce9a(0x523)](_0x33d156),_0x189358||(_0x189358=!0x0,setTimeout(()=>{const _0x77be1b=_0x29ce9a;_0x27ae8b[_0x77be1b(0x4a0)](_0x453419=>_0x453419()),_0x27ae8b=[],_0x189358=!0x1;}));};};let rs=class extends _0x3823d2{constructor(_0x47b3d7,_0x1616b0,_0xf29216,_0x29eb8d,_0x4f15d3,_0x4504e6,_0x176783,_0xcd3dd7){const _0x140eae=_0x29204f;super(),g(this,_0x140eae(0x2ca),!0x1),g(this,_0x140eae(0x4ae),!0x1),g(this,_0x140eae(0x48e),new _0x4d53e2(new Map())),g(this,_0x140eae(0x297),this[_0x140eae(0x48e)][_0x140eae(0x1eb)]()),g(this,_0x140eae(0x346),new _0x4d53e2([])),g(this,'roomMembers$',this[_0x140eae(0x346)][_0x140eae(0x457)](_0x2d6658(Do))),g(this,'_updateLocalCursor',_0x164ec5((_0x26dcf3,_0x5ef63d)=>{const _0x8fd64a=_0x140eae,_0x533257={'eventID':_0x4bdbff[_0x8fd64a(0x1f7)],'data':{'unitID':this[_0x8fd64a(0x4a6)],'memberID':this[_0x8fd64a(0x27f)]['getMemberID'](),'selection':_0x43633c(_0x26dcf3,_0x5ef63d[_0x8fd64a(0x4a8)])}};this[_0x8fd64a(0x27f)][_0x8fd64a(0x2fb)](_0x533257,this['unitID']);},Po)),(this['unitID']=_0x47b3d7,this['_session']=_0x1616b0,this[_0x140eae(0x501)]=_0xf29216,this[_0x140eae(0x1d3)]=_0x29eb8d,this[_0x140eae(0x1c8)]=_0x4f15d3,this[_0x140eae(0x472)]=_0x4504e6,this[_0x140eae(0x3da)]=_0x176783,this[_0x140eae(0x1b2)]=_0xcd3dd7);}get[_0x29204f(0x2ed)](){const _0x42b087=_0x29204f;return this[_0x42b087(0x48e)]['getValue']();}get[_0x29204f(0x58e)](){const _0x13f6e0=_0x29204f;return this[_0x13f6e0(0x346)][_0x13f6e0(0x432)]();}[_0x29204f(0x1db)](){const _0x4b235a=_0x29204f;super[_0x4b235a(0x1db)](),this[_0x4b235a(0x48e)]['next'](new Map()),this[_0x4b235a(0x48e)][_0x4b235a(0x1a6)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x4b235a(0x1a6)]();}[_0x29204f(0x195)](){const _0x23aef4=_0x29204f;this[_0x23aef4(0x4ae)]||(this[_0x23aef4(0x4ae)]=!0x0,this[_0x23aef4(0x27f)]['sessionStatus$']['pipe'](_0x4b7102(this[_0x23aef4(0x58b)]))[_0x23aef4(0x388)](_0x2f74b1=>{const _0x49b5db=_0x23aef4;_0x2f74b1===ve[_0x49b5db(0x576)]?this['_toggleOnline']():this[_0x49b5db(0x41e)]();}),this[_0x23aef4(0x27f)]['event$'][_0x23aef4(0x457)](_0x4b7102(this[_0x23aef4(0x58b)]))[_0x23aef4(0x388)](_0x163bd7=>{const _0x4cbedc=_0x23aef4,_0x36c00d=_0x163bd7[_0x4cbedc(0x4dd)];_0x36c00d===_0x4bdbff[_0x4cbedc(0x1f7)]&&this[_0x4cbedc(0x570)](_0x163bd7),_0x36c00d===_0x4bdbff[_0x4cbedc(0x2e9)]&&this[_0x4cbedc(0x35d)](_0x163bd7);}),this['_onRefRangeChange'](),this[_0x23aef4(0x1ba)](this[_0x23aef4(0x3da)][_0x23aef4(0x367)](_0x1f06dc=>{const _0x14147a=_0x23aef4;if(this['_online']&&_0x1f06dc['id']===_0xac4f86['id']&&_0x1f06dc[_0x14147a(0x499)][_0x14147a(0x1fb)]===this[_0x14147a(0x4a6)]){const _0x20c9e5=_0x1f06dc[_0x14147a(0x499)];this[_0x14147a(0x20d)](_0x20c9e5['subUnitId'],_0x20c9e5[_0x14147a(0x479)][0x0]);}})));}['_onCursorUpdate'](_0x15327e){const _0x1dbcdf=_0x29204f;var _0x133356,_0x24fa9;const {memberID:_0x1355e8,selection:_0x3ffcee}=_0x15327e[_0x1dbcdf(0x1af)],{sheetName:_0xa733ec,range:_0x3dba50}=_0x12070d(_0x3ffcee),_0x506d66={'name':(_0x24fa9=(_0x133356=this[_0x1dbcdf(0x1c8)]['getMember'](this['unitID'],_0x1355e8))==null?void 0x0:_0x133356[_0x1dbcdf(0x26d)])!=null?_0x24fa9:_0x1dbcdf(0x469),'range':this['_getMergeRange'](_0xa733ec,_0x3dba50),'sheetID':_0xa733ec,'color':this[_0x1dbcdf(0x1d3)][_0x1dbcdf(0x226)](_0x1355e8),'selection':_0x3ffcee},_0x25d942=this[_0x1dbcdf(0x2ed)];_0x25d942[_0x1dbcdf(0x4b7)](_0x1355e8,_0x506d66),this[_0x1dbcdf(0x48e)][_0x1dbcdf(0x27a)](_0x25d942);}[_0x29204f(0x35d)](_0x212338){const _0x372045=_0x29204f,{memberID:_0x5eb309}=_0x212338[_0x372045(0x1af)],_0x5eb0f2=this['cursorInfo'];_0x5eb0f2['delete'](_0x5eb309),this['_cursorInfo$']['next'](_0x5eb0f2);}[_0x29204f(0x2db)](_0x1e6f4c,_0x461be4){const _0x413b9a=_0x29204f;var _0x3c24b4,_0x1ae510;const _0x204972=(_0x1ae510=(_0x3c24b4=this[_0x413b9a(0x472)][_0x413b9a(0x1b9)](this[_0x413b9a(0x4a6)]))==null?void 0x0:_0x3c24b4[_0x413b9a(0x51b)](_0x1e6f4c))==null?void 0x0:_0x1ae510['getMergeData']();return(_0x204972==null?void 0x0:_0x204972[_0x413b9a(0x3e2)](_0x2c1b1e=>_0x580a72[_0x413b9a(0x20f)](_0x2c1b1e,_0x461be4)))||_0x461be4;}['_onRefRangeChange'](){const _0x2cba9a=_0x29204f,_0xcda021=new _0x4fd609(),_0x21e546=Uo(),_0x1d1e85=()=>{const _0x202fa0=_0x5d6c;_0xcda021['dispose']();const _0xd76040=(_0xef9c07,_0x218a3d,_0x51f020,_0x48cad2)=>{const _0xc3d753=_0x5d6c;let _0x2b6549=[];switch(_0xef9c07['id']){case _0x33f806['DeleteRangeMoveLeftCommandId']:{_0x2b6549=_0x514b3c(_0xef9c07,_0x48cad2);break;}case _0x33f806[_0xc3d753(0x41b)]:{_0x2b6549=_0x2a464d(_0xef9c07,_0x48cad2);break;}case _0x33f806[_0xc3d753(0x35b)]:{_0x2b6549=_0x467581(_0xef9c07,_0x48cad2);break;}case _0x33f806[_0xc3d753(0x430)]:{_0x2b6549=_0x32661a(_0xef9c07,_0x48cad2);break;}case _0x33f806[_0xc3d753(0x50d)]:{_0x2b6549=_0x164a25(_0xef9c07,_0x48cad2);break;}case _0x33f806[_0xc3d753(0x262)]:{_0x2b6549=_0x534953(_0xef9c07,_0x48cad2);break;}case _0x33f806[_0xc3d753(0x489)]:{_0x2b6549=_0x41d27b(_0xef9c07,_0x48cad2);break;}case _0x33f806[_0xc3d753(0x40b)]:{_0x2b6549=_0x57d65c(_0xef9c07,_0x48cad2);break;}case _0x33f806[_0xc3d753(0x3b5)]:{_0x2b6549=_0x29aec6(_0xef9c07,_0x48cad2);break;}}const _0x587924=_0x2ed175(_0x2b6549,_0x48cad2),_0x5116b8=this['cursorInfo'][_0xc3d753(0x19e)](_0x218a3d);if(_0x5116b8&&_0x587924){const _0x47ceff={..._0x5116b8,'range':_0x587924};this['cursorInfo']['set'](_0x218a3d,_0x47ceff),_0x21e546(()=>{const _0x50e92a=_0xc3d753,_0x39d586=this[_0x50e92a(0x1b2)][_0x50e92a(0x37e)](_0x587924,_0x126465=>(_0x39d586[_0x50e92a(0x1db)](),_0xd76040(_0x126465,_0x218a3d,_0x51f020,_0x587924)));_0xcda021[_0x50e92a(0x525)](_0x39d586);});}return{'redos':[],'undos':[]};};this[_0x202fa0(0x2ed)][_0x202fa0(0x4a0)]((_0x11ebba,_0x18b70d)=>{const _0x1b3e4c=_0x202fa0,{range:_0x18fd98,sheetID:_0x239a66}=_0x11ebba,_0x589734=this[_0x1b3e4c(0x1b2)][_0x1b3e4c(0x37e)](_0x18fd98,_0x43bf8c=>(_0x589734[_0x1b3e4c(0x1db)](),_0xd76040(_0x43bf8c,_0x18b70d,_0x239a66,_0x18fd98)));_0xcda021[_0x1b3e4c(0x525)](_0x589734);});};this[_0x2cba9a(0x1ba)](_0x239c52(this['_cursorInfo$'][_0x2cba9a(0x388)](()=>{_0x1d1e85();})));}[_0x29204f(0x389)](){const _0x3b8b28=_0x29204f;var _0x4e6528,_0x2edc22;if(this[_0x3b8b28(0x2ca)]=!0x0,((_0x4e6528=this[_0x3b8b28(0x472)][_0x3b8b28(0x48b)]())==null?void 0x0:_0x4e6528[_0x3b8b28(0x335)]())!==this[_0x3b8b28(0x4a6)])return;const _0x20197a=(_0x2edc22=this[_0x3b8b28(0x501)][_0x3b8b28(0x19e)](_0x4aa850)[_0x3b8b28(0x3ea)]())==null?void 0x0:_0x2edc22[0x0],_0x336ede=this[_0x3b8b28(0x472)][_0x3b8b28(0x2d2)](_0x5e8949[_0x3b8b28(0x27e)])[_0x3b8b28(0x52d)]();_0x20197a&&_0x336ede&&this[_0x3b8b28(0x20d)](_0x336ede[_0x3b8b28(0x316)](),_0x20197a);}[_0x29204f(0x41e)](){const _0x283563=_0x29204f;this[_0x283563(0x2ca)]=!0x1;}};rs=wo([Be(0x2,_0x31a227(_0x3ada64)),Be(0x3,_0x31a227(bs)),Be(0x4,_0x31a227(Ne)),Be(0x5,_0x1a11e5),Be(0x6,_0x1f9396),Be(0x7,_0x31a227(_0x23b58f))],rs);var No=Object[_0x29204f(0x51a)],Ao=Object['getOwnPropertyDescriptor'],Mo=(_0x269901,_0x445252,_0x4b6c68,_0x52b28b)=>{const _0x42b999=_0x29204f;for(var _0x5aede2=_0x52b28b>0x1?void 0x0:_0x52b28b?Ao(_0x445252,_0x4b6c68):_0x445252,_0x253438=_0x269901[_0x42b999(0x2f0)]-0x1,_0x3fe240;_0x253438>=0x0;_0x253438--)(_0x3fe240=_0x269901[_0x253438])&&(_0x5aede2=(_0x52b28b?_0x3fe240(_0x445252,_0x4b6c68,_0x5aede2):_0x3fe240(_0x5aede2))||_0x5aede2);return _0x52b28b&&_0x5aede2&&No(_0x445252,_0x4b6c68,_0x5aede2),_0x5aede2;},$t=(_0x173e90,_0x12069f)=>(_0x51d713,_0x44211e)=>_0x12069f(_0x51d713,_0x44211e,_0x173e90);let Ve=class extends _0x3823d2{constructor(_0x53990c,_0x333409,_0xc4d183){const _0x2c44d2=_0x29204f;super(),g(this,_0x2c44d2(0x500),new Map()),g(this,'_entityInit$',new _0x5c0e09()),(this[_0x2c44d2(0x472)]=_0x53990c,this['_injector']=_0x333409,this[_0x2c44d2(0x34f)]=_0xc4d183,this[_0x2c44d2(0x4ae)]());}['dispose'](){const _0x5f346f=_0x29204f;super[_0x5f346f(0x1db)](),this['_entityInit$'][_0x5f346f(0x1a6)](),this[_0x5f346f(0x500)]['forEach'](_0xb8f9b0=>_0xb8f9b0[_0x5f346f(0x1db)]());}['getCollabCursors$'](_0xec815f){const _0x360a40=_0x29204f;return this[_0x360a40(0x500)]['has'](_0xec815f)?this[_0x360a40(0x500)]['get'](_0xec815f)['cursorInfo$']:this[_0x360a40(0x1f6)][_0x360a40(0x457)](_0x35e38e(_0x2f3838=>_0x2f3838[_0x360a40(0x4a6)]===_0xec815f),_0x481a9a(_0x18f435=>_0x18f435['cursorInfo$']));}[_0x29204f(0x4ae)](){const _0x4db968=_0x29204f;this[_0x4db968(0x472)][_0x4db968(0x543)](_0x5e8949['UNIVER_SHEET'])[_0x4db968(0x457)](_0x4b7102(this['dispose$']))[_0x4db968(0x388)](async _0x4ca9cc=>{const _0x27ff96=_0x4db968,_0x8b496a=_0x4ca9cc[_0x27ff96(0x335)](),_0x109689=await this['_startSheetCollabCursor'](_0x8b496a);this[_0x27ff96(0x1f6)][_0x27ff96(0x27a)](_0x109689),this[_0x27ff96(0x500)][_0x27ff96(0x4b7)](_0x8b496a,_0x109689);}),this[_0x4db968(0x472)][_0x4db968(0x543)](_0x5e8949['UNIVER_DOC'])['pipe'](_0x4b7102(this['dispose$']))['pipe'](_0x35e38e(_0x582197=>!_0x582197[_0x4db968(0x335)]()[_0x4db968(0x586)]('__')))['subscribe'](async _0x253ef6=>{const _0x561e42=_0x4db968,_0x489a78=_0x253ef6[_0x561e42(0x335)](),_0x2ff654=await this[_0x561e42(0x4b2)](_0x489a78);this['_entityInit$']['next'](_0x2ff654),this[_0x561e42(0x500)]['set'](_0x489a78,_0x2ff654);}),_0x5924a9(this[_0x4db968(0x472)][_0x4db968(0x574)](_0x5e8949[_0x4db968(0x3e8)]),this[_0x4db968(0x472)][_0x4db968(0x574)](_0x5e8949[_0x4db968(0x27e)]))['pipe'](_0x4b7102(this[_0x4db968(0x58b)]))[_0x4db968(0x388)](_0x51285d=>{const _0x4601de=_0x4db968,_0x5dd369=_0x51285d[_0x4601de(0x335)](),_0x1f107f=this['_entities'][_0x4601de(0x19e)](_0x5dd369);_0x1f107f&&(_0x1f107f[_0x4601de(0x1db)](),this[_0x4601de(0x500)]['delete'](_0x5dd369));});}async['_startSheetCollabCursor'](_0x448088){const _0x4338df=_0x29204f,_0x4b7675=await this[_0x4338df(0x34f)]['requireSession'](_0x448088),_0x44e3cf=this['_injector'][_0x4338df(0x49e)](rs,_0x448088,_0x4b7675);return _0x44e3cf[_0x4338df(0x195)](),_0x44e3cf;}async[_0x29204f(0x4b2)](_0x4e0573){const _0x2150f3=_0x29204f,_0x538a1a=await this['_collabSessionService']['requireSession'](_0x4e0573),_0x1ac53b=this[_0x2150f3(0x501)][_0x2150f3(0x49e)](ns,_0x4e0573,_0x538a1a);return _0x1ac53b[_0x2150f3(0x195)](),_0x1ac53b;}};Ve=Mo([$t(0x0,_0x1a11e5),$t(0x1,_0x31a227(_0x3ada64)),$t(0x2,_0x31a227(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0x23bb10,_0x2516d0){const _0x5df333=_0x29204f;let {radius:_0x19ab2a,width:_0x2252e0,height:_0x39d574}=_0x2516d0;_0x19ab2a=_0x19ab2a!=null?_0x19ab2a:0x0,_0x2252e0=_0x2252e0!=null?_0x2252e0:0x1e,_0x39d574=_0x39d574!=null?_0x39d574:0x1e;let _0x2040c0=0x0,_0x56b08b=0x0,_0x43296c=0x0;_0x2040c0=_0x56b08b=_0x43296c=Math[_0x5df333(0x3ee)](_0x19ab2a,_0x2252e0/0x2,_0x39d574/0x2),_0x23bb10[_0x5df333(0x3a8)](),_0x23bb10[_0x5df333(0x48d)](_0x2040c0,0x0),_0x23bb10['lineTo'](_0x2252e0-_0x56b08b,0x0),_0x23bb10[_0x5df333(0x36a)](_0x2252e0-_0x56b08b,_0x56b08b,_0x56b08b,Math['PI']*0x3/0x2,0x0,!0x1),_0x23bb10[_0x5df333(0x52a)](_0x2252e0,_0x39d574-_0x43296c),_0x23bb10['arc'](_0x2252e0-_0x43296c,_0x39d574-_0x43296c,_0x43296c,0x0,Math['PI']/0x2,!0x1),_0x23bb10[_0x5df333(0x52a)](0x0,_0x39d574),_0x23bb10[_0x5df333(0x52a)](0x0,_0x2040c0),_0x23bb10['arc'](_0x2040c0,_0x2040c0,_0x2040c0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x23bb10[_0x5df333(0x57c)](),_0x2516d0[_0x5df333(0x4d1)]&&(_0x23bb10[_0x5df333(0x391)](),_0x23bb10[_0x5df333(0x483)]=_0x2516d0[_0x5df333(0x4d1)],_0x2516d0['fillRule']===_0x5df333(0x49b)?_0x23bb10[_0x5df333(0x4d1)](_0x5df333(0x49b)):_0x23bb10[_0x5df333(0x4d1)](),_0x23bb10['restore']());}class Ot extends _0x58ae8b{constructor(_0x66e4a6,_0x21842f){const _0x301144=_0x29204f;super(_0x66e4a6,_0x21842f),g(this,_0x301144(0x231)),g(this,_0x301144(0x259)),(this['color']=_0x21842f==null?void 0x0:_0x21842f[_0x301144(0x231)],this['text']=_0x21842f==null?void 0x0:_0x21842f['text']);}static['drawWith'](_0x2d1be4,_0x262698){const _0x4e5168=_0x29204f,{text:_0x1ae985,color:_0x252dcb}=_0x262698;_0x2d1be4[_0x4e5168(0x391)](),_0x2d1be4[_0x4e5168(0x37b)]=_0x4e5168(0x553);const _0x140793=_0x2d1be4[_0x4e5168(0x31e)](_0x1ae985)[_0x4e5168(0x560)],_0x111e52=Math[_0x4e5168(0x3ee)](_0x140793+0x2*Ht,Ys);Lo(_0x2d1be4,{'height':nt,'radius':0x4,'width':_0x111e52,'fill':_0x252dcb,'evented':!0x1}),_0x2d1be4[_0x4e5168(0x483)]=_0x4e5168(0x56f);const _0x50e07e=Ht,_0x1a4a95=nt-xo,_0x2f31a3=Ys-0x2*Ht;if(_0x140793>_0x2f31a3){let _0x23576f='',_0x52f303=0x0;for(const _0x48889e of _0x1ae985){const _0x2504ec=_0x2d1be4['measureText'](_0x48889e)['width'];if(_0x52f303+_0x2504ec<=_0x2f31a3-_0x2d1be4[_0x4e5168(0x31e)]('...')['width'])_0x23576f+=_0x48889e,_0x52f303+=_0x2504ec;else{_0x23576f+='...';break;}}_0x2d1be4[_0x4e5168(0x3fa)](_0x23576f,_0x50e07e,_0x1a4a95);}else _0x2d1be4[_0x4e5168(0x3fa)](_0x1ae985,_0x50e07e,_0x1a4a95);_0x2d1be4[_0x4e5168(0x235)]();}[_0x29204f(0x30a)](_0x4518b9){Ot['drawWith'](_0x4518b9,this);}}const jt='collab-text-anchor-',$o=_0x29204f(0x415),Ho=_0x29204f(0x4ec),Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko=_0x29204f(0x5a7);class Ks{constructor(_0x1ff30a,_0x42e09b,_0x2d3ffa,_0x18dc00){const _0xe91b=_0x29204f;g(this,_0xe91b(0x22c),[]),g(this,'_anchor',null),g(this,_0xe91b(0x3ad),null),g(this,_0xe91b(0x484),null),g(this,_0xe91b(0x2af),null),g(this,_0xe91b(0x293),null),(this['_cursor']=_0x1ff30a,this[_0xe91b(0x303)]=_0x42e09b,this[_0xe91b(0x454)]=_0x2d3ffa,this[_0xe91b(0x19b)]=_0x18dc00,this[_0xe91b(0x292)]());}set[_0x29204f(0x25f)](_0x390a13){const _0x606f5a=_0x29204f;_0x390a13?(this[_0x606f5a(0x484)]&&this[_0x606f5a(0x484)][_0x606f5a(0x59c)](),this['_textBubble']&&this[_0x606f5a(0x3ad)]['show']()):(this[_0x606f5a(0x484)]&&this[_0x606f5a(0x484)][_0x606f5a(0x4ad)](),this['_textBubble']&&this[_0x606f5a(0x3ad)][_0x606f5a(0x59c)]());}['dispose'](){const _0x5f5b75=_0x29204f;for(const _0x270140 of this[_0x5f5b75(0x22c)])_0x270140[_0x5f5b75(0x1db)]();this[_0x5f5b75(0x3ad)]&&this[_0x5f5b75(0x3ad)]['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x5f5b75(0x1db)](),this[_0x5f5b75(0x1d7)]&&this[_0x5f5b75(0x1d7)]['dispose'](),this[_0x5f5b75(0x293)]&&this[_0x5f5b75(0x293)]();}[_0x29204f(0x292)](){const _0x21e939=_0x29204f;var _0x1b444d;const {_docSkeleton:_0xdaa54d,_document:_0x443a6b}=this,{color:_0x1c9dfb,name:_0x162d4b,ranges:_0x1c4a68}=this[_0x21e939(0x207)],_0x42a5c7=_0x443a6b[_0x21e939(0x216)](),{docsLeft:_0x12a2b5,docsTop:_0x3bdba1}=_0x42a5c7,_0x384953=new _0x5e2d9d(_0x42a5c7,_0xdaa54d);for(const {startOffset:_0x160d33,endOffset:_0x516fd3,rangeType:_0x58123e,segmentId:_0x477dc7,segmentPage:_0x2e289c,collapsed:_0x5aa2f1,isActive:_0x45f5e3}of _0x1c4a68){const _0x38d86b=_0xdaa54d[_0x21e939(0x366)](_0x160d33,!0x0,_0x477dc7,_0x2e289c);let _0x1cdea7=_0xdaa54d[_0x21e939(0x366)](_0x516fd3,!0x0,_0x477dc7,_0x2e289c);if(_0x1cdea7==null&&(_0x1cdea7=_0xdaa54d[_0x21e939(0x366)](_0x516fd3-0x1,!0x1,_0x477dc7,_0x2e289c)),_0x45f5e3){const {contentBoxPointGroup:_0x2e4adc}=_0x384953[_0x21e939(0x1e7)](_0x1cdea7,_0x1cdea7);if(_0x2e4adc[_0x21e939(0x2f0)]===0x0)continue;this[_0x21e939(0x581)](_0x1c9dfb,_0x2e4adc,_0x12a2b5,_0x3bdba1,_0x162d4b),this[_0x21e939(0x293)]=this[_0x21e939(0x227)]();}if(!_0x5aa2f1&&_0x38d86b&&_0x1cdea7){if(_0x58123e===_0x362093[_0x21e939(0x1bd)]){const _0x8639c5=new _0x32e2ad(_0x42a5c7,_0xdaa54d),{pointGroup:_0x3f34be}=(_0x1b444d=_0x8639c5[_0x21e939(0x1e7)](_0x38d86b,_0x1cdea7))!=null?_0x1b444d:{};if(_0x3f34be==null||_0x3f34be[_0x21e939(0x2f0)]===0x0)continue;this[_0x21e939(0x4e5)](_0x1c9dfb,_0x3f34be,_0x12a2b5,_0x3bdba1);}else{const {borderBoxPointGroup:_0x521604}=_0x384953[_0x21e939(0x1e7)](_0x38d86b,_0x1cdea7);if(_0x521604[_0x21e939(0x2f0)]===0x0)continue;this[_0x21e939(0x43f)](_0x1c9dfb,_0x521604,_0x12a2b5,_0x3bdba1);}}}}[_0x29204f(0x581)](_0x25a44b,_0x309221,_0x1926ba,_0x246c2c,_0x1de7a3){const _0x30bd6d=_0x29204f,_0x4e633f=this[_0x30bd6d(0x3eb)](_0x309221),{left:_0x130d79,top:_0x7057dc,height:_0x126912}=_0x4e633f,_0x4f3ef7=this['_getScale'](),_0x18b320=Bo/_0x4f3ef7,_0x1b5fad=new _0x471a33(jt+_0x572bca[_0x30bd6d(0x584)](Je),{'left':_0x130d79+_0x1926ba-_0x18b320,'top':_0x7057dc+_0x246c2c,'height':_0x126912,'width':jo,'fill':_0x25a44b||_0x13b5bd(_0x599565[_0x30bd6d(0x2e8)],0x0),'strokeWidth':_0x18b320,'stroke':ko,'evented':!0x0});this[_0x30bd6d(0x1d7)]=_0x1b5fad,this[_0x30bd6d(0x303)][_0x30bd6d(0x3d6)](_0x1b5fad,_0x41121f);const _0x7ccc7a=new _0x471a33(jt+_0x572bca[_0x30bd6d(0x584)](Je),{'left':_0x130d79+_0x1926ba-_0x18b320,'top':_0x7057dc+_0x246c2c-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x25a44b||_0x13b5bd(_0x599565[_0x30bd6d(0x2e8)],0x0),'strokeWidth':0x0,'stroke':_0x25a44b||_0x13b5bd(_0x599565['black'],0x0),'evented':!0x1});this[_0x30bd6d(0x484)]=_0x7ccc7a,this[_0x30bd6d(0x303)][_0x30bd6d(0x3d6)](_0x7ccc7a,_0x41121f);const _0x2c6729=new Ot(jt+_0x572bca[_0x30bd6d(0x584)](Je),{'left':_0x130d79+_0x1926ba-_0x18b320,'top':_0x7057dc+_0x246c2c-nt,'text':_0x1de7a3,'color':_0x25a44b});this[_0x30bd6d(0x3ad)]=_0x2c6729,this[_0x30bd6d(0x303)][_0x30bd6d(0x3d6)](_0x2c6729,_0x41121f),this['_hover']=!0x1;}[_0x29204f(0x227)](){const _0x2ccd89=_0x29204f,_0x2931f3=this['_anchor'][_0x2ccd89(0x4fe)][_0x2ccd89(0x38d)](()=>{const _0x1134e3=_0x2ccd89;this[_0x1134e3(0x25f)]=!0x0;}),_0x115eeb=this[_0x2ccd89(0x1d7)][_0x2ccd89(0x208)][_0x2ccd89(0x38d)](()=>{const _0x2a7009=_0x2ccd89;this[_0x2a7009(0x2af)]&&clearTimeout(this['_hideTimer']),this[_0x2a7009(0x2af)]=setTimeout(()=>{const _0xd079a5=_0x2a7009;this[_0xd079a5(0x25f)]=!0x1;},0x7d0);});return()=>{const _0x62f95=_0x2ccd89;_0x2931f3[_0x62f95(0x2b8)](),_0x115eeb[_0x62f95(0x2b8)]();};}[_0x29204f(0x43f)](_0x5124e5,_0x2852ca,_0x79ea37,_0xf6b6f){const _0x418a27=_0x29204f,_0x50a5db=new _0x4393a4(_0x5124e5)[_0x418a27(0x337)](0.2)[_0x418a27(0x357)](),_0x3bcf90=new _0x5cdea5($o+_0x572bca[_0x418a27(0x584)](Je),{'pointsGroup':_0x2852ca,'fill':_0x50a5db||_0x13b5bd(_0x599565[_0x418a27(0x2e8)],0.2),'left':_0x79ea37,'top':_0xf6b6f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x418a27(0x22c)][_0x418a27(0x523)](_0x3bcf90),this['_scene'][_0x418a27(0x3d6)](_0x3bcf90,_0x41121f);}['_drawRectRange'](_0x35cfd2,_0x23134a,_0x5c7c53,_0x2c197a){const _0x283e18=_0x29204f,_0x26b72a=new _0x4393a4(_0x35cfd2)[_0x283e18(0x337)](0.2)[_0x283e18(0x357)](),_0x270e4e=new _0x5cdea5(Ho+_0x572bca[_0x283e18(0x584)](Je),{'pointsGroup':_0x23134a,'fill':_0x26b72a||_0x13b5bd(_0x599565[_0x283e18(0x2e8)],0.2),'left':_0x5c7c53,'top':_0x2c197a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x283e18(0x22c)][_0x283e18(0x523)](_0x270e4e),this[_0x283e18(0x303)]['addObject'](_0x270e4e,_0x41121f);}[_0x29204f(0x3eb)](_0x3ed770){const _0x23222c=_0x3ed770[0x0],_0x3ed2bb=_0x23222c[0x0],_0x283623=_0x23222c[0x2],{x:_0x205aa8,y:_0xbbbb0f}=_0x3ed2bb,{x:_0x1f8c48,y:_0x3cf779}=_0x283623;return{'left':_0x205aa8,'top':_0xbbbb0f,'width':_0x1f8c48-_0x205aa8,'height':_0x3cf779-_0xbbbb0f};}[_0x29204f(0x265)](){const _0x3cc19d=_0x29204f,{scaleX:_0x117280,scaleY:_0x3d772b}=this[_0x3cc19d(0x303)]['getAncestorScale']();return Math['max'](_0x117280,_0x3d772b);}}var Wo=Object[_0x29204f(0x51a)],Fo=Object[_0x29204f(0x424)],Vo=(_0x25a9ae,_0x2baaa7,_0x1c4dc8,_0x5397de)=>{const _0x5b8b24=_0x29204f;for(var _0x1aa894=_0x5397de>0x1?void 0x0:_0x5397de?Fo(_0x2baaa7,_0x1c4dc8):_0x2baaa7,_0x325f45=_0x25a9ae[_0x5b8b24(0x2f0)]-0x1,_0x420eb0;_0x325f45>=0x0;_0x325f45--)(_0x420eb0=_0x25a9ae[_0x325f45])&&(_0x1aa894=(_0x5397de?_0x420eb0(_0x2baaa7,_0x1c4dc8,_0x1aa894):_0x420eb0(_0x1aa894))||_0x1aa894);return _0x5397de&&_0x1aa894&&Wo(_0x2baaa7,_0x1c4dc8,_0x1aa894),_0x1aa894;},ht=(_0x40fec7,_0x3c182c)=>(_0x355ec0,_0x532e37)=>_0x3c182c(_0x355ec0,_0x532e37,_0x40fec7);let os=class extends _0x3823d2{constructor(_0x2cbab9,_0x52d28a,_0x15d0e2,_0x453797,_0x178c70){const _0x59c605=_0x29204f;super(),g(this,'_cursorShapes',[]),g(this,_0x59c605(0x435),[]),(this[_0x59c605(0x2a3)]=_0x2cbab9,this[_0x59c605(0x47e)]=_0x52d28a,this[_0x59c605(0x1f8)]=_0x15d0e2,this[_0x59c605(0x3da)]=_0x453797,this[_0x59c605(0x58f)]=_0x178c70,this[_0x59c605(0x4ae)]());}[_0x29204f(0x4ae)](){const _0x5b5bbb=_0x29204f,_0x5dd1fa=this[_0x5b5bbb(0x2a3)]['unitId'],_0x2ee400=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x55b0dc([this[_0x5b5bbb(0x1f8)]['getCollabCursors$'](_0x5dd1fa),this[_0x5b5bbb(0x58f)][_0x5b5bbb(0x2ef)]])[_0x5b5bbb(0x457)](_0x2057c1(([_0x369117,_0x223215])=>({'skeleton':_0x2ee400['getSkeleton'](),'cursors':[..._0x369117[_0x5b5bbb(0x593)]()]['flatMap'](_0x1c80b2=>({..._0x1c80b2,'color':_0x223215[_0x1c80b2[_0x5b5bbb(0x231)]]}))})))['subscribe'](_0x2f2d22=>{const _0x43d758=_0x5b5bbb;if(this['_removeCollabCursors'](),_0x2f2d22){const {skeleton:_0x1ca0c3,cursors:_0xcb73a}=_0x2f2d22;this[_0x43d758(0x352)](_0x1ca0c3,_0xcb73a);}})),this[_0x5b5bbb(0x55f)](),this[_0x5b5bbb(0x413)]();}[_0x29204f(0x352)](_0x3b5c22,_0x3e7524){const _0x228a95=_0x29204f,{scene:_0x44206a,mainComponent:_0x274d4b}=this[_0x228a95(0x2a3)],_0x57e3f7=_0x3e7524[_0x228a95(0x43c)](_0x302403=>new Ks(_0x302403,_0x44206a,_0x3b5c22,_0x274d4b));this['_cursorShapes']=_0x57e3f7,this[_0x228a95(0x435)]=_0x3e7524;}['_refreshCollabCursors'](){const _0x2debae=_0x29204f;this['_removeCollabCursors']();const {scene:_0x419edb,mainComponent:_0x46153a}=this['_context'],_0x311e9a=this[_0x2debae(0x47e)][_0x2debae(0x1f5)](),_0x7ec00d=this['_cursors'][_0x2debae(0x43c)](_0x9b5cbe=>new Ks(_0x9b5cbe,_0x419edb,_0x311e9a,_0x46153a));this[_0x2debae(0x41c)]=_0x7ec00d;}['_removeCollabCursors'](){const _0x4a8263=_0x29204f;this[_0x4a8263(0x41c)][_0x4a8263(0x4a0)](_0x319719=>_0x319719[_0x4a8263(0x1db)]()),this[_0x4a8263(0x41c)]=[];}[_0x29204f(0x413)](){const _0x55b42e=_0x29204f,_0x549f8f=[_0x2a560c['id']];this[_0x55b42e(0x1ba)](this[_0x55b42e(0x3da)]['onCommandExecuted'](_0x5d74a6=>{const _0x4e3707=_0x55b42e;_0x549f8f[_0x4e3707(0x40a)](_0x5d74a6['id'])&&_0x5d74a6[_0x4e3707(0x499)][_0x4e3707(0x1fb)]===this[_0x4e3707(0x2a3)][_0x4e3707(0x1fb)]&&this[_0x4e3707(0x4e4)]();}));}['_initResize'](){const _0x147569=_0x29204f;this[_0x147569(0x1ba)](_0x56e5f4(this[_0x147569(0x2a3)][_0x147569(0x4cb)][_0x147569(0x24c)])[_0x147569(0x457)](_0xeba3c2(_0x4f0d9c=>_0x4f0d9c['type']===_0x23f0d1[_0x147569(0x4eb)]),_0x5da6f1(0x10))[_0x147569(0x388)](()=>{const _0x50811a=_0x147569;this[_0x50811a(0x4e4)]();}));}};os=Vo([ht(0x1,_0x31a227(_0x13a800)),ht(0x2,_0x31a227(Ve)),ht(0x3,_0x1f9396),ht(0x4,_0x31a227(_0x58d887))],os);const Go=0x1,Yo=1.5;class Ko extends _0x58ae8b{constructor(_0x43dfa5,_0x501a1b){const _0x6d1c25=_0x29204f;super(_0x43dfa5,_0x501a1b),g(this,_0x6d1c25(0x24f)),g(this,_0x6d1c25(0x527),!0x1),g(this,_0x6d1c25(0x4fc)),g(this,_0x6d1c25(0x378),''),g(this,_0x6d1c25(0x36f),_0x6d1c25(0x4be)),g(this,_0x6d1c25(0x563)),(_0x501a1b&&this[_0x6d1c25(0x573)](_0x501a1b),this[_0x6d1c25(0x4fe)][_0x6d1c25(0x38d)](()=>this[_0x6d1c25(0x573)]({'hovered':!0x0})),this[_0x6d1c25(0x208)][_0x6d1c25(0x38d)](()=>this[_0x6d1c25(0x573)]({'hovered':!0x1})));}[_0x29204f(0x573)](_0xfaf6e7){const _0x2ba44a=_0x29204f;var _0x12d826,_0xaab806,_0x35041e,_0x4f70e6,_0x385428,_0xdb55e1;this[_0x2ba44a(0x24f)]=(_0x12d826=_0xfaf6e7['color'])!=null?_0x12d826:this['_color'],this[_0x2ba44a(0x527)]=(_0xaab806=_0xfaf6e7[_0x2ba44a(0x26b)])!=null?_0xaab806:this[_0x2ba44a(0x527)],this[_0x2ba44a(0x4fc)]=(_0x35041e=_0xfaf6e7[_0x2ba44a(0x4a8)])!=null?_0x35041e:this[_0x2ba44a(0x4fc)],this[_0x2ba44a(0x378)]=(_0x4f70e6=_0xfaf6e7[_0x2ba44a(0x26d)])!=null?_0x4f70e6:this[_0x2ba44a(0x378)],this[_0x2ba44a(0x36f)]=(_0x385428=_0xfaf6e7[_0x2ba44a(0x1d1)])!=null?_0x385428:this[_0x2ba44a(0x36f)],this[_0x2ba44a(0x563)]=(_0xdb55e1=_0xfaf6e7['backgroundColor'])!=null?_0xdb55e1:this[_0x2ba44a(0x563)],this[_0x2ba44a(0x30b)]({'width':_0xfaf6e7[_0x2ba44a(0x560)],'height':_0xfaf6e7[_0x2ba44a(0x236)]});}[_0x29204f(0x2dc)](_0x547589){const _0xff3d22=_0x29204f,{row:_0x247b3d,column:_0xda044a}=_0x547589;if(_0x247b3d>=this['_range']['startRow']&&_0x247b3d<=this[_0xff3d22(0x4fc)][_0xff3d22(0x51e)]&&_0xda044a>=this[_0xff3d22(0x4fc)][_0xff3d22(0x29a)]&&_0xda044a<=this['_range'][_0xff3d22(0x490)]){this[_0xff3d22(0x573)]({'hovered':!0x0});return;}this[_0xff3d22(0x573)]({'hovered':!0x1});}[_0x29204f(0x2eb)](_0x23cc42){return!0x1;}[_0x29204f(0x30a)](_0x11b5e3){const _0x4ab7dc=_0x29204f;_0x471a33[_0x4ab7dc(0x513)](_0x11b5e3,{'width':this[_0x4ab7dc(0x560)],'height':this[_0x4ab7dc(0x236)],'strokeWidth':Yo,'stroke':this[_0x4ab7dc(0x24f)],'evented':!0x1,'fill':this[_0x4ab7dc(0x563)]}),this[_0x4ab7dc(0x527)]&&(_0x11b5e3[_0x4ab7dc(0x391)](),_0x11b5e3[_0x4ab7dc(0x23e)](0x1,0x0,0x0,0x1,this[_0x4ab7dc(0x560)],this[_0x4ab7dc(0x36f)]===_0x4ab7dc(0x50e)?0x0:-nt),Ot[_0x4ab7dc(0x513)](_0x11b5e3,{'text':this['_name'],'color':this[_0x4ab7dc(0x24f)]}),_0x11b5e3['restore']());}}var zo=Object[_0x29204f(0x51a)],qo=Object[_0x29204f(0x424)],Xo=(_0x1a34c2,_0x13ab67,_0x46b648,_0x1d2678)=>{for(var _0x367c10=_0x1d2678>0x1?void 0x0:_0x1d2678?qo(_0x13ab67,_0x46b648):_0x13ab67,_0x4a4e33=_0x1a34c2['length']-0x1,_0x31cb1f;_0x4a4e33>=0x0;_0x4a4e33--)(_0x31cb1f=_0x1a34c2[_0x4a4e33])&&(_0x367c10=(_0x1d2678?_0x31cb1f(_0x13ab67,_0x46b648,_0x367c10):_0x31cb1f(_0x367c10))||_0x367c10);return _0x1d2678&&_0x367c10&&zo(_0x13ab67,_0x46b648,_0x367c10),_0x367c10;},kt=(_0x5cb0b9,_0x57f0df)=>(_0x2df31f,_0x15d9cb)=>_0x57f0df(_0x2df31f,_0x15d9cb,_0x5cb0b9);const Jo=0x1389;let as=class extends _0x3823d2{constructor(_0x14c360,_0x4c4510,_0x1c161d,_0x1bf53b){const _0x42186f=_0x29204f;super(),g(this,_0x42186f(0x435),new Set()),g(this,_0x42186f(0x496),null),(this[_0x42186f(0x2a3)]=_0x14c360,this[_0x42186f(0x2d1)]=_0x4c4510,this[_0x42186f(0x1f8)]=_0x1c161d,this[_0x42186f(0x58f)]=_0x1bf53b,this[_0x42186f(0x4ae)]());}[_0x29204f(0x4ae)](){const _0x506777=_0x29204f;this[_0x506777(0x2d1)][_0x506777(0x3b4)][_0x506777(0x457)](_0xa64c87(this[_0x506777(0x58b)]),_0x1a8fcb(_0x29edf2=>{const _0x5a2860=_0x506777;if(_0x29edf2){const _0x29f083=_0x29edf2[_0x5a2860(0x252)];return _0x55b0dc(this['_collabCursorController'][_0x5a2860(0x238)](this[_0x5a2860(0x2a3)][_0x5a2860(0x1fb)]),this[_0x5a2860(0x58f)][_0x5a2860(0x2ef)])[_0x5a2860(0x457)](_0x2057c1(([_0x26968c,_0x22e5c3])=>{const _0xf4f7a0=new Map();return _0x26968c['forEach']((_0x39933b,_0x4e59ce)=>{const _0x3506ef=_0x5d6c;if(_0x39933b[_0x3506ef(0x458)]===_0x29f083){const _0x51c323={..._0x39933b};_0x51c323['color']=_0x22e5c3[_0x39933b[_0x3506ef(0x231)]],_0xf4f7a0[_0x3506ef(0x4b7)](_0x4e59ce,_0x51c323);}}),{'skeleton':_0x29edf2,'cursors':_0xf4f7a0};}));}return _0x13a6f8({'skeleton':null,'cursors':new Map()});}))[_0x506777(0x388)](({skeleton:_0x3d452f,cursors:_0x3a4983})=>{const _0x24066c=_0x506777;this['_removeCollabCursors'](),_0x3d452f&&this[_0x24066c(0x352)](_0x3d452f,_0x3a4983);}),this[_0x506777(0x2d1)][_0x506777(0x3b4)]['subscribe'](_0x1956a9=>{const _0x15a97a=_0x506777;if(_0x1956a9==null)return;const {skeleton:_0x132c04}=_0x1956a9,{scene:_0x174a0b}=this[_0x15a97a(0x2a3)];_0x174a0b[_0x15a97a(0x476)][_0x15a97a(0x38d)](_0x164ec5(_0x2e02ca=>{const _0x1f014a=_0x15a97a;var _0x5f571b,_0x15666a;const {offsetX:_0xaea962,offsetY:_0x30be6b}=_0x2e02ca,{x:_0x50083a,y:_0x2e2a19}=_0x174a0b[_0x1f014a(0x3b1)](_0x45b5fa[_0x1f014a(0x296)]([_0xaea962,_0x30be6b])),{scaleX:_0x3056f5,scaleY:_0x4c63f3}=_0x174a0b['getAncestorScale'](),_0x2044c9=_0x174a0b[_0x1f014a(0x44d)](_0x3eef43[_0x1f014a(0x1a1)]),_0x7da898=_0x174a0b[_0x1f014a(0x4b4)](_0x45b5fa[_0x1f014a(0x296)]([_0x50083a,_0x2e2a19]),_0x2044c9),_0x57dba3=_0x132c04[_0x1f014a(0x4e8)](_0xaea962,_0x30be6b,_0x3056f5,_0x4c63f3,_0x7da898);((_0x5f571b=this[_0x1f014a(0x496)])==null?void 0x0:_0x5f571b['column'])===_0x57dba3[_0x1f014a(0x2a7)]&&((_0x15666a=this[_0x1f014a(0x496)])==null?void 0x0:_0x15666a[_0x1f014a(0x544)])===_0x57dba3['row']||this['_cursors'][_0x1f014a(0x4a0)](_0x35f33c=>{const _0x56e528=_0x1f014a;_0x35f33c[_0x56e528(0x2dc)](_0x57dba3);});},0x64));});}[_0x29204f(0x352)](_0x244061,_0x39abf3){const _0x5deb9f=_0x29204f;var _0x4f21c5;const _0x40f909=(_0x4f21c5=this[_0x5deb9f(0x2d1)]['getCurrent']())==null?void 0x0:_0x4f21c5[_0x5deb9f(0x3b3)];if(!_0x40f909)return;const _0x4cdb1d=this[_0x5deb9f(0x4ac)]();if(!_0x4cdb1d)return;this[_0x5deb9f(0x435)][_0x5deb9f(0x4a0)](_0x5ae2ff=>{_0x5ae2ff['makeDirty']();});const {scene:_0x3cc43f}=_0x4cdb1d,_0x53dd46=Zo(Array[_0x5deb9f(0x4c8)](_0x39abf3[_0x5deb9f(0x593)]()))['map'](_0x369f2e=>{const _0x700a85=_0x5deb9f,{color:_0x58b3c5,range:_0xd671da,name:_0x205433,selection:_0x28c566,sheetID:_0xb5f051}=_0x369f2e,{startColumn:_0x5764e0,startRow:_0x27d10e,endColumn:_0x4c6a3f,endRow:_0x307f48}=_0xd671da,_0x3ec24b=_0x105712(_0x27d10e,_0x5764e0,_0x3cc43f,_0x40f909),_0x2a1163=_0x105712(_0x307f48,_0x4c6a3f,_0x3cc43f,_0x40f909),{columnHeaderHeightAndMarginTop:_0x3d7bd6}=_0x40f909,{startX:_0x2ce373,startY:_0xc1616b}=_0x3ec24b,{endX:_0x3f2ce2,endY:_0x5a26aa}=_0x2a1163,_0x2b1014=_0x3f2ce2-_0x2ce373,_0x361116=_0x5a26aa-_0xc1616b,_0x1bc543={'labelPosition':_0xc1616b-_0x3d7bd6>=nt?'top':_0x700a85(0x50e),'sheetID':_0xb5f051,'range':_0xd671da,'color':_0x58b3c5,'name':_0x205433,'selection':_0x28c566,'left':_0x2ce373,'top':_0xc1616b,'width':_0x2b1014,'height':_0x361116,'evented':!0x1,'zIndex':Jo};return new Ko(_0x205433,_0x1bc543);});_0x3cc43f[_0x5deb9f(0x1a0)](_0x53dd46,Go),this[_0x5deb9f(0x435)]=new Set(_0x53dd46);}['_removeCollabCursors'](){const _0x25b9cb=_0x29204f;var _0x18c88f;(_0x18c88f=this[_0x25b9cb(0x435)])==null||_0x18c88f['forEach'](_0x520b7d=>_0x520b7d[_0x25b9cb(0x1db)]());}[_0x29204f(0x4ac)](){const _0x303512=_0x29204f;return _0x8e2227(this[_0x303512(0x2a3)][_0x303512(0x331)],this[_0x303512(0x2a3)]);}};as=Xo([kt(0x1,_0x31a227(_0x49cddf)),kt(0x2,_0x31a227(Ve)),kt(0x3,_0x31a227(_0x58d887))],as);function Zo(_0x24afc7){const _0x7980c8=_0x29204f,_0x1a6b67=new Map();return _0x24afc7[_0x7980c8(0x4a0)](_0x3e2a07=>{const _0x3f62a9=_0x7980c8;if(_0x1a6b67[_0x3f62a9(0x246)](_0x3e2a07[_0x3f62a9(0x1c5)])){const _0x44d99e=_0x1a6b67[_0x3f62a9(0x19e)](_0x3e2a07['selection']);_0x44d99e[_0x3f62a9(0x26d)]+=',\x20'+_0x3e2a07[_0x3f62a9(0x26d)];}else _0x1a6b67['set'](_0x3e2a07[_0x3f62a9(0x1c5)],_0x3e2a07);}),Array[_0x7980c8(0x4c8)](_0x1a6b67[_0x7980c8(0x593)]());}var ee=function(){return ee=Object['assign']||function(_0x21b2b3){const _0x46936d=_0x5d6c;for(var _0xe8fb0,_0x37cb3e=0x1,_0x3557f6=arguments[_0x46936d(0x2f0)];_0x37cb3e<_0x3557f6;_0x37cb3e++){_0xe8fb0=arguments[_0x37cb3e];for(var _0x384878 in _0xe8fb0)Object['prototype'][_0x46936d(0x2b4)][_0x46936d(0x321)](_0xe8fb0,_0x384878)&&(_0x21b2b3[_0x384878]=_0xe8fb0[_0x384878]);}return _0x21b2b3;},ee['apply'](this,arguments);},Qo=function(_0x33fbf3,_0x14a461){const _0x5a34c0=_0x29204f;var _0x31e2b7={};for(var _0xe10b54 in _0x33fbf3)Object[_0x5a34c0(0x559)][_0x5a34c0(0x2b4)]['call'](_0x33fbf3,_0xe10b54)&&_0x14a461[_0x5a34c0(0x3f9)](_0xe10b54)<0x0&&(_0x31e2b7[_0xe10b54]=_0x33fbf3[_0xe10b54]);if(_0x33fbf3!=null&&typeof Object[_0x5a34c0(0x34c)]=='function'){for(var _0x595008=0x0,_0xe10b54=Object[_0x5a34c0(0x34c)](_0x33fbf3);_0x595008<_0xe10b54['length'];_0x595008++)_0x14a461[_0x5a34c0(0x3f9)](_0xe10b54[_0x595008])<0x0&&Object[_0x5a34c0(0x559)][_0x5a34c0(0x3ac)][_0x5a34c0(0x321)](_0x33fbf3,_0xe10b54[_0x595008])&&(_0x31e2b7[_0xe10b54[_0x595008]]=_0x33fbf3[_0xe10b54[_0x595008]]);}return _0x31e2b7;},Ts=_0x4aa6cf(function(_0x10dee8,_0x40a47c){const _0x121cfc=_0x29204f;var _0x2c986d=_0x10dee8[_0x121cfc(0x461)],_0x5bbbc7=_0x10dee8['id'],_0x594123=_0x10dee8[_0x121cfc(0x270)],_0x9285ef=_0x10dee8[_0x121cfc(0x45e)],_0x543fce=Qo(_0x10dee8,['icon','id',_0x121cfc(0x270),_0x121cfc(0x45e)]),_0x251ba4=_0x121cfc(0x55a)['concat'](_0x5bbbc7,'\x20')[_0x121cfc(0x383)](_0x594123||'')[_0x121cfc(0x3dd)](),_0x4dc46b=_0x5ed0a5('_'[_0x121cfc(0x383)](sa()));return Mi(_0x2c986d,''[_0x121cfc(0x383)](_0x5bbbc7),{'defIds':_0x2c986d[_0x121cfc(0x1fc)],'idSuffix':_0x4dc46b[_0x121cfc(0x455)]},ee({'ref':_0x40a47c,'className':_0x251ba4},_0x543fce),_0x9285ef);});function Mi(_0x3c5e38,_0x26e43b,_0x52fc8e,_0x32593a,_0x3f520a){const _0x534524=_0x29204f;return _0x40dbfa(_0x3c5e38[_0x534524(0x3f6)],ee(ee({'key':_0x26e43b},ea(_0x3c5e38,_0x52fc8e,_0x3f520a)),_0x32593a),(ta(_0x3c5e38,_0x52fc8e)['children']||[])[_0x534524(0x43c)](function(_0x55aeb8,_0x5f0722){const _0x485075=_0x534524;return Mi(_0x55aeb8,''[_0x485075(0x383)](_0x26e43b,'-')[_0x485075(0x383)](_0x3c5e38[_0x485075(0x3f6)],'-')[_0x485075(0x383)](_0x5f0722),_0x52fc8e,void 0x0,_0x3f520a);}));}function ea(_0x38c5e2,_0x3b5d1a,_0x1a2e50){const _0x33fff2=_0x29204f;var _0x5a2f40=ee({},_0x38c5e2[_0x33fff2(0x1d5)]);_0x1a2e50!=null&&_0x1a2e50[_0x33fff2(0x4b8)]&&_0x5a2f40[_0x33fff2(0x4d1)]===_0x33fff2(0x4b8)&&(_0x5a2f40[_0x33fff2(0x4d1)]=_0x1a2e50[_0x33fff2(0x4b8)]);var _0x20e509=_0x3b5d1a[_0x33fff2(0x1fc)];return!_0x20e509||_0x20e509[_0x33fff2(0x2f0)]===0x0||(_0x38c5e2[_0x33fff2(0x3f6)]==='use'&&_0x5a2f40[_0x33fff2(0x1ce)]&&(_0x5a2f40[_0x33fff2(0x1ce)]=_0x5a2f40['xlink:href']+_0x3b5d1a[_0x33fff2(0x3de)]),Object['entries'](_0x5a2f40)['forEach'](function(_0x3bb432){const _0x3529c8=_0x33fff2;var _0x5d887d=_0x3bb432[0x0],_0x10cae4=_0x3bb432[0x1];typeof _0x10cae4==_0x3529c8(0x46f)&&(_0x5a2f40[_0x5d887d]=_0x10cae4[_0x3529c8(0x427)](/url\(#(.*)\)/,_0x3529c8(0x2de)[_0x3529c8(0x383)](_0x3b5d1a[_0x3529c8(0x3de)],')')));})),_0x5a2f40;}function ta(_0x4d76af,_0x3850e9){const _0x75285f=_0x29204f;var _0x24af09,_0xa925ff=_0x3850e9[_0x75285f(0x1fc)];return!_0xa925ff||_0xa925ff['length']===0x0?_0x4d76af:_0x4d76af[_0x75285f(0x3f6)]===_0x75285f(0x254)&&(!((_0x24af09=_0x4d76af['children'])===null||_0x24af09===void 0x0)&&_0x24af09[_0x75285f(0x2f0)])?ee(ee({},_0x4d76af),{'children':_0x4d76af['children'][_0x75285f(0x43c)](function(_0xa290dd){const _0x4d6d87=_0x75285f;return typeof _0xa290dd[_0x4d6d87(0x1d5)]['id']=='string'&&_0xa925ff&&_0xa925ff[_0x4d6d87(0x3f9)](_0xa290dd[_0x4d6d87(0x1d5)]['id'])>-0x1?ee(ee({},_0xa290dd),{'attrs':ee(ee({},_0xa290dd[_0x4d6d87(0x1d5)]),{'id':_0xa290dd[_0x4d6d87(0x1d5)]['id']+_0x3850e9[_0x4d6d87(0x3de)]})}):_0xa290dd;})}):_0x4d76af;}function sa(){const _0x377da4=_0x29204f;return Math[_0x377da4(0x1ac)]()['toString'](0x24)[_0x377da4(0x26f)](0x2,0x8);}Ts[_0x29204f(0x436)]=_0x29204f(0x2ae);var ia={'tag':_0x29204f(0x200),'attrs':{'fill':_0x29204f(0x307),'viewBox':'0\x200\x2016\x2016','width':_0x29204f(0x38f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x29204f(0x3c6)},'children':[{'tag':_0x29204f(0x595),'attrs':{'stroke':_0x29204f(0x381),'d':_0x29204f(0x33b),'strokeLinecap':'round','strokeLinejoin':_0x29204f(0x309),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x29204f(0x37c)},'children':[{'tag':'path','attrs':{'fill':_0x29204f(0x19d),'d':_0x29204f(0x494)}}]}]}],'defIds':[_0x29204f(0x37c)]},xi=_0x4aa6cf(function(_0x56f371,_0x14849b){const _0x384cc5=_0x29204f;return _0x40dbfa(Ts,Object[_0x384cc5(0x465)]({},_0x56f371,{'id':'off-line-single','ref':_0x14849b,'icon':ia}));});xi['displayName']='OffLineSingle';var na={'tag':_0x29204f(0x200),'attrs':{'fill':_0x29204f(0x307),'viewBox':_0x29204f(0x2a2),'width':_0x29204f(0x38f),'height':_0x29204f(0x38f)},'children':[{'tag':'g','attrs':{'clipPath':_0x29204f(0x32d)},'children':[{'tag':_0x29204f(0x595),'attrs':{'stroke':'currentColor','d':_0x29204f(0x3a1),'strokeLinecap':'round','strokeLinejoin':_0x29204f(0x309),'strokeWidth':1.2}}]},{'tag':_0x29204f(0x254),'attrs':{},'children':[{'tag':_0x29204f(0x272),'attrs':{'id':_0x29204f(0x2b0)},'children':[{'tag':_0x29204f(0x595),'attrs':{'fill':_0x29204f(0x19d),'d':_0x29204f(0x494),'transform':_0x29204f(0x2f8)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Li=_0x4aa6cf(function(_0x3c2e89,_0x383749){const _0x4e603b=_0x29204f;return _0x40dbfa(Ts,Object[_0x4e603b(0x465)]({},_0x3c2e89,{'id':_0x4e603b(0x393),'ref':_0x383749,'icon':na}));});Li[_0x29204f(0x436)]='OnLineSingle';function $i(_0x491a6d){const _0x452021=_0x29204f;var _0x515d3b,_0x2e3e08,_0x3a5937='';if(typeof _0x491a6d=='string'||typeof _0x491a6d==_0x452021(0x466))_0x3a5937+=_0x491a6d;else{if(typeof _0x491a6d==_0x452021(0x42d)){if(Array[_0x452021(0x212)](_0x491a6d)){var _0xddea9=_0x491a6d[_0x452021(0x2f0)];for(_0x515d3b=0x0;_0x515d3b<_0xddea9;_0x515d3b++)_0x491a6d[_0x515d3b]&&(_0x2e3e08=$i(_0x491a6d[_0x515d3b]))&&(_0x3a5937&&(_0x3a5937+='\x20'),_0x3a5937+=_0x2e3e08);}else{for(_0x2e3e08 in _0x491a6d)_0x491a6d[_0x2e3e08]&&(_0x3a5937&&(_0x3a5937+='\x20'),_0x3a5937+=_0x2e3e08);}}}return _0x3a5937;}function ra(){for(var _0x562268,_0x158778,_0x15c47a=0x0,_0x2470b7='',_0x2a7bf8=arguments['length'];_0x15c47a<_0x2a7bf8;_0x15c47a++)(_0x562268=arguments[_0x15c47a])&&(_0x158778=$i(_0x562268))&&(_0x2470b7&&(_0x2470b7+='\x20'),_0x2470b7+=_0x158778);return _0x2470b7;}const oa=_0x29204f(0x548),aa=_0x29204f(0x4da),ca='univer-online-status',ha=_0x29204f(0x2d5),la='univer-offline',Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _a(_0x5089a0){const _0xb368a5=_0x29204f;switch(_0x5089a0){case J[_0xb368a5(0x557)]:return'collabStatus.offline';case J[_0xb368a5(0x3e1)]:return _0xb368a5(0x4d9);case J[_0xb368a5(0x492)]:return _0xb368a5(0x196);case J[_0xb368a5(0x442)]:return _0xb368a5(0x515);case J[_0xb368a5(0x3a6)]:case J[_0xb368a5(0x355)]:return'collabStatus.syncing';case J['SYNCED']:case J['PENDING']:return _0xb368a5(0x3aa);}}function ua(_0x408534){const _0x3313ee=_0x29204f,{status$:_0x514a60}=_0x408534,_0x28ccc4=_0x262485(_0x514a60,J['NOT_COLLAB']),_0x350e23=_0xdca07e(_0x3da7c2),_0x2e83a1=_0xdca07e(Ae),_0x81012c=_0x28ccc4!==J[_0x3313ee(0x557)],_0x59c812=_0x350e23['t'](_a(_0x28ccc4)),_0x31e32d=ra(Ze[_0x3313ee(0x1d2)],{[Ze['online']]:_0x81012c,[Ze[_0x3313ee(0x234)]]:!_0x81012c}),_0xa812fa=_0x81012c?_0x2f9e0b[_0x3313ee(0x4d0)](Li,null):_0x2f9e0b[_0x3313ee(0x4d0)](xi,null),_0x5bbad8=_0x198b7e(()=>{const _0x3b5e44=_0x3313ee;_0x81012c||_0x2e83a1[_0x3b5e44(0x341)]();},[_0x81012c,_0x2e83a1]);function _0x21c5fc(){const _0x5471fc=_0x3313ee;return _0x2f9e0b[_0x5471fc(0x4d0)](_0x5471fc(0x2fe),{'className':_0x31e32d,'onClick':_0x5bbad8},_0x2f9e0b['createElement'](_0x5471fc(0x2fe),{'className':Ze[_0x5471fc(0x1e6)]},_0xa812fa),_0x2f9e0b[_0x5471fc(0x4d0)](_0x5471fc(0x2fe),{'className':Ze['onlineStatusTitle']},_0x59c812));}return _0x81012c?_0x21c5fc():_0x2f9e0b['createElement'](_0x5abc1a,{'title':_0x350e23['t'](_0x3313ee(0x356))},_0x21c5fc());}var da=Object['defineProperty'],fa=Object[_0x29204f(0x424)],va=(_0x2bf6f0,_0x3ed487,_0x4d597c,_0x5bcd9e)=>{const _0x19a627=_0x29204f;for(var _0x3ed932=_0x5bcd9e>0x1?void 0x0:_0x5bcd9e?fa(_0x3ed487,_0x4d597c):_0x3ed487,_0x24d59b=_0x2bf6f0[_0x19a627(0x2f0)]-0x1,_0x4cef2f;_0x24d59b>=0x0;_0x24d59b--)(_0x4cef2f=_0x2bf6f0[_0x24d59b])&&(_0x3ed932=(_0x5bcd9e?_0x4cef2f(_0x3ed487,_0x4d597c,_0x3ed932):_0x4cef2f(_0x3ed932))||_0x3ed932);return _0x5bcd9e&&_0x3ed932&&da(_0x3ed487,_0x4d597c,_0x3ed932),_0x3ed932;},lt=(_0x3b5d8f,_0x46eacd)=>(_0x2ae310,_0x5a6db4)=>_0x46eacd(_0x2ae310,_0x5a6db4,_0x3b5d8f);let It=class extends _0x2a7347{constructor(_0x35c295,_0x3c228e,_0x75deec,_0x1b413f){const _0x2a00c5=_0x29204f;super(),g(this,_0x2a00c5(0x325),new _0x4d53e2(J[_0x2a00c5(0x442)])),(this['_univerInstanceService']=_0x35c295,this[_0x2a00c5(0x285)]=_0x3c228e,this[_0x2a00c5(0x501)]=_0x75deec,this[_0x2a00c5(0x21e)]=_0x1b413f,this[_0x2a00c5(0x583)](),this[_0x2a00c5(0x32c)]());}['_initStatusListener'](){const _0x223940=_0x29204f;this[_0x223940(0x1ba)](this[_0x223940(0x472)]['focused$'][_0x223940(0x457)](_0x481a9a(()=>{const _0x3abdbc=_0x223940,_0x3001b1=this[_0x3abdbc(0x472)][_0x3abdbc(0x48b)]();return _0x3001b1?this[_0x3abdbc(0x21e)][_0x3abdbc(0x2b1)](_0x3001b1[_0x3abdbc(0x335)]()):_0x13a6f8(null);}),_0x481a9a(_0x598c73=>_0x598c73?_0x598c73['status$']:_0x13a6f8(J[_0x223940(0x442)])))['subscribe'](_0x429473=>{const _0x4c6c19=_0x223940;this[_0x4c6c19(0x325)][_0x4c6c19(0x27a)](_0x429473);}));}[_0x29204f(0x583)](){const _0x3a5d60=_0x29204f;this[_0x3a5d60(0x1ba)](this[_0x3a5d60(0x285)][_0x3a5d60(0x232)](_0x28b09b['HEADER_MENU'],()=>_0xe78903(ma({'status$':this[_0x3a5d60(0x325)][_0x3a5d60(0x1eb)]()}),this[_0x3a5d60(0x501)])));}};It=va([lt(0x0,_0x1a11e5),lt(0x1,_0x239135),lt(0x2,_0x31a227(_0x3ada64)),lt(0x3,_0x31a227(it))],It);function ma(_0x52ea90){const {status$:_0x22ccb4}=_0x52ea90;return function(){const _0x41b078=_0x5d6c;return _0x2f9e0b[_0x41b078(0x4d0)](ua,{'status$':_0x22ccb4});};}const Hi=_0x230979(_0x29204f(0x426));var pa=Object[_0x29204f(0x51a)],ga=Object[_0x29204f(0x424)],Sa=(_0x43cb66,_0x322a0b,_0x1fd261,_0x203eef)=>{const _0x405b53=_0x29204f;for(var _0x5084d7=_0x203eef>0x1?void 0x0:_0x203eef?ga(_0x322a0b,_0x1fd261):_0x322a0b,_0xc46987=_0x43cb66[_0x405b53(0x2f0)]-0x1,_0x24dc76;_0xc46987>=0x0;_0xc46987--)(_0x24dc76=_0x43cb66[_0xc46987])&&(_0x5084d7=(_0x203eef?_0x24dc76(_0x322a0b,_0x1fd261,_0x5084d7):_0x24dc76(_0x5084d7))||_0x5084d7);return _0x203eef&&_0x5084d7&&pa(_0x322a0b,_0x1fd261,_0x5084d7),_0x5084d7;},ke=(_0x13568f,_0x583e6d)=>(_0x4c1097,_0x12449a)=>_0x583e6d(_0x4c1097,_0x12449a,_0x13568f);let Ct=class extends _0x3823d2{constructor(_0x30ea7c,_0x559bf4,_0x1f3adc,_0x4ed5cf,_0x8b81db,_0x171227){const _0x2f2fbd=_0x29204f;super(),this[_0x2f2fbd(0x308)]=_0x30ea7c,this[_0x2f2fbd(0x1a4)]=_0x559bf4,this[_0x2f2fbd(0x3da)]=_0x1f3adc,this[_0x2f2fbd(0x319)]=_0x4ed5cf,this['_snapshotService']=_0x8b81db,_0x171227?_0x171227==null||_0x171227[_0x2f2fbd(0x1aa)]()[_0x2f2fbd(0x1f4)](()=>this['_init']()):(this[_0x2f2fbd(0x1a4)]['debug'](_0x2f2fbd(0x1fe),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x2f2fbd(0x4ae)]());}async[_0x29204f(0x4ae)](){const _0x5515e3=_0x29204f,_0x490e31=this[_0x5515e3(0x308)][_0x5515e3(0x4c5)](_0x5515e3(0x331)),_0x3fd067=this['_urlService']['getParam'](_0x5515e3(0x267));if(!_0x490e31||!_0x3fd067){this[_0x5515e3(0x1a4)]['debug'](_0x5515e3(0x1fe),_0x5515e3(0x409));return;}switch(Number(_0x3fd067)){case ce['UNIVER_SHEET']:{const _0x4c2919=await this[_0x5515e3(0x478)](_0x490e31);this['_setupSubUnitSync'](_0x4c2919);break;}case ce['UNIVER_DOC']:{await this[_0x5515e3(0x441)](_0x490e31);break;}default:{this[_0x5515e3(0x1a4)][_0x5515e3(0x5a3)]('[DataLoaderController]',_0x5515e3(0x263));break;}}}async[_0x29204f(0x4f7)](_0x5ec3da){const _0x4d4812=_0x29204f;await this[_0x4d4812(0x33f)](_0x5ec3da),_0x5ec3da[_0x4d4812(0x4cd)][_0x4d4812(0x457)](_0x4b7102(this[_0x4d4812(0x58b)]))[_0x4d4812(0x388)](_0x41eded=>{const _0x38ca24=_0x4d4812;_0x41eded&&this[_0x38ca24(0x433)](_0x41eded);}),this[_0x4d4812(0x308)][_0x4d4812(0x368)][_0x4d4812(0x457)](_0x4b7102(this[_0x4d4812(0x58b)]))[_0x4d4812(0x388)](()=>this[_0x4d4812(0x33f)](_0x5ec3da));}[_0x29204f(0x433)](_0x44cc63,_0x5e9334=!0x1){const _0x38442a=_0x29204f,_0x320956=this[_0x38442a(0x308)][_0x38442a(0x4c5)](_0x38442a(0x369));_0x44cc63[_0x38442a(0x316)]()!==_0x320956&&this[_0x38442a(0x308)][_0x38442a(0x375)](_0x38442a(0x369),_0x44cc63[_0x38442a(0x316)](),_0x5e9334);}async[_0x29204f(0x33f)](_0xbef545){const _0x25f44c=_0x29204f;var _0x18dba1;const _0x413719=this['_urlService'][_0x25f44c(0x4c5)](_0x25f44c(0x369));if(!_0x413719||!_0xbef545[_0x25f44c(0x51b)](_0x413719)){const _0x59b088=_0xbef545[_0x25f44c(0x3bb)]()[0x0],_0x1acf28=_0xbef545[_0x25f44c(0x51b)](_0x59b088);if(!_0x1acf28)return;this['_updateURLWithCurrentState'](_0x1acf28,!0x0),await this[_0x25f44c(0x3da)][_0x25f44c(0x1a5)](_0x3021b5['id'],{'unitId':_0xbef545[_0x25f44c(0x335)](),'subUnitId':_0x59b088});return;}((_0x18dba1=_0xbef545[_0x25f44c(0x52d)]())==null?void 0x0:_0x18dba1['getSheetId']())!==_0x413719&&await this[_0x25f44c(0x3da)][_0x25f44c(0x1a5)](_0x3021b5['id'],{'unitId':_0xbef545['getUnitId'](),'subUnitId':_0x413719});}async[_0x29204f(0x478)](_0x185c20){const _0x177113=_0x29204f;let _0x1cef2a=0x0;const _0x31157c=await this[_0x177113(0x319)][_0x177113(0x43e)](_0x185c20);return _0x31157c&&(_0x31157c[_0x177113(0x34a)]||_0x31157c['mutations'][_0x177113(0x2f0)]!==0x0)&&(_0x1cef2a=_0x31157c[_0x177113(0x323)]),_0x1cef2a===0x0&&this['_logService']['debug'](_0x177113(0x1fe),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x177113(0x4ea)][_0x177113(0x45f)](_0x185c20,_0x1cef2a);}async[_0x29204f(0x441)](_0x537507){const _0x53edb2=_0x29204f;let _0x3d5b77=0x0;const _0x3e34e8=await this[_0x53edb2(0x319)]['loadOfflineData'](_0x537507);return _0x3e34e8&&(_0x3e34e8[_0x53edb2(0x34a)]||_0x3e34e8[_0x53edb2(0x1b7)][_0x53edb2(0x2f0)]!==0x0)&&(_0x3d5b77=_0x3e34e8[_0x53edb2(0x323)]),_0x3d5b77===0x0&&this[_0x53edb2(0x1a4)]['debug'](_0x53edb2(0x1fe),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x53edb2(0x4ea)]['loadDoc'](_0x537507,_0x3d5b77);}};Ct=Sa([ke(0x0,Hi),ke(0x1,_0x15baf7),ke(0x2,_0x1f9396),ke(0x3,_0x31a227(q)),ke(0x4,_0x31a227(_0x1e5978)),ke(0x5,_0x2fdd6d(_0x541ff8))],Ct);var Ia=Object[_0x29204f(0x51a)],Ca=Object[_0x29204f(0x424)],Ea=(_0x1ba064,_0x4646f0,_0x225a5d,_0x3e4e7e)=>{const _0x366ba4=_0x29204f;for(var _0x3fb6d8=_0x3e4e7e>0x1?void 0x0:_0x3e4e7e?Ca(_0x4646f0,_0x225a5d):_0x4646f0,_0x25861b=_0x1ba064[_0x366ba4(0x2f0)]-0x1,_0x42e5b4;_0x25861b>=0x0;_0x25861b--)(_0x42e5b4=_0x1ba064[_0x25861b])&&(_0x3fb6d8=(_0x3e4e7e?_0x42e5b4(_0x4646f0,_0x225a5d,_0x3fb6d8):_0x42e5b4(_0x3fb6d8))||_0x3fb6d8);return _0x3e4e7e&&_0x3fb6d8&&Ia(_0x4646f0,_0x225a5d,_0x3fb6d8),_0x3fb6d8;},zs=(_0x351f2e,_0x1241bd)=>(_0x53919a,_0x2d62fe)=>_0x1241bd(_0x53919a,_0x2d62fe,_0x351f2e);const ba=_0x29204f(0x4ff),Ta='Univer';let Et=class extends _0x2a7347{constructor(_0x71c57e,_0x22a464){const _0xbd09cd=_0x29204f;super(),this[_0xbd09cd(0x472)]=_0x71c57e,this[_0xbd09cd(0x2d6)]=_0x22a464,this[_0xbd09cd(0x4ae)]();}[_0x29204f(0x4ae)](){const _0x16e537=_0x29204f;this['disposeWithMe'](this[_0x16e537(0x472)][_0x16e537(0x3bf)][_0x16e537(0x388)](()=>{const _0x138bb3=_0x16e537;var _0x16580e;const _0x5670d3=this['_univerInstanceService'][_0x138bb3(0x48b)]();let _0x54e708=(_0x16580e=this[_0x138bb3(0x2d6)][_0x138bb3(0x4c3)](ba))!=null?_0x16580e:Ta;_0x5670d3 instanceof _0x343a21&&(_0x54e708=_0x5670d3[_0x138bb3(0x26d)]),document[_0x138bb3(0x256)]=_0x54e708;}));}};Et=Ea([zs(0x0,_0x1a11e5),zs(0x1,_0x1d1963)],Et);var Ra=Object[_0x29204f(0x51a)],ya=Object[_0x29204f(0x424)],Oa=(_0x37ae90,_0x149719,_0x57b609,_0x12354f)=>{const _0x538bac=_0x29204f;for(var _0x1b8ba6=_0x12354f>0x1?void 0x0:_0x12354f?ya(_0x149719,_0x57b609):_0x149719,_0x445527=_0x37ae90[_0x538bac(0x2f0)]-0x1,_0x51ff20;_0x445527>=0x0;_0x445527--)(_0x51ff20=_0x37ae90[_0x445527])&&(_0x1b8ba6=(_0x12354f?_0x51ff20(_0x149719,_0x57b609,_0x1b8ba6):_0x51ff20(_0x1b8ba6))||_0x1b8ba6);return _0x12354f&&_0x1b8ba6&&Ra(_0x149719,_0x57b609,_0x1b8ba6),_0x1b8ba6;},Wt=(_0x509f7e,_0x282440)=>(_0x45a4b5,_0x3ff789)=>_0x282440(_0x45a4b5,_0x3ff789,_0x509f7e);let bt=class{constructor(_0x3a560c,_0x8c3033,_0x10cea9){const _0x24ece1=_0x29204f;this[_0x24ece1(0x2d6)]=_0x3a560c,this['_httpService']=_0x8c3033,this[_0x24ece1(0x247)]=_0x10cea9,this[_0x24ece1(0x195)]();}[_0x29204f(0x195)](){const _0x58535d=_0x29204f;this[_0x58535d(0x3ef)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x56cfeb,_0x464b5a)=>_0x464b5a(_0x56cfeb)[_0x58535d(0x457)](_0x3c2036(async _0x1711ea=>{const _0x57a6af=_0x58535d,_0x4c9f7a=_0x1711ea;if(_0x4c9f7a['status']===0x191&&window[_0x57a6af(0x541)](this[_0x57a6af(0x247)]['t'](_0x57a6af(0x2e1)))){const _0x2235d2=window[_0x57a6af(0x209)](window[_0x57a6af(0x400)][_0x57a6af(0x438)]);window[_0x57a6af(0x400)][_0x57a6af(0x438)]=this[_0x57a6af(0x289)]()+_0x57a6af(0x507)+_0x2235d2;}return _0x4c9f7a;}))});}['_getLoginPath'](){const _0x1988eb=_0x29204f;var _0xd3b78f,_0x3a0040;const _0x17dcec=this[_0x1988eb(0x2d6)]['getConfig'](Ir),_0x39565d=this[_0x1988eb(0x2d6)][_0x1988eb(0x4c3)](ie);return(_0x3a0040=(_0xd3b78f=_0x39565d==null?void 0x0:_0x39565d[_0x1988eb(0x4d8)])!=null?_0xd3b78f:_0x17dcec)!=null?_0x3a0040:Cr;}};bt=Oa([Wt(0x0,_0x1d1963),Wt(0x1,_0x31a227(_0x6042f)),Wt(0x2,_0x31a227(_0x3da7c2))],bt);var wa=Object[_0x29204f(0x51a)],Da=Object[_0x29204f(0x424)],Pa=(_0x409087,_0x61b9fc,_0xf1189,_0x6096e5)=>{for(var _0x2a228a=_0x6096e5>0x1?void 0x0:_0x6096e5?Da(_0x61b9fc,_0xf1189):_0x61b9fc,_0x24cbbe=_0x409087['length']-0x1,_0x496fa9;_0x24cbbe>=0x0;_0x24cbbe--)(_0x496fa9=_0x409087[_0x24cbbe])&&(_0x2a228a=(_0x6096e5?_0x496fa9(_0x61b9fc,_0xf1189,_0x2a228a):_0x496fa9(_0x2a228a))||_0x2a228a);return _0x6096e5&&_0x2a228a&&wa(_0x61b9fc,_0xf1189,_0x2a228a),_0x2a228a;},qs=(_0x46889d,_0x543030)=>(_0x4ef620,_0x5e400b)=>_0x543030(_0x4ef620,_0x5e400b,_0x46889d);const Ua=_0x29204f(0x2cf),Na=_0x29204f(0x509);let cs=class extends _0x2a7347{constructor(_0x5eb509,_0x18cdf2){const _0x1be65f=_0x29204f;super(),this[_0x1be65f(0x482)]=_0x5eb509,this[_0x1be65f(0x2d6)]=_0x18cdf2,this[_0x1be65f(0x1f2)]();}[_0x29204f(0x1f2)](){const _0x2e9a05=_0x29204f,_0x206592=this;this['disposeWithMe'](this[_0x2e9a05(0x482)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x817fd0({'isMatch'(_0x913caa){const _0x487053=_0x2e9a05;var _0x2b8e42;if(_0x913caa[_0x487053(0x407)]===_0x487053(0x439)&&((_0x2b8e42=_0x913caa[_0x487053(0x206)])!=null&&_0x2b8e42[_0x487053(0x269)])){const {objectID:_0x1339f1,objectType:_0x2c14a4}=_0x913caa[_0x487053(0x206)][_0x487053(0x269)]||{};if(!_0x1339f1||_0x2c14a4===void 0x0)return!0x1;const _0x5864f2=_0x206592[_0x487053(0x342)]()+'/'+_0x2c14a4+_0x487053(0x45a)+_0x1339f1+_0x487053(0x32e);if(_0x913caa[_0x487053(0x48c)]===_0x5864f2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5daa4e){const _0x4a8d01=_0x2e9a05;var _0x290897;return(_0x290897=_0x5daa4e[_0x4a8d01(0x206)])==null?void 0x0:_0x290897[_0x4a8d01(0x269)];},'mergeParamsToRequest'(_0x24cb6f,_0x1e933d){const _0x213474=_0x2e9a05,_0x45aed7=_0x206592[_0x213474(0x342)]()+'/-/object/-/batch_allowed',_0x4ae4a2=_0x24cb6f[_0x213474(0x421)]((_0xa0bd61,_0x2c03fc)=>{const _0x55638d=_0x213474,{unitID:_0x559d4e,objectID:_0xc629d5,objectType:_0x112186,actions:_0x549982}=_0x2c03fc;return _0xa0bd61[_0x559d4e]||(_0xa0bd61[_0x559d4e]={}),_0xa0bd61[_0x559d4e][_0xc629d5]||(_0xa0bd61[_0x559d4e][_0xc629d5]={'objectID':_0xc629d5,'objectType':_0x112186,'actions':[]}),_0xa0bd61[_0x559d4e][_0xc629d5][_0x55638d(0x40f)]['push'](..._0x549982),_0xa0bd61;},{}),_0x42393f=[];for(const _0x4dcb90 in _0x4ae4a2)for(const _0x40898d in _0x4ae4a2[_0x4dcb90]){const {actions:_0x565654,objectType:_0x368ccf}=_0x4ae4a2[_0x4dcb90][_0x40898d],_0x3898f5=[...new Set(_0x565654)];_0x42393f[_0x213474(0x523)]({'unitID':_0x4dcb90,'objectID':_0x40898d,'objectType':_0x368ccf,'actions':_0x3898f5});}return new _0x3eebe9(_0x213474(0x439),_0x45aed7,{'headers':_0x1e933d[_0x213474(0x419)],'withCredentials':_0x1e933d['withCredentials'],'responseType':_0x1e933d[_0x213474(0x529)],'body':{'requests':_0x42393f}});}},{'distributeResult'(_0x30ca69,_0x16b5eb){const {objectActions:_0x3041c3}=_0x30ca69;return _0x16b5eb['map'](_0x18839a=>{const _0x5d38b4=_0x5d6c,{unitID:_0x2a106d,objectID:_0x145374,actions:_0x5c2957}=_0x18839a,_0x5883fd=_0x3041c3['find'](_0x383790=>_0x383790[_0x5d38b4(0x4a6)]===_0x2a106d&&_0x383790['objectID']===_0x145374),_0x1719bf=_0x5c2957[_0x5d38b4(0x43c)](_0xd3ce9c=>_0x5883fd==null?void 0x0:_0x5883fd[_0x5d38b4(0x40f)]['find'](_0x6e8a59=>_0x6e8a59['action']===_0xd3ce9c))[_0x5d38b4(0x279)](_0x35ee87=>!!_0x35ee87);return{'config':_0x18839a,'result':{'actions':_0x1719bf,'error':_0x30ca69[_0x5d38b4(0x5a3)]}};});}})}));}[_0x29204f(0x342)](){const _0x1a54d3=_0x29204f;var _0x5a2583,_0x2e56bd;const _0x4bd2c7=this['_configService'][_0x1a54d3(0x4c3)](Ua),_0x39b726=this[_0x1a54d3(0x2d6)]['getConfig'](ie);return(_0x2e56bd=(_0x5a2583=_0x39b726==null?void 0x0:_0x39b726[_0x1a54d3(0x555)])!=null?_0x5a2583:_0x4bd2c7)!=null?_0x2e56bd:Na;}async[_0x29204f(0x3c9)](_0x4fa9d1){const _0x232a1f=_0x29204f,_0x5236fc=this[_0x232a1f(0x342)]()+'/'+_0x4fa9d1[_0x232a1f(0x2c4)]+_0x232a1f(0x3c2);return(await this[_0x232a1f(0x482)][_0x232a1f(0x550)](_0x5236fc,{'body':_0x4fa9d1}))[_0x232a1f(0x269)][_0x232a1f(0x283)]||'';}async[_0x29204f(0x59e)](_0x48780f){const _0x523204=_0x29204f,_0x28da31=this[_0x523204(0x342)]()+_0x523204(0x545);return(await this[_0x523204(0x482)][_0x523204(0x550)](_0x28da31,{'body':_0x48780f}))[_0x523204(0x269)]['objects'];}async[_0x29204f(0x2c8)](_0x194ce3){const _0xa8871c=_0x29204f,_0x2470cd=this['_getAPIPrefixPath']()+'/'+_0x194ce3[_0xa8871c(0x2c4)]+_0xa8871c(0x45a)+_0x194ce3[_0xa8871c(0x283)];await this[_0xa8871c(0x482)]['put'](_0x2470cd,{'body':_0x194ce3});}async[_0x29204f(0x2d7)](_0xefbfdb){const _0x4fd728=_0x29204f,_0x584bb6=this[_0x4fd728(0x342)]()+'/'+_0xefbfdb['objectType']+_0x4fd728(0x45a)+_0xefbfdb[_0x4fd728(0x283)]+_0x4fd728(0x32e);return(await this[_0x4fd728(0x482)][_0x4fd728(0x550)](_0x584bb6,{'body':_0xefbfdb}))[_0x4fd728(0x269)]['actions'];}async[_0x29204f(0x54b)](_0x40dfb9){const _0x4391bd=_0x29204f,_0x20647b=this['_getAPIPrefixPath']()+_0x4391bd(0x410);return(await this['_HTTPService'][_0x4391bd(0x550)](_0x20647b,{'body':{'requests':_0x40dfb9}}))[_0x4391bd(0x269)][_0x4391bd(0x1ff)];}async[_0x29204f(0x3ab)](_0x2b38e6){const _0x18a083=_0x29204f,_0x1b0335=this['_getAPIPrefixPath']()+'/'+_0x2b38e6[_0x18a083(0x2c4)]+_0x18a083(0x41f),_0x58dd42=await this[_0x18a083(0x482)][_0x18a083(0x550)](_0x1b0335,{'body':_0x2b38e6});return{'roles':_0x58dd42[_0x18a083(0x269)][_0x18a083(0x240)],'actions':_0x58dd42['body']['actions']};}async[_0x29204f(0x1fd)](_0x240a70){const _0x262afe=_0x29204f,_0x2a7dc3=this[_0x262afe(0x342)]()+_0x262afe(0x4d2);await this[_0x262afe(0x482)][_0x262afe(0x204)](_0x2a7dc3,{'params':{'collaboratorID':_0x240a70['collaboratorID'],'objectID':_0x240a70['objectID'],'unitID':_0x240a70[_0x262afe(0x4a6)]}});}async[_0x29204f(0x592)](_0x56000e){const _0x40e16b=_0x29204f,_0x5333fe=this[_0x40e16b(0x342)]()+_0x40e16b(0x4d2);await this[_0x40e16b(0x482)]['patch'](_0x5333fe,{'body':_0x56000e});}async[_0x29204f(0x4e0)](_0x2ab638){const _0xc7a296=_0x29204f,_0x5509a7=this[_0xc7a296(0x342)]()+_0xc7a296(0x4d2);await this[_0xc7a296(0x482)][_0xc7a296(0x550)](_0x5509a7,{'body':_0x2ab638});}async[_0x29204f(0x2a9)](_0x2cca98){const _0x5d1106=_0x29204f,_0x2b4bb7=this[_0x5d1106(0x342)]()+_0x5d1106(0x4d2);return(await this['_HTTPService'][_0x5d1106(0x19e)](_0x2b4bb7,{'params':{'objectID':_0x2cca98[_0x5d1106(0x283)],'unitID':_0x2cca98[_0x5d1106(0x4a6)]}}))['body'][_0x5d1106(0x448)];}async[_0x29204f(0x1c1)](_0x32697f){const _0x4f2227=_0x29204f,_0x488641=this[_0x4f2227(0x342)]()+'/collaborator';await this[_0x4f2227(0x482)][_0x4f2227(0x28e)](_0x488641,{'body':_0x32697f});}};cs=Pa([qs(0x0,_0x31a227(_0x6042f)),qs(0x1,_0x31a227(_0x1d1963))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x32239a){const _0x13d86c=_0x29204f;return _0x32239a&&_0x32239a['__esModule']&&Object[_0x13d86c(0x559)][_0x13d86c(0x2b4)][_0x13d86c(0x321)](_0x32239a,_0x13d86c(0x358))?_0x32239a[_0x13d86c(0x358)]:_0x32239a;}var ji={'exports':{}};function Aa(_0x108b2a){const _0x24f4c6=_0x29204f;throw new Error(_0x24f4c6(0x468)+_0x108b2a+_0x24f4c6(0x417));}var Ft={'exports':{}},Xs;function ue(){const _0x725856=_0x29204f;return Xs||(Xs=0x1,function(_0x29ad5c,_0x266c6c){(function(_0x31b6bf,_0x545710){const _0x259c01=_0x5d6c;_0x29ad5c[_0x259c01(0x58c)]=_0x545710();}(Z,function(){var _0x54c19a=_0x54c19a||function(_0x22cc1e,_0x472f43){const _0x417231=_0x5d6c;var _0x4217e3;if(typeof window<'u'&&window[_0x417231(0x49d)]&&(_0x4217e3=window[_0x417231(0x49d)]),typeof self<'u'&&self['crypto']&&(_0x4217e3=self['crypto']),typeof globalThis<'u'&&globalThis[_0x417231(0x49d)]&&(_0x4217e3=globalThis[_0x417231(0x49d)]),!_0x4217e3&&typeof window<'u'&&window['msCrypto']&&(_0x4217e3=window[_0x417231(0x4ba)]),!_0x4217e3&&typeof Z<'u'&&Z[_0x417231(0x49d)]&&(_0x4217e3=Z[_0x417231(0x49d)]),!_0x4217e3&&typeof Aa=='function')try{_0x4217e3=require(_0x417231(0x49d));}catch{}var _0x48053c=function(){const _0x309da5=_0x417231;if(_0x4217e3){if(typeof _0x4217e3[_0x309da5(0x229)]=='function')try{return _0x4217e3[_0x309da5(0x229)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4217e3['randomBytes']==_0x309da5(0x1c3))try{return _0x4217e3[_0x309da5(0x2a8)](0x4)[_0x309da5(0x58a)]();}catch{}}throw new Error(_0x309da5(0x4cf));},_0x57b055=Object[_0x417231(0x3c9)]||(function(){function _0x542272(){}return function(_0x1c81ef){const _0xcbfeda=_0x5d6c;var _0x491a38;return _0x542272[_0xcbfeda(0x559)]=_0x1c81ef,_0x491a38=new _0x542272(),_0x542272[_0xcbfeda(0x559)]=null,_0x491a38;};}()),_0x3aa591={},_0x5397e4=_0x3aa591[_0x417231(0x380)]={},_0x4dce77=_0x5397e4[_0x417231(0x538)]=(function(){return{'extend':function(_0x41c621){const _0x535a77=_0x5d6c;var _0x5a97fd=_0x57b055(this);return _0x41c621&&_0x5a97fd[_0x535a77(0x4aa)](_0x41c621),(!_0x5a97fd[_0x535a77(0x2b4)]('init')||this[_0x535a77(0x195)]===_0x5a97fd[_0x535a77(0x195)])&&(_0x5a97fd[_0x535a77(0x195)]=function(){const _0x52e99a=_0x535a77;_0x5a97fd[_0x52e99a(0x35c)][_0x52e99a(0x195)][_0x52e99a(0x304)](this,arguments);}),_0x5a97fd[_0x535a77(0x195)][_0x535a77(0x559)]=_0x5a97fd,_0x5a97fd[_0x535a77(0x35c)]=this,_0x5a97fd;},'create':function(){const _0x4ec6fc=_0x5d6c;var _0x490159=this[_0x4ec6fc(0x45e)]();return _0x490159[_0x4ec6fc(0x195)][_0x4ec6fc(0x304)](_0x490159,arguments),_0x490159;},'init':function(){},'mixIn':function(_0xa5a511){const _0x36ada1=_0x5d6c;for(var _0x439fa5 in _0xa5a511)_0xa5a511['hasOwnProperty'](_0x439fa5)&&(this[_0x439fa5]=_0xa5a511[_0x439fa5]);_0xa5a511[_0x36ada1(0x2b4)](_0x36ada1(0x1b5))&&(this[_0x36ada1(0x1b5)]=_0xa5a511[_0x36ada1(0x1b5)]);},'clone':function(){const _0x1421d9=_0x5d6c;return this[_0x1421d9(0x195)][_0x1421d9(0x559)]['extend'](this);}};}()),_0x105702=_0x5397e4[_0x417231(0x4c6)]=_0x4dce77[_0x417231(0x45e)]({'init':function(_0x3aab2b,_0x462932){const _0x450804=_0x417231;_0x3aab2b=this[_0x450804(0x339)]=_0x3aab2b||[],_0x462932!=_0x472f43?this[_0x450804(0x21a)]=_0x462932:this['sigBytes']=_0x3aab2b[_0x450804(0x2f0)]*0x4;},'toString':function(_0x25a14c){const _0x48bcb2=_0x417231;return(_0x25a14c||_0x15e5f3)[_0x48bcb2(0x4bf)](this);},'concat':function(_0x628306){const _0x3f8186=_0x417231;var _0x1cc2e0=this[_0x3f8186(0x339)],_0x27cd83=_0x628306[_0x3f8186(0x339)],_0x362111=this[_0x3f8186(0x21a)],_0x2e3b89=_0x628306['sigBytes'];if(this[_0x3f8186(0x40c)](),_0x362111%0x4)for(var _0x9e50af=0x0;_0x9e50af<_0x2e3b89;_0x9e50af++){var _0xfe2c5c=_0x27cd83[_0x9e50af>>>0x2]>>>0x18-_0x9e50af%0x4*0x8&0xff;_0x1cc2e0[_0x362111+_0x9e50af>>>0x2]|=_0xfe2c5c<<0x18-(_0x362111+_0x9e50af)%0x4*0x8;}else{for(var _0x4e92f7=0x0;_0x4e92f7<_0x2e3b89;_0x4e92f7+=0x4)_0x1cc2e0[_0x362111+_0x4e92f7>>>0x2]=_0x27cd83[_0x4e92f7>>>0x2];}return this[_0x3f8186(0x21a)]+=_0x2e3b89,this;},'clamp':function(){const _0x173445=_0x417231;var _0x10c9da=this[_0x173445(0x339)],_0x11c0a5=this[_0x173445(0x21a)];_0x10c9da[_0x11c0a5>>>0x2]&=0xffffffff<<0x20-_0x11c0a5%0x4*0x8,_0x10c9da[_0x173445(0x2f0)]=_0x22cc1e[_0x173445(0x260)](_0x11c0a5/0x4);},'clone':function(){const _0x551367=_0x417231;var _0x19eebf=_0x4dce77[_0x551367(0x521)][_0x551367(0x321)](this);return _0x19eebf[_0x551367(0x339)]=this['words']['slice'](0x0),_0x19eebf;},'random':function(_0x58aca1){const _0x50b81e=_0x417231;for(var _0x39c7e6=[],_0x3b1eab=0x0;_0x3b1eab<_0x58aca1;_0x3b1eab+=0x4)_0x39c7e6[_0x50b81e(0x523)](_0x48053c());return new _0x105702[(_0x50b81e(0x195))](_0x39c7e6,_0x58aca1);}}),_0x116f8c=_0x3aa591[_0x417231(0x197)]={},_0x15e5f3=_0x116f8c['Hex']={'stringify':function(_0x33da5a){const _0x42a278=_0x417231;for(var _0x3b3594=_0x33da5a[_0x42a278(0x339)],_0x3b7e26=_0x33da5a[_0x42a278(0x21a)],_0x32fe0d=[],_0xe8a012=0x0;_0xe8a012<_0x3b7e26;_0xe8a012++){var _0x5e1bc9=_0x3b3594[_0xe8a012>>>0x2]>>>0x18-_0xe8a012%0x4*0x8&0xff;_0x32fe0d[_0x42a278(0x523)]((_0x5e1bc9>>>0x4)[_0x42a278(0x1b5)](0x10)),_0x32fe0d['push']((_0x5e1bc9&0xf)[_0x42a278(0x1b5)](0x10));}return _0x32fe0d['join']('');},'parse':function(_0xfd082){const _0x2b3e1c=_0x417231;for(var _0x23200d=_0xfd082['length'],_0x221224=[],_0x328d1c=0x0;_0x328d1c<_0x23200d;_0x328d1c+=0x2)_0x221224[_0x328d1c>>>0x3]|=parseInt(_0xfd082['substr'](_0x328d1c,0x2),0x10)<<0x18-_0x328d1c%0x8*0x4;return new _0x105702[(_0x2b3e1c(0x195))](_0x221224,_0x23200d/0x2);}},_0x51a469=_0x116f8c[_0x417231(0x3f5)]={'stringify':function(_0x4367a3){const _0x4c3caa=_0x417231;for(var _0x58f929=_0x4367a3[_0x4c3caa(0x339)],_0x19b6cc=_0x4367a3[_0x4c3caa(0x21a)],_0x252909=[],_0x27270c=0x0;_0x27270c<_0x19b6cc;_0x27270c++){var _0x4fa6e5=_0x58f929[_0x27270c>>>0x2]>>>0x18-_0x27270c%0x4*0x8&0xff;_0x252909[_0x4c3caa(0x523)](String['fromCharCode'](_0x4fa6e5));}return _0x252909[_0x4c3caa(0x39d)]('');},'parse':function(_0xeaf1de){const _0x515dbd=_0x417231;for(var _0x2d990b=_0xeaf1de[_0x515dbd(0x2f0)],_0x4b2802=[],_0x368b6b=0x0;_0x368b6b<_0x2d990b;_0x368b6b++)_0x4b2802[_0x368b6b>>>0x2]|=(_0xeaf1de[_0x515dbd(0x4e2)](_0x368b6b)&0xff)<<0x18-_0x368b6b%0x4*0x8;return new _0x105702[(_0x515dbd(0x195))](_0x4b2802,_0x2d990b);}},_0x5defe3=_0x116f8c[_0x417231(0x3e9)]={'stringify':function(_0x56dd00){const _0x13e6c3=_0x417231;try{return decodeURIComponent(escape(_0x51a469[_0x13e6c3(0x4bf)](_0x56dd00)));}catch{throw new Error(_0x13e6c3(0x4f9));}},'parse':function(_0x4cc902){return _0x51a469['parse'](unescape(encodeURIComponent(_0x4cc902)));}},_0xb9f55b=_0x5397e4[_0x417231(0x223)]=_0x4dce77[_0x417231(0x45e)]({'reset':function(){const _0x1bcf8a=_0x417231;this[_0x1bcf8a(0x4fb)]=new _0x105702[(_0x1bcf8a(0x195))](),this[_0x1bcf8a(0x2ff)]=0x0;},'_append':function(_0x5153d0){const _0x32ccd5=_0x417231;typeof _0x5153d0==_0x32ccd5(0x46f)&&(_0x5153d0=_0x5defe3[_0x32ccd5(0x23a)](_0x5153d0)),this[_0x32ccd5(0x4fb)][_0x32ccd5(0x383)](_0x5153d0),this['_nDataBytes']+=_0x5153d0[_0x32ccd5(0x21a)];},'_process':function(_0x19ec75){const _0x4dfc59=_0x417231;var _0x31ee1d,_0x58652c=this[_0x4dfc59(0x4fb)],_0x286274=_0x58652c[_0x4dfc59(0x339)],_0x322a63=_0x58652c[_0x4dfc59(0x21a)],_0x5cd096=this['blockSize'],_0x47b19c=_0x5cd096*0x4,_0x4999d1=_0x322a63/_0x47b19c;_0x19ec75?_0x4999d1=_0x22cc1e[_0x4dfc59(0x260)](_0x4999d1):_0x4999d1=_0x22cc1e[_0x4dfc59(0x326)]((_0x4999d1|0x0)-this[_0x4dfc59(0x51d)],0x0);var _0x14d74b=_0x4999d1*_0x5cd096,_0x16aa9e=_0x22cc1e[_0x4dfc59(0x3ee)](_0x14d74b*0x4,_0x322a63);if(_0x14d74b){for(var _0x3d9015=0x0;_0x3d9015<_0x14d74b;_0x3d9015+=_0x5cd096)this['_doProcessBlock'](_0x286274,_0x3d9015);_0x31ee1d=_0x286274[_0x4dfc59(0x21f)](0x0,_0x14d74b),_0x58652c[_0x4dfc59(0x21a)]-=_0x16aa9e;}return new _0x105702[(_0x4dfc59(0x195))](_0x31ee1d,_0x16aa9e);},'clone':function(){const _0x4d745d=_0x417231;var _0x5a68c9=_0x4dce77[_0x4d745d(0x521)][_0x4d745d(0x321)](this);return _0x5a68c9['_data']=this['_data'][_0x4d745d(0x521)](),_0x5a68c9;},'_minBufferSize':0x0});_0x5397e4[_0x417231(0x28f)]=_0xb9f55b[_0x417231(0x45e)]({'cfg':_0x4dce77[_0x417231(0x45e)](),'init':function(_0xd3eca9){const _0x2e7f1c=_0x417231;this['cfg']=this['cfg'][_0x2e7f1c(0x45e)](_0xd3eca9),this[_0x2e7f1c(0x56a)]();},'reset':function(){const _0x3d9d45=_0x417231;_0xb9f55b[_0x3d9d45(0x56a)][_0x3d9d45(0x321)](this),this[_0x3d9d45(0x2f2)]();},'update':function(_0x142b08){const _0x2b4e78=_0x417231;return this[_0x2b4e78(0x4d3)](_0x142b08),this[_0x2b4e78(0x52b)](),this;},'finalize':function(_0x39c418){const _0x1ea6a2=_0x417231;_0x39c418&&this[_0x1ea6a2(0x4d3)](_0x39c418);var _0x22e0f2=this[_0x1ea6a2(0x47c)]();return _0x22e0f2;},'blockSize':0x10,'_createHelper':function(_0x154cd1){return function(_0x38fa81,_0x43cdeb){const _0x1ace6b=_0x5d6c;return new _0x154cd1['init'](_0x43cdeb)[_0x1ace6b(0x405)](_0x38fa81);};},'_createHmacHelper':function(_0x5730d6){return function(_0x25ffb6,_0x4e941e){const _0x146e2f=_0x5d6c;return new _0x441983[(_0x146e2f(0x382))][(_0x146e2f(0x195))](_0x5730d6,_0x4e941e)[_0x146e2f(0x405)](_0x25ffb6);};}});var _0x441983=_0x3aa591[_0x417231(0x3cd)]={};return _0x3aa591;}(Math);return _0x54c19a;}));}(Ft)),Ft[_0x725856(0x58c)];}var Vt={'exports':{}},Js;function Bi(){const _0x9c33f6=_0x29204f;return Js||(Js=0x1,function(_0x37680e,_0x186d3c){(function(_0x37b950,_0x3b562a){const _0xe0a2ff=_0x5d6c;_0x37680e[_0xe0a2ff(0x58c)]=_0x3b562a(ue());}(Z,function(_0x4c1661){const _0x2ee8f9=_0x5d6c;return(function(){const _0x2a6153=_0x5d6c;var _0x38d535=_0x4c1661,_0x1d34fa=_0x38d535['lib'],_0x1a26f9=_0x1d34fa[_0x2a6153(0x4c6)],_0x370eef=_0x38d535['enc'];_0x370eef[_0x2a6153(0x333)]={'stringify':function(_0xb23300){const _0x5a9c64=_0x2a6153;var _0x6237f9=_0xb23300[_0x5a9c64(0x339)],_0x351756=_0xb23300['sigBytes'],_0x4b64d6=this['_map'];_0xb23300['clamp']();for(var _0x3145b8=[],_0xf7e2f8=0x0;_0xf7e2f8<_0x351756;_0xf7e2f8+=0x3)for(var _0xc474ee=_0x6237f9[_0xf7e2f8>>>0x2]>>>0x18-_0xf7e2f8%0x4*0x8&0xff,_0x497871=_0x6237f9[_0xf7e2f8+0x1>>>0x2]>>>0x18-(_0xf7e2f8+0x1)%0x4*0x8&0xff,_0x31b901=_0x6237f9[_0xf7e2f8+0x2>>>0x2]>>>0x18-(_0xf7e2f8+0x2)%0x4*0x8&0xff,_0x55a9f1=_0xc474ee<<0x10|_0x497871<<0x8|_0x31b901,_0x365f48=0x0;_0x365f48<0x4&&_0xf7e2f8+_0x365f48*0.75<_0x351756;_0x365f48++)_0x3145b8[_0x5a9c64(0x523)](_0x4b64d6[_0x5a9c64(0x533)](_0x55a9f1>>>0x6*(0x3-_0x365f48)&0x3f));var _0x4c3dc5=_0x4b64d6['charAt'](0x40);if(_0x4c3dc5){for(;_0x3145b8[_0x5a9c64(0x2f0)]%0x4;)_0x3145b8[_0x5a9c64(0x523)](_0x4c3dc5);}return _0x3145b8[_0x5a9c64(0x39d)]('');},'parse':function(_0x2b84d9){const _0x1e77e0=_0x2a6153;var _0x119ad5=_0x2b84d9['length'],_0x37c619=this[_0x1e77e0(0x2bc)],_0xd24697=this[_0x1e77e0(0x4f3)];if(!_0xd24697){_0xd24697=this[_0x1e77e0(0x4f3)]=[];for(var _0x4f7636=0x0;_0x4f7636<_0x37c619['length'];_0x4f7636++)_0xd24697[_0x37c619[_0x1e77e0(0x4e2)](_0x4f7636)]=_0x4f7636;}var _0xc59942=_0x37c619['charAt'](0x40);if(_0xc59942){var _0x16253d=_0x2b84d9[_0x1e77e0(0x3f9)](_0xc59942);_0x16253d!==-0x1&&(_0x119ad5=_0x16253d);}return _0x3f30de(_0x2b84d9,_0x119ad5,_0xd24697);},'_map':_0x2a6153(0x4bb)};function _0x3f30de(_0x48b458,_0x3369a6,_0x23d9db){const _0x20bf6b=_0x2a6153;for(var _0x5345c4=[],_0x43fd47=0x0,_0x5b0fe4=0x0;_0x5b0fe4<_0x3369a6;_0x5b0fe4++)if(_0x5b0fe4%0x4){var _0x15677a=_0x23d9db[_0x48b458[_0x20bf6b(0x4e2)](_0x5b0fe4-0x1)]<<_0x5b0fe4%0x4*0x2,_0x3e02c8=_0x23d9db[_0x48b458[_0x20bf6b(0x4e2)](_0x5b0fe4)]>>>0x6-_0x5b0fe4%0x4*0x2,_0x498e88=_0x15677a|_0x3e02c8;_0x5345c4[_0x43fd47>>>0x2]|=_0x498e88<<0x18-_0x43fd47%0x4*0x8,_0x43fd47++;}return _0x1a26f9[_0x20bf6b(0x3c9)](_0x5345c4,_0x43fd47);}}()),_0x4c1661[_0x2ee8f9(0x197)]['Base64'];}));}(Vt)),Vt[_0x9c33f6(0x58c)];}var Gt={'exports':{}},Zs;function Ma(){return Zs||(Zs=0x1,function(_0x2654e9,_0x15e574){(function(_0x2ad0a8,_0x2c5280){const _0x1eacab=_0x5d6c;_0x2654e9[_0x1eacab(0x58c)]=_0x2c5280(ue());}(Z,function(_0xd43629){const _0x804650=_0x5d6c;return function(_0x3d34b9){const _0x55c0ac=_0x5d6c;var _0x9b2dac=_0xd43629,_0x16d026=_0x9b2dac[_0x55c0ac(0x380)],_0x2affbc=_0x16d026['WordArray'],_0x5e56d5=_0x16d026['Hasher'],_0x4138f0=_0x9b2dac[_0x55c0ac(0x3cd)],_0x33f63a=[];(function(){const _0x5ff434=_0x55c0ac;for(var _0x3baba6=0x0;_0x3baba6<0x40;_0x3baba6++)_0x33f63a[_0x3baba6]=_0x3d34b9[_0x5ff434(0x26a)](_0x3d34b9[_0x5ff434(0x392)](_0x3baba6+0x1))*0x100000000|0x0;}());var _0x15c410=_0x4138f0[_0x55c0ac(0x40e)]=_0x5e56d5[_0x55c0ac(0x45e)]({'_doReset':function(){const _0x6a6e9f=_0x55c0ac;this[_0x6a6e9f(0x4c0)]=new _0x2affbc['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5d408a,_0x31f2e8){const _0x21325a=_0x55c0ac;for(var _0x343ab9=0x0;_0x343ab9<0x10;_0x343ab9++){var _0x12415b=_0x31f2e8+_0x343ab9,_0x31420d=_0x5d408a[_0x12415b];_0x5d408a[_0x12415b]=(_0x31420d<<0x8|_0x31420d>>>0x18)&0xff00ff|(_0x31420d<<0x18|_0x31420d>>>0x8)&0xff00ff00;}var _0x18e5ea=this[_0x21325a(0x4c0)][_0x21325a(0x339)],_0x245bbc=_0x5d408a[_0x31f2e8+0x0],_0x3994fa=_0x5d408a[_0x31f2e8+0x1],_0x5d0357=_0x5d408a[_0x31f2e8+0x2],_0x2dc97d=_0x5d408a[_0x31f2e8+0x3],_0x14696a=_0x5d408a[_0x31f2e8+0x4],_0x4b9b07=_0x5d408a[_0x31f2e8+0x5],_0x298c99=_0x5d408a[_0x31f2e8+0x6],_0xc95e8c=_0x5d408a[_0x31f2e8+0x7],_0x223ce2=_0x5d408a[_0x31f2e8+0x8],_0xfbcf78=_0x5d408a[_0x31f2e8+0x9],_0x3f18d0=_0x5d408a[_0x31f2e8+0xa],_0x42a3e7=_0x5d408a[_0x31f2e8+0xb],_0xba778e=_0x5d408a[_0x31f2e8+0xc],_0x42e6fd=_0x5d408a[_0x31f2e8+0xd],_0x25f7fb=_0x5d408a[_0x31f2e8+0xe],_0x24a54c=_0x5d408a[_0x31f2e8+0xf],_0x291f1a=_0x18e5ea[0x0],_0xeda955=_0x18e5ea[0x1],_0x37ff6f=_0x18e5ea[0x2],_0x13eb0c=_0x18e5ea[0x3];_0x291f1a=_0x127ff6(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x245bbc,0x7,_0x33f63a[0x0]),_0x13eb0c=_0x127ff6(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x3994fa,0xc,_0x33f63a[0x1]),_0x37ff6f=_0x127ff6(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x5d0357,0x11,_0x33f63a[0x2]),_0xeda955=_0x127ff6(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x2dc97d,0x16,_0x33f63a[0x3]),_0x291f1a=_0x127ff6(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x14696a,0x7,_0x33f63a[0x4]),_0x13eb0c=_0x127ff6(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x4b9b07,0xc,_0x33f63a[0x5]),_0x37ff6f=_0x127ff6(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x298c99,0x11,_0x33f63a[0x6]),_0xeda955=_0x127ff6(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0xc95e8c,0x16,_0x33f63a[0x7]),_0x291f1a=_0x127ff6(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x223ce2,0x7,_0x33f63a[0x8]),_0x13eb0c=_0x127ff6(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0xfbcf78,0xc,_0x33f63a[0x9]),_0x37ff6f=_0x127ff6(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x3f18d0,0x11,_0x33f63a[0xa]),_0xeda955=_0x127ff6(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x42a3e7,0x16,_0x33f63a[0xb]),_0x291f1a=_0x127ff6(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0xba778e,0x7,_0x33f63a[0xc]),_0x13eb0c=_0x127ff6(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x42e6fd,0xc,_0x33f63a[0xd]),_0x37ff6f=_0x127ff6(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x25f7fb,0x11,_0x33f63a[0xe]),_0xeda955=_0x127ff6(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x24a54c,0x16,_0x33f63a[0xf]),_0x291f1a=_0x2945eb(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x3994fa,0x5,_0x33f63a[0x10]),_0x13eb0c=_0x2945eb(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x298c99,0x9,_0x33f63a[0x11]),_0x37ff6f=_0x2945eb(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x42a3e7,0xe,_0x33f63a[0x12]),_0xeda955=_0x2945eb(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x245bbc,0x14,_0x33f63a[0x13]),_0x291f1a=_0x2945eb(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x4b9b07,0x5,_0x33f63a[0x14]),_0x13eb0c=_0x2945eb(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x3f18d0,0x9,_0x33f63a[0x15]),_0x37ff6f=_0x2945eb(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x24a54c,0xe,_0x33f63a[0x16]),_0xeda955=_0x2945eb(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x14696a,0x14,_0x33f63a[0x17]),_0x291f1a=_0x2945eb(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0xfbcf78,0x5,_0x33f63a[0x18]),_0x13eb0c=_0x2945eb(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x25f7fb,0x9,_0x33f63a[0x19]),_0x37ff6f=_0x2945eb(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x2dc97d,0xe,_0x33f63a[0x1a]),_0xeda955=_0x2945eb(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x223ce2,0x14,_0x33f63a[0x1b]),_0x291f1a=_0x2945eb(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x42e6fd,0x5,_0x33f63a[0x1c]),_0x13eb0c=_0x2945eb(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x5d0357,0x9,_0x33f63a[0x1d]),_0x37ff6f=_0x2945eb(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0xc95e8c,0xe,_0x33f63a[0x1e]),_0xeda955=_0x2945eb(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0xba778e,0x14,_0x33f63a[0x1f]),_0x291f1a=_0x48bb0f(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x4b9b07,0x4,_0x33f63a[0x20]),_0x13eb0c=_0x48bb0f(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x223ce2,0xb,_0x33f63a[0x21]),_0x37ff6f=_0x48bb0f(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x42a3e7,0x10,_0x33f63a[0x22]),_0xeda955=_0x48bb0f(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x25f7fb,0x17,_0x33f63a[0x23]),_0x291f1a=_0x48bb0f(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x3994fa,0x4,_0x33f63a[0x24]),_0x13eb0c=_0x48bb0f(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x14696a,0xb,_0x33f63a[0x25]),_0x37ff6f=_0x48bb0f(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0xc95e8c,0x10,_0x33f63a[0x26]),_0xeda955=_0x48bb0f(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x3f18d0,0x17,_0x33f63a[0x27]),_0x291f1a=_0x48bb0f(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x42e6fd,0x4,_0x33f63a[0x28]),_0x13eb0c=_0x48bb0f(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x245bbc,0xb,_0x33f63a[0x29]),_0x37ff6f=_0x48bb0f(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x2dc97d,0x10,_0x33f63a[0x2a]),_0xeda955=_0x48bb0f(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x298c99,0x17,_0x33f63a[0x2b]),_0x291f1a=_0x48bb0f(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0xfbcf78,0x4,_0x33f63a[0x2c]),_0x13eb0c=_0x48bb0f(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0xba778e,0xb,_0x33f63a[0x2d]),_0x37ff6f=_0x48bb0f(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x24a54c,0x10,_0x33f63a[0x2e]),_0xeda955=_0x48bb0f(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x5d0357,0x17,_0x33f63a[0x2f]),_0x291f1a=_0x2601ad(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x245bbc,0x6,_0x33f63a[0x30]),_0x13eb0c=_0x2601ad(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0xc95e8c,0xa,_0x33f63a[0x31]),_0x37ff6f=_0x2601ad(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x25f7fb,0xf,_0x33f63a[0x32]),_0xeda955=_0x2601ad(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x4b9b07,0x15,_0x33f63a[0x33]),_0x291f1a=_0x2601ad(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0xba778e,0x6,_0x33f63a[0x34]),_0x13eb0c=_0x2601ad(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x2dc97d,0xa,_0x33f63a[0x35]),_0x37ff6f=_0x2601ad(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x3f18d0,0xf,_0x33f63a[0x36]),_0xeda955=_0x2601ad(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x3994fa,0x15,_0x33f63a[0x37]),_0x291f1a=_0x2601ad(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x223ce2,0x6,_0x33f63a[0x38]),_0x13eb0c=_0x2601ad(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x24a54c,0xa,_0x33f63a[0x39]),_0x37ff6f=_0x2601ad(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x298c99,0xf,_0x33f63a[0x3a]),_0xeda955=_0x2601ad(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x42e6fd,0x15,_0x33f63a[0x3b]),_0x291f1a=_0x2601ad(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x14696a,0x6,_0x33f63a[0x3c]),_0x13eb0c=_0x2601ad(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x42a3e7,0xa,_0x33f63a[0x3d]),_0x37ff6f=_0x2601ad(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x5d0357,0xf,_0x33f63a[0x3e]),_0xeda955=_0x2601ad(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0xfbcf78,0x15,_0x33f63a[0x3f]),_0x18e5ea[0x0]=_0x18e5ea[0x0]+_0x291f1a|0x0,_0x18e5ea[0x1]=_0x18e5ea[0x1]+_0xeda955|0x0,_0x18e5ea[0x2]=_0x18e5ea[0x2]+_0x37ff6f|0x0,_0x18e5ea[0x3]=_0x18e5ea[0x3]+_0x13eb0c|0x0;},'_doFinalize':function(){const _0x1a4014=_0x55c0ac;var _0x1bc832=this[_0x1a4014(0x4fb)],_0x4855a8=_0x1bc832[_0x1a4014(0x339)],_0x2bd186=this['_nDataBytes']*0x8,_0x142585=_0x1bc832[_0x1a4014(0x21a)]*0x8;_0x4855a8[_0x142585>>>0x5]|=0x80<<0x18-_0x142585%0x20;var _0x5661e1=_0x3d34b9[_0x1a4014(0x2e0)](_0x2bd186/0x100000000),_0x3e43c5=_0x2bd186;_0x4855a8[(_0x142585+0x40>>>0x9<<0x4)+0xf]=(_0x5661e1<<0x8|_0x5661e1>>>0x18)&0xff00ff|(_0x5661e1<<0x18|_0x5661e1>>>0x8)&0xff00ff00,_0x4855a8[(_0x142585+0x40>>>0x9<<0x4)+0xe]=(_0x3e43c5<<0x8|_0x3e43c5>>>0x18)&0xff00ff|(_0x3e43c5<<0x18|_0x3e43c5>>>0x8)&0xff00ff00,_0x1bc832[_0x1a4014(0x21a)]=(_0x4855a8[_0x1a4014(0x2f0)]+0x1)*0x4,this['_process']();for(var _0xb232b0=this['_hash'],_0x270f08=_0xb232b0[_0x1a4014(0x339)],_0x123559=0x0;_0x123559<0x4;_0x123559++){var _0x2f8be9=_0x270f08[_0x123559];_0x270f08[_0x123559]=(_0x2f8be9<<0x8|_0x2f8be9>>>0x18)&0xff00ff|(_0x2f8be9<<0x18|_0x2f8be9>>>0x8)&0xff00ff00;}return _0xb232b0;},'clone':function(){const _0x466d7d=_0x55c0ac;var _0xc768f1=_0x5e56d5['clone'][_0x466d7d(0x321)](this);return _0xc768f1[_0x466d7d(0x4c0)]=this[_0x466d7d(0x4c0)]['clone'](),_0xc768f1;}});function _0x127ff6(_0x4caaf3,_0xd7b51c,_0x507262,_0x4a3f6b,_0x5951ae,_0x27d080,_0x5876e6){var _0x1afae0=_0x4caaf3+(_0xd7b51c&_0x507262|~_0xd7b51c&_0x4a3f6b)+_0x5951ae+_0x5876e6;return(_0x1afae0<<_0x27d080|_0x1afae0>>>0x20-_0x27d080)+_0xd7b51c;}function _0x2945eb(_0x4bc817,_0x42332f,_0x296589,_0x3bb855,_0x3e944a,_0x250b67,_0x5569b7){var _0x105626=_0x4bc817+(_0x42332f&_0x3bb855|_0x296589&~_0x3bb855)+_0x3e944a+_0x5569b7;return(_0x105626<<_0x250b67|_0x105626>>>0x20-_0x250b67)+_0x42332f;}function _0x48bb0f(_0x3c671e,_0x23f4d0,_0x42d7c9,_0x26a902,_0x68cc06,_0x3657ee,_0x207195){var _0x1202e2=_0x3c671e+(_0x23f4d0^_0x42d7c9^_0x26a902)+_0x68cc06+_0x207195;return(_0x1202e2<<_0x3657ee|_0x1202e2>>>0x20-_0x3657ee)+_0x23f4d0;}function _0x2601ad(_0x670558,_0x58b522,_0x220abb,_0x43a424,_0x296e99,_0x1aa89f,_0x4cc848){var _0x248205=_0x670558+(_0x220abb^(_0x58b522|~_0x43a424))+_0x296e99+_0x4cc848;return(_0x248205<<_0x1aa89f|_0x248205>>>0x20-_0x1aa89f)+_0x58b522;}_0x9b2dac[_0x55c0ac(0x40e)]=_0x5e56d5['_createHelper'](_0x15c410),_0x9b2dac[_0x55c0ac(0x59a)]=_0x5e56d5[_0x55c0ac(0x56d)](_0x15c410);}(Math),_0xd43629[_0x804650(0x40e)];}));}(Gt)),Gt['exports'];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function xa(){const _0x5322ad=_0x29204f;return Qs||(Qs=0x1,function(_0x46ae01,_0x5db35b){(function(_0x395b94,_0x5699f5){_0x46ae01['exports']=_0x5699f5(ue());}(Z,function(_0x38a124){const _0x10e371=_0x5d6c;return(function(){const _0x4e0154=_0x5d6c;var _0x1a52eb=_0x38a124,_0x2f313b=_0x1a52eb[_0x4e0154(0x380)],_0x417d6a=_0x2f313b[_0x4e0154(0x4c6)],_0x4a2c0c=_0x2f313b[_0x4e0154(0x28f)],_0x254ca0=_0x1a52eb['algo'],_0x191989=[],_0x1c9b37=_0x254ca0[_0x4e0154(0x25d)]=_0x4a2c0c['extend']({'_doReset':function(){const _0x1894f7=_0x4e0154;this[_0x1894f7(0x4c0)]=new _0x417d6a['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x138966,_0x58395b){const _0x4e1d29=_0x4e0154;for(var _0x47df7d=this['_hash'][_0x4e1d29(0x339)],_0x21db6c=_0x47df7d[0x0],_0xdfe9fa=_0x47df7d[0x1],_0x22a801=_0x47df7d[0x2],_0x4c4438=_0x47df7d[0x3],_0x426d50=_0x47df7d[0x4],_0x296b84=0x0;_0x296b84<0x50;_0x296b84++){if(_0x296b84<0x10)_0x191989[_0x296b84]=_0x138966[_0x58395b+_0x296b84]|0x0;else{var _0x31e767=_0x191989[_0x296b84-0x3]^_0x191989[_0x296b84-0x8]^_0x191989[_0x296b84-0xe]^_0x191989[_0x296b84-0x10];_0x191989[_0x296b84]=_0x31e767<<0x1|_0x31e767>>>0x1f;}var _0x517622=(_0x21db6c<<0x5|_0x21db6c>>>0x1b)+_0x426d50+_0x191989[_0x296b84];_0x296b84<0x14?_0x517622+=(_0xdfe9fa&_0x22a801|~_0xdfe9fa&_0x4c4438)+0x5a827999:_0x296b84<0x28?_0x517622+=(_0xdfe9fa^_0x22a801^_0x4c4438)+0x6ed9eba1:_0x296b84<0x3c?_0x517622+=(_0xdfe9fa&_0x22a801|_0xdfe9fa&_0x4c4438|_0x22a801&_0x4c4438)-0x70e44324:_0x517622+=(_0xdfe9fa^_0x22a801^_0x4c4438)-0x359d3e2a,_0x426d50=_0x4c4438,_0x4c4438=_0x22a801,_0x22a801=_0xdfe9fa<<0x1e|_0xdfe9fa>>>0x2,_0xdfe9fa=_0x21db6c,_0x21db6c=_0x517622;}_0x47df7d[0x0]=_0x47df7d[0x0]+_0x21db6c|0x0,_0x47df7d[0x1]=_0x47df7d[0x1]+_0xdfe9fa|0x0,_0x47df7d[0x2]=_0x47df7d[0x2]+_0x22a801|0x0,_0x47df7d[0x3]=_0x47df7d[0x3]+_0x4c4438|0x0,_0x47df7d[0x4]=_0x47df7d[0x4]+_0x426d50|0x0;},'_doFinalize':function(){const _0x32c720=_0x4e0154;var _0x34e147=this[_0x32c720(0x4fb)],_0x4d2949=_0x34e147[_0x32c720(0x339)],_0xa2b258=this['_nDataBytes']*0x8,_0x29a6d8=_0x34e147[_0x32c720(0x21a)]*0x8;return _0x4d2949[_0x29a6d8>>>0x5]|=0x80<<0x18-_0x29a6d8%0x20,_0x4d2949[(_0x29a6d8+0x40>>>0x9<<0x4)+0xe]=Math[_0x32c720(0x2e0)](_0xa2b258/0x100000000),_0x4d2949[(_0x29a6d8+0x40>>>0x9<<0x4)+0xf]=_0xa2b258,_0x34e147[_0x32c720(0x21a)]=_0x4d2949['length']*0x4,this['_process'](),this['_hash'];},'clone':function(){const _0xad38b5=_0x4e0154;var _0x376a54=_0x4a2c0c['clone'][_0xad38b5(0x321)](this);return _0x376a54[_0xad38b5(0x4c0)]=this[_0xad38b5(0x4c0)]['clone'](),_0x376a54;}});_0x1a52eb[_0x4e0154(0x25d)]=_0x4a2c0c['_createHelper'](_0x1c9b37),_0x1a52eb[_0x4e0154(0x518)]=_0x4a2c0c[_0x4e0154(0x56d)](_0x1c9b37);}()),_0x38a124[_0x10e371(0x25d)];}));}(Kt)),Kt[_0x5322ad(0x58c)];}var zt={'exports':{}},ei;function La(){const _0xa5f7af=_0x29204f;return ei||(ei=0x1,function(_0x32ea88,_0x44dd0){(function(_0x1f9870,_0x455aff){const _0x2c7005=_0x5d6c;_0x32ea88[_0x2c7005(0x58c)]=_0x455aff(ue());}(Z,function(_0x4eefed){(function(){const _0x276d0f=_0x5d6c;var _0x157d35=_0x4eefed,_0x38328b=_0x157d35[_0x276d0f(0x380)],_0x5cdf3e=_0x38328b['Base'],_0x3f8d09=_0x157d35['enc'],_0x3b2250=_0x3f8d09[_0x276d0f(0x3e9)],_0x5952fe=_0x157d35['algo'];_0x5952fe['HMAC']=_0x5cdf3e['extend']({'init':function(_0xf68ee0,_0x371357){const _0x2583fd=_0x276d0f;_0xf68ee0=this['_hasher']=new _0xf68ee0[(_0x2583fd(0x195))](),typeof _0x371357=='string'&&(_0x371357=_0x3b2250['parse'](_0x371357));var _0x534d46=_0xf68ee0[_0x2583fd(0x534)],_0x57de83=_0x534d46*0x4;_0x371357['sigBytes']>_0x57de83&&(_0x371357=_0xf68ee0[_0x2583fd(0x405)](_0x371357)),_0x371357[_0x2583fd(0x40c)]();for(var _0xdbb63=this[_0x2583fd(0x290)]=_0x371357[_0x2583fd(0x521)](),_0x52a3f7=this[_0x2583fd(0x4f5)]=_0x371357[_0x2583fd(0x521)](),_0x3d1eb0=_0xdbb63['words'],_0x1b5865=_0x52a3f7[_0x2583fd(0x339)],_0x348d53=0x0;_0x348d53<_0x534d46;_0x348d53++)_0x3d1eb0[_0x348d53]^=0x5c5c5c5c,_0x1b5865[_0x348d53]^=0x36363636;_0xdbb63[_0x2583fd(0x21a)]=_0x52a3f7['sigBytes']=_0x57de83,this[_0x2583fd(0x56a)]();},'reset':function(){const _0x22d2ed=_0x276d0f;var _0x37c461=this[_0x22d2ed(0x251)];_0x37c461[_0x22d2ed(0x56a)](),_0x37c461[_0x22d2ed(0x2c8)](this[_0x22d2ed(0x4f5)]);},'update':function(_0x5324ae){return this['_hasher']['update'](_0x5324ae),this;},'finalize':function(_0xc41bbc){const _0x5dd331=_0x276d0f;var _0x5990b2=this['_hasher'],_0x10186f=_0x5990b2['finalize'](_0xc41bbc);_0x5990b2[_0x5dd331(0x56a)]();var _0x50b9c2=_0x5990b2['finalize'](this[_0x5dd331(0x290)][_0x5dd331(0x521)]()['concat'](_0x10186f));return _0x50b9c2;}});}());}));}(zt)),zt[_0xa5f7af(0x58c)];}var ti;function ki(){const _0x155f8c=_0x29204f;return ti||(ti=0x1,function(_0x382edd,_0x53661d){(function(_0x3f2ed,_0x28e0bc,_0x298abd){_0x382edd['exports']=_0x28e0bc(ue(),xa(),La());}(Z,function(_0xef4790){const _0x2eb623=_0x5d6c;return(function(){const _0x37b40e=_0x5d6c;var _0x58384e=_0xef4790,_0x5cb4af=_0x58384e['lib'],_0x2795ef=_0x5cb4af[_0x37b40e(0x538)],_0x41008c=_0x5cb4af['WordArray'],_0xd4034b=_0x58384e[_0x37b40e(0x3cd)],_0x6e0a8a=_0xd4034b[_0x37b40e(0x40e)],_0x1d5328=_0xd4034b[_0x37b40e(0x463)]=_0x2795ef[_0x37b40e(0x45e)]({'cfg':_0x2795ef[_0x37b40e(0x45e)]({'keySize':0x80/0x20,'hasher':_0x6e0a8a,'iterations':0x1}),'init':function(_0x1f7701){const _0x2810e3=_0x37b40e;this['cfg']=this['cfg'][_0x2810e3(0x45e)](_0x1f7701);},'compute':function(_0x4a7208,_0x3ce6cc){const _0x4550c7=_0x37b40e;for(var _0x10020e,_0x29208a=this['cfg'],_0x2a0430=_0x29208a[_0x4550c7(0x257)][_0x4550c7(0x3c9)](),_0x307a6f=_0x41008c[_0x4550c7(0x3c9)](),_0x9f625b=_0x307a6f['words'],_0x40a107=_0x29208a[_0x4550c7(0x401)],_0x5841e8=_0x29208a[_0x4550c7(0x528)];_0x9f625b['length']<_0x40a107;){_0x10020e&&_0x2a0430['update'](_0x10020e),_0x10020e=_0x2a0430[_0x4550c7(0x2c8)](_0x4a7208)[_0x4550c7(0x405)](_0x3ce6cc),_0x2a0430[_0x4550c7(0x56a)]();for(var _0x1b2b60=0x1;_0x1b2b60<_0x5841e8;_0x1b2b60++)_0x10020e=_0x2a0430[_0x4550c7(0x405)](_0x10020e),_0x2a0430[_0x4550c7(0x56a)]();_0x307a6f['concat'](_0x10020e);}return _0x307a6f[_0x4550c7(0x21a)]=_0x40a107*0x4,_0x307a6f;}});_0x58384e[_0x37b40e(0x463)]=function(_0xe427f8,_0x3bbefc,_0x3f4859){const _0x10fbaa=_0x37b40e;return _0x1d5328[_0x10fbaa(0x3c9)](_0x3f4859)[_0x10fbaa(0x277)](_0xe427f8,_0x3bbefc);};}()),_0xef4790[_0x2eb623(0x463)];}));}(Yt)),Yt[_0x155f8c(0x58c)];}var qt={'exports':{}},si;function Wi(){const _0x299d37=_0x29204f;return si||(si=0x1,function(_0xb46582,_0x1235f9){(function(_0x2807a2,_0xaf7c5a,_0x5ea4ff){const _0x4e7f54=_0x5d6c;_0xb46582[_0x4e7f54(0x58c)]=_0xaf7c5a(ue(),ki());}(Z,function(_0x1841e8){const _0x543d17=_0x5d6c;_0x1841e8[_0x543d17(0x380)][_0x543d17(0x394)]||function(_0xac8f3f){const _0x9f5bec=_0x543d17;var _0x42abea=_0x1841e8,_0xaa2e7f=_0x42abea[_0x9f5bec(0x380)],_0x9ce10a=_0xaa2e7f[_0x9f5bec(0x538)],_0x5dfd0a=_0xaa2e7f[_0x9f5bec(0x4c6)],_0x2c5423=_0xaa2e7f[_0x9f5bec(0x223)],_0x5a8d2d=_0x42abea[_0x9f5bec(0x197)];_0x5a8d2d[_0x9f5bec(0x3e9)];var _0x285651=_0x5a8d2d[_0x9f5bec(0x333)],_0x46ccd5=_0x42abea['algo'],_0x58a116=_0x46ccd5[_0x9f5bec(0x463)],_0x1ae2d6=_0xaa2e7f['Cipher']=_0x2c5423[_0x9f5bec(0x45e)]({'cfg':_0x9ce10a[_0x9f5bec(0x45e)](),'createEncryptor':function(_0x28a90f,_0x15aae2){const _0x372efa=_0x9f5bec;return this['create'](this[_0x372efa(0x575)],_0x28a90f,_0x15aae2);},'createDecryptor':function(_0x469d19,_0x5a8dd4){const _0x11f314=_0x9f5bec;return this[_0x11f314(0x3c9)](this[_0x11f314(0x25b)],_0x469d19,_0x5a8dd4);},'init':function(_0x3a6081,_0x4d8633,_0x4c5c9c){const _0x5881a3=_0x9f5bec;this[_0x5881a3(0x41a)]=this[_0x5881a3(0x41a)]['extend'](_0x4c5c9c),this[_0x5881a3(0x542)]=_0x3a6081,this[_0x5881a3(0x273)]=_0x4d8633,this['reset']();},'reset':function(){const _0x552117=_0x9f5bec;_0x2c5423[_0x552117(0x56a)][_0x552117(0x321)](this),this[_0x552117(0x2f2)]();},'process':function(_0x5b35b0){const _0x26b520=_0x9f5bec;return this[_0x26b520(0x4d3)](_0x5b35b0),this['_process']();},'finalize':function(_0x4bd316){const _0x458450=_0x9f5bec;_0x4bd316&&this[_0x458450(0x4d3)](_0x4bd316);var _0x338ad9=this[_0x458450(0x47c)]();return _0x338ad9;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x254841(_0x72fed7){const _0x568865=_0x5d6c;return typeof _0x72fed7==_0x568865(0x46f)?_0xa4e13f:_0x7508ed;}return function(_0x10c10d){return{'encrypt':function(_0x565a94,_0x53db4e,_0x211eb9){const _0x2e75b0=_0x5d6c;return _0x254841(_0x53db4e)[_0x2e75b0(0x26e)](_0x10c10d,_0x565a94,_0x53db4e,_0x211eb9);},'decrypt':function(_0x28db68,_0x26cbc8,_0x39b155){const _0x321782=_0x5d6c;return _0x254841(_0x26cbc8)[_0x321782(0x2cd)](_0x10c10d,_0x28db68,_0x26cbc8,_0x39b155);}};};}())});_0xaa2e7f[_0x9f5bec(0x3ec)]=_0x1ae2d6[_0x9f5bec(0x45e)]({'_doFinalize':function(){const _0x6ef9e8=_0x9f5bec;var _0x4c4056=this[_0x6ef9e8(0x52b)](!0x0);return _0x4c4056;},'blockSize':0x1});var _0x42a1be=_0x42abea['mode']={},_0x304d88=_0xaa2e7f[_0x9f5bec(0x47a)]=_0x9ce10a[_0x9f5bec(0x45e)]({'createEncryptor':function(_0x5657b8,_0x4fa0b3){const _0x1c55e8=_0x9f5bec;return this['Encryptor'][_0x1c55e8(0x3c9)](_0x5657b8,_0x4fa0b3);},'createDecryptor':function(_0x6e291b,_0x5c4f89){const _0xd00054=_0x9f5bec;return this['Decryptor'][_0xd00054(0x3c9)](_0x6e291b,_0x5c4f89);},'init':function(_0x5a5d50,_0x224271){const _0x37f680=_0x9f5bec;this[_0x37f680(0x44f)]=_0x5a5d50,this['_iv']=_0x224271;}}),_0x10579b=_0x42a1be['CBC']=(function(){const _0x193791=_0x9f5bec;var _0xf65be4=_0x304d88[_0x193791(0x45e)]();_0xf65be4[_0x193791(0x1da)]=_0xf65be4[_0x193791(0x45e)]({'processBlock':function(_0x28676d,_0x33d66f){const _0x4f324b=_0x193791;var _0xf291e1=this[_0x4f324b(0x44f)],_0x53b827=_0xf291e1[_0x4f324b(0x534)];_0x22cde6[_0x4f324b(0x321)](this,_0x28676d,_0x33d66f,_0x53b827),_0xf291e1[_0x4f324b(0x27b)](_0x28676d,_0x33d66f),this[_0x4f324b(0x50a)]=_0x28676d[_0x4f324b(0x1e1)](_0x33d66f,_0x33d66f+_0x53b827);}}),_0xf65be4[_0x193791(0x284)]=_0xf65be4['extend']({'processBlock':function(_0x2021ee,_0x219d0a){const _0x54b251=_0x193791;var _0xa2f099=this[_0x54b251(0x44f)],_0xec2e7e=_0xa2f099[_0x54b251(0x534)],_0x7416ff=_0x2021ee[_0x54b251(0x1e1)](_0x219d0a,_0x219d0a+_0xec2e7e);_0xa2f099[_0x54b251(0x214)](_0x2021ee,_0x219d0a),_0x22cde6[_0x54b251(0x321)](this,_0x2021ee,_0x219d0a,_0xec2e7e),this[_0x54b251(0x50a)]=_0x7416ff;}});function _0x22cde6(_0x22e9f3,_0x414226,_0x304839){const _0xfa6c42=_0x193791;var _0x383a1f,_0x4f121e=this[_0xfa6c42(0x55b)];_0x4f121e?(_0x383a1f=_0x4f121e,this[_0xfa6c42(0x55b)]=_0xac8f3f):_0x383a1f=this[_0xfa6c42(0x50a)];for(var _0x5de080=0x0;_0x5de080<_0x304839;_0x5de080++)_0x22e9f3[_0x414226+_0x5de080]^=_0x383a1f[_0x5de080];}return _0xf65be4;}()),_0x2ea946=_0x42abea[_0x9f5bec(0x4c4)]={},_0x15aaf8=_0x2ea946[_0x9f5bec(0x399)]={'pad':function(_0x212ca3,_0x3d2490){const _0x579a9b=_0x9f5bec;for(var _0x5b4527=_0x3d2490*0x4,_0x34bafb=_0x5b4527-_0x212ca3[_0x579a9b(0x21a)]%_0x5b4527,_0x4c2dfc=_0x34bafb<<0x18|_0x34bafb<<0x10|_0x34bafb<<0x8|_0x34bafb,_0xe3d57a=[],_0x33940d=0x0;_0x33940d<_0x34bafb;_0x33940d+=0x4)_0xe3d57a[_0x579a9b(0x523)](_0x4c2dfc);var _0x375ec9=_0x5dfd0a[_0x579a9b(0x3c9)](_0xe3d57a,_0x34bafb);_0x212ca3[_0x579a9b(0x383)](_0x375ec9);},'unpad':function(_0xca4e88){const _0x4a96c1=_0x9f5bec;var _0x18fff9=_0xca4e88[_0x4a96c1(0x339)][_0xca4e88[_0x4a96c1(0x21a)]-0x1>>>0x2]&0xff;_0xca4e88[_0x4a96c1(0x21a)]-=_0x18fff9;}};_0xaa2e7f[_0x9f5bec(0x25c)]=_0x1ae2d6['extend']({'cfg':_0x1ae2d6[_0x9f5bec(0x41a)]['extend']({'mode':_0x10579b,'padding':_0x15aaf8}),'reset':function(){const _0x2efd9e=_0x9f5bec;var _0x26e1f9;_0x1ae2d6[_0x2efd9e(0x56a)][_0x2efd9e(0x321)](this);var _0x1f258e=this[_0x2efd9e(0x41a)],_0x26c07b=_0x1f258e['iv'],_0x5a65cc=_0x1f258e[_0x2efd9e(0x408)];this[_0x2efd9e(0x542)]==this['_ENC_XFORM_MODE']?_0x26e1f9=_0x5a65cc[_0x2efd9e(0x588)]:(_0x26e1f9=_0x5a65cc[_0x2efd9e(0x1bc)],this['_minBufferSize']=0x1),this[_0x2efd9e(0x397)]&&this[_0x2efd9e(0x397)][_0x2efd9e(0x564)]==_0x26e1f9?this[_0x2efd9e(0x397)][_0x2efd9e(0x195)](this,_0x26c07b&&_0x26c07b[_0x2efd9e(0x339)]):(this['_mode']=_0x26e1f9[_0x2efd9e(0x321)](_0x5a65cc,this,_0x26c07b&&_0x26c07b[_0x2efd9e(0x339)]),this[_0x2efd9e(0x397)][_0x2efd9e(0x564)]=_0x26e1f9);},'_doProcessBlock':function(_0x5d7db8,_0x135689){const _0x292c92=_0x9f5bec;this[_0x292c92(0x397)][_0x292c92(0x4dc)](_0x5d7db8,_0x135689);},'_doFinalize':function(){const _0x43b1ad=_0x9f5bec;var _0x183de4,_0x1f7310=this[_0x43b1ad(0x41a)][_0x43b1ad(0x20a)];return this['_xformMode']==this[_0x43b1ad(0x575)]?(_0x1f7310['pad'](this[_0x43b1ad(0x4fb)],this[_0x43b1ad(0x534)]),_0x183de4=this['_process'](!0x0)):(_0x183de4=this[_0x43b1ad(0x52b)](!0x0),_0x1f7310[_0x43b1ad(0x567)](_0x183de4)),_0x183de4;},'blockSize':0x80/0x20});var _0x428f65=_0xaa2e7f[_0x9f5bec(0x25a)]=_0x9ce10a[_0x9f5bec(0x45e)]({'init':function(_0x5f3713){const _0x111d1d=_0x9f5bec;this[_0x111d1d(0x4aa)](_0x5f3713);},'toString':function(_0x46321c){const _0x4f96c0=_0x9f5bec;return(_0x46321c||this[_0x4f96c0(0x27c)])['stringify'](this);}}),_0x4686a9=_0x42abea[_0x9f5bec(0x1e3)]={},_0xf8e2a1=_0x4686a9[_0x9f5bec(0x2bd)]={'stringify':function(_0x333174){const _0x21b4ab=_0x9f5bec;var _0x2bbbd3,_0x4ad345=_0x333174[_0x21b4ab(0x47b)],_0x5eff4f=_0x333174[_0x21b4ab(0x30c)];return _0x5eff4f?_0x2bbbd3=_0x5dfd0a[_0x21b4ab(0x3c9)]([0x53616c74,0x65645f5f])[_0x21b4ab(0x383)](_0x5eff4f)[_0x21b4ab(0x383)](_0x4ad345):_0x2bbbd3=_0x4ad345,_0x2bbbd3[_0x21b4ab(0x1b5)](_0x285651);},'parse':function(_0x5cc176){const _0x4953aa=_0x9f5bec;var _0x3ad85e,_0x3ca161=_0x285651[_0x4953aa(0x23a)](_0x5cc176),_0x30c1f2=_0x3ca161[_0x4953aa(0x339)];return _0x30c1f2[0x0]==0x53616c74&&_0x30c1f2[0x1]==0x65645f5f&&(_0x3ad85e=_0x5dfd0a['create'](_0x30c1f2['slice'](0x2,0x4)),_0x30c1f2[_0x4953aa(0x21f)](0x0,0x4),_0x3ca161[_0x4953aa(0x21a)]-=0x10),_0x428f65[_0x4953aa(0x3c9)]({'ciphertext':_0x3ca161,'salt':_0x3ad85e});}},_0x7508ed=_0xaa2e7f[_0x9f5bec(0x28b)]=_0x9ce10a[_0x9f5bec(0x45e)]({'cfg':_0x9ce10a['extend']({'format':_0xf8e2a1}),'encrypt':function(_0x1e8359,_0x401f47,_0x586060,_0xadd6e3){const _0x36f5a5=_0x9f5bec;_0xadd6e3=this[_0x36f5a5(0x41a)][_0x36f5a5(0x45e)](_0xadd6e3);var _0x4a6bc9=_0x1e8359[_0x36f5a5(0x588)](_0x586060,_0xadd6e3),_0xb72906=_0x4a6bc9[_0x36f5a5(0x405)](_0x401f47),_0x31be2e=_0x4a6bc9[_0x36f5a5(0x41a)];return _0x428f65[_0x36f5a5(0x3c9)]({'ciphertext':_0xb72906,'key':_0x586060,'iv':_0x31be2e['iv'],'algorithm':_0x1e8359,'mode':_0x31be2e[_0x36f5a5(0x408)],'padding':_0x31be2e[_0x36f5a5(0x20a)],'blockSize':_0x1e8359[_0x36f5a5(0x534)],'formatter':_0xadd6e3[_0x36f5a5(0x1e3)]});},'decrypt':function(_0x18db7e,_0x4684cd,_0x3436bf,_0xe80cb3){const _0x10707=_0x9f5bec;_0xe80cb3=this[_0x10707(0x41a)][_0x10707(0x45e)](_0xe80cb3),_0x4684cd=this['_parse'](_0x4684cd,_0xe80cb3[_0x10707(0x1e3)]);var _0x3560c5=_0x18db7e[_0x10707(0x1bc)](_0x3436bf,_0xe80cb3)[_0x10707(0x405)](_0x4684cd[_0x10707(0x47b)]);return _0x3560c5;},'_parse':function(_0x1e8c1e,_0x1665e1){const _0x1567f1=_0x9f5bec;return typeof _0x1e8c1e=='string'?_0x1665e1[_0x1567f1(0x23a)](_0x1e8c1e,this):_0x1e8c1e;}}),_0x12bd5b=_0x42abea[_0x9f5bec(0x2be)]={},_0x10f8a1=_0x12bd5b[_0x9f5bec(0x2bd)]={'execute':function(_0x29c22b,_0x568326,_0x4caa12,_0x441cf6,_0x5bf8bc){const _0x40398f=_0x9f5bec;if(_0x441cf6||(_0x441cf6=_0x5dfd0a[_0x40398f(0x1ac)](0x40/0x8)),_0x5bf8bc)var _0x27b40a=_0x58a116[_0x40398f(0x3c9)]({'keySize':_0x568326+_0x4caa12,'hasher':_0x5bf8bc})[_0x40398f(0x277)](_0x29c22b,_0x441cf6);else var _0x27b40a=_0x58a116[_0x40398f(0x3c9)]({'keySize':_0x568326+_0x4caa12})[_0x40398f(0x277)](_0x29c22b,_0x441cf6);var _0x34f596=_0x5dfd0a['create'](_0x27b40a[_0x40398f(0x339)][_0x40398f(0x1e1)](_0x568326),_0x4caa12*0x4);return _0x27b40a[_0x40398f(0x21a)]=_0x568326*0x4,_0x428f65['create']({'key':_0x27b40a,'iv':_0x34f596,'salt':_0x441cf6});}},_0xa4e13f=_0xaa2e7f['PasswordBasedCipher']=_0x7508ed[_0x9f5bec(0x45e)]({'cfg':_0x7508ed[_0x9f5bec(0x41a)][_0x9f5bec(0x45e)]({'kdf':_0x10f8a1}),'encrypt':function(_0x29c22d,_0x27b70e,_0x3461eb,_0x877c2a){const _0x9dbf78=_0x9f5bec;_0x877c2a=this[_0x9dbf78(0x41a)][_0x9dbf78(0x45e)](_0x877c2a);var _0x4acc2a=_0x877c2a[_0x9dbf78(0x2be)][_0x9dbf78(0x26c)](_0x3461eb,_0x29c22d[_0x9dbf78(0x401)],_0x29c22d[_0x9dbf78(0x3e7)],_0x877c2a[_0x9dbf78(0x30c)],_0x877c2a['hasher']);_0x877c2a['iv']=_0x4acc2a['iv'];var _0x30e8fe=_0x7508ed[_0x9dbf78(0x26e)][_0x9dbf78(0x321)](this,_0x29c22d,_0x27b70e,_0x4acc2a['key'],_0x877c2a);return _0x30e8fe['mixIn'](_0x4acc2a),_0x30e8fe;},'decrypt':function(_0x5d9ed4,_0x3266d3,_0x3503fa,_0x3ba2e1){const _0x5c2827=_0x9f5bec;_0x3ba2e1=this[_0x5c2827(0x41a)][_0x5c2827(0x45e)](_0x3ba2e1),_0x3266d3=this[_0x5c2827(0x193)](_0x3266d3,_0x3ba2e1['format']);var _0x2069d6=_0x3ba2e1[_0x5c2827(0x2be)][_0x5c2827(0x26c)](_0x3503fa,_0x5d9ed4[_0x5c2827(0x401)],_0x5d9ed4[_0x5c2827(0x3e7)],_0x3266d3[_0x5c2827(0x30c)],_0x3ba2e1[_0x5c2827(0x257)]);_0x3ba2e1['iv']=_0x2069d6['iv'];var _0xf84be1=_0x7508ed[_0x5c2827(0x2cd)][_0x5c2827(0x321)](this,_0x5d9ed4,_0x3266d3,_0x2069d6[_0x5c2827(0x30e)],_0x3ba2e1);return _0xf84be1;}});}();}));}(qt)),qt[_0x299d37(0x58c)];}(function(_0x59a562,_0x2cfa03){(function(_0x469b76,_0x19a9da,_0x267aa1){_0x59a562['exports']=_0x19a9da(ue(),Bi(),Ma(),ki(),Wi());}(Z,function(_0xa687af){const _0xdf0612=_0x5d6c;return(function(){const _0x2117f0=_0x5d6c;var _0x255290=_0xa687af,_0x2e4754=_0x255290['lib'],_0x1d4459=_0x2e4754[_0x2117f0(0x25c)],_0x160f81=_0x255290[_0x2117f0(0x3cd)],_0x3a527d=[],_0x2c5d21=[],_0x975da8=[],_0x22f273=[],_0xb26bbc=[],_0x14bb46=[],_0x5cde75=[],_0x541e12=[],_0xfd2cd6=[],_0x37ab5b=[];(function(){for(var _0x11d098=[],_0x32db83=0x0;_0x32db83<0x100;_0x32db83++)_0x32db83<0x80?_0x11d098[_0x32db83]=_0x32db83<<0x1:_0x11d098[_0x32db83]=_0x32db83<<0x1^0x11b;for(var _0x569648=0x0,_0x4e5092=0x0,_0x32db83=0x0;_0x32db83<0x100;_0x32db83++){var _0x568021=_0x4e5092^_0x4e5092<<0x1^_0x4e5092<<0x2^_0x4e5092<<0x3^_0x4e5092<<0x4;_0x568021=_0x568021>>>0x8^_0x568021&0xff^0x63,_0x3a527d[_0x569648]=_0x568021,_0x2c5d21[_0x568021]=_0x569648;var _0x229e34=_0x11d098[_0x569648],_0x637235=_0x11d098[_0x229e34],_0x2e11dc=_0x11d098[_0x637235],_0x4bd884=_0x11d098[_0x568021]*0x101^_0x568021*0x1010100;_0x975da8[_0x569648]=_0x4bd884<<0x18|_0x4bd884>>>0x8,_0x22f273[_0x569648]=_0x4bd884<<0x10|_0x4bd884>>>0x10,_0xb26bbc[_0x569648]=_0x4bd884<<0x8|_0x4bd884>>>0x18,_0x14bb46[_0x569648]=_0x4bd884;var _0x4bd884=_0x2e11dc*0x1010101^_0x637235*0x10001^_0x229e34*0x101^_0x569648*0x1010100;_0x5cde75[_0x568021]=_0x4bd884<<0x18|_0x4bd884>>>0x8,_0x541e12[_0x568021]=_0x4bd884<<0x10|_0x4bd884>>>0x10,_0xfd2cd6[_0x568021]=_0x4bd884<<0x8|_0x4bd884>>>0x18,_0x37ab5b[_0x568021]=_0x4bd884,_0x569648?(_0x569648=_0x229e34^_0x11d098[_0x11d098[_0x11d098[_0x2e11dc^_0x229e34]]],_0x4e5092^=_0x11d098[_0x11d098[_0x4e5092]]):_0x569648=_0x4e5092=0x1;}}());var _0x3fcd6b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x29962b=_0x160f81[_0x2117f0(0x493)]=_0x1d4459[_0x2117f0(0x45e)]({'_doReset':function(){const _0x3a7274=_0x2117f0;var _0x2e58e1;if(!(this[_0x3a7274(0x1ae)]&&this[_0x3a7274(0x540)]===this[_0x3a7274(0x273)])){for(var _0x446700=this['_keyPriorReset']=this[_0x3a7274(0x273)],_0x298eed=_0x446700['words'],_0x254998=_0x446700['sigBytes']/0x4,_0x1107f8=this[_0x3a7274(0x1ae)]=_0x254998+0x6,_0x339b40=(_0x1107f8+0x1)*0x4,_0x48f2cd=this['_keySchedule']=[],_0x508f51=0x0;_0x508f51<_0x339b40;_0x508f51++)_0x508f51<_0x254998?_0x48f2cd[_0x508f51]=_0x298eed[_0x508f51]:(_0x2e58e1=_0x48f2cd[_0x508f51-0x1],_0x508f51%_0x254998?_0x254998>0x6&&_0x508f51%_0x254998==0x4&&(_0x2e58e1=_0x3a527d[_0x2e58e1>>>0x18]<<0x18|_0x3a527d[_0x2e58e1>>>0x10&0xff]<<0x10|_0x3a527d[_0x2e58e1>>>0x8&0xff]<<0x8|_0x3a527d[_0x2e58e1&0xff]):(_0x2e58e1=_0x2e58e1<<0x8|_0x2e58e1>>>0x18,_0x2e58e1=_0x3a527d[_0x2e58e1>>>0x18]<<0x18|_0x3a527d[_0x2e58e1>>>0x10&0xff]<<0x10|_0x3a527d[_0x2e58e1>>>0x8&0xff]<<0x8|_0x3a527d[_0x2e58e1&0xff],_0x2e58e1^=_0x3fcd6b[_0x508f51/_0x254998|0x0]<<0x18),_0x48f2cd[_0x508f51]=_0x48f2cd[_0x508f51-_0x254998]^_0x2e58e1);for(var _0x22d2ab=this[_0x3a7274(0x565)]=[],_0x1937f5=0x0;_0x1937f5<_0x339b40;_0x1937f5++){var _0x508f51=_0x339b40-_0x1937f5;if(_0x1937f5%0x4)var _0x2e58e1=_0x48f2cd[_0x508f51];else var _0x2e58e1=_0x48f2cd[_0x508f51-0x4];_0x1937f5<0x4||_0x508f51<=0x4?_0x22d2ab[_0x1937f5]=_0x2e58e1:_0x22d2ab[_0x1937f5]=_0x5cde75[_0x3a527d[_0x2e58e1>>>0x18]]^_0x541e12[_0x3a527d[_0x2e58e1>>>0x10&0xff]]^_0xfd2cd6[_0x3a527d[_0x2e58e1>>>0x8&0xff]]^_0x37ab5b[_0x3a527d[_0x2e58e1&0xff]];}}},'encryptBlock':function(_0x4a72ab,_0x2b9f46){const _0x4ca24e=_0x2117f0;this[_0x4ca24e(0x598)](_0x4a72ab,_0x2b9f46,this[_0x4ca24e(0x4ca)],_0x975da8,_0x22f273,_0xb26bbc,_0x14bb46,_0x3a527d);},'decryptBlock':function(_0x13a420,_0x272e67){const _0x47f877=_0x2117f0;var _0x12ad48=_0x13a420[_0x272e67+0x1];_0x13a420[_0x272e67+0x1]=_0x13a420[_0x272e67+0x3],_0x13a420[_0x272e67+0x3]=_0x12ad48,this[_0x47f877(0x598)](_0x13a420,_0x272e67,this['_invKeySchedule'],_0x5cde75,_0x541e12,_0xfd2cd6,_0x37ab5b,_0x2c5d21);var _0x12ad48=_0x13a420[_0x272e67+0x1];_0x13a420[_0x272e67+0x1]=_0x13a420[_0x272e67+0x3],_0x13a420[_0x272e67+0x3]=_0x12ad48;},'_doCryptBlock':function(_0x4b1d90,_0x3ae56b,_0x4fc566,_0x226d94,_0x52ffbc,_0x57edd5,_0x2adfc4,_0x34c5db){const _0x3061a6=_0x2117f0;for(var _0x294b24=this[_0x3061a6(0x1ae)],_0x234dd6=_0x4b1d90[_0x3ae56b]^_0x4fc566[0x0],_0x5e4bff=_0x4b1d90[_0x3ae56b+0x1]^_0x4fc566[0x1],_0x106440=_0x4b1d90[_0x3ae56b+0x2]^_0x4fc566[0x2],_0x40ceb5=_0x4b1d90[_0x3ae56b+0x3]^_0x4fc566[0x3],_0x451b25=0x4,_0x56ca0c=0x1;_0x56ca0c<_0x294b24;_0x56ca0c++){var _0x3fa57b=_0x226d94[_0x234dd6>>>0x18]^_0x52ffbc[_0x5e4bff>>>0x10&0xff]^_0x57edd5[_0x106440>>>0x8&0xff]^_0x2adfc4[_0x40ceb5&0xff]^_0x4fc566[_0x451b25++],_0x46012d=_0x226d94[_0x5e4bff>>>0x18]^_0x52ffbc[_0x106440>>>0x10&0xff]^_0x57edd5[_0x40ceb5>>>0x8&0xff]^_0x2adfc4[_0x234dd6&0xff]^_0x4fc566[_0x451b25++],_0x46fe63=_0x226d94[_0x106440>>>0x18]^_0x52ffbc[_0x40ceb5>>>0x10&0xff]^_0x57edd5[_0x234dd6>>>0x8&0xff]^_0x2adfc4[_0x5e4bff&0xff]^_0x4fc566[_0x451b25++],_0x33de06=_0x226d94[_0x40ceb5>>>0x18]^_0x52ffbc[_0x234dd6>>>0x10&0xff]^_0x57edd5[_0x5e4bff>>>0x8&0xff]^_0x2adfc4[_0x106440&0xff]^_0x4fc566[_0x451b25++];_0x234dd6=_0x3fa57b,_0x5e4bff=_0x46012d,_0x106440=_0x46fe63,_0x40ceb5=_0x33de06;}var _0x3fa57b=(_0x34c5db[_0x234dd6>>>0x18]<<0x18|_0x34c5db[_0x5e4bff>>>0x10&0xff]<<0x10|_0x34c5db[_0x106440>>>0x8&0xff]<<0x8|_0x34c5db[_0x40ceb5&0xff])^_0x4fc566[_0x451b25++],_0x46012d=(_0x34c5db[_0x5e4bff>>>0x18]<<0x18|_0x34c5db[_0x106440>>>0x10&0xff]<<0x10|_0x34c5db[_0x40ceb5>>>0x8&0xff]<<0x8|_0x34c5db[_0x234dd6&0xff])^_0x4fc566[_0x451b25++],_0x46fe63=(_0x34c5db[_0x106440>>>0x18]<<0x18|_0x34c5db[_0x40ceb5>>>0x10&0xff]<<0x10|_0x34c5db[_0x234dd6>>>0x8&0xff]<<0x8|_0x34c5db[_0x5e4bff&0xff])^_0x4fc566[_0x451b25++],_0x33de06=(_0x34c5db[_0x40ceb5>>>0x18]<<0x18|_0x34c5db[_0x234dd6>>>0x10&0xff]<<0x10|_0x34c5db[_0x5e4bff>>>0x8&0xff]<<0x8|_0x34c5db[_0x106440&0xff])^_0x4fc566[_0x451b25++];_0x4b1d90[_0x3ae56b]=_0x3fa57b,_0x4b1d90[_0x3ae56b+0x1]=_0x46012d,_0x4b1d90[_0x3ae56b+0x2]=_0x46fe63,_0x4b1d90[_0x3ae56b+0x3]=_0x33de06;},'keySize':0x100/0x20});_0x255290['AES']=_0x1d4459[_0x2117f0(0x282)](_0x29962b);}()),_0xa687af[_0xdf0612(0x493)];}));}(ji));var $a=ji[_0x29204f(0x58c)];const Ha=at($a);var ja=Bi();const ii=at(ja);var Fi={'exports':{}};(function(_0x45907f,_0xb58fec){(function(_0x1973f8,_0x3955d1){_0x45907f['exports']=_0x3955d1(ue());}(Z,function(_0x35335b){const _0x35dc99=_0x5d6c;return _0x35335b[_0x35dc99(0x197)][_0x35dc99(0x3e9)];}));}(Fi));var Ba=Fi[_0x29204f(0x58c)];const ka=at(Ba);var Vi={'exports':{}};(function(_0x35052d,_0x57b767){(function(_0x2f63cd,_0x332b9e){const _0x363859=_0x5d6c;_0x35052d[_0x363859(0x58c)]=_0x332b9e(ue());}(Z,function(_0x42c1b7){const _0x9db5cb=_0x5d6c;return(function(){const _0x47a82f=_0x5d6c;if(typeof ArrayBuffer==_0x47a82f(0x1c3)){var _0x1bf01e=_0x42c1b7,_0x4c9457=_0x1bf01e[_0x47a82f(0x380)],_0x585584=_0x4c9457[_0x47a82f(0x4c6)],_0x136530=_0x585584[_0x47a82f(0x195)],_0x4ed1b9=_0x585584[_0x47a82f(0x195)]=function(_0x2ba8dd){const _0x4300c4=_0x47a82f;if(_0x2ba8dd instanceof ArrayBuffer&&(_0x2ba8dd=new Uint8Array(_0x2ba8dd)),(_0x2ba8dd instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2ba8dd instanceof Uint8ClampedArray||_0x2ba8dd instanceof Int16Array||_0x2ba8dd instanceof Uint16Array||_0x2ba8dd instanceof Int32Array||_0x2ba8dd instanceof Uint32Array||_0x2ba8dd instanceof Float32Array||_0x2ba8dd instanceof Float64Array)&&(_0x2ba8dd=new Uint8Array(_0x2ba8dd[_0x4300c4(0x4c7)],_0x2ba8dd[_0x4300c4(0x28a)],_0x2ba8dd[_0x4300c4(0x4f1)])),_0x2ba8dd instanceof Uint8Array){for(var _0x25d5f7=_0x2ba8dd[_0x4300c4(0x4f1)],_0x1268d8=[],_0x5aa20e=0x0;_0x5aa20e<_0x25d5f7;_0x5aa20e++)_0x1268d8[_0x5aa20e>>>0x2]|=_0x2ba8dd[_0x5aa20e]<<0x18-_0x5aa20e%0x4*0x8;_0x136530[_0x4300c4(0x321)](this,_0x1268d8,_0x25d5f7);}else _0x136530['apply'](this,arguments);};_0x4ed1b9['prototype']=_0x585584;}}()),_0x42c1b7[_0x9db5cb(0x380)]['WordArray'];}));}(Vi));var Wa=Vi[_0x29204f(0x58c)];const Fa=at(Wa);var Gi={'exports':{}};(function(_0x408cac,_0x3ab213){(function(_0x3ab4d8,_0x235b6f,_0x1c0c2b){const _0xa20327=_0x5d6c;_0x408cac[_0xa20327(0x58c)]=_0x235b6f(ue(),Wi());}(Z,function(_0x105739){const _0x4d9c31=_0x5d6c;return _0x105739[_0x4d9c31(0x4c4)][_0x4d9c31(0x23d)]={'pad':function(){},'unpad':function(){}},_0x105739[_0x4d9c31(0x4c4)]['NoPadding'];}));}(Gi));var Va=Gi[_0x29204f(0x58c)];const Ga=at(Va);function Ya(_0x245024,_0x5e6009){const _0x180c77=_0x29204f,_0x12f171=_0x5e6009-_0x245024[_0x180c77(0x2f0)]%_0x5e6009,_0x4b3cb5=String[_0x180c77(0x403)](_0x12f171)[_0x180c77(0x3dc)](_0x12f171);return _0x245024+_0x4b3cb5;}function Ka(_0x14942c,_0x5a911c){const _0x4c9d6a=_0x29204f,_0x58bcd7=Fa[_0x4c9d6a(0x1ac)](0x10),_0xa1012c=Ya(_0x14942c,0x10),_0x22ff7f=Ha[_0x4c9d6a(0x26e)](ka[_0x4c9d6a(0x23a)](_0xa1012c),ii['parse'](_0x5a911c),{'iv':_0x58bcd7,'padding':Ga});return _0x58bcd7['concat'](_0x22ff7f[_0x4c9d6a(0x47b)])['toString'](ii);}function za(){const _0x1afd6a=_0x29204f,_0xbb687=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x1afd6a(0x20e)];if(_0xbb687){const _0x10a6da={'time':Math[_0x1afd6a(0x2e0)](Date[_0x1afd6a(0x3f8)]()/0x3e8),'domain':location[_0x1afd6a(0x569)]};return Ka(JSON[_0x1afd6a(0x4bf)](_0x10a6da),_0xbb687);}}var qa=Object[_0x29204f(0x51a)],Xa=Object[_0x29204f(0x424)],Ja=(_0x34a1f8,_0x4c1810,_0x6830ff,_0x17d091)=>{const _0x5140f9=_0x29204f;for(var _0x5e66b6=_0x17d091>0x1?void 0x0:_0x17d091?Xa(_0x4c1810,_0x6830ff):_0x4c1810,_0x5d9203=_0x34a1f8[_0x5140f9(0x2f0)]-0x1,_0x559b0d;_0x5d9203>=0x0;_0x5d9203--)(_0x559b0d=_0x34a1f8[_0x5d9203])&&(_0x5e66b6=(_0x17d091?_0x559b0d(_0x4c1810,_0x6830ff,_0x5e66b6):_0x559b0d(_0x5e66b6))||_0x5e66b6);return _0x17d091&&_0x5e66b6&&qa(_0x4c1810,_0x6830ff,_0x5e66b6),_0x5e66b6;},Za=(_0x287b7e,_0x2d5ffb)=>(_0x3ee759,_0x50a6b0)=>_0x2d5ffb(_0x3ee759,_0x50a6b0,_0x287b7e);let Tt=class{constructor(_0x10789e){const _0x356fa9=_0x29204f;this[_0x356fa9(0x3ef)]=_0x10789e,this[_0x356fa9(0x302)]();}['_initRequestHeader'](){const _0x23486d=_0x29204f;this[_0x23486d(0x3ef)][_0x23486d(0x3e4)]({'interceptor':(_0x4054cd,_0xf0d174)=>{const _0x369bd1=_0x23486d,_0x433822=_0x4054cd[_0x369bd1(0x419)],_0x50ffbb=za();return _0x50ffbb&&_0x433822[_0x369bd1(0x4b7)](_0x369bd1(0x2a6),_0x50ffbb),_0xf0d174(_0x4054cd);}});}};Tt=Ja([Za(0x0,_0x31a227(_0x6042f))],Tt);var Qa=Object['defineProperty'],ec=Object[_0x29204f(0x424)],tc=(_0x1c8f75,_0x187a3f,_0x595aa4,_0x4f68bf)=>{const _0x1f893a=_0x29204f;for(var _0x486885=_0x4f68bf>0x1?void 0x0:_0x4f68bf?ec(_0x187a3f,_0x595aa4):_0x187a3f,_0x386ac3=_0x1c8f75[_0x1f893a(0x2f0)]-0x1,_0x78e96c;_0x386ac3>=0x0;_0x386ac3--)(_0x78e96c=_0x1c8f75[_0x386ac3])&&(_0x486885=(_0x4f68bf?_0x78e96c(_0x187a3f,_0x595aa4,_0x486885):_0x78e96c(_0x486885))||_0x486885);return _0x4f68bf&&_0x486885&&Qa(_0x187a3f,_0x595aa4,_0x486885),_0x486885;},Xt=(_0x1e2c85,_0x147f64)=>(_0x3c222f,_0x5c887e)=>_0x147f64(_0x3c222f,_0x5c887e,_0x1e2c85);const sc=[_0x29204f(0x275),_0x29204f(0x1a7),_0x29204f(0x345),'image/gif',_0x29204f(0x1e9)],ic=0x5*0x400*0x400,nc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',rc='/universer-api/stream/file/upload',oc=_0x29204f(0x449),ac=_0x29204f(0x43a);let hs=class{constructor(_0x1f2ce9,_0x285230,_0x52131e){const _0x26b7a9=_0x29204f;g(this,_0x26b7a9(0x467),0x0),g(this,_0x26b7a9(0x46e),new _0x5c0e09()),g(this,_0x26b7a9(0x217),this[_0x26b7a9(0x46e)]),g(this,_0x26b7a9(0x480),new Map()),(this[_0x26b7a9(0x3ef)]=_0x1f2ce9,this[_0x26b7a9(0x2d6)]=_0x285230,this['_univerInstanceService']=_0x52131e);}['setWaitCount'](_0xad10b3){const _0xc9daee=_0x29204f;this[_0xc9daee(0x467)]=_0xad10b3,this[_0xc9daee(0x46e)][_0xc9daee(0x27a)](_0xad10b3);}[_0x29204f(0x451)](_0x597895,_0x1517db){const _0x19aca2=_0x29204f;if(_0x1517db===_0x12208b[_0x19aca2(0x264)]){const _0x2703ed=new Image();return _0x2703ed[_0x19aca2(0x447)]=_0x597895,_0x2703ed;}return this[_0x19aca2(0x480)][_0x19aca2(0x19e)](_0x597895);}['addImageSourceCache'](_0x2ad06e,_0x2a6261,_0x2e21c4){const _0x4f04e6=_0x29204f;_0x2a6261===_0x12208b[_0x4f04e6(0x264)]||_0x2e21c4==null||this[_0x4f04e6(0x480)][_0x4f04e6(0x4b7)](_0x2ad06e,_0x2e21c4);}async[_0x29204f(0x4b1)](_0x1ba923){const _0x530f4e=_0x29204f;try{const _0x254903=this[_0x530f4e(0x485)](this[_0x530f4e(0x445)](),''+_0x1ba923),_0x5b2355=(await this[_0x530f4e(0x3ef)][_0x530f4e(0x19e)](_0x254903))[_0x530f4e(0x269)];if(_0x5b2355[_0x530f4e(0x5a3)]&&_0x5b2355['error'][_0x530f4e(0x221)]===Ri['OK']){const _0x72c31d=new URL(_0x5b2355[_0x530f4e(0x48c)],this[_0x530f4e(0x253)]())[_0x530f4e(0x1b5)]();return Promise[_0x530f4e(0x5a1)](_0x72c31d);}return Promise['reject'](_0x5b2355[_0x530f4e(0x5a3)]);}catch(_0x37c7ae){return Promise[_0x530f4e(0x1ef)](_0x37c7ae);}}async[_0x29204f(0x213)](_0x9cc475){const _0x152ee8=_0x29204f;let _0x549bf9='';if(!sc[_0x152ee8(0x40a)](_0x9cc475[_0x152ee8(0x267)]))return this[_0x152ee8(0x271)](),Promise[_0x152ee8(0x1ef)](new Error(_0x1ae38a[_0x152ee8(0x3bc)]));if(_0x9cc475[_0x152ee8(0x48a)]>ic)return this['_decreaseWaiting'](),Promise[_0x152ee8(0x1ef)](new Error(_0x1ae38a[_0x152ee8(0x347)]));try{const _0x14e3d6=new FormData();_0x14e3d6['append'](_0x152ee8(0x318),_0x9cc475);const _0x17a715=this[_0x152ee8(0x472)][_0x152ee8(0x48b)](),_0x57d952=_0x17a715==null?void 0x0:_0x17a715['getUnitId']();if(!_0x57d952)throw new Error('unitId\x20is\x20not\x20found');const _0x1fef5e=this[_0x152ee8(0x3f2)]()+'?size='+_0x9cc475['size'][_0x152ee8(0x1b5)]()+_0x152ee8(0x582)+yi[_0x152ee8(0x59b)]+_0x152ee8(0x498)+encodeURIComponent(_0x57d952),_0x52653f=await(await fetch(_0x1fef5e,{'method':_0x152ee8(0x439),'body':_0x14e3d6}))[_0x152ee8(0x222)]();if(typeof _0x52653f[_0x152ee8(0x547)]!=_0x152ee8(0x46f))return this[_0x152ee8(0x271)](),Promise[_0x152ee8(0x1ef)](new Error(_0x1ae38a[_0x152ee8(0x54d)]));_0x549bf9=_0x52653f[_0x152ee8(0x547)];}catch{return this['_decreaseWaiting'](),Promise[_0x152ee8(0x1ef)](new Error(_0x1ae38a[_0x152ee8(0x54d)]));}return new Promise((_0x1e57ec,_0x51f744)=>{const _0x1c23cf=_0x152ee8,_0x47b86c=new FileReader();_0x47b86c[_0x1c23cf(0x594)](_0x9cc475),_0x47b86c[_0x1c23cf(0x261)]=_0x314b73=>{const _0x561c21=_0x1c23cf;var _0x3284fb;const _0x569d4c=(_0x3284fb=_0x314b73['target'])==null?void 0x0:_0x3284fb[_0x561c21(0x2a4)];if(_0x569d4c==null){this[_0x561c21(0x271)](),_0x51f744(new Error(_0x1ae38a[_0x561c21(0x54d)]));return;}const _0x19f9d8=_0x572bca[_0x561c21(0x584)](0x6);_0x1e57ec({'imageId':_0x19f9d8,'imageSourceType':_0x12208b[_0x561c21(0x59f)],'source':_0x549bf9,'base64Cache':_0x569d4c,'status':_0x1ae38a[_0x561c21(0x49a)]}),this['_decreaseWaiting']();};});}[_0x29204f(0x3f2)](){const _0x282a10=_0x29204f;var _0x25330d,_0x3292c3;const _0x2a7c0e=this[_0x282a10(0x2d6)][_0x282a10(0x4c3)](nc),_0x45b996=this[_0x282a10(0x2d6)]['getConfig'](ie);return(_0x3292c3=(_0x25330d=_0x45b996==null?void 0x0:_0x45b996['uploadFileServerUrl'])!=null?_0x25330d:_0x2a7c0e)!=null?_0x3292c3:rc;}[_0x29204f(0x445)](){const _0x35150c=_0x29204f;var _0x2f2491,_0x16c239;const _0x5498f5=this['_configService']['getConfig'](oc),_0x188b9c=this[_0x35150c(0x2d6)]['getConfig'](ie);return(_0x16c239=(_0x2f2491=_0x188b9c==null?void 0x0:_0x188b9c[_0x35150c(0x327)])!=null?_0x2f2491:_0x5498f5)!=null?_0x16c239:ac;}[_0x29204f(0x253)](){const _0x217b67=_0x29204f;var _0x512169;const _0x5ce282=this[_0x217b67(0x2d6)]['getConfig'](ie);return(_0x512169=_0x5ce282==null?void 0x0:_0x5ce282['downloadEndpointUrl'])!=null?_0x512169:location[_0x217b67(0x300)];}[_0x29204f(0x485)](_0x3c9185,_0x13f1ce){const _0x4947b4=_0x29204f;return _0x3c9185[_0x4947b4(0x427)](_0x4947b4(0x377),_0x13f1ce);}['_decreaseWaiting'](){const _0x10a7d1=_0x29204f;this[_0x10a7d1(0x467)]-=0x1,this['_change$'][_0x10a7d1(0x27a)](this[_0x10a7d1(0x467)]);}};hs=tc([Xt(0x0,_0x31a227(_0x6042f)),Xt(0x1,_0x1d1963),Xt(0x2,_0x31a227(_0x1a11e5))],hs);var cc=Object['defineProperty'],hc=Object['getOwnPropertyDescriptor'],lc=(_0x54791e,_0x12f1b5,_0x3f00c1,_0x2cb7a4)=>{const _0x32080e=_0x29204f;for(var _0x2f82d2=_0x2cb7a4>0x1?void 0x0:_0x2cb7a4?hc(_0x12f1b5,_0x3f00c1):_0x12f1b5,_0x48501e=_0x54791e[_0x32080e(0x2f0)]-0x1,_0x32834e;_0x48501e>=0x0;_0x48501e--)(_0x32834e=_0x54791e[_0x48501e])&&(_0x2f82d2=(_0x2cb7a4?_0x32834e(_0x12f1b5,_0x3f00c1,_0x2f82d2):_0x32834e(_0x2f82d2))||_0x2f82d2);return _0x2cb7a4&&_0x2f82d2&&cc(_0x12f1b5,_0x3f00c1,_0x2f82d2),_0x2f82d2;},Qe=(_0x2f4fde,_0x51abe1)=>(_0x3c00a7,_0x1e1a90)=>_0x51abe1(_0x3c00a7,_0x1e1a90,_0x2f4fde);let Rt=class extends _0x3823d2{constructor(_0x2e0369,_0x4c5bc9,_0xd8da0d,_0x38e46f,_0x1abdd5){const _0x4a5e51=_0x29204f;super(),this[_0x4a5e51(0x501)]=_0x2e0369,this[_0x4a5e51(0x472)]=_0x4c5bc9,this[_0x4a5e51(0x486)]=_0xd8da0d,this['_collaborationSessionService']=_0x38e46f,this[_0x4a5e51(0x1ab)]=_0x1abdd5,this[_0x4a5e51(0x4b5)](),this[_0x4a5e51(0x599)]();}[_0x29204f(0x599)](){const _0x115d89=_0x29204f,_0x2c8a5d=async _0x3b045b=>{const _0xe7a640=_0x5d6c;(await this[_0xe7a640(0x54a)]['requireSession'](_0x3b045b))[_0xe7a640(0x190)]['pipe'](_0xeba3c2(_0x20af68=>_0x20af68[_0xe7a640(0x4dd)]===_0x4bdbff[_0xe7a640(0x23f)]),_0xa64c87(this['dispose$']))[_0xe7a640(0x388)](_0x434560=>{const _0x10abde=_0xe7a640,_0x47e536=_0x434560,{reason:_0x3fe4a8}=_0x47e536[_0x10abde(0x1af)];this[_0x10abde(0x501)][_0x10abde(0x19e)](_0x5d8f55)[_0x10abde(0x4ad)]({'type':_0x11c8f7[_0x10abde(0x428)],'content':this[_0x10abde(0x1ab)]['t']('collaboration.closeRoom')+'('+_0x3fe4a8+')'}),this[_0x10abde(0x486)][_0x10abde(0x36d)](new _0x1a85fe(_0x3b045b)['id'],!0x1),this[_0x10abde(0x54a)]['closeSession'](_0x3b045b);});};_0x5924a9(this[_0x115d89(0x472)][_0x115d89(0x543)](_0x5e8949[_0x115d89(0x27e)]),this[_0x115d89(0x472)][_0x115d89(0x543)](_0x5e8949['UNIVER_DOC']))[_0x115d89(0x457)](_0x2057c1(_0x151b8d=>_0x151b8d[_0x115d89(0x335)]()),_0xeba3c2(_0x2ee2e2=>!_0x157358(_0x2ee2e2)),_0xa64c87(this[_0x115d89(0x58b)]))[_0x115d89(0x388)](_0xdaf5e8=>{_0x2c8a5d(_0xdaf5e8);});}[_0x29204f(0x4b5)](){const _0x221fe3=_0x29204f,_0x18eefd=async _0xff45b4=>{const _0x25f0ef=_0x5d6c;(await this[_0x25f0ef(0x54a)]['requireSession'](_0xff45b4))[_0x25f0ef(0x190)]['pipe'](_0xeba3c2(_0x547e1d=>_0x547e1d[_0x25f0ef(0x4dd)]===_0x4bdbff[_0x25f0ef(0x431)]),_0xa64c87(this[_0x25f0ef(0x58b)]))['subscribe'](_0x598f17=>{const _0x45d174=_0x25f0ef,_0x3719f4=_0x598f17,{objectId:_0x1c0bee}=_0x3719f4[_0x45d174(0x1af)],_0x3ecbd5=this[_0x45d174(0x501)][_0x45d174(0x19e)](_0x589a77);_0x1c0bee===_0xff45b4?_0x3ecbd5[_0x45d174(0x2ad)](_0xff45b4):_0x3ecbd5[_0x45d174(0x2c3)](_0xff45b4,_0x1c0bee);});};_0x5924a9(this[_0x221fe3(0x472)][_0x221fe3(0x543)](_0x5e8949[_0x221fe3(0x27e)]),this['_univerInstanceService'][_0x221fe3(0x543)](_0x5e8949[_0x221fe3(0x3e8)]))[_0x221fe3(0x457)](_0x2057c1(_0x348065=>_0x348065[_0x221fe3(0x335)]()),_0xeba3c2(_0x300abe=>!_0x157358(_0x300abe)),_0xa64c87(this['dispose$']))['subscribe'](_0x808980=>{_0x18eefd(_0x808980);});}};Rt=lc([Qe(0x0,_0x31a227(_0x3ada64)),Qe(0x1,_0x1a11e5),Qe(0x2,_0x532950),Qe(0x3,_0x31a227(Ae)),Qe(0x4,_0x31a227(_0x3da7c2))],Rt);var _c=Object[_0x29204f(0x51a)],uc=Object[_0x29204f(0x424)],dc=(_0x9868ad,_0x5b07c1,_0x3b27da,_0x218a69)=>{const _0x9c37cb=_0x29204f;for(var _0x2fa63a=_0x218a69>0x1?void 0x0:_0x218a69?uc(_0x5b07c1,_0x3b27da):_0x5b07c1,_0x450a2=_0x9868ad[_0x9c37cb(0x2f0)]-0x1,_0x3af6cc;_0x450a2>=0x0;_0x450a2--)(_0x3af6cc=_0x9868ad[_0x450a2])&&(_0x2fa63a=(_0x218a69?_0x3af6cc(_0x5b07c1,_0x3b27da,_0x2fa63a):_0x3af6cc(_0x2fa63a))||_0x2fa63a);return _0x218a69&&_0x2fa63a&&_c(_0x5b07c1,_0x3b27da,_0x2fa63a),_0x2fa63a;},ni=(_0xdb3a5a,_0x3e52f6)=>(_0x59022f,_0x13839c)=>_0x3e52f6(_0x59022f,_0x13839c,_0xdb3a5a);let ls=class{constructor(_0x4d1d17,_0x9fc169){this['_configService']=_0x4d1d17,this['_httpService']=_0x9fc169;}async[_0x29204f(0x5a5)](_0x4da05f,_0x16e79f){const _0x1e4bc0=_0x29204f;var _0x38e9d4;const {unitID:_0x5eab50,type:_0x3770bb,revision:_0x5d8c6f=0x0}=_0x16e79f,_0x58e917=this[_0x1e4bc0(0x3b2)]()+'/'+_0x3770bb+_0x1e4bc0(0x520)+_0x5eab50+_0x1e4bc0(0x406)+_0x5d8c6f,_0x5342a8=(await this['_httpService'][_0x1e4bc0(0x19e)](_0x58e917))[_0x1e4bc0(0x269)],_0x589c43=(_0x38e9d4=_0x5342a8['snapshot'])==null?void 0x0:_0x38e9d4[_0x1e4bc0(0x50b)];if(_0x589c43){const _0x514b8d=_0x589c43==null?void 0x0:_0x589c43[_0x1e4bc0(0x3ed)],_0x1b9ac5=_0x14238e['encode'](_0x8f9bda(_0x514b8d));_0x589c43[_0x1e4bc0(0x3ed)]=_0x1b9ac5,Object['entries'](_0x589c43[_0x1e4bc0(0x30f)])[_0x1e4bc0(0x4a0)](([,_0x307a7a])=>{const _0x772dad=_0x1e4bc0,_0x1dd329=_0x307a7a['originalMeta'],_0x625058=_0x14238e[_0x772dad(0x487)](_0x8f9bda(_0x1dd329));_0x307a7a[_0x772dad(0x3ed)]=_0x625058;});}return _0x5342a8;}async['getSheetBlock'](_0x528010,_0x462ad5){const _0x214d50=_0x29204f,{unitID:_0x376423,type:_0x22256f,blockID:_0x4c90d0}=_0x462ad5,_0x12a58f=this[_0x214d50(0x31b)]()+'/'+_0x22256f+_0x214d50(0x520)+_0x376423+'/block/'+_0x4c90d0;return(await this['_httpService']['get'](_0x12a58f))['body'];}async[_0x29204f(0x1e8)](_0x25f0dc,_0x291909){const _0x3ec443=_0x29204f,{unitID:_0x1b593f,type:_0x2bd03b,blockID:_0x12a817}=_0x291909,_0x20d0c7=this[_0x3ec443(0x31b)]()+'/block/'+_0x2bd03b+_0x3ec443(0x520)+_0x1b593f+'/block/'+_0x12a817;return(await this[_0x3ec443(0x3ef)]['get'](_0x20d0c7))['body'];}async[_0x29204f(0x53c)](_0x55583e,_0xafe4e){const _0xaecbf1=_0x29204f,{unitID:_0x17b2d6,type:_0x149dbc,from:_0x4dffe5,to:_0x4b8464}=_0xafe4e,_0xa81107=this[_0xaecbf1(0x31b)]()+'/'+_0x149dbc+_0xaecbf1(0x520)+_0x17b2d6+_0xaecbf1(0x1bb)+_0x4dffe5+_0xaecbf1(0x3d3)+_0x4b8464;return(await this[_0xaecbf1(0x3ef)][_0xaecbf1(0x19e)](_0xa81107))[_0xaecbf1(0x269)];}['_getSnapshotAPIPrefix'](){const _0xb5a885=_0x29204f;var _0x268a97;return(_0x268a97=this[_0xb5a885(0x2d6)][_0xb5a885(0x4c3)](ar))!=null?_0x268a97:this[_0xb5a885(0x31b)]();}[_0x29204f(0x31b)](){const _0x4b1ad6=_0x29204f;var _0x29ef7f,_0x5817ec;const _0x2c6d22=this[_0x4b1ad6(0x2d6)][_0x4b1ad6(0x4c3)](rr),_0xe66a77=this[_0x4b1ad6(0x2d6)]['getConfig'](ie);return(_0x5817ec=(_0x29ef7f=_0xe66a77==null?void 0x0:_0xe66a77[_0x4b1ad6(0x3e0)])!=null?_0x29ef7f:_0x2c6d22)!=null?_0x5817ec:or;}async[_0x29204f(0x50f)](_0x4a27b7,_0x2ee8e6){const _0x1c3cc7=_0x29204f,_0x1d467e=_0x1c3cc7(0x3d9)+_0x2ee8e6[_0x1c3cc7(0x267)]+_0x1c3cc7(0x520)+_0x2ee8e6['unitID']+_0x1c3cc7(0x385);return(await this[_0x1c3cc7(0x3ef)][_0x1c3cc7(0x19e)](_0x1d467e,{'params':{'resourceId':JSON[_0x1c3cc7(0x4bf)](_0x2ee8e6[_0x1c3cc7(0x46a)])}}))[_0x1c3cc7(0x269)];}['saveSnapshot'](){const _0x576902=_0x29204f;throw new Error(_0x576902(0x505));}[_0x29204f(0x474)](){const _0x26635d=_0x29204f;throw new Error(_0x26635d(0x505));}['saveChangeset'](){const _0x2d4a27=_0x29204f;throw new Error(_0x2d4a27(0x505));}[_0x29204f(0x30d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){const _0x14700c=_0x29204f;throw new Error(_0x14700c(0x505));}};ls=dc([ni(0x0,_0x1d1963),ni(0x1,_0x31a227(_0x6042f))],ls);var fc=Object['defineProperty'],vc=Object[_0x29204f(0x424)],mc=(_0x262be6,_0x3dd1d2,_0x4123fb,_0x14e195)=>{const _0x14a863=_0x29204f;for(var _0x44d813=_0x14e195>0x1?void 0x0:_0x14e195?vc(_0x3dd1d2,_0x4123fb):_0x3dd1d2,_0x59149c=_0x262be6[_0x14a863(0x2f0)]-0x1,_0x47968e;_0x59149c>=0x0;_0x59149c--)(_0x47968e=_0x262be6[_0x59149c])&&(_0x44d813=(_0x14e195?_0x47968e(_0x3dd1d2,_0x4123fb,_0x44d813):_0x47968e(_0x44d813))||_0x44d813);return _0x14e195&&_0x44d813&&fc(_0x3dd1d2,_0x4123fb,_0x44d813),_0x44d813;},et=(_0x5ed491,_0x3066b9)=>(_0x5ba1ea,_0x1ce0aa)=>_0x3066b9(_0x5ba1ea,_0x1ce0aa,_0x5ed491);let _s=class extends _0x244295{constructor(_0xb4e5d2,_0x46b386,_0x28fdf3,_0x40006d,_0xf1fd0e){const _0x53cfb2=_0x29204f;super(_0xb4e5d2,_0x46b386,_0x28fdf3),this[_0x53cfb2(0x4a1)]=_0x40006d,this['_logService']=_0xf1fd0e;}[_0x29204f(0x53d)](_0x57109c,_0x253a82){const _0x1d9db6=_0x29204f,_0x321bae=this[_0x1d9db6(0x42f)](_0x57109c);if(_0x321bae)try{const _0x429862=this['_transformStack'](_0x321bae,_0x253a82);this[_0x1d9db6(0x590)](_0x57109c,_0x429862);}catch(_0x2faf43){this[_0x1d9db6(0x1a4)][_0x1d9db6(0x5a3)](_0x1d9db6(0x5a6),_0x2faf43),this[_0x1d9db6(0x336)](_0x57109c);}const _0x4981af=this[_0x1d9db6(0x3be)](_0x57109c);if(_0x4981af)try{const _0x25cd7f=this['_transformStack'](_0x4981af,_0x253a82);this[_0x1d9db6(0x344)](_0x57109c,_0x25cd7f);}catch(_0x4666e7){this[_0x1d9db6(0x1a4)][_0x1d9db6(0x5a3)](_0x4666e7),this['_clearRedo'](_0x57109c);}}['_clearUndo'](_0x456df9){const _0x59a8dc=_0x29204f,_0x11a967=this[_0x59a8dc(0x42f)](_0x456df9);_0x11a967&&(_0x11a967[_0x59a8dc(0x2f0)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x3f3f49){const _0x1b615f=_0x29204f,_0x2dd101=this[_0x1b615f(0x3be)](_0x3f3f49);_0x2dd101&&(_0x2dd101['length']=0x0,this[_0x1b615f(0x420)]());}[_0x29204f(0x590)](_0x56bd9e,_0x34ef8c){const _0x4e69=_0x29204f;this[_0x4e69(0x3df)][_0x4e69(0x4b7)](_0x56bd9e,_0x34ef8c),this[_0x4e69(0x420)]();}[_0x29204f(0x344)](_0x4a7e8b,_0x5b0bc2){const _0xb8da88=_0x29204f;this[_0xb8da88(0x194)][_0xb8da88(0x4b7)](_0x4a7e8b,_0x5b0bc2),this[_0xb8da88(0x420)]();}[_0x29204f(0x21b)](_0x2c4073,_0x273b64){const _0x243633=_0x29204f,_0x4f10c8=[];let _0x6b61ee=_0x273b64,_0x47edca=_0x273b64;for(let _0x3aaa7a=_0x2c4073['length']-0x1;_0x3aaa7a>=0x0;_0x3aaa7a--){const {unitID:_0x171070,undoMutations:_0x690808,redoMutations:_0x11df4a}=_0x2c4073[_0x3aaa7a],_0x544241=this[_0x243633(0x4a1)][_0x243633(0x28d)](_0x6b61ee,_0x690808),_0x4e2035=this[_0x243633(0x4a1)][_0x243633(0x28d)](_0x47edca,_0x11df4a);if(_0x4656b9(_0x544241)||_0x4656b9(_0x4e2035)){this[_0x243633(0x1a4)][_0x243633(0x5a3)](_0x243633(0x5a6),_0x243633(0x25e),_0x544241,_0x4e2035);break;}_0x6b61ee=_0x544241['c1Prime'],_0x47edca=_0x4e2035['c1Prime'],_0x4f10c8[_0x243633(0x523)]({'unitID':_0x171070,'undoMutations':_0x544241[_0x243633(0x4ee)],'redoMutations':_0x4e2035[_0x243633(0x4ee)]});}return _0x4f10c8[_0x243633(0x450)]();}};_s=mc([et(0x0,_0x1a11e5),et(0x1,_0x1f9396),et(0x2,_0x1d65ea),et(0x3,_0x5f49ec),et(0x4,_0x15baf7)],_s);class pc extends _0x3823d2{constructor(){const _0x38ddf6=_0x29204f;super(),g(this,_0x38ddf6(0x368)),this[_0x38ddf6(0x368)]=_0x43007f(window,_0x38ddf6(0x3fe))[_0x38ddf6(0x457)](_0x4b7102(this[_0x38ddf6(0x58b)]),_0x19bdf5(0x1),_0x13df20(void 0x0));}[_0x29204f(0x375)](_0x5731d4,_0x1a31fe,_0x38b719=!0x1){const _0x9efb74=_0x29204f,_0x309106=new URL(window[_0x9efb74(0x400)]['href']);_0x309106[_0x9efb74(0x597)][_0x9efb74(0x4b7)](_0x5731d4,_0x1a31fe),_0x38b719?window[_0x9efb74(0x3cb)][_0x9efb74(0x57d)]('','',_0x309106[_0x9efb74(0x1b5)]()):window[_0x9efb74(0x3cb)][_0x9efb74(0x22b)]('','',_0x309106['toString']());}[_0x29204f(0x3a2)](_0x294ece,_0x5767a8=!0x1){const _0x3bedc7=_0x29204f,_0x7104cf=new URL(window[_0x3bedc7(0x400)][_0x3bedc7(0x438)]);_0x7104cf['searchParams']['delete'](_0x294ece),_0x5767a8?window['history'][_0x3bedc7(0x57d)]('','',_0x7104cf[_0x3bedc7(0x1b5)]()):window[_0x3bedc7(0x3cb)]['pushState']('','',_0x7104cf[_0x3bedc7(0x1b5)]());}['getParam'](_0x534600){const _0xc91b97=_0x29204f;var _0x3a1b5f;return(_0x3a1b5f=new URL(window[_0xc91b97(0x400)][_0xc91b97(0x438)])[_0xc91b97(0x597)][_0xc91b97(0x19e)](_0x534600))!=null?_0x3a1b5f:void 0x0;}}var Yi=Object[_0x29204f(0x51a)],gc=Object['getOwnPropertyDescriptor'],Sc=(_0x517477,_0x27a5d4,_0x592ba2)=>_0x27a5d4 in _0x517477?Yi(_0x517477,_0x27a5d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x592ba2}):_0x517477[_0x27a5d4]=_0x592ba2,Ic=(_0x5686f1,_0x46f920,_0x5510e3,_0x16a8ca)=>{for(var _0x2c44c6=_0x16a8ca>0x1?void 0x0:_0x16a8ca?gc(_0x46f920,_0x5510e3):_0x46f920,_0x318d42=_0x5686f1['length']-0x1,_0x402882;_0x318d42>=0x0;_0x318d42--)(_0x402882=_0x5686f1[_0x318d42])&&(_0x2c44c6=(_0x16a8ca?_0x402882(_0x46f920,_0x5510e3,_0x2c44c6):_0x402882(_0x2c44c6))||_0x2c44c6);return _0x16a8ca&&_0x2c44c6&&Yi(_0x46f920,_0x5510e3,_0x2c44c6),_0x2c44c6;},_t=(_0x251d3a,_0x510f97)=>(_0xdfb6fc,_0x213ef7)=>_0x510f97(_0xdfb6fc,_0x213ef7,_0x251d3a),Cc=(_0x86af4e,_0x46951d,_0x418c98)=>Sc(_0x86af4e,_0x46951d+'',_0x418c98);const Ec=_0x29204f(0x359);let us=class extends _0x559f25{constructor(_0x19fa11=Er,_0x218a36,_0x270248,_0x1e9ce2,_0x237aa6){const _0x39334e=_0x29204f;super(),this[_0x39334e(0x488)]=_0x19fa11,this[_0x39334e(0x1a4)]=_0x218a36,this[_0x39334e(0x224)]=_0x270248,this['_injector']=_0x1e9ce2,this[_0x39334e(0x2d6)]=_0x237aa6;const {..._0x5e6b20}=this[_0x39334e(0x488)];this[_0x39334e(0x2d6)][_0x39334e(0x2c6)](ie,_0x5e6b20);}['onStarting'](){const _0x2a5153=_0x29204f;this[_0x2a5153(0x56c)](),this['_initDependencies']();}[_0x29204f(0x2b6)](){const _0x159344=_0x29204f;_0x225116(this[_0x159344(0x501)],[[Et]]);}[_0x29204f(0x2f7)](){const _0x3b7321=_0x29204f;this[_0x3b7321(0x36b)]();}[_0x29204f(0x56c)](){const _0x502aa4=_0x29204f;var _0x321f02,_0x45e8ff,_0x4a761f,_0x2bd79d;this[_0x502aa4(0x501)][_0x502aa4(0x246)](_0x2d7dca)&&this['_logService']['error'](_0x502aa4(0x245),_0x502aa4(0x572));const _0x262364=[[_0x2d7dca,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':pc}],[Ne],[q],[_0x2c6668],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0x45e8ff=(_0x321f02=this[_0x502aa4(0x488)])==null?void 0x0:_0x321f02[_0x502aa4(0x24e)])!=null?_0x45e8ff:es}],[_0x361c65,{'useClass':ls}],[_0x144eae,{'useClass':cs}],[_0x3d3c63,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0x4a761f=this[_0x502aa4(0x488)])!=null&&_0x4a761f[_0x502aa4(0x3bd)]&&_0x262364[_0x502aa4(0x523)]([yt,{'useClass':so}]),_0x59b5ce(this[_0x502aa4(0x501)],_0x463d11(_0x262364,(_0x2bd79d=this[_0x502aa4(0x488)])==null?void 0x0:_0x2bd79d[_0x502aa4(0x298)]));}[_0x29204f(0x36b)](){const _0x297023=_0x29204f;this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x5e8949[_0x297023(0x3e8)],[os])),this['disposeWithMe'](this[_0x297023(0x224)]['registerRenderModule'](_0x5e8949[_0x297023(0x27e)],[as]));}[_0x29204f(0x402)](){const _0x5ee26a=_0x29204f;var _0x1ca4b9,_0x39cac6;this[_0x5ee26a(0x501)][_0x5ee26a(0x19e)](_0x6042f)[_0x5ee26a(0x3e4)]({'priority':0x14,'interceptor':_0x11508f({'maxParallel':0x6})}),(_0x1ca4b9=this[_0x5ee26a(0x488)])!=null&&_0x1ca4b9['enableOfflineEditing']||this['_injector'][_0x5ee26a(0x19e)](q)['disableLocalCache'](),(_0x39cac6=this[_0x5ee26a(0x488)])!=null&&_0x39cac6[_0x5ee26a(0x340)]&&_0x225116(this[_0x5ee26a(0x501)],[[bt]]),_0x225116(this[_0x5ee26a(0x501)],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Cc(us,_0x29204f(0x379),Ec),us=Ic([_0x2a0661(_0x931006,_0x4f0b4e),_t(0x1,_0x15baf7),_t(0x2,_0x427763),_t(0x3,_0x31a227(_0x3ada64)),_t(0x4,_0x1d1963)],us);export{Ua as AUTHZ_URL_KEY,cs as AuthzIoHttpService,gr as COLLAB_SUBMIT_CHANGESET_URL_KEY,hr as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,St as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,ua as CollaborationStatusDisplay,wi as CommentService,Ct as DataLoaderController,It as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,_r as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Hi as IURLService,hs as ImageIoService,mr as LOCAL_CACHE_INTERVAL_KEY,Ir as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,fr as RETRY_CONNECTING_MAX_COUNT_KEY,kc as SEND_CHANGESET_TIMEOUT_KEY,rr as SNAPSHOT_SERVER_URL_KEY,ar as SNAPSHOT_URL_KEY,ve as SessionStatus,Ko as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,pc as WebURLService,br as deserializeToCombResponse,Tr as serializeCombRequest};
1
+ const _0xb7df44=_0x16eb;(function(_0x195713,_0x480030){const _0x4c7ff1=_0x16eb,_0x1d429a=_0x195713();while(!![]){try{const _0x23746a=parseInt(_0x4c7ff1(0x578))/0x1+parseInt(_0x4c7ff1(0x2f7))/0x2+-parseInt(_0x4c7ff1(0x49a))/0x3*(parseInt(_0x4c7ff1(0x53b))/0x4)+-parseInt(_0x4c7ff1(0x3a2))/0x5*(parseInt(_0x4c7ff1(0x1c8))/0x6)+-parseInt(_0x4c7ff1(0x403))/0x7+-parseInt(_0x4c7ff1(0x36a))/0x8*(-parseInt(_0x4c7ff1(0x1b5))/0x9)+-parseInt(_0x4c7ff1(0x487))/0xa;if(_0x23746a===_0x480030)break;else _0x1d429a['push'](_0x1d429a['shift']());}catch(_0x268fd8){_0x1d429a['push'](_0x1d429a['shift']());}}}(_0x1c34,0x75cf3));var Ki=Object['defineProperty'],zi=(_0x4a1f87,_0x18ef71,_0x227d76)=>_0x18ef71 in _0x4a1f87?Ki(_0x4a1f87,_0x18ef71,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x227d76}):_0x4a1f87[_0x18ef71]=_0x227d76,g=(_0x2d0f56,_0x4d4d9c,_0x1a51f4)=>zi(_0x2d0f56,typeof _0x4d4d9c!=_0xb7df44(0x337)?_0x4d4d9c+'':_0x4d4d9c,_0x1a51f4);import{createIdentifier as _0x36b00b,Inject as _0x380ba9,Disposable as _0x55ef45,DisposableCollection as _0x4eaacf,toDisposable as _0x1ae8eb,IConfigService as _0x25a779,ILogService as _0x23bd67,UserManagerService as _0x405b62,UniverInstanceType as _0x5d9c1d,IUniverInstanceService as _0xf81bb9,LocaleService as _0x5ccb65,Optional as _0xdde8b7,RxDisposable as _0x3431ab,Injector as _0x41c43c,Tools as _0xb81a94,ILocalStorageService as _0x3b6f9f,Rectangle as _0x1d7a17,ICommandService as _0x461f8f,DOC_RANGE_TYPE as _0x51d1cd,JSONX as _0x5821ee,CommandType as _0x41392e,IPermissionService as _0x60a8ad,IUndoRedoService as _0x1bdd68,sequenceExecute as _0x13d82a,debounce as _0x3a88e2,COLORS as _0x5799c6,ColorKit as _0x2b46cd,ThemeService as _0x3a8de9,fromEventSubject as _0x13d8c1,useDependency as _0x58cc01,connectInjector as _0x33108a,Workbook as _0x11e78c,isInternalEditorID as _0xc654c7,LocalUndoRedoService as _0x3852e7,IContextService as _0x19c5a2,DependentOn as _0x258de0,Plugin as _0x2fd91a,touchDependencies as _0x5df76b,IAuthzIoService as _0x5b9c66,registerDependencies as _0x2ed3db,mergeOverrideWithDependencies as _0x51ab1e}from'@univerjs/core';import{Subject as _0xbbcc86,merge as _0x446ede,takeUntil as _0x5c3c82,BehaviorSubject as _0x230431,distinctUntilChanged as _0x2bb2de,fromEvent as _0xb50e9,ReplaySubject as _0x304899,take as _0x1b6c03,map as _0x28c6ba,shareReplay as _0x1f5fb1,of as _0x4a5a0f,debounceTime as _0x2f2fee,filter as _0x2b44ab,switchMap as _0x54d5d9,combineLatest as _0x31796e,concatMap as _0x332a2a,mapTo as _0x2675d6}from'rxjs';import{map as _0x41a95e,take as _0x481ad1,filter as _0x4620cd,delay as _0x362969,throttleTime as _0x51a6bc,takeUntil as _0x5a8e54,switchMap as _0x7a46c2}from'rxjs/operators';import{MessageType as _0x4bff77,Tooltip as _0x4acbca}from'@univerjs/design';import{IBeforeCloseService as _0x184a05,IMessageService as _0xff713e,INotificationService as _0x5829ef,useObservable as _0x4a4236,BuiltInUIPart as _0x4664c4,IUIPartsService as _0x44a93d}from'@univerjs/ui';import{HTTPService as _0x429bbf,WebSocketService as _0x2956b7,MergeInterceptorFactory as _0x62bc31,HTTPRequest as _0x196f47,UniverNetworkPlugin as _0x318df7,ThresholdInterceptorFactory as _0x419a10}from'@univerjs/network';import{CollaborationEvent as _0x5104a7,parseChangesetToProtocol as _0x2348ab,ISnapshotServerService as _0x54ca2e,isTransformMutationFailure as _0x51b7ca,isTransformMutationsWithChangesetSuccess as _0x3aa1c2,ITransformService as _0x5dcca2,RevisionService as _0x2ab1a0,mapDocumentTypeToUniverType as _0xbdf5a1,isTransformChangesetsSuccess as _0x2e9077,CompressMutationService as _0x56b491,parseProtocolChangeset as _0x2feadd,SnapshotService as _0x4bd76a,textEncoder as _0x58a671,b64DecodeUnicode as _0x3dd4e8,isTransformMutationsWithChangesetFailure as _0x28bc4f,UniverCollaborationPlugin as _0x4bc6b2}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x229b64}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x337a72,DocStateChangeManagerService as _0x844e78,NodePositionConvertToCursor as _0x5d0814,NodePositionConvertToRectRange as _0x3321d3,TEXT_RANGE_LAYER_INDEX as _0x14c12f,SetDocZoomRatioOperation as _0x46e832}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x1412c1,SetSelectionsOperation as _0x357bb7,InsertSheetMutation as _0x31efb2,EmptyMutation as _0x4fe764,WorkbookEditablePermission as _0x44ab74,RefRangeService as _0x53687c,EffectRefRangId as _0x1a7f28,handleIRemoveRow as _0x2e137c,handleIRemoveCol as _0x5c072d,handleMoveRange as _0x1babc8,handleInsertRow as _0x1c5b47,handleInsertRangeMoveRight as _0x363e7e,handleInsertRangeMoveDown as _0x20ab19,handleInsertCol as _0x49e57a,handleDeleteRangeMoveUp as _0x162252,handleDeleteRangeMoveLeft as _0x2d7739,runRefRangeMutations as _0x12db2d,SetWorksheetActivateCommand as _0x56e1a9}from'@univerjs/sheets';import{IRenderManagerService as _0x2618ce,Shape as _0x176759,Rect as _0xfbec4b,getColor as _0x479e33,RegularPolygon as _0x45525f,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4237c6,Vector2 as _0x9c6ad7}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x44edfb,RichTextEditingMutation as _0x391680,SetTextSelectionsOperation as _0x39f0b9,DocSkeletonManagerService as _0x5d5172}from'@univerjs/docs';import{ImageSourceType as _0x1992f8,ImageUploadStatusType as _0x1c0bfe,IImageIoService as _0x250780}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x5d5ad4,serializeRangeWithSheet as _0x4bbbc0}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x15b8f5,VIEWPORT_KEY as _0x4b5410,getCoordByCell as _0x245e06,getSheetObject as _0x3f1e0d,SheetPermissionInitController as _0x1dd603}from'@univerjs/sheets-ui';import _0x1a8809,{forwardRef as _0x42a783,useRef as _0x1b3616,createElement as _0x444ffc,useCallback as _0x390108}from'react';import{IRemoteInstanceService as _0x2ba697}from'@univerjs/rpc';const rr=_0xb7df44(0x2ae),or=_0xb7df44(0x4b0),ar=_0xb7df44(0x2e9),kc='SEND_CHANGESET_TIMEOUT',cr=0x7d0,hr='COLLAB_WEB_SOCKET_URL',lr=_0xb7df44(0x271),_r=_0xb7df44(0x50c),ur=0x7530,bi=_0xb7df44(0x471),Ti=0x4e20,dr=0x4e20,fr='RETRY_CONNECTING_MAX_COUNT',vr=0x3,mr=_0xb7df44(0x3f2),pr=0x3e8,gr=_0xb7df44(0x1fa),Sr='/universer-api/comb',Ir=_0xb7df44(0x318),Cr=_0xb7df44(0x2b4);var Ri=(_0x3504a2=>(_0x3504a2[_0x3504a2[_0xb7df44(0x2f5)]=0x0]='UNDEFINED',_0x3504a2[_0x3504a2['OK']=0x1]='OK',_0x3504a2[_0x3504a2[_0xb7df44(0x30e)]=0x2]=_0xb7df44(0x30e),_0x3504a2[_0x3504a2[_0xb7df44(0x543)]=0x3]='PERMISSION_DENIED',_0x3504a2[_0x3504a2[_0xb7df44(0x4d2)]=0x4]=_0xb7df44(0x4d2),_0x3504a2[_0x3504a2[_0xb7df44(0x1c6)]=0x5]=_0xb7df44(0x1c6),_0x3504a2[_0x3504a2[_0xb7df44(0x20a)]=0x6]=_0xb7df44(0x20a),_0x3504a2[_0x3504a2[_0xb7df44(0x235)]=0x7]=_0xb7df44(0x235),_0x3504a2[_0x3504a2['TOO_MANY_REQUESTS']=0x8]=_0xb7df44(0x1ce),_0x3504a2[_0x3504a2['COMPLETION_FINISHED']=0x9]=_0xb7df44(0x556),_0x3504a2[_0x3504a2[_0xb7df44(0x4e2)]=0x1389]=_0xb7df44(0x4e2),_0x3504a2[_0x3504a2[_0xb7df44(0x473)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3504a2[_0x3504a2[_0xb7df44(0x2ab)]=0x1772]=_0xb7df44(0x2ab),_0x3504a2[_0x3504a2[_0xb7df44(0x4f9)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3504a2[_0x3504a2[_0xb7df44(0x2c0)]=0x1b59]='APPLY_REJECT',_0x3504a2[_0x3504a2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3504a2[_0x3504a2['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xb7df44(0x1be),_0x3504a2[_0x3504a2[_0xb7df44(0x331)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3504a2[_0x3504a2['APPLY_DUPLICATED']=0x1b5d]=_0xb7df44(0x217),_0x3504a2[_0x3504a2[_0xb7df44(0x269)]=0x1f41]=_0xb7df44(0x269),_0x3504a2[_0x3504a2[_0xb7df44(0x553)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3504a2[_0x3504a2['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3504a2[_0x3504a2[_0xb7df44(0x4e0)]=0x232b]=_0xb7df44(0x4e0),_0x3504a2[_0x3504a2[_0xb7df44(0x293)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3504a2[_0x3504a2['LICENSE_DISTRO_REJECTED']=0x232d]=_0xb7df44(0x40e),_0x3504a2[_0x3504a2[_0xb7df44(0x3d4)]=0x2711]=_0xb7df44(0x3d4),_0x3504a2[_0x3504a2[_0xb7df44(0x379)]=0x2712]=_0xb7df44(0x379),_0x3504a2[_0x3504a2['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3504a2[_0x3504a2[_0xb7df44(0x30c)]=0x2714]=_0xb7df44(0x30c),_0x3504a2[_0x3504a2[_0xb7df44(0x4b1)]=-0x1]='UNRECOGNIZED',_0x3504a2))(Ri||{}),ce=(_0x25a368=>(_0x25a368[_0x25a368['UNIVER_UNKNOWN']=0x0]=_0xb7df44(0x4d6),_0x25a368[_0x25a368[_0xb7df44(0x1cf)]=0x1]=_0xb7df44(0x1cf),_0x25a368[_0x25a368['UNIVER_SHEET']=0x2]=_0xb7df44(0x37b),_0x25a368[_0x25a368[_0xb7df44(0x448)]=0x3]=_0xb7df44(0x448),_0x25a368[_0x25a368['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x25a368[_0x25a368['UNRECOGNIZED']=-0x1]=_0xb7df44(0x4b1),_0x25a368))(ce||{}),W=(_0x45ad52=>(_0x45ad52[_0x45ad52[_0xb7df44(0x454)]=0x0]=_0xb7df44(0x454),_0x45ad52[_0x45ad52[_0xb7df44(0x50d)]=0x1]='HELLO',_0x45ad52[_0x45ad52[_0xb7df44(0x224)]=0x2]=_0xb7df44(0x224),_0x45ad52[_0x45ad52[_0xb7df44(0x338)]=0x3]=_0xb7df44(0x338),_0x45ad52[_0x45ad52[_0xb7df44(0x4c7)]=0x4]='INGEST',_0x45ad52[_0x45ad52[_0xb7df44(0x434)]=0x5]=_0xb7df44(0x434),_0x45ad52[_0x45ad52[_0xb7df44(0x22b)]=0x6]=_0xb7df44(0x22b),_0x45ad52[_0x45ad52['UNRECOGNIZED']=-0x1]=_0xb7df44(0x4b1),_0x45ad52))(W||{}),Is=(_0x22a158=>(_0x22a158[_0x22a158['UNKNOWN_CODE']=0x0]=_0xb7df44(0x528),_0x22a158[_0x22a158['OK']=0x1]='OK',_0x22a158[_0x22a158['FAIL']=0x2]=_0xb7df44(0x31d),_0x22a158[_0x22a158[_0xb7df44(0x4b1)]=-0x1]=_0xb7df44(0x4b1),_0x22a158))(Is||{}),yi=(_0x59cb58=>(_0x59cb58[_0x59cb58[_0xb7df44(0x55f)]=0x0]=_0xb7df44(0x55f),_0x59cb58[_0x59cb58[_0xb7df44(0x2e6)]=0x1]='HttpImport',_0x59cb58[_0x59cb58[_0xb7df44(0x384)]=0x2]=_0xb7df44(0x384),_0x59cb58[_0x59cb58[_0xb7df44(0x437)]=0x3]=_0xb7df44(0x437),_0x59cb58[_0x59cb58[_0xb7df44(0x228)]=0x4]='UnitSnapshot',_0x59cb58[_0x59cb58[_0xb7df44(0x4b1)]=-0x1]=_0xb7df44(0x4b1),_0x59cb58))(yi||{});const ie=_0xb7df44(0x1a5),Er={};function br(_0x526573){const _0x26f4f0=_0xb7df44;var _0x59fe1e,_0x4fff7b,_0x5318bb,_0xa9f7d2,_0x256487;const _0x4e2933=_0x526573['data'],_0x3a9042=JSON[_0x26f4f0(0x272)](_0x4e2933);switch(_0x3a9042[_0x26f4f0(0x25d)]){case W[_0x26f4f0(0x434)]:case W[_0x26f4f0(0x50d)]:{const _0x4a9d60=_0x3a9042['infoRsp'];return{..._0x3a9042,'data':_0x4a9d60,'cmd':_0x3a9042[_0x26f4f0(0x25d)]};}case W[_0x26f4f0(0x224)]:{const _0x20ae56=_0x3a9042[_0x26f4f0(0x409)];return{..._0x3a9042,'data':_0x20ae56,'cmd':_0x3a9042[_0x26f4f0(0x25d)]};}case W[_0x26f4f0(0x22b)]:{const _0x53a44e=_0x3a9042['collaMsg'];switch(_0x53a44e['eventID']){case _0x5104a7[_0x26f4f0(0x1d9)]:return{..._0x3a9042,'data':{..._0x53a44e,'data':(_0x59fe1e=_0x53a44e[_0x26f4f0(0x52f)])==null?void 0x0:_0x59fe1e['cs']},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7[_0x26f4f0(0x530)]:return{..._0x3a9042,'data':{..._0x53a44e,'data':(_0x4fff7b=_0x53a44e['csAckEvent'])==null?void 0x0:_0x4fff7b['cs']},'cmd':_0x3a9042['cmd']};case _0x5104a7['NEW_CHANGESETS']:return{..._0x3a9042,'data':{..._0x53a44e,'data':(_0x5318bb=_0x53a44e[_0x26f4f0(0x3ed)])==null?void 0x0:_0x5318bb['cs']},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7['CHANGESET_REJ']:return{..._0x3a9042,'data':{..._0x53a44e,'data':(_0xa9f7d2=_0x53a44e[_0x26f4f0(0x39b)])==null?void 0x0:_0xa9f7d2['cs']},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7[_0x26f4f0(0x540)]:return{..._0x3a9042,'data':{..._0x53a44e,'data':(_0x256487=_0x53a44e[_0x26f4f0(0x25e)])==null?void 0x0:_0x256487['cs']},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7[_0x26f4f0(0x4b9)]:return{..._0x3a9042,'data':{..._0x53a44e,'data':_0x53a44e[_0x26f4f0(0x3c9)]},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7[_0x26f4f0(0x2ac)]:return{..._0x3a9042,'data':{..._0x53a44e,'data':_0x53a44e[_0x26f4f0(0x255)]},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7[_0x26f4f0(0x20d)]:return{..._0x3a9042,'data':{..._0x53a44e,'data':_0x53a44e['leaveEvent']},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7[_0x26f4f0(0x55c)]:return{..._0x3a9042,'data':{..._0x53a44e,'data':_0x53a44e[_0x26f4f0(0x538)]},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7[_0x26f4f0(0x3a1)]:case _0x5104a7[_0x26f4f0(0x3d1)]:return{..._0x3a9042,'data':{..._0x53a44e,'data':_0x53a44e[_0x26f4f0(0x508)]},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7['LIVESHARE_TERMINATE']:return{..._0x3a9042,'data':{..._0x53a44e,'data':_0x53a44e[_0x26f4f0(0x538)]},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7['MSG_FOR_ERROR']:return{..._0x3a9042,'data':_0x53a44e,'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7[_0x26f4f0(0x4b8)]:return{..._0x3a9042,'data':{..._0x53a44e,'data':_0x53a44e[_0x26f4f0(0x2cd)]},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7[_0x26f4f0(0x2cc)]:return{..._0x3a9042,'data':{..._0x53a44e,'data':_0x53a44e[_0x26f4f0(0x4fa)]},'cmd':_0x3a9042['cmd']};case _0x5104a7['SHOULD_CLOSE_CONN']:return{..._0x3a9042,'data':{..._0x53a44e,'data':_0x53a44e['shouldCloseConn']},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};default:return _0x3a9042;}}default:return _0x3a9042;}}function Tr(_0x3efb82){const _0x4f2489=_0xb7df44;switch(_0x3efb82['cmd']){case W[_0x4f2489(0x434)]:case W[_0x4f2489(0x50d)]:return JSON['stringify']({'cmd':_0x3efb82[_0x4f2489(0x25d)],'routeKey':_0x3efb82[_0x4f2489(0x33f)]});case W['INGEST']:{let _0x2039ee;switch(_0x3efb82[_0x4f2489(0x32a)][_0x4f2489(0x306)]){case _0x5104a7[_0x4f2489(0x4b9)]:{_0x2039ee={'eventID':_0x5104a7[_0x4f2489(0x4b9)],'updateCursorEvent':_0x3efb82[_0x4f2489(0x32a)]['data']};break;}case _0x5104a7['USERS_LEAVE']:{_0x2039ee={'eventID':_0x5104a7[_0x4f2489(0x20d)],'leaveEvent':_0x3efb82[_0x4f2489(0x32a)][_0x4f2489(0x32a)]};break;}case _0x5104a7[_0x4f2489(0x2ac)]:{_0x2039ee={'eventID':_0x5104a7['USERS_ENTER'],'joinEvent':_0x3efb82[_0x4f2489(0x32a)][_0x4f2489(0x32a)]};break;}case _0x5104a7[_0x4f2489(0x55c)]:{_0x2039ee={'eventID':_0x5104a7[_0x4f2489(0x55c)],'liveShareNewHost':_0x3efb82[_0x4f2489(0x32a)][_0x4f2489(0x32a)]};break;}case _0x5104a7[_0x4f2489(0x3d1)]:{_0x2039ee={'eventID':_0x5104a7[_0x4f2489(0x3d1)],'liveShareOperation':_0x3efb82['data'][_0x4f2489(0x32a)]};break;}case _0x5104a7['LIVESHARE_TERMINATE']:{_0x2039ee={'eventID':_0x5104a7[_0x4f2489(0x453)],'liveShareTerminate':_0x3efb82[_0x4f2489(0x32a)][_0x4f2489(0x32a)]};break;}case _0x5104a7[_0x4f2489(0x38d)]:{_0x2039ee={'eventID':_0x5104a7[_0x4f2489(0x38d)],'liveShareRequestHost':_0x3efb82[_0x4f2489(0x32a)][_0x4f2489(0x32a)]};break;}case _0x5104a7['LIVESHARE_FETCH_OPERATIONS']:{_0x2039ee={'eventID':_0x5104a7[_0x4f2489(0x3a1)]};break;}default:_0x2039ee={'eventID':_0x3efb82[_0x4f2489(0x32a)]['eventID']};}return JSON[_0x4f2489(0x41d)]({'cmd':_0x3efb82['cmd'],'routeKey':_0x3efb82[_0x4f2489(0x33f)],'collaMsg':_0x2039ee});}case W['JOIN']:return JSON[_0x4f2489(0x41d)]({'cmd':_0x3efb82[_0x4f2489(0x25d)],'routeKey':_0x3efb82[_0x4f2489(0x33f)],'joinReq':_0x3efb82[_0x4f2489(0x32a)]});case W[_0x4f2489(0x338)]:return JSON[_0x4f2489(0x41d)]({'cmd':_0x3efb82[_0x4f2489(0x25d)],'routeKey':_0x3efb82['routeKey'],'leaveReq':_0x3efb82[_0x4f2489(0x32a)]});default:throw new Error(_0x4f2489(0x4e7));}}var Rr=Object['defineProperty'],yr=Object[_0xb7df44(0x250)],Or=(_0x3934aa,_0x14fc1b,_0x53fac2,_0x5e9882)=>{const _0x2a5fb7=_0xb7df44;for(var _0x4509a8=_0x5e9882>0x1?void 0x0:_0x5e9882?yr(_0x14fc1b,_0x53fac2):_0x14fc1b,_0x49b0f8=_0x3934aa[_0x2a5fb7(0x3f7)]-0x1,_0x32c28e;_0x49b0f8>=0x0;_0x49b0f8--)(_0x32c28e=_0x3934aa[_0x49b0f8])&&(_0x4509a8=(_0x5e9882?_0x32c28e(_0x14fc1b,_0x53fac2,_0x4509a8):_0x32c28e(_0x4509a8))||_0x4509a8);return _0x5e9882&&_0x4509a8&&Rr(_0x14fc1b,_0x53fac2,_0x4509a8),_0x4509a8;},qe=(_0x147175,_0x5b3564)=>(_0x435c26,_0x39e3b4)=>_0x5b3564(_0x435c26,_0x39e3b4,_0x147175);const Oi=_0x36b00b('univer-pro.collaboration-client-socket-service');function wr(_0x204007,_0x1d7557,_0x5ca24b){const _0x58015c=_0xb7df44;return _0x204007+'/'+_0x1d7557+'/unit/'+_0x5ca24b+_0x58015c(0x56c);}let es=class extends _0x55ef45{constructor(_0xddb709,_0x2ced07,_0x2efb0d,_0x4bc3d6,_0x264486){const _0x1c54fa=_0xb7df44;super(),this['_http']=_0xddb709,this['_ws']=_0x2ced07,this['_configService']=_0x2efb0d,this[_0x1c54fa(0x362)]=_0x4bc3d6,this['_snapshotServerService']=_0x264486;}[_0xb7df44(0x48f)](_0x446b20){const _0x5312b0=_0xb7df44,_0x39d70e=this['_ws'][_0x5312b0(0x48f)](_0x446b20);if(!_0x39d70e)throw new Error(_0x5312b0(0x346));const _0x10bfb8=new _0x4eaacf(),_0x2365f9=new _0xbbcc86();_0x10bfb8[_0x5312b0(0x364)](_0x39d70e[_0x5312b0(0x22a)]['subscribe'](_0x5d8409=>_0x2365f9[_0x5312b0(0x28b)](_0x5d8409))),_0x10bfb8[_0x5312b0(0x364)](_0x1ae8eb(()=>_0x2365f9[_0x5312b0(0x225)]()));const _0xc4d60=new _0xbbcc86();_0x10bfb8[_0x5312b0(0x364)](_0x39d70e['error$'][_0x5312b0(0x41a)](_0x2be2cc=>_0xc4d60[_0x5312b0(0x28b)](_0x2be2cc))),_0x10bfb8[_0x5312b0(0x364)](_0x1ae8eb(()=>_0xc4d60[_0x5312b0(0x225)]()));const _0x480670=new _0xbbcc86();_0x10bfb8[_0x5312b0(0x364)](_0x39d70e[_0x5312b0(0x360)][_0x5312b0(0x41a)](_0x754456=>{const _0x18b3f2=_0x5312b0,_0x595bdf=br(_0x754456);_0x480670[_0x18b3f2(0x28b)](_0x595bdf);})),_0x10bfb8[_0x5312b0(0x364)](_0x1ae8eb(()=>_0x480670[_0x5312b0(0x225)]()));let _0x3d5122;const _0xb21c20=()=>{const _0x1d8621=_0x5312b0;_0xc4d60[_0x1d8621(0x28b)](new Event(_0x1d8621(0x406))),_0x2365f9[_0x1d8621(0x28b)](new CloseEvent('connection\x20error')),_0x3d5122[_0x1d8621(0x3c3)]();};return _0x3d5122={'memberID':'','close$':_0x2365f9[_0x5312b0(0x234)](),'error$':_0xc4d60['asObservable'](),'open$':_0x39d70e['open$'],'message$':_0x480670['asObservable'](),'send':_0x428bcd=>{const _0x542f83=_0x5312b0;if(_0x428bcd[_0x542f83(0x25d)]===W[_0x542f83(0x4c7)]){if(_0x428bcd[_0x542f83(0x32a)]['eventID']===_0x5104a7[_0x542f83(0x3ac)]){this[_0x542f83(0x516)](_0x3d5122,_0x428bcd[_0x542f83(0x32a)])[_0x542f83(0x385)](_0x18ed96=>{const _0x1b1ca3=_0x542f83;this[_0x1b1ca3(0x362)][_0x1b1ca3(0x1d7)](_0x18ed96),_0xb21c20();});return;}if(_0x428bcd[_0x542f83(0x32a)]['eventID']===_0x5104a7[_0x542f83(0x28c)]){const _0x2e83c4=_0x428bcd['data'];this['_fetchMissChangesets'](_0x2e83c4)[_0x542f83(0x4bc)](_0x3267f9=>{const _0x3c7bba=_0x542f83;_0x480670['next']({'cmd':W[_0x3c7bba(0x22b)],'code':Is['OK'],'routeKey':_0x2e83c4[_0x3c7bba(0x32a)][_0x3c7bba(0x37e)],'routeType':'','data':{'eventID':_0x5104a7[_0x3c7bba(0x491)],'data':{'changesets':_0x3267f9}}});})[_0x542f83(0x385)](_0x325470=>{const _0x52d060=_0x542f83;this['_logService'][_0x52d060(0x1d7)](_0x325470),_0xb21c20();});return;}}_0x39d70e[_0x542f83(0x413)](Tr(_0x428bcd));},'close':()=>{const _0x1e5b25=_0x5312b0;_0x39d70e['close'](),_0x10bfb8[_0x1e5b25(0x211)]();}},_0x3d5122;}async[_0xb7df44(0x516)](_0x582a28,_0x1cd8c2){const _0xad74a9=_0xb7df44;var _0x4b6657,_0x5cd0c1;const {unitType:_0x34be92,unitID:_0x1e60f0,changeset:_0x537401}=_0x1cd8c2[_0xad74a9(0x32a)],_0x4d05d3={'unitID':_0x1e60f0,'memberID':_0x582a28['memberID'],'type':_0x34be92,'changeset':_0x2348ab(_0x537401)},_0x57dac7=this['_configService'][_0xad74a9(0x2b8)](gr),_0x3b5a02=this[_0xad74a9(0x216)][_0xad74a9(0x2b8)](ie),_0x1073f3=wr((_0x5cd0c1=(_0x4b6657=_0x3b5a02==null?void 0x0:_0x3b5a02[_0xad74a9(0x3f5)])!=null?_0x4b6657:_0x57dac7)!=null?_0x5cd0c1:Sr,_0x34be92,_0x1e60f0);try{await this[_0xad74a9(0x4d4)][_0xad74a9(0x4ea)](_0x1073f3,{'body':_0x4d05d3});}catch(_0x56ead4){throw this['_logService'][_0xad74a9(0x1d7)](_0xad74a9(0x3f1),_0xad74a9(0x37a)),_0x56ead4;}}async[_0xb7df44(0x304)](_0x466ac3){const _0x975bb9=_0xb7df44,{unitID:_0x371588,from:_0xf443,to:_0x541ead,unitType:_0x222e30}=_0x466ac3[_0x975bb9(0x32a)];return(await this[_0x975bb9(0x4a1)][_0x975bb9(0x2a5)]({'metadata':void 0x0},{'unitID':_0x371588,'type':_0x222e30,'from':_0xf443,'to':_0x541ead}))['changesets'];}};es=Or([qe(0x0,_0x380ba9(_0x429bbf)),qe(0x1,_0x380ba9(_0x2956b7)),qe(0x2,_0x25a779),qe(0x3,_0x23bd67),qe(0x4,_0x54ca2e)],es);const Dr=_0xb7df44(0x2f6);function Pr(_0x519e02){const _0x324ab6=_0xb7df44;return JSON[_0x324ab6(0x41d)](_0x519e02)[_0x324ab6(0x3f7)];}class wi{constructor(){const _0x5c4686=_0xb7df44;g(this,'_commentUpdate$',new _0xbbcc86()),g(this,_0x5c4686(0x280),this['_commentUpdate$'][_0x5c4686(0x234)]());}['onCommentUpdate'](_0xcfac2c){const _0xad9cf8=_0xb7df44;this[_0xad9cf8(0x2a4)][_0xad9cf8(0x28b)](_0xcfac2c);}}var Ur=Object['defineProperty'],Nr=Object[_0xb7df44(0x250)],Ar=(_0x952560,_0x507471,_0x3076c2,_0x499d58)=>{const _0x507ec8=_0xb7df44;for(var _0x136a33=_0x499d58>0x1?void 0x0:_0x499d58?Nr(_0x507471,_0x3076c2):_0x507471,_0x4f307c=_0x952560[_0x507ec8(0x3f7)]-0x1,_0x41ab68;_0x4f307c>=0x0;_0x4f307c--)(_0x41ab68=_0x952560[_0x4f307c])&&(_0x136a33=(_0x499d58?_0x41ab68(_0x507471,_0x3076c2,_0x136a33):_0x41ab68(_0x136a33))||_0x136a33);return _0x499d58&&_0x136a33&&Ur(_0x507471,_0x3076c2,_0x136a33),_0x136a33;},Hs=(_0x4da526,_0x178f39)=>(_0x4cda14,_0x2b6e8f)=>_0x178f39(_0x4cda14,_0x2b6e8f,_0x4da526);let Ne=class extends _0x55ef45{constructor(_0x13d711,_0x47b5af){const _0x315a9b=_0xb7df44;super(),g(this,_0x315a9b(0x3e5),new Map()),(this[_0x315a9b(0x3d6)]=_0x13d711,this['_userManagerService']=_0x47b5af,this[_0x315a9b(0x55a)](_0x1ae8eb(_0x446ede(this[_0x315a9b(0x3d6)][_0x315a9b(0x4cd)](_0x5d9c1d['UNIVER_SHEET'])[_0x315a9b(0x51d)](_0x41a95e(_0x5a8411=>_0x5a8411[_0x315a9b(0x432)]())),this[_0x315a9b(0x3d6)][_0x315a9b(0x4cd)](_0x5d9c1d[_0x315a9b(0x1cf)])[_0x315a9b(0x51d)](_0x41a95e(_0x414461=>_0x414461[_0x315a9b(0x432)]())),this[_0x315a9b(0x3d6)][_0x315a9b(0x4cd)](_0x5d9c1d[_0x315a9b(0x448)])['pipe'](_0x41a95e(_0x36f86a=>_0x36f86a[_0x315a9b(0x432)]())))[_0x315a9b(0x41a)](_0x3d101a=>this['_removeRoom'](_0x3d101a)))));}[_0xb7df44(0x3a8)](_0x20510a){const _0x212b63=_0xb7df44;this[_0x212b63(0x21e)][_0x212b63(0x3a8)](_0x20510a);}[_0xb7df44(0x1e9)](){const _0x1c07c0=_0xb7df44;return this[_0x1c07c0(0x21e)][_0x1c07c0(0x1e9)]();}['updateMember'](_0x3b403f,_0x4c4a84){const _0x518d58=_0xb7df44;let _0x1a3466=this[_0x518d58(0x3e5)][_0x518d58(0x339)](_0x3b403f);_0x1a3466||(_0x1a3466=new Mr(),this[_0x518d58(0x3e5)][_0x518d58(0x1f3)](_0x3b403f,_0x1a3466)),_0x1a3466[_0x518d58(0x1f0)](_0x4c4a84);}[_0xb7df44(0x1c7)](_0x108c9c,_0x13e97a){const _0xfe47b0=_0xb7df44,_0x3618a7=this['_roomMembers'][_0xfe47b0(0x339)](_0x108c9c);_0x3618a7&&_0x3618a7['removeMember'](_0x13e97a);}[_0xb7df44(0x23e)](_0x2bc309){const _0x2caff0=_0xb7df44;return this[_0x2caff0(0x3e5)][_0x2caff0(0x339)](_0x2bc309);}[_0xb7df44(0x18c)](_0x3d4069,_0x561226){const _0x331767=_0xb7df44,_0xa172ad=this[_0x331767(0x3e5)][_0x331767(0x339)](_0x3d4069);if(_0xa172ad)return _0xa172ad['getMember'](_0x561226);}[_0xb7df44(0x2bb)](_0x371736){const _0x180921=_0xb7df44,_0x26a2b0=this['_roomMembers'][_0x180921(0x339)](_0x371736);_0x26a2b0&&(_0x26a2b0[_0x180921(0x211)](),this['_roomMembers'][_0x180921(0x37f)](_0x371736));}[_0xb7df44(0x211)](){const _0x4271c4=_0xb7df44;this[_0x4271c4(0x3e5)][_0x4271c4(0x3d9)](_0x5918d6=>_0x5918d6[_0x4271c4(0x211)]()),this['_roomMembers'][_0x4271c4(0x1b6)]();}};Ne=Ar([Hs(0x0,_0xf81bb9),Hs(0x1,_0x380ba9(_0x405b62))],Ne);class Mr extends _0x55ef45{constructor(){const _0x2a5c30=_0xb7df44;super(...arguments),g(this,_0x2a5c30(0x329),new Map());}['dispose'](){const _0x397841=_0xb7df44;this[_0x397841(0x329)][_0x397841(0x1b6)]();}[_0xb7df44(0x1f0)](_0x122896){const _0x3d22e9=_0xb7df44;this['_members'][_0x3d22e9(0x1f3)](_0x122896[_0x3d22e9(0x446)],_0x122896);}[_0xb7df44(0x1c7)](_0x3435a6){const _0x391e3f=_0xb7df44;this['_members'][_0x391e3f(0x37f)](_0x3435a6);}[_0xb7df44(0x18c)](_0x594077){return this['_members']['get'](_0x594077);}[_0xb7df44(0x2de)](){const _0x2bbbe1=_0xb7df44;return Array[_0x2bbbe1(0x537)](this[_0x2bbbe1(0x329)][_0x2bbbe1(0x252)]());}}var xr=Object[_0xb7df44(0x441)],Lr=Object[_0xb7df44(0x250)],$r=(_0x25b7d7,_0x5b86ab,_0x56b37a,_0x19b700)=>{for(var _0xe322df=_0x19b700>0x1?void 0x0:_0x19b700?Lr(_0x5b86ab,_0x56b37a):_0x5b86ab,_0x550e15=_0x25b7d7['length']-0x1,_0x1096ac;_0x550e15>=0x0;_0x550e15--)(_0x1096ac=_0x25b7d7[_0x550e15])&&(_0xe322df=(_0x19b700?_0x1096ac(_0x5b86ab,_0x56b37a,_0xe322df):_0x1096ac(_0xe322df))||_0xe322df);return _0x19b700&&_0xe322df&&xr(_0x5b86ab,_0x56b37a,_0xe322df),_0xe322df;},Ee=(_0x3e982e,_0x4a4a65)=>(_0x109d50,_0x437400)=>_0x4a4a65(_0x109d50,_0x437400,_0x3e982e),ve=(_0xf6fef6=>(_0xf6fef6[_0xf6fef6['IDLE']=0x0]='IDLE',_0xf6fef6[_0xf6fef6['JOINING']=0x1]=_0xb7df44(0x542),_0xf6fef6[_0xf6fef6[_0xb7df44(0x4ed)]=0x2]=_0xb7df44(0x4ed),_0xf6fef6[_0xf6fef6[_0xb7df44(0x372)]=0x3]='ONLINE',_0xf6fef6))(ve||{});let ts=class extends _0x3431ab{constructor(_0x77dae8,_0x5c3eb0,_0x1e8d1e,_0x3bb5ce,_0x89b6e8,_0x1b9c5d,_0x59bc8e,_0x4bf33d,_0x3984c1,_0x563f7b){const _0x2c78bb=_0xb7df44;super(),g(this,'_sessionStatus$',new _0x230431(0x0)),g(this,_0x2c78bb(0x27b),this[_0x2c78bb(0x512)][_0x2c78bb(0x234)]()),g(this,'_event$',new _0xbbcc86()),g(this,_0x2c78bb(0x507),this[_0x2c78bb(0x1af)][_0x2c78bb(0x234)]()),g(this,'_socket'),g(this,_0x2c78bb(0x510)),g(this,_0x2c78bb(0x4a5)),g(this,_0x2c78bb(0x44d),!0x1),g(this,_0x2c78bb(0x2af),null),(this[_0x2c78bb(0x3e4)]=_0x77dae8,this[_0x2c78bb(0x362)]=_0x1e8d1e,this[_0x2c78bb(0x30a)]=_0x3bb5ce,this[_0x2c78bb(0x490)]=_0x89b6e8,this[_0x2c78bb(0x216)]=_0x1b9c5d,this['_localeService']=_0x59bc8e,this[_0x2c78bb(0x503)]=_0x4bf33d,this[_0x2c78bb(0x568)]=_0x3984c1,this[_0x2c78bb(0x3d3)]=_0x563f7b,this[_0x2c78bb(0x44d)]=!!this['_telemetryService'],_0x5c3eb0[_0x2c78bb(0x51d)](_0x5c3c82(this[_0x2c78bb(0x561)]))['subscribe'](_0x171e1a=>{const _0x1a6a12=_0x2c78bb;var _0x1a2d33;typeof _0x171e1a>'u'||(this[_0x1a6a12(0x552)]=_0x171e1a,_0x171e1a?(this[_0x1a6a12(0x196)](_0x171e1a),this[_0x1a6a12(0x510)]=_0x171e1a[_0x1a6a12(0x360)]['subscribe'](_0x149b4b=>{const _0x3c17f9=_0x1a6a12;_0x149b4b['routeKey']===this[_0x3c17f9(0x3e4)]&&this[_0x3c17f9(0x4c2)](_0x149b4b);})):(this[_0x1a6a12(0x461)](),this['_sessionStatus$'][_0x1a6a12(0x28b)](0x2),(_0x1a2d33=this[_0x1a6a12(0x510)])==null||_0x1a2d33[_0x1a6a12(0x1d6)](),this[_0x1a6a12(0x510)]=null));}),this[_0x2c78bb(0x55a)](this[_0x2c78bb(0x30a)][_0x2c78bb(0x4f0)](()=>{const _0x1a6134=_0x2c78bb;var _0x2253a5;(_0x2253a5=this[_0x1a6134(0x552)])==null||_0x2253a5[_0x1a6134(0x413)]({'cmd':W[_0x1a6134(0x338)],'data':{'roomID':this[_0x1a6134(0x3e4)]}});})));}get[_0xb7df44(0x2e4)](){const _0x4c4440=_0xb7df44;return this[_0x4c4440(0x512)][_0x4c4440(0x1b9)]();}[_0xb7df44(0x1e7)](){const _0x34c0b5=_0xb7df44;var _0x3c0a90,_0x56d5f2;return(_0x56d5f2=(_0x3c0a90=this[_0x34c0b5(0x552)])==null?void 0x0:_0x3c0a90['memberID'])!=null?_0x56d5f2:null;}[_0xb7df44(0x211)](){const _0x540c1a=_0xb7df44;super[_0x540c1a(0x211)](),this['dispose$'][_0x540c1a(0x28b)](),this[_0x540c1a(0x561)][_0x540c1a(0x225)]();}[_0xb7df44(0x3c3)](){const _0x878110=_0xb7df44;var _0xa4da04,_0x382c83;this['_throwTelemetryCollaborationNewChangeset'](),(_0xa4da04=this[_0x878110(0x552)])==null||_0xa4da04['send']({'cmd':W[_0x878110(0x338)],'data':{'roomID':this['_unitID']}}),(_0x382c83=this[_0x878110(0x552)])==null||_0x382c83[_0x878110(0x3c3)](),this[_0x878110(0x1af)]['complete'](),this['_sessionStatus$'][_0x878110(0x225)](),this[_0x878110(0x211)]();}['_onCombEvent'](_0x55d93e){const _0x340504=_0xb7df44;_0x55d93e[_0x340504(0x25d)]===W[_0x340504(0x224)]?this['_onJoinRoomEvent'](_0x55d93e):_0x55d93e['cmd']===W[_0x340504(0x22b)]&&this[_0x340504(0x21d)](_0x55d93e);}[_0xb7df44(0x196)](_0x5a8a74){const _0x153ee8=_0xb7df44;this[_0x153ee8(0x512)][_0x153ee8(0x28b)](0x1),_0x5a8a74['send']({'cmd':W[_0x153ee8(0x224)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x153ee8(0x3e4)]}]}});}[_0xb7df44(0x3c2)](_0x42352a){const _0x281ec4=_0xb7df44;var _0x233d8b;if(_0x42352a[_0x281ec4(0x389)]===Is['FAIL']){this[_0x281ec4(0x490)][_0x281ec4(0x39d)]({'type':_0x4bff77[_0x281ec4(0x2f4)],'content':this['_localeService']['t']('session.room-full')}),this[_0x281ec4(0x512)][_0x281ec4(0x28b)](0x2);return;}this[_0x281ec4(0x512)]['next'](0x3);const _0x35cddb=(_0x233d8b=_0x42352a[_0x281ec4(0x32a)][_0x281ec4(0x4c5)][this['_unitID']])==null?void 0x0:_0x233d8b[_0x281ec4(0x484)];_0x35cddb&&_0x35cddb[_0x281ec4(0x3d9)](_0x1afcc4=>this[_0x281ec4(0x503)][_0x281ec4(0x1f0)](this[_0x281ec4(0x3e4)],_0x1afcc4));}[_0xb7df44(0x21d)](_0x83b63a){const _0x34af4c=_0xb7df44;try{const _0x3e67fa=_0x83b63a[_0x34af4c(0x32a)];switch(_0x3e67fa['eventID']){case _0x5104a7[_0x34af4c(0x2ac)]:this[_0x34af4c(0x41e)](_0x3e67fa),this[_0x34af4c(0x1af)][_0x34af4c(0x28b)](_0x3e67fa);break;case _0x5104a7[_0x34af4c(0x20d)]:this['_onUserLeave'](_0x3e67fa),this[_0x34af4c(0x1af)]['next'](_0x3e67fa);break;case _0x5104a7[_0x34af4c(0x530)]:case _0x5104a7[_0x34af4c(0x540)]:this[_0x34af4c(0x2d6)](),this[_0x34af4c(0x3db)](),this[_0x34af4c(0x1af)][_0x34af4c(0x28b)](_0x3e67fa);break;case _0x5104a7[_0x34af4c(0x4db)]:this[_0x34af4c(0x362)][_0x34af4c(0x1d7)](_0x34af4c(0x1a2)+JSON[_0x34af4c(0x41d)](_0x3e67fa)),this['_event$'][_0x34af4c(0x28b)](_0x3e67fa);break;case _0x5104a7[_0x34af4c(0x4b8)]:this['_commentService'][_0x34af4c(0x20f)](_0x3e67fa['data']),this[_0x34af4c(0x1af)][_0x34af4c(0x28b)](_0x3e67fa);break;default:this['_event$'][_0x34af4c(0x28b)](_0x3e67fa);}}catch(_0x413cd9){this[_0x34af4c(0x362)][_0x34af4c(0x1d7)](_0x413cd9,_0x83b63a);}}[_0xb7df44(0x41e)](_0x3ae546){const _0x928b63=_0xb7df44;this[_0x928b63(0x503)][_0x928b63(0x1f0)](this[_0x928b63(0x3e4)],_0x3ae546[_0x928b63(0x32a)]);}[_0xb7df44(0x33d)](_0x1801d1){const _0x52cb32=_0xb7df44;this[_0x52cb32(0x503)]['removeMember'](this['_unitID'],_0x1801d1[_0x52cb32(0x32a)][_0x52cb32(0x446)]);}async['send'](_0x447515,_0x4e4ce9){const _0x188d7a=_0xb7df44;if(this[_0x188d7a(0x2e4)]!==0x3||!this[_0x188d7a(0x552)])throw new Error(_0x188d7a(0x260));try{_0x447515[_0x188d7a(0x306)]===_0x5104a7[_0x188d7a(0x3ac)]&&(this[_0x188d7a(0x477)](),this['_startTelemetryCollaborationNewChangeset'](_0x447515)),this[_0x188d7a(0x552)][_0x188d7a(0x413)]({'cmd':W[_0x188d7a(0x4c7)],'routeKey':_0x4e4ce9,'routeType':'','data':_0x447515});}catch(_0x390416){this['_logService']['error'](_0x390416);}}[_0xb7df44(0x477)](){const _0x393516=_0xb7df44;var _0x443ab4;this[_0x393516(0x4a5)]=window[_0x393516(0x38a)](()=>{const _0x6035cc=_0x393516;this[_0x6035cc(0x4a5)]=null,this[_0x6035cc(0x490)][_0x6035cc(0x39d)]({'type':_0x4bff77[_0x6035cc(0x24b)],'content':this[_0x6035cc(0x51b)]['t'](_0x6035cc(0x1e4))});},(_0x443ab4=this['_configService']['getConfig'](bi))!=null?_0x443ab4:Ti);}[_0xb7df44(0x3db)](){const _0x28f58b=_0xb7df44;this[_0x28f58b(0x4a5)]&&(clearTimeout(this[_0x28f58b(0x4a5)]),this[_0x28f58b(0x4a5)]=null);}[_0xb7df44(0x1ca)](_0x95c48f){const _0x153620=_0xb7df44;if(!this[_0x153620(0x44d)])return;const {data:_0x5116ed}=_0x95c48f,{unitID:_0x477146,changeset:_0x23c278}=_0x5116ed,{mutations:_0x7ca9c6,type:_0xdda87e}=_0x23c278;this['_telemetryInfo']={'unitId':_0x477146,'type':_0xdda87e,'startTime':performance[_0x153620(0x349)](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x7ca9c6)};}[_0xb7df44(0x2d6)](){const _0x415953=_0xb7df44;if(this[_0x415953(0x44d)]){if(!this[_0x415953(0x2af)]){this['_logService'][_0x415953(0x1d7)](_0x415953(0x3f1),_0x415953(0x32d));return;}this['_telemetryInfo']['stopTime']=performance[_0x415953(0x349)](),this[_0x415953(0x2af)][_0x415953(0x53e)]=this[_0x415953(0x2af)][_0x415953(0x393)]-this[_0x415953(0x2af)][_0x415953(0x544)],this['_telemetryService'][_0x415953(0x451)](Dr,this['_telemetryInfo']),this[_0x415953(0x2af)]=null;}}[_0xb7df44(0x461)](){const _0x1a3429=_0xb7df44;this[_0x1a3429(0x2af)]=null;}};ts=$r([Ee(0x2,_0x23bd67),Ee(0x3,_0x184a05),Ee(0x4,_0xff713e),Ee(0x5,_0x25a779),Ee(0x6,_0x380ba9(_0x5ccb65)),Ee(0x7,_0x380ba9(Ne)),Ee(0x8,_0x380ba9(wi)),Ee(0x9,_0xdde8b7(_0x229b64))],ts);var Hr=Object['defineProperty'],jr=Object[_0xb7df44(0x250)],Br=(_0x3da869,_0x57c177,_0x3f4e9f,_0x1664ca)=>{for(var _0x68d374=_0x1664ca>0x1?void 0x0:_0x1664ca?jr(_0x57c177,_0x3f4e9f):_0x57c177,_0x59f957=_0x3da869['length']-0x1,_0x28be00;_0x59f957>=0x0;_0x59f957--)(_0x28be00=_0x3da869[_0x59f957])&&(_0x68d374=(_0x1664ca?_0x28be00(_0x57c177,_0x3f4e9f,_0x68d374):_0x28be00(_0x68d374))||_0x68d374);return _0x1664ca&&_0x68d374&&Hr(_0x57c177,_0x3f4e9f,_0x68d374),_0x68d374;},je=(_0x3a46d7,_0x37c66f)=>(_0x296fec,_0x55bd3c)=>_0x37c66f(_0x296fec,_0x55bd3c,_0x3a46d7);let Ae=class extends _0x55ef45{constructor(_0x22030a,_0x5e7d76,_0x177499,_0xa7d91e,_0x17164b,_0x178342){const _0x5897b1=_0xb7df44;super(),g(this,_0x5897b1(0x2c1),new _0x230431(void 0x0)),g(this,_0x5897b1(0x311),this['_socket$'][_0x5897b1(0x234)]()),g(this,'_candidateSocket',null),g(this,_0x5897b1(0x47d),new Map()),g(this,'_status$',new _0x230431(ve['IDLE'])),g(this,_0x5897b1(0x281),this['_status$'][_0x5897b1(0x234)]()),g(this,'_socketReady',!0x1),g(this,_0x5897b1(0x262)),g(this,_0x5897b1(0x3ae),0x0),g(this,_0x5897b1(0x42e)),g(this,_0x5897b1(0x1bb)),(this['_injector']=_0x22030a,this[_0x5897b1(0x51b)]=_0x5e7d76,this[_0x5897b1(0x490)]=_0x177499,this[_0x5897b1(0x362)]=_0xa7d91e,this[_0x5897b1(0x216)]=_0x17164b,this[_0x5897b1(0x397)]=_0x178342,this[_0x5897b1(0x361)]());}get['_socket'](){const _0x1c5aac=_0xb7df44;return this[_0x1c5aac(0x2c1)][_0x1c5aac(0x1b9)]();}[_0xb7df44(0x361)](){const _0x246cc3=_0xb7df44;this[_0x246cc3(0x41c)](),this[_0x246cc3(0x363)]();}[_0xb7df44(0x211)](){const _0x212ade=_0xb7df44;super[_0x212ade(0x211)](),this[_0x212ade(0x47d)][_0x212ade(0x3d9)](_0x4832fe=>_0x4832fe[_0x212ade(0x211)]()),this[_0x212ade(0x47d)][_0x212ade(0x1b6)](),this[_0x212ade(0x445)]['complete']();}async[_0xb7df44(0x4d8)](_0x3681cc){const _0x5b52f7=_0xb7df44;if(this[_0x5b52f7(0x47d)]['has'](_0x3681cc))return this['_sessions']['get'](_0x3681cc);this[_0x5b52f7(0x2ee)]();const _0x4acbf0=this[_0x5b52f7(0x526)][_0x5b52f7(0x3fe)](ts,_0x3681cc,this['_socket$'][_0x5b52f7(0x234)]());return this[_0x5b52f7(0x47d)][_0x5b52f7(0x1f3)](_0x3681cc,_0x4acbf0),_0x4acbf0;}[_0xb7df44(0x254)](_0x1c1077){const _0xe3343d=_0xb7df44;var _0x3b62e4;const _0x1f6edf=this[_0xe3343d(0x47d)][_0xe3343d(0x339)](_0x1c1077);_0x1f6edf&&(this['_sessions'][_0xe3343d(0x37f)](_0x1c1077),_0x1f6edf['close']()),this['_sessions'][_0xe3343d(0x548)]||(_0x3b62e4=this[_0xe3343d(0x552)])==null||_0x3b62e4[_0xe3343d(0x3c3)]();}[_0xb7df44(0x1a3)](){const _0x404738=_0xb7df44;this[_0x404738(0x3ae)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x404738(0x262)]),this[_0x404738(0x262)]=null),this[_0x404738(0x459)]();}[_0xb7df44(0x2e8)](){const _0x451922=_0xb7df44;var _0x345438,_0x1f9508;const _0x214a83=this[_0x451922(0x216)][_0x451922(0x2b8)](hr),_0x461c10=this[_0x451922(0x216)][_0x451922(0x2b8)](ie),_0xba608a=(_0x1f9508=(_0x345438=_0x461c10==null?void 0x0:_0x461c10['collabWebSocketUrl'])!=null?_0x345438:_0x214a83)!=null?_0x1f9508:lr,_0x19c1d2=this['_socketService'][_0x451922(0x48f)](_0xba608a);return this[_0x451922(0x1c3)]=_0x19c1d2,_0x19c1d2;}['_tryEnsureSocket'](){const _0x4c7cc0=_0xb7df44;var _0x25ec85,_0x3b7e03;try{const _0x36afce=(_0x3b7e03=(_0x25ec85=this[_0x4c7cc0(0x552)])!=null?_0x25ec85:this[_0x4c7cc0(0x1c3)])!=null?_0x3b7e03:this[_0x4c7cc0(0x2e8)]();if(_0x36afce){const _0x5c86a2=_0x36afce[_0x4c7cc0(0x413)];_0x36afce['send']=_0xd3a46b=>(this[_0x4c7cc0(0x3c6)](),_0x5c86a2['apply'](_0x36afce,[_0xd3a46b])),_0x36afce[_0x4c7cc0(0x360)]['subscribe'](_0x827157=>this[_0x4c7cc0(0x4bd)](_0x36afce,_0x827157)),_0x36afce[_0x4c7cc0(0x48e)]['pipe'](_0x481ad1(0x1))[_0x4c7cc0(0x41a)](_0x277c95=>this['_logService'][_0x4c7cc0(0x1d7)](_0x4c7cc0(0x4c8),_0x277c95)),_0x36afce[_0x4c7cc0(0x43b)][_0x4c7cc0(0x51d)](_0x481ad1(0x1))[_0x4c7cc0(0x41a)](()=>{const _0x1153d4=_0x4c7cc0;this[_0x1153d4(0x4d3)](_0x36afce);}),_0x36afce[_0x4c7cc0(0x22a)][_0x4c7cc0(0x51d)](_0x481ad1(0x1))[_0x4c7cc0(0x41a)](_0x2132fa=>{const _0x321c91=_0x4c7cc0;this['_logService'][_0x321c91(0x20c)](_0x321c91(0x369),_0x321c91(0x520),_0x2132fa),this[_0x321c91(0x414)]();});}}catch(_0x1e469){this[_0x4c7cc0(0x362)][_0x4c7cc0(0x1d7)](_0x1e469),this[_0x4c7cc0(0x414)]();}}[_0xb7df44(0x4d3)](_0x1d7ad3){const _0x387339=_0xb7df44;this[_0x387339(0x362)][_0x387339(0x20c)](_0x387339(0x369),_0x387339(0x37d)),_0x1d7ad3[_0x387339(0x413)]({'cmd':W[_0x387339(0x50d)]}),this[_0x387339(0x3c6)]();}['_listenToOfflineEvent'](){const _0x40f317=_0xb7df44;window['addEventListener'](_0x40f317(0x43f),()=>this[_0x40f317(0x184)]());}[_0xb7df44(0x184)](){const _0x3df46b=_0xb7df44;this[_0x3df46b(0x44a)]=!0x1,this[_0x3df46b(0x1c3)]=null,this[_0x3df46b(0x445)][_0x3df46b(0x28b)](ve['OFFLINE']),this[_0x3df46b(0x2c1)]['next'](null),this['_clearTimeoutTimer'](),this[_0x3df46b(0x34a)]();}[_0xb7df44(0x414)](){const _0x1c9c1e=_0xb7df44;var _0x36662a;this[_0x1c9c1e(0x184)](),this[_0x1c9c1e(0x3ae)]<((_0x36662a=this[_0x1c9c1e(0x216)][_0x1c9c1e(0x2b8)](fr))!=null?_0x36662a:vr)?(this[_0x1c9c1e(0x490)][_0x1c9c1e(0x39d)]({'key':_0x1c9c1e(0x1e3),'type':_0x4bff77[_0x1c9c1e(0x2f4)],'content':this[_0x1c9c1e(0x51b)]['t'](_0x1c9c1e(0x547))}),this[_0x1c9c1e(0x459)]()):this[_0x1c9c1e(0x490)][_0x1c9c1e(0x39d)]({'key':_0x1c9c1e(0x1e3),'type':_0x4bff77[_0x1c9c1e(0x24b)],'content':this['_localeService']['t'](_0x1c9c1e(0x46e))});}['_listenToOnlineEvent'](){const _0x3fb506=_0xb7df44,_0x1910e6=()=>{const _0x1a3f05=_0x16eb;this[_0x1a3f05(0x552)]||this[_0x1a3f05(0x1a3)]();},_0x4a7716=()=>{const _0x4c0480=_0x16eb;this[_0x4c0480(0x552)]||document[_0x4c0480(0x30d)]===_0x4c0480(0x49b)||this[_0x4c0480(0x1a3)]();};window['addEventListener']('online',_0x1910e6),document[_0x3fb506(0x2c9)](_0x3fb506(0x4e3),_0x4a7716);}['_tryReconnect'](){const _0x22d557=_0xb7df44;var _0x268d2b;const _0x122733=this['_retryCount'],_0x948d21=this['_configService']['getConfig'](ie),_0x31a494=_0x122733===0x0?0x0:((_0x268d2b=_0x948d21==null?void 0x0:_0x948d21[_0x22d557(0x2a0)])!=null?_0x268d2b:dr)*0x2**_0x122733;this[_0x22d557(0x262)]=window[_0x22d557(0x38a)](()=>{const _0x486dce=_0x22d557;clearTimeout(this[_0x486dce(0x262)]),this[_0x486dce(0x262)]=null,this[_0x486dce(0x2ee)]();},_0x31a494),this[_0x22d557(0x3ae)]+=0x1;}[_0xb7df44(0x4bd)](_0x3e1051,_0x3dfb60){const _0x569633=_0xb7df44,{cmd:_0x122132}=_0x3dfb60;_0x122132===W['HELLO']&&!this[_0x569633(0x44a)]&&(_0x3e1051[_0x569633(0x446)]=_0x3dfb60[_0x569633(0x32a)][_0x569633(0x446)],this[_0x569633(0x2c1)][_0x569633(0x28b)](_0x3e1051),this[_0x569633(0x445)][_0x569633(0x28b)](ve[_0x569633(0x372)]),this['_socketReady']=!0x0,this[_0x569633(0x1c3)]=null),_0x122132===W[_0x569633(0x434)]&&this[_0x569633(0x4dd)](),this[_0x569633(0x3c6)]();}[_0xb7df44(0x3c6)](){const _0x4ea7b2=_0xb7df44;var _0x2431ad;this[_0x4ea7b2(0x34a)](),this['_sendHeartbeatTimer']=window[_0x4ea7b2(0x38a)](()=>this[_0x4ea7b2(0x3be)](),(_0x2431ad=this[_0x4ea7b2(0x216)][_0x4ea7b2(0x2b8)](_r))!=null?_0x2431ad:ur);}[_0xb7df44(0x3be)](){const _0x129489=_0xb7df44;this[_0x129489(0x552)][_0x129489(0x413)]({'cmd':W[_0x129489(0x434)]}),this[_0x129489(0x387)]();}[_0xb7df44(0x387)](){const _0x36a315=_0xb7df44;var _0x468598;this['_timeoutTimer']=window[_0x36a315(0x38a)](()=>this[_0x36a315(0x414)](),(_0x468598=this[_0x36a315(0x216)][_0x36a315(0x2b8)](bi))!=null?_0x468598:Ti);}[_0xb7df44(0x34a)](){const _0x1ea786=_0xb7df44;this[_0x1ea786(0x42e)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0xb7df44(0x4dd)](){const _0x16dda2=_0xb7df44;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x16dda2(0x1bb)]=null);}};Ae=Br([je(0x0,_0x380ba9(_0x41c43c)),je(0x1,_0x380ba9(_0x5ccb65)),je(0x2,_0xff713e),je(0x3,_0x23bd67),je(0x4,_0x25a779),je(0x5,Oi)],Ae);var Y=[];for(var Nt=0x0;Nt<0x100;++Nt)Y[_0xb7df44(0x1c5)]((Nt+0x100)['toString'](0x10)[_0xb7df44(0x230)](0x1));function kr(_0x5b89ad,_0x12c1ce=0x0){const _0x1328c7=_0xb7df44;return(Y[_0x5b89ad[_0x12c1ce+0x0]]+Y[_0x5b89ad[_0x12c1ce+0x1]]+Y[_0x5b89ad[_0x12c1ce+0x2]]+Y[_0x5b89ad[_0x12c1ce+0x3]]+'-'+Y[_0x5b89ad[_0x12c1ce+0x4]]+Y[_0x5b89ad[_0x12c1ce+0x5]]+'-'+Y[_0x5b89ad[_0x12c1ce+0x6]]+Y[_0x5b89ad[_0x12c1ce+0x7]]+'-'+Y[_0x5b89ad[_0x12c1ce+0x8]]+Y[_0x5b89ad[_0x12c1ce+0x9]]+'-'+Y[_0x5b89ad[_0x12c1ce+0xa]]+Y[_0x5b89ad[_0x12c1ce+0xb]]+Y[_0x5b89ad[_0x12c1ce+0xc]]+Y[_0x5b89ad[_0x12c1ce+0xd]]+Y[_0x5b89ad[_0x12c1ce+0xe]]+Y[_0x5b89ad[_0x12c1ce+0xf]])[_0x1328c7(0x57c)]();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0x1ab843=_0xb7df44;if(!ct&&(ct=typeof crypto<'u'&&crypto[_0x1ab843(0x38e)]&&crypto[_0x1ab843(0x38e)][_0x1ab843(0x23f)](crypto),!ct))throw new Error(_0x1ab843(0x285));return ct(Wr);}var Vr=typeof crypto<'u'&&crypto[_0xb7df44(0x1d2)]&&crypto[_0xb7df44(0x1d2)][_0xb7df44(0x23f)](crypto);const js={'randomUUID':Vr};function Gr(_0x25b798,_0x54022b,_0x50e10b){const _0x3f8874=_0xb7df44;if(js[_0x3f8874(0x1d2)]&&!_0x54022b&&!_0x25b798)return js[_0x3f8874(0x1d2)]();_0x25b798=_0x25b798||{};var _0x56d04b=_0x25b798['random']||(_0x25b798[_0x3f8874(0x273)]||Fr)();return _0x56d04b[0x6]=_0x56d04b[0x6]&0xf|0x40,_0x56d04b[0x8]=_0x56d04b[0x8]&0x3f|0x80,kr(_0x56d04b);}var Yr=Object[_0xb7df44(0x441)],Kr=Object[_0xb7df44(0x250)],zr=(_0x28f3f2,_0x500ceb,_0x24abc,_0x33761f)=>{const _0x2f5ed1=_0xb7df44;for(var _0x44bf71=_0x33761f>0x1?void 0x0:_0x33761f?Kr(_0x500ceb,_0x24abc):_0x500ceb,_0xfeecf7=_0x28f3f2[_0x2f5ed1(0x3f7)]-0x1,_0x5256be;_0xfeecf7>=0x0;_0xfeecf7--)(_0x5256be=_0x28f3f2[_0xfeecf7])&&(_0x44bf71=(_0x33761f?_0x5256be(_0x500ceb,_0x24abc,_0x44bf71):_0x5256be(_0x44bf71))||_0x44bf71);return _0x33761f&&_0x44bf71&&Yr(_0x500ceb,_0x24abc,_0x44bf71),_0x44bf71;},At=(_0x33805f,_0x2d4e13)=>(_0x1cb042,_0x5668f2)=>_0x2d4e13(_0x1cb042,_0x5668f2,_0x33805f);let vt=class{constructor(_0x57eb34,_0x3ac9e0,_0x245579){const _0x400c38=_0xb7df44;this[_0x400c38(0x526)]=_0x57eb34,this[_0x400c38(0x242)]=_0x3ac9e0,this[_0x400c38(0x29f)]=_0x245579;}[_0xb7df44(0x1e8)](_0xf909c){const _0x1da954=_0xb7df44;this['_transformUndoRedoStack'](_0xf909c),this[_0x1da954(0x4af)](_0xf909c);}['transformRemoteChangeset'](_0x118bd3){const _0xfcf02f=_0xb7df44,{unitID:_0x2fc362}=_0x118bd3,_0x52d2e8=this['_renderManagerService'][_0xfcf02f(0x341)](_0x2fc362)[_0xfcf02f(0x213)](_0x337a72),{redoCache:_0xa0cb97}=_0x52d2e8[_0xfcf02f(0x328)]();if(_0xa0cb97[_0xfcf02f(0x3f7)]===0x0)return _0x118bd3;let _0xcc990e=_0xb81a94[_0xfcf02f(0x463)](_0x118bd3[_0xfcf02f(0x27c)][0x0]);for(let _0x27b70f=0x0;_0x27b70f<_0xa0cb97['length'];_0x27b70f++){const _0x169a72={'id':_0xfcf02f(0x4d7),'params':{..._0xa0cb97[_0x27b70f]}},_0x565c94=this['_transformService'][_0xfcf02f(0x253)](_0xcc990e,_0x169a72,!0x1);if(_0x51b7ca(_0x565c94))throw _0x565c94['error'];_0xcc990e=_0x565c94[_0xfcf02f(0x427)];}return{..._0xb81a94[_0xfcf02f(0x463)](_0x118bd3),'mutations':[_0xcc990e]};}[_0xb7df44(0x2c5)](_0x541692){const _0x5c0a96=_0xb7df44,{unitID:_0x46c726}=_0x541692,_0x4e81ec=this[_0x5c0a96(0x29f)]['getRenderById'](_0x46c726)[_0x5c0a96(0x213)](_0x337a72),{undoCache:_0x5d14fa,redoCache:_0x24534e}=_0x4e81ec[_0x5c0a96(0x328)]();if(_0x5d14fa[_0x5c0a96(0x3f7)]===0x0||_0x24534e[_0x5c0a96(0x3f7)]===0x0)return;const _0x548e18=[],_0x27dfb2=[];let _0x537beb=_0xb81a94[_0x5c0a96(0x463)](_0x541692[_0x5c0a96(0x27c)][0x0]),_0x1b061a=_0xb81a94['deepClone'](_0x541692[_0x5c0a96(0x27c)][0x0]);for(let _0x3be3ba=_0x5d14fa[_0x5c0a96(0x3f7)]-0x1;_0x3be3ba>=0x0;_0x3be3ba--){const _0x14d1ae={'id':_0x5c0a96(0x4d7),'params':{..._0x5d14fa[_0x3be3ba]}},_0xa6e7de={'id':_0x5c0a96(0x4d7),'params':{..._0x24534e[_0x3be3ba]}},_0x48f078=this[_0x5c0a96(0x242)][_0x5c0a96(0x253)](_0x537beb,_0x14d1ae,!0x1),_0x210242=this[_0x5c0a96(0x242)][_0x5c0a96(0x253)](_0x1b061a,_0xa6e7de,!0x1);if(_0x51b7ca(_0x48f078))throw _0x48f078[_0x5c0a96(0x1d7)];if(_0x51b7ca(_0x210242))throw _0x210242[_0x5c0a96(0x1d7)];_0x548e18[_0x5c0a96(0x4f6)](_0x48f078['m2Prime'][_0x5c0a96(0x494)]),_0x27dfb2[_0x5c0a96(0x4f6)](_0x210242[_0x5c0a96(0x4f7)][_0x5c0a96(0x494)]),_0x537beb=_0x48f078[_0x5c0a96(0x427)],_0x1b061a=_0x210242[_0x5c0a96(0x427)];}_0x4e81ec['setUndoRedoMutationParamsCache']({'undoCache':_0x548e18,'redoCache':_0x27dfb2});}[_0xb7df44(0x4af)](_0x4da1a2){const _0x38216a=_0xb7df44,{unitID:_0x4db035}=_0x4da1a2,_0x1600b4=this[_0x38216a(0x29f)][_0x38216a(0x341)](_0x4db035)['with'](_0x337a72),_0x34e84a=_0x1600b4[_0x38216a(0x424)]();if(_0x34e84a==null)return;const _0x24d37c=[{'id':_0x38216a(0x4d7),'params':{'unitId':_0x4da1a2['unitID'],'actions':null,'textRanges':[_0x34e84a]}}],_0x4b1b20=this[_0x38216a(0x242)]['transformMutationsWithChangeset'](_0x4da1a2,_0x24d37c);if(!_0x3aa1c2(_0x4b1b20))throw _0x4b1b20['error'];const _0x9e3988=_0x4b1b20[_0x38216a(0x4f7)][0x0][_0x38216a(0x494)][_0x38216a(0x233)];Array[_0x38216a(0x340)](_0x9e3988)&&_0x9e3988[_0x38216a(0x3f7)]&&_0x1600b4[_0x38216a(0x29e)](_0x9e3988[0x0]);}};vt=zr([At(0x0,_0x380ba9(_0x41c43c)),At(0x1,_0x5dcca2),At(0x2,_0x2618ce)],vt);var qr=Object[_0xb7df44(0x441)],Xr=Object[_0xb7df44(0x250)],Jr=(_0x3586fa,_0x5a04ee,_0x561411,_0x3c51ed)=>{const _0x386921=_0xb7df44;for(var _0x1f577a=_0x3c51ed>0x1?void 0x0:_0x3c51ed?Xr(_0x5a04ee,_0x561411):_0x5a04ee,_0x550d8e=_0x3586fa[_0x386921(0x3f7)]-0x1,_0x179b9c;_0x550d8e>=0x0;_0x550d8e--)(_0x179b9c=_0x3586fa[_0x550d8e])&&(_0x1f577a=(_0x3c51ed?_0x179b9c(_0x5a04ee,_0x561411,_0x1f577a):_0x179b9c(_0x1f577a))||_0x1f577a);return _0x3c51ed&&_0x1f577a&&qr(_0x5a04ee,_0x561411,_0x1f577a),_0x1f577a;},Xe=(_0x18e402,_0x2af490)=>(_0x3991f2,_0x9786ea)=>_0x2af490(_0x3991f2,_0x9786ea,_0x18e402);let q=class extends _0x55ef45{constructor(_0x3ee539,_0xbf4b81,_0x1b50b3,_0x4068d1,_0xdd31a7){const _0x2e6549=_0xb7df44;super(),g(this,_0x2e6549(0x3c5),new Map()),g(this,_0x2e6549(0x2d8),new Map()),g(this,_0x2e6549(0x433),!0x1),(this[_0x2e6549(0x216)]=_0x3ee539,this[_0x2e6549(0x2d4)]=_0xbf4b81,this[_0x2e6549(0x30a)]=_0x1b50b3,this[_0x2e6549(0x51b)]=_0x4068d1,this[_0x2e6549(0x2b1)]=_0xdd31a7,this[_0x2e6549(0x377)]());}['disableLocalCache'](){const _0x9f89e9=_0xb7df44;this[_0x9f89e9(0x433)]=!0x0;}['enableLocalCache'](){const _0x4ad1be=_0xb7df44;this[_0x4ad1be(0x433)]=!0x1;}[_0xb7df44(0x211)](){const _0x5e1882=_0xb7df44;this[_0x5e1882(0x56b)]()[_0x5e1882(0x4bc)](()=>super['dispose']());}async[_0xb7df44(0x492)](_0x9627d4){const _0x3d66de=_0xb7df44;return this[_0x3d66de(0x433)]?null:this[_0x3d66de(0x2d4)]['getItem'](Bs(_0x9627d4));}async['saveOfflineData'](_0x111515,_0x4b4dc9){const _0x4aee96=_0xb7df44;return!!this[_0x4aee96(0x2d4)]['setItem'](_0x111515,_0x4b4dc9);}[_0xb7df44(0x215)](_0x42e10e,_0x54d4a1,_0x3fd6e9,_0x3f9ad5){const _0x241838=_0xb7df44,_0x42b65d=this[_0x241838(0x2b1)][_0x241838(0x493)](_0x42e10e);this[_0x241838(0x3c5)][_0x241838(0x1f3)](_0x42e10e,{'unitID':_0x42e10e,'type':_0x54d4a1,'awaitingChangeset':_0x3fd6e9,'mutations':_0x3f9ad5,'rev':_0x42b65d}),this[_0x241838(0x2d8)][_0x241838(0x1df)](_0x42e10e)||this[_0x241838(0x3ab)](_0x42e10e);}[_0xb7df44(0x3ab)](_0x181537){const _0x4bed69=_0xb7df44,_0x209a76=this[_0x4bed69(0x336)]();_0x209a76===0x0?this['_saveCache'](_0x181537):this[_0x4bed69(0x2d8)][_0x4bed69(0x1f3)](_0x181537,setTimeout(()=>this[_0x4bed69(0x44b)](_0x181537),_0x209a76));}[_0xb7df44(0x336)](){const _0x20d823=_0xb7df44;var _0x470ee2;return(_0x470ee2=this[_0x20d823(0x216)][_0x20d823(0x2b8)](mr))!=null?_0x470ee2:pr;}['_saveCache'](_0x40e2ac){const _0x34a52c=_0xb7df44,_0xe980d0=this[_0x34a52c(0x2d8)][_0x34a52c(0x339)](_0x40e2ac);return _0xe980d0!==void 0x0&&window['clearTimeout'](_0xe980d0),this[_0x34a52c(0x2d4)][_0x34a52c(0x18b)](Bs(_0x40e2ac),this['_cachedData']['get'](_0x40e2ac))[_0x34a52c(0x4bc)](()=>this[_0x34a52c(0x2d8)][_0x34a52c(0x37f)](_0x40e2ac));}async[_0xb7df44(0x56b)](){const _0x15efc7=_0xb7df44,_0x1186c0=[];this[_0x15efc7(0x2d8)]['forEach']((_0x26c32f,_0x5923bf)=>{const _0x3f97d8=_0x15efc7;window[_0x3f97d8(0x1b4)](_0x26c32f),_0x1186c0[_0x3f97d8(0x1c5)](this[_0x3f97d8(0x44b)](_0x5923bf)[_0x3f97d8(0x4bc)](()=>{const _0x17ce7e=_0x3f97d8;this[_0x17ce7e(0x2d8)][_0x17ce7e(0x37f)](_0x5923bf);}));}),await Promise[_0x15efc7(0x55b)](_0x1186c0);}[_0xb7df44(0x377)](){const _0x1e557f=_0xb7df44;this[_0x1e557f(0x55a)](this['_beforeCloseService'][_0x1e557f(0x580)](()=>{const _0x33b5f8=_0x1e557f;if(this[_0x33b5f8(0x2d8)][_0x33b5f8(0x548)])return this['_localeService']['t'](_0x33b5f8(0x24c));}));}};q=Jr([Xe(0x0,_0x25a779),Xe(0x1,_0x3b6f9f),Xe(0x2,_0x184a05),Xe(0x3,_0x380ba9(_0x5ccb65)),Xe(0x4,_0x380ba9(_0x2ab1a0))],q);function Bs(_0x24af73){const _0x120233=_0xb7df44;return _0x120233(0x421)+_0x24af73;}var Zr=Object[_0xb7df44(0x441)],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x9b01fa,_0xe90c1c,_0x40f8e3,_0x57cdc7)=>{for(var _0x45ebd0=_0x57cdc7>0x1?void 0x0:_0x57cdc7?Qr(_0xe90c1c,_0x40f8e3):_0xe90c1c,_0x6974e3=_0x9b01fa['length']-0x1,_0x5b476a;_0x6974e3>=0x0;_0x6974e3--)(_0x5b476a=_0x9b01fa[_0x6974e3])&&(_0x45ebd0=(_0x57cdc7?_0x5b476a(_0xe90c1c,_0x40f8e3,_0x45ebd0):_0x5b476a(_0x45ebd0))||_0x45ebd0);return _0x57cdc7&&_0x45ebd0&&Zr(_0xe90c1c,_0x40f8e3,_0x45ebd0),_0x45ebd0;},Mt=(_0x4da91b,_0xe532f4)=>(_0x527e99,_0x97d755)=>_0xe532f4(_0x527e99,_0x97d755,_0x4da91b);function to(_0x41254a){const _0x174830=_0xb7df44,{unitID:_0x2d3957,mutations:_0x4cc958}=_0x41254a;return{'unitId':_0x2d3957,'subUnitId':_0x4cc958[0x0]['params'][_0x174830(0x256)]};}let mt=class{constructor(_0x1a0381,_0x1a1756,_0x904ca5){const _0x286785=_0xb7df44;this[_0x286785(0x526)]=_0x1a0381,this[_0x286785(0x242)]=_0x1a1756,this[_0x286785(0x1a9)]=_0x904ca5;}[_0xb7df44(0x206)](_0x269f3c){const _0x1129a4=_0xb7df44;var _0xb8794d,_0x24b6cc,_0x33c787,_0x35e52d;const _0x326d8b=this[_0x1129a4(0x526)]['get'](_0x1412c1),{unitId:_0x18d1a3,subUnitId:_0x31280c}=to(_0x269f3c),_0x5ae792=_0x326d8b[_0x1129a4(0x354)](_0x18d1a3)[_0x1129a4(0x44e)](),_0x14c1b4=(_0x24b6cc=(_0xb8794d=this[_0x1129a4(0x1a9)][_0x1129a4(0x3b8)](_0x18d1a3))==null?void 0x0:_0xb8794d['getActiveSheet']())==null?void 0x0:_0x24b6cc[_0x1129a4(0x40a)]();if(_0x5ae792[_0x1129a4(0x3f7)]===0x0||!_0x18d1a3||!_0x31280c)return;const _0x96b072=[{'id':_0x357bb7['id'],'params':{'unitId':_0x18d1a3,'subUnitId':_0x14c1b4,'selections':_0xb81a94[_0x1129a4(0x463)](_0x5ae792)}}],_0x4bd97a=this[_0x1129a4(0x242)][_0x1129a4(0x3aa)](_0x269f3c,_0x96b072);if(!_0x3aa1c2(_0x4bd97a))throw _0x4bd97a[_0x1129a4(0x1d7)];const _0xf2c8d2=(_0x35e52d=(_0x33c787=_0x4bd97a[_0x1129a4(0x4f7)][0x0])==null?void 0x0:_0x33c787['params'])==null?void 0x0:_0x35e52d[_0x1129a4(0x4ff)];if(Array[_0x1129a4(0x340)](_0xf2c8d2)&&_0xf2c8d2[_0x1129a4(0x3f7)]){if(_0xf2c8d2[_0x1129a4(0x3f7)]===_0x96b072[0x0][_0x1129a4(0x494)][_0x1129a4(0x4ff)][_0x1129a4(0x3f7)]&&_0xf2c8d2[_0x1129a4(0x2cf)]((_0x3abc07,_0x28a0ac)=>_0x1d7a17[_0x1129a4(0x238)](_0x3abc07[_0x1129a4(0x4e9)],_0x96b072[0x0][_0x1129a4(0x494)][_0x1129a4(0x4ff)][_0x28a0ac][_0x1129a4(0x4e9)])))return;this[_0x1129a4(0x526)][_0x1129a4(0x339)](_0x461f8f)[_0x1129a4(0x567)](_0x357bb7['id'],{'unitId':_0x18d1a3,'subUnitId':_0x14c1b4,'selections':_0xf2c8d2});}}};mt=eo([Mt(0x0,_0x380ba9(_0x41c43c)),Mt(0x1,_0x5dcca2),Mt(0x2,_0xf81bb9)],mt);const yt=_0x36b00b(_0xb7df44(0x209));var Di=(_0x17018b=>(_0x17018b[_0x17018b[_0xb7df44(0x50b)]=0x0]=_0xb7df44(0x50b),_0x17018b[_0x17018b[_0xb7df44(0x189)]=0x1]=_0xb7df44(0x189),_0x17018b))(Di||{});const ks=0x7530,Ws=_0xb7df44(0x4ca);class so extends _0x55ef45{constructor(){const _0x182bb4=_0xb7df44;super(),g(this,_0x182bb4(0x240),_0xb81a94['generateRandomId']()),g(this,'_selfUnitIDs',new Set()),g(this,_0x182bb4(0x3c0),new Map()),g(this,_0x182bb4(0x2b7),null),g(this,_0x182bb4(0x41f),new Map()),g(this,'_unitStatus',new Map()),this[_0x182bb4(0x4a2)]();}['dispose'](){const _0x7677bb=_0xb7df44;super[_0x7677bb(0x211)](),this['_clearOtherTimers'][_0x7677bb(0x3d9)]((_0x103fd2,_0x6f4498)=>this[_0x7677bb(0x297)](_0x6f4498)),this[_0x7677bb(0x2b7)]&&window[_0x7677bb(0x344)](this[_0x7677bb(0x2b7)]);}[_0xb7df44(0x371)](_0x53371c){const _0x2d1044=_0xb7df44;return this[_0x2d1044(0x3f8)](_0x53371c)['pipe'](_0x2bb2de());}['editingUnit'](_0x304b4a){const _0x47388e=_0xb7df44;this[_0x47388e(0x472)]['size']===0x0&&this[_0x47388e(0x1e1)](),this[_0x47388e(0x472)][_0x47388e(0x364)](_0x304b4a),this[_0x47388e(0x449)]({'type':0x0,'memberID':this[_0x47388e(0x240)],'unitIDs':[_0x304b4a],'isForwarded':!0x1});}[_0xb7df44(0x32f)](_0x18a937){const _0x4f69b0=_0xb7df44;this[_0x4f69b0(0x472)][_0x4f69b0(0x37f)](_0x18a937),this[_0x4f69b0(0x472)][_0x4f69b0(0x548)]===0x0&&this[_0x4f69b0(0x2b7)]&&window[_0x4f69b0(0x344)](this[_0x4f69b0(0x2b7)]);}[_0xb7df44(0x4a2)](){const _0x52f295=_0xb7df44;this[_0x52f295(0x55a)](_0x1ae8eb(_0xb50e9(window,_0x52f295(0x572))[_0x52f295(0x41a)](_0x23272d=>{const _0x534e07=_0x52f295;if(_0x23272d[_0x534e07(0x574)]!==Ws||!_0x23272d[_0x534e07(0x21c)])return;const _0x86ef44=JSON[_0x534e07(0x272)](_0x23272d[_0x534e07(0x21c)]);this['_handleEvent'](_0x86ef44);}))),window[_0x52f295(0x2c9)](_0x52f295(0x597),()=>this['_send']({'type':0x1,'memberID':this[_0x52f295(0x240)],'unitIDs':Array[_0x52f295(0x537)](this[_0x52f295(0x472)])}));}[_0xb7df44(0x51a)](_0x160a98){const _0x4ebee3=_0xb7df44;switch(_0x160a98['type']){case 0x0:this['_handleJoinEvent'](_0x160a98);break;case 0x1:this['_handleLeaveEvent'](_0x160a98);break;case 0x2:this[_0x4ebee3(0x18d)](_0x160a98);break;}}['_handleJoinEvent'](_0x5ee748){const _0x4c62fd=_0xb7df44,{unitIDs:_0x155654,memberID:_0x26b444,isForwarded:_0xb73095}=_0x5ee748;_0x155654[_0x4c62fd(0x3d9)](_0x2ef863=>{const _0x17b4a5=_0x4c62fd;if(!_0xb73095&&this[_0x17b4a5(0x3c0)][_0x17b4a5(0x1df)](_0x2ef863)&&this[_0x17b4a5(0x3f8)](_0x2ef863)[_0x17b4a5(0x28b)](0x1),!this[_0x17b4a5(0x3c0)][_0x17b4a5(0x1df)](_0x2ef863)||!this['_unitOnClients']['get'](_0x2ef863)[_0x17b4a5(0x1df)](_0x26b444)){const _0x301414=this[_0x17b4a5(0x3c0)]['get'](_0x2ef863)||new Set();_0x301414[_0x17b4a5(0x364)](_0x26b444),this['_unitOnClients'][_0x17b4a5(0x1f3)](_0x2ef863,_0x301414),this[_0x17b4a5(0x21f)](_0x26b444);}}),_0xb73095||this[_0x4c62fd(0x449)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4c62fd(0x472)]],'isForwarded':!0x0});}[_0xb7df44(0x21f)](_0x322cd4){const _0x28a124=_0xb7df44;this['_removeClearOtherTimer'](_0x322cd4);const _0x5e479b=window['setTimeout'](()=>{const _0x16cafc=_0x16eb;this[_0x16cafc(0x3c0)]['forEach'](_0x342f06=>{const _0xb26bdc=_0x16cafc;_0x342f06[_0xb26bdc(0x37f)](_0x322cd4);});},ks*0x2);this[_0x28a124(0x41f)][_0x28a124(0x1f3)](_0x322cd4,_0x5e479b);}[_0xb7df44(0x297)](_0x1c32ae){const _0x585920=_0xb7df44;if(this['_clearOtherTimers']['has'](_0x1c32ae)){const _0x39ca56=this[_0x585920(0x41f)][_0x585920(0x339)](_0x1c32ae);_0x39ca56&&window[_0x585920(0x1b4)](_0x39ca56),this[_0x585920(0x41f)]['set'](_0x1c32ae,null);}}[_0xb7df44(0x38c)](_0x5c2db3){const _0x11875f=_0xb7df44,{memberID:_0x28bb03,unitIDs:_0x5c4dd8}=_0x5c2db3;_0x5c4dd8[_0x11875f(0x3d9)](_0x2b12c5=>{const _0x4fbc11=_0x11875f;var _0x3b5db2;const _0x46e8c7=this['_unitOnClients'][_0x4fbc11(0x339)](_0x2b12c5);_0x46e8c7&&(_0x46e8c7[_0x4fbc11(0x37f)](_0x28bb03),(_0x3b5db2=this['_ensureSubject'](_0x2b12c5))==null||_0x3b5db2[_0x4fbc11(0x28b)](_0x46e8c7[_0x4fbc11(0x548)]===0x0?0x0:0x1));}),this[_0x11875f(0x297)](_0x28bb03);}['_handleHeartbeatEvent'](_0x8791f9){const _0x497dc1=_0xb7df44;this[_0x497dc1(0x21f)](_0x8791f9[_0x497dc1(0x446)]);}[_0xb7df44(0x449)](_0x5188b2){const _0x4aa4=_0xb7df44;localStorage[_0x4aa4(0x18b)](Ws,JSON[_0x4aa4(0x41d)](_0x5188b2));}[_0xb7df44(0x1e1)](){const _0x4f524e=_0xb7df44;this[_0x4f524e(0x2b7)]=window[_0x4f524e(0x4aa)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},ks);}[_0xb7df44(0x3f8)](_0x29b190){const _0x3f433a=_0xb7df44;return this[_0x3f433a(0x54f)]['has'](_0x29b190)||this['_unitStatus'][_0x3f433a(0x1f3)](_0x29b190,new _0x230431(0x0)),this[_0x3f433a(0x54f)][_0x3f433a(0x339)](_0x29b190);}}var io=Object[_0xb7df44(0x441)],no=Object[_0xb7df44(0x250)],ro=(_0x4b654c,_0x372c57,_0xd8f01b,_0x415e9d)=>{const _0x3d1652=_0xb7df44;for(var _0x502ddd=_0x415e9d>0x1?void 0x0:_0x415e9d?no(_0x372c57,_0xd8f01b):_0x372c57,_0x130178=_0x4b654c[_0x3d1652(0x3f7)]-0x1,_0x277cbf;_0x130178>=0x0;_0x130178--)(_0x277cbf=_0x4b654c[_0x130178])&&(_0x502ddd=(_0x415e9d?_0x277cbf(_0x372c57,_0xd8f01b,_0x502ddd):_0x277cbf(_0x502ddd))||_0x502ddd);return _0x415e9d&&_0x502ddd&&io(_0x372c57,_0xd8f01b,_0x502ddd),_0x502ddd;},xt=(_0x40b5cc,_0x166aba)=>(_0x5a2248,_0x1dfa25)=>_0x166aba(_0x5a2248,_0x1dfa25,_0x40b5cc);let pt=class{constructor(_0x882a52,_0x4edfbe,_0x1ea9aa){const _0x2f5cc5=_0xb7df44;this[_0x2f5cc5(0x526)]=_0x882a52,this[_0x2f5cc5(0x242)]=_0x4edfbe,this[_0x2f5cc5(0x3fb)]=_0x1ea9aa;}[_0xb7df44(0x1ab)](_0x4d9fba){const _0x5b0f3e=_0xb7df44;this[_0x5b0f3e(0x480)](_0x4d9fba);}[_0xb7df44(0x3e0)](_0x3bf0a2){const _0x49d91d=_0xb7df44,{unitID:_0x20ce19}=_0x3bf0a2,{collaboration:_0xe08edd}=this['_docStateChangeManagerService']['getStateCache'](_0x20ce19);if(_0xe08edd[_0x49d91d(0x3f7)]===0x0)return _0x3bf0a2;let _0xe06376=_0xb81a94[_0x49d91d(0x463)](_0x3bf0a2[_0x49d91d(0x27c)][0x0]);for(let _0x19f186=0x0;_0x19f186<_0xe08edd[_0x49d91d(0x3f7)];_0x19f186++){const _0x1dca67={'id':_0x49d91d(0x4d7),'params':{'unitId':_0xe08edd[_0x19f186]['unitId'],..._0xe08edd[_0x19f186][_0x49d91d(0x54a)]}},_0x46b70e=this[_0x49d91d(0x242)][_0x49d91d(0x253)](_0xe06376,_0x1dca67,!0x1);if(_0x51b7ca(_0x46b70e))throw _0x46b70e['error'];_0xe06376=_0x46b70e[_0x49d91d(0x427)];}return{..._0xb81a94[_0x49d91d(0x463)](_0x3bf0a2),'mutations':[_0xe06376]};}[_0xb7df44(0x480)](_0x10d5bc){const _0x3288dc=_0xb7df44,{unitID:_0x1463fe}=_0x10d5bc,{history:_0x2a7acf,collaboration:_0x2be25d}=this[_0x3288dc(0x3fb)][_0x3288dc(0x190)](_0x1463fe);if(_0x2a7acf[_0x3288dc(0x3f7)]===0x0&&_0x2be25d[_0x3288dc(0x3f7)]===0x0)return;const _0x421fc9=[],_0x212dac=[];let _0x4fb802=_0xb81a94['deepClone'](_0x10d5bc[_0x3288dc(0x27c)][0x0]),_0x22b7d2=_0xb81a94[_0x3288dc(0x463)](_0x10d5bc[_0x3288dc(0x27c)][0x0]);for(let _0x8e0499=_0x2a7acf['length']-0x1;_0x8e0499>=0x0;_0x8e0499--){const _0x46f92b={'id':_0x3288dc(0x4d7),'params':{'unitId':_0x2a7acf[_0x8e0499][_0x3288dc(0x4ec)],..._0x2a7acf[_0x8e0499][_0x3288dc(0x287)]}},_0x4aead7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2a7acf[_0x8e0499][_0x3288dc(0x4ec)],..._0x2a7acf[_0x8e0499][_0x3288dc(0x54a)]}},_0x4e996d=this[_0x3288dc(0x242)][_0x3288dc(0x253)](_0x4fb802,_0x46f92b,!0x1),_0x2fe2ad=this[_0x3288dc(0x242)][_0x3288dc(0x253)](_0x22b7d2,_0x4aead7,!0x1);if(_0x51b7ca(_0x4e996d))throw _0x4e996d[_0x3288dc(0x1d7)];if(_0x51b7ca(_0x2fe2ad))throw _0x2fe2ad[_0x3288dc(0x1d7)];_0x421fc9[_0x3288dc(0x4f6)]({..._0x2a7acf[_0x8e0499],'undoState':_0x4e996d['m2Prime'][_0x3288dc(0x494)],'redoState':_0x2fe2ad[_0x3288dc(0x4f7)][_0x3288dc(0x494)]}),_0x4fb802=_0x4e996d[_0x3288dc(0x427)],_0x22b7d2=_0x2fe2ad[_0x3288dc(0x427)];}_0x4fb802=_0xb81a94['deepClone'](_0x10d5bc['mutations'][0x0]),_0x22b7d2=_0xb81a94[_0x3288dc(0x463)](_0x10d5bc[_0x3288dc(0x27c)][0x0]);for(let _0x48b0f3=_0x2be25d['length']-0x1;_0x48b0f3>=0x0;_0x48b0f3--){const _0x5c72bc={'id':_0x3288dc(0x4d7),'params':{'unitId':_0x2be25d[_0x48b0f3][_0x3288dc(0x4ec)],..._0x2be25d[_0x48b0f3][_0x3288dc(0x287)]}},_0x3add53={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2be25d[_0x48b0f3][_0x3288dc(0x4ec)],..._0x2be25d[_0x48b0f3][_0x3288dc(0x54a)]}},_0x5d81e4=this[_0x3288dc(0x242)][_0x3288dc(0x253)](_0x4fb802,_0x5c72bc,!0x1),_0x1e04c2=this[_0x3288dc(0x242)][_0x3288dc(0x253)](_0x22b7d2,_0x3add53,!0x1);if(_0x51b7ca(_0x5d81e4))throw _0x5d81e4[_0x3288dc(0x1d7)];if(_0x51b7ca(_0x1e04c2))throw _0x1e04c2[_0x3288dc(0x1d7)];_0x212dac[_0x3288dc(0x4f6)]({..._0x2be25d[_0x48b0f3],'undoState':_0x5d81e4[_0x3288dc(0x4f7)][_0x3288dc(0x494)],'redoState':_0x1e04c2[_0x3288dc(0x4f7)][_0x3288dc(0x494)]}),_0x4fb802=_0x5d81e4[_0x3288dc(0x427)],_0x22b7d2=_0x1e04c2[_0x3288dc(0x427)];}this[_0x3288dc(0x3fb)][_0x3288dc(0x2ea)](_0x1463fe,{'history':_0x421fc9,'collaboration':_0x212dac});}};pt=ro([xt(0x0,_0x380ba9(_0x41c43c)),xt(0x1,_0x5dcca2),xt(0x2,_0x380ba9(_0x844e78))],pt);function Pi(_0x263299){const _0x18c705=_0xb7df44;let _0x116ac7='';for(const _0x41064f of _0x263299){const {startOffset:_0x4f811b,endOffset:_0x57a642,isActive:_0x72a3e1,rangeType:_0x5f18b0,segmentId:_0x17cf03,segmentPage:_0x591942}=_0x41064f;_0x116ac7[_0x18c705(0x3f7)]&&(_0x116ac7+=','),_0x116ac7+=_0x4f811b+':'+_0x57a642+':'+(_0x72a3e1?'1':'0')+':'+_0x5f18b0+':'+_0x17cf03+':'+_0x591942;}return _0x116ac7;}function oo(_0x3c3f40){const _0x1f91a8=_0xb7df44,_0x6de752=_0x3c3f40['split'](','),_0x4b39f1=[];for(const _0x5f59a6 of _0x6de752){const [_0xc75c00,_0x49821c,_0x37f540,_0x342859,_0x31e9e2,_0x24a757]=_0x5f59a6['split'](':');_0x4b39f1[_0x1f91a8(0x1c5)]({'startOffset':Number(_0xc75c00),'endOffset':Number(_0x49821c),'collapsed':_0xc75c00===_0x49821c,'isActive':_0x37f540==='1','rangeType':_0x342859===_0x51d1cd[_0x1f91a8(0x40b)]?_0x51d1cd[_0x1f91a8(0x40b)]:_0x51d1cd[_0x1f91a8(0x4a0)],'segmentId':typeof _0x31e9e2==_0x1f91a8(0x22d)?String(_0x31e9e2):'','segmentPage':Number(_0x24a757!=null?_0x24a757:-0x1)});}return _0x4b39f1[_0x1f91a8(0x456)](_0x473c26=>_0x473c26[_0x1f91a8(0x2ed)])||(_0x4b39f1[0x0]['isActive']=!0x0),_0x4b39f1;}class Cs extends _0x3431ab{constructor(){const _0x3bf75f=_0xb7df44;super(...arguments),g(this,_0x3bf75f(0x1c2),new _0x230431(null)),g(this,_0x3bf75f(0x39a),this['_collabCursorState$'][_0x3bf75f(0x234)]());}['syncEditingCollabCursor'](_0x115bd0){const _0x52ed33=_0xb7df44,{unitID:_0x3b27d5,memberID:_0x463a5c,textRanges:_0x31537c}=_0x115bd0,_0x3fe4e0=Pi(_0x31537c);if(_0x3fe4e0==='')return;const _0x2c3155={'unitID':_0x3b27d5,'memberID':_0x463a5c,'selection':_0x3fe4e0};this[_0x52ed33(0x1c2)][_0x52ed33(0x28b)](_0x2c3155);}}var ao=Object[_0xb7df44(0x441)],co=Object[_0xb7df44(0x250)],ho=(_0x206138,_0x6adac6,_0x1e2189,_0xa77d6e)=>{const _0x101126=_0xb7df44;for(var _0xa583d7=_0xa77d6e>0x1?void 0x0:_0xa77d6e?co(_0x6adac6,_0x1e2189):_0x6adac6,_0x839bfa=_0x206138[_0x101126(0x3f7)]-0x1,_0x2cfc8b;_0x839bfa>=0x0;_0x839bfa--)(_0x2cfc8b=_0x206138[_0x839bfa])&&(_0xa583d7=(_0xa77d6e?_0x2cfc8b(_0x6adac6,_0x1e2189,_0xa583d7):_0x2cfc8b(_0xa583d7))||_0xa583d7);return _0xa77d6e&&_0xa583d7&&ao(_0x6adac6,_0x1e2189,_0xa583d7),_0xa583d7;},Fs=(_0x1c95ad,_0x2bd86d)=>(_0x2a1a6f,_0x264b64)=>_0x2bd86d(_0x2a1a6f,_0x264b64,_0x1c95ad);let gt=class{constructor(_0xe4b0c0,_0x42af4f){const _0x286a2b=_0xb7df44;this[_0x286a2b(0x526)]=_0xe4b0c0,this[_0x286a2b(0x242)]=_0x42af4f;}[_0xb7df44(0x206)](_0x3f366d){const _0x381cba=_0xb7df44;var _0x271192;const _0xd64788=this['_injector'][_0x381cba(0x339)](_0x44edfb),_0x17c556=(_0x271192=_0xd64788[_0x381cba(0x31c)]())!=null?_0x271192:[];if(_0x17c556[_0x381cba(0x3f7)]===0x0)return;const _0x38c644=[{'id':_0x381cba(0x4d7),'params':{'unitId':_0x3f366d[_0x381cba(0x37e)],'actions':null,'textRanges':_0x17c556}}],_0x7f8fcf=this[_0x381cba(0x242)][_0x381cba(0x3aa)](_0x3f366d,_0x38c644);if(!_0x3aa1c2(_0x7f8fcf))throw _0x7f8fcf[_0x381cba(0x1d7)];const _0x52119a=_0x7f8fcf[_0x381cba(0x4f7)][0x0][_0x381cba(0x494)][_0x381cba(0x233)];Array['isArray'](_0x52119a)&&_0x52119a[_0x381cba(0x3f7)]&&_0xd64788[_0x381cba(0x4d0)](_0x52119a,!0x1);}};gt=ho([Fs(0x0,_0x380ba9(_0x41c43c)),Fs(0x1,_0x5dcca2)],gt);const lo=new Set([_0x31efb2['id']]);function Vs(_0x3dfdde,_0x182791,_0x2e2f5f,_0xfa6ef6,_0x161aa3){const _0xb4d851=_0xb7df44;var _0x462959,_0x46205a,_0x22a462,_0x47aa18;const _0x4ae437=[];for(const _0x3c9bf0 of _0x3dfdde)if(lo[_0xb4d851(0x1df)](_0x3c9bf0['id'])){if(_0x4ae437[_0xb4d851(0x3f7)]>0x0)break;_0x4ae437[_0xb4d851(0x1c5)](_0x3c9bf0);break;}else _0x4ae437['push'](_0x3c9bf0);const _0x27d74f=(_0x46205a=(_0x462959=_0x161aa3[_0xb4d851(0x1e9)]())==null?void 0x0:_0x462959[_0xb4d851(0x270)])!=null?_0x46205a:_0xb4d851(0x417),_0x2e31a4=(_0x47aa18=(_0x22a462=_0x161aa3['getCurrentUser']())==null?void 0x0:_0x22a462['memberID'])!=null?_0x47aa18:_0xb4d851(0x417);return{'changeset':{'unitID':_0x182791,'type':_0xbdf5a1(_0x2e2f5f[_0xb4d851(0x308)](_0x182791)),'baseRev':_0xfa6ef6['getCurrentRevOfUnit'](_0x182791),'revision':0x0,'userID':_0x27d74f,'memberID':_0x2e31a4,'mutations':_0x4ae437},'pendingMutations':_0x3dfdde[_0xb4d851(0x230)](_0x4ae437[_0xb4d851(0x3f7)])};}function _o(_0x27c9f5,_0x3eb043,_0x55813f,_0x4373ad,_0x4dc474){const _0x442dd1=_0xb7df44;var _0x3989bd,_0x1e1f6e,_0x5cc64a,_0xba13d9;const _0xae7f0b=[_0x27c9f5[_0x442dd1(0x3d7)]((_0x5395a5,_0x4a653b)=>{const _0x4968dc=_0x442dd1;var _0x1c35cf;const {id:_0x574592}=_0x5395a5,{id:_0x1a75ba,type:_0x355e31}=_0x4a653b,_0x432752=(_0x1c35cf=_0x5395a5[_0x4968dc(0x494)])!=null?_0x1c35cf:{'actions':null},_0xd62483=_0x4a653b['params'];if(_0x574592&&_0x574592!==_0x1a75ba)throw new Error(_0x4968dc(0x3b3)+_0x574592+_0x4968dc(0x1dd)+_0x1a75ba+'.');return{..._0x5395a5,'id':_0x1a75ba,'type':_0x355e31,'params':{'unitId':_0xd62483[_0x4968dc(0x4ec)],'textRanges':_0xd62483[_0x4968dc(0x233)],'actions':_0x5821ee[_0x4968dc(0x2f0)](_0x432752[_0x4968dc(0x2b2)],_0xd62483[_0x4968dc(0x2b2)])}};},{})],_0x400ada=(_0x1e1f6e=(_0x3989bd=_0x4dc474[_0x442dd1(0x1e9)]())==null?void 0x0:_0x3989bd['userID'])!=null?_0x1e1f6e:_0x442dd1(0x417),_0x494c4d=(_0xba13d9=(_0x5cc64a=_0x4dc474[_0x442dd1(0x1e9)]())==null?void 0x0:_0x5cc64a['memberID'])!=null?_0xba13d9:_0x442dd1(0x417);return{'changeset':{'unitID':_0x3eb043,'type':_0xbdf5a1(_0x55813f[_0x442dd1(0x308)](_0x3eb043)),'baseRev':_0x4373ad['getCurrentRevOfUnit'](_0x3eb043),'revision':0x0,'userID':_0x400ada,'memberID':_0x494c4d,'mutations':_0xae7f0b},'pendingMutations':[]};}function Ui(_0x3fa435,_0x55cc1f){const _0xd1fbf8=_0xb7df44,_0x1ba20d=new _0x304899(0x1);return setTimeout(()=>_0x1ba20d[_0xd1fbf8(0x28b)](_0x55cc1f),_0x3fa435),_0x1ba20d[_0xd1fbf8(0x234)]()[_0xd1fbf8(0x51d)](_0x1b6c03(0x1));}const uo={'id':_0x4fe764['id'],'type':_0x41392e[_0xb7df44(0x4fc)],'params':{}};var fo=Object[_0xb7df44(0x441)],vo=Object[_0xb7df44(0x250)],Le=(_0x3a1ef3,_0x3ab41c,_0x590c12,_0x1d2909)=>{const _0x5f19a7=_0xb7df44;for(var _0x67dd34=_0x1d2909>0x1?void 0x0:_0x1d2909?vo(_0x3ab41c,_0x590c12):_0x3ab41c,_0x4daeeb=_0x3a1ef3[_0x5f19a7(0x3f7)]-0x1,_0x1f00fe;_0x4daeeb>=0x0;_0x4daeeb--)(_0x1f00fe=_0x3a1ef3[_0x4daeeb])&&(_0x67dd34=(_0x1d2909?_0x1f00fe(_0x3ab41c,_0x590c12,_0x67dd34):_0x1f00fe(_0x67dd34))||_0x67dd34);return _0x1d2909&&_0x67dd34&&fo(_0x3ab41c,_0x590c12,_0x67dd34),_0x67dd34;},A=(_0x1fc587,_0xd7dfbd)=>(_0x59091e,_0x30ee67)=>_0xd7dfbd(_0x59091e,_0x30ee67,_0x1fc587),J=(_0xbda4c9=>(_0xbda4c9['NOT_COLLAB']=_0xb7df44(0x558),_0xbda4c9[_0xb7df44(0x202)]=_0xb7df44(0x4dc),_0xbda4c9[_0xb7df44(0x28d)]=_0xb7df44(0x195),_0xbda4c9[_0xb7df44(0x52d)]=_0xb7df44(0x2e3),_0xbda4c9[_0xb7df44(0x3c8)]='awaiting_with_pending',_0xbda4c9[_0xb7df44(0x1c1)]=_0xb7df44(0x36e),_0xbda4c9[_0xb7df44(0x565)]=_0xb7df44(0x498),_0xbda4c9[_0xb7df44(0x4ed)]=_0xb7df44(0x43f),_0xbda4c9))(J||{});const Ni=0xea60;class $e{constructor(_0x2bac94,_0x18e6c6,_0x5584aa,_0x52fe82,_0x154054,_0x46db88,_0x18b676,_0x56c14b,_0x3237ba){const _0xcd6ddf=_0xb7df44;g(this,'_awaitingChangeset',null),g(this,_0xcd6ddf(0x458),[]),(this['unitID']=_0x2bac94,this['type']=_0x18e6c6,this[_0xcd6ddf(0x468)]=_0x154054,this['_commandService']=_0x46db88,this['_undoRedoService']=_0x18b676,this['_revisionService']=_0x56c14b,this[_0xcd6ddf(0x4ad)]=_0x3237ba,this[_0xcd6ddf(0x239)]=_0x5584aa,this[_0xcd6ddf(0x458)]=_0x52fe82);}[_0xb7df44(0x34e)](_0x10bbcd){const _0x57c7d8=_0xb7df44,_0xbc2277=this[_0x57c7d8(0x2b1)][_0x57c7d8(0x493)](this[_0x57c7d8(0x37e)]);return _0x10bbcd['revision']>_0xbc2277+0x1?(this[_0x57c7d8(0x468)][_0x57c7d8(0x442)]({'from':_0xbc2277,'to':_0x10bbcd[_0x57c7d8(0x193)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x535aa1){const _0x208e04=_0xb7df44;this['_undoRedoService'][_0x208e04(0x26f)](this[_0x208e04(0x37e)],_0x535aa1);}['_transformSelections'](_0x3d78e9){const _0x2ae6f2=_0xb7df44;var _0x5604d6,_0x479aef;(_0x479aef=(_0x5604d6=this[_0x2ae6f2(0x468)])[_0x2ae6f2(0x291)])==null||_0x479aef[_0x2ae6f2(0x4c9)](_0x5604d6,_0x3d78e9);}['_transformIMECache'](_0x2e3bff){const _0x5e4a13=_0xb7df44;var _0x13bd67,_0x408824;return(_0x408824=(_0x13bd67=this[_0x5e4a13(0x468)])[_0x5e4a13(0x2d9)])==null?void 0x0:_0x408824[_0x5e4a13(0x4c9)](_0x13bd67,_0x2e3bff);}[_0xb7df44(0x4a7)](_0x1b37e8){const _0x26f191=_0xb7df44;var _0x4ca8ec,_0x2d50d4;return(_0x2d50d4=(_0x4ca8ec=this[_0x26f191(0x468)])[_0x26f191(0x28a)])==null?void 0x0:_0x2d50d4[_0x26f191(0x4c9)](_0x4ca8ec,_0x1b37e8);}[_0xb7df44(0x2a2)](_0x1ca66c){const _0x434ef2=_0xb7df44;var _0x5a171c,_0x2dec76,_0x4bc7c6;return(_0x4bc7c6=(_0x2dec76=(_0x5a171c=this[_0x434ef2(0x468)])[_0x434ef2(0x54c)])==null?void 0x0:_0x2dec76[_0x434ef2(0x4c9)](_0x5a171c,_0x1ca66c))!=null?_0x4bc7c6:_0x1ca66c;}[_0xb7df44(0x4c1)](_0x26adcf){const _0x4e5ee2=_0xb7df44;var _0x22b271,_0x45432f,_0x13112a;return(_0x13112a=(_0x45432f=(_0x22b271=this[_0x4e5ee2(0x468)])[_0x4e5ee2(0x4bf)])==null?void 0x0:_0x45432f[_0x4e5ee2(0x4c9)](_0x22b271,_0x26adcf))!=null?_0x13112a:_0x26adcf;}[_0xb7df44(0x366)](_0x23c990){const _0x381ce8=_0xb7df44;var _0x7b667f,_0x2d4bae;if(this[_0x381ce8(0x1f8)]===ce[_0x381ce8(0x1cf)]){const {unitID:_0x35280c,mutations:_0x5befe2,memberID:_0x509aa0}=_0x23c990,_0x4c366b=_0x5befe2[0x0][_0x381ce8(0x494)][_0x381ce8(0x233)];Array[_0x381ce8(0x340)](_0x4c366b)&&_0x4c366b[_0x381ce8(0x3f7)]>0x0&&((_0x2d4bae=(_0x7b667f=this[_0x381ce8(0x468)])['onSyncEditingCollabCursor'])==null||_0x2d4bae['call'](_0x7b667f,{'unitID':_0x35280c,'memberID':_0x509aa0,'textRanges':_0x4c366b}));}}['_updateLocalCache'](){const _0x5c0e70=_0xb7df44;this['_localCacheService']['updateOfflineData'](this[_0x5c0e70(0x37e)],this[_0x5c0e70(0x1f8)],this['_awaitingChangeset'],this[_0x5c0e70(0x458)]);}[_0xb7df44(0x19b)](){const _0x27a1b6=_0xb7df44;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x27a1b6(0x37e)]);}[_0xb7df44(0x200)](){const _0x258f92=_0xb7df44;this[_0x258f92(0x2b1)][_0x258f92(0x40d)](this[_0x258f92(0x37e)]);}[_0xb7df44(0x3a5)](_0x2e2c9f){const _0x501533=_0xb7df44;var _0x58a6cd;let _0x5c864d=this[_0x501533(0x2a2)](_0x2e2c9f);_0x5c864d=this[_0x501533(0x4c1)](_0x5c864d);const _0x3affc7=_0x13d82a(_0x5c864d[_0x501533(0x27c)],this[_0x501533(0x4fd)],{'fromCollab':!0x0});if(!_0x3affc7[_0x501533(0x4be)])throw _0x3affc7[_0x501533(0x1d7)]instanceof Error?_0x3affc7[_0x501533(0x1d7)]:new Error((_0x58a6cd=_0x3affc7[_0x501533(0x1d7)])!=null?_0x58a6cd:_0x501533(0x222));this[_0x501533(0x4cf)](_0x5c864d),this[_0x501533(0x4a7)](_0x5c864d),this[_0x501533(0x48c)](_0x2e2c9f),this[_0x501533(0x283)](_0x5c864d),this[_0x501533(0x366)](_0x5c864d),this[_0x501533(0x200)]();}}let Fe=class extends $e{constructor(_0x5e4378,_0xce83fe,_0x2b0f98,_0x285601,_0x1eab7b,_0xaba02a,_0x6eb5aa,_0x33f4ba,_0x3c409c,_0x4b2ba8){const _0x526a9b=_0xb7df44;super(_0x5e4378,_0xce83fe,null,[],_0x2b0f98,_0x33f4ba,_0x6eb5aa,_0x285601,_0x1eab7b),g(this,_0x526a9b(0x50e),_0x526a9b(0x4dc)),(this['_injector']=_0xaba02a,this['_logService']=_0x3c409c,this[_0x526a9b(0x242)]=_0x4b2ba8);}[_0xb7df44(0x315)](_0x559183){const _0x4f53cb=_0xb7df44,_0x409830=this[_0x4f53cb(0x526)][_0x4f53cb(0x3fe)](pe,this[_0x4f53cb(0x37e)],this['type'],[_0x559183],this[_0x4f53cb(0x468)]);return _0x409830['_schedule'](),_0x409830[_0x4f53cb(0x407)](),_0x409830;}[_0xb7df44(0x2c3)](_0x4e1df6){const _0x255a9a=_0xb7df44;if(this[_0x255a9a(0x34e)](_0x4e1df6))return this[_0x255a9a(0x526)][_0x255a9a(0x3fe)](he,this[_0x255a9a(0x37e)],this['type'],null,[],null,[_0x4e1df6],this[_0x255a9a(0x468)]);try{const _0x10fe4d=this[_0x255a9a(0x242)][_0x255a9a(0x3aa)](_0x4e1df6,[uo]);if(_0x3aa1c2(_0x10fe4d)){const {c1Prime:_0x51de77}=_0x10fe4d;return this[_0x255a9a(0x3a5)](_0x51de77),this;}throw _0x10fe4d[_0x255a9a(0x1d7)];}catch(_0x2cbe98){return this['_logService']['error'](_0x2cbe98),this[_0x255a9a(0x246)](!0x1);}}[_0xb7df44(0x246)](_0x263fa1){const _0x5d8718=_0xb7df44;return this[_0x5d8718(0x526)]['createInstance'](Re,this['unitID'],this[_0x5d8718(0x1f8)],null,[],this['_handler'],_0x263fa1);}[_0xb7df44(0x591)](){const _0x269129=_0xb7df44;throw new Error(_0x269129(0x571));}[_0xb7df44(0x48b)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0xb7df44(0x50a)](){return this;}[_0xb7df44(0x38f)](){const _0x1a58b2=_0xb7df44;return this[_0x1a58b2(0x526)][_0x1a58b2(0x3fe)](ye,this[_0x1a58b2(0x37e)],this['type'],null,[],this[_0x1a58b2(0x468)]);}['toggleOnline'](){return this;}[_0xb7df44(0x579)](){const _0x5c6a89=_0xb7df44;throw new Error(_0x5c6a89(0x28e));}[_0xb7df44(0x37c)](){const _0x235d33=_0xb7df44,_0xdcd7ce=this[_0x235d33(0x2b1)][_0x235d33(0x493)](this[_0x235d33(0x37e)]);return this[_0x235d33(0x468)][_0x235d33(0x442)]({'from':_0xdcd7ce,'to':0x0}),this[_0x235d33(0x526)][_0x235d33(0x3fe)](he,this[_0x235d33(0x37e)],this[_0x235d33(0x1f8)],null,[],null,[],this[_0x235d33(0x468)]);}};Fe=Le([A(0x3,_0x380ba9(_0x2ab1a0)),A(0x4,_0x380ba9(q)),A(0x5,_0x380ba9(_0x41c43c)),A(0x6,_0x1bdd68),A(0x7,_0x461f8f),A(0x8,_0x23bd67),A(0x9,_0x5dcca2)],Fe);let pe=class extends $e{constructor(_0xeb495b,_0x29210d,_0x29b92e,_0x447e84,_0xe09d35,_0x5ba657,_0x3cc871,_0x2cf62a,_0x20317a,_0x534a9c,_0x519d2f,_0x33bfab,_0x3bfacc,_0x16e5c4){const _0x26bab0=_0xb7df44;super(_0xeb495b,_0x29210d,null,_0x29b92e,_0x447e84,_0x534a9c,_0x16e5c4,_0x5ba657,_0x3cc871),g(this,_0x26bab0(0x50e),'pending'),g(this,'_scheduleTimestamp',null),g(this,_0x26bab0(0x35c),null),(this[_0x26bab0(0x526)]=_0xe09d35,this[_0x26bab0(0x503)]=_0x2cf62a,this[_0x26bab0(0x362)]=_0x20317a,this['_configService']=_0x519d2f,this['_transformService']=_0x33bfab,this[_0x26bab0(0x3d6)]=_0x3bfacc);}[_0xb7df44(0x315)](_0x558197){const _0x48d84b=_0xb7df44;return this[_0x48d84b(0x458)][_0x48d84b(0x1c5)](_0x558197),this[_0x48d84b(0x407)](),this;}[_0xb7df44(0x2c3)](_0x21133f){const _0x58e84f=_0xb7df44;if(this[_0x58e84f(0x34e)](_0x21133f))return this['_clearScheduledTask'](),this[_0x58e84f(0x526)][_0x58e84f(0x3fe)](he,this[_0x58e84f(0x37e)],this[_0x58e84f(0x1f8)],null,this['_pendingMutations'],null,[_0x21133f],this['_handler']);try{const _0xb30b5d=this[_0x58e84f(0x242)][_0x58e84f(0x3aa)](_0x21133f,this[_0x58e84f(0x458)]);if(_0x3aa1c2(_0xb30b5d)){const {c1Prime:_0x51fe25,m2Prime:_0x56777a}=_0xb30b5d;this[_0x58e84f(0x3a5)](_0x51fe25);const _0x1f4049=this['_injector'][_0x58e84f(0x3fe)](pe,this[_0x58e84f(0x37e)],this[_0x58e84f(0x1f8)],_0x56777a,this[_0x58e84f(0x468)]);return this[_0x58e84f(0x4e1)](),_0x1f4049[_0x58e84f(0x551)](this[_0x58e84f(0x241)]?Math['max'](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this[_0x58e84f(0x412)]()),_0x1f4049;}throw _0xb30b5d[_0x58e84f(0x1d7)];}catch(_0x36d404){return this[_0x58e84f(0x362)]['error'](_0x36d404),this[_0x58e84f(0x246)](!0x1);}}[_0xb7df44(0x591)](){const _0x539cb9=_0xb7df44;throw new Error(_0x539cb9(0x4a8));}[_0xb7df44(0x48b)](){const _0x3eb9b6=_0xb7df44;throw new Error(_0x3eb9b6(0x2df));}[_0xb7df44(0x50a)](){return this;}[_0xb7df44(0x38f)](){const _0x2ad887=_0xb7df44;return this[_0x2ad887(0x4e1)](),this['_injector'][_0x2ad887(0x3fe)](ye,this[_0x2ad887(0x37e)],this[_0x2ad887(0x1f8)],null,this[_0x2ad887(0x458)],this['_handler']);}['toggleOnline'](){return this;}[_0xb7df44(0x551)](_0x46c955){const _0x2eac3b=_0xb7df44,_0x3d2394=_0x46c955!=null?_0x46c955:this['_getSendChangesetTimeout']();this[_0x2eac3b(0x241)]=new Date()[_0x2eac3b(0x367)](),this[_0x2eac3b(0x35c)]=window[_0x2eac3b(0x38a)](()=>{const _0x3a96b5=_0x2eac3b;this[_0x3a96b5(0x4e1)]();let _0x37975e=null;switch(this['type']){case ce['UNIVER_SHEET']:{_0x37975e=Vs(this[_0x3a96b5(0x458)],this[_0x3a96b5(0x37e)],this[_0x3a96b5(0x3d6)],this['_revisionService'],this['_memberService']);break;}case ce[_0x3a96b5(0x1cf)]:{this[_0x3a96b5(0x458)][_0x3a96b5(0x2cf)](_0x3e9f82=>_0x3e9f82['id']===_0x391680['id'])?_0x37975e=_o(this[_0x3a96b5(0x458)],this[_0x3a96b5(0x37e)],this[_0x3a96b5(0x3d6)],this[_0x3a96b5(0x2b1)],this[_0x3a96b5(0x503)]):_0x37975e=Vs(this[_0x3a96b5(0x458)],this[_0x3a96b5(0x37e)],this[_0x3a96b5(0x3d6)],this[_0x3a96b5(0x2b1)],this[_0x3a96b5(0x503)]);break;}default:throw new Error(_0x3a96b5(0x564)+this[_0x3a96b5(0x1f8)]+_0x3a96b5(0x25f));}const {changeset:_0x2af685,pendingMutations:_0x3c59c7}=_0x37975e;this['_handler'][_0x3a96b5(0x416)](_0x2af685);const _0x3df473=_0x3c59c7['length']?this[_0x3a96b5(0x526)][_0x3a96b5(0x3fe)](ge,this[_0x3a96b5(0x37e)],this[_0x3a96b5(0x1f8)],_0x2af685,_0x3c59c7,this[_0x3a96b5(0x468)],void 0x0):this[_0x3a96b5(0x526)][_0x3a96b5(0x3fe)](Te,this['unitID'],this['type'],_0x2af685,this[_0x3a96b5(0x468)]);_0x3df473[_0x3a96b5(0x407)](),this['_handler'][_0x3a96b5(0x22f)](this,_0x3df473);},_0x3d2394);}[_0xb7df44(0x412)](){const _0xe5f6e9=_0xb7df44;var _0x2753cc;const _0x5db943=this[_0xe5f6e9(0x216)]['getConfig'](ie);return(_0x2753cc=_0x5db943==null?void 0x0:_0x5db943[_0xe5f6e9(0x483)])!=null?_0x2753cc:cr;}[_0xb7df44(0x579)](){const _0x25fb40=_0xb7df44;throw new Error(_0x25fb40(0x3cb));}['_clearScheduledTask'](){const _0x18e933=_0xb7df44;this[_0x18e933(0x35c)]!=null&&(clearTimeout(this[_0x18e933(0x35c)]),this[_0x18e933(0x35c)]=null);}[_0xb7df44(0x246)](_0x413605){const _0x554082=_0xb7df44;return this['_clearScheduledTask'](),this[_0x554082(0x526)]['createInstance'](Re,this[_0x554082(0x37e)],this['type'],null,this['_pendingMutations'],this[_0x554082(0x468)],_0x413605);}};pe=Le([A(0x4,_0x380ba9(_0x41c43c)),A(0x5,_0x380ba9(_0x2ab1a0)),A(0x6,_0x380ba9(q)),A(0x7,_0x380ba9(Ne)),A(0x8,_0x23bd67),A(0x9,_0x461f8f),A(0xa,_0x25a779),A(0xb,_0x5dcca2),A(0xc,_0xf81bb9),A(0xd,_0x1bdd68)],pe);let Te=class extends $e{constructor(_0x167186,_0x53905a,_0x4efc7b,_0x1ac741,_0x387d89,_0x5cc1b4,_0xdeb937,_0x34f7f2,_0x5a4219,_0x2f93ab,_0x3dafdd){const _0x2139f9=_0xb7df44;super(_0x167186,_0x53905a,_0x4efc7b,[],_0x1ac741,_0x34f7f2,_0x3dafdd,_0x5cc1b4,_0xdeb937),g(this,_0x2139f9(0x50e),_0x2139f9(0x2e3)),g(this,_0x2139f9(0x326),0x0),g(this,'_resendTimer'),g(this,_0x2139f9(0x58b)),(this[_0x2139f9(0x526)]=_0x387d89,this[_0x2139f9(0x362)]=_0x5a4219,this[_0x2139f9(0x242)]=_0x2f93ab);}[_0xb7df44(0x315)](_0x842146){const _0x24f3fc=_0xb7df44;this[_0x24f3fc(0x4e1)]();const _0x3a0692=this[_0x24f3fc(0x526)][_0x24f3fc(0x3fe)](ge,this[_0x24f3fc(0x37e)],this[_0x24f3fc(0x1f8)],this['_awaitingChangeset'],[_0x842146],this[_0x24f3fc(0x468)],this[_0x24f3fc(0x595)]);return _0x3a0692[_0x24f3fc(0x407)](),_0x3a0692;}[_0xb7df44(0x2c3)](_0x4a45db){const _0x16af35=_0xb7df44;if(this[_0x16af35(0x34e)](_0x4a45db))return this['_clearScheduledTask'](),this['_injector'][_0x16af35(0x3fe)](he,this[_0x16af35(0x37e)],this[_0x16af35(0x1f8)],this[_0x16af35(0x239)],[],null,[_0x4a45db],this[_0x16af35(0x468)]);try{const _0x213ead=this[_0x16af35(0x242)]['transformChangesets']([_0x4a45db],[this[_0x16af35(0x239)]],!0x1);if(_0x2e9077(_0x213ead)){const {c1Prime:_0x4d97c3,c2Prime:_0x588abb}=_0x213ead;this[_0x16af35(0x3a5)](_0x4d97c3[0x0]),_0x588abb[0x0][_0x16af35(0x3cd)]=this[_0x16af35(0x19b)](),this[_0x16af35(0x4e1)]();const _0x1a8f53=this[_0x16af35(0x526)]['createInstance'](Te,this[_0x16af35(0x37e)],this['type'],_0x588abb[0x0],this[_0x16af35(0x468)]);return _0x1a8f53[_0x16af35(0x407)](),_0x1a8f53;}return this['_onConflict'](!0x1);}catch(_0x42712a){return this[_0x16af35(0x362)]['error'](_0x42712a),this[_0x16af35(0x246)](!0x1);}}[_0xb7df44(0x591)](_0x438aac){const _0x2f2c4a=_0xb7df44;this[_0x2f2c4a(0x4e1)]();const _0x274b86=this[_0x2f2c4a(0x2b1)][_0x2f2c4a(0x493)](this[_0x2f2c4a(0x37e)]);if(_0x438aac[_0x2f2c4a(0x193)]<_0x274b86-0x1)return this;if(this[_0x2f2c4a(0x34e)](_0x438aac))return this['_injector']['createInstance'](he,this[_0x2f2c4a(0x37e)],this[_0x2f2c4a(0x1f8)],null,[],this[_0x2f2c4a(0x239)],[],this[_0x2f2c4a(0x468)]);this[_0x2f2c4a(0x200)]();const _0x455788=this['_injector'][_0x2f2c4a(0x3fe)](Fe,this[_0x2f2c4a(0x37e)],this[_0x2f2c4a(0x1f8)],this[_0x2f2c4a(0x468)]);return _0x455788['_updateLocalCache'](),_0x455788;}['onRemoteRej'](_0x275872){const _0x4f12ca=_0xb7df44;return this[_0x4f12ca(0x246)](!!(_0x275872!=null&&_0x275872['isPermissionRej']));}[_0xb7df44(0x50a)](_0x244ad2){const _0x2094e1=_0xb7df44;return this[_0x2094e1(0x326)]>Ni?this['toggleOffline']():(this[_0x2094e1(0x595)]=Ui(this[_0x2094e1(0x326)],{'timeout':this[_0x2094e1(0x326)],'reqId':_0x244ad2[_0x2094e1(0x352)]}),this[_0x2094e1(0x58b)]=this[_0x2094e1(0x595)][_0x2094e1(0x41a)](({reqId:_0x217094,timeout:_0x45a761})=>{const _0x1b8860=_0x2094e1;this[_0x1b8860(0x229)](_0x217094,_0x45a761);}),this);}[_0xb7df44(0x38f)](){const _0x424312=_0xb7df44;return this[_0x424312(0x4e1)](),this['_injector'][_0x424312(0x3fe)](ye,this[_0x424312(0x37e)],this[_0x424312(0x1f8)],this['_awaitingChangeset'],[],this[_0x424312(0x468)]);}[_0xb7df44(0x4e5)](){return this;}['resend'](){const _0x532ae0=_0xb7df44;this[_0x532ae0(0x468)]['onSendChangeset'](this['_awaitingChangeset']);}[_0xb7df44(0x246)](_0x54fb40){const _0x46a4dd=_0xb7df44;return this[_0x46a4dd(0x4e1)](),this[_0x46a4dd(0x526)][_0x46a4dd(0x3fe)](Re,this[_0x46a4dd(0x37e)],this['type'],this[_0x46a4dd(0x239)],[],this[_0x46a4dd(0x468)],_0x54fb40);}['_resendWithTimeout'](_0x2b327d,_0x2ee584){const _0x9c6f96=_0xb7df44;var _0x4c4beb;_0x2b327d===((_0x4c4beb=this['_awaitingChangeset'])==null?void 0x0:_0x4c4beb[_0x9c6f96(0x352)])&&(this[_0x9c6f96(0x579)](),this[_0x9c6f96(0x326)]=_0x2ee584===0x0?0x3e8:_0x2ee584*0x2);}[_0xb7df44(0x4e1)](){const _0x4d0286=_0xb7df44;var _0x1a2a62;(_0x1a2a62=this[_0x4d0286(0x58b)])==null||_0x1a2a62[_0x4d0286(0x1d6)](),this[_0x4d0286(0x326)]=0x0;}};Te=Le([A(0x4,_0x380ba9(_0x41c43c)),A(0x5,_0x380ba9(_0x2ab1a0)),A(0x6,_0x380ba9(q)),A(0x7,_0x461f8f),A(0x8,_0x23bd67),A(0x9,_0x5dcca2),A(0xa,_0x1bdd68)],Te);let ge=class extends $e{constructor(_0x4cd9b4,_0x9ca61a,_0xb93a74,_0x5168d7,_0xa537ad,_0x46d277,_0x2c71fa,_0x1db2ef,_0x39e79d,_0x8ff2b0,_0xba70bb,_0x6dfc71,_0x5ec4af){const _0x1fdfdc=_0xb7df44;super(_0x4cd9b4,_0x9ca61a,_0xb93a74,_0x5168d7,_0xa537ad,_0x8ff2b0,_0x5ec4af,_0x1db2ef,_0x39e79d),g(this,'status',_0x1fdfdc(0x24f)),g(this,_0x1fdfdc(0x326),0x0),g(this,_0x1fdfdc(0x595)),g(this,_0x1fdfdc(0x58b)),(this['_injector']=_0x2c71fa,this[_0x1fdfdc(0x362)]=_0xba70bb,this[_0x1fdfdc(0x242)]=_0x6dfc71,_0x46d277&&(this['_resendTimer']=_0x46d277,this[_0x1fdfdc(0x58b)]=this['_resendTimer'][_0x1fdfdc(0x41a)](({reqId:_0x304a70,timeout:_0x5a22e7})=>{const _0x398612=_0x1fdfdc;this[_0x398612(0x229)](_0x304a70,_0x5a22e7);})));}[_0xb7df44(0x315)](_0x2fe1d2){const _0x5938e5=_0xb7df44;return this[_0x5938e5(0x458)][_0x5938e5(0x1c5)](_0x2fe1d2),this;}['onRemoteChangeset'](_0x44949b){const _0x40fe28=_0xb7df44;if(this['_checkMissing'](_0x44949b))return this[_0x40fe28(0x4e1)](),this[_0x40fe28(0x526)][_0x40fe28(0x3fe)](he,this[_0x40fe28(0x37e)],this[_0x40fe28(0x1f8)],this[_0x40fe28(0x239)],this[_0x40fe28(0x458)],null,[_0x44949b],this[_0x40fe28(0x468)]);try{const _0x414e19=this[_0x40fe28(0x242)]['transformChangesets']([_0x44949b],[this[_0x40fe28(0x239)]],!0x1);if(_0x2e9077(_0x414e19)){const {c1Prime:_0x40e2ce,c2Prime:_0x1b8d2f}=_0x414e19,_0x566158=this['_transformService']['transformMutationsWithChangeset'](_0x40e2ce[0x0],this['_pendingMutations']);if(_0x3aa1c2(_0x566158)){const {c1Prime:_0x118d96,m2Prime:_0x115d81}=_0x566158;return this[_0x40fe28(0x3a5)](_0x118d96),_0x1b8d2f[0x0][_0x40fe28(0x3cd)]=this[_0x40fe28(0x19b)](),this[_0x40fe28(0x4e1)](),this[_0x40fe28(0x526)][_0x40fe28(0x3fe)](ge,this[_0x40fe28(0x37e)],this['type'],_0x1b8d2f[0x0],_0x115d81,this[_0x40fe28(0x468)],void 0x0);}throw _0x566158[_0x40fe28(0x1d7)];}throw _0x414e19[_0x40fe28(0x1d7)];}catch(_0x338c6b){return this['_logService'][_0x40fe28(0x1d7)](_0x338c6b),this[_0x40fe28(0x246)](!0x1);}}['onRemoteAck'](_0x5d1b6d){const _0x8c1f2b=_0xb7df44;if(this[_0x8c1f2b(0x4e1)](),this[_0x8c1f2b(0x34e)](_0x5d1b6d))return this[_0x8c1f2b(0x526)]['createInstance'](he,this['unitID'],this[_0x8c1f2b(0x1f8)],null,this[_0x8c1f2b(0x458)],this[_0x8c1f2b(0x239)],[],this[_0x8c1f2b(0x468)]);this[_0x8c1f2b(0x200)]();const _0x5c6f31=this[_0x8c1f2b(0x526)]['createInstance'](pe,this[_0x8c1f2b(0x37e)],this['type'],this[_0x8c1f2b(0x458)],this[_0x8c1f2b(0x468)]);return _0x5c6f31['_schedule'](),_0x5c6f31[_0x8c1f2b(0x407)](),_0x5c6f31;}[_0xb7df44(0x48b)](_0x36d20c){const _0x4ab50b=_0xb7df44;return this[_0x4ab50b(0x246)](!!(_0x36d20c!=null&&_0x36d20c[_0x4ab50b(0x541)]));}[_0xb7df44(0x50a)](_0x56e374){const _0x29e1d0=_0xb7df44;return this[_0x29e1d0(0x326)]>Ni?this['toggleOffline']():(this['_resendTimer']=Ui(this[_0x29e1d0(0x326)],{'timeout':this[_0x29e1d0(0x326)],'reqId':_0x56e374[_0x29e1d0(0x352)]}),this[_0x29e1d0(0x58b)]=this[_0x29e1d0(0x595)]['subscribe'](({reqId:_0x368c46,timeout:_0x2664cc})=>{this['_resendWithTimeout'](_0x368c46,_0x2664cc);}),this);}[_0xb7df44(0x38f)](){const _0x3de70b=_0xb7df44;return this[_0x3de70b(0x4e1)](),this[_0x3de70b(0x526)][_0x3de70b(0x3fe)](ye,this[_0x3de70b(0x37e)],this['type'],this['_awaitingChangeset'],this[_0x3de70b(0x458)],this['_handler']);}['toggleOnline'](){return this;}[_0xb7df44(0x579)](){const _0x116763=_0xb7df44;this['_handler'][_0x116763(0x416)](this[_0x116763(0x239)]);}[_0xb7df44(0x246)](_0x1b1e07){const _0xc9268d=_0xb7df44;return this[_0xc9268d(0x4e1)](),this['_injector']['createInstance'](Re,this[_0xc9268d(0x37e)],this[_0xc9268d(0x1f8)],null,this['_pendingMutations'],this[_0xc9268d(0x468)],_0x1b1e07);}[_0xb7df44(0x229)](_0x1665e1,_0x9d0595){const _0x1731ed=_0xb7df44;var _0x4a2a3c;_0x1665e1===((_0x4a2a3c=this[_0x1731ed(0x239)])==null?void 0x0:_0x4a2a3c['reqId'])&&(this[_0x1731ed(0x579)](),this[_0x1731ed(0x326)]=_0x9d0595===0x0?0x3e8:_0x9d0595*0x2);}['_clearScheduledTask'](){const _0x28950b=_0xb7df44;var _0x38990a;(_0x38990a=this[_0x28950b(0x58b)])==null||_0x38990a[_0x28950b(0x1d6)](),this['_resendTimeout']=0x0;}};ge=Le([A(0x6,_0x380ba9(_0x41c43c)),A(0x7,_0x380ba9(_0x2ab1a0)),A(0x8,_0x380ba9(q)),A(0x9,_0x461f8f),A(0xa,_0x23bd67),A(0xb,_0x5dcca2),A(0xc,_0x1bdd68)],ge);let Re=class extends $e{constructor(_0x17fe4a,_0x28f78f,_0x5905c2,_0x2b170e,_0x5bf81f,_0x53dc32=!0x1,_0x335abc,_0x3bfdac,_0x504f7c,_0x49b18d,_0x29d49c,_0x203c26,_0x3fe250){const _0x37f5bf=_0xb7df44;super(_0x17fe4a,_0x28f78f,_0x5905c2,_0x2b170e,_0x5bf81f,_0x3bfdac,_0x504f7c,_0x29d49c,_0x49b18d),g(this,_0x37f5bf(0x50e),_0x37f5bf(0x498)),(this[_0x37f5bf(0x54b)]=_0x53dc32,this[_0x37f5bf(0x350)]=_0x335abc,this[_0x37f5bf(0x51b)]=_0x203c26,this[_0x37f5bf(0x554)]=_0x3fe250,this[_0x37f5bf(0x2bf)](),this[_0x37f5bf(0x3fc)](),this[_0x37f5bf(0x1f2)]());}[_0xb7df44(0x315)](){return this;}[_0xb7df44(0x2c3)](){return this;}[_0xb7df44(0x591)](){return this;}[_0xb7df44(0x48b)](){return this;}[_0xb7df44(0x50a)](){return this;}[_0xb7df44(0x38f)](){return this;}[_0xb7df44(0x4e5)](){return this;}['resend'](){const _0xa19f6c=_0xb7df44;throw new Error(_0xa19f6c(0x515));}[_0xb7df44(0x3fc)](){const _0x2233ad=_0xb7df44;this[_0x2233ad(0x4ad)][_0x2233ad(0x215)](this[_0x2233ad(0x37e)],this[_0x2233ad(0x1f8)],null,[]);}[_0xb7df44(0x2bf)](){const _0x36c94c=_0xb7df44;this['_isPermissionRej']?this[_0x36c94c(0x554)]['show']({'title':this[_0x36c94c(0x51b)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x36c94c(0x1d7),'duration':0x0}):this['_notificationService'][_0x36c94c(0x39d)]({'title':this[_0x36c94c(0x51b)]['t'](_0x36c94c(0x348)),'content':this[_0x36c94c(0x51b)]['t'](_0x36c94c(0x223)),'type':_0x36c94c(0x1d7),'duration':0x0});}['_disableEditing'](){const _0x14521f=_0xb7df44;this[_0x14521f(0x350)]['updatePermissionPoint'](new _0x44ab74(this[_0x14521f(0x37e)])['id'],!0x1);}};Re=Le([A(0x6,_0x380ba9(_0x60a8ad)),A(0x7,_0x461f8f),A(0x8,_0x1bdd68),A(0x9,_0x380ba9(q)),A(0xa,_0x380ba9(_0x2ab1a0)),A(0xb,_0x380ba9(_0x5ccb65)),A(0xc,_0x5829ef)],Re);let ye=class extends $e{constructor(_0x4f5b78,_0x23dc74,_0x64717b,_0x21e246,_0x5d5485,_0x19cf94,_0x26960f,_0x2d2bd4,_0x642243,_0x401372){const _0x257d9d=_0xb7df44;super(_0x4f5b78,_0x23dc74,_0x64717b,_0x21e246,_0x5d5485,_0x642243,_0x401372,_0x26960f,_0x2d2bd4),g(this,_0x257d9d(0x50e),'offline'),this[_0x257d9d(0x526)]=_0x19cf94;}[_0xb7df44(0x315)](_0x5ec2ea){const _0xf7afda=_0xb7df44;return this[_0xf7afda(0x458)]['push'](_0x5ec2ea),this[_0xf7afda(0x407)](),this;}['onRemoteChangeset'](_0x22ef29){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0xaf6646=_0xb7df44;throw new Error(_0xaf6646(0x268));}[_0xb7df44(0x48b)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0xb7df44(0x50a)](){return this;}[_0xb7df44(0x38f)](){return this;}[_0xb7df44(0x4e5)](){const {_injector:_0x2c9573,_pendingMutations:_0x4f7754,_awaitingChangeset:_0x398c00,unitID:_0x57a0ec,_handler:_0x30104e,type:_0x13a59e}=this,_0x54ce3f=Ai(_0x2c9573,_0x57a0ec,_0x13a59e,_0x398c00,_0x4f7754,_0x30104e);return _0x54ce3f instanceof pe?_0x54ce3f['_schedule']():(_0x54ce3f instanceof ge||_0x54ce3f instanceof Te)&&_0x54ce3f['resend'](),_0x54ce3f;}[_0xb7df44(0x579)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=Le([A(0x5,_0x380ba9(_0x41c43c)),A(0x6,_0x380ba9(_0x2ab1a0)),A(0x7,_0x380ba9(q)),A(0x8,_0x461f8f),A(0x9,_0x1bdd68)],ye);let he=class extends $e{constructor(_0x46df47,_0x152691,_0x4856da,_0xa4ba1f,_0x915003,_0x1d493a,_0x32d8e6,_0x392239,_0x22dfa7,_0x4bc779,_0x281934,_0x130919,_0x433ccc,_0x4445e5){const _0x4620a1=_0xb7df44;super(_0x46df47,_0x152691,_0x4856da,_0xa4ba1f,_0x32d8e6,_0x130919,_0x433ccc,_0x22dfa7,_0x4bc779),g(this,_0x4620a1(0x50e),_0x4620a1(0x36e)),(this[_0x4620a1(0x485)]=_0x915003,this[_0x4620a1(0x18a)]=_0x1d493a,this[_0x4620a1(0x526)]=_0x392239,this[_0x4620a1(0x362)]=_0x281934,this[_0x4620a1(0x242)]=_0x4445e5);}['onMissedChangesetFetched'](_0x283bdf){const _0x585c7e=_0xb7df44;try{const _0x4bf0ea=[..._0x283bdf,...this['_queuedRemoteChangesets']],_0x4e1052=[this[_0x585c7e(0x239)]||this[_0x585c7e(0x485)]][_0x585c7e(0x18e)](_0x3845be=>!!_0x3845be);let _0x320a29,_0x2c7f8c;if(_0x4e1052['length']){const _0x5a75a2=this['_transformService'][_0x585c7e(0x3af)](_0x4bf0ea,_0x4e1052,!0x1);if(!_0x2e9077(_0x5a75a2))throw _0x5a75a2['error'];_0x320a29=_0x5a75a2[_0x585c7e(0x201)],_0x2c7f8c=_0x5a75a2[_0x585c7e(0x34f)];}else _0x320a29=_0x4bf0ea,_0x2c7f8c=[];let _0x359c7e=this[_0x585c7e(0x458)];_0x320a29['forEach'](_0x493217=>{const _0x4a40ab=_0x585c7e;let _0xa1ee32;if(_0x359c7e['length']){const _0x26d37c=this['_transformService'][_0x4a40ab(0x3aa)](_0x493217,_0x359c7e);if(!_0x3aa1c2(_0x26d37c))throw _0x26d37c['error'];_0xa1ee32=_0x26d37c[_0x4a40ab(0x201)],_0x359c7e=_0x26d37c[_0x4a40ab(0x4f7)];}else _0xa1ee32=_0x493217;this['_executeRemoteChangeset'](_0xa1ee32);}),this[_0x585c7e(0x485)]&&this[_0x585c7e(0x200)](),this[_0x585c7e(0x239)]&&_0x2c7f8c[_0x585c7e(0x3f7)]&&(_0x2c7f8c[0x0][_0x585c7e(0x3cd)]=this[_0x585c7e(0x19b)]());let _0x289561;if(this[_0x585c7e(0x239)]&&_0x359c7e[_0x585c7e(0x3f7)]!==0x0)_0x289561=this['_injector'][_0x585c7e(0x3fe)](ge,this[_0x585c7e(0x37e)],this[_0x585c7e(0x1f8)],_0x2c7f8c[0x0],_0x359c7e,this[_0x585c7e(0x468)],void 0x0);else{if(this[_0x585c7e(0x239)]&&_0x359c7e[_0x585c7e(0x3f7)]===0x0)_0x2c7f8c[0x0][_0x585c7e(0x3cd)]=this[_0x585c7e(0x19b)](),_0x289561=this['_injector'][_0x585c7e(0x3fe)](Te,this[_0x585c7e(0x37e)],this[_0x585c7e(0x1f8)],_0x2c7f8c[0x0],this[_0x585c7e(0x468)]);else{if(_0x359c7e[_0x585c7e(0x3f7)]!==0x0){const _0x3229a7=this['_injector'][_0x585c7e(0x3fe)](pe,this[_0x585c7e(0x37e)],this['type'],_0x359c7e,this[_0x585c7e(0x468)]);_0x3229a7[_0x585c7e(0x551)](),_0x289561=_0x3229a7;}else _0x289561=this[_0x585c7e(0x526)][_0x585c7e(0x3fe)](Fe,this[_0x585c7e(0x37e)],this[_0x585c7e(0x1f8)],this[_0x585c7e(0x468)]);}}return _0x289561[_0x585c7e(0x407)](),_0x289561;}catch(_0x9c302e){return this['_logService'][_0x585c7e(0x1d7)](_0x585c7e(0x1bd),_0x585c7e(0x3b1),_0x9c302e),this[_0x585c7e(0x526)][_0x585c7e(0x3fe)](Re,this[_0x585c7e(0x37e)],this['type'],this[_0x585c7e(0x239)],this[_0x585c7e(0x458)],this['_handler'],!0x1);}}[_0xb7df44(0x579)](){const _0x55eaab=_0xb7df44;throw new Error(_0x55eaab(0x185));}[_0xb7df44(0x315)](_0x31baf0){const _0x573580=_0xb7df44;return this[_0x573580(0x458)][_0x573580(0x1c5)](_0x31baf0),this;}[_0xb7df44(0x2c3)](_0xff099){const _0x38c7be=_0xb7df44;return this['_queuedRemoteChangesets'][_0x38c7be(0x1c5)](_0xff099),this;}[_0xb7df44(0x591)](_0x1e000f){const _0x3f117b=_0xb7df44;if(this[_0x3f117b(0x239)])return this['_acknowledgedAwaitingChangeset']=this[_0x3f117b(0x239)],this['_awaitingChangeset']=null,this;throw new Error(_0x3f117b(0x298));}[_0xb7df44(0x48b)](_0x19cc0b){const _0x25a6f5=_0xb7df44;return this[_0x25a6f5(0x246)](!!(_0x19cc0b!=null&&_0x19cc0b['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0xb7df44(0x38f)](){const _0x410b45=_0xb7df44;return this['_injector'][_0x410b45(0x3fe)](ye,this[_0x410b45(0x37e)],this[_0x410b45(0x1f8)],this[_0x410b45(0x239)],this[_0x410b45(0x458)],this[_0x410b45(0x468)]);}[_0xb7df44(0x4e5)](){return this;}[_0xb7df44(0x246)](_0x995cef){const _0x59f762=_0xb7df44;return this[_0x59f762(0x526)][_0x59f762(0x3fe)](Re,this[_0x59f762(0x37e)],this[_0x59f762(0x1f8)],this[_0x59f762(0x239)],this[_0x59f762(0x458)],this[_0x59f762(0x468)],_0x995cef);}};he=Le([A(0x7,_0x380ba9(_0x41c43c)),A(0x8,_0x380ba9(_0x2ab1a0)),A(0x9,_0x380ba9(q)),A(0xa,_0x23bd67),A(0xb,_0x461f8f),A(0xc,_0x1bdd68),A(0xd,_0x5dcca2)],he);function Ai(_0x38b853,_0x5ac17f,_0xe7c90d,_0x382460,_0x41a092,_0xc28168){const _0x495907=_0xb7df44;return _0x382460&&_0x41a092[_0x495907(0x3f7)]?_0x38b853['createInstance'](ge,_0x5ac17f,_0xe7c90d,_0x382460,_0x41a092,_0xc28168,void 0x0):_0x382460?_0x38b853[_0x495907(0x3fe)](Te,_0x5ac17f,_0xe7c90d,_0x382460,_0xc28168):_0x41a092[_0x495907(0x3f7)]?_0x38b853[_0x495907(0x3fe)](pe,_0x5ac17f,_0xe7c90d,_0x41a092,_0xc28168):_0x38b853[_0x495907(0x3fe)](Fe,_0x5ac17f,_0xe7c90d,_0xc28168);}var mo=Object[_0xb7df44(0x441)],po=Object[_0xb7df44(0x250)],Es=(_0x22b575,_0x4c3861,_0x62083d,_0x30ea63)=>{const _0x516310=_0xb7df44;for(var _0x20f3fe=_0x30ea63>0x1?void 0x0:_0x30ea63?po(_0x4c3861,_0x62083d):_0x4c3861,_0x38f761=_0x22b575[_0x516310(0x3f7)]-0x1,_0xe6ae09;_0x38f761>=0x0;_0x38f761--)(_0xe6ae09=_0x22b575[_0x38f761])&&(_0x20f3fe=(_0x30ea63?_0xe6ae09(_0x4c3861,_0x62083d,_0x20f3fe):_0xe6ae09(_0x20f3fe))||_0x20f3fe);return _0x30ea63&&_0x20f3fe&&mo(_0x4c3861,_0x62083d,_0x20f3fe),_0x20f3fe;},H=(_0x557fdf,_0x1db937)=>(_0x1b95ce,_0x1ab8a7)=>_0x1db937(_0x1b95ce,_0x1ab8a7,_0x557fdf);let St=class extends _0x3431ab{constructor(_0x381fac,_0x5a7997,_0x321454,_0x1cf8d5,_0x2c9012,_0x5e3f0f,_0xc98a59,_0xc8d99b,_0x1aa3eb,_0x285e5e,_0xfee838,_0x187480,_0x1e08cc){const _0x2f9e36=_0xb7df44;super(),g(this,_0x2f9e36(0x1cc),new _0x230431(null)),g(this,_0x2f9e36(0x1fd),this[_0x2f9e36(0x1cc)][_0x2f9e36(0x234)]()),g(this,_0x2f9e36(0x243)),g(this,_0x2f9e36(0x1bc),!0x1),g(this,_0x2f9e36(0x245),''),g(this,_0x2f9e36(0x4e4),0x0),g(this,_0x2f9e36(0x281),this[_0x2f9e36(0x1fd)][_0x2f9e36(0x51d)](_0x28c6ba(_0x4ef38a=>_0x4ef38a?_0x4ef38a[_0x2f9e36(0x50e)]:J[_0x2f9e36(0x4ed)]),_0x1f5fb1(0x1))),g(this,_0x2f9e36(0x33c),!0x1),g(this,_0x2f9e36(0x2d3),[]),(this[_0x2f9e36(0x37e)]=_0x381fac,this[_0x2f9e36(0x422)]=_0x5a7997,this['_type']=_0x321454,this[_0x2f9e36(0x526)]=_0x1cf8d5,this[_0x2f9e36(0x4ad)]=_0x2c9012,this[_0x2f9e36(0x1ea)]=_0x5e3f0f,this[_0x2f9e36(0x51b)]=_0xc98a59,this[_0x2f9e36(0x2b1)]=_0xc8d99b,this[_0x2f9e36(0x362)]=_0x1aa3eb,this['_commandService']=_0x285e5e,this['_messageService']=_0xfee838,this[_0x2f9e36(0x350)]=_0x187480,this[_0x2f9e36(0x1d5)]=_0x1e08cc);}get['state'](){const _0x25066b=_0xb7df44;return this[_0x25066b(0x243)];}async[_0xb7df44(0x509)](){const _0x54c771=_0xb7df44;if(this[_0x54c771(0x2c4)])throw new Error(_0x54c771(0x303));await this[_0x54c771(0x4a2)]();}[_0xb7df44(0x3c4)](){return this['_collaborationPaused']=!0x0,_0x1ae8eb(()=>{const _0x52d996=_0x16eb;this[_0x52d996(0x1bc)]=!0x1,this[_0x52d996(0x33e)]();});}['_updateState'](_0x49c303){const _0x271866=_0xb7df44;this[_0x271866(0x243)]=_0x49c303,this[_0x271866(0x1cc)]['next'](_0x49c303);}async[_0xb7df44(0x4a2)](){const _0x1b1a90=_0xb7df44;var _0x5092d4;this[_0x1b1a90(0x31b)](await this['_createInitialState']()),this[_0x1b1a90(0x1d5)]&&((_0x5092d4=this[_0x1b1a90(0x1d5)])==null||_0x5092d4[_0x1b1a90(0x1c4)](this[_0x1b1a90(0x37e)]),this[_0x1b1a90(0x55a)](this[_0x1b1a90(0x1d5)][_0x1b1a90(0x371)](this[_0x1b1a90(0x37e)])['subscribe'](_0x3bfdfd=>{const _0x2dd9e8=_0x1b1a90;this['_logService'][_0x2dd9e8(0x20c)]('[CollaborationEntity]',_0x2dd9e8(0x545),_0x3bfdfd),_0x3bfdfd===Di[_0x2dd9e8(0x189)]?(this['_messageService'][_0x2dd9e8(0x39d)]({'content':this[_0x2dd9e8(0x51b)]['t'](_0x2dd9e8(0x555)),'type':_0x4bff77[_0x2dd9e8(0x2f4)]}),this['_permissionService'][_0x2dd9e8(0x2c2)](new _0x44ab74(this['unitID'])['id'],!0x1),this[_0x2dd9e8(0x350)][_0x2dd9e8(0x474)](!0x1)):(this[_0x2dd9e8(0x350)]['updatePermissionPoint'](new _0x44ab74(this[_0x2dd9e8(0x37e)])['id'],!0x0),this[_0x2dd9e8(0x350)][_0x2dd9e8(0x474)](!0x0));})));let _0x11ac6e=!0x1;return this[_0x1b1a90(0x55a)](this[_0x1b1a90(0x422)][_0x1b1a90(0x27b)][_0x1b1a90(0x41a)](_0x13b951=>{const _0x4e21e3=_0x1b1a90;_0x13b951===ve[_0x4e21e3(0x372)]?this['_toggleOnline'](_0x11ac6e):_0x13b951===ve[_0x4e21e3(0x4ed)]&&(_0x11ac6e=!0x0,this[_0x4e21e3(0x588)]());})),this[_0x1b1a90(0x55a)](this[_0x1b1a90(0x422)][_0x1b1a90(0x507)][_0x1b1a90(0x41a)](_0x32aabf=>{const _0x2c8574=_0x1b1a90;try{switch(_0x32aabf[_0x2c8574(0x306)]){case _0x5104a7['NEW_CHANGESETS']:{this[_0x2c8574(0x4fb)](_0x2feadd(_0x32aabf[_0x2c8574(0x32a)]));break;}case _0x5104a7[_0x2c8574(0x530)]:{this[_0x2c8574(0x279)](_0x32aabf['data']);break;}case _0x5104a7[_0x2c8574(0x231)]:{this[_0x2c8574(0x1a8)]();break;}case _0x5104a7[_0x2c8574(0x540)]:{this[_0x2c8574(0x319)](_0x32aabf['data']);break;}case _0x5104a7[_0x2c8574(0x491)]:{this[_0x2c8574(0x2ec)](_0x32aabf['data'][_0x2c8574(0x226)][_0x2c8574(0x2aa)](_0x512d67=>_0x2feadd(_0x512d67)));break;}case _0x5104a7[_0x2c8574(0x1d9)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x2da217){throw console[_0x2c8574(0x1d7)](_0x2c8574(0x586),_0x2da217),_0x2da217;}})),this[_0x1b1a90(0x243)];}['_unlockTransition'](){const _0x114088=_0xb7df44;this[_0x114088(0x33c)]=!0x1;}['_lockTransition'](){const _0x35cafb=_0xb7df44;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x35cafb(0x33c)]=!0x0;}[_0xb7df44(0x593)](_0x21cc13){const _0x6d2285=_0xb7df44;this[_0x6d2285(0x1d8)](),this['_updateState'](this['_state'][_0x6d2285(0x315)](_0x21cc13)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x2e9b84){const _0x2c8192=_0xb7df44;if(!(_0x2e9b84[_0x2c8192(0x193)]<=this[_0x2c8192(0x2b1)][_0x2c8192(0x493)](this['unitID']))){if(this[_0x2c8192(0x1bc)]){this[_0x2c8192(0x2d3)]['push'](_0x2e9b84);return;}this['_applyRemoteChangeset'](_0x2e9b84);}}['_exhaustRemoteChangesetQueue'](){const _0x39ad8f=_0xb7df44;this[_0x39ad8f(0x2d3)][_0x39ad8f(0x3d9)](_0x3e270a=>this[_0x39ad8f(0x2f9)](_0x3e270a)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x1aa61d){const _0x15d9fe=_0xb7df44,_0x1818cb=this[_0x15d9fe(0x1ea)][_0x15d9fe(0x351)]['fetchThroughInterceptors'](this[_0x15d9fe(0x1ea)][_0x15d9fe(0x351)][_0x15d9fe(0x401)]()[_0x15d9fe(0x1bf)])(_0x1aa61d[_0x15d9fe(0x27c)],null)||_0x1aa61d[_0x15d9fe(0x27c)],_0x1488ef={..._0x1aa61d,'mutations':_0x1818cb};this[_0x15d9fe(0x1d8)](),this[_0x15d9fe(0x31b)](this[_0x15d9fe(0x243)][_0x15d9fe(0x2c3)](_0x1488ef)),this[_0x15d9fe(0x207)]();}[_0xb7df44(0x279)](_0x37e9e8){const _0x45a0a3=_0xb7df44;this[_0x45a0a3(0x1d8)](),this[_0x45a0a3(0x31b)](this[_0x45a0a3(0x243)][_0x45a0a3(0x591)](_0x37e9e8)),this[_0x45a0a3(0x207)]();}['_onRemoteRejected'](_0x1e9269){const _0xe1c06c=_0xb7df44;this[_0xe1c06c(0x1d8)](),this['_updateState'](this[_0xe1c06c(0x243)][_0xe1c06c(0x48b)](_0x1e9269)),this[_0xe1c06c(0x207)]();}[_0xb7df44(0x319)](_0x3d5402){const _0x56e684=_0xb7df44;this[_0x56e684(0x1d8)](),this['_updateState'](this[_0x56e684(0x243)][_0x56e684(0x50a)](_0x3d5402)),this[_0x56e684(0x207)]();}[_0xb7df44(0x2ec)](_0xc69052){const _0x48b3d2=_0xb7df44;if(!(this['_state']instanceof he))throw new TypeError(_0x48b3d2(0x4b5));const _0x2c71bd=_0xc69052[_0x48b3d2(0x2aa)](_0x4ebc3a=>{const _0xa5610f=_0x48b3d2,_0x277ca6=this[_0xa5610f(0x1ea)][_0xa5610f(0x351)][_0xa5610f(0x4f4)](this['_compressMutationService']['interceptor'][_0xa5610f(0x401)]()[_0xa5610f(0x1bf)])(_0x4ebc3a[_0xa5610f(0x27c)],null)||_0x4ebc3a[_0xa5610f(0x27c)];return{..._0x4ebc3a,'mutations':_0x277ca6};});this[_0x48b3d2(0x1d8)](),this[_0x48b3d2(0x31b)](this['_state'][_0x48b3d2(0x4eb)](_0x2c71bd)),this[_0x48b3d2(0x207)]();}['_toggleOffline'](){const _0x34b50d=_0xb7df44;this[_0x34b50d(0x1d8)](),this[_0x34b50d(0x31b)](this[_0x34b50d(0x243)][_0x34b50d(0x38f)]()),this['_unlockTransition']();}[_0xb7df44(0x536)](_0x104888=!0x1){const _0xee4e4e=_0xb7df44;this['_lockTransition'](),this[_0xee4e4e(0x31b)](this[_0xee4e4e(0x243)]['toggleOnline']()),this['_unlockTransition']();const _0x2d5d23=this[_0xee4e4e(0x243)];_0x104888&&_0x2d5d23 instanceof Fe&&(this[_0xee4e4e(0x1d8)](),this[_0xee4e4e(0x31b)](_0x2d5d23[_0xee4e4e(0x37c)]()),this[_0xee4e4e(0x207)]());}async[_0xb7df44(0x438)](){return new Promise(_0x4a8547=>{const _0x40647e=_0x16eb;this[_0x40647e(0x422)][_0x40647e(0x27b)][_0x40647e(0x51d)](_0x1b6c03(0x1))[_0x40647e(0x41a)](async _0x5995c3=>{const _0x41b42d=_0x40647e;_0x4a8547(await this[_0x41b42d(0x282)](_0x5995c3===ve['ONLINE']));});});}[_0xb7df44(0x3d5)](){const _0x2f4371=_0xb7df44,_0x50f77e=this[_0x2f4371(0x37e)];return{'onStateChange':(_0x1400a6,_0x56e38a)=>{const _0x2577b0=_0x2f4371;if(_0x1400a6!==this[_0x2577b0(0x243)])throw new Error(_0x2577b0(0x1c9)+_0x1400a6[_0x2577b0(0x50e)]+_0x2577b0(0x4ce)+_0x56e38a[_0x2577b0(0x50e)]+_0x2577b0(0x566)+this[_0x2577b0(0x243)][_0x2577b0(0x50e)]);this[_0x2577b0(0x31b)](_0x56e38a);},'onSendChangeset':_0x2c2e2c=>{const _0x5e1148=_0x2f4371;_0x2c2e2c[_0x5e1148(0x1a4)]||(_0x2c2e2c[_0x5e1148(0x1a4)]=this[_0x5e1148(0x245)],_0x2c2e2c[_0x5e1148(0x352)]=++this[_0x5e1148(0x4e4)]);const _0x1ed579={'eventID':_0x5104a7[_0x5e1148(0x3ac)],'data':{'unitID':_0x2c2e2c[_0x5e1148(0x37e)],'unitType':this[_0x5e1148(0x3e9)],'changeset':_0x2c2e2c,'memberID':this[_0x5e1148(0x422)]['getMemberID']()}};this[_0x5e1148(0x422)]['send'](_0x1ed579,this[_0x5e1148(0x37e)]);},'onMissingChangesets':({from:_0x447d35,to:_0x31c8f9})=>{const _0x3d6e5c=_0x2f4371;this['_logService'][_0x3d6e5c(0x20c)](_0x3d6e5c(0x333),_0x3d6e5c(0x1a7)+_0x447d35+_0x3d6e5c(0x19c)+_0x31c8f9);const _0x486cdb={'eventID':_0x5104a7[_0x3d6e5c(0x28c)],'data':{'unitID':_0x50f77e,'unitType':this[_0x3d6e5c(0x3e9)],'from':_0x447d35,'to':_0x31c8f9}};this[_0x3d6e5c(0x422)][_0x3d6e5c(0x413)](_0x486cdb,this[_0x3d6e5c(0x37e)]);}};}async[_0xb7df44(0x282)](_0x3d3c0d){const _0x2d86ee=_0xb7df44;var _0x1e6ff3,_0x141284;const _0x3c12f2=await this[_0x2d86ee(0x4ad)][_0x2d86ee(0x492)](this[_0x2d86ee(0x37e)]),_0x3b831f=(_0x1e6ff3=_0x3c12f2==null?void 0x0:_0x3c12f2[_0x2d86ee(0x27c)])!=null?_0x1e6ff3:[],_0x32386d=(_0x141284=_0x3c12f2==null?void 0x0:_0x3c12f2['awaitingChangeset'])!=null?_0x141284:null,_0x1a7f19=!!(_0x32386d!=null&&_0x32386d['sid'])&&!!(_0x32386d!=null&&_0x32386d[_0x2d86ee(0x352)]);this[_0x2d86ee(0x245)]=_0x1a7f19?_0x32386d[_0x2d86ee(0x1a4)]:Gr(),this['_changesetReqId']=_0x1a7f19?_0x32386d[_0x2d86ee(0x352)]:0x0;const _0x53c4e1=this[_0x2d86ee(0x37e)];try{this[_0x2d86ee(0x4a9)](_0x32386d,_0x3b831f);}catch(_0x48c76e){this[_0x2d86ee(0x362)][_0x2d86ee(0x1d7)](_0x48c76e);}const _0x21aa34=this[_0x2d86ee(0x3d5)]();if(_0x3d3c0d){const _0x512e05=Ai(this[_0x2d86ee(0x526)],_0x53c4e1,this[_0x2d86ee(0x3e9)],_0x32386d,_0x3b831f,_0x21aa34);return _0x512e05 instanceof pe?_0x512e05['_schedule']():(_0x512e05 instanceof ge||_0x512e05 instanceof Te)&&_0x512e05[_0x2d86ee(0x579)](),_0x512e05;}return this['_injector']['createInstance'](ye,_0x53c4e1,this[_0x2d86ee(0x3e9)],_0x32386d,_0x3b831f,_0x21aa34);}[_0xb7df44(0x4a9)](_0x3f00da,_0x529515){const _0x4f2513=_0xb7df44;var _0x1ec7fe,_0x544662;const _0x5df481=this['_compressMutationService'][_0x4f2513(0x351)][_0x4f2513(0x4f4)](this[_0x4f2513(0x1ea)][_0x4f2513(0x351)][_0x4f2513(0x401)]()[_0x4f2513(0x1bf)]);(_0x1ec7fe=_0x5df481((_0x3f00da==null?void 0x0:_0x3f00da[_0x4f2513(0x27c)])||[],null))==null||_0x1ec7fe[_0x4f2513(0x3d9)](_0x407fc1=>this[_0x4f2513(0x4fd)][_0x4f2513(0x567)](_0x407fc1['id'],_0x407fc1[_0x4f2513(0x494)])),(_0x544662=_0x5df481(_0x529515||[],null))==null||_0x544662[_0x4f2513(0x3d9)](_0x4f16bc=>this[_0x4f2513(0x4fd)][_0x4f2513(0x567)](_0x4f16bc['id'],_0x4f16bc[_0x4f2513(0x494)]));}};St=Es([H(0x3,_0x380ba9(_0x41c43c)),H(0x4,_0x380ba9(q)),H(0x5,_0x380ba9(_0x56b491)),H(0x6,_0x380ba9(_0x5ccb65)),H(0x7,_0x380ba9(_0x2ab1a0)),H(0x8,_0x23bd67),H(0x9,_0x461f8f),H(0xa,_0xff713e),H(0xb,_0x60a8ad),H(0xc,_0xdde8b7(yt))],St);let ss=class extends St{constructor(_0x2193fa,_0x1e92b3,_0x150bae,_0x163e79,_0x2d972a,_0x1f9fa3,_0x33f192,_0x1daf11,_0x369068,_0x2660e8,_0x47d112,_0xc03048,_0xb83234,_0x3b9190,_0x5250d3,_0x5b7132,_0x1241b2,_0x16a9c5){const _0x3b7498=_0xb7df44;super(_0x2193fa,_0x150bae,_0x1e92b3,_0x163e79,_0x2d972a,_0x1f9fa3,_0x33f192,_0x1daf11,_0x3b9190,_0x5250d3,_0x5b7132,_0x1241b2,_0x16a9c5),this[_0x3b7498(0x37e)]=_0x2193fa,this['type']=_0x1e92b3,this['_docStateChangeManagerService']=_0x369068,this['_docTransformIMECacheService']=_0x2660e8,this[_0x3b7498(0x320)]=_0x47d112,this['_docTransformSelectionsService']=_0xc03048,this['_docSyncEditingCollabCursorService']=_0xb83234;}[_0xb7df44(0x3d5)](){const _0x1c1983=_0xb7df44,_0x18f508=super[_0x1c1983(0x3d5)]();return _0x18f508['onTransformIME']=_0x1e30a5=>this[_0x1c1983(0x398)][_0x1c1983(0x1e8)](_0x1e30a5),_0x18f508[_0x1c1983(0x28a)]=_0x5d42f0=>this[_0x1c1983(0x320)][_0x1c1983(0x1ab)](_0x5d42f0),_0x18f508['onTransformSelections']=_0xd46956=>this['_docTransformSelectionsService'][_0x1c1983(0x206)](_0xd46956),_0x18f508[_0x1c1983(0x383)]=_0x2abda9=>this[_0x1c1983(0x4ef)]['syncEditingCollabCursor'](_0x2abda9),_0x18f508[_0x1c1983(0x54c)]=_0x113e41=>this[_0x1c1983(0x398)][_0x1c1983(0x3e0)](_0x113e41),_0x18f508[_0x1c1983(0x4bf)]=_0x5adaf1=>this[_0x1c1983(0x320)][_0x1c1983(0x3e0)](_0x5adaf1),_0x18f508;}async[_0xb7df44(0x4a2)](){const _0x5110a4=_0xb7df44,_0x23bc8d=await super[_0x5110a4(0x4a2)]();return this[_0x5110a4(0x3fb)][_0x5110a4(0x214)][_0x5110a4(0x51d)](_0x5c3c82(this['dispose$']))[_0x5110a4(0x41a)](_0x250526=>{const _0x39441e=_0x5110a4;if(_0x250526==null)return;const {unitId:_0x2d57e7,redoState:_0x259a8c,commandId:_0x46a9f7}=_0x250526;if(_0x2d57e7!==this[_0x39441e(0x37e)])return;const _0x40420f={'id':_0x46a9f7,'type':_0x41392e[_0x39441e(0x4fc)],'params':{'unitId':_0x2d57e7,'actions':_0x259a8c[_0x39441e(0x2b2)],'textRanges':null}};this['_onLocalMutation'](_0x40420f);}),_0x23bc8d;}};ss=Es([H(0x3,_0x380ba9(_0x41c43c)),H(0x4,_0x380ba9(q)),H(0x5,_0x380ba9(_0x56b491)),H(0x6,_0x380ba9(_0x5ccb65)),H(0x7,_0x380ba9(_0x2ab1a0)),H(0x8,_0x380ba9(_0x844e78)),H(0x9,_0x380ba9(vt)),H(0xa,_0x380ba9(pt)),H(0xb,_0x380ba9(gt)),H(0xc,_0x380ba9(Cs)),H(0xd,_0x23bd67),H(0xe,_0x461f8f),H(0xf,_0xff713e),H(0x10,_0x60a8ad),H(0x11,_0xdde8b7(yt))],ss);let is=class extends St{constructor(_0x303afe,_0x270e8d,_0x2c7064,_0x5474ce,_0x2373ba,_0x5397de,_0x2b9cab,_0x5951dd,_0x5f631d,_0x40b8a6,_0x57d232,_0x4d50d3,_0x425ab2,_0x2756e2){const _0x2431ec=_0xb7df44;super(_0x303afe,_0x2c7064,_0x270e8d,_0x5474ce,_0x2373ba,_0x5397de,_0x2b9cab,_0x5951dd,_0x40b8a6,_0x57d232,_0x4d50d3,_0x425ab2,_0x2756e2),this[_0x2431ec(0x37e)]=_0x303afe,this[_0x2431ec(0x1f8)]=_0x270e8d,this[_0x2431ec(0x4ba)]=_0x5f631d;}[_0xb7df44(0x3d5)](){const _0x354900=_0xb7df44,_0x177c64=super['_createHandler']();return _0x177c64[_0x354900(0x291)]=_0x73b3e4=>this[_0x354900(0x4ba)][_0x354900(0x206)](_0x73b3e4),_0x177c64;}async['_init'](){const _0x2cd46a=_0xb7df44,_0x25f383=await super['_init']();return this[_0x2cd46a(0x55a)](this[_0x2cd46a(0x4fd)][_0x2cd46a(0x575)]((_0x39ddbe,_0x1dcc7d)=>{const _0x4d952b=_0x2cd46a;if(_0x39ddbe[_0x4d952b(0x1f8)]!==_0x41392e[_0x4d952b(0x4fc)]||_0x1dcc7d!=null&&_0x1dcc7d[_0x4d952b(0x405)]||_0x1dcc7d!=null&&_0x1dcc7d[_0x4d952b(0x504)])return;const _0x20b573=_0x39ddbe[_0x4d952b(0x494)];if((_0x20b573==null?void 0x0:_0x20b573[_0x4d952b(0x4ec)])!==this[_0x4d952b(0x37e)])return;const _0xe8185a=_0x39ddbe,_0x337e82=this[_0x4d952b(0x1ea)][_0x4d952b(0x351)][_0x4d952b(0x4f4)](this['_compressMutationService'][_0x4d952b(0x351)]['getInterceptPoints']()[_0x4d952b(0x3d2)])([_0xe8185a],null)||[_0xe8185a];this[_0x4d952b(0x593)](_0x337e82[0x0]);})),_0x25f383;}};is=Es([H(0x3,_0x380ba9(_0x41c43c)),H(0x4,_0x380ba9(q)),H(0x5,_0x380ba9(_0x56b491)),H(0x6,_0x380ba9(_0x5ccb65)),H(0x7,_0x380ba9(_0x2ab1a0)),H(0x8,_0x380ba9(mt)),H(0x9,_0x23bd67),H(0xa,_0x461f8f),H(0xb,_0xff713e),H(0xc,_0x60a8ad),H(0xd,_0xdde8b7(yt))],is);var go=Object['defineProperty'],So=Object[_0xb7df44(0x250)],Io=(_0x597538,_0x35c1e0,_0x4a0092,_0x50d423)=>{const _0x20d3ef=_0xb7df44;for(var _0x22cc82=_0x50d423>0x1?void 0x0:_0x50d423?So(_0x35c1e0,_0x4a0092):_0x35c1e0,_0x362fff=_0x597538[_0x20d3ef(0x3f7)]-0x1,_0xd01b13;_0x362fff>=0x0;_0x362fff--)(_0xd01b13=_0x597538[_0x362fff])&&(_0x22cc82=(_0x50d423?_0xd01b13(_0x35c1e0,_0x4a0092,_0x22cc82):_0xd01b13(_0x22cc82))||_0x22cc82);return _0x50d423&&_0x22cc82&&go(_0x35c1e0,_0x4a0092,_0x22cc82),_0x22cc82;},Lt=(_0x56151b,_0x536bb6)=>(_0x2924be,_0xd116f0)=>_0x536bb6(_0x2924be,_0xd116f0,_0x56151b);let it=class extends _0x3431ab{constructor(_0x1facdb,_0x28c55a,_0x43e491){const _0x45b7be=_0xb7df44;super(),g(this,_0x45b7be(0x381),new Map()),g(this,'_entityInit$',new _0xbbcc86()),(this['_injector']=_0x1facdb,this[_0x45b7be(0x49f)]=_0x28c55a,this['_univerInstanceService']=_0x43e491,this[_0x45b7be(0x4a2)]());}[_0xb7df44(0x211)](){const _0x355adf=_0xb7df44;super['dispose'](),this[_0x355adf(0x381)][_0x355adf(0x3d9)](_0xa65879=>_0xa65879['dispose']()),this[_0x355adf(0x381)]['clear']();}['getCollabEntity'](_0x484b2e){const _0x10df4a=_0xb7df44;var _0x363a73;return(_0x363a73=this[_0x10df4a(0x381)][_0x10df4a(0x339)](_0x484b2e))!=null?_0x363a73:null;}[_0xb7df44(0x3b9)](_0x3aa472){const _0x402c07=_0xb7df44,_0x3b4b13=this[_0x402c07(0x431)](_0x3aa472);return _0x3b4b13?_0x4a5a0f(_0x3b4b13):this['_entityInit$'][_0x402c07(0x51d)](_0x4620cd(_0xebdda4=>_0xebdda4[_0x402c07(0x37e)]===_0x3aa472));}[_0xb7df44(0x4a2)](){const _0x5d9ee6=_0xb7df44;this[_0x5d9ee6(0x3d6)][_0x5d9ee6(0x4a4)](_0x5d9c1d[_0x5d9ee6(0x37b)])[_0x5d9ee6(0x51d)](_0x5c3c82(this[_0x5d9ee6(0x561)]),_0x362969(0x10))['subscribe'](async _0x91811=>{const _0x205f57=_0x5d9ee6,_0xaf9a55=_0x91811[_0x205f57(0x432)](),_0x44a286=await this['_startCollaboration'](_0xaf9a55,ce[_0x205f57(0x37b)]);this[_0x205f57(0x381)][_0x205f57(0x1f3)](_0xaf9a55,_0x44a286);}),this['_univerInstanceService'][_0x5d9ee6(0x4a4)](_0x5d9c1d[_0x5d9ee6(0x1cf)])[_0x5d9ee6(0x51d)](_0x5c3c82(this['dispose$']),_0x362969(0x10))[_0x5d9ee6(0x51d)](_0x4620cd(_0x28d0d0=>!_0x28d0d0[_0x5d9ee6(0x432)]()['startsWith']('__')))[_0x5d9ee6(0x41a)](async _0x1b5086=>{const _0x51ad1f=_0x5d9ee6,_0x4a94b2=_0x1b5086[_0x51ad1f(0x432)](),_0x56c497=await this[_0x51ad1f(0x19f)](_0x4a94b2,ce[_0x51ad1f(0x1cf)]);this[_0x51ad1f(0x381)][_0x51ad1f(0x1f3)](_0x4a94b2,_0x56c497);}),_0x446ede(this[_0x5d9ee6(0x3d6)][_0x5d9ee6(0x4cd)](_0x5d9c1d[_0x5d9ee6(0x37b)]),this[_0x5d9ee6(0x3d6)][_0x5d9ee6(0x4cd)](_0x5d9c1d[_0x5d9ee6(0x1cf)]))[_0x5d9ee6(0x51d)](_0x5c3c82(this[_0x5d9ee6(0x561)]))['subscribe'](_0x3737bf=>{const _0xb2247d=_0x5d9ee6,_0x307ad2=_0x3737bf[_0xb2247d(0x432)](),_0x42f17f=this[_0xb2247d(0x381)][_0xb2247d(0x339)](_0x307ad2);_0x42f17f&&(_0x42f17f['dispose'](),this[_0xb2247d(0x381)][_0xb2247d(0x37f)](_0x307ad2));});}async['_startCollaboration'](_0x351b41,_0x1de22d){const _0x68b083=_0xb7df44,_0x4b17c2=await this['_collabSessionService'][_0x68b083(0x4d8)](_0x351b41),_0x4d4fc0=this[_0x68b083(0x526)][_0x68b083(0x3fe)](this[_0x68b083(0x386)](_0x1de22d),_0x351b41,_0x1de22d,_0x4b17c2);return await _0x4d4fc0['init'](),this[_0x68b083(0x457)][_0x68b083(0x28b)](_0x4d4fc0),_0x4d4fc0;}['_getCtorByUniverType'](_0x12d623){const _0x2e0a83=_0xb7df44;switch(_0x12d623){case ce[_0x2e0a83(0x1cf)]:return ss;case ce['UNIVER_SHEET']:return is;default:throw new Error(_0x2e0a83(0x531)+_0x12d623);}}};it=Io([Lt(0x0,_0x380ba9(_0x41c43c)),Lt(0x1,_0x380ba9(Ae)),Lt(0x2,_0xf81bb9)],it);const Gs=[_0xb7df44(0x589),_0xb7df44(0x475),_0xb7df44(0x2d5),_0xb7df44(0x428),_0xb7df44(0x264),'gold400'];class bs extends _0x55ef45{constructor(){const _0x5b0d19=_0xb7df44;super(...arguments),g(this,'_assignedColors',new Map()),g(this,_0x5b0d19(0x51e),0x0);}['assignAColorForMemberID'](_0x5d2345){const _0x4affdb=_0xb7df44;if(this[_0x4affdb(0x2c7)][_0x4affdb(0x1df)](_0x5d2345))return this[_0x4affdb(0x2c7)][_0x4affdb(0x339)](_0x5d2345);const _0x56c3cf=Gs[this['_colorIndex']];return this[_0x4affdb(0x51e)]=(this[_0x4affdb(0x51e)]+0x1)%Gs[_0x4affdb(0x3f7)],this[_0x4affdb(0x2c7)][_0x4affdb(0x1f3)](_0x5d2345,_0x56c3cf),_0x56c3cf;}}var Co=Object[_0xb7df44(0x441)],Eo=Object[_0xb7df44(0x250)],bo=(_0x1566ad,_0x4bde88,_0x3099e7,_0x2a2d5f)=>{const _0xffaacf=_0xb7df44;for(var _0x215bc7=_0x2a2d5f>0x1?void 0x0:_0x2a2d5f?Eo(_0x4bde88,_0x3099e7):_0x4bde88,_0x333dad=_0x1566ad[_0xffaacf(0x3f7)]-0x1,_0x5537dc;_0x333dad>=0x0;_0x333dad--)(_0x5537dc=_0x1566ad[_0x333dad])&&(_0x215bc7=(_0x2a2d5f?_0x5537dc(_0x4bde88,_0x3099e7,_0x215bc7):_0x5537dc(_0x215bc7))||_0x215bc7);return _0x2a2d5f&&_0x215bc7&&Co(_0x4bde88,_0x3099e7,_0x215bc7),_0x215bc7;},Oe=(_0xec208e,_0x2000e1)=>(_0x3ea330,_0x9d4f35)=>_0x2000e1(_0x3ea330,_0x9d4f35,_0xec208e);const To=0x12c,Ro=0x64;let ns=class extends _0x3431ab{constructor(_0x5c58d9,_0x2df1bc,_0x282cf9,_0x4987ae,_0x511ff5,_0x21113c,_0x4ca688,_0x514420,_0x2484ad){const _0x2fc174=_0xb7df44;super(),g(this,'_online',!0x1),g(this,'_init',!0x1),g(this,_0x2fc174(0x559),new _0x230431(new Map())),g(this,_0x2fc174(0x31e),this['_cursorInfo$'][_0x2fc174(0x234)]()),g(this,_0x2fc174(0x26c),new _0x230431([])),g(this,'roomMembers$',this[_0x2fc174(0x26c)]['pipe'](_0x2f2fee(To))),g(this,_0x2fc174(0x38b),_0x3a88e2(_0x2b89b0=>{const _0x32aa39=_0x2fc174,_0x5a61ad={'eventID':_0x5104a7[_0x32aa39(0x4b9)],'data':{'unitID':this['unitID'],'memberID':this[_0x32aa39(0x1f4)][_0x32aa39(0x1e7)](),'selection':Pi(_0x2b89b0)}};this[_0x32aa39(0x1f4)][_0x32aa39(0x413)](_0x5a61ad,this[_0x32aa39(0x37e)]);},Ro)),(this[_0x2fc174(0x37e)]=_0x5c58d9,this[_0x2fc174(0x1f4)]=_0x2df1bc,this[_0x2fc174(0x526)]=_0x282cf9,this[_0x2fc174(0x374)]=_0x4987ae,this[_0x2fc174(0x503)]=_0x511ff5,this[_0x2fc174(0x1d1)]=_0x21113c,this[_0x2fc174(0x242)]=_0x4ca688,this[_0x2fc174(0x3d6)]=_0x514420,this['_commandService']=_0x2484ad);}get[_0xb7df44(0x4d9)](){const _0x46464c=_0xb7df44;return this[_0x46464c(0x559)][_0x46464c(0x1b9)]();}get[_0xb7df44(0x36f)](){const _0x278c6f=_0xb7df44;return this[_0x278c6f(0x26c)][_0x278c6f(0x1b9)]();}[_0xb7df44(0x211)](){const _0x518645=_0xb7df44;super['dispose'](),this[_0x518645(0x559)][_0x518645(0x28b)](new Map()),this[_0x518645(0x559)]['complete'](),this[_0x518645(0x26c)][_0x518645(0x28b)]([]),this[_0x518645(0x26c)][_0x518645(0x225)]();}['init'](){const _0xa5f6e3=_0xb7df44;this[_0xa5f6e3(0x4a2)]||(this[_0xa5f6e3(0x4a2)]=!0x0,this[_0xa5f6e3(0x1f4)][_0xa5f6e3(0x27b)][_0xa5f6e3(0x51d)](_0x5c3c82(this[_0xa5f6e3(0x561)]))[_0xa5f6e3(0x41a)](_0xa212b6=>{const _0x193e77=_0xa5f6e3;_0xa212b6===ve[_0x193e77(0x372)]?this[_0x193e77(0x536)]():this['_toggleOffline']();}),this[_0xa5f6e3(0x1f4)][_0xa5f6e3(0x507)][_0xa5f6e3(0x51d)](_0x5c3c82(this[_0xa5f6e3(0x561)]))[_0xa5f6e3(0x41a)](_0x19f434=>{const _0x3638a4=_0xa5f6e3,_0x1ee4da=_0x19f434['eventID'];_0x1ee4da===_0x5104a7['UPDATE_CURSOR']&&this[_0x3638a4(0x205)](_0x19f434),_0x1ee4da===_0x5104a7['USERS_LEAVE']&&this[_0x3638a4(0x408)](_0x19f434);}),this[_0xa5f6e3(0x55a)](this[_0xa5f6e3(0x4fd)]['onCommandExecuted'](_0x192dc5=>{const _0x7c6130=_0xa5f6e3,_0x29d7ee=_0x192dc5[_0x7c6130(0x494)];_0x29d7ee!=null&&this[_0x7c6130(0x452)]&&_0x192dc5['id']===_0x39f0b9['id']&&_0x29d7ee[_0x7c6130(0x4ec)]===this[_0x7c6130(0x37e)]&&_0x29d7ee[_0x7c6130(0x45a)]===!0x1&&_0x29d7ee[_0x7c6130(0x4b4)][_0x7c6130(0x3f7)]>0x0&&this[_0x7c6130(0x38b)](_0x29d7ee['ranges']);})),this[_0xa5f6e3(0x1d1)][_0xa5f6e3(0x39a)]['pipe'](_0x5c3c82(this['dispose$']))['subscribe'](_0x1e1d83=>{const _0x3a65ae=_0xa5f6e3;if((_0x1e1d83==null?void 0x0:_0x1e1d83[_0x3a65ae(0x37e)])!==this[_0x3a65ae(0x37e)])return;const _0x50f033={'eventID':_0x5104a7[_0x3a65ae(0x4b9)],'data':_0x1e1d83};this['_onCursorUpdate'](_0x50f033);}),this[_0xa5f6e3(0x55a)](this[_0xa5f6e3(0x4fd)]['onCommandExecuted'](_0x2fb08f=>{const _0x395bfb=_0xa5f6e3;if(_0x2fb08f[_0x395bfb(0x494)]==null)return;const _0x59ece8=_0x2fb08f[_0x395bfb(0x494)];if(_0x2fb08f['id']!==_0x391680['id']||_0x59ece8[_0x395bfb(0x4ec)]!==this[_0x395bfb(0x37e)])return;const _0x3ae7db={'id':_0x395bfb(0x4d7),'params':_0x59ece8},_0x321868=this[_0x395bfb(0x4d9)];for(const [_0x304396,_0x179b18]of _0x321868){const _0x4ccbed={'id':_0x395bfb(0x4d7),'params':{'unitId':this[_0x395bfb(0x37e)],'actions':null,'textRanges':_0x179b18['ranges']}},_0x55e4ef=this[_0x395bfb(0x242)][_0x395bfb(0x253)](_0x3ae7db,_0x4ccbed,!0x1);if(_0x51b7ca(_0x55e4ef))throw _0x55e4ef[_0x395bfb(0x1d7)];_0x321868[_0x395bfb(0x1f3)](_0x304396,{..._0x179b18,'ranges':_0x55e4ef[_0x395bfb(0x4f7)][_0x395bfb(0x494)][_0x395bfb(0x233)]});}queueMicrotask(()=>{const _0x35e1d5=_0x395bfb;this[_0x35e1d5(0x559)][_0x35e1d5(0x28b)](_0x321868);});})));}[_0xb7df44(0x205)](_0xd4fe19){const _0x57a6f0=_0xb7df44;var _0x5a3037,_0x572167;const {memberID:_0x57898,selection:_0x5ace7b}=_0xd4fe19[_0x57a6f0(0x32a)],_0x36be1e=oo(_0x5ace7b),_0x3b5a69=(_0x572167=(_0x5a3037=this[_0x57a6f0(0x503)][_0x57a6f0(0x18c)](this[_0x57a6f0(0x37e)],_0x57898))==null?void 0x0:_0x5a3037['name'])!=null?_0x572167:_0x57a6f0(0x251),_0x3967f8={'color':this[_0x57a6f0(0x374)][_0x57a6f0(0x20e)](_0x57898),'name':_0x3b5a69,'ranges':_0x36be1e},_0x48a24b=this[_0x57a6f0(0x4d9)];_0x48a24b[_0x57a6f0(0x1f3)](_0x57898,_0x3967f8),this[_0x57a6f0(0x559)][_0x57a6f0(0x28b)](_0x48a24b);}[_0xb7df44(0x408)](_0x2fa516){const _0x494a9d=_0xb7df44,{memberID:_0x1de839}=_0x2fa516[_0x494a9d(0x32a)],_0xff4025=this['cursorInfo'];_0xff4025[_0x494a9d(0x37f)](_0x1de839),this[_0x494a9d(0x559)][_0x494a9d(0x28b)](_0xff4025);}[_0xb7df44(0x536)](){const _0x31a71d=_0xb7df44;var _0x2c117d;if(this[_0x31a71d(0x452)]=!0x0,((_0x2c117d=this[_0x31a71d(0x3d6)][_0x31a71d(0x1ae)]())==null?void 0x0:_0x2c117d[_0x31a71d(0x432)]())!==this['unitID'])return;const _0x42bd37=this[_0x31a71d(0x526)][_0x31a71d(0x339)](_0x44edfb)['getDocRanges']();Array[_0x31a71d(0x340)](_0x42bd37)&&_0x42bd37[_0x31a71d(0x3f7)]>0x0&&this['_updateLocalCursor'](_0x42bd37);}[_0xb7df44(0x588)](){const _0x549066=_0xb7df44;this[_0x549066(0x452)]=!0x1;}};ns=bo([Oe(0x2,_0x380ba9(_0x41c43c)),Oe(0x3,_0x380ba9(bs)),Oe(0x4,_0x380ba9(Ne)),Oe(0x5,_0x380ba9(Cs)),Oe(0x6,_0x5dcca2),Oe(0x7,_0xf81bb9),Oe(0x8,_0x461f8f)],ns);var yo=Object[_0xb7df44(0x441)],Oo=Object[_0xb7df44(0x250)],wo=(_0x2e4ace,_0x5d318f,_0x4efb31,_0x4f1e6b)=>{const _0x5ace90=_0xb7df44;for(var _0x38b409=_0x4f1e6b>0x1?void 0x0:_0x4f1e6b?Oo(_0x5d318f,_0x4efb31):_0x5d318f,_0x255bac=_0x2e4ace[_0x5ace90(0x3f7)]-0x1,_0x32b4a9;_0x255bac>=0x0;_0x255bac--)(_0x32b4a9=_0x2e4ace[_0x255bac])&&(_0x38b409=(_0x4f1e6b?_0x32b4a9(_0x5d318f,_0x4efb31,_0x38b409):_0x32b4a9(_0x38b409))||_0x38b409);return _0x4f1e6b&&_0x38b409&&yo(_0x5d318f,_0x4efb31,_0x38b409),_0x38b409;},Be=(_0x2d9bc3,_0x463d03)=>(_0x5c12d9,_0x2a3c80)=>_0x463d03(_0x5c12d9,_0x2a3c80,_0x2d9bc3);const Do=0x12c,Po=0x64,Uo=()=>{let _0x2c56e8=[],_0x450269=!0x1;return _0x4bd4b9=>{const _0x40d31c=_0x16eb;_0x2c56e8[_0x40d31c(0x1c5)](_0x4bd4b9),_0x450269||(_0x450269=!0x0,setTimeout(()=>{_0x2c56e8['forEach'](_0x193acb=>_0x193acb()),_0x2c56e8=[],_0x450269=!0x1;}));};};let rs=class extends _0x3431ab{constructor(_0x37bcba,_0x64761,_0x3194fc,_0x2fc50e,_0x3855e5,_0x3ddc03,_0x32897d,_0x444b73){const _0x4c45b5=_0xb7df44;super(),g(this,_0x4c45b5(0x452),!0x1),g(this,_0x4c45b5(0x4a2),!0x1),g(this,_0x4c45b5(0x559),new _0x230431(new Map())),g(this,_0x4c45b5(0x31e),this[_0x4c45b5(0x559)]['asObservable']()),g(this,_0x4c45b5(0x26c),new _0x230431([])),g(this,_0x4c45b5(0x4ae),this[_0x4c45b5(0x26c)][_0x4c45b5(0x51d)](_0x2f2fee(Do))),g(this,_0x4c45b5(0x38b),_0x3a88e2((_0x77d1cc,_0x46544f)=>{const _0x4ddd07=_0x4c45b5,_0x2d1be9={'eventID':_0x5104a7['UPDATE_CURSOR'],'data':{'unitID':this[_0x4ddd07(0x37e)],'memberID':this[_0x4ddd07(0x1f4)][_0x4ddd07(0x1e7)](),'selection':_0x4bbbc0(_0x77d1cc,_0x46544f[_0x4ddd07(0x4e9)])}};this[_0x4ddd07(0x1f4)]['send'](_0x2d1be9,this[_0x4ddd07(0x37e)]);},Po)),(this[_0x4c45b5(0x37e)]=_0x37bcba,this['_session']=_0x64761,this[_0x4c45b5(0x526)]=_0x3194fc,this[_0x4c45b5(0x374)]=_0x2fc50e,this['_memberService']=_0x3855e5,this['_univerInstanceService']=_0x3ddc03,this['_commandService']=_0x32897d,this[_0x4c45b5(0x2b3)]=_0x444b73);}get[_0xb7df44(0x4d9)](){const _0x5ac23a=_0xb7df44;return this[_0x5ac23a(0x559)][_0x5ac23a(0x1b9)]();}get[_0xb7df44(0x36f)](){const _0x3a284b=_0xb7df44;return this[_0x3a284b(0x26c)][_0x3a284b(0x1b9)]();}[_0xb7df44(0x211)](){const _0x4f2078=_0xb7df44;super[_0x4f2078(0x211)](),this[_0x4f2078(0x559)][_0x4f2078(0x28b)](new Map()),this[_0x4f2078(0x559)][_0x4f2078(0x225)](),this[_0x4f2078(0x26c)][_0x4f2078(0x28b)]([]),this[_0x4f2078(0x26c)][_0x4f2078(0x225)]();}[_0xb7df44(0x509)](){const _0x410991=_0xb7df44;this['_init']||(this['_init']=!0x0,this['_session'][_0x410991(0x27b)][_0x410991(0x51d)](_0x5c3c82(this['dispose$']))[_0x410991(0x41a)](_0x14ed59=>{const _0x5bcb7b=_0x410991;_0x14ed59===ve['ONLINE']?this[_0x5bcb7b(0x536)]():this['_toggleOffline']();}),this[_0x410991(0x1f4)][_0x410991(0x507)][_0x410991(0x51d)](_0x5c3c82(this[_0x410991(0x561)]))[_0x410991(0x41a)](_0x2c45b3=>{const _0x8a4adf=_0x410991,_0x546321=_0x2c45b3[_0x8a4adf(0x306)];_0x546321===_0x5104a7['UPDATE_CURSOR']&&this[_0x8a4adf(0x205)](_0x2c45b3),_0x546321===_0x5104a7[_0x8a4adf(0x20d)]&&this['_onCursorDelete'](_0x2c45b3);}),this[_0x410991(0x204)](),this[_0x410991(0x55a)](this[_0x410991(0x4fd)][_0x410991(0x575)](_0x527e9b=>{const _0x465757=_0x410991;if(this[_0x465757(0x452)]&&_0x527e9b['id']===_0x357bb7['id']&&_0x527e9b[_0x465757(0x494)]['unitId']===this[_0x465757(0x37e)]){const _0x5b4060=_0x527e9b['params'];this[_0x465757(0x38b)](_0x5b4060['subUnitId'],_0x5b4060[_0x465757(0x4ff)][0x0]);}})));}[_0xb7df44(0x205)](_0x2a8273){const _0x3a1d68=_0xb7df44;var _0x3c14da,_0x128625;const {memberID:_0x49e520,selection:_0x2127a0}=_0x2a8273[_0x3a1d68(0x32a)],{sheetName:_0x117f72,range:_0x687f1f}=_0x5d5ad4(_0x2127a0),_0x4270a6={'name':(_0x128625=(_0x3c14da=this[_0x3a1d68(0x503)][_0x3a1d68(0x18c)](this[_0x3a1d68(0x37e)],_0x49e520))==null?void 0x0:_0x3c14da['name'])!=null?_0x128625:_0x3a1d68(0x251),'range':this[_0x3a1d68(0x58a)](_0x117f72,_0x687f1f),'sheetID':_0x117f72,'color':this['_colorAssignService'][_0x3a1d68(0x20e)](_0x49e520),'selection':_0x2127a0},_0x3f477b=this[_0x3a1d68(0x4d9)];_0x3f477b[_0x3a1d68(0x1f3)](_0x49e520,_0x4270a6),this['_cursorInfo$'][_0x3a1d68(0x28b)](_0x3f477b);}[_0xb7df44(0x408)](_0x304e88){const _0x12c6c5=_0xb7df44,{memberID:_0x16fad4}=_0x304e88[_0x12c6c5(0x32a)],_0x3efa9e=this[_0x12c6c5(0x4d9)];_0x3efa9e[_0x12c6c5(0x37f)](_0x16fad4),this[_0x12c6c5(0x559)]['next'](_0x3efa9e);}[_0xb7df44(0x58a)](_0x4949fb,_0x14ea11){const _0x33eb5e=_0xb7df44;var _0x158fcc,_0x4a181d;const _0x828dbf=(_0x4a181d=(_0x158fcc=this[_0x33eb5e(0x3d6)][_0x33eb5e(0x307)](this[_0x33eb5e(0x37e)]))==null?void 0x0:_0x158fcc['getSheetBySheetId'](_0x4949fb))==null?void 0x0:_0x4a181d['getMergeData']();return(_0x828dbf==null?void 0x0:_0x828dbf[_0x33eb5e(0x2f1)](_0x395947=>_0x1d7a17[_0x33eb5e(0x29b)](_0x395947,_0x14ea11)))||_0x14ea11;}[_0xb7df44(0x204)](){const _0x5db892=_0xb7df44,_0x1afcd1=new _0x4eaacf(),_0x13dcc5=Uo(),_0x419052=()=>{const _0x1f9a1f=_0x16eb;_0x1afcd1[_0x1f9a1f(0x211)]();const _0x5ead83=(_0x393efc,_0x3533d1,_0x44ccff,_0x3b52f3)=>{const _0x542432=_0x1f9a1f;let _0x28bd60=[];switch(_0x393efc['id']){case _0x1a7f28[_0x542432(0x489)]:{_0x28bd60=_0x2d7739(_0x393efc,_0x3b52f3);break;}case _0x1a7f28[_0x542432(0x376)]:{_0x28bd60=_0x162252(_0x393efc,_0x3b52f3);break;}case _0x1a7f28[_0x542432(0x436)]:{_0x28bd60=_0x49e57a(_0x393efc,_0x3b52f3);break;}case _0x1a7f28[_0x542432(0x296)]:{_0x28bd60=_0x20ab19(_0x393efc,_0x3b52f3);break;}case _0x1a7f28[_0x542432(0x18f)]:{_0x28bd60=_0x363e7e(_0x393efc,_0x3b52f3);break;}case _0x1a7f28[_0x542432(0x58e)]:{_0x28bd60=_0x1c5b47(_0x393efc,_0x3b52f3);break;}case _0x1a7f28[_0x542432(0x43a)]:{_0x28bd60=_0x1babc8(_0x393efc,_0x3b52f3);break;}case _0x1a7f28[_0x542432(0x447)]:{_0x28bd60=_0x5c072d(_0x393efc,_0x3b52f3);break;}case _0x1a7f28[_0x542432(0x506)]:{_0x28bd60=_0x2e137c(_0x393efc,_0x3b52f3);break;}}const _0x2173bd=_0x12db2d(_0x28bd60,_0x3b52f3),_0x12e1aa=this[_0x542432(0x4d9)][_0x542432(0x339)](_0x3533d1);if(_0x12e1aa&&_0x2173bd){const _0x462246={..._0x12e1aa,'range':_0x2173bd};this[_0x542432(0x4d9)]['set'](_0x3533d1,_0x462246),_0x13dcc5(()=>{const _0x5d25ce=_0x542432,_0x543d37=this[_0x5d25ce(0x2b3)][_0x5d25ce(0x1de)](_0x2173bd,_0x59fb1f=>(_0x543d37[_0x5d25ce(0x211)](),_0x5ead83(_0x59fb1f,_0x3533d1,_0x44ccff,_0x2173bd)));_0x1afcd1['add'](_0x543d37);});}return{'redos':[],'undos':[]};};this[_0x1f9a1f(0x4d9)]['forEach']((_0x4efdf0,_0x391c35)=>{const _0x142b5b=_0x1f9a1f,{range:_0x157992,sheetID:_0x30c0fa}=_0x4efdf0,_0x59da50=this['_refRangeService'][_0x142b5b(0x1de)](_0x157992,_0x1efad2=>(_0x59da50[_0x142b5b(0x211)](),_0x5ead83(_0x1efad2,_0x391c35,_0x30c0fa,_0x157992)));_0x1afcd1[_0x142b5b(0x364)](_0x59da50);});};this['disposeWithMe'](_0x1ae8eb(this[_0x5db892(0x559)][_0x5db892(0x41a)](()=>{_0x419052();})));}[_0xb7df44(0x536)](){const _0x358d06=_0xb7df44;var _0x18e9f6,_0x42ecab;if(this[_0x358d06(0x452)]=!0x0,((_0x18e9f6=this[_0x358d06(0x3d6)]['getFocusedUnit']())==null?void 0x0:_0x18e9f6[_0x358d06(0x432)]())!==this[_0x358d06(0x37e)])return;const _0x356cb3=(_0x42ecab=this[_0x358d06(0x526)][_0x358d06(0x339)](_0x1412c1)[_0x358d06(0x44e)]())==null?void 0x0:_0x42ecab[0x0],_0x2fb786=this['_univerInstanceService'][_0x358d06(0x3dc)](_0x5d9c1d[_0x358d06(0x37b)])[_0x358d06(0x36d)]();_0x356cb3&&_0x2fb786&&this['_updateLocalCursor'](_0x2fb786[_0x358d06(0x40a)](),_0x356cb3);}['_toggleOffline'](){this['_online']=!0x1;}};rs=wo([Be(0x2,_0x380ba9(_0x41c43c)),Be(0x3,_0x380ba9(bs)),Be(0x4,_0x380ba9(Ne)),Be(0x5,_0xf81bb9),Be(0x6,_0x461f8f),Be(0x7,_0x380ba9(_0x53687c))],rs);var No=Object[_0xb7df44(0x441)],Ao=Object[_0xb7df44(0x250)],Mo=(_0x50e12f,_0x50636f,_0x237879,_0x5f413f)=>{const _0x499090=_0xb7df44;for(var _0x387c2f=_0x5f413f>0x1?void 0x0:_0x5f413f?Ao(_0x50636f,_0x237879):_0x50636f,_0x4bec88=_0x50e12f[_0x499090(0x3f7)]-0x1,_0x212b92;_0x4bec88>=0x0;_0x4bec88--)(_0x212b92=_0x50e12f[_0x4bec88])&&(_0x387c2f=(_0x5f413f?_0x212b92(_0x50636f,_0x237879,_0x387c2f):_0x212b92(_0x387c2f))||_0x387c2f);return _0x5f413f&&_0x387c2f&&No(_0x50636f,_0x237879,_0x387c2f),_0x387c2f;},$t=(_0xc9acab,_0x3ecc1e)=>(_0x424a61,_0x168cfd)=>_0x3ecc1e(_0x424a61,_0x168cfd,_0xc9acab);let Ve=class extends _0x3431ab{constructor(_0x62b99,_0x3742c7,_0x569e60){const _0x131c57=_0xb7df44;super(),g(this,_0x131c57(0x381),new Map()),g(this,_0x131c57(0x457),new _0xbbcc86()),(this['_univerInstanceService']=_0x62b99,this[_0x131c57(0x526)]=_0x3742c7,this[_0x131c57(0x49f)]=_0x569e60,this[_0x131c57(0x4a2)]());}[_0xb7df44(0x211)](){const _0x3ce088=_0xb7df44;super[_0x3ce088(0x211)](),this['_entityInit$'][_0x3ce088(0x225)](),this[_0x3ce088(0x381)][_0x3ce088(0x3d9)](_0x2e0478=>_0x2e0478[_0x3ce088(0x211)]());}['getCollabCursors$'](_0x4f97a3){const _0x26ec0f=_0xb7df44;return this[_0x26ec0f(0x381)][_0x26ec0f(0x1df)](_0x4f97a3)?this[_0x26ec0f(0x381)][_0x26ec0f(0x339)](_0x4f97a3)['cursorInfo$']:this[_0x26ec0f(0x457)][_0x26ec0f(0x51d)](_0x2b44ab(_0x413aca=>_0x413aca['unitID']===_0x4f97a3),_0x54d5d9(_0x3f23f8=>_0x3f23f8[_0x26ec0f(0x31e)]));}['_init'](){const _0x3ef35c=_0xb7df44;this[_0x3ef35c(0x3d6)][_0x3ef35c(0x4a4)](_0x5d9c1d['UNIVER_SHEET'])[_0x3ef35c(0x51d)](_0x5c3c82(this[_0x3ef35c(0x561)]))[_0x3ef35c(0x41a)](async _0x354b65=>{const _0x47ab71=_0x3ef35c,_0x3da481=_0x354b65[_0x47ab71(0x432)](),_0x2ccf9b=await this['_startSheetCollabCursor'](_0x3da481);this['_entityInit$']['next'](_0x2ccf9b),this[_0x47ab71(0x381)][_0x47ab71(0x1f3)](_0x3da481,_0x2ccf9b);}),this[_0x3ef35c(0x3d6)][_0x3ef35c(0x4a4)](_0x5d9c1d[_0x3ef35c(0x1cf)])[_0x3ef35c(0x51d)](_0x5c3c82(this[_0x3ef35c(0x561)]))[_0x3ef35c(0x51d)](_0x2b44ab(_0x3299d6=>!_0x3299d6[_0x3ef35c(0x432)]()[_0x3ef35c(0x419)]('__')))[_0x3ef35c(0x41a)](async _0x212968=>{const _0x351513=_0x3ef35c,_0x5eb32b=_0x212968[_0x351513(0x432)](),_0x30508c=await this[_0x351513(0x410)](_0x5eb32b);this[_0x351513(0x457)][_0x351513(0x28b)](_0x30508c),this[_0x351513(0x381)]['set'](_0x5eb32b,_0x30508c);}),_0x446ede(this[_0x3ef35c(0x3d6)]['getTypeOfUnitDisposed$'](_0x5d9c1d[_0x3ef35c(0x1cf)]),this['_univerInstanceService'][_0x3ef35c(0x4cd)](_0x5d9c1d[_0x3ef35c(0x37b)]))[_0x3ef35c(0x51d)](_0x5c3c82(this[_0x3ef35c(0x561)]))[_0x3ef35c(0x41a)](_0x2e2c14=>{const _0x4e96b8=_0x3ef35c,_0x242e87=_0x2e2c14[_0x4e96b8(0x432)](),_0x1a79bb=this[_0x4e96b8(0x381)]['get'](_0x242e87);_0x1a79bb&&(_0x1a79bb[_0x4e96b8(0x211)](),this[_0x4e96b8(0x381)][_0x4e96b8(0x37f)](_0x242e87));});}async[_0xb7df44(0x2f8)](_0x4fc8ba){const _0x1915c4=_0xb7df44,_0x544b3a=await this[_0x1915c4(0x49f)][_0x1915c4(0x4d8)](_0x4fc8ba),_0x385ace=this[_0x1915c4(0x526)][_0x1915c4(0x3fe)](rs,_0x4fc8ba,_0x544b3a);return _0x385ace[_0x1915c4(0x509)](),_0x385ace;}async[_0xb7df44(0x410)](_0x5f584d){const _0x71ef2e=_0xb7df44,_0x446c61=await this[_0x71ef2e(0x49f)][_0x71ef2e(0x4d8)](_0x5f584d),_0x41c17f=this['_injector'][_0x71ef2e(0x3fe)](ns,_0x5f584d,_0x446c61);return _0x41c17f[_0x71ef2e(0x509)](),_0x41c17f;}};Ve=Mo([$t(0x0,_0xf81bb9),$t(0x1,_0x380ba9(_0x41c43c)),$t(0x2,_0x380ba9(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0x499956,_0x182f18){const _0x2b65be=_0xb7df44;let {radius:_0x2ffd26,width:_0x5eb107,height:_0x33db55}=_0x182f18;_0x2ffd26=_0x2ffd26!=null?_0x2ffd26:0x0,_0x5eb107=_0x5eb107!=null?_0x5eb107:0x1e,_0x33db55=_0x33db55!=null?_0x33db55:0x1e;let _0x5b9cc0=0x0,_0x4dd22a=0x0,_0x109866=0x0;_0x5b9cc0=_0x4dd22a=_0x109866=Math['min'](_0x2ffd26,_0x5eb107/0x2,_0x33db55/0x2),_0x499956[_0x2b65be(0x4e6)](),_0x499956[_0x2b65be(0x278)](_0x5b9cc0,0x0),_0x499956[_0x2b65be(0x1c0)](_0x5eb107-_0x4dd22a,0x0),_0x499956['arc'](_0x5eb107-_0x4dd22a,_0x4dd22a,_0x4dd22a,Math['PI']*0x3/0x2,0x0,!0x1),_0x499956['lineTo'](_0x5eb107,_0x33db55-_0x109866),_0x499956[_0x2b65be(0x3ee)](_0x5eb107-_0x109866,_0x33db55-_0x109866,_0x109866,0x0,Math['PI']/0x2,!0x1),_0x499956['lineTo'](0x0,_0x33db55),_0x499956[_0x2b65be(0x1c0)](0x0,_0x5b9cc0),_0x499956['arc'](_0x5b9cc0,_0x5b9cc0,_0x5b9cc0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x499956[_0x2b65be(0x3bf)](),_0x182f18[_0x2b65be(0x2da)]&&(_0x499956['save'](),_0x499956['fillStyle']=_0x182f18[_0x2b65be(0x2da)],_0x182f18[_0x2b65be(0x373)]===_0x2b65be(0x4f3)?_0x499956[_0x2b65be(0x2da)]('evenodd'):_0x499956[_0x2b65be(0x2da)](),_0x499956['restore']());}class Ot extends _0x176759{constructor(_0x2e7b9e,_0x5ea0cd){const _0x5103d6=_0xb7df44;super(_0x2e7b9e,_0x5ea0cd),g(this,_0x5103d6(0x2e2)),g(this,_0x5103d6(0x368)),(this[_0x5103d6(0x2e2)]=_0x5ea0cd==null?void 0x0:_0x5ea0cd[_0x5103d6(0x2e2)],this[_0x5103d6(0x368)]=_0x5ea0cd==null?void 0x0:_0x5ea0cd[_0x5103d6(0x368)]);}static[_0xb7df44(0x23c)](_0x4ab0c7,_0x206daa){const _0x2ab49c=_0xb7df44,{text:_0x497694,color:_0x53ff4b}=_0x206daa;_0x4ab0c7[_0x2ab49c(0x220)](),_0x4ab0c7['font']=_0x2ab49c(0x32e);const _0x52bce3=_0x4ab0c7[_0x2ab49c(0x22c)](_0x497694)[_0x2ab49c(0x265)],_0x3abda0=Math['min'](_0x52bce3+0x2*Ht,Ys);Lo(_0x4ab0c7,{'height':nt,'radius':0x4,'width':_0x3abda0,'fill':_0x53ff4b,'evented':!0x1}),_0x4ab0c7[_0x2ab49c(0x3a3)]=_0x2ab49c(0x192);const _0x4ee148=Ht,_0x248fb8=nt-xo,_0x2f8316=Ys-0x2*Ht;if(_0x52bce3>_0x2f8316){let _0x5c1062='',_0x7bc335=0x0;for(const _0x40a3c5 of _0x497694){const _0x56ccc0=_0x4ab0c7['measureText'](_0x40a3c5)[_0x2ab49c(0x265)];if(_0x7bc335+_0x56ccc0<=_0x2f8316-_0x4ab0c7[_0x2ab49c(0x22c)]('...')[_0x2ab49c(0x265)])_0x5c1062+=_0x40a3c5,_0x7bc335+=_0x56ccc0;else{_0x5c1062+=_0x2ab49c(0x52b);break;}}_0x4ab0c7[_0x2ab49c(0x4c0)](_0x5c1062,_0x4ee148,_0x248fb8);}else _0x4ab0c7['fillText'](_0x497694,_0x4ee148,_0x248fb8);_0x4ab0c7[_0x2ab49c(0x248)]();}['_draw'](_0x141852){Ot['drawWith'](_0x141852,this);}}const jt='collab-text-anchor-',$o=_0xb7df44(0x2f3),Ho=_0xb7df44(0x1a0),Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko=_0xb7df44(0x3f6);class Ks{constructor(_0x4dcb04,_0xa87287,_0x85b21b,_0x577f42){const _0x5474cc=_0xb7df44;g(this,_0x5474cc(0x1f6),[]),g(this,_0x5474cc(0x465),null),g(this,_0x5474cc(0x325),null),g(this,_0x5474cc(0x244),null),g(this,_0x5474cc(0x186),null),g(this,_0x5474cc(0x302),null),(this[_0x5474cc(0x1e0)]=_0x4dcb04,this[_0x5474cc(0x43d)]=_0xa87287,this[_0x5474cc(0x1b1)]=_0x85b21b,this[_0x5474cc(0x583)]=_0x577f42,this[_0x5474cc(0x359)]());}set[_0xb7df44(0x3ca)](_0x2a43d5){const _0x445519=_0xb7df44;_0x2a43d5?(this[_0x445519(0x244)]&&this[_0x445519(0x244)][_0x445519(0x499)](),this[_0x445519(0x325)]&&this[_0x445519(0x325)][_0x445519(0x39d)]()):(this[_0x445519(0x244)]&&this[_0x445519(0x244)]['show'](),this['_textBubble']&&this['_textBubble'][_0x445519(0x499)]());}[_0xb7df44(0x211)](){const _0x4c1bb0=_0xb7df44;for(const _0x9b7333 of this[_0x4c1bb0(0x1f6)])_0x9b7333[_0x4c1bb0(0x211)]();this[_0x4c1bb0(0x325)]&&this[_0x4c1bb0(0x325)][_0x4c1bb0(0x211)](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this[_0x4c1bb0(0x465)]&&this[_0x4c1bb0(0x465)][_0x4c1bb0(0x211)](),this[_0x4c1bb0(0x302)]&&this[_0x4c1bb0(0x302)]();}[_0xb7df44(0x359)](){const _0x56fdbf=_0xb7df44;var _0x46e831;const {_docSkeleton:_0x3c8b48,_document:_0x45c5ff}=this,{color:_0x5c3d2e,name:_0x1f5652,ranges:_0x357d98}=this['_cursor'],_0x370f19=_0x45c5ff[_0x56fdbf(0x42f)](),{docsLeft:_0x45de2f,docsTop:_0x18db5e}=_0x370f19,_0x101bee=new _0x5d0814(_0x370f19,_0x3c8b48);for(const {startOffset:_0x325d4e,endOffset:_0x483953,rangeType:_0x585330,segmentId:_0x57da1b,segmentPage:_0x489209,collapsed:_0x14ea3b,isActive:_0x5e9be7}of _0x357d98){const _0x1c78bc=_0x3c8b48[_0x56fdbf(0x313)](_0x325d4e,!0x0,_0x57da1b,_0x489209);let _0x291581=_0x3c8b48[_0x56fdbf(0x313)](_0x483953,!0x0,_0x57da1b,_0x489209);if(_0x291581==null&&(_0x291581=_0x3c8b48[_0x56fdbf(0x313)](_0x483953-0x1,!0x1,_0x57da1b,_0x489209)),_0x5e9be7){const {contentBoxPointGroup:_0x4b7ab5}=_0x101bee[_0x56fdbf(0x330)](_0x291581,_0x291581);if(_0x4b7ab5['length']===0x0)continue;this[_0x56fdbf(0x4bb)](_0x5c3d2e,_0x4b7ab5,_0x45de2f,_0x18db5e,_0x1f5652),this[_0x56fdbf(0x302)]=this[_0x56fdbf(0x500)]();}if(!_0x14ea3b&&_0x1c78bc&&_0x291581){if(_0x585330===_0x51d1cd[_0x56fdbf(0x4a0)]){const _0x54e571=new _0x3321d3(_0x370f19,_0x3c8b48),{pointGroup:_0x1a2f94}=(_0x46e831=_0x54e571[_0x56fdbf(0x330)](_0x1c78bc,_0x291581))!=null?_0x46e831:{};if(_0x1a2f94==null||_0x1a2f94['length']===0x0)continue;this[_0x56fdbf(0x312)](_0x5c3d2e,_0x1a2f94,_0x45de2f,_0x18db5e);}else{const {borderBoxPointGroup:_0x1fb6f6}=_0x101bee['getRangePointData'](_0x1c78bc,_0x291581);if(_0x1fb6f6[_0x56fdbf(0x3f7)]===0x0)continue;this[_0x56fdbf(0x546)](_0x5c3d2e,_0x1fb6f6,_0x45de2f,_0x18db5e);}}}}['_drawAnchor'](_0x3a2920,_0x416b8d,_0x5bdbaa,_0x4928a3,_0x42f23b){const _0x38acd8=_0xb7df44,_0x8c0299=this[_0x38acd8(0x3dd)](_0x416b8d),{left:_0x322d7c,top:_0x1b6b9f,height:_0x236699}=_0x8c0299,_0xb2c117=this[_0x38acd8(0x596)](),_0x165c95=Bo/_0xb2c117,_0x33dfc6=new _0xfbec4b(jt+_0xb81a94[_0x38acd8(0x4a3)](Je),{'left':_0x322d7c+_0x5bdbaa-_0x165c95,'top':_0x1b6b9f+_0x4928a3,'height':_0x236699,'width':jo,'fill':_0x3a2920||_0x479e33(_0x5799c6[_0x38acd8(0x25c)],0x0),'strokeWidth':_0x165c95,'stroke':ko,'evented':!0x0});this[_0x38acd8(0x465)]=_0x33dfc6,this['_scene']['addObject'](_0x33dfc6,_0x14c12f);const _0x5aca26=new _0xfbec4b(jt+_0xb81a94[_0x38acd8(0x4a3)](Je),{'left':_0x322d7c+_0x5bdbaa-_0x165c95,'top':_0x1b6b9f+_0x4928a3-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x3a2920||_0x479e33(_0x5799c6[_0x38acd8(0x25c)],0x0),'strokeWidth':0x0,'stroke':_0x3a2920||_0x479e33(_0x5799c6['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x5aca26,this['_scene'][_0x38acd8(0x418)](_0x5aca26,_0x14c12f);const _0x1f84fa=new Ot(jt+_0xb81a94[_0x38acd8(0x4a3)](Je),{'left':_0x322d7c+_0x5bdbaa-_0x165c95,'top':_0x1b6b9f+_0x4928a3-nt,'text':_0x42f23b,'color':_0x3a2920});this['_textBubble']=_0x1f84fa,this[_0x38acd8(0x43d)][_0x38acd8(0x418)](_0x1f84fa,_0x14c12f),this[_0x38acd8(0x3ca)]=!0x1;}[_0xb7df44(0x500)](){const _0x16a8b9=_0xb7df44,_0x341c4f=this[_0x16a8b9(0x465)][_0x16a8b9(0x3ef)][_0x16a8b9(0x1db)](()=>{const _0x5e0877=_0x16a8b9;this[_0x5e0877(0x3ca)]=!0x0;}),_0x53579=this[_0x16a8b9(0x465)][_0x16a8b9(0x24a)]['subscribeEvent'](()=>{const _0x46e10b=_0x16a8b9;this[_0x46e10b(0x186)]&&clearTimeout(this[_0x46e10b(0x186)]),this[_0x46e10b(0x186)]=setTimeout(()=>{const _0x1ce751=_0x46e10b;this[_0x1ce751(0x3ca)]=!0x1;},0x7d0);});return()=>{const _0x52214e=_0x16a8b9;_0x341c4f[_0x52214e(0x1d6)](),_0x53579[_0x52214e(0x1d6)]();};}[_0xb7df44(0x546)](_0xffbdd6,_0xaccf8c,_0x3c207e,_0x3d4b9a){const _0x1043bf=_0xb7df44,_0x67d506=new _0x2b46cd(_0xffbdd6)[_0x1043bf(0x2bd)](0.2)['toRgbString'](),_0x36cfcd=new _0x45525f($o+_0xb81a94[_0x1043bf(0x4a3)](Je),{'pointsGroup':_0xaccf8c,'fill':_0x67d506||_0x479e33(_0x5799c6[_0x1043bf(0x25c)],0.2),'left':_0x3c207e,'top':_0x3d4b9a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1043bf(0x1f6)][_0x1043bf(0x1c5)](_0x36cfcd),this[_0x1043bf(0x43d)][_0x1043bf(0x418)](_0x36cfcd,_0x14c12f);}['_drawRectRange'](_0x24a2af,_0x18d94e,_0x15507d,_0x36311f){const _0x5e7d93=_0xb7df44,_0x19d74b=new _0x2b46cd(_0x24a2af)[_0x5e7d93(0x2bd)](0.2)['toRgbString'](),_0x2a2a94=new _0x45525f(Ho+_0xb81a94['generateRandomId'](Je),{'pointsGroup':_0x18d94e,'fill':_0x19d74b||_0x479e33(_0x5799c6[_0x5e7d93(0x25c)],0.2),'left':_0x15507d,'top':_0x36311f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5e7d93(0x1f6)][_0x5e7d93(0x1c5)](_0x2a2a94),this['_scene'][_0x5e7d93(0x418)](_0x2a2a94,_0x14c12f);}[_0xb7df44(0x3dd)](_0x515194){const _0x78a57e=_0x515194[0x0],_0x36e62e=_0x78a57e[0x0],_0x3cd192=_0x78a57e[0x2],{x:_0x5baec5,y:_0x355a1d}=_0x36e62e,{x:_0x1b5239,y:_0x193e79}=_0x3cd192;return{'left':_0x5baec5,'top':_0x355a1d,'width':_0x1b5239-_0x5baec5,'height':_0x193e79-_0x355a1d};}[_0xb7df44(0x596)](){const _0x149778=_0xb7df44,{scaleX:_0xb56a41,scaleY:_0x525e03}=this[_0x149778(0x43d)][_0x149778(0x3d0)]();return Math[_0x149778(0x332)](_0xb56a41,_0x525e03);}}var Wo=Object['defineProperty'],Fo=Object[_0xb7df44(0x250)],Vo=(_0x1b437b,_0x268139,_0x1b89fc,_0x4af129)=>{const _0x102e9e=_0xb7df44;for(var _0x464675=_0x4af129>0x1?void 0x0:_0x4af129?Fo(_0x268139,_0x1b89fc):_0x268139,_0x42ebe1=_0x1b437b[_0x102e9e(0x3f7)]-0x1,_0x2fec8d;_0x42ebe1>=0x0;_0x42ebe1--)(_0x2fec8d=_0x1b437b[_0x42ebe1])&&(_0x464675=(_0x4af129?_0x2fec8d(_0x268139,_0x1b89fc,_0x464675):_0x2fec8d(_0x464675))||_0x464675);return _0x4af129&&_0x464675&&Wo(_0x268139,_0x1b89fc,_0x464675),_0x464675;},ht=(_0x4a127a,_0x1f939a)=>(_0x3302f7,_0x1510f7)=>_0x1f939a(_0x3302f7,_0x1510f7,_0x4a127a);let os=class extends _0x3431ab{constructor(_0x49c0f9,_0x216948,_0x275736,_0x585bca,_0x352032){const _0x392528=_0xb7df44;super(),g(this,_0x392528(0x289),[]),g(this,'_cursors',[]),(this[_0x392528(0x4b6)]=_0x49c0f9,this[_0x392528(0x2fe)]=_0x216948,this[_0x392528(0x549)]=_0x275736,this['_commandService']=_0x585bca,this[_0x392528(0x3ec)]=_0x352032,this['_init']());}[_0xb7df44(0x4a2)](){const _0x1629c5=_0xb7df44,_0x367661=this[_0x1629c5(0x4b6)][_0x1629c5(0x4ec)],_0x28b840=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x31796e([this[_0x1629c5(0x549)][_0x1629c5(0x347)](_0x367661),this['_themeService']['currentTheme$']])[_0x1629c5(0x51d)](_0x41a95e(([_0x4f4c1e,_0x500eb1])=>({'skeleton':_0x28b840[_0x1629c5(0x39c)](),'cursors':[..._0x4f4c1e[_0x1629c5(0x252)]()][_0x1629c5(0x1ee)](_0x108b16=>({..._0x108b16,'color':_0x500eb1[_0x108b16['color']]}))})))[_0x1629c5(0x41a)](_0x31f509=>{const _0x57396e=_0x1629c5;if(this[_0x57396e(0x440)](),_0x31f509){const {skeleton:_0x13a365,cursors:_0x2c0fef}=_0x31f509;this['_updateCollabCursors'](_0x13a365,_0x2c0fef);}})),this['_initResize'](),this[_0x1629c5(0x1b7)]();}[_0xb7df44(0x1ef)](_0x4fdc91,_0x2afc16){const _0x22318=_0xb7df44,{scene:_0x588067,mainComponent:_0x4cc18d}=this['_context'],_0x3c5427=_0x2afc16[_0x22318(0x2aa)](_0x33d100=>new Ks(_0x33d100,_0x588067,_0x4fdc91,_0x4cc18d));this[_0x22318(0x289)]=_0x3c5427,this[_0x22318(0x183)]=_0x2afc16;}[_0xb7df44(0x58f)](){const _0x555b9e=_0xb7df44;this[_0x555b9e(0x440)]();const {scene:_0x1acc4a,mainComponent:_0x3bbc14}=this[_0x555b9e(0x4b6)],_0x14d43b=this[_0x555b9e(0x2fe)]['getSkeleton'](),_0x256f1f=this[_0x555b9e(0x183)][_0x555b9e(0x2aa)](_0x58a7d0=>new Ks(_0x58a7d0,_0x1acc4a,_0x14d43b,_0x3bbc14));this[_0x555b9e(0x289)]=_0x256f1f;}[_0xb7df44(0x440)](){const _0x5c46ba=_0xb7df44;this[_0x5c46ba(0x289)][_0x5c46ba(0x3d9)](_0x105385=>_0x105385['dispose']()),this[_0x5c46ba(0x289)]=[];}['_initCommandExecutedListener'](){const _0x37ad16=_0xb7df44,_0x480086=[_0x46e832['id']];this[_0x37ad16(0x55a)](this['_commandService']['onCommandExecuted'](_0x48e832=>{const _0x30a39b=_0x37ad16;_0x480086[_0x30a39b(0x29a)](_0x48e832['id'])&&_0x48e832['params'][_0x30a39b(0x4ec)]===this[_0x30a39b(0x4b6)][_0x30a39b(0x4ec)]&&this[_0x30a39b(0x58f)]();}));}[_0xb7df44(0x19a)](){const _0x2e6afd=_0xb7df44;this[_0x2e6afd(0x55a)](_0x13d8c1(this[_0x2e6afd(0x4b6)][_0x2e6afd(0x464)][_0x2e6afd(0x488)])[_0x2e6afd(0x51d)](_0x4620cd(_0x47e88a=>_0x47e88a[_0x2e6afd(0x1f8)]===_0x4237c6[_0x2e6afd(0x395)]),_0x51a6bc(0x10))['subscribe'](()=>{const _0x10a592=_0x2e6afd;this[_0x10a592(0x58f)]();}));}};os=Vo([ht(0x1,_0x380ba9(_0x5d5172)),ht(0x2,_0x380ba9(Ve)),ht(0x3,_0x461f8f),ht(0x4,_0x380ba9(_0x3a8de9))],os);const Go=0x1,Yo=1.5;class Ko extends _0x176759{constructor(_0x23ea6d,_0x5342e3){const _0xd595e6=_0xb7df44;super(_0x23ea6d,_0x5342e3),g(this,'_color'),g(this,'_hovered',!0x1),g(this,_0xd595e6(0x3f9)),g(this,_0xd595e6(0x2a9),''),g(this,_0xd595e6(0x4f1),_0xd595e6(0x527)),g(this,'_backgroundColor'),(_0x5342e3&&this[_0xd595e6(0x592)](_0x5342e3),this[_0xd595e6(0x3ef)][_0xd595e6(0x1db)](()=>this[_0xd595e6(0x592)]({'hovered':!0x0})),this['onPointerLeave$'][_0xd595e6(0x1db)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0xb7df44(0x592)](_0x1e61d1){const _0x11d6e3=_0xb7df44;var _0x45f0c9,_0x59ce3b,_0x429604,_0x519135,_0x58acee,_0x2d479b;this['_color']=(_0x45f0c9=_0x1e61d1[_0x11d6e3(0x2e2)])!=null?_0x45f0c9:this[_0x11d6e3(0x335)],this[_0x11d6e3(0x30b)]=(_0x59ce3b=_0x1e61d1['hovered'])!=null?_0x59ce3b:this[_0x11d6e3(0x30b)],this[_0x11d6e3(0x3f9)]=(_0x429604=_0x1e61d1[_0x11d6e3(0x4e9)])!=null?_0x429604:this[_0x11d6e3(0x3f9)],this[_0x11d6e3(0x2a9)]=(_0x519135=_0x1e61d1[_0x11d6e3(0x1ba)])!=null?_0x519135:this[_0x11d6e3(0x2a9)],this['_labelPosition']=(_0x58acee=_0x1e61d1[_0x11d6e3(0x34c)])!=null?_0x58acee:this[_0x11d6e3(0x4f1)],this[_0x11d6e3(0x569)]=(_0x2d479b=_0x1e61d1['backgroundColor'])!=null?_0x2d479b:this[_0x11d6e3(0x569)],this[_0x11d6e3(0x1ed)]({'width':_0x1e61d1[_0x11d6e3(0x265)],'height':_0x1e61d1[_0x11d6e3(0x1eb)]});}[_0xb7df44(0x1fc)](_0x4fac56){const _0x5d5bf3=_0xb7df44,{row:_0x162858,column:_0x314f76}=_0x4fac56;if(_0x162858>=this['_range'][_0x5d5bf3(0x290)]&&_0x162858<=this['_range'][_0x5d5bf3(0x535)]&&_0x314f76>=this[_0x5d5bf3(0x3f9)][_0x5d5bf3(0x2cb)]&&_0x314f76<=this[_0x5d5bf3(0x3f9)][_0x5d5bf3(0x35d)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x5d5bf3(0x592)]({'hovered':!0x1});}[_0xb7df44(0x27e)](_0x5d6193){return!0x1;}['_draw'](_0x95fd6f){const _0x5e7421=_0xb7df44;_0xfbec4b[_0x5e7421(0x23c)](_0x95fd6f,{'width':this[_0x5e7421(0x265)],'height':this[_0x5e7421(0x1eb)],'strokeWidth':Yo,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x5e7421(0x569)]}),this['_hovered']&&(_0x95fd6f[_0x5e7421(0x220)](),_0x95fd6f['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x5e7421(0x4f1)]==='bottom'?0x0:-nt),Ot['drawWith'](_0x95fd6f,{'text':this[_0x5e7421(0x2a9)],'color':this[_0x5e7421(0x335)]}),_0x95fd6f[_0x5e7421(0x248)]());}}var zo=Object['defineProperty'],qo=Object['getOwnPropertyDescriptor'],Xo=(_0x4d32b1,_0x560210,_0x5b8dee,_0x10e33e)=>{const _0x431b89=_0xb7df44;for(var _0x383a4b=_0x10e33e>0x1?void 0x0:_0x10e33e?qo(_0x560210,_0x5b8dee):_0x560210,_0x1fddbe=_0x4d32b1[_0x431b89(0x3f7)]-0x1,_0x14d46b;_0x1fddbe>=0x0;_0x1fddbe--)(_0x14d46b=_0x4d32b1[_0x1fddbe])&&(_0x383a4b=(_0x10e33e?_0x14d46b(_0x560210,_0x5b8dee,_0x383a4b):_0x14d46b(_0x383a4b))||_0x383a4b);return _0x10e33e&&_0x383a4b&&zo(_0x560210,_0x5b8dee,_0x383a4b),_0x383a4b;},kt=(_0x2757ed,_0x5c0889)=>(_0x4ff452,_0x5350ae)=>_0x5c0889(_0x4ff452,_0x5350ae,_0x2757ed);const Jo=0x1389;let as=class extends _0x3431ab{constructor(_0x33cb56,_0x39d5fc,_0x11d6e1,_0xd87c04){const _0x48faf1=_0xb7df44;super(),g(this,_0x48faf1(0x183),new Set()),g(this,_0x48faf1(0x232),null),(this[_0x48faf1(0x4b6)]=_0x33cb56,this[_0x48faf1(0x2fd)]=_0x39d5fc,this[_0x48faf1(0x549)]=_0x11d6e1,this[_0x48faf1(0x3ec)]=_0xd87c04,this[_0x48faf1(0x4a2)]());}['_init'](){const _0x2361e8=_0xb7df44;this[_0x2361e8(0x2fd)][_0x2361e8(0x517)]['pipe'](_0x5a8e54(this[_0x2361e8(0x561)]),_0x7a46c2(_0x591d57=>{const _0x4e7d7d=_0x2361e8;if(_0x591d57){const _0x49c335=_0x591d57['sheetId'];return _0x31796e(this[_0x4e7d7d(0x549)]['getCollabCursors$'](this['_context']['unitId']),this[_0x4e7d7d(0x3ec)]['currentTheme$'])[_0x4e7d7d(0x51d)](_0x41a95e(([_0x355594,_0x14370e])=>{const _0x68b3a9=_0x4e7d7d,_0x3e9fb3=new Map();return _0x355594[_0x68b3a9(0x3d9)]((_0x36c7ba,_0x2d1ce3)=>{const _0x30dfad=_0x68b3a9;if(_0x36c7ba[_0x30dfad(0x1b3)]===_0x49c335){const _0x585828={..._0x36c7ba};_0x585828['color']=_0x14370e[_0x36c7ba[_0x30dfad(0x2e2)]],_0x3e9fb3['set'](_0x2d1ce3,_0x585828);}}),{'skeleton':_0x591d57,'cursors':_0x3e9fb3};}));}return _0x4a5a0f({'skeleton':null,'cursors':new Map()});}))[_0x2361e8(0x41a)](({skeleton:_0x38e59b,cursors:_0x41e426})=>{const _0x43fc0f=_0x2361e8;this[_0x43fc0f(0x440)](),_0x38e59b&&this[_0x43fc0f(0x1ef)](_0x38e59b,_0x41e426);}),this[_0x2361e8(0x2fd)][_0x2361e8(0x517)][_0x2361e8(0x41a)](_0x184c36=>{const _0xdd2f25=_0x2361e8;if(_0x184c36==null)return;const {skeleton:_0x1d4a76}=_0x184c36,{scene:_0x578c12}=this['_context'];_0x578c12[_0xdd2f25(0x573)][_0xdd2f25(0x1db)](_0x3a88e2(_0x89170d=>{const _0x498d2f=_0xdd2f25;var _0x16d393,_0x5ccb16;const {offsetX:_0x4f4aff,offsetY:_0x239944}=_0x89170d,{x:_0x41539c,y:_0x3cb30f}=_0x578c12['getRelativeToViewportCoord'](_0x9c6ad7[_0x498d2f(0x4a6)]([_0x4f4aff,_0x239944])),{scaleX:_0x37c8fb,scaleY:_0x5bdb88}=_0x578c12['getAncestorScale'](),_0x5d7927=_0x578c12[_0x498d2f(0x343)](_0x4b5410[_0x498d2f(0x24e)]),_0x27e960=_0x578c12['getVpScrollXYInfoByPosToVp'](_0x9c6ad7['FromArray']([_0x41539c,_0x3cb30f]),_0x5d7927),_0x589a33=_0x1d4a76['getCellPositionByOffset'](_0x4f4aff,_0x239944,_0x37c8fb,_0x5bdb88,_0x27e960);((_0x16d393=this[_0x498d2f(0x232)])==null?void 0x0:_0x16d393['column'])===_0x589a33[_0x498d2f(0x316)]&&((_0x5ccb16=this[_0x498d2f(0x232)])==null?void 0x0:_0x5ccb16[_0x498d2f(0x51f)])===_0x589a33[_0x498d2f(0x51f)]||this[_0x498d2f(0x183)][_0x498d2f(0x3d9)](_0x4333ce=>{_0x4333ce['onMouseMove'](_0x589a33);});},0x64));});}['_updateCollabCursors'](_0x3053a6,_0xe11bb7){const _0x33c1a3=_0xb7df44;var _0x320964;const _0x2a5ac6=(_0x320964=this[_0x33c1a3(0x2fd)][_0x33c1a3(0x27d)]())==null?void 0x0:_0x320964[_0x33c1a3(0x496)];if(!_0x2a5ac6)return;const _0x5453b5=this[_0x33c1a3(0x598)]();if(!_0x5453b5)return;this[_0x33c1a3(0x183)][_0x33c1a3(0x3d9)](_0xe229c9=>{_0xe229c9['makeDirty']();});const {scene:_0x9bc4d7}=_0x5453b5,_0x4e6029=Zo(Array['from'](_0xe11bb7[_0x33c1a3(0x252)]()))[_0x33c1a3(0x2aa)](_0x1de722=>{const _0x5a3aba=_0x33c1a3,{color:_0x17bc7a,range:_0x2d97e0,name:_0x1df69b,selection:_0x2199cc,sheetID:_0x152281}=_0x1de722,{startColumn:_0x5f4c9e,startRow:_0x5dc381,endColumn:_0x1146a8,endRow:_0x4dacc4}=_0x2d97e0,_0x391fea=_0x245e06(_0x5dc381,_0x5f4c9e,_0x9bc4d7,_0x2a5ac6),_0x1786f8=_0x245e06(_0x4dacc4,_0x1146a8,_0x9bc4d7,_0x2a5ac6),{columnHeaderHeightAndMarginTop:_0x4c20bc}=_0x2a5ac6,{startX:_0x4a8606,startY:_0x27c417}=_0x391fea,{endX:_0x4e40fb,endY:_0xf3a74d}=_0x1786f8,_0x494ef7=_0x4e40fb-_0x4a8606,_0x4ed067=_0xf3a74d-_0x27c417,_0x699f99={'labelPosition':_0x27c417-_0x4c20bc>=nt?_0x5a3aba(0x527):_0x5a3aba(0x3a7),'sheetID':_0x152281,'range':_0x2d97e0,'color':_0x17bc7a,'name':_0x1df69b,'selection':_0x2199cc,'left':_0x4a8606,'top':_0x27c417,'width':_0x494ef7,'height':_0x4ed067,'evented':!0x1,'zIndex':Jo};return new Ko(_0x1df69b,_0x699f99);});_0x9bc4d7[_0x33c1a3(0x2ca)](_0x4e6029,Go),this[_0x33c1a3(0x183)]=new Set(_0x4e6029);}[_0xb7df44(0x440)](){const _0x293a6b=_0xb7df44;var _0x464cd0;(_0x464cd0=this[_0x293a6b(0x183)])==null||_0x464cd0[_0x293a6b(0x3d9)](_0x2c75d5=>_0x2c75d5[_0x293a6b(0x211)]());}['_getSheetObject'](){const _0x34bc09=_0xb7df44;return _0x3f1e0d(this[_0x34bc09(0x4b6)][_0x34bc09(0x599)],this[_0x34bc09(0x4b6)]);}};as=Xo([kt(0x1,_0x380ba9(_0x15b8f5)),kt(0x2,_0x380ba9(Ve)),kt(0x3,_0x380ba9(_0x3a8de9))],as);function Zo(_0x52a835){const _0x55785c=_0xb7df44,_0x55a569=new Map();return _0x52a835[_0x55785c(0x3d9)](_0x41a688=>{const _0x109e83=_0x55785c;if(_0x55a569[_0x109e83(0x1df)](_0x41a688['selection'])){const _0x474e8a=_0x55a569[_0x109e83(0x339)](_0x41a688[_0x109e83(0x570)]);_0x474e8a[_0x109e83(0x1ba)]+=',\x20'+_0x41a688[_0x109e83(0x1ba)];}else _0x55a569[_0x109e83(0x1f3)](_0x41a688[_0x109e83(0x570)],_0x41a688);}),Array['from'](_0x55a569[_0x55785c(0x252)]());}var ee=function(){const _0x1daf16=_0xb7df44;return ee=Object['assign']||function(_0x45bf14){const _0x101be7=_0x16eb;for(var _0x287515,_0x433d58=0x1,_0x12d8aa=arguments['length'];_0x433d58<_0x12d8aa;_0x433d58++){_0x287515=arguments[_0x433d58];for(var _0x620da1 in _0x287515)Object[_0x101be7(0x46d)][_0x101be7(0x30f)][_0x101be7(0x4c9)](_0x287515,_0x620da1)&&(_0x45bf14[_0x620da1]=_0x287515[_0x620da1]);}return _0x45bf14;},ee[_0x1daf16(0x324)](this,arguments);},Qo=function(_0x270d46,_0x34908d){const _0x4235c7=_0xb7df44;var _0x5e579d={};for(var _0x7b7e36 in _0x270d46)Object[_0x4235c7(0x46d)][_0x4235c7(0x30f)][_0x4235c7(0x4c9)](_0x270d46,_0x7b7e36)&&_0x34908d[_0x4235c7(0x1fb)](_0x7b7e36)<0x0&&(_0x5e579d[_0x7b7e36]=_0x270d46[_0x7b7e36]);if(_0x270d46!=null&&typeof Object[_0x4235c7(0x497)]=='function'){for(var _0x218861=0x0,_0x7b7e36=Object[_0x4235c7(0x497)](_0x270d46);_0x218861<_0x7b7e36[_0x4235c7(0x3f7)];_0x218861++)_0x34908d[_0x4235c7(0x1fb)](_0x7b7e36[_0x218861])<0x0&&Object[_0x4235c7(0x46d)]['propertyIsEnumerable']['call'](_0x270d46,_0x7b7e36[_0x218861])&&(_0x5e579d[_0x7b7e36[_0x218861]]=_0x270d46[_0x7b7e36[_0x218861]]);}return _0x5e579d;},Ts=_0x42a783(function(_0x4bfd29,_0x35c621){const _0x4ed6ac=_0xb7df44;var _0x133f83=_0x4bfd29[_0x4ed6ac(0x258)],_0x15d99b=_0x4bfd29['id'],_0x2a2658=_0x4bfd29[_0x4ed6ac(0x2d2)],_0x433c49=_0x4bfd29['extend'],_0x1c049a=Qo(_0x4bfd29,[_0x4ed6ac(0x258),'id',_0x4ed6ac(0x2d2),_0x4ed6ac(0x41b)]),_0x1b427e='univerjs-icon\x20univerjs-icon-'[_0x4ed6ac(0x391)](_0x15d99b,'\x20')[_0x4ed6ac(0x391)](_0x2a2658||'')['trim'](),_0x35e952=_0x1b3616('_'['concat'](sa()));return Mi(_0x133f83,''['concat'](_0x15d99b),{'defIds':_0x133f83['defIds'],'idSuffix':_0x35e952[_0x4ed6ac(0x3ba)]},ee({'ref':_0x35c621,'className':_0x1b427e},_0x1c049a),_0x433c49);});function Mi(_0xe3a039,_0x5c8526,_0x1c8b05,_0x1215b3,_0x2350f0){const _0x1003f8=_0xb7df44;return _0x444ffc(_0xe3a039['tag'],ee(ee({'key':_0x5c8526},ea(_0xe3a039,_0x1c8b05,_0x2350f0)),_0x1215b3),(ta(_0xe3a039,_0x1c8b05)[_0x1003f8(0x4fe)]||[])[_0x1003f8(0x2aa)](function(_0x25fd8a,_0x2297e1){const _0xe8586c=_0x1003f8;return Mi(_0x25fd8a,''[_0xe8586c(0x391)](_0x5c8526,'-')[_0xe8586c(0x391)](_0xe3a039[_0xe8586c(0x3e7)],'-')['concat'](_0x2297e1),_0x1c8b05,void 0x0,_0x2350f0);}));}function ea(_0x1a3539,_0x3855ab,_0x582e57){const _0x5b28a7=_0xb7df44;var _0x280a8d=ee({},_0x1a3539[_0x5b28a7(0x467)]);_0x582e57!=null&&_0x582e57[_0x5b28a7(0x1b0)]&&_0x280a8d[_0x5b28a7(0x2da)]===_0x5b28a7(0x1b0)&&(_0x280a8d[_0x5b28a7(0x2da)]=_0x582e57[_0x5b28a7(0x1b0)]);var _0x5e8a29=_0x3855ab[_0x5b28a7(0x533)];return!_0x5e8a29||_0x5e8a29[_0x5b28a7(0x3f7)]===0x0||(_0x1a3539[_0x5b28a7(0x3e7)]==='use'&&_0x280a8d['xlink:href']&&(_0x280a8d['xlink:href']=_0x280a8d[_0x5b28a7(0x3b7)]+_0x3855ab[_0x5b28a7(0x51c)]),Object[_0x5b28a7(0x560)](_0x280a8d)[_0x5b28a7(0x3d9)](function(_0x452899){const _0x85b338=_0x5b28a7;var _0x6b560=_0x452899[0x0],_0x82f1e0=_0x452899[0x1];typeof _0x82f1e0=='string'&&(_0x280a8d[_0x6b560]=_0x82f1e0[_0x85b338(0x532)](/url\(#(.*)\)/,_0x85b338(0x53a)[_0x85b338(0x391)](_0x3855ab[_0x85b338(0x51c)],')')));})),_0x280a8d;}function ta(_0x2c22b6,_0x3d1481){const _0x423a78=_0xb7df44;var _0x4bb89f,_0x515a4b=_0x3d1481[_0x423a78(0x533)];return!_0x515a4b||_0x515a4b[_0x423a78(0x3f7)]===0x0?_0x2c22b6:_0x2c22b6['tag']===_0x423a78(0x519)&&(!((_0x4bb89f=_0x2c22b6[_0x423a78(0x4fe)])===null||_0x4bb89f===void 0x0)&&_0x4bb89f[_0x423a78(0x3f7)])?ee(ee({},_0x2c22b6),{'children':_0x2c22b6['children']['map'](function(_0xfb0f3b){const _0x2d53fc=_0x423a78;return typeof _0xfb0f3b[_0x2d53fc(0x467)]['id']==_0x2d53fc(0x22d)&&_0x515a4b&&_0x515a4b['indexOf'](_0xfb0f3b[_0x2d53fc(0x467)]['id'])>-0x1?ee(ee({},_0xfb0f3b),{'attrs':ee(ee({},_0xfb0f3b[_0x2d53fc(0x467)]),{'id':_0xfb0f3b[_0x2d53fc(0x467)]['id']+_0x3d1481[_0x2d53fc(0x51c)]})}):_0xfb0f3b;})}):_0x2c22b6;}function sa(){const _0xcb9b72=_0xb7df44;return Math[_0xcb9b72(0x462)]()[_0xcb9b72(0x450)](0x24)['substring'](0x2,0x8);}Ts[_0xb7df44(0x466)]=_0xb7df44(0x3a9);var ia={'tag':_0xb7df44(0x49d),'attrs':{'fill':_0xb7df44(0x3a6),'viewBox':_0xb7df44(0x23a),'width':_0xb7df44(0x1e2),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xb7df44(0x1e6)},'children':[{'tag':'path','attrs':{'stroke':_0xb7df44(0x55e),'d':_0xb7df44(0x236),'strokeLinecap':_0xb7df44(0x476),'strokeLinejoin':_0xb7df44(0x476),'strokeWidth':1.2}}]},{'tag':_0xb7df44(0x519),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0xb7df44(0x522),'attrs':{'fill':_0xb7df44(0x181),'d':_0xb7df44(0x3b6)}}]}]}],'defIds':['off-line-single_clip0_910_343']},xi=_0x42a783(function(_0xb01258,_0x5a939b){const _0x3aef67=_0xb7df44;return _0x444ffc(Ts,Object[_0x3aef67(0x295)]({},_0xb01258,{'id':'off-line-single','ref':_0x5a939b,'icon':ia}));});xi['displayName']=_0xb7df44(0x299);var na={'tag':_0xb7df44(0x49d),'attrs':{'fill':_0xb7df44(0x3a6),'viewBox':_0xb7df44(0x52a),'width':_0xb7df44(0x1e2),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0xb7df44(0x522),'attrs':{'stroke':_0xb7df44(0x55e),'d':'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','strokeLinecap':_0xb7df44(0x476),'strokeLinejoin':_0xb7df44(0x476),'strokeWidth':1.2}}]},{'tag':_0xb7df44(0x519),'attrs':{},'children':[{'tag':_0xb7df44(0x257),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0xb7df44(0x522),'attrs':{'fill':_0xb7df44(0x181),'d':_0xb7df44(0x3b6),'transform':_0xb7df44(0x29c)}}]}]}],'defIds':[_0xb7df44(0x22e)]},Li=_0x42a783(function(_0x1bddea,_0x22441a){const _0x4b01d8=_0xb7df44;return _0x444ffc(Ts,Object[_0x4b01d8(0x295)]({},_0x1bddea,{'id':'on-line-single','ref':_0x22441a,'icon':na}));});Li[_0xb7df44(0x466)]=_0xb7df44(0x23d);function $i(_0x31e0dd){const _0x75cf37=_0xb7df44;var _0x4a318c,_0xe41ba8,_0x12f6d0='';if(typeof _0x31e0dd==_0x75cf37(0x22d)||typeof _0x31e0dd=='number')_0x12f6d0+=_0x31e0dd;else{if(typeof _0x31e0dd=='object'){if(Array[_0x75cf37(0x340)](_0x31e0dd)){var _0x3f7807=_0x31e0dd[_0x75cf37(0x3f7)];for(_0x4a318c=0x0;_0x4a318c<_0x3f7807;_0x4a318c++)_0x31e0dd[_0x4a318c]&&(_0xe41ba8=$i(_0x31e0dd[_0x4a318c]))&&(_0x12f6d0&&(_0x12f6d0+='\x20'),_0x12f6d0+=_0xe41ba8);}else{for(_0xe41ba8 in _0x31e0dd)_0x31e0dd[_0xe41ba8]&&(_0x12f6d0&&(_0x12f6d0+='\x20'),_0x12f6d0+=_0xe41ba8);}}}return _0x12f6d0;}function ra(){const _0x33a8fe=_0xb7df44;for(var _0x4eb0b2,_0x2137eb,_0xbd7ec0=0x0,_0x422eba='',_0x260108=arguments[_0x33a8fe(0x3f7)];_0xbd7ec0<_0x260108;_0xbd7ec0++)(_0x4eb0b2=arguments[_0xbd7ec0])&&(_0x2137eb=$i(_0x4eb0b2))&&(_0x422eba&&(_0x422eba+='\x20'),_0x422eba+=_0x2137eb);return _0x422eba;}const oa='univer-online-status-icon',aa=_0xb7df44(0x356),ca=_0xb7df44(0x3bd),ha='univer-online',la=_0xb7df44(0x59b),Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _a(_0x181f8f){const _0x3d612e=_0xb7df44;switch(_0x181f8f){case J[_0x3d612e(0x4ed)]:return _0x3d612e(0x539);case J['CONFLICT']:return _0x3d612e(0x31f);case J[_0x3d612e(0x1c1)]:return'collabStatus.fetchMiss';case J['NOT_COLLAB']:return _0x3d612e(0x513);case J['AWAITING']:case J[_0x3d612e(0x3c8)]:return _0x3d612e(0x317);case J['SYNCED']:case J[_0x3d612e(0x28d)]:return'collabStatus.synced';}}function ua(_0x1d1925){const _0x34b398=_0xb7df44,{status$:_0x592553}=_0x1d1925,_0x43b559=_0x4a4236(_0x592553,J[_0x34b398(0x4d5)]),_0x1b1e68=_0x58cc01(_0x5ccb65),_0x2202ea=_0x58cc01(Ae),_0x36fb4b=_0x43b559!==J[_0x34b398(0x4ed)],_0x23c991=_0x1b1e68['t'](_a(_0x43b559)),_0x8b820b=ra(Ze[_0x34b398(0x47a)],{[Ze[_0x34b398(0x358)]]:_0x36fb4b,[Ze['offline']]:!_0x36fb4b}),_0x5bb691=_0x36fb4b?_0x1a8809['createElement'](Li,null):_0x1a8809[_0x34b398(0x4ee)](xi,null),_0x5669f6=_0x390108(()=>{const _0x2d5d5a=_0x34b398;_0x36fb4b||_0x2202ea[_0x2d5d5a(0x1a3)]();},[_0x36fb4b,_0x2202ea]);function _0x542c66(){const _0x2c8914=_0x34b398;return _0x1a8809['createElement'](_0x2c8914(0x470),{'className':_0x8b820b,'onClick':_0x5669f6},_0x1a8809[_0x2c8914(0x4ee)](_0x2c8914(0x470),{'className':Ze['onlineStatusIcon']},_0x5bb691),_0x1a8809[_0x2c8914(0x4ee)](_0x2c8914(0x470),{'className':Ze['onlineStatusTitle']},_0x23c991));}return _0x36fb4b?_0x542c66():_0x1a8809['createElement'](_0x4acbca,{'title':_0x1b1e68['t']('collab-client.tooltip.reconnect')},_0x542c66());}var da=Object[_0xb7df44(0x441)],fa=Object[_0xb7df44(0x250)],va=(_0x1ebe5d,_0x2ecefc,_0x11e77a,_0x113326)=>{for(var _0x4ddf0a=_0x113326>0x1?void 0x0:_0x113326?fa(_0x2ecefc,_0x11e77a):_0x2ecefc,_0x2f3e65=_0x1ebe5d['length']-0x1,_0x1ecc68;_0x2f3e65>=0x0;_0x2f3e65--)(_0x1ecc68=_0x1ebe5d[_0x2f3e65])&&(_0x4ddf0a=(_0x113326?_0x1ecc68(_0x2ecefc,_0x11e77a,_0x4ddf0a):_0x1ecc68(_0x4ddf0a))||_0x4ddf0a);return _0x113326&&_0x4ddf0a&&da(_0x2ecefc,_0x11e77a,_0x4ddf0a),_0x4ddf0a;},lt=(_0x579dbf,_0x5a5c62)=>(_0x4256f8,_0x3a7fb2)=>_0x5a5c62(_0x4256f8,_0x3a7fb2,_0x579dbf);let It=class extends _0x55ef45{constructor(_0x13fd57,_0x2da241,_0x3d6959,_0x87df97){const _0x3c8029=_0xb7df44;super(),g(this,_0x3c8029(0x445),new _0x230431(J['NOT_COLLAB'])),(this['_univerInstanceService']=_0x13fd57,this[_0x3c8029(0x58d)]=_0x2da241,this[_0x3c8029(0x526)]=_0x3d6959,this[_0x3c8029(0x1f5)]=_0x87df97,this[_0x3c8029(0x39e)](),this[_0x3c8029(0x57b)]());}[_0xb7df44(0x57b)](){const _0x3ee4d5=_0xb7df44;this[_0x3ee4d5(0x55a)](this[_0x3ee4d5(0x3d6)][_0x3ee4d5(0x261)][_0x3ee4d5(0x51d)](_0x54d5d9(()=>{const _0x12a46e=_0x3ee4d5,_0x3e17d5=this[_0x12a46e(0x3d6)][_0x12a46e(0x1ae)]();return _0x3e17d5?this[_0x12a46e(0x1f5)][_0x12a46e(0x3b9)](_0x3e17d5[_0x12a46e(0x432)]()):_0x4a5a0f(null);}),_0x54d5d9(_0x444065=>_0x444065?_0x444065[_0x3ee4d5(0x281)]:_0x4a5a0f(J[_0x3ee4d5(0x4d5)])))[_0x3ee4d5(0x41a)](_0x45708a=>{const _0x49e198=_0x3ee4d5;this[_0x49e198(0x445)][_0x49e198(0x28b)](_0x45708a);}));}['_initStatusComponent'](){const _0x1bd699=_0xb7df44;this['disposeWithMe'](this['_uiPartsService'][_0x1bd699(0x187)](_0x4664c4[_0x1bd699(0x345)],()=>_0x33108a(ma({'status$':this[_0x1bd699(0x445)][_0x1bd699(0x234)]()}),this['_injector'])));}};It=va([lt(0x0,_0xf81bb9),lt(0x1,_0x44a93d),lt(0x2,_0x380ba9(_0x41c43c)),lt(0x3,_0x380ba9(it))],It);function ma(_0x58c12b){const {status$:_0x3f8b2}=_0x58c12b;return function(){const _0xe423a=_0x16eb;return _0x1a8809[_0xe423a(0x4ee)](ua,{'status$':_0x3f8b2});};}const Hi=_0x36b00b(_0xb7df44(0x2fb));var pa=Object[_0xb7df44(0x441)],ga=Object['getOwnPropertyDescriptor'],Sa=(_0x3ba9f2,_0x51081b,_0x5f5566,_0x23b2a7)=>{const _0xb31e14=_0xb7df44;for(var _0x546a05=_0x23b2a7>0x1?void 0x0:_0x23b2a7?ga(_0x51081b,_0x5f5566):_0x51081b,_0x37ab50=_0x3ba9f2[_0xb31e14(0x3f7)]-0x1,_0xe187ac;_0x37ab50>=0x0;_0x37ab50--)(_0xe187ac=_0x3ba9f2[_0x37ab50])&&(_0x546a05=(_0x23b2a7?_0xe187ac(_0x51081b,_0x5f5566,_0x546a05):_0xe187ac(_0x546a05))||_0x546a05);return _0x23b2a7&&_0x546a05&&pa(_0x51081b,_0x5f5566,_0x546a05),_0x546a05;},ke=(_0x234cc3,_0x27c10f)=>(_0x59d84f,_0x538991)=>_0x27c10f(_0x59d84f,_0x538991,_0x234cc3);let Ct=class extends _0x3431ab{constructor(_0x336a24,_0x2bdffb,_0xe388f1,_0xaf49c6,_0x3db41e,_0x454c16){const _0x4863d7=_0xb7df44;super(),this[_0x4863d7(0x353)]=_0x336a24,this['_logService']=_0x2bdffb,this[_0x4863d7(0x4fd)]=_0xe388f1,this[_0x4863d7(0x4ad)]=_0xaf49c6,this[_0x4863d7(0x267)]=_0x3db41e,_0x454c16?_0x454c16==null||_0x454c16[_0x4863d7(0x48d)]()[_0x4863d7(0x4bc)](()=>this['_init']()):(this[_0x4863d7(0x362)][_0x4863d7(0x20c)](_0x4863d7(0x57a),_0x4863d7(0x3e3)),this[_0x4863d7(0x4a2)]());}async['_init'](){const _0xa849db=_0xb7df44,_0x58d575=this['_urlService'][_0xa849db(0x479)](_0xa849db(0x599)),_0x34ea60=this[_0xa849db(0x353)][_0xa849db(0x479)](_0xa849db(0x1f8));if(!_0x58d575||!_0x34ea60){this[_0xa849db(0x362)][_0xa849db(0x20c)](_0xa849db(0x57a),_0xa849db(0x59a));return;}switch(Number(_0x34ea60)){case ce[_0xa849db(0x37b)]:{const _0x42d919=await this[_0xa849db(0x444)](_0x58d575);this['_setupSubUnitSync'](_0x42d919);break;}case ce['UNIVER_DOC']:{await this['_loadDoc'](_0x58d575);break;}default:{this['_logService'][_0xa849db(0x1d7)](_0xa849db(0x57a),_0xa849db(0x505));break;}}}async[_0xb7df44(0x2e5)](_0x5b10ea){const _0x31a1ab=_0xb7df44;await this['_updateSubUnitFromURLParams'](_0x5b10ea),_0x5b10ea['activeSheet$']['pipe'](_0x5c3c82(this[_0x31a1ab(0x561)]))[_0x31a1ab(0x41a)](_0x3de1b0=>{const _0x5a3702=_0x31a1ab;_0x3de1b0&&this[_0x5a3702(0x582)](_0x3de1b0);}),this[_0x31a1ab(0x353)][_0x31a1ab(0x52c)][_0x31a1ab(0x51d)](_0x5c3c82(this[_0x31a1ab(0x561)]))[_0x31a1ab(0x41a)](()=>this['_updateSubUnitFromURLParams'](_0x5b10ea));}[_0xb7df44(0x582)](_0x18dcad,_0x5338cb=!0x1){const _0x4fb673=_0xb7df44,_0x32e039=this[_0x4fb673(0x353)]['getParam'](_0x4fb673(0x46c));_0x18dcad['getSheetId']()!==_0x32e039&&this[_0x4fb673(0x353)][_0x4fb673(0x2b6)]('subunit',_0x18dcad[_0x4fb673(0x40a)](),_0x5338cb);}async['_updateSubUnitFromURLParams'](_0x19bdd1){const _0x4c896f=_0xb7df44;var _0x482e46;const _0x1bd5e2=this['_urlService']['getParam']('subunit');if(!_0x1bd5e2||!_0x19bdd1[_0x4c896f(0x55d)](_0x1bd5e2)){const _0x149d4b=_0x19bdd1[_0x4c896f(0x58c)]()[0x0],_0x26e8c5=_0x19bdd1[_0x4c896f(0x55d)](_0x149d4b);if(!_0x26e8c5)return;this[_0x4c896f(0x582)](_0x26e8c5,!0x0),await this[_0x4c896f(0x4fd)][_0x4c896f(0x567)](_0x56e1a9['id'],{'unitId':_0x19bdd1[_0x4c896f(0x432)](),'subUnitId':_0x149d4b});return;}((_0x482e46=_0x19bdd1[_0x4c896f(0x36d)]())==null?void 0x0:_0x482e46[_0x4c896f(0x40a)]())!==_0x1bd5e2&&await this[_0x4c896f(0x4fd)][_0x4c896f(0x567)](_0x56e1a9['id'],{'unitId':_0x19bdd1['getUnitId'](),'subUnitId':_0x1bd5e2});}async[_0xb7df44(0x444)](_0x3008c1){const _0x1420ae=_0xb7df44;let _0x4a42ba=0x0;const _0x2de9a3=await this[_0x1420ae(0x4ad)][_0x1420ae(0x492)](_0x3008c1);return _0x2de9a3&&(_0x2de9a3[_0x1420ae(0x210)]||_0x2de9a3[_0x1420ae(0x27c)]['length']!==0x0)&&(_0x4a42ba=_0x2de9a3[_0x1420ae(0x188)]),_0x4a42ba===0x0&&this['_logService'][_0x1420ae(0x20c)](_0x1420ae(0x57a),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x1420ae(0x182)](_0x3008c1,_0x4a42ba);}async[_0xb7df44(0x585)](_0x396423){const _0xfc2c3d=_0xb7df44;let _0x403e32=0x0;const _0x358167=await this[_0xfc2c3d(0x4ad)][_0xfc2c3d(0x492)](_0x396423);return _0x358167&&(_0x358167[_0xfc2c3d(0x210)]||_0x358167[_0xfc2c3d(0x27c)][_0xfc2c3d(0x3f7)]!==0x0)&&(_0x403e32=_0x358167[_0xfc2c3d(0x188)]),_0x403e32===0x0&&this[_0xfc2c3d(0x362)]['debug'](_0xfc2c3d(0x57a),_0xfc2c3d(0x521)),this[_0xfc2c3d(0x267)][_0xfc2c3d(0x2be)](_0x396423,_0x403e32);}};Ct=Sa([ke(0x0,Hi),ke(0x1,_0x23bd67),ke(0x2,_0x461f8f),ke(0x3,_0x380ba9(q)),ke(0x4,_0x380ba9(_0x4bd76a)),ke(0x5,_0xdde8b7(_0x2ba697))],Ct);var Ia=Object[_0xb7df44(0x441)],Ca=Object[_0xb7df44(0x250)],Ea=(_0xa207bc,_0x2314ab,_0x611ed6,_0x565e17)=>{const _0xca50d8=_0xb7df44;for(var _0x3fe95c=_0x565e17>0x1?void 0x0:_0x565e17?Ca(_0x2314ab,_0x611ed6):_0x2314ab,_0x312bd4=_0xa207bc[_0xca50d8(0x3f7)]-0x1,_0x2135dc;_0x312bd4>=0x0;_0x312bd4--)(_0x2135dc=_0xa207bc[_0x312bd4])&&(_0x3fe95c=(_0x565e17?_0x2135dc(_0x2314ab,_0x611ed6,_0x3fe95c):_0x2135dc(_0x3fe95c))||_0x3fe95c);return _0x565e17&&_0x3fe95c&&Ia(_0x2314ab,_0x611ed6,_0x3fe95c),_0x3fe95c;},zs=(_0x2ff136,_0x5be098)=>(_0x4b026f,_0x1752cf)=>_0x5be098(_0x4b026f,_0x1752cf,_0x2ff136);const ba=_0xb7df44(0x4da),Ta='Univer';let Et=class extends _0x55ef45{constructor(_0x1661e2,_0x2060aa){const _0x225475=_0xb7df44;super(),this[_0x225475(0x3d6)]=_0x1661e2,this[_0x225475(0x216)]=_0x2060aa,this[_0x225475(0x4a2)]();}['_init'](){const _0x14219b=_0xb7df44;this[_0x14219b(0x55a)](this[_0x14219b(0x3d6)][_0x14219b(0x261)][_0x14219b(0x41a)](()=>{const _0x64a695=_0x14219b;var _0x22f070;const _0x43a3d8=this[_0x64a695(0x3d6)][_0x64a695(0x1ae)]();let _0x25b65a=(_0x22f070=this[_0x64a695(0x216)][_0x64a695(0x2b8)](ba))!=null?_0x22f070:Ta;_0x43a3d8 instanceof _0x11e78c&&(_0x25b65a=_0x43a3d8[_0x64a695(0x1ba)]),document['title']=_0x25b65a;}));}};Et=Ea([zs(0x0,_0xf81bb9),zs(0x1,_0x25a779)],Et);var Ra=Object[_0xb7df44(0x441)],ya=Object[_0xb7df44(0x250)],Oa=(_0x139d9d,_0xc874fd,_0x3ba125,_0x26720b)=>{for(var _0x338dc0=_0x26720b>0x1?void 0x0:_0x26720b?ya(_0xc874fd,_0x3ba125):_0xc874fd,_0x50d883=_0x139d9d['length']-0x1,_0xc85c52;_0x50d883>=0x0;_0x50d883--)(_0xc85c52=_0x139d9d[_0x50d883])&&(_0x338dc0=(_0x26720b?_0xc85c52(_0xc874fd,_0x3ba125,_0x338dc0):_0xc85c52(_0x338dc0))||_0x338dc0);return _0x26720b&&_0x338dc0&&Ra(_0xc874fd,_0x3ba125,_0x338dc0),_0x338dc0;},Wt=(_0xe0f064,_0x345229)=>(_0x26beda,_0xfe9685)=>_0x345229(_0x26beda,_0xfe9685,_0xe0f064);let bt=class{constructor(_0x52c3be,_0x4d3178,_0x4a6cc9){const _0x12559c=_0xb7df44;this[_0x12559c(0x216)]=_0x52c3be,this[_0x12559c(0x4c4)]=_0x4d3178,this[_0x12559c(0x292)]=_0x4a6cc9,this[_0x12559c(0x509)]();}[_0xb7df44(0x509)](){const _0x44d27b=_0xb7df44;this[_0x44d27b(0x4c4)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4b2f94,_0x2db07d)=>_0x2db07d(_0x4b2f94)[_0x44d27b(0x51d)](_0x332a2a(async _0x1346c1=>{const _0x3e7215=_0x44d27b,_0xe96642=_0x1346c1;if(_0xe96642['status']===0x191&&window['confirm'](this['localeService']['t'](_0x3e7215(0x2e0)))){const _0x1eae63=window['encodeURIComponent'](window[_0x3e7215(0x355)][_0x3e7215(0x40c)]);window['location']['href']=this[_0x3e7215(0x57e)]()+_0x3e7215(0x478)+_0x1eae63;}return _0xe96642;}))});}[_0xb7df44(0x57e)](){const _0x2b628b=_0xb7df44;var _0xcf9c6f,_0x50add0;const _0xe511d1=this[_0x2b628b(0x216)][_0x2b628b(0x2b8)](Ir),_0x2e5078=this[_0x2b628b(0x216)][_0x2b628b(0x2b8)](ie);return(_0x50add0=(_0xcf9c6f=_0x2e5078==null?void 0x0:_0x2e5078[_0x2b628b(0x3cc)])!=null?_0xcf9c6f:_0xe511d1)!=null?_0x50add0:Cr;}};bt=Oa([Wt(0x0,_0x25a779),Wt(0x1,_0x380ba9(_0x429bbf)),Wt(0x2,_0x380ba9(_0x5ccb65))],bt);var wa=Object[_0xb7df44(0x441)],Da=Object[_0xb7df44(0x250)],Pa=(_0x3fc5ed,_0x58f8fa,_0x5a991b,_0x4a67fe)=>{const _0x359a15=_0xb7df44;for(var _0x616216=_0x4a67fe>0x1?void 0x0:_0x4a67fe?Da(_0x58f8fa,_0x5a991b):_0x58f8fa,_0x3ff8b9=_0x3fc5ed[_0x359a15(0x3f7)]-0x1,_0x46310e;_0x3ff8b9>=0x0;_0x3ff8b9--)(_0x46310e=_0x3fc5ed[_0x3ff8b9])&&(_0x616216=(_0x4a67fe?_0x46310e(_0x58f8fa,_0x5a991b,_0x616216):_0x46310e(_0x616216))||_0x616216);return _0x4a67fe&&_0x616216&&wa(_0x58f8fa,_0x5a991b,_0x616216),_0x616216;},qs=(_0x5e9f1f,_0x1846b9)=>(_0x2c8302,_0x102c9c)=>_0x1846b9(_0x2c8302,_0x102c9c,_0x5e9f1f);function _0x1c34(){const _0x17bb77=['endRow','_toggleOnline','from','liveShareNewHost','collabStatus.offline','url(#$1','548cRgQXg','refreshPermission','pad','duration','UUID','CHANGESET_SHOULD_RETRY','isPermissionRej','JOINING','PERMISSION_DENIED','startTime','editing\x20status\x20changed\x20to','_drawTextRange','session.will-retry','size','_collabCursorController','redoState','_isPermissionRej','onTransformRemoteChangesetByIMECache','/fetchmissing?from=','&source=','_unitStatus','Utf8','_schedule','_socket','LICENSE_MAX_UNITS_EXCEEDED','_notificationService','collaboration.single-unit.warning','COMPLETION_FINISHED','finalize','not_collab','_cursorInfo$','disposeWithMe','all','LIVESHARE_NEW_HOST','getSheetBySheetId','currentColor','Undefined','entries','dispose$','{fileID}','BASE64','[PendingState]:\x20unhandled\x20univer\x20type:\x20','CONFLICT','\x0aCurrent:\x20','executeCommand','_commentService','_backgroundColor','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','exhaustSavingTask','/new_changes','byteLength','min','body','selection','[SyncedState]:\x20received\x20acknowledgement.','storage','onPointerMove$','key','onCommandExecuted','function','_HTTPService','936404ZTOGhJ','resend','[DataLoaderController]','_initStatusListener','toLowerCase','readAsDataURL','_getLoginPath','requestParams','registerBeforeClose','_imageSourceCache','_updateURLWithCurrentState','_document','charAt','_loadDoc','Error\x20on\x20receiving\x20event','WordArray','_toggleOffline','purple300','_getMergeRange','_sender','getUnhiddenWorksheets','_uiPartsService','InsertRowCommandId','_refreshCollabCursors','deleteCollaborator','onRemoteAck','setShapeProps','_onLocalMutation','NoPadding','_resendTimer','_getScale','unload','_getSheetObject','unit','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','univer-offline','_mode','target','#fff','loadSheet','_cursors','_onOffline','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_hideTimer','registerComponent','rev','OTHER_CLIENTS_EDITING','_queuedRemoteChangesets','setItem','getMember','_handleHeartbeatEvent','filter','InsertRangeMoveRightCommandId','getStateCache','_getRedoStack','#FFF','revision','getDeserializedSheetBlock','pending','_joinRoom','_initDependencies','_key','image/png','_initResize','_getCurrentRevision','\x20to\x20','authzUrl','create','_startCollaboration','collab-rect-range-','/object','save\x20fail\x20reason\x20is\x20','reconnect','sid','collaboration-client.config','_getUndoStack','fetching\x20missing\x20changesets\x20from\x20','_onRemoteRejected','_instanceService','createEncryptor','transformStateCache','listCollaborators','onload','getFocusedUnit','_event$','colorChannel1','_docSkeleton','abs','sheetID','clearTimeout','9hPXxJh','clear','_initCommandExecutedListener','_redoStacks','getValue','name','_timeoutTimer','_collaborationPaused','[FetchMissState]','APPLY_REVISION_CONFILICT','COMPRESS_MUTATION_APPLY','lineTo','FETCH_MISS','_collabCursorState$','_candidateSocket','editingUnit','push','UNAUTHENTICATED','removeMember','1113600CffyzJ','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_startTelemetryCollaborationNewChangeset','buffer','_state$','cfg','TOO_MANY_REQUESTS','UNIVER_DOC','replaceState','_syncEditingCollabCursorService','randomUUID','decrypt','createDecryptor','_singleActiveUnitService','unsubscribe','error','_lockTransition','PERMISSION_REJ','_oKey','subscribeEvent','SHA1','\x20-\x20','registerRefRange','has','_cursor','_scheduleHeartbeat','1em','collaboration-session-retry','session.collaboration-timeout','reset','url(#off-line-single_clip0_910_343)','getMemberID','transformIMECache','getCurrentUser','_compressMutationService','height','_undoStacks','transformByState','flatMap','_updateCollabCursors','updateMember','default','_disableEditing','set','_session','_collaborationController','_shapes','Hex','type','hostname','COLLAB_SUBMIT_CHANGESET_URL','indexOf','onMouseMove','state$','originalMeta','crypto','_incrementRevisionNumber','c1Prime','SYNCED','keySize','_onRefRangeChange','_onCursorUpdate','transformSelections','_unlockTransition','objectActions','univer-pro.collaboration-client.single-active-unit-service','ALREADY_EXISTS','uploadFileServerUrl','debug','USERS_LEAVE','assignAColorForMemberID','onCommentUpdate','awaitingChangeset','dispose','_append','with','docStateChange$','updateOfflineData','_configService','APPLY_DUPLICATED','saveChangeset','SerializableCipher','processBlock','msCrypto','newValue','_onRecvEvent','_userManagerService','_scheduleClearOtherTimer','save','_doCryptBlock','[CollaborationState]:\x20apply\x20error!','conflict.content','JOIN','complete','changesets','override','UnitSnapshot','_resendWithTimeout','close$','RECV','measureText','string','on-line-single_clip0_910_349','onStateChange','slice','CHANGESET_REJ','_lastPointer','textRanges','asObservable','INVALID_ARGUMENT','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','ceil','equals','_awaitingChangeset','0\x200\x2016\x2016','HmacSHA1','drawWith','OnLineSingle','getRoom','bind','_id','_scheduleTimestamp','_transformService','_state','_anchorDot','_changesetSessionId','_onConflict','_keyPriorReset','restore','mode','onPointerLeave$','Error','collaboration-client.offline-data-not-saved','BlockCipher','VIEW_MAIN','awaiting_with_pending','getOwnPropertyDescriptor','Unknown\x20user','values','transformMutation','closeSession','joinEvent','subUnitId','clipPath','icon','onStarting','encrypt','Could\x20not\x20dynamically\x20require\x20\x22','black','cmd','csShouldRetryEvent','\x20in\x20_schedule.','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','focused$','_retryConnectingTimer','_createHmacHelper','blue400','width','_initRequestHeader','_snapshotService','[OfflineState]:\x20received\x20acknowledgement.','CONNECTOR_DATA_TOO_LARGE','roles','CipherParams','_roomMembers$','formatter','image/jpg','transformUndoRedo','userID','ws://127.0.0.1:8000/universer-api/comb/connect','parse','rng','_substituteUndoStack','resourceIDs','_nDataBytes','collaboratorID','moveTo','_onRemoteACK','getResourcesRequest','sessionStatus$','mutations','getCurrent','triggerDblclick','listRoles','commentUpdate$','status$','_createInitialStateImpl','_transformSelections','_reverseMap','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','encryptBlock','undoState','addImageSourceCache','_cursorShapes','onTransformState','next','FETCH_MISSING','PENDING','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_getSignURL','startRow','onTransformSelections','localeService','LICENSE_EXPORT_SIZE_EXCEEDED','_process','assign','InsertRangeMoveDownCommandId','_removeClearOtherTimer','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','OffLineSingle','includes','contains','translate(.97)','/object/','setActiveRange','_renderManagerService','retryConnectingInterval','_doFinalize','_transformRemoteChangesetByIMECache','mixIn','_commentUpdate$','fetchMissingChangesets','_doReset','batchAllowed','compute','_name','map','SNAPSHOT_HAS_BEEN_REMOVED','USERS_ENTER','history','SNAPSHOT_SERVER_URL_KEY','_telemetryInfo','/allowed','_revisionService','actions','_refRangeService','/universer-api/oidc/authpage','byteOffset','setParam','_heartbeatTimer','getConfig','EvpKDF','kdf','_removeRoom','_decreaseWaiting','setAlpha','loadDoc','_showConflictNotification','APPLY_REJECT','_socket$','updatePermissionPoint','onRemoteChangeset','state','_transformUndoRedoStack','put','_assignedColors','_registerDependencies','addEventListener','addObjects','startColumn','UPDATE_PERMISSION_OBJ','commentUpdateEvent','&assign=','every','clone','objects','className','_remoteChangesetQueue','_localStorageService','verdancy600','_stopTelemetryCollaborationNewChangeset','POST','_saveTaskMap','onTransformIME','fill','AES','SHOULD_CLOSE_CONN','/unit/','getAllMembers','[PendingState]:\x20received\x20rejection.','auth.needGotoLoginAlert','saveSheetBlock','color','awaiting','sessionStatus','_setupSubUnitSync','HttpImport','update','_createSocket','SNAPSHOT_URL_KEY','setStateCache','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_onFetchMissResult','isActive','_tryEnsureSocket','_initCloseConn','compose','find','iterations','collab-text-range-','Warning','UNDEFINED','collaboration_new_changeset','954938sJTZQW','_startSheetCollabCursor','_applyRemoteChangeset','_iKey','uni.network.url-service','/block/','_sheetSkeletonManagerService','_docSkeletonManagerService','/-/object/-/batch_allowed','origin','Base64','_eventUnsubscribe','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_fetchMissChangesets','ERROR_EXCEED_SIZE','eventID','getUniverSheetInstance','getUnitType','_map','_beforeCloseService','_hovered','YUUMI_SUBSCRIPTION_NOT_FOUND','visibilityState','INTERNAL_ERROR','hasOwnProperty','getUnitOnRev','socket$','_drawRectRange','findNodePositionByCharIndex','_doProcessBlock','appendMutation','column','collabStatus.syncing','LOGIN_URL_KEY','_onRemoteRetry','onRendered','_updateState','getDocRanges','FAIL','cursorInfo$','collabStatus.conflict','_docTransformStateCacheService','allowed','_getAPIPrefixPath','enc','apply','_textBubble','_resendTimeout','_createHelper','getUndoRedoMutationParamsCache','_members','data','/universer-api/authz','_getUploadFileURL','telemetry\x20info\x20is\x20not\x20initialized','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','disposeUnit','getRangePointData','APPLY_PERMISSION_DENIED','max','[CollaborationEntity]','_getSnapshotAPIPrefix','_color','_getSaveTimeout','symbol','LEAVE','get','encode','PasswordBasedCipher','_transitionLocked','_onUserLeave','_exhaustRemoteChangesetQueue','routeKey','isArray','getRenderById','fromCharCode','getViewport','clearInterval','HEADER_MENU','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getCollabCursors$','conflict.title','now','_clearHeartbeatTimer','randomBytes','labelPosition','Latin1','_checkMissing','c2Prime','_permissionService','interceptor','reqId','_urlService','getWorkbookSelections','location','univer-online-status-title','exports','online','_render','SUCCUSS','_nRounds','_sendingTimer','endColumn','_DEC_XFORM_MODE','__esModule','message$','_initEventListeners','_logService','_listenToOnlineEvent','add','enableOfflineEditing','_syncEditingCollabCursor','getTime','text','[CollaborationSessionService]','4408552nrOMxS','ciphertext','enableSingleActiveInstanceLock','getActiveSheet','fetch_missing','roomMembers','pushState','getUnitStatus$','ONLINE','fillRule','_colorAssignService','OpenSSL','DeleteRangeMoveUpCommandId','_setupBeforeClosingHandler','padding','YUUMI_URL_COL_OUT_OF_RANGE','submit\x20changeset\x20error!','UNIVER_SHEET','fetchMiss','socket\x20open.','unitID','delete','$super','_entities','reject','onSyncEditingCollabCursor','HttpExport','catch','_getCtorByUniverType','_waitForHeartbeatResponse','createCollaborator','code','setTimeout','_updateLocalCursor','_handleLeaveEvent','LIVESHARE_REQUEST_HOST','getRandomValues','toggleOffline','objectType','concat','MD5','stopTime','disableLocalCache','resize','_hash','_socketService','_docTransformIMECacheService','/-/object/list','collabCursorState$','csRejEvent','getSkeleton','show','_initStatusComponent','_config','onReady','LIVESHARE_FETCH_OPERATIONS','10MKTCps','fillStyle','repeat','_executeRemoteChangeset','none','bottom','setCurrentUser','UniverIcon','transformMutationsWithChangeset','_scheduleSaving','SUBMIT_CHANGESET','ivSize','_retryCount','transformChangesets','_initMergeInterceptor','failed\x20to\x20apply\x20missed\x20changesets!','action','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getSheetBlock','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','M0\x200H16V16H0z','xlink:href','getUnit','getCollabEntity$','current','setConfig','BlockCipherMode','univer-online-status','_sendHeartbeat','closePath','_unitOnClients','Encryptor','_onJoinRoomEvent','close','pauseCollaboration','_cachedData','_rescheduleHeartbeat','lib','AWAITING_WITH_PENDING','updateCursorEvent','_hover','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','loginUrlKey','baseRev','_ENC_XFORM_MODE','Malformed\x20UTF-8\x20data','getAncestorScale','LIVESHARE_OPERATION','COMPRESS_MUTATION_SEND','_telemetryService','YUUMI_UNABLE_LOAD_URL','_createHandler','_univerInstanceService','reduce','append','forEach','setWaitCount','_clearCollaborationTimeoutTimer','getCurrentUnitForType','_getAnchorBounding','format','HMAC','transformRemoteChangeset','[CollaborationUndoRedoService]','_initUnitPermissionChange','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_unitID','_roomMembers','ERROR_IMAGE','tag','_registerRenderDependencies','_type','words','/collaborator','_themeService','newCsEvent','arc','onPointerEnter$','reverse','[CollaborationSession]','LOCAL_CACHE_INTERVAL','BufferedBlockAlgorithm','HmacMD5','collabSubmitChangesetUrl','rgba(255,\x20255,\x20255,\x200.01)','length','_ensureSubject','_range','saveImage','_docStateChangeManagerService','_clearLocalCache','headers','createInstance','&to=','copyFileMeta','getInterceptPoints','_minBufferSize','1924328mGpotu','clamp','fromCollab','connection\x20error','_updateLocalCache','_onCursorDelete','joinRsp','getSheetId','TEXT','href','incrementRevOfUnit','LICENSE_DISTRO_REJECTED','FileId','_startDocCollabCursor','__creator','_getSendChangesetTimeout','send','_onConnectionFailed','_prevBlock','onSendChangeset','unknown','addObject','startsWith','subscribe','extend','_listenToOfflineEvent','stringify','_onUserJoin','_clearOtherTimers','sigBytes','unit-cache-','session','downloadEndpointUrl','getActiveRange','/resources','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','m1Prime','red300','json','Base','_hasher','Decryptor','join','_sendHeartbeatTimer','getOffsetConfig','_invKeySchedule','getCollabEntity','getUnitId','_disabled','HEARTBEAT','getImageSourceCache','InsertColCommandId','UnitEmbedded','_createInitialState','x-univer-host','MoveRangeCommandId','open$','removeParam','_scene','image/gif','offline','_removeCollabCursors','defineProperty','onMissingChangesets','snapshot','_loadSheet','_status$','memberID','RemoveColCommandId','UNIVER_SLIDE','_send','_socketReady','_saveCache','image/jpeg','_shouldReportTelemetry','getCurrentSelections','_iv','toString','capture','_online','LIVESHARE_TERMINATE','UNKNOWN_CMD','_cipher','some','_entityInit$','_pendingMutations','_tryReconnect','isEditing','registerRenderModule','objectID','CBC','_getDownloadEndpointURL','collaboration.closeRoom','_data','_throwTelemetryCollaborationNewChangeset','random','deepClone','engine','_anchor','displayName','attrs','_handler','execute','_updateStatus','updateCollaborator','subunit','prototype','session.connection-failed','salt','div','HEARTBEAT_TIMEOUT','_selfUnitIDs','SNAPSHOT_INVALID_SNAPSHOT','setShowComponents','jiqing500','round','_scheduleCollaborationTimeoutTimer','?url=','getParam','onlineStatus','enableAuthServer','initWorkbookPermissionChange','_sessions','_xformMode','getImage','_transformHistoryAndStateStack','transformStack\x20failed!','Hasher','sendChangesetTimeout','members','_acknowledgedAwaitingChangeset','_getAPIPrefix','688170pMXQon','onTransformChange$','DeleteRangeMoveLeftCommandId','AUTHZ_URL_KEY','onRemoteRej','_transformUndoredo','whenReady','error$','createSocket','_messageService','PSEUDO_FETCH_MISSING_RESULT','loadOfflineData','getCurrentRevOfUnit','params','_change$','skeleton','getOwnPropertySymbols','conflict','hide','16806aIYQhM','hidden','_collaborationSessionService','svg','saveSnapshot','_collabSessionService','RECT','_snapshotServerService','_init','generateRandomId','getTypeOfUnitAdded$','_collaborationTimeoutTimer','FromArray','_transformStateCache','[PendingState]:\x20received\x20acknowledgement.','_replayCachedMutations','setInterval','StreamCipher','_keySchedule','_localCacheService','roomMembers$','_transformPreviousActiveRange','/universer-api/snapshot','UNRECOGNIZED','popstate','/universer-api/snapshot/','ranges','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_context','_waitCount','COMMENT_UPDATE','UPDATE_CURSOR','_sheetTransformSelectionsService','_drawAnchor','then','_onMessage','result','onTransformRemoteChangesetByStateCache','fillText','_transformRemoteChangesetByStateCache','_onCombEvent','resolve','_httpService','roomInfos','EXCHANGE_SIGN_URL_SERVER_URL_KEY','INGEST','[CollaborationSessionService]:\x20socket\x20error','call','ACTIVE_UNIT_EVENT_CHANNEL','algo','floor','getTypeOfUnitDisposed$','\x0aAfter:\x20','_transformIMECache','replaceTextRanges','list','NOT_FOUND','_onConnectionOpen','_http','NOT_COLLAB','UNIVER_UNKNOWN','doc.mutation.rich-text-editing','requireSession','cursorInfo','DEFAULT_FILE_NAME','MSG_FOR_ERROR','synced','_clearTimeoutTimer','Pkcs7','registerHTTPInterceptor','LICENSE_IMPORT_SIZE_EXCEEDED','_clearScheduledTask','CHANGESET_REVISION_CONFILICT','visibilitychange','_changesetReqId','toggleOnline','beginPath','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','signUrlServerUrl','range','post','onMissedChangesetFetched','unitId','OFFLINE','createElement','_docSyncEditingCollabCursorService','registerOnClose','_labelPosition','_clearRedo','evenodd','fetchThroughInterceptors','searchParams','unshift','m2Prime','socketService','ENSURE_SNAPSHOT_EXECUTION','updatePermissionObjEvent','_onRemoteChangeset','MUTATION','_commandService','children','selections','_handleHover','blockSize','charCodeAt','_memberService','onlyLocal','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','RemoveRowCommandId','event$','liveShareOperation','init','onRemoteRetry','NO_OTHER_CLIENTS_EDITING','HEARTBEAT_INTERVAL','HELLO','status','/rev/','_socketMessageSubscription','file','_sessionStatus$','collabStatus.notCollab','hasher','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_submitChangeset','currentSkeleton$','_transformStack','defs','_handleEvent','_localeService','idSuffix','pipe','_colorIndex','row','socket\x20close','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','path','withCredentials','_replaceFileID','src','_injector','top','UNKNOWN_CODE','patch','0\x200\x2017\x2016','...','urlChange$','AWAITING','unpad','permissionRejEvent','CHANGESET_ACK','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','replace','defIds','?size='];_0x1c34=function(){return _0x17bb77;};return _0x1c34();}const Ua=_0xb7df44(0x48a),Na=_0xb7df44(0x32b);let cs=class extends _0x55ef45{constructor(_0x1f3b75,_0x1b6262){const _0x13a158=_0xb7df44;super(),this['_HTTPService']=_0x1f3b75,this['_configService']=_0x1b6262,this[_0x13a158(0x3b0)]();}[_0xb7df44(0x3b0)](){const _0x1f21c5=_0xb7df44,_0x15550e=this;this[_0x1f21c5(0x55a)](this[_0x1f21c5(0x577)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x62bc31({'isMatch'(_0x119de5){const _0x2b5e6e=_0x1f21c5;var _0x564d5b;if(_0x119de5['method']===_0x2b5e6e(0x2d7)&&((_0x564d5b=_0x119de5[_0x2b5e6e(0x57f)])!=null&&_0x564d5b[_0x2b5e6e(0x56f)])){const {objectID:_0x364f40,objectType:_0x5a4e3c}=_0x119de5[_0x2b5e6e(0x57f)]['body']||{};if(!_0x364f40||_0x5a4e3c===void 0x0)return!0x1;const _0x132702=_0x15550e['_getAPIPrefixPath']()+'/'+_0x5a4e3c+_0x2b5e6e(0x29d)+_0x364f40+_0x2b5e6e(0x2b0);if(_0x119de5['url']===_0x132702)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x222cbc){const _0x32927d=_0x1f21c5;var _0x40dd47;return(_0x40dd47=_0x222cbc[_0x32927d(0x57f)])==null?void 0x0:_0x40dd47[_0x32927d(0x56f)];},'mergeParamsToRequest'(_0x2ae60e,_0x5a8f60){const _0x5b8b8f=_0x1f21c5,_0x504dbe=_0x15550e[_0x5b8b8f(0x322)]()+_0x5b8b8f(0x2ff),_0x78eb4c=_0x2ae60e['reduce']((_0x181131,_0x35071d)=>{const _0x40bb29=_0x5b8b8f,{unitID:_0x100db1,objectID:_0x31e925,objectType:_0x23b9c3,actions:_0x3b61ab}=_0x35071d;return _0x181131[_0x100db1]||(_0x181131[_0x100db1]={}),_0x181131[_0x100db1][_0x31e925]||(_0x181131[_0x100db1][_0x31e925]={'objectID':_0x31e925,'objectType':_0x23b9c3,'actions':[]}),_0x181131[_0x100db1][_0x31e925]['actions'][_0x40bb29(0x1c5)](..._0x3b61ab),_0x181131;},{}),_0x4ef0fd=[];for(const _0x321867 in _0x78eb4c)for(const _0x1f26ca in _0x78eb4c[_0x321867]){const {actions:_0x454e4d,objectType:_0x3d4219}=_0x78eb4c[_0x321867][_0x1f26ca],_0x15aef8=[...new Set(_0x454e4d)];_0x4ef0fd[_0x5b8b8f(0x1c5)]({'unitID':_0x321867,'objectID':_0x1f26ca,'objectType':_0x3d4219,'actions':_0x15aef8});}return new _0x196f47(_0x5b8b8f(0x2d7),_0x504dbe,{'headers':_0x5a8f60[_0x5b8b8f(0x3fd)],'withCredentials':_0x5a8f60[_0x5b8b8f(0x523)],'responseType':_0x5a8f60['responseType'],'body':{'requests':_0x4ef0fd}});}},{'distributeResult'(_0x53e165,_0x4b10c9){const _0x50b160=_0x1f21c5,{objectActions:_0x164ee4}=_0x53e165;return _0x4b10c9[_0x50b160(0x2aa)](_0x3aaa43=>{const _0x1789a1=_0x50b160,{unitID:_0x151e51,objectID:_0x57240e,actions:_0x3df383}=_0x3aaa43,_0x594650=_0x164ee4[_0x1789a1(0x2f1)](_0x4a427f=>_0x4a427f['unitID']===_0x151e51&&_0x4a427f[_0x1789a1(0x45c)]===_0x57240e),_0x11bb9a=_0x3df383[_0x1789a1(0x2aa)](_0x117b50=>_0x594650==null?void 0x0:_0x594650['actions'][_0x1789a1(0x2f1)](_0x4c2fd7=>_0x4c2fd7[_0x1789a1(0x3b2)]===_0x117b50))['filter'](_0x18f006=>!!_0x18f006);return{'config':_0x3aaa43,'result':{'actions':_0x11bb9a,'error':_0x53e165['error']}};});}})}));}[_0xb7df44(0x322)](){const _0x31ec67=_0xb7df44;var _0x2c4e3e,_0x40d741;const _0x586b4e=this[_0x31ec67(0x216)][_0x31ec67(0x2b8)](Ua),_0x1ea07f=this['_configService'][_0x31ec67(0x2b8)](ie);return(_0x40d741=(_0x2c4e3e=_0x1ea07f==null?void 0x0:_0x1ea07f[_0x31ec67(0x19d)])!=null?_0x2c4e3e:_0x586b4e)!=null?_0x40d741:Na;}async['create'](_0x4f7808){const _0x5bab8b=_0xb7df44,_0xd0493e=this[_0x5bab8b(0x322)]()+'/'+_0x4f7808[_0x5bab8b(0x390)]+_0x5bab8b(0x1a1);return(await this[_0x5bab8b(0x577)]['post'](_0xd0493e,{'body':_0x4f7808}))[_0x5bab8b(0x56f)]['objectID']||'';}async[_0xb7df44(0x4d1)](_0x2eb650){const _0x552242=_0xb7df44,_0xadb574=this[_0x552242(0x322)]()+_0x552242(0x399);return(await this[_0x552242(0x577)][_0x552242(0x4ea)](_0xadb574,{'body':_0x2eb650}))[_0x552242(0x56f)][_0x552242(0x2d1)];}async[_0xb7df44(0x2e7)](_0x40243e){const _0x51b33f=_0xb7df44,_0x2f17db=this['_getAPIPrefixPath']()+'/'+_0x40243e['objectType']+_0x51b33f(0x29d)+_0x40243e['objectID'];await this[_0x51b33f(0x577)]['put'](_0x2f17db,{'body':_0x40243e});}async[_0xb7df44(0x321)](_0x2403c2){const _0x19370e=_0xb7df44,_0x32d347=this[_0x19370e(0x322)]()+'/'+_0x2403c2[_0x19370e(0x390)]+_0x19370e(0x29d)+_0x2403c2[_0x19370e(0x45c)]+_0x19370e(0x2b0);return(await this[_0x19370e(0x577)][_0x19370e(0x4ea)](_0x32d347,{'body':_0x2403c2}))['body']['actions'];}async[_0xb7df44(0x2a7)](_0x46c965){const _0x57a146=_0xb7df44,_0x58c721=this[_0x57a146(0x322)]()+_0x57a146(0x2ff);return(await this['_HTTPService'][_0x57a146(0x4ea)](_0x58c721,{'body':{'requests':_0x46c965}}))[_0x57a146(0x56f)][_0x57a146(0x208)];}async[_0xb7df44(0x27f)](_0x13c941){const _0x5e8884=_0xb7df44,_0x2d78ed=this[_0x5e8884(0x322)]()+'/'+_0x13c941[_0x5e8884(0x390)]+'/role',_0x30b823=await this[_0x5e8884(0x577)][_0x5e8884(0x4ea)](_0x2d78ed,{'body':_0x13c941});return{'roles':_0x30b823[_0x5e8884(0x56f)][_0x5e8884(0x26a)],'actions':_0x30b823['body'][_0x5e8884(0x2b2)]};}async[_0xb7df44(0x590)](_0x18866f){const _0x316b39=_0xb7df44,_0x2b5863=this[_0x316b39(0x322)]()+_0x316b39(0x3eb);await this[_0x316b39(0x577)]['delete'](_0x2b5863,{'params':{'collaboratorID':_0x18866f[_0x316b39(0x277)],'objectID':_0x18866f[_0x316b39(0x45c)],'unitID':_0x18866f[_0x316b39(0x37e)]}});}async[_0xb7df44(0x46b)](_0x2ffded){const _0x5b69a3=_0xb7df44,_0x354419=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x5b69a3(0x577)][_0x5b69a3(0x529)](_0x354419,{'body':_0x2ffded});}async[_0xb7df44(0x388)](_0x2c767a){const _0x437ef3=_0xb7df44,_0x4fa28e=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x437ef3(0x577)][_0x437ef3(0x4ea)](_0x4fa28e,{'body':_0x2c767a});}async[_0xb7df44(0x1ac)](_0x1bb59e){const _0x1416e4=_0xb7df44,_0x2eaa9f=this['_getAPIPrefixPath']()+_0x1416e4(0x3eb);return(await this['_HTTPService'][_0x1416e4(0x339)](_0x2eaa9f,{'params':{'objectID':_0x1bb59e['objectID'],'unitID':_0x1bb59e['unitID']}}))['body']['collaborators'];}async['putCollaborators'](_0x2e00cd){const _0x34d61e=_0xb7df44,_0x2d7c7a=this['_getAPIPrefixPath']()+_0x34d61e(0x3eb);await this['_HTTPService'][_0x34d61e(0x2c6)](_0x2d7c7a,{'body':_0x2e00cd});}};cs=Pa([qs(0x0,_0x380ba9(_0x429bbf)),qs(0x1,_0x380ba9(_0x25a779))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x4cccc4){const _0x122eff=_0xb7df44;return _0x4cccc4&&_0x4cccc4[_0x122eff(0x35f)]&&Object['prototype']['hasOwnProperty'][_0x122eff(0x4c9)](_0x4cccc4,_0x122eff(0x1f1))?_0x4cccc4[_0x122eff(0x1f1)]:_0x4cccc4;}var ji={'exports':{}};function Aa(_0x2caadc){const _0xacb4b9=_0xb7df44;throw new Error(_0xacb4b9(0x25b)+_0x2caadc+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ft={'exports':{}},Xs;function ue(){const _0x3b15e5=_0xb7df44;return Xs||(Xs=0x1,function(_0x8d1b09,_0x404281){(function(_0x50e634,_0xb56e93){const _0x4c19d2=_0x16eb;_0x8d1b09[_0x4c19d2(0x357)]=_0xb56e93();}(Z,function(){var _0x5ef85e=_0x5ef85e||function(_0x592bc5,_0x1b0352){const _0x6ea1e3=_0x16eb;var _0x42fdc3;if(typeof window<'u'&&window['crypto']&&(_0x42fdc3=window['crypto']),typeof self<'u'&&self[_0x6ea1e3(0x1ff)]&&(_0x42fdc3=self[_0x6ea1e3(0x1ff)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x42fdc3=globalThis['crypto']),!_0x42fdc3&&typeof window<'u'&&window[_0x6ea1e3(0x21b)]&&(_0x42fdc3=window[_0x6ea1e3(0x21b)]),!_0x42fdc3&&typeof Z<'u'&&Z[_0x6ea1e3(0x1ff)]&&(_0x42fdc3=Z[_0x6ea1e3(0x1ff)]),!_0x42fdc3&&typeof Aa==_0x6ea1e3(0x576))try{_0x42fdc3=require(_0x6ea1e3(0x1ff));}catch{}var _0x1706f7=function(){const _0x38a628=_0x6ea1e3;if(_0x42fdc3){if(typeof _0x42fdc3[_0x38a628(0x38e)]=='function')try{return _0x42fdc3['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x42fdc3[_0x38a628(0x34b)]==_0x38a628(0x576))try{return _0x42fdc3['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x38a628(0x2eb));},_0x540ae4=Object[_0x6ea1e3(0x19e)]||(function(){function _0x1532ff(){}return function(_0x165472){const _0x4a59f5=_0x16eb;var _0x3eed4b;return _0x1532ff[_0x4a59f5(0x46d)]=_0x165472,_0x3eed4b=new _0x1532ff(),_0x1532ff[_0x4a59f5(0x46d)]=null,_0x3eed4b;};}()),_0x2fbddf={},_0x5e61b4=_0x2fbddf[_0x6ea1e3(0x3c7)]={},_0x469651=_0x5e61b4[_0x6ea1e3(0x42a)]=(function(){return{'extend':function(_0x6661d1){const _0x1a5859=_0x16eb;var _0x304dbf=_0x540ae4(this);return _0x6661d1&&_0x304dbf[_0x1a5859(0x2a3)](_0x6661d1),(!_0x304dbf[_0x1a5859(0x30f)](_0x1a5859(0x509))||this[_0x1a5859(0x509)]===_0x304dbf[_0x1a5859(0x509)])&&(_0x304dbf[_0x1a5859(0x509)]=function(){const _0x17c3a5=_0x1a5859;_0x304dbf['$super'][_0x17c3a5(0x509)][_0x17c3a5(0x324)](this,arguments);}),_0x304dbf[_0x1a5859(0x509)]['prototype']=_0x304dbf,_0x304dbf[_0x1a5859(0x380)]=this,_0x304dbf;},'create':function(){const _0x29d1a9=_0x16eb;var _0xebe945=this[_0x29d1a9(0x41b)]();return _0xebe945[_0x29d1a9(0x509)][_0x29d1a9(0x324)](_0xebe945,arguments),_0xebe945;},'init':function(){},'mixIn':function(_0x4ae9bb){const _0x19e8fc=_0x16eb;for(var _0x5d830c in _0x4ae9bb)_0x4ae9bb[_0x19e8fc(0x30f)](_0x5d830c)&&(this[_0x5d830c]=_0x4ae9bb[_0x5d830c]);_0x4ae9bb[_0x19e8fc(0x30f)]('toString')&&(this['toString']=_0x4ae9bb[_0x19e8fc(0x450)]);},'clone':function(){const _0x3add4c=_0x16eb;return this['init'][_0x3add4c(0x46d)][_0x3add4c(0x41b)](this);}};}()),_0x2afad1=_0x5e61b4['WordArray']=_0x469651[_0x6ea1e3(0x41b)]({'init':function(_0x39268b,_0x43d5c8){const _0x527b18=_0x6ea1e3;_0x39268b=this[_0x527b18(0x3ea)]=_0x39268b||[],_0x43d5c8!=_0x1b0352?this[_0x527b18(0x420)]=_0x43d5c8:this['sigBytes']=_0x39268b[_0x527b18(0x3f7)]*0x4;},'toString':function(_0x4eaad9){const _0x2fee67=_0x6ea1e3;return(_0x4eaad9||_0x41d388)[_0x2fee67(0x41d)](this);},'concat':function(_0x311e44){const _0x8ed12d=_0x6ea1e3;var _0x5e64b1=this['words'],_0x10fab7=_0x311e44[_0x8ed12d(0x3ea)],_0x41d682=this[_0x8ed12d(0x420)],_0x2f38b4=_0x311e44[_0x8ed12d(0x420)];if(this[_0x8ed12d(0x404)](),_0x41d682%0x4)for(var _0x37331b=0x0;_0x37331b<_0x2f38b4;_0x37331b++){var _0x5a0597=_0x10fab7[_0x37331b>>>0x2]>>>0x18-_0x37331b%0x4*0x8&0xff;_0x5e64b1[_0x41d682+_0x37331b>>>0x2]|=_0x5a0597<<0x18-(_0x41d682+_0x37331b)%0x4*0x8;}else{for(var _0x745308=0x0;_0x745308<_0x2f38b4;_0x745308+=0x4)_0x5e64b1[_0x41d682+_0x745308>>>0x2]=_0x10fab7[_0x745308>>>0x2];}return this['sigBytes']+=_0x2f38b4,this;},'clamp':function(){const _0x3c8225=_0x6ea1e3;var _0x4b969a=this[_0x3c8225(0x3ea)],_0xc23ad5=this['sigBytes'];_0x4b969a[_0xc23ad5>>>0x2]&=0xffffffff<<0x20-_0xc23ad5%0x4*0x8,_0x4b969a[_0x3c8225(0x3f7)]=_0x592bc5[_0x3c8225(0x237)](_0xc23ad5/0x4);},'clone':function(){const _0x528442=_0x6ea1e3;var _0x9854d1=_0x469651['clone'][_0x528442(0x4c9)](this);return _0x9854d1[_0x528442(0x3ea)]=this[_0x528442(0x3ea)]['slice'](0x0),_0x9854d1;},'random':function(_0x304e36){const _0x447783=_0x6ea1e3;for(var _0x4067f4=[],_0x55212c=0x0;_0x55212c<_0x304e36;_0x55212c+=0x4)_0x4067f4[_0x447783(0x1c5)](_0x1706f7());return new _0x2afad1[(_0x447783(0x509))](_0x4067f4,_0x304e36);}}),_0xe4d601=_0x2fbddf[_0x6ea1e3(0x323)]={},_0x41d388=_0xe4d601[_0x6ea1e3(0x1f7)]={'stringify':function(_0x592d14){const _0x569fcb=_0x6ea1e3;for(var _0x52c388=_0x592d14[_0x569fcb(0x3ea)],_0x191bdd=_0x592d14['sigBytes'],_0x5d030f=[],_0x46fd6b=0x0;_0x46fd6b<_0x191bdd;_0x46fd6b++){var _0x43384d=_0x52c388[_0x46fd6b>>>0x2]>>>0x18-_0x46fd6b%0x4*0x8&0xff;_0x5d030f[_0x569fcb(0x1c5)]((_0x43384d>>>0x4)['toString'](0x10)),_0x5d030f[_0x569fcb(0x1c5)]((_0x43384d&0xf)[_0x569fcb(0x450)](0x10));}return _0x5d030f[_0x569fcb(0x42d)]('');},'parse':function(_0x4174e8){const _0x15e948=_0x6ea1e3;for(var _0x2a22b4=_0x4174e8[_0x15e948(0x3f7)],_0x7ba937=[],_0x4b92c4=0x0;_0x4b92c4<_0x2a22b4;_0x4b92c4+=0x2)_0x7ba937[_0x4b92c4>>>0x3]|=parseInt(_0x4174e8['substr'](_0x4b92c4,0x2),0x10)<<0x18-_0x4b92c4%0x8*0x4;return new _0x2afad1[(_0x15e948(0x509))](_0x7ba937,_0x2a22b4/0x2);}},_0xd78d8f=_0xe4d601[_0x6ea1e3(0x34d)]={'stringify':function(_0xfb58cb){const _0xb28b00=_0x6ea1e3;for(var _0x3dc039=_0xfb58cb['words'],_0x49fd59=_0xfb58cb[_0xb28b00(0x420)],_0x524440=[],_0x532f52=0x0;_0x532f52<_0x49fd59;_0x532f52++){var _0x14db61=_0x3dc039[_0x532f52>>>0x2]>>>0x18-_0x532f52%0x4*0x8&0xff;_0x524440['push'](String[_0xb28b00(0x342)](_0x14db61));}return _0x524440[_0xb28b00(0x42d)]('');},'parse':function(_0x4cfbbd){const _0xdb34fb=_0x6ea1e3;for(var _0x376303=_0x4cfbbd['length'],_0xe737ac=[],_0x406852=0x0;_0x406852<_0x376303;_0x406852++)_0xe737ac[_0x406852>>>0x2]|=(_0x4cfbbd[_0xdb34fb(0x502)](_0x406852)&0xff)<<0x18-_0x406852%0x4*0x8;return new _0x2afad1[(_0xdb34fb(0x509))](_0xe737ac,_0x376303);}},_0x10b186=_0xe4d601['Utf8']={'stringify':function(_0x27ca41){const _0x388769=_0x6ea1e3;try{return decodeURIComponent(escape(_0xd78d8f[_0x388769(0x41d)](_0x27ca41)));}catch{throw new Error(_0x388769(0x3cf));}},'parse':function(_0x555d94){const _0x566583=_0x6ea1e3;return _0xd78d8f[_0x566583(0x272)](unescape(encodeURIComponent(_0x555d94)));}},_0x4a2ae3=_0x5e61b4['BufferedBlockAlgorithm']=_0x469651['extend']({'reset':function(){const _0x445178=_0x6ea1e3;this[_0x445178(0x460)]=new _0x2afad1[(_0x445178(0x509))](),this[_0x445178(0x276)]=0x0;},'_append':function(_0x30a3f6){const _0x1022c5=_0x6ea1e3;typeof _0x30a3f6=='string'&&(_0x30a3f6=_0x10b186[_0x1022c5(0x272)](_0x30a3f6)),this['_data']['concat'](_0x30a3f6),this['_nDataBytes']+=_0x30a3f6[_0x1022c5(0x420)];},'_process':function(_0x4c78bd){const _0x4526d5=_0x6ea1e3;var _0x5b213d,_0xe0ea13=this['_data'],_0x4dfb59=_0xe0ea13[_0x4526d5(0x3ea)],_0x540c05=_0xe0ea13[_0x4526d5(0x420)],_0x5d38ed=this['blockSize'],_0x2b20ab=_0x5d38ed*0x4,_0x11a6f4=_0x540c05/_0x2b20ab;_0x4c78bd?_0x11a6f4=_0x592bc5[_0x4526d5(0x237)](_0x11a6f4):_0x11a6f4=_0x592bc5[_0x4526d5(0x332)]((_0x11a6f4|0x0)-this['_minBufferSize'],0x0);var _0x53a069=_0x11a6f4*_0x5d38ed,_0xb6c487=_0x592bc5[_0x4526d5(0x56e)](_0x53a069*0x4,_0x540c05);if(_0x53a069){for(var _0x4cfebd=0x0;_0x4cfebd<_0x53a069;_0x4cfebd+=_0x5d38ed)this[_0x4526d5(0x314)](_0x4dfb59,_0x4cfebd);_0x5b213d=_0x4dfb59['splice'](0x0,_0x53a069),_0xe0ea13[_0x4526d5(0x420)]-=_0xb6c487;}return new _0x2afad1['init'](_0x5b213d,_0xb6c487);},'clone':function(){const _0x4ba69e=_0x6ea1e3;var _0x75abb8=_0x469651[_0x4ba69e(0x2d0)][_0x4ba69e(0x4c9)](this);return _0x75abb8[_0x4ba69e(0x460)]=this[_0x4ba69e(0x460)][_0x4ba69e(0x2d0)](),_0x75abb8;},'_minBufferSize':0x0});_0x5e61b4[_0x6ea1e3(0x482)]=_0x4a2ae3['extend']({'cfg':_0x469651[_0x6ea1e3(0x41b)](),'init':function(_0x269a42){const _0x40503e=_0x6ea1e3;this['cfg']=this[_0x40503e(0x1cd)][_0x40503e(0x41b)](_0x269a42),this[_0x40503e(0x1e5)]();},'reset':function(){const _0x922851=_0x6ea1e3;_0x4a2ae3[_0x922851(0x1e5)][_0x922851(0x4c9)](this),this[_0x922851(0x2a6)]();},'update':function(_0x527d7d){const _0x4c3821=_0x6ea1e3;return this['_append'](_0x527d7d),this[_0x4c3821(0x294)](),this;},'finalize':function(_0x40ab3d){const _0x269001=_0x6ea1e3;_0x40ab3d&&this[_0x269001(0x212)](_0x40ab3d);var _0x224c1d=this['_doFinalize']();return _0x224c1d;},'blockSize':0x10,'_createHelper':function(_0x3815f9){return function(_0x2d1c26,_0x308683){const _0x264cd4=_0x16eb;return new _0x3815f9[(_0x264cd4(0x509))](_0x308683)['finalize'](_0x2d1c26);};},'_createHmacHelper':function(_0x2ae378){return function(_0xd02d0c,_0x39fc09){const _0x20a22a=_0x16eb;return new _0x2ea0c4['HMAC']['init'](_0x2ae378,_0x39fc09)[_0x20a22a(0x557)](_0xd02d0c);};}});var _0x2ea0c4=_0x2fbddf['algo']={};return _0x2fbddf;}(Math);return _0x5ef85e;}));}(Ft)),Ft[_0x3b15e5(0x357)];}var Vt={'exports':{}},Js;function Bi(){const _0xd24a5d=_0xb7df44;return Js||(Js=0x1,function(_0x3ebc10,_0x5e3ee5){(function(_0x11d4fd,_0x21b2a1){const _0x37f879=_0x16eb;_0x3ebc10[_0x37f879(0x357)]=_0x21b2a1(ue());}(Z,function(_0x46b5cd){const _0x29b0a6=_0x16eb;return(function(){const _0x5e66ab=_0x16eb;var _0x2d7128=_0x46b5cd,_0x4101d6=_0x2d7128[_0x5e66ab(0x3c7)],_0x279e75=_0x4101d6[_0x5e66ab(0x587)],_0x26eca8=_0x2d7128['enc'];_0x26eca8[_0x5e66ab(0x301)]={'stringify':function(_0x25f4d5){const _0x11ce31=_0x5e66ab;var _0x462674=_0x25f4d5[_0x11ce31(0x3ea)],_0x3e0adb=_0x25f4d5[_0x11ce31(0x420)],_0x27f768=this[_0x11ce31(0x309)];_0x25f4d5[_0x11ce31(0x404)]();for(var _0x4abf4b=[],_0x23a305=0x0;_0x23a305<_0x3e0adb;_0x23a305+=0x3)for(var _0x295328=_0x462674[_0x23a305>>>0x2]>>>0x18-_0x23a305%0x4*0x8&0xff,_0x5eb467=_0x462674[_0x23a305+0x1>>>0x2]>>>0x18-(_0x23a305+0x1)%0x4*0x8&0xff,_0x1a4465=_0x462674[_0x23a305+0x2>>>0x2]>>>0x18-(_0x23a305+0x2)%0x4*0x8&0xff,_0xd727ae=_0x295328<<0x10|_0x5eb467<<0x8|_0x1a4465,_0x15da9d=0x0;_0x15da9d<0x4&&_0x23a305+_0x15da9d*0.75<_0x3e0adb;_0x15da9d++)_0x4abf4b[_0x11ce31(0x1c5)](_0x27f768['charAt'](_0xd727ae>>>0x6*(0x3-_0x15da9d)&0x3f));var _0x54c12d=_0x27f768[_0x11ce31(0x584)](0x40);if(_0x54c12d){for(;_0x4abf4b[_0x11ce31(0x3f7)]%0x4;)_0x4abf4b[_0x11ce31(0x1c5)](_0x54c12d);}return _0x4abf4b[_0x11ce31(0x42d)]('');},'parse':function(_0x306788){const _0x54472b=_0x5e66ab;var _0x34509f=_0x306788[_0x54472b(0x3f7)],_0x45e6f8=this[_0x54472b(0x309)],_0x271176=this[_0x54472b(0x284)];if(!_0x271176){_0x271176=this['_reverseMap']=[];for(var _0x45e5c9=0x0;_0x45e5c9<_0x45e6f8[_0x54472b(0x3f7)];_0x45e5c9++)_0x271176[_0x45e6f8[_0x54472b(0x502)](_0x45e5c9)]=_0x45e5c9;}var _0x4ef320=_0x45e6f8[_0x54472b(0x584)](0x40);if(_0x4ef320){var _0x212ede=_0x306788['indexOf'](_0x4ef320);_0x212ede!==-0x1&&(_0x34509f=_0x212ede);}return _0x3be234(_0x306788,_0x34509f,_0x271176);},'_map':_0x5e66ab(0x426)};function _0x3be234(_0x4ae33e,_0x3fa915,_0x824f5a){const _0x2b8b6f=_0x5e66ab;for(var _0x46b87c=[],_0x3d4264=0x0,_0xb3d4a=0x0;_0xb3d4a<_0x3fa915;_0xb3d4a++)if(_0xb3d4a%0x4){var _0x44ca05=_0x824f5a[_0x4ae33e[_0x2b8b6f(0x502)](_0xb3d4a-0x1)]<<_0xb3d4a%0x4*0x2,_0x1baafa=_0x824f5a[_0x4ae33e[_0x2b8b6f(0x502)](_0xb3d4a)]>>>0x6-_0xb3d4a%0x4*0x2,_0x2ee696=_0x44ca05|_0x1baafa;_0x46b87c[_0x3d4264>>>0x2]|=_0x2ee696<<0x18-_0x3d4264%0x4*0x8,_0x3d4264++;}return _0x279e75['create'](_0x46b87c,_0x3d4264);}}()),_0x46b5cd['enc'][_0x29b0a6(0x301)];}));}(Vt)),Vt[_0xd24a5d(0x357)];}var Gt={'exports':{}},Zs;function Ma(){const _0x2e268e=_0xb7df44;return Zs||(Zs=0x1,function(_0x27eb92,_0x1fabd1){(function(_0x1929ca,_0x151c14){const _0x159197=_0x16eb;_0x27eb92[_0x159197(0x357)]=_0x151c14(ue());}(Z,function(_0x5a5902){const _0xab0662=_0x16eb;return function(_0x3495c9){const _0x51a7a1=_0x16eb;var _0x448b46=_0x5a5902,_0x3368bd=_0x448b46[_0x51a7a1(0x3c7)],_0x2ed59b=_0x3368bd[_0x51a7a1(0x587)],_0x5cc5ba=_0x3368bd['Hasher'],_0x15575d=_0x448b46[_0x51a7a1(0x4cb)],_0x29c50c=[];(function(){const _0x5b0eb2=_0x51a7a1;for(var _0x23120a=0x0;_0x23120a<0x40;_0x23120a++)_0x29c50c[_0x23120a]=_0x3495c9[_0x5b0eb2(0x1b2)](_0x3495c9['sin'](_0x23120a+0x1))*0x100000000|0x0;}());var _0x43e178=_0x15575d[_0x51a7a1(0x392)]=_0x5cc5ba['extend']({'_doReset':function(){const _0x3a9292=_0x51a7a1;this['_hash']=new _0x2ed59b[(_0x3a9292(0x509))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x53b4f6,_0x2632bc){const _0x475a7a=_0x51a7a1;for(var _0x24a840=0x0;_0x24a840<0x10;_0x24a840++){var _0x270073=_0x2632bc+_0x24a840,_0x4c1f08=_0x53b4f6[_0x270073];_0x53b4f6[_0x270073]=(_0x4c1f08<<0x8|_0x4c1f08>>>0x18)&0xff00ff|(_0x4c1f08<<0x18|_0x4c1f08>>>0x8)&0xff00ff00;}var _0x444588=this[_0x475a7a(0x396)][_0x475a7a(0x3ea)],_0x333eee=_0x53b4f6[_0x2632bc+0x0],_0x39f577=_0x53b4f6[_0x2632bc+0x1],_0x30da56=_0x53b4f6[_0x2632bc+0x2],_0x418e92=_0x53b4f6[_0x2632bc+0x3],_0x50decb=_0x53b4f6[_0x2632bc+0x4],_0x14903b=_0x53b4f6[_0x2632bc+0x5],_0x555975=_0x53b4f6[_0x2632bc+0x6],_0x2b38c0=_0x53b4f6[_0x2632bc+0x7],_0x180c43=_0x53b4f6[_0x2632bc+0x8],_0x542813=_0x53b4f6[_0x2632bc+0x9],_0x424961=_0x53b4f6[_0x2632bc+0xa],_0x254853=_0x53b4f6[_0x2632bc+0xb],_0x206c37=_0x53b4f6[_0x2632bc+0xc],_0x302270=_0x53b4f6[_0x2632bc+0xd],_0x40c041=_0x53b4f6[_0x2632bc+0xe],_0x4d85b6=_0x53b4f6[_0x2632bc+0xf],_0x3ab8d5=_0x444588[0x0],_0x28e2a9=_0x444588[0x1],_0x2ee270=_0x444588[0x2],_0x570908=_0x444588[0x3];_0x3ab8d5=_0x19fe53(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x333eee,0x7,_0x29c50c[0x0]),_0x570908=_0x19fe53(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x39f577,0xc,_0x29c50c[0x1]),_0x2ee270=_0x19fe53(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x30da56,0x11,_0x29c50c[0x2]),_0x28e2a9=_0x19fe53(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x418e92,0x16,_0x29c50c[0x3]),_0x3ab8d5=_0x19fe53(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x50decb,0x7,_0x29c50c[0x4]),_0x570908=_0x19fe53(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x14903b,0xc,_0x29c50c[0x5]),_0x2ee270=_0x19fe53(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x555975,0x11,_0x29c50c[0x6]),_0x28e2a9=_0x19fe53(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x2b38c0,0x16,_0x29c50c[0x7]),_0x3ab8d5=_0x19fe53(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x180c43,0x7,_0x29c50c[0x8]),_0x570908=_0x19fe53(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x542813,0xc,_0x29c50c[0x9]),_0x2ee270=_0x19fe53(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x424961,0x11,_0x29c50c[0xa]),_0x28e2a9=_0x19fe53(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x254853,0x16,_0x29c50c[0xb]),_0x3ab8d5=_0x19fe53(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x206c37,0x7,_0x29c50c[0xc]),_0x570908=_0x19fe53(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x302270,0xc,_0x29c50c[0xd]),_0x2ee270=_0x19fe53(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x40c041,0x11,_0x29c50c[0xe]),_0x28e2a9=_0x19fe53(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x4d85b6,0x16,_0x29c50c[0xf]),_0x3ab8d5=_0x2c7a83(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x39f577,0x5,_0x29c50c[0x10]),_0x570908=_0x2c7a83(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x555975,0x9,_0x29c50c[0x11]),_0x2ee270=_0x2c7a83(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x254853,0xe,_0x29c50c[0x12]),_0x28e2a9=_0x2c7a83(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x333eee,0x14,_0x29c50c[0x13]),_0x3ab8d5=_0x2c7a83(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x14903b,0x5,_0x29c50c[0x14]),_0x570908=_0x2c7a83(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x424961,0x9,_0x29c50c[0x15]),_0x2ee270=_0x2c7a83(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x4d85b6,0xe,_0x29c50c[0x16]),_0x28e2a9=_0x2c7a83(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x50decb,0x14,_0x29c50c[0x17]),_0x3ab8d5=_0x2c7a83(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x542813,0x5,_0x29c50c[0x18]),_0x570908=_0x2c7a83(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x40c041,0x9,_0x29c50c[0x19]),_0x2ee270=_0x2c7a83(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x418e92,0xe,_0x29c50c[0x1a]),_0x28e2a9=_0x2c7a83(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x180c43,0x14,_0x29c50c[0x1b]),_0x3ab8d5=_0x2c7a83(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x302270,0x5,_0x29c50c[0x1c]),_0x570908=_0x2c7a83(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x30da56,0x9,_0x29c50c[0x1d]),_0x2ee270=_0x2c7a83(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x2b38c0,0xe,_0x29c50c[0x1e]),_0x28e2a9=_0x2c7a83(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x206c37,0x14,_0x29c50c[0x1f]),_0x3ab8d5=_0x89bf2b(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x14903b,0x4,_0x29c50c[0x20]),_0x570908=_0x89bf2b(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x180c43,0xb,_0x29c50c[0x21]),_0x2ee270=_0x89bf2b(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x254853,0x10,_0x29c50c[0x22]),_0x28e2a9=_0x89bf2b(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x40c041,0x17,_0x29c50c[0x23]),_0x3ab8d5=_0x89bf2b(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x39f577,0x4,_0x29c50c[0x24]),_0x570908=_0x89bf2b(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x50decb,0xb,_0x29c50c[0x25]),_0x2ee270=_0x89bf2b(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x2b38c0,0x10,_0x29c50c[0x26]),_0x28e2a9=_0x89bf2b(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x424961,0x17,_0x29c50c[0x27]),_0x3ab8d5=_0x89bf2b(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x302270,0x4,_0x29c50c[0x28]),_0x570908=_0x89bf2b(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x333eee,0xb,_0x29c50c[0x29]),_0x2ee270=_0x89bf2b(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x418e92,0x10,_0x29c50c[0x2a]),_0x28e2a9=_0x89bf2b(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x555975,0x17,_0x29c50c[0x2b]),_0x3ab8d5=_0x89bf2b(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x542813,0x4,_0x29c50c[0x2c]),_0x570908=_0x89bf2b(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x206c37,0xb,_0x29c50c[0x2d]),_0x2ee270=_0x89bf2b(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x4d85b6,0x10,_0x29c50c[0x2e]),_0x28e2a9=_0x89bf2b(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x30da56,0x17,_0x29c50c[0x2f]),_0x3ab8d5=_0x60fd80(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x333eee,0x6,_0x29c50c[0x30]),_0x570908=_0x60fd80(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x2b38c0,0xa,_0x29c50c[0x31]),_0x2ee270=_0x60fd80(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x40c041,0xf,_0x29c50c[0x32]),_0x28e2a9=_0x60fd80(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x14903b,0x15,_0x29c50c[0x33]),_0x3ab8d5=_0x60fd80(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x206c37,0x6,_0x29c50c[0x34]),_0x570908=_0x60fd80(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x418e92,0xa,_0x29c50c[0x35]),_0x2ee270=_0x60fd80(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x424961,0xf,_0x29c50c[0x36]),_0x28e2a9=_0x60fd80(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x39f577,0x15,_0x29c50c[0x37]),_0x3ab8d5=_0x60fd80(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x180c43,0x6,_0x29c50c[0x38]),_0x570908=_0x60fd80(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x4d85b6,0xa,_0x29c50c[0x39]),_0x2ee270=_0x60fd80(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x555975,0xf,_0x29c50c[0x3a]),_0x28e2a9=_0x60fd80(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x302270,0x15,_0x29c50c[0x3b]),_0x3ab8d5=_0x60fd80(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x50decb,0x6,_0x29c50c[0x3c]),_0x570908=_0x60fd80(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x254853,0xa,_0x29c50c[0x3d]),_0x2ee270=_0x60fd80(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x30da56,0xf,_0x29c50c[0x3e]),_0x28e2a9=_0x60fd80(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x542813,0x15,_0x29c50c[0x3f]),_0x444588[0x0]=_0x444588[0x0]+_0x3ab8d5|0x0,_0x444588[0x1]=_0x444588[0x1]+_0x28e2a9|0x0,_0x444588[0x2]=_0x444588[0x2]+_0x2ee270|0x0,_0x444588[0x3]=_0x444588[0x3]+_0x570908|0x0;},'_doFinalize':function(){const _0x5d3ee4=_0x51a7a1;var _0x539dc0=this[_0x5d3ee4(0x460)],_0x13d08b=_0x539dc0['words'],_0x4a565f=this[_0x5d3ee4(0x276)]*0x8,_0xee78ed=_0x539dc0['sigBytes']*0x8;_0x13d08b[_0xee78ed>>>0x5]|=0x80<<0x18-_0xee78ed%0x20;var _0x23b48f=_0x3495c9[_0x5d3ee4(0x4cc)](_0x4a565f/0x100000000),_0x234ec8=_0x4a565f;_0x13d08b[(_0xee78ed+0x40>>>0x9<<0x4)+0xf]=(_0x23b48f<<0x8|_0x23b48f>>>0x18)&0xff00ff|(_0x23b48f<<0x18|_0x23b48f>>>0x8)&0xff00ff00,_0x13d08b[(_0xee78ed+0x40>>>0x9<<0x4)+0xe]=(_0x234ec8<<0x8|_0x234ec8>>>0x18)&0xff00ff|(_0x234ec8<<0x18|_0x234ec8>>>0x8)&0xff00ff00,_0x539dc0[_0x5d3ee4(0x420)]=(_0x13d08b['length']+0x1)*0x4,this['_process']();for(var _0x2564c5=this[_0x5d3ee4(0x396)],_0x92842a=_0x2564c5[_0x5d3ee4(0x3ea)],_0x52f356=0x0;_0x52f356<0x4;_0x52f356++){var _0x19e7d7=_0x92842a[_0x52f356];_0x92842a[_0x52f356]=(_0x19e7d7<<0x8|_0x19e7d7>>>0x18)&0xff00ff|(_0x19e7d7<<0x18|_0x19e7d7>>>0x8)&0xff00ff00;}return _0x2564c5;},'clone':function(){const _0x19cce8=_0x51a7a1;var _0x1275b8=_0x5cc5ba[_0x19cce8(0x2d0)]['call'](this);return _0x1275b8[_0x19cce8(0x396)]=this[_0x19cce8(0x396)]['clone'](),_0x1275b8;}});function _0x19fe53(_0x4b7d77,_0x598662,_0x1935c2,_0x5836bb,_0x5acf70,_0x5a547,_0x206d95){var _0xee586c=_0x4b7d77+(_0x598662&_0x1935c2|~_0x598662&_0x5836bb)+_0x5acf70+_0x206d95;return(_0xee586c<<_0x5a547|_0xee586c>>>0x20-_0x5a547)+_0x598662;}function _0x2c7a83(_0x215c39,_0x4d36e8,_0x532a4b,_0x4daba6,_0x207602,_0x51f5b6,_0x55dc83){var _0x32665a=_0x215c39+(_0x4d36e8&_0x4daba6|_0x532a4b&~_0x4daba6)+_0x207602+_0x55dc83;return(_0x32665a<<_0x51f5b6|_0x32665a>>>0x20-_0x51f5b6)+_0x4d36e8;}function _0x89bf2b(_0x17db78,_0x530e42,_0x5169c3,_0x1dcb8a,_0x36cd54,_0x345a7c,_0x13601d){var _0x5934e5=_0x17db78+(_0x530e42^_0x5169c3^_0x1dcb8a)+_0x36cd54+_0x13601d;return(_0x5934e5<<_0x345a7c|_0x5934e5>>>0x20-_0x345a7c)+_0x530e42;}function _0x60fd80(_0x193f8a,_0x579d43,_0x4c2ed0,_0x518b92,_0x1ce453,_0x1904cc,_0x35f08e){var _0x113286=_0x193f8a+(_0x4c2ed0^(_0x579d43|~_0x518b92))+_0x1ce453+_0x35f08e;return(_0x113286<<_0x1904cc|_0x113286>>>0x20-_0x1904cc)+_0x579d43;}_0x448b46['MD5']=_0x5cc5ba[_0x51a7a1(0x327)](_0x43e178),_0x448b46[_0x51a7a1(0x3f4)]=_0x5cc5ba[_0x51a7a1(0x263)](_0x43e178);}(Math),_0x5a5902[_0xab0662(0x392)];}));}(Gt)),Gt[_0x2e268e(0x357)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function xa(){return Qs||(Qs=0x1,function(_0x243a78,_0x392d38){(function(_0x8305c,_0x35a101){const _0x27c4bc=_0x16eb;_0x243a78[_0x27c4bc(0x357)]=_0x35a101(ue());}(Z,function(_0x149b21){const _0x33283d=_0x16eb;return(function(){const _0x329d71=_0x16eb;var _0x3eaa03=_0x149b21,_0x443dcd=_0x3eaa03[_0x329d71(0x3c7)],_0x5288fe=_0x443dcd[_0x329d71(0x587)],_0x1782f7=_0x443dcd['Hasher'],_0x42d25c=_0x3eaa03[_0x329d71(0x4cb)],_0x3b9c88=[],_0x1ac72d=_0x42d25c[_0x329d71(0x1dc)]=_0x1782f7['extend']({'_doReset':function(){this['_hash']=new _0x5288fe['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2a3357,_0x24d9ce){const _0x5b91bd=_0x329d71;for(var _0x33366f=this['_hash'][_0x5b91bd(0x3ea)],_0x5524fd=_0x33366f[0x0],_0x513eab=_0x33366f[0x1],_0x15e951=_0x33366f[0x2],_0xc1a699=_0x33366f[0x3],_0x5c0126=_0x33366f[0x4],_0x50d035=0x0;_0x50d035<0x50;_0x50d035++){if(_0x50d035<0x10)_0x3b9c88[_0x50d035]=_0x2a3357[_0x24d9ce+_0x50d035]|0x0;else{var _0x304d21=_0x3b9c88[_0x50d035-0x3]^_0x3b9c88[_0x50d035-0x8]^_0x3b9c88[_0x50d035-0xe]^_0x3b9c88[_0x50d035-0x10];_0x3b9c88[_0x50d035]=_0x304d21<<0x1|_0x304d21>>>0x1f;}var _0x2272da=(_0x5524fd<<0x5|_0x5524fd>>>0x1b)+_0x5c0126+_0x3b9c88[_0x50d035];_0x50d035<0x14?_0x2272da+=(_0x513eab&_0x15e951|~_0x513eab&_0xc1a699)+0x5a827999:_0x50d035<0x28?_0x2272da+=(_0x513eab^_0x15e951^_0xc1a699)+0x6ed9eba1:_0x50d035<0x3c?_0x2272da+=(_0x513eab&_0x15e951|_0x513eab&_0xc1a699|_0x15e951&_0xc1a699)-0x70e44324:_0x2272da+=(_0x513eab^_0x15e951^_0xc1a699)-0x359d3e2a,_0x5c0126=_0xc1a699,_0xc1a699=_0x15e951,_0x15e951=_0x513eab<<0x1e|_0x513eab>>>0x2,_0x513eab=_0x5524fd,_0x5524fd=_0x2272da;}_0x33366f[0x0]=_0x33366f[0x0]+_0x5524fd|0x0,_0x33366f[0x1]=_0x33366f[0x1]+_0x513eab|0x0,_0x33366f[0x2]=_0x33366f[0x2]+_0x15e951|0x0,_0x33366f[0x3]=_0x33366f[0x3]+_0xc1a699|0x0,_0x33366f[0x4]=_0x33366f[0x4]+_0x5c0126|0x0;},'_doFinalize':function(){const _0x1ab8cd=_0x329d71;var _0x546460=this[_0x1ab8cd(0x460)],_0x32f502=_0x546460['words'],_0x5900e3=this['_nDataBytes']*0x8,_0x4af1b4=_0x546460[_0x1ab8cd(0x420)]*0x8;return _0x32f502[_0x4af1b4>>>0x5]|=0x80<<0x18-_0x4af1b4%0x20,_0x32f502[(_0x4af1b4+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x5900e3/0x100000000),_0x32f502[(_0x4af1b4+0x40>>>0x9<<0x4)+0xf]=_0x5900e3,_0x546460[_0x1ab8cd(0x420)]=_0x32f502[_0x1ab8cd(0x3f7)]*0x4,this['_process'](),this[_0x1ab8cd(0x396)];},'clone':function(){const _0x44d3a8=_0x329d71;var _0x3acbe4=_0x1782f7[_0x44d3a8(0x2d0)][_0x44d3a8(0x4c9)](this);return _0x3acbe4[_0x44d3a8(0x396)]=this[_0x44d3a8(0x396)]['clone'](),_0x3acbe4;}});_0x3eaa03[_0x329d71(0x1dc)]=_0x1782f7[_0x329d71(0x327)](_0x1ac72d),_0x3eaa03[_0x329d71(0x23b)]=_0x1782f7[_0x329d71(0x263)](_0x1ac72d);}()),_0x149b21[_0x33283d(0x1dc)];}));}(Kt)),Kt['exports'];}var zt={'exports':{}},ei;function La(){const _0x434e94=_0xb7df44;return ei||(ei=0x1,function(_0x255962,_0xfeb108){(function(_0x402e08,_0x285111){const _0xbabf66=_0x16eb;_0x255962[_0xbabf66(0x357)]=_0x285111(ue());}(Z,function(_0x1bbea7){(function(){const _0x2f7f1f=_0x16eb;var _0x3ba65a=_0x1bbea7,_0x4eb0a1=_0x3ba65a[_0x2f7f1f(0x3c7)],_0x4edad7=_0x4eb0a1[_0x2f7f1f(0x42a)],_0xb9817=_0x3ba65a[_0x2f7f1f(0x323)],_0x2bc528=_0xb9817[_0x2f7f1f(0x550)],_0x4eece6=_0x3ba65a['algo'];_0x4eece6[_0x2f7f1f(0x3df)]=_0x4edad7[_0x2f7f1f(0x41b)]({'init':function(_0xab36b4,_0x4a81a6){const _0x46e825=_0x2f7f1f;_0xab36b4=this[_0x46e825(0x42b)]=new _0xab36b4[(_0x46e825(0x509))](),typeof _0x4a81a6==_0x46e825(0x22d)&&(_0x4a81a6=_0x2bc528[_0x46e825(0x272)](_0x4a81a6));var _0x2a68bd=_0xab36b4['blockSize'],_0x21319c=_0x2a68bd*0x4;_0x4a81a6[_0x46e825(0x420)]>_0x21319c&&(_0x4a81a6=_0xab36b4[_0x46e825(0x557)](_0x4a81a6)),_0x4a81a6['clamp']();for(var _0x11eb70=this['_oKey']=_0x4a81a6[_0x46e825(0x2d0)](),_0x173a4a=this[_0x46e825(0x2fa)]=_0x4a81a6['clone'](),_0x357f93=_0x11eb70['words'],_0x3d20ef=_0x173a4a[_0x46e825(0x3ea)],_0x40856b=0x0;_0x40856b<_0x2a68bd;_0x40856b++)_0x357f93[_0x40856b]^=0x5c5c5c5c,_0x3d20ef[_0x40856b]^=0x36363636;_0x11eb70[_0x46e825(0x420)]=_0x173a4a[_0x46e825(0x420)]=_0x21319c,this['reset']();},'reset':function(){const _0x3bffdd=_0x2f7f1f;var _0x102ed1=this['_hasher'];_0x102ed1[_0x3bffdd(0x1e5)](),_0x102ed1[_0x3bffdd(0x2e7)](this[_0x3bffdd(0x2fa)]);},'update':function(_0x307a4b){const _0x5d4503=_0x2f7f1f;return this[_0x5d4503(0x42b)][_0x5d4503(0x2e7)](_0x307a4b),this;},'finalize':function(_0x3a02a7){const _0x588ab4=_0x2f7f1f;var _0x55c2ef=this[_0x588ab4(0x42b)],_0x5f3bf2=_0x55c2ef[_0x588ab4(0x557)](_0x3a02a7);_0x55c2ef[_0x588ab4(0x1e5)]();var _0xc0c59c=_0x55c2ef[_0x588ab4(0x557)](this[_0x588ab4(0x1da)][_0x588ab4(0x2d0)]()['concat'](_0x5f3bf2));return _0xc0c59c;}});}());}));}(zt)),zt[_0x434e94(0x357)];}var ti;function ki(){const _0x1e35c2=_0xb7df44;return ti||(ti=0x1,function(_0x259507,_0x4a14da){(function(_0x19889b,_0x44124d,_0x172a7a){const _0x3f500d=_0x16eb;_0x259507[_0x3f500d(0x357)]=_0x44124d(ue(),xa(),La());}(Z,function(_0x25b296){const _0x34d878=_0x16eb;return(function(){const _0x5559cf=_0x16eb;var _0x4e3837=_0x25b296,_0x4d921b=_0x4e3837[_0x5559cf(0x3c7)],_0x1cfa9f=_0x4d921b['Base'],_0x3cc856=_0x4d921b[_0x5559cf(0x587)],_0x104a86=_0x4e3837[_0x5559cf(0x4cb)],_0x159452=_0x104a86['MD5'],_0x2a58b8=_0x104a86[_0x5559cf(0x2b9)]=_0x1cfa9f['extend']({'cfg':_0x1cfa9f[_0x5559cf(0x41b)]({'keySize':0x80/0x20,'hasher':_0x159452,'iterations':0x1}),'init':function(_0x227f0a){const _0x52d686=_0x5559cf;this[_0x52d686(0x1cd)]=this[_0x52d686(0x1cd)]['extend'](_0x227f0a);},'compute':function(_0x56a1bd,_0x10bffb){const _0x4af2c4=_0x5559cf;for(var _0x30e50d,_0x8034f4=this[_0x4af2c4(0x1cd)],_0x345576=_0x8034f4['hasher'][_0x4af2c4(0x19e)](),_0x3e2777=_0x3cc856[_0x4af2c4(0x19e)](),_0x355e43=_0x3e2777[_0x4af2c4(0x3ea)],_0x500953=_0x8034f4[_0x4af2c4(0x203)],_0x48a14b=_0x8034f4[_0x4af2c4(0x2f2)];_0x355e43[_0x4af2c4(0x3f7)]<_0x500953;){_0x30e50d&&_0x345576[_0x4af2c4(0x2e7)](_0x30e50d),_0x30e50d=_0x345576[_0x4af2c4(0x2e7)](_0x56a1bd)[_0x4af2c4(0x557)](_0x10bffb),_0x345576['reset']();for(var _0x362c90=0x1;_0x362c90<_0x48a14b;_0x362c90++)_0x30e50d=_0x345576['finalize'](_0x30e50d),_0x345576['reset']();_0x3e2777[_0x4af2c4(0x391)](_0x30e50d);}return _0x3e2777[_0x4af2c4(0x420)]=_0x500953*0x4,_0x3e2777;}});_0x4e3837[_0x5559cf(0x2b9)]=function(_0x2af1c4,_0x331c33,_0xc88b15){const _0x206be4=_0x5559cf;return _0x2a58b8[_0x206be4(0x19e)](_0xc88b15)[_0x206be4(0x2a8)](_0x2af1c4,_0x331c33);};}()),_0x25b296[_0x34d878(0x2b9)];}));}(Yt)),Yt[_0x1e35c2(0x357)];}var qt={'exports':{}},si;function Wi(){const _0x5efdc5=_0xb7df44;return si||(si=0x1,function(_0x53d7c4,_0x432ca6){(function(_0x10ec39,_0x14b80e,_0x426e89){const _0x4dbb16=_0x16eb;_0x53d7c4[_0x4dbb16(0x357)]=_0x14b80e(ue(),ki());}(Z,function(_0x4d6283){const _0x534cc2=_0x16eb;_0x4d6283[_0x534cc2(0x3c7)]['Cipher']||function(_0x9b08f2){const _0x2e5bfd=_0x534cc2;var _0x27e55b=_0x4d6283,_0x504729=_0x27e55b[_0x2e5bfd(0x3c7)],_0xddafd3=_0x504729[_0x2e5bfd(0x42a)],_0x3bed6a=_0x504729[_0x2e5bfd(0x587)],_0x3afed0=_0x504729[_0x2e5bfd(0x3f3)],_0x585a56=_0x27e55b[_0x2e5bfd(0x323)];_0x585a56[_0x2e5bfd(0x550)];var _0x35f6c1=_0x585a56[_0x2e5bfd(0x301)],_0x1bbd72=_0x27e55b[_0x2e5bfd(0x4cb)],_0x3e4150=_0x1bbd72[_0x2e5bfd(0x2b9)],_0x49f70a=_0x504729['Cipher']=_0x3afed0[_0x2e5bfd(0x41b)]({'cfg':_0xddafd3[_0x2e5bfd(0x41b)](),'createEncryptor':function(_0x1df9f0,_0x3bcacb){const _0x21a8bf=_0x2e5bfd;return this[_0x21a8bf(0x19e)](this['_ENC_XFORM_MODE'],_0x1df9f0,_0x3bcacb);},'createDecryptor':function(_0x533fbf,_0x53108c){const _0x116835=_0x2e5bfd;return this[_0x116835(0x19e)](this[_0x116835(0x35e)],_0x533fbf,_0x53108c);},'init':function(_0xb7b834,_0x3eb805,_0x46a842){const _0x1a992c=_0x2e5bfd;this['cfg']=this[_0x1a992c(0x1cd)]['extend'](_0x46a842),this[_0x1a992c(0x47e)]=_0xb7b834,this['_key']=_0x3eb805,this['reset']();},'reset':function(){const _0x3f8d62=_0x2e5bfd;_0x3afed0['reset'][_0x3f8d62(0x4c9)](this),this[_0x3f8d62(0x2a6)]();},'process':function(_0x3b26c4){const _0x489133=_0x2e5bfd;return this[_0x489133(0x212)](_0x3b26c4),this['_process']();},'finalize':function(_0x362e52){const _0x4dec5a=_0x2e5bfd;_0x362e52&&this[_0x4dec5a(0x212)](_0x362e52);var _0x381f1e=this[_0x4dec5a(0x2a1)]();return _0x381f1e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xc6ea24(_0x2209ef){const _0x31d227=_0x16eb;return typeof _0x2209ef==_0x31d227(0x22d)?_0x57977e:_0x4a0d05;}return function(_0x1f1da7){return{'encrypt':function(_0x476dea,_0xbac270,_0x53d0c1){const _0x4382db=_0x16eb;return _0xc6ea24(_0xbac270)[_0x4382db(0x25a)](_0x1f1da7,_0x476dea,_0xbac270,_0x53d0c1);},'decrypt':function(_0x1fed0c,_0x5e11a3,_0x88e7b9){const _0xd0cd28=_0x16eb;return _0xc6ea24(_0x5e11a3)[_0xd0cd28(0x1d3)](_0x1f1da7,_0x1fed0c,_0x5e11a3,_0x88e7b9);}};};}())});_0x504729[_0x2e5bfd(0x4ab)]=_0x49f70a[_0x2e5bfd(0x41b)]({'_doFinalize':function(){const _0x30c6d1=_0x2e5bfd;var _0x226937=this[_0x30c6d1(0x294)](!0x0);return _0x226937;},'blockSize':0x1});var _0x45793a=_0x27e55b[_0x2e5bfd(0x249)]={},_0x475dff=_0x504729[_0x2e5bfd(0x3bc)]=_0xddafd3['extend']({'createEncryptor':function(_0x268d45,_0x21007e){const _0x2f57ba=_0x2e5bfd;return this[_0x2f57ba(0x3c1)][_0x2f57ba(0x19e)](_0x268d45,_0x21007e);},'createDecryptor':function(_0x221949,_0x3b4b0b){const _0x366dd5=_0x2e5bfd;return this[_0x366dd5(0x42c)][_0x366dd5(0x19e)](_0x221949,_0x3b4b0b);},'init':function(_0x167286,_0x4b9448){const _0x2c3afb=_0x2e5bfd;this['_cipher']=_0x167286,this[_0x2c3afb(0x44f)]=_0x4b9448;}}),_0x331264=_0x45793a[_0x2e5bfd(0x45d)]=(function(){const _0x24d5eb=_0x2e5bfd;var _0x581369=_0x475dff[_0x24d5eb(0x41b)]();_0x581369[_0x24d5eb(0x3c1)]=_0x581369[_0x24d5eb(0x41b)]({'processBlock':function(_0x20fc2e,_0x153238){const _0x4b62d6=_0x24d5eb;var _0x127073=this[_0x4b62d6(0x455)],_0x11ece1=_0x127073['blockSize'];_0x44ef50['call'](this,_0x20fc2e,_0x153238,_0x11ece1),_0x127073[_0x4b62d6(0x286)](_0x20fc2e,_0x153238),this['_prevBlock']=_0x20fc2e['slice'](_0x153238,_0x153238+_0x11ece1);}}),_0x581369['Decryptor']=_0x581369[_0x24d5eb(0x41b)]({'processBlock':function(_0x5836cf,_0x4809c4){const _0x437221=_0x24d5eb;var _0x1d88ee=this[_0x437221(0x455)],_0x583fbd=_0x1d88ee[_0x437221(0x501)],_0x259cfb=_0x5836cf[_0x437221(0x230)](_0x4809c4,_0x4809c4+_0x583fbd);_0x1d88ee['decryptBlock'](_0x5836cf,_0x4809c4),_0x44ef50[_0x437221(0x4c9)](this,_0x5836cf,_0x4809c4,_0x583fbd),this['_prevBlock']=_0x259cfb;}});function _0x44ef50(_0x5465b7,_0x1a2ff0,_0x1a500d){const _0x3b31a2=_0x24d5eb;var _0x3d9eb9,_0x1dcf2b=this[_0x3b31a2(0x44f)];_0x1dcf2b?(_0x3d9eb9=_0x1dcf2b,this[_0x3b31a2(0x44f)]=_0x9b08f2):_0x3d9eb9=this[_0x3b31a2(0x415)];for(var _0x448f01=0x0;_0x448f01<_0x1a500d;_0x448f01++)_0x5465b7[_0x1a2ff0+_0x448f01]^=_0x3d9eb9[_0x448f01];}return _0x581369;}()),_0x2f6c99=_0x27e55b[_0x2e5bfd(0x53d)]={},_0x299935=_0x2f6c99[_0x2e5bfd(0x4de)]={'pad':function(_0xb277e1,_0xcbd958){const _0x5b6359=_0x2e5bfd;for(var _0x5b0e9f=_0xcbd958*0x4,_0x32740b=_0x5b0e9f-_0xb277e1['sigBytes']%_0x5b0e9f,_0xabc08e=_0x32740b<<0x18|_0x32740b<<0x10|_0x32740b<<0x8|_0x32740b,_0x1207e4=[],_0x5927f9=0x0;_0x5927f9<_0x32740b;_0x5927f9+=0x4)_0x1207e4[_0x5b6359(0x1c5)](_0xabc08e);var _0x24eb9b=_0x3bed6a[_0x5b6359(0x19e)](_0x1207e4,_0x32740b);_0xb277e1[_0x5b6359(0x391)](_0x24eb9b);},'unpad':function(_0x51758a){const _0x2846ec=_0x2e5bfd;var _0x38004a=_0x51758a[_0x2846ec(0x3ea)][_0x51758a[_0x2846ec(0x420)]-0x1>>>0x2]&0xff;_0x51758a[_0x2846ec(0x420)]-=_0x38004a;}};_0x504729[_0x2e5bfd(0x24d)]=_0x49f70a[_0x2e5bfd(0x41b)]({'cfg':_0x49f70a[_0x2e5bfd(0x1cd)]['extend']({'mode':_0x331264,'padding':_0x299935}),'reset':function(){const _0x18b2da=_0x2e5bfd;var _0x164e53;_0x49f70a[_0x18b2da(0x1e5)][_0x18b2da(0x4c9)](this);var _0x133617=this['cfg'],_0x32302c=_0x133617['iv'],_0x4df1e8=_0x133617[_0x18b2da(0x249)];this[_0x18b2da(0x47e)]==this[_0x18b2da(0x3ce)]?_0x164e53=_0x4df1e8[_0x18b2da(0x1aa)]:(_0x164e53=_0x4df1e8[_0x18b2da(0x1d4)],this[_0x18b2da(0x402)]=0x1),this[_0x18b2da(0x17f)]&&this[_0x18b2da(0x17f)]['__creator']==_0x164e53?this[_0x18b2da(0x17f)][_0x18b2da(0x509)](this,_0x32302c&&_0x32302c['words']):(this['_mode']=_0x164e53[_0x18b2da(0x4c9)](_0x4df1e8,this,_0x32302c&&_0x32302c[_0x18b2da(0x3ea)]),this[_0x18b2da(0x17f)][_0x18b2da(0x411)]=_0x164e53);},'_doProcessBlock':function(_0x496eac,_0x5d39e0){const _0x5a5db9=_0x2e5bfd;this[_0x5a5db9(0x17f)][_0x5a5db9(0x21a)](_0x496eac,_0x5d39e0);},'_doFinalize':function(){const _0xc7f04=_0x2e5bfd;var _0xcf33d4,_0x1e22e4=this[_0xc7f04(0x1cd)][_0xc7f04(0x378)];return this[_0xc7f04(0x47e)]==this[_0xc7f04(0x3ce)]?(_0x1e22e4[_0xc7f04(0x53d)](this[_0xc7f04(0x460)],this[_0xc7f04(0x501)]),_0xcf33d4=this[_0xc7f04(0x294)](!0x0)):(_0xcf33d4=this[_0xc7f04(0x294)](!0x0),_0x1e22e4[_0xc7f04(0x52e)](_0xcf33d4)),_0xcf33d4;},'blockSize':0x80/0x20});var _0x5485a3=_0x504729[_0x2e5bfd(0x26b)]=_0xddafd3[_0x2e5bfd(0x41b)]({'init':function(_0x5ab33b){const _0x565991=_0x2e5bfd;this[_0x565991(0x2a3)](_0x5ab33b);},'toString':function(_0xd73c95){const _0x2d0ad4=_0x2e5bfd;return(_0xd73c95||this[_0x2d0ad4(0x26d)])[_0x2d0ad4(0x41d)](this);}}),_0x209c98=_0x27e55b[_0x2e5bfd(0x3de)]={},_0x898e22=_0x209c98[_0x2e5bfd(0x375)]={'stringify':function(_0x270583){const _0x3a2da0=_0x2e5bfd;var _0x565a4e,_0x31461a=_0x270583[_0x3a2da0(0x36b)],_0x47f54e=_0x270583[_0x3a2da0(0x46f)];return _0x47f54e?_0x565a4e=_0x3bed6a[_0x3a2da0(0x19e)]([0x53616c74,0x65645f5f])[_0x3a2da0(0x391)](_0x47f54e)['concat'](_0x31461a):_0x565a4e=_0x31461a,_0x565a4e['toString'](_0x35f6c1);},'parse':function(_0x1c06e4){const _0x4f39d8=_0x2e5bfd;var _0x1553e2,_0x4a68bc=_0x35f6c1['parse'](_0x1c06e4),_0x542513=_0x4a68bc[_0x4f39d8(0x3ea)];return _0x542513[0x0]==0x53616c74&&_0x542513[0x1]==0x65645f5f&&(_0x1553e2=_0x3bed6a[_0x4f39d8(0x19e)](_0x542513['slice'](0x2,0x4)),_0x542513['splice'](0x0,0x4),_0x4a68bc[_0x4f39d8(0x420)]-=0x10),_0x5485a3['create']({'ciphertext':_0x4a68bc,'salt':_0x1553e2});}},_0x4a0d05=_0x504729[_0x2e5bfd(0x219)]=_0xddafd3[_0x2e5bfd(0x41b)]({'cfg':_0xddafd3['extend']({'format':_0x898e22}),'encrypt':function(_0xf25812,_0x2055f0,_0x4a1e41,_0x5e8fe9){const _0x13b3d2=_0x2e5bfd;_0x5e8fe9=this['cfg'][_0x13b3d2(0x41b)](_0x5e8fe9);var _0x28ae00=_0xf25812[_0x13b3d2(0x1aa)](_0x4a1e41,_0x5e8fe9),_0x2b1334=_0x28ae00[_0x13b3d2(0x557)](_0x2055f0),_0x302b4f=_0x28ae00[_0x13b3d2(0x1cd)];return _0x5485a3['create']({'ciphertext':_0x2b1334,'key':_0x4a1e41,'iv':_0x302b4f['iv'],'algorithm':_0xf25812,'mode':_0x302b4f[_0x13b3d2(0x249)],'padding':_0x302b4f[_0x13b3d2(0x378)],'blockSize':_0xf25812[_0x13b3d2(0x501)],'formatter':_0x5e8fe9['format']});},'decrypt':function(_0x3548e4,_0x3a2ef4,_0x264b63,_0x10d5d2){const _0x36be3c=_0x2e5bfd;_0x10d5d2=this[_0x36be3c(0x1cd)][_0x36be3c(0x41b)](_0x10d5d2),_0x3a2ef4=this['_parse'](_0x3a2ef4,_0x10d5d2[_0x36be3c(0x3de)]);var _0x42ef35=_0x3548e4[_0x36be3c(0x1d4)](_0x264b63,_0x10d5d2)[_0x36be3c(0x557)](_0x3a2ef4['ciphertext']);return _0x42ef35;},'_parse':function(_0x54d483,_0x1c36d3){const _0xf6989c=_0x2e5bfd;return typeof _0x54d483==_0xf6989c(0x22d)?_0x1c36d3[_0xf6989c(0x272)](_0x54d483,this):_0x54d483;}}),_0x22af25=_0x27e55b[_0x2e5bfd(0x2ba)]={},_0x57fd61=_0x22af25['OpenSSL']={'execute':function(_0x2879ad,_0x517523,_0x53c1ee,_0x3fac84,_0x11b2fd){const _0x241167=_0x2e5bfd;if(_0x3fac84||(_0x3fac84=_0x3bed6a[_0x241167(0x462)](0x40/0x8)),_0x11b2fd)var _0x15d9ed=_0x3e4150[_0x241167(0x19e)]({'keySize':_0x517523+_0x53c1ee,'hasher':_0x11b2fd})[_0x241167(0x2a8)](_0x2879ad,_0x3fac84);else var _0x15d9ed=_0x3e4150[_0x241167(0x19e)]({'keySize':_0x517523+_0x53c1ee})['compute'](_0x2879ad,_0x3fac84);var _0xc1c18d=_0x3bed6a[_0x241167(0x19e)](_0x15d9ed[_0x241167(0x3ea)][_0x241167(0x230)](_0x517523),_0x53c1ee*0x4);return _0x15d9ed[_0x241167(0x420)]=_0x517523*0x4,_0x5485a3[_0x241167(0x19e)]({'key':_0x15d9ed,'iv':_0xc1c18d,'salt':_0x3fac84});}},_0x57977e=_0x504729[_0x2e5bfd(0x33b)]=_0x4a0d05['extend']({'cfg':_0x4a0d05['cfg']['extend']({'kdf':_0x57fd61}),'encrypt':function(_0x11c17d,_0x4d5c97,_0xc48d5d,_0x565ae7){const _0x41610e=_0x2e5bfd;_0x565ae7=this[_0x41610e(0x1cd)]['extend'](_0x565ae7);var _0x544fc3=_0x565ae7[_0x41610e(0x2ba)][_0x41610e(0x469)](_0xc48d5d,_0x11c17d[_0x41610e(0x203)],_0x11c17d[_0x41610e(0x3ad)],_0x565ae7[_0x41610e(0x46f)],_0x565ae7[_0x41610e(0x514)]);_0x565ae7['iv']=_0x544fc3['iv'];var _0x3cf088=_0x4a0d05[_0x41610e(0x25a)][_0x41610e(0x4c9)](this,_0x11c17d,_0x4d5c97,_0x544fc3[_0x41610e(0x574)],_0x565ae7);return _0x3cf088[_0x41610e(0x2a3)](_0x544fc3),_0x3cf088;},'decrypt':function(_0x26a7d4,_0x28de93,_0x22637f,_0x57ab3c){const _0x29ba29=_0x2e5bfd;_0x57ab3c=this[_0x29ba29(0x1cd)][_0x29ba29(0x41b)](_0x57ab3c),_0x28de93=this['_parse'](_0x28de93,_0x57ab3c[_0x29ba29(0x3de)]);var _0x4860b2=_0x57ab3c[_0x29ba29(0x2ba)][_0x29ba29(0x469)](_0x22637f,_0x26a7d4[_0x29ba29(0x203)],_0x26a7d4[_0x29ba29(0x3ad)],_0x28de93[_0x29ba29(0x46f)],_0x57ab3c[_0x29ba29(0x514)]);_0x57ab3c['iv']=_0x4860b2['iv'];var _0x4b9553=_0x4a0d05[_0x29ba29(0x1d3)]['call'](this,_0x26a7d4,_0x28de93,_0x4860b2[_0x29ba29(0x574)],_0x57ab3c);return _0x4b9553;}});}();}));}(qt)),qt[_0x5efdc5(0x357)];}(function(_0x30fac3,_0x4832c0){(function(_0x3abe48,_0x2f3c31,_0x44149f){const _0x26f373=_0x16eb;_0x30fac3[_0x26f373(0x357)]=_0x2f3c31(ue(),Bi(),Ma(),ki(),Wi());}(Z,function(_0x2bd097){const _0x4eb7ff=_0x16eb;return(function(){const _0x3c5010=_0x16eb;var _0x5837a7=_0x2bd097,_0x2ea9a6=_0x5837a7[_0x3c5010(0x3c7)],_0x583b66=_0x2ea9a6[_0x3c5010(0x24d)],_0x11d72e=_0x5837a7[_0x3c5010(0x4cb)],_0x2301d4=[],_0x1886af=[],_0xfe9f54=[],_0xc54566=[],_0x2846cf=[],_0xa2b2f5=[],_0x48f430=[],_0x4f05f9=[],_0x11cfc7=[],_0x18e330=[];(function(){for(var _0x240fa9=[],_0x13f7f3=0x0;_0x13f7f3<0x100;_0x13f7f3++)_0x13f7f3<0x80?_0x240fa9[_0x13f7f3]=_0x13f7f3<<0x1:_0x240fa9[_0x13f7f3]=_0x13f7f3<<0x1^0x11b;for(var _0x3c6862=0x0,_0x280c8e=0x0,_0x13f7f3=0x0;_0x13f7f3<0x100;_0x13f7f3++){var _0x488397=_0x280c8e^_0x280c8e<<0x1^_0x280c8e<<0x2^_0x280c8e<<0x3^_0x280c8e<<0x4;_0x488397=_0x488397>>>0x8^_0x488397&0xff^0x63,_0x2301d4[_0x3c6862]=_0x488397,_0x1886af[_0x488397]=_0x3c6862;var _0x28cd65=_0x240fa9[_0x3c6862],_0x34e858=_0x240fa9[_0x28cd65],_0x78bcc2=_0x240fa9[_0x34e858],_0x506abd=_0x240fa9[_0x488397]*0x101^_0x488397*0x1010100;_0xfe9f54[_0x3c6862]=_0x506abd<<0x18|_0x506abd>>>0x8,_0xc54566[_0x3c6862]=_0x506abd<<0x10|_0x506abd>>>0x10,_0x2846cf[_0x3c6862]=_0x506abd<<0x8|_0x506abd>>>0x18,_0xa2b2f5[_0x3c6862]=_0x506abd;var _0x506abd=_0x78bcc2*0x1010101^_0x34e858*0x10001^_0x28cd65*0x101^_0x3c6862*0x1010100;_0x48f430[_0x488397]=_0x506abd<<0x18|_0x506abd>>>0x8,_0x4f05f9[_0x488397]=_0x506abd<<0x10|_0x506abd>>>0x10,_0x11cfc7[_0x488397]=_0x506abd<<0x8|_0x506abd>>>0x18,_0x18e330[_0x488397]=_0x506abd,_0x3c6862?(_0x3c6862=_0x28cd65^_0x240fa9[_0x240fa9[_0x240fa9[_0x78bcc2^_0x28cd65]]],_0x280c8e^=_0x240fa9[_0x240fa9[_0x280c8e]]):_0x3c6862=_0x280c8e=0x1;}}());var _0x28ba37=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1c9e16=_0x11d72e[_0x3c5010(0x2db)]=_0x583b66[_0x3c5010(0x41b)]({'_doReset':function(){const _0xcea2c7=_0x3c5010;var _0x23d853;if(!(this[_0xcea2c7(0x35b)]&&this['_keyPriorReset']===this[_0xcea2c7(0x198)])){for(var _0x37ec3f=this[_0xcea2c7(0x247)]=this[_0xcea2c7(0x198)],_0x437e80=_0x37ec3f['words'],_0x43e92b=_0x37ec3f[_0xcea2c7(0x420)]/0x4,_0x2a9d33=this[_0xcea2c7(0x35b)]=_0x43e92b+0x6,_0x2f977f=(_0x2a9d33+0x1)*0x4,_0x47876d=this[_0xcea2c7(0x4ac)]=[],_0x20a61c=0x0;_0x20a61c<_0x2f977f;_0x20a61c++)_0x20a61c<_0x43e92b?_0x47876d[_0x20a61c]=_0x437e80[_0x20a61c]:(_0x23d853=_0x47876d[_0x20a61c-0x1],_0x20a61c%_0x43e92b?_0x43e92b>0x6&&_0x20a61c%_0x43e92b==0x4&&(_0x23d853=_0x2301d4[_0x23d853>>>0x18]<<0x18|_0x2301d4[_0x23d853>>>0x10&0xff]<<0x10|_0x2301d4[_0x23d853>>>0x8&0xff]<<0x8|_0x2301d4[_0x23d853&0xff]):(_0x23d853=_0x23d853<<0x8|_0x23d853>>>0x18,_0x23d853=_0x2301d4[_0x23d853>>>0x18]<<0x18|_0x2301d4[_0x23d853>>>0x10&0xff]<<0x10|_0x2301d4[_0x23d853>>>0x8&0xff]<<0x8|_0x2301d4[_0x23d853&0xff],_0x23d853^=_0x28ba37[_0x20a61c/_0x43e92b|0x0]<<0x18),_0x47876d[_0x20a61c]=_0x47876d[_0x20a61c-_0x43e92b]^_0x23d853);for(var _0x9f07ad=this[_0xcea2c7(0x430)]=[],_0x522aae=0x0;_0x522aae<_0x2f977f;_0x522aae++){var _0x20a61c=_0x2f977f-_0x522aae;if(_0x522aae%0x4)var _0x23d853=_0x47876d[_0x20a61c];else var _0x23d853=_0x47876d[_0x20a61c-0x4];_0x522aae<0x4||_0x20a61c<=0x4?_0x9f07ad[_0x522aae]=_0x23d853:_0x9f07ad[_0x522aae]=_0x48f430[_0x2301d4[_0x23d853>>>0x18]]^_0x4f05f9[_0x2301d4[_0x23d853>>>0x10&0xff]]^_0x11cfc7[_0x2301d4[_0x23d853>>>0x8&0xff]]^_0x18e330[_0x2301d4[_0x23d853&0xff]];}}},'encryptBlock':function(_0x27e0ea,_0x52b3bf){const _0x4dd84b=_0x3c5010;this['_doCryptBlock'](_0x27e0ea,_0x52b3bf,this[_0x4dd84b(0x4ac)],_0xfe9f54,_0xc54566,_0x2846cf,_0xa2b2f5,_0x2301d4);},'decryptBlock':function(_0x83d66c,_0x5c2ba0){const _0x1b059c=_0x3c5010;var _0x37b0d0=_0x83d66c[_0x5c2ba0+0x1];_0x83d66c[_0x5c2ba0+0x1]=_0x83d66c[_0x5c2ba0+0x3],_0x83d66c[_0x5c2ba0+0x3]=_0x37b0d0,this[_0x1b059c(0x221)](_0x83d66c,_0x5c2ba0,this[_0x1b059c(0x430)],_0x48f430,_0x4f05f9,_0x11cfc7,_0x18e330,_0x1886af);var _0x37b0d0=_0x83d66c[_0x5c2ba0+0x1];_0x83d66c[_0x5c2ba0+0x1]=_0x83d66c[_0x5c2ba0+0x3],_0x83d66c[_0x5c2ba0+0x3]=_0x37b0d0;},'_doCryptBlock':function(_0x35dd52,_0x58806a,_0x3100ef,_0x40aef9,_0x18a0fe,_0x4112b9,_0x3f789b,_0x2839ff){const _0x4e2a1a=_0x3c5010;for(var _0x353ba6=this[_0x4e2a1a(0x35b)],_0x48bd08=_0x35dd52[_0x58806a]^_0x3100ef[0x0],_0x45b06a=_0x35dd52[_0x58806a+0x1]^_0x3100ef[0x1],_0x1be03d=_0x35dd52[_0x58806a+0x2]^_0x3100ef[0x2],_0x19b195=_0x35dd52[_0x58806a+0x3]^_0x3100ef[0x3],_0x245d5b=0x4,_0x5814ca=0x1;_0x5814ca<_0x353ba6;_0x5814ca++){var _0x56c81a=_0x40aef9[_0x48bd08>>>0x18]^_0x18a0fe[_0x45b06a>>>0x10&0xff]^_0x4112b9[_0x1be03d>>>0x8&0xff]^_0x3f789b[_0x19b195&0xff]^_0x3100ef[_0x245d5b++],_0x3a68fb=_0x40aef9[_0x45b06a>>>0x18]^_0x18a0fe[_0x1be03d>>>0x10&0xff]^_0x4112b9[_0x19b195>>>0x8&0xff]^_0x3f789b[_0x48bd08&0xff]^_0x3100ef[_0x245d5b++],_0x1e4514=_0x40aef9[_0x1be03d>>>0x18]^_0x18a0fe[_0x19b195>>>0x10&0xff]^_0x4112b9[_0x48bd08>>>0x8&0xff]^_0x3f789b[_0x45b06a&0xff]^_0x3100ef[_0x245d5b++],_0x39a429=_0x40aef9[_0x19b195>>>0x18]^_0x18a0fe[_0x48bd08>>>0x10&0xff]^_0x4112b9[_0x45b06a>>>0x8&0xff]^_0x3f789b[_0x1be03d&0xff]^_0x3100ef[_0x245d5b++];_0x48bd08=_0x56c81a,_0x45b06a=_0x3a68fb,_0x1be03d=_0x1e4514,_0x19b195=_0x39a429;}var _0x56c81a=(_0x2839ff[_0x48bd08>>>0x18]<<0x18|_0x2839ff[_0x45b06a>>>0x10&0xff]<<0x10|_0x2839ff[_0x1be03d>>>0x8&0xff]<<0x8|_0x2839ff[_0x19b195&0xff])^_0x3100ef[_0x245d5b++],_0x3a68fb=(_0x2839ff[_0x45b06a>>>0x18]<<0x18|_0x2839ff[_0x1be03d>>>0x10&0xff]<<0x10|_0x2839ff[_0x19b195>>>0x8&0xff]<<0x8|_0x2839ff[_0x48bd08&0xff])^_0x3100ef[_0x245d5b++],_0x1e4514=(_0x2839ff[_0x1be03d>>>0x18]<<0x18|_0x2839ff[_0x19b195>>>0x10&0xff]<<0x10|_0x2839ff[_0x48bd08>>>0x8&0xff]<<0x8|_0x2839ff[_0x45b06a&0xff])^_0x3100ef[_0x245d5b++],_0x39a429=(_0x2839ff[_0x19b195>>>0x18]<<0x18|_0x2839ff[_0x48bd08>>>0x10&0xff]<<0x10|_0x2839ff[_0x45b06a>>>0x8&0xff]<<0x8|_0x2839ff[_0x1be03d&0xff])^_0x3100ef[_0x245d5b++];_0x35dd52[_0x58806a]=_0x56c81a,_0x35dd52[_0x58806a+0x1]=_0x3a68fb,_0x35dd52[_0x58806a+0x2]=_0x1e4514,_0x35dd52[_0x58806a+0x3]=_0x39a429;},'keySize':0x100/0x20});_0x5837a7['AES']=_0x583b66[_0x3c5010(0x327)](_0x1c9e16);}()),_0x2bd097[_0x4eb7ff(0x2db)];}));}(ji));var $a=ji['exports'];const Ha=at($a);var ja=Bi();const ii=at(ja);var Fi={'exports':{}};(function(_0x360eaa,_0x1beb1f){(function(_0xdecf20,_0x13c766){const _0x2945be=_0x16eb;_0x360eaa[_0x2945be(0x357)]=_0x13c766(ue());}(Z,function(_0x59f45e){const _0x2709ae=_0x16eb;return _0x59f45e['enc'][_0x2709ae(0x550)];}));}(Fi));var Ba=Fi[_0xb7df44(0x357)];const ka=at(Ba);var Vi={'exports':{}};(function(_0xe43156,_0x2b8649){(function(_0x4122b5,_0x4177fc){_0xe43156['exports']=_0x4177fc(ue());}(Z,function(_0x39f124){const _0x1a92fd=_0x16eb;return(function(){const _0x48eae5=_0x16eb;if(typeof ArrayBuffer=='function'){var _0x51e6f2=_0x39f124,_0x5a490a=_0x51e6f2['lib'],_0x1ced7f=_0x5a490a[_0x48eae5(0x587)],_0x3e222d=_0x1ced7f['init'],_0x2087c0=_0x1ced7f[_0x48eae5(0x509)]=function(_0x1ca39f){const _0x5246af=_0x48eae5;if(_0x1ca39f instanceof ArrayBuffer&&(_0x1ca39f=new Uint8Array(_0x1ca39f)),(_0x1ca39f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1ca39f instanceof Uint8ClampedArray||_0x1ca39f instanceof Int16Array||_0x1ca39f instanceof Uint16Array||_0x1ca39f instanceof Int32Array||_0x1ca39f instanceof Uint32Array||_0x1ca39f instanceof Float32Array||_0x1ca39f instanceof Float64Array)&&(_0x1ca39f=new Uint8Array(_0x1ca39f[_0x5246af(0x1cb)],_0x1ca39f[_0x5246af(0x2b5)],_0x1ca39f[_0x5246af(0x56d)])),_0x1ca39f instanceof Uint8Array){for(var _0x2f603c=_0x1ca39f['byteLength'],_0x4693bc=[],_0x478518=0x0;_0x478518<_0x2f603c;_0x478518++)_0x4693bc[_0x478518>>>0x2]|=_0x1ca39f[_0x478518]<<0x18-_0x478518%0x4*0x8;_0x3e222d[_0x5246af(0x4c9)](this,_0x4693bc,_0x2f603c);}else _0x3e222d['apply'](this,arguments);};_0x2087c0[_0x48eae5(0x46d)]=_0x1ced7f;}}()),_0x39f124[_0x1a92fd(0x3c7)][_0x1a92fd(0x587)];}));}(Vi));var Wa=Vi[_0xb7df44(0x357)];function _0x16eb(_0x14d06e,_0xf75a63){const _0x1c3438=_0x1c34();return _0x16eb=function(_0x16eb58,_0xa5784a){_0x16eb58=_0x16eb58-0x17f;let _0x446562=_0x1c3438[_0x16eb58];return _0x446562;},_0x16eb(_0x14d06e,_0xf75a63);}const Fa=at(Wa);var Gi={'exports':{}};(function(_0x30adfc,_0x55027a){(function(_0x4d113e,_0x512492,_0x40fa72){const _0x5130ad=_0x16eb;_0x30adfc[_0x5130ad(0x357)]=_0x512492(ue(),Wi());}(Z,function(_0x1eae21){const _0x1f9aa5=_0x16eb;return _0x1eae21[_0x1f9aa5(0x53d)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x1eae21[_0x1f9aa5(0x53d)][_0x1f9aa5(0x594)];}));}(Gi));var Va=Gi[_0xb7df44(0x357)];const Ga=at(Va);function Ya(_0x8d4810,_0x451631){const _0x448dd4=_0xb7df44,_0x344681=_0x451631-_0x8d4810[_0x448dd4(0x3f7)]%_0x451631,_0x3aa201=String['fromCharCode'](_0x344681)[_0x448dd4(0x3a4)](_0x344681);return _0x8d4810+_0x3aa201;}function Ka(_0x2a8e18,_0x486d5e){const _0x5401ff=_0xb7df44,_0x2a9db9=Fa[_0x5401ff(0x462)](0x10),_0x480606=Ya(_0x2a8e18,0x10),_0x154929=Ha[_0x5401ff(0x25a)](ka[_0x5401ff(0x272)](_0x480606),ii[_0x5401ff(0x272)](_0x486d5e),{'iv':_0x2a9db9,'padding':Ga});return _0x2a9db9[_0x5401ff(0x391)](_0x154929[_0x5401ff(0x36b)])['toString'](ii);}function za(){const _0x1b9348=_0xb7df44,_0x508a12=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x508a12){const _0x119346={'time':Math[_0x1b9348(0x4cc)](Date[_0x1b9348(0x349)]()/0x3e8),'domain':location[_0x1b9348(0x1f9)]};return Ka(JSON[_0x1b9348(0x41d)](_0x119346),_0x508a12);}}var qa=Object[_0xb7df44(0x441)],Xa=Object['getOwnPropertyDescriptor'],Ja=(_0x46a934,_0x2650a6,_0x3a5bf0,_0x525e7f)=>{const _0xaed75=_0xb7df44;for(var _0xc412f0=_0x525e7f>0x1?void 0x0:_0x525e7f?Xa(_0x2650a6,_0x3a5bf0):_0x2650a6,_0x1cf09f=_0x46a934[_0xaed75(0x3f7)]-0x1,_0x5ed1c7;_0x1cf09f>=0x0;_0x1cf09f--)(_0x5ed1c7=_0x46a934[_0x1cf09f])&&(_0xc412f0=(_0x525e7f?_0x5ed1c7(_0x2650a6,_0x3a5bf0,_0xc412f0):_0x5ed1c7(_0xc412f0))||_0xc412f0);return _0x525e7f&&_0xc412f0&&qa(_0x2650a6,_0x3a5bf0,_0xc412f0),_0xc412f0;},Za=(_0x246370,_0x35541d)=>(_0x1b6a40,_0x57e353)=>_0x35541d(_0x1b6a40,_0x57e353,_0x246370);let Tt=class{constructor(_0x3878ff){const _0x14bc6a=_0xb7df44;this[_0x14bc6a(0x4c4)]=_0x3878ff,this[_0x14bc6a(0x266)]();}['_initRequestHeader'](){const _0x3a9dac=_0xb7df44;this[_0x3a9dac(0x4c4)][_0x3a9dac(0x4df)]({'interceptor':(_0x182b8c,_0x46ffe6)=>{const _0x48cfa7=_0x3a9dac,_0x267ac9=_0x182b8c[_0x48cfa7(0x3fd)],_0xfd2033=za();return _0xfd2033&&_0x267ac9[_0x48cfa7(0x1f3)](_0x48cfa7(0x439),_0xfd2033),_0x46ffe6(_0x182b8c);}});}};Tt=Ja([Za(0x0,_0x380ba9(_0x429bbf))],Tt);var Qa=Object[_0xb7df44(0x441)],ec=Object[_0xb7df44(0x250)],tc=(_0x4abcb7,_0x4d4ad2,_0x4c3e5c,_0x4d1693)=>{const _0x5e186d=_0xb7df44;for(var _0x3cc6eb=_0x4d1693>0x1?void 0x0:_0x4d1693?ec(_0x4d4ad2,_0x4c3e5c):_0x4d4ad2,_0x1b342b=_0x4abcb7[_0x5e186d(0x3f7)]-0x1,_0x11e1b5;_0x1b342b>=0x0;_0x1b342b--)(_0x11e1b5=_0x4abcb7[_0x1b342b])&&(_0x3cc6eb=(_0x4d1693?_0x11e1b5(_0x4d4ad2,_0x4c3e5c,_0x3cc6eb):_0x11e1b5(_0x3cc6eb))||_0x3cc6eb);return _0x4d1693&&_0x3cc6eb&&Qa(_0x4d4ad2,_0x4c3e5c,_0x3cc6eb),_0x3cc6eb;},Xt=(_0x12717a,_0x171fea)=>(_0x51543f,_0x12b7a6)=>_0x171fea(_0x51543f,_0x12b7a6,_0x12717a);const sc=[_0xb7df44(0x199),_0xb7df44(0x44c),_0xb7df44(0x26e),_0xb7df44(0x43e),'image/bmp'],ic=0x5*0x400*0x400,nc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',rc='/universer-api/stream/file/upload',oc=_0xb7df44(0x4c6),ac='/universer-api/file/{fileID}/sign-url';let hs=class{constructor(_0x17d9fc,_0x4f7c32,_0x2d4613){const _0x39f4a4=_0xb7df44;g(this,'_waitCount',0x0),g(this,_0x39f4a4(0x495),new _0xbbcc86()),g(this,'change$',this[_0x39f4a4(0x495)]),g(this,_0x39f4a4(0x581),new Map()),(this['_httpService']=_0x17d9fc,this[_0x39f4a4(0x216)]=_0x4f7c32,this[_0x39f4a4(0x3d6)]=_0x2d4613);}[_0xb7df44(0x3da)](_0x357121){const _0x251e4b=_0xb7df44;this[_0x251e4b(0x4b7)]=_0x357121,this[_0x251e4b(0x495)][_0x251e4b(0x28b)](_0x357121);}[_0xb7df44(0x435)](_0x2bc681,_0x50ec7a){const _0x3bd4e8=_0xb7df44;if(_0x50ec7a===_0x1992f8[_0x3bd4e8(0x563)]){const _0x1a993e=new Image();return _0x1a993e[_0x3bd4e8(0x525)]=_0x2bc681,_0x1a993e;}return this['_imageSourceCache']['get'](_0x2bc681);}[_0xb7df44(0x288)](_0x268111,_0x2793c7,_0x98240){const _0x54e3b5=_0xb7df44;_0x2793c7===_0x1992f8[_0x54e3b5(0x563)]||_0x98240==null||this[_0x54e3b5(0x581)]['set'](_0x268111,_0x98240);}async[_0xb7df44(0x47f)](_0x30af88){const _0x1352d2=_0xb7df44;try{const _0x36c980=this['_replaceFileID'](this[_0x1352d2(0x28f)](),''+_0x30af88),_0x19c054=(await this['_httpService'][_0x1352d2(0x339)](_0x36c980))[_0x1352d2(0x56f)];if(_0x19c054['error']&&_0x19c054['error'][_0x1352d2(0x389)]===Ri['OK']){const _0x5647d2=new URL(_0x19c054['url'],this[_0x1352d2(0x45e)]())[_0x1352d2(0x450)]();return Promise[_0x1352d2(0x4c3)](_0x5647d2);}return Promise[_0x1352d2(0x382)](_0x19c054[_0x1352d2(0x1d7)]);}catch(_0x36edc4){return Promise[_0x1352d2(0x382)](_0x36edc4);}}async[_0xb7df44(0x3fa)](_0xd316a6){const _0x57d3f0=_0xb7df44;let _0x4e9d56='';if(!sc[_0x57d3f0(0x29a)](_0xd316a6[_0x57d3f0(0x1f8)]))return this[_0x57d3f0(0x2bc)](),Promise[_0x57d3f0(0x382)](new Error(_0x1c0bfe['ERROR_IMAGE_TYPE']));if(_0xd316a6['size']>ic)return this[_0x57d3f0(0x2bc)](),Promise['reject'](new Error(_0x1c0bfe[_0x57d3f0(0x305)]));try{const _0x216f5c=new FormData();_0x216f5c[_0x57d3f0(0x3d8)](_0x57d3f0(0x511),_0xd316a6);const _0x2308a4=this[_0x57d3f0(0x3d6)][_0x57d3f0(0x1ae)](),_0xda2455=_0x2308a4==null?void 0x0:_0x2308a4[_0x57d3f0(0x432)]();if(!_0xda2455)throw new Error('unitId\x20is\x20not\x20found');const _0x3d8268=this[_0x57d3f0(0x32c)]()+_0x57d3f0(0x534)+_0xd316a6[_0x57d3f0(0x548)][_0x57d3f0(0x450)]()+_0x57d3f0(0x54e)+yi[_0x57d3f0(0x437)]+_0x57d3f0(0x2ce)+encodeURIComponent(_0xda2455),_0x99b899=await(await fetch(_0x3d8268,{'method':_0x57d3f0(0x2d7),'body':_0x216f5c}))[_0x57d3f0(0x429)]();if(typeof _0x99b899[_0x57d3f0(0x40f)]!=_0x57d3f0(0x22d))return this[_0x57d3f0(0x2bc)](),Promise['reject'](new Error(_0x1c0bfe[_0x57d3f0(0x3e6)]));_0x4e9d56=_0x99b899['FileId'];}catch{return this[_0x57d3f0(0x2bc)](),Promise[_0x57d3f0(0x382)](new Error(_0x1c0bfe['ERROR_IMAGE']));}return new Promise((_0x380e8d,_0x3e2e71)=>{const _0x45c056=_0x57d3f0,_0x18528f=new FileReader();_0x18528f[_0x45c056(0x57d)](_0xd316a6),_0x18528f[_0x45c056(0x1ad)]=_0x5e44d3=>{const _0x4ab06c=_0x45c056;var _0x19fe7a;const _0x1ef77d=(_0x19fe7a=_0x5e44d3[_0x4ab06c(0x180)])==null?void 0x0:_0x19fe7a['result'];if(_0x1ef77d==null){this['_decreaseWaiting'](),_0x3e2e71(new Error(_0x1c0bfe[_0x4ab06c(0x3e6)]));return;}const _0x210665=_0xb81a94[_0x4ab06c(0x4a3)](0x6);_0x380e8d({'imageId':_0x210665,'imageSourceType':_0x1992f8[_0x4ab06c(0x53f)],'source':_0x4e9d56,'base64Cache':_0x1ef77d,'status':_0x1c0bfe[_0x4ab06c(0x35a)]}),this[_0x4ab06c(0x2bc)]();};});}[_0xb7df44(0x32c)](){const _0x52bad4=_0xb7df44;var _0x36b8a0,_0x4d849b;const _0x27aed3=this[_0x52bad4(0x216)][_0x52bad4(0x2b8)](nc),_0xa27b24=this[_0x52bad4(0x216)]['getConfig'](ie);return(_0x4d849b=(_0x36b8a0=_0xa27b24==null?void 0x0:_0xa27b24[_0x52bad4(0x20b)])!=null?_0x36b8a0:_0x27aed3)!=null?_0x4d849b:rc;}[_0xb7df44(0x28f)](){const _0x58d121=_0xb7df44;var _0x12d713,_0x5a6790;const _0x2767e4=this[_0x58d121(0x216)]['getConfig'](oc),_0xcd4421=this[_0x58d121(0x216)]['getConfig'](ie);return(_0x5a6790=(_0x12d713=_0xcd4421==null?void 0x0:_0xcd4421[_0x58d121(0x4e8)])!=null?_0x12d713:_0x2767e4)!=null?_0x5a6790:ac;}[_0xb7df44(0x45e)](){const _0x22d9fc=_0xb7df44;var _0x5cddc4;const _0x5f0d11=this[_0x22d9fc(0x216)][_0x22d9fc(0x2b8)](ie);return(_0x5cddc4=_0x5f0d11==null?void 0x0:_0x5f0d11[_0x22d9fc(0x423)])!=null?_0x5cddc4:location[_0x22d9fc(0x300)];}[_0xb7df44(0x524)](_0x61f12c,_0x582079){const _0xf36544=_0xb7df44;return _0x61f12c[_0xf36544(0x532)](_0xf36544(0x562),_0x582079);}[_0xb7df44(0x2bc)](){const _0x12d24d=_0xb7df44;this['_waitCount']-=0x1,this[_0x12d24d(0x495)][_0x12d24d(0x28b)](this['_waitCount']);}};hs=tc([Xt(0x0,_0x380ba9(_0x429bbf)),Xt(0x1,_0x25a779),Xt(0x2,_0x380ba9(_0xf81bb9))],hs);var cc=Object['defineProperty'],hc=Object[_0xb7df44(0x250)],lc=(_0x59af07,_0xd588e7,_0x1168f2,_0x239e4b)=>{const _0x512281=_0xb7df44;for(var _0x4ed60d=_0x239e4b>0x1?void 0x0:_0x239e4b?hc(_0xd588e7,_0x1168f2):_0xd588e7,_0x13c368=_0x59af07[_0x512281(0x3f7)]-0x1,_0x17cc3c;_0x13c368>=0x0;_0x13c368--)(_0x17cc3c=_0x59af07[_0x13c368])&&(_0x4ed60d=(_0x239e4b?_0x17cc3c(_0xd588e7,_0x1168f2,_0x4ed60d):_0x17cc3c(_0x4ed60d))||_0x4ed60d);return _0x239e4b&&_0x4ed60d&&cc(_0xd588e7,_0x1168f2,_0x4ed60d),_0x4ed60d;},Qe=(_0x3e5602,_0x3c293b)=>(_0x3ddbb5,_0x55aecc)=>_0x3c293b(_0x3ddbb5,_0x55aecc,_0x3e5602);let Rt=class extends _0x3431ab{constructor(_0x416d04,_0x38cd97,_0xa2581d,_0x1844f2,_0x5e6008){const _0x40118f=_0xb7df44;super(),this['_injector']=_0x416d04,this[_0x40118f(0x3d6)]=_0x38cd97,this[_0x40118f(0x350)]=_0xa2581d,this['_collaborationSessionService']=_0x1844f2,this[_0x40118f(0x51b)]=_0x5e6008,this['_initUnitPermissionChange'](),this[_0x40118f(0x2ef)]();}['_initCloseConn'](){const _0x2b3bf3=_0xb7df44,_0x36e96f=async _0x44e1b3=>{const _0x13ed1c=_0x16eb;(await this['_collaborationSessionService'][_0x13ed1c(0x4d8)](_0x44e1b3))[_0x13ed1c(0x507)]['pipe'](_0x4620cd(_0x27388e=>_0x27388e[_0x13ed1c(0x306)]===_0x5104a7[_0x13ed1c(0x2dc)]),_0x5a8e54(this[_0x13ed1c(0x561)]))[_0x13ed1c(0x41a)](_0x2a6c79=>{const _0x5f7158=_0x13ed1c,_0x5af435=_0x2a6c79,{reason:_0x1a52e4}=_0x5af435[_0x5f7158(0x32a)];this['_injector'][_0x5f7158(0x339)](_0xff713e)[_0x5f7158(0x39d)]({'type':_0x4bff77['Error'],'content':this['_localeService']['t'](_0x5f7158(0x45f))+'('+_0x1a52e4+')'}),this[_0x5f7158(0x350)]['updatePermissionPoint'](new _0x44ab74(_0x44e1b3)['id'],!0x1),this[_0x5f7158(0x49c)][_0x5f7158(0x254)](_0x44e1b3);});};_0x446ede(this[_0x2b3bf3(0x3d6)][_0x2b3bf3(0x4a4)](_0x5d9c1d[_0x2b3bf3(0x37b)]),this[_0x2b3bf3(0x3d6)]['getTypeOfUnitAdded$'](_0x5d9c1d[_0x2b3bf3(0x1cf)]))[_0x2b3bf3(0x51d)](_0x41a95e(_0x3cdca7=>_0x3cdca7[_0x2b3bf3(0x432)]()),_0x4620cd(_0x58b6d8=>!_0xc654c7(_0x58b6d8)),_0x5a8e54(this[_0x2b3bf3(0x561)]))[_0x2b3bf3(0x41a)](_0x3604f4=>{_0x36e96f(_0x3604f4);});}[_0xb7df44(0x3e2)](){const _0x5b68e4=_0xb7df44,_0x2d7067=async _0x3afcc6=>{const _0x5cb791=_0x16eb;(await this[_0x5cb791(0x49c)][_0x5cb791(0x4d8)](_0x3afcc6))[_0x5cb791(0x507)][_0x5cb791(0x51d)](_0x4620cd(_0x5ed0e2=>_0x5ed0e2['eventID']===_0x5104a7[_0x5cb791(0x2cc)]),_0x5a8e54(this[_0x5cb791(0x561)]))['subscribe'](_0x47703f=>{const _0x244a06=_0x5cb791,_0x2ee84a=_0x47703f,{objectId:_0x55dcd5}=_0x2ee84a['data'],_0xaab02e=this[_0x244a06(0x526)][_0x244a06(0x339)](_0x1dd603);_0x55dcd5===_0x3afcc6?_0xaab02e[_0x244a06(0x47c)](_0x3afcc6):_0xaab02e[_0x244a06(0x53c)](_0x3afcc6,_0x55dcd5);});};_0x446ede(this[_0x5b68e4(0x3d6)][_0x5b68e4(0x4a4)](_0x5d9c1d[_0x5b68e4(0x37b)]),this[_0x5b68e4(0x3d6)]['getTypeOfUnitAdded$'](_0x5d9c1d[_0x5b68e4(0x1cf)]))[_0x5b68e4(0x51d)](_0x41a95e(_0x234424=>_0x234424['getUnitId']()),_0x4620cd(_0x9f1024=>!_0xc654c7(_0x9f1024)),_0x5a8e54(this[_0x5b68e4(0x561)]))[_0x5b68e4(0x41a)](_0x4c4ab4=>{_0x2d7067(_0x4c4ab4);});}};Rt=lc([Qe(0x0,_0x380ba9(_0x41c43c)),Qe(0x1,_0xf81bb9),Qe(0x2,_0x60a8ad),Qe(0x3,_0x380ba9(Ae)),Qe(0x4,_0x380ba9(_0x5ccb65))],Rt);var _c=Object[_0xb7df44(0x441)],uc=Object['getOwnPropertyDescriptor'],dc=(_0x1a1465,_0x114e71,_0x51516c,_0x5b43fb)=>{const _0x276a2a=_0xb7df44;for(var _0x2b4799=_0x5b43fb>0x1?void 0x0:_0x5b43fb?uc(_0x114e71,_0x51516c):_0x114e71,_0x268d63=_0x1a1465[_0x276a2a(0x3f7)]-0x1,_0xca048d;_0x268d63>=0x0;_0x268d63--)(_0xca048d=_0x1a1465[_0x268d63])&&(_0x2b4799=(_0x5b43fb?_0xca048d(_0x114e71,_0x51516c,_0x2b4799):_0xca048d(_0x2b4799))||_0x2b4799);return _0x5b43fb&&_0x2b4799&&_c(_0x114e71,_0x51516c,_0x2b4799),_0x2b4799;},ni=(_0x3c1e76,_0x47b4ba)=>(_0x345e86,_0x5b8ae2)=>_0x47b4ba(_0x345e86,_0x5b8ae2,_0x3c1e76);let ls=class{constructor(_0x4ca941,_0x2d8f7c){const _0x28c96d=_0xb7df44;this[_0x28c96d(0x216)]=_0x4ca941,this[_0x28c96d(0x4c4)]=_0x2d8f7c;}async[_0xb7df44(0x310)](_0x1ffb81,_0x4a328b){const _0x294586=_0xb7df44;var _0x1a9ec9;const {unitID:_0x5160ae,type:_0x42550d,revision:_0x4ff893=0x0}=_0x4a328b,_0x161d73=this['_getSnapshotAPIPrefix']()+'/'+_0x42550d+'/unit/'+_0x5160ae+_0x294586(0x50f)+_0x4ff893,_0x20d23b=(await this['_httpService']['get'](_0x161d73))[_0x294586(0x56f)],_0x315ff2=(_0x1a9ec9=_0x20d23b[_0x294586(0x443)])==null?void 0x0:_0x1a9ec9['workbook'];if(_0x315ff2){const _0x4ba347=_0x315ff2==null?void 0x0:_0x315ff2[_0x294586(0x1fe)],_0x1e972f=_0x58a671['encode'](_0x3dd4e8(_0x4ba347));_0x315ff2[_0x294586(0x1fe)]=_0x1e972f,Object['entries'](_0x315ff2['sheets'])[_0x294586(0x3d9)](([,_0x738c02])=>{const _0x5eeb7c=_0x294586,_0x2c189e=_0x738c02['originalMeta'],_0x37dce8=_0x58a671[_0x5eeb7c(0x33a)](_0x3dd4e8(_0x2c189e));_0x738c02['originalMeta']=_0x37dce8;});}return _0x20d23b;}async[_0xb7df44(0x3b4)](_0x2dc063,_0x31cd58){const _0x2fea84=_0xb7df44,{unitID:_0x345dbe,type:_0x282226,blockID:_0x23e9cf}=_0x31cd58,_0x1c4a57=this[_0x2fea84(0x486)]()+'/'+_0x282226+'/unit/'+_0x345dbe+_0x2fea84(0x2fc)+_0x23e9cf;return(await this[_0x2fea84(0x4c4)][_0x2fea84(0x339)](_0x1c4a57))['body'];}async[_0xb7df44(0x194)](_0x25f2f2,_0x2d6c4d){const _0x4ebcd0=_0xb7df44,{unitID:_0x1f72f6,type:_0x5abb53,blockID:_0x5ae625}=_0x2d6c4d,_0x5934f3=this['_getAPIPrefix']()+_0x4ebcd0(0x2fc)+_0x5abb53+_0x4ebcd0(0x2dd)+_0x1f72f6+'/block/'+_0x5ae625;return(await this[_0x4ebcd0(0x4c4)][_0x4ebcd0(0x339)](_0x5934f3))['body'];}async[_0xb7df44(0x2a5)](_0xfbc8a4,_0x17ca49){const _0xcf06a9=_0xb7df44,{unitID:_0xdf3258,type:_0x1089ed,from:_0x35d998,to:_0x377bd2}=_0x17ca49,_0x3c2d15=this['_getAPIPrefix']()+'/'+_0x1089ed+_0xcf06a9(0x2dd)+_0xdf3258+_0xcf06a9(0x54d)+_0x35d998+_0xcf06a9(0x3ff)+_0x377bd2;return(await this['_httpService'][_0xcf06a9(0x339)](_0x3c2d15))[_0xcf06a9(0x56f)];}[_0xb7df44(0x334)](){const _0x4f4af3=_0xb7df44;var _0x1a4bc2;return(_0x1a4bc2=this[_0x4f4af3(0x216)]['getConfig'](ar))!=null?_0x1a4bc2:this[_0x4f4af3(0x486)]();}[_0xb7df44(0x486)](){const _0x15cc53=_0xb7df44;var _0x4fbbad,_0xaa5703;const _0x9bb7c=this[_0x15cc53(0x216)]['getConfig'](rr),_0x570428=this[_0x15cc53(0x216)][_0x15cc53(0x2b8)](ie);return(_0xaa5703=(_0x4fbbad=_0x570428==null?void 0x0:_0x570428['snapshotServerUrl'])!=null?_0x4fbbad:_0x9bb7c)!=null?_0xaa5703:or;}async[_0xb7df44(0x27a)](_0x2bb94e,_0x2d7e8c){const _0x5258ef=_0xb7df44,_0x166738=_0x5258ef(0x4b3)+_0x2d7e8c[_0x5258ef(0x1f8)]+'/unit/'+_0x2d7e8c[_0x5258ef(0x37e)]+_0x5258ef(0x425);return(await this[_0x5258ef(0x4c4)]['get'](_0x166738,{'params':{'resourceId':JSON[_0x5258ef(0x41d)](_0x2d7e8c[_0x5258ef(0x275)])}}))['body'];}[_0xb7df44(0x49e)](){const _0x3759d4=_0xb7df44;throw new Error(_0x3759d4(0x56a));}[_0xb7df44(0x2e1)](){const _0x1666b2=_0xb7df44;throw new Error(_0x1666b2(0x56a));}[_0xb7df44(0x218)](){const _0x54f587=_0xb7df44;throw new Error(_0x54f587(0x56a));}[_0xb7df44(0x400)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){const _0x1e5faf=_0xb7df44;throw new Error(_0x1e5faf(0x56a));}};ls=dc([ni(0x0,_0x25a779),ni(0x1,_0x380ba9(_0x429bbf))],ls);var fc=Object[_0xb7df44(0x441)],vc=Object[_0xb7df44(0x250)],mc=(_0x325251,_0x43b7d7,_0x3de9ac,_0x54c7e0)=>{const _0x114edf=_0xb7df44;for(var _0x582990=_0x54c7e0>0x1?void 0x0:_0x54c7e0?vc(_0x43b7d7,_0x3de9ac):_0x43b7d7,_0x9e9378=_0x325251[_0x114edf(0x3f7)]-0x1,_0x19f3a3;_0x9e9378>=0x0;_0x9e9378--)(_0x19f3a3=_0x325251[_0x9e9378])&&(_0x582990=(_0x54c7e0?_0x19f3a3(_0x43b7d7,_0x3de9ac,_0x582990):_0x19f3a3(_0x582990))||_0x582990);return _0x54c7e0&&_0x582990&&fc(_0x43b7d7,_0x3de9ac,_0x582990),_0x582990;},et=(_0xa8a157,_0x4f3227)=>(_0x73205e,_0x114e96)=>_0x4f3227(_0x73205e,_0x114e96,_0xa8a157);let _s=class extends _0x3852e7{constructor(_0x397e1a,_0x7e0170,_0x64497c,_0x5de16a,_0x3aea60){const _0x4c9a9b=_0xb7df44;super(_0x397e1a,_0x7e0170,_0x64497c),this[_0x4c9a9b(0x242)]=_0x5de16a,this[_0x4c9a9b(0x362)]=_0x3aea60;}[_0xb7df44(0x26f)](_0x20c082,_0x4ba7a4){const _0x2330f2=_0xb7df44,_0x46b1ee=this[_0x2330f2(0x1a6)](_0x20c082);if(_0x46b1ee)try{const _0x556105=this[_0x2330f2(0x518)](_0x46b1ee,_0x4ba7a4);this[_0x2330f2(0x274)](_0x20c082,_0x556105);}catch(_0x56db2a){this[_0x2330f2(0x362)][_0x2330f2(0x1d7)](_0x2330f2(0x3e1),_0x56db2a),this['_clearUndo'](_0x20c082);}const _0x2861e9=this[_0x2330f2(0x191)](_0x20c082);if(_0x2861e9)try{const _0x4ed7a2=this[_0x2330f2(0x518)](_0x2861e9,_0x4ba7a4);this['_substituteRedoStack'](_0x20c082,_0x4ed7a2);}catch(_0x3d9a15){this[_0x2330f2(0x362)][_0x2330f2(0x1d7)](_0x3d9a15),this['_clearRedo'](_0x20c082);}}['_clearUndo'](_0x34dd5e){const _0xb37bc5=_0xb7df44,_0x62d2e6=this[_0xb37bc5(0x1a6)](_0x34dd5e);_0x62d2e6&&(_0x62d2e6['length']=0x0,this[_0xb37bc5(0x46a)]());}[_0xb7df44(0x4f2)](_0x524be6){const _0x314752=_0xb7df44,_0x4afac4=this[_0x314752(0x191)](_0x524be6);_0x4afac4&&(_0x4afac4['length']=0x0,this['_updateStatus']());}[_0xb7df44(0x274)](_0x4ff992,_0x3b0b37){const _0x5e1849=_0xb7df44;this[_0x5e1849(0x1ec)][_0x5e1849(0x1f3)](_0x4ff992,_0x3b0b37),this[_0x5e1849(0x46a)]();}['_substituteRedoStack'](_0x443d38,_0x2b6605){const _0x52d2ea=_0xb7df44;this[_0x52d2ea(0x1b8)][_0x52d2ea(0x1f3)](_0x443d38,_0x2b6605),this[_0x52d2ea(0x46a)]();}['_transformStack'](_0x42cf22,_0x2ef10d){const _0x3be0b4=_0xb7df44,_0x5c96f0=[];let _0x3f5f2e=_0x2ef10d,_0x46dbd1=_0x2ef10d;for(let _0x555ab6=_0x42cf22[_0x3be0b4(0x3f7)]-0x1;_0x555ab6>=0x0;_0x555ab6--){const {unitID:_0x2db436,undoMutations:_0x4eab4f,redoMutations:_0x177c91}=_0x42cf22[_0x555ab6],_0x45c847=this[_0x3be0b4(0x242)][_0x3be0b4(0x3aa)](_0x3f5f2e,_0x4eab4f),_0x476563=this[_0x3be0b4(0x242)]['transformMutationsWithChangeset'](_0x46dbd1,_0x177c91);if(_0x28bc4f(_0x45c847)||_0x28bc4f(_0x476563)){this[_0x3be0b4(0x362)][_0x3be0b4(0x1d7)](_0x3be0b4(0x3e1),_0x3be0b4(0x481),_0x45c847,_0x476563);break;}_0x3f5f2e=_0x45c847['c1Prime'],_0x46dbd1=_0x476563[_0x3be0b4(0x201)],_0x5c96f0[_0x3be0b4(0x1c5)]({'unitID':_0x2db436,'undoMutations':_0x45c847['m2Prime'],'redoMutations':_0x476563[_0x3be0b4(0x4f7)]});}return _0x5c96f0[_0x3be0b4(0x3f0)]();}};_s=mc([et(0x0,_0xf81bb9),et(0x1,_0x461f8f),et(0x2,_0x19c5a2),et(0x3,_0x5dcca2),et(0x4,_0x23bd67)],_s);class pc extends _0x3431ab{constructor(){const _0x71e608=_0xb7df44;super(),g(this,_0x71e608(0x52c)),this[_0x71e608(0x52c)]=_0xb50e9(window,_0x71e608(0x4b2))['pipe'](_0x5c3c82(this[_0x71e608(0x561)]),_0x1f5fb1(0x1),_0x2675d6(void 0x0));}[_0xb7df44(0x2b6)](_0x2da4bc,_0x33147b,_0x276b9e=!0x1){const _0x243bd1=_0xb7df44,_0x36a766=new URL(window[_0x243bd1(0x355)][_0x243bd1(0x40c)]);_0x36a766[_0x243bd1(0x4f5)][_0x243bd1(0x1f3)](_0x2da4bc,_0x33147b),_0x276b9e?window[_0x243bd1(0x2ad)][_0x243bd1(0x1d0)]('','',_0x36a766[_0x243bd1(0x450)]()):window[_0x243bd1(0x2ad)]['pushState']('','',_0x36a766[_0x243bd1(0x450)]());}[_0xb7df44(0x43c)](_0x469d2c,_0x15773f=!0x1){const _0x97bc3a=_0xb7df44,_0x2abee6=new URL(window[_0x97bc3a(0x355)][_0x97bc3a(0x40c)]);_0x2abee6[_0x97bc3a(0x4f5)][_0x97bc3a(0x37f)](_0x469d2c),_0x15773f?window[_0x97bc3a(0x2ad)][_0x97bc3a(0x1d0)]('','',_0x2abee6[_0x97bc3a(0x450)]()):window['history'][_0x97bc3a(0x370)]('','',_0x2abee6['toString']());}[_0xb7df44(0x479)](_0xb3f3d3){const _0x44c99f=_0xb7df44;var _0x44ca30;return(_0x44ca30=new URL(window[_0x44c99f(0x355)][_0x44c99f(0x40c)])[_0x44c99f(0x4f5)][_0x44c99f(0x339)](_0xb3f3d3))!=null?_0x44ca30:void 0x0;}}var Yi=Object[_0xb7df44(0x441)],gc=Object['getOwnPropertyDescriptor'],Sc=(_0x3fc578,_0x4439b9,_0x2b76d6)=>_0x4439b9 in _0x3fc578?Yi(_0x3fc578,_0x4439b9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b76d6}):_0x3fc578[_0x4439b9]=_0x2b76d6,Ic=(_0x2f6600,_0x2a19cb,_0x8f69ab,_0x33d7b1)=>{for(var _0x391946=_0x33d7b1>0x1?void 0x0:_0x33d7b1?gc(_0x2a19cb,_0x8f69ab):_0x2a19cb,_0x335ada=_0x2f6600['length']-0x1,_0x3f9abe;_0x335ada>=0x0;_0x335ada--)(_0x3f9abe=_0x2f6600[_0x335ada])&&(_0x391946=(_0x33d7b1?_0x3f9abe(_0x2a19cb,_0x8f69ab,_0x391946):_0x3f9abe(_0x391946))||_0x391946);return _0x33d7b1&&_0x391946&&Yi(_0x2a19cb,_0x8f69ab,_0x391946),_0x391946;},_t=(_0x364ab2,_0x4b4b0d)=>(_0x2288e0,_0x19e18a)=>_0x4b4b0d(_0x2288e0,_0x19e18a,_0x364ab2),Cc=(_0x2879af,_0x558648,_0x2ecd6a)=>Sc(_0x2879af,_0x558648+'',_0x2ecd6a);const Ec='UNIVER_COLLABORATION_CLIENT_PLUGIN';let us=class extends _0x2fd91a{constructor(_0xe3970e=Er,_0x596093,_0x1a1e17,_0x30dc45,_0x238d32){const _0x231004=_0xb7df44;super(),this['_config']=_0xe3970e,this[_0x231004(0x362)]=_0x596093,this[_0x231004(0x29f)]=_0x1a1e17,this[_0x231004(0x526)]=_0x30dc45,this[_0x231004(0x216)]=_0x238d32;const {..._0x6ee722}=this[_0x231004(0x39f)];this['_configService'][_0x231004(0x3bb)](ie,_0x6ee722);}[_0xb7df44(0x259)](){const _0x21001d=_0xb7df44;this[_0x21001d(0x2c8)](),this[_0x21001d(0x197)]();}[_0xb7df44(0x3a0)](){const _0x1a366c=_0xb7df44;_0x5df76b(this[_0x1a366c(0x526)],[[Et]]);}[_0xb7df44(0x31a)](){const _0x36dde2=_0xb7df44;this[_0x36dde2(0x3e8)]();}['_registerDependencies'](){const _0x194695=_0xb7df44;var _0x7b932,_0x11205a,_0x551973,_0x466c38;this[_0x194695(0x526)]['has'](_0x1bdd68)&&this['_logService'][_0x194695(0x1d7)]('[UniverCollaborationClientPlugin]',_0x194695(0x3b5));const _0x511903=[[_0x1bdd68,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':pc}],[Ne],[q],[_0x2956b7],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0x11205a=(_0x7b932=this[_0x194695(0x39f)])==null?void 0x0:_0x7b932[_0x194695(0x4f8)])!=null?_0x11205a:es}],[_0x54ca2e,{'useClass':ls}],[_0x5b9c66,{'useClass':cs}],[_0x250780,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0x551973=this['_config'])!=null&&_0x551973[_0x194695(0x36c)]&&_0x511903[_0x194695(0x1c5)]([yt,{'useClass':so}]),_0x2ed3db(this[_0x194695(0x526)],_0x51ab1e(_0x511903,(_0x466c38=this[_0x194695(0x39f)])==null?void 0x0:_0x466c38[_0x194695(0x227)]));}['_registerRenderDependencies'](){const _0xb11757=_0xb7df44;this[_0xb11757(0x55a)](this[_0xb11757(0x29f)]['registerRenderModule'](_0x5d9c1d[_0xb11757(0x1cf)],[os])),this[_0xb11757(0x55a)](this[_0xb11757(0x29f)][_0xb11757(0x45b)](_0x5d9c1d[_0xb11757(0x37b)],[as]));}[_0xb7df44(0x197)](){const _0x4168e2=_0xb7df44;var _0xa997bf,_0x541633;this[_0x4168e2(0x526)][_0x4168e2(0x339)](_0x429bbf)[_0x4168e2(0x4df)]({'priority':0x14,'interceptor':_0x419a10({'maxParallel':0x6})}),(_0xa997bf=this[_0x4168e2(0x39f)])!=null&&_0xa997bf[_0x4168e2(0x365)]||this['_injector']['get'](q)[_0x4168e2(0x394)](),(_0x541633=this[_0x4168e2(0x39f)])!=null&&_0x541633[_0x4168e2(0x47b)]&&_0x5df76b(this[_0x4168e2(0x526)],[[bt]]),_0x5df76b(this[_0x4168e2(0x526)],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Cc(us,'pluginName',Ec),us=Ic([_0x258de0(_0x4bc6b2,_0x318df7),_t(0x1,_0x23bd67),_t(0x2,_0x2618ce),_t(0x3,_0x380ba9(_0x41c43c)),_t(0x4,_0x25a779)],us);export{Ua as AUTHZ_URL_KEY,cs as AuthzIoHttpService,gr as COLLAB_SUBMIT_CHANGESET_URL_KEY,hr as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,St as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,ua as CollaborationStatusDisplay,wi as CommentService,Ct as DataLoaderController,It as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,_r as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Hi as IURLService,hs as ImageIoService,mr as LOCAL_CACHE_INTERVAL_KEY,Ir as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,fr as RETRY_CONNECTING_MAX_COUNT_KEY,kc as SEND_CHANGESET_TIMEOUT_KEY,rr as SNAPSHOT_SERVER_URL_KEY,ar as SNAPSHOT_URL_KEY,ve as SessionStatus,Ko as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,pc as WebURLService,br as deserializeToCombResponse,Tr as serializeCombRequest};