@univerjs-pro/collaboration-client 0.5.1-nightly.202412041606 → 0.5.1-nightly.202412061606
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/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.css +0 -1
- package/lib/types/controllers/collaboration/collaboration-entity.d.ts +20 -18
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +17 -14
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +1 -0
- package/lib/types/index.d.ts +11 -11
- package/lib/types/plugin.d.ts +1 -6
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +3 -4
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +3 -3
- package/lib/types/services/collaboration-ui-event/collaboration-ui-event.d.ts +19 -0
- package/lib/types/services/data-loader/data-loader.service.d.ts +23 -0
- package/lib/types/services/image-remote/image-io.service.d.ts +1 -1
- package/lib/types/services/local-cache/local-cache.service.d.ts +7 -23
- package/lib/types/services/permission/permission.service.d.ts +8 -3
- package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +0 -24
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -18
- package/lib/types/controllers/clipboard/docs/image/image-paste.controller.d.ts +0 -9
- package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +0 -23
- package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +0 -22
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +0 -38
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +0 -24
- package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +0 -3
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +0 -39
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +0 -21
- package/lib/types/controllers/collab-status/collab-status.controller.d.ts +0 -18
- package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +0 -4
- package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +0 -0
- package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +0 -58
- package/lib/types/controllers/data-loader/__tests__/data-loader.controller.spec.d.ts +0 -1
- package/lib/types/controllers/data-loader/data-loader.controller.d.ts +0 -22
- package/lib/types/models/cursor.d.ts +0 -30
- package/lib/types/services/color-assign/color-assign.service.d.ts +0 -10
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +0 -13
- package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +0 -12
- package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +0 -13
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +0 -8
- package/lib/types/services/url/url.service.d.ts +0 -12
- package/lib/types/services/url/web-url.service.d.ts +0 -10
- package/lib/types/views/components/CollabStatus.d.ts +0 -10
- package/lib/types/views/components/CollabStatus.stories.d.ts +0 -8
- package/lib/types/views/shapes/doc-collab-cursor.d.ts +0 -27
- package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +0 -27
- package/lib/types/views/shapes/text-bubble.shape.d.ts +0 -19
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const _0x2025fc=_0x46d8;(function(_0x42029,_0x47065b){const _0x3777cf=_0x46d8,_0x286874=_0x42029();while(!![]){try{const _0x302d4c=-parseInt(_0x3777cf(0x26d))/0x1*(parseInt(_0x3777cf(0x114))/0x2)+-parseInt(_0x3777cf(0x43c))/0x3*(-parseInt(_0x3777cf(0x30e))/0x4)+-parseInt(_0x3777cf(0x24f))/0x5+-parseInt(_0x3777cf(0x1e1))/0x6+parseInt(_0x3777cf(0x453))/0x7*(parseInt(_0x3777cf(0xee))/0x8)+-parseInt(_0x3777cf(0xd0))/0x9+parseInt(_0x3777cf(0x201))/0xa;if(_0x302d4c===_0x47065b)break;else _0x286874['push'](_0x286874['shift']());}catch(_0x5c13f8){_0x286874['push'](_0x286874['shift']());}}}(_0x5197,0xa5bc6));var cr=Object['defineProperty'],hr=(_0x58d0da,_0x34d97e,_0x3a12df)=>_0x34d97e in _0x58d0da?cr(_0x58d0da,_0x34d97e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a12df}):_0x58d0da[_0x34d97e]=_0x3a12df,g=(_0x1ed939,_0x214b10,_0x42747c)=>hr(_0x1ed939,typeof _0x214b10!=_0x2025fc(0x357)?_0x214b10+'':_0x214b10,_0x42747c);import{createIdentifier as _0x30094b,Inject as _0x5847bf,Disposable as _0x24229e,DisposableCollection as _0x55a86c,toDisposable as _0x7c72c3,IConfigService as _0x4df844,ILogService as _0x49d195,UserManagerService as _0x1fb10d,UniverInstanceType as _0xb166dc,IUniverInstanceService as _0x425cee,LocaleService as _0x4b4756,Optional as _0x133fb4,RxDisposable as _0x5ec0cb,Injector as _0x5d7671,Tools as _0x529634,ILocalStorageService as _0x5353b6,Rectangle as _0x1a8bad,ICommandService as _0x28287a,DOC_RANGE_TYPE as _0x2bd610,JSONX as _0x421ddc,CommandType as _0x4f220f,IPermissionService as _0x1700fb,IUndoRedoService as _0x4bbe15,sequenceExecute as _0x512337,debounce as _0x26c09b,COLORS as _0x37cb7b,ColorKit as _0x13add7,ThemeService as _0x14c134,fromEventSubject as _0x2095a5,useDependency as _0x121dc7,connectInjector as _0x556999,Workbook as _0x21f116,MentionType as _0x153717,isInternalEditorID as _0x56718f,LocalUndoRedoService as _0x18ef81,IContextService as _0x4ea7fc,DependentOn as _0x2048c2,Plugin as _0x5001bc,touchDependencies as _0x5404e4,IAuthzIoService as _0x5cfc2f,IMentionIOService as _0x2d3ae3,registerDependencies as _0x43027c,mergeOverrideWithDependencies as _0x3474e1}from'@univerjs/core';import{Subject as _0x1c0b9c,merge as _0x38a986,takeUntil as _0x7b6507,BehaviorSubject as _0x1074c2,distinctUntilChanged as _0x17cf14,fromEvent as _0x6a336f,ReplaySubject as _0x5e2516,take as _0x54d89e,map as _0x2e263c,shareReplay as _0x2c1940,of as _0x43d0da,debounceTime as _0x493feb,filter as _0x2eb5c7,switchMap as _0x4e1242,combineLatest as _0x238a3a,concatMap as _0x4ab7bd,mapTo as _0x2d3712}from'rxjs';import{map as _0xb11c2f,take as _0x1abfcf,filter as _0xa0d892,delay as _0xca605e,throttleTime as _0x300e66,takeUntil as _0xc7ed86,switchMap as _0x51df4e}from'rxjs/operators';import{MessageType as _0x3f6750,Tooltip as _0x4ddf03}from'@univerjs/design';import{HTTPService as _0x310387,WebSocketService as _0x1293ea,MergeInterceptorFactory as _0x212a92,HTTPRequest as _0x30acee,UniverNetworkPlugin as _0x6b1b5c,ThresholdInterceptorFactory as _0x156843}from'@univerjs/network';import{IBeforeCloseService as _0x176b35,IMessageService as _0x3d017a,INotificationService as _0x28a3f3,useObservable as _0x5dcc9e,BuiltInUIPart as _0x2879fd,IUIPartsService as _0x100c23}from'@univerjs/ui';import{CollaborationEvent as _0x3a14f4,parseChangesetToProtocol as _0x100c80,ISnapshotServerService as _0xbd688,isTransformMutationFailure as _0x3e27e9,isTransformMutationsWithChangesetSuccess as _0x341c91,ITransformService as _0x2fbfa5,RevisionService as _0x389697,mapDocumentTypeToUniverType as _0x3761c7,isTransformChangesetsSuccess as _0xba8c63,CompressMutationService as _0x550e78,parseProtocolChangeset as _0x3cc097,SnapshotService as _0x3ef466,textEncoder as _0x55ea7a,b64DecodeUnicode as _0x1facae,isTransformMutationsWithChangesetFailure as _0xc9659d,UniverCollaborationPlugin as _0x1105e5}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xeb3a8b}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x49b6ea,RichTextEditingMutation as _0x3ef379,SetTextSelectionsOperation as _0x10a027,DocSkeletonManagerService as _0x4e067d}from'@univerjs/docs';import{DocIMEInputManagerService as _0x5d51e1,DocStateChangeManagerService as _0x4ee933,IDocClipboardService as _0x3d5ec4,NodePositionConvertToCursor as _0x44a430,NodePositionConvertToRectRange as _0x4512fd,TEXT_RANGE_LAYER_INDEX as _0x505883,SetDocZoomRatioOperation as _0x3c0f91}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x2d0767,SetSelectionsOperation as _0x3295dc,InsertSheetMutation as _0x5bc6a8,EmptyMutation as _0x40bf05,WorkbookEditablePermission as _0x232ff6,RefRangeService as _0x4f6ae0,EffectRefRangId as _0x1bada9,handleIRemoveRow as _0x5842ca,handleIRemoveCol as _0x4cc33a,handleMoveRange as _0x11ac4c,handleInsertRow as _0x1fe1d1,handleInsertRangeMoveRight as _0x38f4c6,handleInsertRangeMoveDown as _0x21ee51,handleInsertCol as _0x3c8a96,handleDeleteRangeMoveUp as _0x27e6e3,handleDeleteRangeMoveLeft as _0x322dc1,runRefRangeMutations as _0x5a1647,SetWorksheetActivateCommand as _0x31bc6f}from'@univerjs/sheets';import{IRenderManagerService as _0x27432a,Shape as _0x280f32,Rect as _0x10cdd3,getColor as _0x44a483,RegularPolygon as _0x2d60c8,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3f5711,Vector2 as _0x483d6a,SHEET_VIEWPORT_KEY as _0x5a71d0}from'@univerjs/engine-render';import{IImageIoService as _0x1fd980,ImageSourceType as _0x3882da,ImageUploadStatusType as _0x228958}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x129840,serializeRangeWithSheet as _0xf165cf}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x46c626,getCoordByCell as _0x473bbb,getSheetObject as _0x10d32f,SheetPermissionInitController as _0x244d66}from'@univerjs/sheets-ui';import _0x3f0cf0,{forwardRef as _0x338e7b,useRef as _0x28ff08,createElement as _0x10eb66,useCallback as _0x2496ba}from'react';import{IRemoteInstanceService as _0x3b46ab}from'@univerjs/rpc';const En='SNAPSHOT_SERVER_URL_KEY',bn=_0x2025fc(0x20e),Tn='SNAPSHOT_URL_KEY',wh=_0x2025fc(0x2b2),Rn=0x7d0,On=_0x2025fc(0xde),yn='ws://127.0.0.1:8000/universer-api/comb/connect',wn='/universer-api/user/session-ticket',Dn=_0x2025fc(0x233),Pn=0x7530,ki=_0x2025fc(0x476),Wi=0x4e20,Nn=0x4e20,Un=_0x2025fc(0x1fc),An=0x3,Mn='LOCAL_CACHE_INTERVAL',xn=0x3e8,Ln=_0x2025fc(0x325),$n=_0x2025fc(0x1fa),Hn=_0x2025fc(0x45d),jn=_0x2025fc(0x268);var Fi=(_0x162f5d=>(_0x162f5d[_0x162f5d[_0x2025fc(0x3e8)]=0x0]=_0x2025fc(0x3e8),_0x162f5d[_0x162f5d['OK']=0x1]='OK',_0x162f5d[_0x162f5d[_0x2025fc(0xbd)]=0x2]=_0x2025fc(0xbd),_0x162f5d[_0x162f5d[_0x2025fc(0x411)]=0x3]=_0x2025fc(0x411),_0x162f5d[_0x162f5d[_0x2025fc(0x45b)]=0x4]=_0x2025fc(0x45b),_0x162f5d[_0x162f5d[_0x2025fc(0x35a)]=0x5]=_0x2025fc(0x35a),_0x162f5d[_0x162f5d[_0x2025fc(0x331)]=0x6]=_0x2025fc(0x331),_0x162f5d[_0x162f5d[_0x2025fc(0x257)]=0x7]=_0x2025fc(0x257),_0x162f5d[_0x162f5d[_0x2025fc(0x3e1)]=0x8]=_0x2025fc(0x3e1),_0x162f5d[_0x162f5d['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x162f5d[_0x162f5d[_0x2025fc(0x2a6)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x162f5d[_0x162f5d[_0x2025fc(0x49b)]=0x1771]=_0x2025fc(0x49b),_0x162f5d[_0x162f5d[_0x2025fc(0x2a8)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x162f5d[_0x162f5d['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2025fc(0x3a8),_0x162f5d[_0x162f5d['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x162f5d[_0x162f5d[_0x2025fc(0x4af)]=0x1b5a]=_0x2025fc(0x4af),_0x162f5d[_0x162f5d[_0x2025fc(0x1d8)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x162f5d[_0x162f5d[_0x2025fc(0xf1)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x162f5d[_0x162f5d[_0x2025fc(0x101)]=0x1b5d]='APPLY_DUPLICATED',_0x162f5d[_0x162f5d[_0x2025fc(0x43f)]=0x1f41]=_0x2025fc(0x43f),_0x162f5d[_0x162f5d[_0x2025fc(0x14e)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x162f5d[_0x162f5d[_0x2025fc(0x13f)]=0x232a]=_0x2025fc(0x13f),_0x162f5d[_0x162f5d[_0x2025fc(0x1ca)]=0x232b]=_0x2025fc(0x1ca),_0x162f5d[_0x162f5d[_0x2025fc(0x23e)]=0x232c]=_0x2025fc(0x23e),_0x162f5d[_0x162f5d[_0x2025fc(0x38d)]=0x232d]=_0x2025fc(0x38d),_0x162f5d[_0x162f5d[_0x2025fc(0x3dd)]=0x2711]=_0x2025fc(0x3dd),_0x162f5d[_0x162f5d[_0x2025fc(0x303)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x162f5d[_0x162f5d[_0x2025fc(0x47e)]=0x2713]=_0x2025fc(0x47e),_0x162f5d[_0x162f5d['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2025fc(0x10f),_0x162f5d[_0x162f5d['UNRECOGNIZED']=-0x1]=_0x2025fc(0x104),_0x162f5d))(Fi||{}),ae=(_0x49a5fa=>(_0x49a5fa[_0x49a5fa[_0x2025fc(0x38e)]=0x0]=_0x2025fc(0x38e),_0x49a5fa[_0x49a5fa['UNIVER_DOC']=0x1]=_0x2025fc(0x3ad),_0x49a5fa[_0x49a5fa[_0x2025fc(0x4a6)]=0x2]=_0x2025fc(0x4a6),_0x49a5fa[_0x49a5fa[_0x2025fc(0x472)]=0x3]=_0x2025fc(0x472),_0x49a5fa[_0x49a5fa['UNIVER_PROJECT']=0x4]=_0x2025fc(0x1f4),_0x49a5fa[_0x49a5fa['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x49a5fa))(ae||{}),W=(_0x2376d0=>(_0x2376d0[_0x2376d0[_0x2025fc(0x129)]=0x0]='UNKNOWN_CMD',_0x2376d0[_0x2376d0['HELLO']=0x1]=_0x2025fc(0x17c),_0x2376d0[_0x2376d0[_0x2025fc(0xea)]=0x2]='JOIN',_0x2376d0[_0x2376d0[_0x2025fc(0x387)]=0x3]=_0x2025fc(0x387),_0x2376d0[_0x2376d0[_0x2025fc(0x365)]=0x4]='INGEST',_0x2376d0[_0x2376d0[_0x2025fc(0x4a5)]=0x5]='HEARTBEAT',_0x2376d0[_0x2376d0[_0x2025fc(0x247)]=0x6]=_0x2025fc(0x247),_0x2376d0[_0x2376d0[_0x2025fc(0x104)]=-0x1]='UNRECOGNIZED',_0x2376d0))(W||{}),Pe=(_0x1be4d5=>(_0x1be4d5[_0x1be4d5[_0x2025fc(0x35b)]=0x0]='UNKNOWN_CODE',_0x1be4d5[_0x1be4d5['OK']=0x1]='OK',_0x1be4d5[_0x1be4d5[_0x2025fc(0x1d5)]=0x2]=_0x2025fc(0x1d5),_0x1be4d5[_0x1be4d5[_0x2025fc(0x4a4)]=0x3e9]=_0x2025fc(0x4a4),_0x1be4d5[_0x1be4d5['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x2025fc(0x41e),_0x1be4d5[_0x1be4d5['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x2025fc(0x2f3),_0x1be4d5[_0x1be4d5[_0x2025fc(0x267)]=0x3ec]=_0x2025fc(0x267),_0x1be4d5[_0x1be4d5[_0x2025fc(0x104)]=-0x1]=_0x2025fc(0x104),_0x1be4d5))(Pe||{}),Vi=(_0xa4a949=>(_0xa4a949[_0xa4a949[_0x2025fc(0x435)]=0x0]=_0x2025fc(0x435),_0xa4a949[_0xa4a949[_0x2025fc(0x2a2)]=0x1]='HttpImport',_0xa4a949[_0xa4a949[_0x2025fc(0x302)]=0x2]=_0x2025fc(0x302),_0xa4a949[_0xa4a949['UnitEmbedded']=0x3]=_0x2025fc(0x239),_0xa4a949[_0xa4a949[_0x2025fc(0x3ac)]=0x4]=_0x2025fc(0x3ac),_0xa4a949[_0xa4a949[_0x2025fc(0x104)]=-0x1]=_0x2025fc(0x104),_0xa4a949))(Vi||{});const Q=_0x2025fc(0x197),Bn={};function kn(_0x2da184){const _0x28bbac=_0x2025fc;var _0xb626fa,_0x4eeb2d,_0x183095,_0x167953,_0x396954;const _0x1dcfe7=_0x2da184['data'],_0x330d72=JSON[_0x28bbac(0x211)](_0x1dcfe7);switch(_0x330d72[_0x28bbac(0x32d)]){case W[_0x28bbac(0x4a5)]:case W[_0x28bbac(0x17c)]:{const _0x4911d6=_0x330d72[_0x28bbac(0x1bd)];return{..._0x330d72,'data':_0x4911d6,'cmd':_0x330d72[_0x28bbac(0x32d)]};}case W[_0x28bbac(0xea)]:{const _0x5f44e6=_0x330d72[_0x28bbac(0x48d)];return{..._0x330d72,'data':_0x5f44e6,'cmd':_0x330d72[_0x28bbac(0x32d)]};}case W['RECV']:{const _0x831847=_0x330d72[_0x28bbac(0x381)];switch(_0x831847[_0x28bbac(0x28b)]){case _0x3a14f4[_0x28bbac(0x102)]:return{..._0x330d72,'data':{..._0x831847,'data':(_0xb626fa=_0x831847[_0x28bbac(0x3ef)])==null?void 0x0:_0xb626fa['cs']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x3d7)]:return{..._0x330d72,'data':{..._0x831847,'data':(_0x4eeb2d=_0x831847['csAckEvent'])==null?void 0x0:_0x4eeb2d['cs']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x36e)]:return{..._0x330d72,'data':{..._0x831847,'data':(_0x183095=_0x831847['newCsEvent'])==null?void 0x0:_0x183095['cs']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x180)]:return{..._0x330d72,'data':{..._0x831847,'data':(_0x167953=_0x831847[_0x28bbac(0x30b)])==null?void 0x0:_0x167953['cs']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4['CHANGESET_SHOULD_RETRY']:return{..._0x330d72,'data':{..._0x831847,'data':(_0x396954=_0x831847[_0x28bbac(0x370)])==null?void 0x0:_0x396954['cs']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4['UPDATE_CURSOR']:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x235)]},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0xc3)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847['joinEvent']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x3dc)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x22d)]},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x29b)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x374)]},'cmd':_0x330d72['cmd']};case _0x3a14f4[_0x28bbac(0x177)]:case _0x3a14f4[_0x28bbac(0x44c)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x390)]},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x2ef)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x374)]},'cmd':_0x330d72['cmd']};case _0x3a14f4['MSG_FOR_ERROR']:return{..._0x330d72,'data':_0x831847,'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x2b6)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x189)]},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x47c)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847['updatePermissionObjEvent']},'cmd':_0x330d72['cmd']};case _0x3a14f4[_0x28bbac(0x23f)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847['shouldCloseConn']},'cmd':_0x330d72[_0x28bbac(0x32d)]};default:return _0x330d72;}}default:return _0x330d72;}}function Wn(_0x318407){const _0x15c075=_0x2025fc;switch(_0x318407[_0x15c075(0x32d)]){case W[_0x15c075(0x4a5)]:case W[_0x15c075(0x17c)]:return JSON[_0x15c075(0x11e)]({'cmd':_0x318407['cmd'],'routeKey':_0x318407[_0x15c075(0x15f)]});case W[_0x15c075(0x365)]:{let _0x47fecc;switch(_0x318407[_0x15c075(0x2a0)][_0x15c075(0x28b)]){case _0x3a14f4[_0x15c075(0x30f)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0x30f)],'updateCursorEvent':_0x318407[_0x15c075(0x2a0)]['data']};break;}case _0x3a14f4[_0x15c075(0x3dc)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0x3dc)],'leaveEvent':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x2a0)]};break;}case _0x3a14f4['USERS_ENTER']:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0xc3)],'joinEvent':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x2a0)]};break;}case _0x3a14f4[_0x15c075(0x29b)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0x29b)],'liveShareNewHost':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x2a0)]};break;}case _0x3a14f4[_0x15c075(0x44c)]:{_0x47fecc={'eventID':_0x3a14f4['LIVESHARE_OPERATION'],'liveShareOperation':_0x318407['data'][_0x15c075(0x2a0)]};break;}case _0x3a14f4[_0x15c075(0x2ef)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0x2ef)],'liveShareTerminate':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x2a0)]};break;}case _0x3a14f4[_0x15c075(0xba)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0xba)],'liveShareRequestHost':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x2a0)]};break;}case _0x3a14f4[_0x15c075(0x177)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0x177)]};break;}default:_0x47fecc={'eventID':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x28b)]};}return JSON[_0x15c075(0x11e)]({'cmd':_0x318407[_0x15c075(0x32d)],'routeKey':_0x318407[_0x15c075(0x15f)],'collaMsg':_0x47fecc});}case W[_0x15c075(0xea)]:return JSON[_0x15c075(0x11e)]({'cmd':_0x318407[_0x15c075(0x32d)],'routeKey':_0x318407[_0x15c075(0x15f)],'joinReq':_0x318407['data']});case W[_0x15c075(0x387)]:return JSON['stringify']({'cmd':_0x318407[_0x15c075(0x32d)],'routeKey':_0x318407[_0x15c075(0x15f)],'leaveReq':_0x318407['data']});default:throw new Error(_0x15c075(0x380));}}var Fn=Object[_0x2025fc(0x385)],Vn=Object['getOwnPropertyDescriptor'],Gn=(_0x3d4c12,_0x1b82d5,_0x452e89,_0x35e945)=>{for(var _0x320321=_0x35e945>0x1?void 0x0:_0x35e945?Vn(_0x1b82d5,_0x452e89):_0x1b82d5,_0xba9b2e=_0x3d4c12['length']-0x1,_0x3d85ad;_0xba9b2e>=0x0;_0xba9b2e--)(_0x3d85ad=_0x3d4c12[_0xba9b2e])&&(_0x320321=(_0x35e945?_0x3d85ad(_0x1b82d5,_0x452e89,_0x320321):_0x3d85ad(_0x320321))||_0x320321);return _0x35e945&&_0x320321&&Fn(_0x1b82d5,_0x452e89,_0x320321),_0x320321;},ze=(_0x4af1c2,_0x57c8b4)=>(_0x440e65,_0x27238c)=>_0x57c8b4(_0x440e65,_0x27238c,_0x4af1c2);const Gi=_0x30094b(_0x2025fc(0xec));function Yn(_0x24df20,_0x1ec02f,_0x3ba80d){const _0x29d9da=_0x2025fc;return _0x24df20+'/'+_0x1ec02f+_0x29d9da(0x332)+_0x3ba80d+_0x29d9da(0x275);}let cs=class extends _0x24229e{constructor(_0x4c269f,_0x5158a7,_0x4cb00c,_0x49c0b0,_0x4be3c3){const _0x3c101e=_0x2025fc;super(),this[_0x3c101e(0xe3)]=_0x4c269f,this[_0x3c101e(0x123)]=_0x5158a7,this[_0x3c101e(0xb4)]=_0x4cb00c,this[_0x3c101e(0xc1)]=_0x49c0b0,this[_0x3c101e(0x144)]=_0x4be3c3;}['createSocket'](_0x431bc9){const _0x49b787=_0x2025fc,_0x493043=this[_0x49b787(0x123)][_0x49b787(0x164)](_0x431bc9);if(!_0x493043)throw new Error(_0x49b787(0x3f9));const _0x33f243=new _0x55a86c(),_0xa0d392=new _0x1c0b9c();_0x33f243['add'](_0x493043['close$']['subscribe'](_0x2d5848=>_0xa0d392[_0x49b787(0x382)](_0x2d5848))),_0x33f243[_0x49b787(0x4b0)](_0x7c72c3(()=>_0xa0d392[_0x49b787(0x3c5)]()));const _0x45820f=new _0x1c0b9c();_0x33f243['add'](_0x493043[_0x49b787(0x19a)]['subscribe'](_0x4be68c=>_0x45820f[_0x49b787(0x382)](_0x4be68c))),_0x33f243[_0x49b787(0x4b0)](_0x7c72c3(()=>_0x45820f['complete']()));const _0x1d5efd=new _0x1c0b9c();_0x33f243[_0x49b787(0x4b0)](_0x493043[_0x49b787(0x400)]['subscribe'](_0x15a905=>{const _0x32372b=kn(_0x15a905);_0x1d5efd['next'](_0x32372b);})),_0x33f243[_0x49b787(0x4b0)](_0x7c72c3(()=>_0x1d5efd[_0x49b787(0x3c5)]()));let _0x2b5dd8;const _0x265475=()=>{const _0x51d609=_0x49b787;_0x45820f[_0x51d609(0x382)](new Event(_0x51d609(0x163))),_0xa0d392[_0x51d609(0x382)](new CloseEvent(_0x51d609(0x163))),_0x2b5dd8[_0x51d609(0x206)]();};return _0x2b5dd8={'memberID':'','close$':_0xa0d392[_0x49b787(0xf7)](),'error$':_0x45820f[_0x49b787(0xf7)](),'open$':_0x493043[_0x49b787(0x46d)],'message$':_0x1d5efd['asObservable'](),'send':_0x4df455=>{const _0x3628d1=_0x49b787;if(_0x4df455[_0x3628d1(0x32d)]===W[_0x3628d1(0x365)]){if(_0x4df455[_0x3628d1(0x2a0)][_0x3628d1(0x28b)]===_0x3a14f4[_0x3628d1(0x1ae)]){this[_0x3628d1(0x13a)](_0x2b5dd8,_0x4df455[_0x3628d1(0x2a0)])[_0x3628d1(0x1c4)](_0x1088d0=>{const _0x113d68=_0x3628d1;this['_logService'][_0x113d68(0x279)](_0x1088d0),_0x265475();});return;}if(_0x4df455[_0x3628d1(0x2a0)][_0x3628d1(0x28b)]===_0x3a14f4[_0x3628d1(0x37c)]){const _0x558e34=_0x4df455[_0x3628d1(0x2a0)];this[_0x3628d1(0x1a8)](_0x558e34)[_0x3628d1(0x1c0)](_0x7e576e=>{const _0x456f9c=_0x3628d1;_0x1d5efd[_0x456f9c(0x382)]({'cmd':W[_0x456f9c(0x247)],'code':Pe['OK'],'routeKey':_0x558e34[_0x456f9c(0x2a0)][_0x456f9c(0x2bf)],'routeType':'','data':{'eventID':_0x3a14f4['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x7e576e}}});})[_0x3628d1(0x1c4)](_0x488153=>{const _0x3871af=_0x3628d1;this['_logService'][_0x3871af(0x279)](_0x488153),_0x265475();});return;}}_0x493043[_0x3628d1(0xc9)](Wn(_0x4df455));},'close':()=>{const _0x534aee=_0x49b787;_0x493043[_0x534aee(0x206)](),_0x33f243['dispose']();}},_0x2b5dd8;}async[_0x2025fc(0x13a)](_0xdea43a,_0x53c9c8){const _0x6657d3=_0x2025fc;var _0x52890b,_0x23d203;const {unitType:_0x57e18b,unitID:_0x5c74d7,changeset:_0x2d229b}=_0x53c9c8['data'],_0x4790ae={'unitID':_0x5c74d7,'memberID':_0xdea43a[_0x6657d3(0x471)],'type':_0x57e18b,'changeset':_0x100c80(_0x2d229b)},_0x505c10=this[_0x6657d3(0xb4)][_0x6657d3(0x217)](Ln),_0x4ceb44=this[_0x6657d3(0xb4)][_0x6657d3(0x217)](Q),_0x22c382=Yn((_0x23d203=(_0x52890b=_0x4ceb44==null?void 0x0:_0x4ceb44['collabSubmitChangesetUrl'])!=null?_0x52890b:_0x505c10)!=null?_0x23d203:$n,_0x57e18b,_0x5c74d7);try{await this[_0x6657d3(0xe3)][_0x6657d3(0x17b)](_0x22c382,{'body':_0x4790ae});}catch(_0x111663){throw this[_0x6657d3(0xc1)][_0x6657d3(0x279)](_0x6657d3(0x3c1),'submit\x20changeset\x20error!'),_0x111663;}}async[_0x2025fc(0x1a8)](_0x65b829){const _0x21e4fa=_0x2025fc,{unitID:_0x404dcc,from:_0x3850e7,to:_0x23f3cf,unitType:_0x565536}=_0x65b829['data'];return(await this[_0x21e4fa(0x144)][_0x21e4fa(0x436)]({'metadata':void 0x0},{'unitID':_0x404dcc,'type':_0x565536,'from':_0x3850e7,'to':_0x23f3cf}))['changesets'];}};cs=Gn([ze(0x0,_0x5847bf(_0x310387)),ze(0x1,_0x5847bf(_0x1293ea)),ze(0x2,_0x4df844),ze(0x3,_0x49d195),ze(0x4,_0xbd688)],cs);const Kn='collaboration_new_changeset';function qn(_0x5a916a){const _0x215047=_0x2025fc;return JSON['stringify'](_0x5a916a)[_0x215047(0x161)];}class Yi{constructor(){const _0x18ae8a=_0x2025fc;g(this,_0x18ae8a(0x2b3),new _0x1c0b9c()),g(this,_0x18ae8a(0x3d3),this[_0x18ae8a(0x2b3)][_0x18ae8a(0xf7)]());}[_0x2025fc(0x158)](_0x47b2ba){const _0x56e546=_0x2025fc;this[_0x56e546(0x2b3)][_0x56e546(0x382)](_0x47b2ba);}}var zn=Object[_0x2025fc(0x385)],Xn=Object[_0x2025fc(0x18c)],Jn=(_0x396e50,_0x2ad5c6,_0x3a1077,_0x4e5370)=>{const _0xb4e1be=_0x2025fc;for(var _0x28d2f2=_0x4e5370>0x1?void 0x0:_0x4e5370?Xn(_0x2ad5c6,_0x3a1077):_0x2ad5c6,_0x3a3c4f=_0x396e50[_0xb4e1be(0x161)]-0x1,_0xcfd366;_0x3a3c4f>=0x0;_0x3a3c4f--)(_0xcfd366=_0x396e50[_0x3a3c4f])&&(_0x28d2f2=(_0x4e5370?_0xcfd366(_0x2ad5c6,_0x3a1077,_0x28d2f2):_0xcfd366(_0x28d2f2))||_0x28d2f2);return _0x4e5370&&_0x28d2f2&&zn(_0x2ad5c6,_0x3a1077,_0x28d2f2),_0x28d2f2;},Ks=(_0x5bd51f,_0x49c88a)=>(_0x3cdf49,_0x50ebac)=>_0x49c88a(_0x3cdf49,_0x50ebac,_0x5bd51f);let Me=class extends _0x24229e{constructor(_0x179ef,_0x1dbc9a){const _0x31d74f=_0x2025fc;super(),g(this,_0x31d74f(0x3a7),new Map()),(this['_univerInstanceService']=_0x179ef,this[_0x31d74f(0xb6)]=_0x1dbc9a,this[_0x31d74f(0x10c)](_0x7c72c3(_0x38a986(this[_0x31d74f(0x3cf)][_0x31d74f(0x2f2)](_0xb166dc[_0x31d74f(0x4a6)])[_0x31d74f(0x150)](_0xb11c2f(_0x3c78d1=>_0x3c78d1['getUnitId']())),this[_0x31d74f(0x3cf)][_0x31d74f(0x2f2)](_0xb166dc[_0x31d74f(0x3ad)])[_0x31d74f(0x150)](_0xb11c2f(_0x1ff6b6=>_0x1ff6b6[_0x31d74f(0x10b)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xb166dc['UNIVER_SLIDE'])[_0x31d74f(0x150)](_0xb11c2f(_0x2380ce=>_0x2380ce['getUnitId']())))[_0x31d74f(0x140)](_0x20c82c=>this[_0x31d74f(0xbc)](_0x20c82c)))));}[_0x2025fc(0x38f)](_0x2a8539){const _0x2739e2=_0x2025fc;this['_userManagerService'][_0x2739e2(0x38f)](_0x2a8539);}[_0x2025fc(0x14b)](){const _0x224124=_0x2025fc;return this[_0x224124(0xb6)][_0x224124(0x14b)]();}['updateMember'](_0x363a14,_0x350d78){const _0x553c88=_0x2025fc;let _0x17be7e=this[_0x553c88(0x3a7)][_0x553c88(0x33e)](_0x363a14);_0x17be7e||(_0x17be7e=new Zn(),this[_0x553c88(0x3a7)][_0x553c88(0x39c)](_0x363a14,_0x17be7e)),_0x17be7e[_0x553c88(0x24d)](_0x350d78);}[_0x2025fc(0xd7)](_0x3f5d56,_0x2597bf){const _0x5d5cf7=_0x2025fc,_0x232ce5=this[_0x5d5cf7(0x3a7)][_0x5d5cf7(0x33e)](_0x3f5d56);_0x232ce5&&_0x232ce5[_0x5d5cf7(0xd7)](_0x2597bf);}[_0x2025fc(0x14c)](_0x338f4c){const _0xab16d9=_0x2025fc;return this[_0xab16d9(0x3a7)][_0xab16d9(0x33e)](_0x338f4c);}['getMember'](_0x5b74a3,_0x1da905){const _0x285be6=_0x2025fc,_0x2265d0=this['_roomMembers'][_0x285be6(0x33e)](_0x5b74a3);if(_0x2265d0)return _0x2265d0[_0x285be6(0x419)](_0x1da905);}[_0x2025fc(0xbc)](_0x3354cc){const _0x261949=_0x2025fc,_0xdb58aa=this[_0x261949(0x3a7)][_0x261949(0x33e)](_0x3354cc);_0xdb58aa&&(_0xdb58aa[_0x261949(0x1e5)](),this['_roomMembers'][_0x261949(0x165)](_0x3354cc));}[_0x2025fc(0x1e5)](){const _0x1f061e=_0x2025fc;this['_roomMembers']['forEach'](_0x270894=>_0x270894['dispose']()),this[_0x1f061e(0x3a7)][_0x1f061e(0x116)]();}};Me=Jn([Ks(0x0,_0x425cee),Ks(0x1,_0x5847bf(_0x1fb10d))],Me);class Zn extends _0x24229e{constructor(){const _0x1a644e=_0x2025fc;super(...arguments),g(this,_0x1a644e(0x3df),new Map());}['dispose'](){const _0x2129a3=_0x2025fc;this[_0x2129a3(0x3df)][_0x2129a3(0x116)]();}[_0x2025fc(0x24d)](_0x251cf0){const _0xfc3b1c=_0x2025fc;this[_0xfc3b1c(0x3df)]['set'](_0x251cf0[_0xfc3b1c(0x471)],_0x251cf0);}[_0x2025fc(0xd7)](_0x121c4b){const _0x3cf8b6=_0x2025fc;this[_0x3cf8b6(0x3df)]['delete'](_0x121c4b);}['getMember'](_0x3ee787){const _0x3995e1=_0x2025fc;return this[_0x3995e1(0x3df)][_0x3995e1(0x33e)](_0x3ee787);}[_0x2025fc(0xce)](){const _0x3918f4=_0x2025fc;return Array['from'](this[_0x3918f4(0x3df)][_0x3918f4(0x3ed)]());}}var Qn=Object[_0x2025fc(0x385)],eo=Object['getOwnPropertyDescriptor'],to=(_0x3f02e5,_0x3f0bf3,_0xa56b7c,_0x3bd5f7)=>{const _0x4df583=_0x2025fc;for(var _0x1e6824=_0x3bd5f7>0x1?void 0x0:_0x3bd5f7?eo(_0x3f0bf3,_0xa56b7c):_0x3f0bf3,_0x477427=_0x3f02e5[_0x4df583(0x161)]-0x1,_0x359b97;_0x477427>=0x0;_0x477427--)(_0x359b97=_0x3f02e5[_0x477427])&&(_0x1e6824=(_0x3bd5f7?_0x359b97(_0x3f0bf3,_0xa56b7c,_0x1e6824):_0x359b97(_0x1e6824))||_0x1e6824);return _0x3bd5f7&&_0x1e6824&&Qn(_0x3f0bf3,_0xa56b7c,_0x1e6824),_0x1e6824;},Ee=(_0x3b1967,_0x58e993)=>(_0x2bb12f,_0x1fea69)=>_0x58e993(_0x2bb12f,_0x1fea69,_0x3b1967),fe=(_0x1514de=>(_0x1514de[_0x1514de[_0x2025fc(0x388)]=0x0]=_0x2025fc(0x388),_0x1514de[_0x1514de[_0x2025fc(0x349)]=0x1]=_0x2025fc(0x349),_0x1514de[_0x1514de[_0x2025fc(0x23c)]=0x2]=_0x2025fc(0x23c),_0x1514de[_0x1514de[_0x2025fc(0xad)]=0x3]=_0x2025fc(0xad),_0x1514de))(fe||{});const qs={[Pe[_0x2025fc(0x1d5)]]:_0x2025fc(0x3d9),[Pe['JOIN_ROOM_FULL']]:'session.room-full',[Pe[_0x2025fc(0x41e)]]:'session.room-not-exists',[Pe[_0x2025fc(0x2f3)]]:_0x2025fc(0x3d1),[Pe[_0x2025fc(0x267)]]:_0x2025fc(0xaf)};let hs=class extends _0x5ec0cb{constructor(_0x24eaa1,_0x3a6760,_0xaf61ea,_0x4fe672,_0x335b68,_0x2646a3,_0x589ad2,_0x8d1ff9,_0x3b920d,_0x3c512d){const _0x2acde2=_0x2025fc;super(),g(this,_0x2acde2(0x2f1),new _0x1074c2(0x0)),g(this,_0x2acde2(0x1ff),this['_sessionStatus$'][_0x2acde2(0xf7)]()),g(this,_0x2acde2(0x304),new _0x1c0b9c()),g(this,_0x2acde2(0x142),this[_0x2acde2(0x304)][_0x2acde2(0xf7)]()),g(this,_0x2acde2(0x212)),g(this,_0x2acde2(0x47f)),g(this,'_collaborationTimeoutTimer'),g(this,'_shouldReportTelemetry',!0x1),g(this,_0x2acde2(0x2e5),null),(this['_unitID']=_0x24eaa1,this['_logService']=_0xaf61ea,this['_beforeCloseService']=_0x4fe672,this[_0x2acde2(0x362)]=_0x335b68,this[_0x2acde2(0xb4)]=_0x2646a3,this[_0x2acde2(0x3a9)]=_0x589ad2,this[_0x2acde2(0x31c)]=_0x8d1ff9,this['_commentService']=_0x3b920d,this[_0x2acde2(0x311)]=_0x3c512d,this['_shouldReportTelemetry']=!!this[_0x2acde2(0x311)],_0x3a6760[_0x2acde2(0x150)](_0x7b6507(this[_0x2acde2(0x345)]))[_0x2acde2(0x140)](_0x597266=>{const _0x18c99e=_0x2acde2;var _0x2e9286;typeof _0x597266>'u'||(this[_0x18c99e(0x212)]=_0x597266,_0x597266?(this['_joinRoom'](_0x597266),this[_0x18c99e(0x47f)]=_0x597266[_0x18c99e(0x400)][_0x18c99e(0x140)](_0x46a9db=>{const _0x13598d=_0x18c99e;_0x46a9db[_0x13598d(0x15f)]===this[_0x13598d(0x41c)]&&this[_0x13598d(0x3ea)](_0x46a9db);})):(this[_0x18c99e(0x264)](),this[_0x18c99e(0x2f1)]['next'](0x2),(_0x2e9286=this[_0x18c99e(0x47f)])==null||_0x2e9286[_0x18c99e(0x2dd)](),this[_0x18c99e(0x47f)]=null));}),this[_0x2acde2(0x10c)](this[_0x2acde2(0x181)][_0x2acde2(0x2db)](()=>{const _0x1fb1c7=_0x2acde2;var _0x3f519a;(_0x3f519a=this[_0x1fb1c7(0x212)])==null||_0x3f519a[_0x1fb1c7(0xc9)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x1fb1c7(0x41c)]}});})));}get['sessionStatus'](){const _0x3ebdb1=_0x2025fc;return this['_sessionStatus$'][_0x3ebdb1(0x42a)]();}[_0x2025fc(0x316)](){const _0x47b228=_0x2025fc;var _0x43fddf,_0xa68226;return(_0xa68226=(_0x43fddf=this['_socket'])==null?void 0x0:_0x43fddf[_0x47b228(0x471)])!=null?_0xa68226:null;}[_0x2025fc(0x1e5)](){const _0xa59c91=_0x2025fc;super[_0xa59c91(0x1e5)](),this[_0xa59c91(0x345)][_0xa59c91(0x382)](),this[_0xa59c91(0x345)][_0xa59c91(0x3c5)]();}['close'](){const _0x20a233=_0x2025fc;var _0x3b8f46,_0x5157c6;this[_0x20a233(0x264)](),(_0x3b8f46=this[_0x20a233(0x212)])==null||_0x3b8f46[_0x20a233(0xc9)]({'cmd':W[_0x20a233(0x387)],'data':{'roomID':this[_0x20a233(0x41c)]}}),(_0x5157c6=this['_socket'])==null||_0x5157c6[_0x20a233(0x206)](),this[_0x20a233(0x304)][_0x20a233(0x3c5)](),this['_sessionStatus$']['complete'](),this[_0x20a233(0x1e5)]();}['_onCombEvent'](_0x514244){const _0x16d652=_0x2025fc;_0x514244[_0x16d652(0x32d)]===W[_0x16d652(0xea)]?this[_0x16d652(0x168)](_0x514244):_0x514244['cmd']===W[_0x16d652(0x247)]&&this[_0x16d652(0x1d4)](_0x514244);}['_joinRoom'](_0x40d30e){const _0x390c93=_0x2025fc;this[_0x390c93(0x2f1)][_0x390c93(0x382)](0x1),_0x40d30e[_0x390c93(0xc9)]({'cmd':W[_0x390c93(0xea)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x390c93(0x41c)]}]}});}[_0x2025fc(0x168)](_0x17c369){const _0x1e69d2=_0x2025fc;var _0x1493a9;if(_0x17c369[_0x1e69d2(0x179)]in qs){this['_messageService'][_0x1e69d2(0x3c2)]({'type':_0x3f6750['Warning'],'content':this['_localeService']['t'](qs[_0x17c369[_0x1e69d2(0x179)]])}),this[_0x1e69d2(0x2f1)][_0x1e69d2(0x382)](0x2);return;}this[_0x1e69d2(0x2f1)][_0x1e69d2(0x382)](0x3);const _0x2a8cab=(_0x1493a9=_0x17c369[_0x1e69d2(0x2a0)]['roomInfos'][this[_0x1e69d2(0x41c)]])==null?void 0x0:_0x1493a9[_0x1e69d2(0x3de)];_0x2a8cab&&_0x2a8cab[_0x1e69d2(0x2e1)](_0x56f60a=>this['_memberService'][_0x1e69d2(0x24d)](this[_0x1e69d2(0x41c)],_0x56f60a));}[_0x2025fc(0x1d4)](_0x133a08){const _0x4c940a=_0x2025fc;try{const _0x5bcadd=_0x133a08['data'];switch(_0x5bcadd['eventID']){case _0x3a14f4[_0x4c940a(0xc3)]:this['_onUserJoin'](_0x5bcadd),this[_0x4c940a(0x304)][_0x4c940a(0x382)](_0x5bcadd);break;case _0x3a14f4[_0x4c940a(0x3dc)]:this[_0x4c940a(0x3e0)](_0x5bcadd),this['_event$'][_0x4c940a(0x382)](_0x5bcadd);break;case _0x3a14f4[_0x4c940a(0x3d7)]:case _0x3a14f4[_0x4c940a(0x32f)]:this[_0x4c940a(0xa6)](),this[_0x4c940a(0x346)](),this[_0x4c940a(0x304)][_0x4c940a(0x382)](_0x5bcadd);break;case _0x3a14f4[_0x4c940a(0x1f3)]:this[_0x4c940a(0xc1)][_0x4c940a(0x279)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x4c940a(0x11e)](_0x5bcadd)),this[_0x4c940a(0x304)]['next'](_0x5bcadd);break;case _0x3a14f4[_0x4c940a(0x2b6)]:this[_0x4c940a(0x25d)][_0x4c940a(0x158)](_0x5bcadd[_0x4c940a(0x2a0)]),this[_0x4c940a(0x304)]['next'](_0x5bcadd);break;default:this[_0x4c940a(0x304)][_0x4c940a(0x382)](_0x5bcadd);}}catch(_0x42dc46){this[_0x4c940a(0xc1)]['error'](_0x42dc46,_0x133a08);}}[_0x2025fc(0x4b4)](_0x8ac805){const _0x3aa7e2=_0x2025fc;this[_0x3aa7e2(0x31c)][_0x3aa7e2(0x24d)](this[_0x3aa7e2(0x41c)],_0x8ac805['data']);}['_onUserLeave'](_0x5aa94a){const _0x3fb9a0=_0x2025fc;this['_memberService'][_0x3fb9a0(0xd7)](this['_unitID'],_0x5aa94a[_0x3fb9a0(0x2a0)]['memberID']);}async[_0x2025fc(0xc9)](_0x4dff1d,_0x57d413){const _0x1ca43e=_0x2025fc;if(this[_0x1ca43e(0x27c)]!==0x3||!this[_0x1ca43e(0x212)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4dff1d['eventID']===_0x3a14f4[_0x1ca43e(0x1ae)]&&(this[_0x1ca43e(0x315)](),this['_startTelemetryCollaborationNewChangeset'](_0x4dff1d)),this['_socket'][_0x1ca43e(0xc9)]({'cmd':W[_0x1ca43e(0x365)],'routeKey':_0x57d413,'routeType':'','data':_0x4dff1d});}catch(_0x2a2e75){this[_0x1ca43e(0xc1)][_0x1ca43e(0x279)](_0x2a2e75);}}[_0x2025fc(0x315)](){const _0x1c1b23=_0x2025fc;var _0x1dc86a;this[_0x1c1b23(0x350)]=window[_0x1c1b23(0x16d)](()=>{const _0x4df287=_0x1c1b23;this[_0x4df287(0x350)]=null,this[_0x4df287(0x362)][_0x4df287(0x3c2)]({'type':_0x3f6750[_0x4df287(0x2ee)],'content':this['_localeService']['t']('session.collaboration-timeout')});},(_0x1dc86a=this[_0x1c1b23(0xb4)][_0x1c1b23(0x217)](ki))!=null?_0x1dc86a:Wi);}[_0x2025fc(0x346)](){const _0x548983=_0x2025fc;this[_0x548983(0x350)]&&(clearTimeout(this[_0x548983(0x350)]),this[_0x548983(0x350)]=null);}[_0x2025fc(0x33b)](_0x500503){const _0x1aa4fc=_0x2025fc;if(!this[_0x1aa4fc(0x47a)])return;const {data:_0x107dda}=_0x500503,{unitID:_0x4e8620,changeset:_0x4d5cb0}=_0x107dda,{mutations:_0x57006e,type:_0x4a22b4}=_0x4d5cb0;this[_0x1aa4fc(0x2e5)]={'unitId':_0x4e8620,'type':_0x4a22b4,'startTime':performance[_0x1aa4fc(0x1d9)](),'stopTime':0x0,'duration':0x0,'size':qn(_0x57006e)};}[_0x2025fc(0xa6)](){const _0x46ef89=_0x2025fc;if(this[_0x46ef89(0x47a)]){if(!this['_telemetryInfo']){this[_0x46ef89(0xc1)]['error'](_0x46ef89(0x3c1),_0x46ef89(0x2a1));return;}this[_0x46ef89(0x2e5)][_0x46ef89(0x276)]=performance['now'](),this[_0x46ef89(0x2e5)]['duration']=this[_0x46ef89(0x2e5)]['stopTime']-this['_telemetryInfo'][_0x46ef89(0xcc)],this[_0x46ef89(0x311)][_0x46ef89(0x23b)](Kn,this['_telemetryInfo']),this[_0x46ef89(0x2e5)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x28deba=_0x2025fc;this[_0x28deba(0x2e5)]=null;}};hs=to([Ee(0x2,_0x49d195),Ee(0x3,_0x176b35),Ee(0x4,_0x3d017a),Ee(0x5,_0x4df844),Ee(0x6,_0x5847bf(_0x4b4756)),Ee(0x7,_0x5847bf(Me)),Ee(0x8,_0x5847bf(Yi)),Ee(0x9,_0x133fb4(_0xeb3a8b))],hs);var so=Object[_0x2025fc(0x385)],io=Object[_0x2025fc(0x18c)],ro=(_0x5916e1,_0x4de38e,_0x209a61,_0x19fdc4)=>{const _0x50e291=_0x2025fc;for(var _0xb6abfd=_0x19fdc4>0x1?void 0x0:_0x19fdc4?io(_0x4de38e,_0x209a61):_0x4de38e,_0x1f0249=_0x5916e1[_0x50e291(0x161)]-0x1,_0x560e8b;_0x1f0249>=0x0;_0x1f0249--)(_0x560e8b=_0x5916e1[_0x1f0249])&&(_0xb6abfd=(_0x19fdc4?_0x560e8b(_0x4de38e,_0x209a61,_0xb6abfd):_0x560e8b(_0xb6abfd))||_0xb6abfd);return _0x19fdc4&&_0xb6abfd&&so(_0x4de38e,_0x209a61,_0xb6abfd),_0xb6abfd;},ye=(_0x362c7b,_0x224056)=>(_0x51bef1,_0xf378dc)=>_0x224056(_0x51bef1,_0xf378dc,_0x362c7b);let xe=class extends _0x24229e{constructor(_0x481561,_0x236f76,_0x4bd0c9,_0x502c05,_0x136454,_0x53f234,_0x3da87b){const _0x59c439=_0x2025fc;super(),g(this,_0x59c439(0x2b0),new _0x1074c2(void 0x0)),g(this,_0x59c439(0xb7),this[_0x59c439(0x2b0)][_0x59c439(0xf7)]()),g(this,_0x59c439(0x188),null),g(this,'_sessions',new Map()),g(this,_0x59c439(0x1ac),new _0x1074c2(fe['IDLE'])),g(this,_0x59c439(0x1cf),this[_0x59c439(0x1ac)][_0x59c439(0xf7)]()),g(this,'_socketReady',!0x1),g(this,_0x59c439(0x2e2)),g(this,_0x59c439(0x439),0x0),g(this,_0x59c439(0x2e0)),g(this,_0x59c439(0x4b3)),(this[_0x59c439(0x147)]=_0x481561,this['_localeService']=_0x236f76,this['_messageService']=_0x4bd0c9,this[_0x59c439(0xc1)]=_0x502c05,this[_0x59c439(0xb4)]=_0x136454,this['_socketService']=_0x53f234,this[_0x59c439(0x2d8)]=_0x3da87b,this['_initEventListeners']());}get[_0x2025fc(0x212)](){const _0x210756=_0x2025fc;return this[_0x210756(0x2b0)][_0x210756(0x42a)]();}[_0x2025fc(0x22b)](){const _0xf7b1ba=_0x2025fc;this[_0xf7b1ba(0xc6)](),this['_listenToOnlineEvent']();}[_0x2025fc(0x1e5)](){const _0x2937c2=_0x2025fc;super[_0x2937c2(0x1e5)](),this['_sessions'][_0x2937c2(0x2e1)](_0xe2a8dd=>_0xe2a8dd[_0x2937c2(0x1e5)]()),this[_0x2937c2(0x263)][_0x2937c2(0x116)](),this[_0x2937c2(0x1ac)]['complete']();}async[_0x2025fc(0x40d)](_0x447701){const _0xb85665=_0x2025fc;if(this[_0xb85665(0x263)][_0xb85665(0x24c)](_0x447701))return this[_0xb85665(0x263)][_0xb85665(0x33e)](_0x447701);this[_0xb85665(0x492)]();const _0x9e3976=this[_0xb85665(0x147)]['createInstance'](hs,_0x447701,this[_0xb85665(0x2b0)][_0xb85665(0xf7)]());return this[_0xb85665(0x263)][_0xb85665(0x39c)](_0x447701,_0x9e3976),_0x9e3976;}[_0x2025fc(0x416)](_0x2dc5ba){const _0x524af4=_0x2025fc;var _0x5201e0;const _0x157fa2=this['_sessions'][_0x524af4(0x33e)](_0x2dc5ba);_0x157fa2&&(this[_0x524af4(0x263)][_0x524af4(0x165)](_0x2dc5ba),_0x157fa2[_0x524af4(0x206)]()),this[_0x524af4(0x263)][_0x524af4(0x2ac)]||(_0x5201e0=this['_socket'])==null||_0x5201e0[_0x524af4(0x206)]();}[_0x2025fc(0x35e)](){const _0xe054dd=_0x2025fc;this[_0xe054dd(0x439)]=0x0,this[_0xe054dd(0x2e2)]!=null&&(clearTimeout(this[_0xe054dd(0x2e2)]),this['_retryConnectingTimer']=null),this[_0xe054dd(0x4ac)]();}async['_getSessionTicket'](){const _0x64a01b=_0x2025fc;var _0x36db72,_0x185766,_0x2d9241;const _0x43cbc5=this[_0x64a01b(0xb4)]['getConfig'](Q),_0x590007=(_0x36db72=_0x43cbc5==null?void 0x0:_0x43cbc5['wsSessionTicketUrl'])!=null?_0x36db72:wn;return(_0x2d9241=(_0x185766=(await this[_0x64a01b(0x2d8)]['get'](_0x590007,{'headers':{'Content-Type':_0x64a01b(0x473)}}))[_0x64a01b(0x41f)])==null?void 0x0:_0x185766[_0x64a01b(0x269)])!=null?_0x2d9241:'';}[_0x2025fc(0x408)](_0xd9d3aa){const _0x6b5cad=_0x2025fc;var _0x5bf115,_0x31b5cd;const _0x52e6f4=this[_0x6b5cad(0xb4)]['getConfig'](On),_0xc9b706=this[_0x6b5cad(0xb4)][_0x6b5cad(0x217)](Q),_0x3ae05f=(_0x31b5cd=(_0x5bf115=_0xc9b706==null?void 0x0:_0xc9b706[_0x6b5cad(0x3a4)])!=null?_0x5bf115:_0x52e6f4)!=null?_0x31b5cd:yn,_0x11cdef=new URL(_0x3ae05f,window[_0x6b5cad(0x16a)][_0x6b5cad(0x25c)]);return _0x11cdef[_0x6b5cad(0x3ec)][_0x6b5cad(0x39c)](_0x6b5cad(0x131),_0xd9d3aa),_0x11cdef[_0x6b5cad(0x135)]();}async[_0x2025fc(0x249)](){const _0x30bf7b=_0x2025fc,_0x323ee3=await this[_0x30bf7b(0x12f)](),_0x2c70eb=this['_createSocketURL'](_0x323ee3),_0x2b0af9=this[_0x30bf7b(0x30d)][_0x30bf7b(0x164)](_0x2c70eb);return this[_0x30bf7b(0x188)]=_0x2b0af9,_0x2b0af9;}async[_0x2025fc(0x492)](){const _0x535d3e=_0x2025fc;var _0xa232fe,_0x5b1a0b;try{const _0x2f9981=(_0x5b1a0b=(_0xa232fe=this[_0x535d3e(0x212)])!=null?_0xa232fe:this[_0x535d3e(0x188)])!=null?_0x5b1a0b:await this[_0x535d3e(0x249)]();if(_0x2f9981){const _0x12862c=_0x2f9981['send'];_0x2f9981[_0x535d3e(0xc9)]=_0x54c913=>(this[_0x535d3e(0x1cc)](),_0x12862c[_0x535d3e(0x38b)](_0x2f9981,[_0x54c913])),_0x2f9981[_0x535d3e(0x400)][_0x535d3e(0x140)](_0x51d9f1=>this['_onMessage'](_0x2f9981,_0x51d9f1)),_0x2f9981[_0x535d3e(0x19a)][_0x535d3e(0x150)](_0x1abfcf(0x1))['subscribe'](_0x395f34=>this[_0x535d3e(0xc1)][_0x535d3e(0x279)](_0x535d3e(0x414),_0x395f34)),_0x2f9981[_0x535d3e(0x46d)]['pipe'](_0x1abfcf(0x1))[_0x535d3e(0x140)](()=>{const _0x44dc80=_0x535d3e;this[_0x44dc80(0x22e)](_0x2f9981);}),_0x2f9981['close$'][_0x535d3e(0x150)](_0x1abfcf(0x1))[_0x535d3e(0x140)](_0x58ed03=>{const _0x33066c=_0x535d3e;this['_logService'][_0x33066c(0x456)](_0x33066c(0x29c),_0x33066c(0x28e),_0x58ed03),this[_0x33066c(0x105)]();});}}catch(_0xad8ef2){this['_logService'][_0x535d3e(0x279)](_0xad8ef2),this[_0x535d3e(0x105)]();}}[_0x2025fc(0x22e)](_0x1640b6){const _0x40a7f7=_0x2025fc;this[_0x40a7f7(0xc1)][_0x40a7f7(0x456)](_0x40a7f7(0x29c),_0x40a7f7(0x3e6)),_0x1640b6[_0x40a7f7(0xc9)]({'cmd':W['HELLO']}),this[_0x40a7f7(0x1cc)]();}[_0x2025fc(0xc6)](){const _0x231132=_0x2025fc;window[_0x231132(0x238)](_0x231132(0x13e),()=>this[_0x231132(0x149)]());}[_0x2025fc(0x149)](){const _0x567e23=_0x2025fc;this[_0x567e23(0x3ab)]=!0x1,this[_0x567e23(0x188)]=null,this[_0x567e23(0x1ac)][_0x567e23(0x382)](fe['OFFLINE']),this[_0x567e23(0x2b0)][_0x567e23(0x382)](null),this[_0x567e23(0x4a0)](),this[_0x567e23(0x3b6)]();}['_onConnectionFailed'](){const _0x527dd0=_0x2025fc;var _0x34e86a;this[_0x527dd0(0x149)](),this[_0x527dd0(0x439)]<((_0x34e86a=this[_0x527dd0(0xb4)][_0x527dd0(0x217)](Un))!=null?_0x34e86a:An)?(this[_0x527dd0(0x362)][_0x527dd0(0x3c2)]({'key':_0x527dd0(0x1a1),'type':_0x3f6750['Warning'],'content':this[_0x527dd0(0x3a9)]['t']('session.will-retry')}),this['_tryReconnect']()):this[_0x527dd0(0x362)]['show']({'key':_0x527dd0(0x1a1),'type':_0x3f6750[_0x527dd0(0x2ee)],'content':this[_0x527dd0(0x3a9)]['t'](_0x527dd0(0x185))});}[_0x2025fc(0x44b)](){const _0x172175=_0x2025fc,_0x3aae65=()=>{const _0x5b839b=_0x46d8;this[_0x5b839b(0x212)]||this[_0x5b839b(0x35e)]();},_0x4875d8=()=>{const _0x43b857=_0x46d8;this[_0x43b857(0x212)]||document[_0x43b857(0x417)]===_0x43b857(0x176)||this[_0x43b857(0x35e)]();};window[_0x172175(0x238)](_0x172175(0x219),_0x3aae65),document[_0x172175(0x238)](_0x172175(0x1b6),_0x4875d8);}[_0x2025fc(0x4ac)](){const _0x4fdf47=_0x2025fc;var _0x233137;const _0x3b1e15=this[_0x4fdf47(0x439)],_0x191805=this[_0x4fdf47(0xb4)][_0x4fdf47(0x217)](Q),_0x472246=_0x3b1e15===0x0?0x0:((_0x233137=_0x191805==null?void 0x0:_0x191805[_0x4fdf47(0x410)])!=null?_0x233137:Nn)*0x2**_0x3b1e15;this[_0x4fdf47(0x2e2)]=window[_0x4fdf47(0x16d)](()=>{const _0xaf3a20=_0x4fdf47;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0xaf3a20(0x492)]();},_0x472246),this[_0x4fdf47(0x439)]+=0x1;}[_0x2025fc(0x11b)](_0x3df48b,_0xf1561a){const _0x1feb97=_0x2025fc,{cmd:_0x259736}=_0xf1561a;_0x259736===W['HELLO']&&!this['_socketReady']&&(_0x3df48b[_0x1feb97(0x471)]=_0xf1561a[_0x1feb97(0x2a0)][_0x1feb97(0x471)],this[_0x1feb97(0x2b0)]['next'](_0x3df48b),this[_0x1feb97(0x1ac)][_0x1feb97(0x382)](fe[_0x1feb97(0xad)]),this[_0x1feb97(0x3ab)]=!0x0,this[_0x1feb97(0x188)]=null),_0x259736===W[_0x1feb97(0x4a5)]&&this['_clearTimeoutTimer'](),this[_0x1feb97(0x1cc)]();}['_rescheduleHeartbeat'](){const _0x1f489b=_0x2025fc;var _0x35780c;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=window[_0x1f489b(0x16d)](()=>this[_0x1f489b(0x204)](),(_0x35780c=this['_configService'][_0x1f489b(0x217)](Dn))!=null?_0x35780c:Pn);}[_0x2025fc(0x204)](){const _0x30b615=_0x2025fc;this[_0x30b615(0x212)][_0x30b615(0xc9)]({'cmd':W[_0x30b615(0x4a5)]}),this[_0x30b615(0x225)]();}[_0x2025fc(0x225)](){const _0x5bf09b=_0x2025fc;var _0x3eb902;this['_timeoutTimer']=window[_0x5bf09b(0x16d)](()=>this['_onConnectionFailed'](),(_0x3eb902=this[_0x5bf09b(0xb4)][_0x5bf09b(0x217)](ki))!=null?_0x3eb902:Wi);}[_0x2025fc(0x3b6)](){const _0x41e877=_0x2025fc;this[_0x41e877(0x2e0)]!=null&&(clearTimeout(this[_0x41e877(0x2e0)]),this[_0x41e877(0x2e0)]=null);}[_0x2025fc(0x4a0)](){const _0x1cdc37=_0x2025fc;this[_0x1cdc37(0x4b3)]!=null&&(clearTimeout(this[_0x1cdc37(0x4b3)]),this[_0x1cdc37(0x4b3)]=null);}};xe=ro([ye(0x0,_0x5847bf(_0x5d7671)),ye(0x1,_0x5847bf(_0x4b4756)),ye(0x2,_0x3d017a),ye(0x3,_0x49d195),ye(0x4,_0x4df844),ye(0x5,Gi),ye(0x6,_0x5847bf(_0x310387))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x2025fc(0x22f)]((i+0x100)[_0x2025fc(0x135)](0x10)['slice'](0x1));function no(_0x4854b1,_0x2ff98e=0x0){return(Y[_0x4854b1[_0x2ff98e+0x0]]+Y[_0x4854b1[_0x2ff98e+0x1]]+Y[_0x4854b1[_0x2ff98e+0x2]]+Y[_0x4854b1[_0x2ff98e+0x3]]+'-'+Y[_0x4854b1[_0x2ff98e+0x4]]+Y[_0x4854b1[_0x2ff98e+0x5]]+'-'+Y[_0x4854b1[_0x2ff98e+0x6]]+Y[_0x4854b1[_0x2ff98e+0x7]]+'-'+Y[_0x4854b1[_0x2ff98e+0x8]]+Y[_0x4854b1[_0x2ff98e+0x9]]+'-'+Y[_0x4854b1[_0x2ff98e+0xa]]+Y[_0x4854b1[_0x2ff98e+0xb]]+Y[_0x4854b1[_0x2ff98e+0xc]]+Y[_0x4854b1[_0x2ff98e+0xd]]+Y[_0x4854b1[_0x2ff98e+0xe]]+Y[_0x4854b1[_0x2ff98e+0xf]])['toLowerCase']();}let Gt;const oo=new Uint8Array(0x10);function ao(){const _0x50930a=_0x2025fc;if(!Gt){if(typeof crypto>'u'||!crypto[_0x50930a(0x286)])throw new Error(_0x50930a(0x12b));Gt=crypto[_0x50930a(0x286)][_0x50930a(0x2c1)](crypto);}return Gt(oo);}const co=typeof crypto<'u'&&crypto[_0x2025fc(0xf6)]&&crypto['randomUUID'][_0x2025fc(0x2c1)](crypto),zs={'randomUUID':co};function ho(_0x57d1b6,_0x18054e,_0x543c0b){const _0x713210=_0x2025fc;if(zs[_0x713210(0xf6)]&&!_0x18054e&&!_0x57d1b6)return zs['randomUUID']();_0x57d1b6=_0x57d1b6||{};const _0x11d262=_0x57d1b6['random']||(_0x57d1b6[_0x713210(0x354)]||ao)();return _0x11d262[0x6]=_0x11d262[0x6]&0xf|0x40,_0x11d262[0x8]=_0x11d262[0x8]&0x3f|0x80,no(_0x11d262);}var lo=Object['defineProperty'],_o=Object[_0x2025fc(0x18c)],uo=(_0x1782ff,_0x456255,_0x5543ba,_0x119be1)=>{const _0x2a1520=_0x2025fc;for(var _0x440ebe=_0x119be1>0x1?void 0x0:_0x119be1?_o(_0x456255,_0x5543ba):_0x456255,_0x5e7844=_0x1782ff[_0x2a1520(0x161)]-0x1,_0xd10ef0;_0x5e7844>=0x0;_0x5e7844--)(_0xd10ef0=_0x1782ff[_0x5e7844])&&(_0x440ebe=(_0x119be1?_0xd10ef0(_0x456255,_0x5543ba,_0x440ebe):_0xd10ef0(_0x440ebe))||_0x440ebe);return _0x119be1&&_0x440ebe&&lo(_0x456255,_0x5543ba,_0x440ebe),_0x440ebe;},Yt=(_0xb96441,_0x590e54)=>(_0x1544e8,_0x3ddead)=>_0x590e54(_0x1544e8,_0x3ddead,_0xb96441);let yt=class{constructor(_0x16bc13,_0x2c13d4,_0x339d22){const _0x409839=_0x2025fc;this['_injector']=_0x16bc13,this[_0x409839(0x128)]=_0x2c13d4,this[_0x409839(0x319)]=_0x339d22;}[_0x2025fc(0xcb)](_0x31d1d4){const _0xebe0f0=_0x2025fc;this[_0xebe0f0(0x2c7)](_0x31d1d4),this[_0xebe0f0(0x3a3)](_0x31d1d4);}[_0x2025fc(0x422)](_0x3b8e20){const _0x46e6a5=_0x2025fc,{unitID:_0x90b4ca}=_0x3b8e20,_0x4e6c5a=this[_0x46e6a5(0x319)][_0x46e6a5(0x266)](_0x90b4ca)[_0x46e6a5(0x1bc)](_0x5d51e1),{redoCache:_0x10eb4f}=_0x4e6c5a[_0x46e6a5(0x209)]();if(_0x10eb4f['length']===0x0)return _0x3b8e20;let _0x33c064=_0x529634['deepClone'](_0x3b8e20['mutations'][0x0]);for(let _0xdbfd1d=0x0;_0xdbfd1d<_0x10eb4f[_0x46e6a5(0x161)];_0xdbfd1d++){const _0x52b55b={'id':_0x46e6a5(0x495),'params':{..._0x10eb4f[_0xdbfd1d]}},_0x4381ac=this[_0x46e6a5(0x128)]['transformMutation'](_0x33c064,_0x52b55b,!0x1);if(_0x3e27e9(_0x4381ac))throw _0x4381ac[_0x46e6a5(0x279)];_0x33c064=_0x4381ac[_0x46e6a5(0x44f)];}return{..._0x529634[_0x46e6a5(0x2ad)](_0x3b8e20),'mutations':[_0x33c064]};}[_0x2025fc(0x2c7)](_0x4793b9){const _0xf955af=_0x2025fc,{unitID:_0x9f1d5}=_0x4793b9,_0xc25981=this[_0xf955af(0x319)][_0xf955af(0x266)](_0x9f1d5)[_0xf955af(0x1bc)](_0x5d51e1),{undoCache:_0x124ac2,redoCache:_0x21a332}=_0xc25981[_0xf955af(0x209)]();if(_0x124ac2[_0xf955af(0x161)]===0x0||_0x21a332[_0xf955af(0x161)]===0x0)return;const _0x3761c5=[],_0x2e62ae=[];let _0xeb95f7=_0x529634['deepClone'](_0x4793b9['mutations'][0x0]),_0x1f665e=_0x529634[_0xf955af(0x2ad)](_0x4793b9['mutations'][0x0]);for(let _0x54644b=_0x124ac2[_0xf955af(0x161)]-0x1;_0x54644b>=0x0;_0x54644b--){const _0x313a29={'id':_0xf955af(0x495),'params':{..._0x124ac2[_0x54644b]}},_0x55bdea={'id':_0xf955af(0x495),'params':{..._0x21a332[_0x54644b]}},_0x49fe53=this[_0xf955af(0x128)]['transformMutation'](_0xeb95f7,_0x313a29,!0x1),_0x2e28e2=this['_transformService']['transformMutation'](_0x1f665e,_0x55bdea,!0x1);if(_0x3e27e9(_0x49fe53))throw _0x49fe53['error'];if(_0x3e27e9(_0x2e28e2))throw _0x2e28e2[_0xf955af(0x279)];_0x3761c5[_0xf955af(0x3bd)](_0x49fe53['m2Prime']['params']),_0x2e62ae['unshift'](_0x2e28e2[_0xf955af(0x270)][_0xf955af(0x3a0)]),_0xeb95f7=_0x49fe53[_0xf955af(0x44f)],_0x1f665e=_0x2e28e2[_0xf955af(0x44f)];}_0xc25981[_0xf955af(0x21d)]({'undoCache':_0x3761c5,'redoCache':_0x2e62ae});}[_0x2025fc(0x3a3)](_0x521678){const _0x1b16c7=_0x2025fc,{unitID:_0x358cc9}=_0x521678,_0x5d40ea=this[_0x1b16c7(0x319)][_0x1b16c7(0x266)](_0x358cc9)[_0x1b16c7(0x1bc)](_0x5d51e1),_0x38da89=_0x5d40ea[_0x1b16c7(0x1c5)]();if(_0x38da89==null)return;const _0x161eda=[{'id':_0x1b16c7(0x495),'params':{'unitId':_0x521678[_0x1b16c7(0x2bf)],'actions':null,'textRanges':[_0x38da89]}}],_0x4f80a9=this[_0x1b16c7(0x128)][_0x1b16c7(0x39e)](_0x521678,_0x161eda);if(!_0x341c91(_0x4f80a9))throw _0x4f80a9[_0x1b16c7(0x279)];const _0x3871c1=_0x4f80a9['m2Prime'][0x0][_0x1b16c7(0x3a0)][_0x1b16c7(0x1b1)];Array[_0x1b16c7(0x287)](_0x3871c1)&&_0x3871c1['length']&&_0x5d40ea['setActiveRange'](_0x3871c1[0x0]);}};yt=uo([Yt(0x0,_0x5847bf(_0x5d7671)),Yt(0x1,_0x2fbfa5),Yt(0x2,_0x27432a)],yt);var fo=Object[_0x2025fc(0x385)],vo=Object[_0x2025fc(0x18c)],po=(_0x27c617,_0x399994,_0xe4972a,_0x6cdca7)=>{const _0x27a66f=_0x2025fc;for(var _0x3e4894=_0x6cdca7>0x1?void 0x0:_0x6cdca7?vo(_0x399994,_0xe4972a):_0x399994,_0x4d74d9=_0x27c617[_0x27a66f(0x161)]-0x1,_0x3f7f3b;_0x4d74d9>=0x0;_0x4d74d9--)(_0x3f7f3b=_0x27c617[_0x4d74d9])&&(_0x3e4894=(_0x6cdca7?_0x3f7f3b(_0x399994,_0xe4972a,_0x3e4894):_0x3f7f3b(_0x3e4894))||_0x3e4894);return _0x6cdca7&&_0x3e4894&&fo(_0x399994,_0xe4972a,_0x3e4894),_0x3e4894;},Xe=(_0x2b6a4b,_0x4550c8)=>(_0x484d97,_0x7072f)=>_0x4550c8(_0x484d97,_0x7072f,_0x2b6a4b);let z=class extends _0x24229e{constructor(_0x1c3334,_0x3f150d,_0x118910,_0x25d6fe,_0x5e7d4c){const _0x40ebd7=_0x2025fc;super(),g(this,_0x40ebd7(0x173),new Map()),g(this,_0x40ebd7(0x19b),new Map()),g(this,'_disabled',!0x1),(this[_0x40ebd7(0xb4)]=_0x1c3334,this[_0x40ebd7(0x207)]=_0x3f150d,this[_0x40ebd7(0x181)]=_0x118910,this[_0x40ebd7(0x3a9)]=_0x25d6fe,this[_0x40ebd7(0x1b0)]=_0x5e7d4c,this[_0x40ebd7(0x155)]());}['disableLocalCache'](){const _0x20fe13=_0x2025fc;this[_0x20fe13(0x2e4)]=!0x0;}['enableLocalCache'](){const _0x103913=_0x2025fc;this[_0x103913(0x2e4)]=!0x1;}[_0x2025fc(0x1e5)](){const _0x100d5a=_0x2025fc;this[_0x100d5a(0x3b1)]()[_0x100d5a(0x1c0)](()=>super[_0x100d5a(0x1e5)]());}async[_0x2025fc(0x3cc)](_0x488dff){const _0xa2c886=_0x2025fc;return this[_0xa2c886(0x2e4)]?null:this[_0xa2c886(0x207)]['getItem'](Xs(_0x488dff));}async[_0x2025fc(0x1d7)](_0x2b5348,_0x329493){const _0x4c5512=_0x2025fc;return!!this[_0x4c5512(0x207)][_0x4c5512(0x1aa)](_0x2b5348,_0x329493);}[_0x2025fc(0x291)](_0x4f5568,_0x18ac11,_0x36d67c,_0x48585a){const _0x36f9bb=_0x2025fc,_0x45ec47=this[_0x36f9bb(0x1b0)][_0x36f9bb(0x21f)](_0x4f5568);this[_0x36f9bb(0x173)][_0x36f9bb(0x39c)](_0x4f5568,{'unitID':_0x4f5568,'type':_0x18ac11,'awaitingChangeset':_0x36d67c,'mutations':_0x48585a,'rev':_0x45ec47}),this[_0x36f9bb(0x19b)]['has'](_0x4f5568)||this[_0x36f9bb(0x489)](_0x4f5568);}[_0x2025fc(0x489)](_0x143ac9){const _0x112c86=_0x2025fc,_0x22f68e=this['_getSaveTimeout']();_0x22f68e===0x0?this[_0x112c86(0x280)](_0x143ac9):this['_saveTaskMap'][_0x112c86(0x39c)](_0x143ac9,setTimeout(()=>this[_0x112c86(0x280)](_0x143ac9),_0x22f68e));}[_0x2025fc(0xa8)](){const _0x35ab0f=_0x2025fc;var _0x534a30;return(_0x534a30=this[_0x35ab0f(0xb4)][_0x35ab0f(0x217)](Mn))!=null?_0x534a30:xn;}[_0x2025fc(0x280)](_0x3ebb3c){const _0x21ee2b=_0x2025fc,_0x2f7325=this['_saveTaskMap'][_0x21ee2b(0x33e)](_0x3ebb3c);return _0x2f7325!==void 0x0&&window[_0x21ee2b(0x4b1)](_0x2f7325),this['_localStorageService'][_0x21ee2b(0x1aa)](Xs(_0x3ebb3c),this[_0x21ee2b(0x173)][_0x21ee2b(0x33e)](_0x3ebb3c))[_0x21ee2b(0x1c0)](()=>this['_saveTaskMap']['delete'](_0x3ebb3c));}async[_0x2025fc(0x3b1)](){const _0x599c50=_0x2025fc,_0x4ac8af=[];this['_saveTaskMap'][_0x599c50(0x2e1)]((_0x1248ea,_0x224d75)=>{const _0x5b36d6=_0x599c50;window['clearTimeout'](_0x1248ea),_0x4ac8af['push'](this[_0x5b36d6(0x280)](_0x224d75)['then'](()=>{const _0xced072=_0x5b36d6;this[_0xced072(0x19b)][_0xced072(0x165)](_0x224d75);}));}),await Promise[_0x599c50(0x395)](_0x4ac8af);}[_0x2025fc(0x155)](){const _0x3e7ee5=_0x2025fc;this[_0x3e7ee5(0x10c)](this[_0x3e7ee5(0x181)][_0x3e7ee5(0x2c8)](()=>{const _0x4ad78e=_0x3e7ee5;if(this[_0x4ad78e(0x19b)][_0x4ad78e(0x2ac)])return this[_0x4ad78e(0x3a9)]['t'](_0x4ad78e(0x475));}));}};z=po([Xe(0x0,_0x4df844),Xe(0x1,_0x5353b6),Xe(0x2,_0x176b35),Xe(0x3,_0x5847bf(_0x4b4756)),Xe(0x4,_0x5847bf(_0x389697))],z);function Xs(_0x325426){const _0x140626=_0x2025fc;return _0x140626(0x459)+_0x325426;}var mo=Object['defineProperty'],go=Object[_0x2025fc(0x18c)],So=(_0x3d99ec,_0x3e8fd8,_0x5c7693,_0x121c47)=>{const _0x1fe0a4=_0x2025fc;for(var _0x2b9a79=_0x121c47>0x1?void 0x0:_0x121c47?go(_0x3e8fd8,_0x5c7693):_0x3e8fd8,_0x84031a=_0x3d99ec[_0x1fe0a4(0x161)]-0x1,_0x255359;_0x84031a>=0x0;_0x84031a--)(_0x255359=_0x3d99ec[_0x84031a])&&(_0x2b9a79=(_0x121c47?_0x255359(_0x3e8fd8,_0x5c7693,_0x2b9a79):_0x255359(_0x2b9a79))||_0x2b9a79);return _0x121c47&&_0x2b9a79&&mo(_0x3e8fd8,_0x5c7693,_0x2b9a79),_0x2b9a79;},Kt=(_0x217f6b,_0x43c268)=>(_0x11e6cd,_0x180623)=>_0x43c268(_0x11e6cd,_0x180623,_0x217f6b);function Io(_0x3dfef6){const _0x32b9a4=_0x2025fc,{unitID:_0x1aaefe,mutations:_0x41e0c6}=_0x3dfef6;return{'unitId':_0x1aaefe,'subUnitId':_0x41e0c6[0x0]['params'][_0x32b9a4(0x457)]};}let wt=class{constructor(_0x144fc7,_0x49b6a3,_0x158d26){const _0x41bad9=_0x2025fc;this[_0x41bad9(0x147)]=_0x144fc7,this[_0x41bad9(0x128)]=_0x49b6a3,this[_0x41bad9(0xe8)]=_0x158d26;}[_0x2025fc(0x231)](_0x118312){const _0x1bae1c=_0x2025fc;var _0x146c4f,_0xdd4a90,_0x5c7bc3,_0x681f7e;const _0x2dc7da=this[_0x1bae1c(0x147)][_0x1bae1c(0x33e)](_0x2d0767),{unitId:_0x2923e7,subUnitId:_0x4e8252}=Io(_0x118312),_0xa38baa=_0x2dc7da['getWorkbookSelections'](_0x2923e7)[_0x1bae1c(0xef)](),_0x4c24c8=(_0xdd4a90=(_0x146c4f=this[_0x1bae1c(0xe8)][_0x1bae1c(0x1a6)](_0x2923e7))==null?void 0x0:_0x146c4f[_0x1bae1c(0x406)]())==null?void 0x0:_0xdd4a90[_0x1bae1c(0x369)]();if(_0xa38baa[_0x1bae1c(0x161)]===0x0||!_0x2923e7||!_0x4e8252)return;const _0x5ebae3=[{'id':_0x3295dc['id'],'params':{'unitId':_0x2923e7,'subUnitId':_0x4c24c8,'selections':_0x529634[_0x1bae1c(0x2ad)](_0xa38baa)}}],_0x2e4f26=this[_0x1bae1c(0x128)][_0x1bae1c(0x39e)](_0x118312,_0x5ebae3);if(!_0x341c91(_0x2e4f26))throw _0x2e4f26[_0x1bae1c(0x279)];const _0x1b85fc=(_0x681f7e=(_0x5c7bc3=_0x2e4f26[_0x1bae1c(0x270)][0x0])==null?void 0x0:_0x5c7bc3['params'])==null?void 0x0:_0x681f7e[_0x1bae1c(0x12e)];if(Array[_0x1bae1c(0x287)](_0x1b85fc)&&_0x1b85fc[_0x1bae1c(0x161)]){if(_0x1b85fc[_0x1bae1c(0x161)]===_0x5ebae3[0x0][_0x1bae1c(0x3a0)]['selections'][_0x1bae1c(0x161)]&&_0x1b85fc['every']((_0x35a642,_0x46e464)=>_0x1a8bad[_0x1bae1c(0x1c6)](_0x35a642[_0x1bae1c(0x200)],_0x5ebae3[0x0][_0x1bae1c(0x3a0)][_0x1bae1c(0x12e)][_0x46e464][_0x1bae1c(0x200)])))return;this[_0x1bae1c(0x147)][_0x1bae1c(0x33e)](_0x28287a)[_0x1bae1c(0x344)](_0x3295dc['id'],{'unitId':_0x2923e7,'subUnitId':_0x4c24c8,'selections':_0x1b85fc});}}};wt=So([Kt(0x0,_0x5847bf(_0x5d7671)),Kt(0x1,_0x2fbfa5),Kt(0x2,_0x425cee)],wt);const jt=_0x30094b('univer-pro.collaboration-client.single-active-unit-service');var Ki=(_0x303067=>(_0x303067[_0x303067[_0x2025fc(0x46b)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x303067[_0x303067['OTHER_CLIENTS_EDITING']=0x1]=_0x2025fc(0xaa),_0x303067))(Ki||{});const Js=0x7530,Zs=_0x2025fc(0x4bc);class Co extends _0x24229e{constructor(){const _0x5da5ff=_0x2025fc;super(),g(this,'_id',_0x529634[_0x5da5ff(0x210)]()),g(this,'_selfUnitIDs',new Set()),g(this,_0x5da5ff(0x34c),new Map()),g(this,_0x5da5ff(0x337),null),g(this,_0x5da5ff(0x461),new Map()),g(this,_0x5da5ff(0x49e),new Map()),this['_init']();}[_0x2025fc(0x1e5)](){const _0xe6abb2=_0x2025fc;super[_0xe6abb2(0x1e5)](),this['_clearOtherTimers'][_0xe6abb2(0x2e1)]((_0x2574cd,_0x4f9fd0)=>this[_0xe6abb2(0x444)](_0x4f9fd0)),this[_0xe6abb2(0x337)]&&window[_0xe6abb2(0x3fd)](this[_0xe6abb2(0x337)]);}[_0x2025fc(0x430)](_0x385651){const _0x56d530=_0x2025fc;return this[_0x56d530(0x4ae)](_0x385651)[_0x56d530(0x150)](_0x17cf14());}[_0x2025fc(0xf2)](_0x1f2616){const _0x179adb=_0x2025fc;this[_0x179adb(0x1b3)][_0x179adb(0x2ac)]===0x0&&this['_scheduleHeartbeat'](),this[_0x179adb(0x1b3)][_0x179adb(0x4b0)](_0x1f2616),this['_send']({'type':0x0,'memberID':this[_0x179adb(0x15a)],'unitIDs':[_0x1f2616],'isForwarded':!0x1});}['disposeUnit'](_0x24b177){const _0x12aede=_0x2025fc;this[_0x12aede(0x1b3)]['delete'](_0x24b177),this[_0x12aede(0x1b3)][_0x12aede(0x2ac)]===0x0&&this[_0x12aede(0x337)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x2025fc(0x100)](){const _0x551115=_0x2025fc;this[_0x551115(0x10c)](_0x7c72c3(_0x6a336f(window,_0x551115(0x111))[_0x551115(0x140)](_0x14dd9d=>{const _0x3728e8=_0x551115;if(_0x14dd9d[_0x3728e8(0x45c)]!==Zs||!_0x14dd9d[_0x3728e8(0x3e5)])return;const _0x5b2a09=JSON['parse'](_0x14dd9d[_0x3728e8(0x3e5)]);this[_0x3728e8(0x366)](_0x5b2a09);}))),window[_0x551115(0x238)](_0x551115(0x4ba),()=>this[_0x551115(0x4b2)]({'type':0x1,'memberID':this[_0x551115(0x15a)],'unitIDs':Array[_0x551115(0x11c)](this[_0x551115(0x1b3)])}));}[_0x2025fc(0x366)](_0x37a684){const _0x5dcd18=_0x2025fc;switch(_0x37a684[_0x5dcd18(0x442)]){case 0x0:this['_handleJoinEvent'](_0x37a684);break;case 0x1:this['_handleLeaveEvent'](_0x37a684);break;case 0x2:this[_0x5dcd18(0x2fb)](_0x37a684);break;}}[_0x2025fc(0x45a)](_0xaaf2ae){const _0x43f736=_0x2025fc,{unitIDs:_0x2e76f6,memberID:_0x5b1d4a,isForwarded:_0x32bbf9}=_0xaaf2ae;_0x2e76f6['forEach'](_0x2a46bf=>{const _0x41840d=_0x46d8;if(!_0x32bbf9&&this[_0x41840d(0x34c)][_0x41840d(0x24c)](_0x2a46bf)&&this[_0x41840d(0x4ae)](_0x2a46bf)[_0x41840d(0x382)](0x1),!this[_0x41840d(0x34c)]['has'](_0x2a46bf)||!this[_0x41840d(0x34c)][_0x41840d(0x33e)](_0x2a46bf)[_0x41840d(0x24c)](_0x5b1d4a)){const _0x1a044a=this[_0x41840d(0x34c)][_0x41840d(0x33e)](_0x2a46bf)||new Set();_0x1a044a[_0x41840d(0x4b0)](_0x5b1d4a),this[_0x41840d(0x34c)][_0x41840d(0x39c)](_0x2a46bf,_0x1a044a),this[_0x41840d(0x43a)](_0x5b1d4a);}}),_0x32bbf9||this[_0x43f736(0x4b2)]({'type':0x0,'memberID':this[_0x43f736(0x15a)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x97e4d0){const _0x7eb8ad=_0x2025fc;this['_removeClearOtherTimer'](_0x97e4d0);const _0x25fff2=window[_0x7eb8ad(0x16d)](()=>{const _0x5b245d=_0x7eb8ad;this['_unitOnClients'][_0x5b245d(0x2e1)](_0x1bd951=>{const _0x208e41=_0x5b245d;_0x1bd951[_0x208e41(0x165)](_0x97e4d0);});},Js*0x2);this[_0x7eb8ad(0x461)]['set'](_0x97e4d0,_0x25fff2);}[_0x2025fc(0x444)](_0x5c195c){const _0x5bcc44=_0x2025fc;if(this[_0x5bcc44(0x461)][_0x5bcc44(0x24c)](_0x5c195c)){const _0x113854=this[_0x5bcc44(0x461)][_0x5bcc44(0x33e)](_0x5c195c);_0x113854&&window[_0x5bcc44(0x4b1)](_0x113854),this[_0x5bcc44(0x461)]['set'](_0x5c195c,null);}}[_0x2025fc(0x3f4)](_0x26bb2b){const _0x402ff2=_0x2025fc,{memberID:_0x36ba73,unitIDs:_0x9d30d7}=_0x26bb2b;_0x9d30d7[_0x402ff2(0x2e1)](_0x55e26f=>{const _0x47cf21=_0x402ff2;var _0x11ef07;const _0xd0eeb6=this[_0x47cf21(0x34c)][_0x47cf21(0x33e)](_0x55e26f);_0xd0eeb6&&(_0xd0eeb6[_0x47cf21(0x165)](_0x36ba73),(_0x11ef07=this[_0x47cf21(0x4ae)](_0x55e26f))==null||_0x11ef07[_0x47cf21(0x382)](_0xd0eeb6[_0x47cf21(0x2ac)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x36ba73);}['_handleHeartbeatEvent'](_0x59471a){const _0x46d273=_0x2025fc;this[_0x46d273(0x43a)](_0x59471a['memberID']);}[_0x2025fc(0x4b2)](_0x57e811){const _0x44460b=_0x2025fc;localStorage[_0x44460b(0x1aa)](Zs,JSON[_0x44460b(0x11e)](_0x57e811));}[_0x2025fc(0x2e7)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x250503=_0x46d8;this['_send']({'type':0x2,'memberID':this[_0x250503(0x15a)]});},Js);}['_ensureSubject'](_0x4d6cbb){const _0x54bd69=_0x2025fc;return this[_0x54bd69(0x49e)][_0x54bd69(0x24c)](_0x4d6cbb)||this[_0x54bd69(0x49e)][_0x54bd69(0x39c)](_0x4d6cbb,new _0x1074c2(0x0)),this[_0x54bd69(0x49e)]['get'](_0x4d6cbb);}}var Eo=Object[_0x2025fc(0x385)],bo=Object['getOwnPropertyDescriptor'],To=(_0x215ee1,_0xbb8759,_0x5a4ab4,_0x3aa60a)=>{const _0xd3f270=_0x2025fc;for(var _0x16641f=_0x3aa60a>0x1?void 0x0:_0x3aa60a?bo(_0xbb8759,_0x5a4ab4):_0xbb8759,_0xf7fe35=_0x215ee1[_0xd3f270(0x161)]-0x1,_0x232392;_0xf7fe35>=0x0;_0xf7fe35--)(_0x232392=_0x215ee1[_0xf7fe35])&&(_0x16641f=(_0x3aa60a?_0x232392(_0xbb8759,_0x5a4ab4,_0x16641f):_0x232392(_0x16641f))||_0x16641f);return _0x3aa60a&&_0x16641f&&Eo(_0xbb8759,_0x5a4ab4,_0x16641f),_0x16641f;},qt=(_0x3ff1f9,_0x107fd3)=>(_0x4d38e8,_0x339bae)=>_0x107fd3(_0x4d38e8,_0x339bae,_0x3ff1f9);let Dt=class{constructor(_0x56f84e,_0x582b68,_0xa0ca2){const _0x43ea71=_0x2025fc;this['_injector']=_0x56f84e,this[_0x43ea71(0x128)]=_0x582b68,this[_0x43ea71(0x10a)]=_0xa0ca2;}['transformStateCache'](_0x5d48e0){this['_transformHistoryAndStateStack'](_0x5d48e0);}['transformRemoteChangeset'](_0x44548a){const _0x20c530=_0x2025fc,{unitID:_0x77b850}=_0x44548a,{collaboration:_0x122ad9}=this[_0x20c530(0x10a)][_0x20c530(0x322)](_0x77b850);if(_0x122ad9[_0x20c530(0x161)]===0x0)return _0x44548a;let _0x12c0dd=_0x529634[_0x20c530(0x2ad)](_0x44548a[_0x20c530(0x335)][0x0]);for(let _0x1d7a59=0x0;_0x1d7a59<_0x122ad9[_0x20c530(0x161)];_0x1d7a59++){const _0x173c51={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x122ad9[_0x1d7a59][_0x20c530(0x273)],..._0x122ad9[_0x1d7a59]['redoState']}},_0x5c82c3=this[_0x20c530(0x128)]['transformMutation'](_0x12c0dd,_0x173c51,!0x1);if(_0x3e27e9(_0x5c82c3))throw _0x5c82c3[_0x20c530(0x279)];_0x12c0dd=_0x5c82c3[_0x20c530(0x44f)];}return{..._0x529634[_0x20c530(0x2ad)](_0x44548a),'mutations':[_0x12c0dd]};}[_0x2025fc(0x418)](_0x79927f){const _0x3d0cfa=_0x2025fc,{unitID:_0x2e26a0}=_0x79927f,{history:_0x5b4e04,collaboration:_0x450915}=this[_0x3d0cfa(0x10a)]['getStateCache'](_0x2e26a0);if(_0x5b4e04['length']===0x0&&_0x450915[_0x3d0cfa(0x161)]===0x0)return;const _0x1cf9fa=[],_0x175eb7=[];let _0xaf514c=_0x529634[_0x3d0cfa(0x2ad)](_0x79927f[_0x3d0cfa(0x335)][0x0]),_0x39b658=_0x529634['deepClone'](_0x79927f[_0x3d0cfa(0x335)][0x0]);for(let _0x4bac98=_0x5b4e04[_0x3d0cfa(0x161)]-0x1;_0x4bac98>=0x0;_0x4bac98--){const _0x32bbb4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5b4e04[_0x4bac98][_0x3d0cfa(0x273)],..._0x5b4e04[_0x4bac98][_0x3d0cfa(0x347)]}},_0x3c5e90={'id':_0x3d0cfa(0x495),'params':{'unitId':_0x5b4e04[_0x4bac98][_0x3d0cfa(0x273)],..._0x5b4e04[_0x4bac98][_0x3d0cfa(0x1a3)]}},_0x49eed6=this[_0x3d0cfa(0x128)][_0x3d0cfa(0x4b6)](_0xaf514c,_0x32bbb4,!0x1),_0x5bea87=this['_transformService'][_0x3d0cfa(0x4b6)](_0x39b658,_0x3c5e90,!0x1);if(_0x3e27e9(_0x49eed6))throw _0x49eed6[_0x3d0cfa(0x279)];if(_0x3e27e9(_0x5bea87))throw _0x5bea87[_0x3d0cfa(0x279)];_0x1cf9fa[_0x3d0cfa(0x3bd)]({..._0x5b4e04[_0x4bac98],'undoState':_0x49eed6[_0x3d0cfa(0x270)][_0x3d0cfa(0x3a0)],'redoState':_0x5bea87['m2Prime'][_0x3d0cfa(0x3a0)]}),_0xaf514c=_0x49eed6[_0x3d0cfa(0x44f)],_0x39b658=_0x5bea87[_0x3d0cfa(0x44f)];}_0xaf514c=_0x529634[_0x3d0cfa(0x2ad)](_0x79927f[_0x3d0cfa(0x335)][0x0]),_0x39b658=_0x529634[_0x3d0cfa(0x2ad)](_0x79927f[_0x3d0cfa(0x335)][0x0]);for(let _0x9adcc9=_0x450915[_0x3d0cfa(0x161)]-0x1;_0x9adcc9>=0x0;_0x9adcc9--){const _0x4b093c={'id':_0x3d0cfa(0x495),'params':{'unitId':_0x450915[_0x9adcc9]['unitId'],..._0x450915[_0x9adcc9][_0x3d0cfa(0x347)]}},_0x512950={'id':_0x3d0cfa(0x495),'params':{'unitId':_0x450915[_0x9adcc9]['unitId'],..._0x450915[_0x9adcc9][_0x3d0cfa(0x1a3)]}},_0x45f2a5=this[_0x3d0cfa(0x128)][_0x3d0cfa(0x4b6)](_0xaf514c,_0x4b093c,!0x1),_0x11a9db=this[_0x3d0cfa(0x128)][_0x3d0cfa(0x4b6)](_0x39b658,_0x512950,!0x1);if(_0x3e27e9(_0x45f2a5))throw _0x45f2a5[_0x3d0cfa(0x279)];if(_0x3e27e9(_0x11a9db))throw _0x11a9db[_0x3d0cfa(0x279)];_0x175eb7[_0x3d0cfa(0x3bd)]({..._0x450915[_0x9adcc9],'undoState':_0x45f2a5[_0x3d0cfa(0x270)]['params'],'redoState':_0x11a9db[_0x3d0cfa(0x270)][_0x3d0cfa(0x3a0)]}),_0xaf514c=_0x45f2a5[_0x3d0cfa(0x44f)],_0x39b658=_0x11a9db[_0x3d0cfa(0x44f)];}this[_0x3d0cfa(0x10a)]['setStateCache'](_0x2e26a0,{'history':_0x1cf9fa,'collaboration':_0x175eb7});}};Dt=To([qt(0x0,_0x5847bf(_0x5d7671)),qt(0x1,_0x2fbfa5),qt(0x2,_0x5847bf(_0x4ee933))],Dt);function qi(_0x447802){const _0x23d3a4=_0x2025fc;let _0x591fb7='';for(const _0x456e9e of _0x447802){const {startOffset:_0x3bc739,endOffset:_0x4258e0,isActive:_0x24626d,rangeType:_0x3c4464,segmentId:_0x17e384,segmentPage:_0x508fec}=_0x456e9e;_0x591fb7[_0x23d3a4(0x161)]&&(_0x591fb7+=','),_0x591fb7+=_0x3bc739+':'+_0x4258e0+':'+(_0x24626d?'1':'0')+':'+_0x3c4464+':'+_0x17e384+':'+_0x508fec;}return _0x591fb7;}function Ro(_0x3d4b47){const _0x56bac5=_0x2025fc,_0xc0e35d=_0x3d4b47['split'](','),_0x240b0e=[];for(const _0x13ccc4 of _0xc0e35d){const [_0xa6d7f0,_0x249e8e,_0x33c149,_0x3cc19b,_0xdac98d,_0x53cf02]=_0x13ccc4[_0x56bac5(0x2c6)](':');_0x240b0e[_0x56bac5(0x22f)]({'startOffset':Number(_0xa6d7f0),'endOffset':Number(_0x249e8e),'collapsed':_0xa6d7f0===_0x249e8e,'isActive':_0x33c149==='1','rangeType':_0x3cc19b===_0x2bd610[_0x56bac5(0x2b8)]?_0x2bd610[_0x56bac5(0x2b8)]:_0x2bd610[_0x56bac5(0x246)],'segmentId':typeof _0xdac98d==_0x56bac5(0x151)?String(_0xdac98d):'','segmentPage':Number(_0x53cf02!=null?_0x53cf02:-0x1)});}return _0x240b0e['some'](_0x509351=>_0x509351[_0x56bac5(0x19e)])||(_0x240b0e[0x0]['isActive']=!0x0),_0x240b0e;}class Ds extends _0x5ec0cb{constructor(){const _0x4c0dc6=_0x2025fc;super(...arguments),g(this,'_collabCursorState$',new _0x1074c2(null)),g(this,_0x4c0dc6(0x451),this[_0x4c0dc6(0x1ea)][_0x4c0dc6(0xf7)]());}[_0x2025fc(0xc2)](_0x4fdcb0){const _0x38d62c=_0x2025fc,{unitID:_0x49afeb,memberID:_0x18d412,textRanges:_0x4404d2}=_0x4fdcb0,_0x27cafd=qi(_0x4404d2);if(_0x27cafd==='')return;const _0x2821fa={'unitID':_0x49afeb,'memberID':_0x18d412,'selection':_0x27cafd};this[_0x38d62c(0x1ea)][_0x38d62c(0x382)](_0x2821fa);}}var Oo=Object[_0x2025fc(0x385)],yo=Object['getOwnPropertyDescriptor'],wo=(_0xbdb01d,_0x34914b,_0x2b6b41,_0x26bd8b)=>{const _0x507179=_0x2025fc;for(var _0x292316=_0x26bd8b>0x1?void 0x0:_0x26bd8b?yo(_0x34914b,_0x2b6b41):_0x34914b,_0x599586=_0xbdb01d[_0x507179(0x161)]-0x1,_0x5941a0;_0x599586>=0x0;_0x599586--)(_0x5941a0=_0xbdb01d[_0x599586])&&(_0x292316=(_0x26bd8b?_0x5941a0(_0x34914b,_0x2b6b41,_0x292316):_0x5941a0(_0x292316))||_0x292316);return _0x26bd8b&&_0x292316&&Oo(_0x34914b,_0x2b6b41,_0x292316),_0x292316;},Qs=(_0x3b2b21,_0x17c3fc)=>(_0x1a8f44,_0xe66bf0)=>_0x17c3fc(_0x1a8f44,_0xe66bf0,_0x3b2b21);let Pt=class{constructor(_0x3d378d,_0x5dad3b){const _0x2833a3=_0x2025fc;this[_0x2833a3(0x147)]=_0x3d378d,this[_0x2833a3(0x128)]=_0x5dad3b;}[_0x2025fc(0x231)](_0x1608db){const _0x5561b2=_0x2025fc;var _0x3084e4;const _0x2e6f48=this[_0x5561b2(0x147)][_0x5561b2(0x33e)](_0x49b6ea),_0x167fbd=(_0x3084e4=_0x2e6f48[_0x5561b2(0x391)]())!=null?_0x3084e4:[];if(_0x167fbd['length']===0x0)return;const _0x403bf3=_0x1608db['unitID'],_0x32ec32=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x403bf3,'actions':null,'textRanges':_0x167fbd}}],_0x403107=this[_0x5561b2(0x128)][_0x5561b2(0x39e)](_0x1608db,_0x32ec32);if(!_0x341c91(_0x403107))throw _0x403107[_0x5561b2(0x279)];const _0xb6d254=_0x403107[_0x5561b2(0x270)][0x0][_0x5561b2(0x3a0)][_0x5561b2(0x1b1)];Array[_0x5561b2(0x287)](_0xb6d254)&&_0xb6d254['length']&&_0x2e6f48[_0x5561b2(0x2f9)](_0xb6d254,{'unitId':_0x403bf3,'subUnitId':_0x403bf3},!0x1);}};Pt=wo([Qs(0x0,_0x5847bf(_0x5d7671)),Qs(0x1,_0x2fbfa5)],Pt);const Do=new Set([_0x5bc6a8['id']]);function ei(_0x435586,_0x477b87,_0x4f3dcd,_0x3143f9,_0x1f8859){const _0xbf01e3=_0x2025fc;var _0x1a45af,_0x21fed4,_0x314ee6,_0x37aa38;const _0x2669f8=[];for(const _0x39c8b5 of _0x435586)if(Do[_0xbf01e3(0x24c)](_0x39c8b5['id'])){if(_0x2669f8[_0xbf01e3(0x161)]>0x0)break;_0x2669f8[_0xbf01e3(0x22f)](_0x39c8b5);break;}else _0x2669f8['push'](_0x39c8b5);const _0x4489fd=(_0x21fed4=(_0x1a45af=_0x1f8859['getCurrentUser']())==null?void 0x0:_0x1a45af[_0xbf01e3(0x37e)])!=null?_0x21fed4:_0xbf01e3(0x248),_0x315a03=(_0x37aa38=(_0x314ee6=_0x1f8859[_0xbf01e3(0x14b)]())==null?void 0x0:_0x314ee6['memberID'])!=null?_0x37aa38:_0xbf01e3(0x248);return{'changeset':{'unitID':_0x477b87,'type':_0x3761c7(_0x4f3dcd[_0xbf01e3(0x3e3)](_0x477b87)),'baseRev':_0x3143f9[_0xbf01e3(0x21f)](_0x477b87),'revision':0x0,'userID':_0x4489fd,'memberID':_0x315a03,'mutations':_0x2669f8},'pendingMutations':_0x435586[_0xbf01e3(0x48f)](_0x2669f8[_0xbf01e3(0x161)])};}function Po(_0xaa9500,_0x887e65,_0x2519c7,_0x2562a7,_0x256860){const _0xe0d0e=_0x2025fc;var _0x202771,_0xe28d44,_0x10e86f,_0x173082;const _0x3f7bf1=[_0xaa9500[_0xe0d0e(0x393)]((_0x2c94a8,_0x1c1cf3)=>{const _0x5c5a7a=_0xe0d0e;var _0x489a8c;const {id:_0x4ea249}=_0x2c94a8,{id:_0xbb4d4c,type:_0x18e641}=_0x1c1cf3,_0x3a591b=(_0x489a8c=_0x2c94a8[_0x5c5a7a(0x3a0)])!=null?_0x489a8c:{'actions':null},_0x1edb2d=_0x1c1cf3[_0x5c5a7a(0x3a0)];if(_0x4ea249&&_0x4ea249!==_0xbb4d4c)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4ea249+_0x5c5a7a(0x38a)+_0xbb4d4c+'.');return{..._0x2c94a8,'id':_0xbb4d4c,'type':_0x18e641,'params':{'unitId':_0x1edb2d[_0x5c5a7a(0x273)],'textRanges':_0x1edb2d[_0x5c5a7a(0x1b1)],'actions':_0x421ddc[_0x5c5a7a(0x468)](_0x3a591b[_0x5c5a7a(0x49a)],_0x1edb2d[_0x5c5a7a(0x49a)])}};},{})],_0x4365f1=(_0xe28d44=(_0x202771=_0x256860[_0xe0d0e(0x14b)]())==null?void 0x0:_0x202771['userID'])!=null?_0xe28d44:_0xe0d0e(0x248),_0x212c5f=(_0x173082=(_0x10e86f=_0x256860['getCurrentUser']())==null?void 0x0:_0x10e86f[_0xe0d0e(0x471)])!=null?_0x173082:'unknown';return{'changeset':{'unitID':_0x887e65,'type':_0x3761c7(_0x2519c7['getUnitType'](_0x887e65)),'baseRev':_0x2562a7[_0xe0d0e(0x21f)](_0x887e65),'revision':0x0,'userID':_0x4365f1,'memberID':_0x212c5f,'mutations':_0x3f7bf1},'pendingMutations':[]};}function zi(_0x2d54c1,_0xf646c5){const _0x1dff4b=_0x2025fc,_0x11c9ab=new _0x5e2516(0x1);return setTimeout(()=>_0x11c9ab[_0x1dff4b(0x382)](_0xf646c5),_0x2d54c1),_0x11c9ab['asObservable']()[_0x1dff4b(0x150)](_0x54d89e(0x1));}const No={'id':_0x40bf05['id'],'type':_0x4f220f[_0x2025fc(0x2c5)],'params':{}};var Uo=Object[_0x2025fc(0x385)],Ao=Object[_0x2025fc(0x18c)],$e=(_0x3a0634,_0x593556,_0x2580cb,_0x4b4dbe)=>{for(var _0x85f2c5=_0x4b4dbe>0x1?void 0x0:_0x4b4dbe?Ao(_0x593556,_0x2580cb):_0x593556,_0x8c23ab=_0x3a0634['length']-0x1,_0x13f5bd;_0x8c23ab>=0x0;_0x8c23ab--)(_0x13f5bd=_0x3a0634[_0x8c23ab])&&(_0x85f2c5=(_0x4b4dbe?_0x13f5bd(_0x593556,_0x2580cb,_0x85f2c5):_0x13f5bd(_0x85f2c5))||_0x85f2c5);return _0x4b4dbe&&_0x85f2c5&&Uo(_0x593556,_0x2580cb,_0x85f2c5),_0x85f2c5;},A=(_0x517766,_0x51fd35)=>(_0x23f0b3,_0x12ceb4)=>_0x51fd35(_0x23f0b3,_0x12ceb4,_0x517766),J=(_0x1468b5=>(_0x1468b5['NOT_COLLAB']=_0x2025fc(0x360),_0x1468b5[_0x2025fc(0x274)]='synced',_0x1468b5[_0x2025fc(0x469)]=_0x2025fc(0x46a),_0x1468b5['AWAITING']=_0x2025fc(0x1c3),_0x1468b5[_0x2025fc(0x4bd)]=_0x2025fc(0x1c1),_0x1468b5['FETCH_MISS']=_0x2025fc(0x377),_0x1468b5[_0x2025fc(0x312)]=_0x2025fc(0x137),_0x1468b5[_0x2025fc(0x23c)]='offline',_0x1468b5))(J||{});const Xi=0xea60;class He{constructor(_0x13a4f6,_0x5ac678,_0x281934,_0x5d640b,_0x4ed833,_0x2a45f8,_0x52050e,_0x3882e0,_0x678d64){const _0x517a4a=_0x2025fc;g(this,_0x517a4a(0x47d),null),g(this,_0x517a4a(0x398),[]),(this[_0x517a4a(0x2bf)]=_0x13a4f6,this[_0x517a4a(0x442)]=_0x5ac678,this[_0x517a4a(0x452)]=_0x4ed833,this[_0x517a4a(0x481)]=_0x2a45f8,this[_0x517a4a(0x21e)]=_0x52050e,this[_0x517a4a(0x1b0)]=_0x3882e0,this[_0x517a4a(0x2a4)]=_0x678d64,this[_0x517a4a(0x47d)]=_0x281934,this[_0x517a4a(0x398)]=_0x5d640b);}['_checkMissing'](_0x22795b){const _0xa1f689=_0x2025fc,_0x130bf1=this[_0xa1f689(0x1b0)]['getCurrentRevOfUnit'](this['unitID']);return _0x22795b['revision']>_0x130bf1+0x1?(this[_0xa1f689(0x452)]['onMissingChangesets']({'from':_0x130bf1,'to':_0x22795b[_0xa1f689(0x458)]-0x1}),!0x0):!0x1;}[_0x2025fc(0x2ed)](_0x574bc1){const _0x5e3fda=_0x2025fc;this[_0x5e3fda(0x21e)][_0x5e3fda(0x338)](this['unitID'],_0x574bc1);}[_0x2025fc(0xd9)](_0x5d2a42){const _0x173ef4=_0x2025fc;var _0x45cadd,_0xd626f0;(_0xd626f0=(_0x45cadd=this['_handler'])[_0x173ef4(0x106)])==null||_0xd626f0[_0x173ef4(0x494)](_0x45cadd,_0x5d2a42);}[_0x2025fc(0x1bf)](_0x402236){const _0x3276ab=_0x2025fc;var _0x462e86,_0x5e4167;return(_0x5e4167=(_0x462e86=this[_0x3276ab(0x452)])[_0x3276ab(0x38c)])==null?void 0x0:_0x5e4167[_0x3276ab(0x494)](_0x462e86,_0x402236);}[_0x2025fc(0x26f)](_0x245756){const _0x16f584=_0x2025fc;var _0x26fb9f,_0x1fe02a;return(_0x1fe02a=(_0x26fb9f=this[_0x16f584(0x452)])[_0x16f584(0x401)])==null?void 0x0:_0x1fe02a[_0x16f584(0x494)](_0x26fb9f,_0x245756);}[_0x2025fc(0x191)](_0x445ec9){const _0x91390d=_0x2025fc;var _0xbc4f15,_0x4a29fc,_0x2525c8;return(_0x2525c8=(_0x4a29fc=(_0xbc4f15=this[_0x91390d(0x452)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4a29fc[_0x91390d(0x494)](_0xbc4f15,_0x445ec9))!=null?_0x2525c8:_0x445ec9;}[_0x2025fc(0x2d5)](_0x54295e){const _0x5e4851=_0x2025fc;var _0xd93821,_0x1fa965,_0x8f6823;return(_0x8f6823=(_0x1fa965=(_0xd93821=this[_0x5e4851(0x452)])[_0x5e4851(0x2eb)])==null?void 0x0:_0x1fa965[_0x5e4851(0x494)](_0xd93821,_0x54295e))!=null?_0x8f6823:_0x54295e;}[_0x2025fc(0x3d0)](_0x257f87){const _0x1c83d6=_0x2025fc;var _0x3c0df1,_0xd8b89c;if(this[_0x1c83d6(0x442)]===ae[_0x1c83d6(0x3ad)]){const {unitID:_0x398fce,mutations:_0x16ccf1,memberID:_0x4de8d0}=_0x257f87,_0xda12fe=_0x16ccf1[0x0][_0x1c83d6(0x3a0)][_0x1c83d6(0x1b1)];Array[_0x1c83d6(0x287)](_0xda12fe)&&_0xda12fe[_0x1c83d6(0x161)]>0x0&&((_0xd8b89c=(_0x3c0df1=this[_0x1c83d6(0x452)])[_0x1c83d6(0x1f5)])==null||_0xd8b89c[_0x1c83d6(0x494)](_0x3c0df1,{'unitID':_0x398fce,'memberID':_0x4de8d0,'textRanges':_0xda12fe}));}}[_0x2025fc(0x2e9)](){const _0x2e8e60=_0x2025fc;this[_0x2e8e60(0x2a4)][_0x2e8e60(0x291)](this[_0x2e8e60(0x2bf)],this[_0x2e8e60(0x442)],this[_0x2e8e60(0x47d)],this[_0x2e8e60(0x398)]);}[_0x2025fc(0x3b8)](){const _0x569dbb=_0x2025fc;return this[_0x569dbb(0x1b0)][_0x569dbb(0x21f)](this[_0x569dbb(0x2bf)]);}[_0x2025fc(0x139)](){const _0x534ac0=_0x2025fc;this[_0x534ac0(0x1b0)]['incrementRevOfUnit'](this[_0x534ac0(0x2bf)]);}['_executeRemoteChangeset'](_0x4f3b4f){const _0x488b22=_0x2025fc;var _0x2a8be0;let _0x26b0c6=this[_0x488b22(0x191)](_0x4f3b4f);_0x26b0c6=this[_0x488b22(0x2d5)](_0x26b0c6);const _0x201cb3=_0x512337(_0x26b0c6[_0x488b22(0x335)],this[_0x488b22(0x481)],{'fromCollab':!0x0});if(!_0x201cb3[_0x488b22(0x491)])throw _0x201cb3[_0x488b22(0x279)]instanceof Error?_0x201cb3[_0x488b22(0x279)]:new Error((_0x2a8be0=_0x201cb3['error'])!=null?_0x2a8be0:_0x488b22(0x333));this['_transformIMECache'](_0x26b0c6),this['_transformStateCache'](_0x26b0c6),this[_0x488b22(0x2ed)](_0x4f3b4f),this[_0x488b22(0xd9)](_0x26b0c6),this[_0x488b22(0x3d0)](_0x26b0c6),this[_0x488b22(0x139)]();}}let Fe=class extends He{constructor(_0x5253a2,_0x55d817,_0x3d30a0,_0xccb898,_0x3eecad,_0x2d2fe8,_0x64f58a,_0x459505,_0x1d63bf,_0x5975b6){const _0x1a5a08=_0x2025fc;super(_0x5253a2,_0x55d817,null,[],_0x3d30a0,_0x459505,_0x64f58a,_0xccb898,_0x3eecad),g(this,_0x1a5a08(0x2e8),_0x1a5a08(0x399)),(this[_0x1a5a08(0x147)]=_0x2d2fe8,this['_logService']=_0x1d63bf,this['_transformService']=_0x5975b6);}[_0x2025fc(0x2b7)](_0x363ca5){const _0x569a1a=_0x2025fc,_0x16855e=this['_injector'][_0x569a1a(0x12a)](pe,this['unitID'],this['type'],[_0x363ca5],this[_0x569a1a(0x452)]);return _0x16855e[_0x569a1a(0x34f)](),_0x16855e[_0x569a1a(0x2e9)](),_0x16855e;}[_0x2025fc(0xfa)](_0x54246f){const _0x4c7d55=_0x2025fc;if(this[_0x4c7d55(0x437)](_0x54246f))return this[_0x4c7d55(0x147)]['createInstance'](ce,this['unitID'],this[_0x4c7d55(0x442)],null,[],null,[_0x54246f],this[_0x4c7d55(0x452)]);try{const _0x2c4441=this[_0x4c7d55(0x128)][_0x4c7d55(0x39e)](_0x54246f,[No]);if(_0x341c91(_0x2c4441)){const {c1Prime:_0x4c7cd9}=_0x2c4441;return this[_0x4c7d55(0x2ae)](_0x4c7cd9),this;}throw _0x2c4441[_0x4c7d55(0x279)];}catch(_0x2e60e0){return this[_0x4c7d55(0xc1)][_0x4c7d55(0x279)](_0x2e60e0),this[_0x4c7d55(0xf4)](!0x1);}}[_0x2025fc(0xf4)](_0x40ee1f){const _0x587d0f=_0x2025fc;return this['_injector'][_0x587d0f(0x12a)](Re,this['unitID'],this[_0x587d0f(0x442)],null,[],this[_0x587d0f(0x452)],_0x40ee1f);}[_0x2025fc(0x40f)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2025fc(0xa5)](){const _0x35be91=_0x2025fc;throw new Error(_0x35be91(0x2ec));}[_0x2025fc(0x412)](){return this;}[_0x2025fc(0x242)](){const _0x13f946=_0x2025fc;return this[_0x13f946(0x147)]['createInstance'](Oe,this[_0x13f946(0x2bf)],this[_0x13f946(0x442)],null,[],this[_0x13f946(0x452)]);}['toggleOnline'](){return this;}[_0x2025fc(0xd8)](){const _0x52d20c=_0x2025fc;throw new Error(_0x52d20c(0x1dc));}['fetchMiss'](){const _0x51784e=_0x2025fc,_0x103353=this[_0x51784e(0x1b0)][_0x51784e(0x21f)](this[_0x51784e(0x2bf)]);return this['_handler'][_0x51784e(0x2a5)]({'from':_0x103353,'to':0x0}),this['_injector'][_0x51784e(0x12a)](ce,this[_0x51784e(0x2bf)],this[_0x51784e(0x442)],null,[],null,[],this['_handler']);}};Fe=$e([A(0x3,_0x5847bf(_0x389697)),A(0x4,_0x5847bf(z)),A(0x5,_0x5847bf(_0x5d7671)),A(0x6,_0x4bbe15),A(0x7,_0x28287a),A(0x8,_0x49d195),A(0x9,_0x2fbfa5)],Fe);let pe=class extends He{constructor(_0x61e5ae,_0x3fff89,_0x2c64af,_0x53bb6e,_0x2ee5d8,_0x989103,_0x5134ac,_0x136613,_0x5d4231,_0x5d2d17,_0x4be79e,_0x429f15,_0x40fcb5,_0x3239a1){const _0x495d31=_0x2025fc;super(_0x61e5ae,_0x3fff89,null,_0x2c64af,_0x53bb6e,_0x5d2d17,_0x3239a1,_0x989103,_0x5134ac),g(this,_0x495d31(0x2e8),_0x495d31(0x46a)),g(this,_0x495d31(0x109),null),g(this,_0x495d31(0x396),null),(this[_0x495d31(0x147)]=_0x2ee5d8,this['_memberService']=_0x136613,this[_0x495d31(0xc1)]=_0x5d4231,this['_configService']=_0x4be79e,this[_0x495d31(0x128)]=_0x429f15,this[_0x495d31(0x3cf)]=_0x40fcb5);}[_0x2025fc(0x2b7)](_0x20e268){const _0x117d18=_0x2025fc;return this[_0x117d18(0x398)][_0x117d18(0x22f)](_0x20e268),this[_0x117d18(0x2e9)](),this;}[_0x2025fc(0xfa)](_0x320d3){const _0x492b49=_0x2025fc;if(this[_0x492b49(0x437)](_0x320d3))return this[_0x492b49(0x3a5)](),this[_0x492b49(0x147)][_0x492b49(0x12a)](ce,this['unitID'],this[_0x492b49(0x442)],null,this[_0x492b49(0x398)],null,[_0x320d3],this['_handler']);try{const _0x3538f5=this['_transformService']['transformMutationsWithChangeset'](_0x320d3,this[_0x492b49(0x398)]);if(_0x341c91(_0x3538f5)){const {c1Prime:_0x3ba168,m2Prime:_0x56321c}=_0x3538f5;this[_0x492b49(0x2ae)](_0x3ba168);const _0x381610=this[_0x492b49(0x147)][_0x492b49(0x12a)](pe,this[_0x492b49(0x2bf)],this[_0x492b49(0x442)],_0x56321c,this[_0x492b49(0x452)]);return this[_0x492b49(0x3a5)](),_0x381610[_0x492b49(0x34f)](this[_0x492b49(0x109)]?Math[_0x492b49(0x3f2)](0x0,new Date()[_0x492b49(0x2f6)]()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x381610;}throw _0x3538f5[_0x492b49(0x279)];}catch(_0x1fc981){return this[_0x492b49(0xc1)][_0x492b49(0x279)](_0x1fc981),this[_0x492b49(0xf4)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2025fc(0xa5)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x2025fc(0x412)](){return this;}['toggleOffline'](){const _0x1cf1b7=_0x2025fc;return this[_0x1cf1b7(0x3a5)](),this['_injector'][_0x1cf1b7(0x12a)](Oe,this[_0x1cf1b7(0x2bf)],this[_0x1cf1b7(0x442)],null,this[_0x1cf1b7(0x398)],this['_handler']);}[_0x2025fc(0x375)](){return this;}['_schedule'](_0x1a7141){const _0x194f69=_0x2025fc,_0x2758bb=_0x1a7141!=null?_0x1a7141:this[_0x194f69(0x194)]();this[_0x194f69(0x109)]=new Date()[_0x194f69(0x2f6)](),this[_0x194f69(0x396)]=window[_0x194f69(0x16d)](()=>{const _0x589762=_0x194f69;this['_clearScheduledTask']();let _0x2a9c66=null;switch(this[_0x589762(0x442)]){case ae['UNIVER_SHEET']:{_0x2a9c66=ei(this[_0x589762(0x398)],this[_0x589762(0x2bf)],this[_0x589762(0x3cf)],this['_revisionService'],this[_0x589762(0x31c)]);break;}case ae[_0x589762(0x3ad)]:{this[_0x589762(0x398)][_0x589762(0x253)](_0x5c42ff=>_0x5c42ff['id']===_0x3ef379['id'])?_0x2a9c66=Po(this['_pendingMutations'],this[_0x589762(0x2bf)],this[_0x589762(0x3cf)],this[_0x589762(0x1b0)],this[_0x589762(0x31c)]):_0x2a9c66=ei(this['_pendingMutations'],this[_0x589762(0x2bf)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x589762(0xc8)+this[_0x589762(0x442)]+_0x589762(0x2de));}const {changeset:_0x2d27da,pendingMutations:_0x40bff1}=_0x2a9c66;this[_0x589762(0x452)][_0x589762(0x32e)](_0x2d27da);const _0x4f8e92=_0x40bff1['length']?this['_injector'][_0x589762(0x12a)](me,this[_0x589762(0x2bf)],this[_0x589762(0x442)],_0x2d27da,_0x40bff1,this[_0x589762(0x452)],void 0x0):this[_0x589762(0x147)][_0x589762(0x12a)](Te,this[_0x589762(0x2bf)],this[_0x589762(0x442)],_0x2d27da,this[_0x589762(0x452)]);_0x4f8e92[_0x589762(0x2e9)](),this['_handler'][_0x589762(0xe4)](this,_0x4f8e92);},_0x2758bb);}['_getSendChangesetTimeout'](){const _0x2e45e6=_0x2025fc;var _0x4c1cce;const _0x18e8ae=this[_0x2e45e6(0xb4)][_0x2e45e6(0x217)](Q);return(_0x4c1cce=_0x18e8ae==null?void 0x0:_0x18e8ae[_0x2e45e6(0x40e)])!=null?_0x4c1cce:Rn;}[_0x2025fc(0xd8)](){const _0x537863=_0x2025fc;throw new Error(_0x537863(0x3ee));}['_clearScheduledTask'](){const _0x5945c4=_0x2025fc;this[_0x5945c4(0x396)]!=null&&(clearTimeout(this[_0x5945c4(0x396)]),this[_0x5945c4(0x396)]=null);}[_0x2025fc(0xf4)](_0x3556b0){const _0x22c029=_0x2025fc;return this[_0x22c029(0x3a5)](),this[_0x22c029(0x147)]['createInstance'](Re,this[_0x22c029(0x2bf)],this[_0x22c029(0x442)],null,this[_0x22c029(0x398)],this[_0x22c029(0x452)],_0x3556b0);}};pe=$e([A(0x4,_0x5847bf(_0x5d7671)),A(0x5,_0x5847bf(_0x389697)),A(0x6,_0x5847bf(z)),A(0x7,_0x5847bf(Me)),A(0x8,_0x49d195),A(0x9,_0x28287a),A(0xa,_0x4df844),A(0xb,_0x2fbfa5),A(0xc,_0x425cee),A(0xd,_0x4bbe15)],pe);let Te=class extends He{constructor(_0x3fdeb1,_0x715049,_0x9b2a2,_0x3b3923,_0x2a59e6,_0x346569,_0x13afb3,_0x2bc3d5,_0x4763cf,_0x5c4c76,_0x206461){const _0x5f125e=_0x2025fc;super(_0x3fdeb1,_0x715049,_0x9b2a2,[],_0x3b3923,_0x2bc3d5,_0x206461,_0x346569,_0x13afb3),g(this,_0x5f125e(0x2e8),_0x5f125e(0x1c3)),g(this,'_resendTimeout',0x0),g(this,_0x5f125e(0x4a8)),g(this,_0x5f125e(0x2d4)),(this[_0x5f125e(0x147)]=_0x2a59e6,this['_logService']=_0x4763cf,this[_0x5f125e(0x128)]=_0x5c4c76);}[_0x2025fc(0x2b7)](_0x14c8bc){const _0x21635a=_0x2025fc;this[_0x21635a(0x3a5)]();const _0x2d13b1=this['_injector'][_0x21635a(0x12a)](me,this[_0x21635a(0x2bf)],this[_0x21635a(0x442)],this['_awaitingChangeset'],[_0x14c8bc],this[_0x21635a(0x452)],this[_0x21635a(0x4a8)]);return _0x2d13b1[_0x21635a(0x2e9)](),_0x2d13b1;}[_0x2025fc(0xfa)](_0x177167){const _0x37645f=_0x2025fc;if(this[_0x37645f(0x437)](_0x177167))return this[_0x37645f(0x3a5)](),this[_0x37645f(0x147)][_0x37645f(0x12a)](ce,this[_0x37645f(0x2bf)],this['type'],this['_awaitingChangeset'],[],null,[_0x177167],this[_0x37645f(0x452)]);try{const _0x4fc374=this[_0x37645f(0x128)][_0x37645f(0x301)]([_0x177167],[this['_awaitingChangeset']],!0x1);if(_0xba8c63(_0x4fc374)){const {c1Prime:_0x3822af,c2Prime:_0x50148d}=_0x4fc374;this[_0x37645f(0x2ae)](_0x3822af[0x0]),_0x50148d[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x37645f(0x3a5)]();const _0x44eadd=this[_0x37645f(0x147)][_0x37645f(0x12a)](Te,this['unitID'],this[_0x37645f(0x442)],_0x50148d[0x0],this[_0x37645f(0x452)]);return _0x44eadd['_updateLocalCache'](),_0x44eadd;}return this[_0x37645f(0xf4)](!0x1);}catch(_0x1de3e2){return this['_logService'][_0x37645f(0x279)](_0x1de3e2),this[_0x37645f(0xf4)](!0x1);}}[_0x2025fc(0x40f)](_0x237a66){const _0x49c53b=_0x2025fc;this[_0x49c53b(0x3a5)]();const _0x524a06=this[_0x49c53b(0x1b0)][_0x49c53b(0x21f)](this['unitID']);if(_0x237a66['revision']<_0x524a06-0x1)return this;if(this['_checkMissing'](_0x237a66))return this['_injector'][_0x49c53b(0x12a)](ce,this[_0x49c53b(0x2bf)],this[_0x49c53b(0x442)],null,[],this[_0x49c53b(0x47d)],[],this[_0x49c53b(0x452)]);this['_incrementRevisionNumber']();const _0xd73c40=this[_0x49c53b(0x147)][_0x49c53b(0x12a)](Fe,this[_0x49c53b(0x2bf)],this[_0x49c53b(0x442)],this['_handler']);return _0xd73c40['_updateLocalCache'](),_0xd73c40;}[_0x2025fc(0xa5)](_0x13c3d3){const _0x3eddf9=_0x2025fc;return this[_0x3eddf9(0xf4)](!!(_0x13c3d3!=null&&_0x13c3d3[_0x3eddf9(0x1d3)]));}[_0x2025fc(0x412)](_0x344d9b){const _0x36b6dc=_0x2025fc;return this[_0x36b6dc(0xda)]>Xi?this[_0x36b6dc(0x242)]():(this[_0x36b6dc(0x4a8)]=zi(this['_resendTimeout'],{'timeout':this[_0x36b6dc(0xda)],'reqId':_0x344d9b[_0x36b6dc(0x153)]}),this[_0x36b6dc(0x2d4)]=this[_0x36b6dc(0x4a8)][_0x36b6dc(0x140)](({reqId:_0x5a2cec,timeout:_0x18cbfc})=>{this['_resendWithTimeout'](_0x5a2cec,_0x18cbfc);}),this);}[_0x2025fc(0x242)](){const _0x12cb61=_0x2025fc;return this[_0x12cb61(0x3a5)](),this['_injector'][_0x12cb61(0x12a)](Oe,this['unitID'],this['type'],this[_0x12cb61(0x47d)],[],this[_0x12cb61(0x452)]);}[_0x2025fc(0x375)](){return this;}[_0x2025fc(0xd8)](){const _0x1e5f28=_0x2025fc;this[_0x1e5f28(0x452)][_0x1e5f28(0x32e)](this[_0x1e5f28(0x47d)]);}[_0x2025fc(0xf4)](_0x590e88){const _0x1cad62=_0x2025fc;return this[_0x1cad62(0x3a5)](),this[_0x1cad62(0x147)][_0x1cad62(0x12a)](Re,this[_0x1cad62(0x2bf)],this['type'],this[_0x1cad62(0x47d)],[],this[_0x1cad62(0x452)],_0x590e88);}[_0x2025fc(0x2d0)](_0x58b085,_0xf4d62c){const _0x134ed3=_0x2025fc;var _0x1be731;_0x58b085===((_0x1be731=this[_0x134ed3(0x47d)])==null?void 0x0:_0x1be731[_0x134ed3(0x153)])&&(this['resend'](),this['_resendTimeout']=_0xf4d62c===0x0?0x3e8:_0xf4d62c*0x2);}[_0x2025fc(0x3a5)](){const _0x5b4a8f=_0x2025fc;var _0x5ee5c6;(_0x5ee5c6=this[_0x5b4a8f(0x2d4)])==null||_0x5ee5c6[_0x5b4a8f(0x2dd)](),this[_0x5b4a8f(0xda)]=0x0;}};Te=$e([A(0x4,_0x5847bf(_0x5d7671)),A(0x5,_0x5847bf(_0x389697)),A(0x6,_0x5847bf(z)),A(0x7,_0x28287a),A(0x8,_0x49d195),A(0x9,_0x2fbfa5),A(0xa,_0x4bbe15)],Te);let me=class extends He{constructor(_0x3c507b,_0x299097,_0x22a27a,_0x355fcf,_0x126d03,_0x3d0124,_0x4b0bbd,_0x2977af,_0x1cce43,_0x321800,_0x3bada2,_0x5927f4,_0x48df66){const _0x27bded=_0x2025fc;super(_0x3c507b,_0x299097,_0x22a27a,_0x355fcf,_0x126d03,_0x321800,_0x48df66,_0x2977af,_0x1cce43),g(this,_0x27bded(0x2e8),_0x27bded(0x1c1)),g(this,'_resendTimeout',0x0),g(this,_0x27bded(0x4a8)),g(this,_0x27bded(0x2d4)),(this[_0x27bded(0x147)]=_0x4b0bbd,this[_0x27bded(0xc1)]=_0x3bada2,this[_0x27bded(0x128)]=_0x5927f4,_0x3d0124&&(this[_0x27bded(0x4a8)]=_0x3d0124,this[_0x27bded(0x2d4)]=this[_0x27bded(0x4a8)][_0x27bded(0x140)](({reqId:_0x9df784,timeout:_0x327e7a})=>{this['_resendWithTimeout'](_0x9df784,_0x327e7a);})));}['appendMutation'](_0x35833c){const _0xa595b9=_0x2025fc;return this[_0xa595b9(0x398)]['push'](_0x35833c),this;}[_0x2025fc(0xfa)](_0x299a2f){const _0x4835c3=_0x2025fc;if(this[_0x4835c3(0x437)](_0x299a2f))return this[_0x4835c3(0x3a5)](),this['_injector'][_0x4835c3(0x12a)](ce,this[_0x4835c3(0x2bf)],this[_0x4835c3(0x442)],this[_0x4835c3(0x47d)],this[_0x4835c3(0x398)],null,[_0x299a2f],this[_0x4835c3(0x452)]);try{const _0x1e786d=this[_0x4835c3(0x128)][_0x4835c3(0x301)]([_0x299a2f],[this[_0x4835c3(0x47d)]],!0x1);if(_0xba8c63(_0x1e786d)){const {c1Prime:_0xd7dc12,c2Prime:_0x102fcb}=_0x1e786d,_0x370232=this[_0x4835c3(0x128)][_0x4835c3(0x39e)](_0xd7dc12[0x0],this[_0x4835c3(0x398)]);if(_0x341c91(_0x370232)){const {c1Prime:_0x3d1be8,m2Prime:_0x235be8}=_0x370232;return this[_0x4835c3(0x2ae)](_0x3d1be8),_0x102fcb[0x0][_0x4835c3(0x1eb)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x4835c3(0x147)]['createInstance'](me,this[_0x4835c3(0x2bf)],this['type'],_0x102fcb[0x0],_0x235be8,this[_0x4835c3(0x452)],void 0x0);}throw _0x370232[_0x4835c3(0x279)];}throw _0x1e786d[_0x4835c3(0x279)];}catch(_0x2b2842){return this[_0x4835c3(0xc1)][_0x4835c3(0x279)](_0x2b2842),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x571ea6){const _0x3eafac=_0x2025fc;if(this[_0x3eafac(0x3a5)](),this[_0x3eafac(0x437)](_0x571ea6))return this[_0x3eafac(0x147)][_0x3eafac(0x12a)](ce,this[_0x3eafac(0x2bf)],this['type'],null,this[_0x3eafac(0x398)],this[_0x3eafac(0x47d)],[],this['_handler']);this[_0x3eafac(0x139)]();const _0x301cc0=this[_0x3eafac(0x147)][_0x3eafac(0x12a)](pe,this[_0x3eafac(0x2bf)],this[_0x3eafac(0x442)],this[_0x3eafac(0x398)],this[_0x3eafac(0x452)]);return _0x301cc0[_0x3eafac(0x34f)](),_0x301cc0[_0x3eafac(0x2e9)](),_0x301cc0;}[_0x2025fc(0xa5)](_0x4083f9){const _0x2eeef0=_0x2025fc;return this[_0x2eeef0(0xf4)](!!(_0x4083f9!=null&&_0x4083f9[_0x2eeef0(0x1d3)]));}[_0x2025fc(0x412)](_0x4e7155){const _0x4b833c=_0x2025fc;return this[_0x4b833c(0xda)]>Xi?this[_0x4b833c(0x242)]():(this['_resendTimer']=zi(this[_0x4b833c(0xda)],{'timeout':this['_resendTimeout'],'reqId':_0x4e7155[_0x4b833c(0x153)]}),this[_0x4b833c(0x2d4)]=this[_0x4b833c(0x4a8)][_0x4b833c(0x140)](({reqId:_0x3900c3,timeout:_0x5b1d16})=>{const _0x411704=_0x4b833c;this[_0x411704(0x2d0)](_0x3900c3,_0x5b1d16);}),this);}['toggleOffline'](){const _0x3ce7aa=_0x2025fc;return this[_0x3ce7aa(0x3a5)](),this[_0x3ce7aa(0x147)][_0x3ce7aa(0x12a)](Oe,this[_0x3ce7aa(0x2bf)],this[_0x3ce7aa(0x442)],this[_0x3ce7aa(0x47d)],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x2025fc(0xd8)](){const _0x130e7f=_0x2025fc;this[_0x130e7f(0x452)][_0x130e7f(0x32e)](this['_awaitingChangeset']);}[_0x2025fc(0xf4)](_0x5e739d){const _0x3e5f3d=_0x2025fc;return this[_0x3e5f3d(0x3a5)](),this[_0x3e5f3d(0x147)][_0x3e5f3d(0x12a)](Re,this[_0x3e5f3d(0x2bf)],this[_0x3e5f3d(0x442)],null,this[_0x3e5f3d(0x398)],this[_0x3e5f3d(0x452)],_0x5e739d);}[_0x2025fc(0x2d0)](_0x5973c4,_0x3401a1){const _0x4d46d1=_0x2025fc;var _0x11fd3b;_0x5973c4===((_0x11fd3b=this[_0x4d46d1(0x47d)])==null?void 0x0:_0x11fd3b[_0x4d46d1(0x153)])&&(this[_0x4d46d1(0xd8)](),this[_0x4d46d1(0xda)]=_0x3401a1===0x0?0x3e8:_0x3401a1*0x2);}[_0x2025fc(0x3a5)](){const _0x42f3d0=_0x2025fc;var _0x125bac;(_0x125bac=this['_sender'])==null||_0x125bac[_0x42f3d0(0x2dd)](),this['_resendTimeout']=0x0;}};me=$e([A(0x6,_0x5847bf(_0x5d7671)),A(0x7,_0x5847bf(_0x389697)),A(0x8,_0x5847bf(z)),A(0x9,_0x28287a),A(0xa,_0x49d195),A(0xb,_0x2fbfa5),A(0xc,_0x4bbe15)],me);let Re=class extends He{constructor(_0x2a4454,_0x21b930,_0x5c1aad,_0x391f10,_0x22904d,_0x180c8b=!0x1,_0x4a7d9e,_0x5c37b3,_0x41424f,_0x15c481,_0x38fe09,_0x44fed0,_0x392150){const _0x4bbb8e=_0x2025fc;super(_0x2a4454,_0x21b930,_0x5c1aad,_0x391f10,_0x22904d,_0x5c37b3,_0x41424f,_0x38fe09,_0x15c481),g(this,_0x4bbb8e(0x2e8),'conflict'),(this['_isPermissionRej']=_0x180c8b,this['_permissionService']=_0x4a7d9e,this[_0x4bbb8e(0x3a9)]=_0x44fed0,this[_0x4bbb8e(0x2e3)]=_0x392150,this[_0x4bbb8e(0x125)](),this[_0x4bbb8e(0x1f8)](),this[_0x4bbb8e(0x2d9)]());}['appendMutation'](){return this;}[_0x2025fc(0xfa)](){return this;}[_0x2025fc(0x40f)](){return this;}[_0x2025fc(0xa5)](){return this;}[_0x2025fc(0x412)](){return this;}[_0x2025fc(0x242)](){return this;}[_0x2025fc(0x375)](){return this;}[_0x2025fc(0xd8)](){const _0xc5ad8f=_0x2025fc;throw new Error(_0xc5ad8f(0x28f));}['_clearLocalCache'](){const _0x135bed=_0x2025fc;this['_localCacheService']['updateOfflineData'](this[_0x135bed(0x2bf)],this[_0x135bed(0x442)],null,[]);}['_showConflictNotification'](){const _0x117c98=_0x2025fc;this['_isPermissionRej']?this[_0x117c98(0x2e3)][_0x117c98(0x3c2)]({'title':this[_0x117c98(0x3a9)]['t'](_0x117c98(0x292)),'content':this[_0x117c98(0x3a9)]['t'](_0x117c98(0x1a2)),'type':_0x117c98(0x279),'duration':0x0}):this[_0x117c98(0x2e3)][_0x117c98(0x3c2)]({'title':this[_0x117c98(0x3a9)]['t'](_0x117c98(0x288)),'content':this[_0x117c98(0x3a9)]['t'](_0x117c98(0x103)),'type':_0x117c98(0x279),'duration':0x0});}[_0x2025fc(0x2d9)](){const _0x258d35=_0x2025fc;this[_0x258d35(0x2fa)][_0x258d35(0x2ce)](new _0x232ff6(this[_0x258d35(0x2bf)])['id'],!0x1);}};Re=$e([A(0x6,_0x5847bf(_0x1700fb)),A(0x7,_0x28287a),A(0x8,_0x4bbe15),A(0x9,_0x5847bf(z)),A(0xa,_0x5847bf(_0x389697)),A(0xb,_0x5847bf(_0x4b4756)),A(0xc,_0x28a3f3)],Re);let Oe=class extends He{constructor(_0x5649e1,_0x757da0,_0x4bd29c,_0x161f5b,_0x473e20,_0x205633,_0x4a956a,_0x524476,_0x390277,_0x2d3d72){const _0x4cde14=_0x2025fc;super(_0x5649e1,_0x757da0,_0x4bd29c,_0x161f5b,_0x473e20,_0x390277,_0x2d3d72,_0x4a956a,_0x524476),g(this,_0x4cde14(0x2e8),_0x4cde14(0x13e)),this[_0x4cde14(0x147)]=_0x205633;}['appendMutation'](_0xec3e34){const _0x2d380e=_0x2025fc;return this[_0x2d380e(0x398)][_0x2d380e(0x22f)](_0xec3e34),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x18af5d){const _0x2068cd=_0x2025fc;throw new Error(_0x2068cd(0x282));}['onRemoteAck'](){const _0x3f8656=_0x2025fc;throw new Error(_0x3f8656(0x334));}[_0x2025fc(0xa5)](){const _0x5f32a2=_0x2025fc;throw new Error(_0x5f32a2(0x329));}[_0x2025fc(0x412)](){return this;}[_0x2025fc(0x242)](){return this;}[_0x2025fc(0x375)](){const _0x1f81e4=_0x2025fc,{_injector:_0x5f5b8a,_pendingMutations:_0x35d943,_awaitingChangeset:_0x183ee8,unitID:_0x1395e4,_handler:_0x48e0db,type:_0x19b0c9}=this,_0x66f909=Ji(_0x5f5b8a,_0x1395e4,_0x19b0c9,_0x183ee8,_0x35d943,_0x48e0db);return _0x66f909 instanceof pe?_0x66f909['_schedule']():(_0x66f909 instanceof me||_0x66f909 instanceof Te)&&_0x66f909[_0x1f81e4(0xd8)](),_0x66f909;}['resend'](){const _0x4f1283=_0x2025fc;throw new Error(_0x4f1283(0x463));}};Oe=$e([A(0x5,_0x5847bf(_0x5d7671)),A(0x6,_0x5847bf(_0x389697)),A(0x7,_0x5847bf(z)),A(0x8,_0x28287a),A(0x9,_0x4bbe15)],Oe);let ce=class extends He{constructor(_0x2aa959,_0x40dc1d,_0x11bd12,_0x2b90ea,_0xae4049,_0xb6aaad,_0x84fd2e,_0x5cdd09,_0x1a2961,_0xd5fbd4,_0x29256a,_0x9ded7c,_0x79b74b,_0x48f2a0){const _0x2a5910=_0x2025fc;super(_0x2aa959,_0x40dc1d,_0x11bd12,_0x2b90ea,_0x84fd2e,_0x9ded7c,_0x79b74b,_0x1a2961,_0xd5fbd4),g(this,_0x2a5910(0x2e8),_0x2a5910(0x377)),(this[_0x2a5910(0x35f)]=_0xae4049,this[_0x2a5910(0x162)]=_0xb6aaad,this[_0x2a5910(0x147)]=_0x5cdd09,this[_0x2a5910(0xc1)]=_0x29256a,this[_0x2a5910(0x128)]=_0x48f2a0);}[_0x2025fc(0x143)](_0x525c58){const _0x206a23=_0x2025fc;try{const _0x1d6297=[..._0x525c58,...this[_0x206a23(0x162)]],_0x3712e7=[this[_0x206a23(0x47d)]||this[_0x206a23(0x35f)]][_0x206a23(0xb8)](_0x28da36=>!!_0x28da36);let _0x4f5499,_0x1efd2a;if(_0x3712e7[_0x206a23(0x161)]){const _0x2751a9=this[_0x206a23(0x128)]['transformChangesets'](_0x1d6297,_0x3712e7,!0x1);if(!_0xba8c63(_0x2751a9))throw _0x2751a9['error'];_0x4f5499=_0x2751a9[_0x206a23(0x26a)],_0x1efd2a=_0x2751a9[_0x206a23(0x117)];}else _0x4f5499=_0x1d6297,_0x1efd2a=[];let _0x7dea70=this[_0x206a23(0x398)];_0x4f5499[_0x206a23(0x2e1)](_0x27095e=>{const _0x3fd13d=_0x206a23;let _0x21183c;if(_0x7dea70[_0x3fd13d(0x161)]){const _0x17c628=this[_0x3fd13d(0x128)][_0x3fd13d(0x39e)](_0x27095e,_0x7dea70);if(!_0x341c91(_0x17c628))throw _0x17c628[_0x3fd13d(0x279)];_0x21183c=_0x17c628[_0x3fd13d(0x26a)],_0x7dea70=_0x17c628[_0x3fd13d(0x270)];}else _0x21183c=_0x27095e;this[_0x3fd13d(0x2ae)](_0x21183c);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x206a23(0x47d)]&&_0x1efd2a[_0x206a23(0x161)]&&(_0x1efd2a[0x0][_0x206a23(0x1eb)]=this['_getCurrentRevision']());let _0x237365;if(this['_awaitingChangeset']&&_0x7dea70[_0x206a23(0x161)]!==0x0)_0x237365=this['_injector'][_0x206a23(0x12a)](me,this[_0x206a23(0x2bf)],this[_0x206a23(0x442)],_0x1efd2a[0x0],_0x7dea70,this[_0x206a23(0x452)],void 0x0);else{if(this['_awaitingChangeset']&&_0x7dea70['length']===0x0)_0x1efd2a[0x0][_0x206a23(0x1eb)]=this['_getCurrentRevision'](),_0x237365=this['_injector']['createInstance'](Te,this['unitID'],this[_0x206a23(0x442)],_0x1efd2a[0x0],this[_0x206a23(0x452)]);else{if(_0x7dea70['length']!==0x0){const _0x2b5be8=this['_injector']['createInstance'](pe,this['unitID'],this[_0x206a23(0x442)],_0x7dea70,this[_0x206a23(0x452)]);_0x2b5be8['_schedule'](),_0x237365=_0x2b5be8;}else _0x237365=this[_0x206a23(0x147)]['createInstance'](Fe,this[_0x206a23(0x2bf)],this[_0x206a23(0x442)],this[_0x206a23(0x452)]);}}return _0x237365[_0x206a23(0x2e9)](),_0x237365;}catch(_0x4ad4ef){return this['_logService'][_0x206a23(0x279)]('[FetchMissState]',_0x206a23(0x42c),_0x4ad4ef),this['_injector']['createInstance'](Re,this[_0x206a23(0x2bf)],this[_0x206a23(0x442)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x206a23(0x452)],!0x1);}}[_0x2025fc(0xd8)](){const _0x5c18ef=_0x2025fc;throw new Error(_0x5c18ef(0x17f));}[_0x2025fc(0x2b7)](_0x4d5bc9){return this['_pendingMutations']['push'](_0x4d5bc9),this;}[_0x2025fc(0xfa)](_0xcd8a86){const _0x195cd5=_0x2025fc;return this['_queuedRemoteChangesets'][_0x195cd5(0x22f)](_0xcd8a86),this;}[_0x2025fc(0x40f)](_0x4f0872){const _0x1743f6=_0x2025fc;if(this[_0x1743f6(0x47d)])return this[_0x1743f6(0x35f)]=this[_0x1743f6(0x47d)],this[_0x1743f6(0x47d)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x2025fc(0xa5)](_0x514268){const _0x31ee05=_0x2025fc;return this[_0x31ee05(0xf4)](!!(_0x514268!=null&&_0x514268[_0x31ee05(0x1d3)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x58eda8=_0x2025fc;return this['_injector'][_0x58eda8(0x12a)](Oe,this[_0x58eda8(0x2bf)],this[_0x58eda8(0x442)],this[_0x58eda8(0x47d)],this[_0x58eda8(0x398)],this[_0x58eda8(0x452)]);}[_0x2025fc(0x375)](){return this;}[_0x2025fc(0xf4)](_0xe29a5){const _0x2e6d8c=_0x2025fc;return this[_0x2e6d8c(0x147)][_0x2e6d8c(0x12a)](Re,this['unitID'],this['type'],this[_0x2e6d8c(0x47d)],this[_0x2e6d8c(0x398)],this[_0x2e6d8c(0x452)],_0xe29a5);}};ce=$e([A(0x7,_0x5847bf(_0x5d7671)),A(0x8,_0x5847bf(_0x389697)),A(0x9,_0x5847bf(z)),A(0xa,_0x49d195),A(0xb,_0x28287a),A(0xc,_0x4bbe15),A(0xd,_0x2fbfa5)],ce);function Ji(_0xb5fe79,_0x2e1f33,_0x2e7dd2,_0x2852d2,_0x597de3,_0x22c6ab){const _0x1de5d8=_0x2025fc;return _0x2852d2&&_0x597de3[_0x1de5d8(0x161)]?_0xb5fe79[_0x1de5d8(0x12a)](me,_0x2e1f33,_0x2e7dd2,_0x2852d2,_0x597de3,_0x22c6ab,void 0x0):_0x2852d2?_0xb5fe79['createInstance'](Te,_0x2e1f33,_0x2e7dd2,_0x2852d2,_0x22c6ab):_0x597de3[_0x1de5d8(0x161)]?_0xb5fe79[_0x1de5d8(0x12a)](pe,_0x2e1f33,_0x2e7dd2,_0x597de3,_0x22c6ab):_0xb5fe79['createInstance'](Fe,_0x2e1f33,_0x2e7dd2,_0x22c6ab);}var Mo=Object[_0x2025fc(0x385)],xo=Object[_0x2025fc(0x18c)],Ps=(_0xd8fba3,_0x218257,_0x21e9b3,_0x30c238)=>{const _0x8eb70d=_0x2025fc;for(var _0x495b2e=_0x30c238>0x1?void 0x0:_0x30c238?xo(_0x218257,_0x21e9b3):_0x218257,_0x512f5e=_0xd8fba3[_0x8eb70d(0x161)]-0x1,_0x242571;_0x512f5e>=0x0;_0x512f5e--)(_0x242571=_0xd8fba3[_0x512f5e])&&(_0x495b2e=(_0x30c238?_0x242571(_0x218257,_0x21e9b3,_0x495b2e):_0x242571(_0x495b2e))||_0x495b2e);return _0x30c238&&_0x495b2e&&Mo(_0x218257,_0x21e9b3,_0x495b2e),_0x495b2e;},H=(_0x2d54bc,_0x137bf2)=>(_0x4aab23,_0x5418eb)=>_0x137bf2(_0x4aab23,_0x5418eb,_0x2d54bc);let Nt=class extends _0x5ec0cb{constructor(_0x1927cb,_0x1b63f0,_0x87e79a,_0x14117a,_0xda6bb5,_0x27b593,_0x14b808,_0x40fa00,_0x535be6,_0x5c53c4,_0x23c6c0,_0x24fe38,_0x3e5485){const _0x50ae10=_0x2025fc;super(),g(this,_0x50ae10(0x3ae),new _0x1074c2(null)),g(this,_0x50ae10(0x361),this[_0x50ae10(0x3ae)][_0x50ae10(0xf7)]()),g(this,_0x50ae10(0x3be)),g(this,_0x50ae10(0x45e),!0x1),g(this,_0x50ae10(0x3bc),''),g(this,'_changesetReqId',0x0),g(this,_0x50ae10(0x1cf),this[_0x50ae10(0x361)][_0x50ae10(0x150)](_0x2e263c(_0x2e4eca=>_0x2e4eca?_0x2e4eca[_0x50ae10(0x2e8)]:J['OFFLINE']),_0x2c1940(0x1))),g(this,'_transitionLocked',!0x1),g(this,_0x50ae10(0x20f),[]),(this[_0x50ae10(0x2bf)]=_0x1927cb,this['session']=_0x1b63f0,this['_type']=_0x87e79a,this[_0x50ae10(0x147)]=_0x14117a,this[_0x50ae10(0x2a4)]=_0xda6bb5,this[_0x50ae10(0xff)]=_0x27b593,this[_0x50ae10(0x3a9)]=_0x14b808,this[_0x50ae10(0x1b0)]=_0x40fa00,this[_0x50ae10(0xc1)]=_0x535be6,this['_commandService']=_0x5c53c4,this[_0x50ae10(0x362)]=_0x23c6c0,this[_0x50ae10(0x2fa)]=_0x24fe38,this['_singleActiveUnitService']=_0x3e5485);}get['state'](){const _0x21a8ba=_0x2025fc;return this[_0x21a8ba(0x3be)];}async[_0x2025fc(0x289)](){const _0x2d3dcf=_0x2025fc;if(this[_0x2d3dcf(0x2cf)])throw new Error(_0x2d3dcf(0x22a));await this[_0x2d3dcf(0x100)]();}['pauseCollaboration'](){const _0x279a0a=_0x2025fc;return this[_0x279a0a(0x45e)]=!0x0,_0x7c72c3(()=>{const _0x513910=_0x279a0a;this['_collaborationPaused']=!0x1,this[_0x513910(0x3cb)]();});}[_0x2025fc(0x19d)](_0x9af5f){const _0x3bd759=_0x2025fc;this[_0x3bd759(0x3be)]=_0x9af5f,this['_state$']['next'](_0x9af5f);}async[_0x2025fc(0x100)](){const _0x9c0cdb=_0x2025fc;var _0x4cc3e6;this['_updateState'](await this[_0x9c0cdb(0x351)]()),this[_0x9c0cdb(0x3c6)]&&((_0x4cc3e6=this[_0x9c0cdb(0x3c6)])==null||_0x4cc3e6[_0x9c0cdb(0xf2)](this[_0x9c0cdb(0x2bf)]),this[_0x9c0cdb(0x10c)](this[_0x9c0cdb(0x3c6)][_0x9c0cdb(0x430)](this[_0x9c0cdb(0x2bf)])[_0x9c0cdb(0x140)](_0xd9e257=>{const _0x436f85=_0x9c0cdb;this[_0x436f85(0xc1)][_0x436f85(0x456)](_0x436f85(0x124),_0x436f85(0xfb),_0xd9e257),_0xd9e257===Ki['OTHER_CLIENTS_EDITING']?(this[_0x436f85(0x362)][_0x436f85(0x3c2)]({'content':this['_localeService']['t'](_0x436f85(0x16e)),'type':_0x3f6750[_0x436f85(0x3b9)]}),this['_permissionService'][_0x436f85(0x2ce)](new _0x232ff6(this[_0x436f85(0x2bf)])['id'],!0x1),this[_0x436f85(0x2fa)][_0x436f85(0x1e8)](!0x1)):(this[_0x436f85(0x2fa)][_0x436f85(0x2ce)](new _0x232ff6(this[_0x436f85(0x2bf)])['id'],!0x0),this[_0x436f85(0x2fa)][_0x436f85(0x1e8)](!0x0));})));let _0x3e75b4=!0x1;return this[_0x9c0cdb(0x10c)](this[_0x9c0cdb(0x17e)]['sessionStatus$'][_0x9c0cdb(0x140)](_0x4fb7a2=>{const _0x5b6cdc=_0x9c0cdb;_0x4fb7a2===fe[_0x5b6cdc(0xad)]?this['_toggleOnline'](_0x3e75b4):_0x4fb7a2===fe[_0x5b6cdc(0x23c)]&&(_0x3e75b4=!0x0,this['_toggleOffline']());})),this[_0x9c0cdb(0x10c)](this['session'][_0x9c0cdb(0x142)][_0x9c0cdb(0x140)](_0x5068ad=>{const _0x17625b=_0x9c0cdb;try{switch(_0x5068ad['eventID']){case _0x3a14f4[_0x17625b(0x36e)]:{this[_0x17625b(0x363)](_0x3cc097(_0x5068ad[_0x17625b(0x2a0)]));break;}case _0x3a14f4[_0x17625b(0x3d7)]:{this[_0x17625b(0x1d0)](_0x5068ad['data']);break;}case _0x3a14f4[_0x17625b(0x180)]:{this['_onRemoteRejected']();break;}case _0x3a14f4[_0x17625b(0x32f)]:{this[_0x17625b(0x132)](_0x5068ad['data']);break;}case _0x3a14f4['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x17625b(0xdf)](_0x5068ad[_0x17625b(0x2a0)][_0x17625b(0x2ea)][_0x17625b(0x23a)](_0x118a14=>_0x3cc097(_0x118a14)));break;}case _0x3a14f4[_0x17625b(0x102)]:this[_0x17625b(0x193)]({'isPermissionRej':!0x0});}}catch(_0x4051dd){throw console[_0x17625b(0x279)]('Error\x20on\x20receiving\x20event',_0x4051dd),_0x4051dd;}})),this[_0x9c0cdb(0x3be)];}[_0x2025fc(0x4ad)](){this['_transitionLocked']=!0x1;}[_0x2025fc(0x29d)](){const _0x10b2b6=_0x2025fc;if(this['_transitionLocked'])throw new Error(_0x10b2b6(0x1a0));this[_0x10b2b6(0x470)]=!0x0;}['_onLocalMutation'](_0xd04655){const _0x42b150=_0x2025fc;this[_0x42b150(0x29d)](),this[_0x42b150(0x19d)](this['_state'][_0x42b150(0x2b7)](_0xd04655)),this[_0x42b150(0x4ad)]();}[_0x2025fc(0x363)](_0x4ffe98){const _0x1d4bdf=_0x2025fc;if(!(_0x4ffe98['revision']<=this[_0x1d4bdf(0x1b0)][_0x1d4bdf(0x21f)](this[_0x1d4bdf(0x2bf)]))){if(this[_0x1d4bdf(0x45e)]){this[_0x1d4bdf(0x20f)][_0x1d4bdf(0x22f)](_0x4ffe98);return;}this[_0x1d4bdf(0x2c0)](_0x4ffe98);}}['_exhaustRemoteChangesetQueue'](){const _0x4d93a6=_0x2025fc;this[_0x4d93a6(0x20f)][_0x4d93a6(0x2e1)](_0x56e299=>this[_0x4d93a6(0x2c0)](_0x56e299)),this[_0x4d93a6(0x20f)]=[];}['_applyRemoteChangeset'](_0x8f58a){const _0x377782=_0x2025fc,_0x58c823=this[_0x377782(0xff)][_0x377782(0x364)]['fetchThroughInterceptors'](this[_0x377782(0xff)][_0x377782(0x364)][_0x377782(0x25e)]()['COMPRESS_MUTATION_APPLY'])(_0x8f58a['mutations'],null)||_0x8f58a[_0x377782(0x335)],_0x2d859d={..._0x8f58a,'mutations':_0x58c823};this[_0x377782(0x29d)](),this['_updateState'](this[_0x377782(0x3be)][_0x377782(0xfa)](_0x2d859d)),this['_unlockTransition']();}[_0x2025fc(0x1d0)](_0x4ca285){const _0x383c32=_0x2025fc;this['_lockTransition'](),this[_0x383c32(0x19d)](this[_0x383c32(0x3be)]['onRemoteAck'](_0x4ca285)),this[_0x383c32(0x4ad)]();}['_onRemoteRejected'](_0x1d84d1){const _0x95c42=_0x2025fc;this['_lockTransition'](),this[_0x95c42(0x19d)](this[_0x95c42(0x3be)][_0x95c42(0xa5)](_0x1d84d1)),this[_0x95c42(0x4ad)]();}[_0x2025fc(0x132)](_0x84ced8){const _0x264fa1=_0x2025fc;this['_lockTransition'](),this['_updateState'](this[_0x264fa1(0x3be)][_0x264fa1(0x412)](_0x84ced8)),this[_0x264fa1(0x4ad)]();}[_0x2025fc(0xdf)](_0x508599){const _0x434e81=_0x2025fc;if(!(this[_0x434e81(0x3be)]instanceof ce))throw new TypeError(_0x434e81(0x3fe));const _0xd1ec0d=_0x508599[_0x434e81(0x23a)](_0x3e1681=>{const _0x2fbd62=_0x434e81,_0x4c73e7=this[_0x2fbd62(0xff)]['interceptor'][_0x2fbd62(0x3ca)](this['_compressMutationService']['interceptor'][_0x2fbd62(0x25e)]()[_0x2fbd62(0x3b2)])(_0x3e1681[_0x2fbd62(0x335)],null)||_0x3e1681[_0x2fbd62(0x335)];return{..._0x3e1681,'mutations':_0x4c73e7};});this[_0x434e81(0x29d)](),this['_updateState'](this[_0x434e81(0x3be)]['onMissedChangesetFetched'](_0xd1ec0d)),this[_0x434e81(0x4ad)]();}['_toggleOffline'](){const _0x281364=_0x2025fc;this['_lockTransition'](),this[_0x281364(0x19d)](this['_state'][_0x281364(0x242)]()),this[_0x281364(0x4ad)]();}['_toggleOnline'](_0x1855f6=!0x1){const _0x310491=_0x2025fc;this[_0x310491(0x29d)](),this[_0x310491(0x19d)](this[_0x310491(0x3be)]['toggleOnline']()),this[_0x310491(0x4ad)]();const _0x1a063a=this[_0x310491(0x3be)];_0x1855f6&&_0x1a063a instanceof Fe&&(this['_lockTransition'](),this[_0x310491(0x19d)](_0x1a063a[_0x310491(0x2fd)]()),this['_unlockTransition']());}async[_0x2025fc(0x351)](){return new Promise(_0x402e1d=>{const _0x6a231=_0x46d8;this[_0x6a231(0x17e)]['sessionStatus$'][_0x6a231(0x150)](_0x54d89e(0x1))[_0x6a231(0x140)](async _0x2d4530=>{const _0x59c7ec=_0x6a231;_0x402e1d(await this[_0x59c7ec(0x3af)](_0x2d4530===fe['ONLINE']));});});}['_createHandler'](){const _0x79d312=_0x2025fc,_0x37cfaa=this[_0x79d312(0x2bf)];return{'onStateChange':(_0x2d8eca,_0x372a3b)=>{const _0xd40402=_0x79d312;if(_0x2d8eca!==this[_0xd40402(0x3be)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2d8eca[_0xd40402(0x2e8)]+'\x0aAfter:\x20'+_0x372a3b[_0xd40402(0x2e8)]+_0xd40402(0x3d8)+this['_state'][_0xd40402(0x2e8)]);this[_0xd40402(0x19d)](_0x372a3b);},'onSendChangeset':_0x546711=>{const _0xbd2614=_0x79d312;_0x546711[_0xbd2614(0x427)]||(_0x546711[_0xbd2614(0x427)]=this[_0xbd2614(0x3bc)],_0x546711[_0xbd2614(0x153)]=++this[_0xbd2614(0x198)]);const _0x3da6e5={'eventID':_0x3a14f4[_0xbd2614(0x1ae)],'data':{'unitID':_0x546711['unitID'],'unitType':this['_type'],'changeset':_0x546711,'memberID':this[_0xbd2614(0x17e)][_0xbd2614(0x316)]()}};this['session'][_0xbd2614(0xc9)](_0x3da6e5,this['unitID']);},'onMissingChangesets':({from:_0x4da1f9,to:_0x3e8389})=>{const _0x15702f=_0x79d312;this[_0x15702f(0xc1)][_0x15702f(0x456)]('[CollaborationEntity]',_0x15702f(0x424)+_0x4da1f9+_0x15702f(0x272)+_0x3e8389);const _0x2ec3c9={'eventID':_0x3a14f4[_0x15702f(0x37c)],'data':{'unitID':_0x37cfaa,'unitType':this[_0x15702f(0xe6)],'from':_0x4da1f9,'to':_0x3e8389}};this[_0x15702f(0x17e)][_0x15702f(0xc9)](_0x2ec3c9,this[_0x15702f(0x2bf)]);}};}async['_createInitialStateImpl'](_0x1adb30){const _0xff8a0d=_0x2025fc;var _0x8bf60c,_0x23efc2;const _0x4c0ed8=await this['_localCacheService']['loadOfflineData'](this[_0xff8a0d(0x2bf)]),_0x182328=(_0x8bf60c=_0x4c0ed8==null?void 0x0:_0x4c0ed8[_0xff8a0d(0x335)])!=null?_0x8bf60c:[],_0xc618ac=(_0x23efc2=_0x4c0ed8==null?void 0x0:_0x4c0ed8[_0xff8a0d(0x3b0)])!=null?_0x23efc2:null,_0x5cc9a6=!!(_0xc618ac!=null&&_0xc618ac[_0xff8a0d(0x427)])&&!!(_0xc618ac!=null&&_0xc618ac['reqId']);this[_0xff8a0d(0x3bc)]=_0x5cc9a6?_0xc618ac[_0xff8a0d(0x427)]:ho(),this[_0xff8a0d(0x198)]=_0x5cc9a6?_0xc618ac[_0xff8a0d(0x153)]:0x0;const _0x3c589e=this[_0xff8a0d(0x2bf)];try{this[_0xff8a0d(0x3c9)](_0xc618ac,_0x182328);}catch(_0x5d6d42){this[_0xff8a0d(0xc1)][_0xff8a0d(0x279)](_0x5d6d42);}const _0x5a76a6=this['_createHandler']();if(_0x1adb30){const _0x52e6d6=Ji(this[_0xff8a0d(0x147)],_0x3c589e,this[_0xff8a0d(0xe6)],_0xc618ac,_0x182328,_0x5a76a6);return _0x52e6d6 instanceof pe?_0x52e6d6[_0xff8a0d(0x34f)]():(_0x52e6d6 instanceof me||_0x52e6d6 instanceof Te)&&_0x52e6d6[_0xff8a0d(0xd8)](),_0x52e6d6;}return this['_injector']['createInstance'](Oe,_0x3c589e,this[_0xff8a0d(0xe6)],_0xc618ac,_0x182328,_0x5a76a6);}[_0x2025fc(0x3c9)](_0x55c389,_0x437396){const _0x1d7de7=_0x2025fc;var _0x42a678,_0x294135;const _0xcbfea9=this[_0x1d7de7(0xff)][_0x1d7de7(0x364)][_0x1d7de7(0x3ca)](this[_0x1d7de7(0xff)][_0x1d7de7(0x364)][_0x1d7de7(0x25e)]()[_0x1d7de7(0x3b2)]);(_0x42a678=_0xcbfea9((_0x55c389==null?void 0x0:_0x55c389[_0x1d7de7(0x335)])||[],null))==null||_0x42a678[_0x1d7de7(0x2e1)](_0x499eae=>this[_0x1d7de7(0x481)][_0x1d7de7(0x344)](_0x499eae['id'],_0x499eae['params'])),(_0x294135=_0xcbfea9(_0x437396||[],null))==null||_0x294135[_0x1d7de7(0x2e1)](_0x5d7b80=>this[_0x1d7de7(0x481)][_0x1d7de7(0x344)](_0x5d7b80['id'],_0x5d7b80[_0x1d7de7(0x3a0)]));}};Nt=Ps([H(0x3,_0x5847bf(_0x5d7671)),H(0x4,_0x5847bf(z)),H(0x5,_0x5847bf(_0x550e78)),H(0x6,_0x5847bf(_0x4b4756)),H(0x7,_0x5847bf(_0x389697)),H(0x8,_0x49d195),H(0x9,_0x28287a),H(0xa,_0x3d017a),H(0xb,_0x1700fb),H(0xc,_0x133fb4(jt))],Nt);let ls=class extends Nt{constructor(_0x21c6ca,_0xe59817,_0x489d6b,_0x9dc01,_0xc5ad17,_0xcf57e9,_0x4c68a0,_0x34d361,_0x514c0f,_0x34ef47,_0x4697ee,_0x57e29b,_0x4c4ce5,_0x12a525,_0xb24272,_0x39a125,_0x2c9d39,_0x444174){const _0x2d4b3a=_0x2025fc;super(_0x21c6ca,_0x489d6b,_0xe59817,_0x9dc01,_0xc5ad17,_0xcf57e9,_0x4c68a0,_0x34d361,_0x12a525,_0xb24272,_0x39a125,_0x2c9d39,_0x444174),this['unitID']=_0x21c6ca,this[_0x2d4b3a(0x442)]=_0xe59817,this['_docStateChangeManagerService']=_0x514c0f,this[_0x2d4b3a(0x1f6)]=_0x34ef47,this[_0x2d4b3a(0x136)]=_0x4697ee,this[_0x2d4b3a(0x348)]=_0x57e29b,this[_0x2d4b3a(0x1ee)]=_0x4c4ce5;}['_createHandler'](){const _0x328915=_0x2025fc,_0x25f8a5=super[_0x328915(0x230)]();return _0x25f8a5[_0x328915(0x38c)]=_0x48c9c6=>this['_docTransformIMECacheService'][_0x328915(0xcb)](_0x48c9c6),_0x25f8a5[_0x328915(0x401)]=_0x3da323=>this[_0x328915(0x136)][_0x328915(0x15d)](_0x3da323),_0x25f8a5[_0x328915(0x106)]=_0x3ea21c=>this['_docTransformSelectionsService']['transformSelections'](_0x3ea21c),_0x25f8a5[_0x328915(0x1f5)]=_0x4b1d1a=>this['_docSyncEditingCollabCursorService'][_0x328915(0xc2)](_0x4b1d1a),_0x25f8a5['onTransformRemoteChangesetByIMECache']=_0x5f1d9a=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x5f1d9a),_0x25f8a5[_0x328915(0x2eb)]=_0x467342=>this[_0x328915(0x136)]['transformRemoteChangeset'](_0x467342),_0x25f8a5;}async['_init'](){const _0x4476d4=_0x2025fc,_0x5c4c51=await super[_0x4476d4(0x100)]();return this[_0x4476d4(0x10c)](this[_0x4476d4(0x10a)][_0x4476d4(0x359)][_0x4476d4(0x150)](_0x7b6507(this[_0x4476d4(0x345)]))['subscribe'](_0x329516=>{const _0x42bbbf=_0x4476d4;if(_0x329516==null)return;const {unitId:_0x1f701c,redoState:_0x223f86,commandId:_0x469d0a}=_0x329516;if(_0x1f701c!==this[_0x42bbbf(0x2bf)])return;const _0x965c94={'id':_0x469d0a,'type':_0x4f220f[_0x42bbbf(0x2c5)],'params':{'unitId':_0x1f701c,'actions':_0x223f86[_0x42bbbf(0x49a)],'textRanges':null}};this[_0x42bbbf(0x21c)](_0x965c94);})),this['disposeWithMe'](this[_0x4476d4(0x481)][_0x4476d4(0x18a)]((_0x35c55f,_0x53db8d)=>{const _0x3abd8a=_0x4476d4;if(_0x35c55f['type']!==_0x4f220f[_0x3abd8a(0x2c5)]||_0x53db8d!=null&&_0x53db8d[_0x3abd8a(0xae)]||_0x53db8d!=null&&_0x53db8d[_0x3abd8a(0x2df)]||_0x35c55f['id']===_0x3ef379['id'])return;const _0x3dc6f2=_0x35c55f[_0x3abd8a(0x3a0)];if((_0x3dc6f2==null?void 0x0:_0x3dc6f2[_0x3abd8a(0x273)])!==this[_0x3abd8a(0x2bf)])return;const _0x2c8a5e=_0x35c55f,_0x378646=this[_0x3abd8a(0xff)]['interceptor'][_0x3abd8a(0x3ca)](this[_0x3abd8a(0xff)][_0x3abd8a(0x364)][_0x3abd8a(0x25e)]()[_0x3abd8a(0x1a7)])([_0x2c8a5e],null)||[_0x2c8a5e];this[_0x3abd8a(0x21c)](_0x378646[0x0]);})),_0x5c4c51;}};ls=Ps([H(0x3,_0x5847bf(_0x5d7671)),H(0x4,_0x5847bf(z)),H(0x5,_0x5847bf(_0x550e78)),H(0x6,_0x5847bf(_0x4b4756)),H(0x7,_0x5847bf(_0x389697)),H(0x8,_0x5847bf(_0x4ee933)),H(0x9,_0x5847bf(yt)),H(0xa,_0x5847bf(Dt)),H(0xb,_0x5847bf(Pt)),H(0xc,_0x5847bf(Ds)),H(0xd,_0x49d195),H(0xe,_0x28287a),H(0xf,_0x3d017a),H(0x10,_0x1700fb),H(0x11,_0x133fb4(jt))],ls);let _s=class extends Nt{constructor(_0x5725e6,_0xec50dc,_0x387cbb,_0x5bbece,_0x396fb1,_0x423d28,_0x3f6738,_0x407e58,_0xd095b9,_0x4ca99e,_0x1b13f5,_0x37474e,_0x2e3f3d,_0x12f895){const _0x28ddc1=_0x2025fc;super(_0x5725e6,_0x387cbb,_0xec50dc,_0x5bbece,_0x396fb1,_0x423d28,_0x3f6738,_0x407e58,_0x4ca99e,_0x1b13f5,_0x37474e,_0x2e3f3d,_0x12f895),this[_0x28ddc1(0x2bf)]=_0x5725e6,this['type']=_0xec50dc,this[_0x28ddc1(0x31b)]=_0xd095b9;}[_0x2025fc(0x230)](){const _0x363bac=_0x2025fc,_0x4ae7d4=super[_0x363bac(0x230)]();return _0x4ae7d4[_0x363bac(0x106)]=_0xc3980a=>this[_0x363bac(0x31b)][_0x363bac(0x231)](_0xc3980a),_0x4ae7d4;}async[_0x2025fc(0x100)](){const _0x5f02c4=_0x2025fc,_0x3058d7=await super[_0x5f02c4(0x100)]();return this[_0x5f02c4(0x10c)](this[_0x5f02c4(0x481)][_0x5f02c4(0x18a)]((_0x471a1d,_0x324ad9)=>{const _0x26743f=_0x5f02c4;if(_0x471a1d['type']!==_0x4f220f[_0x26743f(0x2c5)]||_0x324ad9!=null&&_0x324ad9[_0x26743f(0xae)]||_0x324ad9!=null&&_0x324ad9[_0x26743f(0x2df)])return;const _0x34c8bd=_0x471a1d[_0x26743f(0x3a0)];if((_0x34c8bd==null?void 0x0:_0x34c8bd['unitId'])!==this['unitID'])return;const _0x139340=_0x471a1d,_0x496bb5=this['_compressMutationService'][_0x26743f(0x364)][_0x26743f(0x3ca)](this[_0x26743f(0xff)][_0x26743f(0x364)][_0x26743f(0x25e)]()[_0x26743f(0x1a7)])([_0x139340],null)||[_0x139340];this['_onLocalMutation'](_0x496bb5[0x0]);})),_0x3058d7;}};_s=Ps([H(0x3,_0x5847bf(_0x5d7671)),H(0x4,_0x5847bf(z)),H(0x5,_0x5847bf(_0x550e78)),H(0x6,_0x5847bf(_0x4b4756)),H(0x7,_0x5847bf(_0x389697)),H(0x8,_0x5847bf(wt)),H(0x9,_0x49d195),H(0xa,_0x28287a),H(0xb,_0x3d017a),H(0xc,_0x1700fb),H(0xd,_0x133fb4(jt))],_s);var Lo=Object['defineProperty'],$o=Object[_0x2025fc(0x18c)],Ho=(_0x513d38,_0xc6d3bd,_0x208974,_0x2a774f)=>{const _0x31c576=_0x2025fc;for(var _0x52e8e9=_0x2a774f>0x1?void 0x0:_0x2a774f?$o(_0xc6d3bd,_0x208974):_0xc6d3bd,_0x3b52a3=_0x513d38[_0x31c576(0x161)]-0x1,_0x395f04;_0x3b52a3>=0x0;_0x3b52a3--)(_0x395f04=_0x513d38[_0x3b52a3])&&(_0x52e8e9=(_0x2a774f?_0x395f04(_0xc6d3bd,_0x208974,_0x52e8e9):_0x395f04(_0x52e8e9))||_0x52e8e9);return _0x2a774f&&_0x52e8e9&&Lo(_0xc6d3bd,_0x208974,_0x52e8e9),_0x52e8e9;},zt=(_0x164bfd,_0x411ea0)=>(_0x170b6f,_0x1bf0e7)=>_0x411ea0(_0x170b6f,_0x1bf0e7,_0x164bfd);let rt=class extends _0x5ec0cb{constructor(_0x2f2a0b,_0x617662,_0x5a9388){const _0x53985e=_0x2025fc;super(),g(this,'_entities',new Map()),g(this,_0x53985e(0x44e),new _0x1c0b9c()),(this[_0x53985e(0x147)]=_0x2f2a0b,this['_collabSessionService']=_0x617662,this[_0x53985e(0x3cf)]=_0x5a9388,this[_0x53985e(0x100)]());}['dispose'](){const _0x2d3dca=_0x2025fc;super['dispose'](),this[_0x2d3dca(0x3da)][_0x2d3dca(0x2e1)](_0xd8b1f1=>_0xd8b1f1['dispose']()),this[_0x2d3dca(0x3da)][_0x2d3dca(0x116)]();}['getCollabEntity'](_0x954c6f){const _0x323de5=_0x2025fc;var _0x183eed;return(_0x183eed=this[_0x323de5(0x3da)][_0x323de5(0x33e)](_0x954c6f))!=null?_0x183eed:null;}['getCollabEntity$'](_0x50048a){const _0x3c8b5b=_0x2025fc,_0x3c46c2=this[_0x3c8b5b(0x497)](_0x50048a);return _0x3c46c2?_0x43d0da(_0x3c46c2):this[_0x3c8b5b(0x44e)]['pipe'](_0xa0d892(_0x2e345f=>_0x2e345f[_0x3c8b5b(0x2bf)]===_0x50048a));}['_init'](){const _0x3ca4f9=_0x2025fc;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xb166dc['UNIVER_SHEET'])[_0x3ca4f9(0x150)](_0x7b6507(this[_0x3ca4f9(0x345)]),_0xca605e(0x10))[_0x3ca4f9(0x140)](async _0xd82d05=>{const _0x3c881b=_0x3ca4f9,_0x306e06=_0xd82d05[_0x3c881b(0x10b)](),_0x4b79e8=await this[_0x3c881b(0x429)](_0x306e06,ae[_0x3c881b(0x4a6)]);this['_entities'][_0x3c881b(0x39c)](_0x306e06,_0x4b79e8);}),this[_0x3ca4f9(0x3cf)]['getTypeOfUnitAdded$'](_0xb166dc['UNIVER_DOC'])['pipe'](_0x7b6507(this[_0x3ca4f9(0x345)]),_0xca605e(0x10))['pipe'](_0xa0d892(_0x54a4d2=>!_0x54a4d2['getUnitId']()['startsWith']('__')))['subscribe'](async _0x22d610=>{const _0x4b9139=_0x3ca4f9,_0x274528=_0x22d610[_0x4b9139(0x10b)](),_0x208812=await this[_0x4b9139(0x429)](_0x274528,ae[_0x4b9139(0x3ad)]);this[_0x4b9139(0x3da)][_0x4b9139(0x39c)](_0x274528,_0x208812);}),_0x38a986(this[_0x3ca4f9(0x3cf)][_0x3ca4f9(0x2f2)](_0xb166dc[_0x3ca4f9(0x4a6)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xb166dc['UNIVER_DOC']))[_0x3ca4f9(0x150)](_0x7b6507(this[_0x3ca4f9(0x345)]))[_0x3ca4f9(0x140)](_0x99ba42=>{const _0x2b6e71=_0x3ca4f9,_0x3b8bed=_0x99ba42['getUnitId'](),_0x471671=this['_entities'][_0x2b6e71(0x33e)](_0x3b8bed);_0x471671&&(_0x471671[_0x2b6e71(0x1e5)](),this['_entities'][_0x2b6e71(0x165)](_0x3b8bed));});}async[_0x2025fc(0x429)](_0x3b6676,_0x2bdf70){const _0x6b58c9=_0x2025fc,_0x580ed5=await this['_collabSessionService']['requireSession'](_0x3b6676),_0x259a61=this[_0x6b58c9(0x147)][_0x6b58c9(0x12a)](this[_0x6b58c9(0x40c)](_0x2bdf70),_0x3b6676,_0x2bdf70,_0x580ed5);return await _0x259a61[_0x6b58c9(0x289)](),this[_0x6b58c9(0x44e)][_0x6b58c9(0x382)](_0x259a61),_0x259a61;}[_0x2025fc(0x40c)](_0x38ac44){const _0x289032=_0x2025fc;switch(_0x38ac44){case ae[_0x289032(0x3ad)]:return ls;case ae[_0x289032(0x4a6)]:return _s;default:throw new Error(_0x289032(0x493)+_0x38ac44);}}};rt=Ho([zt(0x0,_0x5847bf(_0x5d7671)),zt(0x1,_0x5847bf(xe)),zt(0x2,_0x425cee)],rt);var jo=Object[_0x2025fc(0x385)],Bo=Object[_0x2025fc(0x18c)],ko=(_0x2815a5,_0xe142af,_0x25898e,_0x433015)=>{const _0x138e07=_0x2025fc;for(var _0x21cf8a=_0x433015>0x1?void 0x0:_0x433015?Bo(_0xe142af,_0x25898e):_0xe142af,_0x495c82=_0x2815a5[_0x138e07(0x161)]-0x1,_0x2a91e8;_0x495c82>=0x0;_0x495c82--)(_0x2a91e8=_0x2815a5[_0x495c82])&&(_0x21cf8a=(_0x433015?_0x2a91e8(_0xe142af,_0x25898e,_0x21cf8a):_0x2a91e8(_0x21cf8a))||_0x21cf8a);return _0x433015&&_0x21cf8a&&jo(_0xe142af,_0x25898e,_0x21cf8a),_0x21cf8a;},ti=(_0x4c6dc1,_0x312cc5)=>(_0x633c43,_0x318309)=>_0x312cc5(_0x633c43,_0x318309,_0x4c6dc1);let Ut=class extends _0x5ec0cb{constructor(_0x372061,_0x245271){const _0x16467c=_0x2025fc;super(),this[_0x16467c(0x2b4)]=_0x372061,this[_0x16467c(0x156)]=_0x245271,this[_0x16467c(0x100)]();}[_0x2025fc(0x100)](){const _0x2dafb3=_0x2025fc,_0x31e8c7=this;this[_0x2dafb3(0x10c)](this[_0x2dafb3(0x2b4)][_0x2dafb3(0x15b)]({'onBeforePasteImage':async _0x36ce1e=>{const _0x1931ed=_0x2dafb3,_0x83e37d=await _0x31e8c7[_0x1931ed(0x156)]['saveImage'](_0x36ce1e);return _0x83e37d?{'source':_0x83e37d['source'],'imageSourceType':_0x83e37d[_0x1931ed(0xc4)]}:null;}}));}};Ut=ko([ti(0x0,_0x3d5ec4),ti(0x1,_0x1fd980)],Ut);const si=[_0x2025fc(0x3b5),_0x2025fc(0x175),'verdancy600',_0x2025fc(0x474),_0x2025fc(0x308),_0x2025fc(0x2cd)];class Ns extends _0x24229e{constructor(){const _0x43ed2f=_0x2025fc;super(...arguments),g(this,_0x43ed2f(0xf8),new Map()),g(this,'_colorIndex',0x0);}[_0x2025fc(0x271)](_0x5cb963){const _0x474cab=_0x2025fc;if(this['_assignedColors']['has'](_0x5cb963))return this['_assignedColors'][_0x474cab(0x33e)](_0x5cb963);const _0x122735=si[this[_0x474cab(0xcd)]];return this[_0x474cab(0xcd)]=(this[_0x474cab(0xcd)]+0x1)%si[_0x474cab(0x161)],this[_0x474cab(0xf8)][_0x474cab(0x39c)](_0x5cb963,_0x122735),_0x122735;}}var Wo=Object['defineProperty'],Fo=Object['getOwnPropertyDescriptor'],Vo=(_0xc335ad,_0x377ddc,_0x354b33,_0x279f5f)=>{const _0x4a1139=_0x2025fc;for(var _0x1d603c=_0x279f5f>0x1?void 0x0:_0x279f5f?Fo(_0x377ddc,_0x354b33):_0x377ddc,_0x58c5a6=_0xc335ad[_0x4a1139(0x161)]-0x1,_0xb8be30;_0x58c5a6>=0x0;_0x58c5a6--)(_0xb8be30=_0xc335ad[_0x58c5a6])&&(_0x1d603c=(_0x279f5f?_0xb8be30(_0x377ddc,_0x354b33,_0x1d603c):_0xb8be30(_0x1d603c))||_0x1d603c);return _0x279f5f&&_0x1d603c&&Wo(_0x377ddc,_0x354b33,_0x1d603c),_0x1d603c;},we=(_0x529c42,_0x2db288)=>(_0x36f72f,_0x1e2ca6)=>_0x2db288(_0x36f72f,_0x1e2ca6,_0x529c42);const Go=0x12c,Yo=0x64;let us=class extends _0x5ec0cb{constructor(_0x2595fb,_0x20e4cc,_0x81a61d,_0x1be167,_0x1aaf62,_0x570f15,_0x3da5a8,_0x8a1e43,_0x598b6c){const _0xcbfa7f=_0x2025fc;super(),g(this,'_online',!0x1),g(this,_0xcbfa7f(0x100),!0x1),g(this,'_cursorInfo$',new _0x1074c2(new Map())),g(this,_0xcbfa7f(0x25b),this[_0xcbfa7f(0x31a)]['asObservable']()),g(this,_0xcbfa7f(0x3f8),new _0x1074c2([])),g(this,'roomMembers$',this[_0xcbfa7f(0x3f8)]['pipe'](_0x493feb(Go))),g(this,_0xcbfa7f(0x199),_0x26c09b(_0x50e879=>{const _0x1c2dad=_0xcbfa7f,_0xe6aa2e={'eventID':_0x3a14f4[_0x1c2dad(0x30f)],'data':{'unitID':this[_0x1c2dad(0x2bf)],'memberID':this[_0x1c2dad(0x318)][_0x1c2dad(0x316)](),'selection':qi(_0x50e879)}};this[_0x1c2dad(0x318)][_0x1c2dad(0xc9)](_0xe6aa2e,this['unitID']);},Yo)),(this['unitID']=_0x2595fb,this[_0xcbfa7f(0x318)]=_0x20e4cc,this['_injector']=_0x81a61d,this['_colorAssignService']=_0x1be167,this[_0xcbfa7f(0x31c)]=_0x1aaf62,this[_0xcbfa7f(0x187)]=_0x570f15,this[_0xcbfa7f(0x128)]=_0x3da5a8,this[_0xcbfa7f(0x3cf)]=_0x8a1e43,this['_commandService']=_0x598b6c);}get['cursorInfo'](){const _0x38d0f4=_0x2025fc;return this['_cursorInfo$'][_0x38d0f4(0x42a)]();}get[_0x2025fc(0x340)](){const _0x4a4656=_0x2025fc;return this[_0x4a4656(0x3f8)][_0x4a4656(0x42a)]();}[_0x2025fc(0x1e5)](){const _0x107904=_0x2025fc;super[_0x107904(0x1e5)](),this[_0x107904(0x31a)][_0x107904(0x382)](new Map()),this['_cursorInfo$'][_0x107904(0x3c5)](),this[_0x107904(0x3f8)]['next']([]),this[_0x107904(0x3f8)][_0x107904(0x3c5)]();}[_0x2025fc(0x289)](){const _0x131fc7=_0x2025fc;this[_0x131fc7(0x100)]||(this['_init']=!0x0,this[_0x131fc7(0x318)][_0x131fc7(0x1ff)][_0x131fc7(0x150)](_0x7b6507(this[_0x131fc7(0x345)]))[_0x131fc7(0x140)](_0x98c67=>{const _0x4a000a=_0x131fc7;_0x98c67===fe[_0x4a000a(0xad)]?this[_0x4a000a(0x1dd)]():this[_0x4a000a(0x37a)]();}),this[_0x131fc7(0x318)][_0x131fc7(0x142)][_0x131fc7(0x150)](_0x7b6507(this[_0x131fc7(0x345)]))[_0x131fc7(0x140)](_0x46c47d=>{const _0x5b7949=_0x131fc7,_0x425808=_0x46c47d[_0x5b7949(0x28b)];_0x425808===_0x3a14f4[_0x5b7949(0x30f)]&&this[_0x5b7949(0x37b)](_0x46c47d),_0x425808===_0x3a14f4[_0x5b7949(0x3dc)]&&this[_0x5b7949(0x27f)](_0x46c47d);}),this[_0x131fc7(0x10c)](this[_0x131fc7(0x481)][_0x131fc7(0x18a)](_0x436598=>{const _0xea9d46=_0x131fc7,_0x245706=_0x436598[_0xea9d46(0x3a0)];_0x245706!=null&&this[_0xea9d46(0x34b)]&&_0x436598['id']===_0x10a027['id']&&_0x245706[_0xea9d46(0x273)]===this[_0xea9d46(0x2bf)]&&_0x245706['isEditing']===!0x1&&_0x245706['ranges'][_0xea9d46(0x161)]>0x0&&this[_0xea9d46(0x199)](_0x245706[_0xea9d46(0xe5)]);})),this['_syncEditingCollabCursorService'][_0x131fc7(0x451)][_0x131fc7(0x150)](_0x7b6507(this['dispose$']))[_0x131fc7(0x140)](_0x1a2368=>{const _0x4c6c01=_0x131fc7;if((_0x1a2368==null?void 0x0:_0x1a2368[_0x4c6c01(0x2bf)])!==this[_0x4c6c01(0x2bf)])return;const _0x136e3e={'eventID':_0x3a14f4[_0x4c6c01(0x30f)],'data':_0x1a2368};this[_0x4c6c01(0x37b)](_0x136e3e);}),this[_0x131fc7(0x10c)](this[_0x131fc7(0x481)][_0x131fc7(0x18a)](_0x4c4ff9=>{const _0x4a6607=_0x131fc7;if(_0x4c4ff9['params']==null)return;const _0x7d3f78=_0x4c4ff9['params'];if(_0x4c4ff9['id']!==_0x3ef379['id']||_0x7d3f78[_0x4a6607(0x273)]!==this['unitID'])return;const _0x5b88ac={'id':_0x4a6607(0x495),'params':_0x7d3f78},_0x3911ee=this[_0x4a6607(0x13c)];for(const [_0x16181c,_0x3f466c]of _0x3911ee){const _0xad6d48={'id':_0x4a6607(0x495),'params':{'unitId':this[_0x4a6607(0x2bf)],'actions':null,'textRanges':_0x3f466c['ranges']}},_0x3ad238=this[_0x4a6607(0x128)][_0x4a6607(0x4b6)](_0x5b88ac,_0xad6d48,!0x1);if(_0x3e27e9(_0x3ad238))throw _0x3ad238[_0x4a6607(0x279)];_0x3911ee['set'](_0x16181c,{..._0x3f466c,'ranges':_0x3ad238[_0x4a6607(0x270)]['params']['textRanges']});}queueMicrotask(()=>{const _0x4fd245=_0x4a6607;this[_0x4fd245(0x31a)][_0x4fd245(0x382)](_0x3911ee);});})));}['_onCursorUpdate'](_0x54a95d){const _0xa25c92=_0x2025fc;var _0x9da666,_0x4f1fe6;const {memberID:_0x36aa0c,selection:_0x2aa8ad}=_0x54a95d[_0xa25c92(0x2a0)],_0xabf8bb=Ro(_0x2aa8ad),_0x389f53=(_0x4f1fe6=(_0x9da666=this[_0xa25c92(0x31c)][_0xa25c92(0x419)](this[_0xa25c92(0x2bf)],_0x36aa0c))==null?void 0x0:_0x9da666[_0xa25c92(0x1c7)])!=null?_0x4f1fe6:'Unknown\x20user',_0x5791a6={'color':this[_0xa25c92(0xd4)][_0xa25c92(0x271)](_0x36aa0c),'name':_0x389f53,'ranges':_0xabf8bb},_0xd6133f=this['cursorInfo'];_0xd6133f[_0xa25c92(0x39c)](_0x36aa0c,_0x5791a6),this['_cursorInfo$']['next'](_0xd6133f);}[_0x2025fc(0x27f)](_0x25cb42){const _0x19ec88=_0x2025fc,{memberID:_0x5835af}=_0x25cb42[_0x19ec88(0x2a0)],_0x8f196e=this['cursorInfo'];_0x8f196e[_0x19ec88(0x165)](_0x5835af),this['_cursorInfo$'][_0x19ec88(0x382)](_0x8f196e);}['_toggleOnline'](){const _0x2af701=_0x2025fc;var _0x38c47a;if(this['_online']=!0x0,((_0x38c47a=this[_0x2af701(0x3cf)]['getFocusedUnit']())==null?void 0x0:_0x38c47a['getUnitId']())!==this[_0x2af701(0x2bf)])return;const _0x3a8405=this[_0x2af701(0x147)][_0x2af701(0x33e)](_0x49b6ea)[_0x2af701(0x391)]();Array[_0x2af701(0x287)](_0x3a8405)&&_0x3a8405[_0x2af701(0x161)]>0x0&&this['_updateLocalCursor'](_0x3a8405);}[_0x2025fc(0x37a)](){this['_online']=!0x1;}};us=Vo([we(0x2,_0x5847bf(_0x5d7671)),we(0x3,_0x5847bf(Ns)),we(0x4,_0x5847bf(Me)),we(0x5,_0x5847bf(Ds)),we(0x6,_0x2fbfa5),we(0x7,_0x425cee),we(0x8,_0x28287a)],us);var Ko=Object[_0x2025fc(0x385)],qo=Object[_0x2025fc(0x18c)],zo=(_0x296615,_0x15e862,_0xe14735,_0x379419)=>{const _0x1fd064=_0x2025fc;for(var _0x322ec3=_0x379419>0x1?void 0x0:_0x379419?qo(_0x15e862,_0xe14735):_0x15e862,_0x413e02=_0x296615[_0x1fd064(0x161)]-0x1,_0x2088b6;_0x413e02>=0x0;_0x413e02--)(_0x2088b6=_0x296615[_0x413e02])&&(_0x322ec3=(_0x379419?_0x2088b6(_0x15e862,_0xe14735,_0x322ec3):_0x2088b6(_0x322ec3))||_0x322ec3);return _0x379419&&_0x322ec3&&Ko(_0x15e862,_0xe14735,_0x322ec3),_0x322ec3;},Be=(_0x4a26fb,_0x1135ae)=>(_0x5012cc,_0x4c98c5)=>_0x1135ae(_0x5012cc,_0x4c98c5,_0x4a26fb);const Xo=0x12c,Jo=0x64,Zo=()=>{let _0x4a904f=[],_0x2382f1=!0x1;return _0x16c211=>{const _0x5526c0=_0x46d8;_0x4a904f[_0x5526c0(0x22f)](_0x16c211),_0x2382f1||(_0x2382f1=!0x0,setTimeout(()=>{_0x4a904f['forEach'](_0x2a2d1f=>_0x2a2d1f()),_0x4a904f=[],_0x2382f1=!0x1;}));};};let ds=class extends _0x5ec0cb{constructor(_0x58684b,_0x4a35da,_0x5b58f8,_0x6edf59,_0x5ef742,_0x2790c6,_0x22c41b,_0x177bca){const _0x38c610=_0x2025fc;super(),g(this,'_online',!0x1),g(this,_0x38c610(0x100),!0x1),g(this,'_cursorInfo$',new _0x1074c2(new Map())),g(this,_0x38c610(0x25b),this[_0x38c610(0x31a)][_0x38c610(0xf7)]()),g(this,_0x38c610(0x3f8),new _0x1074c2([])),g(this,_0x38c610(0x20a),this['_roomMembers$'][_0x38c610(0x150)](_0x493feb(Xo))),g(this,'_updateLocalCursor',_0x26c09b((_0x47ae9a,_0x2a20e2)=>{const _0x53eab5=_0x38c610,_0x4179be={'eventID':_0x3a14f4[_0x53eab5(0x30f)],'data':{'unitID':this['unitID'],'memberID':this[_0x53eab5(0x318)][_0x53eab5(0x316)](),'selection':_0xf165cf(_0x47ae9a,_0x2a20e2[_0x53eab5(0x200)])}};this[_0x53eab5(0x318)][_0x53eab5(0xc9)](_0x4179be,this[_0x53eab5(0x2bf)]);},Jo)),(this['unitID']=_0x58684b,this[_0x38c610(0x318)]=_0x4a35da,this[_0x38c610(0x147)]=_0x5b58f8,this[_0x38c610(0xd4)]=_0x6edf59,this[_0x38c610(0x31c)]=_0x5ef742,this[_0x38c610(0x3cf)]=_0x2790c6,this[_0x38c610(0x481)]=_0x22c41b,this[_0x38c610(0x2b9)]=_0x177bca);}get[_0x2025fc(0x13c)](){const _0x46b4f8=_0x2025fc;return this[_0x46b4f8(0x31a)][_0x46b4f8(0x42a)]();}get[_0x2025fc(0x340)](){const _0x114be7=_0x2025fc;return this[_0x114be7(0x3f8)][_0x114be7(0x42a)]();}[_0x2025fc(0x1e5)](){const _0x2128e4=_0x2025fc;super[_0x2128e4(0x1e5)](),this['_cursorInfo$'][_0x2128e4(0x382)](new Map()),this['_cursorInfo$'][_0x2128e4(0x3c5)](),this['_roomMembers$']['next']([]),this[_0x2128e4(0x3f8)][_0x2128e4(0x3c5)]();}['init'](){const _0x60ba36=_0x2025fc;this[_0x60ba36(0x100)]||(this[_0x60ba36(0x100)]=!0x0,this[_0x60ba36(0x318)][_0x60ba36(0x1ff)][_0x60ba36(0x150)](_0x7b6507(this['dispose$']))[_0x60ba36(0x140)](_0x2611a0=>{const _0xa805a=_0x60ba36;_0x2611a0===fe[_0xa805a(0xad)]?this[_0xa805a(0x1dd)]():this['_toggleOffline']();}),this[_0x60ba36(0x318)][_0x60ba36(0x142)][_0x60ba36(0x150)](_0x7b6507(this[_0x60ba36(0x345)]))['subscribe'](_0x4615e5=>{const _0x223c60=_0x60ba36,_0x589115=_0x4615e5[_0x223c60(0x28b)];_0x589115===_0x3a14f4[_0x223c60(0x30f)]&&this[_0x223c60(0x37b)](_0x4615e5),_0x589115===_0x3a14f4[_0x223c60(0x3dc)]&&this[_0x223c60(0x27f)](_0x4615e5);}),this[_0x60ba36(0x342)](),this['disposeWithMe'](this[_0x60ba36(0x481)][_0x60ba36(0x18a)](_0x34cab8=>{const _0x34ae91=_0x60ba36;if(this[_0x34ae91(0x34b)]&&_0x34cab8['id']===_0x3295dc['id']&&_0x34cab8['params'][_0x34ae91(0x273)]===this[_0x34ae91(0x2bf)]){const _0x62d5c6=_0x34cab8[_0x34ae91(0x3a0)];this['_updateLocalCursor'](_0x62d5c6[_0x34ae91(0x457)],_0x62d5c6[_0x34ae91(0x12e)][0x0]);}})));}['_onCursorUpdate'](_0x196831){const _0x2afaeb=_0x2025fc;var _0x246301,_0x1c970e;const {memberID:_0x287053,selection:_0x63b0f7}=_0x196831[_0x2afaeb(0x2a0)],{sheetName:_0x3a45da,range:_0x303439}=_0x129840(_0x63b0f7),_0x1cdbfc={'name':(_0x1c970e=(_0x246301=this[_0x2afaeb(0x31c)]['getMember'](this[_0x2afaeb(0x2bf)],_0x287053))==null?void 0x0:_0x246301[_0x2afaeb(0x1c7)])!=null?_0x1c970e:_0x2afaeb(0x293),'range':this[_0x2afaeb(0x1c2)](_0x3a45da,_0x303439),'sheetID':_0x3a45da,'color':this[_0x2afaeb(0xd4)][_0x2afaeb(0x271)](_0x287053),'selection':_0x63b0f7},_0x1d68c9=this['cursorInfo'];_0x1d68c9[_0x2afaeb(0x39c)](_0x287053,_0x1cdbfc),this[_0x2afaeb(0x31a)]['next'](_0x1d68c9);}['_onCursorDelete'](_0x37d34e){const _0x30e99a=_0x2025fc,{memberID:_0xf57cb7}=_0x37d34e[_0x30e99a(0x2a0)],_0x3ba346=this['cursorInfo'];_0x3ba346[_0x30e99a(0x165)](_0xf57cb7),this[_0x30e99a(0x31a)]['next'](_0x3ba346);}[_0x2025fc(0x1c2)](_0x141cd,_0x43109f){const _0x1ac796=_0x2025fc;var _0x33f2fa,_0x1a764f;const _0x54f558=(_0x1a764f=(_0x33f2fa=this[_0x1ac796(0x3cf)][_0x1ac796(0x26e)](this[_0x1ac796(0x2bf)]))==null?void 0x0:_0x33f2fa[_0x1ac796(0xe2)](_0x141cd))==null?void 0x0:_0x1a764f['getMergeData']();return(_0x54f558==null?void 0x0:_0x54f558['find'](_0x385a59=>_0x1a8bad['contains'](_0x385a59,_0x43109f)))||_0x43109f;}[_0x2025fc(0x342)](){const _0x499e62=_0x2025fc,_0x2de843=new _0x55a86c(),_0x89f88d=Zo(),_0x379315=()=>{const _0x9d27d1=_0x46d8;_0x2de843['dispose']();const _0x27622a=(_0x3a3da1,_0x52a7c3,_0x10f49e,_0x921713)=>{const _0x409897=_0x46d8;let _0x576b00=[];switch(_0x3a3da1['id']){case _0x1bada9['DeleteRangeMoveLeftCommandId']:{_0x576b00=_0x322dc1(_0x3a3da1,_0x921713);break;}case _0x1bada9[_0x409897(0x178)]:{_0x576b00=_0x27e6e3(_0x3a3da1,_0x921713);break;}case _0x1bada9[_0x409897(0x2da)]:{_0x576b00=_0x3c8a96(_0x3a3da1,_0x921713);break;}case _0x1bada9[_0x409897(0x1f2)]:{_0x576b00=_0x21ee51(_0x3a3da1,_0x921713);break;}case _0x1bada9['InsertRangeMoveRightCommandId']:{_0x576b00=_0x38f4c6(_0x3a3da1,_0x921713);break;}case _0x1bada9['InsertRowCommandId']:{_0x576b00=_0x1fe1d1(_0x3a3da1,_0x921713);break;}case _0x1bada9[_0x409897(0x1ed)]:{_0x576b00=_0x11ac4c(_0x3a3da1,_0x921713);break;}case _0x1bada9['RemoveColCommandId']:{_0x576b00=_0x4cc33a(_0x3a3da1,_0x921713);break;}case _0x1bada9['RemoveRowCommandId']:{_0x576b00=_0x5842ca(_0x3a3da1,_0x921713);break;}}const _0xd024b4=_0x5a1647(_0x576b00,_0x921713),_0x3da313=this[_0x409897(0x13c)][_0x409897(0x33e)](_0x52a7c3);if(_0x3da313&&_0xd024b4){const _0x29d2aa={..._0x3da313,'range':_0xd024b4};this[_0x409897(0x13c)][_0x409897(0x39c)](_0x52a7c3,_0x29d2aa),_0x89f88d(()=>{const _0x2bc186=_0x409897,_0x38d5f8=this[_0x2bc186(0x2b9)][_0x2bc186(0x43e)](_0xd024b4,_0x2d3b72=>(_0x38d5f8[_0x2bc186(0x1e5)](),_0x27622a(_0x2d3b72,_0x52a7c3,_0x10f49e,_0xd024b4)));_0x2de843[_0x2bc186(0x4b0)](_0x38d5f8);});}return{'redos':[],'undos':[]};};this[_0x9d27d1(0x13c)]['forEach']((_0x16caf9,_0xffd7ae)=>{const _0x43897c=_0x9d27d1,{range:_0x149ee8,sheetID:_0xaf952f}=_0x16caf9,_0x212197=this[_0x43897c(0x2b9)][_0x43897c(0x43e)](_0x149ee8,_0x2e4db3=>(_0x212197[_0x43897c(0x1e5)](),_0x27622a(_0x2e4db3,_0xffd7ae,_0xaf952f,_0x149ee8)));_0x2de843[_0x43897c(0x4b0)](_0x212197);});};this[_0x499e62(0x10c)](_0x7c72c3(this[_0x499e62(0x31a)][_0x499e62(0x140)](()=>{_0x379315();})));}[_0x2025fc(0x1dd)](){const _0x1ffc16=_0x2025fc;var _0x225ab4,_0x41ea9c;if(this[_0x1ffc16(0x34b)]=!0x0,((_0x225ab4=this[_0x1ffc16(0x3cf)]['getFocusedUnit']())==null?void 0x0:_0x225ab4[_0x1ffc16(0x10b)]())!==this[_0x1ffc16(0x2bf)])return;const _0x2642d9=(_0x41ea9c=this[_0x1ffc16(0x147)][_0x1ffc16(0x33e)](_0x2d0767)[_0x1ffc16(0xef)]())==null?void 0x0:_0x41ea9c[0x0],_0x5f5d3e=this[_0x1ffc16(0x3cf)]['getCurrentUnitForType'](_0xb166dc['UNIVER_SHEET'])[_0x1ffc16(0x406)]();_0x2642d9&&_0x5f5d3e&&this['_updateLocalCursor'](_0x5f5d3e[_0x1ffc16(0x369)](),_0x2642d9);}['_toggleOffline'](){const _0x31f61b=_0x2025fc;this[_0x31f61b(0x34b)]=!0x1;}};ds=zo([Be(0x2,_0x5847bf(_0x5d7671)),Be(0x3,_0x5847bf(Ns)),Be(0x4,_0x5847bf(Me)),Be(0x5,_0x425cee),Be(0x6,_0x28287a),Be(0x7,_0x5847bf(_0x4f6ae0))],ds);var Qo=Object[_0x2025fc(0x385)],ea=Object[_0x2025fc(0x18c)],ta=(_0x105a2d,_0xca0eb8,_0x41da9c,_0x187c8d)=>{for(var _0x3d9b64=_0x187c8d>0x1?void 0x0:_0x187c8d?ea(_0xca0eb8,_0x41da9c):_0xca0eb8,_0x1ecf7b=_0x105a2d['length']-0x1,_0x396fff;_0x1ecf7b>=0x0;_0x1ecf7b--)(_0x396fff=_0x105a2d[_0x1ecf7b])&&(_0x3d9b64=(_0x187c8d?_0x396fff(_0xca0eb8,_0x41da9c,_0x3d9b64):_0x396fff(_0x3d9b64))||_0x3d9b64);return _0x187c8d&&_0x3d9b64&&Qo(_0xca0eb8,_0x41da9c,_0x3d9b64),_0x3d9b64;},Xt=(_0x11b9b2,_0xff1a39)=>(_0x3f82e2,_0x294a93)=>_0xff1a39(_0x3f82e2,_0x294a93,_0x11b9b2);let Ve=class extends _0x5ec0cb{constructor(_0x1f41f0,_0x1457d3,_0x43a9b3){const _0x1d66b6=_0x2025fc;super(),g(this,_0x1d66b6(0x3da),new Map()),g(this,_0x1d66b6(0x44e),new _0x1c0b9c()),(this[_0x1d66b6(0x3cf)]=_0x1f41f0,this[_0x1d66b6(0x147)]=_0x1457d3,this[_0x1d66b6(0x29e)]=_0x43a9b3,this[_0x1d66b6(0x100)]());}[_0x2025fc(0x1e5)](){const _0x5ecbc0=_0x2025fc;super[_0x5ecbc0(0x1e5)](),this['_entityInit$'][_0x5ecbc0(0x3c5)](),this[_0x5ecbc0(0x3da)]['forEach'](_0x43e007=>_0x43e007[_0x5ecbc0(0x1e5)]());}['getCollabCursors$'](_0x46cbe5){const _0x389bc2=_0x2025fc;return this[_0x389bc2(0x3da)]['has'](_0x46cbe5)?this[_0x389bc2(0x3da)][_0x389bc2(0x33e)](_0x46cbe5)['cursorInfo$']:this[_0x389bc2(0x44e)][_0x389bc2(0x150)](_0x2eb5c7(_0x312f80=>_0x312f80[_0x389bc2(0x2bf)]===_0x46cbe5),_0x4e1242(_0x34c9c2=>_0x34c9c2[_0x389bc2(0x25b)]));}[_0x2025fc(0x100)](){const _0x31d578=_0x2025fc;this[_0x31d578(0x3cf)][_0x31d578(0x2c3)](_0xb166dc['UNIVER_SHEET'])[_0x31d578(0x150)](_0x7b6507(this[_0x31d578(0x345)]))[_0x31d578(0x140)](async _0x21bae0=>{const _0x514954=_0x31d578,_0x4d4e39=_0x21bae0[_0x514954(0x10b)](),_0xa91401=await this[_0x514954(0x465)](_0x4d4e39);this[_0x514954(0x44e)][_0x514954(0x382)](_0xa91401),this[_0x514954(0x3da)][_0x514954(0x39c)](_0x4d4e39,_0xa91401);}),this['_univerInstanceService'][_0x31d578(0x2c3)](_0xb166dc[_0x31d578(0x3ad)])['pipe'](_0x7b6507(this[_0x31d578(0x345)]))['pipe'](_0x2eb5c7(_0x26021a=>!_0x26021a[_0x31d578(0x10b)]()[_0x31d578(0x33d)]('__')))[_0x31d578(0x140)](async _0x1ec6e2=>{const _0x2deafb=_0x31d578,_0x59807d=_0x1ec6e2[_0x2deafb(0x10b)](),_0x253815=await this[_0x2deafb(0x4a7)](_0x59807d);this[_0x2deafb(0x44e)][_0x2deafb(0x382)](_0x253815),this[_0x2deafb(0x3da)][_0x2deafb(0x39c)](_0x59807d,_0x253815);}),_0x38a986(this[_0x31d578(0x3cf)][_0x31d578(0x2f2)](_0xb166dc[_0x31d578(0x3ad)]),this[_0x31d578(0x3cf)][_0x31d578(0x2f2)](_0xb166dc[_0x31d578(0x4a6)]))['pipe'](_0x7b6507(this[_0x31d578(0x345)]))['subscribe'](_0x46740f=>{const _0xbbb552=_0x31d578,_0x534324=_0x46740f['getUnitId'](),_0x658d53=this[_0xbbb552(0x3da)]['get'](_0x534324);_0x658d53&&(_0x658d53[_0xbbb552(0x1e5)](),this[_0xbbb552(0x3da)][_0xbbb552(0x165)](_0x534324));});}async['_startSheetCollabCursor'](_0xbbb4d8){const _0xdf10a3=_0x2025fc,_0x579e85=await this['_collabSessionService']['requireSession'](_0xbbb4d8),_0x4317ad=this[_0xdf10a3(0x147)][_0xdf10a3(0x12a)](ds,_0xbbb4d8,_0x579e85);return _0x4317ad[_0xdf10a3(0x289)](),_0x4317ad;}async[_0x2025fc(0x4a7)](_0x39d1ed){const _0x216753=_0x2025fc,_0x531bb4=await this[_0x216753(0x29e)]['requireSession'](_0x39d1ed),_0x26aad3=this[_0x216753(0x147)]['createInstance'](us,_0x39d1ed,_0x531bb4);return _0x26aad3[_0x216753(0x289)](),_0x26aad3;}};Ve=ta([Xt(0x0,_0x425cee),Xt(0x1,_0x5847bf(_0x5d7671)),Xt(0x2,_0x5847bf(xe))],Ve);const nt=0x14,ii=0xc8,Jt=0x4,sa=0x5;function ia(_0x3cc447,_0x2b4db8){const _0x25e6dd=_0x2025fc;let {radius:_0x2bdb87,width:_0x391fcb,height:_0x2f5fe1}=_0x2b4db8;_0x2bdb87=_0x2bdb87!=null?_0x2bdb87:0x0,_0x391fcb=_0x391fcb!=null?_0x391fcb:0x1e,_0x2f5fe1=_0x2f5fe1!=null?_0x2f5fe1:0x1e;let _0x50b1df=0x0,_0x5af365=0x0,_0x359c31=0x0;_0x50b1df=_0x5af365=_0x359c31=Math['min'](_0x2bdb87,_0x391fcb/0x2,_0x2f5fe1/0x2),_0x3cc447[_0x25e6dd(0x389)](),_0x3cc447[_0x25e6dd(0x36d)](_0x50b1df,0x0),_0x3cc447[_0x25e6dd(0x1ab)](_0x391fcb-_0x5af365,0x0),_0x3cc447[_0x25e6dd(0x4b8)](_0x391fcb-_0x5af365,_0x5af365,_0x5af365,Math['PI']*0x3/0x2,0x0,!0x1),_0x3cc447[_0x25e6dd(0x1ab)](_0x391fcb,_0x2f5fe1-_0x359c31),_0x3cc447['arc'](_0x391fcb-_0x359c31,_0x2f5fe1-_0x359c31,_0x359c31,0x0,Math['PI']/0x2,!0x1),_0x3cc447[_0x25e6dd(0x1ab)](0x0,_0x2f5fe1),_0x3cc447[_0x25e6dd(0x1ab)](0x0,_0x50b1df),_0x3cc447[_0x25e6dd(0x4b8)](_0x50b1df,_0x50b1df,_0x50b1df,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3cc447['closePath'](),_0x2b4db8[_0x25e6dd(0x46e)]&&(_0x3cc447[_0x25e6dd(0x14f)](),_0x3cc447[_0x25e6dd(0x477)]=_0x2b4db8['fill'],_0x2b4db8[_0x25e6dd(0x336)]===_0x25e6dd(0x28a)?_0x3cc447[_0x25e6dd(0x46e)](_0x25e6dd(0x28a)):_0x3cc447['fill'](),_0x3cc447[_0x25e6dd(0x309)]());}class Bt extends _0x280f32{constructor(_0x15fa38,_0x3b5001){const _0x39df93=_0x2025fc;super(_0x15fa38,_0x3b5001),g(this,'color'),g(this,'text'),(this[_0x39df93(0x26b)]=_0x3b5001==null?void 0x0:_0x3b5001[_0x39df93(0x26b)],this[_0x39df93(0x438)]=_0x3b5001==null?void 0x0:_0x3b5001['text']);}static[_0x2025fc(0xac)](_0x392dc5,_0x5d13b2){const _0x3bfcb5=_0x2025fc,{text:_0x15466a,color:_0x451e18}=_0x5d13b2;_0x392dc5[_0x3bfcb5(0x14f)](),_0x392dc5['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x143447=_0x392dc5[_0x3bfcb5(0x482)](_0x15466a)['width'],_0x20aedc=Math[_0x3bfcb5(0x1af)](_0x143447+0x2*Jt,ii);ia(_0x392dc5,{'height':nt,'radius':0x4,'width':_0x20aedc,'fill':_0x451e18,'evented':!0x1}),_0x392dc5['fillStyle']=_0x3bfcb5(0x321);const _0x30d758=Jt,_0x1f4293=nt-sa,_0x467773=ii-0x2*Jt;if(_0x143447>_0x467773){let _0x430c52='',_0x11465b=0x0;for(const _0x85587c of _0x15466a){const _0x1b522b=_0x392dc5['measureText'](_0x85587c)[_0x3bfcb5(0x478)];if(_0x11465b+_0x1b522b<=_0x467773-_0x392dc5[_0x3bfcb5(0x482)]('...')[_0x3bfcb5(0x478)])_0x430c52+=_0x85587c,_0x11465b+=_0x1b522b;else{_0x430c52+=_0x3bfcb5(0x1df);break;}}_0x392dc5['fillText'](_0x430c52,_0x30d758,_0x1f4293);}else _0x392dc5['fillText'](_0x15466a,_0x30d758,_0x1f4293);_0x392dc5[_0x3bfcb5(0x309)]();}[_0x2025fc(0x368)](_0x4a3a38){const _0x36cb23=_0x2025fc;Bt[_0x36cb23(0xac)](_0x4a3a38,this);}}const Zt=_0x2025fc(0x39b),ra=_0x2025fc(0x42b),na='collab-rect-range-',Je=0x6,oa=1.5,Qt=0x4,aa=1.5,ca='rgba(255,\x20255,\x20255,\x200.01)';class ri{constructor(_0x4f248c,_0x4073ba,_0x308545,_0x409e99){const _0x23de23=_0x2025fc;g(this,'_shapes',[]),g(this,_0x23de23(0x2b5),null),g(this,_0x23de23(0x2fe),null),g(this,_0x23de23(0x1ad),null),g(this,'_hideTimer',null),g(this,_0x23de23(0x3a6),null),(this[_0x23de23(0x1fb)]=_0x4f248c,this[_0x23de23(0x2a7)]=_0x4073ba,this['_docSkeleton']=_0x308545,this[_0x23de23(0x296)]=_0x409e99,this[_0x23de23(0x3cd)]());}set[_0x2025fc(0x3c7)](_0x11fd0f){const _0x1dbbdf=_0x2025fc;_0x11fd0f?(this[_0x1dbbdf(0x1ad)]&&this[_0x1dbbdf(0x1ad)]['hide'](),this['_textBubble']&&this[_0x1dbbdf(0x2fe)][_0x1dbbdf(0x3c2)]()):(this[_0x1dbbdf(0x1ad)]&&this[_0x1dbbdf(0x1ad)][_0x1dbbdf(0x3c2)](),this['_textBubble']&&this['_textBubble'][_0x1dbbdf(0x467)]());}['dispose'](){const _0x5ea684=_0x2025fc;for(const _0x27e343 of this[_0x5ea684(0x18d)])_0x27e343[_0x5ea684(0x1e5)]();this['_textBubble']&&this[_0x5ea684(0x2fe)][_0x5ea684(0x1e5)](),this[_0x5ea684(0x1ad)]&&this[_0x5ea684(0x1ad)][_0x5ea684(0x1e5)](),this[_0x5ea684(0x2b5)]&&this[_0x5ea684(0x2b5)]['dispose'](),this[_0x5ea684(0x3a6)]&&this[_0x5ea684(0x3a6)]();}[_0x2025fc(0x3cd)](){const _0x23655c=_0x2025fc;var _0x21229e;const {_docSkeleton:_0x2614cd,_document:_0x54c521}=this,{color:_0x1fa2e2,name:_0x593ed6,ranges:_0x17bd32}=this[_0x23655c(0x1fb)],_0x5124f2=_0x54c521[_0x23655c(0x326)](),{docsLeft:_0x41cfe2,docsTop:_0x17526e}=_0x5124f2,_0x12e3bb=new _0x44a430(_0x5124f2,_0x2614cd);for(const {startOffset:_0x40858a,endOffset:_0x5e7909,rangeType:_0x4555f7,segmentId:_0x21cd38,segmentPage:_0x4159bb,collapsed:_0x4e5c82,isActive:_0x2a2150}of _0x17bd32){const _0x495b6f=_0x2614cd[_0x23655c(0x159)](_0x40858a,!0x0,_0x21cd38,_0x4159bb);let _0x3d736f=_0x2614cd[_0x23655c(0x159)](_0x5e7909,!0x0,_0x21cd38,_0x4159bb);if(_0x3d736f==null&&(_0x3d736f=_0x2614cd['findNodePositionByCharIndex'](_0x5e7909-0x1,!0x1,_0x21cd38,_0x4159bb)),_0x2a2150){const {contentBoxPointGroup:_0x4befee}=_0x12e3bb['getRangePointData'](_0x3d736f,_0x3d736f);if(_0x4befee[_0x23655c(0x161)]===0x0)continue;this[_0x23655c(0x367)](_0x1fa2e2,_0x4befee,_0x41cfe2,_0x17526e,_0x593ed6),this[_0x23655c(0x3a6)]=this[_0x23655c(0x19f)]();}if(_0x495b6f&&_0x3d736f){if(_0x4555f7===_0x2bd610[_0x23655c(0x246)]){const _0x243703=new _0x4512fd(_0x5124f2,_0x2614cd),{pointGroup:_0xb86604}=(_0x21229e=_0x243703[_0x23655c(0x34e)](_0x495b6f,_0x3d736f))!=null?_0x21229e:{};if(_0xb86604==null||_0xb86604[_0x23655c(0x161)]===0x0)continue;this['_drawRectRange'](_0x1fa2e2,_0xb86604,_0x41cfe2,_0x17526e);}else{if(!_0x4e5c82){const {borderBoxPointGroup:_0x18978d}=_0x12e3bb[_0x23655c(0x34e)](_0x495b6f,_0x3d736f);if(_0x18978d['length']===0x0)continue;this[_0x23655c(0x1ba)](_0x1fa2e2,_0x18978d,_0x41cfe2,_0x17526e);}}}}}[_0x2025fc(0x367)](_0x1c704a,_0xb6e98a,_0x34cfb0,_0x413c8b,_0x39de35){const _0x493b14=_0x2025fc,_0x45555c=this['_getAnchorBounding'](_0xb6e98a),{left:_0x4b7b04,top:_0x101cc5,height:_0x3d9d15}=_0x45555c,_0x3e8e80=this[_0x493b14(0x157)](),_0x2bb308=aa/_0x3e8e80,_0x230fdc=new _0x10cdd3(Zt+_0x529634[_0x493b14(0x210)](Je),{'left':_0x4b7b04+_0x34cfb0-_0x2bb308,'top':_0x101cc5+_0x413c8b,'height':_0x3d9d15,'width':oa,'fill':_0x1c704a||_0x44a483(_0x37cb7b[_0x493b14(0x262)],0x0),'strokeWidth':_0x2bb308,'stroke':ca,'evented':!0x0});this[_0x493b14(0x2b5)]=_0x230fdc,this[_0x493b14(0x2a7)][_0x493b14(0x21a)](_0x230fdc,_0x505883);const _0x4cb602=new _0x10cdd3(Zt+_0x529634[_0x493b14(0x210)](Je),{'left':_0x4b7b04+_0x34cfb0-_0x2bb308,'top':_0x101cc5+_0x413c8b-Qt/0x2,'height':Qt,'width':Qt,'fill':_0x1c704a||_0x44a483(_0x37cb7b[_0x493b14(0x262)],0x0),'strokeWidth':0x0,'stroke':_0x1c704a||_0x44a483(_0x37cb7b[_0x493b14(0x262)],0x0),'evented':!0x1});this[_0x493b14(0x1ad)]=_0x4cb602,this['_scene'][_0x493b14(0x21a)](_0x4cb602,_0x505883);const _0x5514a4=new Bt(Zt+_0x529634[_0x493b14(0x210)](Je),{'left':_0x4b7b04+_0x34cfb0-_0x2bb308,'top':_0x101cc5+_0x413c8b-nt,'text':_0x39de35,'color':_0x1c704a});this['_textBubble']=_0x5514a4,this[_0x493b14(0x2a7)][_0x493b14(0x21a)](_0x5514a4,_0x505883),this[_0x493b14(0x3c7)]=!0x1;}[_0x2025fc(0x19f)](){const _0x426402=_0x2025fc,_0x441501=this[_0x426402(0x2b5)][_0x426402(0x2bd)][_0x426402(0x113)](()=>{this['_hover']=!0x0;}),_0x254fba=this['_anchor']['onPointerLeave$'][_0x426402(0x113)](()=>{const _0x45dfad=_0x426402;this[_0x45dfad(0x300)]&&clearTimeout(this[_0x45dfad(0x300)]),this['_hideTimer']=setTimeout(()=>{const _0x20410d=_0x45dfad;this[_0x20410d(0x3c7)]=!0x1;},0x7d0);});return()=>{const _0x41d54e=_0x426402;_0x441501[_0x41d54e(0x2dd)](),_0x254fba['unsubscribe']();};}[_0x2025fc(0x1ba)](_0x4ef440,_0x599f70,_0x460cc2,_0x4229be){const _0x4c87d4=_0x2025fc,_0x41f7c8=new _0x13add7(_0x4ef440)[_0x4c87d4(0xe0)](0.2)[_0x4c87d4(0x455)](),_0x4ed1b5=new _0x2d60c8(ra+_0x529634[_0x4c87d4(0x210)](Je),{'pointsGroup':_0x599f70,'fill':_0x41f7c8||_0x44a483(_0x37cb7b['black'],0.2),'left':_0x460cc2,'top':_0x4229be,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4c87d4(0x22f)](_0x4ed1b5),this[_0x4c87d4(0x2a7)][_0x4c87d4(0x21a)](_0x4ed1b5,_0x505883);}['_drawRectRange'](_0x5aaa5c,_0x494929,_0x4380b3,_0x11a1a3){const _0x4209d4=_0x2025fc,_0x26782a=new _0x13add7(_0x5aaa5c)[_0x4209d4(0xe0)](0.2)['toRgbString'](),_0x2e748c=new _0x2d60c8(na+_0x529634[_0x4209d4(0x210)](Je),{'pointsGroup':_0x494929,'fill':_0x26782a||_0x44a483(_0x37cb7b[_0x4209d4(0x262)],0.2),'left':_0x4380b3,'top':_0x11a1a3,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4209d4(0x22f)](_0x2e748c),this[_0x4209d4(0x2a7)][_0x4209d4(0x21a)](_0x2e748c,_0x505883);}[_0x2025fc(0x3e4)](_0x10a07f){const _0x5c41d0=_0x10a07f[0x0],_0x44a1d3=_0x5c41d0[0x0],_0x1a9501=_0x5c41d0[0x2],{x:_0x9dd65,y:_0x3b6a22}=_0x44a1d3,{x:_0x44be18,y:_0x5e9457}=_0x1a9501;return{'left':_0x9dd65,'top':_0x3b6a22,'width':_0x44be18-_0x9dd65,'height':_0x5e9457-_0x3b6a22};}[_0x2025fc(0x157)](){const _0x545517=_0x2025fc,{scaleX:_0x572d66,scaleY:_0x4f6c1b}=this['_scene']['getAncestorScale']();return Math[_0x545517(0x3f2)](_0x572d66,_0x4f6c1b);}}var ha=Object[_0x2025fc(0x385)],la=Object[_0x2025fc(0x18c)],_a=(_0x191039,_0x2b7032,_0xd5df74,_0x1fe8d2)=>{const _0x1cd4fa=_0x2025fc;for(var _0x3afa98=_0x1fe8d2>0x1?void 0x0:_0x1fe8d2?la(_0x2b7032,_0xd5df74):_0x2b7032,_0x1733fe=_0x191039[_0x1cd4fa(0x161)]-0x1,_0x43335d;_0x1733fe>=0x0;_0x1733fe--)(_0x43335d=_0x191039[_0x1733fe])&&(_0x3afa98=(_0x1fe8d2?_0x43335d(_0x2b7032,_0xd5df74,_0x3afa98):_0x43335d(_0x3afa98))||_0x3afa98);return _0x1fe8d2&&_0x3afa98&&ha(_0x2b7032,_0xd5df74,_0x3afa98),_0x3afa98;},ht=(_0x19b861,_0x5e567e)=>(_0x5e68f0,_0x1eb527)=>_0x5e567e(_0x5e68f0,_0x1eb527,_0x19b861);let fs=class extends _0x5ec0cb{constructor(_0x1b685a,_0xd0310b,_0x2879f8,_0x12002e,_0x49a43d){const _0x409f55=_0x2025fc;super(),g(this,'_cursorShapes',[]),g(this,_0x409f55(0x449),[]),(this[_0x409f55(0x294)]=_0x1b685a,this[_0x409f55(0x343)]=_0xd0310b,this['_collabCursorController']=_0x2879f8,this[_0x409f55(0x481)]=_0x12002e,this['_themeService']=_0x49a43d,this[_0x409f55(0x100)]());}[_0x2025fc(0x100)](){const _0x429e5f=_0x2025fc,_0x41d87e=this[_0x429e5f(0x294)][_0x429e5f(0x273)],_0x1970de=this[_0x429e5f(0x343)];this[_0x429e5f(0x10c)](_0x238a3a([this[_0x429e5f(0xab)][_0x429e5f(0x327)](_0x41d87e),this[_0x429e5f(0x1c8)][_0x429e5f(0x3e9)]])['pipe'](_0xb11c2f(([_0x4bd832,_0x4a418b])=>({'skeleton':_0x1970de[_0x429e5f(0x240)](),'cursors':[..._0x4bd832[_0x429e5f(0x3ed)]()][_0x429e5f(0x3b3)](_0x394dc6=>({..._0x394dc6,'color':_0x4a418b[_0x394dc6[_0x429e5f(0x26b)]]}))})))[_0x429e5f(0x140)](_0xbe7958=>{const _0x5c5689=_0x429e5f;if(this[_0x5c5689(0x1da)](),_0xbe7958){const {skeleton:_0x2ed3f1,cursors:_0x168cc9}=_0xbe7958;this[_0x5c5689(0x3fb)](_0x2ed3f1,_0x168cc9);}})),this['_initResize'](),this[_0x429e5f(0x498)]();}['_updateCollabCursors'](_0x5661fb,_0x2c4a1f){const _0x40c74e=_0x2025fc,{scene:_0x33b72f,mainComponent:_0x1e52f7}=this['_context'],_0x116dfc=_0x2c4a1f['map'](_0x3221d3=>new ri(_0x3221d3,_0x33b72f,_0x5661fb,_0x1e52f7));this[_0x40c74e(0x1d2)]=_0x116dfc,this[_0x40c74e(0x449)]=_0x2c4a1f;}[_0x2025fc(0x130)](){const _0x2e4043=_0x2025fc;this[_0x2e4043(0x1da)]();const {scene:_0x13951b,mainComponent:_0x4386c6}=this[_0x2e4043(0x294)],_0x3e5319=this['_docSkeletonManagerService'][_0x2e4043(0x240)](),_0x3f87de=this[_0x2e4043(0x449)][_0x2e4043(0x23a)](_0xdf5ba=>new ri(_0xdf5ba,_0x13951b,_0x3e5319,_0x4386c6));this['_cursorShapes']=_0x3f87de;}[_0x2025fc(0x1da)](){const _0x3cc48f=_0x2025fc;this[_0x3cc48f(0x1d2)][_0x3cc48f(0x2e1)](_0x3eade5=>_0x3eade5[_0x3cc48f(0x1e5)]()),this[_0x3cc48f(0x1d2)]=[];}[_0x2025fc(0x498)](){const _0x1c7244=_0x2025fc,_0x27f111=[_0x3c0f91['id']];this[_0x1c7244(0x10c)](this['_commandService'][_0x1c7244(0x18a)](_0x18407c=>{const _0x74fd2c=_0x1c7244;_0x27f111[_0x74fd2c(0xd3)](_0x18407c['id'])&&_0x18407c[_0x74fd2c(0x3a0)][_0x74fd2c(0x273)]===this['_context']['unitId']&&this[_0x74fd2c(0x130)]();}));}[_0x2025fc(0x14a)](){const _0x2cc7fa=_0x2025fc;this[_0x2cc7fa(0x10c)](_0x2095a5(this[_0x2cc7fa(0x294)][_0x2cc7fa(0x2d1)][_0x2cc7fa(0x222)])[_0x2cc7fa(0x150)](_0xa0d892(_0x46acb4=>_0x46acb4[_0x2cc7fa(0x442)]===_0x3f5711[_0x2cc7fa(0x464)]),_0x300e66(0x10))[_0x2cc7fa(0x140)](()=>{const _0x180e1a=_0x2cc7fa;this[_0x180e1a(0x130)]();}));}};fs=_a([ht(0x1,_0x5847bf(_0x4e067d)),ht(0x2,_0x5847bf(Ve)),ht(0x3,_0x28287a),ht(0x4,_0x5847bf(_0x14c134))],fs);const ua=0x1,da=1.5;class fa extends _0x280f32{constructor(_0x11855d,_0x19a383){const _0x2865e3=_0x2025fc;super(_0x11855d,_0x19a383),g(this,_0x2865e3(0x426)),g(this,_0x2865e3(0x26c),!0x1),g(this,'_range'),g(this,'_name',''),g(this,_0x2865e3(0x499),'top'),g(this,_0x2865e3(0x490)),(_0x19a383&&this[_0x2865e3(0x2b1)](_0x19a383),this[_0x2865e3(0x2bd)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x2865e3(0x121)][_0x2865e3(0x113)](()=>this[_0x2865e3(0x2b1)]({'hovered':!0x1})));}[_0x2025fc(0x2b1)](_0x2cc4d8){const _0x215cdf=_0x2025fc;var _0x43b883,_0x484081,_0x3a973c,_0xbd5cd0,_0x2d7850,_0x1bdd8c;this[_0x215cdf(0x426)]=(_0x43b883=_0x2cc4d8[_0x215cdf(0x26b)])!=null?_0x43b883:this[_0x215cdf(0x426)],this[_0x215cdf(0x26c)]=(_0x484081=_0x2cc4d8[_0x215cdf(0x237)])!=null?_0x484081:this[_0x215cdf(0x26c)],this['_range']=(_0x3a973c=_0x2cc4d8[_0x215cdf(0x200)])!=null?_0x3a973c:this[_0x215cdf(0xd1)],this['_name']=(_0xbd5cd0=_0x2cc4d8[_0x215cdf(0x1c7)])!=null?_0xbd5cd0:this[_0x215cdf(0x386)],this['_labelPosition']=(_0x2d7850=_0x2cc4d8[_0x215cdf(0x2f8)])!=null?_0x2d7850:this['_labelPosition'],this[_0x215cdf(0x490)]=(_0x1bdd8c=_0x2cc4d8['backgroundColor'])!=null?_0x1bdd8c:this[_0x215cdf(0x490)],this[_0x215cdf(0xed)]({'width':_0x2cc4d8[_0x215cdf(0x478)],'height':_0x2cc4d8[_0x215cdf(0x3b4)]});}[_0x2025fc(0x47b)](_0x49ab97){const _0x52cb59=_0x2025fc,{row:_0x333170,column:_0x579a2b}=_0x49ab97;if(_0x333170>=this[_0x52cb59(0xd1)][_0x52cb59(0x23d)]&&_0x333170<=this[_0x52cb59(0xd1)][_0x52cb59(0x402)]&&_0x579a2b>=this[_0x52cb59(0xd1)]['startColumn']&&_0x579a2b<=this[_0x52cb59(0xd1)][_0x52cb59(0x483)]){this[_0x52cb59(0x2b1)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0xc8ac10){return!0x1;}[_0x2025fc(0x368)](_0x1e6c6b){const _0x8db5d7=_0x2025fc;_0x10cdd3['drawWith'](_0x1e6c6b,{'width':this[_0x8db5d7(0x478)],'height':this[_0x8db5d7(0x3b4)],'strokeWidth':da,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x8db5d7(0x490)]}),this[_0x8db5d7(0x26c)]&&(_0x1e6c6b[_0x8db5d7(0x14f)](),_0x1e6c6b[_0x8db5d7(0x441)](0x1,0x0,0x0,0x1,this[_0x8db5d7(0x478)],this[_0x8db5d7(0x499)]===_0x8db5d7(0x48a)?0x0:-nt),Bt[_0x8db5d7(0xac)](_0x1e6c6b,{'text':this[_0x8db5d7(0x386)],'color':this['_color']}),_0x1e6c6b[_0x8db5d7(0x309)]());}}var va=Object[_0x2025fc(0x385)],pa=Object[_0x2025fc(0x18c)],ma=(_0x17380b,_0x42ade6,_0x2e1296,_0x104633)=>{const _0x937611=_0x2025fc;for(var _0x285501=_0x104633>0x1?void 0x0:_0x104633?pa(_0x42ade6,_0x2e1296):_0x42ade6,_0x33c0c7=_0x17380b[_0x937611(0x161)]-0x1,_0x1808c1;_0x33c0c7>=0x0;_0x33c0c7--)(_0x1808c1=_0x17380b[_0x33c0c7])&&(_0x285501=(_0x104633?_0x1808c1(_0x42ade6,_0x2e1296,_0x285501):_0x1808c1(_0x285501))||_0x285501);return _0x104633&&_0x285501&&va(_0x42ade6,_0x2e1296,_0x285501),_0x285501;},es=(_0x55d5da,_0x2cf7ac)=>(_0x4a5cfe,_0x4f6a7b)=>_0x2cf7ac(_0x4a5cfe,_0x4f6a7b,_0x55d5da);const ga=0x1389;let vs=class extends _0x5ec0cb{constructor(_0x3e7ba9,_0x281192,_0x451f11,_0x13d35a){const _0x503ae4=_0x2025fc;super(),g(this,'_cursors',new Set()),g(this,'_lastPointer',null),(this[_0x503ae4(0x294)]=_0x3e7ba9,this[_0x503ae4(0x14d)]=_0x281192,this['_collabCursorController']=_0x451f11,this[_0x503ae4(0x1c8)]=_0x13d35a,this[_0x503ae4(0x100)]());}[_0x2025fc(0x100)](){const _0x27eeab=_0x2025fc;this[_0x27eeab(0x14d)]['currentSkeleton$'][_0x27eeab(0x150)](_0xc7ed86(this[_0x27eeab(0x345)]),_0x51df4e(_0x5b03c4=>{const _0x271013=_0x27eeab;if(_0x5b03c4){const _0x4b48a9=_0x5b03c4[_0x271013(0x12c)];return _0x238a3a(this[_0x271013(0xab)][_0x271013(0x327)](this['_context'][_0x271013(0x273)]),this['_themeService'][_0x271013(0x3e9)])['pipe'](_0xb11c2f(([_0x3913ed,_0x33a1d1])=>{const _0x243915=_0x271013,_0x733044=new Map();return _0x3913ed[_0x243915(0x2e1)]((_0xf8165f,_0x487239)=>{const _0x2d1382=_0x243915;if(_0xf8165f[_0x2d1382(0x4aa)]===_0x4b48a9){const _0x195d5a={..._0xf8165f};_0x195d5a['color']=_0x33a1d1[_0xf8165f[_0x2d1382(0x26b)]],_0x733044[_0x2d1382(0x39c)](_0x487239,_0x195d5a);}}),{'skeleton':_0x5b03c4,'cursors':_0x733044};}));}return _0x43d0da({'skeleton':null,'cursors':new Map()});}))[_0x27eeab(0x140)](({skeleton:_0x4dd941,cursors:_0x4d3c2c})=>{const _0x331b3b=_0x27eeab;this[_0x331b3b(0x1da)](),_0x4dd941&&this['_updateCollabCursors'](_0x4dd941,_0x4d3c2c);}),this[_0x27eeab(0x14d)][_0x27eeab(0x3fa)]['subscribe'](_0x55bc18=>{const _0xc9f64f=_0x27eeab;if(_0x55bc18==null)return;const {skeleton:_0x5226fc}=_0x55bc18,{scene:_0x5778e0}=this[_0xc9f64f(0x294)];_0x5778e0[_0xc9f64f(0x20d)][_0xc9f64f(0x113)](_0x26c09b(_0x4f6038=>{const _0xb32ee5=_0xc9f64f;var _0x871e8b,_0x1cc21e;const {offsetX:_0x11ceef,offsetY:_0x30ac69}=_0x4f6038,{x:_0x43a276,y:_0x47e2f}=_0x5778e0['getRelativeToViewportCoord'](_0x483d6a[_0xb32ee5(0x3f5)]([_0x11ceef,_0x30ac69])),{scaleX:_0x5610a5,scaleY:_0x84066b}=_0x5778e0[_0xb32ee5(0x277)](),_0x528f7a=_0x5778e0[_0xb32ee5(0x20b)](_0x5a71d0['VIEW_MAIN']),_0x695cb5=_0x5778e0['getVpScrollXYInfoByPosToVp'](_0x483d6a[_0xb32ee5(0x3f5)]([_0x43a276,_0x47e2f]),_0x528f7a),_0x49e1dc=_0x5226fc[_0xb32ee5(0x169)](_0x11ceef,_0x30ac69,_0x5610a5,_0x84066b,_0x695cb5);((_0x871e8b=this[_0xb32ee5(0x195)])==null?void 0x0:_0x871e8b[_0xb32ee5(0x1d6)])===_0x49e1dc[_0xb32ee5(0x1d6)]&&((_0x1cc21e=this['_lastPointer'])==null?void 0x0:_0x1cc21e[_0xb32ee5(0x18f)])===_0x49e1dc[_0xb32ee5(0x18f)]||this[_0xb32ee5(0x449)][_0xb32ee5(0x2e1)](_0x9adca4=>{_0x9adca4['onMouseMove'](_0x49e1dc);});},0x64));});}[_0x2025fc(0x3fb)](_0x584d23,_0x5c02c8){const _0x52ece7=_0x2025fc;var _0x4299a5;const _0x3ecce2=(_0x4299a5=this['_sheetSkeletonManagerService'][_0x52ece7(0x2f5)]())==null?void 0x0:_0x4299a5[_0x52ece7(0x440)];if(!_0x3ecce2)return;const _0x48b17b=this[_0x52ece7(0x454)]();if(!_0x48b17b)return;this[_0x52ece7(0x449)][_0x52ece7(0x2e1)](_0x2abf16=>{const _0x5ec7d1=_0x52ece7;_0x2abf16[_0x5ec7d1(0x203)]();});const {scene:_0x200e3e}=_0x48b17b,_0x2cdbd8=Sa(Array['from'](_0x5c02c8[_0x52ece7(0x3ed)]()))[_0x52ece7(0x23a)](_0x4b3afc=>{const _0x29fa09=_0x52ece7,{color:_0x56c877,range:_0x33cd8f,name:_0x4de9d5,selection:_0x3a3dac,sheetID:_0x386905}=_0x4b3afc,{startColumn:_0x2088ef,startRow:_0x3058c8,endColumn:_0x2e50d6,endRow:_0x1aed29}=_0x33cd8f,_0x5ecfae=_0x473bbb(_0x3058c8,_0x2088ef,_0x200e3e,_0x3ecce2),_0x3b83f6=_0x473bbb(_0x1aed29,_0x2e50d6,_0x200e3e,_0x3ecce2),{columnHeaderHeightAndMarginTop:_0x404c9f}=_0x3ecce2,{startX:_0x261f2f,startY:_0x20529f}=_0x5ecfae,{endX:_0x20cf14,endY:_0x96bebc}=_0x3b83f6,_0x43a374=_0x20cf14-_0x261f2f,_0x5e4653=_0x96bebc-_0x20529f,_0x199e16={'labelPosition':_0x20529f-_0x404c9f>=nt?_0x29fa09(0x37f):_0x29fa09(0x48a),'sheetID':_0x386905,'range':_0x33cd8f,'color':_0x56c877,'name':_0x4de9d5,'selection':_0x3a3dac,'left':_0x261f2f,'top':_0x20529f,'width':_0x43a374,'height':_0x5e4653,'evented':!0x1,'zIndex':ga};return new fa(_0x4de9d5,_0x199e16);});_0x200e3e[_0x52ece7(0x372)](_0x2cdbd8,ua),this['_cursors']=new Set(_0x2cdbd8);}['_removeCollabCursors'](){const _0x4d896f=_0x2025fc;var _0x56ac80;(_0x56ac80=this[_0x4d896f(0x449)])==null||_0x56ac80['forEach'](_0x5522cf=>_0x5522cf['dispose']());}[_0x2025fc(0x454)](){const _0x4e065a=_0x2025fc;return _0x10d32f(this[_0x4e065a(0x294)][_0x4e065a(0x2bb)],this[_0x4e065a(0x294)]);}};vs=ma([es(0x1,_0x5847bf(_0x46c626)),es(0x2,_0x5847bf(Ve)),es(0x3,_0x5847bf(_0x14c134))],vs);function Sa(_0x172ff7){const _0x98b58c=_0x2025fc,_0x126495=new Map();return _0x172ff7[_0x98b58c(0x2e1)](_0xba9fe1=>{const _0x26854d=_0x98b58c;if(_0x126495[_0x26854d(0x24c)](_0xba9fe1[_0x26854d(0x43b)])){const _0x366733=_0x126495[_0x26854d(0x33e)](_0xba9fe1[_0x26854d(0x43b)]);_0x366733[_0x26854d(0x1c7)]+=',\x20'+_0xba9fe1[_0x26854d(0x1c7)];}else _0x126495[_0x26854d(0x39c)](_0xba9fe1['selection'],_0xba9fe1);}),Array[_0x98b58c(0x11c)](_0x126495['values']());}var ts=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ct(_0x3340ed){const _0x5904cd=_0x2025fc;return _0x3340ed&&_0x3340ed[_0x5904cd(0x229)]&&Object[_0x5904cd(0x33f)]['hasOwnProperty'][_0x5904cd(0x494)](_0x3340ed,_0x5904cd(0x3c8))?_0x3340ed['default']:_0x3340ed;}var ss={'exports':{}},Ze={},ni;function Ia(){const _0x4be54b=_0x2025fc;if(ni)return Ze;ni=0x1;var _0x23d010=_0x3f0cf0,_0x32b869=Symbol[_0x4be54b(0x146)](_0x4be54b(0x39d)),_0xae1650=Symbol[_0x4be54b(0x146)](_0x4be54b(0x36c)),_0x5f3768=Object[_0x4be54b(0x33f)][_0x4be54b(0x413)],_0x16c004=_0x23d010[_0x4be54b(0x13b)]['ReactCurrentOwner'],_0x353bcc={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x115fda(_0x28b8d0,_0x3f5bbd,_0xdb1dfc){const _0x31043e=_0x4be54b;var _0x292d5e,_0x12742f={},_0x3e7e02=null,_0x2a76f8=null;_0xdb1dfc!==void 0x0&&(_0x3e7e02=''+_0xdb1dfc),_0x3f5bbd[_0x31043e(0x45c)]!==void 0x0&&(_0x3e7e02=''+_0x3f5bbd[_0x31043e(0x45c)]),_0x3f5bbd['ref']!==void 0x0&&(_0x2a76f8=_0x3f5bbd['ref']);for(_0x292d5e in _0x3f5bbd)_0x5f3768['call'](_0x3f5bbd,_0x292d5e)&&!_0x353bcc['hasOwnProperty'](_0x292d5e)&&(_0x12742f[_0x292d5e]=_0x3f5bbd[_0x292d5e]);if(_0x28b8d0&&_0x28b8d0['defaultProps']){for(_0x292d5e in(_0x3f5bbd=_0x28b8d0[_0x31043e(0x485)],_0x3f5bbd))_0x12742f[_0x292d5e]===void 0x0&&(_0x12742f[_0x292d5e]=_0x3f5bbd[_0x292d5e]);}return{'$$typeof':_0x32b869,'type':_0x28b8d0,'key':_0x3e7e02,'ref':_0x2a76f8,'props':_0x12742f,'_owner':_0x16c004[_0x31043e(0x122)]};}return Ze[_0x4be54b(0xbb)]=_0xae1650,Ze[_0x4be54b(0x4b9)]=_0x115fda,Ze[_0x4be54b(0x110)]=_0x115fda,Ze;}var oi;function Ca(){const _0xe5f7ae=_0x2025fc;return oi||(oi=0x1,ss['exports']=Ia()),ss[_0xe5f7ae(0x317)];}var De=Ca(),te=function(){const _0x16f379=_0x2025fc;return te=Object['assign']||function(_0x5dee62){const _0x1167ee=_0x46d8;for(var _0x3ed36f,_0x10f76f=0x1,_0x26ae3c=arguments[_0x1167ee(0x161)];_0x10f76f<_0x26ae3c;_0x10f76f++){_0x3ed36f=arguments[_0x10f76f];for(var _0x1c1189 in _0x3ed36f)Object[_0x1167ee(0x33f)][_0x1167ee(0x413)][_0x1167ee(0x494)](_0x3ed36f,_0x1c1189)&&(_0x5dee62[_0x1c1189]=_0x3ed36f[_0x1c1189]);}return _0x5dee62;},te[_0x16f379(0x38b)](this,arguments);},Ea=function(_0x29979d,_0xf5431c){const _0x56210b=_0x2025fc;var _0x430ffa={};for(var _0x273633 in _0x29979d)Object['prototype'][_0x56210b(0x413)][_0x56210b(0x494)](_0x29979d,_0x273633)&&_0xf5431c[_0x56210b(0x1a5)](_0x273633)<0x0&&(_0x430ffa[_0x273633]=_0x29979d[_0x273633]);if(_0x29979d!=null&&typeof Object[_0x56210b(0x35d)]==_0x56210b(0x2d6)){for(var _0x1bb0c9=0x0,_0x273633=Object[_0x56210b(0x35d)](_0x29979d);_0x1bb0c9<_0x273633[_0x56210b(0x161)];_0x1bb0c9++)_0xf5431c[_0x56210b(0x1a5)](_0x273633[_0x1bb0c9])<0x0&&Object[_0x56210b(0x33f)][_0x56210b(0x227)][_0x56210b(0x494)](_0x29979d,_0x273633[_0x1bb0c9])&&(_0x430ffa[_0x273633[_0x1bb0c9]]=_0x29979d[_0x273633[_0x1bb0c9]]);}return _0x430ffa;},Us=_0x338e7b(function(_0x43d089,_0x306b76){const _0x21727b=_0x2025fc;var _0x23b322=_0x43d089[_0x21727b(0x213)],_0x3b36b9=_0x43d089['id'],_0x5ae39c=_0x43d089[_0x21727b(0x46c)],_0x2567fa=_0x43d089['extend'],_0x115f1c=Ea(_0x43d089,[_0x21727b(0x213),'id',_0x21727b(0x46c),'extend']),_0x50534e='univerjs-icon\x20univerjs-icon-'['concat'](_0x3b36b9,'\x20')['concat'](_0x5ae39c||'')['trim'](),_0x419fba=_0x28ff08('_'[_0x21727b(0x40a)](Ra()));return Zi(_0x23b322,''[_0x21727b(0x40a)](_0x3b36b9),{'defIds':_0x23b322[_0x21727b(0x428)],'idSuffix':_0x419fba[_0x21727b(0x122)]},te({'ref':_0x306b76,'className':_0x50534e},_0x115f1c),_0x2567fa);});function Zi(_0x30c318,_0x5384ca,_0x30d4f6,_0x55f5c9,_0x4512e3){const _0x367eed=_0x2025fc;return _0x10eb66(_0x30c318['tag'],te(te({'key':_0x5384ca},ba(_0x30c318,_0x30d4f6,_0x4512e3)),_0x55f5c9),(Ta(_0x30c318,_0x30d4f6)[_0x367eed(0x32c)]||[])[_0x367eed(0x23a)](function(_0x366425,_0x43eb0d){const _0x4eaa2b=_0x367eed;return Zi(_0x366425,''[_0x4eaa2b(0x40a)](_0x5384ca,'-')['concat'](_0x30c318[_0x4eaa2b(0x40b)],'-')['concat'](_0x43eb0d),_0x30d4f6,void 0x0,_0x4512e3);}));}function ba(_0x2033eb,_0x1dcdc3,_0x5d46eb){const _0x47816b=_0x2025fc;var _0x5aa307=te({},_0x2033eb['attrs']);_0x5d46eb!=null&&_0x5d46eb[_0x47816b(0x18b)]&&_0x5aa307[_0x47816b(0x46e)]===_0x47816b(0x18b)&&(_0x5aa307[_0x47816b(0x46e)]=_0x5d46eb['colorChannel1']);var _0x117dfd=_0x1dcdc3[_0x47816b(0x428)];return!_0x117dfd||_0x117dfd['length']===0x0||(_0x2033eb[_0x47816b(0x40b)]==='use'&&_0x5aa307[_0x47816b(0x29a)]&&(_0x5aa307[_0x47816b(0x29a)]=_0x5aa307[_0x47816b(0x29a)]+_0x1dcdc3[_0x47816b(0xd6)]),Object[_0x47816b(0xf5)](_0x5aa307)[_0x47816b(0x2e1)](function(_0x5b168c){const _0x526f5a=_0x47816b;var _0x37f5e2=_0x5b168c[0x0],_0x104eef=_0x5b168c[0x1];typeof _0x104eef=='string'&&(_0x5aa307[_0x37f5e2]=_0x104eef[_0x526f5a(0x11f)](/url\(#(.*)\)/,'url(#$1'[_0x526f5a(0x40a)](_0x1dcdc3[_0x526f5a(0xd6)],')')));})),_0x5aa307;}function Ta(_0x360076,_0x4667c5){const _0x2f633e=_0x2025fc;var _0x263520,_0x14c12b=_0x4667c5[_0x2f633e(0x428)];return!_0x14c12b||_0x14c12b[_0x2f633e(0x161)]===0x0?_0x360076:_0x360076['tag']===_0x2f633e(0x443)&&(!((_0x263520=_0x360076['children'])===null||_0x263520===void 0x0)&&_0x263520[_0x2f633e(0x161)])?te(te({},_0x360076),{'children':_0x360076['children'][_0x2f633e(0x23a)](function(_0x324b6e){const _0x3423e7=_0x2f633e;return typeof _0x324b6e[_0x3423e7(0xf3)]['id']==_0x3423e7(0x151)&&_0x14c12b&&_0x14c12b[_0x3423e7(0x1a5)](_0x324b6e[_0x3423e7(0xf3)]['id'])>-0x1?te(te({},_0x324b6e),{'attrs':te(te({},_0x324b6e[_0x3423e7(0xf3)]),{'id':_0x324b6e[_0x3423e7(0xf3)]['id']+_0x4667c5[_0x3423e7(0xd6)]})}):_0x324b6e;})}):_0x360076;}function Ra(){const _0x328892=_0x2025fc;return Math['random']()[_0x328892(0x135)](0x24)[_0x328892(0x1ec)](0x2,0x8);}Us[_0x2025fc(0x44d)]=_0x2025fc(0x265);var Oa={'tag':_0x2025fc(0x39f),'attrs':{'fill':_0x2025fc(0xe7),'viewBox':_0x2025fc(0x182),'width':_0x2025fc(0x2f0),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2025fc(0x167)},'children':[{'tag':'path','attrs':{'stroke':_0x2025fc(0x3a1),'d':_0x2025fc(0xd2),'strokeLinecap':'round','strokeLinejoin':_0x2025fc(0xe9),'strokeWidth':1.2}}]},{'tag':_0x2025fc(0x443),'attrs':{},'children':[{'tag':_0x2025fc(0x243),'attrs':{'id':_0x2025fc(0x425)},'children':[{'tag':_0x2025fc(0x320),'attrs':{'fill':'#fff','d':_0x2025fc(0x215)}}]}]}],'defIds':[_0x2025fc(0x425)]},Qi=_0x338e7b(function(_0x28794b,_0x426148){const _0x21423a=_0x2025fc;return _0x10eb66(Us,Object[_0x21423a(0x20c)]({},_0x28794b,{'id':'off-line-single','ref':_0x426148,'icon':Oa}));});Qi[_0x2025fc(0x44d)]='OffLineSingle';var ya={'tag':_0x2025fc(0x39f),'attrs':{'fill':_0x2025fc(0xe7),'viewBox':_0x2025fc(0x49c),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x2025fc(0x320),'attrs':{'stroke':_0x2025fc(0x3a1),'d':_0x2025fc(0x244),'strokeLinecap':_0x2025fc(0xe9),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2025fc(0x443),'attrs':{},'children':[{'tag':_0x2025fc(0x243),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x2025fc(0x48b),'d':_0x2025fc(0x215),'transform':_0x2025fc(0x24b)}}]}]}],'defIds':[_0x2025fc(0x1b7)]},er=_0x338e7b(function(_0x3e82a8,_0x528e3a){const _0x40ff6f=_0x2025fc;return _0x10eb66(Us,Object[_0x40ff6f(0x20c)]({},_0x3e82a8,{'id':_0x40ff6f(0x16f),'ref':_0x528e3a,'icon':ya}));});er[_0x2025fc(0x44d)]=_0x2025fc(0x1f9);function tr(_0x4c1e51){const _0x25188e=_0x2025fc;var _0x16a9a0,_0x54776e,_0x54f225='';if(typeof _0x4c1e51==_0x25188e(0x151)||typeof _0x4c1e51==_0x25188e(0xc7))_0x54f225+=_0x4c1e51;else{if(typeof _0x4c1e51==_0x25188e(0x297)){if(Array[_0x25188e(0x287)](_0x4c1e51)){var _0x7f7dbb=_0x4c1e51[_0x25188e(0x161)];for(_0x16a9a0=0x0;_0x16a9a0<_0x7f7dbb;_0x16a9a0++)_0x4c1e51[_0x16a9a0]&&(_0x54776e=tr(_0x4c1e51[_0x16a9a0]))&&(_0x54f225&&(_0x54f225+='\x20'),_0x54f225+=_0x54776e);}else{for(_0x54776e in _0x4c1e51)_0x4c1e51[_0x54776e]&&(_0x54f225&&(_0x54f225+='\x20'),_0x54f225+=_0x54776e);}}}return _0x54f225;}function wa(){const _0x5220e5=_0x2025fc;for(var _0x36eeb1,_0x3ad1e8,_0xefd7b0=0x0,_0x2d88af='',_0x32aa87=arguments[_0x5220e5(0x161)];_0xefd7b0<_0x32aa87;_0xefd7b0++)(_0x36eeb1=arguments[_0xefd7b0])&&(_0x3ad1e8=tr(_0x36eeb1))&&(_0x2d88af&&(_0x2d88af+='\x20'),_0x2d88af+=_0x3ad1e8);return _0x2d88af;}const Da='univer-online-status-icon',Pa=_0x2025fc(0x295),Na='univer-online-status',Ua=_0x2025fc(0x11d),Aa=_0x2025fc(0x3e7),Qe={'onlineStatusIcon':Da,'onlineStatusTitle':Pa,'onlineStatus':Na,'online':Ua,'offline':Aa};function Ma(_0x2cd0ff){const _0x3e6472=_0x2025fc;switch(_0x2cd0ff){case J['OFFLINE']:return'collabStatus.offline';case J['CONFLICT']:return _0x3e6472(0x415);case J[_0x3e6472(0x2d7)]:return _0x3e6472(0x433);case J[_0x3e6472(0x174)]:return _0x3e6472(0x466);case J[_0x3e6472(0x236)]:case J['AWAITING_WITH_PENDING']:return _0x3e6472(0x1b9);case J[_0x3e6472(0x274)]:case J[_0x3e6472(0x469)]:return'collabStatus.synced';}}function xa(_0x442d0e){const _0x4d3989=_0x2025fc,{status$:_0x1929b8}=_0x442d0e,_0x2d39c2=_0x5dcc9e(_0x1929b8,J[_0x4d3989(0x174)]),_0x46197f=_0x121dc7(_0x4b4756),_0x121ffb=_0x121dc7(xe),_0x1517c4=_0x2d39c2!==J[_0x4d3989(0x23c)],_0x5abe1f=_0x46197f['t'](Ma(_0x2d39c2)),_0x47bc11=wa(Qe['onlineStatus'],{[Qe[_0x4d3989(0x219)]]:_0x1517c4,[Qe[_0x4d3989(0x13e)]]:!_0x1517c4}),_0x2b5551=_0x1517c4?De['jsx'](er,{}):De['jsx'](Qi,{}),_0x2b07cc=_0x2496ba(()=>{const _0x4b19c3=_0x4d3989;_0x1517c4||_0x121ffb[_0x4b19c3(0x35e)]();},[_0x1517c4,_0x121ffb]);function _0x96c3ab(){const _0x56af11=_0x4d3989;return De[_0x56af11(0x110)](_0x56af11(0x192),{'className':_0x47bc11,'onClick':_0x2b07cc,'children':[De[_0x56af11(0x4b9)](_0x56af11(0x192),{'className':Qe[_0x56af11(0x1be)],'children':_0x2b5551}),De[_0x56af11(0x4b9)]('div',{'className':Qe['onlineStatusTitle'],'children':_0x5abe1f})]});}return _0x1517c4?_0x96c3ab():De[_0x4d3989(0x4b9)](_0x4ddf03,{'title':_0x46197f['t']('collab-client.tooltip.reconnect'),'children':_0x96c3ab()});}var La=Object[_0x2025fc(0x385)],$a=Object[_0x2025fc(0x18c)],Ha=(_0x279082,_0x17558f,_0x45f955,_0x227caf)=>{const _0x597949=_0x2025fc;for(var _0x1bd0d1=_0x227caf>0x1?void 0x0:_0x227caf?$a(_0x17558f,_0x45f955):_0x17558f,_0xd4b6e0=_0x279082[_0x597949(0x161)]-0x1,_0xc3e98c;_0xd4b6e0>=0x0;_0xd4b6e0--)(_0xc3e98c=_0x279082[_0xd4b6e0])&&(_0x1bd0d1=(_0x227caf?_0xc3e98c(_0x17558f,_0x45f955,_0x1bd0d1):_0xc3e98c(_0x1bd0d1))||_0x1bd0d1);return _0x227caf&&_0x1bd0d1&&La(_0x17558f,_0x45f955,_0x1bd0d1),_0x1bd0d1;},lt=(_0xf4e819,_0x2d9199)=>(_0x4bc06a,_0x3bd00e)=>_0x2d9199(_0x4bc06a,_0x3bd00e,_0xf4e819);let At=class extends _0x24229e{constructor(_0x5c5324,_0x3bc8ed,_0x538326,_0x7ab99a){const _0x1b06b8=_0x2025fc;super(),g(this,_0x1b06b8(0x1ac),new _0x1074c2(J[_0x1b06b8(0x174)])),(this[_0x1b06b8(0x3cf)]=_0x5c5324,this[_0x1b06b8(0x3e2)]=_0x3bc8ed,this[_0x1b06b8(0x147)]=_0x538326,this['_collaborationController']=_0x7ab99a,this[_0x1b06b8(0x2cc)](),this[_0x1b06b8(0x4ab)]());}['_initStatusListener'](){const _0x1bf207=_0x2025fc;this[_0x1bf207(0x10c)](this[_0x1bf207(0x3cf)]['focused$']['pipe'](_0x4e1242(()=>{const _0x4ae648=_0x1bf207,_0x2874c9=this[_0x4ae648(0x3cf)]['getFocusedUnit']();return _0x2874c9?this[_0x4ae648(0x1f0)][_0x4ae648(0x403)](_0x2874c9[_0x4ae648(0x10b)]()):_0x43d0da(null);}),_0x4e1242(_0x1f5bd4=>_0x1f5bd4?_0x1f5bd4[_0x1bf207(0x1cf)]:_0x43d0da(J['NOT_COLLAB'])))[_0x1bf207(0x140)](_0x1efa99=>{const _0x203591=_0x1bf207;this[_0x203591(0x1ac)]['next'](_0x1efa99);}));}[_0x2025fc(0x2cc)](){const _0x4a15c1=_0x2025fc;this[_0x4a15c1(0x10c)](this['_uiPartsService']['registerComponent'](_0x2879fd[_0x4a15c1(0x25a)],()=>_0x556999(ja({'status$':this[_0x4a15c1(0x1ac)][_0x4a15c1(0xf7)]()}),this[_0x4a15c1(0x147)])));}};At=Ha([lt(0x0,_0x425cee),lt(0x1,_0x100c23),lt(0x2,_0x5847bf(_0x5d7671)),lt(0x3,_0x5847bf(rt))],At);function ja(_0x58b9a5){const {status$:_0x33afc2}=_0x58b9a5;return function(){const _0x22508f=_0x46d8;return De[_0x22508f(0x4b9)](xa,{'status$':_0x33afc2});};}const sr=_0x30094b(_0x2025fc(0xe1));var Ba=Object[_0x2025fc(0x385)],ka=Object[_0x2025fc(0x18c)],Wa=(_0x335559,_0x24945f,_0x284b0c,_0xaa5ae5)=>{for(var _0xb36413=_0xaa5ae5>0x1?void 0x0:_0xaa5ae5?ka(_0x24945f,_0x284b0c):_0x24945f,_0x14fb12=_0x335559['length']-0x1,_0x4cddc4;_0x14fb12>=0x0;_0x14fb12--)(_0x4cddc4=_0x335559[_0x14fb12])&&(_0xb36413=(_0xaa5ae5?_0x4cddc4(_0x24945f,_0x284b0c,_0xb36413):_0x4cddc4(_0xb36413))||_0xb36413);return _0xaa5ae5&&_0xb36413&&Ba(_0x24945f,_0x284b0c,_0xb36413),_0xb36413;},ke=(_0x24c065,_0x232318)=>(_0x5de502,_0x22d8d5)=>_0x232318(_0x5de502,_0x22d8d5,_0x24c065);let Mt=class extends _0x5ec0cb{constructor(_0x1e07a3,_0x5370b5,_0x502cf4,_0x3832a3,_0x5bc5d8,_0x4ee62e){const _0x162afe=_0x2025fc;super(),this['_urlService']=_0x1e07a3,this[_0x162afe(0xc1)]=_0x5370b5,this['_commandService']=_0x502cf4,this[_0x162afe(0x2a4)]=_0x3832a3,this[_0x162afe(0xd5)]=_0x5bc5d8,_0x4ee62e?_0x4ee62e==null||_0x4ee62e[_0x162afe(0x214)]()[_0x162afe(0x1c0)](()=>this[_0x162afe(0x100)]()):(this[_0x162afe(0xc1)][_0x162afe(0x456)](_0x162afe(0x307),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x162afe(0x100)]());}async[_0x2025fc(0x100)](){const _0x13f306=_0x2025fc,_0x593989=this[_0x13f306(0x371)][_0x13f306(0x30a)](_0x13f306(0x2bb)),_0x5723ac=this['_urlService'][_0x13f306(0x30a)](_0x13f306(0x442));if(!_0x593989||!_0x5723ac){this[_0x13f306(0xc1)][_0x13f306(0x456)]('[DataLoaderController]',_0x13f306(0x1b8));return;}switch(Number(_0x5723ac)){case ae[_0x13f306(0x4a6)]:{const _0x1783f5=await this[_0x13f306(0xfd)](_0x593989);this['_setupSubUnitSync'](_0x1783f5);break;}case ae['UNIVER_DOC']:{await this['_loadDoc'](_0x593989);break;}default:{this[_0x13f306(0xc1)]['error'](_0x13f306(0x307),_0x13f306(0x405));break;}}}async[_0x2025fc(0x115)](_0xb7ac47){const _0x530346=_0x2025fc;await this['_updateSubUnitFromURLParams'](_0xb7ac47),_0xb7ac47[_0x530346(0x232)][_0x530346(0x150)](_0x7b6507(this['dispose$']))[_0x530346(0x140)](_0x2424cb=>{const _0x4d8983=_0x530346;_0x2424cb&&this[_0x4d8983(0x3d5)](_0x2424cb);}),this[_0x530346(0x371)][_0x530346(0xb2)][_0x530346(0x150)](_0x7b6507(this[_0x530346(0x345)]))[_0x530346(0x140)](()=>this[_0x530346(0x281)](_0xb7ac47));}[_0x2025fc(0x3d5)](_0x3fc208,_0x27d98e=!0x1){const _0x3e5a11=_0x2025fc,_0x2f8252=this[_0x3e5a11(0x371)][_0x3e5a11(0x30a)](_0x3e5a11(0x35c));_0x3fc208[_0x3e5a11(0x369)]()!==_0x2f8252&&this[_0x3e5a11(0x371)][_0x3e5a11(0x43d)](_0x3e5a11(0x35c),_0x3fc208[_0x3e5a11(0x369)](),_0x27d98e);}async[_0x2025fc(0x281)](_0x455028){const _0x46159e=_0x2025fc;var _0x311bef;const _0x28ca29=this[_0x46159e(0x371)]['getParam']('subunit');if(!_0x28ca29||!_0x455028[_0x46159e(0xe2)](_0x28ca29)){const _0x180e0a=_0x455028['getUnhiddenWorksheets']()[0x0],_0xdeac75=_0x455028[_0x46159e(0xe2)](_0x180e0a);if(!_0xdeac75)return;this['_updateURLWithCurrentState'](_0xdeac75,!0x0),await this[_0x46159e(0x481)][_0x46159e(0x344)](_0x31bc6f['id'],{'unitId':_0x455028[_0x46159e(0x10b)](),'subUnitId':_0x180e0a});return;}((_0x311bef=_0x455028[_0x46159e(0x406)]())==null?void 0x0:_0x311bef[_0x46159e(0x369)]())!==_0x28ca29&&await this[_0x46159e(0x481)][_0x46159e(0x344)](_0x31bc6f['id'],{'unitId':_0x455028[_0x46159e(0x10b)](),'subUnitId':_0x28ca29});}async['_loadSheet'](_0x54262c){const _0x53ca76=_0x2025fc;let _0x509433=0x0;const _0xf128a5=await this[_0x53ca76(0x2a4)][_0x53ca76(0x3cc)](_0x54262c);return _0xf128a5&&(_0xf128a5['awaitingChangeset']||_0xf128a5[_0x53ca76(0x335)][_0x53ca76(0x161)]!==0x0)&&(_0x509433=_0xf128a5[_0x53ca76(0x220)]),_0x509433===0x0&&this[_0x53ca76(0xc1)]['debug'](_0x53ca76(0x307),_0x53ca76(0x2d2)),this[_0x53ca76(0xd5)]['loadSheet'](_0x54262c,_0x509433);}async['_loadDoc'](_0x308801){const _0x2fd233=_0x2025fc;let _0xf21ae=0x0;const _0x4db73e=await this['_localCacheService'][_0x2fd233(0x3cc)](_0x308801);return _0x4db73e&&(_0x4db73e[_0x2fd233(0x3b0)]||_0x4db73e[_0x2fd233(0x335)][_0x2fd233(0x161)]!==0x0)&&(_0xf21ae=_0x4db73e[_0x2fd233(0x220)]),_0xf21ae===0x0&&this['_logService']['debug']('[DataLoaderController]',_0x2fd233(0x2d2)),this[_0x2fd233(0xd5)][_0x2fd233(0x259)](_0x308801,_0xf21ae);}};function _0x5197(){const _0x4d5cc6=['path','#FFF','getStateCache','_doCryptBlock','mode','COLLAB_SUBMIT_CHANGESET_URL','getOffsetConfig','getCollabCursors$','_waitCount','[OfflineState]:\x20received\x20rejection.','byteLength','hostname','children','cmd','onSendChangeset','CHANGESET_SHOULD_RETRY','_getLoginPath','ALREADY_EXISTS','/unit/','[CollaborationState]:\x20apply\x20error!','[OfflineState]:\x20received\x20acknowledgement.','mutations','fillRule','_heartbeatTimer','transformUndoRedo','roles','reject','_startTelemetryCollaborationNewChangeset','url','startsWith','get','prototype','roomMembers','_getDownloadEndpointURL','_onRefRangeChange','_docSkeletonManagerService','executeCommand','dispose$','_clearCollaborationTimeoutTimer','undoState','_docTransformSelectionsService','JOINING','abs','_online','_unitOnClients','listCollaborators','getRangePointData','_schedule','_collaborationTimeoutTimer','_createInitialState','words','BlockCipherMode','rng','_iv','requestParams','symbol','popstate','docStateChange$','UNAUTHENTICATED','UNKNOWN_CODE','subunit','getOwnPropertySymbols','reconnect','_acknowledgedAwaitingChangeset','not_collab','state$','_messageService','_onRemoteChangeset','interceptor','INGEST','_handleEvent','_drawAnchor','_draw','getSheetId','encrypt','enableSingleActiveInstanceLock','react.fragment','moveTo','NEW_CHANGESETS','_substituteRedoStack','csShouldRetryEvent','_urlService','addObjects','ceil','liveShareNewHost','toggleOnline','reverse','fetch_missing','clamp','createCollaborator','_toggleOffline','_onCursorUpdate','FETCH_MISSING','_nDataBytes','userID','top','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','collaMsg','next','_imageSourceCache','patch','defineProperty','_name','LEAVE','IDLE','beginPath','\x20-\x20','apply','onTransformIME','LICENSE_DISTRO_REJECTED','UNIVER_UNKNOWN','setCurrentUser','liveShareOperation','getDocRanges','image/png','reduce','mixIn','all','_sendingTimer','/allowed','_pendingMutations','synced','snapshotServerUrl','collab-text-anchor-','set','react.element','transformMutationsWithChangeset','svg','params','currentColor','_initUnitPermissionChange','_transformPreviousActiveRange','collabWebSocketUrl','_clearScheduledTask','_eventUnsubscribe','_roomMembers','ENSURE_SNAPSHOT_EXECUTION','_localeService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_socketReady','UnitSnapshot','UNIVER_DOC','_state$','_createInitialStateImpl','awaitingChangeset','exhaustSavingTask','COMPRESS_MUTATION_APPLY','flatMap','height','purple300','_clearHeartbeatTimer','addImageSourceCache','_getCurrentRevision','Warning','repeat','padding','_changesetSessionId','unshift','_state','_hash','list','[CollaborationSession]','show','{fileID}','target','complete','_singleActiveUnitService','_hover','default','_replayCachedMutations','fetchThroughInterceptors','_exhaustRemoteChangesetQueue','loadOfflineData','_render','UUID','_univerInstanceService','_syncEditingCollabCursor','session.room-permission-denied','SHA1','commentUpdate$','createEncryptor','_updateURLWithCurrentState','_keyPriorReset','CHANGESET_ACK','\x0aCurrent:\x20','session.join-failed','_entities','_ENC_XFORM_MODE','USERS_LEAVE','YUUMI_UNABLE_LOAD_URL','members','_members','_onUserLeave','TOO_MANY_REQUESTS','_uiPartsService','getUnitType','_getAnchorBounding','newValue','socket\x20open.','univer-offline','UNDEFINED','currentTheme$','_onCombEvent','saveImage','searchParams','values','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','permissionRejEvent','decryptBlock','href','max','allowed','_handleLeaveEvent','FromArray','_HTTPService','Hasher','_roomMembers$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','currentSkeleton$','_updateCollabCursors','/universer-api/file/{fileID}/sign-url','clearInterval','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getFocusedUnit','message$','onTransformState','endRow','getCollabEntity$','_nRounds','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getActiveSheet','onload','_createSocketURL','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','concat','tag','_getCtorByUniverType','requireSession','sendChangesetTimeout','onRemoteAck','retryConnectingInterval','PERMISSION_DENIED','onRemoteRetry','hasOwnProperty','[CollaborationSessionService]:\x20socket\x20error','collabStatus.conflict','closeSession','visibilityState','_transformHistoryAndStateStack','getMember','refreshPermission','enableAuthServer','_unitID','ERROR_EXCEED_SIZE','JOIN_ROOM_NOT_EXISTS','body','encode','_getRedoStack','transformRemoteChangeset','/universer-api/authz','fetching\x20missing\x20changesets\x20from\x20','off-line-single_clip0_910_343','_color','sid','defIds','_startCollaboration','getValue','collab-text-range-','failed\x20to\x20apply\x20missed\x20changesets!','_decreaseWaiting','objectActions','onRendered','getUnitStatus$','collaborators','[CollaborationUndoRedoService]','collabStatus.fetchMiss','_cipher','Undefined','fetchMissingChangesets','_checkMissing','text','_retryCount','_scheduleClearOtherTimer','selection','72kwfkCy','setParam','registerRefRange','CONNECTOR_DATA_TOO_LARGE','skeleton','transform','type','defs','_removeClearOtherTimer','POST','enableOfflineEditing','saveChangeset','/-/object/list','_cursors','override','_listenToOnlineEvent','LIVESHARE_OPERATION','displayName','_entityInit$','m1Prime','BufferedBlockAlgorithm','collabCursorState$','_handler','101836GxltVa','_getSheetObject','toRgbString','debug','subUnitId','revision','unit-cache-','_handleJoinEvent','NOT_FOUND','key','LOGIN_URL_KEY','_collaborationPaused','pad','localeService','_clearOtherTimers','subject','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','resize','_startSheetCollabCursor','collabStatus.notCollab','hide','compose','PENDING','pending','NO_OTHER_CLIENTS_EDITING','className','open$','fill','randomBytes','_transitionLocked','memberID','UNIVER_SLIDE','application/json','red300','collaboration-client.offline-data-not-saved','HEARTBEAT_TIMEOUT','fillStyle','width','Malformed\x20UTF-8\x20data','_shouldReportTelemetry','onMouseMove','UPDATE_PERMISSION_OBJ','_awaitingChangeset','YUUMI_RATE_OVER_LIMIT','_socketMessageSubscription','?url=','_commandService','measureText','endColumn','initWorkbookPermissionChange','defaultProps','_initMergeInterceptor','withCredentials','Utf8','_scheduleSaving','bottom','#fff','getImageSourceCache','joinRsp','random','slice','_backgroundColor','result','_tryEnsureSocket','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','call','doc.mutation.rich-text-editing','AUTHZ_URL_KEY','getCollabEntity','_initCommandExecutedListener','_labelPosition','actions','SNAPSHOT_INVALID_SNAPSHOT','0\x200\x2017\x2016','/object/','_unitStatus','registerRenderModule','_clearTimeoutTimer','image/gif','extend','sigBytes','JOIN_ROOM_FULL','HEARTBEAT','UNIVER_SHEET','_startDocCollabCursor','_resendTimer','_transformStack','sheetID','_initStatusListener','_tryReconnect','_unlockTransition','_ensureSubject','APPLY_NON_SEQUENTIAL_REVISION','add','clearTimeout','_send','_timeoutTimer','_onUserJoin','SUCCUSS','transformMutation','&assign=','arc','jsx','unload','_initRequestHeader','ACTIVE_UNIT_EVENT_CHANNEL','AWAITING_WITH_PENDING','buffer','ERROR_IMAGE_TYPE','onRemoteRej','_stopTelemetryCollaborationNewChangeset','put','_getSaveTimeout','Latin1','OTHER_CLIENTS_EDITING','_collabCursorController','drawWith','ONLINE','fromCollab','session.room-cnt-exceeds','PasswordBasedCipher','transformStack\x20failed!','urlChange$','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_configService','_createHelper','_userManagerService','socket$','filter','_process','LIVESHARE_REQUEST_HOST','Fragment','_removeRoom','INTERNAL_ERROR','decrypt','update','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_logService','syncEditingCollabCursor','USERS_ENTER','imageSourceType','history','_listenToOfflineEvent','number','[PendingState]:\x20unhandled\x20univer\x20type:\x20','send','UNIVER_COLLABORATION_CLIENT_PLUGIN','transformIMECache','startTime','_colorIndex','getAllMembers','charCodeAt','11373057DWoovu','_range','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','includes','_colorAssignService','_snapshotService','idSuffix','removeMember','resend','_transformSelections','_resendTimeout','enc','getSnapshotAPIPath','BlockCipher','COLLAB_WEB_SOCKET_URL','_onFetchMissResult','setAlpha','uni.network.url-service','getSheetBySheetId','_http','onStateChange','ranges','_type','none','_instanceService','round','JOIN','CipherParams','univer-pro.collaboration-client-socket-service','transformByState','280yTOAYS','getCurrentSelections','Hex','APPLY_PERMISSION_DENIED','editingUnit','attrs','_onConflict','entries','randomUUID','asObservable','_assignedColors','x-univer-host','onRemoteChangeset','editing\x20status\x20changed\x20to','AES','_loadSheet','onStarting','_compressMutationService','_init','APPLY_DUPLICATED','PERMISSION_REJ','conflict.content','UNRECOGNIZED','_onConnectionFailed','onTransformSelections','_hasher','HmacSHA1','_scheduleTimestamp','_docStateChangeManagerService','getUnitId','disposeWithMe','_DEC_XFORM_MODE','_getAPIPrefixPath','YUUMI_SUBSCRIPTION_NOT_FOUND','jsxs','storage','blockSize','subscribeEvent','29066wBmWdT','_setupSubUnitSync','clear','c2Prime','lib','getImage','charAt','_onMessage','from','univer-online','stringify','replace','OpenSSL','onPointerLeave$','current','_ws','[CollaborationEntity]','_showConflictNotification','formatter','floor','_transformService','UNKNOWN_CMD','createInstance','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','sheetId','_minBufferSize','selections','_getSessionTicket','_refreshCollabCursors','sessionTicket','_onRemoteRetry','getDeserializedSheetBlock','setConfig','toString','_docTransformStateCacheService','conflict','_initCloseConn','_incrementRevisionNumber','_submitChangeset','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','cursorInfo','_registerRenderDependencies','offline','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','subscribe','ivSize','event$','onMissedChangesetFetched','_snapshotServerService','msCrypto','for','_injector','originalMeta','_onOffline','_initResize','getCurrentUser','getRoom','_sheetSkeletonManagerService','LICENSE_MAX_UNITS_EXCEEDED','save','pipe','string','method','reqId','_updateStatus','_setupBeforeClosingHandler','_imageIoService','_getScale','onCommentUpdate','findNodePositionByCharIndex','_id','addClipboardHook','NoPadding','transformStateCache','HmacMD5','routeKey','resourceIDs','length','_queuedRemoteChangesets','connection\x20error','createSocket','delete','/rev/','url(#off-line-single_clip0_910_343)','_onJoinRoomEvent','getCellPositionByOffset','location','_config','_invKeySchedule','setTimeout','collaboration.single-unit.warning','on-line-single','collaboration.closeRoom','saveSheetBlock','/universer-api/snapshot/','_cachedData','NOT_COLLAB','jiqing500','hidden','LIVESHARE_FETCH_OPERATIONS','DeleteRangeMoveUpCommandId','code','&to=','post','HELLO','finalize','session','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_REJ','_beforeCloseService','0\x200\x2016\x2016','collaboratorID','/universer-api/stream/file/upload','session.connection-failed','uploadFileServerUrl','_syncEditingCollabCursorService','_candidateSocket','commentUpdateEvent','onCommandExecuted','colorChannel1','getOwnPropertyDescriptor','_shapes','readAsDataURL','row','image/jpeg','_transformRemoteChangesetByIMECache','div','_onRemoteRejected','_getSendChangesetTimeout','_lastPointer','action','collaboration-client.config','_changesetReqId','_updateLocalCursor','error$','_saveTaskMap','[UniverCollaborationClientPlugin]','_updateState','isActive','_handleHover','[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.','collaboration-session-retry','permission.content','redoState','__creator','indexOf','getUnit','COMPRESS_MUTATION_SEND','_fetchMissChangesets','_getAPIPrefix','setItem','lineTo','_status$','_anchorDot','SUBMIT_CHANGESET','min','_revisionService','textRanges','_change$','_selfUnitIDs','algo','readInt32LE','visibilitychange','on-line-single_clip0_910_349','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collabStatus.syncing','_drawTextRange','removeParam','with','infoRsp','onlineStatusIcon','_transformIMECache','then','awaiting_with_pending','_getMergeRange','awaiting','catch','getActiveRange','equals','name','_themeService','WordArray','LICENSE_IMPORT_SIZE_EXCEEDED','_getUndoStack','_rescheduleHeartbeat','_keySchedule','/block/','status$','_onRemoteACK','kdf','_cursorShapes','isPermissionRej','_onRecvEvent','FAIL','column','saveOfflineData','APPLY_REVISION_CONFILICT','now','_removeCollabCursors','objectID','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_toggleOnline','_reverseMap','...','unpad','318660LnECwi','_redoStacks','_clearUndo','substr','dispose','PERSON','HMAC','setShowComponents','_mode','_collabCursorState$','baseRev','substring','MoveRangeCommandId','_docSyncEditingCollabCursorService','objects','_collaborationController','loginUrlKey','InsertRangeMoveDownCommandId','MSG_FOR_ERROR','UNIVER_PROJECT','onSyncEditingCollabCursor','_docTransformIMECacheService','json','_clearLocalCache','OnLineSingle','/universer-api/comb','_cursor','RETRY_CONNECTING_MAX_COUNT','salt','_substituteUndoStack','sessionStatus$','range','29911320AsHNJH','socketService','makeDirty','_sendHeartbeat','Encryptor','close','_localStorageService','fromCharCode','getUndoRedoMutationParamsCache','roomMembers$','getViewport','assign','onPointerMove$','/universer-api/snapshot','_remoteChangesetQueue','generateRandomId','parse','_socket','icon','whenReady','M0\x200H16V16H0z','reset','getConfig','MD5','online','addObject','/collaborator','_onLocalMutation','setUndoRedoMutationParamsCache','_undoRedoService','getCurrentRevOfUnit','rev','crypto','onTransformChange$','authzUrl','format','_waitForHeartbeatResponse','sin','propertyIsEnumerable','_doReset','__esModule','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_initEventListeners','Base64','leaveEvent','_onConnectionOpen','push','_createHandler','transformSelections','activeSheet$','HEARTBEAT_INTERVAL','Pkcs7','updateCursorEvent','AWAITING','hovered','addEventListener','UnitEmbedded','map','capture','OFFLINE','startRow','LICENSE_EXPORT_SIZE_EXCEEDED','SHOULD_CLOSE_CONN','getSkeleton','_clearRedo','toggleOffline','clipPath','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','_append','RECT','RECV','unknown','_createSocket','_getUploadFileURL','translate(.97)','has','updateMember','sheets','5468865oAKzcg','cfg','&source=','encodeURIComponent','every','keySize','Decryptor','_parse','INVALID_ARGUMENT','ERROR_IMAGE','loadDoc','HEADER_MENU','cursorInfo$','origin','_commentService','getInterceptPoints','_iKey','listRoles','hasher','black','_sessions','_throwTelemetryCollaborationNewChangeset','UniverIcon','getRenderById','GLOBAL_ROOMS_CNT_EXCEEDS','/universer-api/oidc/authpage','ticket','c1Prime','color','_hovered','46wsdAMK','getUniverSheetInstance','_transformStateCache','m2Prime','assignAColorForMemberID','\x20to\x20','unitId','SYNCED','/new_changes','stopTime','getAncestorScale','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','error','ciphertext','?size=','sessionStatus','create','_data','_onCursorDelete','_saveCache','_updateSubUnitFromURLParams','[OfflineState]:\x20received\x20changeset.','focused$','_oKey','responseType','getRandomValues','isArray','conflict.title','init','evenodd','eventID','headers','FileId','socket\x20close','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','/resources','updateOfflineData','permission.title','Unknown\x20user','_context','univer-online-status-title','_document','object','Base','registerHTTPInterceptor','xlink:href','LIVESHARE_NEW_HOST','[CollaborationSessionService]','_lockTransition','_collabSessionService','_collaborationSessionService','data','telemetry\x20info\x20is\x20not\x20initialized','HttpImport','_createHmacHelper','_localCacheService','onMissingChangesets','CHANGESET_REVISION_CONFILICT','_scene','SNAPSHOT_HAS_BEEN_REMOVED','replaceState','avatar','copyFileMeta','size','deepClone','_executeRemoteChangeset','_initDependencies','_socket$','setShapeProps','SEND_CHANGESET_TIMEOUT','_commentUpdate$','_docClipboardService','_anchor','COMMENT_UPDATE','appendMutation','TEXT','_refRangeService','EvpKDF','unit','_map','onPointerEnter$','disableLocalCache','unitID','_applyRemoteChangeset','bind','createDecryptor','getTypeOfUnitAdded$','clone','MUTATION','split','_transformUndoRedoStack','registerBeforeClose','/-/object/-/batch_allowed','compute','pushState','_initStatusComponent','gold400','updatePermissionPoint','state','_resendWithTimeout','engine','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_undoStacks','_sender','_transformRemoteChangesetByStateCache','function','FETCH_MISS','_httpService','_disableEditing','InsertColCommandId','registerOnClose','execute','unsubscribe','\x20in\x20_schedule.','onlyLocal','_sendHeartbeatTimer','forEach','_retryConnectingTimer','_notificationService','_disabled','_telemetryInfo','objectType','_scheduleHeartbeat','status','_updateLocalCache','changesets','onTransformRemoteChangesetByStateCache','[SyncedState]:\x20received\x20rejection.','_transformUndoredo','Error','LIVESHARE_TERMINATE','1em','_sessionStatus$','getTypeOfUnitDisposed$','JOIN_ROOM_PERMISSION_DENIED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getCurrent','getTime','/role','labelPosition','replaceDocRanges','_permissionService','_handleHeartbeatEvent','join','fetchMiss','_textBubble','updateCollaborator','_hideTimer','transformChangesets','HttpExport','YUUMI_URL_COL_OUT_OF_RANGE','_event$','_prevBlock','_key','[DataLoaderController]','blue400','restore','getParam','csRejEvent','image/jpg','_socketService','42936Nwetvk','UPDATE_CURSOR','getResourcesRequest','_telemetryService','CONFLICT','_xformMode','change$','_scheduleCollaborationTimeoutTimer','getMemberID','exports','_session','_renderManagerService','_cursorInfo$','_sheetTransformSelectionsService','_memberService','Cipher','SerializableCipher','BASE64'];_0x5197=function(){return _0x4d5cc6;};return _0x5197();}Mt=Wa([ke(0x0,sr),ke(0x1,_0x49d195),ke(0x2,_0x28287a),ke(0x3,_0x5847bf(z)),ke(0x4,_0x5847bf(_0x3ef466)),ke(0x5,_0x133fb4(_0x3b46ab))],Mt);var Fa=Object[_0x2025fc(0x385)],Va=Object[_0x2025fc(0x18c)],Ga=(_0x2e2939,_0x5c4d2d,_0x48cdf2,_0x330165)=>{const _0x403702=_0x2025fc;for(var _0x317d64=_0x330165>0x1?void 0x0:_0x330165?Va(_0x5c4d2d,_0x48cdf2):_0x5c4d2d,_0x1f656f=_0x2e2939[_0x403702(0x161)]-0x1,_0x2ca9ad;_0x1f656f>=0x0;_0x1f656f--)(_0x2ca9ad=_0x2e2939[_0x1f656f])&&(_0x317d64=(_0x330165?_0x2ca9ad(_0x5c4d2d,_0x48cdf2,_0x317d64):_0x2ca9ad(_0x317d64))||_0x317d64);return _0x330165&&_0x317d64&&Fa(_0x5c4d2d,_0x48cdf2,_0x317d64),_0x317d64;},ai=(_0x17ec59,_0x3b2abb)=>(_0x18463a,_0x19d326)=>_0x3b2abb(_0x18463a,_0x19d326,_0x17ec59);const Ya='DEFAULT_FILE_NAME',Ka='Univer';let xt=class extends _0x24229e{constructor(_0x369fa9,_0x18770d){const _0x47cf3e=_0x2025fc;super(),this[_0x47cf3e(0x3cf)]=_0x369fa9,this[_0x47cf3e(0xb4)]=_0x18770d,this[_0x47cf3e(0x100)]();}[_0x2025fc(0x100)](){const _0x28f96=_0x2025fc;this['disposeWithMe'](this[_0x28f96(0x3cf)][_0x28f96(0x283)]['subscribe'](()=>{const _0x1766c1=_0x28f96;var _0x282296;const _0x24c51b=this[_0x1766c1(0x3cf)][_0x1766c1(0x3ff)]();let _0x4127e2=(_0x282296=this[_0x1766c1(0xb4)][_0x1766c1(0x217)](Ya))!=null?_0x282296:Ka;_0x24c51b instanceof _0x21f116&&(_0x4127e2=_0x24c51b['name']),document['title']=_0x4127e2;}));}};xt=Ga([ai(0x0,_0x425cee),ai(0x1,_0x4df844)],xt);var qa=Object['defineProperty'],za=Object[_0x2025fc(0x18c)],Xa=(_0x3a8bd8,_0x39b237,_0x597302,_0x2b8851)=>{const _0x3120f1=_0x2025fc;for(var _0x54edf7=_0x2b8851>0x1?void 0x0:_0x2b8851?za(_0x39b237,_0x597302):_0x39b237,_0x5ed1a1=_0x3a8bd8[_0x3120f1(0x161)]-0x1,_0x3fab3a;_0x5ed1a1>=0x0;_0x5ed1a1--)(_0x3fab3a=_0x3a8bd8[_0x5ed1a1])&&(_0x54edf7=(_0x2b8851?_0x3fab3a(_0x39b237,_0x597302,_0x54edf7):_0x3fab3a(_0x54edf7))||_0x54edf7);return _0x2b8851&&_0x54edf7&&qa(_0x39b237,_0x597302,_0x54edf7),_0x54edf7;},is=(_0x20bd93,_0x107893)=>(_0x1dfe25,_0x369054)=>_0x107893(_0x1dfe25,_0x369054,_0x20bd93);let Lt=class{constructor(_0x166ae8,_0x2e1659,_0x38a74b){const _0x469c14=_0x2025fc;this[_0x469c14(0xb4)]=_0x166ae8,this[_0x469c14(0x2d8)]=_0x2e1659,this[_0x469c14(0x460)]=_0x38a74b,this['init']();}[_0x2025fc(0x289)](){const _0xbeb9e3=_0x2025fc;this[_0xbeb9e3(0x2d8)][_0xbeb9e3(0x299)]({'priority':0x1,'interceptor':(_0x3e5f7f,_0x4806e5)=>_0x4806e5(_0x3e5f7f)[_0xbeb9e3(0x150)](_0x4ab7bd(async _0x4d1407=>{const _0x1161f8=_0xbeb9e3,_0x2e6f0f=_0x4d1407;if(_0x2e6f0f[_0x1161f8(0x2e8)]===0x191&&window['confirm'](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x4e2391=window[_0x1161f8(0x252)](window[_0x1161f8(0x16a)][_0x1161f8(0x3f1)]);window[_0x1161f8(0x16a)]['href']=this[_0x1161f8(0x330)]()+_0x1161f8(0x480)+_0x4e2391;}return _0x2e6f0f;}))});}[_0x2025fc(0x330)](){const _0x3882d7=_0x2025fc;var _0x2d8118,_0x14b9db;const _0x5c0028=this[_0x3882d7(0xb4)]['getConfig'](Hn),_0x545893=this[_0x3882d7(0xb4)]['getConfig'](Q);return(_0x14b9db=(_0x2d8118=_0x545893==null?void 0x0:_0x545893[_0x3882d7(0x1f1)])!=null?_0x2d8118:_0x5c0028)!=null?_0x14b9db:jn;}};Lt=Xa([is(0x0,_0x4df844),is(0x1,_0x5847bf(_0x310387)),is(0x2,_0x5847bf(_0x4b4756))],Lt);var Ja=Object[_0x2025fc(0x385)],Za=Object['getOwnPropertyDescriptor'],Qa=(_0xa78cf4,_0x1fe76e,_0x494151,_0x43ebc6)=>{const _0x2ea55d=_0x2025fc;for(var _0x2527a7=_0x43ebc6>0x1?void 0x0:_0x43ebc6?Za(_0x1fe76e,_0x494151):_0x1fe76e,_0x44b86e=_0xa78cf4[_0x2ea55d(0x161)]-0x1,_0x5bf5cc;_0x44b86e>=0x0;_0x44b86e--)(_0x5bf5cc=_0xa78cf4[_0x44b86e])&&(_0x2527a7=(_0x43ebc6?_0x5bf5cc(_0x1fe76e,_0x494151,_0x2527a7):_0x5bf5cc(_0x2527a7))||_0x2527a7);return _0x43ebc6&&_0x2527a7&&Ja(_0x1fe76e,_0x494151,_0x2527a7),_0x2527a7;},ci=(_0x5cf53a,_0x348d8b)=>(_0x343837,_0x3a54c8)=>_0x348d8b(_0x343837,_0x3a54c8,_0x5cf53a);const ir=_0x2025fc(0x496),ec=_0x2025fc(0x423);let ps=class extends _0x24229e{constructor(_0x30ca7b,_0x4988e0){const _0x1a5b48=_0x2025fc;super(),this['_HTTPService']=_0x30ca7b,this[_0x1a5b48(0xb4)]=_0x4988e0,this[_0x1a5b48(0x486)]();}[_0x2025fc(0x486)](){const _0xf934e5=_0x2025fc,_0xcfe61c=this;this[_0xf934e5(0x10c)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x212a92({'isMatch'(_0x6b0dd2){const _0x9c326=_0xf934e5;var _0x1038de;if(_0x6b0dd2[_0x9c326(0x152)]===_0x9c326(0x445)&&((_0x1038de=_0x6b0dd2['requestParams'])!=null&&_0x1038de['body'])){const {objectID:_0x3cb908,objectType:_0x11f4c7}=_0x6b0dd2[_0x9c326(0x356)][_0x9c326(0x41f)]||{};if(!_0x3cb908||_0x11f4c7===void 0x0)return!0x1;const _0x492097=_0xcfe61c[_0x9c326(0x10e)]()+'/'+_0x11f4c7+_0x9c326(0x49d)+_0x3cb908+_0x9c326(0x397);if(_0x6b0dd2['url']===_0x492097)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x58983c){const _0x53aa7a=_0xf934e5;var _0x1a3028;return(_0x1a3028=_0x58983c[_0x53aa7a(0x356)])==null?void 0x0:_0x1a3028[_0x53aa7a(0x41f)];},'mergeParamsToRequest'(_0x8cda02,_0x14ff66){const _0x1055c3=_0xf934e5,_0x366681=_0xcfe61c[_0x1055c3(0x10e)]()+_0x1055c3(0x2c9),_0x1ac405=_0x8cda02[_0x1055c3(0x393)]((_0x482dfd,_0x1baa0d)=>{const _0x25a065=_0x1055c3,{unitID:_0x2d18b8,objectID:_0x4f9ff8,objectType:_0x4fee8e,actions:_0x129cd3}=_0x1baa0d;return _0x482dfd[_0x2d18b8]||(_0x482dfd[_0x2d18b8]={}),_0x482dfd[_0x2d18b8][_0x4f9ff8]||(_0x482dfd[_0x2d18b8][_0x4f9ff8]={'objectID':_0x4f9ff8,'objectType':_0x4fee8e,'actions':[]}),_0x482dfd[_0x2d18b8][_0x4f9ff8][_0x25a065(0x49a)][_0x25a065(0x22f)](..._0x129cd3),_0x482dfd;},{}),_0x94014=[];for(const _0x24f5c4 in _0x1ac405)for(const _0x12ee54 in _0x1ac405[_0x24f5c4]){const {actions:_0x331d35,objectType:_0x347972}=_0x1ac405[_0x24f5c4][_0x12ee54],_0x34c95=[...new Set(_0x331d35)];_0x94014[_0x1055c3(0x22f)]({'unitID':_0x24f5c4,'objectID':_0x12ee54,'objectType':_0x347972,'actions':_0x34c95});}return new _0x30acee(_0x1055c3(0x445),_0x366681,{'headers':_0x14ff66['headers'],'withCredentials':_0x14ff66[_0x1055c3(0x487)],'responseType':_0x14ff66[_0x1055c3(0x285)],'body':{'requests':_0x94014}});}},{'distributeResult'(_0x3ec77f,_0x101d63){const _0x1e65fa=_0xf934e5,{objectActions:_0x15631a}=_0x3ec77f;return _0x101d63[_0x1e65fa(0x23a)](_0x5cf0a0=>{const _0x4108e7=_0x1e65fa,{unitID:_0x106988,objectID:_0xb30177,actions:_0x43fe34}=_0x5cf0a0,_0x2fad07=_0x15631a['find'](_0x415d60=>_0x415d60[_0x4108e7(0x2bf)]===_0x106988&&_0x415d60['objectID']===_0xb30177),_0xfbfcd3=_0x43fe34[_0x4108e7(0x23a)](_0x46cdd3=>_0x2fad07==null?void 0x0:_0x2fad07[_0x4108e7(0x49a)]['find'](_0xa12af9=>_0xa12af9[_0x4108e7(0x196)]===_0x46cdd3))[_0x4108e7(0xb8)](_0x590c5a=>!!_0x590c5a);return{'config':_0x5cf0a0,'result':{'actions':_0xfbfcd3,'error':_0x3ec77f['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x91c613=_0x2025fc;var _0x42313c,_0x4540fd;const _0x4528a4=this[_0x91c613(0xb4)][_0x91c613(0x217)](ir),_0x5f04c6=this['_configService'][_0x91c613(0x217)](Q);return(_0x4540fd=(_0x42313c=_0x5f04c6==null?void 0x0:_0x5f04c6['authzUrl'])!=null?_0x42313c:_0x4528a4)!=null?_0x4540fd:ec;}async[_0x2025fc(0x27d)](_0x50504d){const _0x2cdc42=_0x2025fc,_0x1e0f6c=this[_0x2cdc42(0x10e)]()+'/'+_0x50504d[_0x2cdc42(0x2e6)]+'/object';return(await this[_0x2cdc42(0x3f6)][_0x2cdc42(0x17b)](_0x1e0f6c,{'body':_0x50504d}))[_0x2cdc42(0x41f)][_0x2cdc42(0x1db)]||'';}async[_0x2025fc(0x3c0)](_0x2df5cc){const _0x52ec22=_0x2025fc,_0x56a7e5=this['_getAPIPrefixPath']()+_0x52ec22(0x448);return(await this[_0x52ec22(0x3f6)]['post'](_0x56a7e5,{'body':_0x2df5cc}))['body'][_0x52ec22(0x1ef)];}async['update'](_0x261f48){const _0x2047e3=_0x2025fc,_0x2c773a=this[_0x2047e3(0x10e)]()+'/'+_0x261f48['objectType']+_0x2047e3(0x49d)+_0x261f48[_0x2047e3(0x1db)];await this['_HTTPService'][_0x2047e3(0xa7)](_0x2c773a,{'body':_0x261f48});}async[_0x2025fc(0x3f3)](_0x2ed562){const _0xd6f194=_0x2025fc,_0x568af3=this[_0xd6f194(0x10e)]()+'/'+_0x2ed562[_0xd6f194(0x2e6)]+_0xd6f194(0x49d)+_0x2ed562[_0xd6f194(0x1db)]+_0xd6f194(0x397);return(await this[_0xd6f194(0x3f6)][_0xd6f194(0x17b)](_0x568af3,{'body':_0x2ed562}))[_0xd6f194(0x41f)][_0xd6f194(0x49a)];}async['batchAllowed'](_0x116226){const _0x4b5ec3=_0x2025fc,_0x2c334a=this[_0x4b5ec3(0x10e)]()+_0x4b5ec3(0x2c9);return(await this[_0x4b5ec3(0x3f6)][_0x4b5ec3(0x17b)](_0x2c334a,{'body':{'requests':_0x116226}}))['body'][_0x4b5ec3(0x42e)];}async[_0x2025fc(0x260)](_0x19bbbf){const _0x23be81=_0x2025fc,_0x437699=this[_0x23be81(0x10e)]()+'/'+_0x19bbbf[_0x23be81(0x2e6)]+_0x23be81(0x2f7),_0x1e663c=await this[_0x23be81(0x3f6)][_0x23be81(0x17b)](_0x437699,{'body':_0x19bbbf});return{'roles':_0x1e663c[_0x23be81(0x41f)][_0x23be81(0x339)],'actions':_0x1e663c[_0x23be81(0x41f)]['actions']};}async['deleteCollaborator'](_0x3cb3c2){const _0x3c382e=_0x2025fc,_0x8a250a=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x3c382e(0x3f6)][_0x3c382e(0x165)](_0x8a250a,{'params':{'collaboratorID':_0x3cb3c2[_0x3c382e(0x183)],'objectID':_0x3cb3c2['objectID'],'unitID':_0x3cb3c2[_0x3c382e(0x2bf)]}});}async[_0x2025fc(0x2ff)](_0x5a5813){const _0x31d64e=_0x2025fc,_0x264a34=this[_0x31d64e(0x10e)]()+_0x31d64e(0x21b);await this[_0x31d64e(0x3f6)][_0x31d64e(0x384)](_0x264a34,{'body':_0x5a5813});}async[_0x2025fc(0x379)](_0x1779d4){const _0x19eb66=_0x2025fc,_0x165633=this[_0x19eb66(0x10e)]()+_0x19eb66(0x21b);await this[_0x19eb66(0x3f6)][_0x19eb66(0x17b)](_0x165633,{'body':_0x1779d4});}async[_0x2025fc(0x34d)](_0x230b87){const _0x25b8f8=_0x2025fc,_0x228548=this[_0x25b8f8(0x10e)]()+'/collaborator';return(await this['_HTTPService'][_0x25b8f8(0x33e)](_0x228548,{'params':{'objectID':_0x230b87[_0x25b8f8(0x1db)],'unitID':_0x230b87[_0x25b8f8(0x2bf)]}}))[_0x25b8f8(0x41f)][_0x25b8f8(0x431)];}async['putCollaborators'](_0xbe85f3){const _0x32485f=_0x2025fc,_0x4f20cf=this[_0x32485f(0x10e)]()+_0x32485f(0x21b);await this[_0x32485f(0x3f6)][_0x32485f(0xa7)](_0x4f20cf,{'body':_0xbe85f3});}};ps=Qa([ci(0x0,_0x5847bf(_0x310387)),ci(0x1,_0x5847bf(_0x4df844))],ps);var dt={'exports':{}};function tc(_0x415eab){const _0x6166e8=_0x2025fc;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x415eab+_0x6166e8(0x3aa));}var ft={'exports':{}},sc=ft[_0x2025fc(0x317)],hi;function _e(){const _0x39a0a1=_0x2025fc;return hi||(hi=0x1,function(_0x3ddf99,_0x222226){(function(_0x5cc5ed,_0x1fe65d){const _0x3f2756=_0x46d8;_0x3ddf99[_0x3f2756(0x317)]=_0x1fe65d();}(sc,function(){var _0x335e8f=_0x335e8f||function(_0x562cfe,_0x5549ea){const _0x98ca51=_0x46d8;var _0x5804e6;if(typeof window<'u'&&window[_0x98ca51(0x221)]&&(_0x5804e6=window[_0x98ca51(0x221)]),typeof self<'u'&&self['crypto']&&(_0x5804e6=self[_0x98ca51(0x221)]),typeof globalThis<'u'&&globalThis[_0x98ca51(0x221)]&&(_0x5804e6=globalThis[_0x98ca51(0x221)]),!_0x5804e6&&typeof window<'u'&&window[_0x98ca51(0x145)]&&(_0x5804e6=window[_0x98ca51(0x145)]),!_0x5804e6&&typeof ts<'u'&&ts[_0x98ca51(0x221)]&&(_0x5804e6=ts[_0x98ca51(0x221)]),!_0x5804e6&&typeof tc=='function')try{_0x5804e6=require(_0x98ca51(0x221));}catch{}var _0x3de7a1=function(){const _0x4dc1f7=_0x98ca51;if(_0x5804e6){if(typeof _0x5804e6[_0x4dc1f7(0x286)]==_0x4dc1f7(0x2d6))try{return _0x5804e6['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5804e6[_0x4dc1f7(0x46f)]=='function')try{return _0x5804e6[_0x4dc1f7(0x46f)](0x4)[_0x4dc1f7(0x1b5)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3db323=Object[_0x98ca51(0x27d)]||(function(){function _0x36647b(){}return function(_0x5505c2){const _0xb701b0=_0x46d8;var _0x198c43;return _0x36647b['prototype']=_0x5505c2,_0x198c43=new _0x36647b(),_0x36647b[_0xb701b0(0x33f)]=null,_0x198c43;};}()),_0x3e85e0={},_0x50a321=_0x3e85e0[_0x98ca51(0x118)]={},_0x32fc90=_0x50a321['Base']=(function(){return{'extend':function(_0x272069){const _0xfc10cf=_0x46d8;var _0x399017=_0x3db323(this);return _0x272069&&_0x399017[_0xfc10cf(0x394)](_0x272069),(!_0x399017['hasOwnProperty']('init')||this[_0xfc10cf(0x289)]===_0x399017[_0xfc10cf(0x289)])&&(_0x399017[_0xfc10cf(0x289)]=function(){_0x399017['$super']['init']['apply'](this,arguments);}),_0x399017[_0xfc10cf(0x289)][_0xfc10cf(0x33f)]=_0x399017,_0x399017['$super']=this,_0x399017;},'create':function(){const _0x547a8a=_0x46d8;var _0x1562d1=this[_0x547a8a(0x4a2)]();return _0x1562d1[_0x547a8a(0x289)]['apply'](_0x1562d1,arguments),_0x1562d1;},'init':function(){},'mixIn':function(_0x34c264){const _0x535ab3=_0x46d8;for(var _0x1f745f in _0x34c264)_0x34c264[_0x535ab3(0x413)](_0x1f745f)&&(this[_0x1f745f]=_0x34c264[_0x1f745f]);_0x34c264[_0x535ab3(0x413)](_0x535ab3(0x135))&&(this[_0x535ab3(0x135)]=_0x34c264['toString']);},'clone':function(){const _0x3a2fa5=_0x46d8;return this[_0x3a2fa5(0x289)][_0x3a2fa5(0x33f)][_0x3a2fa5(0x4a2)](this);}};}()),_0x246015=_0x50a321[_0x98ca51(0x1c9)]=_0x32fc90[_0x98ca51(0x4a2)]({'init':function(_0x19efb8,_0x2dbd92){const _0x15aa1d=_0x98ca51;_0x19efb8=this[_0x15aa1d(0x352)]=_0x19efb8||[],_0x2dbd92!=_0x5549ea?this['sigBytes']=_0x2dbd92:this[_0x15aa1d(0x4a3)]=_0x19efb8[_0x15aa1d(0x161)]*0x4;},'toString':function(_0x3397ad){return(_0x3397ad||_0x472cfc)['stringify'](this);},'concat':function(_0x4bbf00){const _0x47c431=_0x98ca51;var _0x33a956=this[_0x47c431(0x352)],_0xd4d8fa=_0x4bbf00[_0x47c431(0x352)],_0x131c73=this['sigBytes'],_0x8930b3=_0x4bbf00[_0x47c431(0x4a3)];if(this['clamp'](),_0x131c73%0x4)for(var _0x1eac78=0x0;_0x1eac78<_0x8930b3;_0x1eac78++){var _0x39bc60=_0xd4d8fa[_0x1eac78>>>0x2]>>>0x18-_0x1eac78%0x4*0x8&0xff;_0x33a956[_0x131c73+_0x1eac78>>>0x2]|=_0x39bc60<<0x18-(_0x131c73+_0x1eac78)%0x4*0x8;}else{for(var _0x43eb2f=0x0;_0x43eb2f<_0x8930b3;_0x43eb2f+=0x4)_0x33a956[_0x131c73+_0x43eb2f>>>0x2]=_0xd4d8fa[_0x43eb2f>>>0x2];}return this[_0x47c431(0x4a3)]+=_0x8930b3,this;},'clamp':function(){const _0x1cabee=_0x98ca51;var _0x3d7a67=this[_0x1cabee(0x352)],_0x5d188e=this[_0x1cabee(0x4a3)];_0x3d7a67[_0x5d188e>>>0x2]&=0xffffffff<<0x20-_0x5d188e%0x4*0x8,_0x3d7a67[_0x1cabee(0x161)]=_0x562cfe['ceil'](_0x5d188e/0x4);},'clone':function(){const _0x45ae1b=_0x98ca51;var _0x5ddea7=_0x32fc90[_0x45ae1b(0x2c4)][_0x45ae1b(0x494)](this);return _0x5ddea7[_0x45ae1b(0x352)]=this['words'][_0x45ae1b(0x48f)](0x0),_0x5ddea7;},'random':function(_0x309fa3){const _0x5a7207=_0x98ca51;for(var _0x10e505=[],_0x54b02e=0x0;_0x54b02e<_0x309fa3;_0x54b02e+=0x4)_0x10e505[_0x5a7207(0x22f)](_0x3de7a1());return new _0x246015[(_0x5a7207(0x289))](_0x10e505,_0x309fa3);}}),_0x59dfc1=_0x3e85e0['enc']={},_0x472cfc=_0x59dfc1[_0x98ca51(0xf0)]={'stringify':function(_0x5c4817){const _0x1fe5dd=_0x98ca51;for(var _0x48396f=_0x5c4817['words'],_0xe25b35=_0x5c4817[_0x1fe5dd(0x4a3)],_0x1d841a=[],_0x53af68=0x0;_0x53af68<_0xe25b35;_0x53af68++){var _0x5f0bdb=_0x48396f[_0x53af68>>>0x2]>>>0x18-_0x53af68%0x4*0x8&0xff;_0x1d841a['push']((_0x5f0bdb>>>0x4)[_0x1fe5dd(0x135)](0x10)),_0x1d841a[_0x1fe5dd(0x22f)]((_0x5f0bdb&0xf)[_0x1fe5dd(0x135)](0x10));}return _0x1d841a[_0x1fe5dd(0x2fc)]('');},'parse':function(_0x3309fd){const _0x2b6f25=_0x98ca51;for(var _0x547cd3=_0x3309fd['length'],_0x173643=[],_0x5e2bb5=0x0;_0x5e2bb5<_0x547cd3;_0x5e2bb5+=0x2)_0x173643[_0x5e2bb5>>>0x3]|=parseInt(_0x3309fd[_0x2b6f25(0x1e4)](_0x5e2bb5,0x2),0x10)<<0x18-_0x5e2bb5%0x8*0x4;return new _0x246015[(_0x2b6f25(0x289))](_0x173643,_0x547cd3/0x2);}},_0x470fa0=_0x59dfc1[_0x98ca51(0xa9)]={'stringify':function(_0x48499f){const _0x4ba632=_0x98ca51;for(var _0x27d363=_0x48499f[_0x4ba632(0x352)],_0x593012=_0x48499f['sigBytes'],_0xdce93a=[],_0x229bd0=0x0;_0x229bd0<_0x593012;_0x229bd0++){var _0x3f7000=_0x27d363[_0x229bd0>>>0x2]>>>0x18-_0x229bd0%0x4*0x8&0xff;_0xdce93a[_0x4ba632(0x22f)](String[_0x4ba632(0x208)](_0x3f7000));}return _0xdce93a[_0x4ba632(0x2fc)]('');},'parse':function(_0x53e04d){const _0x5c242a=_0x98ca51;for(var _0x4750ed=_0x53e04d['length'],_0x4c8565=[],_0x4d9e4e=0x0;_0x4d9e4e<_0x4750ed;_0x4d9e4e++)_0x4c8565[_0x4d9e4e>>>0x2]|=(_0x53e04d[_0x5c242a(0xcf)](_0x4d9e4e)&0xff)<<0x18-_0x4d9e4e%0x4*0x8;return new _0x246015['init'](_0x4c8565,_0x4750ed);}},_0x36665f=_0x59dfc1[_0x98ca51(0x488)]={'stringify':function(_0x8e393e){const _0x2ab546=_0x98ca51;try{return decodeURIComponent(escape(_0x470fa0['stringify'](_0x8e393e)));}catch{throw new Error(_0x2ab546(0x479));}},'parse':function(_0x1114e6){const _0x2dfd61=_0x98ca51;return _0x470fa0[_0x2dfd61(0x211)](unescape(encodeURIComponent(_0x1114e6)));}},_0xf6147a=_0x50a321[_0x98ca51(0x450)]=_0x32fc90[_0x98ca51(0x4a2)]({'reset':function(){const _0x519ebe=_0x98ca51;this[_0x519ebe(0x27e)]=new _0x246015[(_0x519ebe(0x289))](),this[_0x519ebe(0x37d)]=0x0;},'_append':function(_0x26d357){const _0x555ff3=_0x98ca51;typeof _0x26d357==_0x555ff3(0x151)&&(_0x26d357=_0x36665f['parse'](_0x26d357)),this['_data']['concat'](_0x26d357),this['_nDataBytes']+=_0x26d357['sigBytes'];},'_process':function(_0x4d7dc3){const _0x1f16e3=_0x98ca51;var _0x54efb1,_0x1cc4d1=this['_data'],_0x3e3d9f=_0x1cc4d1[_0x1f16e3(0x352)],_0x32adcc=_0x1cc4d1[_0x1f16e3(0x4a3)],_0x2d2e07=this[_0x1f16e3(0x112)],_0xf49af6=_0x2d2e07*0x4,_0x4e003d=_0x32adcc/_0xf49af6;_0x4d7dc3?_0x4e003d=_0x562cfe[_0x1f16e3(0x373)](_0x4e003d):_0x4e003d=_0x562cfe[_0x1f16e3(0x3f2)]((_0x4e003d|0x0)-this['_minBufferSize'],0x0);var _0x426619=_0x4e003d*_0x2d2e07,_0x5532d7=_0x562cfe[_0x1f16e3(0x1af)](_0x426619*0x4,_0x32adcc);if(_0x426619){for(var _0x18af55=0x0;_0x18af55<_0x426619;_0x18af55+=_0x2d2e07)this['_doProcessBlock'](_0x3e3d9f,_0x18af55);_0x54efb1=_0x3e3d9f['splice'](0x0,_0x426619),_0x1cc4d1['sigBytes']-=_0x5532d7;}return new _0x246015[(_0x1f16e3(0x289))](_0x54efb1,_0x5532d7);},'clone':function(){const _0x364066=_0x98ca51;var _0x50391a=_0x32fc90[_0x364066(0x2c4)][_0x364066(0x494)](this);return _0x50391a['_data']=this[_0x364066(0x27e)][_0x364066(0x2c4)](),_0x50391a;},'_minBufferSize':0x0});_0x50a321[_0x98ca51(0x3f7)]=_0xf6147a[_0x98ca51(0x4a2)]({'cfg':_0x32fc90[_0x98ca51(0x4a2)](),'init':function(_0x5c8b1a){const _0x5b5a13=_0x98ca51;this[_0x5b5a13(0x250)]=this[_0x5b5a13(0x250)][_0x5b5a13(0x4a2)](_0x5c8b1a),this[_0x5b5a13(0x216)]();},'reset':function(){const _0x591755=_0x98ca51;_0xf6147a[_0x591755(0x216)][_0x591755(0x494)](this),this[_0x591755(0x228)]();},'update':function(_0xadce0){const _0x2efa6d=_0x98ca51;return this[_0x2efa6d(0x245)](_0xadce0),this[_0x2efa6d(0xb9)](),this;},'finalize':function(_0x1c73f6){_0x1c73f6&&this['_append'](_0x1c73f6);var _0x4fe7b6=this['_doFinalize']();return _0x4fe7b6;},'blockSize':0x10,'_createHelper':function(_0xc3ff70){return function(_0x1dba1f,_0x529a88){const _0xa09828=_0x46d8;return new _0xc3ff70[(_0xa09828(0x289))](_0x529a88)[_0xa09828(0x17d)](_0x1dba1f);};},'_createHmacHelper':function(_0x569101){return function(_0x58ada4,_0x148b0e){const _0x5d75f0=_0x46d8;return new _0x4c8a31[(_0x5d75f0(0x1e7))]['init'](_0x569101,_0x148b0e)[_0x5d75f0(0x17d)](_0x58ada4);};}});var _0x4c8a31=_0x3e85e0[_0x98ca51(0x1b4)]={};return _0x3e85e0;}(Math);return _0x335e8f;}));}(ft)),ft[_0x39a0a1(0x317)];}var vt={'exports':{}},ic=vt[_0x2025fc(0x317)],li;function rr(){const _0x17e632=_0x2025fc;return li||(li=0x1,function(_0x42fc4c,_0x155738){(function(_0x48bfdf,_0x5887a1){_0x42fc4c['exports']=_0x5887a1(_e());}(ic,function(_0x1572ea){const _0x5bbb0b=_0x46d8;return(function(){const _0x23facd=_0x46d8;var _0x8545c=_0x1572ea,_0x3b141d=_0x8545c['lib'],_0x57e332=_0x3b141d['WordArray'],_0x4733aa=_0x8545c['enc'];_0x4733aa[_0x23facd(0x22c)]={'stringify':function(_0x2dfcbb){const _0x59ae69=_0x23facd;var _0x5c265c=_0x2dfcbb[_0x59ae69(0x352)],_0xab7ebd=_0x2dfcbb[_0x59ae69(0x4a3)],_0x2d6634=this[_0x59ae69(0x2bc)];_0x2dfcbb[_0x59ae69(0x378)]();for(var _0x1e46f3=[],_0x4a2f24=0x0;_0x4a2f24<_0xab7ebd;_0x4a2f24+=0x3)for(var _0x478ad1=_0x5c265c[_0x4a2f24>>>0x2]>>>0x18-_0x4a2f24%0x4*0x8&0xff,_0x164f67=_0x5c265c[_0x4a2f24+0x1>>>0x2]>>>0x18-(_0x4a2f24+0x1)%0x4*0x8&0xff,_0x52a9ab=_0x5c265c[_0x4a2f24+0x2>>>0x2]>>>0x18-(_0x4a2f24+0x2)%0x4*0x8&0xff,_0x5d81c2=_0x478ad1<<0x10|_0x164f67<<0x8|_0x52a9ab,_0x4daf87=0x0;_0x4daf87<0x4&&_0x4a2f24+_0x4daf87*0.75<_0xab7ebd;_0x4daf87++)_0x1e46f3[_0x59ae69(0x22f)](_0x2d6634['charAt'](_0x5d81c2>>>0x6*(0x3-_0x4daf87)&0x3f));var _0x1254dc=_0x2d6634['charAt'](0x40);if(_0x1254dc){for(;_0x1e46f3[_0x59ae69(0x161)]%0x4;)_0x1e46f3['push'](_0x1254dc);}return _0x1e46f3['join']('');},'parse':function(_0x452252){const _0x277351=_0x23facd;var _0x503646=_0x452252[_0x277351(0x161)],_0x556b0e=this['_map'],_0x138a9c=this[_0x277351(0x1de)];if(!_0x138a9c){_0x138a9c=this[_0x277351(0x1de)]=[];for(var _0xe3e8f2=0x0;_0xe3e8f2<_0x556b0e[_0x277351(0x161)];_0xe3e8f2++)_0x138a9c[_0x556b0e[_0x277351(0xcf)](_0xe3e8f2)]=_0xe3e8f2;}var _0x3c143f=_0x556b0e[_0x277351(0x11a)](0x40);if(_0x3c143f){var _0x1f6f20=_0x452252['indexOf'](_0x3c143f);_0x1f6f20!==-0x1&&(_0x503646=_0x1f6f20);}return _0x50224b(_0x452252,_0x503646,_0x138a9c);},'_map':_0x23facd(0xb3)};function _0x50224b(_0x238365,_0x48667c,_0x17268b){const _0x3142d2=_0x23facd;for(var _0x119a8e=[],_0x23978b=0x0,_0x4a06b5=0x0;_0x4a06b5<_0x48667c;_0x4a06b5++)if(_0x4a06b5%0x4){var _0x68f1b8=_0x17268b[_0x238365['charCodeAt'](_0x4a06b5-0x1)]<<_0x4a06b5%0x4*0x2,_0xb36df2=_0x17268b[_0x238365[_0x3142d2(0xcf)](_0x4a06b5)]>>>0x6-_0x4a06b5%0x4*0x2,_0x3f429e=_0x68f1b8|_0xb36df2;_0x119a8e[_0x23978b>>>0x2]|=_0x3f429e<<0x18-_0x23978b%0x4*0x8,_0x23978b++;}return _0x57e332[_0x3142d2(0x27d)](_0x119a8e,_0x23978b);}}()),_0x1572ea['enc'][_0x5bbb0b(0x22c)];}));}(vt)),vt[_0x17e632(0x317)];}var pt={'exports':{}},rc=pt[_0x2025fc(0x317)],_i;function nc(){const _0x401b46=_0x2025fc;return _i||(_i=0x1,function(_0x484283,_0x169cc8){(function(_0x37f656,_0x1c368e){const _0x3e2816=_0x46d8;_0x484283[_0x3e2816(0x317)]=_0x1c368e(_e());}(rc,function(_0x48a821){const _0x2022bd=_0x46d8;return function(_0x33e3ba){const _0x152b31=_0x46d8;var _0x308a71=_0x48a821,_0x135d98=_0x308a71[_0x152b31(0x118)],_0x173365=_0x135d98[_0x152b31(0x1c9)],_0x475382=_0x135d98[_0x152b31(0x3f7)],_0x4d56bb=_0x308a71[_0x152b31(0x1b4)],_0x1e7a19=[];(function(){const _0x3469b8=_0x152b31;for(var _0x31c2e9=0x0;_0x31c2e9<0x40;_0x31c2e9++)_0x1e7a19[_0x31c2e9]=_0x33e3ba[_0x3469b8(0x34a)](_0x33e3ba[_0x3469b8(0x226)](_0x31c2e9+0x1))*0x100000000|0x0;}());var _0x580c0d=_0x4d56bb[_0x152b31(0x218)]=_0x475382[_0x152b31(0x4a2)]({'_doReset':function(){const _0x3975b3=_0x152b31;this['_hash']=new _0x173365[(_0x3975b3(0x289))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x105e1a,_0x532738){const _0x129fe4=_0x152b31;for(var _0x3ebd47=0x0;_0x3ebd47<0x10;_0x3ebd47++){var _0x10aa36=_0x532738+_0x3ebd47,_0xbbea3c=_0x105e1a[_0x10aa36];_0x105e1a[_0x10aa36]=(_0xbbea3c<<0x8|_0xbbea3c>>>0x18)&0xff00ff|(_0xbbea3c<<0x18|_0xbbea3c>>>0x8)&0xff00ff00;}var _0x2a54b4=this['_hash'][_0x129fe4(0x352)],_0x43399d=_0x105e1a[_0x532738+0x0],_0x5e8331=_0x105e1a[_0x532738+0x1],_0x190d5b=_0x105e1a[_0x532738+0x2],_0x11420b=_0x105e1a[_0x532738+0x3],_0x5e927b=_0x105e1a[_0x532738+0x4],_0x3f5b00=_0x105e1a[_0x532738+0x5],_0xab7976=_0x105e1a[_0x532738+0x6],_0x57f4fe=_0x105e1a[_0x532738+0x7],_0x50b617=_0x105e1a[_0x532738+0x8],_0x53eb6b=_0x105e1a[_0x532738+0x9],_0x1dd291=_0x105e1a[_0x532738+0xa],_0x5d1129=_0x105e1a[_0x532738+0xb],_0x41f7aa=_0x105e1a[_0x532738+0xc],_0x1af36e=_0x105e1a[_0x532738+0xd],_0x4fbe18=_0x105e1a[_0x532738+0xe],_0x5cdb9a=_0x105e1a[_0x532738+0xf],_0x108fce=_0x2a54b4[0x0],_0x3bb65f=_0x2a54b4[0x1],_0x2c0979=_0x2a54b4[0x2],_0x562c90=_0x2a54b4[0x3];_0x108fce=_0x23cdc2(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x43399d,0x7,_0x1e7a19[0x0]),_0x562c90=_0x23cdc2(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x5e8331,0xc,_0x1e7a19[0x1]),_0x2c0979=_0x23cdc2(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x190d5b,0x11,_0x1e7a19[0x2]),_0x3bb65f=_0x23cdc2(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x11420b,0x16,_0x1e7a19[0x3]),_0x108fce=_0x23cdc2(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x5e927b,0x7,_0x1e7a19[0x4]),_0x562c90=_0x23cdc2(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x3f5b00,0xc,_0x1e7a19[0x5]),_0x2c0979=_0x23cdc2(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0xab7976,0x11,_0x1e7a19[0x6]),_0x3bb65f=_0x23cdc2(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x57f4fe,0x16,_0x1e7a19[0x7]),_0x108fce=_0x23cdc2(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x50b617,0x7,_0x1e7a19[0x8]),_0x562c90=_0x23cdc2(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x53eb6b,0xc,_0x1e7a19[0x9]),_0x2c0979=_0x23cdc2(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x1dd291,0x11,_0x1e7a19[0xa]),_0x3bb65f=_0x23cdc2(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x5d1129,0x16,_0x1e7a19[0xb]),_0x108fce=_0x23cdc2(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x41f7aa,0x7,_0x1e7a19[0xc]),_0x562c90=_0x23cdc2(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x1af36e,0xc,_0x1e7a19[0xd]),_0x2c0979=_0x23cdc2(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x4fbe18,0x11,_0x1e7a19[0xe]),_0x3bb65f=_0x23cdc2(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x5cdb9a,0x16,_0x1e7a19[0xf]),_0x108fce=_0xcc315d(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x5e8331,0x5,_0x1e7a19[0x10]),_0x562c90=_0xcc315d(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0xab7976,0x9,_0x1e7a19[0x11]),_0x2c0979=_0xcc315d(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x5d1129,0xe,_0x1e7a19[0x12]),_0x3bb65f=_0xcc315d(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x43399d,0x14,_0x1e7a19[0x13]),_0x108fce=_0xcc315d(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x3f5b00,0x5,_0x1e7a19[0x14]),_0x562c90=_0xcc315d(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x1dd291,0x9,_0x1e7a19[0x15]),_0x2c0979=_0xcc315d(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x5cdb9a,0xe,_0x1e7a19[0x16]),_0x3bb65f=_0xcc315d(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x5e927b,0x14,_0x1e7a19[0x17]),_0x108fce=_0xcc315d(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x53eb6b,0x5,_0x1e7a19[0x18]),_0x562c90=_0xcc315d(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x4fbe18,0x9,_0x1e7a19[0x19]),_0x2c0979=_0xcc315d(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x11420b,0xe,_0x1e7a19[0x1a]),_0x3bb65f=_0xcc315d(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x50b617,0x14,_0x1e7a19[0x1b]),_0x108fce=_0xcc315d(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x1af36e,0x5,_0x1e7a19[0x1c]),_0x562c90=_0xcc315d(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x190d5b,0x9,_0x1e7a19[0x1d]),_0x2c0979=_0xcc315d(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x57f4fe,0xe,_0x1e7a19[0x1e]),_0x3bb65f=_0xcc315d(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x41f7aa,0x14,_0x1e7a19[0x1f]),_0x108fce=_0x391572(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x3f5b00,0x4,_0x1e7a19[0x20]),_0x562c90=_0x391572(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x50b617,0xb,_0x1e7a19[0x21]),_0x2c0979=_0x391572(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x5d1129,0x10,_0x1e7a19[0x22]),_0x3bb65f=_0x391572(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x4fbe18,0x17,_0x1e7a19[0x23]),_0x108fce=_0x391572(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x5e8331,0x4,_0x1e7a19[0x24]),_0x562c90=_0x391572(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x5e927b,0xb,_0x1e7a19[0x25]),_0x2c0979=_0x391572(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x57f4fe,0x10,_0x1e7a19[0x26]),_0x3bb65f=_0x391572(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x1dd291,0x17,_0x1e7a19[0x27]),_0x108fce=_0x391572(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x1af36e,0x4,_0x1e7a19[0x28]),_0x562c90=_0x391572(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x43399d,0xb,_0x1e7a19[0x29]),_0x2c0979=_0x391572(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x11420b,0x10,_0x1e7a19[0x2a]),_0x3bb65f=_0x391572(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0xab7976,0x17,_0x1e7a19[0x2b]),_0x108fce=_0x391572(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x53eb6b,0x4,_0x1e7a19[0x2c]),_0x562c90=_0x391572(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x41f7aa,0xb,_0x1e7a19[0x2d]),_0x2c0979=_0x391572(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x5cdb9a,0x10,_0x1e7a19[0x2e]),_0x3bb65f=_0x391572(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x190d5b,0x17,_0x1e7a19[0x2f]),_0x108fce=_0x18800e(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x43399d,0x6,_0x1e7a19[0x30]),_0x562c90=_0x18800e(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x57f4fe,0xa,_0x1e7a19[0x31]),_0x2c0979=_0x18800e(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x4fbe18,0xf,_0x1e7a19[0x32]),_0x3bb65f=_0x18800e(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x3f5b00,0x15,_0x1e7a19[0x33]),_0x108fce=_0x18800e(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x41f7aa,0x6,_0x1e7a19[0x34]),_0x562c90=_0x18800e(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x11420b,0xa,_0x1e7a19[0x35]),_0x2c0979=_0x18800e(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x1dd291,0xf,_0x1e7a19[0x36]),_0x3bb65f=_0x18800e(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x5e8331,0x15,_0x1e7a19[0x37]),_0x108fce=_0x18800e(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x50b617,0x6,_0x1e7a19[0x38]),_0x562c90=_0x18800e(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x5cdb9a,0xa,_0x1e7a19[0x39]),_0x2c0979=_0x18800e(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0xab7976,0xf,_0x1e7a19[0x3a]),_0x3bb65f=_0x18800e(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x1af36e,0x15,_0x1e7a19[0x3b]),_0x108fce=_0x18800e(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x5e927b,0x6,_0x1e7a19[0x3c]),_0x562c90=_0x18800e(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x5d1129,0xa,_0x1e7a19[0x3d]),_0x2c0979=_0x18800e(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x190d5b,0xf,_0x1e7a19[0x3e]),_0x3bb65f=_0x18800e(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x53eb6b,0x15,_0x1e7a19[0x3f]),_0x2a54b4[0x0]=_0x2a54b4[0x0]+_0x108fce|0x0,_0x2a54b4[0x1]=_0x2a54b4[0x1]+_0x3bb65f|0x0,_0x2a54b4[0x2]=_0x2a54b4[0x2]+_0x2c0979|0x0,_0x2a54b4[0x3]=_0x2a54b4[0x3]+_0x562c90|0x0;},'_doFinalize':function(){const _0x51c478=_0x152b31;var _0x16f8f3=this[_0x51c478(0x27e)],_0x20c863=_0x16f8f3['words'],_0x70b1dc=this['_nDataBytes']*0x8,_0x163965=_0x16f8f3[_0x51c478(0x4a3)]*0x8;_0x20c863[_0x163965>>>0x5]|=0x80<<0x18-_0x163965%0x20;var _0xcd0f76=_0x33e3ba[_0x51c478(0x127)](_0x70b1dc/0x100000000),_0x1b28c5=_0x70b1dc;_0x20c863[(_0x163965+0x40>>>0x9<<0x4)+0xf]=(_0xcd0f76<<0x8|_0xcd0f76>>>0x18)&0xff00ff|(_0xcd0f76<<0x18|_0xcd0f76>>>0x8)&0xff00ff00,_0x20c863[(_0x163965+0x40>>>0x9<<0x4)+0xe]=(_0x1b28c5<<0x8|_0x1b28c5>>>0x18)&0xff00ff|(_0x1b28c5<<0x18|_0x1b28c5>>>0x8)&0xff00ff00,_0x16f8f3[_0x51c478(0x4a3)]=(_0x20c863[_0x51c478(0x161)]+0x1)*0x4,this[_0x51c478(0xb9)]();for(var _0x50be95=this[_0x51c478(0x3bf)],_0x31464b=_0x50be95['words'],_0x4c58a4=0x0;_0x4c58a4<0x4;_0x4c58a4++){var _0x4b89fc=_0x31464b[_0x4c58a4];_0x31464b[_0x4c58a4]=(_0x4b89fc<<0x8|_0x4b89fc>>>0x18)&0xff00ff|(_0x4b89fc<<0x18|_0x4b89fc>>>0x8)&0xff00ff00;}return _0x50be95;},'clone':function(){const _0x5500a4=_0x152b31;var _0x1a765f=_0x475382[_0x5500a4(0x2c4)]['call'](this);return _0x1a765f[_0x5500a4(0x3bf)]=this[_0x5500a4(0x3bf)][_0x5500a4(0x2c4)](),_0x1a765f;}});function _0x23cdc2(_0x325bb6,_0x4d2f0f,_0x3fac72,_0x33e294,_0x9e75b1,_0x11be50,_0x1e26d0){var _0x290fc6=_0x325bb6+(_0x4d2f0f&_0x3fac72|~_0x4d2f0f&_0x33e294)+_0x9e75b1+_0x1e26d0;return(_0x290fc6<<_0x11be50|_0x290fc6>>>0x20-_0x11be50)+_0x4d2f0f;}function _0xcc315d(_0x1a9f89,_0x53d816,_0x165ea5,_0xd166fc,_0x406af4,_0x116943,_0xb7a0e3){var _0xffdb35=_0x1a9f89+(_0x53d816&_0xd166fc|_0x165ea5&~_0xd166fc)+_0x406af4+_0xb7a0e3;return(_0xffdb35<<_0x116943|_0xffdb35>>>0x20-_0x116943)+_0x53d816;}function _0x391572(_0x2ac7af,_0xceefd3,_0x565f95,_0x3eda20,_0x46056c,_0x44f073,_0x12ac4c){var _0x1d9e39=_0x2ac7af+(_0xceefd3^_0x565f95^_0x3eda20)+_0x46056c+_0x12ac4c;return(_0x1d9e39<<_0x44f073|_0x1d9e39>>>0x20-_0x44f073)+_0xceefd3;}function _0x18800e(_0x307826,_0x592293,_0x15fcc3,_0x410b54,_0x14ddd2,_0x10bc15,_0x51104a){var _0x46d294=_0x307826+(_0x15fcc3^(_0x592293|~_0x410b54))+_0x14ddd2+_0x51104a;return(_0x46d294<<_0x10bc15|_0x46d294>>>0x20-_0x10bc15)+_0x592293;}_0x308a71['MD5']=_0x475382[_0x152b31(0xb5)](_0x580c0d),_0x308a71[_0x152b31(0x15e)]=_0x475382[_0x152b31(0x2a3)](_0x580c0d);}(Math),_0x48a821[_0x2022bd(0x218)];}));}(pt)),pt[_0x401b46(0x317)];}var mt={'exports':{}},gt={'exports':{}},oc=gt['exports'],ui;function ac(){const _0x540eea=_0x2025fc;return ui||(ui=0x1,function(_0x5b01ee,_0xef0f57){(function(_0x3e5d8d,_0x401caa){const _0x1569db=_0x46d8;_0x5b01ee[_0x1569db(0x317)]=_0x401caa(_e());}(oc,function(_0x40d8d3){return(function(){const _0x4e8a82=_0x46d8;var _0x335ecf=_0x40d8d3,_0x1962d5=_0x335ecf[_0x4e8a82(0x118)],_0x516d47=_0x1962d5[_0x4e8a82(0x1c9)],_0x3d6380=_0x1962d5[_0x4e8a82(0x3f7)],_0xeaabf3=_0x335ecf[_0x4e8a82(0x1b4)],_0x53eb51=[],_0x14a88d=_0xeaabf3[_0x4e8a82(0x3d2)]=_0x3d6380['extend']({'_doReset':function(){const _0x28109f=_0x4e8a82;this[_0x28109f(0x3bf)]=new _0x516d47[(_0x28109f(0x289))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4d2490,_0x4780db){const _0x1714a6=_0x4e8a82;for(var _0xb9b468=this[_0x1714a6(0x3bf)][_0x1714a6(0x352)],_0x334729=_0xb9b468[0x0],_0x217c4e=_0xb9b468[0x1],_0x3e798d=_0xb9b468[0x2],_0x3759f3=_0xb9b468[0x3],_0x26b037=_0xb9b468[0x4],_0x27b40c=0x0;_0x27b40c<0x50;_0x27b40c++){if(_0x27b40c<0x10)_0x53eb51[_0x27b40c]=_0x4d2490[_0x4780db+_0x27b40c]|0x0;else{var _0x3b07aa=_0x53eb51[_0x27b40c-0x3]^_0x53eb51[_0x27b40c-0x8]^_0x53eb51[_0x27b40c-0xe]^_0x53eb51[_0x27b40c-0x10];_0x53eb51[_0x27b40c]=_0x3b07aa<<0x1|_0x3b07aa>>>0x1f;}var _0x33f08d=(_0x334729<<0x5|_0x334729>>>0x1b)+_0x26b037+_0x53eb51[_0x27b40c];_0x27b40c<0x14?_0x33f08d+=(_0x217c4e&_0x3e798d|~_0x217c4e&_0x3759f3)+0x5a827999:_0x27b40c<0x28?_0x33f08d+=(_0x217c4e^_0x3e798d^_0x3759f3)+0x6ed9eba1:_0x27b40c<0x3c?_0x33f08d+=(_0x217c4e&_0x3e798d|_0x217c4e&_0x3759f3|_0x3e798d&_0x3759f3)-0x70e44324:_0x33f08d+=(_0x217c4e^_0x3e798d^_0x3759f3)-0x359d3e2a,_0x26b037=_0x3759f3,_0x3759f3=_0x3e798d,_0x3e798d=_0x217c4e<<0x1e|_0x217c4e>>>0x2,_0x217c4e=_0x334729,_0x334729=_0x33f08d;}_0xb9b468[0x0]=_0xb9b468[0x0]+_0x334729|0x0,_0xb9b468[0x1]=_0xb9b468[0x1]+_0x217c4e|0x0,_0xb9b468[0x2]=_0xb9b468[0x2]+_0x3e798d|0x0,_0xb9b468[0x3]=_0xb9b468[0x3]+_0x3759f3|0x0,_0xb9b468[0x4]=_0xb9b468[0x4]+_0x26b037|0x0;},'_doFinalize':function(){const _0x1a579d=_0x4e8a82;var _0x5aaf55=this[_0x1a579d(0x27e)],_0x345e7f=_0x5aaf55[_0x1a579d(0x352)],_0x5bb244=this[_0x1a579d(0x37d)]*0x8,_0x3e4aef=_0x5aaf55[_0x1a579d(0x4a3)]*0x8;return _0x345e7f[_0x3e4aef>>>0x5]|=0x80<<0x18-_0x3e4aef%0x20,_0x345e7f[(_0x3e4aef+0x40>>>0x9<<0x4)+0xe]=Math[_0x1a579d(0x127)](_0x5bb244/0x100000000),_0x345e7f[(_0x3e4aef+0x40>>>0x9<<0x4)+0xf]=_0x5bb244,_0x5aaf55[_0x1a579d(0x4a3)]=_0x345e7f[_0x1a579d(0x161)]*0x4,this[_0x1a579d(0xb9)](),this[_0x1a579d(0x3bf)];},'clone':function(){const _0x14ea1c=_0x4e8a82;var _0x53fa84=_0x3d6380[_0x14ea1c(0x2c4)]['call'](this);return _0x53fa84[_0x14ea1c(0x3bf)]=this[_0x14ea1c(0x3bf)][_0x14ea1c(0x2c4)](),_0x53fa84;}});_0x335ecf['SHA1']=_0x3d6380[_0x4e8a82(0xb5)](_0x14a88d),_0x335ecf[_0x4e8a82(0x108)]=_0x3d6380['_createHmacHelper'](_0x14a88d);}()),_0x40d8d3['SHA1'];}));}(gt)),gt[_0x540eea(0x317)];}var St={'exports':{}},cc=St['exports'],di;function hc(){const _0x314e7c=_0x2025fc;return di||(di=0x1,function(_0x4ddde0,_0x2b3d4a){(function(_0x251aa1,_0x422e75){const _0x5bd9b8=_0x46d8;_0x4ddde0[_0x5bd9b8(0x317)]=_0x422e75(_e());}(cc,function(_0xe87935){(function(){const _0x1324a3=_0x46d8;var _0x4e26eb=_0xe87935,_0x2e2718=_0x4e26eb[_0x1324a3(0x118)],_0x1a23bc=_0x2e2718[_0x1324a3(0x298)],_0x574d2b=_0x4e26eb[_0x1324a3(0xdb)],_0x25196f=_0x574d2b[_0x1324a3(0x488)],_0x53887f=_0x4e26eb[_0x1324a3(0x1b4)];_0x53887f[_0x1324a3(0x1e7)]=_0x1a23bc[_0x1324a3(0x4a2)]({'init':function(_0x41ac01,_0x3c1e17){const _0x51eefe=_0x1324a3;_0x41ac01=this[_0x51eefe(0x107)]=new _0x41ac01['init'](),typeof _0x3c1e17==_0x51eefe(0x151)&&(_0x3c1e17=_0x25196f[_0x51eefe(0x211)](_0x3c1e17));var _0x464049=_0x41ac01[_0x51eefe(0x112)],_0xdcc8c0=_0x464049*0x4;_0x3c1e17[_0x51eefe(0x4a3)]>_0xdcc8c0&&(_0x3c1e17=_0x41ac01[_0x51eefe(0x17d)](_0x3c1e17)),_0x3c1e17[_0x51eefe(0x378)]();for(var _0x32a8b7=this[_0x51eefe(0x284)]=_0x3c1e17[_0x51eefe(0x2c4)](),_0x403a2d=this[_0x51eefe(0x25f)]=_0x3c1e17[_0x51eefe(0x2c4)](),_0x50b851=_0x32a8b7[_0x51eefe(0x352)],_0x149ec7=_0x403a2d[_0x51eefe(0x352)],_0x29dc6c=0x0;_0x29dc6c<_0x464049;_0x29dc6c++)_0x50b851[_0x29dc6c]^=0x5c5c5c5c,_0x149ec7[_0x29dc6c]^=0x36363636;_0x32a8b7[_0x51eefe(0x4a3)]=_0x403a2d[_0x51eefe(0x4a3)]=_0xdcc8c0,this[_0x51eefe(0x216)]();},'reset':function(){const _0x51706a=_0x1324a3;var _0xd3f15e=this[_0x51706a(0x107)];_0xd3f15e['reset'](),_0xd3f15e[_0x51706a(0xbf)](this[_0x51706a(0x25f)]);},'update':function(_0x139dcd){return this['_hasher']['update'](_0x139dcd),this;},'finalize':function(_0x42b305){const _0x3a4e49=_0x1324a3;var _0x2a12b8=this[_0x3a4e49(0x107)],_0x1a91a5=_0x2a12b8['finalize'](_0x42b305);_0x2a12b8['reset']();var _0x95c138=_0x2a12b8[_0x3a4e49(0x17d)](this['_oKey']['clone']()[_0x3a4e49(0x40a)](_0x1a91a5));return _0x95c138;}});}());}));}(St)),St[_0x314e7c(0x317)];}var lc=mt['exports'],fi;function _0x46d8(_0x7ce7e9,_0x453604){const _0x5197c2=_0x5197();return _0x46d8=function(_0x46d88f,_0x302619){_0x46d88f=_0x46d88f-0xa4;let _0x400d2c=_0x5197c2[_0x46d88f];return _0x400d2c;},_0x46d8(_0x7ce7e9,_0x453604);}function nr(){const _0x22af66=_0x2025fc;return fi||(fi=0x1,function(_0x1401db,_0x1fcd16){(function(_0x2490a6,_0x342771,_0x153c8d){const _0x30fb07=_0x46d8;_0x1401db[_0x30fb07(0x317)]=_0x342771(_e(),ac(),hc());}(lc,function(_0x148432){return(function(){const _0x5b28fc=_0x46d8;var _0x2448e5=_0x148432,_0xc0f0ec=_0x2448e5['lib'],_0x1a82a1=_0xc0f0ec[_0x5b28fc(0x298)],_0x4be92a=_0xc0f0ec[_0x5b28fc(0x1c9)],_0x4d1d4c=_0x2448e5[_0x5b28fc(0x1b4)],_0x2c0e45=_0x4d1d4c['MD5'],_0x4e4088=_0x4d1d4c[_0x5b28fc(0x2ba)]=_0x1a82a1[_0x5b28fc(0x4a2)]({'cfg':_0x1a82a1[_0x5b28fc(0x4a2)]({'keySize':0x80/0x20,'hasher':_0x2c0e45,'iterations':0x1}),'init':function(_0x4731b2){const _0x27fe2f=_0x5b28fc;this[_0x27fe2f(0x250)]=this['cfg']['extend'](_0x4731b2);},'compute':function(_0x50e5a5,_0x4aaf1c){const _0x5abf7b=_0x5b28fc;for(var _0x945380,_0x17337c=this[_0x5abf7b(0x250)],_0x15fe18=_0x17337c[_0x5abf7b(0x261)][_0x5abf7b(0x27d)](),_0x2b632f=_0x4be92a[_0x5abf7b(0x27d)](),_0x54813e=_0x2b632f[_0x5abf7b(0x352)],_0x3d03c3=_0x17337c[_0x5abf7b(0x254)],_0x43d092=_0x17337c['iterations'];_0x54813e[_0x5abf7b(0x161)]<_0x3d03c3;){_0x945380&&_0x15fe18[_0x5abf7b(0xbf)](_0x945380),_0x945380=_0x15fe18['update'](_0x50e5a5)[_0x5abf7b(0x17d)](_0x4aaf1c),_0x15fe18[_0x5abf7b(0x216)]();for(var _0x1e55e5=0x1;_0x1e55e5<_0x43d092;_0x1e55e5++)_0x945380=_0x15fe18[_0x5abf7b(0x17d)](_0x945380),_0x15fe18[_0x5abf7b(0x216)]();_0x2b632f[_0x5abf7b(0x40a)](_0x945380);}return _0x2b632f[_0x5abf7b(0x4a3)]=_0x3d03c3*0x4,_0x2b632f;}});_0x2448e5[_0x5b28fc(0x2ba)]=function(_0x1b67e1,_0x55b086,_0x4f00d6){const _0x18b3d2=_0x5b28fc;return _0x4e4088[_0x18b3d2(0x27d)](_0x4f00d6)[_0x18b3d2(0x2ca)](_0x1b67e1,_0x55b086);};}()),_0x148432['EvpKDF'];}));}(mt)),mt[_0x22af66(0x317)];}var It={'exports':{}},_c=It[_0x2025fc(0x317)],vi;function or(){return vi||(vi=0x1,function(_0x437363,_0x18ef93){(function(_0x4a8e7b,_0x5396d3,_0x162549){const _0x24a4b6=_0x46d8;_0x437363[_0x24a4b6(0x317)]=_0x5396d3(_e(),nr());}(_c,function(_0x4cdc08){_0x4cdc08['lib']['Cipher']||function(_0x75539f){const _0x1a834e=_0x46d8;var _0x131487=_0x4cdc08,_0x43dedf=_0x131487[_0x1a834e(0x118)],_0x4ba3e6=_0x43dedf['Base'],_0x16e173=_0x43dedf[_0x1a834e(0x1c9)],_0x1ec9d7=_0x43dedf[_0x1a834e(0x450)],_0x9dcb7=_0x131487['enc'];_0x9dcb7[_0x1a834e(0x488)];var _0x1d8690=_0x9dcb7[_0x1a834e(0x22c)],_0xa36d5e=_0x131487[_0x1a834e(0x1b4)],_0x1a5c2d=_0xa36d5e[_0x1a834e(0x2ba)],_0x170403=_0x43dedf[_0x1a834e(0x31d)]=_0x1ec9d7[_0x1a834e(0x4a2)]({'cfg':_0x4ba3e6[_0x1a834e(0x4a2)](),'createEncryptor':function(_0x599fa6,_0x4740ec){const _0x2e08f9=_0x1a834e;return this[_0x2e08f9(0x27d)](this[_0x2e08f9(0x3db)],_0x599fa6,_0x4740ec);},'createDecryptor':function(_0x2a4bd3,_0x193aca){const _0x139219=_0x1a834e;return this[_0x139219(0x27d)](this[_0x139219(0x10d)],_0x2a4bd3,_0x193aca);},'init':function(_0x3e5d11,_0x13a032,_0x236e6d){const _0x5b8894=_0x1a834e;this['cfg']=this['cfg'][_0x5b8894(0x4a2)](_0x236e6d),this[_0x5b8894(0x313)]=_0x3e5d11,this[_0x5b8894(0x306)]=_0x13a032,this[_0x5b8894(0x216)]();},'reset':function(){const _0x5a26e7=_0x1a834e;_0x1ec9d7[_0x5a26e7(0x216)][_0x5a26e7(0x494)](this),this[_0x5a26e7(0x228)]();},'process':function(_0x4992e0){const _0x1b0f79=_0x1a834e;return this[_0x1b0f79(0x245)](_0x4992e0),this[_0x1b0f79(0xb9)]();},'finalize':function(_0xccdd70){_0xccdd70&&this['_append'](_0xccdd70);var _0x3df9b=this['_doFinalize']();return _0x3df9b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4bb796(_0x229dd5){const _0x42d92f=_0x46d8;return typeof _0x229dd5==_0x42d92f(0x151)?_0x4c24a3:_0xf309e7;}return function(_0x1f1c02){return{'encrypt':function(_0x5552f0,_0x1946ea,_0x53cda0){const _0x30e37a=_0x46d8;return _0x4bb796(_0x1946ea)[_0x30e37a(0x36a)](_0x1f1c02,_0x5552f0,_0x1946ea,_0x53cda0);},'decrypt':function(_0x4643ca,_0x44b12a,_0x5ed82b){const _0x470b7f=_0x46d8;return _0x4bb796(_0x44b12a)[_0x470b7f(0xbe)](_0x1f1c02,_0x4643ca,_0x44b12a,_0x5ed82b);}};};}())});_0x43dedf['StreamCipher']=_0x170403[_0x1a834e(0x4a2)]({'_doFinalize':function(){const _0x1366b8=_0x1a834e;var _0xc43c70=this[_0x1366b8(0xb9)](!0x0);return _0xc43c70;},'blockSize':0x1});var _0x489559=_0x131487['mode']={},_0x158b9d=_0x43dedf[_0x1a834e(0x353)]=_0x4ba3e6[_0x1a834e(0x4a2)]({'createEncryptor':function(_0xe71ab9,_0x346906){const _0x1d0642=_0x1a834e;return this[_0x1d0642(0x205)][_0x1d0642(0x27d)](_0xe71ab9,_0x346906);},'createDecryptor':function(_0x308509,_0x522959){const _0x97010a=_0x1a834e;return this[_0x97010a(0x255)][_0x97010a(0x27d)](_0x308509,_0x522959);},'init':function(_0x20c6f9,_0x1d6e29){const _0x19012b=_0x1a834e;this[_0x19012b(0x434)]=_0x20c6f9,this[_0x19012b(0x355)]=_0x1d6e29;}}),_0x2c8fd0=_0x489559['CBC']=(function(){const _0xa07ae1=_0x1a834e;var _0x4a0679=_0x158b9d['extend']();_0x4a0679[_0xa07ae1(0x205)]=_0x4a0679['extend']({'processBlock':function(_0x435b8b,_0x16e3dc){const _0x3f05d0=_0xa07ae1;var _0x1e06b9=this[_0x3f05d0(0x434)],_0x4d3141=_0x1e06b9[_0x3f05d0(0x112)];_0x166e7d[_0x3f05d0(0x494)](this,_0x435b8b,_0x16e3dc,_0x4d3141),_0x1e06b9['encryptBlock'](_0x435b8b,_0x16e3dc),this[_0x3f05d0(0x305)]=_0x435b8b[_0x3f05d0(0x48f)](_0x16e3dc,_0x16e3dc+_0x4d3141);}}),_0x4a0679[_0xa07ae1(0x255)]=_0x4a0679['extend']({'processBlock':function(_0xbfe314,_0x4b9807){const _0x7f1adf=_0xa07ae1;var _0xb17a73=this['_cipher'],_0x5c374f=_0xb17a73[_0x7f1adf(0x112)],_0x277182=_0xbfe314[_0x7f1adf(0x48f)](_0x4b9807,_0x4b9807+_0x5c374f);_0xb17a73[_0x7f1adf(0x3f0)](_0xbfe314,_0x4b9807),_0x166e7d[_0x7f1adf(0x494)](this,_0xbfe314,_0x4b9807,_0x5c374f),this['_prevBlock']=_0x277182;}});function _0x166e7d(_0x31d75a,_0x11eb71,_0x2071f9){const _0x5b4b7c=_0xa07ae1;var _0x4b1168,_0x4864dc=this['_iv'];_0x4864dc?(_0x4b1168=_0x4864dc,this['_iv']=_0x75539f):_0x4b1168=this[_0x5b4b7c(0x305)];for(var _0x2d2e67=0x0;_0x2d2e67<_0x2071f9;_0x2d2e67++)_0x31d75a[_0x11eb71+_0x2d2e67]^=_0x4b1168[_0x2d2e67];}return _0x4a0679;}()),_0x37e52c=_0x131487[_0x1a834e(0x45f)]={},_0x70b5a3=_0x37e52c[_0x1a834e(0x234)]={'pad':function(_0x348bb6,_0x12f930){const _0x24703b=_0x1a834e;for(var _0x56529b=_0x12f930*0x4,_0x28a59e=_0x56529b-_0x348bb6[_0x24703b(0x4a3)]%_0x56529b,_0x2e3343=_0x28a59e<<0x18|_0x28a59e<<0x10|_0x28a59e<<0x8|_0x28a59e,_0x1506d5=[],_0x17685d=0x0;_0x17685d<_0x28a59e;_0x17685d+=0x4)_0x1506d5[_0x24703b(0x22f)](_0x2e3343);var _0x5ee0b8=_0x16e173[_0x24703b(0x27d)](_0x1506d5,_0x28a59e);_0x348bb6[_0x24703b(0x40a)](_0x5ee0b8);},'unpad':function(_0x6938d2){const _0x181535=_0x1a834e;var _0x4b5186=_0x6938d2[_0x181535(0x352)][_0x6938d2[_0x181535(0x4a3)]-0x1>>>0x2]&0xff;_0x6938d2[_0x181535(0x4a3)]-=_0x4b5186;}};_0x43dedf[_0x1a834e(0xdd)]=_0x170403[_0x1a834e(0x4a2)]({'cfg':_0x170403['cfg'][_0x1a834e(0x4a2)]({'mode':_0x2c8fd0,'padding':_0x70b5a3}),'reset':function(){const _0x2d9c9e=_0x1a834e;var _0x588d05;_0x170403[_0x2d9c9e(0x216)][_0x2d9c9e(0x494)](this);var _0x3c7854=this['cfg'],_0x309558=_0x3c7854['iv'],_0x1472c9=_0x3c7854[_0x2d9c9e(0x324)];this[_0x2d9c9e(0x313)]==this[_0x2d9c9e(0x3db)]?_0x588d05=_0x1472c9[_0x2d9c9e(0x3d4)]:(_0x588d05=_0x1472c9['createDecryptor'],this[_0x2d9c9e(0x12d)]=0x1),this['_mode']&&this[_0x2d9c9e(0x1e9)][_0x2d9c9e(0x1a4)]==_0x588d05?this['_mode']['init'](this,_0x309558&&_0x309558[_0x2d9c9e(0x352)]):(this[_0x2d9c9e(0x1e9)]=_0x588d05[_0x2d9c9e(0x494)](_0x1472c9,this,_0x309558&&_0x309558[_0x2d9c9e(0x352)]),this[_0x2d9c9e(0x1e9)][_0x2d9c9e(0x1a4)]=_0x588d05);},'_doProcessBlock':function(_0x457140,_0x1cfef1){const _0x54b27b=_0x1a834e;this[_0x54b27b(0x1e9)]['processBlock'](_0x457140,_0x1cfef1);},'_doFinalize':function(){const _0x2a5a69=_0x1a834e;var _0x8254fa,_0x3e1a0c=this[_0x2a5a69(0x250)]['padding'];return this[_0x2a5a69(0x313)]==this['_ENC_XFORM_MODE']?(_0x3e1a0c['pad'](this[_0x2a5a69(0x27e)],this[_0x2a5a69(0x112)]),_0x8254fa=this[_0x2a5a69(0xb9)](!0x0)):(_0x8254fa=this[_0x2a5a69(0xb9)](!0x0),_0x3e1a0c[_0x2a5a69(0x1e0)](_0x8254fa)),_0x8254fa;},'blockSize':0x80/0x20});var _0x2a4e40=_0x43dedf[_0x1a834e(0xeb)]=_0x4ba3e6[_0x1a834e(0x4a2)]({'init':function(_0x1a4d2f){this['mixIn'](_0x1a4d2f);},'toString':function(_0x61b07b){const _0x5723ca=_0x1a834e;return(_0x61b07b||this[_0x5723ca(0x126)])[_0x5723ca(0x11e)](this);}}),_0xf37682=_0x131487[_0x1a834e(0x224)]={},_0x3fccaa=_0xf37682[_0x1a834e(0x120)]={'stringify':function(_0x3c99f1){const _0x455810=_0x1a834e;var _0x278aef,_0x53ee10=_0x3c99f1['ciphertext'],_0x1747a1=_0x3c99f1[_0x455810(0x1fd)];return _0x1747a1?_0x278aef=_0x16e173[_0x455810(0x27d)]([0x53616c74,0x65645f5f])[_0x455810(0x40a)](_0x1747a1)[_0x455810(0x40a)](_0x53ee10):_0x278aef=_0x53ee10,_0x278aef[_0x455810(0x135)](_0x1d8690);},'parse':function(_0x185270){const _0xdaa06b=_0x1a834e;var _0x3bbd6b,_0x5580a0=_0x1d8690[_0xdaa06b(0x211)](_0x185270),_0x3cdf65=_0x5580a0['words'];return _0x3cdf65[0x0]==0x53616c74&&_0x3cdf65[0x1]==0x65645f5f&&(_0x3bbd6b=_0x16e173[_0xdaa06b(0x27d)](_0x3cdf65['slice'](0x2,0x4)),_0x3cdf65['splice'](0x0,0x4),_0x5580a0[_0xdaa06b(0x4a3)]-=0x10),_0x2a4e40[_0xdaa06b(0x27d)]({'ciphertext':_0x5580a0,'salt':_0x3bbd6b});}},_0xf309e7=_0x43dedf[_0x1a834e(0x31e)]=_0x4ba3e6['extend']({'cfg':_0x4ba3e6['extend']({'format':_0x3fccaa}),'encrypt':function(_0x3d6186,_0x3c396f,_0x3f3803,_0x5b1cdd){const _0x15a56f=_0x1a834e;_0x5b1cdd=this[_0x15a56f(0x250)]['extend'](_0x5b1cdd);var _0x21f2a2=_0x3d6186[_0x15a56f(0x3d4)](_0x3f3803,_0x5b1cdd),_0x4fd2a0=_0x21f2a2[_0x15a56f(0x17d)](_0x3c396f),_0x48518f=_0x21f2a2[_0x15a56f(0x250)];return _0x2a4e40[_0x15a56f(0x27d)]({'ciphertext':_0x4fd2a0,'key':_0x3f3803,'iv':_0x48518f['iv'],'algorithm':_0x3d6186,'mode':_0x48518f['mode'],'padding':_0x48518f[_0x15a56f(0x3bb)],'blockSize':_0x3d6186[_0x15a56f(0x112)],'formatter':_0x5b1cdd['format']});},'decrypt':function(_0x1d3387,_0x398913,_0x1c0ff3,_0x4c712d){const _0x456bb8=_0x1a834e;_0x4c712d=this[_0x456bb8(0x250)][_0x456bb8(0x4a2)](_0x4c712d),_0x398913=this[_0x456bb8(0x256)](_0x398913,_0x4c712d[_0x456bb8(0x224)]);var _0x350edc=_0x1d3387[_0x456bb8(0x2c2)](_0x1c0ff3,_0x4c712d)['finalize'](_0x398913[_0x456bb8(0x27a)]);return _0x350edc;},'_parse':function(_0x49f215,_0x2b8e93){const _0x3c99a6=_0x1a834e;return typeof _0x49f215==_0x3c99a6(0x151)?_0x2b8e93[_0x3c99a6(0x211)](_0x49f215,this):_0x49f215;}}),_0x4d8783=_0x131487[_0x1a834e(0x1d1)]={},_0x33710c=_0x4d8783[_0x1a834e(0x120)]={'execute':function(_0x29f753,_0x5bcece,_0x223538,_0xc7285c,_0x2902b7){const _0xc1b969=_0x1a834e;if(_0xc7285c||(_0xc7285c=_0x16e173['random'](0x40/0x8)),_0x2902b7)var _0x58815d=_0x1a5c2d[_0xc1b969(0x27d)]({'keySize':_0x5bcece+_0x223538,'hasher':_0x2902b7})[_0xc1b969(0x2ca)](_0x29f753,_0xc7285c);else var _0x58815d=_0x1a5c2d[_0xc1b969(0x27d)]({'keySize':_0x5bcece+_0x223538})['compute'](_0x29f753,_0xc7285c);var _0x2752f5=_0x16e173[_0xc1b969(0x27d)](_0x58815d['words'][_0xc1b969(0x48f)](_0x5bcece),_0x223538*0x4);return _0x58815d[_0xc1b969(0x4a3)]=_0x5bcece*0x4,_0x2a4e40[_0xc1b969(0x27d)]({'key':_0x58815d,'iv':_0x2752f5,'salt':_0xc7285c});}},_0x4c24a3=_0x43dedf[_0x1a834e(0xb0)]=_0xf309e7[_0x1a834e(0x4a2)]({'cfg':_0xf309e7[_0x1a834e(0x250)]['extend']({'kdf':_0x33710c}),'encrypt':function(_0x14c49d,_0x5b5c6f,_0x360216,_0x234a25){const _0x381bc6=_0x1a834e;_0x234a25=this[_0x381bc6(0x250)]['extend'](_0x234a25);var _0x341211=_0x234a25['kdf'][_0x381bc6(0x2dc)](_0x360216,_0x14c49d[_0x381bc6(0x254)],_0x14c49d[_0x381bc6(0x141)],_0x234a25[_0x381bc6(0x1fd)],_0x234a25[_0x381bc6(0x261)]);_0x234a25['iv']=_0x341211['iv'];var _0x265d0=_0xf309e7[_0x381bc6(0x36a)][_0x381bc6(0x494)](this,_0x14c49d,_0x5b5c6f,_0x341211['key'],_0x234a25);return _0x265d0[_0x381bc6(0x394)](_0x341211),_0x265d0;},'decrypt':function(_0x212295,_0x1c8ac9,_0x5b2f0e,_0x45df94){const _0x462d78=_0x1a834e;_0x45df94=this['cfg'][_0x462d78(0x4a2)](_0x45df94),_0x1c8ac9=this[_0x462d78(0x256)](_0x1c8ac9,_0x45df94[_0x462d78(0x224)]);var _0x528992=_0x45df94[_0x462d78(0x1d1)]['execute'](_0x5b2f0e,_0x212295[_0x462d78(0x254)],_0x212295[_0x462d78(0x141)],_0x1c8ac9[_0x462d78(0x1fd)],_0x45df94['hasher']);_0x45df94['iv']=_0x528992['iv'];var _0x402c6c=_0xf309e7['decrypt'][_0x462d78(0x494)](this,_0x212295,_0x1c8ac9,_0x528992[_0x462d78(0x45c)],_0x45df94);return _0x402c6c;}});}();}));}(It)),It['exports'];}var uc=dt[_0x2025fc(0x317)],pi;function dc(){const _0x3afdcd=_0x2025fc;return pi||(pi=0x1,function(_0x3e79f6,_0x1e2016){(function(_0x119ac0,_0x2ce047,_0x56f06c){const _0x3bf0e4=_0x46d8;_0x3e79f6[_0x3bf0e4(0x317)]=_0x2ce047(_e(),rr(),nc(),nr(),or());}(uc,function(_0x278a9c){const _0x55ff72=_0x46d8;return(function(){const _0x2e4fb1=_0x46d8;var _0x30f791=_0x278a9c,_0x1f3da1=_0x30f791[_0x2e4fb1(0x118)],_0x1af67c=_0x1f3da1[_0x2e4fb1(0xdd)],_0x4bd355=_0x30f791[_0x2e4fb1(0x1b4)],_0x5367ed=[],_0x185cc8=[],_0x22e6e1=[],_0x1060bc=[],_0x9e24e5=[],_0x31ea26=[],_0x14e023=[],_0x507ab5=[],_0x3c9e17=[],_0x57dcfb=[];(function(){for(var _0x39d0ef=[],_0x4b896b=0x0;_0x4b896b<0x100;_0x4b896b++)_0x4b896b<0x80?_0x39d0ef[_0x4b896b]=_0x4b896b<<0x1:_0x39d0ef[_0x4b896b]=_0x4b896b<<0x1^0x11b;for(var _0x2cb7bc=0x0,_0x3bec17=0x0,_0x4b896b=0x0;_0x4b896b<0x100;_0x4b896b++){var _0x168dfc=_0x3bec17^_0x3bec17<<0x1^_0x3bec17<<0x2^_0x3bec17<<0x3^_0x3bec17<<0x4;_0x168dfc=_0x168dfc>>>0x8^_0x168dfc&0xff^0x63,_0x5367ed[_0x2cb7bc]=_0x168dfc,_0x185cc8[_0x168dfc]=_0x2cb7bc;var _0x75f292=_0x39d0ef[_0x2cb7bc],_0x36e8b9=_0x39d0ef[_0x75f292],_0x347ff9=_0x39d0ef[_0x36e8b9],_0x369bf4=_0x39d0ef[_0x168dfc]*0x101^_0x168dfc*0x1010100;_0x22e6e1[_0x2cb7bc]=_0x369bf4<<0x18|_0x369bf4>>>0x8,_0x1060bc[_0x2cb7bc]=_0x369bf4<<0x10|_0x369bf4>>>0x10,_0x9e24e5[_0x2cb7bc]=_0x369bf4<<0x8|_0x369bf4>>>0x18,_0x31ea26[_0x2cb7bc]=_0x369bf4;var _0x369bf4=_0x347ff9*0x1010101^_0x36e8b9*0x10001^_0x75f292*0x101^_0x2cb7bc*0x1010100;_0x14e023[_0x168dfc]=_0x369bf4<<0x18|_0x369bf4>>>0x8,_0x507ab5[_0x168dfc]=_0x369bf4<<0x10|_0x369bf4>>>0x10,_0x3c9e17[_0x168dfc]=_0x369bf4<<0x8|_0x369bf4>>>0x18,_0x57dcfb[_0x168dfc]=_0x369bf4,_0x2cb7bc?(_0x2cb7bc=_0x75f292^_0x39d0ef[_0x39d0ef[_0x39d0ef[_0x347ff9^_0x75f292]]],_0x3bec17^=_0x39d0ef[_0x39d0ef[_0x3bec17]]):_0x2cb7bc=_0x3bec17=0x1;}}());var _0x43dc6b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4a9580=_0x4bd355[_0x2e4fb1(0xfc)]=_0x1af67c[_0x2e4fb1(0x4a2)]({'_doReset':function(){const _0x16b0a9=_0x2e4fb1;var _0x39989e;if(!(this[_0x16b0a9(0x404)]&&this['_keyPriorReset']===this[_0x16b0a9(0x306)])){for(var _0x20e33d=this[_0x16b0a9(0x3d6)]=this[_0x16b0a9(0x306)],_0x13af51=_0x20e33d[_0x16b0a9(0x352)],_0x398939=_0x20e33d[_0x16b0a9(0x4a3)]/0x4,_0x55d7ff=this[_0x16b0a9(0x404)]=_0x398939+0x6,_0x2de9e8=(_0x55d7ff+0x1)*0x4,_0x2d555e=this['_keySchedule']=[],_0x46837a=0x0;_0x46837a<_0x2de9e8;_0x46837a++)_0x46837a<_0x398939?_0x2d555e[_0x46837a]=_0x13af51[_0x46837a]:(_0x39989e=_0x2d555e[_0x46837a-0x1],_0x46837a%_0x398939?_0x398939>0x6&&_0x46837a%_0x398939==0x4&&(_0x39989e=_0x5367ed[_0x39989e>>>0x18]<<0x18|_0x5367ed[_0x39989e>>>0x10&0xff]<<0x10|_0x5367ed[_0x39989e>>>0x8&0xff]<<0x8|_0x5367ed[_0x39989e&0xff]):(_0x39989e=_0x39989e<<0x8|_0x39989e>>>0x18,_0x39989e=_0x5367ed[_0x39989e>>>0x18]<<0x18|_0x5367ed[_0x39989e>>>0x10&0xff]<<0x10|_0x5367ed[_0x39989e>>>0x8&0xff]<<0x8|_0x5367ed[_0x39989e&0xff],_0x39989e^=_0x43dc6b[_0x46837a/_0x398939|0x0]<<0x18),_0x2d555e[_0x46837a]=_0x2d555e[_0x46837a-_0x398939]^_0x39989e);for(var _0x38a722=this[_0x16b0a9(0x16c)]=[],_0x4df2e2=0x0;_0x4df2e2<_0x2de9e8;_0x4df2e2++){var _0x46837a=_0x2de9e8-_0x4df2e2;if(_0x4df2e2%0x4)var _0x39989e=_0x2d555e[_0x46837a];else var _0x39989e=_0x2d555e[_0x46837a-0x4];_0x4df2e2<0x4||_0x46837a<=0x4?_0x38a722[_0x4df2e2]=_0x39989e:_0x38a722[_0x4df2e2]=_0x14e023[_0x5367ed[_0x39989e>>>0x18]]^_0x507ab5[_0x5367ed[_0x39989e>>>0x10&0xff]]^_0x3c9e17[_0x5367ed[_0x39989e>>>0x8&0xff]]^_0x57dcfb[_0x5367ed[_0x39989e&0xff]];}}},'encryptBlock':function(_0x5d7414,_0x3ee591){const _0x173b07=_0x2e4fb1;this['_doCryptBlock'](_0x5d7414,_0x3ee591,this[_0x173b07(0x1cd)],_0x22e6e1,_0x1060bc,_0x9e24e5,_0x31ea26,_0x5367ed);},'decryptBlock':function(_0x2491fe,_0x3b6eaf){const _0x46fc69=_0x2e4fb1;var _0x36ac09=_0x2491fe[_0x3b6eaf+0x1];_0x2491fe[_0x3b6eaf+0x1]=_0x2491fe[_0x3b6eaf+0x3],_0x2491fe[_0x3b6eaf+0x3]=_0x36ac09,this[_0x46fc69(0x323)](_0x2491fe,_0x3b6eaf,this['_invKeySchedule'],_0x14e023,_0x507ab5,_0x3c9e17,_0x57dcfb,_0x185cc8);var _0x36ac09=_0x2491fe[_0x3b6eaf+0x1];_0x2491fe[_0x3b6eaf+0x1]=_0x2491fe[_0x3b6eaf+0x3],_0x2491fe[_0x3b6eaf+0x3]=_0x36ac09;},'_doCryptBlock':function(_0x1dd776,_0x2cad6c,_0x21777d,_0x48fefa,_0x1e7597,_0x365698,_0x180445,_0x515e74){const _0x586714=_0x2e4fb1;for(var _0x47dcc8=this[_0x586714(0x404)],_0xfa56d8=_0x1dd776[_0x2cad6c]^_0x21777d[0x0],_0x30cb02=_0x1dd776[_0x2cad6c+0x1]^_0x21777d[0x1],_0x29f017=_0x1dd776[_0x2cad6c+0x2]^_0x21777d[0x2],_0x23d7c1=_0x1dd776[_0x2cad6c+0x3]^_0x21777d[0x3],_0x5bbcef=0x4,_0x108599=0x1;_0x108599<_0x47dcc8;_0x108599++){var _0x24ee2f=_0x48fefa[_0xfa56d8>>>0x18]^_0x1e7597[_0x30cb02>>>0x10&0xff]^_0x365698[_0x29f017>>>0x8&0xff]^_0x180445[_0x23d7c1&0xff]^_0x21777d[_0x5bbcef++],_0x3f0c73=_0x48fefa[_0x30cb02>>>0x18]^_0x1e7597[_0x29f017>>>0x10&0xff]^_0x365698[_0x23d7c1>>>0x8&0xff]^_0x180445[_0xfa56d8&0xff]^_0x21777d[_0x5bbcef++],_0x29e532=_0x48fefa[_0x29f017>>>0x18]^_0x1e7597[_0x23d7c1>>>0x10&0xff]^_0x365698[_0xfa56d8>>>0x8&0xff]^_0x180445[_0x30cb02&0xff]^_0x21777d[_0x5bbcef++],_0x39b79d=_0x48fefa[_0x23d7c1>>>0x18]^_0x1e7597[_0xfa56d8>>>0x10&0xff]^_0x365698[_0x30cb02>>>0x8&0xff]^_0x180445[_0x29f017&0xff]^_0x21777d[_0x5bbcef++];_0xfa56d8=_0x24ee2f,_0x30cb02=_0x3f0c73,_0x29f017=_0x29e532,_0x23d7c1=_0x39b79d;}var _0x24ee2f=(_0x515e74[_0xfa56d8>>>0x18]<<0x18|_0x515e74[_0x30cb02>>>0x10&0xff]<<0x10|_0x515e74[_0x29f017>>>0x8&0xff]<<0x8|_0x515e74[_0x23d7c1&0xff])^_0x21777d[_0x5bbcef++],_0x3f0c73=(_0x515e74[_0x30cb02>>>0x18]<<0x18|_0x515e74[_0x29f017>>>0x10&0xff]<<0x10|_0x515e74[_0x23d7c1>>>0x8&0xff]<<0x8|_0x515e74[_0xfa56d8&0xff])^_0x21777d[_0x5bbcef++],_0x29e532=(_0x515e74[_0x29f017>>>0x18]<<0x18|_0x515e74[_0x23d7c1>>>0x10&0xff]<<0x10|_0x515e74[_0xfa56d8>>>0x8&0xff]<<0x8|_0x515e74[_0x30cb02&0xff])^_0x21777d[_0x5bbcef++],_0x39b79d=(_0x515e74[_0x23d7c1>>>0x18]<<0x18|_0x515e74[_0xfa56d8>>>0x10&0xff]<<0x10|_0x515e74[_0x30cb02>>>0x8&0xff]<<0x8|_0x515e74[_0x29f017&0xff])^_0x21777d[_0x5bbcef++];_0x1dd776[_0x2cad6c]=_0x24ee2f,_0x1dd776[_0x2cad6c+0x1]=_0x3f0c73,_0x1dd776[_0x2cad6c+0x2]=_0x29e532,_0x1dd776[_0x2cad6c+0x3]=_0x39b79d;},'keySize':0x100/0x20});_0x30f791[_0x2e4fb1(0xfc)]=_0x1af67c[_0x2e4fb1(0xb5)](_0x4a9580);}()),_0x278a9c[_0x55ff72(0xfc)];}));}(dt)),dt[_0x3afdcd(0x317)];}var fc=dc();const vc=ct(fc);var pc=rr();const mi=ct(pc);var Ct={'exports':{}},mc=Ct['exports'],gi;function gc(){const _0x3b3586=_0x2025fc;return gi||(gi=0x1,function(_0x119779,_0x312ca9){(function(_0x5b4eb0,_0xb4d625){const _0x592ce8=_0x46d8;_0x119779[_0x592ce8(0x317)]=_0xb4d625(_e());}(mc,function(_0x510f88){const _0xd69047=_0x46d8;return _0x510f88[_0xd69047(0xdb)][_0xd69047(0x488)];}));}(Ct)),Ct[_0x3b3586(0x317)];}var Sc=gc();const Ic=ct(Sc);var Et={'exports':{}},Cc=Et[_0x2025fc(0x317)],Si;function Ec(){const _0x43d317=_0x2025fc;return Si||(Si=0x1,function(_0x1f8a5b,_0x1b3da9){(function(_0x4861b5,_0x40ed07){_0x1f8a5b['exports']=_0x40ed07(_e());}(Cc,function(_0x21a69b){const _0xbd6c50=_0x46d8;return(function(){const _0x3f9dab=_0x46d8;if(typeof ArrayBuffer==_0x3f9dab(0x2d6)){var _0x2a91ac=_0x21a69b,_0x39f789=_0x2a91ac[_0x3f9dab(0x118)],_0x1f6b9e=_0x39f789[_0x3f9dab(0x1c9)],_0x1103e8=_0x1f6b9e[_0x3f9dab(0x289)],_0xd5dbed=_0x1f6b9e[_0x3f9dab(0x289)]=function(_0x2a8527){const _0x14c5b3=_0x3f9dab;if(_0x2a8527 instanceof ArrayBuffer&&(_0x2a8527=new Uint8Array(_0x2a8527)),(_0x2a8527 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2a8527 instanceof Uint8ClampedArray||_0x2a8527 instanceof Int16Array||_0x2a8527 instanceof Uint16Array||_0x2a8527 instanceof Int32Array||_0x2a8527 instanceof Uint32Array||_0x2a8527 instanceof Float32Array||_0x2a8527 instanceof Float64Array)&&(_0x2a8527=new Uint8Array(_0x2a8527[_0x14c5b3(0x4be)],_0x2a8527['byteOffset'],_0x2a8527['byteLength'])),_0x2a8527 instanceof Uint8Array){for(var _0x586c07=_0x2a8527[_0x14c5b3(0x32a)],_0x41331f=[],_0x55811c=0x0;_0x55811c<_0x586c07;_0x55811c++)_0x41331f[_0x55811c>>>0x2]|=_0x2a8527[_0x55811c]<<0x18-_0x55811c%0x4*0x8;_0x1103e8[_0x14c5b3(0x494)](this,_0x41331f,_0x586c07);}else _0x1103e8[_0x14c5b3(0x38b)](this,arguments);};_0xd5dbed['prototype']=_0x1f6b9e;}}()),_0x21a69b[_0xbd6c50(0x118)][_0xbd6c50(0x1c9)];}));}(Et)),Et[_0x43d317(0x317)];}var bc=Ec();const Tc=ct(bc);var bt={'exports':{}},Rc=bt[_0x2025fc(0x317)],Ii;function Oc(){return Ii||(Ii=0x1,function(_0x2c0c38,_0x2ff440){(function(_0x38b22c,_0x4a3eb2,_0x34672b){const _0x46cdd6=_0x46d8;_0x2c0c38[_0x46cdd6(0x317)]=_0x4a3eb2(_e(),or());}(Rc,function(_0x482228){const _0x342d2c=_0x46d8;return _0x482228[_0x342d2c(0x45f)][_0x342d2c(0x15c)]={'pad':function(){},'unpad':function(){}},_0x482228[_0x342d2c(0x45f)][_0x342d2c(0x15c)];}));}(bt)),bt['exports'];}var yc=Oc();const wc=ct(yc);function Dc(_0x1fd90d,_0x9063a8){const _0x336da5=_0x2025fc,_0x18b518=_0x9063a8-_0x1fd90d[_0x336da5(0x161)]%_0x9063a8,_0x3299fb=String[_0x336da5(0x208)](_0x18b518)[_0x336da5(0x3ba)](_0x18b518);return _0x1fd90d+_0x3299fb;}function Pc(_0x290f2f,_0x3f5ba0){const _0x4900ba=_0x2025fc,_0x1f7956=Tc[_0x4900ba(0x48e)](0x10),_0x594184=Dc(_0x290f2f,0x10),_0xe87556=vc[_0x4900ba(0x36a)](Ic[_0x4900ba(0x211)](_0x594184),mi['parse'](_0x3f5ba0),{'iv':_0x1f7956,'padding':wc});return _0x1f7956[_0x4900ba(0x40a)](_0xe87556[_0x4900ba(0x27a)])[_0x4900ba(0x135)](mi);}function Nc(){const _0x2dce8f=_0x2025fc,_0x8fc464=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x8fc464){const _0x89745b={'time':Math[_0x2dce8f(0x127)](Date[_0x2dce8f(0x1d9)]()/0x3e8),'domain':location[_0x2dce8f(0x32b)]};return Pc(JSON['stringify'](_0x89745b),_0x8fc464);}}var Uc=Object[_0x2025fc(0x385)],Ac=Object[_0x2025fc(0x18c)],Mc=(_0x2685e9,_0x6c04ab,_0x287c86,_0x14cf89)=>{for(var _0x4f36e7=_0x14cf89>0x1?void 0x0:_0x14cf89?Ac(_0x6c04ab,_0x287c86):_0x6c04ab,_0x445e12=_0x2685e9['length']-0x1,_0x300862;_0x445e12>=0x0;_0x445e12--)(_0x300862=_0x2685e9[_0x445e12])&&(_0x4f36e7=(_0x14cf89?_0x300862(_0x6c04ab,_0x287c86,_0x4f36e7):_0x300862(_0x4f36e7))||_0x4f36e7);return _0x14cf89&&_0x4f36e7&&Uc(_0x6c04ab,_0x287c86,_0x4f36e7),_0x4f36e7;},xc=(_0x9ece60,_0x39eb8b)=>(_0x5ecc87,_0xc52f92)=>_0x39eb8b(_0x5ecc87,_0xc52f92,_0x9ece60);let $t=class{constructor(_0x1bb02c){const _0x4abdae=_0x2025fc;this['_httpService']=_0x1bb02c,this[_0x4abdae(0x4bb)]();}['_initRequestHeader'](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x1c42a0,_0x4231a3)=>{const _0x52ba1b=_0x46d8,_0x432d51=_0x1c42a0[_0x52ba1b(0x28c)],_0x56ab59=Nc();return _0x56ab59&&_0x432d51['set'](_0x52ba1b(0xf9),_0x56ab59),_0x4231a3(_0x1c42a0);}});}};$t=Mc([xc(0x0,_0x5847bf(_0x310387))],$t);var Lc=Object[_0x2025fc(0x385)],$c=Object['getOwnPropertyDescriptor'],Hc=(_0x25f18f,_0x558306,_0x320659,_0x1db419)=>{for(var _0x2ac72c=_0x1db419>0x1?void 0x0:_0x1db419?$c(_0x558306,_0x320659):_0x558306,_0x43378a=_0x25f18f['length']-0x1,_0x4cbe1b;_0x43378a>=0x0;_0x43378a--)(_0x4cbe1b=_0x25f18f[_0x43378a])&&(_0x2ac72c=(_0x1db419?_0x4cbe1b(_0x558306,_0x320659,_0x2ac72c):_0x4cbe1b(_0x2ac72c))||_0x2ac72c);return _0x1db419&&_0x2ac72c&&Lc(_0x558306,_0x320659,_0x2ac72c),_0x2ac72c;},rs=(_0x553ce9,_0x45a7fb)=>(_0x4053c2,_0x4e8a69)=>_0x45a7fb(_0x4053c2,_0x4e8a69,_0x553ce9);const jc=[_0x2025fc(0x392),_0x2025fc(0x190),_0x2025fc(0x30c),_0x2025fc(0x4a1),'image/bmp'],Bc=0x5*0x400*0x400,kc=_0x2025fc(0x278),Wc=_0x2025fc(0x184),Fc=_0x2025fc(0xc0),Vc=_0x2025fc(0x3fc);let ms=class{constructor(_0x4db8e3,_0x42c56c,_0xc76584){const _0x3d0458=_0x2025fc;g(this,_0x3d0458(0x328),0x0),g(this,'_change$',new _0x1c0b9c()),g(this,_0x3d0458(0x314),this[_0x3d0458(0x1b2)]),g(this,'_imageSourceCache',new Map()),(this[_0x3d0458(0x2d8)]=_0x4db8e3,this[_0x3d0458(0xb4)]=_0x42c56c,this[_0x3d0458(0x3cf)]=_0xc76584);}['setWaitCount'](_0x162832){const _0x162ba5=_0x2025fc;this[_0x162ba5(0x328)]=_0x162832,this['_change$'][_0x162ba5(0x382)](_0x162832);}[_0x2025fc(0x48c)](_0x50f4e3,_0x12fe74){const _0x1cc4e1=_0x2025fc;if(_0x12fe74===_0x3882da[_0x1cc4e1(0x31f)]){const _0x3b6128=new Image();return _0x3b6128['src']=_0x50f4e3,_0x3b6128;}return this[_0x1cc4e1(0x383)]['get'](_0x50f4e3);}[_0x2025fc(0x3b7)](_0x5da71c,_0x35d4db,_0x7a1918){const _0x4d4266=_0x2025fc;_0x35d4db===_0x3882da[_0x4d4266(0x31f)]||_0x7a1918==null||this['_imageSourceCache'][_0x4d4266(0x39c)](_0x5da71c,_0x7a1918);}async[_0x2025fc(0x119)](_0x42da52){const _0x580296=_0x2025fc;try{const _0x14f3ca=this['_replaceFileID'](this['_getSignURL'](),''+_0x42da52),_0x5ac225=(await this['_httpService'][_0x580296(0x33e)](_0x14f3ca))[_0x580296(0x41f)];if(_0x5ac225[_0x580296(0x279)]&&_0x5ac225[_0x580296(0x279)]['code']===Fi['OK']){const _0x363c7f=new URL(_0x5ac225[_0x580296(0x33c)],this[_0x580296(0x341)]())['toString']();return Promise['resolve'](_0x363c7f);}return Promise[_0x580296(0x33a)](_0x5ac225[_0x580296(0x279)]);}catch(_0x1c55ac){return Promise['reject'](_0x1c55ac);}}async[_0x2025fc(0x3eb)](_0x3f3992){const _0x2df248=_0x2025fc;let _0x316ad1='';if(!jc['includes'](_0x3f3992[_0x2df248(0x442)]))return this[_0x2df248(0x42d)](),Promise['reject'](new Error(_0x228958[_0x2df248(0xa4)]));if(_0x3f3992[_0x2df248(0x2ac)]>Bc)return this['_decreaseWaiting'](),Promise[_0x2df248(0x33a)](new Error(_0x228958[_0x2df248(0x41d)]));try{const _0x57b59d=new FormData();_0x57b59d['append']('file',_0x3f3992);const _0x18302b=this[_0x2df248(0x3cf)][_0x2df248(0x3ff)](),_0xad246f=_0x18302b==null?void 0x0:_0x18302b['getUnitId']();if(!_0xad246f)throw new Error('unitId\x20is\x20not\x20found');const _0x382e18=this[_0x2df248(0x24a)]()+_0x2df248(0x27b)+_0x3f3992[_0x2df248(0x2ac)]['toString']()+_0x2df248(0x251)+Vi[_0x2df248(0x239)]+_0x2df248(0x4b7)+encodeURIComponent(_0xad246f),_0x1f6d34=await(await fetch(_0x382e18,{'method':'POST','body':_0x57b59d}))[_0x2df248(0x1f7)]();if(typeof _0x1f6d34[_0x2df248(0x28d)]!=_0x2df248(0x151))return this[_0x2df248(0x42d)](),Promise[_0x2df248(0x33a)](new Error(_0x228958[_0x2df248(0x258)]));_0x316ad1=_0x1f6d34['FileId'];}catch{return this[_0x2df248(0x42d)](),Promise[_0x2df248(0x33a)](new Error(_0x228958[_0x2df248(0x258)]));}return new Promise((_0x50efec,_0x53ed22)=>{const _0x23989d=_0x2df248,_0x2f9706=new FileReader();_0x2f9706[_0x23989d(0x18e)](_0x3f3992),_0x2f9706[_0x23989d(0x407)]=_0x196477=>{const _0x2149a3=_0x23989d;var _0x4d7785;const _0x2e71c1=(_0x4d7785=_0x196477[_0x2149a3(0x3c4)])==null?void 0x0:_0x4d7785['result'];if(_0x2e71c1==null){this[_0x2149a3(0x42d)](),_0x53ed22(new Error(_0x228958['ERROR_IMAGE']));return;}const _0x246414=_0x529634[_0x2149a3(0x210)](0x6);_0x50efec({'imageId':_0x246414,'imageSourceType':_0x3882da[_0x2149a3(0x3ce)],'source':_0x316ad1,'base64Cache':_0x2e71c1,'status':_0x228958[_0x2149a3(0x4b5)]}),this[_0x2149a3(0x42d)]();};});}[_0x2025fc(0x24a)](){const _0x5b1db4=_0x2025fc;var _0x322418,_0x1e09df;const _0x2aec6b=this[_0x5b1db4(0xb4)][_0x5b1db4(0x217)](kc),_0x5b27b6=this[_0x5b1db4(0xb4)][_0x5b1db4(0x217)](Q);return(_0x1e09df=(_0x322418=_0x5b27b6==null?void 0x0:_0x5b27b6[_0x5b1db4(0x186)])!=null?_0x322418:_0x2aec6b)!=null?_0x1e09df:Wc;}['_getSignURL'](){const _0x457564=_0x2025fc;var _0x1b67d3,_0x12a2b6;const _0x2d4539=this[_0x457564(0xb4)]['getConfig'](Fc),_0x16c34f=this['_configService'][_0x457564(0x217)](Q);return(_0x12a2b6=(_0x1b67d3=_0x16c34f==null?void 0x0:_0x16c34f['signUrlServerUrl'])!=null?_0x1b67d3:_0x2d4539)!=null?_0x12a2b6:Vc;}['_getDownloadEndpointURL'](){const _0x957711=_0x2025fc;var _0x52a874;const _0x2437a3=this[_0x957711(0xb4)]['getConfig'](Q);return(_0x52a874=_0x2437a3==null?void 0x0:_0x2437a3['downloadEndpointUrl'])!=null?_0x52a874:location[_0x957711(0x25c)];}['_replaceFileID'](_0x51f604,_0x4886dd){const _0x5ec1a7=_0x2025fc;return _0x51f604[_0x5ec1a7(0x11f)](_0x5ec1a7(0x3c3),_0x4886dd);}['_decreaseWaiting'](){const _0x56acc9=_0x2025fc;this[_0x56acc9(0x328)]-=0x1,this[_0x56acc9(0x1b2)][_0x56acc9(0x382)](this[_0x56acc9(0x328)]);}};ms=Hc([rs(0x0,_0x5847bf(_0x310387)),rs(0x1,_0x4df844),rs(0x2,_0x5847bf(_0x425cee))],ms);var Gc=Object[_0x2025fc(0x385)],Yc=Object[_0x2025fc(0x18c)],Kc=(_0x3e00f7,_0x452080,_0x1fdd9c,_0x174c53)=>{const _0x54c1c8=_0x2025fc;for(var _0x2c9417=_0x174c53>0x1?void 0x0:_0x174c53?Yc(_0x452080,_0x1fdd9c):_0x452080,_0x58af7e=_0x3e00f7[_0x54c1c8(0x161)]-0x1,_0x58185a;_0x58af7e>=0x0;_0x58af7e--)(_0x58185a=_0x3e00f7[_0x58af7e])&&(_0x2c9417=(_0x174c53?_0x58185a(_0x452080,_0x1fdd9c,_0x2c9417):_0x58185a(_0x2c9417))||_0x2c9417);return _0x174c53&&_0x2c9417&&Gc(_0x452080,_0x1fdd9c,_0x2c9417),_0x2c9417;},Ci=(_0xdf60e1,_0x2b4df5)=>(_0x42c7df,_0x45fdef)=>_0x2b4df5(_0x42c7df,_0x45fdef,_0xdf60e1);const qc=_0x2025fc(0x423);let gs=class{constructor(_0x9d5e21,_0x9f17b0){const _0x1c9b3e=_0x2025fc;this['_configService']=_0x9d5e21,this[_0x1c9b3e(0x3f6)]=_0x9f17b0;}[_0x2025fc(0x10e)](){const _0x4e81eb=_0x2025fc;var _0x1c0b81,_0x422e0d;const _0x496549=this[_0x4e81eb(0xb4)]['getConfig'](ir),_0x3f016b=this['_configService']['getConfig'](Q);return(_0x422e0d=(_0x1c0b81=_0x3f016b==null?void 0x0:_0x3f016b[_0x4e81eb(0x223)])!=null?_0x1c0b81:_0x496549)!=null?_0x422e0d:qc;}async[_0x2025fc(0x3c0)](_0x2fb70d){const _0x1bcaf5=_0x2025fc,_0x4ff034=this[_0x1bcaf5(0x10e)]()+_0x1bcaf5(0x21b);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x1bcaf5(0x33e)](_0x4ff034,{'params':{'objectID':_0x2fb70d[_0x1bcaf5(0x273)],'unitID':_0x2fb70d['unitId']}}))[_0x1bcaf5(0x41f)][_0x1bcaf5(0x431)][_0x1bcaf5(0x23a)](_0x24aa42=>({'objectId':_0x24aa42['id'],'name':_0x24aa42[_0x1bcaf5(0x462)][_0x1bcaf5(0x1c7)],'metadata':{'icon':_0x24aa42[_0x1bcaf5(0x462)][_0x1bcaf5(0x2aa)]},'label':_0x24aa42[_0x1bcaf5(0x462)][_0x1bcaf5(0x1c7)],'objectType':_0x153717[_0x1bcaf5(0x1e6)]})),'metadata':{},'type':_0x153717[_0x1bcaf5(0x1e6)]}]};}};gs=Kc([Ci(0x0,_0x5847bf(_0x4df844)),Ci(0x1,_0x5847bf(_0x310387))],gs);var zc=Object[_0x2025fc(0x385)],Xc=Object[_0x2025fc(0x18c)],Jc=(_0x2d9c10,_0x1bdd9b,_0x206049,_0x5216f0)=>{const _0x492d02=_0x2025fc;for(var _0x56b89a=_0x5216f0>0x1?void 0x0:_0x5216f0?Xc(_0x1bdd9b,_0x206049):_0x1bdd9b,_0x588dc1=_0x2d9c10[_0x492d02(0x161)]-0x1,_0x34ac72;_0x588dc1>=0x0;_0x588dc1--)(_0x34ac72=_0x2d9c10[_0x588dc1])&&(_0x56b89a=(_0x5216f0?_0x34ac72(_0x1bdd9b,_0x206049,_0x56b89a):_0x34ac72(_0x56b89a))||_0x56b89a);return _0x5216f0&&_0x56b89a&&zc(_0x1bdd9b,_0x206049,_0x56b89a),_0x56b89a;},et=(_0x7a4161,_0x4542b3)=>(_0x731c80,_0x161166)=>_0x4542b3(_0x731c80,_0x161166,_0x7a4161);let Ht=class extends _0x5ec0cb{constructor(_0x589fb5,_0x317a29,_0x55f05c,_0x437716,_0x254c87){const _0x5c361e=_0x2025fc;super(),this[_0x5c361e(0x147)]=_0x589fb5,this['_univerInstanceService']=_0x317a29,this[_0x5c361e(0x2fa)]=_0x55f05c,this[_0x5c361e(0x29f)]=_0x437716,this[_0x5c361e(0x3a9)]=_0x254c87,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x2025fc(0x138)](){const _0x23ddab=_0x2025fc,_0x4c5ffa=async _0x593619=>{const _0x446476=_0x46d8;(await this[_0x446476(0x29f)]['requireSession'](_0x593619))[_0x446476(0x142)]['pipe'](_0xa0d892(_0x527b78=>_0x527b78[_0x446476(0x28b)]===_0x3a14f4[_0x446476(0x23f)]),_0xc7ed86(this[_0x446476(0x345)]))[_0x446476(0x140)](_0x3d749b=>{const _0x4092b7=_0x446476,_0x2edd8d=_0x3d749b,{reason:_0x3f13f5}=_0x2edd8d['data'];this['_injector'][_0x4092b7(0x33e)](_0x3d017a)[_0x4092b7(0x3c2)]({'type':_0x3f6750['Error'],'content':this[_0x4092b7(0x3a9)]['t'](_0x4092b7(0x170))+'('+_0x3f13f5+')'}),this[_0x4092b7(0x2fa)][_0x4092b7(0x2ce)](new _0x232ff6(_0x593619)['id'],!0x1),this['_collaborationSessionService'][_0x4092b7(0x416)](_0x593619);});};_0x38a986(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xb166dc[_0x23ddab(0x4a6)]),this[_0x23ddab(0x3cf)]['getTypeOfUnitAdded$'](_0xb166dc['UNIVER_DOC']))[_0x23ddab(0x150)](_0xb11c2f(_0x260643=>_0x260643['getUnitId']()),_0xa0d892(_0x31e236=>!_0x56718f(_0x31e236)),_0xc7ed86(this[_0x23ddab(0x345)]))['subscribe'](_0x2fc801=>{_0x4c5ffa(_0x2fc801);});}[_0x2025fc(0x3a2)](){const _0x3f1410=_0x2025fc,_0x4fe9b3=async _0x324a51=>{const _0x570022=_0x46d8;(await this[_0x570022(0x29f)][_0x570022(0x40d)](_0x324a51))[_0x570022(0x142)][_0x570022(0x150)](_0xa0d892(_0x3c7e0d=>_0x3c7e0d[_0x570022(0x28b)]===_0x3a14f4[_0x570022(0x47c)]),_0xc7ed86(this['dispose$']))[_0x570022(0x140)](_0x54009b=>{const _0x347c89=_0x570022,_0x1be2a7=_0x54009b,{objectId:_0x5dc056}=_0x1be2a7[_0x347c89(0x2a0)],_0x760537=this[_0x347c89(0x147)][_0x347c89(0x33e)](_0x244d66);_0x5dc056===_0x324a51?_0x760537[_0x347c89(0x484)](_0x324a51):_0x760537[_0x347c89(0x41a)](_0x324a51,_0x5dc056);});};_0x38a986(this['_univerInstanceService'][_0x3f1410(0x2c3)](_0xb166dc[_0x3f1410(0x4a6)]),this[_0x3f1410(0x3cf)][_0x3f1410(0x2c3)](_0xb166dc['UNIVER_DOC']))[_0x3f1410(0x150)](_0xb11c2f(_0x429e56=>_0x429e56[_0x3f1410(0x10b)]()),_0xa0d892(_0x46b635=>!_0x56718f(_0x46b635)),_0xc7ed86(this['dispose$']))[_0x3f1410(0x140)](_0x481385=>{_0x4fe9b3(_0x481385);});}};Ht=Jc([et(0x0,_0x5847bf(_0x5d7671)),et(0x1,_0x425cee),et(0x2,_0x1700fb),et(0x3,_0x5847bf(xe)),et(0x4,_0x5847bf(_0x4b4756))],Ht);var Zc=Object[_0x2025fc(0x385)],Qc=Object[_0x2025fc(0x18c)],eh=(_0x2a96ce,_0x2bcd06,_0x3e358c,_0x10a8b0)=>{const _0x1c08a4=_0x2025fc;for(var _0x92ed3f=_0x10a8b0>0x1?void 0x0:_0x10a8b0?Qc(_0x2bcd06,_0x3e358c):_0x2bcd06,_0x259333=_0x2a96ce[_0x1c08a4(0x161)]-0x1,_0x5648d9;_0x259333>=0x0;_0x259333--)(_0x5648d9=_0x2a96ce[_0x259333])&&(_0x92ed3f=(_0x10a8b0?_0x5648d9(_0x2bcd06,_0x3e358c,_0x92ed3f):_0x5648d9(_0x92ed3f))||_0x92ed3f);return _0x10a8b0&&_0x92ed3f&&Zc(_0x2bcd06,_0x3e358c,_0x92ed3f),_0x92ed3f;},Ei=(_0x2d6094,_0x3d7aa8)=>(_0x5c0838,_0x58995e)=>_0x3d7aa8(_0x5c0838,_0x58995e,_0x2d6094);let Ss=class{constructor(_0xea21db,_0x2d8eb){const _0x3fc5ae=_0x2025fc;this[_0x3fc5ae(0xb4)]=_0xea21db,this[_0x3fc5ae(0x2d8)]=_0x2d8eb;}async['getUnitOnRev'](_0x9241c6,_0x4976b2){const _0x162641=_0x2025fc;var _0x2044f1;const {unitID:_0xc242a6,type:_0x469f3f,revision:_0x28b396=0x0}=_0x4976b2,_0x554294=this[_0x162641(0xdc)]()+'/'+_0x469f3f+'/unit/'+_0xc242a6+_0x162641(0x166)+_0x28b396,_0x200f68=(await this[_0x162641(0x2d8)][_0x162641(0x33e)](_0x554294))['body'],_0x24ea4f=(_0x2044f1=_0x200f68['snapshot'])==null?void 0x0:_0x2044f1['workbook'];if(_0x24ea4f){const _0x36faf9=_0x24ea4f==null?void 0x0:_0x24ea4f[_0x162641(0x148)],_0x3b083e=_0x55ea7a['encode'](_0x1facae(_0x36faf9));_0x24ea4f[_0x162641(0x148)]=_0x3b083e,Object[_0x162641(0xf5)](_0x24ea4f[_0x162641(0x24e)])['forEach'](([,_0x59bc85])=>{const _0x4d3764=_0x162641,_0x3fa0ae=_0x59bc85[_0x4d3764(0x148)],_0x2b7fed=_0x55ea7a[_0x4d3764(0x420)](_0x1facae(_0x3fa0ae));_0x59bc85['originalMeta']=_0x2b7fed;});}return _0x200f68;}async['getSheetBlock'](_0x335500,_0x123d5d){const _0x2951ef=_0x2025fc,{unitID:_0x7b181a,type:_0x818f28,blockID:_0x540ea5}=_0x123d5d,_0x1bf96e=this[_0x2951ef(0x1a9)]()+'/'+_0x818f28+_0x2951ef(0x332)+_0x7b181a+_0x2951ef(0x1ce)+_0x540ea5;return(await this[_0x2951ef(0x2d8)][_0x2951ef(0x33e)](_0x1bf96e))[_0x2951ef(0x41f)];}async[_0x2025fc(0x133)](_0x1d999c,_0x51347f){const _0x445e8f=_0x2025fc,{unitID:_0x2c8fea,type:_0x917239,blockID:_0x5d20db}=_0x51347f,_0x4e9f0e=this['_getAPIPrefix']()+_0x445e8f(0x1ce)+_0x917239+_0x445e8f(0x332)+_0x2c8fea+_0x445e8f(0x1ce)+_0x5d20db;return(await this[_0x445e8f(0x2d8)][_0x445e8f(0x33e)](_0x4e9f0e))[_0x445e8f(0x41f)];}async[_0x2025fc(0x436)](_0x27b0b8,_0x328f5a){const _0x10fd18=_0x2025fc,{unitID:_0x55ff61,type:_0x2d087a,from:_0x76cff6,to:_0x447897}=_0x328f5a,_0x40c1c8=this[_0x10fd18(0x1a9)]()+'/'+_0x2d087a+'/unit/'+_0x55ff61+'/fetchmissing?from='+_0x76cff6+_0x10fd18(0x17a)+_0x447897;return(await this[_0x10fd18(0x2d8)]['get'](_0x40c1c8))[_0x10fd18(0x41f)];}[_0x2025fc(0xdc)](){var _0x40ab19;return(_0x40ab19=this['_configService']['getConfig'](Tn))!=null?_0x40ab19:this['_getAPIPrefix']();}[_0x2025fc(0x1a9)](){const _0x1a03a6=_0x2025fc;var _0x3476e1,_0x444738;const _0x17be26=this['_configService'][_0x1a03a6(0x217)](En),_0x2b3e64=this['_configService'][_0x1a03a6(0x217)](Q);return(_0x444738=(_0x3476e1=_0x2b3e64==null?void 0x0:_0x2b3e64[_0x1a03a6(0x39a)])!=null?_0x3476e1:_0x17be26)!=null?_0x444738:bn;}async[_0x2025fc(0x310)](_0x2f577a,_0x4e2515){const _0x48c5a0=_0x2025fc,_0x1c55e5=_0x48c5a0(0x172)+_0x4e2515[_0x48c5a0(0x442)]+_0x48c5a0(0x332)+_0x4e2515['unitID']+_0x48c5a0(0x290);return(await this[_0x48c5a0(0x2d8)][_0x48c5a0(0x33e)](_0x1c55e5,{'params':{'resourceId':JSON[_0x48c5a0(0x11e)](_0x4e2515[_0x48c5a0(0x160)])}}))[_0x48c5a0(0x41f)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2025fc(0x171)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2025fc(0x447)](){const _0x407b21=_0x2025fc;throw new Error(_0x407b21(0x409));}[_0x2025fc(0x2ab)](){const _0x5c0e34=_0x2025fc;throw new Error(_0x5c0e34(0x409));}['getLatestCsReqIdBySid'](){const _0x548f33=_0x2025fc;throw new Error(_0x548f33(0x409));}};Ss=eh([Ei(0x0,_0x4df844),Ei(0x1,_0x5847bf(_0x310387))],Ss);var th=Object[_0x2025fc(0x385)],sh=Object[_0x2025fc(0x18c)],ih=(_0x3302ad,_0x2f8238,_0x4d2840,_0x29953a)=>{const _0x116349=_0x2025fc;for(var _0x554564=_0x29953a>0x1?void 0x0:_0x29953a?sh(_0x2f8238,_0x4d2840):_0x2f8238,_0x25ff72=_0x3302ad[_0x116349(0x161)]-0x1,_0x1d0f33;_0x25ff72>=0x0;_0x25ff72--)(_0x1d0f33=_0x3302ad[_0x25ff72])&&(_0x554564=(_0x29953a?_0x1d0f33(_0x2f8238,_0x4d2840,_0x554564):_0x1d0f33(_0x554564))||_0x554564);return _0x29953a&&_0x554564&&th(_0x2f8238,_0x4d2840,_0x554564),_0x554564;},tt=(_0x416d3b,_0x2e14ee)=>(_0x1a78d5,_0x4417b2)=>_0x2e14ee(_0x1a78d5,_0x4417b2,_0x416d3b);let Is=class extends _0x18ef81{constructor(_0x3f8ec8,_0x430a8a,_0x19a250,_0x3d114d,_0x21c817){const _0xc286da=_0x2025fc;super(_0x3f8ec8,_0x430a8a,_0x19a250),this[_0xc286da(0x128)]=_0x3d114d,this['_logService']=_0x21c817;}[_0x2025fc(0x338)](_0xc4e31e,_0x19d186){const _0x42a516=_0x2025fc,_0x487fae=this['_getUndoStack'](_0xc4e31e);if(_0x487fae)try{const _0x3bae0e=this[_0x42a516(0x4a9)](_0x487fae,_0x19d186);this[_0x42a516(0x1fe)](_0xc4e31e,_0x3bae0e);}catch(_0x2dff00){this[_0x42a516(0xc1)]['error'](_0x42a516(0x432),_0x2dff00),this[_0x42a516(0x1e3)](_0xc4e31e);}const _0x1e754a=this[_0x42a516(0x421)](_0xc4e31e);if(_0x1e754a)try{const _0x4b1259=this['_transformStack'](_0x1e754a,_0x19d186);this[_0x42a516(0x36f)](_0xc4e31e,_0x4b1259);}catch(_0x2ffff6){this[_0x42a516(0xc1)][_0x42a516(0x279)](_0x2ffff6),this['_clearRedo'](_0xc4e31e);}}['_clearUndo'](_0x55ff73){const _0x4af3bd=_0x2025fc,_0x2a34e9=this[_0x4af3bd(0x1cb)](_0x55ff73);_0x2a34e9&&(_0x2a34e9[_0x4af3bd(0x161)]=0x0,this[_0x4af3bd(0x154)]());}[_0x2025fc(0x241)](_0x43352f){const _0x103c12=_0x2025fc,_0x4a83ef=this[_0x103c12(0x421)](_0x43352f);_0x4a83ef&&(_0x4a83ef[_0x103c12(0x161)]=0x0,this[_0x103c12(0x154)]());}[_0x2025fc(0x1fe)](_0x365611,_0x33eb3a){const _0x2f682d=_0x2025fc;this[_0x2f682d(0x2d3)]['set'](_0x365611,_0x33eb3a),this[_0x2f682d(0x154)]();}[_0x2025fc(0x36f)](_0x13ddcb,_0x43d488){const _0x40afb1=_0x2025fc;this[_0x40afb1(0x1e2)][_0x40afb1(0x39c)](_0x13ddcb,_0x43d488),this[_0x40afb1(0x154)]();}[_0x2025fc(0x4a9)](_0x217d7d,_0x2da942){const _0x526bba=_0x2025fc,_0x15cc3c=[];let _0x17c98d=_0x2da942,_0x15053a=_0x2da942;for(let _0x483588=_0x217d7d[_0x526bba(0x161)]-0x1;_0x483588>=0x0;_0x483588--){const {unitID:_0xc5b764,undoMutations:_0x3419ef,redoMutations:_0x38cf3c}=_0x217d7d[_0x483588],_0x51ae06=this[_0x526bba(0x128)][_0x526bba(0x39e)](_0x17c98d,_0x3419ef),_0x534966=this[_0x526bba(0x128)][_0x526bba(0x39e)](_0x15053a,_0x38cf3c);if(_0xc9659d(_0x51ae06)||_0xc9659d(_0x534966)){this[_0x526bba(0xc1)]['error'](_0x526bba(0x432),_0x526bba(0xb1),_0x51ae06,_0x534966);break;}_0x17c98d=_0x51ae06[_0x526bba(0x26a)],_0x15053a=_0x534966[_0x526bba(0x26a)],_0x15cc3c[_0x526bba(0x22f)]({'unitID':_0xc5b764,'undoMutations':_0x51ae06[_0x526bba(0x270)],'redoMutations':_0x534966['m2Prime']});}return _0x15cc3c[_0x526bba(0x376)]();}};Is=ih([tt(0x0,_0x425cee),tt(0x1,_0x28287a),tt(0x2,_0x4ea7fc),tt(0x3,_0x2fbfa5),tt(0x4,_0x49d195)],Is);class rh extends _0x5ec0cb{constructor(){const _0x1cfbad=_0x2025fc;super(),g(this,'urlChange$'),this[_0x1cfbad(0xb2)]=_0x6a336f(window,_0x1cfbad(0x358))[_0x1cfbad(0x150)](_0x7b6507(this[_0x1cfbad(0x345)]),_0x2c1940(0x1),_0x2d3712(void 0x0));}[_0x2025fc(0x43d)](_0x1c830c,_0x2ccbc7,_0x4d4145=!0x1){const _0x78f59b=_0x2025fc,_0x310996=new URL(window[_0x78f59b(0x16a)][_0x78f59b(0x3f1)]);_0x310996['searchParams'][_0x78f59b(0x39c)](_0x1c830c,_0x2ccbc7),_0x4d4145?window[_0x78f59b(0xc5)][_0x78f59b(0x2a9)]('','',_0x310996['toString']()):window['history'][_0x78f59b(0x2cb)]('','',_0x310996[_0x78f59b(0x135)]());}[_0x2025fc(0x1bb)](_0x7b5a71,_0x5a2d17=!0x1){const _0x1ee0d9=_0x2025fc,_0x23ea98=new URL(window['location'][_0x1ee0d9(0x3f1)]);_0x23ea98[_0x1ee0d9(0x3ec)]['delete'](_0x7b5a71),_0x5a2d17?window['history']['replaceState']('','',_0x23ea98[_0x1ee0d9(0x135)]()):window[_0x1ee0d9(0xc5)][_0x1ee0d9(0x2cb)]('','',_0x23ea98['toString']());}[_0x2025fc(0x30a)](_0x54581b){const _0x228379=_0x2025fc;var _0x5d9ff2;return(_0x5d9ff2=new URL(window['location'][_0x228379(0x3f1)])[_0x228379(0x3ec)][_0x228379(0x33e)](_0x54581b))!=null?_0x5d9ff2:void 0x0;}}var ar=Object[_0x2025fc(0x385)],nh=Object[_0x2025fc(0x18c)],oh=(_0x157d20,_0x2cf3f1,_0x40a4cf)=>_0x2cf3f1 in _0x157d20?ar(_0x157d20,_0x2cf3f1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40a4cf}):_0x157d20[_0x2cf3f1]=_0x40a4cf,ah=(_0x18cad5,_0x22e29a,_0x396882,_0x2419be)=>{const _0x51dee1=_0x2025fc;for(var _0x3bb0b1=_0x2419be>0x1?void 0x0:_0x2419be?nh(_0x22e29a,_0x396882):_0x22e29a,_0x52f170=_0x18cad5[_0x51dee1(0x161)]-0x1,_0x2f685f;_0x52f170>=0x0;_0x52f170--)(_0x2f685f=_0x18cad5[_0x52f170])&&(_0x3bb0b1=(_0x2419be?_0x2f685f(_0x22e29a,_0x396882,_0x3bb0b1):_0x2f685f(_0x3bb0b1))||_0x3bb0b1);return _0x2419be&&_0x3bb0b1&&ar(_0x22e29a,_0x396882,_0x3bb0b1),_0x3bb0b1;},_t=(_0x327e3e,_0x4be7b9)=>(_0x71b61e,_0x398234)=>_0x4be7b9(_0x71b61e,_0x398234,_0x327e3e),ch=(_0x555af6,_0x58610e,_0x240164)=>oh(_0x555af6,_0x58610e+'',_0x240164);const hh=_0x2025fc(0xca);let Cs=class extends _0x5001bc{constructor(_0x1151df=Bn,_0x430354,_0x16ced7,_0x5eb873,_0x176c02){const _0xac53ad=_0x2025fc;super(),this[_0xac53ad(0x16b)]=_0x1151df,this[_0xac53ad(0xc1)]=_0x430354,this[_0xac53ad(0x319)]=_0x16ced7,this[_0xac53ad(0x147)]=_0x5eb873,this['_configService']=_0x176c02;const {..._0x5dd239}=this[_0xac53ad(0x16b)];this[_0xac53ad(0xb4)][_0xac53ad(0x134)](Q,_0x5dd239);}[_0x2025fc(0xfe)](){const _0x3d4cac=_0x2025fc;this['_registerDependencies'](),this[_0x3d4cac(0x2af)]();}['onReady'](){const _0x4d58f2=_0x2025fc;_0x5404e4(this[_0x4d58f2(0x147)],[[xt],[Ut]]);}[_0x2025fc(0x42f)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x2020fb=_0x2025fc;var _0x1f74f8,_0x1ddede,_0x32b498,_0x373a39;this['_injector'][_0x2020fb(0x24c)](_0x4bbe15)&&this[_0x2020fb(0xc1)][_0x2020fb(0x279)](_0x2020fb(0x19c),_0x2020fb(0x2f4));const _0x4d8e02=[[_0x4bbe15,{'useClass':Is}],[xe],[Ns],[sr,{'useClass':rh}],[Me],[z],[_0x1293ea],[wt],[Pt],[yt],[Dt],[Ds],[Lt],[$t],[Yi],[Ht],[Gi,{'useClass':(_0x1ddede=(_0x1f74f8=this[_0x2020fb(0x16b)])==null?void 0x0:_0x1f74f8[_0x2020fb(0x202)])!=null?_0x1ddede:cs}],[_0xbd688,{'useClass':Ss}],[_0x5cfc2f,{'useClass':ps}],[_0x1fd980,{'useClass':ms}],[_0x2d3ae3,{'useClass':gs}],[rt],[Mt],[At],[xt],[Ve],[Ut]];(_0x32b498=this['_config'])!=null&&_0x32b498[_0x2020fb(0x36b)]&&_0x4d8e02['push']([jt,{'useClass':Co}]),_0x43027c(this['_injector'],_0x3474e1(_0x4d8e02,(_0x373a39=this[_0x2020fb(0x16b)])==null?void 0x0:_0x373a39[_0x2020fb(0x44a)]));}[_0x2025fc(0x13d)](){const _0x18fe91=_0x2025fc;this[_0x18fe91(0x10c)](this['_renderManagerService'][_0x18fe91(0x49f)](_0xb166dc['UNIVER_DOC'],[fs])),this['disposeWithMe'](this[_0x18fe91(0x319)][_0x18fe91(0x49f)](_0xb166dc[_0x18fe91(0x4a6)],[vs]));}[_0x2025fc(0x2af)](){const _0x4168b8=_0x2025fc;var _0x3491b6,_0x12ed9e;this[_0x4168b8(0x147)][_0x4168b8(0x33e)](_0x310387)[_0x4168b8(0x299)]({'priority':0x14,'interceptor':_0x156843({'maxParallel':0x6})}),(_0x3491b6=this[_0x4168b8(0x16b)])!=null&&_0x3491b6[_0x4168b8(0x446)]||this[_0x4168b8(0x147)]['get'](z)[_0x4168b8(0x2be)](),(_0x12ed9e=this[_0x4168b8(0x16b)])!=null&&_0x12ed9e[_0x4168b8(0x41b)]&&_0x5404e4(this[_0x4168b8(0x147)],[[Lt]]),_0x5404e4(this[_0x4168b8(0x147)],[[$t],[Ve],[Mt],[rt],[At],[Ht]]);}};ch(Cs,'pluginName',hh),Cs=ah([_0x2048c2(_0x1105e5,_0x6b1b5c),_t(0x1,_0x49d195),_t(0x2,_0x27432a),_t(0x3,_0x5847bf(_0x5d7671)),_t(0x4,_0x4df844)],Cs);export{ir as AUTHZ_URL_KEY,ps as AuthzIoHttpService,Q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Ln as COLLAB_SUBMIT_CHANGESET_URL_KEY,On as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,Nt as CollaborationEntity,hs as CollaborationSession,xe as CollaborationSessionService,cs as CollaborationSocketService,J as CollaborationStatus,xa as CollaborationStatusDisplay,ms as CollabrationImageIoService,Yi as CommentService,Mt as DataLoaderController,At as DesktopCollaborationStatusDisplayController,ls as DocCollaborationEntity,Dn as HEARTBEAT_INTERVAL_KEY,ki as HEARTBEAT_TIMEOUT_KEY,Gi as ICollaborationSocketService,sr as IURLService,Mn as LOCAL_CACHE_INTERVAL_KEY,Hn as LOGIN_URL_KEY,z as LocalCacheService,Me as MemberService,gs as MentionIoHttpService,Un as RETRY_CONNECTING_MAX_COUNT_KEY,wh as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,fe as SessionStatus,fa as SheetCollabCursorShape,_s as SheetCollaborationEntity,Ss as SnapshotServerOverHTTPService,Cs as UniverCollaborationClientPlugin,rh as WebURLService,kn as deserializeToCombResponse,Wn as serializeCombRequest};
|
1
|
+
var _0x4b970c=_0x30ed;(function(_0x125e55,_0x49b423){var _0x5433f0=_0x30ed,_0x43029f=_0x125e55();while(!![]){try{var _0x48577e=-parseInt(_0x5433f0(0x3bb))/0x1+-parseInt(_0x5433f0(0x2d5))/0x2*(parseInt(_0x5433f0(0x32e))/0x3)+parseInt(_0x5433f0(0x40f))/0x4+parseInt(_0x5433f0(0x461))/0x5*(parseInt(_0x5433f0(0x230))/0x6)+parseInt(_0x5433f0(0x260))/0x7*(-parseInt(_0x5433f0(0x2f9))/0x8)+parseInt(_0x5433f0(0x1db))/0x9*(-parseInt(_0x5433f0(0x1d6))/0xa)+parseInt(_0x5433f0(0x16d))/0xb;if(_0x48577e===_0x49b423)break;else _0x43029f['push'](_0x43029f['shift']());}catch(_0x382186){_0x43029f['push'](_0x43029f['shift']());}}}(_0x52a4,0x80639));var Mi=Object[_0x4b970c(0x27e)],$i=(_0x5a1f42,_0xb50070,_0x185b80)=>_0xb50070 in _0x5a1f42?Mi(_0x5a1f42,_0xb50070,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x185b80}):_0x5a1f42[_0xb50070]=_0x185b80,N=(_0x330d43,_0x2e8971,_0x148262)=>$i(_0x330d43,typeof _0x2e8971!=_0x4b970c(0x1e3)?_0x2e8971+'':_0x2e8971,_0x148262);import{createIdentifier as _0x43a856,Inject as _0x5f1c87,Disposable as _0x10cc97,DisposableCollection as _0x5c0b99,toDisposable as _0x131d39,IConfigService as _0x24ac53,ILogService as _0x42cc6c,UserManagerService as _0x1aebee,UniverInstanceType as _0x2cc5bd,IUniverInstanceService as _0x5d568a,LocaleService as _0x19cf62,Optional as _0x4dd650,RxDisposable as _0x265948,Injector as _0x50ff70,Tools as _0x27d831,Rectangle as _0x42e2fa,ICommandService as _0x161ee5,JSONX as _0x87c7be,CommandType as _0x472eb3,IPermissionService as _0x15059e,IUndoRedoService as _0x5ec572,sequenceExecute as _0x434897,Workbook as _0x7f748,MentionType as _0x3d124e,IAuthzIoService as _0x352e76,isInternalEditorID as _0x1e9108,LocalUndoRedoService as _0x26af79,IContextService as _0x2429b0,DependentOn as _0x24395d,Plugin as _0x9d35d8,mergeOverrideWithDependencies as _0x5764cd,IMentionIOService as _0x14380e,registerDependencies as _0x3cfae4,touchDependencies as _0x4b4a6f}from'@univerjs/core';import{Subject as _0x119b5a,merge as _0x57cdac,takeUntil as _0x913081,BehaviorSubject as _0x182139,ReplaySubject as _0x598506,take as _0x4c14d8,map as _0x5dbc18,shareReplay as _0x126601,of as _0x3ab09f,concatMap as _0x405f17}from'rxjs';import{map as _0x55b526,take as _0x5c5f7a,filter as _0x2a0d84,delay as _0x338181,takeUntil as _0xdc8cdb}from'rxjs/operators';import{HTTPService as _0x307ade,WebSocketService as _0x1d698d,MergeInterceptorFactory as _0xf481d9,HTTPRequest as _0xabb9da,UniverNetworkPlugin as _0x3372ff,ThresholdInterceptorFactory as _0x29a4c0}from'@univerjs/network';import{CollaborationEvent as _0x1a1228,parseChangesetToProtocol as _0x3de165,ISnapshotServerService as _0x1e0875,isTransformMutationsWithChangesetSuccess as _0x54500f,ITransformService as _0x4a1e5a,mapDocumentTypeToUniverType as _0x181216,RevisionService as _0xe1c1c2,isTransformChangesetsSuccess as _0x3ddc6f,CompressMutationService as _0x587985,parseProtocolChangeset as _0x5ac411,SnapshotService as _0x363e05,textEncoder as _0x443b78,b64DecodeUnicode as _0x4a2b8f,isTransformMutationsWithChangesetFailure as _0x3d2b55,UniverCollaborationPlugin as _0x394ae5}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x3a725e}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x102610}from'@univerjs/docs';import{SheetsSelectionsService as _0x4df40a,SetSelectionsOperation as _0x458e87,InsertSheetMutation as _0x4f2212,EmptyMutation as _0x10201a,WorkbookEditablePermission as _0x27f271,UnitObject as _0x177d0a,defaultWorkbookPermissionPoints as _0x518c0e,getAllWorkbookPermissionPoint as _0x4de275,WorksheetProtectionRuleModel as _0x3b9453,baseProtectionActions as _0x314b12,getAllWorksheetPermissionPoint as _0x5dfb75,WorksheetProtectionPointModel as _0x3c5f58,defaultWorksheetPermissionPoint as _0x2d3ee7,getAllWorksheetPermissionPointByPointPanel as _0x476a9f,RangeProtectionRuleModel as _0x2e64b4,getAllRangePermissionPoint as _0xa042a8,UniverSheetsPlugin as _0x1b3d00}from'@univerjs/sheets';import{ImageSourceType as _0x5dc29b,ImageUploadStatusType as _0x40449d,IImageIoService as _0x3c4061}from'@univerjs/drawing';const Rn='SNAPSHOT_SERVER_URL_KEY',yn=_0x4b970c(0x23a),On=_0x4b970c(0x20b),so='SEND_CHANGESET_TIMEOUT',Pn=0x7d0,Dn='COLLAB_WEB_SOCKET_URL',Nn=_0x4b970c(0x346),wn='/universer-api/user/session-ticket',Un=_0x4b970c(0x40d),An=0x7530,Ei=_0x4b970c(0x2b6),Ii=0x4e20,xn=0x4e20,Ln=_0x4b970c(0x23d),Mn=0x3,ro=_0x4b970c(0x220),oo=0x3e8,$n='COLLAB_SUBMIT_CHANGESET_URL',Hn=_0x4b970c(0x39b),kn='LOGIN_URL_KEY',jn=_0x4b970c(0x2bf);var Ti=(_0x5d20f6=>(_0x5d20f6[_0x5d20f6['UNDEFINED']=0x0]='UNDEFINED',_0x5d20f6[_0x5d20f6['OK']=0x1]='OK',_0x5d20f6[_0x5d20f6['INTERNAL_ERROR']=0x2]=_0x4b970c(0x36c),_0x5d20f6[_0x5d20f6[_0x4b970c(0x23b)]=0x3]='PERMISSION_DENIED',_0x5d20f6[_0x5d20f6[_0x4b970c(0x337)]=0x4]='NOT_FOUND',_0x5d20f6[_0x5d20f6['UNAUTHENTICATED']=0x5]=_0x4b970c(0x32a),_0x5d20f6[_0x5d20f6[_0x4b970c(0x3da)]=0x6]=_0x4b970c(0x3da),_0x5d20f6[_0x5d20f6[_0x4b970c(0x170)]=0x7]=_0x4b970c(0x170),_0x5d20f6[_0x5d20f6[_0x4b970c(0x425)]=0x8]='TOO_MANY_REQUESTS',_0x5d20f6[_0x5d20f6['COMPLETION_FINISHED']=0x9]=_0x4b970c(0x3f1),_0x5d20f6[_0x5d20f6[_0x4b970c(0x457)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5d20f6[_0x5d20f6['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4b970c(0x334),_0x5d20f6[_0x5d20f6[_0x4b970c(0x15e)]=0x1772]=_0x4b970c(0x15e),_0x5d20f6[_0x5d20f6[_0x4b970c(0x18c)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5d20f6[_0x5d20f6[_0x4b970c(0x25c)]=0x1b59]=_0x4b970c(0x25c),_0x5d20f6[_0x5d20f6[_0x4b970c(0x3b7)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5d20f6[_0x5d20f6[_0x4b970c(0x426)]=0x1b5b]=_0x4b970c(0x426),_0x5d20f6[_0x5d20f6[_0x4b970c(0x3bf)]=0x1b5c]=_0x4b970c(0x3bf),_0x5d20f6[_0x5d20f6['APPLY_DUPLICATED']=0x1b5d]=_0x4b970c(0x30c),_0x5d20f6[_0x5d20f6[_0x4b970c(0x2ea)]=0x1f41]=_0x4b970c(0x2ea),_0x5d20f6[_0x5d20f6[_0x4b970c(0x2bc)]=0x2329]=_0x4b970c(0x2bc),_0x5d20f6[_0x5d20f6[_0x4b970c(0x16f)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5d20f6[_0x5d20f6[_0x4b970c(0x2c9)]=0x232b]=_0x4b970c(0x2c9),_0x5d20f6[_0x5d20f6[_0x4b970c(0x2c0)]=0x232c]=_0x4b970c(0x2c0),_0x5d20f6[_0x5d20f6[_0x4b970c(0x200)]=0x232d]=_0x4b970c(0x200),_0x5d20f6[_0x5d20f6['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5d20f6[_0x5d20f6[_0x4b970c(0x376)]=0x2712]=_0x4b970c(0x376),_0x5d20f6[_0x5d20f6[_0x4b970c(0x32d)]=0x2713]=_0x4b970c(0x32d),_0x5d20f6[_0x5d20f6[_0x4b970c(0x3c6)]=0x2714]=_0x4b970c(0x3c6),_0x5d20f6[_0x5d20f6[_0x4b970c(0x240)]=-0x1]='UNRECOGNIZED',_0x5d20f6))(Ti||{}),Q=(_0xdd0d3a=>(_0xdd0d3a[_0xdd0d3a['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0xdd0d3a[_0xdd0d3a['UNIVER_DOC']=0x1]=_0x4b970c(0x262),_0xdd0d3a[_0xdd0d3a[_0x4b970c(0x328)]=0x2]=_0x4b970c(0x328),_0xdd0d3a[_0xdd0d3a[_0x4b970c(0x251)]=0x3]='UNIVER_SLIDE',_0xdd0d3a[_0xdd0d3a[_0x4b970c(0x299)]=0x4]=_0x4b970c(0x299),_0xdd0d3a[_0xdd0d3a['UNRECOGNIZED']=-0x1]=_0x4b970c(0x240),_0xdd0d3a))(Q||{}),F=(_0x322466=>(_0x322466[_0x322466[_0x4b970c(0x193)]=0x0]=_0x4b970c(0x193),_0x322466[_0x322466[_0x4b970c(0x458)]=0x1]=_0x4b970c(0x458),_0x322466[_0x322466['JOIN']=0x2]=_0x4b970c(0x335),_0x322466[_0x322466[_0x4b970c(0x1bf)]=0x3]=_0x4b970c(0x1bf),_0x322466[_0x322466[_0x4b970c(0x20d)]=0x4]=_0x4b970c(0x20d),_0x322466[_0x322466[_0x4b970c(0x36e)]=0x5]='HEARTBEAT',_0x322466[_0x322466[_0x4b970c(0x17d)]=0x6]=_0x4b970c(0x17d),_0x322466[_0x322466['UNRECOGNIZED']=-0x1]=_0x4b970c(0x240),_0x322466))(F||{}),Ee=(_0x2a6d08=>(_0x2a6d08[_0x2a6d08[_0x4b970c(0x43e)]=0x0]=_0x4b970c(0x43e),_0x2a6d08[_0x2a6d08['OK']=0x1]='OK',_0x2a6d08[_0x2a6d08[_0x4b970c(0x1a2)]=0x2]=_0x4b970c(0x1a2),_0x2a6d08[_0x2a6d08[_0x4b970c(0x366)]=0x3e9]='JOIN_ROOM_FULL',_0x2a6d08[_0x2a6d08[_0x4b970c(0x316)]=0x3ea]=_0x4b970c(0x316),_0x2a6d08[_0x2a6d08[_0x4b970c(0x197)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x2a6d08[_0x2a6d08[_0x4b970c(0x465)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x2a6d08[_0x2a6d08[_0x4b970c(0x240)]=-0x1]=_0x4b970c(0x240),_0x2a6d08))(Ee||{}),Ci=(_0x4ec38d=>(_0x4ec38d[_0x4ec38d[_0x4b970c(0x3ff)]=0x0]=_0x4b970c(0x3ff),_0x4ec38d[_0x4ec38d['HttpImport']=0x1]='HttpImport',_0x4ec38d[_0x4ec38d['HttpExport']=0x2]=_0x4b970c(0x298),_0x4ec38d[_0x4ec38d[_0x4b970c(0x31d)]=0x3]=_0x4b970c(0x31d),_0x4ec38d[_0x4ec38d[_0x4b970c(0x2e0)]=0x4]=_0x4b970c(0x2e0),_0x4ec38d[_0x4ec38d[_0x4b970c(0x240)]=-0x1]=_0x4b970c(0x240),_0x4ec38d))(Ci||{});const Y=_0x4b970c(0x446),Bn={};function Fn(_0x3b098e){var _0x1847c3=_0x4b970c,_0x39d55c,_0x30e9c2,_0xaa75b0,_0x2dd5d2,_0x130e4e;const _0x43824d=_0x3b098e['data'],_0x321c12=JSON[_0x1847c3(0x222)](_0x43824d);switch(_0x321c12[_0x1847c3(0x3b5)]){case F['HEARTBEAT']:case F['HELLO']:{const _0xfae8aa=_0x321c12[_0x1847c3(0x3af)];return{..._0x321c12,'data':_0xfae8aa,'cmd':_0x321c12[_0x1847c3(0x3b5)]};}case F[_0x1847c3(0x335)]:{const _0xb625ac=_0x321c12[_0x1847c3(0x2f3)];return{..._0x321c12,'data':_0xb625ac,'cmd':_0x321c12[_0x1847c3(0x3b5)]};}case F[_0x1847c3(0x17d)]:{const _0x17edff=_0x321c12[_0x1847c3(0x160)];switch(_0x17edff[_0x1847c3(0x286)]){case _0x1a1228['PERMISSION_REJ']:return{..._0x321c12,'data':{..._0x17edff,'data':(_0x39d55c=_0x17edff[_0x1847c3(0x18f)])==null?void 0x0:_0x39d55c['cs']},'cmd':_0x321c12['cmd']};case _0x1a1228[_0x1847c3(0x254)]:return{..._0x321c12,'data':{..._0x17edff,'data':(_0x30e9c2=_0x17edff[_0x1847c3(0x1b0)])==null?void 0x0:_0x30e9c2['cs']},'cmd':_0x321c12[_0x1847c3(0x3b5)]};case _0x1a1228[_0x1847c3(0x264)]:return{..._0x321c12,'data':{..._0x17edff,'data':(_0xaa75b0=_0x17edff[_0x1847c3(0x3a0)])==null?void 0x0:_0xaa75b0['cs']},'cmd':_0x321c12[_0x1847c3(0x3b5)]};case _0x1a1228[_0x1847c3(0x1b8)]:return{..._0x321c12,'data':{..._0x17edff,'data':(_0x2dd5d2=_0x17edff[_0x1847c3(0x30a)])==null?void 0x0:_0x2dd5d2['cs']},'cmd':_0x321c12[_0x1847c3(0x3b5)]};case _0x1a1228[_0x1847c3(0x22e)]:return{..._0x321c12,'data':{..._0x17edff,'data':(_0x130e4e=_0x17edff[_0x1847c3(0x26b)])==null?void 0x0:_0x130e4e['cs']},'cmd':_0x321c12[_0x1847c3(0x3b5)]};case _0x1a1228[_0x1847c3(0x1d1)]:return{..._0x321c12,'data':{..._0x17edff,'data':_0x17edff[_0x1847c3(0x3aa)]},'cmd':_0x321c12[_0x1847c3(0x3b5)]};case _0x1a1228['USERS_ENTER']:return{..._0x321c12,'data':{..._0x17edff,'data':_0x17edff[_0x1847c3(0x3c0)]},'cmd':_0x321c12[_0x1847c3(0x3b5)]};case _0x1a1228[_0x1847c3(0x19e)]:return{..._0x321c12,'data':{..._0x17edff,'data':_0x17edff[_0x1847c3(0x35a)]},'cmd':_0x321c12['cmd']};case _0x1a1228['LIVESHARE_NEW_HOST']:return{..._0x321c12,'data':{..._0x17edff,'data':_0x17edff[_0x1847c3(0x332)]},'cmd':_0x321c12[_0x1847c3(0x3b5)]};case _0x1a1228[_0x1847c3(0x44b)]:case _0x1a1228[_0x1847c3(0x2ab)]:return{..._0x321c12,'data':{..._0x17edff,'data':_0x17edff['liveShareOperation']},'cmd':_0x321c12[_0x1847c3(0x3b5)]};case _0x1a1228[_0x1847c3(0x1e0)]:return{..._0x321c12,'data':{..._0x17edff,'data':_0x17edff['liveShareNewHost']},'cmd':_0x321c12['cmd']};case _0x1a1228[_0x1847c3(0x1c4)]:return{..._0x321c12,'data':_0x17edff,'cmd':_0x321c12[_0x1847c3(0x3b5)]};case _0x1a1228[_0x1847c3(0x45d)]:return{..._0x321c12,'data':{..._0x17edff,'data':_0x17edff[_0x1847c3(0x441)]},'cmd':_0x321c12[_0x1847c3(0x3b5)]};case _0x1a1228[_0x1847c3(0x3d4)]:return{..._0x321c12,'data':{..._0x17edff,'data':_0x17edff['updatePermissionObjEvent']},'cmd':_0x321c12[_0x1847c3(0x3b5)]};case _0x1a1228[_0x1847c3(0x3ac)]:return{..._0x321c12,'data':{..._0x17edff,'data':_0x17edff['shouldCloseConn']},'cmd':_0x321c12[_0x1847c3(0x3b5)]};default:return _0x321c12;}}default:return _0x321c12;}}function Vn(_0x23006a){var _0x417cb5=_0x4b970c;switch(_0x23006a[_0x417cb5(0x3b5)]){case F[_0x417cb5(0x36e)]:case F['HELLO']:return JSON[_0x417cb5(0x37e)]({'cmd':_0x23006a[_0x417cb5(0x3b5)],'routeKey':_0x23006a['routeKey']});case F['INGEST']:{let _0x1b38b3;switch(_0x23006a[_0x417cb5(0x266)][_0x417cb5(0x286)]){case _0x1a1228[_0x417cb5(0x1d1)]:{_0x1b38b3={'eventID':_0x1a1228[_0x417cb5(0x1d1)],'updateCursorEvent':_0x23006a[_0x417cb5(0x266)][_0x417cb5(0x266)]};break;}case _0x1a1228['USERS_LEAVE']:{_0x1b38b3={'eventID':_0x1a1228['USERS_LEAVE'],'leaveEvent':_0x23006a[_0x417cb5(0x266)][_0x417cb5(0x266)]};break;}case _0x1a1228['USERS_ENTER']:{_0x1b38b3={'eventID':_0x1a1228[_0x417cb5(0x238)],'joinEvent':_0x23006a[_0x417cb5(0x266)][_0x417cb5(0x266)]};break;}case _0x1a1228['LIVESHARE_NEW_HOST']:{_0x1b38b3={'eventID':_0x1a1228[_0x417cb5(0x3d5)],'liveShareNewHost':_0x23006a['data'][_0x417cb5(0x266)]};break;}case _0x1a1228[_0x417cb5(0x2ab)]:{_0x1b38b3={'eventID':_0x1a1228['LIVESHARE_OPERATION'],'liveShareOperation':_0x23006a[_0x417cb5(0x266)][_0x417cb5(0x266)]};break;}case _0x1a1228[_0x417cb5(0x1e0)]:{_0x1b38b3={'eventID':_0x1a1228['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x23006a[_0x417cb5(0x266)][_0x417cb5(0x266)]};break;}case _0x1a1228[_0x417cb5(0x203)]:{_0x1b38b3={'eventID':_0x1a1228['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x23006a['data'][_0x417cb5(0x266)]};break;}case _0x1a1228[_0x417cb5(0x44b)]:{_0x1b38b3={'eventID':_0x1a1228[_0x417cb5(0x44b)]};break;}default:_0x1b38b3={'eventID':_0x23006a[_0x417cb5(0x266)][_0x417cb5(0x286)]};}return JSON['stringify']({'cmd':_0x23006a['cmd'],'routeKey':_0x23006a[_0x417cb5(0x28b)],'collaMsg':_0x1b38b3});}case F[_0x417cb5(0x335)]:return JSON[_0x417cb5(0x37e)]({'cmd':_0x23006a['cmd'],'routeKey':_0x23006a[_0x417cb5(0x28b)],'joinReq':_0x23006a[_0x417cb5(0x266)]});case F[_0x417cb5(0x1bf)]:return JSON[_0x417cb5(0x37e)]({'cmd':_0x23006a[_0x417cb5(0x3b5)],'routeKey':_0x23006a[_0x417cb5(0x28b)],'leaveReq':_0x23006a[_0x417cb5(0x266)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Wn=Object[_0x4b970c(0x27e)],Gn=Object[_0x4b970c(0x29d)],Kn=(_0x3421d2,_0x169fd0,_0x54e227,_0x1f66f9)=>{var _0x39e1dd=_0x4b970c;for(var _0x206e7b=_0x1f66f9>0x1?void 0x0:_0x1f66f9?Gn(_0x169fd0,_0x54e227):_0x169fd0,_0xb26449=_0x3421d2[_0x39e1dd(0x2f8)]-0x1,_0x51f9ab;_0xb26449>=0x0;_0xb26449--)(_0x51f9ab=_0x3421d2[_0xb26449])&&(_0x206e7b=(_0x1f66f9?_0x51f9ab(_0x169fd0,_0x54e227,_0x206e7b):_0x51f9ab(_0x206e7b))||_0x206e7b);return _0x1f66f9&&_0x206e7b&&Wn(_0x169fd0,_0x54e227,_0x206e7b),_0x206e7b;},Ne=(_0x41b78f,_0x2817ba)=>(_0x246ee2,_0x243c41)=>_0x2817ba(_0x246ee2,_0x243c41,_0x41b78f);const bi=_0x43a856(_0x4b970c(0x176));function zn(_0x452948,_0xc13ae9,_0x2a26e4){var _0x2dd2f3=_0x4b970c;return _0x452948+'/'+_0xc13ae9+_0x2dd2f3(0x17f)+_0x2a26e4+_0x2dd2f3(0x25d);}let Et=class extends _0x10cc97{constructor(_0x332386,_0x364c40,_0x23044e,_0xebe49e,_0x235afa){var _0xf2f77=_0x4b970c;super(),this['_http']=_0x332386,this[_0xf2f77(0x333)]=_0x364c40,this[_0xf2f77(0x33d)]=_0x23044e,this[_0xf2f77(0x34d)]=_0xebe49e,this[_0xf2f77(0x2ee)]=_0x235afa;}['createSocket'](_0x80362a){var _0x498030=_0x4b970c;const _0x4f83d0=this[_0x498030(0x333)]['createSocket'](_0x80362a);if(!_0x4f83d0)throw new Error(_0x498030(0x2dc));const _0x3043b9=new _0x5c0b99(),_0x2088f5=new _0x119b5a();_0x3043b9[_0x498030(0x1e7)](_0x4f83d0[_0x498030(0x37b)]['subscribe'](_0x260d4d=>_0x2088f5['next'](_0x260d4d))),_0x3043b9[_0x498030(0x1e7)](_0x131d39(()=>_0x2088f5[_0x498030(0x201)]()));const _0x5eb656=new _0x119b5a();_0x3043b9['add'](_0x4f83d0[_0x498030(0x27c)][_0x498030(0x30d)](_0x398af5=>_0x5eb656[_0x498030(0x18b)](_0x398af5))),_0x3043b9[_0x498030(0x1e7)](_0x131d39(()=>_0x5eb656[_0x498030(0x201)]()));const _0x40f63e=new _0x119b5a();_0x3043b9[_0x498030(0x1e7)](_0x4f83d0[_0x498030(0x344)][_0x498030(0x30d)](_0xb942=>{var _0x4674fb=_0x498030;const _0x26eb93=Fn(_0xb942);_0x40f63e[_0x4674fb(0x18b)](_0x26eb93);})),_0x3043b9[_0x498030(0x1e7)](_0x131d39(()=>_0x40f63e[_0x498030(0x201)]()));let _0x447351;const _0x5b257b=()=>{var _0x338ea0=_0x498030;_0x5eb656['next'](new Event(_0x338ea0(0x1f6))),_0x2088f5[_0x338ea0(0x18b)](new CloseEvent(_0x338ea0(0x1f6))),_0x447351[_0x338ea0(0x37d)]();};return _0x447351={'memberID':'','close$':_0x2088f5['asObservable'](),'error$':_0x5eb656[_0x498030(0x33a)](),'open$':_0x4f83d0[_0x498030(0x208)],'message$':_0x40f63e['asObservable'](),'send':_0x3492c8=>{var _0x4945de=_0x498030;if(_0x3492c8[_0x4945de(0x3b5)]===F['INGEST']){if(_0x3492c8[_0x4945de(0x266)][_0x4945de(0x286)]===_0x1a1228[_0x4945de(0x418)]){this[_0x4945de(0x409)](_0x447351,_0x3492c8[_0x4945de(0x266)])['catch'](_0x531445=>{var _0x5d5ef1=_0x4945de;this[_0x5d5ef1(0x34d)]['error'](_0x531445),_0x5b257b();});return;}if(_0x3492c8[_0x4945de(0x266)][_0x4945de(0x286)]===_0x1a1228['FETCH_MISSING']){const _0x1b1a81=_0x3492c8[_0x4945de(0x266)];this[_0x4945de(0x462)](_0x1b1a81)[_0x4945de(0x309)](_0x44a134=>{var _0x445fd6=_0x4945de;_0x40f63e[_0x445fd6(0x18b)]({'cmd':F['RECV'],'code':Ee['OK'],'routeKey':_0x1b1a81[_0x445fd6(0x266)]['unitID'],'routeType':'','data':{'eventID':_0x1a1228[_0x445fd6(0x26e)],'data':{'changesets':_0x44a134}}});})[_0x4945de(0x1e6)](_0x24a79a=>{var _0x5bf16e=_0x4945de;this[_0x5bf16e(0x34d)]['error'](_0x24a79a),_0x5b257b();});return;}}_0x4f83d0[_0x4945de(0x3ca)](Vn(_0x3492c8));},'close':()=>{var _0x18adae=_0x498030;_0x4f83d0['close'](),_0x3043b9[_0x18adae(0x1de)]();}},_0x447351;}async['_submitChangeset'](_0x24c245,_0x2a0252){var _0x3c9561=_0x4b970c,_0x193f70,_0x3e079c;const {unitType:_0xef5a3d,unitID:_0x3c3e2e,changeset:_0x3015f0}=_0x2a0252[_0x3c9561(0x266)],_0x1b89fa={'unitID':_0x3c3e2e,'memberID':_0x24c245[_0x3c9561(0x385)],'type':_0xef5a3d,'changeset':_0x3de165(_0x3015f0)},_0x14744c=this[_0x3c9561(0x33d)][_0x3c9561(0x2d6)]($n),_0x13152c=this[_0x3c9561(0x33d)][_0x3c9561(0x2d6)](Y),_0x1c4dd5=zn((_0x3e079c=(_0x193f70=_0x13152c==null?void 0x0:_0x13152c[_0x3c9561(0x41b)])!=null?_0x193f70:_0x14744c)!=null?_0x3e079c:Hn,_0xef5a3d,_0x3c3e2e);try{await this['_http'][_0x3c9561(0x23c)](_0x1c4dd5,{'body':_0x1b89fa});}catch(_0xe5fc69){throw this[_0x3c9561(0x34d)]['error']('[CollaborationSession]',_0x3c9561(0x44c)),_0xe5fc69;}}async[_0x4b970c(0x462)](_0x477bff){var _0x2b3174=_0x4b970c;const {unitID:_0x349a4a,from:_0x4ef29f,to:_0x41d960,unitType:_0x21d788}=_0x477bff[_0x2b3174(0x266)];return(await this[_0x2b3174(0x2ee)][_0x2b3174(0x228)]({'metadata':void 0x0},{'unitID':_0x349a4a,'type':_0x21d788,'from':_0x4ef29f,'to':_0x41d960}))[_0x2b3174(0x248)];}};function _0x30ed(_0x276104,_0x181702){var _0x52a4ea=_0x52a4();return _0x30ed=function(_0x30ed55,_0x122b63){_0x30ed55=_0x30ed55-0x15e;var _0x2db002=_0x52a4ea[_0x30ed55];return _0x2db002;},_0x30ed(_0x276104,_0x181702);}Et=Kn([Ne(0x0,_0x5f1c87(_0x307ade)),Ne(0x1,_0x5f1c87(_0x1d698d)),Ne(0x2,_0x24ac53),Ne(0x3,_0x42cc6c),Ne(0x4,_0x1e0875)],Et);const Yn=_0x4b970c(0x247);function qn(_0xc54502){var _0x3f1ace=_0x4b970c;return JSON[_0x3f1ace(0x37e)](_0xc54502)['length'];}class Ri{constructor(){var _0x2fc975=_0x4b970c;N(this,_0x2fc975(0x408),new _0x119b5a()),N(this,_0x2fc975(0x245),this['_commentUpdate$'][_0x2fc975(0x33a)]());}[_0x4b970c(0x167)](_0x183901){var _0x8c1cb0=_0x4b970c;this[_0x8c1cb0(0x408)]['next'](_0x183901);}}var Jn=Object[_0x4b970c(0x27e)],Xn=Object[_0x4b970c(0x29d)],Zn=(_0x16ed93,_0x1a5f24,_0x195754,_0x3e44ee)=>{var _0x35cd9b=_0x4b970c;for(var _0x2d5be8=_0x3e44ee>0x1?void 0x0:_0x3e44ee?Xn(_0x1a5f24,_0x195754):_0x1a5f24,_0x4590e6=_0x16ed93[_0x35cd9b(0x2f8)]-0x1,_0x11d5ce;_0x4590e6>=0x0;_0x4590e6--)(_0x11d5ce=_0x16ed93[_0x4590e6])&&(_0x2d5be8=(_0x3e44ee?_0x11d5ce(_0x1a5f24,_0x195754,_0x2d5be8):_0x11d5ce(_0x2d5be8))||_0x2d5be8);return _0x3e44ee&&_0x2d5be8&&Jn(_0x1a5f24,_0x195754,_0x2d5be8),_0x2d5be8;},zt=(_0x206117,_0x23756b)=>(_0x26b568,_0x3b0b61)=>_0x23756b(_0x26b568,_0x3b0b61,_0x206117);let Le=class extends _0x10cc97{constructor(_0x11eb95,_0x549f8f){var _0x36f9c4=_0x4b970c;super(),N(this,_0x36f9c4(0x2e1),new Map()),(this[_0x36f9c4(0x365)]=_0x11eb95,this[_0x36f9c4(0x3d7)]=_0x549f8f,this[_0x36f9c4(0x1ff)](_0x131d39(_0x57cdac(this[_0x36f9c4(0x365)][_0x36f9c4(0x311)](_0x2cc5bd[_0x36f9c4(0x328)])[_0x36f9c4(0x456)](_0x55b526(_0x53cd28=>_0x53cd28['getUnitId']())),this[_0x36f9c4(0x365)][_0x36f9c4(0x311)](_0x2cc5bd[_0x36f9c4(0x262)])[_0x36f9c4(0x456)](_0x55b526(_0x245948=>_0x245948['getUnitId']())),this[_0x36f9c4(0x365)][_0x36f9c4(0x311)](_0x2cc5bd['UNIVER_SLIDE'])[_0x36f9c4(0x456)](_0x55b526(_0x2a1b3a=>_0x2a1b3a[_0x36f9c4(0x427)]())))[_0x36f9c4(0x30d)](_0x5980be=>this['_removeRoom'](_0x5980be)))));}[_0x4b970c(0x2d8)](_0x4185f3){var _0x122e68=_0x4b970c;this[_0x122e68(0x3d7)]['setCurrentUser'](_0x4185f3);}[_0x4b970c(0x212)](){var _0x317e13=_0x4b970c;return this[_0x317e13(0x3d7)][_0x317e13(0x212)]();}['updateMember'](_0xde0a00,_0x449808){var _0x3b7da0=_0x4b970c;let _0x107b1b=this[_0x3b7da0(0x2e1)]['get'](_0xde0a00);_0x107b1b||(_0x107b1b=new Qn(),this['_roomMembers']['set'](_0xde0a00,_0x107b1b)),_0x107b1b[_0x3b7da0(0x3fa)](_0x449808);}[_0x4b970c(0x357)](_0x30e163,_0x5798c2){var _0x16497a=_0x4b970c;const _0x5b99f4=this[_0x16497a(0x2e1)][_0x16497a(0x1b7)](_0x30e163);_0x5b99f4&&_0x5b99f4[_0x16497a(0x357)](_0x5798c2);}[_0x4b970c(0x40b)](_0x132472){var _0x24bb98=_0x4b970c;return this['_roomMembers'][_0x24bb98(0x1b7)](_0x132472);}[_0x4b970c(0x29f)](_0x5a55d3,_0x3302e3){var _0x54592a=_0x4b970c;const _0x3815c0=this[_0x54592a(0x2e1)][_0x54592a(0x1b7)](_0x5a55d3);if(_0x3815c0)return _0x3815c0['getMember'](_0x3302e3);}[_0x4b970c(0x296)](_0x4bb956){var _0xaf7126=_0x4b970c;const _0x515fba=this[_0xaf7126(0x2e1)]['get'](_0x4bb956);_0x515fba&&(_0x515fba[_0xaf7126(0x1de)](),this['_roomMembers'][_0xaf7126(0x42a)](_0x4bb956));}['dispose'](){var _0x197a7e=_0x4b970c;this[_0x197a7e(0x2e1)][_0x197a7e(0x161)](_0x56711a=>_0x56711a['dispose']()),this[_0x197a7e(0x2e1)][_0x197a7e(0x186)]();}};Le=Zn([zt(0x0,_0x5d568a),zt(0x1,_0x5f1c87(_0x1aebee))],Le);class Qn extends _0x10cc97{constructor(){var _0x422be8=_0x4b970c;super(...arguments),N(this,_0x422be8(0x250),new Map());}[_0x4b970c(0x1de)](){var _0xa4805a=_0x4b970c;this[_0xa4805a(0x250)][_0xa4805a(0x186)]();}['updateMember'](_0x14daec){var _0x587266=_0x4b970c;this[_0x587266(0x250)][_0x587266(0x187)](_0x14daec[_0x587266(0x385)],_0x14daec);}['removeMember'](_0x3fd70d){var _0x2072be=_0x4b970c;this['_members'][_0x2072be(0x42a)](_0x3fd70d);}[_0x4b970c(0x29f)](_0x5229bc){var _0x180dc1=_0x4b970c;return this[_0x180dc1(0x250)][_0x180dc1(0x1b7)](_0x5229bc);}[_0x4b970c(0x467)](){var _0x488ecd=_0x4b970c;return Array[_0x488ecd(0x3dc)](this['_members'][_0x488ecd(0x40e)]());}}var se=(_0x3af7fb=>(_0x3af7fb[_0x4b970c(0x233)]=_0x4b970c(0x233),_0x3af7fb[_0x4b970c(0x23b)]=_0x4b970c(0x23b),_0x3af7fb['CONFLICT']=_0x4b970c(0x37c),_0x3af7fb['CLOSE_ROOM']=_0x4b970c(0x1e8),_0x3af7fb[_0x4b970c(0x2ef)]=_0x4b970c(0x2ef),_0x3af7fb[_0x4b970c(0x324)]=_0x4b970c(0x324),_0x3af7fb[_0x4b970c(0x450)]=_0x4b970c(0x450),_0x3af7fb[_0x4b970c(0x1bd)]=_0x4b970c(0x1bd),_0x3af7fb))(se||{});class pe{constructor(){var _0x8525c5=_0x4b970c;N(this,_0x8525c5(0x3e9),new _0x119b5a()),N(this,_0x8525c5(0x416),this[_0x8525c5(0x3e9)][_0x8525c5(0x33a)]());}[_0x4b970c(0x43a)](_0x55e752){var _0xcb66a7=_0x4b970c;this['_event$'][_0xcb66a7(0x18b)](_0x55e752);}}var es=Object[_0x4b970c(0x27e)],ts=Object[_0x4b970c(0x29d)],is=(_0x3f80b0,_0x3eba97,_0x46e303,_0x17971f)=>{var _0x123fba=_0x4b970c;for(var _0x3e45a8=_0x17971f>0x1?void 0x0:_0x17971f?ts(_0x3eba97,_0x46e303):_0x3eba97,_0x50bc69=_0x3f80b0[_0x123fba(0x2f8)]-0x1,_0xe001c;_0x50bc69>=0x0;_0x50bc69--)(_0xe001c=_0x3f80b0[_0x50bc69])&&(_0x3e45a8=(_0x17971f?_0xe001c(_0x3eba97,_0x46e303,_0x3e45a8):_0xe001c(_0x3e45a8))||_0x3e45a8);return _0x17971f&&_0x3e45a8&&es(_0x3eba97,_0x46e303,_0x3e45a8),_0x3e45a8;},me=(_0x2d5221,_0x2a9a42)=>(_0x82d37f,_0xc8b61)=>_0x2a9a42(_0x82d37f,_0xc8b61,_0x2d5221),Ie=(_0x1b348f=>(_0x1b348f[_0x1b348f[_0x4b970c(0x258)]=0x0]=_0x4b970c(0x258),_0x1b348f[_0x1b348f[_0x4b970c(0x359)]=0x1]=_0x4b970c(0x359),_0x1b348f[_0x1b348f[_0x4b970c(0x3ba)]=0x2]=_0x4b970c(0x3ba),_0x1b348f[_0x1b348f[_0x4b970c(0x2f2)]=0x3]=_0x4b970c(0x2f2),_0x1b348f))(Ie||{});const Yt={[Ee['FAIL']]:_0x4b970c(0x199),[Ee[_0x4b970c(0x366)]]:_0x4b970c(0x361),[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x4b970c(0x168),[Ee[_0x4b970c(0x197)]]:'session.room-permission-denied',[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x4b970c(0x23e)};let It=class extends _0x265948{constructor(_0x200653,_0x3663cc,_0x9a76fa,_0x5a2d77,_0x3626e0,_0x719f1f,_0x537935,_0x3b54d9,_0x19ccb2){var _0x50ecb2=_0x4b970c;super(),N(this,_0x50ecb2(0x35e),new _0x182139(0x0)),N(this,_0x50ecb2(0x3d0),this['_sessionStatus$'][_0x50ecb2(0x33a)]()),N(this,_0x50ecb2(0x3e9),new _0x119b5a()),N(this,_0x50ecb2(0x416),this['_event$'][_0x50ecb2(0x33a)]()),N(this,_0x50ecb2(0x31b)),N(this,_0x50ecb2(0x319)),N(this,_0x50ecb2(0x364)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x50ecb2(0x275),null),(this['_unitID']=_0x200653,this[_0x50ecb2(0x34d)]=_0x9a76fa,this[_0x50ecb2(0x33d)]=_0x5a2d77,this['_localeService']=_0x3626e0,this[_0x50ecb2(0x45a)]=_0x719f1f,this['_commentService']=_0x537935,this['_collaborationUIEventService']=_0x3b54d9,this[_0x50ecb2(0x1ba)]=_0x19ccb2,this[_0x50ecb2(0x1f8)]=!!this['_telemetryService'],_0x3663cc[_0x50ecb2(0x456)](_0x913081(this[_0x50ecb2(0x2f0)]))[_0x50ecb2(0x30d)](_0x192f9b=>{var _0x46ad96=_0x50ecb2,_0x128fea;typeof _0x192f9b>'u'||(this[_0x46ad96(0x31b)]=_0x192f9b,_0x192f9b?(this['_joinRoom'](_0x192f9b),this[_0x46ad96(0x319)]=_0x192f9b[_0x46ad96(0x344)][_0x46ad96(0x30d)](_0xd544a0=>{var _0x17c05a=_0x46ad96;_0xd544a0[_0x17c05a(0x28b)]===this[_0x17c05a(0x36b)]&&this[_0x17c05a(0x36a)](_0xd544a0);})):(this[_0x46ad96(0x35b)](),this[_0x46ad96(0x35e)][_0x46ad96(0x18b)](0x2),(_0x128fea=this['_socketMessageSubscription'])==null||_0x128fea[_0x46ad96(0x374)](),this[_0x46ad96(0x319)]=null));}));}get['sessionStatus'](){var _0x3059da=_0x4b970c;return this[_0x3059da(0x35e)][_0x3059da(0x1ae)]();}[_0x4b970c(0x29e)](){var _0x52a91c=_0x4b970c,_0x1cfcf3,_0x30c83a;return(_0x30c83a=(_0x1cfcf3=this[_0x52a91c(0x31b)])==null?void 0x0:_0x1cfcf3[_0x52a91c(0x385)])!=null?_0x30c83a:null;}[_0x4b970c(0x1de)](){var _0x260c1e=_0x4b970c;super[_0x260c1e(0x1de)](),this[_0x260c1e(0x2f0)][_0x260c1e(0x18b)](),this[_0x260c1e(0x2f0)][_0x260c1e(0x201)]();}[_0x4b970c(0x37d)](){var _0xd862e4=_0x4b970c,_0x1e21f6,_0x192a3b;this[_0xd862e4(0x35b)](),(_0x1e21f6=this[_0xd862e4(0x31b)])==null||_0x1e21f6[_0xd862e4(0x3ca)]({'cmd':F[_0xd862e4(0x1bf)],'data':{'roomID':this['_unitID']}}),(_0x192a3b=this['_socket'])==null||_0x192a3b[_0xd862e4(0x37d)](),this[_0xd862e4(0x3e9)]['complete'](),this['_sessionStatus$'][_0xd862e4(0x201)](),this[_0xd862e4(0x1de)]();}[_0x4b970c(0x36a)](_0x208c22){var _0x42ed58=_0x4b970c;_0x208c22['cmd']===F[_0x42ed58(0x335)]?this['_onJoinRoomEvent'](_0x208c22):_0x208c22[_0x42ed58(0x3b5)]===F['RECV']&&this['_onRecvEvent'](_0x208c22);}[_0x4b970c(0x1d9)](_0x4da460){var _0x59171e=_0x4b970c;this[_0x59171e(0x35e)]['next'](0x1),_0x4da460[_0x59171e(0x3ca)]({'cmd':F[_0x59171e(0x335)],'routeKey':this[_0x59171e(0x36b)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x4b970c(0x3ea)](_0x1a991c){var _0x21e544=_0x4b970c,_0x10bb3c;if(_0x1a991c[_0x21e544(0x2e2)]in Yt){this['_collaborationUIEventService'][_0x21e544(0x43a)]({'id':se[_0x21e544(0x2ef)],'data':Yt[_0x1a991c[_0x21e544(0x2e2)]]}),this[_0x21e544(0x35e)][_0x21e544(0x18b)](0x2);return;}this['_sessionStatus$'][_0x21e544(0x18b)](0x3);const _0x1b9d9b=(_0x10bb3c=_0x1a991c[_0x21e544(0x266)][_0x21e544(0x184)][this[_0x21e544(0x36b)]])==null?void 0x0:_0x10bb3c[_0x21e544(0x2ac)];_0x1b9d9b&&_0x1b9d9b[_0x21e544(0x161)](_0x593024=>this[_0x21e544(0x45a)][_0x21e544(0x3fa)](this[_0x21e544(0x36b)],_0x593024));}[_0x4b970c(0x315)](_0x66fce4){var _0x49b1a4=_0x4b970c;try{const _0x10c80b=_0x66fce4[_0x49b1a4(0x266)];switch(_0x10c80b[_0x49b1a4(0x286)]){case _0x1a1228['USERS_ENTER']:this['_onUserJoin'](_0x10c80b),this[_0x49b1a4(0x3e9)][_0x49b1a4(0x18b)](_0x10c80b);break;case _0x1a1228['USERS_LEAVE']:this[_0x49b1a4(0x26f)](_0x10c80b),this[_0x49b1a4(0x3e9)][_0x49b1a4(0x18b)](_0x10c80b);break;case _0x1a1228[_0x49b1a4(0x254)]:case _0x1a1228['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x49b1a4(0x18b)](_0x10c80b);break;case _0x1a1228['MSG_FOR_ERROR']:this[_0x49b1a4(0x34d)][_0x49b1a4(0x31a)](_0x49b1a4(0x259)+JSON[_0x49b1a4(0x37e)](_0x10c80b)),this[_0x49b1a4(0x3e9)][_0x49b1a4(0x18b)](_0x10c80b);break;case _0x1a1228['COMMENT_UPDATE']:this['_commentService']['onCommentUpdate'](_0x10c80b[_0x49b1a4(0x266)]),this[_0x49b1a4(0x3e9)]['next'](_0x10c80b);break;default:this[_0x49b1a4(0x3e9)][_0x49b1a4(0x18b)](_0x10c80b);}}catch(_0x1f40f7){this['_logService'][_0x49b1a4(0x31a)](_0x1f40f7,_0x66fce4);}}['_onUserJoin'](_0x56b35c){var _0xa672a7=_0x4b970c;this[_0xa672a7(0x45a)]['updateMember'](this['_unitID'],_0x56b35c['data']);}[_0x4b970c(0x26f)](_0x4d8447){var _0x4294ea=_0x4b970c;this[_0x4294ea(0x45a)]['removeMember'](this[_0x4294ea(0x36b)],_0x4d8447[_0x4294ea(0x266)][_0x4294ea(0x385)]);}async[_0x4b970c(0x3ca)](_0x2e3088,_0x39072d){var _0x404fdf=_0x4b970c;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2e3088[_0x404fdf(0x286)]===_0x1a1228[_0x404fdf(0x418)]&&(this[_0x404fdf(0x25f)](),this[_0x404fdf(0x189)](_0x2e3088)),this[_0x404fdf(0x31b)][_0x404fdf(0x3ca)]({'cmd':F['INGEST'],'routeKey':_0x39072d,'routeType':'','data':_0x2e3088});}catch(_0xc8028e){this[_0x404fdf(0x34d)][_0x404fdf(0x31a)](_0xc8028e);}}[_0x4b970c(0x25f)](){var _0x39e1a4=_0x4b970c,_0x3254ac;this[_0x39e1a4(0x364)]=window[_0x39e1a4(0x30e)](()=>{var _0x5b7531=_0x39e1a4;this[_0x5b7531(0x364)]=null,this[_0x5b7531(0x302)][_0x5b7531(0x43a)]({'id':se[_0x5b7531(0x1bd)]});},(_0x3254ac=this['_configService'][_0x39e1a4(0x2d6)](Ei))!=null?_0x3254ac:Ii);}[_0x4b970c(0x1bc)](){var _0x3e5e55=_0x4b970c;this[_0x3e5e55(0x364)]&&(clearTimeout(this[_0x3e5e55(0x364)]),this[_0x3e5e55(0x364)]=null);}[_0x4b970c(0x189)](_0x27ad1f){var _0x2dafb5=_0x4b970c;if(!this[_0x2dafb5(0x1f8)])return;const {data:_0x1c2616}=_0x27ad1f,{unitID:_0x314bb7,changeset:_0x1d1dee}=_0x1c2616,{mutations:_0x3c71ff,type:_0xec34fc}=_0x1d1dee;this[_0x2dafb5(0x275)]={'unitId':_0x314bb7,'type':_0xec34fc,'startTime':performance[_0x2dafb5(0x2c8)](),'stopTime':0x0,'duration':0x0,'size':qn(_0x3c71ff)};}[_0x4b970c(0x1f7)](){var _0x15a6a5=_0x4b970c;if(this[_0x15a6a5(0x1f8)]){if(!this[_0x15a6a5(0x275)]){this[_0x15a6a5(0x34d)][_0x15a6a5(0x31a)](_0x15a6a5(0x341),_0x15a6a5(0x372));return;}this[_0x15a6a5(0x275)][_0x15a6a5(0x38a)]=performance['now'](),this[_0x15a6a5(0x275)][_0x15a6a5(0x22f)]=this[_0x15a6a5(0x275)][_0x15a6a5(0x38a)]-this[_0x15a6a5(0x275)][_0x15a6a5(0x43b)],this[_0x15a6a5(0x1ba)]['capture'](Yn,this['_telemetryInfo']),this[_0x15a6a5(0x275)]=null;}}[_0x4b970c(0x35b)](){this['_telemetryInfo']=null;}};It=is([me(0x2,_0x42cc6c),me(0x3,_0x24ac53),me(0x4,_0x5f1c87(_0x19cf62)),me(0x5,_0x5f1c87(Le)),me(0x6,_0x5f1c87(Ri)),me(0x7,_0x5f1c87(pe)),me(0x8,_0x4dd650(_0x3a725e))],It);var ns=Object[_0x4b970c(0x27e)],ss=Object['getOwnPropertyDescriptor'],rs=(_0x2a108c,_0x5e20e3,_0x8f23e3,_0x246bb0)=>{for(var _0x2c0de9=_0x246bb0>0x1?void 0x0:_0x246bb0?ss(_0x5e20e3,_0x8f23e3):_0x5e20e3,_0x3d6671=_0x2a108c['length']-0x1,_0x1d39a6;_0x3d6671>=0x0;_0x3d6671--)(_0x1d39a6=_0x2a108c[_0x3d6671])&&(_0x2c0de9=(_0x246bb0?_0x1d39a6(_0x5e20e3,_0x8f23e3,_0x2c0de9):_0x1d39a6(_0x2c0de9))||_0x2c0de9);return _0x246bb0&&_0x2c0de9&&ns(_0x5e20e3,_0x8f23e3,_0x2c0de9),_0x2c0de9;},ge=(_0x41dc47,_0x4043c7)=>(_0x342307,_0x2fa672)=>_0x4043c7(_0x342307,_0x2fa672,_0x41dc47);let Me=class extends _0x10cc97{constructor(_0x120702,_0x34d01a,_0x33a958,_0x10fdd6,_0x3550b8,_0xcda8ed,_0x2f7029){var _0x38d217=_0x4b970c;super(),N(this,_0x38d217(0x3d3),new _0x182139(void 0x0)),N(this,_0x38d217(0x165),this[_0x38d217(0x3d3)][_0x38d217(0x33a)]()),N(this,_0x38d217(0x21f),null),N(this,_0x38d217(0x3c5),new Map()),N(this,_0x38d217(0x1ac),new _0x182139(Ie[_0x38d217(0x258)])),N(this,_0x38d217(0x194),this['_status$'][_0x38d217(0x33a)]()),N(this,'_socketReady',!0x1),N(this,_0x38d217(0x2dd)),N(this,_0x38d217(0x3f7),0x0),N(this,_0x38d217(0x1f1)),N(this,_0x38d217(0x3c3)),(this[_0x38d217(0x16b)]=_0x120702,this[_0x38d217(0x326)]=_0x34d01a,this['_logService']=_0x33a958,this[_0x38d217(0x33d)]=_0x10fdd6,this[_0x38d217(0x219)]=_0x3550b8,this['_httpService']=_0xcda8ed,this['_collaborationUIEventService']=_0x2f7029,this['_initEventListeners']());}get[_0x4b970c(0x31b)](){var _0xb248e9=_0x4b970c;return this[_0xb248e9(0x3d3)][_0xb248e9(0x1ae)]();}[_0x4b970c(0x3cc)](){var _0x4a5236=_0x4b970c;this[_0x4a5236(0x35d)](),this[_0x4a5236(0x2ca)]();}[_0x4b970c(0x1de)](){var _0x4267f5=_0x4b970c;super[_0x4267f5(0x1de)](),this[_0x4267f5(0x3c5)][_0x4267f5(0x161)](_0x5f39f1=>_0x5f39f1[_0x4267f5(0x1de)]()),this[_0x4267f5(0x3c5)][_0x4267f5(0x186)](),this['_status$'][_0x4267f5(0x201)]();}async[_0x4b970c(0x3cf)](_0xf9de2f){var _0x466ed8=_0x4b970c;if(this[_0x466ed8(0x3c5)]['has'](_0xf9de2f))return this[_0x466ed8(0x3c5)][_0x466ed8(0x1b7)](_0xf9de2f);this[_0x466ed8(0x25b)]();const _0x50268d=this[_0x466ed8(0x16b)][_0x466ed8(0x300)](It,_0xf9de2f,this[_0x466ed8(0x3d3)][_0x466ed8(0x33a)]());return this[_0x466ed8(0x3c5)][_0x466ed8(0x187)](_0xf9de2f,_0x50268d),_0x50268d;}[_0x4b970c(0x2ff)](_0xbca894){var _0x4475cb=_0x4b970c,_0x3fd97a;const _0x116271=this[_0x4475cb(0x3c5)][_0x4475cb(0x1b7)](_0xbca894);_0x116271&&(this[_0x4475cb(0x3c5)][_0x4475cb(0x42a)](_0xbca894),_0x116271['close']()),this[_0x4475cb(0x3c5)][_0x4475cb(0x329)]||(_0x3fd97a=this[_0x4475cb(0x31b)])==null||_0x3fd97a['close']();}[_0x4b970c(0x45c)](){var _0x2784c8=_0x4b970c;this[_0x2784c8(0x3f7)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x2784c8(0x2dd)]),this['_retryConnectingTimer']=null),this[_0x2784c8(0x391)]();}async[_0x4b970c(0x2e8)](){var _0x514c58=_0x4b970c,_0x3684d3,_0x55abf4,_0x3cc9af;const _0xc8a970=this[_0x514c58(0x33d)][_0x514c58(0x2d6)](Y),_0x259f89=(_0x3684d3=_0xc8a970==null?void 0x0:_0xc8a970[_0x514c58(0x28d)])!=null?_0x3684d3:wn;return(_0x3cc9af=(_0x55abf4=(await this[_0x514c58(0x3e5)][_0x514c58(0x1b7)](_0x259f89,{'headers':{'Content-Type':_0x514c58(0x21b)}}))[_0x514c58(0x2fd)])==null?void 0x0:_0x55abf4[_0x514c58(0x198)])!=null?_0x3cc9af:'';}['_createSocketURL'](_0x342f06){var _0xa97aa2=_0x4b970c,_0x4924b9,_0x28e7c9;const _0x4acb87=this['_configService'][_0xa97aa2(0x2d6)](Dn),_0xf3a60=this[_0xa97aa2(0x33d)][_0xa97aa2(0x2d6)](Y),_0x5e86a0=(_0x28e7c9=(_0x4924b9=_0xf3a60==null?void 0x0:_0xf3a60[_0xa97aa2(0x453)])!=null?_0x4924b9:_0x4acb87)!=null?_0x28e7c9:Nn,_0x1c81b4=new URL(_0x5e86a0,window[_0xa97aa2(0x26a)]['origin']);return _0x1c81b4[_0xa97aa2(0x243)]['set'](_0xa97aa2(0x45e),_0x342f06),_0x1c81b4[_0xa97aa2(0x1b2)]();}async['_createSocket'](){var _0x3e0423=_0x4b970c;const _0x1dd2bc=await this[_0x3e0423(0x2e8)](),_0x164258=this[_0x3e0423(0x41d)](_0x1dd2bc),_0x42ef11=this[_0x3e0423(0x219)]['createSocket'](_0x164258);return this[_0x3e0423(0x21f)]=_0x42ef11,_0x42ef11;}async['_tryEnsureSocket'](){var _0x33975e=_0x4b970c,_0x59c7eb,_0x1f40dc;try{const _0x2ed694=(_0x1f40dc=(_0x59c7eb=this[_0x33975e(0x31b)])!=null?_0x59c7eb:this[_0x33975e(0x21f)])!=null?_0x1f40dc:await this['_createSocket']();if(_0x2ed694){const _0x5f4fb1=_0x2ed694[_0x33975e(0x3ca)];_0x2ed694[_0x33975e(0x3ca)]=_0x510c0c=>(this[_0x33975e(0x28a)](),_0x5f4fb1['apply'](_0x2ed694,[_0x510c0c])),_0x2ed694['message$']['subscribe'](_0x40f976=>this[_0x33975e(0x1b5)](_0x2ed694,_0x40f976)),_0x2ed694[_0x33975e(0x27c)][_0x33975e(0x456)](_0x5c5f7a(0x1))[_0x33975e(0x30d)](_0x2e8e50=>this[_0x33975e(0x34d)][_0x33975e(0x31a)]('[CollaborationSessionService]:\x20socket\x20error',_0x2e8e50)),_0x2ed694[_0x33975e(0x208)][_0x33975e(0x456)](_0x5c5f7a(0x1))[_0x33975e(0x30d)](()=>{var _0x498fe3=_0x33975e;this[_0x498fe3(0x3e4)](_0x2ed694);}),_0x2ed694[_0x33975e(0x37b)][_0x33975e(0x456)](_0x5c5f7a(0x1))[_0x33975e(0x30d)](_0x110e3c=>{var _0x429e44=_0x33975e;this[_0x429e44(0x34d)][_0x429e44(0x20f)](_0x429e44(0x1fc),_0x429e44(0x237),_0x110e3c),this[_0x429e44(0x1c7)]();});}}catch(_0x335297){this[_0x33975e(0x34d)][_0x33975e(0x31a)](_0x335297),this[_0x33975e(0x1c7)]();}}['_onConnectionOpen'](_0xf06ab9){var _0xfc4766=_0x4b970c;this['_logService'][_0xfc4766(0x20f)](_0xfc4766(0x1fc),_0xfc4766(0x44f)),_0xf06ab9['send']({'cmd':F[_0xfc4766(0x458)]}),this['_rescheduleHeartbeat']();}[_0x4b970c(0x35d)](){var _0x279a48=_0x4b970c;window[_0x279a48(0x1e9)]('offline',()=>this['_onOffline']());}[_0x4b970c(0x373)](){var _0x484b0e=_0x4b970c;this[_0x484b0e(0x2c1)]=!0x1,this['_candidateSocket']=null,this[_0x484b0e(0x1ac)][_0x484b0e(0x18b)](Ie[_0x484b0e(0x3ba)]),this[_0x484b0e(0x3d3)][_0x484b0e(0x18b)](null),this[_0x484b0e(0x242)](),this[_0x484b0e(0x43d)]();}[_0x4b970c(0x1c7)](){var _0x2037b4=_0x4b970c,_0xb0174c;this[_0x2037b4(0x373)](),this[_0x2037b4(0x3f7)]<((_0xb0174c=this[_0x2037b4(0x33d)][_0x2037b4(0x2d6)](Ln))!=null?_0xb0174c:Mn)?(this[_0x2037b4(0x302)][_0x2037b4(0x43a)]({'id':se[_0x2037b4(0x324)]}),this[_0x2037b4(0x391)]()):this[_0x2037b4(0x302)]['emitEvent']({'id':se[_0x2037b4(0x450)]});}[_0x4b970c(0x2ca)](){var _0x39e454=_0x4b970c;const _0x2a9b93=()=>{var _0x262e65=_0x30ed;this[_0x262e65(0x31b)]||this[_0x262e65(0x45c)]();},_0x2000dc=()=>{var _0x59e0de=_0x30ed;this[_0x59e0de(0x31b)]||document[_0x59e0de(0x284)]===_0x59e0de(0x1af)||this['reconnect']();};window['addEventListener'](_0x39e454(0x46b),_0x2a9b93),document[_0x39e454(0x1e9)]('visibilitychange',_0x2000dc);}[_0x4b970c(0x391)](){var _0x4ba248=_0x4b970c,_0x51270e;const _0x4eaaf6=this['_retryCount'],_0x24d35e=this['_configService'][_0x4ba248(0x2d6)](Y),_0x3512e4=_0x4eaaf6===0x0?0x0:((_0x51270e=_0x24d35e==null?void 0x0:_0x24d35e[_0x4ba248(0x21a)])!=null?_0x51270e:xn)*0x2**_0x4eaaf6;this[_0x4ba248(0x2dd)]=window[_0x4ba248(0x30e)](()=>{var _0x2606fd=_0x4ba248;clearTimeout(this[_0x2606fd(0x2dd)]),this['_retryConnectingTimer']=null,this[_0x2606fd(0x25b)]();},_0x3512e4),this[_0x4ba248(0x3f7)]+=0x1;}[_0x4b970c(0x1b5)](_0xf786d4,_0xf0f571){var _0x3f7b13=_0x4b970c;const {cmd:_0x193462}=_0xf0f571;_0x193462===F['HELLO']&&!this[_0x3f7b13(0x2c1)]&&(_0xf786d4[_0x3f7b13(0x385)]=_0xf0f571[_0x3f7b13(0x266)]['memberID'],this['_socket$'][_0x3f7b13(0x18b)](_0xf786d4),this[_0x3f7b13(0x1ac)][_0x3f7b13(0x18b)](Ie[_0x3f7b13(0x2f2)]),this[_0x3f7b13(0x2c1)]=!0x0,this[_0x3f7b13(0x21f)]=null),_0x193462===F[_0x3f7b13(0x36e)]&&this[_0x3f7b13(0x242)](),this[_0x3f7b13(0x28a)]();}[_0x4b970c(0x28a)](){var _0x328ff3=_0x4b970c,_0x260e85;this['_clearHeartbeatTimer'](),this[_0x328ff3(0x1f1)]=window[_0x328ff3(0x30e)](()=>this['_sendHeartbeat'](),(_0x260e85=this[_0x328ff3(0x33d)][_0x328ff3(0x2d6)](Un))!=null?_0x260e85:An);}[_0x4b970c(0x46c)](){var _0x1e5b83=_0x4b970c;this[_0x1e5b83(0x31b)]['send']({'cmd':F[_0x1e5b83(0x36e)]}),this['_waitForHeartbeatResponse']();}[_0x4b970c(0x327)](){var _0xbcf51c=_0x4b970c,_0x3e3642;this[_0xbcf51c(0x3c3)]=window[_0xbcf51c(0x30e)](()=>this[_0xbcf51c(0x1c7)](),(_0x3e3642=this[_0xbcf51c(0x33d)]['getConfig'](Ei))!=null?_0x3e3642:Ii);}[_0x4b970c(0x43d)](){var _0x26fa61=_0x4b970c;this[_0x26fa61(0x1f1)]!=null&&(clearTimeout(this[_0x26fa61(0x1f1)]),this[_0x26fa61(0x1f1)]=null);}[_0x4b970c(0x242)](){var _0x43c3e1=_0x4b970c;this[_0x43c3e1(0x3c3)]!=null&&(clearTimeout(this[_0x43c3e1(0x3c3)]),this[_0x43c3e1(0x3c3)]=null);}};Me=rs([ge(0x0,_0x5f1c87(_0x50ff70)),ge(0x1,_0x5f1c87(_0x19cf62)),ge(0x2,_0x42cc6c),ge(0x3,_0x24ac53),ge(0x4,bi),ge(0x5,_0x5f1c87(_0x307ade)),ge(0x6,_0x5f1c87(pe))],Me);const V=[];for(let n=0x0;n<0x100;++n)V[_0x4b970c(0x16c)]((n+0x100)[_0x4b970c(0x1b2)](0x10)[_0x4b970c(0x431)](0x1));function os(_0x1880c6,_0x55c74a=0x0){var _0x472b80=_0x4b970c;return(V[_0x1880c6[_0x55c74a+0x0]]+V[_0x1880c6[_0x55c74a+0x1]]+V[_0x1880c6[_0x55c74a+0x2]]+V[_0x1880c6[_0x55c74a+0x3]]+'-'+V[_0x1880c6[_0x55c74a+0x4]]+V[_0x1880c6[_0x55c74a+0x5]]+'-'+V[_0x1880c6[_0x55c74a+0x6]]+V[_0x1880c6[_0x55c74a+0x7]]+'-'+V[_0x1880c6[_0x55c74a+0x8]]+V[_0x1880c6[_0x55c74a+0x9]]+'-'+V[_0x1880c6[_0x55c74a+0xa]]+V[_0x1880c6[_0x55c74a+0xb]]+V[_0x1880c6[_0x55c74a+0xc]]+V[_0x1880c6[_0x55c74a+0xd]]+V[_0x1880c6[_0x55c74a+0xe]]+V[_0x1880c6[_0x55c74a+0xf]])[_0x472b80(0x3e2)]();}let ut;const as=new Uint8Array(0x10);function cs(){var _0x1323cb=_0x4b970c;if(!ut){if(typeof crypto>'u'||!crypto[_0x1323cb(0x2e4)])throw new Error(_0x1323cb(0x177));ut=crypto[_0x1323cb(0x2e4)]['bind'](crypto);}return ut(as);}const hs=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x4b970c(0x34c)][_0x4b970c(0x42e)](crypto),qt={'randomUUID':hs};function _s(_0x320cf3,_0x55f3d0,_0x4287e1){var _0x501e76=_0x4b970c;if(qt['randomUUID']&&!_0x55f3d0&&!_0x320cf3)return qt[_0x501e76(0x34c)]();_0x320cf3=_0x320cf3||{};const _0x4ca3b8=_0x320cf3[_0x501e76(0x1c5)]||(_0x320cf3[_0x501e76(0x2a8)]||cs)();return _0x4ca3b8[0x6]=_0x4ca3b8[0x6]&0xf|0x40,_0x4ca3b8[0x8]=_0x4ca3b8[0x8]&0x3f|0x80,os(_0x4ca3b8);}const X=_0x43a856(_0x4b970c(0x2e3));function ao(_0x4c2f71){var _0x2d0c78=_0x4b970c;return _0x2d0c78(0x2ae)+_0x4c2f71;}var ls=Object[_0x4b970c(0x27e)],us=Object[_0x4b970c(0x29d)],ds=(_0x313c03,_0x566f9e,_0x49609e,_0x1f0af7)=>{var _0x2df54d=_0x4b970c;for(var _0x475ed3=_0x1f0af7>0x1?void 0x0:_0x1f0af7?us(_0x566f9e,_0x49609e):_0x566f9e,_0x21c628=_0x313c03[_0x2df54d(0x2f8)]-0x1,_0x3a497e;_0x21c628>=0x0;_0x21c628--)(_0x3a497e=_0x313c03[_0x21c628])&&(_0x475ed3=(_0x1f0af7?_0x3a497e(_0x566f9e,_0x49609e,_0x475ed3):_0x3a497e(_0x475ed3))||_0x475ed3);return _0x1f0af7&&_0x475ed3&&ls(_0x566f9e,_0x49609e,_0x475ed3),_0x475ed3;},dt=(_0xc28dff,_0x5efa35)=>(_0xfe4127,_0x32d7ff)=>_0x5efa35(_0xfe4127,_0x32d7ff,_0xc28dff);function fs(_0xb0ac5b){var _0x372e60=_0x4b970c;const {unitID:_0x3d147a,mutations:_0x5bce34}=_0xb0ac5b;return{'unitId':_0x3d147a,'subUnitId':_0x5bce34[0x0][_0x372e60(0x19a)][_0x372e60(0x363)]};}let nt=class{constructor(_0x35eb57,_0x2f085b,_0x4cae71){var _0x2f58f8=_0x4b970c;this[_0x2f58f8(0x16b)]=_0x35eb57,this[_0x2f58f8(0x352)]=_0x2f085b,this[_0x2f58f8(0x291)]=_0x4cae71;}['transformSelections'](_0x4614c9){var _0x2ca1a7=_0x4b970c,_0x2e55d8,_0x46af89,_0x42088e,_0xfb0db2;const _0x1112f1=this[_0x2ca1a7(0x16b)][_0x2ca1a7(0x1b7)](_0x4df40a),{unitId:_0x347cc8,subUnitId:_0x25c8ee}=fs(_0x4614c9),_0x5313f4=_0x1112f1==null?void 0x0:_0x1112f1[_0x2ca1a7(0x1ef)](_0x347cc8)['getCurrentSelections'](),_0x5affd7=(_0x46af89=(_0x2e55d8=this['_instanceService'][_0x2ca1a7(0x451)](_0x347cc8))==null?void 0x0:_0x2e55d8[_0x2ca1a7(0x2bb)]())==null?void 0x0:_0x46af89[_0x2ca1a7(0x340)]();if(_0x5313f4['length']===0x0||!_0x347cc8||!_0x25c8ee)return;const _0x2a3072=[{'id':_0x458e87['id'],'params':{'unitId':_0x347cc8,'subUnitId':_0x5affd7,'selections':_0x27d831[_0x2ca1a7(0x42b)](_0x5313f4)}}],_0x6a68b5=this[_0x2ca1a7(0x352)][_0x2ca1a7(0x34e)](_0x4614c9,_0x2a3072);if(!_0x54500f(_0x6a68b5))throw _0x6a68b5[_0x2ca1a7(0x31a)];const _0x344179=(_0xfb0db2=(_0x42088e=_0x6a68b5[_0x2ca1a7(0x1e1)][0x0])==null?void 0x0:_0x42088e[_0x2ca1a7(0x19a)])==null?void 0x0:_0xfb0db2[_0x2ca1a7(0x3dd)];if(Array['isArray'](_0x344179)&&_0x344179['length']){if(_0x344179[_0x2ca1a7(0x2f8)]===_0x2a3072[0x0][_0x2ca1a7(0x19a)]['selections']['length']&&_0x344179[_0x2ca1a7(0x36f)]((_0x402aab,_0x32070f)=>_0x42e2fa['equals'](_0x402aab[_0x2ca1a7(0x3b6)],_0x2a3072[0x0][_0x2ca1a7(0x19a)][_0x2ca1a7(0x3dd)][_0x32070f][_0x2ca1a7(0x3b6)])))return;this[_0x2ca1a7(0x16b)][_0x2ca1a7(0x1b7)](_0x161ee5)[_0x2ca1a7(0x1f0)](_0x458e87['id'],{'unitId':_0x347cc8,'subUnitId':_0x5affd7,'selections':_0x344179});}}};nt=ds([dt(0x0,_0x5f1c87(_0x50ff70)),dt(0x1,_0x4a1e5a),dt(0x2,_0x5d568a)],nt);const ht=_0x43a856(_0x4b970c(0x2a4));var yi=(_0x1101b0=>(_0x1101b0[_0x1101b0[_0x4b970c(0x1a8)]=0x0]=_0x4b970c(0x1a8),_0x1101b0[_0x1101b0[_0x4b970c(0x468)]=0x1]=_0x4b970c(0x468),_0x1101b0))(yi||{});const vs=new Set([_0x4f2212['id']]);function Jt(_0x3f96af,_0x4b8933,_0x3077d2,_0x1988a6,_0x5853af){var _0x134e04=_0x4b970c,_0x2524fa,_0x3e71b9,_0x55ece8,_0x35a1b9;const _0x349e03=[];for(const _0x1cd051 of _0x3f96af)if(vs[_0x134e04(0x36d)](_0x1cd051['id'])){if(_0x349e03[_0x134e04(0x2f8)]>0x0)break;_0x349e03[_0x134e04(0x16c)](_0x1cd051);break;}else _0x349e03[_0x134e04(0x16c)](_0x1cd051);const _0xe5d9e2=(_0x3e71b9=(_0x2524fa=_0x5853af[_0x134e04(0x212)]())==null?void 0x0:_0x2524fa['userID'])!=null?_0x3e71b9:_0x134e04(0x448),_0x278bd7=(_0x35a1b9=(_0x55ece8=_0x5853af[_0x134e04(0x212)]())==null?void 0x0:_0x55ece8[_0x134e04(0x385)])!=null?_0x35a1b9:_0x134e04(0x448);return{'changeset':{'unitID':_0x4b8933,'type':_0x181216(_0x3077d2[_0x134e04(0x396)](_0x4b8933)),'baseRev':_0x1988a6[_0x134e04(0x1b6)](_0x4b8933),'revision':0x0,'userID':_0xe5d9e2,'memberID':_0x278bd7,'mutations':_0x349e03},'pendingMutations':_0x3f96af[_0x134e04(0x431)](_0x349e03['length'])};}function ps(_0x15e32b,_0x463187,_0x2e5ccd,_0x17faec,_0x5da6cc){var _0xad0791=_0x4b970c,_0x4999b0,_0x36104c,_0x2c0d00,_0x356ef1;const _0x338171=[_0x15e32b[_0xad0791(0x38f)]((_0x323957,_0x1c1e89)=>{var _0x2e5ef6=_0xad0791,_0x35cefe;const {id:_0x1402d9}=_0x323957,{id:_0x3e6a24,type:_0x3e445d}=_0x1c1e89,_0x5a69df=(_0x35cefe=_0x323957[_0x2e5ef6(0x19a)])!=null?_0x35cefe:{'actions':null},_0x1823c0=_0x1c1e89[_0x2e5ef6(0x19a)];if(_0x1402d9&&_0x1402d9!==_0x3e6a24)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x1402d9+'\x20-\x20'+_0x3e6a24+'.');return{..._0x323957,'id':_0x3e6a24,'type':_0x3e445d,'params':{'unitId':_0x1823c0[_0x2e5ef6(0x2c3)],'textRanges':_0x1823c0[_0x2e5ef6(0x1d4)],'actions':_0x87c7be[_0x2e5ef6(0x33e)](_0x5a69df[_0x2e5ef6(0x1ed)],_0x1823c0[_0x2e5ef6(0x1ed)])}};},{})],_0x3be34c=(_0x36104c=(_0x4999b0=_0x5da6cc[_0xad0791(0x212)]())==null?void 0x0:_0x4999b0[_0xad0791(0x433)])!=null?_0x36104c:'unknown',_0x43f66b=(_0x356ef1=(_0x2c0d00=_0x5da6cc[_0xad0791(0x212)]())==null?void 0x0:_0x2c0d00[_0xad0791(0x385)])!=null?_0x356ef1:_0xad0791(0x448);return{'changeset':{'unitID':_0x463187,'type':_0x181216(_0x2e5ccd[_0xad0791(0x396)](_0x463187)),'baseRev':_0x17faec[_0xad0791(0x1b6)](_0x463187),'revision':0x0,'userID':_0x3be34c,'memberID':_0x43f66b,'mutations':_0x338171},'pendingMutations':[]};}function Oi(_0xe9fbb9,_0x5c5b54){var _0x278149=_0x4b970c;const _0x5b3e7c=new _0x598506(0x1);return setTimeout(()=>_0x5b3e7c[_0x278149(0x18b)](_0x5c5b54),_0xe9fbb9),_0x5b3e7c[_0x278149(0x33a)]()[_0x278149(0x456)](_0x4c14d8(0x1));}const ms={'id':_0x10201a['id'],'type':_0x472eb3[_0x4b970c(0x1fe)],'params':{}};var gs=Object['defineProperty'],Ss=Object['getOwnPropertyDescriptor'],be=(_0xf67e5d,_0x56bc99,_0xbfb752,_0x2fdab5)=>{var _0x17a4f7=_0x4b970c;for(var _0x107a51=_0x2fdab5>0x1?void 0x0:_0x2fdab5?Ss(_0x56bc99,_0xbfb752):_0x56bc99,_0x4d9bc9=_0xf67e5d[_0x17a4f7(0x2f8)]-0x1,_0x32d724;_0x4d9bc9>=0x0;_0x4d9bc9--)(_0x32d724=_0xf67e5d[_0x4d9bc9])&&(_0x107a51=(_0x2fdab5?_0x32d724(_0x56bc99,_0xbfb752,_0x107a51):_0x32d724(_0x107a51))||_0x107a51);return _0x2fdab5&&_0x107a51&&gs(_0x56bc99,_0xbfb752,_0x107a51),_0x107a51;},A=(_0x4cd8c2,_0x5c12f7)=>(_0x561c21,_0x1d328e)=>_0x5c12f7(_0x561c21,_0x1d328e,_0x4cd8c2),Pi=(_0xa45e8c=>(_0xa45e8c[_0x4b970c(0x295)]=_0x4b970c(0x353),_0xa45e8c[_0x4b970c(0x1d0)]=_0x4b970c(0x2e5),_0xa45e8c[_0x4b970c(0x317)]=_0x4b970c(0x2d1),_0xa45e8c[_0x4b970c(0x459)]='awaiting',_0xa45e8c[_0x4b970c(0x41e)]=_0x4b970c(0x439),_0xa45e8c[_0x4b970c(0x1e2)]=_0x4b970c(0x345),_0xa45e8c[_0x4b970c(0x37c)]=_0x4b970c(0x2e6),_0xa45e8c[_0x4b970c(0x3ba)]=_0x4b970c(0x1c9),_0xa45e8c))(Pi||{});const Di=0xea60;class Re{constructor(_0x7b6d49,_0x1b2827,_0x2f4a5c,_0x2d9c21,_0x32d2df,_0x371ca5,_0x57ea36,_0x5548e9,_0x188f79){var _0x1468ab=_0x4b970c;N(this,'_awaitingChangeset',null),N(this,_0x1468ab(0x3cb),[]),(this['unitID']=_0x7b6d49,this['type']=_0x1b2827,this[_0x1468ab(0x1a9)]=_0x32d2df,this[_0x1468ab(0x3a8)]=_0x371ca5,this['_undoRedoService']=_0x57ea36,this[_0x1468ab(0x3db)]=_0x5548e9,this['_localCacheService']=_0x188f79,this[_0x1468ab(0x3f3)]=_0x2f4a5c,this[_0x1468ab(0x3cb)]=_0x2d9c21);}[_0x4b970c(0x3f8)](_0x19c390){var _0x3974ce=_0x4b970c;const _0x275f05=this[_0x3974ce(0x3db)][_0x3974ce(0x1b6)](this['unitID']);return _0x19c390[_0x3974ce(0x39a)]>_0x275f05+0x1?(this[_0x3974ce(0x1a9)]['onMissingChangesets']({'from':_0x275f05,'to':_0x19c390[_0x3974ce(0x39a)]-0x1}),!0x0):!0x1;}[_0x4b970c(0x1cb)](_0x16879b){var _0x568d5a=_0x4b970c;this['_undoRedoService'][_0x568d5a(0x268)](this[_0x568d5a(0x3a1)],_0x16879b);}['_transformSelections'](_0x1c79b6){var _0x40310c=_0x4b970c,_0x283d3a,_0x1fd991;(_0x1fd991=(_0x283d3a=this[_0x40310c(0x1a9)])[_0x40310c(0x2d7)])==null||_0x1fd991[_0x40310c(0x3cd)](_0x283d3a,_0x1c79b6);}[_0x4b970c(0x2fc)](_0x3c2519){var _0x9a3c9a=_0x4b970c,_0x560751,_0x4db14c;return(_0x4db14c=(_0x560751=this[_0x9a3c9a(0x1a9)])['onTransformIME'])==null?void 0x0:_0x4db14c[_0x9a3c9a(0x3cd)](_0x560751,_0x3c2519);}[_0x4b970c(0x469)](_0x32d050){var _0x293ed3=_0x4b970c,_0x50cdfd,_0x500c33;return(_0x500c33=(_0x50cdfd=this[_0x293ed3(0x1a9)])[_0x293ed3(0x390)])==null?void 0x0:_0x500c33[_0x293ed3(0x3cd)](_0x50cdfd,_0x32d050);}[_0x4b970c(0x2b5)](_0x56aaf4){var _0x3784fb=_0x4b970c,_0x5d3b89,_0x24228b,_0x4ad02d;return(_0x4ad02d=(_0x24228b=(_0x5d3b89=this[_0x3784fb(0x1a9)])[_0x3784fb(0x375)])==null?void 0x0:_0x24228b[_0x3784fb(0x3cd)](_0x5d3b89,_0x56aaf4))!=null?_0x4ad02d:_0x56aaf4;}[_0x4b970c(0x3bd)](_0x56aef5){var _0x468883=_0x4b970c,_0x502d46,_0xf35d25,_0x43ae45;return(_0x43ae45=(_0xf35d25=(_0x502d46=this[_0x468883(0x1a9)])[_0x468883(0x2b0)])==null?void 0x0:_0xf35d25[_0x468883(0x3cd)](_0x502d46,_0x56aef5))!=null?_0x43ae45:_0x56aef5;}[_0x4b970c(0x1f5)](_0xb2ceb3){var _0x353207=_0x4b970c,_0xf2c1fa,_0x1adac2;if(this['type']===Q[_0x353207(0x262)]){const {unitID:_0x5a177e,mutations:_0x376bc7,memberID:_0x4c4fe5}=_0xb2ceb3,_0x5893bc=_0x376bc7[0x0][_0x353207(0x19a)][_0x353207(0x1d4)];Array[_0x353207(0x312)](_0x5893bc)&&_0x5893bc['length']>0x0&&((_0x1adac2=(_0xf2c1fa=this[_0x353207(0x1a9)])[_0x353207(0x2ad)])==null||_0x1adac2[_0x353207(0x3cd)](_0xf2c1fa,{'unitID':_0x5a177e,'memberID':_0x4c4fe5,'textRanges':_0x5893bc}));}}[_0x4b970c(0x449)](){var _0x432914=_0x4b970c,_0xe2ebe3;(_0xe2ebe3=this[_0x432914(0x1f2)])==null||_0xe2ebe3[_0x432914(0x2a3)](this['unitID'],this[_0x432914(0x1f3)],this[_0x432914(0x3f3)],this[_0x432914(0x3cb)]);}[_0x4b970c(0x225)](){var _0x526792=_0x4b970c;return this['_revisionService'][_0x526792(0x1b6)](this[_0x526792(0x3a1)]);}[_0x4b970c(0x358)](){var _0x24cd6c=_0x4b970c;this['_revisionService'][_0x24cd6c(0x29a)](this['unitID']);}[_0x4b970c(0x308)](_0x346aca){var _0x4f2bdb=_0x4b970c,_0x2c2d49;let _0x40d4b8=this[_0x4f2bdb(0x2b5)](_0x346aca);_0x40d4b8=this[_0x4f2bdb(0x3bd)](_0x40d4b8);const _0x293e0f=_0x434897(_0x40d4b8[_0x4f2bdb(0x1b1)],this['_commandService'],{'fromCollab':!0x0});if(!_0x293e0f[_0x4f2bdb(0x378)])throw _0x293e0f[_0x4f2bdb(0x31a)]instanceof Error?_0x293e0f[_0x4f2bdb(0x31a)]:new Error((_0x2c2d49=_0x293e0f[_0x4f2bdb(0x31a)])!=null?_0x2c2d49:_0x4f2bdb(0x280));this[_0x4f2bdb(0x2fc)](_0x40d4b8),this[_0x4f2bdb(0x469)](_0x40d4b8),this[_0x4f2bdb(0x1cb)](_0x346aca),this[_0x4f2bdb(0x2a7)](_0x40d4b8),this['_syncEditingCollabCursor'](_0x40d4b8),this[_0x4f2bdb(0x358)]();}}let Pe=class extends Re{constructor(_0x4d120f,_0xa84e1f,_0x3137b7,_0x254967,_0x36c357,_0x4a8ae5,_0x3fcb4c,_0x47b569,_0x5bf04f,_0x49c0a9){var _0x352a37=_0x4b970c;super(_0x4d120f,_0xa84e1f,null,[],_0x3137b7,_0x3fcb4c,_0x4a8ae5,_0x254967,_0x49c0a9),N(this,_0x352a37(0x2d0),_0x352a37(0x2e5)),(this[_0x352a37(0x16b)]=_0x36c357,this[_0x352a37(0x34d)]=_0x47b569,this[_0x352a37(0x352)]=_0x5bf04f,this[_0x352a37(0x241)]=_0x49c0a9);}[_0x4b970c(0x188)](_0x590969){var _0x54ad94=_0x4b970c;const _0xfa708e=this['_injector'][_0x54ad94(0x300)](re,this[_0x54ad94(0x3a1)],this[_0x54ad94(0x1f3)],[_0x590969],this[_0x54ad94(0x1a9)]);return _0xfa708e['_schedule'](),_0xfa708e[_0x54ad94(0x449)](),_0xfa708e;}[_0x4b970c(0x1df)](_0x361114){var _0x3e4c74=_0x4b970c;if(this['_checkMissing'](_0x361114))return this[_0x3e4c74(0x16b)]['createInstance'](te,this[_0x3e4c74(0x3a1)],this['type'],null,[],null,[_0x361114],this[_0x3e4c74(0x1a9)]);try{const _0x2b21e2=this[_0x3e4c74(0x352)][_0x3e4c74(0x34e)](_0x361114,[ms]);if(_0x54500f(_0x2b21e2)){const {c1Prime:_0x727c6d}=_0x2b21e2;return this[_0x3e4c74(0x308)](_0x727c6d),this;}throw _0x2b21e2[_0x3e4c74(0x31a)];}catch(_0x47050c){return this[_0x3e4c74(0x34d)]['error'](_0x47050c),this[_0x3e4c74(0x3d2)](!0x1);}}[_0x4b970c(0x3d2)](_0x1c81f9){var _0x1d7bed=_0x4b970c;return this[_0x1d7bed(0x16b)][_0x1d7bed(0x300)](de,this['unitID'],this[_0x1d7bed(0x1f3)],null,[],this[_0x1d7bed(0x1a9)],_0x1c81f9);}['onRemoteAck'](){var _0x1588e7=_0x4b970c;throw new Error(_0x1588e7(0x405));}[_0x4b970c(0x249)](){var _0x17c433=_0x4b970c;throw new Error(_0x17c433(0x1fd));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x195e5e=_0x4b970c;return this['_injector'][_0x195e5e(0x300)](fe,this[_0x195e5e(0x3a1)],this[_0x195e5e(0x1f3)],null,[],this[_0x195e5e(0x1a9)]);}['toggleOnline'](){return this;}[_0x4b970c(0x3b0)](){var _0x282265=_0x4b970c;throw new Error(_0x282265(0x3c7));}[_0x4b970c(0x18a)](){var _0x7c8de=_0x4b970c;const _0xc90caa=this['_revisionService'][_0x7c8de(0x1b6)](this[_0x7c8de(0x3a1)]);return this[_0x7c8de(0x1a9)][_0x7c8de(0x2a5)]({'from':_0xc90caa,'to':0x0}),this[_0x7c8de(0x16b)]['createInstance'](te,this[_0x7c8de(0x3a1)],this['type'],null,[],null,[],this['_handler']);}};Pe=be([A(0x3,_0x5f1c87(_0xe1c1c2)),A(0x4,_0x5f1c87(_0x50ff70)),A(0x5,_0x5ec572),A(0x6,_0x161ee5),A(0x7,_0x42cc6c),A(0x8,_0x4a1e5a),A(0x9,_0x4dd650(X))],Pe);let re=class extends Re{constructor(_0x503c00,_0x3e8970,_0x3164be,_0xd49a6e,_0x2ac924,_0x3447fd,_0x5c8aec,_0x564d64,_0x39d85f,_0xb57090,_0x198b9d,_0x1fe790,_0x1c6311,_0x7d03f8){var _0x410140=_0x4b970c;super(_0x503c00,_0x3e8970,null,_0x3164be,_0xd49a6e,_0x39d85f,_0x1c6311,_0x3447fd,_0x7d03f8),N(this,_0x410140(0x2d0),'pending'),N(this,_0x410140(0x39d),null),N(this,_0x410140(0x419),null),(this[_0x410140(0x16b)]=_0x2ac924,this[_0x410140(0x45a)]=_0x5c8aec,this['_logService']=_0x564d64,this['_configService']=_0xb57090,this['_transformService']=_0x198b9d,this['_univerInstanceService']=_0x1fe790);}[_0x4b970c(0x188)](_0x23f6eb){var _0xfd795c=_0x4b970c;return this[_0xfd795c(0x3cb)][_0xfd795c(0x16c)](_0x23f6eb),this['_updateLocalCache'](),this;}[_0x4b970c(0x1df)](_0x4fafe4){var _0x387cda=_0x4b970c;if(this[_0x387cda(0x3f8)](_0x4fafe4))return this[_0x387cda(0x297)](),this[_0x387cda(0x16b)][_0x387cda(0x300)](te,this[_0x387cda(0x3a1)],this['type'],null,this[_0x387cda(0x3cb)],null,[_0x4fafe4],this[_0x387cda(0x1a9)]);try{const _0xb472be=this[_0x387cda(0x352)]['transformMutationsWithChangeset'](_0x4fafe4,this[_0x387cda(0x3cb)]);if(_0x54500f(_0xb472be)){const {c1Prime:_0x1c2e78,m2Prime:_0x31afed}=_0xb472be;this[_0x387cda(0x308)](_0x1c2e78);const _0x31ef15=this['_injector']['createInstance'](re,this[_0x387cda(0x3a1)],this['type'],_0x31afed,this['_handler']);return this[_0x387cda(0x297)](),_0x31ef15[_0x387cda(0x356)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()['getTime']()-this[_0x387cda(0x39d)]):this['_getSendChangesetTimeout']()),_0x31ef15;}throw _0xb472be[_0x387cda(0x31a)];}catch(_0x171abd){return this[_0x387cda(0x34d)][_0x387cda(0x31a)](_0x171abd),this[_0x387cda(0x3d2)](!0x1);}}[_0x4b970c(0x406)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x9df4e5=_0x4b970c;throw new Error(_0x9df4e5(0x24e));}['onRemoteRetry'](){return this;}[_0x4b970c(0x401)](){var _0x905486=_0x4b970c;return this[_0x905486(0x297)](),this[_0x905486(0x16b)]['createInstance'](fe,this[_0x905486(0x3a1)],this[_0x905486(0x1f3)],null,this[_0x905486(0x3cb)],this['_handler']);}[_0x4b970c(0x2fb)](){return this;}['_schedule'](_0x42907a){var _0x276d93=_0x4b970c;const _0x770a4e=_0x42907a!=null?_0x42907a:this[_0x276d93(0x2c7)]();this[_0x276d93(0x39d)]=new Date()[_0x276d93(0x185)](),this['_sendingTimer']=window['setTimeout'](()=>{var _0x4d549f=_0x276d93;this['_clearScheduledTask']();let _0x11e2b7=null;switch(this[_0x4d549f(0x1f3)]){case Q[_0x4d549f(0x328)]:{_0x11e2b7=Jt(this[_0x4d549f(0x3cb)],this['unitID'],this[_0x4d549f(0x365)],this['_revisionService'],this[_0x4d549f(0x45a)]);break;}case Q[_0x4d549f(0x262)]:{this[_0x4d549f(0x3cb)][_0x4d549f(0x36f)](_0x21d2c1=>_0x21d2c1['id']===_0x102610['id'])?_0x11e2b7=ps(this[_0x4d549f(0x3cb)],this[_0x4d549f(0x3a1)],this[_0x4d549f(0x365)],this[_0x4d549f(0x3db)],this[_0x4d549f(0x45a)]):_0x11e2b7=Jt(this['_pendingMutations'],this['unitID'],this[_0x4d549f(0x365)],this[_0x4d549f(0x3db)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x4d549f(0x1f3)]+_0x4d549f(0x1a3));}const {changeset:_0x3d4110,pendingMutations:_0x6d640a}=_0x11e2b7;this['_handler'][_0x4d549f(0x20c)](_0x3d4110);const _0x1b5459=_0x6d640a['length']?this[_0x4d549f(0x16b)][_0x4d549f(0x300)](oe,this[_0x4d549f(0x3a1)],this[_0x4d549f(0x1f3)],_0x3d4110,_0x6d640a,this['_handler'],void 0x0):this['_injector'][_0x4d549f(0x300)](ue,this[_0x4d549f(0x3a1)],this[_0x4d549f(0x1f3)],_0x3d4110,this['_handler']);_0x1b5459[_0x4d549f(0x449)](),this['_handler'][_0x4d549f(0x424)](this,_0x1b5459);},_0x770a4e);}[_0x4b970c(0x2c7)](){var _0x1d7a2b=_0x4b970c,_0xd051dd;const _0x220dca=this['_configService'][_0x1d7a2b(0x2d6)](Y);return(_0xd051dd=_0x220dca==null?void 0x0:_0x220dca[_0x1d7a2b(0x232)])!=null?_0xd051dd:Pn;}[_0x4b970c(0x3b0)](){var _0x4a2ea0=_0x4b970c;throw new Error(_0x4a2ea0(0x1c8));}[_0x4b970c(0x297)](){var _0x14f912=_0x4b970c;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x14f912(0x419)]=null);}[_0x4b970c(0x3d2)](_0x31b1f3){var _0x57f2e3=_0x4b970c;return this[_0x57f2e3(0x297)](),this['_injector'][_0x57f2e3(0x300)](de,this['unitID'],this[_0x57f2e3(0x1f3)],null,this[_0x57f2e3(0x3cb)],this[_0x57f2e3(0x1a9)],_0x31b1f3);}};re=be([A(0x4,_0x5f1c87(_0x50ff70)),A(0x5,_0x5f1c87(_0xe1c1c2)),A(0x6,_0x5f1c87(Le)),A(0x7,_0x42cc6c),A(0x8,_0x161ee5),A(0x9,_0x24ac53),A(0xa,_0x4a1e5a),A(0xb,_0x5d568a),A(0xc,_0x5ec572),A(0xd,_0x4dd650(X))],re);let ue=class extends Re{constructor(_0x13b300,_0x3641ea,_0x283114,_0x5b5cb1,_0x178d28,_0xfc49ab,_0x5aaf82,_0x356cd2,_0x44ca9b,_0x1459c5,_0x59e275){var _0x225a1a=_0x4b970c;super(_0x13b300,_0x3641ea,_0x283114,[],_0x5b5cb1,_0x5aaf82,_0x1459c5,_0xfc49ab,_0x59e275),N(this,_0x225a1a(0x2d0),'awaiting'),N(this,_0x225a1a(0x3b2),0x0),N(this,'_resendTimer'),N(this,_0x225a1a(0x1be)),(this[_0x225a1a(0x16b)]=_0x178d28,this[_0x225a1a(0x34d)]=_0x356cd2,this[_0x225a1a(0x352)]=_0x44ca9b);}[_0x4b970c(0x188)](_0x5209ed){var _0x4476fb=_0x4b970c;this[_0x4476fb(0x297)]();const _0x17dd92=this['_injector'][_0x4476fb(0x300)](oe,this[_0x4476fb(0x3a1)],this[_0x4476fb(0x1f3)],this['_awaitingChangeset'],[_0x5209ed],this['_handler'],this[_0x4476fb(0x2de)]);return _0x17dd92[_0x4476fb(0x449)](),_0x17dd92;}[_0x4b970c(0x1df)](_0x2920fb){var _0x1c0909=_0x4b970c;if(this[_0x1c0909(0x3f8)](_0x2920fb))return this[_0x1c0909(0x297)](),this[_0x1c0909(0x16b)][_0x1c0909(0x300)](te,this[_0x1c0909(0x3a1)],this[_0x1c0909(0x1f3)],this[_0x1c0909(0x3f3)],[],null,[_0x2920fb],this[_0x1c0909(0x1a9)]);try{const _0x25c8c5=this[_0x1c0909(0x352)][_0x1c0909(0x1a4)]([_0x2920fb],[this[_0x1c0909(0x3f3)]],!0x1);if(_0x3ddc6f(_0x25c8c5)){const {c1Prime:_0x59da6b,c2Prime:_0x5ef092}=_0x25c8c5;this['_executeRemoteChangeset'](_0x59da6b[0x0]),_0x5ef092[0x0][_0x1c0909(0x3a6)]=this['_getCurrentRevision'](),this[_0x1c0909(0x297)]();const _0xd9f93=this[_0x1c0909(0x16b)][_0x1c0909(0x300)](ue,this[_0x1c0909(0x3a1)],this['type'],_0x5ef092[0x0],this[_0x1c0909(0x1a9)]);return _0xd9f93[_0x1c0909(0x449)](),_0xd9f93;}return this[_0x1c0909(0x3d2)](!0x1);}catch(_0x13e33d){return this[_0x1c0909(0x34d)]['error'](_0x13e33d),this[_0x1c0909(0x3d2)](!0x1);}}['onRemoteAck'](_0x58d55f){var _0x1180ae=_0x4b970c;this['_clearScheduledTask']();const _0x17cf53=this['_revisionService'][_0x1180ae(0x1b6)](this[_0x1180ae(0x3a1)]);if(_0x58d55f[_0x1180ae(0x39a)]<_0x17cf53-0x1)return this;if(this['_checkMissing'](_0x58d55f))return this[_0x1180ae(0x16b)]['createInstance'](te,this['unitID'],this[_0x1180ae(0x1f3)],null,[],this[_0x1180ae(0x3f3)],[],this['_handler']);this[_0x1180ae(0x358)]();const _0x1358f4=this[_0x1180ae(0x16b)]['createInstance'](Pe,this[_0x1180ae(0x3a1)],this['type'],this[_0x1180ae(0x1a9)]);return _0x1358f4[_0x1180ae(0x449)](),_0x1358f4;}['onRemoteRej'](_0x17aff6){var _0x2f7a07=_0x4b970c;return this[_0x2f7a07(0x3d2)](!!(_0x17aff6!=null&&_0x17aff6[_0x2f7a07(0x1d2)]));}[_0x4b970c(0x215)](_0x406c75){var _0x1d6966=_0x4b970c;return this[_0x1d6966(0x3b2)]>Di?this[_0x1d6966(0x401)]():(this['_resendTimer']=Oi(this[_0x1d6966(0x3b2)],{'timeout':this[_0x1d6966(0x3b2)],'reqId':_0x406c75[_0x1d6966(0x178)]}),this[_0x1d6966(0x1be)]=this['_resendTimer'][_0x1d6966(0x30d)](({reqId:_0xabcb52,timeout:_0x317a2d})=>{this['_resendWithTimeout'](_0xabcb52,_0x317a2d);}),this);}[_0x4b970c(0x401)](){var _0x355f37=_0x4b970c;return this['_clearScheduledTask'](),this[_0x355f37(0x16b)][_0x355f37(0x300)](fe,this[_0x355f37(0x3a1)],this[_0x355f37(0x1f3)],this[_0x355f37(0x3f3)],[],this[_0x355f37(0x1a9)]);}[_0x4b970c(0x2fb)](){return this;}[_0x4b970c(0x3b0)](){var _0x253477=_0x4b970c;this[_0x253477(0x1a9)]['onSendChangeset'](this[_0x253477(0x3f3)]);}['_onConflict'](_0x430457){var _0x288f79=_0x4b970c;return this[_0x288f79(0x297)](),this[_0x288f79(0x16b)][_0x288f79(0x300)](de,this[_0x288f79(0x3a1)],this[_0x288f79(0x1f3)],this[_0x288f79(0x3f3)],[],this[_0x288f79(0x1a9)],_0x430457);}[_0x4b970c(0x2b8)](_0x244bf6,_0xbe6699){var _0x1dee68=_0x4b970c,_0x5acd50;_0x244bf6===((_0x5acd50=this[_0x1dee68(0x3f3)])==null?void 0x0:_0x5acd50[_0x1dee68(0x178)])&&(this[_0x1dee68(0x3b0)](),this['_resendTimeout']=_0xbe6699===0x0?0x3e8:_0xbe6699*0x2);}['_clearScheduledTask'](){var _0x333af1=_0x4b970c,_0x31db7b;(_0x31db7b=this[_0x333af1(0x1be)])==null||_0x31db7b['unsubscribe'](),this[_0x333af1(0x3b2)]=0x0;}};ue=be([A(0x4,_0x5f1c87(_0x50ff70)),A(0x5,_0x5f1c87(_0xe1c1c2)),A(0x6,_0x161ee5),A(0x7,_0x42cc6c),A(0x8,_0x4a1e5a),A(0x9,_0x5ec572),A(0xa,_0x4dd650(X))],ue);let oe=class extends Re{constructor(_0x2490f4,_0x3b02b2,_0xa57b,_0x424736,_0x185085,_0xdf886e,_0x163fce,_0x10801e,_0x4f49b7,_0x407648,_0x272725,_0x2ab930,_0x1ba661){var _0x30c59e=_0x4b970c;super(_0x2490f4,_0x3b02b2,_0xa57b,_0x424736,_0x185085,_0x4f49b7,_0x2ab930,_0x10801e,_0x1ba661),N(this,_0x30c59e(0x2d0),_0x30c59e(0x439)),N(this,_0x30c59e(0x3b2),0x0),N(this,'_resendTimer'),N(this,_0x30c59e(0x1be)),(this[_0x30c59e(0x16b)]=_0x163fce,this[_0x30c59e(0x34d)]=_0x407648,this[_0x30c59e(0x352)]=_0x272725,this[_0x30c59e(0x241)]=_0x1ba661,_0xdf886e&&(this[_0x30c59e(0x2de)]=_0xdf886e,this[_0x30c59e(0x1be)]=this[_0x30c59e(0x2de)][_0x30c59e(0x30d)](({reqId:_0xc95f3a,timeout:_0x20b140})=>{var _0x5abaa0=_0x30c59e;this[_0x5abaa0(0x2b8)](_0xc95f3a,_0x20b140);})));}['appendMutation'](_0x399007){var _0x41e92=_0x4b970c;return this[_0x41e92(0x3cb)]['push'](_0x399007),this;}['onRemoteChangeset'](_0x493d01){var _0x3db20b=_0x4b970c;if(this[_0x3db20b(0x3f8)](_0x493d01))return this['_clearScheduledTask'](),this[_0x3db20b(0x16b)][_0x3db20b(0x300)](te,this[_0x3db20b(0x3a1)],this[_0x3db20b(0x1f3)],this[_0x3db20b(0x3f3)],this[_0x3db20b(0x3cb)],null,[_0x493d01],this['_handler']);try{const _0x3d367f=this['_transformService'][_0x3db20b(0x1a4)]([_0x493d01],[this['_awaitingChangeset']],!0x1);if(_0x3ddc6f(_0x3d367f)){const {c1Prime:_0x4cd326,c2Prime:_0x17e6d0}=_0x3d367f,_0x2d32b=this[_0x3db20b(0x352)]['transformMutationsWithChangeset'](_0x4cd326[0x0],this[_0x3db20b(0x3cb)]);if(_0x54500f(_0x2d32b)){const {c1Prime:_0x168472,m2Prime:_0x5cf872}=_0x2d32b;return this[_0x3db20b(0x308)](_0x168472),_0x17e6d0[0x0][_0x3db20b(0x3a6)]=this[_0x3db20b(0x225)](),this[_0x3db20b(0x297)](),this['_injector']['createInstance'](oe,this[_0x3db20b(0x3a1)],this['type'],_0x17e6d0[0x0],_0x5cf872,this[_0x3db20b(0x1a9)],void 0x0);}throw _0x2d32b[_0x3db20b(0x31a)];}throw _0x3d367f[_0x3db20b(0x31a)];}catch(_0x41d473){return this['_logService'][_0x3db20b(0x31a)](_0x41d473),this[_0x3db20b(0x3d2)](!0x1);}}['onRemoteAck'](_0x24b3eb){var _0x3d090f=_0x4b970c;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x24b3eb))return this['_injector']['createInstance'](te,this[_0x3d090f(0x3a1)],this[_0x3d090f(0x1f3)],null,this[_0x3d090f(0x3cb)],this[_0x3d090f(0x3f3)],[],this[_0x3d090f(0x1a9)]);this['_incrementRevisionNumber']();const _0x30e1aa=this[_0x3d090f(0x16b)][_0x3d090f(0x300)](re,this[_0x3d090f(0x3a1)],this[_0x3d090f(0x1f3)],this[_0x3d090f(0x3cb)],this[_0x3d090f(0x1a9)]);return _0x30e1aa[_0x3d090f(0x356)](),_0x30e1aa[_0x3d090f(0x449)](),_0x30e1aa;}[_0x4b970c(0x249)](_0x73d4a2){var _0x17bd5c=_0x4b970c;return this[_0x17bd5c(0x3d2)](!!(_0x73d4a2!=null&&_0x73d4a2[_0x17bd5c(0x1d2)]));}['onRemoteRetry'](_0x2b55fa){var _0x924703=_0x4b970c;return this[_0x924703(0x3b2)]>Di?this[_0x924703(0x401)]():(this['_resendTimer']=Oi(this[_0x924703(0x3b2)],{'timeout':this[_0x924703(0x3b2)],'reqId':_0x2b55fa[_0x924703(0x178)]}),this['_sender']=this['_resendTimer'][_0x924703(0x30d)](({reqId:_0x1fb6a6,timeout:_0x137665})=>{this['_resendWithTimeout'](_0x1fb6a6,_0x137665);}),this);}[_0x4b970c(0x401)](){var _0x1f8aee=_0x4b970c;return this['_clearScheduledTask'](),this[_0x1f8aee(0x16b)][_0x1f8aee(0x300)](fe,this[_0x1f8aee(0x3a1)],this[_0x1f8aee(0x1f3)],this[_0x1f8aee(0x3f3)],this[_0x1f8aee(0x3cb)],this['_handler']);}['toggleOnline'](){return this;}[_0x4b970c(0x3b0)](){var _0x209e44=_0x4b970c;this[_0x209e44(0x1a9)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x4b970c(0x3d2)](_0x3336e3){var _0x1d210f=_0x4b970c;return this[_0x1d210f(0x297)](),this[_0x1d210f(0x16b)]['createInstance'](de,this[_0x1d210f(0x3a1)],this[_0x1d210f(0x1f3)],null,this['_pendingMutations'],this[_0x1d210f(0x1a9)],_0x3336e3);}[_0x4b970c(0x2b8)](_0x5979e2,_0x30c556){var _0x2c3a36=_0x4b970c,_0x3cd0ca;_0x5979e2===((_0x3cd0ca=this[_0x2c3a36(0x3f3)])==null?void 0x0:_0x3cd0ca['reqId'])&&(this[_0x2c3a36(0x3b0)](),this[_0x2c3a36(0x3b2)]=_0x30c556===0x0?0x3e8:_0x30c556*0x2);}[_0x4b970c(0x297)](){var _0x10dc72=_0x4b970c,_0x110ebc;(_0x110ebc=this[_0x10dc72(0x1be)])==null||_0x110ebc[_0x10dc72(0x374)](),this[_0x10dc72(0x3b2)]=0x0;}};function _0x52a4(){var _0x1dd727=['every','c1Prime','Base','telemetry\x20info\x20is\x20not\x20initialized','_onOffline','unsubscribe','onTransformRemoteChangesetByIMECache','YUUMI_URL_COL_OUT_OF_RANGE','editingUnit','result','EvpKDF','ruleRefresh','close$','CONFLICT','close','stringify','byteLength','SelectRange','BASE64','onload','find','_transitionLocked','memberID','PERSON','PasswordBasedCipher','enableSingleActiveInstanceLock','_onRemoteRetry','stopTime','extend','copyFileMeta','_entities','_invKeySchedule','reduce','onTransformState','_tryReconnect','_data','algo','objectType','clone','getUnitType','entries','execute','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','revision','/universer-api/comb','_iv','_scheduleTimestamp','includes','[DataLoaderService]','newCsEvent','unitID','disableLocalCache','_remoteChangesetQueue','target','_getLoginPath','baseRev','init','_commandService','list','updateCursorEvent','splice','SHOULD_CLOSE_CONN','_replayCachedMutations','_loadDoc','infoRsp','resend','startsWith','_resendTimeout','\x0aCurrent:\x20','_getSignURL','cmd','range','APPLY_NON_SEQUENTIAL_REVISION','_collaborationSessionService','Malformed\x20UTF-8\x20data','OFFLINE','647241iTQapz','_compressMutationService','_transformRemoteChangesetByStateCache','withCredentials','APPLY_PERMISSION_DENIED','joinEvent','onStarting','indexOf','_timeoutTimer','patch','_sessions','YUUMI_SUBSCRIPTION_NOT_FOUND','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_nRounds','MD5','send','_pendingMutations','_initEventListeners','call','getTypeOfUnitAdded$','requireSession','sessionStatus$','_onRemoteRejected','_onConflict','_socket$','UPDATE_PERMISSION_OBJ','LIVESHARE_NEW_HOST','_unitInfo$','_userManagerService','encryptBlock','Worksheet','ALREADY_EXISTS','_revisionService','from','selections','onCommandExecuted','_sheetTransformSelectionsService','/universer-api/snapshot/','/role','toLowerCase','_append','_onConnectionOpen','_httpService','_minBufferSize','onLocalMutation','override','_event$','_onJoinRoomEvent','headers','_initCloseConn','rev','ciphertext','_changesetSessionId','_getCtorByUniverType','COMPLETION_FINISHED','getImage','_awaitingChangeset','_unlockTransition','string','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_retryCount','_checkMissing','function','updateMember','updatePermissionPoint','prototype','max','_initUnitPermissionChange','Undefined','pluginName','toggleOffline','onTransformIME','getCollabEntity$','__creator','[SyncedState]:\x20received\x20acknowledgement.','onRemoteAck','src','_commentUpdate$','_submitChangeset','enableOfflineEditing','getRoom','_substituteRedoStack','HEARTBEAT_INTERVAL','values','2086920MJplbh','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','format','POST','saveImage','DEFAULT_FILE_NAME','_ENC_XFORM_MODE','event$','decryptBlock','SUBMIT_CHANGESET','_sendingTimer','hostname','collabSubmitChangesetUrl','/universer-api/stream/file/upload','_createSocketURL','AWAITING_WITH_PENDING','_onRemoteChangeset','snapshotServerUrl','WordArray','_doProcessBlock','initWorkbookPermissionChange','onStateChange','TOO_MANY_REQUESTS','APPLY_REVISION_CONFILICT','getUnitId','cfg','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','delete','deepClone','/object','/universer-api/authz','bind','_getUndoStack','getPermissionPoint','slice','hasOwnProperty','userID','encodeURIComponent','fetching\x20missing\x20changesets\x20from\x20','_undoStacks','entityInit$','CBC','awaiting_with_pending','emitEvent','startTime','sheets','_clearHeartbeatTimer','UNKNOWN_CODE','encrypt','PERMISSION_REJ','commentUpdateEvent','blockSize','Latin1','byteOffset','listRoles','collaboration-client.config','SerializableCipher','unknown','_updateLocalCache','change$','LIVESHARE_FETCH_OPERATIONS','submit\x20changeset\x20error!','_permissionService','words','socket\x20open.','SOCKET_FAILED','getUnit','floor','collabWebSocketUrl','_prevBlock','getUnitStatus$','pipe','CHANGESET_REVISION_CONFILICT','HELLO','AWAITING','_memberService','requestParams','reconnect','COMMENT_UPDATE','sessionTicket','People','_transformStack','20xsxLQl','_fetchMissChangesets','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','href','GLOBAL_ROOMS_CNT_EXCEEDS','_map','getAllMembers','OTHER_CLIENTS_EDITING','_transformStateCache','$super','online','_sendHeartbeat','BufferedBlockAlgorithm','concat','/allowed','authzUrl','SNAPSHOT_HAS_BEEN_REMOVED','_DEC_XFORM_MODE','collaMsg','forEach','_hasher','_disableEditing','subject','socket$','_authzIoService','onCommentUpdate','session.room-not-exists','ivSize','OpenSSL','_injector','push','33700359whHRLc','/rev/','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','INVALID_ARGUMENT','[OfflineState]:\x20received\x20acknowledgement.','_createHmacHelper','create','value','charAt','univer-pro.collaboration-client-socket-service','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','reqId','readInt32LE','_onFetchMissResult','exports','filter','RECV','unpad','/unit/','CipherParams','_queuedRemoteChangesets','_doCryptBlock','compute','roomInfos','getTime','clear','set','appendMutation','_startTelemetryCollaborationNewChangeset','fetchMiss','next','ENSURE_SNAPSHOT_EXECUTION','_lockTransition','SHA1','permissionRejEvent','image/bmp','_onLocalMutation','findIndex','UNKNOWN_CMD','status$','addHandlerCallback','charCodeAt','JOIN_ROOM_PERMISSION_DENIED','ticket','session.join-failed','params','finalize','_collabSessionService','_iKey','USERS_LEAVE','pad','/-/object/-/batch_allowed','lib','FAIL','\x20in\x20_schedule.','transformChangesets','_reverseMap','map','getInterceptPoints','NO_OTHER_CLIENTS_EDITING','_handler','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','Utf8','_status$','getCollabEntity','getValue','hidden','csAckEvent','mutations','toString','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','focused$','_onMessage','getCurrentRevOfUnit','get','CHANGESET_REJ','_key','_telemetryService','setWaitCount','_clearCollaborationTimeoutTimer','SUBMIT_CHANGESET_TIMEOUT','_sender','LEAVE','min','responseType','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','formatter','MSG_FOR_ERROR','random','_redoStacks','_onConnectionFailed','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','offline','_loadSheet','_transformUndoredo','createDecryptor','_undoRedoService','_createInitialStateImpl','_imageSourceCache','SYNCED','UPDATE_CURSOR','isPermissionRej','_doFinalize','textRanges','_handlerCallback','11910iZFBJr','pauseCollaboration','_keySchedule','_joinRoom','getUnitOnRev','7263ZClpiA','NoPadding','/object/','dispose','onRemoteChangeset','LIVESHARE_TERMINATE','m2Prime','FETCH_MISS','symbol','UNIVER_COLLABORATION_CLIENT_PLUGIN','_waitCount','catch','add','CLOSE_ROOM','addEventListener','registerHTTPInterceptor','sin','_getAPIPrefix','actions','_keyPriorReset','getWorkbookSelections','executeCommand','_sendHeartbeatTimer','_localCacheService','type','_cipher','_syncEditingCollabCursor','connection\x20error','_stopTelemetryCollaborationNewChangeset','_shouldReportTelemetry','__esModule','default','_registerDependencies','[CollaborationSessionService]','[SyncedState]:\x20received\x20rejection.','MUTATION','disposeWithMe','LICENSE_DISTRO_REJECTED','complete','Cipher','LIVESHARE_REQUEST_HOST','action','session','_doReset','c2Prime','open$','avatar','originalMeta','SNAPSHOT_URL_KEY','onSendChangeset','INGEST','decrypt','debug','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_applyRemoteChangeset','getCurrentUser','ceil','state','onRemoteRetry','state$','_oKey','_xformMode','_socketService','retryConnectingInterval','application/json','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_type','HMAC','_candidateSocket','LOCAL_CACHE_INTERVAL','_getDownloadEndpointURL','parse','json','loadOfflineData','_getCurrentRevision','batchAllowed','hasher','fetchMissingChangesets','AES','_HTTPService','title','_state','_process','CHANGESET_SHOULD_RETRY','duration','138864RZpUNP','listCollaborators','sendChangesetTimeout','OTHER_CLIENT_EDITING','[FetchMissState]','UUID','ERROR_IMAGE','socket\x20close','USERS_ENTER','ERROR_IMAGE_TYPE','/universer-api/snapshot','PERMISSION_DENIED','post','RETRY_CONNECTING_MAX_COUNT','session.room-cnt-exceeds','[UniverCollaborationClientPlugin]','UNRECOGNIZED','localCacheService','_clearTimeoutTimer','searchParams','mixIn','commentUpdate$','{fileID}','collaboration_new_changeset','changesets','onRemoteRej','readAsDataURL','mode','image/jpg','[CollaborationUndoRedoService]','[PendingState]:\x20received\x20rejection.','awaitingChangeset','_members','UNIVER_SLIDE','sigBytes','_onRemoteACK','CHANGESET_ACK','getResourcesRequest','saveSnapshot','_clearLocalCache','IDLE','save\x20fail\x20reason\x20is\x20','Hex','_tryEnsureSocket','APPLY_REJECT','/new_changes','enc','_scheduleCollaborationTimeoutTimer','28UvRLMy','padding','UNIVER_DOC','clamp','NEW_CHANGESETS','_getRedoStack','data','key','transformUndoRedo','name','location','csShouldRetryEvent','join','getImageSourceCache','PSEUDO_FETCH_MISSING_RESULT','_onUserLeave','image/jpeg','getFocusedUnit','onMissedChangesetFetched','_initMergeInterceptor','interceptor','_telemetryInfo','reverse','put','Could\x20not\x20dynamically\x20require\x20\x22','_toggleOnline','/fetchmissing?from=','roles','error$','createCollaborator','defineProperty','createEncryptor','[CollaborationState]:\x20apply\x20error!','transformStack\x20failed!','/resources','EXCHANGE_SIGN_URL_SERVER_URL_KEY','visibilityState','_createHandler','eventID','_init','loadUnit','signUrlServerUrl','_rescheduleHeartbeat','routeKey','method','wsSessionTicketUrl','crypto','BlockCipher','sid','_instanceService','_change$','kdf','_updateState','NOT_COLLAB','_removeRoom','_clearScheduledTask','HttpExport','UNIVER_PROJECT','incrementRevOfUnit','_decreaseWaiting','_replaceFileID','getOwnPropertyDescriptor','getMemberID','getMember','file','subType','[OfflineState]:\x20received\x20rejection.','updateOfflineData','univer-pro.collaboration-client.single-active-unit-service','onMissingChangesets','editing\x20status\x20changed\x20to','_transformSelections','rng','encode','keySize','LIVESHARE_OPERATION','members','onSyncEditingCollabCursor','unit-cache-','Decryptor','onTransformRemoteChangesetByStateCache','_entityInit$','[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.','repeat','replace','_transformRemoteChangesetByIMECache','HEARTBEAT_TIMEOUT','onlyLocal','_resendWithTimeout','Hasher','_acknowledgedAwaitingChangeset','getActiveSheet','LICENSE_MAX_UNITS_EXCEEDED','_singleActiveUnitService','objectID','/universer-api/oidc/authpage','LICENSE_EXPORT_SIZE_EXCEEDED','_socketReady','FileId','unitId','HmacSHA1','loadSheet','putCollaborators','_getSendChangesetTimeout','now','LICENSE_IMPORT_SIZE_EXCEEDED','_listenToOnlineEvent','HmacMD5','_toggleOffline','enableAuthServer','getTargetByPermissionId','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','status','pending','_startCollaboration','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','collaboratorID','627772cWcfwP','getConfig','onTransformSelections','setCurrentUser','url','origin','objectActions','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_retryConnectingTimer','_resendTimer','_collaborationPaused','UnitSnapshot','_roomMembers','code','collaboration-client.local-cache-service','getRandomValues','synced','conflict','iterations','_getSessionTicket','_createInitialState','CONNECTOR_DATA_TOO_LARGE','saveSheetBlock','_snapshotService','allowed','_snapshotServerService','JOIN_ROOM_FAILED','dispose$','getSheetBlock','ONLINE','joinRsp','COMPRESS_MUTATION_APPLY','_createHelper','snapshot','_updateStatus','length','1831888jaIxEM','_clearRedo','toggleOnline','_transformIMECache','body','randomBytes','closeSession','createInstance','abs','_collaborationUIEventService','_state$','salt','_nDataBytes','/universer-api/file/{fileID}/sign-url','image/gif','_executeRemoteChangeset','then','csRejEvent','_eventService','APPLY_DUPLICATED','subscribe','setTimeout','reject','fromCharCode','getTypeOfUnitDisposed$','isArray','_hash','_mode','_onRecvEvent','JOIN_ROOM_NOT_EXISTS','PENDING','uploadFileServerUrl','_socketMessageSubscription','error','_socket','_isPermissionRej','UnitEmbedded','reset','downloadEndpointUrl','_parse','_showConflictNotification','[CollaborationEntity]','?url=','SOCKET_FAILED_RETRY','ERROR_EXCEED_SIZE','_localeService','_waitForHeartbeatResponse','UNIVER_SHEET','size','UNAUTHENTICATED','update','loadDoc','YUUMI_RATE_OVER_LIMIT','6YAkarv','clearUndoRedo','_config','_changesetReqId','liveShareNewHost','_ws','SNAPSHOT_INVALID_SNAPSHOT','JOIN','apply','NOT_FOUND','Pkcs7','Encryptor','asObservable','_clearUndo','localeService','_configService','compose','COMPRESS_MUTATION_SEND','getSheetId','[CollaborationSession]','&source=','Error\x20on\x20receiving\x20event','message$','fetch_missing','ws://127.0.0.1:8000/universer-api/comb/connect','auth.needGotoLoginAlert','/collaborator','unitInfo$','getDeserializedSheetBlock','fromCollab','randomUUID','_logService','transformMutationsWithChangeset','saveChangeset','_exhaustRemoteChangesetQueue','_initDependencies','_transformService','not_collab','refreshPermission','collaborators','_schedule','removeMember','_incrementRevisionNumber','JOINING','leaveEvent','_throwTelemetryCollaborationNewChangeset','Base64','_listenToOfflineEvent','_sessionStatus$','fetchThroughInterceptors','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','session.room-full','_getAPIPrefixPath','subUnitId','_collaborationTimeoutTimer','_univerInstanceService','JOIN_ROOM_FULL','\x0aAfter:\x20','x-univer-host','/block/','_onCombEvent','_unitID','INTERNAL_ERROR','has','HEARTBEAT'];_0x52a4=function(){return _0x1dd727;};return _0x52a4();}oe=be([A(0x6,_0x5f1c87(_0x50ff70)),A(0x7,_0x5f1c87(_0xe1c1c2)),A(0x8,_0x161ee5),A(0x9,_0x42cc6c),A(0xa,_0x4a1e5a),A(0xb,_0x5ec572),A(0xc,_0x4dd650(X))],oe);let de=class extends Re{constructor(_0x2762fc,_0x48ff52,_0x463fea,_0xd8e502,_0x1c6b43,_0x4faefe=!0x1,_0x2096d9,_0x50998f,_0x34b222,_0x26d5fd,_0x35ad90,_0x554e20,_0x18beac){var _0x9160fb=_0x4b970c;super(_0x2762fc,_0x48ff52,_0x463fea,_0xd8e502,_0x1c6b43,_0x50998f,_0x34b222,_0x26d5fd,_0x18beac),N(this,_0x9160fb(0x2d0),_0x9160fb(0x2e6)),(this['_isPermissionRej']=_0x4faefe,this[_0x9160fb(0x44d)]=_0x2096d9,this[_0x9160fb(0x326)]=_0x35ad90,this[_0x9160fb(0x302)]=_0x554e20,this['localCacheService']=_0x18beac,this['_showConflictNotification'](),this['_clearLocalCache'](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x4b970c(0x1df)](){return this;}[_0x4b970c(0x406)](){return this;}[_0x4b970c(0x249)](){return this;}['onRemoteRetry'](){return this;}[_0x4b970c(0x401)](){return this;}['toggleOnline'](){return this;}[_0x4b970c(0x3b0)](){var _0x3b9123=_0x4b970c;throw new Error(_0x3b9123(0x3f6));}[_0x4b970c(0x257)](){var _0x24dd89=_0x4b970c,_0x3b8e73;(_0x3b8e73=this[_0x24dd89(0x1f2)])==null||_0x3b8e73[_0x24dd89(0x2a3)](this[_0x24dd89(0x3a1)],this[_0x24dd89(0x1f3)],null,[]);}[_0x4b970c(0x321)](){var _0x12b146=_0x4b970c;this[_0x12b146(0x31c)]?this['_collaborationUIEventService'][_0x12b146(0x43a)]({'id':se['PERMISSION_DENIED']}):this[_0x12b146(0x302)]['emitEvent']({'id':se[_0x12b146(0x37c)]});}[_0x4b970c(0x163)](){var _0x52a195=_0x4b970c;this[_0x52a195(0x44d)][_0x52a195(0x3fb)](new _0x27f271(this[_0x52a195(0x3a1)])['id'],!0x1);}};de=be([A(0x6,_0x5f1c87(_0x15059e)),A(0x7,_0x161ee5),A(0x8,_0x5ec572),A(0x9,_0x5f1c87(_0xe1c1c2)),A(0xa,_0x5f1c87(_0x19cf62)),A(0xb,_0x5f1c87(pe)),A(0xc,_0x4dd650(X))],de);let fe=class extends Re{constructor(_0x11d1df,_0x4af17f,_0x3d165a,_0xf1d78b,_0x4bd8a1,_0xa2990c,_0x49bf0d,_0x16f1b9,_0x3a8dd7,_0x42b823){var _0x4212d5=_0x4b970c;super(_0x11d1df,_0x4af17f,_0x3d165a,_0xf1d78b,_0x4bd8a1,_0x16f1b9,_0x3a8dd7,_0x49bf0d,_0x42b823),N(this,_0x4212d5(0x2d0),_0x4212d5(0x1c9)),this[_0x4212d5(0x16b)]=_0xa2990c;}[_0x4b970c(0x188)](_0x3bdd81){var _0x39bc86=_0x4b970c;return this['_pendingMutations'][_0x39bc86(0x16c)](_0x3bdd81),this[_0x39bc86(0x449)](),this;}[_0x4b970c(0x1df)](_0x232253){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x4b970c(0x406)](){var _0x1dc97a=_0x4b970c;throw new Error(_0x1dc97a(0x171));}['onRemoteRej'](){var _0x56f6f0=_0x4b970c;throw new Error(_0x56f6f0(0x2a2));}['onRemoteRetry'](){return this;}[_0x4b970c(0x401)](){return this;}[_0x4b970c(0x2fb)](){var _0x46bf96=_0x4b970c;const {_injector:_0x25c2fc,_pendingMutations:_0x4bdd58,_awaitingChangeset:_0x245ad2,unitID:_0x37b0f1,_handler:_0x39196c,type:_0x4ffa73}=this,_0x377e06=Ni(_0x25c2fc,_0x37b0f1,_0x4ffa73,_0x245ad2,_0x4bdd58,_0x39196c);return _0x377e06 instanceof re?_0x377e06[_0x46bf96(0x356)]():(_0x377e06 instanceof oe||_0x377e06 instanceof ue)&&_0x377e06[_0x46bf96(0x3b0)](),_0x377e06;}['resend'](){var _0x3851a3=_0x4b970c;throw new Error(_0x3851a3(0x210));}};fe=be([A(0x5,_0x5f1c87(_0x50ff70)),A(0x6,_0x5f1c87(_0xe1c1c2)),A(0x7,_0x161ee5),A(0x8,_0x5ec572),A(0x9,_0x4dd650(X))],fe);let te=class extends Re{constructor(_0x25bdbc,_0x44e165,_0x13db39,_0x34f06f,_0x2a7a4d,_0x2a17fc,_0x3deca4,_0x417728,_0x28716,_0x365d4c,_0x4c8fa4,_0x366b92,_0x4ea62b,_0x28c54b){var _0x36b347=_0x4b970c;super(_0x25bdbc,_0x44e165,_0x13db39,_0x34f06f,_0x3deca4,_0x4c8fa4,_0x366b92,_0x28716,_0x28c54b),N(this,_0x36b347(0x2d0),_0x36b347(0x345)),(this[_0x36b347(0x2ba)]=_0x2a7a4d,this[_0x36b347(0x181)]=_0x2a17fc,this['_injector']=_0x417728,this[_0x36b347(0x34d)]=_0x365d4c,this[_0x36b347(0x352)]=_0x4ea62b,this[_0x36b347(0x241)]=_0x28c54b);}[_0x4b970c(0x272)](_0xac78e7){var _0xc42d79=_0x4b970c;try{const _0x4d9cd8=[..._0xac78e7,...this[_0xc42d79(0x181)]],_0x28043d=[this[_0xc42d79(0x3f3)]||this[_0xc42d79(0x2ba)]][_0xc42d79(0x17c)](_0x395fa0=>!!_0x395fa0);let _0xb6b405,_0x2fcf17;if(_0x28043d[_0xc42d79(0x2f8)]){const _0x355390=this[_0xc42d79(0x352)]['transformChangesets'](_0x4d9cd8,_0x28043d,!0x1);if(!_0x3ddc6f(_0x355390))throw _0x355390[_0xc42d79(0x31a)];_0xb6b405=_0x355390[_0xc42d79(0x370)],_0x2fcf17=_0x355390[_0xc42d79(0x207)];}else _0xb6b405=_0x4d9cd8,_0x2fcf17=[];let _0x1b983d=this['_pendingMutations'];_0xb6b405['forEach'](_0x3ca7a5=>{var _0x24bd79=_0xc42d79;let _0x42da12;if(_0x1b983d[_0x24bd79(0x2f8)]){const _0x49707e=this['_transformService'][_0x24bd79(0x34e)](_0x3ca7a5,_0x1b983d);if(!_0x54500f(_0x49707e))throw _0x49707e['error'];_0x42da12=_0x49707e['c1Prime'],_0x1b983d=_0x49707e[_0x24bd79(0x1e1)];}else _0x42da12=_0x3ca7a5;this[_0x24bd79(0x308)](_0x42da12);}),this['_acknowledgedAwaitingChangeset']&&this[_0xc42d79(0x358)](),this[_0xc42d79(0x3f3)]&&_0x2fcf17[_0xc42d79(0x2f8)]&&(_0x2fcf17[0x0]['baseRev']=this['_getCurrentRevision']());let _0x2d9d67;if(this[_0xc42d79(0x3f3)]&&_0x1b983d[_0xc42d79(0x2f8)]!==0x0)_0x2d9d67=this[_0xc42d79(0x16b)][_0xc42d79(0x300)](oe,this['unitID'],this['type'],_0x2fcf17[0x0],_0x1b983d,this[_0xc42d79(0x1a9)],void 0x0);else{if(this[_0xc42d79(0x3f3)]&&_0x1b983d[_0xc42d79(0x2f8)]===0x0)_0x2fcf17[0x0][_0xc42d79(0x3a6)]=this[_0xc42d79(0x225)](),_0x2d9d67=this[_0xc42d79(0x16b)][_0xc42d79(0x300)](ue,this[_0xc42d79(0x3a1)],this[_0xc42d79(0x1f3)],_0x2fcf17[0x0],this['_handler']);else{if(_0x1b983d[_0xc42d79(0x2f8)]!==0x0){const _0x374323=this['_injector']['createInstance'](re,this[_0xc42d79(0x3a1)],this[_0xc42d79(0x1f3)],_0x1b983d,this[_0xc42d79(0x1a9)]);_0x374323['_schedule'](),_0x2d9d67=_0x374323;}else _0x2d9d67=this['_injector']['createInstance'](Pe,this['unitID'],this['type'],this[_0xc42d79(0x1a9)]);}}return _0x2d9d67[_0xc42d79(0x449)](),_0x2d9d67;}catch(_0x529d6f){return this[_0xc42d79(0x34d)][_0xc42d79(0x31a)](_0xc42d79(0x234),'failed\x20to\x20apply\x20missed\x20changesets!',_0x529d6f),this[_0xc42d79(0x16b)][_0xc42d79(0x300)](de,this['unitID'],this[_0xc42d79(0x1f3)],this[_0xc42d79(0x3f3)],this[_0xc42d79(0x3cb)],this[_0xc42d79(0x1a9)],!0x1);}}[_0x4b970c(0x3b0)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4b970c(0x188)](_0x4552fe){var _0x549b3d=_0x4b970c;return this[_0x549b3d(0x3cb)][_0x549b3d(0x16c)](_0x4552fe),this;}[_0x4b970c(0x1df)](_0x2ff9ee){var _0x997b37=_0x4b970c;return this['_queuedRemoteChangesets'][_0x997b37(0x16c)](_0x2ff9ee),this;}[_0x4b970c(0x406)](_0x1b47ef){var _0x52fd21=_0x4b970c;if(this[_0x52fd21(0x3f3)])return this[_0x52fd21(0x2ba)]=this[_0x52fd21(0x3f3)],this['_awaitingChangeset']=null,this;throw new Error(_0x52fd21(0x410));}[_0x4b970c(0x249)](_0x54ab12){var _0xa0a85a=_0x4b970c;return this[_0xa0a85a(0x3d2)](!!(_0x54ab12!=null&&_0x54ab12[_0xa0a85a(0x1d2)]));}[_0x4b970c(0x215)](){return this;}[_0x4b970c(0x401)](){var _0x47171a=_0x4b970c;return this[_0x47171a(0x16b)][_0x47171a(0x300)](fe,this[_0x47171a(0x3a1)],this[_0x47171a(0x1f3)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x47171a(0x1a9)]);}[_0x4b970c(0x2fb)](){return this;}['_onConflict'](_0x35228b){var _0x5a05ba=_0x4b970c;return this[_0x5a05ba(0x16b)][_0x5a05ba(0x300)](de,this[_0x5a05ba(0x3a1)],this[_0x5a05ba(0x1f3)],this[_0x5a05ba(0x3f3)],this[_0x5a05ba(0x3cb)],this['_handler'],_0x35228b);}};te=be([A(0x7,_0x5f1c87(_0x50ff70)),A(0x8,_0x5f1c87(_0xe1c1c2)),A(0x9,_0x42cc6c),A(0xa,_0x161ee5),A(0xb,_0x5ec572),A(0xc,_0x4a1e5a),A(0xd,_0x4dd650(X))],te);function Ni(_0x4e12e4,_0x3bb8d3,_0x5c750f,_0x483fc9,_0x4383e3,_0x59c1f6){var _0x235089=_0x4b970c;return _0x483fc9&&_0x4383e3['length']?_0x4e12e4['createInstance'](oe,_0x3bb8d3,_0x5c750f,_0x483fc9,_0x4383e3,_0x59c1f6,void 0x0):_0x483fc9?_0x4e12e4[_0x235089(0x300)](ue,_0x3bb8d3,_0x5c750f,_0x483fc9,_0x59c1f6):_0x4383e3[_0x235089(0x2f8)]?_0x4e12e4[_0x235089(0x300)](re,_0x3bb8d3,_0x5c750f,_0x4383e3,_0x59c1f6):_0x4e12e4[_0x235089(0x300)](Pe,_0x3bb8d3,_0x5c750f,_0x59c1f6);}var Es=Object[_0x4b970c(0x27e)],Is=Object[_0x4b970c(0x29d)],Mt=(_0x30b491,_0x202664,_0x180782,_0xb7054c)=>{for(var _0x1cb381=_0xb7054c>0x1?void 0x0:_0xb7054c?Is(_0x202664,_0x180782):_0x202664,_0x331fa1=_0x30b491['length']-0x1,_0x36d826;_0x331fa1>=0x0;_0x331fa1--)(_0x36d826=_0x30b491[_0x331fa1])&&(_0x1cb381=(_0xb7054c?_0x36d826(_0x202664,_0x180782,_0x1cb381):_0x36d826(_0x1cb381))||_0x1cb381);return _0xb7054c&&_0x1cb381&&Es(_0x202664,_0x180782,_0x1cb381),_0x1cb381;},k=(_0x2debfd,_0x63be06)=>(_0x59e165,_0x12a76d)=>_0x63be06(_0x59e165,_0x12a76d,_0x2debfd);let st=class extends _0x265948{constructor(_0x207525,_0x564185,_0x5481dc,_0x4fc52f,_0x58dc93,_0x446940,_0x17c3bd,_0x185dce,_0x11c903,_0x3bdda4,_0x4941e9,_0x598877,_0x2018b){var _0x5300c1=_0x4b970c;super(),N(this,_0x5300c1(0x303),new _0x182139(null)),N(this,_0x5300c1(0x216),this[_0x5300c1(0x303)][_0x5300c1(0x33a)]()),N(this,'_state'),N(this,_0x5300c1(0x2df),!0x1),N(this,'_changesetSessionId',''),N(this,_0x5300c1(0x331),0x0),N(this,_0x5300c1(0x194),this[_0x5300c1(0x216)]['pipe'](_0x5dbc18(_0x47fa3e=>_0x47fa3e?_0x47fa3e[_0x5300c1(0x2d0)]:Pi[_0x5300c1(0x3ba)]),_0x126601(0x1))),N(this,'_transitionLocked',!0x1),N(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x207525,this['session']=_0x564185,this[_0x5300c1(0x21d)]=_0x5481dc,this['_injector']=_0x4fc52f,this[_0x5300c1(0x3bc)]=_0x58dc93,this[_0x5300c1(0x326)]=_0x446940,this['_revisionService']=_0x17c3bd,this[_0x5300c1(0x30b)]=_0x185dce,this['_logService']=_0x11c903,this[_0x5300c1(0x3a8)]=_0x3bdda4,this['_permissionService']=_0x4941e9,this[_0x5300c1(0x2bd)]=_0x598877,this[_0x5300c1(0x1f2)]=_0x2018b);}get[_0x4b970c(0x214)](){var _0x37cb96=_0x4b970c;return this[_0x37cb96(0x22c)];}async['init'](){var _0x3600a9=_0x4b970c;if(this[_0x3600a9(0x214)])throw new Error(_0x3600a9(0x463));await this['_init']();}[_0x4b970c(0x1d7)](){var _0xdc36d6=_0x4b970c;return this[_0xdc36d6(0x2df)]=!0x0,_0x131d39(()=>{var _0x181cb4=_0xdc36d6;this[_0x181cb4(0x2df)]=!0x1,this[_0x181cb4(0x350)]();});}[_0x4b970c(0x3e7)](_0x5a2e9e){var _0x9e5e2=_0x4b970c;this[_0x9e5e2(0x191)](_0x5a2e9e);}[_0x4b970c(0x294)](_0x1ba700){var _0x158772=_0x4b970c;this[_0x158772(0x22c)]=_0x1ba700,this[_0x158772(0x303)][_0x158772(0x18b)](_0x1ba700);}async[_0x4b970c(0x287)](){var _0x207a57=_0x4b970c,_0x501ce0;this[_0x207a57(0x294)](await this[_0x207a57(0x2e9)]()),this[_0x207a57(0x2bd)]&&((_0x501ce0=this['_singleActiveUnitService'])==null||_0x501ce0[_0x207a57(0x377)](this['unitID']),this['disposeWithMe'](this[_0x207a57(0x2bd)][_0x207a57(0x455)](this[_0x207a57(0x3a1)])[_0x207a57(0x30d)](_0x2306cb=>{var _0x309b10=_0x207a57;this['_logService'][_0x309b10(0x20f)](_0x309b10(0x322),_0x309b10(0x2a6),_0x2306cb),_0x2306cb===yi[_0x309b10(0x468)]?(this['_eventService']['emitEvent']({'id':se[_0x309b10(0x233)]}),this[_0x309b10(0x44d)][_0x309b10(0x3fb)](new _0x27f271(this[_0x309b10(0x3a1)])['id'],!0x1),this[_0x309b10(0x44d)]['setShowComponents'](!0x1)):(this[_0x309b10(0x44d)]['updatePermissionPoint'](new _0x27f271(this[_0x309b10(0x3a1)])['id'],!0x0),this[_0x309b10(0x44d)]['setShowComponents'](!0x0));})));let _0x429f35=!0x1;return this[_0x207a57(0x1ff)](this[_0x207a57(0x205)][_0x207a57(0x3d0)]['subscribe'](_0x1243fa=>{var _0x2bf7e2=_0x207a57;_0x1243fa===Ie[_0x2bf7e2(0x2f2)]?this[_0x2bf7e2(0x279)](_0x429f35):_0x1243fa===Ie[_0x2bf7e2(0x3ba)]&&(_0x429f35=!0x0,this['_toggleOffline']());})),this[_0x207a57(0x1ff)](this[_0x207a57(0x205)][_0x207a57(0x416)][_0x207a57(0x30d)](_0x3b5724=>{var _0xfc715a=_0x207a57;try{switch(_0x3b5724[_0xfc715a(0x286)]){case _0x1a1228['NEW_CHANGESETS']:{this[_0xfc715a(0x41f)](_0x5ac411(_0x3b5724[_0xfc715a(0x266)]));break;}case _0x1a1228[_0xfc715a(0x254)]:{this['_onRemoteACK'](_0x3b5724[_0xfc715a(0x266)]);break;}case _0x1a1228[_0xfc715a(0x1b8)]:{this[_0xfc715a(0x3d1)]();break;}case _0x1a1228[_0xfc715a(0x22e)]:{this[_0xfc715a(0x389)](_0x3b5724[_0xfc715a(0x266)]);break;}case _0x1a1228[_0xfc715a(0x26e)]:{this[_0xfc715a(0x17a)](_0x3b5724[_0xfc715a(0x266)][_0xfc715a(0x248)][_0xfc715a(0x1a6)](_0x245095=>_0x5ac411(_0x245095)));break;}case _0x1a1228[_0xfc715a(0x440)]:this[_0xfc715a(0x3d1)]({'isPermissionRej':!0x0});}}catch(_0x43d616){throw console[_0xfc715a(0x31a)](_0xfc715a(0x343),_0x43d616),_0x43d616;}})),this['_state'];}[_0x4b970c(0x3f4)](){var _0x46c923=_0x4b970c;this[_0x46c923(0x384)]=!0x1;}['_lockTransition'](){var _0x3c8e2c=_0x4b970c;if(this[_0x3c8e2c(0x384)])throw new Error(_0x3c8e2c(0x2b2));this['_transitionLocked']=!0x0;}[_0x4b970c(0x191)](_0x295c73){var _0x26f2a4=_0x4b970c;this[_0x26f2a4(0x18d)](),this['_updateState'](this['_state'][_0x26f2a4(0x188)](_0x295c73)),this[_0x26f2a4(0x3f4)]();}[_0x4b970c(0x41f)](_0x34daff){var _0x24c53a=_0x4b970c;if(!(_0x34daff[_0x24c53a(0x39a)]<=this[_0x24c53a(0x3db)]['getCurrentRevOfUnit'](this[_0x24c53a(0x3a1)]))){if(this[_0x24c53a(0x2df)]){this[_0x24c53a(0x3a3)][_0x24c53a(0x16c)](_0x34daff);return;}this['_applyRemoteChangeset'](_0x34daff);}}[_0x4b970c(0x350)](){var _0x1ad287=_0x4b970c;this[_0x1ad287(0x3a3)][_0x1ad287(0x161)](_0x489a9=>this[_0x1ad287(0x211)](_0x489a9)),this['_remoteChangesetQueue']=[];}[_0x4b970c(0x211)](_0x306e17){var _0x14f2fc=_0x4b970c;const _0x57eca6=this[_0x14f2fc(0x3bc)][_0x14f2fc(0x274)][_0x14f2fc(0x35f)](this['_compressMutationService'][_0x14f2fc(0x274)][_0x14f2fc(0x1a7)]()[_0x14f2fc(0x2f4)])(_0x306e17[_0x14f2fc(0x1b1)],null)||_0x306e17[_0x14f2fc(0x1b1)],_0x518ebc={..._0x306e17,'mutations':_0x57eca6};this[_0x14f2fc(0x18d)](),this[_0x14f2fc(0x294)](this['_state'][_0x14f2fc(0x1df)](_0x518ebc)),this[_0x14f2fc(0x3f4)]();}[_0x4b970c(0x253)](_0x22f75a){var _0x1b21f9=_0x4b970c;this['_lockTransition'](),this[_0x1b21f9(0x294)](this['_state'][_0x1b21f9(0x406)](_0x22f75a)),this['_unlockTransition']();}[_0x4b970c(0x3d1)](_0x34694b){var _0x4c5963=_0x4b970c;this['_lockTransition'](),this[_0x4c5963(0x294)](this[_0x4c5963(0x22c)][_0x4c5963(0x249)](_0x34694b)),this[_0x4c5963(0x3f4)]();}['_onRemoteRetry'](_0x102873){var _0x2e45e5=_0x4b970c;this['_lockTransition'](),this[_0x2e45e5(0x294)](this[_0x2e45e5(0x22c)]['onRemoteRetry'](_0x102873)),this[_0x2e45e5(0x3f4)]();}[_0x4b970c(0x17a)](_0x1c9c14){var _0x177445=_0x4b970c;if(!(this[_0x177445(0x22c)]instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x48f9cb=_0x1c9c14[_0x177445(0x1a6)](_0x11421c=>{var _0x1418fc=_0x177445;const _0xf7c864=this[_0x1418fc(0x3bc)]['interceptor'][_0x1418fc(0x35f)](this[_0x1418fc(0x3bc)]['interceptor'][_0x1418fc(0x1a7)]()[_0x1418fc(0x2f4)])(_0x11421c['mutations'],null)||_0x11421c['mutations'];return{..._0x11421c,'mutations':_0xf7c864};});this[_0x177445(0x18d)](),this[_0x177445(0x294)](this[_0x177445(0x22c)]['onMissedChangesetFetched'](_0x48f9cb)),this[_0x177445(0x3f4)]();}[_0x4b970c(0x2cc)](){var _0x266599=_0x4b970c;this[_0x266599(0x18d)](),this['_updateState'](this[_0x266599(0x22c)]['toggleOffline']()),this['_unlockTransition']();}[_0x4b970c(0x279)](_0x51ac17=!0x1){var _0x5b7f35=_0x4b970c;this['_lockTransition'](),this[_0x5b7f35(0x294)](this['_state'][_0x5b7f35(0x2fb)]()),this[_0x5b7f35(0x3f4)]();const _0x280515=this['_state'];_0x51ac17&&_0x280515 instanceof Pe&&(this[_0x5b7f35(0x18d)](),this[_0x5b7f35(0x294)](_0x280515[_0x5b7f35(0x18a)]()),this['_unlockTransition']());}async[_0x4b970c(0x2e9)](){return new Promise(_0x5d9723=>{var _0x17c0b5=_0x30ed;this[_0x17c0b5(0x205)]['sessionStatus$'][_0x17c0b5(0x456)](_0x4c14d8(0x1))[_0x17c0b5(0x30d)](async _0x4ad0de=>{var _0x2ccd62=_0x17c0b5;_0x5d9723(await this[_0x2ccd62(0x1ce)](_0x4ad0de===Ie[_0x2ccd62(0x2f2)]));});});}['_createHandler'](){var _0x3e1e8f=_0x4b970c;const _0x134ea9=this[_0x3e1e8f(0x3a1)];return{'onStateChange':(_0x83f9a1,_0x26a80e)=>{var _0x4e691f=_0x3e1e8f;if(_0x83f9a1!==this['_state'])throw new Error(_0x4e691f(0x2d3)+_0x83f9a1[_0x4e691f(0x2d0)]+_0x4e691f(0x367)+_0x26a80e['status']+_0x4e691f(0x3b3)+this[_0x4e691f(0x22c)][_0x4e691f(0x2d0)]);this[_0x4e691f(0x294)](_0x26a80e);},'onSendChangeset':_0x272f81=>{var _0x280888=_0x3e1e8f;_0x272f81[_0x280888(0x290)]||(_0x272f81['sid']=this[_0x280888(0x3ef)],_0x272f81[_0x280888(0x178)]=++this[_0x280888(0x331)]);const _0xa3ffe1={'eventID':_0x1a1228[_0x280888(0x418)],'data':{'unitID':_0x272f81[_0x280888(0x3a1)],'unitType':this[_0x280888(0x21d)],'changeset':_0x272f81,'memberID':this[_0x280888(0x205)][_0x280888(0x29e)]()}};this[_0x280888(0x205)]['send'](_0xa3ffe1,this[_0x280888(0x3a1)]);},'onMissingChangesets':({from:_0x2cc243,to:_0x249b77})=>{var _0x5381f9=_0x3e1e8f;this[_0x5381f9(0x34d)][_0x5381f9(0x20f)]('[CollaborationEntity]',_0x5381f9(0x435)+_0x2cc243+'\x20to\x20'+_0x249b77);const _0xaaabf9={'eventID':_0x1a1228['FETCH_MISSING'],'data':{'unitID':_0x134ea9,'unitType':this['_type'],'from':_0x2cc243,'to':_0x249b77}};this['session'][_0x5381f9(0x3ca)](_0xaaabf9,this['unitID']);}};}async['_createInitialStateImpl'](_0x438edb){var _0x233d1f=_0x4b970c,_0x3c0a4a,_0x2dafd3,_0x7a0bae;const _0x471596=await((_0x3c0a4a=this[_0x233d1f(0x1f2)])==null?void 0x0:_0x3c0a4a[_0x233d1f(0x224)](this[_0x233d1f(0x3a1)])),_0x480709=(_0x2dafd3=_0x471596==null?void 0x0:_0x471596[_0x233d1f(0x1b1)])!=null?_0x2dafd3:[],_0x2b541b=(_0x7a0bae=_0x471596==null?void 0x0:_0x471596[_0x233d1f(0x24f)])!=null?_0x7a0bae:null,_0x29c7c9=!!(_0x2b541b!=null&&_0x2b541b[_0x233d1f(0x290)])&&!!(_0x2b541b!=null&&_0x2b541b[_0x233d1f(0x178)]);this[_0x233d1f(0x3ef)]=_0x29c7c9?_0x2b541b[_0x233d1f(0x290)]:_s(),this[_0x233d1f(0x331)]=_0x29c7c9?_0x2b541b[_0x233d1f(0x178)]:0x0;const _0x215452=this[_0x233d1f(0x3a1)];try{this[_0x233d1f(0x3ad)](_0x2b541b,_0x480709);}catch(_0x41eb73){this['_logService'][_0x233d1f(0x31a)](_0x41eb73);}const _0x47ec2d=this[_0x233d1f(0x285)]();if(_0x438edb){const _0x20f00c=Ni(this[_0x233d1f(0x16b)],_0x215452,this[_0x233d1f(0x21d)],_0x2b541b,_0x480709,_0x47ec2d);return _0x20f00c instanceof re?_0x20f00c[_0x233d1f(0x356)]():(_0x20f00c instanceof oe||_0x20f00c instanceof ue)&&_0x20f00c[_0x233d1f(0x3b0)](),_0x20f00c;}return this[_0x233d1f(0x16b)]['createInstance'](fe,_0x215452,this[_0x233d1f(0x21d)],_0x2b541b,_0x480709,_0x47ec2d);}[_0x4b970c(0x3ad)](_0x331557,_0x1f5abd){var _0x4d7771=_0x4b970c,_0x866270,_0xea2e9;const _0x27da1e=this[_0x4d7771(0x3bc)]['interceptor'][_0x4d7771(0x35f)](this['_compressMutationService'][_0x4d7771(0x274)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x866270=_0x27da1e((_0x331557==null?void 0x0:_0x331557[_0x4d7771(0x1b1)])||[],null))==null||_0x866270['forEach'](_0x569b25=>this[_0x4d7771(0x3a8)][_0x4d7771(0x1f0)](_0x569b25['id'],_0x569b25[_0x4d7771(0x19a)])),(_0xea2e9=_0x27da1e(_0x1f5abd||[],null))==null||_0xea2e9[_0x4d7771(0x161)](_0x92f71f=>this[_0x4d7771(0x3a8)][_0x4d7771(0x1f0)](_0x92f71f['id'],_0x92f71f[_0x4d7771(0x19a)]));}};st=Mt([k(0x3,_0x5f1c87(_0x50ff70)),k(0x4,_0x5f1c87(_0x587985)),k(0x5,_0x5f1c87(_0x19cf62)),k(0x6,_0x5f1c87(_0xe1c1c2)),k(0x7,_0x5f1c87(pe)),k(0x8,_0x42cc6c),k(0x9,_0x161ee5),k(0xa,_0x15059e),k(0xb,_0x4dd650(ht)),k(0xc,_0x4dd650(X))],st);let Tt=class extends st{constructor(_0x39a462,_0x538a65,_0x53d236,_0x10a14f,_0x2c0a58,_0x1bc518,_0x18fcc2,_0xdb5850,_0x53ec80,_0x195a53,_0x3e3bb1,_0x612036,_0x32dcaf){var _0x292cec=_0x4b970c;super(_0x39a462,_0x53d236,_0x538a65,_0x10a14f,_0x2c0a58,_0x1bc518,_0x18fcc2,_0xdb5850,_0x53ec80,_0x195a53,_0x3e3bb1,_0x612036,_0x32dcaf),N(this,_0x292cec(0x1d5),null),(this[_0x292cec(0x3a1)]=_0x39a462,this[_0x292cec(0x1f3)]=_0x538a65);}[_0x4b970c(0x195)](_0x40fcc7){var _0x450ab9=_0x4b970c;this[_0x450ab9(0x1d5)]=_0x40fcc7;}[_0x4b970c(0x1de)](){var _0x208d0e=_0x4b970c;this[_0x208d0e(0x1d5)]=null,super[_0x208d0e(0x1de)]();}[_0x4b970c(0x285)](){var _0x106109=_0x4b970c;const _0x47f8fc=super[_0x106109(0x285)]();return _0x47f8fc[_0x106109(0x402)]=_0x5c536a=>{var _0xc6da27=_0x106109,_0x4b7e60,_0x225cc2;return(_0x225cc2=(_0x4b7e60=this[_0xc6da27(0x1d5)])==null?void 0x0:_0x4b7e60[_0xc6da27(0x402)])==null?void 0x0:_0x225cc2['call'](_0x4b7e60,_0x5c536a);},_0x47f8fc[_0x106109(0x390)]=_0x5ad9f7=>{var _0x500fb8=_0x106109,_0x47298e,_0x981ba1;return(_0x981ba1=(_0x47298e=this['_handlerCallback'])==null?void 0x0:_0x47298e[_0x500fb8(0x390)])==null?void 0x0:_0x981ba1['call'](_0x47298e,_0x5ad9f7);},_0x47f8fc[_0x106109(0x2d7)]=_0x4f3a89=>{var _0x237a4f=_0x106109,_0x2f3743,_0xb689f1;return(_0xb689f1=(_0x2f3743=this[_0x237a4f(0x1d5)])==null?void 0x0:_0x2f3743['onTransformSelections'])==null?void 0x0:_0xb689f1[_0x237a4f(0x3cd)](_0x2f3743,_0x4f3a89);},_0x47f8fc[_0x106109(0x2ad)]=_0x2f7edf=>{var _0x49c793=_0x106109,_0x34b02a,_0xb2ac00;return(_0xb2ac00=(_0x34b02a=this[_0x49c793(0x1d5)])==null?void 0x0:_0x34b02a['onSyncEditingCollabCursor'])==null?void 0x0:_0xb2ac00[_0x49c793(0x3cd)](_0x34b02a,_0x2f7edf);},_0x47f8fc[_0x106109(0x375)]=_0x59e1a0=>{var _0x2561f1=_0x106109,_0x59c4c8,_0x4b3c35,_0x5be2a6;if(!((_0x59c4c8=this[_0x2561f1(0x1d5)])!=null&&_0x59c4c8[_0x2561f1(0x375)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5be2a6=(_0x4b3c35=this[_0x2561f1(0x1d5)])==null?void 0x0:_0x4b3c35['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5be2a6[_0x2561f1(0x3cd)](_0x4b3c35,_0x59e1a0);},_0x47f8fc[_0x106109(0x2b0)]=_0x31e2bd=>{var _0x46b125=_0x106109,_0x2de4da,_0x18c679,_0x5eb29a;if(!((_0x2de4da=this[_0x46b125(0x1d5)])!=null&&_0x2de4da[_0x46b125(0x2b0)]))throw new Error(_0x46b125(0x429));return(_0x5eb29a=(_0x18c679=this[_0x46b125(0x1d5)])==null?void 0x0:_0x18c679[_0x46b125(0x2b0)])==null?void 0x0:_0x5eb29a[_0x46b125(0x3cd)](_0x18c679,_0x31e2bd);},_0x47f8fc;}async[_0x4b970c(0x287)](){var _0x402231=_0x4b970c;const _0x55e963=await super[_0x402231(0x287)]();return this[_0x402231(0x1ff)](this['_commandService'][_0x402231(0x3de)]((_0x1cac68,_0x17fb75)=>{var _0x2b86e9=_0x402231;if(_0x1cac68[_0x2b86e9(0x1f3)]!==_0x472eb3[_0x2b86e9(0x1fe)]||_0x17fb75!=null&&_0x17fb75[_0x2b86e9(0x34b)]||_0x17fb75!=null&&_0x17fb75[_0x2b86e9(0x2b7)]||_0x1cac68['id']===_0x102610['id'])return;const _0x5a0aa1=_0x1cac68[_0x2b86e9(0x19a)];if((_0x5a0aa1==null?void 0x0:_0x5a0aa1[_0x2b86e9(0x2c3)])!==this['unitID'])return;const _0x2a90ca=_0x1cac68,_0x230c7a=this[_0x2b86e9(0x3bc)][_0x2b86e9(0x274)][_0x2b86e9(0x35f)](this[_0x2b86e9(0x3bc)][_0x2b86e9(0x274)][_0x2b86e9(0x1a7)]()[_0x2b86e9(0x33f)])([_0x2a90ca],null)||[_0x2a90ca];this[_0x2b86e9(0x191)](_0x230c7a[0x0]);})),_0x55e963;}};Tt=Mt([k(0x3,_0x5f1c87(_0x50ff70)),k(0x4,_0x5f1c87(_0x587985)),k(0x5,_0x5f1c87(_0x19cf62)),k(0x6,_0x5f1c87(_0xe1c1c2)),k(0x7,_0x5f1c87(pe)),k(0x8,_0x42cc6c),k(0x9,_0x161ee5),k(0xa,_0x15059e),k(0xb,_0x4dd650(ht)),k(0xc,_0x4dd650(X))],Tt);let Ct=class extends st{constructor(_0x526966,_0x28d8d9,_0x5138bd,_0x25bee8,_0x3a9f69,_0x58cb5b,_0x3fca99,_0x2ca966,_0x2a538d,_0x5ee99d,_0x540f4b,_0x39b664,_0x5bacff,_0x2a7b83){var _0x15528c=_0x4b970c;super(_0x526966,_0x5138bd,_0x28d8d9,_0x25bee8,_0x3a9f69,_0x58cb5b,_0x3fca99,_0x2a538d,_0x5ee99d,_0x540f4b,_0x39b664,_0x5bacff,_0x2a7b83),this[_0x15528c(0x3a1)]=_0x526966,this[_0x15528c(0x1f3)]=_0x28d8d9,this[_0x15528c(0x3df)]=_0x2ca966;}[_0x4b970c(0x285)](){var _0x1b787d=_0x4b970c;const _0x1637c3=super['_createHandler']();return _0x1637c3[_0x1b787d(0x2d7)]=_0x4f2720=>this['_sheetTransformSelectionsService']['transformSelections'](_0x4f2720),_0x1637c3;}async[_0x4b970c(0x287)](){var _0x1713cd=_0x4b970c;const _0x245911=await super[_0x1713cd(0x287)]();return this[_0x1713cd(0x1ff)](this[_0x1713cd(0x3a8)][_0x1713cd(0x3de)]((_0x3f6029,_0x4311d5)=>{var _0x1835e8=_0x1713cd;if(_0x3f6029[_0x1835e8(0x1f3)]!==_0x472eb3['MUTATION']||_0x4311d5!=null&&_0x4311d5[_0x1835e8(0x34b)]||_0x4311d5!=null&&_0x4311d5[_0x1835e8(0x2b7)])return;const _0x5c2b66=_0x3f6029[_0x1835e8(0x19a)];if((_0x5c2b66==null?void 0x0:_0x5c2b66[_0x1835e8(0x2c3)])!==this['unitID'])return;const _0x480510=_0x3f6029,_0x2b6e59=this[_0x1835e8(0x3bc)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x1835e8(0x274)][_0x1835e8(0x1a7)]()[_0x1835e8(0x33f)])([_0x480510],null)||[_0x480510];this[_0x1835e8(0x191)](_0x2b6e59[0x0]);})),_0x245911;}};Ct=Mt([k(0x3,_0x5f1c87(_0x50ff70)),k(0x4,_0x5f1c87(_0x587985)),k(0x5,_0x5f1c87(_0x19cf62)),k(0x6,_0x5f1c87(_0xe1c1c2)),k(0x7,_0x5f1c87(nt)),k(0x8,_0x5f1c87(pe)),k(0x9,_0x42cc6c),k(0xa,_0x161ee5),k(0xb,_0x15059e),k(0xc,_0x4dd650(ht)),k(0xd,_0x4dd650(X))],Ct);var Ts=Object[_0x4b970c(0x27e)],Cs=Object[_0x4b970c(0x29d)],bs=(_0x44cf1c,_0x465c5b,_0x2812fe,_0x31d723)=>{for(var _0x2c6abb=_0x31d723>0x1?void 0x0:_0x31d723?Cs(_0x465c5b,_0x2812fe):_0x465c5b,_0x2ee897=_0x44cf1c['length']-0x1,_0x33f72f;_0x2ee897>=0x0;_0x2ee897--)(_0x33f72f=_0x44cf1c[_0x2ee897])&&(_0x2c6abb=(_0x31d723?_0x33f72f(_0x465c5b,_0x2812fe,_0x2c6abb):_0x33f72f(_0x2c6abb))||_0x2c6abb);return _0x31d723&&_0x2c6abb&&Ts(_0x465c5b,_0x2812fe,_0x2c6abb),_0x2c6abb;},ft=(_0x57b07d,_0x3cb515)=>(_0x9ee907,_0x171691)=>_0x3cb515(_0x9ee907,_0x171691,_0x57b07d);let rt=class extends _0x265948{constructor(_0x1b63fd,_0x21878d,_0x3bb4fa){var _0x4b7747=_0x4b970c;super(),N(this,_0x4b7747(0x38d),new Map()),N(this,_0x4b7747(0x2b1),new _0x119b5a()),N(this,_0x4b7747(0x437),this[_0x4b7747(0x2b1)][_0x4b7747(0x33a)]()),(this[_0x4b7747(0x16b)]=_0x1b63fd,this['_collabSessionService']=_0x21878d,this['_univerInstanceService']=_0x3bb4fa,this[_0x4b7747(0x287)]());}['dispose'](){var _0x2ee3cd=_0x4b970c;super[_0x2ee3cd(0x1de)](),this['_entities'][_0x2ee3cd(0x161)](_0x17a2ec=>_0x17a2ec[_0x2ee3cd(0x1de)]()),this[_0x2ee3cd(0x38d)]['clear']();}[_0x4b970c(0x1ad)](_0x5a0a86){var _0x22646b=_0x4b970c,_0x8fd859;return(_0x8fd859=this[_0x22646b(0x38d)][_0x22646b(0x1b7)](_0x5a0a86))!=null?_0x8fd859:null;}[_0x4b970c(0x403)](_0x1a8aa4){var _0x3d3f73=_0x4b970c;const _0x4f76ff=this[_0x3d3f73(0x1ad)](_0x1a8aa4);return _0x4f76ff?_0x3ab09f(_0x4f76ff):this[_0x3d3f73(0x2b1)][_0x3d3f73(0x456)](_0x2a0d84(_0x6c875e=>_0x6c875e[_0x3d3f73(0x3a1)]===_0x1a8aa4));}['_init'](){var _0x4eabf4=_0x4b970c;this[_0x4eabf4(0x365)][_0x4eabf4(0x3ce)](_0x2cc5bd[_0x4eabf4(0x328)])['pipe'](_0x913081(this[_0x4eabf4(0x2f0)]),_0x338181(0x10))['subscribe'](async _0xefd85=>{var _0xc80724=_0x4eabf4;const _0x1230f9=_0xefd85[_0xc80724(0x427)](),_0xb20565=await this[_0xc80724(0x2d2)](_0x1230f9,Q[_0xc80724(0x328)]);this[_0xc80724(0x38d)]['set'](_0x1230f9,_0xb20565);}),this[_0x4eabf4(0x365)][_0x4eabf4(0x3ce)](_0x2cc5bd[_0x4eabf4(0x262)])[_0x4eabf4(0x456)](_0x913081(this['dispose$']),_0x338181(0x10))[_0x4eabf4(0x456)](_0x2a0d84(_0x4a6b39=>!_0x4a6b39['getUnitId']()[_0x4eabf4(0x3b1)]('__')))[_0x4eabf4(0x30d)](async _0x46edb5=>{var _0x4e25be=_0x4eabf4;const _0x5d28ca=_0x46edb5[_0x4e25be(0x427)](),_0x5d520d=await this[_0x4e25be(0x2d2)](_0x5d28ca,Q[_0x4e25be(0x262)]);this[_0x4e25be(0x38d)][_0x4e25be(0x187)](_0x5d28ca,_0x5d520d);}),_0x57cdac(this[_0x4eabf4(0x365)][_0x4eabf4(0x311)](_0x2cc5bd[_0x4eabf4(0x328)]),this[_0x4eabf4(0x365)][_0x4eabf4(0x311)](_0x2cc5bd['UNIVER_DOC']))['pipe'](_0x913081(this[_0x4eabf4(0x2f0)]))[_0x4eabf4(0x30d)](_0x2de2bc=>{var _0x2b937a=_0x4eabf4;const _0x2e188a=_0x2de2bc[_0x2b937a(0x427)](),_0x27ffee=this[_0x2b937a(0x38d)][_0x2b937a(0x1b7)](_0x2e188a);_0x27ffee&&(_0x27ffee[_0x2b937a(0x1de)](),this[_0x2b937a(0x38d)][_0x2b937a(0x42a)](_0x2e188a));});}async[_0x4b970c(0x2d2)](_0xb0f055,_0x6736a8){var _0x4a5b0e=_0x4b970c;const _0x561dac=await this[_0x4a5b0e(0x19c)]['requireSession'](_0xb0f055),_0xf222e3=this[_0x4a5b0e(0x16b)][_0x4a5b0e(0x300)](this[_0x4a5b0e(0x3f0)](_0x6736a8),_0xb0f055,_0x6736a8,_0x561dac);return await _0xf222e3[_0x4a5b0e(0x3a7)](),this[_0x4a5b0e(0x2b1)]['next'](_0xf222e3),_0xf222e3;}[_0x4b970c(0x3f0)](_0x49ad6d){var _0x52c1ba=_0x4b970c;switch(_0x49ad6d){case Q[_0x52c1ba(0x262)]:return Tt;case Q[_0x52c1ba(0x328)]:return Ct;default:throw new Error(_0x52c1ba(0x2cf)+_0x49ad6d);}}};rt=bs([ft(0x0,_0x5f1c87(_0x50ff70)),ft(0x1,_0x5f1c87(Me)),ft(0x2,_0x5d568a)],rt);var Rs=Object[_0x4b970c(0x27e)],ys=Object[_0x4b970c(0x29d)],Os=(_0x2ddb7d,_0x43d9f8,_0x4a3695,_0x34f80d)=>{for(var _0x5df2d7=_0x34f80d>0x1?void 0x0:_0x34f80d?ys(_0x43d9f8,_0x4a3695):_0x43d9f8,_0x1fe8ae=_0x2ddb7d['length']-0x1,_0x22553f;_0x1fe8ae>=0x0;_0x1fe8ae--)(_0x22553f=_0x2ddb7d[_0x1fe8ae])&&(_0x5df2d7=(_0x34f80d?_0x22553f(_0x43d9f8,_0x4a3695,_0x5df2d7):_0x22553f(_0x5df2d7))||_0x5df2d7);return _0x34f80d&&_0x5df2d7&&Rs(_0x43d9f8,_0x4a3695,_0x5df2d7),_0x5df2d7;},Xt=(_0x2bda0b,_0xba7fac)=>(_0x75e2a3,_0x37e04c)=>_0xba7fac(_0x75e2a3,_0x37e04c,_0x2bda0b);const Ps=_0x4b970c(0x414),Ds='Univer';let bt=class extends _0x10cc97{constructor(_0x27f3a0,_0x25643c){var _0x4af555=_0x4b970c;super(),this[_0x4af555(0x365)]=_0x27f3a0,this['_configService']=_0x25643c,this['_init']();}[_0x4b970c(0x287)](){var _0x3ade3a=_0x4b970c;this[_0x3ade3a(0x1ff)](this[_0x3ade3a(0x365)][_0x3ade3a(0x1b4)][_0x3ade3a(0x30d)](()=>{var _0x14ea10=_0x3ade3a,_0x4505db;const _0x314e24=this['_univerInstanceService'][_0x14ea10(0x271)]();let _0x20396d=(_0x4505db=this[_0x14ea10(0x33d)][_0x14ea10(0x2d6)](Ps))!=null?_0x4505db:Ds;_0x314e24 instanceof _0x7f748&&(_0x20396d=_0x314e24[_0x14ea10(0x269)]),document[_0x14ea10(0x22b)]=_0x20396d;}));}};bt=Os([Xt(0x0,_0x5d568a),Xt(0x1,_0x24ac53)],bt);var Ns=Object[_0x4b970c(0x27e)],ws=Object[_0x4b970c(0x29d)],Us=(_0x206e8f,_0xc0a272,_0x703a7f,_0x40fa28)=>{var _0x2bb88d=_0x4b970c;for(var _0x3a022d=_0x40fa28>0x1?void 0x0:_0x40fa28?ws(_0xc0a272,_0x703a7f):_0xc0a272,_0x288af2=_0x206e8f[_0x2bb88d(0x2f8)]-0x1,_0x4e7d46;_0x288af2>=0x0;_0x288af2--)(_0x4e7d46=_0x206e8f[_0x288af2])&&(_0x3a022d=(_0x40fa28?_0x4e7d46(_0xc0a272,_0x703a7f,_0x3a022d):_0x4e7d46(_0x3a022d))||_0x3a022d);return _0x40fa28&&_0x3a022d&&Ns(_0xc0a272,_0x703a7f,_0x3a022d),_0x3a022d;},vt=(_0x40d7a3,_0x2e61ea)=>(_0x5c3408,_0x5297ea)=>_0x2e61ea(_0x5c3408,_0x5297ea,_0x40d7a3);let ot=class{constructor(_0x151651,_0x37499e,_0x3b3336){var _0xcb6653=_0x4b970c;this['_configService']=_0x151651,this['_httpService']=_0x37499e,this[_0xcb6653(0x33c)]=_0x3b3336,this[_0xcb6653(0x3a7)]();}[_0x4b970c(0x3a7)](){var _0x910236=_0x4b970c;this[_0x910236(0x3e5)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x13b951,_0x423a89)=>_0x423a89(_0x13b951)['pipe'](_0x405f17(async _0x30a5ce=>{var _0x3dbf80=_0x910236;const _0x161a22=_0x30a5ce;if(_0x161a22[_0x3dbf80(0x2d0)]===0x191&&window['confirm'](this['localeService']['t'](_0x3dbf80(0x347)))){const _0xb4d515=window[_0x3dbf80(0x434)](window[_0x3dbf80(0x26a)][_0x3dbf80(0x464)]);window['location'][_0x3dbf80(0x464)]=this[_0x3dbf80(0x3a5)]()+_0x3dbf80(0x323)+_0xb4d515;}return _0x161a22;}))});}['_getLoginPath'](){var _0x43ed42=_0x4b970c,_0x34b724,_0x55bfc4;const _0xa9c3d=this[_0x43ed42(0x33d)][_0x43ed42(0x2d6)](kn),_0x37f0d2=this[_0x43ed42(0x33d)][_0x43ed42(0x2d6)](Y);return(_0x55bfc4=(_0x34b724=_0x37f0d2==null?void 0x0:_0x37f0d2['loginUrlKey'])!=null?_0x34b724:_0xa9c3d)!=null?_0x55bfc4:jn;}};ot=Us([vt(0x0,_0x24ac53),vt(0x1,_0x5f1c87(_0x307ade)),vt(0x2,_0x5f1c87(_0x19cf62))],ot);var As=Object['defineProperty'],xs=Object[_0x4b970c(0x29d)],Ls=(_0x25f8dc,_0x383170,_0xbaef06,_0x420dcc)=>{var _0x14541b=_0x4b970c;for(var _0x35b836=_0x420dcc>0x1?void 0x0:_0x420dcc?xs(_0x383170,_0xbaef06):_0x383170,_0xb4683d=_0x25f8dc[_0x14541b(0x2f8)]-0x1,_0x51c565;_0xb4683d>=0x0;_0xb4683d--)(_0x51c565=_0x25f8dc[_0xb4683d])&&(_0x35b836=(_0x420dcc?_0x51c565(_0x383170,_0xbaef06,_0x35b836):_0x51c565(_0x35b836))||_0x35b836);return _0x420dcc&&_0x35b836&&As(_0x383170,_0xbaef06,_0x35b836),_0x35b836;},Zt=(_0xb9e352,_0x132ff4)=>(_0x33c73a,_0xb178aa)=>_0x132ff4(_0x33c73a,_0xb178aa,_0xb9e352);const wi='AUTHZ_URL_KEY',Ms=_0x4b970c(0x42d);let Rt=class extends _0x10cc97{constructor(_0x28df4f,_0x7007c7){var _0x2910df=_0x4b970c;super(),this['_HTTPService']=_0x28df4f,this[_0x2910df(0x33d)]=_0x7007c7,this[_0x2910df(0x273)]();}[_0x4b970c(0x273)](){var _0x37d3f1=_0x4b970c;const _0x4f3728=this;this[_0x37d3f1(0x1ff)](this[_0x37d3f1(0x22a)][_0x37d3f1(0x1ea)]({'priority':0x3e7,'interceptor':_0xf481d9({'isMatch'(_0x3811ec){var _0x353cc8=_0x37d3f1,_0x47bdc7;if(_0x3811ec[_0x353cc8(0x28c)]===_0x353cc8(0x412)&&((_0x47bdc7=_0x3811ec['requestParams'])!=null&&_0x47bdc7[_0x353cc8(0x2fd)])){const {objectID:_0x33555e,objectType:_0x1cc3e3}=_0x3811ec[_0x353cc8(0x45b)][_0x353cc8(0x2fd)]||{};if(!_0x33555e||_0x1cc3e3===void 0x0)return!0x1;const _0x1b2518=_0x4f3728[_0x353cc8(0x362)]()+'/'+_0x1cc3e3+_0x353cc8(0x1dd)+_0x33555e+'/allowed';if(_0x3811ec[_0x353cc8(0x2d9)]===_0x1b2518)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xf85d05){var _0x4de3c=_0x37d3f1,_0x5962f8;return(_0x5962f8=_0xf85d05['requestParams'])==null?void 0x0:_0x5962f8[_0x4de3c(0x2fd)];},'mergeParamsToRequest'(_0x1e72fd,_0xf8cce1){var _0x43264c=_0x37d3f1;const _0x3b080b=_0x4f3728['_getAPIPrefixPath']()+_0x43264c(0x1a0),_0x22a89f=_0x1e72fd[_0x43264c(0x38f)]((_0x1503bf,_0x117b69)=>{var _0x163e56=_0x43264c;const {unitID:_0x27f8ee,objectID:_0x41626d,objectType:_0x61b3fe,actions:_0x3b24fe}=_0x117b69;return _0x1503bf[_0x27f8ee]||(_0x1503bf[_0x27f8ee]={}),_0x1503bf[_0x27f8ee][_0x41626d]||(_0x1503bf[_0x27f8ee][_0x41626d]={'objectID':_0x41626d,'objectType':_0x61b3fe,'actions':[]}),_0x1503bf[_0x27f8ee][_0x41626d][_0x163e56(0x1ed)][_0x163e56(0x16c)](..._0x3b24fe),_0x1503bf;},{}),_0x25c8e0=[];for(const _0x1730da in _0x22a89f)for(const _0x366380 in _0x22a89f[_0x1730da]){const {actions:_0x41f27e,objectType:_0xce50d4}=_0x22a89f[_0x1730da][_0x366380],_0x239946=[...new Set(_0x41f27e)];_0x25c8e0[_0x43264c(0x16c)]({'unitID':_0x1730da,'objectID':_0x366380,'objectType':_0xce50d4,'actions':_0x239946});}return new _0xabb9da(_0x43264c(0x412),_0x3b080b,{'headers':_0xf8cce1[_0x43264c(0x3eb)],'withCredentials':_0xf8cce1[_0x43264c(0x3be)],'responseType':_0xf8cce1[_0x43264c(0x1c1)],'body':{'requests':_0x25c8e0}});}},{'distributeResult'(_0x4eca79,_0x117a83){var _0x311ba7=_0x37d3f1;const {objectActions:_0x1c9c5c}=_0x4eca79;return _0x117a83[_0x311ba7(0x1a6)](_0x6b1bbe=>{var _0x14af58=_0x311ba7;const {unitID:_0x13cc97,objectID:_0x267805,actions:_0x434f1e}=_0x6b1bbe,_0x2d474b=_0x1c9c5c[_0x14af58(0x383)](_0x3d3bc6=>_0x3d3bc6[_0x14af58(0x3a1)]===_0x13cc97&&_0x3d3bc6[_0x14af58(0x2be)]===_0x267805),_0x5dcc17=_0x434f1e[_0x14af58(0x1a6)](_0x3aeb5e=>_0x2d474b==null?void 0x0:_0x2d474b[_0x14af58(0x1ed)][_0x14af58(0x383)](_0x31d773=>_0x31d773['action']===_0x3aeb5e))[_0x14af58(0x17c)](_0x109324=>!!_0x109324);return{'config':_0x6b1bbe,'result':{'actions':_0x5dcc17,'error':_0x4eca79[_0x14af58(0x31a)]}};});}})}));}[_0x4b970c(0x362)](){var _0x3a3f04=_0x4b970c,_0x1767bf,_0x23d9d5;const _0x372414=this[_0x3a3f04(0x33d)]['getConfig'](wi),_0x350c8e=this['_configService'][_0x3a3f04(0x2d6)](Y);return(_0x23d9d5=(_0x1767bf=_0x350c8e==null?void 0x0:_0x350c8e['authzUrl'])!=null?_0x1767bf:_0x372414)!=null?_0x23d9d5:Ms;}async[_0x4b970c(0x173)](_0x175f46){var _0x213c6f=_0x4b970c;const _0x850eac=this[_0x213c6f(0x362)]()+'/'+_0x175f46[_0x213c6f(0x394)]+_0x213c6f(0x42c);return(await this[_0x213c6f(0x22a)]['post'](_0x850eac,{'body':_0x175f46}))['body'][_0x213c6f(0x2be)]||'';}async[_0x4b970c(0x3a9)](_0x3e129c){var _0x44e75e=_0x4b970c;const _0x6c7c58=this[_0x44e75e(0x362)]()+'/-/object/list';return(await this[_0x44e75e(0x22a)][_0x44e75e(0x23c)](_0x6c7c58,{'body':_0x3e129c}))[_0x44e75e(0x2fd)]['objects'];}async[_0x4b970c(0x32b)](_0x683bb1){var _0x8dc58e=_0x4b970c;const _0x29a71f=this[_0x8dc58e(0x362)]()+'/'+_0x683bb1['objectType']+_0x8dc58e(0x1dd)+_0x683bb1['objectID'];await this[_0x8dc58e(0x22a)][_0x8dc58e(0x277)](_0x29a71f,{'body':_0x683bb1});}async['allowed'](_0x156915){var _0x254b95=_0x4b970c;const _0x2e6bbe=this[_0x254b95(0x362)]()+'/'+_0x156915[_0x254b95(0x394)]+_0x254b95(0x1dd)+_0x156915[_0x254b95(0x2be)]+_0x254b95(0x46f);return(await this[_0x254b95(0x22a)][_0x254b95(0x23c)](_0x2e6bbe,{'body':_0x156915}))[_0x254b95(0x2fd)][_0x254b95(0x1ed)];}async[_0x4b970c(0x226)](_0x66c0b){var _0x55b748=_0x4b970c;const _0x12611a=this['_getAPIPrefixPath']()+_0x55b748(0x1a0);return(await this[_0x55b748(0x22a)][_0x55b748(0x23c)](_0x12611a,{'body':{'requests':_0x66c0b}}))[_0x55b748(0x2fd)][_0x55b748(0x2db)];}async[_0x4b970c(0x445)](_0x3c20d8){var _0x3789c6=_0x4b970c;const _0x5d86e3=this[_0x3789c6(0x362)]()+'/'+_0x3c20d8[_0x3789c6(0x394)]+_0x3789c6(0x3e1),_0x5ce4a5=await this[_0x3789c6(0x22a)]['post'](_0x5d86e3,{'body':_0x3c20d8});return{'roles':_0x5ce4a5[_0x3789c6(0x2fd)][_0x3789c6(0x27b)],'actions':_0x5ce4a5['body'][_0x3789c6(0x1ed)]};}async['deleteCollaborator'](_0x4e294c){var _0x44e909=_0x4b970c;const _0x54964c=this[_0x44e909(0x362)]()+_0x44e909(0x348);await this[_0x44e909(0x22a)][_0x44e909(0x42a)](_0x54964c,{'params':{'collaboratorID':_0x4e294c[_0x44e909(0x2d4)],'objectID':_0x4e294c[_0x44e909(0x2be)],'unitID':_0x4e294c[_0x44e909(0x3a1)]}});}async['updateCollaborator'](_0x50ac3a){var _0x31f666=_0x4b970c;const _0xcd7e90=this[_0x31f666(0x362)]()+_0x31f666(0x348);await this['_HTTPService'][_0x31f666(0x3c4)](_0xcd7e90,{'body':_0x50ac3a});}async[_0x4b970c(0x27d)](_0x2f0ef6){var _0x55552d=_0x4b970c;const _0x4a4b43=this[_0x55552d(0x362)]()+_0x55552d(0x348);await this[_0x55552d(0x22a)][_0x55552d(0x23c)](_0x4a4b43,{'body':_0x2f0ef6});}async[_0x4b970c(0x231)](_0x1c917e){var _0xde15ee=_0x4b970c;const _0x59bb81=this[_0xde15ee(0x362)]()+_0xde15ee(0x348);return(await this[_0xde15ee(0x22a)][_0xde15ee(0x1b7)](_0x59bb81,{'params':{'objectID':_0x1c917e[_0xde15ee(0x2be)],'unitID':_0x1c917e[_0xde15ee(0x3a1)]}}))[_0xde15ee(0x2fd)][_0xde15ee(0x355)];}async[_0x4b970c(0x2c6)](_0x3e0766){var _0x4a7faf=_0x4b970c;const _0x5e6fb7=this[_0x4a7faf(0x362)]()+_0x4a7faf(0x348);await this[_0x4a7faf(0x22a)][_0x4a7faf(0x277)](_0x5e6fb7,{'body':_0x3e0766});}};Rt=Ls([Zt(0x0,_0x5f1c87(_0x307ade)),Zt(0x1,_0x5f1c87(_0x24ac53))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function je(_0x142d30){var _0x2612db=_0x4b970c;return _0x142d30&&_0x142d30[_0x2612db(0x1f9)]&&Object[_0x2612db(0x3fc)]['hasOwnProperty']['call'](_0x142d30,'default')?_0x142d30[_0x2612db(0x1fa)]:_0x142d30;}var We={'exports':{}};function $s(_0x5569c8){var _0x206718=_0x4b970c;throw new Error(_0x206718(0x278)+_0x5569c8+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Hs=Ge[_0x4b970c(0x17b)],Qt;function ne(){var _0x4ded09=_0x4b970c;return Qt||(Qt=0x1,function(_0x49c7a5,_0x729465){(function(_0x549255,_0x4625a8){var _0x27bf9d=_0x30ed;_0x49c7a5[_0x27bf9d(0x17b)]=_0x4625a8();}(Hs,function(){var _0x108adf=_0x108adf||function(_0x2549d4,_0x6eb50d){var _0x305a0a=_0x30ed,_0x511671;if(typeof window<'u'&&window[_0x305a0a(0x28e)]&&(_0x511671=window[_0x305a0a(0x28e)]),typeof self<'u'&&self[_0x305a0a(0x28e)]&&(_0x511671=self[_0x305a0a(0x28e)]),typeof globalThis<'u'&&globalThis[_0x305a0a(0x28e)]&&(_0x511671=globalThis[_0x305a0a(0x28e)]),!_0x511671&&typeof window<'u'&&window['msCrypto']&&(_0x511671=window['msCrypto']),!_0x511671&&typeof pt<'u'&&pt[_0x305a0a(0x28e)]&&(_0x511671=pt[_0x305a0a(0x28e)]),!_0x511671&&typeof $s==_0x305a0a(0x3f9))try{_0x511671=require('crypto');}catch{}var _0x22fc81=function(){var _0x11a273=_0x305a0a;if(_0x511671){if(typeof _0x511671[_0x11a273(0x2e4)]=='function')try{return _0x511671[_0x11a273(0x2e4)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x511671['randomBytes']==_0x11a273(0x3f9))try{return _0x511671[_0x11a273(0x2fe)](0x4)[_0x11a273(0x179)]();}catch{}}throw new Error(_0x11a273(0x1aa));},_0x258941=Object[_0x305a0a(0x173)]||(function(){function _0x4f2940(){}return function(_0x44a758){var _0x5cb8d1=_0x30ed,_0x2c2e2b;return _0x4f2940[_0x5cb8d1(0x3fc)]=_0x44a758,_0x2c2e2b=new _0x4f2940(),_0x4f2940[_0x5cb8d1(0x3fc)]=null,_0x2c2e2b;};}()),_0x7c50b={},_0x4255ea=_0x7c50b[_0x305a0a(0x1a1)]={},_0x27ce0e=_0x4255ea['Base']=(function(){return{'extend':function(_0x30d3ac){var _0x46475a=_0x30ed,_0x202dfc=_0x258941(this);return _0x30d3ac&&_0x202dfc[_0x46475a(0x244)](_0x30d3ac),(!_0x202dfc[_0x46475a(0x432)](_0x46475a(0x3a7))||this[_0x46475a(0x3a7)]===_0x202dfc['init'])&&(_0x202dfc[_0x46475a(0x3a7)]=function(){var _0x33d872=_0x46475a;_0x202dfc[_0x33d872(0x46a)]['init']['apply'](this,arguments);}),_0x202dfc[_0x46475a(0x3a7)][_0x46475a(0x3fc)]=_0x202dfc,_0x202dfc[_0x46475a(0x46a)]=this,_0x202dfc;},'create':function(){var _0x448fea=_0x30ed,_0x10dc46=this[_0x448fea(0x38b)]();return _0x10dc46[_0x448fea(0x3a7)][_0x448fea(0x336)](_0x10dc46,arguments),_0x10dc46;},'init':function(){},'mixIn':function(_0x5e0821){var _0x9fedcd=_0x30ed;for(var _0x3b9251 in _0x5e0821)_0x5e0821[_0x9fedcd(0x432)](_0x3b9251)&&(this[_0x3b9251]=_0x5e0821[_0x3b9251]);_0x5e0821[_0x9fedcd(0x432)](_0x9fedcd(0x1b2))&&(this[_0x9fedcd(0x1b2)]=_0x5e0821[_0x9fedcd(0x1b2)]);},'clone':function(){var _0x1af69a=_0x30ed;return this[_0x1af69a(0x3a7)]['prototype'][_0x1af69a(0x38b)](this);}};}()),_0x22732e=_0x4255ea[_0x305a0a(0x421)]=_0x27ce0e[_0x305a0a(0x38b)]({'init':function(_0x3d9188,_0x34a5d3){var _0x275280=_0x305a0a;_0x3d9188=this[_0x275280(0x44e)]=_0x3d9188||[],_0x34a5d3!=_0x6eb50d?this[_0x275280(0x252)]=_0x34a5d3:this[_0x275280(0x252)]=_0x3d9188[_0x275280(0x2f8)]*0x4;},'toString':function(_0x54275a){var _0x54a4f7=_0x305a0a;return(_0x54275a||_0x3a6c93)[_0x54a4f7(0x37e)](this);},'concat':function(_0x22c31e){var _0x4653f3=_0x305a0a,_0x22af78=this[_0x4653f3(0x44e)],_0x4b80d3=_0x22c31e['words'],_0x366f35=this[_0x4653f3(0x252)],_0x4220e4=_0x22c31e[_0x4653f3(0x252)];if(this[_0x4653f3(0x263)](),_0x366f35%0x4)for(var _0x30b3c2=0x0;_0x30b3c2<_0x4220e4;_0x30b3c2++){var _0x1963ed=_0x4b80d3[_0x30b3c2>>>0x2]>>>0x18-_0x30b3c2%0x4*0x8&0xff;_0x22af78[_0x366f35+_0x30b3c2>>>0x2]|=_0x1963ed<<0x18-(_0x366f35+_0x30b3c2)%0x4*0x8;}else{for(var _0x296580=0x0;_0x296580<_0x4220e4;_0x296580+=0x4)_0x22af78[_0x366f35+_0x296580>>>0x2]=_0x4b80d3[_0x296580>>>0x2];}return this[_0x4653f3(0x252)]+=_0x4220e4,this;},'clamp':function(){var _0x221564=_0x305a0a,_0x470c4e=this[_0x221564(0x44e)],_0x321a69=this[_0x221564(0x252)];_0x470c4e[_0x321a69>>>0x2]&=0xffffffff<<0x20-_0x321a69%0x4*0x8,_0x470c4e[_0x221564(0x2f8)]=_0x2549d4[_0x221564(0x213)](_0x321a69/0x4);},'clone':function(){var _0xc9c59=_0x305a0a,_0x1f1ac7=_0x27ce0e[_0xc9c59(0x395)]['call'](this);return _0x1f1ac7['words']=this[_0xc9c59(0x44e)][_0xc9c59(0x431)](0x0),_0x1f1ac7;},'random':function(_0x169b1e){var _0x179c17=_0x305a0a;for(var _0x45abdf=[],_0x342f82=0x0;_0x342f82<_0x169b1e;_0x342f82+=0x4)_0x45abdf[_0x179c17(0x16c)](_0x22fc81());return new _0x22732e['init'](_0x45abdf,_0x169b1e);}}),_0x8e5076=_0x7c50b[_0x305a0a(0x25e)]={},_0x3a6c93=_0x8e5076[_0x305a0a(0x25a)]={'stringify':function(_0x41eb51){var _0x3932b6=_0x305a0a;for(var _0x41f9ca=_0x41eb51[_0x3932b6(0x44e)],_0x1521b1=_0x41eb51[_0x3932b6(0x252)],_0x5aea05=[],_0x162406=0x0;_0x162406<_0x1521b1;_0x162406++){var _0x186277=_0x41f9ca[_0x162406>>>0x2]>>>0x18-_0x162406%0x4*0x8&0xff;_0x5aea05['push']((_0x186277>>>0x4)[_0x3932b6(0x1b2)](0x10)),_0x5aea05[_0x3932b6(0x16c)]((_0x186277&0xf)[_0x3932b6(0x1b2)](0x10));}return _0x5aea05['join']('');},'parse':function(_0x5010ea){var _0x587d9c=_0x305a0a;for(var _0x4a6fff=_0x5010ea[_0x587d9c(0x2f8)],_0xa2bc6c=[],_0x557796=0x0;_0x557796<_0x4a6fff;_0x557796+=0x2)_0xa2bc6c[_0x557796>>>0x3]|=parseInt(_0x5010ea['substr'](_0x557796,0x2),0x10)<<0x18-_0x557796%0x8*0x4;return new _0x22732e[(_0x587d9c(0x3a7))](_0xa2bc6c,_0x4a6fff/0x2);}},_0x2a157c=_0x8e5076[_0x305a0a(0x443)]={'stringify':function(_0x271039){var _0x59faaa=_0x305a0a;for(var _0x309795=_0x271039['words'],_0x5ce16c=_0x271039[_0x59faaa(0x252)],_0x31f06a=[],_0x4f619d=0x0;_0x4f619d<_0x5ce16c;_0x4f619d++){var _0x46a29f=_0x309795[_0x4f619d>>>0x2]>>>0x18-_0x4f619d%0x4*0x8&0xff;_0x31f06a[_0x59faaa(0x16c)](String[_0x59faaa(0x310)](_0x46a29f));}return _0x31f06a[_0x59faaa(0x26c)]('');},'parse':function(_0x34e7c3){var _0xf8c2a7=_0x305a0a;for(var _0x524914=_0x34e7c3['length'],_0x458b23=[],_0x40f795=0x0;_0x40f795<_0x524914;_0x40f795++)_0x458b23[_0x40f795>>>0x2]|=(_0x34e7c3['charCodeAt'](_0x40f795)&0xff)<<0x18-_0x40f795%0x4*0x8;return new _0x22732e[(_0xf8c2a7(0x3a7))](_0x458b23,_0x524914);}},_0x4e707f=_0x8e5076[_0x305a0a(0x1ab)]={'stringify':function(_0x1dcb0b){var _0x586d9c=_0x305a0a;try{return decodeURIComponent(escape(_0x2a157c[_0x586d9c(0x37e)](_0x1dcb0b)));}catch{throw new Error(_0x586d9c(0x3b9));}},'parse':function(_0x2ca058){var _0x207a73=_0x305a0a;return _0x2a157c[_0x207a73(0x222)](unescape(encodeURIComponent(_0x2ca058)));}},_0x2fc310=_0x4255ea['BufferedBlockAlgorithm']=_0x27ce0e[_0x305a0a(0x38b)]({'reset':function(){var _0x443693=_0x305a0a;this[_0x443693(0x392)]=new _0x22732e[(_0x443693(0x3a7))](),this['_nDataBytes']=0x0;},'_append':function(_0x195c38){var _0x572b9b=_0x305a0a;typeof _0x195c38==_0x572b9b(0x3f5)&&(_0x195c38=_0x4e707f['parse'](_0x195c38)),this['_data'][_0x572b9b(0x46e)](_0x195c38),this[_0x572b9b(0x305)]+=_0x195c38[_0x572b9b(0x252)];},'_process':function(_0x3a25a8){var _0x34104b=_0x305a0a,_0x7337e7,_0x726441=this[_0x34104b(0x392)],_0x11477c=_0x726441[_0x34104b(0x44e)],_0x1c597b=_0x726441[_0x34104b(0x252)],_0x2dfa64=this[_0x34104b(0x442)],_0x1488ec=_0x2dfa64*0x4,_0x4b63cd=_0x1c597b/_0x1488ec;_0x3a25a8?_0x4b63cd=_0x2549d4[_0x34104b(0x213)](_0x4b63cd):_0x4b63cd=_0x2549d4[_0x34104b(0x3fd)]((_0x4b63cd|0x0)-this['_minBufferSize'],0x0);var _0x56e772=_0x4b63cd*_0x2dfa64,_0x5a0d7f=_0x2549d4[_0x34104b(0x1c0)](_0x56e772*0x4,_0x1c597b);if(_0x56e772){for(var _0x5ea6f=0x0;_0x5ea6f<_0x56e772;_0x5ea6f+=_0x2dfa64)this[_0x34104b(0x422)](_0x11477c,_0x5ea6f);_0x7337e7=_0x11477c[_0x34104b(0x3ab)](0x0,_0x56e772),_0x726441[_0x34104b(0x252)]-=_0x5a0d7f;}return new _0x22732e[(_0x34104b(0x3a7))](_0x7337e7,_0x5a0d7f);},'clone':function(){var _0x30d573=_0x305a0a,_0xbfa5a1=_0x27ce0e[_0x30d573(0x395)][_0x30d573(0x3cd)](this);return _0xbfa5a1[_0x30d573(0x392)]=this[_0x30d573(0x392)]['clone'](),_0xbfa5a1;},'_minBufferSize':0x0});_0x4255ea['Hasher']=_0x2fc310[_0x305a0a(0x38b)]({'cfg':_0x27ce0e['extend'](),'init':function(_0x558d4a){var _0x38743a=_0x305a0a;this[_0x38743a(0x428)]=this['cfg'][_0x38743a(0x38b)](_0x558d4a),this[_0x38743a(0x31e)]();},'reset':function(){var _0x542190=_0x305a0a;_0x2fc310['reset'][_0x542190(0x3cd)](this),this[_0x542190(0x206)]();},'update':function(_0x19a30f){var _0x408286=_0x305a0a;return this[_0x408286(0x3e3)](_0x19a30f),this[_0x408286(0x22d)](),this;},'finalize':function(_0x1def39){var _0x225665=_0x305a0a;_0x1def39&&this[_0x225665(0x3e3)](_0x1def39);var _0xe77bd2=this['_doFinalize']();return _0xe77bd2;},'blockSize':0x10,'_createHelper':function(_0x4bbc4b){return function(_0x1eb53f,_0x13d13c){var _0x2728ed=_0x30ed;return new _0x4bbc4b[(_0x2728ed(0x3a7))](_0x13d13c)[_0x2728ed(0x19b)](_0x1eb53f);};},'_createHmacHelper':function(_0x70f996){return function(_0x2d9cc4,_0x29eec5){var _0x2c3951=_0x30ed;return new _0x2e6d7d['HMAC']['init'](_0x70f996,_0x29eec5)[_0x2c3951(0x19b)](_0x2d9cc4);};}});var _0x2e6d7d=_0x7c50b['algo']={};return _0x7c50b;}(Math);return _0x108adf;}));}(Ge)),Ge[_0x4ded09(0x17b)];}var Ke={'exports':{}},ks=Ke[_0x4b970c(0x17b)],ei;function Ui(){var _0x18d4ec=_0x4b970c;return ei||(ei=0x1,function(_0x5b4266,_0x456af4){(function(_0x13401a,_0x49a701){var _0x32d153=_0x30ed;_0x5b4266[_0x32d153(0x17b)]=_0x49a701(ne());}(ks,function(_0x36d525){var _0x1fdef0=_0x30ed;return(function(){var _0x76141=_0x30ed,_0x581cd7=_0x36d525,_0x1dcbfc=_0x581cd7[_0x76141(0x1a1)],_0xa5f149=_0x1dcbfc['WordArray'],_0x3c115e=_0x581cd7[_0x76141(0x25e)];_0x3c115e[_0x76141(0x35c)]={'stringify':function(_0x2288f3){var _0x3f1bf5=_0x76141,_0x428d74=_0x2288f3[_0x3f1bf5(0x44e)],_0xd8ab1d=_0x2288f3[_0x3f1bf5(0x252)],_0x13c962=this[_0x3f1bf5(0x466)];_0x2288f3[_0x3f1bf5(0x263)]();for(var _0x7843ab=[],_0x5e3ab2=0x0;_0x5e3ab2<_0xd8ab1d;_0x5e3ab2+=0x3)for(var _0x56b019=_0x428d74[_0x5e3ab2>>>0x2]>>>0x18-_0x5e3ab2%0x4*0x8&0xff,_0x237310=_0x428d74[_0x5e3ab2+0x1>>>0x2]>>>0x18-(_0x5e3ab2+0x1)%0x4*0x8&0xff,_0x212b5d=_0x428d74[_0x5e3ab2+0x2>>>0x2]>>>0x18-(_0x5e3ab2+0x2)%0x4*0x8&0xff,_0x29194d=_0x56b019<<0x10|_0x237310<<0x8|_0x212b5d,_0x561a9b=0x0;_0x561a9b<0x4&&_0x5e3ab2+_0x561a9b*0.75<_0xd8ab1d;_0x561a9b++)_0x7843ab[_0x3f1bf5(0x16c)](_0x13c962[_0x3f1bf5(0x175)](_0x29194d>>>0x6*(0x3-_0x561a9b)&0x3f));var _0x473992=_0x13c962['charAt'](0x40);if(_0x473992){for(;_0x7843ab[_0x3f1bf5(0x2f8)]%0x4;)_0x7843ab[_0x3f1bf5(0x16c)](_0x473992);}return _0x7843ab[_0x3f1bf5(0x26c)]('');},'parse':function(_0x253371){var _0x2af348=_0x76141,_0x3be059=_0x253371[_0x2af348(0x2f8)],_0x3ca8c4=this[_0x2af348(0x466)],_0x331977=this[_0x2af348(0x1a5)];if(!_0x331977){_0x331977=this['_reverseMap']=[];for(var _0x19077c=0x0;_0x19077c<_0x3ca8c4[_0x2af348(0x2f8)];_0x19077c++)_0x331977[_0x3ca8c4[_0x2af348(0x196)](_0x19077c)]=_0x19077c;}var _0x36118f=_0x3ca8c4['charAt'](0x40);if(_0x36118f){var _0x42f5ff=_0x253371[_0x2af348(0x3c2)](_0x36118f);_0x42f5ff!==-0x1&&(_0x3be059=_0x42f5ff);}return _0x4132f9(_0x253371,_0x3be059,_0x331977);},'_map':_0x76141(0x399)};function _0x4132f9(_0xf50244,_0x294c70,_0x17d2ea){var _0x3b94e5=_0x76141;for(var _0x8cba80=[],_0x4c7124=0x0,_0x42a9de=0x0;_0x42a9de<_0x294c70;_0x42a9de++)if(_0x42a9de%0x4){var _0x5e5c0f=_0x17d2ea[_0xf50244[_0x3b94e5(0x196)](_0x42a9de-0x1)]<<_0x42a9de%0x4*0x2,_0x4ba5f1=_0x17d2ea[_0xf50244[_0x3b94e5(0x196)](_0x42a9de)]>>>0x6-_0x42a9de%0x4*0x2,_0x852f77=_0x5e5c0f|_0x4ba5f1;_0x8cba80[_0x4c7124>>>0x2]|=_0x852f77<<0x18-_0x4c7124%0x4*0x8,_0x4c7124++;}return _0xa5f149['create'](_0x8cba80,_0x4c7124);}}()),_0x36d525[_0x1fdef0(0x25e)][_0x1fdef0(0x35c)];}));}(Ke)),Ke[_0x18d4ec(0x17b)];}var ze={'exports':{}},js=ze[_0x4b970c(0x17b)],ti;function Bs(){var _0x1f2475=_0x4b970c;return ti||(ti=0x1,function(_0x4a146d,_0xc50d0c){(function(_0x53da74,_0x2d40ad){var _0x1b6b04=_0x30ed;_0x4a146d[_0x1b6b04(0x17b)]=_0x2d40ad(ne());}(js,function(_0x32f8ae){return function(_0x5adf49){var _0x56bc6c=_0x30ed,_0x37b89e=_0x32f8ae,_0xabfccf=_0x37b89e[_0x56bc6c(0x1a1)],_0x11c491=_0xabfccf[_0x56bc6c(0x421)],_0x3e1740=_0xabfccf[_0x56bc6c(0x2b9)],_0x30da4e=_0x37b89e[_0x56bc6c(0x393)],_0x5cf79d=[];(function(){var _0x46b658=_0x56bc6c;for(var _0x22b464=0x0;_0x22b464<0x40;_0x22b464++)_0x5cf79d[_0x22b464]=_0x5adf49[_0x46b658(0x301)](_0x5adf49[_0x46b658(0x1eb)](_0x22b464+0x1))*0x100000000|0x0;}());var _0x762a02=_0x30da4e[_0x56bc6c(0x3c9)]=_0x3e1740[_0x56bc6c(0x38b)]({'_doReset':function(){var _0x50e96f=_0x56bc6c;this[_0x50e96f(0x313)]=new _0x11c491[(_0x50e96f(0x3a7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5123ab,_0x3bedde){var _0x580e42=_0x56bc6c;for(var _0x3c3e54=0x0;_0x3c3e54<0x10;_0x3c3e54++){var _0x35b308=_0x3bedde+_0x3c3e54,_0x559159=_0x5123ab[_0x35b308];_0x5123ab[_0x35b308]=(_0x559159<<0x8|_0x559159>>>0x18)&0xff00ff|(_0x559159<<0x18|_0x559159>>>0x8)&0xff00ff00;}var _0x24d80f=this['_hash'][_0x580e42(0x44e)],_0x4a2e6a=_0x5123ab[_0x3bedde+0x0],_0x3a9ce0=_0x5123ab[_0x3bedde+0x1],_0x565cf1=_0x5123ab[_0x3bedde+0x2],_0x5823a6=_0x5123ab[_0x3bedde+0x3],_0x1bad56=_0x5123ab[_0x3bedde+0x4],_0xd455ee=_0x5123ab[_0x3bedde+0x5],_0x4d9317=_0x5123ab[_0x3bedde+0x6],_0x5894f0=_0x5123ab[_0x3bedde+0x7],_0xd16c5=_0x5123ab[_0x3bedde+0x8],_0x198d0f=_0x5123ab[_0x3bedde+0x9],_0x3fc9d6=_0x5123ab[_0x3bedde+0xa],_0xd0bfe7=_0x5123ab[_0x3bedde+0xb],_0x443adb=_0x5123ab[_0x3bedde+0xc],_0x2f470a=_0x5123ab[_0x3bedde+0xd],_0x927c2a=_0x5123ab[_0x3bedde+0xe],_0x41de63=_0x5123ab[_0x3bedde+0xf],_0x27fa3c=_0x24d80f[0x0],_0x144ccb=_0x24d80f[0x1],_0x9551=_0x24d80f[0x2],_0x53db4c=_0x24d80f[0x3];_0x27fa3c=_0x1a5809(_0x27fa3c,_0x144ccb,_0x9551,_0x53db4c,_0x4a2e6a,0x7,_0x5cf79d[0x0]),_0x53db4c=_0x1a5809(_0x53db4c,_0x27fa3c,_0x144ccb,_0x9551,_0x3a9ce0,0xc,_0x5cf79d[0x1]),_0x9551=_0x1a5809(_0x9551,_0x53db4c,_0x27fa3c,_0x144ccb,_0x565cf1,0x11,_0x5cf79d[0x2]),_0x144ccb=_0x1a5809(_0x144ccb,_0x9551,_0x53db4c,_0x27fa3c,_0x5823a6,0x16,_0x5cf79d[0x3]),_0x27fa3c=_0x1a5809(_0x27fa3c,_0x144ccb,_0x9551,_0x53db4c,_0x1bad56,0x7,_0x5cf79d[0x4]),_0x53db4c=_0x1a5809(_0x53db4c,_0x27fa3c,_0x144ccb,_0x9551,_0xd455ee,0xc,_0x5cf79d[0x5]),_0x9551=_0x1a5809(_0x9551,_0x53db4c,_0x27fa3c,_0x144ccb,_0x4d9317,0x11,_0x5cf79d[0x6]),_0x144ccb=_0x1a5809(_0x144ccb,_0x9551,_0x53db4c,_0x27fa3c,_0x5894f0,0x16,_0x5cf79d[0x7]),_0x27fa3c=_0x1a5809(_0x27fa3c,_0x144ccb,_0x9551,_0x53db4c,_0xd16c5,0x7,_0x5cf79d[0x8]),_0x53db4c=_0x1a5809(_0x53db4c,_0x27fa3c,_0x144ccb,_0x9551,_0x198d0f,0xc,_0x5cf79d[0x9]),_0x9551=_0x1a5809(_0x9551,_0x53db4c,_0x27fa3c,_0x144ccb,_0x3fc9d6,0x11,_0x5cf79d[0xa]),_0x144ccb=_0x1a5809(_0x144ccb,_0x9551,_0x53db4c,_0x27fa3c,_0xd0bfe7,0x16,_0x5cf79d[0xb]),_0x27fa3c=_0x1a5809(_0x27fa3c,_0x144ccb,_0x9551,_0x53db4c,_0x443adb,0x7,_0x5cf79d[0xc]),_0x53db4c=_0x1a5809(_0x53db4c,_0x27fa3c,_0x144ccb,_0x9551,_0x2f470a,0xc,_0x5cf79d[0xd]),_0x9551=_0x1a5809(_0x9551,_0x53db4c,_0x27fa3c,_0x144ccb,_0x927c2a,0x11,_0x5cf79d[0xe]),_0x144ccb=_0x1a5809(_0x144ccb,_0x9551,_0x53db4c,_0x27fa3c,_0x41de63,0x16,_0x5cf79d[0xf]),_0x27fa3c=_0x96d1e4(_0x27fa3c,_0x144ccb,_0x9551,_0x53db4c,_0x3a9ce0,0x5,_0x5cf79d[0x10]),_0x53db4c=_0x96d1e4(_0x53db4c,_0x27fa3c,_0x144ccb,_0x9551,_0x4d9317,0x9,_0x5cf79d[0x11]),_0x9551=_0x96d1e4(_0x9551,_0x53db4c,_0x27fa3c,_0x144ccb,_0xd0bfe7,0xe,_0x5cf79d[0x12]),_0x144ccb=_0x96d1e4(_0x144ccb,_0x9551,_0x53db4c,_0x27fa3c,_0x4a2e6a,0x14,_0x5cf79d[0x13]),_0x27fa3c=_0x96d1e4(_0x27fa3c,_0x144ccb,_0x9551,_0x53db4c,_0xd455ee,0x5,_0x5cf79d[0x14]),_0x53db4c=_0x96d1e4(_0x53db4c,_0x27fa3c,_0x144ccb,_0x9551,_0x3fc9d6,0x9,_0x5cf79d[0x15]),_0x9551=_0x96d1e4(_0x9551,_0x53db4c,_0x27fa3c,_0x144ccb,_0x41de63,0xe,_0x5cf79d[0x16]),_0x144ccb=_0x96d1e4(_0x144ccb,_0x9551,_0x53db4c,_0x27fa3c,_0x1bad56,0x14,_0x5cf79d[0x17]),_0x27fa3c=_0x96d1e4(_0x27fa3c,_0x144ccb,_0x9551,_0x53db4c,_0x198d0f,0x5,_0x5cf79d[0x18]),_0x53db4c=_0x96d1e4(_0x53db4c,_0x27fa3c,_0x144ccb,_0x9551,_0x927c2a,0x9,_0x5cf79d[0x19]),_0x9551=_0x96d1e4(_0x9551,_0x53db4c,_0x27fa3c,_0x144ccb,_0x5823a6,0xe,_0x5cf79d[0x1a]),_0x144ccb=_0x96d1e4(_0x144ccb,_0x9551,_0x53db4c,_0x27fa3c,_0xd16c5,0x14,_0x5cf79d[0x1b]),_0x27fa3c=_0x96d1e4(_0x27fa3c,_0x144ccb,_0x9551,_0x53db4c,_0x2f470a,0x5,_0x5cf79d[0x1c]),_0x53db4c=_0x96d1e4(_0x53db4c,_0x27fa3c,_0x144ccb,_0x9551,_0x565cf1,0x9,_0x5cf79d[0x1d]),_0x9551=_0x96d1e4(_0x9551,_0x53db4c,_0x27fa3c,_0x144ccb,_0x5894f0,0xe,_0x5cf79d[0x1e]),_0x144ccb=_0x96d1e4(_0x144ccb,_0x9551,_0x53db4c,_0x27fa3c,_0x443adb,0x14,_0x5cf79d[0x1f]),_0x27fa3c=_0x233334(_0x27fa3c,_0x144ccb,_0x9551,_0x53db4c,_0xd455ee,0x4,_0x5cf79d[0x20]),_0x53db4c=_0x233334(_0x53db4c,_0x27fa3c,_0x144ccb,_0x9551,_0xd16c5,0xb,_0x5cf79d[0x21]),_0x9551=_0x233334(_0x9551,_0x53db4c,_0x27fa3c,_0x144ccb,_0xd0bfe7,0x10,_0x5cf79d[0x22]),_0x144ccb=_0x233334(_0x144ccb,_0x9551,_0x53db4c,_0x27fa3c,_0x927c2a,0x17,_0x5cf79d[0x23]),_0x27fa3c=_0x233334(_0x27fa3c,_0x144ccb,_0x9551,_0x53db4c,_0x3a9ce0,0x4,_0x5cf79d[0x24]),_0x53db4c=_0x233334(_0x53db4c,_0x27fa3c,_0x144ccb,_0x9551,_0x1bad56,0xb,_0x5cf79d[0x25]),_0x9551=_0x233334(_0x9551,_0x53db4c,_0x27fa3c,_0x144ccb,_0x5894f0,0x10,_0x5cf79d[0x26]),_0x144ccb=_0x233334(_0x144ccb,_0x9551,_0x53db4c,_0x27fa3c,_0x3fc9d6,0x17,_0x5cf79d[0x27]),_0x27fa3c=_0x233334(_0x27fa3c,_0x144ccb,_0x9551,_0x53db4c,_0x2f470a,0x4,_0x5cf79d[0x28]),_0x53db4c=_0x233334(_0x53db4c,_0x27fa3c,_0x144ccb,_0x9551,_0x4a2e6a,0xb,_0x5cf79d[0x29]),_0x9551=_0x233334(_0x9551,_0x53db4c,_0x27fa3c,_0x144ccb,_0x5823a6,0x10,_0x5cf79d[0x2a]),_0x144ccb=_0x233334(_0x144ccb,_0x9551,_0x53db4c,_0x27fa3c,_0x4d9317,0x17,_0x5cf79d[0x2b]),_0x27fa3c=_0x233334(_0x27fa3c,_0x144ccb,_0x9551,_0x53db4c,_0x198d0f,0x4,_0x5cf79d[0x2c]),_0x53db4c=_0x233334(_0x53db4c,_0x27fa3c,_0x144ccb,_0x9551,_0x443adb,0xb,_0x5cf79d[0x2d]),_0x9551=_0x233334(_0x9551,_0x53db4c,_0x27fa3c,_0x144ccb,_0x41de63,0x10,_0x5cf79d[0x2e]),_0x144ccb=_0x233334(_0x144ccb,_0x9551,_0x53db4c,_0x27fa3c,_0x565cf1,0x17,_0x5cf79d[0x2f]),_0x27fa3c=_0x18de27(_0x27fa3c,_0x144ccb,_0x9551,_0x53db4c,_0x4a2e6a,0x6,_0x5cf79d[0x30]),_0x53db4c=_0x18de27(_0x53db4c,_0x27fa3c,_0x144ccb,_0x9551,_0x5894f0,0xa,_0x5cf79d[0x31]),_0x9551=_0x18de27(_0x9551,_0x53db4c,_0x27fa3c,_0x144ccb,_0x927c2a,0xf,_0x5cf79d[0x32]),_0x144ccb=_0x18de27(_0x144ccb,_0x9551,_0x53db4c,_0x27fa3c,_0xd455ee,0x15,_0x5cf79d[0x33]),_0x27fa3c=_0x18de27(_0x27fa3c,_0x144ccb,_0x9551,_0x53db4c,_0x443adb,0x6,_0x5cf79d[0x34]),_0x53db4c=_0x18de27(_0x53db4c,_0x27fa3c,_0x144ccb,_0x9551,_0x5823a6,0xa,_0x5cf79d[0x35]),_0x9551=_0x18de27(_0x9551,_0x53db4c,_0x27fa3c,_0x144ccb,_0x3fc9d6,0xf,_0x5cf79d[0x36]),_0x144ccb=_0x18de27(_0x144ccb,_0x9551,_0x53db4c,_0x27fa3c,_0x3a9ce0,0x15,_0x5cf79d[0x37]),_0x27fa3c=_0x18de27(_0x27fa3c,_0x144ccb,_0x9551,_0x53db4c,_0xd16c5,0x6,_0x5cf79d[0x38]),_0x53db4c=_0x18de27(_0x53db4c,_0x27fa3c,_0x144ccb,_0x9551,_0x41de63,0xa,_0x5cf79d[0x39]),_0x9551=_0x18de27(_0x9551,_0x53db4c,_0x27fa3c,_0x144ccb,_0x4d9317,0xf,_0x5cf79d[0x3a]),_0x144ccb=_0x18de27(_0x144ccb,_0x9551,_0x53db4c,_0x27fa3c,_0x2f470a,0x15,_0x5cf79d[0x3b]),_0x27fa3c=_0x18de27(_0x27fa3c,_0x144ccb,_0x9551,_0x53db4c,_0x1bad56,0x6,_0x5cf79d[0x3c]),_0x53db4c=_0x18de27(_0x53db4c,_0x27fa3c,_0x144ccb,_0x9551,_0xd0bfe7,0xa,_0x5cf79d[0x3d]),_0x9551=_0x18de27(_0x9551,_0x53db4c,_0x27fa3c,_0x144ccb,_0x565cf1,0xf,_0x5cf79d[0x3e]),_0x144ccb=_0x18de27(_0x144ccb,_0x9551,_0x53db4c,_0x27fa3c,_0x198d0f,0x15,_0x5cf79d[0x3f]),_0x24d80f[0x0]=_0x24d80f[0x0]+_0x27fa3c|0x0,_0x24d80f[0x1]=_0x24d80f[0x1]+_0x144ccb|0x0,_0x24d80f[0x2]=_0x24d80f[0x2]+_0x9551|0x0,_0x24d80f[0x3]=_0x24d80f[0x3]+_0x53db4c|0x0;},'_doFinalize':function(){var _0x21aea6=_0x56bc6c,_0x2d8a6f=this[_0x21aea6(0x392)],_0x177216=_0x2d8a6f[_0x21aea6(0x44e)],_0x593df2=this['_nDataBytes']*0x8,_0x425b22=_0x2d8a6f['sigBytes']*0x8;_0x177216[_0x425b22>>>0x5]|=0x80<<0x18-_0x425b22%0x20;var _0x569976=_0x5adf49['floor'](_0x593df2/0x100000000),_0x24f54a=_0x593df2;_0x177216[(_0x425b22+0x40>>>0x9<<0x4)+0xf]=(_0x569976<<0x8|_0x569976>>>0x18)&0xff00ff|(_0x569976<<0x18|_0x569976>>>0x8)&0xff00ff00,_0x177216[(_0x425b22+0x40>>>0x9<<0x4)+0xe]=(_0x24f54a<<0x8|_0x24f54a>>>0x18)&0xff00ff|(_0x24f54a<<0x18|_0x24f54a>>>0x8)&0xff00ff00,_0x2d8a6f[_0x21aea6(0x252)]=(_0x177216[_0x21aea6(0x2f8)]+0x1)*0x4,this[_0x21aea6(0x22d)]();for(var _0x2771f5=this[_0x21aea6(0x313)],_0x46e60e=_0x2771f5[_0x21aea6(0x44e)],_0x1a51a2=0x0;_0x1a51a2<0x4;_0x1a51a2++){var _0xd39942=_0x46e60e[_0x1a51a2];_0x46e60e[_0x1a51a2]=(_0xd39942<<0x8|_0xd39942>>>0x18)&0xff00ff|(_0xd39942<<0x18|_0xd39942>>>0x8)&0xff00ff00;}return _0x2771f5;},'clone':function(){var _0x37093e=_0x56bc6c,_0x28b671=_0x3e1740[_0x37093e(0x395)][_0x37093e(0x3cd)](this);return _0x28b671[_0x37093e(0x313)]=this['_hash']['clone'](),_0x28b671;}});function _0x1a5809(_0x2c8790,_0x265b99,_0x5c4f2f,_0x521384,_0x5bdb09,_0x1f0f34,_0x4dc47e){var _0x5adcb1=_0x2c8790+(_0x265b99&_0x5c4f2f|~_0x265b99&_0x521384)+_0x5bdb09+_0x4dc47e;return(_0x5adcb1<<_0x1f0f34|_0x5adcb1>>>0x20-_0x1f0f34)+_0x265b99;}function _0x96d1e4(_0x46aa14,_0x485b31,_0x248d2b,_0x122c82,_0x141625,_0x2c5c3f,_0x3260de){var _0x1cec41=_0x46aa14+(_0x485b31&_0x122c82|_0x248d2b&~_0x122c82)+_0x141625+_0x3260de;return(_0x1cec41<<_0x2c5c3f|_0x1cec41>>>0x20-_0x2c5c3f)+_0x485b31;}function _0x233334(_0xdca9f9,_0x584eba,_0x2093cc,_0x17b742,_0x15b9dd,_0x364201,_0x5eb5d1){var _0x1f2222=_0xdca9f9+(_0x584eba^_0x2093cc^_0x17b742)+_0x15b9dd+_0x5eb5d1;return(_0x1f2222<<_0x364201|_0x1f2222>>>0x20-_0x364201)+_0x584eba;}function _0x18de27(_0x3b60b3,_0x3e9eb5,_0x5504fd,_0x4fc824,_0x5a487c,_0x3ba9ff,_0x564f0e){var _0x48770a=_0x3b60b3+(_0x5504fd^(_0x3e9eb5|~_0x4fc824))+_0x5a487c+_0x564f0e;return(_0x48770a<<_0x3ba9ff|_0x48770a>>>0x20-_0x3ba9ff)+_0x3e9eb5;}_0x37b89e[_0x56bc6c(0x3c9)]=_0x3e1740[_0x56bc6c(0x2f5)](_0x762a02),_0x37b89e[_0x56bc6c(0x2cb)]=_0x3e1740[_0x56bc6c(0x172)](_0x762a02);}(Math),_0x32f8ae['MD5'];}));}(ze)),ze[_0x1f2475(0x17b)];}var Ye={'exports':{}},qe={'exports':{}},Fs=qe[_0x4b970c(0x17b)],ii;function Vs(){return ii||(ii=0x1,function(_0x4d320e,_0x4eca7c){(function(_0x1f5010,_0x39acff){var _0x54e624=_0x30ed;_0x4d320e[_0x54e624(0x17b)]=_0x39acff(ne());}(Fs,function(_0x87b21){var _0x1fa406=_0x30ed;return(function(){var _0x2865eb=_0x30ed,_0x4f166d=_0x87b21,_0x19a689=_0x4f166d[_0x2865eb(0x1a1)],_0x40d534=_0x19a689[_0x2865eb(0x421)],_0x1f07ef=_0x19a689[_0x2865eb(0x2b9)],_0x3325cd=_0x4f166d[_0x2865eb(0x393)],_0x537c1e=[],_0x3ae8fe=_0x3325cd['SHA1']=_0x1f07ef[_0x2865eb(0x38b)]({'_doReset':function(){var _0x525d42=_0x2865eb;this[_0x525d42(0x313)]=new _0x40d534[(_0x525d42(0x3a7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x357c1b,_0x2a6f37){var _0x39d8b2=_0x2865eb;for(var _0x1f853b=this[_0x39d8b2(0x313)][_0x39d8b2(0x44e)],_0xe500f3=_0x1f853b[0x0],_0x1b8ddd=_0x1f853b[0x1],_0x44192d=_0x1f853b[0x2],_0x255481=_0x1f853b[0x3],_0x530d12=_0x1f853b[0x4],_0xe85ece=0x0;_0xe85ece<0x50;_0xe85ece++){if(_0xe85ece<0x10)_0x537c1e[_0xe85ece]=_0x357c1b[_0x2a6f37+_0xe85ece]|0x0;else{var _0x14b680=_0x537c1e[_0xe85ece-0x3]^_0x537c1e[_0xe85ece-0x8]^_0x537c1e[_0xe85ece-0xe]^_0x537c1e[_0xe85ece-0x10];_0x537c1e[_0xe85ece]=_0x14b680<<0x1|_0x14b680>>>0x1f;}var _0x11cd0a=(_0xe500f3<<0x5|_0xe500f3>>>0x1b)+_0x530d12+_0x537c1e[_0xe85ece];_0xe85ece<0x14?_0x11cd0a+=(_0x1b8ddd&_0x44192d|~_0x1b8ddd&_0x255481)+0x5a827999:_0xe85ece<0x28?_0x11cd0a+=(_0x1b8ddd^_0x44192d^_0x255481)+0x6ed9eba1:_0xe85ece<0x3c?_0x11cd0a+=(_0x1b8ddd&_0x44192d|_0x1b8ddd&_0x255481|_0x44192d&_0x255481)-0x70e44324:_0x11cd0a+=(_0x1b8ddd^_0x44192d^_0x255481)-0x359d3e2a,_0x530d12=_0x255481,_0x255481=_0x44192d,_0x44192d=_0x1b8ddd<<0x1e|_0x1b8ddd>>>0x2,_0x1b8ddd=_0xe500f3,_0xe500f3=_0x11cd0a;}_0x1f853b[0x0]=_0x1f853b[0x0]+_0xe500f3|0x0,_0x1f853b[0x1]=_0x1f853b[0x1]+_0x1b8ddd|0x0,_0x1f853b[0x2]=_0x1f853b[0x2]+_0x44192d|0x0,_0x1f853b[0x3]=_0x1f853b[0x3]+_0x255481|0x0,_0x1f853b[0x4]=_0x1f853b[0x4]+_0x530d12|0x0;},'_doFinalize':function(){var _0x2cfde0=_0x2865eb,_0x270f46=this[_0x2cfde0(0x392)],_0x44dd76=_0x270f46[_0x2cfde0(0x44e)],_0x4fa097=this[_0x2cfde0(0x305)]*0x8,_0x51623c=_0x270f46[_0x2cfde0(0x252)]*0x8;return _0x44dd76[_0x51623c>>>0x5]|=0x80<<0x18-_0x51623c%0x20,_0x44dd76[(_0x51623c+0x40>>>0x9<<0x4)+0xe]=Math[_0x2cfde0(0x452)](_0x4fa097/0x100000000),_0x44dd76[(_0x51623c+0x40>>>0x9<<0x4)+0xf]=_0x4fa097,_0x270f46[_0x2cfde0(0x252)]=_0x44dd76[_0x2cfde0(0x2f8)]*0x4,this['_process'](),this[_0x2cfde0(0x313)];},'clone':function(){var _0x4e4981=_0x2865eb,_0x16db03=_0x1f07ef[_0x4e4981(0x395)][_0x4e4981(0x3cd)](this);return _0x16db03[_0x4e4981(0x313)]=this[_0x4e4981(0x313)][_0x4e4981(0x395)](),_0x16db03;}});_0x4f166d[_0x2865eb(0x18e)]=_0x1f07ef['_createHelper'](_0x3ae8fe),_0x4f166d[_0x2865eb(0x2c4)]=_0x1f07ef[_0x2865eb(0x172)](_0x3ae8fe);}()),_0x87b21[_0x1fa406(0x18e)];}));}(qe)),qe['exports'];}var Je={'exports':{}},Ws=Je[_0x4b970c(0x17b)],ni;function Gs(){var _0x1d83ef=_0x4b970c;return ni||(ni=0x1,function(_0x28bbb8,_0x577885){(function(_0x3a56ae,_0x3767bc){var _0x263c19=_0x30ed;_0x28bbb8[_0x263c19(0x17b)]=_0x3767bc(ne());}(Ws,function(_0x425fa4){(function(){var _0x3e49d2=_0x30ed,_0x39163a=_0x425fa4,_0x550bb5=_0x39163a[_0x3e49d2(0x1a1)],_0x14fa03=_0x550bb5[_0x3e49d2(0x371)],_0xa3297d=_0x39163a[_0x3e49d2(0x25e)],_0x25ee5e=_0xa3297d['Utf8'],_0x3f92ae=_0x39163a['algo'];_0x3f92ae[_0x3e49d2(0x21e)]=_0x14fa03['extend']({'init':function(_0x17f54b,_0x24e26d){var _0x2729a8=_0x3e49d2;_0x17f54b=this['_hasher']=new _0x17f54b[(_0x2729a8(0x3a7))](),typeof _0x24e26d==_0x2729a8(0x3f5)&&(_0x24e26d=_0x25ee5e['parse'](_0x24e26d));var _0x276ecb=_0x17f54b[_0x2729a8(0x442)],_0x4feebf=_0x276ecb*0x4;_0x24e26d[_0x2729a8(0x252)]>_0x4feebf&&(_0x24e26d=_0x17f54b[_0x2729a8(0x19b)](_0x24e26d)),_0x24e26d[_0x2729a8(0x263)]();for(var _0x5b6ad9=this['_oKey']=_0x24e26d[_0x2729a8(0x395)](),_0x19075e=this['_iKey']=_0x24e26d[_0x2729a8(0x395)](),_0x49f46d=_0x5b6ad9[_0x2729a8(0x44e)],_0x55fa55=_0x19075e[_0x2729a8(0x44e)],_0x2f7080=0x0;_0x2f7080<_0x276ecb;_0x2f7080++)_0x49f46d[_0x2f7080]^=0x5c5c5c5c,_0x55fa55[_0x2f7080]^=0x36363636;_0x5b6ad9[_0x2729a8(0x252)]=_0x19075e[_0x2729a8(0x252)]=_0x4feebf,this[_0x2729a8(0x31e)]();},'reset':function(){var _0xa05d93=_0x3e49d2,_0x542098=this[_0xa05d93(0x162)];_0x542098[_0xa05d93(0x31e)](),_0x542098[_0xa05d93(0x32b)](this[_0xa05d93(0x19d)]);},'update':function(_0x538f26){var _0x93c249=_0x3e49d2;return this[_0x93c249(0x162)]['update'](_0x538f26),this;},'finalize':function(_0xb686d){var _0x4798c2=_0x3e49d2,_0x305af6=this[_0x4798c2(0x162)],_0x3e34c8=_0x305af6[_0x4798c2(0x19b)](_0xb686d);_0x305af6['reset']();var _0x606ed1=_0x305af6['finalize'](this[_0x4798c2(0x217)][_0x4798c2(0x395)]()[_0x4798c2(0x46e)](_0x3e34c8));return _0x606ed1;}});}());}));}(Je)),Je[_0x1d83ef(0x17b)];}var Ks=Ye[_0x4b970c(0x17b)],si;function Ai(){var _0x1f73cf=_0x4b970c;return si||(si=0x1,function(_0x55d7cc,_0x3026fe){(function(_0x45b3d0,_0x35427e,_0x255c49){var _0x2db501=_0x30ed;_0x55d7cc[_0x2db501(0x17b)]=_0x35427e(ne(),Vs(),Gs());}(Ks,function(_0x1a9cdc){var _0x10c9e0=_0x30ed;return(function(){var _0x3d5452=_0x30ed,_0x20844b=_0x1a9cdc,_0x40ec4b=_0x20844b['lib'],_0x1b7db7=_0x40ec4b[_0x3d5452(0x371)],_0x1f1def=_0x40ec4b[_0x3d5452(0x421)],_0x271b5d=_0x20844b[_0x3d5452(0x393)],_0xd23ef7=_0x271b5d[_0x3d5452(0x3c9)],_0x43649f=_0x271b5d[_0x3d5452(0x379)]=_0x1b7db7[_0x3d5452(0x38b)]({'cfg':_0x1b7db7[_0x3d5452(0x38b)]({'keySize':0x80/0x20,'hasher':_0xd23ef7,'iterations':0x1}),'init':function(_0x234107){var _0x3f135c=_0x3d5452;this[_0x3f135c(0x428)]=this[_0x3f135c(0x428)]['extend'](_0x234107);},'compute':function(_0x5a61e4,_0x83ffdd){var _0x4d12ac=_0x3d5452;for(var _0x40e1d5,_0x307b52=this[_0x4d12ac(0x428)],_0x5ee18a=_0x307b52['hasher'][_0x4d12ac(0x173)](),_0x4e64af=_0x1f1def['create'](),_0x306130=_0x4e64af['words'],_0x32c38a=_0x307b52[_0x4d12ac(0x2aa)],_0x160449=_0x307b52[_0x4d12ac(0x2e7)];_0x306130[_0x4d12ac(0x2f8)]<_0x32c38a;){_0x40e1d5&&_0x5ee18a[_0x4d12ac(0x32b)](_0x40e1d5),_0x40e1d5=_0x5ee18a[_0x4d12ac(0x32b)](_0x5a61e4)[_0x4d12ac(0x19b)](_0x83ffdd),_0x5ee18a[_0x4d12ac(0x31e)]();for(var _0x3bd24f=0x1;_0x3bd24f<_0x160449;_0x3bd24f++)_0x40e1d5=_0x5ee18a[_0x4d12ac(0x19b)](_0x40e1d5),_0x5ee18a['reset']();_0x4e64af[_0x4d12ac(0x46e)](_0x40e1d5);}return _0x4e64af[_0x4d12ac(0x252)]=_0x32c38a*0x4,_0x4e64af;}});_0x20844b[_0x3d5452(0x379)]=function(_0x3abc16,_0x46df53,_0x5d9930){var _0x5a4ef1=_0x3d5452;return _0x43649f['create'](_0x5d9930)[_0x5a4ef1(0x183)](_0x3abc16,_0x46df53);};}()),_0x1a9cdc[_0x10c9e0(0x379)];}));}(Ye)),Ye[_0x1f73cf(0x17b)];}var Xe={'exports':{}},zs=Xe['exports'],ri;function xi(){var _0xdcf247=_0x4b970c;return ri||(ri=0x1,function(_0x310fb6,_0xd9d910){(function(_0x3c27e7,_0x4b5757,_0x31709f){var _0x3fce68=_0x30ed;_0x310fb6[_0x3fce68(0x17b)]=_0x4b5757(ne(),Ai());}(zs,function(_0x57b2a6){var _0x1a50a9=_0x30ed;_0x57b2a6[_0x1a50a9(0x1a1)][_0x1a50a9(0x202)]||function(_0x1fdf2e){var _0x18afba=_0x1a50a9,_0x5e234b=_0x57b2a6,_0x32f3bc=_0x5e234b['lib'],_0x14b016=_0x32f3bc[_0x18afba(0x371)],_0x1b0a59=_0x32f3bc[_0x18afba(0x421)],_0x148220=_0x32f3bc[_0x18afba(0x46d)],_0x33c6a5=_0x5e234b[_0x18afba(0x25e)];_0x33c6a5[_0x18afba(0x1ab)];var _0x3d27a0=_0x33c6a5[_0x18afba(0x35c)],_0x1b7b99=_0x5e234b['algo'],_0x3cae57=_0x1b7b99['EvpKDF'],_0x3ed5d1=_0x32f3bc[_0x18afba(0x202)]=_0x148220['extend']({'cfg':_0x14b016['extend'](),'createEncryptor':function(_0x4d7e8f,_0x10e5a0){var _0x1a5fe2=_0x18afba;return this[_0x1a5fe2(0x173)](this['_ENC_XFORM_MODE'],_0x4d7e8f,_0x10e5a0);},'createDecryptor':function(_0x5b0c6b,_0x365d94){var _0x431a2a=_0x18afba;return this[_0x431a2a(0x173)](this[_0x431a2a(0x15f)],_0x5b0c6b,_0x365d94);},'init':function(_0xd0a75,_0x40fce3,_0x2bd7a8){var _0x3f5d66=_0x18afba;this[_0x3f5d66(0x428)]=this[_0x3f5d66(0x428)]['extend'](_0x2bd7a8),this['_xformMode']=_0xd0a75,this[_0x3f5d66(0x1b9)]=_0x40fce3,this[_0x3f5d66(0x31e)]();},'reset':function(){var _0x55d0fe=_0x18afba;_0x148220[_0x55d0fe(0x31e)][_0x55d0fe(0x3cd)](this),this[_0x55d0fe(0x206)]();},'process':function(_0x130f5e){var _0x25e616=_0x18afba;return this['_append'](_0x130f5e),this[_0x25e616(0x22d)]();},'finalize':function(_0x11e429){var _0x53ad4b=_0x18afba;_0x11e429&&this[_0x53ad4b(0x3e3)](_0x11e429);var _0x2c5ec2=this[_0x53ad4b(0x1d3)]();return _0x2c5ec2;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x40093b(_0x49590d){var _0x712857=_0x30ed;return typeof _0x49590d==_0x712857(0x3f5)?_0xa5a700:_0x4875af;}return function(_0x28abd8){return{'encrypt':function(_0x2be088,_0x21343d,_0x1a95c5){var _0x5b0217=_0x30ed;return _0x40093b(_0x21343d)[_0x5b0217(0x43f)](_0x28abd8,_0x2be088,_0x21343d,_0x1a95c5);},'decrypt':function(_0x1a3164,_0x7ad3b,_0x496da8){var _0x4caf78=_0x30ed;return _0x40093b(_0x7ad3b)[_0x4caf78(0x20e)](_0x28abd8,_0x1a3164,_0x7ad3b,_0x496da8);}};};}())});_0x32f3bc['StreamCipher']=_0x3ed5d1['extend']({'_doFinalize':function(){var _0x32ad94=_0x18afba,_0x1ff2c6=this[_0x32ad94(0x22d)](!0x0);return _0x1ff2c6;},'blockSize':0x1});var _0x1c5f4a=_0x5e234b[_0x18afba(0x24b)]={},_0x56b824=_0x32f3bc['BlockCipherMode']=_0x14b016['extend']({'createEncryptor':function(_0x525dd5,_0x59b896){return this['Encryptor']['create'](_0x525dd5,_0x59b896);},'createDecryptor':function(_0x529d63,_0x20502b){var _0x29a8cb=_0x18afba;return this['Decryptor'][_0x29a8cb(0x173)](_0x529d63,_0x20502b);},'init':function(_0x1c7f32,_0x53ee0f){var _0x136a20=_0x18afba;this[_0x136a20(0x1f4)]=_0x1c7f32,this['_iv']=_0x53ee0f;}}),_0x5e2fcc=_0x1c5f4a[_0x18afba(0x438)]=(function(){var _0x31ce42=_0x18afba,_0x35f1b3=_0x56b824[_0x31ce42(0x38b)]();_0x35f1b3[_0x31ce42(0x339)]=_0x35f1b3['extend']({'processBlock':function(_0x753f5b,_0x2199e5){var _0x522164=_0x31ce42,_0x5503fb=this[_0x522164(0x1f4)],_0x15c0b6=_0x5503fb[_0x522164(0x442)];_0x14bd9a['call'](this,_0x753f5b,_0x2199e5,_0x15c0b6),_0x5503fb[_0x522164(0x3d8)](_0x753f5b,_0x2199e5),this['_prevBlock']=_0x753f5b['slice'](_0x2199e5,_0x2199e5+_0x15c0b6);}}),_0x35f1b3[_0x31ce42(0x2af)]=_0x35f1b3[_0x31ce42(0x38b)]({'processBlock':function(_0x5087a1,_0x55728b){var _0x108c0d=_0x31ce42,_0x971a70=this[_0x108c0d(0x1f4)],_0x5036bf=_0x971a70[_0x108c0d(0x442)],_0x399a2d=_0x5087a1[_0x108c0d(0x431)](_0x55728b,_0x55728b+_0x5036bf);_0x971a70[_0x108c0d(0x417)](_0x5087a1,_0x55728b),_0x14bd9a[_0x108c0d(0x3cd)](this,_0x5087a1,_0x55728b,_0x5036bf),this[_0x108c0d(0x454)]=_0x399a2d;}});function _0x14bd9a(_0x3a06ce,_0x38d441,_0x4fa8eb){var _0x384ba1=_0x31ce42,_0x10abd6,_0x316d88=this[_0x384ba1(0x39c)];_0x316d88?(_0x10abd6=_0x316d88,this[_0x384ba1(0x39c)]=_0x1fdf2e):_0x10abd6=this[_0x384ba1(0x454)];for(var _0x310fe9=0x0;_0x310fe9<_0x4fa8eb;_0x310fe9++)_0x3a06ce[_0x38d441+_0x310fe9]^=_0x10abd6[_0x310fe9];}return _0x35f1b3;}()),_0x4a9c78=_0x5e234b[_0x18afba(0x19f)]={},_0x29001b=_0x4a9c78[_0x18afba(0x338)]={'pad':function(_0x24a478,_0x296c15){var _0x59639f=_0x18afba;for(var _0x35f808=_0x296c15*0x4,_0x380618=_0x35f808-_0x24a478['sigBytes']%_0x35f808,_0x3d4cab=_0x380618<<0x18|_0x380618<<0x10|_0x380618<<0x8|_0x380618,_0x572529=[],_0x299cc5=0x0;_0x299cc5<_0x380618;_0x299cc5+=0x4)_0x572529['push'](_0x3d4cab);var _0x595456=_0x1b0a59[_0x59639f(0x173)](_0x572529,_0x380618);_0x24a478[_0x59639f(0x46e)](_0x595456);},'unpad':function(_0x7b07c0){var _0x3c82b5=_0x18afba,_0x1654db=_0x7b07c0[_0x3c82b5(0x44e)][_0x7b07c0[_0x3c82b5(0x252)]-0x1>>>0x2]&0xff;_0x7b07c0['sigBytes']-=_0x1654db;}};_0x32f3bc[_0x18afba(0x28f)]=_0x3ed5d1['extend']({'cfg':_0x3ed5d1[_0x18afba(0x428)][_0x18afba(0x38b)]({'mode':_0x5e2fcc,'padding':_0x29001b}),'reset':function(){var _0x4181ca=_0x18afba,_0x8dce83;_0x3ed5d1[_0x4181ca(0x31e)][_0x4181ca(0x3cd)](this);var _0x56199e=this['cfg'],_0x29d963=_0x56199e['iv'],_0x285358=_0x56199e[_0x4181ca(0x24b)];this[_0x4181ca(0x218)]==this[_0x4181ca(0x415)]?_0x8dce83=_0x285358[_0x4181ca(0x27f)]:(_0x8dce83=_0x285358[_0x4181ca(0x1cc)],this[_0x4181ca(0x3e6)]=0x1),this[_0x4181ca(0x314)]&&this[_0x4181ca(0x314)][_0x4181ca(0x404)]==_0x8dce83?this['_mode'][_0x4181ca(0x3a7)](this,_0x29d963&&_0x29d963['words']):(this[_0x4181ca(0x314)]=_0x8dce83['call'](_0x285358,this,_0x29d963&&_0x29d963[_0x4181ca(0x44e)]),this[_0x4181ca(0x314)]['__creator']=_0x8dce83);},'_doProcessBlock':function(_0x13ad08,_0x409d9e){var _0x4a6d1e=_0x18afba;this[_0x4a6d1e(0x314)]['processBlock'](_0x13ad08,_0x409d9e);},'_doFinalize':function(){var _0x9ad390=_0x18afba,_0x2c1c3b,_0x521840=this[_0x9ad390(0x428)][_0x9ad390(0x261)];return this['_xformMode']==this[_0x9ad390(0x415)]?(_0x521840[_0x9ad390(0x19f)](this['_data'],this[_0x9ad390(0x442)]),_0x2c1c3b=this[_0x9ad390(0x22d)](!0x0)):(_0x2c1c3b=this[_0x9ad390(0x22d)](!0x0),_0x521840[_0x9ad390(0x17e)](_0x2c1c3b)),_0x2c1c3b;},'blockSize':0x80/0x20});var _0x4105b1=_0x32f3bc[_0x18afba(0x180)]=_0x14b016['extend']({'init':function(_0x81587a){var _0x462aef=_0x18afba;this[_0x462aef(0x244)](_0x81587a);},'toString':function(_0x1d723a){var _0x2d946d=_0x18afba;return(_0x1d723a||this[_0x2d946d(0x1c3)])['stringify'](this);}}),_0xd4b8f=_0x5e234b[_0x18afba(0x411)]={},_0x557f00=_0xd4b8f[_0x18afba(0x16a)]={'stringify':function(_0x3dad77){var _0x1438d5=_0x18afba,_0x5b9c88,_0x340fcd=_0x3dad77[_0x1438d5(0x3ee)],_0x536944=_0x3dad77[_0x1438d5(0x304)];return _0x536944?_0x5b9c88=_0x1b0a59[_0x1438d5(0x173)]([0x53616c74,0x65645f5f])['concat'](_0x536944)[_0x1438d5(0x46e)](_0x340fcd):_0x5b9c88=_0x340fcd,_0x5b9c88['toString'](_0x3d27a0);},'parse':function(_0x1e7bfb){var _0x19a7c1=_0x18afba,_0x5cce5d,_0x26ad44=_0x3d27a0[_0x19a7c1(0x222)](_0x1e7bfb),_0x3a26c1=_0x26ad44[_0x19a7c1(0x44e)];return _0x3a26c1[0x0]==0x53616c74&&_0x3a26c1[0x1]==0x65645f5f&&(_0x5cce5d=_0x1b0a59[_0x19a7c1(0x173)](_0x3a26c1[_0x19a7c1(0x431)](0x2,0x4)),_0x3a26c1[_0x19a7c1(0x3ab)](0x0,0x4),_0x26ad44[_0x19a7c1(0x252)]-=0x10),_0x4105b1[_0x19a7c1(0x173)]({'ciphertext':_0x26ad44,'salt':_0x5cce5d});}},_0x4875af=_0x32f3bc[_0x18afba(0x447)]=_0x14b016['extend']({'cfg':_0x14b016['extend']({'format':_0x557f00}),'encrypt':function(_0x280aee,_0x5cb4f1,_0x3b06fc,_0x474cbf){var _0x13c988=_0x18afba;_0x474cbf=this[_0x13c988(0x428)][_0x13c988(0x38b)](_0x474cbf);var _0x2955e6=_0x280aee[_0x13c988(0x27f)](_0x3b06fc,_0x474cbf),_0x19aa6f=_0x2955e6[_0x13c988(0x19b)](_0x5cb4f1),_0x1c40a6=_0x2955e6[_0x13c988(0x428)];return _0x4105b1[_0x13c988(0x173)]({'ciphertext':_0x19aa6f,'key':_0x3b06fc,'iv':_0x1c40a6['iv'],'algorithm':_0x280aee,'mode':_0x1c40a6['mode'],'padding':_0x1c40a6[_0x13c988(0x261)],'blockSize':_0x280aee[_0x13c988(0x442)],'formatter':_0x474cbf[_0x13c988(0x411)]});},'decrypt':function(_0x2dab41,_0x3e73ee,_0x5e0f87,_0x1459c1){var _0x333e95=_0x18afba;_0x1459c1=this[_0x333e95(0x428)]['extend'](_0x1459c1),_0x3e73ee=this[_0x333e95(0x320)](_0x3e73ee,_0x1459c1[_0x333e95(0x411)]);var _0x48bfe1=_0x2dab41[_0x333e95(0x1cc)](_0x5e0f87,_0x1459c1)[_0x333e95(0x19b)](_0x3e73ee[_0x333e95(0x3ee)]);return _0x48bfe1;},'_parse':function(_0x2f11c0,_0x4b7520){var _0x43dce4=_0x18afba;return typeof _0x2f11c0=='string'?_0x4b7520[_0x43dce4(0x222)](_0x2f11c0,this):_0x2f11c0;}}),_0x4bf76a=_0x5e234b[_0x18afba(0x293)]={},_0x252917=_0x4bf76a['OpenSSL']={'execute':function(_0x1fec0e,_0xe978cb,_0x1955e5,_0x5976f5,_0x2dbc7a){var _0x4a7d18=_0x18afba;if(_0x5976f5||(_0x5976f5=_0x1b0a59[_0x4a7d18(0x1c5)](0x40/0x8)),_0x2dbc7a)var _0x4e051c=_0x3cae57[_0x4a7d18(0x173)]({'keySize':_0xe978cb+_0x1955e5,'hasher':_0x2dbc7a})[_0x4a7d18(0x183)](_0x1fec0e,_0x5976f5);else var _0x4e051c=_0x3cae57['create']({'keySize':_0xe978cb+_0x1955e5})[_0x4a7d18(0x183)](_0x1fec0e,_0x5976f5);var _0x5e37c3=_0x1b0a59['create'](_0x4e051c[_0x4a7d18(0x44e)][_0x4a7d18(0x431)](_0xe978cb),_0x1955e5*0x4);return _0x4e051c[_0x4a7d18(0x252)]=_0xe978cb*0x4,_0x4105b1[_0x4a7d18(0x173)]({'key':_0x4e051c,'iv':_0x5e37c3,'salt':_0x5976f5});}},_0xa5a700=_0x32f3bc[_0x18afba(0x387)]=_0x4875af[_0x18afba(0x38b)]({'cfg':_0x4875af[_0x18afba(0x428)][_0x18afba(0x38b)]({'kdf':_0x252917}),'encrypt':function(_0x26e879,_0x61fbbb,_0x44866e,_0x2ee840){var _0x520c09=_0x18afba;_0x2ee840=this[_0x520c09(0x428)]['extend'](_0x2ee840);var _0x3c647a=_0x2ee840[_0x520c09(0x293)][_0x520c09(0x398)](_0x44866e,_0x26e879[_0x520c09(0x2aa)],_0x26e879[_0x520c09(0x169)],_0x2ee840[_0x520c09(0x304)],_0x2ee840['hasher']);_0x2ee840['iv']=_0x3c647a['iv'];var _0x5fee51=_0x4875af[_0x520c09(0x43f)][_0x520c09(0x3cd)](this,_0x26e879,_0x61fbbb,_0x3c647a['key'],_0x2ee840);return _0x5fee51['mixIn'](_0x3c647a),_0x5fee51;},'decrypt':function(_0x5e0e2d,_0x2b5fd1,_0x300c38,_0x43d35c){var _0x55afd9=_0x18afba;_0x43d35c=this[_0x55afd9(0x428)][_0x55afd9(0x38b)](_0x43d35c),_0x2b5fd1=this[_0x55afd9(0x320)](_0x2b5fd1,_0x43d35c[_0x55afd9(0x411)]);var _0x5e8a71=_0x43d35c[_0x55afd9(0x293)][_0x55afd9(0x398)](_0x300c38,_0x5e0e2d['keySize'],_0x5e0e2d[_0x55afd9(0x169)],_0x2b5fd1[_0x55afd9(0x304)],_0x43d35c[_0x55afd9(0x227)]);_0x43d35c['iv']=_0x5e8a71['iv'];var _0x478441=_0x4875af[_0x55afd9(0x20e)][_0x55afd9(0x3cd)](this,_0x5e0e2d,_0x2b5fd1,_0x5e8a71[_0x55afd9(0x267)],_0x43d35c);return _0x478441;}});}();}));}(Xe)),Xe[_0xdcf247(0x17b)];}var Ys=We[_0x4b970c(0x17b)],oi;function qs(){return oi||(oi=0x1,function(_0x43abb9,_0x3a511f){(function(_0x4b7375,_0x341954,_0x44358e){var _0x3507e0=_0x30ed;_0x43abb9[_0x3507e0(0x17b)]=_0x341954(ne(),Ui(),Bs(),Ai(),xi());}(Ys,function(_0x3409b8){var _0x489cd2=_0x30ed;return(function(){var _0x4465da=_0x30ed,_0x33a3aa=_0x3409b8,_0xe600dc=_0x33a3aa['lib'],_0x4e7645=_0xe600dc[_0x4465da(0x28f)],_0x35ec69=_0x33a3aa[_0x4465da(0x393)],_0x1f521d=[],_0x4931ee=[],_0x433601=[],_0x1367c7=[],_0x2de0c7=[],_0x5ddacc=[],_0x58ac1c=[],_0x1c07d0=[],_0x30816f=[],_0x2fcbff=[];(function(){for(var _0xb03e77=[],_0xff1c35=0x0;_0xff1c35<0x100;_0xff1c35++)_0xff1c35<0x80?_0xb03e77[_0xff1c35]=_0xff1c35<<0x1:_0xb03e77[_0xff1c35]=_0xff1c35<<0x1^0x11b;for(var _0x3e6c9e=0x0,_0x2299a7=0x0,_0xff1c35=0x0;_0xff1c35<0x100;_0xff1c35++){var _0x2c09ae=_0x2299a7^_0x2299a7<<0x1^_0x2299a7<<0x2^_0x2299a7<<0x3^_0x2299a7<<0x4;_0x2c09ae=_0x2c09ae>>>0x8^_0x2c09ae&0xff^0x63,_0x1f521d[_0x3e6c9e]=_0x2c09ae,_0x4931ee[_0x2c09ae]=_0x3e6c9e;var _0x5f0952=_0xb03e77[_0x3e6c9e],_0x26a2f6=_0xb03e77[_0x5f0952],_0x106d1e=_0xb03e77[_0x26a2f6],_0x33d07d=_0xb03e77[_0x2c09ae]*0x101^_0x2c09ae*0x1010100;_0x433601[_0x3e6c9e]=_0x33d07d<<0x18|_0x33d07d>>>0x8,_0x1367c7[_0x3e6c9e]=_0x33d07d<<0x10|_0x33d07d>>>0x10,_0x2de0c7[_0x3e6c9e]=_0x33d07d<<0x8|_0x33d07d>>>0x18,_0x5ddacc[_0x3e6c9e]=_0x33d07d;var _0x33d07d=_0x106d1e*0x1010101^_0x26a2f6*0x10001^_0x5f0952*0x101^_0x3e6c9e*0x1010100;_0x58ac1c[_0x2c09ae]=_0x33d07d<<0x18|_0x33d07d>>>0x8,_0x1c07d0[_0x2c09ae]=_0x33d07d<<0x10|_0x33d07d>>>0x10,_0x30816f[_0x2c09ae]=_0x33d07d<<0x8|_0x33d07d>>>0x18,_0x2fcbff[_0x2c09ae]=_0x33d07d,_0x3e6c9e?(_0x3e6c9e=_0x5f0952^_0xb03e77[_0xb03e77[_0xb03e77[_0x106d1e^_0x5f0952]]],_0x2299a7^=_0xb03e77[_0xb03e77[_0x2299a7]]):_0x3e6c9e=_0x2299a7=0x1;}}());var _0x3cfd56=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x48c647=_0x35ec69['AES']=_0x4e7645[_0x4465da(0x38b)]({'_doReset':function(){var _0x338b3c=_0x4465da,_0x22e515;if(!(this['_nRounds']&&this[_0x338b3c(0x1ee)]===this[_0x338b3c(0x1b9)])){for(var _0x8d1c6a=this[_0x338b3c(0x1ee)]=this[_0x338b3c(0x1b9)],_0x101a50=_0x8d1c6a['words'],_0x2b330b=_0x8d1c6a[_0x338b3c(0x252)]/0x4,_0x421a66=this[_0x338b3c(0x3c8)]=_0x2b330b+0x6,_0x5c71f5=(_0x421a66+0x1)*0x4,_0x2f4ed3=this[_0x338b3c(0x1d8)]=[],_0x443d3e=0x0;_0x443d3e<_0x5c71f5;_0x443d3e++)_0x443d3e<_0x2b330b?_0x2f4ed3[_0x443d3e]=_0x101a50[_0x443d3e]:(_0x22e515=_0x2f4ed3[_0x443d3e-0x1],_0x443d3e%_0x2b330b?_0x2b330b>0x6&&_0x443d3e%_0x2b330b==0x4&&(_0x22e515=_0x1f521d[_0x22e515>>>0x18]<<0x18|_0x1f521d[_0x22e515>>>0x10&0xff]<<0x10|_0x1f521d[_0x22e515>>>0x8&0xff]<<0x8|_0x1f521d[_0x22e515&0xff]):(_0x22e515=_0x22e515<<0x8|_0x22e515>>>0x18,_0x22e515=_0x1f521d[_0x22e515>>>0x18]<<0x18|_0x1f521d[_0x22e515>>>0x10&0xff]<<0x10|_0x1f521d[_0x22e515>>>0x8&0xff]<<0x8|_0x1f521d[_0x22e515&0xff],_0x22e515^=_0x3cfd56[_0x443d3e/_0x2b330b|0x0]<<0x18),_0x2f4ed3[_0x443d3e]=_0x2f4ed3[_0x443d3e-_0x2b330b]^_0x22e515);for(var _0x28b47e=this['_invKeySchedule']=[],_0x9a9f28=0x0;_0x9a9f28<_0x5c71f5;_0x9a9f28++){var _0x443d3e=_0x5c71f5-_0x9a9f28;if(_0x9a9f28%0x4)var _0x22e515=_0x2f4ed3[_0x443d3e];else var _0x22e515=_0x2f4ed3[_0x443d3e-0x4];_0x9a9f28<0x4||_0x443d3e<=0x4?_0x28b47e[_0x9a9f28]=_0x22e515:_0x28b47e[_0x9a9f28]=_0x58ac1c[_0x1f521d[_0x22e515>>>0x18]]^_0x1c07d0[_0x1f521d[_0x22e515>>>0x10&0xff]]^_0x30816f[_0x1f521d[_0x22e515>>>0x8&0xff]]^_0x2fcbff[_0x1f521d[_0x22e515&0xff]];}}},'encryptBlock':function(_0x5680d2,_0x13b1f6){var _0x1a1487=_0x4465da;this[_0x1a1487(0x182)](_0x5680d2,_0x13b1f6,this[_0x1a1487(0x1d8)],_0x433601,_0x1367c7,_0x2de0c7,_0x5ddacc,_0x1f521d);},'decryptBlock':function(_0x122421,_0x2adc45){var _0x4d91e9=_0x4465da,_0x1a6b87=_0x122421[_0x2adc45+0x1];_0x122421[_0x2adc45+0x1]=_0x122421[_0x2adc45+0x3],_0x122421[_0x2adc45+0x3]=_0x1a6b87,this[_0x4d91e9(0x182)](_0x122421,_0x2adc45,this[_0x4d91e9(0x38e)],_0x58ac1c,_0x1c07d0,_0x30816f,_0x2fcbff,_0x4931ee);var _0x1a6b87=_0x122421[_0x2adc45+0x1];_0x122421[_0x2adc45+0x1]=_0x122421[_0x2adc45+0x3],_0x122421[_0x2adc45+0x3]=_0x1a6b87;},'_doCryptBlock':function(_0x319b0e,_0xd9ee73,_0x1fd016,_0x2a8eb8,_0x27521f,_0x36accf,_0x4b710d,_0x51528f){var _0xd3284e=_0x4465da;for(var _0x30f95a=this[_0xd3284e(0x3c8)],_0x1768dd=_0x319b0e[_0xd9ee73]^_0x1fd016[0x0],_0x22784f=_0x319b0e[_0xd9ee73+0x1]^_0x1fd016[0x1],_0x2fdc84=_0x319b0e[_0xd9ee73+0x2]^_0x1fd016[0x2],_0x43997e=_0x319b0e[_0xd9ee73+0x3]^_0x1fd016[0x3],_0x538c71=0x4,_0x503cbe=0x1;_0x503cbe<_0x30f95a;_0x503cbe++){var _0x30defc=_0x2a8eb8[_0x1768dd>>>0x18]^_0x27521f[_0x22784f>>>0x10&0xff]^_0x36accf[_0x2fdc84>>>0x8&0xff]^_0x4b710d[_0x43997e&0xff]^_0x1fd016[_0x538c71++],_0x3ec0f2=_0x2a8eb8[_0x22784f>>>0x18]^_0x27521f[_0x2fdc84>>>0x10&0xff]^_0x36accf[_0x43997e>>>0x8&0xff]^_0x4b710d[_0x1768dd&0xff]^_0x1fd016[_0x538c71++],_0x2c0e98=_0x2a8eb8[_0x2fdc84>>>0x18]^_0x27521f[_0x43997e>>>0x10&0xff]^_0x36accf[_0x1768dd>>>0x8&0xff]^_0x4b710d[_0x22784f&0xff]^_0x1fd016[_0x538c71++],_0x443555=_0x2a8eb8[_0x43997e>>>0x18]^_0x27521f[_0x1768dd>>>0x10&0xff]^_0x36accf[_0x22784f>>>0x8&0xff]^_0x4b710d[_0x2fdc84&0xff]^_0x1fd016[_0x538c71++];_0x1768dd=_0x30defc,_0x22784f=_0x3ec0f2,_0x2fdc84=_0x2c0e98,_0x43997e=_0x443555;}var _0x30defc=(_0x51528f[_0x1768dd>>>0x18]<<0x18|_0x51528f[_0x22784f>>>0x10&0xff]<<0x10|_0x51528f[_0x2fdc84>>>0x8&0xff]<<0x8|_0x51528f[_0x43997e&0xff])^_0x1fd016[_0x538c71++],_0x3ec0f2=(_0x51528f[_0x22784f>>>0x18]<<0x18|_0x51528f[_0x2fdc84>>>0x10&0xff]<<0x10|_0x51528f[_0x43997e>>>0x8&0xff]<<0x8|_0x51528f[_0x1768dd&0xff])^_0x1fd016[_0x538c71++],_0x2c0e98=(_0x51528f[_0x2fdc84>>>0x18]<<0x18|_0x51528f[_0x43997e>>>0x10&0xff]<<0x10|_0x51528f[_0x1768dd>>>0x8&0xff]<<0x8|_0x51528f[_0x22784f&0xff])^_0x1fd016[_0x538c71++],_0x443555=(_0x51528f[_0x43997e>>>0x18]<<0x18|_0x51528f[_0x1768dd>>>0x10&0xff]<<0x10|_0x51528f[_0x22784f>>>0x8&0xff]<<0x8|_0x51528f[_0x2fdc84&0xff])^_0x1fd016[_0x538c71++];_0x319b0e[_0xd9ee73]=_0x30defc,_0x319b0e[_0xd9ee73+0x1]=_0x3ec0f2,_0x319b0e[_0xd9ee73+0x2]=_0x2c0e98,_0x319b0e[_0xd9ee73+0x3]=_0x443555;},'keySize':0x100/0x20});_0x33a3aa[_0x4465da(0x229)]=_0x4e7645['_createHelper'](_0x48c647);}()),_0x3409b8[_0x489cd2(0x229)];}));}(We)),We['exports'];}var Js=qs();const Xs=je(Js);var Zs=Ui();const ai=je(Zs);var Ze={'exports':{}},Qs=Ze[_0x4b970c(0x17b)],ci;function er(){var _0x3756a2=_0x4b970c;return ci||(ci=0x1,function(_0xcde80f,_0x25c928){(function(_0x126b21,_0x5ba02a){var _0x592bcc=_0x30ed;_0xcde80f[_0x592bcc(0x17b)]=_0x5ba02a(ne());}(Qs,function(_0xc2d795){var _0x5e1edb=_0x30ed;return _0xc2d795[_0x5e1edb(0x25e)][_0x5e1edb(0x1ab)];}));}(Ze)),Ze[_0x3756a2(0x17b)];}var tr=er();const ir=je(tr);var Qe={'exports':{}},nr=Qe[_0x4b970c(0x17b)],hi;function sr(){return hi||(hi=0x1,function(_0x51a151,_0x3aa509){(function(_0x34ae4d,_0x2a54b2){var _0xc33c48=_0x30ed;_0x51a151[_0xc33c48(0x17b)]=_0x2a54b2(ne());}(nr,function(_0x36151a){var _0x2ae1d1=_0x30ed;return(function(){var _0x2e94b9=_0x30ed;if(typeof ArrayBuffer==_0x2e94b9(0x3f9)){var _0xca1068=_0x36151a,_0x30f162=_0xca1068[_0x2e94b9(0x1a1)],_0x527b0c=_0x30f162['WordArray'],_0x34280f=_0x527b0c[_0x2e94b9(0x3a7)],_0x202ce7=_0x527b0c[_0x2e94b9(0x3a7)]=function(_0x3fe5f2){var _0x15292e=_0x2e94b9;if(_0x3fe5f2 instanceof ArrayBuffer&&(_0x3fe5f2=new Uint8Array(_0x3fe5f2)),(_0x3fe5f2 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3fe5f2 instanceof Uint8ClampedArray||_0x3fe5f2 instanceof Int16Array||_0x3fe5f2 instanceof Uint16Array||_0x3fe5f2 instanceof Int32Array||_0x3fe5f2 instanceof Uint32Array||_0x3fe5f2 instanceof Float32Array||_0x3fe5f2 instanceof Float64Array)&&(_0x3fe5f2=new Uint8Array(_0x3fe5f2['buffer'],_0x3fe5f2[_0x15292e(0x444)],_0x3fe5f2[_0x15292e(0x37f)])),_0x3fe5f2 instanceof Uint8Array){for(var _0xa8bfe0=_0x3fe5f2[_0x15292e(0x37f)],_0x26a796=[],_0x52e844=0x0;_0x52e844<_0xa8bfe0;_0x52e844++)_0x26a796[_0x52e844>>>0x2]|=_0x3fe5f2[_0x52e844]<<0x18-_0x52e844%0x4*0x8;_0x34280f[_0x15292e(0x3cd)](this,_0x26a796,_0xa8bfe0);}else _0x34280f[_0x15292e(0x336)](this,arguments);};_0x202ce7[_0x2e94b9(0x3fc)]=_0x527b0c;}}()),_0x36151a['lib'][_0x2ae1d1(0x421)];}));}(Qe)),Qe['exports'];}var rr=sr();const or=je(rr);var et={'exports':{}},ar=et[_0x4b970c(0x17b)],_i;function cr(){return _i||(_i=0x1,function(_0x3d703b,_0x32ffa5){(function(_0x46438d,_0x510ba4,_0x1ce0d6){var _0x55f073=_0x30ed;_0x3d703b[_0x55f073(0x17b)]=_0x510ba4(ne(),xi());}(ar,function(_0x36a93d){var _0x2245f8=_0x30ed;return _0x36a93d[_0x2245f8(0x19f)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x36a93d[_0x2245f8(0x19f)][_0x2245f8(0x1dc)];}));}(et)),et['exports'];}var hr=cr();const _r=je(hr);function lr(_0x120769,_0x5c2624){var _0x29e3bc=_0x4b970c;const _0x5950d8=_0x5c2624-_0x120769[_0x29e3bc(0x2f8)]%_0x5c2624,_0x2e931a=String[_0x29e3bc(0x310)](_0x5950d8)[_0x29e3bc(0x2b3)](_0x5950d8);return _0x120769+_0x2e931a;}function ur(_0x4e1b40,_0x540da4){var _0x499857=_0x4b970c;const _0x586fbd=or[_0x499857(0x1c5)](0x10),_0xc065e=lr(_0x4e1b40,0x10),_0x2f9435=Xs[_0x499857(0x43f)](ir[_0x499857(0x222)](_0xc065e),ai[_0x499857(0x222)](_0x540da4),{'iv':_0x586fbd,'padding':_r});return _0x586fbd[_0x499857(0x46e)](_0x2f9435[_0x499857(0x3ee)])[_0x499857(0x1b2)](ai);}function dr(){var _0x3cef86=_0x4b970c;const _0x30ebd3=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x30ebd3){const _0x169862={'time':Math[_0x3cef86(0x452)](Date[_0x3cef86(0x2c8)]()/0x3e8),'domain':location[_0x3cef86(0x41a)]};return ur(JSON['stringify'](_0x169862),_0x30ebd3);}}var fr=Object[_0x4b970c(0x27e)],vr=Object['getOwnPropertyDescriptor'],pr=(_0x4969ab,_0x40afc1,_0x4d09b5,_0x3f0a89)=>{var _0x598d1f=_0x4b970c;for(var _0x1ce404=_0x3f0a89>0x1?void 0x0:_0x3f0a89?vr(_0x40afc1,_0x4d09b5):_0x40afc1,_0x33ff52=_0x4969ab[_0x598d1f(0x2f8)]-0x1,_0x2ece31;_0x33ff52>=0x0;_0x33ff52--)(_0x2ece31=_0x4969ab[_0x33ff52])&&(_0x1ce404=(_0x3f0a89?_0x2ece31(_0x40afc1,_0x4d09b5,_0x1ce404):_0x2ece31(_0x1ce404))||_0x1ce404);return _0x3f0a89&&_0x1ce404&&fr(_0x40afc1,_0x4d09b5,_0x1ce404),_0x1ce404;},mr=(_0x5a1711,_0x4189e6)=>(_0x56cb34,_0x596cd9)=>_0x4189e6(_0x56cb34,_0x596cd9,_0x5a1711);let at=class{constructor(_0x30e399){var _0x4d8bc6=_0x4b970c;this[_0x4d8bc6(0x3e5)]=_0x30e399,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x371b8f=_0x4b970c;this[_0x371b8f(0x3e5)][_0x371b8f(0x1ea)]({'interceptor':(_0x17b9f5,_0x13e693)=>{var _0x3fdbfa=_0x371b8f;const _0x516d99=_0x17b9f5[_0x3fdbfa(0x3eb)],_0x4181a9=dr();return _0x4181a9&&_0x516d99['set'](_0x3fdbfa(0x368),_0x4181a9),_0x13e693(_0x17b9f5);}});}};at=pr([mr(0x0,_0x5f1c87(_0x307ade))],at);var gr=Object[_0x4b970c(0x27e)],Sr=Object[_0x4b970c(0x29d)],Er=(_0x89760f,_0x56fece,_0x356fc8,_0x34156d)=>{for(var _0x153ed8=_0x34156d>0x1?void 0x0:_0x34156d?Sr(_0x56fece,_0x356fc8):_0x56fece,_0xa3eb4e=_0x89760f['length']-0x1,_0x18cfd7;_0xa3eb4e>=0x0;_0xa3eb4e--)(_0x18cfd7=_0x89760f[_0xa3eb4e])&&(_0x153ed8=(_0x34156d?_0x18cfd7(_0x56fece,_0x356fc8,_0x153ed8):_0x18cfd7(_0x153ed8))||_0x153ed8);return _0x34156d&&_0x153ed8&&gr(_0x56fece,_0x356fc8,_0x153ed8),_0x153ed8;},mt=(_0x1c6bf0,_0x4e6046)=>(_0x2e587e,_0x44d4c8)=>_0x4e6046(_0x2e587e,_0x44d4c8,_0x1c6bf0);let yt=class extends _0x265948{constructor(_0x286c26,_0x1c1576,_0x3406f1){var _0x32b904=_0x4b970c;super(),N(this,_0x32b904(0x3d6),new _0x182139(null)),N(this,_0x32b904(0x349),this['_unitInfo$']['asObservable']()),(this[_0x32b904(0x34d)]=_0x286c26,this['_snapshotService']=_0x1c1576,this[_0x32b904(0x1f2)]=_0x3406f1);}async[_0x4b970c(0x288)](_0x4c688a,_0x665c1b,_0x5ea24){var _0x4a7b5b=_0x4b970c;this['_unitInfo$'][_0x4a7b5b(0x18b)]({'unitId':_0x4c688a,'type':_0x665c1b,'subUnitId':_0x5ea24});let _0x2e505f=null;switch(_0x665c1b){case Q['UNIVER_SHEET']:{_0x2e505f=await this[_0x4a7b5b(0x1ca)](_0x4c688a);break;}case Q['UNIVER_DOC']:{_0x2e505f=await this[_0x4a7b5b(0x3ae)](_0x4c688a);break;}default:{this[_0x4a7b5b(0x34d)][_0x4a7b5b(0x31a)](_0x4a7b5b(0x39f),_0x4a7b5b(0x360));break;}}return _0x2e505f;}async[_0x4b970c(0x1ca)](_0x119e73){var _0x1f8393=_0x4b970c,_0x1a9e18;let _0x3dfb0d=0x0;const _0x38d6be=await((_0x1a9e18=this[_0x1f8393(0x1f2)])==null?void 0x0:_0x1a9e18[_0x1f8393(0x224)](_0x119e73));return _0x38d6be&&(_0x38d6be['awaitingChangeset']||_0x38d6be[_0x1f8393(0x1b1)]['length']!==0x0)&&(_0x3dfb0d=_0x38d6be[_0x1f8393(0x3ed)]),_0x3dfb0d===0x0&&this['_logService'][_0x1f8393(0x20f)](_0x1f8393(0x39f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1f8393(0x2ec)][_0x1f8393(0x2c5)](_0x119e73,_0x3dfb0d);}async[_0x4b970c(0x3ae)](_0xa8c3de){var _0x59928f=_0x4b970c,_0x9525a3;let _0x5ddd98=0x0;const _0x1bd9d1=await((_0x9525a3=this[_0x59928f(0x1f2)])==null?void 0x0:_0x9525a3['loadOfflineData'](_0xa8c3de));return _0x1bd9d1&&(_0x1bd9d1[_0x59928f(0x24f)]||_0x1bd9d1[_0x59928f(0x1b1)][_0x59928f(0x2f8)]!==0x0)&&(_0x5ddd98=_0x1bd9d1['rev']),_0x5ddd98===0x0&&this[_0x59928f(0x34d)][_0x59928f(0x20f)](_0x59928f(0x39f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x59928f(0x2ec)][_0x59928f(0x32c)](_0xa8c3de,_0x5ddd98);}};yt=Er([mt(0x0,_0x42cc6c),mt(0x1,_0x5f1c87(_0x363e05)),mt(0x2,_0x4dd650(X))],yt);var Ir=Object[_0x4b970c(0x27e)],Tr=Object[_0x4b970c(0x29d)],Cr=(_0x83d877,_0x2aeb13,_0x22bf8c,_0x37b544)=>{var _0x416e33=_0x4b970c;for(var _0x3b722f=_0x37b544>0x1?void 0x0:_0x37b544?Tr(_0x2aeb13,_0x22bf8c):_0x2aeb13,_0x371859=_0x83d877[_0x416e33(0x2f8)]-0x1,_0x52fa25;_0x371859>=0x0;_0x371859--)(_0x52fa25=_0x83d877[_0x371859])&&(_0x3b722f=(_0x37b544?_0x52fa25(_0x2aeb13,_0x22bf8c,_0x3b722f):_0x52fa25(_0x3b722f))||_0x3b722f);return _0x37b544&&_0x3b722f&&Ir(_0x2aeb13,_0x22bf8c,_0x3b722f),_0x3b722f;},gt=(_0x22f952,_0x5c842c)=>(_0x490e1e,_0x4ff643)=>_0x5c842c(_0x490e1e,_0x4ff643,_0x22f952);const br=['image/png',_0x4b970c(0x270),_0x4b970c(0x24c),_0x4b970c(0x307),_0x4b970c(0x190)],Rr=0x5*0x400*0x400,yr=_0x4b970c(0x21c),Or=_0x4b970c(0x41c),Pr=_0x4b970c(0x283),Dr=_0x4b970c(0x306);let Ot=class{constructor(_0x57c956,_0x548d11,_0x2c5014){var _0x11f6c3=_0x4b970c;N(this,_0x11f6c3(0x1e5),0x0),N(this,_0x11f6c3(0x292),new _0x119b5a()),N(this,_0x11f6c3(0x44a),this['_change$']),N(this,_0x11f6c3(0x1cf),new Map()),(this[_0x11f6c3(0x3e5)]=_0x57c956,this['_configService']=_0x548d11,this['_univerInstanceService']=_0x2c5014);}[_0x4b970c(0x1bb)](_0x3f8a84){var _0x590f25=_0x4b970c;this['_waitCount']=_0x3f8a84,this[_0x590f25(0x292)][_0x590f25(0x18b)](_0x3f8a84);}[_0x4b970c(0x26d)](_0x442208,_0x467751){var _0x25188f=_0x4b970c;if(_0x467751===_0x5dc29b[_0x25188f(0x381)]){const _0x336eb8=new Image();return _0x336eb8[_0x25188f(0x407)]=_0x442208,_0x336eb8;}return this[_0x25188f(0x1cf)][_0x25188f(0x1b7)](_0x442208);}['addImageSourceCache'](_0x1154a6,_0x498382,_0x317134){var _0x12dfde=_0x4b970c;_0x498382===_0x5dc29b[_0x12dfde(0x381)]||_0x317134==null||this[_0x12dfde(0x1cf)][_0x12dfde(0x187)](_0x1154a6,_0x317134);}async[_0x4b970c(0x3f2)](_0x5fcf){var _0x2fa492=_0x4b970c;try{const _0x469268=this[_0x2fa492(0x29c)](this[_0x2fa492(0x3b4)](),''+_0x5fcf),_0x11ba20=(await this[_0x2fa492(0x3e5)]['get'](_0x469268))[_0x2fa492(0x2fd)];if(_0x11ba20[_0x2fa492(0x31a)]&&_0x11ba20['error'][_0x2fa492(0x2e2)]===Ti['OK']){const _0x404027=new URL(_0x11ba20['url'],this[_0x2fa492(0x221)]())[_0x2fa492(0x1b2)]();return Promise['resolve'](_0x404027);}return Promise[_0x2fa492(0x30f)](_0x11ba20[_0x2fa492(0x31a)]);}catch(_0xa95a7b){return Promise[_0x2fa492(0x30f)](_0xa95a7b);}}async[_0x4b970c(0x413)](_0xc8e961){var _0x1cf4b9=_0x4b970c;let _0x31ba09='';if(!br[_0x1cf4b9(0x39e)](_0xc8e961[_0x1cf4b9(0x1f3)]))return this[_0x1cf4b9(0x29b)](),Promise['reject'](new Error(_0x40449d[_0x1cf4b9(0x239)]));if(_0xc8e961[_0x1cf4b9(0x329)]>Rr)return this[_0x1cf4b9(0x29b)](),Promise[_0x1cf4b9(0x30f)](new Error(_0x40449d[_0x1cf4b9(0x325)]));try{const _0x136e9d=new FormData();_0x136e9d['append'](_0x1cf4b9(0x2a0),_0xc8e961);const _0x5074c3=this['_univerInstanceService']['getFocusedUnit'](),_0x3aaaae=_0x5074c3==null?void 0x0:_0x5074c3[_0x1cf4b9(0x427)]();if(!_0x3aaaae)throw new Error('unitId\x20is\x20not\x20found');const _0x142abe=this['_getUploadFileURL']()+'?size='+_0xc8e961[_0x1cf4b9(0x329)][_0x1cf4b9(0x1b2)]()+_0x1cf4b9(0x342)+Ci[_0x1cf4b9(0x31d)]+'&assign='+encodeURIComponent(_0x3aaaae),_0x2ded9a=await(await fetch(_0x142abe,{'method':_0x1cf4b9(0x412),'body':_0x136e9d}))[_0x1cf4b9(0x223)]();if(typeof _0x2ded9a['FileId']!='string')return this['_decreaseWaiting'](),Promise[_0x1cf4b9(0x30f)](new Error(_0x40449d[_0x1cf4b9(0x236)]));_0x31ba09=_0x2ded9a[_0x1cf4b9(0x2c2)];}catch{return this['_decreaseWaiting'](),Promise[_0x1cf4b9(0x30f)](new Error(_0x40449d[_0x1cf4b9(0x236)]));}return new Promise((_0x36dbe9,_0x4aa367)=>{var _0x239153=_0x1cf4b9;const _0x2a6a7=new FileReader();_0x2a6a7[_0x239153(0x24a)](_0xc8e961),_0x2a6a7[_0x239153(0x382)]=_0x3a8f7c=>{var _0x2b68f1=_0x239153,_0xd8ebfc;const _0x1f911a=(_0xd8ebfc=_0x3a8f7c[_0x2b68f1(0x3a4)])==null?void 0x0:_0xd8ebfc[_0x2b68f1(0x378)];if(_0x1f911a==null){this['_decreaseWaiting'](),_0x4aa367(new Error(_0x40449d[_0x2b68f1(0x236)]));return;}const _0x55d1ae=_0x27d831['generateRandomId'](0x6);_0x36dbe9({'imageId':_0x55d1ae,'imageSourceType':_0x5dc29b[_0x2b68f1(0x235)],'source':_0x31ba09,'base64Cache':_0x1f911a,'status':_0x40449d['SUCCUSS']}),this[_0x2b68f1(0x29b)]();};});}['_getUploadFileURL'](){var _0x242fd5=_0x4b970c,_0x18186a,_0x5704b4;const _0x4ce28e=this['_configService'][_0x242fd5(0x2d6)](yr),_0x5dfc87=this[_0x242fd5(0x33d)][_0x242fd5(0x2d6)](Y);return(_0x5704b4=(_0x18186a=_0x5dfc87==null?void 0x0:_0x5dfc87[_0x242fd5(0x318)])!=null?_0x18186a:_0x4ce28e)!=null?_0x5704b4:Or;}[_0x4b970c(0x3b4)](){var _0x404937=_0x4b970c,_0x17890d,_0x2f80c6;const _0x371163=this[_0x404937(0x33d)]['getConfig'](Pr),_0x3fdbfb=this[_0x404937(0x33d)][_0x404937(0x2d6)](Y);return(_0x2f80c6=(_0x17890d=_0x3fdbfb==null?void 0x0:_0x3fdbfb[_0x404937(0x289)])!=null?_0x17890d:_0x371163)!=null?_0x2f80c6:Dr;}[_0x4b970c(0x221)](){var _0x2da5db=_0x4b970c,_0x24d03a;const _0xcccb96=this[_0x2da5db(0x33d)][_0x2da5db(0x2d6)](Y);return(_0x24d03a=_0xcccb96==null?void 0x0:_0xcccb96[_0x2da5db(0x31f)])!=null?_0x24d03a:location[_0x2da5db(0x2da)];}['_replaceFileID'](_0xabc9b4,_0x428da1){var _0x2fb43a=_0x4b970c;return _0xabc9b4[_0x2fb43a(0x2b4)](_0x2fb43a(0x246),_0x428da1);}[_0x4b970c(0x29b)](){this['_waitCount']-=0x1,this['_change$']['next'](this['_waitCount']);}};Ot=Cr([gt(0x0,_0x5f1c87(_0x307ade)),gt(0x1,_0x24ac53),gt(0x2,_0x5f1c87(_0x5d568a))],Ot);var Nr=Object[_0x4b970c(0x27e)],wr=Object[_0x4b970c(0x29d)],Ur=(_0x2a09dc,_0x5c59bd,_0x25b2d4,_0x5e2fc2)=>{var _0x95735d=_0x4b970c;for(var _0x1bad87=_0x5e2fc2>0x1?void 0x0:_0x5e2fc2?wr(_0x5c59bd,_0x25b2d4):_0x5c59bd,_0xb2345b=_0x2a09dc[_0x95735d(0x2f8)]-0x1,_0x16aaae;_0xb2345b>=0x0;_0xb2345b--)(_0x16aaae=_0x2a09dc[_0xb2345b])&&(_0x1bad87=(_0x5e2fc2?_0x16aaae(_0x5c59bd,_0x25b2d4,_0x1bad87):_0x16aaae(_0x1bad87))||_0x1bad87);return _0x5e2fc2&&_0x1bad87&&Nr(_0x5c59bd,_0x25b2d4,_0x1bad87),_0x1bad87;},li=(_0xc98fdc,_0x32dec9)=>(_0x59f506,_0x262c25)=>_0x32dec9(_0x59f506,_0x262c25,_0xc98fdc);const Ar=_0x4b970c(0x42d);let Pt=class{constructor(_0x162b76,_0x2b88e2){this['_configService']=_0x162b76,this['_HTTPService']=_0x2b88e2;}[_0x4b970c(0x362)](){var _0x31f527=_0x4b970c,_0x149432,_0xd06ac4;const _0x46342e=this['_configService'][_0x31f527(0x2d6)](wi),_0x2944e1=this[_0x31f527(0x33d)][_0x31f527(0x2d6)](Y);return(_0xd06ac4=(_0x149432=_0x2944e1==null?void 0x0:_0x2944e1[_0x31f527(0x470)])!=null?_0x149432:_0x46342e)!=null?_0xd06ac4:Ar;}async['list'](_0x352f9d){var _0xfc8883=_0x4b970c;const _0x5008fb=this[_0xfc8883(0x362)]()+_0xfc8883(0x348);return{'list':[{'title':_0xfc8883(0x45f),'mentions':(await this[_0xfc8883(0x22a)][_0xfc8883(0x1b7)](_0x5008fb,{'params':{'objectID':_0x352f9d[_0xfc8883(0x2c3)],'unitID':_0x352f9d['unitId']}}))[_0xfc8883(0x2fd)][_0xfc8883(0x355)]['map'](_0x427fea=>({'objectId':_0x427fea['id'],'name':_0x427fea[_0xfc8883(0x164)]['name'],'metadata':{'icon':_0x427fea[_0xfc8883(0x164)][_0xfc8883(0x209)]},'label':_0x427fea[_0xfc8883(0x164)][_0xfc8883(0x269)],'objectType':_0x3d124e[_0xfc8883(0x386)]})),'metadata':{},'type':_0x3d124e[_0xfc8883(0x386)]}]};}};Pt=Ur([li(0x0,_0x5f1c87(_0x24ac53)),li(0x1,_0x5f1c87(_0x307ade))],Pt);var xr=Object[_0x4b970c(0x27e)],Lr=Object['getOwnPropertyDescriptor'],Mr=(_0x3bc8b3,_0x1ab775,_0x3d2504,_0x53b369)=>{var _0x589760=_0x4b970c;for(var _0x2741ba=_0x53b369>0x1?void 0x0:_0x53b369?Lr(_0x1ab775,_0x3d2504):_0x1ab775,_0xe03006=_0x3bc8b3[_0x589760(0x2f8)]-0x1,_0x5bdaae;_0xe03006>=0x0;_0xe03006--)(_0x5bdaae=_0x3bc8b3[_0xe03006])&&(_0x2741ba=(_0x53b369?_0x5bdaae(_0x1ab775,_0x3d2504,_0x2741ba):_0x5bdaae(_0x2741ba))||_0x2741ba);return _0x53b369&&_0x2741ba&&xr(_0x1ab775,_0x3d2504,_0x2741ba),_0x2741ba;},Se=(_0x1d282d,_0x8cc735)=>(_0x2ecf60,_0x3fc18d)=>_0x8cc735(_0x2ecf60,_0x3fc18d,_0x1d282d);let ct=class extends _0x265948{constructor(_0x439aaf,_0x3034b7,_0x2aa43e,_0x1f51a2,_0x1af30f,_0x26e927,_0x84581a){var _0x100bd3=_0x4b970c;super(),this['_injector']=_0x439aaf,this[_0x100bd3(0x365)]=_0x3034b7,this[_0x100bd3(0x44d)]=_0x2aa43e,this['_collaborationSessionService']=_0x1f51a2,this['_collaborationUIEventService']=_0x1af30f,this[_0x100bd3(0x166)]=_0x26e927,this[_0x100bd3(0x1cd)]=_0x84581a,this[_0x100bd3(0x3fe)](),this[_0x100bd3(0x3ec)]();}[_0x4b970c(0x3ec)](){var _0x530398=_0x4b970c;const _0x247362=async _0x22c99b=>{var _0x1491cc=_0x30ed;(await this['_collaborationSessionService'][_0x1491cc(0x3cf)](_0x22c99b))[_0x1491cc(0x416)][_0x1491cc(0x456)](_0x2a0d84(_0x17ec0c=>_0x17ec0c[_0x1491cc(0x286)]===_0x1a1228[_0x1491cc(0x3ac)]),_0xdc8cdb(this['dispose$']))[_0x1491cc(0x30d)](_0x19dc44=>{var _0x1e8732=_0x1491cc;const _0x5b4924=_0x19dc44,{reason:_0x1fa931}=_0x5b4924[_0x1e8732(0x266)];this[_0x1e8732(0x302)][_0x1e8732(0x43a)]({'id':se[_0x1e8732(0x1e8)],'data':_0x1fa931}),this[_0x1e8732(0x44d)][_0x1e8732(0x3fb)](new _0x27f271(_0x22c99b)['id'],!0x1),this[_0x1e8732(0x3b8)]['closeSession'](_0x22c99b);});};_0x57cdac(this[_0x530398(0x365)][_0x530398(0x3ce)](_0x2cc5bd['UNIVER_SHEET']),this[_0x530398(0x365)][_0x530398(0x3ce)](_0x2cc5bd[_0x530398(0x262)]))[_0x530398(0x456)](_0x55b526(_0x5bec0a=>_0x5bec0a[_0x530398(0x427)]()),_0x2a0d84(_0x3e871f=>!_0x1e9108(_0x3e871f)),_0xdc8cdb(this['dispose$']))[_0x530398(0x30d)](_0x31e14d=>{_0x247362(_0x31e14d);});}['_initUnitPermissionChange'](){var _0x2cd0b1=_0x4b970c;const _0x3c727f=async _0xa5a29d=>{var _0x522a2a=_0x30ed;(await this[_0x522a2a(0x3b8)][_0x522a2a(0x3cf)](_0xa5a29d))[_0x522a2a(0x416)][_0x522a2a(0x456)](_0x2a0d84(_0x4580a4=>_0x4580a4[_0x522a2a(0x286)]===_0x1a1228['UPDATE_PERMISSION_OBJ']),_0xdc8cdb(this[_0x522a2a(0x2f0)]))['subscribe'](_0x1890b4=>{var _0x46cac8=_0x522a2a;const _0x36821b=_0x1890b4,{objectId:_0x5b2967}=_0x36821b[_0x46cac8(0x266)];_0x5b2967===_0xa5a29d?this['initWorkbookPermissionChange'](_0xa5a29d):this[_0x46cac8(0x354)](_0xa5a29d,_0x5b2967);});};_0x57cdac(this[_0x2cd0b1(0x365)][_0x2cd0b1(0x3ce)](_0x2cc5bd[_0x2cd0b1(0x328)]),this[_0x2cd0b1(0x365)][_0x2cd0b1(0x3ce)](_0x2cc5bd[_0x2cd0b1(0x262)]))[_0x2cd0b1(0x456)](_0x55b526(_0x462b60=>_0x462b60[_0x2cd0b1(0x427)]()),_0x2a0d84(_0x40688c=>!_0x1e9108(_0x40688c)),_0xdc8cdb(this['dispose$']))[_0x2cd0b1(0x30d)](_0x1ac97b=>{_0x3c727f(_0x1ac97b);});}async[_0x4b970c(0x423)](_0x466f38){var _0x136e63=_0x4b970c,_0x450bff;const _0x457f39=_0x466f38||((_0x450bff=this['_univerInstanceService']['getCurrentUnitForType'](_0x2cc5bd['UNIVER_SHEET']))==null?void 0x0:_0x450bff['getUnitId']());_0x457f39&&this[_0x136e63(0x166)][_0x136e63(0x2ed)]({'objectID':_0x457f39,'objectType':_0x177d0a['Workbook'],'unitID':_0x457f39,'actions':_0x518c0e})[_0x136e63(0x309)](_0x24561e=>{var _0x285438=_0x136e63;_0x4de275()[_0x285438(0x161)](_0x2f339e=>{var _0x30f80a=_0x285438;const _0x435ac9=new _0x2f339e(_0x457f39),_0x24682a=_0x435ac9['subType'],_0x5588c2=_0x24561e[_0x30f80a(0x383)](_0x2faa62=>_0x2faa62[_0x30f80a(0x204)]===_0x24682a);_0x5588c2&&this[_0x30f80a(0x44d)]['updatePermissionPoint'](_0x435ac9['id'],_0x5588c2[_0x30f80a(0x2ed)]);});});}[_0x4b970c(0x354)](_0x4088f3,_0xe5b592){var _0x4cbdf8=_0x4b970c;const _0xa1928d=this[_0x4cbdf8(0x16b)][_0x4cbdf8(0x1b7)](_0x3b9453),_0x13c5f8=_0xa1928d[_0x4cbdf8(0x2ce)](_0x4088f3,_0xe5b592);let _0x59805b=!0x1;if(_0x13c5f8){const [_0x197ee6,_0xa1239e]=_0x13c5f8;this['_authzIoService'][_0x4cbdf8(0x2ed)]({'objectID':_0xe5b592,'unitID':_0x4088f3,'objectType':_0x177d0a[_0x4cbdf8(0x3d9)],'actions':_0x314b12})[_0x4cbdf8(0x309)](_0x1fa617=>{var _0x32e568=_0x4cbdf8;let _0x3ad754='';_0x5dfb75()['forEach'](_0x57e982=>{var _0x1d8f6b=_0x30ed,_0x4d0db7;const _0x597770=new _0x57e982(_0x4088f3,_0xa1239e),_0x291b8b=_0x597770[_0x1d8f6b(0x2a1)],_0x25c650=_0x1fa617[_0x1d8f6b(0x383)](_0x4d066e=>_0x4d066e[_0x1d8f6b(0x204)]===_0x291b8b);_0x25c650&&(((_0x4d0db7=this[_0x1d8f6b(0x44d)][_0x1d8f6b(0x430)](_0x597770['id']))==null?void 0x0:_0x4d0db7[_0x1d8f6b(0x174)])!==_0x25c650[_0x1d8f6b(0x2ed)]&&(_0x59805b=!0x0),this[_0x1d8f6b(0x44d)][_0x1d8f6b(0x3fb)](_0x597770['id'],_0x25c650[_0x1d8f6b(0x2ed)]),_0x3ad754+=_0x25c650[_0x1d8f6b(0x204)]+'_'+_0x25c650[_0x1d8f6b(0x2ed)]);}),_0xa1928d[_0x32e568(0x37a)](_0xe5b592+'_'+_0x3ad754),_0x59805b&&this[_0x32e568(0x1cd)][_0x32e568(0x32f)](_0x4088f3);});}const _0x53fe92=this[_0x4cbdf8(0x16b)][_0x4cbdf8(0x1b7)](_0x3c5f58)[_0x4cbdf8(0x2ce)](_0x4088f3,_0xe5b592);if(_0x53fe92){const [_0x408b1c,_0x2dba4e]=_0x53fe92;this[_0x4cbdf8(0x166)][_0x4cbdf8(0x2ed)]({'objectID':_0xe5b592,'unitID':_0x4088f3,'objectType':_0x177d0a[_0x4cbdf8(0x3d9)],'actions':_0x2d3ee7})[_0x4cbdf8(0x309)](_0x337ced=>{var _0x40d689=_0x4cbdf8;_0x476a9f()['forEach'](_0x3b02ad=>{var _0x43f049=_0x30ed,_0xb35eb2;const _0x176785=new _0x3b02ad(_0x4088f3,_0x2dba4e),_0x83bafb=_0x176785[_0x43f049(0x2a1)],_0xf6e142=_0x337ced['find'](_0x573320=>_0x573320[_0x43f049(0x204)]===_0x83bafb);_0xf6e142&&(((_0xb35eb2=this[_0x43f049(0x44d)][_0x43f049(0x430)](_0x176785['id']))==null?void 0x0:_0xb35eb2['value'])!==_0xf6e142[_0x43f049(0x2ed)]&&(_0x59805b=!0x0),this[_0x43f049(0x44d)]['updatePermissionPoint'](_0x176785['id'],_0xf6e142[_0x43f049(0x2ed)]));}),_0x59805b&&this[_0x40d689(0x1cd)]['clearUndoRedo'](_0x4088f3);});}const _0x26e0f5=this[_0x4cbdf8(0x16b)][_0x4cbdf8(0x1b7)](_0x2e64b4),_0x54af07=_0x26e0f5[_0x4cbdf8(0x2ce)](_0x4088f3,_0xe5b592);if(_0x54af07){const [_0x1e943d,_0x3bd9ed]=_0x54af07;this[_0x4cbdf8(0x166)][_0x4cbdf8(0x2ed)]({'objectID':_0xe5b592,'unitID':_0x4088f3,'objectType':_0x177d0a[_0x4cbdf8(0x380)],'actions':_0x314b12})[_0x4cbdf8(0x309)](_0x33a37e=>{var _0x127481=_0x4cbdf8;let _0x3af22c='';_0xa042a8()[_0x127481(0x161)](_0xdf9157=>{var _0x4458d4=_0x127481,_0x217b0b;const _0x38e432=new _0xdf9157(_0x4088f3,_0x3bd9ed,_0xe5b592),_0x497c15=_0x38e432[_0x4458d4(0x2a1)],_0x360451=_0x33a37e[_0x4458d4(0x383)](_0x1e2577=>_0x1e2577['action']===_0x497c15);_0x360451&&(((_0x217b0b=this[_0x4458d4(0x44d)][_0x4458d4(0x430)](_0x38e432['id']))==null?void 0x0:_0x217b0b['value'])!==_0x360451[_0x4458d4(0x2ed)]&&(_0x59805b=!0x0),this[_0x4458d4(0x44d)][_0x4458d4(0x3fb)](_0x38e432['id'],_0x360451[_0x4458d4(0x2ed)]),_0x3af22c+=_0x360451[_0x4458d4(0x204)]+'_'+_0x360451[_0x4458d4(0x2ed)]);}),_0x26e0f5[_0x127481(0x37a)](_0xe5b592+'_'+_0x3af22c),_0x59805b&&this[_0x127481(0x1cd)][_0x127481(0x32f)](_0x4088f3);});}}};ct=Mr([Se(0x0,_0x5f1c87(_0x50ff70)),Se(0x1,_0x5d568a),Se(0x2,_0x15059e),Se(0x3,_0x5f1c87(Me)),Se(0x4,_0x5f1c87(pe)),Se(0x5,_0x352e76),Se(0x6,_0x5ec572)],ct);var $r=Object[_0x4b970c(0x27e)],Hr=Object[_0x4b970c(0x29d)],kr=(_0x15eca,_0x3383d7,_0x21c02d,_0x1db68f)=>{var _0x3eb5c4=_0x4b970c;for(var _0xb46f5a=_0x1db68f>0x1?void 0x0:_0x1db68f?Hr(_0x3383d7,_0x21c02d):_0x3383d7,_0x324e07=_0x15eca[_0x3eb5c4(0x2f8)]-0x1,_0x5e06a8;_0x324e07>=0x0;_0x324e07--)(_0x5e06a8=_0x15eca[_0x324e07])&&(_0xb46f5a=(_0x1db68f?_0x5e06a8(_0x3383d7,_0x21c02d,_0xb46f5a):_0x5e06a8(_0xb46f5a))||_0xb46f5a);return _0x1db68f&&_0xb46f5a&&$r(_0x3383d7,_0x21c02d,_0xb46f5a),_0xb46f5a;},ui=(_0x10d7fb,_0x1f83b5)=>(_0x1de5a1,_0x2fe476)=>_0x1f83b5(_0x1de5a1,_0x2fe476,_0x10d7fb);let Dt=class{constructor(_0x23b754,_0x72ac88){var _0x46877f=_0x4b970c;this[_0x46877f(0x33d)]=_0x23b754,this['_httpService']=_0x72ac88;}async[_0x4b970c(0x1da)](_0x31d9f5,_0x2e110e){var _0x55c341=_0x4b970c,_0x27b4a6;const {unitID:_0x1032bb,type:_0xd679c1,revision:_0x484dbc=0x0}=_0x2e110e,_0xdd6895=this['getSnapshotAPIPath']()+'/'+_0xd679c1+'/unit/'+_0x1032bb+_0x55c341(0x16e)+_0x484dbc,_0x302075=(await this[_0x55c341(0x3e5)][_0x55c341(0x1b7)](_0xdd6895))[_0x55c341(0x2fd)],_0x2ba7dd=(_0x27b4a6=_0x302075[_0x55c341(0x2f6)])==null?void 0x0:_0x27b4a6['workbook'];if(_0x2ba7dd){const _0x18c041=_0x2ba7dd==null?void 0x0:_0x2ba7dd['originalMeta'],_0x3cd546=_0x443b78['encode'](_0x4a2b8f(_0x18c041));_0x2ba7dd[_0x55c341(0x20a)]=_0x3cd546,Object[_0x55c341(0x397)](_0x2ba7dd[_0x55c341(0x43c)])[_0x55c341(0x161)](([,_0x3982f7])=>{var _0x15aec7=_0x55c341;const _0x496a73=_0x3982f7['originalMeta'],_0x285d1f=_0x443b78[_0x15aec7(0x2a9)](_0x4a2b8f(_0x496a73));_0x3982f7[_0x15aec7(0x20a)]=_0x285d1f;});}return _0x302075;}async[_0x4b970c(0x2f1)](_0x997451,_0x2758fd){var _0x513fe7=_0x4b970c;const {unitID:_0x3b10f8,type:_0x51b386,blockID:_0x445584}=_0x2758fd,_0x17e130=this[_0x513fe7(0x1ec)]()+'/'+_0x51b386+_0x513fe7(0x17f)+_0x3b10f8+'/block/'+_0x445584;return(await this[_0x513fe7(0x3e5)][_0x513fe7(0x1b7)](_0x17e130))['body'];}async[_0x4b970c(0x34a)](_0x293a8b,_0x190d48){var _0xe87cfd=_0x4b970c;const {unitID:_0x2a64d2,type:_0x415681,blockID:_0x31d338}=_0x190d48,_0x3bdcc4=this[_0xe87cfd(0x1ec)]()+_0xe87cfd(0x369)+_0x415681+_0xe87cfd(0x17f)+_0x2a64d2+_0xe87cfd(0x369)+_0x31d338;return(await this[_0xe87cfd(0x3e5)][_0xe87cfd(0x1b7)](_0x3bdcc4))[_0xe87cfd(0x2fd)];}async[_0x4b970c(0x228)](_0x3c52fd,_0x42d9f3){var _0x5a64c8=_0x4b970c;const {unitID:_0x4bc8c1,type:_0x4a2ed6,from:_0x2568aa,to:_0x270050}=_0x42d9f3,_0x4b911c=this[_0x5a64c8(0x1ec)]()+'/'+_0x4a2ed6+_0x5a64c8(0x17f)+_0x4bc8c1+_0x5a64c8(0x27a)+_0x2568aa+'&to='+_0x270050;return(await this[_0x5a64c8(0x3e5)][_0x5a64c8(0x1b7)](_0x4b911c))['body'];}['getSnapshotAPIPath'](){var _0x16dd6f=_0x4b970c,_0x1212f9;return(_0x1212f9=this['_configService'][_0x16dd6f(0x2d6)](On))!=null?_0x1212f9:this[_0x16dd6f(0x1ec)]();}[_0x4b970c(0x1ec)](){var _0x519c73=_0x4b970c,_0x4784a5,_0xe5485e;const _0x121b7e=this[_0x519c73(0x33d)]['getConfig'](Rn),_0x453e5f=this['_configService'][_0x519c73(0x2d6)](Y);return(_0xe5485e=(_0x4784a5=_0x453e5f==null?void 0x0:_0x453e5f[_0x519c73(0x420)])!=null?_0x4784a5:_0x121b7e)!=null?_0xe5485e:yn;}async[_0x4b970c(0x255)](_0x5a2626,_0x1554b8){var _0xb8ddb3=_0x4b970c;const _0x370fab=_0xb8ddb3(0x3e0)+_0x1554b8[_0xb8ddb3(0x1f3)]+_0xb8ddb3(0x17f)+_0x1554b8[_0xb8ddb3(0x3a1)]+_0xb8ddb3(0x282);return(await this[_0xb8ddb3(0x3e5)][_0xb8ddb3(0x1b7)](_0x370fab,{'params':{'resourceId':JSON[_0xb8ddb3(0x37e)](_0x1554b8['resourceIDs'])}}))[_0xb8ddb3(0x2fd)];}[_0x4b970c(0x256)](){var _0x1f37ce=_0x4b970c;throw new Error(_0x1f37ce(0x1c2));}[_0x4b970c(0x2eb)](){var _0x366d52=_0x4b970c;throw new Error(_0x366d52(0x1c2));}[_0x4b970c(0x34f)](){var _0x3d6195=_0x4b970c;throw new Error(_0x3d6195(0x1c2));}[_0x4b970c(0x38c)](){var _0x2ce5c9=_0x4b970c;throw new Error(_0x2ce5c9(0x1c2));}['getLatestCsReqIdBySid'](){var _0x1bd04a=_0x4b970c;throw new Error(_0x1bd04a(0x1c2));}};Dt=kr([ui(0x0,_0x24ac53),ui(0x1,_0x5f1c87(_0x307ade))],Dt);var jr=Object[_0x4b970c(0x27e)],Br=Object['getOwnPropertyDescriptor'],Fr=(_0x521102,_0x16f655,_0x1b8b06,_0x49ba37)=>{var _0x1d233d=_0x4b970c;for(var _0x3bf3dd=_0x49ba37>0x1?void 0x0:_0x49ba37?Br(_0x16f655,_0x1b8b06):_0x16f655,_0x31edca=_0x521102[_0x1d233d(0x2f8)]-0x1,_0x30f1b5;_0x31edca>=0x0;_0x31edca--)(_0x30f1b5=_0x521102[_0x31edca])&&(_0x3bf3dd=(_0x49ba37?_0x30f1b5(_0x16f655,_0x1b8b06,_0x3bf3dd):_0x30f1b5(_0x3bf3dd))||_0x3bf3dd);return _0x49ba37&&_0x3bf3dd&&jr(_0x16f655,_0x1b8b06,_0x3bf3dd),_0x3bf3dd;},we=(_0x5a0b78,_0x14e0ac)=>(_0x8adb26,_0xcccda6)=>_0x14e0ac(_0x8adb26,_0xcccda6,_0x5a0b78);let Nt=class extends _0x26af79{constructor(_0xaad301,_0x191402,_0x2e486e,_0xdafba1,_0x5959fa){var _0xa614d0=_0x4b970c;super(_0xaad301,_0x191402,_0x2e486e),this[_0xa614d0(0x352)]=_0xdafba1,this['_logService']=_0x5959fa;}['transformUndoRedo'](_0x36671e,_0x133554){var _0x4efcd4=_0x4b970c;const _0x156fa3=this[_0x4efcd4(0x42f)](_0x36671e);if(_0x156fa3)try{const _0x402393=this[_0x4efcd4(0x460)](_0x156fa3,_0x133554);this['_substituteUndoStack'](_0x36671e,_0x402393);}catch(_0x2c5dce){this['_logService'][_0x4efcd4(0x31a)]('[CollaborationUndoRedoService]',_0x2c5dce),this['_clearUndo'](_0x36671e);}const _0x40c3af=this['_getRedoStack'](_0x36671e);if(_0x40c3af)try{const _0x38e1a6=this[_0x4efcd4(0x460)](_0x40c3af,_0x133554);this[_0x4efcd4(0x40c)](_0x36671e,_0x38e1a6);}catch(_0x25335a){this[_0x4efcd4(0x34d)][_0x4efcd4(0x31a)](_0x25335a),this[_0x4efcd4(0x2fa)](_0x36671e);}}[_0x4b970c(0x33b)](_0x2f6cb3){var _0x4c6494=_0x4b970c;const _0x5399e1=this[_0x4c6494(0x42f)](_0x2f6cb3);_0x5399e1&&(_0x5399e1['length']=0x0,this[_0x4c6494(0x2f7)]());}[_0x4b970c(0x2fa)](_0x962a1a){var _0x53cb0d=_0x4b970c;const _0x33479b=this[_0x53cb0d(0x265)](_0x962a1a);_0x33479b&&(_0x33479b[_0x53cb0d(0x2f8)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x33bedd,_0x4ae57d){var _0x526bb1=_0x4b970c;this[_0x526bb1(0x436)][_0x526bb1(0x187)](_0x33bedd,_0x4ae57d),this[_0x526bb1(0x2f7)]();}['_substituteRedoStack'](_0x64f20f,_0xa6ef60){var _0xcefd4f=_0x4b970c;this[_0xcefd4f(0x1c6)]['set'](_0x64f20f,_0xa6ef60),this[_0xcefd4f(0x2f7)]();}[_0x4b970c(0x460)](_0x497ae4,_0x166712){var _0x3b7dd3=_0x4b970c;const _0x31d954=[];let _0xde751c=_0x166712,_0x3396cc=_0x166712;for(let _0x2d4fc2=_0x497ae4['length']-0x1;_0x2d4fc2>=0x0;_0x2d4fc2--){const {unitID:_0x1d8208,undoMutations:_0x4b978b,redoMutations:_0xaf590b}=_0x497ae4[_0x2d4fc2],_0x34438c=this['_transformService'][_0x3b7dd3(0x34e)](_0xde751c,_0x4b978b),_0x39378e=this['_transformService'][_0x3b7dd3(0x34e)](_0x3396cc,_0xaf590b);if(_0x3d2b55(_0x34438c)||_0x3d2b55(_0x39378e)){this[_0x3b7dd3(0x34d)]['error'](_0x3b7dd3(0x24d),_0x3b7dd3(0x281),_0x34438c,_0x39378e);break;}_0xde751c=_0x34438c[_0x3b7dd3(0x370)],_0x3396cc=_0x39378e[_0x3b7dd3(0x370)],_0x31d954[_0x3b7dd3(0x16c)]({'unitID':_0x1d8208,'undoMutations':_0x34438c[_0x3b7dd3(0x1e1)],'redoMutations':_0x39378e[_0x3b7dd3(0x1e1)]});}return _0x31d954[_0x3b7dd3(0x276)]();}};Nt=Fr([we(0x0,_0x5d568a),we(0x1,_0x161ee5),we(0x2,_0x2429b0),we(0x3,_0x4a1e5a),we(0x4,_0x42cc6c)],Nt);var Li=Object[_0x4b970c(0x27e)],Vr=Object[_0x4b970c(0x29d)],Wr=(_0x28a62d,_0x396816,_0x55174b)=>_0x396816 in _0x28a62d?Li(_0x28a62d,_0x396816,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55174b}):_0x28a62d[_0x396816]=_0x55174b,Gr=(_0x18757a,_0x33161d,_0x952665,_0x4a3281)=>{var _0x21bde7=_0x4b970c;for(var _0x4d4469=_0x4a3281>0x1?void 0x0:_0x4a3281?Vr(_0x33161d,_0x952665):_0x33161d,_0x541641=_0x18757a[_0x21bde7(0x2f8)]-0x1,_0x42c63c;_0x541641>=0x0;_0x541641--)(_0x42c63c=_0x18757a[_0x541641])&&(_0x4d4469=(_0x4a3281?_0x42c63c(_0x33161d,_0x952665,_0x4d4469):_0x42c63c(_0x4d4469))||_0x4d4469);return _0x4a3281&&_0x4d4469&&Li(_0x33161d,_0x952665,_0x4d4469),_0x4d4469;},St=(_0xed1c29,_0x17cb98)=>(_0x33fd9e,_0x573194)=>_0x17cb98(_0x33fd9e,_0x573194,_0xed1c29),Kr=(_0x5ad46b,_0xb68e31,_0x564710)=>Wr(_0x5ad46b,_0xb68e31+'',_0x564710);const zr=_0x4b970c(0x1e4);let wt=class extends _0x9d35d8{constructor(_0x5eb082=Bn,_0x2aaa13,_0x34b6c5,_0x44fa42){var _0x42b406=_0x4b970c;super(),this[_0x42b406(0x330)]=_0x5eb082,this[_0x42b406(0x34d)]=_0x2aaa13,this[_0x42b406(0x16b)]=_0x34b6c5,this['_configService']=_0x44fa42;const {..._0x42b2d2}=this['_config'];this[_0x42b406(0x33d)]['setConfig'](Y,_0x42b2d2);}[_0x4b970c(0x3c1)](){var _0x2d3f1a=_0x4b970c;this['_registerDependencies'](),this[_0x2d3f1a(0x351)]();}[_0x4b970c(0x1fb)](){var _0x330712=_0x4b970c,_0x322cee,_0xe34b8a,_0xbb1976,_0x54ed80;this['_injector'][_0x330712(0x36d)](_0x5ec572)&&this[_0x330712(0x34d)][_0x330712(0x31a)](_0x330712(0x23f),_0x330712(0x1b3));const _0xc42164=_0x5764cd([[_0x5ec572,{'useClass':Nt}],[Me],[Le],[_0x1d698d],[nt],[ot],[at],[Ri],[ct],[pe],[yt],[bi,{'useClass':(_0xe34b8a=(_0x322cee=this[_0x330712(0x330)])==null?void 0x0:_0x322cee['socketService'])!=null?_0xe34b8a:Et}],[_0x1e0875,{'useClass':Dt}],[_0x352e76,{'useClass':Rt}],[_0x3c4061,{'useClass':Ot}],[_0x14380e,{'useClass':Pt}],[rt],[bt]],(_0xbb1976=this['_config'])==null?void 0x0:_0xbb1976[_0x330712(0x3e8)]);if(!((_0x54ed80=this['_config'])!=null&&_0x54ed80[_0x330712(0x388)])){const _0x6463bf=_0xc42164[_0x330712(0x192)](([_0xf4b258])=>_0xf4b258===ht);_0x6463bf!==-0x1&&_0xc42164['splice'](_0x6463bf,0x1);}_0x3cfae4(this[_0x330712(0x16b)],_0xc42164);}[_0x4b970c(0x351)](){var _0x22fa47=_0x4b970c,_0x406939,_0x19d98a;this[_0x22fa47(0x16b)][_0x22fa47(0x1b7)](_0x307ade)[_0x22fa47(0x1ea)]({'priority':0x14,'interceptor':_0x29a4c0({'maxParallel':0x6})}),(_0x406939=this['_config'])!=null&&_0x406939[_0x22fa47(0x40a)]||this[_0x22fa47(0x16b)][_0x22fa47(0x1b7)](X)[_0x22fa47(0x3a2)](),(_0x19d98a=this[_0x22fa47(0x330)])!=null&&_0x19d98a[_0x22fa47(0x2cd)]&&_0x4b4a6f(this[_0x22fa47(0x16b)],[[ot]]),_0x4b4a6f(this['_injector'],[[at],[rt],[ct]]);}};Kr(wt,_0x4b970c(0x400),zr),wt=Gr([_0x24395d(_0x394ae5,_0x1b3d00,_0x3372ff),St(0x1,_0x42cc6c),St(0x2,_0x5f1c87(_0x50ff70)),St(0x3,_0x24ac53)],wt);export{wi as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,ue as AwaitingState,oe as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,$n as COLLAB_SUBMIT_CHANGESET_URL_KEY,Dn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Ot as CollaborationImageIoService,It as CollaborationSession,Me as CollaborationSessionService,Et as CollaborationSocketService,Pi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Nt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,Nn as DEFAULT_COLLAB_WEB_SOCKET_URL,yt as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,Un as HEARTBEAT_INTERVAL_KEY,Ei as HEARTBEAT_TIMEOUT_KEY,bi as ICollaborationSocketService,X as ILocalCacheService,ht as ISingleActiveUnitService,oo as LOCAL_CACHE_INTERVAL,ro as LOCAL_CACHE_INTERVAL_KEY,kn as LOGIN_URL_KEY,Le as MemberService,Pt as MentionIoHttpService,fe as OfflineState,re as PendingState,Ln as RETRY_CONNECTING_MAX_COUNT_KEY,so as SEND_CHANGESET_TIMEOUT_KEY,Rn as SNAPSHOT_SERVER_URL_KEY,On as SNAPSHOT_URL_KEY,Ie as SessionStatus,Ct as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,yi as UnitStatus,wt as UniverCollaborationClientPlugin,Fn as deserializeToCombResponse,ao as getLocalCacheKey,Vn as serializeCombRequest};
|