@univerjs-pro/collaboration-client 0.4.2 → 0.5.0-alpha.0
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 -0
- package/lib/cjs/locale/fa-IR.js +1 -0
- package/lib/cjs/locale/ru-RU.js +1 -0
- package/lib/cjs/locale/vi-VN.js +1 -0
- package/lib/cjs/locale/zh-CN.js +1 -0
- package/lib/cjs/locale/zh-TW.js +1 -0
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -0
- package/lib/es/locale/fa-IR.js +1 -0
- package/lib/es/locale/ru-RU.js +1 -0
- package/lib/es/locale/vi-VN.js +1 -0
- package/lib/es/locale/zh-CN.js +1 -0
- package/lib/es/locale/zh-TW.js +1 -0
- package/lib/types/index.d.ts +890 -34
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -0
- package/lib/umd/locale/fa-IR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -0
- package/lib/umd/locale/vi-VN.js +1 -0
- package/lib/umd/locale/zh-CN.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -0
- package/package.json +39 -31
- package/lib/locale/en-US.json +0 -38
- package/lib/locale/fa-IR.json +0 -38
- package/lib/locale/ru-RU.json +0 -38
- package/lib/locale/vi-VN.json +0 -38
- package/lib/locale/zh-CN.json +0 -38
- package/lib/locale/zh-TW.json +0 -38
- package/lib/types/config/config.d.ts +0 -48
- 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 -54
- package/lib/types/controllers/collaboration/collaboration-entity.d.ts +0 -91
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +0 -303
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +0 -24
- package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +0 -18
- package/lib/types/controllers/collaboration/utils/empty.d.ts +0 -2
- package/lib/types/controllers/config.schema.d.ts +0 -29
- 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/controllers/file-name/file-name.controller.d.ts +0 -12
- package/lib/types/controllers/telemetry.d.ts +0 -11
- package/lib/types/locale/en-US.d.ts +0 -3
- package/lib/types/locale/fa-IR.d.ts +0 -3
- package/lib/types/locale/ru-RU.d.ts +0 -3
- package/lib/types/locale/vi-VN.d.ts +0 -3
- package/lib/types/locale/zh-CN.d.ts +0 -39
- package/lib/types/locale/zh-TW.d.ts +0 -3
- package/lib/types/models/cursor.d.ts +0 -30
- package/lib/types/plugin.d.ts +0 -18
- package/lib/types/services/auth-server/auth-server.service.d.ts +0 -10
- package/lib/types/services/auth-server/authz-io-http.service.d.ts +0 -30
- package/lib/types/services/auth-server/domain-request.service.d.ts +0 -6
- package/lib/types/services/auth-server/util.d.ts +0 -1
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +0 -59
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +0 -61
- package/lib/types/services/color-assign/color-assign.service.d.ts +0 -10
- package/lib/types/services/comment/comment.service.d.ts +0 -6
- package/lib/types/services/image-remote/image-io.service.d.ts +0 -34
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +0 -13
- package/lib/types/services/local-cache/local-cache.service.d.ts +0 -37
- package/lib/types/services/member/member.service.d.ts +0 -77
- package/lib/types/services/permission/permission.service.d.ts +0 -12
- package/lib/types/services/range-selection/sheet-transform-selections.service.d.ts +0 -13
- package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +0 -39
- package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +0 -21
- package/lib/types/services/socket/collaboration-socket.service.d.ts +0 -34
- package/lib/types/services/socket/serialize.d.ts +0 -3
- 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/undoredo/collaborative-undoredo.service.d.ts +0 -19
- 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 _0x3d192e=_0x1083;(function(_0x1defb3,_0x2f058f){const _0x1a9474=_0x1083,_0xe6b2ea=_0x1defb3();while(!![]){try{const _0x6b2494=-parseInt(_0x1a9474(0x44a))/0x1*(parseInt(_0x1a9474(0x4b7))/0x2)+parseInt(_0x1a9474(0x4ff))/0x3+parseInt(_0x1a9474(0x459))/0x4+-parseInt(_0x1a9474(0x362))/0x5*(parseInt(_0x1a9474(0x332))/0x6)+-parseInt(_0x1a9474(0x490))/0x7+-parseInt(_0x1a9474(0x41c))/0x8+parseInt(_0x1a9474(0x1bb))/0x9;if(_0x6b2494===_0x2f058f)break;else _0xe6b2ea['push'](_0xe6b2ea['shift']());}catch(_0x34a38a){_0xe6b2ea['push'](_0xe6b2ea['shift']());}}}(_0x44e8,0x82e18));var Ki=Object[_0x3d192e(0x494)],zi=(_0x574e00,_0x218e13,_0x28bcbc)=>_0x218e13 in _0x574e00?Ki(_0x574e00,_0x218e13,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28bcbc}):_0x574e00[_0x218e13]=_0x28bcbc,g=(_0x466c5a,_0x2e16ed,_0x1b7297)=>zi(_0x466c5a,typeof _0x2e16ed!='symbol'?_0x2e16ed+'':_0x2e16ed,_0x1b7297);import{createIdentifier as _0x1ee28b,Inject as _0x435342,Disposable as _0x1b81eb,DisposableCollection as _0x53f1da,toDisposable as _0x30963a,IConfigService as _0x1b2eff,ILogService as _0x25772e,UserManagerService as _0x5bb2c6,UniverInstanceType as _0x1c25e8,IUniverInstanceService as _0x405019,LocaleService as _0xef493b,Optional as _0x1eef7c,RxDisposable as _0x10cb26,Injector as _0x5a18dc,Tools as _0x28e921,ILocalStorageService as _0x41aee6,Rectangle as _0x44b24e,ICommandService as _0x4d4125,DOC_RANGE_TYPE as _0x30543d,JSONX as _0x1af5f2,CommandType as _0x8cff0f,IPermissionService as _0x23a72a,IUndoRedoService as _0x211f33,sequenceExecute as _0x128974,debounce as _0x339b95,COLORS as _0x34dcb6,ColorKit as _0x3dadb0,ThemeService as _0x462884,fromEventSubject as _0xf30ad2,useDependency as _0x19195f,connectInjector as _0x44d91f,Workbook as _0x15f270,isInternalEditorID as _0x4a523d,LocalUndoRedoService as _0x575974,IContextService as _0x2ce207,DependentOn as _0x347a5f,Plugin as _0x17b289,touchDependencies as _0xd9b0ec,IAuthzIoService as _0x1be879,registerDependencies as _0x1adb6b,mergeOverrideWithDependencies as _0x47ce99}from'@univerjs/core';import{Subject as _0x276b38,merge as _0x2eb1f5,takeUntil as _0xe1e697,BehaviorSubject as _0x1d58dd,distinctUntilChanged as _0x432dfd,fromEvent as _0x2f7e2c,ReplaySubject as _0x313804,take as _0x543baa,map as _0x2f5428,shareReplay as _0x2a23f2,of as _0x20dba1,debounceTime as _0xde4a6a,filter as _0x1e3ea8,switchMap as _0x149f7d,combineLatest as _0x5e82ee,concatMap as _0x8a475e,mapTo as _0x144116}from'rxjs';import{map as _0x5050a4,take as _0x47349f,filter as _0x4f86ac,delay as _0x3bb49b,throttleTime as _0x477e40,takeUntil as _0x4bc87f,switchMap as _0x4fd761}from'rxjs/operators';import{MessageType as _0x5b8609,Tooltip as _0x46fd32}from'@univerjs/design';import{IBeforeCloseService as _0x4a45c6,IMessageService as _0x11ef1f,INotificationService as _0x286bb3,useObservable as _0x4f6f45,BuiltInUIPart as _0x211079,IUIPartsService as _0x5b59f0}from'@univerjs/ui';import{HTTPService as _0x280c50,WebSocketService as _0x16fe7e,MergeInterceptorFactory as _0x49bcb0,HTTPRequest as _0x1b63e6,UniverNetworkPlugin as _0x1c34c7,ThresholdInterceptorFactory as _0x2dd3a5}from'@univerjs/network';import{CollaborationEvent as _0x28e200,parseChangesetToProtocol as _0x5195c3,ISnapshotServerService as _0x246ddf,isTransformMutationFailure as _0x19a818,isTransformMutationsWithChangesetSuccess as _0x4b9a49,ITransformService as _0x238f3d,RevisionService as _0x18ab34,mapDocumentTypeToUniverType as _0x278f99,isTransformChangesetsSuccess as _0x302b92,CompressMutationService as _0x58b852,parseProtocolChangeset as _0x4167b6,SnapshotService as _0x595913,textEncoder as _0xc0d837,b64DecodeUnicode as _0x447767,isTransformMutationsWithChangesetFailure as _0x5952ae,UniverCollaborationPlugin as _0x45331b}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x119c9a}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x357b66,DocStateChangeManagerService as _0x391d27,NodePositionConvertToCursor as _0x20e65b,NodePositionConvertToRectRange as _0x227dda,TEXT_RANGE_LAYER_INDEX as _0x397a80,SetDocZoomRatioOperation as _0x294a0c}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x3c9037,SetSelectionsOperation as _0x8e9493,InsertSheetMutation as _0x475c69,EmptyMutation as _0x45cb2e,WorkbookEditablePermission as _0x11ffb6,RefRangeService as _0x9b446f,EffectRefRangId as _0x572e94,handleIRemoveRow as _0x4cae9e,handleIRemoveCol as _0x5c63a8,handleMoveRange as _0x45208f,handleInsertRow as _0x404ede,handleInsertRangeMoveRight as _0x461d14,handleInsertRangeMoveDown as _0x557413,handleInsertCol as _0x489ef0,handleDeleteRangeMoveUp as _0x5f5d6d,handleDeleteRangeMoveLeft as _0x262d03,runRefRangeMutations as _0x22fc09,SetWorksheetActivateCommand as _0x5387d6}from'@univerjs/sheets';import{IRenderManagerService as _0x1d562c,Shape as _0x1610d0,Rect as _0x242611,getColor as _0x12cdbd,RegularPolygon as _0x2caf0e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x10d624,Vector2 as _0x12b8ac}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x9ce9ab,RichTextEditingMutation as _0x5448a2,SetTextSelectionsOperation as _0x3dabd6,DocSkeletonManagerService as _0x3ffb40}from'@univerjs/docs';import{ImageSourceType as _0x1be8f3,ImageUploadStatusType as _0x2e29de,IImageIoService as _0xfbc33e}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x5ea48b,serializeRangeWithSheet as _0x3f0e28}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x3eba81,VIEWPORT_KEY as _0x30af2a,getCoordByCell as _0x5be27d,getSheetObject as _0x18abc2,SheetPermissionInitController as _0x3e9ce4}from'@univerjs/sheets-ui';import _0xdab72b,{forwardRef as _0x34a220,useRef as _0x3348da,createElement as _0x28fb12,useCallback as _0x1a836b}from'react';import{IRemoteInstanceService as _0x5ec368}from'@univerjs/rpc';const rr=_0x3d192e(0x35a),or='/universer-api/snapshot',ar=_0x3d192e(0x21f),Gc=_0x3d192e(0x1f6),cr=0x7d0,hr=_0x3d192e(0x1c8),lr=_0x3d192e(0x3cc),_r=_0x3d192e(0x589),ur=0x7530,bi=_0x3d192e(0x4f6),Ti=0x4e20,dr=0x4e20,fr='RETRY_CONNECTING_MAX_COUNT',vr=0x3,mr=_0x3d192e(0x2f4),pr=0x3e8,gr=_0x3d192e(0x3bd),Sr=_0x3d192e(0x5a5),Ir=_0x3d192e(0x195),Cr='/universer-api/oidc/authpage';var Ri=(_0x2dbae9=>(_0x2dbae9[_0x2dbae9[_0x3d192e(0x2e7)]=0x0]=_0x3d192e(0x2e7),_0x2dbae9[_0x2dbae9['OK']=0x1]='OK',_0x2dbae9[_0x2dbae9[_0x3d192e(0x203)]=0x2]=_0x3d192e(0x203),_0x2dbae9[_0x2dbae9[_0x3d192e(0x33a)]=0x3]=_0x3d192e(0x33a),_0x2dbae9[_0x2dbae9['NOT_FOUND']=0x4]=_0x3d192e(0x3d1),_0x2dbae9[_0x2dbae9[_0x3d192e(0x20d)]=0x5]=_0x3d192e(0x20d),_0x2dbae9[_0x2dbae9['ALREADY_EXISTS']=0x6]=_0x3d192e(0x2d9),_0x2dbae9[_0x2dbae9[_0x3d192e(0x21d)]=0x7]=_0x3d192e(0x21d),_0x2dbae9[_0x2dbae9['TOO_MANY_REQUESTS']=0x8]=_0x3d192e(0x22e),_0x2dbae9[_0x2dbae9[_0x3d192e(0x1ca)]=0x9]=_0x3d192e(0x1ca),_0x2dbae9[_0x2dbae9['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x3d192e(0x20c),_0x2dbae9[_0x2dbae9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2dbae9[_0x2dbae9[_0x3d192e(0x23c)]=0x1772]=_0x3d192e(0x23c),_0x2dbae9[_0x2dbae9[_0x3d192e(0x259)]=0x1773]=_0x3d192e(0x259),_0x2dbae9[_0x2dbae9[_0x3d192e(0x3e8)]=0x1b59]=_0x3d192e(0x3e8),_0x2dbae9[_0x2dbae9[_0x3d192e(0x343)]=0x1b5a]=_0x3d192e(0x343),_0x2dbae9[_0x2dbae9[_0x3d192e(0x402)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2dbae9[_0x2dbae9[_0x3d192e(0x266)]=0x1b5c]=_0x3d192e(0x266),_0x2dbae9[_0x2dbae9[_0x3d192e(0x42d)]=0x1b5d]='APPLY_DUPLICATED',_0x2dbae9[_0x2dbae9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3d192e(0x56b),_0x2dbae9[_0x2dbae9['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3d192e(0x20e),_0x2dbae9[_0x2dbae9[_0x3d192e(0x419)]=0x232a]=_0x3d192e(0x419),_0x2dbae9[_0x2dbae9[_0x3d192e(0x595)]=0x232b]=_0x3d192e(0x595),_0x2dbae9[_0x2dbae9[_0x3d192e(0x526)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2dbae9[_0x2dbae9[_0x3d192e(0x248)]=0x232d]=_0x3d192e(0x248),_0x2dbae9[_0x2dbae9[_0x3d192e(0x425)]=0x2711]=_0x3d192e(0x425),_0x2dbae9[_0x2dbae9[_0x3d192e(0x428)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2dbae9[_0x2dbae9['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3d192e(0x2f3),_0x2dbae9[_0x2dbae9['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3d192e(0x1f0),_0x2dbae9[_0x2dbae9['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2dbae9))(Ri||{}),ce=(_0x3834a6=>(_0x3834a6[_0x3834a6[_0x3d192e(0x2c8)]=0x0]=_0x3d192e(0x2c8),_0x3834a6[_0x3834a6['UNIVER_DOC']=0x1]=_0x3d192e(0x52f),_0x3834a6[_0x3834a6[_0x3d192e(0x26f)]=0x2]='UNIVER_SHEET',_0x3834a6[_0x3834a6[_0x3d192e(0x18e)]=0x3]=_0x3d192e(0x18e),_0x3834a6[_0x3834a6[_0x3d192e(0x35c)]=0x4]='UNIVER_PROJECT',_0x3834a6[_0x3834a6['UNRECOGNIZED']=-0x1]=_0x3d192e(0x423),_0x3834a6))(ce||{}),W=(_0x4b4426=>(_0x4b4426[_0x4b4426[_0x3d192e(0x201)]=0x0]=_0x3d192e(0x201),_0x4b4426[_0x4b4426['HELLO']=0x1]=_0x3d192e(0x4d9),_0x4b4426[_0x4b4426[_0x3d192e(0x36f)]=0x2]=_0x3d192e(0x36f),_0x4b4426[_0x4b4426['LEAVE']=0x3]=_0x3d192e(0x54e),_0x4b4426[_0x4b4426[_0x3d192e(0x283)]=0x4]='INGEST',_0x4b4426[_0x4b4426[_0x3d192e(0x220)]=0x5]=_0x3d192e(0x220),_0x4b4426[_0x4b4426[_0x3d192e(0x427)]=0x6]=_0x3d192e(0x427),_0x4b4426[_0x4b4426[_0x3d192e(0x423)]=-0x1]=_0x3d192e(0x423),_0x4b4426))(W||{}),Is=(_0x5c3dc2=>(_0x5c3dc2[_0x5c3dc2[_0x3d192e(0x2e3)]=0x0]=_0x3d192e(0x2e3),_0x5c3dc2[_0x5c3dc2['OK']=0x1]='OK',_0x5c3dc2[_0x5c3dc2[_0x3d192e(0x22a)]=0x2]='FAIL',_0x5c3dc2[_0x5c3dc2[_0x3d192e(0x423)]=-0x1]='UNRECOGNIZED',_0x5c3dc2))(Is||{}),yi=(_0x3d7d88=>(_0x3d7d88[_0x3d7d88[_0x3d192e(0x40a)]=0x0]=_0x3d192e(0x40a),_0x3d7d88[_0x3d7d88[_0x3d192e(0x438)]=0x1]=_0x3d192e(0x438),_0x3d7d88[_0x3d7d88[_0x3d192e(0x469)]=0x2]=_0x3d192e(0x469),_0x3d7d88[_0x3d7d88[_0x3d192e(0x2be)]=0x3]=_0x3d192e(0x2be),_0x3d7d88[_0x3d7d88[_0x3d192e(0x4c0)]=0x4]=_0x3d192e(0x4c0),_0x3d7d88[_0x3d7d88[_0x3d192e(0x423)]=-0x1]='UNRECOGNIZED',_0x3d7d88))(yi||{});const ie=_0x3d192e(0x299),Er={};function br(_0xafbbf1){const _0x4d375b=_0x3d192e;var _0x21fc12,_0x50cda6,_0x4acedd,_0x408ff4,_0x434ab0;const _0x428f05=_0xafbbf1[_0x4d375b(0x383)],_0x3c757d=JSON['parse'](_0x428f05);switch(_0x3c757d[_0x4d375b(0x4f3)]){case W[_0x4d375b(0x220)]:case W['HELLO']:{const _0x2c6c72=_0x3c757d[_0x4d375b(0x498)];return{..._0x3c757d,'data':_0x2c6c72,'cmd':_0x3c757d[_0x4d375b(0x4f3)]};}case W[_0x4d375b(0x36f)]:{const _0x3ed08d=_0x3c757d['joinRsp'];return{..._0x3c757d,'data':_0x3ed08d,'cmd':_0x3c757d['cmd']};}case W[_0x4d375b(0x427)]:{const _0x46834a=_0x3c757d[_0x4d375b(0x256)];switch(_0x46834a[_0x4d375b(0x1f5)]){case _0x28e200[_0x4d375b(0x58e)]:return{..._0x3c757d,'data':{..._0x46834a,'data':(_0x21fc12=_0x46834a[_0x4d375b(0x4d3)])==null?void 0x0:_0x21fc12['cs']},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};case _0x28e200[_0x4d375b(0x246)]:return{..._0x3c757d,'data':{..._0x46834a,'data':(_0x50cda6=_0x46834a[_0x4d375b(0x4cd)])==null?void 0x0:_0x50cda6['cs']},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};case _0x28e200['NEW_CHANGESETS']:return{..._0x3c757d,'data':{..._0x46834a,'data':(_0x4acedd=_0x46834a[_0x4d375b(0x515)])==null?void 0x0:_0x4acedd['cs']},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};case _0x28e200['CHANGESET_REJ']:return{..._0x3c757d,'data':{..._0x46834a,'data':(_0x408ff4=_0x46834a['csRejEvent'])==null?void 0x0:_0x408ff4['cs']},'cmd':_0x3c757d['cmd']};case _0x28e200['CHANGESET_SHOULD_RETRY']:return{..._0x3c757d,'data':{..._0x46834a,'data':(_0x434ab0=_0x46834a[_0x4d375b(0x507)])==null?void 0x0:_0x434ab0['cs']},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};case _0x28e200['UPDATE_CURSOR']:return{..._0x3c757d,'data':{..._0x46834a,'data':_0x46834a[_0x4d375b(0x52c)]},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};case _0x28e200[_0x4d375b(0x2f9)]:return{..._0x3c757d,'data':{..._0x46834a,'data':_0x46834a[_0x4d375b(0x487)]},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};case _0x28e200[_0x4d375b(0x25c)]:return{..._0x3c757d,'data':{..._0x46834a,'data':_0x46834a[_0x4d375b(0x54a)]},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};case _0x28e200[_0x4d375b(0x1ba)]:return{..._0x3c757d,'data':{..._0x46834a,'data':_0x46834a[_0x4d375b(0x360)]},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};case _0x28e200[_0x4d375b(0x411)]:case _0x28e200[_0x4d375b(0x405)]:return{..._0x3c757d,'data':{..._0x46834a,'data':_0x46834a[_0x4d375b(0x592)]},'cmd':_0x3c757d['cmd']};case _0x28e200[_0x4d375b(0x1cf)]:return{..._0x3c757d,'data':{..._0x46834a,'data':_0x46834a['liveShareNewHost']},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};case _0x28e200[_0x4d375b(0x45f)]:return{..._0x3c757d,'data':_0x46834a,'cmd':_0x3c757d['cmd']};case _0x28e200['COMMENT_UPDATE']:return{..._0x3c757d,'data':{..._0x46834a,'data':_0x46834a[_0x4d375b(0x537)]},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};case _0x28e200[_0x4d375b(0x3f9)]:return{..._0x3c757d,'data':{..._0x46834a,'data':_0x46834a[_0x4d375b(0x260)]},'cmd':_0x3c757d['cmd']};case _0x28e200[_0x4d375b(0x593)]:return{..._0x3c757d,'data':{..._0x46834a,'data':_0x46834a[_0x4d375b(0x19e)]},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};default:return _0x3c757d;}}default:return _0x3c757d;}}function Tr(_0xc94f5b){const _0x26b923=_0x3d192e;switch(_0xc94f5b['cmd']){case W[_0x26b923(0x220)]:case W[_0x26b923(0x4d9)]:return JSON[_0x26b923(0x4fa)]({'cmd':_0xc94f5b[_0x26b923(0x4f3)],'routeKey':_0xc94f5b[_0x26b923(0x25f)]});case W[_0x26b923(0x283)]:{let _0x3d05f5;switch(_0xc94f5b['data'][_0x26b923(0x1f5)]){case _0x28e200[_0x26b923(0x4ac)]:{_0x3d05f5={'eventID':_0x28e200[_0x26b923(0x4ac)],'updateCursorEvent':_0xc94f5b[_0x26b923(0x383)][_0x26b923(0x383)]};break;}case _0x28e200[_0x26b923(0x25c)]:{_0x3d05f5={'eventID':_0x28e200[_0x26b923(0x25c)],'leaveEvent':_0xc94f5b[_0x26b923(0x383)][_0x26b923(0x383)]};break;}case _0x28e200[_0x26b923(0x2f9)]:{_0x3d05f5={'eventID':_0x28e200['USERS_ENTER'],'joinEvent':_0xc94f5b['data']['data']};break;}case _0x28e200[_0x26b923(0x1ba)]:{_0x3d05f5={'eventID':_0x28e200[_0x26b923(0x1ba)],'liveShareNewHost':_0xc94f5b[_0x26b923(0x383)][_0x26b923(0x383)]};break;}case _0x28e200[_0x26b923(0x405)]:{_0x3d05f5={'eventID':_0x28e200[_0x26b923(0x405)],'liveShareOperation':_0xc94f5b[_0x26b923(0x383)][_0x26b923(0x383)]};break;}case _0x28e200['LIVESHARE_TERMINATE']:{_0x3d05f5={'eventID':_0x28e200[_0x26b923(0x1cf)],'liveShareTerminate':_0xc94f5b['data'][_0x26b923(0x383)]};break;}case _0x28e200['LIVESHARE_REQUEST_HOST']:{_0x3d05f5={'eventID':_0x28e200[_0x26b923(0x518)],'liveShareRequestHost':_0xc94f5b['data']['data']};break;}case _0x28e200[_0x26b923(0x411)]:{_0x3d05f5={'eventID':_0x28e200['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3d05f5={'eventID':_0xc94f5b[_0x26b923(0x383)][_0x26b923(0x1f5)]};}return JSON[_0x26b923(0x4fa)]({'cmd':_0xc94f5b['cmd'],'routeKey':_0xc94f5b['routeKey'],'collaMsg':_0x3d05f5});}case W['JOIN']:return JSON[_0x26b923(0x4fa)]({'cmd':_0xc94f5b[_0x26b923(0x4f3)],'routeKey':_0xc94f5b[_0x26b923(0x25f)],'joinReq':_0xc94f5b['data']});case W[_0x26b923(0x54e)]:return JSON[_0x26b923(0x4fa)]({'cmd':_0xc94f5b[_0x26b923(0x4f3)],'routeKey':_0xc94f5b[_0x26b923(0x25f)],'leaveReq':_0xc94f5b[_0x26b923(0x383)]});default:throw new Error(_0x26b923(0x4e6));}}var Rr=Object['defineProperty'],yr=Object[_0x3d192e(0x3e5)],Or=(_0x4b2908,_0x199fe9,_0x4d6fb5,_0x46d431)=>{const _0x419b0b=_0x3d192e;for(var _0x53ddc9=_0x46d431>0x1?void 0x0:_0x46d431?yr(_0x199fe9,_0x4d6fb5):_0x199fe9,_0x386bab=_0x4b2908[_0x419b0b(0x4e9)]-0x1,_0x526f72;_0x386bab>=0x0;_0x386bab--)(_0x526f72=_0x4b2908[_0x386bab])&&(_0x53ddc9=(_0x46d431?_0x526f72(_0x199fe9,_0x4d6fb5,_0x53ddc9):_0x526f72(_0x53ddc9))||_0x53ddc9);return _0x46d431&&_0x53ddc9&&Rr(_0x199fe9,_0x4d6fb5,_0x53ddc9),_0x53ddc9;},qe=(_0x4ae050,_0x7baacd)=>(_0x250ac7,_0x387df7)=>_0x7baacd(_0x250ac7,_0x387df7,_0x4ae050);const Oi=_0x1ee28b('univer-pro.collaboration-client-socket-service');function wr(_0x250e82,_0xfd3f16,_0x227b7e){const _0x215303=_0x3d192e;return _0x250e82+'/'+_0xfd3f16+'/unit/'+_0x227b7e+_0x215303(0x59c);}let es=class extends _0x1b81eb{constructor(_0x45fd41,_0x2afaed,_0x4eaaa4,_0x494d69,_0x40961c){const _0x3c553b=_0x3d192e;super(),this['_http']=_0x45fd41,this[_0x3c553b(0x315)]=_0x2afaed,this[_0x3c553b(0x295)]=_0x4eaaa4,this['_logService']=_0x494d69,this[_0x3c553b(0x25b)]=_0x40961c;}[_0x3d192e(0x34c)](_0x261433){const _0x512ed2=_0x3d192e,_0x31dae6=this[_0x512ed2(0x315)][_0x512ed2(0x34c)](_0x261433);if(!_0x31dae6)throw new Error(_0x512ed2(0x1be));const _0xaa414a=new _0x53f1da(),_0x1b6c19=new _0x276b38();_0xaa414a['add'](_0x31dae6['close$']['subscribe'](_0x2451b5=>_0x1b6c19[_0x512ed2(0x4bc)](_0x2451b5))),_0xaa414a[_0x512ed2(0x4f2)](_0x30963a(()=>_0x1b6c19[_0x512ed2(0x348)]()));const _0x5a4b22=new _0x276b38();_0xaa414a[_0x512ed2(0x4f2)](_0x31dae6[_0x512ed2(0x510)][_0x512ed2(0x2ce)](_0x174ae7=>_0x5a4b22[_0x512ed2(0x4bc)](_0x174ae7))),_0xaa414a[_0x512ed2(0x4f2)](_0x30963a(()=>_0x5a4b22['complete']()));const _0x5678b2=new _0x276b38();_0xaa414a[_0x512ed2(0x4f2)](_0x31dae6[_0x512ed2(0x288)]['subscribe'](_0x5be3ee=>{const _0x4ed8df=_0x512ed2,_0x34a7d0=br(_0x5be3ee);_0x5678b2[_0x4ed8df(0x4bc)](_0x34a7d0);})),_0xaa414a[_0x512ed2(0x4f2)](_0x30963a(()=>_0x5678b2[_0x512ed2(0x348)]()));let _0x330590;const _0xb98ebf=()=>{const _0x82622c=_0x512ed2;_0x5a4b22['next'](new Event('connection\x20error')),_0x1b6c19[_0x82622c(0x4bc)](new CloseEvent('connection\x20error')),_0x330590[_0x82622c(0x2e1)]();};return _0x330590={'memberID':'','close$':_0x1b6c19['asObservable'](),'error$':_0x5a4b22[_0x512ed2(0x194)](),'open$':_0x31dae6[_0x512ed2(0x39e)],'message$':_0x5678b2['asObservable'](),'send':_0x995cb8=>{const _0x36aba7=_0x512ed2;if(_0x995cb8[_0x36aba7(0x4f3)]===W['INGEST']){if(_0x995cb8[_0x36aba7(0x383)][_0x36aba7(0x1f5)]===_0x28e200['SUBMIT_CHANGESET']){this[_0x36aba7(0x573)](_0x330590,_0x995cb8['data'])[_0x36aba7(0x2b9)](_0x406092=>{const _0x112264=_0x36aba7;this[_0x112264(0x3b5)][_0x112264(0x4f4)](_0x406092),_0xb98ebf();});return;}if(_0x995cb8[_0x36aba7(0x383)]['eventID']===_0x28e200[_0x36aba7(0x3f4)]){const _0x3e22c0=_0x995cb8['data'];this[_0x36aba7(0x304)](_0x3e22c0)[_0x36aba7(0x429)](_0x2e5ef5=>{const _0x361d2d=_0x36aba7;_0x5678b2[_0x361d2d(0x4bc)]({'cmd':W[_0x361d2d(0x427)],'code':Is['OK'],'routeKey':_0x3e22c0['data'][_0x361d2d(0x1dc)],'routeType':'','data':{'eventID':_0x28e200[_0x361d2d(0x479)],'data':{'changesets':_0x2e5ef5}}});})[_0x36aba7(0x2b9)](_0x5b4e31=>{const _0x131e47=_0x36aba7;this['_logService'][_0x131e47(0x4f4)](_0x5b4e31),_0xb98ebf();});return;}}_0x31dae6[_0x36aba7(0x214)](Tr(_0x995cb8));},'close':()=>{const _0x30f6e3=_0x512ed2;_0x31dae6['close'](),_0xaa414a[_0x30f6e3(0x228)]();}},_0x330590;}async[_0x3d192e(0x573)](_0x24e051,_0xbcfa8c){const _0x4379ef=_0x3d192e;var _0x1d7c2d,_0x517194;const {unitType:_0x2e524f,unitID:_0x24d866,changeset:_0x39f8c2}=_0xbcfa8c['data'],_0xdba4e3={'unitID':_0x24d866,'memberID':_0x24e051[_0x4379ef(0x1ec)],'type':_0x2e524f,'changeset':_0x5195c3(_0x39f8c2)},_0x98b028=this[_0x4379ef(0x295)][_0x4379ef(0x1aa)](gr),_0x2d156a=this[_0x4379ef(0x295)][_0x4379ef(0x1aa)](ie),_0x4ea3c7=wr((_0x517194=(_0x1d7c2d=_0x2d156a==null?void 0x0:_0x2d156a[_0x4379ef(0x310)])!=null?_0x1d7c2d:_0x98b028)!=null?_0x517194:Sr,_0x2e524f,_0x24d866);try{await this[_0x4379ef(0x2a7)][_0x4379ef(0x1c0)](_0x4ea3c7,{'body':_0xdba4e3});}catch(_0x260fc1){throw this[_0x4379ef(0x3b5)][_0x4379ef(0x4f4)](_0x4379ef(0x4d7),_0x4379ef(0x400)),_0x260fc1;}}async[_0x3d192e(0x304)](_0x24b797){const _0x3e7f27=_0x3d192e,{unitID:_0x653c1c,from:_0x369b02,to:_0x1d4bef,unitType:_0x4614ba}=_0x24b797[_0x3e7f27(0x383)];return(await this['_snapshotServerService'][_0x3e7f27(0x23d)]({'metadata':void 0x0},{'unitID':_0x653c1c,'type':_0x4614ba,'from':_0x369b02,'to':_0x1d4bef}))['changesets'];}};es=Or([qe(0x0,_0x435342(_0x280c50)),qe(0x1,_0x435342(_0x16fe7e)),qe(0x2,_0x1b2eff),qe(0x3,_0x25772e),qe(0x4,_0x246ddf)],es);const Dr='collaboration_new_changeset';function Pr(_0x57f9c2){return JSON['stringify'](_0x57f9c2)['length'];}class wi{constructor(){const _0x52d915=_0x3d192e;g(this,_0x52d915(0x3ac),new _0x276b38()),g(this,_0x52d915(0x3f2),this[_0x52d915(0x3ac)][_0x52d915(0x194)]());}['onCommentUpdate'](_0x3ae7e6){const _0x31d9f7=_0x3d192e;this['_commentUpdate$'][_0x31d9f7(0x4bc)](_0x3ae7e6);}}var Ur=Object['defineProperty'],Nr=Object['getOwnPropertyDescriptor'],Ar=(_0x5c94b9,_0x441a31,_0x33d86f,_0x25d37e)=>{const _0x188a5e=_0x3d192e;for(var _0x3ca2db=_0x25d37e>0x1?void 0x0:_0x25d37e?Nr(_0x441a31,_0x33d86f):_0x441a31,_0x3ca315=_0x5c94b9[_0x188a5e(0x4e9)]-0x1,_0x57f018;_0x3ca315>=0x0;_0x3ca315--)(_0x57f018=_0x5c94b9[_0x3ca315])&&(_0x3ca2db=(_0x25d37e?_0x57f018(_0x441a31,_0x33d86f,_0x3ca2db):_0x57f018(_0x3ca2db))||_0x3ca2db);return _0x25d37e&&_0x3ca2db&&Ur(_0x441a31,_0x33d86f,_0x3ca2db),_0x3ca2db;},Hs=(_0x42fc68,_0x30b17e)=>(_0x246e32,_0x4cecd7)=>_0x30b17e(_0x246e32,_0x4cecd7,_0x42fc68);let Ne=class extends _0x1b81eb{constructor(_0x11b59a,_0x2b8b8d){const _0x541c9c=_0x3d192e;super(),g(this,_0x541c9c(0x584),new Map()),(this['_univerInstanceService']=_0x11b59a,this[_0x541c9c(0x1e6)]=_0x2b8b8d,this['disposeWithMe'](_0x30963a(_0x2eb1f5(this[_0x541c9c(0x43d)]['getTypeOfUnitDisposed$'](_0x1c25e8[_0x541c9c(0x26f)])[_0x541c9c(0x407)](_0x5050a4(_0x1b5115=>_0x1b5115[_0x541c9c(0x2c1)]())),this[_0x541c9c(0x43d)]['getTypeOfUnitDisposed$'](_0x1c25e8['UNIVER_DOC'])[_0x541c9c(0x407)](_0x5050a4(_0x4e3878=>_0x4e3878[_0x541c9c(0x2c1)]())),this[_0x541c9c(0x43d)][_0x541c9c(0x2de)](_0x1c25e8['UNIVER_SLIDE'])['pipe'](_0x5050a4(_0x149a74=>_0x149a74[_0x541c9c(0x2c1)]())))['subscribe'](_0x353d6a=>this[_0x541c9c(0x30d)](_0x353d6a)))));}[_0x3d192e(0x321)](_0x542378){this['_userManagerService']['setCurrentUser'](_0x542378);}[_0x3d192e(0x2cd)](){const _0x36a9e9=_0x3d192e;return this[_0x36a9e9(0x1e6)][_0x36a9e9(0x2cd)]();}[_0x3d192e(0x1ce)](_0x110e6d,_0x942269){const _0x3dde1b=_0x3d192e;let _0x59b1ee=this[_0x3dde1b(0x584)]['get'](_0x110e6d);_0x59b1ee||(_0x59b1ee=new Mr(),this['_roomMembers'][_0x3dde1b(0x467)](_0x110e6d,_0x59b1ee)),_0x59b1ee[_0x3dde1b(0x1ce)](_0x942269);}[_0x3d192e(0x1f2)](_0x2d2781,_0x4b15ff){const _0x49eec1=_0x3d192e,_0x1a0235=this[_0x49eec1(0x584)][_0x49eec1(0x47d)](_0x2d2781);_0x1a0235&&_0x1a0235['removeMember'](_0x4b15ff);}[_0x3d192e(0x2f6)](_0x3799a6){const _0x438096=_0x3d192e;return this[_0x438096(0x584)][_0x438096(0x47d)](_0x3799a6);}[_0x3d192e(0x37d)](_0x21bd33,_0xa127c7){const _0x37e262=_0x3d192e,_0x4c2300=this['_roomMembers'][_0x37e262(0x47d)](_0x21bd33);if(_0x4c2300)return _0x4c2300[_0x37e262(0x37d)](_0xa127c7);}[_0x3d192e(0x30d)](_0x186eca){const _0x465c9e=_0x3d192e,_0x29b9c9=this['_roomMembers'][_0x465c9e(0x47d)](_0x186eca);_0x29b9c9&&(_0x29b9c9[_0x465c9e(0x228)](),this[_0x465c9e(0x584)][_0x465c9e(0x2cc)](_0x186eca));}[_0x3d192e(0x228)](){const _0x250c0d=_0x3d192e;this['_roomMembers'][_0x250c0d(0x253)](_0x374e1c=>_0x374e1c['dispose']()),this[_0x250c0d(0x584)]['clear']();}};Ne=Ar([Hs(0x0,_0x405019),Hs(0x1,_0x435342(_0x5bb2c6))],Ne);class Mr extends _0x1b81eb{constructor(){const _0xd560d1=_0x3d192e;super(...arguments),g(this,_0xd560d1(0x530),new Map());}[_0x3d192e(0x228)](){const _0x5b1eaf=_0x3d192e;this[_0x5b1eaf(0x530)]['clear']();}['updateMember'](_0xc50bbe){const _0x3ad24a=_0x3d192e;this[_0x3ad24a(0x530)][_0x3ad24a(0x467)](_0xc50bbe[_0x3ad24a(0x1ec)],_0xc50bbe);}[_0x3d192e(0x1f2)](_0x5348ab){const _0x28ea5f=_0x3d192e;this[_0x28ea5f(0x530)]['delete'](_0x5348ab);}[_0x3d192e(0x37d)](_0x2e2a86){const _0x51b838=_0x3d192e;return this[_0x51b838(0x530)]['get'](_0x2e2a86);}['getAllMembers'](){const _0x512815=_0x3d192e;return Array[_0x512815(0x47e)](this[_0x512815(0x530)][_0x512815(0x548)]());}}var xr=Object[_0x3d192e(0x494)],Lr=Object[_0x3d192e(0x3e5)],$r=(_0x328c69,_0xdbe535,_0x2a72a9,_0xaaebc)=>{const _0x12ab28=_0x3d192e;for(var _0x3cb7ce=_0xaaebc>0x1?void 0x0:_0xaaebc?Lr(_0xdbe535,_0x2a72a9):_0xdbe535,_0x5e9559=_0x328c69[_0x12ab28(0x4e9)]-0x1,_0x542ad0;_0x5e9559>=0x0;_0x5e9559--)(_0x542ad0=_0x328c69[_0x5e9559])&&(_0x3cb7ce=(_0xaaebc?_0x542ad0(_0xdbe535,_0x2a72a9,_0x3cb7ce):_0x542ad0(_0x3cb7ce))||_0x3cb7ce);return _0xaaebc&&_0x3cb7ce&&xr(_0xdbe535,_0x2a72a9,_0x3cb7ce),_0x3cb7ce;},Ee=(_0x162017,_0x4d7414)=>(_0x11caa7,_0x517af4)=>_0x4d7414(_0x11caa7,_0x517af4,_0x162017),ve=(_0x5a54b5=>(_0x5a54b5[_0x5a54b5[_0x3d192e(0x34b)]=0x0]=_0x3d192e(0x34b),_0x5a54b5[_0x5a54b5[_0x3d192e(0x480)]=0x1]=_0x3d192e(0x480),_0x5a54b5[_0x5a54b5[_0x3d192e(0x3fe)]=0x2]=_0x3d192e(0x3fe),_0x5a54b5[_0x5a54b5[_0x3d192e(0x2c3)]=0x3]=_0x3d192e(0x2c3),_0x5a54b5))(ve||{});let ts=class extends _0x10cb26{constructor(_0x46c056,_0x568e28,_0x1e33e3,_0x21a32e,_0x24fce0,_0x46001a,_0x206959,_0x9f6f69,_0x3fb86f,_0x464827){const _0x27f9b5=_0x3d192e;super(),g(this,_0x27f9b5(0x57c),new _0x1d58dd(0x0)),g(this,_0x27f9b5(0x29c),this['_sessionStatus$']['asObservable']()),g(this,'_event$',new _0x276b38()),g(this,_0x27f9b5(0x513),this[_0x27f9b5(0x495)]['asObservable']()),g(this,_0x27f9b5(0x191)),g(this,_0x27f9b5(0x224)),g(this,'_collaborationTimeoutTimer'),g(this,_0x27f9b5(0x519),!0x1),g(this,'_telemetryInfo',null),(this['_unitID']=_0x46c056,this[_0x27f9b5(0x3b5)]=_0x1e33e3,this[_0x27f9b5(0x243)]=_0x21a32e,this[_0x27f9b5(0x2e9)]=_0x24fce0,this[_0x27f9b5(0x295)]=_0x46001a,this['_localeService']=_0x206959,this['_memberService']=_0x9f6f69,this[_0x27f9b5(0x199)]=_0x3fb86f,this['_telemetryService']=_0x464827,this[_0x27f9b5(0x519)]=!!this[_0x27f9b5(0x205)],_0x568e28[_0x27f9b5(0x407)](_0xe1e697(this['dispose$']))['subscribe'](_0xce9d79=>{const _0x4122eb=_0x27f9b5;var _0x49fb24;typeof _0xce9d79>'u'||(this[_0x4122eb(0x191)]=_0xce9d79,_0xce9d79?(this[_0x4122eb(0x30b)](_0xce9d79),this['_socketMessageSubscription']=_0xce9d79[_0x4122eb(0x288)][_0x4122eb(0x2ce)](_0x40e584=>{const _0x1f909e=_0x4122eb;_0x40e584[_0x1f909e(0x25f)]===this['_unitID']&&this['_onCombEvent'](_0x40e584);})):(this[_0x4122eb(0x49a)](),this[_0x4122eb(0x57c)][_0x4122eb(0x4bc)](0x2),(_0x49fb24=this[_0x4122eb(0x224)])==null||_0x49fb24[_0x4122eb(0x290)](),this[_0x4122eb(0x224)]=null));}),this[_0x27f9b5(0x2f7)](this[_0x27f9b5(0x243)][_0x27f9b5(0x572)](()=>{const _0x1d4538=_0x27f9b5;var _0xba2c9e;(_0xba2c9e=this['_socket'])==null||_0xba2c9e[_0x1d4538(0x214)]({'cmd':W[_0x1d4538(0x54e)],'data':{'roomID':this['_unitID']}});})));}get[_0x3d192e(0x278)](){const _0x2a060b=_0x3d192e;return this[_0x2a060b(0x57c)]['getValue']();}[_0x3d192e(0x282)](){const _0x572d91=_0x3d192e;var _0x3c511e,_0x4fb1a7;return(_0x4fb1a7=(_0x3c511e=this[_0x572d91(0x191)])==null?void 0x0:_0x3c511e[_0x572d91(0x1ec)])!=null?_0x4fb1a7:null;}['dispose'](){const _0x2cdb97=_0x3d192e;super[_0x2cdb97(0x228)](),this[_0x2cdb97(0x3e1)]['next'](),this[_0x2cdb97(0x3e1)][_0x2cdb97(0x348)]();}[_0x3d192e(0x2e1)](){const _0x597923=_0x3d192e;var _0x4f8822,_0x5cd014;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4f8822=this[_0x597923(0x191)])==null||_0x4f8822[_0x597923(0x214)]({'cmd':W[_0x597923(0x54e)],'data':{'roomID':this[_0x597923(0x293)]}}),(_0x5cd014=this[_0x597923(0x191)])==null||_0x5cd014[_0x597923(0x2e1)](),this[_0x597923(0x495)][_0x597923(0x348)](),this['_sessionStatus$'][_0x597923(0x348)](),this['dispose']();}[_0x3d192e(0x4f1)](_0x40dbba){const _0x5c5907=_0x3d192e;_0x40dbba[_0x5c5907(0x4f3)]===W[_0x5c5907(0x36f)]?this[_0x5c5907(0x209)](_0x40dbba):_0x40dbba[_0x5c5907(0x4f3)]===W['RECV']&&this[_0x5c5907(0x42f)](_0x40dbba);}[_0x3d192e(0x30b)](_0x23fe1e){const _0x4fd332=_0x3d192e;this[_0x4fd332(0x57c)][_0x4fd332(0x4bc)](0x1),_0x23fe1e[_0x4fd332(0x214)]({'cmd':W[_0x4fd332(0x36f)],'routeKey':this[_0x4fd332(0x293)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4fd332(0x293)]}]}});}[_0x3d192e(0x209)](_0x33474c){const _0x556dd7=_0x3d192e;var _0x47a8ce;if(_0x33474c['code']===Is['FAIL']){this[_0x556dd7(0x2e9)][_0x556dd7(0x4b4)]({'type':_0x5b8609[_0x556dd7(0x208)],'content':this[_0x556dd7(0x32a)]['t']('session.room-full')}),this[_0x556dd7(0x57c)][_0x556dd7(0x4bc)](0x2);return;}this[_0x556dd7(0x57c)][_0x556dd7(0x4bc)](0x3);const _0x334898=(_0x47a8ce=_0x33474c['data'][_0x556dd7(0x580)][this['_unitID']])==null?void 0x0:_0x47a8ce[_0x556dd7(0x338)];_0x334898&&_0x334898[_0x556dd7(0x253)](_0x2f69d3=>this[_0x556dd7(0x4d5)]['updateMember'](this[_0x556dd7(0x293)],_0x2f69d3));}['_onRecvEvent'](_0x3eeb86){const _0xc0e63b=_0x3d192e;try{const _0x109eed=_0x3eeb86[_0xc0e63b(0x383)];switch(_0x109eed[_0xc0e63b(0x1f5)]){case _0x28e200['USERS_ENTER']:this[_0xc0e63b(0x385)](_0x109eed),this[_0xc0e63b(0x495)][_0xc0e63b(0x4bc)](_0x109eed);break;case _0x28e200[_0xc0e63b(0x25c)]:this[_0xc0e63b(0x533)](_0x109eed),this[_0xc0e63b(0x495)]['next'](_0x109eed);break;case _0x28e200[_0xc0e63b(0x246)]:case _0x28e200[_0xc0e63b(0x2a9)]:this[_0xc0e63b(0x491)](),this[_0xc0e63b(0x534)](),this[_0xc0e63b(0x495)][_0xc0e63b(0x4bc)](_0x109eed);break;case _0x28e200[_0xc0e63b(0x45f)]:this[_0xc0e63b(0x3b5)][_0xc0e63b(0x4f4)](_0xc0e63b(0x364)+JSON[_0xc0e63b(0x4fa)](_0x109eed)),this['_event$'][_0xc0e63b(0x4bc)](_0x109eed);break;case _0x28e200[_0xc0e63b(0x2da)]:this[_0xc0e63b(0x199)][_0xc0e63b(0x52e)](_0x109eed['data']),this['_event$']['next'](_0x109eed);break;default:this[_0xc0e63b(0x495)][_0xc0e63b(0x4bc)](_0x109eed);}}catch(_0x15d83d){this['_logService'][_0xc0e63b(0x4f4)](_0x15d83d,_0x3eeb86);}}[_0x3d192e(0x385)](_0x4b9f39){const _0x372275=_0x3d192e;this[_0x372275(0x4d5)][_0x372275(0x1ce)](this[_0x372275(0x293)],_0x4b9f39['data']);}['_onUserLeave'](_0x3dc1cb){const _0x33a4cf=_0x3d192e;this[_0x33a4cf(0x4d5)][_0x33a4cf(0x1f2)](this[_0x33a4cf(0x293)],_0x3dc1cb['data'][_0x33a4cf(0x1ec)]);}async[_0x3d192e(0x214)](_0x2c636e,_0x243fad){const _0xb48ea2=_0x3d192e;if(this[_0xb48ea2(0x278)]!==0x3||!this[_0xb48ea2(0x191)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2c636e[_0xb48ea2(0x1f5)]===_0x28e200[_0xb48ea2(0x273)]&&(this[_0xb48ea2(0x4fc)](),this['_startTelemetryCollaborationNewChangeset'](_0x2c636e)),this[_0xb48ea2(0x191)][_0xb48ea2(0x214)]({'cmd':W['INGEST'],'routeKey':_0x243fad,'routeType':'','data':_0x2c636e});}catch(_0x4b942d){this[_0xb48ea2(0x3b5)][_0xb48ea2(0x4f4)](_0x4b942d);}}[_0x3d192e(0x4fc)](){const _0x421bc3=_0x3d192e;var _0x17ae04;this[_0x421bc3(0x3eb)]=window['setTimeout'](()=>{const _0x226fb8=_0x421bc3;this[_0x226fb8(0x3eb)]=null,this[_0x226fb8(0x2e9)][_0x226fb8(0x4b4)]({'type':_0x5b8609[_0x226fb8(0x1d0)],'content':this[_0x226fb8(0x32a)]['t'](_0x226fb8(0x440))});},(_0x17ae04=this[_0x421bc3(0x295)]['getConfig'](bi))!=null?_0x17ae04:Ti);}[_0x3d192e(0x534)](){const _0x2fff86=_0x3d192e;this[_0x2fff86(0x3eb)]&&(clearTimeout(this[_0x2fff86(0x3eb)]),this[_0x2fff86(0x3eb)]=null);}[_0x3d192e(0x53f)](_0x475d83){const _0x186ab4=_0x3d192e;if(!this[_0x186ab4(0x519)])return;const {data:_0x47b0c1}=_0x475d83,{unitID:_0x3cf3f1,changeset:_0x21e0f8}=_0x47b0c1,{mutations:_0x2f38c0,type:_0x38adef}=_0x21e0f8;this['_telemetryInfo']={'unitId':_0x3cf3f1,'type':_0x38adef,'startTime':performance[_0x186ab4(0x30c)](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x2f38c0)};}[_0x3d192e(0x491)](){const _0x25c1cd=_0x3d192e;if(this[_0x25c1cd(0x519)]){if(!this[_0x25c1cd(0x250)]){this[_0x25c1cd(0x3b5)][_0x25c1cd(0x4f4)](_0x25c1cd(0x4d7),_0x25c1cd(0x502));return;}this['_telemetryInfo'][_0x25c1cd(0x412)]=performance['now'](),this[_0x25c1cd(0x250)][_0x25c1cd(0x366)]=this[_0x25c1cd(0x250)][_0x25c1cd(0x412)]-this[_0x25c1cd(0x250)][_0x25c1cd(0x4a3)],this[_0x25c1cd(0x205)][_0x25c1cd(0x2e4)](Dr,this[_0x25c1cd(0x250)]),this['_telemetryInfo']=null;}}[_0x3d192e(0x49a)](){const _0x31821a=_0x3d192e;this[_0x31821a(0x250)]=null;}};ts=$r([Ee(0x2,_0x25772e),Ee(0x3,_0x4a45c6),Ee(0x4,_0x11ef1f),Ee(0x5,_0x1b2eff),Ee(0x6,_0x435342(_0xef493b)),Ee(0x7,_0x435342(Ne)),Ee(0x8,_0x435342(wi)),Ee(0x9,_0x1eef7c(_0x119c9a))],ts);var Hr=Object[_0x3d192e(0x494)],jr=Object[_0x3d192e(0x3e5)],Br=(_0x335544,_0x635e07,_0x3e0a99,_0x5828b9)=>{const _0x1de850=_0x3d192e;for(var _0x152d8d=_0x5828b9>0x1?void 0x0:_0x5828b9?jr(_0x635e07,_0x3e0a99):_0x635e07,_0x2dd764=_0x335544[_0x1de850(0x4e9)]-0x1,_0x272bee;_0x2dd764>=0x0;_0x2dd764--)(_0x272bee=_0x335544[_0x2dd764])&&(_0x152d8d=(_0x5828b9?_0x272bee(_0x635e07,_0x3e0a99,_0x152d8d):_0x272bee(_0x152d8d))||_0x152d8d);return _0x5828b9&&_0x152d8d&&Hr(_0x635e07,_0x3e0a99,_0x152d8d),_0x152d8d;},je=(_0x205978,_0x4db888)=>(_0x5338ff,_0x4b96ef)=>_0x4db888(_0x5338ff,_0x4b96ef,_0x205978);let Ae=class extends _0x1b81eb{constructor(_0x48b3a9,_0x4f8b0c,_0x35a6bb,_0x12f27c,_0x483567,_0xac156c){const _0x440c27=_0x3d192e;super(),g(this,_0x440c27(0x409),new _0x1d58dd(void 0x0)),g(this,_0x440c27(0x3f3),this[_0x440c27(0x409)][_0x440c27(0x194)]()),g(this,_0x440c27(0x1e4),null),g(this,_0x440c27(0x37f),new Map()),g(this,'_status$',new _0x1d58dd(ve[_0x440c27(0x34b)])),g(this,_0x440c27(0x56a),this[_0x440c27(0x384)][_0x440c27(0x194)]()),g(this,_0x440c27(0x244),!0x1),g(this,'_retryConnectingTimer'),g(this,_0x440c27(0x1b3),0x0),g(this,_0x440c27(0x215)),g(this,'_timeoutTimer'),(this[_0x440c27(0x329)]=_0x48b3a9,this[_0x440c27(0x32a)]=_0x4f8b0c,this['_messageService']=_0x35a6bb,this['_logService']=_0x12f27c,this[_0x440c27(0x295)]=_0x483567,this[_0x440c27(0x4d6)]=_0xac156c,this[_0x440c27(0x2e2)]());}get[_0x3d192e(0x191)](){const _0x1265e4=_0x3d192e;return this[_0x1265e4(0x409)]['getValue']();}[_0x3d192e(0x2e2)](){const _0x57e8c0=_0x3d192e;this['_listenToOfflineEvent'](),this[_0x57e8c0(0x24c)]();}[_0x3d192e(0x228)](){const _0x3ee3b5=_0x3d192e;super['dispose'](),this[_0x3ee3b5(0x37f)][_0x3ee3b5(0x253)](_0x35fc44=>_0x35fc44[_0x3ee3b5(0x228)]()),this[_0x3ee3b5(0x37f)][_0x3ee3b5(0x49f)](),this['_status$']['complete']();}async[_0x3d192e(0x51f)](_0x382aec){const _0x37ed48=_0x3d192e;if(this[_0x37ed48(0x37f)][_0x37ed48(0x476)](_0x382aec))return this[_0x37ed48(0x37f)][_0x37ed48(0x47d)](_0x382aec);this[_0x37ed48(0x3d5)]();const _0x51cc11=this[_0x37ed48(0x329)]['createInstance'](ts,_0x382aec,this[_0x37ed48(0x409)]['asObservable']());return this[_0x37ed48(0x37f)][_0x37ed48(0x467)](_0x382aec,_0x51cc11),_0x51cc11;}[_0x3d192e(0x46f)](_0xecd17d){const _0x4a3c09=_0x3d192e;var _0x138747;const _0x17fee6=this[_0x4a3c09(0x37f)]['get'](_0xecd17d);_0x17fee6&&(this[_0x4a3c09(0x37f)]['delete'](_0xecd17d),_0x17fee6[_0x4a3c09(0x2e1)]()),this['_sessions']['size']||(_0x138747=this[_0x4a3c09(0x191)])==null||_0x138747[_0x4a3c09(0x2e1)]();}[_0x3d192e(0x1db)](){const _0x2a3f81=_0x3d192e;this[_0x2a3f81(0x1b3)]=0x0,this[_0x2a3f81(0x19d)]!=null&&(clearTimeout(this[_0x2a3f81(0x19d)]),this[_0x2a3f81(0x19d)]=null),this[_0x2a3f81(0x575)]();}[_0x3d192e(0x324)](){const _0x278aad=_0x3d192e;var _0x13d76c,_0x4f1891;const _0x14d1af=this['_configService'][_0x278aad(0x1aa)](hr),_0x5f48c0=this[_0x278aad(0x295)][_0x278aad(0x1aa)](ie),_0x5df797=(_0x4f1891=(_0x13d76c=_0x5f48c0==null?void 0x0:_0x5f48c0[_0x278aad(0x596)])!=null?_0x13d76c:_0x14d1af)!=null?_0x4f1891:lr,_0x93e573=this[_0x278aad(0x4d6)][_0x278aad(0x34c)](_0x5df797);return this[_0x278aad(0x1e4)]=_0x93e573,_0x93e573;}[_0x3d192e(0x3d5)](){const _0x1388bd=_0x3d192e;var _0x19159c,_0x1f5850;try{const _0x4e99bb=(_0x1f5850=(_0x19159c=this[_0x1388bd(0x191)])!=null?_0x19159c:this[_0x1388bd(0x1e4)])!=null?_0x1f5850:this[_0x1388bd(0x324)]();if(_0x4e99bb){const _0x24725f=_0x4e99bb['send'];_0x4e99bb[_0x1388bd(0x214)]=_0x5712a1=>(this['_rescheduleHeartbeat'](),_0x24725f['apply'](_0x4e99bb,[_0x5712a1])),_0x4e99bb[_0x1388bd(0x288)][_0x1388bd(0x2ce)](_0x5ddfe5=>this[_0x1388bd(0x451)](_0x4e99bb,_0x5ddfe5)),_0x4e99bb[_0x1388bd(0x510)]['pipe'](_0x47349f(0x1))['subscribe'](_0x4015ff=>this[_0x1388bd(0x3b5)][_0x1388bd(0x4f4)](_0x1388bd(0x326),_0x4015ff)),_0x4e99bb[_0x1388bd(0x39e)]['pipe'](_0x47349f(0x1))[_0x1388bd(0x2ce)](()=>{const _0x595f26=_0x1388bd;this[_0x595f26(0x4af)](_0x4e99bb);}),_0x4e99bb[_0x1388bd(0x1a2)][_0x1388bd(0x407)](_0x47349f(0x1))[_0x1388bd(0x2ce)](_0x3a8ae5=>{const _0x292c1f=_0x1388bd;this[_0x292c1f(0x3b5)][_0x292c1f(0x2cb)](_0x292c1f(0x1cd),_0x292c1f(0x3cf),_0x3a8ae5),this[_0x292c1f(0x391)]();});}}catch(_0x3ec3c7){this[_0x1388bd(0x3b5)][_0x1388bd(0x4f4)](_0x3ec3c7),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x2a49f3){const _0x230b71=_0x3d192e;this['_logService'][_0x230b71(0x2cb)](_0x230b71(0x1cd),'socket\x20open.'),_0x2a49f3[_0x230b71(0x214)]({'cmd':W[_0x230b71(0x4d9)]}),this[_0x230b71(0x493)]();}[_0x3d192e(0x3a8)](){const _0x498bd8=_0x3d192e;window[_0x498bd8(0x4ee)](_0x498bd8(0x3dd),()=>this[_0x498bd8(0x23b)]());}[_0x3d192e(0x23b)](){const _0x4af26d=_0x3d192e;this[_0x4af26d(0x244)]=!0x1,this[_0x4af26d(0x1e4)]=null,this[_0x4af26d(0x384)][_0x4af26d(0x4bc)](ve[_0x4af26d(0x3fe)]),this[_0x4af26d(0x409)][_0x4af26d(0x4bc)](null),this['_clearTimeoutTimer'](),this[_0x4af26d(0x33b)]();}[_0x3d192e(0x391)](){const _0x4a2537=_0x3d192e;var _0x3e0d57;this['_onOffline'](),this[_0x4a2537(0x1b3)]<((_0x3e0d57=this[_0x4a2537(0x295)][_0x4a2537(0x1aa)](fr))!=null?_0x3e0d57:vr)?(this[_0x4a2537(0x2e9)][_0x4a2537(0x4b4)]({'key':_0x4a2537(0x2c4),'type':_0x5b8609[_0x4a2537(0x208)],'content':this[_0x4a2537(0x32a)]['t'](_0x4a2537(0x3c3))}),this[_0x4a2537(0x575)]()):this[_0x4a2537(0x2e9)][_0x4a2537(0x4b4)]({'key':_0x4a2537(0x2c4),'type':_0x5b8609[_0x4a2537(0x1d0)],'content':this[_0x4a2537(0x32a)]['t']('session.connection-failed')});}[_0x3d192e(0x24c)](){const _0x79b644=_0x3d192e,_0x4002c7=()=>{this['_socket']||this['reconnect']();},_0x1ac22c=()=>{const _0x59526a=_0x1083;this[_0x59526a(0x191)]||document['visibilityState']===_0x59526a(0x245)||this[_0x59526a(0x1db)]();};window[_0x79b644(0x4ee)]('online',_0x4002c7),document[_0x79b644(0x4ee)](_0x79b644(0x52a),_0x1ac22c);}[_0x3d192e(0x575)](){const _0x16fd91=_0x3d192e;var _0x1ca906;const _0x4e389b=this['_retryCount'],_0x3cac70=this[_0x16fd91(0x295)][_0x16fd91(0x1aa)](ie),_0x5af570=_0x4e389b===0x0?0x0:((_0x1ca906=_0x3cac70==null?void 0x0:_0x3cac70[_0x16fd91(0x472)])!=null?_0x1ca906:dr)*0x2**_0x4e389b;this['_retryConnectingTimer']=window['setTimeout'](()=>{const _0x3beb8b=_0x16fd91;clearTimeout(this[_0x3beb8b(0x19d)]),this[_0x3beb8b(0x19d)]=null,this['_tryEnsureSocket']();},_0x5af570),this[_0x16fd91(0x1b3)]+=0x1;}[_0x3d192e(0x451)](_0x80d4d7,_0x15a928){const _0x110047=_0x3d192e,{cmd:_0x5c6ad1}=_0x15a928;_0x5c6ad1===W[_0x110047(0x4d9)]&&!this[_0x110047(0x244)]&&(_0x80d4d7[_0x110047(0x1ec)]=_0x15a928[_0x110047(0x383)][_0x110047(0x1ec)],this[_0x110047(0x409)][_0x110047(0x4bc)](_0x80d4d7),this['_status$']['next'](ve[_0x110047(0x2c3)]),this[_0x110047(0x244)]=!0x0,this[_0x110047(0x1e4)]=null),_0x5c6ad1===W['HEARTBEAT']&&this[_0x110047(0x420)](),this[_0x110047(0x493)]();}['_rescheduleHeartbeat'](){const _0x211cf3=_0x3d192e;var _0x3b8374;this[_0x211cf3(0x33b)](),this[_0x211cf3(0x215)]=window['setTimeout'](()=>this['_sendHeartbeat'](),(_0x3b8374=this[_0x211cf3(0x295)][_0x211cf3(0x1aa)](_r))!=null?_0x3b8374:ur);}[_0x3d192e(0x52b)](){const _0xa4e04d=_0x3d192e;this[_0xa4e04d(0x191)][_0xa4e04d(0x214)]({'cmd':W[_0xa4e04d(0x220)]}),this[_0xa4e04d(0x484)]();}['_waitForHeartbeatResponse'](){const _0x15b568=_0x3d192e;var _0x34ef09;this[_0x15b568(0x3d9)]=window['setTimeout'](()=>this['_onConnectionFailed'](),(_0x34ef09=this[_0x15b568(0x295)]['getConfig'](bi))!=null?_0x34ef09:Ti);}[_0x3d192e(0x33b)](){const _0x2c0186=_0x3d192e;this[_0x2c0186(0x215)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){const _0x490e98=_0x3d192e;this[_0x490e98(0x3d9)]!=null&&(clearTimeout(this[_0x490e98(0x3d9)]),this['_timeoutTimer']=null);}};Ae=Br([je(0x0,_0x435342(_0x5a18dc)),je(0x1,_0x435342(_0xef493b)),je(0x2,_0x11ef1f),je(0x3,_0x25772e),je(0x4,_0x1b2eff),je(0x5,Oi)],Ae);var Y=[];for(var Nt=0x0;Nt<0x100;++Nt)Y['push']((Nt+0x100)[_0x3d192e(0x504)](0x10)[_0x3d192e(0x3ca)](0x1));function kr(_0xc8bcb7,_0x21ca80=0x0){const _0x319d1c=_0x3d192e;return(Y[_0xc8bcb7[_0x21ca80+0x0]]+Y[_0xc8bcb7[_0x21ca80+0x1]]+Y[_0xc8bcb7[_0x21ca80+0x2]]+Y[_0xc8bcb7[_0x21ca80+0x3]]+'-'+Y[_0xc8bcb7[_0x21ca80+0x4]]+Y[_0xc8bcb7[_0x21ca80+0x5]]+'-'+Y[_0xc8bcb7[_0x21ca80+0x6]]+Y[_0xc8bcb7[_0x21ca80+0x7]]+'-'+Y[_0xc8bcb7[_0x21ca80+0x8]]+Y[_0xc8bcb7[_0x21ca80+0x9]]+'-'+Y[_0xc8bcb7[_0x21ca80+0xa]]+Y[_0xc8bcb7[_0x21ca80+0xb]]+Y[_0xc8bcb7[_0x21ca80+0xc]]+Y[_0xc8bcb7[_0x21ca80+0xd]]+Y[_0xc8bcb7[_0x21ca80+0xe]]+Y[_0xc8bcb7[_0x21ca80+0xf]])[_0x319d1c(0x403)]();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0x1f04b0=_0x3d192e;if(!ct&&(ct=typeof crypto<'u'&&crypto[_0x1f04b0(0x486)]&&crypto[_0x1f04b0(0x486)]['bind'](crypto),!ct))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return ct(Wr);}var Vr=typeof crypto<'u'&&crypto[_0x3d192e(0x58f)]&&crypto[_0x3d192e(0x58f)][_0x3d192e(0x59a)](crypto);const js={'randomUUID':Vr};function Gr(_0x526a56,_0xd5bb1b,_0x42a4be){const _0x47bf44=_0x3d192e;if(js[_0x47bf44(0x58f)]&&!_0xd5bb1b&&!_0x526a56)return js[_0x47bf44(0x58f)]();_0x526a56=_0x526a56||{};var _0xf95bc9=_0x526a56[_0x47bf44(0x36d)]||(_0x526a56['rng']||Fr)();return _0xf95bc9[0x6]=_0xf95bc9[0x6]&0xf|0x40,_0xf95bc9[0x8]=_0xf95bc9[0x8]&0x3f|0x80,kr(_0xf95bc9);}var Yr=Object[_0x3d192e(0x494)],Kr=Object['getOwnPropertyDescriptor'],zr=(_0x57ccd1,_0x5b353c,_0x4522d5,_0x11a1dd)=>{for(var _0x289e44=_0x11a1dd>0x1?void 0x0:_0x11a1dd?Kr(_0x5b353c,_0x4522d5):_0x5b353c,_0x4fb832=_0x57ccd1['length']-0x1,_0xb594db;_0x4fb832>=0x0;_0x4fb832--)(_0xb594db=_0x57ccd1[_0x4fb832])&&(_0x289e44=(_0x11a1dd?_0xb594db(_0x5b353c,_0x4522d5,_0x289e44):_0xb594db(_0x289e44))||_0x289e44);return _0x11a1dd&&_0x289e44&&Yr(_0x5b353c,_0x4522d5,_0x289e44),_0x289e44;},At=(_0x3a97b8,_0xb0e12c)=>(_0x1e84de,_0x22b441)=>_0xb0e12c(_0x1e84de,_0x22b441,_0x3a97b8);let vt=class{constructor(_0x3a24b9,_0xaacc8c,_0x1d5589){const _0x3d5520=_0x3d192e;this[_0x3d5520(0x329)]=_0x3a24b9,this[_0x3d5520(0x4a8)]=_0xaacc8c,this[_0x3d5520(0x361)]=_0x1d5589;}[_0x3d192e(0x4f0)](_0x2fd38b){const _0x571bf7=_0x3d192e;this[_0x571bf7(0x1c5)](_0x2fd38b),this[_0x571bf7(0x4ae)](_0x2fd38b);}['transformRemoteChangeset'](_0x448ee2){const _0x4110d6=_0x3d192e,{unitID:_0x2bb9d1}=_0x448ee2,_0x5ee195=this[_0x4110d6(0x361)][_0x4110d6(0x5a1)](_0x2bb9d1)[_0x4110d6(0x51d)](_0x357b66),{redoCache:_0x3cab20}=_0x5ee195[_0x4110d6(0x31c)]();if(_0x3cab20[_0x4110d6(0x4e9)]===0x0)return _0x448ee2;let _0x44f158=_0x28e921[_0x4110d6(0x236)](_0x448ee2[_0x4110d6(0x547)][0x0]);for(let _0x39ea39=0x0;_0x39ea39<_0x3cab20[_0x4110d6(0x4e9)];_0x39ea39++){const _0xc30d8b={'id':_0x4110d6(0x408),'params':{..._0x3cab20[_0x39ea39]}},_0x4dc470=this[_0x4110d6(0x4a8)][_0x4110d6(0x582)](_0x44f158,_0xc30d8b,!0x1);if(_0x19a818(_0x4dc470))throw _0x4dc470[_0x4110d6(0x4f4)];_0x44f158=_0x4dc470[_0x4110d6(0x4dc)];}return{..._0x28e921['deepClone'](_0x448ee2),'mutations':[_0x44f158]};}[_0x3d192e(0x1c5)](_0x4505c4){const _0x2fc2e0=_0x3d192e,{unitID:_0x2473d0}=_0x4505c4,_0x3d5450=this[_0x2fc2e0(0x361)][_0x2fc2e0(0x5a1)](_0x2473d0)['with'](_0x357b66),{undoCache:_0x59e2c5,redoCache:_0x2e861e}=_0x3d5450[_0x2fc2e0(0x31c)]();if(_0x59e2c5[_0x2fc2e0(0x4e9)]===0x0||_0x2e861e[_0x2fc2e0(0x4e9)]===0x0)return;const _0x3c76f0=[],_0x13a2cb=[];let _0x4f37f9=_0x28e921[_0x2fc2e0(0x236)](_0x4505c4[_0x2fc2e0(0x547)][0x0]),_0x19628d=_0x28e921[_0x2fc2e0(0x236)](_0x4505c4[_0x2fc2e0(0x547)][0x0]);for(let _0x16d7d8=_0x59e2c5[_0x2fc2e0(0x4e9)]-0x1;_0x16d7d8>=0x0;_0x16d7d8--){const _0x29ce49={'id':_0x2fc2e0(0x408),'params':{..._0x59e2c5[_0x16d7d8]}},_0x32d698={'id':'doc.mutation.rich-text-editing','params':{..._0x2e861e[_0x16d7d8]}},_0x287b6b=this[_0x2fc2e0(0x4a8)][_0x2fc2e0(0x582)](_0x4f37f9,_0x29ce49,!0x1),_0x218380=this['_transformService']['transformMutation'](_0x19628d,_0x32d698,!0x1);if(_0x19a818(_0x287b6b))throw _0x287b6b[_0x2fc2e0(0x4f4)];if(_0x19a818(_0x218380))throw _0x218380[_0x2fc2e0(0x4f4)];_0x3c76f0[_0x2fc2e0(0x239)](_0x287b6b[_0x2fc2e0(0x227)][_0x2fc2e0(0x59e)]),_0x13a2cb[_0x2fc2e0(0x239)](_0x218380[_0x2fc2e0(0x227)][_0x2fc2e0(0x59e)]),_0x4f37f9=_0x287b6b[_0x2fc2e0(0x4dc)],_0x19628d=_0x218380[_0x2fc2e0(0x4dc)];}_0x3d5450[_0x2fc2e0(0x536)]({'undoCache':_0x3c76f0,'redoCache':_0x13a2cb});}[_0x3d192e(0x4ae)](_0x201b7e){const _0x21b139=_0x3d192e,{unitID:_0x5eaa0e}=_0x201b7e,_0x32f514=this[_0x21b139(0x361)][_0x21b139(0x5a1)](_0x5eaa0e)['with'](_0x357b66),_0x306342=_0x32f514[_0x21b139(0x346)]();if(_0x306342==null)return;const _0x1bcfe0=[{'id':_0x21b139(0x408),'params':{'unitId':_0x201b7e['unitID'],'actions':null,'textRanges':[_0x306342]}}],_0x4cdb9f=this[_0x21b139(0x4a8)][_0x21b139(0x3d0)](_0x201b7e,_0x1bcfe0);if(!_0x4b9a49(_0x4cdb9f))throw _0x4cdb9f['error'];const _0x14a59f=_0x4cdb9f[_0x21b139(0x227)][0x0]['params'][_0x21b139(0x3df)];Array[_0x21b139(0x350)](_0x14a59f)&&_0x14a59f[_0x21b139(0x4e9)]&&_0x32f514[_0x21b139(0x3e2)](_0x14a59f[0x0]);}};vt=zr([At(0x0,_0x435342(_0x5a18dc)),At(0x1,_0x238f3d),At(0x2,_0x1d562c)],vt);var qr=Object[_0x3d192e(0x494)],Xr=Object[_0x3d192e(0x3e5)],Jr=(_0x519492,_0x47d09d,_0x38335f,_0x28d124)=>{const _0x1621b6=_0x3d192e;for(var _0x422e55=_0x28d124>0x1?void 0x0:_0x28d124?Xr(_0x47d09d,_0x38335f):_0x47d09d,_0x57e788=_0x519492[_0x1621b6(0x4e9)]-0x1,_0x531628;_0x57e788>=0x0;_0x57e788--)(_0x531628=_0x519492[_0x57e788])&&(_0x422e55=(_0x28d124?_0x531628(_0x47d09d,_0x38335f,_0x422e55):_0x531628(_0x422e55))||_0x422e55);return _0x28d124&&_0x422e55&&qr(_0x47d09d,_0x38335f,_0x422e55),_0x422e55;},Xe=(_0x1757ee,_0x420377)=>(_0x320a97,_0x11d7d6)=>_0x420377(_0x320a97,_0x11d7d6,_0x1757ee);let q=class extends _0x1b81eb{constructor(_0x4ecb7b,_0x3f070c,_0x7e3391,_0x370667,_0x19fe87){const _0x5dade8=_0x3d192e;super(),g(this,_0x5dade8(0x24a),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x5dade8(0x535),!0x1),(this[_0x5dade8(0x295)]=_0x4ecb7b,this['_localStorageService']=_0x3f070c,this[_0x5dade8(0x243)]=_0x7e3391,this[_0x5dade8(0x32a)]=_0x370667,this[_0x5dade8(0x3cd)]=_0x19fe87,this[_0x5dade8(0x31a)]());}[_0x3d192e(0x4d8)](){const _0x47813c=_0x3d192e;this[_0x47813c(0x535)]=!0x0;}[_0x3d192e(0x31e)](){const _0x3301a6=_0x3d192e;this[_0x3301a6(0x535)]=!0x1;}[_0x3d192e(0x228)](){const _0x57af4e=_0x3d192e;this['exhaustSavingTask']()[_0x57af4e(0x429)](()=>super[_0x57af4e(0x228)]());}async['loadOfflineData'](_0x49fe86){const _0x188b75=_0x3d192e;return this[_0x188b75(0x535)]?null:this[_0x188b75(0x51a)]['getItem'](Bs(_0x49fe86));}async[_0x3d192e(0x200)](_0x2956b3,_0x13c22d){const _0x1442fc=_0x3d192e;return!!this[_0x1442fc(0x51a)][_0x1442fc(0x4c5)](_0x2956b3,_0x13c22d);}[_0x3d192e(0x1ed)](_0x1ec438,_0x1afd64,_0x111210,_0x41270a){const _0x4bf5f4=_0x3d192e,_0x1bd998=this[_0x4bf5f4(0x3cd)][_0x4bf5f4(0x568)](_0x1ec438);this[_0x4bf5f4(0x24a)]['set'](_0x1ec438,{'unitID':_0x1ec438,'type':_0x1afd64,'awaitingChangeset':_0x111210,'mutations':_0x41270a,'rev':_0x1bd998}),this[_0x4bf5f4(0x23e)]['has'](_0x1ec438)||this[_0x4bf5f4(0x3a4)](_0x1ec438);}[_0x3d192e(0x3a4)](_0x5521e2){const _0x26a140=_0x3d192e,_0x4e8fce=this[_0x26a140(0x4db)]();_0x4e8fce===0x0?this[_0x26a140(0x558)](_0x5521e2):this[_0x26a140(0x23e)][_0x26a140(0x467)](_0x5521e2,setTimeout(()=>this[_0x26a140(0x558)](_0x5521e2),_0x4e8fce));}[_0x3d192e(0x4db)](){const _0x588fb5=_0x3d192e;var _0x281237;return(_0x281237=this[_0x588fb5(0x295)][_0x588fb5(0x1aa)](mr))!=null?_0x281237:pr;}[_0x3d192e(0x558)](_0x55393e){const _0x168fab=_0x3d192e,_0x4a8b66=this[_0x168fab(0x23e)][_0x168fab(0x47d)](_0x55393e);return _0x4a8b66!==void 0x0&&window[_0x168fab(0x210)](_0x4a8b66),this[_0x168fab(0x51a)][_0x168fab(0x4c5)](Bs(_0x55393e),this[_0x168fab(0x24a)][_0x168fab(0x47d)](_0x55393e))[_0x168fab(0x429)](()=>this['_saveTaskMap']['delete'](_0x55393e));}async['exhaustSavingTask'](){const _0x2ed16e=_0x3d192e,_0x2f1428=[];this[_0x2ed16e(0x23e)][_0x2ed16e(0x253)]((_0x1bb869,_0x42a0d3)=>{const _0x3c14c7=_0x2ed16e;window[_0x3c14c7(0x210)](_0x1bb869),_0x2f1428[_0x3c14c7(0x24b)](this[_0x3c14c7(0x558)](_0x42a0d3)[_0x3c14c7(0x429)](()=>{const _0x4704bc=_0x3c14c7;this[_0x4704bc(0x23e)]['delete'](_0x42a0d3);}));}),await Promise[_0x2ed16e(0x56f)](_0x2f1428);}[_0x3d192e(0x31a)](){const _0x7c8837=_0x3d192e;this['disposeWithMe'](this[_0x7c8837(0x243)][_0x7c8837(0x57b)](()=>{const _0xe068a4=_0x7c8837;if(this[_0xe068a4(0x23e)][_0xe068a4(0x549)])return this[_0xe068a4(0x32a)]['t'](_0xe068a4(0x3b3));}));}};q=Jr([Xe(0x0,_0x1b2eff),Xe(0x1,_0x41aee6),Xe(0x2,_0x4a45c6),Xe(0x3,_0x435342(_0xef493b)),Xe(0x4,_0x435342(_0x18ab34))],q);function Bs(_0x13dacd){const _0x330c89=_0x3d192e;return _0x330c89(0x37c)+_0x13dacd;}var Zr=Object[_0x3d192e(0x494)],Qr=Object[_0x3d192e(0x3e5)],eo=(_0x172414,_0x1afa91,_0x1b151f,_0x42cb71)=>{const _0x46016=_0x3d192e;for(var _0x353c80=_0x42cb71>0x1?void 0x0:_0x42cb71?Qr(_0x1afa91,_0x1b151f):_0x1afa91,_0xd48293=_0x172414[_0x46016(0x4e9)]-0x1,_0x453985;_0xd48293>=0x0;_0xd48293--)(_0x453985=_0x172414[_0xd48293])&&(_0x353c80=(_0x42cb71?_0x453985(_0x1afa91,_0x1b151f,_0x353c80):_0x453985(_0x353c80))||_0x353c80);return _0x42cb71&&_0x353c80&&Zr(_0x1afa91,_0x1b151f,_0x353c80),_0x353c80;},Mt=(_0x56b561,_0x2f8610)=>(_0x4e1884,_0x1226d0)=>_0x2f8610(_0x4e1884,_0x1226d0,_0x56b561);function to(_0x5a7104){const _0x132cf2=_0x3d192e,{unitID:_0x5b502c,mutations:_0x29c8b8}=_0x5a7104;return{'unitId':_0x5b502c,'subUnitId':_0x29c8b8[0x0][_0x132cf2(0x59e)]['subUnitId']};}let mt=class{constructor(_0x173f66,_0x3a0eef,_0x41366b){const _0xde812e=_0x3d192e;this[_0xde812e(0x329)]=_0x173f66,this[_0xde812e(0x4a8)]=_0x3a0eef,this[_0xde812e(0x363)]=_0x41366b;}['transformSelections'](_0x194637){const _0x25187f=_0x3d192e;var _0x4a9226,_0x5bacbb,_0x91fb93,_0x52c013;const _0x500248=this[_0x25187f(0x329)]['get'](_0x3c9037),{unitId:_0x3d5e41,subUnitId:_0x23f0d0}=to(_0x194637),_0x4b881c=_0x500248[_0x25187f(0x39b)](_0x3d5e41)[_0x25187f(0x552)](),_0xe2e534=(_0x5bacbb=(_0x4a9226=this['_instanceService'][_0x25187f(0x516)](_0x3d5e41))==null?void 0x0:_0x4a9226[_0x25187f(0x3f6)]())==null?void 0x0:_0x5bacbb['getSheetId']();if(_0x4b881c['length']===0x0||!_0x3d5e41||!_0x23f0d0)return;const _0xeea35c=[{'id':_0x8e9493['id'],'params':{'unitId':_0x3d5e41,'subUnitId':_0xe2e534,'selections':_0x28e921[_0x25187f(0x236)](_0x4b881c)}}],_0x1d21bc=this['_transformService'][_0x25187f(0x3d0)](_0x194637,_0xeea35c);if(!_0x4b9a49(_0x1d21bc))throw _0x1d21bc[_0x25187f(0x4f4)];const _0x264ebd=(_0x52c013=(_0x91fb93=_0x1d21bc[_0x25187f(0x227)][0x0])==null?void 0x0:_0x91fb93['params'])==null?void 0x0:_0x52c013['selections'];if(Array[_0x25187f(0x350)](_0x264ebd)&&_0x264ebd[_0x25187f(0x4e9)]){if(_0x264ebd[_0x25187f(0x4e9)]===_0xeea35c[0x0][_0x25187f(0x59e)][_0x25187f(0x450)][_0x25187f(0x4e9)]&&_0x264ebd[_0x25187f(0x5a4)]((_0x56e2f7,_0x391538)=>_0x44b24e['equals'](_0x56e2f7[_0x25187f(0x2d4)],_0xeea35c[0x0][_0x25187f(0x59e)][_0x25187f(0x450)][_0x391538][_0x25187f(0x2d4)])))return;this[_0x25187f(0x329)][_0x25187f(0x47d)](_0x4d4125)[_0x25187f(0x3b1)](_0x8e9493['id'],{'unitId':_0x3d5e41,'subUnitId':_0xe2e534,'selections':_0x264ebd});}}};mt=eo([Mt(0x0,_0x435342(_0x5a18dc)),Mt(0x1,_0x238f3d),Mt(0x2,_0x405019)],mt);const yt=_0x1ee28b(_0x3d192e(0x1f7));var Di=(_0x158abe=>(_0x158abe[_0x158abe[_0x3d192e(0x37b)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x158abe[_0x158abe[_0x3d192e(0x1ee)]=0x1]=_0x3d192e(0x1ee),_0x158abe))(Di||{});const ks=0x7530,Ws=_0x3d192e(0x45e);class so extends _0x1b81eb{constructor(){const _0x4ec713=_0x3d192e;super(),g(this,_0x4ec713(0x434),_0x28e921[_0x4ec713(0x193)]()),g(this,_0x4ec713(0x4e1),new Set()),g(this,'_unitOnClients',new Map()),g(this,_0x4ec713(0x2a4),null),g(this,_0x4ec713(0x560),new Map()),g(this,_0x4ec713(0x426),new Map()),this[_0x4ec713(0x20a)]();}[_0x3d192e(0x228)](){const _0x41ce6e=_0x3d192e;super[_0x41ce6e(0x228)](),this[_0x41ce6e(0x560)][_0x41ce6e(0x253)]((_0x55ae73,_0x46bdf1)=>this[_0x41ce6e(0x50a)](_0x46bdf1)),this[_0x41ce6e(0x2a4)]&&window['clearInterval'](this[_0x41ce6e(0x2a4)]);}[_0x3d192e(0x543)](_0x28c191){const _0x48e701=_0x3d192e;return this[_0x48e701(0x53a)](_0x28c191)[_0x48e701(0x407)](_0x432dfd());}[_0x3d192e(0x1b6)](_0x5c5eb9){const _0x1a4987=_0x3d192e;this[_0x1a4987(0x4e1)]['size']===0x0&&this[_0x1a4987(0x41a)](),this['_selfUnitIDs'][_0x1a4987(0x4f2)](_0x5c5eb9),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x5c5eb9],'isForwarded':!0x1});}[_0x3d192e(0x3d7)](_0x11deef){const _0x4f6b55=_0x3d192e;this[_0x4f6b55(0x4e1)][_0x4f6b55(0x2cc)](_0x11deef),this[_0x4f6b55(0x4e1)][_0x4f6b55(0x549)]===0x0&&this[_0x4f6b55(0x2a4)]&&window[_0x4f6b55(0x198)](this['_heartbeatTimer']);}['_init'](){const _0x315c4b=_0x3d192e;this[_0x315c4b(0x2f7)](_0x30963a(_0x2f7e2c(window,_0x315c4b(0x520))['subscribe'](_0x4593d8=>{const _0x39ea68=_0x315c4b;if(_0x4593d8[_0x39ea68(0x1b1)]!==Ws||!_0x4593d8['newValue'])return;const _0x19b7e4=JSON[_0x39ea68(0x4da)](_0x4593d8['newValue']);this[_0x39ea68(0x5a2)](_0x19b7e4);}))),window[_0x315c4b(0x4ee)](_0x315c4b(0x297),()=>this[_0x315c4b(0x28e)]({'type':0x1,'memberID':this[_0x315c4b(0x434)],'unitIDs':Array[_0x315c4b(0x47e)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x51c407){const _0x33886c=_0x3d192e;switch(_0x51c407[_0x33886c(0x34e)]){case 0x0:this[_0x33886c(0x29b)](_0x51c407);break;case 0x1:this[_0x33886c(0x296)](_0x51c407);break;case 0x2:this[_0x33886c(0x2a6)](_0x51c407);break;}}[_0x3d192e(0x29b)](_0x1223f5){const _0x22dc87=_0x3d192e,{unitIDs:_0x4d935b,memberID:_0x239970,isForwarded:_0x326024}=_0x1223f5;_0x4d935b[_0x22dc87(0x253)](_0x4854b7=>{const _0x14b3fd=_0x22dc87;if(!_0x326024&&this[_0x14b3fd(0x3ef)][_0x14b3fd(0x476)](_0x4854b7)&&this['_ensureSubject'](_0x4854b7)[_0x14b3fd(0x4bc)](0x1),!this[_0x14b3fd(0x3ef)]['has'](_0x4854b7)||!this[_0x14b3fd(0x3ef)][_0x14b3fd(0x47d)](_0x4854b7)[_0x14b3fd(0x476)](_0x239970)){const _0x3c77f8=this[_0x14b3fd(0x3ef)]['get'](_0x4854b7)||new Set();_0x3c77f8[_0x14b3fd(0x4f2)](_0x239970),this[_0x14b3fd(0x3ef)]['set'](_0x4854b7,_0x3c77f8),this[_0x14b3fd(0x3b6)](_0x239970);}}),_0x326024||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x22dc87(0x4e1)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4bf915){const _0xd57c26=_0x3d192e;this[_0xd57c26(0x50a)](_0x4bf915);const _0x564416=window[_0xd57c26(0x3f8)](()=>{const _0x22e60e=_0xd57c26;this[_0x22e60e(0x3ef)][_0x22e60e(0x253)](_0x2f9bf9=>{const _0x6dd2fd=_0x22e60e;_0x2f9bf9[_0x6dd2fd(0x2cc)](_0x4bf915);});},ks*0x2);this['_clearOtherTimers'][_0xd57c26(0x467)](_0x4bf915,_0x564416);}[_0x3d192e(0x50a)](_0x417528){const _0x34e69f=_0x3d192e;if(this[_0x34e69f(0x560)][_0x34e69f(0x476)](_0x417528)){const _0x5835c0=this[_0x34e69f(0x560)][_0x34e69f(0x47d)](_0x417528);_0x5835c0&&window[_0x34e69f(0x210)](_0x5835c0),this[_0x34e69f(0x560)][_0x34e69f(0x467)](_0x417528,null);}}[_0x3d192e(0x296)](_0x1af05e){const _0x1a470b=_0x3d192e,{memberID:_0xf845f1,unitIDs:_0x445f24}=_0x1af05e;_0x445f24[_0x1a470b(0x253)](_0x29e86b=>{const _0x5d7045=_0x1a470b;var _0x297329;const _0x4be2e4=this['_unitOnClients'][_0x5d7045(0x47d)](_0x29e86b);_0x4be2e4&&(_0x4be2e4[_0x5d7045(0x2cc)](_0xf845f1),(_0x297329=this[_0x5d7045(0x53a)](_0x29e86b))==null||_0x297329[_0x5d7045(0x4bc)](_0x4be2e4[_0x5d7045(0x549)]===0x0?0x0:0x1));}),this[_0x1a470b(0x50a)](_0xf845f1);}[_0x3d192e(0x2a6)](_0xc64716){const _0x45403f=_0x3d192e;this['_scheduleClearOtherTimer'](_0xc64716[_0x45403f(0x1ec)]);}['_send'](_0x3e144f){const _0x5bbef5=_0x3d192e;localStorage[_0x5bbef5(0x4c5)](Ws,JSON['stringify'](_0x3e144f));}[_0x3d192e(0x41a)](){const _0x39ed01=_0x3d192e;this['_heartbeatTimer']=window[_0x39ed01(0x461)](()=>{const _0x47e1af=_0x39ed01;this[_0x47e1af(0x28e)]({'type':0x2,'memberID':this[_0x47e1af(0x434)]});},ks);}['_ensureSubject'](_0x5d3b6d){const _0x45c9d5=_0x3d192e;return this[_0x45c9d5(0x426)][_0x45c9d5(0x476)](_0x5d3b6d)||this[_0x45c9d5(0x426)][_0x45c9d5(0x467)](_0x5d3b6d,new _0x1d58dd(0x0)),this[_0x45c9d5(0x426)]['get'](_0x5d3b6d);}}var io=Object['defineProperty'],no=Object[_0x3d192e(0x3e5)],ro=(_0x6763b0,_0x2b0a1b,_0x4f0177,_0x267592)=>{for(var _0x35b215=_0x267592>0x1?void 0x0:_0x267592?no(_0x2b0a1b,_0x4f0177):_0x2b0a1b,_0x298c22=_0x6763b0['length']-0x1,_0x358cae;_0x298c22>=0x0;_0x298c22--)(_0x358cae=_0x6763b0[_0x298c22])&&(_0x35b215=(_0x267592?_0x358cae(_0x2b0a1b,_0x4f0177,_0x35b215):_0x358cae(_0x35b215))||_0x35b215);return _0x267592&&_0x35b215&&io(_0x2b0a1b,_0x4f0177,_0x35b215),_0x35b215;},xt=(_0x5b8258,_0x4f5f79)=>(_0x184ac0,_0x488375)=>_0x4f5f79(_0x184ac0,_0x488375,_0x5b8258);let pt=class{constructor(_0x1633a1,_0xc00c2c,_0x324d6c){const _0x4f9602=_0x3d192e;this[_0x4f9602(0x329)]=_0x1633a1,this[_0x4f9602(0x4a8)]=_0xc00c2c,this[_0x4f9602(0x478)]=_0x324d6c;}[_0x3d192e(0x2aa)](_0x4fd104){this['_transformHistoryAndStateStack'](_0x4fd104);}[_0x3d192e(0x1b9)](_0x769be9){const _0xa585c5=_0x3d192e,{unitID:_0x23df5c}=_0x769be9,{collaboration:_0x5b01a9}=this[_0xa585c5(0x478)][_0xa585c5(0x18f)](_0x23df5c);if(_0x5b01a9[_0xa585c5(0x4e9)]===0x0)return _0x769be9;let _0x4ebe17=_0x28e921[_0xa585c5(0x236)](_0x769be9['mutations'][0x0]);for(let _0x2910f2=0x0;_0x2910f2<_0x5b01a9[_0xa585c5(0x4e9)];_0x2910f2++){const _0x3aef3c={'id':_0xa585c5(0x408),'params':{'unitId':_0x5b01a9[_0x2910f2]['unitId'],..._0x5b01a9[_0x2910f2][_0xa585c5(0x563)]}},_0x30807e=this[_0xa585c5(0x4a8)][_0xa585c5(0x582)](_0x4ebe17,_0x3aef3c,!0x1);if(_0x19a818(_0x30807e))throw _0x30807e[_0xa585c5(0x4f4)];_0x4ebe17=_0x30807e['m1Prime'];}return{..._0x28e921['deepClone'](_0x769be9),'mutations':[_0x4ebe17]};}['_transformHistoryAndStateStack'](_0x585ad2){const _0x2ba7a5=_0x3d192e,{unitID:_0x22384b}=_0x585ad2,{history:_0x21a8df,collaboration:_0x887adb}=this['_docStateChangeManagerService'][_0x2ba7a5(0x18f)](_0x22384b);if(_0x21a8df[_0x2ba7a5(0x4e9)]===0x0&&_0x887adb[_0x2ba7a5(0x4e9)]===0x0)return;const _0x3f147e=[],_0x126b31=[];let _0xc3558e=_0x28e921['deepClone'](_0x585ad2[_0x2ba7a5(0x547)][0x0]),_0x276fe1=_0x28e921[_0x2ba7a5(0x236)](_0x585ad2['mutations'][0x0]);for(let _0xcc1bd2=_0x21a8df[_0x2ba7a5(0x4e9)]-0x1;_0xcc1bd2>=0x0;_0xcc1bd2--){const _0x3efb10={'id':_0x2ba7a5(0x408),'params':{'unitId':_0x21a8df[_0xcc1bd2][_0x2ba7a5(0x488)],..._0x21a8df[_0xcc1bd2][_0x2ba7a5(0x368)]}},_0x2151e5={'id':_0x2ba7a5(0x408),'params':{'unitId':_0x21a8df[_0xcc1bd2]['unitId'],..._0x21a8df[_0xcc1bd2]['redoState']}},_0x26bcac=this['_transformService']['transformMutation'](_0xc3558e,_0x3efb10,!0x1),_0x22a8b4=this['_transformService']['transformMutation'](_0x276fe1,_0x2151e5,!0x1);if(_0x19a818(_0x26bcac))throw _0x26bcac[_0x2ba7a5(0x4f4)];if(_0x19a818(_0x22a8b4))throw _0x22a8b4[_0x2ba7a5(0x4f4)];_0x3f147e[_0x2ba7a5(0x239)]({..._0x21a8df[_0xcc1bd2],'undoState':_0x26bcac['m2Prime'][_0x2ba7a5(0x59e)],'redoState':_0x22a8b4[_0x2ba7a5(0x227)]['params']}),_0xc3558e=_0x26bcac[_0x2ba7a5(0x4dc)],_0x276fe1=_0x22a8b4[_0x2ba7a5(0x4dc)];}_0xc3558e=_0x28e921[_0x2ba7a5(0x236)](_0x585ad2[_0x2ba7a5(0x547)][0x0]),_0x276fe1=_0x28e921[_0x2ba7a5(0x236)](_0x585ad2['mutations'][0x0]);for(let _0x31bd5f=_0x887adb[_0x2ba7a5(0x4e9)]-0x1;_0x31bd5f>=0x0;_0x31bd5f--){const _0x4c9178={'id':_0x2ba7a5(0x408),'params':{'unitId':_0x887adb[_0x31bd5f][_0x2ba7a5(0x488)],..._0x887adb[_0x31bd5f]['undoState']}},_0x769b4c={'id':_0x2ba7a5(0x408),'params':{'unitId':_0x887adb[_0x31bd5f]['unitId'],..._0x887adb[_0x31bd5f][_0x2ba7a5(0x563)]}},_0x4f3e66=this[_0x2ba7a5(0x4a8)][_0x2ba7a5(0x582)](_0xc3558e,_0x4c9178,!0x1),_0x4946e8=this[_0x2ba7a5(0x4a8)][_0x2ba7a5(0x582)](_0x276fe1,_0x769b4c,!0x1);if(_0x19a818(_0x4f3e66))throw _0x4f3e66['error'];if(_0x19a818(_0x4946e8))throw _0x4946e8[_0x2ba7a5(0x4f4)];_0x126b31[_0x2ba7a5(0x239)]({..._0x887adb[_0x31bd5f],'undoState':_0x4f3e66[_0x2ba7a5(0x227)]['params'],'redoState':_0x4946e8[_0x2ba7a5(0x227)][_0x2ba7a5(0x59e)]}),_0xc3558e=_0x4f3e66[_0x2ba7a5(0x4dc)],_0x276fe1=_0x4946e8['m1Prime'];}this[_0x2ba7a5(0x478)][_0x2ba7a5(0x221)](_0x22384b,{'history':_0x3f147e,'collaboration':_0x126b31});}};pt=ro([xt(0x0,_0x435342(_0x5a18dc)),xt(0x1,_0x238f3d),xt(0x2,_0x435342(_0x391d27))],pt);function Pi(_0x702771){let _0x4123b3='';for(const _0x4245cb of _0x702771){const {startOffset:_0x1c9057,endOffset:_0x408d79,isActive:_0x1266a9,rangeType:_0x193514,segmentId:_0x1920f0,segmentPage:_0x26c125}=_0x4245cb;_0x4123b3['length']&&(_0x4123b3+=','),_0x4123b3+=_0x1c9057+':'+_0x408d79+':'+(_0x1266a9?'1':'0')+':'+_0x193514+':'+_0x1920f0+':'+_0x26c125;}return _0x4123b3;}function oo(_0x4e35a6){const _0x3f5092=_0x3d192e,_0x1e327e=_0x4e35a6['split'](','),_0x151f2f=[];for(const _0x5c6ffa of _0x1e327e){const [_0x19977d,_0x753878,_0x4bb86e,_0x6fec97,_0x58561e,_0x514b02]=_0x5c6ffa['split'](':');_0x151f2f['push']({'startOffset':Number(_0x19977d),'endOffset':Number(_0x753878),'collapsed':_0x19977d===_0x753878,'isActive':_0x4bb86e==='1','rangeType':_0x6fec97===_0x30543d[_0x3f5092(0x41f)]?_0x30543d['TEXT']:_0x30543d[_0x3f5092(0x1d1)],'segmentId':typeof _0x58561e=='string'?String(_0x58561e):'','segmentPage':Number(_0x514b02!=null?_0x514b02:-0x1)});}return _0x151f2f[_0x3f5092(0x2ec)](_0xb1929f=>_0xb1929f['isActive'])||(_0x151f2f[0x0][_0x3f5092(0x257)]=!0x0),_0x151f2f;}class Cs extends _0x10cb26{constructor(){const _0x37d8c8=_0x3d192e;super(...arguments),g(this,_0x37d8c8(0x2b6),new _0x1d58dd(null)),g(this,_0x37d8c8(0x492),this['_collabCursorState$'][_0x37d8c8(0x194)]());}['syncEditingCollabCursor'](_0x165f0e){const _0xc0b524=_0x3d192e,{unitID:_0x56f5ab,memberID:_0x5cd991,textRanges:_0x3bcd5d}=_0x165f0e,_0x3391b2=Pi(_0x3bcd5d);if(_0x3391b2==='')return;const _0x3f8b17={'unitID':_0x56f5ab,'memberID':_0x5cd991,'selection':_0x3391b2};this[_0xc0b524(0x2b6)][_0xc0b524(0x4bc)](_0x3f8b17);}}var ao=Object[_0x3d192e(0x494)],co=Object['getOwnPropertyDescriptor'],ho=(_0x5e1534,_0x4bcf27,_0x57b932,_0x64f2ba)=>{const _0x2ec642=_0x3d192e;for(var _0x4ae335=_0x64f2ba>0x1?void 0x0:_0x64f2ba?co(_0x4bcf27,_0x57b932):_0x4bcf27,_0x574280=_0x5e1534[_0x2ec642(0x4e9)]-0x1,_0x2477dd;_0x574280>=0x0;_0x574280--)(_0x2477dd=_0x5e1534[_0x574280])&&(_0x4ae335=(_0x64f2ba?_0x2477dd(_0x4bcf27,_0x57b932,_0x4ae335):_0x2477dd(_0x4ae335))||_0x4ae335);return _0x64f2ba&&_0x4ae335&&ao(_0x4bcf27,_0x57b932,_0x4ae335),_0x4ae335;},Fs=(_0x2880b0,_0x57afba)=>(_0x4bc3b3,_0xfbd9f7)=>_0x57afba(_0x4bc3b3,_0xfbd9f7,_0x2880b0);let gt=class{constructor(_0x6143b2,_0x33da18){const _0x37245f=_0x3d192e;this[_0x37245f(0x329)]=_0x6143b2,this['_transformService']=_0x33da18;}['transformSelections'](_0x3e178e){const _0x4f8af9=_0x3d192e;var _0x3aa192;const _0x23cf92=this['_injector']['get'](_0x9ce9ab),_0x411aee=(_0x3aa192=_0x23cf92['getDocRanges']())!=null?_0x3aa192:[];if(_0x411aee[_0x4f8af9(0x4e9)]===0x0)return;const _0x28ddf6=[{'id':_0x4f8af9(0x408),'params':{'unitId':_0x3e178e[_0x4f8af9(0x1dc)],'actions':null,'textRanges':_0x411aee}}],_0x576c9b=this[_0x4f8af9(0x4a8)][_0x4f8af9(0x3d0)](_0x3e178e,_0x28ddf6);if(!_0x4b9a49(_0x576c9b))throw _0x576c9b[_0x4f8af9(0x4f4)];const _0x406be8=_0x576c9b[_0x4f8af9(0x227)][0x0]['params'][_0x4f8af9(0x3df)];Array[_0x4f8af9(0x350)](_0x406be8)&&_0x406be8[_0x4f8af9(0x4e9)]&&_0x23cf92[_0x4f8af9(0x41e)](_0x406be8,!0x1);}};gt=ho([Fs(0x0,_0x435342(_0x5a18dc)),Fs(0x1,_0x238f3d)],gt);const lo=new Set([_0x475c69['id']]);function Vs(_0x2f416b,_0x195171,_0x5cabd2,_0x56d232,_0x8febd8){const _0x225976=_0x3d192e;var _0x2d69da,_0x4a46a6,_0xb645c6,_0x1f686b;const _0x2d104c=[];for(const _0x402045 of _0x2f416b)if(lo[_0x225976(0x476)](_0x402045['id'])){if(_0x2d104c[_0x225976(0x4e9)]>0x0)break;_0x2d104c[_0x225976(0x24b)](_0x402045);break;}else _0x2d104c['push'](_0x402045);const _0x49d3e2=(_0x4a46a6=(_0x2d69da=_0x8febd8[_0x225976(0x2cd)]())==null?void 0x0:_0x2d69da[_0x225976(0x312)])!=null?_0x4a46a6:_0x225976(0x212),_0x49067a=(_0x1f686b=(_0xb645c6=_0x8febd8[_0x225976(0x2cd)]())==null?void 0x0:_0xb645c6['memberID'])!=null?_0x1f686b:'unknown';return{'changeset':{'unitID':_0x195171,'type':_0x278f99(_0x5cabd2[_0x225976(0x38c)](_0x195171)),'baseRev':_0x56d232[_0x225976(0x568)](_0x195171),'revision':0x0,'userID':_0x49d3e2,'memberID':_0x49067a,'mutations':_0x2d104c},'pendingMutations':_0x2f416b[_0x225976(0x3ca)](_0x2d104c['length'])};}function _o(_0x173077,_0x5b7fce,_0x56dd53,_0x17019c,_0x1dda20){const _0x2a8a44=_0x3d192e;var _0x56a5b2,_0x21d320,_0x3407a9,_0x421a88;const _0x4c8f82=[_0x173077[_0x2a8a44(0x36a)]((_0x33fc2a,_0x458fe3)=>{const _0x243a85=_0x2a8a44;var _0x588967;const {id:_0x29add1}=_0x33fc2a,{id:_0x53be0f,type:_0x1ecedc}=_0x458fe3,_0x2097f1=(_0x588967=_0x33fc2a[_0x243a85(0x59e)])!=null?_0x588967:{'actions':null},_0x1b1460=_0x458fe3[_0x243a85(0x59e)];if(_0x29add1&&_0x29add1!==_0x53be0f)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x29add1+_0x243a85(0x2b0)+_0x53be0f+'.');return{..._0x33fc2a,'id':_0x53be0f,'type':_0x1ecedc,'params':{'unitId':_0x1b1460[_0x243a85(0x488)],'textRanges':_0x1b1460[_0x243a85(0x3df)],'actions':_0x1af5f2[_0x243a85(0x211)](_0x2097f1['actions'],_0x1b1460[_0x243a85(0x43c)])}};},{})],_0x28f198=(_0x21d320=(_0x56a5b2=_0x1dda20[_0x2a8a44(0x2cd)]())==null?void 0x0:_0x56a5b2[_0x2a8a44(0x312)])!=null?_0x21d320:'unknown',_0xfd90fb=(_0x421a88=(_0x3407a9=_0x1dda20[_0x2a8a44(0x2cd)]())==null?void 0x0:_0x3407a9[_0x2a8a44(0x1ec)])!=null?_0x421a88:_0x2a8a44(0x212);return{'changeset':{'unitID':_0x5b7fce,'type':_0x278f99(_0x56dd53[_0x2a8a44(0x38c)](_0x5b7fce)),'baseRev':_0x17019c['getCurrentRevOfUnit'](_0x5b7fce),'revision':0x0,'userID':_0x28f198,'memberID':_0xfd90fb,'mutations':_0x4c8f82},'pendingMutations':[]};}function Ui(_0x1815a5,_0x5b3dcd){const _0x1a6dea=_0x3d192e,_0x4845de=new _0x313804(0x1);return setTimeout(()=>_0x4845de[_0x1a6dea(0x4bc)](_0x5b3dcd),_0x1815a5),_0x4845de[_0x1a6dea(0x194)]()['pipe'](_0x543baa(0x1));}const uo={'id':_0x45cb2e['id'],'type':_0x8cff0f['MUTATION'],'params':{}};var fo=Object['defineProperty'],vo=Object[_0x3d192e(0x3e5)],Le=(_0x431b30,_0x159dfb,_0x42f9ef,_0x17e3fe)=>{const _0x3cadce=_0x3d192e;for(var _0x24c156=_0x17e3fe>0x1?void 0x0:_0x17e3fe?vo(_0x159dfb,_0x42f9ef):_0x159dfb,_0x5ab4dd=_0x431b30[_0x3cadce(0x4e9)]-0x1,_0x4c5efd;_0x5ab4dd>=0x0;_0x5ab4dd--)(_0x4c5efd=_0x431b30[_0x5ab4dd])&&(_0x24c156=(_0x17e3fe?_0x4c5efd(_0x159dfb,_0x42f9ef,_0x24c156):_0x4c5efd(_0x24c156))||_0x24c156);return _0x17e3fe&&_0x24c156&&fo(_0x159dfb,_0x42f9ef,_0x24c156),_0x24c156;},A=(_0xe38209,_0x37ac93)=>(_0x361570,_0x80b34b)=>_0x37ac93(_0x361570,_0x80b34b,_0xe38209),J=(_0x651981=>(_0x651981[_0x3d192e(0x2bd)]=_0x3d192e(0x2ae),_0x651981[_0x3d192e(0x307)]=_0x3d192e(0x359),_0x651981[_0x3d192e(0x267)]=_0x3d192e(0x2b7),_0x651981[_0x3d192e(0x3ce)]=_0x3d192e(0x2d8),_0x651981[_0x3d192e(0x344)]=_0x3d192e(0x514),_0x651981[_0x3d192e(0x463)]=_0x3d192e(0x4dd),_0x651981['CONFLICT']=_0x3d192e(0x1d7),_0x651981[_0x3d192e(0x3fe)]=_0x3d192e(0x3dd),_0x651981))(J||{});const Ni=0xea60;class $e{constructor(_0x3a0d5c,_0x4bcebc,_0x935f09,_0x106540,_0x31f7db,_0x24f67a,_0x47dfd5,_0x3d6956,_0x2b149d){const _0x3a7994=_0x3d192e;g(this,_0x3a7994(0x1ae),null),g(this,'_pendingMutations',[]),(this[_0x3a7994(0x1dc)]=_0x3a0d5c,this['type']=_0x4bcebc,this[_0x3a7994(0x3a9)]=_0x31f7db,this[_0x3a7994(0x2d5)]=_0x24f67a,this[_0x3a7994(0x3be)]=_0x47dfd5,this[_0x3a7994(0x3cd)]=_0x3d6956,this['_localCacheService']=_0x2b149d,this[_0x3a7994(0x1ae)]=_0x935f09,this[_0x3a7994(0x4e7)]=_0x106540);}[_0x3d192e(0x2f1)](_0x4b920b){const _0x3d9412=_0x3d192e,_0x2fdf9f=this[_0x3d9412(0x3cd)][_0x3d9412(0x568)](this[_0x3d9412(0x1dc)]);return _0x4b920b[_0x3d9412(0x333)]>_0x2fdf9f+0x1?(this['_handler']['onMissingChangesets']({'from':_0x2fdf9f,'to':_0x4b920b[_0x3d9412(0x333)]-0x1}),!0x0):!0x1;}[_0x3d192e(0x2ff)](_0x3cf699){const _0x597b7a=_0x3d192e;this[_0x597b7a(0x3be)]['transformUndoRedo'](this[_0x597b7a(0x1dc)],_0x3cf699);}[_0x3d192e(0x235)](_0x2f7eab){const _0x593983=_0x3d192e;var _0x4654ec,_0x276693;(_0x276693=(_0x4654ec=this[_0x593983(0x3a9)])[_0x593983(0x20f)])==null||_0x276693['call'](_0x4654ec,_0x2f7eab);}[_0x3d192e(0x458)](_0x67d1d6){const _0x503b23=_0x3d192e;var _0x73d203,_0x7e00bd;return(_0x7e00bd=(_0x73d203=this[_0x503b23(0x3a9)])['onTransformIME'])==null?void 0x0:_0x7e00bd[_0x503b23(0x2c2)](_0x73d203,_0x67d1d6);}[_0x3d192e(0x525)](_0x2f29d3){const _0x5a3b25=_0x3d192e;var _0x34cc08,_0x155486;return(_0x155486=(_0x34cc08=this[_0x5a3b25(0x3a9)])[_0x5a3b25(0x303)])==null?void 0x0:_0x155486[_0x5a3b25(0x2c2)](_0x34cc08,_0x2f29d3);}[_0x3d192e(0x231)](_0x4cf82d){const _0x4decab=_0x3d192e;var _0x5bad93,_0x40121b,_0x56d227;return(_0x56d227=(_0x40121b=(_0x5bad93=this[_0x4decab(0x3a9)])[_0x4decab(0x471)])==null?void 0x0:_0x40121b[_0x4decab(0x2c2)](_0x5bad93,_0x4cf82d))!=null?_0x56d227:_0x4cf82d;}[_0x3d192e(0x26d)](_0xbe073f){const _0x1aa931=_0x3d192e;var _0x50cd29,_0x463e5f,_0x220fd6;return(_0x220fd6=(_0x463e5f=(_0x50cd29=this[_0x1aa931(0x3a9)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x463e5f[_0x1aa931(0x2c2)](_0x50cd29,_0xbe073f))!=null?_0x220fd6:_0xbe073f;}[_0x3d192e(0x21c)](_0x324465){const _0x987f2d=_0x3d192e;var _0x45a319,_0x195c87;if(this[_0x987f2d(0x34e)]===ce['UNIVER_DOC']){const {unitID:_0x351429,mutations:_0x1eff70,memberID:_0x53ce44}=_0x324465,_0x3994ac=_0x1eff70[0x0]['params'][_0x987f2d(0x3df)];Array[_0x987f2d(0x350)](_0x3994ac)&&_0x3994ac[_0x987f2d(0x4e9)]>0x0&&((_0x195c87=(_0x45a319=this['_handler'])[_0x987f2d(0x401)])==null||_0x195c87[_0x987f2d(0x2c2)](_0x45a319,{'unitID':_0x351429,'memberID':_0x53ce44,'textRanges':_0x3994ac}));}}[_0x3d192e(0x3b8)](){const _0x17d032=_0x3d192e;this['_localCacheService'][_0x17d032(0x1ed)](this[_0x17d032(0x1dc)],this[_0x17d032(0x34e)],this[_0x17d032(0x1ae)],this['_pendingMutations']);}[_0x3d192e(0x38a)](){const _0x30bb60=_0x3d192e;return this[_0x30bb60(0x3cd)][_0x30bb60(0x568)](this[_0x30bb60(0x1dc)]);}[_0x3d192e(0x556)](){const _0x5a338c=_0x3d192e;this[_0x5a338c(0x3cd)]['incrementRevOfUnit'](this[_0x5a338c(0x1dc)]);}['_executeRemoteChangeset'](_0x46ca21){const _0x299eac=_0x3d192e;var _0x46070c;let _0x3b2093=this[_0x299eac(0x231)](_0x46ca21);_0x3b2093=this[_0x299eac(0x26d)](_0x3b2093);const _0x444028=_0x128974(_0x3b2093[_0x299eac(0x547)],this[_0x299eac(0x2d5)],{'fromCollab':!0x0});if(!_0x444028['result'])throw _0x444028['error']instanceof Error?_0x444028['error']:new Error((_0x46070c=_0x444028['error'])!=null?_0x46070c:'[CollaborationState]:\x20apply\x20error!');this[_0x299eac(0x458)](_0x3b2093),this[_0x299eac(0x525)](_0x3b2093),this[_0x299eac(0x2ff)](_0x46ca21),this['_transformSelections'](_0x3b2093),this[_0x299eac(0x21c)](_0x3b2093),this['_incrementRevisionNumber']();}}let Fe=class extends $e{constructor(_0x2f659f,_0x5d0381,_0x5a8ee3,_0x428c85,_0x4ee443,_0x18da1a,_0x489a54,_0x52ce32,_0x421b9a,_0x5b485e){const _0x5a81dc=_0x3d192e;super(_0x2f659f,_0x5d0381,null,[],_0x5a8ee3,_0x52ce32,_0x489a54,_0x428c85,_0x4ee443),g(this,'status','synced'),(this[_0x5a81dc(0x329)]=_0x18da1a,this[_0x5a81dc(0x3b5)]=_0x421b9a,this[_0x5a81dc(0x4a8)]=_0x5b485e);}['appendMutation'](_0x4b9826){const _0x5883ed=_0x3d192e,_0x129eba=this['_injector'][_0x5883ed(0x521)](pe,this['unitID'],this['type'],[_0x4b9826],this[_0x5883ed(0x3a9)]);return _0x129eba[_0x5883ed(0x2ab)](),_0x129eba[_0x5883ed(0x3b8)](),_0x129eba;}[_0x3d192e(0x24d)](_0x5d194f){const _0x33b860=_0x3d192e;if(this['_checkMissing'](_0x5d194f))return this[_0x33b860(0x329)]['createInstance'](he,this[_0x33b860(0x1dc)],this['type'],null,[],null,[_0x5d194f],this[_0x33b860(0x3a9)]);try{const _0x773c02=this[_0x33b860(0x4a8)]['transformMutationsWithChangeset'](_0x5d194f,[uo]);if(_0x4b9a49(_0x773c02)){const {c1Prime:_0x3f8b02}=_0x773c02;return this[_0x33b860(0x2bb)](_0x3f8b02),this;}throw _0x773c02['error'];}catch(_0x871ed5){return this[_0x33b860(0x3b5)][_0x33b860(0x4f4)](_0x871ed5),this[_0x33b860(0x567)](!0x1);}}[_0x3d192e(0x567)](_0x2a190f){const _0x440d3b=_0x3d192e;return this['_injector'][_0x440d3b(0x521)](Re,this['unitID'],this[_0x440d3b(0x34e)],null,[],this[_0x440d3b(0x3a9)],_0x2a190f);}[_0x3d192e(0x430)](){const _0x634f29=_0x3d192e;throw new Error(_0x634f29(0x4cf));}[_0x3d192e(0x279)](){const _0x50e8a1=_0x3d192e;throw new Error(_0x50e8a1(0x528));}['onRemoteRetry'](){return this;}[_0x3d192e(0x598)](){const _0xd974b8=_0x3d192e;return this['_injector']['createInstance'](ye,this['unitID'],this[_0xd974b8(0x34e)],null,[],this[_0xd974b8(0x3a9)]);}[_0x3d192e(0x503)](){return this;}[_0x3d192e(0x1bd)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3d192e(0x496)](){const _0x365ebb=_0x3d192e,_0x7d8eb0=this[_0x365ebb(0x3cd)][_0x365ebb(0x568)](this[_0x365ebb(0x1dc)]);return this[_0x365ebb(0x3a9)][_0x365ebb(0x2a3)]({'from':_0x7d8eb0,'to':0x0}),this['_injector'][_0x365ebb(0x521)](he,this['unitID'],this[_0x365ebb(0x34e)],null,[],null,[],this[_0x365ebb(0x3a9)]);}};Fe=Le([A(0x3,_0x435342(_0x18ab34)),A(0x4,_0x435342(q)),A(0x5,_0x435342(_0x5a18dc)),A(0x6,_0x211f33),A(0x7,_0x4d4125),A(0x8,_0x25772e),A(0x9,_0x238f3d)],Fe);let pe=class extends $e{constructor(_0x3b91f5,_0xbd5b43,_0x64a1f7,_0x124f88,_0x8f21da,_0x5407d2,_0x2e099f,_0x488276,_0x44b3cf,_0x5685d2,_0x1461e6,_0x7be304,_0x32ce0b,_0x27462c){const _0x119bd9=_0x3d192e;super(_0x3b91f5,_0xbd5b43,null,_0x64a1f7,_0x124f88,_0x5685d2,_0x27462c,_0x5407d2,_0x2e099f),g(this,_0x119bd9(0x3ab),_0x119bd9(0x2b7)),g(this,_0x119bd9(0x56d),null),g(this,_0x119bd9(0x38d),null),(this['_injector']=_0x8f21da,this[_0x119bd9(0x4d5)]=_0x488276,this[_0x119bd9(0x3b5)]=_0x44b3cf,this['_configService']=_0x1461e6,this[_0x119bd9(0x4a8)]=_0x7be304,this[_0x119bd9(0x43d)]=_0x32ce0b);}[_0x3d192e(0x540)](_0x4b81fa){const _0x250e22=_0x3d192e;return this[_0x250e22(0x4e7)]['push'](_0x4b81fa),this['_updateLocalCache'](),this;}[_0x3d192e(0x24d)](_0x4f46b1){const _0x23c160=_0x3d192e;if(this['_checkMissing'](_0x4f46b1))return this[_0x23c160(0x23f)](),this[_0x23c160(0x329)][_0x23c160(0x521)](he,this[_0x23c160(0x1dc)],this[_0x23c160(0x34e)],null,this[_0x23c160(0x4e7)],null,[_0x4f46b1],this[_0x23c160(0x3a9)]);try{const _0x3f4179=this[_0x23c160(0x4a8)][_0x23c160(0x3d0)](_0x4f46b1,this[_0x23c160(0x4e7)]);if(_0x4b9a49(_0x3f4179)){const {c1Prime:_0x4468f8,m2Prime:_0x4cb93c}=_0x3f4179;this[_0x23c160(0x2bb)](_0x4468f8);const _0x38d836=this['_injector'][_0x23c160(0x521)](pe,this['unitID'],this['type'],_0x4cb93c,this[_0x23c160(0x3a9)]);return this[_0x23c160(0x23f)](),_0x38d836['_schedule'](this['_scheduleTimestamp']?Math['max'](0x0,new Date()[_0x23c160(0x1b4)]()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x38d836;}throw _0x3f4179[_0x23c160(0x4f4)];}catch(_0x57fcfa){return this[_0x23c160(0x3b5)]['error'](_0x57fcfa),this[_0x23c160(0x567)](!0x1);}}[_0x3d192e(0x430)](){const _0x5abc1a=_0x3d192e;throw new Error(_0x5abc1a(0x1d6));}[_0x3d192e(0x279)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x3d192e(0x2ac)](){return this;}['toggleOffline'](){const _0x789c06=_0x3d192e;return this[_0x789c06(0x23f)](),this['_injector'][_0x789c06(0x521)](ye,this[_0x789c06(0x1dc)],this[_0x789c06(0x34e)],null,this[_0x789c06(0x4e7)],this['_handler']);}[_0x3d192e(0x503)](){return this;}[_0x3d192e(0x2ab)](_0x5062ba){const _0x518314=_0x3d192e,_0x208881=_0x5062ba!=null?_0x5062ba:this[_0x518314(0x54c)]();this['_scheduleTimestamp']=new Date()[_0x518314(0x1b4)](),this[_0x518314(0x38d)]=window[_0x518314(0x3f8)](()=>{const _0x3f5542=_0x518314;this[_0x3f5542(0x23f)]();let _0x2a81e7=null;switch(this[_0x3f5542(0x34e)]){case ce[_0x3f5542(0x26f)]:{_0x2a81e7=Vs(this[_0x3f5542(0x4e7)],this[_0x3f5542(0x1dc)],this[_0x3f5542(0x43d)],this[_0x3f5542(0x3cd)],this['_memberService']);break;}case ce[_0x3f5542(0x52f)]:{this['_pendingMutations'][_0x3f5542(0x5a4)](_0x516c50=>_0x516c50['id']===_0x5448a2['id'])?_0x2a81e7=_o(this[_0x3f5542(0x4e7)],this[_0x3f5542(0x1dc)],this[_0x3f5542(0x43d)],this['_revisionService'],this['_memberService']):_0x2a81e7=Vs(this[_0x3f5542(0x4e7)],this[_0x3f5542(0x1dc)],this[_0x3f5542(0x43d)],this[_0x3f5542(0x3cd)],this[_0x3f5542(0x4d5)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x3f5542(0x489));}const {changeset:_0x5470f3,pendingMutations:_0x1ac9f9}=_0x2a81e7;this[_0x3f5542(0x3a9)][_0x3f5542(0x3f0)](_0x5470f3);const _0x60ea60=_0x1ac9f9['length']?this[_0x3f5542(0x329)][_0x3f5542(0x521)](ge,this[_0x3f5542(0x1dc)],this[_0x3f5542(0x34e)],_0x5470f3,_0x1ac9f9,this['_handler'],void 0x0):this[_0x3f5542(0x329)][_0x3f5542(0x521)](Te,this[_0x3f5542(0x1dc)],this['type'],_0x5470f3,this[_0x3f5542(0x3a9)]);_0x60ea60[_0x3f5542(0x3b8)](),this[_0x3f5542(0x3a9)]['onStateChange'](this,_0x60ea60);},_0x208881);}[_0x3d192e(0x54c)](){const _0x32144e=_0x3d192e;var _0x5154c2;const _0x40591d=this[_0x32144e(0x295)]['getConfig'](ie);return(_0x5154c2=_0x40591d==null?void 0x0:_0x40591d['sendChangesetTimeout'])!=null?_0x5154c2:cr;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3d192e(0x23f)](){const _0x38597b=_0x3d192e;this[_0x38597b(0x38d)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}['_onConflict'](_0x107b66){const _0x3ea83f=_0x3d192e;return this[_0x3ea83f(0x23f)](),this[_0x3ea83f(0x329)][_0x3ea83f(0x521)](Re,this[_0x3ea83f(0x1dc)],this[_0x3ea83f(0x34e)],null,this['_pendingMutations'],this[_0x3ea83f(0x3a9)],_0x107b66);}};pe=Le([A(0x4,_0x435342(_0x5a18dc)),A(0x5,_0x435342(_0x18ab34)),A(0x6,_0x435342(q)),A(0x7,_0x435342(Ne)),A(0x8,_0x25772e),A(0x9,_0x4d4125),A(0xa,_0x1b2eff),A(0xb,_0x238f3d),A(0xc,_0x405019),A(0xd,_0x211f33)],pe);let Te=class extends $e{constructor(_0x2267bd,_0x5b7267,_0x38a6fb,_0xc8df6d,_0x4d76ff,_0x395914,_0x4f6396,_0x343a7b,_0x58a10d,_0x418832,_0x23b139){const _0x16ae70=_0x3d192e;super(_0x2267bd,_0x5b7267,_0x38a6fb,[],_0xc8df6d,_0x343a7b,_0x23b139,_0x395914,_0x4f6396),g(this,'status',_0x16ae70(0x2d8)),g(this,_0x16ae70(0x49c),0x0),g(this,_0x16ae70(0x2df)),g(this,_0x16ae70(0x47a)),(this[_0x16ae70(0x329)]=_0x4d76ff,this[_0x16ae70(0x3b5)]=_0x58a10d,this['_transformService']=_0x418832);}[_0x3d192e(0x540)](_0x1a57bd){const _0x254750=_0x3d192e;this[_0x254750(0x23f)]();const _0x4c603d=this[_0x254750(0x329)][_0x254750(0x521)](ge,this[_0x254750(0x1dc)],this['type'],this[_0x254750(0x1ae)],[_0x1a57bd],this[_0x254750(0x3a9)],this[_0x254750(0x2df)]);return _0x4c603d[_0x254750(0x3b8)](),_0x4c603d;}[_0x3d192e(0x24d)](_0x120f35){const _0x36d0cc=_0x3d192e;if(this[_0x36d0cc(0x2f1)](_0x120f35))return this[_0x36d0cc(0x23f)](),this[_0x36d0cc(0x329)]['createInstance'](he,this[_0x36d0cc(0x1dc)],this[_0x36d0cc(0x34e)],this['_awaitingChangeset'],[],null,[_0x120f35],this['_handler']);try{const _0x530646=this[_0x36d0cc(0x4a8)]['transformChangesets']([_0x120f35],[this['_awaitingChangeset']],!0x1);if(_0x302b92(_0x530646)){const {c1Prime:_0x3ef900,c2Prime:_0x420ac8}=_0x530646;this[_0x36d0cc(0x2bb)](_0x3ef900[0x0]),_0x420ac8[0x0][_0x36d0cc(0x3ad)]=this['_getCurrentRevision'](),this[_0x36d0cc(0x23f)]();const _0x2844a8=this[_0x36d0cc(0x329)][_0x36d0cc(0x521)](Te,this[_0x36d0cc(0x1dc)],this[_0x36d0cc(0x34e)],_0x420ac8[0x0],this[_0x36d0cc(0x3a9)]);return _0x2844a8[_0x36d0cc(0x3b8)](),_0x2844a8;}return this[_0x36d0cc(0x567)](!0x1);}catch(_0x56d3f9){return this[_0x36d0cc(0x3b5)][_0x36d0cc(0x4f4)](_0x56d3f9),this[_0x36d0cc(0x567)](!0x1);}}[_0x3d192e(0x430)](_0x11cadf){const _0x1a6be2=_0x3d192e;this[_0x1a6be2(0x23f)]();const _0x17af7f=this[_0x1a6be2(0x3cd)][_0x1a6be2(0x568)](this[_0x1a6be2(0x1dc)]);if(_0x11cadf['revision']<_0x17af7f-0x1)return this;if(this['_checkMissing'](_0x11cadf))return this[_0x1a6be2(0x329)][_0x1a6be2(0x521)](he,this[_0x1a6be2(0x1dc)],this[_0x1a6be2(0x34e)],null,[],this[_0x1a6be2(0x1ae)],[],this[_0x1a6be2(0x3a9)]);this[_0x1a6be2(0x556)]();const _0x2ea551=this[_0x1a6be2(0x329)][_0x1a6be2(0x521)](Fe,this[_0x1a6be2(0x1dc)],this[_0x1a6be2(0x34e)],this['_handler']);return _0x2ea551['_updateLocalCache'](),_0x2ea551;}[_0x3d192e(0x279)](_0x2adac5){const _0x216f9b=_0x3d192e;return this[_0x216f9b(0x567)](!!(_0x2adac5!=null&&_0x2adac5[_0x216f9b(0x37a)]));}[_0x3d192e(0x2ac)](_0x2e78a6){const _0x102469=_0x3d192e;return this[_0x102469(0x49c)]>Ni?this[_0x102469(0x598)]():(this[_0x102469(0x2df)]=Ui(this[_0x102469(0x49c)],{'timeout':this[_0x102469(0x49c)],'reqId':_0x2e78a6['reqId']}),this[_0x102469(0x47a)]=this['_resendTimer'][_0x102469(0x2ce)](({reqId:_0x5c67a2,timeout:_0x510fbe})=>{this['_resendWithTimeout'](_0x5c67a2,_0x510fbe);}),this);}[_0x3d192e(0x598)](){const _0x56bdcc=_0x3d192e;return this[_0x56bdcc(0x23f)](),this['_injector'][_0x56bdcc(0x521)](ye,this[_0x56bdcc(0x1dc)],this['type'],this[_0x56bdcc(0x1ae)],[],this[_0x56bdcc(0x3a9)]);}[_0x3d192e(0x503)](){return this;}[_0x3d192e(0x1bd)](){const _0x287a95=_0x3d192e;this[_0x287a95(0x3a9)][_0x287a95(0x3f0)](this[_0x287a95(0x1ae)]);}[_0x3d192e(0x567)](_0xae3098){const _0x4bd52c=_0x3d192e;return this[_0x4bd52c(0x23f)](),this[_0x4bd52c(0x329)]['createInstance'](Re,this[_0x4bd52c(0x1dc)],this[_0x4bd52c(0x34e)],this[_0x4bd52c(0x1ae)],[],this[_0x4bd52c(0x3a9)],_0xae3098);}[_0x3d192e(0x447)](_0x5acb37,_0x300d26){const _0x555a6a=_0x3d192e;var _0x35289b;_0x5acb37===((_0x35289b=this['_awaitingChangeset'])==null?void 0x0:_0x35289b[_0x555a6a(0x561)])&&(this[_0x555a6a(0x1bd)](),this[_0x555a6a(0x49c)]=_0x300d26===0x0?0x3e8:_0x300d26*0x2);}[_0x3d192e(0x23f)](){const _0x2d7db8=_0x3d192e;var _0x29122a;(_0x29122a=this[_0x2d7db8(0x47a)])==null||_0x29122a['unsubscribe'](),this[_0x2d7db8(0x49c)]=0x0;}};Te=Le([A(0x4,_0x435342(_0x5a18dc)),A(0x5,_0x435342(_0x18ab34)),A(0x6,_0x435342(q)),A(0x7,_0x4d4125),A(0x8,_0x25772e),A(0x9,_0x238f3d),A(0xa,_0x211f33)],Te);let ge=class extends $e{constructor(_0xdf5801,_0x1fa31b,_0x507a28,_0x3b0dcb,_0x29d77c,_0x1f00ea,_0x27f3ac,_0x415063,_0x301ffa,_0x26061d,_0xc03ab3,_0x45c865,_0x35234b){const _0x43d6a8=_0x3d192e;super(_0xdf5801,_0x1fa31b,_0x507a28,_0x3b0dcb,_0x29d77c,_0x26061d,_0x35234b,_0x415063,_0x301ffa),g(this,_0x43d6a8(0x3ab),_0x43d6a8(0x514)),g(this,_0x43d6a8(0x49c),0x0),g(this,_0x43d6a8(0x2df)),g(this,'_sender'),(this[_0x43d6a8(0x329)]=_0x27f3ac,this[_0x43d6a8(0x3b5)]=_0xc03ab3,this[_0x43d6a8(0x4a8)]=_0x45c865,_0x1f00ea&&(this['_resendTimer']=_0x1f00ea,this[_0x43d6a8(0x47a)]=this[_0x43d6a8(0x2df)][_0x43d6a8(0x2ce)](({reqId:_0x568de0,timeout:_0x565a21})=>{this['_resendWithTimeout'](_0x568de0,_0x565a21);})));}[_0x3d192e(0x540)](_0x3ed8fa){const _0x86008c=_0x3d192e;return this[_0x86008c(0x4e7)][_0x86008c(0x24b)](_0x3ed8fa),this;}[_0x3d192e(0x24d)](_0x4b374e){const _0x4fe05f=_0x3d192e;if(this[_0x4fe05f(0x2f1)](_0x4b374e))return this['_clearScheduledTask'](),this[_0x4fe05f(0x329)][_0x4fe05f(0x521)](he,this['unitID'],this['type'],this[_0x4fe05f(0x1ae)],this[_0x4fe05f(0x4e7)],null,[_0x4b374e],this[_0x4fe05f(0x3a9)]);try{const _0x408050=this[_0x4fe05f(0x4a8)][_0x4fe05f(0x262)]([_0x4b374e],[this['_awaitingChangeset']],!0x1);if(_0x302b92(_0x408050)){const {c1Prime:_0x2dcf4a,c2Prime:_0x4bf74b}=_0x408050,_0x441dfd=this[_0x4fe05f(0x4a8)][_0x4fe05f(0x3d0)](_0x2dcf4a[0x0],this['_pendingMutations']);if(_0x4b9a49(_0x441dfd)){const {c1Prime:_0x3b3156,m2Prime:_0x4bf4b6}=_0x441dfd;return this[_0x4fe05f(0x2bb)](_0x3b3156),_0x4bf74b[0x0][_0x4fe05f(0x3ad)]=this[_0x4fe05f(0x38a)](),this[_0x4fe05f(0x23f)](),this['_injector'][_0x4fe05f(0x521)](ge,this['unitID'],this[_0x4fe05f(0x34e)],_0x4bf74b[0x0],_0x4bf4b6,this[_0x4fe05f(0x3a9)],void 0x0);}throw _0x441dfd[_0x4fe05f(0x4f4)];}throw _0x408050[_0x4fe05f(0x4f4)];}catch(_0x3ac0a1){return this[_0x4fe05f(0x3b5)]['error'](_0x3ac0a1),this[_0x4fe05f(0x567)](!0x1);}}[_0x3d192e(0x430)](_0x26d1d3){const _0x2c901d=_0x3d192e;if(this['_clearScheduledTask'](),this[_0x2c901d(0x2f1)](_0x26d1d3))return this[_0x2c901d(0x329)][_0x2c901d(0x521)](he,this[_0x2c901d(0x1dc)],this[_0x2c901d(0x34e)],null,this[_0x2c901d(0x4e7)],this['_awaitingChangeset'],[],this[_0x2c901d(0x3a9)]);this[_0x2c901d(0x556)]();const _0x5df492=this[_0x2c901d(0x329)][_0x2c901d(0x521)](pe,this[_0x2c901d(0x1dc)],this[_0x2c901d(0x34e)],this[_0x2c901d(0x4e7)],this['_handler']);return _0x5df492[_0x2c901d(0x2ab)](),_0x5df492['_updateLocalCache'](),_0x5df492;}['onRemoteRej'](_0x31f501){return this['_onConflict'](!!(_0x31f501!=null&&_0x31f501['isPermissionRej']));}[_0x3d192e(0x2ac)](_0x223041){const _0x32a18c=_0x3d192e;return this['_resendTimeout']>Ni?this[_0x32a18c(0x598)]():(this[_0x32a18c(0x2df)]=Ui(this[_0x32a18c(0x49c)],{'timeout':this['_resendTimeout'],'reqId':_0x223041[_0x32a18c(0x561)]}),this['_sender']=this[_0x32a18c(0x2df)][_0x32a18c(0x2ce)](({reqId:_0x135344,timeout:_0x16f2a6})=>{const _0x576f9c=_0x32a18c;this[_0x576f9c(0x447)](_0x135344,_0x16f2a6);}),this);}['toggleOffline'](){const _0xc7271a=_0x3d192e;return this['_clearScheduledTask'](),this['_injector'][_0xc7271a(0x521)](ye,this['unitID'],this[_0xc7271a(0x34e)],this['_awaitingChangeset'],this[_0xc7271a(0x4e7)],this[_0xc7271a(0x3a9)]);}[_0x3d192e(0x503)](){return this;}[_0x3d192e(0x1bd)](){const _0x128943=_0x3d192e;this[_0x128943(0x3a9)][_0x128943(0x3f0)](this['_awaitingChangeset']);}['_onConflict'](_0x3395bd){const _0x1d2c29=_0x3d192e;return this[_0x1d2c29(0x23f)](),this[_0x1d2c29(0x329)]['createInstance'](Re,this[_0x1d2c29(0x1dc)],this[_0x1d2c29(0x34e)],null,this['_pendingMutations'],this[_0x1d2c29(0x3a9)],_0x3395bd);}['_resendWithTimeout'](_0x5ed789,_0x577442){const _0x1a0b7a=_0x3d192e;var _0x4c9832;_0x5ed789===((_0x4c9832=this[_0x1a0b7a(0x1ae)])==null?void 0x0:_0x4c9832[_0x1a0b7a(0x561)])&&(this[_0x1a0b7a(0x1bd)](),this['_resendTimeout']=_0x577442===0x0?0x3e8:_0x577442*0x2);}['_clearScheduledTask'](){const _0x302fe6=_0x3d192e;var _0x1bc06c;(_0x1bc06c=this[_0x302fe6(0x47a)])==null||_0x1bc06c[_0x302fe6(0x290)](),this['_resendTimeout']=0x0;}};ge=Le([A(0x6,_0x435342(_0x5a18dc)),A(0x7,_0x435342(_0x18ab34)),A(0x8,_0x435342(q)),A(0x9,_0x4d4125),A(0xa,_0x25772e),A(0xb,_0x238f3d),A(0xc,_0x211f33)],ge);let Re=class extends $e{constructor(_0x302584,_0x50f735,_0x8bba49,_0x2ad590,_0x583083,_0x418d16=!0x1,_0x162855,_0x2bbf1c,_0x37c7de,_0x4882d6,_0x4288bd,_0x598855,_0x42da0c){const _0x475144=_0x3d192e;super(_0x302584,_0x50f735,_0x8bba49,_0x2ad590,_0x583083,_0x2bbf1c,_0x37c7de,_0x4288bd,_0x4882d6),g(this,_0x475144(0x3ab),'conflict'),(this[_0x475144(0x2b3)]=_0x418d16,this[_0x475144(0x506)]=_0x162855,this['_localeService']=_0x598855,this[_0x475144(0x395)]=_0x42da0c,this[_0x475144(0x56c)](),this['_clearLocalCache'](),this[_0x475144(0x32c)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x3d192e(0x430)](){return this;}[_0x3d192e(0x279)](){return this;}[_0x3d192e(0x2ac)](){return this;}['toggleOffline'](){return this;}[_0x3d192e(0x503)](){return this;}[_0x3d192e(0x1bd)](){const _0x3c806c=_0x3d192e;throw new Error(_0x3c806c(0x431));}[_0x3d192e(0x2b5)](){const _0x327fe9=_0x3d192e;this[_0x327fe9(0x414)]['updateOfflineData'](this[_0x327fe9(0x1dc)],this['type'],null,[]);}[_0x3d192e(0x56c)](){const _0x390fd5=_0x3d192e;this[_0x390fd5(0x2b3)]?this[_0x390fd5(0x395)][_0x390fd5(0x4b4)]({'title':this[_0x390fd5(0x32a)]['t']('permission.title'),'content':this[_0x390fd5(0x32a)]['t'](_0x390fd5(0x2e8)),'type':'error','duration':0x0}):this[_0x390fd5(0x395)][_0x390fd5(0x4b4)]({'title':this['_localeService']['t'](_0x390fd5(0x2eb)),'content':this[_0x390fd5(0x32a)]['t'](_0x390fd5(0x2fa)),'type':_0x390fd5(0x4f4),'duration':0x0});}[_0x3d192e(0x32c)](){const _0x1e4cfa=_0x3d192e;this[_0x1e4cfa(0x506)]['updatePermissionPoint'](new _0x11ffb6(this[_0x1e4cfa(0x1dc)])['id'],!0x1);}};Re=Le([A(0x6,_0x435342(_0x23a72a)),A(0x7,_0x4d4125),A(0x8,_0x211f33),A(0x9,_0x435342(q)),A(0xa,_0x435342(_0x18ab34)),A(0xb,_0x435342(_0xef493b)),A(0xc,_0x286bb3)],Re);let ye=class extends $e{constructor(_0x3422c3,_0x315579,_0x333caa,_0x3b23b0,_0x3a5dc6,_0x89ae8d,_0x48ccea,_0x3ea5bb,_0x541da0,_0x1284db){const _0x4d6273=_0x3d192e;super(_0x3422c3,_0x315579,_0x333caa,_0x3b23b0,_0x3a5dc6,_0x541da0,_0x1284db,_0x48ccea,_0x3ea5bb),g(this,_0x4d6273(0x3ab),'offline'),this[_0x4d6273(0x329)]=_0x89ae8d;}[_0x3d192e(0x540)](_0x2160d4){const _0x400c89=_0x3d192e;return this['_pendingMutations'][_0x400c89(0x24b)](_0x2160d4),this[_0x400c89(0x3b8)](),this;}[_0x3d192e(0x24d)](_0x14bf69){const _0x125ed6=_0x3d192e;throw new Error(_0x125ed6(0x31d));}['onRemoteAck'](){const _0x505737=_0x3d192e;throw new Error(_0x505737(0x583));}[_0x3d192e(0x279)](){const _0x41ecc8=_0x3d192e;throw new Error(_0x41ecc8(0x4fd));}[_0x3d192e(0x2ac)](){return this;}['toggleOffline'](){return this;}[_0x3d192e(0x503)](){const _0x3e4dbc=_0x3d192e,{_injector:_0x21d0a4,_pendingMutations:_0x1b54e7,_awaitingChangeset:_0x20335e,unitID:_0x3d7e6b,_handler:_0x368eb2,type:_0x515a5a}=this,_0x1104f9=Ai(_0x21d0a4,_0x3d7e6b,_0x515a5a,_0x20335e,_0x1b54e7,_0x368eb2);return _0x1104f9 instanceof pe?_0x1104f9[_0x3e4dbc(0x2ab)]():(_0x1104f9 instanceof ge||_0x1104f9 instanceof Te)&&_0x1104f9['resend'](),_0x1104f9;}[_0x3d192e(0x1bd)](){const _0x4ae56b=_0x3d192e;throw new Error(_0x4ae56b(0x327));}};ye=Le([A(0x5,_0x435342(_0x5a18dc)),A(0x6,_0x435342(_0x18ab34)),A(0x7,_0x435342(q)),A(0x8,_0x4d4125),A(0x9,_0x211f33)],ye);let he=class extends $e{constructor(_0x361457,_0xc68ea3,_0x3fcf8c,_0xf74579,_0x55f832,_0x25f91a,_0x2477ef,_0x481e36,_0x1be3f4,_0x528d63,_0x445196,_0x4ff821,_0x3e9dc1,_0xe95848){const _0x8bdbaf=_0x3d192e;super(_0x361457,_0xc68ea3,_0x3fcf8c,_0xf74579,_0x2477ef,_0x4ff821,_0x3e9dc1,_0x1be3f4,_0x528d63),g(this,_0x8bdbaf(0x3ab),'fetch_missing'),(this[_0x8bdbaf(0x2ea)]=_0x55f832,this[_0x8bdbaf(0x27e)]=_0x25f91a,this['_injector']=_0x481e36,this[_0x8bdbaf(0x3b5)]=_0x445196,this[_0x8bdbaf(0x4a8)]=_0xe95848);}[_0x3d192e(0x574)](_0x40ff33){const _0x2e94d0=_0x3d192e;try{const _0x5abee8=[..._0x40ff33,...this[_0x2e94d0(0x27e)]],_0x37461a=[this[_0x2e94d0(0x1ae)]||this['_acknowledgedAwaitingChangeset']][_0x2e94d0(0x347)](_0x5ce68d=>!!_0x5ce68d);let _0x1dee3b,_0x8eebaa;if(_0x37461a[_0x2e94d0(0x4e9)]){const _0x363ad5=this[_0x2e94d0(0x4a8)][_0x2e94d0(0x262)](_0x5abee8,_0x37461a,!0x1);if(!_0x302b92(_0x363ad5))throw _0x363ad5['error'];_0x1dee3b=_0x363ad5[_0x2e94d0(0x483)],_0x8eebaa=_0x363ad5[_0x2e94d0(0x422)];}else _0x1dee3b=_0x5abee8,_0x8eebaa=[];let _0x477028=this[_0x2e94d0(0x4e7)];_0x1dee3b[_0x2e94d0(0x253)](_0x3e8e56=>{const _0x45609e=_0x2e94d0;let _0x132059;if(_0x477028[_0x45609e(0x4e9)]){const _0x1b7758=this[_0x45609e(0x4a8)][_0x45609e(0x3d0)](_0x3e8e56,_0x477028);if(!_0x4b9a49(_0x1b7758))throw _0x1b7758[_0x45609e(0x4f4)];_0x132059=_0x1b7758['c1Prime'],_0x477028=_0x1b7758[_0x45609e(0x227)];}else _0x132059=_0x3e8e56;this[_0x45609e(0x2bb)](_0x132059);}),this[_0x2e94d0(0x2ea)]&&this['_incrementRevisionNumber'](),this[_0x2e94d0(0x1ae)]&&_0x8eebaa[_0x2e94d0(0x4e9)]&&(_0x8eebaa[0x0][_0x2e94d0(0x3ad)]=this[_0x2e94d0(0x38a)]());let _0x5c9d4f;if(this['_awaitingChangeset']&&_0x477028[_0x2e94d0(0x4e9)]!==0x0)_0x5c9d4f=this['_injector'][_0x2e94d0(0x521)](ge,this[_0x2e94d0(0x1dc)],this['type'],_0x8eebaa[0x0],_0x477028,this[_0x2e94d0(0x3a9)],void 0x0);else{if(this[_0x2e94d0(0x1ae)]&&_0x477028[_0x2e94d0(0x4e9)]===0x0)_0x8eebaa[0x0]['baseRev']=this[_0x2e94d0(0x38a)](),_0x5c9d4f=this['_injector'][_0x2e94d0(0x521)](Te,this[_0x2e94d0(0x1dc)],this['type'],_0x8eebaa[0x0],this[_0x2e94d0(0x3a9)]);else{if(_0x477028[_0x2e94d0(0x4e9)]!==0x0){const _0x4bf95a=this[_0x2e94d0(0x329)][_0x2e94d0(0x521)](pe,this[_0x2e94d0(0x1dc)],this[_0x2e94d0(0x34e)],_0x477028,this[_0x2e94d0(0x3a9)]);_0x4bf95a['_schedule'](),_0x5c9d4f=_0x4bf95a;}else _0x5c9d4f=this['_injector']['createInstance'](Fe,this[_0x2e94d0(0x1dc)],this[_0x2e94d0(0x34e)],this['_handler']);}}return _0x5c9d4f[_0x2e94d0(0x3b8)](),_0x5c9d4f;}catch(_0x577b97){return this[_0x2e94d0(0x3b5)][_0x2e94d0(0x4f4)](_0x2e94d0(0x4cc),_0x2e94d0(0x34f),_0x577b97),this[_0x2e94d0(0x329)]['createInstance'](Re,this[_0x2e94d0(0x1dc)],this['type'],this['_awaitingChangeset'],this[_0x2e94d0(0x4e7)],this[_0x2e94d0(0x3a9)],!0x1);}}[_0x3d192e(0x1bd)](){const _0x263bbc=_0x3d192e;throw new Error(_0x263bbc(0x316));}[_0x3d192e(0x540)](_0x39b5be){const _0x29668b=_0x3d192e;return this[_0x29668b(0x4e7)][_0x29668b(0x24b)](_0x39b5be),this;}[_0x3d192e(0x24d)](_0x454b24){const _0x2b98b7=_0x3d192e;return this[_0x2b98b7(0x27e)][_0x2b98b7(0x24b)](_0x454b24),this;}[_0x3d192e(0x430)](_0x1fd049){const _0x47fdab=_0x3d192e;if(this['_awaitingChangeset'])return this[_0x47fdab(0x2ea)]=this[_0x47fdab(0x1ae)],this[_0x47fdab(0x1ae)]=null,this;throw new Error(_0x47fdab(0x41d));}[_0x3d192e(0x279)](_0x198a98){const _0x5189aa=_0x3d192e;return this[_0x5189aa(0x567)](!!(_0x198a98!=null&&_0x198a98[_0x5189aa(0x37a)]));}[_0x3d192e(0x2ac)](){return this;}[_0x3d192e(0x598)](){const _0x162281=_0x3d192e;return this['_injector'][_0x162281(0x521)](ye,this[_0x162281(0x1dc)],this['type'],this[_0x162281(0x1ae)],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x3d192e(0x567)](_0x5a7f0a){const _0x2a4f76=_0x3d192e;return this[_0x2a4f76(0x329)]['createInstance'](Re,this['unitID'],this[_0x2a4f76(0x34e)],this[_0x2a4f76(0x1ae)],this[_0x2a4f76(0x4e7)],this[_0x2a4f76(0x3a9)],_0x5a7f0a);}};he=Le([A(0x7,_0x435342(_0x5a18dc)),A(0x8,_0x435342(_0x18ab34)),A(0x9,_0x435342(q)),A(0xa,_0x25772e),A(0xb,_0x4d4125),A(0xc,_0x211f33),A(0xd,_0x238f3d)],he);function Ai(_0x3b5f7b,_0x24965c,_0x361f36,_0x55be66,_0x311b4d,_0x4f35c1){const _0xb24366=_0x3d192e;return _0x55be66&&_0x311b4d[_0xb24366(0x4e9)]?_0x3b5f7b[_0xb24366(0x521)](ge,_0x24965c,_0x361f36,_0x55be66,_0x311b4d,_0x4f35c1,void 0x0):_0x55be66?_0x3b5f7b[_0xb24366(0x521)](Te,_0x24965c,_0x361f36,_0x55be66,_0x4f35c1):_0x311b4d[_0xb24366(0x4e9)]?_0x3b5f7b[_0xb24366(0x521)](pe,_0x24965c,_0x361f36,_0x311b4d,_0x4f35c1):_0x3b5f7b[_0xb24366(0x521)](Fe,_0x24965c,_0x361f36,_0x4f35c1);}var mo=Object[_0x3d192e(0x494)],po=Object[_0x3d192e(0x3e5)],Es=(_0x546a56,_0x4c5f1c,_0x122f87,_0xfe0cf8)=>{const _0x1f46af=_0x3d192e;for(var _0x36b6cf=_0xfe0cf8>0x1?void 0x0:_0xfe0cf8?po(_0x4c5f1c,_0x122f87):_0x4c5f1c,_0xf3f4ec=_0x546a56[_0x1f46af(0x4e9)]-0x1,_0x510d53;_0xf3f4ec>=0x0;_0xf3f4ec--)(_0x510d53=_0x546a56[_0xf3f4ec])&&(_0x36b6cf=(_0xfe0cf8?_0x510d53(_0x4c5f1c,_0x122f87,_0x36b6cf):_0x510d53(_0x36b6cf))||_0x36b6cf);return _0xfe0cf8&&_0x36b6cf&&mo(_0x4c5f1c,_0x122f87,_0x36b6cf),_0x36b6cf;},H=(_0x3c5795,_0x5ecb82)=>(_0x22313d,_0x3e6604)=>_0x5ecb82(_0x22313d,_0x3e6604,_0x3c5795);let St=class extends _0x10cb26{constructor(_0x379998,_0x26d694,_0x5b9396,_0x4e466b,_0xc09033,_0x365ad2,_0x3857e2,_0x5f56e9,_0x1b77cb,_0x182e5f,_0xac853b,_0x4650c7,_0xceb68f){const _0x5b6b10=_0x3d192e;super(),g(this,'_state$',new _0x1d58dd(null)),g(this,'state$',this[_0x5b6b10(0x230)]['asObservable']()),g(this,_0x5b6b10(0x51e)),g(this,_0x5b6b10(0x2bf),!0x1),g(this,_0x5b6b10(0x4cb),''),g(this,_0x5b6b10(0x56e),0x0),g(this,'status$',this['state$'][_0x5b6b10(0x407)](_0x2f5428(_0x55a412=>_0x55a412?_0x55a412[_0x5b6b10(0x3ab)]:J[_0x5b6b10(0x3fe)]),_0x2a23f2(0x1))),g(this,'_transitionLocked',!0x1),g(this,_0x5b6b10(0x355),[]),(this[_0x5b6b10(0x1dc)]=_0x379998,this[_0x5b6b10(0x302)]=_0x26d694,this['_type']=_0x5b9396,this[_0x5b6b10(0x329)]=_0x4e466b,this[_0x5b6b10(0x414)]=_0xc09033,this[_0x5b6b10(0x577)]=_0x365ad2,this[_0x5b6b10(0x32a)]=_0x3857e2,this[_0x5b6b10(0x3cd)]=_0x5f56e9,this[_0x5b6b10(0x3b5)]=_0x1b77cb,this['_commandService']=_0x182e5f,this['_messageService']=_0xac853b,this[_0x5b6b10(0x506)]=_0x4650c7,this[_0x5b6b10(0x5a3)]=_0xceb68f);}get[_0x3d192e(0x3e7)](){const _0x283b9b=_0x3d192e;return this[_0x283b9b(0x51e)];}async[_0x3d192e(0x46a)](){const _0x48899e=_0x3d192e;if(this[_0x48899e(0x3e7)])throw new Error(_0x48899e(0x33c));await this[_0x48899e(0x20a)]();}[_0x3d192e(0x49b)](){const _0x3a4031=_0x3d192e;return this[_0x3a4031(0x2bf)]=!0x0,_0x30963a(()=>{const _0x5845d6=_0x3a4031;this['_collaborationPaused']=!0x1,this[_0x5845d6(0x1c2)]();});}['_updateState'](_0x44777c){const _0x4a2543=_0x3d192e;this[_0x4a2543(0x51e)]=_0x44777c,this[_0x4a2543(0x230)]['next'](_0x44777c);}async[_0x3d192e(0x20a)](){const _0x8fbb09=_0x3d192e;var _0x15b0da;this['_updateState'](await this[_0x8fbb09(0x28a)]()),this[_0x8fbb09(0x5a3)]&&((_0x15b0da=this[_0x8fbb09(0x5a3)])==null||_0x15b0da[_0x8fbb09(0x1b6)](this[_0x8fbb09(0x1dc)]),this['disposeWithMe'](this[_0x8fbb09(0x5a3)]['getUnitStatus$'](this[_0x8fbb09(0x1dc)])[_0x8fbb09(0x2ce)](_0x59d1db=>{const _0x2d2bae=_0x8fbb09;this[_0x2d2bae(0x3b5)][_0x2d2bae(0x2cb)](_0x2d2bae(0x223),'editing\x20status\x20changed\x20to',_0x59d1db),_0x59d1db===Di[_0x2d2bae(0x1ee)]?(this['_messageService'][_0x2d2bae(0x4b4)]({'content':this[_0x2d2bae(0x32a)]['t'](_0x2d2bae(0x33d)),'type':_0x5b8609[_0x2d2bae(0x208)]}),this[_0x2d2bae(0x506)][_0x2d2bae(0x442)](new _0x11ffb6(this[_0x2d2bae(0x1dc)])['id'],!0x1),this[_0x2d2bae(0x506)][_0x2d2bae(0x47b)](!0x1)):(this[_0x2d2bae(0x506)][_0x2d2bae(0x442)](new _0x11ffb6(this[_0x2d2bae(0x1dc)])['id'],!0x0),this[_0x2d2bae(0x506)][_0x2d2bae(0x47b)](!0x0));})));let _0x126945=!0x1;return this[_0x8fbb09(0x2f7)](this[_0x8fbb09(0x302)][_0x8fbb09(0x29c)][_0x8fbb09(0x2ce)](_0x4a3fe0=>{const _0x460b05=_0x8fbb09;_0x4a3fe0===ve[_0x460b05(0x2c3)]?this[_0x460b05(0x357)](_0x126945):_0x4a3fe0===ve['OFFLINE']&&(_0x126945=!0x0,this['_toggleOffline']());})),this[_0x8fbb09(0x2f7)](this[_0x8fbb09(0x302)][_0x8fbb09(0x513)][_0x8fbb09(0x2ce)](_0x462a6d=>{const _0x2bbb08=_0x8fbb09;try{switch(_0x462a6d[_0x2bbb08(0x1f5)]){case _0x28e200[_0x2bbb08(0x43f)]:{this[_0x2bbb08(0x3c6)](_0x4167b6(_0x462a6d[_0x2bbb08(0x383)]));break;}case _0x28e200[_0x2bbb08(0x246)]:{this[_0x2bbb08(0x55f)](_0x462a6d[_0x2bbb08(0x383)]);break;}case _0x28e200[_0x2bbb08(0x3af)]:{this['_onRemoteRejected']();break;}case _0x28e200['CHANGESET_SHOULD_RETRY']:{this[_0x2bbb08(0x4c1)](_0x462a6d['data']);break;}case _0x28e200[_0x2bbb08(0x479)]:{this[_0x2bbb08(0x4d0)](_0x462a6d[_0x2bbb08(0x383)]['changesets'][_0x2bbb08(0x1fc)](_0xcb8a3f=>_0x4167b6(_0xcb8a3f)));break;}case _0x28e200[_0x2bbb08(0x58e)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x5716e7){throw console[_0x2bbb08(0x4f4)](_0x2bbb08(0x19b),_0x5716e7),_0x5716e7;}})),this[_0x8fbb09(0x51e)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}['_lockTransition'](){const _0x228cc5=_0x3d192e;if(this['_transitionLocked'])throw new Error(_0x228cc5(0x289));this[_0x228cc5(0x225)]=!0x0;}[_0x3d192e(0x49e)](_0x41a07f){const _0x3e5180=_0x3d192e;this['_lockTransition'](),this[_0x3e5180(0x249)](this[_0x3e5180(0x51e)][_0x3e5180(0x540)](_0x41a07f)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x4c7472){const _0x2e19cb=_0x3d192e;if(!(_0x4c7472['revision']<=this['_revisionService'][_0x2e19cb(0x568)](this['unitID']))){if(this[_0x2e19cb(0x2bf)]){this['_remoteChangesetQueue'][_0x2e19cb(0x24b)](_0x4c7472);return;}this[_0x2e19cb(0x1e2)](_0x4c7472);}}[_0x3d192e(0x1c2)](){const _0x14335b=_0x3d192e;this[_0x14335b(0x355)][_0x14335b(0x253)](_0x36bfba=>this[_0x14335b(0x1e2)](_0x36bfba)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x5748b6){const _0x4e89aa=_0x3d192e,_0x4b27ea=this[_0x4e89aa(0x577)][_0x4e89aa(0x4fe)]['fetchThroughInterceptors'](this[_0x4e89aa(0x577)][_0x4e89aa(0x4fe)][_0x4e89aa(0x436)]()['COMPRESS_MUTATION_APPLY'])(_0x5748b6[_0x4e89aa(0x547)],null)||_0x5748b6[_0x4e89aa(0x547)],_0x1786b6={..._0x5748b6,'mutations':_0x4b27ea};this[_0x4e89aa(0x512)](),this[_0x4e89aa(0x249)](this['_state'][_0x4e89aa(0x24d)](_0x1786b6)),this[_0x4e89aa(0x247)]();}[_0x3d192e(0x55f)](_0x4e2fd8){const _0x59b369=_0x3d192e;this[_0x59b369(0x512)](),this[_0x59b369(0x249)](this['_state']['onRemoteAck'](_0x4e2fd8)),this[_0x59b369(0x247)]();}[_0x3d192e(0x370)](_0x51dd04){const _0x50b7ab=_0x3d192e;this[_0x50b7ab(0x512)](),this[_0x50b7ab(0x249)](this[_0x50b7ab(0x51e)]['onRemoteRej'](_0x51dd04)),this[_0x50b7ab(0x247)]();}[_0x3d192e(0x4c1)](_0x6f97ac){const _0x1589d1=_0x3d192e;this['_lockTransition'](),this[_0x1589d1(0x249)](this[_0x1589d1(0x51e)][_0x1589d1(0x2ac)](_0x6f97ac)),this[_0x1589d1(0x247)]();}[_0x3d192e(0x4d0)](_0x47553b){const _0x1cbf06=_0x3d192e;if(!(this[_0x1cbf06(0x51e)]instanceof he))throw new TypeError(_0x1cbf06(0x25d));const _0x4c0a5b=_0x47553b[_0x1cbf06(0x1fc)](_0x3f35ee=>{const _0x51529c=_0x1cbf06,_0x54b9a7=this[_0x51529c(0x577)][_0x51529c(0x4fe)]['fetchThroughInterceptors'](this[_0x51529c(0x577)][_0x51529c(0x4fe)][_0x51529c(0x436)]()[_0x51529c(0x44e)])(_0x3f35ee[_0x51529c(0x547)],null)||_0x3f35ee[_0x51529c(0x547)];return{..._0x3f35ee,'mutations':_0x54b9a7};});this[_0x1cbf06(0x512)](),this[_0x1cbf06(0x249)](this[_0x1cbf06(0x51e)][_0x1cbf06(0x574)](_0x4c0a5b)),this[_0x1cbf06(0x247)]();}['_toggleOffline'](){const _0x4a422f=_0x3d192e;this['_lockTransition'](),this[_0x4a422f(0x249)](this[_0x4a422f(0x51e)][_0x4a422f(0x598)]()),this['_unlockTransition']();}[_0x3d192e(0x357)](_0x184bc6=!0x1){const _0x5d4533=_0x3d192e;this[_0x5d4533(0x512)](),this[_0x5d4533(0x249)](this[_0x5d4533(0x51e)]['toggleOnline']()),this['_unlockTransition']();const _0x4de7dc=this[_0x5d4533(0x51e)];_0x184bc6&&_0x4de7dc instanceof Fe&&(this[_0x5d4533(0x512)](),this[_0x5d4533(0x249)](_0x4de7dc[_0x5d4533(0x496)]()),this[_0x5d4533(0x247)]());}async[_0x3d192e(0x28a)](){return new Promise(_0x3ab2c4=>{const _0x2c48e1=_0x1083;this[_0x2c48e1(0x302)]['sessionStatus$'][_0x2c48e1(0x407)](_0x543baa(0x1))[_0x2c48e1(0x2ce)](async _0x26e7fd=>{const _0x346f6c=_0x2c48e1;_0x3ab2c4(await this[_0x346f6c(0x22d)](_0x26e7fd===ve[_0x346f6c(0x2c3)]));});});}[_0x3d192e(0x2db)](){const _0x13d6d1=_0x3d192e,_0x4550b8=this[_0x13d6d1(0x1dc)];return{'onStateChange':(_0x51c926,_0x1c3974)=>{const _0x564178=_0x13d6d1;if(_0x51c926!==this['_state'])throw new Error(_0x564178(0x2d0)+_0x51c926['status']+'\x0aAfter:\x20'+_0x1c3974[_0x564178(0x3ab)]+_0x564178(0x322)+this[_0x564178(0x51e)][_0x564178(0x3ab)]);this['_updateState'](_0x1c3974);},'onSendChangeset':_0x26094f=>{const _0x3c14f9=_0x13d6d1;_0x26094f[_0x3c14f9(0x369)]||(_0x26094f[_0x3c14f9(0x369)]=this['_changesetSessionId'],_0x26094f[_0x3c14f9(0x561)]=++this[_0x3c14f9(0x56e)]);const _0x47304e={'eventID':_0x28e200[_0x3c14f9(0x273)],'data':{'unitID':_0x26094f[_0x3c14f9(0x1dc)],'unitType':this[_0x3c14f9(0x566)],'changeset':_0x26094f,'memberID':this[_0x3c14f9(0x302)][_0x3c14f9(0x282)]()}};this[_0x3c14f9(0x302)]['send'](_0x47304e,this[_0x3c14f9(0x1dc)]);},'onMissingChangesets':({from:_0x43a182,to:_0x2f3f3f})=>{const _0x5051c9=_0x13d6d1;this[_0x5051c9(0x3b5)]['debug'](_0x5051c9(0x223),_0x5051c9(0x1e5)+_0x43a182+_0x5051c9(0x375)+_0x2f3f3f);const _0x487b48={'eventID':_0x28e200['FETCH_MISSING'],'data':{'unitID':_0x4550b8,'unitType':this[_0x5051c9(0x566)],'from':_0x43a182,'to':_0x2f3f3f}};this['session'][_0x5051c9(0x214)](_0x487b48,this[_0x5051c9(0x1dc)]);}};}async[_0x3d192e(0x22d)](_0x6a24af){const _0x4586ea=_0x3d192e;var _0x1a0ca3,_0x1cc62e;const _0x55b9f3=await this['_localCacheService'][_0x4586ea(0x48b)](this[_0x4586ea(0x1dc)]),_0x502d61=(_0x1a0ca3=_0x55b9f3==null?void 0x0:_0x55b9f3[_0x4586ea(0x547)])!=null?_0x1a0ca3:[],_0x2d317c=(_0x1cc62e=_0x55b9f3==null?void 0x0:_0x55b9f3[_0x4586ea(0x23a)])!=null?_0x1cc62e:null,_0x19c735=!!(_0x2d317c!=null&&_0x2d317c['sid'])&&!!(_0x2d317c!=null&&_0x2d317c[_0x4586ea(0x561)]);this[_0x4586ea(0x4cb)]=_0x19c735?_0x2d317c[_0x4586ea(0x369)]:Gr(),this[_0x4586ea(0x56e)]=_0x19c735?_0x2d317c[_0x4586ea(0x561)]:0x0;const _0x86930e=this[_0x4586ea(0x1dc)];try{this[_0x4586ea(0x192)](_0x2d317c,_0x502d61);}catch(_0x31c539){this[_0x4586ea(0x3b5)][_0x4586ea(0x4f4)](_0x31c539);}const _0x33c4a8=this[_0x4586ea(0x2db)]();if(_0x6a24af){const _0x374183=Ai(this[_0x4586ea(0x329)],_0x86930e,this[_0x4586ea(0x566)],_0x2d317c,_0x502d61,_0x33c4a8);return _0x374183 instanceof pe?_0x374183[_0x4586ea(0x2ab)]():(_0x374183 instanceof ge||_0x374183 instanceof Te)&&_0x374183[_0x4586ea(0x1bd)](),_0x374183;}return this[_0x4586ea(0x329)][_0x4586ea(0x521)](ye,_0x86930e,this[_0x4586ea(0x566)],_0x2d317c,_0x502d61,_0x33c4a8);}['_replayCachedMutations'](_0x175369,_0x4884ce){const _0x2ec7d1=_0x3d192e;var _0x12bc20,_0x404717;const _0x160aaf=this[_0x2ec7d1(0x577)][_0x2ec7d1(0x4fe)][_0x2ec7d1(0x3ea)](this['_compressMutationService']['interceptor'][_0x2ec7d1(0x436)]()[_0x2ec7d1(0x44e)]);(_0x12bc20=_0x160aaf((_0x175369==null?void 0x0:_0x175369[_0x2ec7d1(0x547)])||[],null))==null||_0x12bc20[_0x2ec7d1(0x253)](_0x4f2562=>this[_0x2ec7d1(0x2d5)][_0x2ec7d1(0x3b1)](_0x4f2562['id'],_0x4f2562[_0x2ec7d1(0x59e)])),(_0x404717=_0x160aaf(_0x4884ce||[],null))==null||_0x404717['forEach'](_0x30b3a3=>this[_0x2ec7d1(0x2d5)][_0x2ec7d1(0x3b1)](_0x30b3a3['id'],_0x30b3a3['params']));}};St=Es([H(0x3,_0x435342(_0x5a18dc)),H(0x4,_0x435342(q)),H(0x5,_0x435342(_0x58b852)),H(0x6,_0x435342(_0xef493b)),H(0x7,_0x435342(_0x18ab34)),H(0x8,_0x25772e),H(0x9,_0x4d4125),H(0xa,_0x11ef1f),H(0xb,_0x23a72a),H(0xc,_0x1eef7c(yt))],St);let ss=class extends St{constructor(_0x430d8a,_0x89952,_0x33afd1,_0x4961d7,_0x50c992,_0x1b5278,_0x3e6c04,_0x4ff038,_0x28b79a,_0x3e5708,_0x295c02,_0x2a5e61,_0xe9b124,_0x3aac4c,_0x4e95da,_0x51a7e3,_0xf9256f,_0xfcfe11){const _0x27faad=_0x3d192e;super(_0x430d8a,_0x33afd1,_0x89952,_0x4961d7,_0x50c992,_0x1b5278,_0x3e6c04,_0x4ff038,_0x3aac4c,_0x4e95da,_0x51a7e3,_0xf9256f,_0xfcfe11),this[_0x27faad(0x1dc)]=_0x430d8a,this[_0x27faad(0x34e)]=_0x89952,this[_0x27faad(0x478)]=_0x28b79a,this[_0x27faad(0x58d)]=_0x3e5708,this[_0x27faad(0x35e)]=_0x295c02,this[_0x27faad(0x473)]=_0x2a5e61,this[_0x27faad(0x263)]=_0xe9b124;}[_0x3d192e(0x2db)](){const _0x28dc71=_0x3d192e,_0x46cfd5=super[_0x28dc71(0x2db)]();return _0x46cfd5[_0x28dc71(0x356)]=_0x2cb79e=>this['_docTransformIMECacheService'][_0x28dc71(0x4f0)](_0x2cb79e),_0x46cfd5[_0x28dc71(0x303)]=_0x141199=>this[_0x28dc71(0x35e)][_0x28dc71(0x2aa)](_0x141199),_0x46cfd5[_0x28dc71(0x20f)]=_0x30843d=>this[_0x28dc71(0x473)]['transformSelections'](_0x30843d),_0x46cfd5[_0x28dc71(0x401)]=_0x24c09e=>this['_docSyncEditingCollabCursorService'][_0x28dc71(0x374)](_0x24c09e),_0x46cfd5['onTransformRemoteChangesetByIMECache']=_0x5cc058=>this[_0x28dc71(0x58d)][_0x28dc71(0x1b9)](_0x5cc058),_0x46cfd5['onTransformRemoteChangesetByStateCache']=_0x33ceb1=>this[_0x28dc71(0x35e)]['transformRemoteChangeset'](_0x33ceb1),_0x46cfd5;}async[_0x3d192e(0x20a)](){const _0x5c0c4e=_0x3d192e,_0x2eb9a3=await super[_0x5c0c4e(0x20a)]();return this['_docStateChangeManagerService'][_0x5c0c4e(0x27d)]['pipe'](_0xe1e697(this['dispose$']))['subscribe'](_0x47b4d1=>{const _0x1e7c61=_0x5c0c4e;if(_0x47b4d1==null)return;const {unitId:_0x5d0a81,redoState:_0x9d638,commandId:_0x4a1b3b}=_0x47b4d1;if(_0x5d0a81!==this['unitID'])return;const _0x5e1f3e={'id':_0x4a1b3b,'type':_0x8cff0f['MUTATION'],'params':{'unitId':_0x5d0a81,'actions':_0x9d638[_0x1e7c61(0x43c)],'textRanges':null}};this['_onLocalMutation'](_0x5e1f3e);}),_0x2eb9a3;}};ss=Es([H(0x3,_0x435342(_0x5a18dc)),H(0x4,_0x435342(q)),H(0x5,_0x435342(_0x58b852)),H(0x6,_0x435342(_0xef493b)),H(0x7,_0x435342(_0x18ab34)),H(0x8,_0x435342(_0x391d27)),H(0x9,_0x435342(vt)),H(0xa,_0x435342(pt)),H(0xb,_0x435342(gt)),H(0xc,_0x435342(Cs)),H(0xd,_0x25772e),H(0xe,_0x4d4125),H(0xf,_0x11ef1f),H(0x10,_0x23a72a),H(0x11,_0x1eef7c(yt))],ss);let is=class extends St{constructor(_0x41b3b4,_0x4c4019,_0x2c3671,_0x449e0e,_0x1876e9,_0x40d7e9,_0x23fcf1,_0x1815e4,_0x3ee129,_0x5df5ad,_0x13a3b8,_0x2838ba,_0x3a8904,_0x20863c){const _0x37c5ae=_0x3d192e;super(_0x41b3b4,_0x2c3671,_0x4c4019,_0x449e0e,_0x1876e9,_0x40d7e9,_0x23fcf1,_0x1815e4,_0x5df5ad,_0x13a3b8,_0x2838ba,_0x3a8904,_0x20863c),this[_0x37c5ae(0x1dc)]=_0x41b3b4,this['type']=_0x4c4019,this[_0x37c5ae(0x53c)]=_0x3ee129;}[_0x3d192e(0x2db)](){const _0x32cd22=_0x3d192e,_0xe0665b=super['_createHandler']();return _0xe0665b[_0x32cd22(0x20f)]=_0x4e0abd=>this[_0x32cd22(0x53c)]['transformSelections'](_0x4e0abd),_0xe0665b;}async[_0x3d192e(0x20a)](){const _0x1dc2d8=_0x3d192e,_0x1a21eb=await super[_0x1dc2d8(0x20a)]();return this['disposeWithMe'](this[_0x1dc2d8(0x2d5)][_0x1dc2d8(0x3a3)]((_0x3db28a,_0x49c0fb)=>{const _0x5db96f=_0x1dc2d8;if(_0x3db28a[_0x5db96f(0x34e)]!==_0x8cff0f[_0x5db96f(0x280)]||_0x49c0fb!=null&&_0x49c0fb[_0x5db96f(0x286)]||_0x49c0fb!=null&&_0x49c0fb[_0x5db96f(0x1ff)])return;const _0x3bb541=_0x3db28a['params'];if((_0x3bb541==null?void 0x0:_0x3bb541[_0x5db96f(0x488)])!==this[_0x5db96f(0x1dc)])return;const _0x293106=_0x3db28a,_0x4a1ae4=this[_0x5db96f(0x577)][_0x5db96f(0x4fe)][_0x5db96f(0x3ea)](this[_0x5db96f(0x577)][_0x5db96f(0x4fe)]['getInterceptPoints']()[_0x5db96f(0x509)])([_0x293106],null)||[_0x293106];this[_0x5db96f(0x49e)](_0x4a1ae4[0x0]);})),_0x1a21eb;}};is=Es([H(0x3,_0x435342(_0x5a18dc)),H(0x4,_0x435342(q)),H(0x5,_0x435342(_0x58b852)),H(0x6,_0x435342(_0xef493b)),H(0x7,_0x435342(_0x18ab34)),H(0x8,_0x435342(mt)),H(0x9,_0x25772e),H(0xa,_0x4d4125),H(0xb,_0x11ef1f),H(0xc,_0x23a72a),H(0xd,_0x1eef7c(yt))],is);var go=Object[_0x3d192e(0x494)],So=Object[_0x3d192e(0x3e5)],Io=(_0x23443d,_0x136750,_0x262d96,_0x294b8e)=>{const _0x2466b9=_0x3d192e;for(var _0x4e0a75=_0x294b8e>0x1?void 0x0:_0x294b8e?So(_0x136750,_0x262d96):_0x136750,_0x1b1b41=_0x23443d[_0x2466b9(0x4e9)]-0x1,_0x149cae;_0x1b1b41>=0x0;_0x1b1b41--)(_0x149cae=_0x23443d[_0x1b1b41])&&(_0x4e0a75=(_0x294b8e?_0x149cae(_0x136750,_0x262d96,_0x4e0a75):_0x149cae(_0x4e0a75))||_0x4e0a75);return _0x294b8e&&_0x4e0a75&&go(_0x136750,_0x262d96,_0x4e0a75),_0x4e0a75;},Lt=(_0x1ea8af,_0x3b6ebd)=>(_0x56c9d9,_0x573501)=>_0x3b6ebd(_0x56c9d9,_0x573501,_0x1ea8af);let it=class extends _0x10cb26{constructor(_0x3e5583,_0x11bee6,_0x2e825f){const _0x522fc3=_0x3d192e;super(),g(this,'_entities',new Map()),g(this,'_entityInit$',new _0x276b38()),(this[_0x522fc3(0x329)]=_0x3e5583,this[_0x522fc3(0x4e3)]=_0x11bee6,this['_univerInstanceService']=_0x2e825f,this[_0x522fc3(0x20a)]());}[_0x3d192e(0x228)](){const _0x20a9a3=_0x3d192e;super[_0x20a9a3(0x228)](),this[_0x20a9a3(0x190)][_0x20a9a3(0x253)](_0x4095e3=>_0x4095e3[_0x20a9a3(0x228)]()),this[_0x20a9a3(0x190)][_0x20a9a3(0x49f)]();}[_0x3d192e(0x222)](_0x518a11){const _0x40de42=_0x3d192e;var _0x3491f5;return(_0x3491f5=this[_0x40de42(0x190)]['get'](_0x518a11))!=null?_0x3491f5:null;}[_0x3d192e(0x387)](_0x3dacc1){const _0x437c9c=_0x3d192e,_0xb80a60=this['getCollabEntity'](_0x3dacc1);return _0xb80a60?_0x20dba1(_0xb80a60):this[_0x437c9c(0x2dc)]['pipe'](_0x4f86ac(_0x13e31d=>_0x13e31d[_0x437c9c(0x1dc)]===_0x3dacc1));}[_0x3d192e(0x20a)](){const _0x26bf94=_0x3d192e;this[_0x26bf94(0x43d)]['getTypeOfUnitAdded$'](_0x1c25e8[_0x26bf94(0x26f)])[_0x26bf94(0x407)](_0xe1e697(this['dispose$']),_0x3bb49b(0x10))[_0x26bf94(0x2ce)](async _0x3e1ae4=>{const _0x139512=_0x26bf94,_0x342b06=_0x3e1ae4[_0x139512(0x2c1)](),_0x32f240=await this[_0x139512(0x1fa)](_0x342b06,ce[_0x139512(0x26f)]);this[_0x139512(0x190)][_0x139512(0x467)](_0x342b06,_0x32f240);}),this[_0x26bf94(0x43d)][_0x26bf94(0x551)](_0x1c25e8[_0x26bf94(0x52f)])[_0x26bf94(0x407)](_0xe1e697(this[_0x26bf94(0x3e1)]),_0x3bb49b(0x10))[_0x26bf94(0x407)](_0x4f86ac(_0x442aad=>!_0x442aad['getUnitId']()[_0x26bf94(0x550)]('__')))[_0x26bf94(0x2ce)](async _0x1723c4=>{const _0x479b67=_0x26bf94,_0x44d024=_0x1723c4[_0x479b67(0x2c1)](),_0x32b390=await this[_0x479b67(0x1fa)](_0x44d024,ce[_0x479b67(0x52f)]);this['_entities'][_0x479b67(0x467)](_0x44d024,_0x32b390);}),_0x2eb1f5(this['_univerInstanceService'][_0x26bf94(0x2de)](_0x1c25e8['UNIVER_SHEET']),this[_0x26bf94(0x43d)][_0x26bf94(0x2de)](_0x1c25e8['UNIVER_DOC']))['pipe'](_0xe1e697(this[_0x26bf94(0x3e1)]))[_0x26bf94(0x2ce)](_0x2cf518=>{const _0x3e092f=_0x26bf94,_0x4a2d67=_0x2cf518['getUnitId'](),_0x5dc533=this[_0x3e092f(0x190)][_0x3e092f(0x47d)](_0x4a2d67);_0x5dc533&&(_0x5dc533[_0x3e092f(0x228)](),this[_0x3e092f(0x190)]['delete'](_0x4a2d67));});}async[_0x3d192e(0x1fa)](_0x560e25,_0x4fb1e8){const _0x3f0ab2=_0x3d192e,_0x4eaa8f=await this['_collabSessionService'][_0x3f0ab2(0x51f)](_0x560e25),_0x249cbb=this[_0x3f0ab2(0x329)][_0x3f0ab2(0x521)](this[_0x3f0ab2(0x19c)](_0x4fb1e8),_0x560e25,_0x4fb1e8,_0x4eaa8f);return await _0x249cbb[_0x3f0ab2(0x46a)](),this['_entityInit$'][_0x3f0ab2(0x4bc)](_0x249cbb),_0x249cbb;}['_getCtorByUniverType'](_0x1f69c1){const _0x5a807b=_0x3d192e;switch(_0x1f69c1){case ce[_0x5a807b(0x52f)]:return ss;case ce[_0x5a807b(0x26f)]:return is;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x1f69c1);}}};it=Io([Lt(0x0,_0x435342(_0x5a18dc)),Lt(0x1,_0x435342(Ae)),Lt(0x2,_0x405019)],it);const Gs=[_0x3d192e(0x345),_0x3d192e(0x3e9),'verdancy600','red300','blue400',_0x3d192e(0x524)];class bs extends _0x1b81eb{constructor(){const _0x5ee573=_0x3d192e;super(...arguments),g(this,_0x5ee573(0x365),new Map()),g(this,_0x5ee573(0x1e9),0x0);}['assignAColorForMemberID'](_0x4a574e){const _0x19ac06=_0x3d192e;if(this[_0x19ac06(0x365)][_0x19ac06(0x476)](_0x4a574e))return this[_0x19ac06(0x365)]['get'](_0x4a574e);const _0x1f3640=Gs[this[_0x19ac06(0x1e9)]];return this[_0x19ac06(0x1e9)]=(this[_0x19ac06(0x1e9)]+0x1)%Gs[_0x19ac06(0x4e9)],this[_0x19ac06(0x365)][_0x19ac06(0x467)](_0x4a574e,_0x1f3640),_0x1f3640;}}var Co=Object['defineProperty'],Eo=Object[_0x3d192e(0x3e5)],bo=(_0x527d93,_0x1df49a,_0x497bb8,_0xce490f)=>{const _0x44928c=_0x3d192e;for(var _0x57da72=_0xce490f>0x1?void 0x0:_0xce490f?Eo(_0x1df49a,_0x497bb8):_0x1df49a,_0x5286d9=_0x527d93[_0x44928c(0x4e9)]-0x1,_0x297c7d;_0x5286d9>=0x0;_0x5286d9--)(_0x297c7d=_0x527d93[_0x5286d9])&&(_0x57da72=(_0xce490f?_0x297c7d(_0x1df49a,_0x497bb8,_0x57da72):_0x297c7d(_0x57da72))||_0x57da72);return _0xce490f&&_0x57da72&&Co(_0x1df49a,_0x497bb8,_0x57da72),_0x57da72;},Oe=(_0x1fefcb,_0x5cfa41)=>(_0x1b5c96,_0x4f7d9c)=>_0x5cfa41(_0x1b5c96,_0x4f7d9c,_0x1fefcb);const To=0x12c,Ro=0x64;let ns=class extends _0x10cb26{constructor(_0x241621,_0x56bf37,_0x27cbd8,_0x56ed05,_0x43d679,_0x4cabe4,_0x1a1014,_0x44f2e8,_0x50608f){const _0x15b970=_0x3d192e;super(),g(this,_0x15b970(0x43b),!0x1),g(this,_0x15b970(0x20a),!0x1),g(this,_0x15b970(0x4c4),new _0x1d58dd(new Map())),g(this,_0x15b970(0x1b0),this[_0x15b970(0x4c4)]['asObservable']()),g(this,'_roomMembers$',new _0x1d58dd([])),g(this,_0x15b970(0x339),this[_0x15b970(0x255)]['pipe'](_0xde4a6a(To))),g(this,_0x15b970(0x371),_0x339b95(_0x3709f8=>{const _0x37eaf3=_0x15b970,_0x2bd6e8={'eventID':_0x28e200[_0x37eaf3(0x4ac)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x37eaf3(0x282)](),'selection':Pi(_0x3709f8)}};this[_0x37eaf3(0x377)][_0x37eaf3(0x214)](_0x2bd6e8,this[_0x37eaf3(0x1dc)]);},Ro)),(this['unitID']=_0x241621,this[_0x15b970(0x377)]=_0x56bf37,this[_0x15b970(0x329)]=_0x27cbd8,this[_0x15b970(0x2fe)]=_0x56ed05,this[_0x15b970(0x4d5)]=_0x43d679,this[_0x15b970(0x462)]=_0x4cabe4,this['_transformService']=_0x1a1014,this[_0x15b970(0x43d)]=_0x44f2e8,this[_0x15b970(0x2d5)]=_0x50608f);}get[_0x3d192e(0x43e)](){const _0x4b4689=_0x3d192e;return this[_0x4b4689(0x4c4)][_0x4b4689(0x27a)]();}get[_0x3d192e(0x2ca)](){const _0x598693=_0x3d192e;return this[_0x598693(0x255)]['getValue']();}[_0x3d192e(0x228)](){const _0x558cda=_0x3d192e;super[_0x558cda(0x228)](),this[_0x558cda(0x4c4)][_0x558cda(0x4bc)](new Map()),this['_cursorInfo$'][_0x558cda(0x348)](),this[_0x558cda(0x255)][_0x558cda(0x4bc)]([]),this[_0x558cda(0x255)][_0x558cda(0x348)]();}[_0x3d192e(0x46a)](){const _0x320bfe=_0x3d192e;this['_init']||(this[_0x320bfe(0x20a)]=!0x0,this[_0x320bfe(0x377)][_0x320bfe(0x29c)]['pipe'](_0xe1e697(this[_0x320bfe(0x3e1)]))[_0x320bfe(0x2ce)](_0x19e93c=>{const _0x2da872=_0x320bfe;_0x19e93c===ve[_0x2da872(0x2c3)]?this[_0x2da872(0x357)]():this[_0x2da872(0x3ae)]();}),this['_session'][_0x320bfe(0x513)][_0x320bfe(0x407)](_0xe1e697(this['dispose$']))[_0x320bfe(0x2ce)](_0x565214=>{const _0x30cfc0=_0x320bfe,_0x50b64b=_0x565214['eventID'];_0x50b64b===_0x28e200[_0x30cfc0(0x4ac)]&&this[_0x30cfc0(0x2d3)](_0x565214),_0x50b64b===_0x28e200[_0x30cfc0(0x25c)]&&this[_0x30cfc0(0x3d3)](_0x565214);}),this[_0x320bfe(0x2f7)](this[_0x320bfe(0x2d5)][_0x320bfe(0x3a3)](_0x4e0b4e=>{const _0x4e87d6=_0x320bfe,_0x368dd6=_0x4e0b4e[_0x4e87d6(0x59e)];_0x368dd6!=null&&this[_0x4e87d6(0x43b)]&&_0x4e0b4e['id']===_0x3dabd6['id']&&_0x368dd6['unitId']===this['unitID']&&_0x368dd6[_0x4e87d6(0x46e)]===!0x1&&_0x368dd6[_0x4e87d6(0x28c)]['length']>0x0&&this[_0x4e87d6(0x371)](_0x368dd6[_0x4e87d6(0x28c)]);})),this[_0x320bfe(0x462)][_0x320bfe(0x492)]['pipe'](_0xe1e697(this[_0x320bfe(0x3e1)]))['subscribe'](_0x1eefd6=>{const _0x407a36=_0x320bfe;if((_0x1eefd6==null?void 0x0:_0x1eefd6[_0x407a36(0x1dc)])!==this[_0x407a36(0x1dc)])return;const _0x38292d={'eventID':_0x28e200[_0x407a36(0x4ac)],'data':_0x1eefd6};this['_onCursorUpdate'](_0x38292d);}),this[_0x320bfe(0x2f7)](this[_0x320bfe(0x2d5)][_0x320bfe(0x3a3)](_0x5eaa78=>{const _0x3f5714=_0x320bfe;if(_0x5eaa78[_0x3f5714(0x59e)]==null)return;const _0x3fcac1=_0x5eaa78[_0x3f5714(0x59e)];if(_0x5eaa78['id']!==_0x5448a2['id']||_0x3fcac1[_0x3f5714(0x488)]!==this[_0x3f5714(0x1dc)])return;const _0x3bb89e={'id':_0x3f5714(0x408),'params':_0x3fcac1},_0x2a1790=this['cursorInfo'];for(const [_0x11dd57,_0x35d2c7]of _0x2a1790){const _0x580a67={'id':_0x3f5714(0x408),'params':{'unitId':this[_0x3f5714(0x1dc)],'actions':null,'textRanges':_0x35d2c7['ranges']}},_0x50b368=this[_0x3f5714(0x4a8)][_0x3f5714(0x582)](_0x3bb89e,_0x580a67,!0x1);if(_0x19a818(_0x50b368))throw _0x50b368[_0x3f5714(0x4f4)];_0x2a1790['set'](_0x11dd57,{..._0x35d2c7,'ranges':_0x50b368[_0x3f5714(0x227)][_0x3f5714(0x59e)]['textRanges']});}queueMicrotask(()=>{const _0x12cb5f=_0x3f5714;this[_0x12cb5f(0x4c4)][_0x12cb5f(0x4bc)](_0x2a1790);});})));}['_onCursorUpdate'](_0x177704){const _0x5b48b6=_0x3d192e;var _0x3b22c5,_0x3c7ccd;const {memberID:_0x4d7d82,selection:_0xde209c}=_0x177704['data'],_0x429195=oo(_0xde209c),_0x47b263=(_0x3c7ccd=(_0x3b22c5=this['_memberService'][_0x5b48b6(0x37d)](this[_0x5b48b6(0x1dc)],_0x4d7d82))==null?void 0x0:_0x3b22c5[_0x5b48b6(0x2ef)])!=null?_0x3c7ccd:_0x5b48b6(0x1f8),_0x14b281={'color':this[_0x5b48b6(0x2fe)][_0x5b48b6(0x424)](_0x4d7d82),'name':_0x47b263,'ranges':_0x429195},_0x5a63be=this[_0x5b48b6(0x43e)];_0x5a63be[_0x5b48b6(0x467)](_0x4d7d82,_0x14b281),this[_0x5b48b6(0x4c4)][_0x5b48b6(0x4bc)](_0x5a63be);}['_onCursorDelete'](_0x405471){const _0xf4c85d=_0x3d192e,{memberID:_0x33dce0}=_0x405471[_0xf4c85d(0x383)],_0x29f912=this[_0xf4c85d(0x43e)];_0x29f912[_0xf4c85d(0x2cc)](_0x33dce0),this['_cursorInfo$'][_0xf4c85d(0x4bc)](_0x29f912);}[_0x3d192e(0x357)](){const _0x34bddb=_0x3d192e;var _0x139d62;if(this[_0x34bddb(0x43b)]=!0x0,((_0x139d62=this[_0x34bddb(0x43d)][_0x34bddb(0x29a)]())==null?void 0x0:_0x139d62[_0x34bddb(0x2c1)]())!==this[_0x34bddb(0x1dc)])return;const _0x5d5897=this[_0x34bddb(0x329)]['get'](_0x9ce9ab)[_0x34bddb(0x2f8)]();Array[_0x34bddb(0x350)](_0x5d5897)&&_0x5d5897[_0x34bddb(0x4e9)]>0x0&&this['_updateLocalCursor'](_0x5d5897);}['_toggleOffline'](){const _0x498b38=_0x3d192e;this[_0x498b38(0x43b)]=!0x1;}};ns=bo([Oe(0x2,_0x435342(_0x5a18dc)),Oe(0x3,_0x435342(bs)),Oe(0x4,_0x435342(Ne)),Oe(0x5,_0x435342(Cs)),Oe(0x6,_0x238f3d),Oe(0x7,_0x405019),Oe(0x8,_0x4d4125)],ns);var yo=Object[_0x3d192e(0x494)],Oo=Object[_0x3d192e(0x3e5)],wo=(_0x17d276,_0x5b1856,_0x4d2027,_0x2639bf)=>{const _0x45af35=_0x3d192e;for(var _0x47d2d6=_0x2639bf>0x1?void 0x0:_0x2639bf?Oo(_0x5b1856,_0x4d2027):_0x5b1856,_0x35153d=_0x17d276[_0x45af35(0x4e9)]-0x1,_0x3ba514;_0x35153d>=0x0;_0x35153d--)(_0x3ba514=_0x17d276[_0x35153d])&&(_0x47d2d6=(_0x2639bf?_0x3ba514(_0x5b1856,_0x4d2027,_0x47d2d6):_0x3ba514(_0x47d2d6))||_0x47d2d6);return _0x2639bf&&_0x47d2d6&&yo(_0x5b1856,_0x4d2027,_0x47d2d6),_0x47d2d6;},Be=(_0x22da35,_0x4b50b5)=>(_0xdeba74,_0x5a49ef)=>_0x4b50b5(_0xdeba74,_0x5a49ef,_0x22da35);const Do=0x12c,Po=0x64,Uo=()=>{let _0x35ae01=[],_0x138948=!0x1;return _0x540a4e=>{_0x35ae01['push'](_0x540a4e),_0x138948||(_0x138948=!0x0,setTimeout(()=>{const _0x51c364=_0x1083;_0x35ae01[_0x51c364(0x253)](_0x2fe96c=>_0x2fe96c()),_0x35ae01=[],_0x138948=!0x1;}));};};let rs=class extends _0x10cb26{constructor(_0x2247e4,_0x58c757,_0x3f9279,_0xf5e994,_0x206cbf,_0x415a0c,_0xbfb952,_0x327f71){const _0x10dd01=_0x3d192e;super(),g(this,_0x10dd01(0x43b),!0x1),g(this,_0x10dd01(0x20a),!0x1),g(this,'_cursorInfo$',new _0x1d58dd(new Map())),g(this,_0x10dd01(0x1b0),this['_cursorInfo$']['asObservable']()),g(this,_0x10dd01(0x255),new _0x1d58dd([])),g(this,_0x10dd01(0x339),this[_0x10dd01(0x255)]['pipe'](_0xde4a6a(Do))),g(this,_0x10dd01(0x371),_0x339b95((_0x27eaec,_0x8572b0)=>{const _0x199066=_0x10dd01,_0x20506c={'eventID':_0x28e200[_0x199066(0x4ac)],'data':{'unitID':this['unitID'],'memberID':this[_0x199066(0x377)][_0x199066(0x282)](),'selection':_0x3f0e28(_0x27eaec,_0x8572b0[_0x199066(0x2d4)])}};this[_0x199066(0x377)][_0x199066(0x214)](_0x20506c,this[_0x199066(0x1dc)]);},Po)),(this['unitID']=_0x2247e4,this[_0x10dd01(0x377)]=_0x58c757,this[_0x10dd01(0x329)]=_0x3f9279,this[_0x10dd01(0x2fe)]=_0xf5e994,this[_0x10dd01(0x4d5)]=_0x206cbf,this[_0x10dd01(0x43d)]=_0x415a0c,this['_commandService']=_0xbfb952,this[_0x10dd01(0x439)]=_0x327f71);}get[_0x3d192e(0x43e)](){const _0x4316d8=_0x3d192e;return this[_0x4316d8(0x4c4)]['getValue']();}get[_0x3d192e(0x2ca)](){return this['_roomMembers$']['getValue']();}[_0x3d192e(0x228)](){const _0x2bd331=_0x3d192e;super['dispose'](),this[_0x2bd331(0x4c4)]['next'](new Map()),this[_0x2bd331(0x4c4)][_0x2bd331(0x348)](),this[_0x2bd331(0x255)][_0x2bd331(0x4bc)]([]),this[_0x2bd331(0x255)][_0x2bd331(0x348)]();}[_0x3d192e(0x46a)](){const _0x1b0c53=_0x3d192e;this[_0x1b0c53(0x20a)]||(this[_0x1b0c53(0x20a)]=!0x0,this[_0x1b0c53(0x377)][_0x1b0c53(0x29c)][_0x1b0c53(0x407)](_0xe1e697(this[_0x1b0c53(0x3e1)]))[_0x1b0c53(0x2ce)](_0x15448b=>{const _0x412861=_0x1b0c53;_0x15448b===ve[_0x412861(0x2c3)]?this[_0x412861(0x357)]():this[_0x412861(0x3ae)]();}),this[_0x1b0c53(0x377)][_0x1b0c53(0x513)]['pipe'](_0xe1e697(this[_0x1b0c53(0x3e1)]))[_0x1b0c53(0x2ce)](_0xe9c7a2=>{const _0x28f7e8=_0x1b0c53,_0x3a8fb5=_0xe9c7a2['eventID'];_0x3a8fb5===_0x28e200['UPDATE_CURSOR']&&this[_0x28f7e8(0x2d3)](_0xe9c7a2),_0x3a8fb5===_0x28e200[_0x28f7e8(0x25c)]&&this[_0x28f7e8(0x3d3)](_0xe9c7a2);}),this[_0x1b0c53(0x28b)](),this[_0x1b0c53(0x2f7)](this[_0x1b0c53(0x2d5)]['onCommandExecuted'](_0xfb99f5=>{const _0x241f91=_0x1b0c53;if(this[_0x241f91(0x43b)]&&_0xfb99f5['id']===_0x8e9493['id']&&_0xfb99f5['params'][_0x241f91(0x488)]===this[_0x241f91(0x1dc)]){const _0x37067b=_0xfb99f5['params'];this['_updateLocalCursor'](_0x37067b[_0x241f91(0x465)],_0x37067b[_0x241f91(0x450)][0x0]);}})));}[_0x3d192e(0x2d3)](_0x277dce){const _0x5401c4=_0x3d192e;var _0xd968c8,_0x16cc99;const {memberID:_0x1d9f3c,selection:_0x44bbb0}=_0x277dce[_0x5401c4(0x383)],{sheetName:_0x1799f2,range:_0x396cce}=_0x5ea48b(_0x44bbb0),_0x4589c8={'name':(_0x16cc99=(_0xd968c8=this[_0x5401c4(0x4d5)][_0x5401c4(0x37d)](this['unitID'],_0x1d9f3c))==null?void 0x0:_0xd968c8['name'])!=null?_0x16cc99:_0x5401c4(0x1f8),'range':this[_0x5401c4(0x264)](_0x1799f2,_0x396cce),'sheetID':_0x1799f2,'color':this[_0x5401c4(0x2fe)][_0x5401c4(0x424)](_0x1d9f3c),'selection':_0x44bbb0},_0x100d26=this['cursorInfo'];_0x100d26[_0x5401c4(0x467)](_0x1d9f3c,_0x4589c8),this[_0x5401c4(0x4c4)]['next'](_0x100d26);}['_onCursorDelete'](_0x3e5dd1){const _0x673e57=_0x3d192e,{memberID:_0x2c7b2a}=_0x3e5dd1['data'],_0x3eb079=this['cursorInfo'];_0x3eb079[_0x673e57(0x2cc)](_0x2c7b2a),this[_0x673e57(0x4c4)][_0x673e57(0x4bc)](_0x3eb079);}[_0x3d192e(0x264)](_0x59de34,_0x2fa415){const _0x4fd493=_0x3d192e;var _0x16dae5,_0xfd6ff7;const _0x13e7ea=(_0xfd6ff7=(_0x16dae5=this[_0x4fd493(0x43d)][_0x4fd493(0x1de)](this[_0x4fd493(0x1dc)]))==null?void 0x0:_0x16dae5['getSheetBySheetId'](_0x59de34))==null?void 0x0:_0xfd6ff7[_0x4fd493(0x40f)]();return(_0x13e7ea==null?void 0x0:_0x13e7ea[_0x4fd493(0x2fd)](_0x4cf33f=>_0x44b24e[_0x4fd493(0x564)](_0x4cf33f,_0x2fa415)))||_0x2fa415;}[_0x3d192e(0x28b)](){const _0x47495a=_0x3d192e,_0x3d0ee5=new _0x53f1da(),_0x4b7580=Uo(),_0x88db98=()=>{const _0x9ca968=_0x1083;_0x3d0ee5[_0x9ca968(0x228)]();const _0x40bf54=(_0x3afffc,_0x501e36,_0x530a9c,_0x1cf553)=>{const _0x2f42a8=_0x9ca968;let _0x2d857f=[];switch(_0x3afffc['id']){case _0x572e94[_0x2f42a8(0x396)]:{_0x2d857f=_0x262d03(_0x3afffc,_0x1cf553);break;}case _0x572e94[_0x2f42a8(0x3fc)]:{_0x2d857f=_0x5f5d6d(_0x3afffc,_0x1cf553);break;}case _0x572e94[_0x2f42a8(0x4a4)]:{_0x2d857f=_0x489ef0(_0x3afffc,_0x1cf553);break;}case _0x572e94[_0x2f42a8(0x2d6)]:{_0x2d857f=_0x557413(_0x3afffc,_0x1cf553);break;}case _0x572e94[_0x2f42a8(0x308)]:{_0x2d857f=_0x461d14(_0x3afffc,_0x1cf553);break;}case _0x572e94['InsertRowCommandId']:{_0x2d857f=_0x404ede(_0x3afffc,_0x1cf553);break;}case _0x572e94[_0x2f42a8(0x51b)]:{_0x2d857f=_0x45208f(_0x3afffc,_0x1cf553);break;}case _0x572e94[_0x2f42a8(0x3da)]:{_0x2d857f=_0x5c63a8(_0x3afffc,_0x1cf553);break;}case _0x572e94[_0x2f42a8(0x30f)]:{_0x2d857f=_0x4cae9e(_0x3afffc,_0x1cf553);break;}}const _0x282904=_0x22fc09(_0x2d857f,_0x1cf553),_0x2284d5=this[_0x2f42a8(0x43e)][_0x2f42a8(0x47d)](_0x501e36);if(_0x2284d5&&_0x282904){const _0xaba240={..._0x2284d5,'range':_0x282904};this[_0x2f42a8(0x43e)][_0x2f42a8(0x467)](_0x501e36,_0xaba240),_0x4b7580(()=>{const _0x5cbcef=_0x2f42a8,_0x17d3c2=this[_0x5cbcef(0x439)][_0x5cbcef(0x2a0)](_0x282904,_0x4b290f=>(_0x17d3c2['dispose'](),_0x40bf54(_0x4b290f,_0x501e36,_0x530a9c,_0x282904)));_0x3d0ee5['add'](_0x17d3c2);});}return{'redos':[],'undos':[]};};this[_0x9ca968(0x43e)]['forEach']((_0x4e49f2,_0x2b0765)=>{const _0x2acd69=_0x9ca968,{range:_0x3b17cb,sheetID:_0x431af4}=_0x4e49f2,_0x7625a5=this[_0x2acd69(0x439)][_0x2acd69(0x2a0)](_0x3b17cb,_0x2fdbc7=>(_0x7625a5[_0x2acd69(0x228)](),_0x40bf54(_0x2fdbc7,_0x2b0765,_0x431af4,_0x3b17cb)));_0x3d0ee5['add'](_0x7625a5);});};this[_0x47495a(0x2f7)](_0x30963a(this['_cursorInfo$'][_0x47495a(0x2ce)](()=>{_0x88db98();})));}['_toggleOnline'](){const _0x8380ad=_0x3d192e;var _0x501002,_0x23a326;if(this[_0x8380ad(0x43b)]=!0x0,((_0x501002=this[_0x8380ad(0x43d)][_0x8380ad(0x29a)]())==null?void 0x0:_0x501002['getUnitId']())!==this[_0x8380ad(0x1dc)])return;const _0x42affc=(_0x23a326=this[_0x8380ad(0x329)][_0x8380ad(0x47d)](_0x3c9037)[_0x8380ad(0x552)]())==null?void 0x0:_0x23a326[0x0],_0x3b1e96=this[_0x8380ad(0x43d)][_0x8380ad(0x31b)](_0x1c25e8[_0x8380ad(0x26f)])[_0x8380ad(0x3f6)]();_0x42affc&&_0x3b1e96&&this[_0x8380ad(0x371)](_0x3b1e96[_0x8380ad(0x1a9)](),_0x42affc);}[_0x3d192e(0x3ae)](){const _0x27fff9=_0x3d192e;this[_0x27fff9(0x43b)]=!0x1;}};rs=wo([Be(0x2,_0x435342(_0x5a18dc)),Be(0x3,_0x435342(bs)),Be(0x4,_0x435342(Ne)),Be(0x5,_0x405019),Be(0x6,_0x4d4125),Be(0x7,_0x435342(_0x9b446f))],rs);var No=Object[_0x3d192e(0x494)],Ao=Object['getOwnPropertyDescriptor'],Mo=(_0x58c449,_0x55fde5,_0x5d566d,_0x3c9a09)=>{for(var _0x4ff586=_0x3c9a09>0x1?void 0x0:_0x3c9a09?Ao(_0x55fde5,_0x5d566d):_0x55fde5,_0x501b60=_0x58c449['length']-0x1,_0x347281;_0x501b60>=0x0;_0x501b60--)(_0x347281=_0x58c449[_0x501b60])&&(_0x4ff586=(_0x3c9a09?_0x347281(_0x55fde5,_0x5d566d,_0x4ff586):_0x347281(_0x4ff586))||_0x4ff586);return _0x3c9a09&&_0x4ff586&&No(_0x55fde5,_0x5d566d,_0x4ff586),_0x4ff586;},$t=(_0x2b33c2,_0x1d84a5)=>(_0x5db262,_0x4b4ee4)=>_0x1d84a5(_0x5db262,_0x4b4ee4,_0x2b33c2);let Ve=class extends _0x10cb26{constructor(_0x5cbec2,_0x4271d9,_0x437c65){const _0x2273fb=_0x3d192e;super(),g(this,_0x2273fb(0x190),new Map()),g(this,_0x2273fb(0x2dc),new _0x276b38()),(this[_0x2273fb(0x43d)]=_0x5cbec2,this[_0x2273fb(0x329)]=_0x4271d9,this[_0x2273fb(0x4e3)]=_0x437c65,this['_init']());}[_0x3d192e(0x228)](){const _0x27d50f=_0x3d192e;super[_0x27d50f(0x228)](),this[_0x27d50f(0x2dc)][_0x27d50f(0x348)](),this[_0x27d50f(0x190)]['forEach'](_0x21a4b4=>_0x21a4b4[_0x27d50f(0x228)]());}['getCollabCursors$'](_0x4e0475){const _0x4f7fc5=_0x3d192e;return this[_0x4f7fc5(0x190)]['has'](_0x4e0475)?this['_entities'][_0x4f7fc5(0x47d)](_0x4e0475)[_0x4f7fc5(0x1b0)]:this[_0x4f7fc5(0x2dc)]['pipe'](_0x1e3ea8(_0x4168a0=>_0x4168a0[_0x4f7fc5(0x1dc)]===_0x4e0475),_0x149f7d(_0x5d6247=>_0x5d6247[_0x4f7fc5(0x1b0)]));}[_0x3d192e(0x20a)](){const _0x1609b9=_0x3d192e;this[_0x1609b9(0x43d)][_0x1609b9(0x551)](_0x1c25e8[_0x1609b9(0x26f)])[_0x1609b9(0x407)](_0xe1e697(this['dispose$']))[_0x1609b9(0x2ce)](async _0x2c5da8=>{const _0x2f504e=_0x1609b9,_0x359936=_0x2c5da8[_0x2f504e(0x2c1)](),_0xe775ba=await this['_startSheetCollabCursor'](_0x359936);this['_entityInit$'][_0x2f504e(0x4bc)](_0xe775ba),this['_entities']['set'](_0x359936,_0xe775ba);}),this[_0x1609b9(0x43d)][_0x1609b9(0x551)](_0x1c25e8[_0x1609b9(0x52f)])[_0x1609b9(0x407)](_0xe1e697(this[_0x1609b9(0x3e1)]))[_0x1609b9(0x407)](_0x1e3ea8(_0x86e6fc=>!_0x86e6fc['getUnitId']()[_0x1609b9(0x550)]('__')))[_0x1609b9(0x2ce)](async _0x1a4fc0=>{const _0x1910d3=_0x1609b9,_0x925906=_0x1a4fc0[_0x1910d3(0x2c1)](),_0x739366=await this[_0x1910d3(0x207)](_0x925906);this[_0x1910d3(0x2dc)][_0x1910d3(0x4bc)](_0x739366),this['_entities'][_0x1910d3(0x467)](_0x925906,_0x739366);}),_0x2eb1f5(this[_0x1609b9(0x43d)][_0x1609b9(0x2de)](_0x1c25e8[_0x1609b9(0x52f)]),this['_univerInstanceService'][_0x1609b9(0x2de)](_0x1c25e8['UNIVER_SHEET']))[_0x1609b9(0x407)](_0xe1e697(this[_0x1609b9(0x3e1)]))[_0x1609b9(0x2ce)](_0x3546ef=>{const _0x243010=_0x1609b9,_0x287687=_0x3546ef['getUnitId'](),_0x5de1de=this['_entities'][_0x243010(0x47d)](_0x287687);_0x5de1de&&(_0x5de1de[_0x243010(0x228)](),this[_0x243010(0x190)][_0x243010(0x2cc)](_0x287687));});}async[_0x3d192e(0x4fb)](_0x356a00){const _0x5bf7b7=_0x3d192e,_0x4aee0b=await this[_0x5bf7b7(0x4e3)][_0x5bf7b7(0x51f)](_0x356a00),_0xa2224a=this[_0x5bf7b7(0x329)]['createInstance'](rs,_0x356a00,_0x4aee0b);return _0xa2224a[_0x5bf7b7(0x46a)](),_0xa2224a;}async[_0x3d192e(0x207)](_0x303172){const _0x31ec10=_0x3d192e,_0x3cd1ac=await this[_0x31ec10(0x4e3)]['requireSession'](_0x303172),_0x3f6045=this[_0x31ec10(0x329)]['createInstance'](ns,_0x303172,_0x3cd1ac);return _0x3f6045['init'](),_0x3f6045;}};Ve=Mo([$t(0x0,_0x405019),$t(0x1,_0x435342(_0x5a18dc)),$t(0x2,_0x435342(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0xcd183a,_0x233018){const _0x101859=_0x3d192e;let {radius:_0x3574fa,width:_0x15564b,height:_0x57f066}=_0x233018;_0x3574fa=_0x3574fa!=null?_0x3574fa:0x0,_0x15564b=_0x15564b!=null?_0x15564b:0x1e,_0x57f066=_0x57f066!=null?_0x57f066:0x1e;let _0x2a53a6=0x0,_0x42b91c=0x0,_0x5b0d34=0x0;_0x2a53a6=_0x42b91c=_0x5b0d34=Math[_0x101859(0x354)](_0x3574fa,_0x15564b/0x2,_0x57f066/0x2),_0xcd183a['beginPath'](),_0xcd183a['moveTo'](_0x2a53a6,0x0),_0xcd183a[_0x101859(0x216)](_0x15564b-_0x42b91c,0x0),_0xcd183a[_0x101859(0x1a7)](_0x15564b-_0x42b91c,_0x42b91c,_0x42b91c,Math['PI']*0x3/0x2,0x0,!0x1),_0xcd183a['lineTo'](_0x15564b,_0x57f066-_0x5b0d34),_0xcd183a[_0x101859(0x1a7)](_0x15564b-_0x5b0d34,_0x57f066-_0x5b0d34,_0x5b0d34,0x0,Math['PI']/0x2,!0x1),_0xcd183a[_0x101859(0x216)](0x0,_0x57f066),_0xcd183a[_0x101859(0x216)](0x0,_0x2a53a6),_0xcd183a[_0x101859(0x1a7)](_0x2a53a6,_0x2a53a6,_0x2a53a6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xcd183a[_0x101859(0x352)](),_0x233018[_0x101859(0x57d)]&&(_0xcd183a[_0x101859(0x217)](),_0xcd183a[_0x101859(0x4bb)]=_0x233018[_0x101859(0x57d)],_0x233018[_0x101859(0x2b2)]==='evenodd'?_0xcd183a['fill'](_0x101859(0x585)):_0xcd183a['fill'](),_0xcd183a[_0x101859(0x3dc)]());}class Ot extends _0x1610d0{constructor(_0xc96769,_0x1443fb){const _0x2d73cf=_0x3d192e;super(_0xc96769,_0x1443fb),g(this,_0x2d73cf(0x1e1)),g(this,_0x2d73cf(0x1f4)),(this[_0x2d73cf(0x1e1)]=_0x1443fb==null?void 0x0:_0x1443fb[_0x2d73cf(0x1e1)],this['text']=_0x1443fb==null?void 0x0:_0x1443fb[_0x2d73cf(0x1f4)]);}static[_0x3d192e(0x2c6)](_0x35d845,_0x1c5f41){const _0x27752b=_0x3d192e,{text:_0x3ac087,color:_0x4cde6e}=_0x1c5f41;_0x35d845[_0x27752b(0x217)](),_0x35d845['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x55dc5b=_0x35d845[_0x27752b(0x35f)](_0x3ac087)[_0x27752b(0x1c6)],_0x11d29e=Math[_0x27752b(0x354)](_0x55dc5b+0x2*Ht,Ys);Lo(_0x35d845,{'height':nt,'radius':0x4,'width':_0x11d29e,'fill':_0x4cde6e,'evented':!0x1}),_0x35d845['fillStyle']='#FFF';const _0x13e086=Ht,_0x31a960=nt-xo,_0x3b582a=Ys-0x2*Ht;if(_0x55dc5b>_0x3b582a){let _0x3ba570='',_0x3aaf0c=0x0;for(const _0x274627 of _0x3ac087){const _0x132b82=_0x35d845[_0x27752b(0x35f)](_0x274627)[_0x27752b(0x1c6)];if(_0x3aaf0c+_0x132b82<=_0x3b582a-_0x35d845['measureText']('...')[_0x27752b(0x1c6)])_0x3ba570+=_0x274627,_0x3aaf0c+=_0x132b82;else{_0x3ba570+=_0x27752b(0x541);break;}}_0x35d845[_0x27752b(0x1a3)](_0x3ba570,_0x13e086,_0x31a960);}else _0x35d845[_0x27752b(0x1a3)](_0x3ac087,_0x13e086,_0x31a960);_0x35d845['restore']();}[_0x3d192e(0x499)](_0x117dbf){const _0x1eedfc=_0x3d192e;Ot[_0x1eedfc(0x2c6)](_0x117dbf,this);}}const jt=_0x3d192e(0x517),$o=_0x3d192e(0x306),Ho=_0x3d192e(0x529),Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko='rgba(255,\x20255,\x20255,\x200.01)';class Ks{constructor(_0x22adac,_0x53e097,_0x2b4159,_0x4b6997){const _0x9b4f41=_0x3d192e;g(this,_0x9b4f41(0x311),[]),g(this,_0x9b4f41(0x50d),null),g(this,_0x9b4f41(0x2c9),null),g(this,_0x9b4f41(0x372),null),g(this,'_hideTimer',null),g(this,_0x9b4f41(0x1a8),null),(this[_0x9b4f41(0x34a)]=_0x22adac,this[_0x9b4f41(0x1e8)]=_0x53e097,this['_docSkeleton']=_0x2b4159,this[_0x9b4f41(0x4e8)]=_0x4b6997,this[_0x9b4f41(0x2f5)]());}set['_hover'](_0x42a0e9){const _0x555b16=_0x3d192e;_0x42a0e9?(this[_0x555b16(0x372)]&&this[_0x555b16(0x372)][_0x555b16(0x318)](),this[_0x555b16(0x2c9)]&&this[_0x555b16(0x2c9)][_0x555b16(0x4b4)]()):(this[_0x555b16(0x372)]&&this['_anchorDot']['show'](),this[_0x555b16(0x2c9)]&&this[_0x555b16(0x2c9)]['hide']());}[_0x3d192e(0x228)](){const _0x45d395=_0x3d192e;for(const _0x316add of this[_0x45d395(0x311)])_0x316add[_0x45d395(0x228)]();this[_0x45d395(0x2c9)]&&this[_0x45d395(0x2c9)][_0x45d395(0x228)](),this[_0x45d395(0x372)]&&this[_0x45d395(0x372)]['dispose'](),this[_0x45d395(0x50d)]&&this[_0x45d395(0x50d)][_0x45d395(0x228)](),this[_0x45d395(0x1a8)]&&this[_0x45d395(0x1a8)]();}[_0x3d192e(0x2f5)](){const _0x59b25d=_0x3d192e;var _0x4b879d;const {_docSkeleton:_0x1c73f3,_document:_0x22e078}=this,{color:_0x248dbb,name:_0x48be87,ranges:_0x1a77ce}=this[_0x59b25d(0x34a)],_0x22e150=_0x22e078[_0x59b25d(0x1d3)](),{docsLeft:_0x4b9f95,docsTop:_0x555a6c}=_0x22e150,_0x40d45b=new _0x20e65b(_0x22e150,_0x1c73f3);for(const {startOffset:_0x4f5389,endOffset:_0x46f886,rangeType:_0x1296a6,segmentId:_0x2ac671,segmentPage:_0x3e396a,collapsed:_0x2767ca,isActive:_0x425c76}of _0x1a77ce){const _0x4b8802=_0x1c73f3['findNodePositionByCharIndex'](_0x4f5389,!0x0,_0x2ac671,_0x3e396a);let _0x5929bf=_0x1c73f3['findNodePositionByCharIndex'](_0x46f886,!0x0,_0x2ac671,_0x3e396a);if(_0x5929bf==null&&(_0x5929bf=_0x1c73f3['findNodePositionByCharIndex'](_0x46f886-0x1,!0x1,_0x2ac671,_0x3e396a)),_0x425c76){const {contentBoxPointGroup:_0x379742}=_0x40d45b[_0x59b25d(0x569)](_0x5929bf,_0x5929bf);if(_0x379742[_0x59b25d(0x4e9)]===0x0)continue;this[_0x59b25d(0x53b)](_0x248dbb,_0x379742,_0x4b9f95,_0x555a6c,_0x48be87),this[_0x59b25d(0x1a8)]=this[_0x59b25d(0x386)]();}if(!_0x2767ca&&_0x4b8802&&_0x5929bf){if(_0x1296a6===_0x30543d[_0x59b25d(0x1d1)]){const _0x5c610d=new _0x227dda(_0x22e150,_0x1c73f3),{pointGroup:_0x2ff9eb}=(_0x4b879d=_0x5c610d['getRangePointData'](_0x4b8802,_0x5929bf))!=null?_0x4b879d:{};if(_0x2ff9eb==null||_0x2ff9eb['length']===0x0)continue;this[_0x59b25d(0x449)](_0x248dbb,_0x2ff9eb,_0x4b9f95,_0x555a6c);}else{const {borderBoxPointGroup:_0x542262}=_0x40d45b['getRangePointData'](_0x4b8802,_0x5929bf);if(_0x542262[_0x59b25d(0x4e9)]===0x0)continue;this[_0x59b25d(0x48f)](_0x248dbb,_0x542262,_0x4b9f95,_0x555a6c);}}}}[_0x3d192e(0x53b)](_0x3912b2,_0x1c2688,_0x1757de,_0x43a679,_0x375001){const _0x3776ce=_0x3d192e,_0x473c05=this[_0x3776ce(0x553)](_0x1c2688),{left:_0x124825,top:_0x4cc7a2,height:_0x58ccbb}=_0x473c05,_0x3cd719=this[_0x3776ce(0x3ec)](),_0x4d1922=Bo/_0x3cd719,_0x3e471f=new _0x242611(jt+_0x28e921['generateRandomId'](Je),{'left':_0x124825+_0x1757de-_0x4d1922,'top':_0x4cc7a2+_0x43a679,'height':_0x58ccbb,'width':jo,'fill':_0x3912b2||_0x12cdbd(_0x34dcb6[_0x3776ce(0x300)],0x0),'strokeWidth':_0x4d1922,'stroke':ko,'evented':!0x0});this[_0x3776ce(0x50d)]=_0x3e471f,this[_0x3776ce(0x1e8)]['addObject'](_0x3e471f,_0x397a80);const _0x474016=new _0x242611(jt+_0x28e921['generateRandomId'](Je),{'left':_0x124825+_0x1757de-_0x4d1922,'top':_0x4cc7a2+_0x43a679-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x3912b2||_0x12cdbd(_0x34dcb6['black'],0x0),'strokeWidth':0x0,'stroke':_0x3912b2||_0x12cdbd(_0x34dcb6['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x474016,this[_0x3776ce(0x1e8)][_0x3776ce(0x252)](_0x474016,_0x397a80);const _0x24a1da=new Ot(jt+_0x28e921['generateRandomId'](Je),{'left':_0x124825+_0x1757de-_0x4d1922,'top':_0x4cc7a2+_0x43a679-nt,'text':_0x375001,'color':_0x3912b2});this['_textBubble']=_0x24a1da,this[_0x3776ce(0x1e8)]['addObject'](_0x24a1da,_0x397a80),this[_0x3776ce(0x421)]=!0x1;}[_0x3d192e(0x386)](){const _0x19da7a=_0x3d192e,_0x456593=this['_anchor'][_0x19da7a(0x446)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x42f468=this[_0x19da7a(0x50d)][_0x19da7a(0x2e5)]['subscribeEvent'](()=>{const _0x50f594=_0x19da7a;this[_0x50f594(0x44b)]&&clearTimeout(this[_0x50f594(0x44b)]),this['_hideTimer']=setTimeout(()=>{const _0x5318c0=_0x50f594;this[_0x5318c0(0x421)]=!0x1;},0x7d0);});return()=>{const _0x10dba9=_0x19da7a;_0x456593[_0x10dba9(0x290)](),_0x42f468[_0x10dba9(0x290)]();};}['_drawTextRange'](_0x297182,_0x437c63,_0x1accc5,_0x657448){const _0x25bbe9=_0x3d192e,_0x97cf86=new _0x3dadb0(_0x297182)['setAlpha'](0.2)['toRgbString'](),_0x4e94a9=new _0x2caf0e($o+_0x28e921[_0x25bbe9(0x193)](Je),{'pointsGroup':_0x437c63,'fill':_0x97cf86||_0x12cdbd(_0x34dcb6[_0x25bbe9(0x300)],0.2),'left':_0x1accc5,'top':_0x657448,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x25bbe9(0x311)]['push'](_0x4e94a9),this[_0x25bbe9(0x1e8)][_0x25bbe9(0x252)](_0x4e94a9,_0x397a80);}[_0x3d192e(0x449)](_0x1dded6,_0x1623ea,_0x21dc85,_0x4222db){const _0x291a69=_0x3d192e,_0x52ae5e=new _0x3dadb0(_0x1dded6)[_0x291a69(0x4c6)](0.2)['toRgbString'](),_0xb22fa6=new _0x2caf0e(Ho+_0x28e921[_0x291a69(0x193)](Je),{'pointsGroup':_0x1623ea,'fill':_0x52ae5e||_0x12cdbd(_0x34dcb6[_0x291a69(0x300)],0.2),'left':_0x21dc85,'top':_0x4222db,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x291a69(0x311)][_0x291a69(0x24b)](_0xb22fa6),this[_0x291a69(0x1e8)][_0x291a69(0x252)](_0xb22fa6,_0x397a80);}[_0x3d192e(0x553)](_0xf30b9f){const _0xca004a=_0xf30b9f[0x0],_0x57b43e=_0xca004a[0x0],_0x452f10=_0xca004a[0x2],{x:_0x30505c,y:_0x2e1497}=_0x57b43e,{x:_0x448b2e,y:_0x298114}=_0x452f10;return{'left':_0x30505c,'top':_0x2e1497,'width':_0x448b2e-_0x30505c,'height':_0x298114-_0x2e1497};}[_0x3d192e(0x3ec)](){const _0x4a190a=_0x3d192e,{scaleX:_0x2b50d9,scaleY:_0x3ad0e2}=this[_0x4a190a(0x1e8)][_0x4a190a(0x238)]();return Math[_0x4a190a(0x4b5)](_0x2b50d9,_0x3ad0e2);}}var Wo=Object['defineProperty'],Fo=Object[_0x3d192e(0x3e5)],Vo=(_0x18e130,_0x599e64,_0x337e8f,_0x499fe9)=>{const _0x29095e=_0x3d192e;for(var _0x362022=_0x499fe9>0x1?void 0x0:_0x499fe9?Fo(_0x599e64,_0x337e8f):_0x599e64,_0x29cd38=_0x18e130[_0x29095e(0x4e9)]-0x1,_0xe536c2;_0x29cd38>=0x0;_0x29cd38--)(_0xe536c2=_0x18e130[_0x29cd38])&&(_0x362022=(_0x499fe9?_0xe536c2(_0x599e64,_0x337e8f,_0x362022):_0xe536c2(_0x362022))||_0x362022);return _0x499fe9&&_0x362022&&Wo(_0x599e64,_0x337e8f,_0x362022),_0x362022;},ht=(_0x5ac29a,_0x53f4bb)=>(_0x328a47,_0x4ef730)=>_0x53f4bb(_0x328a47,_0x4ef730,_0x5ac29a);let os=class extends _0x10cb26{constructor(_0x3e3681,_0x2544c4,_0x515ee3,_0x375245,_0x2161e9){const _0x5391ee=_0x3d192e;super(),g(this,_0x5391ee(0x25e),[]),g(this,_0x5391ee(0x320),[]),(this[_0x5391ee(0x4d4)]=_0x3e3681,this['_docSkeletonManagerService']=_0x2544c4,this[_0x5391ee(0x4e4)]=_0x515ee3,this[_0x5391ee(0x2d5)]=_0x375245,this[_0x5391ee(0x4ef)]=_0x2161e9,this[_0x5391ee(0x20a)]());}[_0x3d192e(0x20a)](){const _0x3332a8=_0x3d192e,_0x2bf230=this[_0x3332a8(0x4d4)][_0x3332a8(0x488)],_0x4dc907=this[_0x3332a8(0x241)];this[_0x3332a8(0x2f7)](_0x5e82ee([this[_0x3332a8(0x4e4)]['getCollabCursors$'](_0x2bf230),this['_themeService']['currentTheme$']])[_0x3332a8(0x407)](_0x5050a4(([_0x2e3839,_0x32fc36])=>({'skeleton':_0x4dc907[_0x3332a8(0x38b)](),'cursors':[..._0x2e3839[_0x3332a8(0x548)]()]['flatMap'](_0x18d849=>({..._0x18d849,'color':_0x32fc36[_0x18d849['color']]}))})))[_0x3332a8(0x2ce)](_0x103a9d=>{const _0x3e46ba=_0x3332a8;if(this[_0x3e46ba(0x1c4)](),_0x103a9d){const {skeleton:_0xaf90b8,cursors:_0x3c1f9f}=_0x103a9d;this[_0x3e46ba(0x48c)](_0xaf90b8,_0x3c1f9f);}})),this['_initResize'](),this[_0x3332a8(0x4a0)]();}[_0x3d192e(0x48c)](_0x183fb8,_0x587f52){const _0x2e404a=_0x3d192e,{scene:_0x40a9a9,mainComponent:_0x19d5b8}=this[_0x2e404a(0x4d4)],_0x39d81d=_0x587f52[_0x2e404a(0x1fc)](_0x40a5ac=>new Ks(_0x40a5ac,_0x40a9a9,_0x183fb8,_0x19d5b8));this[_0x2e404a(0x25e)]=_0x39d81d,this['_cursors']=_0x587f52;}[_0x3d192e(0x546)](){const _0x32714b=_0x3d192e;this[_0x32714b(0x1c4)]();const {scene:_0x53fc24,mainComponent:_0x309e7d}=this['_context'],_0x47cef3=this[_0x32714b(0x241)][_0x32714b(0x38b)](),_0x53c0a1=this[_0x32714b(0x320)][_0x32714b(0x1fc)](_0x57b81e=>new Ks(_0x57b81e,_0x53fc24,_0x47cef3,_0x309e7d));this[_0x32714b(0x25e)]=_0x53c0a1;}[_0x3d192e(0x1c4)](){const _0x31b303=_0x3d192e;this[_0x31b303(0x25e)]['forEach'](_0x5b8d08=>_0x5b8d08[_0x31b303(0x228)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x156bbc=_0x3d192e,_0x18a609=[_0x294a0c['id']];this[_0x156bbc(0x2f7)](this['_commandService'][_0x156bbc(0x3a3)](_0x51a3b8=>{const _0x204b7c=_0x156bbc;_0x18a609[_0x204b7c(0x508)](_0x51a3b8['id'])&&_0x51a3b8[_0x204b7c(0x59e)]['unitId']===this[_0x204b7c(0x4d4)][_0x204b7c(0x488)]&&this[_0x204b7c(0x546)]();}));}[_0x3d192e(0x2d7)](){const _0x4a0860=_0x3d192e;this[_0x4a0860(0x2f7)](_0xf30ad2(this[_0x4a0860(0x4d4)][_0x4a0860(0x4c9)][_0x4a0860(0x452)])[_0x4a0860(0x407)](_0x4f86ac(_0x1927cd=>_0x1927cd[_0x4a0860(0x34e)]===_0x10d624[_0x4a0860(0x4e2)]),_0x477e40(0x10))[_0x4a0860(0x2ce)](()=>{const _0x38e682=_0x4a0860;this[_0x38e682(0x546)]();}));}};os=Vo([ht(0x1,_0x435342(_0x3ffb40)),ht(0x2,_0x435342(Ve)),ht(0x3,_0x4d4125),ht(0x4,_0x435342(_0x462884))],os);const Go=0x1,Yo=1.5;class Ko extends _0x1610d0{constructor(_0x288168,_0x4be178){const _0x18f662=_0x3d192e;super(_0x288168,_0x4be178),g(this,_0x18f662(0x1a5)),g(this,_0x18f662(0x2fb),!0x1),g(this,'_range'),g(this,_0x18f662(0x317),''),g(this,_0x18f662(0x576),_0x18f662(0x522)),g(this,'_backgroundColor'),(_0x4be178&&this[_0x18f662(0x52d)](_0x4be178),this[_0x18f662(0x446)][_0x18f662(0x55b)](()=>this[_0x18f662(0x52d)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x18f662(0x52d)]({'hovered':!0x1})));}['setShapeProps'](_0x560e50){const _0x17f526=_0x3d192e;var _0x258b5c,_0x578799,_0x51783e,_0x26fa0e,_0x4f1692,_0x4b1ac3;this[_0x17f526(0x1a5)]=(_0x258b5c=_0x560e50[_0x17f526(0x1e1)])!=null?_0x258b5c:this['_color'],this[_0x17f526(0x2fb)]=(_0x578799=_0x560e50[_0x17f526(0x1fe)])!=null?_0x578799:this['_hovered'],this['_range']=(_0x51783e=_0x560e50[_0x17f526(0x2d4)])!=null?_0x51783e:this[_0x17f526(0x397)],this[_0x17f526(0x317)]=(_0x26fa0e=_0x560e50[_0x17f526(0x2ef)])!=null?_0x26fa0e:this[_0x17f526(0x317)],this['_labelPosition']=(_0x4f1692=_0x560e50[_0x17f526(0x3db)])!=null?_0x4f1692:this[_0x17f526(0x576)],this['_backgroundColor']=(_0x4b1ac3=_0x560e50[_0x17f526(0x3aa)])!=null?_0x4b1ac3:this['_backgroundColor'],this[_0x17f526(0x2e6)]({'width':_0x560e50[_0x17f526(0x1c6)],'height':_0x560e50['height']});}[_0x3d192e(0x3c1)](_0x304659){const _0x58a21a=_0x3d192e,{row:_0x5c064d,column:_0x267554}=_0x304659;if(_0x5c064d>=this[_0x58a21a(0x397)][_0x58a21a(0x485)]&&_0x5c064d<=this['_range'][_0x58a21a(0x3d4)]&&_0x267554>=this[_0x58a21a(0x397)][_0x58a21a(0x340)]&&_0x267554<=this['_range'][_0x58a21a(0x578)]){this[_0x58a21a(0x52d)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x3d192e(0x2d2)](_0x803c06){return!0x1;}['_draw'](_0x2812a2){const _0x11c09c=_0x3d192e;_0x242611[_0x11c09c(0x2c6)](_0x2812a2,{'width':this['width'],'height':this['height'],'strokeWidth':Yo,'stroke':this[_0x11c09c(0x1a5)],'evented':!0x1,'fill':this[_0x11c09c(0x1ac)]}),this[_0x11c09c(0x2fb)]&&(_0x2812a2['save'](),_0x2812a2['transform'](0x1,0x0,0x0,0x1,this[_0x11c09c(0x1c6)],this[_0x11c09c(0x576)]===_0x11c09c(0x3ba)?0x0:-nt),Ot[_0x11c09c(0x2c6)](_0x2812a2,{'text':this['_name'],'color':this[_0x11c09c(0x1a5)]}),_0x2812a2[_0x11c09c(0x3dc)]());}}var zo=Object[_0x3d192e(0x494)],qo=Object[_0x3d192e(0x3e5)],Xo=(_0xaa9838,_0x5e6920,_0x5b41a5,_0x2c2c49)=>{const _0x34731e=_0x3d192e;for(var _0xe2cf09=_0x2c2c49>0x1?void 0x0:_0x2c2c49?qo(_0x5e6920,_0x5b41a5):_0x5e6920,_0x5cc29e=_0xaa9838[_0x34731e(0x4e9)]-0x1,_0x4a7f11;_0x5cc29e>=0x0;_0x5cc29e--)(_0x4a7f11=_0xaa9838[_0x5cc29e])&&(_0xe2cf09=(_0x2c2c49?_0x4a7f11(_0x5e6920,_0x5b41a5,_0xe2cf09):_0x4a7f11(_0xe2cf09))||_0xe2cf09);return _0x2c2c49&&_0xe2cf09&&zo(_0x5e6920,_0x5b41a5,_0xe2cf09),_0xe2cf09;},kt=(_0x219d69,_0x5af47d)=>(_0x277a41,_0x409161)=>_0x5af47d(_0x277a41,_0x409161,_0x219d69);const Jo=0x1389;let as=class extends _0x10cb26{constructor(_0x3f15dd,_0x15a69e,_0x5a0965,_0x2c9fae){const _0x5c7389=_0x3d192e;super(),g(this,'_cursors',new Set()),g(this,_0x5c7389(0x24f),null),(this[_0x5c7389(0x4d4)]=_0x3f15dd,this[_0x5c7389(0x292)]=_0x15a69e,this[_0x5c7389(0x4e4)]=_0x5a0965,this[_0x5c7389(0x4ef)]=_0x2c9fae,this[_0x5c7389(0x20a)]());}['_init'](){const _0x31ed05=_0x3d192e;this['_sheetSkeletonManagerService'][_0x31ed05(0x39c)]['pipe'](_0x4bc87f(this[_0x31ed05(0x3e1)]),_0x4fd761(_0x598626=>{const _0x1e4b96=_0x31ed05;if(_0x598626){const _0x3c91d7=_0x598626[_0x1e4b96(0x4b3)];return _0x5e82ee(this[_0x1e4b96(0x4e4)]['getCollabCursors$'](this[_0x1e4b96(0x4d4)][_0x1e4b96(0x488)]),this[_0x1e4b96(0x4ef)][_0x1e4b96(0x21b)])[_0x1e4b96(0x407)](_0x5050a4(([_0x395ee4,_0x20a74b])=>{const _0x53714e=new Map();return _0x395ee4['forEach']((_0x25b612,_0x238aff)=>{const _0xfd64c0=_0x1083;if(_0x25b612[_0xfd64c0(0x1ad)]===_0x3c91d7){const _0x38efa7={..._0x25b612};_0x38efa7['color']=_0x20a74b[_0x25b612[_0xfd64c0(0x1e1)]],_0x53714e[_0xfd64c0(0x467)](_0x238aff,_0x38efa7);}}),{'skeleton':_0x598626,'cursors':_0x53714e};}));}return _0x20dba1({'skeleton':null,'cursors':new Map()});}))[_0x31ed05(0x2ce)](({skeleton:_0x1e28b6,cursors:_0x10e61b})=>{const _0x407dd5=_0x31ed05;this[_0x407dd5(0x1c4)](),_0x1e28b6&&this['_updateCollabCursors'](_0x1e28b6,_0x10e61b);}),this[_0x31ed05(0x292)][_0x31ed05(0x39c)]['subscribe'](_0x4e1410=>{const _0x197e94=_0x31ed05;if(_0x4e1410==null)return;const {skeleton:_0x2fc4e2}=_0x4e1410,{scene:_0x2bc158}=this[_0x197e94(0x4d4)];_0x2bc158['onPointerMove$']['subscribeEvent'](_0x339b95(_0x414c73=>{const _0x42da20=_0x197e94;var _0x15340d,_0x7f86a2;const {offsetX:_0x25e631,offsetY:_0x42e931}=_0x414c73,{x:_0x71a171,y:_0x2a79ef}=_0x2bc158['getRelativeToViewportCoord'](_0x12b8ac['FromArray']([_0x25e631,_0x42e931])),{scaleX:_0x40d668,scaleY:_0x139cc7}=_0x2bc158['getAncestorScale'](),_0x341197=_0x2bc158['getViewport'](_0x30af2a['VIEW_MAIN']),_0xa73e64=_0x2bc158[_0x42da20(0x392)](_0x12b8ac[_0x42da20(0x4e5)]([_0x71a171,_0x2a79ef]),_0x341197),_0x4ec52c=_0x2fc4e2[_0x42da20(0x557)](_0x25e631,_0x42e931,_0x40d668,_0x139cc7,_0xa73e64);((_0x15340d=this[_0x42da20(0x24f)])==null?void 0x0:_0x15340d[_0x42da20(0x416)])===_0x4ec52c[_0x42da20(0x416)]&&((_0x7f86a2=this['_lastPointer'])==null?void 0x0:_0x7f86a2[_0x42da20(0x457)])===_0x4ec52c[_0x42da20(0x457)]||this[_0x42da20(0x320)][_0x42da20(0x253)](_0x37b874=>{const _0x18a277=_0x42da20;_0x37b874[_0x18a277(0x3c1)](_0x4ec52c);});},0x64));});}[_0x3d192e(0x48c)](_0x1e394f,_0x13cb9c){const _0x5c054e=_0x3d192e;var _0x179bae;const _0x4653d9=(_0x179bae=this[_0x5c054e(0x292)][_0x5c054e(0x3a1)]())==null?void 0x0:_0x179bae[_0x5c054e(0x285)];if(!_0x4653d9)return;const _0x55f318=this[_0x5c054e(0x1a0)]();if(!_0x55f318)return;this[_0x5c054e(0x320)][_0x5c054e(0x253)](_0x4d277f=>{const _0x3d1ce0=_0x5c054e;_0x4d277f[_0x3d1ce0(0x2c7)]();});const {scene:_0x1a6ef8}=_0x55f318,_0x3cecf9=Zo(Array[_0x5c054e(0x47e)](_0x13cb9c[_0x5c054e(0x548)]()))['map'](_0x4426bd=>{const _0x13f667=_0x5c054e,{color:_0x562c25,range:_0x43b6de,name:_0x4ab6d2,selection:_0x2ea4c2,sheetID:_0x35f480}=_0x4426bd,{startColumn:_0x1578a6,startRow:_0x243da8,endColumn:_0x340485,endRow:_0x19a272}=_0x43b6de,_0x514caf=_0x5be27d(_0x243da8,_0x1578a6,_0x1a6ef8,_0x4653d9),_0x347e51=_0x5be27d(_0x19a272,_0x340485,_0x1a6ef8,_0x4653d9),{columnHeaderHeightAndMarginTop:_0x3f2fd1}=_0x4653d9,{startX:_0x1217d5,startY:_0x1c9bc6}=_0x514caf,{endX:_0x143a99,endY:_0x1eb647}=_0x347e51,_0x185352=_0x143a99-_0x1217d5,_0x7e3911=_0x1eb647-_0x1c9bc6,_0x20dac2={'labelPosition':_0x1c9bc6-_0x3f2fd1>=nt?_0x13f667(0x522):_0x13f667(0x3ba),'sheetID':_0x35f480,'range':_0x43b6de,'color':_0x562c25,'name':_0x4ab6d2,'selection':_0x2ea4c2,'left':_0x1217d5,'top':_0x1c9bc6,'width':_0x185352,'height':_0x7e3911,'evented':!0x1,'zIndex':Jo};return new Ko(_0x4ab6d2,_0x20dac2);});_0x1a6ef8[_0x5c054e(0x367)](_0x3cecf9,Go),this['_cursors']=new Set(_0x3cecf9);}[_0x3d192e(0x1c4)](){const _0x2c4bde=_0x3d192e;var _0x21a91b;(_0x21a91b=this[_0x2c4bde(0x320)])==null||_0x21a91b[_0x2c4bde(0x253)](_0x49293c=>_0x49293c[_0x2c4bde(0x228)]());}['_getSheetObject'](){const _0x17a6c9=_0x3d192e;return _0x18abc2(this[_0x17a6c9(0x4d4)][_0x17a6c9(0x4d1)],this[_0x17a6c9(0x4d4)]);}};as=Xo([kt(0x1,_0x435342(_0x3eba81)),kt(0x2,_0x435342(Ve)),kt(0x3,_0x435342(_0x462884))],as);function Zo(_0x57d779){const _0x11bca1=_0x3d192e,_0x8e1ab0=new Map();return _0x57d779[_0x11bca1(0x253)](_0xbd80a6=>{const _0x388100=_0x11bca1;if(_0x8e1ab0[_0x388100(0x476)](_0xbd80a6[_0x388100(0x240)])){const _0x181fab=_0x8e1ab0[_0x388100(0x47d)](_0xbd80a6['selection']);_0x181fab[_0x388100(0x2ef)]+=',\x20'+_0xbd80a6['name'];}else _0x8e1ab0[_0x388100(0x467)](_0xbd80a6[_0x388100(0x240)],_0xbd80a6);}),Array[_0x11bca1(0x47e)](_0x8e1ab0[_0x11bca1(0x548)]());}var ee=function(){const _0x5acf75=_0x3d192e;return ee=Object[_0x5acf75(0x4a7)]||function(_0x1796dc){const _0x2a8a1a=_0x5acf75;for(var _0x302c58,_0x5b0504=0x1,_0x258fc4=arguments['length'];_0x5b0504<_0x258fc4;_0x5b0504++){_0x302c58=arguments[_0x5b0504];for(var _0x394e6a in _0x302c58)Object[_0x2a8a1a(0x1a4)]['hasOwnProperty'][_0x2a8a1a(0x2c2)](_0x302c58,_0x394e6a)&&(_0x1796dc[_0x394e6a]=_0x302c58[_0x394e6a]);}return _0x1796dc;},ee[_0x5acf75(0x539)](this,arguments);},Qo=function(_0x347c5a,_0xd0f3d1){const _0x6d893c=_0x3d192e;var _0x4679a7={};for(var _0x4f214a in _0x347c5a)Object['prototype']['hasOwnProperty']['call'](_0x347c5a,_0x4f214a)&&_0xd0f3d1[_0x6d893c(0x3c8)](_0x4f214a)<0x0&&(_0x4679a7[_0x4f214a]=_0x347c5a[_0x4f214a]);if(_0x347c5a!=null&&typeof Object['getOwnPropertySymbols']==_0x6d893c(0x3c5)){for(var _0x3c74d5=0x0,_0x4f214a=Object['getOwnPropertySymbols'](_0x347c5a);_0x3c74d5<_0x4f214a[_0x6d893c(0x4e9)];_0x3c74d5++)_0xd0f3d1[_0x6d893c(0x3c8)](_0x4f214a[_0x3c74d5])<0x0&&Object[_0x6d893c(0x1a4)][_0x6d893c(0x31f)][_0x6d893c(0x2c2)](_0x347c5a,_0x4f214a[_0x3c74d5])&&(_0x4679a7[_0x4f214a[_0x3c74d5]]=_0x347c5a[_0x4f214a[_0x3c74d5]]);}return _0x4679a7;},Ts=_0x34a220(function(_0x4d28a,_0x2ba879){const _0x86e33e=_0x3d192e;var _0x3aa855=_0x4d28a[_0x86e33e(0x323)],_0x1dacc5=_0x4d28a['id'],_0x2bd1ba=_0x4d28a['className'],_0x6606b9=_0x4d28a[_0x86e33e(0x453)],_0x1e0450=Qo(_0x4d28a,[_0x86e33e(0x323),'id',_0x86e33e(0x382),_0x86e33e(0x453)]),_0x288374=_0x86e33e(0x28d)[_0x86e33e(0x351)](_0x1dacc5,'\x20')[_0x86e33e(0x351)](_0x2bd1ba||'')[_0x86e33e(0x271)](),_0x1c92e2=_0x3348da('_'[_0x86e33e(0x351)](sa()));return Mi(_0x3aa855,''[_0x86e33e(0x351)](_0x1dacc5),{'defIds':_0x3aa855[_0x86e33e(0x542)],'idSuffix':_0x1c92e2[_0x86e33e(0x309)]},ee({'ref':_0x2ba879,'className':_0x288374},_0x1e0450),_0x6606b9);});function Mi(_0x45ecad,_0x5672a3,_0x5481ea,_0xd44c5c,_0x301260){const _0x587846=_0x3d192e;return _0x28fb12(_0x45ecad[_0x587846(0x3ee)],ee(ee({'key':_0x5672a3},ea(_0x45ecad,_0x5481ea,_0x301260)),_0xd44c5c),(ta(_0x45ecad,_0x5481ea)[_0x587846(0x2a1)]||[])[_0x587846(0x1fc)](function(_0x3f912e,_0x3eff77){const _0x55c51c=_0x587846;return Mi(_0x3f912e,''['concat'](_0x5672a3,'-')[_0x55c51c(0x351)](_0x45ecad['tag'],'-')[_0x55c51c(0x351)](_0x3eff77),_0x5481ea,void 0x0,_0x301260);}));}function ea(_0x39829c,_0x3d467b,_0x35c728){const _0x58cbfa=_0x3d192e;var _0x384598=ee({},_0x39829c['attrs']);_0x35c728!=null&&_0x35c728[_0x58cbfa(0x538)]&&_0x384598[_0x58cbfa(0x57d)]===_0x58cbfa(0x538)&&(_0x384598['fill']=_0x35c728['colorChannel1']);var _0x3cbf9b=_0x3d467b['defIds'];return!_0x3cbf9b||_0x3cbf9b['length']===0x0||(_0x39829c[_0x58cbfa(0x3ee)]===_0x58cbfa(0x22b)&&_0x384598['xlink:href']&&(_0x384598['xlink:href']=_0x384598[_0x58cbfa(0x2ad)]+_0x3d467b[_0x58cbfa(0x3bf)]),Object[_0x58cbfa(0x1bf)](_0x384598)[_0x58cbfa(0x253)](function(_0x521d3d){const _0x355a89=_0x58cbfa;var _0x5f5558=_0x521d3d[0x0],_0x23b126=_0x521d3d[0x1];typeof _0x23b126==_0x355a89(0x258)&&(_0x384598[_0x5f5558]=_0x23b126[_0x355a89(0x294)](/url\(#(.*)\)/,_0x355a89(0x35b)[_0x355a89(0x351)](_0x3d467b[_0x355a89(0x3bf)],')')));})),_0x384598;}function ta(_0x285e3e,_0x29329f){const _0x14f930=_0x3d192e;var _0xc7f77c,_0x55dd14=_0x29329f[_0x14f930(0x542)];return!_0x55dd14||_0x55dd14['length']===0x0?_0x285e3e:_0x285e3e[_0x14f930(0x3ee)]===_0x14f930(0x3f7)&&(!((_0xc7f77c=_0x285e3e[_0x14f930(0x2a1)])===null||_0xc7f77c===void 0x0)&&_0xc7f77c[_0x14f930(0x4e9)])?ee(ee({},_0x285e3e),{'children':_0x285e3e[_0x14f930(0x2a1)][_0x14f930(0x1fc)](function(_0x1105ea){const _0x135442=_0x14f930;return typeof _0x1105ea['attrs']['id']==_0x135442(0x258)&&_0x55dd14&&_0x55dd14['indexOf'](_0x1105ea['attrs']['id'])>-0x1?ee(ee({},_0x1105ea),{'attrs':ee(ee({},_0x1105ea[_0x135442(0x565)]),{'id':_0x1105ea[_0x135442(0x565)]['id']+_0x29329f[_0x135442(0x3bf)]})}):_0x1105ea;})}):_0x285e3e;}function sa(){const _0x1ad69b=_0x3d192e;return Math['random']()[_0x1ad69b(0x504)](0x24)['substring'](0x2,0x8);}Ts[_0x3d192e(0x46d)]=_0x3d192e(0x3bc);var ia={'tag':_0x3d192e(0x448),'attrs':{'fill':'none','viewBox':_0x3d192e(0x3ff),'width':_0x3d192e(0x1d2),'height':_0x3d192e(0x1d2)},'children':[{'tag':'g','attrs':{'clipPath':_0x3d192e(0x3b7)},'children':[{'tag':_0x3d192e(0x305),'attrs':{'stroke':_0x3d192e(0x50b),'d':_0x3d192e(0x3fd),'strokeLinecap':_0x3d192e(0x587),'strokeLinejoin':_0x3d192e(0x587),'strokeWidth':1.2}}]},{'tag':_0x3d192e(0x3f7),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3d192e(0x4df)},'children':[{'tag':_0x3d192e(0x305),'attrs':{'fill':_0x3d192e(0x197),'d':_0x3d192e(0x1b7)}}]}]}],'defIds':[_0x3d192e(0x4df)]},xi=_0x34a220(function(_0x5ea7ed,_0x3192d3){const _0x10a3ae=_0x3d192e;return _0x28fb12(Ts,Object[_0x10a3ae(0x4a7)]({},_0x5ea7ed,{'id':_0x10a3ae(0x2ee),'ref':_0x3192d3,'icon':ia}));});xi['displayName']=_0x3d192e(0x468);var na={'tag':_0x3d192e(0x448),'attrs':{'fill':_0x3d192e(0x281),'viewBox':_0x3d192e(0x418),'width':_0x3d192e(0x1d2),'height':_0x3d192e(0x1d2)},'children':[{'tag':'g','attrs':{'clipPath':_0x3d192e(0x3e0)},'children':[{'tag':_0x3d192e(0x305),'attrs':{'stroke':_0x3d192e(0x50b),'d':_0x3d192e(0x42b),'strokeLinecap':'round','strokeLinejoin':_0x3d192e(0x587),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3d192e(0x53e)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x3d192e(0x3d8)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Li=_0x34a220(function(_0xbeeedf,_0x38f40f){const _0x40e3aa=_0x3d192e;return _0x28fb12(Ts,Object[_0x40e3aa(0x4a7)]({},_0xbeeedf,{'id':_0x40e3aa(0x376),'ref':_0x38f40f,'icon':na}));});Li[_0x3d192e(0x46d)]=_0x3d192e(0x298);function $i(_0x74d4d0){const _0x5ca6d5=_0x3d192e;var _0x10ad81,_0x4edb89,_0x2e77d7='';if(typeof _0x74d4d0==_0x5ca6d5(0x258)||typeof _0x74d4d0==_0x5ca6d5(0x3fb))_0x2e77d7+=_0x74d4d0;else{if(typeof _0x74d4d0=='object'){if(Array[_0x5ca6d5(0x350)](_0x74d4d0)){var _0x5b9aac=_0x74d4d0[_0x5ca6d5(0x4e9)];for(_0x10ad81=0x0;_0x10ad81<_0x5b9aac;_0x10ad81++)_0x74d4d0[_0x10ad81]&&(_0x4edb89=$i(_0x74d4d0[_0x10ad81]))&&(_0x2e77d7&&(_0x2e77d7+='\x20'),_0x2e77d7+=_0x4edb89);}else{for(_0x4edb89 in _0x74d4d0)_0x74d4d0[_0x4edb89]&&(_0x2e77d7&&(_0x2e77d7+='\x20'),_0x2e77d7+=_0x4edb89);}}}return _0x2e77d7;}function ra(){const _0x2d15cc=_0x3d192e;for(var _0x462a49,_0xbcd189,_0x11e8ab=0x0,_0x483ed4='',_0x4a4806=arguments[_0x2d15cc(0x4e9)];_0x11e8ab<_0x4a4806;_0x11e8ab++)(_0x462a49=arguments[_0x11e8ab])&&(_0xbcd189=$i(_0x462a49))&&(_0x483ed4&&(_0x483ed4+='\x20'),_0x483ed4+=_0xbcd189);return _0x483ed4;}const oa=_0x3d192e(0x456),aa=_0x3d192e(0x234),ca=_0x3d192e(0x57f),ha=_0x3d192e(0x55d),la=_0x3d192e(0x388),Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _a(_0x385750){const _0x5e35f6=_0x3d192e;switch(_0x385750){case J[_0x5e35f6(0x3fe)]:return'collabStatus.offline';case J[_0x5e35f6(0x213)]:return _0x5e35f6(0x42c);case J[_0x5e35f6(0x463)]:return _0x5e35f6(0x3a2);case J[_0x5e35f6(0x2bd)]:return _0x5e35f6(0x54b);case J[_0x5e35f6(0x3ce)]:case J[_0x5e35f6(0x344)]:return _0x5e35f6(0x394);case J[_0x5e35f6(0x307)]:case J[_0x5e35f6(0x267)]:return _0x5e35f6(0x3a5);}}function ua(_0x4c9779){const _0x49d377=_0x3d192e,{status$:_0x12a598}=_0x4c9779,_0x358d9a=_0x4f6f45(_0x12a598,J[_0x49d377(0x2bd)]),_0x13cfa1=_0x19195f(_0xef493b),_0x341b7=_0x19195f(Ae),_0x2b1ba9=_0x358d9a!==J[_0x49d377(0x3fe)],_0x19a18d=_0x13cfa1['t'](_a(_0x358d9a)),_0x4796e6=ra(Ze[_0x49d377(0x40e)],{[Ze['online']]:_0x2b1ba9,[Ze[_0x49d377(0x3dd)]]:!_0x2b1ba9}),_0x3f5c0b=_0x2b1ba9?_0xdab72b[_0x49d377(0x55c)](Li,null):_0xdab72b[_0x49d377(0x55c)](xi,null),_0xa84bfd=_0x1a836b(()=>{const _0x20c49c=_0x49d377;_0x2b1ba9||_0x341b7[_0x20c49c(0x1db)]();},[_0x2b1ba9,_0x341b7]);function _0x3970eb(){const _0x35acb2=_0x49d377;return _0xdab72b[_0x35acb2(0x55c)](_0x35acb2(0x265),{'className':_0x4796e6,'onClick':_0xa84bfd},_0xdab72b[_0x35acb2(0x55c)](_0x35acb2(0x265),{'className':Ze[_0x35acb2(0x1b2)]},_0x3f5c0b),_0xdab72b[_0x35acb2(0x55c)]('div',{'className':Ze[_0x35acb2(0x328)]},_0x19a18d));}return _0x2b1ba9?_0x3970eb():_0xdab72b[_0x49d377(0x55c)](_0x46fd32,{'title':_0x13cfa1['t']('collab-client.tooltip.reconnect')},_0x3970eb());}var da=Object['defineProperty'],fa=Object[_0x3d192e(0x3e5)],va=(_0x530164,_0x545c42,_0x2595f4,_0x36e725)=>{const _0x383f1d=_0x3d192e;for(var _0x47ed9d=_0x36e725>0x1?void 0x0:_0x36e725?fa(_0x545c42,_0x2595f4):_0x545c42,_0xa5f15e=_0x530164[_0x383f1d(0x4e9)]-0x1,_0x16b6f0;_0xa5f15e>=0x0;_0xa5f15e--)(_0x16b6f0=_0x530164[_0xa5f15e])&&(_0x47ed9d=(_0x36e725?_0x16b6f0(_0x545c42,_0x2595f4,_0x47ed9d):_0x16b6f0(_0x47ed9d))||_0x47ed9d);return _0x36e725&&_0x47ed9d&&da(_0x545c42,_0x2595f4,_0x47ed9d),_0x47ed9d;},lt=(_0x105c82,_0xaa7758)=>(_0x48df96,_0x220314)=>_0xaa7758(_0x48df96,_0x220314,_0x105c82);let It=class extends _0x1b81eb{constructor(_0x285031,_0x2f976d,_0x13e02f,_0x3382af){const _0x2b7b93=_0x3d192e;super(),g(this,_0x2b7b93(0x384),new _0x1d58dd(J['NOT_COLLAB'])),(this[_0x2b7b93(0x43d)]=_0x285031,this[_0x2b7b93(0x1d8)]=_0x2f976d,this['_injector']=_0x13e02f,this[_0x2b7b93(0x42a)]=_0x3382af,this[_0x2b7b93(0x313)](),this[_0x2b7b93(0x37e)]());}[_0x3d192e(0x37e)](){const _0x4c14f7=_0x3d192e;this[_0x4c14f7(0x2f7)](this[_0x4c14f7(0x43d)][_0x4c14f7(0x269)][_0x4c14f7(0x407)](_0x149f7d(()=>{const _0x4b982c=_0x4c14f7,_0x3892ef=this[_0x4b982c(0x43d)][_0x4b982c(0x29a)]();return _0x3892ef?this['_collaborationController'][_0x4b982c(0x387)](_0x3892ef[_0x4b982c(0x2c1)]()):_0x20dba1(null);}),_0x149f7d(_0x263b75=>_0x263b75?_0x263b75['status$']:_0x20dba1(J['NOT_COLLAB'])))[_0x4c14f7(0x2ce)](_0x5ea35f=>{const _0x477674=_0x4c14f7;this[_0x477674(0x384)]['next'](_0x5ea35f);}));}[_0x3d192e(0x313)](){const _0x329ef7=_0x3d192e;this[_0x329ef7(0x2f7)](this[_0x329ef7(0x1d8)][_0x329ef7(0x41b)](_0x211079[_0x329ef7(0x3a0)],()=>_0x44d91f(ma({'status$':this['_status$'][_0x329ef7(0x194)]()}),this[_0x329ef7(0x329)])));}};It=va([lt(0x0,_0x405019),lt(0x1,_0x5b59f0),lt(0x2,_0x435342(_0x5a18dc)),lt(0x3,_0x435342(it))],It);function ma(_0x4b556a){const {status$:_0x3c0cc6}=_0x4b556a;return function(){const _0x371f69=_0x1083;return _0xdab72b[_0x371f69(0x55c)](ua,{'status$':_0x3c0cc6});};}const Hi=_0x1ee28b(_0x3d192e(0x1a6));var pa=Object[_0x3d192e(0x494)],ga=Object[_0x3d192e(0x3e5)],Sa=(_0x3f4506,_0x5d6e65,_0x346f35,_0x4e39ef)=>{const _0x31d004=_0x3d192e;for(var _0x125cc3=_0x4e39ef>0x1?void 0x0:_0x4e39ef?ga(_0x5d6e65,_0x346f35):_0x5d6e65,_0x3c655a=_0x3f4506[_0x31d004(0x4e9)]-0x1,_0x4d31b7;_0x3c655a>=0x0;_0x3c655a--)(_0x4d31b7=_0x3f4506[_0x3c655a])&&(_0x125cc3=(_0x4e39ef?_0x4d31b7(_0x5d6e65,_0x346f35,_0x125cc3):_0x4d31b7(_0x125cc3))||_0x125cc3);return _0x4e39ef&&_0x125cc3&&pa(_0x5d6e65,_0x346f35,_0x125cc3),_0x125cc3;},ke=(_0x2df24f,_0xb7ac94)=>(_0x5e8428,_0x2904a8)=>_0xb7ac94(_0x5e8428,_0x2904a8,_0x2df24f);let Ct=class extends _0x10cb26{constructor(_0x114b8e,_0x1df997,_0x57e160,_0x471c8f,_0x45043b,_0x35ca08){const _0x57df06=_0x3d192e;super(),this[_0x57df06(0x44f)]=_0x114b8e,this['_logService']=_0x1df997,this[_0x57df06(0x2d5)]=_0x57e160,this[_0x57df06(0x414)]=_0x471c8f,this[_0x57df06(0x432)]=_0x45043b,_0x35ca08?_0x35ca08==null||_0x35ca08[_0x57df06(0x413)]()[_0x57df06(0x429)](()=>this[_0x57df06(0x20a)]()):(this[_0x57df06(0x3b5)][_0x57df06(0x2cb)](_0x57df06(0x232),_0x57df06(0x46b)),this[_0x57df06(0x20a)]());}async[_0x3d192e(0x20a)](){const _0x38c1aa=_0x3d192e,_0x5d1c15=this[_0x38c1aa(0x44f)][_0x38c1aa(0x3ed)]('unit'),_0x25f40f=this[_0x38c1aa(0x44f)]['getParam']('type');if(!_0x5d1c15||!_0x25f40f){this['_logService'][_0x38c1aa(0x2cb)](_0x38c1aa(0x232),_0x38c1aa(0x532));return;}switch(Number(_0x25f40f)){case ce[_0x38c1aa(0x26f)]:{const _0x2ff5e8=await this[_0x38c1aa(0x501)](_0x5d1c15);this[_0x38c1aa(0x4ba)](_0x2ff5e8);break;}case ce[_0x38c1aa(0x52f)]:{await this[_0x38c1aa(0x32d)](_0x5d1c15);break;}default:{this[_0x38c1aa(0x3b5)][_0x38c1aa(0x4f4)](_0x38c1aa(0x232),_0x38c1aa(0x1e3));break;}}}async[_0x3d192e(0x4ba)](_0x536853){const _0xc1e653=_0x3d192e;await this[_0xc1e653(0x331)](_0x536853),_0x536853['activeSheet$'][_0xc1e653(0x407)](_0xe1e697(this[_0xc1e653(0x3e1)]))[_0xc1e653(0x2ce)](_0x3cc284=>{const _0xee103a=_0xc1e653;_0x3cc284&&this[_0xee103a(0x319)](_0x3cc284);}),this[_0xc1e653(0x44f)][_0xc1e653(0x42e)]['pipe'](_0xe1e697(this[_0xc1e653(0x3e1)]))[_0xc1e653(0x2ce)](()=>this[_0xc1e653(0x331)](_0x536853));}[_0x3d192e(0x319)](_0x470c4c,_0x12ccc6=!0x1){const _0x18df6f=_0x3d192e,_0x422322=this['_urlService'][_0x18df6f(0x3ed)](_0x18df6f(0x20b));_0x470c4c['getSheetId']()!==_0x422322&&this[_0x18df6f(0x44f)][_0x18df6f(0x59f)]('subunit',_0x470c4c[_0x18df6f(0x1a9)](),_0x12ccc6);}async[_0x3d192e(0x331)](_0x98bcb7){const _0x1b158c=_0x3d192e;var _0x39b45b;const _0x3d2aed=this[_0x1b158c(0x44f)][_0x1b158c(0x3ed)](_0x1b158c(0x20b));if(!_0x3d2aed||!_0x98bcb7[_0x1b158c(0x390)](_0x3d2aed)){const _0x522982=_0x98bcb7['getUnhiddenWorksheets']()[0x0],_0x51829b=_0x98bcb7['getSheetBySheetId'](_0x522982);if(!_0x51829b)return;this[_0x1b158c(0x319)](_0x51829b,!0x0),await this['_commandService']['executeCommand'](_0x5387d6['id'],{'unitId':_0x98bcb7[_0x1b158c(0x2c1)](),'subUnitId':_0x522982});return;}((_0x39b45b=_0x98bcb7[_0x1b158c(0x3f6)]())==null?void 0x0:_0x39b45b['getSheetId']())!==_0x3d2aed&&await this[_0x1b158c(0x2d5)][_0x1b158c(0x3b1)](_0x5387d6['id'],{'unitId':_0x98bcb7['getUnitId'](),'subUnitId':_0x3d2aed});}async[_0x3d192e(0x501)](_0x180a83){const _0x3a6fc4=_0x3d192e;let _0x5ec5a6=0x0;const _0x505f3b=await this[_0x3a6fc4(0x414)][_0x3a6fc4(0x48b)](_0x180a83);return _0x505f3b&&(_0x505f3b[_0x3a6fc4(0x23a)]||_0x505f3b[_0x3a6fc4(0x547)][_0x3a6fc4(0x4e9)]!==0x0)&&(_0x5ec5a6=_0x505f3b[_0x3a6fc4(0x466)]),_0x5ec5a6===0x0&&this[_0x3a6fc4(0x3b5)][_0x3a6fc4(0x2cb)](_0x3a6fc4(0x232),_0x3a6fc4(0x505)),this['_snapshotService'][_0x3a6fc4(0x3a6)](_0x180a83,_0x5ec5a6);}async['_loadDoc'](_0x24c265){const _0x5cd080=_0x3d192e;let _0x423f56=0x0;const _0x433a0e=await this[_0x5cd080(0x414)][_0x5cd080(0x48b)](_0x24c265);return _0x433a0e&&(_0x433a0e[_0x5cd080(0x23a)]||_0x433a0e[_0x5cd080(0x547)]['length']!==0x0)&&(_0x423f56=_0x433a0e[_0x5cd080(0x466)]),_0x423f56===0x0&&this[_0x5cd080(0x3b5)][_0x5cd080(0x2cb)]('[DataLoaderController]',_0x5cd080(0x505)),this['_snapshotService']['loadDoc'](_0x24c265,_0x423f56);}};Ct=Sa([ke(0x0,Hi),ke(0x1,_0x25772e),ke(0x2,_0x4d4125),ke(0x3,_0x435342(q)),ke(0x4,_0x435342(_0x595913)),ke(0x5,_0x1eef7c(_0x5ec368))],Ct);var Ia=Object[_0x3d192e(0x494)],Ca=Object['getOwnPropertyDescriptor'],Ea=(_0x2bf3f7,_0x24e474,_0x49b992,_0x1fbaa0)=>{const _0x54509e=_0x3d192e;for(var _0x376125=_0x1fbaa0>0x1?void 0x0:_0x1fbaa0?Ca(_0x24e474,_0x49b992):_0x24e474,_0x21d131=_0x2bf3f7[_0x54509e(0x4e9)]-0x1,_0x435fad;_0x21d131>=0x0;_0x21d131--)(_0x435fad=_0x2bf3f7[_0x21d131])&&(_0x376125=(_0x1fbaa0?_0x435fad(_0x24e474,_0x49b992,_0x376125):_0x435fad(_0x376125))||_0x376125);return _0x1fbaa0&&_0x376125&&Ia(_0x24e474,_0x49b992,_0x376125),_0x376125;},zs=(_0x12eb84,_0x5ce0d7)=>(_0x566860,_0x9c2e71)=>_0x5ce0d7(_0x566860,_0x9c2e71,_0x12eb84);const ba='DEFAULT_FILE_NAME',Ta=_0x3d192e(0x378);let Et=class extends _0x1b81eb{constructor(_0x2eaeec,_0x50685f){const _0x5cfe21=_0x3d192e;super(),this['_univerInstanceService']=_0x2eaeec,this[_0x5cfe21(0x295)]=_0x50685f,this[_0x5cfe21(0x20a)]();}[_0x3d192e(0x20a)](){const _0x2c019a=_0x3d192e;this[_0x2c019a(0x2f7)](this[_0x2c019a(0x43d)]['focused$'][_0x2c019a(0x2ce)](()=>{const _0x3029a1=_0x2c019a;var _0x438723;const _0x117f21=this['_univerInstanceService']['getFocusedUnit']();let _0x52dbd9=(_0x438723=this[_0x3029a1(0x295)][_0x3029a1(0x1aa)](ba))!=null?_0x438723:Ta;_0x117f21 instanceof _0x15f270&&(_0x52dbd9=_0x117f21[_0x3029a1(0x2ef)]),document[_0x3029a1(0x19a)]=_0x52dbd9;}));}};Et=Ea([zs(0x0,_0x405019),zs(0x1,_0x1b2eff)],Et);var Ra=Object[_0x3d192e(0x494)],ya=Object[_0x3d192e(0x3e5)],Oa=(_0x32e44e,_0x272986,_0x418536,_0x4af847)=>{for(var _0x327542=_0x4af847>0x1?void 0x0:_0x4af847?ya(_0x272986,_0x418536):_0x272986,_0x26628f=_0x32e44e['length']-0x1,_0x512078;_0x26628f>=0x0;_0x26628f--)(_0x512078=_0x32e44e[_0x26628f])&&(_0x327542=(_0x4af847?_0x512078(_0x272986,_0x418536,_0x327542):_0x512078(_0x327542))||_0x327542);return _0x4af847&&_0x327542&&Ra(_0x272986,_0x418536,_0x327542),_0x327542;},Wt=(_0x568d9d,_0x5a6cfe)=>(_0x17c1ea,_0x4e3cc4)=>_0x5a6cfe(_0x17c1ea,_0x4e3cc4,_0x568d9d);let bt=class{constructor(_0x4720dd,_0x3d3d10,_0x2109b8){const _0x1072d7=_0x3d192e;this[_0x1072d7(0x295)]=_0x4720dd,this[_0x1072d7(0x22f)]=_0x3d3d10,this[_0x1072d7(0x48d)]=_0x2109b8,this['init']();}['init'](){const _0xac18e5=_0x3d192e;this['_httpService'][_0xac18e5(0x229)]({'priority':0x1,'interceptor':(_0x16706c,_0x219439)=>_0x219439(_0x16706c)[_0xac18e5(0x407)](_0x8a475e(async _0x247ad8=>{const _0x2e702d=_0xac18e5,_0x2ad45a=_0x247ad8;if(_0x2ad45a['status']===0x191&&window[_0x2e702d(0x38f)](this[_0x2e702d(0x48d)]['t'](_0x2e702d(0x4b0)))){const _0x30a9a9=window[_0x2e702d(0x261)](window[_0x2e702d(0x291)][_0x2e702d(0x58a)]);window[_0x2e702d(0x291)][_0x2e702d(0x58a)]=this[_0x2e702d(0x4d2)]()+_0x2e702d(0x399)+_0x30a9a9;}return _0x2ad45a;}))});}[_0x3d192e(0x4d2)](){const _0x5068d4=_0x3d192e;var _0x5a7be3,_0x1849ec;const _0x323f93=this[_0x5068d4(0x295)][_0x5068d4(0x1aa)](Ir),_0x1c38fd=this[_0x5068d4(0x295)][_0x5068d4(0x1aa)](ie);return(_0x1849ec=(_0x5a7be3=_0x1c38fd==null?void 0x0:_0x1c38fd['loginUrlKey'])!=null?_0x5a7be3:_0x323f93)!=null?_0x1849ec:Cr;}};bt=Oa([Wt(0x0,_0x1b2eff),Wt(0x1,_0x435342(_0x280c50)),Wt(0x2,_0x435342(_0xef493b))],bt);var wa=Object[_0x3d192e(0x494)],Da=Object['getOwnPropertyDescriptor'],Pa=(_0x15ad0d,_0x5a9dab,_0x68290d,_0x1e3f13)=>{const _0x5bbbac=_0x3d192e;for(var _0x3c7e89=_0x1e3f13>0x1?void 0x0:_0x1e3f13?Da(_0x5a9dab,_0x68290d):_0x5a9dab,_0x4924df=_0x15ad0d[_0x5bbbac(0x4e9)]-0x1,_0x2e05b6;_0x4924df>=0x0;_0x4924df--)(_0x2e05b6=_0x15ad0d[_0x4924df])&&(_0x3c7e89=(_0x1e3f13?_0x2e05b6(_0x5a9dab,_0x68290d,_0x3c7e89):_0x2e05b6(_0x3c7e89))||_0x3c7e89);return _0x1e3f13&&_0x3c7e89&&wa(_0x5a9dab,_0x68290d,_0x3c7e89),_0x3c7e89;},qs=(_0x4e2986,_0x163855)=>(_0x3108e1,_0xd66971)=>_0x163855(_0x3108e1,_0xd66971,_0x4e2986);const Ua='AUTHZ_URL_KEY',Na='/universer-api/authz';let cs=class extends _0x1b81eb{constructor(_0x2aa81e,_0x12d2fb){const _0x2da4c6=_0x3d192e;super(),this['_HTTPService']=_0x2aa81e,this[_0x2da4c6(0x295)]=_0x12d2fb,this[_0x2da4c6(0x404)]();}[_0x3d192e(0x404)](){const _0x443f51=_0x3d192e,_0x25c3b1=this;this[_0x443f51(0x2f7)](this[_0x443f51(0x3b0)][_0x443f51(0x229)]({'priority':0x3e7,'interceptor':_0x49bcb0({'isMatch'(_0x4842eb){const _0x28d71d=_0x443f51;var _0x1b354f;if(_0x4842eb[_0x28d71d(0x4ab)]==='POST'&&((_0x1b354f=_0x4842eb[_0x28d71d(0x2a5)])!=null&&_0x1b354f[_0x28d71d(0x2bc)])){const {objectID:_0x4afb8f,objectType:_0x50d13d}=_0x4842eb[_0x28d71d(0x2a5)][_0x28d71d(0x2bc)]||{};if(!_0x4afb8f||_0x50d13d===void 0x0)return!0x1;const _0x45f2f4=_0x25c3b1[_0x28d71d(0x226)]()+'/'+_0x50d13d+_0x28d71d(0x47c)+_0x4afb8f+_0x28d71d(0x4e0);if(_0x4842eb[_0x28d71d(0x275)]===_0x45f2f4)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x134f71){const _0x3fb8ed=_0x443f51;var _0x4335ec;return(_0x4335ec=_0x134f71['requestParams'])==null?void 0x0:_0x4335ec[_0x3fb8ed(0x2bc)];},'mergeParamsToRequest'(_0xec05fe,_0x488129){const _0x3e4eac=_0x443f51,_0x1af77a=_0x25c3b1[_0x3e4eac(0x226)]()+'/-/object/-/batch_allowed',_0x285cfc=_0xec05fe[_0x3e4eac(0x36a)]((_0x318149,_0x4ac4d0)=>{const _0x45f61d=_0x3e4eac,{unitID:_0x25e25f,objectID:_0x4a89c3,objectType:_0x37d5c3,actions:_0xd63fa8}=_0x4ac4d0;return _0x318149[_0x25e25f]||(_0x318149[_0x25e25f]={}),_0x318149[_0x25e25f][_0x4a89c3]||(_0x318149[_0x25e25f][_0x4a89c3]={'objectID':_0x4a89c3,'objectType':_0x37d5c3,'actions':[]}),_0x318149[_0x25e25f][_0x4a89c3][_0x45f61d(0x43c)][_0x45f61d(0x24b)](..._0xd63fa8),_0x318149;},{}),_0x2db784=[];for(const _0x4ca58d in _0x285cfc)for(const _0x126edb in _0x285cfc[_0x4ca58d]){const {actions:_0x33389f,objectType:_0x1b5a51}=_0x285cfc[_0x4ca58d][_0x126edb],_0x1910d4=[...new Set(_0x33389f)];_0x2db784[_0x3e4eac(0x24b)]({'unitID':_0x4ca58d,'objectID':_0x126edb,'objectType':_0x1b5a51,'actions':_0x1910d4});}return new _0x1b63e6('POST',_0x1af77a,{'headers':_0x488129['headers'],'withCredentials':_0x488129['withCredentials'],'responseType':_0x488129[_0x3e4eac(0x4b9)],'body':{'requests':_0x2db784}});}},{'distributeResult'(_0x47032a,_0x36e25e){const {objectActions:_0x4e2dae}=_0x47032a;return _0x36e25e['map'](_0x593ec8=>{const _0x1842a2=_0x1083,{unitID:_0x14ee98,objectID:_0x2c9713,actions:_0x5334d5}=_0x593ec8,_0x5d45e7=_0x4e2dae[_0x1842a2(0x2fd)](_0x350161=>_0x350161['unitID']===_0x14ee98&&_0x350161[_0x1842a2(0x358)]===_0x2c9713),_0x1ed983=_0x5334d5['map'](_0x4a5fc3=>_0x5d45e7==null?void 0x0:_0x5d45e7['actions'][_0x1842a2(0x2fd)](_0x3038ae=>_0x3038ae[_0x1842a2(0x1df)]===_0x4a5fc3))[_0x1842a2(0x347)](_0x2ec3e8=>!!_0x2ec3e8);return{'config':_0x593ec8,'result':{'actions':_0x1ed983,'error':_0x47032a[_0x1842a2(0x4f4)]}};});}})}));}[_0x3d192e(0x226)](){const _0x5dd14f=_0x3d192e;var _0x2ff72a,_0x1bac20;const _0x5770ac=this[_0x5dd14f(0x295)][_0x5dd14f(0x1aa)](Ua),_0x436050=this[_0x5dd14f(0x295)][_0x5dd14f(0x1aa)](ie);return(_0x1bac20=(_0x2ff72a=_0x436050==null?void 0x0:_0x436050[_0x5dd14f(0x433)])!=null?_0x2ff72a:_0x5770ac)!=null?_0x1bac20:Na;}async[_0x3d192e(0x398)](_0x27865a){const _0x3ad2d9=_0x3d192e,_0x1710dc=this[_0x3ad2d9(0x226)]()+'/'+_0x27865a[_0x3ad2d9(0x1b5)]+'/object';return(await this[_0x3ad2d9(0x3b0)][_0x3ad2d9(0x1c0)](_0x1710dc,{'body':_0x27865a}))[_0x3ad2d9(0x2bc)]['objectID']||'';}async[_0x3d192e(0x1a1)](_0x50d525){const _0x47b7eb=_0x3d192e,_0x5bbccd=this[_0x47b7eb(0x226)]()+'/-/object/list';return(await this[_0x47b7eb(0x3b0)][_0x47b7eb(0x1c0)](_0x5bbccd,{'body':_0x50d525}))[_0x47b7eb(0x2bc)]['objects'];}async[_0x3d192e(0x1d9)](_0x53ce19){const _0x7999ba=_0x3d192e,_0x9cdb42=this[_0x7999ba(0x226)]()+'/'+_0x53ce19[_0x7999ba(0x1b5)]+_0x7999ba(0x47c)+_0x53ce19[_0x7999ba(0x358)];await this[_0x7999ba(0x3b0)][_0x7999ba(0x415)](_0x9cdb42,{'body':_0x53ce19});}async[_0x3d192e(0x2b4)](_0x3b7d03){const _0x2fffe1=_0x3d192e,_0x51479e=this[_0x2fffe1(0x226)]()+'/'+_0x3b7d03['objectType']+_0x2fffe1(0x47c)+_0x3b7d03[_0x2fffe1(0x358)]+_0x2fffe1(0x4e0);return(await this[_0x2fffe1(0x3b0)][_0x2fffe1(0x1c0)](_0x51479e,{'body':_0x3b7d03}))['body']['actions'];}async['batchAllowed'](_0x4f4714){const _0x10596b=_0x3d192e,_0x1eda44=this[_0x10596b(0x226)]()+_0x10596b(0x444);return(await this[_0x10596b(0x3b0)][_0x10596b(0x1c0)](_0x1eda44,{'body':{'requests':_0x4f4714}}))[_0x10596b(0x2bc)][_0x10596b(0x531)];}async[_0x3d192e(0x58c)](_0x388016){const _0x5b673f=_0x3d192e,_0x57df15=this[_0x5b673f(0x226)]()+'/'+_0x388016[_0x5b673f(0x1b5)]+_0x5b673f(0x3f5),_0x1883ae=await this[_0x5b673f(0x3b0)]['post'](_0x57df15,{'body':_0x388016});return{'roles':_0x1883ae[_0x5b673f(0x2bc)][_0x5b673f(0x314)],'actions':_0x1883ae['body'][_0x5b673f(0x43c)]};}async[_0x3d192e(0x45c)](_0x4066a0){const _0x2c12b4=_0x3d192e,_0x58a98d=this[_0x2c12b4(0x226)]()+'/collaborator';await this[_0x2c12b4(0x3b0)][_0x2c12b4(0x2cc)](_0x58a98d,{'params':{'collaboratorID':_0x4066a0[_0x2c12b4(0x441)],'objectID':_0x4066a0[_0x2c12b4(0x358)],'unitID':_0x4066a0[_0x2c12b4(0x1dc)]}});}async[_0x3d192e(0x4a9)](_0x424af9){const _0x199eb0=_0x3d192e,_0x39d435=this[_0x199eb0(0x226)]()+'/collaborator';await this[_0x199eb0(0x3b0)][_0x199eb0(0x3b2)](_0x39d435,{'body':_0x424af9});}async[_0x3d192e(0x3c2)](_0x5fb592){const _0x33e633=_0x3d192e,_0x50bcbc=this[_0x33e633(0x226)]()+_0x33e633(0x237);await this[_0x33e633(0x3b0)]['post'](_0x50bcbc,{'body':_0x5fb592});}async[_0x3d192e(0x47f)](_0x5e1470){const _0x3db9c7=_0x3d192e,_0x108268=this['_getAPIPrefixPath']()+_0x3db9c7(0x237);return(await this[_0x3db9c7(0x3b0)][_0x3db9c7(0x47d)](_0x108268,{'params':{'objectID':_0x5e1470[_0x3db9c7(0x358)],'unitID':_0x5e1470[_0x3db9c7(0x1dc)]}}))['body']['collaborators'];}async[_0x3d192e(0x26c)](_0x2e838d){const _0x1a7dcd=_0x3d192e,_0x278498=this[_0x1a7dcd(0x226)]()+_0x1a7dcd(0x237);await this[_0x1a7dcd(0x3b0)][_0x1a7dcd(0x415)](_0x278498,{'body':_0x2e838d});}};cs=Pa([qs(0x0,_0x435342(_0x280c50)),qs(0x1,_0x435342(_0x1b2eff))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x1f02fd){const _0x21f617=_0x3d192e;return _0x1f02fd&&_0x1f02fd[_0x21f617(0x1da)]&&Object[_0x21f617(0x1a4)][_0x21f617(0x379)][_0x21f617(0x2c2)](_0x1f02fd,'default')?_0x1f02fd['default']:_0x1f02fd;}function Aa(_0x12afec){const _0x199b29=_0x3d192e;if(_0x12afec['__esModule'])return _0x12afec;var _0x56e9f9=_0x12afec[_0x199b29(0x500)];if(typeof _0x56e9f9==_0x199b29(0x3c5)){var _0x59cd28=function _0x255032(){const _0x2f50b9=_0x199b29;return this instanceof _0x255032?Reflect[_0x2f50b9(0x455)](_0x56e9f9,arguments,this[_0x2f50b9(0x571)]):_0x56e9f9[_0x2f50b9(0x539)](this,arguments);};_0x59cd28[_0x199b29(0x1a4)]=_0x56e9f9[_0x199b29(0x1a4)];}else _0x59cd28={};return Object['defineProperty'](_0x59cd28,'__esModule',{'value':!0x0}),Object[_0x199b29(0x3bb)](_0x12afec)[_0x199b29(0x253)](function(_0x4d7bdf){const _0x4f4715=_0x199b29;var _0x4c1b51=Object[_0x4f4715(0x3e5)](_0x12afec,_0x4d7bdf);Object[_0x4f4715(0x494)](_0x59cd28,_0x4d7bdf,_0x4c1b51[_0x4f4715(0x47d)]?_0x4c1b51:{'enumerable':!0x0,'get':function(){return _0x12afec[_0x4d7bdf];}});}),_0x59cd28;}var ji={'exports':{}};function Ma(_0x3029d3){const _0x2a0bb8=_0x3d192e;throw new Error(_0x2a0bb8(0x474)+_0x3029d3+_0x2a0bb8(0x2cf));}var Ft={'exports':{}};const xa={},La=Object['freeze'](Object[_0x3d192e(0x494)]({'__proto__':null,'default':xa},Symbol['toStringTag'],{'value':_0x3d192e(0x48e)})),$a=Aa(La);var Xs;function ue(){const _0x256c63=_0x3d192e;return Xs||(Xs=0x1,function(_0xc8bb0b,_0x5ef3a4){(function(_0x34a6ac,_0x5eb7f0){const _0x54f9df=_0x1083;_0xc8bb0b[_0x54f9df(0x570)]=_0x5eb7f0();}(Z,function(){var _0x5a45b4=_0x5a45b4||function(_0x39509f,_0x4c9e9c){const _0x20a044=_0x1083;var _0x14ded6;if(typeof window<'u'&&window[_0x20a044(0x50f)]&&(_0x14ded6=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x14ded6=self[_0x20a044(0x50f)]),typeof globalThis<'u'&&globalThis[_0x20a044(0x50f)]&&(_0x14ded6=globalThis[_0x20a044(0x50f)]),!_0x14ded6&&typeof window<'u'&&window[_0x20a044(0x39d)]&&(_0x14ded6=window[_0x20a044(0x39d)]),!_0x14ded6&&typeof Z<'u'&&Z[_0x20a044(0x50f)]&&(_0x14ded6=Z[_0x20a044(0x50f)]),!_0x14ded6&&typeof Ma==_0x20a044(0x3c5))try{_0x14ded6=$a;}catch{}var _0x4c05f3=function(){const _0x3e0dd7=_0x20a044;if(_0x14ded6){if(typeof _0x14ded6[_0x3e0dd7(0x486)]==_0x3e0dd7(0x3c5))try{return _0x14ded6[_0x3e0dd7(0x486)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x14ded6[_0x3e0dd7(0x28f)]=='function')try{return _0x14ded6[_0x3e0dd7(0x28f)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x25f817=Object[_0x20a044(0x398)]||(function(){function _0x584747(){}return function(_0x5db29f){const _0x237c36=_0x1083;var _0x2621b1;return _0x584747[_0x237c36(0x1a4)]=_0x5db29f,_0x2621b1=new _0x584747(),_0x584747[_0x237c36(0x1a4)]=null,_0x2621b1;};}()),_0x48f7d6={},_0x5291ca=_0x48f7d6[_0x20a044(0x389)]={},_0x20d281=_0x5291ca['Base']=(function(){return{'extend':function(_0xcfa83e){const _0x846111=_0x1083;var _0x4e038d=_0x25f817(this);return _0xcfa83e&&_0x4e038d[_0x846111(0x32f)](_0xcfa83e),(!_0x4e038d[_0x846111(0x379)](_0x846111(0x46a))||this[_0x846111(0x46a)]===_0x4e038d[_0x846111(0x46a)])&&(_0x4e038d[_0x846111(0x46a)]=function(){const _0x95ccec=_0x846111;_0x4e038d['$super'][_0x95ccec(0x46a)][_0x95ccec(0x539)](this,arguments);}),_0x4e038d[_0x846111(0x46a)][_0x846111(0x1a4)]=_0x4e038d,_0x4e038d[_0x846111(0x57e)]=this,_0x4e038d;},'create':function(){const _0x5aae91=_0x1083;var _0x52f026=this[_0x5aae91(0x453)]();return _0x52f026[_0x5aae91(0x46a)][_0x5aae91(0x539)](_0x52f026,arguments),_0x52f026;},'init':function(){},'mixIn':function(_0x55e711){const _0x2738fb=_0x1083;for(var _0x57a130 in _0x55e711)_0x55e711[_0x2738fb(0x379)](_0x57a130)&&(this[_0x57a130]=_0x55e711[_0x57a130]);_0x55e711[_0x2738fb(0x379)](_0x2738fb(0x504))&&(this[_0x2738fb(0x504)]=_0x55e711[_0x2738fb(0x504)]);},'clone':function(){const _0x3c1dbb=_0x1083;return this[_0x3c1dbb(0x46a)][_0x3c1dbb(0x1a4)]['extend'](this);}};}()),_0x3dafb0=_0x5291ca[_0x20a044(0x35d)]=_0x20d281[_0x20a044(0x453)]({'init':function(_0x498a1a,_0x32f7ef){const _0x313422=_0x20a044;_0x498a1a=this[_0x313422(0x57a)]=_0x498a1a||[],_0x32f7ef!=_0x4c9e9c?this[_0x313422(0x45d)]=_0x32f7ef:this['sigBytes']=_0x498a1a['length']*0x4;},'toString':function(_0x3ab29d){return(_0x3ab29d||_0x5aafb2)['stringify'](this);},'concat':function(_0x133e6a){const _0xa16f76=_0x20a044;var _0x437157=this[_0xa16f76(0x57a)],_0x3ea472=_0x133e6a[_0xa16f76(0x57a)],_0x1c59d5=this[_0xa16f76(0x45d)],_0x42512c=_0x133e6a[_0xa16f76(0x45d)];if(this[_0xa16f76(0x336)](),_0x1c59d5%0x4)for(var _0x197c46=0x0;_0x197c46<_0x42512c;_0x197c46++){var _0x512d8a=_0x3ea472[_0x197c46>>>0x2]>>>0x18-_0x197c46%0x4*0x8&0xff;_0x437157[_0x1c59d5+_0x197c46>>>0x2]|=_0x512d8a<<0x18-(_0x1c59d5+_0x197c46)%0x4*0x8;}else{for(var _0x12de4c=0x0;_0x12de4c<_0x42512c;_0x12de4c+=0x4)_0x437157[_0x1c59d5+_0x12de4c>>>0x2]=_0x3ea472[_0x12de4c>>>0x2];}return this[_0xa16f76(0x45d)]+=_0x42512c,this;},'clamp':function(){const _0x373915=_0x20a044;var _0x2819de=this[_0x373915(0x57a)],_0x5a1ee8=this[_0x373915(0x45d)];_0x2819de[_0x5a1ee8>>>0x2]&=0xffffffff<<0x20-_0x5a1ee8%0x4*0x8,_0x2819de['length']=_0x39509f[_0x373915(0x284)](_0x5a1ee8/0x4);},'clone':function(){const _0x13c455=_0x20a044;var _0x201bbc=_0x20d281[_0x13c455(0x4ec)][_0x13c455(0x2c2)](this);return _0x201bbc[_0x13c455(0x57a)]=this[_0x13c455(0x57a)][_0x13c455(0x3ca)](0x0),_0x201bbc;},'random':function(_0x4e3cd9){for(var _0x406e17=[],_0x4584b4=0x0;_0x4584b4<_0x4e3cd9;_0x4584b4+=0x4)_0x406e17['push'](_0x4c05f3());return new _0x3dafb0['init'](_0x406e17,_0x4e3cd9);}}),_0x1a37b8=_0x48f7d6[_0x20a044(0x29f)]={},_0x5aafb2=_0x1a37b8[_0x20a044(0x36c)]={'stringify':function(_0x5ad080){const _0x5a561f=_0x20a044;for(var _0x588a50=_0x5ad080[_0x5a561f(0x57a)],_0x4bcb46=_0x5ad080[_0x5a561f(0x45d)],_0xa38820=[],_0x50fe9c=0x0;_0x50fe9c<_0x4bcb46;_0x50fe9c++){var _0x1789a6=_0x588a50[_0x50fe9c>>>0x2]>>>0x18-_0x50fe9c%0x4*0x8&0xff;_0xa38820['push']((_0x1789a6>>>0x4)['toString'](0x10)),_0xa38820[_0x5a561f(0x24b)]((_0x1789a6&0xf)['toString'](0x10));}return _0xa38820['join']('');},'parse':function(_0x597d8b){const _0xb4f63a=_0x20a044;for(var _0x442244=_0x597d8b[_0xb4f63a(0x4e9)],_0x128a4a=[],_0x258d72=0x0;_0x258d72<_0x442244;_0x258d72+=0x2)_0x128a4a[_0x258d72>>>0x3]|=parseInt(_0x597d8b[_0xb4f63a(0x2c0)](_0x258d72,0x2),0x10)<<0x18-_0x258d72%0x8*0x4;return new _0x3dafb0[(_0xb4f63a(0x46a))](_0x128a4a,_0x442244/0x2);}},_0x23cd39=_0x1a37b8[_0x20a044(0x349)]={'stringify':function(_0x1646e1){const _0x133b99=_0x20a044;for(var _0x4ac741=_0x1646e1[_0x133b99(0x57a)],_0xa69ccd=_0x1646e1[_0x133b99(0x45d)],_0x3290ab=[],_0x338d07=0x0;_0x338d07<_0xa69ccd;_0x338d07++){var _0x41a642=_0x4ac741[_0x338d07>>>0x2]>>>0x18-_0x338d07%0x4*0x8&0xff;_0x3290ab[_0x133b99(0x24b)](String[_0x133b99(0x55a)](_0x41a642));}return _0x3290ab[_0x133b99(0x1bc)]('');},'parse':function(_0x2e7375){const _0x5b703c=_0x20a044;for(var _0x545149=_0x2e7375['length'],_0x2ce5cb=[],_0x568cb4=0x0;_0x568cb4<_0x545149;_0x568cb4++)_0x2ce5cb[_0x568cb4>>>0x2]|=(_0x2e7375['charCodeAt'](_0x568cb4)&0xff)<<0x18-_0x568cb4%0x4*0x8;return new _0x3dafb0[(_0x5b703c(0x46a))](_0x2ce5cb,_0x545149);}},_0x21e167=_0x1a37b8[_0x20a044(0x30e)]={'stringify':function(_0x5f074a){const _0x544e15=_0x20a044;try{return decodeURIComponent(escape(_0x23cd39[_0x544e15(0x4fa)](_0x5f074a)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x251fd0){const _0x49442b=_0x20a044;return _0x23cd39[_0x49442b(0x4da)](unescape(encodeURIComponent(_0x251fd0)));}},_0x113560=_0x5291ca[_0x20a044(0x3e3)]=_0x20d281['extend']({'reset':function(){const _0x43df55=_0x20a044;this[_0x43df55(0x2f0)]=new _0x3dafb0[(_0x43df55(0x46a))](),this[_0x43df55(0x1fd)]=0x0;},'_append':function(_0x1a1b90){const _0x534b78=_0x20a044;typeof _0x1a1b90=='string'&&(_0x1a1b90=_0x21e167['parse'](_0x1a1b90)),this[_0x534b78(0x2f0)][_0x534b78(0x351)](_0x1a1b90),this[_0x534b78(0x1fd)]+=_0x1a1b90[_0x534b78(0x45d)];},'_process':function(_0x247814){const _0x5b0ff3=_0x20a044;var _0x451d8e,_0x3e7b20=this[_0x5b0ff3(0x2f0)],_0x2e24dc=_0x3e7b20[_0x5b0ff3(0x57a)],_0x3a359c=_0x3e7b20[_0x5b0ff3(0x45d)],_0x24a749=this[_0x5b0ff3(0x3fa)],_0x28cf81=_0x24a749*0x4,_0x41866d=_0x3a359c/_0x28cf81;_0x247814?_0x41866d=_0x39509f[_0x5b0ff3(0x284)](_0x41866d):_0x41866d=_0x39509f[_0x5b0ff3(0x4b5)]((_0x41866d|0x0)-this[_0x5b0ff3(0x32b)],0x0);var _0x31a67f=_0x41866d*_0x24a749,_0x3fae3a=_0x39509f[_0x5b0ff3(0x354)](_0x31a67f*0x4,_0x3a359c);if(_0x31a67f){for(var _0x159b69=0x0;_0x159b69<_0x31a67f;_0x159b69+=_0x24a749)this[_0x5b0ff3(0x40b)](_0x2e24dc,_0x159b69);_0x451d8e=_0x2e24dc[_0x5b0ff3(0x1ab)](0x0,_0x31a67f),_0x3e7b20['sigBytes']-=_0x3fae3a;}return new _0x3dafb0[(_0x5b0ff3(0x46a))](_0x451d8e,_0x3fae3a);},'clone':function(){const _0x3d3f4e=_0x20a044;var _0x3a2655=_0x20d281['clone'][_0x3d3f4e(0x2c2)](this);return _0x3a2655[_0x3d3f4e(0x2f0)]=this[_0x3d3f4e(0x2f0)][_0x3d3f4e(0x4ec)](),_0x3a2655;},'_minBufferSize':0x0});_0x5291ca['Hasher']=_0x113560[_0x20a044(0x453)]({'cfg':_0x20d281[_0x20a044(0x453)](),'init':function(_0x4285ac){const _0x4cb9be=_0x20a044;this[_0x4cb9be(0x1c3)]=this[_0x4cb9be(0x1c3)]['extend'](_0x4285ac),this[_0x4cb9be(0x26e)]();},'reset':function(){const _0x5133e2=_0x20a044;_0x113560[_0x5133e2(0x26e)]['call'](this),this[_0x5133e2(0x34d)]();},'update':function(_0x22a2f7){const _0xeabcaa=_0x20a044;return this[_0xeabcaa(0x2ed)](_0x22a2f7),this[_0xeabcaa(0x588)](),this;},'finalize':function(_0x3930ad){_0x3930ad&&this['_append'](_0x3930ad);var _0x8811d0=this['_doFinalize']();return _0x8811d0;},'blockSize':0x10,'_createHelper':function(_0x398976){return function(_0x2c61da,_0x3959de){const _0x171bb0=_0x1083;return new _0x398976[(_0x171bb0(0x46a))](_0x3959de)['finalize'](_0x2c61da);};},'_createHmacHelper':function(_0x347037){return function(_0x26bbcb,_0x339197){const _0x1c252a=_0x1083;return new _0x5a66da[(_0x1c252a(0x2af))]['init'](_0x347037,_0x339197)[_0x1c252a(0x3c9)](_0x26bbcb);};}});var _0x5a66da=_0x48f7d6[_0x20a044(0x3d2)]={};return _0x48f7d6;}(Math);return _0x5a45b4;}));}(Ft)),Ft[_0x256c63(0x570)];}var Vt={'exports':{}},Js;function Bi(){const _0x27a053=_0x3d192e;return Js||(Js=0x1,function(_0x502d37,_0x7e0e27){(function(_0x7f8db3,_0xa74e1){_0x502d37['exports']=_0xa74e1(ue());}(Z,function(_0x317f2c){const _0x5995df=_0x1083;return(function(){const _0x1527b1=_0x1083;var _0x19172d=_0x317f2c,_0x1915fa=_0x19172d[_0x1527b1(0x389)],_0x40cdea=_0x1915fa[_0x1527b1(0x35d)],_0x232596=_0x19172d[_0x1527b1(0x29f)];_0x232596[_0x1527b1(0x196)]={'stringify':function(_0x380b5c){const _0x334bb6=_0x1527b1;var _0x5c3fda=_0x380b5c[_0x334bb6(0x57a)],_0x5587f0=_0x380b5c['sigBytes'],_0x520078=this[_0x334bb6(0x50e)];_0x380b5c[_0x334bb6(0x336)]();for(var _0x16f685=[],_0x4b58d6=0x0;_0x4b58d6<_0x5587f0;_0x4b58d6+=0x3)for(var _0x53de05=_0x5c3fda[_0x4b58d6>>>0x2]>>>0x18-_0x4b58d6%0x4*0x8&0xff,_0x23f5f3=_0x5c3fda[_0x4b58d6+0x1>>>0x2]>>>0x18-(_0x4b58d6+0x1)%0x4*0x8&0xff,_0x47b434=_0x5c3fda[_0x4b58d6+0x2>>>0x2]>>>0x18-(_0x4b58d6+0x2)%0x4*0x8&0xff,_0x41f27c=_0x53de05<<0x10|_0x23f5f3<<0x8|_0x47b434,_0x39a5bc=0x0;_0x39a5bc<0x4&&_0x4b58d6+_0x39a5bc*0.75<_0x5587f0;_0x39a5bc++)_0x16f685[_0x334bb6(0x24b)](_0x520078[_0x334bb6(0x21e)](_0x41f27c>>>0x6*(0x3-_0x39a5bc)&0x3f));var _0xff25b2=_0x520078[_0x334bb6(0x21e)](0x40);if(_0xff25b2){for(;_0x16f685[_0x334bb6(0x4e9)]%0x4;)_0x16f685[_0x334bb6(0x24b)](_0xff25b2);}return _0x16f685['join']('');},'parse':function(_0x5ce952){const _0x25e2cd=_0x1527b1;var _0x169358=_0x5ce952[_0x25e2cd(0x4e9)],_0x5b4ab4=this['_map'],_0x4cb661=this[_0x25e2cd(0x272)];if(!_0x4cb661){_0x4cb661=this[_0x25e2cd(0x272)]=[];for(var _0x5d5069=0x0;_0x5d5069<_0x5b4ab4[_0x25e2cd(0x4e9)];_0x5d5069++)_0x4cb661[_0x5b4ab4['charCodeAt'](_0x5d5069)]=_0x5d5069;}var _0x154f20=_0x5b4ab4['charAt'](0x40);if(_0x154f20){var _0xc34e2a=_0x5ce952['indexOf'](_0x154f20);_0xc34e2a!==-0x1&&(_0x169358=_0xc34e2a);}return _0x110cd8(_0x5ce952,_0x169358,_0x4cb661);},'_map':_0x1527b1(0x475)};function _0x110cd8(_0x4a752e,_0x5b9580,_0x3e421a){const _0x4567e1=_0x1527b1;for(var _0x2123ad=[],_0xa48308=0x0,_0x302c62=0x0;_0x302c62<_0x5b9580;_0x302c62++)if(_0x302c62%0x4){var _0x33d83d=_0x3e421a[_0x4a752e[_0x4567e1(0x342)](_0x302c62-0x1)]<<_0x302c62%0x4*0x2,_0x3f4e0c=_0x3e421a[_0x4a752e[_0x4567e1(0x342)](_0x302c62)]>>>0x6-_0x302c62%0x4*0x2,_0x4f5bc1=_0x33d83d|_0x3f4e0c;_0x2123ad[_0xa48308>>>0x2]|=_0x4f5bc1<<0x18-_0xa48308%0x4*0x8,_0xa48308++;}return _0x40cdea[_0x4567e1(0x398)](_0x2123ad,_0xa48308);}}()),_0x317f2c[_0x5995df(0x29f)][_0x5995df(0x196)];}));}(Vt)),Vt[_0x27a053(0x570)];}var Gt={'exports':{}},Zs;function Ha(){const _0x18e5a2=_0x3d192e;return Zs||(Zs=0x1,function(_0x578410,_0x47dc79){(function(_0x85a09b,_0x37d9bb){const _0x297392=_0x1083;_0x578410[_0x297392(0x570)]=_0x37d9bb(ue());}(Z,function(_0x1955a9){const _0x4267ac=_0x1083;return function(_0x1d7d63){const _0x32b802=_0x1083;var _0x3bb610=_0x1955a9,_0x430d87=_0x3bb610[_0x32b802(0x389)],_0xfbf8bd=_0x430d87[_0x32b802(0x35d)],_0x5cd695=_0x430d87[_0x32b802(0x3a7)],_0x5dc218=_0x3bb610[_0x32b802(0x3d2)],_0x3f43a8=[];(function(){const _0xc7a9d8=_0x32b802;for(var _0x1a3c27=0x0;_0x1a3c27<0x40;_0x1a3c27++)_0x3f43a8[_0x1a3c27]=_0x1d7d63['abs'](_0x1d7d63[_0xc7a9d8(0x3cb)](_0x1a3c27+0x1))*0x100000000|0x0;}());var _0x21ef41=_0x5dc218[_0x32b802(0x511)]=_0x5cd695[_0x32b802(0x453)]({'_doReset':function(){const _0x3e5a46=_0x32b802;this['_hash']=new _0xfbf8bd[(_0x3e5a46(0x46a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x190e69,_0x587f3f){const _0x4a6857=_0x32b802;for(var _0x5b7d20=0x0;_0x5b7d20<0x10;_0x5b7d20++){var _0x185ca7=_0x587f3f+_0x5b7d20,_0x22380e=_0x190e69[_0x185ca7];_0x190e69[_0x185ca7]=(_0x22380e<<0x8|_0x22380e>>>0x18)&0xff00ff|(_0x22380e<<0x18|_0x22380e>>>0x8)&0xff00ff00;}var _0x49d36c=this[_0x4a6857(0x334)]['words'],_0x3f080f=_0x190e69[_0x587f3f+0x0],_0x5d64a2=_0x190e69[_0x587f3f+0x1],_0x30c194=_0x190e69[_0x587f3f+0x2],_0x5f5060=_0x190e69[_0x587f3f+0x3],_0x2e6b7f=_0x190e69[_0x587f3f+0x4],_0x3d560a=_0x190e69[_0x587f3f+0x5],_0x1ee104=_0x190e69[_0x587f3f+0x6],_0x4e3039=_0x190e69[_0x587f3f+0x7],_0x197149=_0x190e69[_0x587f3f+0x8],_0x87c578=_0x190e69[_0x587f3f+0x9],_0x32ba60=_0x190e69[_0x587f3f+0xa],_0x110016=_0x190e69[_0x587f3f+0xb],_0x344623=_0x190e69[_0x587f3f+0xc],_0x4b5db9=_0x190e69[_0x587f3f+0xd],_0x505dab=_0x190e69[_0x587f3f+0xe],_0x5471c9=_0x190e69[_0x587f3f+0xf],_0x5be04f=_0x49d36c[0x0],_0x464f78=_0x49d36c[0x1],_0x573958=_0x49d36c[0x2],_0x3d8ea2=_0x49d36c[0x3];_0x5be04f=_0x5446aa(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x3f080f,0x7,_0x3f43a8[0x0]),_0x3d8ea2=_0x5446aa(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x5d64a2,0xc,_0x3f43a8[0x1]),_0x573958=_0x5446aa(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x30c194,0x11,_0x3f43a8[0x2]),_0x464f78=_0x5446aa(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x5f5060,0x16,_0x3f43a8[0x3]),_0x5be04f=_0x5446aa(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x2e6b7f,0x7,_0x3f43a8[0x4]),_0x3d8ea2=_0x5446aa(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x3d560a,0xc,_0x3f43a8[0x5]),_0x573958=_0x5446aa(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x1ee104,0x11,_0x3f43a8[0x6]),_0x464f78=_0x5446aa(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x4e3039,0x16,_0x3f43a8[0x7]),_0x5be04f=_0x5446aa(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x197149,0x7,_0x3f43a8[0x8]),_0x3d8ea2=_0x5446aa(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x87c578,0xc,_0x3f43a8[0x9]),_0x573958=_0x5446aa(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x32ba60,0x11,_0x3f43a8[0xa]),_0x464f78=_0x5446aa(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x110016,0x16,_0x3f43a8[0xb]),_0x5be04f=_0x5446aa(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x344623,0x7,_0x3f43a8[0xc]),_0x3d8ea2=_0x5446aa(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x4b5db9,0xc,_0x3f43a8[0xd]),_0x573958=_0x5446aa(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x505dab,0x11,_0x3f43a8[0xe]),_0x464f78=_0x5446aa(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x5471c9,0x16,_0x3f43a8[0xf]),_0x5be04f=_0x2247ba(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x5d64a2,0x5,_0x3f43a8[0x10]),_0x3d8ea2=_0x2247ba(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x1ee104,0x9,_0x3f43a8[0x11]),_0x573958=_0x2247ba(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x110016,0xe,_0x3f43a8[0x12]),_0x464f78=_0x2247ba(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x3f080f,0x14,_0x3f43a8[0x13]),_0x5be04f=_0x2247ba(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x3d560a,0x5,_0x3f43a8[0x14]),_0x3d8ea2=_0x2247ba(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x32ba60,0x9,_0x3f43a8[0x15]),_0x573958=_0x2247ba(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x5471c9,0xe,_0x3f43a8[0x16]),_0x464f78=_0x2247ba(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x2e6b7f,0x14,_0x3f43a8[0x17]),_0x5be04f=_0x2247ba(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x87c578,0x5,_0x3f43a8[0x18]),_0x3d8ea2=_0x2247ba(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x505dab,0x9,_0x3f43a8[0x19]),_0x573958=_0x2247ba(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x5f5060,0xe,_0x3f43a8[0x1a]),_0x464f78=_0x2247ba(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x197149,0x14,_0x3f43a8[0x1b]),_0x5be04f=_0x2247ba(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x4b5db9,0x5,_0x3f43a8[0x1c]),_0x3d8ea2=_0x2247ba(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x30c194,0x9,_0x3f43a8[0x1d]),_0x573958=_0x2247ba(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x4e3039,0xe,_0x3f43a8[0x1e]),_0x464f78=_0x2247ba(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x344623,0x14,_0x3f43a8[0x1f]),_0x5be04f=_0x4d2c0a(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x3d560a,0x4,_0x3f43a8[0x20]),_0x3d8ea2=_0x4d2c0a(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x197149,0xb,_0x3f43a8[0x21]),_0x573958=_0x4d2c0a(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x110016,0x10,_0x3f43a8[0x22]),_0x464f78=_0x4d2c0a(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x505dab,0x17,_0x3f43a8[0x23]),_0x5be04f=_0x4d2c0a(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x5d64a2,0x4,_0x3f43a8[0x24]),_0x3d8ea2=_0x4d2c0a(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x2e6b7f,0xb,_0x3f43a8[0x25]),_0x573958=_0x4d2c0a(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x4e3039,0x10,_0x3f43a8[0x26]),_0x464f78=_0x4d2c0a(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x32ba60,0x17,_0x3f43a8[0x27]),_0x5be04f=_0x4d2c0a(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x4b5db9,0x4,_0x3f43a8[0x28]),_0x3d8ea2=_0x4d2c0a(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x3f080f,0xb,_0x3f43a8[0x29]),_0x573958=_0x4d2c0a(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x5f5060,0x10,_0x3f43a8[0x2a]),_0x464f78=_0x4d2c0a(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x1ee104,0x17,_0x3f43a8[0x2b]),_0x5be04f=_0x4d2c0a(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x87c578,0x4,_0x3f43a8[0x2c]),_0x3d8ea2=_0x4d2c0a(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x344623,0xb,_0x3f43a8[0x2d]),_0x573958=_0x4d2c0a(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x5471c9,0x10,_0x3f43a8[0x2e]),_0x464f78=_0x4d2c0a(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x30c194,0x17,_0x3f43a8[0x2f]),_0x5be04f=_0x2e0d34(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x3f080f,0x6,_0x3f43a8[0x30]),_0x3d8ea2=_0x2e0d34(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x4e3039,0xa,_0x3f43a8[0x31]),_0x573958=_0x2e0d34(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x505dab,0xf,_0x3f43a8[0x32]),_0x464f78=_0x2e0d34(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x3d560a,0x15,_0x3f43a8[0x33]),_0x5be04f=_0x2e0d34(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x344623,0x6,_0x3f43a8[0x34]),_0x3d8ea2=_0x2e0d34(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x5f5060,0xa,_0x3f43a8[0x35]),_0x573958=_0x2e0d34(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x32ba60,0xf,_0x3f43a8[0x36]),_0x464f78=_0x2e0d34(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x5d64a2,0x15,_0x3f43a8[0x37]),_0x5be04f=_0x2e0d34(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x197149,0x6,_0x3f43a8[0x38]),_0x3d8ea2=_0x2e0d34(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x5471c9,0xa,_0x3f43a8[0x39]),_0x573958=_0x2e0d34(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x1ee104,0xf,_0x3f43a8[0x3a]),_0x464f78=_0x2e0d34(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x4b5db9,0x15,_0x3f43a8[0x3b]),_0x5be04f=_0x2e0d34(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x2e6b7f,0x6,_0x3f43a8[0x3c]),_0x3d8ea2=_0x2e0d34(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x110016,0xa,_0x3f43a8[0x3d]),_0x573958=_0x2e0d34(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x30c194,0xf,_0x3f43a8[0x3e]),_0x464f78=_0x2e0d34(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x87c578,0x15,_0x3f43a8[0x3f]),_0x49d36c[0x0]=_0x49d36c[0x0]+_0x5be04f|0x0,_0x49d36c[0x1]=_0x49d36c[0x1]+_0x464f78|0x0,_0x49d36c[0x2]=_0x49d36c[0x2]+_0x573958|0x0,_0x49d36c[0x3]=_0x49d36c[0x3]+_0x3d8ea2|0x0;},'_doFinalize':function(){const _0x5987e2=_0x32b802;var _0x2f064c=this[_0x5987e2(0x2f0)],_0x13e193=_0x2f064c[_0x5987e2(0x57a)],_0x3023c5=this['_nDataBytes']*0x8,_0x337b86=_0x2f064c['sigBytes']*0x8;_0x13e193[_0x337b86>>>0x5]|=0x80<<0x18-_0x337b86%0x20;var _0xbb4a2c=_0x1d7d63[_0x5987e2(0x3b4)](_0x3023c5/0x100000000),_0x28f206=_0x3023c5;_0x13e193[(_0x337b86+0x40>>>0x9<<0x4)+0xf]=(_0xbb4a2c<<0x8|_0xbb4a2c>>>0x18)&0xff00ff|(_0xbb4a2c<<0x18|_0xbb4a2c>>>0x8)&0xff00ff00,_0x13e193[(_0x337b86+0x40>>>0x9<<0x4)+0xe]=(_0x28f206<<0x8|_0x28f206>>>0x18)&0xff00ff|(_0x28f206<<0x18|_0x28f206>>>0x8)&0xff00ff00,_0x2f064c['sigBytes']=(_0x13e193[_0x5987e2(0x4e9)]+0x1)*0x4,this[_0x5987e2(0x588)]();for(var _0x54907e=this[_0x5987e2(0x334)],_0x37ee9b=_0x54907e[_0x5987e2(0x57a)],_0x2792f5=0x0;_0x2792f5<0x4;_0x2792f5++){var _0x5b9f73=_0x37ee9b[_0x2792f5];_0x37ee9b[_0x2792f5]=(_0x5b9f73<<0x8|_0x5b9f73>>>0x18)&0xff00ff|(_0x5b9f73<<0x18|_0x5b9f73>>>0x8)&0xff00ff00;}return _0x54907e;},'clone':function(){const _0xe7232d=_0x32b802;var _0x39cc7a=_0x5cd695[_0xe7232d(0x4ec)][_0xe7232d(0x2c2)](this);return _0x39cc7a[_0xe7232d(0x334)]=this[_0xe7232d(0x334)][_0xe7232d(0x4ec)](),_0x39cc7a;}});function _0x5446aa(_0x256f1a,_0x2db97c,_0x363a76,_0x28aec7,_0x597c44,_0x3f3e81,_0x4009c3){var _0x1e8274=_0x256f1a+(_0x2db97c&_0x363a76|~_0x2db97c&_0x28aec7)+_0x597c44+_0x4009c3;return(_0x1e8274<<_0x3f3e81|_0x1e8274>>>0x20-_0x3f3e81)+_0x2db97c;}function _0x2247ba(_0xd038a3,_0x8704bf,_0x496d57,_0x4d93d7,_0x4cdd2a,_0x4e2de5,_0x4419df){var _0x11b5c7=_0xd038a3+(_0x8704bf&_0x4d93d7|_0x496d57&~_0x4d93d7)+_0x4cdd2a+_0x4419df;return(_0x11b5c7<<_0x4e2de5|_0x11b5c7>>>0x20-_0x4e2de5)+_0x8704bf;}function _0x4d2c0a(_0x5f03a7,_0x38ded5,_0x73da77,_0xae1cf9,_0x354167,_0x215ee5,_0x55f8ba){var _0x97018a=_0x5f03a7+(_0x38ded5^_0x73da77^_0xae1cf9)+_0x354167+_0x55f8ba;return(_0x97018a<<_0x215ee5|_0x97018a>>>0x20-_0x215ee5)+_0x38ded5;}function _0x2e0d34(_0x5ac66d,_0x2712ec,_0xcb540e,_0x3a9512,_0x13d0e0,_0x484574,_0x53c466){var _0x1d1f21=_0x5ac66d+(_0xcb540e^(_0x2712ec|~_0x3a9512))+_0x13d0e0+_0x53c466;return(_0x1d1f21<<_0x484574|_0x1d1f21>>>0x20-_0x484574)+_0x2712ec;}_0x3bb610[_0x32b802(0x511)]=_0x5cd695[_0x32b802(0x586)](_0x21ef41),_0x3bb610[_0x32b802(0x25a)]=_0x5cd695[_0x32b802(0x454)](_0x21ef41);}(Math),_0x1955a9[_0x4267ac(0x511)];}));}(Gt)),Gt[_0x18e5a2(0x570)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function ja(){return Qs||(Qs=0x1,function(_0x8fda56,_0x647fe5){(function(_0x21b6fe,_0x52a033){const _0x7a6721=_0x1083;_0x8fda56[_0x7a6721(0x570)]=_0x52a033(ue());}(Z,function(_0x56829f){const _0x5840ac=_0x1083;return(function(){const _0x437ed9=_0x1083;var _0x493a62=_0x56829f,_0x1a744f=_0x493a62[_0x437ed9(0x389)],_0x4fb0e3=_0x1a744f['WordArray'],_0x3af967=_0x1a744f[_0x437ed9(0x3a7)],_0x4be4cf=_0x493a62[_0x437ed9(0x3d2)],_0x2448ce=[],_0xa6d73d=_0x4be4cf['SHA1']=_0x3af967[_0x437ed9(0x453)]({'_doReset':function(){const _0x4c8add=_0x437ed9;this[_0x4c8add(0x334)]=new _0x4fb0e3[(_0x4c8add(0x46a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x552d4e,_0xd1097d){const _0x4a1a35=_0x437ed9;for(var _0x96d728=this[_0x4a1a35(0x334)][_0x4a1a35(0x57a)],_0x303102=_0x96d728[0x0],_0x73476f=_0x96d728[0x1],_0x53d404=_0x96d728[0x2],_0xe3c746=_0x96d728[0x3],_0x4480a6=_0x96d728[0x4],_0x36c320=0x0;_0x36c320<0x50;_0x36c320++){if(_0x36c320<0x10)_0x2448ce[_0x36c320]=_0x552d4e[_0xd1097d+_0x36c320]|0x0;else{var _0x1ccd02=_0x2448ce[_0x36c320-0x3]^_0x2448ce[_0x36c320-0x8]^_0x2448ce[_0x36c320-0xe]^_0x2448ce[_0x36c320-0x10];_0x2448ce[_0x36c320]=_0x1ccd02<<0x1|_0x1ccd02>>>0x1f;}var _0xda0c93=(_0x303102<<0x5|_0x303102>>>0x1b)+_0x4480a6+_0x2448ce[_0x36c320];_0x36c320<0x14?_0xda0c93+=(_0x73476f&_0x53d404|~_0x73476f&_0xe3c746)+0x5a827999:_0x36c320<0x28?_0xda0c93+=(_0x73476f^_0x53d404^_0xe3c746)+0x6ed9eba1:_0x36c320<0x3c?_0xda0c93+=(_0x73476f&_0x53d404|_0x73476f&_0xe3c746|_0x53d404&_0xe3c746)-0x70e44324:_0xda0c93+=(_0x73476f^_0x53d404^_0xe3c746)-0x359d3e2a,_0x4480a6=_0xe3c746,_0xe3c746=_0x53d404,_0x53d404=_0x73476f<<0x1e|_0x73476f>>>0x2,_0x73476f=_0x303102,_0x303102=_0xda0c93;}_0x96d728[0x0]=_0x96d728[0x0]+_0x303102|0x0,_0x96d728[0x1]=_0x96d728[0x1]+_0x73476f|0x0,_0x96d728[0x2]=_0x96d728[0x2]+_0x53d404|0x0,_0x96d728[0x3]=_0x96d728[0x3]+_0xe3c746|0x0,_0x96d728[0x4]=_0x96d728[0x4]+_0x4480a6|0x0;},'_doFinalize':function(){const _0x1d4ac8=_0x437ed9;var _0xabe02f=this[_0x1d4ac8(0x2f0)],_0x30fc0a=_0xabe02f[_0x1d4ac8(0x57a)],_0x278761=this[_0x1d4ac8(0x1fd)]*0x8,_0x54cc6f=_0xabe02f[_0x1d4ac8(0x45d)]*0x8;return _0x30fc0a[_0x54cc6f>>>0x5]|=0x80<<0x18-_0x54cc6f%0x20,_0x30fc0a[(_0x54cc6f+0x40>>>0x9<<0x4)+0xe]=Math[_0x1d4ac8(0x3b4)](_0x278761/0x100000000),_0x30fc0a[(_0x54cc6f+0x40>>>0x9<<0x4)+0xf]=_0x278761,_0xabe02f[_0x1d4ac8(0x45d)]=_0x30fc0a['length']*0x4,this['_process'](),this[_0x1d4ac8(0x334)];},'clone':function(){const _0x5bc2a9=_0x437ed9;var _0x4709b4=_0x3af967[_0x5bc2a9(0x4ec)][_0x5bc2a9(0x2c2)](this);return _0x4709b4[_0x5bc2a9(0x334)]=this[_0x5bc2a9(0x334)][_0x5bc2a9(0x4ec)](),_0x4709b4;}});_0x493a62[_0x437ed9(0x417)]=_0x3af967[_0x437ed9(0x586)](_0xa6d73d),_0x493a62[_0x437ed9(0x3f1)]=_0x3af967[_0x437ed9(0x454)](_0xa6d73d);}()),_0x56829f[_0x5840ac(0x417)];}));}(Kt)),Kt['exports'];}var zt={'exports':{}},ei;function Ba(){const _0x1667c1=_0x3d192e;return ei||(ei=0x1,function(_0x36b55e,_0x4b8fa9){(function(_0x32ff35,_0x2b9475){const _0x550d6a=_0x1083;_0x36b55e[_0x550d6a(0x570)]=_0x2b9475(ue());}(Z,function(_0x1ab69e){(function(){const _0x38d984=_0x1083;var _0x2d2a80=_0x1ab69e,_0x1e9264=_0x2d2a80['lib'],_0x2c252e=_0x1e9264[_0x38d984(0x3c0)],_0x5459f3=_0x2d2a80[_0x38d984(0x29f)],_0x2268f5=_0x5459f3[_0x38d984(0x30e)],_0xdcdb1d=_0x2d2a80[_0x38d984(0x3d2)];_0xdcdb1d['HMAC']=_0x2c252e[_0x38d984(0x453)]({'init':function(_0x47316f,_0x21c5cb){const _0x10926b=_0x38d984;_0x47316f=this['_hasher']=new _0x47316f[(_0x10926b(0x46a))](),typeof _0x21c5cb==_0x10926b(0x258)&&(_0x21c5cb=_0x2268f5[_0x10926b(0x4da)](_0x21c5cb));var _0x198352=_0x47316f['blockSize'],_0x4b1a07=_0x198352*0x4;_0x21c5cb[_0x10926b(0x45d)]>_0x4b1a07&&(_0x21c5cb=_0x47316f[_0x10926b(0x3c9)](_0x21c5cb)),_0x21c5cb[_0x10926b(0x336)]();for(var _0x15f48b=this['_oKey']=_0x21c5cb[_0x10926b(0x4ec)](),_0x49d767=this[_0x10926b(0x29e)]=_0x21c5cb[_0x10926b(0x4ec)](),_0x358dd7=_0x15f48b[_0x10926b(0x57a)],_0x1b3d0f=_0x49d767['words'],_0x1d955b=0x0;_0x1d955b<_0x198352;_0x1d955b++)_0x358dd7[_0x1d955b]^=0x5c5c5c5c,_0x1b3d0f[_0x1d955b]^=0x36363636;_0x15f48b['sigBytes']=_0x49d767[_0x10926b(0x45d)]=_0x4b1a07,this[_0x10926b(0x26e)]();},'reset':function(){const _0x228521=_0x38d984;var _0xe084b2=this[_0x228521(0x4c2)];_0xe084b2[_0x228521(0x26e)](),_0xe084b2[_0x228521(0x1d9)](this['_iKey']);},'update':function(_0x1a014b){const _0x550837=_0x38d984;return this['_hasher'][_0x550837(0x1d9)](_0x1a014b),this;},'finalize':function(_0x19d1b0){const _0x5e301f=_0x38d984;var _0x4d52af=this['_hasher'],_0x2f8be5=_0x4d52af[_0x5e301f(0x3c9)](_0x19d1b0);_0x4d52af[_0x5e301f(0x26e)]();var _0x5957f9=_0x4d52af[_0x5e301f(0x3c9)](this['_oKey'][_0x5e301f(0x4ec)]()[_0x5e301f(0x351)](_0x2f8be5));return _0x5957f9;}});}());}));}(zt)),zt[_0x1667c1(0x570)];}var ti;function ki(){const _0x28cc7a=_0x3d192e;return ti||(ti=0x1,function(_0x24a43e,_0x22774f){(function(_0x3519f0,_0x2fe875,_0x103647){_0x24a43e['exports']=_0x2fe875(ue(),ja(),Ba());}(Z,function(_0x215112){const _0x324dd0=_0x1083;return(function(){const _0x5b8941=_0x1083;var _0x385a77=_0x215112,_0x270585=_0x385a77[_0x5b8941(0x389)],_0x5a82b4=_0x270585[_0x5b8941(0x3c0)],_0x275f3f=_0x270585[_0x5b8941(0x35d)],_0x227604=_0x385a77['algo'],_0x5c4568=_0x227604[_0x5b8941(0x511)],_0x376d0d=_0x227604[_0x5b8941(0x559)]=_0x5a82b4[_0x5b8941(0x453)]({'cfg':_0x5a82b4[_0x5b8941(0x453)]({'keySize':0x80/0x20,'hasher':_0x5c4568,'iterations':0x1}),'init':function(_0x5ac41b){const _0x38c0bd=_0x5b8941;this['cfg']=this[_0x38c0bd(0x1c3)][_0x38c0bd(0x453)](_0x5ac41b);},'compute':function(_0x2ca33b,_0x12d8fe){const _0x3e76f8=_0x5b8941;for(var _0x1e52d9,_0x3c8f53=this['cfg'],_0x3c0265=_0x3c8f53[_0x3e76f8(0x1f3)][_0x3e76f8(0x398)](),_0x1cbbf3=_0x275f3f[_0x3e76f8(0x398)](),_0x40a30a=_0x1cbbf3[_0x3e76f8(0x57a)],_0x481550=_0x3c8f53[_0x3e76f8(0x4a5)],_0x54df34=_0x3c8f53['iterations'];_0x40a30a['length']<_0x481550;){_0x1e52d9&&_0x3c0265[_0x3e76f8(0x1d9)](_0x1e52d9),_0x1e52d9=_0x3c0265[_0x3e76f8(0x1d9)](_0x2ca33b)[_0x3e76f8(0x3c9)](_0x12d8fe),_0x3c0265['reset']();for(var _0x193f91=0x1;_0x193f91<_0x54df34;_0x193f91++)_0x1e52d9=_0x3c0265['finalize'](_0x1e52d9),_0x3c0265[_0x3e76f8(0x26e)]();_0x1cbbf3[_0x3e76f8(0x351)](_0x1e52d9);}return _0x1cbbf3['sigBytes']=_0x481550*0x4,_0x1cbbf3;}});_0x385a77['EvpKDF']=function(_0x38c65b,_0x400440,_0x18e40e){const _0x3fc22d=_0x5b8941;return _0x376d0d['create'](_0x18e40e)[_0x3fc22d(0x2b8)](_0x38c65b,_0x400440);};}()),_0x215112[_0x324dd0(0x559)];}));}(Yt)),Yt[_0x28cc7a(0x570)];}var qt={'exports':{}},si;function Wi(){const _0x2723f3=_0x3d192e;return si||(si=0x1,function(_0x1346e9,_0x4711df){(function(_0x221c09,_0x45fbb0,_0x1494b9){_0x1346e9['exports']=_0x45fbb0(ue(),ki());}(Z,function(_0x3b7ea7){const _0x39def3=_0x1083;_0x3b7ea7[_0x39def3(0x389)][_0x39def3(0x581)]||function(_0xd81dd0){const _0x1f913a=_0x39def3;var _0x17b3e4=_0x3b7ea7,_0x87e5e0=_0x17b3e4['lib'],_0x561480=_0x87e5e0[_0x1f913a(0x3c0)],_0x1f5013=_0x87e5e0[_0x1f913a(0x35d)],_0x2e225e=_0x87e5e0[_0x1f913a(0x3e3)],_0x18c501=_0x17b3e4[_0x1f913a(0x29f)];_0x18c501['Utf8'];var _0x280254=_0x18c501[_0x1f913a(0x196)],_0x160e58=_0x17b3e4[_0x1f913a(0x3d2)],_0x33ba5f=_0x160e58[_0x1f913a(0x559)],_0x4648e6=_0x87e5e0[_0x1f913a(0x581)]=_0x2e225e[_0x1f913a(0x453)]({'cfg':_0x561480[_0x1f913a(0x453)](),'createEncryptor':function(_0x16bdb8,_0xeb7ce){const _0x164566=_0x1f913a;return this[_0x164566(0x398)](this[_0x164566(0x44c)],_0x16bdb8,_0xeb7ce);},'createDecryptor':function(_0xfe223,_0x10a28a){const _0x34b796=_0x1f913a;return this[_0x34b796(0x398)](this[_0x34b796(0x24e)],_0xfe223,_0x10a28a);},'init':function(_0x51ffb0,_0x198377,_0x2076f9){const _0x47b12c=_0x1f913a;this[_0x47b12c(0x1c3)]=this[_0x47b12c(0x1c3)][_0x47b12c(0x453)](_0x2076f9),this[_0x47b12c(0x435)]=_0x51ffb0,this[_0x47b12c(0x2e0)]=_0x198377,this[_0x47b12c(0x26e)]();},'reset':function(){const _0x3d6f47=_0x1f913a;_0x2e225e[_0x3d6f47(0x26e)]['call'](this),this['_doReset']();},'process':function(_0x4a1a73){const _0x214bab=_0x1f913a;return this[_0x214bab(0x2ed)](_0x4a1a73),this[_0x214bab(0x588)]();},'finalize':function(_0x3516d1){const _0x1d6ab3=_0x1f913a;_0x3516d1&&this['_append'](_0x3516d1);var _0x4f40e5=this[_0x1d6ab3(0x4b6)]();return _0x4f40e5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1b33d0(_0x40b608){const _0xc7d1d=_0x1083;return typeof _0x40b608==_0xc7d1d(0x258)?_0x4c8314:_0x288ed;}return function(_0x20f301){return{'encrypt':function(_0x1a879e,_0x146844,_0xdfa846){const _0x124d5c=_0x1083;return _0x1b33d0(_0x146844)[_0x124d5c(0x460)](_0x20f301,_0x1a879e,_0x146844,_0xdfa846);},'decrypt':function(_0x282dc5,_0x2235f5,_0x2714ac){const _0x3e870c=_0x1083;return _0x1b33d0(_0x2235f5)[_0x3e870c(0x46c)](_0x20f301,_0x282dc5,_0x2235f5,_0x2714ac);}};};}())});_0x87e5e0['StreamCipher']=_0x4648e6['extend']({'_doFinalize':function(){const _0x1058f9=_0x1f913a;var _0x10af76=this[_0x1058f9(0x588)](!0x0);return _0x10af76;},'blockSize':0x1});var _0x267bc2=_0x17b3e4[_0x1f913a(0x481)]={},_0x2ce036=_0x87e5e0[_0x1f913a(0x3e6)]=_0x561480[_0x1f913a(0x453)]({'createEncryptor':function(_0x1d7c1a,_0x5bfd40){const _0x8eec4b=_0x1f913a;return this[_0x8eec4b(0x1c1)]['create'](_0x1d7c1a,_0x5bfd40);},'createDecryptor':function(_0x524569,_0x585be6){const _0x5ca8fb=_0x1f913a;return this[_0x5ca8fb(0x21a)]['create'](_0x524569,_0x585be6);},'init':function(_0x23c204,_0x3ff810){const _0x21497b=_0x1f913a;this[_0x21497b(0x3d6)]=_0x23c204,this[_0x21497b(0x36b)]=_0x3ff810;}}),_0x5f47c2=_0x267bc2[_0x1f913a(0x27c)]=(function(){const _0x5406db=_0x1f913a;var _0x5c1927=_0x2ce036['extend']();_0x5c1927['Encryptor']=_0x5c1927[_0x5406db(0x453)]({'processBlock':function(_0x5a9f98,_0x188817){const _0x47e8cd=_0x5406db;var _0x78b78=this[_0x47e8cd(0x3d6)],_0x1ebbde=_0x78b78[_0x47e8cd(0x3fa)];_0x1c593b[_0x47e8cd(0x2c2)](this,_0x5a9f98,_0x188817,_0x1ebbde),_0x78b78['encryptBlock'](_0x5a9f98,_0x188817),this[_0x47e8cd(0x38e)]=_0x5a9f98['slice'](_0x188817,_0x188817+_0x1ebbde);}}),_0x5c1927[_0x5406db(0x21a)]=_0x5c1927['extend']({'processBlock':function(_0x55c0f6,_0x17d331){const _0x5d45bb=_0x5406db;var _0x261167=this['_cipher'],_0x260176=_0x261167['blockSize'],_0x255460=_0x55c0f6[_0x5d45bb(0x3ca)](_0x17d331,_0x17d331+_0x260176);_0x261167[_0x5d45bb(0x1dd)](_0x55c0f6,_0x17d331),_0x1c593b[_0x5d45bb(0x2c2)](this,_0x55c0f6,_0x17d331,_0x260176),this['_prevBlock']=_0x255460;}});function _0x1c593b(_0x47f954,_0x38f42f,_0x51e1a3){const _0x124b9f=_0x5406db;var _0x4d9e19,_0x521e8f=this[_0x124b9f(0x36b)];_0x521e8f?(_0x4d9e19=_0x521e8f,this['_iv']=_0xd81dd0):_0x4d9e19=this[_0x124b9f(0x38e)];for(var _0x1ebe36=0x0;_0x1ebe36<_0x51e1a3;_0x1ebe36++)_0x47f954[_0x38f42f+_0x1ebe36]^=_0x4d9e19[_0x1ebe36];}return _0x5c1927;}()),_0xb1f14f=_0x17b3e4[_0x1f913a(0x4f5)]={},_0x1b4500=_0xb1f14f[_0x1f913a(0x4aa)]={'pad':function(_0x4cbef4,_0x3014de){const _0x1d525b=_0x1f913a;for(var _0x13dc06=_0x3014de*0x4,_0x2503bf=_0x13dc06-_0x4cbef4[_0x1d525b(0x45d)]%_0x13dc06,_0xc9ec8=_0x2503bf<<0x18|_0x2503bf<<0x10|_0x2503bf<<0x8|_0x2503bf,_0x7927ce=[],_0x3e5a4e=0x0;_0x3e5a4e<_0x2503bf;_0x3e5a4e+=0x4)_0x7927ce[_0x1d525b(0x24b)](_0xc9ec8);var _0x1f4084=_0x1f5013[_0x1d525b(0x398)](_0x7927ce,_0x2503bf);_0x4cbef4[_0x1d525b(0x351)](_0x1f4084);},'unpad':function(_0x11a8c3){const _0x310fa1=_0x1f913a;var _0x2c637c=_0x11a8c3[_0x310fa1(0x57a)][_0x11a8c3['sigBytes']-0x1>>>0x2]&0xff;_0x11a8c3[_0x310fa1(0x45d)]-=_0x2c637c;}};_0x87e5e0[_0x1f913a(0x48a)]=_0x4648e6[_0x1f913a(0x453)]({'cfg':_0x4648e6[_0x1f913a(0x1c3)]['extend']({'mode':_0x5f47c2,'padding':_0x1b4500}),'reset':function(){const _0x1ef540=_0x1f913a;var _0x5ce6d8;_0x4648e6[_0x1ef540(0x26e)][_0x1ef540(0x2c2)](this);var _0x339c9b=this[_0x1ef540(0x1c3)],_0x1d8063=_0x339c9b['iv'],_0x16467c=_0x339c9b[_0x1ef540(0x481)];this[_0x1ef540(0x435)]==this['_ENC_XFORM_MODE']?_0x5ce6d8=_0x16467c['createEncryptor']:(_0x5ce6d8=_0x16467c[_0x1ef540(0x1c7)],this[_0x1ef540(0x32b)]=0x1),this['_mode']&&this[_0x1ef540(0x477)][_0x1ef540(0x202)]==_0x5ce6d8?this[_0x1ef540(0x477)][_0x1ef540(0x46a)](this,_0x1d8063&&_0x1d8063['words']):(this[_0x1ef540(0x477)]=_0x5ce6d8[_0x1ef540(0x2c2)](_0x16467c,this,_0x1d8063&&_0x1d8063[_0x1ef540(0x57a)]),this[_0x1ef540(0x477)]['__creator']=_0x5ce6d8);},'_doProcessBlock':function(_0x5ef68a,_0x406e4f){const _0x24b4d5=_0x1f913a;this[_0x24b4d5(0x477)][_0x24b4d5(0x27b)](_0x5ef68a,_0x406e4f);},'_doFinalize':function(){const _0x37c0f4=_0x1f913a;var _0x4ea791,_0x3d4fbc=this['cfg']['padding'];return this['_xformMode']==this[_0x37c0f4(0x44c)]?(_0x3d4fbc[_0x37c0f4(0x4f5)](this['_data'],this['blockSize']),_0x4ea791=this[_0x37c0f4(0x588)](!0x0)):(_0x4ea791=this[_0x37c0f4(0x588)](!0x0),_0x3d4fbc['unpad'](_0x4ea791)),_0x4ea791;},'blockSize':0x80/0x20});var _0x594120=_0x87e5e0[_0x1f913a(0x380)]=_0x561480[_0x1f913a(0x453)]({'init':function(_0xec5758){this['mixIn'](_0xec5758);},'toString':function(_0x2137c5){const _0x10b232=_0x1f913a;return(_0x2137c5||this[_0x10b232(0x44d)])[_0x10b232(0x4fa)](this);}}),_0x559eab=_0x17b3e4[_0x1f913a(0x50c)]={},_0x44def0=_0x559eab[_0x1f913a(0x59b)]={'stringify':function(_0x4dc053){const _0xe4357b=_0x1f913a;var _0x24fe0a,_0x307419=_0x4dc053[_0xe4357b(0x393)],_0x352e28=_0x4dc053['salt'];return _0x352e28?_0x24fe0a=_0x1f5013[_0xe4357b(0x398)]([0x53616c74,0x65645f5f])[_0xe4357b(0x351)](_0x352e28)[_0xe4357b(0x351)](_0x307419):_0x24fe0a=_0x307419,_0x24fe0a['toString'](_0x280254);},'parse':function(_0x41295d){const _0x297c8b=_0x1f913a;var _0x11b82e,_0x39b5f4=_0x280254[_0x297c8b(0x4da)](_0x41295d),_0x29b7c7=_0x39b5f4[_0x297c8b(0x57a)];return _0x29b7c7[0x0]==0x53616c74&&_0x29b7c7[0x1]==0x65645f5f&&(_0x11b82e=_0x1f5013['create'](_0x29b7c7[_0x297c8b(0x3ca)](0x2,0x4)),_0x29b7c7[_0x297c8b(0x1ab)](0x0,0x4),_0x39b5f4['sigBytes']-=0x10),_0x594120[_0x297c8b(0x398)]({'ciphertext':_0x39b5f4,'salt':_0x11b82e});}},_0x288ed=_0x87e5e0['SerializableCipher']=_0x561480[_0x1f913a(0x453)]({'cfg':_0x561480['extend']({'format':_0x44def0}),'encrypt':function(_0x31f11d,_0x566da2,_0x39adea,_0x2f077f){const _0x4b076f=_0x1f913a;_0x2f077f=this[_0x4b076f(0x1c3)][_0x4b076f(0x453)](_0x2f077f);var _0xc53082=_0x31f11d[_0x4b076f(0x591)](_0x39adea,_0x2f077f),_0xba45b7=_0xc53082[_0x4b076f(0x3c9)](_0x566da2),_0x2e6411=_0xc53082['cfg'];return _0x594120[_0x4b076f(0x398)]({'ciphertext':_0xba45b7,'key':_0x39adea,'iv':_0x2e6411['iv'],'algorithm':_0x31f11d,'mode':_0x2e6411[_0x4b076f(0x481)],'padding':_0x2e6411[_0x4b076f(0x4c3)],'blockSize':_0x31f11d[_0x4b076f(0x3fa)],'formatter':_0x2f077f['format']});},'decrypt':function(_0x4311f6,_0x4d0812,_0x1caf7c,_0x10aab3){const _0x50b946=_0x1f913a;_0x10aab3=this[_0x50b946(0x1c3)][_0x50b946(0x453)](_0x10aab3),_0x4d0812=this[_0x50b946(0x2dd)](_0x4d0812,_0x10aab3[_0x50b946(0x50c)]);var _0x30946d=_0x4311f6['createDecryptor'](_0x1caf7c,_0x10aab3)[_0x50b946(0x3c9)](_0x4d0812[_0x50b946(0x393)]);return _0x30946d;},'_parse':function(_0x1da3d4,_0xc7a4d){const _0x46f1be=_0x1f913a;return typeof _0x1da3d4==_0x46f1be(0x258)?_0xc7a4d[_0x46f1be(0x4da)](_0x1da3d4,this):_0x1da3d4;}}),_0xc149fd=_0x17b3e4[_0x1f913a(0x268)]={},_0xe6418a=_0xc149fd[_0x1f913a(0x59b)]={'execute':function(_0x2d9172,_0x7a0fac,_0x3746b3,_0x2636e9,_0x5be4a9){const _0x424ddb=_0x1f913a;if(_0x2636e9||(_0x2636e9=_0x1f5013[_0x424ddb(0x36d)](0x40/0x8)),_0x5be4a9)var _0x2192ce=_0x33ba5f[_0x424ddb(0x398)]({'keySize':_0x7a0fac+_0x3746b3,'hasher':_0x5be4a9})['compute'](_0x2d9172,_0x2636e9);else var _0x2192ce=_0x33ba5f[_0x424ddb(0x398)]({'keySize':_0x7a0fac+_0x3746b3})[_0x424ddb(0x2b8)](_0x2d9172,_0x2636e9);var _0x51f1b9=_0x1f5013['create'](_0x2192ce[_0x424ddb(0x57a)][_0x424ddb(0x3ca)](_0x7a0fac),_0x3746b3*0x4);return _0x2192ce['sigBytes']=_0x7a0fac*0x4,_0x594120[_0x424ddb(0x398)]({'key':_0x2192ce,'iv':_0x51f1b9,'salt':_0x2636e9});}},_0x4c8314=_0x87e5e0[_0x1f913a(0x3c7)]=_0x288ed[_0x1f913a(0x453)]({'cfg':_0x288ed[_0x1f913a(0x1c3)][_0x1f913a(0x453)]({'kdf':_0xe6418a}),'encrypt':function(_0x14bfd4,_0x2c4f86,_0x27ed67,_0x1454a4){const _0x5000d2=_0x1f913a;_0x1454a4=this[_0x5000d2(0x1c3)][_0x5000d2(0x453)](_0x1454a4);var _0x515dad=_0x1454a4[_0x5000d2(0x268)][_0x5000d2(0x4ea)](_0x27ed67,_0x14bfd4['keySize'],_0x14bfd4[_0x5000d2(0x443)],_0x1454a4['salt'],_0x1454a4['hasher']);_0x1454a4['iv']=_0x515dad['iv'];var _0x49cf3e=_0x288ed[_0x5000d2(0x460)]['call'](this,_0x14bfd4,_0x2c4f86,_0x515dad['key'],_0x1454a4);return _0x49cf3e['mixIn'](_0x515dad),_0x49cf3e;},'decrypt':function(_0x589dbc,_0xb55878,_0x806bc6,_0x17d9bc){const _0x56f950=_0x1f913a;_0x17d9bc=this[_0x56f950(0x1c3)][_0x56f950(0x453)](_0x17d9bc),_0xb55878=this[_0x56f950(0x2dd)](_0xb55878,_0x17d9bc[_0x56f950(0x50c)]);var _0x40f767=_0x17d9bc[_0x56f950(0x268)][_0x56f950(0x4ea)](_0x806bc6,_0x589dbc['keySize'],_0x589dbc[_0x56f950(0x443)],_0xb55878['salt'],_0x17d9bc[_0x56f950(0x1f3)]);_0x17d9bc['iv']=_0x40f767['iv'];var _0x535df8=_0x288ed[_0x56f950(0x46c)]['call'](this,_0x589dbc,_0xb55878,_0x40f767['key'],_0x17d9bc);return _0x535df8;}});}();}));}(qt)),qt[_0x2723f3(0x570)];}(function(_0x1f6528,_0x43f971){(function(_0x52b807,_0x25fd65,_0x9a764a){_0x1f6528['exports']=_0x25fd65(ue(),Bi(),Ha(),ki(),Wi());}(Z,function(_0x2dffcd){const _0x5320b3=_0x1083;return(function(){const _0x3647aa=_0x1083;var _0x345e41=_0x2dffcd,_0x7104b=_0x345e41[_0x3647aa(0x389)],_0x4e631e=_0x7104b[_0x3647aa(0x48a)],_0x244c11=_0x345e41[_0x3647aa(0x3d2)],_0x352bd7=[],_0x1b7bfe=[],_0x4df7cf=[],_0x175f43=[],_0x2238df=[],_0x165a5f=[],_0xce033=[],_0x5c9a17=[],_0x25bee2=[],_0x1a520c=[];(function(){for(var _0x5a7569=[],_0x1b8770=0x0;_0x1b8770<0x100;_0x1b8770++)_0x1b8770<0x80?_0x5a7569[_0x1b8770]=_0x1b8770<<0x1:_0x5a7569[_0x1b8770]=_0x1b8770<<0x1^0x11b;for(var _0x26fae8=0x0,_0x45b334=0x0,_0x1b8770=0x0;_0x1b8770<0x100;_0x1b8770++){var _0x6a3701=_0x45b334^_0x45b334<<0x1^_0x45b334<<0x2^_0x45b334<<0x3^_0x45b334<<0x4;_0x6a3701=_0x6a3701>>>0x8^_0x6a3701&0xff^0x63,_0x352bd7[_0x26fae8]=_0x6a3701,_0x1b7bfe[_0x6a3701]=_0x26fae8;var _0x2033ac=_0x5a7569[_0x26fae8],_0x3d142c=_0x5a7569[_0x2033ac],_0x5d34ef=_0x5a7569[_0x3d142c],_0x1da65c=_0x5a7569[_0x6a3701]*0x101^_0x6a3701*0x1010100;_0x4df7cf[_0x26fae8]=_0x1da65c<<0x18|_0x1da65c>>>0x8,_0x175f43[_0x26fae8]=_0x1da65c<<0x10|_0x1da65c>>>0x10,_0x2238df[_0x26fae8]=_0x1da65c<<0x8|_0x1da65c>>>0x18,_0x165a5f[_0x26fae8]=_0x1da65c;var _0x1da65c=_0x5d34ef*0x1010101^_0x3d142c*0x10001^_0x2033ac*0x101^_0x26fae8*0x1010100;_0xce033[_0x6a3701]=_0x1da65c<<0x18|_0x1da65c>>>0x8,_0x5c9a17[_0x6a3701]=_0x1da65c<<0x10|_0x1da65c>>>0x10,_0x25bee2[_0x6a3701]=_0x1da65c<<0x8|_0x1da65c>>>0x18,_0x1a520c[_0x6a3701]=_0x1da65c,_0x26fae8?(_0x26fae8=_0x2033ac^_0x5a7569[_0x5a7569[_0x5a7569[_0x5d34ef^_0x2033ac]]],_0x45b334^=_0x5a7569[_0x5a7569[_0x45b334]]):_0x26fae8=_0x45b334=0x1;}}());var _0x32b644=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xaade09=_0x244c11['AES']=_0x4e631e['extend']({'_doReset':function(){const _0x144c1f=_0x3647aa;var _0x53a747;if(!(this[_0x144c1f(0x4bd)]&&this[_0x144c1f(0x599)]===this[_0x144c1f(0x2e0)])){for(var _0x91683a=this[_0x144c1f(0x599)]=this[_0x144c1f(0x2e0)],_0xd77d1c=_0x91683a['words'],_0x5112bc=_0x91683a[_0x144c1f(0x45d)]/0x4,_0x4990e1=this[_0x144c1f(0x4bd)]=_0x5112bc+0x6,_0x72fae2=(_0x4990e1+0x1)*0x4,_0x27bc8f=this['_keySchedule']=[],_0x4cd91d=0x0;_0x4cd91d<_0x72fae2;_0x4cd91d++)_0x4cd91d<_0x5112bc?_0x27bc8f[_0x4cd91d]=_0xd77d1c[_0x4cd91d]:(_0x53a747=_0x27bc8f[_0x4cd91d-0x1],_0x4cd91d%_0x5112bc?_0x5112bc>0x6&&_0x4cd91d%_0x5112bc==0x4&&(_0x53a747=_0x352bd7[_0x53a747>>>0x18]<<0x18|_0x352bd7[_0x53a747>>>0x10&0xff]<<0x10|_0x352bd7[_0x53a747>>>0x8&0xff]<<0x8|_0x352bd7[_0x53a747&0xff]):(_0x53a747=_0x53a747<<0x8|_0x53a747>>>0x18,_0x53a747=_0x352bd7[_0x53a747>>>0x18]<<0x18|_0x352bd7[_0x53a747>>>0x10&0xff]<<0x10|_0x352bd7[_0x53a747>>>0x8&0xff]<<0x8|_0x352bd7[_0x53a747&0xff],_0x53a747^=_0x32b644[_0x4cd91d/_0x5112bc|0x0]<<0x18),_0x27bc8f[_0x4cd91d]=_0x27bc8f[_0x4cd91d-_0x5112bc]^_0x53a747);for(var _0x3c80a9=this[_0x144c1f(0x1c9)]=[],_0x3fe265=0x0;_0x3fe265<_0x72fae2;_0x3fe265++){var _0x4cd91d=_0x72fae2-_0x3fe265;if(_0x3fe265%0x4)var _0x53a747=_0x27bc8f[_0x4cd91d];else var _0x53a747=_0x27bc8f[_0x4cd91d-0x4];_0x3fe265<0x4||_0x4cd91d<=0x4?_0x3c80a9[_0x3fe265]=_0x53a747:_0x3c80a9[_0x3fe265]=_0xce033[_0x352bd7[_0x53a747>>>0x18]]^_0x5c9a17[_0x352bd7[_0x53a747>>>0x10&0xff]]^_0x25bee2[_0x352bd7[_0x53a747>>>0x8&0xff]]^_0x1a520c[_0x352bd7[_0x53a747&0xff]];}}},'encryptBlock':function(_0x345ec8,_0x40fc74){const _0x460985=_0x3647aa;this[_0x460985(0x337)](_0x345ec8,_0x40fc74,this[_0x460985(0x590)],_0x4df7cf,_0x175f43,_0x2238df,_0x165a5f,_0x352bd7);},'decryptBlock':function(_0x28c4a4,_0x3d8db2){const _0x1ae455=_0x3647aa;var _0x10a90d=_0x28c4a4[_0x3d8db2+0x1];_0x28c4a4[_0x3d8db2+0x1]=_0x28c4a4[_0x3d8db2+0x3],_0x28c4a4[_0x3d8db2+0x3]=_0x10a90d,this[_0x1ae455(0x337)](_0x28c4a4,_0x3d8db2,this[_0x1ae455(0x1c9)],_0xce033,_0x5c9a17,_0x25bee2,_0x1a520c,_0x1b7bfe);var _0x10a90d=_0x28c4a4[_0x3d8db2+0x1];_0x28c4a4[_0x3d8db2+0x1]=_0x28c4a4[_0x3d8db2+0x3],_0x28c4a4[_0x3d8db2+0x3]=_0x10a90d;},'_doCryptBlock':function(_0x6b1cd9,_0x26ec1a,_0x4f79cd,_0x4e31bb,_0x4811de,_0x2cbccb,_0x597f52,_0x11b508){const _0x1e033e=_0x3647aa;for(var _0x3be4fa=this[_0x1e033e(0x4bd)],_0x1d481f=_0x6b1cd9[_0x26ec1a]^_0x4f79cd[0x0],_0x2b9dce=_0x6b1cd9[_0x26ec1a+0x1]^_0x4f79cd[0x1],_0x51b9ab=_0x6b1cd9[_0x26ec1a+0x2]^_0x4f79cd[0x2],_0x23079a=_0x6b1cd9[_0x26ec1a+0x3]^_0x4f79cd[0x3],_0x58aee1=0x4,_0x502b99=0x1;_0x502b99<_0x3be4fa;_0x502b99++){var _0x500a68=_0x4e31bb[_0x1d481f>>>0x18]^_0x4811de[_0x2b9dce>>>0x10&0xff]^_0x2cbccb[_0x51b9ab>>>0x8&0xff]^_0x597f52[_0x23079a&0xff]^_0x4f79cd[_0x58aee1++],_0x4e4849=_0x4e31bb[_0x2b9dce>>>0x18]^_0x4811de[_0x51b9ab>>>0x10&0xff]^_0x2cbccb[_0x23079a>>>0x8&0xff]^_0x597f52[_0x1d481f&0xff]^_0x4f79cd[_0x58aee1++],_0x40c1ad=_0x4e31bb[_0x51b9ab>>>0x18]^_0x4811de[_0x23079a>>>0x10&0xff]^_0x2cbccb[_0x1d481f>>>0x8&0xff]^_0x597f52[_0x2b9dce&0xff]^_0x4f79cd[_0x58aee1++],_0x439b39=_0x4e31bb[_0x23079a>>>0x18]^_0x4811de[_0x1d481f>>>0x10&0xff]^_0x2cbccb[_0x2b9dce>>>0x8&0xff]^_0x597f52[_0x51b9ab&0xff]^_0x4f79cd[_0x58aee1++];_0x1d481f=_0x500a68,_0x2b9dce=_0x4e4849,_0x51b9ab=_0x40c1ad,_0x23079a=_0x439b39;}var _0x500a68=(_0x11b508[_0x1d481f>>>0x18]<<0x18|_0x11b508[_0x2b9dce>>>0x10&0xff]<<0x10|_0x11b508[_0x51b9ab>>>0x8&0xff]<<0x8|_0x11b508[_0x23079a&0xff])^_0x4f79cd[_0x58aee1++],_0x4e4849=(_0x11b508[_0x2b9dce>>>0x18]<<0x18|_0x11b508[_0x51b9ab>>>0x10&0xff]<<0x10|_0x11b508[_0x23079a>>>0x8&0xff]<<0x8|_0x11b508[_0x1d481f&0xff])^_0x4f79cd[_0x58aee1++],_0x40c1ad=(_0x11b508[_0x51b9ab>>>0x18]<<0x18|_0x11b508[_0x23079a>>>0x10&0xff]<<0x10|_0x11b508[_0x1d481f>>>0x8&0xff]<<0x8|_0x11b508[_0x2b9dce&0xff])^_0x4f79cd[_0x58aee1++],_0x439b39=(_0x11b508[_0x23079a>>>0x18]<<0x18|_0x11b508[_0x1d481f>>>0x10&0xff]<<0x10|_0x11b508[_0x2b9dce>>>0x8&0xff]<<0x8|_0x11b508[_0x51b9ab&0xff])^_0x4f79cd[_0x58aee1++];_0x6b1cd9[_0x26ec1a]=_0x500a68,_0x6b1cd9[_0x26ec1a+0x1]=_0x4e4849,_0x6b1cd9[_0x26ec1a+0x2]=_0x40c1ad,_0x6b1cd9[_0x26ec1a+0x3]=_0x439b39;},'keySize':0x100/0x20});_0x345e41[_0x3647aa(0x59d)]=_0x4e631e['_createHelper'](_0xaade09);}()),_0x2dffcd[_0x5320b3(0x59d)];}));}(ji));var ka=ji['exports'];const Wa=at(ka);var Fa=Bi();const ii=at(Fa);function _0x1083(_0x5aadcb,_0x33303b){const _0x44e8d3=_0x44e8();return _0x1083=function(_0x108362,_0x262b83){_0x108362=_0x108362-0x18e;let _0x450326=_0x44e8d3[_0x108362];return _0x450326;},_0x1083(_0x5aadcb,_0x33303b);}var Fi={'exports':{}};(function(_0x2be647,_0x3d9e14){(function(_0x3c10f7,_0x296446){_0x2be647['exports']=_0x296446(ue());}(Z,function(_0x3c4590){const _0x1d902b=_0x1083;return _0x3c4590[_0x1d902b(0x29f)][_0x1d902b(0x30e)];}));}(Fi));var Va=Fi[_0x3d192e(0x570)];const Ga=at(Va);var Vi={'exports':{}};(function(_0x285f44,_0x5ced57){(function(_0x2b8c9a,_0x45d464){const _0x166322=_0x1083;_0x285f44[_0x166322(0x570)]=_0x45d464(ue());}(Z,function(_0x5d8a93){const _0x519ee3=_0x1083;return(function(){const _0x186fca=_0x1083;if(typeof ArrayBuffer==_0x186fca(0x3c5)){var _0x36c401=_0x5d8a93,_0x43b19d=_0x36c401[_0x186fca(0x389)],_0x544e2f=_0x43b19d[_0x186fca(0x35d)],_0x4c071c=_0x544e2f[_0x186fca(0x46a)],_0x5225e8=_0x544e2f['init']=function(_0x44f948){const _0x167a54=_0x186fca;if(_0x44f948 instanceof ArrayBuffer&&(_0x44f948=new Uint8Array(_0x44f948)),(_0x44f948 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x44f948 instanceof Uint8ClampedArray||_0x44f948 instanceof Int16Array||_0x44f948 instanceof Uint16Array||_0x44f948 instanceof Int32Array||_0x44f948 instanceof Uint32Array||_0x44f948 instanceof Float32Array||_0x44f948 instanceof Float64Array)&&(_0x44f948=new Uint8Array(_0x44f948['buffer'],_0x44f948['byteOffset'],_0x44f948['byteLength'])),_0x44f948 instanceof Uint8Array){for(var _0x1af258=_0x44f948[_0x167a54(0x218)],_0x4fc73b=[],_0x38e6f2=0x0;_0x38e6f2<_0x1af258;_0x38e6f2++)_0x4fc73b[_0x38e6f2>>>0x2]|=_0x44f948[_0x38e6f2]<<0x18-_0x38e6f2%0x4*0x8;_0x4c071c[_0x167a54(0x2c2)](this,_0x4fc73b,_0x1af258);}else _0x4c071c[_0x167a54(0x539)](this,arguments);};_0x5225e8['prototype']=_0x544e2f;}}()),_0x5d8a93[_0x519ee3(0x389)][_0x519ee3(0x35d)];}));}(Vi));var Ya=Vi[_0x3d192e(0x570)];const Ka=at(Ya);var Gi={'exports':{}};(function(_0xa64e94,_0x35b3f7){(function(_0x525884,_0x1aa30e,_0x554ef1){_0xa64e94['exports']=_0x1aa30e(ue(),Wi());}(Z,function(_0x3d036c){const _0x139cb5=_0x1083;return _0x3d036c[_0x139cb5(0x4f5)][_0x139cb5(0x1d4)]={'pad':function(){},'unpad':function(){}},_0x3d036c['pad']['NoPadding'];}));}(Gi));var za=Gi[_0x3d192e(0x570)];const qa=at(za);function Xa(_0x4c7c71,_0x501c7a){const _0x4b7096=_0x3d192e,_0x253dd2=_0x501c7a-_0x4c7c71['length']%_0x501c7a,_0x2de5ec=String['fromCharCode'](_0x253dd2)[_0x4b7096(0x54f)](_0x253dd2);return _0x4c7c71+_0x2de5ec;}function Ja(_0x393c64,_0x5a17da){const _0x7b02d3=_0x3d192e,_0x47ad43=Ka[_0x7b02d3(0x36d)](0x10),_0x39e8a3=Xa(_0x393c64,0x10),_0x5394d8=Wa['encrypt'](Ga[_0x7b02d3(0x4da)](_0x39e8a3),ii[_0x7b02d3(0x4da)](_0x5a17da),{'iv':_0x47ad43,'padding':qa});return _0x47ad43['concat'](_0x5394d8[_0x7b02d3(0x393)])[_0x7b02d3(0x504)](ii);}function Za(){const _0x1277b2=_0x3d192e,_0x3d8030=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x1277b2(0x2fc)];if(_0x3d8030){const _0x19e9a6={'time':Math['floor'](Date[_0x1277b2(0x30c)]()/0x3e8),'domain':location['hostname']};return Ja(JSON[_0x1277b2(0x4fa)](_0x19e9a6),_0x3d8030);}}var Qa=Object[_0x3d192e(0x494)],ec=Object[_0x3d192e(0x3e5)],tc=(_0x391fc7,_0x154c6d,_0x56c77f,_0x30125f)=>{const _0x39dcdc=_0x3d192e;for(var _0x31898f=_0x30125f>0x1?void 0x0:_0x30125f?ec(_0x154c6d,_0x56c77f):_0x154c6d,_0x5debb1=_0x391fc7[_0x39dcdc(0x4e9)]-0x1,_0x386264;_0x5debb1>=0x0;_0x5debb1--)(_0x386264=_0x391fc7[_0x5debb1])&&(_0x31898f=(_0x30125f?_0x386264(_0x154c6d,_0x56c77f,_0x31898f):_0x386264(_0x31898f))||_0x31898f);return _0x30125f&&_0x31898f&&Qa(_0x154c6d,_0x56c77f,_0x31898f),_0x31898f;},sc=(_0x553c81,_0x44c3a8)=>(_0x53fcf6,_0x4213eb)=>_0x44c3a8(_0x53fcf6,_0x4213eb,_0x553c81);let Tt=class{constructor(_0x3e7eb2){const _0x19eb6c=_0x3d192e;this[_0x19eb6c(0x22f)]=_0x3e7eb2,this[_0x19eb6c(0x251)]();}[_0x3d192e(0x251)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x2c7012,_0x2e44e9)=>{const _0x15ad54=_0x1083,_0x2484d3=_0x2c7012[_0x15ad54(0x381)],_0x32ead6=Za();return _0x32ead6&&_0x2484d3[_0x15ad54(0x467)](_0x15ad54(0x219),_0x32ead6),_0x2e44e9(_0x2c7012);}});}};Tt=tc([sc(0x0,_0x435342(_0x280c50))],Tt);var ic=Object[_0x3d192e(0x494)],nc=Object[_0x3d192e(0x3e5)],rc=(_0x5b1dbe,_0x3e6eac,_0x53a1cb,_0x4a5754)=>{const _0x161d9e=_0x3d192e;for(var _0x145e47=_0x4a5754>0x1?void 0x0:_0x4a5754?nc(_0x3e6eac,_0x53a1cb):_0x3e6eac,_0x21aa40=_0x5b1dbe[_0x161d9e(0x4e9)]-0x1,_0x2b7470;_0x21aa40>=0x0;_0x21aa40--)(_0x2b7470=_0x5b1dbe[_0x21aa40])&&(_0x145e47=(_0x4a5754?_0x2b7470(_0x3e6eac,_0x53a1cb,_0x145e47):_0x2b7470(_0x145e47))||_0x145e47);return _0x4a5754&&_0x145e47&&ic(_0x3e6eac,_0x53a1cb,_0x145e47),_0x145e47;},Xt=(_0x2cf5bf,_0x12035f)=>(_0x5f2142,_0x4ba004)=>_0x12035f(_0x5f2142,_0x4ba004,_0x2cf5bf);const oc=[_0x3d192e(0x4f9),_0x3d192e(0x544),_0x3d192e(0x45a),_0x3d192e(0x2a2),_0x3d192e(0x410)],ac=0x5*0x400*0x400,cc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',hc=_0x3d192e(0x1ef),lc=_0x3d192e(0x406),_c=_0x3d192e(0x51c);let hs=class{constructor(_0x330ef4,_0x52b1d9,_0x5db99f){const _0x10e385=_0x3d192e;g(this,_0x10e385(0x53d),0x0),g(this,'_change$',new _0x276b38()),g(this,_0x10e385(0x54d),this[_0x10e385(0x4b1)]),g(this,_0x10e385(0x30a),new Map()),(this[_0x10e385(0x22f)]=_0x330ef4,this[_0x10e385(0x295)]=_0x52b1d9,this[_0x10e385(0x43d)]=_0x5db99f);}[_0x3d192e(0x45b)](_0x4904ee){const _0x4a7292=_0x3d192e;this['_waitCount']=_0x4904ee,this[_0x4a7292(0x4b1)][_0x4a7292(0x4bc)](_0x4904ee);}['getImageSourceCache'](_0x565c8c,_0x1837dc){const _0x5e58a3=_0x3d192e;if(_0x1837dc===_0x1be8f3[_0x5e58a3(0x3de)]){const _0x4a96cc=new Image();return _0x4a96cc[_0x5e58a3(0x204)]=_0x565c8c,_0x4a96cc;}return this['_imageSourceCache'][_0x5e58a3(0x47d)](_0x565c8c);}[_0x3d192e(0x579)](_0x2a9acc,_0x40aa71,_0x26c12b){_0x40aa71===_0x1be8f3['BASE64']||_0x26c12b==null||this['_imageSourceCache']['set'](_0x2a9acc,_0x26c12b);}async['getImage'](_0x402462){const _0x271623=_0x3d192e;try{const _0xd36de6=this[_0x271623(0x1eb)](this[_0x271623(0x2b1)](),''+_0x402462),_0x18c251=(await this[_0x271623(0x22f)][_0x271623(0x47d)](_0xd36de6))[_0x271623(0x2bc)];if(_0x18c251[_0x271623(0x4f4)]&&_0x18c251[_0x271623(0x4f4)][_0x271623(0x276)]===Ri['OK']){const _0x5255bb=new URL(_0x18c251['url'],this[_0x271623(0x4a2)]())[_0x271623(0x504)]();return Promise[_0x271623(0x1b8)](_0x5255bb);}return Promise['reject'](_0x18c251[_0x271623(0x4f4)]);}catch(_0x5116e1){return Promise['reject'](_0x5116e1);}}async[_0x3d192e(0x341)](_0x31e01c){const _0x2bb7df=_0x3d192e;let _0x4d74a2='';if(!oc[_0x2bb7df(0x508)](_0x31e01c[_0x2bb7df(0x34e)]))return this[_0x2bb7df(0x4de)](),Promise[_0x2bb7df(0x19f)](new Error(_0x2e29de[_0x2bb7df(0x233)]));if(_0x31e01c[_0x2bb7df(0x549)]>ac)return this[_0x2bb7df(0x4de)](),Promise[_0x2bb7df(0x19f)](new Error(_0x2e29de[_0x2bb7df(0x1af)]));try{const _0x119358=new FormData();_0x119358[_0x2bb7df(0x4eb)](_0x2bb7df(0x1cc),_0x31e01c);const _0x4853f8=this[_0x2bb7df(0x43d)][_0x2bb7df(0x29a)](),_0x12fd34=_0x4853f8==null?void 0x0:_0x4853f8[_0x2bb7df(0x2c1)]();if(!_0x12fd34)throw new Error(_0x2bb7df(0x40c));const _0x55987e=this[_0x2bb7df(0x497)]()+_0x2bb7df(0x4bf)+_0x31e01c['size']['toString']()+_0x2bb7df(0x40d)+yi[_0x2bb7df(0x2be)]+_0x2bb7df(0x301)+encodeURIComponent(_0x12fd34),_0x3b4406=await(await fetch(_0x55987e,{'method':_0x2bb7df(0x3b9),'body':_0x119358}))[_0x2bb7df(0x27f)]();if(typeof _0x3b4406['FileId']!='string')return this['_decreaseWaiting'](),Promise[_0x2bb7df(0x19f)](new Error(_0x2e29de[_0x2bb7df(0x2c5)]));_0x4d74a2=_0x3b4406['FileId'];}catch{return this[_0x2bb7df(0x4de)](),Promise[_0x2bb7df(0x19f)](new Error(_0x2e29de['ERROR_IMAGE']));}return new Promise((_0x5c2034,_0x25d85c)=>{const _0x752ec5=_0x2bb7df,_0x284b7d=new FileReader();_0x284b7d['readAsDataURL'](_0x31e01c),_0x284b7d[_0x752ec5(0x4b2)]=_0x3b5ab6=>{const _0x5ea529=_0x752ec5;var _0x1c1d0b;const _0x5045d6=(_0x1c1d0b=_0x3b5ab6['target'])==null?void 0x0:_0x1c1d0b[_0x5ea529(0x554)];if(_0x5045d6==null){this['_decreaseWaiting'](),_0x25d85c(new Error(_0x2e29de[_0x5ea529(0x2c5)]));return;}const _0x39f0c8=_0x28e921['generateRandomId'](0x6);_0x5c2034({'imageId':_0x39f0c8,'imageSourceType':_0x1be8f3[_0x5ea529(0x445)],'source':_0x4d74a2,'base64Cache':_0x5045d6,'status':_0x2e29de[_0x5ea529(0x4be)]}),this['_decreaseWaiting']();};});}[_0x3d192e(0x497)](){const _0x22e3ab=_0x3d192e;var _0x1896de,_0x1b5b89;const _0x552a09=this[_0x22e3ab(0x295)][_0x22e3ab(0x1aa)](cc),_0x262568=this[_0x22e3ab(0x295)][_0x22e3ab(0x1aa)](ie);return(_0x1b5b89=(_0x1896de=_0x262568==null?void 0x0:_0x262568[_0x22e3ab(0x2a8)])!=null?_0x1896de:_0x552a09)!=null?_0x1b5b89:hc;}['_getSignURL'](){const _0x52efd9=_0x3d192e;var _0x1b7b12,_0x293363;const _0x12f92a=this[_0x52efd9(0x295)][_0x52efd9(0x1aa)](lc),_0x2d485b=this[_0x52efd9(0x295)]['getConfig'](ie);return(_0x293363=(_0x1b7b12=_0x2d485b==null?void 0x0:_0x2d485b['signUrlServerUrl'])!=null?_0x1b7b12:_0x12f92a)!=null?_0x293363:_c;}[_0x3d192e(0x4a2)](){const _0x1ab0ab=_0x3d192e;var _0x342f87;const _0x234995=this[_0x1ab0ab(0x295)][_0x1ab0ab(0x1aa)](ie);return(_0x342f87=_0x234995==null?void 0x0:_0x234995[_0x1ab0ab(0x5a0)])!=null?_0x342f87:location['origin'];}[_0x3d192e(0x1eb)](_0x54f3bb,_0x1a534c){const _0x42fc70=_0x3d192e;return _0x54f3bb[_0x42fc70(0x294)](_0x42fc70(0x464),_0x1a534c);}[_0x3d192e(0x4de)](){const _0x2dca9c=_0x3d192e;this[_0x2dca9c(0x53d)]-=0x1,this[_0x2dca9c(0x4b1)][_0x2dca9c(0x4bc)](this[_0x2dca9c(0x53d)]);}};hs=rc([Xt(0x0,_0x435342(_0x280c50)),Xt(0x1,_0x1b2eff),Xt(0x2,_0x435342(_0x405019))],hs);var uc=Object['defineProperty'],dc=Object[_0x3d192e(0x3e5)],fc=(_0x41bdd2,_0x309ab9,_0x28a451,_0x55d570)=>{const _0x3b7a37=_0x3d192e;for(var _0x37855c=_0x55d570>0x1?void 0x0:_0x55d570?dc(_0x309ab9,_0x28a451):_0x309ab9,_0xd0de30=_0x41bdd2[_0x3b7a37(0x4e9)]-0x1,_0x318b5f;_0xd0de30>=0x0;_0xd0de30--)(_0x318b5f=_0x41bdd2[_0xd0de30])&&(_0x37855c=(_0x55d570?_0x318b5f(_0x309ab9,_0x28a451,_0x37855c):_0x318b5f(_0x37855c))||_0x37855c);return _0x55d570&&_0x37855c&&uc(_0x309ab9,_0x28a451,_0x37855c),_0x37855c;},Qe=(_0x3f8d9a,_0xa67121)=>(_0x29b3dc,_0xb33d6a)=>_0xa67121(_0x29b3dc,_0xb33d6a,_0x3f8d9a);let Rt=class extends _0x10cb26{constructor(_0x346f0a,_0x9faaad,_0x58b1bf,_0x2b189f,_0x4bc365){const _0x54601d=_0x3d192e;super(),this[_0x54601d(0x329)]=_0x346f0a,this[_0x54601d(0x43d)]=_0x9faaad,this['_permissionService']=_0x58b1bf,this[_0x54601d(0x4ed)]=_0x2b189f,this[_0x54601d(0x32a)]=_0x4bc365,this['_initUnitPermissionChange'](),this[_0x54601d(0x482)]();}[_0x3d192e(0x482)](){const _0x40fa8e=_0x3d192e,_0x7a3078=async _0x1995cd=>{const _0x39635b=_0x1083;(await this[_0x39635b(0x4ed)][_0x39635b(0x51f)](_0x1995cd))[_0x39635b(0x513)][_0x39635b(0x407)](_0x4f86ac(_0x61cdf6=>_0x61cdf6[_0x39635b(0x1f5)]===_0x28e200[_0x39635b(0x593)]),_0x4bc87f(this[_0x39635b(0x3e1)]))[_0x39635b(0x2ce)](_0xf93d01=>{const _0x2e0f98=_0x39635b,_0x26bcbc=_0xf93d01,{reason:_0x1254e0}=_0x26bcbc[_0x2e0f98(0x383)];this[_0x2e0f98(0x329)]['get'](_0x11ef1f)['show']({'type':_0x5b8609[_0x2e0f98(0x1d0)],'content':this['_localeService']['t'](_0x2e0f98(0x1cb))+'('+_0x1254e0+')'}),this[_0x2e0f98(0x506)][_0x2e0f98(0x442)](new _0x11ffb6(_0x1995cd)['id'],!0x1),this[_0x2e0f98(0x4ed)]['closeSession'](_0x1995cd);});};_0x2eb1f5(this[_0x40fa8e(0x43d)][_0x40fa8e(0x551)](_0x1c25e8['UNIVER_SHEET']),this[_0x40fa8e(0x43d)][_0x40fa8e(0x551)](_0x1c25e8['UNIVER_DOC']))['pipe'](_0x5050a4(_0x37c354=>_0x37c354[_0x40fa8e(0x2c1)]()),_0x4f86ac(_0x239f47=>!_0x4a523d(_0x239f47)),_0x4bc87f(this[_0x40fa8e(0x3e1)]))[_0x40fa8e(0x2ce)](_0x2dce7c=>{_0x7a3078(_0x2dce7c);});}[_0x3d192e(0x33e)](){const _0x4caccf=_0x3d192e,_0xf0a4ff=async _0x5bc515=>{const _0xdb586=_0x1083;(await this[_0xdb586(0x4ed)][_0xdb586(0x51f)](_0x5bc515))['event$'][_0xdb586(0x407)](_0x4f86ac(_0x4aa855=>_0x4aa855[_0xdb586(0x1f5)]===_0x28e200[_0xdb586(0x3f9)]),_0x4bc87f(this[_0xdb586(0x3e1)]))[_0xdb586(0x2ce)](_0xfb010a=>{const _0x5eac78=_0xdb586,_0x365b48=_0xfb010a,{objectId:_0x4bee23}=_0x365b48['data'],_0x40801d=this['_injector'][_0x5eac78(0x47d)](_0x3e9ce4);_0x4bee23===_0x5bc515?_0x40801d[_0x5eac78(0x2f2)](_0x5bc515):_0x40801d[_0x5eac78(0x470)](_0x5bc515,_0x4bee23);});};_0x2eb1f5(this[_0x4caccf(0x43d)][_0x4caccf(0x551)](_0x1c25e8[_0x4caccf(0x26f)]),this[_0x4caccf(0x43d)][_0x4caccf(0x551)](_0x1c25e8['UNIVER_DOC']))['pipe'](_0x5050a4(_0x48fae7=>_0x48fae7['getUnitId']()),_0x4f86ac(_0x3dd469=>!_0x4a523d(_0x3dd469)),_0x4bc87f(this['dispose$']))[_0x4caccf(0x2ce)](_0x2299c0=>{_0xf0a4ff(_0x2299c0);});}};Rt=fc([Qe(0x0,_0x435342(_0x5a18dc)),Qe(0x1,_0x405019),Qe(0x2,_0x23a72a),Qe(0x3,_0x435342(Ae)),Qe(0x4,_0x435342(_0xef493b))],Rt);var vc=Object['defineProperty'],mc=Object['getOwnPropertyDescriptor'],pc=(_0x52d4b2,_0x487886,_0x41dbe8,_0x3b6b46)=>{const _0x5d7adf=_0x3d192e;for(var _0x1fe12a=_0x3b6b46>0x1?void 0x0:_0x3b6b46?mc(_0x487886,_0x41dbe8):_0x487886,_0x497a76=_0x52d4b2[_0x5d7adf(0x4e9)]-0x1,_0x43843b;_0x497a76>=0x0;_0x497a76--)(_0x43843b=_0x52d4b2[_0x497a76])&&(_0x1fe12a=(_0x3b6b46?_0x43843b(_0x487886,_0x41dbe8,_0x1fe12a):_0x43843b(_0x1fe12a))||_0x1fe12a);return _0x3b6b46&&_0x1fe12a&&vc(_0x487886,_0x41dbe8,_0x1fe12a),_0x1fe12a;},ni=(_0x1b421c,_0x36586f)=>(_0x5b0abd,_0x560347)=>_0x36586f(_0x5b0abd,_0x560347,_0x1b421c);let ls=class{constructor(_0x1bede0,_0x3316be){this['_configService']=_0x1bede0,this['_httpService']=_0x3316be;}async[_0x3d192e(0x4f8)](_0x48481b,_0x453b5b){const _0x2212ae=_0x3d192e;var _0x5e158d;const {unitID:_0x6e3a6,type:_0x1f2132,revision:_0x2cae79=0x0}=_0x453b5b,_0x40bc29=this[_0x2212ae(0x330)]()+'/'+_0x1f2132+_0x2212ae(0x58b)+_0x6e3a6+'/rev/'+_0x2cae79,_0x57e786=(await this['_httpService'][_0x2212ae(0x47d)](_0x40bc29))[_0x2212ae(0x2bc)],_0x241af6=(_0x5e158d=_0x57e786['snapshot'])==null?void 0x0:_0x5e158d[_0x2212ae(0x32e)];if(_0x241af6){const _0x3a81f4=_0x241af6==null?void 0x0:_0x241af6[_0x2212ae(0x523)],_0x5507cd=_0xc0d837[_0x2212ae(0x4f7)](_0x447767(_0x3a81f4));_0x241af6['originalMeta']=_0x5507cd,Object[_0x2212ae(0x1bf)](_0x241af6[_0x2212ae(0x4c7)])['forEach'](([,_0x48a1c3])=>{const _0x4bd943=_0x2212ae,_0x464735=_0x48a1c3[_0x4bd943(0x523)],_0x27a3e8=_0xc0d837['encode'](_0x447767(_0x464735));_0x48a1c3[_0x4bd943(0x523)]=_0x27a3e8;});}return _0x57e786;}async[_0x3d192e(0x373)](_0x25414d,_0x491a31){const _0x15641f=_0x3d192e,{unitID:_0x38d8dc,type:_0x33c341,blockID:_0x970ca}=_0x491a31,_0x56dc9d=this[_0x15641f(0x527)]()+'/'+_0x33c341+_0x15641f(0x58b)+_0x38d8dc+_0x15641f(0x325)+_0x970ca;return(await this[_0x15641f(0x22f)][_0x15641f(0x47d)](_0x56dc9d))['body'];}async[_0x3d192e(0x1d5)](_0x596c81,_0x32cf44){const _0x381d61=_0x3d192e,{unitID:_0x7042ec,type:_0x1d0569,blockID:_0x264571}=_0x32cf44,_0x522ee7=this[_0x381d61(0x527)]()+_0x381d61(0x325)+_0x1d0569+'/unit/'+_0x7042ec+'/block/'+_0x264571;return(await this['_httpService']['get'](_0x522ee7))['body'];}async[_0x3d192e(0x23d)](_0xf995dc,_0x2ef3af){const _0x6e2e6a=_0x3d192e,{unitID:_0x345414,type:_0x404d48,from:_0x46c9ab,to:_0x5527eb}=_0x2ef3af,_0xa021=this[_0x6e2e6a(0x527)]()+'/'+_0x404d48+_0x6e2e6a(0x58b)+_0x345414+_0x6e2e6a(0x39f)+_0x46c9ab+_0x6e2e6a(0x274)+_0x5527eb;return(await this[_0x6e2e6a(0x22f)][_0x6e2e6a(0x47d)](_0xa021))[_0x6e2e6a(0x2bc)];}[_0x3d192e(0x330)](){const _0x32c0d3=_0x3d192e;var _0x41bbab;return(_0x41bbab=this[_0x32c0d3(0x295)][_0x32c0d3(0x1aa)](ar))!=null?_0x41bbab:this[_0x32c0d3(0x527)]();}['_getAPIPrefix'](){const _0x292c49=_0x3d192e;var _0x2c103d,_0x4d5b82;const _0x407bc6=this[_0x292c49(0x295)]['getConfig'](rr),_0x232f01=this['_configService'][_0x292c49(0x1aa)](ie);return(_0x4d5b82=(_0x2c103d=_0x232f01==null?void 0x0:_0x232f01[_0x292c49(0x1fb)])!=null?_0x2c103d:_0x407bc6)!=null?_0x4d5b82:or;}async['getResourcesRequest'](_0x1df568,_0x3a01be){const _0x37dd2d=_0x3d192e,_0x1730ee=_0x37dd2d(0x4a1)+_0x3a01be[_0x37dd2d(0x34e)]+_0x37dd2d(0x58b)+_0x3a01be[_0x37dd2d(0x1dc)]+_0x37dd2d(0x353);return(await this[_0x37dd2d(0x22f)][_0x37dd2d(0x47d)](_0x1730ee,{'params':{'resourceId':JSON[_0x37dd2d(0x4fa)](_0x3a01be[_0x37dd2d(0x3c4)])}}))['body'];}[_0x3d192e(0x1e0)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3d192e(0x335)](){const _0x166bb6=_0x3d192e;throw new Error(_0x166bb6(0x555));}['saveChangeset'](){const _0x2788c5=_0x3d192e;throw new Error(_0x2788c5(0x555));}[_0x3d192e(0x4ca)](){const _0x4fbffe=_0x3d192e;throw new Error(_0x4fbffe(0x555));}[_0x3d192e(0x4b8)](){const _0x5a7c64=_0x3d192e;throw new Error(_0x5a7c64(0x555));}};function _0x44e8(){const _0x4ece01=['next','_nRounds','SUCCUSS','?size=','UnitSnapshot','_onRemoteRetry','_hasher','padding','_cursorInfo$','setItem','setAlpha','sheets','_clearUndo','engine','copyFileMeta','_changesetSessionId','[FetchMissState]','csAckEvent','_updateStatus','[SyncedState]:\x20received\x20acknowledgement.','_onFetchMissResult','unit','_getLoginPath','permissionRejEvent','_context','_memberService','_socketService','[CollaborationSession]','disableLocalCache','HELLO','parse','_getSaveTimeout','m1Prime','fetch_missing','_decreaseWaiting','off-line-single_clip0_910_343','/allowed','_selfUnitIDs','resize','_collabSessionService','_collabCursorController','FromArray','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_pendingMutations','_document','length','execute','append','clone','_collaborationSessionService','addEventListener','_themeService','transformIMECache','_onCombEvent','add','cmd','error','pad','HEARTBEAT_TIMEOUT','encode','getUnitOnRev','image/png','stringify','_startSheetCollabCursor','_scheduleCollaborationTimeoutTimer','[OfflineState]:\x20received\x20rejection.','interceptor','1024557BqUDKh','default','_loadSheet','telemetry\x20info\x20is\x20not\x20initialized','toggleOnline','toString','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_permissionService','csShouldRetryEvent','includes','COMPRESS_MUTATION_SEND','_removeClearOtherTimer','currentColor','format','_anchor','_map','crypto','error$','MD5','_lockTransition','event$','awaiting_with_pending','newCsEvent','getUnit','collab-text-anchor-','LIVESHARE_REQUEST_HOST','_shouldReportTelemetry','_localStorageService','MoveRangeCommandId','/universer-api/file/{fileID}/sign-url','with','_state','requireSession','storage','createInstance','top','originalMeta','gold400','_transformStateCache','LICENSE_EXPORT_SIZE_EXCEEDED','_getAPIPrefix','[SyncedState]:\x20received\x20rejection.','collab-rect-range-','visibilitychange','_sendHeartbeat','updateCursorEvent','setShapeProps','onCommentUpdate','UNIVER_DOC','_members','objectActions','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_onUserLeave','_clearCollaborationTimeoutTimer','_disabled','setUndoRedoMutationParamsCache','commentUpdateEvent','colorChannel1','apply','_ensureSubject','_drawAnchor','_sheetTransformSelectionsService','_waitCount','on-line-single_clip0_910_349','_startTelemetryCollaborationNewChangeset','appendMutation','...','defIds','getUnitStatus$','image/jpeg','_registerRenderDependencies','_refreshCollabCursors','mutations','values','size','leaveEvent','collabStatus.notCollab','_getSendChangesetTimeout','change$','LEAVE','repeat','startsWith','getTypeOfUnitAdded$','getCurrentSelections','_getAnchorBounding','result','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_incrementRevisionNumber','getCellPositionByOffset','_saveCache','EvpKDF','fromCharCode','subscribeEvent','createElement','univer-online','_substituteRedoStack','_onRemoteACK','_clearOtherTimers','reqId','enableSingleActiveInstanceLock','redoState','contains','attrs','_type','_onConflict','getCurrentRevOfUnit','getRangePointData','status$','CONNECTOR_DATA_TOO_LARGE','_showConflictNotification','_scheduleTimestamp','_changesetReqId','all','exports','constructor','registerOnClose','_submitChangeset','onMissedChangesetFetched','_tryReconnect','_labelPosition','_compressMutationService','endColumn','addImageSourceCache','words','registerBeforeClose','_sessionStatus$','fill','$super','univer-online-status','roomInfos','Cipher','transformMutation','[OfflineState]:\x20received\x20acknowledgement.','_roomMembers','evenodd','_createHelper','round','_process','HEARTBEAT_INTERVAL','href','/unit/','listRoles','_docTransformIMECacheService','PERMISSION_REJ','randomUUID','_keySchedule','createEncryptor','liveShareOperation','SHOULD_CLOSE_CONN','[CollaborationUndoRedoService]','LICENSE_IMPORT_SIZE_EXCEEDED','collabWebSocketUrl','transformStack\x20failed!','toggleOffline','_keyPriorReset','bind','OpenSSL','/new_changes','AES','params','setParam','downloadEndpointUrl','getRenderById','_handleEvent','_singleActiveUnitService','every','/universer-api/comb','UNIVER_SLIDE','getStateCache','_entities','_socket','_replayCachedMutations','generateRandomId','asObservable','LOGIN_URL_KEY','Base64','#fff','clearInterval','_commentService','title','Error\x20on\x20receiving\x20event','_getCtorByUniverType','_retryConnectingTimer','shouldCloseConn','reject','_getSheetObject','list','close$','fillText','prototype','_color','uni.network.url-service','arc','_eventUnsubscribe','getSheetId','getConfig','splice','_backgroundColor','sheetID','_awaitingChangeset','ERROR_EXCEED_SIZE','cursorInfo$','key','onlineStatusIcon','_retryCount','getTime','objectType','editingUnit','M0\x200H16V16H0z','resolve','transformRemoteChangeset','LIVESHARE_NEW_HOST','13417641AozuSD','join','resend','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','entries','post','Encryptor','_exhaustRemoteChangesetQueue','cfg','_removeCollabCursors','_transformUndoRedoStack','width','createDecryptor','COLLAB_WEB_SOCKET_URL','_invKeySchedule','COMPLETION_FINISHED','collaboration.closeRoom','file','[CollaborationSessionService]','updateMember','LIVESHARE_TERMINATE','Error','RECT','1em','getOffsetConfig','NoPadding','getDeserializedSheetBlock','[PendingState]:\x20received\x20acknowledgement.','conflict','_uiPartsService','update','__esModule','reconnect','unitID','decryptBlock','getUniverSheetInstance','action','saveSnapshot','color','_applyRemoteChangeset','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_candidateSocket','fetching\x20missing\x20changesets\x20from\x20','_userManagerService','setConfig','_scene','_colorIndex','override','_replaceFileID','memberID','updateOfflineData','OTHER_CLIENTS_EDITING','/universer-api/stream/file/upload','YUUMI_SUBSCRIPTION_NOT_FOUND','removeParam','removeMember','hasher','text','eventID','SEND_CHANGESET_TIMEOUT','univer-pro.collaboration-client.single-active-unit-service','Unknown\x20user','_getRedoStack','_startCollaboration','snapshotServerUrl','map','_nDataBytes','hovered','onlyLocal','saveOfflineData','UNKNOWN_CMD','__creator','INTERNAL_ERROR','src','_telemetryService','_redoStacks','_startDocCollabCursor','Warning','_onJoinRoomEvent','_init','subunit','CHANGESET_REVISION_CONFILICT','UNAUTHENTICATED','LICENSE_MAX_UNITS_EXCEEDED','onTransformSelections','clearTimeout','compose','unknown','CONFLICT','send','_sendHeartbeatTimer','lineTo','save','byteLength','x-univer-host','Decryptor','currentTheme$','_syncEditingCollabCursor','INVALID_ARGUMENT','charAt','SNAPSHOT_URL_KEY','HEARTBEAT','setStateCache','getCollabEntity','[CollaborationEntity]','_socketMessageSubscription','_transitionLocked','_getAPIPrefixPath','m2Prime','dispose','registerHTTPInterceptor','FAIL','use','_substituteUndoStack','_createInitialStateImpl','TOO_MANY_REQUESTS','_httpService','_state$','_transformRemoteChangesetByIMECache','[DataLoaderController]','ERROR_IMAGE_TYPE','univer-online-status-title','_transformSelections','deepClone','/collaborator','getAncestorScale','unshift','awaitingChangeset','_onOffline','SNAPSHOT_HAS_BEEN_REMOVED','fetchMissingChangesets','_saveTaskMap','_clearScheduledTask','selection','_docSkeletonManagerService','pluginName','_beforeCloseService','_socketReady','hidden','CHANGESET_ACK','_unlockTransition','LICENSE_DISTRO_REJECTED','_updateState','_cachedData','push','_listenToOnlineEvent','onRemoteChangeset','_DEC_XFORM_MODE','_lastPointer','_telemetryInfo','_initRequestHeader','addObject','forEach','[UniverCollaborationClientPlugin]','_roomMembers$','collaMsg','isActive','string','ENSURE_SNAPSHOT_EXECUTION','HmacMD5','_snapshotServerService','USERS_LEAVE','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_cursorShapes','routeKey','updatePermissionObjEvent','encodeURIComponent','transformChangesets','_docSyncEditingCollabCursorService','_getMergeRange','div','APPLY_PERMISSION_DENIED','PENDING','kdf','focused$','onReady','searchParams','putCollaborators','_transformRemoteChangesetByStateCache','reset','UNIVER_SHEET','_clearRedo','trim','_reverseMap','SUBMIT_CHANGESET','&to=','url','code','onStarting','sessionStatus','onRemoteRej','getValue','processBlock','CBC','docStateChange$','_queuedRemoteChangesets','json','MUTATION','none','getMemberID','INGEST','ceil','skeleton','fromCollab','enableAuthServer','message$','[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.','_createInitialState','_onRefRangeChange','ranges','univerjs-icon\x20univerjs-icon-','_send','randomBytes','unsubscribe','location','_sheetSkeletonManagerService','_unitID','replace','_configService','_handleLeaveEvent','unload','OnLineSingle','collaboration-client.config','getFocusedUnit','_handleJoinEvent','sessionStatus$','_getUndoStack','_iKey','enc','registerRefRange','children','image/gif','onMissingChangesets','_heartbeatTimer','requestParams','_handleHeartbeatEvent','_http','uploadFileServerUrl','CHANGESET_SHOULD_RETRY','transformStateCache','_schedule','onRemoteRetry','xlink:href','not_collab','HMAC','\x20-\x20','_getSignURL','fillRule','_isPermissionRej','allowed','_clearLocalCache','_collabCursorState$','pending','compute','catch','_undoStacks','_executeRemoteChangeset','body','NOT_COLLAB','UnitEmbedded','_collaborationPaused','substr','getUnitId','call','ONLINE','collaboration-session-retry','ERROR_IMAGE','drawWith','makeDirty','UNIVER_UNKNOWN','_textBubble','roomMembers','debug','delete','getCurrentUser','subscribe','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','reverse','triggerDblclick','_onCursorUpdate','range','_commandService','InsertRangeMoveDownCommandId','_initResize','awaiting','ALREADY_EXISTS','COMMENT_UPDATE','_createHandler','_entityInit$','_parse','getTypeOfUnitDisposed$','_resendTimer','_key','close','_initEventListeners','UNKNOWN_CODE','capture','onPointerLeave$','transformByState','UNDEFINED','permission.content','_messageService','_acknowledgedAwaitingChangeset','conflict.title','some','_append','off-line-single','name','_data','_checkMissing','initWorkbookPermissionChange','YUUMI_RATE_OVER_LIMIT','LOCAL_CACHE_INTERVAL','_render','getRoom','disposeWithMe','getDocRanges','USERS_ENTER','conflict.content','_hovered','__Key__','find','_colorAssignService','_transformUndoredo','black','&assign=','session','onTransformState','_fetchMissChangesets','path','collab-text-range-','SYNCED','InsertRangeMoveRightCommandId','current','_imageSourceCache','_joinRoom','now','_removeRoom','Utf8','RemoveRowCommandId','collabSubmitChangesetUrl','_shapes','userID','_initStatusComponent','roles','_ws','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_name','hide','_updateURLWithCurrentState','_setupBeforeClosingHandler','getCurrentUnitForType','getUndoRedoMutationParamsCache','[OfflineState]:\x20received\x20changeset.','enableLocalCache','propertyIsEnumerable','_cursors','setCurrentUser','\x0aCurrent:\x20','icon','_createSocket','/block/','[CollaborationSessionService]:\x20socket\x20error','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onlineStatusTitle','_injector','_localeService','_minBufferSize','_disableEditing','_loadDoc','workbook','mixIn','_getSnapshotAPIPrefix','_updateSubUnitFromURLParams','2251686nuBzLp','revision','_hash','saveSheetBlock','clamp','_doCryptBlock','members','roomMembers$','PERMISSION_DENIED','_clearHeartbeatTimer','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','collaboration.single-unit.warning','_initUnitPermissionChange','registerRenderModule','startColumn','saveImage','charCodeAt','APPLY_NON_SEQUENTIAL_REVISION','AWAITING_WITH_PENDING','purple300','getActiveRange','filter','complete','Latin1','_cursor','IDLE','createSocket','_doReset','type','failed\x20to\x20apply\x20missed\x20changesets!','isArray','concat','closePath','/resources','min','_remoteChangesetQueue','onTransformIME','_toggleOnline','objectID','synced','SNAPSHOT_SERVER_URL_KEY','url(#$1','UNIVER_PROJECT','WordArray','_docTransformStateCacheService','measureText','liveShareNewHost','_renderManagerService','5aTXdCN','_instanceService','save\x20fail\x20reason\x20is\x20','_assignedColors','duration','addObjects','undoState','sid','reduce','_iv','Hex','random','_config','JOIN','_onRemoteRejected','_updateLocalCursor','_anchorDot','getSheetBlock','syncEditingCollabCursor','\x20to\x20','on-line-single','_session','Univer','hasOwnProperty','isPermissionRej','NO_OTHER_CLIENTS_EDITING','unit-cache-','getMember','_initStatusListener','_sessions','CipherParams','headers','className','data','_status$','_onUserJoin','_handleHover','getCollabEntity$','univer-offline','lib','_getCurrentRevision','getSkeleton','getUnitType','_sendingTimer','_prevBlock','confirm','getSheetBySheetId','_onConnectionFailed','getVpScrollXYInfoByPosToVp','ciphertext','collabStatus.syncing','_notificationService','DeleteRangeMoveLeftCommandId','_range','create','?url=','socketService','getWorkbookSelections','currentSkeleton$','msCrypto','open$','/fetchmissing?from=','HEADER_MENU','getCurrent','collabStatus.fetchMiss','onCommandExecuted','_scheduleSaving','collabStatus.synced','loadSheet','Hasher','_listenToOfflineEvent','_handler','backgroundColor','status','_commentUpdate$','baseRev','_toggleOffline','CHANGESET_REJ','_HTTPService','executeCommand','patch','collaboration-client.offline-data-not-saved','floor','_logService','_scheduleClearOtherTimer','url(#off-line-single_clip0_910_343)','_updateLocalCache','POST','bottom','keys','UniverIcon','COLLAB_SUBMIT_CHANGESET_URL','_undoRedoService','idSuffix','Base','onMouseMove','createCollaborator','session.will-retry','resourceIDs','function','_onRemoteChangeset','PasswordBasedCipher','indexOf','finalize','slice','sin','ws://127.0.0.1:8000/universer-api/comb/connect','_revisionService','AWAITING','socket\x20close','transformMutationsWithChangeset','NOT_FOUND','algo','_onCursorDelete','endRow','_tryEnsureSocket','_cipher','disposeUnit','translate(.97)','_timeoutTimer','RemoveColCommandId','labelPosition','restore','offline','BASE64','textRanges','url(#on-line-single_clip0_910_349)','dispose$','setActiveRange','BufferedBlockAlgorithm','_initDependencies','getOwnPropertyDescriptor','BlockCipherMode','state','APPLY_REJECT','jiqing500','fetchThroughInterceptors','_collaborationTimeoutTimer','_getScale','getParam','tag','_unitOnClients','onSendChangeset','HmacSHA1','commentUpdate$','socket$','FETCH_MISSING','/role','getActiveSheet','defs','setTimeout','UPDATE_PERMISSION_OBJ','blockSize','number','DeleteRangeMoveUpCommandId','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','OFFLINE','0\x200\x2016\x2016','submit\x20changeset\x20error!','onSyncEditingCollabCursor','APPLY_REVISION_CONFILICT','toLowerCase','_initMergeInterceptor','LIVESHARE_OPERATION','EXCHANGE_SIGN_URL_SERVER_URL_KEY','pipe','doc.mutation.rich-text-editing','_socket$','Undefined','_doProcessBlock','unitId\x20is\x20not\x20found','&source=','onlineStatus','getMergeData','image/bmp','LIVESHARE_FETCH_OPERATIONS','stopTime','whenReady','_localCacheService','put','column','SHA1','0\x200\x2017\x2016','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_scheduleHeartbeat','registerComponent','1363560QgdgMR','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','replaceTextRanges','TEXT','_clearTimeoutTimer','_hover','c2Prime','UNRECOGNIZED','assignAColorForMemberID','YUUMI_UNABLE_LOAD_URL','_unitStatus','RECV','YUUMI_URL_COL_OUT_OF_RANGE','then','_collaborationController','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','collabStatus.conflict','APPLY_DUPLICATED','urlChange$','_onRecvEvent','onRemoteAck','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_snapshotService','authzUrl','_id','_xformMode','getInterceptPoints','_registerDependencies','HttpImport','_refRangeService','replaceState','_online','actions','_univerInstanceService','cursorInfo','NEW_CHANGESETS','session.collaboration-timeout','collaboratorID','updatePermissionPoint','ivSize','/-/object/-/batch_allowed','UUID','onPointerEnter$','_resendWithTimeout','svg','_drawRectRange','5abfjdl','_hideTimer','_ENC_XFORM_MODE','formatter','COMPRESS_MUTATION_APPLY','_urlService','selections','_onMessage','onTransformChange$','extend','_createHmacHelper','construct','univer-online-status-icon','row','_transformIMECache','2265888zLyvzv','image/jpg','setWaitCount','deleteCollaborator','sigBytes','ACTIVE_UNIT_EVENT_CHANNEL','MSG_FOR_ERROR','encrypt','setInterval','_syncEditingCollabCursorService','FETCH_MISS','{fileID}','subUnitId','rev','set','OffLineSingle','HttpExport','init','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','decrypt','displayName','isEditing','closeSession','refreshPermission','onTransformRemoteChangesetByIMECache','retryConnectingInterval','_docTransformSelectionsService','Could\x20not\x20dynamically\x20require\x20\x22','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','has','_mode','_docStateChangeManagerService','PSEUDO_FETCH_MISSING_RESULT','_sender','setShowComponents','/object/','get','from','listCollaborators','JOINING','mode','_initCloseConn','c1Prime','_waitForHeartbeatResponse','startRow','getRandomValues','joinEvent','unitId','\x20in\x20_schedule.','BlockCipher','loadOfflineData','_updateCollabCursors','localeService','Module','_drawTextRange','4261747YewbbC','_stopTelemetryCollaborationNewChangeset','collabCursorState$','_rescheduleHeartbeat','defineProperty','_event$','fetchMiss','_getUploadFileURL','infoRsp','_draw','_throwTelemetryCollaborationNewChangeset','pauseCollaboration','_resendTimeout','_transformStack','_onLocalMutation','clear','_initCommandExecutedListener','/universer-api/snapshot/','_getDownloadEndpointURL','startTime','InsertColCommandId','keySize','transformUndoRedo','assign','_transformService','updateCollaborator','Pkcs7','method','UPDATE_CURSOR','history','_transformPreviousActiveRange','_onConnectionOpen','auth.needGotoLoginAlert','_change$','onload','sheetId','show','max','_doFinalize','283282hiSqWl','getLatestCsReqIdBySid','responseType','_setupSubUnitSync','fillStyle'];_0x44e8=function(){return _0x4ece01;};return _0x44e8();}ls=pc([ni(0x0,_0x1b2eff),ni(0x1,_0x435342(_0x280c50))],ls);var gc=Object[_0x3d192e(0x494)],Sc=Object[_0x3d192e(0x3e5)],Ic=(_0x13b866,_0x361952,_0x124278,_0x400937)=>{const _0x1513e6=_0x3d192e;for(var _0x295c2c=_0x400937>0x1?void 0x0:_0x400937?Sc(_0x361952,_0x124278):_0x361952,_0x514e9=_0x13b866[_0x1513e6(0x4e9)]-0x1,_0x57a9e0;_0x514e9>=0x0;_0x514e9--)(_0x57a9e0=_0x13b866[_0x514e9])&&(_0x295c2c=(_0x400937?_0x57a9e0(_0x361952,_0x124278,_0x295c2c):_0x57a9e0(_0x295c2c))||_0x295c2c);return _0x400937&&_0x295c2c&&gc(_0x361952,_0x124278,_0x295c2c),_0x295c2c;},et=(_0x5a575f,_0x3ded5e)=>(_0x25a23a,_0x655f22)=>_0x3ded5e(_0x25a23a,_0x655f22,_0x5a575f);let _s=class extends _0x575974{constructor(_0x23269b,_0xc301c3,_0x38a452,_0x3680eb,_0x183f7b){const _0x1ca5ce=_0x3d192e;super(_0x23269b,_0xc301c3,_0x38a452),this[_0x1ca5ce(0x4a8)]=_0x3680eb,this[_0x1ca5ce(0x3b5)]=_0x183f7b;}[_0x3d192e(0x4a6)](_0x42e1a1,_0x1b85ab){const _0x30a396=_0x3d192e,_0x35f9fc=this[_0x30a396(0x29d)](_0x42e1a1);if(_0x35f9fc)try{const _0x1378bf=this[_0x30a396(0x49d)](_0x35f9fc,_0x1b85ab);this[_0x30a396(0x22c)](_0x42e1a1,_0x1378bf);}catch(_0x144095){this[_0x30a396(0x3b5)][_0x30a396(0x4f4)](_0x30a396(0x594),_0x144095),this[_0x30a396(0x4c8)](_0x42e1a1);}const _0x18a21e=this[_0x30a396(0x1f9)](_0x42e1a1);if(_0x18a21e)try{const _0x14eac9=this['_transformStack'](_0x18a21e,_0x1b85ab);this[_0x30a396(0x55e)](_0x42e1a1,_0x14eac9);}catch(_0x59b372){this['_logService'][_0x30a396(0x4f4)](_0x59b372),this[_0x30a396(0x270)](_0x42e1a1);}}[_0x3d192e(0x4c8)](_0x62484c){const _0xd01dfa=_0x3d192e,_0x4d41a6=this[_0xd01dfa(0x29d)](_0x62484c);_0x4d41a6&&(_0x4d41a6[_0xd01dfa(0x4e9)]=0x0,this[_0xd01dfa(0x4ce)]());}[_0x3d192e(0x270)](_0x3f9c2c){const _0x21dd63=_0x3d192e,_0x248f0a=this[_0x21dd63(0x1f9)](_0x3f9c2c);_0x248f0a&&(_0x248f0a[_0x21dd63(0x4e9)]=0x0,this[_0x21dd63(0x4ce)]());}[_0x3d192e(0x22c)](_0x47e1d1,_0x15df95){const _0x531721=_0x3d192e;this[_0x531721(0x2ba)][_0x531721(0x467)](_0x47e1d1,_0x15df95),this[_0x531721(0x4ce)]();}[_0x3d192e(0x55e)](_0x315a11,_0x94a674){const _0xe5d62a=_0x3d192e;this[_0xe5d62a(0x206)][_0xe5d62a(0x467)](_0x315a11,_0x94a674),this['_updateStatus']();}[_0x3d192e(0x49d)](_0x441287,_0xab481d){const _0x36f74e=_0x3d192e,_0x98e90d=[];let _0x1cd8eb=_0xab481d,_0xd385f6=_0xab481d;for(let _0x2d3e1b=_0x441287[_0x36f74e(0x4e9)]-0x1;_0x2d3e1b>=0x0;_0x2d3e1b--){const {unitID:_0x323087,undoMutations:_0x5d53c8,redoMutations:_0x1d026e}=_0x441287[_0x2d3e1b],_0x3ddf82=this[_0x36f74e(0x4a8)]['transformMutationsWithChangeset'](_0x1cd8eb,_0x5d53c8),_0x1778ba=this['_transformService']['transformMutationsWithChangeset'](_0xd385f6,_0x1d026e);if(_0x5952ae(_0x3ddf82)||_0x5952ae(_0x1778ba)){this['_logService']['error'](_0x36f74e(0x594),_0x36f74e(0x597),_0x3ddf82,_0x1778ba);break;}_0x1cd8eb=_0x3ddf82['c1Prime'],_0xd385f6=_0x1778ba[_0x36f74e(0x483)],_0x98e90d[_0x36f74e(0x24b)]({'unitID':_0x323087,'undoMutations':_0x3ddf82[_0x36f74e(0x227)],'redoMutations':_0x1778ba[_0x36f74e(0x227)]});}return _0x98e90d[_0x36f74e(0x2d1)]();}};_s=Ic([et(0x0,_0x405019),et(0x1,_0x4d4125),et(0x2,_0x2ce207),et(0x3,_0x238f3d),et(0x4,_0x25772e)],_s);class Cc extends _0x10cb26{constructor(){const _0x47a183=_0x3d192e;super(),g(this,_0x47a183(0x42e)),this[_0x47a183(0x42e)]=_0x2f7e2c(window,'popstate')['pipe'](_0xe1e697(this[_0x47a183(0x3e1)]),_0x2a23f2(0x1),_0x144116(void 0x0));}[_0x3d192e(0x59f)](_0x2ddb43,_0x3c33e2,_0x5ecd0f=!0x1){const _0x44c407=_0x3d192e,_0x499c65=new URL(window[_0x44c407(0x291)][_0x44c407(0x58a)]);_0x499c65[_0x44c407(0x26b)][_0x44c407(0x467)](_0x2ddb43,_0x3c33e2),_0x5ecd0f?window['history'][_0x44c407(0x43a)]('','',_0x499c65[_0x44c407(0x504)]()):window[_0x44c407(0x4ad)]['pushState']('','',_0x499c65[_0x44c407(0x504)]());}[_0x3d192e(0x1f1)](_0x41084d,_0x297c48=!0x1){const _0x5ec351=_0x3d192e,_0x583532=new URL(window[_0x5ec351(0x291)][_0x5ec351(0x58a)]);_0x583532[_0x5ec351(0x26b)][_0x5ec351(0x2cc)](_0x41084d),_0x297c48?window[_0x5ec351(0x4ad)]['replaceState']('','',_0x583532[_0x5ec351(0x504)]()):window[_0x5ec351(0x4ad)]['pushState']('','',_0x583532['toString']());}[_0x3d192e(0x3ed)](_0x438b8b){const _0x533c09=_0x3d192e;var _0x5cb2f3;return(_0x5cb2f3=new URL(window[_0x533c09(0x291)][_0x533c09(0x58a)])[_0x533c09(0x26b)]['get'](_0x438b8b))!=null?_0x5cb2f3:void 0x0;}}var Yi=Object[_0x3d192e(0x494)],Ec=Object['getOwnPropertyDescriptor'],bc=(_0x2467ba,_0x519e8d,_0x2cab8f)=>_0x519e8d in _0x2467ba?Yi(_0x2467ba,_0x519e8d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2cab8f}):_0x2467ba[_0x519e8d]=_0x2cab8f,Tc=(_0x37d64e,_0xb1c981,_0x54b194,_0x4c82ba)=>{const _0x3bc01a=_0x3d192e;for(var _0x18d9f6=_0x4c82ba>0x1?void 0x0:_0x4c82ba?Ec(_0xb1c981,_0x54b194):_0xb1c981,_0x2169d7=_0x37d64e[_0x3bc01a(0x4e9)]-0x1,_0x1c0b6c;_0x2169d7>=0x0;_0x2169d7--)(_0x1c0b6c=_0x37d64e[_0x2169d7])&&(_0x18d9f6=(_0x4c82ba?_0x1c0b6c(_0xb1c981,_0x54b194,_0x18d9f6):_0x1c0b6c(_0x18d9f6))||_0x18d9f6);return _0x4c82ba&&_0x18d9f6&&Yi(_0xb1c981,_0x54b194,_0x18d9f6),_0x18d9f6;},_t=(_0x247751,_0x38c0e7)=>(_0x566196,_0x13e427)=>_0x38c0e7(_0x566196,_0x13e427,_0x247751),Rc=(_0x1fafd8,_0x2716ed,_0x3ee9c5)=>bc(_0x1fafd8,_0x2716ed+'',_0x3ee9c5);const yc='UNIVER_COLLABORATION_CLIENT_PLUGIN';let us=class extends _0x17b289{constructor(_0x314495=Er,_0x38c898,_0x5342bd,_0x39717b,_0x2e26c3){const _0x147434=_0x3d192e;super(),this[_0x147434(0x36e)]=_0x314495,this[_0x147434(0x3b5)]=_0x38c898,this['_renderManagerService']=_0x5342bd,this[_0x147434(0x329)]=_0x39717b,this[_0x147434(0x295)]=_0x2e26c3;const {..._0xd685be}=this[_0x147434(0x36e)];this['_configService'][_0x147434(0x1e7)](ie,_0xd685be);}[_0x3d192e(0x277)](){const _0x10d9e9=_0x3d192e;this['_registerDependencies'](),this[_0x10d9e9(0x3e4)]();}[_0x3d192e(0x26a)](){const _0x364a11=_0x3d192e;_0xd9b0ec(this[_0x364a11(0x329)],[[Et]]);}['onRendered'](){this['_registerRenderDependencies']();}[_0x3d192e(0x437)](){const _0x7e6b3b=_0x3d192e;var _0x2293ff,_0x963622,_0x2fc94a,_0x341fe9;this['_injector'][_0x7e6b3b(0x476)](_0x211f33)&&this[_0x7e6b3b(0x3b5)][_0x7e6b3b(0x4f4)](_0x7e6b3b(0x254),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x1b61d3=[[_0x211f33,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':Cc}],[Ne],[q],[_0x16fe7e],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0x963622=(_0x2293ff=this[_0x7e6b3b(0x36e)])==null?void 0x0:_0x2293ff[_0x7e6b3b(0x39a)])!=null?_0x963622:es}],[_0x246ddf,{'useClass':ls}],[_0x1be879,{'useClass':cs}],[_0xfbc33e,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0x2fc94a=this[_0x7e6b3b(0x36e)])!=null&&_0x2fc94a[_0x7e6b3b(0x562)]&&_0x1b61d3['push']([yt,{'useClass':so}]),_0x1adb6b(this[_0x7e6b3b(0x329)],_0x47ce99(_0x1b61d3,(_0x341fe9=this[_0x7e6b3b(0x36e)])==null?void 0x0:_0x341fe9[_0x7e6b3b(0x1ea)]));}[_0x3d192e(0x545)](){const _0x57dd89=_0x3d192e;this[_0x57dd89(0x2f7)](this[_0x57dd89(0x361)][_0x57dd89(0x33f)](_0x1c25e8[_0x57dd89(0x52f)],[os])),this[_0x57dd89(0x2f7)](this[_0x57dd89(0x361)]['registerRenderModule'](_0x1c25e8['UNIVER_SHEET'],[as]));}[_0x3d192e(0x3e4)](){const _0x4572ce=_0x3d192e;var _0x130dce,_0x4ffc59;this[_0x4572ce(0x329)][_0x4572ce(0x47d)](_0x280c50)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x2dd3a5({'maxParallel':0x6})}),(_0x130dce=this[_0x4572ce(0x36e)])!=null&&_0x130dce['enableOfflineEditing']||this[_0x4572ce(0x329)][_0x4572ce(0x47d)](q)['disableLocalCache'](),(_0x4ffc59=this['_config'])!=null&&_0x4ffc59[_0x4572ce(0x287)]&&_0xd9b0ec(this[_0x4572ce(0x329)],[[bt]]),_0xd9b0ec(this['_injector'],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Rc(us,_0x3d192e(0x242),yc),us=Tc([_0x347a5f(_0x45331b,_0x1c34c7),_t(0x1,_0x25772e),_t(0x2,_0x1d562c),_t(0x3,_0x435342(_0x5a18dc)),_t(0x4,_0x1b2eff)],us);export{Ua as AUTHZ_URL_KEY,cs as AuthzIoHttpService,gr as COLLAB_SUBMIT_CHANGESET_URL_KEY,hr as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,St as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,ua as CollaborationStatusDisplay,wi as CommentService,Ct as DataLoaderController,It as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,_r as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Hi as IURLService,hs as ImageIoService,mr as LOCAL_CACHE_INTERVAL_KEY,Ir as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,fr as RETRY_CONNECTING_MAX_COUNT_KEY,Gc as SEND_CHANGESET_TIMEOUT_KEY,rr as SNAPSHOT_SERVER_URL_KEY,ar as SNAPSHOT_URL_KEY,ve as SessionStatus,Ko as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,Cc as WebURLService,br as deserializeToCombResponse,Tr as serializeCombRequest};
|
1
|
+
const _0x5bb7a4=_0x4081;(function(_0x24ad8d,_0xcf6b8){const _0xba6a5a=_0x4081,_0x4b30d0=_0x24ad8d();while(!![]){try{const _0x57ba32=-parseInt(_0xba6a5a(0x20e))/0x1*(-parseInt(_0xba6a5a(0x548))/0x2)+parseInt(_0xba6a5a(0x1c6))/0x3*(-parseInt(_0xba6a5a(0x207))/0x4)+parseInt(_0xba6a5a(0x190))/0x5*(-parseInt(_0xba6a5a(0x2d3))/0x6)+-parseInt(_0xba6a5a(0x483))/0x7+parseInt(_0xba6a5a(0x1db))/0x8+parseInt(_0xba6a5a(0x1fe))/0x9*(parseInt(_0xba6a5a(0x2d1))/0xa)+parseInt(_0xba6a5a(0x459))/0xb*(parseInt(_0xba6a5a(0x412))/0xc);if(_0x57ba32===_0xcf6b8)break;else _0x4b30d0['push'](_0x4b30d0['shift']());}catch(_0x1fc0c4){_0x4b30d0['push'](_0x4b30d0['shift']());}}}(_0x27da,0x99a97));var qi=Object['defineProperty'],Xi=(_0x192793,_0x3e93ca,_0x225043)=>_0x3e93ca in _0x192793?qi(_0x192793,_0x3e93ca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x225043}):_0x192793[_0x3e93ca]=_0x225043,g=(_0x2e7815,_0x4ea96c,_0x124536)=>Xi(_0x2e7815,typeof _0x4ea96c!=_0x5bb7a4(0x477)?_0x4ea96c+'':_0x4ea96c,_0x124536);import{createIdentifier as _0x5ce9a5,Inject as _0x22a3e1,Disposable as _0x1caa36,DisposableCollection as _0x4e3306,toDisposable as _0x7884da,IConfigService as _0x2bb536,ILogService as _0x3efec9,UserManagerService as _0x28e0a3,UniverInstanceType as _0x10a997,IUniverInstanceService as _0x2e0534,LocaleService as _0x1fdc1b,Optional as _0x4f55bd,RxDisposable as _0x177a9e,Injector as _0x4c5160,Tools as _0x41d014,ILocalStorageService as _0x21f678,Rectangle as _0x49e4db,ICommandService as _0x1e58f0,DOC_RANGE_TYPE as _0x569c02,JSONX as _0x22592d,CommandType as _0x5bf26c,IPermissionService as _0x59e41b,IUndoRedoService as _0x131129,sequenceExecute as _0x9b12cf,debounce as _0x47386f,COLORS as _0x593100,ColorKit as _0x589dec,ThemeService as _0x58be32,fromEventSubject as _0x3a7a27,useDependency as _0xe664fe,connectInjector as _0x3048e7,Workbook as _0x31b79d,isInternalEditorID as _0x503b7a,LocalUndoRedoService as _0x26edca,IContextService as _0x6af9eb,DependentOn as _0x5008eb,Plugin as _0x1a3f69,touchDependencies as _0x3fa01f,IAuthzIoService as _0x2eb585,registerDependencies as _0x60d00f,mergeOverrideWithDependencies as _0x2c766a}from'@univerjs/core';import{Subject as _0x1b179a,merge as _0x4e4735,takeUntil as _0x52fa59,BehaviorSubject as _0x348a88,distinctUntilChanged as _0x2abb77,fromEvent as _0x565a18,ReplaySubject as _0x5c726e,take as _0x35f71d,map as _0x5809a7,shareReplay as _0x3f1879,of as _0x52cb6f,debounceTime as _0x12cfe4,filter as _0x3cb187,switchMap as _0x1e3e59,combineLatest as _0x4753e6,concatMap as _0x2d7fb7,mapTo as _0x287b5c}from'rxjs';import{map as _0x17141f,take as _0x4b07d5,filter as _0x5a0a20,delay as _0x1ce989,throttleTime as _0x3fef40,takeUntil as _0x216286,switchMap as _0x58ad60}from'rxjs/operators';import{MessageType as _0x3417d7,Tooltip as _0x4f930e}from'@univerjs/design';import{IBeforeCloseService as _0x3e0747,IMessageService as _0x38087f,INotificationService as _0x387815,useObservable as _0x3b686f,BuiltInUIPart as _0x5b1713,IUIPartsService as _0x2cb103}from'@univerjs/ui';import{HTTPService as _0x41156a,WebSocketService as _0x1275f8,MergeInterceptorFactory as _0xc40197,HTTPRequest as _0x3b9e80,UniverNetworkPlugin as _0x2fc5f3,ThresholdInterceptorFactory as _0x15339e}from'@univerjs/network';import{CollaborationEvent as _0x45d469,parseChangesetToProtocol as _0x2f96b4,ISnapshotServerService as _0x5bc59d,isTransformMutationFailure as _0x35b5b8,isTransformMutationsWithChangesetSuccess as _0x5f43ea,ITransformService as _0x2db4c4,RevisionService as _0x25150b,mapDocumentTypeToUniverType as _0x32a7fd,isTransformChangesetsSuccess as _0x3e05e4,CompressMutationService as _0x4b6791,parseProtocolChangeset as _0x34525f,SnapshotService as _0x2b1acd,textEncoder as _0x1a843b,b64DecodeUnicode as _0x286b30,isTransformMutationsWithChangesetFailure as _0x2a2494,UniverCollaborationPlugin as _0x1956e2}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1b6586}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x4a315f,DocStateChangeManagerService as _0x1b1fa1,NodePositionConvertToCursor as _0x1e2d34,NodePositionConvertToRectRange as _0x2b0059,TEXT_RANGE_LAYER_INDEX as _0x417fa9,SetDocZoomRatioOperation as _0x595dd4}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x11487d,SetSelectionsOperation as _0x544c74,InsertSheetMutation as _0x2dfe93,EmptyMutation as _0x224c7f,WorkbookEditablePermission as _0x272dbd,RefRangeService as _0x180f23,EffectRefRangId as _0x34bde3,handleIRemoveRow as _0x399794,handleIRemoveCol as _0x74bb6c,handleMoveRange as _0x20726c,handleInsertRow as _0x5120ad,handleInsertRangeMoveRight as _0x3995ec,handleInsertRangeMoveDown as _0x595791,handleInsertCol as _0x490fbf,handleDeleteRangeMoveUp as _0xc12035,handleDeleteRangeMoveLeft as _0xd913ed,runRefRangeMutations as _0x4ea810,SetWorksheetActivateCommand as _0x3d9171}from'@univerjs/sheets';import{IRenderManagerService as _0x31d8f9,Shape as _0x4b8d3f,Rect as _0x4214fc,getColor as _0x140980,RegularPolygon as _0x18606b,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2c9396,Vector2 as _0x3af8ad}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x4ce6e6,RichTextEditingMutation as _0x185e84,SetTextSelectionsOperation as _0x10288c,DocSkeletonManagerService as _0x386ab1}from'@univerjs/docs';import{ImageSourceType as _0x40ad48,ImageUploadStatusType as _0x1d459e,IImageIoService as _0x23cc94}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x231961,serializeRangeWithSheet as _0x5cd454}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x328715,VIEWPORT_KEY as _0x4bafe5,getCoordByCell as _0x5a0e3d,getSheetObject as _0x1d2c70,SheetPermissionInitController as _0x496cb9}from'@univerjs/sheets-ui';import _0x3fd601,{forwardRef as _0x5ecf43,useRef as _0x37367c,createElement as _0x438628,useCallback as _0x1f3798}from'react';import{IRemoteInstanceService as _0xfc52d5}from'@univerjs/rpc';const cr=_0x5bb7a4(0x195),hr=_0x5bb7a4(0x4c5),lr=_0x5bb7a4(0x3c3),Xc=_0x5bb7a4(0x552),_r=0x7d0,ur=_0x5bb7a4(0x1dc),dr=_0x5bb7a4(0x361),fr='HEARTBEAT_INTERVAL',vr=0x7530,bi=_0x5bb7a4(0x337),Ti=0x4e20,mr=0x4e20,pr=_0x5bb7a4(0x55c),gr=0x3,Sr=_0x5bb7a4(0x451),Ir=0x3e8,Cr=_0x5bb7a4(0x255),Er='/universer-api/comb',br=_0x5bb7a4(0x372),Tr=_0x5bb7a4(0x43c);var Ri=(_0x43d28d=>(_0x43d28d[_0x43d28d[_0x5bb7a4(0x225)]=0x0]=_0x5bb7a4(0x225),_0x43d28d[_0x43d28d['OK']=0x1]='OK',_0x43d28d[_0x43d28d['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x43d28d[_0x43d28d[_0x5bb7a4(0x403)]=0x3]=_0x5bb7a4(0x403),_0x43d28d[_0x43d28d[_0x5bb7a4(0x33b)]=0x4]=_0x5bb7a4(0x33b),_0x43d28d[_0x43d28d['UNAUTHENTICATED']=0x5]=_0x5bb7a4(0x2ce),_0x43d28d[_0x43d28d[_0x5bb7a4(0x3ab)]=0x6]='ALREADY_EXISTS',_0x43d28d[_0x43d28d['INVALID_ARGUMENT']=0x7]=_0x5bb7a4(0x365),_0x43d28d[_0x43d28d[_0x5bb7a4(0x554)]=0x8]=_0x5bb7a4(0x554),_0x43d28d[_0x43d28d[_0x5bb7a4(0x468)]=0x9]=_0x5bb7a4(0x468),_0x43d28d[_0x43d28d[_0x5bb7a4(0x3ae)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x43d28d[_0x43d28d[_0x5bb7a4(0x3a9)]=0x1771]=_0x5bb7a4(0x3a9),_0x43d28d[_0x43d28d['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x5bb7a4(0x1f0),_0x43d28d[_0x43d28d['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x43d28d[_0x43d28d[_0x5bb7a4(0x46a)]=0x1b59]=_0x5bb7a4(0x46a),_0x43d28d[_0x43d28d[_0x5bb7a4(0x564)]=0x1b5a]=_0x5bb7a4(0x564),_0x43d28d[_0x43d28d[_0x5bb7a4(0x4dc)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x43d28d[_0x43d28d['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5bb7a4(0x219),_0x43d28d[_0x43d28d[_0x5bb7a4(0x289)]=0x1b5d]=_0x5bb7a4(0x289),_0x43d28d[_0x43d28d[_0x5bb7a4(0x298)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x43d28d[_0x43d28d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5bb7a4(0x507),_0x43d28d[_0x43d28d[_0x5bb7a4(0x3ec)]=0x232a]=_0x5bb7a4(0x3ec),_0x43d28d[_0x43d28d[_0x5bb7a4(0x45e)]=0x232b]=_0x5bb7a4(0x45e),_0x43d28d[_0x43d28d[_0x5bb7a4(0x55f)]=0x232c]=_0x5bb7a4(0x55f),_0x43d28d[_0x43d28d[_0x5bb7a4(0x51b)]=0x232d]=_0x5bb7a4(0x51b),_0x43d28d[_0x43d28d[_0x5bb7a4(0x345)]=0x2711]=_0x5bb7a4(0x345),_0x43d28d[_0x43d28d[_0x5bb7a4(0x573)]=0x2712]=_0x5bb7a4(0x573),_0x43d28d[_0x43d28d[_0x5bb7a4(0x549)]=0x2713]=_0x5bb7a4(0x549),_0x43d28d[_0x43d28d['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x5bb7a4(0x4bf),_0x43d28d[_0x43d28d[_0x5bb7a4(0x31e)]=-0x1]=_0x5bb7a4(0x31e),_0x43d28d))(Ri||{}),ce=(_0xd0b78b=>(_0xd0b78b[_0xd0b78b[_0x5bb7a4(0x4ec)]=0x0]=_0x5bb7a4(0x4ec),_0xd0b78b[_0xd0b78b[_0x5bb7a4(0x172)]=0x1]=_0x5bb7a4(0x172),_0xd0b78b[_0xd0b78b['UNIVER_SHEET']=0x2]=_0x5bb7a4(0x55b),_0xd0b78b[_0xd0b78b[_0x5bb7a4(0x4b3)]=0x3]=_0x5bb7a4(0x4b3),_0xd0b78b[_0xd0b78b[_0x5bb7a4(0x4c7)]=0x4]='UNIVER_PROJECT',_0xd0b78b[_0xd0b78b['UNRECOGNIZED']=-0x1]=_0x5bb7a4(0x31e),_0xd0b78b))(ce||{}),W=(_0x1f2de3=>(_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x204)]=0x0]=_0x5bb7a4(0x204),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x183)]=0x1]=_0x5bb7a4(0x183),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x542)]=0x2]=_0x5bb7a4(0x542),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x2a7)]=0x3]=_0x5bb7a4(0x2a7),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x200)]=0x4]=_0x5bb7a4(0x200),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x238)]=0x5]=_0x5bb7a4(0x238),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x297)]=0x6]=_0x5bb7a4(0x297),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x31e)]=-0x1]='UNRECOGNIZED',_0x1f2de3))(W||{}),Is=(_0x58dddf=>(_0x58dddf[_0x58dddf['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x58dddf[_0x58dddf['OK']=0x1]='OK',_0x58dddf[_0x58dddf[_0x5bb7a4(0x526)]=0x2]='FAIL',_0x58dddf[_0x58dddf[_0x5bb7a4(0x31e)]=-0x1]='UNRECOGNIZED',_0x58dddf))(Is||{}),yi=(_0x137d45=>(_0x137d45[_0x137d45[_0x5bb7a4(0x2e9)]=0x0]=_0x5bb7a4(0x2e9),_0x137d45[_0x137d45[_0x5bb7a4(0x197)]=0x1]='HttpImport',_0x137d45[_0x137d45[_0x5bb7a4(0x502)]=0x2]=_0x5bb7a4(0x502),_0x137d45[_0x137d45['UnitEmbedded']=0x3]=_0x5bb7a4(0x48f),_0x137d45[_0x137d45[_0x5bb7a4(0x54b)]=0x4]=_0x5bb7a4(0x54b),_0x137d45[_0x137d45[_0x5bb7a4(0x31e)]=-0x1]=_0x5bb7a4(0x31e),_0x137d45))(yi||{});const ie=_0x5bb7a4(0x1f9),Rr={};function yr(_0x45b5c9){const _0x293a22=_0x5bb7a4;var _0x301a87,_0xc1dc28,_0x2d495b,_0x56dfea,_0x5eb7b5;const _0x1c293a=_0x45b5c9['data'],_0x54c316=JSON[_0x293a22(0x57c)](_0x1c293a);switch(_0x54c316[_0x293a22(0x4d5)]){case W[_0x293a22(0x238)]:case W[_0x293a22(0x183)]:{const _0x316f46=_0x54c316[_0x293a22(0x51e)];return{..._0x54c316,'data':_0x316f46,'cmd':_0x54c316[_0x293a22(0x4d5)]};}case W[_0x293a22(0x542)]:{const _0x8b589f=_0x54c316[_0x293a22(0x3f9)];return{..._0x54c316,'data':_0x8b589f,'cmd':_0x54c316[_0x293a22(0x4d5)]};}case W[_0x293a22(0x297)]:{const _0x282169=_0x54c316[_0x293a22(0x21a)];switch(_0x282169['eventID']){case _0x45d469[_0x293a22(0x4fb)]:return{..._0x54c316,'data':{..._0x282169,'data':(_0x301a87=_0x282169[_0x293a22(0x3ba)])==null?void 0x0:_0x301a87['cs']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x4a7)]:return{..._0x54c316,'data':{..._0x282169,'data':(_0xc1dc28=_0x282169['csAckEvent'])==null?void 0x0:_0xc1dc28['cs']},'cmd':_0x54c316['cmd']};case _0x45d469[_0x293a22(0x4df)]:return{..._0x54c316,'data':{..._0x282169,'data':(_0x2d495b=_0x282169['newCsEvent'])==null?void 0x0:_0x2d495b['cs']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x35b)]:return{..._0x54c316,'data':{..._0x282169,'data':(_0x56dfea=_0x282169[_0x293a22(0x469)])==null?void 0x0:_0x56dfea['cs']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x259)]:return{..._0x54c316,'data':{..._0x282169,'data':(_0x5eb7b5=_0x282169[_0x293a22(0x3d5)])==null?void 0x0:_0x5eb7b5['cs']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469['UPDATE_CURSOR']:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169['updateCursorEvent']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x2a5)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x4b7)]},'cmd':_0x54c316['cmd']};case _0x45d469['USERS_LEAVE']:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x4cd)]},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x31f)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x29e)]},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469['LIVESHARE_FETCH_OPERATIONS']:case _0x45d469[_0x293a22(0x38c)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x49b)]},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469['LIVESHARE_TERMINATE']:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169['liveShareNewHost']},'cmd':_0x54c316['cmd']};case _0x45d469[_0x293a22(0x407)]:return{..._0x54c316,'data':_0x282169,'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x34d)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x36f)]},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x508)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169['updatePermissionObjEvent']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x413)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x398)]},'cmd':_0x54c316[_0x293a22(0x4d5)]};default:return _0x54c316;}}default:return _0x54c316;}}function Or(_0x1b8bfc){const _0x16d4be=_0x5bb7a4;switch(_0x1b8bfc[_0x16d4be(0x4d5)]){case W['HEARTBEAT']:case W[_0x16d4be(0x183)]:return JSON[_0x16d4be(0x303)]({'cmd':_0x1b8bfc[_0x16d4be(0x4d5)],'routeKey':_0x1b8bfc[_0x16d4be(0x2ae)]});case W[_0x16d4be(0x200)]:{let _0xaa41cc;switch(_0x1b8bfc[_0x16d4be(0x2d5)]['eventID']){case _0x45d469[_0x16d4be(0x2cd)]:{_0xaa41cc={'eventID':_0x45d469[_0x16d4be(0x2cd)],'updateCursorEvent':_0x1b8bfc[_0x16d4be(0x2d5)][_0x16d4be(0x2d5)]};break;}case _0x45d469[_0x16d4be(0x489)]:{_0xaa41cc={'eventID':_0x45d469[_0x16d4be(0x489)],'leaveEvent':_0x1b8bfc[_0x16d4be(0x2d5)]['data']};break;}case _0x45d469[_0x16d4be(0x2a5)]:{_0xaa41cc={'eventID':_0x45d469['USERS_ENTER'],'joinEvent':_0x1b8bfc[_0x16d4be(0x2d5)]['data']};break;}case _0x45d469['LIVESHARE_NEW_HOST']:{_0xaa41cc={'eventID':_0x45d469[_0x16d4be(0x31f)],'liveShareNewHost':_0x1b8bfc[_0x16d4be(0x2d5)][_0x16d4be(0x2d5)]};break;}case _0x45d469[_0x16d4be(0x38c)]:{_0xaa41cc={'eventID':_0x45d469['LIVESHARE_OPERATION'],'liveShareOperation':_0x1b8bfc[_0x16d4be(0x2d5)][_0x16d4be(0x2d5)]};break;}case _0x45d469[_0x16d4be(0x41d)]:{_0xaa41cc={'eventID':_0x45d469['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x1b8bfc[_0x16d4be(0x2d5)]['data']};break;}case _0x45d469[_0x16d4be(0x2ed)]:{_0xaa41cc={'eventID':_0x45d469[_0x16d4be(0x2ed)],'liveShareRequestHost':_0x1b8bfc[_0x16d4be(0x2d5)]['data']};break;}case _0x45d469[_0x16d4be(0x43b)]:{_0xaa41cc={'eventID':_0x45d469[_0x16d4be(0x43b)]};break;}default:_0xaa41cc={'eventID':_0x1b8bfc[_0x16d4be(0x2d5)][_0x16d4be(0x479)]};}return JSON[_0x16d4be(0x303)]({'cmd':_0x1b8bfc[_0x16d4be(0x4d5)],'routeKey':_0x1b8bfc[_0x16d4be(0x2ae)],'collaMsg':_0xaa41cc});}case W[_0x16d4be(0x542)]:return JSON['stringify']({'cmd':_0x1b8bfc[_0x16d4be(0x4d5)],'routeKey':_0x1b8bfc[_0x16d4be(0x2ae)],'joinReq':_0x1b8bfc[_0x16d4be(0x2d5)]});case W['LEAVE']:return JSON[_0x16d4be(0x303)]({'cmd':_0x1b8bfc['cmd'],'routeKey':_0x1b8bfc[_0x16d4be(0x2ae)],'leaveReq':_0x1b8bfc[_0x16d4be(0x2d5)]});default:throw new Error(_0x16d4be(0x1f7));}}var wr=Object['defineProperty'],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0x2af9ec,_0x503585,_0x193e92,_0x583e94)=>{for(var _0x5c4c97=_0x583e94>0x1?void 0x0:_0x583e94?Dr(_0x503585,_0x193e92):_0x503585,_0x24b214=_0x2af9ec['length']-0x1,_0x131704;_0x24b214>=0x0;_0x24b214--)(_0x131704=_0x2af9ec[_0x24b214])&&(_0x5c4c97=(_0x583e94?_0x131704(_0x503585,_0x193e92,_0x5c4c97):_0x131704(_0x5c4c97))||_0x5c4c97);return _0x583e94&&_0x5c4c97&&wr(_0x503585,_0x193e92,_0x5c4c97),_0x5c4c97;},qe=(_0x18d833,_0x224e85)=>(_0x398617,_0x2a8f6b)=>_0x224e85(_0x398617,_0x2a8f6b,_0x18d833);const Oi=_0x5ce9a5(_0x5bb7a4(0x373));function Ur(_0x21a3ea,_0x5b1eda,_0x33f15d){return _0x21a3ea+'/'+_0x5b1eda+'/unit/'+_0x33f15d+'/new_changes';}let es=class extends _0x1caa36{constructor(_0x3f7db1,_0x11cd42,_0x5f0f47,_0x31a7c7,_0x45534a){const _0x165338=_0x5bb7a4;super(),this[_0x165338(0x582)]=_0x3f7db1,this[_0x165338(0x561)]=_0x11cd42,this[_0x165338(0x23e)]=_0x5f0f47,this[_0x165338(0x26e)]=_0x31a7c7,this['_snapshotServerService']=_0x45534a;}[_0x5bb7a4(0x343)](_0x3842d8){const _0x222f56=_0x5bb7a4,_0x2e5251=this[_0x222f56(0x561)][_0x222f56(0x343)](_0x3842d8);if(!_0x2e5251)throw new Error(_0x222f56(0x3c1));const _0x1ef4af=new _0x4e3306(),_0x5a5ea7=new _0x1b179a();_0x1ef4af[_0x222f56(0x570)](_0x2e5251[_0x222f56(0x339)][_0x222f56(0x519)](_0xc5f3d8=>_0x5a5ea7[_0x222f56(0x3ff)](_0xc5f3d8))),_0x1ef4af['add'](_0x7884da(()=>_0x5a5ea7[_0x222f56(0x313)]()));const _0x4b837d=new _0x1b179a();_0x1ef4af[_0x222f56(0x570)](_0x2e5251[_0x222f56(0x277)][_0x222f56(0x519)](_0x9e3923=>_0x4b837d[_0x222f56(0x3ff)](_0x9e3923))),_0x1ef4af[_0x222f56(0x570)](_0x7884da(()=>_0x4b837d[_0x222f56(0x313)]()));const _0xbe5845=new _0x1b179a();_0x1ef4af['add'](_0x2e5251[_0x222f56(0x35f)][_0x222f56(0x519)](_0x2c4738=>{const _0x5e9fcd=_0x222f56,_0x505236=yr(_0x2c4738);_0xbe5845[_0x5e9fcd(0x3ff)](_0x505236);})),_0x1ef4af[_0x222f56(0x570)](_0x7884da(()=>_0xbe5845['complete']()));let _0x5522e3;const _0xac8b45=()=>{const _0x49efe9=_0x222f56;_0x4b837d[_0x49efe9(0x3ff)](new Event(_0x49efe9(0x248))),_0x5a5ea7[_0x49efe9(0x3ff)](new CloseEvent(_0x49efe9(0x248))),_0x5522e3[_0x49efe9(0x27a)]();};return _0x5522e3={'memberID':'','close$':_0x5a5ea7[_0x222f56(0x1a6)](),'error$':_0x4b837d[_0x222f56(0x1a6)](),'open$':_0x2e5251[_0x222f56(0x3eb)],'message$':_0xbe5845['asObservable'](),'send':_0x5c30bb=>{const _0x4cb4a0=_0x222f56;if(_0x5c30bb[_0x4cb4a0(0x4d5)]===W['INGEST']){if(_0x5c30bb['data'][_0x4cb4a0(0x479)]===_0x45d469[_0x4cb4a0(0x1b5)]){this[_0x4cb4a0(0x34c)](_0x5522e3,_0x5c30bb[_0x4cb4a0(0x2d5)])[_0x4cb4a0(0x220)](_0x5eefa1=>{const _0x2e5234=_0x4cb4a0;this['_logService'][_0x2e5234(0x17b)](_0x5eefa1),_0xac8b45();});return;}if(_0x5c30bb['data'][_0x4cb4a0(0x479)]===_0x45d469['FETCH_MISSING']){const _0x5becb3=_0x5c30bb['data'];this[_0x4cb4a0(0x48c)](_0x5becb3)[_0x4cb4a0(0x40e)](_0x444026=>{_0xbe5845['next']({'cmd':W['RECV'],'code':Is['OK'],'routeKey':_0x5becb3['data']['unitID'],'routeType':'','data':{'eventID':_0x45d469['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x444026}}});})[_0x4cb4a0(0x220)](_0x18526b=>{const _0x33ba8f=_0x4cb4a0;this['_logService'][_0x33ba8f(0x17b)](_0x18526b),_0xac8b45();});return;}}_0x2e5251[_0x4cb4a0(0x45a)](Or(_0x5c30bb));},'close':()=>{const _0x589395=_0x222f56;_0x2e5251[_0x589395(0x27a)](),_0x1ef4af[_0x589395(0x4d2)]();}},_0x5522e3;}async['_submitChangeset'](_0x3c4dec,_0xd0d49e){const _0x5c1faa=_0x5bb7a4;var _0x5e5b50,_0x33428b;const {unitType:_0x596e6b,unitID:_0x6f1d1c,changeset:_0x29e5a9}=_0xd0d49e[_0x5c1faa(0x2d5)],_0x5a30d4={'unitID':_0x6f1d1c,'memberID':_0x3c4dec[_0x5c1faa(0x2a3)],'type':_0x596e6b,'changeset':_0x2f96b4(_0x29e5a9)},_0x271cb0=this['_configService'][_0x5c1faa(0x447)](Cr),_0x6722dc=this[_0x5c1faa(0x23e)][_0x5c1faa(0x447)](ie),_0x398d6f=Ur((_0x33428b=(_0x5e5b50=_0x6722dc==null?void 0x0:_0x6722dc[_0x5c1faa(0x347)])!=null?_0x5e5b50:_0x271cb0)!=null?_0x33428b:Er,_0x596e6b,_0x6f1d1c);try{await this['_http'][_0x5c1faa(0x495)](_0x398d6f,{'body':_0x5a30d4});}catch(_0x37e2c9){throw this[_0x5c1faa(0x26e)]['error'](_0x5c1faa(0x424),_0x5c1faa(0x2f7)),_0x37e2c9;}}async[_0x5bb7a4(0x48c)](_0x9fd737){const _0x3585dd=_0x5bb7a4,{unitID:_0xe4f67c,from:_0x9ded1c,to:_0x4bfc52,unitType:_0x2b9766}=_0x9fd737[_0x3585dd(0x2d5)];return(await this[_0x3585dd(0x505)][_0x3585dd(0x2b8)]({'metadata':void 0x0},{'unitID':_0xe4f67c,'type':_0x2b9766,'from':_0x9ded1c,'to':_0x4bfc52}))['changesets'];}};es=Pr([qe(0x0,_0x22a3e1(_0x41156a)),qe(0x1,_0x22a3e1(_0x1275f8)),qe(0x2,_0x2bb536),qe(0x3,_0x3efec9),qe(0x4,_0x5bc59d)],es);const Nr=_0x5bb7a4(0x164);function Ar(_0x125ef8){const _0x5b8b4b=_0x5bb7a4;return JSON['stringify'](_0x125ef8)[_0x5b8b4b(0x282)];}class wi{constructor(){const _0x2d5d47=_0x5bb7a4;g(this,_0x2d5d47(0x379),new _0x1b179a()),g(this,_0x2d5d47(0x17d),this[_0x2d5d47(0x379)]['asObservable']());}['onCommentUpdate'](_0x40ddb6){const _0x9f38a=_0x5bb7a4;this[_0x9f38a(0x379)][_0x9f38a(0x3ff)](_0x40ddb6);}}var Mr=Object[_0x5bb7a4(0x42b)],xr=Object[_0x5bb7a4(0x4e4)],Lr=(_0x166916,_0x3f83b3,_0x5c8a40,_0x34f32d)=>{const _0x3fb2c7=_0x5bb7a4;for(var _0x4bdfb5=_0x34f32d>0x1?void 0x0:_0x34f32d?xr(_0x3f83b3,_0x5c8a40):_0x3f83b3,_0x2c04d0=_0x166916[_0x3fb2c7(0x282)]-0x1,_0x18f6f8;_0x2c04d0>=0x0;_0x2c04d0--)(_0x18f6f8=_0x166916[_0x2c04d0])&&(_0x4bdfb5=(_0x34f32d?_0x18f6f8(_0x3f83b3,_0x5c8a40,_0x4bdfb5):_0x18f6f8(_0x4bdfb5))||_0x4bdfb5);return _0x34f32d&&_0x4bdfb5&&Mr(_0x3f83b3,_0x5c8a40,_0x4bdfb5),_0x4bdfb5;},Hs=(_0x234824,_0x2c1906)=>(_0x9e5ff0,_0x5be919)=>_0x2c1906(_0x9e5ff0,_0x5be919,_0x234824);let Ne=class extends _0x1caa36{constructor(_0x4041c0,_0x1d3af4){const _0x1ddaa9=_0x5bb7a4;super(),g(this,_0x1ddaa9(0x1df),new Map()),(this[_0x1ddaa9(0x21d)]=_0x4041c0,this[_0x1ddaa9(0x556)]=_0x1d3af4,this[_0x1ddaa9(0x368)](_0x7884da(_0x4e4735(this[_0x1ddaa9(0x21d)]['getTypeOfUnitDisposed$'](_0x10a997[_0x1ddaa9(0x55b)])[_0x1ddaa9(0x3f1)](_0x17141f(_0x510a53=>_0x510a53[_0x1ddaa9(0x322)]())),this[_0x1ddaa9(0x21d)][_0x1ddaa9(0x39a)](_0x10a997[_0x1ddaa9(0x172)])['pipe'](_0x17141f(_0x23e96c=>_0x23e96c[_0x1ddaa9(0x322)]())),this[_0x1ddaa9(0x21d)][_0x1ddaa9(0x39a)](_0x10a997[_0x1ddaa9(0x4b3)])[_0x1ddaa9(0x3f1)](_0x17141f(_0x33d5a3=>_0x33d5a3[_0x1ddaa9(0x322)]())))[_0x1ddaa9(0x519)](_0x529546=>this[_0x1ddaa9(0x562)](_0x529546)))));}['setCurrentUser'](_0x54e57a){const _0x4ff021=_0x5bb7a4;this['_userManagerService'][_0x4ff021(0x4fc)](_0x54e57a);}['getCurrentUser'](){const _0x3d0d1c=_0x5bb7a4;return this['_userManagerService'][_0x3d0d1c(0x3b9)]();}[_0x5bb7a4(0x4b2)](_0x43a481,_0x51081b){const _0x282152=_0x5bb7a4;let _0x3963ac=this[_0x282152(0x1df)][_0x282152(0x4f7)](_0x43a481);_0x3963ac||(_0x3963ac=new $r(),this['_roomMembers']['set'](_0x43a481,_0x3963ac)),_0x3963ac[_0x282152(0x4b2)](_0x51081b);}[_0x5bb7a4(0x4e6)](_0x235ecd,_0x36149c){const _0x5b020d=_0x5bb7a4,_0x87bb2c=this['_roomMembers'][_0x5b020d(0x4f7)](_0x235ecd);_0x87bb2c&&_0x87bb2c[_0x5b020d(0x4e6)](_0x36149c);}[_0x5bb7a4(0x2dd)](_0x4578d5){const _0x4ea8f1=_0x5bb7a4;return this[_0x4ea8f1(0x1df)][_0x4ea8f1(0x4f7)](_0x4578d5);}[_0x5bb7a4(0x25d)](_0x2b11ec,_0x306cdc){const _0x589b74=_0x5bb7a4,_0x47c14e=this['_roomMembers'][_0x589b74(0x4f7)](_0x2b11ec);if(_0x47c14e)return _0x47c14e[_0x589b74(0x25d)](_0x306cdc);}['_removeRoom'](_0x3626f5){const _0x4b4934=_0x5bb7a4,_0x3f1463=this['_roomMembers'][_0x4b4934(0x4f7)](_0x3626f5);_0x3f1463&&(_0x3f1463[_0x4b4934(0x4d2)](),this[_0x4b4934(0x1df)][_0x4b4934(0x3d8)](_0x3626f5));}[_0x5bb7a4(0x4d2)](){const _0x32964=_0x5bb7a4;this['_roomMembers'][_0x32964(0x312)](_0xad9e2b=>_0xad9e2b[_0x32964(0x4d2)]()),this[_0x32964(0x1df)]['clear']();}};Ne=Lr([Hs(0x0,_0x2e0534),Hs(0x1,_0x22a3e1(_0x28e0a3))],Ne);class $r extends _0x1caa36{constructor(){const _0x153be1=_0x5bb7a4;super(...arguments),g(this,_0x153be1(0x3dc),new Map());}[_0x5bb7a4(0x4d2)](){const _0x563cef=_0x5bb7a4;this[_0x563cef(0x3dc)]['clear']();}['updateMember'](_0x450c04){const _0x2c63e6=_0x5bb7a4;this[_0x2c63e6(0x3dc)][_0x2c63e6(0x441)](_0x450c04['memberID'],_0x450c04);}[_0x5bb7a4(0x4e6)](_0x23d7b7){const _0x5f2e65=_0x5bb7a4;this[_0x5f2e65(0x3dc)][_0x5f2e65(0x3d8)](_0x23d7b7);}[_0x5bb7a4(0x25d)](_0x1f3cbb){const _0x52b494=_0x5bb7a4;return this[_0x52b494(0x3dc)][_0x52b494(0x4f7)](_0x1f3cbb);}[_0x5bb7a4(0x26c)](){const _0xef2a60=_0x5bb7a4;return Array['from'](this[_0xef2a60(0x3dc)]['values']());}}var Hr=Object[_0x5bb7a4(0x42b)],jr=Object[_0x5bb7a4(0x4e4)],Br=(_0x279aac,_0x22af43,_0x25ec3f,_0x5bc6c6)=>{const _0xab57fe=_0x5bb7a4;for(var _0x2e6c4a=_0x5bc6c6>0x1?void 0x0:_0x5bc6c6?jr(_0x22af43,_0x25ec3f):_0x22af43,_0x577116=_0x279aac[_0xab57fe(0x282)]-0x1,_0x58410e;_0x577116>=0x0;_0x577116--)(_0x58410e=_0x279aac[_0x577116])&&(_0x2e6c4a=(_0x5bc6c6?_0x58410e(_0x22af43,_0x25ec3f,_0x2e6c4a):_0x58410e(_0x2e6c4a))||_0x2e6c4a);return _0x5bc6c6&&_0x2e6c4a&&Hr(_0x22af43,_0x25ec3f,_0x2e6c4a),_0x2e6c4a;},Ee=(_0xe69baf,_0x174681)=>(_0x4626ce,_0x29deb5)=>_0x174681(_0x4626ce,_0x29deb5,_0xe69baf),ve=(_0x4c6797=>(_0x4c6797[_0x4c6797['IDLE']=0x0]=_0x5bb7a4(0x444),_0x4c6797[_0x4c6797[_0x5bb7a4(0x213)]=0x1]='JOINING',_0x4c6797[_0x4c6797[_0x5bb7a4(0x23a)]=0x2]=_0x5bb7a4(0x23a),_0x4c6797[_0x4c6797[_0x5bb7a4(0x3e1)]=0x3]=_0x5bb7a4(0x3e1),_0x4c6797))(ve||{});let ts=class extends _0x177a9e{constructor(_0x443a38,_0x59999f,_0x351334,_0xd6b63c,_0x124e88,_0x1825d1,_0x2b890b,_0x64aa01,_0x34d8f9,_0x3f7885){const _0x556193=_0x5bb7a4;super(),g(this,_0x556193(0x20f),new _0x348a88(0x0)),g(this,_0x556193(0x17e),this['_sessionStatus$']['asObservable']()),g(this,_0x556193(0x57d),new _0x1b179a()),g(this,'event$',this['_event$'][_0x556193(0x1a6)]()),g(this,_0x556193(0x323)),g(this,_0x556193(0x417)),g(this,_0x556193(0x301)),g(this,'_shouldReportTelemetry',!0x1),g(this,_0x556193(0x1b1),null),(this[_0x556193(0x2ba)]=_0x443a38,this['_logService']=_0x351334,this[_0x556193(0x414)]=_0xd6b63c,this[_0x556193(0x2a2)]=_0x124e88,this['_configService']=_0x1825d1,this[_0x556193(0x4ab)]=_0x2b890b,this[_0x556193(0x49f)]=_0x64aa01,this[_0x556193(0x54a)]=_0x34d8f9,this[_0x556193(0x18c)]=_0x3f7885,this[_0x556193(0x512)]=!!this[_0x556193(0x18c)],_0x59999f[_0x556193(0x3f1)](_0x52fa59(this[_0x556193(0x492)]))[_0x556193(0x519)](_0x10b0a1=>{const _0x11055d=_0x556193;var _0x7f969d;typeof _0x10b0a1>'u'||(this[_0x11055d(0x323)]=_0x10b0a1,_0x10b0a1?(this[_0x11055d(0x3b3)](_0x10b0a1),this[_0x11055d(0x417)]=_0x10b0a1[_0x11055d(0x35f)]['subscribe'](_0x460e62=>{const _0x43ccac=_0x11055d;_0x460e62['routeKey']===this[_0x43ccac(0x2ba)]&&this[_0x43ccac(0x497)](_0x460e62);})):(this[_0x11055d(0x3f0)](),this['_sessionStatus$'][_0x11055d(0x3ff)](0x2),(_0x7f969d=this['_socketMessageSubscription'])==null||_0x7f969d[_0x11055d(0x1e1)](),this[_0x11055d(0x417)]=null));}),this[_0x556193(0x368)](this[_0x556193(0x414)][_0x556193(0x1f2)](()=>{const _0x281e81=_0x556193;var _0x1e7cdc;(_0x1e7cdc=this[_0x281e81(0x323)])==null||_0x1e7cdc[_0x281e81(0x45a)]({'cmd':W[_0x281e81(0x2a7)],'data':{'roomID':this[_0x281e81(0x2ba)]}});})));}get[_0x5bb7a4(0x397)](){const _0x2cc569=_0x5bb7a4;return this['_sessionStatus$'][_0x2cc569(0x43d)]();}[_0x5bb7a4(0x494)](){var _0x18d281,_0x1f1544;return(_0x1f1544=(_0x18d281=this['_socket'])==null?void 0x0:_0x18d281['memberID'])!=null?_0x1f1544:null;}[_0x5bb7a4(0x4d2)](){const _0x3b4175=_0x5bb7a4;super[_0x3b4175(0x4d2)](),this['dispose$'][_0x3b4175(0x3ff)](),this['dispose$']['complete']();}[_0x5bb7a4(0x27a)](){const _0x171949=_0x5bb7a4;var _0x3473f1,_0x4278f4;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3473f1=this['_socket'])==null||_0x3473f1[_0x171949(0x45a)]({'cmd':W[_0x171949(0x2a7)],'data':{'roomID':this[_0x171949(0x2ba)]}}),(_0x4278f4=this['_socket'])==null||_0x4278f4[_0x171949(0x27a)](),this['_event$'][_0x171949(0x313)](),this[_0x171949(0x20f)][_0x171949(0x313)](),this[_0x171949(0x4d2)]();}['_onCombEvent'](_0x1bd2ec){const _0x11557e=_0x5bb7a4;_0x1bd2ec[_0x11557e(0x4d5)]===W['JOIN']?this[_0x11557e(0x518)](_0x1bd2ec):_0x1bd2ec[_0x11557e(0x4d5)]===W[_0x11557e(0x297)]&&this['_onRecvEvent'](_0x1bd2ec);}[_0x5bb7a4(0x3b3)](_0x202c1a){const _0x2e8b46=_0x5bb7a4;this[_0x2e8b46(0x20f)][_0x2e8b46(0x3ff)](0x1),_0x202c1a[_0x2e8b46(0x45a)]({'cmd':W[_0x2e8b46(0x542)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x2e8b46(0x2ba)]}]}});}['_onJoinRoomEvent'](_0x5477f0){const _0x19fedf=_0x5bb7a4;var _0x3f50ed;if(_0x5477f0[_0x19fedf(0x4bd)]===Is[_0x19fedf(0x526)]){this[_0x19fedf(0x2a2)][_0x19fedf(0x18e)]({'type':_0x3417d7[_0x19fedf(0x2ad)],'content':this[_0x19fedf(0x4ab)]['t'](_0x19fedf(0x1cd))}),this[_0x19fedf(0x20f)][_0x19fedf(0x3ff)](0x2);return;}this['_sessionStatus$'][_0x19fedf(0x3ff)](0x3);const _0x21a3d2=(_0x3f50ed=_0x5477f0['data']['roomInfos'][this[_0x19fedf(0x2ba)]])==null?void 0x0:_0x3f50ed[_0x19fedf(0x2cc)];_0x21a3d2&&_0x21a3d2[_0x19fedf(0x312)](_0x5a95f1=>this[_0x19fedf(0x49f)][_0x19fedf(0x4b2)](this[_0x19fedf(0x2ba)],_0x5a95f1));}[_0x5bb7a4(0x2a1)](_0x459d77){const _0x5c07f2=_0x5bb7a4;try{const _0x34bcf0=_0x459d77[_0x5c07f2(0x2d5)];switch(_0x34bcf0[_0x5c07f2(0x479)]){case _0x45d469[_0x5c07f2(0x2a5)]:this[_0x5c07f2(0x33a)](_0x34bcf0),this[_0x5c07f2(0x57d)][_0x5c07f2(0x3ff)](_0x34bcf0);break;case _0x45d469['USERS_LEAVE']:this[_0x5c07f2(0x38d)](_0x34bcf0),this[_0x5c07f2(0x57d)][_0x5c07f2(0x3ff)](_0x34bcf0);break;case _0x45d469[_0x5c07f2(0x4a7)]:case _0x45d469[_0x5c07f2(0x259)]:this[_0x5c07f2(0x32e)](),this['_clearCollaborationTimeoutTimer'](),this[_0x5c07f2(0x57d)][_0x5c07f2(0x3ff)](_0x34bcf0);break;case _0x45d469[_0x5c07f2(0x407)]:this[_0x5c07f2(0x26e)][_0x5c07f2(0x17b)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x5c07f2(0x303)](_0x34bcf0)),this['_event$']['next'](_0x34bcf0);break;case _0x45d469[_0x5c07f2(0x34d)]:this[_0x5c07f2(0x54a)][_0x5c07f2(0x461)](_0x34bcf0['data']),this['_event$']['next'](_0x34bcf0);break;default:this[_0x5c07f2(0x57d)][_0x5c07f2(0x3ff)](_0x34bcf0);}}catch(_0x5ba8f5){this[_0x5c07f2(0x26e)][_0x5c07f2(0x17b)](_0x5ba8f5,_0x459d77);}}[_0x5bb7a4(0x33a)](_0x186756){const _0x2c9692=_0x5bb7a4;this['_memberService'][_0x2c9692(0x4b2)](this[_0x2c9692(0x2ba)],_0x186756[_0x2c9692(0x2d5)]);}[_0x5bb7a4(0x38d)](_0x43ecf5){const _0x49962c=_0x5bb7a4;this[_0x49962c(0x49f)][_0x49962c(0x4e6)](this[_0x49962c(0x2ba)],_0x43ecf5['data'][_0x49962c(0x2a3)]);}async['send'](_0x1da07e,_0x3f4b6f){const _0x34586b=_0x5bb7a4;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x34586b(0x533));try{_0x1da07e[_0x34586b(0x479)]===_0x45d469[_0x34586b(0x1b5)]&&(this[_0x34586b(0x24e)](),this[_0x34586b(0x51c)](_0x1da07e)),this['_socket'][_0x34586b(0x45a)]({'cmd':W[_0x34586b(0x200)],'routeKey':_0x3f4b6f,'routeType':'','data':_0x1da07e});}catch(_0x53d4b5){this[_0x34586b(0x26e)][_0x34586b(0x17b)](_0x53d4b5);}}[_0x5bb7a4(0x24e)](){const _0xb2f595=_0x5bb7a4;var _0x4caac5;this['_collaborationTimeoutTimer']=window[_0xb2f595(0x273)](()=>{const _0x62e03=_0xb2f595;this[_0x62e03(0x301)]=null,this['_messageService'][_0x62e03(0x18e)]({'type':_0x3417d7['Error'],'content':this[_0x62e03(0x4ab)]['t'](_0x62e03(0x3e8))});},(_0x4caac5=this[_0xb2f595(0x23e)]['getConfig'](bi))!=null?_0x4caac5:Ti);}[_0x5bb7a4(0x42a)](){const _0x4cadcd=_0x5bb7a4;this[_0x4cadcd(0x301)]&&(clearTimeout(this[_0x4cadcd(0x301)]),this[_0x4cadcd(0x301)]=null);}[_0x5bb7a4(0x51c)](_0x488b6c){const _0x477b73=_0x5bb7a4;if(!this[_0x477b73(0x512)])return;const {data:_0x2eae5a}=_0x488b6c,{unitID:_0x253247,changeset:_0x4232be}=_0x2eae5a,{mutations:_0x18bc7b,type:_0x4e9058}=_0x4232be;this['_telemetryInfo']={'unitId':_0x253247,'type':_0x4e9058,'startTime':performance[_0x477b73(0x3d2)](),'stopTime':0x0,'duration':0x0,'size':Ar(_0x18bc7b)};}[_0x5bb7a4(0x32e)](){const _0x93b3c9=_0x5bb7a4;if(this[_0x93b3c9(0x512)]){if(!this[_0x93b3c9(0x1b1)]){this['_logService'][_0x93b3c9(0x17b)](_0x93b3c9(0x424),_0x93b3c9(0x377));return;}this[_0x93b3c9(0x1b1)][_0x93b3c9(0x25b)]=performance[_0x93b3c9(0x3d2)](),this['_telemetryInfo'][_0x93b3c9(0x286)]=this[_0x93b3c9(0x1b1)][_0x93b3c9(0x25b)]-this[_0x93b3c9(0x1b1)][_0x93b3c9(0x22c)],this['_telemetryService'][_0x93b3c9(0x22f)](Nr,this[_0x93b3c9(0x1b1)]),this[_0x93b3c9(0x1b1)]=null;}}[_0x5bb7a4(0x3f0)](){const _0x7998b5=_0x5bb7a4;this[_0x7998b5(0x1b1)]=null;}};ts=Br([Ee(0x2,_0x3efec9),Ee(0x3,_0x3e0747),Ee(0x4,_0x38087f),Ee(0x5,_0x2bb536),Ee(0x6,_0x22a3e1(_0x1fdc1b)),Ee(0x7,_0x22a3e1(Ne)),Ee(0x8,_0x22a3e1(wi)),Ee(0x9,_0x4f55bd(_0x1b6586))],ts);var kr=Object[_0x5bb7a4(0x42b)],Wr=Object['getOwnPropertyDescriptor'],Fr=(_0x49ca9f,_0x303c04,_0x17328e,_0x2bedb6)=>{const _0x56e0dd=_0x5bb7a4;for(var _0x24b59e=_0x2bedb6>0x1?void 0x0:_0x2bedb6?Wr(_0x303c04,_0x17328e):_0x303c04,_0x12d93e=_0x49ca9f[_0x56e0dd(0x282)]-0x1,_0x22e60c;_0x12d93e>=0x0;_0x12d93e--)(_0x22e60c=_0x49ca9f[_0x12d93e])&&(_0x24b59e=(_0x2bedb6?_0x22e60c(_0x303c04,_0x17328e,_0x24b59e):_0x22e60c(_0x24b59e))||_0x24b59e);return _0x2bedb6&&_0x24b59e&&kr(_0x303c04,_0x17328e,_0x24b59e),_0x24b59e;},je=(_0x8540b2,_0x3bd3c9)=>(_0x13305f,_0x5a6791)=>_0x3bd3c9(_0x13305f,_0x5a6791,_0x8540b2);let Ae=class extends _0x1caa36{constructor(_0x872892,_0x3f660e,_0x470a38,_0x1c35bb,_0x3fbfa8,_0x4392f7){const _0x52c720=_0x5bb7a4;super(),g(this,_0x52c720(0x27d),new _0x348a88(void 0x0)),g(this,_0x52c720(0x1ad),this[_0x52c720(0x27d)]['asObservable']()),g(this,_0x52c720(0x553),null),g(this,_0x52c720(0x446),new Map()),g(this,_0x52c720(0x281),new _0x348a88(ve[_0x52c720(0x444)])),g(this,_0x52c720(0x1ba),this[_0x52c720(0x281)][_0x52c720(0x1a6)]()),g(this,_0x52c720(0x33d),!0x1),g(this,'_retryConnectingTimer'),g(this,_0x52c720(0x24b),0x0),g(this,_0x52c720(0x1d3)),g(this,_0x52c720(0x239)),(this['_injector']=_0x872892,this[_0x52c720(0x4ab)]=_0x3f660e,this[_0x52c720(0x2a2)]=_0x470a38,this[_0x52c720(0x26e)]=_0x1c35bb,this['_configService']=_0x3fbfa8,this['_socketService']=_0x4392f7,this[_0x52c720(0x20a)]());}get[_0x5bb7a4(0x323)](){return this['_socket$']['getValue']();}[_0x5bb7a4(0x20a)](){const _0x4f2913=_0x5bb7a4;this['_listenToOfflineEvent'](),this[_0x4f2913(0x1af)]();}[_0x5bb7a4(0x4d2)](){const _0x575502=_0x5bb7a4;super['dispose'](),this[_0x575502(0x446)][_0x575502(0x312)](_0x5abe7d=>_0x5abe7d[_0x575502(0x4d2)]()),this['_sessions'][_0x575502(0x395)](),this[_0x575502(0x281)][_0x575502(0x313)]();}async['requireSession'](_0x271f7b){const _0x33c085=_0x5bb7a4;if(this[_0x33c085(0x446)][_0x33c085(0x2e6)](_0x271f7b))return this[_0x33c085(0x446)][_0x33c085(0x4f7)](_0x271f7b);this['_tryEnsureSocket']();const _0x45b18f=this[_0x33c085(0x338)]['createInstance'](ts,_0x271f7b,this[_0x33c085(0x27d)][_0x33c085(0x1a6)]());return this[_0x33c085(0x446)][_0x33c085(0x441)](_0x271f7b,_0x45b18f),_0x45b18f;}[_0x5bb7a4(0x165)](_0x5d3450){const _0x265746=_0x5bb7a4;var _0x811c8e;const _0x52c9b4=this[_0x265746(0x446)][_0x265746(0x4f7)](_0x5d3450);_0x52c9b4&&(this['_sessions']['delete'](_0x5d3450),_0x52c9b4[_0x265746(0x27a)]()),this[_0x265746(0x446)]['size']||(_0x811c8e=this['_socket'])==null||_0x811c8e[_0x265746(0x27a)]();}['reconnect'](){const _0x958ae6=_0x5bb7a4;this[_0x958ae6(0x24b)]=0x0,this[_0x958ae6(0x279)]!=null&&(clearTimeout(this[_0x958ae6(0x279)]),this[_0x958ae6(0x279)]=null),this[_0x958ae6(0x280)]();}[_0x5bb7a4(0x218)](){const _0x5a75f2=_0x5bb7a4;var _0x105158,_0x23d12f;const _0x210852=this[_0x5a75f2(0x23e)][_0x5a75f2(0x447)](ur),_0x48e8c6=this[_0x5a75f2(0x23e)][_0x5a75f2(0x447)](ie),_0x45a566=(_0x23d12f=(_0x105158=_0x48e8c6==null?void 0x0:_0x48e8c6[_0x5a75f2(0x56c)])!=null?_0x105158:_0x210852)!=null?_0x23d12f:dr,_0x5c0b89=this[_0x5a75f2(0x19e)][_0x5a75f2(0x343)](_0x45a566);return this[_0x5a75f2(0x553)]=_0x5c0b89,_0x5c0b89;}[_0x5bb7a4(0x1e2)](){const _0x320533=_0x5bb7a4;var _0x2c0234,_0x240689;try{const _0x46b346=(_0x240689=(_0x2c0234=this[_0x320533(0x323)])!=null?_0x2c0234:this['_candidateSocket'])!=null?_0x240689:this[_0x320533(0x218)]();if(_0x46b346){const _0x38af31=_0x46b346[_0x320533(0x45a)];_0x46b346[_0x320533(0x45a)]=_0x3b4638=>(this[_0x320533(0x20d)](),_0x38af31['apply'](_0x46b346,[_0x3b4638])),_0x46b346[_0x320533(0x35f)][_0x320533(0x519)](_0x284c32=>this[_0x320533(0x2f0)](_0x46b346,_0x284c32)),_0x46b346['error$']['pipe'](_0x4b07d5(0x1))['subscribe'](_0x22ea0b=>this[_0x320533(0x26e)][_0x320533(0x17b)](_0x320533(0x528),_0x22ea0b)),_0x46b346[_0x320533(0x3eb)][_0x320533(0x3f1)](_0x4b07d5(0x1))[_0x320533(0x519)](()=>{const _0x59db01=_0x320533;this[_0x59db01(0x3e0)](_0x46b346);}),_0x46b346[_0x320533(0x339)][_0x320533(0x3f1)](_0x4b07d5(0x1))['subscribe'](_0x48044a=>{const _0x1cbae5=_0x320533;this['_logService']['debug'](_0x1cbae5(0x358),_0x1cbae5(0x425),_0x48044a),this[_0x1cbae5(0x1ef)]();});}}catch(_0x1ff35a){this['_logService'][_0x320533(0x17b)](_0x1ff35a),this[_0x320533(0x1ef)]();}}[_0x5bb7a4(0x3e0)](_0x530472){const _0x54c0f5=_0x5bb7a4;this['_logService'][_0x54c0f5(0x23c)](_0x54c0f5(0x358),_0x54c0f5(0x3bd)),_0x530472['send']({'cmd':W[_0x54c0f5(0x183)]}),this[_0x54c0f5(0x20d)]();}['_listenToOfflineEvent'](){const _0x494d0c=_0x5bb7a4;window['addEventListener'](_0x494d0c(0x4ed),()=>this[_0x494d0c(0x4b6)]());}[_0x5bb7a4(0x4b6)](){const _0x259b59=_0x5bb7a4;this[_0x259b59(0x33d)]=!0x1,this['_candidateSocket']=null,this[_0x259b59(0x281)]['next'](ve['OFFLINE']),this['_socket$'][_0x259b59(0x3ff)](null),this[_0x259b59(0x344)](),this[_0x259b59(0x296)]();}[_0x5bb7a4(0x1ef)](){const _0x52d390=_0x5bb7a4;var _0x4478e8;this[_0x52d390(0x4b6)](),this['_retryCount']<((_0x4478e8=this[_0x52d390(0x23e)][_0x52d390(0x447)](pr))!=null?_0x4478e8:gr)?(this['_messageService'][_0x52d390(0x18e)]({'key':'collaboration-session-retry','type':_0x3417d7[_0x52d390(0x2ad)],'content':this[_0x52d390(0x4ab)]['t'](_0x52d390(0x4a8))}),this[_0x52d390(0x280)]()):this['_messageService'][_0x52d390(0x18e)]({'key':_0x52d390(0x482),'type':_0x3417d7[_0x52d390(0x3cb)],'content':this[_0x52d390(0x4ab)]['t'](_0x52d390(0x46e))});}['_listenToOnlineEvent'](){const _0x37d8dd=_0x5bb7a4,_0x215f85=()=>{const _0x2f840d=_0x4081;this[_0x2f840d(0x323)]||this[_0x2f840d(0x328)]();},_0x22f093=()=>{const _0x1dc8d9=_0x4081;this[_0x1dc8d9(0x323)]||document[_0x1dc8d9(0x47b)]===_0x1dc8d9(0x2a8)||this['reconnect']();};window[_0x37d8dd(0x2ab)]('online',_0x215f85),document[_0x37d8dd(0x2ab)](_0x37d8dd(0x1f1),_0x22f093);}['_tryReconnect'](){const _0x54ae29=_0x5bb7a4;var _0x1c523d;const _0x5485fe=this[_0x54ae29(0x24b)],_0x68232a=this['_configService'][_0x54ae29(0x447)](ie),_0x410898=_0x5485fe===0x0?0x0:((_0x1c523d=_0x68232a==null?void 0x0:_0x68232a[_0x54ae29(0x306)])!=null?_0x1c523d:mr)*0x2**_0x5485fe;this[_0x54ae29(0x279)]=window['setTimeout'](()=>{const _0x3edfe7=_0x54ae29;clearTimeout(this[_0x3edfe7(0x279)]),this[_0x3edfe7(0x279)]=null,this['_tryEnsureSocket']();},_0x410898),this[_0x54ae29(0x24b)]+=0x1;}[_0x5bb7a4(0x2f0)](_0x41cf33,_0x4539b1){const _0xcb3279=_0x5bb7a4,{cmd:_0xa1399a}=_0x4539b1;_0xa1399a===W[_0xcb3279(0x183)]&&!this['_socketReady']&&(_0x41cf33[_0xcb3279(0x2a3)]=_0x4539b1[_0xcb3279(0x2d5)][_0xcb3279(0x2a3)],this['_socket$'][_0xcb3279(0x3ff)](_0x41cf33),this[_0xcb3279(0x281)][_0xcb3279(0x3ff)](ve['ONLINE']),this[_0xcb3279(0x33d)]=!0x0,this[_0xcb3279(0x553)]=null),_0xa1399a===W['HEARTBEAT']&&this[_0xcb3279(0x344)](),this['_rescheduleHeartbeat']();}[_0x5bb7a4(0x20d)](){const _0x9ea9a5=_0x5bb7a4;var _0x565efe;this[_0x9ea9a5(0x296)](),this['_sendHeartbeatTimer']=window[_0x9ea9a5(0x273)](()=>this[_0x9ea9a5(0x2e0)](),(_0x565efe=this[_0x9ea9a5(0x23e)][_0x9ea9a5(0x447)](fr))!=null?_0x565efe:vr);}[_0x5bb7a4(0x2e0)](){const _0x3f47ab=_0x5bb7a4;this['_socket'][_0x3f47ab(0x45a)]({'cmd':W['HEARTBEAT']}),this[_0x3f47ab(0x1a9)]();}[_0x5bb7a4(0x1a9)](){const _0x3de223=_0x5bb7a4;var _0x52a84c;this[_0x3de223(0x239)]=window[_0x3de223(0x273)](()=>this[_0x3de223(0x1ef)](),(_0x52a84c=this[_0x3de223(0x23e)][_0x3de223(0x447)](bi))!=null?_0x52a84c:Ti);}[_0x5bb7a4(0x296)](){const _0x103a15=_0x5bb7a4;this[_0x103a15(0x1d3)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x5bb7a4(0x344)](){const _0x57554c=_0x5bb7a4;this[_0x57554c(0x239)]!=null&&(clearTimeout(this[_0x57554c(0x239)]),this[_0x57554c(0x239)]=null);}};Ae=Fr([je(0x0,_0x22a3e1(_0x4c5160)),je(0x1,_0x22a3e1(_0x1fdc1b)),je(0x2,_0x38087f),je(0x3,_0x3efec9),je(0x4,_0x2bb536),je(0x5,Oi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x5bb7a4(0x433)]((i+0x100)[_0x5bb7a4(0x2e5)](0x10)[_0x5bb7a4(0x3e2)](0x1));function Vr(_0x165e12,_0x5805ca=0x0){const _0x189db9=_0x5bb7a4;return(Y[_0x165e12[_0x5805ca+0x0]]+Y[_0x165e12[_0x5805ca+0x1]]+Y[_0x165e12[_0x5805ca+0x2]]+Y[_0x165e12[_0x5805ca+0x3]]+'-'+Y[_0x165e12[_0x5805ca+0x4]]+Y[_0x165e12[_0x5805ca+0x5]]+'-'+Y[_0x165e12[_0x5805ca+0x6]]+Y[_0x165e12[_0x5805ca+0x7]]+'-'+Y[_0x165e12[_0x5805ca+0x8]]+Y[_0x165e12[_0x5805ca+0x9]]+'-'+Y[_0x165e12[_0x5805ca+0xa]]+Y[_0x165e12[_0x5805ca+0xb]]+Y[_0x165e12[_0x5805ca+0xc]]+Y[_0x165e12[_0x5805ca+0xd]]+Y[_0x165e12[_0x5805ca+0xe]]+Y[_0x165e12[_0x5805ca+0xf]])[_0x189db9(0x163)]();}let Nt;const Gr=new Uint8Array(0x10);function Yr(){const _0x52dc0b=_0x5bb7a4;if(!Nt){if(typeof crypto>'u'||!crypto[_0x52dc0b(0x342)])throw new Error(_0x52dc0b(0x39e));Nt=crypto[_0x52dc0b(0x342)]['bind'](crypto);}return Nt(Gr);}const Kr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x5bb7a4(0x3ef)](crypto),js={'randomUUID':Kr};function zr(_0x3e344f,_0x2f2b14,_0x52a307){const _0x5e4eae=_0x5bb7a4;if(js[_0x5e4eae(0x335)]&&!_0x2f2b14&&!_0x3e344f)return js[_0x5e4eae(0x335)]();_0x3e344f=_0x3e344f||{};const _0x33e9d1=_0x3e344f[_0x5e4eae(0x453)]||(_0x3e344f[_0x5e4eae(0x2e1)]||Yr)();return _0x33e9d1[0x6]=_0x33e9d1[0x6]&0xf|0x40,_0x33e9d1[0x8]=_0x33e9d1[0x8]&0x3f|0x80,Vr(_0x33e9d1);}var qr=Object['defineProperty'],Xr=Object[_0x5bb7a4(0x4e4)],Jr=(_0x37e58d,_0x16ee5a,_0x2c5d8b,_0x3ea139)=>{const _0x34035e=_0x5bb7a4;for(var _0x4c1fd3=_0x3ea139>0x1?void 0x0:_0x3ea139?Xr(_0x16ee5a,_0x2c5d8b):_0x16ee5a,_0x99d74d=_0x37e58d[_0x34035e(0x282)]-0x1,_0x215e77;_0x99d74d>=0x0;_0x99d74d--)(_0x215e77=_0x37e58d[_0x99d74d])&&(_0x4c1fd3=(_0x3ea139?_0x215e77(_0x16ee5a,_0x2c5d8b,_0x4c1fd3):_0x215e77(_0x4c1fd3))||_0x4c1fd3);return _0x3ea139&&_0x4c1fd3&&qr(_0x16ee5a,_0x2c5d8b,_0x4c1fd3),_0x4c1fd3;},At=(_0x185651,_0xa4d28)=>(_0x3e906d,_0x5784f0)=>_0xa4d28(_0x3e906d,_0x5784f0,_0x185651);let ft=class{constructor(_0x5d79f2,_0x20e8aa,_0x477005){const _0x26cdf1=_0x5bb7a4;this[_0x26cdf1(0x338)]=_0x5d79f2,this[_0x26cdf1(0x1c5)]=_0x20e8aa,this[_0x26cdf1(0x262)]=_0x477005;}['transformIMECache'](_0x9d1624){const _0x20cc54=_0x5bb7a4;this['_transformUndoRedoStack'](_0x9d1624),this[_0x20cc54(0x1d9)](_0x9d1624);}['transformRemoteChangeset'](_0x23f3bf){const _0x3a6777=_0x5bb7a4,{unitID:_0x4bdd38}=_0x23f3bf,_0x380cc9=this[_0x3a6777(0x262)][_0x3a6777(0x177)](_0x4bdd38)[_0x3a6777(0x47c)](_0x4a315f),{redoCache:_0x2c2687}=_0x380cc9[_0x3a6777(0x222)]();if(_0x2c2687[_0x3a6777(0x282)]===0x0)return _0x23f3bf;let _0x1fbfe0=_0x41d014[_0x3a6777(0x1d2)](_0x23f3bf[_0x3a6777(0x47f)][0x0]);for(let _0x3a297a=0x0;_0x3a297a<_0x2c2687[_0x3a6777(0x282)];_0x3a297a++){const _0x1aec67={'id':_0x3a6777(0x557),'params':{..._0x2c2687[_0x3a297a]}},_0x4d467c=this[_0x3a6777(0x1c5)][_0x3a6777(0x4f0)](_0x1fbfe0,_0x1aec67,!0x1);if(_0x35b5b8(_0x4d467c))throw _0x4d467c[_0x3a6777(0x17b)];_0x1fbfe0=_0x4d467c[_0x3a6777(0x40a)];}return{..._0x41d014['deepClone'](_0x23f3bf),'mutations':[_0x1fbfe0]};}[_0x5bb7a4(0x1a4)](_0x396b6b){const _0x5e7f68=_0x5bb7a4,{unitID:_0x58840e}=_0x396b6b,_0x172e6a=this['_renderManagerService'][_0x5e7f68(0x177)](_0x58840e)['with'](_0x4a315f),{undoCache:_0x4d517b,redoCache:_0x1b1c91}=_0x172e6a[_0x5e7f68(0x222)]();if(_0x4d517b[_0x5e7f68(0x282)]===0x0||_0x1b1c91['length']===0x0)return;const _0xe93a36=[],_0x5efcee=[];let _0x458b92=_0x41d014[_0x5e7f68(0x1d2)](_0x396b6b['mutations'][0x0]),_0x1d9cd0=_0x41d014[_0x5e7f68(0x1d2)](_0x396b6b['mutations'][0x0]);for(let _0x8edd88=_0x4d517b['length']-0x1;_0x8edd88>=0x0;_0x8edd88--){const _0xfb9827={'id':_0x5e7f68(0x557),'params':{..._0x4d517b[_0x8edd88]}},_0x1ca1b2={'id':_0x5e7f68(0x557),'params':{..._0x1b1c91[_0x8edd88]}},_0x36c076=this[_0x5e7f68(0x1c5)][_0x5e7f68(0x4f0)](_0x458b92,_0xfb9827,!0x1),_0x5c1669=this[_0x5e7f68(0x1c5)][_0x5e7f68(0x4f0)](_0x1d9cd0,_0x1ca1b2,!0x1);if(_0x35b5b8(_0x36c076))throw _0x36c076['error'];if(_0x35b5b8(_0x5c1669))throw _0x5c1669[_0x5e7f68(0x17b)];_0xe93a36[_0x5e7f68(0x32b)](_0x36c076[_0x5e7f68(0x4d6)]['params']),_0x5efcee[_0x5e7f68(0x32b)](_0x5c1669[_0x5e7f68(0x4d6)]['params']),_0x458b92=_0x36c076[_0x5e7f68(0x40a)],_0x1d9cd0=_0x5c1669[_0x5e7f68(0x40a)];}_0x172e6a['setUndoRedoMutationParamsCache']({'undoCache':_0xe93a36,'redoCache':_0x5efcee});}[_0x5bb7a4(0x1d9)](_0x161188){const _0x5179b0=_0x5bb7a4,{unitID:_0x78b57b}=_0x161188,_0x24fba6=this['_renderManagerService']['getRenderById'](_0x78b57b)[_0x5179b0(0x47c)](_0x4a315f),_0x23fc7c=_0x24fba6[_0x5179b0(0x341)]();if(_0x23fc7c==null)return;const _0x54ba53=[{'id':_0x5179b0(0x557),'params':{'unitId':_0x161188[_0x5179b0(0x4c4)],'actions':null,'textRanges':[_0x23fc7c]}}],_0x553464=this[_0x5179b0(0x1c5)]['transformMutationsWithChangeset'](_0x161188,_0x54ba53);if(!_0x5f43ea(_0x553464))throw _0x553464['error'];const _0x3b9ad3=_0x553464[_0x5179b0(0x4d6)][0x0][_0x5179b0(0x3d9)]['textRanges'];Array[_0x5179b0(0x2f4)](_0x3b9ad3)&&_0x3b9ad3[_0x5179b0(0x282)]&&_0x24fba6[_0x5179b0(0x2b6)](_0x3b9ad3[0x0]);}};ft=Jr([At(0x0,_0x22a3e1(_0x4c5160)),At(0x1,_0x2db4c4),At(0x2,_0x31d8f9)],ft);var Zr=Object[_0x5bb7a4(0x42b)],Qr=Object[_0x5bb7a4(0x4e4)],eo=(_0x1415a8,_0x566779,_0x301e25,_0x26a44f)=>{const _0x2d4861=_0x5bb7a4;for(var _0x157122=_0x26a44f>0x1?void 0x0:_0x26a44f?Qr(_0x566779,_0x301e25):_0x566779,_0x5a585c=_0x1415a8[_0x2d4861(0x282)]-0x1,_0x37826c;_0x5a585c>=0x0;_0x5a585c--)(_0x37826c=_0x1415a8[_0x5a585c])&&(_0x157122=(_0x26a44f?_0x37826c(_0x566779,_0x301e25,_0x157122):_0x37826c(_0x157122))||_0x157122);return _0x26a44f&&_0x157122&&Zr(_0x566779,_0x301e25,_0x157122),_0x157122;},Xe=(_0x24928f,_0x47d195)=>(_0x30d281,_0x41dbc6)=>_0x47d195(_0x30d281,_0x41dbc6,_0x24928f);let q=class extends _0x1caa36{constructor(_0xdf690c,_0x84f84d,_0x37f2f1,_0x2067bc,_0x2e91ec){const _0x535338=_0x5bb7a4;super(),g(this,_0x535338(0x36a),new Map()),g(this,_0x535338(0x2f2),new Map()),g(this,_0x535338(0x318),!0x1),(this[_0x535338(0x23e)]=_0xdf690c,this[_0x535338(0x27f)]=_0x84f84d,this['_beforeCloseService']=_0x37f2f1,this['_localeService']=_0x2067bc,this['_revisionService']=_0x2e91ec,this['_setupBeforeClosingHandler']());}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x5bb7a4(0x3ca)](){this['_disabled']=!0x1;}[_0x5bb7a4(0x4d2)](){const _0x4b4066=_0x5bb7a4;this[_0x4b4066(0x550)]()[_0x4b4066(0x40e)](()=>super[_0x4b4066(0x4d2)]());}async['loadOfflineData'](_0x341984){const _0x558e66=_0x5bb7a4;return this[_0x558e66(0x318)]?null:this[_0x558e66(0x27f)][_0x558e66(0x400)](Bs(_0x341984));}async[_0x5bb7a4(0x16a)](_0x1cd4e5,_0x1bb653){const _0x4bb3df=_0x5bb7a4;return!!this[_0x4bb3df(0x27f)]['setItem'](_0x1cd4e5,_0x1bb653);}[_0x5bb7a4(0x21f)](_0x4647fa,_0x44a4f7,_0x30e7b7,_0x10ef7f){const _0x594952=_0x5bb7a4,_0x2fac64=this[_0x594952(0x54c)][_0x594952(0x3f5)](_0x4647fa);this[_0x594952(0x36a)][_0x594952(0x441)](_0x4647fa,{'unitID':_0x4647fa,'type':_0x44a4f7,'awaitingChangeset':_0x30e7b7,'mutations':_0x10ef7f,'rev':_0x2fac64}),this[_0x594952(0x2f2)][_0x594952(0x2e6)](_0x4647fa)||this['_scheduleSaving'](_0x4647fa);}[_0x5bb7a4(0x576)](_0x144e0c){const _0x10d236=_0x5bb7a4,_0x492f2f=this[_0x10d236(0x2ef)]();_0x492f2f===0x0?this[_0x10d236(0x3a2)](_0x144e0c):this[_0x10d236(0x2f2)][_0x10d236(0x441)](_0x144e0c,setTimeout(()=>this[_0x10d236(0x3a2)](_0x144e0c),_0x492f2f));}[_0x5bb7a4(0x2ef)](){const _0x2a567d=_0x5bb7a4;var _0x57fb1d;return(_0x57fb1d=this[_0x2a567d(0x23e)][_0x2a567d(0x447)](Sr))!=null?_0x57fb1d:Ir;}[_0x5bb7a4(0x3a2)](_0xf9d184){const _0x1b9cae=_0x5bb7a4,_0x50d843=this[_0x1b9cae(0x2f2)][_0x1b9cae(0x4f7)](_0xf9d184);return _0x50d843!==void 0x0&&window['clearTimeout'](_0x50d843),this['_localStorageService'][_0x1b9cae(0x411)](Bs(_0xf9d184),this[_0x1b9cae(0x36a)][_0x1b9cae(0x4f7)](_0xf9d184))[_0x1b9cae(0x40e)](()=>this[_0x1b9cae(0x2f2)][_0x1b9cae(0x3d8)](_0xf9d184));}async[_0x5bb7a4(0x550)](){const _0x592891=_0x5bb7a4,_0x3c6052=[];this[_0x592891(0x2f2)]['forEach']((_0x30afc7,_0x4e4298)=>{const _0x13be5e=_0x592891;window['clearTimeout'](_0x30afc7),_0x3c6052[_0x13be5e(0x433)](this['_saveCache'](_0x4e4298)[_0x13be5e(0x40e)](()=>{const _0x23f3c1=_0x13be5e;this[_0x23f3c1(0x2f2)][_0x23f3c1(0x3d8)](_0x4e4298);}));}),await Promise[_0x592891(0x231)](_0x3c6052);}[_0x5bb7a4(0x4e2)](){const _0x3955c4=_0x5bb7a4;this[_0x3955c4(0x368)](this[_0x3955c4(0x414)]['registerBeforeClose'](()=>{const _0x1bf112=_0x3955c4;if(this['_saveTaskMap'][_0x1bf112(0x35a)])return this[_0x1bf112(0x4ab)]['t'](_0x1bf112(0x17c));}));}};q=eo([Xe(0x0,_0x2bb536),Xe(0x1,_0x21f678),Xe(0x2,_0x3e0747),Xe(0x3,_0x22a3e1(_0x1fdc1b)),Xe(0x4,_0x22a3e1(_0x25150b))],q);function Bs(_0x259c3d){const _0x3648b6=_0x5bb7a4;return _0x3648b6(0x1ce)+_0x259c3d;}var to=Object[_0x5bb7a4(0x42b)],so=Object[_0x5bb7a4(0x4e4)],io=(_0x4a9d00,_0x3f95b7,_0xc67a32,_0x7e6241)=>{const _0x255234=_0x5bb7a4;for(var _0x1ced74=_0x7e6241>0x1?void 0x0:_0x7e6241?so(_0x3f95b7,_0xc67a32):_0x3f95b7,_0x561c76=_0x4a9d00[_0x255234(0x282)]-0x1,_0x1021f2;_0x561c76>=0x0;_0x561c76--)(_0x1021f2=_0x4a9d00[_0x561c76])&&(_0x1ced74=(_0x7e6241?_0x1021f2(_0x3f95b7,_0xc67a32,_0x1ced74):_0x1021f2(_0x1ced74))||_0x1ced74);return _0x7e6241&&_0x1ced74&&to(_0x3f95b7,_0xc67a32,_0x1ced74),_0x1ced74;},Mt=(_0x335613,_0x1f12ef)=>(_0x30fbcb,_0x4161b0)=>_0x1f12ef(_0x30fbcb,_0x4161b0,_0x335613);function no(_0x4a6464){const _0x1c7fc1=_0x5bb7a4,{unitID:_0x536e85,mutations:_0x4864bb}=_0x4a6464;return{'unitId':_0x536e85,'subUnitId':_0x4864bb[0x0][_0x1c7fc1(0x3d9)][_0x1c7fc1(0x1c9)]};}let vt=class{constructor(_0x3177d2,_0x558287,_0x54aa83){const _0x45bcb7=_0x5bb7a4;this[_0x45bcb7(0x338)]=_0x3177d2,this['_transformService']=_0x558287,this['_instanceService']=_0x54aa83;}[_0x5bb7a4(0x1a5)](_0x4d254d){const _0x5df2dd=_0x5bb7a4;var _0x400cf8,_0x6fdd09,_0x32dc67,_0x2424db;const _0x3785e5=this['_injector'][_0x5df2dd(0x4f7)](_0x11487d),{unitId:_0x1b6ad7,subUnitId:_0x30f9a0}=no(_0x4d254d),_0x24c8f9=_0x3785e5[_0x5df2dd(0x3a3)](_0x1b6ad7)[_0x5df2dd(0x171)](),_0x205ddc=(_0x6fdd09=(_0x400cf8=this[_0x5df2dd(0x194)][_0x5df2dd(0x406)](_0x1b6ad7))==null?void 0x0:_0x400cf8[_0x5df2dd(0x475)]())==null?void 0x0:_0x6fdd09['getSheetId']();if(_0x24c8f9[_0x5df2dd(0x282)]===0x0||!_0x1b6ad7||!_0x30f9a0)return;const _0x5bb8c2=[{'id':_0x544c74['id'],'params':{'unitId':_0x1b6ad7,'subUnitId':_0x205ddc,'selections':_0x41d014[_0x5df2dd(0x1d2)](_0x24c8f9)}}],_0x3054f4=this[_0x5df2dd(0x1c5)][_0x5df2dd(0x428)](_0x4d254d,_0x5bb8c2);if(!_0x5f43ea(_0x3054f4))throw _0x3054f4[_0x5df2dd(0x17b)];const _0x46e6d0=(_0x2424db=(_0x32dc67=_0x3054f4[_0x5df2dd(0x4d6)][0x0])==null?void 0x0:_0x32dc67['params'])==null?void 0x0:_0x2424db[_0x5df2dd(0x45d)];if(Array[_0x5df2dd(0x2f4)](_0x46e6d0)&&_0x46e6d0['length']){if(_0x46e6d0[_0x5df2dd(0x282)]===_0x5bb8c2[0x0][_0x5df2dd(0x3d9)][_0x5df2dd(0x45d)]['length']&&_0x46e6d0[_0x5df2dd(0x371)]((_0x5b98e2,_0x5cad59)=>_0x49e4db[_0x5df2dd(0x485)](_0x5b98e2[_0x5df2dd(0x2da)],_0x5bb8c2[0x0][_0x5df2dd(0x3d9)][_0x5df2dd(0x45d)][_0x5cad59][_0x5df2dd(0x2da)])))return;this['_injector'][_0x5df2dd(0x4f7)](_0x1e58f0)['executeCommand'](_0x544c74['id'],{'unitId':_0x1b6ad7,'subUnitId':_0x205ddc,'selections':_0x46e6d0});}}};vt=io([Mt(0x0,_0x22a3e1(_0x4c5160)),Mt(0x1,_0x2db4c4),Mt(0x2,_0x2e0534)],vt);const Rt=_0x5ce9a5('univer-pro.collaboration-client.single-active-unit-service');var Di=(_0x2632d8=>(_0x2632d8[_0x2632d8[_0x5bb7a4(0x1ee)]=0x0]=_0x5bb7a4(0x1ee),_0x2632d8[_0x2632d8['OTHER_CLIENTS_EDITING']=0x1]=_0x5bb7a4(0x1c1),_0x2632d8))(Di||{});const ks=0x7530,Ws=_0x5bb7a4(0x22e);class ro extends _0x1caa36{constructor(){const _0x4ca5a5=_0x5bb7a4;super(),g(this,'_id',_0x41d014[_0x4ca5a5(0x4d1)]()),g(this,'_selfUnitIDs',new Set()),g(this,'_unitOnClients',new Map()),g(this,_0x4ca5a5(0x367),null),g(this,'_clearOtherTimers',new Map()),g(this,'_unitStatus',new Map()),this[_0x4ca5a5(0x515)]();}[_0x5bb7a4(0x4d2)](){const _0x1b9cfc=_0x5bb7a4;super[_0x1b9cfc(0x4d2)](),this['_clearOtherTimers']['forEach']((_0x5607ad,_0x415a54)=>this[_0x1b9cfc(0x276)](_0x415a54)),this[_0x1b9cfc(0x367)]&&window[_0x1b9cfc(0x537)](this[_0x1b9cfc(0x367)]);}['getUnitStatus$'](_0x2b3f2c){const _0x6fea81=_0x5bb7a4;return this['_ensureSubject'](_0x2b3f2c)[_0x6fea81(0x3f1)](_0x2abb77());}['editingUnit'](_0x8b6095){const _0x114b05=_0x5bb7a4;this[_0x114b05(0x257)][_0x114b05(0x35a)]===0x0&&this[_0x114b05(0x2f9)](),this[_0x114b05(0x257)]['add'](_0x8b6095),this[_0x114b05(0x1c7)]({'type':0x0,'memberID':this[_0x114b05(0x452)],'unitIDs':[_0x8b6095],'isForwarded':!0x1});}['disposeUnit'](_0x1989f9){const _0x24efdd=_0x5bb7a4;this[_0x24efdd(0x257)][_0x24efdd(0x3d8)](_0x1989f9),this[_0x24efdd(0x257)][_0x24efdd(0x35a)]===0x0&&this[_0x24efdd(0x367)]&&window[_0x24efdd(0x537)](this['_heartbeatTimer']);}['_init'](){const _0x4fb89a=_0x5bb7a4;this[_0x4fb89a(0x368)](_0x7884da(_0x565a18(window,_0x4fb89a(0x3a5))[_0x4fb89a(0x519)](_0x1b1e28=>{const _0x317661=_0x4fb89a;if(_0x1b1e28[_0x317661(0x275)]!==Ws||!_0x1b1e28['newValue'])return;const _0x2ba492=JSON[_0x317661(0x57c)](_0x1b1e28[_0x317661(0x182)]);this[_0x317661(0x3bb)](_0x2ba492);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x4fb89a(0x452)],'unitIDs':Array['from'](this[_0x4fb89a(0x257)])}));}[_0x5bb7a4(0x3bb)](_0x411ea0){const _0x55d2a2=_0x5bb7a4;switch(_0x411ea0[_0x55d2a2(0x27e)]){case 0x0:this['_handleJoinEvent'](_0x411ea0);break;case 0x1:this[_0x55d2a2(0x1b4)](_0x411ea0);break;case 0x2:this[_0x55d2a2(0x383)](_0x411ea0);break;}}[_0x5bb7a4(0x340)](_0x1795ae){const _0x2da1a9=_0x5bb7a4,{unitIDs:_0x4626a6,memberID:_0x1bf1e7,isForwarded:_0x583ddf}=_0x1795ae;_0x4626a6['forEach'](_0x337ff9=>{const _0x273ba8=_0x4081;if(!_0x583ddf&&this[_0x273ba8(0x2f6)][_0x273ba8(0x2e6)](_0x337ff9)&&this['_ensureSubject'](_0x337ff9)['next'](0x1),!this[_0x273ba8(0x2f6)]['has'](_0x337ff9)||!this[_0x273ba8(0x2f6)][_0x273ba8(0x4f7)](_0x337ff9)['has'](_0x1bf1e7)){const _0x16f3ec=this[_0x273ba8(0x2f6)][_0x273ba8(0x4f7)](_0x337ff9)||new Set();_0x16f3ec[_0x273ba8(0x570)](_0x1bf1e7),this[_0x273ba8(0x2f6)][_0x273ba8(0x441)](_0x337ff9,_0x16f3ec),this[_0x273ba8(0x4b9)](_0x1bf1e7);}}),_0x583ddf||this[_0x2da1a9(0x1c7)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x2da1a9(0x257)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x3a9414){const _0x58548f=_0x5bb7a4;this[_0x58548f(0x276)](_0x3a9414);const _0x4f5c91=window[_0x58548f(0x273)](()=>{const _0x1e234a=_0x58548f;this[_0x1e234a(0x2f6)][_0x1e234a(0x312)](_0x3a29f3=>{const _0xfdfbee=_0x1e234a;_0x3a29f3[_0xfdfbee(0x3d8)](_0x3a9414);});},ks*0x2);this[_0x58548f(0x355)]['set'](_0x3a9414,_0x4f5c91);}['_removeClearOtherTimer'](_0x3663a4){const _0x5105be=_0x5bb7a4;if(this[_0x5105be(0x355)]['has'](_0x3663a4)){const _0xa85783=this[_0x5105be(0x355)][_0x5105be(0x4f7)](_0x3663a4);_0xa85783&&window['clearTimeout'](_0xa85783),this[_0x5105be(0x355)][_0x5105be(0x441)](_0x3663a4,null);}}['_handleLeaveEvent'](_0x514da3){const _0x40a656=_0x5bb7a4,{memberID:_0x33df26,unitIDs:_0x118a30}=_0x514da3;_0x118a30[_0x40a656(0x312)](_0xe713bd=>{const _0x4ff75c=_0x40a656;var _0x13cf83;const _0x43b8dc=this[_0x4ff75c(0x2f6)][_0x4ff75c(0x4f7)](_0xe713bd);_0x43b8dc&&(_0x43b8dc[_0x4ff75c(0x3d8)](_0x33df26),(_0x13cf83=this[_0x4ff75c(0x51d)](_0xe713bd))==null||_0x13cf83[_0x4ff75c(0x3ff)](_0x43b8dc[_0x4ff75c(0x35a)]===0x0?0x0:0x1));}),this[_0x40a656(0x276)](_0x33df26);}['_handleHeartbeatEvent'](_0x2b2a5b){const _0x442df8=_0x5bb7a4;this['_scheduleClearOtherTimer'](_0x2b2a5b[_0x442df8(0x2a3)]);}[_0x5bb7a4(0x1c7)](_0x5119e0){const _0x84a86c=_0x5bb7a4;localStorage[_0x84a86c(0x411)](Ws,JSON[_0x84a86c(0x303)](_0x5119e0));}[_0x5bb7a4(0x2f9)](){const _0x4d207e=_0x5bb7a4;this[_0x4d207e(0x367)]=window[_0x4d207e(0x215)](()=>{const _0x1deb54=_0x4d207e;this[_0x1deb54(0x1c7)]({'type':0x2,'memberID':this[_0x1deb54(0x452)]});},ks);}[_0x5bb7a4(0x51d)](_0x351e5d){const _0x5305e1=_0x5bb7a4;return this[_0x5305e1(0x427)][_0x5305e1(0x2e6)](_0x351e5d)||this['_unitStatus'][_0x5305e1(0x441)](_0x351e5d,new _0x348a88(0x0)),this['_unitStatus'][_0x5305e1(0x4f7)](_0x351e5d);}}var oo=Object[_0x5bb7a4(0x42b)],ao=Object['getOwnPropertyDescriptor'],co=(_0x113839,_0x283493,_0x275afd,_0x38ae04)=>{const _0x50e246=_0x5bb7a4;for(var _0x4d26c8=_0x38ae04>0x1?void 0x0:_0x38ae04?ao(_0x283493,_0x275afd):_0x283493,_0x32ba13=_0x113839[_0x50e246(0x282)]-0x1,_0x2c1fc2;_0x32ba13>=0x0;_0x32ba13--)(_0x2c1fc2=_0x113839[_0x32ba13])&&(_0x4d26c8=(_0x38ae04?_0x2c1fc2(_0x283493,_0x275afd,_0x4d26c8):_0x2c1fc2(_0x4d26c8))||_0x4d26c8);return _0x38ae04&&_0x4d26c8&&oo(_0x283493,_0x275afd,_0x4d26c8),_0x4d26c8;},xt=(_0x28c068,_0x114171)=>(_0x2280b8,_0x2b4842)=>_0x114171(_0x2280b8,_0x2b4842,_0x28c068);let mt=class{constructor(_0x15834c,_0x1e64de,_0x433256){const _0x3d186a=_0x5bb7a4;this[_0x3d186a(0x338)]=_0x15834c,this[_0x3d186a(0x1c5)]=_0x1e64de,this['_docStateChangeManagerService']=_0x433256;}[_0x5bb7a4(0x302)](_0x2e88ef){const _0x38a62b=_0x5bb7a4;this[_0x38a62b(0x37b)](_0x2e88ef);}['transformRemoteChangeset'](_0x51599d){const _0x17b33e=_0x5bb7a4,{unitID:_0x12f027}=_0x51599d,{collaboration:_0x25bd68}=this[_0x17b33e(0x4de)][_0x17b33e(0x31a)](_0x12f027);if(_0x25bd68[_0x17b33e(0x282)]===0x0)return _0x51599d;let _0x367bb1=_0x41d014[_0x17b33e(0x1d2)](_0x51599d[_0x17b33e(0x47f)][0x0]);for(let _0x5e723f=0x0;_0x5e723f<_0x25bd68[_0x17b33e(0x282)];_0x5e723f++){const _0x245a8b={'id':_0x17b33e(0x557),'params':{'unitId':_0x25bd68[_0x5e723f][_0x17b33e(0x55d)],..._0x25bd68[_0x5e723f][_0x17b33e(0x1bf)]}},_0x208c70=this['_transformService'][_0x17b33e(0x4f0)](_0x367bb1,_0x245a8b,!0x1);if(_0x35b5b8(_0x208c70))throw _0x208c70['error'];_0x367bb1=_0x208c70[_0x17b33e(0x40a)];}return{..._0x41d014[_0x17b33e(0x1d2)](_0x51599d),'mutations':[_0x367bb1]};}[_0x5bb7a4(0x37b)](_0x4479b8){const _0x4b8aa7=_0x5bb7a4,{unitID:_0x195b9c}=_0x4479b8,{history:_0xe91dbf,collaboration:_0x58cab9}=this['_docStateChangeManagerService'][_0x4b8aa7(0x31a)](_0x195b9c);if(_0xe91dbf[_0x4b8aa7(0x282)]===0x0&&_0x58cab9[_0x4b8aa7(0x282)]===0x0)return;const _0x88a30d=[],_0x483d0c=[];let _0x509bf1=_0x41d014[_0x4b8aa7(0x1d2)](_0x4479b8['mutations'][0x0]),_0x51a9d3=_0x41d014['deepClone'](_0x4479b8[_0x4b8aa7(0x47f)][0x0]);for(let _0x5b2141=_0xe91dbf[_0x4b8aa7(0x282)]-0x1;_0x5b2141>=0x0;_0x5b2141--){const _0x2be9f6={'id':_0x4b8aa7(0x557),'params':{'unitId':_0xe91dbf[_0x5b2141][_0x4b8aa7(0x55d)],..._0xe91dbf[_0x5b2141][_0x4b8aa7(0x4b1)]}},_0x2024e2={'id':_0x4b8aa7(0x557),'params':{'unitId':_0xe91dbf[_0x5b2141][_0x4b8aa7(0x55d)],..._0xe91dbf[_0x5b2141][_0x4b8aa7(0x1bf)]}},_0x3f3ffa=this[_0x4b8aa7(0x1c5)]['transformMutation'](_0x509bf1,_0x2be9f6,!0x1),_0x9769f1=this[_0x4b8aa7(0x1c5)][_0x4b8aa7(0x4f0)](_0x51a9d3,_0x2024e2,!0x1);if(_0x35b5b8(_0x3f3ffa))throw _0x3f3ffa[_0x4b8aa7(0x17b)];if(_0x35b5b8(_0x9769f1))throw _0x9769f1['error'];_0x88a30d[_0x4b8aa7(0x32b)]({..._0xe91dbf[_0x5b2141],'undoState':_0x3f3ffa[_0x4b8aa7(0x4d6)]['params'],'redoState':_0x9769f1[_0x4b8aa7(0x4d6)]['params']}),_0x509bf1=_0x3f3ffa['m1Prime'],_0x51a9d3=_0x9769f1[_0x4b8aa7(0x40a)];}_0x509bf1=_0x41d014[_0x4b8aa7(0x1d2)](_0x4479b8[_0x4b8aa7(0x47f)][0x0]),_0x51a9d3=_0x41d014[_0x4b8aa7(0x1d2)](_0x4479b8[_0x4b8aa7(0x47f)][0x0]);for(let _0x5194d1=_0x58cab9['length']-0x1;_0x5194d1>=0x0;_0x5194d1--){const _0x1f5684={'id':_0x4b8aa7(0x557),'params':{'unitId':_0x58cab9[_0x5194d1][_0x4b8aa7(0x55d)],..._0x58cab9[_0x5194d1]['undoState']}},_0xc275a7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x58cab9[_0x5194d1][_0x4b8aa7(0x55d)],..._0x58cab9[_0x5194d1][_0x4b8aa7(0x1bf)]}},_0x1b97a3=this[_0x4b8aa7(0x1c5)][_0x4b8aa7(0x4f0)](_0x509bf1,_0x1f5684,!0x1),_0x236200=this[_0x4b8aa7(0x1c5)][_0x4b8aa7(0x4f0)](_0x51a9d3,_0xc275a7,!0x1);if(_0x35b5b8(_0x1b97a3))throw _0x1b97a3[_0x4b8aa7(0x17b)];if(_0x35b5b8(_0x236200))throw _0x236200['error'];_0x483d0c['unshift']({..._0x58cab9[_0x5194d1],'undoState':_0x1b97a3[_0x4b8aa7(0x4d6)][_0x4b8aa7(0x3d9)],'redoState':_0x236200[_0x4b8aa7(0x4d6)]['params']}),_0x509bf1=_0x1b97a3[_0x4b8aa7(0x40a)],_0x51a9d3=_0x236200[_0x4b8aa7(0x40a)];}this[_0x4b8aa7(0x4de)][_0x4b8aa7(0x32c)](_0x195b9c,{'history':_0x88a30d,'collaboration':_0x483d0c});}};mt=co([xt(0x0,_0x22a3e1(_0x4c5160)),xt(0x1,_0x2db4c4),xt(0x2,_0x22a3e1(_0x1b1fa1))],mt);function Pi(_0x50187b){const _0x514634=_0x5bb7a4;let _0x211ad6='';for(const _0x4e3710 of _0x50187b){const {startOffset:_0x2f6ed5,endOffset:_0x36e5d8,isActive:_0x24043b,rangeType:_0x215c58,segmentId:_0x48d285,segmentPage:_0x4e51fe}=_0x4e3710;_0x211ad6[_0x514634(0x282)]&&(_0x211ad6+=','),_0x211ad6+=_0x2f6ed5+':'+_0x36e5d8+':'+(_0x24043b?'1':'0')+':'+_0x215c58+':'+_0x48d285+':'+_0x4e51fe;}return _0x211ad6;}function ho(_0x568644){const _0x5e64b3=_0x5bb7a4,_0x564df5=_0x568644[_0x5e64b3(0x19d)](','),_0xe56c1d=[];for(const _0x11d6b9 of _0x564df5){const [_0x3eb31e,_0x62c7c4,_0x3187a,_0x2bd807,_0x22b1e1,_0x25dfeb]=_0x11d6b9[_0x5e64b3(0x19d)](':');_0xe56c1d[_0x5e64b3(0x433)]({'startOffset':Number(_0x3eb31e),'endOffset':Number(_0x62c7c4),'collapsed':_0x3eb31e===_0x62c7c4,'isActive':_0x3187a==='1','rangeType':_0x2bd807===_0x569c02[_0x5e64b3(0x211)]?_0x569c02['TEXT']:_0x569c02['RECT'],'segmentId':typeof _0x22b1e1==_0x5e64b3(0x40c)?String(_0x22b1e1):'','segmentPage':Number(_0x25dfeb!=null?_0x25dfeb:-0x1)});}return _0xe56c1d[_0x5e64b3(0x22b)](_0x117789=>_0x117789[_0x5e64b3(0x3d6)])||(_0xe56c1d[0x0][_0x5e64b3(0x3d6)]=!0x0),_0xe56c1d;}class Cs extends _0x177a9e{constructor(){const _0x2a1dff=_0x5bb7a4;super(...arguments),g(this,'_collabCursorState$',new _0x348a88(null)),g(this,_0x2a1dff(0x3e3),this[_0x2a1dff(0x480)][_0x2a1dff(0x1a6)]());}[_0x5bb7a4(0x4be)](_0x54428e){const _0x157282=_0x5bb7a4,{unitID:_0x16f811,memberID:_0x1946b7,textRanges:_0x4aa854}=_0x54428e,_0xf1c90a=Pi(_0x4aa854);if(_0xf1c90a==='')return;const _0xb9a56e={'unitID':_0x16f811,'memberID':_0x1946b7,'selection':_0xf1c90a};this[_0x157282(0x480)][_0x157282(0x3ff)](_0xb9a56e);}}var lo=Object[_0x5bb7a4(0x42b)],_o=Object['getOwnPropertyDescriptor'],uo=(_0x55459c,_0x75ba39,_0x2de080,_0x2fa0fe)=>{const _0x13a3a1=_0x5bb7a4;for(var _0x44f906=_0x2fa0fe>0x1?void 0x0:_0x2fa0fe?_o(_0x75ba39,_0x2de080):_0x75ba39,_0xbb16=_0x55459c[_0x13a3a1(0x282)]-0x1,_0x5eb527;_0xbb16>=0x0;_0xbb16--)(_0x5eb527=_0x55459c[_0xbb16])&&(_0x44f906=(_0x2fa0fe?_0x5eb527(_0x75ba39,_0x2de080,_0x44f906):_0x5eb527(_0x44f906))||_0x44f906);return _0x2fa0fe&&_0x44f906&&lo(_0x75ba39,_0x2de080,_0x44f906),_0x44f906;},Fs=(_0x17adf6,_0x369d93)=>(_0xc17ed5,_0x5a1493)=>_0x369d93(_0xc17ed5,_0x5a1493,_0x17adf6);let pt=class{constructor(_0x120943,_0x705f1a){const _0x54007c=_0x5bb7a4;this[_0x54007c(0x338)]=_0x120943,this[_0x54007c(0x1c5)]=_0x705f1a;}[_0x5bb7a4(0x1a5)](_0x284dc0){const _0x34e9ce=_0x5bb7a4;var _0x5c9fdd;const _0x2b1cbe=this[_0x34e9ce(0x338)][_0x34e9ce(0x4f7)](_0x4ce6e6),_0x5c49b4=(_0x5c9fdd=_0x2b1cbe[_0x34e9ce(0x1c3)]())!=null?_0x5c9fdd:[];if(_0x5c49b4[_0x34e9ce(0x282)]===0x0)return;const _0x2b573a=_0x284dc0[_0x34e9ce(0x4c4)],_0x187a0a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2b573a,'actions':null,'textRanges':_0x5c49b4}}],_0x7ea6f6=this['_transformService'][_0x34e9ce(0x428)](_0x284dc0,_0x187a0a);if(!_0x5f43ea(_0x7ea6f6))throw _0x7ea6f6[_0x34e9ce(0x17b)];const _0x1e81ce=_0x7ea6f6[_0x34e9ce(0x4d6)][0x0][_0x34e9ce(0x3d9)][_0x34e9ce(0x2a0)];Array[_0x34e9ce(0x2f4)](_0x1e81ce)&&_0x1e81ce[_0x34e9ce(0x282)]&&_0x2b1cbe[_0x34e9ce(0x2b5)](_0x1e81ce,{'unitId':_0x2b573a,'subUnitId':_0x2b573a},!0x1);}};pt=uo([Fs(0x0,_0x22a3e1(_0x4c5160)),Fs(0x1,_0x2db4c4)],pt);const fo=new Set([_0x2dfe93['id']]);function Vs(_0x1c67c8,_0x2c67d0,_0x46ada1,_0x43d1d8,_0x5bce87){const _0x148b45=_0x5bb7a4;var _0x234556,_0x13e3e0,_0x232e2c,_0x3ee699;const _0x66ae3d=[];for(const _0x430568 of _0x1c67c8)if(fo[_0x148b45(0x2e6)](_0x430568['id'])){if(_0x66ae3d[_0x148b45(0x282)]>0x0)break;_0x66ae3d[_0x148b45(0x433)](_0x430568);break;}else _0x66ae3d['push'](_0x430568);const _0x599c79=(_0x13e3e0=(_0x234556=_0x5bce87[_0x148b45(0x3b9)]())==null?void 0x0:_0x234556[_0x148b45(0x1e3)])!=null?_0x13e3e0:_0x148b45(0x329),_0x59d302=(_0x3ee699=(_0x232e2c=_0x5bce87['getCurrentUser']())==null?void 0x0:_0x232e2c[_0x148b45(0x2a3)])!=null?_0x3ee699:_0x148b45(0x329);return{'changeset':{'unitID':_0x2c67d0,'type':_0x32a7fd(_0x46ada1[_0x148b45(0x17f)](_0x2c67d0)),'baseRev':_0x43d1d8[_0x148b45(0x3f5)](_0x2c67d0),'revision':0x0,'userID':_0x599c79,'memberID':_0x59d302,'mutations':_0x66ae3d},'pendingMutations':_0x1c67c8[_0x148b45(0x3e2)](_0x66ae3d['length'])};}function vo(_0x300272,_0x4b0e30,_0x567380,_0x4f79bc,_0x3e5545){const _0x57d0b0=_0x5bb7a4;var _0x13740f,_0x3ec54a,_0x94178f,_0x3ef86e;const _0x5a9e7f=[_0x300272['reduce']((_0x34a7e0,_0x333702)=>{const _0x3854ed=_0x4081;var _0x34d3b8;const {id:_0x36fada}=_0x34a7e0,{id:_0x691a51,type:_0x35674a}=_0x333702,_0x7dfc7d=(_0x34d3b8=_0x34a7e0[_0x3854ed(0x3d9)])!=null?_0x34d3b8:{'actions':null},_0x325670=_0x333702[_0x3854ed(0x3d9)];if(_0x36fada&&_0x36fada!==_0x691a51)throw new Error(_0x3854ed(0x3a7)+_0x36fada+_0x3854ed(0x47d)+_0x691a51+'.');return{..._0x34a7e0,'id':_0x691a51,'type':_0x35674a,'params':{'unitId':_0x325670['unitId'],'textRanges':_0x325670[_0x3854ed(0x2a0)],'actions':_0x22592d[_0x3854ed(0x310)](_0x7dfc7d['actions'],_0x325670[_0x3854ed(0x37d)])}};},{})],_0x20093c=(_0x3ec54a=(_0x13740f=_0x3e5545['getCurrentUser']())==null?void 0x0:_0x13740f[_0x57d0b0(0x1e3)])!=null?_0x3ec54a:_0x57d0b0(0x329),_0x1a77f1=(_0x3ef86e=(_0x94178f=_0x3e5545[_0x57d0b0(0x3b9)]())==null?void 0x0:_0x94178f[_0x57d0b0(0x2a3)])!=null?_0x3ef86e:_0x57d0b0(0x329);return{'changeset':{'unitID':_0x4b0e30,'type':_0x32a7fd(_0x567380[_0x57d0b0(0x17f)](_0x4b0e30)),'baseRev':_0x4f79bc[_0x57d0b0(0x3f5)](_0x4b0e30),'revision':0x0,'userID':_0x20093c,'memberID':_0x1a77f1,'mutations':_0x5a9e7f},'pendingMutations':[]};}function Ui(_0x21d06c,_0xd49d08){const _0x3986cc=_0x5bb7a4,_0x72621f=new _0x5c726e(0x1);return setTimeout(()=>_0x72621f[_0x3986cc(0x3ff)](_0xd49d08),_0x21d06c),_0x72621f['asObservable']()['pipe'](_0x35f71d(0x1));}const mo={'id':_0x224c7f['id'],'type':_0x5bf26c[_0x5bb7a4(0x233)],'params':{}};var po=Object[_0x5bb7a4(0x42b)],go=Object[_0x5bb7a4(0x4e4)],Le=(_0x39e3d9,_0x3bab2d,_0x493e90,_0x380eef)=>{const _0x536c19=_0x5bb7a4;for(var _0x206a79=_0x380eef>0x1?void 0x0:_0x380eef?go(_0x3bab2d,_0x493e90):_0x3bab2d,_0x24da5c=_0x39e3d9[_0x536c19(0x282)]-0x1,_0xb7e8ac;_0x24da5c>=0x0;_0x24da5c--)(_0xb7e8ac=_0x39e3d9[_0x24da5c])&&(_0x206a79=(_0x380eef?_0xb7e8ac(_0x3bab2d,_0x493e90,_0x206a79):_0xb7e8ac(_0x206a79))||_0x206a79);return _0x380eef&&_0x206a79&&po(_0x3bab2d,_0x493e90,_0x206a79),_0x206a79;},A=(_0x59c37d,_0x3109bd)=>(_0x25270e,_0x1a00d4)=>_0x3109bd(_0x25270e,_0x1a00d4,_0x59c37d),J=(_0x30e597=>(_0x30e597[_0x5bb7a4(0x410)]='not_collab',_0x30e597[_0x5bb7a4(0x50e)]='synced',_0x30e597[_0x5bb7a4(0x4e8)]=_0x5bb7a4(0x28b),_0x30e597[_0x5bb7a4(0x2f3)]=_0x5bb7a4(0x31b),_0x30e597[_0x5bb7a4(0x256)]=_0x5bb7a4(0x2ca),_0x30e597[_0x5bb7a4(0x40b)]='fetch_missing',_0x30e597[_0x5bb7a4(0x287)]=_0x5bb7a4(0x438),_0x30e597[_0x5bb7a4(0x23a)]=_0x5bb7a4(0x4ed),_0x30e597))(J||{});const Ni=0xea60;class $e{constructor(_0xbedce3,_0x676562,_0x20e717,_0x42272f,_0x565360,_0x2719e8,_0x5063c9,_0x141868,_0x129906){const _0x477211=_0x5bb7a4;g(this,'_awaitingChangeset',null),g(this,'_pendingMutations',[]),(this[_0x477211(0x4c4)]=_0xbedce3,this[_0x477211(0x27e)]=_0x676562,this[_0x477211(0x29c)]=_0x565360,this[_0x477211(0x53f)]=_0x2719e8,this[_0x477211(0x4bc)]=_0x5063c9,this[_0x477211(0x54c)]=_0x141868,this[_0x477211(0x46d)]=_0x129906,this[_0x477211(0x364)]=_0x20e717,this['_pendingMutations']=_0x42272f);}['_checkMissing'](_0x4a96d0){const _0x4b5f85=_0x5bb7a4,_0xcde877=this['_revisionService'][_0x4b5f85(0x3f5)](this['unitID']);return _0x4a96d0['revision']>_0xcde877+0x1?(this['_handler'][_0x4b5f85(0x46b)]({'from':_0xcde877,'to':_0x4a96d0['revision']-0x1}),!0x0):!0x1;}[_0x5bb7a4(0x35e)](_0x567601){const _0x53cd8d=_0x5bb7a4;this[_0x53cd8d(0x4bc)]['transformUndoRedo'](this[_0x53cd8d(0x4c4)],_0x567601);}['_transformSelections'](_0x168b85){const _0x31c330=_0x5bb7a4;var _0x2c7084,_0x3a3b1f;(_0x3a3b1f=(_0x2c7084=this[_0x31c330(0x29c)])[_0x31c330(0x432)])==null||_0x3a3b1f[_0x31c330(0x1f6)](_0x2c7084,_0x168b85);}[_0x5bb7a4(0x16c)](_0x3c1eb9){const _0x35c4d7=_0x5bb7a4;var _0x3ea7df,_0x44a01f;return(_0x44a01f=(_0x3ea7df=this['_handler'])[_0x35c4d7(0x4a5)])==null?void 0x0:_0x44a01f[_0x35c4d7(0x1f6)](_0x3ea7df,_0x3c1eb9);}[_0x5bb7a4(0x242)](_0x2506ab){const _0x233fa4=_0x5bb7a4;var _0x22b4dc,_0x40cadb;return(_0x40cadb=(_0x22b4dc=this[_0x233fa4(0x29c)])[_0x233fa4(0x3e6)])==null?void 0x0:_0x40cadb[_0x233fa4(0x1f6)](_0x22b4dc,_0x2506ab);}[_0x5bb7a4(0x232)](_0x269576){const _0x259131=_0x5bb7a4;var _0x2a1c34,_0x286018,_0x1bfb99;return(_0x1bfb99=(_0x286018=(_0x2a1c34=this[_0x259131(0x29c)])[_0x259131(0x1bd)])==null?void 0x0:_0x286018['call'](_0x2a1c34,_0x269576))!=null?_0x1bfb99:_0x269576;}[_0x5bb7a4(0x22a)](_0xed76b6){const _0x3c6223=_0x5bb7a4;var _0x387da5,_0x4b3b8e,_0x150f51;return(_0x150f51=(_0x4b3b8e=(_0x387da5=this[_0x3c6223(0x29c)])[_0x3c6223(0x25f)])==null?void 0x0:_0x4b3b8e['call'](_0x387da5,_0xed76b6))!=null?_0x150f51:_0xed76b6;}[_0x5bb7a4(0x2f5)](_0x2ba6c2){const _0xa0769d=_0x5bb7a4;var _0x4391e0,_0x35edc9;if(this['type']===ce[_0xa0769d(0x172)]){const {unitID:_0x16675d,mutations:_0x2265c4,memberID:_0x30bd6d}=_0x2ba6c2,_0x2a6593=_0x2265c4[0x0][_0xa0769d(0x3d9)][_0xa0769d(0x2a0)];Array[_0xa0769d(0x2f4)](_0x2a6593)&&_0x2a6593[_0xa0769d(0x282)]>0x0&&((_0x35edc9=(_0x4391e0=this[_0xa0769d(0x29c)])[_0xa0769d(0x559)])==null||_0x35edc9[_0xa0769d(0x1f6)](_0x4391e0,{'unitID':_0x16675d,'memberID':_0x30bd6d,'textRanges':_0x2a6593}));}}['_updateLocalCache'](){const _0x48dd55=_0x5bb7a4;this[_0x48dd55(0x46d)][_0x48dd55(0x21f)](this[_0x48dd55(0x4c4)],this['type'],this[_0x48dd55(0x364)],this[_0x48dd55(0x309)]);}[_0x5bb7a4(0x1eb)](){const _0x44555a=_0x5bb7a4;return this[_0x44555a(0x54c)][_0x44555a(0x3f5)](this[_0x44555a(0x4c4)]);}[_0x5bb7a4(0x283)](){const _0x5c3abb=_0x5bb7a4;this[_0x5c3abb(0x54c)]['incrementRevOfUnit'](this[_0x5c3abb(0x4c4)]);}[_0x5bb7a4(0x541)](_0xb19fb7){const _0x540c90=_0x5bb7a4;var _0xb84850;let _0x5967df=this[_0x540c90(0x232)](_0xb19fb7);_0x5967df=this[_0x540c90(0x22a)](_0x5967df);const _0x256187=_0x9b12cf(_0x5967df[_0x540c90(0x47f)],this[_0x540c90(0x53f)],{'fromCollab':!0x0});if(!_0x256187[_0x540c90(0x1b0)])throw _0x256187[_0x540c90(0x17b)]instanceof Error?_0x256187[_0x540c90(0x17b)]:new Error((_0xb84850=_0x256187[_0x540c90(0x17b)])!=null?_0xb84850:'[CollaborationState]:\x20apply\x20error!');this[_0x540c90(0x16c)](_0x5967df),this[_0x540c90(0x242)](_0x5967df),this[_0x540c90(0x35e)](_0xb19fb7),this[_0x540c90(0x50d)](_0x5967df),this[_0x540c90(0x2f5)](_0x5967df),this[_0x540c90(0x283)]();}}let Fe=class extends $e{constructor(_0x4f9748,_0x5d67f8,_0x176d2c,_0x1bd1f0,_0x4a1f08,_0x49f08d,_0x33f884,_0x2aa533,_0x8f02fd,_0x52ab78){const _0x3b9efe=_0x5bb7a4;super(_0x4f9748,_0x5d67f8,null,[],_0x176d2c,_0x2aa533,_0x33f884,_0x1bd1f0,_0x4a1f08),g(this,'status',_0x3b9efe(0x4b0)),(this[_0x3b9efe(0x338)]=_0x49f08d,this[_0x3b9efe(0x26e)]=_0x8f02fd,this[_0x3b9efe(0x1c5)]=_0x52ab78);}[_0x5bb7a4(0x260)](_0x3e3518){const _0x2d3401=_0x5bb7a4,_0x807bd4=this[_0x2d3401(0x338)][_0x2d3401(0x30c)](pe,this[_0x2d3401(0x4c4)],this[_0x2d3401(0x27e)],[_0x3e3518],this['_handler']);return _0x807bd4[_0x2d3401(0x422)](),_0x807bd4[_0x2d3401(0x4f4)](),_0x807bd4;}[_0x5bb7a4(0x38e)](_0x4d15dc){const _0x8953c2=_0x5bb7a4;if(this[_0x8953c2(0x547)](_0x4d15dc))return this[_0x8953c2(0x338)]['createInstance'](he,this[_0x8953c2(0x4c4)],this[_0x8953c2(0x27e)],null,[],null,[_0x4d15dc],this['_handler']);try{const _0x523e02=this['_transformService'][_0x8953c2(0x428)](_0x4d15dc,[mo]);if(_0x5f43ea(_0x523e02)){const {c1Prime:_0x294cb0}=_0x523e02;return this[_0x8953c2(0x541)](_0x294cb0),this;}throw _0x523e02['error'];}catch(_0x419c10){return this[_0x8953c2(0x26e)][_0x8953c2(0x17b)](_0x419c10),this[_0x8953c2(0x2d2)](!0x1);}}[_0x5bb7a4(0x2d2)](_0x447e87){const _0x52cf8f=_0x5bb7a4;return this[_0x52cf8f(0x338)][_0x52cf8f(0x30c)](Re,this[_0x52cf8f(0x4c4)],this[_0x52cf8f(0x27e)],null,[],this[_0x52cf8f(0x29c)],_0x447e87);}[_0x5bb7a4(0x30e)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x5bb7a4(0x2eb)](){const _0x139052=_0x5bb7a4;throw new Error(_0x139052(0x3b1));}['onRemoteRetry'](){return this;}[_0x5bb7a4(0x30b)](){const _0x214e5b=_0x5bb7a4;return this[_0x214e5b(0x338)][_0x214e5b(0x30c)](ye,this[_0x214e5b(0x4c4)],this[_0x214e5b(0x27e)],null,[],this[_0x214e5b(0x29c)]);}[_0x5bb7a4(0x387)](){return this;}['resend'](){const _0x17a636=_0x5bb7a4;throw new Error(_0x17a636(0x3bf));}[_0x5bb7a4(0x560)](){const _0xce9466=_0x5bb7a4,_0x49d018=this[_0xce9466(0x54c)][_0xce9466(0x3f5)](this[_0xce9466(0x4c4)]);return this[_0xce9466(0x29c)][_0xce9466(0x46b)]({'from':_0x49d018,'to':0x0}),this[_0xce9466(0x338)]['createInstance'](he,this[_0xce9466(0x4c4)],this[_0xce9466(0x27e)],null,[],null,[],this['_handler']);}};Fe=Le([A(0x3,_0x22a3e1(_0x25150b)),A(0x4,_0x22a3e1(q)),A(0x5,_0x22a3e1(_0x4c5160)),A(0x6,_0x131129),A(0x7,_0x1e58f0),A(0x8,_0x3efec9),A(0x9,_0x2db4c4)],Fe);let pe=class extends $e{constructor(_0x3edbf4,_0x4c7db8,_0xa92ce8,_0xbfe2d9,_0x2a829f,_0x5be449,_0x1f75a3,_0xe82d45,_0x5d3c79,_0xaf7289,_0x2a3df2,_0x5238ed,_0xfd9cb1,_0x6ee37d){const _0x3d02de=_0x5bb7a4;super(_0x3edbf4,_0x4c7db8,null,_0xa92ce8,_0xbfe2d9,_0xaf7289,_0x6ee37d,_0x5be449,_0x1f75a3),g(this,_0x3d02de(0x1ff),_0x3d02de(0x28b)),g(this,_0x3d02de(0x39b),null),g(this,'_sendingTimer',null),(this[_0x3d02de(0x338)]=_0x2a829f,this[_0x3d02de(0x49f)]=_0xe82d45,this['_logService']=_0x5d3c79,this[_0x3d02de(0x23e)]=_0x2a3df2,this[_0x3d02de(0x1c5)]=_0x5238ed,this[_0x3d02de(0x21d)]=_0xfd9cb1);}[_0x5bb7a4(0x260)](_0x202ec8){const _0x373919=_0x5bb7a4;return this[_0x373919(0x309)][_0x373919(0x433)](_0x202ec8),this[_0x373919(0x4f4)](),this;}['onRemoteChangeset'](_0x51a5d2){const _0x259bc5=_0x5bb7a4;if(this[_0x259bc5(0x547)](_0x51a5d2))return this[_0x259bc5(0x3c2)](),this[_0x259bc5(0x338)][_0x259bc5(0x30c)](he,this[_0x259bc5(0x4c4)],this[_0x259bc5(0x27e)],null,this[_0x259bc5(0x309)],null,[_0x51a5d2],this[_0x259bc5(0x29c)]);try{const _0x49ad71=this['_transformService'][_0x259bc5(0x428)](_0x51a5d2,this[_0x259bc5(0x309)]);if(_0x5f43ea(_0x49ad71)){const {c1Prime:_0x5ac0dd,m2Prime:_0x32d2a4}=_0x49ad71;this[_0x259bc5(0x541)](_0x5ac0dd);const _0x27caa9=this[_0x259bc5(0x338)][_0x259bc5(0x30c)](pe,this['unitID'],this[_0x259bc5(0x27e)],_0x32d2a4,this[_0x259bc5(0x29c)]);return this[_0x259bc5(0x3c2)](),_0x27caa9[_0x259bc5(0x422)](this[_0x259bc5(0x39b)]?Math['max'](0x0,new Date()[_0x259bc5(0x2c2)]()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x27caa9;}throw _0x49ad71['error'];}catch(_0x189a2c){return this[_0x259bc5(0x26e)][_0x259bc5(0x17b)](_0x189a2c),this[_0x259bc5(0x2d2)](!0x1);}}[_0x5bb7a4(0x30e)](){const _0x5d1f65=_0x5bb7a4;throw new Error(_0x5d1f65(0x47a));}[_0x5bb7a4(0x2eb)](){const _0x49f3f7=_0x5bb7a4;throw new Error(_0x49f3f7(0x584));}['onRemoteRetry'](){return this;}[_0x5bb7a4(0x30b)](){const _0x3cf014=_0x5bb7a4;return this[_0x3cf014(0x3c2)](),this[_0x3cf014(0x338)][_0x3cf014(0x30c)](ye,this[_0x3cf014(0x4c4)],this['type'],null,this[_0x3cf014(0x309)],this[_0x3cf014(0x29c)]);}[_0x5bb7a4(0x387)](){return this;}[_0x5bb7a4(0x422)](_0x36393a){const _0x27d283=_0x5bb7a4,_0x12df44=_0x36393a!=null?_0x36393a:this[_0x27d283(0x2be)]();this[_0x27d283(0x39b)]=new Date()[_0x27d283(0x2c2)](),this['_sendingTimer']=window[_0x27d283(0x273)](()=>{const _0x156f0a=_0x27d283;this[_0x156f0a(0x3c2)]();let _0x1af267=null;switch(this['type']){case ce[_0x156f0a(0x55b)]:{_0x1af267=Vs(this[_0x156f0a(0x309)],this[_0x156f0a(0x4c4)],this['_univerInstanceService'],this['_revisionService'],this[_0x156f0a(0x49f)]);break;}case ce['UNIVER_DOC']:{this['_pendingMutations'][_0x156f0a(0x371)](_0x12cb6c=>_0x12cb6c['id']===_0x185e84['id'])?_0x1af267=vo(this['_pendingMutations'],this[_0x156f0a(0x4c4)],this[_0x156f0a(0x21d)],this[_0x156f0a(0x54c)],this[_0x156f0a(0x49f)]):_0x1af267=Vs(this[_0x156f0a(0x309)],this[_0x156f0a(0x4c4)],this[_0x156f0a(0x21d)],this[_0x156f0a(0x54c)],this[_0x156f0a(0x49f)]);break;}default:throw new Error(_0x156f0a(0x17a)+this['type']+_0x156f0a(0x1a2));}const {changeset:_0x4d4613,pendingMutations:_0x5f52ba}=_0x1af267;this[_0x156f0a(0x29c)][_0x156f0a(0x2e8)](_0x4d4613);const _0x5cd02c=_0x5f52ba['length']?this[_0x156f0a(0x338)][_0x156f0a(0x30c)](ge,this['unitID'],this[_0x156f0a(0x27e)],_0x4d4613,_0x5f52ba,this[_0x156f0a(0x29c)],void 0x0):this['_injector'][_0x156f0a(0x30c)](Te,this['unitID'],this[_0x156f0a(0x27e)],_0x4d4613,this[_0x156f0a(0x29c)]);_0x5cd02c[_0x156f0a(0x4f4)](),this[_0x156f0a(0x29c)][_0x156f0a(0x4a0)](this,_0x5cd02c);},_0x12df44);}[_0x5bb7a4(0x2be)](){const _0x5cd9f6=_0x5bb7a4;var _0x53d744;const _0x5c6e95=this[_0x5cd9f6(0x23e)]['getConfig'](ie);return(_0x53d744=_0x5c6e95==null?void 0x0:_0x5c6e95[_0x5cd9f6(0x56a)])!=null?_0x53d744:_r;}['resend'](){const _0x443163=_0x5bb7a4;throw new Error(_0x443163(0x35d));}['_clearScheduledTask'](){const _0x599304=_0x5bb7a4;this['_sendingTimer']!=null&&(clearTimeout(this[_0x599304(0x3e7)]),this['_sendingTimer']=null);}[_0x5bb7a4(0x2d2)](_0x34971f){const _0x26c8c1=_0x5bb7a4;return this[_0x26c8c1(0x3c2)](),this[_0x26c8c1(0x338)]['createInstance'](Re,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x26c8c1(0x29c)],_0x34971f);}};pe=Le([A(0x4,_0x22a3e1(_0x4c5160)),A(0x5,_0x22a3e1(_0x25150b)),A(0x6,_0x22a3e1(q)),A(0x7,_0x22a3e1(Ne)),A(0x8,_0x3efec9),A(0x9,_0x1e58f0),A(0xa,_0x2bb536),A(0xb,_0x2db4c4),A(0xc,_0x2e0534),A(0xd,_0x131129)],pe);let Te=class extends $e{constructor(_0xd7a5d,_0x377c63,_0x24771b,_0x3770a5,_0x12f163,_0x2f880a,_0x2e10bf,_0x1d8b66,_0x47c7ed,_0xdbcfb4,_0x2d7a31){const _0x3e8a7e=_0x5bb7a4;super(_0xd7a5d,_0x377c63,_0x24771b,[],_0x3770a5,_0x1d8b66,_0x2d7a31,_0x2f880a,_0x2e10bf),g(this,_0x3e8a7e(0x1ff),_0x3e8a7e(0x31b)),g(this,_0x3e8a7e(0x54d),0x0),g(this,_0x3e8a7e(0x25e)),g(this,'_sender'),(this['_injector']=_0x12f163,this['_logService']=_0x47c7ed,this[_0x3e8a7e(0x1c5)]=_0xdbcfb4);}[_0x5bb7a4(0x260)](_0x69568c){const _0x5476c3=_0x5bb7a4;this[_0x5476c3(0x3c2)]();const _0x3300d8=this[_0x5476c3(0x338)][_0x5476c3(0x30c)](ge,this[_0x5476c3(0x4c4)],this[_0x5476c3(0x27e)],this[_0x5476c3(0x364)],[_0x69568c],this['_handler'],this[_0x5476c3(0x25e)]);return _0x3300d8[_0x5476c3(0x4f4)](),_0x3300d8;}[_0x5bb7a4(0x38e)](_0x1987ea){const _0x27c8b1=_0x5bb7a4;if(this[_0x27c8b1(0x547)](_0x1987ea))return this[_0x27c8b1(0x3c2)](),this['_injector']['createInstance'](he,this[_0x27c8b1(0x4c4)],this[_0x27c8b1(0x27e)],this[_0x27c8b1(0x364)],[],null,[_0x1987ea],this[_0x27c8b1(0x29c)]);try{const _0x160807=this['_transformService']['transformChangesets']([_0x1987ea],[this['_awaitingChangeset']],!0x1);if(_0x3e05e4(_0x160807)){const {c1Prime:_0xfa7f9b,c2Prime:_0x4bf791}=_0x160807;this[_0x27c8b1(0x541)](_0xfa7f9b[0x0]),_0x4bf791[0x0][_0x27c8b1(0x2b2)]=this[_0x27c8b1(0x1eb)](),this['_clearScheduledTask']();const _0x1670c5=this[_0x27c8b1(0x338)][_0x27c8b1(0x30c)](Te,this[_0x27c8b1(0x4c4)],this['type'],_0x4bf791[0x0],this[_0x27c8b1(0x29c)]);return _0x1670c5[_0x27c8b1(0x4f4)](),_0x1670c5;}return this[_0x27c8b1(0x2d2)](!0x1);}catch(_0x2d1112){return this[_0x27c8b1(0x26e)][_0x27c8b1(0x17b)](_0x2d1112),this['_onConflict'](!0x1);}}[_0x5bb7a4(0x30e)](_0x25cf1f){const _0x40a147=_0x5bb7a4;this['_clearScheduledTask']();const _0x26dcfa=this[_0x40a147(0x54c)][_0x40a147(0x3f5)](this[_0x40a147(0x4c4)]);if(_0x25cf1f[_0x40a147(0x571)]<_0x26dcfa-0x1)return this;if(this[_0x40a147(0x547)](_0x25cf1f))return this[_0x40a147(0x338)][_0x40a147(0x30c)](he,this[_0x40a147(0x4c4)],this[_0x40a147(0x27e)],null,[],this[_0x40a147(0x364)],[],this[_0x40a147(0x29c)]);this['_incrementRevisionNumber']();const _0x31ac54=this[_0x40a147(0x338)][_0x40a147(0x30c)](Fe,this[_0x40a147(0x4c4)],this[_0x40a147(0x27e)],this[_0x40a147(0x29c)]);return _0x31ac54[_0x40a147(0x4f4)](),_0x31ac54;}['onRemoteRej'](_0x321114){const _0x2598f4=_0x5bb7a4;return this[_0x2598f4(0x2d2)](!!(_0x321114!=null&&_0x321114['isPermissionRej']));}[_0x5bb7a4(0x49a)](_0x169954){const _0x4fd35c=_0x5bb7a4;return this[_0x4fd35c(0x54d)]>Ni?this[_0x4fd35c(0x30b)]():(this[_0x4fd35c(0x25e)]=Ui(this[_0x4fd35c(0x54d)],{'timeout':this[_0x4fd35c(0x54d)],'reqId':_0x169954[_0x4fd35c(0x3f6)]}),this[_0x4fd35c(0x292)]=this['_resendTimer'][_0x4fd35c(0x519)](({reqId:_0x558d7e,timeout:_0x5e5afe})=>{const _0x91b3c8=_0x4fd35c;this[_0x91b3c8(0x30a)](_0x558d7e,_0x5e5afe);}),this);}[_0x5bb7a4(0x30b)](){const _0x40d963=_0x5bb7a4;return this[_0x40d963(0x3c2)](),this[_0x40d963(0x338)][_0x40d963(0x30c)](ye,this[_0x40d963(0x4c4)],this[_0x40d963(0x27e)],this[_0x40d963(0x364)],[],this[_0x40d963(0x29c)]);}['toggleOnline'](){return this;}[_0x5bb7a4(0x581)](){const _0x3a0387=_0x5bb7a4;this[_0x3a0387(0x29c)][_0x3a0387(0x2e8)](this['_awaitingChangeset']);}[_0x5bb7a4(0x2d2)](_0x3a1da2){const _0x24aea3=_0x5bb7a4;return this['_clearScheduledTask'](),this[_0x24aea3(0x338)]['createInstance'](Re,this[_0x24aea3(0x4c4)],this[_0x24aea3(0x27e)],this[_0x24aea3(0x364)],[],this[_0x24aea3(0x29c)],_0x3a1da2);}['_resendWithTimeout'](_0x59ff6c,_0x53e340){const _0x3f71be=_0x5bb7a4;var _0x2b0e77;_0x59ff6c===((_0x2b0e77=this[_0x3f71be(0x364)])==null?void 0x0:_0x2b0e77[_0x3f71be(0x3f6)])&&(this[_0x3f71be(0x581)](),this[_0x3f71be(0x54d)]=_0x53e340===0x0?0x3e8:_0x53e340*0x2);}['_clearScheduledTask'](){const _0x592ff3=_0x5bb7a4;var _0x4590d8;(_0x4590d8=this[_0x592ff3(0x292)])==null||_0x4590d8[_0x592ff3(0x1e1)](),this[_0x592ff3(0x54d)]=0x0;}};Te=Le([A(0x4,_0x22a3e1(_0x4c5160)),A(0x5,_0x22a3e1(_0x25150b)),A(0x6,_0x22a3e1(q)),A(0x7,_0x1e58f0),A(0x8,_0x3efec9),A(0x9,_0x2db4c4),A(0xa,_0x131129)],Te);let ge=class extends $e{constructor(_0x1efed3,_0xa8f04c,_0x78e6dc,_0x57e36d,_0x140f71,_0x33fb05,_0x4a2951,_0x29b1bc,_0x1e6dc1,_0x54b23c,_0x403e00,_0x2b4835,_0x1b1bf0){const _0x2fdb6a=_0x5bb7a4;super(_0x1efed3,_0xa8f04c,_0x78e6dc,_0x57e36d,_0x140f71,_0x54b23c,_0x1b1bf0,_0x29b1bc,_0x1e6dc1),g(this,_0x2fdb6a(0x1ff),'awaiting_with_pending'),g(this,_0x2fdb6a(0x54d),0x0),g(this,_0x2fdb6a(0x25e)),g(this,'_sender'),(this[_0x2fdb6a(0x338)]=_0x4a2951,this[_0x2fdb6a(0x26e)]=_0x403e00,this['_transformService']=_0x2b4835,_0x33fb05&&(this['_resendTimer']=_0x33fb05,this[_0x2fdb6a(0x292)]=this[_0x2fdb6a(0x25e)][_0x2fdb6a(0x519)](({reqId:_0x3c6ab7,timeout:_0x4f5e11})=>{this['_resendWithTimeout'](_0x3c6ab7,_0x4f5e11);})));}[_0x5bb7a4(0x260)](_0x301768){const _0xfe3a8b=_0x5bb7a4;return this[_0xfe3a8b(0x309)][_0xfe3a8b(0x433)](_0x301768),this;}[_0x5bb7a4(0x38e)](_0x72562c){const _0x1e74a2=_0x5bb7a4;if(this['_checkMissing'](_0x72562c))return this[_0x1e74a2(0x3c2)](),this[_0x1e74a2(0x338)][_0x1e74a2(0x30c)](he,this[_0x1e74a2(0x4c4)],this[_0x1e74a2(0x27e)],this[_0x1e74a2(0x364)],this[_0x1e74a2(0x309)],null,[_0x72562c],this[_0x1e74a2(0x29c)]);try{const _0x1d67a3=this[_0x1e74a2(0x1c5)][_0x1e74a2(0x472)]([_0x72562c],[this[_0x1e74a2(0x364)]],!0x1);if(_0x3e05e4(_0x1d67a3)){const {c1Prime:_0x14b7c6,c2Prime:_0xad3774}=_0x1d67a3,_0x3d6f1d=this[_0x1e74a2(0x1c5)][_0x1e74a2(0x428)](_0x14b7c6[0x0],this[_0x1e74a2(0x309)]);if(_0x5f43ea(_0x3d6f1d)){const {c1Prime:_0x12b664,m2Prime:_0x447a0d}=_0x3d6f1d;return this['_executeRemoteChangeset'](_0x12b664),_0xad3774[0x0][_0x1e74a2(0x2b2)]=this[_0x1e74a2(0x1eb)](),this[_0x1e74a2(0x3c2)](),this[_0x1e74a2(0x338)][_0x1e74a2(0x30c)](ge,this[_0x1e74a2(0x4c4)],this[_0x1e74a2(0x27e)],_0xad3774[0x0],_0x447a0d,this[_0x1e74a2(0x29c)],void 0x0);}throw _0x3d6f1d[_0x1e74a2(0x17b)];}throw _0x1d67a3['error'];}catch(_0x566f4f){return this[_0x1e74a2(0x26e)][_0x1e74a2(0x17b)](_0x566f4f),this['_onConflict'](!0x1);}}[_0x5bb7a4(0x30e)](_0x1eca74){const _0x35ae03=_0x5bb7a4;if(this[_0x35ae03(0x3c2)](),this[_0x35ae03(0x547)](_0x1eca74))return this[_0x35ae03(0x338)][_0x35ae03(0x30c)](he,this[_0x35ae03(0x4c4)],this['type'],null,this[_0x35ae03(0x309)],this[_0x35ae03(0x364)],[],this[_0x35ae03(0x29c)]);this[_0x35ae03(0x283)]();const _0x5bfdb6=this[_0x35ae03(0x338)][_0x35ae03(0x30c)](pe,this[_0x35ae03(0x4c4)],this[_0x35ae03(0x27e)],this[_0x35ae03(0x309)],this['_handler']);return _0x5bfdb6['_schedule'](),_0x5bfdb6[_0x35ae03(0x4f4)](),_0x5bfdb6;}[_0x5bb7a4(0x2eb)](_0x36ea21){const _0x29fbae=_0x5bb7a4;return this[_0x29fbae(0x2d2)](!!(_0x36ea21!=null&&_0x36ea21[_0x29fbae(0x28d)]));}[_0x5bb7a4(0x49a)](_0x1b1f61){const _0x248e5e=_0x5bb7a4;return this['_resendTimeout']>Ni?this['toggleOffline']():(this['_resendTimer']=Ui(this[_0x248e5e(0x54d)],{'timeout':this[_0x248e5e(0x54d)],'reqId':_0x1b1f61[_0x248e5e(0x3f6)]}),this[_0x248e5e(0x292)]=this[_0x248e5e(0x25e)][_0x248e5e(0x519)](({reqId:_0x1f925a,timeout:_0x4cc888})=>{const _0x3e9fcd=_0x248e5e;this[_0x3e9fcd(0x30a)](_0x1f925a,_0x4cc888);}),this);}[_0x5bb7a4(0x30b)](){const _0x122bd1=_0x5bb7a4;return this[_0x122bd1(0x3c2)](),this[_0x122bd1(0x338)][_0x122bd1(0x30c)](ye,this[_0x122bd1(0x4c4)],this[_0x122bd1(0x27e)],this[_0x122bd1(0x364)],this[_0x122bd1(0x309)],this['_handler']);}[_0x5bb7a4(0x387)](){return this;}[_0x5bb7a4(0x581)](){const _0x3b7fcd=_0x5bb7a4;this[_0x3b7fcd(0x29c)][_0x3b7fcd(0x2e8)](this['_awaitingChangeset']);}[_0x5bb7a4(0x2d2)](_0x132ae9){const _0x50f015=_0x5bb7a4;return this['_clearScheduledTask'](),this[_0x50f015(0x338)][_0x50f015(0x30c)](Re,this['unitID'],this[_0x50f015(0x27e)],null,this[_0x50f015(0x309)],this[_0x50f015(0x29c)],_0x132ae9);}[_0x5bb7a4(0x30a)](_0x57b0a2,_0x3f0182){const _0x3350d6=_0x5bb7a4;var _0x9d4fff;_0x57b0a2===((_0x9d4fff=this['_awaitingChangeset'])==null?void 0x0:_0x9d4fff[_0x3350d6(0x3f6)])&&(this[_0x3350d6(0x581)](),this['_resendTimeout']=_0x3f0182===0x0?0x3e8:_0x3f0182*0x2);}[_0x5bb7a4(0x3c2)](){const _0x27d76d=_0x5bb7a4;var _0x650e85;(_0x650e85=this['_sender'])==null||_0x650e85[_0x27d76d(0x1e1)](),this[_0x27d76d(0x54d)]=0x0;}};ge=Le([A(0x6,_0x22a3e1(_0x4c5160)),A(0x7,_0x22a3e1(_0x25150b)),A(0x8,_0x22a3e1(q)),A(0x9,_0x1e58f0),A(0xa,_0x3efec9),A(0xb,_0x2db4c4),A(0xc,_0x131129)],ge);let Re=class extends $e{constructor(_0x8d974a,_0x22ab48,_0x3638ba,_0x5aece5,_0x5e3b90,_0x4bd0c7=!0x1,_0x518759,_0x466762,_0xf49c70,_0x1e5061,_0x467672,_0x5c8895,_0x3cdaa3){const _0x539ea5=_0x5bb7a4;super(_0x8d974a,_0x22ab48,_0x3638ba,_0x5aece5,_0x5e3b90,_0x466762,_0xf49c70,_0x467672,_0x1e5061),g(this,_0x539ea5(0x1ff),'conflict'),(this[_0x539ea5(0x1ec)]=_0x4bd0c7,this[_0x539ea5(0x167)]=_0x518759,this[_0x539ea5(0x4ab)]=_0x5c8895,this[_0x539ea5(0x4da)]=_0x3cdaa3,this[_0x539ea5(0x389)](),this[_0x539ea5(0x234)](),this[_0x539ea5(0x3af)]());}[_0x5bb7a4(0x260)](){return this;}['onRemoteChangeset'](){return this;}[_0x5bb7a4(0x30e)](){return this;}[_0x5bb7a4(0x2eb)](){return this;}['onRemoteRetry'](){return this;}[_0x5bb7a4(0x30b)](){return this;}[_0x5bb7a4(0x387)](){return this;}['resend'](){const _0x354ef0=_0x5bb7a4;throw new Error(_0x354ef0(0x212));}['_clearLocalCache'](){const _0x253b7a=_0x5bb7a4;this[_0x253b7a(0x46d)]['updateOfflineData'](this[_0x253b7a(0x4c4)],this[_0x253b7a(0x27e)],null,[]);}[_0x5bb7a4(0x389)](){const _0x1c1f4b=_0x5bb7a4;this[_0x1c1f4b(0x1ec)]?this[_0x1c1f4b(0x4da)]['show']({'title':this[_0x1c1f4b(0x4ab)]['t'](_0x1c1f4b(0x314)),'content':this['_localeService']['t'](_0x1c1f4b(0x456)),'type':'error','duration':0x0}):this[_0x1c1f4b(0x4da)][_0x1c1f4b(0x18e)]({'title':this[_0x1c1f4b(0x4ab)]['t'](_0x1c1f4b(0x393)),'content':this[_0x1c1f4b(0x4ab)]['t'](_0x1c1f4b(0x34e)),'type':_0x1c1f4b(0x17b),'duration':0x0});}[_0x5bb7a4(0x3af)](){const _0x2b215a=_0x5bb7a4;this['_permissionService'][_0x2b215a(0x3fc)](new _0x272dbd(this['unitID'])['id'],!0x1);}};Re=Le([A(0x6,_0x22a3e1(_0x59e41b)),A(0x7,_0x1e58f0),A(0x8,_0x131129),A(0x9,_0x22a3e1(q)),A(0xa,_0x22a3e1(_0x25150b)),A(0xb,_0x22a3e1(_0x1fdc1b)),A(0xc,_0x387815)],Re);let ye=class extends $e{constructor(_0x5e356e,_0xbc2114,_0x42e877,_0xb80c0,_0x5b4f23,_0x13cc31,_0x12fffc,_0x25bcff,_0x467798,_0x2cdc0b){const _0x3f1d94=_0x5bb7a4;super(_0x5e356e,_0xbc2114,_0x42e877,_0xb80c0,_0x5b4f23,_0x467798,_0x2cdc0b,_0x12fffc,_0x25bcff),g(this,'status',_0x3f1d94(0x4ed)),this['_injector']=_0x13cc31;}['appendMutation'](_0x31e539){const _0x5b284c=_0x5bb7a4;return this[_0x5b284c(0x309)]['push'](_0x31e539),this[_0x5b284c(0x4f4)](),this;}[_0x5bb7a4(0x38e)](_0xdec1b0){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x4a1ed2=_0x5bb7a4;throw new Error(_0x4a1ed2(0x4f9));}[_0x5bb7a4(0x2eb)](){const _0x1e4f56=_0x5bb7a4;throw new Error(_0x1e4f56(0x2fd));}[_0x5bb7a4(0x49a)](){return this;}[_0x5bb7a4(0x30b)](){return this;}[_0x5bb7a4(0x387)](){const _0x4104cd=_0x5bb7a4,{_injector:_0x418423,_pendingMutations:_0x47887d,_awaitingChangeset:_0xe9d61d,unitID:_0x302f6a,_handler:_0x4c5b9b,type:_0x5627b5}=this,_0x7c122e=Ai(_0x418423,_0x302f6a,_0x5627b5,_0xe9d61d,_0x47887d,_0x4c5b9b);return _0x7c122e instanceof pe?_0x7c122e[_0x4104cd(0x422)]():(_0x7c122e instanceof ge||_0x7c122e instanceof Te)&&_0x7c122e[_0x4104cd(0x581)](),_0x7c122e;}[_0x5bb7a4(0x581)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=Le([A(0x5,_0x22a3e1(_0x4c5160)),A(0x6,_0x22a3e1(_0x25150b)),A(0x7,_0x22a3e1(q)),A(0x8,_0x1e58f0),A(0x9,_0x131129)],ye);let he=class extends $e{constructor(_0x36923c,_0x4f8976,_0x195090,_0x3c7a2b,_0xc069cd,_0x38a866,_0x3f1034,_0x4db5cd,_0x1d03dd,_0x52c7c1,_0xdbc544,_0x195b54,_0x7bcfa,_0x446d75){const _0x2100fd=_0x5bb7a4;super(_0x36923c,_0x4f8976,_0x195090,_0x3c7a2b,_0x3f1034,_0x195b54,_0x7bcfa,_0x1d03dd,_0x52c7c1),g(this,'status',_0x2100fd(0x4d8)),(this[_0x2100fd(0x566)]=_0xc069cd,this[_0x2100fd(0x291)]=_0x38a866,this[_0x2100fd(0x338)]=_0x4db5cd,this[_0x2100fd(0x26e)]=_0xdbc544,this['_transformService']=_0x446d75);}[_0x5bb7a4(0x4cf)](_0x5be906){const _0x12ebe6=_0x5bb7a4;try{const _0x30a8c0=[..._0x5be906,...this[_0x12ebe6(0x291)]],_0x2f1467=[this[_0x12ebe6(0x364)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x1ab752=>!!_0x1ab752);let _0x55b5d0,_0xc57d46;if(_0x2f1467[_0x12ebe6(0x282)]){const _0x5f5ddd=this[_0x12ebe6(0x1c5)][_0x12ebe6(0x472)](_0x30a8c0,_0x2f1467,!0x1);if(!_0x3e05e4(_0x5f5ddd))throw _0x5f5ddd[_0x12ebe6(0x17b)];_0x55b5d0=_0x5f5ddd['c1Prime'],_0xc57d46=_0x5f5ddd[_0x12ebe6(0x49d)];}else _0x55b5d0=_0x30a8c0,_0xc57d46=[];let _0x23d9e8=this['_pendingMutations'];_0x55b5d0[_0x12ebe6(0x312)](_0x5a1869=>{const _0x17e6a3=_0x12ebe6;let _0x146be5;if(_0x23d9e8[_0x17e6a3(0x282)]){const _0x220a1e=this[_0x17e6a3(0x1c5)][_0x17e6a3(0x428)](_0x5a1869,_0x23d9e8);if(!_0x5f43ea(_0x220a1e))throw _0x220a1e[_0x17e6a3(0x17b)];_0x146be5=_0x220a1e[_0x17e6a3(0x4a1)],_0x23d9e8=_0x220a1e[_0x17e6a3(0x4d6)];}else _0x146be5=_0x5a1869;this[_0x17e6a3(0x541)](_0x146be5);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0xc57d46[_0x12ebe6(0x282)]&&(_0xc57d46[0x0][_0x12ebe6(0x2b2)]=this[_0x12ebe6(0x1eb)]());let _0x5b872f;if(this[_0x12ebe6(0x364)]&&_0x23d9e8[_0x12ebe6(0x282)]!==0x0)_0x5b872f=this['_injector']['createInstance'](ge,this[_0x12ebe6(0x4c4)],this[_0x12ebe6(0x27e)],_0xc57d46[0x0],_0x23d9e8,this[_0x12ebe6(0x29c)],void 0x0);else{if(this[_0x12ebe6(0x364)]&&_0x23d9e8['length']===0x0)_0xc57d46[0x0][_0x12ebe6(0x2b2)]=this[_0x12ebe6(0x1eb)](),_0x5b872f=this[_0x12ebe6(0x338)][_0x12ebe6(0x30c)](Te,this['unitID'],this['type'],_0xc57d46[0x0],this[_0x12ebe6(0x29c)]);else{if(_0x23d9e8[_0x12ebe6(0x282)]!==0x0){const _0x3ea7ba=this['_injector'][_0x12ebe6(0x30c)](pe,this[_0x12ebe6(0x4c4)],this['type'],_0x23d9e8,this[_0x12ebe6(0x29c)]);_0x3ea7ba['_schedule'](),_0x5b872f=_0x3ea7ba;}else _0x5b872f=this['_injector'][_0x12ebe6(0x30c)](Fe,this[_0x12ebe6(0x4c4)],this['type'],this[_0x12ebe6(0x29c)]);}}return _0x5b872f[_0x12ebe6(0x4f4)](),_0x5b872f;}catch(_0x41e514){return this[_0x12ebe6(0x26e)]['error'](_0x12ebe6(0x2c6),_0x12ebe6(0x1cf),_0x41e514),this[_0x12ebe6(0x338)][_0x12ebe6(0x30c)](Re,this['unitID'],this[_0x12ebe6(0x27e)],this[_0x12ebe6(0x364)],this['_pendingMutations'],this[_0x12ebe6(0x29c)],!0x1);}}[_0x5bb7a4(0x581)](){const _0x3fc346=_0x5bb7a4;throw new Error(_0x3fc346(0x1fd));}[_0x5bb7a4(0x260)](_0x5e8762){const _0x59791a=_0x5bb7a4;return this[_0x59791a(0x309)][_0x59791a(0x433)](_0x5e8762),this;}[_0x5bb7a4(0x38e)](_0x15eb19){const _0x5e6bd5=_0x5bb7a4;return this[_0x5e6bd5(0x291)][_0x5e6bd5(0x433)](_0x15eb19),this;}[_0x5bb7a4(0x30e)](_0xef15d2){const _0x2ce8a4=_0x5bb7a4;if(this[_0x2ce8a4(0x364)])return this[_0x2ce8a4(0x566)]=this[_0x2ce8a4(0x364)],this[_0x2ce8a4(0x364)]=null,this;throw new Error(_0x2ce8a4(0x191));}[_0x5bb7a4(0x2eb)](_0x11e2ff){const _0x5d14e0=_0x5bb7a4;return this['_onConflict'](!!(_0x11e2ff!=null&&_0x11e2ff[_0x5d14e0(0x28d)]));}['onRemoteRetry'](){return this;}[_0x5bb7a4(0x30b)](){const _0x15d5a6=_0x5bb7a4;return this[_0x15d5a6(0x338)][_0x15d5a6(0x30c)](ye,this[_0x15d5a6(0x4c4)],this[_0x15d5a6(0x27e)],this[_0x15d5a6(0x364)],this[_0x15d5a6(0x309)],this[_0x15d5a6(0x29c)]);}[_0x5bb7a4(0x387)](){return this;}[_0x5bb7a4(0x2d2)](_0x2675c1){const _0x583757=_0x5bb7a4;return this[_0x583757(0x338)][_0x583757(0x30c)](Re,this[_0x583757(0x4c4)],this[_0x583757(0x27e)],this[_0x583757(0x364)],this['_pendingMutations'],this[_0x583757(0x29c)],_0x2675c1);}};he=Le([A(0x7,_0x22a3e1(_0x4c5160)),A(0x8,_0x22a3e1(_0x25150b)),A(0x9,_0x22a3e1(q)),A(0xa,_0x3efec9),A(0xb,_0x1e58f0),A(0xc,_0x131129),A(0xd,_0x2db4c4)],he);function Ai(_0x81ed17,_0x3d6861,_0x10f9f5,_0x376e2e,_0x42bdb2,_0x58c084){const _0x50ce90=_0x5bb7a4;return _0x376e2e&&_0x42bdb2['length']?_0x81ed17[_0x50ce90(0x30c)](ge,_0x3d6861,_0x10f9f5,_0x376e2e,_0x42bdb2,_0x58c084,void 0x0):_0x376e2e?_0x81ed17[_0x50ce90(0x30c)](Te,_0x3d6861,_0x10f9f5,_0x376e2e,_0x58c084):_0x42bdb2[_0x50ce90(0x282)]?_0x81ed17[_0x50ce90(0x30c)](pe,_0x3d6861,_0x10f9f5,_0x42bdb2,_0x58c084):_0x81ed17[_0x50ce90(0x30c)](Fe,_0x3d6861,_0x10f9f5,_0x58c084);}var So=Object[_0x5bb7a4(0x42b)],Io=Object[_0x5bb7a4(0x4e4)],Es=(_0x4eb9a6,_0x1b1258,_0x4d71fd,_0x2de747)=>{const _0x1ae23a=_0x5bb7a4;for(var _0x39f262=_0x2de747>0x1?void 0x0:_0x2de747?Io(_0x1b1258,_0x4d71fd):_0x1b1258,_0x34c82e=_0x4eb9a6[_0x1ae23a(0x282)]-0x1,_0x231a0e;_0x34c82e>=0x0;_0x34c82e--)(_0x231a0e=_0x4eb9a6[_0x34c82e])&&(_0x39f262=(_0x2de747?_0x231a0e(_0x1b1258,_0x4d71fd,_0x39f262):_0x231a0e(_0x39f262))||_0x39f262);return _0x2de747&&_0x39f262&&So(_0x1b1258,_0x4d71fd,_0x39f262),_0x39f262;},H=(_0x177942,_0x402868)=>(_0x428581,_0x30817b)=>_0x402868(_0x428581,_0x30817b,_0x177942);let gt=class extends _0x177a9e{constructor(_0xff4696,_0x1133ae,_0x53d813,_0x4eba08,_0x247423,_0x26a6ca,_0x3f87da,_0x78ea06,_0x57d1b4,_0xdbdae9,_0x317c37,_0x4edc4,_0x3891a6){const _0x5b4ba2=_0x5bb7a4;super(),g(this,_0x5b4ba2(0x227),new _0x348a88(null)),g(this,_0x5b4ba2(0x40f),this['_state$']['asObservable']()),g(this,_0x5b4ba2(0x3fa)),g(this,_0x5b4ba2(0x4a4),!0x1),g(this,_0x5b4ba2(0x4e7),''),g(this,'_changesetReqId',0x0),g(this,_0x5b4ba2(0x1ba),this[_0x5b4ba2(0x40f)][_0x5b4ba2(0x3f1)](_0x5809a7(_0x314e26=>_0x314e26?_0x314e26[_0x5b4ba2(0x1ff)]:J['OFFLINE']),_0x3f1879(0x1))),g(this,_0x5b4ba2(0x4f8),!0x1),g(this,'_remoteChangesetQueue',[]),(this[_0x5b4ba2(0x4c4)]=_0xff4696,this['session']=_0x1133ae,this[_0x5b4ba2(0x3a6)]=_0x53d813,this['_injector']=_0x4eba08,this[_0x5b4ba2(0x46d)]=_0x247423,this[_0x5b4ba2(0x421)]=_0x26a6ca,this['_localeService']=_0x3f87da,this[_0x5b4ba2(0x54c)]=_0x78ea06,this[_0x5b4ba2(0x26e)]=_0x57d1b4,this[_0x5b4ba2(0x53f)]=_0xdbdae9,this['_messageService']=_0x317c37,this['_permissionService']=_0x4edc4,this[_0x5b4ba2(0x41a)]=_0x3891a6);}get[_0x5bb7a4(0x2fa)](){const _0x1ef88f=_0x5bb7a4;return this[_0x1ef88f(0x3fa)];}async[_0x5bb7a4(0x1d6)](){const _0x5c1ee0=_0x5bb7a4;if(this[_0x5c1ee0(0x2fa)])throw new Error(_0x5c1ee0(0x1d8));await this[_0x5c1ee0(0x515)]();}[_0x5bb7a4(0x569)](){return this['_collaborationPaused']=!0x0,_0x7884da(()=>{const _0x1dd9a2=_0x4081;this[_0x1dd9a2(0x4a4)]=!0x1,this[_0x1dd9a2(0x43a)]();});}[_0x5bb7a4(0x263)](_0x339089){const _0x19af28=_0x5bb7a4;this[_0x19af28(0x3fa)]=_0x339089,this['_state$']['next'](_0x339089);}async['_init'](){const _0x2a4409=_0x5bb7a4;var _0xfc5c22;this[_0x2a4409(0x263)](await this[_0x2a4409(0x294)]()),this[_0x2a4409(0x41a)]&&((_0xfc5c22=this[_0x2a4409(0x41a)])==null||_0xfc5c22[_0x2a4409(0x30d)](this[_0x2a4409(0x4c4)]),this[_0x2a4409(0x368)](this[_0x2a4409(0x41a)][_0x2a4409(0x23b)](this['unitID'])[_0x2a4409(0x519)](_0x4f0e6b=>{const _0x159848=_0x2a4409;this[_0x159848(0x26e)][_0x159848(0x23c)](_0x159848(0x501),'editing\x20status\x20changed\x20to',_0x4f0e6b),_0x4f0e6b===Di['OTHER_CLIENTS_EDITING']?(this['_messageService'][_0x159848(0x18e)]({'content':this[_0x159848(0x4ab)]['t'](_0x159848(0x416)),'type':_0x3417d7[_0x159848(0x2ad)]}),this[_0x159848(0x167)]['updatePermissionPoint'](new _0x272dbd(this[_0x159848(0x4c4)])['id'],!0x1),this[_0x159848(0x167)][_0x159848(0x3bc)](!0x1)):(this['_permissionService'][_0x159848(0x3fc)](new _0x272dbd(this[_0x159848(0x4c4)])['id'],!0x0),this[_0x159848(0x167)][_0x159848(0x3bc)](!0x0));})));let _0x3fe2b1=!0x1;return this[_0x2a4409(0x368)](this[_0x2a4409(0x457)][_0x2a4409(0x17e)][_0x2a4409(0x519)](_0x5f34ae=>{const _0x20eb1e=_0x2a4409;_0x5f34ae===ve[_0x20eb1e(0x3e1)]?this[_0x20eb1e(0x55e)](_0x3fe2b1):_0x5f34ae===ve['OFFLINE']&&(_0x3fe2b1=!0x0,this['_toggleOffline']());})),this[_0x2a4409(0x368)](this[_0x2a4409(0x457)][_0x2a4409(0x3e4)]['subscribe'](_0x2cad80=>{const _0x152af0=_0x2a4409;try{switch(_0x2cad80[_0x152af0(0x479)]){case _0x45d469[_0x152af0(0x4df)]:{this['_onRemoteChangeset'](_0x34525f(_0x2cad80['data']));break;}case _0x45d469[_0x152af0(0x4a7)]:{this['_onRemoteACK'](_0x2cad80['data']);break;}case _0x45d469['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x45d469[_0x152af0(0x259)]:{this[_0x152af0(0x374)](_0x2cad80['data']);break;}case _0x45d469[_0x152af0(0x2c8)]:{this['_onFetchMissResult'](_0x2cad80['data'][_0x152af0(0x50c)][_0x152af0(0x2c9)](_0x3cfa75=>_0x34525f(_0x3cfa75)));break;}case _0x45d469[_0x152af0(0x4fb)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x22d164){throw console[_0x152af0(0x17b)](_0x152af0(0x52c),_0x22d164),_0x22d164;}})),this[_0x2a4409(0x3fa)];}[_0x5bb7a4(0x402)](){const _0x37d657=_0x5bb7a4;this[_0x37d657(0x4f8)]=!0x1;}[_0x5bb7a4(0x216)](){const _0x44d8a2=_0x5bb7a4;if(this['_transitionLocked'])throw new Error(_0x44d8a2(0x43f));this[_0x44d8a2(0x4f8)]=!0x0;}[_0x5bb7a4(0x3fd)](_0x2fc6bb){const _0x6804d5=_0x5bb7a4;this['_lockTransition'](),this[_0x6804d5(0x263)](this[_0x6804d5(0x3fa)][_0x6804d5(0x260)](_0x2fc6bb)),this[_0x6804d5(0x402)]();}[_0x5bb7a4(0x506)](_0x3eeb1b){const _0x3f7bbd=_0x5bb7a4;if(!(_0x3eeb1b[_0x3f7bbd(0x571)]<=this[_0x3f7bbd(0x54c)][_0x3f7bbd(0x3f5)](this[_0x3f7bbd(0x4c4)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x3f7bbd(0x433)](_0x3eeb1b);return;}this[_0x3f7bbd(0x1f5)](_0x3eeb1b);}}[_0x5bb7a4(0x43a)](){const _0x2fc1d1=_0x5bb7a4;this[_0x2fc1d1(0x42e)]['forEach'](_0x12987a=>this[_0x2fc1d1(0x1f5)](_0x12987a)),this[_0x2fc1d1(0x42e)]=[];}[_0x5bb7a4(0x1f5)](_0x1f594f){const _0x419737=_0x5bb7a4,_0x2ec486=this[_0x419737(0x421)][_0x419737(0x455)]['fetchThroughInterceptors'](this[_0x419737(0x421)][_0x419737(0x455)][_0x419737(0x330)]()['COMPRESS_MUTATION_APPLY'])(_0x1f594f['mutations'],null)||_0x1f594f['mutations'],_0xb3e089={..._0x1f594f,'mutations':_0x2ec486};this[_0x419737(0x216)](),this[_0x419737(0x263)](this[_0x419737(0x3fa)][_0x419737(0x38e)](_0xb3e089)),this['_unlockTransition']();}['_onRemoteACK'](_0x295fb8){const _0x25aaf7=_0x5bb7a4;this[_0x25aaf7(0x216)](),this[_0x25aaf7(0x263)](this['_state'][_0x25aaf7(0x30e)](_0x295fb8)),this[_0x25aaf7(0x402)]();}[_0x5bb7a4(0x3e9)](_0x3fa7d4){const _0x3c1875=_0x5bb7a4;this[_0x3c1875(0x216)](),this[_0x3c1875(0x263)](this['_state'][_0x3c1875(0x2eb)](_0x3fa7d4)),this['_unlockTransition']();}[_0x5bb7a4(0x374)](_0x23c2bc){const _0x397ca9=_0x5bb7a4;this[_0x397ca9(0x216)](),this[_0x397ca9(0x263)](this['_state']['onRemoteRetry'](_0x23c2bc)),this[_0x397ca9(0x402)]();}[_0x5bb7a4(0x37e)](_0x490256){const _0xb168e2=_0x5bb7a4;if(!(this[_0xb168e2(0x3fa)]instanceof he))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x44992d=_0x490256[_0xb168e2(0x2c9)](_0x2fcd10=>{const _0x17fad2=_0xb168e2,_0x5b23a8=this[_0x17fad2(0x421)][_0x17fad2(0x455)]['fetchThroughInterceptors'](this[_0x17fad2(0x421)][_0x17fad2(0x455)][_0x17fad2(0x330)]()[_0x17fad2(0x4ac)])(_0x2fcd10[_0x17fad2(0x47f)],null)||_0x2fcd10[_0x17fad2(0x47f)];return{..._0x2fcd10,'mutations':_0x5b23a8};});this[_0xb168e2(0x216)](),this[_0xb168e2(0x263)](this[_0xb168e2(0x3fa)][_0xb168e2(0x4cf)](_0x44992d)),this[_0xb168e2(0x402)]();}['_toggleOffline'](){const _0xe1f5dc=_0x5bb7a4;this[_0xe1f5dc(0x216)](),this[_0xe1f5dc(0x263)](this['_state']['toggleOffline']()),this[_0xe1f5dc(0x402)]();}[_0x5bb7a4(0x55e)](_0x2de8d3=!0x1){const _0x16c7a3=_0x5bb7a4;this['_lockTransition'](),this[_0x16c7a3(0x263)](this['_state'][_0x16c7a3(0x387)]()),this[_0x16c7a3(0x402)]();const _0x1500ab=this[_0x16c7a3(0x3fa)];_0x2de8d3&&_0x1500ab instanceof Fe&&(this[_0x16c7a3(0x216)](),this[_0x16c7a3(0x263)](_0x1500ab[_0x16c7a3(0x560)]()),this['_unlockTransition']());}async[_0x5bb7a4(0x294)](){return new Promise(_0x3161ff=>{const _0x53703d=_0x4081;this['session'][_0x53703d(0x17e)]['pipe'](_0x35f71d(0x1))[_0x53703d(0x519)](async _0x360166=>{_0x3161ff(await this['_createInitialStateImpl'](_0x360166===ve['ONLINE']));});});}[_0x5bb7a4(0x4ef)](){const _0x44952b=_0x5bb7a4,_0x437e16=this[_0x44952b(0x4c4)];return{'onStateChange':(_0x249c57,_0x992ecd)=>{const _0x3bf766=_0x44952b;if(_0x249c57!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x249c57['status']+_0x3bf766(0x2d8)+_0x992ecd[_0x3bf766(0x1ff)]+_0x3bf766(0x168)+this[_0x3bf766(0x3fa)][_0x3bf766(0x1ff)]);this[_0x3bf766(0x263)](_0x992ecd);},'onSendChangeset':_0x513d0e=>{const _0x192ff3=_0x44952b;_0x513d0e[_0x192ff3(0x3dd)]||(_0x513d0e[_0x192ff3(0x3dd)]=this[_0x192ff3(0x4e7)],_0x513d0e[_0x192ff3(0x3f6)]=++this[_0x192ff3(0x437)]);const _0x1c3336={'eventID':_0x45d469['SUBMIT_CHANGESET'],'data':{'unitID':_0x513d0e[_0x192ff3(0x4c4)],'unitType':this[_0x192ff3(0x3a6)],'changeset':_0x513d0e,'memberID':this[_0x192ff3(0x457)][_0x192ff3(0x494)]()}};this[_0x192ff3(0x457)][_0x192ff3(0x45a)](_0x1c3336,this[_0x192ff3(0x4c4)]);},'onMissingChangesets':({from:_0x156357,to:_0x1f2b25})=>{const _0x563da9=_0x44952b;this[_0x563da9(0x26e)][_0x563da9(0x23c)](_0x563da9(0x501),_0x563da9(0x3ea)+_0x156357+_0x563da9(0x223)+_0x1f2b25);const _0x930275={'eventID':_0x45d469[_0x563da9(0x3ce)],'data':{'unitID':_0x437e16,'unitType':this[_0x563da9(0x3a6)],'from':_0x156357,'to':_0x1f2b25}};this['session'][_0x563da9(0x45a)](_0x930275,this[_0x563da9(0x4c4)]);}};}async[_0x5bb7a4(0x351)](_0x20b170){const _0x3274b4=_0x5bb7a4;var _0x4e6d63,_0x25b9db;const _0x17d3dc=await this['_localCacheService']['loadOfflineData'](this[_0x3274b4(0x4c4)]),_0x2b7cf6=(_0x4e6d63=_0x17d3dc==null?void 0x0:_0x17d3dc[_0x3274b4(0x47f)])!=null?_0x4e6d63:[],_0x1f541f=(_0x25b9db=_0x17d3dc==null?void 0x0:_0x17d3dc[_0x3274b4(0x25a)])!=null?_0x25b9db:null,_0x5e3e6e=!!(_0x1f541f!=null&&_0x1f541f['sid'])&&!!(_0x1f541f!=null&&_0x1f541f['reqId']);this[_0x3274b4(0x4e7)]=_0x5e3e6e?_0x1f541f[_0x3274b4(0x3dd)]:zr(),this['_changesetReqId']=_0x5e3e6e?_0x1f541f['reqId']:0x0;const _0x124076=this['unitID'];try{this[_0x3274b4(0x1ac)](_0x1f541f,_0x2b7cf6);}catch(_0x476b65){this[_0x3274b4(0x26e)][_0x3274b4(0x17b)](_0x476b65);}const _0x3244b9=this['_createHandler']();if(_0x20b170){const _0x3ccf52=Ai(this[_0x3274b4(0x338)],_0x124076,this[_0x3274b4(0x3a6)],_0x1f541f,_0x2b7cf6,_0x3244b9);return _0x3ccf52 instanceof pe?_0x3ccf52[_0x3274b4(0x422)]():(_0x3ccf52 instanceof ge||_0x3ccf52 instanceof Te)&&_0x3ccf52[_0x3274b4(0x581)](),_0x3ccf52;}return this['_injector']['createInstance'](ye,_0x124076,this[_0x3274b4(0x3a6)],_0x1f541f,_0x2b7cf6,_0x3244b9);}[_0x5bb7a4(0x1ac)](_0x2a8d1e,_0x4c5f1b){const _0x2f84bc=_0x5bb7a4;var _0x5f118e,_0x2433ea;const _0x333718=this['_compressMutationService'][_0x2f84bc(0x455)][_0x2f84bc(0x4fa)](this['_compressMutationService'][_0x2f84bc(0x455)][_0x2f84bc(0x330)]()['COMPRESS_MUTATION_APPLY']);(_0x5f118e=_0x333718((_0x2a8d1e==null?void 0x0:_0x2a8d1e[_0x2f84bc(0x47f)])||[],null))==null||_0x5f118e['forEach'](_0x9dd3f9=>this[_0x2f84bc(0x53f)]['executeCommand'](_0x9dd3f9['id'],_0x9dd3f9[_0x2f84bc(0x3d9)])),(_0x2433ea=_0x333718(_0x4c5f1b||[],null))==null||_0x2433ea[_0x2f84bc(0x312)](_0x253b93=>this['_commandService']['executeCommand'](_0x253b93['id'],_0x253b93[_0x2f84bc(0x3d9)]));}};gt=Es([H(0x3,_0x22a3e1(_0x4c5160)),H(0x4,_0x22a3e1(q)),H(0x5,_0x22a3e1(_0x4b6791)),H(0x6,_0x22a3e1(_0x1fdc1b)),H(0x7,_0x22a3e1(_0x25150b)),H(0x8,_0x3efec9),H(0x9,_0x1e58f0),H(0xa,_0x38087f),H(0xb,_0x59e41b),H(0xc,_0x4f55bd(Rt))],gt);let ss=class extends gt{constructor(_0x3ca7e8,_0x41da10,_0x48c4bc,_0x1545ad,_0x54ca39,_0x133a9f,_0x2cea2b,_0x5f017f,_0x1d1cbe,_0x4e866e,_0x3076c6,_0x19cd28,_0x4489f2,_0x1aae28,_0x2c2a92,_0x1e3831,_0x5757f1,_0x5893ed){const _0x207e78=_0x5bb7a4;super(_0x3ca7e8,_0x48c4bc,_0x41da10,_0x1545ad,_0x54ca39,_0x133a9f,_0x2cea2b,_0x5f017f,_0x1aae28,_0x2c2a92,_0x1e3831,_0x5757f1,_0x5893ed),this[_0x207e78(0x4c4)]=_0x3ca7e8,this['type']=_0x41da10,this['_docStateChangeManagerService']=_0x1d1cbe,this[_0x207e78(0x360)]=_0x4e866e,this[_0x207e78(0x3d3)]=_0x3076c6,this[_0x207e78(0x36b)]=_0x19cd28,this[_0x207e78(0x491)]=_0x4489f2;}[_0x5bb7a4(0x4ef)](){const _0x496213=_0x5bb7a4,_0x4b906c=super[_0x496213(0x4ef)]();return _0x4b906c[_0x496213(0x4a5)]=_0x3af37e=>this[_0x496213(0x360)]['transformIMECache'](_0x3af37e),_0x4b906c['onTransformState']=_0x4ab242=>this[_0x496213(0x3d3)]['transformStateCache'](_0x4ab242),_0x4b906c[_0x496213(0x432)]=_0x9d45f9=>this[_0x496213(0x36b)]['transformSelections'](_0x9d45f9),_0x4b906c[_0x496213(0x559)]=_0x54fa55=>this[_0x496213(0x491)][_0x496213(0x4be)](_0x54fa55),_0x4b906c[_0x496213(0x1bd)]=_0x11465c=>this[_0x496213(0x360)][_0x496213(0x465)](_0x11465c),_0x4b906c[_0x496213(0x25f)]=_0x466ab7=>this[_0x496213(0x3d3)]['transformRemoteChangeset'](_0x466ab7),_0x4b906c;}async['_init'](){const _0x3c5a92=_0x5bb7a4,_0x121276=await super['_init']();return this[_0x3c5a92(0x4de)][_0x3c5a92(0x462)][_0x3c5a92(0x3f1)](_0x52fa59(this[_0x3c5a92(0x492)]))[_0x3c5a92(0x519)](_0x182eda=>{const _0xfefdac=_0x3c5a92;if(_0x182eda==null)return;const {unitId:_0x256e07,redoState:_0x102894,commandId:_0x2bff1d}=_0x182eda;if(_0x256e07!==this[_0xfefdac(0x4c4)])return;const _0x469098={'id':_0x2bff1d,'type':_0x5bf26c[_0xfefdac(0x233)],'params':{'unitId':_0x256e07,'actions':_0x102894[_0xfefdac(0x37d)],'textRanges':null}};this[_0xfefdac(0x3fd)](_0x469098);}),_0x121276;}};ss=Es([H(0x3,_0x22a3e1(_0x4c5160)),H(0x4,_0x22a3e1(q)),H(0x5,_0x22a3e1(_0x4b6791)),H(0x6,_0x22a3e1(_0x1fdc1b)),H(0x7,_0x22a3e1(_0x25150b)),H(0x8,_0x22a3e1(_0x1b1fa1)),H(0x9,_0x22a3e1(ft)),H(0xa,_0x22a3e1(mt)),H(0xb,_0x22a3e1(pt)),H(0xc,_0x22a3e1(Cs)),H(0xd,_0x3efec9),H(0xe,_0x1e58f0),H(0xf,_0x38087f),H(0x10,_0x59e41b),H(0x11,_0x4f55bd(Rt))],ss);let is=class extends gt{constructor(_0x16a136,_0x5806d9,_0x1667f7,_0x39083f,_0x11c235,_0x157703,_0x1d73f9,_0x2bb8fa,_0x3033fb,_0x57aae5,_0x26942d,_0x175078,_0x4a3092,_0x53c827){const _0x49f276=_0x5bb7a4;super(_0x16a136,_0x1667f7,_0x5806d9,_0x39083f,_0x11c235,_0x157703,_0x1d73f9,_0x2bb8fa,_0x57aae5,_0x26942d,_0x175078,_0x4a3092,_0x53c827),this['unitID']=_0x16a136,this[_0x49f276(0x27e)]=_0x5806d9,this[_0x49f276(0x1a0)]=_0x3033fb;}[_0x5bb7a4(0x4ef)](){const _0x5017b5=_0x5bb7a4,_0x583849=super[_0x5017b5(0x4ef)]();return _0x583849[_0x5017b5(0x432)]=_0x2217a1=>this[_0x5017b5(0x1a0)][_0x5017b5(0x1a5)](_0x2217a1),_0x583849;}async[_0x5bb7a4(0x515)](){const _0x234f88=_0x5bb7a4,_0x4084f6=await super[_0x234f88(0x515)]();return this[_0x234f88(0x368)](this[_0x234f88(0x53f)][_0x234f88(0x498)]((_0x4961f4,_0xe6d680)=>{const _0x67853b=_0x234f88;if(_0x4961f4[_0x67853b(0x27e)]!==_0x5bf26c[_0x67853b(0x233)]||_0xe6d680!=null&&_0xe6d680['fromCollab']||_0xe6d680!=null&&_0xe6d680[_0x67853b(0x33f)])return;const _0x5ef1af=_0x4961f4[_0x67853b(0x3d9)];if((_0x5ef1af==null?void 0x0:_0x5ef1af[_0x67853b(0x55d)])!==this[_0x67853b(0x4c4)])return;const _0x3de7e2=_0x4961f4,_0x299f08=this[_0x67853b(0x421)][_0x67853b(0x455)]['fetchThroughInterceptors'](this[_0x67853b(0x421)][_0x67853b(0x455)][_0x67853b(0x330)]()[_0x67853b(0x201)])([_0x3de7e2],null)||[_0x3de7e2];this['_onLocalMutation'](_0x299f08[0x0]);})),_0x4084f6;}};is=Es([H(0x3,_0x22a3e1(_0x4c5160)),H(0x4,_0x22a3e1(q)),H(0x5,_0x22a3e1(_0x4b6791)),H(0x6,_0x22a3e1(_0x1fdc1b)),H(0x7,_0x22a3e1(_0x25150b)),H(0x8,_0x22a3e1(vt)),H(0x9,_0x3efec9),H(0xa,_0x1e58f0),H(0xb,_0x38087f),H(0xc,_0x59e41b),H(0xd,_0x4f55bd(Rt))],is);var Co=Object[_0x5bb7a4(0x42b)],Eo=Object[_0x5bb7a4(0x4e4)],bo=(_0x1d82e9,_0x38bc05,_0x82a321,_0xafdaf9)=>{for(var _0x979d59=_0xafdaf9>0x1?void 0x0:_0xafdaf9?Eo(_0x38bc05,_0x82a321):_0x38bc05,_0x43c627=_0x1d82e9['length']-0x1,_0x38010b;_0x43c627>=0x0;_0x43c627--)(_0x38010b=_0x1d82e9[_0x43c627])&&(_0x979d59=(_0xafdaf9?_0x38010b(_0x38bc05,_0x82a321,_0x979d59):_0x38010b(_0x979d59))||_0x979d59);return _0xafdaf9&&_0x979d59&&Co(_0x38bc05,_0x82a321,_0x979d59),_0x979d59;},Lt=(_0x1aec3d,_0x55ce4c)=>(_0x5f088e,_0x436ada)=>_0x55ce4c(_0x5f088e,_0x436ada,_0x1aec3d);let it=class extends _0x177a9e{constructor(_0x349cca,_0x4637f4,_0x4a2e79){const _0x20a1d7=_0x5bb7a4;super(),g(this,_0x20a1d7(0x37a),new Map()),g(this,_0x20a1d7(0x3b4),new _0x1b179a()),(this[_0x20a1d7(0x338)]=_0x349cca,this[_0x20a1d7(0x575)]=_0x4637f4,this[_0x20a1d7(0x21d)]=_0x4a2e79,this[_0x20a1d7(0x515)]());}[_0x5bb7a4(0x4d2)](){const _0xedcab4=_0x5bb7a4;super[_0xedcab4(0x4d2)](),this[_0xedcab4(0x37a)]['forEach'](_0x37e41f=>_0x37e41f['dispose']()),this[_0xedcab4(0x37a)][_0xedcab4(0x395)]();}[_0x5bb7a4(0x2c5)](_0xae0cb8){const _0x13cfb5=_0x5bb7a4;var _0x3dd4b3;return(_0x3dd4b3=this[_0x13cfb5(0x37a)]['get'](_0xae0cb8))!=null?_0x3dd4b3:null;}[_0x5bb7a4(0x42f)](_0x1577f0){const _0x10bda5=_0x5bb7a4,_0x3bc605=this[_0x10bda5(0x2c5)](_0x1577f0);return _0x3bc605?_0x52cb6f(_0x3bc605):this['_entityInit$']['pipe'](_0x5a0a20(_0x7690ee=>_0x7690ee['unitID']===_0x1577f0));}[_0x5bb7a4(0x515)](){const _0x18b898=_0x5bb7a4;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x10a997[_0x18b898(0x55b)])['pipe'](_0x52fa59(this[_0x18b898(0x492)]),_0x1ce989(0x10))[_0x18b898(0x519)](async _0xaff156=>{const _0x156112=_0x18b898,_0x9e85d1=_0xaff156[_0x156112(0x322)](),_0x52e061=await this[_0x156112(0x567)](_0x9e85d1,ce[_0x156112(0x55b)]);this['_entities'][_0x156112(0x441)](_0x9e85d1,_0x52e061);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x10a997['UNIVER_DOC'])[_0x18b898(0x3f1)](_0x52fa59(this[_0x18b898(0x492)]),_0x1ce989(0x10))['pipe'](_0x5a0a20(_0x15fd4a=>!_0x15fd4a[_0x18b898(0x322)]()[_0x18b898(0x418)]('__')))[_0x18b898(0x519)](async _0x3cf8d1=>{const _0x54da12=_0x18b898,_0x5d3405=_0x3cf8d1[_0x54da12(0x322)](),_0xa133cb=await this['_startCollaboration'](_0x5d3405,ce[_0x54da12(0x172)]);this['_entities'][_0x54da12(0x441)](_0x5d3405,_0xa133cb);}),_0x4e4735(this[_0x18b898(0x21d)]['getTypeOfUnitDisposed$'](_0x10a997[_0x18b898(0x55b)]),this[_0x18b898(0x21d)][_0x18b898(0x39a)](_0x10a997[_0x18b898(0x172)]))[_0x18b898(0x3f1)](_0x52fa59(this[_0x18b898(0x492)]))[_0x18b898(0x519)](_0x3e6054=>{const _0x2bdedc=_0x18b898,_0x3019e4=_0x3e6054[_0x2bdedc(0x322)](),_0x3e53b6=this[_0x2bdedc(0x37a)]['get'](_0x3019e4);_0x3e53b6&&(_0x3e53b6[_0x2bdedc(0x4d2)](),this[_0x2bdedc(0x37a)][_0x2bdedc(0x3d8)](_0x3019e4));});}async[_0x5bb7a4(0x567)](_0x1b9919,_0x5dad69){const _0x32d7d8=_0x5bb7a4,_0x53c271=await this[_0x32d7d8(0x575)]['requireSession'](_0x1b9919),_0x359c04=this[_0x32d7d8(0x338)][_0x32d7d8(0x30c)](this[_0x32d7d8(0x2fe)](_0x5dad69),_0x1b9919,_0x5dad69,_0x53c271);return await _0x359c04['init'](),this[_0x32d7d8(0x3b4)][_0x32d7d8(0x3ff)](_0x359c04),_0x359c04;}[_0x5bb7a4(0x2fe)](_0x3451af){const _0x127d0c=_0x5bb7a4;switch(_0x3451af){case ce[_0x127d0c(0x172)]:return ss;case ce[_0x127d0c(0x55b)]:return is;default:throw new Error(_0x127d0c(0x19b)+_0x3451af);}}};it=bo([Lt(0x0,_0x22a3e1(_0x4c5160)),Lt(0x1,_0x22a3e1(Ae)),Lt(0x2,_0x2e0534)],it);const Gs=[_0x5bb7a4(0x3f4),_0x5bb7a4(0x4f2),'verdancy600',_0x5bb7a4(0x3c0),_0x5bb7a4(0x176),_0x5bb7a4(0x4bb)];class bs extends _0x1caa36{constructor(){const _0x578e57=_0x5bb7a4;super(...arguments),g(this,_0x578e57(0x2ee),new Map()),g(this,_0x578e57(0x56d),0x0);}[_0x5bb7a4(0x2cf)](_0x8da148){const _0x44271f=_0x5bb7a4;if(this[_0x44271f(0x2ee)][_0x44271f(0x2e6)](_0x8da148))return this[_0x44271f(0x2ee)]['get'](_0x8da148);const _0x5bbaed=Gs[this[_0x44271f(0x56d)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Gs[_0x44271f(0x282)],this[_0x44271f(0x2ee)][_0x44271f(0x441)](_0x8da148,_0x5bbaed),_0x5bbaed;}}var To=Object[_0x5bb7a4(0x42b)],Ro=Object[_0x5bb7a4(0x4e4)],yo=(_0x1e03c5,_0x5b38dc,_0x5075a7,_0x5c70ff)=>{const _0x387061=_0x5bb7a4;for(var _0x3c73fe=_0x5c70ff>0x1?void 0x0:_0x5c70ff?Ro(_0x5b38dc,_0x5075a7):_0x5b38dc,_0x125efd=_0x1e03c5[_0x387061(0x282)]-0x1,_0x27f605;_0x125efd>=0x0;_0x125efd--)(_0x27f605=_0x1e03c5[_0x125efd])&&(_0x3c73fe=(_0x5c70ff?_0x27f605(_0x5b38dc,_0x5075a7,_0x3c73fe):_0x27f605(_0x3c73fe))||_0x3c73fe);return _0x5c70ff&&_0x3c73fe&&To(_0x5b38dc,_0x5075a7,_0x3c73fe),_0x3c73fe;},Oe=(_0x5bd12c,_0x58aff3)=>(_0xe4761c,_0x2f81f1)=>_0x58aff3(_0xe4761c,_0x2f81f1,_0x5bd12c);const Oo=0x12c,wo=0x64;let ns=class extends _0x177a9e{constructor(_0x519625,_0x53814a,_0x2894b9,_0x5d336e,_0x497b88,_0x3da8ff,_0x4e8d6e,_0x14c337,_0x2caffb){const _0x350e99=_0x5bb7a4;super(),g(this,_0x350e99(0x2e3),!0x1),g(this,_0x350e99(0x515),!0x1),g(this,_0x350e99(0x299),new _0x348a88(new Map())),g(this,_0x350e99(0x52f),this[_0x350e99(0x299)][_0x350e99(0x1a6)]()),g(this,_0x350e99(0x208),new _0x348a88([])),g(this,_0x350e99(0x32f),this['_roomMembers$'][_0x350e99(0x3f1)](_0x12cfe4(Oo))),g(this,_0x350e99(0x2ff),_0x47386f(_0x21ff96=>{const _0x457ff5=_0x350e99,_0x4db5a8={'eventID':_0x45d469[_0x457ff5(0x2cd)],'data':{'unitID':this[_0x457ff5(0x4c4)],'memberID':this['_session']['getMemberID'](),'selection':Pi(_0x21ff96)}};this[_0x457ff5(0x42d)][_0x457ff5(0x45a)](_0x4db5a8,this[_0x457ff5(0x4c4)]);},wo)),(this[_0x350e99(0x4c4)]=_0x519625,this[_0x350e99(0x42d)]=_0x53814a,this[_0x350e99(0x338)]=_0x2894b9,this['_colorAssignService']=_0x5d336e,this['_memberService']=_0x497b88,this[_0x350e99(0x532)]=_0x3da8ff,this[_0x350e99(0x1c5)]=_0x4e8d6e,this[_0x350e99(0x21d)]=_0x14c337,this[_0x350e99(0x53f)]=_0x2caffb);}get[_0x5bb7a4(0x466)](){const _0x25896e=_0x5bb7a4;return this[_0x25896e(0x299)][_0x25896e(0x43d)]();}get[_0x5bb7a4(0x18b)](){const _0x1f52bb=_0x5bb7a4;return this[_0x1f52bb(0x208)][_0x1f52bb(0x43d)]();}[_0x5bb7a4(0x4d2)](){const _0x508ad6=_0x5bb7a4;super[_0x508ad6(0x4d2)](),this[_0x508ad6(0x299)][_0x508ad6(0x3ff)](new Map()),this[_0x508ad6(0x299)][_0x508ad6(0x313)](),this[_0x508ad6(0x208)]['next']([]),this['_roomMembers$'][_0x508ad6(0x313)]();}[_0x5bb7a4(0x1d6)](){const _0x5d96c4=_0x5bb7a4;this[_0x5d96c4(0x515)]||(this['_init']=!0x0,this[_0x5d96c4(0x42d)][_0x5d96c4(0x17e)]['pipe'](_0x52fa59(this['dispose$']))[_0x5d96c4(0x519)](_0x3c92ab=>{const _0x22fd49=_0x5d96c4;_0x3c92ab===ve[_0x22fd49(0x3e1)]?this[_0x22fd49(0x55e)]():this[_0x22fd49(0x534)]();}),this[_0x5d96c4(0x42d)]['event$']['pipe'](_0x52fa59(this[_0x5d96c4(0x492)]))[_0x5d96c4(0x519)](_0x5ac665=>{const _0x52a46d=_0x5d96c4,_0x1d23a8=_0x5ac665[_0x52a46d(0x479)];_0x1d23a8===_0x45d469[_0x52a46d(0x2cd)]&&this[_0x52a46d(0x170)](_0x5ac665),_0x1d23a8===_0x45d469[_0x52a46d(0x489)]&&this[_0x52a46d(0x272)](_0x5ac665);}),this[_0x5d96c4(0x368)](this[_0x5d96c4(0x53f)][_0x5d96c4(0x498)](_0x148ab9=>{const _0x3440ac=_0x5d96c4,_0x13e6a0=_0x148ab9[_0x3440ac(0x3d9)];_0x13e6a0!=null&&this['_online']&&_0x148ab9['id']===_0x10288c['id']&&_0x13e6a0[_0x3440ac(0x55d)]===this[_0x3440ac(0x4c4)]&&_0x13e6a0[_0x3440ac(0x4b5)]===!0x1&&_0x13e6a0[_0x3440ac(0x56e)][_0x3440ac(0x282)]>0x0&&this[_0x3440ac(0x2ff)](_0x13e6a0[_0x3440ac(0x56e)]);})),this[_0x5d96c4(0x532)]['collabCursorState$'][_0x5d96c4(0x3f1)](_0x52fa59(this[_0x5d96c4(0x492)]))['subscribe'](_0x1cd075=>{const _0x51d6d1=_0x5d96c4;if((_0x1cd075==null?void 0x0:_0x1cd075['unitID'])!==this[_0x51d6d1(0x4c4)])return;const _0x92d1b7={'eventID':_0x45d469[_0x51d6d1(0x2cd)],'data':_0x1cd075};this[_0x51d6d1(0x170)](_0x92d1b7);}),this[_0x5d96c4(0x368)](this[_0x5d96c4(0x53f)][_0x5d96c4(0x498)](_0x262267=>{const _0x14c85c=_0x5d96c4;if(_0x262267[_0x14c85c(0x3d9)]==null)return;const _0x4b1bef=_0x262267[_0x14c85c(0x3d9)];if(_0x262267['id']!==_0x185e84['id']||_0x4b1bef[_0x14c85c(0x55d)]!==this['unitID'])return;const _0x27df98={'id':'doc.mutation.rich-text-editing','params':_0x4b1bef},_0x3ff98b=this[_0x14c85c(0x466)];for(const [_0x396d77,_0x695cf1]of _0x3ff98b){const _0x18efa6={'id':_0x14c85c(0x557),'params':{'unitId':this[_0x14c85c(0x4c4)],'actions':null,'textRanges':_0x695cf1[_0x14c85c(0x56e)]}},_0x24e3f2=this[_0x14c85c(0x1c5)][_0x14c85c(0x4f0)](_0x27df98,_0x18efa6,!0x1);if(_0x35b5b8(_0x24e3f2))throw _0x24e3f2[_0x14c85c(0x17b)];_0x3ff98b[_0x14c85c(0x441)](_0x396d77,{..._0x695cf1,'ranges':_0x24e3f2[_0x14c85c(0x4d6)][_0x14c85c(0x3d9)][_0x14c85c(0x2a0)]});}queueMicrotask(()=>{const _0x4202ed=_0x14c85c;this[_0x4202ed(0x299)][_0x4202ed(0x3ff)](_0x3ff98b);});})));}['_onCursorUpdate'](_0x290ab2){const _0x43a34b=_0x5bb7a4;var _0x36ae1f,_0x1b5706;const {memberID:_0xca9b28,selection:_0x4bb6a8}=_0x290ab2[_0x43a34b(0x2d5)],_0x2cab56=ho(_0x4bb6a8),_0x4349b8=(_0x1b5706=(_0x36ae1f=this[_0x43a34b(0x49f)][_0x43a34b(0x25d)](this[_0x43a34b(0x4c4)],_0xca9b28))==null?void 0x0:_0x36ae1f[_0x43a34b(0x408)])!=null?_0x1b5706:'Unknown\x20user',_0xe9bf6e={'color':this[_0x43a34b(0x517)][_0x43a34b(0x2cf)](_0xca9b28),'name':_0x4349b8,'ranges':_0x2cab56},_0x245ece=this['cursorInfo'];_0x245ece[_0x43a34b(0x441)](_0xca9b28,_0xe9bf6e),this[_0x43a34b(0x299)][_0x43a34b(0x3ff)](_0x245ece);}['_onCursorDelete'](_0x5d9099){const _0x406697=_0x5bb7a4,{memberID:_0x5619ee}=_0x5d9099['data'],_0x1bb646=this[_0x406697(0x466)];_0x1bb646[_0x406697(0x3d8)](_0x5619ee),this[_0x406697(0x299)][_0x406697(0x3ff)](_0x1bb646);}[_0x5bb7a4(0x55e)](){const _0x257d77=_0x5bb7a4;var _0x30c90f;if(this[_0x257d77(0x2e3)]=!0x0,((_0x30c90f=this['_univerInstanceService'][_0x257d77(0x1dd)]())==null?void 0x0:_0x30c90f[_0x257d77(0x322)]())!==this[_0x257d77(0x4c4)])return;const _0x221339=this['_injector'][_0x257d77(0x4f7)](_0x4ce6e6)[_0x257d77(0x1c3)]();Array[_0x257d77(0x2f4)](_0x221339)&&_0x221339[_0x257d77(0x282)]>0x0&&this['_updateLocalCursor'](_0x221339);}[_0x5bb7a4(0x534)](){this['_online']=!0x1;}};ns=yo([Oe(0x2,_0x22a3e1(_0x4c5160)),Oe(0x3,_0x22a3e1(bs)),Oe(0x4,_0x22a3e1(Ne)),Oe(0x5,_0x22a3e1(Cs)),Oe(0x6,_0x2db4c4),Oe(0x7,_0x2e0534),Oe(0x8,_0x1e58f0)],ns);var Do=Object[_0x5bb7a4(0x42b)],Po=Object[_0x5bb7a4(0x4e4)],Uo=(_0xb957ce,_0x286a69,_0x36d0f5,_0x32b840)=>{const _0xb57c65=_0x5bb7a4;for(var _0x5c396c=_0x32b840>0x1?void 0x0:_0x32b840?Po(_0x286a69,_0x36d0f5):_0x286a69,_0x4c2d14=_0xb957ce[_0xb57c65(0x282)]-0x1,_0x27c021;_0x4c2d14>=0x0;_0x4c2d14--)(_0x27c021=_0xb957ce[_0x4c2d14])&&(_0x5c396c=(_0x32b840?_0x27c021(_0x286a69,_0x36d0f5,_0x5c396c):_0x27c021(_0x5c396c))||_0x5c396c);return _0x32b840&&_0x5c396c&&Do(_0x286a69,_0x36d0f5,_0x5c396c),_0x5c396c;},Be=(_0x44b6f1,_0x27ce8c)=>(_0x1493d6,_0x1f5274)=>_0x27ce8c(_0x1493d6,_0x1f5274,_0x44b6f1);const No=0x12c,Ao=0x64,Mo=()=>{let _0x442d41=[],_0x97be62=!0x1;return _0x1f35df=>{_0x442d41['push'](_0x1f35df),_0x97be62||(_0x97be62=!0x0,setTimeout(()=>{const _0x2f8f2a=_0x4081;_0x442d41[_0x2f8f2a(0x312)](_0x5dd382=>_0x5dd382()),_0x442d41=[],_0x97be62=!0x1;}));};};let rs=class extends _0x177a9e{constructor(_0x1c9140,_0x30f821,_0x19101a,_0x402c06,_0x4e7f1c,_0x83eccb,_0x35a41f,_0x45a503){const _0x70bef8=_0x5bb7a4;super(),g(this,_0x70bef8(0x2e3),!0x1),g(this,_0x70bef8(0x515),!0x1),g(this,'_cursorInfo$',new _0x348a88(new Map())),g(this,_0x70bef8(0x52f),this[_0x70bef8(0x299)]['asObservable']()),g(this,_0x70bef8(0x208),new _0x348a88([])),g(this,_0x70bef8(0x32f),this[_0x70bef8(0x208)][_0x70bef8(0x3f1)](_0x12cfe4(No))),g(this,_0x70bef8(0x2ff),_0x47386f((_0x4cb4df,_0x4782a8)=>{const _0x13fa09=_0x70bef8,_0x41cd4c={'eventID':_0x45d469['UPDATE_CURSOR'],'data':{'unitID':this[_0x13fa09(0x4c4)],'memberID':this[_0x13fa09(0x42d)]['getMemberID'](),'selection':_0x5cd454(_0x4cb4df,_0x4782a8[_0x13fa09(0x2da)])}};this['_session'][_0x13fa09(0x45a)](_0x41cd4c,this[_0x13fa09(0x4c4)]);},Ao)),(this['unitID']=_0x1c9140,this['_session']=_0x30f821,this[_0x70bef8(0x338)]=_0x19101a,this['_colorAssignService']=_0x402c06,this[_0x70bef8(0x49f)]=_0x4e7f1c,this['_univerInstanceService']=_0x83eccb,this['_commandService']=_0x35a41f,this[_0x70bef8(0x4db)]=_0x45a503);}get[_0x5bb7a4(0x466)](){const _0x3ab7be=_0x5bb7a4;return this['_cursorInfo$'][_0x3ab7be(0x43d)]();}get[_0x5bb7a4(0x18b)](){const _0x57a218=_0x5bb7a4;return this[_0x57a218(0x208)]['getValue']();}[_0x5bb7a4(0x4d2)](){const _0x4f1b96=_0x5bb7a4;super[_0x4f1b96(0x4d2)](),this[_0x4f1b96(0x299)][_0x4f1b96(0x3ff)](new Map()),this[_0x4f1b96(0x299)]['complete'](),this[_0x4f1b96(0x208)]['next']([]),this['_roomMembers$'][_0x4f1b96(0x313)]();}['init'](){const _0x13f09b=_0x5bb7a4;this['_init']||(this[_0x13f09b(0x515)]=!0x0,this[_0x13f09b(0x42d)]['sessionStatus$'][_0x13f09b(0x3f1)](_0x52fa59(this[_0x13f09b(0x492)]))['subscribe'](_0x35075b=>{const _0x1ba2db=_0x13f09b;_0x35075b===ve[_0x1ba2db(0x3e1)]?this[_0x1ba2db(0x55e)]():this[_0x1ba2db(0x534)]();}),this[_0x13f09b(0x42d)][_0x13f09b(0x3e4)]['pipe'](_0x52fa59(this[_0x13f09b(0x492)]))[_0x13f09b(0x519)](_0x5b261c=>{const _0x497afe=_0x13f09b,_0x3ba498=_0x5b261c['eventID'];_0x3ba498===_0x45d469[_0x497afe(0x2cd)]&&this[_0x497afe(0x170)](_0x5b261c),_0x3ba498===_0x45d469[_0x497afe(0x489)]&&this[_0x497afe(0x272)](_0x5b261c);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x13f09b(0x53f)]['onCommandExecuted'](_0x5e33d0=>{const _0xd39a2a=_0x13f09b;if(this[_0xd39a2a(0x2e3)]&&_0x5e33d0['id']===_0x544c74['id']&&_0x5e33d0[_0xd39a2a(0x3d9)][_0xd39a2a(0x55d)]===this['unitID']){const _0x39587a=_0x5e33d0[_0xd39a2a(0x3d9)];this[_0xd39a2a(0x2ff)](_0x39587a[_0xd39a2a(0x1c9)],_0x39587a['selections'][0x0]);}})));}[_0x5bb7a4(0x170)](_0x7f30f0){const _0x785518=_0x5bb7a4;var _0x4fb886,_0x26046;const {memberID:_0x4449c0,selection:_0x59f94f}=_0x7f30f0[_0x785518(0x2d5)],{sheetName:_0x424bb2,range:_0x2a23e8}=_0x231961(_0x59f94f),_0x4f9707={'name':(_0x26046=(_0x4fb886=this[_0x785518(0x49f)]['getMember'](this['unitID'],_0x4449c0))==null?void 0x0:_0x4fb886[_0x785518(0x408)])!=null?_0x26046:_0x785518(0x4fe),'range':this[_0x785518(0x46f)](_0x424bb2,_0x2a23e8),'sheetID':_0x424bb2,'color':this[_0x785518(0x517)][_0x785518(0x2cf)](_0x4449c0),'selection':_0x59f94f},_0x556828=this['cursorInfo'];_0x556828['set'](_0x4449c0,_0x4f9707),this[_0x785518(0x299)][_0x785518(0x3ff)](_0x556828);}[_0x5bb7a4(0x272)](_0x5c1b8c){const _0x143edc=_0x5bb7a4,{memberID:_0x142b96}=_0x5c1b8c['data'],_0x565f30=this[_0x143edc(0x466)];_0x565f30[_0x143edc(0x3d8)](_0x142b96),this[_0x143edc(0x299)][_0x143edc(0x3ff)](_0x565f30);}[_0x5bb7a4(0x46f)](_0x729cec,_0x492fe0){const _0x23c6dc=_0x5bb7a4;var _0xcf8860,_0x3dfe9c;const _0x380b9f=(_0x3dfe9c=(_0xcf8860=this[_0x23c6dc(0x21d)][_0x23c6dc(0x44c)](this['unitID']))==null?void 0x0:_0xcf8860['getSheetBySheetId'](_0x729cec))==null?void 0x0:_0x3dfe9c['getMergeData']();return(_0x380b9f==null?void 0x0:_0x380b9f['find'](_0x1a9712=>_0x49e4db[_0x23c6dc(0x2b3)](_0x1a9712,_0x492fe0)))||_0x492fe0;}[_0x5bb7a4(0x270)](){const _0x39c6bb=_0x5bb7a4,_0x103aab=new _0x4e3306(),_0x10ef5b=Mo(),_0x3cb06e=()=>{const _0xcfb336=_0x4081;_0x103aab['dispose']();const _0x2f8ceb=(_0x51e58b,_0x8dd2b6,_0x12fc89,_0x443f4d)=>{const _0x40b97c=_0x4081;let _0x3109f1=[];switch(_0x51e58b['id']){case _0x34bde3[_0x40b97c(0x53d)]:{_0x3109f1=_0xd913ed(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x1e5)]:{_0x3109f1=_0xc12035(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x230)]:{_0x3109f1=_0x490fbf(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x476)]:{_0x3109f1=_0x595791(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x311)]:{_0x3109f1=_0x3995ec(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x543)]:{_0x3109f1=_0x5120ad(_0x51e58b,_0x443f4d);break;}case _0x34bde3['MoveRangeCommandId']:{_0x3109f1=_0x20726c(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x445)]:{_0x3109f1=_0x74bb6c(_0x51e58b,_0x443f4d);break;}case _0x34bde3['RemoveRowCommandId']:{_0x3109f1=_0x399794(_0x51e58b,_0x443f4d);break;}}const _0x409f86=_0x4ea810(_0x3109f1,_0x443f4d),_0x3ca028=this[_0x40b97c(0x466)][_0x40b97c(0x4f7)](_0x8dd2b6);if(_0x3ca028&&_0x409f86){const _0x53474c={..._0x3ca028,'range':_0x409f86};this[_0x40b97c(0x466)][_0x40b97c(0x441)](_0x8dd2b6,_0x53474c),_0x10ef5b(()=>{const _0x1dd6e0=_0x40b97c,_0x4f1ae0=this['_refRangeService'][_0x1dd6e0(0x308)](_0x409f86,_0x519ebf=>(_0x4f1ae0[_0x1dd6e0(0x4d2)](),_0x2f8ceb(_0x519ebf,_0x8dd2b6,_0x12fc89,_0x409f86)));_0x103aab['add'](_0x4f1ae0);});}return{'redos':[],'undos':[]};};this[_0xcfb336(0x466)]['forEach']((_0x449fb5,_0x4b0f8c)=>{const _0x241f22=_0xcfb336,{range:_0x38e2c9,sheetID:_0x511393}=_0x449fb5,_0x7a8492=this[_0x241f22(0x4db)][_0x241f22(0x308)](_0x38e2c9,_0x37c86c=>(_0x7a8492[_0x241f22(0x4d2)](),_0x2f8ceb(_0x37c86c,_0x4b0f8c,_0x511393,_0x38e2c9)));_0x103aab[_0x241f22(0x570)](_0x7a8492);});};this[_0x39c6bb(0x368)](_0x7884da(this['_cursorInfo$']['subscribe'](()=>{_0x3cb06e();})));}[_0x5bb7a4(0x55e)](){const _0x1027f2=_0x5bb7a4;var _0x34939a,_0x5b23d5;if(this[_0x1027f2(0x2e3)]=!0x0,((_0x34939a=this[_0x1027f2(0x21d)][_0x1027f2(0x1dd)]())==null?void 0x0:_0x34939a['getUnitId']())!==this[_0x1027f2(0x4c4)])return;const _0x33530f=(_0x5b23d5=this['_injector']['get'](_0x11487d)[_0x1027f2(0x171)]())==null?void 0x0:_0x5b23d5[0x0],_0x1725db=this[_0x1027f2(0x21d)][_0x1027f2(0x583)](_0x10a997['UNIVER_SHEET'])['getActiveSheet']();_0x33530f&&_0x1725db&&this[_0x1027f2(0x2ff)](_0x1725db[_0x1027f2(0x192)](),_0x33530f);}[_0x5bb7a4(0x534)](){const _0x5e6986=_0x5bb7a4;this[_0x5e6986(0x2e3)]=!0x1;}};rs=Uo([Be(0x2,_0x22a3e1(_0x4c5160)),Be(0x3,_0x22a3e1(bs)),Be(0x4,_0x22a3e1(Ne)),Be(0x5,_0x2e0534),Be(0x6,_0x1e58f0),Be(0x7,_0x22a3e1(_0x180f23))],rs);var xo=Object[_0x5bb7a4(0x42b)],Lo=Object['getOwnPropertyDescriptor'],$o=(_0x3dfd0b,_0x438922,_0x1a56b7,_0x3691a5)=>{const _0xf01ec0=_0x5bb7a4;for(var _0x390958=_0x3691a5>0x1?void 0x0:_0x3691a5?Lo(_0x438922,_0x1a56b7):_0x438922,_0x3acb40=_0x3dfd0b[_0xf01ec0(0x282)]-0x1,_0x3d92af;_0x3acb40>=0x0;_0x3acb40--)(_0x3d92af=_0x3dfd0b[_0x3acb40])&&(_0x390958=(_0x3691a5?_0x3d92af(_0x438922,_0x1a56b7,_0x390958):_0x3d92af(_0x390958))||_0x390958);return _0x3691a5&&_0x390958&&xo(_0x438922,_0x1a56b7,_0x390958),_0x390958;},$t=(_0x3d6510,_0x379f8f)=>(_0x28b568,_0x3dbfb8)=>_0x379f8f(_0x28b568,_0x3dbfb8,_0x3d6510);let Ve=class extends _0x177a9e{constructor(_0x25ebef,_0x20ec97,_0x30d000){const _0x2db7f7=_0x5bb7a4;super(),g(this,_0x2db7f7(0x37a),new Map()),g(this,'_entityInit$',new _0x1b179a()),(this[_0x2db7f7(0x21d)]=_0x25ebef,this[_0x2db7f7(0x338)]=_0x20ec97,this[_0x2db7f7(0x575)]=_0x30d000,this[_0x2db7f7(0x515)]());}[_0x5bb7a4(0x4d2)](){const _0x15ad81=_0x5bb7a4;super['dispose'](),this[_0x15ad81(0x3b4)][_0x15ad81(0x313)](),this[_0x15ad81(0x37a)][_0x15ad81(0x312)](_0x389025=>_0x389025[_0x15ad81(0x4d2)]());}['getCollabCursors$'](_0x42924e){const _0x5cf9c4=_0x5bb7a4;return this['_entities'][_0x5cf9c4(0x2e6)](_0x42924e)?this['_entities']['get'](_0x42924e)['cursorInfo$']:this[_0x5cf9c4(0x3b4)][_0x5cf9c4(0x3f1)](_0x3cb187(_0x571329=>_0x571329['unitID']===_0x42924e),_0x1e3e59(_0x363fc7=>_0x363fc7[_0x5cf9c4(0x52f)]));}[_0x5bb7a4(0x515)](){const _0x34d04c=_0x5bb7a4;this[_0x34d04c(0x21d)][_0x34d04c(0x4aa)](_0x10a997['UNIVER_SHEET'])[_0x34d04c(0x3f1)](_0x52fa59(this[_0x34d04c(0x492)]))[_0x34d04c(0x519)](async _0x15947d=>{const _0x1bd17c=_0x34d04c,_0x48e654=_0x15947d['getUnitId'](),_0x16584a=await this[_0x1bd17c(0x4c3)](_0x48e654);this[_0x1bd17c(0x3b4)][_0x1bd17c(0x3ff)](_0x16584a),this[_0x1bd17c(0x37a)][_0x1bd17c(0x441)](_0x48e654,_0x16584a);}),this[_0x34d04c(0x21d)][_0x34d04c(0x4aa)](_0x10a997[_0x34d04c(0x172)])[_0x34d04c(0x3f1)](_0x52fa59(this['dispose$']))[_0x34d04c(0x3f1)](_0x3cb187(_0xca1fba=>!_0xca1fba[_0x34d04c(0x322)]()[_0x34d04c(0x418)]('__')))[_0x34d04c(0x519)](async _0x40b74c=>{const _0x39d475=_0x34d04c,_0x4668c7=_0x40b74c[_0x39d475(0x322)](),_0x52892d=await this[_0x39d475(0x474)](_0x4668c7);this[_0x39d475(0x3b4)][_0x39d475(0x3ff)](_0x52892d),this[_0x39d475(0x37a)]['set'](_0x4668c7,_0x52892d);}),_0x4e4735(this['_univerInstanceService'][_0x34d04c(0x39a)](_0x10a997[_0x34d04c(0x172)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x10a997[_0x34d04c(0x55b)]))['pipe'](_0x52fa59(this[_0x34d04c(0x492)]))[_0x34d04c(0x519)](_0x4210f3=>{const _0x2f9c8d=_0x34d04c,_0x4f2f7e=_0x4210f3[_0x2f9c8d(0x322)](),_0x4a03a1=this['_entities'][_0x2f9c8d(0x4f7)](_0x4f2f7e);_0x4a03a1&&(_0x4a03a1[_0x2f9c8d(0x4d2)](),this[_0x2f9c8d(0x37a)][_0x2f9c8d(0x3d8)](_0x4f2f7e));});}async['_startSheetCollabCursor'](_0x23395f){const _0x1b5474=_0x5bb7a4,_0x23de9f=await this[_0x1b5474(0x575)]['requireSession'](_0x23395f),_0x1dd677=this[_0x1b5474(0x338)][_0x1b5474(0x30c)](rs,_0x23395f,_0x23de9f);return _0x1dd677['init'](),_0x1dd677;}async['_startDocCollabCursor'](_0x2afd6a){const _0x2920ba=_0x5bb7a4,_0x2fd856=await this[_0x2920ba(0x575)][_0x2920ba(0x2c7)](_0x2afd6a),_0x324109=this[_0x2920ba(0x338)][_0x2920ba(0x30c)](ns,_0x2afd6a,_0x2fd856);return _0x324109[_0x2920ba(0x1d6)](),_0x324109;}};Ve=$o([$t(0x0,_0x2e0534),$t(0x1,_0x22a3e1(_0x4c5160)),$t(0x2,_0x22a3e1(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,Ho=0x5;function jo(_0x3913c0,_0x5ba156){const _0x869cc5=_0x5bb7a4;let {radius:_0x1bcf54,width:_0x18f252,height:_0xf50ddb}=_0x5ba156;_0x1bcf54=_0x1bcf54!=null?_0x1bcf54:0x0,_0x18f252=_0x18f252!=null?_0x18f252:0x1e,_0xf50ddb=_0xf50ddb!=null?_0xf50ddb:0x1e;let _0x1ce913=0x0,_0x25036f=0x0,_0x499977=0x0;_0x1ce913=_0x25036f=_0x499977=Math[_0x869cc5(0x443)](_0x1bcf54,_0x18f252/0x2,_0xf50ddb/0x2),_0x3913c0[_0x869cc5(0x336)](),_0x3913c0[_0x869cc5(0x4d4)](_0x1ce913,0x0),_0x3913c0[_0x869cc5(0x463)](_0x18f252-_0x25036f,0x0),_0x3913c0[_0x869cc5(0x449)](_0x18f252-_0x25036f,_0x25036f,_0x25036f,Math['PI']*0x3/0x2,0x0,!0x1),_0x3913c0[_0x869cc5(0x463)](_0x18f252,_0xf50ddb-_0x499977),_0x3913c0['arc'](_0x18f252-_0x499977,_0xf50ddb-_0x499977,_0x499977,0x0,Math['PI']/0x2,!0x1),_0x3913c0[_0x869cc5(0x463)](0x0,_0xf50ddb),_0x3913c0[_0x869cc5(0x463)](0x0,_0x1ce913),_0x3913c0[_0x869cc5(0x449)](_0x1ce913,_0x1ce913,_0x1ce913,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3913c0[_0x869cc5(0x3f2)](),_0x5ba156['fill']&&(_0x3913c0[_0x869cc5(0x33e)](),_0x3913c0[_0x869cc5(0x434)]=_0x5ba156[_0x869cc5(0x31c)],_0x5ba156[_0x869cc5(0x385)]===_0x869cc5(0x4ea)?_0x3913c0[_0x869cc5(0x31c)](_0x869cc5(0x4ea)):_0x3913c0[_0x869cc5(0x31c)](),_0x3913c0[_0x869cc5(0x574)]());}class yt extends _0x4b8d3f{constructor(_0x4a0347,_0x537e57){const _0xaeffb4=_0x5bb7a4;super(_0x4a0347,_0x537e57),g(this,_0xaeffb4(0x203)),g(this,_0xaeffb4(0x353)),(this['color']=_0x537e57==null?void 0x0:_0x537e57[_0xaeffb4(0x203)],this['text']=_0x537e57==null?void 0x0:_0x537e57[_0xaeffb4(0x353)]);}static[_0x5bb7a4(0x202)](_0xeeb684,_0x62adbf){const _0x95e8df=_0x5bb7a4,{text:_0x54a123,color:_0x476cda}=_0x62adbf;_0xeeb684[_0x95e8df(0x33e)](),_0xeeb684[_0x95e8df(0x3db)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0xf8a811=_0xeeb684[_0x95e8df(0x38a)](_0x54a123)['width'],_0x337eb6=Math[_0x95e8df(0x443)](_0xf8a811+0x2*Ht,Ys);jo(_0xeeb684,{'height':nt,'radius':0x4,'width':_0x337eb6,'fill':_0x476cda,'evented':!0x1}),_0xeeb684[_0x95e8df(0x434)]=_0x95e8df(0x250);const _0x24fe7c=Ht,_0x75454b=nt-Ho,_0x214369=Ys-0x2*Ht;if(_0xf8a811>_0x214369){let _0x4a1f1f='',_0x2c0145=0x0;for(const _0x2270dd of _0x54a123){const _0x116813=_0xeeb684[_0x95e8df(0x38a)](_0x2270dd)['width'];if(_0x2c0145+_0x116813<=_0x214369-_0xeeb684[_0x95e8df(0x38a)](_0x95e8df(0x254))['width'])_0x4a1f1f+=_0x2270dd,_0x2c0145+=_0x116813;else{_0x4a1f1f+=_0x95e8df(0x254);break;}}_0xeeb684[_0x95e8df(0x1de)](_0x4a1f1f,_0x24fe7c,_0x75454b);}else _0xeeb684['fillText'](_0x54a123,_0x24fe7c,_0x75454b);_0xeeb684[_0x95e8df(0x574)]();}[_0x5bb7a4(0x3c7)](_0x414f40){yt['drawWith'](_0x414f40,this);}}const jt=_0x5bb7a4(0x53c),Bo='collab-text-range-',ko=_0x5bb7a4(0x4fd),Je=0x6,Wo=1.5,Bt=0x4,Fo=1.5,Vo=_0x5bb7a4(0x2de);class Ks{constructor(_0x5d0310,_0x5f10ef,_0x3512b1,_0x265d12){const _0x167a7e=_0x5bb7a4;g(this,_0x167a7e(0x381),[]),g(this,_0x167a7e(0x4c6),null),g(this,_0x167a7e(0x473),null),g(this,_0x167a7e(0x51f),null),g(this,'_hideTimer',null),g(this,'_eventUnsubscribe',null),(this[_0x167a7e(0x2b9)]=_0x5d0310,this[_0x167a7e(0x4d0)]=_0x5f10ef,this['_docSkeleton']=_0x3512b1,this['_document']=_0x265d12,this[_0x167a7e(0x21b)]());}set[_0x5bb7a4(0x363)](_0x1d85b4){const _0x4dc5cf=_0x5bb7a4;_0x1d85b4?(this[_0x4dc5cf(0x51f)]&&this[_0x4dc5cf(0x51f)]['hide'](),this[_0x4dc5cf(0x473)]&&this['_textBubble'][_0x4dc5cf(0x18e)]()):(this[_0x4dc5cf(0x51f)]&&this[_0x4dc5cf(0x51f)][_0x4dc5cf(0x18e)](),this[_0x4dc5cf(0x473)]&&this[_0x4dc5cf(0x473)]['hide']());}[_0x5bb7a4(0x4d2)](){const _0x10a3a9=_0x5bb7a4;for(const _0x4e227c of this[_0x10a3a9(0x381)])_0x4e227c[_0x10a3a9(0x4d2)]();this[_0x10a3a9(0x473)]&&this[_0x10a3a9(0x473)]['dispose'](),this[_0x10a3a9(0x51f)]&&this[_0x10a3a9(0x51f)][_0x10a3a9(0x4d2)](),this['_anchor']&&this[_0x10a3a9(0x4c6)][_0x10a3a9(0x4d2)](),this[_0x10a3a9(0x530)]&&this[_0x10a3a9(0x530)]();}[_0x5bb7a4(0x21b)](){const _0x5ce196=_0x5bb7a4;var _0x3c3304;const {_docSkeleton:_0x38a756,_document:_0x5c57d0}=this,{color:_0x530b50,name:_0x1babbc,ranges:_0x2cfdf3}=this[_0x5ce196(0x2b9)],_0x4b5f87=_0x5c57d0[_0x5ce196(0x1a7)](),{docsLeft:_0x3aba6d,docsTop:_0x1494ca}=_0x4b5f87,_0x402c4c=new _0x1e2d34(_0x4b5f87,_0x38a756);for(const {startOffset:_0x2d93b5,endOffset:_0x1fa160,rangeType:_0x2bd11b,segmentId:_0x42ba0e,segmentPage:_0x43dc4a,collapsed:_0x39951b,isActive:_0x102b7f}of _0x2cfdf3){const _0x56f8f7=_0x38a756['findNodePositionByCharIndex'](_0x2d93b5,!0x0,_0x42ba0e,_0x43dc4a);let _0xcd1851=_0x38a756[_0x5ce196(0x199)](_0x1fa160,!0x0,_0x42ba0e,_0x43dc4a);if(_0xcd1851==null&&(_0xcd1851=_0x38a756[_0x5ce196(0x199)](_0x1fa160-0x1,!0x1,_0x42ba0e,_0x43dc4a)),_0x102b7f){const {contentBoxPointGroup:_0x146e60}=_0x402c4c['getRangePointData'](_0xcd1851,_0xcd1851);if(_0x146e60[_0x5ce196(0x282)]===0x0)continue;this[_0x5ce196(0x4b4)](_0x530b50,_0x146e60,_0x3aba6d,_0x1494ca,_0x1babbc),this[_0x5ce196(0x530)]=this[_0x5ce196(0x46c)]();}if(_0x56f8f7&&_0xcd1851){if(_0x2bd11b===_0x569c02[_0x5ce196(0x503)]){const _0x2e8197=new _0x2b0059(_0x4b5f87,_0x38a756),{pointGroup:_0x2bef27}=(_0x3c3304=_0x2e8197[_0x5ce196(0x486)](_0x56f8f7,_0xcd1851))!=null?_0x3c3304:{};if(_0x2bef27==null||_0x2bef27[_0x5ce196(0x282)]===0x0)continue;this[_0x5ce196(0x4d7)](_0x530b50,_0x2bef27,_0x3aba6d,_0x1494ca);}else{if(!_0x39951b){const {borderBoxPointGroup:_0x262f4b}=_0x402c4c['getRangePointData'](_0x56f8f7,_0xcd1851);if(_0x262f4b[_0x5ce196(0x282)]===0x0)continue;this['_drawTextRange'](_0x530b50,_0x262f4b,_0x3aba6d,_0x1494ca);}}}}}[_0x5bb7a4(0x4b4)](_0xb77195,_0x12a0e2,_0x2c4945,_0x5942c5,_0x5b3215){const _0x75c254=_0x5bb7a4,_0x362d6b=this[_0x75c254(0x514)](_0x12a0e2),{left:_0xd25268,top:_0x41018a,height:_0x48ea1b}=_0x362d6b,_0x8115ae=this['_getScale'](),_0x5bb250=Fo/_0x8115ae,_0x5bd119=new _0x4214fc(jt+_0x41d014[_0x75c254(0x4d1)](Je),{'left':_0xd25268+_0x2c4945-_0x5bb250,'top':_0x41018a+_0x5942c5,'height':_0x48ea1b,'width':Wo,'fill':_0xb77195||_0x140980(_0x593100[_0x75c254(0x1c2)],0x0),'strokeWidth':_0x5bb250,'stroke':Vo,'evented':!0x0});this[_0x75c254(0x4c6)]=_0x5bd119,this[_0x75c254(0x4d0)]['addObject'](_0x5bd119,_0x417fa9);const _0x445739=new _0x4214fc(jt+_0x41d014['generateRandomId'](Je),{'left':_0xd25268+_0x2c4945-_0x5bb250,'top':_0x41018a+_0x5942c5-Bt/0x2,'height':Bt,'width':Bt,'fill':_0xb77195||_0x140980(_0x593100[_0x75c254(0x1c2)],0x0),'strokeWidth':0x0,'stroke':_0xb77195||_0x140980(_0x593100['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x445739,this['_scene'][_0x75c254(0x45b)](_0x445739,_0x417fa9);const _0x1ec620=new yt(jt+_0x41d014['generateRandomId'](Je),{'left':_0xd25268+_0x2c4945-_0x5bb250,'top':_0x41018a+_0x5942c5-nt,'text':_0x5b3215,'color':_0xb77195});this[_0x75c254(0x473)]=_0x1ec620,this[_0x75c254(0x4d0)][_0x75c254(0x45b)](_0x1ec620,_0x417fa9),this['_hover']=!0x1;}[_0x5bb7a4(0x46c)](){const _0x52149c=_0x5bb7a4,_0x15ad9f=this['_anchor'][_0x52149c(0x26a)][_0x52149c(0x3b2)](()=>{const _0x62338c=_0x52149c;this[_0x62338c(0x363)]=!0x0;}),_0x4e478b=this[_0x52149c(0x4c6)][_0x52149c(0x33c)][_0x52149c(0x3b2)](()=>{const _0x2b812b=_0x52149c;this[_0x2b812b(0x2f8)]&&clearTimeout(this[_0x2b812b(0x2f8)]),this[_0x2b812b(0x2f8)]=setTimeout(()=>{const _0x23d42d=_0x2b812b;this[_0x23d42d(0x363)]=!0x1;},0x7d0);});return()=>{const _0x2a8a60=_0x52149c;_0x15ad9f[_0x2a8a60(0x1e1)](),_0x4e478b[_0x2a8a60(0x1e1)]();};}[_0x5bb7a4(0x228)](_0x10526e,_0x410434,_0x208d52,_0xc9503b){const _0x542d38=_0x5bb7a4,_0x1892b8=new _0x589dec(_0x10526e)['setAlpha'](0.2)[_0x542d38(0x3cd)](),_0x32c9bf=new _0x18606b(Bo+_0x41d014[_0x542d38(0x4d1)](Je),{'pointsGroup':_0x410434,'fill':_0x1892b8||_0x140980(_0x593100[_0x542d38(0x1c2)],0.2),'left':_0x208d52,'top':_0xc9503b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x542d38(0x381)][_0x542d38(0x433)](_0x32c9bf),this[_0x542d38(0x4d0)][_0x542d38(0x45b)](_0x32c9bf,_0x417fa9);}[_0x5bb7a4(0x4d7)](_0x2256d4,_0x206c4e,_0x32457f,_0x5035a1){const _0x487485=_0x5bb7a4,_0x3dc950=new _0x589dec(_0x2256d4)[_0x487485(0x350)](0.2)[_0x487485(0x3cd)](),_0x3de543=new _0x18606b(ko+_0x41d014[_0x487485(0x4d1)](Je),{'pointsGroup':_0x206c4e,'fill':_0x3dc950||_0x140980(_0x593100[_0x487485(0x1c2)],0.2),'left':_0x32457f,'top':_0x5035a1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x487485(0x381)][_0x487485(0x433)](_0x3de543),this[_0x487485(0x4d0)][_0x487485(0x45b)](_0x3de543,_0x417fa9);}[_0x5bb7a4(0x514)](_0x37d692){const _0x361f39=_0x37d692[0x0],_0x343179=_0x361f39[0x0],_0x2cbee5=_0x361f39[0x2],{x:_0x3ae4ee,y:_0xa6928f}=_0x343179,{x:_0xfc65c4,y:_0x53e145}=_0x2cbee5;return{'left':_0x3ae4ee,'top':_0xa6928f,'width':_0xfc65c4-_0x3ae4ee,'height':_0x53e145-_0xa6928f};}[_0x5bb7a4(0x25c)](){const _0x3ad69c=_0x5bb7a4,{scaleX:_0x4e94ce,scaleY:_0x55bc90}=this['_scene'][_0x3ad69c(0x1c0)]();return Math[_0x3ad69c(0x173)](_0x4e94ce,_0x55bc90);}}var Go=Object['defineProperty'],Yo=Object[_0x5bb7a4(0x4e4)],Ko=(_0xf18326,_0x572cb6,_0x303802,_0x757047)=>{for(var _0x5a1c5f=_0x757047>0x1?void 0x0:_0x757047?Yo(_0x572cb6,_0x303802):_0x572cb6,_0x507f21=_0xf18326['length']-0x1,_0x5fef69;_0x507f21>=0x0;_0x507f21--)(_0x5fef69=_0xf18326[_0x507f21])&&(_0x5a1c5f=(_0x757047?_0x5fef69(_0x572cb6,_0x303802,_0x5a1c5f):_0x5fef69(_0x5a1c5f))||_0x5a1c5f);return _0x757047&&_0x5a1c5f&&Go(_0x572cb6,_0x303802,_0x5a1c5f),_0x5a1c5f;},ct=(_0x4d096b,_0x5c7fbe)=>(_0x5a4b0d,_0x56d7d0)=>_0x5c7fbe(_0x5a4b0d,_0x56d7d0,_0x4d096b);let os=class extends _0x177a9e{constructor(_0x503d59,_0x4f60e0,_0x1fdcd7,_0x210a56,_0x122f26){const _0x2dfb0f=_0x5bb7a4;super(),g(this,_0x2dfb0f(0x44a),[]),g(this,'_cursors',[]),(this[_0x2dfb0f(0x265)]=_0x503d59,this[_0x2dfb0f(0x4ee)]=_0x4f60e0,this[_0x2dfb0f(0x334)]=_0x1fdcd7,this[_0x2dfb0f(0x53f)]=_0x210a56,this[_0x2dfb0f(0x2b0)]=_0x122f26,this[_0x2dfb0f(0x515)]());}[_0x5bb7a4(0x515)](){const _0x281e9e=_0x5bb7a4,_0x14d274=this['_context']['unitId'],_0x4ce9ab=this[_0x281e9e(0x4ee)];this[_0x281e9e(0x368)](_0x4753e6([this['_collabCursorController']['getCollabCursors$'](_0x14d274),this[_0x281e9e(0x2b0)][_0x281e9e(0x356)]])[_0x281e9e(0x3f1)](_0x17141f(([_0x3350ca,_0x393eaa])=>({'skeleton':_0x4ce9ab['getSkeleton'](),'cursors':[..._0x3350ca[_0x281e9e(0x2d6)]()][_0x281e9e(0x401)](_0x2598b6=>({..._0x2598b6,'color':_0x393eaa[_0x2598b6[_0x281e9e(0x203)]]}))})))[_0x281e9e(0x519)](_0x410027=>{const _0x414021=_0x281e9e;if(this[_0x414021(0x2ec)](),_0x410027){const {skeleton:_0x403dfb,cursors:_0x5363e3}=_0x410027;this[_0x414021(0x52a)](_0x403dfb,_0x5363e3);}})),this[_0x281e9e(0x45c)](),this[_0x281e9e(0x354)]();}[_0x5bb7a4(0x52a)](_0x2294e2,_0x5c3f10){const _0x299820=_0x5bb7a4,{scene:_0x4c1995,mainComponent:_0x149da9}=this[_0x299820(0x265)],_0x550d15=_0x5c3f10[_0x299820(0x2c9)](_0x317935=>new Ks(_0x317935,_0x4c1995,_0x2294e2,_0x149da9));this[_0x299820(0x44a)]=_0x550d15,this['_cursors']=_0x5c3f10;}[_0x5bb7a4(0x488)](){const _0x213620=_0x5bb7a4;this[_0x213620(0x2ec)]();const {scene:_0x5a0d98,mainComponent:_0x5f3117}=this[_0x213620(0x265)],_0x978b86=this['_docSkeletonManagerService'][_0x213620(0x535)](),_0x7d98d9=this['_cursors']['map'](_0x1d9a98=>new Ks(_0x1d9a98,_0x5a0d98,_0x978b86,_0x5f3117));this[_0x213620(0x44a)]=_0x7d98d9;}['_removeCollabCursors'](){const _0x20e201=_0x5bb7a4;this[_0x20e201(0x44a)][_0x20e201(0x312)](_0xf68f90=>_0xf68f90[_0x20e201(0x4d2)]()),this[_0x20e201(0x44a)]=[];}[_0x5bb7a4(0x354)](){const _0x12bed0=_0x5bb7a4,_0x876d84=[_0x595dd4['id']];this[_0x12bed0(0x368)](this['_commandService'][_0x12bed0(0x498)](_0x3bc9dc=>{const _0xc2519a=_0x12bed0;_0x876d84[_0xc2519a(0x21c)](_0x3bc9dc['id'])&&_0x3bc9dc[_0xc2519a(0x3d9)][_0xc2519a(0x55d)]===this[_0xc2519a(0x265)][_0xc2519a(0x55d)]&&this[_0xc2519a(0x488)]();}));}[_0x5bb7a4(0x45c)](){const _0x32da2d=_0x5bb7a4;this[_0x32da2d(0x368)](_0x3a7a27(this[_0x32da2d(0x265)][_0x32da2d(0x48d)][_0x32da2d(0x3d7)])[_0x32da2d(0x3f1)](_0x5a0a20(_0x39d97f=>_0x39d97f['type']===_0x2c9396['resize']),_0x3fef40(0x10))[_0x32da2d(0x519)](()=>{const _0x3ab375=_0x32da2d;this[_0x3ab375(0x488)]();}));}};os=Ko([ct(0x1,_0x22a3e1(_0x386ab1)),ct(0x2,_0x22a3e1(Ve)),ct(0x3,_0x1e58f0),ct(0x4,_0x22a3e1(_0x58be32))],os);const zo=0x1,qo=1.5;class Xo extends _0x4b8d3f{constructor(_0xa6a5a3,_0x3f913b){const _0x1ad06b=_0x5bb7a4;super(_0xa6a5a3,_0x3f913b),g(this,_0x1ad06b(0x4e3)),g(this,'_hovered',!0x1),g(this,_0x1ad06b(0x2d4)),g(this,'_name',''),g(this,_0x1ad06b(0x278),'top'),g(this,_0x1ad06b(0x2ea)),(_0x3f913b&&this[_0x1ad06b(0x357)](_0x3f913b),this[_0x1ad06b(0x26a)][_0x1ad06b(0x3b2)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x1ad06b(0x3b2)](()=>this[_0x1ad06b(0x357)]({'hovered':!0x1})));}[_0x5bb7a4(0x357)](_0x356795){const _0x48bd70=_0x5bb7a4;var _0x7acc20,_0x1b4949,_0x5dfa44,_0x2e45d2,_0x576bfa,_0x5504f7;this[_0x48bd70(0x4e3)]=(_0x7acc20=_0x356795[_0x48bd70(0x203)])!=null?_0x7acc20:this['_color'],this[_0x48bd70(0x2d9)]=(_0x1b4949=_0x356795[_0x48bd70(0x3b7)])!=null?_0x1b4949:this['_hovered'],this['_range']=(_0x5dfa44=_0x356795[_0x48bd70(0x2da)])!=null?_0x5dfa44:this['_range'],this[_0x48bd70(0x527)]=(_0x2e45d2=_0x356795[_0x48bd70(0x408)])!=null?_0x2e45d2:this[_0x48bd70(0x527)],this[_0x48bd70(0x278)]=(_0x576bfa=_0x356795['labelPosition'])!=null?_0x576bfa:this[_0x48bd70(0x278)],this['_backgroundColor']=(_0x5504f7=_0x356795[_0x48bd70(0x244)])!=null?_0x5504f7:this[_0x48bd70(0x2ea)],this['transformByState']({'width':_0x356795[_0x48bd70(0x1ea)],'height':_0x356795[_0x48bd70(0x38f)]});}[_0x5bb7a4(0x32a)](_0x389391){const _0x4f7103=_0x5bb7a4,{row:_0x9f3475,column:_0x15d5cc}=_0x389391;if(_0x9f3475>=this['_range']['startRow']&&_0x9f3475<=this[_0x4f7103(0x2d4)]['endRow']&&_0x15d5cc>=this[_0x4f7103(0x2d4)][_0x4f7103(0x249)]&&_0x15d5cc<=this[_0x4f7103(0x2d4)][_0x4f7103(0x290)]){this[_0x4f7103(0x357)]({'hovered':!0x0});return;}this[_0x4f7103(0x357)]({'hovered':!0x1});}[_0x5bb7a4(0x3ed)](_0x49b6c1){return!0x1;}['_draw'](_0x3cc42a){const _0x588a1e=_0x5bb7a4;_0x4214fc[_0x588a1e(0x202)](_0x3cc42a,{'width':this['width'],'height':this[_0x588a1e(0x38f)],'strokeWidth':qo,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x588a1e(0x2d9)]&&(_0x3cc42a['save'](),_0x3cc42a['transform'](0x1,0x0,0x0,0x1,this[_0x588a1e(0x1ea)],this['_labelPosition']===_0x588a1e(0x1aa)?0x0:-nt),yt[_0x588a1e(0x202)](_0x3cc42a,{'text':this[_0x588a1e(0x527)],'color':this[_0x588a1e(0x4e3)]}),_0x3cc42a['restore']());}}var Jo=Object['defineProperty'],Zo=Object[_0x5bb7a4(0x4e4)],Qo=(_0x1f9582,_0x1980f6,_0x5304f7,_0x31bfe5)=>{const _0x6fdabd=_0x5bb7a4;for(var _0x4e053f=_0x31bfe5>0x1?void 0x0:_0x31bfe5?Zo(_0x1980f6,_0x5304f7):_0x1980f6,_0x1a85ab=_0x1f9582[_0x6fdabd(0x282)]-0x1,_0x2da638;_0x1a85ab>=0x0;_0x1a85ab--)(_0x2da638=_0x1f9582[_0x1a85ab])&&(_0x4e053f=(_0x31bfe5?_0x2da638(_0x1980f6,_0x5304f7,_0x4e053f):_0x2da638(_0x4e053f))||_0x4e053f);return _0x31bfe5&&_0x4e053f&&Jo(_0x1980f6,_0x5304f7,_0x4e053f),_0x4e053f;},kt=(_0x27ddcd,_0x5ef171)=>(_0x4bd639,_0x2b76ee)=>_0x5ef171(_0x4bd639,_0x2b76ee,_0x27ddcd);const ea=0x1389;let as=class extends _0x177a9e{constructor(_0x2a7c4f,_0x1bf540,_0x5f0fad,_0x346ef4){const _0x428baa=_0x5bb7a4;super(),g(this,_0x428baa(0x1cc),new Set()),g(this,'_lastPointer',null),(this[_0x428baa(0x265)]=_0x2a7c4f,this[_0x428baa(0x1e9)]=_0x1bf540,this['_collabCursorController']=_0x5f0fad,this[_0x428baa(0x2b0)]=_0x346ef4,this[_0x428baa(0x515)]());}[_0x5bb7a4(0x515)](){const _0x2b0769=_0x5bb7a4;this[_0x2b0769(0x1e9)][_0x2b0769(0x436)]['pipe'](_0x216286(this[_0x2b0769(0x492)]),_0x58ad60(_0x1abddb=>{const _0x1afc96=_0x2b0769;if(_0x1abddb){const _0xff6a8f=_0x1abddb['sheetId'];return _0x4753e6(this['_collabCursorController'][_0x1afc96(0x198)](this[_0x1afc96(0x265)]['unitId']),this[_0x1afc96(0x2b0)][_0x1afc96(0x356)])[_0x1afc96(0x3f1)](_0x17141f(([_0x18fd07,_0x424239])=>{const _0x5d8696=_0x1afc96,_0x49b68d=new Map();return _0x18fd07[_0x5d8696(0x312)]((_0x90ead4,_0x5cea7b)=>{const _0x5336dc=_0x5d8696;if(_0x90ead4[_0x5336dc(0x326)]===_0xff6a8f){const _0x4ff1ee={..._0x90ead4};_0x4ff1ee[_0x5336dc(0x203)]=_0x424239[_0x90ead4[_0x5336dc(0x203)]],_0x49b68d[_0x5336dc(0x441)](_0x5cea7b,_0x4ff1ee);}}),{'skeleton':_0x1abddb,'cursors':_0x49b68d};}));}return _0x52cb6f({'skeleton':null,'cursors':new Map()});}))[_0x2b0769(0x519)](({skeleton:_0x463c8b,cursors:_0xc1fa53})=>{const _0x496807=_0x2b0769;this[_0x496807(0x2ec)](),_0x463c8b&&this[_0x496807(0x52a)](_0x463c8b,_0xc1fa53);}),this[_0x2b0769(0x1e9)][_0x2b0769(0x436)][_0x2b0769(0x519)](_0x1d71cc=>{const _0x2811b1=_0x2b0769;if(_0x1d71cc==null)return;const {skeleton:_0x41f81e}=_0x1d71cc,{scene:_0x10c8a6}=this[_0x2811b1(0x265)];_0x10c8a6[_0x2811b1(0x565)][_0x2811b1(0x3b2)](_0x47386f(_0x4f9e43=>{const _0x1cb191=_0x2811b1;var _0xc66290,_0x533132;const {offsetX:_0x299efb,offsetY:_0x15b925}=_0x4f9e43,{x:_0x3591d8,y:_0x4efcdf}=_0x10c8a6[_0x1cb191(0x31d)](_0x3af8ad[_0x1cb191(0x20b)]([_0x299efb,_0x15b925])),{scaleX:_0x89457d,scaleY:_0x4e107f}=_0x10c8a6[_0x1cb191(0x1c0)](),_0x36197b=_0x10c8a6[_0x1cb191(0x20c)](_0x4bafe5[_0x1cb191(0x4cb)]),_0x5b1455=_0x10c8a6[_0x1cb191(0x3df)](_0x3af8ad['FromArray']([_0x3591d8,_0x4efcdf]),_0x36197b),_0x2d000b=_0x41f81e[_0x1cb191(0x3cf)](_0x299efb,_0x15b925,_0x89457d,_0x4e107f,_0x5b1455);((_0xc66290=this[_0x1cb191(0x4d9)])==null?void 0x0:_0xc66290[_0x1cb191(0x396)])===_0x2d000b[_0x1cb191(0x396)]&&((_0x533132=this[_0x1cb191(0x4d9)])==null?void 0x0:_0x533132[_0x1cb191(0x53e)])===_0x2d000b[_0x1cb191(0x53e)]||this[_0x1cb191(0x1cc)]['forEach'](_0x2fff86=>{_0x2fff86['onMouseMove'](_0x2d000b);});},0x64));});}['_updateCollabCursors'](_0x1de0e6,_0x367334){const _0xdabc75=_0x5bb7a4;var _0x3dacef;const _0x283ea9=(_0x3dacef=this[_0xdabc75(0x1e9)]['getCurrent']())==null?void 0x0:_0x3dacef['skeleton'];if(!_0x283ea9)return;const _0x4377ea=this['_getSheetObject']();if(!_0x4377ea)return;this[_0xdabc75(0x1cc)]['forEach'](_0x340c38=>{const _0x2d7e0a=_0xdabc75;_0x340c38[_0x2d7e0a(0x44b)]();});const {scene:_0x3ae7ca}=_0x4377ea,_0x31cc2c=ta(Array[_0xdabc75(0x348)](_0x367334['values']()))[_0xdabc75(0x2c9)](_0x510c4a=>{const _0xad36a1=_0xdabc75,{color:_0x41b5ee,range:_0x449d1a,name:_0x58104b,selection:_0x2c382d,sheetID:_0x311a43}=_0x510c4a,{startColumn:_0x1c9e43,startRow:_0xa5f115,endColumn:_0x2eb382,endRow:_0x391a32}=_0x449d1a,_0x97121a=_0x5a0e3d(_0xa5f115,_0x1c9e43,_0x3ae7ca,_0x283ea9),_0x473595=_0x5a0e3d(_0x391a32,_0x2eb382,_0x3ae7ca,_0x283ea9),{columnHeaderHeightAndMarginTop:_0x4e1168}=_0x283ea9,{startX:_0x3a6319,startY:_0x19b4d7}=_0x97121a,{endX:_0xc67a61,endY:_0x1b2e27}=_0x473595,_0x2076ba=_0xc67a61-_0x3a6319,_0x450ede=_0x1b2e27-_0x19b4d7,_0xc95cd9={'labelPosition':_0x19b4d7-_0x4e1168>=nt?_0xad36a1(0x235):_0xad36a1(0x1aa),'sheetID':_0x311a43,'range':_0x449d1a,'color':_0x41b5ee,'name':_0x58104b,'selection':_0x2c382d,'left':_0x3a6319,'top':_0x19b4d7,'width':_0x2076ba,'height':_0x450ede,'evented':!0x1,'zIndex':ea};return new Xo(_0x58104b,_0xc95cd9);});_0x3ae7ca[_0xdabc75(0x1c8)](_0x31cc2c,zo),this[_0xdabc75(0x1cc)]=new Set(_0x31cc2c);}['_removeCollabCursors'](){const _0x8fe7c9=_0x5bb7a4;var _0x143fe2;(_0x143fe2=this[_0x8fe7c9(0x1cc)])==null||_0x143fe2[_0x8fe7c9(0x312)](_0x2d340b=>_0x2d340b[_0x8fe7c9(0x4d2)]());}[_0x5bb7a4(0x370)](){const _0x4ea631=_0x5bb7a4;return _0x1d2c70(this[_0x4ea631(0x265)][_0x4ea631(0x243)],this[_0x4ea631(0x265)]);}};as=Qo([kt(0x1,_0x22a3e1(_0x328715)),kt(0x2,_0x22a3e1(Ve)),kt(0x3,_0x22a3e1(_0x58be32))],as);function ta(_0x40e28a){const _0x5626f3=new Map();return _0x40e28a['forEach'](_0x589af5=>{const _0x573b8f=_0x4081;if(_0x5626f3['has'](_0x589af5[_0x573b8f(0x24a)])){const _0x1a96d1=_0x5626f3[_0x573b8f(0x4f7)](_0x589af5[_0x573b8f(0x24a)]);_0x1a96d1[_0x573b8f(0x408)]+=',\x20'+_0x589af5[_0x573b8f(0x408)];}else _0x5626f3[_0x573b8f(0x441)](_0x589af5['selection'],_0x589af5);}),Array['from'](_0x5626f3['values']());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x2154fa){const _0x1e9693=_0x5bb7a4;return _0x2154fa&&_0x2154fa[_0x1e9693(0x206)]&&Object[_0x1e9693(0x423)]['hasOwnProperty']['call'](_0x2154fa,'default')?_0x2154fa[_0x1e9693(0x458)]:_0x2154fa;}var Mi={'exports':{}},Ot={},sa=_0x3fd601,ia=Symbol[_0x5bb7a4(0x2b1)](_0x5bb7a4(0x41e)),na=Symbol['for'](_0x5bb7a4(0x317)),ra=Object[_0x5bb7a4(0x423)][_0x5bb7a4(0x440)],oa=sa[_0x5bb7a4(0x3a0)]['ReactCurrentOwner'],aa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x4081(_0x914906,_0x47fb9a){const _0x27da31=_0x27da();return _0x4081=function(_0x408197,_0x1a5ddf){_0x408197=_0x408197-0x163;let _0x5cf0f7=_0x27da31[_0x408197];return _0x5cf0f7;},_0x4081(_0x914906,_0x47fb9a);}function xi(_0x2275c3,_0x24211e,_0xc86925){const _0x8de65b=_0x5bb7a4;var _0x3157a0,_0x572745={},_0x588a4f=null,_0x47ef96=null;_0xc86925!==void 0x0&&(_0x588a4f=''+_0xc86925),_0x24211e[_0x8de65b(0x275)]!==void 0x0&&(_0x588a4f=''+_0x24211e['key']),_0x24211e[_0x8de65b(0x3a8)]!==void 0x0&&(_0x47ef96=_0x24211e[_0x8de65b(0x3a8)]);for(_0x3157a0 in _0x24211e)ra[_0x8de65b(0x1f6)](_0x24211e,_0x3157a0)&&!aa[_0x8de65b(0x440)](_0x3157a0)&&(_0x572745[_0x3157a0]=_0x24211e[_0x3157a0]);if(_0x2275c3&&_0x2275c3[_0x8de65b(0x346)]){for(_0x3157a0 in(_0x24211e=_0x2275c3['defaultProps'],_0x24211e))_0x572745[_0x3157a0]===void 0x0&&(_0x572745[_0x3157a0]=_0x24211e[_0x3157a0]);}return{'$$typeof':ia,'type':_0x2275c3,'key':_0x588a4f,'ref':_0x47ef96,'props':_0x572745,'_owner':oa[_0x8de65b(0x51a)]};}Ot[_0x5bb7a4(0x1d7)]=na,Ot[_0x5bb7a4(0x2fc)]=xi,Ot[_0x5bb7a4(0x28f)]=xi,Mi[_0x5bb7a4(0x236)]=Ot;var we=Mi['exports'],ee=function(){const _0xb8d2e4=_0x5bb7a4;return ee=Object['assign']||function(_0x19c61c){const _0x333a9d=_0x4081;for(var _0x4aa01a,_0x12c265=0x1,_0x16c363=arguments[_0x333a9d(0x282)];_0x12c265<_0x16c363;_0x12c265++){_0x4aa01a=arguments[_0x12c265];for(var _0x2aac17 in _0x4aa01a)Object[_0x333a9d(0x423)][_0x333a9d(0x440)][_0x333a9d(0x1f6)](_0x4aa01a,_0x2aac17)&&(_0x19c61c[_0x2aac17]=_0x4aa01a[_0x2aac17]);}return _0x19c61c;},ee[_0xb8d2e4(0x568)](this,arguments);},ca=function(_0x16d1c1,_0x54c826){const _0x4b2a6f=_0x5bb7a4;var _0x223824={};for(var _0x31bf36 in _0x16d1c1)Object[_0x4b2a6f(0x423)][_0x4b2a6f(0x440)][_0x4b2a6f(0x1f6)](_0x16d1c1,_0x31bf36)&&_0x54c826[_0x4b2a6f(0x41f)](_0x31bf36)<0x0&&(_0x223824[_0x31bf36]=_0x16d1c1[_0x31bf36]);if(_0x16d1c1!=null&&typeof Object['getOwnPropertySymbols']==_0x4b2a6f(0x4b8)){for(var _0x1e5156=0x0,_0x31bf36=Object[_0x4b2a6f(0x404)](_0x16d1c1);_0x1e5156<_0x31bf36['length'];_0x1e5156++)_0x54c826['indexOf'](_0x31bf36[_0x1e5156])<0x0&&Object['prototype'][_0x4b2a6f(0x499)][_0x4b2a6f(0x1f6)](_0x16d1c1,_0x31bf36[_0x1e5156])&&(_0x223824[_0x31bf36[_0x1e5156]]=_0x16d1c1[_0x31bf36[_0x1e5156]]);}return _0x223824;},Ts=_0x5ecf43(function(_0x1ddc40,_0x43b0c2){const _0xad23e0=_0x5bb7a4;var _0x5d28c5=_0x1ddc40[_0xad23e0(0x37c)],_0x1ee06b=_0x1ddc40['id'],_0xe5ef59=_0x1ddc40[_0xad23e0(0x375)],_0xeddec2=_0x1ddc40[_0xad23e0(0x187)],_0x461f45=ca(_0x1ddc40,[_0xad23e0(0x37c),'id',_0xad23e0(0x375),_0xad23e0(0x187)]),_0x706c0e='univerjs-icon\x20univerjs-icon-'[_0xad23e0(0x196)](_0x1ee06b,'\x20')[_0xad23e0(0x196)](_0xe5ef59||'')['trim'](),_0x7e2bf1=_0x37367c('_'[_0xad23e0(0x196)](_a()));return Li(_0x5d28c5,''[_0xad23e0(0x196)](_0x1ee06b),{'defIds':_0x5d28c5[_0xad23e0(0x563)],'idSuffix':_0x7e2bf1[_0xad23e0(0x51a)]},ee({'ref':_0x43b0c2,'className':_0x706c0e},_0x461f45),_0xeddec2);});function Li(_0x2b54ed,_0x52661d,_0x17e91e,_0x525d15,_0x101f34){const _0x3a17ba=_0x5bb7a4;return _0x438628(_0x2b54ed[_0x3a17ba(0x266)],ee(ee({'key':_0x52661d},ha(_0x2b54ed,_0x17e91e,_0x101f34)),_0x525d15),(la(_0x2b54ed,_0x17e91e)[_0x3a17ba(0x4e1)]||[])[_0x3a17ba(0x2c9)](function(_0x59ac71,_0x212c34){const _0x454abf=_0x3a17ba;return Li(_0x59ac71,''[_0x454abf(0x196)](_0x52661d,'-')['concat'](_0x2b54ed['tag'],'-')[_0x454abf(0x196)](_0x212c34),_0x17e91e,void 0x0,_0x101f34);}));}function ha(_0x1aab5c,_0x483250,_0xd2ea14){const _0x1eda34=_0x5bb7a4;var _0x43c9d3=ee({},_0x1aab5c['attrs']);_0xd2ea14!=null&&_0xd2ea14[_0x1eda34(0x4e9)]&&_0x43c9d3[_0x1eda34(0x31c)]===_0x1eda34(0x4e9)&&(_0x43c9d3['fill']=_0xd2ea14[_0x1eda34(0x4e9)]);var _0x1e27c6=_0x483250[_0x1eda34(0x563)];return!_0x1e27c6||_0x1e27c6[_0x1eda34(0x282)]===0x0||(_0x1aab5c[_0x1eda34(0x266)]==='use'&&_0x43c9d3[_0x1eda34(0x4af)]&&(_0x43c9d3[_0x1eda34(0x4af)]=_0x43c9d3[_0x1eda34(0x4af)]+_0x483250[_0x1eda34(0x1b2)]),Object[_0x1eda34(0x420)](_0x43c9d3)['forEach'](function(_0x1f9a1d){const _0x4394d6=_0x1eda34;var _0xd76ecd=_0x1f9a1d[0x0],_0x19c8f4=_0x1f9a1d[0x1];typeof _0x19c8f4==_0x4394d6(0x40c)&&(_0x43c9d3[_0xd76ecd]=_0x19c8f4[_0x4394d6(0x464)](/url\(#(.*)\)/,_0x4394d6(0x41b)[_0x4394d6(0x196)](_0x483250[_0x4394d6(0x1b2)],')')));})),_0x43c9d3;}function la(_0x4fd75b,_0x1e111e){const _0x21bee2=_0x5bb7a4;var _0x192017,_0x4906ea=_0x1e111e[_0x21bee2(0x563)];return!_0x4906ea||_0x4906ea['length']===0x0?_0x4fd75b:_0x4fd75b[_0x21bee2(0x266)]==='defs'&&(!((_0x192017=_0x4fd75b[_0x21bee2(0x4e1)])===null||_0x192017===void 0x0)&&_0x192017[_0x21bee2(0x282)])?ee(ee({},_0x4fd75b),{'children':_0x4fd75b[_0x21bee2(0x4e1)][_0x21bee2(0x2c9)](function(_0x4ab114){const _0x598800=_0x21bee2;return typeof _0x4ab114['attrs']['id']==_0x598800(0x40c)&&_0x4906ea&&_0x4906ea[_0x598800(0x41f)](_0x4ab114[_0x598800(0x4ce)]['id'])>-0x1?ee(ee({},_0x4ab114),{'attrs':ee(ee({},_0x4ab114[_0x598800(0x4ce)]),{'id':_0x4ab114[_0x598800(0x4ce)]['id']+_0x1e111e[_0x598800(0x1b2)]})}):_0x4ab114;})}):_0x4fd75b;}function _a(){const _0xf87ae6=_0x5bb7a4;return Math[_0xf87ae6(0x453)]()[_0xf87ae6(0x2e5)](0x24)[_0xf87ae6(0x4c8)](0x2,0x8);}Ts['displayName']=_0x5bb7a4(0x166);var ua={'tag':'svg','attrs':{'fill':'none','viewBox':_0x5bb7a4(0x4e5),'width':'1em','height':_0x5bb7a4(0x467)},'children':[{'tag':'g','attrs':{'clipPath':_0x5bb7a4(0x22d)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x5bb7a4(0x56b),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5bb7a4(0x3de),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x5bb7a4(0x2a4),'d':_0x5bb7a4(0x1e4)}}]}]}],'defIds':['off-line-single_clip0_910_343']},$i=_0x5ecf43(function(_0x38344f,_0x5af1c9){const _0xef1f58=_0x5bb7a4;return _0x438628(Ts,Object['assign']({},_0x38344f,{'id':_0xef1f58(0x478),'ref':_0x5af1c9,'icon':ua}));});$i[_0x5bb7a4(0x493)]=_0x5bb7a4(0x333);var da={'tag':'svg','attrs':{'fill':_0x5bb7a4(0x1e6),'viewBox':_0x5bb7a4(0x26b),'width':_0x5bb7a4(0x467),'height':_0x5bb7a4(0x467)},'children':[{'tag':'g','attrs':{'clipPath':_0x5bb7a4(0x3c5)},'children':[{'tag':_0x5bb7a4(0x327),'attrs':{'stroke':_0x5bb7a4(0x2e7),'d':_0x5bb7a4(0x388),'strokeLinecap':'round','strokeLinejoin':_0x5bb7a4(0x3fe),'strokeWidth':1.2}}]},{'tag':_0x5bb7a4(0x484),'attrs':{},'children':[{'tag':_0x5bb7a4(0x3de),'attrs':{'id':_0x5bb7a4(0x500)},'children':[{'tag':_0x5bb7a4(0x327),'attrs':{'fill':_0x5bb7a4(0x2a4),'d':_0x5bb7a4(0x1e4),'transform':_0x5bb7a4(0x35c)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Hi=_0x5ecf43(function(_0x1bceb9,_0x26d5cb){const _0x16be8e=_0x5bb7a4;return _0x438628(Ts,Object[_0x16be8e(0x1a1)]({},_0x1bceb9,{'id':_0x16be8e(0x1ae),'ref':_0x26d5cb,'icon':da}));});Hi[_0x5bb7a4(0x493)]=_0x5bb7a4(0x1da);function ji(_0x208658){const _0x1a10a9=_0x5bb7a4;var _0x37935d,_0x4bc55f,_0x208756='';if(typeof _0x208658==_0x1a10a9(0x40c)||typeof _0x208658==_0x1a10a9(0x2fb))_0x208756+=_0x208658;else{if(typeof _0x208658==_0x1a10a9(0x4a3)){if(Array[_0x1a10a9(0x2f4)](_0x208658)){var _0x40580e=_0x208658[_0x1a10a9(0x282)];for(_0x37935d=0x0;_0x37935d<_0x40580e;_0x37935d++)_0x208658[_0x37935d]&&(_0x4bc55f=ji(_0x208658[_0x37935d]))&&(_0x208756&&(_0x208756+='\x20'),_0x208756+=_0x4bc55f);}else{for(_0x4bc55f in _0x208658)_0x208658[_0x4bc55f]&&(_0x208756&&(_0x208756+='\x20'),_0x208756+=_0x4bc55f);}}}return _0x208756;}function fa(){for(var _0x342903,_0x195980,_0x38a75f=0x0,_0x257654='',_0xbcf8bb=arguments['length'];_0x38a75f<_0xbcf8bb;_0x38a75f++)(_0x342903=arguments[_0x38a75f])&&(_0x195980=ji(_0x342903))&&(_0x257654&&(_0x257654+='\x20'),_0x257654+=_0x195980);return _0x257654;}const va=_0x5bb7a4(0x18f),ma=_0x5bb7a4(0x1d1),pa=_0x5bb7a4(0x56f),ga='univer-online',Sa=_0x5bb7a4(0x261),Ze={'onlineStatusIcon':va,'onlineStatusTitle':ma,'onlineStatus':pa,'online':ga,'offline':Sa};function Ia(_0x328188){const _0x34e287=_0x5bb7a4;switch(_0x328188){case J[_0x34e287(0x23a)]:return _0x34e287(0x32d);case J[_0x34e287(0x287)]:return'collabStatus.conflict';case J[_0x34e287(0x40b)]:return _0x34e287(0x41c);case J['NOT_COLLAB']:return _0x34e287(0x470);case J[_0x34e287(0x2f3)]:case J[_0x34e287(0x256)]:return _0x34e287(0x185);case J[_0x34e287(0x50e)]:case J['PENDING']:return _0x34e287(0x28c);}}function Ca(_0x324751){const _0x1f906d=_0x5bb7a4,{status$:_0x2fb4fd}=_0x324751,_0x35432d=_0x3b686f(_0x2fb4fd,J['NOT_COLLAB']),_0x33eac8=_0xe664fe(_0x1fdc1b),_0xb4f404=_0xe664fe(Ae),_0x55a547=_0x35432d!==J[_0x1f906d(0x23a)],_0x27ae9c=_0x33eac8['t'](Ia(_0x35432d)),_0x1aede2=fa(Ze[_0x1f906d(0x221)],{[Ze[_0x1f906d(0x26d)]]:_0x55a547,[Ze['offline']]:!_0x55a547}),_0x29971f=_0x55a547?we[_0x1f906d(0x2fc)](Hi,{}):we[_0x1f906d(0x2fc)]($i,{}),_0x2047d=_0x1f3798(()=>{_0x55a547||_0xb4f404['reconnect']();},[_0x55a547,_0xb4f404]);function _0x23919d(){const _0x7af87a=_0x1f906d;return we[_0x7af87a(0x28f)]('div',{'className':_0x1aede2,'onClick':_0x2047d,'children':[we[_0x7af87a(0x2fc)](_0x7af87a(0x28e),{'className':Ze[_0x7af87a(0x4c2)],'children':_0x29971f}),we['jsx'](_0x7af87a(0x28e),{'className':Ze[_0x7af87a(0x321)],'children':_0x27ae9c})]});}return _0x55a547?_0x23919d():we[_0x1f906d(0x2fc)](_0x4f930e,{'title':_0x33eac8['t'](_0x1f906d(0x1e8)),'children':_0x23919d()});}var Ea=Object[_0x5bb7a4(0x42b)],ba=Object[_0x5bb7a4(0x4e4)],Ta=(_0x245122,_0x1d38d9,_0x19deda,_0x2c19f6)=>{const _0x5d4d8a=_0x5bb7a4;for(var _0x361528=_0x2c19f6>0x1?void 0x0:_0x2c19f6?ba(_0x1d38d9,_0x19deda):_0x1d38d9,_0x46f6c9=_0x245122[_0x5d4d8a(0x282)]-0x1,_0x521453;_0x46f6c9>=0x0;_0x46f6c9--)(_0x521453=_0x245122[_0x46f6c9])&&(_0x361528=(_0x2c19f6?_0x521453(_0x1d38d9,_0x19deda,_0x361528):_0x521453(_0x361528))||_0x361528);return _0x2c19f6&&_0x361528&&Ea(_0x1d38d9,_0x19deda,_0x361528),_0x361528;},ht=(_0x51812c,_0x5a060f)=>(_0x365065,_0x52414b)=>_0x5a060f(_0x365065,_0x52414b,_0x51812c);let St=class extends _0x1caa36{constructor(_0x1a6489,_0xaba21b,_0x291629,_0x4dfdfd){const _0x294a65=_0x5bb7a4;super(),g(this,_0x294a65(0x281),new _0x348a88(J[_0x294a65(0x410)])),(this[_0x294a65(0x21d)]=_0x1a6489,this[_0x294a65(0x47e)]=_0xaba21b,this['_injector']=_0x291629,this[_0x294a65(0x471)]=_0x4dfdfd,this[_0x294a65(0x1cb)](),this['_initStatusListener']());}[_0x5bb7a4(0x4f3)](){const _0x2bbbd4=_0x5bb7a4;this[_0x2bbbd4(0x368)](this['_univerInstanceService']['focused$'][_0x2bbbd4(0x3f1)](_0x1e3e59(()=>{const _0xa6a18d=_0x2bbbd4,_0x51f6e0=this[_0xa6a18d(0x21d)][_0xa6a18d(0x1dd)]();return _0x51f6e0?this[_0xa6a18d(0x471)][_0xa6a18d(0x42f)](_0x51f6e0[_0xa6a18d(0x322)]()):_0x52cb6f(null);}),_0x1e3e59(_0x485493=>_0x485493?_0x485493['status$']:_0x52cb6f(J['NOT_COLLAB'])))[_0x2bbbd4(0x519)](_0x56d5c6=>{const _0x374e07=_0x2bbbd4;this[_0x374e07(0x281)][_0x374e07(0x3ff)](_0x56d5c6);}));}['_initStatusComponent'](){const _0x495557=_0x5bb7a4;this['disposeWithMe'](this[_0x495557(0x47e)]['registerComponent'](_0x5b1713[_0x495557(0x539)],()=>_0x3048e7(Ra({'status$':this[_0x495557(0x281)][_0x495557(0x1a6)]()}),this[_0x495557(0x338)])));}};St=Ta([ht(0x0,_0x2e0534),ht(0x1,_0x2cb103),ht(0x2,_0x22a3e1(_0x4c5160)),ht(0x3,_0x22a3e1(it))],St);function Ra(_0x15b711){const {status$:_0x26a141}=_0x15b711;return function(){return we['jsx'](Ca,{'status$':_0x26a141});};}const Bi=_0x5ce9a5('uni.network.url-service');var ya=Object[_0x5bb7a4(0x42b)],Oa=Object[_0x5bb7a4(0x4e4)],wa=(_0x41be83,_0x48acb7,_0x7c0ee7,_0x5bac1d)=>{const _0x3acb84=_0x5bb7a4;for(var _0x1c9aee=_0x5bac1d>0x1?void 0x0:_0x5bac1d?Oa(_0x48acb7,_0x7c0ee7):_0x48acb7,_0x3ab693=_0x41be83[_0x3acb84(0x282)]-0x1,_0x3b73fb;_0x3ab693>=0x0;_0x3ab693--)(_0x3b73fb=_0x41be83[_0x3ab693])&&(_0x1c9aee=(_0x5bac1d?_0x3b73fb(_0x48acb7,_0x7c0ee7,_0x1c9aee):_0x3b73fb(_0x1c9aee))||_0x1c9aee);return _0x5bac1d&&_0x1c9aee&&ya(_0x48acb7,_0x7c0ee7,_0x1c9aee),_0x1c9aee;},ke=(_0x3d4f4e,_0x54a35f)=>(_0x4448bc,_0x3141d6)=>_0x54a35f(_0x4448bc,_0x3141d6,_0x3d4f4e);let It=class extends _0x177a9e{constructor(_0x312bf0,_0xd155f6,_0x1c27cc,_0x2651c1,_0x38f438,_0x146be8){const _0x1d1980=_0x5bb7a4;super(),this[_0x1d1980(0x538)]=_0x312bf0,this[_0x1d1980(0x26e)]=_0xd155f6,this[_0x1d1980(0x53f)]=_0x1c27cc,this[_0x1d1980(0x46d)]=_0x2651c1,this[_0x1d1980(0x496)]=_0x38f438,_0x146be8?_0x146be8==null||_0x146be8['whenReady']()[_0x1d1980(0x40e)](()=>this[_0x1d1980(0x515)]()):(this[_0x1d1980(0x26e)][_0x1d1980(0x23c)](_0x1d1980(0x392),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x5bb7a4(0x515)](){const _0x5e03f0=_0x5bb7a4,_0x97d4ce=this[_0x5e03f0(0x538)][_0x5e03f0(0x325)](_0x5e03f0(0x243)),_0x24a475=this['_urlService'][_0x5e03f0(0x325)](_0x5e03f0(0x27e));if(!_0x97d4ce||!_0x24a475){this['_logService']['debug'](_0x5e03f0(0x392),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x24a475)){case ce[_0x5e03f0(0x55b)]:{const _0xf7e357=await this['_loadSheet'](_0x97d4ce);this[_0x5e03f0(0x271)](_0xf7e357);break;}case ce[_0x5e03f0(0x172)]:{await this[_0x5e03f0(0x1f3)](_0x97d4ce);break;}default:{this[_0x5e03f0(0x26e)][_0x5e03f0(0x17b)](_0x5e03f0(0x392),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x5bb7a4(0x271)](_0x3252fc){const _0x318ad6=_0x5bb7a4;await this['_updateSubUnitFromURLParams'](_0x3252fc),_0x3252fc['activeSheet$']['pipe'](_0x52fa59(this[_0x318ad6(0x492)]))[_0x318ad6(0x519)](_0x29751a=>{const _0x5c1819=_0x318ad6;_0x29751a&&this[_0x5c1819(0x545)](_0x29751a);}),this[_0x318ad6(0x538)]['urlChange$'][_0x318ad6(0x3f1)](_0x52fa59(this[_0x318ad6(0x492)]))[_0x318ad6(0x519)](()=>this[_0x318ad6(0x2e4)](_0x3252fc));}[_0x5bb7a4(0x545)](_0x14d637,_0x17864f=!0x1){const _0x45f904=_0x5bb7a4,_0x2e555e=this[_0x45f904(0x538)]['getParam'](_0x45f904(0x1a8));_0x14d637[_0x45f904(0x192)]()!==_0x2e555e&&this['_urlService'][_0x45f904(0x53b)](_0x45f904(0x1a8),_0x14d637[_0x45f904(0x192)](),_0x17864f);}async[_0x5bb7a4(0x2e4)](_0x12ef4b){const _0x19557a=_0x5bb7a4;var _0x5e649c;const _0x11552d=this[_0x19557a(0x538)][_0x19557a(0x325)](_0x19557a(0x1a8));if(!_0x11552d||!_0x12ef4b['getSheetBySheetId'](_0x11552d)){const _0x5314e0=_0x12ef4b[_0x19557a(0x2af)]()[0x0],_0x3693c4=_0x12ef4b[_0x19557a(0x29a)](_0x5314e0);if(!_0x3693c4)return;this[_0x19557a(0x545)](_0x3693c4,!0x0),await this['_commandService'][_0x19557a(0x175)](_0x3d9171['id'],{'unitId':_0x12ef4b[_0x19557a(0x322)](),'subUnitId':_0x5314e0});return;}((_0x5e649c=_0x12ef4b[_0x19557a(0x475)]())==null?void 0x0:_0x5e649c[_0x19557a(0x192)]())!==_0x11552d&&await this[_0x19557a(0x53f)][_0x19557a(0x175)](_0x3d9171['id'],{'unitId':_0x12ef4b[_0x19557a(0x322)](),'subUnitId':_0x11552d});}async['_loadSheet'](_0x30016c){const _0x818c30=_0x5bb7a4;let _0x3641ae=0x0;const _0x3d950f=await this[_0x818c30(0x46d)]['loadOfflineData'](_0x30016c);return _0x3d950f&&(_0x3d950f[_0x818c30(0x25a)]||_0x3d950f[_0x818c30(0x47f)][_0x818c30(0x282)]!==0x0)&&(_0x3641ae=_0x3d950f[_0x818c30(0x4eb)]),_0x3641ae===0x0&&this[_0x818c30(0x26e)]['debug']('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x818c30(0x496)]['loadSheet'](_0x30016c,_0x3641ae);}async[_0x5bb7a4(0x1f3)](_0x29e89a){const _0xe63997=_0x5bb7a4;let _0x260042=0x0;const _0x19d9b0=await this[_0xe63997(0x46d)][_0xe63997(0x426)](_0x29e89a);return _0x19d9b0&&(_0x19d9b0['awaitingChangeset']||_0x19d9b0[_0xe63997(0x47f)][_0xe63997(0x282)]!==0x0)&&(_0x260042=_0x19d9b0['rev']),_0x260042===0x0&&this[_0xe63997(0x26e)][_0xe63997(0x23c)](_0xe63997(0x392),_0xe63997(0x384)),this[_0xe63997(0x496)]['loadDoc'](_0x29e89a,_0x260042);}};It=wa([ke(0x0,Bi),ke(0x1,_0x3efec9),ke(0x2,_0x1e58f0),ke(0x3,_0x22a3e1(q)),ke(0x4,_0x22a3e1(_0x2b1acd)),ke(0x5,_0x4f55bd(_0xfc52d5))],It);var Da=Object[_0x5bb7a4(0x42b)],Pa=Object[_0x5bb7a4(0x4e4)],Ua=(_0x1add72,_0x3e9b5b,_0x1a46ff,_0x373fdc)=>{const _0x393be7=_0x5bb7a4;for(var _0xe3420=_0x373fdc>0x1?void 0x0:_0x373fdc?Pa(_0x3e9b5b,_0x1a46ff):_0x3e9b5b,_0xd2fe25=_0x1add72[_0x393be7(0x282)]-0x1,_0x5afad9;_0xd2fe25>=0x0;_0xd2fe25--)(_0x5afad9=_0x1add72[_0xd2fe25])&&(_0xe3420=(_0x373fdc?_0x5afad9(_0x3e9b5b,_0x1a46ff,_0xe3420):_0x5afad9(_0xe3420))||_0xe3420);return _0x373fdc&&_0xe3420&&Da(_0x3e9b5b,_0x1a46ff,_0xe3420),_0xe3420;},zs=(_0xf8d69a,_0x461190)=>(_0x40bdad,_0x231055)=>_0x461190(_0x40bdad,_0x231055,_0xf8d69a);const Na='DEFAULT_FILE_NAME',Aa=_0x5bb7a4(0x30f);let Ct=class extends _0x1caa36{constructor(_0x5a5fa5,_0x42acab){const _0x1f3eb0=_0x5bb7a4;super(),this[_0x1f3eb0(0x21d)]=_0x5a5fa5,this[_0x1f3eb0(0x23e)]=_0x42acab,this[_0x1f3eb0(0x515)]();}[_0x5bb7a4(0x515)](){const _0x3eb6a2=_0x5bb7a4;this[_0x3eb6a2(0x368)](this[_0x3eb6a2(0x21d)][_0x3eb6a2(0x274)][_0x3eb6a2(0x519)](()=>{const _0x44f0df=_0x3eb6a2;var _0x5f3cac;const _0x4ae9e7=this['_univerInstanceService'][_0x44f0df(0x1dd)]();let _0xca8668=(_0x5f3cac=this[_0x44f0df(0x23e)]['getConfig'](Na))!=null?_0x5f3cac:Aa;_0x4ae9e7 instanceof _0x31b79d&&(_0xca8668=_0x4ae9e7[_0x44f0df(0x408)]),document['title']=_0xca8668;}));}};Ct=Ua([zs(0x0,_0x2e0534),zs(0x1,_0x2bb536)],Ct);var Ma=Object[_0x5bb7a4(0x42b)],xa=Object[_0x5bb7a4(0x4e4)],La=(_0x426133,_0x28ad6f,_0x5a475c,_0x273172)=>{const _0x48d52c=_0x5bb7a4;for(var _0x22752e=_0x273172>0x1?void 0x0:_0x273172?xa(_0x28ad6f,_0x5a475c):_0x28ad6f,_0x3856d4=_0x426133[_0x48d52c(0x282)]-0x1,_0x47c441;_0x3856d4>=0x0;_0x3856d4--)(_0x47c441=_0x426133[_0x3856d4])&&(_0x22752e=(_0x273172?_0x47c441(_0x28ad6f,_0x5a475c,_0x22752e):_0x47c441(_0x22752e))||_0x22752e);return _0x273172&&_0x22752e&&Ma(_0x28ad6f,_0x5a475c,_0x22752e),_0x22752e;},Wt=(_0x5a37f1,_0x39c6b9)=>(_0x3aaa1b,_0x208050)=>_0x39c6b9(_0x3aaa1b,_0x208050,_0x5a37f1);let Et=class{constructor(_0x31f852,_0x5a1ca5,_0x1b2ff4){const _0x3aca2e=_0x5bb7a4;this[_0x3aca2e(0x23e)]=_0x31f852,this[_0x3aca2e(0x1be)]=_0x5a1ca5,this['localeService']=_0x1b2ff4,this['init']();}['init'](){const _0x15617e=_0x5bb7a4;this[_0x15617e(0x1be)][_0x15617e(0x4a6)]({'priority':0x1,'interceptor':(_0x239818,_0x475168)=>_0x475168(_0x239818)['pipe'](_0x2d7fb7(async _0x3f2204=>{const _0x5a5c6a=_0x15617e,_0x2675ee=_0x3f2204;if(_0x2675ee[_0x5a5c6a(0x1ff)]===0x191&&window[_0x5a5c6a(0x43e)](this[_0x5a5c6a(0x28a)]['t']('auth.needGotoLoginAlert'))){const _0x364b1c=window['encodeURIComponent'](window[_0x5a5c6a(0x521)][_0x5a5c6a(0x50b)]);window['location']['href']=this['_getLoginPath']()+_0x5a5c6a(0x2c1)+_0x364b1c;}return _0x2675ee;}))});}['_getLoginPath'](){const _0x268dd5=_0x5bb7a4;var _0x4e0cdd,_0x2a05bd;const _0x22188f=this[_0x268dd5(0x23e)][_0x268dd5(0x447)](br),_0xf46d8f=this[_0x268dd5(0x23e)]['getConfig'](ie);return(_0x2a05bd=(_0x4e0cdd=_0xf46d8f==null?void 0x0:_0xf46d8f['loginUrlKey'])!=null?_0x4e0cdd:_0x22188f)!=null?_0x2a05bd:Tr;}};Et=La([Wt(0x0,_0x2bb536),Wt(0x1,_0x22a3e1(_0x41156a)),Wt(0x2,_0x22a3e1(_0x1fdc1b))],Et);var $a=Object[_0x5bb7a4(0x42b)],Ha=Object[_0x5bb7a4(0x4e4)],ja=(_0x2111b7,_0x16440d,_0x2e75c9,_0x12aaa0)=>{const _0x55371d=_0x5bb7a4;for(var _0x15ba77=_0x12aaa0>0x1?void 0x0:_0x12aaa0?Ha(_0x16440d,_0x2e75c9):_0x16440d,_0x20e23d=_0x2111b7[_0x55371d(0x282)]-0x1,_0x283311;_0x20e23d>=0x0;_0x20e23d--)(_0x283311=_0x2111b7[_0x20e23d])&&(_0x15ba77=(_0x12aaa0?_0x283311(_0x16440d,_0x2e75c9,_0x15ba77):_0x283311(_0x15ba77))||_0x15ba77);return _0x12aaa0&&_0x15ba77&&$a(_0x16440d,_0x2e75c9,_0x15ba77),_0x15ba77;},qs=(_0xe54d84,_0x2fec05)=>(_0x81f98c,_0x13f49e)=>_0x2fec05(_0x81f98c,_0x13f49e,_0xe54d84);const Ba=_0x5bb7a4(0x305),ka=_0x5bb7a4(0x57a);let cs=class extends _0x1caa36{constructor(_0x337e3f,_0xeeed76){const _0x3e1c8d=_0x5bb7a4;super(),this[_0x3e1c8d(0x415)]=_0x337e3f,this[_0x3e1c8d(0x23e)]=_0xeeed76,this[_0x3e1c8d(0x184)]();}[_0x5bb7a4(0x184)](){const _0x3d21bb=_0x5bb7a4,_0x5455dc=this;this[_0x3d21bb(0x368)](this[_0x3d21bb(0x415)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0xc40197({'isMatch'(_0x640954){const _0x798292=_0x3d21bb;var _0x4d5d2e;if(_0x640954[_0x798292(0x38b)]===_0x798292(0x2bf)&&((_0x4d5d2e=_0x640954[_0x798292(0x1bb)])!=null&&_0x4d5d2e[_0x798292(0x1ab)])){const {objectID:_0x18af39,objectType:_0x28d99d}=_0x640954[_0x798292(0x1bb)]['body']||{};if(!_0x18af39||_0x28d99d===void 0x0)return!0x1;const _0x4d61de=_0x5455dc[_0x798292(0x546)]()+'/'+_0x28d99d+_0x798292(0x29f)+_0x18af39+_0x798292(0x4ba);if(_0x640954[_0x798292(0x217)]===_0x4d61de)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x36a6fa){const _0x150d85=_0x3d21bb;var _0x1fbbc1;return(_0x1fbbc1=_0x36a6fa[_0x150d85(0x1bb)])==null?void 0x0:_0x1fbbc1[_0x150d85(0x1ab)];},'mergeParamsToRequest'(_0xa9c753,_0x4de8f0){const _0x4f24ed=_0x3d21bb,_0x353d66=_0x5455dc[_0x4f24ed(0x546)]()+_0x4f24ed(0x39c),_0xa44dd4=_0xa9c753['reduce']((_0x1080f5,_0x448fb7)=>{const _0x52ea56=_0x4f24ed,{unitID:_0x4656b3,objectID:_0x19cb45,objectType:_0x2696e9,actions:_0x537407}=_0x448fb7;return _0x1080f5[_0x4656b3]||(_0x1080f5[_0x4656b3]={}),_0x1080f5[_0x4656b3][_0x19cb45]||(_0x1080f5[_0x4656b3][_0x19cb45]={'objectID':_0x19cb45,'objectType':_0x2696e9,'actions':[]}),_0x1080f5[_0x4656b3][_0x19cb45][_0x52ea56(0x37d)]['push'](..._0x537407),_0x1080f5;},{}),_0x21eb5f=[];for(const _0x4dad5f in _0xa44dd4)for(const _0x95cf28 in _0xa44dd4[_0x4dad5f]){const {actions:_0xdbfcda,objectType:_0xa3ff60}=_0xa44dd4[_0x4dad5f][_0x95cf28],_0x43eb54=[...new Set(_0xdbfcda)];_0x21eb5f[_0x4f24ed(0x433)]({'unitID':_0x4dad5f,'objectID':_0x95cf28,'objectType':_0xa3ff60,'actions':_0x43eb54});}return new _0x3b9e80(_0x4f24ed(0x2bf),_0x353d66,{'headers':_0x4de8f0[_0x4f24ed(0x210)],'withCredentials':_0x4de8f0[_0x4f24ed(0x2db)],'responseType':_0x4de8f0[_0x4f24ed(0x2a6)],'body':{'requests':_0x21eb5f}});}},{'distributeResult'(_0x58ff1d,_0x7ead0d){const _0xc2a64d=_0x3d21bb,{objectActions:_0x4b9114}=_0x58ff1d;return _0x7ead0d[_0xc2a64d(0x2c9)](_0x2ef88e=>{const _0xde6e8=_0xc2a64d,{unitID:_0x1143bf,objectID:_0x2346e5,actions:_0x3f6e45}=_0x2ef88e,_0x4bde05=_0x4b9114[_0xde6e8(0x1e7)](_0x486a50=>_0x486a50[_0xde6e8(0x4c4)]===_0x1143bf&&_0x486a50[_0xde6e8(0x52b)]===_0x2346e5),_0x59ce76=_0x3f6e45['map'](_0x17143a=>_0x4bde05==null?void 0x0:_0x4bde05[_0xde6e8(0x37d)][_0xde6e8(0x1e7)](_0x3b3b4a=>_0x3b3b4a['action']===_0x17143a))['filter'](_0x2aaa0b=>!!_0x2aaa0b);return{'config':_0x2ef88e,'result':{'actions':_0x59ce76,'error':_0x58ff1d['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x3a9d26=_0x5bb7a4;var _0x21bb7b,_0x2ac0b5;const _0x457aae=this[_0x3a9d26(0x23e)]['getConfig'](Ba),_0x2c24e4=this['_configService'][_0x3a9d26(0x447)](ie);return(_0x2ac0b5=(_0x21bb7b=_0x2c24e4==null?void 0x0:_0x2c24e4[_0x3a9d26(0x366)])!=null?_0x21bb7b:_0x457aae)!=null?_0x2ac0b5:ka;}async['create'](_0x305cf6){const _0x57bcb3=_0x5bb7a4,_0xe8ef05=this[_0x57bcb3(0x546)]()+'/'+_0x305cf6[_0x57bcb3(0x320)]+'/object';return(await this[_0x57bcb3(0x415)][_0x57bcb3(0x495)](_0xe8ef05,{'body':_0x305cf6}))[_0x57bcb3(0x1ab)]['objectID']||'';}async['list'](_0x2d8a0a){const _0x8ff8f3=_0x5bb7a4,_0x31fe88=this['_getAPIPrefixPath']()+_0x8ff8f3(0x4c9);return(await this[_0x8ff8f3(0x415)]['post'](_0x31fe88,{'body':_0x2d8a0a}))[_0x8ff8f3(0x1ab)][_0x8ff8f3(0x448)];}async[_0x5bb7a4(0x3c9)](_0x444a4f){const _0x333a63=_0x5bb7a4,_0x3e3d77=this[_0x333a63(0x546)]()+'/'+_0x444a4f[_0x333a63(0x320)]+_0x333a63(0x29f)+_0x444a4f[_0x333a63(0x52b)];await this[_0x333a63(0x415)][_0x333a63(0x3f3)](_0x3e3d77,{'body':_0x444a4f});}async['allowed'](_0x1f6b9d){const _0x37a3a7=_0x5bb7a4,_0x16caf8=this[_0x37a3a7(0x546)]()+'/'+_0x1f6b9d[_0x37a3a7(0x320)]+'/object/'+_0x1f6b9d[_0x37a3a7(0x52b)]+_0x37a3a7(0x4ba);return(await this[_0x37a3a7(0x415)][_0x37a3a7(0x495)](_0x16caf8,{'body':_0x1f6b9d}))[_0x37a3a7(0x1ab)][_0x37a3a7(0x37d)];}async[_0x5bb7a4(0x4ca)](_0x32e4a1){const _0x46b205=_0x5bb7a4,_0x410a4c=this[_0x46b205(0x546)]()+_0x46b205(0x39c);return(await this[_0x46b205(0x415)][_0x46b205(0x495)](_0x410a4c,{'body':{'requests':_0x32e4a1}}))[_0x46b205(0x1ab)][_0x46b205(0x295)];}async[_0x5bb7a4(0x349)](_0xf6412f){const _0x1620a1=_0x5bb7a4,_0x4a21be=this[_0x1620a1(0x546)]()+'/'+_0xf6412f[_0x1620a1(0x320)]+_0x1620a1(0x246),_0x805b4e=await this[_0x1620a1(0x415)][_0x1620a1(0x495)](_0x4a21be,{'body':_0xf6412f});return{'roles':_0x805b4e['body'][_0x1620a1(0x24f)],'actions':_0x805b4e[_0x1620a1(0x1ab)]['actions']};}async['deleteCollaborator'](_0x287395){const _0x2ca896=_0x5bb7a4,_0x42bd94=this['_getAPIPrefixPath']()+_0x2ca896(0x205);await this['_HTTPService']['delete'](_0x42bd94,{'params':{'collaboratorID':_0x287395[_0x2ca896(0x4f1)],'objectID':_0x287395[_0x2ca896(0x52b)],'unitID':_0x287395[_0x2ca896(0x4c4)]}});}async[_0x5bb7a4(0x1d5)](_0x4d1e98){const _0x52027d=_0x5bb7a4,_0x19f9da=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x52027d(0x415)][_0x52027d(0x419)](_0x19f9da,{'body':_0x4d1e98});}async['createCollaborator'](_0x13a6d4){const _0x178549=_0x5bb7a4,_0x154dde=this[_0x178549(0x546)]()+'/collaborator';await this['_HTTPService'][_0x178549(0x495)](_0x154dde,{'body':_0x13a6d4});}async['listCollaborators'](_0x398699){const _0x296dbf=_0x5bb7a4,_0x595da9=this['_getAPIPrefixPath']()+_0x296dbf(0x205);return(await this[_0x296dbf(0x415)][_0x296dbf(0x4f7)](_0x595da9,{'params':{'objectID':_0x398699[_0x296dbf(0x52b)],'unitID':_0x398699[_0x296dbf(0x4c4)]}}))[_0x296dbf(0x1ab)][_0x296dbf(0x251)];}async['putCollaborators'](_0x268da8){const _0x3e7fe9=_0x5bb7a4,_0xeca651=this[_0x3e7fe9(0x546)]()+_0x3e7fe9(0x205);await this[_0x3e7fe9(0x415)][_0x3e7fe9(0x3f3)](_0xeca651,{'body':_0x268da8});}};cs=ja([qs(0x0,_0x22a3e1(_0x41156a)),qs(0x1,_0x22a3e1(_0x2bb536))],cs);var ki={'exports':{}};function Wa(_0x3c7511){const _0x4dc6ca=_0x5bb7a4;throw new Error(_0x4dc6ca(0x1ca)+_0x3c7511+_0x4dc6ca(0x37f));}var Ft={'exports':{}},Xs;function ue(){return Xs||(Xs=0x1,function(_0x475529,_0x1dd709){(function(_0x529364,_0x2f6882){const _0x2a22dc=_0x4081;_0x475529[_0x2a22dc(0x236)]=_0x2f6882();}(Z,function(){var _0x42a0db=_0x42a0db||function(_0x553ddd,_0x3dde1c){const _0x3f3660=_0x4081;var _0x5bdb32;if(typeof window<'u'&&window['crypto']&&(_0x5bdb32=window[_0x3f3660(0x577)]),typeof self<'u'&&self[_0x3f3660(0x577)]&&(_0x5bdb32=self[_0x3f3660(0x577)]),typeof globalThis<'u'&&globalThis[_0x3f3660(0x577)]&&(_0x5bdb32=globalThis[_0x3f3660(0x577)]),!_0x5bdb32&&typeof window<'u'&&window[_0x3f3660(0x193)]&&(_0x5bdb32=window[_0x3f3660(0x193)]),!_0x5bdb32&&typeof Z<'u'&&Z['crypto']&&(_0x5bdb32=Z['crypto']),!_0x5bdb32&&typeof Wa==_0x3f3660(0x4b8))try{_0x5bdb32=require(_0x3f3660(0x577));}catch{}var _0x57d27c=function(){const _0x4aa3ee=_0x3f3660;if(_0x5bdb32){if(typeof _0x5bdb32[_0x4aa3ee(0x342)]==_0x4aa3ee(0x4b8))try{return _0x5bdb32[_0x4aa3ee(0x342)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5bdb32[_0x4aa3ee(0x2dc)]==_0x4aa3ee(0x4b8))try{return _0x5bdb32[_0x4aa3ee(0x2dc)](0x4)[_0x4aa3ee(0x511)]();}catch{}}throw new Error(_0x4aa3ee(0x55a));},_0x744bbb=Object[_0x3f3660(0x54f)]||(function(){function _0x273570(){}return function(_0x4ef8b4){const _0x3b5fd4=_0x4081;var _0x3a9735;return _0x273570[_0x3b5fd4(0x423)]=_0x4ef8b4,_0x3a9735=new _0x273570(),_0x273570['prototype']=null,_0x3a9735;};}()),_0x1ce432={},_0x3657fd=_0x1ce432[_0x3f3660(0x2f1)]={},_0x320273=_0x3657fd['Base']=(function(){return{'extend':function(_0x310a09){const _0x511be7=_0x4081;var _0x166e0d=_0x744bbb(this);return _0x310a09&&_0x166e0d['mixIn'](_0x310a09),(!_0x166e0d[_0x511be7(0x440)](_0x511be7(0x1d6))||this[_0x511be7(0x1d6)]===_0x166e0d[_0x511be7(0x1d6)])&&(_0x166e0d['init']=function(){_0x166e0d['$super']['init']['apply'](this,arguments);}),_0x166e0d['init'][_0x511be7(0x423)]=_0x166e0d,_0x166e0d[_0x511be7(0x4f6)]=this,_0x166e0d;},'create':function(){const _0x2ed2e9=_0x4081;var _0x23e75c=this[_0x2ed2e9(0x187)]();return _0x23e75c[_0x2ed2e9(0x1d6)][_0x2ed2e9(0x568)](_0x23e75c,arguments),_0x23e75c;},'init':function(){},'mixIn':function(_0x2ec74c){const _0x267f35=_0x4081;for(var _0x3fcc75 in _0x2ec74c)_0x2ec74c[_0x267f35(0x440)](_0x3fcc75)&&(this[_0x3fcc75]=_0x2ec74c[_0x3fcc75]);_0x2ec74c[_0x267f35(0x440)]('toString')&&(this[_0x267f35(0x2e5)]=_0x2ec74c[_0x267f35(0x2e5)]);},'clone':function(){const _0x5d1d4e=_0x4081;return this[_0x5d1d4e(0x1d6)][_0x5d1d4e(0x423)][_0x5d1d4e(0x187)](this);}};}()),_0x4e6877=_0x3657fd[_0x3f3660(0x1b3)]=_0x320273[_0x3f3660(0x187)]({'init':function(_0x5ce309,_0x4a96c9){const _0x5135ba=_0x3f3660;_0x5ce309=this[_0x5135ba(0x1fa)]=_0x5ce309||[],_0x4a96c9!=_0x3dde1c?this['sigBytes']=_0x4a96c9:this[_0x5135ba(0x3ad)]=_0x5ce309['length']*0x4;},'toString':function(_0x4d4d81){const _0x287310=_0x3f3660;return(_0x4d4d81||_0x330813)[_0x287310(0x303)](this);},'concat':function(_0x471f07){const _0x120df4=_0x3f3660;var _0x356d82=this[_0x120df4(0x1fa)],_0xe53259=_0x471f07[_0x120df4(0x1fa)],_0x3c1272=this['sigBytes'],_0x3d0f54=_0x471f07[_0x120df4(0x3ad)];if(this['clamp'](),_0x3c1272%0x4)for(var _0x184cff=0x0;_0x184cff<_0x3d0f54;_0x184cff++){var _0x688a5b=_0xe53259[_0x184cff>>>0x2]>>>0x18-_0x184cff%0x4*0x8&0xff;_0x356d82[_0x3c1272+_0x184cff>>>0x2]|=_0x688a5b<<0x18-(_0x3c1272+_0x184cff)%0x4*0x8;}else{for(var _0x473517=0x0;_0x473517<_0x3d0f54;_0x473517+=0x4)_0x356d82[_0x3c1272+_0x473517>>>0x2]=_0xe53259[_0x473517>>>0x2];}return this['sigBytes']+=_0x3d0f54,this;},'clamp':function(){const _0x204520=_0x3f3660;var _0x40211a=this[_0x204520(0x1fa)],_0x4d5e8d=this['sigBytes'];_0x40211a[_0x4d5e8d>>>0x2]&=0xffffffff<<0x20-_0x4d5e8d%0x4*0x8,_0x40211a[_0x204520(0x282)]=_0x553ddd[_0x204520(0x247)](_0x4d5e8d/0x4);},'clone':function(){const _0xcfd7a0=_0x3f3660;var _0x3c7123=_0x320273[_0xcfd7a0(0x431)][_0xcfd7a0(0x1f6)](this);return _0x3c7123['words']=this[_0xcfd7a0(0x1fa)]['slice'](0x0),_0x3c7123;},'random':function(_0x5cc9d1){const _0x1df3fa=_0x3f3660;for(var _0x1cca56=[],_0x23cb62=0x0;_0x23cb62<_0x5cc9d1;_0x23cb62+=0x4)_0x1cca56[_0x1df3fa(0x433)](_0x57d27c());return new _0x4e6877[(_0x1df3fa(0x1d6))](_0x1cca56,_0x5cc9d1);}}),_0x1e927c=_0x1ce432[_0x3f3660(0x522)]={},_0x330813=_0x1e927c[_0x3f3660(0x2ac)]={'stringify':function(_0xc040df){const _0x1cd01a=_0x3f3660;for(var _0x55998e=_0xc040df['words'],_0x5f411b=_0xc040df[_0x1cd01a(0x3ad)],_0x2a36d1=[],_0x245523=0x0;_0x245523<_0x5f411b;_0x245523++){var _0x43acc7=_0x55998e[_0x245523>>>0x2]>>>0x18-_0x245523%0x4*0x8&0xff;_0x2a36d1['push']((_0x43acc7>>>0x4)[_0x1cd01a(0x2e5)](0x10)),_0x2a36d1['push']((_0x43acc7&0xf)[_0x1cd01a(0x2e5)](0x10));}return _0x2a36d1[_0x1cd01a(0x258)]('');},'parse':function(_0x384969){const _0x15f8af=_0x3f3660;for(var _0x104c36=_0x384969[_0x15f8af(0x282)],_0x263113=[],_0x3d46c8=0x0;_0x3d46c8<_0x104c36;_0x3d46c8+=0x2)_0x263113[_0x3d46c8>>>0x3]|=parseInt(_0x384969['substr'](_0x3d46c8,0x2),0x10)<<0x18-_0x3d46c8%0x8*0x4;return new _0x4e6877[(_0x15f8af(0x1d6))](_0x263113,_0x104c36/0x2);}},_0x63663a=_0x1e927c[_0x3f3660(0x3c4)]={'stringify':function(_0x393ee3){const _0x154597=_0x3f3660;for(var _0x37797b=_0x393ee3[_0x154597(0x1fa)],_0x1cffa9=_0x393ee3[_0x154597(0x3ad)],_0xe9f584=[],_0x45807a=0x0;_0x45807a<_0x1cffa9;_0x45807a++){var _0x3e223b=_0x37797b[_0x45807a>>>0x2]>>>0x18-_0x45807a%0x4*0x8&0xff;_0xe9f584[_0x154597(0x433)](String[_0x154597(0x224)](_0x3e223b));}return _0xe9f584[_0x154597(0x258)]('');},'parse':function(_0x4f3bc6){const _0x4c7f63=_0x3f3660;for(var _0x33398a=_0x4f3bc6[_0x4c7f63(0x282)],_0x27ad43=[],_0x3bd8b8=0x0;_0x3bd8b8<_0x33398a;_0x3bd8b8++)_0x27ad43[_0x3bd8b8>>>0x2]|=(_0x4f3bc6[_0x4c7f63(0x4d3)](_0x3bd8b8)&0xff)<<0x18-_0x3bd8b8%0x4*0x8;return new _0x4e6877[(_0x4c7f63(0x1d6))](_0x27ad43,_0x33398a);}},_0x644e59=_0x1e927c['Utf8']={'stringify':function(_0x4c82a5){const _0x296e17=_0x3f3660;try{return decodeURIComponent(escape(_0x63663a[_0x296e17(0x303)](_0x4c82a5)));}catch{throw new Error(_0x296e17(0x3d0));}},'parse':function(_0x57158c){const _0x5d907f=_0x3f3660;return _0x63663a[_0x5d907f(0x57c)](unescape(encodeURIComponent(_0x57158c)));}},_0x4805f6=_0x3657fd[_0x3f3660(0x1b8)]=_0x320273['extend']({'reset':function(){const _0x120692=_0x3f3660;this['_data']=new _0x4e6877[(_0x120692(0x1d6))](),this['_nDataBytes']=0x0;},'_append':function(_0x5c4718){const _0x515456=_0x3f3660;typeof _0x5c4718==_0x515456(0x40c)&&(_0x5c4718=_0x644e59['parse'](_0x5c4718)),this['_data'][_0x515456(0x196)](_0x5c4718),this[_0x515456(0x3b8)]+=_0x5c4718[_0x515456(0x3ad)];},'_process':function(_0xa9cc5e){const _0x33af1b=_0x3f3660;var _0x2d2944,_0x4c488a=this[_0x33af1b(0x2a9)],_0x3f7730=_0x4c488a[_0x33af1b(0x1fa)],_0x3c1f29=_0x4c488a[_0x33af1b(0x3ad)],_0x10d0c4=this['blockSize'],_0x400adb=_0x10d0c4*0x4,_0x246ccb=_0x3c1f29/_0x400adb;_0xa9cc5e?_0x246ccb=_0x553ddd[_0x33af1b(0x247)](_0x246ccb):_0x246ccb=_0x553ddd[_0x33af1b(0x173)]((_0x246ccb|0x0)-this[_0x33af1b(0x1bc)],0x0);var _0x1f2413=_0x246ccb*_0x10d0c4,_0x189699=_0x553ddd[_0x33af1b(0x443)](_0x1f2413*0x4,_0x3c1f29);if(_0x1f2413){for(var _0x3980d2=0x0;_0x3980d2<_0x1f2413;_0x3980d2+=_0x10d0c4)this[_0x33af1b(0x54e)](_0x3f7730,_0x3980d2);_0x2d2944=_0x3f7730['splice'](0x0,_0x1f2413),_0x4c488a[_0x33af1b(0x3ad)]-=_0x189699;}return new _0x4e6877['init'](_0x2d2944,_0x189699);},'clone':function(){const _0x3ee1a6=_0x3f3660;var _0x5e7362=_0x320273[_0x3ee1a6(0x431)][_0x3ee1a6(0x1f6)](this);return _0x5e7362[_0x3ee1a6(0x2a9)]=this[_0x3ee1a6(0x2a9)][_0x3ee1a6(0x431)](),_0x5e7362;},'_minBufferSize':0x0});_0x3657fd['Hasher']=_0x4805f6['extend']({'cfg':_0x320273[_0x3f3660(0x187)](),'init':function(_0x378782){const _0x197361=_0x3f3660;this[_0x197361(0x181)]=this[_0x197361(0x181)][_0x197361(0x187)](_0x378782),this[_0x197361(0x2d7)]();},'reset':function(){const _0x228b50=_0x3f3660;_0x4805f6[_0x228b50(0x2d7)][_0x228b50(0x1f6)](this),this[_0x228b50(0x1c4)]();},'update':function(_0x5d5be8){const _0x377fb1=_0x3f3660;return this[_0x377fb1(0x362)](_0x5d5be8),this[_0x377fb1(0x16f)](),this;},'finalize':function(_0x4297c3){const _0xbe482c=_0x3f3660;_0x4297c3&&this['_append'](_0x4297c3);var _0x4886d8=this[_0xbe482c(0x555)]();return _0x4886d8;},'blockSize':0x10,'_createHelper':function(_0x4df4eb){return function(_0x1d9d21,_0x225419){const _0x195f3e=_0x4081;return new _0x4df4eb['init'](_0x225419)[_0x195f3e(0x2e2)](_0x1d9d21);};},'_createHmacHelper':function(_0x934465){return function(_0xf62b4f,_0x27967b){const _0x4b7fda=_0x4081;return new _0xc8f321[(_0x4b7fda(0x44e))][(_0x4b7fda(0x1d6))](_0x934465,_0x27967b)[_0x4b7fda(0x2e2)](_0xf62b4f);};}});var _0xc8f321=_0x1ce432[_0x3f3660(0x44d)]={};return _0x1ce432;}(Math);return _0x42a0db;}));}(Ft)),Ft['exports'];}var Vt={'exports':{}},Js;function Wi(){const _0x1e6bd5=_0x5bb7a4;return Js||(Js=0x1,function(_0x4ae74d,_0x324aad){(function(_0x478283,_0x232ec){const _0x43abd9=_0x4081;_0x4ae74d[_0x43abd9(0x236)]=_0x232ec(ue());}(Z,function(_0x1aed71){return(function(){const _0x2537cc=_0x4081;var _0x73af1f=_0x1aed71,_0x2449d0=_0x73af1f[_0x2537cc(0x2f1)],_0x573999=_0x2449d0[_0x2537cc(0x1b3)],_0x5aaa1f=_0x73af1f[_0x2537cc(0x522)];_0x5aaa1f['Base64']={'stringify':function(_0x31176c){const _0x5a217a=_0x2537cc;var _0x5b240b=_0x31176c[_0x5a217a(0x1fa)],_0x25fc4e=_0x31176c[_0x5a217a(0x3ad)],_0x32e068=this['_map'];_0x31176c[_0x5a217a(0x551)]();for(var _0x5e98f5=[],_0x5b88a7=0x0;_0x5b88a7<_0x25fc4e;_0x5b88a7+=0x3)for(var _0x4ee2cb=_0x5b240b[_0x5b88a7>>>0x2]>>>0x18-_0x5b88a7%0x4*0x8&0xff,_0x4b534e=_0x5b240b[_0x5b88a7+0x1>>>0x2]>>>0x18-(_0x5b88a7+0x1)%0x4*0x8&0xff,_0x122313=_0x5b240b[_0x5b88a7+0x2>>>0x2]>>>0x18-(_0x5b88a7+0x2)%0x4*0x8&0xff,_0x2858d0=_0x4ee2cb<<0x10|_0x4b534e<<0x8|_0x122313,_0x576349=0x0;_0x576349<0x4&&_0x5b88a7+_0x576349*0.75<_0x25fc4e;_0x576349++)_0x5e98f5[_0x5a217a(0x433)](_0x32e068['charAt'](_0x2858d0>>>0x6*(0x3-_0x576349)&0x3f));var _0x17fd68=_0x32e068['charAt'](0x40);if(_0x17fd68){for(;_0x5e98f5[_0x5a217a(0x282)]%0x4;)_0x5e98f5[_0x5a217a(0x433)](_0x17fd68);}return _0x5e98f5[_0x5a217a(0x258)]('');},'parse':function(_0x2ddb63){const _0x417b75=_0x2537cc;var _0x268dfe=_0x2ddb63[_0x417b75(0x282)],_0x133e93=this[_0x417b75(0x390)],_0xca00ef=this[_0x417b75(0x523)];if(!_0xca00ef){_0xca00ef=this[_0x417b75(0x523)]=[];for(var _0xf51d00=0x0;_0xf51d00<_0x133e93[_0x417b75(0x282)];_0xf51d00++)_0xca00ef[_0x133e93[_0x417b75(0x4d3)](_0xf51d00)]=_0xf51d00;}var _0x5effbb=_0x133e93[_0x417b75(0x504)](0x40);if(_0x5effbb){var _0x34f945=_0x2ddb63[_0x417b75(0x41f)](_0x5effbb);_0x34f945!==-0x1&&(_0x268dfe=_0x34f945);}return _0x307960(_0x2ddb63,_0x268dfe,_0xca00ef);},'_map':_0x2537cc(0x36d)};function _0x307960(_0x263ac5,_0x5341f4,_0xe3d65c){const _0x46b28b=_0x2537cc;for(var _0x4be8d7=[],_0x355cad=0x0,_0x5e5108=0x0;_0x5e5108<_0x5341f4;_0x5e5108++)if(_0x5e5108%0x4){var _0x5be495=_0xe3d65c[_0x263ac5[_0x46b28b(0x4d3)](_0x5e5108-0x1)]<<_0x5e5108%0x4*0x2,_0x56b987=_0xe3d65c[_0x263ac5[_0x46b28b(0x4d3)](_0x5e5108)]>>>0x6-_0x5e5108%0x4*0x2,_0x469f36=_0x5be495|_0x56b987;_0x4be8d7[_0x355cad>>>0x2]|=_0x469f36<<0x18-_0x355cad%0x4*0x8,_0x355cad++;}return _0x573999[_0x46b28b(0x54f)](_0x4be8d7,_0x355cad);}}()),_0x1aed71['enc']['Base64'];}));}(Vt)),Vt[_0x1e6bd5(0x236)];}var Gt={'exports':{}},Zs;function Fa(){const _0x1304f2=_0x5bb7a4;return Zs||(Zs=0x1,function(_0x154387,_0x4cd16a){(function(_0x2fec58,_0x40d5d3){_0x154387['exports']=_0x40d5d3(ue());}(Z,function(_0x435eac){const _0x4f102=_0x4081;return function(_0x1cd82b){const _0x460f07=_0x4081;var _0x2482fc=_0x435eac,_0x1db649=_0x2482fc[_0x460f07(0x2f1)],_0x50b064=_0x1db649[_0x460f07(0x1b3)],_0x271e0e=_0x1db649[_0x460f07(0x332)],_0x325cb2=_0x2482fc[_0x460f07(0x44d)],_0x1e0010=[];(function(){const _0x4507d7=_0x460f07;for(var _0x3eff33=0x0;_0x3eff33<0x40;_0x3eff33++)_0x1e0010[_0x3eff33]=_0x1cd82b[_0x4507d7(0x399)](_0x1cd82b[_0x4507d7(0x524)](_0x3eff33+0x1))*0x100000000|0x0;}());var _0x47b07f=_0x325cb2[_0x460f07(0x36c)]=_0x271e0e[_0x460f07(0x187)]({'_doReset':function(){const _0x1bb6a9=_0x460f07;this[_0x1bb6a9(0x53a)]=new _0x50b064[(_0x1bb6a9(0x1d6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x57b406,_0x4cd6ae){const _0x200976=_0x460f07;for(var _0x1b37bd=0x0;_0x1b37bd<0x10;_0x1b37bd++){var _0x5379d3=_0x4cd6ae+_0x1b37bd,_0x2c7a1d=_0x57b406[_0x5379d3];_0x57b406[_0x5379d3]=(_0x2c7a1d<<0x8|_0x2c7a1d>>>0x18)&0xff00ff|(_0x2c7a1d<<0x18|_0x2c7a1d>>>0x8)&0xff00ff00;}var _0x5321ca=this[_0x200976(0x53a)][_0x200976(0x1fa)],_0x4755f2=_0x57b406[_0x4cd6ae+0x0],_0x1a4fd3=_0x57b406[_0x4cd6ae+0x1],_0x408d3b=_0x57b406[_0x4cd6ae+0x2],_0x203499=_0x57b406[_0x4cd6ae+0x3],_0x3156fe=_0x57b406[_0x4cd6ae+0x4],_0x3f3fbd=_0x57b406[_0x4cd6ae+0x5],_0x3e56ea=_0x57b406[_0x4cd6ae+0x6],_0x3a2c2a=_0x57b406[_0x4cd6ae+0x7],_0x295878=_0x57b406[_0x4cd6ae+0x8],_0x4572b7=_0x57b406[_0x4cd6ae+0x9],_0x712aab=_0x57b406[_0x4cd6ae+0xa],_0x236529=_0x57b406[_0x4cd6ae+0xb],_0x277708=_0x57b406[_0x4cd6ae+0xc],_0x1a31a1=_0x57b406[_0x4cd6ae+0xd],_0x7c0474=_0x57b406[_0x4cd6ae+0xe],_0x24d0b8=_0x57b406[_0x4cd6ae+0xf],_0x656c41=_0x5321ca[0x0],_0x570d6d=_0x5321ca[0x1],_0x2e07a0=_0x5321ca[0x2],_0x233209=_0x5321ca[0x3];_0x656c41=_0x309cdc(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x4755f2,0x7,_0x1e0010[0x0]),_0x233209=_0x309cdc(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x1a4fd3,0xc,_0x1e0010[0x1]),_0x2e07a0=_0x309cdc(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x408d3b,0x11,_0x1e0010[0x2]),_0x570d6d=_0x309cdc(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x203499,0x16,_0x1e0010[0x3]),_0x656c41=_0x309cdc(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x3156fe,0x7,_0x1e0010[0x4]),_0x233209=_0x309cdc(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x3f3fbd,0xc,_0x1e0010[0x5]),_0x2e07a0=_0x309cdc(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x3e56ea,0x11,_0x1e0010[0x6]),_0x570d6d=_0x309cdc(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x3a2c2a,0x16,_0x1e0010[0x7]),_0x656c41=_0x309cdc(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x295878,0x7,_0x1e0010[0x8]),_0x233209=_0x309cdc(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x4572b7,0xc,_0x1e0010[0x9]),_0x2e07a0=_0x309cdc(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x712aab,0x11,_0x1e0010[0xa]),_0x570d6d=_0x309cdc(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x236529,0x16,_0x1e0010[0xb]),_0x656c41=_0x309cdc(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x277708,0x7,_0x1e0010[0xc]),_0x233209=_0x309cdc(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x1a31a1,0xc,_0x1e0010[0xd]),_0x2e07a0=_0x309cdc(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x7c0474,0x11,_0x1e0010[0xe]),_0x570d6d=_0x309cdc(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x24d0b8,0x16,_0x1e0010[0xf]),_0x656c41=_0x233504(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x1a4fd3,0x5,_0x1e0010[0x10]),_0x233209=_0x233504(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x3e56ea,0x9,_0x1e0010[0x11]),_0x2e07a0=_0x233504(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x236529,0xe,_0x1e0010[0x12]),_0x570d6d=_0x233504(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x4755f2,0x14,_0x1e0010[0x13]),_0x656c41=_0x233504(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x3f3fbd,0x5,_0x1e0010[0x14]),_0x233209=_0x233504(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x712aab,0x9,_0x1e0010[0x15]),_0x2e07a0=_0x233504(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x24d0b8,0xe,_0x1e0010[0x16]),_0x570d6d=_0x233504(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x3156fe,0x14,_0x1e0010[0x17]),_0x656c41=_0x233504(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x4572b7,0x5,_0x1e0010[0x18]),_0x233209=_0x233504(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x7c0474,0x9,_0x1e0010[0x19]),_0x2e07a0=_0x233504(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x203499,0xe,_0x1e0010[0x1a]),_0x570d6d=_0x233504(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x295878,0x14,_0x1e0010[0x1b]),_0x656c41=_0x233504(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x1a31a1,0x5,_0x1e0010[0x1c]),_0x233209=_0x233504(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x408d3b,0x9,_0x1e0010[0x1d]),_0x2e07a0=_0x233504(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x3a2c2a,0xe,_0x1e0010[0x1e]),_0x570d6d=_0x233504(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x277708,0x14,_0x1e0010[0x1f]),_0x656c41=_0x95bde1(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x3f3fbd,0x4,_0x1e0010[0x20]),_0x233209=_0x95bde1(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x295878,0xb,_0x1e0010[0x21]),_0x2e07a0=_0x95bde1(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x236529,0x10,_0x1e0010[0x22]),_0x570d6d=_0x95bde1(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x7c0474,0x17,_0x1e0010[0x23]),_0x656c41=_0x95bde1(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x1a4fd3,0x4,_0x1e0010[0x24]),_0x233209=_0x95bde1(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x3156fe,0xb,_0x1e0010[0x25]),_0x2e07a0=_0x95bde1(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x3a2c2a,0x10,_0x1e0010[0x26]),_0x570d6d=_0x95bde1(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x712aab,0x17,_0x1e0010[0x27]),_0x656c41=_0x95bde1(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x1a31a1,0x4,_0x1e0010[0x28]),_0x233209=_0x95bde1(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x4755f2,0xb,_0x1e0010[0x29]),_0x2e07a0=_0x95bde1(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x203499,0x10,_0x1e0010[0x2a]),_0x570d6d=_0x95bde1(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x3e56ea,0x17,_0x1e0010[0x2b]),_0x656c41=_0x95bde1(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x4572b7,0x4,_0x1e0010[0x2c]),_0x233209=_0x95bde1(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x277708,0xb,_0x1e0010[0x2d]),_0x2e07a0=_0x95bde1(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x24d0b8,0x10,_0x1e0010[0x2e]),_0x570d6d=_0x95bde1(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x408d3b,0x17,_0x1e0010[0x2f]),_0x656c41=_0x56fb36(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x4755f2,0x6,_0x1e0010[0x30]),_0x233209=_0x56fb36(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x3a2c2a,0xa,_0x1e0010[0x31]),_0x2e07a0=_0x56fb36(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x7c0474,0xf,_0x1e0010[0x32]),_0x570d6d=_0x56fb36(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x3f3fbd,0x15,_0x1e0010[0x33]),_0x656c41=_0x56fb36(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x277708,0x6,_0x1e0010[0x34]),_0x233209=_0x56fb36(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x203499,0xa,_0x1e0010[0x35]),_0x2e07a0=_0x56fb36(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x712aab,0xf,_0x1e0010[0x36]),_0x570d6d=_0x56fb36(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x1a4fd3,0x15,_0x1e0010[0x37]),_0x656c41=_0x56fb36(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x295878,0x6,_0x1e0010[0x38]),_0x233209=_0x56fb36(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x24d0b8,0xa,_0x1e0010[0x39]),_0x2e07a0=_0x56fb36(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x3e56ea,0xf,_0x1e0010[0x3a]),_0x570d6d=_0x56fb36(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x1a31a1,0x15,_0x1e0010[0x3b]),_0x656c41=_0x56fb36(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x3156fe,0x6,_0x1e0010[0x3c]),_0x233209=_0x56fb36(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x236529,0xa,_0x1e0010[0x3d]),_0x2e07a0=_0x56fb36(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x408d3b,0xf,_0x1e0010[0x3e]),_0x570d6d=_0x56fb36(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x4572b7,0x15,_0x1e0010[0x3f]),_0x5321ca[0x0]=_0x5321ca[0x0]+_0x656c41|0x0,_0x5321ca[0x1]=_0x5321ca[0x1]+_0x570d6d|0x0,_0x5321ca[0x2]=_0x5321ca[0x2]+_0x2e07a0|0x0,_0x5321ca[0x3]=_0x5321ca[0x3]+_0x233209|0x0;},'_doFinalize':function(){const _0x5b1b40=_0x460f07;var _0x5ea5fa=this[_0x5b1b40(0x2a9)],_0x195aae=_0x5ea5fa['words'],_0x202fd9=this[_0x5b1b40(0x3b8)]*0x8,_0x3499b1=_0x5ea5fa[_0x5b1b40(0x3ad)]*0x8;_0x195aae[_0x3499b1>>>0x5]|=0x80<<0x18-_0x3499b1%0x20;var _0x397acd=_0x1cd82b[_0x5b1b40(0x23d)](_0x202fd9/0x100000000),_0x44f647=_0x202fd9;_0x195aae[(_0x3499b1+0x40>>>0x9<<0x4)+0xf]=(_0x397acd<<0x8|_0x397acd>>>0x18)&0xff00ff|(_0x397acd<<0x18|_0x397acd>>>0x8)&0xff00ff00,_0x195aae[(_0x3499b1+0x40>>>0x9<<0x4)+0xe]=(_0x44f647<<0x8|_0x44f647>>>0x18)&0xff00ff|(_0x44f647<<0x18|_0x44f647>>>0x8)&0xff00ff00,_0x5ea5fa[_0x5b1b40(0x3ad)]=(_0x195aae[_0x5b1b40(0x282)]+0x1)*0x4,this[_0x5b1b40(0x16f)]();for(var _0x44cea8=this['_hash'],_0x653a70=_0x44cea8[_0x5b1b40(0x1fa)],_0xc07b7c=0x0;_0xc07b7c<0x4;_0xc07b7c++){var _0x3ab5a4=_0x653a70[_0xc07b7c];_0x653a70[_0xc07b7c]=(_0x3ab5a4<<0x8|_0x3ab5a4>>>0x18)&0xff00ff|(_0x3ab5a4<<0x18|_0x3ab5a4>>>0x8)&0xff00ff00;}return _0x44cea8;},'clone':function(){const _0x3294e0=_0x460f07;var _0x5ef8bd=_0x271e0e[_0x3294e0(0x431)][_0x3294e0(0x1f6)](this);return _0x5ef8bd[_0x3294e0(0x53a)]=this[_0x3294e0(0x53a)][_0x3294e0(0x431)](),_0x5ef8bd;}});function _0x309cdc(_0x33d2be,_0x18cd00,_0x7fddb5,_0x126dbc,_0x1f7106,_0x5f0dc7,_0xabb8f6){var _0x389a48=_0x33d2be+(_0x18cd00&_0x7fddb5|~_0x18cd00&_0x126dbc)+_0x1f7106+_0xabb8f6;return(_0x389a48<<_0x5f0dc7|_0x389a48>>>0x20-_0x5f0dc7)+_0x18cd00;}function _0x233504(_0x57b570,_0x4f99db,_0x4899a8,_0x6fd66c,_0x758dea,_0x44424c,_0x550c21){var _0x5d3dac=_0x57b570+(_0x4f99db&_0x6fd66c|_0x4899a8&~_0x6fd66c)+_0x758dea+_0x550c21;return(_0x5d3dac<<_0x44424c|_0x5d3dac>>>0x20-_0x44424c)+_0x4f99db;}function _0x95bde1(_0x2490c5,_0x4afa55,_0x253341,_0xa54636,_0x5b9907,_0x1636d2,_0x28b665){var _0x425369=_0x2490c5+(_0x4afa55^_0x253341^_0xa54636)+_0x5b9907+_0x28b665;return(_0x425369<<_0x1636d2|_0x425369>>>0x20-_0x1636d2)+_0x4afa55;}function _0x56fb36(_0x758b2e,_0x5ba7a8,_0x1ac8ec,_0x2fb69d,_0x40a75b,_0x250dc2,_0x17b1e4){var _0x4b2a2f=_0x758b2e+(_0x1ac8ec^(_0x5ba7a8|~_0x2fb69d))+_0x40a75b+_0x17b1e4;return(_0x4b2a2f<<_0x250dc2|_0x4b2a2f>>>0x20-_0x250dc2)+_0x5ba7a8;}_0x2482fc[_0x460f07(0x36c)]=_0x271e0e[_0x460f07(0x3ee)](_0x47b07f),_0x2482fc[_0x460f07(0x285)]=_0x271e0e[_0x460f07(0x1d4)](_0x47b07f);}(Math),_0x435eac[_0x4f102(0x36c)];}));}(Gt)),Gt[_0x1304f2(0x236)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function Va(){const _0x6db3bd=_0x5bb7a4;return Qs||(Qs=0x1,function(_0x852991,_0x1a54bc){(function(_0x2c4a02,_0x6cd65d){_0x852991['exports']=_0x6cd65d(ue());}(Z,function(_0x583dab){return(function(){const _0x53f76b=_0x4081;var _0x42c67f=_0x583dab,_0x47f734=_0x42c67f[_0x53f76b(0x2f1)],_0x22efd6=_0x47f734[_0x53f76b(0x1b3)],_0xdb4653=_0x47f734[_0x53f76b(0x332)],_0x46f210=_0x42c67f[_0x53f76b(0x44d)],_0x3819ee=[],_0x4c7df2=_0x46f210[_0x53f76b(0x3b6)]=_0xdb4653[_0x53f76b(0x187)]({'_doReset':function(){const _0x571169=_0x53f76b;this[_0x571169(0x53a)]=new _0x22efd6[(_0x571169(0x1d6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1c2222,_0x2315c6){const _0x4787d4=_0x53f76b;for(var _0x460f63=this[_0x4787d4(0x53a)]['words'],_0x5de972=_0x460f63[0x0],_0x259246=_0x460f63[0x1],_0x57f3d3=_0x460f63[0x2],_0xae7b73=_0x460f63[0x3],_0x131855=_0x460f63[0x4],_0x4dfc1a=0x0;_0x4dfc1a<0x50;_0x4dfc1a++){if(_0x4dfc1a<0x10)_0x3819ee[_0x4dfc1a]=_0x1c2222[_0x2315c6+_0x4dfc1a]|0x0;else{var _0x19e6f7=_0x3819ee[_0x4dfc1a-0x3]^_0x3819ee[_0x4dfc1a-0x8]^_0x3819ee[_0x4dfc1a-0xe]^_0x3819ee[_0x4dfc1a-0x10];_0x3819ee[_0x4dfc1a]=_0x19e6f7<<0x1|_0x19e6f7>>>0x1f;}var _0x1e0bfd=(_0x5de972<<0x5|_0x5de972>>>0x1b)+_0x131855+_0x3819ee[_0x4dfc1a];_0x4dfc1a<0x14?_0x1e0bfd+=(_0x259246&_0x57f3d3|~_0x259246&_0xae7b73)+0x5a827999:_0x4dfc1a<0x28?_0x1e0bfd+=(_0x259246^_0x57f3d3^_0xae7b73)+0x6ed9eba1:_0x4dfc1a<0x3c?_0x1e0bfd+=(_0x259246&_0x57f3d3|_0x259246&_0xae7b73|_0x57f3d3&_0xae7b73)-0x70e44324:_0x1e0bfd+=(_0x259246^_0x57f3d3^_0xae7b73)-0x359d3e2a,_0x131855=_0xae7b73,_0xae7b73=_0x57f3d3,_0x57f3d3=_0x259246<<0x1e|_0x259246>>>0x2,_0x259246=_0x5de972,_0x5de972=_0x1e0bfd;}_0x460f63[0x0]=_0x460f63[0x0]+_0x5de972|0x0,_0x460f63[0x1]=_0x460f63[0x1]+_0x259246|0x0,_0x460f63[0x2]=_0x460f63[0x2]+_0x57f3d3|0x0,_0x460f63[0x3]=_0x460f63[0x3]+_0xae7b73|0x0,_0x460f63[0x4]=_0x460f63[0x4]+_0x131855|0x0;},'_doFinalize':function(){const _0x24ac59=_0x53f76b;var _0x12c5bc=this[_0x24ac59(0x2a9)],_0x404c19=_0x12c5bc[_0x24ac59(0x1fa)],_0x1009ed=this['_nDataBytes']*0x8,_0x351e16=_0x12c5bc[_0x24ac59(0x3ad)]*0x8;return _0x404c19[_0x351e16>>>0x5]|=0x80<<0x18-_0x351e16%0x20,_0x404c19[(_0x351e16+0x40>>>0x9<<0x4)+0xe]=Math[_0x24ac59(0x23d)](_0x1009ed/0x100000000),_0x404c19[(_0x351e16+0x40>>>0x9<<0x4)+0xf]=_0x1009ed,_0x12c5bc[_0x24ac59(0x3ad)]=_0x404c19[_0x24ac59(0x282)]*0x4,this[_0x24ac59(0x16f)](),this[_0x24ac59(0x53a)];},'clone':function(){const _0x1963fc=_0x53f76b;var _0x2fb258=_0xdb4653['clone']['call'](this);return _0x2fb258[_0x1963fc(0x53a)]=this[_0x1963fc(0x53a)]['clone'](),_0x2fb258;}});_0x42c67f[_0x53f76b(0x3b6)]=_0xdb4653[_0x53f76b(0x3ee)](_0x4c7df2),_0x42c67f[_0x53f76b(0x531)]=_0xdb4653['_createHmacHelper'](_0x4c7df2);}()),_0x583dab['SHA1'];}));}(Kt)),Kt[_0x6db3bd(0x236)];}var zt={'exports':{}},ei;function Ga(){const _0xe0163e=_0x5bb7a4;return ei||(ei=0x1,function(_0x489453,_0x22f44e){(function(_0x2b8707,_0x446318){_0x489453['exports']=_0x446318(ue());}(Z,function(_0x25ea10){(function(){const _0x14d214=_0x4081;var _0x17c8a5=_0x25ea10,_0x5f4e9a=_0x17c8a5['lib'],_0x25ab74=_0x5f4e9a[_0x14d214(0x429)],_0x4554a3=_0x17c8a5[_0x14d214(0x522)],_0x361017=_0x4554a3[_0x14d214(0x331)],_0x5cd2e7=_0x17c8a5[_0x14d214(0x44d)];_0x5cd2e7['HMAC']=_0x25ab74[_0x14d214(0x187)]({'init':function(_0x213746,_0x3788a3){const _0x431feb=_0x14d214;_0x213746=this['_hasher']=new _0x213746[(_0x431feb(0x1d6))](),typeof _0x3788a3==_0x431feb(0x40c)&&(_0x3788a3=_0x361017[_0x431feb(0x57c)](_0x3788a3));var _0x39effd=_0x213746[_0x431feb(0x2c0)],_0x4c9226=_0x39effd*0x4;_0x3788a3['sigBytes']>_0x4c9226&&(_0x3788a3=_0x213746[_0x431feb(0x2e2)](_0x3788a3)),_0x3788a3[_0x431feb(0x551)]();for(var _0x3fdf05=this[_0x431feb(0x245)]=_0x3788a3[_0x431feb(0x431)](),_0xbf870d=this[_0x431feb(0x16d)]=_0x3788a3[_0x431feb(0x431)](),_0x12b72c=_0x3fdf05[_0x431feb(0x1fa)],_0x6ab7=_0xbf870d['words'],_0x13577d=0x0;_0x13577d<_0x39effd;_0x13577d++)_0x12b72c[_0x13577d]^=0x5c5c5c5c,_0x6ab7[_0x13577d]^=0x36363636;_0x3fdf05[_0x431feb(0x3ad)]=_0xbf870d['sigBytes']=_0x4c9226,this[_0x431feb(0x2d7)]();},'reset':function(){const _0xe9d616=_0x14d214;var _0x3daf79=this['_hasher'];_0x3daf79[_0xe9d616(0x2d7)](),_0x3daf79[_0xe9d616(0x3c9)](this[_0xe9d616(0x16d)]);},'update':function(_0x146ff3){const _0x277624=_0x14d214;return this['_hasher'][_0x277624(0x3c9)](_0x146ff3),this;},'finalize':function(_0x2b6cd3){const _0x25d959=_0x14d214;var _0x3497a8=this['_hasher'],_0x102c0=_0x3497a8['finalize'](_0x2b6cd3);_0x3497a8[_0x25d959(0x2d7)]();var _0x2cdb62=_0x3497a8[_0x25d959(0x2e2)](this['_oKey'][_0x25d959(0x431)]()[_0x25d959(0x196)](_0x102c0));return _0x2cdb62;}});}());}));}(zt)),zt[_0xe0163e(0x236)];}var ti;function Fi(){return ti||(ti=0x1,function(_0x31ee37,_0x3f2963){(function(_0xa06b0,_0x51f637,_0x1abac8){_0x31ee37['exports']=_0x51f637(ue(),Va(),Ga());}(Z,function(_0x48e2c1){return(function(){const _0x508f32=_0x4081;var _0x5c8d6b=_0x48e2c1,_0x21c4e0=_0x5c8d6b[_0x508f32(0x2f1)],_0x4e2bf4=_0x21c4e0[_0x508f32(0x429)],_0x4760e9=_0x21c4e0[_0x508f32(0x1b3)],_0x849efc=_0x5c8d6b[_0x508f32(0x44d)],_0x14b2ec=_0x849efc[_0x508f32(0x36c)],_0x4d7d11=_0x849efc['EvpKDF']=_0x4e2bf4['extend']({'cfg':_0x4e2bf4['extend']({'keySize':0x80/0x20,'hasher':_0x14b2ec,'iterations':0x1}),'init':function(_0x2d44bf){const _0x334f8b=_0x508f32;this['cfg']=this[_0x334f8b(0x181)][_0x334f8b(0x187)](_0x2d44bf);},'compute':function(_0x3a87d4,_0x5bac6e){const _0x11f0c0=_0x508f32;for(var _0x446f20,_0x599349=this[_0x11f0c0(0x181)],_0x199c95=_0x599349[_0x11f0c0(0x45f)][_0x11f0c0(0x54f)](),_0x2c7ffd=_0x4760e9[_0x11f0c0(0x54f)](),_0x54fb62=_0x2c7ffd['words'],_0x186150=_0x599349['keySize'],_0x3ab258=_0x599349[_0x11f0c0(0x1d0)];_0x54fb62[_0x11f0c0(0x282)]<_0x186150;){_0x446f20&&_0x199c95['update'](_0x446f20),_0x446f20=_0x199c95[_0x11f0c0(0x3c9)](_0x3a87d4)[_0x11f0c0(0x2e2)](_0x5bac6e),_0x199c95[_0x11f0c0(0x2d7)]();for(var _0x1bb496=0x1;_0x1bb496<_0x3ab258;_0x1bb496++)_0x446f20=_0x199c95[_0x11f0c0(0x2e2)](_0x446f20),_0x199c95['reset']();_0x2c7ffd[_0x11f0c0(0x196)](_0x446f20);}return _0x2c7ffd[_0x11f0c0(0x3ad)]=_0x186150*0x4,_0x2c7ffd;}});_0x5c8d6b['EvpKDF']=function(_0x1744f2,_0x109db0,_0x28d11f){const _0x219853=_0x508f32;return _0x4d7d11[_0x219853(0x54f)](_0x28d11f)['compute'](_0x1744f2,_0x109db0);};}()),_0x48e2c1['EvpKDF'];}));}(Yt)),Yt['exports'];}var qt={'exports':{}},si;function Vi(){return si||(si=0x1,function(_0x225d35,_0x1fab56){(function(_0xddb8a3,_0xebdf5b,_0xf76766){const _0x3ca7f9=_0x4081;_0x225d35[_0x3ca7f9(0x236)]=_0xebdf5b(ue(),Fi());}(Z,function(_0x42cb16){const _0x1dd064=_0x4081;_0x42cb16['lib'][_0x1dd064(0x442)]||function(_0x5b7b97){const _0x2f2bb6=_0x1dd064;var _0x55ef83=_0x42cb16,_0x44cca4=_0x55ef83['lib'],_0x431a67=_0x44cca4[_0x2f2bb6(0x429)],_0x26fdbd=_0x44cca4['WordArray'],_0x9c453e=_0x44cca4[_0x2f2bb6(0x1b8)],_0x3b80a3=_0x55ef83[_0x2f2bb6(0x522)];_0x3b80a3['Utf8'];var _0x1d703f=_0x3b80a3[_0x2f2bb6(0x1fc)],_0x46df86=_0x55ef83['algo'],_0x5f44b6=_0x46df86[_0x2f2bb6(0x34b)],_0x15c5f1=_0x44cca4[_0x2f2bb6(0x442)]=_0x9c453e[_0x2f2bb6(0x187)]({'cfg':_0x431a67[_0x2f2bb6(0x187)](),'createEncryptor':function(_0x5e3615,_0x51a2e2){const _0x3e20fb=_0x2f2bb6;return this[_0x3e20fb(0x54f)](this[_0x3e20fb(0x529)],_0x5e3615,_0x51a2e2);},'createDecryptor':function(_0x52f101,_0x33eed1){return this['create'](this['_DEC_XFORM_MODE'],_0x52f101,_0x33eed1);},'init':function(_0x39bea6,_0x401027,_0x4d1f92){const _0x1c13d8=_0x2f2bb6;this[_0x1c13d8(0x181)]=this['cfg'][_0x1c13d8(0x187)](_0x4d1f92),this['_xformMode']=_0x39bea6,this[_0x1c13d8(0x24d)]=_0x401027,this['reset']();},'reset':function(){const _0x123161=_0x2f2bb6;_0x9c453e[_0x123161(0x2d7)]['call'](this),this[_0x123161(0x1c4)]();},'process':function(_0x2cd3a1){const _0x4c8f6b=_0x2f2bb6;return this[_0x4c8f6b(0x362)](_0x2cd3a1),this[_0x4c8f6b(0x16f)]();},'finalize':function(_0x454914){const _0x574d26=_0x2f2bb6;_0x454914&&this[_0x574d26(0x362)](_0x454914);var _0x20a64f=this[_0x574d26(0x555)]();return _0x20a64f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x20b599(_0x26cee0){const _0x43cd19=_0x4081;return typeof _0x26cee0==_0x43cd19(0x40c)?_0x2735c5:_0x4543a7;}return function(_0x53b697){return{'encrypt':function(_0x36c94b,_0x458863,_0x102411){return _0x20b599(_0x458863)['encrypt'](_0x53b697,_0x36c94b,_0x458863,_0x102411);},'decrypt':function(_0x9f01ee,_0x5abc96,_0x263375){const _0x360809=_0x4081;return _0x20b599(_0x5abc96)[_0x360809(0x27b)](_0x53b697,_0x9f01ee,_0x5abc96,_0x263375);}};};}())});_0x44cca4[_0x2f2bb6(0x4c0)]=_0x15c5f1[_0x2f2bb6(0x187)]({'_doFinalize':function(){const _0x4b4045=_0x2f2bb6;var _0xd47c86=this[_0x4b4045(0x16f)](!0x0);return _0xd47c86;},'blockSize':0x1});var _0x151d9f=_0x55ef83['mode']={},_0x1d4696=_0x44cca4[_0x2f2bb6(0x178)]=_0x431a67[_0x2f2bb6(0x187)]({'createEncryptor':function(_0x1c3de8,_0x560a9d){const _0x5662be=_0x2f2bb6;return this[_0x5662be(0x52e)][_0x5662be(0x54f)](_0x1c3de8,_0x560a9d);},'createDecryptor':function(_0x54c9f9,_0x395209){const _0x3b5c57=_0x2f2bb6;return this[_0x3b5c57(0x21e)][_0x3b5c57(0x54f)](_0x54c9f9,_0x395209);},'init':function(_0x32d6a1,_0x5f1d73){const _0x4ca9a1=_0x2f2bb6;this[_0x4ca9a1(0x378)]=_0x32d6a1,this[_0x4ca9a1(0x544)]=_0x5f1d73;}}),_0x42dfa5=_0x151d9f[_0x2f2bb6(0x4e0)]=(function(){const _0x18ae57=_0x2f2bb6;var _0x2f684f=_0x1d4696[_0x18ae57(0x187)]();_0x2f684f[_0x18ae57(0x52e)]=_0x2f684f[_0x18ae57(0x187)]({'processBlock':function(_0x62ad3,_0x2f7d18){const _0xb9f9e8=_0x18ae57;var _0x611256=this[_0xb9f9e8(0x378)],_0x4eb647=_0x611256[_0xb9f9e8(0x2c0)];_0x264633[_0xb9f9e8(0x1f6)](this,_0x62ad3,_0x2f7d18,_0x4eb647),_0x611256[_0xb9f9e8(0x188)](_0x62ad3,_0x2f7d18),this['_prevBlock']=_0x62ad3[_0xb9f9e8(0x3e2)](_0x2f7d18,_0x2f7d18+_0x4eb647);}}),_0x2f684f['Decryptor']=_0x2f684f[_0x18ae57(0x187)]({'processBlock':function(_0x3ad08c,_0xf6610a){const _0x28bb48=_0x18ae57;var _0x2f10b8=this[_0x28bb48(0x378)],_0x2a90c4=_0x2f10b8[_0x28bb48(0x2c0)],_0x1aa2bc=_0x3ad08c[_0x28bb48(0x3e2)](_0xf6610a,_0xf6610a+_0x2a90c4);_0x2f10b8[_0x28bb48(0x460)](_0x3ad08c,_0xf6610a),_0x264633[_0x28bb48(0x1f6)](this,_0x3ad08c,_0xf6610a,_0x2a90c4),this[_0x28bb48(0x169)]=_0x1aa2bc;}});function _0x264633(_0x189367,_0x501d7e,_0x2c8c0c){const _0x407ba8=_0x18ae57;var _0x568f4,_0x19dc4a=this['_iv'];_0x19dc4a?(_0x568f4=_0x19dc4a,this[_0x407ba8(0x544)]=_0x5b7b97):_0x568f4=this[_0x407ba8(0x169)];for(var _0x511654=0x0;_0x511654<_0x2c8c0c;_0x511654++)_0x189367[_0x501d7e+_0x511654]^=_0x568f4[_0x511654];}return _0x2f684f;}()),_0x496ac2=_0x55ef83['pad']={},_0x25c0f3=_0x496ac2[_0x2f2bb6(0x1ed)]={'pad':function(_0x53a1e6,_0x46f8a0){const _0x19e944=_0x2f2bb6;for(var _0x5919f9=_0x46f8a0*0x4,_0x2742d5=_0x5919f9-_0x53a1e6[_0x19e944(0x3ad)]%_0x5919f9,_0x1837e6=_0x2742d5<<0x18|_0x2742d5<<0x10|_0x2742d5<<0x8|_0x2742d5,_0x54c90a=[],_0x3fb44b=0x0;_0x3fb44b<_0x2742d5;_0x3fb44b+=0x4)_0x54c90a[_0x19e944(0x433)](_0x1837e6);var _0x948b2=_0x26fdbd['create'](_0x54c90a,_0x2742d5);_0x53a1e6[_0x19e944(0x196)](_0x948b2);},'unpad':function(_0xd0d498){const _0x402793=_0x2f2bb6;var _0x526a16=_0xd0d498[_0x402793(0x1fa)][_0xd0d498[_0x402793(0x3ad)]-0x1>>>0x2]&0xff;_0xd0d498[_0x402793(0x3ad)]-=_0x526a16;}};_0x44cca4[_0x2f2bb6(0x516)]=_0x15c5f1[_0x2f2bb6(0x187)]({'cfg':_0x15c5f1[_0x2f2bb6(0x181)][_0x2f2bb6(0x187)]({'mode':_0x42dfa5,'padding':_0x25c0f3}),'reset':function(){const _0x5f1b46=_0x2f2bb6;var _0x52601d;_0x15c5f1['reset'][_0x5f1b46(0x1f6)](this);var _0x1e653e=this[_0x5f1b46(0x181)],_0x194541=_0x1e653e['iv'],_0x5336c7=_0x1e653e[_0x5f1b46(0x490)];this['_xformMode']==this[_0x5f1b46(0x529)]?_0x52601d=_0x5336c7[_0x5f1b46(0x34a)]:(_0x52601d=_0x5336c7['createDecryptor'],this['_minBufferSize']=0x1),this['_mode']&&this[_0x5f1b46(0x580)][_0x5f1b46(0x439)]==_0x52601d?this['_mode'][_0x5f1b46(0x1d6)](this,_0x194541&&_0x194541['words']):(this[_0x5f1b46(0x580)]=_0x52601d['call'](_0x5336c7,this,_0x194541&&_0x194541[_0x5f1b46(0x1fa)]),this['_mode'][_0x5f1b46(0x439)]=_0x52601d);},'_doProcessBlock':function(_0x28e229,_0x4d6495){const _0x594ff2=_0x2f2bb6;this[_0x594ff2(0x580)][_0x594ff2(0x50f)](_0x28e229,_0x4d6495);},'_doFinalize':function(){const _0x1eb9ed=_0x2f2bb6;var _0x37da27,_0x4bfa8b=this[_0x1eb9ed(0x181)][_0x1eb9ed(0x4cc)];return this[_0x1eb9ed(0x241)]==this[_0x1eb9ed(0x529)]?(_0x4bfa8b[_0x1eb9ed(0x57e)](this[_0x1eb9ed(0x2a9)],this[_0x1eb9ed(0x2c0)]),_0x37da27=this['_process'](!0x0)):(_0x37da27=this[_0x1eb9ed(0x16f)](!0x0),_0x4bfa8b['unpad'](_0x37da27)),_0x37da27;},'blockSize':0x80/0x20});var _0xd75394=_0x44cca4['CipherParams']=_0x431a67[_0x2f2bb6(0x187)]({'init':function(_0x29caf6){const _0x2156e9=_0x2f2bb6;this[_0x2156e9(0x3a4)](_0x29caf6);},'toString':function(_0x40123d){return(_0x40123d||this['formatter'])['stringify'](this);}}),_0x2283bf=_0x55ef83[_0x2f2bb6(0x27c)]={},_0x1f9474=_0x2283bf[_0x2f2bb6(0x3aa)]={'stringify':function(_0x5df56e){const _0x601f9c=_0x2f2bb6;var _0x4022b7,_0x39736a=_0x5df56e[_0x601f9c(0x2bc)],_0x4383ec=_0x5df56e['salt'];return _0x4383ec?_0x4022b7=_0x26fdbd['create']([0x53616c74,0x65645f5f])['concat'](_0x4383ec)[_0x601f9c(0x196)](_0x39736a):_0x4022b7=_0x39736a,_0x4022b7[_0x601f9c(0x2e5)](_0x1d703f);},'parse':function(_0x596176){const _0x4e2c5a=_0x2f2bb6;var _0x50120e,_0x230d37=_0x1d703f[_0x4e2c5a(0x57c)](_0x596176),_0x1932ef=_0x230d37[_0x4e2c5a(0x1fa)];return _0x1932ef[0x0]==0x53616c74&&_0x1932ef[0x1]==0x65645f5f&&(_0x50120e=_0x26fdbd[_0x4e2c5a(0x54f)](_0x1932ef[_0x4e2c5a(0x3e2)](0x2,0x4)),_0x1932ef[_0x4e2c5a(0x307)](0x0,0x4),_0x230d37[_0x4e2c5a(0x3ad)]-=0x10),_0xd75394[_0x4e2c5a(0x54f)]({'ciphertext':_0x230d37,'salt':_0x50120e});}},_0x4543a7=_0x44cca4[_0x2f2bb6(0x3a1)]=_0x431a67[_0x2f2bb6(0x187)]({'cfg':_0x431a67[_0x2f2bb6(0x187)]({'format':_0x1f9474}),'encrypt':function(_0xb5696a,_0x179787,_0x18f2a5,_0x2b5118){const _0x503023=_0x2f2bb6;_0x2b5118=this['cfg'][_0x503023(0x187)](_0x2b5118);var _0x38600b=_0xb5696a[_0x503023(0x34a)](_0x18f2a5,_0x2b5118),_0x53810c=_0x38600b[_0x503023(0x2e2)](_0x179787),_0x37e88f=_0x38600b[_0x503023(0x181)];return _0xd75394[_0x503023(0x54f)]({'ciphertext':_0x53810c,'key':_0x18f2a5,'iv':_0x37e88f['iv'],'algorithm':_0xb5696a,'mode':_0x37e88f[_0x503023(0x490)],'padding':_0x37e88f[_0x503023(0x4cc)],'blockSize':_0xb5696a['blockSize'],'formatter':_0x2b5118[_0x503023(0x27c)]});},'decrypt':function(_0x90976d,_0x169170,_0x43e81f,_0x18cb40){const _0x16df18=_0x2f2bb6;_0x18cb40=this[_0x16df18(0x181)][_0x16df18(0x187)](_0x18cb40),_0x169170=this[_0x16df18(0x4f5)](_0x169170,_0x18cb40['format']);var _0x13f654=_0x90976d[_0x16df18(0x430)](_0x43e81f,_0x18cb40)[_0x16df18(0x2e2)](_0x169170[_0x16df18(0x2bc)]);return _0x13f654;},'_parse':function(_0x353665,_0x51dc39){const _0x3d35a1=_0x2f2bb6;return typeof _0x353665==_0x3d35a1(0x40c)?_0x51dc39[_0x3d35a1(0x57c)](_0x353665,this):_0x353665;}}),_0x1868f3=_0x55ef83[_0x2f2bb6(0x1a3)]={},_0x390967=_0x1868f3['OpenSSL']={'execute':function(_0xbb6769,_0x5d4f35,_0x1e9d21,_0x4d8ea9,_0x36d8a4){const _0x1761b2=_0x2f2bb6;if(_0x4d8ea9||(_0x4d8ea9=_0x26fdbd[_0x1761b2(0x453)](0x40/0x8)),_0x36d8a4)var _0x385a09=_0x5f44b6['create']({'keySize':_0x5d4f35+_0x1e9d21,'hasher':_0x36d8a4})[_0x1761b2(0x3fb)](_0xbb6769,_0x4d8ea9);else var _0x385a09=_0x5f44b6[_0x1761b2(0x54f)]({'keySize':_0x5d4f35+_0x1e9d21})[_0x1761b2(0x3fb)](_0xbb6769,_0x4d8ea9);var _0x37c85c=_0x26fdbd[_0x1761b2(0x54f)](_0x385a09[_0x1761b2(0x1fa)][_0x1761b2(0x3e2)](_0x5d4f35),_0x1e9d21*0x4);return _0x385a09['sigBytes']=_0x5d4f35*0x4,_0xd75394['create']({'key':_0x385a09,'iv':_0x37c85c,'salt':_0x4d8ea9});}},_0x2735c5=_0x44cca4[_0x2f2bb6(0x4a9)]=_0x4543a7[_0x2f2bb6(0x187)]({'cfg':_0x4543a7[_0x2f2bb6(0x181)][_0x2f2bb6(0x187)]({'kdf':_0x390967}),'encrypt':function(_0x3fdfb5,_0x2e9fb5,_0x314b84,_0x2e718d){const _0x784017=_0x2f2bb6;_0x2e718d=this[_0x784017(0x181)][_0x784017(0x187)](_0x2e718d);var _0x5844dc=_0x2e718d[_0x784017(0x1a3)][_0x784017(0x1f4)](_0x314b84,_0x3fdfb5[_0x784017(0x4dd)],_0x3fdfb5[_0x784017(0x3da)],_0x2e718d['salt'],_0x2e718d[_0x784017(0x45f)]);_0x2e718d['iv']=_0x5844dc['iv'];var _0x22b585=_0x4543a7[_0x784017(0x26f)][_0x784017(0x1f6)](this,_0x3fdfb5,_0x2e9fb5,_0x5844dc[_0x784017(0x275)],_0x2e718d);return _0x22b585[_0x784017(0x3a4)](_0x5844dc),_0x22b585;},'decrypt':function(_0x497b42,_0x38643d,_0x952065,_0x53ccb6){const _0x5ac3da=_0x2f2bb6;_0x53ccb6=this[_0x5ac3da(0x181)]['extend'](_0x53ccb6),_0x38643d=this[_0x5ac3da(0x4f5)](_0x38643d,_0x53ccb6[_0x5ac3da(0x27c)]);var _0x4bac45=_0x53ccb6[_0x5ac3da(0x1a3)][_0x5ac3da(0x1f4)](_0x952065,_0x497b42[_0x5ac3da(0x4dd)],_0x497b42[_0x5ac3da(0x3da)],_0x38643d[_0x5ac3da(0x293)],_0x53ccb6[_0x5ac3da(0x45f)]);_0x53ccb6['iv']=_0x4bac45['iv'];var _0x2a680b=_0x4543a7[_0x5ac3da(0x27b)][_0x5ac3da(0x1f6)](this,_0x497b42,_0x38643d,_0x4bac45[_0x5ac3da(0x275)],_0x53ccb6);return _0x2a680b;}});}();}));}(qt)),qt['exports'];}(function(_0x3c6fe6,_0xe65eab){(function(_0x107372,_0x278fa7,_0x2a742d){const _0xda62d9=_0x4081;_0x3c6fe6[_0xda62d9(0x236)]=_0x278fa7(ue(),Wi(),Fa(),Fi(),Vi());}(Z,function(_0x5d40c2){const _0x59a048=_0x4081;return(function(){const _0x49c0cb=_0x4081;var _0x348ae9=_0x5d40c2,_0x1740f7=_0x348ae9[_0x49c0cb(0x2f1)],_0x1f88cb=_0x1740f7[_0x49c0cb(0x516)],_0x5d024e=_0x348ae9['algo'],_0x1cdb38=[],_0x34183d=[],_0x1c7153=[],_0x56a2fa=[],_0xf5150=[],_0x4f87a0=[],_0x43b877=[],_0x18e1f6=[],_0x5c6ace=[],_0x35991=[];(function(){for(var _0x1d58b7=[],_0x49e2a8=0x0;_0x49e2a8<0x100;_0x49e2a8++)_0x49e2a8<0x80?_0x1d58b7[_0x49e2a8]=_0x49e2a8<<0x1:_0x1d58b7[_0x49e2a8]=_0x49e2a8<<0x1^0x11b;for(var _0x4b15c5=0x0,_0x533ece=0x0,_0x49e2a8=0x0;_0x49e2a8<0x100;_0x49e2a8++){var _0x5184e0=_0x533ece^_0x533ece<<0x1^_0x533ece<<0x2^_0x533ece<<0x3^_0x533ece<<0x4;_0x5184e0=_0x5184e0>>>0x8^_0x5184e0&0xff^0x63,_0x1cdb38[_0x4b15c5]=_0x5184e0,_0x34183d[_0x5184e0]=_0x4b15c5;var _0x12226b=_0x1d58b7[_0x4b15c5],_0x14a85d=_0x1d58b7[_0x12226b],_0x976c54=_0x1d58b7[_0x14a85d],_0x23afb7=_0x1d58b7[_0x5184e0]*0x101^_0x5184e0*0x1010100;_0x1c7153[_0x4b15c5]=_0x23afb7<<0x18|_0x23afb7>>>0x8,_0x56a2fa[_0x4b15c5]=_0x23afb7<<0x10|_0x23afb7>>>0x10,_0xf5150[_0x4b15c5]=_0x23afb7<<0x8|_0x23afb7>>>0x18,_0x4f87a0[_0x4b15c5]=_0x23afb7;var _0x23afb7=_0x976c54*0x1010101^_0x14a85d*0x10001^_0x12226b*0x101^_0x4b15c5*0x1010100;_0x43b877[_0x5184e0]=_0x23afb7<<0x18|_0x23afb7>>>0x8,_0x18e1f6[_0x5184e0]=_0x23afb7<<0x10|_0x23afb7>>>0x10,_0x5c6ace[_0x5184e0]=_0x23afb7<<0x8|_0x23afb7>>>0x18,_0x35991[_0x5184e0]=_0x23afb7,_0x4b15c5?(_0x4b15c5=_0x12226b^_0x1d58b7[_0x1d58b7[_0x1d58b7[_0x976c54^_0x12226b]]],_0x533ece^=_0x1d58b7[_0x1d58b7[_0x533ece]]):_0x4b15c5=_0x533ece=0x1;}}());var _0x4424c4=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5aad3c=_0x5d024e[_0x49c0cb(0x2c4)]=_0x1f88cb['extend']({'_doReset':function(){const _0x2d806f=_0x49c0cb;var _0x5e7691;if(!(this[_0x2d806f(0x2b7)]&&this['_keyPriorReset']===this[_0x2d806f(0x24d)])){for(var _0x418715=this[_0x2d806f(0x380)]=this[_0x2d806f(0x24d)],_0x450d95=_0x418715[_0x2d806f(0x1fa)],_0xd8ca1e=_0x418715['sigBytes']/0x4,_0x183b03=this[_0x2d806f(0x2b7)]=_0xd8ca1e+0x6,_0x2a9e2d=(_0x183b03+0x1)*0x4,_0x292d44=this[_0x2d806f(0x3d1)]=[],_0x1ab74d=0x0;_0x1ab74d<_0x2a9e2d;_0x1ab74d++)_0x1ab74d<_0xd8ca1e?_0x292d44[_0x1ab74d]=_0x450d95[_0x1ab74d]:(_0x5e7691=_0x292d44[_0x1ab74d-0x1],_0x1ab74d%_0xd8ca1e?_0xd8ca1e>0x6&&_0x1ab74d%_0xd8ca1e==0x4&&(_0x5e7691=_0x1cdb38[_0x5e7691>>>0x18]<<0x18|_0x1cdb38[_0x5e7691>>>0x10&0xff]<<0x10|_0x1cdb38[_0x5e7691>>>0x8&0xff]<<0x8|_0x1cdb38[_0x5e7691&0xff]):(_0x5e7691=_0x5e7691<<0x8|_0x5e7691>>>0x18,_0x5e7691=_0x1cdb38[_0x5e7691>>>0x18]<<0x18|_0x1cdb38[_0x5e7691>>>0x10&0xff]<<0x10|_0x1cdb38[_0x5e7691>>>0x8&0xff]<<0x8|_0x1cdb38[_0x5e7691&0xff],_0x5e7691^=_0x4424c4[_0x1ab74d/_0xd8ca1e|0x0]<<0x18),_0x292d44[_0x1ab74d]=_0x292d44[_0x1ab74d-_0xd8ca1e]^_0x5e7691);for(var _0x1b0842=this['_invKeySchedule']=[],_0xee9b2c=0x0;_0xee9b2c<_0x2a9e2d;_0xee9b2c++){var _0x1ab74d=_0x2a9e2d-_0xee9b2c;if(_0xee9b2c%0x4)var _0x5e7691=_0x292d44[_0x1ab74d];else var _0x5e7691=_0x292d44[_0x1ab74d-0x4];_0xee9b2c<0x4||_0x1ab74d<=0x4?_0x1b0842[_0xee9b2c]=_0x5e7691:_0x1b0842[_0xee9b2c]=_0x43b877[_0x1cdb38[_0x5e7691>>>0x18]]^_0x18e1f6[_0x1cdb38[_0x5e7691>>>0x10&0xff]]^_0x5c6ace[_0x1cdb38[_0x5e7691>>>0x8&0xff]]^_0x35991[_0x1cdb38[_0x5e7691&0xff]];}}},'encryptBlock':function(_0xd06df1,_0x410d84){const _0x71e8f7=_0x49c0cb;this['_doCryptBlock'](_0xd06df1,_0x410d84,this[_0x71e8f7(0x3d1)],_0x1c7153,_0x56a2fa,_0xf5150,_0x4f87a0,_0x1cdb38);},'decryptBlock':function(_0x22eb82,_0xcacd52){const _0x4ce6d9=_0x49c0cb;var _0x2c4ecd=_0x22eb82[_0xcacd52+0x1];_0x22eb82[_0xcacd52+0x1]=_0x22eb82[_0xcacd52+0x3],_0x22eb82[_0xcacd52+0x3]=_0x2c4ecd,this[_0x4ce6d9(0x34f)](_0x22eb82,_0xcacd52,this[_0x4ce6d9(0x369)],_0x43b877,_0x18e1f6,_0x5c6ace,_0x35991,_0x34183d);var _0x2c4ecd=_0x22eb82[_0xcacd52+0x1];_0x22eb82[_0xcacd52+0x1]=_0x22eb82[_0xcacd52+0x3],_0x22eb82[_0xcacd52+0x3]=_0x2c4ecd;},'_doCryptBlock':function(_0x296970,_0x44a3c0,_0xf85c06,_0xa19b6,_0x3dec56,_0x29678d,_0x396775,_0x125520){const _0x2d8305=_0x49c0cb;for(var _0x25f32c=this[_0x2d8305(0x2b7)],_0x4d7b01=_0x296970[_0x44a3c0]^_0xf85c06[0x0],_0x2ab42e=_0x296970[_0x44a3c0+0x1]^_0xf85c06[0x1],_0x118026=_0x296970[_0x44a3c0+0x2]^_0xf85c06[0x2],_0x548b6a=_0x296970[_0x44a3c0+0x3]^_0xf85c06[0x3],_0x17514f=0x4,_0x2b3bf6=0x1;_0x2b3bf6<_0x25f32c;_0x2b3bf6++){var _0x220d9f=_0xa19b6[_0x4d7b01>>>0x18]^_0x3dec56[_0x2ab42e>>>0x10&0xff]^_0x29678d[_0x118026>>>0x8&0xff]^_0x396775[_0x548b6a&0xff]^_0xf85c06[_0x17514f++],_0x14794f=_0xa19b6[_0x2ab42e>>>0x18]^_0x3dec56[_0x118026>>>0x10&0xff]^_0x29678d[_0x548b6a>>>0x8&0xff]^_0x396775[_0x4d7b01&0xff]^_0xf85c06[_0x17514f++],_0x5e0db8=_0xa19b6[_0x118026>>>0x18]^_0x3dec56[_0x548b6a>>>0x10&0xff]^_0x29678d[_0x4d7b01>>>0x8&0xff]^_0x396775[_0x2ab42e&0xff]^_0xf85c06[_0x17514f++],_0x3fe4f5=_0xa19b6[_0x548b6a>>>0x18]^_0x3dec56[_0x4d7b01>>>0x10&0xff]^_0x29678d[_0x2ab42e>>>0x8&0xff]^_0x396775[_0x118026&0xff]^_0xf85c06[_0x17514f++];_0x4d7b01=_0x220d9f,_0x2ab42e=_0x14794f,_0x118026=_0x5e0db8,_0x548b6a=_0x3fe4f5;}var _0x220d9f=(_0x125520[_0x4d7b01>>>0x18]<<0x18|_0x125520[_0x2ab42e>>>0x10&0xff]<<0x10|_0x125520[_0x118026>>>0x8&0xff]<<0x8|_0x125520[_0x548b6a&0xff])^_0xf85c06[_0x17514f++],_0x14794f=(_0x125520[_0x2ab42e>>>0x18]<<0x18|_0x125520[_0x118026>>>0x10&0xff]<<0x10|_0x125520[_0x548b6a>>>0x8&0xff]<<0x8|_0x125520[_0x4d7b01&0xff])^_0xf85c06[_0x17514f++],_0x5e0db8=(_0x125520[_0x118026>>>0x18]<<0x18|_0x125520[_0x548b6a>>>0x10&0xff]<<0x10|_0x125520[_0x4d7b01>>>0x8&0xff]<<0x8|_0x125520[_0x2ab42e&0xff])^_0xf85c06[_0x17514f++],_0x3fe4f5=(_0x125520[_0x548b6a>>>0x18]<<0x18|_0x125520[_0x4d7b01>>>0x10&0xff]<<0x10|_0x125520[_0x2ab42e>>>0x8&0xff]<<0x8|_0x125520[_0x118026&0xff])^_0xf85c06[_0x17514f++];_0x296970[_0x44a3c0]=_0x220d9f,_0x296970[_0x44a3c0+0x1]=_0x14794f,_0x296970[_0x44a3c0+0x2]=_0x5e0db8,_0x296970[_0x44a3c0+0x3]=_0x3fe4f5;},'keySize':0x100/0x20});_0x348ae9[_0x49c0cb(0x2c4)]=_0x1f88cb[_0x49c0cb(0x3ee)](_0x5aad3c);}()),_0x5d40c2[_0x59a048(0x2c4)];}));}(ki));var Ya=ki[_0x5bb7a4(0x236)];const Ka=at(Ya);var za=Wi();const ii=at(za);var Gi={'exports':{}};(function(_0x44b7b9,_0x37df8a){(function(_0x55a35a,_0x1173dd){const _0x239f9a=_0x4081;_0x44b7b9[_0x239f9a(0x236)]=_0x1173dd(ue());}(Z,function(_0x57819e){return _0x57819e['enc']['Utf8'];}));}(Gi));var qa=Gi[_0x5bb7a4(0x236)];const Xa=at(qa);var Yi={'exports':{}};(function(_0x215e92,_0x1c5792){(function(_0x2d2c8d,_0x12fd4e){const _0x204f59=_0x4081;_0x215e92[_0x204f59(0x236)]=_0x12fd4e(ue());}(Z,function(_0x35f3b9){const _0x4785f0=_0x4081;return(function(){const _0x374518=_0x4081;if(typeof ArrayBuffer==_0x374518(0x4b8)){var _0x10b2f9=_0x35f3b9,_0x5bff3a=_0x10b2f9['lib'],_0x1d925c=_0x5bff3a[_0x374518(0x1b3)],_0x25cc5d=_0x1d925c[_0x374518(0x1d6)],_0x7d0f0a=_0x1d925c[_0x374518(0x1d6)]=function(_0x47e372){const _0x16af44=_0x374518;if(_0x47e372 instanceof ArrayBuffer&&(_0x47e372=new Uint8Array(_0x47e372)),(_0x47e372 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x47e372 instanceof Uint8ClampedArray||_0x47e372 instanceof Int16Array||_0x47e372 instanceof Uint16Array||_0x47e372 instanceof Int32Array||_0x47e372 instanceof Uint32Array||_0x47e372 instanceof Float32Array||_0x47e372 instanceof Float64Array)&&(_0x47e372=new Uint8Array(_0x47e372[_0x16af44(0x57b)],_0x47e372[_0x16af44(0x2bd)],_0x47e372[_0x16af44(0x4ff)])),_0x47e372 instanceof Uint8Array){for(var _0xa0fcf8=_0x47e372['byteLength'],_0x2c2afd=[],_0x31d4e6=0x0;_0x31d4e6<_0xa0fcf8;_0x31d4e6++)_0x2c2afd[_0x31d4e6>>>0x2]|=_0x47e372[_0x31d4e6]<<0x18-_0x31d4e6%0x4*0x8;_0x25cc5d[_0x16af44(0x1f6)](this,_0x2c2afd,_0xa0fcf8);}else _0x25cc5d[_0x16af44(0x568)](this,arguments);};_0x7d0f0a['prototype']=_0x1d925c;}}()),_0x35f3b9['lib'][_0x4785f0(0x1b3)];}));}(Yi));var Ja=Yi['exports'];const Za=at(Ja);var Ki={'exports':{}};(function(_0x218af6,_0x9d0c7d){(function(_0x5eedf1,_0x1cf7fd,_0x10ae64){const _0x485ec0=_0x4081;_0x218af6[_0x485ec0(0x236)]=_0x1cf7fd(ue(),Vi());}(Z,function(_0x574897){const _0x3c4e59=_0x4081;return _0x574897[_0x3c4e59(0x57e)][_0x3c4e59(0x540)]={'pad':function(){},'unpad':function(){}},_0x574897[_0x3c4e59(0x57e)][_0x3c4e59(0x540)];}));}(Ki));var Qa=Ki[_0x5bb7a4(0x236)];const ec=at(Qa);function tc(_0x56c7f3,_0x1766a6){const _0x452570=_0x5bb7a4,_0x441abd=_0x1766a6-_0x56c7f3[_0x452570(0x282)]%_0x1766a6,_0x55b041=String[_0x452570(0x224)](_0x441abd)[_0x452570(0x39f)](_0x441abd);return _0x56c7f3+_0x55b041;}function sc(_0x4e54d2,_0x4825e2){const _0x484f86=_0x5bb7a4,_0x2ab157=Za['random'](0x10),_0x92660a=tc(_0x4e54d2,0x10),_0x243094=Ka['encrypt'](Xa[_0x484f86(0x57c)](_0x92660a),ii['parse'](_0x4825e2),{'iv':_0x2ab157,'padding':ec});return _0x2ab157[_0x484f86(0x196)](_0x243094[_0x484f86(0x2bc)])['toString'](ii);}function ic(){const _0x36e961=_0x5bb7a4,_0x34b503=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x34b503){const _0x5db3ee={'time':Math[_0x36e961(0x23d)](Date[_0x36e961(0x3d2)]()/0x3e8),'domain':location[_0x36e961(0x186)]};return sc(JSON[_0x36e961(0x303)](_0x5db3ee),_0x34b503);}}var nc=Object[_0x5bb7a4(0x42b)],rc=Object[_0x5bb7a4(0x4e4)],oc=(_0x3a5ca1,_0x19b160,_0x2e0749,_0x5089c9)=>{const _0x3bfc22=_0x5bb7a4;for(var _0x3b88ee=_0x5089c9>0x1?void 0x0:_0x5089c9?rc(_0x19b160,_0x2e0749):_0x19b160,_0x288fbf=_0x3a5ca1[_0x3bfc22(0x282)]-0x1,_0x102361;_0x288fbf>=0x0;_0x288fbf--)(_0x102361=_0x3a5ca1[_0x288fbf])&&(_0x3b88ee=(_0x5089c9?_0x102361(_0x19b160,_0x2e0749,_0x3b88ee):_0x102361(_0x3b88ee))||_0x3b88ee);return _0x5089c9&&_0x3b88ee&&nc(_0x19b160,_0x2e0749,_0x3b88ee),_0x3b88ee;},ac=(_0x2f5fd6,_0x1c3eda)=>(_0x460f5c,_0x48ab30)=>_0x1c3eda(_0x460f5c,_0x48ab30,_0x2f5fd6);let bt=class{constructor(_0x3fad23){const _0x20a47a=_0x5bb7a4;this[_0x20a47a(0x1be)]=_0x3fad23,this[_0x20a47a(0x42c)]();}['_initRequestHeader'](){const _0x3e7be3=_0x5bb7a4;this['_httpService'][_0x3e7be3(0x4a6)]({'interceptor':(_0x393f84,_0x9532ce)=>{const _0x543f9b=_0x3e7be3,_0x199a1a=_0x393f84['headers'],_0x558402=ic();return _0x558402&&_0x199a1a[_0x543f9b(0x441)](_0x543f9b(0x189),_0x558402),_0x9532ce(_0x393f84);}});}};bt=oc([ac(0x0,_0x22a3e1(_0x41156a))],bt);var cc=Object[_0x5bb7a4(0x42b)],hc=Object[_0x5bb7a4(0x4e4)],lc=(_0x8a3ca4,_0x15b08e,_0x297682,_0x1d28de)=>{const _0x214d8a=_0x5bb7a4;for(var _0x323a33=_0x1d28de>0x1?void 0x0:_0x1d28de?hc(_0x15b08e,_0x297682):_0x15b08e,_0x3a129a=_0x8a3ca4[_0x214d8a(0x282)]-0x1,_0x421024;_0x3a129a>=0x0;_0x3a129a--)(_0x421024=_0x8a3ca4[_0x3a129a])&&(_0x323a33=(_0x1d28de?_0x421024(_0x15b08e,_0x297682,_0x323a33):_0x421024(_0x323a33))||_0x323a33);return _0x1d28de&&_0x323a33&&cc(_0x15b08e,_0x297682,_0x323a33),_0x323a33;},Xt=(_0x59524a,_0x378327)=>(_0x3ad4d4,_0x289978)=>_0x378327(_0x3ad4d4,_0x289978,_0x59524a);const _c=[_0x5bb7a4(0x510),_0x5bb7a4(0x300),_0x5bb7a4(0x3f7),_0x5bb7a4(0x316),_0x5bb7a4(0x454)],uc=0x5*0x400*0x400,dc=_0x5bb7a4(0x435),fc=_0x5bb7a4(0x2c3),vc=_0x5bb7a4(0x36e),mc=_0x5bb7a4(0x16b);let hs=class{constructor(_0x475602,_0x16abbe,_0x587f99){const _0x22d446=_0x5bb7a4;g(this,_0x22d446(0x3ac),0x0),g(this,_0x22d446(0x2bb),new _0x1b179a()),g(this,_0x22d446(0x1fb),this[_0x22d446(0x2bb)]),g(this,_0x22d446(0x1e0),new Map()),(this[_0x22d446(0x1be)]=_0x475602,this[_0x22d446(0x23e)]=_0x16abbe,this['_univerInstanceService']=_0x587f99);}[_0x5bb7a4(0x572)](_0x37dea6){const _0x2ef9df=_0x5bb7a4;this['_waitCount']=_0x37dea6,this[_0x2ef9df(0x2bb)][_0x2ef9df(0x3ff)](_0x37dea6);}[_0x5bb7a4(0x4c1)](_0x5227b7,_0x27d765){const _0xfd9165=_0x5bb7a4;if(_0x27d765===_0x40ad48[_0xfd9165(0x39d)]){const _0x5d74d5=new Image();return _0x5d74d5[_0xfd9165(0x3b5)]=_0x5227b7,_0x5d74d5;}return this['_imageSourceCache'][_0xfd9165(0x4f7)](_0x5227b7);}[_0x5bb7a4(0x284)](_0x19997c,_0x976905,_0x5b20c8){const _0x50eb18=_0x5bb7a4;_0x976905===_0x40ad48[_0x50eb18(0x39d)]||_0x5b20c8==null||this[_0x50eb18(0x1e0)][_0x50eb18(0x441)](_0x19997c,_0x5b20c8);}async['getImage'](_0x53cf9b){const _0x1c858c=_0x5bb7a4;try{const _0x3795af=this[_0x1c858c(0x578)](this[_0x1c858c(0x4a2)](),''+_0x53cf9b),_0x206edd=(await this['_httpService'][_0x1c858c(0x4f7)](_0x3795af))['body'];if(_0x206edd[_0x1c858c(0x17b)]&&_0x206edd[_0x1c858c(0x17b)][_0x1c858c(0x4bd)]===Ri['OK']){const _0x18b0aa=new URL(_0x206edd[_0x1c858c(0x217)],this[_0x1c858c(0x304)]())[_0x1c858c(0x2e5)]();return Promise['resolve'](_0x18b0aa);}return Promise[_0x1c858c(0x288)](_0x206edd[_0x1c858c(0x17b)]);}catch(_0x2c87e8){return Promise['reject'](_0x2c87e8);}}async[_0x5bb7a4(0x2aa)](_0xf51e61){const _0x6e61c8=_0x5bb7a4;let _0x450d75='';if(!_c['includes'](_0xf51e61[_0x6e61c8(0x27e)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1d459e['ERROR_IMAGE_TYPE']));if(_0xf51e61[_0x6e61c8(0x35a)]>uc)return this[_0x6e61c8(0x487)](),Promise['reject'](new Error(_0x1d459e[_0x6e61c8(0x2b4)]));try{const _0x14c5b6=new FormData();_0x14c5b6[_0x6e61c8(0x391)]('file',_0xf51e61);const _0x3a790d=this[_0x6e61c8(0x21d)][_0x6e61c8(0x1dd)](),_0x284b7e=_0x3a790d==null?void 0x0:_0x3a790d[_0x6e61c8(0x322)]();if(!_0x284b7e)throw new Error(_0x6e61c8(0x252));const _0x14b4e9=this[_0x6e61c8(0x18d)]()+_0x6e61c8(0x253)+_0xf51e61[_0x6e61c8(0x35a)]['toString']()+_0x6e61c8(0x179)+yi[_0x6e61c8(0x48f)]+_0x6e61c8(0x209)+encodeURIComponent(_0x284b7e),_0x16339e=await(await fetch(_0x14b4e9,{'method':_0x6e61c8(0x2bf),'body':_0x14c5b6}))['json']();if(typeof _0x16339e[_0x6e61c8(0x352)]!=_0x6e61c8(0x40c))return this[_0x6e61c8(0x487)](),Promise['reject'](new Error(_0x1d459e[_0x6e61c8(0x3c6)]));_0x450d75=_0x16339e[_0x6e61c8(0x352)];}catch{return this[_0x6e61c8(0x487)](),Promise[_0x6e61c8(0x288)](new Error(_0x1d459e['ERROR_IMAGE']));}return new Promise((_0x25de52,_0x425521)=>{const _0x391fc8=_0x6e61c8,_0x365283=new FileReader();_0x365283[_0x391fc8(0x3c8)](_0xf51e61),_0x365283[_0x391fc8(0x264)]=_0x5ee3fb=>{const _0x128924=_0x391fc8;var _0x40ed4e;const _0x5079b9=(_0x40ed4e=_0x5ee3fb['target'])==null?void 0x0:_0x40ed4e[_0x128924(0x1b0)];if(_0x5079b9==null){this[_0x128924(0x487)](),_0x425521(new Error(_0x1d459e['ERROR_IMAGE']));return;}const _0x443ebe=_0x41d014[_0x128924(0x4d1)](0x6);_0x25de52({'imageId':_0x443ebe,'imageSourceType':_0x40ad48['UUID'],'source':_0x450d75,'base64Cache':_0x5079b9,'status':_0x1d459e[_0x128924(0x450)]}),this[_0x128924(0x487)]();};});}['_getUploadFileURL'](){const _0x26b021=_0x5bb7a4;var _0x2088c3,_0x3cdc04;const _0x147e5e=this['_configService'][_0x26b021(0x447)](dc),_0x1c0821=this[_0x26b021(0x23e)][_0x26b021(0x447)](ie);return(_0x3cdc04=(_0x2088c3=_0x1c0821==null?void 0x0:_0x1c0821['uploadFileServerUrl'])!=null?_0x2088c3:_0x147e5e)!=null?_0x3cdc04:fc;}['_getSignURL'](){const _0x329947=_0x5bb7a4;var _0x441826,_0x1d291f;const _0x18f882=this['_configService'][_0x329947(0x447)](vc),_0x914ec2=this[_0x329947(0x23e)][_0x329947(0x447)](ie);return(_0x1d291f=(_0x441826=_0x914ec2==null?void 0x0:_0x914ec2['signUrlServerUrl'])!=null?_0x441826:_0x18f882)!=null?_0x1d291f:mc;}['_getDownloadEndpointURL'](){const _0x3496b3=_0x5bb7a4;var _0x4672cd;const _0x145273=this[_0x3496b3(0x23e)][_0x3496b3(0x447)](ie);return(_0x4672cd=_0x145273==null?void 0x0:_0x145273[_0x3496b3(0x509)])!=null?_0x4672cd:location[_0x3496b3(0x525)];}[_0x5bb7a4(0x578)](_0x42129e,_0x337105){const _0x194a76=_0x5bb7a4;return _0x42129e['replace'](_0x194a76(0x44f),_0x337105);}[_0x5bb7a4(0x487)](){const _0x4b6188=_0x5bb7a4;this[_0x4b6188(0x3ac)]-=0x1,this[_0x4b6188(0x2bb)][_0x4b6188(0x3ff)](this[_0x4b6188(0x3ac)]);}};hs=lc([Xt(0x0,_0x22a3e1(_0x41156a)),Xt(0x1,_0x2bb536),Xt(0x2,_0x22a3e1(_0x2e0534))],hs);var pc=Object['defineProperty'],gc=Object['getOwnPropertyDescriptor'],Sc=(_0x386d11,_0xd35466,_0x241309,_0x1b15b3)=>{for(var _0x30c828=_0x1b15b3>0x1?void 0x0:_0x1b15b3?gc(_0xd35466,_0x241309):_0xd35466,_0x6eb0c9=_0x386d11['length']-0x1,_0x9043a6;_0x6eb0c9>=0x0;_0x6eb0c9--)(_0x9043a6=_0x386d11[_0x6eb0c9])&&(_0x30c828=(_0x1b15b3?_0x9043a6(_0xd35466,_0x241309,_0x30c828):_0x9043a6(_0x30c828))||_0x30c828);return _0x1b15b3&&_0x30c828&&pc(_0xd35466,_0x241309,_0x30c828),_0x30c828;},Qe=(_0x5f00ae,_0xf1392f)=>(_0x7947b3,_0x379677)=>_0xf1392f(_0x7947b3,_0x379677,_0x5f00ae);let Tt=class extends _0x177a9e{constructor(_0x5f16f0,_0x3a1f03,_0x76bdf1,_0x472bda,_0x5e8d6c){const _0xdda2d8=_0x5bb7a4;super(),this[_0xdda2d8(0x338)]=_0x5f16f0,this['_univerInstanceService']=_0x3a1f03,this['_permissionService']=_0x76bdf1,this[_0xdda2d8(0x29b)]=_0x472bda,this[_0xdda2d8(0x4ab)]=_0x5e8d6c,this[_0xdda2d8(0x2d0)](),this[_0xdda2d8(0x513)]();}[_0x5bb7a4(0x513)](){const _0x1e1e6a=_0x5bb7a4,_0x24f0fc=async _0x1e8fda=>{const _0x4c2a8a=_0x4081;(await this['_collaborationSessionService'][_0x4c2a8a(0x2c7)](_0x1e8fda))[_0x4c2a8a(0x3e4)][_0x4c2a8a(0x3f1)](_0x5a0a20(_0x54f8e0=>_0x54f8e0[_0x4c2a8a(0x479)]===_0x45d469[_0x4c2a8a(0x413)]),_0x216286(this[_0x4c2a8a(0x492)]))['subscribe'](_0x208c67=>{const _0x3d9651=_0x4c2a8a,_0x4ce0fb=_0x208c67,{reason:_0x27c71f}=_0x4ce0fb['data'];this['_injector'][_0x3d9651(0x4f7)](_0x38087f)[_0x3d9651(0x18e)]({'type':_0x3417d7[_0x3d9651(0x3cb)],'content':this[_0x3d9651(0x4ab)]['t'](_0x3d9651(0x3f8))+'('+_0x27c71f+')'}),this[_0x3d9651(0x167)][_0x3d9651(0x3fc)](new _0x272dbd(_0x1e8fda)['id'],!0x1),this[_0x3d9651(0x29b)][_0x3d9651(0x165)](_0x1e8fda);});};_0x4e4735(this[_0x1e1e6a(0x21d)][_0x1e1e6a(0x4aa)](_0x10a997['UNIVER_SHEET']),this[_0x1e1e6a(0x21d)][_0x1e1e6a(0x4aa)](_0x10a997[_0x1e1e6a(0x172)]))[_0x1e1e6a(0x3f1)](_0x17141f(_0x1feb9f=>_0x1feb9f['getUnitId']()),_0x5a0a20(_0x40404f=>!_0x503b7a(_0x40404f)),_0x216286(this[_0x1e1e6a(0x492)]))[_0x1e1e6a(0x519)](_0x4e4962=>{_0x24f0fc(_0x4e4962);});}[_0x5bb7a4(0x2d0)](){const _0x294c57=_0x5bb7a4,_0x704bc8=async _0xa01953=>{const _0x58e53e=_0x4081;(await this[_0x58e53e(0x29b)][_0x58e53e(0x2c7)](_0xa01953))['event$'][_0x58e53e(0x3f1)](_0x5a0a20(_0x1626c7=>_0x1626c7[_0x58e53e(0x479)]===_0x45d469['UPDATE_PERMISSION_OBJ']),_0x216286(this[_0x58e53e(0x492)]))['subscribe'](_0x1eafa5=>{const _0x546d1b=_0x58e53e,_0x8f561b=_0x1eafa5,{objectId:_0x2d5de4}=_0x8f561b[_0x546d1b(0x2d5)],_0x2053c2=this[_0x546d1b(0x338)][_0x546d1b(0x4f7)](_0x496cb9);_0x2d5de4===_0xa01953?_0x2053c2[_0x546d1b(0x2df)](_0xa01953):_0x2053c2[_0x546d1b(0x324)](_0xa01953,_0x2d5de4);});};_0x4e4735(this[_0x294c57(0x21d)][_0x294c57(0x4aa)](_0x10a997['UNIVER_SHEET']),this[_0x294c57(0x21d)][_0x294c57(0x4aa)](_0x10a997[_0x294c57(0x172)]))[_0x294c57(0x3f1)](_0x17141f(_0x3fe619=>_0x3fe619[_0x294c57(0x322)]()),_0x5a0a20(_0x599710=>!_0x503b7a(_0x599710)),_0x216286(this[_0x294c57(0x492)]))['subscribe'](_0x548f91=>{_0x704bc8(_0x548f91);});}};Tt=Sc([Qe(0x0,_0x22a3e1(_0x4c5160)),Qe(0x1,_0x2e0534),Qe(0x2,_0x59e41b),Qe(0x3,_0x22a3e1(Ae)),Qe(0x4,_0x22a3e1(_0x1fdc1b))],Tt);var Ic=Object['defineProperty'],Cc=Object[_0x5bb7a4(0x4e4)],Ec=(_0x4184dc,_0x177743,_0x1087e6,_0x4218e9)=>{const _0x2a0b17=_0x5bb7a4;for(var _0x4d9cf8=_0x4218e9>0x1?void 0x0:_0x4218e9?Cc(_0x177743,_0x1087e6):_0x177743,_0x4abbfa=_0x4184dc[_0x2a0b17(0x282)]-0x1,_0x33b4ef;_0x4abbfa>=0x0;_0x4abbfa--)(_0x33b4ef=_0x4184dc[_0x4abbfa])&&(_0x4d9cf8=(_0x4218e9?_0x33b4ef(_0x177743,_0x1087e6,_0x4d9cf8):_0x33b4ef(_0x4d9cf8))||_0x4d9cf8);return _0x4218e9&&_0x4d9cf8&&Ic(_0x177743,_0x1087e6,_0x4d9cf8),_0x4d9cf8;},ni=(_0x433cb9,_0x162526)=>(_0xbd3340,_0x3a6994)=>_0x162526(_0xbd3340,_0x3a6994,_0x433cb9);let ls=class{constructor(_0x2ca354,_0x3eee8f){const _0x130a7f=_0x5bb7a4;this[_0x130a7f(0x23e)]=_0x2ca354,this[_0x130a7f(0x1be)]=_0x3eee8f;}async[_0x5bb7a4(0x481)](_0x1ad7c6,_0x41f102){const _0x180cc6=_0x5bb7a4;var _0x176004;const {unitID:_0xe46b31,type:_0x567bc2,revision:_0x5cd4c0=0x0}=_0x41f102,_0x39452d=this['_getSnapshotAPIPrefix']()+'/'+_0x567bc2+'/unit/'+_0xe46b31+_0x180cc6(0x1f8)+_0x5cd4c0,_0x13d9c2=(await this[_0x180cc6(0x1be)][_0x180cc6(0x4f7)](_0x39452d))['body'],_0xdf2817=(_0x176004=_0x13d9c2[_0x180cc6(0x49c)])==null?void 0x0:_0x176004[_0x180cc6(0x2cb)];if(_0xdf2817){const _0x514ca5=_0xdf2817==null?void 0x0:_0xdf2817[_0x180cc6(0x405)],_0x130e09=_0x1a843b['encode'](_0x286b30(_0x514ca5));_0xdf2817[_0x180cc6(0x405)]=_0x130e09,Object[_0x180cc6(0x420)](_0xdf2817['sheets'])[_0x180cc6(0x312)](([,_0x340201])=>{const _0x3c8831=_0x180cc6,_0x865ecd=_0x340201[_0x3c8831(0x405)],_0x215f3b=_0x1a843b[_0x3c8831(0x226)](_0x286b30(_0x865ecd));_0x340201[_0x3c8831(0x405)]=_0x215f3b;});}return _0x13d9c2;}async[_0x5bb7a4(0x50a)](_0x53dd63,_0x25793d){const _0x1d866f=_0x5bb7a4,{unitID:_0x283a74,type:_0x4de57f,blockID:_0x4f5538}=_0x25793d,_0x23d2a8=this['_getAPIPrefix']()+'/'+_0x4de57f+_0x1d866f(0x19a)+_0x283a74+_0x1d866f(0x237)+_0x4f5538;return(await this[_0x1d866f(0x1be)][_0x1d866f(0x4f7)](_0x23d2a8))[_0x1d866f(0x1ab)];}async[_0x5bb7a4(0x382)](_0x140bd5,_0x42b9aa){const _0x15eb72=_0x5bb7a4,{unitID:_0x16dce6,type:_0xf22e84,blockID:_0x26afcd}=_0x42b9aa,_0x393c82=this[_0x15eb72(0x48e)]()+_0x15eb72(0x237)+_0xf22e84+_0x15eb72(0x19a)+_0x16dce6+_0x15eb72(0x237)+_0x26afcd;return(await this['_httpService'][_0x15eb72(0x4f7)](_0x393c82))[_0x15eb72(0x1ab)];}async[_0x5bb7a4(0x2b8)](_0x48880e,_0x1d3008){const _0x5b37e3=_0x5bb7a4,{unitID:_0x3db179,type:_0x1aaeb3,from:_0x3690af,to:_0x20603a}=_0x1d3008,_0x4e82aa=this[_0x5b37e3(0x48e)]()+'/'+_0x1aaeb3+_0x5b37e3(0x19a)+_0x3db179+_0x5b37e3(0x24c)+_0x3690af+'&to='+_0x20603a;return(await this[_0x5b37e3(0x1be)]['get'](_0x4e82aa))[_0x5b37e3(0x1ab)];}[_0x5bb7a4(0x3b0)](){const _0x22086d=_0x5bb7a4;var _0x1ed1d7;return(_0x1ed1d7=this[_0x22086d(0x23e)]['getConfig'](lr))!=null?_0x1ed1d7:this[_0x22086d(0x48e)]();}[_0x5bb7a4(0x48e)](){const _0x32e109=_0x5bb7a4;var _0x954e6,_0x3b8095;const _0x58f87d=this[_0x32e109(0x23e)]['getConfig'](cr),_0x338a3f=this['_configService'][_0x32e109(0x447)](ie);return(_0x3b8095=(_0x954e6=_0x338a3f==null?void 0x0:_0x338a3f[_0x32e109(0x174)])!=null?_0x954e6:_0x58f87d)!=null?_0x3b8095:hr;}async[_0x5bb7a4(0x536)](_0x3268b8,_0x2eeb63){const _0x1ec566=_0x5bb7a4,_0x44af61=_0x1ec566(0x268)+_0x2eeb63['type']+_0x1ec566(0x19a)+_0x2eeb63[_0x1ec566(0x4c4)]+_0x1ec566(0x19c);return(await this[_0x1ec566(0x1be)]['get'](_0x44af61,{'params':{'resourceId':JSON[_0x1ec566(0x303)](_0x2eeb63[_0x1ec566(0x52d)])}}))[_0x1ec566(0x1ab)];}['saveSnapshot'](){const _0x37cd7f=_0x5bb7a4;throw new Error(_0x37cd7f(0x23f));}[_0x5bb7a4(0x3e5)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5bb7a4(0x1b9)](){const _0x4ee8d3=_0x5bb7a4;throw new Error(_0x4ee8d3(0x23f));}[_0x5bb7a4(0x48b)](){const _0x558fa4=_0x5bb7a4;throw new Error(_0x558fa4(0x23f));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};ls=Ec([ni(0x0,_0x2bb536),ni(0x1,_0x22a3e1(_0x41156a))],ls);function _0x27da(){const _0x164b1c=['_changesetReqId','conflict','__creator','_exhaustRemoteChangesetQueue','LIVESHARE_FETCH_OPERATIONS','/universer-api/oidc/authpage','getValue','confirm','[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.','hasOwnProperty','set','Cipher','min','IDLE','RemoveColCommandId','_sessions','getConfig','objects','arc','_cursorShapes','makeDirty','getUniverSheetInstance','algo','HMAC','{fileID}','SUCCUSS','LOCAL_CACHE_INTERVAL','_id','random','image/bmp','interceptor','permission.content','session','default','1117897seqvgL','send','addObject','_initResize','selections','LICENSE_IMPORT_SIZE_EXCEEDED','hasher','decryptBlock','onCommentUpdate','docStateChange$','lineTo','replace','transformRemoteChangeset','cursorInfo','1em','COMPLETION_FINISHED','csRejEvent','APPLY_REJECT','onMissingChangesets','_handleHover','_localCacheService','session.connection-failed','_getMergeRange','collabStatus.notCollab','_collaborationController','transformChangesets','_textBubble','_startDocCollabCursor','getActiveSheet','InsertRangeMoveDownCommandId','symbol','off-line-single','eventID','[PendingState]:\x20received\x20acknowledgement.','visibilityState','with','\x20-\x20','_uiPartsService','mutations','_collabCursorState$','getUnitOnRev','collaboration-session-retry','3202997vyPSdz','defs','equals','getRangePointData','_decreaseWaiting','_refreshCollabCursors','USERS_LEAVE','[CollaborationUndoRedoService]','copyFileMeta','_fetchMissChangesets','engine','_getAPIPrefix','UnitEmbedded','mode','_docSyncEditingCollabCursorService','dispose$','displayName','getMemberID','post','_snapshotService','_onCombEvent','onCommandExecuted','propertyIsEnumerable','onRemoteRetry','liveShareOperation','snapshot','c2Prime','_clearUndo','_memberService','onStateChange','c1Prime','_getSignURL','object','_collaborationPaused','onTransformIME','registerHTTPInterceptor','CHANGESET_ACK','session.will-retry','PasswordBasedCipher','getTypeOfUnitAdded$','_localeService','COMPRESS_MUTATION_APPLY','_getUndoStack','_updateStatus','xlink:href','synced','undoState','updateMember','UNIVER_SLIDE','_drawAnchor','isEditing','_onOffline','joinEvent','function','_scheduleClearOtherTimer','/allowed','gold400','_undoRedoService','code','syncEditingCollabCursor','YUUMI_SUBSCRIPTION_NOT_FOUND','StreamCipher','getImageSourceCache','onlineStatusIcon','_startSheetCollabCursor','unitID','/universer-api/snapshot','_anchor','UNIVER_PROJECT','substring','/-/object/list','batchAllowed','VIEW_MAIN','padding','leaveEvent','attrs','onMissedChangesetFetched','_scene','generateRandomId','dispose','charCodeAt','moveTo','cmd','m2Prime','_drawRectRange','fetch_missing','_lastPointer','_notificationService','_refRangeService','APPLY_REVISION_CONFILICT','keySize','_docStateChangeManagerService','NEW_CHANGESETS','CBC','children','_setupBeforeClosingHandler','_color','getOwnPropertyDescriptor','0\x200\x2016\x2016','removeMember','_changesetSessionId','PENDING','colorChannel1','evenodd','rev','UNIVER_UNKNOWN','offline','_docSkeletonManagerService','_createHandler','transformMutation','collaboratorID','jiqing500','_initStatusListener','_updateLocalCache','_parse','$super','get','_transitionLocked','[OfflineState]:\x20received\x20acknowledgement.','fetchThroughInterceptors','PERMISSION_REJ','setCurrentUser','collab-rect-range-','Unknown\x20user','byteLength','on-line-single_clip0_910_349','[CollaborationEntity]','HttpExport','RECT','charAt','_snapshotServerService','_onRemoteChangeset','LICENSE_MAX_UNITS_EXCEEDED','UPDATE_PERMISSION_OBJ','downloadEndpointUrl','getSheetBlock','href','changesets','_transformSelections','SYNCED','processBlock','image/png','readInt32LE','_shouldReportTelemetry','_initCloseConn','_getAnchorBounding','_init','BlockCipher','_colorAssignService','_onJoinRoomEvent','subscribe','current','LICENSE_DISTRO_REJECTED','_startTelemetryCollaborationNewChangeset','_ensureSubject','infoRsp','_anchorDot','_initDependencies','location','enc','_reverseMap','sin','origin','FAIL','_name','[CollaborationSessionService]:\x20socket\x20error','_ENC_XFORM_MODE','_updateCollabCursors','objectID','Error\x20on\x20receiving\x20event','resourceIDs','Encryptor','cursorInfo$','_eventUnsubscribe','HmacSHA1','_syncEditingCollabCursorService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_toggleOffline','getSkeleton','getResourcesRequest','clearInterval','_urlService','HEADER_MENU','_hash','setParam','collab-text-anchor-','DeleteRangeMoveLeftCommandId','row','_commandService','NoPadding','_executeRemoteChangeset','JOIN','InsertRowCommandId','_iv','_updateURLWithCurrentState','_getAPIPrefixPath','_checkMissing','8wKAvKt','YUUMI_RATE_OVER_LIMIT','_commentService','UnitSnapshot','_revisionService','_resendTimeout','_doProcessBlock','create','exhaustSavingTask','clamp','SEND_CHANGESET_TIMEOUT','_candidateSocket','TOO_MANY_REQUESTS','_doFinalize','_userManagerService','doc.mutation.rich-text-editing','onStarting','onSyncEditingCollabCursor','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','UNIVER_SHEET','RETRY_CONNECTING_MAX_COUNT','unitId','_toggleOnline','LICENSE_EXPORT_SIZE_EXCEEDED','fetchMiss','_ws','_removeRoom','defIds','APPLY_NON_SEQUENTIAL_REVISION','onPointerMove$','_acknowledgedAwaitingChangeset','_startCollaboration','apply','pauseCollaboration','sendChangesetTimeout','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','collabWebSocketUrl','_colorIndex','ranges','univer-online-status','add','revision','setWaitCount','YUUMI_URL_COL_OUT_OF_RANGE','restore','_collabSessionService','_scheduleSaving','crypto','_replaceFileID','_config','/universer-api/authz','buffer','parse','_event$','pad','onReady','_mode','resend','_http','getCurrentUnitForType','[PendingState]:\x20received\x20rejection.','toLowerCase','collaboration_new_changeset','closeSession','UniverIcon','_permissionService','\x0aCurrent:\x20','_prevBlock','saveOfflineData','/universer-api/file/{fileID}/sign-url','_transformIMECache','_iKey','_undoStacks','_process','_onCursorUpdate','getCurrentSelections','UNIVER_DOC','max','snapshotServerUrl','executeCommand','blue400','getRenderById','BlockCipherMode','&source=','[PendingState]:\x20unhandled\x20univer\x20type:\x20','error','collaboration-client.offline-data-not-saved','commentUpdate$','sessionStatus$','getUnitType','_redoStacks','cfg','newValue','HELLO','_initMergeInterceptor','collabStatus.syncing','hostname','extend','encryptBlock','x-univer-host','socketService','roomMembers','_telemetryService','_getUploadFileURL','show','univer-online-status-icon','35YGkQbB','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getSheetId','msCrypto','_instanceService','SNAPSHOT_SERVER_URL_KEY','concat','HttpImport','getCollabCursors$','findNodePositionByCharIndex','/unit/','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','/resources','split','_socketService','searchParams','_sheetTransformSelectionsService','assign','\x20in\x20_schedule.','kdf','_transformUndoRedoStack','transformSelections','asObservable','getOffsetConfig','subunit','_waitForHeartbeatResponse','bottom','body','_replayCachedMutations','socket$','on-line-single','_listenToOnlineEvent','result','_telemetryInfo','idSuffix','WordArray','_handleLeaveEvent','SUBMIT_CHANGESET','override','_substituteUndoStack','BufferedBlockAlgorithm','saveChangeset','status$','requestParams','_minBufferSize','onTransformRemoteChangesetByIMECache','_httpService','redoState','getAncestorScale','OTHER_CLIENTS_EDITING','black','getDocRanges','_doReset','_transformService','7725xXbYgZ','_send','addObjects','subUnitId','Could\x20not\x20dynamically\x20require\x20\x22','_initStatusComponent','_cursors','session.room-full','unit-cache-','failed\x20to\x20apply\x20missed\x20changesets!','iterations','univer-online-status-title','deepClone','_sendHeartbeatTimer','_createHmacHelper','updateCollaborator','init','Fragment','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_transformPreviousActiveRange','OnLineSingle','308536Irzfao','COLLAB_WEB_SOCKET_URL','getFocusedUnit','fillText','_roomMembers','_imageSourceCache','unsubscribe','_tryEnsureSocket','userID','M0\x200H16V16H0z','DeleteRangeMoveUpCommandId','none','find','collab-client.tooltip.reconnect','_sheetSkeletonManagerService','width','_getCurrentRevision','_isPermissionRej','Pkcs7','NO_OTHER_CLIENTS_EDITING','_onConnectionFailed','SNAPSHOT_HAS_BEEN_REMOVED','visibilitychange','registerOnClose','_loadDoc','execute','_applyRemoteChangeset','call','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','/rev/','collaboration-client.config','words','change$','Base64','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','9tLtwhW','status','INGEST','COMPRESS_MUTATION_SEND','drawWith','color','UNKNOWN_CMD','/collaborator','__esModule','232RuIhjN','_roomMembers$','&assign=','_initEventListeners','FromArray','getViewport','_rescheduleHeartbeat','141041LBqNaQ','_sessionStatus$','headers','TEXT','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','JOINING','onRendered','setInterval','_lockTransition','url','_createSocket','APPLY_PERMISSION_DENIED','collaMsg','_render','includes','_univerInstanceService','Decryptor','updateOfflineData','catch','onlineStatus','getUndoRedoMutationParamsCache','\x20to\x20','fromCharCode','UNDEFINED','encode','_state$','_drawTextRange','_clearRedo','_transformRemoteChangesetByStateCache','some','startTime','url(#off-line-single_clip0_910_343)','ACTIVE_UNIT_EVENT_CHANNEL','capture','InsertColCommandId','all','_transformRemoteChangesetByIMECache','MUTATION','_clearLocalCache','top','exports','/block/','HEARTBEAT','_timeoutTimer','OFFLINE','getUnitStatus$','debug','floor','_configService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_substituteRedoStack','_xformMode','_transformStateCache','unit','backgroundColor','_oKey','/role','ceil','connection\x20error','startColumn','selection','_retryCount','/fetchmissing?from=','_key','_scheduleCollaborationTimeoutTimer','roles','#FFF','collaborators','unitId\x20is\x20not\x20found','?size=','...','COLLAB_SUBMIT_CHANGESET_URL','AWAITING_WITH_PENDING','_selfUnitIDs','join','CHANGESET_SHOULD_RETRY','awaitingChangeset','stopTime','_getScale','getMember','_resendTimer','onTransformRemoteChangesetByStateCache','appendMutation','univer-offline','_renderManagerService','_updateState','onload','_context','tag','_registerDependencies','/universer-api/snapshot/','_transformStack','onPointerEnter$','0\x200\x2017\x2016','getAllMembers','online','_logService','encrypt','_onRefRangeChange','_setupSubUnitSync','_onCursorDelete','setTimeout','focused$','key','_removeClearOtherTimer','error$','_labelPosition','_retryConnectingTimer','close','decrypt','format','_socket$','type','_localStorageService','_tryReconnect','_status$','length','_incrementRevisionNumber','addImageSourceCache','HmacMD5','duration','CONFLICT','reject','APPLY_DUPLICATED','localeService','pending','collabStatus.synced','isPermissionRej','div','jsxs','endColumn','_queuedRemoteChangesets','_sender','salt','_createInitialState','objectActions','_clearHeartbeatTimer','RECV','CONNECTOR_DATA_TOO_LARGE','_cursorInfo$','getSheetBySheetId','_collaborationSessionService','_handler','_getRedoStack','liveShareNewHost','/object/','textRanges','_onRecvEvent','_messageService','memberID','#fff','USERS_ENTER','responseType','LEAVE','hidden','_data','saveImage','addEventListener','Hex','Warning','routeKey','getUnhiddenWorksheets','_themeService','for','baseRev','contains','ERROR_EXCEED_SIZE','replaceDocRanges','setActiveRange','_nRounds','fetchMissingChangesets','_cursor','_unitID','_change$','ciphertext','byteOffset','_getSendChangesetTimeout','POST','blockSize','?url=','getTime','/universer-api/stream/file/upload','AES','getCollabEntity','[FetchMissState]','requireSession','PSEUDO_FETCH_MISSING_RESULT','map','awaiting_with_pending','workbook','members','UPDATE_CURSOR','UNAUTHENTICATED','assignAColorForMemberID','_initUnitPermissionChange','6098330bROpSk','_onConflict','415182dGHSDP','_range','data','values','reset','\x0aAfter:\x20','_hovered','range','withCredentials','randomBytes','getRoom','rgba(255,\x20255,\x20255,\x200.01)','initWorkbookPermissionChange','_sendHeartbeat','rng','finalize','_online','_updateSubUnitFromURLParams','toString','has','currentColor','onSendChangeset','Undefined','_backgroundColor','onRemoteRej','_removeCollabCursors','LIVESHARE_REQUEST_HOST','_assignedColors','_getSaveTimeout','_onMessage','lib','_saveTaskMap','AWAITING','isArray','_syncEditingCollabCursor','_unitOnClients','submit\x20changeset\x20error!','_hideTimer','_scheduleHeartbeat','state','number','jsx','[OfflineState]:\x20received\x20rejection.','_getCtorByUniverType','_updateLocalCursor','image/jpeg','_collaborationTimeoutTimer','transformStateCache','stringify','_getDownloadEndpointURL','AUTHZ_URL_KEY','retryConnectingInterval','splice','registerRefRange','_pendingMutations','_resendWithTimeout','toggleOffline','createInstance','editingUnit','onRemoteAck','Univer','compose','InsertRangeMoveRightCommandId','forEach','complete','permission.title','replaceState','image/gif','react.fragment','_disabled','enableAuthServer','getStateCache','awaiting','fill','getRelativeToViewportCoord','UNRECOGNIZED','LIVESHARE_NEW_HOST','objectType','onlineStatusTitle','getUnitId','_socket','refreshPermission','getParam','sheetID','path','reconnect','unknown','onMouseMove','unshift','setStateCache','collabStatus.offline','_stopTelemetryCollaborationNewChangeset','roomMembers$','getInterceptPoints','Utf8','Hasher','OffLineSingle','_collabCursorController','randomUUID','beginPath','HEARTBEAT_TIMEOUT','_injector','close$','_onUserJoin','NOT_FOUND','onPointerLeave$','_socketReady','save','onlyLocal','_handleJoinEvent','getActiveRange','getRandomValues','createSocket','_clearTimeoutTimer','YUUMI_UNABLE_LOAD_URL','defaultProps','collabSubmitChangesetUrl','from','listRoles','createEncryptor','EvpKDF','_submitChangeset','COMMENT_UPDATE','conflict.content','_doCryptBlock','setAlpha','_createInitialStateImpl','FileId','text','_initCommandExecutedListener','_clearOtherTimers','currentTheme$','setShapeProps','[CollaborationSessionService]','enableSingleActiveInstanceLock','size','CHANGESET_REJ','translate(.97)','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformUndoredo','message$','_docTransformIMECacheService','ws://127.0.0.1:8000/universer-api/comb/connect','_append','_hover','_awaitingChangeset','INVALID_ARGUMENT','authzUrl','_heartbeatTimer','disposeWithMe','_invKeySchedule','_cachedData','_docTransformSelectionsService','MD5','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','EXCHANGE_SIGN_URL_SERVER_URL_KEY','commentUpdateEvent','_getSheetObject','every','LOGIN_URL_KEY','univer-pro.collaboration-client-socket-service','_onRemoteRetry','className','registerRenderModule','telemetry\x20info\x20is\x20not\x20initialized','_cipher','_commentUpdate$','_entities','_transformHistoryAndStateStack','icon','actions','_onFetchMissResult','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_keyPriorReset','_shapes','getDeserializedSheetBlock','_handleHeartbeatEvent','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','fillRule','setConfig','toggleOnline','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','_showConflictNotification','measureText','method','LIVESHARE_OPERATION','_onUserLeave','onRemoteChangeset','height','_map','append','[DataLoaderController]','conflict.title','enableOfflineEditing','clear','column','sessionStatus','shouldCloseConn','abs','getTypeOfUnitDisposed$','_scheduleTimestamp','/-/object/-/batch_allowed','BASE64','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','repeat','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','SerializableCipher','_saveCache','getWorkbookSelections','mixIn','storage','_type','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','ref','SNAPSHOT_INVALID_SNAPSHOT','OpenSSL','ALREADY_EXISTS','_waitCount','sigBytes','CHANGESET_REVISION_CONFILICT','_disableEditing','_getSnapshotAPIPrefix','[SyncedState]:\x20received\x20rejection.','subscribeEvent','_joinRoom','_entityInit$','src','SHA1','hovered','_nDataBytes','getCurrentUser','permissionRejEvent','_handleEvent','setShowComponents','socket\x20open.','transformStack\x20failed!','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','red300','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_clearScheduledTask','SNAPSHOT_URL_KEY','Latin1','url(#on-line-single_clip0_910_349)','ERROR_IMAGE','_draw','readAsDataURL','update','enableLocalCache','Error','history','toRgbString','FETCH_MISSING','getCellPositionByOffset','Malformed\x20UTF-8\x20data','_keySchedule','now','_docTransformStateCacheService','pushState','csShouldRetryEvent','isActive','onTransformChange$','delete','params','ivSize','font','_members','sid','clipPath','getVpScrollXYInfoByPosToVp','_onConnectionOpen','ONLINE','slice','collabCursorState$','event$','saveSheetBlock','onTransformState','_sendingTimer','session.collaboration-timeout','_onRemoteRejected','fetching\x20missing\x20changesets\x20from\x20','open$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','triggerDblclick','_createHelper','bind','_throwTelemetryCollaborationNewChangeset','pipe','closePath','put','purple300','getCurrentRevOfUnit','reqId','image/jpg','collaboration.closeRoom','joinRsp','_state','compute','updatePermissionPoint','_onLocalMutation','round','next','getItem','flatMap','_unlockTransition','PERMISSION_DENIED','getOwnPropertySymbols','originalMeta','getUnit','MSG_FOR_ERROR','name','disableLocalCache','m1Prime','FETCH_MISS','string','_registerRenderDependencies','then','state$','NOT_COLLAB','setItem','60xAUrRe','SHOULD_CLOSE_CONN','_beforeCloseService','_HTTPService','collaboration.single-unit.warning','_socketMessageSubscription','startsWith','patch','_singleActiveUnitService','url(#$1','collabStatus.fetchMiss','LIVESHARE_TERMINATE','react.element','indexOf','entries','_compressMutationService','_schedule','prototype','[CollaborationSession]','socket\x20close','loadOfflineData','_unitStatus','transformMutationsWithChangeset','Base','_clearCollaborationTimeoutTimer','defineProperty','_initRequestHeader','_session','_remoteChangesetQueue','getCollabEntity$','createDecryptor','clone','onTransformSelections','push','fillStyle','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','currentSkeleton$'];_0x27da=function(){return _0x164b1c;};return _0x27da();}var bc=Object['defineProperty'],Tc=Object[_0x5bb7a4(0x4e4)],Rc=(_0x35f703,_0x498c92,_0x5d4a1e,_0x1fc3e8)=>{const _0x294557=_0x5bb7a4;for(var _0x5ce33a=_0x1fc3e8>0x1?void 0x0:_0x1fc3e8?Tc(_0x498c92,_0x5d4a1e):_0x498c92,_0x1fdff8=_0x35f703[_0x294557(0x282)]-0x1,_0x212648;_0x1fdff8>=0x0;_0x1fdff8--)(_0x212648=_0x35f703[_0x1fdff8])&&(_0x5ce33a=(_0x1fc3e8?_0x212648(_0x498c92,_0x5d4a1e,_0x5ce33a):_0x212648(_0x5ce33a))||_0x5ce33a);return _0x1fc3e8&&_0x5ce33a&&bc(_0x498c92,_0x5d4a1e,_0x5ce33a),_0x5ce33a;},et=(_0x4eeb34,_0x34c0ae)=>(_0x24bda2,_0xc320a2)=>_0x34c0ae(_0x24bda2,_0xc320a2,_0x4eeb34);let _s=class extends _0x26edca{constructor(_0x3d144d,_0x2b453b,_0x40e0a4,_0x121d72,_0x1ef676){const _0x4e9a4a=_0x5bb7a4;super(_0x3d144d,_0x2b453b,_0x40e0a4),this[_0x4e9a4a(0x1c5)]=_0x121d72,this[_0x4e9a4a(0x26e)]=_0x1ef676;}['transformUndoRedo'](_0x4679e5,_0x3d43f4){const _0x2fe294=_0x5bb7a4,_0x56ed23=this[_0x2fe294(0x4ad)](_0x4679e5);if(_0x56ed23)try{const _0x475a4a=this[_0x2fe294(0x269)](_0x56ed23,_0x3d43f4);this[_0x2fe294(0x1b7)](_0x4679e5,_0x475a4a);}catch(_0x4bc14d){this[_0x2fe294(0x26e)][_0x2fe294(0x17b)]('[CollaborationUndoRedoService]',_0x4bc14d),this['_clearUndo'](_0x4679e5);}const _0x26e55d=this[_0x2fe294(0x29d)](_0x4679e5);if(_0x26e55d)try{const _0x311bb4=this[_0x2fe294(0x269)](_0x26e55d,_0x3d43f4);this[_0x2fe294(0x240)](_0x4679e5,_0x311bb4);}catch(_0x3d0dfa){this[_0x2fe294(0x26e)]['error'](_0x3d0dfa),this[_0x2fe294(0x229)](_0x4679e5);}}[_0x5bb7a4(0x49e)](_0x379088){const _0x455075=_0x5bb7a4,_0x28bcac=this[_0x455075(0x4ad)](_0x379088);_0x28bcac&&(_0x28bcac['length']=0x0,this[_0x455075(0x4ae)]());}['_clearRedo'](_0x14b302){const _0x4e3ba7=_0x5bb7a4,_0x4e0102=this[_0x4e3ba7(0x29d)](_0x14b302);_0x4e0102&&(_0x4e0102[_0x4e3ba7(0x282)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x241f06,_0x2f0053){const _0x2abb5f=_0x5bb7a4;this[_0x2abb5f(0x16e)]['set'](_0x241f06,_0x2f0053),this[_0x2abb5f(0x4ae)]();}[_0x5bb7a4(0x240)](_0x3fd12f,_0x3e98ac){const _0x29af58=_0x5bb7a4;this[_0x29af58(0x180)][_0x29af58(0x441)](_0x3fd12f,_0x3e98ac),this[_0x29af58(0x4ae)]();}[_0x5bb7a4(0x269)](_0x2b71a5,_0x47dace){const _0x246f55=_0x5bb7a4,_0x1f6947=[];let _0x158986=_0x47dace,_0x3390ff=_0x47dace;for(let _0x1cf358=_0x2b71a5[_0x246f55(0x282)]-0x1;_0x1cf358>=0x0;_0x1cf358--){const {unitID:_0x51bdb3,undoMutations:_0x1fa29e,redoMutations:_0x1dd9d5}=_0x2b71a5[_0x1cf358],_0x1b6953=this['_transformService'][_0x246f55(0x428)](_0x158986,_0x1fa29e),_0x4b357c=this[_0x246f55(0x1c5)][_0x246f55(0x428)](_0x3390ff,_0x1dd9d5);if(_0x2a2494(_0x1b6953)||_0x2a2494(_0x4b357c)){this[_0x246f55(0x26e)][_0x246f55(0x17b)](_0x246f55(0x48a),_0x246f55(0x3be),_0x1b6953,_0x4b357c);break;}_0x158986=_0x1b6953['c1Prime'],_0x3390ff=_0x4b357c[_0x246f55(0x4a1)],_0x1f6947[_0x246f55(0x433)]({'unitID':_0x51bdb3,'undoMutations':_0x1b6953[_0x246f55(0x4d6)],'redoMutations':_0x4b357c[_0x246f55(0x4d6)]});}return _0x1f6947['reverse']();}};_s=Rc([et(0x0,_0x2e0534),et(0x1,_0x1e58f0),et(0x2,_0x6af9eb),et(0x3,_0x2db4c4),et(0x4,_0x3efec9)],_s);class yc extends _0x177a9e{constructor(){const _0x4176fd=_0x5bb7a4;super(),g(this,'urlChange$'),this['urlChange$']=_0x565a18(window,'popstate')[_0x4176fd(0x3f1)](_0x52fa59(this[_0x4176fd(0x492)]),_0x3f1879(0x1),_0x287b5c(void 0x0));}['setParam'](_0x59f095,_0x3a4473,_0x54170f=!0x1){const _0x115f06=_0x5bb7a4,_0x2890e1=new URL(window[_0x115f06(0x521)][_0x115f06(0x50b)]);_0x2890e1[_0x115f06(0x19f)]['set'](_0x59f095,_0x3a4473),_0x54170f?window[_0x115f06(0x3cc)][_0x115f06(0x315)]('','',_0x2890e1[_0x115f06(0x2e5)]()):window[_0x115f06(0x3cc)][_0x115f06(0x3d4)]('','',_0x2890e1[_0x115f06(0x2e5)]());}['removeParam'](_0x54dbb0,_0x2154d4=!0x1){const _0x10cbf8=_0x5bb7a4,_0x11bfda=new URL(window[_0x10cbf8(0x521)][_0x10cbf8(0x50b)]);_0x11bfda[_0x10cbf8(0x19f)][_0x10cbf8(0x3d8)](_0x54dbb0),_0x2154d4?window[_0x10cbf8(0x3cc)][_0x10cbf8(0x315)]('','',_0x11bfda['toString']()):window[_0x10cbf8(0x3cc)][_0x10cbf8(0x3d4)]('','',_0x11bfda[_0x10cbf8(0x2e5)]());}['getParam'](_0x3aba6c){const _0x5dd888=_0x5bb7a4;var _0x285717;return(_0x285717=new URL(window['location'][_0x5dd888(0x50b)])[_0x5dd888(0x19f)][_0x5dd888(0x4f7)](_0x3aba6c))!=null?_0x285717:void 0x0;}}var zi=Object[_0x5bb7a4(0x42b)],Oc=Object[_0x5bb7a4(0x4e4)],wc=(_0x4bdc06,_0x21979c,_0x4cb3a5)=>_0x21979c in _0x4bdc06?zi(_0x4bdc06,_0x21979c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4cb3a5}):_0x4bdc06[_0x21979c]=_0x4cb3a5,Dc=(_0x258765,_0x3cb8f0,_0x5c61ef,_0x7df504)=>{const _0x144bd7=_0x5bb7a4;for(var _0x5889bd=_0x7df504>0x1?void 0x0:_0x7df504?Oc(_0x3cb8f0,_0x5c61ef):_0x3cb8f0,_0x252a14=_0x258765[_0x144bd7(0x282)]-0x1,_0x5869be;_0x252a14>=0x0;_0x252a14--)(_0x5869be=_0x258765[_0x252a14])&&(_0x5889bd=(_0x7df504?_0x5869be(_0x3cb8f0,_0x5c61ef,_0x5889bd):_0x5869be(_0x5889bd))||_0x5889bd);return _0x7df504&&_0x5889bd&&zi(_0x3cb8f0,_0x5c61ef,_0x5889bd),_0x5889bd;},lt=(_0x1e8c8a,_0x1bd5ea)=>(_0x5ce7e7,_0x1001d8)=>_0x1bd5ea(_0x5ce7e7,_0x1001d8,_0x1e8c8a),Pc=(_0xb303a9,_0x99dd6,_0x3bfc20)=>wc(_0xb303a9,_0x99dd6+'',_0x3bfc20);const Uc='UNIVER_COLLABORATION_CLIENT_PLUGIN';let us=class extends _0x1a3f69{constructor(_0x8b1473=Rr,_0x4f19e5,_0x1ccf76,_0x1cb2b8,_0x517dfc){const _0x39322f=_0x5bb7a4;super(),this[_0x39322f(0x579)]=_0x8b1473,this[_0x39322f(0x26e)]=_0x4f19e5,this[_0x39322f(0x262)]=_0x1ccf76,this['_injector']=_0x1cb2b8,this[_0x39322f(0x23e)]=_0x517dfc;const {..._0x28a46b}=this['_config'];this[_0x39322f(0x23e)][_0x39322f(0x386)](ie,_0x28a46b);}[_0x5bb7a4(0x558)](){const _0x5c3d4d=_0x5bb7a4;this[_0x5c3d4d(0x267)](),this[_0x5c3d4d(0x520)]();}[_0x5bb7a4(0x57f)](){_0x3fa01f(this['_injector'],[[Ct]]);}[_0x5bb7a4(0x214)](){this['_registerRenderDependencies']();}[_0x5bb7a4(0x267)](){const _0x38f93c=_0x5bb7a4;var _0x41ed6b,_0x5b784f,_0x35fd16,_0x5e212f;this[_0x38f93c(0x338)][_0x38f93c(0x2e6)](_0x131129)&&this[_0x38f93c(0x26e)][_0x38f93c(0x17b)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x1fcd21=[[_0x131129,{'useClass':_s}],[Ae],[bs],[Bi,{'useClass':yc}],[Ne],[q],[_0x1275f8],[vt],[pt],[ft],[mt],[Cs],[Et],[bt],[wi],[Tt],[Oi,{'useClass':(_0x5b784f=(_0x41ed6b=this[_0x38f93c(0x579)])==null?void 0x0:_0x41ed6b[_0x38f93c(0x18a)])!=null?_0x5b784f:es}],[_0x5bc59d,{'useClass':ls}],[_0x2eb585,{'useClass':cs}],[_0x23cc94,{'useClass':hs}],[it],[It],[St],[Ct],[Ve]];(_0x35fd16=this[_0x38f93c(0x579)])!=null&&_0x35fd16[_0x38f93c(0x359)]&&_0x1fcd21[_0x38f93c(0x433)]([Rt,{'useClass':ro}]),_0x60d00f(this[_0x38f93c(0x338)],_0x2c766a(_0x1fcd21,(_0x5e212f=this[_0x38f93c(0x579)])==null?void 0x0:_0x5e212f[_0x38f93c(0x1b6)]));}[_0x5bb7a4(0x40d)](){const _0x538072=_0x5bb7a4;this[_0x538072(0x368)](this[_0x538072(0x262)][_0x538072(0x376)](_0x10a997['UNIVER_DOC'],[os])),this[_0x538072(0x368)](this[_0x538072(0x262)][_0x538072(0x376)](_0x10a997['UNIVER_SHEET'],[as]));}[_0x5bb7a4(0x520)](){const _0x43c46b=_0x5bb7a4;var _0x45ecf2,_0x2715ba;this['_injector']['get'](_0x41156a)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x15339e({'maxParallel':0x6})}),(_0x45ecf2=this[_0x43c46b(0x579)])!=null&&_0x45ecf2[_0x43c46b(0x394)]||this[_0x43c46b(0x338)][_0x43c46b(0x4f7)](q)[_0x43c46b(0x409)](),(_0x2715ba=this[_0x43c46b(0x579)])!=null&&_0x2715ba[_0x43c46b(0x319)]&&_0x3fa01f(this[_0x43c46b(0x338)],[[Et]]),_0x3fa01f(this['_injector'],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Pc(us,'pluginName',Uc),us=Dc([_0x5008eb(_0x1956e2,_0x2fc5f3),lt(0x1,_0x3efec9),lt(0x2,_0x31d8f9),lt(0x3,_0x22a3e1(_0x4c5160)),lt(0x4,_0x2bb536)],us);export{Ba as AUTHZ_URL_KEY,cs as AuthzIoHttpService,Cr as COLLAB_SUBMIT_CHANGESET_URL_KEY,ur as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,gt as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,Ca as CollaborationStatusDisplay,wi as CommentService,It as DataLoaderController,St as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,fr as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Bi as IURLService,hs as ImageIoService,Sr as LOCAL_CACHE_INTERVAL_KEY,br as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,pr as RETRY_CONNECTING_MAX_COUNT_KEY,Xc as SEND_CHANGESET_TIMEOUT_KEY,cr as SNAPSHOT_SERVER_URL_KEY,lr as SNAPSHOT_URL_KEY,ve as SessionStatus,Xo as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,yc as WebURLService,yr as deserializeToCombResponse,Or as serializeCombRequest};
|