@univerjs-pro/collaboration-client 0.4.2-nightly.202411011606 → 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 _0x58e4d7=_0x4c2c;(function(_0x2e749b,_0x4b1e72){const _0x3e364d=_0x4c2c,_0x3c0355=_0x2e749b();while(!![]){try{const _0x2b109b=parseInt(_0x3e364d(0x131))/0x1+parseInt(_0x3e364d(0x369))/0x2+parseInt(_0x3e364d(0x167))/0x3*(-parseInt(_0x3e364d(0x185))/0x4)+parseInt(_0x3e364d(0x260))/0x5*(-parseInt(_0x3e364d(0x357))/0x6)+-parseInt(_0x3e364d(0x392))/0x7*(-parseInt(_0x3e364d(0x12d))/0x8)+parseInt(_0x3e364d(0x429))/0x9*(parseInt(_0x3e364d(0xfc))/0xa)+parseInt(_0x3e364d(0x30c))/0xb*(-parseInt(_0x3e364d(0x50a))/0xc);if(_0x2b109b===_0x4b1e72)break;else _0x3c0355['push'](_0x3c0355['shift']());}catch(_0x3d9e41){_0x3c0355['push'](_0x3c0355['shift']());}}}(_0x3a90,0xa33a5));var Ki=Object[_0x58e4d7(0x367)],zi=(_0x262ec3,_0x12ee6e,_0x467a2a)=>_0x12ee6e in _0x262ec3?Ki(_0x262ec3,_0x12ee6e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x467a2a}):_0x262ec3[_0x12ee6e]=_0x467a2a,g=(_0x1731d6,_0x4d3c6a,_0xbd7084)=>zi(_0x1731d6,typeof _0x4d3c6a!=_0x58e4d7(0x1b9)?_0x4d3c6a+'':_0x4d3c6a,_0xbd7084);import{createIdentifier as _0x3366fd,Inject as _0x22f9f7,Disposable as _0x24c9bf,DisposableCollection as _0x195863,toDisposable as _0x3a9dfc,IConfigService as _0x4bb278,ILogService as _0x1bae21,UserManagerService as _0x1c0af6,UniverInstanceType as _0x11ab9a,IUniverInstanceService as _0x17eff3,LocaleService as _0x1c0183,Optional as _0x48a9ef,RxDisposable as _0x574fb2,Injector as _0x1dc773,Tools as _0x44e432,ILocalStorageService as _0x2e9231,Rectangle as _0xc6c16d,ICommandService as _0x13cabf,DOC_RANGE_TYPE as _0x174e1e,JSONX as _0x71be1d,CommandType as _0x4a933d,IPermissionService as _0xd7cfff,IUndoRedoService as _0x41fb80,sequenceExecute as _0x296309,debounce as _0x1ed51a,COLORS as _0x3b9194,ColorKit as _0x3b9b76,ThemeService as _0x489843,fromEventSubject as _0x20a008,useDependency as _0x390ef4,connectInjector as _0x4268a6,Workbook as _0x32b5a3,isInternalEditorID as _0x45b852,LocalUndoRedoService as _0x36b8b7,IContextService as _0x4c9fde,DependentOn as _0x3632dd,Plugin as _0x51e18b,touchDependencies as _0x307221,IAuthzIoService as _0x341eb2,registerDependencies as _0x465a77,mergeOverrideWithDependencies as _0x6e3461}from'@univerjs/core';import{Subject as _0x5f4b37,merge as _0x27d309,takeUntil as _0x4bde19,BehaviorSubject as _0x25a07b,distinctUntilChanged as _0x3aae5d,fromEvent as _0x447d1a,ReplaySubject as _0x5234fb,take as _0x41b9e6,map as _0x240a14,shareReplay as _0x2976fc,of as _0x5bce18,debounceTime as _0xf47835,filter as _0x5d0283,switchMap as _0x44a85b,combineLatest as _0x5df9d0,concatMap as _0x2511b3,mapTo as _0xaeb300}from'rxjs';import{map as _0x12b99c,take as _0x1a7d67,filter as _0x203051,delay as _0x13beb5,throttleTime as _0x50379c,takeUntil as _0x4d52fc,switchMap as _0x1661a4}from'rxjs/operators';import{MessageType as _0x2a6979,Tooltip as _0x51c8ce}from'@univerjs/design';import{IBeforeCloseService as _0x373baf,IMessageService as _0x5138eb,INotificationService as _0x5de3ca,useObservable as _0x2b7dbf,BuiltInUIPart as _0xcd5a5e,IUIPartsService as _0x39d15d}from'@univerjs/ui';import{HTTPService as _0x3f6ec6,WebSocketService as _0x5365ef,MergeInterceptorFactory as _0x363397,HTTPRequest as _0x4b4cfe,UniverNetworkPlugin as _0x253120,ThresholdInterceptorFactory as _0x2dde49}from'@univerjs/network';import{CollaborationEvent as _0x2ffb5e,parseChangesetToProtocol as _0x2604ab,ISnapshotServerService as _0x326725,isTransformMutationFailure as _0x23f0a4,isTransformMutationsWithChangesetSuccess as _0x4e074c,ITransformService as _0x3c62f1,RevisionService as _0xd58166,mapDocumentTypeToUniverType as _0x5d481e,isTransformChangesetsSuccess as _0x5d34b2,CompressMutationService as _0x411534,parseProtocolChangeset as _0x2bb00d,SnapshotService as _0x3eabc0,textEncoder as _0x78207f,b64DecodeUnicode as _0x2d4f33,isTransformMutationsWithChangesetFailure as _0x44ccf9,UniverCollaborationPlugin as _0x2b7a22}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x30d3b2}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x2330df,DocStateChangeManagerService as _0x54726c,NodePositionConvertToCursor as _0x5057df,NodePositionConvertToRectRange as _0x59f5e7,TEXT_RANGE_LAYER_INDEX as _0x109ceb,SetDocZoomRatioOperation as _0x9f5cba}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0xdab4f8,SetSelectionsOperation as _0x519bd9,InsertSheetMutation as _0x51d12a,EmptyMutation as _0x147328,WorkbookEditablePermission as _0x46af2c,RefRangeService as _0x349d19,EffectRefRangId as _0x3aa49a,handleIRemoveRow as _0x536513,handleIRemoveCol as _0x41f662,handleMoveRange as _0x5f5422,handleInsertRow as _0x276f3d,handleInsertRangeMoveRight as _0x26280b,handleInsertRangeMoveDown as _0x4cb2ad,handleInsertCol as _0x4c3951,handleDeleteRangeMoveUp as _0x83427a,handleDeleteRangeMoveLeft as _0x408661,runRefRangeMutations as _0x4f788a,SetWorksheetActivateCommand as _0x21264c}from'@univerjs/sheets';import{IRenderManagerService as _0x1dd780,Shape as _0x49cd85,Rect as _0x5e9242,getColor as _0xf2f143,RegularPolygon as _0x58e493,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x316a98,Vector2 as _0x37b3ed}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x12074f,RichTextEditingMutation as _0x325650,SetTextSelectionsOperation as _0x5db4c9,DocSkeletonManagerService as _0x240789}from'@univerjs/docs';import{ImageSourceType as _0x577e0d,ImageUploadStatusType as _0x5b9120,IImageIoService as _0x4da437}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0xfa0e91,serializeRangeWithSheet as _0x5492b4}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x44840b,VIEWPORT_KEY as _0x4a4ff9,getCoordByCell as _0x1e0adc,getSheetObject as _0x79811c,SheetPermissionInitController as _0x1a7aa8}from'@univerjs/sheets-ui';import _0x14cfd4,{forwardRef as _0x11d8ad,useRef as _0x1f22b3,createElement as _0x4adcbb,useCallback as _0x395f62}from'react';import{IRemoteInstanceService as _0x3f3fee}from'@univerjs/rpc';const rr=_0x58e4d7(0x228),or=_0x58e4d7(0x39c),ar=_0x58e4d7(0x1ee),kc=_0x58e4d7(0x2d7),cr=0x7d0,hr=_0x58e4d7(0x413),lr=_0x58e4d7(0x395),_r=_0x58e4d7(0x26c),ur=0x7530,bi=_0x58e4d7(0x117),Ti=0x4e20,dr=0x4e20,fr=_0x58e4d7(0x140),vr=0x3,mr=_0x58e4d7(0x43f),pr=0x3e8,gr=_0x58e4d7(0x479),Sr=_0x58e4d7(0x29b),Ir='LOGIN_URL_KEY',Cr='/universer-api/oidc/authpage';var Ri=(_0x23a968=>(_0x23a968[_0x23a968[_0x58e4d7(0x1a2)]=0x0]='UNDEFINED',_0x23a968[_0x23a968['OK']=0x1]='OK',_0x23a968[_0x23a968['INTERNAL_ERROR']=0x2]=_0x58e4d7(0x3fd),_0x23a968[_0x23a968[_0x58e4d7(0x504)]=0x3]=_0x58e4d7(0x504),_0x23a968[_0x23a968[_0x58e4d7(0x398)]=0x4]=_0x58e4d7(0x398),_0x23a968[_0x23a968[_0x58e4d7(0x165)]=0x5]=_0x58e4d7(0x165),_0x23a968[_0x23a968['ALREADY_EXISTS']=0x6]=_0x58e4d7(0x3fe),_0x23a968[_0x23a968[_0x58e4d7(0x4ce)]=0x7]=_0x58e4d7(0x4ce),_0x23a968[_0x23a968['TOO_MANY_REQUESTS']=0x8]=_0x58e4d7(0x4b8),_0x23a968[_0x23a968[_0x58e4d7(0x2cf)]=0x9]='COMPLETION_FINISHED',_0x23a968[_0x23a968['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x58e4d7(0x354),_0x23a968[_0x23a968[_0x58e4d7(0x43a)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x23a968[_0x23a968[_0x58e4d7(0x4f0)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x23a968[_0x23a968['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x58e4d7(0x15a),_0x23a968[_0x23a968[_0x58e4d7(0x4da)]=0x1b59]=_0x58e4d7(0x4da),_0x23a968[_0x23a968[_0x58e4d7(0x424)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x23a968[_0x23a968[_0x58e4d7(0x159)]=0x1b5b]=_0x58e4d7(0x159),_0x23a968[_0x23a968[_0x58e4d7(0x3b9)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x23a968[_0x23a968[_0x58e4d7(0x1b7)]=0x1b5d]='APPLY_DUPLICATED',_0x23a968[_0x23a968[_0x58e4d7(0x3a0)]=0x1f41]=_0x58e4d7(0x3a0),_0x23a968[_0x23a968[_0x58e4d7(0x22a)]=0x2329]=_0x58e4d7(0x22a),_0x23a968[_0x23a968[_0x58e4d7(0x33c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x23a968[_0x23a968[_0x58e4d7(0x2b5)]=0x232b]=_0x58e4d7(0x2b5),_0x23a968[_0x23a968[_0x58e4d7(0x21e)]=0x232c]=_0x58e4d7(0x21e),_0x23a968[_0x23a968[_0x58e4d7(0x2a0)]=0x232d]=_0x58e4d7(0x2a0),_0x23a968[_0x23a968[_0x58e4d7(0xff)]=0x2711]=_0x58e4d7(0xff),_0x23a968[_0x23a968[_0x58e4d7(0x3d6)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x23a968[_0x23a968[_0x58e4d7(0x310)]=0x2713]=_0x58e4d7(0x310),_0x23a968[_0x23a968[_0x58e4d7(0x14e)]=0x2714]=_0x58e4d7(0x14e),_0x23a968[_0x23a968['UNRECOGNIZED']=-0x1]=_0x58e4d7(0x390),_0x23a968))(Ri||{}),ce=(_0x339922=>(_0x339922[_0x339922[_0x58e4d7(0x163)]=0x0]=_0x58e4d7(0x163),_0x339922[_0x339922[_0x58e4d7(0x1a7)]=0x1]='UNIVER_DOC',_0x339922[_0x339922[_0x58e4d7(0x15c)]=0x2]=_0x58e4d7(0x15c),_0x339922[_0x339922[_0x58e4d7(0x441)]=0x3]='UNIVER_SLIDE',_0x339922[_0x339922['UNIVER_PROJECT']=0x4]=_0x58e4d7(0x30f),_0x339922[_0x339922[_0x58e4d7(0x390)]=-0x1]='UNRECOGNIZED',_0x339922))(ce||{}),W=(_0x446368=>(_0x446368[_0x446368[_0x58e4d7(0x41b)]=0x0]=_0x58e4d7(0x41b),_0x446368[_0x446368[_0x58e4d7(0x2a4)]=0x1]=_0x58e4d7(0x2a4),_0x446368[_0x446368[_0x58e4d7(0x2ab)]=0x2]=_0x58e4d7(0x2ab),_0x446368[_0x446368['LEAVE']=0x3]='LEAVE',_0x446368[_0x446368['INGEST']=0x4]=_0x58e4d7(0x2d2),_0x446368[_0x446368[_0x58e4d7(0x36e)]=0x5]=_0x58e4d7(0x36e),_0x446368[_0x446368[_0x58e4d7(0x21c)]=0x6]=_0x58e4d7(0x21c),_0x446368[_0x446368[_0x58e4d7(0x390)]=-0x1]='UNRECOGNIZED',_0x446368))(W||{}),Is=(_0x408caa=>(_0x408caa[_0x408caa[_0x58e4d7(0x45c)]=0x0]=_0x58e4d7(0x45c),_0x408caa[_0x408caa['OK']=0x1]='OK',_0x408caa[_0x408caa[_0x58e4d7(0x199)]=0x2]=_0x58e4d7(0x199),_0x408caa[_0x408caa[_0x58e4d7(0x390)]=-0x1]=_0x58e4d7(0x390),_0x408caa))(Is||{}),yi=(_0x11a591=>(_0x11a591[_0x11a591[_0x58e4d7(0x233)]=0x0]='Undefined',_0x11a591[_0x11a591[_0x58e4d7(0x248)]=0x1]=_0x58e4d7(0x248),_0x11a591[_0x11a591[_0x58e4d7(0x496)]=0x2]=_0x58e4d7(0x496),_0x11a591[_0x11a591[_0x58e4d7(0x4fa)]=0x3]=_0x58e4d7(0x4fa),_0x11a591[_0x11a591[_0x58e4d7(0x186)]=0x4]=_0x58e4d7(0x186),_0x11a591[_0x11a591[_0x58e4d7(0x390)]=-0x1]=_0x58e4d7(0x390),_0x11a591))(yi||{});const ie='collaboration-client.config',Er={};function br(_0xe74d88){const _0x1cce04=_0x58e4d7;var _0xcbb5d5,_0x54967e,_0x4d0b7c,_0x36ca7c,_0x210809;const _0x71965b=_0xe74d88['data'],_0x166325=JSON[_0x1cce04(0x3ae)](_0x71965b);switch(_0x166325[_0x1cce04(0x10e)]){case W[_0x1cce04(0x36e)]:case W[_0x1cce04(0x2a4)]:{const _0xba319d=_0x166325[_0x1cce04(0x2f7)];return{..._0x166325,'data':_0xba319d,'cmd':_0x166325[_0x1cce04(0x10e)]};}case W['JOIN']:{const _0x2d3137=_0x166325[_0x1cce04(0x4c5)];return{..._0x166325,'data':_0x2d3137,'cmd':_0x166325['cmd']};}case W[_0x1cce04(0x21c)]:{const _0x1ee595=_0x166325[_0x1cce04(0x4dd)];switch(_0x1ee595[_0x1cce04(0x1ec)]){case _0x2ffb5e['PERMISSION_REJ']:return{..._0x166325,'data':{..._0x1ee595,'data':(_0xcbb5d5=_0x1ee595['permissionRejEvent'])==null?void 0x0:_0xcbb5d5['cs']},'cmd':_0x166325['cmd']};case _0x2ffb5e[_0x1cce04(0x10f)]:return{..._0x166325,'data':{..._0x1ee595,'data':(_0x54967e=_0x1ee595[_0x1cce04(0x365)])==null?void 0x0:_0x54967e['cs']},'cmd':_0x166325[_0x1cce04(0x10e)]};case _0x2ffb5e[_0x1cce04(0x10d)]:return{..._0x166325,'data':{..._0x1ee595,'data':(_0x4d0b7c=_0x1ee595['newCsEvent'])==null?void 0x0:_0x4d0b7c['cs']},'cmd':_0x166325['cmd']};case _0x2ffb5e[_0x1cce04(0x4fd)]:return{..._0x166325,'data':{..._0x1ee595,'data':(_0x36ca7c=_0x1ee595[_0x1cce04(0x44b)])==null?void 0x0:_0x36ca7c['cs']},'cmd':_0x166325[_0x1cce04(0x10e)]};case _0x2ffb5e['CHANGESET_SHOULD_RETRY']:return{..._0x166325,'data':{..._0x1ee595,'data':(_0x210809=_0x1ee595[_0x1cce04(0x400)])==null?void 0x0:_0x210809['cs']},'cmd':_0x166325['cmd']};case _0x2ffb5e[_0x1cce04(0x138)]:return{..._0x166325,'data':{..._0x1ee595,'data':_0x1ee595['updateCursorEvent']},'cmd':_0x166325[_0x1cce04(0x10e)]};case _0x2ffb5e[_0x1cce04(0x4d5)]:return{..._0x166325,'data':{..._0x1ee595,'data':_0x1ee595[_0x1cce04(0x1b8)]},'cmd':_0x166325[_0x1cce04(0x10e)]};case _0x2ffb5e[_0x1cce04(0x13a)]:return{..._0x166325,'data':{..._0x1ee595,'data':_0x1ee595[_0x1cce04(0x2d1)]},'cmd':_0x166325[_0x1cce04(0x10e)]};case _0x2ffb5e[_0x1cce04(0x4e7)]:return{..._0x166325,'data':{..._0x1ee595,'data':_0x1ee595[_0x1cce04(0x2f3)]},'cmd':_0x166325['cmd']};case _0x2ffb5e[_0x1cce04(0x344)]:case _0x2ffb5e[_0x1cce04(0x461)]:return{..._0x166325,'data':{..._0x1ee595,'data':_0x1ee595[_0x1cce04(0x2fa)]},'cmd':_0x166325[_0x1cce04(0x10e)]};case _0x2ffb5e[_0x1cce04(0x3cf)]:return{..._0x166325,'data':{..._0x1ee595,'data':_0x1ee595[_0x1cce04(0x2f3)]},'cmd':_0x166325[_0x1cce04(0x10e)]};case _0x2ffb5e['MSG_FOR_ERROR']:return{..._0x166325,'data':_0x1ee595,'cmd':_0x166325[_0x1cce04(0x10e)]};case _0x2ffb5e[_0x1cce04(0x12e)]:return{..._0x166325,'data':{..._0x1ee595,'data':_0x1ee595[_0x1cce04(0x4ae)]},'cmd':_0x166325['cmd']};case _0x2ffb5e[_0x1cce04(0x1c0)]:return{..._0x166325,'data':{..._0x1ee595,'data':_0x1ee595['updatePermissionObjEvent']},'cmd':_0x166325[_0x1cce04(0x10e)]};case _0x2ffb5e['SHOULD_CLOSE_CONN']:return{..._0x166325,'data':{..._0x1ee595,'data':_0x1ee595[_0x1cce04(0x4b7)]},'cmd':_0x166325['cmd']};default:return _0x166325;}}default:return _0x166325;}}function Tr(_0x5d36e4){const _0x19a95d=_0x58e4d7;switch(_0x5d36e4[_0x19a95d(0x10e)]){case W[_0x19a95d(0x36e)]:case W[_0x19a95d(0x2a4)]:return JSON[_0x19a95d(0x152)]({'cmd':_0x5d36e4['cmd'],'routeKey':_0x5d36e4['routeKey']});case W[_0x19a95d(0x2d2)]:{let _0x20f386;switch(_0x5d36e4[_0x19a95d(0x266)][_0x19a95d(0x1ec)]){case _0x2ffb5e['UPDATE_CURSOR']:{_0x20f386={'eventID':_0x2ffb5e['UPDATE_CURSOR'],'updateCursorEvent':_0x5d36e4['data'][_0x19a95d(0x266)]};break;}case _0x2ffb5e[_0x19a95d(0x13a)]:{_0x20f386={'eventID':_0x2ffb5e[_0x19a95d(0x13a)],'leaveEvent':_0x5d36e4[_0x19a95d(0x266)]['data']};break;}case _0x2ffb5e[_0x19a95d(0x4d5)]:{_0x20f386={'eventID':_0x2ffb5e[_0x19a95d(0x4d5)],'joinEvent':_0x5d36e4['data'][_0x19a95d(0x266)]};break;}case _0x2ffb5e[_0x19a95d(0x4e7)]:{_0x20f386={'eventID':_0x2ffb5e['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x5d36e4[_0x19a95d(0x266)][_0x19a95d(0x266)]};break;}case _0x2ffb5e[_0x19a95d(0x461)]:{_0x20f386={'eventID':_0x2ffb5e[_0x19a95d(0x461)],'liveShareOperation':_0x5d36e4['data'][_0x19a95d(0x266)]};break;}case _0x2ffb5e[_0x19a95d(0x3cf)]:{_0x20f386={'eventID':_0x2ffb5e[_0x19a95d(0x3cf)],'liveShareTerminate':_0x5d36e4[_0x19a95d(0x266)]['data']};break;}case _0x2ffb5e[_0x19a95d(0x1bd)]:{_0x20f386={'eventID':_0x2ffb5e[_0x19a95d(0x1bd)],'liveShareRequestHost':_0x5d36e4[_0x19a95d(0x266)][_0x19a95d(0x266)]};break;}case _0x2ffb5e[_0x19a95d(0x344)]:{_0x20f386={'eventID':_0x2ffb5e[_0x19a95d(0x344)]};break;}default:_0x20f386={'eventID':_0x5d36e4[_0x19a95d(0x266)]['eventID']};}return JSON[_0x19a95d(0x152)]({'cmd':_0x5d36e4['cmd'],'routeKey':_0x5d36e4['routeKey'],'collaMsg':_0x20f386});}case W['JOIN']:return JSON[_0x19a95d(0x152)]({'cmd':_0x5d36e4[_0x19a95d(0x10e)],'routeKey':_0x5d36e4[_0x19a95d(0x171)],'joinReq':_0x5d36e4[_0x19a95d(0x266)]});case W[_0x19a95d(0x3e3)]:return JSON[_0x19a95d(0x152)]({'cmd':_0x5d36e4[_0x19a95d(0x10e)],'routeKey':_0x5d36e4['routeKey'],'leaveReq':_0x5d36e4['data']});default:throw new Error(_0x19a95d(0x3f6));}}var Rr=Object[_0x58e4d7(0x367)],yr=Object[_0x58e4d7(0x1ba)],Or=(_0x226c19,_0x30fb8c,_0x124efb,_0xc85d6a)=>{for(var _0x554d2b=_0xc85d6a>0x1?void 0x0:_0xc85d6a?yr(_0x30fb8c,_0x124efb):_0x30fb8c,_0x3a8438=_0x226c19['length']-0x1,_0x230fe3;_0x3a8438>=0x0;_0x3a8438--)(_0x230fe3=_0x226c19[_0x3a8438])&&(_0x554d2b=(_0xc85d6a?_0x230fe3(_0x30fb8c,_0x124efb,_0x554d2b):_0x230fe3(_0x554d2b))||_0x554d2b);return _0xc85d6a&&_0x554d2b&&Rr(_0x30fb8c,_0x124efb,_0x554d2b),_0x554d2b;},qe=(_0x47a88f,_0x2aeeb8)=>(_0x37a777,_0x1aa339)=>_0x2aeeb8(_0x37a777,_0x1aa339,_0x47a88f);const Oi=_0x3366fd(_0x58e4d7(0x295));function wr(_0x5126f5,_0x52586b,_0x2b6f9b){const _0x5d2c65=_0x58e4d7;return _0x5126f5+'/'+_0x52586b+_0x5d2c65(0x283)+_0x2b6f9b+'/new_changes';}let es=class extends _0x24c9bf{constructor(_0x35eded,_0x512dbd,_0x3bcf65,_0x117f3b,_0x496356){const _0x5c0697=_0x58e4d7;super(),this[_0x5c0697(0x374)]=_0x35eded,this[_0x5c0697(0x20c)]=_0x512dbd,this[_0x5c0697(0x4e9)]=_0x3bcf65,this[_0x5c0697(0x21d)]=_0x117f3b,this[_0x5c0697(0x2e3)]=_0x496356;}['createSocket'](_0x175c92){const _0x4ca3c2=_0x58e4d7,_0x3d6340=this[_0x4ca3c2(0x20c)][_0x4ca3c2(0x402)](_0x175c92);if(!_0x3d6340)throw new Error(_0x4ca3c2(0x36d));const _0x3ac555=new _0x195863(),_0x46f912=new _0x5f4b37();_0x3ac555[_0x4ca3c2(0x246)](_0x3d6340[_0x4ca3c2(0x4b3)][_0x4ca3c2(0x2df)](_0x7ffa56=>_0x46f912[_0x4ca3c2(0x389)](_0x7ffa56))),_0x3ac555['add'](_0x3a9dfc(()=>_0x46f912[_0x4ca3c2(0x2ec)]()));const _0x1a0afb=new _0x5f4b37();_0x3ac555[_0x4ca3c2(0x246)](_0x3d6340[_0x4ca3c2(0x388)][_0x4ca3c2(0x2df)](_0x2a5eaf=>_0x1a0afb[_0x4ca3c2(0x389)](_0x2a5eaf))),_0x3ac555[_0x4ca3c2(0x246)](_0x3a9dfc(()=>_0x1a0afb[_0x4ca3c2(0x2ec)]()));const _0x16facb=new _0x5f4b37();_0x3ac555[_0x4ca3c2(0x246)](_0x3d6340['message$'][_0x4ca3c2(0x2df)](_0x3d557b=>{const _0x5e2490=_0x4ca3c2,_0x12af96=br(_0x3d557b);_0x16facb[_0x5e2490(0x389)](_0x12af96);})),_0x3ac555[_0x4ca3c2(0x246)](_0x3a9dfc(()=>_0x16facb['complete']()));let _0x5bb741;const _0x17445c=()=>{const _0x13ec28=_0x4ca3c2;_0x1a0afb[_0x13ec28(0x389)](new Event(_0x13ec28(0x24b))),_0x46f912[_0x13ec28(0x389)](new CloseEvent(_0x13ec28(0x24b))),_0x5bb741['close']();};return _0x5bb741={'memberID':'','close$':_0x46f912[_0x4ca3c2(0x4fe)](),'error$':_0x1a0afb[_0x4ca3c2(0x4fe)](),'open$':_0x3d6340['open$'],'message$':_0x16facb[_0x4ca3c2(0x4fe)](),'send':_0x2b6c46=>{const _0x53987b=_0x4ca3c2;if(_0x2b6c46['cmd']===W['INGEST']){if(_0x2b6c46['data'][_0x53987b(0x1ec)]===_0x2ffb5e[_0x53987b(0x353)]){this['_submitChangeset'](_0x5bb741,_0x2b6c46[_0x53987b(0x266)])[_0x53987b(0x472)](_0x3053fb=>{const _0x16e615=_0x53987b;this[_0x16e615(0x21d)]['error'](_0x3053fb),_0x17445c();});return;}if(_0x2b6c46[_0x53987b(0x266)]['eventID']===_0x2ffb5e['FETCH_MISSING']){const _0x5e5054=_0x2b6c46[_0x53987b(0x266)];this[_0x53987b(0x4ab)](_0x5e5054)[_0x53987b(0x12a)](_0x451564=>{const _0x438d83=_0x53987b;_0x16facb[_0x438d83(0x389)]({'cmd':W['RECV'],'code':Is['OK'],'routeKey':_0x5e5054[_0x438d83(0x266)][_0x438d83(0x214)],'routeType':'','data':{'eventID':_0x2ffb5e[_0x438d83(0x506)],'data':{'changesets':_0x451564}}});})[_0x53987b(0x472)](_0x13a58d=>{const _0x2c8459=_0x53987b;this[_0x2c8459(0x21d)][_0x2c8459(0x27b)](_0x13a58d),_0x17445c();});return;}}_0x3d6340[_0x53987b(0x299)](Tr(_0x2b6c46));},'close':()=>{const _0x520ec0=_0x4ca3c2;_0x3d6340[_0x520ec0(0x1c3)](),_0x3ac555['dispose']();}},_0x5bb741;}async[_0x58e4d7(0x462)](_0x3f2b98,_0x50b378){const _0xbab8be=_0x58e4d7;var _0x1d4d42,_0x3af3a2;const {unitType:_0xa10812,unitID:_0x7326c7,changeset:_0x187a8c}=_0x50b378[_0xbab8be(0x266)],_0xcd95a7={'unitID':_0x7326c7,'memberID':_0x3f2b98[_0xbab8be(0x218)],'type':_0xa10812,'changeset':_0x2604ab(_0x187a8c)},_0x3804cd=this[_0xbab8be(0x4e9)][_0xbab8be(0x4f3)](gr),_0x468c5d=this['_configService'][_0xbab8be(0x4f3)](ie),_0x41678b=wr((_0x3af3a2=(_0x1d4d42=_0x468c5d==null?void 0x0:_0x468c5d[_0xbab8be(0x3a3)])!=null?_0x1d4d42:_0x3804cd)!=null?_0x3af3a2:Sr,_0xa10812,_0x7326c7);try{await this[_0xbab8be(0x374)][_0xbab8be(0x230)](_0x41678b,{'body':_0xcd95a7});}catch(_0x7e7509){throw this[_0xbab8be(0x21d)][_0xbab8be(0x27b)](_0xbab8be(0x237),_0xbab8be(0x351)),_0x7e7509;}}async[_0x58e4d7(0x4ab)](_0x26c442){const _0x4b143e=_0x58e4d7,{unitID:_0x18ba8d,from:_0x4553f5,to:_0x5049d0,unitType:_0x5ceebf}=_0x26c442[_0x4b143e(0x266)];return(await this[_0x4b143e(0x2e3)][_0x4b143e(0x370)]({'metadata':void 0x0},{'unitID':_0x18ba8d,'type':_0x5ceebf,'from':_0x4553f5,'to':_0x5049d0}))[_0x4b143e(0x32f)];}};es=Or([qe(0x0,_0x22f9f7(_0x3f6ec6)),qe(0x1,_0x22f9f7(_0x5365ef)),qe(0x2,_0x4bb278),qe(0x3,_0x1bae21),qe(0x4,_0x326725)],es);const Dr=_0x58e4d7(0x36c);function Pr(_0x4b623a){const _0x2e4d82=_0x58e4d7;return JSON[_0x2e4d82(0x152)](_0x4b623a)['length'];}class wi{constructor(){const _0x3f7f0d=_0x58e4d7;g(this,'_commentUpdate$',new _0x5f4b37()),g(this,_0x3f7f0d(0x25e),this[_0x3f7f0d(0x271)][_0x3f7f0d(0x4fe)]());}['onCommentUpdate'](_0x4172b9){const _0x206bb3=_0x58e4d7;this[_0x206bb3(0x271)]['next'](_0x4172b9);}}var Ur=Object[_0x58e4d7(0x367)],Nr=Object[_0x58e4d7(0x1ba)],Ar=(_0x3f29d5,_0xd21925,_0x16eade,_0x43943f)=>{const _0x5142af=_0x58e4d7;for(var _0x5ed79f=_0x43943f>0x1?void 0x0:_0x43943f?Nr(_0xd21925,_0x16eade):_0xd21925,_0x240bd2=_0x3f29d5[_0x5142af(0x418)]-0x1,_0x175326;_0x240bd2>=0x0;_0x240bd2--)(_0x175326=_0x3f29d5[_0x240bd2])&&(_0x5ed79f=(_0x43943f?_0x175326(_0xd21925,_0x16eade,_0x5ed79f):_0x175326(_0x5ed79f))||_0x5ed79f);return _0x43943f&&_0x5ed79f&&Ur(_0xd21925,_0x16eade,_0x5ed79f),_0x5ed79f;},Hs=(_0x151d7a,_0x454380)=>(_0x193123,_0x3252aa)=>_0x454380(_0x193123,_0x3252aa,_0x151d7a);let Ne=class extends _0x24c9bf{constructor(_0x49f836,_0x620625){const _0x199615=_0x58e4d7;super(),g(this,'_roomMembers',new Map()),(this['_univerInstanceService']=_0x49f836,this[_0x199615(0x44f)]=_0x620625,this[_0x199615(0x32a)](_0x3a9dfc(_0x27d309(this[_0x199615(0x3c3)]['getTypeOfUnitDisposed$'](_0x11ab9a[_0x199615(0x15c)])[_0x199615(0x324)](_0x12b99c(_0x9793f3=>_0x9793f3[_0x199615(0x2c5)]())),this['_univerInstanceService'][_0x199615(0x3ce)](_0x11ab9a[_0x199615(0x1a7)])[_0x199615(0x324)](_0x12b99c(_0x42161d=>_0x42161d[_0x199615(0x2c5)]())),this[_0x199615(0x3c3)][_0x199615(0x3ce)](_0x11ab9a[_0x199615(0x441)])[_0x199615(0x324)](_0x12b99c(_0x2bd7ec=>_0x2bd7ec[_0x199615(0x2c5)]())))[_0x199615(0x2df)](_0x18b6cd=>this['_removeRoom'](_0x18b6cd)))));}[_0x58e4d7(0x217)](_0x106975){const _0x22b77e=_0x58e4d7;this[_0x22b77e(0x44f)][_0x22b77e(0x217)](_0x106975);}[_0x58e4d7(0x276)](){const _0x170742=_0x58e4d7;return this['_userManagerService'][_0x170742(0x276)]();}['updateMember'](_0xe16ad9,_0xd1f495){const _0x1e8973=_0x58e4d7;let _0x207b7c=this['_roomMembers'][_0x1e8973(0x3d3)](_0xe16ad9);_0x207b7c||(_0x207b7c=new Mr(),this[_0x1e8973(0x2eb)][_0x1e8973(0x372)](_0xe16ad9,_0x207b7c)),_0x207b7c['updateMember'](_0xd1f495);}['removeMember'](_0x202c77,_0x1deceb){const _0x4949d8=this['_roomMembers']['get'](_0x202c77);_0x4949d8&&_0x4949d8['removeMember'](_0x1deceb);}[_0x58e4d7(0x4c9)](_0x1638be){const _0x2ea192=_0x58e4d7;return this[_0x2ea192(0x2eb)][_0x2ea192(0x3d3)](_0x1638be);}['getMember'](_0x51aade,_0x3e1651){const _0x350eac=_0x58e4d7,_0x1bed8e=this[_0x350eac(0x2eb)][_0x350eac(0x3d3)](_0x51aade);if(_0x1bed8e)return _0x1bed8e['getMember'](_0x3e1651);}[_0x58e4d7(0x465)](_0xbf0ce5){const _0x8b0853=_0x58e4d7,_0x4f17f2=this['_roomMembers'][_0x8b0853(0x3d3)](_0xbf0ce5);_0x4f17f2&&(_0x4f17f2[_0x8b0853(0x41e)](),this['_roomMembers'][_0x8b0853(0xfe)](_0xbf0ce5));}[_0x58e4d7(0x41e)](){const _0x58f530=_0x58e4d7;this[_0x58f530(0x2eb)][_0x58f530(0x2ff)](_0x4da1e7=>_0x4da1e7[_0x58f530(0x41e)]()),this[_0x58f530(0x2eb)][_0x58f530(0x470)]();}};Ne=Ar([Hs(0x0,_0x17eff3),Hs(0x1,_0x22f9f7(_0x1c0af6))],Ne);class Mr extends _0x24c9bf{constructor(){const _0x3b0101=_0x58e4d7;super(...arguments),g(this,_0x3b0101(0x455),new Map());}[_0x58e4d7(0x41e)](){const _0x2ff2eb=_0x58e4d7;this['_members'][_0x2ff2eb(0x470)]();}[_0x58e4d7(0x336)](_0x4fac17){const _0x242fea=_0x58e4d7;this[_0x242fea(0x455)][_0x242fea(0x372)](_0x4fac17[_0x242fea(0x218)],_0x4fac17);}['removeMember'](_0x546101){const _0x487152=_0x58e4d7;this[_0x487152(0x455)][_0x487152(0xfe)](_0x546101);}[_0x58e4d7(0x135)](_0x11bb8f){const _0x123741=_0x58e4d7;return this[_0x123741(0x455)][_0x123741(0x3d3)](_0x11bb8f);}[_0x58e4d7(0x43b)](){const _0x449cc4=_0x58e4d7;return Array[_0x449cc4(0x387)](this[_0x449cc4(0x455)][_0x449cc4(0x41f)]());}}var xr=Object[_0x58e4d7(0x367)],Lr=Object[_0x58e4d7(0x1ba)],$r=(_0x56bfd4,_0x4d5de4,_0xffb20d,_0x4fda76)=>{for(var _0x185aeb=_0x4fda76>0x1?void 0x0:_0x4fda76?Lr(_0x4d5de4,_0xffb20d):_0x4d5de4,_0x403a66=_0x56bfd4['length']-0x1,_0xea0bc7;_0x403a66>=0x0;_0x403a66--)(_0xea0bc7=_0x56bfd4[_0x403a66])&&(_0x185aeb=(_0x4fda76?_0xea0bc7(_0x4d5de4,_0xffb20d,_0x185aeb):_0xea0bc7(_0x185aeb))||_0x185aeb);return _0x4fda76&&_0x185aeb&&xr(_0x4d5de4,_0xffb20d,_0x185aeb),_0x185aeb;},Ee=(_0x3169a2,_0x5c3c44)=>(_0x54dcd5,_0x1648fb)=>_0x5c3c44(_0x54dcd5,_0x1648fb,_0x3169a2),ve=(_0x1390d1=>(_0x1390d1[_0x1390d1['IDLE']=0x0]='IDLE',_0x1390d1[_0x1390d1['JOINING']=0x1]=_0x58e4d7(0x262),_0x1390d1[_0x1390d1[_0x58e4d7(0x153)]=0x2]=_0x58e4d7(0x153),_0x1390d1[_0x1390d1[_0x58e4d7(0x2be)]=0x3]=_0x58e4d7(0x2be),_0x1390d1))(ve||{});let ts=class extends _0x574fb2{constructor(_0x1b9c3c,_0x8fa859,_0x581ac2,_0x8ad140,_0x3c92e1,_0x2612e5,_0x289ed9,_0x4a194d,_0x204e23,_0x5baab5){const _0xa9b0ad=_0x58e4d7;super(),g(this,_0xa9b0ad(0x27f),new _0x25a07b(0x0)),g(this,_0xa9b0ad(0x35d),this['_sessionStatus$'][_0xa9b0ad(0x4fe)]()),g(this,'_event$',new _0x5f4b37()),g(this,_0xa9b0ad(0x206),this[_0xa9b0ad(0x464)][_0xa9b0ad(0x4fe)]()),g(this,_0xa9b0ad(0x250)),g(this,_0xa9b0ad(0x32c)),g(this,_0xa9b0ad(0x2b9)),g(this,_0xa9b0ad(0x14d),!0x1),g(this,_0xa9b0ad(0x47f),null),(this[_0xa9b0ad(0x331)]=_0x1b9c3c,this[_0xa9b0ad(0x21d)]=_0x581ac2,this['_beforeCloseService']=_0x8ad140,this[_0xa9b0ad(0x32e)]=_0x3c92e1,this[_0xa9b0ad(0x4e9)]=_0x2612e5,this[_0xa9b0ad(0x332)]=_0x289ed9,this[_0xa9b0ad(0x2db)]=_0x4a194d,this[_0xa9b0ad(0x42d)]=_0x204e23,this[_0xa9b0ad(0x4ac)]=_0x5baab5,this[_0xa9b0ad(0x14d)]=!!this[_0xa9b0ad(0x4ac)],_0x8fa859[_0xa9b0ad(0x324)](_0x4bde19(this[_0xa9b0ad(0x3ff)]))[_0xa9b0ad(0x2df)](_0x22255b=>{const _0x39e5c9=_0xa9b0ad;var _0x22cd17;typeof _0x22255b>'u'||(this[_0x39e5c9(0x250)]=_0x22255b,_0x22255b?(this[_0x39e5c9(0x4f4)](_0x22255b),this['_socketMessageSubscription']=_0x22255b['message$']['subscribe'](_0x4ccb23=>{const _0x2f6f93=_0x39e5c9;_0x4ccb23[_0x2f6f93(0x171)]===this[_0x2f6f93(0x331)]&&this[_0x2f6f93(0x22c)](_0x4ccb23);})):(this[_0x39e5c9(0x2cd)](),this['_sessionStatus$']['next'](0x2),(_0x22cd17=this['_socketMessageSubscription'])==null||_0x22cd17[_0x39e5c9(0x394)](),this['_socketMessageSubscription']=null));}),this['disposeWithMe'](this['_beforeCloseService']['registerOnClose'](()=>{const _0x4df8a6=_0xa9b0ad;var _0x3040ea;(_0x3040ea=this[_0x4df8a6(0x250)])==null||_0x3040ea[_0x4df8a6(0x299)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x4df8a6(0x331)]}});})));}get[_0x58e4d7(0x2dd)](){const _0x4fe9d6=_0x58e4d7;return this[_0x4fe9d6(0x27f)][_0x4fe9d6(0x4a7)]();}[_0x58e4d7(0x3e2)](){const _0x58e89a=_0x58e4d7;var _0x54903a,_0x4538fe;return(_0x4538fe=(_0x54903a=this[_0x58e89a(0x250)])==null?void 0x0:_0x54903a[_0x58e89a(0x218)])!=null?_0x4538fe:null;}['dispose'](){const _0x23bb17=_0x58e4d7;super['dispose'](),this['dispose$'][_0x23bb17(0x389)](),this[_0x23bb17(0x3ff)][_0x23bb17(0x2ec)]();}[_0x58e4d7(0x1c3)](){const _0x5e7198=_0x58e4d7;var _0x2874a2,_0x12bef6;this[_0x5e7198(0x2cd)](),(_0x2874a2=this[_0x5e7198(0x250)])==null||_0x2874a2[_0x5e7198(0x299)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x5e7198(0x331)]}}),(_0x12bef6=this[_0x5e7198(0x250)])==null||_0x12bef6[_0x5e7198(0x1c3)](),this['_event$'][_0x5e7198(0x2ec)](),this[_0x5e7198(0x27f)][_0x5e7198(0x2ec)](),this[_0x5e7198(0x41e)]();}[_0x58e4d7(0x22c)](_0x5e21f4){const _0x6953fd=_0x58e4d7;_0x5e21f4[_0x6953fd(0x10e)]===W[_0x6953fd(0x2ab)]?this[_0x6953fd(0x223)](_0x5e21f4):_0x5e21f4['cmd']===W[_0x6953fd(0x21c)]&&this[_0x6953fd(0x204)](_0x5e21f4);}['_joinRoom'](_0x532052){const _0x3be8ba=_0x58e4d7;this[_0x3be8ba(0x27f)][_0x3be8ba(0x389)](0x1),_0x532052[_0x3be8ba(0x299)]({'cmd':W[_0x3be8ba(0x2ab)],'routeKey':this[_0x3be8ba(0x331)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3be8ba(0x331)]}]}});}[_0x58e4d7(0x223)](_0x4694eb){const _0xef5135=_0x58e4d7;var _0x55d511;if(_0x4694eb[_0xef5135(0x225)]===Is['FAIL']){this[_0xef5135(0x32e)][_0xef5135(0x25b)]({'type':_0x2a6979[_0xef5135(0x102)],'content':this[_0xef5135(0x332)]['t'](_0xef5135(0x1b6))}),this[_0xef5135(0x27f)]['next'](0x2);return;}this[_0xef5135(0x27f)]['next'](0x3);const _0x406850=(_0x55d511=_0x4694eb[_0xef5135(0x266)][_0xef5135(0x4a1)][this[_0xef5135(0x331)]])==null?void 0x0:_0x55d511[_0xef5135(0x273)];_0x406850&&_0x406850['forEach'](_0x23a0c0=>this[_0xef5135(0x2db)][_0xef5135(0x336)](this[_0xef5135(0x331)],_0x23a0c0));}[_0x58e4d7(0x204)](_0x8ba0c2){const _0x3aa198=_0x58e4d7;try{const _0x323d77=_0x8ba0c2[_0x3aa198(0x266)];switch(_0x323d77['eventID']){case _0x2ffb5e[_0x3aa198(0x4d5)]:this[_0x3aa198(0x1ab)](_0x323d77),this['_event$'][_0x3aa198(0x389)](_0x323d77);break;case _0x2ffb5e[_0x3aa198(0x13a)]:this['_onUserLeave'](_0x323d77),this[_0x3aa198(0x464)]['next'](_0x323d77);break;case _0x2ffb5e[_0x3aa198(0x10f)]:case _0x2ffb5e['CHANGESET_SHOULD_RETRY']:this[_0x3aa198(0x378)](),this[_0x3aa198(0xfb)](),this[_0x3aa198(0x464)][_0x3aa198(0x389)](_0x323d77);break;case _0x2ffb5e[_0x3aa198(0x3d1)]:this['_logService'][_0x3aa198(0x27b)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x323d77)),this['_event$'][_0x3aa198(0x389)](_0x323d77);break;case _0x2ffb5e['COMMENT_UPDATE']:this[_0x3aa198(0x42d)][_0x3aa198(0x229)](_0x323d77[_0x3aa198(0x266)]),this[_0x3aa198(0x464)]['next'](_0x323d77);break;default:this['_event$'][_0x3aa198(0x389)](_0x323d77);}}catch(_0x5a8052){this[_0x3aa198(0x21d)][_0x3aa198(0x27b)](_0x5a8052,_0x8ba0c2);}}[_0x58e4d7(0x1ab)](_0x437281){const _0x5ef8c1=_0x58e4d7;this['_memberService'][_0x5ef8c1(0x336)](this['_unitID'],_0x437281['data']);}[_0x58e4d7(0x4e6)](_0x24ac13){const _0x1b76d7=_0x58e4d7;this[_0x1b76d7(0x2db)][_0x1b76d7(0x104)](this[_0x1b76d7(0x331)],_0x24ac13['data'][_0x1b76d7(0x218)]);}async[_0x58e4d7(0x299)](_0x5e56f6,_0x2eb810){const _0x4d1a3d=_0x58e4d7;if(this[_0x4d1a3d(0x2dd)]!==0x3||!this[_0x4d1a3d(0x250)])throw new Error(_0x4d1a3d(0x2f1));try{_0x5e56f6[_0x4d1a3d(0x1ec)]===_0x2ffb5e[_0x4d1a3d(0x353)]&&(this[_0x4d1a3d(0x21a)](),this[_0x4d1a3d(0x37e)](_0x5e56f6)),this[_0x4d1a3d(0x250)][_0x4d1a3d(0x299)]({'cmd':W[_0x4d1a3d(0x2d2)],'routeKey':_0x2eb810,'routeType':'','data':_0x5e56f6});}catch(_0x4ef9f9){this[_0x4d1a3d(0x21d)][_0x4d1a3d(0x27b)](_0x4ef9f9);}}[_0x58e4d7(0x21a)](){const _0x2b96c2=_0x58e4d7;var _0xfe4982;this[_0x2b96c2(0x2b9)]=window[_0x2b96c2(0x2ad)](()=>{const _0xb68ad4=_0x2b96c2;this[_0xb68ad4(0x2b9)]=null,this[_0xb68ad4(0x32e)][_0xb68ad4(0x25b)]({'type':_0x2a6979[_0xb68ad4(0x2c3)],'content':this['_localeService']['t'](_0xb68ad4(0x4ee))});},(_0xfe4982=this[_0x2b96c2(0x4e9)][_0x2b96c2(0x4f3)](bi))!=null?_0xfe4982:Ti);}[_0x58e4d7(0xfb)](){const _0x178a30=_0x58e4d7;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x178a30(0x2b9)]),this[_0x178a30(0x2b9)]=null);}[_0x58e4d7(0x37e)](_0x4a588a){const _0x40842f=_0x58e4d7;if(!this[_0x40842f(0x14d)])return;const {data:_0x281845}=_0x4a588a,{unitID:_0x527f30,changeset:_0x81b75}=_0x281845,{mutations:_0x213e51,type:_0x2a9148}=_0x81b75;this['_telemetryInfo']={'unitId':_0x527f30,'type':_0x2a9148,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x213e51)};}[_0x58e4d7(0x378)](){const _0x59af5a=_0x58e4d7;if(this[_0x59af5a(0x14d)]){if(!this[_0x59af5a(0x47f)]){this['_logService'][_0x59af5a(0x27b)](_0x59af5a(0x237),_0x59af5a(0x40e));return;}this[_0x59af5a(0x47f)][_0x59af5a(0x143)]=performance[_0x59af5a(0x47c)](),this['_telemetryInfo'][_0x59af5a(0x3e5)]=this[_0x59af5a(0x47f)]['stopTime']-this[_0x59af5a(0x47f)][_0x59af5a(0x42f)],this[_0x59af5a(0x4ac)][_0x59af5a(0x3b5)](Dr,this[_0x59af5a(0x47f)]),this[_0x59af5a(0x47f)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};ts=$r([Ee(0x2,_0x1bae21),Ee(0x3,_0x373baf),Ee(0x4,_0x5138eb),Ee(0x5,_0x4bb278),Ee(0x6,_0x22f9f7(_0x1c0183)),Ee(0x7,_0x22f9f7(Ne)),Ee(0x8,_0x22f9f7(wi)),Ee(0x9,_0x48a9ef(_0x30d3b2))],ts);var Hr=Object[_0x58e4d7(0x367)],jr=Object[_0x58e4d7(0x1ba)],Br=(_0x329c26,_0x2368b3,_0x4e6ca8,_0x469b38)=>{for(var _0x18bdcb=_0x469b38>0x1?void 0x0:_0x469b38?jr(_0x2368b3,_0x4e6ca8):_0x2368b3,_0x50c60=_0x329c26['length']-0x1,_0x17299e;_0x50c60>=0x0;_0x50c60--)(_0x17299e=_0x329c26[_0x50c60])&&(_0x18bdcb=(_0x469b38?_0x17299e(_0x2368b3,_0x4e6ca8,_0x18bdcb):_0x17299e(_0x18bdcb))||_0x18bdcb);return _0x469b38&&_0x18bdcb&&Hr(_0x2368b3,_0x4e6ca8,_0x18bdcb),_0x18bdcb;},je=(_0x851bbc,_0x142723)=>(_0x5be77a,_0x5c0141)=>_0x142723(_0x5be77a,_0x5c0141,_0x851bbc);let Ae=class extends _0x24c9bf{constructor(_0x154338,_0x49c6eb,_0x2ff8a7,_0x52c1d7,_0x35f300,_0x3d68c2){const _0x286322=_0x58e4d7;super(),g(this,_0x286322(0x1fc),new _0x25a07b(void 0x0)),g(this,_0x286322(0x15d),this[_0x286322(0x1fc)]['asObservable']()),g(this,_0x286322(0x148),null),g(this,_0x286322(0x4e8),new Map()),g(this,'_status$',new _0x25a07b(ve['IDLE'])),g(this,_0x286322(0x4f6),this[_0x286322(0x3c1)][_0x286322(0x4fe)]()),g(this,_0x286322(0x1ad),!0x1),g(this,'_retryConnectingTimer'),g(this,'_retryCount',0x0),g(this,_0x286322(0x1d2)),g(this,'_timeoutTimer'),(this[_0x286322(0x405)]=_0x154338,this[_0x286322(0x332)]=_0x49c6eb,this[_0x286322(0x32e)]=_0x2ff8a7,this[_0x286322(0x21d)]=_0x52c1d7,this[_0x286322(0x4e9)]=_0x35f300,this['_socketService']=_0x3d68c2,this[_0x286322(0x181)]());}get[_0x58e4d7(0x250)](){const _0x21e38d=_0x58e4d7;return this[_0x21e38d(0x1fc)][_0x21e38d(0x4a7)]();}['_initEventListeners'](){const _0x3f538c=_0x58e4d7;this[_0x3f538c(0x4a3)](),this[_0x3f538c(0x280)]();}[_0x58e4d7(0x41e)](){const _0x3be4b2=_0x58e4d7;super['dispose'](),this['_sessions'][_0x3be4b2(0x2ff)](_0x594ea2=>_0x594ea2['dispose']()),this[_0x3be4b2(0x4e8)][_0x3be4b2(0x470)](),this['_status$'][_0x3be4b2(0x2ec)]();}async[_0x58e4d7(0x322)](_0x5be7ae){const _0xa1a8be=_0x58e4d7;if(this[_0xa1a8be(0x4e8)]['has'](_0x5be7ae))return this['_sessions'][_0xa1a8be(0x3d3)](_0x5be7ae);this[_0xa1a8be(0x422)]();const _0x61363a=this[_0xa1a8be(0x405)][_0xa1a8be(0x4c3)](ts,_0x5be7ae,this[_0xa1a8be(0x1fc)][_0xa1a8be(0x4fe)]());return this[_0xa1a8be(0x4e8)][_0xa1a8be(0x372)](_0x5be7ae,_0x61363a),_0x61363a;}[_0x58e4d7(0x243)](_0x5e6943){const _0x4c8bbc=_0x58e4d7;var _0x4109ad;const _0x5d9723=this[_0x4c8bbc(0x4e8)]['get'](_0x5e6943);_0x5d9723&&(this[_0x4c8bbc(0x4e8)][_0x4c8bbc(0xfe)](_0x5e6943),_0x5d9723['close']()),this[_0x4c8bbc(0x4e8)][_0x4c8bbc(0x17b)]||(_0x4109ad=this[_0x4c8bbc(0x250)])==null||_0x4109ad[_0x4c8bbc(0x1c3)]();}[_0x58e4d7(0x46a)](){const _0x3f9fd6=_0x58e4d7;this[_0x3f9fd6(0x155)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x3f9fd6(0x303)]),this[_0x3f9fd6(0x303)]=null),this[_0x3f9fd6(0x453)]();}[_0x58e4d7(0x33d)](){const _0xc889d4=_0x58e4d7;var _0x233c95,_0x114ba2;const _0x134a6b=this['_configService'][_0xc889d4(0x4f3)](hr),_0x813cdd=this['_configService'][_0xc889d4(0x4f3)](ie),_0x3694f7=(_0x114ba2=(_0x233c95=_0x813cdd==null?void 0x0:_0x813cdd['collabWebSocketUrl'])!=null?_0x233c95:_0x134a6b)!=null?_0x114ba2:lr,_0x477a3b=this['_socketService'][_0xc889d4(0x402)](_0x3694f7);return this[_0xc889d4(0x148)]=_0x477a3b,_0x477a3b;}[_0x58e4d7(0x422)](){const _0x664d87=_0x58e4d7;var _0x509330,_0x1397a9;try{const _0x26498e=(_0x1397a9=(_0x509330=this['_socket'])!=null?_0x509330:this[_0x664d87(0x148)])!=null?_0x1397a9:this[_0x664d87(0x33d)]();if(_0x26498e){const _0x1764ab=_0x26498e['send'];_0x26498e[_0x664d87(0x299)]=_0x1d83d4=>(this[_0x664d87(0x121)](),_0x1764ab[_0x664d87(0x3e6)](_0x26498e,[_0x1d83d4])),_0x26498e[_0x664d87(0x1b1)][_0x664d87(0x2df)](_0x2c21ec=>this[_0x664d87(0x259)](_0x26498e,_0x2c21ec)),_0x26498e[_0x664d87(0x388)][_0x664d87(0x324)](_0x1a7d67(0x1))[_0x664d87(0x2df)](_0x1f0067=>this[_0x664d87(0x21d)][_0x664d87(0x27b)](_0x664d87(0x4f8),_0x1f0067)),_0x26498e[_0x664d87(0x1e8)][_0x664d87(0x324)](_0x1a7d67(0x1))[_0x664d87(0x2df)](()=>{const _0x44ec38=_0x664d87;this[_0x44ec38(0x107)](_0x26498e);}),_0x26498e[_0x664d87(0x4b3)]['pipe'](_0x1a7d67(0x1))[_0x664d87(0x2df)](_0x4cf8ef=>{const _0x578850=_0x664d87;this['_logService'][_0x578850(0x2c8)]('[CollaborationSessionService]','socket\x20close',_0x4cf8ef),this['_onConnectionFailed']();});}}catch(_0xe72855){this[_0x664d87(0x21d)]['error'](_0xe72855),this['_onConnectionFailed']();}}[_0x58e4d7(0x107)](_0x40d807){const _0x3273e6=_0x58e4d7;this[_0x3273e6(0x21d)][_0x3273e6(0x2c8)](_0x3273e6(0x33a),_0x3273e6(0x3e7)),_0x40d807[_0x3273e6(0x299)]({'cmd':W[_0x3273e6(0x2a4)]}),this[_0x3273e6(0x121)]();}[_0x58e4d7(0x4a3)](){const _0x4122bc=_0x58e4d7;window[_0x4122bc(0x4fb)]('offline',()=>this[_0x4122bc(0x122)]());}[_0x58e4d7(0x122)](){const _0x4a3bb5=_0x58e4d7;this[_0x4a3bb5(0x1ad)]=!0x1,this[_0x4a3bb5(0x148)]=null,this[_0x4a3bb5(0x3c1)][_0x4a3bb5(0x389)](ve['OFFLINE']),this[_0x4a3bb5(0x1fc)]['next'](null),this[_0x4a3bb5(0x3c6)](),this[_0x4a3bb5(0x2bf)]();}[_0x58e4d7(0x3e1)](){const _0x331787=_0x58e4d7;var _0x354640;this[_0x331787(0x122)](),this['_retryCount']<((_0x354640=this['_configService'][_0x331787(0x4f3)](fr))!=null?_0x354640:vr)?(this[_0x331787(0x32e)][_0x331787(0x25b)]({'key':_0x331787(0x154),'type':_0x2a6979[_0x331787(0x102)],'content':this[_0x331787(0x332)]['t']('session.will-retry')}),this['_tryReconnect']()):this[_0x331787(0x32e)]['show']({'key':_0x331787(0x154),'type':_0x2a6979[_0x331787(0x2c3)],'content':this[_0x331787(0x332)]['t'](_0x331787(0x20a))});}['_listenToOnlineEvent'](){const _0x366ff0=_0x58e4d7,_0x43999c=()=>{const _0x2dd8d4=_0x4c2c;this['_socket']||this[_0x2dd8d4(0x46a)]();},_0x3eb19a=()=>{const _0x2de493=_0x4c2c;this['_socket']||document[_0x2de493(0x309)]===_0x2de493(0x26f)||this[_0x2de493(0x46a)]();};window[_0x366ff0(0x4fb)](_0x366ff0(0x4a5),_0x43999c),document['addEventListener'](_0x366ff0(0x2c7),_0x3eb19a);}['_tryReconnect'](){const _0x44e0f6=_0x58e4d7;var _0x1a7396;const _0x2f8b3f=this[_0x44e0f6(0x155)],_0x5d4f5b=this[_0x44e0f6(0x4e9)]['getConfig'](ie),_0x1f63a1=_0x2f8b3f===0x0?0x0:((_0x1a7396=_0x5d4f5b==null?void 0x0:_0x5d4f5b['retryConnectingInterval'])!=null?_0x1a7396:dr)*0x2**_0x2f8b3f;this[_0x44e0f6(0x303)]=window[_0x44e0f6(0x2ad)](()=>{const _0x25df4f=_0x44e0f6;clearTimeout(this[_0x25df4f(0x303)]),this[_0x25df4f(0x303)]=null,this[_0x25df4f(0x422)]();},_0x1f63a1),this[_0x44e0f6(0x155)]+=0x1;}[_0x58e4d7(0x259)](_0x475f1e,_0x482f29){const _0x542c0d=_0x58e4d7,{cmd:_0x1de031}=_0x482f29;_0x1de031===W[_0x542c0d(0x2a4)]&&!this[_0x542c0d(0x1ad)]&&(_0x475f1e['memberID']=_0x482f29[_0x542c0d(0x266)][_0x542c0d(0x218)],this[_0x542c0d(0x1fc)]['next'](_0x475f1e),this[_0x542c0d(0x3c1)][_0x542c0d(0x389)](ve[_0x542c0d(0x2be)]),this[_0x542c0d(0x1ad)]=!0x0,this[_0x542c0d(0x148)]=null),_0x1de031===W[_0x542c0d(0x36e)]&&this[_0x542c0d(0x3c6)](),this['_rescheduleHeartbeat']();}[_0x58e4d7(0x121)](){const _0x4a9b94=_0x58e4d7;var _0x48716a;this[_0x4a9b94(0x2bf)](),this[_0x4a9b94(0x1d2)]=window[_0x4a9b94(0x2ad)](()=>this[_0x4a9b94(0x245)](),(_0x48716a=this[_0x4a9b94(0x4e9)][_0x4a9b94(0x4f3)](_r))!=null?_0x48716a:ur);}['_sendHeartbeat'](){const _0x5ef1e4=_0x58e4d7;this[_0x5ef1e4(0x250)][_0x5ef1e4(0x299)]({'cmd':W[_0x5ef1e4(0x36e)]}),this[_0x5ef1e4(0x1d7)]();}['_waitForHeartbeatResponse'](){const _0xa1054f=_0x58e4d7;var _0xfaf1b5;this[_0xa1054f(0x4cb)]=window['setTimeout'](()=>this[_0xa1054f(0x3e1)](),(_0xfaf1b5=this[_0xa1054f(0x4e9)][_0xa1054f(0x4f3)](bi))!=null?_0xfaf1b5:Ti);}[_0x58e4d7(0x2bf)](){const _0x49c46=_0x58e4d7;this[_0x49c46(0x1d2)]!=null&&(clearTimeout(this[_0x49c46(0x1d2)]),this[_0x49c46(0x1d2)]=null);}[_0x58e4d7(0x3c6)](){const _0x2c7659=_0x58e4d7;this[_0x2c7659(0x4cb)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x2c7659(0x4cb)]=null);}};Ae=Br([je(0x0,_0x22f9f7(_0x1dc773)),je(0x1,_0x22f9f7(_0x1c0183)),je(0x2,_0x5138eb),je(0x3,_0x1bae21),je(0x4,_0x4bb278),je(0x5,Oi)],Ae);var Y=[];for(var Nt=0x0;Nt<0x100;++Nt)Y[_0x58e4d7(0x47e)]((Nt+0x100)[_0x58e4d7(0x22b)](0x10)[_0x58e4d7(0x2d4)](0x1));function kr(_0x37eb4a,_0x5ea2fb=0x0){return(Y[_0x37eb4a[_0x5ea2fb+0x0]]+Y[_0x37eb4a[_0x5ea2fb+0x1]]+Y[_0x37eb4a[_0x5ea2fb+0x2]]+Y[_0x37eb4a[_0x5ea2fb+0x3]]+'-'+Y[_0x37eb4a[_0x5ea2fb+0x4]]+Y[_0x37eb4a[_0x5ea2fb+0x5]]+'-'+Y[_0x37eb4a[_0x5ea2fb+0x6]]+Y[_0x37eb4a[_0x5ea2fb+0x7]]+'-'+Y[_0x37eb4a[_0x5ea2fb+0x8]]+Y[_0x37eb4a[_0x5ea2fb+0x9]]+'-'+Y[_0x37eb4a[_0x5ea2fb+0xa]]+Y[_0x37eb4a[_0x5ea2fb+0xb]]+Y[_0x37eb4a[_0x5ea2fb+0xc]]+Y[_0x37eb4a[_0x5ea2fb+0xd]]+Y[_0x37eb4a[_0x5ea2fb+0xe]]+Y[_0x37eb4a[_0x5ea2fb+0xf]])['toLowerCase']();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0x598a3c=_0x58e4d7;if(!ct&&(ct=typeof crypto<'u'&&crypto[_0x598a3c(0x2b0)]&&crypto[_0x598a3c(0x2b0)][_0x598a3c(0x4e0)](crypto),!ct))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return ct(Wr);}var Vr=typeof crypto<'u'&&crypto[_0x58e4d7(0x178)]&&crypto[_0x58e4d7(0x178)][_0x58e4d7(0x4e0)](crypto);const js={'randomUUID':Vr};function Gr(_0x36ce7c,_0x3d9161,_0x4ed220){const _0x16a5b7=_0x58e4d7;if(js[_0x16a5b7(0x178)]&&!_0x3d9161&&!_0x36ce7c)return js['randomUUID']();_0x36ce7c=_0x36ce7c||{};var _0xdd61cc=_0x36ce7c[_0x16a5b7(0x3d5)]||(_0x36ce7c[_0x16a5b7(0x3a8)]||Fr)();return _0xdd61cc[0x6]=_0xdd61cc[0x6]&0xf|0x40,_0xdd61cc[0x8]=_0xdd61cc[0x8]&0x3f|0x80,kr(_0xdd61cc);}var Yr=Object[_0x58e4d7(0x367)],Kr=Object['getOwnPropertyDescriptor'],zr=(_0x571dd1,_0x2f68c5,_0x50b76a,_0x5cd54a)=>{const _0x2a6f82=_0x58e4d7;for(var _0x4ace0e=_0x5cd54a>0x1?void 0x0:_0x5cd54a?Kr(_0x2f68c5,_0x50b76a):_0x2f68c5,_0x3904ce=_0x571dd1[_0x2a6f82(0x418)]-0x1,_0x4c60ea;_0x3904ce>=0x0;_0x3904ce--)(_0x4c60ea=_0x571dd1[_0x3904ce])&&(_0x4ace0e=(_0x5cd54a?_0x4c60ea(_0x2f68c5,_0x50b76a,_0x4ace0e):_0x4c60ea(_0x4ace0e))||_0x4ace0e);return _0x5cd54a&&_0x4ace0e&&Yr(_0x2f68c5,_0x50b76a,_0x4ace0e),_0x4ace0e;},At=(_0xc71ad0,_0x5888b9)=>(_0x8e5b49,_0x556bf5)=>_0x5888b9(_0x8e5b49,_0x556bf5,_0xc71ad0);let vt=class{constructor(_0x2e9f07,_0x412081,_0x4a2a22){const _0x55943e=_0x58e4d7;this['_injector']=_0x2e9f07,this[_0x55943e(0x4bf)]=_0x412081,this[_0x55943e(0x380)]=_0x4a2a22;}['transformIMECache'](_0x190d79){const _0x14179c=_0x58e4d7;this['_transformUndoRedoStack'](_0x190d79),this[_0x14179c(0x3be)](_0x190d79);}[_0x58e4d7(0x3d8)](_0x5074a8){const _0x250c76=_0x58e4d7,{unitID:_0x3084bb}=_0x5074a8,_0x157f6b=this[_0x250c76(0x380)][_0x250c76(0x219)](_0x3084bb)[_0x250c76(0x114)](_0x2330df),{redoCache:_0x2ef440}=_0x157f6b['getUndoRedoMutationParamsCache']();if(_0x2ef440[_0x250c76(0x418)]===0x0)return _0x5074a8;let _0x21f7d7=_0x44e432[_0x250c76(0x11f)](_0x5074a8[_0x250c76(0x2e8)][0x0]);for(let _0x13a959=0x0;_0x13a959<_0x2ef440[_0x250c76(0x418)];_0x13a959++){const _0x396e9a={'id':'doc.mutation.rich-text-editing','params':{..._0x2ef440[_0x13a959]}},_0x18281e=this['_transformService'][_0x250c76(0x397)](_0x21f7d7,_0x396e9a,!0x1);if(_0x23f0a4(_0x18281e))throw _0x18281e['error'];_0x21f7d7=_0x18281e[_0x250c76(0x3fb)];}return{..._0x44e432[_0x250c76(0x11f)](_0x5074a8),'mutations':[_0x21f7d7]};}[_0x58e4d7(0x43e)](_0x2d0c55){const _0xe06e91=_0x58e4d7,{unitID:_0x58e75c}=_0x2d0c55,_0x143e5c=this[_0xe06e91(0x380)][_0xe06e91(0x219)](_0x58e75c)['with'](_0x2330df),{undoCache:_0xc0c4b7,redoCache:_0x1f0648}=_0x143e5c[_0xe06e91(0x3d7)]();if(_0xc0c4b7[_0xe06e91(0x418)]===0x0||_0x1f0648[_0xe06e91(0x418)]===0x0)return;const _0x24ebd3=[],_0x9fdcdd=[];let _0x4a84ba=_0x44e432[_0xe06e91(0x11f)](_0x2d0c55[_0xe06e91(0x2e8)][0x0]),_0x51d121=_0x44e432['deepClone'](_0x2d0c55[_0xe06e91(0x2e8)][0x0]);for(let _0x3c5626=_0xc0c4b7['length']-0x1;_0x3c5626>=0x0;_0x3c5626--){const _0x1cccae={'id':_0xe06e91(0x4b0),'params':{..._0xc0c4b7[_0x3c5626]}},_0x77f40c={'id':_0xe06e91(0x4b0),'params':{..._0x1f0648[_0x3c5626]}},_0x4880f7=this[_0xe06e91(0x4bf)]['transformMutation'](_0x4a84ba,_0x1cccae,!0x1),_0x57490d=this[_0xe06e91(0x4bf)][_0xe06e91(0x397)](_0x51d121,_0x77f40c,!0x1);if(_0x23f0a4(_0x4880f7))throw _0x4880f7[_0xe06e91(0x27b)];if(_0x23f0a4(_0x57490d))throw _0x57490d[_0xe06e91(0x27b)];_0x24ebd3[_0xe06e91(0x1d9)](_0x4880f7[_0xe06e91(0x29a)][_0xe06e91(0x231)]),_0x9fdcdd['unshift'](_0x57490d[_0xe06e91(0x29a)][_0xe06e91(0x231)]),_0x4a84ba=_0x4880f7[_0xe06e91(0x3fb)],_0x51d121=_0x57490d[_0xe06e91(0x3fb)];}_0x143e5c[_0xe06e91(0x2fc)]({'undoCache':_0x24ebd3,'redoCache':_0x9fdcdd});}[_0x58e4d7(0x3be)](_0x3aa3ba){const _0x9c0684=_0x58e4d7,{unitID:_0x28b924}=_0x3aa3ba,_0x2bdaaa=this[_0x9c0684(0x380)][_0x9c0684(0x219)](_0x28b924)[_0x9c0684(0x114)](_0x2330df),_0x4001d7=_0x2bdaaa[_0x9c0684(0x25f)]();if(_0x4001d7==null)return;const _0x101473=[{'id':_0x9c0684(0x4b0),'params':{'unitId':_0x3aa3ba[_0x9c0684(0x214)],'actions':null,'textRanges':[_0x4001d7]}}],_0x144792=this[_0x9c0684(0x4bf)][_0x9c0684(0x2e7)](_0x3aa3ba,_0x101473);if(!_0x4e074c(_0x144792))throw _0x144792[_0x9c0684(0x27b)];const _0x58bb30=_0x144792['m2Prime'][0x0][_0x9c0684(0x231)][_0x9c0684(0x4bc)];Array[_0x9c0684(0x444)](_0x58bb30)&&_0x58bb30['length']&&_0x2bdaaa[_0x9c0684(0x18d)](_0x58bb30[0x0]);}};vt=zr([At(0x0,_0x22f9f7(_0x1dc773)),At(0x1,_0x3c62f1),At(0x2,_0x1dd780)],vt);var qr=Object[_0x58e4d7(0x367)],Xr=Object[_0x58e4d7(0x1ba)],Jr=(_0x48f58a,_0x27fbc7,_0x406017,_0x3c69fa)=>{const _0x1ceb73=_0x58e4d7;for(var _0x16c9c5=_0x3c69fa>0x1?void 0x0:_0x3c69fa?Xr(_0x27fbc7,_0x406017):_0x27fbc7,_0x17a253=_0x48f58a[_0x1ceb73(0x418)]-0x1,_0x311021;_0x17a253>=0x0;_0x17a253--)(_0x311021=_0x48f58a[_0x17a253])&&(_0x16c9c5=(_0x3c69fa?_0x311021(_0x27fbc7,_0x406017,_0x16c9c5):_0x311021(_0x16c9c5))||_0x16c9c5);return _0x3c69fa&&_0x16c9c5&&qr(_0x27fbc7,_0x406017,_0x16c9c5),_0x16c9c5;},Xe=(_0x1df7fc,_0xdb630e)=>(_0x5da806,_0x4e43ca)=>_0xdb630e(_0x5da806,_0x4e43ca,_0x1df7fc);let q=class extends _0x24c9bf{constructor(_0x394697,_0x142030,_0x5f58b5,_0x238384,_0x47eb82){const _0x1fddc8=_0x58e4d7;super(),g(this,_0x1fddc8(0x108),new Map()),g(this,_0x1fddc8(0x362),new Map()),g(this,_0x1fddc8(0x315),!0x1),(this[_0x1fddc8(0x4e9)]=_0x394697,this['_localStorageService']=_0x142030,this['_beforeCloseService']=_0x5f58b5,this[_0x1fddc8(0x332)]=_0x238384,this[_0x1fddc8(0x46f)]=_0x47eb82,this['_setupBeforeClosingHandler']());}[_0x58e4d7(0x124)](){const _0x4c2d11=_0x58e4d7;this[_0x4c2d11(0x315)]=!0x0;}[_0x58e4d7(0x482)](){const _0x2194c8=_0x58e4d7;this[_0x2194c8(0x315)]=!0x1;}[_0x58e4d7(0x41e)](){const _0x12e02b=_0x58e4d7;this[_0x12e02b(0x437)]()[_0x12e02b(0x12a)](()=>super[_0x12e02b(0x41e)]());}async['loadOfflineData'](_0x26ab7f){const _0x1f1349=_0x58e4d7;return this[_0x1f1349(0x315)]?null:this[_0x1f1349(0x2cb)]['getItem'](Bs(_0x26ab7f));}async['saveOfflineData'](_0x2297f0,_0x40da44){const _0x533e2c=_0x58e4d7;return!!this[_0x533e2c(0x2cb)]['setItem'](_0x2297f0,_0x40da44);}[_0x58e4d7(0x109)](_0x2d0b9e,_0x2cc97e,_0x1d2d42,_0x1aad5c){const _0x520556=_0x58e4d7,_0xfbc82d=this[_0x520556(0x46f)][_0x520556(0x447)](_0x2d0b9e);this['_cachedData']['set'](_0x2d0b9e,{'unitID':_0x2d0b9e,'type':_0x2cc97e,'awaitingChangeset':_0x1d2d42,'mutations':_0x1aad5c,'rev':_0xfbc82d}),this['_saveTaskMap'][_0x520556(0x209)](_0x2d0b9e)||this[_0x520556(0x489)](_0x2d0b9e);}[_0x58e4d7(0x489)](_0x4d09e2){const _0x3dc5b8=_0x58e4d7,_0x462717=this['_getSaveTimeout']();_0x462717===0x0?this['_saveCache'](_0x4d09e2):this[_0x3dc5b8(0x362)][_0x3dc5b8(0x372)](_0x4d09e2,setTimeout(()=>this['_saveCache'](_0x4d09e2),_0x462717));}[_0x58e4d7(0x3c9)](){const _0x3384f1=_0x58e4d7;var _0x242275;return(_0x242275=this[_0x3384f1(0x4e9)][_0x3384f1(0x4f3)](mr))!=null?_0x242275:pr;}[_0x58e4d7(0x176)](_0x162971){const _0x5a6992=_0x58e4d7,_0x154b16=this['_saveTaskMap'][_0x5a6992(0x3d3)](_0x162971);return _0x154b16!==void 0x0&&window[_0x5a6992(0x3b6)](_0x154b16),this[_0x5a6992(0x2cb)][_0x5a6992(0x1e3)](Bs(_0x162971),this[_0x5a6992(0x108)]['get'](_0x162971))[_0x5a6992(0x12a)](()=>this[_0x5a6992(0x362)][_0x5a6992(0xfe)](_0x162971));}async[_0x58e4d7(0x437)](){const _0x39ed74=_0x58e4d7,_0x9d46ae=[];this[_0x39ed74(0x362)][_0x39ed74(0x2ff)]((_0x5da4da,_0x2ae7f2)=>{const _0x1844dc=_0x39ed74;window[_0x1844dc(0x3b6)](_0x5da4da),_0x9d46ae[_0x1844dc(0x47e)](this[_0x1844dc(0x176)](_0x2ae7f2)[_0x1844dc(0x12a)](()=>{const _0x329886=_0x1844dc;this[_0x329886(0x362)][_0x329886(0xfe)](_0x2ae7f2);}));}),await Promise[_0x39ed74(0x42c)](_0x9d46ae);}[_0x58e4d7(0x224)](){const _0x2f3707=_0x58e4d7;this[_0x2f3707(0x32a)](this[_0x2f3707(0x3ca)][_0x2f3707(0x308)](()=>{const _0xe5ccca=_0x2f3707;if(this[_0xe5ccca(0x362)]['size'])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}};q=Jr([Xe(0x0,_0x4bb278),Xe(0x1,_0x2e9231),Xe(0x2,_0x373baf),Xe(0x3,_0x22f9f7(_0x1c0183)),Xe(0x4,_0x22f9f7(_0xd58166))],q);function Bs(_0x2ed93c){const _0x419573=_0x58e4d7;return _0x419573(0x1aa)+_0x2ed93c;}var Zr=Object['defineProperty'],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x15274f,_0x32df4b,_0x557acb,_0x47b038)=>{const _0x171914=_0x58e4d7;for(var _0x5ba243=_0x47b038>0x1?void 0x0:_0x47b038?Qr(_0x32df4b,_0x557acb):_0x32df4b,_0xaa8d81=_0x15274f[_0x171914(0x418)]-0x1,_0x3d9ed4;_0xaa8d81>=0x0;_0xaa8d81--)(_0x3d9ed4=_0x15274f[_0xaa8d81])&&(_0x5ba243=(_0x47b038?_0x3d9ed4(_0x32df4b,_0x557acb,_0x5ba243):_0x3d9ed4(_0x5ba243))||_0x5ba243);return _0x47b038&&_0x5ba243&&Zr(_0x32df4b,_0x557acb,_0x5ba243),_0x5ba243;},Mt=(_0xac02e1,_0xfc7f67)=>(_0x531ed8,_0x4a1053)=>_0xfc7f67(_0x531ed8,_0x4a1053,_0xac02e1);function to(_0x2dc5c8){const _0x45d798=_0x58e4d7,{unitID:_0x6b2c21,mutations:_0x4e2156}=_0x2dc5c8;return{'unitId':_0x6b2c21,'subUnitId':_0x4e2156[0x0][_0x45d798(0x231)][_0x45d798(0x191)]};}let mt=class{constructor(_0x58e047,_0x1d86c5,_0x4fa72a){const _0x4ab1b7=_0x58e4d7;this[_0x4ab1b7(0x405)]=_0x58e047,this['_transformService']=_0x1d86c5,this[_0x4ab1b7(0x175)]=_0x4fa72a;}['transformSelections'](_0x2ff21b){const _0x1bc842=_0x58e4d7;var _0x3a1f3d,_0x424cc2,_0x540c01,_0x4d91cc;const _0x4a5531=this[_0x1bc842(0x405)]['get'](_0xdab4f8),{unitId:_0x1d0331,subUnitId:_0xe404a1}=to(_0x2ff21b),_0x55bd97=_0x4a5531[_0x1bc842(0x2e2)](_0x1d0331)['getCurrentSelections'](),_0x590322=(_0x424cc2=(_0x3a1f3d=this[_0x1bc842(0x175)]['getUnit'](_0x1d0331))==null?void 0x0:_0x3a1f3d[_0x1bc842(0x376)]())==null?void 0x0:_0x424cc2[_0x1bc842(0x2ce)]();if(_0x55bd97['length']===0x0||!_0x1d0331||!_0xe404a1)return;const _0x138687=[{'id':_0x519bd9['id'],'params':{'unitId':_0x1d0331,'subUnitId':_0x590322,'selections':_0x44e432[_0x1bc842(0x11f)](_0x55bd97)}}],_0x16e918=this[_0x1bc842(0x4bf)][_0x1bc842(0x2e7)](_0x2ff21b,_0x138687);if(!_0x4e074c(_0x16e918))throw _0x16e918[_0x1bc842(0x27b)];const _0x3be6f9=(_0x4d91cc=(_0x540c01=_0x16e918[_0x1bc842(0x29a)][0x0])==null?void 0x0:_0x540c01[_0x1bc842(0x231)])==null?void 0x0:_0x4d91cc['selections'];if(Array[_0x1bc842(0x444)](_0x3be6f9)&&_0x3be6f9[_0x1bc842(0x418)]){if(_0x3be6f9[_0x1bc842(0x418)]===_0x138687[0x0][_0x1bc842(0x231)]['selections'][_0x1bc842(0x418)]&&_0x3be6f9['every']((_0x559097,_0x2ec49f)=>_0xc6c16d[_0x1bc842(0x184)](_0x559097['range'],_0x138687[0x0]['params'][_0x1bc842(0x4a2)][_0x2ec49f][_0x1bc842(0x408)])))return;this['_injector'][_0x1bc842(0x3d3)](_0x13cabf)['executeCommand'](_0x519bd9['id'],{'unitId':_0x1d0331,'subUnitId':_0x590322,'selections':_0x3be6f9});}}};mt=eo([Mt(0x0,_0x22f9f7(_0x1dc773)),Mt(0x1,_0x3c62f1),Mt(0x2,_0x17eff3)],mt);const yt=_0x3366fd(_0x58e4d7(0x183));var Di=(_0x42092a=>(_0x42092a[_0x42092a[_0x58e4d7(0x1f9)]=0x0]=_0x58e4d7(0x1f9),_0x42092a[_0x42092a[_0x58e4d7(0x16d)]=0x1]=_0x58e4d7(0x16d),_0x42092a))(Di||{});const ks=0x7530,Ws=_0x58e4d7(0x34b);class so extends _0x24c9bf{constructor(){const _0x49deca=_0x58e4d7;super(),g(this,'_id',_0x44e432[_0x49deca(0x3c0)]()),g(this,_0x49deca(0x177),new Set()),g(this,_0x49deca(0x239),new Map()),g(this,_0x49deca(0x12f),null),g(this,_0x49deca(0x1e7),new Map()),g(this,_0x49deca(0x20e),new Map()),this[_0x49deca(0x499)]();}[_0x58e4d7(0x41e)](){const _0xf75919=_0x58e4d7;super[_0xf75919(0x41e)](),this[_0xf75919(0x1e7)]['forEach']((_0x2db994,_0x530200)=>this[_0xf75919(0x1c7)](_0x530200)),this[_0xf75919(0x12f)]&&window[_0xf75919(0x31f)](this[_0xf75919(0x12f)]);}[_0x58e4d7(0x1c9)](_0xdf401c){const _0x243789=_0x58e4d7;return this[_0x243789(0x160)](_0xdf401c)[_0x243789(0x324)](_0x3aae5d());}['editingUnit'](_0x51453f){const _0x3f61c8=_0x58e4d7;this[_0x3f61c8(0x177)][_0x3f61c8(0x17b)]===0x0&&this[_0x3f61c8(0x198)](),this['_selfUnitIDs'][_0x3f61c8(0x246)](_0x51453f),this['_send']({'type':0x0,'memberID':this[_0x3f61c8(0x49d)],'unitIDs':[_0x51453f],'isForwarded':!0x1});}[_0x58e4d7(0x31e)](_0x6864b1){const _0x529964=_0x58e4d7;this['_selfUnitIDs'][_0x529964(0xfe)](_0x6864b1),this[_0x529964(0x177)][_0x529964(0x17b)]===0x0&&this['_heartbeatTimer']&&window[_0x529964(0x31f)](this[_0x529964(0x12f)]);}[_0x58e4d7(0x499)](){const _0x5a4df9=_0x58e4d7;this['disposeWithMe'](_0x3a9dfc(_0x447d1a(window,'storage')['subscribe'](_0x44f9d1=>{const _0x30d9ee=_0x4c2c;if(_0x44f9d1[_0x30d9ee(0x156)]!==Ws||!_0x44f9d1['newValue'])return;const _0x5f065d=JSON[_0x30d9ee(0x3ae)](_0x44f9d1[_0x30d9ee(0x4ed)]);this[_0x30d9ee(0x3c2)](_0x5f065d);}))),window[_0x5a4df9(0x4fb)](_0x5a4df9(0x2c0),()=>this[_0x5a4df9(0x2ea)]({'type':0x1,'memberID':this[_0x5a4df9(0x49d)],'unitIDs':Array[_0x5a4df9(0x387)](this[_0x5a4df9(0x177)])}));}[_0x58e4d7(0x3c2)](_0x3549f8){const _0x2193f9=_0x58e4d7;switch(_0x3549f8[_0x2193f9(0x1be)]){case 0x0:this[_0x2193f9(0x342)](_0x3549f8);break;case 0x1:this['_handleLeaveEvent'](_0x3549f8);break;case 0x2:this[_0x2193f9(0x30d)](_0x3549f8);break;}}[_0x58e4d7(0x342)](_0x4c5888){const _0x2ed4dd=_0x58e4d7,{unitIDs:_0x1497b0,memberID:_0x1568ea,isForwarded:_0x7127}=_0x4c5888;_0x1497b0[_0x2ed4dd(0x2ff)](_0x1db54b=>{const _0x4fde06=_0x2ed4dd;if(!_0x7127&&this['_unitOnClients']['has'](_0x1db54b)&&this['_ensureSubject'](_0x1db54b)[_0x4fde06(0x389)](0x1),!this[_0x4fde06(0x239)][_0x4fde06(0x209)](_0x1db54b)||!this['_unitOnClients']['get'](_0x1db54b)[_0x4fde06(0x209)](_0x1568ea)){const _0x397402=this['_unitOnClients'][_0x4fde06(0x3d3)](_0x1db54b)||new Set();_0x397402['add'](_0x1568ea),this[_0x4fde06(0x239)][_0x4fde06(0x372)](_0x1db54b,_0x397402),this[_0x4fde06(0x147)](_0x1568ea);}}),_0x7127||this[_0x2ed4dd(0x2ea)]({'type':0x0,'memberID':this[_0x2ed4dd(0x49d)],'unitIDs':[...this[_0x2ed4dd(0x177)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x261304){const _0x4ffe99=_0x58e4d7;this['_removeClearOtherTimer'](_0x261304);const _0x2dfbc2=window[_0x4ffe99(0x2ad)](()=>{const _0x442c90=_0x4ffe99;this[_0x442c90(0x239)][_0x442c90(0x2ff)](_0x1881d9=>{const _0x42a3a0=_0x442c90;_0x1881d9[_0x42a3a0(0xfe)](_0x261304);});},ks*0x2);this[_0x4ffe99(0x1e7)][_0x4ffe99(0x372)](_0x261304,_0x2dfbc2);}['_removeClearOtherTimer'](_0x3c78be){const _0xc016f1=_0x58e4d7;if(this[_0xc016f1(0x1e7)]['has'](_0x3c78be)){const _0x3ee928=this[_0xc016f1(0x1e7)][_0xc016f1(0x3d3)](_0x3c78be);_0x3ee928&&window[_0xc016f1(0x3b6)](_0x3ee928),this[_0xc016f1(0x1e7)]['set'](_0x3c78be,null);}}[_0x58e4d7(0x1e1)](_0x5f1842){const _0x129ef2=_0x58e4d7,{memberID:_0x202014,unitIDs:_0x23a043}=_0x5f1842;_0x23a043[_0x129ef2(0x2ff)](_0x8f066b=>{const _0x53921c=_0x129ef2;var _0x2abca6;const _0x2078cd=this[_0x53921c(0x239)]['get'](_0x8f066b);_0x2078cd&&(_0x2078cd[_0x53921c(0xfe)](_0x202014),(_0x2abca6=this['_ensureSubject'](_0x8f066b))==null||_0x2abca6[_0x53921c(0x389)](_0x2078cd[_0x53921c(0x17b)]===0x0?0x0:0x1));}),this[_0x129ef2(0x1c7)](_0x202014);}['_handleHeartbeatEvent'](_0x426253){const _0xdb6df9=_0x58e4d7;this['_scheduleClearOtherTimer'](_0x426253[_0xdb6df9(0x218)]);}[_0x58e4d7(0x2ea)](_0x54b06a){const _0x236349=_0x58e4d7;localStorage[_0x236349(0x1e3)](Ws,JSON[_0x236349(0x152)](_0x54b06a));}[_0x58e4d7(0x198)](){const _0xcaf921=_0x58e4d7;this[_0xcaf921(0x12f)]=window['setInterval'](()=>{const _0x44cac0=_0xcaf921;this[_0x44cac0(0x2ea)]({'type':0x2,'memberID':this[_0x44cac0(0x49d)]});},ks);}['_ensureSubject'](_0x30b6bf){const _0x15f573=_0x58e4d7;return this[_0x15f573(0x20e)][_0x15f573(0x209)](_0x30b6bf)||this[_0x15f573(0x20e)][_0x15f573(0x372)](_0x30b6bf,new _0x25a07b(0x0)),this['_unitStatus'][_0x15f573(0x3d3)](_0x30b6bf);}}var io=Object[_0x58e4d7(0x367)],no=Object['getOwnPropertyDescriptor'],ro=(_0x5850c1,_0x3da5b2,_0x44f1fc,_0x528192)=>{const _0x1a0100=_0x58e4d7;for(var _0x3ada55=_0x528192>0x1?void 0x0:_0x528192?no(_0x3da5b2,_0x44f1fc):_0x3da5b2,_0x959f64=_0x5850c1[_0x1a0100(0x418)]-0x1,_0x415827;_0x959f64>=0x0;_0x959f64--)(_0x415827=_0x5850c1[_0x959f64])&&(_0x3ada55=(_0x528192?_0x415827(_0x3da5b2,_0x44f1fc,_0x3ada55):_0x415827(_0x3ada55))||_0x3ada55);return _0x528192&&_0x3ada55&&io(_0x3da5b2,_0x44f1fc,_0x3ada55),_0x3ada55;},xt=(_0x2e6674,_0x38556d)=>(_0x589016,_0x4bfba8)=>_0x38556d(_0x589016,_0x4bfba8,_0x2e6674);let pt=class{constructor(_0x9bf477,_0x31a669,_0x1b05d8){const _0x4f263f=_0x58e4d7;this['_injector']=_0x9bf477,this[_0x4f263f(0x4bf)]=_0x31a669,this[_0x4f263f(0x477)]=_0x1b05d8;}[_0x58e4d7(0x301)](_0x206880){this['_transformHistoryAndStateStack'](_0x206880);}[_0x58e4d7(0x3d8)](_0x54042d){const _0x5c450b=_0x58e4d7,{unitID:_0x11137c}=_0x54042d,{collaboration:_0x21206e}=this['_docStateChangeManagerService']['getStateCache'](_0x11137c);if(_0x21206e[_0x5c450b(0x418)]===0x0)return _0x54042d;let _0x516806=_0x44e432[_0x5c450b(0x11f)](_0x54042d['mutations'][0x0]);for(let _0x554c14=0x0;_0x554c14<_0x21206e[_0x5c450b(0x418)];_0x554c14++){const _0x2d6c25={'id':_0x5c450b(0x4b0),'params':{'unitId':_0x21206e[_0x554c14]['unitId'],..._0x21206e[_0x554c14]['redoState']}},_0x255895=this[_0x5c450b(0x4bf)][_0x5c450b(0x397)](_0x516806,_0x2d6c25,!0x1);if(_0x23f0a4(_0x255895))throw _0x255895['error'];_0x516806=_0x255895[_0x5c450b(0x3fb)];}return{..._0x44e432[_0x5c450b(0x11f)](_0x54042d),'mutations':[_0x516806]};}[_0x58e4d7(0x136)](_0x1f9e4c){const _0x2b5c11=_0x58e4d7,{unitID:_0x21258b}=_0x1f9e4c,{history:_0x2c45ee,collaboration:_0x558def}=this[_0x2b5c11(0x477)][_0x2b5c11(0x36f)](_0x21258b);if(_0x2c45ee[_0x2b5c11(0x418)]===0x0&&_0x558def[_0x2b5c11(0x418)]===0x0)return;const _0x5e836c=[],_0x1130b1=[];let _0x4b0288=_0x44e432[_0x2b5c11(0x11f)](_0x1f9e4c[_0x2b5c11(0x2e8)][0x0]),_0xa7d7a9=_0x44e432[_0x2b5c11(0x11f)](_0x1f9e4c[_0x2b5c11(0x2e8)][0x0]);for(let _0x1f99c9=_0x2c45ee[_0x2b5c11(0x418)]-0x1;_0x1f99c9>=0x0;_0x1f99c9--){const _0xbdd3bf={'id':_0x2b5c11(0x4b0),'params':{'unitId':_0x2c45ee[_0x1f99c9][_0x2b5c11(0x1a6)],..._0x2c45ee[_0x1f99c9][_0x2b5c11(0x1c8)]}},_0x19b4d3={'id':_0x2b5c11(0x4b0),'params':{'unitId':_0x2c45ee[_0x1f99c9][_0x2b5c11(0x1a6)],..._0x2c45ee[_0x1f99c9]['redoState']}},_0xca267b=this['_transformService'][_0x2b5c11(0x397)](_0x4b0288,_0xbdd3bf,!0x1),_0xaa60af=this['_transformService'][_0x2b5c11(0x397)](_0xa7d7a9,_0x19b4d3,!0x1);if(_0x23f0a4(_0xca267b))throw _0xca267b[_0x2b5c11(0x27b)];if(_0x23f0a4(_0xaa60af))throw _0xaa60af[_0x2b5c11(0x27b)];_0x5e836c['unshift']({..._0x2c45ee[_0x1f99c9],'undoState':_0xca267b[_0x2b5c11(0x29a)]['params'],'redoState':_0xaa60af['m2Prime'][_0x2b5c11(0x231)]}),_0x4b0288=_0xca267b[_0x2b5c11(0x3fb)],_0xa7d7a9=_0xaa60af[_0x2b5c11(0x3fb)];}_0x4b0288=_0x44e432[_0x2b5c11(0x11f)](_0x1f9e4c[_0x2b5c11(0x2e8)][0x0]),_0xa7d7a9=_0x44e432['deepClone'](_0x1f9e4c[_0x2b5c11(0x2e8)][0x0]);for(let _0x1879fc=_0x558def[_0x2b5c11(0x418)]-0x1;_0x1879fc>=0x0;_0x1879fc--){const _0x3e2184={'id':_0x2b5c11(0x4b0),'params':{'unitId':_0x558def[_0x1879fc][_0x2b5c11(0x1a6)],..._0x558def[_0x1879fc][_0x2b5c11(0x1c8)]}},_0x33d07a={'id':_0x2b5c11(0x4b0),'params':{'unitId':_0x558def[_0x1879fc][_0x2b5c11(0x1a6)],..._0x558def[_0x1879fc]['redoState']}},_0x1fbded=this[_0x2b5c11(0x4bf)][_0x2b5c11(0x397)](_0x4b0288,_0x3e2184,!0x1),_0x405828=this[_0x2b5c11(0x4bf)]['transformMutation'](_0xa7d7a9,_0x33d07a,!0x1);if(_0x23f0a4(_0x1fbded))throw _0x1fbded['error'];if(_0x23f0a4(_0x405828))throw _0x405828[_0x2b5c11(0x27b)];_0x1130b1['unshift']({..._0x558def[_0x1879fc],'undoState':_0x1fbded[_0x2b5c11(0x29a)][_0x2b5c11(0x231)],'redoState':_0x405828[_0x2b5c11(0x29a)]['params']}),_0x4b0288=_0x1fbded['m1Prime'],_0xa7d7a9=_0x405828[_0x2b5c11(0x3fb)];}this[_0x2b5c11(0x477)][_0x2b5c11(0x39e)](_0x21258b,{'history':_0x5e836c,'collaboration':_0x1130b1});}};pt=ro([xt(0x0,_0x22f9f7(_0x1dc773)),xt(0x1,_0x3c62f1),xt(0x2,_0x22f9f7(_0x54726c))],pt);function Pi(_0x20cc3e){const _0x4d55ce=_0x58e4d7;let _0x7a84c4='';for(const _0x553277 of _0x20cc3e){const {startOffset:_0x52e430,endOffset:_0x1aae9e,isActive:_0x3071fc,rangeType:_0x19e8f4,segmentId:_0x42e6cf,segmentPage:_0x53eeb2}=_0x553277;_0x7a84c4[_0x4d55ce(0x418)]&&(_0x7a84c4+=','),_0x7a84c4+=_0x52e430+':'+_0x1aae9e+':'+(_0x3071fc?'1':'0')+':'+_0x19e8f4+':'+_0x42e6cf+':'+_0x53eeb2;}return _0x7a84c4;}function oo(_0x3fa580){const _0x40dbd0=_0x58e4d7,_0x409737=_0x3fa580[_0x40dbd0(0x20d)](','),_0x1e2e3c=[];for(const _0x5b772d of _0x409737){const [_0x3a8d6e,_0x830dcd,_0x502b82,_0xcf7203,_0x289f3b,_0x5b1a1f]=_0x5b772d['split'](':');_0x1e2e3c['push']({'startOffset':Number(_0x3a8d6e),'endOffset':Number(_0x830dcd),'collapsed':_0x3a8d6e===_0x830dcd,'isActive':_0x502b82==='1','rangeType':_0xcf7203===_0x174e1e[_0x40dbd0(0x419)]?_0x174e1e[_0x40dbd0(0x419)]:_0x174e1e[_0x40dbd0(0x2a5)],'segmentId':typeof _0x289f3b==_0x40dbd0(0x4a9)?String(_0x289f3b):'','segmentPage':Number(_0x5b1a1f!=null?_0x5b1a1f:-0x1)});}return _0x1e2e3c[_0x40dbd0(0x2bb)](_0x2bd6ae=>_0x2bd6ae[_0x40dbd0(0x1c6)])||(_0x1e2e3c[0x0]['isActive']=!0x0),_0x1e2e3c;}class Cs extends _0x574fb2{constructor(){const _0x517b1b=_0x58e4d7;super(...arguments),g(this,_0x517b1b(0x2e1),new _0x25a07b(null)),g(this,_0x517b1b(0x2b8),this['_collabCursorState$']['asObservable']());}[_0x58e4d7(0x4f7)](_0x4ea299){const _0x8264d5=_0x58e4d7,{unitID:_0x4d91d6,memberID:_0x1c3ac9,textRanges:_0x469feb}=_0x4ea299,_0x3f7a4e=Pi(_0x469feb);if(_0x3f7a4e==='')return;const _0x2f2f46={'unitID':_0x4d91d6,'memberID':_0x1c3ac9,'selection':_0x3f7a4e};this[_0x8264d5(0x2e1)][_0x8264d5(0x389)](_0x2f2f46);}}var ao=Object[_0x58e4d7(0x367)],co=Object[_0x58e4d7(0x1ba)],ho=(_0x447f48,_0x2b2bb7,_0xe10b1f,_0x133807)=>{const _0x20c563=_0x58e4d7;for(var _0x389655=_0x133807>0x1?void 0x0:_0x133807?co(_0x2b2bb7,_0xe10b1f):_0x2b2bb7,_0x45e47b=_0x447f48[_0x20c563(0x418)]-0x1,_0x3471ab;_0x45e47b>=0x0;_0x45e47b--)(_0x3471ab=_0x447f48[_0x45e47b])&&(_0x389655=(_0x133807?_0x3471ab(_0x2b2bb7,_0xe10b1f,_0x389655):_0x3471ab(_0x389655))||_0x389655);return _0x133807&&_0x389655&&ao(_0x2b2bb7,_0xe10b1f,_0x389655),_0x389655;},Fs=(_0x3c31c1,_0x3fad2c)=>(_0x420908,_0x2fbedd)=>_0x3fad2c(_0x420908,_0x2fbedd,_0x3c31c1);let gt=class{constructor(_0x414537,_0x472af2){const _0x59dad2=_0x58e4d7;this[_0x59dad2(0x405)]=_0x414537,this['_transformService']=_0x472af2;}[_0x58e4d7(0x27d)](_0x3139c1){const _0x2ffe8c=_0x58e4d7;var _0x500167;const _0x1e0564=this[_0x2ffe8c(0x405)]['get'](_0x12074f),_0x571826=(_0x500167=_0x1e0564[_0x2ffe8c(0x123)]())!=null?_0x500167:[];if(_0x571826[_0x2ffe8c(0x418)]===0x0)return;const _0x41762c=[{'id':_0x2ffe8c(0x4b0),'params':{'unitId':_0x3139c1[_0x2ffe8c(0x214)],'actions':null,'textRanges':_0x571826}}],_0x2089f3=this[_0x2ffe8c(0x4bf)]['transformMutationsWithChangeset'](_0x3139c1,_0x41762c);if(!_0x4e074c(_0x2089f3))throw _0x2089f3[_0x2ffe8c(0x27b)];const _0x5de9fc=_0x2089f3['m2Prime'][0x0][_0x2ffe8c(0x231)][_0x2ffe8c(0x4bc)];Array[_0x2ffe8c(0x444)](_0x5de9fc)&&_0x5de9fc['length']&&_0x1e0564[_0x2ffe8c(0x4a6)](_0x5de9fc,!0x1);}};gt=ho([Fs(0x0,_0x22f9f7(_0x1dc773)),Fs(0x1,_0x3c62f1)],gt);const lo=new Set([_0x51d12a['id']]);function Vs(_0x1d2f51,_0x5c3fc7,_0x592077,_0x27e711,_0x11f03c){const _0x2baed7=_0x58e4d7;var _0x285703,_0x414d4e,_0x1d75a0,_0x5fef60;const _0x74df65=[];for(const _0x2a6ac0 of _0x1d2f51)if(lo[_0x2baed7(0x209)](_0x2a6ac0['id'])){if(_0x74df65[_0x2baed7(0x418)]>0x0)break;_0x74df65[_0x2baed7(0x47e)](_0x2a6ac0);break;}else _0x74df65[_0x2baed7(0x47e)](_0x2a6ac0);const _0x300bf8=(_0x414d4e=(_0x285703=_0x11f03c['getCurrentUser']())==null?void 0x0:_0x285703[_0x2baed7(0x195)])!=null?_0x414d4e:_0x2baed7(0x26d),_0x10afa8=(_0x5fef60=(_0x1d75a0=_0x11f03c[_0x2baed7(0x276)]())==null?void 0x0:_0x1d75a0['memberID'])!=null?_0x5fef60:_0x2baed7(0x26d);return{'changeset':{'unitID':_0x5c3fc7,'type':_0x5d481e(_0x592077['getUnitType'](_0x5c3fc7)),'baseRev':_0x27e711[_0x2baed7(0x447)](_0x5c3fc7),'revision':0x0,'userID':_0x300bf8,'memberID':_0x10afa8,'mutations':_0x74df65},'pendingMutations':_0x1d2f51[_0x2baed7(0x2d4)](_0x74df65['length'])};}function _o(_0xbbc75b,_0x2febf5,_0x433ead,_0x144ef0,_0x2d8ef9){const _0x3b531c=_0x58e4d7;var _0x3ac2b7,_0x2834c8,_0x10077a,_0x5c6113;const _0x2a3f4f=[_0xbbc75b[_0x3b531c(0x2e4)]((_0x29d4b0,_0x4909a4)=>{const _0x37afaa=_0x3b531c;var _0x11c6b6;const {id:_0x418cab}=_0x29d4b0,{id:_0xa13d1d,type:_0x3c446d}=_0x4909a4,_0x4654a5=(_0x11c6b6=_0x29d4b0['params'])!=null?_0x11c6b6:{'actions':null},_0x37fef2=_0x4909a4[_0x37afaa(0x231)];if(_0x418cab&&_0x418cab!==_0xa13d1d)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x418cab+_0x37afaa(0x49f)+_0xa13d1d+'.');return{..._0x29d4b0,'id':_0xa13d1d,'type':_0x3c446d,'params':{'unitId':_0x37fef2['unitId'],'textRanges':_0x37fef2[_0x37afaa(0x4bc)],'actions':_0x71be1d['compose'](_0x4654a5['actions'],_0x37fef2[_0x37afaa(0x4e1)])}};},{})],_0x194c88=(_0x2834c8=(_0x3ac2b7=_0x2d8ef9[_0x3b531c(0x276)]())==null?void 0x0:_0x3ac2b7['userID'])!=null?_0x2834c8:_0x3b531c(0x26d),_0x3c09db=(_0x5c6113=(_0x10077a=_0x2d8ef9['getCurrentUser']())==null?void 0x0:_0x10077a[_0x3b531c(0x218)])!=null?_0x5c6113:'unknown';return{'changeset':{'unitID':_0x2febf5,'type':_0x5d481e(_0x433ead[_0x3b531c(0x454)](_0x2febf5)),'baseRev':_0x144ef0[_0x3b531c(0x447)](_0x2febf5),'revision':0x0,'userID':_0x194c88,'memberID':_0x3c09db,'mutations':_0x2a3f4f},'pendingMutations':[]};}function Ui(_0x2331d2,_0xb24e7d){const _0x209fa4=_0x58e4d7,_0x234c24=new _0x5234fb(0x1);return setTimeout(()=>_0x234c24[_0x209fa4(0x389)](_0xb24e7d),_0x2331d2),_0x234c24[_0x209fa4(0x4fe)]()[_0x209fa4(0x324)](_0x41b9e6(0x1));}const uo={'id':_0x147328['id'],'type':_0x4a933d[_0x58e4d7(0x1a8)],'params':{}};var fo=Object[_0x58e4d7(0x367)],vo=Object[_0x58e4d7(0x1ba)],Le=(_0x4a8275,_0x17395a,_0x2bcde7,_0x204f3f)=>{const _0x691a28=_0x58e4d7;for(var _0x55e378=_0x204f3f>0x1?void 0x0:_0x204f3f?vo(_0x17395a,_0x2bcde7):_0x17395a,_0x105168=_0x4a8275[_0x691a28(0x418)]-0x1,_0x3db13c;_0x105168>=0x0;_0x105168--)(_0x3db13c=_0x4a8275[_0x105168])&&(_0x55e378=(_0x204f3f?_0x3db13c(_0x17395a,_0x2bcde7,_0x55e378):_0x3db13c(_0x55e378))||_0x55e378);return _0x204f3f&&_0x55e378&&fo(_0x17395a,_0x2bcde7,_0x55e378),_0x55e378;},A=(_0x5bf376,_0x35be81)=>(_0x5d4f30,_0x1bb8d1)=>_0x35be81(_0x5d4f30,_0x1bb8d1,_0x5bf376),J=(_0x46f611=>(_0x46f611[_0x58e4d7(0x19c)]='not_collab',_0x46f611['SYNCED']='synced',_0x46f611[_0x58e4d7(0x2a3)]=_0x58e4d7(0x1a5),_0x46f611[_0x58e4d7(0x1bc)]=_0x58e4d7(0x3ef),_0x46f611['AWAITING_WITH_PENDING']=_0x58e4d7(0x3e4),_0x46f611[_0x58e4d7(0x18a)]='fetch_missing',_0x46f611[_0x58e4d7(0x242)]='conflict',_0x46f611[_0x58e4d7(0x153)]=_0x58e4d7(0x3c8),_0x46f611))(J||{});const Ni=0xea60;class $e{constructor(_0xb37cf7,_0x4df59b,_0x1e0b3d,_0x40f6dd,_0x2bb780,_0x336993,_0x1c0dba,_0x963a01,_0x1e3514){const _0x1b9329=_0x58e4d7;g(this,_0x1b9329(0x4f9),null),g(this,_0x1b9329(0x17a),[]),(this[_0x1b9329(0x214)]=_0xb37cf7,this[_0x1b9329(0x1be)]=_0x4df59b,this['_handler']=_0x2bb780,this[_0x1b9329(0x19f)]=_0x336993,this[_0x1b9329(0x337)]=_0x1c0dba,this[_0x1b9329(0x46f)]=_0x963a01,this['_localCacheService']=_0x1e3514,this[_0x1b9329(0x4f9)]=_0x1e0b3d,this[_0x1b9329(0x17a)]=_0x40f6dd);}[_0x58e4d7(0x34e)](_0x45d8f2){const _0x2de7fe=_0x58e4d7,_0x387fb3=this[_0x2de7fe(0x46f)][_0x2de7fe(0x447)](this[_0x2de7fe(0x214)]);return _0x45d8f2[_0x2de7fe(0x1f1)]>_0x387fb3+0x1?(this['_handler'][_0x2de7fe(0x401)]({'from':_0x387fb3,'to':_0x45d8f2['revision']-0x1}),!0x0):!0x1;}[_0x58e4d7(0x24a)](_0x1e0237){const _0x37dcab=_0x58e4d7;this['_undoRedoService'][_0x37dcab(0x216)](this[_0x37dcab(0x214)],_0x1e0237);}[_0x58e4d7(0x3c7)](_0x35df00){const _0x2d2f83=_0x58e4d7;var _0x5c3f56,_0x4cb7aa;(_0x4cb7aa=(_0x5c3f56=this[_0x2d2f83(0x1d0)])[_0x2d2f83(0x265)])==null||_0x4cb7aa[_0x2d2f83(0x22f)](_0x5c3f56,_0x35df00);}['_transformIMECache'](_0x2f2cbe){const _0x31e50b=_0x58e4d7;var _0xff6c6c,_0xa784cc;return(_0xa784cc=(_0xff6c6c=this[_0x31e50b(0x1d0)])[_0x31e50b(0x2a7)])==null?void 0x0:_0xa784cc[_0x31e50b(0x22f)](_0xff6c6c,_0x2f2cbe);}[_0x58e4d7(0x3f5)](_0x149df6){const _0x1727a4=_0x58e4d7;var _0x4c6d1c,_0x2802f0;return(_0x2802f0=(_0x4c6d1c=this[_0x1727a4(0x1d0)])['onTransformState'])==null?void 0x0:_0x2802f0[_0x1727a4(0x22f)](_0x4c6d1c,_0x149df6);}[_0x58e4d7(0x39a)](_0x1595ad){const _0x13d9f4=_0x58e4d7;var _0x54f255,_0x12b53c,_0x22599d;return(_0x22599d=(_0x12b53c=(_0x54f255=this[_0x13d9f4(0x1d0)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x12b53c[_0x13d9f4(0x22f)](_0x54f255,_0x1595ad))!=null?_0x22599d:_0x1595ad;}[_0x58e4d7(0x4c2)](_0x415f0b){const _0x3491cf=_0x58e4d7;var _0x3afd97,_0x448de5,_0x583668;return(_0x583668=(_0x448de5=(_0x3afd97=this[_0x3491cf(0x1d0)])[_0x3491cf(0x39b)])==null?void 0x0:_0x448de5[_0x3491cf(0x22f)](_0x3afd97,_0x415f0b))!=null?_0x583668:_0x415f0b;}[_0x58e4d7(0x3a4)](_0x1ad8d0){const _0x334d04=_0x58e4d7;var _0x352e9c,_0x4df909;if(this[_0x334d04(0x1be)]===ce[_0x334d04(0x1a7)]){const {unitID:_0x29bdb3,mutations:_0x30619e,memberID:_0x2e1b4a}=_0x1ad8d0,_0x254467=_0x30619e[0x0][_0x334d04(0x231)][_0x334d04(0x4bc)];Array[_0x334d04(0x444)](_0x254467)&&_0x254467['length']>0x0&&((_0x4df909=(_0x352e9c=this[_0x334d04(0x1d0)])[_0x334d04(0x1de)])==null||_0x4df909[_0x334d04(0x22f)](_0x352e9c,{'unitID':_0x29bdb3,'memberID':_0x2e1b4a,'textRanges':_0x254467}));}}[_0x58e4d7(0x3de)](){const _0x456715=_0x58e4d7;this['_localCacheService'][_0x456715(0x109)](this['unitID'],this[_0x456715(0x1be)],this[_0x456715(0x4f9)],this[_0x456715(0x17a)]);}[_0x58e4d7(0x2ef)](){const _0x5f0d3e=_0x58e4d7;return this[_0x5f0d3e(0x46f)][_0x5f0d3e(0x447)](this[_0x5f0d3e(0x214)]);}[_0x58e4d7(0x31b)](){const _0x24467b=_0x58e4d7;this[_0x24467b(0x46f)][_0x24467b(0x14f)](this[_0x24467b(0x214)]);}[_0x58e4d7(0x220)](_0x4d4ced){const _0x1ad98e=_0x58e4d7;var _0x1a3cf3;let _0x5d7041=this[_0x1ad98e(0x39a)](_0x4d4ced);_0x5d7041=this['_transformRemoteChangesetByStateCache'](_0x5d7041);const _0x46ce5b=_0x296309(_0x5d7041[_0x1ad98e(0x2e8)],this['_commandService'],{'fromCollab':!0x0});if(!_0x46ce5b[_0x1ad98e(0x38a)])throw _0x46ce5b[_0x1ad98e(0x27b)]instanceof Error?_0x46ce5b[_0x1ad98e(0x27b)]:new Error((_0x1a3cf3=_0x46ce5b['error'])!=null?_0x1a3cf3:'[CollaborationState]:\x20apply\x20error!');this[_0x1ad98e(0x235)](_0x5d7041),this['_transformStateCache'](_0x5d7041),this[_0x1ad98e(0x24a)](_0x4d4ced),this[_0x1ad98e(0x3c7)](_0x5d7041),this['_syncEditingCollabCursor'](_0x5d7041),this[_0x1ad98e(0x31b)]();}}let Fe=class extends $e{constructor(_0x12690f,_0xf8bad2,_0x535826,_0x125114,_0x2f3b81,_0x529852,_0x1120d1,_0x46d906,_0x27ec8b,_0x40c143){const _0x3d1160=_0x58e4d7;super(_0x12690f,_0xf8bad2,null,[],_0x535826,_0x46d906,_0x1120d1,_0x125114,_0x2f3b81),g(this,_0x3d1160(0x30e),'synced'),(this[_0x3d1160(0x405)]=_0x529852,this[_0x3d1160(0x21d)]=_0x27ec8b,this[_0x3d1160(0x4bf)]=_0x40c143);}[_0x58e4d7(0x3b7)](_0x4efc30){const _0x1d14f3=_0x58e4d7,_0xd195aa=this[_0x1d14f3(0x405)][_0x1d14f3(0x4c3)](pe,this[_0x1d14f3(0x214)],this[_0x1d14f3(0x1be)],[_0x4efc30],this[_0x1d14f3(0x1d0)]);return _0xd195aa['_schedule'](),_0xd195aa[_0x1d14f3(0x3de)](),_0xd195aa;}['onRemoteChangeset'](_0x3b7a8b){const _0x240ed4=_0x58e4d7;if(this[_0x240ed4(0x34e)](_0x3b7a8b))return this[_0x240ed4(0x405)][_0x240ed4(0x4c3)](he,this['unitID'],this[_0x240ed4(0x1be)],null,[],null,[_0x3b7a8b],this['_handler']);try{const _0x36c2dd=this['_transformService'][_0x240ed4(0x2e7)](_0x3b7a8b,[uo]);if(_0x4e074c(_0x36c2dd)){const {c1Prime:_0x541dbe}=_0x36c2dd;return this[_0x240ed4(0x220)](_0x541dbe),this;}throw _0x36c2dd['error'];}catch(_0x2ef846){return this['_logService']['error'](_0x2ef846),this[_0x240ed4(0x2d9)](!0x1);}}[_0x58e4d7(0x2d9)](_0x2b7f1d){const _0x40a9e3=_0x58e4d7;return this[_0x40a9e3(0x405)][_0x40a9e3(0x4c3)](Re,this[_0x40a9e3(0x214)],this[_0x40a9e3(0x1be)],null,[],this[_0x40a9e3(0x1d0)],_0x2b7f1d);}[_0x58e4d7(0x425)](){const _0x1f05c2=_0x58e4d7;throw new Error(_0x1f05c2(0x436));}[_0x58e4d7(0x21f)](){const _0x4d3f42=_0x58e4d7;throw new Error(_0x4d3f42(0x197));}[_0x58e4d7(0x297)](){return this;}[_0x58e4d7(0x132)](){const _0x48934f=_0x58e4d7;return this[_0x48934f(0x405)]['createInstance'](ye,this[_0x48934f(0x214)],this[_0x48934f(0x1be)],null,[],this[_0x48934f(0x1d0)]);}[_0x58e4d7(0x494)](){return this;}[_0x58e4d7(0x307)](){const _0x2f94b6=_0x58e4d7;throw new Error(_0x2f94b6(0x47d));}[_0x58e4d7(0x1f3)](){const _0xe5be82=_0x58e4d7,_0x41e033=this['_revisionService'][_0xe5be82(0x447)](this[_0xe5be82(0x214)]);return this[_0xe5be82(0x1d0)][_0xe5be82(0x401)]({'from':_0x41e033,'to':0x0}),this[_0xe5be82(0x405)]['createInstance'](he,this[_0xe5be82(0x214)],this[_0xe5be82(0x1be)],null,[],null,[],this[_0xe5be82(0x1d0)]);}};Fe=Le([A(0x3,_0x22f9f7(_0xd58166)),A(0x4,_0x22f9f7(q)),A(0x5,_0x22f9f7(_0x1dc773)),A(0x6,_0x41fb80),A(0x7,_0x13cabf),A(0x8,_0x1bae21),A(0x9,_0x3c62f1)],Fe);let pe=class extends $e{constructor(_0x211eb7,_0x1496cd,_0x50f7f8,_0x1e3735,_0x3c8f43,_0x1cdb24,_0x2980df,_0x4ff1be,_0x23bee3,_0x227334,_0xb10780,_0x5bbeab,_0x16bc72,_0x2d4ced){const _0x3d564f=_0x58e4d7;super(_0x211eb7,_0x1496cd,null,_0x50f7f8,_0x1e3735,_0x227334,_0x2d4ced,_0x1cdb24,_0x2980df),g(this,_0x3d564f(0x30e),_0x3d564f(0x1a5)),g(this,_0x3d564f(0x361),null),g(this,_0x3d564f(0x35b),null),(this[_0x3d564f(0x405)]=_0x3c8f43,this[_0x3d564f(0x2db)]=_0x4ff1be,this[_0x3d564f(0x21d)]=_0x23bee3,this[_0x3d564f(0x4e9)]=_0xb10780,this[_0x3d564f(0x4bf)]=_0x5bbeab,this[_0x3d564f(0x3c3)]=_0x16bc72);}[_0x58e4d7(0x3b7)](_0x5bd85e){const _0x25c811=_0x58e4d7;return this['_pendingMutations'][_0x25c811(0x47e)](_0x5bd85e),this[_0x25c811(0x3de)](),this;}[_0x58e4d7(0x205)](_0x25af97){const _0x19961b=_0x58e4d7;if(this[_0x19961b(0x34e)](_0x25af97))return this[_0x19961b(0x3a2)](),this[_0x19961b(0x405)][_0x19961b(0x4c3)](he,this['unitID'],this['type'],null,this['_pendingMutations'],null,[_0x25af97],this[_0x19961b(0x1d0)]);try{const _0x5c32e5=this['_transformService'][_0x19961b(0x2e7)](_0x25af97,this['_pendingMutations']);if(_0x4e074c(_0x5c32e5)){const {c1Prime:_0x59b9a2,m2Prime:_0x47e034}=_0x5c32e5;this[_0x19961b(0x220)](_0x59b9a2);const _0x1069c6=this[_0x19961b(0x405)][_0x19961b(0x4c3)](pe,this['unitID'],this[_0x19961b(0x1be)],_0x47e034,this[_0x19961b(0x1d0)]);return this[_0x19961b(0x3a2)](),_0x1069c6['_schedule'](this[_0x19961b(0x361)]?Math[_0x19961b(0x106)](0x0,new Date()[_0x19961b(0x31a)]()-this[_0x19961b(0x361)]):this[_0x19961b(0x2b3)]()),_0x1069c6;}throw _0x5c32e5[_0x19961b(0x27b)];}catch(_0x165ad9){return this[_0x19961b(0x21d)][_0x19961b(0x27b)](_0x165ad9),this[_0x19961b(0x2d9)](!0x1);}}[_0x58e4d7(0x425)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x58e4d7(0x21f)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x58e4d7(0x297)](){return this;}[_0x58e4d7(0x132)](){const _0x408472=_0x58e4d7;return this[_0x408472(0x3a2)](),this['_injector'][_0x408472(0x4c3)](ye,this[_0x408472(0x214)],this[_0x408472(0x1be)],null,this[_0x408472(0x17a)],this[_0x408472(0x1d0)]);}[_0x58e4d7(0x494)](){return this;}['_schedule'](_0x4a987e){const _0x5b8e74=_0x58e4d7,_0x5c7671=_0x4a987e!=null?_0x4a987e:this['_getSendChangesetTimeout']();this[_0x5b8e74(0x361)]=new Date()[_0x5b8e74(0x31a)](),this[_0x5b8e74(0x35b)]=window['setTimeout'](()=>{const _0x130b13=_0x5b8e74;this['_clearScheduledTask']();let _0x4c6679=null;switch(this[_0x130b13(0x1be)]){case ce[_0x130b13(0x15c)]:{_0x4c6679=Vs(this[_0x130b13(0x17a)],this[_0x130b13(0x214)],this['_univerInstanceService'],this[_0x130b13(0x46f)],this['_memberService']);break;}case ce[_0x130b13(0x1a7)]:{this['_pendingMutations']['every'](_0x3cf95e=>_0x3cf95e['id']===_0x325650['id'])?_0x4c6679=_o(this['_pendingMutations'],this[_0x130b13(0x214)],this[_0x130b13(0x3c3)],this[_0x130b13(0x46f)],this[_0x130b13(0x2db)]):_0x4c6679=Vs(this['_pendingMutations'],this[_0x130b13(0x214)],this[_0x130b13(0x3c3)],this['_revisionService'],this[_0x130b13(0x2db)]);break;}default:throw new Error(_0x130b13(0x238)+this[_0x130b13(0x1be)]+_0x130b13(0x149));}const {changeset:_0x10e38a,pendingMutations:_0x260d98}=_0x4c6679;this['_handler'][_0x130b13(0x2a1)](_0x10e38a);const _0x3c7f66=_0x260d98[_0x130b13(0x418)]?this[_0x130b13(0x405)][_0x130b13(0x4c3)](ge,this[_0x130b13(0x214)],this[_0x130b13(0x1be)],_0x10e38a,_0x260d98,this[_0x130b13(0x1d0)],void 0x0):this[_0x130b13(0x405)][_0x130b13(0x4c3)](Te,this[_0x130b13(0x214)],this[_0x130b13(0x1be)],_0x10e38a,this[_0x130b13(0x1d0)]);_0x3c7f66['_updateLocalCache'](),this[_0x130b13(0x1d0)]['onStateChange'](this,_0x3c7f66);},_0x5c7671);}['_getSendChangesetTimeout'](){const _0x21b84b=_0x58e4d7;var _0x1fc91c;const _0x3bd890=this[_0x21b84b(0x4e9)][_0x21b84b(0x4f3)](ie);return(_0x1fc91c=_0x3bd890==null?void 0x0:_0x3bd890['sendChangesetTimeout'])!=null?_0x1fc91c:cr;}['resend'](){const _0x4e4781=_0x58e4d7;throw new Error(_0x4e4781(0x28d));}[_0x58e4d7(0x3a2)](){const _0x20a2d0=_0x58e4d7;this[_0x20a2d0(0x35b)]!=null&&(clearTimeout(this[_0x20a2d0(0x35b)]),this['_sendingTimer']=null);}[_0x58e4d7(0x2d9)](_0x2008e6){const _0xab818b=_0x58e4d7;return this[_0xab818b(0x3a2)](),this[_0xab818b(0x405)][_0xab818b(0x4c3)](Re,this['unitID'],this[_0xab818b(0x1be)],null,this[_0xab818b(0x17a)],this['_handler'],_0x2008e6);}};pe=Le([A(0x4,_0x22f9f7(_0x1dc773)),A(0x5,_0x22f9f7(_0xd58166)),A(0x6,_0x22f9f7(q)),A(0x7,_0x22f9f7(Ne)),A(0x8,_0x1bae21),A(0x9,_0x13cabf),A(0xa,_0x4bb278),A(0xb,_0x3c62f1),A(0xc,_0x17eff3),A(0xd,_0x41fb80)],pe);let Te=class extends $e{constructor(_0x4b6f2b,_0xa1c739,_0x33f48a,_0x249f10,_0x3dbe39,_0x1ff8f3,_0xef3c5,_0x24142a,_0x34a08c,_0x4b9409,_0x215cbd){const _0x1c6f5e=_0x58e4d7;super(_0x4b6f2b,_0xa1c739,_0x33f48a,[],_0x249f10,_0x24142a,_0x215cbd,_0x1ff8f3,_0xef3c5),g(this,_0x1c6f5e(0x30e),_0x1c6f5e(0x3ef)),g(this,_0x1c6f5e(0x347),0x0),g(this,_0x1c6f5e(0x196)),g(this,_0x1c6f5e(0x236)),(this[_0x1c6f5e(0x405)]=_0x3dbe39,this[_0x1c6f5e(0x21d)]=_0x34a08c,this['_transformService']=_0x4b9409);}[_0x58e4d7(0x3b7)](_0x37ffeb){const _0xdfd53d=_0x58e4d7;this[_0xdfd53d(0x3a2)]();const _0x2a87b2=this[_0xdfd53d(0x405)][_0xdfd53d(0x4c3)](ge,this[_0xdfd53d(0x214)],this['type'],this['_awaitingChangeset'],[_0x37ffeb],this[_0xdfd53d(0x1d0)],this[_0xdfd53d(0x196)]);return _0x2a87b2['_updateLocalCache'](),_0x2a87b2;}[_0x58e4d7(0x205)](_0x4c6fce){const _0x170592=_0x58e4d7;if(this[_0x170592(0x34e)](_0x4c6fce))return this[_0x170592(0x3a2)](),this['_injector']['createInstance'](he,this[_0x170592(0x214)],this['type'],this['_awaitingChangeset'],[],null,[_0x4c6fce],this['_handler']);try{const _0x102a75=this[_0x170592(0x4bf)]['transformChangesets']([_0x4c6fce],[this['_awaitingChangeset']],!0x1);if(_0x5d34b2(_0x102a75)){const {c1Prime:_0x4e1049,c2Prime:_0x3f9464}=_0x102a75;this[_0x170592(0x220)](_0x4e1049[0x0]),_0x3f9464[0x0][_0x170592(0x162)]=this['_getCurrentRevision'](),this[_0x170592(0x3a2)]();const _0x1fa9f2=this[_0x170592(0x405)][_0x170592(0x4c3)](Te,this[_0x170592(0x214)],this['type'],_0x3f9464[0x0],this[_0x170592(0x1d0)]);return _0x1fa9f2[_0x170592(0x3de)](),_0x1fa9f2;}return this['_onConflict'](!0x1);}catch(_0x8e459e){return this[_0x170592(0x21d)][_0x170592(0x27b)](_0x8e459e),this[_0x170592(0x2d9)](!0x1);}}['onRemoteAck'](_0x536d63){const _0xaf716b=_0x58e4d7;this[_0xaf716b(0x3a2)]();const _0x4b15e0=this[_0xaf716b(0x46f)][_0xaf716b(0x447)](this['unitID']);if(_0x536d63['revision']<_0x4b15e0-0x1)return this;if(this[_0xaf716b(0x34e)](_0x536d63))return this[_0xaf716b(0x405)][_0xaf716b(0x4c3)](he,this[_0xaf716b(0x214)],this['type'],null,[],this[_0xaf716b(0x4f9)],[],this['_handler']);this[_0xaf716b(0x31b)]();const _0x416cf8=this[_0xaf716b(0x405)]['createInstance'](Fe,this['unitID'],this['type'],this[_0xaf716b(0x1d0)]);return _0x416cf8[_0xaf716b(0x3de)](),_0x416cf8;}[_0x58e4d7(0x21f)](_0x28b64c){const _0x4e8af9=_0x58e4d7;return this[_0x4e8af9(0x2d9)](!!(_0x28b64c!=null&&_0x28b64c['isPermissionRej']));}[_0x58e4d7(0x297)](_0x271574){const _0x295d1e=_0x58e4d7;return this[_0x295d1e(0x347)]>Ni?this[_0x295d1e(0x132)]():(this[_0x295d1e(0x196)]=Ui(this['_resendTimeout'],{'timeout':this[_0x295d1e(0x347)],'reqId':_0x271574[_0x295d1e(0x1db)]}),this[_0x295d1e(0x236)]=this[_0x295d1e(0x196)][_0x295d1e(0x2df)](({reqId:_0x4d4cd8,timeout:_0x13db44})=>{const _0x518bfd=_0x295d1e;this[_0x518bfd(0x42e)](_0x4d4cd8,_0x13db44);}),this);}[_0x58e4d7(0x132)](){const _0x10650c=_0x58e4d7;return this[_0x10650c(0x3a2)](),this[_0x10650c(0x405)][_0x10650c(0x4c3)](ye,this[_0x10650c(0x214)],this[_0x10650c(0x1be)],this[_0x10650c(0x4f9)],[],this[_0x10650c(0x1d0)]);}[_0x58e4d7(0x494)](){return this;}[_0x58e4d7(0x307)](){const _0xba56c7=_0x58e4d7;this[_0xba56c7(0x1d0)]['onSendChangeset'](this[_0xba56c7(0x4f9)]);}[_0x58e4d7(0x2d9)](_0x598983){const _0x2eb8a4=_0x58e4d7;return this[_0x2eb8a4(0x3a2)](),this[_0x2eb8a4(0x405)][_0x2eb8a4(0x4c3)](Re,this[_0x2eb8a4(0x214)],this['type'],this['_awaitingChangeset'],[],this['_handler'],_0x598983);}['_resendWithTimeout'](_0x8246d9,_0xa5ed0e){const _0x507cc5=_0x58e4d7;var _0xa57913;_0x8246d9===((_0xa57913=this[_0x507cc5(0x4f9)])==null?void 0x0:_0xa57913[_0x507cc5(0x1db)])&&(this[_0x507cc5(0x307)](),this[_0x507cc5(0x347)]=_0xa5ed0e===0x0?0x3e8:_0xa5ed0e*0x2);}['_clearScheduledTask'](){const _0x4a89fc=_0x58e4d7;var _0x4f5cf6;(_0x4f5cf6=this[_0x4a89fc(0x236)])==null||_0x4f5cf6['unsubscribe'](),this[_0x4a89fc(0x347)]=0x0;}};Te=Le([A(0x4,_0x22f9f7(_0x1dc773)),A(0x5,_0x22f9f7(_0xd58166)),A(0x6,_0x22f9f7(q)),A(0x7,_0x13cabf),A(0x8,_0x1bae21),A(0x9,_0x3c62f1),A(0xa,_0x41fb80)],Te);let ge=class extends $e{constructor(_0x2481ac,_0x309a56,_0x3d261c,_0x5598a2,_0x23a613,_0x43425e,_0x239c57,_0x226c06,_0x30e391,_0x4bd9cb,_0x421705,_0x4223b4,_0x30d5e6){const _0x2f7092=_0x58e4d7;super(_0x2481ac,_0x309a56,_0x3d261c,_0x5598a2,_0x23a613,_0x4bd9cb,_0x30d5e6,_0x226c06,_0x30e391),g(this,_0x2f7092(0x30e),_0x2f7092(0x3e4)),g(this,_0x2f7092(0x347),0x0),g(this,_0x2f7092(0x196)),g(this,_0x2f7092(0x236)),(this[_0x2f7092(0x405)]=_0x239c57,this[_0x2f7092(0x21d)]=_0x421705,this[_0x2f7092(0x4bf)]=_0x4223b4,_0x43425e&&(this[_0x2f7092(0x196)]=_0x43425e,this['_sender']=this[_0x2f7092(0x196)][_0x2f7092(0x2df)](({reqId:_0x5c382c,timeout:_0x10aba0})=>{const _0x1d38b5=_0x2f7092;this[_0x1d38b5(0x42e)](_0x5c382c,_0x10aba0);})));}['appendMutation'](_0x4e5639){const _0x1e6b04=_0x58e4d7;return this[_0x1e6b04(0x17a)][_0x1e6b04(0x47e)](_0x4e5639),this;}[_0x58e4d7(0x205)](_0x333faa){const _0x4c48f1=_0x58e4d7;if(this[_0x4c48f1(0x34e)](_0x333faa))return this[_0x4c48f1(0x3a2)](),this[_0x4c48f1(0x405)]['createInstance'](he,this[_0x4c48f1(0x214)],this[_0x4c48f1(0x1be)],this[_0x4c48f1(0x4f9)],this[_0x4c48f1(0x17a)],null,[_0x333faa],this[_0x4c48f1(0x1d0)]);try{const _0x4805f9=this[_0x4c48f1(0x4bf)][_0x4c48f1(0x2ba)]([_0x333faa],[this[_0x4c48f1(0x4f9)]],!0x1);if(_0x5d34b2(_0x4805f9)){const {c1Prime:_0x35e766,c2Prime:_0x4a4b88}=_0x4805f9,_0x179815=this[_0x4c48f1(0x4bf)]['transformMutationsWithChangeset'](_0x35e766[0x0],this[_0x4c48f1(0x17a)]);if(_0x4e074c(_0x179815)){const {c1Prime:_0x2bd986,m2Prime:_0xabbd30}=_0x179815;return this[_0x4c48f1(0x220)](_0x2bd986),_0x4a4b88[0x0][_0x4c48f1(0x162)]=this[_0x4c48f1(0x2ef)](),this['_clearScheduledTask'](),this[_0x4c48f1(0x405)][_0x4c48f1(0x4c3)](ge,this['unitID'],this['type'],_0x4a4b88[0x0],_0xabbd30,this[_0x4c48f1(0x1d0)],void 0x0);}throw _0x179815[_0x4c48f1(0x27b)];}throw _0x4805f9[_0x4c48f1(0x27b)];}catch(_0x2b18c3){return this[_0x4c48f1(0x21d)]['error'](_0x2b18c3),this[_0x4c48f1(0x2d9)](!0x1);}}[_0x58e4d7(0x425)](_0x4acd0a){const _0x335a87=_0x58e4d7;if(this['_clearScheduledTask'](),this[_0x335a87(0x34e)](_0x4acd0a))return this[_0x335a87(0x405)][_0x335a87(0x4c3)](he,this[_0x335a87(0x214)],this[_0x335a87(0x1be)],null,this[_0x335a87(0x17a)],this[_0x335a87(0x4f9)],[],this[_0x335a87(0x1d0)]);this[_0x335a87(0x31b)]();const _0x38d9d8=this[_0x335a87(0x405)]['createInstance'](pe,this[_0x335a87(0x214)],this[_0x335a87(0x1be)],this[_0x335a87(0x17a)],this[_0x335a87(0x1d0)]);return _0x38d9d8[_0x335a87(0x4af)](),_0x38d9d8[_0x335a87(0x3de)](),_0x38d9d8;}[_0x58e4d7(0x21f)](_0x41145d){const _0x17aac7=_0x58e4d7;return this['_onConflict'](!!(_0x41145d!=null&&_0x41145d[_0x17aac7(0x25c)]));}['onRemoteRetry'](_0x5d06de){const _0x5e7389=_0x58e4d7;return this[_0x5e7389(0x347)]>Ni?this[_0x5e7389(0x132)]():(this['_resendTimer']=Ui(this['_resendTimeout'],{'timeout':this[_0x5e7389(0x347)],'reqId':_0x5d06de[_0x5e7389(0x1db)]}),this['_sender']=this[_0x5e7389(0x196)][_0x5e7389(0x2df)](({reqId:_0x37fd14,timeout:_0x355d11})=>{const _0x34fb52=_0x5e7389;this[_0x34fb52(0x42e)](_0x37fd14,_0x355d11);}),this);}[_0x58e4d7(0x132)](){const _0x1096b8=_0x58e4d7;return this['_clearScheduledTask'](),this[_0x1096b8(0x405)][_0x1096b8(0x4c3)](ye,this[_0x1096b8(0x214)],this[_0x1096b8(0x1be)],this[_0x1096b8(0x4f9)],this[_0x1096b8(0x17a)],this['_handler']);}[_0x58e4d7(0x494)](){return this;}[_0x58e4d7(0x307)](){const _0x387d53=_0x58e4d7;this[_0x387d53(0x1d0)][_0x387d53(0x2a1)](this[_0x387d53(0x4f9)]);}[_0x58e4d7(0x2d9)](_0x337856){const _0x1505d7=_0x58e4d7;return this[_0x1505d7(0x3a2)](),this['_injector'][_0x1505d7(0x4c3)](Re,this[_0x1505d7(0x214)],this['type'],null,this[_0x1505d7(0x17a)],this[_0x1505d7(0x1d0)],_0x337856);}[_0x58e4d7(0x42e)](_0x3bd9be,_0x4784b3){const _0x2e8599=_0x58e4d7;var _0x4d0ded;_0x3bd9be===((_0x4d0ded=this[_0x2e8599(0x4f9)])==null?void 0x0:_0x4d0ded[_0x2e8599(0x1db)])&&(this['resend'](),this[_0x2e8599(0x347)]=_0x4784b3===0x0?0x3e8:_0x4784b3*0x2);}[_0x58e4d7(0x3a2)](){const _0x2bf6b5=_0x58e4d7;var _0x439533;(_0x439533=this[_0x2bf6b5(0x236)])==null||_0x439533[_0x2bf6b5(0x394)](),this[_0x2bf6b5(0x347)]=0x0;}};ge=Le([A(0x6,_0x22f9f7(_0x1dc773)),A(0x7,_0x22f9f7(_0xd58166)),A(0x8,_0x22f9f7(q)),A(0x9,_0x13cabf),A(0xa,_0x1bae21),A(0xb,_0x3c62f1),A(0xc,_0x41fb80)],ge);let Re=class extends $e{constructor(_0x523bd1,_0x3fb572,_0x270678,_0x311d60,_0x4f851a,_0x46f9ef=!0x1,_0x367085,_0x39982d,_0x3688da,_0x2acca5,_0x17ac13,_0x3d3ab9,_0xe43a12){const _0x24f17f=_0x58e4d7;super(_0x523bd1,_0x3fb572,_0x270678,_0x311d60,_0x4f851a,_0x39982d,_0x3688da,_0x17ac13,_0x2acca5),g(this,_0x24f17f(0x30e),_0x24f17f(0x256)),(this[_0x24f17f(0x4a8)]=_0x46f9ef,this[_0x24f17f(0x2e6)]=_0x367085,this[_0x24f17f(0x332)]=_0x3d3ab9,this[_0x24f17f(0x384)]=_0xe43a12,this[_0x24f17f(0x412)](),this[_0x24f17f(0x319)](),this['_disableEditing']());}[_0x58e4d7(0x3b7)](){return this;}['onRemoteChangeset'](){return this;}[_0x58e4d7(0x425)](){return this;}[_0x58e4d7(0x21f)](){return this;}[_0x58e4d7(0x297)](){return this;}[_0x58e4d7(0x132)](){return this;}[_0x58e4d7(0x494)](){return this;}[_0x58e4d7(0x307)](){const _0x2fa656=_0x58e4d7;throw new Error(_0x2fa656(0x484));}[_0x58e4d7(0x319)](){const _0x235728=_0x58e4d7;this[_0x235728(0x4d7)]['updateOfflineData'](this[_0x235728(0x214)],this['type'],null,[]);}[_0x58e4d7(0x412)](){const _0x25f8ad=_0x58e4d7;this['_isPermissionRej']?this[_0x25f8ad(0x384)][_0x25f8ad(0x25b)]({'title':this[_0x25f8ad(0x332)]['t'](_0x25f8ad(0x172)),'content':this[_0x25f8ad(0x332)]['t']('permission.content'),'type':'error','duration':0x0}):this[_0x25f8ad(0x384)]['show']({'title':this[_0x25f8ad(0x332)]['t']('conflict.title'),'content':this[_0x25f8ad(0x332)]['t']('conflict.content'),'type':_0x25f8ad(0x27b),'duration':0x0});}[_0x58e4d7(0x48a)](){const _0x139328=_0x58e4d7;this['_permissionService'][_0x139328(0x416)](new _0x46af2c(this['unitID'])['id'],!0x1);}};Re=Le([A(0x6,_0x22f9f7(_0xd7cfff)),A(0x7,_0x13cabf),A(0x8,_0x41fb80),A(0x9,_0x22f9f7(q)),A(0xa,_0x22f9f7(_0xd58166)),A(0xb,_0x22f9f7(_0x1c0183)),A(0xc,_0x5de3ca)],Re);let ye=class extends $e{constructor(_0x4b1431,_0x12f6ab,_0x3c8813,_0x17a6f7,_0x55d57e,_0x56d9de,_0x3df6bb,_0x204fb1,_0x5820ff,_0x480bfe){const _0x138bc0=_0x58e4d7;super(_0x4b1431,_0x12f6ab,_0x3c8813,_0x17a6f7,_0x55d57e,_0x5820ff,_0x480bfe,_0x3df6bb,_0x204fb1),g(this,_0x138bc0(0x30e),'offline'),this['_injector']=_0x56d9de;}[_0x58e4d7(0x3b7)](_0x138131){const _0x3e291f=_0x58e4d7;return this['_pendingMutations'][_0x3e291f(0x47e)](_0x138131),this[_0x3e291f(0x3de)](),this;}['onRemoteChangeset'](_0xf715e1){const _0x90a12f=_0x58e4d7;throw new Error(_0x90a12f(0x4c0));}[_0x58e4d7(0x425)](){const _0x2d9926=_0x58e4d7;throw new Error(_0x2d9926(0x19b));}['onRemoteRej'](){const _0x2b519b=_0x58e4d7;throw new Error(_0x2b519b(0x270));}[_0x58e4d7(0x297)](){return this;}[_0x58e4d7(0x132)](){return this;}[_0x58e4d7(0x494)](){const _0x394e14=_0x58e4d7,{_injector:_0x58e701,_pendingMutations:_0x355ff6,_awaitingChangeset:_0x117805,unitID:_0x3f59e5,_handler:_0x368cc8,type:_0xca6365}=this,_0x530af1=Ai(_0x58e701,_0x3f59e5,_0xca6365,_0x117805,_0x355ff6,_0x368cc8);return _0x530af1 instanceof pe?_0x530af1[_0x394e14(0x4af)]():(_0x530af1 instanceof ge||_0x530af1 instanceof Te)&&_0x530af1[_0x394e14(0x307)](),_0x530af1;}[_0x58e4d7(0x307)](){const _0x31629e=_0x58e4d7;throw new Error(_0x31629e(0x213));}};ye=Le([A(0x5,_0x22f9f7(_0x1dc773)),A(0x6,_0x22f9f7(_0xd58166)),A(0x7,_0x22f9f7(q)),A(0x8,_0x13cabf),A(0x9,_0x41fb80)],ye);let he=class extends $e{constructor(_0x1c1109,_0x4ead10,_0x473930,_0x5a6934,_0x257866,_0x599ef4,_0x5d102b,_0x3ff68e,_0x1f907c,_0x1c0b95,_0x22f758,_0x3811e7,_0x30c4b7,_0xe68d79){const _0x413ac2=_0x58e4d7;super(_0x1c1109,_0x4ead10,_0x473930,_0x5a6934,_0x5d102b,_0x3811e7,_0x30c4b7,_0x1f907c,_0x1c0b95),g(this,'status','fetch_missing'),(this[_0x413ac2(0x36b)]=_0x257866,this[_0x413ac2(0x17e)]=_0x599ef4,this[_0x413ac2(0x405)]=_0x3ff68e,this[_0x413ac2(0x21d)]=_0x22f758,this['_transformService']=_0xe68d79);}[_0x58e4d7(0x1f2)](_0x102699){const _0x4b93c7=_0x58e4d7;try{const _0x554004=[..._0x102699,...this['_queuedRemoteChangesets']],_0x538fe8=[this[_0x4b93c7(0x4f9)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x324db3=>!!_0x324db3);let _0xbb8b9d,_0x5bcbbd;if(_0x538fe8[_0x4b93c7(0x418)]){const _0x892a1e=this[_0x4b93c7(0x4bf)]['transformChangesets'](_0x554004,_0x538fe8,!0x1);if(!_0x5d34b2(_0x892a1e))throw _0x892a1e[_0x4b93c7(0x27b)];_0xbb8b9d=_0x892a1e[_0x4b93c7(0x471)],_0x5bcbbd=_0x892a1e[_0x4b93c7(0x267)];}else _0xbb8b9d=_0x554004,_0x5bcbbd=[];let _0x516985=this[_0x4b93c7(0x17a)];_0xbb8b9d[_0x4b93c7(0x2ff)](_0x24c2f2=>{const _0x31d734=_0x4b93c7;let _0x3dce21;if(_0x516985[_0x31d734(0x418)]){const _0x36dd80=this[_0x31d734(0x4bf)]['transformMutationsWithChangeset'](_0x24c2f2,_0x516985);if(!_0x4e074c(_0x36dd80))throw _0x36dd80[_0x31d734(0x27b)];_0x3dce21=_0x36dd80[_0x31d734(0x471)],_0x516985=_0x36dd80[_0x31d734(0x29a)];}else _0x3dce21=_0x24c2f2;this[_0x31d734(0x220)](_0x3dce21);}),this[_0x4b93c7(0x36b)]&&this[_0x4b93c7(0x31b)](),this['_awaitingChangeset']&&_0x5bcbbd['length']&&(_0x5bcbbd[0x0][_0x4b93c7(0x162)]=this[_0x4b93c7(0x2ef)]());let _0x1ad56e;if(this[_0x4b93c7(0x4f9)]&&_0x516985[_0x4b93c7(0x418)]!==0x0)_0x1ad56e=this[_0x4b93c7(0x405)][_0x4b93c7(0x4c3)](ge,this['unitID'],this[_0x4b93c7(0x1be)],_0x5bcbbd[0x0],_0x516985,this[_0x4b93c7(0x1d0)],void 0x0);else{if(this[_0x4b93c7(0x4f9)]&&_0x516985[_0x4b93c7(0x418)]===0x0)_0x5bcbbd[0x0][_0x4b93c7(0x162)]=this['_getCurrentRevision'](),_0x1ad56e=this[_0x4b93c7(0x405)][_0x4b93c7(0x4c3)](Te,this[_0x4b93c7(0x214)],this[_0x4b93c7(0x1be)],_0x5bcbbd[0x0],this[_0x4b93c7(0x1d0)]);else{if(_0x516985[_0x4b93c7(0x418)]!==0x0){const _0x36019e=this[_0x4b93c7(0x405)][_0x4b93c7(0x4c3)](pe,this[_0x4b93c7(0x214)],this[_0x4b93c7(0x1be)],_0x516985,this['_handler']);_0x36019e[_0x4b93c7(0x4af)](),_0x1ad56e=_0x36019e;}else _0x1ad56e=this[_0x4b93c7(0x405)][_0x4b93c7(0x4c3)](Fe,this[_0x4b93c7(0x214)],this[_0x4b93c7(0x1be)],this['_handler']);}}return _0x1ad56e[_0x4b93c7(0x3de)](),_0x1ad56e;}catch(_0x437549){return this[_0x4b93c7(0x21d)][_0x4b93c7(0x27b)](_0x4b93c7(0x19e),_0x4b93c7(0x27a),_0x437549),this['_injector'][_0x4b93c7(0x4c3)](Re,this[_0x4b93c7(0x214)],this[_0x4b93c7(0x1be)],this[_0x4b93c7(0x4f9)],this[_0x4b93c7(0x17a)],this['_handler'],!0x1);}}['resend'](){const _0x360740=_0x58e4d7;throw new Error(_0x360740(0x15b));}['appendMutation'](_0x59c2f8){const _0x3b8221=_0x58e4d7;return this[_0x3b8221(0x17a)]['push'](_0x59c2f8),this;}[_0x58e4d7(0x205)](_0x26dd15){return this['_queuedRemoteChangesets']['push'](_0x26dd15),this;}['onRemoteAck'](_0x130265){const _0x56e559=_0x58e4d7;if(this['_awaitingChangeset'])return this[_0x56e559(0x36b)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x58e4d7(0x21f)](_0xae9374){const _0x5d09e2=_0x58e4d7;return this[_0x5d09e2(0x2d9)](!!(_0xae9374!=null&&_0xae9374[_0x5d09e2(0x25c)]));}[_0x58e4d7(0x297)](){return this;}[_0x58e4d7(0x132)](){const _0x59b8fa=_0x58e4d7;return this[_0x59b8fa(0x405)][_0x59b8fa(0x4c3)](ye,this[_0x59b8fa(0x214)],this['type'],this[_0x59b8fa(0x4f9)],this[_0x59b8fa(0x17a)],this['_handler']);}[_0x58e4d7(0x494)](){return this;}[_0x58e4d7(0x2d9)](_0x5a34c0){const _0x23bf8b=_0x58e4d7;return this[_0x23bf8b(0x405)][_0x23bf8b(0x4c3)](Re,this[_0x23bf8b(0x214)],this[_0x23bf8b(0x1be)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x23bf8b(0x1d0)],_0x5a34c0);}};he=Le([A(0x7,_0x22f9f7(_0x1dc773)),A(0x8,_0x22f9f7(_0xd58166)),A(0x9,_0x22f9f7(q)),A(0xa,_0x1bae21),A(0xb,_0x13cabf),A(0xc,_0x41fb80),A(0xd,_0x3c62f1)],he);function Ai(_0xbf74ea,_0x2c89d8,_0x434164,_0x37477b,_0x5b83d0,_0x5ba1d5){const _0x3de34a=_0x58e4d7;return _0x37477b&&_0x5b83d0[_0x3de34a(0x418)]?_0xbf74ea[_0x3de34a(0x4c3)](ge,_0x2c89d8,_0x434164,_0x37477b,_0x5b83d0,_0x5ba1d5,void 0x0):_0x37477b?_0xbf74ea[_0x3de34a(0x4c3)](Te,_0x2c89d8,_0x434164,_0x37477b,_0x5ba1d5):_0x5b83d0['length']?_0xbf74ea[_0x3de34a(0x4c3)](pe,_0x2c89d8,_0x434164,_0x5b83d0,_0x5ba1d5):_0xbf74ea[_0x3de34a(0x4c3)](Fe,_0x2c89d8,_0x434164,_0x5ba1d5);}var mo=Object[_0x58e4d7(0x367)],po=Object['getOwnPropertyDescriptor'],Es=(_0x31b746,_0x1a9cf4,_0x57eb26,_0x1ac127)=>{const _0xbfe864=_0x58e4d7;for(var _0x4e481d=_0x1ac127>0x1?void 0x0:_0x1ac127?po(_0x1a9cf4,_0x57eb26):_0x1a9cf4,_0x1428c4=_0x31b746[_0xbfe864(0x418)]-0x1,_0x3993ff;_0x1428c4>=0x0;_0x1428c4--)(_0x3993ff=_0x31b746[_0x1428c4])&&(_0x4e481d=(_0x1ac127?_0x3993ff(_0x1a9cf4,_0x57eb26,_0x4e481d):_0x3993ff(_0x4e481d))||_0x4e481d);return _0x1ac127&&_0x4e481d&&mo(_0x1a9cf4,_0x57eb26,_0x4e481d),_0x4e481d;},H=(_0x38ddb5,_0x347ca3)=>(_0x97e90e,_0x29df82)=>_0x347ca3(_0x97e90e,_0x29df82,_0x38ddb5);let St=class extends _0x574fb2{constructor(_0x4b7567,_0x31905a,_0x2e1c1b,_0x3c0131,_0x5bed07,_0x3e4d20,_0x2d256a,_0x5803ca,_0x4a931d,_0x26328b,_0x315a6c,_0x4c2a60,_0x418a50){const _0x5af027=_0x58e4d7;super(),g(this,'_state$',new _0x25a07b(null)),g(this,'state$',this[_0x5af027(0x4be)][_0x5af027(0x4fe)]()),g(this,_0x5af027(0x417)),g(this,'_collaborationPaused',!0x1),g(this,_0x5af027(0x360),''),g(this,_0x5af027(0x4ef),0x0),g(this,_0x5af027(0x4f6),this['state$'][_0x5af027(0x324)](_0x240a14(_0x498c02=>_0x498c02?_0x498c02[_0x5af027(0x30e)]:J[_0x5af027(0x153)]),_0x2976fc(0x1))),g(this,_0x5af027(0x43c),!0x1),g(this,'_remoteChangesetQueue',[]),(this[_0x5af027(0x214)]=_0x4b7567,this[_0x5af027(0x3bc)]=_0x31905a,this[_0x5af027(0x2fe)]=_0x2e1c1b,this[_0x5af027(0x405)]=_0x3c0131,this[_0x5af027(0x4d7)]=_0x5bed07,this[_0x5af027(0x23a)]=_0x3e4d20,this['_localeService']=_0x2d256a,this[_0x5af027(0x46f)]=_0x5803ca,this['_logService']=_0x4a931d,this[_0x5af027(0x19f)]=_0x26328b,this[_0x5af027(0x32e)]=_0x315a6c,this[_0x5af027(0x2e6)]=_0x4c2a60,this[_0x5af027(0x3b0)]=_0x418a50);}get[_0x58e4d7(0x364)](){const _0x1bed35=_0x58e4d7;return this[_0x1bed35(0x417)];}async[_0x58e4d7(0x474)](){const _0x4d9791=_0x58e4d7;if(this['state'])throw new Error(_0x4d9791(0x3c5));await this[_0x4d9791(0x499)]();}['pauseCollaboration'](){const _0x571543=_0x58e4d7;return this[_0x571543(0x244)]=!0x0,_0x3a9dfc(()=>{const _0x3dd69c=_0x571543;this['_collaborationPaused']=!0x1,this[_0x3dd69c(0x43d)]();});}[_0x58e4d7(0x125)](_0x418631){const _0x24c65e=_0x58e4d7;this[_0x24c65e(0x417)]=_0x418631,this['_state$'][_0x24c65e(0x389)](_0x418631);}async[_0x58e4d7(0x499)](){const _0x12cb34=_0x58e4d7;var _0x4c693f;this[_0x12cb34(0x125)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x4c693f=this['_singleActiveUnitService'])==null||_0x4c693f[_0x12cb34(0x1e0)](this[_0x12cb34(0x214)]),this[_0x12cb34(0x32a)](this['_singleActiveUnitService'][_0x12cb34(0x1c9)](this[_0x12cb34(0x214)])[_0x12cb34(0x2df)](_0x5604cb=>{const _0x38cc4f=_0x12cb34;this[_0x38cc4f(0x21d)][_0x38cc4f(0x2c8)]('[CollaborationEntity]',_0x38cc4f(0x232),_0x5604cb),_0x5604cb===Di[_0x38cc4f(0x16d)]?(this[_0x38cc4f(0x32e)][_0x38cc4f(0x25b)]({'content':this[_0x38cc4f(0x332)]['t'](_0x38cc4f(0x491)),'type':_0x2a6979[_0x38cc4f(0x102)]}),this['_permissionService'][_0x38cc4f(0x416)](new _0x46af2c(this[_0x38cc4f(0x214)])['id'],!0x1),this[_0x38cc4f(0x2e6)][_0x38cc4f(0x31d)](!0x1)):(this[_0x38cc4f(0x2e6)][_0x38cc4f(0x416)](new _0x46af2c(this[_0x38cc4f(0x214)])['id'],!0x0),this[_0x38cc4f(0x2e6)][_0x38cc4f(0x31d)](!0x0));})));let _0x49982e=!0x1;return this[_0x12cb34(0x32a)](this[_0x12cb34(0x3bc)][_0x12cb34(0x35d)][_0x12cb34(0x2df)](_0x5c20e7=>{const _0x222d7f=_0x12cb34;_0x5c20e7===ve[_0x222d7f(0x2be)]?this[_0x222d7f(0x3d4)](_0x49982e):_0x5c20e7===ve['OFFLINE']&&(_0x49982e=!0x0,this['_toggleOffline']());})),this[_0x12cb34(0x32a)](this['session'][_0x12cb34(0x206)][_0x12cb34(0x2df)](_0x2b8963=>{const _0xbeab77=_0x12cb34;try{switch(_0x2b8963['eventID']){case _0x2ffb5e[_0xbeab77(0x10d)]:{this[_0xbeab77(0x1a1)](_0x2bb00d(_0x2b8963[_0xbeab77(0x266)]));break;}case _0x2ffb5e['CHANGESET_ACK']:{this[_0xbeab77(0x4c8)](_0x2b8963['data']);break;}case _0x2ffb5e[_0xbeab77(0x4fd)]:{this[_0xbeab77(0x317)]();break;}case _0x2ffb5e['CHANGESET_SHOULD_RETRY']:{this[_0xbeab77(0x139)](_0x2b8963[_0xbeab77(0x266)]);break;}case _0x2ffb5e[_0xbeab77(0x506)]:{this['_onFetchMissResult'](_0x2b8963[_0xbeab77(0x266)][_0xbeab77(0x32f)][_0xbeab77(0x3eb)](_0x5d8d97=>_0x2bb00d(_0x5d8d97)));break;}case _0x2ffb5e[_0xbeab77(0x1c5)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x46bbdd){throw console[_0xbeab77(0x27b)](_0xbeab77(0x285),_0x46bbdd),_0x46bbdd;}})),this['_state'];}['_unlockTransition'](){const _0x5c9a1e=_0x58e4d7;this[_0x5c9a1e(0x43c)]=!0x1;}[_0x58e4d7(0x11e)](){const _0x3217f8=_0x58e4d7;if(this[_0x3217f8(0x43c)])throw new Error(_0x3217f8(0x414));this[_0x3217f8(0x43c)]=!0x0;}['_onLocalMutation'](_0x29cf50){const _0x247cce=_0x58e4d7;this[_0x247cce(0x11e)](),this[_0x247cce(0x125)](this[_0x247cce(0x417)][_0x247cce(0x3b7)](_0x29cf50)),this[_0x247cce(0x346)]();}[_0x58e4d7(0x1a1)](_0x84af55){const _0x254b87=_0x58e4d7;if(!(_0x84af55[_0x254b87(0x1f1)]<=this['_revisionService'][_0x254b87(0x447)](this[_0x254b87(0x214)]))){if(this[_0x254b87(0x244)]){this[_0x254b87(0x113)][_0x254b87(0x47e)](_0x84af55);return;}this[_0x254b87(0x490)](_0x84af55);}}[_0x58e4d7(0x43d)](){const _0x21ef4e=_0x58e4d7;this[_0x21ef4e(0x113)][_0x21ef4e(0x2ff)](_0xf8c892=>this[_0x21ef4e(0x490)](_0xf8c892)),this['_remoteChangesetQueue']=[];}[_0x58e4d7(0x490)](_0x251646){const _0x3f7d6d=_0x58e4d7,_0x49747a=this[_0x3f7d6d(0x23a)][_0x3f7d6d(0x3f3)][_0x3f7d6d(0x39f)](this[_0x3f7d6d(0x23a)]['interceptor'][_0x3f7d6d(0x320)]()[_0x3f7d6d(0x27c)])(_0x251646[_0x3f7d6d(0x2e8)],null)||_0x251646['mutations'],_0x5da4e4={..._0x251646,'mutations':_0x49747a};this[_0x3f7d6d(0x11e)](),this[_0x3f7d6d(0x125)](this[_0x3f7d6d(0x417)][_0x3f7d6d(0x205)](_0x5da4e4)),this['_unlockTransition']();}[_0x58e4d7(0x4c8)](_0x1ec04a){const _0x12714d=_0x58e4d7;this['_lockTransition'](),this['_updateState'](this['_state']['onRemoteAck'](_0x1ec04a)),this[_0x12714d(0x346)]();}[_0x58e4d7(0x317)](_0x3c8f62){const _0x3ec9e8=_0x58e4d7;this[_0x3ec9e8(0x11e)](),this[_0x3ec9e8(0x125)](this[_0x3ec9e8(0x417)][_0x3ec9e8(0x21f)](_0x3c8f62)),this[_0x3ec9e8(0x346)]();}[_0x58e4d7(0x139)](_0x39412c){const _0x1ecb16=_0x58e4d7;this[_0x1ecb16(0x11e)](),this[_0x1ecb16(0x125)](this[_0x1ecb16(0x417)][_0x1ecb16(0x297)](_0x39412c)),this[_0x1ecb16(0x346)]();}['_onFetchMissResult'](_0x3f5bb6){const _0x4837d6=_0x58e4d7;if(!(this[_0x4837d6(0x417)]instanceof he))throw new TypeError(_0x4837d6(0x4d2));const _0x4b7564=_0x3f5bb6['map'](_0x1f9522=>{const _0x62ad99=_0x4837d6,_0x210a0b=this[_0x62ad99(0x23a)][_0x62ad99(0x3f3)][_0x62ad99(0x39f)](this[_0x62ad99(0x23a)][_0x62ad99(0x3f3)][_0x62ad99(0x320)]()[_0x62ad99(0x27c)])(_0x1f9522[_0x62ad99(0x2e8)],null)||_0x1f9522[_0x62ad99(0x2e8)];return{..._0x1f9522,'mutations':_0x210a0b};});this[_0x4837d6(0x11e)](),this[_0x4837d6(0x125)](this[_0x4837d6(0x417)][_0x4837d6(0x1f2)](_0x4b7564)),this[_0x4837d6(0x346)]();}[_0x58e4d7(0x330)](){const _0x2c18d2=_0x58e4d7;this[_0x2c18d2(0x11e)](),this[_0x2c18d2(0x125)](this[_0x2c18d2(0x417)][_0x2c18d2(0x132)]()),this[_0x2c18d2(0x346)]();}[_0x58e4d7(0x3d4)](_0x51c9d9=!0x1){const _0x52c8cf=_0x58e4d7;this[_0x52c8cf(0x11e)](),this[_0x52c8cf(0x125)](this['_state'][_0x52c8cf(0x494)]()),this[_0x52c8cf(0x346)]();const _0x600f9e=this[_0x52c8cf(0x417)];_0x51c9d9&&_0x600f9e instanceof Fe&&(this['_lockTransition'](),this[_0x52c8cf(0x125)](_0x600f9e[_0x52c8cf(0x1f3)]()),this['_unlockTransition']());}async[_0x58e4d7(0x294)](){return new Promise(_0x49cb26=>{const _0x56ebe5=_0x4c2c;this[_0x56ebe5(0x3bc)]['sessionStatus$'][_0x56ebe5(0x324)](_0x41b9e6(0x1))[_0x56ebe5(0x2df)](async _0x352c23=>{_0x49cb26(await this['_createInitialStateImpl'](_0x352c23===ve['ONLINE']));});});}[_0x58e4d7(0x1ca)](){const _0x4f0c74=_0x58e4d7,_0x2dec72=this[_0x4f0c74(0x214)];return{'onStateChange':(_0x444344,_0x5c0d9e)=>{const _0xb5213f=_0x4f0c74;if(_0x444344!==this[_0xb5213f(0x417)])throw new Error(_0xb5213f(0x28c)+_0x444344['status']+_0xb5213f(0x2e9)+_0x5c0d9e[_0xb5213f(0x30e)]+_0xb5213f(0x327)+this[_0xb5213f(0x417)][_0xb5213f(0x30e)]);this[_0xb5213f(0x125)](_0x5c0d9e);},'onSendChangeset':_0x35e212=>{const _0xeaf6df=_0x4f0c74;_0x35e212[_0xeaf6df(0x257)]||(_0x35e212[_0xeaf6df(0x257)]=this[_0xeaf6df(0x360)],_0x35e212[_0xeaf6df(0x1db)]=++this[_0xeaf6df(0x4ef)]);const _0x5e504e={'eventID':_0x2ffb5e[_0xeaf6df(0x353)],'data':{'unitID':_0x35e212[_0xeaf6df(0x214)],'unitType':this[_0xeaf6df(0x2fe)],'changeset':_0x35e212,'memberID':this[_0xeaf6df(0x3bc)][_0xeaf6df(0x3e2)]()}};this['session'][_0xeaf6df(0x299)](_0x5e504e,this[_0xeaf6df(0x214)]);},'onMissingChangesets':({from:_0x2678f3,to:_0x3f9db9})=>{const _0x2865ab=_0x4f0c74;this[_0x2865ab(0x21d)][_0x2865ab(0x2c8)]('[CollaborationEntity]',_0x2865ab(0x180)+_0x2678f3+_0x2865ab(0x2e5)+_0x3f9db9);const _0x2fb693={'eventID':_0x2ffb5e[_0x2865ab(0x509)],'data':{'unitID':_0x2dec72,'unitType':this[_0x2865ab(0x2fe)],'from':_0x2678f3,'to':_0x3f9db9}};this[_0x2865ab(0x3bc)][_0x2865ab(0x299)](_0x2fb693,this[_0x2865ab(0x214)]);}};}async[_0x58e4d7(0x134)](_0xb84efe){const _0x47a419=_0x58e4d7;var _0x2e6239,_0x2dd60f;const _0x5bdfaa=await this[_0x47a419(0x4d7)][_0x47a419(0x208)](this['unitID']),_0x1e98aa=(_0x2e6239=_0x5bdfaa==null?void 0x0:_0x5bdfaa[_0x47a419(0x2e8)])!=null?_0x2e6239:[],_0x4272e0=(_0x2dd60f=_0x5bdfaa==null?void 0x0:_0x5bdfaa[_0x47a419(0x25a)])!=null?_0x2dd60f:null,_0x31b1db=!!(_0x4272e0!=null&&_0x4272e0[_0x47a419(0x257)])&&!!(_0x4272e0!=null&&_0x4272e0[_0x47a419(0x1db)]);this['_changesetSessionId']=_0x31b1db?_0x4272e0['sid']:Gr(),this[_0x47a419(0x4ef)]=_0x31b1db?_0x4272e0[_0x47a419(0x1db)]:0x0;const _0xe36d32=this[_0x47a419(0x214)];try{this[_0x47a419(0x37b)](_0x4272e0,_0x1e98aa);}catch(_0xefa3c0){this[_0x47a419(0x21d)][_0x47a419(0x27b)](_0xefa3c0);}const _0x80058d=this[_0x47a419(0x1ca)]();if(_0xb84efe){const _0x21eb1c=Ai(this['_injector'],_0xe36d32,this[_0x47a419(0x2fe)],_0x4272e0,_0x1e98aa,_0x80058d);return _0x21eb1c instanceof pe?_0x21eb1c[_0x47a419(0x4af)]():(_0x21eb1c instanceof ge||_0x21eb1c instanceof Te)&&_0x21eb1c[_0x47a419(0x307)](),_0x21eb1c;}return this[_0x47a419(0x405)][_0x47a419(0x4c3)](ye,_0xe36d32,this['_type'],_0x4272e0,_0x1e98aa,_0x80058d);}[_0x58e4d7(0x37b)](_0x5e7afe,_0x404993){const _0x3a807c=_0x58e4d7;var _0x4b7214,_0xd99bb8;const _0x273cf0=this[_0x3a807c(0x23a)][_0x3a807c(0x3f3)]['fetchThroughInterceptors'](this[_0x3a807c(0x23a)][_0x3a807c(0x3f3)][_0x3a807c(0x320)]()[_0x3a807c(0x27c)]);(_0x4b7214=_0x273cf0((_0x5e7afe==null?void 0x0:_0x5e7afe[_0x3a807c(0x2e8)])||[],null))==null||_0x4b7214[_0x3a807c(0x2ff)](_0x3d7826=>this['_commandService'][_0x3a807c(0x4aa)](_0x3d7826['id'],_0x3d7826['params'])),(_0xd99bb8=_0x273cf0(_0x404993||[],null))==null||_0xd99bb8['forEach'](_0x137c84=>this[_0x3a807c(0x19f)][_0x3a807c(0x4aa)](_0x137c84['id'],_0x137c84[_0x3a807c(0x231)]));}};St=Es([H(0x3,_0x22f9f7(_0x1dc773)),H(0x4,_0x22f9f7(q)),H(0x5,_0x22f9f7(_0x411534)),H(0x6,_0x22f9f7(_0x1c0183)),H(0x7,_0x22f9f7(_0xd58166)),H(0x8,_0x1bae21),H(0x9,_0x13cabf),H(0xa,_0x5138eb),H(0xb,_0xd7cfff),H(0xc,_0x48a9ef(yt))],St);let ss=class extends St{constructor(_0x1900cb,_0x3e72ea,_0x4a2f0c,_0x5f587e,_0x33c77c,_0x3a09bc,_0x4dff6e,_0x249592,_0x5c8ff3,_0x550b20,_0x4094a0,_0x31a307,_0x557a89,_0x21b5c1,_0x9d0e68,_0x5356c9,_0x353cb8,_0x383fd9){const _0x38593e=_0x58e4d7;super(_0x1900cb,_0x4a2f0c,_0x3e72ea,_0x5f587e,_0x33c77c,_0x3a09bc,_0x4dff6e,_0x249592,_0x21b5c1,_0x9d0e68,_0x5356c9,_0x353cb8,_0x383fd9),this[_0x38593e(0x214)]=_0x1900cb,this[_0x38593e(0x1be)]=_0x3e72ea,this[_0x38593e(0x477)]=_0x5c8ff3,this[_0x38593e(0x44c)]=_0x550b20,this[_0x38593e(0x247)]=_0x4094a0,this[_0x38593e(0x1a0)]=_0x31a307,this[_0x38593e(0x329)]=_0x557a89;}[_0x58e4d7(0x1ca)](){const _0x2b8abb=_0x58e4d7,_0x2d63a4=super[_0x2b8abb(0x1ca)]();return _0x2d63a4[_0x2b8abb(0x2a7)]=_0x2b78c3=>this[_0x2b8abb(0x44c)][_0x2b8abb(0x222)](_0x2b78c3),_0x2d63a4['onTransformState']=_0x284418=>this['_docTransformStateCacheService'][_0x2b8abb(0x301)](_0x284418),_0x2d63a4['onTransformSelections']=_0x8e5908=>this[_0x2b8abb(0x1a0)][_0x2b8abb(0x27d)](_0x8e5908),_0x2d63a4['onSyncEditingCollabCursor']=_0x55df41=>this[_0x2b8abb(0x329)][_0x2b8abb(0x4f7)](_0x55df41),_0x2d63a4[_0x2b8abb(0x1e9)]=_0xe62d14=>this[_0x2b8abb(0x44c)]['transformRemoteChangeset'](_0xe62d14),_0x2d63a4['onTransformRemoteChangesetByStateCache']=_0x53b472=>this['_docTransformStateCacheService'][_0x2b8abb(0x3d8)](_0x53b472),_0x2d63a4;}async[_0x58e4d7(0x499)](){const _0x587630=_0x58e4d7,_0x356691=await super['_init']();return this[_0x587630(0x477)][_0x587630(0x249)][_0x587630(0x324)](_0x4bde19(this[_0x587630(0x3ff)]))[_0x587630(0x2df)](_0x9b5735=>{const _0x5ae92a=_0x587630;if(_0x9b5735==null)return;const {unitId:_0x2a2dbd,redoState:_0x6a37e0,commandId:_0x5b02b5}=_0x9b5735;if(_0x2a2dbd!==this['unitID'])return;const _0x2f8d97={'id':_0x5b02b5,'type':_0x4a933d[_0x5ae92a(0x1a8)],'params':{'unitId':_0x2a2dbd,'actions':_0x6a37e0[_0x5ae92a(0x4e1)],'textRanges':null}};this[_0x5ae92a(0x4e4)](_0x2f8d97);}),_0x356691;}};ss=Es([H(0x3,_0x22f9f7(_0x1dc773)),H(0x4,_0x22f9f7(q)),H(0x5,_0x22f9f7(_0x411534)),H(0x6,_0x22f9f7(_0x1c0183)),H(0x7,_0x22f9f7(_0xd58166)),H(0x8,_0x22f9f7(_0x54726c)),H(0x9,_0x22f9f7(vt)),H(0xa,_0x22f9f7(pt)),H(0xb,_0x22f9f7(gt)),H(0xc,_0x22f9f7(Cs)),H(0xd,_0x1bae21),H(0xe,_0x13cabf),H(0xf,_0x5138eb),H(0x10,_0xd7cfff),H(0x11,_0x48a9ef(yt))],ss);let is=class extends St{constructor(_0x255b42,_0x1d21af,_0x37a3f1,_0x553269,_0x50a314,_0xf12d16,_0x41f8ab,_0xeebfb8,_0x2d1fe8,_0x1bd4b,_0x342081,_0x457eaf,_0x4050cd,_0x272035){const _0x445ac3=_0x58e4d7;super(_0x255b42,_0x37a3f1,_0x1d21af,_0x553269,_0x50a314,_0xf12d16,_0x41f8ab,_0xeebfb8,_0x1bd4b,_0x342081,_0x457eaf,_0x4050cd,_0x272035),this[_0x445ac3(0x214)]=_0x255b42,this[_0x445ac3(0x1be)]=_0x1d21af,this[_0x445ac3(0x1bf)]=_0x2d1fe8;}['_createHandler'](){const _0x198b54=_0x58e4d7,_0x173b70=super[_0x198b54(0x1ca)]();return _0x173b70[_0x198b54(0x265)]=_0x2d8723=>this[_0x198b54(0x1bf)][_0x198b54(0x27d)](_0x2d8723),_0x173b70;}async[_0x58e4d7(0x499)](){const _0x2d8bb7=_0x58e4d7,_0x475d44=await super[_0x2d8bb7(0x499)]();return this['disposeWithMe'](this[_0x2d8bb7(0x19f)][_0x2d8bb7(0x366)]((_0x14e312,_0x15e08e)=>{const _0x3ecf4a=_0x2d8bb7;if(_0x14e312[_0x3ecf4a(0x1be)]!==_0x4a933d['MUTATION']||_0x15e08e!=null&&_0x15e08e[_0x3ecf4a(0x2bd)]||_0x15e08e!=null&&_0x15e08e[_0x3ecf4a(0x16f)])return;const _0x18944f=_0x14e312[_0x3ecf4a(0x231)];if((_0x18944f==null?void 0x0:_0x18944f['unitId'])!==this[_0x3ecf4a(0x214)])return;const _0xa8bcfd=_0x14e312,_0x34c70f=this[_0x3ecf4a(0x23a)][_0x3ecf4a(0x3f3)][_0x3ecf4a(0x39f)](this[_0x3ecf4a(0x23a)]['interceptor'][_0x3ecf4a(0x320)]()[_0x3ecf4a(0x4bd)])([_0xa8bcfd],null)||[_0xa8bcfd];this['_onLocalMutation'](_0x34c70f[0x0]);})),_0x475d44;}};is=Es([H(0x3,_0x22f9f7(_0x1dc773)),H(0x4,_0x22f9f7(q)),H(0x5,_0x22f9f7(_0x411534)),H(0x6,_0x22f9f7(_0x1c0183)),H(0x7,_0x22f9f7(_0xd58166)),H(0x8,_0x22f9f7(mt)),H(0x9,_0x1bae21),H(0xa,_0x13cabf),H(0xb,_0x5138eb),H(0xc,_0xd7cfff),H(0xd,_0x48a9ef(yt))],is);var go=Object[_0x58e4d7(0x367)],So=Object[_0x58e4d7(0x1ba)],Io=(_0x27ed65,_0x48966e,_0x2d0885,_0x3360b5)=>{for(var _0x25d11c=_0x3360b5>0x1?void 0x0:_0x3360b5?So(_0x48966e,_0x2d0885):_0x48966e,_0x216942=_0x27ed65['length']-0x1,_0x197de9;_0x216942>=0x0;_0x216942--)(_0x197de9=_0x27ed65[_0x216942])&&(_0x25d11c=(_0x3360b5?_0x197de9(_0x48966e,_0x2d0885,_0x25d11c):_0x197de9(_0x25d11c))||_0x25d11c);return _0x3360b5&&_0x25d11c&&go(_0x48966e,_0x2d0885,_0x25d11c),_0x25d11c;},Lt=(_0x37fb93,_0x4c45bc)=>(_0x123a92,_0xd228e2)=>_0x4c45bc(_0x123a92,_0xd228e2,_0x37fb93);let it=class extends _0x574fb2{constructor(_0x595e45,_0x5859a8,_0x5bbfaa){const _0x2d146f=_0x58e4d7;super(),g(this,'_entities',new Map()),g(this,'_entityInit$',new _0x5f4b37()),(this[_0x2d146f(0x405)]=_0x595e45,this[_0x2d146f(0x227)]=_0x5859a8,this['_univerInstanceService']=_0x5bbfaa,this['_init']());}['dispose'](){const _0x23b960=_0x58e4d7;super['dispose'](),this[_0x23b960(0x3a9)]['forEach'](_0x1e93fb=>_0x1e93fb['dispose']()),this['_entities'][_0x23b960(0x470)]();}['getCollabEntity'](_0x14fd0a){const _0x134b2a=_0x58e4d7;var _0x507045;return(_0x507045=this['_entities'][_0x134b2a(0x3d3)](_0x14fd0a))!=null?_0x507045:null;}[_0x58e4d7(0x445)](_0x24e6b5){const _0x573466=_0x58e4d7,_0x221811=this[_0x573466(0x34f)](_0x24e6b5);return _0x221811?_0x5bce18(_0x221811):this[_0x573466(0x1b5)][_0x573466(0x324)](_0x203051(_0x1f437a=>_0x1f437a[_0x573466(0x214)]===_0x24e6b5));}[_0x58e4d7(0x499)](){const _0x4a9246=_0x58e4d7;this['_univerInstanceService'][_0x4a9246(0x168)](_0x11ab9a[_0x4a9246(0x15c)])[_0x4a9246(0x324)](_0x4bde19(this[_0x4a9246(0x3ff)]),_0x13beb5(0x10))[_0x4a9246(0x2df)](async _0x2e3a29=>{const _0x222b40=_0x4a9246,_0x3d4499=_0x2e3a29['getUnitId'](),_0x53e98e=await this[_0x222b40(0x200)](_0x3d4499,ce[_0x222b40(0x15c)]);this[_0x222b40(0x3a9)]['set'](_0x3d4499,_0x53e98e);}),this[_0x4a9246(0x3c3)]['getTypeOfUnitAdded$'](_0x11ab9a['UNIVER_DOC'])[_0x4a9246(0x324)](_0x4bde19(this[_0x4a9246(0x3ff)]),_0x13beb5(0x10))[_0x4a9246(0x324)](_0x203051(_0x8857c5=>!_0x8857c5[_0x4a9246(0x2c5)]()[_0x4a9246(0x415)]('__')))[_0x4a9246(0x2df)](async _0x2d7a77=>{const _0x38030f=_0x4a9246,_0x507e4a=_0x2d7a77[_0x38030f(0x2c5)](),_0x39d469=await this[_0x38030f(0x200)](_0x507e4a,ce[_0x38030f(0x1a7)]);this['_entities']['set'](_0x507e4a,_0x39d469);}),_0x27d309(this[_0x4a9246(0x3c3)][_0x4a9246(0x3ce)](_0x11ab9a[_0x4a9246(0x15c)]),this[_0x4a9246(0x3c3)]['getTypeOfUnitDisposed$'](_0x11ab9a['UNIVER_DOC']))[_0x4a9246(0x324)](_0x4bde19(this['dispose$']))[_0x4a9246(0x2df)](_0x39db2f=>{const _0x3e279f=_0x4a9246,_0x1bb985=_0x39db2f[_0x3e279f(0x2c5)](),_0x3e608b=this['_entities'][_0x3e279f(0x3d3)](_0x1bb985);_0x3e608b&&(_0x3e608b[_0x3e279f(0x41e)](),this[_0x3e279f(0x3a9)]['delete'](_0x1bb985));});}async[_0x58e4d7(0x200)](_0x58e398,_0x164eab){const _0x4e2879=_0x58e4d7,_0x3d3139=await this['_collabSessionService']['requireSession'](_0x58e398),_0x2eda97=this['_injector'][_0x4e2879(0x4c3)](this[_0x4e2879(0x3b8)](_0x164eab),_0x58e398,_0x164eab,_0x3d3139);return await _0x2eda97[_0x4e2879(0x474)](),this[_0x4e2879(0x1b5)]['next'](_0x2eda97),_0x2eda97;}['_getCtorByUniverType'](_0x1d2c1f){const _0x4997bd=_0x58e4d7;switch(_0x1d2c1f){case ce[_0x4997bd(0x1a7)]:return ss;case ce[_0x4997bd(0x15c)]:return is;default:throw new Error(_0x4997bd(0x4c7)+_0x1d2c1f);}}};it=Io([Lt(0x0,_0x22f9f7(_0x1dc773)),Lt(0x1,_0x22f9f7(Ae)),Lt(0x2,_0x17eff3)],it);const Gs=[_0x58e4d7(0x466),_0x58e4d7(0x29c),_0x58e4d7(0x288),_0x58e4d7(0x469),_0x58e4d7(0x137),_0x58e4d7(0x263)];class bs extends _0x24c9bf{constructor(){const _0xde8244=_0x58e4d7;super(...arguments),g(this,_0xde8244(0x4d4),new Map()),g(this,_0xde8244(0x2a8),0x0);}[_0x58e4d7(0x1b4)](_0x595dae){const _0xbb7615=_0x58e4d7;if(this['_assignedColors'][_0xbb7615(0x209)](_0x595dae))return this[_0xbb7615(0x4d4)]['get'](_0x595dae);const _0x532c40=Gs[this[_0xbb7615(0x2a8)]];return this[_0xbb7615(0x2a8)]=(this[_0xbb7615(0x2a8)]+0x1)%Gs[_0xbb7615(0x418)],this['_assignedColors'][_0xbb7615(0x372)](_0x595dae,_0x532c40),_0x532c40;}}var Co=Object[_0x58e4d7(0x367)],Eo=Object[_0x58e4d7(0x1ba)],bo=(_0x123c25,_0x55b267,_0x582ed2,_0x1e8679)=>{const _0x4df694=_0x58e4d7;for(var _0x35839d=_0x1e8679>0x1?void 0x0:_0x1e8679?Eo(_0x55b267,_0x582ed2):_0x55b267,_0x1c04e4=_0x123c25[_0x4df694(0x418)]-0x1,_0x172002;_0x1c04e4>=0x0;_0x1c04e4--)(_0x172002=_0x123c25[_0x1c04e4])&&(_0x35839d=(_0x1e8679?_0x172002(_0x55b267,_0x582ed2,_0x35839d):_0x172002(_0x35839d))||_0x35839d);return _0x1e8679&&_0x35839d&&Co(_0x55b267,_0x582ed2,_0x35839d),_0x35839d;},Oe=(_0x5c8ba7,_0x51876d)=>(_0x30d887,_0x2cf460)=>_0x51876d(_0x30d887,_0x2cf460,_0x5c8ba7);const To=0x12c,Ro=0x64;let ns=class extends _0x574fb2{constructor(_0x3df9b2,_0x2c47a4,_0x1d5e49,_0x9e8be5,_0x503adc,_0x282ca9,_0x460526,_0x42d883,_0xa2cef1){const _0x4f12d2=_0x58e4d7;super(),g(this,_0x4f12d2(0x1f5),!0x1),g(this,_0x4f12d2(0x499),!0x1),g(this,_0x4f12d2(0x4d6),new _0x25a07b(new Map())),g(this,_0x4f12d2(0x133),this[_0x4f12d2(0x4d6)][_0x4f12d2(0x4fe)]()),g(this,_0x4f12d2(0x101),new _0x25a07b([])),g(this,_0x4f12d2(0x458),this[_0x4f12d2(0x101)]['pipe'](_0xf47835(To))),g(this,_0x4f12d2(0x2f6),_0x1ed51a(_0x21cc0b=>{const _0x771dd=_0x4f12d2,_0x5eb86e={'eventID':_0x2ffb5e['UPDATE_CURSOR'],'data':{'unitID':this[_0x771dd(0x214)],'memberID':this[_0x771dd(0x126)]['getMemberID'](),'selection':Pi(_0x21cc0b)}};this[_0x771dd(0x126)][_0x771dd(0x299)](_0x5eb86e,this[_0x771dd(0x214)]);},Ro)),(this['unitID']=_0x3df9b2,this['_session']=_0x2c47a4,this['_injector']=_0x1d5e49,this[_0x4f12d2(0x2aa)]=_0x9e8be5,this[_0x4f12d2(0x2db)]=_0x503adc,this['_syncEditingCollabCursorService']=_0x282ca9,this[_0x4f12d2(0x4bf)]=_0x460526,this[_0x4f12d2(0x3c3)]=_0x42d883,this[_0x4f12d2(0x19f)]=_0xa2cef1);}get['cursorInfo'](){const _0x2996b8=_0x58e4d7;return this[_0x2996b8(0x4d6)][_0x2996b8(0x4a7)]();}get[_0x58e4d7(0x39d)](){const _0x4d4c4d=_0x58e4d7;return this[_0x4d4c4d(0x101)][_0x4d4c4d(0x4a7)]();}['dispose'](){const _0x51242f=_0x58e4d7;super[_0x51242f(0x41e)](),this[_0x51242f(0x4d6)][_0x51242f(0x389)](new Map()),this[_0x51242f(0x4d6)][_0x51242f(0x2ec)](),this[_0x51242f(0x101)][_0x51242f(0x389)]([]),this[_0x51242f(0x101)][_0x51242f(0x2ec)]();}[_0x58e4d7(0x474)](){const _0x1ac2c2=_0x58e4d7;this[_0x1ac2c2(0x499)]||(this['_init']=!0x0,this[_0x1ac2c2(0x126)][_0x1ac2c2(0x35d)][_0x1ac2c2(0x324)](_0x4bde19(this[_0x1ac2c2(0x3ff)]))['subscribe'](_0x5d9d6c=>{const _0x32c2af=_0x1ac2c2;_0x5d9d6c===ve['ONLINE']?this[_0x32c2af(0x3d4)]():this[_0x32c2af(0x330)]();}),this[_0x1ac2c2(0x126)]['event$'][_0x1ac2c2(0x324)](_0x4bde19(this[_0x1ac2c2(0x3ff)]))['subscribe'](_0x523bcf=>{const _0x1432a3=_0x1ac2c2,_0x3bad44=_0x523bcf[_0x1432a3(0x1ec)];_0x3bad44===_0x2ffb5e[_0x1432a3(0x138)]&&this[_0x1432a3(0x38c)](_0x523bcf),_0x3bad44===_0x2ffb5e['USERS_LEAVE']&&this[_0x1432a3(0x483)](_0x523bcf);}),this[_0x1ac2c2(0x32a)](this[_0x1ac2c2(0x19f)]['onCommandExecuted'](_0xff4cd1=>{const _0xd15887=_0x1ac2c2,_0x3f2f12=_0xff4cd1[_0xd15887(0x231)];_0x3f2f12!=null&&this['_online']&&_0xff4cd1['id']===_0x5db4c9['id']&&_0x3f2f12['unitId']===this[_0xd15887(0x214)]&&_0x3f2f12['isEditing']===!0x1&&_0x3f2f12[_0xd15887(0x44d)][_0xd15887(0x418)]>0x0&&this[_0xd15887(0x2f6)](_0x3f2f12['ranges']);})),this[_0x1ac2c2(0x2e0)]['collabCursorState$'][_0x1ac2c2(0x324)](_0x4bde19(this[_0x1ac2c2(0x3ff)]))[_0x1ac2c2(0x2df)](_0x138f00=>{const _0x425913=_0x1ac2c2;if((_0x138f00==null?void 0x0:_0x138f00[_0x425913(0x214)])!==this[_0x425913(0x214)])return;const _0x3b87e6={'eventID':_0x2ffb5e[_0x425913(0x138)],'data':_0x138f00};this['_onCursorUpdate'](_0x3b87e6);}),this[_0x1ac2c2(0x32a)](this['_commandService'][_0x1ac2c2(0x366)](_0x24f5f3=>{const _0x46fa20=_0x1ac2c2;if(_0x24f5f3[_0x46fa20(0x231)]==null)return;const _0x388d33=_0x24f5f3[_0x46fa20(0x231)];if(_0x24f5f3['id']!==_0x325650['id']||_0x388d33[_0x46fa20(0x1a6)]!==this[_0x46fa20(0x214)])return;const _0x13d511={'id':_0x46fa20(0x4b0),'params':_0x388d33},_0x29141d=this[_0x46fa20(0x111)];for(const [_0x1a0b65,_0x32ec1b]of _0x29141d){const _0x3e1114={'id':_0x46fa20(0x4b0),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x32ec1b[_0x46fa20(0x44d)]}},_0x1348aa=this[_0x46fa20(0x4bf)][_0x46fa20(0x397)](_0x13d511,_0x3e1114,!0x1);if(_0x23f0a4(_0x1348aa))throw _0x1348aa[_0x46fa20(0x27b)];_0x29141d['set'](_0x1a0b65,{..._0x32ec1b,'ranges':_0x1348aa['m2Prime'][_0x46fa20(0x231)]['textRanges']});}queueMicrotask(()=>{const _0xccd0c8=_0x46fa20;this[_0xccd0c8(0x4d6)][_0xccd0c8(0x389)](_0x29141d);});})));}[_0x58e4d7(0x38c)](_0x4e2008){const _0x1b0729=_0x58e4d7;var _0x7b8db9,_0x385da2;const {memberID:_0x4f59ce,selection:_0x15ea10}=_0x4e2008['data'],_0x1d9ccc=oo(_0x15ea10),_0x257aa8=(_0x385da2=(_0x7b8db9=this[_0x1b0729(0x2db)][_0x1b0729(0x135)](this[_0x1b0729(0x214)],_0x4f59ce))==null?void 0x0:_0x7b8db9[_0x1b0729(0x164)])!=null?_0x385da2:_0x1b0729(0x3f8),_0x872fa4={'color':this[_0x1b0729(0x2aa)][_0x1b0729(0x1b4)](_0x4f59ce),'name':_0x257aa8,'ranges':_0x1d9ccc},_0x48be52=this[_0x1b0729(0x111)];_0x48be52[_0x1b0729(0x372)](_0x4f59ce,_0x872fa4),this['_cursorInfo$'][_0x1b0729(0x389)](_0x48be52);}[_0x58e4d7(0x483)](_0x1c24ff){const _0x20938c=_0x58e4d7,{memberID:_0x45d78f}=_0x1c24ff[_0x20938c(0x266)],_0x30f185=this[_0x20938c(0x111)];_0x30f185[_0x20938c(0xfe)](_0x45d78f),this[_0x20938c(0x4d6)]['next'](_0x30f185);}[_0x58e4d7(0x3d4)](){const _0x195fc5=_0x58e4d7;var _0x1e8f44;if(this[_0x195fc5(0x1f5)]=!0x0,((_0x1e8f44=this[_0x195fc5(0x3c3)][_0x195fc5(0x49b)]())==null?void 0x0:_0x1e8f44['getUnitId']())!==this['unitID'])return;const _0x2668ad=this[_0x195fc5(0x405)]['get'](_0x12074f)[_0x195fc5(0x123)]();Array[_0x195fc5(0x444)](_0x2668ad)&&_0x2668ad['length']>0x0&&this[_0x195fc5(0x2f6)](_0x2668ad);}[_0x58e4d7(0x330)](){this['_online']=!0x1;}};ns=bo([Oe(0x2,_0x22f9f7(_0x1dc773)),Oe(0x3,_0x22f9f7(bs)),Oe(0x4,_0x22f9f7(Ne)),Oe(0x5,_0x22f9f7(Cs)),Oe(0x6,_0x3c62f1),Oe(0x7,_0x17eff3),Oe(0x8,_0x13cabf)],ns);var yo=Object[_0x58e4d7(0x367)],Oo=Object[_0x58e4d7(0x1ba)],wo=(_0x5c2059,_0x144391,_0x1e51f8,_0x53f41f)=>{const _0x623f8e=_0x58e4d7;for(var _0x436945=_0x53f41f>0x1?void 0x0:_0x53f41f?Oo(_0x144391,_0x1e51f8):_0x144391,_0x959f55=_0x5c2059[_0x623f8e(0x418)]-0x1,_0x574a7f;_0x959f55>=0x0;_0x959f55--)(_0x574a7f=_0x5c2059[_0x959f55])&&(_0x436945=(_0x53f41f?_0x574a7f(_0x144391,_0x1e51f8,_0x436945):_0x574a7f(_0x436945))||_0x436945);return _0x53f41f&&_0x436945&&yo(_0x144391,_0x1e51f8,_0x436945),_0x436945;},Be=(_0x4e182f,_0x5ef85a)=>(_0x238957,_0x24b3cb)=>_0x5ef85a(_0x238957,_0x24b3cb,_0x4e182f);const Do=0x12c,Po=0x64,Uo=()=>{let _0x2fe2a9=[],_0x1e09e8=!0x1;return _0x174913=>{const _0x38cbc3=_0x4c2c;_0x2fe2a9[_0x38cbc3(0x47e)](_0x174913),_0x1e09e8||(_0x1e09e8=!0x0,setTimeout(()=>{const _0x346fca=_0x38cbc3;_0x2fe2a9[_0x346fca(0x2ff)](_0x3cd3a2=>_0x3cd3a2()),_0x2fe2a9=[],_0x1e09e8=!0x1;}));};};let rs=class extends _0x574fb2{constructor(_0x18961e,_0x138e78,_0x803de0,_0x4176f3,_0x49b08c,_0x2cf192,_0x51d7e3,_0x22161a){const _0x443da0=_0x58e4d7;super(),g(this,'_online',!0x1),g(this,_0x443da0(0x499),!0x1),g(this,'_cursorInfo$',new _0x25a07b(new Map())),g(this,_0x443da0(0x133),this[_0x443da0(0x4d6)][_0x443da0(0x4fe)]()),g(this,'_roomMembers$',new _0x25a07b([])),g(this,_0x443da0(0x458),this[_0x443da0(0x101)][_0x443da0(0x324)](_0xf47835(Do))),g(this,'_updateLocalCursor',_0x1ed51a((_0x13c27d,_0x47b6dc)=>{const _0xe030aa=_0x443da0,_0x21e04e={'eventID':_0x2ffb5e[_0xe030aa(0x138)],'data':{'unitID':this['unitID'],'memberID':this[_0xe030aa(0x126)][_0xe030aa(0x3e2)](),'selection':_0x5492b4(_0x13c27d,_0x47b6dc[_0xe030aa(0x408)])}};this[_0xe030aa(0x126)][_0xe030aa(0x299)](_0x21e04e,this[_0xe030aa(0x214)]);},Po)),(this[_0x443da0(0x214)]=_0x18961e,this[_0x443da0(0x126)]=_0x138e78,this[_0x443da0(0x405)]=_0x803de0,this[_0x443da0(0x2aa)]=_0x4176f3,this[_0x443da0(0x2db)]=_0x49b08c,this[_0x443da0(0x3c3)]=_0x2cf192,this[_0x443da0(0x19f)]=_0x51d7e3,this[_0x443da0(0x328)]=_0x22161a);}get['cursorInfo'](){const _0x5d7344=_0x58e4d7;return this[_0x5d7344(0x4d6)][_0x5d7344(0x4a7)]();}get[_0x58e4d7(0x39d)](){const _0x65898d=_0x58e4d7;return this[_0x65898d(0x101)][_0x65898d(0x4a7)]();}[_0x58e4d7(0x41e)](){const _0x181fca=_0x58e4d7;super[_0x181fca(0x41e)](),this[_0x181fca(0x4d6)][_0x181fca(0x389)](new Map()),this[_0x181fca(0x4d6)]['complete'](),this[_0x181fca(0x101)]['next']([]),this['_roomMembers$']['complete']();}['init'](){const _0x249a99=_0x58e4d7;this[_0x249a99(0x499)]||(this[_0x249a99(0x499)]=!0x0,this[_0x249a99(0x126)][_0x249a99(0x35d)][_0x249a99(0x324)](_0x4bde19(this['dispose$']))[_0x249a99(0x2df)](_0x1bedf2=>{const _0xc0f21a=_0x249a99;_0x1bedf2===ve[_0xc0f21a(0x2be)]?this[_0xc0f21a(0x3d4)]():this[_0xc0f21a(0x330)]();}),this['_session']['event$'][_0x249a99(0x324)](_0x4bde19(this[_0x249a99(0x3ff)]))[_0x249a99(0x2df)](_0x528fd2=>{const _0x22973c=_0x249a99,_0x2d4e4d=_0x528fd2[_0x22973c(0x1ec)];_0x2d4e4d===_0x2ffb5e[_0x22973c(0x138)]&&this[_0x22973c(0x38c)](_0x528fd2),_0x2d4e4d===_0x2ffb5e[_0x22973c(0x13a)]&&this[_0x22973c(0x483)](_0x528fd2);}),this[_0x249a99(0x286)](),this[_0x249a99(0x32a)](this['_commandService'][_0x249a99(0x366)](_0x5ee7a2=>{const _0x499edf=_0x249a99;if(this[_0x499edf(0x1f5)]&&_0x5ee7a2['id']===_0x519bd9['id']&&_0x5ee7a2['params'][_0x499edf(0x1a6)]===this[_0x499edf(0x214)]){const _0x5a8e78=_0x5ee7a2[_0x499edf(0x231)];this[_0x499edf(0x2f6)](_0x5a8e78[_0x499edf(0x191)],_0x5a8e78[_0x499edf(0x4a2)][0x0]);}})));}['_onCursorUpdate'](_0xee1bc7){const _0x18ea61=_0x58e4d7;var _0x53c284,_0x261b47;const {memberID:_0x1d851c,selection:_0x924a94}=_0xee1bc7[_0x18ea61(0x266)],{sheetName:_0xb58d94,range:_0x216101}=_0xfa0e91(_0x924a94),_0x1c6ffd={'name':(_0x261b47=(_0x53c284=this[_0x18ea61(0x2db)][_0x18ea61(0x135)](this['unitID'],_0x1d851c))==null?void 0x0:_0x53c284[_0x18ea61(0x164)])!=null?_0x261b47:'Unknown\x20user','range':this[_0x18ea61(0x481)](_0xb58d94,_0x216101),'sheetID':_0xb58d94,'color':this['_colorAssignService'][_0x18ea61(0x1b4)](_0x1d851c),'selection':_0x924a94},_0x15883a=this['cursorInfo'];_0x15883a['set'](_0x1d851c,_0x1c6ffd),this[_0x18ea61(0x4d6)][_0x18ea61(0x389)](_0x15883a);}[_0x58e4d7(0x483)](_0x6d2a93){const _0x34b99e=_0x58e4d7,{memberID:_0x245f99}=_0x6d2a93[_0x34b99e(0x266)],_0x4becbd=this['cursorInfo'];_0x4becbd[_0x34b99e(0xfe)](_0x245f99),this[_0x34b99e(0x4d6)]['next'](_0x4becbd);}['_getMergeRange'](_0x3c89ea,_0x3252a8){const _0x2fac5e=_0x58e4d7;var _0x1dd0fc,_0xb7a8e8;const _0x4b2644=(_0xb7a8e8=(_0x1dd0fc=this[_0x2fac5e(0x3c3)][_0x2fac5e(0x4e5)](this[_0x2fac5e(0x214)]))==null?void 0x0:_0x1dd0fc[_0x2fac5e(0x3b2)](_0x3c89ea))==null?void 0x0:_0xb7a8e8[_0x2fac5e(0x11a)]();return(_0x4b2644==null?void 0x0:_0x4b2644[_0x2fac5e(0x386)](_0x5c0f4e=>_0xc6c16d[_0x2fac5e(0x129)](_0x5c0f4e,_0x3252a8)))||_0x3252a8;}[_0x58e4d7(0x286)](){const _0x120ba1=_0x58e4d7,_0x569fef=new _0x195863(),_0x10ac14=Uo(),_0x35c560=()=>{const _0x29dae6=_0x4c2c;_0x569fef['dispose']();const _0x3c1257=(_0x5842b0,_0x219857,_0x1c658d,_0x4cd2a9)=>{const _0xe48532=_0x4c2c;let _0x594bcb=[];switch(_0x5842b0['id']){case _0x3aa49a[_0xe48532(0x480)]:{_0x594bcb=_0x408661(_0x5842b0,_0x4cd2a9);break;}case _0x3aa49a['DeleteRangeMoveUpCommandId']:{_0x594bcb=_0x83427a(_0x5842b0,_0x4cd2a9);break;}case _0x3aa49a['InsertColCommandId']:{_0x594bcb=_0x4c3951(_0x5842b0,_0x4cd2a9);break;}case _0x3aa49a[_0xe48532(0x1cb)]:{_0x594bcb=_0x4cb2ad(_0x5842b0,_0x4cd2a9);break;}case _0x3aa49a[_0xe48532(0x272)]:{_0x594bcb=_0x26280b(_0x5842b0,_0x4cd2a9);break;}case _0x3aa49a[_0xe48532(0x2ca)]:{_0x594bcb=_0x276f3d(_0x5842b0,_0x4cd2a9);break;}case _0x3aa49a[_0xe48532(0x13c)]:{_0x594bcb=_0x5f5422(_0x5842b0,_0x4cd2a9);break;}case _0x3aa49a['RemoveColCommandId']:{_0x594bcb=_0x41f662(_0x5842b0,_0x4cd2a9);break;}case _0x3aa49a['RemoveRowCommandId']:{_0x594bcb=_0x536513(_0x5842b0,_0x4cd2a9);break;}}const _0x1d6140=_0x4f788a(_0x594bcb,_0x4cd2a9),_0x17d64a=this[_0xe48532(0x111)][_0xe48532(0x3d3)](_0x219857);if(_0x17d64a&&_0x1d6140){const _0x4766e2={..._0x17d64a,'range':_0x1d6140};this[_0xe48532(0x111)][_0xe48532(0x372)](_0x219857,_0x4766e2),_0x10ac14(()=>{const _0x2b4644=_0xe48532,_0x96bf7f=this[_0x2b4644(0x328)][_0x2b4644(0x359)](_0x1d6140,_0x22c324=>(_0x96bf7f['dispose'](),_0x3c1257(_0x22c324,_0x219857,_0x1c658d,_0x1d6140)));_0x569fef[_0x2b4644(0x246)](_0x96bf7f);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x29dae6(0x2ff)]((_0x50cc99,_0x439d3b)=>{const _0x45cd6f=_0x29dae6,{range:_0x407c75,sheetID:_0x2f136e}=_0x50cc99,_0x1138fd=this[_0x45cd6f(0x328)][_0x45cd6f(0x359)](_0x407c75,_0x3fdfd0=>(_0x1138fd[_0x45cd6f(0x41e)](),_0x3c1257(_0x3fdfd0,_0x439d3b,_0x2f136e,_0x407c75)));_0x569fef[_0x45cd6f(0x246)](_0x1138fd);});};this[_0x120ba1(0x32a)](_0x3a9dfc(this[_0x120ba1(0x4d6)][_0x120ba1(0x2df)](()=>{_0x35c560();})));}[_0x58e4d7(0x3d4)](){const _0xac18d0=_0x58e4d7;var _0x22210a,_0x521fe3;if(this[_0xac18d0(0x1f5)]=!0x0,((_0x22210a=this[_0xac18d0(0x3c3)][_0xac18d0(0x49b)]())==null?void 0x0:_0x22210a[_0xac18d0(0x2c5)]())!==this[_0xac18d0(0x214)])return;const _0x166117=(_0x521fe3=this['_injector'][_0xac18d0(0x3d3)](_0xdab4f8)['getCurrentSelections']())==null?void 0x0:_0x521fe3[0x0],_0x4a1eca=this[_0xac18d0(0x3c3)][_0xac18d0(0x2bc)](_0x11ab9a[_0xac18d0(0x15c)])[_0xac18d0(0x376)]();_0x166117&&_0x4a1eca&&this['_updateLocalCursor'](_0x4a1eca['getSheetId'](),_0x166117);}[_0x58e4d7(0x330)](){const _0x3c22eb=_0x58e4d7;this[_0x3c22eb(0x1f5)]=!0x1;}};rs=wo([Be(0x2,_0x22f9f7(_0x1dc773)),Be(0x3,_0x22f9f7(bs)),Be(0x4,_0x22f9f7(Ne)),Be(0x5,_0x17eff3),Be(0x6,_0x13cabf),Be(0x7,_0x22f9f7(_0x349d19))],rs);var No=Object['defineProperty'],Ao=Object[_0x58e4d7(0x1ba)],Mo=(_0x4f42d6,_0x54fd22,_0x3a2a8f,_0x17412a)=>{for(var _0x29b3be=_0x17412a>0x1?void 0x0:_0x17412a?Ao(_0x54fd22,_0x3a2a8f):_0x54fd22,_0x561191=_0x4f42d6['length']-0x1,_0x83439a;_0x561191>=0x0;_0x561191--)(_0x83439a=_0x4f42d6[_0x561191])&&(_0x29b3be=(_0x17412a?_0x83439a(_0x54fd22,_0x3a2a8f,_0x29b3be):_0x83439a(_0x29b3be))||_0x29b3be);return _0x17412a&&_0x29b3be&&No(_0x54fd22,_0x3a2a8f,_0x29b3be),_0x29b3be;},$t=(_0x291e1a,_0x2dde70)=>(_0x172a0f,_0x39de8b)=>_0x2dde70(_0x172a0f,_0x39de8b,_0x291e1a);let Ve=class extends _0x574fb2{constructor(_0x43de71,_0x5e61f7,_0x2ec52e){const _0x3380b7=_0x58e4d7;super(),g(this,_0x3380b7(0x3a9),new Map()),g(this,_0x3380b7(0x1b5),new _0x5f4b37()),(this['_univerInstanceService']=_0x43de71,this[_0x3380b7(0x405)]=_0x5e61f7,this['_collabSessionService']=_0x2ec52e,this[_0x3380b7(0x499)]());}['dispose'](){const _0x28c540=_0x58e4d7;super[_0x28c540(0x41e)](),this[_0x28c540(0x1b5)][_0x28c540(0x2ec)](),this['_entities'][_0x28c540(0x2ff)](_0x9677de=>_0x9677de[_0x28c540(0x41e)]());}[_0x58e4d7(0x3db)](_0x50d2b0){const _0x5055cb=_0x58e4d7;return this[_0x5055cb(0x3a9)]['has'](_0x50d2b0)?this[_0x5055cb(0x3a9)]['get'](_0x50d2b0)[_0x5055cb(0x133)]:this[_0x5055cb(0x1b5)][_0x5055cb(0x324)](_0x5d0283(_0x5f293e=>_0x5f293e[_0x5055cb(0x214)]===_0x50d2b0),_0x44a85b(_0x3421dd=>_0x3421dd[_0x5055cb(0x133)]));}[_0x58e4d7(0x499)](){const _0x1adc19=_0x58e4d7;this[_0x1adc19(0x3c3)][_0x1adc19(0x168)](_0x11ab9a[_0x1adc19(0x15c)])[_0x1adc19(0x324)](_0x4bde19(this[_0x1adc19(0x3ff)]))[_0x1adc19(0x2df)](async _0x5789ec=>{const _0x5ec3a2=_0x1adc19,_0x461166=_0x5789ec[_0x5ec3a2(0x2c5)](),_0x25458a=await this[_0x5ec3a2(0x1cd)](_0x461166);this['_entityInit$'][_0x5ec3a2(0x389)](_0x25458a),this[_0x5ec3a2(0x3a9)][_0x5ec3a2(0x372)](_0x461166,_0x25458a);}),this[_0x1adc19(0x3c3)][_0x1adc19(0x168)](_0x11ab9a[_0x1adc19(0x1a7)])[_0x1adc19(0x324)](_0x4bde19(this[_0x1adc19(0x3ff)]))[_0x1adc19(0x324)](_0x5d0283(_0x1ab6ff=>!_0x1ab6ff[_0x1adc19(0x2c5)]()['startsWith']('__')))[_0x1adc19(0x2df)](async _0x4f5ed3=>{const _0x2338ed=_0x1adc19,_0x470c6b=_0x4f5ed3[_0x2338ed(0x2c5)](),_0x44f499=await this[_0x2338ed(0x404)](_0x470c6b);this[_0x2338ed(0x1b5)]['next'](_0x44f499),this[_0x2338ed(0x3a9)]['set'](_0x470c6b,_0x44f499);}),_0x27d309(this[_0x1adc19(0x3c3)][_0x1adc19(0x3ce)](_0x11ab9a[_0x1adc19(0x1a7)]),this['_univerInstanceService'][_0x1adc19(0x3ce)](_0x11ab9a['UNIVER_SHEET']))[_0x1adc19(0x324)](_0x4bde19(this[_0x1adc19(0x3ff)]))['subscribe'](_0x561c28=>{const _0x44c2f9=_0x1adc19,_0x1e2445=_0x561c28['getUnitId'](),_0x30e793=this[_0x44c2f9(0x3a9)][_0x44c2f9(0x3d3)](_0x1e2445);_0x30e793&&(_0x30e793[_0x44c2f9(0x41e)](),this[_0x44c2f9(0x3a9)][_0x44c2f9(0xfe)](_0x1e2445));});}async[_0x58e4d7(0x1cd)](_0x57aa37){const _0x3c1bb4=_0x58e4d7,_0xa574b5=await this['_collabSessionService'][_0x3c1bb4(0x322)](_0x57aa37),_0x39bb4c=this[_0x3c1bb4(0x405)][_0x3c1bb4(0x4c3)](rs,_0x57aa37,_0xa574b5);return _0x39bb4c[_0x3c1bb4(0x474)](),_0x39bb4c;}async['_startDocCollabCursor'](_0x42e9f8){const _0x456470=_0x58e4d7,_0x3edcc9=await this[_0x456470(0x227)][_0x456470(0x322)](_0x42e9f8),_0x10a985=this[_0x456470(0x405)]['createInstance'](ns,_0x42e9f8,_0x3edcc9);return _0x10a985[_0x456470(0x474)](),_0x10a985;}};Ve=Mo([$t(0x0,_0x17eff3),$t(0x1,_0x22f9f7(_0x1dc773)),$t(0x2,_0x22f9f7(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0x39c555,_0x11fa87){const _0x2006f0=_0x58e4d7;let {radius:_0x5ab78a,width:_0x26b27c,height:_0x2e7ae7}=_0x11fa87;_0x5ab78a=_0x5ab78a!=null?_0x5ab78a:0x0,_0x26b27c=_0x26b27c!=null?_0x26b27c:0x1e,_0x2e7ae7=_0x2e7ae7!=null?_0x2e7ae7:0x1e;let _0x3af8e4=0x0,_0xdf7f2f=0x0,_0x497a2d=0x0;_0x3af8e4=_0xdf7f2f=_0x497a2d=Math[_0x2006f0(0x47b)](_0x5ab78a,_0x26b27c/0x2,_0x2e7ae7/0x2),_0x39c555[_0x2006f0(0x41d)](),_0x39c555[_0x2006f0(0x4f5)](_0x3af8e4,0x0),_0x39c555[_0x2006f0(0x3f2)](_0x26b27c-_0xdf7f2f,0x0),_0x39c555[_0x2006f0(0x37a)](_0x26b27c-_0xdf7f2f,_0xdf7f2f,_0xdf7f2f,Math['PI']*0x3/0x2,0x0,!0x1),_0x39c555[_0x2006f0(0x3f2)](_0x26b27c,_0x2e7ae7-_0x497a2d),_0x39c555[_0x2006f0(0x37a)](_0x26b27c-_0x497a2d,_0x2e7ae7-_0x497a2d,_0x497a2d,0x0,Math['PI']/0x2,!0x1),_0x39c555['lineTo'](0x0,_0x2e7ae7),_0x39c555[_0x2006f0(0x3f2)](0x0,_0x3af8e4),_0x39c555[_0x2006f0(0x37a)](_0x3af8e4,_0x3af8e4,_0x3af8e4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x39c555[_0x2006f0(0x296)](),_0x11fa87['fill']&&(_0x39c555['save'](),_0x39c555[_0x2006f0(0x30b)]=_0x11fa87['fill'],_0x11fa87['fillRule']===_0x2006f0(0x277)?_0x39c555[_0x2006f0(0x1f0)](_0x2006f0(0x277)):_0x39c555['fill'](),_0x39c555['restore']());}class Ot extends _0x49cd85{constructor(_0x3e6207,_0x523449){const _0x5d2409=_0x58e4d7;super(_0x3e6207,_0x523449),g(this,_0x5d2409(0x2b4)),g(this,_0x5d2409(0x305)),(this['color']=_0x523449==null?void 0x0:_0x523449[_0x5d2409(0x2b4)],this[_0x5d2409(0x305)]=_0x523449==null?void 0x0:_0x523449[_0x5d2409(0x305)]);}static[_0x58e4d7(0x1ff)](_0x1d188b,_0x43f9d1){const _0x3ebe98=_0x58e4d7,{text:_0x16f478,color:_0x19c0d0}=_0x43f9d1;_0x1d188b[_0x3ebe98(0x2dc)](),_0x1d188b[_0x3ebe98(0x29d)]=_0x3ebe98(0x30a);const _0x475fe2=_0x1d188b['measureText'](_0x16f478)[_0x3ebe98(0x1f7)],_0x15d2ef=Math['min'](_0x475fe2+0x2*Ht,Ys);Lo(_0x1d188b,{'height':nt,'radius':0x4,'width':_0x15d2ef,'fill':_0x19c0d0,'evented':!0x1}),_0x1d188b[_0x3ebe98(0x30b)]='#FFF';const _0x1c227e=Ht,_0x280182=nt-xo,_0x43dc09=Ys-0x2*Ht;if(_0x475fe2>_0x43dc09){let _0x4986e1='',_0x37f703=0x0;for(const _0x2b17c0 of _0x16f478){const _0x280c40=_0x1d188b[_0x3ebe98(0x312)](_0x2b17c0)[_0x3ebe98(0x1f7)];if(_0x37f703+_0x280c40<=_0x43dc09-_0x1d188b[_0x3ebe98(0x312)]('...')[_0x3ebe98(0x1f7)])_0x4986e1+=_0x2b17c0,_0x37f703+=_0x280c40;else{_0x4986e1+=_0x3ebe98(0x356);break;}}_0x1d188b[_0x3ebe98(0x274)](_0x4986e1,_0x1c227e,_0x280182);}else _0x1d188b[_0x3ebe98(0x274)](_0x16f478,_0x1c227e,_0x280182);_0x1d188b['restore']();}[_0x58e4d7(0x1b0)](_0x46c1db){const _0x46842c=_0x58e4d7;Ot[_0x46842c(0x1ff)](_0x46c1db,this);}}const jt=_0x58e4d7(0x3ad),$o=_0x58e4d7(0x23f),Ho='collab-rect-range-',Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko=_0x58e4d7(0x1dc);class Ks{constructor(_0x2dea1f,_0x27352d,_0x392cd1,_0x363b74){const _0xe1f711=_0x58e4d7;g(this,_0xe1f711(0x343),[]),g(this,_0xe1f711(0xf8),null),g(this,_0xe1f711(0x457),null),g(this,_0xe1f711(0x1d6),null),g(this,_0xe1f711(0x2f8),null),g(this,'_eventUnsubscribe',null),(this[_0xe1f711(0x3cd)]=_0x2dea1f,this[_0xe1f711(0x18f)]=_0x27352d,this[_0xe1f711(0x27e)]=_0x392cd1,this[_0xe1f711(0x3ec)]=_0x363b74,this[_0xe1f711(0x4d0)]());}set['_hover'](_0x26b342){const _0x577152=_0x58e4d7;_0x26b342?(this[_0x577152(0x1d6)]&&this[_0x577152(0x1d6)][_0x577152(0x3d2)](),this[_0x577152(0x457)]&&this['_textBubble'][_0x577152(0x25b)]()):(this['_anchorDot']&&this[_0x577152(0x1d6)]['show'](),this[_0x577152(0x457)]&&this['_textBubble'][_0x577152(0x3d2)]());}[_0x58e4d7(0x41e)](){const _0x586c0d=_0x58e4d7;for(const _0x3a29ac of this['_shapes'])_0x3a29ac[_0x586c0d(0x41e)]();this['_textBubble']&&this[_0x586c0d(0x457)][_0x586c0d(0x41e)](),this[_0x586c0d(0x1d6)]&&this[_0x586c0d(0x1d6)][_0x586c0d(0x41e)](),this[_0x586c0d(0xf8)]&&this['_anchor']['dispose'](),this[_0x586c0d(0x334)]&&this['_eventUnsubscribe']();}[_0x58e4d7(0x4d0)](){const _0x4d78ec=_0x58e4d7;var _0x4505ea;const {_docSkeleton:_0x1fc0ba,_document:_0x42eb7b}=this,{color:_0x51bef3,name:_0x4ca193,ranges:_0x4d0c17}=this[_0x4d78ec(0x3cd)],_0x124845=_0x42eb7b[_0x4d78ec(0x4ca)](),{docsLeft:_0xdbd86d,docsTop:_0x59d2f5}=_0x124845,_0x3b73ce=new _0x5057df(_0x124845,_0x1fc0ba);for(const {startOffset:_0x246080,endOffset:_0x789821,rangeType:_0x3fd96e,segmentId:_0x37ba77,segmentPage:_0x34cbe2,collapsed:_0x2f6128,isActive:_0x48d750}of _0x4d0c17){const _0xaf7f01=_0x1fc0ba[_0x4d78ec(0x487)](_0x246080,!0x0,_0x37ba77,_0x34cbe2);let _0xed7da7=_0x1fc0ba[_0x4d78ec(0x487)](_0x789821,!0x0,_0x37ba77,_0x34cbe2);if(_0xed7da7==null&&(_0xed7da7=_0x1fc0ba[_0x4d78ec(0x487)](_0x789821-0x1,!0x1,_0x37ba77,_0x34cbe2)),_0x48d750){const {contentBoxPointGroup:_0x2c430a}=_0x3b73ce['getRangePointData'](_0xed7da7,_0xed7da7);if(_0x2c430a[_0x4d78ec(0x418)]===0x0)continue;this[_0x4d78ec(0x2c6)](_0x51bef3,_0x2c430a,_0xdbd86d,_0x59d2f5,_0x4ca193),this['_eventUnsubscribe']=this[_0x4d78ec(0x29e)]();}if(!_0x2f6128&&_0xaf7f01&&_0xed7da7){if(_0x3fd96e===_0x174e1e[_0x4d78ec(0x2a5)]){const _0x29d20d=new _0x59f5e7(_0x124845,_0x1fc0ba),{pointGroup:_0xf29375}=(_0x4505ea=_0x29d20d[_0x4d78ec(0x38d)](_0xaf7f01,_0xed7da7))!=null?_0x4505ea:{};if(_0xf29375==null||_0xf29375[_0x4d78ec(0x418)]===0x0)continue;this[_0x4d78ec(0x316)](_0x51bef3,_0xf29375,_0xdbd86d,_0x59d2f5);}else{const {borderBoxPointGroup:_0x329433}=_0x3b73ce[_0x4d78ec(0x38d)](_0xaf7f01,_0xed7da7);if(_0x329433['length']===0x0)continue;this['_drawTextRange'](_0x51bef3,_0x329433,_0xdbd86d,_0x59d2f5);}}}}[_0x58e4d7(0x2c6)](_0xf449b5,_0x22d174,_0x336d73,_0x3df597,_0x35414b){const _0xd15aa7=_0x58e4d7,_0x3d475a=this[_0xd15aa7(0x501)](_0x22d174),{left:_0x13db9d,top:_0x18aa49,height:_0x3a614a}=_0x3d475a,_0x432518=this[_0xd15aa7(0x2a2)](),_0x55f2d5=Bo/_0x432518,_0x47a987=new _0x5e9242(jt+_0x44e432['generateRandomId'](Je),{'left':_0x13db9d+_0x336d73-_0x55f2d5,'top':_0x18aa49+_0x3df597,'height':_0x3a614a,'width':jo,'fill':_0xf449b5||_0xf2f143(_0x3b9194[_0xd15aa7(0x314)],0x0),'strokeWidth':_0x55f2d5,'stroke':ko,'evented':!0x0});this[_0xd15aa7(0xf8)]=_0x47a987,this[_0xd15aa7(0x18f)][_0xd15aa7(0x34c)](_0x47a987,_0x109ceb);const _0xc6e8e0=new _0x5e9242(jt+_0x44e432[_0xd15aa7(0x3c0)](Je),{'left':_0x13db9d+_0x336d73-_0x55f2d5,'top':_0x18aa49+_0x3df597-Bt/0x2,'height':Bt,'width':Bt,'fill':_0xf449b5||_0xf2f143(_0x3b9194['black'],0x0),'strokeWidth':0x0,'stroke':_0xf449b5||_0xf2f143(_0x3b9194[_0xd15aa7(0x314)],0x0),'evented':!0x1});this[_0xd15aa7(0x1d6)]=_0xc6e8e0,this['_scene'][_0xd15aa7(0x34c)](_0xc6e8e0,_0x109ceb);const _0x584b7c=new Ot(jt+_0x44e432[_0xd15aa7(0x3c0)](Je),{'left':_0x13db9d+_0x336d73-_0x55f2d5,'top':_0x18aa49+_0x3df597-nt,'text':_0x35414b,'color':_0xf449b5});this[_0xd15aa7(0x457)]=_0x584b7c,this[_0xd15aa7(0x18f)]['addObject'](_0x584b7c,_0x109ceb),this[_0xd15aa7(0x10a)]=!0x1;}[_0x58e4d7(0x29e)](){const _0xfc9072=_0x58e4d7,_0x425228=this[_0xfc9072(0xf8)]['onPointerEnter$'][_0xfc9072(0x40d)](()=>{const _0x3ed328=_0xfc9072;this[_0x3ed328(0x10a)]=!0x0;}),_0x13c286=this[_0xfc9072(0xf8)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x2fc056=_0xfc9072;this[_0x2fc056(0x2f8)]&&clearTimeout(this['_hideTimer']),this[_0x2fc056(0x2f8)]=setTimeout(()=>{const _0x29230a=_0x2fc056;this[_0x29230a(0x10a)]=!0x1;},0x7d0);});return()=>{const _0x217910=_0xfc9072;_0x425228[_0x217910(0x394)](),_0x13c286[_0x217910(0x394)]();};}['_drawTextRange'](_0x5938cd,_0x44627e,_0x587e5c,_0x4d0249){const _0x5c32e0=_0x58e4d7,_0x2005d6=new _0x3b9b76(_0x5938cd)[_0x5c32e0(0x1bb)](0.2)[_0x5c32e0(0x1fd)](),_0x35b705=new _0x58e493($o+_0x44e432['generateRandomId'](Je),{'pointsGroup':_0x44627e,'fill':_0x2005d6||_0xf2f143(_0x3b9194['black'],0.2),'left':_0x587e5c,'top':_0x4d0249,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5c32e0(0x343)][_0x5c32e0(0x47e)](_0x35b705),this[_0x5c32e0(0x18f)][_0x5c32e0(0x34c)](_0x35b705,_0x109ceb);}[_0x58e4d7(0x316)](_0x173094,_0x596a3f,_0x39369e,_0x5ec111){const _0x237722=_0x58e4d7,_0x3096d2=new _0x3b9b76(_0x173094)[_0x237722(0x1bb)](0.2)[_0x237722(0x1fd)](),_0x32fadc=new _0x58e493(Ho+_0x44e432[_0x237722(0x3c0)](Je),{'pointsGroup':_0x596a3f,'fill':_0x3096d2||_0xf2f143(_0x3b9194['black'],0.2),'left':_0x39369e,'top':_0x5ec111,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x237722(0x343)][_0x237722(0x47e)](_0x32fadc),this[_0x237722(0x18f)][_0x237722(0x34c)](_0x32fadc,_0x109ceb);}[_0x58e4d7(0x501)](_0x24da31){const _0x320123=_0x24da31[0x0],_0x516afc=_0x320123[0x0],_0x48a121=_0x320123[0x2],{x:_0x384932,y:_0xc85e7b}=_0x516afc,{x:_0x39a754,y:_0x366528}=_0x48a121;return{'left':_0x384932,'top':_0xc85e7b,'width':_0x39a754-_0x384932,'height':_0x366528-_0xc85e7b};}[_0x58e4d7(0x2a2)](){const _0x56d511=_0x58e4d7,{scaleX:_0xcc853b,scaleY:_0xdbad26}=this[_0x56d511(0x18f)][_0x56d511(0x434)]();return Math[_0x56d511(0x106)](_0xcc853b,_0xdbad26);}}var Wo=Object['defineProperty'],Fo=Object['getOwnPropertyDescriptor'],Vo=(_0x820f4d,_0x4f10c4,_0xe93454,_0x36b5fd)=>{for(var _0x370241=_0x36b5fd>0x1?void 0x0:_0x36b5fd?Fo(_0x4f10c4,_0xe93454):_0x4f10c4,_0x3fa27a=_0x820f4d['length']-0x1,_0x41c926;_0x3fa27a>=0x0;_0x3fa27a--)(_0x41c926=_0x820f4d[_0x3fa27a])&&(_0x370241=(_0x36b5fd?_0x41c926(_0x4f10c4,_0xe93454,_0x370241):_0x41c926(_0x370241))||_0x370241);return _0x36b5fd&&_0x370241&&Wo(_0x4f10c4,_0xe93454,_0x370241),_0x370241;},ht=(_0x37d10e,_0x242dc4)=>(_0x1a5577,_0x385d0a)=>_0x242dc4(_0x1a5577,_0x385d0a,_0x37d10e);let os=class extends _0x574fb2{constructor(_0xb10200,_0x3c51ff,_0x51ae13,_0x92ef78,_0x56b326){const _0x3e2d17=_0x58e4d7;super(),g(this,_0x3e2d17(0x189),[]),g(this,'_cursors',[]),(this[_0x3e2d17(0x3aa)]=_0xb10200,this[_0x3e2d17(0x323)]=_0x3c51ff,this[_0x3e2d17(0x20b)]=_0x51ae13,this['_commandService']=_0x92ef78,this[_0x3e2d17(0x192)]=_0x56b326,this[_0x3e2d17(0x499)]());}[_0x58e4d7(0x499)](){const _0x13ad21=_0x58e4d7,_0x2eab76=this[_0x13ad21(0x3aa)]['unitId'],_0x4b8112=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x5df9d0([this[_0x13ad21(0x20b)][_0x13ad21(0x3db)](_0x2eab76),this[_0x13ad21(0x192)][_0x13ad21(0x492)]])[_0x13ad21(0x324)](_0x12b99c(([_0x1f7a34,_0x24c0f6])=>({'skeleton':_0x4b8112['getSkeleton'](),'cursors':[..._0x1f7a34[_0x13ad21(0x41f)]()][_0x13ad21(0x115)](_0x5a58fc=>({..._0x5a58fc,'color':_0x24c0f6[_0x5a58fc[_0x13ad21(0x2b4)]]}))})))['subscribe'](_0x479e8d=>{const _0x3a5ad9=_0x13ad21;if(this[_0x3a5ad9(0x32b)](),_0x479e8d){const {skeleton:_0x4c1ad7,cursors:_0x437912}=_0x479e8d;this['_updateCollabCursors'](_0x4c1ad7,_0x437912);}})),this[_0x13ad21(0x375)](),this[_0x13ad21(0x4ad)]();}[_0x58e4d7(0x430)](_0x133457,_0x5d1468){const _0x54ee2e=_0x58e4d7,{scene:_0x2268d8,mainComponent:_0x826584}=this[_0x54ee2e(0x3aa)],_0x4afac3=_0x5d1468[_0x54ee2e(0x3eb)](_0x3220a7=>new Ks(_0x3220a7,_0x2268d8,_0x133457,_0x826584));this[_0x54ee2e(0x189)]=_0x4afac3,this[_0x54ee2e(0x48d)]=_0x5d1468;}[_0x58e4d7(0x145)](){const _0x266541=_0x58e4d7;this[_0x266541(0x32b)]();const {scene:_0x5a303c,mainComponent:_0x2d0ad}=this[_0x266541(0x3aa)],_0x11e03e=this[_0x266541(0x323)][_0x266541(0x459)](),_0x220fc1=this[_0x266541(0x48d)][_0x266541(0x3eb)](_0x23226c=>new Ks(_0x23226c,_0x5a303c,_0x11e03e,_0x2d0ad));this[_0x266541(0x189)]=_0x220fc1;}[_0x58e4d7(0x32b)](){const _0x333469=_0x58e4d7;this['_cursorShapes'][_0x333469(0x2ff)](_0x4f7031=>_0x4f7031['dispose']()),this[_0x333469(0x189)]=[];}['_initCommandExecutedListener'](){const _0x1747fd=_0x58e4d7,_0x14fbe1=[_0x9f5cba['id']];this['disposeWithMe'](this[_0x1747fd(0x19f)][_0x1747fd(0x366)](_0x951c5b=>{const _0x1d3e8e=_0x1747fd;_0x14fbe1[_0x1d3e8e(0x4c1)](_0x951c5b['id'])&&_0x951c5b[_0x1d3e8e(0x231)][_0x1d3e8e(0x1a6)]===this[_0x1d3e8e(0x3aa)]['unitId']&&this[_0x1d3e8e(0x145)]();}));}['_initResize'](){const _0x47c3d8=_0x58e4d7;this[_0x47c3d8(0x32a)](_0x20a008(this['_context'][_0x47c3d8(0x3e0)][_0x47c3d8(0x3f0)])[_0x47c3d8(0x324)](_0x203051(_0x4d1b87=>_0x4d1b87['type']===_0x316a98[_0x47c3d8(0xfa)]),_0x50379c(0x10))[_0x47c3d8(0x2df)](()=>{this['_refreshCollabCursors']();}));}};os=Vo([ht(0x1,_0x22f9f7(_0x240789)),ht(0x2,_0x22f9f7(Ve)),ht(0x3,_0x13cabf),ht(0x4,_0x22f9f7(_0x489843))],os);const Go=0x1,Yo=1.5;class Ko extends _0x49cd85{constructor(_0x39939d,_0x2535f8){const _0x165eac=_0x58e4d7;super(_0x39939d,_0x2535f8),g(this,_0x165eac(0x409)),g(this,_0x165eac(0x446),!0x1),g(this,_0x165eac(0x45f)),g(this,_0x165eac(0x391),''),g(this,'_labelPosition','top'),g(this,_0x165eac(0x3bb)),(_0x2535f8&&this[_0x165eac(0x12b)](_0x2535f8),this[_0x165eac(0x3d0)][_0x165eac(0x40d)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x165eac(0x207)][_0x165eac(0x40d)](()=>this[_0x165eac(0x12b)]({'hovered':!0x1})));}[_0x58e4d7(0x12b)](_0x4cee68){const _0x395ea4=_0x58e4d7;var _0xdf9578,_0x11551b,_0x56ffbd,_0x216e50,_0x2bef83,_0x148b0d;this[_0x395ea4(0x409)]=(_0xdf9578=_0x4cee68[_0x395ea4(0x2b4)])!=null?_0xdf9578:this['_color'],this['_hovered']=(_0x11551b=_0x4cee68['hovered'])!=null?_0x11551b:this['_hovered'],this['_range']=(_0x56ffbd=_0x4cee68[_0x395ea4(0x408)])!=null?_0x56ffbd:this['_range'],this['_name']=(_0x216e50=_0x4cee68['name'])!=null?_0x216e50:this[_0x395ea4(0x391)],this[_0x395ea4(0x4f1)]=(_0x2bef83=_0x4cee68['labelPosition'])!=null?_0x2bef83:this[_0x395ea4(0x4f1)],this[_0x395ea4(0x3bb)]=(_0x148b0d=_0x4cee68[_0x395ea4(0x169)])!=null?_0x148b0d:this['_backgroundColor'],this[_0x395ea4(0x442)]({'width':_0x4cee68['width'],'height':_0x4cee68[_0x395ea4(0x10b)]});}[_0x58e4d7(0x41a)](_0x7fc084){const _0x501efa=_0x58e4d7,{row:_0x33fe59,column:_0x10f40f}=_0x7fc084;if(_0x33fe59>=this[_0x501efa(0x45f)][_0x501efa(0x17f)]&&_0x33fe59<=this[_0x501efa(0x45f)][_0x501efa(0x428)]&&_0x10f40f>=this[_0x501efa(0x45f)][_0x501efa(0x11c)]&&_0x10f40f<=this[_0x501efa(0x45f)]['endColumn']){this[_0x501efa(0x12b)]({'hovered':!0x0});return;}this[_0x501efa(0x12b)]({'hovered':!0x1});}[_0x58e4d7(0x3a7)](_0x3c4a3c){return!0x1;}[_0x58e4d7(0x1b0)](_0x1f6740){const _0x2af0c4=_0x58e4d7;_0x5e9242['drawWith'](_0x1f6740,{'width':this[_0x2af0c4(0x1f7)],'height':this[_0x2af0c4(0x10b)],'strokeWidth':Yo,'stroke':this[_0x2af0c4(0x409)],'evented':!0x1,'fill':this[_0x2af0c4(0x3bb)]}),this[_0x2af0c4(0x446)]&&(_0x1f6740[_0x2af0c4(0x2dc)](),_0x1f6740['transform'](0x1,0x0,0x0,0x1,this[_0x2af0c4(0x1f7)],this[_0x2af0c4(0x4f1)]===_0x2af0c4(0x4ff)?0x0:-nt),Ot[_0x2af0c4(0x1ff)](_0x1f6740,{'text':this[_0x2af0c4(0x391)],'color':this[_0x2af0c4(0x409)]}),_0x1f6740['restore']());}}var zo=Object[_0x58e4d7(0x367)],qo=Object[_0x58e4d7(0x1ba)],Xo=(_0xdaa761,_0x2444eb,_0x2bfa98,_0x1e8143)=>{const _0x106a17=_0x58e4d7;for(var _0x15df88=_0x1e8143>0x1?void 0x0:_0x1e8143?qo(_0x2444eb,_0x2bfa98):_0x2444eb,_0x34b5f1=_0xdaa761[_0x106a17(0x418)]-0x1,_0x571517;_0x34b5f1>=0x0;_0x34b5f1--)(_0x571517=_0xdaa761[_0x34b5f1])&&(_0x15df88=(_0x1e8143?_0x571517(_0x2444eb,_0x2bfa98,_0x15df88):_0x571517(_0x15df88))||_0x15df88);return _0x1e8143&&_0x15df88&&zo(_0x2444eb,_0x2bfa98,_0x15df88),_0x15df88;},kt=(_0x81d15,_0x34a6d4)=>(_0x17c130,_0x222ef3)=>_0x34a6d4(_0x17c130,_0x222ef3,_0x81d15);const Jo=0x1389;let as=class extends _0x574fb2{constructor(_0x41aa65,_0x31a092,_0x4b6cba,_0x704ff9){const _0x369c47=_0x58e4d7;super(),g(this,_0x369c47(0x48d),new Set()),g(this,'_lastPointer',null),(this['_context']=_0x41aa65,this[_0x369c47(0x363)]=_0x31a092,this[_0x369c47(0x20b)]=_0x4b6cba,this[_0x369c47(0x192)]=_0x704ff9,this['_init']());}['_init'](){const _0x297e62=_0x58e4d7;this['_sheetSkeletonManagerService'][_0x297e62(0x14c)]['pipe'](_0x4d52fc(this[_0x297e62(0x3ff)]),_0x1661a4(_0x5877bb=>{const _0x5a937d=_0x297e62;if(_0x5877bb){const _0x1410fe=_0x5877bb['sheetId'];return _0x5df9d0(this[_0x5a937d(0x20b)]['getCollabCursors$'](this[_0x5a937d(0x3aa)][_0x5a937d(0x1a6)]),this[_0x5a937d(0x192)][_0x5a937d(0x492)])[_0x5a937d(0x324)](_0x12b99c(([_0x249c7d,_0x4f70f3])=>{const _0x275f74=_0x5a937d,_0x51dfb3=new Map();return _0x249c7d[_0x275f74(0x2ff)]((_0x3fd1d1,_0x45becf)=>{const _0x25eff9=_0x275f74;if(_0x3fd1d1[_0x25eff9(0x45e)]===_0x1410fe){const _0x32db7b={..._0x3fd1d1};_0x32db7b[_0x25eff9(0x2b4)]=_0x4f70f3[_0x3fd1d1[_0x25eff9(0x2b4)]],_0x51dfb3['set'](_0x45becf,_0x32db7b);}}),{'skeleton':_0x5877bb,'cursors':_0x51dfb3};}));}return _0x5bce18({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3e7b9b,cursors:_0x5d8617})=>{const _0x35b95d=_0x297e62;this[_0x35b95d(0x32b)](),_0x3e7b9b&&this[_0x35b95d(0x430)](_0x3e7b9b,_0x5d8617);}),this['_sheetSkeletonManagerService'][_0x297e62(0x14c)][_0x297e62(0x2df)](_0x5b3c54=>{const _0x535632=_0x297e62;if(_0x5b3c54==null)return;const {skeleton:_0x5b9449}=_0x5b3c54,{scene:_0x589620}=this[_0x535632(0x3aa)];_0x589620[_0x535632(0x1fa)][_0x535632(0x40d)](_0x1ed51a(_0x1f44fd=>{const _0x4b0732=_0x535632;var _0xa7a966,_0x31a8d6;const {offsetX:_0xbcd13a,offsetY:_0x5abcc1}=_0x1f44fd,{x:_0x220103,y:_0xbd0b2f}=_0x589620['getRelativeToViewportCoord'](_0x37b3ed[_0x4b0732(0x2a6)]([_0xbcd13a,_0x5abcc1])),{scaleX:_0x915c60,scaleY:_0x45cb34}=_0x589620[_0x4b0732(0x434)](),_0x56e84e=_0x589620[_0x4b0732(0x1dd)](_0x4a4ff9[_0x4b0732(0x17c)]),_0x122792=_0x589620[_0x4b0732(0x202)](_0x37b3ed['FromArray']([_0x220103,_0xbd0b2f]),_0x56e84e),_0x35258f=_0x5b9449[_0x4b0732(0x13e)](_0xbcd13a,_0x5abcc1,_0x915c60,_0x45cb34,_0x122792);((_0xa7a966=this['_lastPointer'])==null?void 0x0:_0xa7a966[_0x4b0732(0x170)])===_0x35258f[_0x4b0732(0x170)]&&((_0x31a8d6=this[_0x4b0732(0x127)])==null?void 0x0:_0x31a8d6['row'])===_0x35258f[_0x4b0732(0x37d)]||this['_cursors'][_0x4b0732(0x2ff)](_0x11ceb8=>{const _0x464fc2=_0x4b0732;_0x11ceb8[_0x464fc2(0x41a)](_0x35258f);});},0x64));});}[_0x58e4d7(0x430)](_0x489374,_0x499870){const _0x46f6fa=_0x58e4d7;var _0x2491d5;const _0x549b32=(_0x2491d5=this[_0x46f6fa(0x363)]['getCurrent']())==null?void 0x0:_0x2491d5['skeleton'];if(!_0x549b32)return;const _0x503fb8=this[_0x46f6fa(0x4d3)]();if(!_0x503fb8)return;this[_0x46f6fa(0x48d)][_0x46f6fa(0x2ff)](_0x206dc4=>{_0x206dc4['makeDirty']();});const {scene:_0x1ff7d1}=_0x503fb8,_0x116100=Zo(Array[_0x46f6fa(0x387)](_0x499870[_0x46f6fa(0x41f)]()))[_0x46f6fa(0x3eb)](_0x5effac=>{const _0x1da677=_0x46f6fa,{color:_0x4064d6,range:_0x304d76,name:_0x16e62f,selection:_0x4c8246,sheetID:_0x3c46c7}=_0x5effac,{startColumn:_0x209f86,startRow:_0x44587c,endColumn:_0x2a9cc6,endRow:_0x4cb92c}=_0x304d76,_0xfb6b2d=_0x1e0adc(_0x44587c,_0x209f86,_0x1ff7d1,_0x549b32),_0x34197f=_0x1e0adc(_0x4cb92c,_0x2a9cc6,_0x1ff7d1,_0x549b32),{columnHeaderHeightAndMarginTop:_0x23fba7}=_0x549b32,{startX:_0x304c2e,startY:_0x21250a}=_0xfb6b2d,{endX:_0x1439ba,endY:_0x35a392}=_0x34197f,_0x7838b6=_0x1439ba-_0x304c2e,_0x26b6b1=_0x35a392-_0x21250a,_0x1297f4={'labelPosition':_0x21250a-_0x23fba7>=nt?_0x1da677(0x49c):'bottom','sheetID':_0x3c46c7,'range':_0x304d76,'color':_0x4064d6,'name':_0x16e62f,'selection':_0x4c8246,'left':_0x304c2e,'top':_0x21250a,'width':_0x7838b6,'height':_0x26b6b1,'evented':!0x1,'zIndex':Jo};return new Ko(_0x16e62f,_0x1297f4);});_0x1ff7d1[_0x46f6fa(0x40b)](_0x116100,Go),this[_0x46f6fa(0x48d)]=new Set(_0x116100);}[_0x58e4d7(0x32b)](){const _0x1c6b48=_0x58e4d7;var _0x128c38;(_0x128c38=this[_0x1c6b48(0x48d)])==null||_0x128c38[_0x1c6b48(0x2ff)](_0x477476=>_0x477476[_0x1c6b48(0x41e)]());}['_getSheetObject'](){const _0x36329a=_0x58e4d7;return _0x79811c(this[_0x36329a(0x3aa)][_0x36329a(0x33e)],this[_0x36329a(0x3aa)]);}};as=Xo([kt(0x1,_0x22f9f7(_0x44840b)),kt(0x2,_0x22f9f7(Ve)),kt(0x3,_0x22f9f7(_0x489843))],as);function Zo(_0x5cdaa9){const _0x4f2c4a=_0x58e4d7,_0x1cb3bc=new Map();return _0x5cdaa9[_0x4f2c4a(0x2ff)](_0x5716a8=>{const _0x132c3c=_0x4f2c4a;if(_0x1cb3bc['has'](_0x5716a8[_0x132c3c(0x3ed)])){const _0x48736a=_0x1cb3bc['get'](_0x5716a8['selection']);_0x48736a[_0x132c3c(0x164)]+=',\x20'+_0x5716a8['name'];}else _0x1cb3bc[_0x132c3c(0x372)](_0x5716a8['selection'],_0x5716a8);}),Array[_0x4f2c4a(0x387)](_0x1cb3bc[_0x4f2c4a(0x41f)]());}var ee=function(){const _0x338305=_0x58e4d7;return ee=Object[_0x338305(0x13f)]||function(_0x5188fb){const _0x21cd0d=_0x338305;for(var _0x22146a,_0x4b8e0b=0x1,_0x4858a6=arguments[_0x21cd0d(0x418)];_0x4b8e0b<_0x4858a6;_0x4b8e0b++){_0x22146a=arguments[_0x4b8e0b];for(var _0x29b728 in _0x22146a)Object[_0x21cd0d(0x502)][_0x21cd0d(0x1b3)]['call'](_0x22146a,_0x29b728)&&(_0x5188fb[_0x29b728]=_0x22146a[_0x29b728]);}return _0x5188fb;},ee[_0x338305(0x3e6)](this,arguments);},Qo=function(_0x2accbe,_0x3e89b8){const _0x3fe8d5=_0x58e4d7;var _0x2c5bdb={};for(var _0x3eb079 in _0x2accbe)Object[_0x3fe8d5(0x502)][_0x3fe8d5(0x1b3)]['call'](_0x2accbe,_0x3eb079)&&_0x3e89b8[_0x3fe8d5(0x40a)](_0x3eb079)<0x0&&(_0x2c5bdb[_0x3eb079]=_0x2accbe[_0x3eb079]);if(_0x2accbe!=null&&typeof Object[_0x3fe8d5(0x1af)]==_0x3fe8d5(0x1c2)){for(var _0x24b610=0x0,_0x3eb079=Object['getOwnPropertySymbols'](_0x2accbe);_0x24b610<_0x3eb079['length'];_0x24b610++)_0x3e89b8['indexOf'](_0x3eb079[_0x24b610])<0x0&&Object[_0x3fe8d5(0x502)][_0x3fe8d5(0x1ae)]['call'](_0x2accbe,_0x3eb079[_0x24b610])&&(_0x2c5bdb[_0x3eb079[_0x24b610]]=_0x2accbe[_0x3eb079[_0x24b610]]);}return _0x2c5bdb;},Ts=_0x11d8ad(function(_0x1f5167,_0x56df01){const _0x31c45a=_0x58e4d7;var _0x3abbf5=_0x1f5167['icon'],_0x25d9b1=_0x1f5167['id'],_0x5dc954=_0x1f5167[_0x31c45a(0x1d1)],_0x1a9aca=_0x1f5167['extend'],_0x22b605=Qo(_0x1f5167,[_0x31c45a(0x240),'id',_0x31c45a(0x1d1),'extend']),_0x32d320=_0x31c45a(0x3cb)[_0x31c45a(0x37c)](_0x25d9b1,'\x20')[_0x31c45a(0x37c)](_0x5dc954||'')['trim'](),_0xf435a8=_0x1f22b3('_'['concat'](sa()));return Mi(_0x3abbf5,''['concat'](_0x25d9b1),{'defIds':_0x3abbf5[_0x31c45a(0x14a)],'idSuffix':_0xf435a8['current']},ee({'ref':_0x56df01,'className':_0x32d320},_0x22b605),_0x1a9aca);});function Mi(_0x553571,_0x2ea156,_0x465c7a,_0x4a8b88,_0x270f4b){const _0xf24689=_0x58e4d7;return _0x4adcbb(_0x553571['tag'],ee(ee({'key':_0x2ea156},ea(_0x553571,_0x465c7a,_0x270f4b)),_0x4a8b88),(ta(_0x553571,_0x465c7a)[_0xf24689(0x450)]||[])[_0xf24689(0x3eb)](function(_0x9ddc81,_0x5b5698){const _0x25b656=_0xf24689;return Mi(_0x9ddc81,''[_0x25b656(0x37c)](_0x2ea156,'-')['concat'](_0x553571[_0x25b656(0x1fb)],'-')[_0x25b656(0x37c)](_0x5b5698),_0x465c7a,void 0x0,_0x270f4b);}));}function ea(_0x5788af,_0x423488,_0xb43901){const _0x236402=_0x58e4d7;var _0x457ac8=ee({},_0x5788af['attrs']);_0xb43901!=null&&_0xb43901[_0x236402(0x269)]&&_0x457ac8[_0x236402(0x1f0)]===_0x236402(0x269)&&(_0x457ac8[_0x236402(0x1f0)]=_0xb43901['colorChannel1']);var _0x580c13=_0x423488[_0x236402(0x14a)];return!_0x580c13||_0x580c13['length']===0x0||(_0x5788af[_0x236402(0x1fb)]===_0x236402(0x3af)&&_0x457ac8[_0x236402(0x2ee)]&&(_0x457ac8[_0x236402(0x2ee)]=_0x457ac8[_0x236402(0x2ee)]+_0x423488[_0x236402(0x105)]),Object['entries'](_0x457ac8)['forEach'](function(_0x1ee76a){const _0x3fa2ba=_0x236402;var _0xeb3a2f=_0x1ee76a[0x0],_0x48731a=_0x1ee76a[0x1];typeof _0x48731a=='string'&&(_0x457ac8[_0xeb3a2f]=_0x48731a[_0x3fa2ba(0x4b2)](/url\(#(.*)\)/,'url(#$1'[_0x3fa2ba(0x37c)](_0x423488[_0x3fa2ba(0x105)],')')));})),_0x457ac8;}function ta(_0x54baa6,_0x75b41){const _0x4cf27f=_0x58e4d7;var _0x55ddbb,_0x5d8b9e=_0x75b41[_0x4cf27f(0x14a)];return!_0x5d8b9e||_0x5d8b9e[_0x4cf27f(0x418)]===0x0?_0x54baa6:_0x54baa6[_0x4cf27f(0x1fb)]===_0x4cf27f(0x18b)&&(!((_0x55ddbb=_0x54baa6[_0x4cf27f(0x450)])===null||_0x55ddbb===void 0x0)&&_0x55ddbb['length'])?ee(ee({},_0x54baa6),{'children':_0x54baa6[_0x4cf27f(0x450)]['map'](function(_0x21f396){const _0x2ae0e9=_0x4cf27f;return typeof _0x21f396[_0x2ae0e9(0x2c1)]['id']==_0x2ae0e9(0x4a9)&&_0x5d8b9e&&_0x5d8b9e['indexOf'](_0x21f396[_0x2ae0e9(0x2c1)]['id'])>-0x1?ee(ee({},_0x21f396),{'attrs':ee(ee({},_0x21f396[_0x2ae0e9(0x2c1)]),{'id':_0x21f396[_0x2ae0e9(0x2c1)]['id']+_0x75b41[_0x2ae0e9(0x105)]})}):_0x21f396;})}):_0x54baa6;}function sa(){const _0x1305a7=_0x58e4d7;return Math[_0x1305a7(0x3d5)]()[_0x1305a7(0x22b)](0x24)[_0x1305a7(0x406)](0x2,0x8);}Ts[_0x58e4d7(0x326)]=_0x58e4d7(0x18e);var ia={'tag':'svg','attrs':{'fill':_0x58e4d7(0x423),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x58e4d7(0x4dc)},'children':[{'tag':'g','attrs':{'clipPath':_0x58e4d7(0x4fc)},'children':[{'tag':'path','attrs':{'stroke':_0x58e4d7(0x38e),'d':_0x58e4d7(0x2b7),'strokeLinecap':_0x58e4d7(0x4e3),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x58e4d7(0x36a),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x58e4d7(0x1f8),'attrs':{'fill':_0x58e4d7(0x31c),'d':_0x58e4d7(0x226)}}]}]}],'defIds':[_0x58e4d7(0x1da)]},xi=_0x11d8ad(function(_0xf14060,_0x91c272){const _0x268167=_0x58e4d7;return _0x4adcbb(Ts,Object[_0x268167(0x13f)]({},_0xf14060,{'id':_0x268167(0x1ac),'ref':_0x91c272,'icon':ia}));});xi[_0x58e4d7(0x326)]=_0x58e4d7(0x3e8);var na={'tag':'svg','attrs':{'fill':_0x58e4d7(0x423),'viewBox':_0x58e4d7(0x166),'width':_0x58e4d7(0x4dc),'height':_0x58e4d7(0x4dc)},'children':[{'tag':'g','attrs':{'clipPath':_0x58e4d7(0x100)},'children':[{'tag':_0x58e4d7(0x1f8),'attrs':{'stroke':_0x58e4d7(0x38e),'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':_0x58e4d7(0x4e3),'strokeLinejoin':_0x58e4d7(0x4e3),'strokeWidth':1.2}}]},{'tag':_0x58e4d7(0x18b),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x58e4d7(0x4ec)},'children':[{'tag':_0x58e4d7(0x1f8),'attrs':{'fill':_0x58e4d7(0x31c),'d':_0x58e4d7(0x226),'transform':'translate(.97)'}}]}]}],'defIds':[_0x58e4d7(0x4ec)]},Li=_0x11d8ad(function(_0x7790f8,_0x1a943b){const _0x2d0f7a=_0x58e4d7;return _0x4adcbb(Ts,Object[_0x2d0f7a(0x13f)]({},_0x7790f8,{'id':_0x2d0f7a(0x15f),'ref':_0x1a943b,'icon':na}));});Li[_0x58e4d7(0x326)]=_0x58e4d7(0x4b4);function $i(_0x9d3977){const _0x24f132=_0x58e4d7;var _0x5e81fb,_0x414387,_0x46ab5b='';if(typeof _0x9d3977==_0x24f132(0x4a9)||typeof _0x9d3977=='number')_0x46ab5b+=_0x9d3977;else{if(typeof _0x9d3977==_0x24f132(0x371)){if(Array[_0x24f132(0x444)](_0x9d3977)){var _0x4a68c8=_0x9d3977[_0x24f132(0x418)];for(_0x5e81fb=0x0;_0x5e81fb<_0x4a68c8;_0x5e81fb++)_0x9d3977[_0x5e81fb]&&(_0x414387=$i(_0x9d3977[_0x5e81fb]))&&(_0x46ab5b&&(_0x46ab5b+='\x20'),_0x46ab5b+=_0x414387);}else{for(_0x414387 in _0x9d3977)_0x9d3977[_0x414387]&&(_0x46ab5b&&(_0x46ab5b+='\x20'),_0x46ab5b+=_0x414387);}}}return _0x46ab5b;}function ra(){const _0x1ae2b4=_0x58e4d7;for(var _0x39f636,_0x723eed,_0x4de921=0x0,_0x142e27='',_0x1b5a5c=arguments[_0x1ae2b4(0x418)];_0x4de921<_0x1b5a5c;_0x4de921++)(_0x39f636=arguments[_0x4de921])&&(_0x723eed=$i(_0x39f636))&&(_0x142e27&&(_0x142e27+='\x20'),_0x142e27+=_0x723eed);return _0x142e27;}const oa=_0x58e4d7(0x150),aa=_0x58e4d7(0x3fc),ca='univer-online-status',ha='univer-online',la=_0x58e4d7(0x385),Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _a(_0x102fe0){const _0x2db938=_0x58e4d7;switch(_0x102fe0){case J['OFFLINE']:return'collabStatus.offline';case J[_0x2db938(0x242)]:return _0x2db938(0x49e);case J[_0x2db938(0x18a)]:return _0x2db938(0x264);case J[_0x2db938(0x19c)]:return _0x2db938(0x174);case J[_0x2db938(0x1bc)]:case J[_0x2db938(0xfd)]:return _0x2db938(0x452);case J[_0x2db938(0x4b5)]:case J[_0x2db938(0x2a3)]:return'collabStatus.synced';}}function ua(_0x29fcf2){const _0x27613b=_0x58e4d7,{status$:_0x3cdefd}=_0x29fcf2,_0x421b86=_0x2b7dbf(_0x3cdefd,J[_0x27613b(0x19c)]),_0x2b8de2=_0x390ef4(_0x1c0183),_0x4f7f19=_0x390ef4(Ae),_0x209ba6=_0x421b86!==J[_0x27613b(0x153)],_0x47f571=_0x2b8de2['t'](_a(_0x421b86)),_0x5a1b12=ra(Ze['onlineStatus'],{[Ze['online']]:_0x209ba6,[Ze[_0x27613b(0x3c8)]]:!_0x209ba6}),_0x28ca32=_0x209ba6?_0x14cfd4[_0x27613b(0x2fb)](Li,null):_0x14cfd4[_0x27613b(0x2fb)](xi,null),_0x43945a=_0x395f62(()=>{const _0x3fe40d=_0x27613b;_0x209ba6||_0x4f7f19[_0x3fe40d(0x46a)]();},[_0x209ba6,_0x4f7f19]);function _0x81addd(){const _0x51db09=_0x27613b;return _0x14cfd4[_0x51db09(0x2fb)](_0x51db09(0x173),{'className':_0x5a1b12,'onClick':_0x43945a},_0x14cfd4['createElement'](_0x51db09(0x173),{'className':Ze[_0x51db09(0x4d1)]},_0x28ca32),_0x14cfd4[_0x51db09(0x2fb)](_0x51db09(0x173),{'className':Ze['onlineStatusTitle']},_0x47f571));}return _0x209ba6?_0x81addd():_0x14cfd4[_0x27613b(0x2fb)](_0x51c8ce,{'title':_0x2b8de2['t'](_0x27613b(0x377))},_0x81addd());}var da=Object[_0x58e4d7(0x367)],fa=Object[_0x58e4d7(0x1ba)],va=(_0x11841c,_0xd7f414,_0x368d47,_0x29ecff)=>{const _0x3d3098=_0x58e4d7;for(var _0x475e8d=_0x29ecff>0x1?void 0x0:_0x29ecff?fa(_0xd7f414,_0x368d47):_0xd7f414,_0x7aeea4=_0x11841c[_0x3d3098(0x418)]-0x1,_0x116ac9;_0x7aeea4>=0x0;_0x7aeea4--)(_0x116ac9=_0x11841c[_0x7aeea4])&&(_0x475e8d=(_0x29ecff?_0x116ac9(_0xd7f414,_0x368d47,_0x475e8d):_0x116ac9(_0x475e8d))||_0x475e8d);return _0x29ecff&&_0x475e8d&&da(_0xd7f414,_0x368d47,_0x475e8d),_0x475e8d;},lt=(_0x334337,_0x1a4445)=>(_0x5ed169,_0x50ad25)=>_0x1a4445(_0x5ed169,_0x50ad25,_0x334337);let It=class extends _0x24c9bf{constructor(_0x46f164,_0x563d3d,_0x47040c,_0x327141){const _0x4e0615=_0x58e4d7;super(),g(this,'_status$',new _0x25a07b(J['NOT_COLLAB'])),(this[_0x4e0615(0x3c3)]=_0x46f164,this['_uiPartsService']=_0x563d3d,this[_0x4e0615(0x405)]=_0x47040c,this[_0x4e0615(0x119)]=_0x327141,this[_0x4e0615(0x1e4)](),this['_initStatusListener']());}[_0x58e4d7(0x3bf)](){const _0x16adb5=_0x58e4d7;this[_0x16adb5(0x32a)](this[_0x16adb5(0x3c3)][_0x16adb5(0x35e)]['pipe'](_0x44a85b(()=>{const _0x1c8f76=_0x16adb5,_0x4c6429=this[_0x1c8f76(0x3c3)][_0x1c8f76(0x49b)]();return _0x4c6429?this['_collaborationController'][_0x1c8f76(0x445)](_0x4c6429['getUnitId']()):_0x5bce18(null);}),_0x44a85b(_0x29040b=>_0x29040b?_0x29040b[_0x16adb5(0x4f6)]:_0x5bce18(J['NOT_COLLAB'])))[_0x16adb5(0x2df)](_0x1eb9c4=>{const _0x4f7b34=_0x16adb5;this[_0x4f7b34(0x3c1)][_0x4f7b34(0x389)](_0x1eb9c4);}));}['_initStatusComponent'](){const _0x33d749=_0x58e4d7;this[_0x33d749(0x32a)](this[_0x33d749(0x335)][_0x33d749(0x292)](_0xcd5a5e[_0x33d749(0x2d0)],()=>_0x4268a6(ma({'status$':this[_0x33d749(0x3c1)]['asObservable']()}),this[_0x33d749(0x405)])));}};It=va([lt(0x0,_0x17eff3),lt(0x1,_0x39d15d),lt(0x2,_0x22f9f7(_0x1dc773)),lt(0x3,_0x22f9f7(it))],It);function ma(_0x44ed3c){const {status$:_0x338495}=_0x44ed3c;return function(){const _0x5b8d3e=_0x4c2c;return _0x14cfd4[_0x5b8d3e(0x2fb)](ua,{'status$':_0x338495});};}const Hi=_0x3366fd(_0x58e4d7(0x188));var pa=Object['defineProperty'],ga=Object[_0x58e4d7(0x1ba)],Sa=(_0x52b330,_0x4812a7,_0x2c4cce,_0x417a8c)=>{for(var _0x3c1252=_0x417a8c>0x1?void 0x0:_0x417a8c?ga(_0x4812a7,_0x2c4cce):_0x4812a7,_0x1fd057=_0x52b330['length']-0x1,_0x4fff0c;_0x1fd057>=0x0;_0x1fd057--)(_0x4fff0c=_0x52b330[_0x1fd057])&&(_0x3c1252=(_0x417a8c?_0x4fff0c(_0x4812a7,_0x2c4cce,_0x3c1252):_0x4fff0c(_0x3c1252))||_0x3c1252);return _0x417a8c&&_0x3c1252&&pa(_0x4812a7,_0x2c4cce,_0x3c1252),_0x3c1252;},ke=(_0x281021,_0x4d7c0e)=>(_0x49e3a2,_0x53f54c)=>_0x4d7c0e(_0x49e3a2,_0x53f54c,_0x281021);let Ct=class extends _0x574fb2{constructor(_0x11ca88,_0x3c3132,_0x3fd94f,_0x195a2a,_0x117576,_0x1e5f69){const _0x456da6=_0x58e4d7;super(),this['_urlService']=_0x11ca88,this['_logService']=_0x3c3132,this['_commandService']=_0x3fd94f,this[_0x456da6(0x4d7)]=_0x195a2a,this['_snapshotService']=_0x117576,_0x1e5f69?_0x1e5f69==null||_0x1e5f69[_0x456da6(0x26a)]()[_0x456da6(0x12a)](()=>this['_init']()):(this['_logService'][_0x456da6(0x2c8)](_0x456da6(0x289),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x456da6(0x499)]());}async['_init'](){const _0x52e91d=_0x58e4d7,_0x13d875=this['_urlService'][_0x52e91d(0x1a9)]('unit'),_0x2d2e11=this['_urlService'][_0x52e91d(0x1a9)](_0x52e91d(0x1be));if(!_0x13d875||!_0x2d2e11){this['_logService'][_0x52e91d(0x2c8)](_0x52e91d(0x289),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x2d2e11)){case ce[_0x52e91d(0x15c)]:{const _0x597c7d=await this[_0x52e91d(0x16c)](_0x13d875);this[_0x52e91d(0x1b2)](_0x597c7d);break;}case ce[_0x52e91d(0x1a7)]:{await this[_0x52e91d(0x4d8)](_0x13d875);break;}default:{this[_0x52e91d(0x21d)][_0x52e91d(0x27b)](_0x52e91d(0x289),_0x52e91d(0x261));break;}}}async['_setupSubUnitSync'](_0x2dc36c){const _0x8ddbd8=_0x58e4d7;await this[_0x8ddbd8(0x500)](_0x2dc36c),_0x2dc36c['activeSheet$'][_0x8ddbd8(0x324)](_0x4bde19(this[_0x8ddbd8(0x3ff)]))[_0x8ddbd8(0x2df)](_0x1b851a=>{const _0x1d56d8=_0x8ddbd8;_0x1b851a&&this[_0x1d56d8(0x352)](_0x1b851a);}),this['_urlService'][_0x8ddbd8(0x48e)][_0x8ddbd8(0x324)](_0x4bde19(this[_0x8ddbd8(0x3ff)]))[_0x8ddbd8(0x2df)](()=>this[_0x8ddbd8(0x500)](_0x2dc36c));}[_0x58e4d7(0x352)](_0x3edea6,_0x57344a=!0x1){const _0x4cf028=_0x58e4d7,_0x20f2bb=this['_urlService'][_0x4cf028(0x1a9)](_0x4cf028(0x141));_0x3edea6['getSheetId']()!==_0x20f2bb&&this[_0x4cf028(0x4b1)][_0x4cf028(0x460)](_0x4cf028(0x141),_0x3edea6[_0x4cf028(0x2ce)](),_0x57344a);}async[_0x58e4d7(0x500)](_0x21d9ea){const _0x1d975f=_0x58e4d7;var _0x203b00;const _0x13146c=this[_0x1d975f(0x4b1)][_0x1d975f(0x1a9)](_0x1d975f(0x141));if(!_0x13146c||!_0x21d9ea[_0x1d975f(0x3b2)](_0x13146c)){const _0x42a8a0=_0x21d9ea['getUnhiddenWorksheets']()[0x0],_0xc2de6=_0x21d9ea['getSheetBySheetId'](_0x42a8a0);if(!_0xc2de6)return;this[_0x1d975f(0x352)](_0xc2de6,!0x0),await this[_0x1d975f(0x19f)][_0x1d975f(0x4aa)](_0x21264c['id'],{'unitId':_0x21d9ea[_0x1d975f(0x2c5)](),'subUnitId':_0x42a8a0});return;}((_0x203b00=_0x21d9ea[_0x1d975f(0x376)]())==null?void 0x0:_0x203b00[_0x1d975f(0x2ce)]())!==_0x13146c&&await this[_0x1d975f(0x19f)][_0x1d975f(0x4aa)](_0x21264c['id'],{'unitId':_0x21d9ea[_0x1d975f(0x2c5)](),'subUnitId':_0x13146c});}async['_loadSheet'](_0x4abc19){const _0x4e20e7=_0x58e4d7;let _0xa5fe62=0x0;const _0x1182fd=await this[_0x4e20e7(0x4d7)][_0x4e20e7(0x208)](_0x4abc19);return _0x1182fd&&(_0x1182fd[_0x4e20e7(0x25a)]||_0x1182fd[_0x4e20e7(0x2e8)][_0x4e20e7(0x418)]!==0x0)&&(_0xa5fe62=_0x1182fd[_0x4e20e7(0x28e)]),_0xa5fe62===0x0&&this['_logService']['debug']('[DataLoaderController]',_0x4e20e7(0x4c4)),this[_0x4e20e7(0x473)]['loadSheet'](_0x4abc19,_0xa5fe62);}async[_0x58e4d7(0x4d8)](_0x2a03af){const _0x3cadff=_0x58e4d7;let _0x3147ad=0x0;const _0x24b9d0=await this[_0x3cadff(0x4d7)][_0x3cadff(0x208)](_0x2a03af);return _0x24b9d0&&(_0x24b9d0[_0x3cadff(0x25a)]||_0x24b9d0[_0x3cadff(0x2e8)][_0x3cadff(0x418)]!==0x0)&&(_0x3147ad=_0x24b9d0[_0x3cadff(0x28e)]),_0x3147ad===0x0&&this['_logService'][_0x3cadff(0x2c8)]('[DataLoaderController]',_0x3cadff(0x4c4)),this[_0x3cadff(0x473)][_0x3cadff(0x2f9)](_0x2a03af,_0x3147ad);}};Ct=Sa([ke(0x0,Hi),ke(0x1,_0x1bae21),ke(0x2,_0x13cabf),ke(0x3,_0x22f9f7(q)),ke(0x4,_0x22f9f7(_0x3eabc0)),ke(0x5,_0x48a9ef(_0x3f3fee))],Ct);var Ia=Object[_0x58e4d7(0x367)],Ca=Object[_0x58e4d7(0x1ba)],Ea=(_0x3942ed,_0x5ee26b,_0x379b56,_0x59514f)=>{const _0x212d93=_0x58e4d7;for(var _0x44ac4a=_0x59514f>0x1?void 0x0:_0x59514f?Ca(_0x5ee26b,_0x379b56):_0x5ee26b,_0x2ccf65=_0x3942ed[_0x212d93(0x418)]-0x1,_0x19b9a4;_0x2ccf65>=0x0;_0x2ccf65--)(_0x19b9a4=_0x3942ed[_0x2ccf65])&&(_0x44ac4a=(_0x59514f?_0x19b9a4(_0x5ee26b,_0x379b56,_0x44ac4a):_0x19b9a4(_0x44ac4a))||_0x44ac4a);return _0x59514f&&_0x44ac4a&&Ia(_0x5ee26b,_0x379b56,_0x44ac4a),_0x44ac4a;},zs=(_0x4048fa,_0x72ba4d)=>(_0x3989e9,_0x5c1e8c)=>_0x72ba4d(_0x3989e9,_0x5c1e8c,_0x4048fa);const ba='DEFAULT_FILE_NAME',Ta='Univer';let Et=class extends _0x24c9bf{constructor(_0x3484ba,_0x3cfb1e){const _0x54cc06=_0x58e4d7;super(),this[_0x54cc06(0x3c3)]=_0x3484ba,this['_configService']=_0x3cfb1e,this[_0x54cc06(0x499)]();}[_0x58e4d7(0x499)](){const _0x2587d3=_0x58e4d7;this[_0x2587d3(0x32a)](this['_univerInstanceService'][_0x2587d3(0x35e)][_0x2587d3(0x2df)](()=>{const _0x595a2a=_0x2587d3;var _0x23a841;const _0x1db1d3=this[_0x595a2a(0x3c3)][_0x595a2a(0x49b)]();let _0x2f2ac4=(_0x23a841=this[_0x595a2a(0x4e9)][_0x595a2a(0x4f3)](ba))!=null?_0x23a841:Ta;_0x1db1d3 instanceof _0x32b5a3&&(_0x2f2ac4=_0x1db1d3[_0x595a2a(0x164)]),document[_0x595a2a(0x45d)]=_0x2f2ac4;}));}};Et=Ea([zs(0x0,_0x17eff3),zs(0x1,_0x4bb278)],Et);var Ra=Object[_0x58e4d7(0x367)],ya=Object[_0x58e4d7(0x1ba)],Oa=(_0x1550ea,_0x3d8d2c,_0x5608ab,_0xa58880)=>{const _0x1cc70d=_0x58e4d7;for(var _0x24524e=_0xa58880>0x1?void 0x0:_0xa58880?ya(_0x3d8d2c,_0x5608ab):_0x3d8d2c,_0xf5467=_0x1550ea[_0x1cc70d(0x418)]-0x1,_0x5e6b76;_0xf5467>=0x0;_0xf5467--)(_0x5e6b76=_0x1550ea[_0xf5467])&&(_0x24524e=(_0xa58880?_0x5e6b76(_0x3d8d2c,_0x5608ab,_0x24524e):_0x5e6b76(_0x24524e))||_0x24524e);return _0xa58880&&_0x24524e&&Ra(_0x3d8d2c,_0x5608ab,_0x24524e),_0x24524e;},Wt=(_0x49b25b,_0x2d8f65)=>(_0x54ae58,_0x35027e)=>_0x2d8f65(_0x54ae58,_0x35027e,_0x49b25b);let bt=class{constructor(_0xae139a,_0x3881b9,_0x34c06c){const _0xba5d24=_0x58e4d7;this[_0xba5d24(0x4e9)]=_0xae139a,this[_0xba5d24(0x254)]=_0x3881b9,this[_0xba5d24(0x3f9)]=_0x34c06c,this[_0xba5d24(0x474)]();}['init'](){const _0x591328=_0x58e4d7;this[_0x591328(0x254)][_0x591328(0x3a1)]({'priority':0x1,'interceptor':(_0x5720c5,_0x5c9c38)=>_0x5c9c38(_0x5720c5)[_0x591328(0x324)](_0x2511b3(async _0x581ad6=>{const _0x51718a=_0x591328,_0x1e2cad=_0x581ad6;if(_0x1e2cad['status']===0x191&&window[_0x51718a(0x2d3)](this['localeService']['t'](_0x51718a(0x1e6)))){const _0x3df02a=window[_0x51718a(0x187)](window['location'][_0x51718a(0x118)]);window[_0x51718a(0x28b)][_0x51718a(0x118)]=this[_0x51718a(0x234)]()+_0x51718a(0x1cc)+_0x3df02a;}return _0x1e2cad;}))});}[_0x58e4d7(0x234)](){const _0x18e405=_0x58e4d7;var _0x39cc88,_0x2100e2;const _0x43a009=this['_configService'][_0x18e405(0x4f3)](Ir),_0x1f0480=this['_configService'][_0x18e405(0x4f3)](ie);return(_0x2100e2=(_0x39cc88=_0x1f0480==null?void 0x0:_0x1f0480[_0x18e405(0x20f)])!=null?_0x39cc88:_0x43a009)!=null?_0x2100e2:Cr;}};bt=Oa([Wt(0x0,_0x4bb278),Wt(0x1,_0x22f9f7(_0x3f6ec6)),Wt(0x2,_0x22f9f7(_0x1c0183))],bt);var wa=Object['defineProperty'],Da=Object[_0x58e4d7(0x1ba)],Pa=(_0x5c3bb0,_0x62d4e3,_0x142de4,_0xf55460)=>{const _0x5a6f22=_0x58e4d7;for(var _0x54ce12=_0xf55460>0x1?void 0x0:_0xf55460?Da(_0x62d4e3,_0x142de4):_0x62d4e3,_0x5acc65=_0x5c3bb0[_0x5a6f22(0x418)]-0x1,_0x450247;_0x5acc65>=0x0;_0x5acc65--)(_0x450247=_0x5c3bb0[_0x5acc65])&&(_0x54ce12=(_0xf55460?_0x450247(_0x62d4e3,_0x142de4,_0x54ce12):_0x450247(_0x54ce12))||_0x54ce12);return _0xf55460&&_0x54ce12&&wa(_0x62d4e3,_0x142de4,_0x54ce12),_0x54ce12;},qs=(_0x128a32,_0x290a85)=>(_0x3b9e9c,_0x44525e)=>_0x290a85(_0x3b9e9c,_0x44525e,_0x128a32);const Ua='AUTHZ_URL_KEY',Na=_0x58e4d7(0x48b);let cs=class extends _0x24c9bf{constructor(_0x43995a,_0x4970df){super(),this['_HTTPService']=_0x43995a,this['_configService']=_0x4970df,this['_initMergeInterceptor']();}[_0x58e4d7(0x1d8)](){const _0xa34b8b=_0x58e4d7,_0x515fb7=this;this[_0xa34b8b(0x32a)](this[_0xa34b8b(0x403)][_0xa34b8b(0x3a1)]({'priority':0x3e7,'interceptor':_0x363397({'isMatch'(_0x576ca9){const _0x14ec1b=_0xa34b8b;var _0x51dbf7;if(_0x576ca9[_0x14ec1b(0x325)]===_0x14ec1b(0x2ed)&&((_0x51dbf7=_0x576ca9[_0x14ec1b(0x221)])!=null&&_0x51dbf7[_0x14ec1b(0x2b1)])){const {objectID:_0x161d11,objectType:_0xcf2cc2}=_0x576ca9[_0x14ec1b(0x221)][_0x14ec1b(0x2b1)]||{};if(!_0x161d11||_0xcf2cc2===void 0x0)return!0x1;const _0x160df9=_0x515fb7[_0x14ec1b(0x493)]()+'/'+_0xcf2cc2+_0x14ec1b(0x46c)+_0x161d11+_0x14ec1b(0x1f4);if(_0x576ca9['url']===_0x160df9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3f6919){const _0x17a38c=_0xa34b8b;var _0x573ff0;return(_0x573ff0=_0x3f6919[_0x17a38c(0x221)])==null?void 0x0:_0x573ff0['body'];},'mergeParamsToRequest'(_0x3dbd41,_0x1b32c4){const _0x70d9c1=_0xa34b8b,_0x55c9bf=_0x515fb7['_getAPIPrefixPath']()+_0x70d9c1(0x210),_0x3abf6d=_0x3dbd41[_0x70d9c1(0x2e4)]((_0x2900d0,_0x173a72)=>{const _0x41e77e=_0x70d9c1,{unitID:_0x2684b0,objectID:_0x4ad112,objectType:_0x4684af,actions:_0x57bb12}=_0x173a72;return _0x2900d0[_0x2684b0]||(_0x2900d0[_0x2684b0]={}),_0x2900d0[_0x2684b0][_0x4ad112]||(_0x2900d0[_0x2684b0][_0x4ad112]={'objectID':_0x4ad112,'objectType':_0x4684af,'actions':[]}),_0x2900d0[_0x2684b0][_0x4ad112][_0x41e77e(0x4e1)][_0x41e77e(0x47e)](..._0x57bb12),_0x2900d0;},{}),_0x39ff69=[];for(const _0x570f58 in _0x3abf6d)for(const _0xb2957e in _0x3abf6d[_0x570f58]){const {actions:_0x4accc9,objectType:_0x186c5c}=_0x3abf6d[_0x570f58][_0xb2957e],_0x3f9c48=[...new Set(_0x4accc9)];_0x39ff69[_0x70d9c1(0x47e)]({'unitID':_0x570f58,'objectID':_0xb2957e,'objectType':_0x186c5c,'actions':_0x3f9c48});}return new _0x4b4cfe(_0x70d9c1(0x2ed),_0x55c9bf,{'headers':_0x1b32c4[_0x70d9c1(0x23d)],'withCredentials':_0x1b32c4[_0x70d9c1(0x2d8)],'responseType':_0x1b32c4[_0x70d9c1(0x151)],'body':{'requests':_0x39ff69}});}},{'distributeResult'(_0x20609b,_0x3e01c1){const _0x411110=_0xa34b8b,{objectActions:_0x1494a6}=_0x20609b;return _0x3e01c1[_0x411110(0x3eb)](_0x516e51=>{const _0x1207ca=_0x411110,{unitID:_0x44d67f,objectID:_0xba6a2d,actions:_0x3b271a}=_0x516e51,_0x38e454=_0x1494a6[_0x1207ca(0x386)](_0xa413c0=>_0xa413c0['unitID']===_0x44d67f&&_0xa413c0[_0x1207ca(0x293)]===_0xba6a2d),_0x5ea027=_0x3b271a[_0x1207ca(0x3eb)](_0x2fdf91=>_0x38e454==null?void 0x0:_0x38e454[_0x1207ca(0x4e1)][_0x1207ca(0x386)](_0x144b2a=>_0x144b2a['action']===_0x2fdf91))[_0x1207ca(0x3fa)](_0x3bb631=>!!_0x3bb631);return{'config':_0x516e51,'result':{'actions':_0x5ea027,'error':_0x20609b['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x92bb61=_0x58e4d7;var _0x5ae3bb,_0x406594;const _0x12789f=this[_0x92bb61(0x4e9)][_0x92bb61(0x4f3)](Ua),_0x587581=this['_configService'][_0x92bb61(0x4f3)](ie);return(_0x406594=(_0x5ae3bb=_0x587581==null?void 0x0:_0x587581[_0x92bb61(0x4a0)])!=null?_0x5ae3bb:_0x12789f)!=null?_0x406594:Na;}async['create'](_0x2e4bbb){const _0x1deb2b=_0x58e4d7,_0x3aba1d=this[_0x1deb2b(0x493)]()+'/'+_0x2e4bbb['objectType']+_0x1deb2b(0x3b1);return(await this[_0x1deb2b(0x403)]['post'](_0x3aba1d,{'body':_0x2e4bbb}))[_0x1deb2b(0x2b1)][_0x1deb2b(0x293)]||'';}async[_0x58e4d7(0x157)](_0x5b6396){const _0x14f0fe=_0x58e4d7,_0x405e6b=this['_getAPIPrefixPath']()+_0x14f0fe(0x350);return(await this[_0x14f0fe(0x403)][_0x14f0fe(0x230)](_0x405e6b,{'body':_0x5b6396}))[_0x14f0fe(0x2b1)][_0x14f0fe(0x355)];}async[_0x58e4d7(0x35c)](_0x5b738b){const _0x2b942a=_0x58e4d7,_0x4eb441=this[_0x2b942a(0x493)]()+'/'+_0x5b738b['objectType']+_0x2b942a(0x46c)+_0x5b738b[_0x2b942a(0x293)];await this[_0x2b942a(0x403)]['put'](_0x4eb441,{'body':_0x5b738b});}async[_0x58e4d7(0x275)](_0x275538){const _0x5c7be9=_0x58e4d7,_0x5da2e8=this[_0x5c7be9(0x493)]()+'/'+_0x275538[_0x5c7be9(0x33f)]+_0x5c7be9(0x46c)+_0x275538[_0x5c7be9(0x293)]+_0x5c7be9(0x1f4);return(await this[_0x5c7be9(0x403)][_0x5c7be9(0x230)](_0x5da2e8,{'body':_0x275538}))['body'][_0x5c7be9(0x4e1)];}async[_0x58e4d7(0x128)](_0x2c56ea){const _0x2c95a2=_0x58e4d7,_0x516ae4=this[_0x2c95a2(0x493)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x2c95a2(0x230)](_0x516ae4,{'body':{'requests':_0x2c56ea}}))['body']['objectActions'];}async['listRoles'](_0x477ae8){const _0x40757c=_0x58e4d7,_0x2eea55=this['_getAPIPrefixPath']()+'/'+_0x477ae8['objectType']+'/role',_0x1a2523=await this['_HTTPService'][_0x40757c(0x230)](_0x2eea55,{'body':_0x477ae8});return{'roles':_0x1a2523[_0x40757c(0x2b1)][_0x40757c(0x23c)],'actions':_0x1a2523[_0x40757c(0x2b1)][_0x40757c(0x4e1)]};}async[_0x58e4d7(0x241)](_0x40e617){const _0x326764=_0x58e4d7,_0x58036a=this[_0x326764(0x493)]()+'/collaborator';await this[_0x326764(0x403)]['delete'](_0x58036a,{'params':{'collaboratorID':_0x40e617[_0x326764(0x2c4)],'objectID':_0x40e617[_0x326764(0x293)],'unitID':_0x40e617[_0x326764(0x214)]}});}async[_0x58e4d7(0x4ba)](_0x1a1e72){const _0x4bf16e=_0x58e4d7,_0x35af55=this['_getAPIPrefixPath']()+_0x4bf16e(0x443);await this[_0x4bf16e(0x403)][_0x4bf16e(0xf9)](_0x35af55,{'body':_0x1a1e72});}async[_0x58e4d7(0x24e)](_0x3a2de4){const _0x14bdfd=_0x58e4d7,_0x43535c=this[_0x14bdfd(0x493)]()+_0x14bdfd(0x443);await this['_HTTPService'][_0x14bdfd(0x230)](_0x43535c,{'body':_0x3a2de4});}async[_0x58e4d7(0x2c9)](_0x437f0a){const _0x231478=_0x58e4d7,_0x41d990=this[_0x231478(0x493)]()+_0x231478(0x443);return(await this[_0x231478(0x403)]['get'](_0x41d990,{'params':{'objectID':_0x437f0a[_0x231478(0x293)],'unitID':_0x437f0a[_0x231478(0x214)]}}))[_0x231478(0x2b1)]['collaborators'];}async[_0x58e4d7(0x340)](_0x451972){const _0x25daa3=_0x58e4d7,_0x5c7d9d=this[_0x25daa3(0x493)]()+_0x25daa3(0x443);await this[_0x25daa3(0x403)][_0x25daa3(0x2c2)](_0x5c7d9d,{'body':_0x451972});}};cs=Pa([qs(0x0,_0x22f9f7(_0x3f6ec6)),qs(0x1,_0x22f9f7(_0x4bb278))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x322245){const _0x1ad2b7=_0x58e4d7;return _0x322245&&_0x322245[_0x1ad2b7(0x420)]&&Object['prototype']['hasOwnProperty'][_0x1ad2b7(0x22f)](_0x322245,'default')?_0x322245[_0x1ad2b7(0x1a4)]:_0x322245;}var ji={'exports':{}};function Aa(_0x4202e9){const _0x143dee=_0x58e4d7;throw new Error(_0x143dee(0x498)+_0x4202e9+'\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(){return Xs||(Xs=0x1,function(_0x1f282b,_0x33cea1){(function(_0x3b6a7e,_0xad47f5){const _0x27e8ec=_0x4c2c;_0x1f282b[_0x27e8ec(0x25d)]=_0xad47f5();}(Z,function(){var _0x3c52c5=_0x3c52c5||function(_0x43883c,_0x334750){const _0x3ac920=_0x4c2c;var _0x2e5fe7;if(typeof window<'u'&&window[_0x3ac920(0x448)]&&(_0x2e5fe7=window[_0x3ac920(0x448)]),typeof self<'u'&&self['crypto']&&(_0x2e5fe7=self[_0x3ac920(0x448)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2e5fe7=globalThis[_0x3ac920(0x448)]),!_0x2e5fe7&&typeof window<'u'&&window[_0x3ac920(0x508)]&&(_0x2e5fe7=window['msCrypto']),!_0x2e5fe7&&typeof Z<'u'&&Z[_0x3ac920(0x448)]&&(_0x2e5fe7=Z[_0x3ac920(0x448)]),!_0x2e5fe7&&typeof Aa==_0x3ac920(0x1c2))try{_0x2e5fe7=require(_0x3ac920(0x448));}catch{}var _0x54e212=function(){const _0x1bec13=_0x3ac920;if(_0x2e5fe7){if(typeof _0x2e5fe7[_0x1bec13(0x2b0)]==_0x1bec13(0x1c2))try{return _0x2e5fe7[_0x1bec13(0x2b0)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2e5fe7[_0x1bec13(0x142)]==_0x1bec13(0x1c2))try{return _0x2e5fe7[_0x1bec13(0x142)](0x4)[_0x1bec13(0x23e)]();}catch{}}throw new Error(_0x1bec13(0x2b2));},_0x310195=Object[_0x3ac920(0x485)]||(function(){function _0x53bc66(){}return function(_0x5d076f){var _0x262bda;return _0x53bc66['prototype']=_0x5d076f,_0x262bda=new _0x53bc66(),_0x53bc66['prototype']=null,_0x262bda;};}()),_0x21408e={},_0x5b1f28=_0x21408e[_0x3ac920(0x382)]={},_0x3b5f04=_0x5b1f28[_0x3ac920(0x48c)]=(function(){return{'extend':function(_0xc4fadb){const _0x2b7d1b=_0x4c2c;var _0x993399=_0x310195(this);return _0xc4fadb&&_0x993399[_0x2b7d1b(0x383)](_0xc4fadb),(!_0x993399[_0x2b7d1b(0x1b3)]('init')||this['init']===_0x993399[_0x2b7d1b(0x474)])&&(_0x993399[_0x2b7d1b(0x474)]=function(){const _0x46ac7b=_0x2b7d1b;_0x993399[_0x46ac7b(0x2ac)][_0x46ac7b(0x474)]['apply'](this,arguments);}),_0x993399[_0x2b7d1b(0x474)][_0x2b7d1b(0x502)]=_0x993399,_0x993399[_0x2b7d1b(0x2ac)]=this,_0x993399;},'create':function(){const _0x449019=_0x4c2c;var _0x47ff49=this[_0x449019(0x396)]();return _0x47ff49[_0x449019(0x474)][_0x449019(0x3e6)](_0x47ff49,arguments),_0x47ff49;},'init':function(){},'mixIn':function(_0x208f44){const _0x207104=_0x4c2c;for(var _0x57bdb5 in _0x208f44)_0x208f44[_0x207104(0x1b3)](_0x57bdb5)&&(this[_0x57bdb5]=_0x208f44[_0x57bdb5]);_0x208f44[_0x207104(0x1b3)]('toString')&&(this[_0x207104(0x22b)]=_0x208f44['toString']);},'clone':function(){const _0x1ba889=_0x4c2c;return this['init'][_0x1ba889(0x502)][_0x1ba889(0x396)](this);}};}()),_0x5c2047=_0x5b1f28[_0x3ac920(0x4e2)]=_0x3b5f04[_0x3ac920(0x396)]({'init':function(_0x1426fe,_0x25b1cc){const _0x54d36a=_0x3ac920;_0x1426fe=this[_0x54d36a(0x2d6)]=_0x1426fe||[],_0x25b1cc!=_0x334750?this[_0x54d36a(0x411)]=_0x25b1cc:this['sigBytes']=_0x1426fe[_0x54d36a(0x418)]*0x4;},'toString':function(_0x88e8c0){return(_0x88e8c0||_0x4ea78d)['stringify'](this);},'concat':function(_0x410d9d){const _0x6ec318=_0x3ac920;var _0x5b521c=this[_0x6ec318(0x2d6)],_0x4c8147=_0x410d9d['words'],_0x4189ee=this[_0x6ec318(0x411)],_0x2b1af6=_0x410d9d['sigBytes'];if(this[_0x6ec318(0x339)](),_0x4189ee%0x4)for(var _0x3d6921=0x0;_0x3d6921<_0x2b1af6;_0x3d6921++){var _0x24f7b1=_0x4c8147[_0x3d6921>>>0x2]>>>0x18-_0x3d6921%0x4*0x8&0xff;_0x5b521c[_0x4189ee+_0x3d6921>>>0x2]|=_0x24f7b1<<0x18-(_0x4189ee+_0x3d6921)%0x4*0x8;}else{for(var _0x1892ed=0x0;_0x1892ed<_0x2b1af6;_0x1892ed+=0x4)_0x5b521c[_0x4189ee+_0x1892ed>>>0x2]=_0x4c8147[_0x1892ed>>>0x2];}return this[_0x6ec318(0x411)]+=_0x2b1af6,this;},'clamp':function(){const _0x3b4c73=_0x3ac920;var _0x1dedad=this[_0x3b4c73(0x2d6)],_0x59f4be=this['sigBytes'];_0x1dedad[_0x59f4be>>>0x2]&=0xffffffff<<0x20-_0x59f4be%0x4*0x8,_0x1dedad['length']=_0x43883c[_0x3b4c73(0x3b3)](_0x59f4be/0x4);},'clone':function(){const _0x27cfa1=_0x3ac920;var _0x153a34=_0x3b5f04[_0x27cfa1(0x3f7)]['call'](this);return _0x153a34[_0x27cfa1(0x2d6)]=this[_0x27cfa1(0x2d6)][_0x27cfa1(0x2d4)](0x0),_0x153a34;},'random':function(_0x57bcea){const _0x379c0a=_0x3ac920;for(var _0x10da9a=[],_0x26f1f3=0x0;_0x26f1f3<_0x57bcea;_0x26f1f3+=0x4)_0x10da9a[_0x379c0a(0x47e)](_0x54e212());return new _0x5c2047[(_0x379c0a(0x474))](_0x10da9a,_0x57bcea);}}),_0x25e701=_0x21408e[_0x3ac920(0x333)]={},_0x4ea78d=_0x25e701['Hex']={'stringify':function(_0x25aa46){const _0x2c92e2=_0x3ac920;for(var _0x14874d=_0x25aa46[_0x2c92e2(0x2d6)],_0x1e02f4=_0x25aa46[_0x2c92e2(0x411)],_0x1efb1e=[],_0x33d6ba=0x0;_0x33d6ba<_0x1e02f4;_0x33d6ba++){var _0x3e2cd2=_0x14874d[_0x33d6ba>>>0x2]>>>0x18-_0x33d6ba%0x4*0x8&0xff;_0x1efb1e[_0x2c92e2(0x47e)]((_0x3e2cd2>>>0x4)['toString'](0x10)),_0x1efb1e[_0x2c92e2(0x47e)]((_0x3e2cd2&0xf)[_0x2c92e2(0x22b)](0x10));}return _0x1efb1e['join']('');},'parse':function(_0x2c7d43){const _0x31fb4e=_0x3ac920;for(var _0xd00703=_0x2c7d43['length'],_0x5d35eb=[],_0x577064=0x0;_0x577064<_0xd00703;_0x577064+=0x2)_0x5d35eb[_0x577064>>>0x3]|=parseInt(_0x2c7d43[_0x31fb4e(0x321)](_0x577064,0x2),0x10)<<0x18-_0x577064%0x8*0x4;return new _0x5c2047[(_0x31fb4e(0x474))](_0x5d35eb,_0xd00703/0x2);}},_0x193f34=_0x25e701[_0x3ac920(0x399)]={'stringify':function(_0x4f1275){const _0x5d1b74=_0x3ac920;for(var _0x1c01d0=_0x4f1275[_0x5d1b74(0x2d6)],_0x1d671d=_0x4f1275[_0x5d1b74(0x411)],_0x526d3=[],_0x388776=0x0;_0x388776<_0x1d671d;_0x388776++){var _0x1bd1bb=_0x1c01d0[_0x388776>>>0x2]>>>0x18-_0x388776%0x4*0x8&0xff;_0x526d3[_0x5d1b74(0x47e)](String[_0x5d1b74(0x194)](_0x1bd1bb));}return _0x526d3[_0x5d1b74(0x2cc)]('');},'parse':function(_0xde2405){const _0x256232=_0x3ac920;for(var _0xf5a5fa=_0xde2405[_0x256232(0x418)],_0x41cc79=[],_0x269ce3=0x0;_0x269ce3<_0xf5a5fa;_0x269ce3++)_0x41cc79[_0x269ce3>>>0x2]|=(_0xde2405['charCodeAt'](_0x269ce3)&0xff)<<0x18-_0x269ce3%0x4*0x8;return new _0x5c2047[(_0x256232(0x474))](_0x41cc79,_0xf5a5fa);}},_0x39caa6=_0x25e701[_0x3ac920(0x3cc)]={'stringify':function(_0x584304){const _0x26a995=_0x3ac920;try{return decodeURIComponent(escape(_0x193f34[_0x26a995(0x152)](_0x584304)));}catch{throw new Error(_0x26a995(0x1d5));}},'parse':function(_0x11fb77){const _0x4bc457=_0x3ac920;return _0x193f34[_0x4bc457(0x3ae)](unescape(encodeURIComponent(_0x11fb77)));}},_0x18429c=_0x5b1f28[_0x3ac920(0x13b)]=_0x3b5f04['extend']({'reset':function(){const _0x2566d5=_0x3ac920;this[_0x2566d5(0x34a)]=new _0x5c2047[(_0x2566d5(0x474))](),this[_0x2566d5(0x182)]=0x0;},'_append':function(_0x4de13d){const _0xa663ba=_0x3ac920;typeof _0x4de13d==_0xa663ba(0x4a9)&&(_0x4de13d=_0x39caa6[_0xa663ba(0x3ae)](_0x4de13d)),this[_0xa663ba(0x34a)][_0xa663ba(0x37c)](_0x4de13d),this[_0xa663ba(0x182)]+=_0x4de13d[_0xa663ba(0x411)];},'_process':function(_0xb02f3b){const _0x1b6843=_0x3ac920;var _0x42025e,_0x333fe8=this[_0x1b6843(0x34a)],_0xa070b0=_0x333fe8[_0x1b6843(0x2d6)],_0x5ea34e=_0x333fe8[_0x1b6843(0x411)],_0x68fc23=this[_0x1b6843(0x16b)],_0x496d73=_0x68fc23*0x4,_0x27e0a6=_0x5ea34e/_0x496d73;_0xb02f3b?_0x27e0a6=_0x43883c[_0x1b6843(0x3b3)](_0x27e0a6):_0x27e0a6=_0x43883c[_0x1b6843(0x106)]((_0x27e0a6|0x0)-this[_0x1b6843(0x4a4)],0x0);var _0x480ea5=_0x27e0a6*_0x68fc23,_0x1eede7=_0x43883c[_0x1b6843(0x47b)](_0x480ea5*0x4,_0x5ea34e);if(_0x480ea5){for(var _0x265621=0x0;_0x265621<_0x480ea5;_0x265621+=_0x68fc23)this[_0x1b6843(0x4db)](_0xa070b0,_0x265621);_0x42025e=_0xa070b0[_0x1b6843(0x251)](0x0,_0x480ea5),_0x333fe8[_0x1b6843(0x411)]-=_0x1eede7;}return new _0x5c2047[(_0x1b6843(0x474))](_0x42025e,_0x1eede7);},'clone':function(){const _0x4cb9aa=_0x3ac920;var _0x44f044=_0x3b5f04[_0x4cb9aa(0x3f7)]['call'](this);return _0x44f044['_data']=this[_0x4cb9aa(0x34a)][_0x4cb9aa(0x3f7)](),_0x44f044;},'_minBufferSize':0x0});_0x5b1f28['Hasher']=_0x18429c[_0x3ac920(0x396)]({'cfg':_0x3b5f04[_0x3ac920(0x396)](),'init':function(_0x480571){const _0x4df859=_0x3ac920;this[_0x4df859(0x146)]=this[_0x4df859(0x146)]['extend'](_0x480571),this[_0x4df859(0x13d)]();},'reset':function(){const _0x206ded=_0x3ac920;_0x18429c[_0x206ded(0x13d)][_0x206ded(0x22f)](this),this['_doReset']();},'update':function(_0x1437bc){const _0x164b3f=_0x3ac920;return this[_0x164b3f(0x103)](_0x1437bc),this[_0x164b3f(0x4c6)](),this;},'finalize':function(_0x9ffd75){_0x9ffd75&&this['_append'](_0x9ffd75);var _0x56c330=this['_doFinalize']();return _0x56c330;},'blockSize':0x10,'_createHelper':function(_0x3400ef){return function(_0x2828cd,_0x2dbb32){const _0x5e096e=_0x4c2c;return new _0x3400ef['init'](_0x2dbb32)[_0x5e096e(0x24f)](_0x2828cd);};},'_createHmacHelper':function(_0x3a90f6){return function(_0xf41e7e,_0x29ea17){const _0x49624c=_0x4c2c;return new _0x308b7b[(_0x49624c(0x381))][(_0x49624c(0x474))](_0x3a90f6,_0x29ea17)[_0x49624c(0x24f)](_0xf41e7e);};}});var _0x308b7b=_0x21408e[_0x3ac920(0x3ac)]={};return _0x21408e;}(Math);return _0x3c52c5;}));}(Ft)),Ft['exports'];}var Vt={'exports':{}},Js;function Bi(){const _0x28a826=_0x58e4d7;return Js||(Js=0x1,function(_0x160e1d,_0x338218){(function(_0x5b215a,_0x561402){_0x160e1d['exports']=_0x561402(ue());}(Z,function(_0x227da6){const _0x56b3f6=_0x4c2c;return(function(){const _0x520597=_0x4c2c;var _0xcbcb02=_0x227da6,_0x76e7ab=_0xcbcb02[_0x520597(0x382)],_0x25f7e3=_0x76e7ab[_0x520597(0x4e2)],_0x214f6a=_0xcbcb02['enc'];_0x214f6a[_0x520597(0x40c)]={'stringify':function(_0xdf5a8e){const _0xa6cd38=_0x520597;var _0x1d533c=_0xdf5a8e[_0xa6cd38(0x2d6)],_0x2e2ab2=_0xdf5a8e[_0xa6cd38(0x411)],_0x26b13f=this['_map'];_0xdf5a8e[_0xa6cd38(0x339)]();for(var _0x173ec0=[],_0xb99569=0x0;_0xb99569<_0x2e2ab2;_0xb99569+=0x3)for(var _0x54eaa6=_0x1d533c[_0xb99569>>>0x2]>>>0x18-_0xb99569%0x4*0x8&0xff,_0x33b885=_0x1d533c[_0xb99569+0x1>>>0x2]>>>0x18-(_0xb99569+0x1)%0x4*0x8&0xff,_0xe70a79=_0x1d533c[_0xb99569+0x2>>>0x2]>>>0x18-(_0xb99569+0x2)%0x4*0x8&0xff,_0x3b1248=_0x54eaa6<<0x10|_0x33b885<<0x8|_0xe70a79,_0x394ac3=0x0;_0x394ac3<0x4&&_0xb99569+_0x394ac3*0.75<_0x2e2ab2;_0x394ac3++)_0x173ec0[_0xa6cd38(0x47e)](_0x26b13f['charAt'](_0x3b1248>>>0x6*(0x3-_0x394ac3)&0x3f));var _0xa7d6c2=_0x26b13f['charAt'](0x40);if(_0xa7d6c2){for(;_0x173ec0[_0xa6cd38(0x418)]%0x4;)_0x173ec0[_0xa6cd38(0x47e)](_0xa7d6c2);}return _0x173ec0[_0xa6cd38(0x2cc)]('');},'parse':function(_0x5977b3){const _0x31adc3=_0x520597;var _0x43395a=_0x5977b3[_0x31adc3(0x418)],_0x24e106=this[_0x31adc3(0x35a)],_0x44b4d9=this[_0x31adc3(0x3bd)];if(!_0x44b4d9){_0x44b4d9=this[_0x31adc3(0x3bd)]=[];for(var _0x180936=0x0;_0x180936<_0x24e106[_0x31adc3(0x418)];_0x180936++)_0x44b4d9[_0x24e106['charCodeAt'](_0x180936)]=_0x180936;}var _0x56da27=_0x24e106['charAt'](0x40);if(_0x56da27){var _0x256ff9=_0x5977b3[_0x31adc3(0x40a)](_0x56da27);_0x256ff9!==-0x1&&(_0x43395a=_0x256ff9);}return _0x5549a0(_0x5977b3,_0x43395a,_0x44b4d9);},'_map':_0x520597(0x3dc)};function _0x5549a0(_0x405cf8,_0x95cde2,_0x472d2e){const _0x24d910=_0x520597;for(var _0x5cae7f=[],_0x389659=0x0,_0x125819=0x0;_0x125819<_0x95cde2;_0x125819++)if(_0x125819%0x4){var _0x2b4dce=_0x472d2e[_0x405cf8[_0x24d910(0x2b6)](_0x125819-0x1)]<<_0x125819%0x4*0x2,_0x19d6f3=_0x472d2e[_0x405cf8[_0x24d910(0x2b6)](_0x125819)]>>>0x6-_0x125819%0x4*0x2,_0xa8ae71=_0x2b4dce|_0x19d6f3;_0x5cae7f[_0x389659>>>0x2]|=_0xa8ae71<<0x18-_0x389659%0x4*0x8,_0x389659++;}return _0x25f7e3[_0x24d910(0x485)](_0x5cae7f,_0x389659);}}()),_0x227da6[_0x56b3f6(0x333)][_0x56b3f6(0x40c)];}));}(Vt)),Vt[_0x28a826(0x25d)];}var Gt={'exports':{}},Zs;function Ma(){const _0x18f57c=_0x58e4d7;return Zs||(Zs=0x1,function(_0x5bbff1,_0xfc7f71){(function(_0x2ca752,_0x191351){const _0x5dc6ef=_0x4c2c;_0x5bbff1[_0x5dc6ef(0x25d)]=_0x191351(ue());}(Z,function(_0x4109a3){return function(_0x3e0563){const _0x2e9731=_0x4c2c;var _0x3ce0c0=_0x4109a3,_0x4b9c92=_0x3ce0c0['lib'],_0x5afefc=_0x4b9c92[_0x2e9731(0x4e2)],_0x498e13=_0x4b9c92[_0x2e9731(0x49a)],_0x2bd2c4=_0x3ce0c0[_0x2e9731(0x3ac)],_0x40417f=[];(function(){const _0x426327=_0x2e9731;for(var _0x1acd46=0x0;_0x1acd46<0x40;_0x1acd46++)_0x40417f[_0x1acd46]=_0x3e0563[_0x426327(0x16e)](_0x3e0563[_0x426327(0x1f6)](_0x1acd46+0x1))*0x100000000|0x0;}());var _0x2422e2=_0x2bd2c4[_0x2e9731(0x15e)]=_0x498e13[_0x2e9731(0x396)]({'_doReset':function(){const _0x363df1=_0x2e9731;this[_0x363df1(0x1ea)]=new _0x5afefc[(_0x363df1(0x474))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2f6161,_0x15de64){const _0x4c4480=_0x2e9731;for(var _0x310a92=0x0;_0x310a92<0x10;_0x310a92++){var _0x50970a=_0x15de64+_0x310a92,_0x3c5ebd=_0x2f6161[_0x50970a];_0x2f6161[_0x50970a]=(_0x3c5ebd<<0x8|_0x3c5ebd>>>0x18)&0xff00ff|(_0x3c5ebd<<0x18|_0x3c5ebd>>>0x8)&0xff00ff00;}var _0x346815=this[_0x4c4480(0x1ea)][_0x4c4480(0x2d6)],_0x44c65c=_0x2f6161[_0x15de64+0x0],_0x271f29=_0x2f6161[_0x15de64+0x1],_0x63fc04=_0x2f6161[_0x15de64+0x2],_0x87160e=_0x2f6161[_0x15de64+0x3],_0x387289=_0x2f6161[_0x15de64+0x4],_0x1c44a3=_0x2f6161[_0x15de64+0x5],_0x256400=_0x2f6161[_0x15de64+0x6],_0x4d752b=_0x2f6161[_0x15de64+0x7],_0x568156=_0x2f6161[_0x15de64+0x8],_0x459de1=_0x2f6161[_0x15de64+0x9],_0x3889fd=_0x2f6161[_0x15de64+0xa],_0x2e187f=_0x2f6161[_0x15de64+0xb],_0x56c5fa=_0x2f6161[_0x15de64+0xc],_0xac4529=_0x2f6161[_0x15de64+0xd],_0x93e396=_0x2f6161[_0x15de64+0xe],_0xfc6967=_0x2f6161[_0x15de64+0xf],_0x3b25cd=_0x346815[0x0],_0x1897c5=_0x346815[0x1],_0x3410c9=_0x346815[0x2],_0x3b5f20=_0x346815[0x3];_0x3b25cd=_0x12dab7(_0x3b25cd,_0x1897c5,_0x3410c9,_0x3b5f20,_0x44c65c,0x7,_0x40417f[0x0]),_0x3b5f20=_0x12dab7(_0x3b5f20,_0x3b25cd,_0x1897c5,_0x3410c9,_0x271f29,0xc,_0x40417f[0x1]),_0x3410c9=_0x12dab7(_0x3410c9,_0x3b5f20,_0x3b25cd,_0x1897c5,_0x63fc04,0x11,_0x40417f[0x2]),_0x1897c5=_0x12dab7(_0x1897c5,_0x3410c9,_0x3b5f20,_0x3b25cd,_0x87160e,0x16,_0x40417f[0x3]),_0x3b25cd=_0x12dab7(_0x3b25cd,_0x1897c5,_0x3410c9,_0x3b5f20,_0x387289,0x7,_0x40417f[0x4]),_0x3b5f20=_0x12dab7(_0x3b5f20,_0x3b25cd,_0x1897c5,_0x3410c9,_0x1c44a3,0xc,_0x40417f[0x5]),_0x3410c9=_0x12dab7(_0x3410c9,_0x3b5f20,_0x3b25cd,_0x1897c5,_0x256400,0x11,_0x40417f[0x6]),_0x1897c5=_0x12dab7(_0x1897c5,_0x3410c9,_0x3b5f20,_0x3b25cd,_0x4d752b,0x16,_0x40417f[0x7]),_0x3b25cd=_0x12dab7(_0x3b25cd,_0x1897c5,_0x3410c9,_0x3b5f20,_0x568156,0x7,_0x40417f[0x8]),_0x3b5f20=_0x12dab7(_0x3b5f20,_0x3b25cd,_0x1897c5,_0x3410c9,_0x459de1,0xc,_0x40417f[0x9]),_0x3410c9=_0x12dab7(_0x3410c9,_0x3b5f20,_0x3b25cd,_0x1897c5,_0x3889fd,0x11,_0x40417f[0xa]),_0x1897c5=_0x12dab7(_0x1897c5,_0x3410c9,_0x3b5f20,_0x3b25cd,_0x2e187f,0x16,_0x40417f[0xb]),_0x3b25cd=_0x12dab7(_0x3b25cd,_0x1897c5,_0x3410c9,_0x3b5f20,_0x56c5fa,0x7,_0x40417f[0xc]),_0x3b5f20=_0x12dab7(_0x3b5f20,_0x3b25cd,_0x1897c5,_0x3410c9,_0xac4529,0xc,_0x40417f[0xd]),_0x3410c9=_0x12dab7(_0x3410c9,_0x3b5f20,_0x3b25cd,_0x1897c5,_0x93e396,0x11,_0x40417f[0xe]),_0x1897c5=_0x12dab7(_0x1897c5,_0x3410c9,_0x3b5f20,_0x3b25cd,_0xfc6967,0x16,_0x40417f[0xf]),_0x3b25cd=_0x20005a(_0x3b25cd,_0x1897c5,_0x3410c9,_0x3b5f20,_0x271f29,0x5,_0x40417f[0x10]),_0x3b5f20=_0x20005a(_0x3b5f20,_0x3b25cd,_0x1897c5,_0x3410c9,_0x256400,0x9,_0x40417f[0x11]),_0x3410c9=_0x20005a(_0x3410c9,_0x3b5f20,_0x3b25cd,_0x1897c5,_0x2e187f,0xe,_0x40417f[0x12]),_0x1897c5=_0x20005a(_0x1897c5,_0x3410c9,_0x3b5f20,_0x3b25cd,_0x44c65c,0x14,_0x40417f[0x13]),_0x3b25cd=_0x20005a(_0x3b25cd,_0x1897c5,_0x3410c9,_0x3b5f20,_0x1c44a3,0x5,_0x40417f[0x14]),_0x3b5f20=_0x20005a(_0x3b5f20,_0x3b25cd,_0x1897c5,_0x3410c9,_0x3889fd,0x9,_0x40417f[0x15]),_0x3410c9=_0x20005a(_0x3410c9,_0x3b5f20,_0x3b25cd,_0x1897c5,_0xfc6967,0xe,_0x40417f[0x16]),_0x1897c5=_0x20005a(_0x1897c5,_0x3410c9,_0x3b5f20,_0x3b25cd,_0x387289,0x14,_0x40417f[0x17]),_0x3b25cd=_0x20005a(_0x3b25cd,_0x1897c5,_0x3410c9,_0x3b5f20,_0x459de1,0x5,_0x40417f[0x18]),_0x3b5f20=_0x20005a(_0x3b5f20,_0x3b25cd,_0x1897c5,_0x3410c9,_0x93e396,0x9,_0x40417f[0x19]),_0x3410c9=_0x20005a(_0x3410c9,_0x3b5f20,_0x3b25cd,_0x1897c5,_0x87160e,0xe,_0x40417f[0x1a]),_0x1897c5=_0x20005a(_0x1897c5,_0x3410c9,_0x3b5f20,_0x3b25cd,_0x568156,0x14,_0x40417f[0x1b]),_0x3b25cd=_0x20005a(_0x3b25cd,_0x1897c5,_0x3410c9,_0x3b5f20,_0xac4529,0x5,_0x40417f[0x1c]),_0x3b5f20=_0x20005a(_0x3b5f20,_0x3b25cd,_0x1897c5,_0x3410c9,_0x63fc04,0x9,_0x40417f[0x1d]),_0x3410c9=_0x20005a(_0x3410c9,_0x3b5f20,_0x3b25cd,_0x1897c5,_0x4d752b,0xe,_0x40417f[0x1e]),_0x1897c5=_0x20005a(_0x1897c5,_0x3410c9,_0x3b5f20,_0x3b25cd,_0x56c5fa,0x14,_0x40417f[0x1f]),_0x3b25cd=_0x541c2d(_0x3b25cd,_0x1897c5,_0x3410c9,_0x3b5f20,_0x1c44a3,0x4,_0x40417f[0x20]),_0x3b5f20=_0x541c2d(_0x3b5f20,_0x3b25cd,_0x1897c5,_0x3410c9,_0x568156,0xb,_0x40417f[0x21]),_0x3410c9=_0x541c2d(_0x3410c9,_0x3b5f20,_0x3b25cd,_0x1897c5,_0x2e187f,0x10,_0x40417f[0x22]),_0x1897c5=_0x541c2d(_0x1897c5,_0x3410c9,_0x3b5f20,_0x3b25cd,_0x93e396,0x17,_0x40417f[0x23]),_0x3b25cd=_0x541c2d(_0x3b25cd,_0x1897c5,_0x3410c9,_0x3b5f20,_0x271f29,0x4,_0x40417f[0x24]),_0x3b5f20=_0x541c2d(_0x3b5f20,_0x3b25cd,_0x1897c5,_0x3410c9,_0x387289,0xb,_0x40417f[0x25]),_0x3410c9=_0x541c2d(_0x3410c9,_0x3b5f20,_0x3b25cd,_0x1897c5,_0x4d752b,0x10,_0x40417f[0x26]),_0x1897c5=_0x541c2d(_0x1897c5,_0x3410c9,_0x3b5f20,_0x3b25cd,_0x3889fd,0x17,_0x40417f[0x27]),_0x3b25cd=_0x541c2d(_0x3b25cd,_0x1897c5,_0x3410c9,_0x3b5f20,_0xac4529,0x4,_0x40417f[0x28]),_0x3b5f20=_0x541c2d(_0x3b5f20,_0x3b25cd,_0x1897c5,_0x3410c9,_0x44c65c,0xb,_0x40417f[0x29]),_0x3410c9=_0x541c2d(_0x3410c9,_0x3b5f20,_0x3b25cd,_0x1897c5,_0x87160e,0x10,_0x40417f[0x2a]),_0x1897c5=_0x541c2d(_0x1897c5,_0x3410c9,_0x3b5f20,_0x3b25cd,_0x256400,0x17,_0x40417f[0x2b]),_0x3b25cd=_0x541c2d(_0x3b25cd,_0x1897c5,_0x3410c9,_0x3b5f20,_0x459de1,0x4,_0x40417f[0x2c]),_0x3b5f20=_0x541c2d(_0x3b5f20,_0x3b25cd,_0x1897c5,_0x3410c9,_0x56c5fa,0xb,_0x40417f[0x2d]),_0x3410c9=_0x541c2d(_0x3410c9,_0x3b5f20,_0x3b25cd,_0x1897c5,_0xfc6967,0x10,_0x40417f[0x2e]),_0x1897c5=_0x541c2d(_0x1897c5,_0x3410c9,_0x3b5f20,_0x3b25cd,_0x63fc04,0x17,_0x40417f[0x2f]),_0x3b25cd=_0x20ea2a(_0x3b25cd,_0x1897c5,_0x3410c9,_0x3b5f20,_0x44c65c,0x6,_0x40417f[0x30]),_0x3b5f20=_0x20ea2a(_0x3b5f20,_0x3b25cd,_0x1897c5,_0x3410c9,_0x4d752b,0xa,_0x40417f[0x31]),_0x3410c9=_0x20ea2a(_0x3410c9,_0x3b5f20,_0x3b25cd,_0x1897c5,_0x93e396,0xf,_0x40417f[0x32]),_0x1897c5=_0x20ea2a(_0x1897c5,_0x3410c9,_0x3b5f20,_0x3b25cd,_0x1c44a3,0x15,_0x40417f[0x33]),_0x3b25cd=_0x20ea2a(_0x3b25cd,_0x1897c5,_0x3410c9,_0x3b5f20,_0x56c5fa,0x6,_0x40417f[0x34]),_0x3b5f20=_0x20ea2a(_0x3b5f20,_0x3b25cd,_0x1897c5,_0x3410c9,_0x87160e,0xa,_0x40417f[0x35]),_0x3410c9=_0x20ea2a(_0x3410c9,_0x3b5f20,_0x3b25cd,_0x1897c5,_0x3889fd,0xf,_0x40417f[0x36]),_0x1897c5=_0x20ea2a(_0x1897c5,_0x3410c9,_0x3b5f20,_0x3b25cd,_0x271f29,0x15,_0x40417f[0x37]),_0x3b25cd=_0x20ea2a(_0x3b25cd,_0x1897c5,_0x3410c9,_0x3b5f20,_0x568156,0x6,_0x40417f[0x38]),_0x3b5f20=_0x20ea2a(_0x3b5f20,_0x3b25cd,_0x1897c5,_0x3410c9,_0xfc6967,0xa,_0x40417f[0x39]),_0x3410c9=_0x20ea2a(_0x3410c9,_0x3b5f20,_0x3b25cd,_0x1897c5,_0x256400,0xf,_0x40417f[0x3a]),_0x1897c5=_0x20ea2a(_0x1897c5,_0x3410c9,_0x3b5f20,_0x3b25cd,_0xac4529,0x15,_0x40417f[0x3b]),_0x3b25cd=_0x20ea2a(_0x3b25cd,_0x1897c5,_0x3410c9,_0x3b5f20,_0x387289,0x6,_0x40417f[0x3c]),_0x3b5f20=_0x20ea2a(_0x3b5f20,_0x3b25cd,_0x1897c5,_0x3410c9,_0x2e187f,0xa,_0x40417f[0x3d]),_0x3410c9=_0x20ea2a(_0x3410c9,_0x3b5f20,_0x3b25cd,_0x1897c5,_0x63fc04,0xf,_0x40417f[0x3e]),_0x1897c5=_0x20ea2a(_0x1897c5,_0x3410c9,_0x3b5f20,_0x3b25cd,_0x459de1,0x15,_0x40417f[0x3f]),_0x346815[0x0]=_0x346815[0x0]+_0x3b25cd|0x0,_0x346815[0x1]=_0x346815[0x1]+_0x1897c5|0x0,_0x346815[0x2]=_0x346815[0x2]+_0x3410c9|0x0,_0x346815[0x3]=_0x346815[0x3]+_0x3b5f20|0x0;},'_doFinalize':function(){const _0x1e5bad=_0x2e9731;var _0x3632ad=this['_data'],_0x538da9=_0x3632ad['words'],_0x51fc29=this[_0x1e5bad(0x182)]*0x8,_0x3db16=_0x3632ad[_0x1e5bad(0x411)]*0x8;_0x538da9[_0x3db16>>>0x5]|=0x80<<0x18-_0x3db16%0x20;var _0x3e2194=_0x3e0563[_0x1e5bad(0x505)](_0x51fc29/0x100000000),_0x4d284c=_0x51fc29;_0x538da9[(_0x3db16+0x40>>>0x9<<0x4)+0xf]=(_0x3e2194<<0x8|_0x3e2194>>>0x18)&0xff00ff|(_0x3e2194<<0x18|_0x3e2194>>>0x8)&0xff00ff00,_0x538da9[(_0x3db16+0x40>>>0x9<<0x4)+0xe]=(_0x4d284c<<0x8|_0x4d284c>>>0x18)&0xff00ff|(_0x4d284c<<0x18|_0x4d284c>>>0x8)&0xff00ff00,_0x3632ad[_0x1e5bad(0x411)]=(_0x538da9[_0x1e5bad(0x418)]+0x1)*0x4,this[_0x1e5bad(0x4c6)]();for(var _0x4cf4b2=this[_0x1e5bad(0x1ea)],_0x47ac4c=_0x4cf4b2[_0x1e5bad(0x2d6)],_0xee7e00=0x0;_0xee7e00<0x4;_0xee7e00++){var _0x1bcd15=_0x47ac4c[_0xee7e00];_0x47ac4c[_0xee7e00]=(_0x1bcd15<<0x8|_0x1bcd15>>>0x18)&0xff00ff|(_0x1bcd15<<0x18|_0x1bcd15>>>0x8)&0xff00ff00;}return _0x4cf4b2;},'clone':function(){const _0x2eb371=_0x2e9731;var _0x1b7bf5=_0x498e13[_0x2eb371(0x3f7)][_0x2eb371(0x22f)](this);return _0x1b7bf5['_hash']=this[_0x2eb371(0x1ea)][_0x2eb371(0x3f7)](),_0x1b7bf5;}});function _0x12dab7(_0x593400,_0x3cac3f,_0x3967a7,_0x21af14,_0x2dae8c,_0x50ebbc,_0x233c75){var _0x54dc85=_0x593400+(_0x3cac3f&_0x3967a7|~_0x3cac3f&_0x21af14)+_0x2dae8c+_0x233c75;return(_0x54dc85<<_0x50ebbc|_0x54dc85>>>0x20-_0x50ebbc)+_0x3cac3f;}function _0x20005a(_0x32ad3a,_0x4cebdb,_0x448e9b,_0x2c6c64,_0x119e14,_0x252da9,_0x93fb42){var _0x52235f=_0x32ad3a+(_0x4cebdb&_0x2c6c64|_0x448e9b&~_0x2c6c64)+_0x119e14+_0x93fb42;return(_0x52235f<<_0x252da9|_0x52235f>>>0x20-_0x252da9)+_0x4cebdb;}function _0x541c2d(_0x5aa808,_0x259669,_0x79ccf7,_0x505c4c,_0x1d1777,_0x1c7f2b,_0x22e472){var _0x89d7d2=_0x5aa808+(_0x259669^_0x79ccf7^_0x505c4c)+_0x1d1777+_0x22e472;return(_0x89d7d2<<_0x1c7f2b|_0x89d7d2>>>0x20-_0x1c7f2b)+_0x259669;}function _0x20ea2a(_0x371f6f,_0x3aabfb,_0x5e8881,_0x35762a,_0xb51e52,_0x275614,_0x1f3067){var _0x3cd298=_0x371f6f+(_0x5e8881^(_0x3aabfb|~_0x35762a))+_0xb51e52+_0x1f3067;return(_0x3cd298<<_0x275614|_0x3cd298>>>0x20-_0x275614)+_0x3aabfb;}_0x3ce0c0[_0x2e9731(0x15e)]=_0x498e13[_0x2e9731(0x463)](_0x2422e2),_0x3ce0c0[_0x2e9731(0x349)]=_0x498e13['_createHmacHelper'](_0x2422e2);}(Math),_0x4109a3['MD5'];}));}(Gt)),Gt[_0x18f57c(0x25d)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function xa(){const _0x33b06e=_0x58e4d7;return Qs||(Qs=0x1,function(_0x11cce4,_0x3ac3b2){(function(_0x8add6f,_0x2a4074){const _0x21d861=_0x4c2c;_0x11cce4[_0x21d861(0x25d)]=_0x2a4074(ue());}(Z,function(_0xcd3952){const _0xd16ea1=_0x4c2c;return(function(){const _0x45d89b=_0x4c2c;var _0x47c2a7=_0xcd3952,_0x26d5b5=_0x47c2a7[_0x45d89b(0x382)],_0x43ace9=_0x26d5b5['WordArray'],_0x16998c=_0x26d5b5[_0x45d89b(0x49a)],_0x280c3e=_0x47c2a7['algo'],_0x8392e5=[],_0x35c2e3=_0x280c3e[_0x45d89b(0x488)]=_0x16998c[_0x45d89b(0x396)]({'_doReset':function(){const _0x1f55ab=_0x45d89b;this[_0x1f55ab(0x1ea)]=new _0x43ace9[(_0x1f55ab(0x474))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5ca899,_0x287fbd){const _0x5addea=_0x45d89b;for(var _0x2a7787=this[_0x5addea(0x1ea)][_0x5addea(0x2d6)],_0x2c8fe8=_0x2a7787[0x0],_0x38b33c=_0x2a7787[0x1],_0xdfbc6b=_0x2a7787[0x2],_0x5d8371=_0x2a7787[0x3],_0x1dd5ae=_0x2a7787[0x4],_0x52670a=0x0;_0x52670a<0x50;_0x52670a++){if(_0x52670a<0x10)_0x8392e5[_0x52670a]=_0x5ca899[_0x287fbd+_0x52670a]|0x0;else{var _0x413d88=_0x8392e5[_0x52670a-0x3]^_0x8392e5[_0x52670a-0x8]^_0x8392e5[_0x52670a-0xe]^_0x8392e5[_0x52670a-0x10];_0x8392e5[_0x52670a]=_0x413d88<<0x1|_0x413d88>>>0x1f;}var _0x3f8795=(_0x2c8fe8<<0x5|_0x2c8fe8>>>0x1b)+_0x1dd5ae+_0x8392e5[_0x52670a];_0x52670a<0x14?_0x3f8795+=(_0x38b33c&_0xdfbc6b|~_0x38b33c&_0x5d8371)+0x5a827999:_0x52670a<0x28?_0x3f8795+=(_0x38b33c^_0xdfbc6b^_0x5d8371)+0x6ed9eba1:_0x52670a<0x3c?_0x3f8795+=(_0x38b33c&_0xdfbc6b|_0x38b33c&_0x5d8371|_0xdfbc6b&_0x5d8371)-0x70e44324:_0x3f8795+=(_0x38b33c^_0xdfbc6b^_0x5d8371)-0x359d3e2a,_0x1dd5ae=_0x5d8371,_0x5d8371=_0xdfbc6b,_0xdfbc6b=_0x38b33c<<0x1e|_0x38b33c>>>0x2,_0x38b33c=_0x2c8fe8,_0x2c8fe8=_0x3f8795;}_0x2a7787[0x0]=_0x2a7787[0x0]+_0x2c8fe8|0x0,_0x2a7787[0x1]=_0x2a7787[0x1]+_0x38b33c|0x0,_0x2a7787[0x2]=_0x2a7787[0x2]+_0xdfbc6b|0x0,_0x2a7787[0x3]=_0x2a7787[0x3]+_0x5d8371|0x0,_0x2a7787[0x4]=_0x2a7787[0x4]+_0x1dd5ae|0x0;},'_doFinalize':function(){const _0x5701b8=_0x45d89b;var _0x54e7e5=this[_0x5701b8(0x34a)],_0xbdfbcc=_0x54e7e5[_0x5701b8(0x2d6)],_0x29bcff=this[_0x5701b8(0x182)]*0x8,_0x50b37e=_0x54e7e5[_0x5701b8(0x411)]*0x8;return _0xbdfbcc[_0x50b37e>>>0x5]|=0x80<<0x18-_0x50b37e%0x20,_0xbdfbcc[(_0x50b37e+0x40>>>0x9<<0x4)+0xe]=Math[_0x5701b8(0x505)](_0x29bcff/0x100000000),_0xbdfbcc[(_0x50b37e+0x40>>>0x9<<0x4)+0xf]=_0x29bcff,_0x54e7e5[_0x5701b8(0x411)]=_0xbdfbcc[_0x5701b8(0x418)]*0x4,this[_0x5701b8(0x4c6)](),this[_0x5701b8(0x1ea)];},'clone':function(){const _0x4de7bc=_0x45d89b;var _0x516db8=_0x16998c['clone'][_0x4de7bc(0x22f)](this);return _0x516db8['_hash']=this[_0x4de7bc(0x1ea)][_0x4de7bc(0x3f7)](),_0x516db8;}});_0x47c2a7[_0x45d89b(0x488)]=_0x16998c[_0x45d89b(0x463)](_0x35c2e3),_0x47c2a7[_0x45d89b(0x1ce)]=_0x16998c[_0x45d89b(0x190)](_0x35c2e3);}()),_0xcd3952[_0xd16ea1(0x488)];}));}(Kt)),Kt[_0x33b06e(0x25d)];}var zt={'exports':{}},ei;function La(){const _0x307bc8=_0x58e4d7;return ei||(ei=0x1,function(_0x5dbca0,_0x195da0){(function(_0x139d5b,_0x2c136c){const _0x13356a=_0x4c2c;_0x5dbca0[_0x13356a(0x25d)]=_0x2c136c(ue());}(Z,function(_0x3e6b78){(function(){const _0x4f8a4d=_0x4c2c;var _0x5a6ae7=_0x3e6b78,_0x120409=_0x5a6ae7[_0x4f8a4d(0x382)],_0x1b4f97=_0x120409[_0x4f8a4d(0x48c)],_0x1ca073=_0x5a6ae7['enc'],_0x1b3604=_0x1ca073[_0x4f8a4d(0x3cc)],_0x1291a9=_0x5a6ae7[_0x4f8a4d(0x3ac)];_0x1291a9[_0x4f8a4d(0x381)]=_0x1b4f97[_0x4f8a4d(0x396)]({'init':function(_0x474fec,_0x38019d){const _0x428932=_0x4f8a4d;_0x474fec=this['_hasher']=new _0x474fec[(_0x428932(0x474))](),typeof _0x38019d==_0x428932(0x4a9)&&(_0x38019d=_0x1b3604['parse'](_0x38019d));var _0xe6db6a=_0x474fec[_0x428932(0x16b)],_0x5994e3=_0xe6db6a*0x4;_0x38019d['sigBytes']>_0x5994e3&&(_0x38019d=_0x474fec[_0x428932(0x24f)](_0x38019d)),_0x38019d['clamp']();for(var _0x5d9efb=this[_0x428932(0x2f2)]=_0x38019d[_0x428932(0x3f7)](),_0x3fe976=this[_0x428932(0x42b)]=_0x38019d[_0x428932(0x3f7)](),_0x126b77=_0x5d9efb[_0x428932(0x2d6)],_0x18dc21=_0x3fe976[_0x428932(0x2d6)],_0x2552cd=0x0;_0x2552cd<_0xe6db6a;_0x2552cd++)_0x126b77[_0x2552cd]^=0x5c5c5c5c,_0x18dc21[_0x2552cd]^=0x36363636;_0x5d9efb['sigBytes']=_0x3fe976[_0x428932(0x411)]=_0x5994e3,this[_0x428932(0x13d)]();},'reset':function(){const _0x19dfcc=_0x4f8a4d;var _0x2b1ddb=this['_hasher'];_0x2b1ddb[_0x19dfcc(0x13d)](),_0x2b1ddb[_0x19dfcc(0x35c)](this[_0x19dfcc(0x42b)]);},'update':function(_0x9f582b){const _0x2ce608=_0x4f8a4d;return this[_0x2ce608(0x37f)][_0x2ce608(0x35c)](_0x9f582b),this;},'finalize':function(_0x508eb5){const _0x9c54fc=_0x4f8a4d;var _0x40d6d7=this[_0x9c54fc(0x37f)],_0x113e4c=_0x40d6d7[_0x9c54fc(0x24f)](_0x508eb5);_0x40d6d7['reset']();var _0x2608fa=_0x40d6d7[_0x9c54fc(0x24f)](this[_0x9c54fc(0x2f2)][_0x9c54fc(0x3f7)]()['concat'](_0x113e4c));return _0x2608fa;}});}());}));}(zt)),zt[_0x307bc8(0x25d)];}var ti;function ki(){const _0x2f389b=_0x58e4d7;return ti||(ti=0x1,function(_0x223436,_0x2c7e9c){(function(_0xd1ee06,_0x1dbafb,_0x3a8bf9){const _0x1fecd9=_0x4c2c;_0x223436[_0x1fecd9(0x25d)]=_0x1dbafb(ue(),xa(),La());}(Z,function(_0x243cd4){return(function(){const _0x19b39f=_0x4c2c;var _0x3fc6d9=_0x243cd4,_0x35e732=_0x3fc6d9[_0x19b39f(0x382)],_0x30e3b0=_0x35e732[_0x19b39f(0x48c)],_0x4992ba=_0x35e732['WordArray'],_0x1c7445=_0x3fc6d9[_0x19b39f(0x3ac)],_0xea4aa8=_0x1c7445[_0x19b39f(0x15e)],_0xcc47f5=_0x1c7445['EvpKDF']=_0x30e3b0['extend']({'cfg':_0x30e3b0[_0x19b39f(0x396)]({'keySize':0x80/0x20,'hasher':_0xea4aa8,'iterations':0x1}),'init':function(_0x55054c){const _0x8546c4=_0x19b39f;this[_0x8546c4(0x146)]=this[_0x8546c4(0x146)][_0x8546c4(0x396)](_0x55054c);},'compute':function(_0x5cd587,_0xe58234){const _0x4fe009=_0x19b39f;for(var _0x51718b,_0x1e2c8c=this['cfg'],_0x4ae6d3=_0x1e2c8c[_0x4fe009(0x456)][_0x4fe009(0x485)](),_0x5d2de6=_0x4992ba['create'](),_0x114329=_0x5d2de6[_0x4fe009(0x2d6)],_0x28f32d=_0x1e2c8c['keySize'],_0x5827b7=_0x1e2c8c[_0x4fe009(0x48f)];_0x114329[_0x4fe009(0x418)]<_0x28f32d;){_0x51718b&&_0x4ae6d3[_0x4fe009(0x35c)](_0x51718b),_0x51718b=_0x4ae6d3[_0x4fe009(0x35c)](_0x5cd587)[_0x4fe009(0x24f)](_0xe58234),_0x4ae6d3[_0x4fe009(0x13d)]();for(var _0x5c13c8=0x1;_0x5c13c8<_0x5827b7;_0x5c13c8++)_0x51718b=_0x4ae6d3['finalize'](_0x51718b),_0x4ae6d3[_0x4fe009(0x13d)]();_0x5d2de6[_0x4fe009(0x37c)](_0x51718b);}return _0x5d2de6[_0x4fe009(0x411)]=_0x28f32d*0x4,_0x5d2de6;}});_0x3fc6d9[_0x19b39f(0x431)]=function(_0x5c4271,_0x5e5934,_0x40888a){const _0x4c508b=_0x19b39f;return _0xcc47f5[_0x4c508b(0x485)](_0x40888a)[_0x4c508b(0x407)](_0x5c4271,_0x5e5934);};}()),_0x243cd4['EvpKDF'];}));}(Yt)),Yt[_0x2f389b(0x25d)];}var qt={'exports':{}},si;function Wi(){const _0x36fbda=_0x58e4d7;return si||(si=0x1,function(_0xd9caa7,_0x44943e){(function(_0x33cfbe,_0x3b40fe,_0xce3c55){const _0x1cfbb9=_0x4c2c;_0xd9caa7[_0x1cfbb9(0x25d)]=_0x3b40fe(ue(),ki());}(Z,function(_0x121b79){const _0x2e7157=_0x4c2c;_0x121b79[_0x2e7157(0x382)]['Cipher']||function(_0xc4ba97){const _0x2f8ff3=_0x2e7157;var _0x4ca985=_0x121b79,_0x2529af=_0x4ca985[_0x2f8ff3(0x382)],_0x2ff889=_0x2529af[_0x2f8ff3(0x48c)],_0x130c64=_0x2529af[_0x2f8ff3(0x4e2)],_0x19ff9f=_0x2529af[_0x2f8ff3(0x13b)],_0x4d04c3=_0x4ca985['enc'];_0x4d04c3[_0x2f8ff3(0x3cc)];var _0x4daae3=_0x4d04c3[_0x2f8ff3(0x40c)],_0x3affbf=_0x4ca985[_0x2f8ff3(0x3ac)],_0x2172b1=_0x3affbf[_0x2f8ff3(0x431)],_0x437da0=_0x2529af[_0x2f8ff3(0x11d)]=_0x19ff9f['extend']({'cfg':_0x2ff889[_0x2f8ff3(0x396)](),'createEncryptor':function(_0x384079,_0x32a322){const _0x141080=_0x2f8ff3;return this[_0x141080(0x485)](this[_0x141080(0x28a)],_0x384079,_0x32a322);},'createDecryptor':function(_0x498531,_0x246d0b){const _0x4adc68=_0x2f8ff3;return this[_0x4adc68(0x485)](this[_0x4adc68(0x313)],_0x498531,_0x246d0b);},'init':function(_0xb1296f,_0x51bd97,_0xbdad74){const _0x249ba3=_0x2f8ff3;this[_0x249ba3(0x146)]=this[_0x249ba3(0x146)]['extend'](_0xbdad74),this[_0x249ba3(0x3ee)]=_0xb1296f,this[_0x249ba3(0x4de)]=_0x51bd97,this[_0x249ba3(0x13d)]();},'reset':function(){const _0x19a2a1=_0x2f8ff3;_0x19ff9f[_0x19a2a1(0x13d)][_0x19a2a1(0x22f)](this),this['_doReset']();},'process':function(_0x3ae7f7){const _0x1d4a40=_0x2f8ff3;return this['_append'](_0x3ae7f7),this[_0x1d4a40(0x4c6)]();},'finalize':function(_0x5c9cff){const _0x1a8655=_0x2f8ff3;_0x5c9cff&&this[_0x1a8655(0x103)](_0x5c9cff);var _0x5589d4=this[_0x1a8655(0x1c4)]();return _0x5589d4;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x6c07e4(_0x17a3e2){const _0x4c493d=_0x4c2c;return typeof _0x17a3e2==_0x4c493d(0x4a9)?_0x2ec11a:_0xaa264a;}return function(_0x4fb924){return{'encrypt':function(_0x400700,_0x171a1f,_0x38d921){const _0x4d45b7=_0x4c2c;return _0x6c07e4(_0x171a1f)[_0x4d45b7(0x45b)](_0x4fb924,_0x400700,_0x171a1f,_0x38d921);},'decrypt':function(_0x1eb406,_0xb828ce,_0xd54065){const _0x4f0a95=_0x4c2c;return _0x6c07e4(_0xb828ce)[_0x4f0a95(0x476)](_0x4fb924,_0x1eb406,_0xb828ce,_0xd54065);}};};}())});_0x2529af[_0x2f8ff3(0x287)]=_0x437da0['extend']({'_doFinalize':function(){var _0x58a22b=this['_process'](!0x0);return _0x58a22b;},'blockSize':0x1});var _0x3d4fad=_0x4ca985['mode']={},_0x5c1c36=_0x2529af[_0x2f8ff3(0x1e5)]=_0x2ff889[_0x2f8ff3(0x396)]({'createEncryptor':function(_0x5213b8,_0x45cba0){const _0x2ac9e7=_0x2f8ff3;return this[_0x2ac9e7(0x212)]['create'](_0x5213b8,_0x45cba0);},'createDecryptor':function(_0x3e5729,_0x32afab){const _0x182b47=_0x2f8ff3;return this[_0x182b47(0x24c)][_0x182b47(0x485)](_0x3e5729,_0x32afab);},'init':function(_0x49d6bf,_0x496da6){const _0x5db480=_0x2f8ff3;this['_cipher']=_0x49d6bf,this[_0x5db480(0x14b)]=_0x496da6;}}),_0x3362cc=_0x3d4fad[_0x2f8ff3(0x1fe)]=(function(){const _0x4a70b4=_0x2f8ff3;var _0x51ef89=_0x5c1c36['extend']();_0x51ef89[_0x4a70b4(0x212)]=_0x51ef89[_0x4a70b4(0x396)]({'processBlock':function(_0x528185,_0x2d517d){const _0x2f662b=_0x4a70b4;var _0x21f23e=this['_cipher'],_0x5cd02a=_0x21f23e[_0x2f662b(0x16b)];_0x5f103b['call'](this,_0x528185,_0x2d517d,_0x5cd02a),_0x21f23e[_0x2f662b(0x26e)](_0x528185,_0x2d517d),this['_prevBlock']=_0x528185[_0x2f662b(0x2d4)](_0x2d517d,_0x2d517d+_0x5cd02a);}}),_0x51ef89[_0x4a70b4(0x24c)]=_0x51ef89[_0x4a70b4(0x396)]({'processBlock':function(_0x4eab7f,_0x3f366f){const _0x1e99e2=_0x4a70b4;var _0x3dd533=this[_0x1e99e2(0x41c)],_0x3681e1=_0x3dd533[_0x1e99e2(0x16b)],_0x39cca2=_0x4eab7f[_0x1e99e2(0x2d4)](_0x3f366f,_0x3f366f+_0x3681e1);_0x3dd533[_0x1e99e2(0x26b)](_0x4eab7f,_0x3f366f),_0x5f103b['call'](this,_0x4eab7f,_0x3f366f,_0x3681e1),this[_0x1e99e2(0x379)]=_0x39cca2;}});function _0x5f103b(_0x150faf,_0x21f178,_0x4cf787){const _0x2569e0=_0x4a70b4;var _0x142f59,_0x1ced97=this['_iv'];_0x1ced97?(_0x142f59=_0x1ced97,this[_0x2569e0(0x14b)]=_0xc4ba97):_0x142f59=this['_prevBlock'];for(var _0x698a0a=0x0;_0x698a0a<_0x4cf787;_0x698a0a++)_0x150faf[_0x21f178+_0x698a0a]^=_0x142f59[_0x698a0a];}return _0x51ef89;}()),_0x7cf0e0=_0x4ca985[_0x2f8ff3(0x3da)]={},_0x413c5e=_0x7cf0e0[_0x2f8ff3(0x4b6)]={'pad':function(_0x51f194,_0x5e15ac){const _0x51ea61=_0x2f8ff3;for(var _0x19f58b=_0x5e15ac*0x4,_0x51c44d=_0x19f58b-_0x51f194[_0x51ea61(0x411)]%_0x19f58b,_0x2f8d9c=_0x51c44d<<0x18|_0x51c44d<<0x10|_0x51c44d<<0x8|_0x51c44d,_0x386776=[],_0x18ae99=0x0;_0x18ae99<_0x51c44d;_0x18ae99+=0x4)_0x386776[_0x51ea61(0x47e)](_0x2f8d9c);var _0x5a84c5=_0x130c64[_0x51ea61(0x485)](_0x386776,_0x51c44d);_0x51f194[_0x51ea61(0x37c)](_0x5a84c5);},'unpad':function(_0x4e6bbc){const _0x9453dc=_0x2f8ff3;var _0x3a49a7=_0x4e6bbc[_0x9453dc(0x2d6)][_0x4e6bbc['sigBytes']-0x1>>>0x2]&0xff;_0x4e6bbc[_0x9453dc(0x411)]-=_0x3a49a7;}};_0x2529af[_0x2f8ff3(0x426)]=_0x437da0[_0x2f8ff3(0x396)]({'cfg':_0x437da0[_0x2f8ff3(0x146)][_0x2f8ff3(0x396)]({'mode':_0x3362cc,'padding':_0x413c5e}),'reset':function(){const _0x28066d=_0x2f8ff3;var _0x25079f;_0x437da0[_0x28066d(0x13d)][_0x28066d(0x22f)](this);var _0x42dc41=this[_0x28066d(0x146)],_0x304832=_0x42dc41['iv'],_0x63417f=_0x42dc41[_0x28066d(0x1ed)];this[_0x28066d(0x3ee)]==this[_0x28066d(0x28a)]?_0x25079f=_0x63417f[_0x28066d(0x3ab)]:(_0x25079f=_0x63417f['createDecryptor'],this['_minBufferSize']=0x1),this[_0x28066d(0x486)]&&this[_0x28066d(0x486)][_0x28066d(0x4cf)]==_0x25079f?this[_0x28066d(0x486)][_0x28066d(0x474)](this,_0x304832&&_0x304832[_0x28066d(0x2d6)]):(this[_0x28066d(0x486)]=_0x25079f[_0x28066d(0x22f)](_0x63417f,this,_0x304832&&_0x304832[_0x28066d(0x2d6)]),this[_0x28066d(0x486)]['__creator']=_0x25079f);},'_doProcessBlock':function(_0x2d487d,_0x4dcad9){const _0x4ef9c9=_0x2f8ff3;this[_0x4ef9c9(0x486)][_0x4ef9c9(0x358)](_0x2d487d,_0x4dcad9);},'_doFinalize':function(){const _0x3bfa7e=_0x2f8ff3;var _0x4e0b35,_0x3c6502=this['cfg']['padding'];return this[_0x3bfa7e(0x3ee)]==this[_0x3bfa7e(0x28a)]?(_0x3c6502[_0x3bfa7e(0x3da)](this['_data'],this[_0x3bfa7e(0x16b)]),_0x4e0b35=this[_0x3bfa7e(0x4c6)](!0x0)):(_0x4e0b35=this[_0x3bfa7e(0x4c6)](!0x0),_0x3c6502[_0x3bfa7e(0x19a)](_0x4e0b35)),_0x4e0b35;},'blockSize':0x80/0x20});var _0x540291=_0x2529af[_0x2f8ff3(0x46b)]=_0x2ff889[_0x2f8ff3(0x396)]({'init':function(_0xfaa5bf){this['mixIn'](_0xfaa5bf);},'toString':function(_0x3d3ea5){const _0x5d64f6=_0x2f8ff3;return(_0x3d3ea5||this['formatter'])[_0x5d64f6(0x152)](this);}}),_0x4e42d5=_0x4ca985[_0x2f8ff3(0x211)]={},_0x2d8290=_0x4e42d5[_0x2f8ff3(0x16a)]={'stringify':function(_0x46e1d1){const _0x48c55e=_0x2f8ff3;var _0x13068f,_0x224b1d=_0x46e1d1[_0x48c55e(0x46d)],_0x2102a6=_0x46e1d1['salt'];return _0x2102a6?_0x13068f=_0x130c64[_0x48c55e(0x485)]([0x53616c74,0x65645f5f])[_0x48c55e(0x37c)](_0x2102a6)['concat'](_0x224b1d):_0x13068f=_0x224b1d,_0x13068f[_0x48c55e(0x22b)](_0x4daae3);},'parse':function(_0x4b31d3){const _0xfe3245=_0x2f8ff3;var _0x2e5ba8,_0x535cde=_0x4daae3[_0xfe3245(0x3ae)](_0x4b31d3),_0x3aea28=_0x535cde[_0xfe3245(0x2d6)];return _0x3aea28[0x0]==0x53616c74&&_0x3aea28[0x1]==0x65645f5f&&(_0x2e5ba8=_0x130c64[_0xfe3245(0x485)](_0x3aea28['slice'](0x2,0x4)),_0x3aea28[_0xfe3245(0x251)](0x0,0x4),_0x535cde['sigBytes']-=0x10),_0x540291[_0xfe3245(0x485)]({'ciphertext':_0x535cde,'salt':_0x2e5ba8});}},_0xaa264a=_0x2529af['SerializableCipher']=_0x2ff889[_0x2f8ff3(0x396)]({'cfg':_0x2ff889['extend']({'format':_0x2d8290}),'encrypt':function(_0x53a18c,_0xe3ac58,_0x22cd8d,_0xf82be9){const _0x5c5a92=_0x2f8ff3;_0xf82be9=this[_0x5c5a92(0x146)][_0x5c5a92(0x396)](_0xf82be9);var _0x19318e=_0x53a18c[_0x5c5a92(0x3ab)](_0x22cd8d,_0xf82be9),_0x2fc4a9=_0x19318e[_0x5c5a92(0x24f)](_0xe3ac58),_0x46e573=_0x19318e[_0x5c5a92(0x146)];return _0x540291[_0x5c5a92(0x485)]({'ciphertext':_0x2fc4a9,'key':_0x22cd8d,'iv':_0x46e573['iv'],'algorithm':_0x53a18c,'mode':_0x46e573[_0x5c5a92(0x1ed)],'padding':_0x46e573['padding'],'blockSize':_0x53a18c['blockSize'],'formatter':_0xf82be9[_0x5c5a92(0x211)]});},'decrypt':function(_0x3187ef,_0x4f024a,_0x2c4f86,_0x1cd05a){const _0x58ce41=_0x2f8ff3;_0x1cd05a=this[_0x58ce41(0x146)][_0x58ce41(0x396)](_0x1cd05a),_0x4f024a=this[_0x58ce41(0x112)](_0x4f024a,_0x1cd05a['format']);var _0x52d19d=_0x3187ef[_0x58ce41(0x11b)](_0x2c4f86,_0x1cd05a)[_0x58ce41(0x24f)](_0x4f024a[_0x58ce41(0x46d)]);return _0x52d19d;},'_parse':function(_0x328d8b,_0x1b3b58){const _0x121198=_0x2f8ff3;return typeof _0x328d8b==_0x121198(0x4a9)?_0x1b3b58['parse'](_0x328d8b,this):_0x328d8b;}}),_0x4c4699=_0x4ca985['kdf']={},_0x3dd50d=_0x4c4699[_0x2f8ff3(0x16a)]={'execute':function(_0x13cb7f,_0x2a9731,_0x3e4ec3,_0x135d32,_0x3d02da){const _0x5a84ab=_0x2f8ff3;if(_0x135d32||(_0x135d32=_0x130c64[_0x5a84ab(0x3d5)](0x40/0x8)),_0x3d02da)var _0x1ac0cc=_0x2172b1[_0x5a84ab(0x485)]({'keySize':_0x2a9731+_0x3e4ec3,'hasher':_0x3d02da})[_0x5a84ab(0x407)](_0x13cb7f,_0x135d32);else var _0x1ac0cc=_0x2172b1['create']({'keySize':_0x2a9731+_0x3e4ec3})[_0x5a84ab(0x407)](_0x13cb7f,_0x135d32);var _0x2e3e68=_0x130c64[_0x5a84ab(0x485)](_0x1ac0cc[_0x5a84ab(0x2d6)][_0x5a84ab(0x2d4)](_0x2a9731),_0x3e4ec3*0x4);return _0x1ac0cc[_0x5a84ab(0x411)]=_0x2a9731*0x4,_0x540291[_0x5a84ab(0x485)]({'key':_0x1ac0cc,'iv':_0x2e3e68,'salt':_0x135d32});}},_0x2ec11a=_0x2529af[_0x2f8ff3(0x318)]=_0xaa264a[_0x2f8ff3(0x396)]({'cfg':_0xaa264a['cfg']['extend']({'kdf':_0x3dd50d}),'encrypt':function(_0xfe44c,_0x440c78,_0x14758d,_0x136274){const _0x2b6414=_0x2f8ff3;_0x136274=this[_0x2b6414(0x146)][_0x2b6414(0x396)](_0x136274);var _0x3b975b=_0x136274[_0x2b6414(0x110)][_0x2b6414(0x451)](_0x14758d,_0xfe44c[_0x2b6414(0x201)],_0xfe44c['ivSize'],_0x136274['salt'],_0x136274[_0x2b6414(0x456)]);_0x136274['iv']=_0x3b975b['iv'];var _0x5d4711=_0xaa264a[_0x2b6414(0x45b)][_0x2b6414(0x22f)](this,_0xfe44c,_0x440c78,_0x3b975b[_0x2b6414(0x156)],_0x136274);return _0x5d4711[_0x2b6414(0x383)](_0x3b975b),_0x5d4711;},'decrypt':function(_0x5c7a6a,_0x59146b,_0x1a6476,_0x5f28b3){const _0x49b18e=_0x2f8ff3;_0x5f28b3=this['cfg'][_0x49b18e(0x396)](_0x5f28b3),_0x59146b=this['_parse'](_0x59146b,_0x5f28b3['format']);var _0x334390=_0x5f28b3['kdf'][_0x49b18e(0x451)](_0x1a6476,_0x5c7a6a['keySize'],_0x5c7a6a[_0x49b18e(0x282)],_0x59146b[_0x49b18e(0x268)],_0x5f28b3[_0x49b18e(0x456)]);_0x5f28b3['iv']=_0x334390['iv'];var _0x2ab0a7=_0xaa264a['decrypt']['call'](this,_0x5c7a6a,_0x59146b,_0x334390['key'],_0x5f28b3);return _0x2ab0a7;}});}();}));}(qt)),qt[_0x36fbda(0x25d)];}(function(_0x47570b,_0x1577d9){(function(_0x3c1853,_0x45cdbd,_0x35bdb2){const _0x1b4acd=_0x4c2c;_0x47570b[_0x1b4acd(0x25d)]=_0x45cdbd(ue(),Bi(),Ma(),ki(),Wi());}(Z,function(_0x29076f){const _0x5d8929=_0x4c2c;return(function(){const _0x15e823=_0x4c2c;var _0x19f653=_0x29076f,_0x3da0a6=_0x19f653['lib'],_0x5a4be2=_0x3da0a6[_0x15e823(0x426)],_0x2a2b97=_0x19f653[_0x15e823(0x3ac)],_0x8ce55c=[],_0x5815d3=[],_0x11d0dd=[],_0x5a034f=[],_0x194ba8=[],_0x36db23=[],_0x598869=[],_0x5ce92c=[],_0x556eef=[],_0x5db7c2=[];(function(){for(var _0x953d15=[],_0xa85d1e=0x0;_0xa85d1e<0x100;_0xa85d1e++)_0xa85d1e<0x80?_0x953d15[_0xa85d1e]=_0xa85d1e<<0x1:_0x953d15[_0xa85d1e]=_0xa85d1e<<0x1^0x11b;for(var _0x2153ae=0x0,_0x38a937=0x0,_0xa85d1e=0x0;_0xa85d1e<0x100;_0xa85d1e++){var _0x7b4da0=_0x38a937^_0x38a937<<0x1^_0x38a937<<0x2^_0x38a937<<0x3^_0x38a937<<0x4;_0x7b4da0=_0x7b4da0>>>0x8^_0x7b4da0&0xff^0x63,_0x8ce55c[_0x2153ae]=_0x7b4da0,_0x5815d3[_0x7b4da0]=_0x2153ae;var _0x3e45e6=_0x953d15[_0x2153ae],_0x1240ae=_0x953d15[_0x3e45e6],_0x3b3cfa=_0x953d15[_0x1240ae],_0x4c9225=_0x953d15[_0x7b4da0]*0x101^_0x7b4da0*0x1010100;_0x11d0dd[_0x2153ae]=_0x4c9225<<0x18|_0x4c9225>>>0x8,_0x5a034f[_0x2153ae]=_0x4c9225<<0x10|_0x4c9225>>>0x10,_0x194ba8[_0x2153ae]=_0x4c9225<<0x8|_0x4c9225>>>0x18,_0x36db23[_0x2153ae]=_0x4c9225;var _0x4c9225=_0x3b3cfa*0x1010101^_0x1240ae*0x10001^_0x3e45e6*0x101^_0x2153ae*0x1010100;_0x598869[_0x7b4da0]=_0x4c9225<<0x18|_0x4c9225>>>0x8,_0x5ce92c[_0x7b4da0]=_0x4c9225<<0x10|_0x4c9225>>>0x10,_0x556eef[_0x7b4da0]=_0x4c9225<<0x8|_0x4c9225>>>0x18,_0x5db7c2[_0x7b4da0]=_0x4c9225,_0x2153ae?(_0x2153ae=_0x3e45e6^_0x953d15[_0x953d15[_0x953d15[_0x3b3cfa^_0x3e45e6]]],_0x38a937^=_0x953d15[_0x953d15[_0x38a937]]):_0x2153ae=_0x38a937=0x1;}}());var _0x58e897=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1f42c4=_0x2a2b97[_0x15e823(0x345)]=_0x5a4be2[_0x15e823(0x396)]({'_doReset':function(){const _0x5c8dfc=_0x15e823;var _0x352c29;if(!(this[_0x5c8dfc(0x3dd)]&&this[_0x5c8dfc(0x279)]===this[_0x5c8dfc(0x4de)])){for(var _0x55d7ad=this[_0x5c8dfc(0x279)]=this[_0x5c8dfc(0x4de)],_0x916ac2=_0x55d7ad[_0x5c8dfc(0x2d6)],_0x38b1c2=_0x55d7ad[_0x5c8dfc(0x411)]/0x4,_0x1ed679=this[_0x5c8dfc(0x3dd)]=_0x38b1c2+0x6,_0x2cdb24=(_0x1ed679+0x1)*0x4,_0xe552f9=this[_0x5c8dfc(0x23b)]=[],_0xcae7c1=0x0;_0xcae7c1<_0x2cdb24;_0xcae7c1++)_0xcae7c1<_0x38b1c2?_0xe552f9[_0xcae7c1]=_0x916ac2[_0xcae7c1]:(_0x352c29=_0xe552f9[_0xcae7c1-0x1],_0xcae7c1%_0x38b1c2?_0x38b1c2>0x6&&_0xcae7c1%_0x38b1c2==0x4&&(_0x352c29=_0x8ce55c[_0x352c29>>>0x18]<<0x18|_0x8ce55c[_0x352c29>>>0x10&0xff]<<0x10|_0x8ce55c[_0x352c29>>>0x8&0xff]<<0x8|_0x8ce55c[_0x352c29&0xff]):(_0x352c29=_0x352c29<<0x8|_0x352c29>>>0x18,_0x352c29=_0x8ce55c[_0x352c29>>>0x18]<<0x18|_0x8ce55c[_0x352c29>>>0x10&0xff]<<0x10|_0x8ce55c[_0x352c29>>>0x8&0xff]<<0x8|_0x8ce55c[_0x352c29&0xff],_0x352c29^=_0x58e897[_0xcae7c1/_0x38b1c2|0x0]<<0x18),_0xe552f9[_0xcae7c1]=_0xe552f9[_0xcae7c1-_0x38b1c2]^_0x352c29);for(var _0x3efade=this[_0x5c8dfc(0x215)]=[],_0x352345=0x0;_0x352345<_0x2cdb24;_0x352345++){var _0xcae7c1=_0x2cdb24-_0x352345;if(_0x352345%0x4)var _0x352c29=_0xe552f9[_0xcae7c1];else var _0x352c29=_0xe552f9[_0xcae7c1-0x4];_0x352345<0x4||_0xcae7c1<=0x4?_0x3efade[_0x352345]=_0x352c29:_0x3efade[_0x352345]=_0x598869[_0x8ce55c[_0x352c29>>>0x18]]^_0x5ce92c[_0x8ce55c[_0x352c29>>>0x10&0xff]]^_0x556eef[_0x8ce55c[_0x352c29>>>0x8&0xff]]^_0x5db7c2[_0x8ce55c[_0x352c29&0xff]];}}},'encryptBlock':function(_0x359487,_0x2e5f4d){const _0x54bf89=_0x15e823;this[_0x54bf89(0x19d)](_0x359487,_0x2e5f4d,this[_0x54bf89(0x23b)],_0x11d0dd,_0x5a034f,_0x194ba8,_0x36db23,_0x8ce55c);},'decryptBlock':function(_0x5351be,_0x4e0dda){const _0x2d3472=_0x15e823;var _0x3947bb=_0x5351be[_0x4e0dda+0x1];_0x5351be[_0x4e0dda+0x1]=_0x5351be[_0x4e0dda+0x3],_0x5351be[_0x4e0dda+0x3]=_0x3947bb,this[_0x2d3472(0x19d)](_0x5351be,_0x4e0dda,this['_invKeySchedule'],_0x598869,_0x5ce92c,_0x556eef,_0x5db7c2,_0x5815d3);var _0x3947bb=_0x5351be[_0x4e0dda+0x1];_0x5351be[_0x4e0dda+0x1]=_0x5351be[_0x4e0dda+0x3],_0x5351be[_0x4e0dda+0x3]=_0x3947bb;},'_doCryptBlock':function(_0x29e9a9,_0x1b1c7a,_0x30e57f,_0x20cff1,_0x4185f4,_0x5bc7a5,_0x3c6748,_0x1b005a){const _0x1d6bb1=_0x15e823;for(var _0x59ed42=this[_0x1d6bb1(0x3dd)],_0x265830=_0x29e9a9[_0x1b1c7a]^_0x30e57f[0x0],_0x1eb4ab=_0x29e9a9[_0x1b1c7a+0x1]^_0x30e57f[0x1],_0xbf0bff=_0x29e9a9[_0x1b1c7a+0x2]^_0x30e57f[0x2],_0x56b778=_0x29e9a9[_0x1b1c7a+0x3]^_0x30e57f[0x3],_0x4bf470=0x4,_0x46dad8=0x1;_0x46dad8<_0x59ed42;_0x46dad8++){var _0x4f3f6c=_0x20cff1[_0x265830>>>0x18]^_0x4185f4[_0x1eb4ab>>>0x10&0xff]^_0x5bc7a5[_0xbf0bff>>>0x8&0xff]^_0x3c6748[_0x56b778&0xff]^_0x30e57f[_0x4bf470++],_0x4a5092=_0x20cff1[_0x1eb4ab>>>0x18]^_0x4185f4[_0xbf0bff>>>0x10&0xff]^_0x5bc7a5[_0x56b778>>>0x8&0xff]^_0x3c6748[_0x265830&0xff]^_0x30e57f[_0x4bf470++],_0x2d377f=_0x20cff1[_0xbf0bff>>>0x18]^_0x4185f4[_0x56b778>>>0x10&0xff]^_0x5bc7a5[_0x265830>>>0x8&0xff]^_0x3c6748[_0x1eb4ab&0xff]^_0x30e57f[_0x4bf470++],_0x1e6aec=_0x20cff1[_0x56b778>>>0x18]^_0x4185f4[_0x265830>>>0x10&0xff]^_0x5bc7a5[_0x1eb4ab>>>0x8&0xff]^_0x3c6748[_0xbf0bff&0xff]^_0x30e57f[_0x4bf470++];_0x265830=_0x4f3f6c,_0x1eb4ab=_0x4a5092,_0xbf0bff=_0x2d377f,_0x56b778=_0x1e6aec;}var _0x4f3f6c=(_0x1b005a[_0x265830>>>0x18]<<0x18|_0x1b005a[_0x1eb4ab>>>0x10&0xff]<<0x10|_0x1b005a[_0xbf0bff>>>0x8&0xff]<<0x8|_0x1b005a[_0x56b778&0xff])^_0x30e57f[_0x4bf470++],_0x4a5092=(_0x1b005a[_0x1eb4ab>>>0x18]<<0x18|_0x1b005a[_0xbf0bff>>>0x10&0xff]<<0x10|_0x1b005a[_0x56b778>>>0x8&0xff]<<0x8|_0x1b005a[_0x265830&0xff])^_0x30e57f[_0x4bf470++],_0x2d377f=(_0x1b005a[_0xbf0bff>>>0x18]<<0x18|_0x1b005a[_0x56b778>>>0x10&0xff]<<0x10|_0x1b005a[_0x265830>>>0x8&0xff]<<0x8|_0x1b005a[_0x1eb4ab&0xff])^_0x30e57f[_0x4bf470++],_0x1e6aec=(_0x1b005a[_0x56b778>>>0x18]<<0x18|_0x1b005a[_0x265830>>>0x10&0xff]<<0x10|_0x1b005a[_0x1eb4ab>>>0x8&0xff]<<0x8|_0x1b005a[_0xbf0bff&0xff])^_0x30e57f[_0x4bf470++];_0x29e9a9[_0x1b1c7a]=_0x4f3f6c,_0x29e9a9[_0x1b1c7a+0x1]=_0x4a5092,_0x29e9a9[_0x1b1c7a+0x2]=_0x2d377f,_0x29e9a9[_0x1b1c7a+0x3]=_0x1e6aec;},'keySize':0x100/0x20});_0x19f653[_0x15e823(0x345)]=_0x5a4be2[_0x15e823(0x463)](_0x1f42c4);}()),_0x29076f[_0x5d8929(0x345)];}));}(ji));var $a=ji['exports'];const Ha=at($a);var ja=Bi();function _0x4c2c(_0x16671f,_0x27fc7a){const _0x3a90d2=_0x3a90();return _0x4c2c=function(_0x4c2c74,_0x25303a){_0x4c2c74=_0x4c2c74-0xf8;let _0xd710fe=_0x3a90d2[_0x4c2c74];return _0xd710fe;},_0x4c2c(_0x16671f,_0x27fc7a);}const ii=at(ja);var Fi={'exports':{}};(function(_0x35fd85,_0x46e271){(function(_0x37b5ff,_0xdba8cd){const _0x3c79ff=_0x4c2c;_0x35fd85[_0x3c79ff(0x25d)]=_0xdba8cd(ue());}(Z,function(_0x2dfa14){return _0x2dfa14['enc']['Utf8'];}));}(Fi));var Ba=Fi[_0x58e4d7(0x25d)];const ka=at(Ba);var Vi={'exports':{}};(function(_0x233de4,_0x2a59ca){(function(_0x2e25b1,_0x41eb38){const _0x40082b=_0x4c2c;_0x233de4[_0x40082b(0x25d)]=_0x41eb38(ue());}(Z,function(_0x5c5e99){const _0x491a5f=_0x4c2c;return(function(){const _0x4f2b8d=_0x4c2c;if(typeof ArrayBuffer==_0x4f2b8d(0x1c2)){var _0x17b29c=_0x5c5e99,_0x321d14=_0x17b29c['lib'],_0x1c862a=_0x321d14[_0x4f2b8d(0x4e2)],_0x3ce9c0=_0x1c862a[_0x4f2b8d(0x474)],_0x3f24ab=_0x1c862a['init']=function(_0x68b035){const _0xc52170=_0x4f2b8d;if(_0x68b035 instanceof ArrayBuffer&&(_0x68b035=new Uint8Array(_0x68b035)),(_0x68b035 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x68b035 instanceof Uint8ClampedArray||_0x68b035 instanceof Int16Array||_0x68b035 instanceof Uint16Array||_0x68b035 instanceof Int32Array||_0x68b035 instanceof Uint32Array||_0x68b035 instanceof Float32Array||_0x68b035 instanceof Float64Array)&&(_0x68b035=new Uint8Array(_0x68b035[_0xc52170(0x4ea)],_0x68b035[_0xc52170(0x467)],_0x68b035[_0xc52170(0x4d9)])),_0x68b035 instanceof Uint8Array){for(var _0x2ecf93=_0x68b035[_0xc52170(0x4d9)],_0x186ed8=[],_0x18b98a=0x0;_0x18b98a<_0x2ecf93;_0x18b98a++)_0x186ed8[_0x18b98a>>>0x2]|=_0x68b035[_0x18b98a]<<0x18-_0x18b98a%0x4*0x8;_0x3ce9c0[_0xc52170(0x22f)](this,_0x186ed8,_0x2ecf93);}else _0x3ce9c0[_0xc52170(0x3e6)](this,arguments);};_0x3f24ab[_0x4f2b8d(0x502)]=_0x1c862a;}}()),_0x5c5e99[_0x491a5f(0x382)]['WordArray'];}));}(Vi));var Wa=Vi['exports'];const Fa=at(Wa);var Gi={'exports':{}};(function(_0x2eda5a,_0x313f59){(function(_0x37b34f,_0x19f17a,_0x406b41){_0x2eda5a['exports']=_0x19f17a(ue(),Wi());}(Z,function(_0x17edf1){const _0x42945e=_0x4c2c;return _0x17edf1[_0x42945e(0x3da)][_0x42945e(0x144)]={'pad':function(){},'unpad':function(){}},_0x17edf1[_0x42945e(0x3da)][_0x42945e(0x144)];}));}(Gi));var Va=Gi['exports'];const Ga=at(Va);function Ya(_0x2896f3,_0xec475d){const _0x2c0d28=_0x58e4d7,_0x67cea2=_0xec475d-_0x2896f3['length']%_0xec475d,_0x5a9148=String[_0x2c0d28(0x194)](_0x67cea2)[_0x2c0d28(0x1df)](_0x67cea2);return _0x2896f3+_0x5a9148;}function Ka(_0x5d5e88,_0x530dcc){const _0x34fe4=_0x58e4d7,_0x1f4291=Fa[_0x34fe4(0x3d5)](0x10),_0x3348f1=Ya(_0x5d5e88,0x10),_0xec5fc3=Ha[_0x34fe4(0x45b)](ka['parse'](_0x3348f1),ii[_0x34fe4(0x3ae)](_0x530dcc),{'iv':_0x1f4291,'padding':Ga});return _0x1f4291['concat'](_0xec5fc3[_0x34fe4(0x46d)])[_0x34fe4(0x22b)](ii);}function za(){const _0x2ab423=_0x58e4d7,_0x2ef19e=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x2ab423(0x158)];if(_0x2ef19e){const _0x11913a={'time':Math[_0x2ab423(0x505)](Date[_0x2ab423(0x47c)]()/0x3e8),'domain':location[_0x2ab423(0x507)]};return Ka(JSON[_0x2ab423(0x152)](_0x11913a),_0x2ef19e);}}var qa=Object[_0x58e4d7(0x367)],Xa=Object[_0x58e4d7(0x1ba)],Ja=(_0x3c24c4,_0x3df6c9,_0xd700da,_0x51f4c2)=>{const _0x8355b0=_0x58e4d7;for(var _0x3a9525=_0x51f4c2>0x1?void 0x0:_0x51f4c2?Xa(_0x3df6c9,_0xd700da):_0x3df6c9,_0x14d67b=_0x3c24c4[_0x8355b0(0x418)]-0x1,_0x39790f;_0x14d67b>=0x0;_0x14d67b--)(_0x39790f=_0x3c24c4[_0x14d67b])&&(_0x3a9525=(_0x51f4c2?_0x39790f(_0x3df6c9,_0xd700da,_0x3a9525):_0x39790f(_0x3a9525))||_0x3a9525);return _0x51f4c2&&_0x3a9525&&qa(_0x3df6c9,_0xd700da,_0x3a9525),_0x3a9525;},Za=(_0x5332aa,_0x1d07e9)=>(_0x458597,_0x2c0ee3)=>_0x1d07e9(_0x458597,_0x2c0ee3,_0x5332aa);let Tt=class{constructor(_0x32f642){const _0xce89e8=_0x58e4d7;this[_0xce89e8(0x254)]=_0x32f642,this[_0xce89e8(0x47a)]();}['_initRequestHeader'](){const _0x55456d=_0x58e4d7;this['_httpService'][_0x55456d(0x3a1)]({'interceptor':(_0x151bf5,_0x4fa6cc)=>{const _0x2eabcc=_0x55456d,_0x534782=_0x151bf5[_0x2eabcc(0x23d)],_0x571553=za();return _0x571553&&_0x534782[_0x2eabcc(0x372)](_0x2eabcc(0x1eb),_0x571553),_0x4fa6cc(_0x151bf5);}});}};Tt=Ja([Za(0x0,_0x22f9f7(_0x3f6ec6))],Tt);var Qa=Object['defineProperty'],ec=Object[_0x58e4d7(0x1ba)],tc=(_0x504f39,_0x3dbff5,_0x413707,_0x1b581d)=>{const _0x3ca8a5=_0x58e4d7;for(var _0x7abc61=_0x1b581d>0x1?void 0x0:_0x1b581d?ec(_0x3dbff5,_0x413707):_0x3dbff5,_0x3eb5cd=_0x504f39[_0x3ca8a5(0x418)]-0x1,_0x40cebe;_0x3eb5cd>=0x0;_0x3eb5cd--)(_0x40cebe=_0x504f39[_0x3eb5cd])&&(_0x7abc61=(_0x1b581d?_0x40cebe(_0x3dbff5,_0x413707,_0x7abc61):_0x40cebe(_0x7abc61))||_0x7abc61);return _0x1b581d&&_0x7abc61&&Qa(_0x3dbff5,_0x413707,_0x7abc61),_0x7abc61;},Xt=(_0x318883,_0x1923b1)=>(_0x461dd6,_0x35603e)=>_0x1923b1(_0x461dd6,_0x35603e,_0x318883);function _0x3a90(){const _0x2728cb=['HMAC','lib','mixIn','_notificationService','univer-offline','find','from','error$','next','result','uploadFileServerUrl','_onCursorUpdate','getRangePointData','currentColor','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','UNRECOGNIZED','_name','136738fIsFXJ','SHOULD_CLOSE_CONN','unsubscribe','ws://127.0.0.1:8000/universer-api/comb/connect','extend','transformMutation','NOT_FOUND','Latin1','_transformRemoteChangesetByIMECache','onTransformRemoteChangesetByStateCache','/universer-api/snapshot','roomMembers','setStateCache','fetchThroughInterceptors','CONNECTOR_DATA_TOO_LARGE','registerHTTPInterceptor','_clearScheduledTask','collabSubmitChangesetUrl','_syncEditingCollabCursor','_getUploadFileURL','_replaceFileID','triggerDblclick','rng','_entities','_context','createEncryptor','algo','collab-text-anchor-','parse','use','_singleActiveUnitService','/object','getSheetBySheetId','ceil','enableOfflineEditing','capture','clearTimeout','appendMutation','_getCtorByUniverType','APPLY_PERMISSION_DENIED','/fetchmissing?from=','_backgroundColor','session','_reverseMap','_transformPreviousActiveRange','_initStatusListener','generateRandomId','_status$','_handleEvent','_univerInstanceService','?size=','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_clearTimeoutTimer','_transformSelections','offline','_getSaveTimeout','_beforeCloseService','univerjs-icon\x20univerjs-icon-','Utf8','_cursor','getTypeOfUnitDisposed$','LIVESHARE_TERMINATE','onPointerEnter$','MSG_FOR_ERROR','hide','get','_toggleOnline','random','YUUMI_URL_COL_OUT_OF_RANGE','getUndoRedoMutationParamsCache','transformRemoteChangeset','FileId','pad','getCollabCursors$','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_nRounds','_updateLocalCache','/rev/','engine','_onConnectionFailed','getMemberID','LEAVE','awaiting_with_pending','duration','apply','socket\x20open.','OffLineSingle','sheets','saveSnapshot','map','_document','selection','_xformMode','awaiting','onTransformChange$','/block/','lineTo','interceptor','_substituteRedoStack','_transformStateCache','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','clone','Unknown\x20user','localeService','filter','m1Prime','univer-online-status-title','INTERNAL_ERROR','ALREADY_EXISTS','dispose$','csShouldRetryEvent','onMissingChangesets','createSocket','_HTTPService','_startDocCollabCursor','_injector','substring','compute','range','_color','indexOf','addObjects','Base64','subscribeEvent','telemetry\x20info\x20is\x20not\x20initialized','saveChangeset','_decreaseWaiting','sigBytes','_showConflictNotification','COLLAB_WEB_SOCKET_URL','[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.','startsWith','updatePermissionPoint','_state','length','TEXT','onMouseMove','UNKNOWN_CMD','_cipher','beginPath','dispose','values','__esModule','originalMeta','_tryEnsureSocket','none','APPLY_NON_SEQUENTIAL_REVISION','onRemoteAck','BlockCipher','_change$','endRow','1917vXCLAx','entries','_iKey','all','_commentService','_resendWithTimeout','startTime','_updateCollabCursors','EvpKDF','getResourcesRequest','_getRedoStack','getAncestorScale','_imageSourceCache','[SyncedState]:\x20received\x20acknowledgement.','exhaustSavingTask','replaceState','registerRenderModule','SNAPSHOT_INVALID_SNAPSHOT','getAllMembers','_transitionLocked','_exhaustRemoteChangesetQueue','_transformUndoRedoStack','LOCAL_CACHE_INTERVAL','setConfig','UNIVER_SLIDE','transformByState','/collaborator','isArray','getCollabEntity$','_hovered','getCurrentRevOfUnit','crypto','onRendered','BASE64','csRejEvent','_docTransformIMECacheService','ranges','append','_userManagerService','children','execute','collabStatus.syncing','_tryReconnect','getUnitType','_members','hasher','_textBubble','roomMembers$','getSkeleton','enableAuthServer','encrypt','UNKNOWN_CODE','title','sheetID','_range','setParam','LIVESHARE_OPERATION','_submitChangeset','_createHelper','_event$','_removeRoom','purple300','byteOffset','popstate','red300','reconnect','CipherParams','/object/','ciphertext','onStarting','_revisionService','clear','c1Prime','catch','_snapshotService','init','_getSnapshotAPIPrefix','decrypt','_docStateChangeManagerService','image/gif','COLLAB_SUBMIT_CHANGESET_URL','_initRequestHeader','min','now','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','push','_telemetryInfo','DeleteRangeMoveLeftCommandId','_getMergeRange','enableLocalCache','_onCursorDelete','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','create','_mode','findNodePositionByCharIndex','SHA1','_scheduleSaving','_disableEditing','/universer-api/authz','Base','_cursors','urlChange$','iterations','_applyRemoteChangeset','collaboration.single-unit.warning','currentTheme$','_getAPIPrefixPath','toggleOnline','transformStack\x20failed!','HttpExport','origin','Could\x20not\x20dynamically\x20require\x20\x22','_init','Hasher','getFocusedUnit','top','_id','collabStatus.conflict','\x20-\x20','authzUrl','roomInfos','selections','_listenToOfflineEvent','_minBufferSize','online','replaceTextRanges','getValue','_isPermissionRej','string','executeCommand','_fetchMissChangesets','_telemetryService','_initCommandExecutedListener','commentUpdateEvent','_schedule','doc.mutation.rich-text-editing','_urlService','replace','close$','OnLineSingle','SYNCED','Pkcs7','shouldCloseConn','TOO_MANY_REQUESTS','reject','updateCollaborator','_updateStatus','textRanges','COMPRESS_MUTATION_SEND','_state$','_transformService','[OfflineState]:\x20received\x20changeset.','includes','_transformRemoteChangesetByStateCache','createInstance','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','joinRsp','_process','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_onRemoteACK','getRoom','getOffsetConfig','_timeoutTimer','&source=','_registerDependencies','INVALID_ARGUMENT','__creator','_render','onlineStatusIcon','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_getSheetObject','_assignedColors','USERS_ENTER','_cursorInfo$','_localCacheService','_loadDoc','byteLength','APPLY_REJECT','_doProcessBlock','1em','collaMsg','_key','reverse','bind','actions','WordArray','round','_onLocalMutation','getUniverSheetInstance','_onUserLeave','LIVESHARE_NEW_HOST','_sessions','_configService','buffer','_getDownloadEndpointURL','on-line-single_clip0_910_349','newValue','session.collaboration-timeout','_changesetReqId','SNAPSHOT_HAS_BEEN_REMOVED','_labelPosition','&to=','getConfig','_joinRoom','moveTo','status$','syncEditingCollabCursor','[CollaborationSessionService]:\x20socket\x20error','_awaitingChangeset','UnitEmbedded','addEventListener','url(#off-line-single_clip0_910_343)','CHANGESET_REJ','asObservable','bottom','_updateSubUnitFromURLParams','_getAnchorBounding','prototype','saveImage','PERMISSION_DENIED','floor','PSEUDO_FETCH_MISSING_RESULT','hostname','msCrypto','FETCH_MISSING','24wYXlyX','_anchor','patch','resize','_clearCollaborationTimeoutTimer','20920PADzVi','AWAITING_WITH_PENDING','delete','YUUMI_UNABLE_LOAD_URL','url(#on-line-single_clip0_910_349)','_roomMembers$','Warning','_append','removeMember','idSuffix','max','_onConnectionOpen','_cachedData','updateOfflineData','_hover','height','onload','NEW_CHANGESETS','cmd','CHANGESET_ACK','kdf','cursorInfo','_parse','_remoteChangesetQueue','with','flatMap','UUID','HEARTBEAT_TIMEOUT','href','_collaborationController','getMergeData','createDecryptor','startColumn','Cipher','_lockTransition','deepClone','_waitCount','_rescheduleHeartbeat','_onOffline','getDocRanges','disableLocalCache','_updateState','_session','_lastPointer','batchAllowed','contains','then','setShapeProps','UNIVER_COLLABORATION_CLIENT_PLUGIN','344BJlNTQ','COMMENT_UPDATE','_heartbeatTimer','pushState','1043366uiiKFt','toggleOffline','cursorInfo$','_createInitialStateImpl','getMember','_transformHistoryAndStateStack','blue400','UPDATE_CURSOR','_onRemoteRetry','USERS_LEAVE','BufferedBlockAlgorithm','MoveRangeCommandId','reset','getCellPositionByOffset','assign','RETRY_CONNECTING_MAX_COUNT','subunit','randomBytes','stopTime','NoPadding','_refreshCollabCursors','cfg','_scheduleClearOtherTimer','_candidateSocket','\x20in\x20_schedule.','defIds','_iv','currentSkeleton$','_shouldReportTelemetry','YUUMI_SUBSCRIPTION_NOT_FOUND','incrementRevOfUnit','univer-online-status-icon','responseType','stringify','OFFLINE','collaboration-session-retry','_retryCount','key','list','__Key__','APPLY_REVISION_CONFILICT','ENSURE_SNAPSHOT_EXECUTION','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','UNIVER_SHEET','socket$','MD5','on-line-single','_ensureSubject','image/png','baseRev','UNIVER_UNKNOWN','name','UNAUTHENTICATED','0\x200\x2017\x2016','142227TrfuVY','getTypeOfUnitAdded$','backgroundColor','OpenSSL','blockSize','_loadSheet','OTHER_CLIENTS_EDITING','abs','onlyLocal','column','routeKey','permission.title','div','collabStatus.notCollab','_instanceService','_saveCache','_selfUnitIDs','randomUUID','getImageSourceCache','_pendingMutations','size','VIEW_MAIN','url','_queuedRemoteChangesets','startRow','fetching\x20missing\x20changesets\x20from\x20','_initEventListeners','_nDataBytes','univer-pro.collaboration-client.single-active-unit-service','equals','28xfPNnq','UnitSnapshot','encodeURIComponent','uni.network.url-service','_cursorShapes','FETCH_MISS','defs','_initCloseConn','setActiveRange','UniverIcon','_scene','_createHmacHelper','subUnitId','_themeService','/universer-api/stream/file/upload','fromCharCode','userID','_resendTimer','[SyncedState]:\x20received\x20rejection.','_scheduleHeartbeat','FAIL','unpad','[OfflineState]:\x20received\x20acknowledgement.','NOT_COLLAB','_doCryptBlock','[FetchMissState]','_commandService','_docTransformSelectionsService','_onRemoteChangeset','UNDEFINED','getSheetBlock','default','pending','unitId','UNIVER_DOC','MUTATION','getParam','unit-cache-','_onUserJoin','off-line-single','_socketReady','propertyIsEnumerable','getOwnPropertySymbols','_draw','message$','_setupSubUnitSync','hasOwnProperty','assignAColorForMemberID','_entityInit$','session.room-full','APPLY_DUPLICATED','joinEvent','symbol','getOwnPropertyDescriptor','setAlpha','AWAITING','LIVESHARE_REQUEST_HOST','type','_sheetTransformSelectionsService','UPDATE_PERMISSION_OBJ','initWorkbookPermissionChange','function','close','_doFinalize','PERMISSION_REJ','isActive','_removeClearOtherTimer','undoState','getUnitStatus$','_createHandler','InsertRangeMoveDownCommandId','?url=','_startSheetCollabCursor','HmacSHA1','SUCCUSS','_handler','className','_sendHeartbeatTimer','[CollaborationUndoRedoService]','socketService','Malformed\x20UTF-8\x20data','_anchorDot','_waitForHeartbeatResponse','_initMergeInterceptor','unshift','off-line-single_clip0_910_343','reqId','rgba(255,\x20255,\x20255,\x200.01)','getViewport','onSyncEditingCollabCursor','repeat','editingUnit','_handleLeaveEvent','setWaitCount','setItem','_initStatusComponent','BlockCipherMode','auth.needGotoLoginAlert','_clearOtherTimers','open$','onTransformRemoteChangesetByIMECache','_hash','x-univer-host','eventID','mode','SNAPSHOT_URL_KEY','onReady','fill','revision','onMissedChangesetFetched','fetchMiss','/allowed','_online','sin','width','path','NO_OTHER_CLIENTS_EDITING','onPointerMove$','tag','_socket$','toRgbString','CBC','drawWith','_startCollaboration','keySize','getVpScrollXYInfoByPosToVp','_initDependencies','_onRecvEvent','onRemoteChangeset','event$','onPointerLeave$','loadOfflineData','has','session.connection-failed','_collabCursorController','_ws','split','_unitStatus','loginUrlKey','/-/object/-/batch_allowed','format','Encryptor','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','unitID','_invKeySchedule','transformUndoRedo','setCurrentUser','memberID','getRenderById','_scheduleCollaborationTimeoutTimer','ERROR_IMAGE_TYPE','RECV','_logService','LICENSE_EXPORT_SIZE_EXCEEDED','onRemoteRej','_executeRemoteChangeset','requestParams','transformIMECache','_onJoinRoomEvent','_setupBeforeClosingHandler','code','M0\x200H16V16H0z','_collabSessionService','SNAPSHOT_SERVER_URL_KEY','onCommentUpdate','LICENSE_MAX_UNITS_EXCEEDED','toString','_onCombEvent','searchParams','_clearUndo','call','post','params','editing\x20status\x20changed\x20to','Undefined','_getLoginPath','_transformIMECache','_sender','[CollaborationSession]','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_unitOnClients','_compressMutationService','_keySchedule','roles','headers','readInt32LE','collab-text-range-','icon','deleteCollaborator','CONFLICT','closeSession','_collaborationPaused','_sendHeartbeat','add','_docTransformStateCacheService','HttpImport','docStateChange$','_transformUndoredo','connection\x20error','Decryptor','addImageSourceCache','createCollaborator','finalize','_socket','splice','_initUnitPermissionChange','_getAPIPrefix','_httpService','/universer-api/file/{fileID}/sign-url','conflict','sid','_redoStacks','_onMessage','awaitingChangeset','show','isPermissionRej','exports','commentUpdate$','getActiveRange','2790910bCmQMn','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','JOINING','gold400','collabStatus.fetchMiss','onTransformSelections','data','c2Prime','salt','colorChannel1','whenReady','decryptBlock','HEARTBEAT_INTERVAL','unknown','encryptBlock','hidden','[OfflineState]:\x20received\x20rejection.','_commentUpdate$','InsertRangeMoveRightCommandId','members','fillText','allowed','getCurrentUser','evenodd','resolve','_keyPriorReset','failed\x20to\x20apply\x20missed\x20changesets!','error','COMPRESS_MUTATION_APPLY','transformSelections','_docSkeleton','_sessionStatus$','_listenToOnlineEvent','getUnitOnRev','ivSize','/unit/','getImage','Error\x20on\x20receiving\x20event','_onRefRangeChange','StreamCipher','verdancy600','[DataLoaderController]','_ENC_XFORM_MODE','location','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','rev','{fileID}','_undoStacks','_collaborationSessionService','registerComponent','objectID','_createInitialState','univer-pro.collaboration-client-socket-service','closePath','onRemoteRetry','image/jpeg','send','m2Prime','/universer-api/comb','jiqing500','font','_handleHover','refreshPermission','LICENSE_DISTRO_REJECTED','onSendChangeset','_getScale','PENDING','HELLO','RECT','FromArray','onTransformIME','_colorIndex','downloadEndpointUrl','_colorAssignService','JOIN','$super','setTimeout','_config','change$','getRandomValues','body','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_getSendChangesetTimeout','color','LICENSE_IMPORT_SIZE_EXCEEDED','charCodeAt','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','collabCursorState$','_collaborationTimeoutTimer','transformChangesets','some','getCurrentUnitForType','fromCollab','ONLINE','_clearHeartbeatTimer','unload','attrs','put','Error','collaboratorID','getUnitId','_drawAnchor','visibilitychange','debug','listCollaborators','InsertRowCommandId','_localStorageService','join','_throwTelemetryCollaborationNewChangeset','getSheetId','COMPLETION_FINISHED','HEADER_MENU','leaveEvent','INGEST','confirm','slice','_registerRenderDependencies','words','SEND_CHANGESET_TIMEOUT','withCredentials','_onConflict','_getUndoStack','_memberService','save','sessionStatus','[UniverCollaborationClientPlugin]','subscribe','_syncEditingCollabCursorService','_collabCursorState$','getWorkbookSelections','_snapshotServerService','reduce','\x20to\x20','_permissionService','transformMutationsWithChangeset','mutations','\x0aAfter:\x20','_send','_roomMembers','complete','POST','xlink:href','_getCurrentRevision','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_oKey','liveShareNewHost','enableSingleActiveInstanceLock','snapshotServerUrl','_updateLocalCursor','infoRsp','_hideTimer','loadDoc','liveShareOperation','createElement','setUndoRedoMutationParamsCache','history','_type','forEach','_getSignURL','transformStateCache','_transformStack','_retryConnectingTimer','getDeserializedSheetBlock','text','_clearRedo','resend','registerBeforeClose','visibilityState','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','fillStyle','10057443XGFgbW','_handleHeartbeatEvent','status','UNIVER_PROJECT','YUUMI_RATE_OVER_LIMIT','unitId\x20is\x20not\x20found','measureText','_DEC_XFORM_MODE','black','_disabled','_drawRectRange','_onRemoteRejected','PasswordBasedCipher','_clearLocalCache','getTime','_incrementRevisionNumber','#fff','setShowComponents','disposeUnit','clearInterval','getInterceptPoints','substr','requireSession','_docSkeletonManagerService','pipe','method','displayName','\x0aCurrent:\x20','_refRangeService','_docSyncEditingCollabCursorService','disposeWithMe','_removeCollabCursors','_socketMessageSubscription','_substituteUndoStack','_messageService','changesets','_toggleOffline','_unitID','_localeService','enc','_eventUnsubscribe','_uiPartsService','updateMember','_undoRedoService','collaboration.closeRoom','clamp','[CollaborationSessionService]','ERROR_EXCEED_SIZE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_createSocket','unit','objectType','putCollaborators','image/bmp','_handleJoinEvent','_shapes','LIVESHARE_FETCH_OPERATIONS','AES','_unlockTransition','_resendTimeout','readAsDataURL','HmacMD5','_data','ACTIVE_UNIT_EVENT_CHANNEL','addObject','resourceIDs','_checkMissing','getCollabEntity','/-/object/list','submit\x20changeset\x20error!','_updateURLWithCurrentState','SUBMIT_CHANGESET','CHANGESET_REVISION_CONFILICT','objects','...','6UuMLgg','processBlock','registerRefRange','_map','_sendingTimer','update','sessionStatus$','focused$','&assign=','_changesetSessionId','_scheduleTimestamp','_saveTaskMap','_sheetSkeletonManagerService','state','csAckEvent','onCommandExecuted','defineProperty','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','2116656XaZTjA','clipPath','_acknowledgedAwaitingChangeset','collaboration_new_changeset','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','HEARTBEAT','getStateCache','fetchMissingChangesets','object','set','image/jpg','_http','_initResize','getActiveSheet','collab-client.tooltip.reconnect','_stopTelemetryCollaborationNewChangeset','_prevBlock','arc','_replayCachedMutations','concat','row','_startTelemetryCollaborationNewChangeset','_hasher','_renderManagerService'];_0x3a90=function(){return _0x2728cb;};return _0x3a90();}const sc=[_0x58e4d7(0x161),_0x58e4d7(0x298),_0x58e4d7(0x373),_0x58e4d7(0x478),_0x58e4d7(0x341)],ic=0x5*0x400*0x400,nc=_0x58e4d7(0x368),rc=_0x58e4d7(0x193),oc='EXCHANGE_SIGN_URL_SERVER_URL_KEY',ac=_0x58e4d7(0x255);let hs=class{constructor(_0x135bbb,_0x267043,_0x126160){const _0x46b313=_0x58e4d7;g(this,_0x46b313(0x120),0x0),g(this,'_change$',new _0x5f4b37()),g(this,_0x46b313(0x2af),this[_0x46b313(0x427)]),g(this,_0x46b313(0x435),new Map()),(this[_0x46b313(0x254)]=_0x135bbb,this['_configService']=_0x267043,this['_univerInstanceService']=_0x126160);}[_0x58e4d7(0x1e2)](_0x5e16e9){const _0x2fda66=_0x58e4d7;this[_0x2fda66(0x120)]=_0x5e16e9,this[_0x2fda66(0x427)][_0x2fda66(0x389)](_0x5e16e9);}[_0x58e4d7(0x179)](_0x56e349,_0x4ea721){const _0x428bc5=_0x58e4d7;if(_0x4ea721===_0x577e0d[_0x428bc5(0x44a)]){const _0x45328e=new Image();return _0x45328e['src']=_0x56e349,_0x45328e;}return this[_0x428bc5(0x435)][_0x428bc5(0x3d3)](_0x56e349);}[_0x58e4d7(0x24d)](_0x58e797,_0xae0490,_0x583e0c){const _0x42e013=_0x58e4d7;_0xae0490===_0x577e0d[_0x42e013(0x44a)]||_0x583e0c==null||this[_0x42e013(0x435)]['set'](_0x58e797,_0x583e0c);}async[_0x58e4d7(0x284)](_0x32667f){const _0x26d90d=_0x58e4d7;try{const _0xe12130=this['_replaceFileID'](this[_0x26d90d(0x300)](),''+_0x32667f),_0x5a1c73=(await this['_httpService'][_0x26d90d(0x3d3)](_0xe12130))['body'];if(_0x5a1c73['error']&&_0x5a1c73[_0x26d90d(0x27b)][_0x26d90d(0x225)]===Ri['OK']){const _0x350dc9=new URL(_0x5a1c73[_0x26d90d(0x17d)],this[_0x26d90d(0x4eb)]())['toString']();return Promise[_0x26d90d(0x278)](_0x350dc9);}return Promise[_0x26d90d(0x4b9)](_0x5a1c73[_0x26d90d(0x27b)]);}catch(_0x564a45){return Promise['reject'](_0x564a45);}}async[_0x58e4d7(0x503)](_0x543bdf){const _0x4dea3c=_0x58e4d7;let _0x55a2b8='';if(!sc['includes'](_0x543bdf[_0x4dea3c(0x1be)]))return this['_decreaseWaiting'](),Promise[_0x4dea3c(0x4b9)](new Error(_0x5b9120[_0x4dea3c(0x21b)]));if(_0x543bdf[_0x4dea3c(0x17b)]>ic)return this[_0x4dea3c(0x410)](),Promise[_0x4dea3c(0x4b9)](new Error(_0x5b9120[_0x4dea3c(0x33b)]));try{const _0x44db77=new FormData();_0x44db77[_0x4dea3c(0x44e)]('file',_0x543bdf);const _0x1840bf=this['_univerInstanceService'][_0x4dea3c(0x49b)](),_0xb9a278=_0x1840bf==null?void 0x0:_0x1840bf[_0x4dea3c(0x2c5)]();if(!_0xb9a278)throw new Error(_0x4dea3c(0x311));const _0x5343b0=this['_getUploadFileURL']()+_0x4dea3c(0x3c4)+_0x543bdf[_0x4dea3c(0x17b)]['toString']()+_0x4dea3c(0x4cc)+yi[_0x4dea3c(0x4fa)]+_0x4dea3c(0x35f)+encodeURIComponent(_0xb9a278),_0x48e307=await(await fetch(_0x5343b0,{'method':_0x4dea3c(0x2ed),'body':_0x44db77}))['json']();if(typeof _0x48e307['FileId']!='string')return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x5b9120['ERROR_IMAGE']));_0x55a2b8=_0x48e307[_0x4dea3c(0x3d9)];}catch{return this[_0x4dea3c(0x410)](),Promise['reject'](new Error(_0x5b9120['ERROR_IMAGE']));}return new Promise((_0x359825,_0x5cdd88)=>{const _0x356638=_0x4dea3c,_0x3d2b20=new FileReader();_0x3d2b20[_0x356638(0x348)](_0x543bdf),_0x3d2b20[_0x356638(0x10c)]=_0x4d988d=>{const _0x4a5165=_0x356638;var _0x10219e;const _0xf0a8e5=(_0x10219e=_0x4d988d['target'])==null?void 0x0:_0x10219e['result'];if(_0xf0a8e5==null){this[_0x4a5165(0x410)](),_0x5cdd88(new Error(_0x5b9120['ERROR_IMAGE']));return;}const _0x5d52bd=_0x44e432[_0x4a5165(0x3c0)](0x6);_0x359825({'imageId':_0x5d52bd,'imageSourceType':_0x577e0d[_0x4a5165(0x116)],'source':_0x55a2b8,'base64Cache':_0xf0a8e5,'status':_0x5b9120[_0x4a5165(0x1cf)]}),this['_decreaseWaiting']();};});}[_0x58e4d7(0x3a5)](){const _0x4f88cb=_0x58e4d7;var _0x56c339,_0xb5ef20;const _0x3b6043=this[_0x4f88cb(0x4e9)][_0x4f88cb(0x4f3)](nc),_0xb9ef1f=this['_configService'][_0x4f88cb(0x4f3)](ie);return(_0xb5ef20=(_0x56c339=_0xb9ef1f==null?void 0x0:_0xb9ef1f[_0x4f88cb(0x38b)])!=null?_0x56c339:_0x3b6043)!=null?_0xb5ef20:rc;}[_0x58e4d7(0x300)](){const _0x49760f=_0x58e4d7;var _0x2dae78,_0x319859;const _0x5a1a6e=this[_0x49760f(0x4e9)]['getConfig'](oc),_0x190242=this[_0x49760f(0x4e9)][_0x49760f(0x4f3)](ie);return(_0x319859=(_0x2dae78=_0x190242==null?void 0x0:_0x190242['signUrlServerUrl'])!=null?_0x2dae78:_0x5a1a6e)!=null?_0x319859:ac;}['_getDownloadEndpointURL'](){const _0xf5f6dc=_0x58e4d7;var _0x96ecbc;const _0x46c347=this[_0xf5f6dc(0x4e9)][_0xf5f6dc(0x4f3)](ie);return(_0x96ecbc=_0x46c347==null?void 0x0:_0x46c347[_0xf5f6dc(0x2a9)])!=null?_0x96ecbc:location[_0xf5f6dc(0x497)];}[_0x58e4d7(0x3a6)](_0x3dcdbd,_0x2ea6b9){const _0x1c3bbf=_0x58e4d7;return _0x3dcdbd[_0x1c3bbf(0x4b2)](_0x1c3bbf(0x28f),_0x2ea6b9);}[_0x58e4d7(0x410)](){const _0x45bbd6=_0x58e4d7;this[_0x45bbd6(0x120)]-=0x1,this['_change$'][_0x45bbd6(0x389)](this[_0x45bbd6(0x120)]);}};hs=tc([Xt(0x0,_0x22f9f7(_0x3f6ec6)),Xt(0x1,_0x4bb278),Xt(0x2,_0x22f9f7(_0x17eff3))],hs);var cc=Object['defineProperty'],hc=Object['getOwnPropertyDescriptor'],lc=(_0x47e6fd,_0x1187de,_0x555341,_0x5b4ba4)=>{for(var _0x4b5d1f=_0x5b4ba4>0x1?void 0x0:_0x5b4ba4?hc(_0x1187de,_0x555341):_0x1187de,_0x5bb9dc=_0x47e6fd['length']-0x1,_0x2cb5c4;_0x5bb9dc>=0x0;_0x5bb9dc--)(_0x2cb5c4=_0x47e6fd[_0x5bb9dc])&&(_0x4b5d1f=(_0x5b4ba4?_0x2cb5c4(_0x1187de,_0x555341,_0x4b5d1f):_0x2cb5c4(_0x4b5d1f))||_0x4b5d1f);return _0x5b4ba4&&_0x4b5d1f&&cc(_0x1187de,_0x555341,_0x4b5d1f),_0x4b5d1f;},Qe=(_0x4a4a5f,_0x5e68ba)=>(_0x333278,_0x1eb9b5)=>_0x5e68ba(_0x333278,_0x1eb9b5,_0x4a4a5f);let Rt=class extends _0x574fb2{constructor(_0x368146,_0x3b32e6,_0x2df575,_0x2a21a6,_0x473d66){const _0x50f82e=_0x58e4d7;super(),this[_0x50f82e(0x405)]=_0x368146,this[_0x50f82e(0x3c3)]=_0x3b32e6,this[_0x50f82e(0x2e6)]=_0x2df575,this['_collaborationSessionService']=_0x2a21a6,this[_0x50f82e(0x332)]=_0x473d66,this[_0x50f82e(0x252)](),this[_0x50f82e(0x18c)]();}[_0x58e4d7(0x18c)](){const _0x438f91=_0x58e4d7,_0x77349d=async _0x45b5e7=>{const _0x19584e=_0x4c2c;(await this[_0x19584e(0x291)][_0x19584e(0x322)](_0x45b5e7))[_0x19584e(0x206)][_0x19584e(0x324)](_0x203051(_0x8feaba=>_0x8feaba['eventID']===_0x2ffb5e[_0x19584e(0x393)]),_0x4d52fc(this['dispose$']))['subscribe'](_0x389294=>{const _0x3cde94=_0x19584e,_0x3dd35f=_0x389294,{reason:_0x24a28e}=_0x3dd35f[_0x3cde94(0x266)];this[_0x3cde94(0x405)][_0x3cde94(0x3d3)](_0x5138eb)[_0x3cde94(0x25b)]({'type':_0x2a6979[_0x3cde94(0x2c3)],'content':this[_0x3cde94(0x332)]['t'](_0x3cde94(0x338))+'('+_0x24a28e+')'}),this[_0x3cde94(0x2e6)][_0x3cde94(0x416)](new _0x46af2c(_0x45b5e7)['id'],!0x1),this[_0x3cde94(0x291)]['closeSession'](_0x45b5e7);});};_0x27d309(this['_univerInstanceService'][_0x438f91(0x168)](_0x11ab9a[_0x438f91(0x15c)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x11ab9a[_0x438f91(0x1a7)]))[_0x438f91(0x324)](_0x12b99c(_0x2da4ca=>_0x2da4ca[_0x438f91(0x2c5)]()),_0x203051(_0x3580aa=>!_0x45b852(_0x3580aa)),_0x4d52fc(this[_0x438f91(0x3ff)]))[_0x438f91(0x2df)](_0x4d82ab=>{_0x77349d(_0x4d82ab);});}[_0x58e4d7(0x252)](){const _0x56ab9d=_0x58e4d7,_0xd059ca=async _0x24668c=>{const _0x2b0381=_0x4c2c;(await this[_0x2b0381(0x291)]['requireSession'](_0x24668c))['event$'][_0x2b0381(0x324)](_0x203051(_0x18f3d0=>_0x18f3d0['eventID']===_0x2ffb5e[_0x2b0381(0x1c0)]),_0x4d52fc(this[_0x2b0381(0x3ff)]))[_0x2b0381(0x2df)](_0x262d12=>{const _0x422f25=_0x2b0381,_0x1be4c1=_0x262d12,{objectId:_0x52ceed}=_0x1be4c1[_0x422f25(0x266)],_0x2e7d43=this[_0x422f25(0x405)]['get'](_0x1a7aa8);_0x52ceed===_0x24668c?_0x2e7d43[_0x422f25(0x1c1)](_0x24668c):_0x2e7d43[_0x422f25(0x29f)](_0x24668c,_0x52ceed);});};_0x27d309(this[_0x56ab9d(0x3c3)]['getTypeOfUnitAdded$'](_0x11ab9a[_0x56ab9d(0x15c)]),this[_0x56ab9d(0x3c3)][_0x56ab9d(0x168)](_0x11ab9a[_0x56ab9d(0x1a7)]))[_0x56ab9d(0x324)](_0x12b99c(_0x180798=>_0x180798[_0x56ab9d(0x2c5)]()),_0x203051(_0x48de24=>!_0x45b852(_0x48de24)),_0x4d52fc(this['dispose$']))[_0x56ab9d(0x2df)](_0x20670b=>{_0xd059ca(_0x20670b);});}};Rt=lc([Qe(0x0,_0x22f9f7(_0x1dc773)),Qe(0x1,_0x17eff3),Qe(0x2,_0xd7cfff),Qe(0x3,_0x22f9f7(Ae)),Qe(0x4,_0x22f9f7(_0x1c0183))],Rt);var _c=Object['defineProperty'],uc=Object[_0x58e4d7(0x1ba)],dc=(_0x26ec04,_0x20c788,_0x29bce3,_0x246f53)=>{const _0x2da0da=_0x58e4d7;for(var _0x4a1212=_0x246f53>0x1?void 0x0:_0x246f53?uc(_0x20c788,_0x29bce3):_0x20c788,_0x36b5c3=_0x26ec04[_0x2da0da(0x418)]-0x1,_0x197dce;_0x36b5c3>=0x0;_0x36b5c3--)(_0x197dce=_0x26ec04[_0x36b5c3])&&(_0x4a1212=(_0x246f53?_0x197dce(_0x20c788,_0x29bce3,_0x4a1212):_0x197dce(_0x4a1212))||_0x4a1212);return _0x246f53&&_0x4a1212&&_c(_0x20c788,_0x29bce3,_0x4a1212),_0x4a1212;},ni=(_0x44dc1e,_0x380c31)=>(_0x7b881,_0x5010f3)=>_0x380c31(_0x7b881,_0x5010f3,_0x44dc1e);let ls=class{constructor(_0x3c37c3,_0x18ac55){const _0x3ee060=_0x58e4d7;this['_configService']=_0x3c37c3,this[_0x3ee060(0x254)]=_0x18ac55;}async[_0x58e4d7(0x281)](_0x501527,_0x486d8b){const _0x37c4ea=_0x58e4d7;var _0x43430e;const {unitID:_0x5e581f,type:_0x4f973d,revision:_0x3b2095=0x0}=_0x486d8b,_0x36cb98=this[_0x37c4ea(0x475)]()+'/'+_0x4f973d+_0x37c4ea(0x283)+_0x5e581f+_0x37c4ea(0x3df)+_0x3b2095,_0x466009=(await this['_httpService']['get'](_0x36cb98))[_0x37c4ea(0x2b1)],_0x1a4019=(_0x43430e=_0x466009['snapshot'])==null?void 0x0:_0x43430e['workbook'];if(_0x1a4019){const _0x2c9c6c=_0x1a4019==null?void 0x0:_0x1a4019['originalMeta'],_0x38f0c8=_0x78207f['encode'](_0x2d4f33(_0x2c9c6c));_0x1a4019[_0x37c4ea(0x421)]=_0x38f0c8,Object[_0x37c4ea(0x42a)](_0x1a4019[_0x37c4ea(0x3e9)])[_0x37c4ea(0x2ff)](([,_0x1ba0e9])=>{const _0x47c76d=_0x37c4ea,_0x46c424=_0x1ba0e9[_0x47c76d(0x421)],_0x2e6ebb=_0x78207f['encode'](_0x2d4f33(_0x46c424));_0x1ba0e9['originalMeta']=_0x2e6ebb;});}return _0x466009;}async[_0x58e4d7(0x1a3)](_0x958024,_0x534c76){const _0x229e6e=_0x58e4d7,{unitID:_0x5dd97d,type:_0x34f865,blockID:_0x25c048}=_0x534c76,_0x57d88c=this[_0x229e6e(0x253)]()+'/'+_0x34f865+_0x229e6e(0x283)+_0x5dd97d+_0x229e6e(0x3f1)+_0x25c048;return(await this['_httpService'][_0x229e6e(0x3d3)](_0x57d88c))[_0x229e6e(0x2b1)];}async[_0x58e4d7(0x304)](_0x40e1b6,_0x1bc814){const _0x1b5fd4=_0x58e4d7,{unitID:_0x4f38e4,type:_0x4001e9,blockID:_0x55eca9}=_0x1bc814,_0x3a8e52=this['_getAPIPrefix']()+_0x1b5fd4(0x3f1)+_0x4001e9+_0x1b5fd4(0x283)+_0x4f38e4+'/block/'+_0x55eca9;return(await this[_0x1b5fd4(0x254)][_0x1b5fd4(0x3d3)](_0x3a8e52))[_0x1b5fd4(0x2b1)];}async[_0x58e4d7(0x370)](_0x42c7f8,_0x462525){const _0x167d15=_0x58e4d7,{unitID:_0xd39543,type:_0x226893,from:_0x1f686d,to:_0x3594ae}=_0x462525,_0x3ef55d=this[_0x167d15(0x253)]()+'/'+_0x226893+_0x167d15(0x283)+_0xd39543+_0x167d15(0x3ba)+_0x1f686d+_0x167d15(0x4f2)+_0x3594ae;return(await this['_httpService']['get'](_0x3ef55d))[_0x167d15(0x2b1)];}[_0x58e4d7(0x475)](){const _0x630947=_0x58e4d7;var _0x443cf4;return(_0x443cf4=this[_0x630947(0x4e9)][_0x630947(0x4f3)](ar))!=null?_0x443cf4:this[_0x630947(0x253)]();}['_getAPIPrefix'](){const _0x4afa46=_0x58e4d7;var _0x3e42f4,_0x511975;const _0x2a232b=this[_0x4afa46(0x4e9)]['getConfig'](rr),_0x2d832e=this['_configService'][_0x4afa46(0x4f3)](ie);return(_0x511975=(_0x3e42f4=_0x2d832e==null?void 0x0:_0x2d832e[_0x4afa46(0x2f5)])!=null?_0x3e42f4:_0x2a232b)!=null?_0x511975:or;}async[_0x58e4d7(0x432)](_0x2b8ff6,_0x34a7c9){const _0x9916ed=_0x58e4d7,_0xba1041='/universer-api/snapshot/'+_0x34a7c9[_0x9916ed(0x1be)]+_0x9916ed(0x283)+_0x34a7c9[_0x9916ed(0x214)]+'/resources';return(await this['_httpService'][_0x9916ed(0x3d3)](_0xba1041,{'params':{'resourceId':JSON['stringify'](_0x34a7c9[_0x9916ed(0x34d)])}}))[_0x9916ed(0x2b1)];}[_0x58e4d7(0x3ea)](){const _0x5430df=_0x58e4d7;throw new Error(_0x5430df(0x2f0));}['saveSheetBlock'](){const _0xfcaf5f=_0x58e4d7;throw new Error(_0xfcaf5f(0x2f0));}[_0x58e4d7(0x40f)](){const _0xfeae17=_0x58e4d7;throw new Error(_0xfeae17(0x2f0));}['copyFileMeta'](){const _0x3097ac=_0x58e4d7;throw new Error(_0x3097ac(0x2f0));}['getLatestCsReqIdBySid'](){const _0x169e2e=_0x58e4d7;throw new Error(_0x169e2e(0x2f0));}};ls=dc([ni(0x0,_0x4bb278),ni(0x1,_0x22f9f7(_0x3f6ec6))],ls);var fc=Object[_0x58e4d7(0x367)],vc=Object[_0x58e4d7(0x1ba)],mc=(_0xac2674,_0x38b9b1,_0x4eb00b,_0x597521)=>{for(var _0x17a81e=_0x597521>0x1?void 0x0:_0x597521?vc(_0x38b9b1,_0x4eb00b):_0x38b9b1,_0x37bf8d=_0xac2674['length']-0x1,_0x53c89c;_0x37bf8d>=0x0;_0x37bf8d--)(_0x53c89c=_0xac2674[_0x37bf8d])&&(_0x17a81e=(_0x597521?_0x53c89c(_0x38b9b1,_0x4eb00b,_0x17a81e):_0x53c89c(_0x17a81e))||_0x17a81e);return _0x597521&&_0x17a81e&&fc(_0x38b9b1,_0x4eb00b,_0x17a81e),_0x17a81e;},et=(_0x40528a,_0x2310c2)=>(_0x4c1a00,_0x2c64a)=>_0x2310c2(_0x4c1a00,_0x2c64a,_0x40528a);let _s=class extends _0x36b8b7{constructor(_0x5c02e4,_0x6cd276,_0x50ac10,_0xd8ea68,_0x2f8e32){const _0x525b87=_0x58e4d7;super(_0x5c02e4,_0x6cd276,_0x50ac10),this['_transformService']=_0xd8ea68,this[_0x525b87(0x21d)]=_0x2f8e32;}[_0x58e4d7(0x216)](_0x4ffea1,_0x179a83){const _0xcb1c37=_0x58e4d7,_0x8dc691=this[_0xcb1c37(0x2da)](_0x4ffea1);if(_0x8dc691)try{const _0x2d55d5=this[_0xcb1c37(0x302)](_0x8dc691,_0x179a83);this[_0xcb1c37(0x32d)](_0x4ffea1,_0x2d55d5);}catch(_0x41fcd3){this[_0xcb1c37(0x21d)]['error']('[CollaborationUndoRedoService]',_0x41fcd3),this[_0xcb1c37(0x22e)](_0x4ffea1);}const _0xc8c7fe=this[_0xcb1c37(0x433)](_0x4ffea1);if(_0xc8c7fe)try{const _0x5de960=this['_transformStack'](_0xc8c7fe,_0x179a83);this[_0xcb1c37(0x3f4)](_0x4ffea1,_0x5de960);}catch(_0x54117d){this[_0xcb1c37(0x21d)][_0xcb1c37(0x27b)](_0x54117d),this['_clearRedo'](_0x4ffea1);}}[_0x58e4d7(0x22e)](_0x3da1b4){const _0x199e79=_0x58e4d7,_0x9f7026=this[_0x199e79(0x2da)](_0x3da1b4);_0x9f7026&&(_0x9f7026[_0x199e79(0x418)]=0x0,this[_0x199e79(0x4bb)]());}[_0x58e4d7(0x306)](_0x4f1784){const _0x198e22=_0x58e4d7,_0x539e74=this[_0x198e22(0x433)](_0x4f1784);_0x539e74&&(_0x539e74[_0x198e22(0x418)]=0x0,this[_0x198e22(0x4bb)]());}[_0x58e4d7(0x32d)](_0x1bd088,_0x212780){const _0x58a327=_0x58e4d7;this[_0x58a327(0x290)]['set'](_0x1bd088,_0x212780),this[_0x58a327(0x4bb)]();}[_0x58e4d7(0x3f4)](_0x5d0f6e,_0x1ca68b){const _0xa3e8bb=_0x58e4d7;this[_0xa3e8bb(0x258)][_0xa3e8bb(0x372)](_0x5d0f6e,_0x1ca68b),this[_0xa3e8bb(0x4bb)]();}[_0x58e4d7(0x302)](_0x140d8f,_0x38376a){const _0x4f7d07=_0x58e4d7,_0x5eec2b=[];let _0x5273af=_0x38376a,_0x515dc3=_0x38376a;for(let _0x447d1e=_0x140d8f['length']-0x1;_0x447d1e>=0x0;_0x447d1e--){const {unitID:_0x2a3cdb,undoMutations:_0x16505e,redoMutations:_0x5ab1bc}=_0x140d8f[_0x447d1e],_0x40e951=this['_transformService'][_0x4f7d07(0x2e7)](_0x5273af,_0x16505e),_0x31f0cc=this[_0x4f7d07(0x4bf)][_0x4f7d07(0x2e7)](_0x515dc3,_0x5ab1bc);if(_0x44ccf9(_0x40e951)||_0x44ccf9(_0x31f0cc)){this['_logService'][_0x4f7d07(0x27b)](_0x4f7d07(0x1d3),_0x4f7d07(0x495),_0x40e951,_0x31f0cc);break;}_0x5273af=_0x40e951['c1Prime'],_0x515dc3=_0x31f0cc[_0x4f7d07(0x471)],_0x5eec2b['push']({'unitID':_0x2a3cdb,'undoMutations':_0x40e951[_0x4f7d07(0x29a)],'redoMutations':_0x31f0cc[_0x4f7d07(0x29a)]});}return _0x5eec2b[_0x4f7d07(0x4df)]();}};_s=mc([et(0x0,_0x17eff3),et(0x1,_0x13cabf),et(0x2,_0x4c9fde),et(0x3,_0x3c62f1),et(0x4,_0x1bae21)],_s);class pc extends _0x574fb2{constructor(){const _0x4273a0=_0x58e4d7;super(),g(this,_0x4273a0(0x48e)),this[_0x4273a0(0x48e)]=_0x447d1a(window,_0x4273a0(0x468))['pipe'](_0x4bde19(this[_0x4273a0(0x3ff)]),_0x2976fc(0x1),_0xaeb300(void 0x0));}[_0x58e4d7(0x460)](_0x2bd0ec,_0x3af12c,_0x33be3e=!0x1){const _0x314a30=_0x58e4d7,_0x5321fb=new URL(window[_0x314a30(0x28b)]['href']);_0x5321fb[_0x314a30(0x22d)][_0x314a30(0x372)](_0x2bd0ec,_0x3af12c),_0x33be3e?window[_0x314a30(0x2fd)][_0x314a30(0x438)]('','',_0x5321fb[_0x314a30(0x22b)]()):window['history'][_0x314a30(0x130)]('','',_0x5321fb[_0x314a30(0x22b)]());}['removeParam'](_0x163ae7,_0x20a830=!0x1){const _0x8c222d=_0x58e4d7,_0x4fe444=new URL(window[_0x8c222d(0x28b)][_0x8c222d(0x118)]);_0x4fe444[_0x8c222d(0x22d)][_0x8c222d(0xfe)](_0x163ae7),_0x20a830?window[_0x8c222d(0x2fd)]['replaceState']('','',_0x4fe444[_0x8c222d(0x22b)]()):window[_0x8c222d(0x2fd)][_0x8c222d(0x130)]('','',_0x4fe444[_0x8c222d(0x22b)]());}[_0x58e4d7(0x1a9)](_0x1fed57){const _0x9efb92=_0x58e4d7;var _0x168829;return(_0x168829=new URL(window[_0x9efb92(0x28b)][_0x9efb92(0x118)])[_0x9efb92(0x22d)][_0x9efb92(0x3d3)](_0x1fed57))!=null?_0x168829:void 0x0;}}var Yi=Object['defineProperty'],gc=Object[_0x58e4d7(0x1ba)],Sc=(_0x4cd45c,_0x10904a,_0xf5d9c0)=>_0x10904a in _0x4cd45c?Yi(_0x4cd45c,_0x10904a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf5d9c0}):_0x4cd45c[_0x10904a]=_0xf5d9c0,Ic=(_0x3dd61b,_0x1b8f8e,_0x273bfe,_0x396976)=>{const _0x35901d=_0x58e4d7;for(var _0x4d7603=_0x396976>0x1?void 0x0:_0x396976?gc(_0x1b8f8e,_0x273bfe):_0x1b8f8e,_0x14109c=_0x3dd61b[_0x35901d(0x418)]-0x1,_0x217aba;_0x14109c>=0x0;_0x14109c--)(_0x217aba=_0x3dd61b[_0x14109c])&&(_0x4d7603=(_0x396976?_0x217aba(_0x1b8f8e,_0x273bfe,_0x4d7603):_0x217aba(_0x4d7603))||_0x4d7603);return _0x396976&&_0x4d7603&&Yi(_0x1b8f8e,_0x273bfe,_0x4d7603),_0x4d7603;},_t=(_0x455988,_0x567654)=>(_0x54661b,_0x28d690)=>_0x567654(_0x54661b,_0x28d690,_0x455988),Cc=(_0x241347,_0x918699,_0x32a4b9)=>Sc(_0x241347,_0x918699+'',_0x32a4b9);const Ec=_0x58e4d7(0x12c);let us=class extends _0x51e18b{constructor(_0x28dd8f=Er,_0x3b508f,_0x6ea701,_0x16524e,_0xeedbac){const _0x27d703=_0x58e4d7;super(),this[_0x27d703(0x2ae)]=_0x28dd8f,this[_0x27d703(0x21d)]=_0x3b508f,this[_0x27d703(0x380)]=_0x6ea701,this['_injector']=_0x16524e,this[_0x27d703(0x4e9)]=_0xeedbac;const {..._0x2681c4}=this[_0x27d703(0x2ae)];this['_configService'][_0x27d703(0x440)](ie,_0x2681c4);}[_0x58e4d7(0x46e)](){const _0x3005ac=_0x58e4d7;this[_0x3005ac(0x4cd)](),this[_0x3005ac(0x203)]();}[_0x58e4d7(0x1ef)](){const _0x2c7550=_0x58e4d7;_0x307221(this[_0x2c7550(0x405)],[[Et]]);}[_0x58e4d7(0x449)](){this['_registerRenderDependencies']();}[_0x58e4d7(0x4cd)](){const _0x1209ed=_0x58e4d7;var _0x28510a,_0x334603,_0x2b25ee,_0x340aea;this[_0x1209ed(0x405)][_0x1209ed(0x209)](_0x41fb80)&&this[_0x1209ed(0x21d)][_0x1209ed(0x27b)](_0x1209ed(0x2de),_0x1209ed(0x38f));const _0x4dd4c2=[[_0x41fb80,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':pc}],[Ne],[q],[_0x5365ef],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0x334603=(_0x28510a=this['_config'])==null?void 0x0:_0x28510a[_0x1209ed(0x1d4)])!=null?_0x334603:es}],[_0x326725,{'useClass':ls}],[_0x341eb2,{'useClass':cs}],[_0x4da437,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0x2b25ee=this[_0x1209ed(0x2ae)])!=null&&_0x2b25ee[_0x1209ed(0x2f4)]&&_0x4dd4c2[_0x1209ed(0x47e)]([yt,{'useClass':so}]),_0x465a77(this['_injector'],_0x6e3461(_0x4dd4c2,(_0x340aea=this[_0x1209ed(0x2ae)])==null?void 0x0:_0x340aea['override']));}[_0x58e4d7(0x2d5)](){const _0xcf5428=_0x58e4d7;this[_0xcf5428(0x32a)](this[_0xcf5428(0x380)]['registerRenderModule'](_0x11ab9a[_0xcf5428(0x1a7)],[os])),this[_0xcf5428(0x32a)](this[_0xcf5428(0x380)][_0xcf5428(0x439)](_0x11ab9a[_0xcf5428(0x15c)],[as]));}['_initDependencies'](){const _0x1bb1fc=_0x58e4d7;var _0x90a82,_0x334367;this[_0x1bb1fc(0x405)][_0x1bb1fc(0x3d3)](_0x3f6ec6)[_0x1bb1fc(0x3a1)]({'priority':0x14,'interceptor':_0x2dde49({'maxParallel':0x6})}),(_0x90a82=this['_config'])!=null&&_0x90a82[_0x1bb1fc(0x3b4)]||this[_0x1bb1fc(0x405)][_0x1bb1fc(0x3d3)](q)[_0x1bb1fc(0x124)](),(_0x334367=this[_0x1bb1fc(0x2ae)])!=null&&_0x334367[_0x1bb1fc(0x45a)]&&_0x307221(this[_0x1bb1fc(0x405)],[[bt]]),_0x307221(this[_0x1bb1fc(0x405)],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Cc(us,'pluginName',Ec),us=Ic([_0x3632dd(_0x2b7a22,_0x253120),_t(0x1,_0x1bae21),_t(0x2,_0x1dd780),_t(0x3,_0x22f9f7(_0x1dc773)),_t(0x4,_0x4bb278)],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};