@univerjs-pro/collaboration-client 0.4.2-nightly.202411011606 → 0.4.2-nightly.202411031606

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 _0x494e14=_0x5d20;(function(_0x48b5bf,_0x10f29e){const _0x2ef6a9=_0x5d20,_0x40f434=_0x48b5bf();while(!![]){try{const _0x32f8a4=-parseInt(_0x2ef6a9(0x542))/0x1+-parseInt(_0x2ef6a9(0x38e))/0x2*(-parseInt(_0x2ef6a9(0x2b3))/0x3)+parseInt(_0x2ef6a9(0x5e9))/0x4*(parseInt(_0x2ef6a9(0x3d7))/0x5)+parseInt(_0x2ef6a9(0x228))/0x6*(-parseInt(_0x2ef6a9(0x21d))/0x7)+parseInt(_0x2ef6a9(0x4e6))/0x8*(parseInt(_0x2ef6a9(0x364))/0x9)+parseInt(_0x2ef6a9(0x3bc))/0xa*(parseInt(_0x2ef6a9(0x5f4))/0xb)+-parseInt(_0x2ef6a9(0x405))/0xc;if(_0x32f8a4===_0x10f29e)break;else _0x40f434['push'](_0x40f434['shift']());}catch(_0x40e0b5){_0x40f434['push'](_0x40f434['shift']());}}}(_0xe4d5,0x1deb3));var Ki=Object[_0x494e14(0x421)],zi=(_0x52e217,_0x4f317b,_0x15bbdb)=>_0x4f317b in _0x52e217?Ki(_0x52e217,_0x4f317b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15bbdb}):_0x52e217[_0x4f317b]=_0x15bbdb,g=(_0x21a9f2,_0xe32f53,_0x42343e)=>zi(_0x21a9f2,typeof _0xe32f53!=_0x494e14(0x478)?_0xe32f53+'':_0xe32f53,_0x42343e);import{createIdentifier as _0x41367e,Inject as _0x41b3da,Disposable as _0x326223,DisposableCollection as _0x45d7b0,toDisposable as _0xf5e7f5,IConfigService as _0x23210b,ILogService as _0x3bb158,UserManagerService as _0xab6080,UniverInstanceType as _0x50e7dc,IUniverInstanceService as _0x15b9fa,LocaleService as _0x461b9d,Optional as _0x38b4fe,RxDisposable as _0x542deb,Injector as _0x2087b9,Tools as _0x1fd4a4,ILocalStorageService as _0x4bb50a,Rectangle as _0x111a27,ICommandService as _0x1c554d,DOC_RANGE_TYPE as _0x43cc22,JSONX as _0x5acd7c,CommandType as _0x51c5e3,IPermissionService as _0x298af3,IUndoRedoService as _0x21e225,sequenceExecute as _0x558f87,debounce as _0x4360ad,COLORS as _0x560d42,ColorKit as _0x6eb250,ThemeService as _0x4754b0,fromEventSubject as _0x1a7d07,useDependency as _0x45a13b,connectInjector as _0x5aa019,Workbook as _0x39984d,isInternalEditorID as _0x358629,LocalUndoRedoService as _0x152212,IContextService as _0x1bcee7,DependentOn as _0x9cca5,Plugin as _0x47338f,touchDependencies as _0x4ad507,IAuthzIoService as _0x284f3d,registerDependencies as _0x5bbf0d,mergeOverrideWithDependencies as _0x4f2331}from'@univerjs/core';import{Subject as _0x243cfe,merge as _0x5326b0,takeUntil as _0x3ee31c,BehaviorSubject as _0x9b8747,distinctUntilChanged as _0x1e8a26,fromEvent as _0x7e355d,ReplaySubject as _0xd55c1c,take as _0x1dfd23,map as _0x2db811,shareReplay as _0x272c53,of as _0x29feb9,debounceTime as _0x4a986e,filter as _0x2f9ef8,switchMap as _0xa0910a,combineLatest as _0x493f7b,concatMap as _0x17ad4b,mapTo as _0x33a256}from'rxjs';import{map as _0x487dae,take as _0x17a5fa,filter as _0x4dbfb7,delay as _0xd7603f,throttleTime as _0x5c2c68,takeUntil as _0xfbe715,switchMap as _0x7a3cd6}from'rxjs/operators';import{MessageType as _0x31fabe,Tooltip as _0xf9cdbe}from'@univerjs/design';import{IBeforeCloseService as _0x128523,IMessageService as _0x54b964,INotificationService as _0x52089c,useObservable as _0x11fff2,BuiltInUIPart as _0x11c25b,IUIPartsService as _0x3da767}from'@univerjs/ui';import{HTTPService as _0x2d1de9,WebSocketService as _0x58d5a2,MergeInterceptorFactory as _0x9c14de,HTTPRequest as _0x486076,UniverNetworkPlugin as _0x27f895,ThresholdInterceptorFactory as _0x39d18b}from'@univerjs/network';import{CollaborationEvent as _0x3c9498,parseChangesetToProtocol as _0x1fbea0,ISnapshotServerService as _0x220388,isTransformMutationFailure as _0x1f65f6,isTransformMutationsWithChangesetSuccess as _0x46c18d,ITransformService as _0x1197db,RevisionService as _0x1d4656,mapDocumentTypeToUniverType as _0x209cca,isTransformChangesetsSuccess as _0x4151a8,CompressMutationService as _0x3c8c9b,parseProtocolChangeset as _0x5aaef3,SnapshotService as _0x2aa55c,textEncoder as _0x34deb5,b64DecodeUnicode as _0x4efc59,isTransformMutationsWithChangesetFailure as _0x3230ab,UniverCollaborationPlugin as _0x1de7ac}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x76a274}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x3d94b2,DocStateChangeManagerService as _0x5c2099,NodePositionConvertToCursor as _0x2a0e72,NodePositionConvertToRectRange as _0x404c31,TEXT_RANGE_LAYER_INDEX as _0x2f7bd5,SetDocZoomRatioOperation as _0x43f467}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x5999a9,SetSelectionsOperation as _0x337a82,InsertSheetMutation as _0x106c47,EmptyMutation as _0x288a85,WorkbookEditablePermission as _0x4d3cfd,RefRangeService as _0x364852,EffectRefRangId as _0x4ab021,handleIRemoveRow as _0x16c534,handleIRemoveCol as _0x30c153,handleMoveRange as _0x1a43c9,handleInsertRow as _0x42b8c4,handleInsertRangeMoveRight as _0xfa9ce5,handleInsertRangeMoveDown as _0x12a643,handleInsertCol as _0x2d5f09,handleDeleteRangeMoveUp as _0x560e8e,handleDeleteRangeMoveLeft as _0x7a5fb3,runRefRangeMutations as _0x259dc4,SetWorksheetActivateCommand as _0x51c661}from'@univerjs/sheets';import{IRenderManagerService as _0x392b64,Shape as _0x16edce,Rect as _0x1fae94,getColor as _0x1d4014,RegularPolygon as _0x5bdb01,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x103c3d,Vector2 as _0x109432}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x5367d6,RichTextEditingMutation as _0x933dab,SetTextSelectionsOperation as _0x49101c,DocSkeletonManagerService as _0x2e4faf}from'@univerjs/docs';import{ImageSourceType as _0x5f4e56,ImageUploadStatusType as _0x26dd16,IImageIoService as _0x5c0e9a}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x346cfe,serializeRangeWithSheet as _0x483a72}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x996767,VIEWPORT_KEY as _0x4283d3,getCoordByCell as _0x533cec,getSheetObject as _0x538d0b,SheetPermissionInitController as _0xddd62c}from'@univerjs/sheets-ui';import _0x12a549,{forwardRef as _0x23e8c2,useRef as _0x540f8d,createElement as _0x12f720,useCallback as _0x368bc5}from'react';import{IRemoteInstanceService as _0x3fc56e}from'@univerjs/rpc';const rr=_0x494e14(0x1fd),or=_0x494e14(0x566),ar=_0x494e14(0x1f2),kc='SEND_CHANGESET_TIMEOUT',cr=0x7d0,hr=_0x494e14(0x41d),lr='ws://127.0.0.1:8000/universer-api/comb/connect',_r=_0x494e14(0x2ad),ur=0x7530,bi=_0x494e14(0x3cd),Ti=0x4e20,dr=0x4e20,fr=_0x494e14(0x39d),vr=0x3,mr=_0x494e14(0x1f5),pr=0x3e8,gr=_0x494e14(0x367),Sr=_0x494e14(0x46e),Ir=_0x494e14(0x5eb),Cr=_0x494e14(0x596);var Ri=(_0x55e293=>(_0x55e293[_0x55e293[_0x494e14(0x59d)]=0x0]=_0x494e14(0x59d),_0x55e293[_0x55e293['OK']=0x1]='OK',_0x55e293[_0x55e293['INTERNAL_ERROR']=0x2]=_0x494e14(0x441),_0x55e293[_0x55e293[_0x494e14(0x217)]=0x3]=_0x494e14(0x217),_0x55e293[_0x55e293['NOT_FOUND']=0x4]=_0x494e14(0x3e0),_0x55e293[_0x55e293[_0x494e14(0x5b1)]=0x5]=_0x494e14(0x5b1),_0x55e293[_0x55e293['ALREADY_EXISTS']=0x6]=_0x494e14(0x5dd),_0x55e293[_0x55e293[_0x494e14(0x291)]=0x7]=_0x494e14(0x291),_0x55e293[_0x55e293[_0x494e14(0x1fc)]=0x8]='TOO_MANY_REQUESTS',_0x55e293[_0x55e293[_0x494e14(0x28b)]=0x9]=_0x494e14(0x28b),_0x55e293[_0x55e293['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x55e293[_0x55e293[_0x494e14(0x2c0)]=0x1771]=_0x494e14(0x2c0),_0x55e293[_0x55e293[_0x494e14(0x2df)]=0x1772]=_0x494e14(0x2df),_0x55e293[_0x55e293[_0x494e14(0x568)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x55e293[_0x55e293['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x55e293[_0x55e293[_0x494e14(0x43f)]=0x1b5a]=_0x494e14(0x43f),_0x55e293[_0x55e293[_0x494e14(0x268)]=0x1b5b]=_0x494e14(0x268),_0x55e293[_0x55e293['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x494e14(0x51a),_0x55e293[_0x55e293[_0x494e14(0x434)]=0x1b5d]='APPLY_DUPLICATED',_0x55e293[_0x55e293[_0x494e14(0x33a)]=0x1f41]=_0x494e14(0x33a),_0x55e293[_0x55e293[_0x494e14(0x264)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x55e293[_0x55e293[_0x494e14(0x2af)]=0x232a]=_0x494e14(0x2af),_0x55e293[_0x55e293[_0x494e14(0x31d)]=0x232b]=_0x494e14(0x31d),_0x55e293[_0x55e293[_0x494e14(0x4b6)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x55e293[_0x55e293[_0x494e14(0x276)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x55e293[_0x55e293[_0x494e14(0x457)]=0x2711]=_0x494e14(0x457),_0x55e293[_0x55e293[_0x494e14(0x512)]=0x2712]=_0x494e14(0x512),_0x55e293[_0x55e293[_0x494e14(0x4ba)]=0x2713]=_0x494e14(0x4ba),_0x55e293[_0x55e293[_0x494e14(0x3a9)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x55e293[_0x55e293[_0x494e14(0x225)]=-0x1]=_0x494e14(0x225),_0x55e293))(Ri||{}),ce=(_0x746223=>(_0x746223[_0x746223['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x746223[_0x746223['UNIVER_DOC']=0x1]=_0x494e14(0x36f),_0x746223[_0x746223[_0x494e14(0x5dc)]=0x2]=_0x494e14(0x5dc),_0x746223[_0x746223['UNIVER_SLIDE']=0x3]=_0x494e14(0x5b4),_0x746223[_0x746223[_0x494e14(0x3a0)]=0x4]='UNIVER_PROJECT',_0x746223[_0x746223[_0x494e14(0x225)]=-0x1]=_0x494e14(0x225),_0x746223))(ce||{}),W=(_0x419bd1=>(_0x419bd1[_0x419bd1[_0x494e14(0x3cf)]=0x0]='UNKNOWN_CMD',_0x419bd1[_0x419bd1[_0x494e14(0x277)]=0x1]=_0x494e14(0x277),_0x419bd1[_0x419bd1[_0x494e14(0x37b)]=0x2]=_0x494e14(0x37b),_0x419bd1[_0x419bd1[_0x494e14(0x4ae)]=0x3]=_0x494e14(0x4ae),_0x419bd1[_0x419bd1['INGEST']=0x4]=_0x494e14(0x53d),_0x419bd1[_0x419bd1[_0x494e14(0x2fd)]=0x5]='HEARTBEAT',_0x419bd1[_0x419bd1[_0x494e14(0x295)]=0x6]=_0x494e14(0x295),_0x419bd1[_0x419bd1[_0x494e14(0x225)]=-0x1]='UNRECOGNIZED',_0x419bd1))(W||{}),Is=(_0x2a4fed=>(_0x2a4fed[_0x2a4fed['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x2a4fed[_0x2a4fed['OK']=0x1]='OK',_0x2a4fed[_0x2a4fed[_0x494e14(0x5e3)]=0x2]=_0x494e14(0x5e3),_0x2a4fed[_0x2a4fed[_0x494e14(0x225)]=-0x1]=_0x494e14(0x225),_0x2a4fed))(Is||{}),yi=(_0xe736ce=>(_0xe736ce[_0xe736ce[_0x494e14(0x4e8)]=0x0]=_0x494e14(0x4e8),_0xe736ce[_0xe736ce[_0x494e14(0x3ea)]=0x1]=_0x494e14(0x3ea),_0xe736ce[_0xe736ce[_0x494e14(0x2d6)]=0x2]='HttpExport',_0xe736ce[_0xe736ce['UnitEmbedded']=0x3]=_0x494e14(0x2d7),_0xe736ce[_0xe736ce[_0x494e14(0x5a5)]=0x4]=_0x494e14(0x5a5),_0xe736ce[_0xe736ce[_0x494e14(0x225)]=-0x1]=_0x494e14(0x225),_0xe736ce))(yi||{});const ie=_0x494e14(0x463),Er={};function br(_0x4b7cfc){const _0x2f667e=_0x494e14;var _0x32a690,_0x1d80a5,_0x45138d,_0x2e2fcd,_0x44cb7d;const _0x575fe=_0x4b7cfc[_0x2f667e(0x41c)],_0x407c2b=JSON[_0x2f667e(0x39a)](_0x575fe);switch(_0x407c2b[_0x2f667e(0x5c7)]){case W['HEARTBEAT']:case W[_0x2f667e(0x277)]:{const _0x1b4a76=_0x407c2b[_0x2f667e(0x4fd)];return{..._0x407c2b,'data':_0x1b4a76,'cmd':_0x407c2b[_0x2f667e(0x5c7)]};}case W[_0x2f667e(0x37b)]:{const _0x143dce=_0x407c2b['joinRsp'];return{..._0x407c2b,'data':_0x143dce,'cmd':_0x407c2b[_0x2f667e(0x5c7)]};}case W[_0x2f667e(0x295)]:{const _0x30aba1=_0x407c2b[_0x2f667e(0x3ed)];switch(_0x30aba1[_0x2f667e(0x1f1)]){case _0x3c9498[_0x2f667e(0x5c9)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':(_0x32a690=_0x30aba1['permissionRejEvent'])==null?void 0x0:_0x32a690['cs']},'cmd':_0x407c2b['cmd']};case _0x3c9498[_0x2f667e(0x209)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':(_0x1d80a5=_0x30aba1[_0x2f667e(0x2e0)])==null?void 0x0:_0x1d80a5['cs']},'cmd':_0x407c2b[_0x2f667e(0x5c7)]};case _0x3c9498[_0x2f667e(0x4c7)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':(_0x45138d=_0x30aba1[_0x2f667e(0x24d)])==null?void 0x0:_0x45138d['cs']},'cmd':_0x407c2b[_0x2f667e(0x5c7)]};case _0x3c9498[_0x2f667e(0x1f4)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':(_0x2e2fcd=_0x30aba1[_0x2f667e(0x401)])==null?void 0x0:_0x2e2fcd['cs']},'cmd':_0x407c2b[_0x2f667e(0x5c7)]};case _0x3c9498[_0x2f667e(0x57b)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':(_0x44cb7d=_0x30aba1[_0x2f667e(0x497)])==null?void 0x0:_0x44cb7d['cs']},'cmd':_0x407c2b[_0x2f667e(0x5c7)]};case _0x3c9498['UPDATE_CURSOR']:return{..._0x407c2b,'data':{..._0x30aba1,'data':_0x30aba1[_0x2f667e(0x36d)]},'cmd':_0x407c2b[_0x2f667e(0x5c7)]};case _0x3c9498[_0x2f667e(0x5d9)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':_0x30aba1[_0x2f667e(0x51b)]},'cmd':_0x407c2b[_0x2f667e(0x5c7)]};case _0x3c9498[_0x2f667e(0x208)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':_0x30aba1[_0x2f667e(0x22d)]},'cmd':_0x407c2b['cmd']};case _0x3c9498[_0x2f667e(0x37d)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':_0x30aba1[_0x2f667e(0x4ef)]},'cmd':_0x407c2b['cmd']};case _0x3c9498[_0x2f667e(0x1f3)]:case _0x3c9498['LIVESHARE_OPERATION']:return{..._0x407c2b,'data':{..._0x30aba1,'data':_0x30aba1['liveShareOperation']},'cmd':_0x407c2b[_0x2f667e(0x5c7)]};case _0x3c9498['LIVESHARE_TERMINATE']:return{..._0x407c2b,'data':{..._0x30aba1,'data':_0x30aba1[_0x2f667e(0x4ef)]},'cmd':_0x407c2b[_0x2f667e(0x5c7)]};case _0x3c9498[_0x2f667e(0x21c)]:return{..._0x407c2b,'data':_0x30aba1,'cmd':_0x407c2b[_0x2f667e(0x5c7)]};case _0x3c9498[_0x2f667e(0x560)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':_0x30aba1[_0x2f667e(0x545)]},'cmd':_0x407c2b[_0x2f667e(0x5c7)]};case _0x3c9498[_0x2f667e(0x21e)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':_0x30aba1[_0x2f667e(0x4f3)]},'cmd':_0x407c2b['cmd']};case _0x3c9498[_0x2f667e(0x59c)]:return{..._0x407c2b,'data':{..._0x30aba1,'data':_0x30aba1[_0x2f667e(0x2a3)]},'cmd':_0x407c2b[_0x2f667e(0x5c7)]};default:return _0x407c2b;}}default:return _0x407c2b;}}function Tr(_0x2aadb4){const _0x1230b0=_0x494e14;switch(_0x2aadb4['cmd']){case W[_0x1230b0(0x2fd)]:case W['HELLO']:return JSON['stringify']({'cmd':_0x2aadb4[_0x1230b0(0x5c7)],'routeKey':_0x2aadb4['routeKey']});case W[_0x1230b0(0x53d)]:{let _0x3e09f8;switch(_0x2aadb4[_0x1230b0(0x41c)]['eventID']){case _0x3c9498[_0x1230b0(0x5c2)]:{_0x3e09f8={'eventID':_0x3c9498[_0x1230b0(0x5c2)],'updateCursorEvent':_0x2aadb4[_0x1230b0(0x41c)][_0x1230b0(0x41c)]};break;}case _0x3c9498[_0x1230b0(0x208)]:{_0x3e09f8={'eventID':_0x3c9498[_0x1230b0(0x208)],'leaveEvent':_0x2aadb4['data']['data']};break;}case _0x3c9498[_0x1230b0(0x5d9)]:{_0x3e09f8={'eventID':_0x3c9498[_0x1230b0(0x5d9)],'joinEvent':_0x2aadb4[_0x1230b0(0x41c)]['data']};break;}case _0x3c9498[_0x1230b0(0x37d)]:{_0x3e09f8={'eventID':_0x3c9498[_0x1230b0(0x37d)],'liveShareNewHost':_0x2aadb4['data'][_0x1230b0(0x41c)]};break;}case _0x3c9498[_0x1230b0(0x451)]:{_0x3e09f8={'eventID':_0x3c9498[_0x1230b0(0x451)],'liveShareOperation':_0x2aadb4[_0x1230b0(0x41c)][_0x1230b0(0x41c)]};break;}case _0x3c9498[_0x1230b0(0x392)]:{_0x3e09f8={'eventID':_0x3c9498[_0x1230b0(0x392)],'liveShareTerminate':_0x2aadb4['data'][_0x1230b0(0x41c)]};break;}case _0x3c9498[_0x1230b0(0x2eb)]:{_0x3e09f8={'eventID':_0x3c9498['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2aadb4['data']['data']};break;}case _0x3c9498[_0x1230b0(0x1f3)]:{_0x3e09f8={'eventID':_0x3c9498[_0x1230b0(0x1f3)]};break;}default:_0x3e09f8={'eventID':_0x2aadb4['data'][_0x1230b0(0x1f1)]};}return JSON[_0x1230b0(0x415)]({'cmd':_0x2aadb4[_0x1230b0(0x5c7)],'routeKey':_0x2aadb4[_0x1230b0(0x302)],'collaMsg':_0x3e09f8});}case W[_0x1230b0(0x37b)]:return JSON['stringify']({'cmd':_0x2aadb4[_0x1230b0(0x5c7)],'routeKey':_0x2aadb4[_0x1230b0(0x302)],'joinReq':_0x2aadb4['data']});case W[_0x1230b0(0x4ae)]:return JSON[_0x1230b0(0x415)]({'cmd':_0x2aadb4[_0x1230b0(0x5c7)],'routeKey':_0x2aadb4[_0x1230b0(0x302)],'leaveReq':_0x2aadb4[_0x1230b0(0x41c)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Rr=Object['defineProperty'],yr=Object['getOwnPropertyDescriptor'],Or=(_0xfb8bd4,_0x4f381f,_0x40a852,_0x2034f4)=>{const _0x45ff9e=_0x494e14;for(var _0x865588=_0x2034f4>0x1?void 0x0:_0x2034f4?yr(_0x4f381f,_0x40a852):_0x4f381f,_0x3a8f24=_0xfb8bd4[_0x45ff9e(0x490)]-0x1,_0x37dafe;_0x3a8f24>=0x0;_0x3a8f24--)(_0x37dafe=_0xfb8bd4[_0x3a8f24])&&(_0x865588=(_0x2034f4?_0x37dafe(_0x4f381f,_0x40a852,_0x865588):_0x37dafe(_0x865588))||_0x865588);return _0x2034f4&&_0x865588&&Rr(_0x4f381f,_0x40a852,_0x865588),_0x865588;},qe=(_0x43c2d4,_0x10ea1a)=>(_0x22b3ab,_0x394c1f)=>_0x10ea1a(_0x22b3ab,_0x394c1f,_0x43c2d4);const Oi=_0x41367e(_0x494e14(0x26e));function wr(_0x56c1a4,_0x551dfd,_0x10883c){const _0x106d55=_0x494e14;return _0x56c1a4+'/'+_0x551dfd+'/unit/'+_0x10883c+_0x106d55(0x3c5);}let es=class extends _0x326223{constructor(_0x1f7e04,_0x108cac,_0x159c89,_0x3d8a6d,_0x2d9e3c){const _0x548e24=_0x494e14;super(),this['_http']=_0x1f7e04,this[_0x548e24(0x26b)]=_0x108cac,this[_0x548e24(0x21f)]=_0x159c89,this[_0x548e24(0x3c0)]=_0x3d8a6d,this['_snapshotServerService']=_0x2d9e3c;}['createSocket'](_0x3ffec5){const _0xcaf51d=_0x494e14,_0x2fad4b=this[_0xcaf51d(0x26b)][_0xcaf51d(0x23c)](_0x3ffec5);if(!_0x2fad4b)throw new Error(_0xcaf51d(0x430));const _0x545e97=new _0x45d7b0(),_0x2f1788=new _0x243cfe();_0x545e97[_0xcaf51d(0x3fb)](_0x2fad4b[_0xcaf51d(0x1fb)]['subscribe'](_0x5d042e=>_0x2f1788[_0xcaf51d(0x2d0)](_0x5d042e))),_0x545e97[_0xcaf51d(0x3fb)](_0xf5e7f5(()=>_0x2f1788[_0xcaf51d(0x5bc)]()));const _0xaa43d5=new _0x243cfe();_0x545e97[_0xcaf51d(0x3fb)](_0x2fad4b[_0xcaf51d(0x470)][_0xcaf51d(0x540)](_0x5719f1=>_0xaa43d5['next'](_0x5719f1))),_0x545e97[_0xcaf51d(0x3fb)](_0xf5e7f5(()=>_0xaa43d5[_0xcaf51d(0x5bc)]()));const _0x911a1f=new _0x243cfe();_0x545e97[_0xcaf51d(0x3fb)](_0x2fad4b['message$']['subscribe'](_0x2649bc=>{const _0x48ca97=_0xcaf51d,_0xb57fb7=br(_0x2649bc);_0x911a1f[_0x48ca97(0x2d0)](_0xb57fb7);})),_0x545e97['add'](_0xf5e7f5(()=>_0x911a1f[_0xcaf51d(0x5bc)]()));let _0x200a72;const _0x3397c0=()=>{const _0x75b1c3=_0xcaf51d;_0xaa43d5['next'](new Event(_0x75b1c3(0x4d0))),_0x2f1788[_0x75b1c3(0x2d0)](new CloseEvent(_0x75b1c3(0x4d0))),_0x200a72[_0x75b1c3(0x2d5)]();};return _0x200a72={'memberID':'','close$':_0x2f1788[_0xcaf51d(0x372)](),'error$':_0xaa43d5[_0xcaf51d(0x372)](),'open$':_0x2fad4b[_0xcaf51d(0x55c)],'message$':_0x911a1f[_0xcaf51d(0x372)](),'send':_0x292690=>{const _0x4bcf2b=_0xcaf51d;if(_0x292690[_0x4bcf2b(0x5c7)]===W[_0x4bcf2b(0x53d)]){if(_0x292690[_0x4bcf2b(0x41c)][_0x4bcf2b(0x1f1)]===_0x3c9498[_0x4bcf2b(0x358)]){this[_0x4bcf2b(0x219)](_0x200a72,_0x292690[_0x4bcf2b(0x41c)])[_0x4bcf2b(0x5fa)](_0x1e275a=>{const _0x2bf9b4=_0x4bcf2b;this[_0x2bf9b4(0x3c0)][_0x2bf9b4(0x48a)](_0x1e275a),_0x3397c0();});return;}if(_0x292690[_0x4bcf2b(0x41c)][_0x4bcf2b(0x1f1)]===_0x3c9498[_0x4bcf2b(0x33d)]){const _0x2c37ed=_0x292690['data'];this['_fetchMissChangesets'](_0x2c37ed)[_0x4bcf2b(0x37e)](_0x5d5ddf=>{const _0x34107a=_0x4bcf2b;_0x911a1f[_0x34107a(0x2d0)]({'cmd':W[_0x34107a(0x295)],'code':Is['OK'],'routeKey':_0x2c37ed[_0x34107a(0x41c)][_0x34107a(0x55b)],'routeType':'','data':{'eventID':_0x3c9498[_0x34107a(0x29f)],'data':{'changesets':_0x5d5ddf}}});})['catch'](_0x1cb8da=>{const _0x20c7b4=_0x4bcf2b;this[_0x20c7b4(0x3c0)][_0x20c7b4(0x48a)](_0x1cb8da),_0x3397c0();});return;}}_0x2fad4b['send'](Tr(_0x292690));},'close':()=>{const _0x1118fc=_0xcaf51d;_0x2fad4b[_0x1118fc(0x2d5)](),_0x545e97[_0x1118fc(0x301)]();}},_0x200a72;}async[_0x494e14(0x219)](_0xfff44c,_0x4d3b8e){const _0x35680d=_0x494e14;var _0x544e8f,_0x1c929b;const {unitType:_0x1c3d9f,unitID:_0x4147e,changeset:_0x403ead}=_0x4d3b8e[_0x35680d(0x41c)],_0x1eddad={'unitID':_0x4147e,'memberID':_0xfff44c[_0x35680d(0x237)],'type':_0x1c3d9f,'changeset':_0x1fbea0(_0x403ead)},_0x227eab=this[_0x35680d(0x21f)][_0x35680d(0x27f)](gr),_0x45b191=this[_0x35680d(0x21f)]['getConfig'](ie),_0x46590f=wr((_0x1c929b=(_0x544e8f=_0x45b191==null?void 0x0:_0x45b191['collabSubmitChangesetUrl'])!=null?_0x544e8f:_0x227eab)!=null?_0x1c929b:Sr,_0x1c3d9f,_0x4147e);try{await this['_http'][_0x35680d(0x313)](_0x46590f,{'body':_0x1eddad});}catch(_0x30c8ae){throw this['_logService'][_0x35680d(0x48a)](_0x35680d(0x25c),_0x35680d(0x508)),_0x30c8ae;}}async[_0x494e14(0x2e6)](_0x41ef67){const _0x1c82b9=_0x494e14,{unitID:_0x443024,from:_0x378f34,to:_0xcc1990,unitType:_0x5988c6}=_0x41ef67['data'];return(await this['_snapshotServerService'][_0x1c82b9(0x593)]({'metadata':void 0x0},{'unitID':_0x443024,'type':_0x5988c6,'from':_0x378f34,'to':_0xcc1990}))[_0x1c82b9(0x29e)];}};es=Or([qe(0x0,_0x41b3da(_0x2d1de9)),qe(0x1,_0x41b3da(_0x58d5a2)),qe(0x2,_0x23210b),qe(0x3,_0x3bb158),qe(0x4,_0x220388)],es);function _0xe4d5(){const _0x5f57e2=['_initDependencies','FileId','c1Prime','_resendWithTimeout','data','COLLAB_WEB_SOCKET_URL','hide','resize','indexOf','defineProperty','_memberService','\x0aAfter:\x20','removeMember','1em','collaboratorID','setCurrentUser','setShapeProps','_localStorageService','roomMembers','_schedule','_handleLeaveEvent','flatMap','attrs','_roomMembers','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getActiveSheet','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_snapshotService','APPLY_DUPLICATED','buffer','transformByState','concat','_heartbeatTimer','algo','UniverIcon','addEventListener','unshift','_hash','ivSize','APPLY_NON_SEQUENTIAL_REVISION','drawWith','INTERNAL_ERROR','_initStatusListener','_updateLocalCursor','getTime','clone','cursorInfo','_waitForHeartbeatResponse','_onRemoteACK','_initEventListeners','clipPath','update','_hideTimer','OnLineSingle','propertyIsEnumerable','_colorIndex','call','LIVESHARE_OPERATION','every','VIEW_MAIN','_createSocket','sigBytes','_transitionLocked','YUUMI_UNABLE_LOAD_URL','visibilitychange','Utf8','registerRenderModule','_onUserJoin','lib','updatePermissionPoint','/object','permission.content','getSheetBySheetId','disposeWithMe','url(#$1','collaboration-client.config','transformMutationsWithChangeset','FromArray','registerOnClose','getUnitId','action','_registerRenderDependencies','_messageService','sheetId','univer-offline','_onRefRangeChange','/universer-api/comb','_send','error$','RemoveRowCommandId','_hover','_undoStacks','getResourcesRequest','_createHmacHelper','_executeRemoteChangeset','[PendingState]:\x20received\x20rejection.','symbol','getInterceptPoints','&assign=','bottom','OpenSSL','synced','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','gold400','ONLINE','has','measureText','saveSnapshot','startColumn','subunit','_range','setItem','default','_hasher','error','snapshotServerUrl','/fetchmissing?from=','allowed','_drawRectRange','Error\x20on\x20receiving\x20event','length','text','onPointerLeave$','getUnhiddenWorksheets','filter','black','collabStatus.synced','csShouldRetryEvent','_config','0\x200\x2017\x2016','getValue','Base64','_removeClearOtherTimer','blue400','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_stopTelemetryCollaborationNewChangeset','focused$','tag','InsertRowCommandId','beginPath','DeleteRangeMoveLeftCommandId','getUnitType','byteLength','_onConnectionFailed','fetching\x20missing\x20changesets\x20from\x20','compute','arc','_beforeCloseService','_updateState','encode','LEAVE','_transformStack','PENDING','subUnitId','_ensureSubject','setConfig','_refreshCollabCursors','_session','LICENSE_EXPORT_SIZE_EXCEEDED','awaiting_with_pending','endColumn','_onRemoteChangeset','YUUMI_RATE_OVER_LIMIT','_clearRedo','displayName','_sessionStatus$','restore','state$','collabWebSocketUrl','_state$','retryConnectingInterval','_disableEditing','round','_members','_joinRoom','NEW_CHANGESETS','_updateSubUnitFromURLParams','_docStateChangeManagerService','_scheduleClearOtherTimer','reqId','override','[PendingState]:\x20received\x20acknowledgement.','WordArray','_onConnectionOpen','connection\x20error','repeat','endRow','_socketReady','getMergeData','_throwTelemetryCollaborationNewChangeset','/-/object/-/batch_allowed','Could\x20not\x20dynamically\x20require\x20\x22','_entityInit$','newValue','listCollaborators','activeSheet$','redoState','commentUpdate$','_onOffline','substring','_isPermissionRej','selection','NO_OTHER_CLIENTS_EDITING','TEXT','_saveTaskMap','svg','3544OYWcol','_labelPosition','Undefined','_createInitialStateImpl','setUndoRedoMutationParamsCache','_setupBeforeClosingHandler','ERROR_IMAGE','collaborators','getMemberID','liveShareNewHost','_sendHeartbeatTimer','_oKey','_sendHeartbeat','updatePermissionObjEvent','colorChannel1','verdancy600','InsertRangeMoveRightCommandId','socket$','enableSingleActiveInstanceLock','crypto','getRangePointData','replaceState','onMissedChangesetFetched','infoRsp','undoState','_telemetryInfo','_transformUndoRedoStack','Encryptor','/universer-api/authz','href','encodeURIComponent','_DEC_XFORM_MODE','getDeserializedSheetBlock','/unit/','submit\x20changeset\x20error!','_prevBlock','_sender','collaboration-session-retry','getCurrentRevOfUnit','compose','status','_incrementRevisionNumber','xlink:href','onMouseMove','YUUMI_URL_COL_OUT_OF_RANGE','_undoRedoService','getUniverSheetInstance','_initMergeInterceptor','_clearOtherTimers','closePath','unknown','decrypt','APPLY_PERMISSION_DENIED','joinEvent','_mode','OffLineSingle','setInterval','getImage','_registerDependencies','_collabCursorController','_syncEditingCollabCursorService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','on-line-single','put','SHA1','onCommandExecuted','_startCollaboration','objectType','HEADER_MENU','_handleHover','getVpScrollXYInfoByPosToVp','_colorAssignService','localeService','_initUnitPermissionChange','_cursorShapes','objectID','_createInitialState','save','delete','onload','_scheduleSaving','skeleton','extend','/block/','SUCCUSS','_initCommandExecutedListener','onPointerMove$','INGEST','execute','off-line-single_clip0_910_343','subscribe','SYNCED','17681uBQKeI','getAncestorScale','className','commentUpdateEvent','_tryReconnect','saveOfflineData','deepClone','toggleOffline','_doReset','_candidateSocket','_getMergeRange','_queuedRemoteChangesets','ERROR_EXCEED_SIZE','onTransformIME','string','JOINING','_onRemoteRejected','_clearCollaborationTimeoutTimer','_socketMessageSubscription','lineTo','c2Prime','Error','unpad','session.collaboration-timeout','popstate','unitID','open$','children','_httpService','collaboration.single-unit.warning','COMMENT_UPDATE','removeParam','resourceIDs','_docSyncEditingCollabCursorService','_acknowledgedAwaitingChangeset','MD5','/universer-api/snapshot','_startDocCollabCursor','ENSURE_SNAPSHOT_EXECUTION','_setupSubUnitSync','conflict','reduce','show','setAlpha','_changesetSessionId','_compressMutationService','isArray','getItem','_color','[UniverCollaborationClientPlugin]','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','getSheetId','unitId\x20is\x20not\x20found','_transformStateCache','addObjects','_data','_event$','CHANGESET_SHOULD_RETRY','hostname','assignAColorForMemberID','some','#fff','_urlService','not_collab','color','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformIMECache','setWaitCount','{fileID}','_iv','failed\x20to\x20apply\x20missed\x20changesets!','incrementRevOfUnit','CBC','forEach','_showConflictNotification','requestParams','max','\x20to\x20','readInt32LE','_docTransformSelectionsService','mutations','fetchMissingChangesets','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_listenToOfflineEvent','/universer-api/oidc/authpage','_checkMissing','_commentUpdate$','_init','_eventUnsubscribe','_cursorInfo$','SHOULD_CLOSE_CONN','UNDEFINED','charCodeAt','isEditing','_entities','trim','_injector','onTransformRemoteChangesetByStateCache','substr','UnitSnapshot','_disabled','getCollabEntity','fetch_missing','reset','onMissingChangesets','rgba(255,\x20255,\x20255,\x200.01)','_tryEnsureSocket','_ENC_XFORM_MODE','/universer-api/stream/file/upload','byteOffset','_append','UNAUTHENTICATED','_loadDoc','_createHandler','UNIVER_SLIDE','history','interceptor','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','\x0aCurrent:\x20','transformUndoRedo','$super','ERROR_IMAGE_TYPE','complete','univer-online-status-icon','roomMembers$','getWorkbookSelections','clamp','_handleJoinEvent','UPDATE_CURSOR','transformSelections','_context','toRgbString','COMPRESS_MUTATION_SEND','cmd','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','PERMISSION_REJ','m2Prime','clear','ACTIVE_UNIT_EVENT_CHANNEL','/allowed','_sendingTimer','_state','toggleOnline','startRow','_process','getStateCache','idSuffix','_map','entries','transformStateCache','Base','USERS_ENTER','randomUUID','random','UNIVER_SHEET','ALREADY_EXISTS','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_rescheduleHeartbeat','_saveCache','_draw','_startSheetCollabCursor','FAIL','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[CollaborationUndoRedoService]','&to=','collab-client.tooltip.reconnect','transformChangesets','100052pyDRcc','height','LOGIN_URL_KEY','cfg','map','_univerInstanceService','_commandService','row','_localeService','_retryCount','with','482471Aajtan','_roomMembers$','unsubscribe','_getSignURL','_syncEditingCollabCursor','_updateStatus','catch','updateMember','_initStatusComponent','InsertRangeMoveDownCommandId','hovered','onPointerEnter$','Pkcs7','findNodePositionByCharIndex','/role','/object/','url(#off-line-single_clip0_910_343)','#FFF','_xformMode','_getAnchorBounding','transformMutation','_collaborationPaused','/rev/','eventID','SNAPSHOT_URL_KEY','LIVESHARE_FETCH_OPERATIONS','CHANGESET_REJ','LOCAL_CACHE_INTERVAL','[SyncedState]:\x20received\x20rejection.','file','onTransformChange$','_toggleOnline','_cursor','close$','TOO_MANY_REQUESTS','SNAPSHOT_SERVER_URL_KEY','getMember','_clearHeartbeatTimer','_getSnapshotAPIPrefix','getAllMembers','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_minBufferSize','msCrypto','min','_docTransformStateCacheService','set','USERS_LEAVE','CHANGESET_ACK','values','split','M0\x200H16V16H0z','_startTelemetryCollaborationNewChangeset','_awaitingChangeset','?url=','_onUserLeave','_remoteChangesetQueue','kdf','blockSize','number','Decryptor','width','PERMISSION_DENIED','getUnitStatus$','_submitChangeset','_removeRoom','create','MSG_FOR_ERROR','554827TfZyEc','UPDATE_PERMISSION_OBJ','_configService','PasswordBasedCipher','_decreaseWaiting','fetchThroughInterceptors','/collaborator','Cipher','UNRECOGNIZED','enableLocalCache','DeleteRangeMoveUpCommandId','6EvTnBf','getTypeOfUnitAdded$','mode','_socket$','slice','leaveEvent','url(#on-line-single_clip0_910_349)','_lastPointer','code','_replayCachedMutations','currentTheme$','range','_clearTimeoutTimer','onRemoteRetry','getCurrentUnitForType','memberID','_doCryptBlock','saveChangeset','_onLocalMutation','body','createSocket','[OfflineState]:\x20received\x20acknowledgement.','_id','onTransformSelections','title','getUnit','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','contains','fromCharCode','purple300','_substituteRedoStack','_themeService','onSyncEditingCollabCursor','message$','subscribeEvent','workbook','readAsDataURL','newCsEvent','div','result','replaceTextRanges','_updateURLWithCurrentState','image/png','getActiveRange','_scene','image/jpg','_type','_unlockTransition','deleteCollaborator','batchAllowed','onTransformRemoteChangesetByIMECache','onStateChange','[CollaborationSession]','_getUploadFileURL','getLatestCsReqIdBySid','RECT','_loadSheet','append','apply','hasher','LICENSE_MAX_UNITS_EXCEEDED','onTransformState','clearTimeout','loadOfflineData','APPLY_REVISION_CONFILICT','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','rng','_ws','_onRecvEvent','_removeCollabCursors','univer-pro.collaboration-client-socket-service','on-line-single_clip0_910_349','target','push','function','image/gif','OTHER_CLIENTS_EDITING','transformRemoteChangeset','LICENSE_DISTRO_REJECTED','HELLO','selections','userID','iterations','_onCombEvent','getFocusedUnit','_collaborationSessionService','column','getConfig','uni.network.url-service','duration','_pendingMutations','collab-text-range-','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','now','getDocRanges','object','getParam','icon','SerializableCipher','COMPLETION_FINISHED','getRenderById','_key','_telemetryService','_nRounds','image/jpeg','INVALID_ARGUMENT','session.will-retry','_socketService','fill','RECV','_clearUndo','editing\x20status\x20changed\x20to','sendChangesetTimeout','_collaborationController','_toggleOffline','registerBeforeClose','_getLoginPath','[SyncedState]:\x20received\x20acknowledgement.','changesets','PSEUDO_FETCH_MISSING_RESULT','permission.title','_resendTimeout','collaboration_new_changeset','shouldCloseConn','getOwnPropertyDescriptor','_resendTimer','_cursors','urlChange$','_sessions','_doFinalize','auth.needGotoLoginAlert','COMPRESS_MUTATION_APPLY','currentColor','HEARTBEAT_INTERVAL','_handleHeartbeatEvent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setActiveRange','_name','pending','6ksfLAU','[FetchMissState]','socketService','_getAPIPrefixPath','_permissionService','fromCollab','toString','sessionStatus$','splice','src','transformIMECache','_onConflict','_instanceService','SNAPSHOT_INVALID_SNAPSHOT','textRanges','syncEditingCollabCursor','AWAITING','_transformUndoredo','_updateCollabCursors','\x20in\x20_schedule.','encrypt','_substituteUndoStack','_getRedoStack','getRelativeToViewportCoord','registerHTTPInterceptor','_collaborationTimeoutTimer','type','evenodd','reject','next','_onRemoteRetry','makeDirty','doc.mutation.rich-text-editing','updateOfflineData','close','HttpExport','UnitEmbedded','m1Prime','_hovered','_scheduleCollaborationTimeoutTimer','_transformSelections','_socket','_retryConnectingTimer','use','SNAPSHOT_HAS_BEEN_REMOVED','csAckEvent','path','UUID','_collabSessionService','Univer','ranges','_fetchMissChangesets','[OfflineState]:\x20received\x20changeset.','_shouldReportTelemetry','state','collabCursorState$','LIVESHARE_REQUEST_HOST','_initCloseConn','_transformPreviousActiveRange','offline','toLowerCase','padding','revision','keySize','closeSession','cursorInfo$','socket\x20open.','floor','prototype','collaboration.closeRoom','_getSheetObject','IDLE','rev','session.room-full','HEARTBEAT','_drawAnchor','getOwnPropertySymbols','image/bmp','dispose','routeKey','finalize','_unitStatus','_drawTextRange','_onMessage','getCollabEntity$','charAt','onRemoteAck','[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.','_imageSourceCache','_handler','snapshot','BlockCipher','baseRev','getRoom','_transformRemoteChangesetByIMECache','_textBubble','post','MUTATION','includes','univer-online-status-title','list','addObject','headers','searchParams','disableLocalCache','current','LICENSE_IMPORT_SIZE_EXCEEDED','_keyPriorReset','none','/universer-api/file/{fileID}/sign-url','conflict.title','_getDownloadEndpointURL','NoPadding','onRemoteChangeset','DEFAULT_FILE_NAME','Malformed\x20UTF-8\x20data','/-/object/list','_cachedData','[DataLoaderController]','CONFLICT','_nDataBytes','_applyRemoteChangeset','FETCH_MISS','find','conflict.content','0\x200\x2016\x2016','awaiting','AWAITING_WITH_PENDING','collab-rect-range-','_redoStacks','loadSheet','actions','requireSession','_backgroundColor','createEncryptor','CONNECTOR_DATA_TOO_LARGE','startsWith','unit','FETCH_MISSING','exhaustSavingTask','init','_anchorDot','_userManagerService','_docSkeletonManagerService','sessionStatus','capture','UNIVER_COLLABORATION_CLIENT_PLUGIN','getCurrentUser','appendMutation','pushState','setParam','assign','fillText','loadDoc','fetchMiss','reconnect','AUTHZ_URL_KEY','_anchor','unit-cache-','CipherParams','from','currentSkeleton$','_getSaveTimeout','univer-online','getTypeOfUnitDisposed$','SUBMIT_CHANGESET','debug','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','listRoles','_render','resend','createDecryptor','BlockCipherMode','_singleActiveUnitService','_docSkeleton','clearInterval','sheetID','4653xkXHRq','setTimeout','decryptBlock','COLLAB_SUBMIT_CHANGESET_URL','event$','_assignedColors','authzUrl','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','hasOwnProperty','updateCursorEvent','uploadFileServerUrl','UNIVER_DOC','initWorkbookPermissionChange','Hex','asObservable','_onCursorDelete','fillStyle','_waitCount','patch','getUndoRedoMutationParamsCache','getViewport','onlineStatusIcon','setShowComponents','JOIN','top','LIVESHARE_NEW_HOST','then','__creator','pluginName','transformStack\x20failed!','isActive','translate(.97)','defs','_timeoutTimer','font','OFFLINE','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_replaceFileID','get','_getSendChangesetTimeout','getRandomValues','getCollabCursors$','142588ZMBubN','Unknown\x20user','NOT_COLLAB','_localCacheService','LIVESHARE_TERMINATE','_clearScheduledTask','_getAPIPrefix','_updateLocalCache','processBlock','createInstance','_getCurrentRevision','_lockTransition','parse','Warning','send','RETRY_CONNECTING_MAX_COUNT','_cipher','_onFetchMissResult','UNIVER_PROJECT','session','params','Hasher','onRemoteRej','AES','univerjs-icon\x20univerjs-icon-','_scheduleTimestamp','isPermissionRej','YUUMI_SUBSCRIPTION_NOT_FOUND','...','bind','sid','format','/resources','_online','BufferedBlockAlgorithm','_status$','_renderManagerService','_refRangeService','size','_unitID','exports','ceil','_revisionService','abs','_changesetReqId','HmacSHA1','10NzdIoS','enableOfflineEditing','replace','_getUndoStack','_logService','_invKeySchedule','Latin1','_transformService','equals','/new_changes','collab-text-anchor-','join','onSendChangeset','onStarting','executeCommand','HMAC','responseType','HEARTBEAT_TIMEOUT','session.connection-failed','UNKNOWN_CMD','jiqing500','whenReady','randomBytes','pad','key','encryptBlock','univer-pro.collaboration-client.single-active-unit-service','5IAZSrd','stopTime','onlyLocal','createElement','registerRefRange','_listenToOnlineEvent','_onCursorUpdate','_parse','_createHelper','NOT_FOUND','_sheetTransformSelectionsService','_transformRemoteChangesetByStateCache','updateCollaborator','_transformHistoryAndStateStack','x-univer-host','MoveRangeCommandId','_change$','InsertColCommandId','_onJoinRoomEvent','HttpImport','pipe','_scheduleHeartbeat','collaMsg','_shapes','change$','location','_initResize','/universer-api/snapshot/','getImageSourceCache','_exhaustRemoteChangesetQueue','dispose$','words','_initRequestHeader','_collabCursorState$','roomInfos','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','add','generateRandomId','_notificationService','collabStatus.syncing','unitId','_selfUnitIDs','csRejEvent','originalMeta','awaitingChangeset','_sheetSkeletonManagerService','2652048HUbqON','getSkeleton','enc','_uiPartsService','[CollaborationSessionService]','[CollaborationEntity]','EvpKDF','name','labelPosition','_HTTPService','docStateChange$','resolve','fillRule','_unitOnClients','getOffsetConfig','objects','stringify','online','defIds'];_0xe4d5=function(){return _0x5f57e2;};return _0xe4d5();}const Dr=_0x494e14(0x2a2);function Pr(_0x2dd118){const _0x4ac0c1=_0x494e14;return JSON['stringify'](_0x2dd118)[_0x4ac0c1(0x490)];}class wi{constructor(){const _0x494958=_0x494e14;g(this,_0x494958(0x598),new _0x243cfe()),g(this,_0x494958(0x4dd),this['_commentUpdate$']['asObservable']());}['onCommentUpdate'](_0x2f1108){const _0x1436e1=_0x494e14;this[_0x1436e1(0x598)][_0x1436e1(0x2d0)](_0x2f1108);}}var Ur=Object[_0x494e14(0x421)],Nr=Object[_0x494e14(0x2a4)],Ar=(_0x235b0a,_0x3d4370,_0x36e3f8,_0x4d3813)=>{const _0xce042f=_0x494e14;for(var _0x2cf3e1=_0x4d3813>0x1?void 0x0:_0x4d3813?Nr(_0x3d4370,_0x36e3f8):_0x3d4370,_0x1eee14=_0x235b0a[_0xce042f(0x490)]-0x1,_0x22071c;_0x1eee14>=0x0;_0x1eee14--)(_0x22071c=_0x235b0a[_0x1eee14])&&(_0x2cf3e1=(_0x4d3813?_0x22071c(_0x3d4370,_0x36e3f8,_0x2cf3e1):_0x22071c(_0x2cf3e1))||_0x2cf3e1);return _0x4d3813&&_0x2cf3e1&&Ur(_0x3d4370,_0x36e3f8,_0x2cf3e1),_0x2cf3e1;},Hs=(_0x24a98e,_0x7d91b0)=>(_0x17706d,_0x319b3d)=>_0x7d91b0(_0x17706d,_0x319b3d,_0x24a98e);let Ne=class extends _0x326223{constructor(_0x2731,_0x428951){const _0x27c3af=_0x494e14;super(),g(this,_0x27c3af(0x42f),new Map()),(this[_0x27c3af(0x5ee)]=_0x2731,this['_userManagerService']=_0x428951,this[_0x27c3af(0x461)](_0xf5e7f5(_0x5326b0(this[_0x27c3af(0x5ee)]['getTypeOfUnitDisposed$'](_0x50e7dc[_0x27c3af(0x5dc)])[_0x27c3af(0x3eb)](_0x487dae(_0xaacdcf=>_0xaacdcf['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x50e7dc[_0x27c3af(0x36f)])[_0x27c3af(0x3eb)](_0x487dae(_0x233c14=>_0x233c14['getUnitId']())),this[_0x27c3af(0x5ee)][_0x27c3af(0x357)](_0x50e7dc[_0x27c3af(0x5b4)])['pipe'](_0x487dae(_0x38c03c=>_0x38c03c[_0x27c3af(0x467)]())))[_0x27c3af(0x540)](_0xcc66f2=>this[_0x27c3af(0x21a)](_0xcc66f2)))));}[_0x494e14(0x427)](_0x4f98f9){const _0x40be42=_0x494e14;this['_userManagerService'][_0x40be42(0x427)](_0x4f98f9);}[_0x494e14(0x346)](){const _0xa3aa82=_0x494e14;return this[_0xa3aa82(0x341)][_0xa3aa82(0x346)]();}['updateMember'](_0x30c3b8,_0x28e392){const _0x55ed46=_0x494e14;let _0x195727=this[_0x55ed46(0x42f)][_0x55ed46(0x38a)](_0x30c3b8);_0x195727||(_0x195727=new Mr(),this['_roomMembers'][_0x55ed46(0x207)](_0x30c3b8,_0x195727)),_0x195727[_0x55ed46(0x5fb)](_0x28e392);}[_0x494e14(0x424)](_0x2ffe46,_0x3f114c){const _0x2962d5=_0x494e14,_0x2ff90d=this[_0x2962d5(0x42f)][_0x2962d5(0x38a)](_0x2ffe46);_0x2ff90d&&_0x2ff90d['removeMember'](_0x3f114c);}[_0x494e14(0x310)](_0x2d0cd7){const _0xe05024=_0x494e14;return this[_0xe05024(0x42f)]['get'](_0x2d0cd7);}[_0x494e14(0x1fe)](_0x2fdc7b,_0x54b095){const _0xd9e2f9=_0x494e14,_0x4b3b3c=this['_roomMembers'][_0xd9e2f9(0x38a)](_0x2fdc7b);if(_0x4b3b3c)return _0x4b3b3c[_0xd9e2f9(0x1fe)](_0x54b095);}[_0x494e14(0x21a)](_0x16e758){const _0x2b2359=_0x494e14,_0xe5b6d4=this['_roomMembers']['get'](_0x16e758);_0xe5b6d4&&(_0xe5b6d4[_0x2b2359(0x301)](),this[_0x2b2359(0x42f)]['delete'](_0x16e758));}['dispose'](){const _0x25ac23=_0x494e14;this[_0x25ac23(0x42f)]['forEach'](_0x4cd361=>_0x4cd361[_0x25ac23(0x301)]()),this[_0x25ac23(0x42f)]['clear']();}};Ne=Ar([Hs(0x0,_0x15b9fa),Hs(0x1,_0x41b3da(_0xab6080))],Ne);class Mr extends _0x326223{constructor(){const _0x24c863=_0x494e14;super(...arguments),g(this,_0x24c863(0x4c5),new Map());}[_0x494e14(0x301)](){const _0x2b7ed3=_0x494e14;this[_0x2b7ed3(0x4c5)][_0x2b7ed3(0x5cb)]();}[_0x494e14(0x5fb)](_0x369df7){const _0x33ff17=_0x494e14;this['_members'][_0x33ff17(0x207)](_0x369df7[_0x33ff17(0x237)],_0x369df7);}['removeMember'](_0x3d9172){const _0x4b02f7=_0x494e14;this[_0x4b02f7(0x4c5)][_0x4b02f7(0x534)](_0x3d9172);}['getMember'](_0x3c3e1c){const _0x110684=_0x494e14;return this[_0x110684(0x4c5)][_0x110684(0x38a)](_0x3c3e1c);}[_0x494e14(0x201)](){const _0x3b29d6=_0x494e14;return Array[_0x3b29d6(0x353)](this[_0x3b29d6(0x4c5)][_0x3b29d6(0x20a)]());}}var xr=Object[_0x494e14(0x421)],Lr=Object[_0x494e14(0x2a4)],$r=(_0xd5d0e1,_0x339656,_0x1ca043,_0x39a12d)=>{for(var _0x30885d=_0x39a12d>0x1?void 0x0:_0x39a12d?Lr(_0x339656,_0x1ca043):_0x339656,_0xee4b2f=_0xd5d0e1['length']-0x1,_0xe1517f;_0xee4b2f>=0x0;_0xee4b2f--)(_0xe1517f=_0xd5d0e1[_0xee4b2f])&&(_0x30885d=(_0x39a12d?_0xe1517f(_0x339656,_0x1ca043,_0x30885d):_0xe1517f(_0x30885d))||_0x30885d);return _0x39a12d&&_0x30885d&&xr(_0x339656,_0x1ca043,_0x30885d),_0x30885d;},Ee=(_0x177a4e,_0x2ec984)=>(_0x3ce587,_0x1783a2)=>_0x2ec984(_0x3ce587,_0x1783a2,_0x177a4e),ve=(_0x4c6fcd=>(_0x4c6fcd[_0x4c6fcd[_0x494e14(0x2fa)]=0x0]='IDLE',_0x4c6fcd[_0x4c6fcd[_0x494e14(0x551)]=0x1]=_0x494e14(0x551),_0x4c6fcd[_0x4c6fcd[_0x494e14(0x387)]=0x2]=_0x494e14(0x387),_0x4c6fcd[_0x4c6fcd[_0x494e14(0x480)]=0x3]=_0x494e14(0x480),_0x4c6fcd))(ve||{});let ts=class extends _0x542deb{constructor(_0x20d11b,_0x3d8113,_0x161e27,_0x2fc640,_0x1d522e,_0x275565,_0x18bc97,_0xafc8ab,_0x2ac85f,_0x1a3f18){const _0x1e80e3=_0x494e14;super(),g(this,'_sessionStatus$',new _0x9b8747(0x0)),g(this,_0x1e80e3(0x2ba),this[_0x1e80e3(0x4bd)][_0x1e80e3(0x372)]()),g(this,'_event$',new _0x243cfe()),g(this,_0x1e80e3(0x368),this[_0x1e80e3(0x57a)][_0x1e80e3(0x372)]()),g(this,_0x1e80e3(0x2dc)),g(this,'_socketMessageSubscription'),g(this,_0x1e80e3(0x2cc)),g(this,_0x1e80e3(0x2e8),!0x1),g(this,_0x1e80e3(0x4ff),null),(this[_0x1e80e3(0x3b5)]=_0x20d11b,this[_0x1e80e3(0x3c0)]=_0x161e27,this[_0x1e80e3(0x4ab)]=_0x2fc640,this[_0x1e80e3(0x46a)]=_0x1d522e,this[_0x1e80e3(0x21f)]=_0x275565,this[_0x1e80e3(0x5f1)]=_0x18bc97,this['_memberService']=_0xafc8ab,this['_commentService']=_0x2ac85f,this['_telemetryService']=_0x1a3f18,this[_0x1e80e3(0x2e8)]=!!this['_telemetryService'],_0x3d8113[_0x1e80e3(0x3eb)](_0x3ee31c(this[_0x1e80e3(0x3f5)]))[_0x1e80e3(0x540)](_0x490352=>{const _0x2d4115=_0x1e80e3;var _0x424702;typeof _0x490352>'u'||(this[_0x2d4115(0x2dc)]=_0x490352,_0x490352?(this[_0x2d4115(0x4c6)](_0x490352),this[_0x2d4115(0x554)]=_0x490352[_0x2d4115(0x249)][_0x2d4115(0x540)](_0xa6423b=>{const _0x1b3575=_0x2d4115;_0xa6423b[_0x1b3575(0x302)]===this[_0x1b3575(0x3b5)]&&this['_onCombEvent'](_0xa6423b);})):(this[_0x2d4115(0x4d5)](),this[_0x2d4115(0x4bd)]['next'](0x2),(_0x424702=this['_socketMessageSubscription'])==null||_0x424702[_0x2d4115(0x5f6)](),this[_0x2d4115(0x554)]=null));}),this[_0x1e80e3(0x461)](this['_beforeCloseService'][_0x1e80e3(0x466)](()=>{const _0x2e3c78=_0x1e80e3;var _0x507bd8;(_0x507bd8=this[_0x2e3c78(0x2dc)])==null||_0x507bd8[_0x2e3c78(0x39c)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x2e3c78(0x3b5)]}});})));}get[_0x494e14(0x343)](){const _0x5ac3c7=_0x494e14;return this[_0x5ac3c7(0x4bd)]['getValue']();}[_0x494e14(0x4ee)](){const _0x3659f7=_0x494e14;var _0x2a524a,_0x1b22b9;return(_0x1b22b9=(_0x2a524a=this['_socket'])==null?void 0x0:_0x2a524a[_0x3659f7(0x237)])!=null?_0x1b22b9:null;}[_0x494e14(0x301)](){const _0x36a8ac=_0x494e14;super[_0x36a8ac(0x301)](),this[_0x36a8ac(0x3f5)][_0x36a8ac(0x2d0)](),this[_0x36a8ac(0x3f5)][_0x36a8ac(0x5bc)]();}[_0x494e14(0x2d5)](){const _0x3ac72f=_0x494e14;var _0x5c4214,_0xdca928;this[_0x3ac72f(0x4d5)](),(_0x5c4214=this[_0x3ac72f(0x2dc)])==null||_0x5c4214[_0x3ac72f(0x39c)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x3ac72f(0x3b5)]}}),(_0xdca928=this['_socket'])==null||_0xdca928[_0x3ac72f(0x2d5)](),this[_0x3ac72f(0x57a)][_0x3ac72f(0x5bc)](),this[_0x3ac72f(0x4bd)][_0x3ac72f(0x5bc)](),this[_0x3ac72f(0x301)]();}[_0x494e14(0x27b)](_0x1537b6){const _0x3a0941=_0x494e14;_0x1537b6[_0x3a0941(0x5c7)]===W[_0x3a0941(0x37b)]?this[_0x3a0941(0x3e9)](_0x1537b6):_0x1537b6[_0x3a0941(0x5c7)]===W[_0x3a0941(0x295)]&&this[_0x3a0941(0x26c)](_0x1537b6);}[_0x494e14(0x4c6)](_0x47babf){const _0x4253fc=_0x494e14;this[_0x4253fc(0x4bd)][_0x4253fc(0x2d0)](0x1),_0x47babf[_0x4253fc(0x39c)]({'cmd':W[_0x4253fc(0x37b)],'routeKey':this[_0x4253fc(0x3b5)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4253fc(0x3b5)]}]}});}[_0x494e14(0x3e9)](_0x16ed0c){const _0x40b740=_0x494e14;var _0x217f52;if(_0x16ed0c[_0x40b740(0x230)]===Is[_0x40b740(0x5e3)]){this[_0x40b740(0x46a)][_0x40b740(0x56c)]({'type':_0x31fabe[_0x40b740(0x39b)],'content':this[_0x40b740(0x5f1)]['t'](_0x40b740(0x2fc))}),this['_sessionStatus$'][_0x40b740(0x2d0)](0x2);return;}this[_0x40b740(0x4bd)][_0x40b740(0x2d0)](0x3);const _0x36a33d=(_0x217f52=_0x16ed0c[_0x40b740(0x41c)][_0x40b740(0x3f9)][this[_0x40b740(0x3b5)]])==null?void 0x0:_0x217f52['members'];_0x36a33d&&_0x36a33d[_0x40b740(0x58b)](_0x238444=>this[_0x40b740(0x422)][_0x40b740(0x5fb)](this['_unitID'],_0x238444));}[_0x494e14(0x26c)](_0x2b1d54){const _0x5d6e92=_0x494e14;try{const _0x232397=_0x2b1d54[_0x5d6e92(0x41c)];switch(_0x232397[_0x5d6e92(0x1f1)]){case _0x3c9498[_0x5d6e92(0x5d9)]:this[_0x5d6e92(0x45b)](_0x232397),this['_event$'][_0x5d6e92(0x2d0)](_0x232397);break;case _0x3c9498[_0x5d6e92(0x208)]:this['_onUserLeave'](_0x232397),this[_0x5d6e92(0x57a)]['next'](_0x232397);break;case _0x3c9498[_0x5d6e92(0x209)]:case _0x3c9498[_0x5d6e92(0x57b)]:this[_0x5d6e92(0x49f)](),this[_0x5d6e92(0x553)](),this[_0x5d6e92(0x57a)][_0x5d6e92(0x2d0)](_0x232397);break;case _0x3c9498[_0x5d6e92(0x21c)]:this[_0x5d6e92(0x3c0)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x5d6e92(0x415)](_0x232397)),this[_0x5d6e92(0x57a)][_0x5d6e92(0x2d0)](_0x232397);break;case _0x3c9498[_0x5d6e92(0x560)]:this['_commentService']['onCommentUpdate'](_0x232397[_0x5d6e92(0x41c)]),this[_0x5d6e92(0x57a)][_0x5d6e92(0x2d0)](_0x232397);break;default:this[_0x5d6e92(0x57a)][_0x5d6e92(0x2d0)](_0x232397);}}catch(_0x1bb2f5){this[_0x5d6e92(0x3c0)][_0x5d6e92(0x48a)](_0x1bb2f5,_0x2b1d54);}}['_onUserJoin'](_0x2b4d4d){const _0x19967a=_0x494e14;this['_memberService'][_0x19967a(0x5fb)](this['_unitID'],_0x2b4d4d[_0x19967a(0x41c)]);}[_0x494e14(0x210)](_0xe0e6d0){const _0x2b6e4a=_0x494e14;this[_0x2b6e4a(0x422)][_0x2b6e4a(0x424)](this['_unitID'],_0xe0e6d0[_0x2b6e4a(0x41c)][_0x2b6e4a(0x237)]);}async['send'](_0x543242,_0x36f8a7){const _0x372aa8=_0x494e14;if(this[_0x372aa8(0x343)]!==0x3||!this[_0x372aa8(0x2dc)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x543242[_0x372aa8(0x1f1)]===_0x3c9498['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x372aa8(0x20d)](_0x543242)),this[_0x372aa8(0x2dc)]['send']({'cmd':W[_0x372aa8(0x53d)],'routeKey':_0x36f8a7,'routeType':'','data':_0x543242});}catch(_0x3dbff5){this[_0x372aa8(0x3c0)][_0x372aa8(0x48a)](_0x3dbff5);}}[_0x494e14(0x2da)](){const _0x24017c=_0x494e14;var _0x205d81;this[_0x24017c(0x2cc)]=window['setTimeout'](()=>{const _0x1096af=_0x24017c;this['_collaborationTimeoutTimer']=null,this['_messageService']['show']({'type':_0x31fabe['Error'],'content':this['_localeService']['t'](_0x1096af(0x559))});},(_0x205d81=this[_0x24017c(0x21f)][_0x24017c(0x27f)](bi))!=null?_0x205d81:Ti);}[_0x494e14(0x553)](){const _0x10503e=_0x494e14;this[_0x10503e(0x2cc)]&&(clearTimeout(this[_0x10503e(0x2cc)]),this['_collaborationTimeoutTimer']=null);}[_0x494e14(0x20d)](_0x48ed51){const _0x271840=_0x494e14;if(!this['_shouldReportTelemetry'])return;const {data:_0x599393}=_0x48ed51,{unitID:_0x2c9dae,changeset:_0x5285f8}=_0x599393,{mutations:_0x2826b1,type:_0x55fec1}=_0x5285f8;this[_0x271840(0x4ff)]={'unitId':_0x2c9dae,'type':_0x55fec1,'startTime':performance[_0x271840(0x285)](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x2826b1)};}[_0x494e14(0x49f)](){const _0x1f9f84=_0x494e14;if(this[_0x1f9f84(0x2e8)]){if(!this[_0x1f9f84(0x4ff)]){this[_0x1f9f84(0x3c0)][_0x1f9f84(0x48a)](_0x1f9f84(0x25c),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x1f9f84(0x3d8)]=performance[_0x1f9f84(0x285)](),this['_telemetryInfo'][_0x1f9f84(0x281)]=this[_0x1f9f84(0x4ff)][_0x1f9f84(0x3d8)]-this[_0x1f9f84(0x4ff)]['startTime'],this[_0x1f9f84(0x28e)][_0x1f9f84(0x344)](Dr,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x494e14(0x4d5)](){const _0x4bded2=_0x494e14;this[_0x4bded2(0x4ff)]=null;}};ts=$r([Ee(0x2,_0x3bb158),Ee(0x3,_0x128523),Ee(0x4,_0x54b964),Ee(0x5,_0x23210b),Ee(0x6,_0x41b3da(_0x461b9d)),Ee(0x7,_0x41b3da(Ne)),Ee(0x8,_0x41b3da(wi)),Ee(0x9,_0x38b4fe(_0x76a274))],ts);var Hr=Object['defineProperty'],jr=Object['getOwnPropertyDescriptor'],Br=(_0x5af111,_0x299bdb,_0x59b290,_0x56989a)=>{for(var _0x348161=_0x56989a>0x1?void 0x0:_0x56989a?jr(_0x299bdb,_0x59b290):_0x299bdb,_0x282209=_0x5af111['length']-0x1,_0x5ef3d1;_0x282209>=0x0;_0x282209--)(_0x5ef3d1=_0x5af111[_0x282209])&&(_0x348161=(_0x56989a?_0x5ef3d1(_0x299bdb,_0x59b290,_0x348161):_0x5ef3d1(_0x348161))||_0x348161);return _0x56989a&&_0x348161&&Hr(_0x299bdb,_0x59b290,_0x348161),_0x348161;},je=(_0x588a6b,_0x5513a3)=>(_0x5eb983,_0x2afdfa)=>_0x5513a3(_0x5eb983,_0x2afdfa,_0x588a6b);let Ae=class extends _0x326223{constructor(_0x318abf,_0x217c2,_0x1cefea,_0x2ef608,_0x37c752,_0x37f9fc){const _0xa7aea3=_0x494e14;super(),g(this,_0xa7aea3(0x22b),new _0x9b8747(void 0x0)),g(this,_0xa7aea3(0x4f7),this[_0xa7aea3(0x22b)]['asObservable']()),g(this,_0xa7aea3(0x54b),null),g(this,_0xa7aea3(0x2a8),new Map()),g(this,_0xa7aea3(0x3b1),new _0x9b8747(ve[_0xa7aea3(0x2fa)])),g(this,'status$',this[_0xa7aea3(0x3b1)][_0xa7aea3(0x372)]()),g(this,_0xa7aea3(0x4d3),!0x1),g(this,'_retryConnectingTimer'),g(this,'_retryCount',0x0),g(this,_0xa7aea3(0x4f0)),g(this,'_timeoutTimer'),(this['_injector']=_0x318abf,this[_0xa7aea3(0x5f1)]=_0x217c2,this[_0xa7aea3(0x46a)]=_0x1cefea,this[_0xa7aea3(0x3c0)]=_0x2ef608,this[_0xa7aea3(0x21f)]=_0x37c752,this['_socketService']=_0x37f9fc,this[_0xa7aea3(0x449)]());}get[_0x494e14(0x2dc)](){const _0x9f3757=_0x494e14;return this[_0x9f3757(0x22b)][_0x9f3757(0x49a)]();}[_0x494e14(0x449)](){const _0xf07ed2=_0x494e14;this[_0xf07ed2(0x595)](),this[_0xf07ed2(0x3dc)]();}[_0x494e14(0x301)](){const _0x4a5103=_0x494e14;super['dispose'](),this[_0x4a5103(0x2a8)][_0x4a5103(0x58b)](_0x28ecf9=>_0x28ecf9[_0x4a5103(0x301)]()),this[_0x4a5103(0x2a8)][_0x4a5103(0x5cb)](),this[_0x4a5103(0x3b1)][_0x4a5103(0x5bc)]();}async[_0x494e14(0x337)](_0x41d700){const _0x1a0fc4=_0x494e14;if(this[_0x1a0fc4(0x2a8)][_0x1a0fc4(0x481)](_0x41d700))return this[_0x1a0fc4(0x2a8)][_0x1a0fc4(0x38a)](_0x41d700);this[_0x1a0fc4(0x5ac)]();const _0x10f2c5=this[_0x1a0fc4(0x5a2)][_0x1a0fc4(0x397)](ts,_0x41d700,this[_0x1a0fc4(0x22b)][_0x1a0fc4(0x372)]());return this['_sessions'][_0x1a0fc4(0x207)](_0x41d700,_0x10f2c5),_0x10f2c5;}[_0x494e14(0x2f3)](_0x6e973d){const _0x3386d7=_0x494e14;var _0x1ef423;const _0x20916b=this[_0x3386d7(0x2a8)][_0x3386d7(0x38a)](_0x6e973d);_0x20916b&&(this['_sessions'][_0x3386d7(0x534)](_0x6e973d),_0x20916b[_0x3386d7(0x2d5)]()),this['_sessions']['size']||(_0x1ef423=this[_0x3386d7(0x2dc)])==null||_0x1ef423[_0x3386d7(0x2d5)]();}[_0x494e14(0x34e)](){const _0x46b1ed=_0x494e14;this['_retryCount']=0x0,this[_0x46b1ed(0x2dd)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x46b1ed(0x2dd)]=null),this[_0x46b1ed(0x546)]();}[_0x494e14(0x454)](){const _0x36712b=_0x494e14;var _0x2d6ce4,_0x54b998;const _0x3334fd=this[_0x36712b(0x21f)]['getConfig'](hr),_0xbf85aa=this[_0x36712b(0x21f)][_0x36712b(0x27f)](ie),_0xfd261a=(_0x54b998=(_0x2d6ce4=_0xbf85aa==null?void 0x0:_0xbf85aa[_0x36712b(0x4c0)])!=null?_0x2d6ce4:_0x3334fd)!=null?_0x54b998:lr,_0x4207bd=this[_0x36712b(0x293)]['createSocket'](_0xfd261a);return this[_0x36712b(0x54b)]=_0x4207bd,_0x4207bd;}[_0x494e14(0x5ac)](){const _0x2ee54c=_0x494e14;var _0x3d9c4f,_0x211762;try{const _0x1f4632=(_0x211762=(_0x3d9c4f=this[_0x2ee54c(0x2dc)])!=null?_0x3d9c4f:this[_0x2ee54c(0x54b)])!=null?_0x211762:this['_createSocket']();if(_0x1f4632){const _0x245e6d=_0x1f4632[_0x2ee54c(0x39c)];_0x1f4632['send']=_0x379a14=>(this[_0x2ee54c(0x5df)](),_0x245e6d[_0x2ee54c(0x262)](_0x1f4632,[_0x379a14])),_0x1f4632[_0x2ee54c(0x249)][_0x2ee54c(0x540)](_0x528d92=>this[_0x2ee54c(0x306)](_0x1f4632,_0x528d92)),_0x1f4632[_0x2ee54c(0x470)][_0x2ee54c(0x3eb)](_0x17a5fa(0x1))[_0x2ee54c(0x540)](_0x25ae3c=>this[_0x2ee54c(0x3c0)][_0x2ee54c(0x48a)]('[CollaborationSessionService]:\x20socket\x20error',_0x25ae3c)),_0x1f4632[_0x2ee54c(0x55c)][_0x2ee54c(0x3eb)](_0x17a5fa(0x1))[_0x2ee54c(0x540)](()=>{const _0x1492f5=_0x2ee54c;this[_0x1492f5(0x4cf)](_0x1f4632);}),_0x1f4632['close$'][_0x2ee54c(0x3eb)](_0x17a5fa(0x1))['subscribe'](_0x410dca=>{const _0x2a9c2c=_0x2ee54c;this[_0x2a9c2c(0x3c0)][_0x2a9c2c(0x359)](_0x2a9c2c(0x409),'socket\x20close',_0x410dca),this['_onConnectionFailed']();});}}catch(_0x563c21){this[_0x2ee54c(0x3c0)][_0x2ee54c(0x48a)](_0x563c21),this[_0x2ee54c(0x4a7)]();}}[_0x494e14(0x4cf)](_0x101ce6){const _0x2fe703=_0x494e14;this[_0x2fe703(0x3c0)]['debug'](_0x2fe703(0x409),_0x2fe703(0x2f5)),_0x101ce6['send']({'cmd':W[_0x2fe703(0x277)]}),this[_0x2fe703(0x5df)]();}[_0x494e14(0x595)](){const _0x5c3d80=_0x494e14;window[_0x5c3d80(0x43b)](_0x5c3d80(0x2ee),()=>this[_0x5c3d80(0x4de)]());}['_onOffline'](){const _0x4a2edb=_0x494e14;this[_0x4a2edb(0x4d3)]=!0x1,this[_0x4a2edb(0x54b)]=null,this['_status$'][_0x4a2edb(0x2d0)](ve[_0x4a2edb(0x387)]),this[_0x4a2edb(0x22b)][_0x4a2edb(0x2d0)](null),this[_0x4a2edb(0x234)](),this[_0x4a2edb(0x1ff)]();}[_0x494e14(0x4a7)](){const _0x3a6186=_0x494e14;var _0x30ee8f;this[_0x3a6186(0x4de)](),this[_0x3a6186(0x5f2)]<((_0x30ee8f=this['_configService'][_0x3a6186(0x27f)](fr))!=null?_0x30ee8f:vr)?(this['_messageService']['show']({'key':_0x3a6186(0x50b),'type':_0x31fabe[_0x3a6186(0x39b)],'content':this[_0x3a6186(0x5f1)]['t'](_0x3a6186(0x292))}),this[_0x3a6186(0x546)]()):this[_0x3a6186(0x46a)][_0x3a6186(0x56c)]({'key':_0x3a6186(0x50b),'type':_0x31fabe[_0x3a6186(0x557)],'content':this[_0x3a6186(0x5f1)]['t'](_0x3a6186(0x3ce))});}['_listenToOnlineEvent'](){const _0x253700=_0x494e14,_0x2eef6e=()=>{const _0x575fa9=_0x5d20;this['_socket']||this[_0x575fa9(0x34e)]();},_0x47d59b=()=>{const _0x332eee=_0x5d20;this[_0x332eee(0x2dc)]||document['visibilityState']==='hidden'||this['reconnect']();};window[_0x253700(0x43b)](_0x253700(0x416),_0x2eef6e),document[_0x253700(0x43b)](_0x253700(0x458),_0x47d59b);}['_tryReconnect'](){const _0x2a7ea7=_0x494e14;var _0x219693;const _0x5713ef=this[_0x2a7ea7(0x5f2)],_0x1b49c0=this[_0x2a7ea7(0x21f)][_0x2a7ea7(0x27f)](ie),_0xa0e6fe=_0x5713ef===0x0?0x0:((_0x219693=_0x1b49c0==null?void 0x0:_0x1b49c0[_0x2a7ea7(0x4c2)])!=null?_0x219693:dr)*0x2**_0x5713ef;this['_retryConnectingTimer']=window[_0x2a7ea7(0x365)](()=>{const _0x44506f=_0x2a7ea7;clearTimeout(this[_0x44506f(0x2dd)]),this[_0x44506f(0x2dd)]=null,this['_tryEnsureSocket']();},_0xa0e6fe),this[_0x2a7ea7(0x5f2)]+=0x1;}[_0x494e14(0x306)](_0xfc9351,_0x23ecd8){const _0x484c83=_0x494e14,{cmd:_0x419d8c}=_0x23ecd8;_0x419d8c===W[_0x484c83(0x277)]&&!this[_0x484c83(0x4d3)]&&(_0xfc9351[_0x484c83(0x237)]=_0x23ecd8[_0x484c83(0x41c)]['memberID'],this[_0x484c83(0x22b)][_0x484c83(0x2d0)](_0xfc9351),this[_0x484c83(0x3b1)]['next'](ve[_0x484c83(0x480)]),this[_0x484c83(0x4d3)]=!0x0,this[_0x484c83(0x54b)]=null),_0x419d8c===W['HEARTBEAT']&&this[_0x484c83(0x234)](),this[_0x484c83(0x5df)]();}[_0x494e14(0x5df)](){const _0x364d11=_0x494e14;var _0x3aad1c;this[_0x364d11(0x1ff)](),this[_0x364d11(0x4f0)]=window['setTimeout'](()=>this[_0x364d11(0x4f2)](),(_0x3aad1c=this[_0x364d11(0x21f)]['getConfig'](_r))!=null?_0x3aad1c:ur);}['_sendHeartbeat'](){const _0x55d94f=_0x494e14;this[_0x55d94f(0x2dc)][_0x55d94f(0x39c)]({'cmd':W[_0x55d94f(0x2fd)]}),this[_0x55d94f(0x447)]();}['_waitForHeartbeatResponse'](){const _0xbb3d74=_0x494e14;var _0x27aee7;this[_0xbb3d74(0x385)]=window[_0xbb3d74(0x365)](()=>this[_0xbb3d74(0x4a7)](),(_0x27aee7=this[_0xbb3d74(0x21f)][_0xbb3d74(0x27f)](bi))!=null?_0x27aee7:Ti);}[_0x494e14(0x1ff)](){const _0x13ef24=_0x494e14;this[_0x13ef24(0x4f0)]!=null&&(clearTimeout(this[_0x13ef24(0x4f0)]),this[_0x13ef24(0x4f0)]=null);}['_clearTimeoutTimer'](){const _0x561c6f=_0x494e14;this[_0x561c6f(0x385)]!=null&&(clearTimeout(this[_0x561c6f(0x385)]),this['_timeoutTimer']=null);}};Ae=Br([je(0x0,_0x41b3da(_0x2087b9)),je(0x1,_0x41b3da(_0x461b9d)),je(0x2,_0x54b964),je(0x3,_0x3bb158),je(0x4,_0x23210b),je(0x5,Oi)],Ae);var Y=[];for(var Nt=0x0;Nt<0x100;++Nt)Y[_0x494e14(0x271)]((Nt+0x100)['toString'](0x10)[_0x494e14(0x22c)](0x1));function kr(_0x7c3150,_0x5d1ff8=0x0){const _0x2a7343=_0x494e14;return(Y[_0x7c3150[_0x5d1ff8+0x0]]+Y[_0x7c3150[_0x5d1ff8+0x1]]+Y[_0x7c3150[_0x5d1ff8+0x2]]+Y[_0x7c3150[_0x5d1ff8+0x3]]+'-'+Y[_0x7c3150[_0x5d1ff8+0x4]]+Y[_0x7c3150[_0x5d1ff8+0x5]]+'-'+Y[_0x7c3150[_0x5d1ff8+0x6]]+Y[_0x7c3150[_0x5d1ff8+0x7]]+'-'+Y[_0x7c3150[_0x5d1ff8+0x8]]+Y[_0x7c3150[_0x5d1ff8+0x9]]+'-'+Y[_0x7c3150[_0x5d1ff8+0xa]]+Y[_0x7c3150[_0x5d1ff8+0xb]]+Y[_0x7c3150[_0x5d1ff8+0xc]]+Y[_0x7c3150[_0x5d1ff8+0xd]]+Y[_0x7c3150[_0x5d1ff8+0xe]]+Y[_0x7c3150[_0x5d1ff8+0xf]])[_0x2a7343(0x2ef)]();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0x5c9d77=_0x494e14;if(!ct&&(ct=typeof crypto<'u'&&crypto['getRandomValues']&&crypto[_0x5c9d77(0x38c)]['bind'](crypto),!ct))throw new Error(_0x5c9d77(0x388));return ct(Wr);}var Vr=typeof crypto<'u'&&crypto[_0x494e14(0x5da)]&&crypto[_0x494e14(0x5da)][_0x494e14(0x3ab)](crypto);const js={'randomUUID':Vr};function Gr(_0x1a3cf3,_0x254db6,_0x37d2a4){const _0x95ce4f=_0x494e14;if(js['randomUUID']&&!_0x254db6&&!_0x1a3cf3)return js[_0x95ce4f(0x5da)]();_0x1a3cf3=_0x1a3cf3||{};var _0x32840b=_0x1a3cf3['random']||(_0x1a3cf3[_0x95ce4f(0x26a)]||Fr)();return _0x32840b[0x6]=_0x32840b[0x6]&0xf|0x40,_0x32840b[0x8]=_0x32840b[0x8]&0x3f|0x80,kr(_0x32840b);}var Yr=Object['defineProperty'],Kr=Object[_0x494e14(0x2a4)],zr=(_0x2159a5,_0x525259,_0x21779e,_0x2af00a)=>{const _0x1138cf=_0x494e14;for(var _0x5c6350=_0x2af00a>0x1?void 0x0:_0x2af00a?Kr(_0x525259,_0x21779e):_0x525259,_0x254f0f=_0x2159a5[_0x1138cf(0x490)]-0x1,_0x27f284;_0x254f0f>=0x0;_0x254f0f--)(_0x27f284=_0x2159a5[_0x254f0f])&&(_0x5c6350=(_0x2af00a?_0x27f284(_0x525259,_0x21779e,_0x5c6350):_0x27f284(_0x5c6350))||_0x5c6350);return _0x2af00a&&_0x5c6350&&Yr(_0x525259,_0x21779e,_0x5c6350),_0x5c6350;},At=(_0x59c92a,_0x166f85)=>(_0x1f7cc2,_0x4e5239)=>_0x166f85(_0x1f7cc2,_0x4e5239,_0x59c92a);let vt=class{constructor(_0x3cd910,_0x5a0fef,_0x3ed572){const _0x3cada4=_0x494e14;this['_injector']=_0x3cd910,this[_0x3cada4(0x3c3)]=_0x5a0fef,this['_renderManagerService']=_0x3ed572;}[_0x494e14(0x2bd)](_0x3b5ed8){const _0x1b4059=_0x494e14;this[_0x1b4059(0x500)](_0x3b5ed8),this[_0x1b4059(0x2ed)](_0x3b5ed8);}['transformRemoteChangeset'](_0x44fd9d){const _0x30a963=_0x494e14,{unitID:_0x28c8ec}=_0x44fd9d,_0x477f8c=this[_0x30a963(0x3b2)][_0x30a963(0x28c)](_0x28c8ec)[_0x30a963(0x5f3)](_0x3d94b2),{redoCache:_0x2a95d5}=_0x477f8c[_0x30a963(0x377)]();if(_0x2a95d5[_0x30a963(0x490)]===0x0)return _0x44fd9d;let _0x5b055b=_0x1fd4a4['deepClone'](_0x44fd9d[_0x30a963(0x592)][0x0]);for(let _0x3a520e=0x0;_0x3a520e<_0x2a95d5[_0x30a963(0x490)];_0x3a520e++){const _0x312bfa={'id':_0x30a963(0x2d3),'params':{..._0x2a95d5[_0x3a520e]}},_0x110339=this[_0x30a963(0x3c3)][_0x30a963(0x1ee)](_0x5b055b,_0x312bfa,!0x1);if(_0x1f65f6(_0x110339))throw _0x110339[_0x30a963(0x48a)];_0x5b055b=_0x110339[_0x30a963(0x2d8)];}return{..._0x1fd4a4[_0x30a963(0x548)](_0x44fd9d),'mutations':[_0x5b055b]};}[_0x494e14(0x500)](_0x424b6e){const _0x11d504=_0x494e14,{unitID:_0x288e2c}=_0x424b6e,_0x2dbde2=this['_renderManagerService'][_0x11d504(0x28c)](_0x288e2c)[_0x11d504(0x5f3)](_0x3d94b2),{undoCache:_0x3ac8ad,redoCache:_0x2100c3}=_0x2dbde2[_0x11d504(0x377)]();if(_0x3ac8ad[_0x11d504(0x490)]===0x0||_0x2100c3[_0x11d504(0x490)]===0x0)return;const _0x5a9bfc=[],_0x54d4db=[];let _0x4633b1=_0x1fd4a4['deepClone'](_0x424b6e[_0x11d504(0x592)][0x0]),_0x2ef747=_0x1fd4a4[_0x11d504(0x548)](_0x424b6e[_0x11d504(0x592)][0x0]);for(let _0x1483b7=_0x3ac8ad[_0x11d504(0x490)]-0x1;_0x1483b7>=0x0;_0x1483b7--){const _0x4cc5e7={'id':_0x11d504(0x2d3),'params':{..._0x3ac8ad[_0x1483b7]}},_0x1e1232={'id':_0x11d504(0x2d3),'params':{..._0x2100c3[_0x1483b7]}},_0x10c32b=this[_0x11d504(0x3c3)]['transformMutation'](_0x4633b1,_0x4cc5e7,!0x1),_0x36cdb3=this[_0x11d504(0x3c3)][_0x11d504(0x1ee)](_0x2ef747,_0x1e1232,!0x1);if(_0x1f65f6(_0x10c32b))throw _0x10c32b[_0x11d504(0x48a)];if(_0x1f65f6(_0x36cdb3))throw _0x36cdb3[_0x11d504(0x48a)];_0x5a9bfc[_0x11d504(0x43c)](_0x10c32b[_0x11d504(0x5ca)][_0x11d504(0x3a2)]),_0x54d4db['unshift'](_0x36cdb3[_0x11d504(0x5ca)]['params']),_0x4633b1=_0x10c32b[_0x11d504(0x2d8)],_0x2ef747=_0x36cdb3['m1Prime'];}_0x2dbde2[_0x11d504(0x4ea)]({'undoCache':_0x5a9bfc,'redoCache':_0x54d4db});}[_0x494e14(0x2ed)](_0x239fd3){const _0x49f59f=_0x494e14,{unitID:_0x23aee3}=_0x239fd3,_0x17d8fc=this[_0x49f59f(0x3b2)][_0x49f59f(0x28c)](_0x23aee3)[_0x49f59f(0x5f3)](_0x3d94b2),_0x1a98c8=_0x17d8fc[_0x49f59f(0x253)]();if(_0x1a98c8==null)return;const _0x276a0f=[{'id':_0x49f59f(0x2d3),'params':{'unitId':_0x239fd3[_0x49f59f(0x55b)],'actions':null,'textRanges':[_0x1a98c8]}}],_0x57eceb=this[_0x49f59f(0x3c3)][_0x49f59f(0x464)](_0x239fd3,_0x276a0f);if(!_0x46c18d(_0x57eceb))throw _0x57eceb['error'];const _0x3f9386=_0x57eceb['m2Prime'][0x0][_0x49f59f(0x3a2)][_0x49f59f(0x2c1)];Array[_0x49f59f(0x570)](_0x3f9386)&&_0x3f9386[_0x49f59f(0x490)]&&_0x17d8fc[_0x49f59f(0x2b0)](_0x3f9386[0x0]);}};vt=zr([At(0x0,_0x41b3da(_0x2087b9)),At(0x1,_0x1197db),At(0x2,_0x392b64)],vt);var qr=Object['defineProperty'],Xr=Object['getOwnPropertyDescriptor'],Jr=(_0x4a3582,_0x4a68b4,_0x299a41,_0x2bec7f)=>{const _0x5c59b2=_0x494e14;for(var _0x42c8d5=_0x2bec7f>0x1?void 0x0:_0x2bec7f?Xr(_0x4a68b4,_0x299a41):_0x4a68b4,_0x5687c5=_0x4a3582[_0x5c59b2(0x490)]-0x1,_0x3c7a16;_0x5687c5>=0x0;_0x5687c5--)(_0x3c7a16=_0x4a3582[_0x5687c5])&&(_0x42c8d5=(_0x2bec7f?_0x3c7a16(_0x4a68b4,_0x299a41,_0x42c8d5):_0x3c7a16(_0x42c8d5))||_0x42c8d5);return _0x2bec7f&&_0x42c8d5&&qr(_0x4a68b4,_0x299a41,_0x42c8d5),_0x42c8d5;},Xe=(_0x4b28aa,_0x559b39)=>(_0x4ba1b8,_0x153ab0)=>_0x559b39(_0x4ba1b8,_0x153ab0,_0x4b28aa);let q=class extends _0x326223{constructor(_0x113fa7,_0x5cb759,_0x40e6ad,_0x35d5bd,_0x485001){const _0x5285c8=_0x494e14;super(),g(this,'_cachedData',new Map()),g(this,_0x5285c8(0x4e4),new Map()),g(this,'_disabled',!0x1),(this['_configService']=_0x113fa7,this[_0x5285c8(0x429)]=_0x5cb759,this['_beforeCloseService']=_0x40e6ad,this[_0x5285c8(0x5f1)]=_0x35d5bd,this[_0x5285c8(0x3b8)]=_0x485001,this[_0x5285c8(0x4eb)]());}[_0x494e14(0x31b)](){const _0xf96ef5=_0x494e14;this[_0xf96ef5(0x5a6)]=!0x0;}[_0x494e14(0x226)](){const _0x264971=_0x494e14;this[_0x264971(0x5a6)]=!0x1;}[_0x494e14(0x301)](){const _0x2583a5=_0x494e14;this[_0x2583a5(0x33e)]()[_0x2583a5(0x37e)](()=>super['dispose']());}async[_0x494e14(0x267)](_0x2e66ea){const _0xb82ad2=_0x494e14;return this['_disabled']?null:this[_0xb82ad2(0x429)][_0xb82ad2(0x571)](Bs(_0x2e66ea));}async[_0x494e14(0x547)](_0x20d50f,_0x4081fd){const _0x4a8365=_0x494e14;return!!this[_0x4a8365(0x429)][_0x4a8365(0x487)](_0x20d50f,_0x4081fd);}[_0x494e14(0x2d4)](_0x3c696e,_0xf302af,_0x556edf,_0x26f7e7){const _0xa417e9=_0x494e14,_0x189c6a=this[_0xa417e9(0x3b8)]['getCurrentRevOfUnit'](_0x3c696e);this[_0xa417e9(0x328)]['set'](_0x3c696e,{'unitID':_0x3c696e,'type':_0xf302af,'awaitingChangeset':_0x556edf,'mutations':_0x26f7e7,'rev':_0x189c6a}),this[_0xa417e9(0x4e4)][_0xa417e9(0x481)](_0x3c696e)||this['_scheduleSaving'](_0x3c696e);}[_0x494e14(0x536)](_0x59a749){const _0x222786=_0x494e14,_0x36200a=this['_getSaveTimeout']();_0x36200a===0x0?this['_saveCache'](_0x59a749):this[_0x222786(0x4e4)][_0x222786(0x207)](_0x59a749,setTimeout(()=>this[_0x222786(0x5e0)](_0x59a749),_0x36200a));}[_0x494e14(0x355)](){const _0x28c66a=_0x494e14;var _0x32dcff;return(_0x32dcff=this[_0x28c66a(0x21f)][_0x28c66a(0x27f)](mr))!=null?_0x32dcff:pr;}['_saveCache'](_0x1ea681){const _0x519eda=_0x494e14,_0x292d9e=this[_0x519eda(0x4e4)]['get'](_0x1ea681);return _0x292d9e!==void 0x0&&window['clearTimeout'](_0x292d9e),this['_localStorageService']['setItem'](Bs(_0x1ea681),this[_0x519eda(0x328)][_0x519eda(0x38a)](_0x1ea681))['then'](()=>this[_0x519eda(0x4e4)][_0x519eda(0x534)](_0x1ea681));}async[_0x494e14(0x33e)](){const _0x11715f=_0x494e14,_0xb0c0a3=[];this[_0x11715f(0x4e4)][_0x11715f(0x58b)]((_0x5bfbf9,_0x14addb)=>{const _0x16cfdc=_0x11715f;window[_0x16cfdc(0x266)](_0x5bfbf9),_0xb0c0a3[_0x16cfdc(0x271)](this[_0x16cfdc(0x5e0)](_0x14addb)[_0x16cfdc(0x37e)](()=>{const _0x6390c1=_0x16cfdc;this[_0x6390c1(0x4e4)][_0x6390c1(0x534)](_0x14addb);}));}),await Promise['all'](_0xb0c0a3);}[_0x494e14(0x4eb)](){const _0x218120=_0x494e14;this[_0x218120(0x461)](this[_0x218120(0x4ab)][_0x218120(0x29b)](()=>{const _0x421e39=_0x218120;if(this[_0x421e39(0x4e4)][_0x421e39(0x3b4)])return this[_0x421e39(0x5f1)]['t']('collaboration-client.offline-data-not-saved');}));}};q=Jr([Xe(0x0,_0x23210b),Xe(0x1,_0x4bb50a),Xe(0x2,_0x128523),Xe(0x3,_0x41b3da(_0x461b9d)),Xe(0x4,_0x41b3da(_0x1d4656))],q);function Bs(_0x15334a){const _0x198e03=_0x494e14;return _0x198e03(0x351)+_0x15334a;}var Zr=Object[_0x494e14(0x421)],Qr=Object[_0x494e14(0x2a4)],eo=(_0x5b8f32,_0x5e40e2,_0x585018,_0x4ea30c)=>{const _0x5a5878=_0x494e14;for(var _0x18d771=_0x4ea30c>0x1?void 0x0:_0x4ea30c?Qr(_0x5e40e2,_0x585018):_0x5e40e2,_0x14e1fa=_0x5b8f32[_0x5a5878(0x490)]-0x1,_0x55bd2e;_0x14e1fa>=0x0;_0x14e1fa--)(_0x55bd2e=_0x5b8f32[_0x14e1fa])&&(_0x18d771=(_0x4ea30c?_0x55bd2e(_0x5e40e2,_0x585018,_0x18d771):_0x55bd2e(_0x18d771))||_0x18d771);return _0x4ea30c&&_0x18d771&&Zr(_0x5e40e2,_0x585018,_0x18d771),_0x18d771;},Mt=(_0xed9041,_0xc44e6f)=>(_0x5689bd,_0x16c28f)=>_0xc44e6f(_0x5689bd,_0x16c28f,_0xed9041);function to(_0x1c68af){const _0x5535f3=_0x494e14,{unitID:_0x3b0382,mutations:_0x16f8f9}=_0x1c68af;return{'unitId':_0x3b0382,'subUnitId':_0x16f8f9[0x0][_0x5535f3(0x3a2)][_0x5535f3(0x4b1)]};}let mt=class{constructor(_0x3b529a,_0x2157b1,_0x33ce7c){const _0x108cbd=_0x494e14;this[_0x108cbd(0x5a2)]=_0x3b529a,this[_0x108cbd(0x3c3)]=_0x2157b1,this[_0x108cbd(0x2bf)]=_0x33ce7c;}[_0x494e14(0x5c3)](_0x1f18b5){const _0xe64328=_0x494e14;var _0x58245e,_0x20d7d7,_0x12ae7d,_0x38e5cf;const _0x316fa2=this[_0xe64328(0x5a2)][_0xe64328(0x38a)](_0x5999a9),{unitId:_0x2cdbf4,subUnitId:_0x16397d}=to(_0x1f18b5),_0x1863d4=_0x316fa2[_0xe64328(0x5bf)](_0x2cdbf4)['getCurrentSelections'](),_0x47bcc8=(_0x20d7d7=(_0x58245e=this[_0xe64328(0x2bf)][_0xe64328(0x241)](_0x2cdbf4))==null?void 0x0:_0x58245e['getActiveSheet']())==null?void 0x0:_0x20d7d7[_0xe64328(0x575)]();if(_0x1863d4[_0xe64328(0x490)]===0x0||!_0x2cdbf4||!_0x16397d)return;const _0x26b2a3=[{'id':_0x337a82['id'],'params':{'unitId':_0x2cdbf4,'subUnitId':_0x47bcc8,'selections':_0x1fd4a4['deepClone'](_0x1863d4)}}],_0x1ccac4=this[_0xe64328(0x3c3)][_0xe64328(0x464)](_0x1f18b5,_0x26b2a3);if(!_0x46c18d(_0x1ccac4))throw _0x1ccac4[_0xe64328(0x48a)];const _0x2ecd4a=(_0x38e5cf=(_0x12ae7d=_0x1ccac4[_0xe64328(0x5ca)][0x0])==null?void 0x0:_0x12ae7d['params'])==null?void 0x0:_0x38e5cf['selections'];if(Array['isArray'](_0x2ecd4a)&&_0x2ecd4a['length']){if(_0x2ecd4a[_0xe64328(0x490)]===_0x26b2a3[0x0][_0xe64328(0x3a2)][_0xe64328(0x278)][_0xe64328(0x490)]&&_0x2ecd4a[_0xe64328(0x452)]((_0x5a0cdc,_0x182c56)=>_0x111a27[_0xe64328(0x3c4)](_0x5a0cdc['range'],_0x26b2a3[0x0][_0xe64328(0x3a2)][_0xe64328(0x278)][_0x182c56]['range'])))return;this[_0xe64328(0x5a2)][_0xe64328(0x38a)](_0x1c554d)[_0xe64328(0x3ca)](_0x337a82['id'],{'unitId':_0x2cdbf4,'subUnitId':_0x47bcc8,'selections':_0x2ecd4a});}}};mt=eo([Mt(0x0,_0x41b3da(_0x2087b9)),Mt(0x1,_0x1197db),Mt(0x2,_0x15b9fa)],mt);const yt=_0x41367e(_0x494e14(0x3d6));var Di=(_0x85d6d6=>(_0x85d6d6[_0x85d6d6[_0x494e14(0x4e2)]=0x0]=_0x494e14(0x4e2),_0x85d6d6[_0x85d6d6['OTHER_CLIENTS_EDITING']=0x1]=_0x494e14(0x274),_0x85d6d6))(Di||{});const ks=0x7530,Ws=_0x494e14(0x5cc);class so extends _0x326223{constructor(){const _0x4a698=_0x494e14;super(),g(this,_0x4a698(0x23e),_0x1fd4a4['generateRandomId']()),g(this,'_selfUnitIDs',new Set()),g(this,_0x4a698(0x412),new Map()),g(this,_0x4a698(0x438),null),g(this,_0x4a698(0x516),new Map()),g(this,_0x4a698(0x304),new Map()),this[_0x4a698(0x599)]();}[_0x494e14(0x301)](){const _0x5cc211=_0x494e14;super[_0x5cc211(0x301)](),this['_clearOtherTimers'][_0x5cc211(0x58b)]((_0x289319,_0xf23bfd)=>this[_0x5cc211(0x49c)](_0xf23bfd)),this[_0x5cc211(0x438)]&&window[_0x5cc211(0x362)](this[_0x5cc211(0x438)]);}[_0x494e14(0x218)](_0x1847b0){const _0xbeb3d6=_0x494e14;return this[_0xbeb3d6(0x4b2)](_0x1847b0)['pipe'](_0x1e8a26());}['editingUnit'](_0x440b68){const _0x3be99d=_0x494e14;this['_selfUnitIDs'][_0x3be99d(0x3b4)]===0x0&&this[_0x3be99d(0x3ec)](),this[_0x3be99d(0x400)][_0x3be99d(0x3fb)](_0x440b68),this[_0x3be99d(0x46f)]({'type':0x0,'memberID':this[_0x3be99d(0x23e)],'unitIDs':[_0x440b68],'isForwarded':!0x1});}['disposeUnit'](_0x2fae3b){const _0x12a93=_0x494e14;this[_0x12a93(0x400)][_0x12a93(0x534)](_0x2fae3b),this[_0x12a93(0x400)][_0x12a93(0x3b4)]===0x0&&this[_0x12a93(0x438)]&&window[_0x12a93(0x362)](this['_heartbeatTimer']);}['_init'](){const _0x124739=_0x494e14;this[_0x124739(0x461)](_0xf5e7f5(_0x7e355d(window,'storage')[_0x124739(0x540)](_0x2ce7bf=>{const _0x399370=_0x124739;if(_0x2ce7bf[_0x399370(0x3d4)]!==Ws||!_0x2ce7bf[_0x399370(0x4d9)])return;const _0x59a9a2=JSON[_0x399370(0x39a)](_0x2ce7bf['newValue']);this['_handleEvent'](_0x59a9a2);}))),window[_0x124739(0x43b)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x124739(0x23e)],'unitIDs':Array[_0x124739(0x353)](this[_0x124739(0x400)])}));}['_handleEvent'](_0xa80b2){const _0x62dcd8=_0x494e14;switch(_0xa80b2['type']){case 0x0:this[_0x62dcd8(0x5c1)](_0xa80b2);break;case 0x1:this['_handleLeaveEvent'](_0xa80b2);break;case 0x2:this[_0x62dcd8(0x2ae)](_0xa80b2);break;}}[_0x494e14(0x5c1)](_0x3ba4bb){const _0x4fef19=_0x494e14,{unitIDs:_0x5d7ded,memberID:_0x41f696,isForwarded:_0x2c2268}=_0x3ba4bb;_0x5d7ded[_0x4fef19(0x58b)](_0x34a117=>{const _0x5d28ad=_0x4fef19;if(!_0x2c2268&&this[_0x5d28ad(0x412)]['has'](_0x34a117)&&this[_0x5d28ad(0x4b2)](_0x34a117)[_0x5d28ad(0x2d0)](0x1),!this[_0x5d28ad(0x412)][_0x5d28ad(0x481)](_0x34a117)||!this[_0x5d28ad(0x412)][_0x5d28ad(0x38a)](_0x34a117)['has'](_0x41f696)){const _0x56b2d6=this[_0x5d28ad(0x412)]['get'](_0x34a117)||new Set();_0x56b2d6['add'](_0x41f696),this['_unitOnClients'][_0x5d28ad(0x207)](_0x34a117,_0x56b2d6),this[_0x5d28ad(0x4ca)](_0x41f696);}}),_0x2c2268||this[_0x4fef19(0x46f)]({'type':0x0,'memberID':this[_0x4fef19(0x23e)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x494e14(0x4ca)](_0x369260){const _0x34d500=_0x494e14;this[_0x34d500(0x49c)](_0x369260);const _0x1064dd=window[_0x34d500(0x365)](()=>{const _0xe6c096=_0x34d500;this[_0xe6c096(0x412)][_0xe6c096(0x58b)](_0x26a94d=>{const _0x252953=_0xe6c096;_0x26a94d[_0x252953(0x534)](_0x369260);});},ks*0x2);this['_clearOtherTimers']['set'](_0x369260,_0x1064dd);}[_0x494e14(0x49c)](_0x437ce3){const _0x179e86=_0x494e14;if(this[_0x179e86(0x516)]['has'](_0x437ce3)){const _0x5a2bf9=this[_0x179e86(0x516)][_0x179e86(0x38a)](_0x437ce3);_0x5a2bf9&&window[_0x179e86(0x266)](_0x5a2bf9),this[_0x179e86(0x516)][_0x179e86(0x207)](_0x437ce3,null);}}[_0x494e14(0x42c)](_0x46dd4f){const _0x3b1bf5=_0x494e14,{memberID:_0x32dbc6,unitIDs:_0x5f06bf}=_0x46dd4f;_0x5f06bf[_0x3b1bf5(0x58b)](_0x5c2e99=>{const _0x448511=_0x3b1bf5;var _0x48948b;const _0x265443=this[_0x448511(0x412)][_0x448511(0x38a)](_0x5c2e99);_0x265443&&(_0x265443['delete'](_0x32dbc6),(_0x48948b=this['_ensureSubject'](_0x5c2e99))==null||_0x48948b[_0x448511(0x2d0)](_0x265443[_0x448511(0x3b4)]===0x0?0x0:0x1));}),this[_0x3b1bf5(0x49c)](_0x32dbc6);}['_handleHeartbeatEvent'](_0x597442){const _0x2132bb=_0x494e14;this[_0x2132bb(0x4ca)](_0x597442[_0x2132bb(0x237)]);}[_0x494e14(0x46f)](_0x209fa7){const _0x582156=_0x494e14;localStorage[_0x582156(0x487)](Ws,JSON[_0x582156(0x415)](_0x209fa7));}[_0x494e14(0x3ec)](){const _0x4d941b=_0x494e14;this[_0x4d941b(0x438)]=window[_0x4d941b(0x51e)](()=>{const _0x5d4d38=_0x4d941b;this[_0x5d4d38(0x46f)]({'type':0x2,'memberID':this[_0x5d4d38(0x23e)]});},ks);}[_0x494e14(0x4b2)](_0x30aaf1){const _0x4206ad=_0x494e14;return this[_0x4206ad(0x304)]['has'](_0x30aaf1)||this[_0x4206ad(0x304)]['set'](_0x30aaf1,new _0x9b8747(0x0)),this[_0x4206ad(0x304)][_0x4206ad(0x38a)](_0x30aaf1);}}var io=Object['defineProperty'],no=Object[_0x494e14(0x2a4)],ro=(_0x2bf5bf,_0x5db4ae,_0x2cc887,_0x5e4d91)=>{for(var _0x3a0cce=_0x5e4d91>0x1?void 0x0:_0x5e4d91?no(_0x5db4ae,_0x2cc887):_0x5db4ae,_0x52445d=_0x2bf5bf['length']-0x1,_0x331154;_0x52445d>=0x0;_0x52445d--)(_0x331154=_0x2bf5bf[_0x52445d])&&(_0x3a0cce=(_0x5e4d91?_0x331154(_0x5db4ae,_0x2cc887,_0x3a0cce):_0x331154(_0x3a0cce))||_0x3a0cce);return _0x5e4d91&&_0x3a0cce&&io(_0x5db4ae,_0x2cc887,_0x3a0cce),_0x3a0cce;},xt=(_0x49db90,_0x270d93)=>(_0x3f19d1,_0x1678a9)=>_0x270d93(_0x3f19d1,_0x1678a9,_0x49db90);let pt=class{constructor(_0x148fdb,_0xde5273,_0xcdf0e9){const _0x161045=_0x494e14;this[_0x161045(0x5a2)]=_0x148fdb,this[_0x161045(0x3c3)]=_0xde5273,this[_0x161045(0x4c9)]=_0xcdf0e9;}[_0x494e14(0x5d7)](_0x190dae){const _0x35f0f5=_0x494e14;this[_0x35f0f5(0x3e4)](_0x190dae);}[_0x494e14(0x275)](_0x4be75d){const _0x38646c=_0x494e14,{unitID:_0x26f3cc}=_0x4be75d,{collaboration:_0x4d9f92}=this[_0x38646c(0x4c9)][_0x38646c(0x5d3)](_0x26f3cc);if(_0x4d9f92['length']===0x0)return _0x4be75d;let _0xf1c6f8=_0x1fd4a4[_0x38646c(0x548)](_0x4be75d[_0x38646c(0x592)][0x0]);for(let _0x237ab0=0x0;_0x237ab0<_0x4d9f92[_0x38646c(0x490)];_0x237ab0++){const _0x595886={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d9f92[_0x237ab0][_0x38646c(0x3ff)],..._0x4d9f92[_0x237ab0]['redoState']}},_0x212af5=this[_0x38646c(0x3c3)]['transformMutation'](_0xf1c6f8,_0x595886,!0x1);if(_0x1f65f6(_0x212af5))throw _0x212af5[_0x38646c(0x48a)];_0xf1c6f8=_0x212af5[_0x38646c(0x2d8)];}return{..._0x1fd4a4['deepClone'](_0x4be75d),'mutations':[_0xf1c6f8]};}[_0x494e14(0x3e4)](_0x48b34e){const _0x52c281=_0x494e14,{unitID:_0x41081e}=_0x48b34e,{history:_0x3a2d8c,collaboration:_0xf1afd6}=this[_0x52c281(0x4c9)][_0x52c281(0x5d3)](_0x41081e);if(_0x3a2d8c[_0x52c281(0x490)]===0x0&&_0xf1afd6[_0x52c281(0x490)]===0x0)return;const _0x5eb67c=[],_0x500822=[];let _0x547769=_0x1fd4a4[_0x52c281(0x548)](_0x48b34e[_0x52c281(0x592)][0x0]),_0x426e3b=_0x1fd4a4[_0x52c281(0x548)](_0x48b34e[_0x52c281(0x592)][0x0]);for(let _0x253f2e=_0x3a2d8c[_0x52c281(0x490)]-0x1;_0x253f2e>=0x0;_0x253f2e--){const _0x3e70ff={'id':_0x52c281(0x2d3),'params':{'unitId':_0x3a2d8c[_0x253f2e][_0x52c281(0x3ff)],..._0x3a2d8c[_0x253f2e][_0x52c281(0x4fe)]}},_0x300ca6={'id':_0x52c281(0x2d3),'params':{'unitId':_0x3a2d8c[_0x253f2e][_0x52c281(0x3ff)],..._0x3a2d8c[_0x253f2e]['redoState']}},_0x58356d=this['_transformService']['transformMutation'](_0x547769,_0x3e70ff,!0x1),_0x49424e=this[_0x52c281(0x3c3)][_0x52c281(0x1ee)](_0x426e3b,_0x300ca6,!0x1);if(_0x1f65f6(_0x58356d))throw _0x58356d[_0x52c281(0x48a)];if(_0x1f65f6(_0x49424e))throw _0x49424e[_0x52c281(0x48a)];_0x5eb67c[_0x52c281(0x43c)]({..._0x3a2d8c[_0x253f2e],'undoState':_0x58356d[_0x52c281(0x5ca)][_0x52c281(0x3a2)],'redoState':_0x49424e['m2Prime'][_0x52c281(0x3a2)]}),_0x547769=_0x58356d[_0x52c281(0x2d8)],_0x426e3b=_0x49424e[_0x52c281(0x2d8)];}_0x547769=_0x1fd4a4['deepClone'](_0x48b34e[_0x52c281(0x592)][0x0]),_0x426e3b=_0x1fd4a4[_0x52c281(0x548)](_0x48b34e['mutations'][0x0]);for(let _0x3f8e9c=_0xf1afd6[_0x52c281(0x490)]-0x1;_0x3f8e9c>=0x0;_0x3f8e9c--){const _0x364bc9={'id':_0x52c281(0x2d3),'params':{'unitId':_0xf1afd6[_0x3f8e9c][_0x52c281(0x3ff)],..._0xf1afd6[_0x3f8e9c][_0x52c281(0x4fe)]}},_0xa78ed5={'id':_0x52c281(0x2d3),'params':{'unitId':_0xf1afd6[_0x3f8e9c]['unitId'],..._0xf1afd6[_0x3f8e9c][_0x52c281(0x4dc)]}},_0x4d2da8=this[_0x52c281(0x3c3)]['transformMutation'](_0x547769,_0x364bc9,!0x1),_0x1eed4a=this['_transformService'][_0x52c281(0x1ee)](_0x426e3b,_0xa78ed5,!0x1);if(_0x1f65f6(_0x4d2da8))throw _0x4d2da8['error'];if(_0x1f65f6(_0x1eed4a))throw _0x1eed4a[_0x52c281(0x48a)];_0x500822[_0x52c281(0x43c)]({..._0xf1afd6[_0x3f8e9c],'undoState':_0x4d2da8[_0x52c281(0x5ca)][_0x52c281(0x3a2)],'redoState':_0x1eed4a['m2Prime'][_0x52c281(0x3a2)]}),_0x547769=_0x4d2da8['m1Prime'],_0x426e3b=_0x1eed4a['m1Prime'];}this[_0x52c281(0x4c9)]['setStateCache'](_0x41081e,{'history':_0x5eb67c,'collaboration':_0x500822});}};pt=ro([xt(0x0,_0x41b3da(_0x2087b9)),xt(0x1,_0x1197db),xt(0x2,_0x41b3da(_0x5c2099))],pt);function Pi(_0x19d56e){const _0x235aaf=_0x494e14;let _0x36f155='';for(const _0x2949f1 of _0x19d56e){const {startOffset:_0x58f5f9,endOffset:_0x19388a,isActive:_0x31eb5c,rangeType:_0x51083b,segmentId:_0x2ef89a,segmentPage:_0x26b97a}=_0x2949f1;_0x36f155[_0x235aaf(0x490)]&&(_0x36f155+=','),_0x36f155+=_0x58f5f9+':'+_0x19388a+':'+(_0x31eb5c?'1':'0')+':'+_0x51083b+':'+_0x2ef89a+':'+_0x26b97a;}return _0x36f155;}function oo(_0x630659){const _0x49b14e=_0x494e14,_0x3e3e72=_0x630659[_0x49b14e(0x20b)](','),_0x4bac15=[];for(const _0x53216e of _0x3e3e72){const [_0x77d17a,_0x1371ab,_0xead582,_0x224be1,_0x4218fa,_0x3a16c3]=_0x53216e[_0x49b14e(0x20b)](':');_0x4bac15[_0x49b14e(0x271)]({'startOffset':Number(_0x77d17a),'endOffset':Number(_0x1371ab),'collapsed':_0x77d17a===_0x1371ab,'isActive':_0xead582==='1','rangeType':_0x224be1===_0x43cc22[_0x49b14e(0x4e3)]?_0x43cc22[_0x49b14e(0x4e3)]:_0x43cc22[_0x49b14e(0x25f)],'segmentId':typeof _0x4218fa=='string'?String(_0x4218fa):'','segmentPage':Number(_0x3a16c3!=null?_0x3a16c3:-0x1)});}return _0x4bac15[_0x49b14e(0x57e)](_0x2d5dd9=>_0x2d5dd9[_0x49b14e(0x382)])||(_0x4bac15[0x0][_0x49b14e(0x382)]=!0x0),_0x4bac15;}class Cs extends _0x542deb{constructor(){const _0xcdc49e=_0x494e14;super(...arguments),g(this,'_collabCursorState$',new _0x9b8747(null)),g(this,_0xcdc49e(0x2ea),this[_0xcdc49e(0x3f8)]['asObservable']());}[_0x494e14(0x2c2)](_0x47bf91){const _0x2ab4fa=_0x494e14,{unitID:_0x2a4c7d,memberID:_0x109fdc,textRanges:_0x572dc6}=_0x47bf91,_0x32c37d=Pi(_0x572dc6);if(_0x32c37d==='')return;const _0x4824b4={'unitID':_0x2a4c7d,'memberID':_0x109fdc,'selection':_0x32c37d};this[_0x2ab4fa(0x3f8)][_0x2ab4fa(0x2d0)](_0x4824b4);}}var ao=Object[_0x494e14(0x421)],co=Object[_0x494e14(0x2a4)],ho=(_0x144954,_0x369bd2,_0x4e333c,_0x171bbe)=>{const _0x5f3134=_0x494e14;for(var _0x4c9976=_0x171bbe>0x1?void 0x0:_0x171bbe?co(_0x369bd2,_0x4e333c):_0x369bd2,_0x34afab=_0x144954[_0x5f3134(0x490)]-0x1,_0x1c4563;_0x34afab>=0x0;_0x34afab--)(_0x1c4563=_0x144954[_0x34afab])&&(_0x4c9976=(_0x171bbe?_0x1c4563(_0x369bd2,_0x4e333c,_0x4c9976):_0x1c4563(_0x4c9976))||_0x4c9976);return _0x171bbe&&_0x4c9976&&ao(_0x369bd2,_0x4e333c,_0x4c9976),_0x4c9976;},Fs=(_0x293183,_0x516913)=>(_0x476c5a,_0x1246b5)=>_0x516913(_0x476c5a,_0x1246b5,_0x293183);let gt=class{constructor(_0x892acc,_0x567244){const _0x4b959e=_0x494e14;this[_0x4b959e(0x5a2)]=_0x892acc,this[_0x4b959e(0x3c3)]=_0x567244;}['transformSelections'](_0x271cd3){const _0x241cfa=_0x494e14;var _0x55c4fa;const _0x51b77b=this[_0x241cfa(0x5a2)]['get'](_0x5367d6),_0x3b7d63=(_0x55c4fa=_0x51b77b[_0x241cfa(0x286)]())!=null?_0x55c4fa:[];if(_0x3b7d63[_0x241cfa(0x490)]===0x0)return;const _0x369b3d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x271cd3[_0x241cfa(0x55b)],'actions':null,'textRanges':_0x3b7d63}}],_0x46bd71=this[_0x241cfa(0x3c3)][_0x241cfa(0x464)](_0x271cd3,_0x369b3d);if(!_0x46c18d(_0x46bd71))throw _0x46bd71[_0x241cfa(0x48a)];const _0x177153=_0x46bd71[_0x241cfa(0x5ca)][0x0]['params'][_0x241cfa(0x2c1)];Array['isArray'](_0x177153)&&_0x177153[_0x241cfa(0x490)]&&_0x51b77b[_0x241cfa(0x250)](_0x177153,!0x1);}};gt=ho([Fs(0x0,_0x41b3da(_0x2087b9)),Fs(0x1,_0x1197db)],gt);const lo=new Set([_0x106c47['id']]);function Vs(_0x2b2f39,_0x30de6d,_0xea232,_0x5c75fe,_0x8a7e97){const _0x179210=_0x494e14;var _0x228c9f,_0x473256,_0x4343e3,_0x10b71d;const _0x35acbb=[];for(const _0x4deb74 of _0x2b2f39)if(lo[_0x179210(0x481)](_0x4deb74['id'])){if(_0x35acbb['length']>0x0)break;_0x35acbb[_0x179210(0x271)](_0x4deb74);break;}else _0x35acbb['push'](_0x4deb74);const _0x2495e8=(_0x473256=(_0x228c9f=_0x8a7e97[_0x179210(0x346)]())==null?void 0x0:_0x228c9f['userID'])!=null?_0x473256:_0x179210(0x518),_0xe092b4=(_0x10b71d=(_0x4343e3=_0x8a7e97[_0x179210(0x346)]())==null?void 0x0:_0x4343e3['memberID'])!=null?_0x10b71d:_0x179210(0x518);return{'changeset':{'unitID':_0x30de6d,'type':_0x209cca(_0xea232[_0x179210(0x4a5)](_0x30de6d)),'baseRev':_0x5c75fe['getCurrentRevOfUnit'](_0x30de6d),'revision':0x0,'userID':_0x2495e8,'memberID':_0xe092b4,'mutations':_0x35acbb},'pendingMutations':_0x2b2f39['slice'](_0x35acbb[_0x179210(0x490)])};}function _o(_0x51d591,_0x2799b9,_0x45470f,_0x293816,_0x4388c2){const _0x13edbd=_0x494e14;var _0x2a3086,_0x34e518,_0x2e9071,_0x56e861;const _0xd1cf7a=[_0x51d591[_0x13edbd(0x56b)]((_0x9ea4d9,_0x2ebf9d)=>{const _0x99b54=_0x13edbd;var _0x405118;const {id:_0x4684ca}=_0x9ea4d9,{id:_0x4d9f60,type:_0x54f457}=_0x2ebf9d,_0x375059=(_0x405118=_0x9ea4d9[_0x99b54(0x3a2)])!=null?_0x405118:{'actions':null},_0x37f514=_0x2ebf9d[_0x99b54(0x3a2)];if(_0x4684ca&&_0x4684ca!==_0x4d9f60)throw new Error(_0x99b54(0x35a)+_0x4684ca+'\x20-\x20'+_0x4d9f60+'.');return{..._0x9ea4d9,'id':_0x4d9f60,'type':_0x54f457,'params':{'unitId':_0x37f514['unitId'],'textRanges':_0x37f514[_0x99b54(0x2c1)],'actions':_0x5acd7c[_0x99b54(0x50d)](_0x375059[_0x99b54(0x336)],_0x37f514['actions'])}};},{})],_0x49db9e=(_0x34e518=(_0x2a3086=_0x4388c2[_0x13edbd(0x346)]())==null?void 0x0:_0x2a3086[_0x13edbd(0x279)])!=null?_0x34e518:_0x13edbd(0x518),_0x592dfa=(_0x56e861=(_0x2e9071=_0x4388c2[_0x13edbd(0x346)]())==null?void 0x0:_0x2e9071[_0x13edbd(0x237)])!=null?_0x56e861:_0x13edbd(0x518);return{'changeset':{'unitID':_0x2799b9,'type':_0x209cca(_0x45470f[_0x13edbd(0x4a5)](_0x2799b9)),'baseRev':_0x293816[_0x13edbd(0x50c)](_0x2799b9),'revision':0x0,'userID':_0x49db9e,'memberID':_0x592dfa,'mutations':_0xd1cf7a},'pendingMutations':[]};}function Ui(_0x10d4de,_0x2afc68){const _0x2ee8e2=_0x494e14,_0x485447=new _0xd55c1c(0x1);return setTimeout(()=>_0x485447[_0x2ee8e2(0x2d0)](_0x2afc68),_0x10d4de),_0x485447[_0x2ee8e2(0x372)]()[_0x2ee8e2(0x3eb)](_0x1dfd23(0x1));}const uo={'id':_0x288a85['id'],'type':_0x51c5e3[_0x494e14(0x314)],'params':{}};var fo=Object['defineProperty'],vo=Object['getOwnPropertyDescriptor'],Le=(_0x27560a,_0x4876ed,_0xf24183,_0x5d80f4)=>{const _0x3d3941=_0x494e14;for(var _0x2eb9fe=_0x5d80f4>0x1?void 0x0:_0x5d80f4?vo(_0x4876ed,_0xf24183):_0x4876ed,_0x102ccc=_0x27560a[_0x3d3941(0x490)]-0x1,_0x5f0c01;_0x102ccc>=0x0;_0x102ccc--)(_0x5f0c01=_0x27560a[_0x102ccc])&&(_0x2eb9fe=(_0x5d80f4?_0x5f0c01(_0x4876ed,_0xf24183,_0x2eb9fe):_0x5f0c01(_0x2eb9fe))||_0x2eb9fe);return _0x5d80f4&&_0x2eb9fe&&fo(_0x4876ed,_0xf24183,_0x2eb9fe),_0x2eb9fe;},A=(_0x3a93bc,_0x22feca)=>(_0x4f8b23,_0xc5e207)=>_0x22feca(_0x4f8b23,_0xc5e207,_0x3a93bc),J=(_0x552e3c=>(_0x552e3c[_0x494e14(0x390)]=_0x494e14(0x581),_0x552e3c[_0x494e14(0x541)]='synced',_0x552e3c[_0x494e14(0x4b0)]=_0x494e14(0x2b2),_0x552e3c[_0x494e14(0x2c3)]='awaiting',_0x552e3c['AWAITING_WITH_PENDING']=_0x494e14(0x4b7),_0x552e3c['FETCH_MISS']=_0x494e14(0x5a8),_0x552e3c['CONFLICT']=_0x494e14(0x56a),_0x552e3c[_0x494e14(0x387)]=_0x494e14(0x2ee),_0x552e3c))(J||{});const Ni=0xea60;class $e{constructor(_0x47c7d9,_0x3b51a9,_0x14f41d,_0x480455,_0x5d21e6,_0x49e8f2,_0x2c79e9,_0x572fa7,_0xf06ce6){const _0x49edac=_0x494e14;g(this,_0x49edac(0x20e),null),g(this,_0x49edac(0x282),[]),(this[_0x49edac(0x55b)]=_0x47c7d9,this[_0x49edac(0x2cd)]=_0x3b51a9,this[_0x49edac(0x30c)]=_0x5d21e6,this['_commandService']=_0x49e8f2,this['_undoRedoService']=_0x2c79e9,this[_0x49edac(0x3b8)]=_0x572fa7,this[_0x49edac(0x391)]=_0xf06ce6,this[_0x49edac(0x20e)]=_0x14f41d,this[_0x49edac(0x282)]=_0x480455);}[_0x494e14(0x597)](_0x4f35e4){const _0x37747c=_0x494e14,_0x13a32e=this[_0x37747c(0x3b8)][_0x37747c(0x50c)](this[_0x37747c(0x55b)]);return _0x4f35e4[_0x37747c(0x2f1)]>_0x13a32e+0x1?(this[_0x37747c(0x30c)][_0x37747c(0x5aa)]({'from':_0x13a32e,'to':_0x4f35e4[_0x37747c(0x2f1)]-0x1}),!0x0):!0x1;}[_0x494e14(0x2c4)](_0x13ef80){const _0x4157a3=_0x494e14;this[_0x4157a3(0x513)][_0x4157a3(0x5b9)](this[_0x4157a3(0x55b)],_0x13ef80);}[_0x494e14(0x2db)](_0x3ed4c7){const _0x3d06f7=_0x494e14;var _0x54f3f0,_0x1771b9;(_0x1771b9=(_0x54f3f0=this[_0x3d06f7(0x30c)])[_0x3d06f7(0x23f)])==null||_0x1771b9[_0x3d06f7(0x450)](_0x54f3f0,_0x3ed4c7);}[_0x494e14(0x584)](_0x192ff7){const _0x4645e5=_0x494e14;var _0x18e0b1,_0x416191;return(_0x416191=(_0x18e0b1=this['_handler'])[_0x4645e5(0x54f)])==null?void 0x0:_0x416191['call'](_0x18e0b1,_0x192ff7);}[_0x494e14(0x577)](_0x107fb1){const _0x565b42=_0x494e14;var _0x2d607d,_0x34b534;return(_0x34b534=(_0x2d607d=this['_handler'])[_0x565b42(0x265)])==null?void 0x0:_0x34b534['call'](_0x2d607d,_0x107fb1);}[_0x494e14(0x311)](_0x1d27e5){const _0x14467d=_0x494e14;var _0x4b0e5f,_0xc0eabf,_0x36cf73;return(_0x36cf73=(_0xc0eabf=(_0x4b0e5f=this['_handler'])[_0x14467d(0x25a)])==null?void 0x0:_0xc0eabf[_0x14467d(0x450)](_0x4b0e5f,_0x1d27e5))!=null?_0x36cf73:_0x1d27e5;}[_0x494e14(0x3e2)](_0x42ea94){const _0x2422a6=_0x494e14;var _0x388265,_0x5ec4c8,_0x4f4105;return(_0x4f4105=(_0x5ec4c8=(_0x388265=this[_0x2422a6(0x30c)])[_0x2422a6(0x5a3)])==null?void 0x0:_0x5ec4c8[_0x2422a6(0x450)](_0x388265,_0x42ea94))!=null?_0x4f4105:_0x42ea94;}[_0x494e14(0x5f8)](_0x3ae973){const _0x2fce31=_0x494e14;var _0x5e45c2,_0x571bac;if(this['type']===ce[_0x2fce31(0x36f)]){const {unitID:_0x44eef1,mutations:_0x403ed1,memberID:_0x8a14ea}=_0x3ae973,_0xa2f434=_0x403ed1[0x0][_0x2fce31(0x3a2)][_0x2fce31(0x2c1)];Array[_0x2fce31(0x570)](_0xa2f434)&&_0xa2f434[_0x2fce31(0x490)]>0x0&&((_0x571bac=(_0x5e45c2=this[_0x2fce31(0x30c)])['onSyncEditingCollabCursor'])==null||_0x571bac[_0x2fce31(0x450)](_0x5e45c2,{'unitID':_0x44eef1,'memberID':_0x8a14ea,'textRanges':_0xa2f434}));}}[_0x494e14(0x395)](){const _0x544733=_0x494e14;this[_0x544733(0x391)][_0x544733(0x2d4)](this[_0x544733(0x55b)],this[_0x544733(0x2cd)],this[_0x544733(0x20e)],this[_0x544733(0x282)]);}[_0x494e14(0x398)](){const _0x5dbd76=_0x494e14;return this[_0x5dbd76(0x3b8)][_0x5dbd76(0x50c)](this['unitID']);}[_0x494e14(0x50f)](){const _0x170a7e=_0x494e14;this['_revisionService'][_0x170a7e(0x589)](this[_0x170a7e(0x55b)]);}[_0x494e14(0x476)](_0x2e305f){const _0x296d54=_0x494e14;var _0x3332ea;let _0x2b99ea=this[_0x296d54(0x311)](_0x2e305f);_0x2b99ea=this[_0x296d54(0x3e2)](_0x2b99ea);const _0x36326b=_0x558f87(_0x2b99ea[_0x296d54(0x592)],this['_commandService'],{'fromCollab':!0x0});if(!_0x36326b[_0x296d54(0x24f)])throw _0x36326b['error']instanceof Error?_0x36326b[_0x296d54(0x48a)]:new Error((_0x3332ea=_0x36326b[_0x296d54(0x48a)])!=null?_0x3332ea:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x2b99ea),this[_0x296d54(0x577)](_0x2b99ea),this['_transformUndoredo'](_0x2e305f),this[_0x296d54(0x2db)](_0x2b99ea),this[_0x296d54(0x5f8)](_0x2b99ea),this['_incrementRevisionNumber']();}}let Fe=class extends $e{constructor(_0x2114b5,_0x582f6a,_0x4716b7,_0x1dd431,_0x5e0b9a,_0x1b44c0,_0xec955e,_0x4f6753,_0xbdf1f1,_0x359ab4){const _0x21d493=_0x494e14;super(_0x2114b5,_0x582f6a,null,[],_0x4716b7,_0x4f6753,_0xec955e,_0x1dd431,_0x5e0b9a),g(this,_0x21d493(0x50e),_0x21d493(0x47d)),(this['_injector']=_0x1b44c0,this[_0x21d493(0x3c0)]=_0xbdf1f1,this['_transformService']=_0x359ab4);}['appendMutation'](_0x291509){const _0x19d64e=_0x494e14,_0x23fe72=this[_0x19d64e(0x5a2)][_0x19d64e(0x397)](pe,this[_0x19d64e(0x55b)],this[_0x19d64e(0x2cd)],[_0x291509],this[_0x19d64e(0x30c)]);return _0x23fe72[_0x19d64e(0x42b)](),_0x23fe72[_0x19d64e(0x395)](),_0x23fe72;}['onRemoteChangeset'](_0xf3231f){const _0x109924=_0x494e14;if(this['_checkMissing'](_0xf3231f))return this[_0x109924(0x5a2)][_0x109924(0x397)](he,this[_0x109924(0x55b)],this[_0x109924(0x2cd)],null,[],null,[_0xf3231f],this[_0x109924(0x30c)]);try{const _0x1bf5d7=this[_0x109924(0x3c3)][_0x109924(0x464)](_0xf3231f,[uo]);if(_0x46c18d(_0x1bf5d7)){const {c1Prime:_0x35f695}=_0x1bf5d7;return this[_0x109924(0x476)](_0x35f695),this;}throw _0x1bf5d7[_0x109924(0x48a)];}catch(_0x47a64a){return this['_logService'][_0x109924(0x48a)](_0x47a64a),this[_0x109924(0x2be)](!0x1);}}[_0x494e14(0x2be)](_0x4757da){const _0x16cbcb=_0x494e14;return this['_injector']['createInstance'](Re,this['unitID'],this[_0x16cbcb(0x2cd)],null,[],this[_0x16cbcb(0x30c)],_0x4757da);}[_0x494e14(0x309)](){const _0x6d2973=_0x494e14;throw new Error(_0x6d2973(0x29d));}['onRemoteRej'](){const _0x183b15=_0x494e14;throw new Error(_0x183b15(0x1f6));}[_0x494e14(0x235)](){return this;}[_0x494e14(0x549)](){const _0x2f0231=_0x494e14;return this[_0x2f0231(0x5a2)][_0x2f0231(0x397)](ye,this['unitID'],this[_0x2f0231(0x2cd)],null,[],this[_0x2f0231(0x30c)]);}[_0x494e14(0x5d0)](){return this;}[_0x494e14(0x35d)](){const _0x3e8cb0=_0x494e14;throw new Error(_0x3e8cb0(0x583));}['fetchMiss'](){const _0xf45263=_0x494e14,_0x5943c4=this[_0xf45263(0x3b8)][_0xf45263(0x50c)](this[_0xf45263(0x55b)]);return this['_handler'][_0xf45263(0x5aa)]({'from':_0x5943c4,'to':0x0}),this[_0xf45263(0x5a2)]['createInstance'](he,this[_0xf45263(0x55b)],this[_0xf45263(0x2cd)],null,[],null,[],this[_0xf45263(0x30c)]);}};Fe=Le([A(0x3,_0x41b3da(_0x1d4656)),A(0x4,_0x41b3da(q)),A(0x5,_0x41b3da(_0x2087b9)),A(0x6,_0x21e225),A(0x7,_0x1c554d),A(0x8,_0x3bb158),A(0x9,_0x1197db)],Fe);let pe=class extends $e{constructor(_0x2e4cd8,_0x2451e5,_0x74b46a,_0x120ff6,_0x4c04f7,_0x40dbd4,_0x286e13,_0xececc,_0x266497,_0x810568,_0x3352fc,_0x5ca8b9,_0x413e8c,_0x40cac3){const _0x1ec153=_0x494e14;super(_0x2e4cd8,_0x2451e5,null,_0x74b46a,_0x120ff6,_0x810568,_0x40cac3,_0x40dbd4,_0x286e13),g(this,'status',_0x1ec153(0x2b2)),g(this,_0x1ec153(0x3a7),null),g(this,_0x1ec153(0x5ce),null),(this[_0x1ec153(0x5a2)]=_0x4c04f7,this[_0x1ec153(0x422)]=_0xececc,this[_0x1ec153(0x3c0)]=_0x266497,this['_configService']=_0x3352fc,this[_0x1ec153(0x3c3)]=_0x5ca8b9,this[_0x1ec153(0x5ee)]=_0x413e8c);}[_0x494e14(0x347)](_0x320d5d){const _0x37e28f=_0x494e14;return this[_0x37e28f(0x282)]['push'](_0x320d5d),this[_0x37e28f(0x395)](),this;}[_0x494e14(0x324)](_0x548367){const _0x5a0fbc=_0x494e14;if(this[_0x5a0fbc(0x597)](_0x548367))return this[_0x5a0fbc(0x393)](),this[_0x5a0fbc(0x5a2)][_0x5a0fbc(0x397)](he,this['unitID'],this[_0x5a0fbc(0x2cd)],null,this[_0x5a0fbc(0x282)],null,[_0x548367],this[_0x5a0fbc(0x30c)]);try{const _0x46fdcb=this['_transformService'][_0x5a0fbc(0x464)](_0x548367,this[_0x5a0fbc(0x282)]);if(_0x46c18d(_0x46fdcb)){const {c1Prime:_0x28f86e,m2Prime:_0x4c097f}=_0x46fdcb;this[_0x5a0fbc(0x476)](_0x28f86e);const _0x1b049f=this[_0x5a0fbc(0x5a2)]['createInstance'](pe,this[_0x5a0fbc(0x55b)],this[_0x5a0fbc(0x2cd)],_0x4c097f,this[_0x5a0fbc(0x30c)]);return this[_0x5a0fbc(0x393)](),_0x1b049f[_0x5a0fbc(0x42b)](this[_0x5a0fbc(0x3a7)]?Math[_0x5a0fbc(0x58e)](0x0,new Date()[_0x5a0fbc(0x444)]()-this['_scheduleTimestamp']):this[_0x5a0fbc(0x38b)]()),_0x1b049f;}throw _0x46fdcb['error'];}catch(_0x1c6a81){return this[_0x5a0fbc(0x3c0)][_0x5a0fbc(0x48a)](_0x1c6a81),this[_0x5a0fbc(0x2be)](!0x1);}}[_0x494e14(0x309)](){const _0x2bb918=_0x494e14;throw new Error(_0x2bb918(0x4cd));}[_0x494e14(0x3a4)](){const _0x147a42=_0x494e14;throw new Error(_0x147a42(0x477));}['onRemoteRetry'](){return this;}[_0x494e14(0x549)](){const _0x5a701d=_0x494e14;return this['_clearScheduledTask'](),this[_0x5a701d(0x5a2)][_0x5a701d(0x397)](ye,this[_0x5a701d(0x55b)],this[_0x5a701d(0x2cd)],null,this['_pendingMutations'],this[_0x5a701d(0x30c)]);}[_0x494e14(0x5d0)](){return this;}[_0x494e14(0x42b)](_0x267c46){const _0x2a75b6=_0x494e14,_0x55b4e9=_0x267c46!=null?_0x267c46:this[_0x2a75b6(0x38b)]();this[_0x2a75b6(0x3a7)]=new Date()['getTime'](),this[_0x2a75b6(0x5ce)]=window[_0x2a75b6(0x365)](()=>{const _0x1118cd=_0x2a75b6;this[_0x1118cd(0x393)]();let _0x448bf5=null;switch(this[_0x1118cd(0x2cd)]){case ce[_0x1118cd(0x5dc)]:{_0x448bf5=Vs(this[_0x1118cd(0x282)],this[_0x1118cd(0x55b)],this[_0x1118cd(0x5ee)],this[_0x1118cd(0x3b8)],this['_memberService']);break;}case ce[_0x1118cd(0x36f)]:{this[_0x1118cd(0x282)][_0x1118cd(0x452)](_0x347b30=>_0x347b30['id']===_0x933dab['id'])?_0x448bf5=_o(this[_0x1118cd(0x282)],this['unitID'],this[_0x1118cd(0x5ee)],this[_0x1118cd(0x3b8)],this[_0x1118cd(0x422)]):_0x448bf5=Vs(this[_0x1118cd(0x282)],this[_0x1118cd(0x55b)],this[_0x1118cd(0x5ee)],this['_revisionService'],this[_0x1118cd(0x422)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x1118cd(0x2cd)]+_0x1118cd(0x2c6));}const {changeset:_0x46a33f,pendingMutations:_0x1fc989}=_0x448bf5;this[_0x1118cd(0x30c)][_0x1118cd(0x3c8)](_0x46a33f);const _0x3e4c22=_0x1fc989[_0x1118cd(0x490)]?this[_0x1118cd(0x5a2)][_0x1118cd(0x397)](ge,this[_0x1118cd(0x55b)],this[_0x1118cd(0x2cd)],_0x46a33f,_0x1fc989,this[_0x1118cd(0x30c)],void 0x0):this[_0x1118cd(0x5a2)][_0x1118cd(0x397)](Te,this[_0x1118cd(0x55b)],this[_0x1118cd(0x2cd)],_0x46a33f,this[_0x1118cd(0x30c)]);_0x3e4c22[_0x1118cd(0x395)](),this[_0x1118cd(0x30c)][_0x1118cd(0x25b)](this,_0x3e4c22);},_0x55b4e9);}[_0x494e14(0x38b)](){const _0x4e0428=_0x494e14;var _0xd7e41c;const _0x6e7055=this[_0x4e0428(0x21f)][_0x4e0428(0x27f)](ie);return(_0xd7e41c=_0x6e7055==null?void 0x0:_0x6e7055[_0x4e0428(0x298)])!=null?_0xd7e41c:cr;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){const _0x44ff49=_0x494e14;this[_0x44ff49(0x5ce)]!=null&&(clearTimeout(this[_0x44ff49(0x5ce)]),this[_0x44ff49(0x5ce)]=null);}[_0x494e14(0x2be)](_0x3479c8){const _0x239f3b=_0x494e14;return this['_clearScheduledTask'](),this[_0x239f3b(0x5a2)][_0x239f3b(0x397)](Re,this[_0x239f3b(0x55b)],this[_0x239f3b(0x2cd)],null,this[_0x239f3b(0x282)],this[_0x239f3b(0x30c)],_0x3479c8);}};pe=Le([A(0x4,_0x41b3da(_0x2087b9)),A(0x5,_0x41b3da(_0x1d4656)),A(0x6,_0x41b3da(q)),A(0x7,_0x41b3da(Ne)),A(0x8,_0x3bb158),A(0x9,_0x1c554d),A(0xa,_0x23210b),A(0xb,_0x1197db),A(0xc,_0x15b9fa),A(0xd,_0x21e225)],pe);let Te=class extends $e{constructor(_0x1d7e18,_0xc68bad,_0x212997,_0xed43d,_0xb1475c,_0x179dad,_0x1d87e8,_0x2e87c8,_0x3573cc,_0x317bc7,_0x18f5c1){const _0x14443a=_0x494e14;super(_0x1d7e18,_0xc68bad,_0x212997,[],_0xed43d,_0x2e87c8,_0x18f5c1,_0x179dad,_0x1d87e8),g(this,_0x14443a(0x50e),_0x14443a(0x331)),g(this,_0x14443a(0x2a1),0x0),g(this,_0x14443a(0x2a5)),g(this,_0x14443a(0x50a)),(this['_injector']=_0xb1475c,this['_logService']=_0x3573cc,this[_0x14443a(0x3c3)]=_0x317bc7);}['appendMutation'](_0x58e6a1){const _0x476956=_0x494e14;this[_0x476956(0x393)]();const _0x2fc29c=this['_injector']['createInstance'](ge,this['unitID'],this[_0x476956(0x2cd)],this['_awaitingChangeset'],[_0x58e6a1],this[_0x476956(0x30c)],this['_resendTimer']);return _0x2fc29c['_updateLocalCache'](),_0x2fc29c;}['onRemoteChangeset'](_0x111da4){const _0x4a7f41=_0x494e14;if(this['_checkMissing'](_0x111da4))return this[_0x4a7f41(0x393)](),this[_0x4a7f41(0x5a2)]['createInstance'](he,this['unitID'],this[_0x4a7f41(0x2cd)],this['_awaitingChangeset'],[],null,[_0x111da4],this[_0x4a7f41(0x30c)]);try{const _0x2e8d0f=this[_0x4a7f41(0x3c3)][_0x4a7f41(0x5e8)]([_0x111da4],[this['_awaitingChangeset']],!0x1);if(_0x4151a8(_0x2e8d0f)){const {c1Prime:_0x1e633e,c2Prime:_0x13a14a}=_0x2e8d0f;this[_0x4a7f41(0x476)](_0x1e633e[0x0]),_0x13a14a[0x0][_0x4a7f41(0x30f)]=this[_0x4a7f41(0x398)](),this[_0x4a7f41(0x393)]();const _0x38f504=this['_injector'][_0x4a7f41(0x397)](Te,this['unitID'],this['type'],_0x13a14a[0x0],this[_0x4a7f41(0x30c)]);return _0x38f504['_updateLocalCache'](),_0x38f504;}return this[_0x4a7f41(0x2be)](!0x1);}catch(_0x647b5f){return this[_0x4a7f41(0x3c0)][_0x4a7f41(0x48a)](_0x647b5f),this[_0x4a7f41(0x2be)](!0x1);}}[_0x494e14(0x309)](_0x2282f4){const _0x2479c4=_0x494e14;this[_0x2479c4(0x393)]();const _0x38b2d4=this[_0x2479c4(0x3b8)]['getCurrentRevOfUnit'](this[_0x2479c4(0x55b)]);if(_0x2282f4[_0x2479c4(0x2f1)]<_0x38b2d4-0x1)return this;if(this[_0x2479c4(0x597)](_0x2282f4))return this[_0x2479c4(0x5a2)][_0x2479c4(0x397)](he,this[_0x2479c4(0x55b)],this[_0x2479c4(0x2cd)],null,[],this[_0x2479c4(0x20e)],[],this[_0x2479c4(0x30c)]);this[_0x2479c4(0x50f)]();const _0x3a40dc=this[_0x2479c4(0x5a2)][_0x2479c4(0x397)](Fe,this[_0x2479c4(0x55b)],this[_0x2479c4(0x2cd)],this[_0x2479c4(0x30c)]);return _0x3a40dc[_0x2479c4(0x395)](),_0x3a40dc;}[_0x494e14(0x3a4)](_0x2a2c04){const _0x3e1847=_0x494e14;return this[_0x3e1847(0x2be)](!!(_0x2a2c04!=null&&_0x2a2c04[_0x3e1847(0x3a8)]));}[_0x494e14(0x235)](_0x36884a){const _0x48f385=_0x494e14;return this[_0x48f385(0x2a1)]>Ni?this['toggleOffline']():(this['_resendTimer']=Ui(this['_resendTimeout'],{'timeout':this[_0x48f385(0x2a1)],'reqId':_0x36884a[_0x48f385(0x4cb)]}),this[_0x48f385(0x50a)]=this['_resendTimer'][_0x48f385(0x540)](({reqId:_0xf14424,timeout:_0x406256})=>{const _0x5d6e2f=_0x48f385;this[_0x5d6e2f(0x41b)](_0xf14424,_0x406256);}),this);}[_0x494e14(0x549)](){const _0x3b472c=_0x494e14;return this['_clearScheduledTask'](),this[_0x3b472c(0x5a2)][_0x3b472c(0x397)](ye,this[_0x3b472c(0x55b)],this[_0x3b472c(0x2cd)],this['_awaitingChangeset'],[],this[_0x3b472c(0x30c)]);}[_0x494e14(0x5d0)](){return this;}[_0x494e14(0x35d)](){const _0xe10307=_0x494e14;this['_handler'][_0xe10307(0x3c8)](this[_0xe10307(0x20e)]);}['_onConflict'](_0x3c6ae3){const _0x3b6525=_0x494e14;return this['_clearScheduledTask'](),this[_0x3b6525(0x5a2)][_0x3b6525(0x397)](Re,this['unitID'],this[_0x3b6525(0x2cd)],this[_0x3b6525(0x20e)],[],this['_handler'],_0x3c6ae3);}[_0x494e14(0x41b)](_0x2002db,_0x1ae34b){const _0x23a4a0=_0x494e14;var _0xa3146c;_0x2002db===((_0xa3146c=this[_0x23a4a0(0x20e)])==null?void 0x0:_0xa3146c[_0x23a4a0(0x4cb)])&&(this[_0x23a4a0(0x35d)](),this[_0x23a4a0(0x2a1)]=_0x1ae34b===0x0?0x3e8:_0x1ae34b*0x2);}[_0x494e14(0x393)](){const _0x516815=_0x494e14;var _0x5e555f;(_0x5e555f=this[_0x516815(0x50a)])==null||_0x5e555f[_0x516815(0x5f6)](),this[_0x516815(0x2a1)]=0x0;}};Te=Le([A(0x4,_0x41b3da(_0x2087b9)),A(0x5,_0x41b3da(_0x1d4656)),A(0x6,_0x41b3da(q)),A(0x7,_0x1c554d),A(0x8,_0x3bb158),A(0x9,_0x1197db),A(0xa,_0x21e225)],Te);let ge=class extends $e{constructor(_0x29acaf,_0x64a752,_0x38be4f,_0x30e166,_0x26c6fc,_0x11e29f,_0x1bee99,_0xa7bbb4,_0x3e6e29,_0x5c5e2a,_0x4dfbdd,_0x5ff4a3,_0x44fd10){const _0x4ad7d0=_0x494e14;super(_0x29acaf,_0x64a752,_0x38be4f,_0x30e166,_0x26c6fc,_0x5c5e2a,_0x44fd10,_0xa7bbb4,_0x3e6e29),g(this,_0x4ad7d0(0x50e),_0x4ad7d0(0x4b7)),g(this,'_resendTimeout',0x0),g(this,_0x4ad7d0(0x2a5)),g(this,_0x4ad7d0(0x50a)),(this[_0x4ad7d0(0x5a2)]=_0x1bee99,this[_0x4ad7d0(0x3c0)]=_0x4dfbdd,this[_0x4ad7d0(0x3c3)]=_0x5ff4a3,_0x11e29f&&(this[_0x4ad7d0(0x2a5)]=_0x11e29f,this['_sender']=this[_0x4ad7d0(0x2a5)][_0x4ad7d0(0x540)](({reqId:_0x4dc2ac,timeout:_0x412c1e})=>{const _0x50e267=_0x4ad7d0;this[_0x50e267(0x41b)](_0x4dc2ac,_0x412c1e);})));}['appendMutation'](_0x257c44){const _0x2bdbef=_0x494e14;return this[_0x2bdbef(0x282)][_0x2bdbef(0x271)](_0x257c44),this;}[_0x494e14(0x324)](_0x2c5ae0){const _0x563ba5=_0x494e14;if(this[_0x563ba5(0x597)](_0x2c5ae0))return this[_0x563ba5(0x393)](),this[_0x563ba5(0x5a2)]['createInstance'](he,this['unitID'],this[_0x563ba5(0x2cd)],this[_0x563ba5(0x20e)],this[_0x563ba5(0x282)],null,[_0x2c5ae0],this[_0x563ba5(0x30c)]);try{const _0x19d1e3=this[_0x563ba5(0x3c3)][_0x563ba5(0x5e8)]([_0x2c5ae0],[this['_awaitingChangeset']],!0x1);if(_0x4151a8(_0x19d1e3)){const {c1Prime:_0x93e102,c2Prime:_0x4d2321}=_0x19d1e3,_0x5c3e4a=this[_0x563ba5(0x3c3)][_0x563ba5(0x464)](_0x93e102[0x0],this['_pendingMutations']);if(_0x46c18d(_0x5c3e4a)){const {c1Prime:_0x2b7436,m2Prime:_0x3751e7}=_0x5c3e4a;return this[_0x563ba5(0x476)](_0x2b7436),_0x4d2321[0x0][_0x563ba5(0x30f)]=this[_0x563ba5(0x398)](),this[_0x563ba5(0x393)](),this[_0x563ba5(0x5a2)][_0x563ba5(0x397)](ge,this[_0x563ba5(0x55b)],this[_0x563ba5(0x2cd)],_0x4d2321[0x0],_0x3751e7,this[_0x563ba5(0x30c)],void 0x0);}throw _0x5c3e4a[_0x563ba5(0x48a)];}throw _0x19d1e3[_0x563ba5(0x48a)];}catch(_0x5f4e3e){return this[_0x563ba5(0x3c0)][_0x563ba5(0x48a)](_0x5f4e3e),this[_0x563ba5(0x2be)](!0x1);}}[_0x494e14(0x309)](_0x56723c){const _0x474f6a=_0x494e14;if(this[_0x474f6a(0x393)](),this[_0x474f6a(0x597)](_0x56723c))return this['_injector'][_0x474f6a(0x397)](he,this[_0x474f6a(0x55b)],this[_0x474f6a(0x2cd)],null,this['_pendingMutations'],this[_0x474f6a(0x20e)],[],this[_0x474f6a(0x30c)]);this[_0x474f6a(0x50f)]();const _0x4c1134=this[_0x474f6a(0x5a2)][_0x474f6a(0x397)](pe,this[_0x474f6a(0x55b)],this[_0x474f6a(0x2cd)],this[_0x474f6a(0x282)],this[_0x474f6a(0x30c)]);return _0x4c1134['_schedule'](),_0x4c1134[_0x474f6a(0x395)](),_0x4c1134;}['onRemoteRej'](_0x45e83d){const _0x20d213=_0x494e14;return this[_0x20d213(0x2be)](!!(_0x45e83d!=null&&_0x45e83d['isPermissionRej']));}[_0x494e14(0x235)](_0x56a986){const _0x303d5a=_0x494e14;return this[_0x303d5a(0x2a1)]>Ni?this[_0x303d5a(0x549)]():(this[_0x303d5a(0x2a5)]=Ui(this[_0x303d5a(0x2a1)],{'timeout':this[_0x303d5a(0x2a1)],'reqId':_0x56a986[_0x303d5a(0x4cb)]}),this[_0x303d5a(0x50a)]=this[_0x303d5a(0x2a5)][_0x303d5a(0x540)](({reqId:_0x3d8f1b,timeout:_0xdd703f})=>{this['_resendWithTimeout'](_0x3d8f1b,_0xdd703f);}),this);}['toggleOffline'](){const _0x40e395=_0x494e14;return this[_0x40e395(0x393)](),this[_0x40e395(0x5a2)][_0x40e395(0x397)](ye,this[_0x40e395(0x55b)],this[_0x40e395(0x2cd)],this[_0x40e395(0x20e)],this['_pendingMutations'],this['_handler']);}[_0x494e14(0x5d0)](){return this;}[_0x494e14(0x35d)](){const _0x3cb3ac=_0x494e14;this['_handler'][_0x3cb3ac(0x3c8)](this[_0x3cb3ac(0x20e)]);}[_0x494e14(0x2be)](_0x5530db){const _0x612e37=_0x494e14;return this[_0x612e37(0x393)](),this[_0x612e37(0x5a2)][_0x612e37(0x397)](Re,this[_0x612e37(0x55b)],this[_0x612e37(0x2cd)],null,this[_0x612e37(0x282)],this[_0x612e37(0x30c)],_0x5530db);}[_0x494e14(0x41b)](_0x45096f,_0x298cd9){const _0x5a5356=_0x494e14;var _0x2aef16;_0x45096f===((_0x2aef16=this[_0x5a5356(0x20e)])==null?void 0x0:_0x2aef16['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x298cd9===0x0?0x3e8:_0x298cd9*0x2);}[_0x494e14(0x393)](){const _0x37d01f=_0x494e14;var _0x4c4837;(_0x4c4837=this['_sender'])==null||_0x4c4837[_0x37d01f(0x5f6)](),this['_resendTimeout']=0x0;}};ge=Le([A(0x6,_0x41b3da(_0x2087b9)),A(0x7,_0x41b3da(_0x1d4656)),A(0x8,_0x41b3da(q)),A(0x9,_0x1c554d),A(0xa,_0x3bb158),A(0xb,_0x1197db),A(0xc,_0x21e225)],ge);let Re=class extends $e{constructor(_0x36dc7e,_0x2fdb85,_0x2f6522,_0x408c18,_0x11a510,_0x1b6c92=!0x1,_0x1d90b3,_0x2efe8a,_0x2d03ac,_0x557469,_0x3d16d9,_0x3e395f,_0x19fdef){const _0x23af35=_0x494e14;super(_0x36dc7e,_0x2fdb85,_0x2f6522,_0x408c18,_0x11a510,_0x2efe8a,_0x2d03ac,_0x3d16d9,_0x557469),g(this,_0x23af35(0x50e),_0x23af35(0x56a)),(this[_0x23af35(0x4e0)]=_0x1b6c92,this[_0x23af35(0x2b7)]=_0x1d90b3,this[_0x23af35(0x5f1)]=_0x3e395f,this[_0x23af35(0x3fd)]=_0x19fdef,this[_0x23af35(0x58c)](),this['_clearLocalCache'](),this[_0x23af35(0x4c3)]());}['appendMutation'](){return this;}[_0x494e14(0x324)](){return this;}[_0x494e14(0x309)](){return this;}[_0x494e14(0x3a4)](){return this;}[_0x494e14(0x235)](){return this;}['toggleOffline'](){return this;}[_0x494e14(0x5d0)](){return this;}[_0x494e14(0x35d)](){const _0x516e8a=_0x494e14;throw new Error(_0x516e8a(0x594));}['_clearLocalCache'](){const _0x378095=_0x494e14;this[_0x378095(0x391)][_0x378095(0x2d4)](this['unitID'],this[_0x378095(0x2cd)],null,[]);}[_0x494e14(0x58c)](){const _0x374b61=_0x494e14;this[_0x374b61(0x4e0)]?this['_notificationService'][_0x374b61(0x56c)]({'title':this[_0x374b61(0x5f1)]['t'](_0x374b61(0x2a0)),'content':this['_localeService']['t'](_0x374b61(0x45f)),'type':_0x374b61(0x48a),'duration':0x0}):this['_notificationService'][_0x374b61(0x56c)]({'title':this[_0x374b61(0x5f1)]['t'](_0x374b61(0x321)),'content':this[_0x374b61(0x5f1)]['t'](_0x374b61(0x32f)),'type':_0x374b61(0x48a),'duration':0x0});}[_0x494e14(0x4c3)](){const _0x4da63e=_0x494e14;this[_0x4da63e(0x2b7)]['updatePermissionPoint'](new _0x4d3cfd(this[_0x4da63e(0x55b)])['id'],!0x1);}};Re=Le([A(0x6,_0x41b3da(_0x298af3)),A(0x7,_0x1c554d),A(0x8,_0x21e225),A(0x9,_0x41b3da(q)),A(0xa,_0x41b3da(_0x1d4656)),A(0xb,_0x41b3da(_0x461b9d)),A(0xc,_0x52089c)],Re);let ye=class extends $e{constructor(_0x5d2d55,_0x17aaac,_0x377514,_0x56af02,_0x22a21e,_0x14b567,_0x28808d,_0x13a79b,_0x5c7008,_0x3eb4bb){const _0x45c99a=_0x494e14;super(_0x5d2d55,_0x17aaac,_0x377514,_0x56af02,_0x22a21e,_0x5c7008,_0x3eb4bb,_0x28808d,_0x13a79b),g(this,_0x45c99a(0x50e),_0x45c99a(0x2ee)),this['_injector']=_0x14b567;}[_0x494e14(0x347)](_0x980dc2){const _0x1f6401=_0x494e14;return this[_0x1f6401(0x282)][_0x1f6401(0x271)](_0x980dc2),this[_0x1f6401(0x395)](),this;}[_0x494e14(0x324)](_0x251f6d){const _0x5523e6=_0x494e14;throw new Error(_0x5523e6(0x2e7));}[_0x494e14(0x309)](){const _0x56c24e=_0x494e14;throw new Error(_0x56c24e(0x23d));}[_0x494e14(0x3a4)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x494e14(0x235)](){return this;}[_0x494e14(0x549)](){return this;}['toggleOnline'](){const _0x2388e4=_0x494e14,{_injector:_0x1be917,_pendingMutations:_0x279084,_awaitingChangeset:_0x107ddc,unitID:_0x1814c2,_handler:_0x572d49,type:_0x31e5bf}=this,_0x4d0d03=Ai(_0x1be917,_0x1814c2,_0x31e5bf,_0x107ddc,_0x279084,_0x572d49);return _0x4d0d03 instanceof pe?_0x4d0d03['_schedule']():(_0x4d0d03 instanceof ge||_0x4d0d03 instanceof Te)&&_0x4d0d03[_0x2388e4(0x35d)](),_0x4d0d03;}[_0x494e14(0x35d)](){const _0x5a04c4=_0x494e14;throw new Error(_0x5a04c4(0x574));}};ye=Le([A(0x5,_0x41b3da(_0x2087b9)),A(0x6,_0x41b3da(_0x1d4656)),A(0x7,_0x41b3da(q)),A(0x8,_0x1c554d),A(0x9,_0x21e225)],ye);let he=class extends $e{constructor(_0x2793d8,_0x1fb7ca,_0x2a589b,_0x57fd45,_0x5da813,_0xd6d34a,_0x1c9111,_0x35bd63,_0x4ad455,_0x34867b,_0x1d521c,_0x5f0132,_0x37fbde,_0x316071){const _0x2e9825=_0x494e14;super(_0x2793d8,_0x1fb7ca,_0x2a589b,_0x57fd45,_0x1c9111,_0x5f0132,_0x37fbde,_0x4ad455,_0x34867b),g(this,_0x2e9825(0x50e),_0x2e9825(0x5a8)),(this[_0x2e9825(0x564)]=_0x5da813,this[_0x2e9825(0x54d)]=_0xd6d34a,this[_0x2e9825(0x5a2)]=_0x35bd63,this[_0x2e9825(0x3c0)]=_0x1d521c,this[_0x2e9825(0x3c3)]=_0x316071);}[_0x494e14(0x4fc)](_0x59c92b){const _0x8ceef8=_0x494e14;try{const _0x1bfc7c=[..._0x59c92b,...this[_0x8ceef8(0x54d)]],_0x310f40=[this[_0x8ceef8(0x20e)]||this[_0x8ceef8(0x564)]][_0x8ceef8(0x494)](_0x14187e=>!!_0x14187e);let _0x55aae7,_0x3cc373;if(_0x310f40[_0x8ceef8(0x490)]){const _0x3611e1=this[_0x8ceef8(0x3c3)]['transformChangesets'](_0x1bfc7c,_0x310f40,!0x1);if(!_0x4151a8(_0x3611e1))throw _0x3611e1[_0x8ceef8(0x48a)];_0x55aae7=_0x3611e1[_0x8ceef8(0x41a)],_0x3cc373=_0x3611e1[_0x8ceef8(0x556)];}else _0x55aae7=_0x1bfc7c,_0x3cc373=[];let _0x59ebc5=this[_0x8ceef8(0x282)];_0x55aae7['forEach'](_0x597512=>{const _0x3191ea=_0x8ceef8;let _0xf843ca;if(_0x59ebc5[_0x3191ea(0x490)]){const _0x189c68=this['_transformService'][_0x3191ea(0x464)](_0x597512,_0x59ebc5);if(!_0x46c18d(_0x189c68))throw _0x189c68[_0x3191ea(0x48a)];_0xf843ca=_0x189c68[_0x3191ea(0x41a)],_0x59ebc5=_0x189c68[_0x3191ea(0x5ca)];}else _0xf843ca=_0x597512;this['_executeRemoteChangeset'](_0xf843ca);}),this[_0x8ceef8(0x564)]&&this[_0x8ceef8(0x50f)](),this[_0x8ceef8(0x20e)]&&_0x3cc373['length']&&(_0x3cc373[0x0][_0x8ceef8(0x30f)]=this[_0x8ceef8(0x398)]());let _0x424e60;if(this[_0x8ceef8(0x20e)]&&_0x59ebc5[_0x8ceef8(0x490)]!==0x0)_0x424e60=this[_0x8ceef8(0x5a2)][_0x8ceef8(0x397)](ge,this[_0x8ceef8(0x55b)],this['type'],_0x3cc373[0x0],_0x59ebc5,this[_0x8ceef8(0x30c)],void 0x0);else{if(this[_0x8ceef8(0x20e)]&&_0x59ebc5[_0x8ceef8(0x490)]===0x0)_0x3cc373[0x0][_0x8ceef8(0x30f)]=this[_0x8ceef8(0x398)](),_0x424e60=this[_0x8ceef8(0x5a2)][_0x8ceef8(0x397)](Te,this[_0x8ceef8(0x55b)],this[_0x8ceef8(0x2cd)],_0x3cc373[0x0],this[_0x8ceef8(0x30c)]);else{if(_0x59ebc5[_0x8ceef8(0x490)]!==0x0){const _0x44dc72=this[_0x8ceef8(0x5a2)][_0x8ceef8(0x397)](pe,this[_0x8ceef8(0x55b)],this[_0x8ceef8(0x2cd)],_0x59ebc5,this['_handler']);_0x44dc72[_0x8ceef8(0x42b)](),_0x424e60=_0x44dc72;}else _0x424e60=this[_0x8ceef8(0x5a2)]['createInstance'](Fe,this[_0x8ceef8(0x55b)],this[_0x8ceef8(0x2cd)],this[_0x8ceef8(0x30c)]);}}return _0x424e60[_0x8ceef8(0x395)](),_0x424e60;}catch(_0x396c7c){return this['_logService'][_0x8ceef8(0x48a)](_0x8ceef8(0x2b4),_0x8ceef8(0x588),_0x396c7c),this[_0x8ceef8(0x5a2)][_0x8ceef8(0x397)](Re,this[_0x8ceef8(0x55b)],this[_0x8ceef8(0x2cd)],this[_0x8ceef8(0x20e)],this['_pendingMutations'],this[_0x8ceef8(0x30c)],!0x1);}}[_0x494e14(0x35d)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x494e14(0x347)](_0x232a38){const _0x531862=_0x494e14;return this[_0x531862(0x282)][_0x531862(0x271)](_0x232a38),this;}[_0x494e14(0x324)](_0x4eb9da){const _0x284646=_0x494e14;return this['_queuedRemoteChangesets'][_0x284646(0x271)](_0x4eb9da),this;}[_0x494e14(0x309)](_0x226537){const _0x407d25=_0x494e14;if(this[_0x407d25(0x20e)])return this[_0x407d25(0x564)]=this['_awaitingChangeset'],this[_0x407d25(0x20e)]=null,this;throw new Error(_0x407d25(0x5de));}[_0x494e14(0x3a4)](_0x32f568){const _0x590cd4=_0x494e14;return this[_0x590cd4(0x2be)](!!(_0x32f568!=null&&_0x32f568[_0x590cd4(0x3a8)]));}[_0x494e14(0x235)](){return this;}[_0x494e14(0x549)](){const _0x63ce87=_0x494e14;return this[_0x63ce87(0x5a2)][_0x63ce87(0x397)](ye,this['unitID'],this[_0x63ce87(0x2cd)],this[_0x63ce87(0x20e)],this[_0x63ce87(0x282)],this[_0x63ce87(0x30c)]);}['toggleOnline'](){return this;}[_0x494e14(0x2be)](_0x31ca27){const _0x1fbc9e=_0x494e14;return this[_0x1fbc9e(0x5a2)][_0x1fbc9e(0x397)](Re,this[_0x1fbc9e(0x55b)],this[_0x1fbc9e(0x2cd)],this[_0x1fbc9e(0x20e)],this[_0x1fbc9e(0x282)],this[_0x1fbc9e(0x30c)],_0x31ca27);}};he=Le([A(0x7,_0x41b3da(_0x2087b9)),A(0x8,_0x41b3da(_0x1d4656)),A(0x9,_0x41b3da(q)),A(0xa,_0x3bb158),A(0xb,_0x1c554d),A(0xc,_0x21e225),A(0xd,_0x1197db)],he);function Ai(_0x3b3ced,_0x1ad00b,_0xbfe7f1,_0x14a2c7,_0x1ee783,_0x3b3734){const _0x39701b=_0x494e14;return _0x14a2c7&&_0x1ee783[_0x39701b(0x490)]?_0x3b3ced[_0x39701b(0x397)](ge,_0x1ad00b,_0xbfe7f1,_0x14a2c7,_0x1ee783,_0x3b3734,void 0x0):_0x14a2c7?_0x3b3ced[_0x39701b(0x397)](Te,_0x1ad00b,_0xbfe7f1,_0x14a2c7,_0x3b3734):_0x1ee783[_0x39701b(0x490)]?_0x3b3ced[_0x39701b(0x397)](pe,_0x1ad00b,_0xbfe7f1,_0x1ee783,_0x3b3734):_0x3b3ced[_0x39701b(0x397)](Fe,_0x1ad00b,_0xbfe7f1,_0x3b3734);}var mo=Object[_0x494e14(0x421)],po=Object[_0x494e14(0x2a4)],Es=(_0x2c71be,_0x3b4bbb,_0x2c1a39,_0x50c599)=>{const _0x7d8208=_0x494e14;for(var _0x1738c5=_0x50c599>0x1?void 0x0:_0x50c599?po(_0x3b4bbb,_0x2c1a39):_0x3b4bbb,_0x1857a0=_0x2c71be[_0x7d8208(0x490)]-0x1,_0xebde7f;_0x1857a0>=0x0;_0x1857a0--)(_0xebde7f=_0x2c71be[_0x1857a0])&&(_0x1738c5=(_0x50c599?_0xebde7f(_0x3b4bbb,_0x2c1a39,_0x1738c5):_0xebde7f(_0x1738c5))||_0x1738c5);return _0x50c599&&_0x1738c5&&mo(_0x3b4bbb,_0x2c1a39,_0x1738c5),_0x1738c5;},H=(_0x353bd5,_0x4e666b)=>(_0x2bb66e,_0x1a0207)=>_0x4e666b(_0x2bb66e,_0x1a0207,_0x353bd5);let St=class extends _0x542deb{constructor(_0x303f17,_0x158a16,_0x47c3a7,_0x1f3f92,_0x2ae84c,_0x52dfbf,_0x3cf673,_0x28511d,_0x50240f,_0x1d2dfb,_0x5a69e9,_0x10d9d0,_0x50a00b){const _0x555ed7=_0x494e14;super(),g(this,'_state$',new _0x9b8747(null)),g(this,_0x555ed7(0x4bf),this[_0x555ed7(0x4c1)][_0x555ed7(0x372)]()),g(this,'_state'),g(this,'_collaborationPaused',!0x1),g(this,_0x555ed7(0x56e),''),g(this,_0x555ed7(0x3ba),0x0),g(this,'status$',this[_0x555ed7(0x4bf)][_0x555ed7(0x3eb)](_0x2db811(_0x979ac4=>_0x979ac4?_0x979ac4[_0x555ed7(0x50e)]:J[_0x555ed7(0x387)]),_0x272c53(0x1))),g(this,_0x555ed7(0x456),!0x1),g(this,_0x555ed7(0x211),[]),(this[_0x555ed7(0x55b)]=_0x303f17,this[_0x555ed7(0x3a1)]=_0x158a16,this[_0x555ed7(0x256)]=_0x47c3a7,this[_0x555ed7(0x5a2)]=_0x1f3f92,this['_localCacheService']=_0x2ae84c,this[_0x555ed7(0x56f)]=_0x52dfbf,this[_0x555ed7(0x5f1)]=_0x3cf673,this[_0x555ed7(0x3b8)]=_0x28511d,this[_0x555ed7(0x3c0)]=_0x50240f,this[_0x555ed7(0x5ef)]=_0x1d2dfb,this[_0x555ed7(0x46a)]=_0x5a69e9,this[_0x555ed7(0x2b7)]=_0x10d9d0,this['_singleActiveUnitService']=_0x50a00b);}get['state'](){const _0x294736=_0x494e14;return this[_0x294736(0x5cf)];}async[_0x494e14(0x33f)](){const _0xb64b23=_0x494e14;if(this[_0xb64b23(0x2e9)])throw new Error(_0xb64b23(0x269));await this[_0xb64b23(0x599)]();}['pauseCollaboration'](){const _0x20c36e=_0x494e14;return this[_0x20c36e(0x1ef)]=!0x0,_0xf5e7f5(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x494e14(0x4ac)](_0x2cdc48){const _0x203d49=_0x494e14;this[_0x203d49(0x5cf)]=_0x2cdc48,this[_0x203d49(0x4c1)][_0x203d49(0x2d0)](_0x2cdc48);}async[_0x494e14(0x599)](){const _0x1d5dea=_0x494e14;var _0x54241f;this[_0x1d5dea(0x4ac)](await this[_0x1d5dea(0x532)]()),this[_0x1d5dea(0x360)]&&((_0x54241f=this['_singleActiveUnitService'])==null||_0x54241f['editingUnit'](this[_0x1d5dea(0x55b)]),this['disposeWithMe'](this[_0x1d5dea(0x360)][_0x1d5dea(0x218)](this[_0x1d5dea(0x55b)])['subscribe'](_0x52f294=>{const _0x4b3edf=_0x1d5dea;this[_0x4b3edf(0x3c0)][_0x4b3edf(0x359)](_0x4b3edf(0x40a),_0x4b3edf(0x297),_0x52f294),_0x52f294===Di[_0x4b3edf(0x274)]?(this[_0x4b3edf(0x46a)][_0x4b3edf(0x56c)]({'content':this['_localeService']['t'](_0x4b3edf(0x55f)),'type':_0x31fabe[_0x4b3edf(0x39b)]}),this['_permissionService']['updatePermissionPoint'](new _0x4d3cfd(this[_0x4b3edf(0x55b)])['id'],!0x1),this[_0x4b3edf(0x2b7)][_0x4b3edf(0x37a)](!0x1)):(this[_0x4b3edf(0x2b7)]['updatePermissionPoint'](new _0x4d3cfd(this[_0x4b3edf(0x55b)])['id'],!0x0),this[_0x4b3edf(0x2b7)][_0x4b3edf(0x37a)](!0x0));})));let _0x141931=!0x1;return this['disposeWithMe'](this[_0x1d5dea(0x3a1)][_0x1d5dea(0x2ba)][_0x1d5dea(0x540)](_0x1452ca=>{const _0x1befd=_0x1d5dea;_0x1452ca===ve[_0x1befd(0x480)]?this['_toggleOnline'](_0x141931):_0x1452ca===ve[_0x1befd(0x387)]&&(_0x141931=!0x0,this[_0x1befd(0x29a)]());})),this['disposeWithMe'](this[_0x1d5dea(0x3a1)][_0x1d5dea(0x368)][_0x1d5dea(0x540)](_0x465ca4=>{const _0x436806=_0x1d5dea;try{switch(_0x465ca4[_0x436806(0x1f1)]){case _0x3c9498[_0x436806(0x4c7)]:{this[_0x436806(0x4b9)](_0x5aaef3(_0x465ca4[_0x436806(0x41c)]));break;}case _0x3c9498['CHANGESET_ACK']:{this[_0x436806(0x448)](_0x465ca4[_0x436806(0x41c)]);break;}case _0x3c9498['CHANGESET_REJ']:{this[_0x436806(0x552)]();break;}case _0x3c9498[_0x436806(0x57b)]:{this[_0x436806(0x2d1)](_0x465ca4[_0x436806(0x41c)]);break;}case _0x3c9498[_0x436806(0x29f)]:{this[_0x436806(0x39f)](_0x465ca4['data'][_0x436806(0x29e)][_0x436806(0x5ed)](_0x285982=>_0x5aaef3(_0x285982)));break;}case _0x3c9498['PERMISSION_REJ']:this[_0x436806(0x552)]({'isPermissionRej':!0x0});}}catch(_0x25e47d){throw console[_0x436806(0x48a)](_0x436806(0x48f),_0x25e47d),_0x25e47d;}})),this[_0x1d5dea(0x5cf)];}['_unlockTransition'](){const _0x1805ee=_0x494e14;this[_0x1805ee(0x456)]=!0x1;}[_0x494e14(0x399)](){const _0x558c1f=_0x494e14;if(this[_0x558c1f(0x456)])throw new Error(_0x558c1f(0x30a));this[_0x558c1f(0x456)]=!0x0;}[_0x494e14(0x23a)](_0x2531e1){const _0xf40923=_0x494e14;this[_0xf40923(0x399)](),this[_0xf40923(0x4ac)](this[_0xf40923(0x5cf)][_0xf40923(0x347)](_0x2531e1)),this[_0xf40923(0x257)]();}['_onRemoteChangeset'](_0x2a0f40){const _0x21f89b=_0x494e14;if(!(_0x2a0f40['revision']<=this[_0x21f89b(0x3b8)]['getCurrentRevOfUnit'](this[_0x21f89b(0x55b)]))){if(this[_0x21f89b(0x1ef)]){this[_0x21f89b(0x211)][_0x21f89b(0x271)](_0x2a0f40);return;}this[_0x21f89b(0x32c)](_0x2a0f40);}}[_0x494e14(0x3f4)](){const _0x4baa35=_0x494e14;this['_remoteChangesetQueue'][_0x4baa35(0x58b)](_0x39facc=>this[_0x4baa35(0x32c)](_0x39facc)),this[_0x4baa35(0x211)]=[];}[_0x494e14(0x32c)](_0x2eba6f){const _0x89d6ae=_0x494e14,_0x2cfac0=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x89d6ae(0x56f)][_0x89d6ae(0x5b6)][_0x89d6ae(0x479)]()[_0x89d6ae(0x2ab)])(_0x2eba6f[_0x89d6ae(0x592)],null)||_0x2eba6f[_0x89d6ae(0x592)],_0x48d798={..._0x2eba6f,'mutations':_0x2cfac0};this[_0x89d6ae(0x399)](),this['_updateState'](this[_0x89d6ae(0x5cf)][_0x89d6ae(0x324)](_0x48d798)),this[_0x89d6ae(0x257)]();}[_0x494e14(0x448)](_0x396a12){const _0x136a5f=_0x494e14;this[_0x136a5f(0x399)](),this['_updateState'](this[_0x136a5f(0x5cf)][_0x136a5f(0x309)](_0x396a12)),this[_0x136a5f(0x257)]();}[_0x494e14(0x552)](_0x5db597){const _0x1993f0=_0x494e14;this[_0x1993f0(0x399)](),this[_0x1993f0(0x4ac)](this[_0x1993f0(0x5cf)][_0x1993f0(0x3a4)](_0x5db597)),this[_0x1993f0(0x257)]();}[_0x494e14(0x2d1)](_0x260937){const _0x24749e=_0x494e14;this[_0x24749e(0x399)](),this['_updateState'](this[_0x24749e(0x5cf)][_0x24749e(0x235)](_0x260937)),this['_unlockTransition']();}[_0x494e14(0x39f)](_0x4331f8){const _0x20bf85=_0x494e14;if(!(this[_0x20bf85(0x5cf)]instanceof he))throw new TypeError(_0x20bf85(0x5c8));const _0x5b3210=_0x4331f8[_0x20bf85(0x5ed)](_0xb1799a=>{const _0x17e97a=_0x20bf85,_0x24ae95=this[_0x17e97a(0x56f)][_0x17e97a(0x5b6)]['fetchThroughInterceptors'](this[_0x17e97a(0x56f)][_0x17e97a(0x5b6)]['getInterceptPoints']()[_0x17e97a(0x2ab)])(_0xb1799a[_0x17e97a(0x592)],null)||_0xb1799a[_0x17e97a(0x592)];return{..._0xb1799a,'mutations':_0x24ae95};});this['_lockTransition'](),this['_updateState'](this[_0x20bf85(0x5cf)]['onMissedChangesetFetched'](_0x5b3210)),this['_unlockTransition']();}[_0x494e14(0x29a)](){const _0x21fd3f=_0x494e14;this[_0x21fd3f(0x399)](),this[_0x21fd3f(0x4ac)](this[_0x21fd3f(0x5cf)][_0x21fd3f(0x549)]()),this[_0x21fd3f(0x257)]();}['_toggleOnline'](_0x365437=!0x1){const _0x2c1589=_0x494e14;this[_0x2c1589(0x399)](),this['_updateState'](this[_0x2c1589(0x5cf)][_0x2c1589(0x5d0)]()),this['_unlockTransition']();const _0x350f8c=this['_state'];_0x365437&&_0x350f8c instanceof Fe&&(this[_0x2c1589(0x399)](),this[_0x2c1589(0x4ac)](_0x350f8c[_0x2c1589(0x34d)]()),this[_0x2c1589(0x257)]());}async[_0x494e14(0x532)](){return new Promise(_0x39f18c=>{const _0x39d52b=_0x5d20;this[_0x39d52b(0x3a1)][_0x39d52b(0x2ba)][_0x39d52b(0x3eb)](_0x1dfd23(0x1))[_0x39d52b(0x540)](async _0x96f523=>{const _0x2c71a3=_0x39d52b;_0x39f18c(await this[_0x2c71a3(0x4e9)](_0x96f523===ve[_0x2c71a3(0x480)]));});});}[_0x494e14(0x5b3)](){const _0x5acf2a=_0x494e14,_0x1456d4=this[_0x5acf2a(0x55b)];return{'onStateChange':(_0x16686d,_0x444b35)=>{const _0xe3a4e=_0x5acf2a;if(_0x16686d!==this['_state'])throw new Error(_0xe3a4e(0x242)+_0x16686d['status']+_0xe3a4e(0x423)+_0x444b35[_0xe3a4e(0x50e)]+_0xe3a4e(0x5b8)+this[_0xe3a4e(0x5cf)][_0xe3a4e(0x50e)]);this[_0xe3a4e(0x4ac)](_0x444b35);},'onSendChangeset':_0x2e1cb7=>{const _0x5618ea=_0x5acf2a;_0x2e1cb7[_0x5618ea(0x3ac)]||(_0x2e1cb7[_0x5618ea(0x3ac)]=this[_0x5618ea(0x56e)],_0x2e1cb7[_0x5618ea(0x4cb)]=++this[_0x5618ea(0x3ba)]);const _0x372773={'eventID':_0x3c9498[_0x5618ea(0x358)],'data':{'unitID':_0x2e1cb7['unitID'],'unitType':this['_type'],'changeset':_0x2e1cb7,'memberID':this[_0x5618ea(0x3a1)]['getMemberID']()}};this[_0x5618ea(0x3a1)][_0x5618ea(0x39c)](_0x372773,this['unitID']);},'onMissingChangesets':({from:_0x3e5c2e,to:_0x53ea8a})=>{const _0x554513=_0x5acf2a;this[_0x554513(0x3c0)][_0x554513(0x359)]('[CollaborationEntity]',_0x554513(0x4a8)+_0x3e5c2e+_0x554513(0x58f)+_0x53ea8a);const _0x4b5995={'eventID':_0x3c9498[_0x554513(0x33d)],'data':{'unitID':_0x1456d4,'unitType':this[_0x554513(0x256)],'from':_0x3e5c2e,'to':_0x53ea8a}};this['session']['send'](_0x4b5995,this[_0x554513(0x55b)]);}};}async[_0x494e14(0x4e9)](_0x7267a0){const _0x7bf0d8=_0x494e14;var _0x36f4e7,_0x386d31;const _0x28d881=await this[_0x7bf0d8(0x391)][_0x7bf0d8(0x267)](this['unitID']),_0x5780fc=(_0x36f4e7=_0x28d881==null?void 0x0:_0x28d881[_0x7bf0d8(0x592)])!=null?_0x36f4e7:[],_0x4a701d=(_0x386d31=_0x28d881==null?void 0x0:_0x28d881['awaitingChangeset'])!=null?_0x386d31:null,_0x5661db=!!(_0x4a701d!=null&&_0x4a701d[_0x7bf0d8(0x3ac)])&&!!(_0x4a701d!=null&&_0x4a701d[_0x7bf0d8(0x4cb)]);this[_0x7bf0d8(0x56e)]=_0x5661db?_0x4a701d[_0x7bf0d8(0x3ac)]:Gr(),this[_0x7bf0d8(0x3ba)]=_0x5661db?_0x4a701d[_0x7bf0d8(0x4cb)]:0x0;const _0x345a92=this[_0x7bf0d8(0x55b)];try{this[_0x7bf0d8(0x231)](_0x4a701d,_0x5780fc);}catch(_0x42fdf3){this[_0x7bf0d8(0x3c0)][_0x7bf0d8(0x48a)](_0x42fdf3);}const _0x342674=this[_0x7bf0d8(0x5b3)]();if(_0x7267a0){const _0x4cb105=Ai(this[_0x7bf0d8(0x5a2)],_0x345a92,this[_0x7bf0d8(0x256)],_0x4a701d,_0x5780fc,_0x342674);return _0x4cb105 instanceof pe?_0x4cb105['_schedule']():(_0x4cb105 instanceof ge||_0x4cb105 instanceof Te)&&_0x4cb105[_0x7bf0d8(0x35d)](),_0x4cb105;}return this[_0x7bf0d8(0x5a2)]['createInstance'](ye,_0x345a92,this[_0x7bf0d8(0x256)],_0x4a701d,_0x5780fc,_0x342674);}[_0x494e14(0x231)](_0x25631e,_0xf62b7e){const _0x58e950=_0x494e14;var _0x167aa0,_0x5ad154;const _0x1cb7d0=this[_0x58e950(0x56f)][_0x58e950(0x5b6)][_0x58e950(0x222)](this[_0x58e950(0x56f)][_0x58e950(0x5b6)][_0x58e950(0x479)]()[_0x58e950(0x2ab)]);(_0x167aa0=_0x1cb7d0((_0x25631e==null?void 0x0:_0x25631e[_0x58e950(0x592)])||[],null))==null||_0x167aa0[_0x58e950(0x58b)](_0x1eac57=>this[_0x58e950(0x5ef)][_0x58e950(0x3ca)](_0x1eac57['id'],_0x1eac57[_0x58e950(0x3a2)])),(_0x5ad154=_0x1cb7d0(_0xf62b7e||[],null))==null||_0x5ad154[_0x58e950(0x58b)](_0x4f9048=>this['_commandService']['executeCommand'](_0x4f9048['id'],_0x4f9048['params']));}};St=Es([H(0x3,_0x41b3da(_0x2087b9)),H(0x4,_0x41b3da(q)),H(0x5,_0x41b3da(_0x3c8c9b)),H(0x6,_0x41b3da(_0x461b9d)),H(0x7,_0x41b3da(_0x1d4656)),H(0x8,_0x3bb158),H(0x9,_0x1c554d),H(0xa,_0x54b964),H(0xb,_0x298af3),H(0xc,_0x38b4fe(yt))],St);let ss=class extends St{constructor(_0x1037fb,_0x104ec0,_0x233f16,_0x4d771e,_0x2d818f,_0x1da5a8,_0x56e4f5,_0x48f03e,_0x192ada,_0x58359a,_0x39b4e8,_0x12c7f4,_0x1f53e2,_0xe5f107,_0x291299,_0xc83342,_0x459edb,_0x563d7d){const _0x47fd82=_0x494e14;super(_0x1037fb,_0x233f16,_0x104ec0,_0x4d771e,_0x2d818f,_0x1da5a8,_0x56e4f5,_0x48f03e,_0xe5f107,_0x291299,_0xc83342,_0x459edb,_0x563d7d),this[_0x47fd82(0x55b)]=_0x1037fb,this[_0x47fd82(0x2cd)]=_0x104ec0,this[_0x47fd82(0x4c9)]=_0x192ada,this['_docTransformIMECacheService']=_0x58359a,this[_0x47fd82(0x206)]=_0x39b4e8,this[_0x47fd82(0x591)]=_0x12c7f4,this[_0x47fd82(0x563)]=_0x1f53e2;}[_0x494e14(0x5b3)](){const _0x53864d=_0x494e14,_0x1ed74f=super['_createHandler']();return _0x1ed74f['onTransformIME']=_0x2c58a0=>this['_docTransformIMECacheService'][_0x53864d(0x2bd)](_0x2c58a0),_0x1ed74f[_0x53864d(0x265)]=_0x2eb1c4=>this[_0x53864d(0x206)]['transformStateCache'](_0x2eb1c4),_0x1ed74f[_0x53864d(0x23f)]=_0x3f0252=>this[_0x53864d(0x591)][_0x53864d(0x5c3)](_0x3f0252),_0x1ed74f[_0x53864d(0x248)]=_0x49dde0=>this['_docSyncEditingCollabCursorService'][_0x53864d(0x2c2)](_0x49dde0),_0x1ed74f[_0x53864d(0x25a)]=_0x3df1b7=>this['_docTransformIMECacheService'][_0x53864d(0x275)](_0x3df1b7),_0x1ed74f[_0x53864d(0x5a3)]=_0x23428e=>this[_0x53864d(0x206)]['transformRemoteChangeset'](_0x23428e),_0x1ed74f;}async[_0x494e14(0x599)](){const _0x3d35c1=_0x494e14,_0x51312e=await super[_0x3d35c1(0x599)]();return this[_0x3d35c1(0x4c9)][_0x3d35c1(0x40f)][_0x3d35c1(0x3eb)](_0x3ee31c(this[_0x3d35c1(0x3f5)]))['subscribe'](_0xcb143b=>{const _0x29184c=_0x3d35c1;if(_0xcb143b==null)return;const {unitId:_0x16e61e,redoState:_0x18d870,commandId:_0x164e23}=_0xcb143b;if(_0x16e61e!==this[_0x29184c(0x55b)])return;const _0x4ca0f3={'id':_0x164e23,'type':_0x51c5e3['MUTATION'],'params':{'unitId':_0x16e61e,'actions':_0x18d870[_0x29184c(0x336)],'textRanges':null}};this[_0x29184c(0x23a)](_0x4ca0f3);}),_0x51312e;}};ss=Es([H(0x3,_0x41b3da(_0x2087b9)),H(0x4,_0x41b3da(q)),H(0x5,_0x41b3da(_0x3c8c9b)),H(0x6,_0x41b3da(_0x461b9d)),H(0x7,_0x41b3da(_0x1d4656)),H(0x8,_0x41b3da(_0x5c2099)),H(0x9,_0x41b3da(vt)),H(0xa,_0x41b3da(pt)),H(0xb,_0x41b3da(gt)),H(0xc,_0x41b3da(Cs)),H(0xd,_0x3bb158),H(0xe,_0x1c554d),H(0xf,_0x54b964),H(0x10,_0x298af3),H(0x11,_0x38b4fe(yt))],ss);let is=class extends St{constructor(_0x35cd7a,_0xce9e8c,_0x2ca91e,_0x3f0be2,_0x19117a,_0x2867f8,_0x540334,_0x3fb126,_0x19dd39,_0xa58264,_0xe821c1,_0x14c90b,_0x2e86da,_0x553d0f){super(_0x35cd7a,_0x2ca91e,_0xce9e8c,_0x3f0be2,_0x19117a,_0x2867f8,_0x540334,_0x3fb126,_0xa58264,_0xe821c1,_0x14c90b,_0x2e86da,_0x553d0f),this['unitID']=_0x35cd7a,this['type']=_0xce9e8c,this['_sheetTransformSelectionsService']=_0x19dd39;}[_0x494e14(0x5b3)](){const _0x51228b=_0x494e14,_0x157848=super[_0x51228b(0x5b3)]();return _0x157848[_0x51228b(0x23f)]=_0x5bb72c=>this[_0x51228b(0x3e1)][_0x51228b(0x5c3)](_0x5bb72c),_0x157848;}async[_0x494e14(0x599)](){const _0x28a6ad=_0x494e14,_0x4db0bc=await super[_0x28a6ad(0x599)]();return this[_0x28a6ad(0x461)](this[_0x28a6ad(0x5ef)][_0x28a6ad(0x527)]((_0x539ac3,_0x4a10e6)=>{const _0x540ec4=_0x28a6ad;if(_0x539ac3[_0x540ec4(0x2cd)]!==_0x51c5e3[_0x540ec4(0x314)]||_0x4a10e6!=null&&_0x4a10e6[_0x540ec4(0x2b8)]||_0x4a10e6!=null&&_0x4a10e6[_0x540ec4(0x3d9)])return;const _0x43c903=_0x539ac3[_0x540ec4(0x3a2)];if((_0x43c903==null?void 0x0:_0x43c903[_0x540ec4(0x3ff)])!==this[_0x540ec4(0x55b)])return;const _0x5b0721=_0x539ac3,_0x1f1a62=this[_0x540ec4(0x56f)][_0x540ec4(0x5b6)][_0x540ec4(0x222)](this[_0x540ec4(0x56f)][_0x540ec4(0x5b6)][_0x540ec4(0x479)]()[_0x540ec4(0x5c6)])([_0x5b0721],null)||[_0x5b0721];this[_0x540ec4(0x23a)](_0x1f1a62[0x0]);})),_0x4db0bc;}};is=Es([H(0x3,_0x41b3da(_0x2087b9)),H(0x4,_0x41b3da(q)),H(0x5,_0x41b3da(_0x3c8c9b)),H(0x6,_0x41b3da(_0x461b9d)),H(0x7,_0x41b3da(_0x1d4656)),H(0x8,_0x41b3da(mt)),H(0x9,_0x3bb158),H(0xa,_0x1c554d),H(0xb,_0x54b964),H(0xc,_0x298af3),H(0xd,_0x38b4fe(yt))],is);var go=Object['defineProperty'],So=Object[_0x494e14(0x2a4)],Io=(_0x1a05ba,_0x704538,_0x2bcd24,_0xf6698e)=>{const _0x2a6017=_0x494e14;for(var _0x2f6265=_0xf6698e>0x1?void 0x0:_0xf6698e?So(_0x704538,_0x2bcd24):_0x704538,_0x44b0cf=_0x1a05ba[_0x2a6017(0x490)]-0x1,_0x3e8816;_0x44b0cf>=0x0;_0x44b0cf--)(_0x3e8816=_0x1a05ba[_0x44b0cf])&&(_0x2f6265=(_0xf6698e?_0x3e8816(_0x704538,_0x2bcd24,_0x2f6265):_0x3e8816(_0x2f6265))||_0x2f6265);return _0xf6698e&&_0x2f6265&&go(_0x704538,_0x2bcd24,_0x2f6265),_0x2f6265;},Lt=(_0x21b792,_0x408f67)=>(_0x166042,_0x1997d1)=>_0x408f67(_0x166042,_0x1997d1,_0x21b792);let it=class extends _0x542deb{constructor(_0x5a7563,_0x4c7f91,_0x287852){const _0x587e42=_0x494e14;super(),g(this,_0x587e42(0x5a0),new Map()),g(this,_0x587e42(0x4d8),new _0x243cfe()),(this['_injector']=_0x5a7563,this[_0x587e42(0x2e3)]=_0x4c7f91,this['_univerInstanceService']=_0x287852,this['_init']());}['dispose'](){const _0x33cc21=_0x494e14;super[_0x33cc21(0x301)](),this[_0x33cc21(0x5a0)]['forEach'](_0x932e94=>_0x932e94['dispose']()),this['_entities'][_0x33cc21(0x5cb)]();}[_0x494e14(0x5a7)](_0x208cf4){const _0x3eb12d=_0x494e14;var _0x34cf6c;return(_0x34cf6c=this[_0x3eb12d(0x5a0)][_0x3eb12d(0x38a)](_0x208cf4))!=null?_0x34cf6c:null;}[_0x494e14(0x307)](_0x594786){const _0x49149c=_0x494e14,_0x144f99=this[_0x49149c(0x5a7)](_0x594786);return _0x144f99?_0x29feb9(_0x144f99):this[_0x49149c(0x4d8)]['pipe'](_0x4dbfb7(_0x435c93=>_0x435c93[_0x49149c(0x55b)]===_0x594786));}[_0x494e14(0x599)](){const _0x38731d=_0x494e14;this[_0x38731d(0x5ee)][_0x38731d(0x229)](_0x50e7dc[_0x38731d(0x5dc)])[_0x38731d(0x3eb)](_0x3ee31c(this['dispose$']),_0xd7603f(0x10))[_0x38731d(0x540)](async _0x3729b1=>{const _0x3bbd29=_0x38731d,_0x171232=_0x3729b1['getUnitId'](),_0x4644fe=await this[_0x3bbd29(0x528)](_0x171232,ce[_0x3bbd29(0x5dc)]);this[_0x3bbd29(0x5a0)]['set'](_0x171232,_0x4644fe);}),this['_univerInstanceService'][_0x38731d(0x229)](_0x50e7dc[_0x38731d(0x36f)])['pipe'](_0x3ee31c(this['dispose$']),_0xd7603f(0x10))[_0x38731d(0x3eb)](_0x4dbfb7(_0x269e18=>!_0x269e18[_0x38731d(0x467)]()['startsWith']('__')))['subscribe'](async _0x124c3a=>{const _0x412109=_0x38731d,_0x3deec7=_0x124c3a[_0x412109(0x467)](),_0x9a898c=await this[_0x412109(0x528)](_0x3deec7,ce[_0x412109(0x36f)]);this[_0x412109(0x5a0)][_0x412109(0x207)](_0x3deec7,_0x9a898c);}),_0x5326b0(this[_0x38731d(0x5ee)][_0x38731d(0x357)](_0x50e7dc[_0x38731d(0x5dc)]),this['_univerInstanceService'][_0x38731d(0x357)](_0x50e7dc[_0x38731d(0x36f)]))['pipe'](_0x3ee31c(this[_0x38731d(0x3f5)]))[_0x38731d(0x540)](_0x3b16e4=>{const _0x3065f8=_0x38731d,_0x302e62=_0x3b16e4['getUnitId'](),_0x4b7dba=this[_0x3065f8(0x5a0)][_0x3065f8(0x38a)](_0x302e62);_0x4b7dba&&(_0x4b7dba[_0x3065f8(0x301)](),this[_0x3065f8(0x5a0)][_0x3065f8(0x534)](_0x302e62));});}async[_0x494e14(0x528)](_0x22b914,_0x433d59){const _0x63f66e=_0x494e14,_0x24c582=await this['_collabSessionService'][_0x63f66e(0x337)](_0x22b914),_0x5b6406=this[_0x63f66e(0x5a2)][_0x63f66e(0x397)](this['_getCtorByUniverType'](_0x433d59),_0x22b914,_0x433d59,_0x24c582);return await _0x5b6406[_0x63f66e(0x33f)](),this[_0x63f66e(0x4d8)]['next'](_0x5b6406),_0x5b6406;}['_getCtorByUniverType'](_0x4ddf8e){const _0x3a0d3b=_0x494e14;switch(_0x4ddf8e){case ce[_0x3a0d3b(0x36f)]:return ss;case ce[_0x3a0d3b(0x5dc)]:return is;default:throw new Error(_0x3a0d3b(0x523)+_0x4ddf8e);}}};it=Io([Lt(0x0,_0x41b3da(_0x2087b9)),Lt(0x1,_0x41b3da(Ae)),Lt(0x2,_0x15b9fa)],it);const Gs=[_0x494e14(0x245),_0x494e14(0x3d0),_0x494e14(0x4f5),'red300',_0x494e14(0x49d),_0x494e14(0x47f)];class bs extends _0x326223{constructor(){const _0x485671=_0x494e14;super(...arguments),g(this,_0x485671(0x369),new Map()),g(this,'_colorIndex',0x0);}[_0x494e14(0x57d)](_0xf37ee8){const _0x3f5afc=_0x494e14;if(this['_assignedColors'][_0x3f5afc(0x481)](_0xf37ee8))return this[_0x3f5afc(0x369)][_0x3f5afc(0x38a)](_0xf37ee8);const _0x4ea49f=Gs[this[_0x3f5afc(0x44f)]];return this[_0x3f5afc(0x44f)]=(this[_0x3f5afc(0x44f)]+0x1)%Gs[_0x3f5afc(0x490)],this['_assignedColors']['set'](_0xf37ee8,_0x4ea49f),_0x4ea49f;}}var Co=Object['defineProperty'],Eo=Object[_0x494e14(0x2a4)],bo=(_0x611428,_0x338a6b,_0xac969a,_0x2e6db1)=>{const _0x372c39=_0x494e14;for(var _0x2ef767=_0x2e6db1>0x1?void 0x0:_0x2e6db1?Eo(_0x338a6b,_0xac969a):_0x338a6b,_0x3e86a7=_0x611428[_0x372c39(0x490)]-0x1,_0x396023;_0x3e86a7>=0x0;_0x3e86a7--)(_0x396023=_0x611428[_0x3e86a7])&&(_0x2ef767=(_0x2e6db1?_0x396023(_0x338a6b,_0xac969a,_0x2ef767):_0x396023(_0x2ef767))||_0x2ef767);return _0x2e6db1&&_0x2ef767&&Co(_0x338a6b,_0xac969a,_0x2ef767),_0x2ef767;},Oe=(_0x378cab,_0x14bcac)=>(_0x5a127f,_0xa6182d)=>_0x14bcac(_0x5a127f,_0xa6182d,_0x378cab);const To=0x12c,Ro=0x64;let ns=class extends _0x542deb{constructor(_0x13f92a,_0x44a1f1,_0x47272c,_0x113fdb,_0x40e7fa,_0x5a051f,_0x344e79,_0x5c8f3c,_0x685e97){const _0x972099=_0x494e14;super(),g(this,'_online',!0x1),g(this,_0x972099(0x599),!0x1),g(this,_0x972099(0x59b),new _0x9b8747(new Map())),g(this,_0x972099(0x2f4),this['_cursorInfo$'][_0x972099(0x372)]()),g(this,_0x972099(0x5f5),new _0x9b8747([])),g(this,'roomMembers$',this[_0x972099(0x5f5)][_0x972099(0x3eb)](_0x4a986e(To))),g(this,_0x972099(0x443),_0x4360ad(_0x5d6eff=>{const _0x216deb=_0x972099,_0x34c833={'eventID':_0x3c9498[_0x216deb(0x5c2)],'data':{'unitID':this[_0x216deb(0x55b)],'memberID':this[_0x216deb(0x4b5)][_0x216deb(0x4ee)](),'selection':Pi(_0x5d6eff)}};this[_0x216deb(0x4b5)][_0x216deb(0x39c)](_0x34c833,this[_0x216deb(0x55b)]);},Ro)),(this[_0x972099(0x55b)]=_0x13f92a,this['_session']=_0x44a1f1,this[_0x972099(0x5a2)]=_0x47272c,this[_0x972099(0x52d)]=_0x113fdb,this[_0x972099(0x422)]=_0x40e7fa,this[_0x972099(0x522)]=_0x5a051f,this[_0x972099(0x3c3)]=_0x344e79,this[_0x972099(0x5ee)]=_0x5c8f3c,this[_0x972099(0x5ef)]=_0x685e97);}get['cursorInfo'](){const _0x5e7bf5=_0x494e14;return this[_0x5e7bf5(0x59b)][_0x5e7bf5(0x49a)]();}get[_0x494e14(0x42a)](){const _0x44ad2a=_0x494e14;return this[_0x44ad2a(0x5f5)][_0x44ad2a(0x49a)]();}[_0x494e14(0x301)](){const _0x1a47b7=_0x494e14;super['dispose'](),this['_cursorInfo$'][_0x1a47b7(0x2d0)](new Map()),this[_0x1a47b7(0x59b)][_0x1a47b7(0x5bc)](),this[_0x1a47b7(0x5f5)][_0x1a47b7(0x2d0)]([]),this['_roomMembers$']['complete']();}[_0x494e14(0x33f)](){const _0x1d07ac=_0x494e14;this['_init']||(this[_0x1d07ac(0x599)]=!0x0,this['_session']['sessionStatus$']['pipe'](_0x3ee31c(this['dispose$']))[_0x1d07ac(0x540)](_0x2b1f8d=>{const _0x5f1bb6=_0x1d07ac;_0x2b1f8d===ve[_0x5f1bb6(0x480)]?this[_0x5f1bb6(0x1f9)]():this[_0x5f1bb6(0x29a)]();}),this['_session'][_0x1d07ac(0x368)][_0x1d07ac(0x3eb)](_0x3ee31c(this[_0x1d07ac(0x3f5)]))[_0x1d07ac(0x540)](_0x356b47=>{const _0x58bddd=_0x1d07ac,_0x3ec0a4=_0x356b47[_0x58bddd(0x1f1)];_0x3ec0a4===_0x3c9498[_0x58bddd(0x5c2)]&&this[_0x58bddd(0x3dd)](_0x356b47),_0x3ec0a4===_0x3c9498[_0x58bddd(0x208)]&&this[_0x58bddd(0x373)](_0x356b47);}),this['disposeWithMe'](this['_commandService'][_0x1d07ac(0x527)](_0x4ab287=>{const _0x4fedce=_0x1d07ac,_0x4d3e73=_0x4ab287['params'];_0x4d3e73!=null&&this[_0x4fedce(0x3af)]&&_0x4ab287['id']===_0x49101c['id']&&_0x4d3e73[_0x4fedce(0x3ff)]===this['unitID']&&_0x4d3e73[_0x4fedce(0x59f)]===!0x1&&_0x4d3e73[_0x4fedce(0x2e5)]['length']>0x0&&this['_updateLocalCursor'](_0x4d3e73['ranges']);})),this[_0x1d07ac(0x522)][_0x1d07ac(0x2ea)][_0x1d07ac(0x3eb)](_0x3ee31c(this[_0x1d07ac(0x3f5)]))[_0x1d07ac(0x540)](_0x537e89=>{const _0x3e3b98=_0x1d07ac;if((_0x537e89==null?void 0x0:_0x537e89[_0x3e3b98(0x55b)])!==this[_0x3e3b98(0x55b)])return;const _0xc64d70={'eventID':_0x3c9498[_0x3e3b98(0x5c2)],'data':_0x537e89};this[_0x3e3b98(0x3dd)](_0xc64d70);}),this[_0x1d07ac(0x461)](this[_0x1d07ac(0x5ef)]['onCommandExecuted'](_0xe93a0b=>{const _0x262b49=_0x1d07ac;if(_0xe93a0b[_0x262b49(0x3a2)]==null)return;const _0x331759=_0xe93a0b[_0x262b49(0x3a2)];if(_0xe93a0b['id']!==_0x933dab['id']||_0x331759[_0x262b49(0x3ff)]!==this['unitID'])return;const _0x34e98e={'id':_0x262b49(0x2d3),'params':_0x331759},_0x5d4b11=this[_0x262b49(0x446)];for(const [_0x559b96,_0x1eb43b]of _0x5d4b11){const _0x20b641={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x262b49(0x55b)],'actions':null,'textRanges':_0x1eb43b[_0x262b49(0x2e5)]}},_0x3e35e0=this[_0x262b49(0x3c3)][_0x262b49(0x1ee)](_0x34e98e,_0x20b641,!0x1);if(_0x1f65f6(_0x3e35e0))throw _0x3e35e0[_0x262b49(0x48a)];_0x5d4b11['set'](_0x559b96,{..._0x1eb43b,'ranges':_0x3e35e0[_0x262b49(0x5ca)][_0x262b49(0x3a2)][_0x262b49(0x2c1)]});}queueMicrotask(()=>{const _0x3a5d30=_0x262b49;this[_0x3a5d30(0x59b)][_0x3a5d30(0x2d0)](_0x5d4b11);});})));}[_0x494e14(0x3dd)](_0x1167df){const _0x2f4a8b=_0x494e14;var _0x353b06,_0x1f7eb9;const {memberID:_0xc01a99,selection:_0x46997a}=_0x1167df[_0x2f4a8b(0x41c)],_0x4daf12=oo(_0x46997a),_0x1b919e=(_0x1f7eb9=(_0x353b06=this[_0x2f4a8b(0x422)][_0x2f4a8b(0x1fe)](this[_0x2f4a8b(0x55b)],_0xc01a99))==null?void 0x0:_0x353b06[_0x2f4a8b(0x40c)])!=null?_0x1f7eb9:'Unknown\x20user',_0x195486={'color':this[_0x2f4a8b(0x52d)]['assignAColorForMemberID'](_0xc01a99),'name':_0x1b919e,'ranges':_0x4daf12},_0x1b3dbd=this['cursorInfo'];_0x1b3dbd[_0x2f4a8b(0x207)](_0xc01a99,_0x195486),this[_0x2f4a8b(0x59b)][_0x2f4a8b(0x2d0)](_0x1b3dbd);}[_0x494e14(0x373)](_0x23e5a9){const _0x54e763=_0x494e14,{memberID:_0x1c586e}=_0x23e5a9[_0x54e763(0x41c)],_0x4ae06c=this[_0x54e763(0x446)];_0x4ae06c[_0x54e763(0x534)](_0x1c586e),this[_0x54e763(0x59b)][_0x54e763(0x2d0)](_0x4ae06c);}['_toggleOnline'](){const _0x14446e=_0x494e14;var _0x42371b;if(this['_online']=!0x0,((_0x42371b=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x42371b[_0x14446e(0x467)]())!==this[_0x14446e(0x55b)])return;const _0x428c30=this[_0x14446e(0x5a2)]['get'](_0x5367d6)[_0x14446e(0x286)]();Array[_0x14446e(0x570)](_0x428c30)&&_0x428c30[_0x14446e(0x490)]>0x0&&this[_0x14446e(0x443)](_0x428c30);}[_0x494e14(0x29a)](){const _0x17a864=_0x494e14;this[_0x17a864(0x3af)]=!0x1;}};ns=bo([Oe(0x2,_0x41b3da(_0x2087b9)),Oe(0x3,_0x41b3da(bs)),Oe(0x4,_0x41b3da(Ne)),Oe(0x5,_0x41b3da(Cs)),Oe(0x6,_0x1197db),Oe(0x7,_0x15b9fa),Oe(0x8,_0x1c554d)],ns);var yo=Object[_0x494e14(0x421)],Oo=Object[_0x494e14(0x2a4)],wo=(_0x51d406,_0x47c1ea,_0x14abde,_0x59c9f7)=>{const _0x753f1c=_0x494e14;for(var _0x1ca863=_0x59c9f7>0x1?void 0x0:_0x59c9f7?Oo(_0x47c1ea,_0x14abde):_0x47c1ea,_0x5c502d=_0x51d406[_0x753f1c(0x490)]-0x1,_0x2578e3;_0x5c502d>=0x0;_0x5c502d--)(_0x2578e3=_0x51d406[_0x5c502d])&&(_0x1ca863=(_0x59c9f7?_0x2578e3(_0x47c1ea,_0x14abde,_0x1ca863):_0x2578e3(_0x1ca863))||_0x1ca863);return _0x59c9f7&&_0x1ca863&&yo(_0x47c1ea,_0x14abde,_0x1ca863),_0x1ca863;},Be=(_0x1aab93,_0x9c95b4)=>(_0x236f40,_0x5311d5)=>_0x9c95b4(_0x236f40,_0x5311d5,_0x1aab93);const Do=0x12c,Po=0x64,Uo=()=>{let _0x256ddc=[],_0x309f5d=!0x1;return _0x314632=>{const _0x16cfc4=_0x5d20;_0x256ddc[_0x16cfc4(0x271)](_0x314632),_0x309f5d||(_0x309f5d=!0x0,setTimeout(()=>{const _0x4dad92=_0x16cfc4;_0x256ddc[_0x4dad92(0x58b)](_0x31532e=>_0x31532e()),_0x256ddc=[],_0x309f5d=!0x1;}));};};let rs=class extends _0x542deb{constructor(_0x213345,_0x421adc,_0x3ef6d6,_0x2b0f9d,_0x376d1c,_0x266260,_0x59925c,_0x517201){const _0x187ac9=_0x494e14;super(),g(this,_0x187ac9(0x3af),!0x1),g(this,'_init',!0x1),g(this,_0x187ac9(0x59b),new _0x9b8747(new Map())),g(this,'cursorInfo$',this[_0x187ac9(0x59b)][_0x187ac9(0x372)]()),g(this,_0x187ac9(0x5f5),new _0x9b8747([])),g(this,_0x187ac9(0x5be),this['_roomMembers$'][_0x187ac9(0x3eb)](_0x4a986e(Do))),g(this,_0x187ac9(0x443),_0x4360ad((_0x5f9a3b,_0x51d8ef)=>{const _0x3682c8=_0x187ac9,_0x2bcef6={'eventID':_0x3c9498[_0x3682c8(0x5c2)],'data':{'unitID':this[_0x3682c8(0x55b)],'memberID':this['_session'][_0x3682c8(0x4ee)](),'selection':_0x483a72(_0x5f9a3b,_0x51d8ef['range'])}};this[_0x3682c8(0x4b5)]['send'](_0x2bcef6,this['unitID']);},Po)),(this['unitID']=_0x213345,this['_session']=_0x421adc,this['_injector']=_0x3ef6d6,this[_0x187ac9(0x52d)]=_0x2b0f9d,this['_memberService']=_0x376d1c,this[_0x187ac9(0x5ee)]=_0x266260,this[_0x187ac9(0x5ef)]=_0x59925c,this[_0x187ac9(0x3b3)]=_0x517201);}get[_0x494e14(0x446)](){const _0x1101e2=_0x494e14;return this[_0x1101e2(0x59b)][_0x1101e2(0x49a)]();}get['roomMembers'](){const _0x37db9a=_0x494e14;return this[_0x37db9a(0x5f5)]['getValue']();}['dispose'](){const _0x45624b=_0x494e14;super[_0x45624b(0x301)](),this['_cursorInfo$']['next'](new Map()),this[_0x45624b(0x59b)][_0x45624b(0x5bc)](),this[_0x45624b(0x5f5)]['next']([]),this[_0x45624b(0x5f5)][_0x45624b(0x5bc)]();}[_0x494e14(0x33f)](){const _0x26e91c=_0x494e14;this[_0x26e91c(0x599)]||(this['_init']=!0x0,this[_0x26e91c(0x4b5)][_0x26e91c(0x2ba)][_0x26e91c(0x3eb)](_0x3ee31c(this[_0x26e91c(0x3f5)]))[_0x26e91c(0x540)](_0x2b5609=>{const _0x3b44a5=_0x26e91c;_0x2b5609===ve[_0x3b44a5(0x480)]?this['_toggleOnline']():this[_0x3b44a5(0x29a)]();}),this[_0x26e91c(0x4b5)][_0x26e91c(0x368)]['pipe'](_0x3ee31c(this[_0x26e91c(0x3f5)]))['subscribe'](_0xae289c=>{const _0x135ffc=_0x26e91c,_0x4c269f=_0xae289c['eventID'];_0x4c269f===_0x3c9498[_0x135ffc(0x5c2)]&&this[_0x135ffc(0x3dd)](_0xae289c),_0x4c269f===_0x3c9498[_0x135ffc(0x208)]&&this[_0x135ffc(0x373)](_0xae289c);}),this[_0x26e91c(0x46d)](),this[_0x26e91c(0x461)](this[_0x26e91c(0x5ef)][_0x26e91c(0x527)](_0x236a30=>{const _0x57c498=_0x26e91c;if(this[_0x57c498(0x3af)]&&_0x236a30['id']===_0x337a82['id']&&_0x236a30['params'][_0x57c498(0x3ff)]===this[_0x57c498(0x55b)]){const _0x4d9543=_0x236a30[_0x57c498(0x3a2)];this[_0x57c498(0x443)](_0x4d9543[_0x57c498(0x4b1)],_0x4d9543[_0x57c498(0x278)][0x0]);}})));}[_0x494e14(0x3dd)](_0x1e823b){const _0x4de152=_0x494e14;var _0x2c5c44,_0x5501e5;const {memberID:_0x3cd11c,selection:_0x517e61}=_0x1e823b[_0x4de152(0x41c)],{sheetName:_0x4cc274,range:_0x41889c}=_0x346cfe(_0x517e61),_0x5544f7={'name':(_0x5501e5=(_0x2c5c44=this['_memberService'][_0x4de152(0x1fe)](this[_0x4de152(0x55b)],_0x3cd11c))==null?void 0x0:_0x2c5c44['name'])!=null?_0x5501e5:_0x4de152(0x38f),'range':this['_getMergeRange'](_0x4cc274,_0x41889c),'sheetID':_0x4cc274,'color':this[_0x4de152(0x52d)][_0x4de152(0x57d)](_0x3cd11c),'selection':_0x517e61},_0x257c55=this[_0x4de152(0x446)];_0x257c55[_0x4de152(0x207)](_0x3cd11c,_0x5544f7),this[_0x4de152(0x59b)][_0x4de152(0x2d0)](_0x257c55);}[_0x494e14(0x373)](_0x58f513){const _0xec7d96=_0x494e14,{memberID:_0x5d1c24}=_0x58f513[_0xec7d96(0x41c)],_0x7b5969=this[_0xec7d96(0x446)];_0x7b5969[_0xec7d96(0x534)](_0x5d1c24),this[_0xec7d96(0x59b)][_0xec7d96(0x2d0)](_0x7b5969);}[_0x494e14(0x54c)](_0x788105,_0x2f187e){const _0x3eab64=_0x494e14;var _0x4f7d64,_0x5191b0;const _0x4d39a6=(_0x5191b0=(_0x4f7d64=this[_0x3eab64(0x5ee)][_0x3eab64(0x514)](this[_0x3eab64(0x55b)]))==null?void 0x0:_0x4f7d64[_0x3eab64(0x460)](_0x788105))==null?void 0x0:_0x5191b0[_0x3eab64(0x4d4)]();return(_0x4d39a6==null?void 0x0:_0x4d39a6[_0x3eab64(0x32e)](_0x3194db=>_0x111a27[_0x3eab64(0x243)](_0x3194db,_0x2f187e)))||_0x2f187e;}[_0x494e14(0x46d)](){const _0x460f4c=_0x494e14,_0x1e9c46=new _0x45d7b0(),_0x3d6241=Uo(),_0x371be8=()=>{const _0x53fed6=_0x5d20;_0x1e9c46[_0x53fed6(0x301)]();const _0x3113ea=(_0x151720,_0x61709c,_0x576a41,_0x2f51ea)=>{const _0xf6263=_0x53fed6;let _0x48ce31=[];switch(_0x151720['id']){case _0x4ab021[_0xf6263(0x4a4)]:{_0x48ce31=_0x7a5fb3(_0x151720,_0x2f51ea);break;}case _0x4ab021[_0xf6263(0x227)]:{_0x48ce31=_0x560e8e(_0x151720,_0x2f51ea);break;}case _0x4ab021[_0xf6263(0x3e8)]:{_0x48ce31=_0x2d5f09(_0x151720,_0x2f51ea);break;}case _0x4ab021[_0xf6263(0x1e3)]:{_0x48ce31=_0x12a643(_0x151720,_0x2f51ea);break;}case _0x4ab021[_0xf6263(0x4f6)]:{_0x48ce31=_0xfa9ce5(_0x151720,_0x2f51ea);break;}case _0x4ab021[_0xf6263(0x4a2)]:{_0x48ce31=_0x42b8c4(_0x151720,_0x2f51ea);break;}case _0x4ab021[_0xf6263(0x3e6)]:{_0x48ce31=_0x1a43c9(_0x151720,_0x2f51ea);break;}case _0x4ab021['RemoveColCommandId']:{_0x48ce31=_0x30c153(_0x151720,_0x2f51ea);break;}case _0x4ab021[_0xf6263(0x471)]:{_0x48ce31=_0x16c534(_0x151720,_0x2f51ea);break;}}const _0x5c8203=_0x259dc4(_0x48ce31,_0x2f51ea),_0x6f223d=this[_0xf6263(0x446)]['get'](_0x61709c);if(_0x6f223d&&_0x5c8203){const _0x3c1c34={..._0x6f223d,'range':_0x5c8203};this['cursorInfo'][_0xf6263(0x207)](_0x61709c,_0x3c1c34),_0x3d6241(()=>{const _0x2391b4=_0xf6263,_0x4497c3=this[_0x2391b4(0x3b3)][_0x2391b4(0x3db)](_0x5c8203,_0x4c32b9=>(_0x4497c3[_0x2391b4(0x301)](),_0x3113ea(_0x4c32b9,_0x61709c,_0x576a41,_0x5c8203)));_0x1e9c46['add'](_0x4497c3);});}return{'redos':[],'undos':[]};};this[_0x53fed6(0x446)][_0x53fed6(0x58b)]((_0x9a0fcb,_0x2113f2)=>{const _0x174cdf=_0x53fed6,{range:_0x1d2a9d,sheetID:_0x214748}=_0x9a0fcb,_0x570b4a=this['_refRangeService'][_0x174cdf(0x3db)](_0x1d2a9d,_0x1641f2=>(_0x570b4a[_0x174cdf(0x301)](),_0x3113ea(_0x1641f2,_0x2113f2,_0x214748,_0x1d2a9d)));_0x1e9c46[_0x174cdf(0x3fb)](_0x570b4a);});};this[_0x460f4c(0x461)](_0xf5e7f5(this[_0x460f4c(0x59b)][_0x460f4c(0x540)](()=>{_0x371be8();})));}[_0x494e14(0x1f9)](){const _0x40bc14=_0x494e14;var _0x1ef360,_0x3fb7d6;if(this[_0x40bc14(0x3af)]=!0x0,((_0x1ef360=this['_univerInstanceService'][_0x40bc14(0x27c)]())==null?void 0x0:_0x1ef360[_0x40bc14(0x467)]())!==this[_0x40bc14(0x55b)])return;const _0x5bf6b8=(_0x3fb7d6=this[_0x40bc14(0x5a2)]['get'](_0x5999a9)['getCurrentSelections']())==null?void 0x0:_0x3fb7d6[0x0],_0x3a6f7e=this[_0x40bc14(0x5ee)][_0x40bc14(0x236)](_0x50e7dc[_0x40bc14(0x5dc)])[_0x40bc14(0x431)]();_0x5bf6b8&&_0x3a6f7e&&this[_0x40bc14(0x443)](_0x3a6f7e[_0x40bc14(0x575)](),_0x5bf6b8);}[_0x494e14(0x29a)](){const _0x441122=_0x494e14;this[_0x441122(0x3af)]=!0x1;}};rs=wo([Be(0x2,_0x41b3da(_0x2087b9)),Be(0x3,_0x41b3da(bs)),Be(0x4,_0x41b3da(Ne)),Be(0x5,_0x15b9fa),Be(0x6,_0x1c554d),Be(0x7,_0x41b3da(_0x364852))],rs);var No=Object[_0x494e14(0x421)],Ao=Object[_0x494e14(0x2a4)],Mo=(_0x3b75ef,_0x3f3797,_0x4d7251,_0x37c035)=>{const _0x35f2ea=_0x494e14;for(var _0x1c024c=_0x37c035>0x1?void 0x0:_0x37c035?Ao(_0x3f3797,_0x4d7251):_0x3f3797,_0x2434b4=_0x3b75ef[_0x35f2ea(0x490)]-0x1,_0x1ce87b;_0x2434b4>=0x0;_0x2434b4--)(_0x1ce87b=_0x3b75ef[_0x2434b4])&&(_0x1c024c=(_0x37c035?_0x1ce87b(_0x3f3797,_0x4d7251,_0x1c024c):_0x1ce87b(_0x1c024c))||_0x1c024c);return _0x37c035&&_0x1c024c&&No(_0x3f3797,_0x4d7251,_0x1c024c),_0x1c024c;},$t=(_0x210e25,_0x193cd4)=>(_0x31dd98,_0x48fc6a)=>_0x193cd4(_0x31dd98,_0x48fc6a,_0x210e25);let Ve=class extends _0x542deb{constructor(_0xc89ae2,_0x4f6b23,_0x32b171){const _0x26aebf=_0x494e14;super(),g(this,_0x26aebf(0x5a0),new Map()),g(this,'_entityInit$',new _0x243cfe()),(this[_0x26aebf(0x5ee)]=_0xc89ae2,this[_0x26aebf(0x5a2)]=_0x4f6b23,this[_0x26aebf(0x2e3)]=_0x32b171,this[_0x26aebf(0x599)]());}['dispose'](){const _0x5986f4=_0x494e14;super[_0x5986f4(0x301)](),this[_0x5986f4(0x4d8)][_0x5986f4(0x5bc)](),this[_0x5986f4(0x5a0)][_0x5986f4(0x58b)](_0x10d3aa=>_0x10d3aa[_0x5986f4(0x301)]());}[_0x494e14(0x38d)](_0x2ab5ef){const _0x1cf38b=_0x494e14;return this[_0x1cf38b(0x5a0)]['has'](_0x2ab5ef)?this[_0x1cf38b(0x5a0)][_0x1cf38b(0x38a)](_0x2ab5ef)['cursorInfo$']:this['_entityInit$'][_0x1cf38b(0x3eb)](_0x2f9ef8(_0x5332f6=>_0x5332f6[_0x1cf38b(0x55b)]===_0x2ab5ef),_0xa0910a(_0x293aa4=>_0x293aa4['cursorInfo$']));}[_0x494e14(0x599)](){const _0x2c9568=_0x494e14;this[_0x2c9568(0x5ee)][_0x2c9568(0x229)](_0x50e7dc['UNIVER_SHEET'])[_0x2c9568(0x3eb)](_0x3ee31c(this[_0x2c9568(0x3f5)]))['subscribe'](async _0x1eaf42=>{const _0x291319=_0x2c9568,_0x307bc5=_0x1eaf42[_0x291319(0x467)](),_0x4e30ef=await this[_0x291319(0x5e2)](_0x307bc5);this[_0x291319(0x4d8)][_0x291319(0x2d0)](_0x4e30ef),this[_0x291319(0x5a0)][_0x291319(0x207)](_0x307bc5,_0x4e30ef);}),this[_0x2c9568(0x5ee)]['getTypeOfUnitAdded$'](_0x50e7dc[_0x2c9568(0x36f)])[_0x2c9568(0x3eb)](_0x3ee31c(this[_0x2c9568(0x3f5)]))[_0x2c9568(0x3eb)](_0x2f9ef8(_0x1ecbf9=>!_0x1ecbf9[_0x2c9568(0x467)]()[_0x2c9568(0x33b)]('__')))[_0x2c9568(0x540)](async _0x4d1c10=>{const _0x4c8573=_0x2c9568,_0xf88fe=_0x4d1c10['getUnitId'](),_0x5e87a7=await this['_startDocCollabCursor'](_0xf88fe);this[_0x4c8573(0x4d8)][_0x4c8573(0x2d0)](_0x5e87a7),this[_0x4c8573(0x5a0)][_0x4c8573(0x207)](_0xf88fe,_0x5e87a7);}),_0x5326b0(this['_univerInstanceService'][_0x2c9568(0x357)](_0x50e7dc[_0x2c9568(0x36f)]),this['_univerInstanceService'][_0x2c9568(0x357)](_0x50e7dc['UNIVER_SHEET']))[_0x2c9568(0x3eb)](_0x3ee31c(this[_0x2c9568(0x3f5)]))[_0x2c9568(0x540)](_0x4fd598=>{const _0xdc4e40=_0x2c9568,_0x1656e2=_0x4fd598[_0xdc4e40(0x467)](),_0x1fb004=this[_0xdc4e40(0x5a0)][_0xdc4e40(0x38a)](_0x1656e2);_0x1fb004&&(_0x1fb004[_0xdc4e40(0x301)](),this['_entities']['delete'](_0x1656e2));});}async['_startSheetCollabCursor'](_0x187519){const _0x518260=_0x494e14,_0x565f18=await this[_0x518260(0x2e3)][_0x518260(0x337)](_0x187519),_0x1cabd4=this[_0x518260(0x5a2)]['createInstance'](rs,_0x187519,_0x565f18);return _0x1cabd4[_0x518260(0x33f)](),_0x1cabd4;}async[_0x494e14(0x567)](_0x3c024c){const _0x3e6047=_0x494e14,_0x449e2e=await this[_0x3e6047(0x2e3)][_0x3e6047(0x337)](_0x3c024c),_0x1ba0a1=this[_0x3e6047(0x5a2)][_0x3e6047(0x397)](ns,_0x3c024c,_0x449e2e);return _0x1ba0a1[_0x3e6047(0x33f)](),_0x1ba0a1;}};Ve=Mo([$t(0x0,_0x15b9fa),$t(0x1,_0x41b3da(_0x2087b9)),$t(0x2,_0x41b3da(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0x51e34d,_0x400836){const _0x4ffa17=_0x494e14;let {radius:_0x160a58,width:_0x4b80cc,height:_0x912d9c}=_0x400836;_0x160a58=_0x160a58!=null?_0x160a58:0x0,_0x4b80cc=_0x4b80cc!=null?_0x4b80cc:0x1e,_0x912d9c=_0x912d9c!=null?_0x912d9c:0x1e;let _0x20c7b0=0x0,_0x182a09=0x0,_0x48450c=0x0;_0x20c7b0=_0x182a09=_0x48450c=Math[_0x4ffa17(0x205)](_0x160a58,_0x4b80cc/0x2,_0x912d9c/0x2),_0x51e34d[_0x4ffa17(0x4a3)](),_0x51e34d['moveTo'](_0x20c7b0,0x0),_0x51e34d['lineTo'](_0x4b80cc-_0x182a09,0x0),_0x51e34d[_0x4ffa17(0x4aa)](_0x4b80cc-_0x182a09,_0x182a09,_0x182a09,Math['PI']*0x3/0x2,0x0,!0x1),_0x51e34d[_0x4ffa17(0x555)](_0x4b80cc,_0x912d9c-_0x48450c),_0x51e34d[_0x4ffa17(0x4aa)](_0x4b80cc-_0x48450c,_0x912d9c-_0x48450c,_0x48450c,0x0,Math['PI']/0x2,!0x1),_0x51e34d[_0x4ffa17(0x555)](0x0,_0x912d9c),_0x51e34d[_0x4ffa17(0x555)](0x0,_0x20c7b0),_0x51e34d[_0x4ffa17(0x4aa)](_0x20c7b0,_0x20c7b0,_0x20c7b0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x51e34d[_0x4ffa17(0x517)](),_0x400836[_0x4ffa17(0x294)]&&(_0x51e34d[_0x4ffa17(0x533)](),_0x51e34d['fillStyle']=_0x400836[_0x4ffa17(0x294)],_0x400836[_0x4ffa17(0x411)]===_0x4ffa17(0x2ce)?_0x51e34d['fill']('evenodd'):_0x51e34d[_0x4ffa17(0x294)](),_0x51e34d[_0x4ffa17(0x4be)]());}class Ot extends _0x16edce{constructor(_0x3b081e,_0x191375){const _0x462f6e=_0x494e14;super(_0x3b081e,_0x191375),g(this,_0x462f6e(0x582)),g(this,_0x462f6e(0x491)),(this[_0x462f6e(0x582)]=_0x191375==null?void 0x0:_0x191375[_0x462f6e(0x582)],this['text']=_0x191375==null?void 0x0:_0x191375[_0x462f6e(0x491)]);}static[_0x494e14(0x440)](_0x55579e,_0x1e9b0f){const _0x35ab72=_0x494e14,{text:_0x558a67,color:_0x3c5344}=_0x1e9b0f;_0x55579e[_0x35ab72(0x533)](),_0x55579e[_0x35ab72(0x386)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x399875=_0x55579e[_0x35ab72(0x482)](_0x558a67)[_0x35ab72(0x216)],_0x484660=Math[_0x35ab72(0x205)](_0x399875+0x2*Ht,Ys);Lo(_0x55579e,{'height':nt,'radius':0x4,'width':_0x484660,'fill':_0x3c5344,'evented':!0x1}),_0x55579e[_0x35ab72(0x374)]=_0x35ab72(0x1eb);const _0x38dc10=Ht,_0x1c62e6=nt-xo,_0x1293e8=Ys-0x2*Ht;if(_0x399875>_0x1293e8){let _0x595593='',_0xdbe6cd=0x0;for(const _0x17e59d of _0x558a67){const _0x5aa40f=_0x55579e[_0x35ab72(0x482)](_0x17e59d)[_0x35ab72(0x216)];if(_0xdbe6cd+_0x5aa40f<=_0x1293e8-_0x55579e[_0x35ab72(0x482)](_0x35ab72(0x3aa))[_0x35ab72(0x216)])_0x595593+=_0x17e59d,_0xdbe6cd+=_0x5aa40f;else{_0x595593+=_0x35ab72(0x3aa);break;}}_0x55579e[_0x35ab72(0x34b)](_0x595593,_0x38dc10,_0x1c62e6);}else _0x55579e[_0x35ab72(0x34b)](_0x558a67,_0x38dc10,_0x1c62e6);_0x55579e[_0x35ab72(0x4be)]();}[_0x494e14(0x5e1)](_0x457aa9){Ot['drawWith'](_0x457aa9,this);}}const jt=_0x494e14(0x3c6),$o=_0x494e14(0x283),Ho=_0x494e14(0x333),Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko=_0x494e14(0x5ab);class Ks{constructor(_0x4cde50,_0x41d63b,_0x3c97cd,_0xd04d5a){const _0x3c0b28=_0x494e14;g(this,_0x3c0b28(0x3ee),[]),g(this,_0x3c0b28(0x350),null),g(this,_0x3c0b28(0x312),null),g(this,_0x3c0b28(0x340),null),g(this,_0x3c0b28(0x44c),null),g(this,_0x3c0b28(0x59a),null),(this['_cursor']=_0x4cde50,this[_0x3c0b28(0x254)]=_0x41d63b,this[_0x3c0b28(0x361)]=_0x3c97cd,this['_document']=_0xd04d5a,this[_0x3c0b28(0x35c)]());}set['_hover'](_0x437c79){const _0x386667=_0x494e14;_0x437c79?(this[_0x386667(0x340)]&&this[_0x386667(0x340)][_0x386667(0x41e)](),this[_0x386667(0x312)]&&this['_textBubble'][_0x386667(0x56c)]()):(this[_0x386667(0x340)]&&this['_anchorDot'][_0x386667(0x56c)](),this['_textBubble']&&this[_0x386667(0x312)][_0x386667(0x41e)]());}[_0x494e14(0x301)](){const _0x3747d4=_0x494e14;for(const _0x20f7de of this['_shapes'])_0x20f7de[_0x3747d4(0x301)]();this[_0x3747d4(0x312)]&&this[_0x3747d4(0x312)][_0x3747d4(0x301)](),this[_0x3747d4(0x340)]&&this[_0x3747d4(0x340)][_0x3747d4(0x301)](),this['_anchor']&&this['_anchor'][_0x3747d4(0x301)](),this[_0x3747d4(0x59a)]&&this[_0x3747d4(0x59a)]();}[_0x494e14(0x35c)](){const _0x4f3575=_0x494e14;var _0x20028f;const {_docSkeleton:_0x50570a,_document:_0x10a4f0}=this,{color:_0x4b278c,name:_0xc7789c,ranges:_0x3b1836}=this[_0x4f3575(0x1fa)],_0x1d57d2=_0x10a4f0[_0x4f3575(0x413)](),{docsLeft:_0x2885bd,docsTop:_0x96b05c}=_0x1d57d2,_0x4718de=new _0x2a0e72(_0x1d57d2,_0x50570a);for(const {startOffset:_0x40a5ff,endOffset:_0x5d70c9,rangeType:_0x2ef890,segmentId:_0x42c1e9,segmentPage:_0x13ab41,collapsed:_0x4c2076,isActive:_0x3b99f7}of _0x3b1836){const _0x12d8b8=_0x50570a[_0x4f3575(0x1e7)](_0x40a5ff,!0x0,_0x42c1e9,_0x13ab41);let _0x3d1e70=_0x50570a[_0x4f3575(0x1e7)](_0x5d70c9,!0x0,_0x42c1e9,_0x13ab41);if(_0x3d1e70==null&&(_0x3d1e70=_0x50570a[_0x4f3575(0x1e7)](_0x5d70c9-0x1,!0x1,_0x42c1e9,_0x13ab41)),_0x3b99f7){const {contentBoxPointGroup:_0x1fd0b0}=_0x4718de[_0x4f3575(0x4fa)](_0x3d1e70,_0x3d1e70);if(_0x1fd0b0[_0x4f3575(0x490)]===0x0)continue;this[_0x4f3575(0x2fe)](_0x4b278c,_0x1fd0b0,_0x2885bd,_0x96b05c,_0xc7789c),this['_eventUnsubscribe']=this['_handleHover']();}if(!_0x4c2076&&_0x12d8b8&&_0x3d1e70){if(_0x2ef890===_0x43cc22[_0x4f3575(0x25f)]){const _0x564839=new _0x404c31(_0x1d57d2,_0x50570a),{pointGroup:_0x408b41}=(_0x20028f=_0x564839[_0x4f3575(0x4fa)](_0x12d8b8,_0x3d1e70))!=null?_0x20028f:{};if(_0x408b41==null||_0x408b41[_0x4f3575(0x490)]===0x0)continue;this[_0x4f3575(0x48e)](_0x4b278c,_0x408b41,_0x2885bd,_0x96b05c);}else{const {borderBoxPointGroup:_0x631b24}=_0x4718de[_0x4f3575(0x4fa)](_0x12d8b8,_0x3d1e70);if(_0x631b24['length']===0x0)continue;this['_drawTextRange'](_0x4b278c,_0x631b24,_0x2885bd,_0x96b05c);}}}}[_0x494e14(0x2fe)](_0x8b331b,_0x3ecff1,_0x44a8b2,_0x44a041,_0x170c04){const _0x317890=_0x494e14,_0x17330b=this[_0x317890(0x1ed)](_0x3ecff1),{left:_0xa34df2,top:_0xa480e4,height:_0x43eb2c}=_0x17330b,_0x475f92=this['_getScale'](),_0x2ae9b=Bo/_0x475f92,_0x55194d=new _0x1fae94(jt+_0x1fd4a4[_0x317890(0x3fc)](Je),{'left':_0xa34df2+_0x44a8b2-_0x2ae9b,'top':_0xa480e4+_0x44a041,'height':_0x43eb2c,'width':jo,'fill':_0x8b331b||_0x1d4014(_0x560d42[_0x317890(0x495)],0x0),'strokeWidth':_0x2ae9b,'stroke':ko,'evented':!0x0});this[_0x317890(0x350)]=_0x55194d,this[_0x317890(0x254)][_0x317890(0x318)](_0x55194d,_0x2f7bd5);const _0x1b7f01=new _0x1fae94(jt+_0x1fd4a4[_0x317890(0x3fc)](Je),{'left':_0xa34df2+_0x44a8b2-_0x2ae9b,'top':_0xa480e4+_0x44a041-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x8b331b||_0x1d4014(_0x560d42[_0x317890(0x495)],0x0),'strokeWidth':0x0,'stroke':_0x8b331b||_0x1d4014(_0x560d42['black'],0x0),'evented':!0x1});this[_0x317890(0x340)]=_0x1b7f01,this[_0x317890(0x254)][_0x317890(0x318)](_0x1b7f01,_0x2f7bd5);const _0xa1929e=new Ot(jt+_0x1fd4a4[_0x317890(0x3fc)](Je),{'left':_0xa34df2+_0x44a8b2-_0x2ae9b,'top':_0xa480e4+_0x44a041-nt,'text':_0x170c04,'color':_0x8b331b});this[_0x317890(0x312)]=_0xa1929e,this[_0x317890(0x254)][_0x317890(0x318)](_0xa1929e,_0x2f7bd5),this[_0x317890(0x472)]=!0x1;}[_0x494e14(0x52b)](){const _0x566c94=_0x494e14,_0x44d01e=this['_anchor']['onPointerEnter$'][_0x566c94(0x24a)](()=>{const _0x24ec94=_0x566c94;this[_0x24ec94(0x472)]=!0x0;}),_0x527db1=this['_anchor'][_0x566c94(0x492)][_0x566c94(0x24a)](()=>{const _0x425a0e=_0x566c94;this[_0x425a0e(0x44c)]&&clearTimeout(this[_0x425a0e(0x44c)]),this[_0x425a0e(0x44c)]=setTimeout(()=>{const _0xe2306c=_0x425a0e;this[_0xe2306c(0x472)]=!0x1;},0x7d0);});return()=>{const _0x223153=_0x566c94;_0x44d01e[_0x223153(0x5f6)](),_0x527db1[_0x223153(0x5f6)]();};}[_0x494e14(0x305)](_0x518da5,_0x33217c,_0x49443d,_0x19b13c){const _0x2e2d04=_0x494e14,_0x23b1a2=new _0x6eb250(_0x518da5)[_0x2e2d04(0x56d)](0.2)[_0x2e2d04(0x5c5)](),_0x45829e=new _0x5bdb01($o+_0x1fd4a4[_0x2e2d04(0x3fc)](Je),{'pointsGroup':_0x33217c,'fill':_0x23b1a2||_0x1d4014(_0x560d42[_0x2e2d04(0x495)],0.2),'left':_0x49443d,'top':_0x19b13c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2e2d04(0x3ee)]['push'](_0x45829e),this['_scene'][_0x2e2d04(0x318)](_0x45829e,_0x2f7bd5);}['_drawRectRange'](_0x1a4180,_0x3ffb3e,_0xbf3896,_0x3fb1b0){const _0x43c77c=_0x494e14,_0x525b15=new _0x6eb250(_0x1a4180)[_0x43c77c(0x56d)](0.2)[_0x43c77c(0x5c5)](),_0xc2b3d3=new _0x5bdb01(Ho+_0x1fd4a4['generateRandomId'](Je),{'pointsGroup':_0x3ffb3e,'fill':_0x525b15||_0x1d4014(_0x560d42[_0x43c77c(0x495)],0.2),'left':_0xbf3896,'top':_0x3fb1b0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x43c77c(0x3ee)][_0x43c77c(0x271)](_0xc2b3d3),this[_0x43c77c(0x254)][_0x43c77c(0x318)](_0xc2b3d3,_0x2f7bd5);}[_0x494e14(0x1ed)](_0x45f6ac){const _0x433657=_0x45f6ac[0x0],_0x5d4b7e=_0x433657[0x0],_0x27a473=_0x433657[0x2],{x:_0x337a3c,y:_0x33027f}=_0x5d4b7e,{x:_0x5cc6fe,y:_0x6a7794}=_0x27a473;return{'left':_0x337a3c,'top':_0x33027f,'width':_0x5cc6fe-_0x337a3c,'height':_0x6a7794-_0x33027f};}['_getScale'](){const _0xd9597f=_0x494e14,{scaleX:_0x6f9370,scaleY:_0x314e6c}=this[_0xd9597f(0x254)][_0xd9597f(0x543)]();return Math['max'](_0x6f9370,_0x314e6c);}}var Wo=Object[_0x494e14(0x421)],Fo=Object[_0x494e14(0x2a4)],Vo=(_0x353957,_0x6d54f4,_0xb241f9,_0x1fd75e)=>{const _0x36e086=_0x494e14;for(var _0x1d22e5=_0x1fd75e>0x1?void 0x0:_0x1fd75e?Fo(_0x6d54f4,_0xb241f9):_0x6d54f4,_0xe134e4=_0x353957[_0x36e086(0x490)]-0x1,_0xcadc83;_0xe134e4>=0x0;_0xe134e4--)(_0xcadc83=_0x353957[_0xe134e4])&&(_0x1d22e5=(_0x1fd75e?_0xcadc83(_0x6d54f4,_0xb241f9,_0x1d22e5):_0xcadc83(_0x1d22e5))||_0x1d22e5);return _0x1fd75e&&_0x1d22e5&&Wo(_0x6d54f4,_0xb241f9,_0x1d22e5),_0x1d22e5;},ht=(_0x463a00,_0x34ff58)=>(_0x5d34b0,_0x443dfd)=>_0x34ff58(_0x5d34b0,_0x443dfd,_0x463a00);let os=class extends _0x542deb{constructor(_0x2e4432,_0x488cc2,_0x216043,_0x4e4e61,_0x424211){const _0x18a2e9=_0x494e14;super(),g(this,'_cursorShapes',[]),g(this,_0x18a2e9(0x2a6),[]),(this[_0x18a2e9(0x5c4)]=_0x2e4432,this[_0x18a2e9(0x342)]=_0x488cc2,this[_0x18a2e9(0x521)]=_0x216043,this['_commandService']=_0x4e4e61,this['_themeService']=_0x424211,this[_0x18a2e9(0x599)]());}[_0x494e14(0x599)](){const _0x2efd15=_0x494e14,_0x341d5f=this[_0x2efd15(0x5c4)][_0x2efd15(0x3ff)],_0x3b3d54=this[_0x2efd15(0x342)];this['disposeWithMe'](_0x493f7b([this[_0x2efd15(0x521)][_0x2efd15(0x38d)](_0x341d5f),this[_0x2efd15(0x247)][_0x2efd15(0x232)]])[_0x2efd15(0x3eb)](_0x487dae(([_0x260658,_0x6648c4])=>({'skeleton':_0x3b3d54[_0x2efd15(0x406)](),'cursors':[..._0x260658[_0x2efd15(0x20a)]()][_0x2efd15(0x42d)](_0x5a479b=>({..._0x5a479b,'color':_0x6648c4[_0x5a479b['color']]}))})))[_0x2efd15(0x540)](_0x1bc315=>{const _0x4cec45=_0x2efd15;if(this['_removeCollabCursors'](),_0x1bc315){const {skeleton:_0x5e75d4,cursors:_0x528f50}=_0x1bc315;this[_0x4cec45(0x2c5)](_0x5e75d4,_0x528f50);}})),this[_0x2efd15(0x3f1)](),this[_0x2efd15(0x53b)]();}[_0x494e14(0x2c5)](_0x58ec57,_0x4ff803){const _0x3335f8=_0x494e14,{scene:_0x5dda6b,mainComponent:_0xe75e88}=this[_0x3335f8(0x5c4)],_0x14196f=_0x4ff803[_0x3335f8(0x5ed)](_0x362376=>new Ks(_0x362376,_0x5dda6b,_0x58ec57,_0xe75e88));this[_0x3335f8(0x530)]=_0x14196f,this[_0x3335f8(0x2a6)]=_0x4ff803;}['_refreshCollabCursors'](){const _0x4101e0=_0x494e14;this[_0x4101e0(0x26d)]();const {scene:_0x3aff82,mainComponent:_0x3d954c}=this[_0x4101e0(0x5c4)],_0xecbe4d=this[_0x4101e0(0x342)][_0x4101e0(0x406)](),_0x437e71=this[_0x4101e0(0x2a6)]['map'](_0xb87175=>new Ks(_0xb87175,_0x3aff82,_0xecbe4d,_0x3d954c));this[_0x4101e0(0x530)]=_0x437e71;}['_removeCollabCursors'](){const _0x1b978d=_0x494e14;this[_0x1b978d(0x530)][_0x1b978d(0x58b)](_0x4bb101=>_0x4bb101[_0x1b978d(0x301)]()),this[_0x1b978d(0x530)]=[];}[_0x494e14(0x53b)](){const _0xc7f31f=_0x494e14,_0x1688a7=[_0x43f467['id']];this[_0xc7f31f(0x461)](this[_0xc7f31f(0x5ef)][_0xc7f31f(0x527)](_0x8a43ae=>{const _0x27768a=_0xc7f31f;_0x1688a7[_0x27768a(0x315)](_0x8a43ae['id'])&&_0x8a43ae[_0x27768a(0x3a2)][_0x27768a(0x3ff)]===this[_0x27768a(0x5c4)]['unitId']&&this[_0x27768a(0x4b4)]();}));}[_0x494e14(0x3f1)](){const _0x4a5828=_0x494e14;this['disposeWithMe'](_0x1a7d07(this[_0x4a5828(0x5c4)]['engine'][_0x4a5828(0x1f8)])[_0x4a5828(0x3eb)](_0x4dbfb7(_0xf7c85f=>_0xf7c85f[_0x4a5828(0x2cd)]===_0x103c3d[_0x4a5828(0x41f)]),_0x5c2c68(0x10))[_0x4a5828(0x540)](()=>{this['_refreshCollabCursors']();}));}};os=Vo([ht(0x1,_0x41b3da(_0x2e4faf)),ht(0x2,_0x41b3da(Ve)),ht(0x3,_0x1c554d),ht(0x4,_0x41b3da(_0x4754b0))],os);const Go=0x1,Yo=1.5;class Ko extends _0x16edce{constructor(_0x3d0cf7,_0xc3153c){const _0x547a7e=_0x494e14;super(_0x3d0cf7,_0xc3153c),g(this,_0x547a7e(0x572)),g(this,'_hovered',!0x1),g(this,_0x547a7e(0x486)),g(this,_0x547a7e(0x2b1),''),g(this,_0x547a7e(0x4e7),_0x547a7e(0x37c)),g(this,_0x547a7e(0x338)),(_0xc3153c&&this['setShapeProps'](_0xc3153c),this[_0x547a7e(0x1e5)][_0x547a7e(0x24a)](()=>this[_0x547a7e(0x428)]({'hovered':!0x0})),this['onPointerLeave$'][_0x547a7e(0x24a)](()=>this[_0x547a7e(0x428)]({'hovered':!0x1})));}[_0x494e14(0x428)](_0x1e7f56){const _0x331303=_0x494e14;var _0x28f1d6,_0x3036e9,_0x1217c8,_0x3d9280,_0x202ea2,_0x8d676d;this[_0x331303(0x572)]=(_0x28f1d6=_0x1e7f56['color'])!=null?_0x28f1d6:this[_0x331303(0x572)],this[_0x331303(0x2d9)]=(_0x3036e9=_0x1e7f56[_0x331303(0x1e4)])!=null?_0x3036e9:this[_0x331303(0x2d9)],this[_0x331303(0x486)]=(_0x1217c8=_0x1e7f56[_0x331303(0x233)])!=null?_0x1217c8:this[_0x331303(0x486)],this['_name']=(_0x3d9280=_0x1e7f56['name'])!=null?_0x3d9280:this[_0x331303(0x2b1)],this['_labelPosition']=(_0x202ea2=_0x1e7f56[_0x331303(0x40d)])!=null?_0x202ea2:this['_labelPosition'],this['_backgroundColor']=(_0x8d676d=_0x1e7f56['backgroundColor'])!=null?_0x8d676d:this['_backgroundColor'],this[_0x331303(0x436)]({'width':_0x1e7f56[_0x331303(0x216)],'height':_0x1e7f56['height']});}[_0x494e14(0x511)](_0x108498){const _0x4c1ee5=_0x494e14,{row:_0xae9435,column:_0x1fb7c2}=_0x108498;if(_0xae9435>=this[_0x4c1ee5(0x486)][_0x4c1ee5(0x5d1)]&&_0xae9435<=this['_range'][_0x4c1ee5(0x4d2)]&&_0x1fb7c2>=this[_0x4c1ee5(0x486)][_0x4c1ee5(0x484)]&&_0x1fb7c2<=this['_range'][_0x4c1ee5(0x4b8)]){this[_0x4c1ee5(0x428)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x136a2f){return!0x1;}[_0x494e14(0x5e1)](_0x4dc494){const _0x55c2c5=_0x494e14;_0x1fae94[_0x55c2c5(0x440)](_0x4dc494,{'width':this[_0x55c2c5(0x216)],'height':this[_0x55c2c5(0x5ea)],'strokeWidth':Yo,'stroke':this[_0x55c2c5(0x572)],'evented':!0x1,'fill':this[_0x55c2c5(0x338)]}),this[_0x55c2c5(0x2d9)]&&(_0x4dc494[_0x55c2c5(0x533)](),_0x4dc494['transform'](0x1,0x0,0x0,0x1,this[_0x55c2c5(0x216)],this[_0x55c2c5(0x4e7)]===_0x55c2c5(0x47b)?0x0:-nt),Ot[_0x55c2c5(0x440)](_0x4dc494,{'text':this[_0x55c2c5(0x2b1)],'color':this[_0x55c2c5(0x572)]}),_0x4dc494[_0x55c2c5(0x4be)]());}}var zo=Object[_0x494e14(0x421)],qo=Object['getOwnPropertyDescriptor'],Xo=(_0xd1e0c,_0x5e3681,_0x5b6862,_0x112282)=>{const _0x307e15=_0x494e14;for(var _0x478667=_0x112282>0x1?void 0x0:_0x112282?qo(_0x5e3681,_0x5b6862):_0x5e3681,_0x4bafb1=_0xd1e0c[_0x307e15(0x490)]-0x1,_0x27a60e;_0x4bafb1>=0x0;_0x4bafb1--)(_0x27a60e=_0xd1e0c[_0x4bafb1])&&(_0x478667=(_0x112282?_0x27a60e(_0x5e3681,_0x5b6862,_0x478667):_0x27a60e(_0x478667))||_0x478667);return _0x112282&&_0x478667&&zo(_0x5e3681,_0x5b6862,_0x478667),_0x478667;},kt=(_0x2f3e49,_0x3bb52d)=>(_0x158044,_0x40cce1)=>_0x3bb52d(_0x158044,_0x40cce1,_0x2f3e49);const Jo=0x1389;let as=class extends _0x542deb{constructor(_0x413894,_0xcbb529,_0x26bb24,_0x116919){const _0x5e33ec=_0x494e14;super(),g(this,_0x5e33ec(0x2a6),new Set()),g(this,_0x5e33ec(0x22f),null),(this[_0x5e33ec(0x5c4)]=_0x413894,this[_0x5e33ec(0x404)]=_0xcbb529,this[_0x5e33ec(0x521)]=_0x26bb24,this[_0x5e33ec(0x247)]=_0x116919,this['_init']());}[_0x494e14(0x599)](){const _0x1a66c3=_0x494e14;this[_0x1a66c3(0x404)][_0x1a66c3(0x354)][_0x1a66c3(0x3eb)](_0xfbe715(this[_0x1a66c3(0x3f5)]),_0x7a3cd6(_0x53baf4=>{const _0x14b710=_0x1a66c3;if(_0x53baf4){const _0xd22301=_0x53baf4[_0x14b710(0x46b)];return _0x493f7b(this[_0x14b710(0x521)][_0x14b710(0x38d)](this['_context'][_0x14b710(0x3ff)]),this['_themeService'][_0x14b710(0x232)])['pipe'](_0x487dae(([_0x1bddd6,_0x5c728a])=>{const _0x2b1e01=_0x14b710,_0x23b0dd=new Map();return _0x1bddd6[_0x2b1e01(0x58b)]((_0x42a90d,_0x48b8c1)=>{const _0x57b043=_0x2b1e01;if(_0x42a90d[_0x57b043(0x363)]===_0xd22301){const _0x3c3189={..._0x42a90d};_0x3c3189['color']=_0x5c728a[_0x42a90d[_0x57b043(0x582)]],_0x23b0dd[_0x57b043(0x207)](_0x48b8c1,_0x3c3189);}}),{'skeleton':_0x53baf4,'cursors':_0x23b0dd};}));}return _0x29feb9({'skeleton':null,'cursors':new Map()});}))[_0x1a66c3(0x540)](({skeleton:_0x46aaec,cursors:_0x3c7071})=>{const _0x547f0c=_0x1a66c3;this[_0x547f0c(0x26d)](),_0x46aaec&&this['_updateCollabCursors'](_0x46aaec,_0x3c7071);}),this[_0x1a66c3(0x404)][_0x1a66c3(0x354)][_0x1a66c3(0x540)](_0x4c6c07=>{const _0x85c78d=_0x1a66c3;if(_0x4c6c07==null)return;const {skeleton:_0x55e1e7}=_0x4c6c07,{scene:_0x427435}=this[_0x85c78d(0x5c4)];_0x427435[_0x85c78d(0x53c)][_0x85c78d(0x24a)](_0x4360ad(_0x6a1961=>{const _0x3ac41d=_0x85c78d;var _0x33c722,_0x500382;const {offsetX:_0x1f5672,offsetY:_0x1d6460}=_0x6a1961,{x:_0x23b3d6,y:_0x51fab9}=_0x427435[_0x3ac41d(0x2ca)](_0x109432[_0x3ac41d(0x465)]([_0x1f5672,_0x1d6460])),{scaleX:_0x132f26,scaleY:_0x230c26}=_0x427435[_0x3ac41d(0x543)](),_0x1bf01c=_0x427435[_0x3ac41d(0x378)](_0x4283d3[_0x3ac41d(0x453)]),_0x534d44=_0x427435[_0x3ac41d(0x52c)](_0x109432[_0x3ac41d(0x465)]([_0x23b3d6,_0x51fab9]),_0x1bf01c),_0x3eee23=_0x55e1e7['getCellPositionByOffset'](_0x1f5672,_0x1d6460,_0x132f26,_0x230c26,_0x534d44);((_0x33c722=this['_lastPointer'])==null?void 0x0:_0x33c722[_0x3ac41d(0x27e)])===_0x3eee23[_0x3ac41d(0x27e)]&&((_0x500382=this[_0x3ac41d(0x22f)])==null?void 0x0:_0x500382['row'])===_0x3eee23[_0x3ac41d(0x5f0)]||this['_cursors'][_0x3ac41d(0x58b)](_0x33dde7=>{const _0x5e1602=_0x3ac41d;_0x33dde7[_0x5e1602(0x511)](_0x3eee23);});},0x64));});}['_updateCollabCursors'](_0x199958,_0xf4d8b0){const _0x40496b=_0x494e14;var _0x5b02ca;const _0x554f23=(_0x5b02ca=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x5b02ca[_0x40496b(0x537)];if(!_0x554f23)return;const _0x270b14=this[_0x40496b(0x2f9)]();if(!_0x270b14)return;this['_cursors'][_0x40496b(0x58b)](_0x2ee904=>{const _0x27573b=_0x40496b;_0x2ee904[_0x27573b(0x2d2)]();});const {scene:_0x59abed}=_0x270b14,_0x5002ac=Zo(Array[_0x40496b(0x353)](_0xf4d8b0[_0x40496b(0x20a)]()))[_0x40496b(0x5ed)](_0x253470=>{const _0x85bfd4=_0x40496b,{color:_0x43fdaf,range:_0x5e5e85,name:_0x187348,selection:_0x9e54e8,sheetID:_0x1ad861}=_0x253470,{startColumn:_0x2a4c46,startRow:_0x20fdb8,endColumn:_0xc6a686,endRow:_0x468260}=_0x5e5e85,_0x20a901=_0x533cec(_0x20fdb8,_0x2a4c46,_0x59abed,_0x554f23),_0x149d1d=_0x533cec(_0x468260,_0xc6a686,_0x59abed,_0x554f23),{columnHeaderHeightAndMarginTop:_0x57c346}=_0x554f23,{startX:_0x273a91,startY:_0x3ea269}=_0x20a901,{endX:_0x5b05fb,endY:_0x333dcb}=_0x149d1d,_0xc9c6a0=_0x5b05fb-_0x273a91,_0x3c2ff4=_0x333dcb-_0x3ea269,_0x5e7556={'labelPosition':_0x3ea269-_0x57c346>=nt?_0x85bfd4(0x37c):_0x85bfd4(0x47b),'sheetID':_0x1ad861,'range':_0x5e5e85,'color':_0x43fdaf,'name':_0x187348,'selection':_0x9e54e8,'left':_0x273a91,'top':_0x3ea269,'width':_0xc9c6a0,'height':_0x3c2ff4,'evented':!0x1,'zIndex':Jo};return new Ko(_0x187348,_0x5e7556);});_0x59abed[_0x40496b(0x578)](_0x5002ac,Go),this[_0x40496b(0x2a6)]=new Set(_0x5002ac);}[_0x494e14(0x26d)](){const _0x1e95dd=_0x494e14;var _0x5387de;(_0x5387de=this[_0x1e95dd(0x2a6)])==null||_0x5387de[_0x1e95dd(0x58b)](_0x346ead=>_0x346ead[_0x1e95dd(0x301)]());}['_getSheetObject'](){const _0x38dbae=_0x494e14;return _0x538d0b(this[_0x38dbae(0x5c4)][_0x38dbae(0x33c)],this[_0x38dbae(0x5c4)]);}};as=Xo([kt(0x1,_0x41b3da(_0x996767)),kt(0x2,_0x41b3da(Ve)),kt(0x3,_0x41b3da(_0x4754b0))],as);function Zo(_0x4713a9){const _0x272430=_0x494e14,_0x213775=new Map();return _0x4713a9[_0x272430(0x58b)](_0x5eae46=>{const _0x42423a=_0x272430;if(_0x213775[_0x42423a(0x481)](_0x5eae46[_0x42423a(0x4e1)])){const _0x13a1aa=_0x213775[_0x42423a(0x38a)](_0x5eae46[_0x42423a(0x4e1)]);_0x13a1aa['name']+=',\x20'+_0x5eae46[_0x42423a(0x40c)];}else _0x213775[_0x42423a(0x207)](_0x5eae46['selection'],_0x5eae46);}),Array[_0x272430(0x353)](_0x213775[_0x272430(0x20a)]());}var ee=function(){const _0x40c5d4=_0x494e14;return ee=Object[_0x40c5d4(0x34a)]||function(_0x398523){const _0x448ae0=_0x40c5d4;for(var _0x43b9de,_0x4fb063=0x1,_0x34a164=arguments[_0x448ae0(0x490)];_0x4fb063<_0x34a164;_0x4fb063++){_0x43b9de=arguments[_0x4fb063];for(var _0x3b4f73 in _0x43b9de)Object[_0x448ae0(0x2f7)][_0x448ae0(0x36c)][_0x448ae0(0x450)](_0x43b9de,_0x3b4f73)&&(_0x398523[_0x3b4f73]=_0x43b9de[_0x3b4f73]);}return _0x398523;},ee['apply'](this,arguments);},Qo=function(_0x22dd11,_0x4c497b){const _0x2c1d95=_0x494e14;var _0x2338a4={};for(var _0x489213 in _0x22dd11)Object[_0x2c1d95(0x2f7)]['hasOwnProperty'][_0x2c1d95(0x450)](_0x22dd11,_0x489213)&&_0x4c497b['indexOf'](_0x489213)<0x0&&(_0x2338a4[_0x489213]=_0x22dd11[_0x489213]);if(_0x22dd11!=null&&typeof Object[_0x2c1d95(0x2ff)]=='function'){for(var _0x1272ae=0x0,_0x489213=Object[_0x2c1d95(0x2ff)](_0x22dd11);_0x1272ae<_0x489213['length'];_0x1272ae++)_0x4c497b[_0x2c1d95(0x420)](_0x489213[_0x1272ae])<0x0&&Object[_0x2c1d95(0x2f7)][_0x2c1d95(0x44e)][_0x2c1d95(0x450)](_0x22dd11,_0x489213[_0x1272ae])&&(_0x2338a4[_0x489213[_0x1272ae]]=_0x22dd11[_0x489213[_0x1272ae]]);}return _0x2338a4;},Ts=_0x23e8c2(function(_0x17e2c5,_0x3bf928){const _0x382a91=_0x494e14;var _0x4b2ff7=_0x17e2c5[_0x382a91(0x289)],_0x56e182=_0x17e2c5['id'],_0x3d7c9a=_0x17e2c5[_0x382a91(0x544)],_0x54d721=_0x17e2c5[_0x382a91(0x538)],_0x285a89=Qo(_0x17e2c5,[_0x382a91(0x289),'id',_0x382a91(0x544),'extend']),_0x467baf=_0x382a91(0x3a6)[_0x382a91(0x437)](_0x56e182,'\x20')['concat'](_0x3d7c9a||'')[_0x382a91(0x5a1)](),_0x37cf2f=_0x540f8d('_'['concat'](sa()));return Mi(_0x4b2ff7,''[_0x382a91(0x437)](_0x56e182),{'defIds':_0x4b2ff7[_0x382a91(0x417)],'idSuffix':_0x37cf2f[_0x382a91(0x31c)]},ee({'ref':_0x3bf928,'className':_0x467baf},_0x285a89),_0x54d721);});function Mi(_0x565544,_0x1a4668,_0x1f6f89,_0x4b337a,_0xd2b058){const _0x6913aa=_0x494e14;return _0x12f720(_0x565544[_0x6913aa(0x4a1)],ee(ee({'key':_0x1a4668},ea(_0x565544,_0x1f6f89,_0xd2b058)),_0x4b337a),(ta(_0x565544,_0x1f6f89)[_0x6913aa(0x55d)]||[])['map'](function(_0x2a4756,_0x448c2e){const _0x40981b=_0x6913aa;return Mi(_0x2a4756,''[_0x40981b(0x437)](_0x1a4668,'-')[_0x40981b(0x437)](_0x565544[_0x40981b(0x4a1)],'-')[_0x40981b(0x437)](_0x448c2e),_0x1f6f89,void 0x0,_0xd2b058);}));}function ea(_0x508eb3,_0x17130b,_0x2452c6){const _0x590e3e=_0x494e14;var _0x1134f0=ee({},_0x508eb3[_0x590e3e(0x42e)]);_0x2452c6!=null&&_0x2452c6[_0x590e3e(0x4f4)]&&_0x1134f0[_0x590e3e(0x294)]===_0x590e3e(0x4f4)&&(_0x1134f0['fill']=_0x2452c6['colorChannel1']);var _0x4bfe38=_0x17130b[_0x590e3e(0x417)];return!_0x4bfe38||_0x4bfe38[_0x590e3e(0x490)]===0x0||(_0x508eb3[_0x590e3e(0x4a1)]===_0x590e3e(0x2de)&&_0x1134f0[_0x590e3e(0x510)]&&(_0x1134f0['xlink:href']=_0x1134f0[_0x590e3e(0x510)]+_0x17130b[_0x590e3e(0x5d4)]),Object[_0x590e3e(0x5d6)](_0x1134f0)[_0x590e3e(0x58b)](function(_0x3a7c40){const _0x4362b6=_0x590e3e;var _0x2c3567=_0x3a7c40[0x0],_0x27f122=_0x3a7c40[0x1];typeof _0x27f122==_0x4362b6(0x550)&&(_0x1134f0[_0x2c3567]=_0x27f122[_0x4362b6(0x3be)](/url\(#(.*)\)/,_0x4362b6(0x462)[_0x4362b6(0x437)](_0x17130b[_0x4362b6(0x5d4)],')')));})),_0x1134f0;}function ta(_0x413c29,_0x4520d4){const _0xc99d86=_0x494e14;var _0x2e90f1,_0x46ffd5=_0x4520d4[_0xc99d86(0x417)];return!_0x46ffd5||_0x46ffd5[_0xc99d86(0x490)]===0x0?_0x413c29:_0x413c29['tag']===_0xc99d86(0x384)&&(!((_0x2e90f1=_0x413c29[_0xc99d86(0x55d)])===null||_0x2e90f1===void 0x0)&&_0x2e90f1[_0xc99d86(0x490)])?ee(ee({},_0x413c29),{'children':_0x413c29['children']['map'](function(_0x5de1a7){const _0x4d2144=_0xc99d86;return typeof _0x5de1a7[_0x4d2144(0x42e)]['id']==_0x4d2144(0x550)&&_0x46ffd5&&_0x46ffd5['indexOf'](_0x5de1a7[_0x4d2144(0x42e)]['id'])>-0x1?ee(ee({},_0x5de1a7),{'attrs':ee(ee({},_0x5de1a7[_0x4d2144(0x42e)]),{'id':_0x5de1a7[_0x4d2144(0x42e)]['id']+_0x4520d4[_0x4d2144(0x5d4)]})}):_0x5de1a7;})}):_0x413c29;}function sa(){const _0x1ee742=_0x494e14;return Math[_0x1ee742(0x5db)]()[_0x1ee742(0x2b9)](0x24)[_0x1ee742(0x4df)](0x2,0x8);}Ts['displayName']=_0x494e14(0x43a);var ia={'tag':_0x494e14(0x4e5),'attrs':{'fill':_0x494e14(0x31f),'viewBox':_0x494e14(0x330),'width':_0x494e14(0x425),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x494e14(0x1ea)},'children':[{'tag':_0x494e14(0x2e1),'attrs':{'stroke':_0x494e14(0x2ac),'d':_0x494e14(0x47e),'strokeLinecap':_0x494e14(0x4c4),'strokeLinejoin':_0x494e14(0x4c4),'strokeWidth':1.2}}]},{'tag':_0x494e14(0x384),'attrs':{},'children':[{'tag':_0x494e14(0x44a),'attrs':{'id':_0x494e14(0x53f)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x494e14(0x20c)}}]}]}],'defIds':[_0x494e14(0x53f)]},xi=_0x23e8c2(function(_0x501c04,_0x40e13c){const _0x785f69=_0x494e14;return _0x12f720(Ts,Object[_0x785f69(0x34a)]({},_0x501c04,{'id':'off-line-single','ref':_0x40e13c,'icon':ia}));});xi[_0x494e14(0x4bc)]=_0x494e14(0x51d);var na={'tag':_0x494e14(0x4e5),'attrs':{'fill':_0x494e14(0x31f),'viewBox':_0x494e14(0x499),'width':'1em','height':_0x494e14(0x425)},'children':[{'tag':'g','attrs':{'clipPath':_0x494e14(0x22e)},'children':[{'tag':'path','attrs':{'stroke':_0x494e14(0x2ac),'d':_0x494e14(0x36b),'strokeLinecap':_0x494e14(0x4c4),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x494e14(0x384),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x494e14(0x57f),'d':'M0\x200H16V16H0z','transform':_0x494e14(0x383)}}]}]}],'defIds':[_0x494e14(0x26f)]},Li=_0x23e8c2(function(_0x11d222,_0xdd06f3){const _0x3059d2=_0x494e14;return _0x12f720(Ts,Object['assign']({},_0x11d222,{'id':_0x3059d2(0x524),'ref':_0xdd06f3,'icon':na}));});Li['displayName']=_0x494e14(0x44d);function $i(_0x54269c){const _0x110056=_0x494e14;var _0x193664,_0x2225b1,_0x1f374a='';if(typeof _0x54269c==_0x110056(0x550)||typeof _0x54269c==_0x110056(0x214))_0x1f374a+=_0x54269c;else{if(typeof _0x54269c==_0x110056(0x287)){if(Array['isArray'](_0x54269c)){var _0x573497=_0x54269c['length'];for(_0x193664=0x0;_0x193664<_0x573497;_0x193664++)_0x54269c[_0x193664]&&(_0x2225b1=$i(_0x54269c[_0x193664]))&&(_0x1f374a&&(_0x1f374a+='\x20'),_0x1f374a+=_0x2225b1);}else{for(_0x2225b1 in _0x54269c)_0x54269c[_0x2225b1]&&(_0x1f374a&&(_0x1f374a+='\x20'),_0x1f374a+=_0x2225b1);}}}return _0x1f374a;}function ra(){const _0x2e5460=_0x494e14;for(var _0xc4c35f,_0x402f3e,_0xf90287=0x0,_0x353b65='',_0x2bbd89=arguments[_0x2e5460(0x490)];_0xf90287<_0x2bbd89;_0xf90287++)(_0xc4c35f=arguments[_0xf90287])&&(_0x402f3e=$i(_0xc4c35f))&&(_0x353b65&&(_0x353b65+='\x20'),_0x353b65+=_0x402f3e);return _0x353b65;}const oa=_0x494e14(0x5bd),aa=_0x494e14(0x316),ca='univer-online-status',ha=_0x494e14(0x356),la=_0x494e14(0x46c),Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _a(_0x289a82){const _0x17ac2a=_0x494e14;switch(_0x289a82){case J[_0x17ac2a(0x387)]:return'collabStatus.offline';case J[_0x17ac2a(0x32a)]:return'collabStatus.conflict';case J[_0x17ac2a(0x32d)]:return'collabStatus.fetchMiss';case J[_0x17ac2a(0x390)]:return'collabStatus.notCollab';case J['AWAITING']:case J[_0x17ac2a(0x332)]:return _0x17ac2a(0x3fe);case J[_0x17ac2a(0x541)]:case J[_0x17ac2a(0x4b0)]:return _0x17ac2a(0x496);}}function ua(_0x5663df){const _0x3ba12d=_0x494e14,{status$:_0x7d4a40}=_0x5663df,_0x26ed77=_0x11fff2(_0x7d4a40,J[_0x3ba12d(0x390)]),_0x115c1d=_0x45a13b(_0x461b9d),_0x45fad4=_0x45a13b(Ae),_0x1f35fc=_0x26ed77!==J['OFFLINE'],_0x53d2c1=_0x115c1d['t'](_a(_0x26ed77)),_0x39664a=ra(Ze['onlineStatus'],{[Ze[_0x3ba12d(0x416)]]:_0x1f35fc,[Ze[_0x3ba12d(0x2ee)]]:!_0x1f35fc}),_0x45db6d=_0x1f35fc?_0x12a549[_0x3ba12d(0x3da)](Li,null):_0x12a549['createElement'](xi,null),_0x5a2714=_0x368bc5(()=>{const _0x16aa05=_0x3ba12d;_0x1f35fc||_0x45fad4[_0x16aa05(0x34e)]();},[_0x1f35fc,_0x45fad4]);function _0x1ada9c(){const _0x1bc420=_0x3ba12d;return _0x12a549[_0x1bc420(0x3da)](_0x1bc420(0x24e),{'className':_0x39664a,'onClick':_0x5a2714},_0x12a549[_0x1bc420(0x3da)]('div',{'className':Ze[_0x1bc420(0x379)]},_0x45db6d),_0x12a549[_0x1bc420(0x3da)](_0x1bc420(0x24e),{'className':Ze['onlineStatusTitle']},_0x53d2c1));}return _0x1f35fc?_0x1ada9c():_0x12a549['createElement'](_0xf9cdbe,{'title':_0x115c1d['t'](_0x3ba12d(0x5e7))},_0x1ada9c());}var da=Object['defineProperty'],fa=Object[_0x494e14(0x2a4)],va=(_0x1ae5be,_0x322347,_0x90967d,_0x3a2bae)=>{const _0x225570=_0x494e14;for(var _0x58d02f=_0x3a2bae>0x1?void 0x0:_0x3a2bae?fa(_0x322347,_0x90967d):_0x322347,_0x4fa95b=_0x1ae5be[_0x225570(0x490)]-0x1,_0x2bf4df;_0x4fa95b>=0x0;_0x4fa95b--)(_0x2bf4df=_0x1ae5be[_0x4fa95b])&&(_0x58d02f=(_0x3a2bae?_0x2bf4df(_0x322347,_0x90967d,_0x58d02f):_0x2bf4df(_0x58d02f))||_0x58d02f);return _0x3a2bae&&_0x58d02f&&da(_0x322347,_0x90967d,_0x58d02f),_0x58d02f;},lt=(_0xc1f3c3,_0x594932)=>(_0x5a63d9,_0x32e832)=>_0x594932(_0x5a63d9,_0x32e832,_0xc1f3c3);let It=class extends _0x326223{constructor(_0x45f6b4,_0x37c2c8,_0x974984,_0x2bd7cb){const _0xd20971=_0x494e14;super(),g(this,'_status$',new _0x9b8747(J['NOT_COLLAB'])),(this['_univerInstanceService']=_0x45f6b4,this[_0xd20971(0x408)]=_0x37c2c8,this[_0xd20971(0x5a2)]=_0x974984,this[_0xd20971(0x299)]=_0x2bd7cb,this[_0xd20971(0x1e2)](),this[_0xd20971(0x442)]());}['_initStatusListener'](){const _0x4dfef2=_0x494e14;this['disposeWithMe'](this[_0x4dfef2(0x5ee)][_0x4dfef2(0x4a0)][_0x4dfef2(0x3eb)](_0xa0910a(()=>{const _0x5ab505=_0x4dfef2,_0x54e766=this['_univerInstanceService'][_0x5ab505(0x27c)]();return _0x54e766?this[_0x5ab505(0x299)]['getCollabEntity$'](_0x54e766[_0x5ab505(0x467)]()):_0x29feb9(null);}),_0xa0910a(_0x1f24e1=>_0x1f24e1?_0x1f24e1['status$']:_0x29feb9(J[_0x4dfef2(0x390)])))[_0x4dfef2(0x540)](_0x4915b5=>{const _0x39b75c=_0x4dfef2;this[_0x39b75c(0x3b1)][_0x39b75c(0x2d0)](_0x4915b5);}));}[_0x494e14(0x1e2)](){const _0x5aca96=_0x494e14;this[_0x5aca96(0x461)](this[_0x5aca96(0x408)]['registerComponent'](_0x11c25b[_0x5aca96(0x52a)],()=>_0x5aa019(ma({'status$':this[_0x5aca96(0x3b1)][_0x5aca96(0x372)]()}),this[_0x5aca96(0x5a2)])));}};It=va([lt(0x0,_0x15b9fa),lt(0x1,_0x3da767),lt(0x2,_0x41b3da(_0x2087b9)),lt(0x3,_0x41b3da(it))],It);function ma(_0x2b344f){const {status$:_0x4edd19}=_0x2b344f;return function(){const _0x512a89=_0x5d20;return _0x12a549[_0x512a89(0x3da)](ua,{'status$':_0x4edd19});};}const Hi=_0x41367e(_0x494e14(0x280));var pa=Object[_0x494e14(0x421)],ga=Object[_0x494e14(0x2a4)],Sa=(_0x2390d6,_0x967b5e,_0x582a5a,_0x268aa9)=>{const _0x579db9=_0x494e14;for(var _0x240674=_0x268aa9>0x1?void 0x0:_0x268aa9?ga(_0x967b5e,_0x582a5a):_0x967b5e,_0xdff911=_0x2390d6[_0x579db9(0x490)]-0x1,_0x261099;_0xdff911>=0x0;_0xdff911--)(_0x261099=_0x2390d6[_0xdff911])&&(_0x240674=(_0x268aa9?_0x261099(_0x967b5e,_0x582a5a,_0x240674):_0x261099(_0x240674))||_0x240674);return _0x268aa9&&_0x240674&&pa(_0x967b5e,_0x582a5a,_0x240674),_0x240674;},ke=(_0x3489a8,_0x2e8ee9)=>(_0x55b702,_0x527d16)=>_0x2e8ee9(_0x55b702,_0x527d16,_0x3489a8);let Ct=class extends _0x542deb{constructor(_0x423219,_0x664eef,_0x215d68,_0x1caa85,_0xc1a269,_0x36b0c2){const _0x4a3e05=_0x494e14;super(),this[_0x4a3e05(0x580)]=_0x423219,this[_0x4a3e05(0x3c0)]=_0x664eef,this['_commandService']=_0x215d68,this[_0x4a3e05(0x391)]=_0x1caa85,this['_snapshotService']=_0xc1a269,_0x36b0c2?_0x36b0c2==null||_0x36b0c2[_0x4a3e05(0x3d1)]()[_0x4a3e05(0x37e)](()=>this[_0x4a3e05(0x599)]()):(this[_0x4a3e05(0x3c0)][_0x4a3e05(0x359)]('[DataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x4a3e05(0x599)]());}async['_init'](){const _0x57eb82=_0x494e14,_0x39fcee=this[_0x57eb82(0x580)][_0x57eb82(0x288)](_0x57eb82(0x33c)),_0x44c3a5=this[_0x57eb82(0x580)][_0x57eb82(0x288)](_0x57eb82(0x2cd));if(!_0x39fcee||!_0x44c3a5){this['_logService']['debug']('[DataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x44c3a5)){case ce[_0x57eb82(0x5dc)]:{const _0x519b6=await this[_0x57eb82(0x260)](_0x39fcee);this[_0x57eb82(0x569)](_0x519b6);break;}case ce['UNIVER_DOC']:{await this[_0x57eb82(0x5b2)](_0x39fcee);break;}default:{this['_logService']['error'](_0x57eb82(0x329),_0x57eb82(0x284));break;}}}async[_0x494e14(0x569)](_0x56ebe0){const _0x14c028=_0x494e14;await this[_0x14c028(0x4c8)](_0x56ebe0),_0x56ebe0[_0x14c028(0x4db)][_0x14c028(0x3eb)](_0x3ee31c(this['dispose$']))[_0x14c028(0x540)](_0x218630=>{_0x218630&&this['_updateURLWithCurrentState'](_0x218630);}),this['_urlService'][_0x14c028(0x2a7)][_0x14c028(0x3eb)](_0x3ee31c(this[_0x14c028(0x3f5)]))[_0x14c028(0x540)](()=>this['_updateSubUnitFromURLParams'](_0x56ebe0));}[_0x494e14(0x251)](_0x2ebfeb,_0x554c2d=!0x1){const _0x1c5b30=_0x494e14,_0x36cf34=this[_0x1c5b30(0x580)][_0x1c5b30(0x288)](_0x1c5b30(0x485));_0x2ebfeb[_0x1c5b30(0x575)]()!==_0x36cf34&&this['_urlService'][_0x1c5b30(0x349)](_0x1c5b30(0x485),_0x2ebfeb[_0x1c5b30(0x575)](),_0x554c2d);}async['_updateSubUnitFromURLParams'](_0x2ddab9){const _0x1bfc06=_0x494e14;var _0x55aa61;const _0x1445bf=this[_0x1bfc06(0x580)]['getParam'](_0x1bfc06(0x485));if(!_0x1445bf||!_0x2ddab9[_0x1bfc06(0x460)](_0x1445bf)){const _0x2f3e14=_0x2ddab9[_0x1bfc06(0x493)]()[0x0],_0x597316=_0x2ddab9[_0x1bfc06(0x460)](_0x2f3e14);if(!_0x597316)return;this['_updateURLWithCurrentState'](_0x597316,!0x0),await this[_0x1bfc06(0x5ef)][_0x1bfc06(0x3ca)](_0x51c661['id'],{'unitId':_0x2ddab9[_0x1bfc06(0x467)](),'subUnitId':_0x2f3e14});return;}((_0x55aa61=_0x2ddab9[_0x1bfc06(0x431)]())==null?void 0x0:_0x55aa61[_0x1bfc06(0x575)]())!==_0x1445bf&&await this['_commandService'][_0x1bfc06(0x3ca)](_0x51c661['id'],{'unitId':_0x2ddab9[_0x1bfc06(0x467)](),'subUnitId':_0x1445bf});}async[_0x494e14(0x260)](_0x417ea6){const _0x102640=_0x494e14;let _0x5d21c7=0x0;const _0x182fdc=await this[_0x102640(0x391)][_0x102640(0x267)](_0x417ea6);return _0x182fdc&&(_0x182fdc['awaitingChangeset']||_0x182fdc[_0x102640(0x592)][_0x102640(0x490)]!==0x0)&&(_0x5d21c7=_0x182fdc[_0x102640(0x2fb)]),_0x5d21c7===0x0&&this[_0x102640(0x3c0)][_0x102640(0x359)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x102640(0x335)](_0x417ea6,_0x5d21c7);}async[_0x494e14(0x5b2)](_0x1b4ff7){const _0x26b157=_0x494e14;let _0x89596=0x0;const _0x5caf24=await this[_0x26b157(0x391)][_0x26b157(0x267)](_0x1b4ff7);return _0x5caf24&&(_0x5caf24[_0x26b157(0x403)]||_0x5caf24[_0x26b157(0x592)][_0x26b157(0x490)]!==0x0)&&(_0x89596=_0x5caf24['rev']),_0x89596===0x0&&this[_0x26b157(0x3c0)][_0x26b157(0x359)](_0x26b157(0x329),_0x26b157(0x5b7)),this[_0x26b157(0x433)][_0x26b157(0x34c)](_0x1b4ff7,_0x89596);}};Ct=Sa([ke(0x0,Hi),ke(0x1,_0x3bb158),ke(0x2,_0x1c554d),ke(0x3,_0x41b3da(q)),ke(0x4,_0x41b3da(_0x2aa55c)),ke(0x5,_0x38b4fe(_0x3fc56e))],Ct);function _0x5d20(_0x105acf,_0x59ae89){const _0xe4d5ba=_0xe4d5();return _0x5d20=function(_0x5d2016,_0x2ffa8e){_0x5d2016=_0x5d2016-0x1e2;let _0x3a212a=_0xe4d5ba[_0x5d2016];return _0x3a212a;},_0x5d20(_0x105acf,_0x59ae89);}var Ia=Object[_0x494e14(0x421)],Ca=Object[_0x494e14(0x2a4)],Ea=(_0x119315,_0x49dc97,_0x3d8971,_0x51b3cd)=>{const _0x367d67=_0x494e14;for(var _0x413387=_0x51b3cd>0x1?void 0x0:_0x51b3cd?Ca(_0x49dc97,_0x3d8971):_0x49dc97,_0x2fd4a9=_0x119315[_0x367d67(0x490)]-0x1,_0x45670d;_0x2fd4a9>=0x0;_0x2fd4a9--)(_0x45670d=_0x119315[_0x2fd4a9])&&(_0x413387=(_0x51b3cd?_0x45670d(_0x49dc97,_0x3d8971,_0x413387):_0x45670d(_0x413387))||_0x413387);return _0x51b3cd&&_0x413387&&Ia(_0x49dc97,_0x3d8971,_0x413387),_0x413387;},zs=(_0xeae96,_0x5dec02)=>(_0x2e059d,_0x57eaa3)=>_0x5dec02(_0x2e059d,_0x57eaa3,_0xeae96);const ba=_0x494e14(0x325),Ta=_0x494e14(0x2e4);let Et=class extends _0x326223{constructor(_0xb2c3d,_0x55138d){const _0x430a39=_0x494e14;super(),this['_univerInstanceService']=_0xb2c3d,this['_configService']=_0x55138d,this[_0x430a39(0x599)]();}[_0x494e14(0x599)](){const _0x5c3218=_0x494e14;this['disposeWithMe'](this['_univerInstanceService'][_0x5c3218(0x4a0)][_0x5c3218(0x540)](()=>{const _0x2e9514=_0x5c3218;var _0x34450c;const _0x201774=this['_univerInstanceService'][_0x2e9514(0x27c)]();let _0x463375=(_0x34450c=this[_0x2e9514(0x21f)][_0x2e9514(0x27f)](ba))!=null?_0x34450c:Ta;_0x201774 instanceof _0x39984d&&(_0x463375=_0x201774[_0x2e9514(0x40c)]),document[_0x2e9514(0x240)]=_0x463375;}));}};Et=Ea([zs(0x0,_0x15b9fa),zs(0x1,_0x23210b)],Et);var Ra=Object[_0x494e14(0x421)],ya=Object[_0x494e14(0x2a4)],Oa=(_0x14669c,_0x34df64,_0x5379b1,_0x1fc2bb)=>{const _0x4d4679=_0x494e14;for(var _0x31aabe=_0x1fc2bb>0x1?void 0x0:_0x1fc2bb?ya(_0x34df64,_0x5379b1):_0x34df64,_0x4d0256=_0x14669c[_0x4d4679(0x490)]-0x1,_0x2f6681;_0x4d0256>=0x0;_0x4d0256--)(_0x2f6681=_0x14669c[_0x4d0256])&&(_0x31aabe=(_0x1fc2bb?_0x2f6681(_0x34df64,_0x5379b1,_0x31aabe):_0x2f6681(_0x31aabe))||_0x31aabe);return _0x1fc2bb&&_0x31aabe&&Ra(_0x34df64,_0x5379b1,_0x31aabe),_0x31aabe;},Wt=(_0x5334c1,_0x3ccf4e)=>(_0x19963a,_0x1b389b)=>_0x3ccf4e(_0x19963a,_0x1b389b,_0x5334c1);let bt=class{constructor(_0x19234c,_0x5e22b6,_0x5ba396){const _0x138189=_0x494e14;this[_0x138189(0x21f)]=_0x19234c,this[_0x138189(0x55e)]=_0x5e22b6,this[_0x138189(0x52e)]=_0x5ba396,this[_0x138189(0x33f)]();}[_0x494e14(0x33f)](){const _0x423efb=_0x494e14;this['_httpService'][_0x423efb(0x2cb)]({'priority':0x1,'interceptor':(_0xcff82f,_0x4f721e)=>_0x4f721e(_0xcff82f)[_0x423efb(0x3eb)](_0x17ad4b(async _0x208e95=>{const _0x4fa001=_0x423efb,_0x56069b=_0x208e95;if(_0x56069b[_0x4fa001(0x50e)]===0x191&&window['confirm'](this['localeService']['t'](_0x4fa001(0x2aa)))){const _0x8f7fc4=window[_0x4fa001(0x504)](window[_0x4fa001(0x3f0)][_0x4fa001(0x503)]);window[_0x4fa001(0x3f0)][_0x4fa001(0x503)]=this['_getLoginPath']()+_0x4fa001(0x20f)+_0x8f7fc4;}return _0x56069b;}))});}[_0x494e14(0x29c)](){const _0x56656c=_0x494e14;var _0x158215,_0x26316b;const _0x30a5ba=this[_0x56656c(0x21f)]['getConfig'](Ir),_0xd6115a=this['_configService']['getConfig'](ie);return(_0x26316b=(_0x158215=_0xd6115a==null?void 0x0:_0xd6115a['loginUrlKey'])!=null?_0x158215:_0x30a5ba)!=null?_0x26316b:Cr;}};bt=Oa([Wt(0x0,_0x23210b),Wt(0x1,_0x41b3da(_0x2d1de9)),Wt(0x2,_0x41b3da(_0x461b9d))],bt);var wa=Object[_0x494e14(0x421)],Da=Object[_0x494e14(0x2a4)],Pa=(_0x4aaa63,_0x17f55b,_0x4f819e,_0x29f40d)=>{const _0x2186a3=_0x494e14;for(var _0xb4cc16=_0x29f40d>0x1?void 0x0:_0x29f40d?Da(_0x17f55b,_0x4f819e):_0x17f55b,_0x58e47f=_0x4aaa63[_0x2186a3(0x490)]-0x1,_0x4bfb4e;_0x58e47f>=0x0;_0x58e47f--)(_0x4bfb4e=_0x4aaa63[_0x58e47f])&&(_0xb4cc16=(_0x29f40d?_0x4bfb4e(_0x17f55b,_0x4f819e,_0xb4cc16):_0x4bfb4e(_0xb4cc16))||_0xb4cc16);return _0x29f40d&&_0xb4cc16&&wa(_0x17f55b,_0x4f819e,_0xb4cc16),_0xb4cc16;},qs=(_0xafefe9,_0x2cfdae)=>(_0x3ea886,_0x40e614)=>_0x2cfdae(_0x3ea886,_0x40e614,_0xafefe9);const Ua=_0x494e14(0x34f),Na=_0x494e14(0x502);let cs=class extends _0x326223{constructor(_0x130e28,_0x370ded){const _0x3060b3=_0x494e14;super(),this['_HTTPService']=_0x130e28,this['_configService']=_0x370ded,this[_0x3060b3(0x515)]();}[_0x494e14(0x515)](){const _0x201c83=_0x494e14,_0x51bbb4=this;this['disposeWithMe'](this[_0x201c83(0x40e)][_0x201c83(0x2cb)]({'priority':0x3e7,'interceptor':_0x9c14de({'isMatch'(_0x55f0ac){const _0x42acf1=_0x201c83;var _0x588d83;if(_0x55f0ac['method']==='POST'&&((_0x588d83=_0x55f0ac[_0x42acf1(0x58d)])!=null&&_0x588d83[_0x42acf1(0x23b)])){const {objectID:_0x111496,objectType:_0x5614d4}=_0x55f0ac[_0x42acf1(0x58d)][_0x42acf1(0x23b)]||{};if(!_0x111496||_0x5614d4===void 0x0)return!0x1;const _0x887db6=_0x51bbb4[_0x42acf1(0x2b6)]()+'/'+_0x5614d4+_0x42acf1(0x1e9)+_0x111496+_0x42acf1(0x5cd);if(_0x55f0ac['url']===_0x887db6)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5848b4){const _0xf76b0d=_0x201c83;var _0x4c451e;return(_0x4c451e=_0x5848b4[_0xf76b0d(0x58d)])==null?void 0x0:_0x4c451e[_0xf76b0d(0x23b)];},'mergeParamsToRequest'(_0x501169,_0x8e2fa4){const _0x2f5870=_0x201c83,_0xda9e6e=_0x51bbb4['_getAPIPrefixPath']()+_0x2f5870(0x4d6),_0x3d19a9=_0x501169['reduce']((_0x318088,_0x51f995)=>{const _0x1c73a5=_0x2f5870,{unitID:_0x2fb02c,objectID:_0x440c6c,objectType:_0x399edb,actions:_0x2cd1f3}=_0x51f995;return _0x318088[_0x2fb02c]||(_0x318088[_0x2fb02c]={}),_0x318088[_0x2fb02c][_0x440c6c]||(_0x318088[_0x2fb02c][_0x440c6c]={'objectID':_0x440c6c,'objectType':_0x399edb,'actions':[]}),_0x318088[_0x2fb02c][_0x440c6c][_0x1c73a5(0x336)][_0x1c73a5(0x271)](..._0x2cd1f3),_0x318088;},{}),_0xc2841e=[];for(const _0x3c4cb3 in _0x3d19a9)for(const _0x2ec716 in _0x3d19a9[_0x3c4cb3]){const {actions:_0x5a4973,objectType:_0xeca600}=_0x3d19a9[_0x3c4cb3][_0x2ec716],_0x4f61ce=[...new Set(_0x5a4973)];_0xc2841e[_0x2f5870(0x271)]({'unitID':_0x3c4cb3,'objectID':_0x2ec716,'objectType':_0xeca600,'actions':_0x4f61ce});}return new _0x486076('POST',_0xda9e6e,{'headers':_0x8e2fa4['headers'],'withCredentials':_0x8e2fa4['withCredentials'],'responseType':_0x8e2fa4[_0x2f5870(0x3cc)],'body':{'requests':_0xc2841e}});}},{'distributeResult'(_0x487be6,_0x4ff97c){const _0x21ed47=_0x201c83,{objectActions:_0x32ddc6}=_0x487be6;return _0x4ff97c[_0x21ed47(0x5ed)](_0x2322e0=>{const _0x21ec15=_0x21ed47,{unitID:_0x2f5ada,objectID:_0x19ee3a,actions:_0x16f5c7}=_0x2322e0,_0x4fd5af=_0x32ddc6['find'](_0x257e46=>_0x257e46[_0x21ec15(0x55b)]===_0x2f5ada&&_0x257e46['objectID']===_0x19ee3a),_0x140513=_0x16f5c7[_0x21ec15(0x5ed)](_0x4f0bdc=>_0x4fd5af==null?void 0x0:_0x4fd5af[_0x21ec15(0x336)][_0x21ec15(0x32e)](_0x49f99a=>_0x49f99a[_0x21ec15(0x468)]===_0x4f0bdc))['filter'](_0xe6b833=>!!_0xe6b833);return{'config':_0x2322e0,'result':{'actions':_0x140513,'error':_0x487be6[_0x21ec15(0x48a)]}};});}})}));}['_getAPIPrefixPath'](){const _0xfe6569=_0x494e14;var _0x53d46c,_0x145944;const _0x474479=this[_0xfe6569(0x21f)][_0xfe6569(0x27f)](Ua),_0x4918e8=this[_0xfe6569(0x21f)][_0xfe6569(0x27f)](ie);return(_0x145944=(_0x53d46c=_0x4918e8==null?void 0x0:_0x4918e8[_0xfe6569(0x36a)])!=null?_0x53d46c:_0x474479)!=null?_0x145944:Na;}async[_0x494e14(0x21b)](_0x5569f9){const _0x564f6a=_0x494e14,_0x5392f8=this[_0x564f6a(0x2b6)]()+'/'+_0x5569f9[_0x564f6a(0x529)]+_0x564f6a(0x45e);return(await this[_0x564f6a(0x40e)][_0x564f6a(0x313)](_0x5392f8,{'body':_0x5569f9}))['body']['objectID']||'';}async[_0x494e14(0x317)](_0x274495){const _0x5baa5a=_0x494e14,_0x14bfa7=this[_0x5baa5a(0x2b6)]()+_0x5baa5a(0x327);return(await this[_0x5baa5a(0x40e)][_0x5baa5a(0x313)](_0x14bfa7,{'body':_0x274495}))['body'][_0x5baa5a(0x414)];}async[_0x494e14(0x44b)](_0x2ebf5d){const _0x35bbe2=_0x494e14,_0x15a272=this['_getAPIPrefixPath']()+'/'+_0x2ebf5d['objectType']+_0x35bbe2(0x1e9)+_0x2ebf5d[_0x35bbe2(0x531)];await this[_0x35bbe2(0x40e)][_0x35bbe2(0x525)](_0x15a272,{'body':_0x2ebf5d});}async[_0x494e14(0x48d)](_0x591a44){const _0x22dbd5=_0x494e14,_0x48985d=this[_0x22dbd5(0x2b6)]()+'/'+_0x591a44[_0x22dbd5(0x529)]+_0x22dbd5(0x1e9)+_0x591a44['objectID']+_0x22dbd5(0x5cd);return(await this[_0x22dbd5(0x40e)]['post'](_0x48985d,{'body':_0x591a44}))[_0x22dbd5(0x23b)][_0x22dbd5(0x336)];}async[_0x494e14(0x259)](_0x27d49b){const _0x3c53fe=_0x494e14,_0x5b1f8d=this[_0x3c53fe(0x2b6)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService']['post'](_0x5b1f8d,{'body':{'requests':_0x27d49b}}))[_0x3c53fe(0x23b)]['objectActions'];}async[_0x494e14(0x35b)](_0x280039){const _0x5894ac=_0x494e14,_0x4aafc8=this[_0x5894ac(0x2b6)]()+'/'+_0x280039['objectType']+_0x5894ac(0x1e8),_0x558df2=await this[_0x5894ac(0x40e)][_0x5894ac(0x313)](_0x4aafc8,{'body':_0x280039});return{'roles':_0x558df2[_0x5894ac(0x23b)]['roles'],'actions':_0x558df2[_0x5894ac(0x23b)][_0x5894ac(0x336)]};}async[_0x494e14(0x258)](_0x19f93a){const _0x1a71c2=_0x494e14,_0x3ab051=this[_0x1a71c2(0x2b6)]()+'/collaborator';await this[_0x1a71c2(0x40e)][_0x1a71c2(0x534)](_0x3ab051,{'params':{'collaboratorID':_0x19f93a[_0x1a71c2(0x426)],'objectID':_0x19f93a[_0x1a71c2(0x531)],'unitID':_0x19f93a['unitID']}});}async[_0x494e14(0x3e3)](_0x31006f){const _0x1ac542=_0x494e14,_0x46b837=this[_0x1ac542(0x2b6)]()+_0x1ac542(0x223);await this[_0x1ac542(0x40e)][_0x1ac542(0x376)](_0x46b837,{'body':_0x31006f});}async['createCollaborator'](_0x2e5eca){const _0x481bb6=_0x494e14,_0x17083a=this[_0x481bb6(0x2b6)]()+_0x481bb6(0x223);await this[_0x481bb6(0x40e)][_0x481bb6(0x313)](_0x17083a,{'body':_0x2e5eca});}async[_0x494e14(0x4da)](_0x557fdc){const _0x2fd2e7=_0x494e14,_0x1b9ec6=this[_0x2fd2e7(0x2b6)]()+_0x2fd2e7(0x223);return(await this['_HTTPService'][_0x2fd2e7(0x38a)](_0x1b9ec6,{'params':{'objectID':_0x557fdc[_0x2fd2e7(0x531)],'unitID':_0x557fdc['unitID']}}))[_0x2fd2e7(0x23b)][_0x2fd2e7(0x4ed)];}async['putCollaborators'](_0x5c960a){const _0x3d9f31=_0x494e14,_0x5f28fd=this[_0x3d9f31(0x2b6)]()+'/collaborator';await this[_0x3d9f31(0x40e)][_0x3d9f31(0x525)](_0x5f28fd,{'body':_0x5c960a});}};cs=Pa([qs(0x0,_0x41b3da(_0x2d1de9)),qs(0x1,_0x41b3da(_0x23210b))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x563eb0){const _0x4ac16a=_0x494e14;return _0x563eb0&&_0x563eb0['__esModule']&&Object[_0x4ac16a(0x2f7)]['hasOwnProperty'][_0x4ac16a(0x450)](_0x563eb0,'default')?_0x563eb0[_0x4ac16a(0x488)]:_0x563eb0;}var ji={'exports':{}};function Aa(_0x5a5262){const _0x50cbc3=_0x494e14;throw new Error(_0x50cbc3(0x4d7)+_0x5a5262+'\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 _0x198bbe=_0x494e14;return Xs||(Xs=0x1,function(_0x568035,_0x30065f){(function(_0x2074e5,_0x30c8bb){const _0x1d28a6=_0x5d20;_0x568035[_0x1d28a6(0x3b6)]=_0x30c8bb();}(Z,function(){var _0x24340a=_0x24340a||function(_0x457dc0,_0x43f086){const _0x53a10a=_0x5d20;var _0x4d76a9;if(typeof window<'u'&&window[_0x53a10a(0x4f9)]&&(_0x4d76a9=window[_0x53a10a(0x4f9)]),typeof self<'u'&&self[_0x53a10a(0x4f9)]&&(_0x4d76a9=self[_0x53a10a(0x4f9)]),typeof globalThis<'u'&&globalThis[_0x53a10a(0x4f9)]&&(_0x4d76a9=globalThis[_0x53a10a(0x4f9)]),!_0x4d76a9&&typeof window<'u'&&window[_0x53a10a(0x204)]&&(_0x4d76a9=window[_0x53a10a(0x204)]),!_0x4d76a9&&typeof Z<'u'&&Z[_0x53a10a(0x4f9)]&&(_0x4d76a9=Z[_0x53a10a(0x4f9)]),!_0x4d76a9&&typeof Aa==_0x53a10a(0x272))try{_0x4d76a9=require(_0x53a10a(0x4f9));}catch{}var _0x234c9a=function(){const _0x444d1b=_0x53a10a;if(_0x4d76a9){if(typeof _0x4d76a9[_0x444d1b(0x38c)]==_0x444d1b(0x272))try{return _0x4d76a9[_0x444d1b(0x38c)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4d76a9[_0x444d1b(0x3d2)]==_0x444d1b(0x272))try{return _0x4d76a9['randomBytes'](0x4)[_0x444d1b(0x590)]();}catch{}}throw new Error(_0x444d1b(0x432));},_0x2b0f11=Object[_0x53a10a(0x21b)]||(function(){function _0x3b0134(){}return function(_0x3fee33){const _0x4b9b98=_0x5d20;var _0x3d8df7;return _0x3b0134[_0x4b9b98(0x2f7)]=_0x3fee33,_0x3d8df7=new _0x3b0134(),_0x3b0134[_0x4b9b98(0x2f7)]=null,_0x3d8df7;};}()),_0x5c81f1={},_0x354e18=_0x5c81f1[_0x53a10a(0x45c)]={},_0x2eaa0e=_0x354e18[_0x53a10a(0x5d8)]=(function(){return{'extend':function(_0x16a756){const _0x39e0d4=_0x5d20;var _0x2bd84c=_0x2b0f11(this);return _0x16a756&&_0x2bd84c['mixIn'](_0x16a756),(!_0x2bd84c[_0x39e0d4(0x36c)]('init')||this[_0x39e0d4(0x33f)]===_0x2bd84c[_0x39e0d4(0x33f)])&&(_0x2bd84c[_0x39e0d4(0x33f)]=function(){const _0xefd85b=_0x39e0d4;_0x2bd84c[_0xefd85b(0x5ba)][_0xefd85b(0x33f)][_0xefd85b(0x262)](this,arguments);}),_0x2bd84c['init'][_0x39e0d4(0x2f7)]=_0x2bd84c,_0x2bd84c[_0x39e0d4(0x5ba)]=this,_0x2bd84c;},'create':function(){const _0x31217b=_0x5d20;var _0x5e7925=this['extend']();return _0x5e7925[_0x31217b(0x33f)][_0x31217b(0x262)](_0x5e7925,arguments),_0x5e7925;},'init':function(){},'mixIn':function(_0x518d15){const _0x244349=_0x5d20;for(var _0x1b0a1b in _0x518d15)_0x518d15[_0x244349(0x36c)](_0x1b0a1b)&&(this[_0x1b0a1b]=_0x518d15[_0x1b0a1b]);_0x518d15[_0x244349(0x36c)](_0x244349(0x2b9))&&(this[_0x244349(0x2b9)]=_0x518d15['toString']);},'clone':function(){const _0x950e4a=_0x5d20;return this[_0x950e4a(0x33f)][_0x950e4a(0x2f7)][_0x950e4a(0x538)](this);}};}()),_0x4ce103=_0x354e18['WordArray']=_0x2eaa0e['extend']({'init':function(_0x48d656,_0x5b4cbf){const _0x543266=_0x53a10a;_0x48d656=this[_0x543266(0x3f6)]=_0x48d656||[],_0x5b4cbf!=_0x43f086?this[_0x543266(0x455)]=_0x5b4cbf:this[_0x543266(0x455)]=_0x48d656[_0x543266(0x490)]*0x4;},'toString':function(_0x7cd09c){const _0x4ef740=_0x53a10a;return(_0x7cd09c||_0xc9c0d9)[_0x4ef740(0x415)](this);},'concat':function(_0x5c7c20){const _0x4bf9c7=_0x53a10a;var _0x2c1724=this[_0x4bf9c7(0x3f6)],_0x2d6adf=_0x5c7c20[_0x4bf9c7(0x3f6)],_0x124570=this[_0x4bf9c7(0x455)],_0x191205=_0x5c7c20['sigBytes'];if(this[_0x4bf9c7(0x5c0)](),_0x124570%0x4)for(var _0x259ff6=0x0;_0x259ff6<_0x191205;_0x259ff6++){var _0x387e1d=_0x2d6adf[_0x259ff6>>>0x2]>>>0x18-_0x259ff6%0x4*0x8&0xff;_0x2c1724[_0x124570+_0x259ff6>>>0x2]|=_0x387e1d<<0x18-(_0x124570+_0x259ff6)%0x4*0x8;}else{for(var _0x24684b=0x0;_0x24684b<_0x191205;_0x24684b+=0x4)_0x2c1724[_0x124570+_0x24684b>>>0x2]=_0x2d6adf[_0x24684b>>>0x2];}return this[_0x4bf9c7(0x455)]+=_0x191205,this;},'clamp':function(){const _0x51d4b3=_0x53a10a;var _0x12c13c=this[_0x51d4b3(0x3f6)],_0x61b49d=this[_0x51d4b3(0x455)];_0x12c13c[_0x61b49d>>>0x2]&=0xffffffff<<0x20-_0x61b49d%0x4*0x8,_0x12c13c[_0x51d4b3(0x490)]=_0x457dc0[_0x51d4b3(0x3b7)](_0x61b49d/0x4);},'clone':function(){const _0x53e4f6=_0x53a10a;var _0x165db=_0x2eaa0e['clone'][_0x53e4f6(0x450)](this);return _0x165db[_0x53e4f6(0x3f6)]=this[_0x53e4f6(0x3f6)][_0x53e4f6(0x22c)](0x0),_0x165db;},'random':function(_0x39d4ab){const _0xb29402=_0x53a10a;for(var _0x1157ba=[],_0x391afb=0x0;_0x391afb<_0x39d4ab;_0x391afb+=0x4)_0x1157ba[_0xb29402(0x271)](_0x234c9a());return new _0x4ce103[(_0xb29402(0x33f))](_0x1157ba,_0x39d4ab);}}),_0x5ea221=_0x5c81f1[_0x53a10a(0x407)]={},_0xc9c0d9=_0x5ea221[_0x53a10a(0x371)]={'stringify':function(_0x308468){const _0x3e1504=_0x53a10a;for(var _0x296ad4=_0x308468['words'],_0x45c40b=_0x308468[_0x3e1504(0x455)],_0x215495=[],_0x4f5b59=0x0;_0x4f5b59<_0x45c40b;_0x4f5b59++){var _0x4bf398=_0x296ad4[_0x4f5b59>>>0x2]>>>0x18-_0x4f5b59%0x4*0x8&0xff;_0x215495['push']((_0x4bf398>>>0x4)['toString'](0x10)),_0x215495['push']((_0x4bf398&0xf)['toString'](0x10));}return _0x215495['join']('');},'parse':function(_0x4c80d9){const _0x22a745=_0x53a10a;for(var _0x329e3f=_0x4c80d9[_0x22a745(0x490)],_0x433ad9=[],_0x22780e=0x0;_0x22780e<_0x329e3f;_0x22780e+=0x2)_0x433ad9[_0x22780e>>>0x3]|=parseInt(_0x4c80d9[_0x22a745(0x5a4)](_0x22780e,0x2),0x10)<<0x18-_0x22780e%0x8*0x4;return new _0x4ce103[(_0x22a745(0x33f))](_0x433ad9,_0x329e3f/0x2);}},_0x186abd=_0x5ea221[_0x53a10a(0x3c2)]={'stringify':function(_0x436c09){const _0x961605=_0x53a10a;for(var _0x3df512=_0x436c09['words'],_0x1f7d43=_0x436c09[_0x961605(0x455)],_0x3629ef=[],_0x1eb4b0=0x0;_0x1eb4b0<_0x1f7d43;_0x1eb4b0++){var _0x54b79b=_0x3df512[_0x1eb4b0>>>0x2]>>>0x18-_0x1eb4b0%0x4*0x8&0xff;_0x3629ef[_0x961605(0x271)](String[_0x961605(0x244)](_0x54b79b));}return _0x3629ef[_0x961605(0x3c7)]('');},'parse':function(_0x43089a){const _0x560571=_0x53a10a;for(var _0xa32419=_0x43089a[_0x560571(0x490)],_0x40d2f3=[],_0x356a9f=0x0;_0x356a9f<_0xa32419;_0x356a9f++)_0x40d2f3[_0x356a9f>>>0x2]|=(_0x43089a['charCodeAt'](_0x356a9f)&0xff)<<0x18-_0x356a9f%0x4*0x8;return new _0x4ce103[(_0x560571(0x33f))](_0x40d2f3,_0xa32419);}},_0x56fc6f=_0x5ea221[_0x53a10a(0x459)]={'stringify':function(_0x1b0918){const _0x67e995=_0x53a10a;try{return decodeURIComponent(escape(_0x186abd[_0x67e995(0x415)](_0x1b0918)));}catch{throw new Error(_0x67e995(0x326));}},'parse':function(_0x551f35){const _0x14a816=_0x53a10a;return _0x186abd[_0x14a816(0x39a)](unescape(encodeURIComponent(_0x551f35)));}},_0x42ca9f=_0x354e18[_0x53a10a(0x3b0)]=_0x2eaa0e['extend']({'reset':function(){const _0x28ec89=_0x53a10a;this[_0x28ec89(0x579)]=new _0x4ce103[(_0x28ec89(0x33f))](),this[_0x28ec89(0x32b)]=0x0;},'_append':function(_0x1dad87){const _0x908183=_0x53a10a;typeof _0x1dad87==_0x908183(0x550)&&(_0x1dad87=_0x56fc6f[_0x908183(0x39a)](_0x1dad87)),this[_0x908183(0x579)]['concat'](_0x1dad87),this[_0x908183(0x32b)]+=_0x1dad87[_0x908183(0x455)];},'_process':function(_0x1cb305){const _0xd04fef=_0x53a10a;var _0x1cfa8c,_0x3fffd6=this['_data'],_0xfbaa65=_0x3fffd6[_0xd04fef(0x3f6)],_0x1c6ecf=_0x3fffd6['sigBytes'],_0x3e6395=this['blockSize'],_0x330865=_0x3e6395*0x4,_0xca5b79=_0x1c6ecf/_0x330865;_0x1cb305?_0xca5b79=_0x457dc0[_0xd04fef(0x3b7)](_0xca5b79):_0xca5b79=_0x457dc0['max']((_0xca5b79|0x0)-this[_0xd04fef(0x203)],0x0);var _0x2f6e5b=_0xca5b79*_0x3e6395,_0x134e4e=_0x457dc0[_0xd04fef(0x205)](_0x2f6e5b*0x4,_0x1c6ecf);if(_0x2f6e5b){for(var _0x2f038b=0x0;_0x2f038b<_0x2f6e5b;_0x2f038b+=_0x3e6395)this['_doProcessBlock'](_0xfbaa65,_0x2f038b);_0x1cfa8c=_0xfbaa65['splice'](0x0,_0x2f6e5b),_0x3fffd6['sigBytes']-=_0x134e4e;}return new _0x4ce103['init'](_0x1cfa8c,_0x134e4e);},'clone':function(){const _0x59663d=_0x53a10a;var _0x4dadaa=_0x2eaa0e[_0x59663d(0x445)][_0x59663d(0x450)](this);return _0x4dadaa[_0x59663d(0x579)]=this['_data'][_0x59663d(0x445)](),_0x4dadaa;},'_minBufferSize':0x0});_0x354e18[_0x53a10a(0x3a3)]=_0x42ca9f[_0x53a10a(0x538)]({'cfg':_0x2eaa0e['extend'](),'init':function(_0x240fc4){const _0x2f44cc=_0x53a10a;this[_0x2f44cc(0x5ec)]=this[_0x2f44cc(0x5ec)][_0x2f44cc(0x538)](_0x240fc4),this[_0x2f44cc(0x5a9)]();},'reset':function(){const _0x187626=_0x53a10a;_0x42ca9f['reset'][_0x187626(0x450)](this),this[_0x187626(0x54a)]();},'update':function(_0x469dbb){const _0x3be623=_0x53a10a;return this[_0x3be623(0x5b0)](_0x469dbb),this[_0x3be623(0x5d2)](),this;},'finalize':function(_0x34c1ab){const _0x10ce1a=_0x53a10a;_0x34c1ab&&this[_0x10ce1a(0x5b0)](_0x34c1ab);var _0x23a471=this[_0x10ce1a(0x2a9)]();return _0x23a471;},'blockSize':0x10,'_createHelper':function(_0x16d020){return function(_0x255394,_0x516d9b){return new _0x16d020['init'](_0x516d9b)['finalize'](_0x255394);};},'_createHmacHelper':function(_0x19bef8){return function(_0x1ea084,_0x2576b1){const _0x2ed187=_0x5d20;return new _0x23f5d1[(_0x2ed187(0x3cb))]['init'](_0x19bef8,_0x2576b1)[_0x2ed187(0x303)](_0x1ea084);};}});var _0x23f5d1=_0x5c81f1['algo']={};return _0x5c81f1;}(Math);return _0x24340a;}));}(Ft)),Ft[_0x198bbe(0x3b6)];}var Vt={'exports':{}},Js;function Bi(){const _0x54c5ba=_0x494e14;return Js||(Js=0x1,function(_0x4488c6,_0x2c9990){(function(_0x7f8711,_0x469da1){const _0x380dc2=_0x5d20;_0x4488c6[_0x380dc2(0x3b6)]=_0x469da1(ue());}(Z,function(_0x575af0){const _0x423f7f=_0x5d20;return(function(){const _0x80a1fe=_0x5d20;var _0x3a9c43=_0x575af0,_0x2160dc=_0x3a9c43[_0x80a1fe(0x45c)],_0x30d3fc=_0x2160dc[_0x80a1fe(0x4ce)],_0x338d75=_0x3a9c43['enc'];_0x338d75[_0x80a1fe(0x49b)]={'stringify':function(_0x3c31d6){const _0x1506ee=_0x80a1fe;var _0x3f20d6=_0x3c31d6['words'],_0x4be813=_0x3c31d6[_0x1506ee(0x455)],_0x228440=this['_map'];_0x3c31d6[_0x1506ee(0x5c0)]();for(var _0x589916=[],_0x140716=0x0;_0x140716<_0x4be813;_0x140716+=0x3)for(var _0x170ec2=_0x3f20d6[_0x140716>>>0x2]>>>0x18-_0x140716%0x4*0x8&0xff,_0x49a410=_0x3f20d6[_0x140716+0x1>>>0x2]>>>0x18-(_0x140716+0x1)%0x4*0x8&0xff,_0x40efea=_0x3f20d6[_0x140716+0x2>>>0x2]>>>0x18-(_0x140716+0x2)%0x4*0x8&0xff,_0x2bd73c=_0x170ec2<<0x10|_0x49a410<<0x8|_0x40efea,_0x61ecd0=0x0;_0x61ecd0<0x4&&_0x140716+_0x61ecd0*0.75<_0x4be813;_0x61ecd0++)_0x589916[_0x1506ee(0x271)](_0x228440[_0x1506ee(0x308)](_0x2bd73c>>>0x6*(0x3-_0x61ecd0)&0x3f));var _0x4aece9=_0x228440[_0x1506ee(0x308)](0x40);if(_0x4aece9){for(;_0x589916[_0x1506ee(0x490)]%0x4;)_0x589916[_0x1506ee(0x271)](_0x4aece9);}return _0x589916[_0x1506ee(0x3c7)]('');},'parse':function(_0xd7559b){const _0x33ffc3=_0x80a1fe;var _0x1e2857=_0xd7559b['length'],_0x4c32dd=this[_0x33ffc3(0x5d5)],_0x4d7672=this['_reverseMap'];if(!_0x4d7672){_0x4d7672=this['_reverseMap']=[];for(var _0x24ff1e=0x0;_0x24ff1e<_0x4c32dd[_0x33ffc3(0x490)];_0x24ff1e++)_0x4d7672[_0x4c32dd[_0x33ffc3(0x59e)](_0x24ff1e)]=_0x24ff1e;}var _0x1a3452=_0x4c32dd['charAt'](0x40);if(_0x1a3452){var _0x35ef69=_0xd7559b[_0x33ffc3(0x420)](_0x1a3452);_0x35ef69!==-0x1&&(_0x1e2857=_0x35ef69);}return _0x212e91(_0xd7559b,_0x1e2857,_0x4d7672);},'_map':_0x80a1fe(0x49e)};function _0x212e91(_0xb9af0e,_0x1a5758,_0x4a8601){const _0x39e896=_0x80a1fe;for(var _0x5853ac=[],_0x2a6452=0x0,_0x56a982=0x0;_0x56a982<_0x1a5758;_0x56a982++)if(_0x56a982%0x4){var _0x4ab1fd=_0x4a8601[_0xb9af0e['charCodeAt'](_0x56a982-0x1)]<<_0x56a982%0x4*0x2,_0x4d720f=_0x4a8601[_0xb9af0e['charCodeAt'](_0x56a982)]>>>0x6-_0x56a982%0x4*0x2,_0x3bef90=_0x4ab1fd|_0x4d720f;_0x5853ac[_0x2a6452>>>0x2]|=_0x3bef90<<0x18-_0x2a6452%0x4*0x8,_0x2a6452++;}return _0x30d3fc[_0x39e896(0x21b)](_0x5853ac,_0x2a6452);}}()),_0x575af0[_0x423f7f(0x407)]['Base64'];}));}(Vt)),Vt[_0x54c5ba(0x3b6)];}var Gt={'exports':{}},Zs;function Ma(){const _0x142756=_0x494e14;return Zs||(Zs=0x1,function(_0x2f0d17,_0x4ab7b8){(function(_0x3d8f58,_0x3236cc){_0x2f0d17['exports']=_0x3236cc(ue());}(Z,function(_0x305651){const _0x3b5b4e=_0x5d20;return function(_0x335a3a){const _0x1d667b=_0x5d20;var _0x373e43=_0x305651,_0x53b5cc=_0x373e43[_0x1d667b(0x45c)],_0x55ce90=_0x53b5cc['WordArray'],_0x1ddd4e=_0x53b5cc['Hasher'],_0x1e6986=_0x373e43[_0x1d667b(0x439)],_0x3af24e=[];(function(){const _0x5a12fc=_0x1d667b;for(var _0xed762d=0x0;_0xed762d<0x40;_0xed762d++)_0x3af24e[_0xed762d]=_0x335a3a[_0x5a12fc(0x3b9)](_0x335a3a['sin'](_0xed762d+0x1))*0x100000000|0x0;}());var _0x41f502=_0x1e6986['MD5']=_0x1ddd4e[_0x1d667b(0x538)]({'_doReset':function(){const _0x2e4721=_0x1d667b;this[_0x2e4721(0x43d)]=new _0x55ce90['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4c749e,_0x5d8b72){const _0x3c6e74=_0x1d667b;for(var _0x51fcc0=0x0;_0x51fcc0<0x10;_0x51fcc0++){var _0x1e0b16=_0x5d8b72+_0x51fcc0,_0x425e14=_0x4c749e[_0x1e0b16];_0x4c749e[_0x1e0b16]=(_0x425e14<<0x8|_0x425e14>>>0x18)&0xff00ff|(_0x425e14<<0x18|_0x425e14>>>0x8)&0xff00ff00;}var _0x23ba58=this[_0x3c6e74(0x43d)]['words'],_0xedb0eb=_0x4c749e[_0x5d8b72+0x0],_0x2f1973=_0x4c749e[_0x5d8b72+0x1],_0x3f28eb=_0x4c749e[_0x5d8b72+0x2],_0x456cc4=_0x4c749e[_0x5d8b72+0x3],_0x177c20=_0x4c749e[_0x5d8b72+0x4],_0x2b7488=_0x4c749e[_0x5d8b72+0x5],_0x5b4523=_0x4c749e[_0x5d8b72+0x6],_0x219ab7=_0x4c749e[_0x5d8b72+0x7],_0x20e9d0=_0x4c749e[_0x5d8b72+0x8],_0x2735d5=_0x4c749e[_0x5d8b72+0x9],_0x595e62=_0x4c749e[_0x5d8b72+0xa],_0x83f4b7=_0x4c749e[_0x5d8b72+0xb],_0x2284fb=_0x4c749e[_0x5d8b72+0xc],_0x49748e=_0x4c749e[_0x5d8b72+0xd],_0x1fd82c=_0x4c749e[_0x5d8b72+0xe],_0x13b05e=_0x4c749e[_0x5d8b72+0xf],_0x1f2b03=_0x23ba58[0x0],_0x1610c2=_0x23ba58[0x1],_0x2f515b=_0x23ba58[0x2],_0x1111e1=_0x23ba58[0x3];_0x1f2b03=_0x3d39c1(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0xedb0eb,0x7,_0x3af24e[0x0]),_0x1111e1=_0x3d39c1(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x2f1973,0xc,_0x3af24e[0x1]),_0x2f515b=_0x3d39c1(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x3f28eb,0x11,_0x3af24e[0x2]),_0x1610c2=_0x3d39c1(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x456cc4,0x16,_0x3af24e[0x3]),_0x1f2b03=_0x3d39c1(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x177c20,0x7,_0x3af24e[0x4]),_0x1111e1=_0x3d39c1(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x2b7488,0xc,_0x3af24e[0x5]),_0x2f515b=_0x3d39c1(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x5b4523,0x11,_0x3af24e[0x6]),_0x1610c2=_0x3d39c1(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x219ab7,0x16,_0x3af24e[0x7]),_0x1f2b03=_0x3d39c1(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x20e9d0,0x7,_0x3af24e[0x8]),_0x1111e1=_0x3d39c1(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x2735d5,0xc,_0x3af24e[0x9]),_0x2f515b=_0x3d39c1(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x595e62,0x11,_0x3af24e[0xa]),_0x1610c2=_0x3d39c1(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x83f4b7,0x16,_0x3af24e[0xb]),_0x1f2b03=_0x3d39c1(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x2284fb,0x7,_0x3af24e[0xc]),_0x1111e1=_0x3d39c1(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x49748e,0xc,_0x3af24e[0xd]),_0x2f515b=_0x3d39c1(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x1fd82c,0x11,_0x3af24e[0xe]),_0x1610c2=_0x3d39c1(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x13b05e,0x16,_0x3af24e[0xf]),_0x1f2b03=_0x1f29b6(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x2f1973,0x5,_0x3af24e[0x10]),_0x1111e1=_0x1f29b6(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x5b4523,0x9,_0x3af24e[0x11]),_0x2f515b=_0x1f29b6(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x83f4b7,0xe,_0x3af24e[0x12]),_0x1610c2=_0x1f29b6(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0xedb0eb,0x14,_0x3af24e[0x13]),_0x1f2b03=_0x1f29b6(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x2b7488,0x5,_0x3af24e[0x14]),_0x1111e1=_0x1f29b6(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x595e62,0x9,_0x3af24e[0x15]),_0x2f515b=_0x1f29b6(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x13b05e,0xe,_0x3af24e[0x16]),_0x1610c2=_0x1f29b6(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x177c20,0x14,_0x3af24e[0x17]),_0x1f2b03=_0x1f29b6(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x2735d5,0x5,_0x3af24e[0x18]),_0x1111e1=_0x1f29b6(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x1fd82c,0x9,_0x3af24e[0x19]),_0x2f515b=_0x1f29b6(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x456cc4,0xe,_0x3af24e[0x1a]),_0x1610c2=_0x1f29b6(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x20e9d0,0x14,_0x3af24e[0x1b]),_0x1f2b03=_0x1f29b6(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x49748e,0x5,_0x3af24e[0x1c]),_0x1111e1=_0x1f29b6(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x3f28eb,0x9,_0x3af24e[0x1d]),_0x2f515b=_0x1f29b6(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x219ab7,0xe,_0x3af24e[0x1e]),_0x1610c2=_0x1f29b6(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x2284fb,0x14,_0x3af24e[0x1f]),_0x1f2b03=_0x180ad2(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x2b7488,0x4,_0x3af24e[0x20]),_0x1111e1=_0x180ad2(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x20e9d0,0xb,_0x3af24e[0x21]),_0x2f515b=_0x180ad2(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x83f4b7,0x10,_0x3af24e[0x22]),_0x1610c2=_0x180ad2(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x1fd82c,0x17,_0x3af24e[0x23]),_0x1f2b03=_0x180ad2(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x2f1973,0x4,_0x3af24e[0x24]),_0x1111e1=_0x180ad2(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x177c20,0xb,_0x3af24e[0x25]),_0x2f515b=_0x180ad2(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x219ab7,0x10,_0x3af24e[0x26]),_0x1610c2=_0x180ad2(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x595e62,0x17,_0x3af24e[0x27]),_0x1f2b03=_0x180ad2(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x49748e,0x4,_0x3af24e[0x28]),_0x1111e1=_0x180ad2(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0xedb0eb,0xb,_0x3af24e[0x29]),_0x2f515b=_0x180ad2(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x456cc4,0x10,_0x3af24e[0x2a]),_0x1610c2=_0x180ad2(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x5b4523,0x17,_0x3af24e[0x2b]),_0x1f2b03=_0x180ad2(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x2735d5,0x4,_0x3af24e[0x2c]),_0x1111e1=_0x180ad2(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x2284fb,0xb,_0x3af24e[0x2d]),_0x2f515b=_0x180ad2(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x13b05e,0x10,_0x3af24e[0x2e]),_0x1610c2=_0x180ad2(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x3f28eb,0x17,_0x3af24e[0x2f]),_0x1f2b03=_0x2127dd(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0xedb0eb,0x6,_0x3af24e[0x30]),_0x1111e1=_0x2127dd(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x219ab7,0xa,_0x3af24e[0x31]),_0x2f515b=_0x2127dd(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x1fd82c,0xf,_0x3af24e[0x32]),_0x1610c2=_0x2127dd(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x2b7488,0x15,_0x3af24e[0x33]),_0x1f2b03=_0x2127dd(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x2284fb,0x6,_0x3af24e[0x34]),_0x1111e1=_0x2127dd(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x456cc4,0xa,_0x3af24e[0x35]),_0x2f515b=_0x2127dd(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x595e62,0xf,_0x3af24e[0x36]),_0x1610c2=_0x2127dd(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x2f1973,0x15,_0x3af24e[0x37]),_0x1f2b03=_0x2127dd(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x20e9d0,0x6,_0x3af24e[0x38]),_0x1111e1=_0x2127dd(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x13b05e,0xa,_0x3af24e[0x39]),_0x2f515b=_0x2127dd(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x5b4523,0xf,_0x3af24e[0x3a]),_0x1610c2=_0x2127dd(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x49748e,0x15,_0x3af24e[0x3b]),_0x1f2b03=_0x2127dd(_0x1f2b03,_0x1610c2,_0x2f515b,_0x1111e1,_0x177c20,0x6,_0x3af24e[0x3c]),_0x1111e1=_0x2127dd(_0x1111e1,_0x1f2b03,_0x1610c2,_0x2f515b,_0x83f4b7,0xa,_0x3af24e[0x3d]),_0x2f515b=_0x2127dd(_0x2f515b,_0x1111e1,_0x1f2b03,_0x1610c2,_0x3f28eb,0xf,_0x3af24e[0x3e]),_0x1610c2=_0x2127dd(_0x1610c2,_0x2f515b,_0x1111e1,_0x1f2b03,_0x2735d5,0x15,_0x3af24e[0x3f]),_0x23ba58[0x0]=_0x23ba58[0x0]+_0x1f2b03|0x0,_0x23ba58[0x1]=_0x23ba58[0x1]+_0x1610c2|0x0,_0x23ba58[0x2]=_0x23ba58[0x2]+_0x2f515b|0x0,_0x23ba58[0x3]=_0x23ba58[0x3]+_0x1111e1|0x0;},'_doFinalize':function(){const _0x4aba58=_0x1d667b;var _0x1b7fcf=this[_0x4aba58(0x579)],_0x2f2a82=_0x1b7fcf[_0x4aba58(0x3f6)],_0x300aa1=this[_0x4aba58(0x32b)]*0x8,_0x375af2=_0x1b7fcf[_0x4aba58(0x455)]*0x8;_0x2f2a82[_0x375af2>>>0x5]|=0x80<<0x18-_0x375af2%0x20;var _0x1dd033=_0x335a3a[_0x4aba58(0x2f6)](_0x300aa1/0x100000000),_0x1f318c=_0x300aa1;_0x2f2a82[(_0x375af2+0x40>>>0x9<<0x4)+0xf]=(_0x1dd033<<0x8|_0x1dd033>>>0x18)&0xff00ff|(_0x1dd033<<0x18|_0x1dd033>>>0x8)&0xff00ff00,_0x2f2a82[(_0x375af2+0x40>>>0x9<<0x4)+0xe]=(_0x1f318c<<0x8|_0x1f318c>>>0x18)&0xff00ff|(_0x1f318c<<0x18|_0x1f318c>>>0x8)&0xff00ff00,_0x1b7fcf[_0x4aba58(0x455)]=(_0x2f2a82[_0x4aba58(0x490)]+0x1)*0x4,this['_process']();for(var _0x30d277=this[_0x4aba58(0x43d)],_0x282f1e=_0x30d277['words'],_0x5392c3=0x0;_0x5392c3<0x4;_0x5392c3++){var _0x3096e5=_0x282f1e[_0x5392c3];_0x282f1e[_0x5392c3]=(_0x3096e5<<0x8|_0x3096e5>>>0x18)&0xff00ff|(_0x3096e5<<0x18|_0x3096e5>>>0x8)&0xff00ff00;}return _0x30d277;},'clone':function(){const _0x2bd639=_0x1d667b;var _0x3ae81c=_0x1ddd4e[_0x2bd639(0x445)][_0x2bd639(0x450)](this);return _0x3ae81c['_hash']=this[_0x2bd639(0x43d)][_0x2bd639(0x445)](),_0x3ae81c;}});function _0x3d39c1(_0xcfe595,_0x38fd1f,_0x19e1f5,_0x34aff5,_0x34f673,_0xc1ac27,_0x541af2){var _0x41eb0c=_0xcfe595+(_0x38fd1f&_0x19e1f5|~_0x38fd1f&_0x34aff5)+_0x34f673+_0x541af2;return(_0x41eb0c<<_0xc1ac27|_0x41eb0c>>>0x20-_0xc1ac27)+_0x38fd1f;}function _0x1f29b6(_0x51b8b3,_0xc6d9ba,_0x4ddeb4,_0x4d727f,_0x34176c,_0x54f0bb,_0x139877){var _0x2c8adb=_0x51b8b3+(_0xc6d9ba&_0x4d727f|_0x4ddeb4&~_0x4d727f)+_0x34176c+_0x139877;return(_0x2c8adb<<_0x54f0bb|_0x2c8adb>>>0x20-_0x54f0bb)+_0xc6d9ba;}function _0x180ad2(_0x4a46c2,_0x10009e,_0x1184ed,_0xd0b6bd,_0x64484,_0x14d7cc,_0x4dc7f6){var _0x70d8a1=_0x4a46c2+(_0x10009e^_0x1184ed^_0xd0b6bd)+_0x64484+_0x4dc7f6;return(_0x70d8a1<<_0x14d7cc|_0x70d8a1>>>0x20-_0x14d7cc)+_0x10009e;}function _0x2127dd(_0x2472d2,_0x55ee5e,_0x59c45d,_0x5dd832,_0x2c351a,_0x2aa493,_0xda5b17){var _0x46fbc8=_0x2472d2+(_0x59c45d^(_0x55ee5e|~_0x5dd832))+_0x2c351a+_0xda5b17;return(_0x46fbc8<<_0x2aa493|_0x46fbc8>>>0x20-_0x2aa493)+_0x55ee5e;}_0x373e43['MD5']=_0x1ddd4e[_0x1d667b(0x3df)](_0x41f502),_0x373e43['HmacMD5']=_0x1ddd4e[_0x1d667b(0x475)](_0x41f502);}(Math),_0x305651[_0x3b5b4e(0x565)];}));}(Gt)),Gt[_0x142756(0x3b6)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function xa(){const _0x150bc3=_0x494e14;return Qs||(Qs=0x1,function(_0x3526f0,_0x47f104){(function(_0x1ceec9,_0x34257d){const _0x227b82=_0x5d20;_0x3526f0[_0x227b82(0x3b6)]=_0x34257d(ue());}(Z,function(_0xc6ae2c){const _0x111b02=_0x5d20;return(function(){const _0x34a4c6=_0x5d20;var _0x302d96=_0xc6ae2c,_0x16000d=_0x302d96[_0x34a4c6(0x45c)],_0xf04d16=_0x16000d[_0x34a4c6(0x4ce)],_0x1fe23d=_0x16000d['Hasher'],_0x4e211d=_0x302d96[_0x34a4c6(0x439)],_0x265c49=[],_0x33b4f4=_0x4e211d[_0x34a4c6(0x526)]=_0x1fe23d['extend']({'_doReset':function(){const _0x3f098d=_0x34a4c6;this[_0x3f098d(0x43d)]=new _0xf04d16[(_0x3f098d(0x33f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x211827,_0x569a60){for(var _0xfe1267=this['_hash']['words'],_0x33fb2=_0xfe1267[0x0],_0xdfd7b8=_0xfe1267[0x1],_0x1502ac=_0xfe1267[0x2],_0x5e0c73=_0xfe1267[0x3],_0x54a2ac=_0xfe1267[0x4],_0x20b347=0x0;_0x20b347<0x50;_0x20b347++){if(_0x20b347<0x10)_0x265c49[_0x20b347]=_0x211827[_0x569a60+_0x20b347]|0x0;else{var _0x3eaca1=_0x265c49[_0x20b347-0x3]^_0x265c49[_0x20b347-0x8]^_0x265c49[_0x20b347-0xe]^_0x265c49[_0x20b347-0x10];_0x265c49[_0x20b347]=_0x3eaca1<<0x1|_0x3eaca1>>>0x1f;}var _0x221083=(_0x33fb2<<0x5|_0x33fb2>>>0x1b)+_0x54a2ac+_0x265c49[_0x20b347];_0x20b347<0x14?_0x221083+=(_0xdfd7b8&_0x1502ac|~_0xdfd7b8&_0x5e0c73)+0x5a827999:_0x20b347<0x28?_0x221083+=(_0xdfd7b8^_0x1502ac^_0x5e0c73)+0x6ed9eba1:_0x20b347<0x3c?_0x221083+=(_0xdfd7b8&_0x1502ac|_0xdfd7b8&_0x5e0c73|_0x1502ac&_0x5e0c73)-0x70e44324:_0x221083+=(_0xdfd7b8^_0x1502ac^_0x5e0c73)-0x359d3e2a,_0x54a2ac=_0x5e0c73,_0x5e0c73=_0x1502ac,_0x1502ac=_0xdfd7b8<<0x1e|_0xdfd7b8>>>0x2,_0xdfd7b8=_0x33fb2,_0x33fb2=_0x221083;}_0xfe1267[0x0]=_0xfe1267[0x0]+_0x33fb2|0x0,_0xfe1267[0x1]=_0xfe1267[0x1]+_0xdfd7b8|0x0,_0xfe1267[0x2]=_0xfe1267[0x2]+_0x1502ac|0x0,_0xfe1267[0x3]=_0xfe1267[0x3]+_0x5e0c73|0x0,_0xfe1267[0x4]=_0xfe1267[0x4]+_0x54a2ac|0x0;},'_doFinalize':function(){const _0x365157=_0x34a4c6;var _0x599e12=this['_data'],_0x3048c0=_0x599e12['words'],_0x560707=this[_0x365157(0x32b)]*0x8,_0x193436=_0x599e12[_0x365157(0x455)]*0x8;return _0x3048c0[_0x193436>>>0x5]|=0x80<<0x18-_0x193436%0x20,_0x3048c0[(_0x193436+0x40>>>0x9<<0x4)+0xe]=Math[_0x365157(0x2f6)](_0x560707/0x100000000),_0x3048c0[(_0x193436+0x40>>>0x9<<0x4)+0xf]=_0x560707,_0x599e12[_0x365157(0x455)]=_0x3048c0['length']*0x4,this[_0x365157(0x5d2)](),this[_0x365157(0x43d)];},'clone':function(){const _0x3d2b51=_0x34a4c6;var _0x2fe0a3=_0x1fe23d[_0x3d2b51(0x445)][_0x3d2b51(0x450)](this);return _0x2fe0a3['_hash']=this['_hash'][_0x3d2b51(0x445)](),_0x2fe0a3;}});_0x302d96[_0x34a4c6(0x526)]=_0x1fe23d[_0x34a4c6(0x3df)](_0x33b4f4),_0x302d96[_0x34a4c6(0x3bb)]=_0x1fe23d[_0x34a4c6(0x475)](_0x33b4f4);}()),_0xc6ae2c[_0x111b02(0x526)];}));}(Kt)),Kt[_0x150bc3(0x3b6)];}var zt={'exports':{}},ei;function La(){const _0x5c3240=_0x494e14;return ei||(ei=0x1,function(_0x4fe84a,_0x5dff2b){(function(_0x58713e,_0x298297){const _0x3fd368=_0x5d20;_0x4fe84a[_0x3fd368(0x3b6)]=_0x298297(ue());}(Z,function(_0x52742d){(function(){const _0x25902f=_0x5d20;var _0x23e312=_0x52742d,_0x159e1f=_0x23e312[_0x25902f(0x45c)],_0x148d40=_0x159e1f[_0x25902f(0x5d8)],_0x281282=_0x23e312[_0x25902f(0x407)],_0x11d0fb=_0x281282[_0x25902f(0x459)],_0x35d1b2=_0x23e312[_0x25902f(0x439)];_0x35d1b2[_0x25902f(0x3cb)]=_0x148d40[_0x25902f(0x538)]({'init':function(_0x43da28,_0xe2c0e9){const _0x1c9866=_0x25902f;_0x43da28=this[_0x1c9866(0x489)]=new _0x43da28[(_0x1c9866(0x33f))](),typeof _0xe2c0e9==_0x1c9866(0x550)&&(_0xe2c0e9=_0x11d0fb[_0x1c9866(0x39a)](_0xe2c0e9));var _0x6667cf=_0x43da28[_0x1c9866(0x213)],_0x1b1057=_0x6667cf*0x4;_0xe2c0e9[_0x1c9866(0x455)]>_0x1b1057&&(_0xe2c0e9=_0x43da28[_0x1c9866(0x303)](_0xe2c0e9)),_0xe2c0e9[_0x1c9866(0x5c0)]();for(var _0x28e128=this['_oKey']=_0xe2c0e9[_0x1c9866(0x445)](),_0x293e80=this['_iKey']=_0xe2c0e9[_0x1c9866(0x445)](),_0x171f88=_0x28e128[_0x1c9866(0x3f6)],_0x209961=_0x293e80[_0x1c9866(0x3f6)],_0x5cb270=0x0;_0x5cb270<_0x6667cf;_0x5cb270++)_0x171f88[_0x5cb270]^=0x5c5c5c5c,_0x209961[_0x5cb270]^=0x36363636;_0x28e128['sigBytes']=_0x293e80[_0x1c9866(0x455)]=_0x1b1057,this[_0x1c9866(0x5a9)]();},'reset':function(){const _0x934e0c=_0x25902f;var _0x4c69dd=this['_hasher'];_0x4c69dd[_0x934e0c(0x5a9)](),_0x4c69dd[_0x934e0c(0x44b)](this['_iKey']);},'update':function(_0x57a8d5){const _0x434342=_0x25902f;return this[_0x434342(0x489)][_0x434342(0x44b)](_0x57a8d5),this;},'finalize':function(_0x3d0691){const _0x1e0edb=_0x25902f;var _0x9b5699=this[_0x1e0edb(0x489)],_0x4b63bf=_0x9b5699['finalize'](_0x3d0691);_0x9b5699[_0x1e0edb(0x5a9)]();var _0x32d15c=_0x9b5699[_0x1e0edb(0x303)](this[_0x1e0edb(0x4f1)][_0x1e0edb(0x445)]()['concat'](_0x4b63bf));return _0x32d15c;}});}());}));}(zt)),zt[_0x5c3240(0x3b6)];}var ti;function ki(){const _0x230722=_0x494e14;return ti||(ti=0x1,function(_0x5e45e0,_0x26f9fc){(function(_0x53215c,_0x4509d0,_0x49c597){_0x5e45e0['exports']=_0x4509d0(ue(),xa(),La());}(Z,function(_0x6e593e){const _0x1f8d96=_0x5d20;return(function(){const _0x116a76=_0x5d20;var _0x461c0d=_0x6e593e,_0x80c2ff=_0x461c0d[_0x116a76(0x45c)],_0x2e0fff=_0x80c2ff[_0x116a76(0x5d8)],_0x43d4cc=_0x80c2ff[_0x116a76(0x4ce)],_0x84975f=_0x461c0d[_0x116a76(0x439)],_0x24ffab=_0x84975f['MD5'],_0x4a40d1=_0x84975f[_0x116a76(0x40b)]=_0x2e0fff[_0x116a76(0x538)]({'cfg':_0x2e0fff[_0x116a76(0x538)]({'keySize':0x80/0x20,'hasher':_0x24ffab,'iterations':0x1}),'init':function(_0x4f6427){const _0x51a824=_0x116a76;this[_0x51a824(0x5ec)]=this[_0x51a824(0x5ec)][_0x51a824(0x538)](_0x4f6427);},'compute':function(_0x43d51c,_0x3fe41d){const _0x1c7cdb=_0x116a76;for(var _0x17b975,_0x2380af=this[_0x1c7cdb(0x5ec)],_0x484d2f=_0x2380af[_0x1c7cdb(0x263)][_0x1c7cdb(0x21b)](),_0x13fc8f=_0x43d4cc[_0x1c7cdb(0x21b)](),_0x532b7d=_0x13fc8f[_0x1c7cdb(0x3f6)],_0x1e00bd=_0x2380af['keySize'],_0x5d1b3f=_0x2380af[_0x1c7cdb(0x27a)];_0x532b7d[_0x1c7cdb(0x490)]<_0x1e00bd;){_0x17b975&&_0x484d2f[_0x1c7cdb(0x44b)](_0x17b975),_0x17b975=_0x484d2f[_0x1c7cdb(0x44b)](_0x43d51c)[_0x1c7cdb(0x303)](_0x3fe41d),_0x484d2f[_0x1c7cdb(0x5a9)]();for(var _0x1f5dce=0x1;_0x1f5dce<_0x5d1b3f;_0x1f5dce++)_0x17b975=_0x484d2f[_0x1c7cdb(0x303)](_0x17b975),_0x484d2f[_0x1c7cdb(0x5a9)]();_0x13fc8f[_0x1c7cdb(0x437)](_0x17b975);}return _0x13fc8f[_0x1c7cdb(0x455)]=_0x1e00bd*0x4,_0x13fc8f;}});_0x461c0d[_0x116a76(0x40b)]=function(_0x588198,_0xa290ce,_0x4e094d){const _0x301520=_0x116a76;return _0x4a40d1['create'](_0x4e094d)[_0x301520(0x4a9)](_0x588198,_0xa290ce);};}()),_0x6e593e[_0x1f8d96(0x40b)];}));}(Yt)),Yt[_0x230722(0x3b6)];}var qt={'exports':{}},si;function Wi(){return si||(si=0x1,function(_0x2906a4,_0x52412e){(function(_0xe40113,_0x44c1df,_0x5bb7e7){const _0x2e0239=_0x5d20;_0x2906a4[_0x2e0239(0x3b6)]=_0x44c1df(ue(),ki());}(Z,function(_0x3a4477){_0x3a4477['lib']['Cipher']||function(_0x11540f){const _0x14adfb=_0x5d20;var _0x48ffdf=_0x3a4477,_0x5a1193=_0x48ffdf[_0x14adfb(0x45c)],_0x3cf755=_0x5a1193['Base'],_0x1c387d=_0x5a1193[_0x14adfb(0x4ce)],_0x5d1fb2=_0x5a1193[_0x14adfb(0x3b0)],_0x2639a4=_0x48ffdf[_0x14adfb(0x407)];_0x2639a4[_0x14adfb(0x459)];var _0x1d3b8a=_0x2639a4[_0x14adfb(0x49b)],_0xf19805=_0x48ffdf[_0x14adfb(0x439)],_0x41735d=_0xf19805['EvpKDF'],_0x302eb9=_0x5a1193[_0x14adfb(0x224)]=_0x5d1fb2[_0x14adfb(0x538)]({'cfg':_0x3cf755[_0x14adfb(0x538)](),'createEncryptor':function(_0x3f1717,_0x436c14){const _0x48ec75=_0x14adfb;return this[_0x48ec75(0x21b)](this['_ENC_XFORM_MODE'],_0x3f1717,_0x436c14);},'createDecryptor':function(_0x8a11b5,_0x2538d6){const _0x24efbf=_0x14adfb;return this[_0x24efbf(0x21b)](this[_0x24efbf(0x505)],_0x8a11b5,_0x2538d6);},'init':function(_0x4d75c4,_0x59d05a,_0x52ca6a){const _0x44ffb6=_0x14adfb;this['cfg']=this[_0x44ffb6(0x5ec)][_0x44ffb6(0x538)](_0x52ca6a),this['_xformMode']=_0x4d75c4,this[_0x44ffb6(0x28d)]=_0x59d05a,this[_0x44ffb6(0x5a9)]();},'reset':function(){const _0x1d0083=_0x14adfb;_0x5d1fb2[_0x1d0083(0x5a9)][_0x1d0083(0x450)](this),this[_0x1d0083(0x54a)]();},'process':function(_0x480543){const _0x2cda6c=_0x14adfb;return this[_0x2cda6c(0x5b0)](_0x480543),this[_0x2cda6c(0x5d2)]();},'finalize':function(_0x22d954){const _0x50c401=_0x14adfb;_0x22d954&&this[_0x50c401(0x5b0)](_0x22d954);var _0x21a81a=this[_0x50c401(0x2a9)]();return _0x21a81a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4b3908(_0x2e1eb1){const _0x5e8c06=_0x5d20;return typeof _0x2e1eb1==_0x5e8c06(0x550)?_0x432a8d:_0x50b1a3;}return function(_0x5b0d16){return{'encrypt':function(_0x41a89a,_0x5680d1,_0x1514ef){const _0x1e212b=_0x5d20;return _0x4b3908(_0x5680d1)[_0x1e212b(0x2c7)](_0x5b0d16,_0x41a89a,_0x5680d1,_0x1514ef);},'decrypt':function(_0x496db7,_0x5ef89c,_0x33f6af){const _0x1eba0e=_0x5d20;return _0x4b3908(_0x5ef89c)[_0x1eba0e(0x519)](_0x5b0d16,_0x496db7,_0x5ef89c,_0x33f6af);}};};}())});_0x5a1193['StreamCipher']=_0x302eb9['extend']({'_doFinalize':function(){const _0x33e006=_0x14adfb;var _0x25c5ef=this[_0x33e006(0x5d2)](!0x0);return _0x25c5ef;},'blockSize':0x1});var _0x12e9df=_0x48ffdf['mode']={},_0x2169c8=_0x5a1193[_0x14adfb(0x35f)]=_0x3cf755[_0x14adfb(0x538)]({'createEncryptor':function(_0x23a4e6,_0x51940c){const _0xa8ccc9=_0x14adfb;return this[_0xa8ccc9(0x501)]['create'](_0x23a4e6,_0x51940c);},'createDecryptor':function(_0x237df0,_0x259eb7){const _0xbcf9e4=_0x14adfb;return this[_0xbcf9e4(0x215)][_0xbcf9e4(0x21b)](_0x237df0,_0x259eb7);},'init':function(_0x327584,_0x11f981){this['_cipher']=_0x327584,this['_iv']=_0x11f981;}}),_0x4c0fc9=_0x12e9df[_0x14adfb(0x58a)]=(function(){const _0x196daa=_0x14adfb;var _0x326c66=_0x2169c8['extend']();_0x326c66[_0x196daa(0x501)]=_0x326c66['extend']({'processBlock':function(_0xa54069,_0x113af1){const _0x1b17fa=_0x196daa;var _0x5b6473=this['_cipher'],_0x1cc311=_0x5b6473['blockSize'];_0x4ad910['call'](this,_0xa54069,_0x113af1,_0x1cc311),_0x5b6473[_0x1b17fa(0x3d5)](_0xa54069,_0x113af1),this[_0x1b17fa(0x509)]=_0xa54069['slice'](_0x113af1,_0x113af1+_0x1cc311);}}),_0x326c66[_0x196daa(0x215)]=_0x326c66[_0x196daa(0x538)]({'processBlock':function(_0x1af9ba,_0x43524d){const _0x4b2511=_0x196daa;var _0x24930b=this[_0x4b2511(0x39e)],_0x321bee=_0x24930b[_0x4b2511(0x213)],_0x4109b7=_0x1af9ba[_0x4b2511(0x22c)](_0x43524d,_0x43524d+_0x321bee);_0x24930b[_0x4b2511(0x366)](_0x1af9ba,_0x43524d),_0x4ad910[_0x4b2511(0x450)](this,_0x1af9ba,_0x43524d,_0x321bee),this['_prevBlock']=_0x4109b7;}});function _0x4ad910(_0x426feb,_0x583d7f,_0x26de0d){const _0x4e467c=_0x196daa;var _0x57f976,_0x142db5=this['_iv'];_0x142db5?(_0x57f976=_0x142db5,this[_0x4e467c(0x587)]=_0x11540f):_0x57f976=this[_0x4e467c(0x509)];for(var _0x623acf=0x0;_0x623acf<_0x26de0d;_0x623acf++)_0x426feb[_0x583d7f+_0x623acf]^=_0x57f976[_0x623acf];}return _0x326c66;}()),_0x2f152f=_0x48ffdf[_0x14adfb(0x3d3)]={},_0x15f673=_0x2f152f[_0x14adfb(0x1e6)]={'pad':function(_0x3ca5eb,_0x403260){const _0x5d2932=_0x14adfb;for(var _0x52ec6b=_0x403260*0x4,_0x59bd62=_0x52ec6b-_0x3ca5eb[_0x5d2932(0x455)]%_0x52ec6b,_0x1b4274=_0x59bd62<<0x18|_0x59bd62<<0x10|_0x59bd62<<0x8|_0x59bd62,_0x2ec992=[],_0x1de34d=0x0;_0x1de34d<_0x59bd62;_0x1de34d+=0x4)_0x2ec992[_0x5d2932(0x271)](_0x1b4274);var _0x2a9597=_0x1c387d['create'](_0x2ec992,_0x59bd62);_0x3ca5eb[_0x5d2932(0x437)](_0x2a9597);},'unpad':function(_0x1cf774){const _0x28002b=_0x14adfb;var _0x3f460f=_0x1cf774['words'][_0x1cf774['sigBytes']-0x1>>>0x2]&0xff;_0x1cf774[_0x28002b(0x455)]-=_0x3f460f;}};_0x5a1193[_0x14adfb(0x30e)]=_0x302eb9[_0x14adfb(0x538)]({'cfg':_0x302eb9['cfg']['extend']({'mode':_0x4c0fc9,'padding':_0x15f673}),'reset':function(){const _0x535167=_0x14adfb;var _0x3caf84;_0x302eb9[_0x535167(0x5a9)][_0x535167(0x450)](this);var _0x400e77=this[_0x535167(0x5ec)],_0x40f7ac=_0x400e77['iv'],_0x460c6b=_0x400e77[_0x535167(0x22a)];this[_0x535167(0x1ec)]==this[_0x535167(0x5ad)]?_0x3caf84=_0x460c6b[_0x535167(0x339)]:(_0x3caf84=_0x460c6b[_0x535167(0x35e)],this['_minBufferSize']=0x1),this['_mode']&&this[_0x535167(0x51c)][_0x535167(0x37f)]==_0x3caf84?this['_mode'][_0x535167(0x33f)](this,_0x40f7ac&&_0x40f7ac[_0x535167(0x3f6)]):(this[_0x535167(0x51c)]=_0x3caf84['call'](_0x460c6b,this,_0x40f7ac&&_0x40f7ac[_0x535167(0x3f6)]),this['_mode']['__creator']=_0x3caf84);},'_doProcessBlock':function(_0x25284b,_0x14dfc){const _0x136236=_0x14adfb;this[_0x136236(0x51c)][_0x136236(0x396)](_0x25284b,_0x14dfc);},'_doFinalize':function(){const _0x5c6676=_0x14adfb;var _0x226fe7,_0x27bed2=this[_0x5c6676(0x5ec)][_0x5c6676(0x2f0)];return this[_0x5c6676(0x1ec)]==this[_0x5c6676(0x5ad)]?(_0x27bed2['pad'](this['_data'],this[_0x5c6676(0x213)]),_0x226fe7=this[_0x5c6676(0x5d2)](!0x0)):(_0x226fe7=this['_process'](!0x0),_0x27bed2[_0x5c6676(0x558)](_0x226fe7)),_0x226fe7;},'blockSize':0x80/0x20});var _0x1357d9=_0x5a1193[_0x14adfb(0x352)]=_0x3cf755[_0x14adfb(0x538)]({'init':function(_0x5ba0d8){this['mixIn'](_0x5ba0d8);},'toString':function(_0x4771d5){const _0x5a8608=_0x14adfb;return(_0x4771d5||this['formatter'])[_0x5a8608(0x415)](this);}}),_0x104592=_0x48ffdf[_0x14adfb(0x3ad)]={},_0x45abb5=_0x104592[_0x14adfb(0x47c)]={'stringify':function(_0x54cc5c){const _0x4ca2b7=_0x14adfb;var _0x770d40,_0x2bf3c1=_0x54cc5c['ciphertext'],_0x3780a9=_0x54cc5c['salt'];return _0x3780a9?_0x770d40=_0x1c387d[_0x4ca2b7(0x21b)]([0x53616c74,0x65645f5f])[_0x4ca2b7(0x437)](_0x3780a9)[_0x4ca2b7(0x437)](_0x2bf3c1):_0x770d40=_0x2bf3c1,_0x770d40['toString'](_0x1d3b8a);},'parse':function(_0x25e351){const _0x2b2133=_0x14adfb;var _0x2aacb4,_0x28ee15=_0x1d3b8a[_0x2b2133(0x39a)](_0x25e351),_0x4d2b67=_0x28ee15['words'];return _0x4d2b67[0x0]==0x53616c74&&_0x4d2b67[0x1]==0x65645f5f&&(_0x2aacb4=_0x1c387d[_0x2b2133(0x21b)](_0x4d2b67[_0x2b2133(0x22c)](0x2,0x4)),_0x4d2b67[_0x2b2133(0x2bb)](0x0,0x4),_0x28ee15[_0x2b2133(0x455)]-=0x10),_0x1357d9[_0x2b2133(0x21b)]({'ciphertext':_0x28ee15,'salt':_0x2aacb4});}},_0x50b1a3=_0x5a1193[_0x14adfb(0x28a)]=_0x3cf755['extend']({'cfg':_0x3cf755[_0x14adfb(0x538)]({'format':_0x45abb5}),'encrypt':function(_0x10bf78,_0x7b6951,_0xa2514a,_0x488e74){const _0x5265a6=_0x14adfb;_0x488e74=this[_0x5265a6(0x5ec)][_0x5265a6(0x538)](_0x488e74);var _0x88d799=_0x10bf78[_0x5265a6(0x339)](_0xa2514a,_0x488e74),_0x374ab3=_0x88d799[_0x5265a6(0x303)](_0x7b6951),_0x2bd614=_0x88d799['cfg'];return _0x1357d9[_0x5265a6(0x21b)]({'ciphertext':_0x374ab3,'key':_0xa2514a,'iv':_0x2bd614['iv'],'algorithm':_0x10bf78,'mode':_0x2bd614[_0x5265a6(0x22a)],'padding':_0x2bd614[_0x5265a6(0x2f0)],'blockSize':_0x10bf78[_0x5265a6(0x213)],'formatter':_0x488e74[_0x5265a6(0x3ad)]});},'decrypt':function(_0x4de88a,_0x2498d0,_0x38f702,_0x94dd6a){const _0xde27cb=_0x14adfb;_0x94dd6a=this[_0xde27cb(0x5ec)][_0xde27cb(0x538)](_0x94dd6a),_0x2498d0=this[_0xde27cb(0x3de)](_0x2498d0,_0x94dd6a[_0xde27cb(0x3ad)]);var _0x3e9f11=_0x4de88a['createDecryptor'](_0x38f702,_0x94dd6a)[_0xde27cb(0x303)](_0x2498d0['ciphertext']);return _0x3e9f11;},'_parse':function(_0x5bbb46,_0x3c2c3a){const _0x39f0a4=_0x14adfb;return typeof _0x5bbb46==_0x39f0a4(0x550)?_0x3c2c3a[_0x39f0a4(0x39a)](_0x5bbb46,this):_0x5bbb46;}}),_0x214fdc=_0x48ffdf[_0x14adfb(0x212)]={},_0x555a32=_0x214fdc[_0x14adfb(0x47c)]={'execute':function(_0x5710f6,_0x387d3f,_0x1fb583,_0x2915a7,_0x24aac8){const _0x28dcba=_0x14adfb;if(_0x2915a7||(_0x2915a7=_0x1c387d[_0x28dcba(0x5db)](0x40/0x8)),_0x24aac8)var _0x5807cc=_0x41735d['create']({'keySize':_0x387d3f+_0x1fb583,'hasher':_0x24aac8})[_0x28dcba(0x4a9)](_0x5710f6,_0x2915a7);else var _0x5807cc=_0x41735d['create']({'keySize':_0x387d3f+_0x1fb583})[_0x28dcba(0x4a9)](_0x5710f6,_0x2915a7);var _0x53faa9=_0x1c387d['create'](_0x5807cc['words']['slice'](_0x387d3f),_0x1fb583*0x4);return _0x5807cc[_0x28dcba(0x455)]=_0x387d3f*0x4,_0x1357d9[_0x28dcba(0x21b)]({'key':_0x5807cc,'iv':_0x53faa9,'salt':_0x2915a7});}},_0x432a8d=_0x5a1193[_0x14adfb(0x220)]=_0x50b1a3[_0x14adfb(0x538)]({'cfg':_0x50b1a3[_0x14adfb(0x5ec)][_0x14adfb(0x538)]({'kdf':_0x555a32}),'encrypt':function(_0x33bc89,_0x3cb309,_0x13bc5f,_0x2101c0){const _0x2d7db6=_0x14adfb;_0x2101c0=this['cfg']['extend'](_0x2101c0);var _0x271a8d=_0x2101c0[_0x2d7db6(0x212)][_0x2d7db6(0x53e)](_0x13bc5f,_0x33bc89[_0x2d7db6(0x2f2)],_0x33bc89[_0x2d7db6(0x43e)],_0x2101c0['salt'],_0x2101c0[_0x2d7db6(0x263)]);_0x2101c0['iv']=_0x271a8d['iv'];var _0x2ff686=_0x50b1a3[_0x2d7db6(0x2c7)]['call'](this,_0x33bc89,_0x3cb309,_0x271a8d[_0x2d7db6(0x3d4)],_0x2101c0);return _0x2ff686['mixIn'](_0x271a8d),_0x2ff686;},'decrypt':function(_0x1de48f,_0x352d77,_0x3f8a9f,_0xfcb9c8){const _0x3347f7=_0x14adfb;_0xfcb9c8=this['cfg'][_0x3347f7(0x538)](_0xfcb9c8),_0x352d77=this[_0x3347f7(0x3de)](_0x352d77,_0xfcb9c8[_0x3347f7(0x3ad)]);var _0x4bc4db=_0xfcb9c8['kdf'][_0x3347f7(0x53e)](_0x3f8a9f,_0x1de48f[_0x3347f7(0x2f2)],_0x1de48f['ivSize'],_0x352d77['salt'],_0xfcb9c8[_0x3347f7(0x263)]);_0xfcb9c8['iv']=_0x4bc4db['iv'];var _0x4e780a=_0x50b1a3[_0x3347f7(0x519)][_0x3347f7(0x450)](this,_0x1de48f,_0x352d77,_0x4bc4db['key'],_0xfcb9c8);return _0x4e780a;}});}();}));}(qt)),qt['exports'];}(function(_0xb056ee,_0x30af65){(function(_0xc8f61c,_0x573f2e,_0x56aec){_0xb056ee['exports']=_0x573f2e(ue(),Bi(),Ma(),ki(),Wi());}(Z,function(_0x183633){return(function(){const _0x4f6af9=_0x5d20;var _0x2cc72b=_0x183633,_0x274b35=_0x2cc72b['lib'],_0x3e65e7=_0x274b35['BlockCipher'],_0x101f8c=_0x2cc72b['algo'],_0x903dcd=[],_0x45910e=[],_0x2d72ea=[],_0x134a6b=[],_0x45526f=[],_0x142bcd=[],_0x3284e6=[],_0x7c882f=[],_0x3f6689=[],_0x5136c7=[];(function(){for(var _0x49eab3=[],_0xcd357a=0x0;_0xcd357a<0x100;_0xcd357a++)_0xcd357a<0x80?_0x49eab3[_0xcd357a]=_0xcd357a<<0x1:_0x49eab3[_0xcd357a]=_0xcd357a<<0x1^0x11b;for(var _0x22ceab=0x0,_0x55d478=0x0,_0xcd357a=0x0;_0xcd357a<0x100;_0xcd357a++){var _0x181588=_0x55d478^_0x55d478<<0x1^_0x55d478<<0x2^_0x55d478<<0x3^_0x55d478<<0x4;_0x181588=_0x181588>>>0x8^_0x181588&0xff^0x63,_0x903dcd[_0x22ceab]=_0x181588,_0x45910e[_0x181588]=_0x22ceab;var _0x501fdd=_0x49eab3[_0x22ceab],_0x181ea4=_0x49eab3[_0x501fdd],_0x5d1ea5=_0x49eab3[_0x181ea4],_0x29fd28=_0x49eab3[_0x181588]*0x101^_0x181588*0x1010100;_0x2d72ea[_0x22ceab]=_0x29fd28<<0x18|_0x29fd28>>>0x8,_0x134a6b[_0x22ceab]=_0x29fd28<<0x10|_0x29fd28>>>0x10,_0x45526f[_0x22ceab]=_0x29fd28<<0x8|_0x29fd28>>>0x18,_0x142bcd[_0x22ceab]=_0x29fd28;var _0x29fd28=_0x5d1ea5*0x1010101^_0x181ea4*0x10001^_0x501fdd*0x101^_0x22ceab*0x1010100;_0x3284e6[_0x181588]=_0x29fd28<<0x18|_0x29fd28>>>0x8,_0x7c882f[_0x181588]=_0x29fd28<<0x10|_0x29fd28>>>0x10,_0x3f6689[_0x181588]=_0x29fd28<<0x8|_0x29fd28>>>0x18,_0x5136c7[_0x181588]=_0x29fd28,_0x22ceab?(_0x22ceab=_0x501fdd^_0x49eab3[_0x49eab3[_0x49eab3[_0x5d1ea5^_0x501fdd]]],_0x55d478^=_0x49eab3[_0x49eab3[_0x55d478]]):_0x22ceab=_0x55d478=0x1;}}());var _0x14c5b7=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3408d4=_0x101f8c[_0x4f6af9(0x3a5)]=_0x3e65e7[_0x4f6af9(0x538)]({'_doReset':function(){const _0x3d9430=_0x4f6af9;var _0x57ea86;if(!(this[_0x3d9430(0x28f)]&&this['_keyPriorReset']===this[_0x3d9430(0x28d)])){for(var _0x3e8046=this[_0x3d9430(0x31e)]=this[_0x3d9430(0x28d)],_0x2dc7ad=_0x3e8046['words'],_0x5cde3d=_0x3e8046[_0x3d9430(0x455)]/0x4,_0x4eaf81=this[_0x3d9430(0x28f)]=_0x5cde3d+0x6,_0x526bd3=(_0x4eaf81+0x1)*0x4,_0x10356d=this['_keySchedule']=[],_0x4731dd=0x0;_0x4731dd<_0x526bd3;_0x4731dd++)_0x4731dd<_0x5cde3d?_0x10356d[_0x4731dd]=_0x2dc7ad[_0x4731dd]:(_0x57ea86=_0x10356d[_0x4731dd-0x1],_0x4731dd%_0x5cde3d?_0x5cde3d>0x6&&_0x4731dd%_0x5cde3d==0x4&&(_0x57ea86=_0x903dcd[_0x57ea86>>>0x18]<<0x18|_0x903dcd[_0x57ea86>>>0x10&0xff]<<0x10|_0x903dcd[_0x57ea86>>>0x8&0xff]<<0x8|_0x903dcd[_0x57ea86&0xff]):(_0x57ea86=_0x57ea86<<0x8|_0x57ea86>>>0x18,_0x57ea86=_0x903dcd[_0x57ea86>>>0x18]<<0x18|_0x903dcd[_0x57ea86>>>0x10&0xff]<<0x10|_0x903dcd[_0x57ea86>>>0x8&0xff]<<0x8|_0x903dcd[_0x57ea86&0xff],_0x57ea86^=_0x14c5b7[_0x4731dd/_0x5cde3d|0x0]<<0x18),_0x10356d[_0x4731dd]=_0x10356d[_0x4731dd-_0x5cde3d]^_0x57ea86);for(var _0x37ad75=this[_0x3d9430(0x3c1)]=[],_0x3f93bf=0x0;_0x3f93bf<_0x526bd3;_0x3f93bf++){var _0x4731dd=_0x526bd3-_0x3f93bf;if(_0x3f93bf%0x4)var _0x57ea86=_0x10356d[_0x4731dd];else var _0x57ea86=_0x10356d[_0x4731dd-0x4];_0x3f93bf<0x4||_0x4731dd<=0x4?_0x37ad75[_0x3f93bf]=_0x57ea86:_0x37ad75[_0x3f93bf]=_0x3284e6[_0x903dcd[_0x57ea86>>>0x18]]^_0x7c882f[_0x903dcd[_0x57ea86>>>0x10&0xff]]^_0x3f6689[_0x903dcd[_0x57ea86>>>0x8&0xff]]^_0x5136c7[_0x903dcd[_0x57ea86&0xff]];}}},'encryptBlock':function(_0x4de638,_0xe2bfac){const _0x4b02bf=_0x4f6af9;this[_0x4b02bf(0x238)](_0x4de638,_0xe2bfac,this['_keySchedule'],_0x2d72ea,_0x134a6b,_0x45526f,_0x142bcd,_0x903dcd);},'decryptBlock':function(_0x4c41e5,_0x5074f){const _0x22f58c=_0x4f6af9;var _0x1037c7=_0x4c41e5[_0x5074f+0x1];_0x4c41e5[_0x5074f+0x1]=_0x4c41e5[_0x5074f+0x3],_0x4c41e5[_0x5074f+0x3]=_0x1037c7,this[_0x22f58c(0x238)](_0x4c41e5,_0x5074f,this['_invKeySchedule'],_0x3284e6,_0x7c882f,_0x3f6689,_0x5136c7,_0x45910e);var _0x1037c7=_0x4c41e5[_0x5074f+0x1];_0x4c41e5[_0x5074f+0x1]=_0x4c41e5[_0x5074f+0x3],_0x4c41e5[_0x5074f+0x3]=_0x1037c7;},'_doCryptBlock':function(_0x110afe,_0x4dd4eb,_0x903bff,_0xdf27f5,_0x348824,_0x4758aa,_0x1a5a55,_0xd141cb){const _0x295f71=_0x4f6af9;for(var _0x55714a=this[_0x295f71(0x28f)],_0x393af1=_0x110afe[_0x4dd4eb]^_0x903bff[0x0],_0x49b837=_0x110afe[_0x4dd4eb+0x1]^_0x903bff[0x1],_0x413813=_0x110afe[_0x4dd4eb+0x2]^_0x903bff[0x2],_0x5dfa2c=_0x110afe[_0x4dd4eb+0x3]^_0x903bff[0x3],_0x2c7050=0x4,_0x1eb8dd=0x1;_0x1eb8dd<_0x55714a;_0x1eb8dd++){var _0x13f496=_0xdf27f5[_0x393af1>>>0x18]^_0x348824[_0x49b837>>>0x10&0xff]^_0x4758aa[_0x413813>>>0x8&0xff]^_0x1a5a55[_0x5dfa2c&0xff]^_0x903bff[_0x2c7050++],_0x8d6426=_0xdf27f5[_0x49b837>>>0x18]^_0x348824[_0x413813>>>0x10&0xff]^_0x4758aa[_0x5dfa2c>>>0x8&0xff]^_0x1a5a55[_0x393af1&0xff]^_0x903bff[_0x2c7050++],_0x36fee8=_0xdf27f5[_0x413813>>>0x18]^_0x348824[_0x5dfa2c>>>0x10&0xff]^_0x4758aa[_0x393af1>>>0x8&0xff]^_0x1a5a55[_0x49b837&0xff]^_0x903bff[_0x2c7050++],_0x3da62d=_0xdf27f5[_0x5dfa2c>>>0x18]^_0x348824[_0x393af1>>>0x10&0xff]^_0x4758aa[_0x49b837>>>0x8&0xff]^_0x1a5a55[_0x413813&0xff]^_0x903bff[_0x2c7050++];_0x393af1=_0x13f496,_0x49b837=_0x8d6426,_0x413813=_0x36fee8,_0x5dfa2c=_0x3da62d;}var _0x13f496=(_0xd141cb[_0x393af1>>>0x18]<<0x18|_0xd141cb[_0x49b837>>>0x10&0xff]<<0x10|_0xd141cb[_0x413813>>>0x8&0xff]<<0x8|_0xd141cb[_0x5dfa2c&0xff])^_0x903bff[_0x2c7050++],_0x8d6426=(_0xd141cb[_0x49b837>>>0x18]<<0x18|_0xd141cb[_0x413813>>>0x10&0xff]<<0x10|_0xd141cb[_0x5dfa2c>>>0x8&0xff]<<0x8|_0xd141cb[_0x393af1&0xff])^_0x903bff[_0x2c7050++],_0x36fee8=(_0xd141cb[_0x413813>>>0x18]<<0x18|_0xd141cb[_0x5dfa2c>>>0x10&0xff]<<0x10|_0xd141cb[_0x393af1>>>0x8&0xff]<<0x8|_0xd141cb[_0x49b837&0xff])^_0x903bff[_0x2c7050++],_0x3da62d=(_0xd141cb[_0x5dfa2c>>>0x18]<<0x18|_0xd141cb[_0x393af1>>>0x10&0xff]<<0x10|_0xd141cb[_0x49b837>>>0x8&0xff]<<0x8|_0xd141cb[_0x413813&0xff])^_0x903bff[_0x2c7050++];_0x110afe[_0x4dd4eb]=_0x13f496,_0x110afe[_0x4dd4eb+0x1]=_0x8d6426,_0x110afe[_0x4dd4eb+0x2]=_0x36fee8,_0x110afe[_0x4dd4eb+0x3]=_0x3da62d;},'keySize':0x100/0x20});_0x2cc72b[_0x4f6af9(0x3a5)]=_0x3e65e7[_0x4f6af9(0x3df)](_0x3408d4);}()),_0x183633['AES'];}));}(ji));var $a=ji[_0x494e14(0x3b6)];const Ha=at($a);var ja=Bi();const ii=at(ja);var Fi={'exports':{}};(function(_0x8a47e7,_0x4281e){(function(_0xd60091,_0x36f2f7){const _0x3a6d9d=_0x5d20;_0x8a47e7[_0x3a6d9d(0x3b6)]=_0x36f2f7(ue());}(Z,function(_0x5efdac){const _0x29dd0d=_0x5d20;return _0x5efdac[_0x29dd0d(0x407)][_0x29dd0d(0x459)];}));}(Fi));var Ba=Fi[_0x494e14(0x3b6)];const ka=at(Ba);var Vi={'exports':{}};(function(_0x187ac5,_0x2e48b8){(function(_0x25c8cd,_0x46cf76){const _0x1369d0=_0x5d20;_0x187ac5[_0x1369d0(0x3b6)]=_0x46cf76(ue());}(Z,function(_0x208f10){const _0x5df4be=_0x5d20;return(function(){const _0x36eaba=_0x5d20;if(typeof ArrayBuffer==_0x36eaba(0x272)){var _0x2b38b8=_0x208f10,_0x304804=_0x2b38b8[_0x36eaba(0x45c)],_0x32fbbd=_0x304804[_0x36eaba(0x4ce)],_0x31b335=_0x32fbbd[_0x36eaba(0x33f)],_0x5d9233=_0x32fbbd[_0x36eaba(0x33f)]=function(_0x2a3f5e){const _0x534887=_0x36eaba;if(_0x2a3f5e instanceof ArrayBuffer&&(_0x2a3f5e=new Uint8Array(_0x2a3f5e)),(_0x2a3f5e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2a3f5e instanceof Uint8ClampedArray||_0x2a3f5e instanceof Int16Array||_0x2a3f5e instanceof Uint16Array||_0x2a3f5e instanceof Int32Array||_0x2a3f5e instanceof Uint32Array||_0x2a3f5e instanceof Float32Array||_0x2a3f5e instanceof Float64Array)&&(_0x2a3f5e=new Uint8Array(_0x2a3f5e[_0x534887(0x435)],_0x2a3f5e[_0x534887(0x5af)],_0x2a3f5e[_0x534887(0x4a6)])),_0x2a3f5e instanceof Uint8Array){for(var _0x3d59b2=_0x2a3f5e['byteLength'],_0x37ca81=[],_0x4f042c=0x0;_0x4f042c<_0x3d59b2;_0x4f042c++)_0x37ca81[_0x4f042c>>>0x2]|=_0x2a3f5e[_0x4f042c]<<0x18-_0x4f042c%0x4*0x8;_0x31b335[_0x534887(0x450)](this,_0x37ca81,_0x3d59b2);}else _0x31b335[_0x534887(0x262)](this,arguments);};_0x5d9233['prototype']=_0x32fbbd;}}()),_0x208f10[_0x5df4be(0x45c)]['WordArray'];}));}(Vi));var Wa=Vi['exports'];const Fa=at(Wa);var Gi={'exports':{}};(function(_0x443c30,_0x46d6b4){(function(_0x230139,_0x5bad88,_0x3cfa5b){const _0x406d88=_0x5d20;_0x443c30[_0x406d88(0x3b6)]=_0x5bad88(ue(),Wi());}(Z,function(_0x36188b){const _0x5511ab=_0x5d20;return _0x36188b[_0x5511ab(0x3d3)][_0x5511ab(0x323)]={'pad':function(){},'unpad':function(){}},_0x36188b[_0x5511ab(0x3d3)][_0x5511ab(0x323)];}));}(Gi));var Va=Gi[_0x494e14(0x3b6)];const Ga=at(Va);function Ya(_0x5110d9,_0x3fc035){const _0x1a84ab=_0x494e14,_0x18e9c2=_0x3fc035-_0x5110d9[_0x1a84ab(0x490)]%_0x3fc035,_0x42e725=String[_0x1a84ab(0x244)](_0x18e9c2)[_0x1a84ab(0x4d1)](_0x18e9c2);return _0x5110d9+_0x42e725;}function Ka(_0xb6156c,_0x3f93e1){const _0x41b254=_0x494e14,_0x14ab69=Fa[_0x41b254(0x5db)](0x10),_0x593430=Ya(_0xb6156c,0x10),_0x83c8f3=Ha[_0x41b254(0x2c7)](ka[_0x41b254(0x39a)](_0x593430),ii[_0x41b254(0x39a)](_0x3f93e1),{'iv':_0x14ab69,'padding':Ga});return _0x14ab69[_0x41b254(0x437)](_0x83c8f3['ciphertext'])[_0x41b254(0x2b9)](ii);}function za(){const _0x519316=_0x494e14,_0x4dd415=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x4dd415){const _0x22440f={'time':Math[_0x519316(0x2f6)](Date['now']()/0x3e8),'domain':location[_0x519316(0x57c)]};return Ka(JSON['stringify'](_0x22440f),_0x4dd415);}}var qa=Object['defineProperty'],Xa=Object[_0x494e14(0x2a4)],Ja=(_0x433c77,_0x233afe,_0x29f889,_0x387a59)=>{for(var _0x4ec6e2=_0x387a59>0x1?void 0x0:_0x387a59?Xa(_0x233afe,_0x29f889):_0x233afe,_0xc43263=_0x433c77['length']-0x1,_0x272e2e;_0xc43263>=0x0;_0xc43263--)(_0x272e2e=_0x433c77[_0xc43263])&&(_0x4ec6e2=(_0x387a59?_0x272e2e(_0x233afe,_0x29f889,_0x4ec6e2):_0x272e2e(_0x4ec6e2))||_0x4ec6e2);return _0x387a59&&_0x4ec6e2&&qa(_0x233afe,_0x29f889,_0x4ec6e2),_0x4ec6e2;},Za=(_0x110f57,_0x4aa540)=>(_0x44ae4b,_0x3333f6)=>_0x4aa540(_0x44ae4b,_0x3333f6,_0x110f57);let Tt=class{constructor(_0x2d568d){const _0x3b7aea=_0x494e14;this[_0x3b7aea(0x55e)]=_0x2d568d,this[_0x3b7aea(0x3f7)]();}['_initRequestHeader'](){const _0x489d1c=_0x494e14;this[_0x489d1c(0x55e)][_0x489d1c(0x2cb)]({'interceptor':(_0x2714a1,_0x4e2516)=>{const _0x543ca8=_0x489d1c,_0x542853=_0x2714a1[_0x543ca8(0x319)],_0x2477c6=za();return _0x2477c6&&_0x542853[_0x543ca8(0x207)](_0x543ca8(0x3e5),_0x2477c6),_0x4e2516(_0x2714a1);}});}};Tt=Ja([Za(0x0,_0x41b3da(_0x2d1de9))],Tt);var Qa=Object[_0x494e14(0x421)],ec=Object['getOwnPropertyDescriptor'],tc=(_0x4ee844,_0x5cac88,_0x16f68d,_0x2bc38b)=>{const _0x527ae3=_0x494e14;for(var _0x17d895=_0x2bc38b>0x1?void 0x0:_0x2bc38b?ec(_0x5cac88,_0x16f68d):_0x5cac88,_0x68a28e=_0x4ee844[_0x527ae3(0x490)]-0x1,_0x45222a;_0x68a28e>=0x0;_0x68a28e--)(_0x45222a=_0x4ee844[_0x68a28e])&&(_0x17d895=(_0x2bc38b?_0x45222a(_0x5cac88,_0x16f68d,_0x17d895):_0x45222a(_0x17d895))||_0x17d895);return _0x2bc38b&&_0x17d895&&Qa(_0x5cac88,_0x16f68d,_0x17d895),_0x17d895;},Xt=(_0x544e67,_0x5abb1e)=>(_0x1f47ef,_0x8eca18)=>_0x5abb1e(_0x1f47ef,_0x8eca18,_0x544e67);const sc=[_0x494e14(0x252),_0x494e14(0x290),_0x494e14(0x255),_0x494e14(0x273),_0x494e14(0x300)],ic=0x5*0x400*0x400,nc=_0x494e14(0x3fa),rc=_0x494e14(0x5ae),oc=_0x494e14(0x202),ac=_0x494e14(0x320);let hs=class{constructor(_0x26d5cb,_0x200005,_0x24ab78){const _0x5d4c95=_0x494e14;g(this,'_waitCount',0x0),g(this,_0x5d4c95(0x3e7),new _0x243cfe()),g(this,_0x5d4c95(0x3ef),this[_0x5d4c95(0x3e7)]),g(this,_0x5d4c95(0x30b),new Map()),(this[_0x5d4c95(0x55e)]=_0x26d5cb,this[_0x5d4c95(0x21f)]=_0x200005,this[_0x5d4c95(0x5ee)]=_0x24ab78);}[_0x494e14(0x585)](_0x179889){const _0xc67f5=_0x494e14;this['_waitCount']=_0x179889,this[_0xc67f5(0x3e7)][_0xc67f5(0x2d0)](_0x179889);}[_0x494e14(0x3f3)](_0xd4ef60,_0x3e4ad2){const _0x196d6f=_0x494e14;if(_0x3e4ad2===_0x5f4e56['BASE64']){const _0x26d8bd=new Image();return _0x26d8bd[_0x196d6f(0x2bc)]=_0xd4ef60,_0x26d8bd;}return this[_0x196d6f(0x30b)]['get'](_0xd4ef60);}['addImageSourceCache'](_0x39a128,_0x4f3a0d,_0x34a813){const _0x499cf5=_0x494e14;_0x4f3a0d===_0x5f4e56['BASE64']||_0x34a813==null||this[_0x499cf5(0x30b)]['set'](_0x39a128,_0x34a813);}async[_0x494e14(0x51f)](_0x3c9e57){const _0x429f8d=_0x494e14;try{const _0x334aa1=this[_0x429f8d(0x389)](this[_0x429f8d(0x5f7)](),''+_0x3c9e57),_0x327bae=(await this[_0x429f8d(0x55e)][_0x429f8d(0x38a)](_0x334aa1))[_0x429f8d(0x23b)];if(_0x327bae[_0x429f8d(0x48a)]&&_0x327bae[_0x429f8d(0x48a)][_0x429f8d(0x230)]===Ri['OK']){const _0x35e259=new URL(_0x327bae['url'],this[_0x429f8d(0x322)]())[_0x429f8d(0x2b9)]();return Promise[_0x429f8d(0x410)](_0x35e259);}return Promise[_0x429f8d(0x2cf)](_0x327bae[_0x429f8d(0x48a)]);}catch(_0x1e44b1){return Promise[_0x429f8d(0x2cf)](_0x1e44b1);}}async['saveImage'](_0x48aded){const _0xa2dfc8=_0x494e14;let _0x2bee80='';if(!sc['includes'](_0x48aded[_0xa2dfc8(0x2cd)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x26dd16[_0xa2dfc8(0x5bb)]));if(_0x48aded['size']>ic)return this[_0xa2dfc8(0x221)](),Promise[_0xa2dfc8(0x2cf)](new Error(_0x26dd16[_0xa2dfc8(0x54e)]));try{const _0x5371b7=new FormData();_0x5371b7[_0xa2dfc8(0x261)](_0xa2dfc8(0x1f7),_0x48aded);const _0x3ab2f0=this['_univerInstanceService'][_0xa2dfc8(0x27c)](),_0x5260f0=_0x3ab2f0==null?void 0x0:_0x3ab2f0[_0xa2dfc8(0x467)]();if(!_0x5260f0)throw new Error(_0xa2dfc8(0x576));const _0x268a96=this[_0xa2dfc8(0x25d)]()+'?size='+_0x48aded[_0xa2dfc8(0x3b4)]['toString']()+'&source='+yi[_0xa2dfc8(0x2d7)]+_0xa2dfc8(0x47a)+encodeURIComponent(_0x5260f0),_0x2104f7=await(await fetch(_0x268a96,{'method':'POST','body':_0x5371b7}))['json']();if(typeof _0x2104f7[_0xa2dfc8(0x419)]!=_0xa2dfc8(0x550))return this[_0xa2dfc8(0x221)](),Promise['reject'](new Error(_0x26dd16['ERROR_IMAGE']));_0x2bee80=_0x2104f7['FileId'];}catch{return this[_0xa2dfc8(0x221)](),Promise['reject'](new Error(_0x26dd16[_0xa2dfc8(0x4ec)]));}return new Promise((_0x340a97,_0xfe48e7)=>{const _0x4be379=_0xa2dfc8,_0xef664b=new FileReader();_0xef664b[_0x4be379(0x24c)](_0x48aded),_0xef664b[_0x4be379(0x535)]=_0x397f54=>{const _0x1e09c5=_0x4be379;var _0x2c3da1;const _0x2d9fb1=(_0x2c3da1=_0x397f54[_0x1e09c5(0x270)])==null?void 0x0:_0x2c3da1['result'];if(_0x2d9fb1==null){this[_0x1e09c5(0x221)](),_0xfe48e7(new Error(_0x26dd16[_0x1e09c5(0x4ec)]));return;}const _0x213544=_0x1fd4a4['generateRandomId'](0x6);_0x340a97({'imageId':_0x213544,'imageSourceType':_0x5f4e56[_0x1e09c5(0x2e2)],'source':_0x2bee80,'base64Cache':_0x2d9fb1,'status':_0x26dd16[_0x1e09c5(0x53a)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){const _0x71084d=_0x494e14;var _0x2e66fb,_0x2c54f5;const _0x3b3dff=this[_0x71084d(0x21f)][_0x71084d(0x27f)](nc),_0x4d4d38=this[_0x71084d(0x21f)][_0x71084d(0x27f)](ie);return(_0x2c54f5=(_0x2e66fb=_0x4d4d38==null?void 0x0:_0x4d4d38[_0x71084d(0x36e)])!=null?_0x2e66fb:_0x3b3dff)!=null?_0x2c54f5:rc;}[_0x494e14(0x5f7)](){const _0x45b458=_0x494e14;var _0x1b78ed,_0x5972c2;const _0x55e7c3=this[_0x45b458(0x21f)][_0x45b458(0x27f)](oc),_0x16f2ad=this[_0x45b458(0x21f)]['getConfig'](ie);return(_0x5972c2=(_0x1b78ed=_0x16f2ad==null?void 0x0:_0x16f2ad['signUrlServerUrl'])!=null?_0x1b78ed:_0x55e7c3)!=null?_0x5972c2:ac;}[_0x494e14(0x322)](){const _0x30bc1d=_0x494e14;var _0x56f074;const _0x3545a6=this[_0x30bc1d(0x21f)][_0x30bc1d(0x27f)](ie);return(_0x56f074=_0x3545a6==null?void 0x0:_0x3545a6['downloadEndpointUrl'])!=null?_0x56f074:location['origin'];}['_replaceFileID'](_0xb8224d,_0x564fb6){const _0x57ee04=_0x494e14;return _0xb8224d['replace'](_0x57ee04(0x586),_0x564fb6);}[_0x494e14(0x221)](){const _0x4e99e0=_0x494e14;this[_0x4e99e0(0x375)]-=0x1,this[_0x4e99e0(0x3e7)][_0x4e99e0(0x2d0)](this[_0x4e99e0(0x375)]);}};hs=tc([Xt(0x0,_0x41b3da(_0x2d1de9)),Xt(0x1,_0x23210b),Xt(0x2,_0x41b3da(_0x15b9fa))],hs);var cc=Object[_0x494e14(0x421)],hc=Object[_0x494e14(0x2a4)],lc=(_0x5d19e9,_0xf99e2f,_0x55ef41,_0x285a96)=>{for(var _0x3e61e9=_0x285a96>0x1?void 0x0:_0x285a96?hc(_0xf99e2f,_0x55ef41):_0xf99e2f,_0x322dd1=_0x5d19e9['length']-0x1,_0x539ee9;_0x322dd1>=0x0;_0x322dd1--)(_0x539ee9=_0x5d19e9[_0x322dd1])&&(_0x3e61e9=(_0x285a96?_0x539ee9(_0xf99e2f,_0x55ef41,_0x3e61e9):_0x539ee9(_0x3e61e9))||_0x3e61e9);return _0x285a96&&_0x3e61e9&&cc(_0xf99e2f,_0x55ef41,_0x3e61e9),_0x3e61e9;},Qe=(_0x4d4fcf,_0x558109)=>(_0x181292,_0x46b34a)=>_0x558109(_0x181292,_0x46b34a,_0x4d4fcf);let Rt=class extends _0x542deb{constructor(_0x4b1863,_0x2ce073,_0x1c81f4,_0x520d8f,_0x4ac520){const _0x208d5e=_0x494e14;super(),this[_0x208d5e(0x5a2)]=_0x4b1863,this['_univerInstanceService']=_0x2ce073,this['_permissionService']=_0x1c81f4,this[_0x208d5e(0x27d)]=_0x520d8f,this['_localeService']=_0x4ac520,this[_0x208d5e(0x52f)](),this[_0x208d5e(0x2ec)]();}[_0x494e14(0x2ec)](){const _0x2ec6a6=_0x494e14,_0x49d98e=async _0x3d4a94=>{const _0x558723=_0x5d20;(await this[_0x558723(0x27d)]['requireSession'](_0x3d4a94))['event$'][_0x558723(0x3eb)](_0x4dbfb7(_0x12966f=>_0x12966f[_0x558723(0x1f1)]===_0x3c9498[_0x558723(0x59c)]),_0xfbe715(this[_0x558723(0x3f5)]))['subscribe'](_0x15c7f4=>{const _0x590c68=_0x558723,_0x23c4fc=_0x15c7f4,{reason:_0xcc9edf}=_0x23c4fc[_0x590c68(0x41c)];this[_0x590c68(0x5a2)]['get'](_0x54b964)[_0x590c68(0x56c)]({'type':_0x31fabe[_0x590c68(0x557)],'content':this['_localeService']['t'](_0x590c68(0x2f8))+'('+_0xcc9edf+')'}),this['_permissionService'][_0x590c68(0x45d)](new _0x4d3cfd(_0x3d4a94)['id'],!0x1),this[_0x590c68(0x27d)]['closeSession'](_0x3d4a94);});};_0x5326b0(this[_0x2ec6a6(0x5ee)][_0x2ec6a6(0x229)](_0x50e7dc[_0x2ec6a6(0x5dc)]),this[_0x2ec6a6(0x5ee)][_0x2ec6a6(0x229)](_0x50e7dc[_0x2ec6a6(0x36f)]))[_0x2ec6a6(0x3eb)](_0x487dae(_0x2d4cf6=>_0x2d4cf6[_0x2ec6a6(0x467)]()),_0x4dbfb7(_0x24a216=>!_0x358629(_0x24a216)),_0xfbe715(this[_0x2ec6a6(0x3f5)]))[_0x2ec6a6(0x540)](_0x322183=>{_0x49d98e(_0x322183);});}[_0x494e14(0x52f)](){const _0x3fd703=_0x494e14,_0x3e2451=async _0x1310d1=>{const _0x1dbc77=_0x5d20;(await this[_0x1dbc77(0x27d)]['requireSession'](_0x1310d1))[_0x1dbc77(0x368)][_0x1dbc77(0x3eb)](_0x4dbfb7(_0x392104=>_0x392104[_0x1dbc77(0x1f1)]===_0x3c9498[_0x1dbc77(0x21e)]),_0xfbe715(this[_0x1dbc77(0x3f5)]))[_0x1dbc77(0x540)](_0x4566b1=>{const _0x3b8f8f=_0x1dbc77,_0x2a96dc=_0x4566b1,{objectId:_0x3e0a54}=_0x2a96dc[_0x3b8f8f(0x41c)],_0xbff9d=this[_0x3b8f8f(0x5a2)][_0x3b8f8f(0x38a)](_0xddd62c);_0x3e0a54===_0x1310d1?_0xbff9d[_0x3b8f8f(0x370)](_0x1310d1):_0xbff9d['refreshPermission'](_0x1310d1,_0x3e0a54);});};_0x5326b0(this[_0x3fd703(0x5ee)]['getTypeOfUnitAdded$'](_0x50e7dc[_0x3fd703(0x5dc)]),this['_univerInstanceService'][_0x3fd703(0x229)](_0x50e7dc[_0x3fd703(0x36f)]))[_0x3fd703(0x3eb)](_0x487dae(_0x2b3a49=>_0x2b3a49['getUnitId']()),_0x4dbfb7(_0x59a28f=>!_0x358629(_0x59a28f)),_0xfbe715(this[_0x3fd703(0x3f5)]))[_0x3fd703(0x540)](_0x3ddd0b=>{_0x3e2451(_0x3ddd0b);});}};Rt=lc([Qe(0x0,_0x41b3da(_0x2087b9)),Qe(0x1,_0x15b9fa),Qe(0x2,_0x298af3),Qe(0x3,_0x41b3da(Ae)),Qe(0x4,_0x41b3da(_0x461b9d))],Rt);var _c=Object[_0x494e14(0x421)],uc=Object[_0x494e14(0x2a4)],dc=(_0x481f9a,_0x56e179,_0x3b4abc,_0x440009)=>{const _0x32523c=_0x494e14;for(var _0x31dbe3=_0x440009>0x1?void 0x0:_0x440009?uc(_0x56e179,_0x3b4abc):_0x56e179,_0x134ab5=_0x481f9a[_0x32523c(0x490)]-0x1,_0x3df541;_0x134ab5>=0x0;_0x134ab5--)(_0x3df541=_0x481f9a[_0x134ab5])&&(_0x31dbe3=(_0x440009?_0x3df541(_0x56e179,_0x3b4abc,_0x31dbe3):_0x3df541(_0x31dbe3))||_0x31dbe3);return _0x440009&&_0x31dbe3&&_c(_0x56e179,_0x3b4abc,_0x31dbe3),_0x31dbe3;},ni=(_0x52c3a0,_0x2cacff)=>(_0x172181,_0x42b6d7)=>_0x2cacff(_0x172181,_0x42b6d7,_0x52c3a0);let ls=class{constructor(_0x30f323,_0x46010d){const _0x26f2a1=_0x494e14;this['_configService']=_0x30f323,this[_0x26f2a1(0x55e)]=_0x46010d;}async['getUnitOnRev'](_0x1b9c6b,_0x3d0132){const _0x5cecf5=_0x494e14;var _0x2877c0;const {unitID:_0x872bda,type:_0x16f23c,revision:_0x469d75=0x0}=_0x3d0132,_0x5b2f6d=this[_0x5cecf5(0x200)]()+'/'+_0x16f23c+_0x5cecf5(0x507)+_0x872bda+_0x5cecf5(0x1f0)+_0x469d75,_0x11173e=(await this['_httpService'][_0x5cecf5(0x38a)](_0x5b2f6d))['body'],_0x350f88=(_0x2877c0=_0x11173e[_0x5cecf5(0x30d)])==null?void 0x0:_0x2877c0[_0x5cecf5(0x24b)];if(_0x350f88){const _0x479c46=_0x350f88==null?void 0x0:_0x350f88['originalMeta'],_0x5e2137=_0x34deb5[_0x5cecf5(0x4ad)](_0x4efc59(_0x479c46));_0x350f88['originalMeta']=_0x5e2137,Object['entries'](_0x350f88['sheets'])[_0x5cecf5(0x58b)](([,_0x332438])=>{const _0x4e6331=_0x5cecf5,_0x32d33c=_0x332438[_0x4e6331(0x402)],_0x532499=_0x34deb5['encode'](_0x4efc59(_0x32d33c));_0x332438[_0x4e6331(0x402)]=_0x532499;});}return _0x11173e;}async['getSheetBlock'](_0x2bb124,_0x499bed){const _0x289a88=_0x494e14,{unitID:_0x5b730f,type:_0x30a13b,blockID:_0x4cc15f}=_0x499bed,_0x4ac44c=this['_getAPIPrefix']()+'/'+_0x30a13b+'/unit/'+_0x5b730f+'/block/'+_0x4cc15f;return(await this['_httpService'][_0x289a88(0x38a)](_0x4ac44c))[_0x289a88(0x23b)];}async[_0x494e14(0x506)](_0x4572f9,_0x12f78e){const _0x2ce2a7=_0x494e14,{unitID:_0x24a5ff,type:_0x69a45b,blockID:_0xff7084}=_0x12f78e,_0x1d27d3=this['_getAPIPrefix']()+_0x2ce2a7(0x539)+_0x69a45b+'/unit/'+_0x24a5ff+_0x2ce2a7(0x539)+_0xff7084;return(await this[_0x2ce2a7(0x55e)][_0x2ce2a7(0x38a)](_0x1d27d3))[_0x2ce2a7(0x23b)];}async['fetchMissingChangesets'](_0x404182,_0x262842){const _0x107af8=_0x494e14,{unitID:_0x3d5579,type:_0x29a3e3,from:_0x28d221,to:_0x232ccf}=_0x262842,_0x31a2a4=this['_getAPIPrefix']()+'/'+_0x29a3e3+_0x107af8(0x507)+_0x3d5579+_0x107af8(0x48c)+_0x28d221+_0x107af8(0x5e6)+_0x232ccf;return(await this['_httpService'][_0x107af8(0x38a)](_0x31a2a4))[_0x107af8(0x23b)];}['_getSnapshotAPIPrefix'](){const _0x219fe9=_0x494e14;var _0x1b2e94;return(_0x1b2e94=this[_0x219fe9(0x21f)][_0x219fe9(0x27f)](ar))!=null?_0x1b2e94:this[_0x219fe9(0x394)]();}[_0x494e14(0x394)](){const _0x478195=_0x494e14;var _0x1643d7,_0x27fd71;const _0x2f6bbd=this['_configService'][_0x478195(0x27f)](rr),_0x4afec6=this[_0x478195(0x21f)][_0x478195(0x27f)](ie);return(_0x27fd71=(_0x1643d7=_0x4afec6==null?void 0x0:_0x4afec6[_0x478195(0x48b)])!=null?_0x1643d7:_0x2f6bbd)!=null?_0x27fd71:or;}async[_0x494e14(0x474)](_0x1ae1ac,_0x54e6b7){const _0x18aabf=_0x494e14,_0x3be7f5=_0x18aabf(0x3f2)+_0x54e6b7['type']+_0x18aabf(0x507)+_0x54e6b7[_0x18aabf(0x55b)]+_0x18aabf(0x3ae);return(await this['_httpService'][_0x18aabf(0x38a)](_0x3be7f5,{'params':{'resourceId':JSON['stringify'](_0x54e6b7[_0x18aabf(0x562)])}}))['body'];}[_0x494e14(0x483)](){const _0x175763=_0x494e14;throw new Error(_0x175763(0x5e4));}['saveSheetBlock'](){const _0x4c3174=_0x494e14;throw new Error(_0x4c3174(0x5e4));}[_0x494e14(0x239)](){const _0x10c7d8=_0x494e14;throw new Error(_0x10c7d8(0x5e4));}['copyFileMeta'](){const _0x2edbb7=_0x494e14;throw new Error(_0x2edbb7(0x5e4));}[_0x494e14(0x25e)](){const _0x5c9b14=_0x494e14;throw new Error(_0x5c9b14(0x5e4));}};ls=dc([ni(0x0,_0x23210b),ni(0x1,_0x41b3da(_0x2d1de9))],ls);var fc=Object[_0x494e14(0x421)],vc=Object[_0x494e14(0x2a4)],mc=(_0x24a2af,_0xa653ba,_0x473331,_0x1520b6)=>{const _0x161032=_0x494e14;for(var _0x3ddf57=_0x1520b6>0x1?void 0x0:_0x1520b6?vc(_0xa653ba,_0x473331):_0xa653ba,_0x45e18a=_0x24a2af[_0x161032(0x490)]-0x1,_0x3bb169;_0x45e18a>=0x0;_0x45e18a--)(_0x3bb169=_0x24a2af[_0x45e18a])&&(_0x3ddf57=(_0x1520b6?_0x3bb169(_0xa653ba,_0x473331,_0x3ddf57):_0x3bb169(_0x3ddf57))||_0x3ddf57);return _0x1520b6&&_0x3ddf57&&fc(_0xa653ba,_0x473331,_0x3ddf57),_0x3ddf57;},et=(_0x58b418,_0x4a7790)=>(_0x4c8d4c,_0xa0fea9)=>_0x4a7790(_0x4c8d4c,_0xa0fea9,_0x58b418);let _s=class extends _0x152212{constructor(_0x8b1977,_0x1a48c3,_0x5d8f3f,_0x22e58b,_0x2448c1){const _0x68e7fa=_0x494e14;super(_0x8b1977,_0x1a48c3,_0x5d8f3f),this[_0x68e7fa(0x3c3)]=_0x22e58b,this[_0x68e7fa(0x3c0)]=_0x2448c1;}['transformUndoRedo'](_0x323dd8,_0x570347){const _0x2d8a63=_0x494e14,_0x573dcd=this['_getUndoStack'](_0x323dd8);if(_0x573dcd)try{const _0x385a23=this[_0x2d8a63(0x4af)](_0x573dcd,_0x570347);this[_0x2d8a63(0x2c8)](_0x323dd8,_0x385a23);}catch(_0x20d0a2){this[_0x2d8a63(0x3c0)][_0x2d8a63(0x48a)](_0x2d8a63(0x5e5),_0x20d0a2),this['_clearUndo'](_0x323dd8);}const _0x10348d=this[_0x2d8a63(0x2c9)](_0x323dd8);if(_0x10348d)try{const _0x556a73=this[_0x2d8a63(0x4af)](_0x10348d,_0x570347);this[_0x2d8a63(0x246)](_0x323dd8,_0x556a73);}catch(_0x3a8882){this[_0x2d8a63(0x3c0)]['error'](_0x3a8882),this['_clearRedo'](_0x323dd8);}}[_0x494e14(0x296)](_0x30d618){const _0x315bcf=_0x494e14,_0x5599b1=this[_0x315bcf(0x3bf)](_0x30d618);_0x5599b1&&(_0x5599b1[_0x315bcf(0x490)]=0x0,this[_0x315bcf(0x5f9)]());}[_0x494e14(0x4bb)](_0x26be83){const _0x2523d0=this['_getRedoStack'](_0x26be83);_0x2523d0&&(_0x2523d0['length']=0x0,this['_updateStatus']());}[_0x494e14(0x2c8)](_0x598f26,_0x5429ae){const _0x190040=_0x494e14;this[_0x190040(0x473)][_0x190040(0x207)](_0x598f26,_0x5429ae),this['_updateStatus']();}['_substituteRedoStack'](_0x508a7d,_0x94cb73){const _0x475c83=_0x494e14;this[_0x475c83(0x334)]['set'](_0x508a7d,_0x94cb73),this[_0x475c83(0x5f9)]();}[_0x494e14(0x4af)](_0x145b71,_0x557803){const _0xe780d6=_0x494e14,_0x2c81b1=[];let _0x337032=_0x557803,_0x20cafd=_0x557803;for(let _0x35b483=_0x145b71['length']-0x1;_0x35b483>=0x0;_0x35b483--){const {unitID:_0x289827,undoMutations:_0x514d66,redoMutations:_0x24e727}=_0x145b71[_0x35b483],_0x3cdc11=this[_0xe780d6(0x3c3)][_0xe780d6(0x464)](_0x337032,_0x514d66),_0x18229b=this['_transformService'][_0xe780d6(0x464)](_0x20cafd,_0x24e727);if(_0x3230ab(_0x3cdc11)||_0x3230ab(_0x18229b)){this['_logService'][_0xe780d6(0x48a)](_0xe780d6(0x5e5),_0xe780d6(0x381),_0x3cdc11,_0x18229b);break;}_0x337032=_0x3cdc11[_0xe780d6(0x41a)],_0x20cafd=_0x18229b[_0xe780d6(0x41a)],_0x2c81b1[_0xe780d6(0x271)]({'unitID':_0x289827,'undoMutations':_0x3cdc11['m2Prime'],'redoMutations':_0x18229b[_0xe780d6(0x5ca)]});}return _0x2c81b1['reverse']();}};_s=mc([et(0x0,_0x15b9fa),et(0x1,_0x1c554d),et(0x2,_0x1bcee7),et(0x3,_0x1197db),et(0x4,_0x3bb158)],_s);class pc extends _0x542deb{constructor(){const _0xab18b0=_0x494e14;super(),g(this,'urlChange$'),this[_0xab18b0(0x2a7)]=_0x7e355d(window,_0xab18b0(0x55a))[_0xab18b0(0x3eb)](_0x3ee31c(this[_0xab18b0(0x3f5)]),_0x272c53(0x1),_0x33a256(void 0x0));}[_0x494e14(0x349)](_0x5a6ca6,_0x1b51af,_0x2c5971=!0x1){const _0x2d0e73=_0x494e14,_0x2b5bac=new URL(window[_0x2d0e73(0x3f0)]['href']);_0x2b5bac[_0x2d0e73(0x31a)]['set'](_0x5a6ca6,_0x1b51af),_0x2c5971?window[_0x2d0e73(0x5b5)][_0x2d0e73(0x4fb)]('','',_0x2b5bac['toString']()):window[_0x2d0e73(0x5b5)]['pushState']('','',_0x2b5bac[_0x2d0e73(0x2b9)]());}[_0x494e14(0x561)](_0x5c687e,_0x3d1513=!0x1){const _0x27c9a4=_0x494e14,_0x4f09e4=new URL(window[_0x27c9a4(0x3f0)][_0x27c9a4(0x503)]);_0x4f09e4['searchParams'][_0x27c9a4(0x534)](_0x5c687e),_0x3d1513?window['history'][_0x27c9a4(0x4fb)]('','',_0x4f09e4[_0x27c9a4(0x2b9)]()):window['history'][_0x27c9a4(0x348)]('','',_0x4f09e4[_0x27c9a4(0x2b9)]());}[_0x494e14(0x288)](_0x12cf8b){const _0x54e5a4=_0x494e14;var _0x4df891;return(_0x4df891=new URL(window[_0x54e5a4(0x3f0)]['href'])[_0x54e5a4(0x31a)][_0x54e5a4(0x38a)](_0x12cf8b))!=null?_0x4df891:void 0x0;}}var Yi=Object['defineProperty'],gc=Object[_0x494e14(0x2a4)],Sc=(_0x253bd2,_0x409855,_0x49a7c8)=>_0x409855 in _0x253bd2?Yi(_0x253bd2,_0x409855,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49a7c8}):_0x253bd2[_0x409855]=_0x49a7c8,Ic=(_0x416739,_0xb0b9c8,_0x1c0667,_0x12ac3e)=>{const _0x207bb2=_0x494e14;for(var _0x3de445=_0x12ac3e>0x1?void 0x0:_0x12ac3e?gc(_0xb0b9c8,_0x1c0667):_0xb0b9c8,_0x422c92=_0x416739[_0x207bb2(0x490)]-0x1,_0x35ffd;_0x422c92>=0x0;_0x422c92--)(_0x35ffd=_0x416739[_0x422c92])&&(_0x3de445=(_0x12ac3e?_0x35ffd(_0xb0b9c8,_0x1c0667,_0x3de445):_0x35ffd(_0x3de445))||_0x3de445);return _0x12ac3e&&_0x3de445&&Yi(_0xb0b9c8,_0x1c0667,_0x3de445),_0x3de445;},_t=(_0x428177,_0x22a54f)=>(_0x24938e,_0x1266ed)=>_0x22a54f(_0x24938e,_0x1266ed,_0x428177),Cc=(_0xcb47f4,_0x44714b,_0x13328e)=>Sc(_0xcb47f4,_0x44714b+'',_0x13328e);const Ec=_0x494e14(0x345);let us=class extends _0x47338f{constructor(_0x331e1c=Er,_0x307560,_0xe462ed,_0x24adaf,_0x5a88e6){const _0xa6a003=_0x494e14;super(),this[_0xa6a003(0x498)]=_0x331e1c,this[_0xa6a003(0x3c0)]=_0x307560,this[_0xa6a003(0x3b2)]=_0xe462ed,this['_injector']=_0x24adaf,this['_configService']=_0x5a88e6;const {..._0x222b36}=this[_0xa6a003(0x498)];this[_0xa6a003(0x21f)][_0xa6a003(0x4b3)](ie,_0x222b36);}[_0x494e14(0x3c9)](){const _0xd919a9=_0x494e14;this[_0xd919a9(0x520)](),this[_0xd919a9(0x418)]();}['onReady'](){const _0x29be09=_0x494e14;_0x4ad507(this[_0x29be09(0x5a2)],[[Et]]);}['onRendered'](){const _0x3c3edd=_0x494e14;this[_0x3c3edd(0x469)]();}[_0x494e14(0x520)](){const _0x570cf8=_0x494e14;var _0x20da96,_0x485782,_0xc30f78,_0x5a64cd;this[_0x570cf8(0x5a2)][_0x570cf8(0x481)](_0x21e225)&&this[_0x570cf8(0x3c0)][_0x570cf8(0x48a)](_0x570cf8(0x573),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x332fc6=[[_0x21e225,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':pc}],[Ne],[q],[_0x58d5a2],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0x485782=(_0x20da96=this[_0x570cf8(0x498)])==null?void 0x0:_0x20da96[_0x570cf8(0x2b5)])!=null?_0x485782:es}],[_0x220388,{'useClass':ls}],[_0x284f3d,{'useClass':cs}],[_0x5c0e9a,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0xc30f78=this[_0x570cf8(0x498)])!=null&&_0xc30f78[_0x570cf8(0x4f8)]&&_0x332fc6['push']([yt,{'useClass':so}]),_0x5bbf0d(this['_injector'],_0x4f2331(_0x332fc6,(_0x5a64cd=this[_0x570cf8(0x498)])==null?void 0x0:_0x5a64cd[_0x570cf8(0x4cc)]));}[_0x494e14(0x469)](){const _0x77174e=_0x494e14;this[_0x77174e(0x461)](this[_0x77174e(0x3b2)][_0x77174e(0x45a)](_0x50e7dc[_0x77174e(0x36f)],[os])),this[_0x77174e(0x461)](this[_0x77174e(0x3b2)][_0x77174e(0x45a)](_0x50e7dc['UNIVER_SHEET'],[as]));}[_0x494e14(0x418)](){const _0x329baf=_0x494e14;var _0xb7458e,_0x3b1418;this['_injector'][_0x329baf(0x38a)](_0x2d1de9)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x39d18b({'maxParallel':0x6})}),(_0xb7458e=this[_0x329baf(0x498)])!=null&&_0xb7458e[_0x329baf(0x3bd)]||this['_injector'][_0x329baf(0x38a)](q)[_0x329baf(0x31b)](),(_0x3b1418=this[_0x329baf(0x498)])!=null&&_0x3b1418['enableAuthServer']&&_0x4ad507(this[_0x329baf(0x5a2)],[[bt]]),_0x4ad507(this[_0x329baf(0x5a2)],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Cc(us,_0x494e14(0x380),Ec),us=Ic([_0x9cca5(_0x1de7ac,_0x27f895),_t(0x1,_0x3bb158),_t(0x2,_0x392b64),_t(0x3,_0x41b3da(_0x2087b9)),_t(0x4,_0x23210b)],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};