@univerjs-pro/collaboration-client 0.5.0-nightly.202411121606 → 0.5.0-nightly.202411141606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/config/config.d.ts +48 -0
- package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +23 -0
- package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +1 -0
- package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +1 -0
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +22 -0
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +38 -0
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +24 -0
- package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +3 -0
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +39 -0
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +21 -0
- package/lib/types/controllers/collab-status/collab-status.controller.d.ts +18 -0
- package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +4 -0
- 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 +54 -0
- package/lib/types/controllers/collaboration/collaboration-entity.d.ts +91 -0
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +303 -0
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +24 -0
- package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +18 -0
- package/lib/types/controllers/collaboration/utils/empty.d.ts +2 -0
- package/lib/types/controllers/config.schema.d.ts +29 -0
- package/lib/types/controllers/data-loader/__tests__/data-loader.controller.spec.d.ts +1 -0
- package/lib/types/controllers/data-loader/data-loader.controller.d.ts +22 -0
- package/lib/types/controllers/file-name/file-name.controller.d.ts +12 -0
- package/lib/types/controllers/telemetry.d.ts +11 -0
- package/lib/types/index.d.ts +35 -890
- package/lib/types/locale/en-US.d.ts +3 -0
- package/lib/types/locale/fa-IR.d.ts +3 -0
- package/lib/types/locale/ru-RU.d.ts +3 -0
- package/lib/types/locale/vi-VN.d.ts +3 -0
- package/lib/types/locale/zh-CN.d.ts +39 -0
- package/lib/types/locale/zh-TW.d.ts +3 -0
- package/lib/types/models/cursor.d.ts +30 -0
- package/lib/types/plugin.d.ts +18 -0
- package/lib/types/services/auth-server/auth-server.service.d.ts +10 -0
- package/lib/types/services/auth-server/authz-io-http.service.d.ts +30 -0
- package/lib/types/services/auth-server/domain-request.service.d.ts +6 -0
- package/lib/types/services/auth-server/util.d.ts +1 -0
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +59 -0
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +61 -0
- package/lib/types/services/color-assign/color-assign.service.d.ts +10 -0
- package/lib/types/services/comment/comment.service.d.ts +6 -0
- package/lib/types/services/image-remote/image-io.service.d.ts +34 -0
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +13 -0
- package/lib/types/services/local-cache/local-cache.service.d.ts +37 -0
- package/lib/types/services/member/member.service.d.ts +77 -0
- package/lib/types/services/permission/permission.service.d.ts +12 -0
- package/lib/types/services/range-selection/sheet-transform-selections.service.d.ts +13 -0
- package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +39 -0
- package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +21 -0
- package/lib/types/services/socket/collaboration-socket.service.d.ts +34 -0
- package/lib/types/services/socket/serialize.d.ts +3 -0
- package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +12 -0
- package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +13 -0
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +8 -0
- package/lib/types/services/undoredo/collaborative-undoredo.service.d.ts +19 -0
- package/lib/types/services/url/url.service.d.ts +12 -0
- package/lib/types/services/url/web-url.service.d.ts +10 -0
- package/lib/types/views/components/CollabStatus.d.ts +10 -0
- package/lib/types/views/components/CollabStatus.stories.d.ts +8 -0
- package/lib/types/views/shapes/doc-collab-cursor.d.ts +27 -0
- package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +27 -0
- package/lib/types/views/shapes/text-bubble.shape.d.ts +19 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const _0x4e7919=_0x5ed9;(function(_0x10c871,_0x339caa){const _0xccc6c6=_0x5ed9,_0x2603b5=_0x10c871();while(!![]){try{const _0xd70969=parseInt(_0xccc6c6(0x7e))/0x1+parseInt(_0xccc6c6(0x488))/0x2+parseInt(_0xccc6c6(0xfe))/0x3*(parseInt(_0xccc6c6(0x191))/0x4)+-parseInt(_0xccc6c6(0x2e0))/0x5+-parseInt(_0xccc6c6(0x21c))/0x6*(parseInt(_0xccc6c6(0xcb))/0x7)+-parseInt(_0xccc6c6(0x42b))/0x8*(parseInt(_0xccc6c6(0x462))/0x9)+-parseInt(_0xccc6c6(0x2de))/0xa*(-parseInt(_0xccc6c6(0x476))/0xb);if(_0xd70969===_0x339caa)break;else _0x2603b5['push'](_0x2603b5['shift']());}catch(_0x4e51d2){_0x2603b5['push'](_0x2603b5['shift']());}}}(_0x3f1c,0x40157));var qi=Object[_0x4e7919(0x13e)],Xi=(_0x3bb28d,_0xe7c4ef,_0x17464f)=>_0xe7c4ef in _0x3bb28d?qi(_0x3bb28d,_0xe7c4ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17464f}):_0x3bb28d[_0xe7c4ef]=_0x17464f,g=(_0x298b68,_0x42767f,_0x4f734a)=>Xi(_0x298b68,typeof _0x42767f!=_0x4e7919(0xe9)?_0x42767f+'':_0x42767f,_0x4f734a);import{createIdentifier as _0x20f251,Inject as _0x557b7a,Disposable as _0x4b38ce,DisposableCollection as _0x1eefc9,toDisposable as _0x290028,IConfigService as _0x88f14,ILogService as _0x2f9740,UserManagerService as _0xc5ea1b,UniverInstanceType as _0x470972,IUniverInstanceService as _0x5e27bc,LocaleService as _0x5e134c,Optional as _0x263588,RxDisposable as _0x15900e,Injector as _0x5a5437,Tools as _0x162500,ILocalStorageService as _0x3f82b2,Rectangle as _0x1b7c4d,ICommandService as _0x37f6d3,DOC_RANGE_TYPE as _0x5c08e3,JSONX as _0xc3f172,CommandType as _0x2809bc,IPermissionService as _0x4f30d5,IUndoRedoService as _0x5aca87,sequenceExecute as _0x4c2f40,debounce as _0x28300d,COLORS as _0x32fcb3,ColorKit as _0xdc4b2c,ThemeService as _0x15da4e,fromEventSubject as _0x4666d7,useDependency as _0x46f302,connectInjector as _0x2a6bad,Workbook as _0x3c605a,isInternalEditorID as _0x55b28a,LocalUndoRedoService as _0x19c15f,IContextService as _0xa5a717,DependentOn as _0x596afe,Plugin as _0x405522,touchDependencies as _0x5a6de0,IAuthzIoService as _0xe9480b,registerDependencies as _0x12b218,mergeOverrideWithDependencies as _0xf3c8ba}from'@univerjs/core';import{Subject as _0x7a1bd7,merge as _0x365701,takeUntil as _0x234986,BehaviorSubject as _0x524b68,distinctUntilChanged as _0x3783a1,fromEvent as _0xf4893f,ReplaySubject as _0x24a41e,take as _0xb3cf89,map as _0x50280c,shareReplay as _0x42be71,of as _0x2a024c,debounceTime as _0x4f25a9,filter as _0x238f7b,switchMap as _0x6ad44a,combineLatest as _0x36dc82,concatMap as _0x245147,mapTo as _0x2d24bf}from'rxjs';import{map as _0x1a1a5b,take as _0x33eb95,filter as _0x27f80a,delay as _0x2b0474,throttleTime as _0x48050a,takeUntil as _0xcb8c8d,switchMap as _0x2e98c4}from'rxjs/operators';import{MessageType as _0x302b10,Tooltip as _0x2f2e68}from'@univerjs/design';import{IBeforeCloseService as _0x507e18,IMessageService as _0x4e3214,INotificationService as _0x700f62,useObservable as _0x530867,BuiltInUIPart as _0x37e12e,IUIPartsService as _0x358cc7}from'@univerjs/ui';import{HTTPService as _0x55adc1,WebSocketService as _0x352ba8,MergeInterceptorFactory as _0x309f2d,HTTPRequest as _0x223f2c,UniverNetworkPlugin as _0xac975f,ThresholdInterceptorFactory as _0x20684f}from'@univerjs/network';import{CollaborationEvent as _0xb7e982,parseChangesetToProtocol as _0x3ab3da,ISnapshotServerService as _0x18fdab,isTransformMutationFailure as _0x5bbb53,isTransformMutationsWithChangesetSuccess as _0x26df4b,ITransformService as _0xd1dd82,RevisionService as _0x39bde1,mapDocumentTypeToUniverType as _0x556ed2,isTransformChangesetsSuccess as _0x3775ff,CompressMutationService as _0x2145c9,parseProtocolChangeset as _0x2034a6,SnapshotService as _0x399fd9,textEncoder as _0x2f80e5,b64DecodeUnicode as _0x51acde,isTransformMutationsWithChangesetFailure as _0x15ad50,UniverCollaborationPlugin as _0xa4a5c8}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x56469e}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x1e7a00,DocStateChangeManagerService as _0x39f3d6,NodePositionConvertToCursor as _0x26a44f,NodePositionConvertToRectRange as _0x280a98,TEXT_RANGE_LAYER_INDEX as _0x4c8fab,SetDocZoomRatioOperation as _0x1b3e7b}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x36bb55,SetSelectionsOperation as _0x3d4acc,InsertSheetMutation as _0x5f5608,EmptyMutation as _0x67b7f2,WorkbookEditablePermission as _0x32a62a,RefRangeService as _0x23b4a0,EffectRefRangId as _0x270c40,handleIRemoveRow as _0x3820ed,handleIRemoveCol as _0x33fa28,handleMoveRange as _0x1ff957,handleInsertRow as _0x5c2462,handleInsertRangeMoveRight as _0x6e61e4,handleInsertRangeMoveDown as _0x1dc6d5,handleInsertCol as _0x40fdf9,handleDeleteRangeMoveUp as _0x471763,handleDeleteRangeMoveLeft as _0xebe455,runRefRangeMutations as _0x3d211e,SetWorksheetActivateCommand as _0x50f4a2}from'@univerjs/sheets';import{IRenderManagerService as _0x9b882e,Shape as _0x41c73d,Rect as _0x1b9705,getColor as _0x12aeda,RegularPolygon as _0x17397d,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x38fd6d,Vector2 as _0x219fb7}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x5c70ee,RichTextEditingMutation as _0x36d845,SetTextSelectionsOperation as _0x3a05c0,DocSkeletonManagerService as _0x35f028}from'@univerjs/docs';import{ImageSourceType as _0x16cd67,ImageUploadStatusType as _0x890ba8,IImageIoService as _0x4a4912}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x5bdf02,serializeRangeWithSheet as _0x3e9623}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x4500ad,VIEWPORT_KEY as _0x20a435,getCoordByCell as _0x1e2de7,getSheetObject as _0xa694a6,SheetPermissionInitController as _0x10dd90}from'@univerjs/sheets-ui';import _0x320623,{forwardRef as _0x392400,useRef as _0x59e222,createElement as _0x2b736f,useCallback as _0x23fbd9}from'react';import{IRemoteInstanceService as _0x57bd22}from'@univerjs/rpc';const cr=_0x4e7919(0x491),hr=_0x4e7919(0x275),lr=_0x4e7919(0x134),Xc=_0x4e7919(0x31e),_r=0x7d0,ur='COLLAB_WEB_SOCKET_URL',dr=_0x4e7919(0x1a4),fr=_0x4e7919(0x183),vr=0x7530,bi='HEARTBEAT_TIMEOUT',Ti=0x4e20,mr=0x4e20,pr=_0x4e7919(0x38e),gr=0x3,Sr=_0x4e7919(0x391),Ir=0x3e8,Cr=_0x4e7919(0x197),Er=_0x4e7919(0x1b3),br=_0x4e7919(0x1b8),Tr=_0x4e7919(0x3f6);var Ri=(_0x3b2981=>(_0x3b2981[_0x3b2981[_0x4e7919(0x48d)]=0x0]='UNDEFINED',_0x3b2981[_0x3b2981['OK']=0x1]='OK',_0x3b2981[_0x3b2981[_0x4e7919(0x397)]=0x2]=_0x4e7919(0x397),_0x3b2981[_0x3b2981[_0x4e7919(0x10c)]=0x3]=_0x4e7919(0x10c),_0x3b2981[_0x3b2981[_0x4e7919(0x97)]=0x4]=_0x4e7919(0x97),_0x3b2981[_0x3b2981[_0x4e7919(0x3be)]=0x5]='UNAUTHENTICATED',_0x3b2981[_0x3b2981[_0x4e7919(0x242)]=0x6]=_0x4e7919(0x242),_0x3b2981[_0x3b2981['INVALID_ARGUMENT']=0x7]=_0x4e7919(0x1e5),_0x3b2981[_0x3b2981[_0x4e7919(0xa7)]=0x8]=_0x4e7919(0xa7),_0x3b2981[_0x3b2981['COMPLETION_FINISHED']=0x9]=_0x4e7919(0x48c),_0x3b2981[_0x3b2981[_0x4e7919(0x3a7)]=0x1389]=_0x4e7919(0x3a7),_0x3b2981[_0x3b2981['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4e7919(0x1a0),_0x3b2981[_0x3b2981['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4e7919(0x41e),_0x3b2981[_0x3b2981[_0x4e7919(0x12a)]=0x1773]=_0x4e7919(0x12a),_0x3b2981[_0x3b2981['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x3b2981[_0x3b2981[_0x4e7919(0x141)]=0x1b5a]=_0x4e7919(0x141),_0x3b2981[_0x3b2981[_0x4e7919(0x3c9)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3b2981[_0x3b2981[_0x4e7919(0x156)]=0x1b5c]=_0x4e7919(0x156),_0x3b2981[_0x3b2981['APPLY_DUPLICATED']=0x1b5d]=_0x4e7919(0x331),_0x3b2981[_0x3b2981[_0x4e7919(0x2f3)]=0x1f41]=_0x4e7919(0x2f3),_0x3b2981[_0x3b2981['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4e7919(0x24b),_0x3b2981[_0x3b2981[_0x4e7919(0x264)]=0x232a]=_0x4e7919(0x264),_0x3b2981[_0x3b2981[_0x4e7919(0x375)]=0x232b]=_0x4e7919(0x375),_0x3b2981[_0x3b2981[_0x4e7919(0x12e)]=0x232c]=_0x4e7919(0x12e),_0x3b2981[_0x3b2981[_0x4e7919(0x211)]=0x232d]=_0x4e7919(0x211),_0x3b2981[_0x3b2981['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4e7919(0x416),_0x3b2981[_0x3b2981[_0x4e7919(0x2bc)]=0x2712]=_0x4e7919(0x2bc),_0x3b2981[_0x3b2981[_0x4e7919(0x493)]=0x2713]=_0x4e7919(0x493),_0x3b2981[_0x3b2981[_0x4e7919(0x1c6)]=0x2714]=_0x4e7919(0x1c6),_0x3b2981[_0x3b2981['UNRECOGNIZED']=-0x1]=_0x4e7919(0x2b9),_0x3b2981))(Ri||{}),ce=(_0x3ffcc1=>(_0x3ffcc1[_0x3ffcc1[_0x4e7919(0x2ba)]=0x0]='UNIVER_UNKNOWN',_0x3ffcc1[_0x3ffcc1[_0x4e7919(0x3ca)]=0x1]=_0x4e7919(0x3ca),_0x3ffcc1[_0x3ffcc1[_0x4e7919(0x29f)]=0x2]=_0x4e7919(0x29f),_0x3ffcc1[_0x3ffcc1[_0x4e7919(0x225)]=0x3]='UNIVER_SLIDE',_0x3ffcc1[_0x3ffcc1[_0x4e7919(0xa4)]=0x4]=_0x4e7919(0xa4),_0x3ffcc1[_0x3ffcc1['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3ffcc1))(ce||{}),W=(_0x3dd788=>(_0x3dd788[_0x3dd788['UNKNOWN_CMD']=0x0]=_0x4e7919(0x95),_0x3dd788[_0x3dd788[_0x4e7919(0x427)]=0x1]='HELLO',_0x3dd788[_0x3dd788['JOIN']=0x2]='JOIN',_0x3dd788[_0x3dd788[_0x4e7919(0x3ea)]=0x3]=_0x4e7919(0x3ea),_0x3dd788[_0x3dd788[_0x4e7919(0x3e6)]=0x4]=_0x4e7919(0x3e6),_0x3dd788[_0x3dd788[_0x4e7919(0x213)]=0x5]=_0x4e7919(0x213),_0x3dd788[_0x3dd788[_0x4e7919(0xe0)]=0x6]=_0x4e7919(0xe0),_0x3dd788[_0x3dd788['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3dd788))(W||{}),Is=(_0x4447f1=>(_0x4447f1[_0x4447f1[_0x4e7919(0x223)]=0x0]=_0x4e7919(0x223),_0x4447f1[_0x4447f1['OK']=0x1]='OK',_0x4447f1[_0x4447f1[_0x4e7919(0x487)]=0x2]=_0x4e7919(0x487),_0x4447f1[_0x4447f1[_0x4e7919(0x2b9)]=-0x1]=_0x4e7919(0x2b9),_0x4447f1))(Is||{}),yi=(_0xb216d9=>(_0xb216d9[_0xb216d9[_0x4e7919(0x3f8)]=0x0]=_0x4e7919(0x3f8),_0xb216d9[_0xb216d9[_0x4e7919(0x13d)]=0x1]=_0x4e7919(0x13d),_0xb216d9[_0xb216d9[_0x4e7919(0x472)]=0x2]=_0x4e7919(0x472),_0xb216d9[_0xb216d9['UnitEmbedded']=0x3]=_0x4e7919(0x2c7),_0xb216d9[_0xb216d9[_0x4e7919(0x456)]=0x4]='UnitSnapshot',_0xb216d9[_0xb216d9['UNRECOGNIZED']=-0x1]=_0x4e7919(0x2b9),_0xb216d9))(yi||{});const ie=_0x4e7919(0x1ca),Rr={};function yr(_0x4d88a5){const _0x4f8947=_0x4e7919;var _0x27f265,_0x3f2f65,_0x15cc7,_0x7b3d8d,_0x300f72;const _0x3ea174=_0x4d88a5[_0x4f8947(0x28a)],_0x1fa48b=JSON[_0x4f8947(0xdc)](_0x3ea174);switch(_0x1fa48b[_0x4f8947(0xb9)]){case W[_0x4f8947(0x213)]:case W['HELLO']:{const _0xa05f11=_0x1fa48b[_0x4f8947(0x3da)];return{..._0x1fa48b,'data':_0xa05f11,'cmd':_0x1fa48b['cmd']};}case W[_0x4f8947(0x366)]:{const _0x34b88f=_0x1fa48b[_0x4f8947(0xed)];return{..._0x1fa48b,'data':_0x34b88f,'cmd':_0x1fa48b[_0x4f8947(0xb9)]};}case W['RECV']:{const _0xd0379a=_0x1fa48b[_0x4f8947(0x2a4)];switch(_0xd0379a[_0x4f8947(0x161)]){case _0xb7e982[_0x4f8947(0x463)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':(_0x27f265=_0xd0379a[_0x4f8947(0xd3)])==null?void 0x0:_0x27f265['cs']},'cmd':_0x1fa48b[_0x4f8947(0xb9)]};case _0xb7e982[_0x4f8947(0xfa)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':(_0x3f2f65=_0xd0379a[_0x4f8947(0x121)])==null?void 0x0:_0x3f2f65['cs']},'cmd':_0x1fa48b['cmd']};case _0xb7e982['NEW_CHANGESETS']:return{..._0x1fa48b,'data':{..._0xd0379a,'data':(_0x15cc7=_0xd0379a[_0x4f8947(0x20e)])==null?void 0x0:_0x15cc7['cs']},'cmd':_0x1fa48b['cmd']};case _0xb7e982[_0x4f8947(0x3c6)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':(_0x7b3d8d=_0xd0379a[_0x4f8947(0x399)])==null?void 0x0:_0x7b3d8d['cs']},'cmd':_0x1fa48b[_0x4f8947(0xb9)]};case _0xb7e982[_0x4f8947(0x2a5)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':(_0x300f72=_0xd0379a[_0x4f8947(0x1d5)])==null?void 0x0:_0x300f72['cs']},'cmd':_0x1fa48b[_0x4f8947(0xb9)]};case _0xb7e982[_0x4f8947(0x483)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':_0xd0379a[_0x4f8947(0x294)]},'cmd':_0x1fa48b[_0x4f8947(0xb9)]};case _0xb7e982[_0x4f8947(0x3e5)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':_0xd0379a[_0x4f8947(0x1e2)]},'cmd':_0x1fa48b[_0x4f8947(0xb9)]};case _0xb7e982[_0x4f8947(0x348)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':_0xd0379a[_0x4f8947(0x47b)]},'cmd':_0x1fa48b[_0x4f8947(0xb9)]};case _0xb7e982[_0x4f8947(0x35a)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':_0xd0379a[_0x4f8947(0xec)]},'cmd':_0x1fa48b[_0x4f8947(0xb9)]};case _0xb7e982[_0x4f8947(0x196)]:case _0xb7e982[_0x4f8947(0x334)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':_0xd0379a[_0x4f8947(0xa0)]},'cmd':_0x1fa48b['cmd']};case _0xb7e982[_0x4f8947(0xd8)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':_0xd0379a['liveShareNewHost']},'cmd':_0x1fa48b[_0x4f8947(0xb9)]};case _0xb7e982['MSG_FOR_ERROR']:return{..._0x1fa48b,'data':_0xd0379a,'cmd':_0x1fa48b[_0x4f8947(0xb9)]};case _0xb7e982[_0x4f8947(0x378)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':_0xd0379a[_0x4f8947(0x2d3)]},'cmd':_0x1fa48b[_0x4f8947(0xb9)]};case _0xb7e982[_0x4f8947(0x206)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':_0xd0379a[_0x4f8947(0x2da)]},'cmd':_0x1fa48b['cmd']};case _0xb7e982['SHOULD_CLOSE_CONN']:return{..._0x1fa48b,'data':{..._0xd0379a,'data':_0xd0379a['shouldCloseConn']},'cmd':_0x1fa48b[_0x4f8947(0xb9)]};default:return _0x1fa48b;}}default:return _0x1fa48b;}}function Or(_0x9c656e){const _0x3ee0d1=_0x4e7919;switch(_0x9c656e[_0x3ee0d1(0xb9)]){case W[_0x3ee0d1(0x213)]:case W['HELLO']:return JSON[_0x3ee0d1(0x47a)]({'cmd':_0x9c656e[_0x3ee0d1(0xb9)],'routeKey':_0x9c656e[_0x3ee0d1(0x3ed)]});case W['INGEST']:{let _0x3fc1e6;switch(_0x9c656e[_0x3ee0d1(0x28a)][_0x3ee0d1(0x161)]){case _0xb7e982[_0x3ee0d1(0x483)]:{_0x3fc1e6={'eventID':_0xb7e982[_0x3ee0d1(0x483)],'updateCursorEvent':_0x9c656e[_0x3ee0d1(0x28a)][_0x3ee0d1(0x28a)]};break;}case _0xb7e982[_0x3ee0d1(0x348)]:{_0x3fc1e6={'eventID':_0xb7e982[_0x3ee0d1(0x348)],'leaveEvent':_0x9c656e[_0x3ee0d1(0x28a)][_0x3ee0d1(0x28a)]};break;}case _0xb7e982[_0x3ee0d1(0x3e5)]:{_0x3fc1e6={'eventID':_0xb7e982[_0x3ee0d1(0x3e5)],'joinEvent':_0x9c656e[_0x3ee0d1(0x28a)][_0x3ee0d1(0x28a)]};break;}case _0xb7e982[_0x3ee0d1(0x35a)]:{_0x3fc1e6={'eventID':_0xb7e982[_0x3ee0d1(0x35a)],'liveShareNewHost':_0x9c656e[_0x3ee0d1(0x28a)][_0x3ee0d1(0x28a)]};break;}case _0xb7e982[_0x3ee0d1(0x334)]:{_0x3fc1e6={'eventID':_0xb7e982[_0x3ee0d1(0x334)],'liveShareOperation':_0x9c656e[_0x3ee0d1(0x28a)]['data']};break;}case _0xb7e982[_0x3ee0d1(0xd8)]:{_0x3fc1e6={'eventID':_0xb7e982['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x9c656e[_0x3ee0d1(0x28a)]['data']};break;}case _0xb7e982[_0x3ee0d1(0x33e)]:{_0x3fc1e6={'eventID':_0xb7e982['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x9c656e['data'][_0x3ee0d1(0x28a)]};break;}case _0xb7e982['LIVESHARE_FETCH_OPERATIONS']:{_0x3fc1e6={'eventID':_0xb7e982[_0x3ee0d1(0x196)]};break;}default:_0x3fc1e6={'eventID':_0x9c656e[_0x3ee0d1(0x28a)]['eventID']};}return JSON[_0x3ee0d1(0x47a)]({'cmd':_0x9c656e[_0x3ee0d1(0xb9)],'routeKey':_0x9c656e['routeKey'],'collaMsg':_0x3fc1e6});}case W[_0x3ee0d1(0x366)]:return JSON[_0x3ee0d1(0x47a)]({'cmd':_0x9c656e['cmd'],'routeKey':_0x9c656e[_0x3ee0d1(0x3ed)],'joinReq':_0x9c656e[_0x3ee0d1(0x28a)]});case W[_0x3ee0d1(0x3ea)]:return JSON[_0x3ee0d1(0x47a)]({'cmd':_0x9c656e[_0x3ee0d1(0xb9)],'routeKey':_0x9c656e['routeKey'],'leaveReq':_0x9c656e[_0x3ee0d1(0x28a)]});default:throw new Error(_0x3ee0d1(0x14b));}}var wr=Object[_0x4e7919(0x13e)],Dr=Object[_0x4e7919(0x3a9)],Pr=(_0x16da93,_0x53419e,_0x6f3b55,_0x32caef)=>{for(var _0x39e9d2=_0x32caef>0x1?void 0x0:_0x32caef?Dr(_0x53419e,_0x6f3b55):_0x53419e,_0x49c7b1=_0x16da93['length']-0x1,_0x1a2741;_0x49c7b1>=0x0;_0x49c7b1--)(_0x1a2741=_0x16da93[_0x49c7b1])&&(_0x39e9d2=(_0x32caef?_0x1a2741(_0x53419e,_0x6f3b55,_0x39e9d2):_0x1a2741(_0x39e9d2))||_0x39e9d2);return _0x32caef&&_0x39e9d2&&wr(_0x53419e,_0x6f3b55,_0x39e9d2),_0x39e9d2;},qe=(_0x4cd30e,_0x4cf915)=>(_0x1b922f,_0x2b77e5)=>_0x4cf915(_0x1b922f,_0x2b77e5,_0x4cd30e);const Oi=_0x20f251(_0x4e7919(0xcf));function Ur(_0x52a9a6,_0x3346ca,_0x430e59){const _0x2cfc63=_0x4e7919;return _0x52a9a6+'/'+_0x3346ca+_0x2cfc63(0x28e)+_0x430e59+_0x2cfc63(0x478);}let es=class extends _0x4b38ce{constructor(_0x3d0a39,_0x4362da,_0x338476,_0xc0eb46,_0x3fe1b6){const _0x2af57a=_0x4e7919;super(),this[_0x2af57a(0x2f4)]=_0x3d0a39,this['_ws']=_0x4362da,this[_0x2af57a(0x1f4)]=_0x338476,this[_0x2af57a(0x18f)]=_0xc0eb46,this['_snapshotServerService']=_0x3fe1b6;}[_0x4e7919(0x18a)](_0x3f63cd){const _0x522569=_0x4e7919,_0x562b4e=this[_0x522569(0x35e)][_0x522569(0x18a)](_0x3f63cd);if(!_0x562b4e)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x4e5f97=new _0x1eefc9(),_0x29122f=new _0x7a1bd7();_0x4e5f97[_0x522569(0x2dc)](_0x562b4e[_0x522569(0xd6)][_0x522569(0x1f1)](_0x439116=>_0x29122f[_0x522569(0x409)](_0x439116))),_0x4e5f97['add'](_0x290028(()=>_0x29122f[_0x522569(0x40f)]()));const _0x3b5629=new _0x7a1bd7();_0x4e5f97[_0x522569(0x2dc)](_0x562b4e[_0x522569(0x1b7)][_0x522569(0x1f1)](_0x117f77=>_0x3b5629[_0x522569(0x409)](_0x117f77))),_0x4e5f97[_0x522569(0x2dc)](_0x290028(()=>_0x3b5629[_0x522569(0x40f)]()));const _0x4183ca=new _0x7a1bd7();_0x4e5f97[_0x522569(0x2dc)](_0x562b4e[_0x522569(0x405)]['subscribe'](_0x4801d4=>{const _0x3f67a6=_0x522569,_0x30c2b3=yr(_0x4801d4);_0x4183ca[_0x3f67a6(0x409)](_0x30c2b3);})),_0x4e5f97[_0x522569(0x2dc)](_0x290028(()=>_0x4183ca['complete']()));let _0xed774f;const _0x4de42d=()=>{const _0x31054f=_0x522569;_0x3b5629['next'](new Event('connection\x20error')),_0x29122f[_0x31054f(0x409)](new CloseEvent(_0x31054f(0x14d))),_0xed774f['close']();};return _0xed774f={'memberID':'','close$':_0x29122f[_0x522569(0x180)](),'error$':_0x3b5629['asObservable'](),'open$':_0x562b4e[_0x522569(0x39d)],'message$':_0x4183ca[_0x522569(0x180)](),'send':_0x4e461f=>{const _0x102f6f=_0x522569;if(_0x4e461f['cmd']===W[_0x102f6f(0x3e6)]){if(_0x4e461f[_0x102f6f(0x28a)]['eventID']===_0xb7e982[_0x102f6f(0x26a)]){this[_0x102f6f(0xdb)](_0xed774f,_0x4e461f['data'])[_0x102f6f(0x317)](_0x343861=>{const _0x256202=_0x102f6f;this[_0x256202(0x18f)][_0x256202(0x24d)](_0x343861),_0x4de42d();});return;}if(_0x4e461f[_0x102f6f(0x28a)][_0x102f6f(0x161)]===_0xb7e982['FETCH_MISSING']){const _0x2afd16=_0x4e461f[_0x102f6f(0x28a)];this[_0x102f6f(0x40b)](_0x2afd16)[_0x102f6f(0x86)](_0x47e1e2=>{const _0x233216=_0x102f6f;_0x4183ca['next']({'cmd':W[_0x233216(0xe0)],'code':Is['OK'],'routeKey':_0x2afd16[_0x233216(0x28a)][_0x233216(0x8b)],'routeType':'','data':{'eventID':_0xb7e982[_0x233216(0x3c0)],'data':{'changesets':_0x47e1e2}}});})[_0x102f6f(0x317)](_0x1ccdd0=>{const _0x22e446=_0x102f6f;this['_logService'][_0x22e446(0x24d)](_0x1ccdd0),_0x4de42d();});return;}}_0x562b4e[_0x102f6f(0x7c)](Or(_0x4e461f));},'close':()=>{const _0x495769=_0x522569;_0x562b4e[_0x495769(0x116)](),_0x4e5f97[_0x495769(0xc0)]();}},_0xed774f;}async['_submitChangeset'](_0x4928c1,_0x1ba03b){const _0x45ef65=_0x4e7919;var _0x29c328,_0x3fe604;const {unitType:_0x2ef669,unitID:_0x21a05f,changeset:_0x5872e5}=_0x1ba03b[_0x45ef65(0x28a)],_0x19e6a6={'unitID':_0x21a05f,'memberID':_0x4928c1[_0x45ef65(0x20a)],'type':_0x2ef669,'changeset':_0x3ab3da(_0x5872e5)},_0x574a82=this[_0x45ef65(0x1f4)]['getConfig'](Cr),_0x3b9b1c=this[_0x45ef65(0x1f4)][_0x45ef65(0x2a3)](ie),_0x129070=Ur((_0x3fe604=(_0x29c328=_0x3b9b1c==null?void 0x0:_0x3b9b1c[_0x45ef65(0x3d5)])!=null?_0x29c328:_0x574a82)!=null?_0x3fe604:Er,_0x2ef669,_0x21a05f);try{await this[_0x45ef65(0x2f4)]['post'](_0x129070,{'body':_0x19e6a6});}catch(_0x2608f5){throw this['_logService'][_0x45ef65(0x24d)]('[CollaborationSession]',_0x45ef65(0x200)),_0x2608f5;}}async[_0x4e7919(0x40b)](_0x2dd5ad){const _0xcfcda3=_0x4e7919,{unitID:_0x4f3807,from:_0x49013c,to:_0x81c1d4,unitType:_0x463c22}=_0x2dd5ad['data'];return(await this[_0xcfcda3(0x41c)][_0xcfcda3(0x2d0)]({'metadata':void 0x0},{'unitID':_0x4f3807,'type':_0x463c22,'from':_0x49013c,'to':_0x81c1d4}))[_0xcfcda3(0x2be)];}};es=Pr([qe(0x0,_0x557b7a(_0x55adc1)),qe(0x1,_0x557b7a(_0x352ba8)),qe(0x2,_0x88f14),qe(0x3,_0x2f9740),qe(0x4,_0x18fdab)],es);const Nr=_0x4e7919(0x288);function Ar(_0xda5ed0){const _0x5461a2=_0x4e7919;return JSON[_0x5461a2(0x47a)](_0xda5ed0)[_0x5461a2(0x126)];}class wi{constructor(){const _0x4e6405=_0x4e7919;g(this,_0x4e6405(0x3ad),new _0x7a1bd7()),g(this,_0x4e6405(0x3b2),this[_0x4e6405(0x3ad)][_0x4e6405(0x180)]());}[_0x4e7919(0x3ff)](_0x13fd67){const _0x566b0a=_0x4e7919;this[_0x566b0a(0x3ad)]['next'](_0x13fd67);}}var Mr=Object['defineProperty'],xr=Object[_0x4e7919(0x3a9)],Lr=(_0x4c3222,_0x441913,_0x3bfd7f,_0x529a88)=>{for(var _0x3f5a54=_0x529a88>0x1?void 0x0:_0x529a88?xr(_0x441913,_0x3bfd7f):_0x441913,_0x2ea1cf=_0x4c3222['length']-0x1,_0x10a7cf;_0x2ea1cf>=0x0;_0x2ea1cf--)(_0x10a7cf=_0x4c3222[_0x2ea1cf])&&(_0x3f5a54=(_0x529a88?_0x10a7cf(_0x441913,_0x3bfd7f,_0x3f5a54):_0x10a7cf(_0x3f5a54))||_0x3f5a54);return _0x529a88&&_0x3f5a54&&Mr(_0x441913,_0x3bfd7f,_0x3f5a54),_0x3f5a54;},Hs=(_0x424541,_0x2d5c8f)=>(_0x3abcc5,_0x3d3ce3)=>_0x2d5c8f(_0x3abcc5,_0x3d3ce3,_0x424541);let Ne=class extends _0x4b38ce{constructor(_0x4a0f21,_0xcd81e6){const _0x360a14=_0x4e7919;super(),g(this,'_roomMembers',new Map()),(this[_0x360a14(0x29a)]=_0x4a0f21,this[_0x360a14(0x175)]=_0xcd81e6,this[_0x360a14(0xb0)](_0x290028(_0x365701(this[_0x360a14(0x29a)][_0x360a14(0x18c)](_0x470972[_0x360a14(0x29f)])[_0x360a14(0x210)](_0x1a1a5b(_0x3fa061=>_0x3fa061[_0x360a14(0x426)]())),this['_univerInstanceService'][_0x360a14(0x18c)](_0x470972[_0x360a14(0x3ca)])['pipe'](_0x1a1a5b(_0x3710b1=>_0x3710b1[_0x360a14(0x426)]())),this[_0x360a14(0x29a)][_0x360a14(0x18c)](_0x470972[_0x360a14(0x225)])['pipe'](_0x1a1a5b(_0x2080bb=>_0x2080bb[_0x360a14(0x426)]())))['subscribe'](_0xb33f56=>this[_0x360a14(0x25b)](_0xb33f56)))));}[_0x4e7919(0xa1)](_0xa09cc5){const _0x15d200=_0x4e7919;this[_0x15d200(0x175)][_0x15d200(0xa1)](_0xa09cc5);}['getCurrentUser'](){const _0x1b1c73=_0x4e7919;return this[_0x1b1c73(0x175)][_0x1b1c73(0x3c4)]();}[_0x4e7919(0x1d3)](_0x4a9b7f,_0x88eb39){const _0x23e4c4=_0x4e7919;let _0x48cca6=this['_roomMembers']['get'](_0x4a9b7f);_0x48cca6||(_0x48cca6=new $r(),this['_roomMembers'][_0x23e4c4(0x2a0)](_0x4a9b7f,_0x48cca6)),_0x48cca6[_0x23e4c4(0x1d3)](_0x88eb39);}[_0x4e7919(0xb6)](_0x90b97,_0x5a274c){const _0x17b409=_0x4e7919,_0x9371c=this[_0x17b409(0x376)][_0x17b409(0x16e)](_0x90b97);_0x9371c&&_0x9371c[_0x17b409(0xb6)](_0x5a274c);}['getRoom'](_0x4621f8){const _0x3d2cde=_0x4e7919;return this[_0x3d2cde(0x376)][_0x3d2cde(0x16e)](_0x4621f8);}[_0x4e7919(0x324)](_0x1423cb,_0x28076b){const _0x70135e=_0x4e7919,_0xb993d7=this[_0x70135e(0x376)][_0x70135e(0x16e)](_0x1423cb);if(_0xb993d7)return _0xb993d7[_0x70135e(0x324)](_0x28076b);}[_0x4e7919(0x25b)](_0x203766){const _0x56fb56=_0x4e7919,_0x3d2c96=this[_0x56fb56(0x376)][_0x56fb56(0x16e)](_0x203766);_0x3d2c96&&(_0x3d2c96[_0x56fb56(0xc0)](),this[_0x56fb56(0x376)][_0x56fb56(0x15f)](_0x203766));}[_0x4e7919(0xc0)](){const _0x178664=_0x4e7919;this[_0x178664(0x376)][_0x178664(0x21b)](_0x2a1c26=>_0x2a1c26[_0x178664(0xc0)]()),this[_0x178664(0x376)][_0x178664(0x414)]();}};Ne=Lr([Hs(0x0,_0x5e27bc),Hs(0x1,_0x557b7a(_0xc5ea1b))],Ne);class $r extends _0x4b38ce{constructor(){const _0x482f3f=_0x4e7919;super(...arguments),g(this,_0x482f3f(0x187),new Map());}[_0x4e7919(0xc0)](){const _0x272494=_0x4e7919;this[_0x272494(0x187)]['clear']();}['updateMember'](_0x5da94b){const _0x4ccb31=_0x4e7919;this[_0x4ccb31(0x187)][_0x4ccb31(0x2a0)](_0x5da94b[_0x4ccb31(0x20a)],_0x5da94b);}[_0x4e7919(0xb6)](_0x1f4a62){const _0x1238bf=_0x4e7919;this[_0x1238bf(0x187)][_0x1238bf(0x15f)](_0x1f4a62);}[_0x4e7919(0x324)](_0x28598b){const _0xd09ff0=_0x4e7919;return this[_0xd09ff0(0x187)][_0xd09ff0(0x16e)](_0x28598b);}[_0x4e7919(0x435)](){const _0x459898=_0x4e7919;return Array[_0x459898(0x468)](this[_0x459898(0x187)][_0x459898(0x13a)]());}}var Hr=Object[_0x4e7919(0x13e)],jr=Object['getOwnPropertyDescriptor'],Br=(_0x1d88dd,_0x469e40,_0xdbedf6,_0x39f42d)=>{const _0xdbd0de=_0x4e7919;for(var _0x49ac17=_0x39f42d>0x1?void 0x0:_0x39f42d?jr(_0x469e40,_0xdbedf6):_0x469e40,_0x2fd7fa=_0x1d88dd[_0xdbd0de(0x126)]-0x1,_0x1933dc;_0x2fd7fa>=0x0;_0x2fd7fa--)(_0x1933dc=_0x1d88dd[_0x2fd7fa])&&(_0x49ac17=(_0x39f42d?_0x1933dc(_0x469e40,_0xdbedf6,_0x49ac17):_0x1933dc(_0x49ac17))||_0x49ac17);return _0x39f42d&&_0x49ac17&&Hr(_0x469e40,_0xdbedf6,_0x49ac17),_0x49ac17;},Ee=(_0x1ad5c9,_0x4d6af2)=>(_0x3e0f67,_0x2892b6)=>_0x4d6af2(_0x3e0f67,_0x2892b6,_0x1ad5c9),ve=(_0x269122=>(_0x269122[_0x269122['IDLE']=0x0]=_0x4e7919(0x2f8),_0x269122[_0x269122[_0x4e7919(0xbe)]=0x1]=_0x4e7919(0xbe),_0x269122[_0x269122['OFFLINE']=0x2]=_0x4e7919(0x3f4),_0x269122[_0x269122[_0x4e7919(0x28f)]=0x3]='ONLINE',_0x269122))(ve||{});let ts=class extends _0x15900e{constructor(_0x2782c1,_0x123226,_0x5e878f,_0x29f993,_0x2792ba,_0xbd48f4,_0x3f13a9,_0x4d9ff9,_0x21ca8e,_0x4bb363){const _0x23a6e9=_0x4e7919;super(),g(this,_0x23a6e9(0x286),new _0x524b68(0x0)),g(this,_0x23a6e9(0x109),this[_0x23a6e9(0x286)]['asObservable']()),g(this,'_event$',new _0x7a1bd7()),g(this,'event$',this[_0x23a6e9(0x17a)][_0x23a6e9(0x180)]()),g(this,_0x23a6e9(0x113)),g(this,_0x23a6e9(0x235)),g(this,_0x23a6e9(0x320)),g(this,_0x23a6e9(0x14a),!0x1),g(this,_0x23a6e9(0x440),null),(this['_unitID']=_0x2782c1,this[_0x23a6e9(0x18f)]=_0x5e878f,this[_0x23a6e9(0xda)]=_0x29f993,this[_0x23a6e9(0x443)]=_0x2792ba,this['_configService']=_0xbd48f4,this[_0x23a6e9(0x238)]=_0x3f13a9,this[_0x23a6e9(0x17d)]=_0x4d9ff9,this[_0x23a6e9(0x36e)]=_0x21ca8e,this[_0x23a6e9(0x7a)]=_0x4bb363,this[_0x23a6e9(0x14a)]=!!this[_0x23a6e9(0x7a)],_0x123226[_0x23a6e9(0x210)](_0x234986(this[_0x23a6e9(0x15d)]))['subscribe'](_0x317fa0=>{const _0x527873=_0x23a6e9;var _0x3e8877;typeof _0x317fa0>'u'||(this[_0x527873(0x113)]=_0x317fa0,_0x317fa0?(this['_joinRoom'](_0x317fa0),this[_0x527873(0x235)]=_0x317fa0['message$']['subscribe'](_0x3ca1ea=>{const _0x439442=_0x527873;_0x3ca1ea[_0x439442(0x3ed)]===this[_0x439442(0x46a)]&&this[_0x439442(0x142)](_0x3ca1ea);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x527873(0x409)](0x2),(_0x3e8877=this[_0x527873(0x235)])==null||_0x3e8877[_0x527873(0x155)](),this[_0x527873(0x235)]=null));}),this[_0x23a6e9(0xb0)](this['_beforeCloseService'][_0x23a6e9(0x38d)](()=>{const _0x38df57=_0x23a6e9;var _0xe35f30;(_0xe35f30=this[_0x38df57(0x113)])==null||_0xe35f30[_0x38df57(0x7c)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x38df57(0x46a)]}});})));}get[_0x4e7919(0x37a)](){const _0x304a00=_0x4e7919;return this[_0x304a00(0x286)][_0x304a00(0x358)]();}[_0x4e7919(0x3cd)](){const _0x958323=_0x4e7919;var _0x2ad31f,_0x2e8454;return(_0x2e8454=(_0x2ad31f=this[_0x958323(0x113)])==null?void 0x0:_0x2ad31f[_0x958323(0x20a)])!=null?_0x2e8454:null;}[_0x4e7919(0xc0)](){const _0x52cab3=_0x4e7919;super[_0x52cab3(0xc0)](),this[_0x52cab3(0x15d)][_0x52cab3(0x409)](),this[_0x52cab3(0x15d)][_0x52cab3(0x40f)]();}[_0x4e7919(0x116)](){const _0x22f84a=_0x4e7919;var _0x5e01f0,_0x1a5fc6;this[_0x22f84a(0x29d)](),(_0x5e01f0=this[_0x22f84a(0x113)])==null||_0x5e01f0[_0x22f84a(0x7c)]({'cmd':W[_0x22f84a(0x3ea)],'data':{'roomID':this[_0x22f84a(0x46a)]}}),(_0x1a5fc6=this['_socket'])==null||_0x1a5fc6['close'](),this[_0x22f84a(0x17a)]['complete'](),this[_0x22f84a(0x286)]['complete'](),this[_0x22f84a(0xc0)]();}[_0x4e7919(0x142)](_0x493502){const _0x207192=_0x4e7919;_0x493502['cmd']===W['JOIN']?this[_0x207192(0x42a)](_0x493502):_0x493502[_0x207192(0xb9)]===W[_0x207192(0xe0)]&&this['_onRecvEvent'](_0x493502);}[_0x4e7919(0x3ef)](_0x5d828b){const _0x45c3f9=_0x4e7919;this[_0x45c3f9(0x286)][_0x45c3f9(0x409)](0x1),_0x5d828b[_0x45c3f9(0x7c)]({'cmd':W['JOIN'],'routeKey':this[_0x45c3f9(0x46a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x45c3f9(0x46a)]}]}});}[_0x4e7919(0x42a)](_0x143029){const _0x25ade9=_0x4e7919;var _0x5b5c95;if(_0x143029['code']===Is['FAIL']){this['_messageService'][_0x25ade9(0x243)]({'type':_0x302b10[_0x25ade9(0x1dc)],'content':this[_0x25ade9(0x238)]['t']('session.room-full')}),this[_0x25ade9(0x286)][_0x25ade9(0x409)](0x2);return;}this[_0x25ade9(0x286)][_0x25ade9(0x409)](0x3);const _0x704f99=(_0x5b5c95=_0x143029[_0x25ade9(0x28a)][_0x25ade9(0xaf)][this['_unitID']])==null?void 0x0:_0x5b5c95['members'];_0x704f99&&_0x704f99[_0x25ade9(0x21b)](_0x2cb75a=>this['_memberService'][_0x25ade9(0x1d3)](this[_0x25ade9(0x46a)],_0x2cb75a));}[_0x4e7919(0x3c2)](_0x517676){const _0x5e6d57=_0x4e7919;try{const _0x1fddec=_0x517676[_0x5e6d57(0x28a)];switch(_0x1fddec[_0x5e6d57(0x161)]){case _0xb7e982[_0x5e6d57(0x3e5)]:this[_0x5e6d57(0x313)](_0x1fddec),this[_0x5e6d57(0x17a)][_0x5e6d57(0x409)](_0x1fddec);break;case _0xb7e982[_0x5e6d57(0x348)]:this[_0x5e6d57(0x115)](_0x1fddec),this[_0x5e6d57(0x17a)][_0x5e6d57(0x409)](_0x1fddec);break;case _0xb7e982[_0x5e6d57(0xfa)]:case _0xb7e982[_0x5e6d57(0x2a5)]:this[_0x5e6d57(0x21a)](),this[_0x5e6d57(0x445)](),this[_0x5e6d57(0x17a)][_0x5e6d57(0x409)](_0x1fddec);break;case _0xb7e982[_0x5e6d57(0xa9)]:this[_0x5e6d57(0x18f)]['error'](_0x5e6d57(0x2fa)+JSON['stringify'](_0x1fddec)),this['_event$'][_0x5e6d57(0x409)](_0x1fddec);break;case _0xb7e982['COMMENT_UPDATE']:this[_0x5e6d57(0x36e)][_0x5e6d57(0x3ff)](_0x1fddec[_0x5e6d57(0x28a)]),this[_0x5e6d57(0x17a)][_0x5e6d57(0x409)](_0x1fddec);break;default:this[_0x5e6d57(0x17a)][_0x5e6d57(0x409)](_0x1fddec);}}catch(_0x32dd9a){this[_0x5e6d57(0x18f)]['error'](_0x32dd9a,_0x517676);}}[_0x4e7919(0x313)](_0x3cefa3){const _0x3fc7b9=_0x4e7919;this[_0x3fc7b9(0x17d)]['updateMember'](this[_0x3fc7b9(0x46a)],_0x3cefa3[_0x3fc7b9(0x28a)]);}['_onUserLeave'](_0x457c20){const _0x3e5a2d=_0x4e7919;this[_0x3e5a2d(0x17d)]['removeMember'](this['_unitID'],_0x457c20[_0x3e5a2d(0x28a)]['memberID']);}async[_0x4e7919(0x7c)](_0x624f10,_0x2ad54c){const _0x3bb47b=_0x4e7919;if(this[_0x3bb47b(0x37a)]!==0x3||!this[_0x3bb47b(0x113)])throw new Error(_0x3bb47b(0x2ab));try{_0x624f10[_0x3bb47b(0x161)]===_0xb7e982['SUBMIT_CHANGESET']&&(this[_0x3bb47b(0x410)](),this['_startTelemetryCollaborationNewChangeset'](_0x624f10)),this['_socket'][_0x3bb47b(0x7c)]({'cmd':W[_0x3bb47b(0x3e6)],'routeKey':_0x2ad54c,'routeType':'','data':_0x624f10});}catch(_0x470fc6){this['_logService']['error'](_0x470fc6);}}[_0x4e7919(0x410)](){const _0x11e267=_0x4e7919;var _0x1c3c1b;this[_0x11e267(0x320)]=window[_0x11e267(0x1f7)](()=>{const _0x2f417c=_0x11e267;this['_collaborationTimeoutTimer']=null,this['_messageService']['show']({'type':_0x302b10[_0x2f417c(0x457)],'content':this[_0x2f417c(0x238)]['t'](_0x2f417c(0x492))});},(_0x1c3c1b=this[_0x11e267(0x1f4)][_0x11e267(0x2a3)](bi))!=null?_0x1c3c1b:Ti);}['_clearCollaborationTimeoutTimer'](){const _0x5f4b61=_0x4e7919;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x5f4b61(0x320)]),this[_0x5f4b61(0x320)]=null);}[_0x4e7919(0x34f)](_0x9f315d){const _0x159a60=_0x4e7919;if(!this[_0x159a60(0x14a)])return;const {data:_0x5c5fc6}=_0x9f315d,{unitID:_0x4b8f6c,changeset:_0x3c8061}=_0x5c5fc6,{mutations:_0x3e2ec1,type:_0x557f98}=_0x3c8061;this[_0x159a60(0x440)]={'unitId':_0x4b8f6c,'type':_0x557f98,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ar(_0x3e2ec1)};}[_0x4e7919(0x21a)](){const _0x214c79=_0x4e7919;if(this[_0x214c79(0x14a)]){if(!this[_0x214c79(0x440)]){this['_logService']['error'](_0x214c79(0xad),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x214c79(0x2f9)]=performance[_0x214c79(0x26f)](),this[_0x214c79(0x440)][_0x214c79(0x2c8)]=this[_0x214c79(0x440)][_0x214c79(0x2f9)]-this[_0x214c79(0x440)][_0x214c79(0x42f)],this[_0x214c79(0x7a)][_0x214c79(0x13c)](Nr,this[_0x214c79(0x440)]),this[_0x214c79(0x440)]=null;}}[_0x4e7919(0x29d)](){this['_telemetryInfo']=null;}};ts=Br([Ee(0x2,_0x2f9740),Ee(0x3,_0x507e18),Ee(0x4,_0x4e3214),Ee(0x5,_0x88f14),Ee(0x6,_0x557b7a(_0x5e134c)),Ee(0x7,_0x557b7a(Ne)),Ee(0x8,_0x557b7a(wi)),Ee(0x9,_0x263588(_0x56469e))],ts);var kr=Object[_0x4e7919(0x13e)],Wr=Object[_0x4e7919(0x3a9)],Fr=(_0x16052d,_0x3c20be,_0x2f8bce,_0x400e3d)=>{for(var _0x1d1e80=_0x400e3d>0x1?void 0x0:_0x400e3d?Wr(_0x3c20be,_0x2f8bce):_0x3c20be,_0xa5c6c1=_0x16052d['length']-0x1,_0x2139da;_0xa5c6c1>=0x0;_0xa5c6c1--)(_0x2139da=_0x16052d[_0xa5c6c1])&&(_0x1d1e80=(_0x400e3d?_0x2139da(_0x3c20be,_0x2f8bce,_0x1d1e80):_0x2139da(_0x1d1e80))||_0x1d1e80);return _0x400e3d&&_0x1d1e80&&kr(_0x3c20be,_0x2f8bce,_0x1d1e80),_0x1d1e80;},je=(_0x54f468,_0x346192)=>(_0x1d7c48,_0x2c3f64)=>_0x346192(_0x1d7c48,_0x2c3f64,_0x54f468);let Ae=class extends _0x4b38ce{constructor(_0x1dbd07,_0x7fa04f,_0x88c0de,_0xd66ba,_0xd5bbc,_0x47eea0){const _0x19a182=_0x4e7919;super(),g(this,_0x19a182(0x19e),new _0x524b68(void 0x0)),g(this,'socket$',this[_0x19a182(0x19e)][_0x19a182(0x180)]()),g(this,_0x19a182(0x27f),null),g(this,'_sessions',new Map()),g(this,'_status$',new _0x524b68(ve[_0x19a182(0x2f8)])),g(this,_0x19a182(0x1cf),this[_0x19a182(0x221)][_0x19a182(0x180)]()),g(this,'_socketReady',!0x1),g(this,'_retryConnectingTimer'),g(this,_0x19a182(0x1f5),0x0),g(this,'_sendHeartbeatTimer'),g(this,_0x19a182(0x381)),(this[_0x19a182(0x1e4)]=_0x1dbd07,this[_0x19a182(0x238)]=_0x7fa04f,this[_0x19a182(0x443)]=_0x88c0de,this[_0x19a182(0x18f)]=_0xd66ba,this[_0x19a182(0x1f4)]=_0xd5bbc,this['_socketService']=_0x47eea0,this[_0x19a182(0x474)]());}get['_socket'](){const _0x4bd24d=_0x4e7919;return this[_0x4bd24d(0x19e)]['getValue']();}[_0x4e7919(0x474)](){const _0x5575bd=_0x4e7919;this[_0x5575bd(0x165)](),this[_0x5575bd(0x230)]();}['dispose'](){const _0x47507d=_0x4e7919;super[_0x47507d(0xc0)](),this[_0x47507d(0xc1)][_0x47507d(0x21b)](_0x4c0fe1=>_0x4c0fe1[_0x47507d(0xc0)]()),this[_0x47507d(0xc1)][_0x47507d(0x414)](),this[_0x47507d(0x221)][_0x47507d(0x40f)]();}async[_0x4e7919(0x386)](_0x484926){const _0x182670=_0x4e7919;if(this[_0x182670(0xc1)]['has'](_0x484926))return this[_0x182670(0xc1)][_0x182670(0x16e)](_0x484926);this[_0x182670(0x2ea)]();const _0x4f8ea5=this[_0x182670(0x1e4)][_0x182670(0x2c9)](ts,_0x484926,this[_0x182670(0x19e)][_0x182670(0x180)]());return this[_0x182670(0xc1)][_0x182670(0x2a0)](_0x484926,_0x4f8ea5),_0x4f8ea5;}[_0x4e7919(0x355)](_0x3ded39){const _0x4ddab1=_0x4e7919;var _0x55b6e7;const _0x37b40b=this[_0x4ddab1(0xc1)][_0x4ddab1(0x16e)](_0x3ded39);_0x37b40b&&(this[_0x4ddab1(0xc1)]['delete'](_0x3ded39),_0x37b40b['close']()),this[_0x4ddab1(0xc1)][_0x4ddab1(0x277)]||(_0x55b6e7=this['_socket'])==null||_0x55b6e7[_0x4ddab1(0x116)]();}[_0x4e7919(0x215)](){const _0x17c683=_0x4e7919;this[_0x17c683(0x1f5)]=0x0,this[_0x17c683(0x28d)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x17c683(0x28d)]=null),this[_0x17c683(0x248)]();}[_0x4e7919(0x2ad)](){const _0x25d8ad=_0x4e7919;var _0x2d4450,_0x2e1493;const _0x1fb12b=this[_0x25d8ad(0x1f4)][_0x25d8ad(0x2a3)](ur),_0x23e078=this[_0x25d8ad(0x1f4)][_0x25d8ad(0x2a3)](ie),_0x516dd1=(_0x2e1493=(_0x2d4450=_0x23e078==null?void 0x0:_0x23e078['collabWebSocketUrl'])!=null?_0x2d4450:_0x1fb12b)!=null?_0x2e1493:dr,_0x1e6104=this['_socketService'][_0x25d8ad(0x18a)](_0x516dd1);return this['_candidateSocket']=_0x1e6104,_0x1e6104;}[_0x4e7919(0x2ea)](){const _0x4b9cbc=_0x4e7919;var _0x4ee457,_0x2aedc0;try{const _0x5b6756=(_0x2aedc0=(_0x4ee457=this['_socket'])!=null?_0x4ee457:this[_0x4b9cbc(0x27f)])!=null?_0x2aedc0:this[_0x4b9cbc(0x2ad)]();if(_0x5b6756){const _0x8520c2=_0x5b6756[_0x4b9cbc(0x7c)];_0x5b6756[_0x4b9cbc(0x7c)]=_0x5b2f51=>(this[_0x4b9cbc(0x3cc)](),_0x8520c2[_0x4b9cbc(0x2d7)](_0x5b6756,[_0x5b2f51])),_0x5b6756['message$'][_0x4b9cbc(0x1f1)](_0x30bb9d=>this[_0x4b9cbc(0x1ad)](_0x5b6756,_0x30bb9d)),_0x5b6756[_0x4b9cbc(0x1b7)][_0x4b9cbc(0x210)](_0x33eb95(0x1))[_0x4b9cbc(0x1f1)](_0x5008fe=>this[_0x4b9cbc(0x18f)][_0x4b9cbc(0x24d)](_0x4b9cbc(0xbf),_0x5008fe)),_0x5b6756[_0x4b9cbc(0x39d)][_0x4b9cbc(0x210)](_0x33eb95(0x1))[_0x4b9cbc(0x1f1)](()=>{const _0x4ee749=_0x4b9cbc;this[_0x4ee749(0x2bf)](_0x5b6756);}),_0x5b6756[_0x4b9cbc(0xd6)][_0x4b9cbc(0x210)](_0x33eb95(0x1))[_0x4b9cbc(0x1f1)](_0x5c7cf3=>{const _0x5c184d=_0x4b9cbc;this[_0x5c184d(0x18f)][_0x5c184d(0x236)](_0x5c184d(0xb4),_0x5c184d(0x48a),_0x5c7cf3),this[_0x5c184d(0x3db)]();});}}catch(_0x525d3d){this[_0x4b9cbc(0x18f)][_0x4b9cbc(0x24d)](_0x525d3d),this[_0x4b9cbc(0x3db)]();}}[_0x4e7919(0x2bf)](_0x3e6cca){const _0x3bde97=_0x4e7919;this[_0x3bde97(0x18f)][_0x3bde97(0x236)](_0x3bde97(0xb4),_0x3bde97(0x259)),_0x3e6cca[_0x3bde97(0x7c)]({'cmd':W[_0x3bde97(0x427)]}),this[_0x3bde97(0x3cc)]();}[_0x4e7919(0x165)](){window['addEventListener']('offline',()=>this['_onOffline']());}['_onOffline'](){const _0xcf70d5=_0x4e7919;this[_0xcf70d5(0x489)]=!0x1,this[_0xcf70d5(0x27f)]=null,this[_0xcf70d5(0x221)][_0xcf70d5(0x409)](ve['OFFLINE']),this[_0xcf70d5(0x19e)][_0xcf70d5(0x409)](null),this['_clearTimeoutTimer'](),this[_0xcf70d5(0x245)]();}[_0x4e7919(0x3db)](){const _0x369592=_0x4e7919;var _0x200f14;this['_onOffline'](),this['_retryCount']<((_0x200f14=this[_0x369592(0x1f4)][_0x369592(0x2a3)](pr))!=null?_0x200f14:gr)?(this[_0x369592(0x443)][_0x369592(0x243)]({'key':_0x369592(0x352),'type':_0x302b10[_0x369592(0x1dc)],'content':this[_0x369592(0x238)]['t']('session.will-retry')}),this[_0x369592(0x248)]()):this[_0x369592(0x443)][_0x369592(0x243)]({'key':_0x369592(0x352),'type':_0x302b10['Error'],'content':this[_0x369592(0x238)]['t'](_0x369592(0x301))});}[_0x4e7919(0x230)](){const _0x3e26a2=_0x4e7919,_0x44aff6=()=>{const _0x5a8a23=_0x5ed9;this[_0x5a8a23(0x113)]||this[_0x5a8a23(0x215)]();},_0x7ec602=()=>{const _0x294861=_0x5ed9;this[_0x294861(0x113)]||document[_0x294861(0xe4)]===_0x294861(0x372)||this[_0x294861(0x215)]();};window[_0x3e26a2(0x315)](_0x3e26a2(0x300),_0x44aff6),document[_0x3e26a2(0x315)]('visibilitychange',_0x7ec602);}[_0x4e7919(0x248)](){const _0x6c2de3=_0x4e7919;var _0x405b35;const _0xd11e9c=this['_retryCount'],_0x23cf77=this[_0x6c2de3(0x1f4)]['getConfig'](ie),_0x3ec518=_0xd11e9c===0x0?0x0:((_0x405b35=_0x23cf77==null?void 0x0:_0x23cf77[_0x6c2de3(0x2c4)])!=null?_0x405b35:mr)*0x2**_0xd11e9c;this[_0x6c2de3(0x28d)]=window[_0x6c2de3(0x1f7)](()=>{const _0x3bc7a1=_0x6c2de3;clearTimeout(this[_0x3bc7a1(0x28d)]),this[_0x3bc7a1(0x28d)]=null,this['_tryEnsureSocket']();},_0x3ec518),this[_0x6c2de3(0x1f5)]+=0x1;}['_onMessage'](_0xd9914,_0x3fb1af){const _0x1cf375=_0x4e7919,{cmd:_0x283e45}=_0x3fb1af;_0x283e45===W['HELLO']&&!this[_0x1cf375(0x489)]&&(_0xd9914[_0x1cf375(0x20a)]=_0x3fb1af['data']['memberID'],this[_0x1cf375(0x19e)][_0x1cf375(0x409)](_0xd9914),this[_0x1cf375(0x221)]['next'](ve[_0x1cf375(0x28f)]),this[_0x1cf375(0x489)]=!0x0,this['_candidateSocket']=null),_0x283e45===W[_0x1cf375(0x213)]&&this['_clearTimeoutTimer'](),this[_0x1cf375(0x3cc)]();}[_0x4e7919(0x3cc)](){const _0x3c6a27=_0x4e7919;var _0x5d0f99;this['_clearHeartbeatTimer'](),this[_0x3c6a27(0xeb)]=window[_0x3c6a27(0x1f7)](()=>this[_0x3c6a27(0x1ae)](),(_0x5d0f99=this[_0x3c6a27(0x1f4)]['getConfig'](fr))!=null?_0x5d0f99:vr);}[_0x4e7919(0x1ae)](){const _0x8cce3b=_0x4e7919;this[_0x8cce3b(0x113)][_0x8cce3b(0x7c)]({'cmd':W[_0x8cce3b(0x213)]}),this[_0x8cce3b(0x3af)]();}['_waitForHeartbeatResponse'](){const _0x1dc09d=_0x4e7919;var _0x1761af;this[_0x1dc09d(0x381)]=window[_0x1dc09d(0x1f7)](()=>this[_0x1dc09d(0x3db)](),(_0x1761af=this[_0x1dc09d(0x1f4)]['getConfig'](bi))!=null?_0x1761af:Ti);}[_0x4e7919(0x245)](){const _0x1aab30=_0x4e7919;this[_0x1aab30(0xeb)]!=null&&(clearTimeout(this[_0x1aab30(0xeb)]),this[_0x1aab30(0xeb)]=null);}[_0x4e7919(0x1d2)](){const _0x7ee228=_0x4e7919;this[_0x7ee228(0x381)]!=null&&(clearTimeout(this[_0x7ee228(0x381)]),this[_0x7ee228(0x381)]=null);}};Ae=Fr([je(0x0,_0x557b7a(_0x5a5437)),je(0x1,_0x557b7a(_0x5e134c)),je(0x2,_0x4e3214),je(0x3,_0x2f9740),je(0x4,_0x88f14),je(0x5,Oi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x4e7919(0x209)]((i+0x100)[_0x4e7919(0x227)](0x10)[_0x4e7919(0x41b)](0x1));function Vr(_0x3c206e,_0x37048c=0x0){const _0x2da91f=_0x4e7919;return(Y[_0x3c206e[_0x37048c+0x0]]+Y[_0x3c206e[_0x37048c+0x1]]+Y[_0x3c206e[_0x37048c+0x2]]+Y[_0x3c206e[_0x37048c+0x3]]+'-'+Y[_0x3c206e[_0x37048c+0x4]]+Y[_0x3c206e[_0x37048c+0x5]]+'-'+Y[_0x3c206e[_0x37048c+0x6]]+Y[_0x3c206e[_0x37048c+0x7]]+'-'+Y[_0x3c206e[_0x37048c+0x8]]+Y[_0x3c206e[_0x37048c+0x9]]+'-'+Y[_0x3c206e[_0x37048c+0xa]]+Y[_0x3c206e[_0x37048c+0xb]]+Y[_0x3c206e[_0x37048c+0xc]]+Y[_0x3c206e[_0x37048c+0xd]]+Y[_0x3c206e[_0x37048c+0xe]]+Y[_0x3c206e[_0x37048c+0xf]])[_0x2da91f(0x176)]();}let Nt;const Gr=new Uint8Array(0x10);function Yr(){const _0x4d1bbf=_0x4e7919;if(!Nt){if(typeof crypto>'u'||!crypto[_0x4d1bbf(0x19d)])throw new Error(_0x4d1bbf(0x3fa));Nt=crypto[_0x4d1bbf(0x19d)][_0x4d1bbf(0x193)](crypto);}return Nt(Gr);}const Kr=typeof crypto<'u'&&crypto[_0x4e7919(0x425)]&&crypto[_0x4e7919(0x425)][_0x4e7919(0x193)](crypto),js={'randomUUID':Kr};function zr(_0x488c04,_0x4dd1e6,_0x531596){const _0x451989=_0x4e7919;if(js[_0x451989(0x425)]&&!_0x4dd1e6&&!_0x488c04)return js[_0x451989(0x425)]();_0x488c04=_0x488c04||{};const _0x382610=_0x488c04[_0x451989(0x329)]||(_0x488c04[_0x451989(0xf6)]||Yr)();return _0x382610[0x6]=_0x382610[0x6]&0xf|0x40,_0x382610[0x8]=_0x382610[0x8]&0x3f|0x80,Vr(_0x382610);}var qr=Object['defineProperty'],Xr=Object[_0x4e7919(0x3a9)],Jr=(_0xc49008,_0x1f4278,_0x209646,_0x2f7b8e)=>{for(var _0x5b3b96=_0x2f7b8e>0x1?void 0x0:_0x2f7b8e?Xr(_0x1f4278,_0x209646):_0x1f4278,_0x43ffaa=_0xc49008['length']-0x1,_0x52ee01;_0x43ffaa>=0x0;_0x43ffaa--)(_0x52ee01=_0xc49008[_0x43ffaa])&&(_0x5b3b96=(_0x2f7b8e?_0x52ee01(_0x1f4278,_0x209646,_0x5b3b96):_0x52ee01(_0x5b3b96))||_0x5b3b96);return _0x2f7b8e&&_0x5b3b96&&qr(_0x1f4278,_0x209646,_0x5b3b96),_0x5b3b96;},At=(_0x3b63cb,_0x3c138c)=>(_0x408dc0,_0x37cf4b)=>_0x3c138c(_0x408dc0,_0x37cf4b,_0x3b63cb);function _0x5ed9(_0x2a9333,_0x1ce175){const _0x3f1c13=_0x3f1c();return _0x5ed9=function(_0x5ed994,_0x50fcd4){_0x5ed994=_0x5ed994-0x79;let _0x4a5a84=_0x3f1c13[_0x5ed994];return _0x4a5a84;},_0x5ed9(_0x2a9333,_0x1ce175);}let ft=class{constructor(_0x3deb0c,_0xcfca0,_0x903f4a){const _0x508d8c=_0x4e7919;this[_0x508d8c(0x1e4)]=_0x3deb0c,this[_0x508d8c(0x2ac)]=_0xcfca0,this[_0x508d8c(0x370)]=_0x903f4a;}['transformIMECache'](_0x34c5c0){const _0x9f74d8=_0x4e7919;this[_0x9f74d8(0xc9)](_0x34c5c0),this[_0x9f74d8(0x7d)](_0x34c5c0);}[_0x4e7919(0x309)](_0x4886f8){const _0x2b389b=_0x4e7919,{unitID:_0x1b3441}=_0x4886f8,_0xdd4393=this[_0x2b389b(0x370)][_0x2b389b(0x119)](_0x1b3441)[_0x2b389b(0xb1)](_0x1e7a00),{redoCache:_0x643450}=_0xdd4393[_0x2b389b(0x2f7)]();if(_0x643450[_0x2b389b(0x126)]===0x0)return _0x4886f8;let _0x4970ac=_0x162500['deepClone'](_0x4886f8['mutations'][0x0]);for(let _0x4ea121=0x0;_0x4ea121<_0x643450[_0x2b389b(0x126)];_0x4ea121++){const _0x50f094={'id':'doc.mutation.rich-text-editing','params':{..._0x643450[_0x4ea121]}},_0x31cb3e=this[_0x2b389b(0x2ac)]['transformMutation'](_0x4970ac,_0x50f094,!0x1);if(_0x5bbb53(_0x31cb3e))throw _0x31cb3e[_0x2b389b(0x24d)];_0x4970ac=_0x31cb3e[_0x2b389b(0x19b)];}return{..._0x162500[_0x2b389b(0x2cb)](_0x4886f8),'mutations':[_0x4970ac]};}[_0x4e7919(0xc9)](_0x57ff25){const _0x1bf034=_0x4e7919,{unitID:_0x6f246e}=_0x57ff25,_0x3acf5a=this[_0x1bf034(0x370)]['getRenderById'](_0x6f246e)[_0x1bf034(0xb1)](_0x1e7a00),{undoCache:_0xa1fc21,redoCache:_0x1bd39c}=_0x3acf5a[_0x1bf034(0x2f7)]();if(_0xa1fc21['length']===0x0||_0x1bd39c[_0x1bf034(0x126)]===0x0)return;const _0x2c174c=[],_0x3c1033=[];let _0x520378=_0x162500[_0x1bf034(0x2cb)](_0x57ff25[_0x1bf034(0x13b)][0x0]),_0x585961=_0x162500[_0x1bf034(0x2cb)](_0x57ff25[_0x1bf034(0x13b)][0x0]);for(let _0x4c15fc=_0xa1fc21['length']-0x1;_0x4c15fc>=0x0;_0x4c15fc--){const _0x112c1c={'id':_0x1bf034(0x3b8),'params':{..._0xa1fc21[_0x4c15fc]}},_0x414a10={'id':'doc.mutation.rich-text-editing','params':{..._0x1bd39c[_0x4c15fc]}},_0x16a3b0=this[_0x1bf034(0x2ac)][_0x1bf034(0x132)](_0x520378,_0x112c1c,!0x1),_0x3c4d57=this[_0x1bf034(0x2ac)]['transformMutation'](_0x585961,_0x414a10,!0x1);if(_0x5bbb53(_0x16a3b0))throw _0x16a3b0[_0x1bf034(0x24d)];if(_0x5bbb53(_0x3c4d57))throw _0x3c4d57[_0x1bf034(0x24d)];_0x2c174c['unshift'](_0x16a3b0['m2Prime']['params']),_0x3c1033['unshift'](_0x3c4d57[_0x1bf034(0xca)]['params']),_0x520378=_0x16a3b0[_0x1bf034(0x19b)],_0x585961=_0x3c4d57['m1Prime'];}_0x3acf5a[_0x1bf034(0x322)]({'undoCache':_0x2c174c,'redoCache':_0x3c1033});}[_0x4e7919(0x7d)](_0x2af36b){const _0x3f8db3=_0x4e7919,{unitID:_0x28e00f}=_0x2af36b,_0xdeb473=this[_0x3f8db3(0x370)]['getRenderById'](_0x28e00f)['with'](_0x1e7a00),_0x2037a8=_0xdeb473['getActiveRange']();if(_0x2037a8==null)return;const _0x100a17=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2af36b[_0x3f8db3(0x8b)],'actions':null,'textRanges':[_0x2037a8]}}],_0x1b4d3c=this[_0x3f8db3(0x2ac)]['transformMutationsWithChangeset'](_0x2af36b,_0x100a17);if(!_0x26df4b(_0x1b4d3c))throw _0x1b4d3c['error'];const _0x8445f6=_0x1b4d3c['m2Prime'][0x0][_0x3f8db3(0x244)][_0x3f8db3(0x21d)];Array[_0x3f8db3(0x1a9)](_0x8445f6)&&_0x8445f6['length']&&_0xdeb473['setActiveRange'](_0x8445f6[0x0]);}};ft=Jr([At(0x0,_0x557b7a(_0x5a5437)),At(0x1,_0xd1dd82),At(0x2,_0x9b882e)],ft);var Zr=Object[_0x4e7919(0x13e)],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x156201,_0x1cfb38,_0x8cabc6,_0x18052c)=>{for(var _0x1e33e9=_0x18052c>0x1?void 0x0:_0x18052c?Qr(_0x1cfb38,_0x8cabc6):_0x1cfb38,_0x3fa3c8=_0x156201['length']-0x1,_0x4e31df;_0x3fa3c8>=0x0;_0x3fa3c8--)(_0x4e31df=_0x156201[_0x3fa3c8])&&(_0x1e33e9=(_0x18052c?_0x4e31df(_0x1cfb38,_0x8cabc6,_0x1e33e9):_0x4e31df(_0x1e33e9))||_0x1e33e9);return _0x18052c&&_0x1e33e9&&Zr(_0x1cfb38,_0x8cabc6,_0x1e33e9),_0x1e33e9;},Xe=(_0x95e841,_0x14a98b)=>(_0xfec21a,_0x5b1c49)=>_0x14a98b(_0xfec21a,_0x5b1c49,_0x95e841);let q=class extends _0x4b38ce{constructor(_0x232f7a,_0xaf094a,_0x5ba666,_0xeea177,_0x20ee45){const _0x14decd=_0x4e7919;super(),g(this,'_cachedData',new Map()),g(this,_0x14decd(0x1bf),new Map()),g(this,'_disabled',!0x1),(this[_0x14decd(0x1f4)]=_0x232f7a,this[_0x14decd(0x436)]=_0xaf094a,this['_beforeCloseService']=_0x5ba666,this[_0x14decd(0x238)]=_0xeea177,this[_0x14decd(0xf9)]=_0x20ee45,this['_setupBeforeClosingHandler']());}['disableLocalCache'](){const _0x5def6e=_0x4e7919;this[_0x5def6e(0x167)]=!0x0;}[_0x4e7919(0x446)](){const _0xad988b=_0x4e7919;this[_0xad988b(0x167)]=!0x1;}[_0x4e7919(0xc0)](){const _0xd0441e=_0x4e7919;this['exhaustSavingTask']()['then'](()=>super[_0xd0441e(0xc0)]());}async[_0x4e7919(0x281)](_0xfc2038){const _0x17fa0a=_0x4e7919;return this[_0x17fa0a(0x167)]?null:this['_localStorageService'][_0x17fa0a(0xe1)](Bs(_0xfc2038));}async[_0x4e7919(0x247)](_0x3b18df,_0x1aa42c){const _0x3f72aa=_0x4e7919;return!!this[_0x3f72aa(0x436)]['setItem'](_0x3b18df,_0x1aa42c);}[_0x4e7919(0x357)](_0x455f80,_0x5d1e97,_0x581b01,_0x555efd){const _0x2dc171=_0x4e7919,_0x13760c=this[_0x2dc171(0xf9)][_0x2dc171(0x344)](_0x455f80);this[_0x2dc171(0x2a1)]['set'](_0x455f80,{'unitID':_0x455f80,'type':_0x5d1e97,'awaitingChangeset':_0x581b01,'mutations':_0x555efd,'rev':_0x13760c}),this[_0x2dc171(0x1bf)]['has'](_0x455f80)||this[_0x2dc171(0x179)](_0x455f80);}[_0x4e7919(0x179)](_0xd40fb0){const _0xc74e91=_0x4e7919,_0x2b2913=this[_0xc74e91(0xc8)]();_0x2b2913===0x0?this[_0xc74e91(0x1d8)](_0xd40fb0):this[_0xc74e91(0x1bf)][_0xc74e91(0x2a0)](_0xd40fb0,setTimeout(()=>this[_0xc74e91(0x1d8)](_0xd40fb0),_0x2b2913));}[_0x4e7919(0xc8)](){const _0x5566e0=_0x4e7919;var _0x222453;return(_0x222453=this[_0x5566e0(0x1f4)][_0x5566e0(0x2a3)](Sr))!=null?_0x222453:Ir;}[_0x4e7919(0x1d8)](_0x57a61b){const _0x95fe7f=_0x4e7919,_0x3c194d=this[_0x95fe7f(0x1bf)][_0x95fe7f(0x16e)](_0x57a61b);return _0x3c194d!==void 0x0&&window[_0x95fe7f(0x228)](_0x3c194d),this['_localStorageService'][_0x95fe7f(0x354)](Bs(_0x57a61b),this[_0x95fe7f(0x2a1)]['get'](_0x57a61b))[_0x95fe7f(0x86)](()=>this[_0x95fe7f(0x1bf)][_0x95fe7f(0x15f)](_0x57a61b));}async[_0x4e7919(0x451)](){const _0x5c4de0=_0x4e7919,_0x132fc1=[];this[_0x5c4de0(0x1bf)]['forEach']((_0x1e71ab,_0x342b4f)=>{const _0x3e3ceb=_0x5c4de0;window[_0x3e3ceb(0x228)](_0x1e71ab),_0x132fc1[_0x3e3ceb(0x209)](this[_0x3e3ceb(0x1d8)](_0x342b4f)['then'](()=>{const _0x5324fd=_0x3e3ceb;this['_saveTaskMap'][_0x5324fd(0x15f)](_0x342b4f);}));}),await Promise[_0x5c4de0(0x16c)](_0x132fc1);}[_0x4e7919(0x304)](){const _0x992325=_0x4e7919;this['disposeWithMe'](this[_0x992325(0xda)][_0x992325(0xd7)](()=>{const _0x3faa4e=_0x992325;if(this[_0x3faa4e(0x1bf)][_0x3faa4e(0x277)])return this[_0x3faa4e(0x238)]['t'](_0x3faa4e(0x22e));}));}};q=eo([Xe(0x0,_0x88f14),Xe(0x1,_0x3f82b2),Xe(0x2,_0x507e18),Xe(0x3,_0x557b7a(_0x5e134c)),Xe(0x4,_0x557b7a(_0x39bde1))],q);function Bs(_0x199077){return'unit-cache-'+_0x199077;}var to=Object['defineProperty'],so=Object[_0x4e7919(0x3a9)],io=(_0x51ff30,_0x409ccf,_0xb7db37,_0x71c8a7)=>{const _0x6197ba=_0x4e7919;for(var _0x1a0884=_0x71c8a7>0x1?void 0x0:_0x71c8a7?so(_0x409ccf,_0xb7db37):_0x409ccf,_0x5bdbb4=_0x51ff30[_0x6197ba(0x126)]-0x1,_0x61a701;_0x5bdbb4>=0x0;_0x5bdbb4--)(_0x61a701=_0x51ff30[_0x5bdbb4])&&(_0x1a0884=(_0x71c8a7?_0x61a701(_0x409ccf,_0xb7db37,_0x1a0884):_0x61a701(_0x1a0884))||_0x1a0884);return _0x71c8a7&&_0x1a0884&&to(_0x409ccf,_0xb7db37,_0x1a0884),_0x1a0884;},Mt=(_0x4fbf0b,_0x1ce87b)=>(_0x5da8a8,_0x57c861)=>_0x1ce87b(_0x5da8a8,_0x57c861,_0x4fbf0b);function no(_0x4b0584){const _0x353a2b=_0x4e7919,{unitID:_0x37b034,mutations:_0xe3996f}=_0x4b0584;return{'unitId':_0x37b034,'subUnitId':_0xe3996f[0x0][_0x353a2b(0x244)][_0x353a2b(0xd5)]};}let vt=class{constructor(_0x17aec7,_0x5e41c1,_0x4252c1){const _0x3c31e6=_0x4e7919;this[_0x3c31e6(0x1e4)]=_0x17aec7,this['_transformService']=_0x5e41c1,this[_0x3c31e6(0x32a)]=_0x4252c1;}[_0x4e7919(0x12d)](_0xa8c4aa){const _0x46b8b8=_0x4e7919;var _0x2b77c4,_0x5fdf94,_0x5291da,_0x236fad;const _0x1406bf=this['_injector'][_0x46b8b8(0x16e)](_0x36bb55),{unitId:_0x184260,subUnitId:_0x59e28b}=no(_0xa8c4aa),_0x124281=_0x1406bf[_0x46b8b8(0x1e9)](_0x184260)['getCurrentSelections'](),_0x170c68=(_0x5fdf94=(_0x2b77c4=this[_0x46b8b8(0x32a)]['getUnit'](_0x184260))==null?void 0x0:_0x2b77c4['getActiveSheet']())==null?void 0x0:_0x5fdf94[_0x46b8b8(0x201)]();if(_0x124281[_0x46b8b8(0x126)]===0x0||!_0x184260||!_0x59e28b)return;const _0x3d67bf=[{'id':_0x3d4acc['id'],'params':{'unitId':_0x184260,'subUnitId':_0x170c68,'selections':_0x162500['deepClone'](_0x124281)}}],_0xf9a18e=this['_transformService'][_0x46b8b8(0x214)](_0xa8c4aa,_0x3d67bf);if(!_0x26df4b(_0xf9a18e))throw _0xf9a18e[_0x46b8b8(0x24d)];const _0x1bb99a=(_0x236fad=(_0x5291da=_0xf9a18e[_0x46b8b8(0xca)][0x0])==null?void 0x0:_0x5291da[_0x46b8b8(0x244)])==null?void 0x0:_0x236fad[_0x46b8b8(0x107)];if(Array[_0x46b8b8(0x1a9)](_0x1bb99a)&&_0x1bb99a['length']){if(_0x1bb99a[_0x46b8b8(0x126)]===_0x3d67bf[0x0][_0x46b8b8(0x244)][_0x46b8b8(0x107)][_0x46b8b8(0x126)]&&_0x1bb99a[_0x46b8b8(0x1f3)]((_0x36af3e,_0x3ebb82)=>_0x1b7c4d[_0x46b8b8(0x401)](_0x36af3e[_0x46b8b8(0xa5)],_0x3d67bf[0x0]['params'][_0x46b8b8(0x107)][_0x3ebb82][_0x46b8b8(0xa5)])))return;this['_injector']['get'](_0x37f6d3)['executeCommand'](_0x3d4acc['id'],{'unitId':_0x184260,'subUnitId':_0x170c68,'selections':_0x1bb99a});}}};vt=io([Mt(0x0,_0x557b7a(_0x5a5437)),Mt(0x1,_0xd1dd82),Mt(0x2,_0x5e27bc)],vt);const Rt=_0x20f251('univer-pro.collaboration-client.single-active-unit-service');var Di=(_0x245c6b=>(_0x245c6b[_0x245c6b[_0x4e7919(0x470)]=0x0]=_0x4e7919(0x470),_0x245c6b[_0x245c6b[_0x4e7919(0x1b6)]=0x1]=_0x4e7919(0x1b6),_0x245c6b))(Di||{});const ks=0x7530,Ws=_0x4e7919(0x3c7);class ro extends _0x4b38ce{constructor(){const _0x2e8395=_0x4e7919;super(),g(this,'_id',_0x162500['generateRandomId']()),g(this,'_selfUnitIDs',new Set()),g(this,_0x2e8395(0x22b),new Map()),g(this,_0x2e8395(0xf4),null),g(this,_0x2e8395(0x1cd),new Map()),g(this,_0x2e8395(0x144),new Map()),this['_init']();}[_0x4e7919(0xc0)](){const _0xc7b2d6=_0x4e7919;super['dispose'](),this['_clearOtherTimers']['forEach']((_0x4dcf18,_0x289a20)=>this['_removeClearOtherTimer'](_0x289a20)),this[_0xc7b2d6(0xf4)]&&window[_0xc7b2d6(0x3c5)](this[_0xc7b2d6(0xf4)]);}[_0x4e7919(0x31d)](_0x2b25a9){const _0x4da8a9=_0x4e7919;return this[_0x4da8a9(0x26c)](_0x2b25a9)[_0x4da8a9(0x210)](_0x3783a1());}[_0x4e7919(0x91)](_0x39aa36){const _0x2d1a21=_0x4e7919;this[_0x2d1a21(0x299)][_0x2d1a21(0x277)]===0x0&&this[_0x2d1a21(0x177)](),this['_selfUnitIDs']['add'](_0x39aa36),this[_0x2d1a21(0x172)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x39aa36],'isForwarded':!0x1});}['disposeUnit'](_0x550f0d){const _0x207eb7=_0x4e7919;this['_selfUnitIDs'][_0x207eb7(0x15f)](_0x550f0d),this[_0x207eb7(0x299)][_0x207eb7(0x277)]===0x0&&this[_0x207eb7(0xf4)]&&window[_0x207eb7(0x3c5)](this[_0x207eb7(0xf4)]);}[_0x4e7919(0x350)](){const _0x336035=_0x4e7919;this[_0x336035(0xb0)](_0x290028(_0xf4893f(window,'storage')[_0x336035(0x1f1)](_0x209325=>{const _0x17e19f=_0x336035;if(_0x209325[_0x17e19f(0x1a7)]!==Ws||!_0x209325[_0x17e19f(0x449)])return;const _0x2bb2e2=JSON['parse'](_0x209325[_0x17e19f(0x449)]);this['_handleEvent'](_0x2bb2e2);}))),window['addEventListener'](_0x336035(0x26d),()=>this[_0x336035(0x172)]({'type':0x1,'memberID':this[_0x336035(0x10e)],'unitIDs':Array[_0x336035(0x468)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x3523cb){const _0x5eb53c=_0x4e7919;switch(_0x3523cb[_0x5eb53c(0x195)]){case 0x0:this['_handleJoinEvent'](_0x3523cb);break;case 0x1:this[_0x5eb53c(0x2e7)](_0x3523cb);break;case 0x2:this[_0x5eb53c(0x442)](_0x3523cb);break;}}[_0x4e7919(0x1cb)](_0x2e1d92){const _0x541865=_0x4e7919,{unitIDs:_0x9ef486,memberID:_0x8ea333,isForwarded:_0xf01df5}=_0x2e1d92;_0x9ef486[_0x541865(0x21b)](_0x43d5b5=>{const _0x307df2=_0x541865;if(!_0xf01df5&&this[_0x307df2(0x22b)][_0x307df2(0x297)](_0x43d5b5)&&this[_0x307df2(0x26c)](_0x43d5b5)[_0x307df2(0x409)](0x1),!this[_0x307df2(0x22b)][_0x307df2(0x297)](_0x43d5b5)||!this[_0x307df2(0x22b)][_0x307df2(0x16e)](_0x43d5b5)['has'](_0x8ea333)){const _0x3fd36d=this[_0x307df2(0x22b)]['get'](_0x43d5b5)||new Set();_0x3fd36d[_0x307df2(0x2dc)](_0x8ea333),this[_0x307df2(0x22b)][_0x307df2(0x2a0)](_0x43d5b5,_0x3fd36d),this[_0x307df2(0x34a)](_0x8ea333);}}),_0xf01df5||this[_0x541865(0x172)]({'type':0x0,'memberID':this[_0x541865(0x10e)],'unitIDs':[...this[_0x541865(0x299)]],'isForwarded':!0x0});}[_0x4e7919(0x34a)](_0x8b97cc){this['_removeClearOtherTimer'](_0x8b97cc);const _0x4178c8=window['setTimeout'](()=>{const _0xce5081=_0x5ed9;this['_unitOnClients'][_0xce5081(0x21b)](_0x456491=>{_0x456491['delete'](_0x8b97cc);});},ks*0x2);this['_clearOtherTimers']['set'](_0x8b97cc,_0x4178c8);}[_0x4e7919(0xae)](_0x12c216){const _0x148e9d=_0x4e7919;if(this[_0x148e9d(0x1cd)][_0x148e9d(0x297)](_0x12c216)){const _0x492154=this[_0x148e9d(0x1cd)][_0x148e9d(0x16e)](_0x12c216);_0x492154&&window['clearTimeout'](_0x492154),this['_clearOtherTimers']['set'](_0x12c216,null);}}['_handleLeaveEvent'](_0x1e6c37){const _0x585d60=_0x4e7919,{memberID:_0x4a1eb1,unitIDs:_0x52d606}=_0x1e6c37;_0x52d606[_0x585d60(0x21b)](_0x1e1b05=>{const _0x2cef52=_0x585d60;var _0x4fa32f;const _0x18bf4e=this['_unitOnClients'][_0x2cef52(0x16e)](_0x1e1b05);_0x18bf4e&&(_0x18bf4e[_0x2cef52(0x15f)](_0x4a1eb1),(_0x4fa32f=this['_ensureSubject'](_0x1e1b05))==null||_0x4fa32f[_0x2cef52(0x409)](_0x18bf4e['size']===0x0?0x0:0x1));}),this[_0x585d60(0xae)](_0x4a1eb1);}['_handleHeartbeatEvent'](_0x524a43){const _0x497f65=_0x4e7919;this[_0x497f65(0x34a)](_0x524a43[_0x497f65(0x20a)]);}[_0x4e7919(0x172)](_0x3cf1d1){localStorage['setItem'](Ws,JSON['stringify'](_0x3cf1d1));}[_0x4e7919(0x177)](){const _0x534e59=_0x4e7919;this[_0x534e59(0xf4)]=window[_0x534e59(0x1d1)](()=>{const _0x345e0a=_0x534e59;this[_0x345e0a(0x172)]({'type':0x2,'memberID':this['_id']});},ks);}[_0x4e7919(0x26c)](_0x4d82fa){const _0x3c746a=_0x4e7919;return this['_unitStatus'][_0x3c746a(0x297)](_0x4d82fa)||this[_0x3c746a(0x144)][_0x3c746a(0x2a0)](_0x4d82fa,new _0x524b68(0x0)),this[_0x3c746a(0x144)]['get'](_0x4d82fa);}}var oo=Object['defineProperty'],ao=Object[_0x4e7919(0x3a9)],co=(_0x3adc92,_0x2ef3e6,_0x32f0c2,_0x10ff3d)=>{for(var _0x372406=_0x10ff3d>0x1?void 0x0:_0x10ff3d?ao(_0x2ef3e6,_0x32f0c2):_0x2ef3e6,_0xe32d28=_0x3adc92['length']-0x1,_0x18b163;_0xe32d28>=0x0;_0xe32d28--)(_0x18b163=_0x3adc92[_0xe32d28])&&(_0x372406=(_0x10ff3d?_0x18b163(_0x2ef3e6,_0x32f0c2,_0x372406):_0x18b163(_0x372406))||_0x372406);return _0x10ff3d&&_0x372406&&oo(_0x2ef3e6,_0x32f0c2,_0x372406),_0x372406;},xt=(_0x21ca0b,_0x3eae25)=>(_0x141f05,_0x3ef763)=>_0x3eae25(_0x141f05,_0x3ef763,_0x21ca0b);let mt=class{constructor(_0x2f47c3,_0x216f14,_0x38d536){const _0x53cafb=_0x4e7919;this[_0x53cafb(0x1e4)]=_0x2f47c3,this[_0x53cafb(0x2ac)]=_0x216f14,this['_docStateChangeManagerService']=_0x38d536;}[_0x4e7919(0x39c)](_0x2de3b7){const _0xe041ee=_0x4e7919;this[_0xe041ee(0x1c2)](_0x2de3b7);}[_0x4e7919(0x309)](_0x2d8a18){const _0x15c48a=_0x4e7919,{unitID:_0x30bf4b}=_0x2d8a18,{collaboration:_0x36e429}=this[_0x15c48a(0x2a2)]['getStateCache'](_0x30bf4b);if(_0x36e429['length']===0x0)return _0x2d8a18;let _0x54ff19=_0x162500[_0x15c48a(0x2cb)](_0x2d8a18[_0x15c48a(0x13b)][0x0]);for(let _0x5bc142=0x0;_0x5bc142<_0x36e429[_0x15c48a(0x126)];_0x5bc142++){const _0x49ab35={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x36e429[_0x5bc142]['unitId'],..._0x36e429[_0x5bc142][_0x15c48a(0x158)]}},_0x27d828=this[_0x15c48a(0x2ac)][_0x15c48a(0x132)](_0x54ff19,_0x49ab35,!0x1);if(_0x5bbb53(_0x27d828))throw _0x27d828[_0x15c48a(0x24d)];_0x54ff19=_0x27d828[_0x15c48a(0x19b)];}return{..._0x162500[_0x15c48a(0x2cb)](_0x2d8a18),'mutations':[_0x54ff19]};}[_0x4e7919(0x1c2)](_0x4a4dae){const _0x2831f7=_0x4e7919,{unitID:_0x4a6ff6}=_0x4a4dae,{history:_0x2ad44d,collaboration:_0x4cd9ba}=this['_docStateChangeManagerService'][_0x2831f7(0x18e)](_0x4a6ff6);if(_0x2ad44d['length']===0x0&&_0x4cd9ba[_0x2831f7(0x126)]===0x0)return;const _0x3fdfe0=[],_0xf38ae2=[];let _0x3dd16=_0x162500[_0x2831f7(0x2cb)](_0x4a4dae[_0x2831f7(0x13b)][0x0]),_0x28c0cf=_0x162500[_0x2831f7(0x2cb)](_0x4a4dae[_0x2831f7(0x13b)][0x0]);for(let _0x5be456=_0x2ad44d[_0x2831f7(0x126)]-0x1;_0x5be456>=0x0;_0x5be456--){const _0x425087={'id':_0x2831f7(0x3b8),'params':{'unitId':_0x2ad44d[_0x5be456][_0x2831f7(0x3e7)],..._0x2ad44d[_0x5be456][_0x2831f7(0xe5)]}},_0x47697a={'id':_0x2831f7(0x3b8),'params':{'unitId':_0x2ad44d[_0x5be456][_0x2831f7(0x3e7)],..._0x2ad44d[_0x5be456][_0x2831f7(0x158)]}},_0x287ca3=this['_transformService'][_0x2831f7(0x132)](_0x3dd16,_0x425087,!0x1),_0x233b54=this['_transformService'][_0x2831f7(0x132)](_0x28c0cf,_0x47697a,!0x1);if(_0x5bbb53(_0x287ca3))throw _0x287ca3['error'];if(_0x5bbb53(_0x233b54))throw _0x233b54[_0x2831f7(0x24d)];_0x3fdfe0[_0x2831f7(0x495)]({..._0x2ad44d[_0x5be456],'undoState':_0x287ca3[_0x2831f7(0xca)][_0x2831f7(0x244)],'redoState':_0x233b54[_0x2831f7(0xca)]['params']}),_0x3dd16=_0x287ca3[_0x2831f7(0x19b)],_0x28c0cf=_0x233b54['m1Prime'];}_0x3dd16=_0x162500[_0x2831f7(0x2cb)](_0x4a4dae[_0x2831f7(0x13b)][0x0]),_0x28c0cf=_0x162500[_0x2831f7(0x2cb)](_0x4a4dae[_0x2831f7(0x13b)][0x0]);for(let _0x328564=_0x4cd9ba['length']-0x1;_0x328564>=0x0;_0x328564--){const _0x18e2e8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cd9ba[_0x328564]['unitId'],..._0x4cd9ba[_0x328564][_0x2831f7(0xe5)]}},_0x16275e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cd9ba[_0x328564][_0x2831f7(0x3e7)],..._0x4cd9ba[_0x328564][_0x2831f7(0x158)]}},_0x116bb1=this[_0x2831f7(0x2ac)][_0x2831f7(0x132)](_0x3dd16,_0x18e2e8,!0x1),_0x486f5b=this[_0x2831f7(0x2ac)][_0x2831f7(0x132)](_0x28c0cf,_0x16275e,!0x1);if(_0x5bbb53(_0x116bb1))throw _0x116bb1[_0x2831f7(0x24d)];if(_0x5bbb53(_0x486f5b))throw _0x486f5b['error'];_0xf38ae2[_0x2831f7(0x495)]({..._0x4cd9ba[_0x328564],'undoState':_0x116bb1[_0x2831f7(0xca)][_0x2831f7(0x244)],'redoState':_0x486f5b[_0x2831f7(0xca)]['params']}),_0x3dd16=_0x116bb1[_0x2831f7(0x19b)],_0x28c0cf=_0x486f5b[_0x2831f7(0x19b)];}this['_docStateChangeManagerService'][_0x2831f7(0x312)](_0x4a6ff6,{'history':_0x3fdfe0,'collaboration':_0xf38ae2});}};mt=co([xt(0x0,_0x557b7a(_0x5a5437)),xt(0x1,_0xd1dd82),xt(0x2,_0x557b7a(_0x39f3d6))],mt);function Pi(_0x4a4b98){const _0x209893=_0x4e7919;let _0x313465='';for(const _0x566046 of _0x4a4b98){const {startOffset:_0x3b05ae,endOffset:_0x1f8219,isActive:_0x24c812,rangeType:_0x53469d,segmentId:_0x269289,segmentPage:_0x337e32}=_0x566046;_0x313465[_0x209893(0x126)]&&(_0x313465+=','),_0x313465+=_0x3b05ae+':'+_0x1f8219+':'+(_0x24c812?'1':'0')+':'+_0x53469d+':'+_0x269289+':'+_0x337e32;}return _0x313465;}function ho(_0x4fc96d){const _0x295a5b=_0x4e7919,_0x4f18e5=_0x4fc96d[_0x295a5b(0x33d)](','),_0x115add=[];for(const _0x59deb2 of _0x4f18e5){const [_0x4e1bff,_0x41c64f,_0xd38702,_0x36e5f5,_0x33db89,_0x47bcc8]=_0x59deb2[_0x295a5b(0x33d)](':');_0x115add['push']({'startOffset':Number(_0x4e1bff),'endOffset':Number(_0x41c64f),'collapsed':_0x4e1bff===_0x41c64f,'isActive':_0xd38702==='1','rangeType':_0x36e5f5===_0x5c08e3['TEXT']?_0x5c08e3[_0x295a5b(0x8d)]:_0x5c08e3['RECT'],'segmentId':typeof _0x33db89=='string'?String(_0x33db89):'','segmentPage':Number(_0x47bcc8!=null?_0x47bcc8:-0x1)});}return _0x115add['some'](_0x59b065=>_0x59b065['isActive'])||(_0x115add[0x0][_0x295a5b(0x3b3)]=!0x0),_0x115add;}class Cs extends _0x15900e{constructor(){const _0x17e6ee=_0x4e7919;super(...arguments),g(this,_0x17e6ee(0x21f),new _0x524b68(null)),g(this,'collabCursorState$',this[_0x17e6ee(0x21f)][_0x17e6ee(0x180)]());}[_0x4e7919(0x2ed)](_0x24d806){const _0x28b462=_0x4e7919,{unitID:_0x14075e,memberID:_0x30cd00,textRanges:_0x37207d}=_0x24d806,_0x486eff=Pi(_0x37207d);if(_0x486eff==='')return;const _0x22f54c={'unitID':_0x14075e,'memberID':_0x30cd00,'selection':_0x486eff};this[_0x28b462(0x21f)]['next'](_0x22f54c);}}var lo=Object[_0x4e7919(0x13e)],_o=Object['getOwnPropertyDescriptor'],uo=(_0x2614f6,_0x41b530,_0x5b819b,_0xd8c758)=>{const _0x198ae6=_0x4e7919;for(var _0x187371=_0xd8c758>0x1?void 0x0:_0xd8c758?_o(_0x41b530,_0x5b819b):_0x41b530,_0x49c4c5=_0x2614f6[_0x198ae6(0x126)]-0x1,_0x3b6016;_0x49c4c5>=0x0;_0x49c4c5--)(_0x3b6016=_0x2614f6[_0x49c4c5])&&(_0x187371=(_0xd8c758?_0x3b6016(_0x41b530,_0x5b819b,_0x187371):_0x3b6016(_0x187371))||_0x187371);return _0xd8c758&&_0x187371&&lo(_0x41b530,_0x5b819b,_0x187371),_0x187371;},Fs=(_0x864e23,_0x8fd370)=>(_0x3cbd44,_0x57fe4b)=>_0x8fd370(_0x3cbd44,_0x57fe4b,_0x864e23);let pt=class{constructor(_0x1aa793,_0x20810e){const _0x3638af=_0x4e7919;this[_0x3638af(0x1e4)]=_0x1aa793,this[_0x3638af(0x2ac)]=_0x20810e;}['transformSelections'](_0x132252){const _0xfadebe=_0x4e7919;var _0x398d3b;const _0x35824a=this[_0xfadebe(0x1e4)][_0xfadebe(0x16e)](_0x5c70ee),_0x52dcc8=(_0x398d3b=_0x35824a[_0xfadebe(0x1bb)]())!=null?_0x398d3b:[];if(_0x52dcc8[_0xfadebe(0x126)]===0x0)return;const _0x35a28e=_0x132252['unitID'],_0x40faf7=[{'id':_0xfadebe(0x3b8),'params':{'unitId':_0x35a28e,'actions':null,'textRanges':_0x52dcc8}}],_0x125cbd=this[_0xfadebe(0x2ac)]['transformMutationsWithChangeset'](_0x132252,_0x40faf7);if(!_0x26df4b(_0x125cbd))throw _0x125cbd[_0xfadebe(0x24d)];const _0xd52052=_0x125cbd[_0xfadebe(0xca)][0x0]['params'][_0xfadebe(0x21d)];Array[_0xfadebe(0x1a9)](_0xd52052)&&_0xd52052['length']&&_0x35824a[_0xfadebe(0x10a)](_0xd52052,{'unitId':_0x35a28e,'subUnitId':_0x35a28e},!0x1);}};pt=uo([Fs(0x0,_0x557b7a(_0x5a5437)),Fs(0x1,_0xd1dd82)],pt);const fo=new Set([_0x5f5608['id']]);function Vs(_0x2d2b52,_0x28dfc7,_0x584b5a,_0x53c41b,_0x1ac79b){const _0x9b6a1b=_0x4e7919;var _0x449385,_0x1747d9,_0xe05b57,_0x68ea71;const _0x5c0973=[];for(const _0x249be2 of _0x2d2b52)if(fo[_0x9b6a1b(0x297)](_0x249be2['id'])){if(_0x5c0973[_0x9b6a1b(0x126)]>0x0)break;_0x5c0973[_0x9b6a1b(0x209)](_0x249be2);break;}else _0x5c0973[_0x9b6a1b(0x209)](_0x249be2);const _0x299671=(_0x1747d9=(_0x449385=_0x1ac79b[_0x9b6a1b(0x3c4)]())==null?void 0x0:_0x449385[_0x9b6a1b(0x342)])!=null?_0x1747d9:_0x9b6a1b(0x2d5),_0x404ccd=(_0x68ea71=(_0xe05b57=_0x1ac79b[_0x9b6a1b(0x3c4)]())==null?void 0x0:_0xe05b57[_0x9b6a1b(0x20a)])!=null?_0x68ea71:_0x9b6a1b(0x2d5);return{'changeset':{'unitID':_0x28dfc7,'type':_0x556ed2(_0x584b5a[_0x9b6a1b(0x307)](_0x28dfc7)),'baseRev':_0x53c41b['getCurrentRevOfUnit'](_0x28dfc7),'revision':0x0,'userID':_0x299671,'memberID':_0x404ccd,'mutations':_0x5c0973},'pendingMutations':_0x2d2b52[_0x9b6a1b(0x41b)](_0x5c0973[_0x9b6a1b(0x126)])};}function vo(_0xeebbed,_0x8b7834,_0x40b924,_0x2e7cd6,_0x72e4e9){const _0x110ffc=_0x4e7919;var _0x2c06d1,_0x542b7b,_0x46fcc3,_0x26286e;const _0xa2bd36=[_0xeebbed[_0x110ffc(0x16b)]((_0x13dac2,_0x45a45a)=>{const _0x11b9c5=_0x110ffc;var _0x186472;const {id:_0x40f916}=_0x13dac2,{id:_0x20d632,type:_0x45fcd5}=_0x45a45a,_0x1ff2a3=(_0x186472=_0x13dac2[_0x11b9c5(0x244)])!=null?_0x186472:{'actions':null},_0x14d74e=_0x45a45a[_0x11b9c5(0x244)];if(_0x40f916&&_0x40f916!==_0x20d632)throw new Error(_0x11b9c5(0x39b)+_0x40f916+_0x11b9c5(0xcc)+_0x20d632+'.');return{..._0x13dac2,'id':_0x20d632,'type':_0x45fcd5,'params':{'unitId':_0x14d74e[_0x11b9c5(0x3e7)],'textRanges':_0x14d74e[_0x11b9c5(0x21d)],'actions':_0xc3f172[_0x11b9c5(0x43d)](_0x1ff2a3[_0x11b9c5(0x367)],_0x14d74e[_0x11b9c5(0x367)])}};},{})],_0x28e68e=(_0x542b7b=(_0x2c06d1=_0x72e4e9['getCurrentUser']())==null?void 0x0:_0x2c06d1['userID'])!=null?_0x542b7b:_0x110ffc(0x2d5),_0x1c5006=(_0x26286e=(_0x46fcc3=_0x72e4e9[_0x110ffc(0x3c4)]())==null?void 0x0:_0x46fcc3[_0x110ffc(0x20a)])!=null?_0x26286e:_0x110ffc(0x2d5);return{'changeset':{'unitID':_0x8b7834,'type':_0x556ed2(_0x40b924[_0x110ffc(0x307)](_0x8b7834)),'baseRev':_0x2e7cd6[_0x110ffc(0x344)](_0x8b7834),'revision':0x0,'userID':_0x28e68e,'memberID':_0x1c5006,'mutations':_0xa2bd36},'pendingMutations':[]};}function Ui(_0x585a61,_0x15cb13){const _0x3b2f7f=_0x4e7919,_0x16c2dc=new _0x24a41e(0x1);return setTimeout(()=>_0x16c2dc[_0x3b2f7f(0x409)](_0x15cb13),_0x585a61),_0x16c2dc[_0x3b2f7f(0x180)]()['pipe'](_0xb3cf89(0x1));}const mo={'id':_0x67b7f2['id'],'type':_0x2809bc[_0x4e7919(0x140)],'params':{}};var po=Object[_0x4e7919(0x13e)],go=Object[_0x4e7919(0x3a9)],Le=(_0x3b2d89,_0x19db42,_0x17be02,_0x54dc2)=>{for(var _0x5e7f61=_0x54dc2>0x1?void 0x0:_0x54dc2?go(_0x19db42,_0x17be02):_0x19db42,_0x224d59=_0x3b2d89['length']-0x1,_0x2b3bfe;_0x224d59>=0x0;_0x224d59--)(_0x2b3bfe=_0x3b2d89[_0x224d59])&&(_0x5e7f61=(_0x54dc2?_0x2b3bfe(_0x19db42,_0x17be02,_0x5e7f61):_0x2b3bfe(_0x5e7f61))||_0x5e7f61);return _0x54dc2&&_0x5e7f61&&po(_0x19db42,_0x17be02,_0x5e7f61),_0x5e7f61;},A=(_0x1bb021,_0x30e465)=>(_0x8e143,_0x1a3757)=>_0x30e465(_0x8e143,_0x1a3757,_0x1bb021),J=(_0x142ae4=>(_0x142ae4['NOT_COLLAB']=_0x4e7919(0x2b7),_0x142ae4['SYNCED']=_0x4e7919(0x2f1),_0x142ae4[_0x4e7919(0x3aa)]=_0x4e7919(0x85),_0x142ae4[_0x4e7919(0x289)]='awaiting',_0x142ae4[_0x4e7919(0x1c7)]='awaiting_with_pending',_0x142ae4[_0x4e7919(0x8a)]=_0x4e7919(0x30e),_0x142ae4[_0x4e7919(0x3d8)]=_0x4e7919(0x3cb),_0x142ae4[_0x4e7919(0x3f4)]='offline',_0x142ae4))(J||{});const Ni=0xea60;class $e{constructor(_0x236506,_0x43e5a2,_0xc05ed4,_0x2e52c9,_0x4eb10d,_0xce4865,_0xbe0f6,_0x4fbc3c,_0x9da57b){const _0x18139f=_0x4e7919;g(this,'_awaitingChangeset',null),g(this,'_pendingMutations',[]),(this[_0x18139f(0x8b)]=_0x236506,this[_0x18139f(0x195)]=_0x43e5a2,this[_0x18139f(0x128)]=_0x4eb10d,this['_commandService']=_0xce4865,this[_0x18139f(0x316)]=_0xbe0f6,this['_revisionService']=_0x4fbc3c,this['_localCacheService']=_0x9da57b,this['_awaitingChangeset']=_0xc05ed4,this[_0x18139f(0x293)]=_0x2e52c9);}['_checkMissing'](_0x169ffd){const _0x5c1523=_0x4e7919,_0x4b8110=this[_0x5c1523(0xf9)][_0x5c1523(0x344)](this[_0x5c1523(0x8b)]);return _0x169ffd[_0x5c1523(0x3bf)]>_0x4b8110+0x1?(this['_handler'][_0x5c1523(0x308)]({'from':_0x4b8110,'to':_0x169ffd['revision']-0x1}),!0x0):!0x1;}[_0x4e7919(0x273)](_0x2fefab){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x2fefab);}[_0x4e7919(0x80)](_0x1df4cc){const _0x22d404=_0x4e7919;var _0x19e572,_0x3e4128;(_0x3e4128=(_0x19e572=this[_0x22d404(0x128)])['onTransformSelections'])==null||_0x3e4128[_0x22d404(0x326)](_0x19e572,_0x1df4cc);}[_0x4e7919(0x15c)](_0x591eb5){const _0x188dfc=_0x4e7919;var _0x19c209,_0x566424;return(_0x566424=(_0x19c209=this[_0x188dfc(0x128)])[_0x188dfc(0x282)])==null?void 0x0:_0x566424['call'](_0x19c209,_0x591eb5);}[_0x4e7919(0x3a0)](_0x184df5){const _0x25c758=_0x4e7919;var _0x4ccd77,_0x2d7ec6;return(_0x2d7ec6=(_0x4ccd77=this[_0x25c758(0x128)])[_0x25c758(0x3fd)])==null?void 0x0:_0x2d7ec6[_0x25c758(0x326)](_0x4ccd77,_0x184df5);}[_0x4e7919(0x2d6)](_0x20c8e5){const _0x1e06ce=_0x4e7919;var _0x35ccb2,_0x2ee4c7,_0x43497d;return(_0x43497d=(_0x2ee4c7=(_0x35ccb2=this[_0x1e06ce(0x128)])[_0x1e06ce(0x2e3)])==null?void 0x0:_0x2ee4c7['call'](_0x35ccb2,_0x20c8e5))!=null?_0x43497d:_0x20c8e5;}[_0x4e7919(0x460)](_0x367337){const _0x37ee1c=_0x4e7919;var _0xf66ea7,_0x2a1c50,_0x492fda;return(_0x492fda=(_0x2a1c50=(_0xf66ea7=this[_0x37ee1c(0x128)])[_0x37ee1c(0x212)])==null?void 0x0:_0x2a1c50['call'](_0xf66ea7,_0x367337))!=null?_0x492fda:_0x367337;}[_0x4e7919(0x152)](_0x59e2be){const _0x229e27=_0x4e7919;var _0x57144a,_0x2a3b5c;if(this['type']===ce[_0x229e27(0x3ca)]){const {unitID:_0x55fef8,mutations:_0x3d1e09,memberID:_0x32f0c9}=_0x59e2be,_0x539d8b=_0x3d1e09[0x0][_0x229e27(0x244)][_0x229e27(0x21d)];Array[_0x229e27(0x1a9)](_0x539d8b)&&_0x539d8b[_0x229e27(0x126)]>0x0&&((_0x2a3b5c=(_0x57144a=this[_0x229e27(0x128)])['onSyncEditingCollabCursor'])==null||_0x2a3b5c[_0x229e27(0x326)](_0x57144a,{'unitID':_0x55fef8,'memberID':_0x32f0c9,'textRanges':_0x539d8b}));}}[_0x4e7919(0x205)](){const _0x3bbb9a=_0x4e7919;this['_localCacheService'][_0x3bbb9a(0x357)](this[_0x3bbb9a(0x8b)],this[_0x3bbb9a(0x195)],this['_awaitingChangeset'],this[_0x3bbb9a(0x293)]);}[_0x4e7919(0x153)](){const _0x3d8e92=_0x4e7919;return this['_revisionService'][_0x3d8e92(0x344)](this[_0x3d8e92(0x8b)]);}[_0x4e7919(0x15b)](){const _0x257ed6=_0x4e7919;this[_0x257ed6(0xf9)]['incrementRevOfUnit'](this[_0x257ed6(0x8b)]);}[_0x4e7919(0x290)](_0xb63cb8){const _0x538315=_0x4e7919;var _0x69e9c6;let _0x4e7846=this[_0x538315(0x2d6)](_0xb63cb8);_0x4e7846=this[_0x538315(0x460)](_0x4e7846);const _0x92432d=_0x4c2f40(_0x4e7846[_0x538315(0x13b)],this[_0x538315(0x2c6)],{'fromCollab':!0x0});if(!_0x92432d[_0x538315(0x338)])throw _0x92432d['error']instanceof Error?_0x92432d['error']:new Error((_0x69e9c6=_0x92432d['error'])!=null?_0x69e9c6:_0x538315(0x25a));this[_0x538315(0x15c)](_0x4e7846),this['_transformStateCache'](_0x4e7846),this['_transformUndoredo'](_0xb63cb8),this[_0x538315(0x80)](_0x4e7846),this[_0x538315(0x152)](_0x4e7846),this[_0x538315(0x15b)]();}}let Fe=class extends $e{constructor(_0x1431d0,_0x2f861c,_0x3ed15b,_0x3a04b1,_0xe6a8d8,_0x56d828,_0x9200af,_0x52f850,_0x4a17a1,_0x43cb2b){const _0x20267e=_0x4e7919;super(_0x1431d0,_0x2f861c,null,[],_0x3ed15b,_0x52f850,_0x9200af,_0x3a04b1,_0xe6a8d8),g(this,_0x20267e(0x459),_0x20267e(0x2f1)),(this[_0x20267e(0x1e4)]=_0x56d828,this[_0x20267e(0x18f)]=_0x4a17a1,this['_transformService']=_0x43cb2b);}['appendMutation'](_0x1f6c2e){const _0x136de7=_0x4e7919,_0x3b302e=this[_0x136de7(0x1e4)][_0x136de7(0x2c9)](pe,this['unitID'],this['type'],[_0x1f6c2e],this[_0x136de7(0x128)]);return _0x3b302e['_schedule'](),_0x3b302e[_0x136de7(0x205)](),_0x3b302e;}[_0x4e7919(0x455)](_0x5490f5){const _0x1a96a3=_0x4e7919;if(this[_0x1a96a3(0x25c)](_0x5490f5))return this[_0x1a96a3(0x1e4)][_0x1a96a3(0x2c9)](he,this[_0x1a96a3(0x8b)],this[_0x1a96a3(0x195)],null,[],null,[_0x5490f5],this[_0x1a96a3(0x128)]);try{const _0x8e82d6=this[_0x1a96a3(0x2ac)][_0x1a96a3(0x214)](_0x5490f5,[mo]);if(_0x26df4b(_0x8e82d6)){const {c1Prime:_0x24e81d}=_0x8e82d6;return this[_0x1a96a3(0x290)](_0x24e81d),this;}throw _0x8e82d6[_0x1a96a3(0x24d)];}catch(_0x552efc){return this[_0x1a96a3(0x18f)][_0x1a96a3(0x24d)](_0x552efc),this['_onConflict'](!0x1);}}[_0x4e7919(0x182)](_0x5943c7){const _0x56bc8c=_0x4e7919;return this[_0x56bc8c(0x1e4)][_0x56bc8c(0x2c9)](Re,this[_0x56bc8c(0x8b)],this[_0x56bc8c(0x195)],null,[],this['_handler'],_0x5943c7);}[_0x4e7919(0x3fb)](){const _0x6269a4=_0x4e7919;throw new Error(_0x6269a4(0x318));}['onRemoteRej'](){const _0x1f8da9=_0x4e7919;throw new Error(_0x1f8da9(0x30f));}[_0x4e7919(0x1a3)](){return this;}[_0x4e7919(0x222)](){const _0x1f9ce9=_0x4e7919;return this['_injector'][_0x1f9ce9(0x2c9)](ye,this[_0x1f9ce9(0x8b)],this[_0x1f9ce9(0x195)],null,[],this[_0x1f9ce9(0x128)]);}[_0x4e7919(0x3b1)](){return this;}[_0x4e7919(0x38c)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){const _0x353bea=_0x4e7919,_0x55b880=this[_0x353bea(0xf9)][_0x353bea(0x344)](this[_0x353bea(0x8b)]);return this[_0x353bea(0x128)][_0x353bea(0x308)]({'from':_0x55b880,'to':0x0}),this[_0x353bea(0x1e4)][_0x353bea(0x2c9)](he,this[_0x353bea(0x8b)],this['type'],null,[],null,[],this[_0x353bea(0x128)]);}};Fe=Le([A(0x3,_0x557b7a(_0x39bde1)),A(0x4,_0x557b7a(q)),A(0x5,_0x557b7a(_0x5a5437)),A(0x6,_0x5aca87),A(0x7,_0x37f6d3),A(0x8,_0x2f9740),A(0x9,_0xd1dd82)],Fe);let pe=class extends $e{constructor(_0x3b390d,_0x21008d,_0x5cba9a,_0x329144,_0x24a94c,_0x2a0bb2,_0x3d54d3,_0x40bf68,_0x261250,_0x47eb2f,_0x1769fc,_0x17d83a,_0xfb9ac8,_0xf7fd5b){const _0xa264bf=_0x4e7919;super(_0x3b390d,_0x21008d,null,_0x5cba9a,_0x329144,_0x47eb2f,_0xf7fd5b,_0x2a0bb2,_0x3d54d3),g(this,'status',_0xa264bf(0x85)),g(this,_0xa264bf(0x337),null),g(this,_0xa264bf(0x46e),null),(this['_injector']=_0x24a94c,this[_0xa264bf(0x17d)]=_0x40bf68,this[_0xa264bf(0x18f)]=_0x261250,this[_0xa264bf(0x1f4)]=_0x1769fc,this[_0xa264bf(0x2ac)]=_0x17d83a,this[_0xa264bf(0x29a)]=_0xfb9ac8);}[_0x4e7919(0x7b)](_0x1593be){const _0x21163d=_0x4e7919;return this[_0x21163d(0x293)][_0x21163d(0x209)](_0x1593be),this['_updateLocalCache'](),this;}[_0x4e7919(0x455)](_0xf170fa){const _0x1f3f26=_0x4e7919;if(this[_0x1f3f26(0x25c)](_0xf170fa))return this['_clearScheduledTask'](),this[_0x1f3f26(0x1e4)]['createInstance'](he,this[_0x1f3f26(0x8b)],this[_0x1f3f26(0x195)],null,this[_0x1f3f26(0x293)],null,[_0xf170fa],this[_0x1f3f26(0x128)]);try{const _0x3b49af=this[_0x1f3f26(0x2ac)][_0x1f3f26(0x214)](_0xf170fa,this[_0x1f3f26(0x293)]);if(_0x26df4b(_0x3b49af)){const {c1Prime:_0x169e35,m2Prime:_0xda5dee}=_0x3b49af;this['_executeRemoteChangeset'](_0x169e35);const _0x1a8f15=this[_0x1f3f26(0x1e4)][_0x1f3f26(0x2c9)](pe,this[_0x1f3f26(0x8b)],this[_0x1f3f26(0x195)],_0xda5dee,this[_0x1f3f26(0x128)]);return this[_0x1f3f26(0x9c)](),_0x1a8f15['_schedule'](this['_scheduleTimestamp']?Math[_0x1f3f26(0x384)](0x0,new Date()[_0x1f3f26(0x23a)]()-this['_scheduleTimestamp']):this[_0x1f3f26(0x174)]()),_0x1a8f15;}throw _0x3b49af[_0x1f3f26(0x24d)];}catch(_0x3466c5){return this['_logService'][_0x1f3f26(0x24d)](_0x3466c5),this['_onConflict'](!0x1);}}[_0x4e7919(0x3fb)](){const _0x1506e9=_0x4e7919;throw new Error(_0x1506e9(0x481));}[_0x4e7919(0x173)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x4e7919(0x1a3)](){return this;}[_0x4e7919(0x222)](){const _0x4fae98=_0x4e7919;return this[_0x4fae98(0x9c)](),this[_0x4fae98(0x1e4)][_0x4fae98(0x2c9)](ye,this[_0x4fae98(0x8b)],this['type'],null,this[_0x4fae98(0x293)],this[_0x4fae98(0x128)]);}['toggleOnline'](){return this;}['_schedule'](_0x219c6f){const _0x38eb28=_0x4e7919,_0x2457a2=_0x219c6f!=null?_0x219c6f:this['_getSendChangesetTimeout']();this[_0x38eb28(0x337)]=new Date()[_0x38eb28(0x23a)](),this['_sendingTimer']=window[_0x38eb28(0x1f7)](()=>{const _0x57e88c=_0x38eb28;this[_0x57e88c(0x9c)]();let _0x27f1c2=null;switch(this[_0x57e88c(0x195)]){case ce['UNIVER_SHEET']:{_0x27f1c2=Vs(this[_0x57e88c(0x293)],this['unitID'],this['_univerInstanceService'],this[_0x57e88c(0xf9)],this[_0x57e88c(0x17d)]);break;}case ce[_0x57e88c(0x3ca)]:{this[_0x57e88c(0x293)]['every'](_0x4a5a61=>_0x4a5a61['id']===_0x36d845['id'])?_0x27f1c2=vo(this['_pendingMutations'],this[_0x57e88c(0x8b)],this['_univerInstanceService'],this[_0x57e88c(0xf9)],this[_0x57e88c(0x17d)]):_0x27f1c2=Vs(this['_pendingMutations'],this[_0x57e88c(0x8b)],this[_0x57e88c(0x29a)],this['_revisionService'],this[_0x57e88c(0x17d)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x57e88c(0x47c));}const {changeset:_0x4eb0db,pendingMutations:_0x9f2d36}=_0x27f1c2;this[_0x57e88c(0x128)]['onSendChangeset'](_0x4eb0db);const _0x1054ca=_0x9f2d36['length']?this[_0x57e88c(0x1e4)][_0x57e88c(0x2c9)](ge,this['unitID'],this[_0x57e88c(0x195)],_0x4eb0db,_0x9f2d36,this[_0x57e88c(0x128)],void 0x0):this[_0x57e88c(0x1e4)]['createInstance'](Te,this[_0x57e88c(0x8b)],this['type'],_0x4eb0db,this[_0x57e88c(0x128)]);_0x1054ca[_0x57e88c(0x205)](),this[_0x57e88c(0x128)][_0x57e88c(0x23b)](this,_0x1054ca);},_0x2457a2);}['_getSendChangesetTimeout'](){const _0x29de09=_0x4e7919;var _0x58a283;const _0x4f6d54=this[_0x29de09(0x1f4)][_0x29de09(0x2a3)](ie);return(_0x58a283=_0x4f6d54==null?void 0x0:_0x4f6d54[_0x29de09(0x420)])!=null?_0x58a283:_r;}['resend'](){const _0x2ac612=_0x4e7919;throw new Error(_0x2ac612(0xbb));}[_0x4e7919(0x9c)](){const _0x40fe2c=_0x4e7919;this['_sendingTimer']!=null&&(clearTimeout(this[_0x40fe2c(0x46e)]),this[_0x40fe2c(0x46e)]=null);}[_0x4e7919(0x182)](_0x15e7a1){const _0x44d309=_0x4e7919;return this[_0x44d309(0x9c)](),this[_0x44d309(0x1e4)][_0x44d309(0x2c9)](Re,this[_0x44d309(0x8b)],this['type'],null,this[_0x44d309(0x293)],this[_0x44d309(0x128)],_0x15e7a1);}};pe=Le([A(0x4,_0x557b7a(_0x5a5437)),A(0x5,_0x557b7a(_0x39bde1)),A(0x6,_0x557b7a(q)),A(0x7,_0x557b7a(Ne)),A(0x8,_0x2f9740),A(0x9,_0x37f6d3),A(0xa,_0x88f14),A(0xb,_0xd1dd82),A(0xc,_0x5e27bc),A(0xd,_0x5aca87)],pe);let Te=class extends $e{constructor(_0x14c0e8,_0x25507f,_0x2296fb,_0x54cd0a,_0x29cff9,_0x928ad0,_0x222126,_0x1e598a,_0x5bfb48,_0x441e37,_0x16bf09){const _0xbd8154=_0x4e7919;super(_0x14c0e8,_0x25507f,_0x2296fb,[],_0x54cd0a,_0x1e598a,_0x16bf09,_0x928ad0,_0x222126),g(this,_0xbd8154(0x459),'awaiting'),g(this,'_resendTimeout',0x0),g(this,'_resendTimer'),g(this,_0xbd8154(0x44e)),(this[_0xbd8154(0x1e4)]=_0x29cff9,this[_0xbd8154(0x18f)]=_0x5bfb48,this['_transformService']=_0x441e37);}[_0x4e7919(0x7b)](_0x40fb4a){const _0x373ef5=_0x4e7919;this[_0x373ef5(0x9c)]();const _0x3c1732=this[_0x373ef5(0x1e4)]['createInstance'](ge,this['unitID'],this['type'],this[_0x373ef5(0xf2)],[_0x40fb4a],this[_0x373ef5(0x128)],this[_0x373ef5(0x1df)]);return _0x3c1732[_0x373ef5(0x205)](),_0x3c1732;}[_0x4e7919(0x455)](_0x5356dc){const _0x4d33a2=_0x4e7919;if(this['_checkMissing'](_0x5356dc))return this['_clearScheduledTask'](),this[_0x4d33a2(0x1e4)][_0x4d33a2(0x2c9)](he,this[_0x4d33a2(0x8b)],this[_0x4d33a2(0x195)],this[_0x4d33a2(0xf2)],[],null,[_0x5356dc],this[_0x4d33a2(0x128)]);try{const _0x4e5770=this[_0x4d33a2(0x2ac)][_0x4d33a2(0x166)]([_0x5356dc],[this[_0x4d33a2(0xf2)]],!0x1);if(_0x3775ff(_0x4e5770)){const {c1Prime:_0x3f1546,c2Prime:_0x2c8120}=_0x4e5770;this[_0x4d33a2(0x290)](_0x3f1546[0x0]),_0x2c8120[0x0][_0x4d33a2(0x178)]=this[_0x4d33a2(0x153)](),this[_0x4d33a2(0x9c)]();const _0x1e63f0=this['_injector']['createInstance'](Te,this['unitID'],this[_0x4d33a2(0x195)],_0x2c8120[0x0],this['_handler']);return _0x1e63f0[_0x4d33a2(0x205)](),_0x1e63f0;}return this['_onConflict'](!0x1);}catch(_0x4f51ad){return this[_0x4d33a2(0x18f)][_0x4d33a2(0x24d)](_0x4f51ad),this[_0x4d33a2(0x182)](!0x1);}}[_0x4e7919(0x3fb)](_0x718a1d){const _0x3c5fae=_0x4e7919;this[_0x3c5fae(0x9c)]();const _0x31703a=this['_revisionService'][_0x3c5fae(0x344)](this[_0x3c5fae(0x8b)]);if(_0x718a1d[_0x3c5fae(0x3bf)]<_0x31703a-0x1)return this;if(this[_0x3c5fae(0x25c)](_0x718a1d))return this[_0x3c5fae(0x1e4)][_0x3c5fae(0x2c9)](he,this[_0x3c5fae(0x8b)],this[_0x3c5fae(0x195)],null,[],this[_0x3c5fae(0xf2)],[],this['_handler']);this[_0x3c5fae(0x15b)]();const _0x53dc92=this[_0x3c5fae(0x1e4)][_0x3c5fae(0x2c9)](Fe,this['unitID'],this['type'],this[_0x3c5fae(0x128)]);return _0x53dc92[_0x3c5fae(0x205)](),_0x53dc92;}['onRemoteRej'](_0x57b150){const _0x2c87b2=_0x4e7919;return this[_0x2c87b2(0x182)](!!(_0x57b150!=null&&_0x57b150[_0x2c87b2(0x254)]));}[_0x4e7919(0x1a3)](_0x59bce4){const _0x3ddedf=_0x4e7919;return this[_0x3ddedf(0xa6)]>Ni?this['toggleOffline']():(this[_0x3ddedf(0x1df)]=Ui(this[_0x3ddedf(0xa6)],{'timeout':this[_0x3ddedf(0xa6)],'reqId':_0x59bce4[_0x3ddedf(0x250)]}),this[_0x3ddedf(0x44e)]=this['_resendTimer']['subscribe'](({reqId:_0x2cf275,timeout:_0x518e4e})=>{const _0x1b2b46=_0x3ddedf;this[_0x1b2b46(0x2e6)](_0x2cf275,_0x518e4e);}),this);}[_0x4e7919(0x222)](){const _0x4f10ad=_0x4e7919;return this['_clearScheduledTask'](),this[_0x4f10ad(0x1e4)][_0x4f10ad(0x2c9)](ye,this[_0x4f10ad(0x8b)],this['type'],this['_awaitingChangeset'],[],this[_0x4f10ad(0x128)]);}[_0x4e7919(0x3b1)](){return this;}[_0x4e7919(0x38c)](){const _0x339427=_0x4e7919;this[_0x339427(0x128)][_0x339427(0x466)](this['_awaitingChangeset']);}[_0x4e7919(0x182)](_0x4f57eb){const _0x141961=_0x4e7919;return this[_0x141961(0x9c)](),this[_0x141961(0x1e4)]['createInstance'](Re,this[_0x141961(0x8b)],this['type'],this[_0x141961(0xf2)],[],this[_0x141961(0x128)],_0x4f57eb);}['_resendWithTimeout'](_0x579316,_0xf8c00){const _0x14cf77=_0x4e7919;var _0x1d4e5d;_0x579316===((_0x1d4e5d=this['_awaitingChangeset'])==null?void 0x0:_0x1d4e5d[_0x14cf77(0x250)])&&(this['resend'](),this['_resendTimeout']=_0xf8c00===0x0?0x3e8:_0xf8c00*0x2);}[_0x4e7919(0x9c)](){const _0x3dc03e=_0x4e7919;var _0x162f77;(_0x162f77=this[_0x3dc03e(0x44e)])==null||_0x162f77[_0x3dc03e(0x155)](),this[_0x3dc03e(0xa6)]=0x0;}};Te=Le([A(0x4,_0x557b7a(_0x5a5437)),A(0x5,_0x557b7a(_0x39bde1)),A(0x6,_0x557b7a(q)),A(0x7,_0x37f6d3),A(0x8,_0x2f9740),A(0x9,_0xd1dd82),A(0xa,_0x5aca87)],Te);let ge=class extends $e{constructor(_0x3cabda,_0x48dcfe,_0x5dd677,_0x149795,_0x4941ed,_0xcde578,_0x309681,_0x31b192,_0x2d3781,_0x1ab286,_0x460ba3,_0x51e964,_0x29c406){const _0x3d8360=_0x4e7919;super(_0x3cabda,_0x48dcfe,_0x5dd677,_0x149795,_0x4941ed,_0x1ab286,_0x29c406,_0x31b192,_0x2d3781),g(this,_0x3d8360(0x459),_0x3d8360(0x9e)),g(this,'_resendTimeout',0x0),g(this,_0x3d8360(0x1df)),g(this,'_sender'),(this['_injector']=_0x309681,this['_logService']=_0x460ba3,this[_0x3d8360(0x2ac)]=_0x51e964,_0xcde578&&(this['_resendTimer']=_0xcde578,this[_0x3d8360(0x44e)]=this[_0x3d8360(0x1df)][_0x3d8360(0x1f1)](({reqId:_0x50a521,timeout:_0x2e83b0})=>{const _0x24fef9=_0x3d8360;this[_0x24fef9(0x2e6)](_0x50a521,_0x2e83b0);})));}['appendMutation'](_0x1777d9){const _0x4c9105=_0x4e7919;return this[_0x4c9105(0x293)]['push'](_0x1777d9),this;}['onRemoteChangeset'](_0x1382b3){const _0x5bcd44=_0x4e7919;if(this['_checkMissing'](_0x1382b3))return this[_0x5bcd44(0x9c)](),this[_0x5bcd44(0x1e4)][_0x5bcd44(0x2c9)](he,this[_0x5bcd44(0x8b)],this[_0x5bcd44(0x195)],this[_0x5bcd44(0xf2)],this['_pendingMutations'],null,[_0x1382b3],this[_0x5bcd44(0x128)]);try{const _0x72f605=this[_0x5bcd44(0x2ac)][_0x5bcd44(0x166)]([_0x1382b3],[this[_0x5bcd44(0xf2)]],!0x1);if(_0x3775ff(_0x72f605)){const {c1Prime:_0x2f9124,c2Prime:_0x2925d8}=_0x72f605,_0x639bd3=this['_transformService']['transformMutationsWithChangeset'](_0x2f9124[0x0],this['_pendingMutations']);if(_0x26df4b(_0x639bd3)){const {c1Prime:_0x2669da,m2Prime:_0x39b7f6}=_0x639bd3;return this['_executeRemoteChangeset'](_0x2669da),_0x2925d8[0x0][_0x5bcd44(0x178)]=this[_0x5bcd44(0x153)](),this['_clearScheduledTask'](),this['_injector'][_0x5bcd44(0x2c9)](ge,this[_0x5bcd44(0x8b)],this[_0x5bcd44(0x195)],_0x2925d8[0x0],_0x39b7f6,this[_0x5bcd44(0x128)],void 0x0);}throw _0x639bd3['error'];}throw _0x72f605[_0x5bcd44(0x24d)];}catch(_0x2f2cf5){return this[_0x5bcd44(0x18f)][_0x5bcd44(0x24d)](_0x2f2cf5),this[_0x5bcd44(0x182)](!0x1);}}[_0x4e7919(0x3fb)](_0x4cb3ce){const _0x2bcd03=_0x4e7919;if(this[_0x2bcd03(0x9c)](),this[_0x2bcd03(0x25c)](_0x4cb3ce))return this['_injector'][_0x2bcd03(0x2c9)](he,this[_0x2bcd03(0x8b)],this[_0x2bcd03(0x195)],null,this[_0x2bcd03(0x293)],this[_0x2bcd03(0xf2)],[],this[_0x2bcd03(0x128)]);this[_0x2bcd03(0x15b)]();const _0x3b0344=this[_0x2bcd03(0x1e4)][_0x2bcd03(0x2c9)](pe,this[_0x2bcd03(0x8b)],this['type'],this[_0x2bcd03(0x293)],this[_0x2bcd03(0x128)]);return _0x3b0344[_0x2bcd03(0x20c)](),_0x3b0344[_0x2bcd03(0x205)](),_0x3b0344;}[_0x4e7919(0x173)](_0x204c1c){const _0x1d0695=_0x4e7919;return this[_0x1d0695(0x182)](!!(_0x204c1c!=null&&_0x204c1c[_0x1d0695(0x254)]));}[_0x4e7919(0x1a3)](_0x1f8573){const _0x3c6404=_0x4e7919;return this[_0x3c6404(0xa6)]>Ni?this[_0x3c6404(0x222)]():(this['_resendTimer']=Ui(this[_0x3c6404(0xa6)],{'timeout':this['_resendTimeout'],'reqId':_0x1f8573[_0x3c6404(0x250)]}),this['_sender']=this['_resendTimer'][_0x3c6404(0x1f1)](({reqId:_0x106a33,timeout:_0x5af822})=>{const _0x5b8785=_0x3c6404;this[_0x5b8785(0x2e6)](_0x106a33,_0x5af822);}),this);}[_0x4e7919(0x222)](){const _0x42ca89=_0x4e7919;return this['_clearScheduledTask'](),this[_0x42ca89(0x1e4)][_0x42ca89(0x2c9)](ye,this[_0x42ca89(0x8b)],this[_0x42ca89(0x195)],this[_0x42ca89(0xf2)],this['_pendingMutations'],this[_0x42ca89(0x128)]);}[_0x4e7919(0x3b1)](){return this;}[_0x4e7919(0x38c)](){const _0x61cf9a=_0x4e7919;this[_0x61cf9a(0x128)][_0x61cf9a(0x466)](this[_0x61cf9a(0xf2)]);}[_0x4e7919(0x182)](_0x3063a6){const _0x5832b1=_0x4e7919;return this[_0x5832b1(0x9c)](),this[_0x5832b1(0x1e4)][_0x5832b1(0x2c9)](Re,this['unitID'],this[_0x5832b1(0x195)],null,this['_pendingMutations'],this[_0x5832b1(0x128)],_0x3063a6);}[_0x4e7919(0x2e6)](_0x586a49,_0x478ef3){const _0xd34f0a=_0x4e7919;var _0x40016d;_0x586a49===((_0x40016d=this['_awaitingChangeset'])==null?void 0x0:_0x40016d[_0xd34f0a(0x250)])&&(this[_0xd34f0a(0x38c)](),this['_resendTimeout']=_0x478ef3===0x0?0x3e8:_0x478ef3*0x2);}[_0x4e7919(0x9c)](){const _0x618033=_0x4e7919;var _0x5e40bd;(_0x5e40bd=this['_sender'])==null||_0x5e40bd[_0x618033(0x155)](),this[_0x618033(0xa6)]=0x0;}};ge=Le([A(0x6,_0x557b7a(_0x5a5437)),A(0x7,_0x557b7a(_0x39bde1)),A(0x8,_0x557b7a(q)),A(0x9,_0x37f6d3),A(0xa,_0x2f9740),A(0xb,_0xd1dd82),A(0xc,_0x5aca87)],ge);let Re=class extends $e{constructor(_0x4764fe,_0x2dc46c,_0x400819,_0xa3b20b,_0x3ce735,_0x1f831d=!0x1,_0x28b42d,_0x42af09,_0x6b3ab5,_0xa2ee8b,_0x24f9f3,_0x434f3c,_0x38e4cc){const _0x189bbb=_0x4e7919;super(_0x4764fe,_0x2dc46c,_0x400819,_0xa3b20b,_0x3ce735,_0x42af09,_0x6b3ab5,_0x24f9f3,_0xa2ee8b),g(this,_0x189bbb(0x459),_0x189bbb(0x3cb)),(this[_0x189bbb(0x2c5)]=_0x1f831d,this['_permissionService']=_0x28b42d,this['_localeService']=_0x434f3c,this[_0x189bbb(0x363)]=_0x38e4cc,this['_showConflictNotification'](),this[_0x189bbb(0x226)](),this['_disableEditing']());}[_0x4e7919(0x7b)](){return this;}[_0x4e7919(0x455)](){return this;}[_0x4e7919(0x3fb)](){return this;}[_0x4e7919(0x173)](){return this;}[_0x4e7919(0x1a3)](){return this;}[_0x4e7919(0x222)](){return this;}[_0x4e7919(0x3b1)](){return this;}[_0x4e7919(0x38c)](){const _0x5816ad=_0x4e7919;throw new Error(_0x5816ad(0x2fd));}['_clearLocalCache'](){const _0x3ef01b=_0x4e7919;this[_0x3ef01b(0x27a)]['updateOfflineData'](this['unitID'],this['type'],null,[]);}[_0x4e7919(0x3cf)](){const _0x4fb0f0=_0x4e7919;this['_isPermissionRej']?this['_notificationService']['show']({'title':this[_0x4fb0f0(0x238)]['t'](_0x4fb0f0(0x1b5)),'content':this[_0x4fb0f0(0x238)]['t'](_0x4fb0f0(0x434)),'type':_0x4fb0f0(0x24d),'duration':0x0}):this[_0x4fb0f0(0x363)][_0x4fb0f0(0x243)]({'title':this[_0x4fb0f0(0x238)]['t'](_0x4fb0f0(0x25d)),'content':this[_0x4fb0f0(0x238)]['t']('conflict.content'),'type':_0x4fb0f0(0x24d),'duration':0x0});}['_disableEditing'](){const _0x5f4cb2=_0x4e7919;this[_0x5f4cb2(0x16a)][_0x5f4cb2(0x17b)](new _0x32a62a(this[_0x5f4cb2(0x8b)])['id'],!0x1);}};Re=Le([A(0x6,_0x557b7a(_0x4f30d5)),A(0x7,_0x37f6d3),A(0x8,_0x5aca87),A(0x9,_0x557b7a(q)),A(0xa,_0x557b7a(_0x39bde1)),A(0xb,_0x557b7a(_0x5e134c)),A(0xc,_0x700f62)],Re);let ye=class extends $e{constructor(_0x13db81,_0x2b91b3,_0x228e1d,_0xd4b8e2,_0x2b27ca,_0x1e3c94,_0x241194,_0x4f1861,_0x378b6f,_0x2001bf){const _0x4dea28=_0x4e7919;super(_0x13db81,_0x2b91b3,_0x228e1d,_0xd4b8e2,_0x2b27ca,_0x378b6f,_0x2001bf,_0x241194,_0x4f1861),g(this,_0x4dea28(0x459),_0x4dea28(0x444)),this[_0x4dea28(0x1e4)]=_0x1e3c94;}[_0x4e7919(0x7b)](_0x541ac3){const _0xb1edfd=_0x4e7919;return this[_0xb1edfd(0x293)]['push'](_0x541ac3),this['_updateLocalCache'](),this;}[_0x4e7919(0x455)](_0x39d51a){const _0x54bf40=_0x4e7919;throw new Error(_0x54bf40(0x388));}[_0x4e7919(0x3fb)](){const _0x2738f7=_0x4e7919;throw new Error(_0x2738f7(0x204));}[_0x4e7919(0x173)](){const _0x131ea5=_0x4e7919;throw new Error(_0x131ea5(0x12f));}[_0x4e7919(0x1a3)](){return this;}['toggleOffline'](){return this;}[_0x4e7919(0x3b1)](){const _0x13ed56=_0x4e7919,{_injector:_0x815a74,_pendingMutations:_0x1a38c9,_awaitingChangeset:_0x2bb767,unitID:_0x765003,_handler:_0x58df22,type:_0x27d542}=this,_0x2383cf=Ai(_0x815a74,_0x765003,_0x27d542,_0x2bb767,_0x1a38c9,_0x58df22);return _0x2383cf instanceof pe?_0x2383cf['_schedule']():(_0x2383cf instanceof ge||_0x2383cf instanceof Te)&&_0x2383cf[_0x13ed56(0x38c)](),_0x2383cf;}[_0x4e7919(0x38c)](){const _0x187930=_0x4e7919;throw new Error(_0x187930(0xfb));}};ye=Le([A(0x5,_0x557b7a(_0x5a5437)),A(0x6,_0x557b7a(_0x39bde1)),A(0x7,_0x557b7a(q)),A(0x8,_0x37f6d3),A(0x9,_0x5aca87)],ye);let he=class extends $e{constructor(_0x1b3f3c,_0x3ce544,_0x2c179e,_0x34b476,_0x2b93cc,_0x18612b,_0x5c60ff,_0x33077e,_0xae757b,_0x142a19,_0x1a10c8,_0x2289d2,_0x489521,_0x4f9fd9){const _0x2f21ca=_0x4e7919;super(_0x1b3f3c,_0x3ce544,_0x2c179e,_0x34b476,_0x5c60ff,_0x2289d2,_0x489521,_0xae757b,_0x142a19),g(this,_0x2f21ca(0x459),_0x2f21ca(0x30e)),(this[_0x2f21ca(0x44c)]=_0x2b93cc,this[_0x2f21ca(0x2af)]=_0x18612b,this[_0x2f21ca(0x1e4)]=_0x33077e,this[_0x2f21ca(0x18f)]=_0x1a10c8,this['_transformService']=_0x4f9fd9);}['onMissedChangesetFetched'](_0x1297b4){const _0x3c2bc9=_0x4e7919;try{const _0xfa0e73=[..._0x1297b4,...this['_queuedRemoteChangesets']],_0x320b03=[this[_0x3c2bc9(0xf2)]||this[_0x3c2bc9(0x44c)]][_0x3c2bc9(0x42e)](_0x44bb95=>!!_0x44bb95);let _0xfbc677,_0x4a6359;if(_0x320b03[_0x3c2bc9(0x126)]){const _0x2201da=this[_0x3c2bc9(0x2ac)]['transformChangesets'](_0xfa0e73,_0x320b03,!0x1);if(!_0x3775ff(_0x2201da))throw _0x2201da[_0x3c2bc9(0x24d)];_0xfbc677=_0x2201da[_0x3c2bc9(0x89)],_0x4a6359=_0x2201da['c2Prime'];}else _0xfbc677=_0xfa0e73,_0x4a6359=[];let _0x2475bc=this['_pendingMutations'];_0xfbc677[_0x3c2bc9(0x21b)](_0x396b66=>{const _0x570042=_0x3c2bc9;let _0x2b3e81;if(_0x2475bc['length']){const _0x4aa612=this[_0x570042(0x2ac)][_0x570042(0x214)](_0x396b66,_0x2475bc);if(!_0x26df4b(_0x4aa612))throw _0x4aa612[_0x570042(0x24d)];_0x2b3e81=_0x4aa612[_0x570042(0x89)],_0x2475bc=_0x4aa612[_0x570042(0xca)];}else _0x2b3e81=_0x396b66;this[_0x570042(0x290)](_0x2b3e81);}),this['_acknowledgedAwaitingChangeset']&&this[_0x3c2bc9(0x15b)](),this[_0x3c2bc9(0xf2)]&&_0x4a6359[_0x3c2bc9(0x126)]&&(_0x4a6359[0x0][_0x3c2bc9(0x178)]=this[_0x3c2bc9(0x153)]());let _0x4b6d41;if(this[_0x3c2bc9(0xf2)]&&_0x2475bc['length']!==0x0)_0x4b6d41=this['_injector'][_0x3c2bc9(0x2c9)](ge,this[_0x3c2bc9(0x8b)],this['type'],_0x4a6359[0x0],_0x2475bc,this[_0x3c2bc9(0x128)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2475bc[_0x3c2bc9(0x126)]===0x0)_0x4a6359[0x0][_0x3c2bc9(0x178)]=this[_0x3c2bc9(0x153)](),_0x4b6d41=this[_0x3c2bc9(0x1e4)][_0x3c2bc9(0x2c9)](Te,this[_0x3c2bc9(0x8b)],this[_0x3c2bc9(0x195)],_0x4a6359[0x0],this[_0x3c2bc9(0x128)]);else{if(_0x2475bc[_0x3c2bc9(0x126)]!==0x0){const _0x451d09=this[_0x3c2bc9(0x1e4)][_0x3c2bc9(0x2c9)](pe,this[_0x3c2bc9(0x8b)],this[_0x3c2bc9(0x195)],_0x2475bc,this[_0x3c2bc9(0x128)]);_0x451d09[_0x3c2bc9(0x20c)](),_0x4b6d41=_0x451d09;}else _0x4b6d41=this[_0x3c2bc9(0x1e4)]['createInstance'](Fe,this[_0x3c2bc9(0x8b)],this[_0x3c2bc9(0x195)],this[_0x3c2bc9(0x128)]);}}return _0x4b6d41[_0x3c2bc9(0x205)](),_0x4b6d41;}catch(_0x5974ce){return this[_0x3c2bc9(0x18f)]['error'](_0x3c2bc9(0x32d),_0x3c2bc9(0x382),_0x5974ce),this[_0x3c2bc9(0x1e4)]['createInstance'](Re,this[_0x3c2bc9(0x8b)],this['type'],this[_0x3c2bc9(0xf2)],this[_0x3c2bc9(0x293)],this[_0x3c2bc9(0x128)],!0x1);}}[_0x4e7919(0x38c)](){const _0x27f6fd=_0x4e7919;throw new Error(_0x27f6fd(0x2cd));}['appendMutation'](_0x1b8256){const _0x584471=_0x4e7919;return this[_0x584471(0x293)][_0x584471(0x209)](_0x1b8256),this;}[_0x4e7919(0x455)](_0x495e11){return this['_queuedRemoteChangesets']['push'](_0x495e11),this;}[_0x4e7919(0x3fb)](_0x10ed80){const _0x9a70e1=_0x4e7919;if(this[_0x9a70e1(0xf2)])return this[_0x9a70e1(0x44c)]=this[_0x9a70e1(0xf2)],this[_0x9a70e1(0xf2)]=null,this;throw new Error(_0x9a70e1(0x43f));}[_0x4e7919(0x173)](_0x3b5e25){const _0x5ee3d5=_0x4e7919;return this[_0x5ee3d5(0x182)](!!(_0x3b5e25!=null&&_0x3b5e25[_0x5ee3d5(0x254)]));}[_0x4e7919(0x1a3)](){return this;}['toggleOffline'](){const _0x446f87=_0x4e7919;return this['_injector'][_0x446f87(0x2c9)](ye,this[_0x446f87(0x8b)],this[_0x446f87(0x195)],this[_0x446f87(0xf2)],this[_0x446f87(0x293)],this['_handler']);}['toggleOnline'](){return this;}[_0x4e7919(0x182)](_0x14cce8){const _0x5ef02b=_0x4e7919;return this[_0x5ef02b(0x1e4)][_0x5ef02b(0x2c9)](Re,this[_0x5ef02b(0x8b)],this[_0x5ef02b(0x195)],this[_0x5ef02b(0xf2)],this[_0x5ef02b(0x293)],this[_0x5ef02b(0x128)],_0x14cce8);}};he=Le([A(0x7,_0x557b7a(_0x5a5437)),A(0x8,_0x557b7a(_0x39bde1)),A(0x9,_0x557b7a(q)),A(0xa,_0x2f9740),A(0xb,_0x37f6d3),A(0xc,_0x5aca87),A(0xd,_0xd1dd82)],he);function Ai(_0x213612,_0x1b6008,_0xfb8b6d,_0x57491b,_0x31b3fd,_0x2ee7ec){const _0x3bf435=_0x4e7919;return _0x57491b&&_0x31b3fd[_0x3bf435(0x126)]?_0x213612['createInstance'](ge,_0x1b6008,_0xfb8b6d,_0x57491b,_0x31b3fd,_0x2ee7ec,void 0x0):_0x57491b?_0x213612[_0x3bf435(0x2c9)](Te,_0x1b6008,_0xfb8b6d,_0x57491b,_0x2ee7ec):_0x31b3fd[_0x3bf435(0x126)]?_0x213612['createInstance'](pe,_0x1b6008,_0xfb8b6d,_0x31b3fd,_0x2ee7ec):_0x213612[_0x3bf435(0x2c9)](Fe,_0x1b6008,_0xfb8b6d,_0x2ee7ec);}var So=Object[_0x4e7919(0x13e)],Io=Object[_0x4e7919(0x3a9)],Es=(_0x406dca,_0xf7e44b,_0x1adfb4,_0x9f1e7e)=>{for(var _0x10b7f1=_0x9f1e7e>0x1?void 0x0:_0x9f1e7e?Io(_0xf7e44b,_0x1adfb4):_0xf7e44b,_0x39d02f=_0x406dca['length']-0x1,_0x1f7f38;_0x39d02f>=0x0;_0x39d02f--)(_0x1f7f38=_0x406dca[_0x39d02f])&&(_0x10b7f1=(_0x9f1e7e?_0x1f7f38(_0xf7e44b,_0x1adfb4,_0x10b7f1):_0x1f7f38(_0x10b7f1))||_0x10b7f1);return _0x9f1e7e&&_0x10b7f1&&So(_0xf7e44b,_0x1adfb4,_0x10b7f1),_0x10b7f1;},H=(_0x56507a,_0x14ef5f)=>(_0x373a8c,_0x395707)=>_0x14ef5f(_0x373a8c,_0x395707,_0x56507a);let gt=class extends _0x15900e{constructor(_0x497a4c,_0x23ef3c,_0x405a8a,_0x34dca0,_0x4d00a7,_0x1e9c26,_0x400eed,_0x4d8726,_0x4004f0,_0x5b26df,_0x28b292,_0x122ca5,_0x50c54e){const _0x228bb8=_0x4e7919;super(),g(this,_0x228bb8(0x3dd),new _0x524b68(null)),g(this,'state$',this['_state$'][_0x228bb8(0x180)]()),g(this,_0x228bb8(0x46d)),g(this,_0x228bb8(0x267),!0x1),g(this,'_changesetSessionId',''),g(this,_0x228bb8(0x3ba),0x0),g(this,_0x228bb8(0x1cf),this[_0x228bb8(0x45d)][_0x228bb8(0x210)](_0x50280c(_0x468e50=>_0x468e50?_0x468e50['status']:J[_0x228bb8(0x3f4)]),_0x42be71(0x1))),g(this,_0x228bb8(0x2bd),!0x1),g(this,_0x228bb8(0x232),[]),(this[_0x228bb8(0x8b)]=_0x497a4c,this[_0x228bb8(0x336)]=_0x23ef3c,this[_0x228bb8(0x327)]=_0x405a8a,this[_0x228bb8(0x1e4)]=_0x34dca0,this['_localCacheService']=_0x4d00a7,this[_0x228bb8(0x296)]=_0x1e9c26,this[_0x228bb8(0x238)]=_0x400eed,this[_0x228bb8(0xf9)]=_0x4d8726,this[_0x228bb8(0x18f)]=_0x4004f0,this['_commandService']=_0x5b26df,this[_0x228bb8(0x443)]=_0x28b292,this[_0x228bb8(0x16a)]=_0x122ca5,this[_0x228bb8(0x458)]=_0x50c54e);}get[_0x4e7919(0x450)](){const _0x594109=_0x4e7919;return this[_0x594109(0x46d)];}async[_0x4e7919(0x251)](){const _0x37668d=_0x4e7919;if(this[_0x37668d(0x450)])throw new Error(_0x37668d(0x24c));await this[_0x37668d(0x350)]();}[_0x4e7919(0x268)](){const _0x4f7b39=_0x4e7919;return this[_0x4f7b39(0x267)]=!0x0,_0x290028(()=>{const _0x2dd5cc=_0x4f7b39;this[_0x2dd5cc(0x267)]=!0x1,this[_0x2dd5cc(0x43b)]();});}[_0x4e7919(0x3d4)](_0x24f305){const _0x3817e1=_0x4e7919;this['_state']=_0x24f305,this[_0x3817e1(0x3dd)][_0x3817e1(0x409)](_0x24f305);}async[_0x4e7919(0x350)](){const _0x23c1b1=_0x4e7919;var _0x5ce4e8;this[_0x23c1b1(0x3d4)](await this[_0x23c1b1(0x473)]()),this[_0x23c1b1(0x458)]&&((_0x5ce4e8=this['_singleActiveUnitService'])==null||_0x5ce4e8[_0x23c1b1(0x91)](this[_0x23c1b1(0x8b)]),this['disposeWithMe'](this[_0x23c1b1(0x458)]['getUnitStatus$'](this[_0x23c1b1(0x8b)])['subscribe'](_0x57e02c=>{const _0x18f89b=_0x23c1b1;this[_0x18f89b(0x18f)][_0x18f89b(0x236)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x57e02c),_0x57e02c===Di[_0x18f89b(0x1b6)]?(this[_0x18f89b(0x443)]['show']({'content':this[_0x18f89b(0x238)]['t']('collaboration.single-unit.warning'),'type':_0x302b10['Warning']}),this[_0x18f89b(0x16a)][_0x18f89b(0x17b)](new _0x32a62a(this[_0x18f89b(0x8b)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this['_permissionService'][_0x18f89b(0x17b)](new _0x32a62a(this['unitID'])['id'],!0x0),this['_permissionService'][_0x18f89b(0x36d)](!0x0));})));let _0xb30b3e=!0x1;return this['disposeWithMe'](this[_0x23c1b1(0x336)][_0x23c1b1(0x109)][_0x23c1b1(0x1f1)](_0x23a24d=>{const _0x2a4ca6=_0x23c1b1;_0x23a24d===ve[_0x2a4ca6(0x28f)]?this[_0x2a4ca6(0x3d2)](_0xb30b3e):_0x23a24d===ve[_0x2a4ca6(0x3f4)]&&(_0xb30b3e=!0x0,this[_0x2a4ca6(0x419)]());})),this[_0x23c1b1(0xb0)](this[_0x23c1b1(0x336)][_0x23c1b1(0x16d)][_0x23c1b1(0x1f1)](_0x139fa1=>{const _0xe65095=_0x23c1b1;try{switch(_0x139fa1[_0xe65095(0x161)]){case _0xb7e982[_0xe65095(0x383)]:{this['_onRemoteChangeset'](_0x2034a6(_0x139fa1['data']));break;}case _0xb7e982[_0xe65095(0xfa)]:{this[_0xe65095(0x34d)](_0x139fa1[_0xe65095(0x28a)]);break;}case _0xb7e982[_0xe65095(0x3c6)]:{this[_0xe65095(0x2b4)]();break;}case _0xb7e982[_0xe65095(0x2a5)]:{this[_0xe65095(0x1bc)](_0x139fa1[_0xe65095(0x28a)]);break;}case _0xb7e982[_0xe65095(0x3c0)]:{this[_0xe65095(0xd2)](_0x139fa1['data'][_0xe65095(0x2be)][_0xe65095(0x32e)](_0x3f90e8=>_0x2034a6(_0x3f90e8)));break;}case _0xb7e982['PERMISSION_REJ']:this[_0xe65095(0x2b4)]({'isPermissionRej':!0x0});}}catch(_0x3bf8ce){throw console[_0xe65095(0x24d)](_0xe65095(0x323),_0x3bf8ce),_0x3bf8ce;}})),this[_0x23c1b1(0x46d)];}[_0x4e7919(0x110)](){const _0x28c4dc=_0x4e7919;this[_0x28c4dc(0x2bd)]=!0x1;}['_lockTransition'](){const _0x30bd2b=_0x4e7919;if(this['_transitionLocked'])throw new Error(_0x30bd2b(0x3ae));this[_0x30bd2b(0x2bd)]=!0x0;}[_0x4e7919(0x2ff)](_0xe51ed4){const _0x4ebb17=_0x4e7919;this[_0x4ebb17(0x207)](),this[_0x4ebb17(0x3d4)](this[_0x4ebb17(0x46d)][_0x4ebb17(0x7b)](_0xe51ed4)),this['_unlockTransition']();}[_0x4e7919(0x239)](_0x49f1b5){const _0x15650c=_0x4e7919;if(!(_0x49f1b5['revision']<=this[_0x15650c(0xf9)][_0x15650c(0x344)](this[_0x15650c(0x8b)]))){if(this['_collaborationPaused']){this[_0x15650c(0x232)]['push'](_0x49f1b5);return;}this['_applyRemoteChangeset'](_0x49f1b5);}}[_0x4e7919(0x43b)](){const _0x1c8351=_0x4e7919;this['_remoteChangesetQueue']['forEach'](_0x177091=>this[_0x1c8351(0x24e)](_0x177091)),this[_0x1c8351(0x232)]=[];}['_applyRemoteChangeset'](_0x58dd5e){const _0x5f3665=_0x4e7919,_0x4697a6=this[_0x5f3665(0x296)][_0x5f3665(0x25e)][_0x5f3665(0x163)](this['_compressMutationService'][_0x5f3665(0x25e)]['getInterceptPoints']()[_0x5f3665(0x103)])(_0x58dd5e[_0x5f3665(0x13b)],null)||_0x58dd5e[_0x5f3665(0x13b)],_0x4a9b63={..._0x58dd5e,'mutations':_0x4697a6};this[_0x5f3665(0x207)](),this[_0x5f3665(0x3d4)](this[_0x5f3665(0x46d)]['onRemoteChangeset'](_0x4a9b63)),this[_0x5f3665(0x110)]();}[_0x4e7919(0x34d)](_0x1f944f){const _0x253af3=_0x4e7919;this[_0x253af3(0x207)](),this['_updateState'](this[_0x253af3(0x46d)][_0x253af3(0x3fb)](_0x1f944f)),this[_0x253af3(0x110)]();}['_onRemoteRejected'](_0xde7797){const _0x28c105=_0x4e7919;this['_lockTransition'](),this[_0x28c105(0x3d4)](this[_0x28c105(0x46d)][_0x28c105(0x173)](_0xde7797)),this[_0x28c105(0x110)]();}[_0x4e7919(0x1bc)](_0x4a8c43){const _0x56fdb6=_0x4e7919;this['_lockTransition'](),this[_0x56fdb6(0x3d4)](this[_0x56fdb6(0x46d)][_0x56fdb6(0x1a3)](_0x4a8c43)),this[_0x56fdb6(0x110)]();}[_0x4e7919(0xd2)](_0x1351cc){const _0x364afd=_0x4e7919;if(!(this[_0x364afd(0x46d)]instanceof he))throw new TypeError(_0x364afd(0x48f));const _0x5950a1=_0x1351cc[_0x364afd(0x32e)](_0x3bc715=>{const _0x123be9=_0x364afd,_0x5102f5=this[_0x123be9(0x296)][_0x123be9(0x25e)][_0x123be9(0x163)](this[_0x123be9(0x296)][_0x123be9(0x25e)][_0x123be9(0x32f)]()[_0x123be9(0x103)])(_0x3bc715[_0x123be9(0x13b)],null)||_0x3bc715['mutations'];return{..._0x3bc715,'mutations':_0x5102f5};});this[_0x364afd(0x207)](),this[_0x364afd(0x3d4)](this[_0x364afd(0x46d)][_0x364afd(0x408)](_0x5950a1)),this[_0x364afd(0x110)]();}[_0x4e7919(0x419)](){const _0x5aedcd=_0x4e7919;this[_0x5aedcd(0x207)](),this[_0x5aedcd(0x3d4)](this[_0x5aedcd(0x46d)][_0x5aedcd(0x222)]()),this[_0x5aedcd(0x110)]();}[_0x4e7919(0x3d2)](_0x3d2445=!0x1){const _0x14a8ce=_0x4e7919;this[_0x14a8ce(0x207)](),this[_0x14a8ce(0x3d4)](this['_state'][_0x14a8ce(0x3b1)]()),this['_unlockTransition']();const _0x34de33=this[_0x14a8ce(0x46d)];_0x3d2445&&_0x34de33 instanceof Fe&&(this['_lockTransition'](),this[_0x14a8ce(0x3d4)](_0x34de33['fetchMiss']()),this[_0x14a8ce(0x110)]());}async['_createInitialState'](){return new Promise(_0x19153d=>{const _0x254b57=_0x5ed9;this['session'][_0x254b57(0x109)]['pipe'](_0xb3cf89(0x1))[_0x254b57(0x1f1)](async _0xd9c8aa=>{const _0x381296=_0x254b57;_0x19153d(await this[_0x381296(0x41d)](_0xd9c8aa===ve[_0x381296(0x28f)]));});});}[_0x4e7919(0x2ee)](){const _0x1f2e07=_0x4e7919,_0x20fa04=this[_0x1f2e07(0x8b)];return{'onStateChange':(_0x285106,_0x49fc67)=>{const _0x23b751=_0x1f2e07;if(_0x285106!==this[_0x23b751(0x46d)])throw new Error(_0x23b751(0x284)+_0x285106[_0x23b751(0x459)]+_0x23b751(0x39a)+_0x49fc67['status']+_0x23b751(0x437)+this['_state']['status']);this[_0x23b751(0x3d4)](_0x49fc67);},'onSendChangeset':_0x32fa25=>{const _0x3fb0cc=_0x1f2e07;_0x32fa25[_0x3fb0cc(0x27e)]||(_0x32fa25['sid']=this[_0x3fb0cc(0x2f2)],_0x32fa25[_0x3fb0cc(0x250)]=++this[_0x3fb0cc(0x3ba)]);const _0x1153fe={'eventID':_0xb7e982['SUBMIT_CHANGESET'],'data':{'unitID':_0x32fa25[_0x3fb0cc(0x8b)],'unitType':this[_0x3fb0cc(0x327)],'changeset':_0x32fa25,'memberID':this[_0x3fb0cc(0x336)][_0x3fb0cc(0x3cd)]()}};this[_0x3fb0cc(0x336)][_0x3fb0cc(0x7c)](_0x1153fe,this['unitID']);},'onMissingChangesets':({from:_0x5d45a1,to:_0xd69ac5})=>{const _0x36e869=_0x1f2e07;this['_logService'][_0x36e869(0x236)]('[CollaborationEntity]',_0x36e869(0x1b9)+_0x5d45a1+_0x36e869(0x30b)+_0xd69ac5);const _0x4dd986={'eventID':_0xb7e982[_0x36e869(0x3f1)],'data':{'unitID':_0x20fa04,'unitType':this[_0x36e869(0x327)],'from':_0x5d45a1,'to':_0xd69ac5}};this[_0x36e869(0x336)][_0x36e869(0x7c)](_0x4dd986,this[_0x36e869(0x8b)]);}};}async[_0x4e7919(0x41d)](_0x418b14){const _0xd2c173=_0x4e7919;var _0x381848,_0xc6e10;const _0x21836e=await this[_0xd2c173(0x27a)][_0xd2c173(0x281)](this['unitID']),_0x5c7c4c=(_0x381848=_0x21836e==null?void 0x0:_0x21836e[_0xd2c173(0x13b)])!=null?_0x381848:[],_0x5949fc=(_0xc6e10=_0x21836e==null?void 0x0:_0x21836e[_0xd2c173(0x398)])!=null?_0xc6e10:null,_0x48ee42=!!(_0x5949fc!=null&&_0x5949fc[_0xd2c173(0x27e)])&&!!(_0x5949fc!=null&&_0x5949fc[_0xd2c173(0x250)]);this[_0xd2c173(0x2f2)]=_0x48ee42?_0x5949fc[_0xd2c173(0x27e)]:zr(),this[_0xd2c173(0x3ba)]=_0x48ee42?_0x5949fc[_0xd2c173(0x250)]:0x0;const _0xfa50e5=this[_0xd2c173(0x8b)];try{this[_0xd2c173(0x283)](_0x5949fc,_0x5c7c4c);}catch(_0x3cfd65){this[_0xd2c173(0x18f)]['error'](_0x3cfd65);}const _0x1ad0d6=this[_0xd2c173(0x2ee)]();if(_0x418b14){const _0x1209f7=Ai(this[_0xd2c173(0x1e4)],_0xfa50e5,this[_0xd2c173(0x327)],_0x5949fc,_0x5c7c4c,_0x1ad0d6);return _0x1209f7 instanceof pe?_0x1209f7[_0xd2c173(0x20c)]():(_0x1209f7 instanceof ge||_0x1209f7 instanceof Te)&&_0x1209f7['resend'](),_0x1209f7;}return this[_0xd2c173(0x1e4)][_0xd2c173(0x2c9)](ye,_0xfa50e5,this['_type'],_0x5949fc,_0x5c7c4c,_0x1ad0d6);}[_0x4e7919(0x283)](_0xc738bb,_0x2a2dd7){const _0x539a5e=_0x4e7919;var _0x53de10,_0x4626d5;const _0x352f92=this['_compressMutationService'][_0x539a5e(0x25e)][_0x539a5e(0x163)](this['_compressMutationService'][_0x539a5e(0x25e)][_0x539a5e(0x32f)]()['COMPRESS_MUTATION_APPLY']);(_0x53de10=_0x352f92((_0xc738bb==null?void 0x0:_0xc738bb['mutations'])||[],null))==null||_0x53de10[_0x539a5e(0x21b)](_0xc54236=>this[_0x539a5e(0x2c6)][_0x539a5e(0x122)](_0xc54236['id'],_0xc54236[_0x539a5e(0x244)])),(_0x4626d5=_0x352f92(_0x2a2dd7||[],null))==null||_0x4626d5['forEach'](_0xb7d227=>this[_0x539a5e(0x2c6)][_0x539a5e(0x122)](_0xb7d227['id'],_0xb7d227[_0x539a5e(0x244)]));}};gt=Es([H(0x3,_0x557b7a(_0x5a5437)),H(0x4,_0x557b7a(q)),H(0x5,_0x557b7a(_0x2145c9)),H(0x6,_0x557b7a(_0x5e134c)),H(0x7,_0x557b7a(_0x39bde1)),H(0x8,_0x2f9740),H(0x9,_0x37f6d3),H(0xa,_0x4e3214),H(0xb,_0x4f30d5),H(0xc,_0x263588(Rt))],gt);let ss=class extends gt{constructor(_0x5d899b,_0x47d3e7,_0x2e8ac0,_0x2bb30b,_0x1dc78d,_0x2ef783,_0x333ae7,_0x51d66e,_0x1b04ee,_0x21cfd5,_0x4eb945,_0x7fd02c,_0x399e6d,_0x53c984,_0x3ec023,_0x149008,_0x5649fb,_0x5a0699){const _0x3e4a6e=_0x4e7919;super(_0x5d899b,_0x2e8ac0,_0x47d3e7,_0x2bb30b,_0x1dc78d,_0x2ef783,_0x333ae7,_0x51d66e,_0x53c984,_0x3ec023,_0x149008,_0x5649fb,_0x5a0699),this[_0x3e4a6e(0x8b)]=_0x5d899b,this[_0x3e4a6e(0x195)]=_0x47d3e7,this['_docStateChangeManagerService']=_0x1b04ee,this[_0x3e4a6e(0x3b5)]=_0x21cfd5,this[_0x3e4a6e(0x424)]=_0x4eb945,this['_docTransformSelectionsService']=_0x7fd02c,this[_0x3e4a6e(0x135)]=_0x399e6d;}['_createHandler'](){const _0x378307=_0x4e7919,_0x5636e7=super[_0x378307(0x2ee)]();return _0x5636e7['onTransformIME']=_0x4ca574=>this['_docTransformIMECacheService'][_0x378307(0x356)](_0x4ca574),_0x5636e7['onTransformState']=_0x339e00=>this['_docTransformStateCacheService']['transformStateCache'](_0x339e00),_0x5636e7['onTransformSelections']=_0x2e6275=>this[_0x378307(0x3b0)][_0x378307(0x12d)](_0x2e6275),_0x5636e7[_0x378307(0x37b)]=_0x4d8b35=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x4d8b35),_0x5636e7['onTransformRemoteChangesetByIMECache']=_0x4bd750=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x4bd750),_0x5636e7['onTransformRemoteChangesetByStateCache']=_0x598909=>this[_0x378307(0x424)]['transformRemoteChangeset'](_0x598909),_0x5636e7;}async[_0x4e7919(0x350)](){const _0x210b25=_0x4e7919,_0x3d422f=await super[_0x210b25(0x350)]();return this[_0x210b25(0x2a2)][_0x210b25(0x1fc)]['pipe'](_0x234986(this[_0x210b25(0x15d)]))[_0x210b25(0x1f1)](_0x27fc1e=>{const _0x101b38=_0x210b25;if(_0x27fc1e==null)return;const {unitId:_0x3a9390,redoState:_0x5eea11,commandId:_0x35900f}=_0x27fc1e;if(_0x3a9390!==this[_0x101b38(0x8b)])return;const _0x3775f2={'id':_0x35900f,'type':_0x2809bc[_0x101b38(0x140)],'params':{'unitId':_0x3a9390,'actions':_0x5eea11[_0x101b38(0x367)],'textRanges':null}};this[_0x101b38(0x2ff)](_0x3775f2);}),_0x3d422f;}};ss=Es([H(0x3,_0x557b7a(_0x5a5437)),H(0x4,_0x557b7a(q)),H(0x5,_0x557b7a(_0x2145c9)),H(0x6,_0x557b7a(_0x5e134c)),H(0x7,_0x557b7a(_0x39bde1)),H(0x8,_0x557b7a(_0x39f3d6)),H(0x9,_0x557b7a(ft)),H(0xa,_0x557b7a(mt)),H(0xb,_0x557b7a(pt)),H(0xc,_0x557b7a(Cs)),H(0xd,_0x2f9740),H(0xe,_0x37f6d3),H(0xf,_0x4e3214),H(0x10,_0x4f30d5),H(0x11,_0x263588(Rt))],ss);let is=class extends gt{constructor(_0x5f4cc1,_0x1c1f77,_0x736bf7,_0x569765,_0x279b38,_0x2ebe26,_0xdea03,_0x3198a8,_0x260dc2,_0x4c63ef,_0x431eca,_0xb416e9,_0x38ff9e,_0x5634f5){const _0x4a49cb=_0x4e7919;super(_0x5f4cc1,_0x736bf7,_0x1c1f77,_0x569765,_0x279b38,_0x2ebe26,_0xdea03,_0x3198a8,_0x4c63ef,_0x431eca,_0xb416e9,_0x38ff9e,_0x5634f5),this[_0x4a49cb(0x8b)]=_0x5f4cc1,this[_0x4a49cb(0x195)]=_0x1c1f77,this['_sheetTransformSelectionsService']=_0x260dc2;}[_0x4e7919(0x2ee)](){const _0x3d910f=_0x4e7919,_0x25ca53=super[_0x3d910f(0x2ee)]();return _0x25ca53[_0x3d910f(0x169)]=_0x5e739a=>this[_0x3d910f(0x2aa)][_0x3d910f(0x12d)](_0x5e739a),_0x25ca53;}async[_0x4e7919(0x350)](){const _0xaec626=_0x4e7919,_0x2b3ad4=await super[_0xaec626(0x350)]();return this[_0xaec626(0xb0)](this[_0xaec626(0x2c6)][_0xaec626(0x406)]((_0x4fc40f,_0x20d180)=>{const _0x160df8=_0xaec626;if(_0x4fc40f['type']!==_0x2809bc[_0x160df8(0x140)]||_0x20d180!=null&&_0x20d180['fromCollab']||_0x20d180!=null&&_0x20d180['onlyLocal'])return;const _0x39db99=_0x4fc40f[_0x160df8(0x244)];if((_0x39db99==null?void 0x0:_0x39db99['unitId'])!==this[_0x160df8(0x8b)])return;const _0x29d261=_0x4fc40f,_0x2aa0a0=this['_compressMutationService'][_0x160df8(0x25e)][_0x160df8(0x163)](this[_0x160df8(0x296)][_0x160df8(0x25e)][_0x160df8(0x32f)]()['COMPRESS_MUTATION_SEND'])([_0x29d261],null)||[_0x29d261];this[_0x160df8(0x2ff)](_0x2aa0a0[0x0]);})),_0x2b3ad4;}};is=Es([H(0x3,_0x557b7a(_0x5a5437)),H(0x4,_0x557b7a(q)),H(0x5,_0x557b7a(_0x2145c9)),H(0x6,_0x557b7a(_0x5e134c)),H(0x7,_0x557b7a(_0x39bde1)),H(0x8,_0x557b7a(vt)),H(0x9,_0x2f9740),H(0xa,_0x37f6d3),H(0xb,_0x4e3214),H(0xc,_0x4f30d5),H(0xd,_0x263588(Rt))],is);var Co=Object[_0x4e7919(0x13e)],Eo=Object[_0x4e7919(0x3a9)],bo=(_0x24e9f2,_0x2478e7,_0x567d05,_0x167eb2)=>{const _0x5c3e15=_0x4e7919;for(var _0x58983e=_0x167eb2>0x1?void 0x0:_0x167eb2?Eo(_0x2478e7,_0x567d05):_0x2478e7,_0x1271bf=_0x24e9f2[_0x5c3e15(0x126)]-0x1,_0x82ab50;_0x1271bf>=0x0;_0x1271bf--)(_0x82ab50=_0x24e9f2[_0x1271bf])&&(_0x58983e=(_0x167eb2?_0x82ab50(_0x2478e7,_0x567d05,_0x58983e):_0x82ab50(_0x58983e))||_0x58983e);return _0x167eb2&&_0x58983e&&Co(_0x2478e7,_0x567d05,_0x58983e),_0x58983e;},Lt=(_0x1538bb,_0x55ec58)=>(_0x51b012,_0x50251d)=>_0x55ec58(_0x51b012,_0x50251d,_0x1538bb);let it=class extends _0x15900e{constructor(_0x291e6e,_0x22f6f6,_0x3fe0bb){const _0x26e474=_0x4e7919;super(),g(this,'_entities',new Map()),g(this,_0x26e474(0x83),new _0x7a1bd7()),(this[_0x26e474(0x1e4)]=_0x291e6e,this[_0x26e474(0x106)]=_0x22f6f6,this[_0x26e474(0x29a)]=_0x3fe0bb,this[_0x26e474(0x350)]());}[_0x4e7919(0xc0)](){const _0x593808=_0x4e7919;super[_0x593808(0xc0)](),this[_0x593808(0x29c)][_0x593808(0x21b)](_0x614b6d=>_0x614b6d[_0x593808(0xc0)]()),this['_entities'][_0x593808(0x414)]();}['getCollabEntity'](_0x2a694a){const _0x1e23de=_0x4e7919;var _0x11ea5a;return(_0x11ea5a=this[_0x1e23de(0x29c)][_0x1e23de(0x16e)](_0x2a694a))!=null?_0x11ea5a:null;}[_0x4e7919(0x184)](_0x381cb2){const _0x5e2f08=_0x4e7919,_0x584fa7=this[_0x5e2f08(0x194)](_0x381cb2);return _0x584fa7?_0x2a024c(_0x584fa7):this[_0x5e2f08(0x83)][_0x5e2f08(0x210)](_0x27f80a(_0x5ab9a9=>_0x5ab9a9[_0x5e2f08(0x8b)]===_0x381cb2));}[_0x4e7919(0x350)](){const _0x501700=_0x4e7919;this[_0x501700(0x29a)][_0x501700(0x27d)](_0x470972[_0x501700(0x29f)])[_0x501700(0x210)](_0x234986(this[_0x501700(0x15d)]),_0x2b0474(0x10))[_0x501700(0x1f1)](async _0x2d2eeb=>{const _0x47e90a=_0x501700,_0x109157=_0x2d2eeb['getUnitId'](),_0x3cea74=await this[_0x47e90a(0x224)](_0x109157,ce['UNIVER_SHEET']);this['_entities'][_0x47e90a(0x2a0)](_0x109157,_0x3cea74);}),this[_0x501700(0x29a)][_0x501700(0x27d)](_0x470972[_0x501700(0x3ca)])[_0x501700(0x210)](_0x234986(this[_0x501700(0x15d)]),_0x2b0474(0x10))[_0x501700(0x210)](_0x27f80a(_0x21cd94=>!_0x21cd94[_0x501700(0x426)]()[_0x501700(0x164)]('__')))['subscribe'](async _0x5bc206=>{const _0x31fb28=_0x501700,_0x4e5bb6=_0x5bc206[_0x31fb28(0x426)](),_0x429b12=await this[_0x31fb28(0x224)](_0x4e5bb6,ce[_0x31fb28(0x3ca)]);this[_0x31fb28(0x29c)]['set'](_0x4e5bb6,_0x429b12);}),_0x365701(this[_0x501700(0x29a)]['getTypeOfUnitDisposed$'](_0x470972[_0x501700(0x29f)]),this[_0x501700(0x29a)][_0x501700(0x18c)](_0x470972['UNIVER_DOC']))[_0x501700(0x210)](_0x234986(this[_0x501700(0x15d)]))['subscribe'](_0x52a3ff=>{const _0x5ba1e2=_0x501700,_0x59a60c=_0x52a3ff[_0x5ba1e2(0x426)](),_0x442264=this['_entities'][_0x5ba1e2(0x16e)](_0x59a60c);_0x442264&&(_0x442264[_0x5ba1e2(0xc0)](),this['_entities']['delete'](_0x59a60c));});}async[_0x4e7919(0x224)](_0x643700,_0xb849f3){const _0xd5920e=_0x4e7919,_0x16aa30=await this[_0xd5920e(0x106)][_0xd5920e(0x386)](_0x643700),_0x5900fc=this[_0xd5920e(0x1e4)][_0xd5920e(0x2c9)](this['_getCtorByUniverType'](_0xb849f3),_0x643700,_0xb849f3,_0x16aa30);return await _0x5900fc[_0xd5920e(0x251)](),this[_0xd5920e(0x83)][_0xd5920e(0x409)](_0x5900fc),_0x5900fc;}[_0x4e7919(0xfd)](_0x309be1){const _0x5280e1=_0x4e7919;switch(_0x309be1){case ce[_0x5280e1(0x3ca)]:return ss;case ce['UNIVER_SHEET']:return is;default:throw new Error(_0x5280e1(0x349)+_0x309be1);}}};it=bo([Lt(0x0,_0x557b7a(_0x5a5437)),Lt(0x1,_0x557b7a(Ae)),Lt(0x2,_0x5e27bc)],it);const Gs=['purple300',_0x4e7919(0x2fb),'verdancy600',_0x4e7919(0x1a5),_0x4e7919(0x431),_0x4e7919(0x373)];class bs extends _0x4b38ce{constructor(){const _0x435ec8=_0x4e7919;super(...arguments),g(this,_0x435ec8(0xba),new Map()),g(this,_0x435ec8(0x1e3),0x0);}[_0x4e7919(0xa8)](_0x271036){const _0x3c44aa=_0x4e7919;if(this[_0x3c44aa(0xba)][_0x3c44aa(0x297)](_0x271036))return this[_0x3c44aa(0xba)][_0x3c44aa(0x16e)](_0x271036);const _0x319f3e=Gs[this[_0x3c44aa(0x1e3)]];return this[_0x3c44aa(0x1e3)]=(this[_0x3c44aa(0x1e3)]+0x1)%Gs[_0x3c44aa(0x126)],this[_0x3c44aa(0xba)][_0x3c44aa(0x2a0)](_0x271036,_0x319f3e),_0x319f3e;}}var To=Object[_0x4e7919(0x13e)],Ro=Object[_0x4e7919(0x3a9)],yo=(_0x4d0403,_0x1d068b,_0x165d2d,_0x2654ad)=>{const _0x564004=_0x4e7919;for(var _0x598302=_0x2654ad>0x1?void 0x0:_0x2654ad?Ro(_0x1d068b,_0x165d2d):_0x1d068b,_0x155e1a=_0x4d0403[_0x564004(0x126)]-0x1,_0x240f91;_0x155e1a>=0x0;_0x155e1a--)(_0x240f91=_0x4d0403[_0x155e1a])&&(_0x598302=(_0x2654ad?_0x240f91(_0x1d068b,_0x165d2d,_0x598302):_0x240f91(_0x598302))||_0x598302);return _0x2654ad&&_0x598302&&To(_0x1d068b,_0x165d2d,_0x598302),_0x598302;},Oe=(_0x248fca,_0x5beba6)=>(_0x3472e7,_0x48f68b)=>_0x5beba6(_0x3472e7,_0x48f68b,_0x248fca);const Oo=0x12c,wo=0x64;let ns=class extends _0x15900e{constructor(_0x5c5cc2,_0x5c8fbd,_0x5ed1af,_0x60c188,_0x1f3aba,_0x2ab83a,_0x2d25be,_0x191f2f,_0x107f9d){const _0xe6e59=_0x4e7919;super(),g(this,'_online',!0x1),g(this,'_init',!0x1),g(this,_0xe6e59(0x1db),new _0x524b68(new Map())),g(this,_0xe6e59(0x1e0),this[_0xe6e59(0x1db)][_0xe6e59(0x180)]()),g(this,_0xe6e59(0x13f),new _0x524b68([])),g(this,_0xe6e59(0x2b1),this[_0xe6e59(0x13f)]['pipe'](_0x4f25a9(Oo))),g(this,_0xe6e59(0x48b),_0x28300d(_0x5b13bd=>{const _0x54e28c=_0xe6e59,_0x4ad108={'eventID':_0xb7e982[_0x54e28c(0x483)],'data':{'unitID':this[_0x54e28c(0x8b)],'memberID':this[_0x54e28c(0x3e2)][_0x54e28c(0x3cd)](),'selection':Pi(_0x5b13bd)}};this[_0x54e28c(0x3e2)][_0x54e28c(0x7c)](_0x4ad108,this[_0x54e28c(0x8b)]);},wo)),(this[_0xe6e59(0x8b)]=_0x5c5cc2,this[_0xe6e59(0x3e2)]=_0x5c8fbd,this[_0xe6e59(0x1e4)]=_0x5ed1af,this['_colorAssignService']=_0x60c188,this[_0xe6e59(0x17d)]=_0x1f3aba,this[_0xe6e59(0x143)]=_0x2ab83a,this[_0xe6e59(0x2ac)]=_0x2d25be,this[_0xe6e59(0x29a)]=_0x191f2f,this[_0xe6e59(0x2c6)]=_0x107f9d);}get[_0x4e7919(0x1ec)](){const _0x1f0cd1=_0x4e7919;return this[_0x1f0cd1(0x1db)][_0x1f0cd1(0x358)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x4e7919(0xc0)](){const _0x299dab=_0x4e7919;super[_0x299dab(0xc0)](),this[_0x299dab(0x1db)][_0x299dab(0x409)](new Map()),this['_cursorInfo$']['complete'](),this[_0x299dab(0x13f)][_0x299dab(0x409)]([]),this[_0x299dab(0x13f)]['complete']();}['init'](){const _0xc78999=_0x4e7919;this[_0xc78999(0x350)]||(this[_0xc78999(0x350)]=!0x0,this[_0xc78999(0x3e2)][_0xc78999(0x109)][_0xc78999(0x210)](_0x234986(this[_0xc78999(0x15d)]))['subscribe'](_0x2ef40f=>{const _0x39b493=_0xc78999;_0x2ef40f===ve[_0x39b493(0x28f)]?this['_toggleOnline']():this[_0x39b493(0x419)]();}),this['_session'][_0xc78999(0x16d)]['pipe'](_0x234986(this[_0xc78999(0x15d)]))['subscribe'](_0xbc038e=>{const _0x112be3=_0xc78999,_0x5933eb=_0xbc038e[_0x112be3(0x161)];_0x5933eb===_0xb7e982[_0x112be3(0x483)]&&this[_0x112be3(0x36f)](_0xbc038e),_0x5933eb===_0xb7e982[_0x112be3(0x348)]&&this[_0x112be3(0x117)](_0xbc038e);}),this[_0xc78999(0xb0)](this[_0xc78999(0x2c6)][_0xc78999(0x406)](_0x380447=>{const _0x1105b9=_0xc78999,_0x215b88=_0x380447['params'];_0x215b88!=null&&this[_0x1105b9(0x1c1)]&&_0x380447['id']===_0x3a05c0['id']&&_0x215b88[_0x1105b9(0x3e7)]===this[_0x1105b9(0x8b)]&&_0x215b88[_0x1105b9(0x32c)]===!0x1&&_0x215b88[_0x1105b9(0xc6)][_0x1105b9(0x126)]>0x0&&this[_0x1105b9(0x48b)](_0x215b88[_0x1105b9(0xc6)]);})),this[_0xc78999(0x143)]['collabCursorState$'][_0xc78999(0x210)](_0x234986(this[_0xc78999(0x15d)]))[_0xc78999(0x1f1)](_0x5c2568=>{const _0x500c8e=_0xc78999;if((_0x5c2568==null?void 0x0:_0x5c2568[_0x500c8e(0x8b)])!==this[_0x500c8e(0x8b)])return;const _0x3c5c81={'eventID':_0xb7e982[_0x500c8e(0x483)],'data':_0x5c2568};this['_onCursorUpdate'](_0x3c5c81);}),this[_0xc78999(0xb0)](this[_0xc78999(0x2c6)][_0xc78999(0x406)](_0x1b173d=>{const _0x595093=_0xc78999;if(_0x1b173d[_0x595093(0x244)]==null)return;const _0x5bed76=_0x1b173d[_0x595093(0x244)];if(_0x1b173d['id']!==_0x36d845['id']||_0x5bed76['unitId']!==this[_0x595093(0x8b)])return;const _0x29dc8a={'id':_0x595093(0x3b8),'params':_0x5bed76},_0x5bb3d2=this['cursorInfo'];for(const [_0x2ae0d6,_0x3887c4]of _0x5bb3d2){const _0x549592={'id':_0x595093(0x3b8),'params':{'unitId':this[_0x595093(0x8b)],'actions':null,'textRanges':_0x3887c4[_0x595093(0xc6)]}},_0x5a903c=this[_0x595093(0x2ac)][_0x595093(0x132)](_0x29dc8a,_0x549592,!0x1);if(_0x5bbb53(_0x5a903c))throw _0x5a903c[_0x595093(0x24d)];_0x5bb3d2[_0x595093(0x2a0)](_0x2ae0d6,{..._0x3887c4,'ranges':_0x5a903c['m2Prime'][_0x595093(0x244)][_0x595093(0x21d)]});}queueMicrotask(()=>{const _0x4e6d8e=_0x595093;this[_0x4e6d8e(0x1db)]['next'](_0x5bb3d2);});})));}[_0x4e7919(0x36f)](_0x8d6aab){const _0x433fbf=_0x4e7919;var _0x288deb,_0x226947;const {memberID:_0x53818d,selection:_0x270bb5}=_0x8d6aab[_0x433fbf(0x28a)],_0x3e0406=ho(_0x270bb5),_0x197b52=(_0x226947=(_0x288deb=this['_memberService']['getMember'](this['unitID'],_0x53818d))==null?void 0x0:_0x288deb['name'])!=null?_0x226947:_0x433fbf(0x2dd),_0x14315c={'color':this[_0x433fbf(0x1fd)]['assignAColorForMemberID'](_0x53818d),'name':_0x197b52,'ranges':_0x3e0406},_0x54b901=this['cursorInfo'];_0x54b901[_0x433fbf(0x2a0)](_0x53818d,_0x14315c),this['_cursorInfo$'][_0x433fbf(0x409)](_0x54b901);}[_0x4e7919(0x117)](_0x5b9499){const _0x2f9811=_0x4e7919,{memberID:_0x353d5c}=_0x5b9499[_0x2f9811(0x28a)],_0xcf02da=this['cursorInfo'];_0xcf02da[_0x2f9811(0x15f)](_0x353d5c),this[_0x2f9811(0x1db)][_0x2f9811(0x409)](_0xcf02da);}[_0x4e7919(0x3d2)](){const _0x71e09=_0x4e7919;var _0x2013e6;if(this[_0x71e09(0x1c1)]=!0x0,((_0x2013e6=this[_0x71e09(0x29a)][_0x71e09(0x41f)]())==null?void 0x0:_0x2013e6[_0x71e09(0x426)]())!==this[_0x71e09(0x8b)])return;const _0x4a1f4c=this[_0x71e09(0x1e4)][_0x71e09(0x16e)](_0x5c70ee)['getDocRanges']();Array[_0x71e09(0x1a9)](_0x4a1f4c)&&_0x4a1f4c[_0x71e09(0x126)]>0x0&&this[_0x71e09(0x48b)](_0x4a1f4c);}[_0x4e7919(0x419)](){const _0x4f9e9=_0x4e7919;this[_0x4f9e9(0x1c1)]=!0x1;}};ns=yo([Oe(0x2,_0x557b7a(_0x5a5437)),Oe(0x3,_0x557b7a(bs)),Oe(0x4,_0x557b7a(Ne)),Oe(0x5,_0x557b7a(Cs)),Oe(0x6,_0xd1dd82),Oe(0x7,_0x5e27bc),Oe(0x8,_0x37f6d3)],ns);var Do=Object[_0x4e7919(0x13e)],Po=Object[_0x4e7919(0x3a9)],Uo=(_0x2de317,_0x53c554,_0x43f792,_0x5b07ff)=>{const _0x2ecb36=_0x4e7919;for(var _0x374906=_0x5b07ff>0x1?void 0x0:_0x5b07ff?Po(_0x53c554,_0x43f792):_0x53c554,_0x5b143e=_0x2de317[_0x2ecb36(0x126)]-0x1,_0x55dc0f;_0x5b143e>=0x0;_0x5b143e--)(_0x55dc0f=_0x2de317[_0x5b143e])&&(_0x374906=(_0x5b07ff?_0x55dc0f(_0x53c554,_0x43f792,_0x374906):_0x55dc0f(_0x374906))||_0x374906);return _0x5b07ff&&_0x374906&&Do(_0x53c554,_0x43f792,_0x374906),_0x374906;},Be=(_0xe55145,_0x440d20)=>(_0x2f22a9,_0x453f57)=>_0x440d20(_0x2f22a9,_0x453f57,_0xe55145);const No=0x12c,Ao=0x64,Mo=()=>{let _0x10d221=[],_0x418df3=!0x1;return _0x2d4d75=>{const _0x21160b=_0x5ed9;_0x10d221[_0x21160b(0x209)](_0x2d4d75),_0x418df3||(_0x418df3=!0x0,setTimeout(()=>{const _0x1d044a=_0x21160b;_0x10d221[_0x1d044a(0x21b)](_0x1cfb2a=>_0x1cfb2a()),_0x10d221=[],_0x418df3=!0x1;}));};};let rs=class extends _0x15900e{constructor(_0x7cc70,_0x59e2f4,_0x24ab99,_0x3da043,_0x1f42b5,_0x34cbbf,_0x205dbc,_0x2b861d){const _0x2145e2=_0x4e7919;super(),g(this,'_online',!0x1),g(this,'_init',!0x1),g(this,'_cursorInfo$',new _0x524b68(new Map())),g(this,_0x2145e2(0x1e0),this['_cursorInfo$'][_0x2145e2(0x180)]()),g(this,_0x2145e2(0x13f),new _0x524b68([])),g(this,'roomMembers$',this[_0x2145e2(0x13f)][_0x2145e2(0x210)](_0x4f25a9(No))),g(this,_0x2145e2(0x48b),_0x28300d((_0x3de9ef,_0xa867bc)=>{const _0x2c96ac=_0x2145e2,_0x1e502e={'eventID':_0xb7e982[_0x2c96ac(0x483)],'data':{'unitID':this['unitID'],'memberID':this[_0x2c96ac(0x3e2)][_0x2c96ac(0x3cd)](),'selection':_0x3e9623(_0x3de9ef,_0xa867bc['range'])}};this[_0x2c96ac(0x3e2)][_0x2c96ac(0x7c)](_0x1e502e,this[_0x2c96ac(0x8b)]);},Ao)),(this[_0x2145e2(0x8b)]=_0x7cc70,this['_session']=_0x59e2f4,this[_0x2145e2(0x1e4)]=_0x24ab99,this[_0x2145e2(0x1fd)]=_0x3da043,this[_0x2145e2(0x17d)]=_0x1f42b5,this[_0x2145e2(0x29a)]=_0x34cbbf,this[_0x2145e2(0x2c6)]=_0x205dbc,this[_0x2145e2(0x92)]=_0x2b861d);}get['cursorInfo'](){const _0x2aece0=_0x4e7919;return this[_0x2aece0(0x1db)]['getValue']();}get[_0x4e7919(0x1d4)](){const _0x1b5633=_0x4e7919;return this['_roomMembers$'][_0x1b5633(0x358)]();}[_0x4e7919(0xc0)](){const _0x6c874a=_0x4e7919;super[_0x6c874a(0xc0)](),this['_cursorInfo$'][_0x6c874a(0x409)](new Map()),this[_0x6c874a(0x1db)]['complete'](),this[_0x6c874a(0x13f)]['next']([]),this[_0x6c874a(0x13f)]['complete']();}[_0x4e7919(0x251)](){const _0x34d678=_0x4e7919;this[_0x34d678(0x350)]||(this[_0x34d678(0x350)]=!0x0,this[_0x34d678(0x3e2)][_0x34d678(0x109)][_0x34d678(0x210)](_0x234986(this[_0x34d678(0x15d)]))[_0x34d678(0x1f1)](_0x14aa6f=>{const _0x5e2fbf=_0x34d678;_0x14aa6f===ve[_0x5e2fbf(0x28f)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x34d678(0x16d)][_0x34d678(0x210)](_0x234986(this[_0x34d678(0x15d)]))[_0x34d678(0x1f1)](_0x189ff9=>{const _0x26e76e=_0x34d678,_0x5b2803=_0x189ff9['eventID'];_0x5b2803===_0xb7e982['UPDATE_CURSOR']&&this[_0x26e76e(0x36f)](_0x189ff9),_0x5b2803===_0xb7e982[_0x26e76e(0x348)]&&this[_0x26e76e(0x117)](_0x189ff9);}),this[_0x34d678(0x3de)](),this[_0x34d678(0xb0)](this[_0x34d678(0x2c6)][_0x34d678(0x406)](_0x22d0a9=>{const _0x3dc77c=_0x34d678;if(this['_online']&&_0x22d0a9['id']===_0x3d4acc['id']&&_0x22d0a9['params'][_0x3dc77c(0x3e7)]===this[_0x3dc77c(0x8b)]){const _0x304292=_0x22d0a9[_0x3dc77c(0x244)];this[_0x3dc77c(0x48b)](_0x304292['subUnitId'],_0x304292['selections'][0x0]);}})));}[_0x4e7919(0x36f)](_0x5da1b7){const _0x57a5d3=_0x4e7919;var _0xe4c9c1,_0x25e27d;const {memberID:_0x34d958,selection:_0x5ae57c}=_0x5da1b7['data'],{sheetName:_0x387182,range:_0x25faa7}=_0x5bdf02(_0x5ae57c),_0x1e68aa={'name':(_0x25e27d=(_0xe4c9c1=this[_0x57a5d3(0x17d)]['getMember'](this['unitID'],_0x34d958))==null?void 0x0:_0xe4c9c1['name'])!=null?_0x25e27d:_0x57a5d3(0x2dd),'range':this[_0x57a5d3(0x11f)](_0x387182,_0x25faa7),'sheetID':_0x387182,'color':this[_0x57a5d3(0x1fd)][_0x57a5d3(0xa8)](_0x34d958),'selection':_0x5ae57c},_0x2a4c8d=this[_0x57a5d3(0x1ec)];_0x2a4c8d['set'](_0x34d958,_0x1e68aa),this[_0x57a5d3(0x1db)][_0x57a5d3(0x409)](_0x2a4c8d);}[_0x4e7919(0x117)](_0x82ef14){const _0x1b26f9=_0x4e7919,{memberID:_0x16d646}=_0x82ef14[_0x1b26f9(0x28a)],_0x57db17=this[_0x1b26f9(0x1ec)];_0x57db17['delete'](_0x16d646),this[_0x1b26f9(0x1db)][_0x1b26f9(0x409)](_0x57db17);}[_0x4e7919(0x11f)](_0x45b005,_0x41bc1e){const _0x49b226=_0x4e7919;var _0x5c84e8,_0x2156b9;const _0x13a08d=(_0x2156b9=(_0x5c84e8=this[_0x49b226(0x29a)][_0x49b226(0x2e1)](this[_0x49b226(0x8b)]))==null?void 0x0:_0x5c84e8[_0x49b226(0x2c3)](_0x45b005))==null?void 0x0:_0x2156b9[_0x49b226(0x1dd)]();return(_0x13a08d==null?void 0x0:_0x13a08d[_0x49b226(0x22a)](_0x26521d=>_0x1b7c4d[_0x49b226(0x45b)](_0x26521d,_0x41bc1e)))||_0x41bc1e;}[_0x4e7919(0x3de)](){const _0x5d8a32=_0x4e7919,_0x460b27=new _0x1eefc9(),_0x53e689=Mo(),_0x3902f2=()=>{const _0x374cf6=_0x5ed9;_0x460b27[_0x374cf6(0xc0)]();const _0x106e9e=(_0x59efe2,_0x23f8cb,_0x57b0d6,_0x18a4ae)=>{const _0x55adf5=_0x374cf6;let _0x1241dd=[];switch(_0x59efe2['id']){case _0x270c40[_0x55adf5(0x3b7)]:{_0x1241dd=_0xebe455(_0x59efe2,_0x18a4ae);break;}case _0x270c40[_0x55adf5(0x2a9)]:{_0x1241dd=_0x471763(_0x59efe2,_0x18a4ae);break;}case _0x270c40[_0x55adf5(0x263)]:{_0x1241dd=_0x40fdf9(_0x59efe2,_0x18a4ae);break;}case _0x270c40[_0x55adf5(0x328)]:{_0x1241dd=_0x1dc6d5(_0x59efe2,_0x18a4ae);break;}case _0x270c40[_0x55adf5(0xd9)]:{_0x1241dd=_0x6e61e4(_0x59efe2,_0x18a4ae);break;}case _0x270c40[_0x55adf5(0x2b0)]:{_0x1241dd=_0x5c2462(_0x59efe2,_0x18a4ae);break;}case _0x270c40[_0x55adf5(0xe6)]:{_0x1241dd=_0x1ff957(_0x59efe2,_0x18a4ae);break;}case _0x270c40[_0x55adf5(0x45c)]:{_0x1241dd=_0x33fa28(_0x59efe2,_0x18a4ae);break;}case _0x270c40[_0x55adf5(0x2b3)]:{_0x1241dd=_0x3820ed(_0x59efe2,_0x18a4ae);break;}}const _0x344ded=_0x3d211e(_0x1241dd,_0x18a4ae),_0x12a3ea=this[_0x55adf5(0x1ec)]['get'](_0x23f8cb);if(_0x12a3ea&&_0x344ded){const _0x260900={..._0x12a3ea,'range':_0x344ded};this[_0x55adf5(0x1ec)]['set'](_0x23f8cb,_0x260900),_0x53e689(()=>{const _0xb0eace=_0x55adf5,_0x4f5b6f=this[_0xb0eace(0x92)][_0xb0eace(0x1a2)](_0x344ded,_0x34b87d=>(_0x4f5b6f[_0xb0eace(0xc0)](),_0x106e9e(_0x34b87d,_0x23f8cb,_0x57b0d6,_0x344ded)));_0x460b27['add'](_0x4f5b6f);});}return{'redos':[],'undos':[]};};this[_0x374cf6(0x1ec)][_0x374cf6(0x21b)]((_0x2413d6,_0x11e789)=>{const _0x4aee5b=_0x374cf6,{range:_0x1edc53,sheetID:_0x52b4dc}=_0x2413d6,_0x1cac51=this[_0x4aee5b(0x92)][_0x4aee5b(0x1a2)](_0x1edc53,_0x37dc2d=>(_0x1cac51['dispose'](),_0x106e9e(_0x37dc2d,_0x11e789,_0x52b4dc,_0x1edc53)));_0x460b27['add'](_0x1cac51);});};this['disposeWithMe'](_0x290028(this[_0x5d8a32(0x1db)][_0x5d8a32(0x1f1)](()=>{_0x3902f2();})));}[_0x4e7919(0x3d2)](){const _0x43074e=_0x4e7919;var _0x560cba,_0x57f58d;if(this[_0x43074e(0x1c1)]=!0x0,((_0x560cba=this[_0x43074e(0x29a)]['getFocusedUnit']())==null?void 0x0:_0x560cba[_0x43074e(0x426)]())!==this['unitID'])return;const _0x256936=(_0x57f58d=this[_0x43074e(0x1e4)]['get'](_0x36bb55)[_0x43074e(0x137)]())==null?void 0x0:_0x57f58d[0x0],_0x1cb451=this[_0x43074e(0x29a)][_0x43074e(0x2d4)](_0x470972[_0x43074e(0x29f)])[_0x43074e(0x45e)]();_0x256936&&_0x1cb451&&this[_0x43074e(0x48b)](_0x1cb451[_0x43074e(0x201)](),_0x256936);}[_0x4e7919(0x419)](){this['_online']=!0x1;}};rs=Uo([Be(0x2,_0x557b7a(_0x5a5437)),Be(0x3,_0x557b7a(bs)),Be(0x4,_0x557b7a(Ne)),Be(0x5,_0x5e27bc),Be(0x6,_0x37f6d3),Be(0x7,_0x557b7a(_0x23b4a0))],rs);var xo=Object[_0x4e7919(0x13e)],Lo=Object[_0x4e7919(0x3a9)],$o=(_0x522267,_0x1b94a2,_0x51dbb9,_0x31fc5c)=>{const _0x5bf214=_0x4e7919;for(var _0xbceb57=_0x31fc5c>0x1?void 0x0:_0x31fc5c?Lo(_0x1b94a2,_0x51dbb9):_0x1b94a2,_0x1b40b0=_0x522267[_0x5bf214(0x126)]-0x1,_0x23ce99;_0x1b40b0>=0x0;_0x1b40b0--)(_0x23ce99=_0x522267[_0x1b40b0])&&(_0xbceb57=(_0x31fc5c?_0x23ce99(_0x1b94a2,_0x51dbb9,_0xbceb57):_0x23ce99(_0xbceb57))||_0xbceb57);return _0x31fc5c&&_0xbceb57&&xo(_0x1b94a2,_0x51dbb9,_0xbceb57),_0xbceb57;},$t=(_0x591651,_0x48db23)=>(_0x43dc94,_0x364408)=>_0x48db23(_0x43dc94,_0x364408,_0x591651);let Ve=class extends _0x15900e{constructor(_0x52de1d,_0xb0b93b,_0x3b5348){const _0x534a05=_0x4e7919;super(),g(this,_0x534a05(0x29c),new Map()),g(this,_0x534a05(0x83),new _0x7a1bd7()),(this[_0x534a05(0x29a)]=_0x52de1d,this[_0x534a05(0x1e4)]=_0xb0b93b,this[_0x534a05(0x106)]=_0x3b5348,this[_0x534a05(0x350)]());}[_0x4e7919(0xc0)](){const _0x3b671c=_0x4e7919;super[_0x3b671c(0xc0)](),this[_0x3b671c(0x83)][_0x3b671c(0x40f)](),this[_0x3b671c(0x29c)][_0x3b671c(0x21b)](_0x1db002=>_0x1db002[_0x3b671c(0xc0)]());}[_0x4e7919(0x314)](_0x53acff){const _0x51bdfe=_0x4e7919;return this[_0x51bdfe(0x29c)]['has'](_0x53acff)?this[_0x51bdfe(0x29c)]['get'](_0x53acff)[_0x51bdfe(0x1e0)]:this[_0x51bdfe(0x83)]['pipe'](_0x238f7b(_0x380ca1=>_0x380ca1[_0x51bdfe(0x8b)]===_0x53acff),_0x6ad44a(_0x105a37=>_0x105a37[_0x51bdfe(0x1e0)]));}[_0x4e7919(0x350)](){const _0x31ca86=_0x4e7919;this[_0x31ca86(0x29a)]['getTypeOfUnitAdded$'](_0x470972[_0x31ca86(0x29f)])[_0x31ca86(0x210)](_0x234986(this[_0x31ca86(0x15d)]))['subscribe'](async _0x1e9c68=>{const _0x2d2807=_0x31ca86,_0x5df571=_0x1e9c68['getUnitId'](),_0xf3150a=await this['_startSheetCollabCursor'](_0x5df571);this[_0x2d2807(0x83)][_0x2d2807(0x409)](_0xf3150a),this[_0x2d2807(0x29c)][_0x2d2807(0x2a0)](_0x5df571,_0xf3150a);}),this['_univerInstanceService'][_0x31ca86(0x27d)](_0x470972['UNIVER_DOC'])['pipe'](_0x234986(this[_0x31ca86(0x15d)]))[_0x31ca86(0x210)](_0x238f7b(_0x3e4e70=>!_0x3e4e70[_0x31ca86(0x426)]()[_0x31ca86(0x164)]('__')))[_0x31ca86(0x1f1)](async _0x88e3f=>{const _0x2f7a85=_0x31ca86,_0x51a226=_0x88e3f['getUnitId'](),_0x42e66e=await this[_0x2f7a85(0x262)](_0x51a226);this['_entityInit$'][_0x2f7a85(0x409)](_0x42e66e),this[_0x2f7a85(0x29c)]['set'](_0x51a226,_0x42e66e);}),_0x365701(this['_univerInstanceService'][_0x31ca86(0x18c)](_0x470972[_0x31ca86(0x3ca)]),this[_0x31ca86(0x29a)][_0x31ca86(0x18c)](_0x470972[_0x31ca86(0x29f)]))[_0x31ca86(0x210)](_0x234986(this['dispose$']))[_0x31ca86(0x1f1)](_0x3201e3=>{const _0x370e72=_0x31ca86,_0x313adf=_0x3201e3[_0x370e72(0x426)](),_0x2bb1cc=this[_0x370e72(0x29c)][_0x370e72(0x16e)](_0x313adf);_0x2bb1cc&&(_0x2bb1cc[_0x370e72(0xc0)](),this[_0x370e72(0x29c)][_0x370e72(0x15f)](_0x313adf));});}async[_0x4e7919(0x37e)](_0x10e69c){const _0x54b9f7=_0x4e7919,_0x11d8ac=await this[_0x54b9f7(0x106)][_0x54b9f7(0x386)](_0x10e69c),_0x2d2a85=this[_0x54b9f7(0x1e4)][_0x54b9f7(0x2c9)](rs,_0x10e69c,_0x11d8ac);return _0x2d2a85[_0x54b9f7(0x251)](),_0x2d2a85;}async[_0x4e7919(0x262)](_0x2bb8f6){const _0xa5b4a9=_0x4e7919,_0x3075df=await this['_collabSessionService'][_0xa5b4a9(0x386)](_0x2bb8f6),_0x298c5b=this[_0xa5b4a9(0x1e4)][_0xa5b4a9(0x2c9)](ns,_0x2bb8f6,_0x3075df);return _0x298c5b[_0xa5b4a9(0x251)](),_0x298c5b;}};Ve=$o([$t(0x0,_0x5e27bc),$t(0x1,_0x557b7a(_0x5a5437)),$t(0x2,_0x557b7a(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,Ho=0x5;function jo(_0x35174f,_0x26d46b){const _0x4f73ef=_0x4e7919;let {radius:_0x1ed141,width:_0x3d0284,height:_0x115cd3}=_0x26d46b;_0x1ed141=_0x1ed141!=null?_0x1ed141:0x0,_0x3d0284=_0x3d0284!=null?_0x3d0284:0x1e,_0x115cd3=_0x115cd3!=null?_0x115cd3:0x1e;let _0x120788=0x0,_0x5db4e=0x0,_0x3f9079=0x0;_0x120788=_0x5db4e=_0x3f9079=Math['min'](_0x1ed141,_0x3d0284/0x2,_0x115cd3/0x2),_0x35174f['beginPath'](),_0x35174f[_0x4f73ef(0x43c)](_0x120788,0x0),_0x35174f[_0x4f73ef(0x2ef)](_0x3d0284-_0x5db4e,0x0),_0x35174f[_0x4f73ef(0x43a)](_0x3d0284-_0x5db4e,_0x5db4e,_0x5db4e,Math['PI']*0x3/0x2,0x0,!0x1),_0x35174f[_0x4f73ef(0x2ef)](_0x3d0284,_0x115cd3-_0x3f9079),_0x35174f[_0x4f73ef(0x43a)](_0x3d0284-_0x3f9079,_0x115cd3-_0x3f9079,_0x3f9079,0x0,Math['PI']/0x2,!0x1),_0x35174f[_0x4f73ef(0x2ef)](0x0,_0x115cd3),_0x35174f['lineTo'](0x0,_0x120788),_0x35174f[_0x4f73ef(0x43a)](_0x120788,_0x120788,_0x120788,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x35174f[_0x4f73ef(0x418)](),_0x26d46b['fill']&&(_0x35174f[_0x4f73ef(0xb8)](),_0x35174f['fillStyle']=_0x26d46b[_0x4f73ef(0x186)],_0x26d46b[_0x4f73ef(0x429)]===_0x4f73ef(0x1c5)?_0x35174f[_0x4f73ef(0x186)]('evenodd'):_0x35174f[_0x4f73ef(0x186)](),_0x35174f[_0x4f73ef(0x37f)]());}class yt extends _0x41c73d{constructor(_0x3627d4,_0x19dd41){const _0x2e1cb7=_0x4e7919;super(_0x3627d4,_0x19dd41),g(this,_0x2e1cb7(0x26b)),g(this,_0x2e1cb7(0x93)),(this[_0x2e1cb7(0x26b)]=_0x19dd41==null?void 0x0:_0x19dd41[_0x2e1cb7(0x26b)],this[_0x2e1cb7(0x93)]=_0x19dd41==null?void 0x0:_0x19dd41[_0x2e1cb7(0x93)]);}static[_0x4e7919(0x3f2)](_0x1eb7b7,_0x2df11b){const _0xce39ad=_0x4e7919,{text:_0x35bdfc,color:_0x73b763}=_0x2df11b;_0x1eb7b7[_0xce39ad(0xb8)](),_0x1eb7b7[_0xce39ad(0x2c1)]=_0xce39ad(0x3fe);const _0x4b56cf=_0x1eb7b7[_0xce39ad(0x15e)](_0x35bdfc)[_0xce39ad(0x471)],_0xb349d1=Math['min'](_0x4b56cf+0x2*Ht,Ys);jo(_0x1eb7b7,{'height':nt,'radius':0x4,'width':_0xb349d1,'fill':_0x73b763,'evented':!0x1}),_0x1eb7b7[_0xce39ad(0x219)]='#FFF';const _0x1bf4cd=Ht,_0x49c57c=nt-Ho,_0x39209a=Ys-0x2*Ht;if(_0x4b56cf>_0x39209a){let _0x1b0a8d='',_0x53f7b2=0x0;for(const _0x3e66a of _0x35bdfc){const _0x5f35da=_0x1eb7b7[_0xce39ad(0x15e)](_0x3e66a)['width'];if(_0x53f7b2+_0x5f35da<=_0x39209a-_0x1eb7b7[_0xce39ad(0x15e)]('...')[_0xce39ad(0x471)])_0x1b0a8d+=_0x3e66a,_0x53f7b2+=_0x5f35da;else{_0x1b0a8d+=_0xce39ad(0x432);break;}}_0x1eb7b7[_0xce39ad(0x1fa)](_0x1b0a8d,_0x1bf4cd,_0x49c57c);}else _0x1eb7b7[_0xce39ad(0x1fa)](_0x35bdfc,_0x1bf4cd,_0x49c57c);_0x1eb7b7[_0xce39ad(0x37f)]();}[_0x4e7919(0x249)](_0x23ac69){yt['drawWith'](_0x23ac69,this);}}const jt='collab-text-anchor-',Bo=_0x4e7919(0xdd),ko=_0x4e7919(0x19c),Je=0x6,Wo=1.5,Bt=0x4,Fo=1.5,Vo=_0x4e7919(0x343);class Ks{constructor(_0x31544b,_0x3662fd,_0x5c9110,_0x598f71){const _0x29895a=_0x4e7919;g(this,_0x29895a(0x41a),[]),g(this,_0x29895a(0x292),null),g(this,_0x29895a(0x3a8),null),g(this,_0x29895a(0x335),null),g(this,'_hideTimer',null),g(this,_0x29895a(0x271),null),(this[_0x29895a(0x146)]=_0x31544b,this[_0x29895a(0x2db)]=_0x3662fd,this[_0x29895a(0x2bb)]=_0x5c9110,this['_document']=_0x598f71,this[_0x29895a(0x34e)]());}set['_hover'](_0x15c07c){const _0x17d253=_0x4e7919;_0x15c07c?(this['_anchorDot']&&this[_0x17d253(0x335)][_0x17d253(0x231)](),this[_0x17d253(0x3a8)]&&this[_0x17d253(0x3a8)][_0x17d253(0x243)]()):(this[_0x17d253(0x335)]&&this['_anchorDot']['show'](),this[_0x17d253(0x3a8)]&&this[_0x17d253(0x3a8)]['hide']());}[_0x4e7919(0xc0)](){const _0x2cefd1=_0x4e7919;for(const _0x538183 of this[_0x2cefd1(0x41a)])_0x538183[_0x2cefd1(0xc0)]();this[_0x2cefd1(0x3a8)]&&this[_0x2cefd1(0x3a8)]['dispose'](),this[_0x2cefd1(0x335)]&&this['_anchorDot'][_0x2cefd1(0xc0)](),this[_0x2cefd1(0x292)]&&this[_0x2cefd1(0x292)][_0x2cefd1(0xc0)](),this[_0x2cefd1(0x271)]&&this[_0x2cefd1(0x271)]();}[_0x4e7919(0x34e)](){const _0x230bc7=_0x4e7919;var _0x51c9f1;const {_docSkeleton:_0xd5fac1,_document:_0x49e38d}=this,{color:_0x226df9,name:_0x2523ac,ranges:_0x1ced85}=this[_0x230bc7(0x146)],_0x10edbc=_0x49e38d[_0x230bc7(0x1b4)](),{docsLeft:_0x2f6758,docsTop:_0x34a9a2}=_0x10edbc,_0x18f508=new _0x26a44f(_0x10edbc,_0xd5fac1);for(const {startOffset:_0x214f5a,endOffset:_0x3aa4ac,rangeType:_0x326919,segmentId:_0x6bf680,segmentPage:_0x2aab48,collapsed:_0x5cc1cd,isActive:_0x1ab06f}of _0x1ced85){const _0x3789ea=_0xd5fac1[_0x230bc7(0xf5)](_0x214f5a,!0x0,_0x6bf680,_0x2aab48);let _0x4b97e3=_0xd5fac1[_0x230bc7(0xf5)](_0x3aa4ac,!0x0,_0x6bf680,_0x2aab48);if(_0x4b97e3==null&&(_0x4b97e3=_0xd5fac1['findNodePositionByCharIndex'](_0x3aa4ac-0x1,!0x1,_0x6bf680,_0x2aab48)),_0x1ab06f){const {contentBoxPointGroup:_0x382555}=_0x18f508[_0x230bc7(0x402)](_0x4b97e3,_0x4b97e3);if(_0x382555[_0x230bc7(0x126)]===0x0)continue;this[_0x230bc7(0x23e)](_0x226df9,_0x382555,_0x2f6758,_0x34a9a2,_0x2523ac),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x3789ea&&_0x4b97e3){if(_0x326919===_0x5c08e3[_0x230bc7(0x3f5)]){const _0x289c44=new _0x280a98(_0x10edbc,_0xd5fac1),{pointGroup:_0xa2841b}=(_0x51c9f1=_0x289c44['getRangePointData'](_0x3789ea,_0x4b97e3))!=null?_0x51c9f1:{};if(_0xa2841b==null||_0xa2841b[_0x230bc7(0x126)]===0x0)continue;this[_0x230bc7(0x17e)](_0x226df9,_0xa2841b,_0x2f6758,_0x34a9a2);}else{if(!_0x5cc1cd){const {borderBoxPointGroup:_0x373b64}=_0x18f508['getRangePointData'](_0x3789ea,_0x4b97e3);if(_0x373b64[_0x230bc7(0x126)]===0x0)continue;this[_0x230bc7(0x3c8)](_0x226df9,_0x373b64,_0x2f6758,_0x34a9a2);}}}}}[_0x4e7919(0x23e)](_0x4bb0af,_0xd3afba,_0x59a18,_0xff7c72,_0x553616){const _0x4df97a=_0x4e7919,_0x30d8c6=this['_getAnchorBounding'](_0xd3afba),{left:_0x26df26,top:_0x4d1819,height:_0x92268}=_0x30d8c6,_0x4db7be=this[_0x4df97a(0x3f0)](),_0x3ac4cd=Fo/_0x4db7be,_0x23c3ad=new _0x1b9705(jt+_0x162500[_0x4df97a(0x34b)](Je),{'left':_0x26df26+_0x59a18-_0x3ac4cd,'top':_0x4d1819+_0xff7c72,'height':_0x92268,'width':Wo,'fill':_0x4bb0af||_0x12aeda(_0x32fcb3['black'],0x0),'strokeWidth':_0x3ac4cd,'stroke':Vo,'evented':!0x0});this[_0x4df97a(0x292)]=_0x23c3ad,this[_0x4df97a(0x2db)]['addObject'](_0x23c3ad,_0x4c8fab);const _0x1596ec=new _0x1b9705(jt+_0x162500['generateRandomId'](Je),{'left':_0x26df26+_0x59a18-_0x3ac4cd,'top':_0x4d1819+_0xff7c72-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x4bb0af||_0x12aeda(_0x32fcb3[_0x4df97a(0x102)],0x0),'strokeWidth':0x0,'stroke':_0x4bb0af||_0x12aeda(_0x32fcb3[_0x4df97a(0x102)],0x0),'evented':!0x1});this[_0x4df97a(0x335)]=_0x1596ec,this[_0x4df97a(0x2db)][_0x4df97a(0x35b)](_0x1596ec,_0x4c8fab);const _0xc5ef33=new yt(jt+_0x162500[_0x4df97a(0x34b)](Je),{'left':_0x26df26+_0x59a18-_0x3ac4cd,'top':_0x4d1819+_0xff7c72-nt,'text':_0x553616,'color':_0x4bb0af});this['_textBubble']=_0xc5ef33,this[_0x4df97a(0x2db)][_0x4df97a(0x35b)](_0xc5ef33,_0x4c8fab),this[_0x4df97a(0x133)]=!0x1;}[_0x4e7919(0x154)](){const _0x272b89=_0x4e7919,_0x218473=this[_0x272b89(0x292)][_0x272b89(0x1c4)][_0x272b89(0x278)](()=>{const _0x548388=_0x272b89;this[_0x548388(0x133)]=!0x0;}),_0x557942=this[_0x272b89(0x292)]['onPointerLeave$'][_0x272b89(0x278)](()=>{const _0x3c9947=_0x272b89;this[_0x3c9947(0x252)]&&clearTimeout(this[_0x3c9947(0x252)]),this[_0x3c9947(0x252)]=setTimeout(()=>{const _0x565e74=_0x3c9947;this[_0x565e74(0x133)]=!0x1;},0x7d0);});return()=>{const _0x9f4b1=_0x272b89;_0x218473[_0x9f4b1(0x155)](),_0x557942[_0x9f4b1(0x155)]();};}[_0x4e7919(0x3c8)](_0x4ea723,_0x5eebf2,_0xe2497a,_0x3afb27){const _0x4b8c6a=_0x4e7919,_0x4693fb=new _0xdc4b2c(_0x4ea723)[_0x4b8c6a(0x17f)](0.2)['toRgbString'](),_0x420ef5=new _0x17397d(Bo+_0x162500[_0x4b8c6a(0x34b)](Je),{'pointsGroup':_0x5eebf2,'fill':_0x4693fb||_0x12aeda(_0x32fcb3[_0x4b8c6a(0x102)],0.2),'left':_0xe2497a,'top':_0x3afb27,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4b8c6a(0x41a)]['push'](_0x420ef5),this['_scene']['addObject'](_0x420ef5,_0x4c8fab);}['_drawRectRange'](_0x459f7f,_0x3c0131,_0x560e1c,_0x492a71){const _0x252d60=_0x4e7919,_0x3d5927=new _0xdc4b2c(_0x459f7f)['setAlpha'](0.2)[_0x252d60(0x127)](),_0x55f082=new _0x17397d(ko+_0x162500['generateRandomId'](Je),{'pointsGroup':_0x3c0131,'fill':_0x3d5927||_0x12aeda(_0x32fcb3['black'],0.2),'left':_0x560e1c,'top':_0x492a71,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x55f082),this['_scene'][_0x252d60(0x35b)](_0x55f082,_0x4c8fab);}[_0x4e7919(0x12b)](_0x88535f){const _0x53dd49=_0x88535f[0x0],_0x22fef3=_0x53dd49[0x0],_0xc6f9b1=_0x53dd49[0x2],{x:_0x5c9cea,y:_0x5e0cbe}=_0x22fef3,{x:_0x113a17,y:_0x367ad6}=_0xc6f9b1;return{'left':_0x5c9cea,'top':_0x5e0cbe,'width':_0x113a17-_0x5c9cea,'height':_0x367ad6-_0x5e0cbe};}[_0x4e7919(0x3f0)](){const _0xf2804c=_0x4e7919,{scaleX:_0x463c2a,scaleY:_0x20a4b4}=this['_scene'][_0xf2804c(0x94)]();return Math[_0xf2804c(0x384)](_0x463c2a,_0x20a4b4);}}var Go=Object['defineProperty'],Yo=Object['getOwnPropertyDescriptor'],Ko=(_0x2337c8,_0x5abfb1,_0x48ccc3,_0x13f7f5)=>{const _0x557597=_0x4e7919;for(var _0x443308=_0x13f7f5>0x1?void 0x0:_0x13f7f5?Yo(_0x5abfb1,_0x48ccc3):_0x5abfb1,_0x14016f=_0x2337c8[_0x557597(0x126)]-0x1,_0x1c8e48;_0x14016f>=0x0;_0x14016f--)(_0x1c8e48=_0x2337c8[_0x14016f])&&(_0x443308=(_0x13f7f5?_0x1c8e48(_0x5abfb1,_0x48ccc3,_0x443308):_0x1c8e48(_0x443308))||_0x443308);return _0x13f7f5&&_0x443308&&Go(_0x5abfb1,_0x48ccc3,_0x443308),_0x443308;},ct=(_0x25ae9f,_0x3013d6)=>(_0x9b469b,_0x13f0c8)=>_0x3013d6(_0x9b469b,_0x13f0c8,_0x25ae9f);let os=class extends _0x15900e{constructor(_0x3e9730,_0x580728,_0x482da1,_0x4cfdcb,_0x867e1f){const _0x383290=_0x4e7919;super(),g(this,_0x383290(0x298),[]),g(this,_0x383290(0x1f8),[]),(this[_0x383290(0x306)]=_0x3e9730,this['_docSkeletonManagerService']=_0x580728,this[_0x383290(0x2c2)]=_0x482da1,this['_commandService']=_0x4cfdcb,this['_themeService']=_0x867e1f,this[_0x383290(0x350)]());}['_init'](){const _0x26be4a=_0x4e7919,_0x571389=this[_0x26be4a(0x306)]['unitId'],_0x2da191=this['_docSkeletonManagerService'];this[_0x26be4a(0xb0)](_0x36dc82([this[_0x26be4a(0x2c2)]['getCollabCursors$'](_0x571389),this[_0x26be4a(0x1c8)][_0x26be4a(0x423)]])[_0x26be4a(0x210)](_0x1a1a5b(([_0x46806c,_0x42c04e])=>({'skeleton':_0x2da191[_0x26be4a(0x145)](),'cursors':[..._0x46806c['values']()][_0x26be4a(0xf8)](_0x72cbf2=>({..._0x72cbf2,'color':_0x42c04e[_0x72cbf2[_0x26be4a(0x26b)]]}))})))['subscribe'](_0x4b59d0=>{const _0x288892=_0x26be4a;if(this[_0x288892(0xa2)](),_0x4b59d0){const {skeleton:_0x496b85,cursors:_0x92d697}=_0x4b59d0;this[_0x288892(0x1de)](_0x496b85,_0x92d697);}})),this[_0x26be4a(0x40c)](),this['_initCommandExecutedListener']();}[_0x4e7919(0x1de)](_0x46c2ff,_0x17e54b){const _0x5ef8d9=_0x4e7919,{scene:_0x10ed59,mainComponent:_0x57530f}=this['_context'],_0x57cb3c=_0x17e54b['map'](_0x5f0f04=>new Ks(_0x5f0f04,_0x10ed59,_0x46c2ff,_0x57530f));this[_0x5ef8d9(0x298)]=_0x57cb3c,this[_0x5ef8d9(0x1f8)]=_0x17e54b;}['_refreshCollabCursors'](){const _0x57a2d1=_0x4e7919;this[_0x57a2d1(0xa2)]();const {scene:_0x53bc5a,mainComponent:_0x474b8d}=this[_0x57a2d1(0x306)],_0x13455e=this[_0x57a2d1(0x23c)][_0x57a2d1(0x145)](),_0x4afe59=this[_0x57a2d1(0x1f8)]['map'](_0x3a2688=>new Ks(_0x3a2688,_0x53bc5a,_0x13455e,_0x474b8d));this[_0x57a2d1(0x298)]=_0x4afe59;}[_0x4e7919(0xa2)](){const _0x37279f=_0x4e7919;this['_cursorShapes'][_0x37279f(0x21b)](_0x2ad4a8=>_0x2ad4a8[_0x37279f(0xc0)]()),this[_0x37279f(0x298)]=[];}[_0x4e7919(0x42d)](){const _0x21bb83=_0x4e7919,_0x5dcdc6=[_0x1b3e7b['id']];this[_0x21bb83(0xb0)](this[_0x21bb83(0x2c6)][_0x21bb83(0x406)](_0x3ef8eb=>{const _0xe27086=_0x21bb83;_0x5dcdc6['includes'](_0x3ef8eb['id'])&&_0x3ef8eb[_0xe27086(0x244)]['unitId']===this[_0xe27086(0x306)][_0xe27086(0x3e7)]&&this[_0xe27086(0x3ab)]();}));}[_0x4e7919(0x40c)](){const _0x1c8d37=_0x4e7919;this[_0x1c8d37(0xb0)](_0x4666d7(this[_0x1c8d37(0x306)]['engine']['onTransformChange$'])[_0x1c8d37(0x210)](_0x27f80a(_0x20219b=>_0x20219b[_0x1c8d37(0x195)]===_0x38fd6d['resize']),_0x48050a(0x10))[_0x1c8d37(0x1f1)](()=>{this['_refreshCollabCursors']();}));}};os=Ko([ct(0x1,_0x557b7a(_0x35f028)),ct(0x2,_0x557b7a(Ve)),ct(0x3,_0x37f6d3),ct(0x4,_0x557b7a(_0x15da4e))],os);const zo=0x1,qo=1.5;class Xo extends _0x41c73d{constructor(_0x4a57f1,_0x2538b8){const _0x519508=_0x4e7919;super(_0x4a57f1,_0x2538b8),g(this,'_color'),g(this,_0x519508(0xb5),!0x1),g(this,'_range'),g(this,_0x519508(0x27c),''),g(this,_0x519508(0x8c),'top'),g(this,_0x519508(0x1ba)),(_0x2538b8&&this[_0x519508(0x45f)](_0x2538b8),this[_0x519508(0x1c4)][_0x519508(0x278)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x519508(0x88)]['subscribeEvent'](()=>this[_0x519508(0x45f)]({'hovered':!0x1})));}[_0x4e7919(0x45f)](_0x5490e5){const _0x583e26=_0x4e7919;var _0x4bc986,_0x2a61d3,_0x5e6710,_0x55099f,_0x3c6069,_0x20053d;this[_0x583e26(0x351)]=(_0x4bc986=_0x5490e5[_0x583e26(0x26b)])!=null?_0x4bc986:this[_0x583e26(0x351)],this['_hovered']=(_0x2a61d3=_0x5490e5[_0x583e26(0x3a1)])!=null?_0x2a61d3:this['_hovered'],this[_0x583e26(0x413)]=(_0x5e6710=_0x5490e5[_0x583e26(0xa5)])!=null?_0x5e6710:this[_0x583e26(0x413)],this['_name']=(_0x55099f=_0x5490e5[_0x583e26(0x3df)])!=null?_0x55099f:this['_name'],this[_0x583e26(0x8c)]=(_0x3c6069=_0x5490e5['labelPosition'])!=null?_0x3c6069:this[_0x583e26(0x8c)],this['_backgroundColor']=(_0x20053d=_0x5490e5[_0x583e26(0x3ec)])!=null?_0x20053d:this[_0x583e26(0x1ba)],this[_0x583e26(0xb2)]({'width':_0x5490e5[_0x583e26(0x471)],'height':_0x5490e5[_0x583e26(0x48e)]});}[_0x4e7919(0x35f)](_0x1a8e67){const _0xa16820=_0x4e7919,{row:_0x1ea559,column:_0x5a7fd4}=_0x1a8e67;if(_0x1ea559>=this[_0xa16820(0x413)][_0xa16820(0x291)]&&_0x1ea559<=this[_0xa16820(0x413)][_0xa16820(0x477)]&&_0x5a7fd4>=this[_0xa16820(0x413)][_0xa16820(0x396)]&&_0x5a7fd4<=this[_0xa16820(0x413)]['endColumn']){this[_0xa16820(0x45f)]({'hovered':!0x0});return;}this[_0xa16820(0x45f)]({'hovered':!0x1});}[_0x4e7919(0x28b)](_0x29149b){return!0x1;}[_0x4e7919(0x249)](_0x409183){const _0x3b2b3a=_0x4e7919;_0x1b9705['drawWith'](_0x409183,{'width':this[_0x3b2b3a(0x471)],'height':this[_0x3b2b3a(0x48e)],'strokeWidth':qo,'stroke':this[_0x3b2b3a(0x351)],'evented':!0x1,'fill':this[_0x3b2b3a(0x1ba)]}),this[_0x3b2b3a(0xb5)]&&(_0x409183[_0x3b2b3a(0xb8)](),_0x409183['transform'](0x1,0x0,0x0,0x1,this[_0x3b2b3a(0x471)],this[_0x3b2b3a(0x8c)]==='bottom'?0x0:-nt),yt[_0x3b2b3a(0x3f2)](_0x409183,{'text':this['_name'],'color':this['_color']}),_0x409183[_0x3b2b3a(0x37f)]());}}var Jo=Object[_0x4e7919(0x13e)],Zo=Object[_0x4e7919(0x3a9)],Qo=(_0x5e9fc7,_0x438c9c,_0x5db2ba,_0x5bcc87)=>{const _0x97d01f=_0x4e7919;for(var _0x1ffb4e=_0x5bcc87>0x1?void 0x0:_0x5bcc87?Zo(_0x438c9c,_0x5db2ba):_0x438c9c,_0x51fdd2=_0x5e9fc7[_0x97d01f(0x126)]-0x1,_0x265f78;_0x51fdd2>=0x0;_0x51fdd2--)(_0x265f78=_0x5e9fc7[_0x51fdd2])&&(_0x1ffb4e=(_0x5bcc87?_0x265f78(_0x438c9c,_0x5db2ba,_0x1ffb4e):_0x265f78(_0x1ffb4e))||_0x1ffb4e);return _0x5bcc87&&_0x1ffb4e&&Jo(_0x438c9c,_0x5db2ba,_0x1ffb4e),_0x1ffb4e;},kt=(_0x3fb422,_0x452543)=>(_0x29c317,_0x6f45fe)=>_0x452543(_0x29c317,_0x6f45fe,_0x3fb422);const ea=0x1389;let as=class extends _0x15900e{constructor(_0x5642b2,_0x31f06b,_0x1bc441,_0x156a03){const _0x1d3029=_0x4e7919;super(),g(this,_0x1d3029(0x1f8),new Set()),g(this,_0x1d3029(0x258),null),(this[_0x1d3029(0x306)]=_0x5642b2,this[_0x1d3029(0x123)]=_0x31f06b,this[_0x1d3029(0x2c2)]=_0x1bc441,this[_0x1d3029(0x1c8)]=_0x156a03,this[_0x1d3029(0x350)]());}[_0x4e7919(0x350)](){const _0x300861=_0x4e7919;this[_0x300861(0x123)][_0x300861(0x138)][_0x300861(0x210)](_0xcb8c8d(this[_0x300861(0x15d)]),_0x2e98c4(_0x5e16dd=>{const _0x537443=_0x300861;if(_0x5e16dd){const _0x295a25=_0x5e16dd['sheetId'];return _0x36dc82(this[_0x537443(0x2c2)][_0x537443(0x314)](this[_0x537443(0x306)][_0x537443(0x3e7)]),this[_0x537443(0x1c8)][_0x537443(0x423)])[_0x537443(0x210)](_0x1a1a5b(([_0x42abae,_0x26c183])=>{const _0x2d5e50=new Map();return _0x42abae['forEach']((_0x3db33a,_0x5cf74a)=>{const _0x5a9b0c=_0x5ed9;if(_0x3db33a[_0x5a9b0c(0x1af)]===_0x295a25){const _0xe1ac={..._0x3db33a};_0xe1ac['color']=_0x26c183[_0x3db33a[_0x5a9b0c(0x26b)]],_0x2d5e50[_0x5a9b0c(0x2a0)](_0x5cf74a,_0xe1ac);}}),{'skeleton':_0x5e16dd,'cursors':_0x2d5e50};}));}return _0x2a024c({'skeleton':null,'cursors':new Map()});}))[_0x300861(0x1f1)](({skeleton:_0x2db218,cursors:_0x8d9269})=>{const _0xb1bbe7=_0x300861;this[_0xb1bbe7(0xa2)](),_0x2db218&&this[_0xb1bbe7(0x1de)](_0x2db218,_0x8d9269);}),this['_sheetSkeletonManagerService']['currentSkeleton$']['subscribe'](_0x5c76b4=>{const _0xcd95e1=_0x300861;if(_0x5c76b4==null)return;const {skeleton:_0x414eb7}=_0x5c76b4,{scene:_0x512c54}=this[_0xcd95e1(0x306)];_0x512c54[_0xcd95e1(0x1ee)][_0xcd95e1(0x278)](_0x28300d(_0x292860=>{const _0x3b4452=_0xcd95e1;var _0x517ac0,_0x4588a5;const {offsetX:_0x21a9e8,offsetY:_0x1f0817}=_0x292860,{x:_0x414341,y:_0x13df97}=_0x512c54[_0x3b4452(0x3ce)](_0x219fb7[_0x3b4452(0x1da)]([_0x21a9e8,_0x1f0817])),{scaleX:_0x582b66,scaleY:_0x4d38d6}=_0x512c54['getAncestorScale'](),_0x4a0420=_0x512c54[_0x3b4452(0x217)](_0x20a435[_0x3b4452(0x189)]),_0x4c71de=_0x512c54[_0x3b4452(0x2d1)](_0x219fb7[_0x3b4452(0x1da)]([_0x414341,_0x13df97]),_0x4a0420),_0x98ad39=_0x414eb7['getCellPositionByOffset'](_0x21a9e8,_0x1f0817,_0x582b66,_0x4d38d6,_0x4c71de);((_0x517ac0=this[_0x3b4452(0x258)])==null?void 0x0:_0x517ac0[_0x3b4452(0x1ef)])===_0x98ad39[_0x3b4452(0x1ef)]&&((_0x4588a5=this[_0x3b4452(0x258)])==null?void 0x0:_0x4588a5[_0x3b4452(0x148)])===_0x98ad39[_0x3b4452(0x148)]||this[_0x3b4452(0x1f8)]['forEach'](_0x746b80=>{const _0x31fafa=_0x3b4452;_0x746b80[_0x31fafa(0x35f)](_0x98ad39);});},0x64));});}['_updateCollabCursors'](_0x4217b6,_0x44d2d1){const _0xfeb8a8=_0x4e7919;var _0x583579;const _0x26761b=(_0x583579=this[_0xfeb8a8(0x123)][_0xfeb8a8(0x203)]())==null?void 0x0:_0x583579[_0xfeb8a8(0x101)];if(!_0x26761b)return;const _0x1bd529=this[_0xfeb8a8(0x422)]();if(!_0x1bd529)return;this[_0xfeb8a8(0x1f8)][_0xfeb8a8(0x21b)](_0x10f70d=>{_0x10f70d['makeDirty']();});const {scene:_0x41896e}=_0x1bd529,_0x3bd325=ta(Array[_0xfeb8a8(0x468)](_0x44d2d1['values']()))['map'](_0x237e38=>{const _0x3baea2=_0xfeb8a8,{color:_0x805c88,range:_0x25e0b1,name:_0x486563,selection:_0x5eeb5c,sheetID:_0x503c1f}=_0x237e38,{startColumn:_0x3f9dd4,startRow:_0xdfbfe1,endColumn:_0xfe582d,endRow:_0x106c45}=_0x25e0b1,_0x53bf5f=_0x1e2de7(_0xdfbfe1,_0x3f9dd4,_0x41896e,_0x26761b),_0x45178a=_0x1e2de7(_0x106c45,_0xfe582d,_0x41896e,_0x26761b),{columnHeaderHeightAndMarginTop:_0x320195}=_0x26761b,{startX:_0x56e828,startY:_0x581719}=_0x53bf5f,{endX:_0x127907,endY:_0x44e167}=_0x45178a,_0x48bf8a=_0x127907-_0x56e828,_0x16fbe5=_0x44e167-_0x581719,_0xb4b5d3={'labelPosition':_0x581719-_0x320195>=nt?_0x3baea2(0x2a6):_0x3baea2(0x44f),'sheetID':_0x503c1f,'range':_0x25e0b1,'color':_0x805c88,'name':_0x486563,'selection':_0x5eeb5c,'left':_0x56e828,'top':_0x581719,'width':_0x48bf8a,'height':_0x16fbe5,'evented':!0x1,'zIndex':ea};return new Xo(_0x486563,_0xb4b5d3);});_0x41896e[_0xfeb8a8(0x1fb)](_0x3bd325,zo),this[_0xfeb8a8(0x1f8)]=new Set(_0x3bd325);}['_removeCollabCursors'](){const _0x573ed2=_0x4e7919;var _0x5dbd26;(_0x5dbd26=this[_0x573ed2(0x1f8)])==null||_0x5dbd26[_0x573ed2(0x21b)](_0x54cff9=>_0x54cff9[_0x573ed2(0xc0)]());}[_0x4e7919(0x422)](){const _0x1da450=_0x4e7919;return _0xa694a6(this[_0x1da450(0x306)][_0x1da450(0x3fc)],this[_0x1da450(0x306)]);}};as=Qo([kt(0x1,_0x557b7a(_0x4500ad)),kt(0x2,_0x557b7a(Ve)),kt(0x3,_0x557b7a(_0x15da4e))],as);function ta(_0x14b84d){const _0x4789ab=_0x4e7919,_0xe3d332=new Map();return _0x14b84d[_0x4789ab(0x21b)](_0x46a358=>{const _0x3c15fb=_0x4789ab;if(_0xe3d332[_0x3c15fb(0x297)](_0x46a358['selection'])){const _0x518402=_0xe3d332[_0x3c15fb(0x16e)](_0x46a358[_0x3c15fb(0x1f0)]);_0x518402['name']+=',\x20'+_0x46a358[_0x3c15fb(0x3df)];}else _0xe3d332[_0x3c15fb(0x2a0)](_0x46a358[_0x3c15fb(0x1f0)],_0x46a358);}),Array[_0x4789ab(0x468)](_0xe3d332['values']());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x19c8a8){const _0x38e86a=_0x4e7919;return _0x19c8a8&&_0x19c8a8[_0x38e86a(0x465)]&&Object[_0x38e86a(0x208)][_0x38e86a(0x1a1)]['call'](_0x19c8a8,_0x38e86a(0x98))?_0x19c8a8['default']:_0x19c8a8;}var Mi={'exports':{}},Ot={},sa=_0x320623,ia=Symbol['for'](_0x4e7919(0x36b)),na=Symbol['for'](_0x4e7919(0x330)),ra=Object['prototype'][_0x4e7919(0x1a1)],oa=sa['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED']['ReactCurrentOwner'],aa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function xi(_0x361104,_0x2e021b,_0x2659c1){const _0x4c791a=_0x4e7919;var _0x5e1c7f,_0x20ed02={},_0x4e66a8=null,_0xde383a=null;_0x2659c1!==void 0x0&&(_0x4e66a8=''+_0x2659c1),_0x2e021b[_0x4c791a(0x1a7)]!==void 0x0&&(_0x4e66a8=''+_0x2e021b[_0x4c791a(0x1a7)]),_0x2e021b[_0x4c791a(0x1f6)]!==void 0x0&&(_0xde383a=_0x2e021b[_0x4c791a(0x1f6)]);for(_0x5e1c7f in _0x2e021b)ra[_0x4c791a(0x326)](_0x2e021b,_0x5e1c7f)&&!aa[_0x4c791a(0x1a1)](_0x5e1c7f)&&(_0x20ed02[_0x5e1c7f]=_0x2e021b[_0x5e1c7f]);if(_0x361104&&_0x361104[_0x4c791a(0x2b2)]){for(_0x5e1c7f in(_0x2e021b=_0x361104[_0x4c791a(0x2b2)],_0x2e021b))_0x20ed02[_0x5e1c7f]===void 0x0&&(_0x20ed02[_0x5e1c7f]=_0x2e021b[_0x5e1c7f]);}return{'$$typeof':ia,'type':_0x361104,'key':_0x4e66a8,'ref':_0xde383a,'props':_0x20ed02,'_owner':oa['current']};}Ot['Fragment']=na,Ot[_0x4e7919(0x2fc)]=xi,Ot['jsxs']=xi,Mi[_0x4e7919(0x279)]=Ot;var we=Mi[_0x4e7919(0x279)],ee=function(){const _0x36625a=_0x4e7919;return ee=Object[_0x36625a(0x333)]||function(_0x419c0b){const _0xa8d913=_0x36625a;for(var _0x2f8718,_0x49e0ee=0x1,_0xf18cea=arguments['length'];_0x49e0ee<_0xf18cea;_0x49e0ee++){_0x2f8718=arguments[_0x49e0ee];for(var _0xe8ec1a in _0x2f8718)Object['prototype'][_0xa8d913(0x1a1)][_0xa8d913(0x326)](_0x2f8718,_0xe8ec1a)&&(_0x419c0b[_0xe8ec1a]=_0x2f8718[_0xe8ec1a]);}return _0x419c0b;},ee[_0x36625a(0x2d7)](this,arguments);},ca=function(_0x4a6433,_0x2a4a3c){const _0x41e120=_0x4e7919;var _0x53e944={};for(var _0x265fc9 in _0x4a6433)Object[_0x41e120(0x208)][_0x41e120(0x1a1)]['call'](_0x4a6433,_0x265fc9)&&_0x2a4a3c[_0x41e120(0x1e7)](_0x265fc9)<0x0&&(_0x53e944[_0x265fc9]=_0x4a6433[_0x265fc9]);if(_0x4a6433!=null&&typeof Object[_0x41e120(0x33a)]=='function'){for(var _0x25378b=0x0,_0x265fc9=Object[_0x41e120(0x33a)](_0x4a6433);_0x25378b<_0x265fc9[_0x41e120(0x126)];_0x25378b++)_0x2a4a3c['indexOf'](_0x265fc9[_0x25378b])<0x0&&Object[_0x41e120(0x208)]['propertyIsEnumerable']['call'](_0x4a6433,_0x265fc9[_0x25378b])&&(_0x53e944[_0x265fc9[_0x25378b]]=_0x4a6433[_0x265fc9[_0x25378b]]);}return _0x53e944;},Ts=_0x392400(function(_0x56594a,_0x5e019e){const _0x16181c=_0x4e7919;var _0x52a651=_0x56594a[_0x16181c(0x42c)],_0x2a5463=_0x56594a['id'],_0x491ff9=_0x56594a['className'],_0x4577ac=_0x56594a[_0x16181c(0x3d3)],_0x18fe39=ca(_0x56594a,[_0x16181c(0x42c),'id',_0x16181c(0x40d),_0x16181c(0x3d3)]),_0x4031ca=_0x16181c(0x2df)[_0x16181c(0x24a)](_0x2a5463,'\x20')[_0x16181c(0x24a)](_0x491ff9||'')[_0x16181c(0x361)](),_0x330cdc=_0x59e222('_'[_0x16181c(0x24a)](_a()));return Li(_0x52a651,''[_0x16181c(0x24a)](_0x2a5463),{'defIds':_0x52a651['defIds'],'idSuffix':_0x330cdc['current']},ee({'ref':_0x5e019e,'className':_0x4031ca},_0x18fe39),_0x4577ac);});function Li(_0x6079d4,_0x5d517f,_0x8d532e,_0x8e8886,_0x3491a4){const _0x35e13d=_0x4e7919;return _0x2b736f(_0x6079d4[_0x35e13d(0x28c)],ee(ee({'key':_0x5d517f},ha(_0x6079d4,_0x8d532e,_0x3491a4)),_0x8e8886),(la(_0x6079d4,_0x8d532e)['children']||[])[_0x35e13d(0x32e)](function(_0xbe72e7,_0x5d2fd2){const _0x346df2=_0x35e13d;return Li(_0xbe72e7,''[_0x346df2(0x24a)](_0x5d517f,'-')[_0x346df2(0x24a)](_0x6079d4[_0x346df2(0x28c)],'-')[_0x346df2(0x24a)](_0x5d2fd2),_0x8d532e,void 0x0,_0x3491a4);}));}function ha(_0x18a105,_0x29cab7,_0x38f338){const _0x4a2cfd=_0x4e7919;var _0x3f8db5=ee({},_0x18a105[_0x4a2cfd(0x3c3)]);_0x38f338!=null&&_0x38f338[_0x4a2cfd(0x285)]&&_0x3f8db5[_0x4a2cfd(0x186)]===_0x4a2cfd(0x285)&&(_0x3f8db5[_0x4a2cfd(0x186)]=_0x38f338[_0x4a2cfd(0x285)]);var _0x236f52=_0x29cab7['defIds'];return!_0x236f52||_0x236f52[_0x4a2cfd(0x126)]===0x0||(_0x18a105[_0x4a2cfd(0x28c)]===_0x4a2cfd(0xf3)&&_0x3f8db5['xlink:href']&&(_0x3f8db5[_0x4a2cfd(0x303)]=_0x3f8db5[_0x4a2cfd(0x303)]+_0x29cab7['idSuffix']),Object[_0x4a2cfd(0x26e)](_0x3f8db5)['forEach'](function(_0x2c4d31){const _0x7708b8=_0x4a2cfd;var _0x5df697=_0x2c4d31[0x0],_0x4d1006=_0x2c4d31[0x1];typeof _0x4d1006=='string'&&(_0x3f8db5[_0x5df697]=_0x4d1006[_0x7708b8(0x43e)](/url\(#(.*)\)/,'url(#$1'[_0x7708b8(0x24a)](_0x29cab7[_0x7708b8(0x31b)],')')));})),_0x3f8db5;}function la(_0x250692,_0x401fdc){const _0x343232=_0x4e7919;var _0x4d0076,_0x164f31=_0x401fdc[_0x343232(0xfc)];return!_0x164f31||_0x164f31['length']===0x0?_0x250692:_0x250692[_0x343232(0x28c)]===_0x343232(0x38b)&&(!((_0x4d0076=_0x250692[_0x343232(0x1b1)])===null||_0x4d0076===void 0x0)&&_0x4d0076[_0x343232(0x126)])?ee(ee({},_0x250692),{'children':_0x250692[_0x343232(0x1b1)][_0x343232(0x32e)](function(_0x2ff68b){const _0x527b87=_0x343232;return typeof _0x2ff68b[_0x527b87(0x3c3)]['id']==_0x527b87(0x216)&&_0x164f31&&_0x164f31[_0x527b87(0x1e7)](_0x2ff68b['attrs']['id'])>-0x1?ee(ee({},_0x2ff68b),{'attrs':ee(ee({},_0x2ff68b['attrs']),{'id':_0x2ff68b[_0x527b87(0x3c3)]['id']+_0x401fdc[_0x527b87(0x31b)]})}):_0x2ff68b;})}):_0x250692;}function _a(){const _0x5d1a61=_0x4e7919;return Math[_0x5d1a61(0x329)]()[_0x5d1a61(0x227)](0x24)[_0x5d1a61(0x2fe)](0x2,0x8);}Ts[_0x4e7919(0x159)]=_0x4e7919(0x3e8);var ua={'tag':_0x4e7919(0xbd),'attrs':{'fill':'none','viewBox':_0x4e7919(0x261),'width':_0x4e7919(0x1a6),'height':_0x4e7919(0x1a6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x4e7919(0x404),'attrs':{'stroke':_0x4e7919(0x44d),'d':'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','strokeLinecap':'round','strokeLinejoin':_0x4e7919(0x2eb),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4e7919(0x17c),'attrs':{'id':_0x4e7919(0x353)},'children':[{'tag':_0x4e7919(0x404),'attrs':{'fill':_0x4e7919(0x461),'d':_0x4e7919(0x2e9)}}]}]}],'defIds':[_0x4e7919(0x353)]},$i=_0x392400(function(_0x406156,_0x3d9317){const _0x42e3ac=_0x4e7919;return _0x2b736f(Ts,Object[_0x42e3ac(0x333)]({},_0x406156,{'id':_0x42e3ac(0x2d2),'ref':_0x3d9317,'icon':ua}));});$i[_0x4e7919(0x159)]=_0x4e7919(0x3ac);var da={'tag':_0x4e7919(0xbd),'attrs':{'fill':_0x4e7919(0x2cf),'viewBox':_0x4e7919(0x3b9),'width':_0x4e7919(0x1a6),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4e7919(0x18d)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x4e7919(0x340),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4e7919(0x38b),'attrs':{},'children':[{'tag':_0x4e7919(0x17c),'attrs':{'id':_0x4e7919(0x3a5)},'children':[{'tag':_0x4e7919(0x404),'attrs':{'fill':_0x4e7919(0x461),'d':_0x4e7919(0x2e9),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},Hi=_0x392400(function(_0x1b8f23,_0x366553){const _0xe1465f=_0x4e7919;return _0x2b736f(Ts,Object[_0xe1465f(0x333)]({},_0x1b8f23,{'id':_0xe1465f(0x441),'ref':_0x366553,'icon':da}));});Hi[_0x4e7919(0x159)]=_0x4e7919(0x453);function ji(_0x4a2104){const _0x24fc1c=_0x4e7919;var _0x437b4b,_0x5ea4bb,_0xcdb7ab='';if(typeof _0x4a2104==_0x24fc1c(0x216)||typeof _0x4a2104==_0x24fc1c(0xac))_0xcdb7ab+=_0x4a2104;else{if(typeof _0x4a2104==_0x24fc1c(0x22f)){if(Array[_0x24fc1c(0x1a9)](_0x4a2104)){var _0x176181=_0x4a2104[_0x24fc1c(0x126)];for(_0x437b4b=0x0;_0x437b4b<_0x176181;_0x437b4b++)_0x4a2104[_0x437b4b]&&(_0x5ea4bb=ji(_0x4a2104[_0x437b4b]))&&(_0xcdb7ab&&(_0xcdb7ab+='\x20'),_0xcdb7ab+=_0x5ea4bb);}else{for(_0x5ea4bb in _0x4a2104)_0x4a2104[_0x5ea4bb]&&(_0xcdb7ab&&(_0xcdb7ab+='\x20'),_0xcdb7ab+=_0x5ea4bb);}}}return _0xcdb7ab;}function fa(){const _0x3b7d6c=_0x4e7919;for(var _0x438499,_0x328f5b,_0x43f108=0x0,_0x43e40d='',_0x4da4a0=arguments[_0x3b7d6c(0x126)];_0x43f108<_0x4da4a0;_0x43f108++)(_0x438499=arguments[_0x43f108])&&(_0x328f5b=ji(_0x438499))&&(_0x43e40d&&(_0x43e40d+='\x20'),_0x43e40d+=_0x328f5b);return _0x43e40d;}const va='univer-online-status-icon',ma=_0x4e7919(0xe2),pa=_0x4e7919(0x20f),ga=_0x4e7919(0x2b6),Sa=_0x4e7919(0x415),Ze={'onlineStatusIcon':va,'onlineStatusTitle':ma,'onlineStatus':pa,'online':ga,'offline':Sa};function Ia(_0x2129e9){const _0x264ec5=_0x4e7919;switch(_0x2129e9){case J['OFFLINE']:return _0x264ec5(0xff);case J[_0x264ec5(0x3d8)]:return _0x264ec5(0x34c);case J['FETCH_MISS']:return _0x264ec5(0x90);case J[_0x264ec5(0x199)]:return'collabStatus.notCollab';case J[_0x264ec5(0x289)]:case J[_0x264ec5(0x1c7)]:return _0x264ec5(0x1fe);case J[_0x264ec5(0x387)]:case J[_0x264ec5(0x3aa)]:return _0x264ec5(0x240);}}function Ca(_0x5d6638){const _0x32f7dc=_0x4e7919,{status$:_0x293b2f}=_0x5d6638,_0x4927a9=_0x530867(_0x293b2f,J[_0x32f7dc(0x199)]),_0xaf5a08=_0x46f302(_0x5e134c),_0x68f457=_0x46f302(Ae),_0x5093c5=_0x4927a9!==J[_0x32f7dc(0x3f4)],_0x3d3c51=_0xaf5a08['t'](Ia(_0x4927a9)),_0x3eb44f=fa(Ze[_0x32f7dc(0x1cc)],{[Ze['online']]:_0x5093c5,[Ze['offline']]:!_0x5093c5}),_0x4790c2=_0x5093c5?we[_0x32f7dc(0x2fc)](Hi,{}):we[_0x32f7dc(0x2fc)]($i,{}),_0x4fb82e=_0x23fbd9(()=>{const _0x221207=_0x32f7dc;_0x5093c5||_0x68f457[_0x221207(0x215)]();},[_0x5093c5,_0x68f457]);function _0x42044e(){const _0x40743f=_0x32f7dc;return we[_0x40743f(0x1eb)](_0x40743f(0x253),{'className':_0x3eb44f,'onClick':_0x4fb82e,'children':[we[_0x40743f(0x2fc)](_0x40743f(0x253),{'className':Ze[_0x40743f(0x417)],'children':_0x4790c2}),we[_0x40743f(0x2fc)](_0x40743f(0x253),{'className':Ze[_0x40743f(0x469)],'children':_0x3d3c51})]});}return _0x5093c5?_0x42044e():we[_0x32f7dc(0x2fc)](_0x2f2e68,{'title':_0xaf5a08['t'](_0x32f7dc(0x1e1)),'children':_0x42044e()});}var Ea=Object[_0x4e7919(0x13e)],ba=Object[_0x4e7919(0x3a9)],Ta=(_0x7733ea,_0x44b65b,_0x56ad34,_0xd89701)=>{const _0x21995f=_0x4e7919;for(var _0x10c5ab=_0xd89701>0x1?void 0x0:_0xd89701?ba(_0x44b65b,_0x56ad34):_0x44b65b,_0x5a535f=_0x7733ea[_0x21995f(0x126)]-0x1,_0x507c25;_0x5a535f>=0x0;_0x5a535f--)(_0x507c25=_0x7733ea[_0x5a535f])&&(_0x10c5ab=(_0xd89701?_0x507c25(_0x44b65b,_0x56ad34,_0x10c5ab):_0x507c25(_0x10c5ab))||_0x10c5ab);return _0xd89701&&_0x10c5ab&&Ea(_0x44b65b,_0x56ad34,_0x10c5ab),_0x10c5ab;},ht=(_0x453d7c,_0x32e174)=>(_0xba3128,_0xce053b)=>_0x32e174(_0xba3128,_0xce053b,_0x453d7c);let St=class extends _0x4b38ce{constructor(_0x564596,_0x10d37a,_0x15db0a,_0x48e935){const _0xa3d923=_0x4e7919;super(),g(this,'_status$',new _0x524b68(J[_0xa3d923(0x199)])),(this['_univerInstanceService']=_0x564596,this[_0xa3d923(0x3ee)]=_0x10d37a,this['_injector']=_0x15db0a,this['_collaborationController']=_0x48e935,this[_0xa3d923(0x37d)](),this[_0xa3d923(0x496)]());}[_0x4e7919(0x496)](){const _0x16d4a6=_0x4e7919;this[_0x16d4a6(0xb0)](this[_0x16d4a6(0x29a)][_0x16d4a6(0x346)][_0x16d4a6(0x210)](_0x6ad44a(()=>{const _0x2f55dd=_0x16d4a6,_0x22f1bd=this[_0x2f55dd(0x29a)][_0x2f55dd(0x41f)]();return _0x22f1bd?this[_0x2f55dd(0x27b)][_0x2f55dd(0x184)](_0x22f1bd[_0x2f55dd(0x426)]()):_0x2a024c(null);}),_0x6ad44a(_0x40e63c=>_0x40e63c?_0x40e63c[_0x16d4a6(0x1cf)]:_0x2a024c(J['NOT_COLLAB'])))['subscribe'](_0x456598=>{const _0x431480=_0x16d4a6;this[_0x431480(0x221)][_0x431480(0x409)](_0x456598);}));}['_initStatusComponent'](){const _0x451140=_0x4e7919;this[_0x451140(0xb0)](this[_0x451140(0x3ee)][_0x451140(0x32b)](_0x37e12e[_0x451140(0x265)],()=>_0x2a6bad(Ra({'status$':this['_status$'][_0x451140(0x180)]()}),this[_0x451140(0x1e4)])));}};St=Ta([ht(0x0,_0x5e27bc),ht(0x1,_0x358cc7),ht(0x2,_0x557b7a(_0x5a5437)),ht(0x3,_0x557b7a(it))],St);function Ra(_0x4d5f7c){const {status$:_0x31d877}=_0x4d5f7c;return function(){const _0x41d223=_0x5ed9;return we[_0x41d223(0x2fc)](Ca,{'status$':_0x31d877});};}const Bi=_0x20f251(_0x4e7919(0xab));var ya=Object['defineProperty'],Oa=Object[_0x4e7919(0x3a9)],wa=(_0x2a4155,_0xf902fe,_0x197006,_0x488cc8)=>{const _0x1394f4=_0x4e7919;for(var _0x1a0cff=_0x488cc8>0x1?void 0x0:_0x488cc8?Oa(_0xf902fe,_0x197006):_0xf902fe,_0x254a4c=_0x2a4155[_0x1394f4(0x126)]-0x1,_0x2cfebc;_0x254a4c>=0x0;_0x254a4c--)(_0x2cfebc=_0x2a4155[_0x254a4c])&&(_0x1a0cff=(_0x488cc8?_0x2cfebc(_0xf902fe,_0x197006,_0x1a0cff):_0x2cfebc(_0x1a0cff))||_0x1a0cff);return _0x488cc8&&_0x1a0cff&&ya(_0xf902fe,_0x197006,_0x1a0cff),_0x1a0cff;},ke=(_0x2ec5b0,_0x1199ae)=>(_0x2dd833,_0x545f2f)=>_0x1199ae(_0x2dd833,_0x545f2f,_0x2ec5b0);let It=class extends _0x15900e{constructor(_0x5d2f4a,_0x9e718b,_0x4aedd7,_0x2f2405,_0x112e18,_0x1dbabb){const _0x261f78=_0x4e7919;super(),this['_urlService']=_0x5d2f4a,this[_0x261f78(0x18f)]=_0x9e718b,this[_0x261f78(0x2c6)]=_0x4aedd7,this[_0x261f78(0x27a)]=_0x2f2405,this[_0x261f78(0x280)]=_0x112e18,_0x1dbabb?_0x1dbabb==null||_0x1dbabb[_0x261f78(0x319)]()['then'](()=>this[_0x261f78(0x350)]()):(this[_0x261f78(0x18f)][_0x261f78(0x236)](_0x261f78(0x36a),_0x261f78(0xcd)),this[_0x261f78(0x350)]());}async['_init'](){const _0x384dfd=_0x4e7919,_0x318f24=this[_0x384dfd(0xea)][_0x384dfd(0x1bd)]('unit'),_0x379add=this[_0x384dfd(0xea)][_0x384dfd(0x1bd)](_0x384dfd(0x195));if(!_0x318f24||!_0x379add){this[_0x384dfd(0x18f)][_0x384dfd(0x236)]('[DataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x379add)){case ce[_0x384dfd(0x29f)]:{const _0x3c0f88=await this[_0x384dfd(0x341)](_0x318f24);this['_setupSubUnitSync'](_0x3c0f88);break;}case ce['UNIVER_DOC']:{await this[_0x384dfd(0x1f9)](_0x318f24);break;}default:{this['_logService'][_0x384dfd(0x24d)](_0x384dfd(0x36a),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x4e7919(0x395)](_0x18b604){const _0x264c06=_0x4e7919;await this[_0x264c06(0x1f2)](_0x18b604),_0x18b604[_0x264c06(0x241)][_0x264c06(0x210)](_0x234986(this[_0x264c06(0x15d)]))[_0x264c06(0x1f1)](_0x2494e7=>{const _0x4f8312=_0x264c06;_0x2494e7&&this[_0x4f8312(0x359)](_0x2494e7);}),this['_urlService'][_0x264c06(0x104)][_0x264c06(0x210)](_0x234986(this['dispose$']))[_0x264c06(0x1f1)](()=>this[_0x264c06(0x1f2)](_0x18b604));}['_updateURLWithCurrentState'](_0x4efd9e,_0x3815a3=!0x1){const _0x4aa660=_0x4e7919,_0x643e2a=this[_0x4aa660(0xea)][_0x4aa660(0x1bd)](_0x4aa660(0x2ca));_0x4efd9e[_0x4aa660(0x201)]()!==_0x643e2a&&this[_0x4aa660(0xea)][_0x4aa660(0xef)](_0x4aa660(0x2ca),_0x4efd9e[_0x4aa660(0x201)](),_0x3815a3);}async[_0x4e7919(0x1f2)](_0x411b6a){const _0x502a9e=_0x4e7919;var _0x1b990f;const _0x3ee31e=this[_0x502a9e(0xea)][_0x502a9e(0x1bd)]('subunit');if(!_0x3ee31e||!_0x411b6a[_0x502a9e(0x2c3)](_0x3ee31e)){const _0x861059=_0x411b6a['getUnhiddenWorksheets']()[0x0],_0x2d19f1=_0x411b6a['getSheetBySheetId'](_0x861059);if(!_0x2d19f1)return;this['_updateURLWithCurrentState'](_0x2d19f1,!0x0),await this[_0x502a9e(0x2c6)][_0x502a9e(0x122)](_0x50f4a2['id'],{'unitId':_0x411b6a[_0x502a9e(0x426)](),'subUnitId':_0x861059});return;}((_0x1b990f=_0x411b6a[_0x502a9e(0x45e)]())==null?void 0x0:_0x1b990f[_0x502a9e(0x201)]())!==_0x3ee31e&&await this[_0x502a9e(0x2c6)]['executeCommand'](_0x50f4a2['id'],{'unitId':_0x411b6a['getUnitId'](),'subUnitId':_0x3ee31e});}async[_0x4e7919(0x341)](_0x2f2806){const _0x534c50=_0x4e7919;let _0xebd75c=0x0;const _0x46a8b3=await this['_localCacheService']['loadOfflineData'](_0x2f2806);return _0x46a8b3&&(_0x46a8b3[_0x534c50(0x398)]||_0x46a8b3[_0x534c50(0x13b)][_0x534c50(0x126)]!==0x0)&&(_0xebd75c=_0x46a8b3[_0x534c50(0x452)]),_0xebd75c===0x0&&this['_logService']['debug'](_0x534c50(0x36a),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x534c50(0x280)][_0x534c50(0x379)](_0x2f2806,_0xebd75c);}async['_loadDoc'](_0x179dfc){const _0x1939fe=_0x4e7919;let _0x395ada=0x0;const _0x377bf9=await this['_localCacheService'][_0x1939fe(0x281)](_0x179dfc);return _0x377bf9&&(_0x377bf9[_0x1939fe(0x398)]||_0x377bf9[_0x1939fe(0x13b)][_0x1939fe(0x126)]!==0x0)&&(_0x395ada=_0x377bf9[_0x1939fe(0x452)]),_0x395ada===0x0&&this[_0x1939fe(0x18f)][_0x1939fe(0x236)]('[DataLoaderController]',_0x1939fe(0x3d1)),this[_0x1939fe(0x280)][_0x1939fe(0x490)](_0x179dfc,_0x395ada);}};It=wa([ke(0x0,Bi),ke(0x1,_0x2f9740),ke(0x2,_0x37f6d3),ke(0x3,_0x557b7a(q)),ke(0x4,_0x557b7a(_0x399fd9)),ke(0x5,_0x263588(_0x57bd22))],It);var Da=Object[_0x4e7919(0x13e)],Pa=Object[_0x4e7919(0x3a9)],Ua=(_0x1010a3,_0x317cf9,_0x3a7ad5,_0x1dec94)=>{const _0x4bad0a=_0x4e7919;for(var _0x2fe79c=_0x1dec94>0x1?void 0x0:_0x1dec94?Pa(_0x317cf9,_0x3a7ad5):_0x317cf9,_0x170312=_0x1010a3[_0x4bad0a(0x126)]-0x1,_0x3505a0;_0x170312>=0x0;_0x170312--)(_0x3505a0=_0x1010a3[_0x170312])&&(_0x2fe79c=(_0x1dec94?_0x3505a0(_0x317cf9,_0x3a7ad5,_0x2fe79c):_0x3505a0(_0x2fe79c))||_0x2fe79c);return _0x1dec94&&_0x2fe79c&&Da(_0x317cf9,_0x3a7ad5,_0x2fe79c),_0x2fe79c;},zs=(_0x300a18,_0x23f029)=>(_0x2b8512,_0x1ba95a)=>_0x23f029(_0x2b8512,_0x1ba95a,_0x300a18);const Na=_0x4e7919(0x36c),Aa=_0x4e7919(0x38f);let Ct=class extends _0x4b38ce{constructor(_0x1eb770,_0x120b34){const _0x30f276=_0x4e7919;super(),this['_univerInstanceService']=_0x1eb770,this[_0x30f276(0x1f4)]=_0x120b34,this[_0x30f276(0x350)]();}[_0x4e7919(0x350)](){const _0x4b3ef2=_0x4e7919;this['disposeWithMe'](this[_0x4b3ef2(0x29a)][_0x4b3ef2(0x346)][_0x4b3ef2(0x1f1)](()=>{const _0x1113c2=_0x4b3ef2;var _0x46639f;const _0x379060=this[_0x1113c2(0x29a)][_0x1113c2(0x41f)]();let _0x591742=(_0x46639f=this[_0x1113c2(0x1f4)][_0x1113c2(0x2a3)](Na))!=null?_0x46639f:Aa;_0x379060 instanceof _0x3c605a&&(_0x591742=_0x379060[_0x1113c2(0x3df)]),document['title']=_0x591742;}));}};Ct=Ua([zs(0x0,_0x5e27bc),zs(0x1,_0x88f14)],Ct);var Ma=Object[_0x4e7919(0x13e)],xa=Object['getOwnPropertyDescriptor'],La=(_0x517579,_0xda4319,_0x29a5b9,_0x85e3c2)=>{const _0x39e66e=_0x4e7919;for(var _0x4034ac=_0x85e3c2>0x1?void 0x0:_0x85e3c2?xa(_0xda4319,_0x29a5b9):_0xda4319,_0x1fa0da=_0x517579[_0x39e66e(0x126)]-0x1,_0x2677cc;_0x1fa0da>=0x0;_0x1fa0da--)(_0x2677cc=_0x517579[_0x1fa0da])&&(_0x4034ac=(_0x85e3c2?_0x2677cc(_0xda4319,_0x29a5b9,_0x4034ac):_0x2677cc(_0x4034ac))||_0x4034ac);return _0x85e3c2&&_0x4034ac&&Ma(_0xda4319,_0x29a5b9,_0x4034ac),_0x4034ac;},Wt=(_0x3c2fa8,_0x3b6f5a)=>(_0x21b625,_0x55e8b7)=>_0x3b6f5a(_0x21b625,_0x55e8b7,_0x3c2fa8);let Et=class{constructor(_0xcf31c7,_0x1c3c87,_0x565645){const _0x4dadfe=_0x4e7919;this['_configService']=_0xcf31c7,this[_0x4dadfe(0x2a7)]=_0x1c3c87,this['localeService']=_0x565645,this[_0x4dadfe(0x251)]();}['init'](){const _0x189f0a=_0x4e7919;this[_0x189f0a(0x2a7)][_0x189f0a(0x171)]({'priority':0x1,'interceptor':(_0x5c4d8c,_0x6aa053)=>_0x6aa053(_0x5c4d8c)[_0x189f0a(0x210)](_0x245147(async _0x305d75=>{const _0x5eff7e=_0x189f0a,_0x7535cd=_0x305d75;if(_0x7535cd[_0x5eff7e(0x459)]===0x191&&window[_0x5eff7e(0xf0)](this['localeService']['t'](_0x5eff7e(0x1c9)))){const _0x26e65d=window[_0x5eff7e(0x168)](window[_0x5eff7e(0x3e9)][_0x5eff7e(0xc3)]);window[_0x5eff7e(0x3e9)][_0x5eff7e(0xc3)]=this['_getLoginPath']()+'?url='+_0x26e65d;}return _0x7535cd;}))});}[_0x4e7919(0xa3)](){const _0x38d8d3=_0x4e7919;var _0x44d12d,_0x483e11;const _0x5b38fb=this[_0x38d8d3(0x1f4)][_0x38d8d3(0x2a3)](br),_0x3d6a1c=this[_0x38d8d3(0x1f4)][_0x38d8d3(0x2a3)](ie);return(_0x483e11=(_0x44d12d=_0x3d6a1c==null?void 0x0:_0x3d6a1c['loginUrlKey'])!=null?_0x44d12d:_0x5b38fb)!=null?_0x483e11:Tr;}};Et=La([Wt(0x0,_0x88f14),Wt(0x1,_0x557b7a(_0x55adc1)),Wt(0x2,_0x557b7a(_0x5e134c))],Et);var $a=Object[_0x4e7919(0x13e)],Ha=Object[_0x4e7919(0x3a9)],ja=(_0x503f68,_0x3554f8,_0x4d6653,_0x38aa5e)=>{const _0x1835d6=_0x4e7919;for(var _0x1b89c5=_0x38aa5e>0x1?void 0x0:_0x38aa5e?Ha(_0x3554f8,_0x4d6653):_0x3554f8,_0x24826d=_0x503f68[_0x1835d6(0x126)]-0x1,_0x4363a8;_0x24826d>=0x0;_0x24826d--)(_0x4363a8=_0x503f68[_0x24826d])&&(_0x1b89c5=(_0x38aa5e?_0x4363a8(_0x3554f8,_0x4d6653,_0x1b89c5):_0x4363a8(_0x1b89c5))||_0x1b89c5);return _0x38aa5e&&_0x1b89c5&&$a(_0x3554f8,_0x4d6653,_0x1b89c5),_0x1b89c5;},qs=(_0x4de218,_0x26aa6a)=>(_0x3cd8cb,_0x5bd997)=>_0x26aa6a(_0x3cd8cb,_0x5bd997,_0x4de218);const Ba=_0x4e7919(0x47e),ka=_0x4e7919(0x2ec);let cs=class extends _0x4b38ce{constructor(_0x18138a,_0x436ba4){const _0x3eaa27=_0x4e7919;super(),this[_0x3eaa27(0x1e8)]=_0x18138a,this[_0x3eaa27(0x1f4)]=_0x436ba4,this[_0x3eaa27(0x31a)]();}['_initMergeInterceptor'](){const _0xbd7ef6=_0x4e7919,_0x3096f3=this;this[_0xbd7ef6(0xb0)](this['_HTTPService'][_0xbd7ef6(0x171)]({'priority':0x3e7,'interceptor':_0x309f2d({'isMatch'(_0x380a18){const _0x3f7c27=_0xbd7ef6;var _0x1ba4e4;if(_0x380a18[_0x3f7c27(0x3a4)]===_0x3f7c27(0x1aa)&&((_0x1ba4e4=_0x380a18[_0x3f7c27(0x1ce)])!=null&&_0x1ba4e4[_0x3f7c27(0x47f)])){const {objectID:_0x50f85f,objectType:_0x4cde50}=_0x380a18[_0x3f7c27(0x1ce)][_0x3f7c27(0x47f)]||{};if(!_0x50f85f||_0x4cde50===void 0x0)return!0x1;const _0x105eb9=_0x3096f3[_0x3f7c27(0x229)]()+'/'+_0x4cde50+'/object/'+_0x50f85f+_0x3f7c27(0x464);if(_0x380a18[_0x3f7c27(0x139)]===_0x105eb9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x30a5e3){const _0x3b1324=_0xbd7ef6;var _0x4bffdc;return(_0x4bffdc=_0x30a5e3[_0x3b1324(0x1ce)])==null?void 0x0:_0x4bffdc[_0x3b1324(0x47f)];},'mergeParamsToRequest'(_0x5cdbac,_0x5e03c0){const _0x39f3c1=_0xbd7ef6,_0x34cc99=_0x3096f3[_0x39f3c1(0x229)]()+_0x39f3c1(0x256),_0x3b559a=_0x5cdbac[_0x39f3c1(0x16b)]((_0x351fbc,_0x2c90db)=>{const _0x4e577b=_0x39f3c1,{unitID:_0x59d4fa,objectID:_0x53ede4,objectType:_0x2b2a43,actions:_0x1845a1}=_0x2c90db;return _0x351fbc[_0x59d4fa]||(_0x351fbc[_0x59d4fa]={}),_0x351fbc[_0x59d4fa][_0x53ede4]||(_0x351fbc[_0x59d4fa][_0x53ede4]={'objectID':_0x53ede4,'objectType':_0x2b2a43,'actions':[]}),_0x351fbc[_0x59d4fa][_0x53ede4]['actions'][_0x4e577b(0x209)](..._0x1845a1),_0x351fbc;},{}),_0xae8d56=[];for(const _0x3de101 in _0x3b559a)for(const _0x340f62 in _0x3b559a[_0x3de101]){const {actions:_0xcc8a0,objectType:_0x515601}=_0x3b559a[_0x3de101][_0x340f62],_0x5797a1=[...new Set(_0xcc8a0)];_0xae8d56[_0x39f3c1(0x209)]({'unitID':_0x3de101,'objectID':_0x340f62,'objectType':_0x515601,'actions':_0x5797a1});}return new _0x223f2c(_0x39f3c1(0x1aa),_0x34cc99,{'headers':_0x5e03c0['headers'],'withCredentials':_0x5e03c0[_0x39f3c1(0x454)],'responseType':_0x5e03c0[_0x39f3c1(0x347)],'body':{'requests':_0xae8d56}});}},{'distributeResult'(_0x526eda,_0x5eebb6){const _0x3b39db=_0xbd7ef6,{objectActions:_0x4c7d13}=_0x526eda;return _0x5eebb6[_0x3b39db(0x32e)](_0x3680ad=>{const _0x47c053=_0x3b39db,{unitID:_0x280bf8,objectID:_0x4ecb08,actions:_0x2dd2f7}=_0x3680ad,_0x12b338=_0x4c7d13['find'](_0x2b5456=>_0x2b5456[_0x47c053(0x8b)]===_0x280bf8&&_0x2b5456['objectID']===_0x4ecb08),_0x32ce5d=_0x2dd2f7[_0x47c053(0x32e)](_0x33f7ac=>_0x12b338==null?void 0x0:_0x12b338[_0x47c053(0x367)][_0x47c053(0x22a)](_0x4b5028=>_0x4b5028['action']===_0x33f7ac))[_0x47c053(0x42e)](_0x5bab37=>!!_0x5bab37);return{'config':_0x3680ad,'result':{'actions':_0x32ce5d,'error':_0x526eda[_0x47c053(0x24d)]}};});}})}));}['_getAPIPrefixPath'](){const _0x169ad8=_0x4e7919;var _0x159c1a,_0x11e8b8;const _0x2f7d29=this[_0x169ad8(0x1f4)][_0x169ad8(0x2a3)](Ba),_0x51053f=this[_0x169ad8(0x1f4)][_0x169ad8(0x2a3)](ie);return(_0x11e8b8=(_0x159c1a=_0x51053f==null?void 0x0:_0x51053f[_0x169ad8(0x368)])!=null?_0x159c1a:_0x2f7d29)!=null?_0x11e8b8:ka;}async[_0x4e7919(0x447)](_0x2f84da){const _0x4c43de=_0x4e7919,_0x2871f7=this[_0x4c43de(0x229)]()+'/'+_0x2f84da[_0x4c43de(0x44a)]+_0x4c43de(0x2ae);return(await this[_0x4c43de(0x1e8)][_0x4c43de(0x480)](_0x2871f7,{'body':_0x2f84da}))['body']['objectID']||'';}async['list'](_0x1c3ef5){const _0x37fdd9=_0x4e7919,_0x17c64a=this['_getAPIPrefixPath']()+_0x37fdd9(0x30a);return(await this[_0x37fdd9(0x1e8)][_0x37fdd9(0x480)](_0x17c64a,{'body':_0x1c3ef5}))[_0x37fdd9(0x47f)][_0x37fdd9(0x37c)];}async[_0x4e7919(0x3c1)](_0x50505e){const _0x360f22=_0x4e7919,_0x142294=this[_0x360f22(0x229)]()+'/'+_0x50505e[_0x360f22(0x44a)]+'/object/'+_0x50505e[_0x360f22(0x9f)];await this['_HTTPService']['put'](_0x142294,{'body':_0x50505e});}async[_0x4e7919(0x1b0)](_0x3229d0){const _0x25fd2c=_0x4e7919,_0xcacb5a=this[_0x25fd2c(0x229)]()+'/'+_0x3229d0['objectType']+_0x25fd2c(0x325)+_0x3229d0[_0x25fd2c(0x9f)]+_0x25fd2c(0x464);return(await this['_HTTPService'][_0x25fd2c(0x480)](_0xcacb5a,{'body':_0x3229d0}))[_0x25fd2c(0x47f)]['actions'];}async[_0x4e7919(0xe3)](_0x20a34c){const _0x212871=_0x4e7919,_0x8e9330=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x212871(0x1e8)][_0x212871(0x480)](_0x8e9330,{'body':{'requests':_0x20a34c}}))[_0x212871(0x47f)][_0x212871(0x1ea)];}async[_0x4e7919(0x11a)](_0x3b969a){const _0x4d925b=_0x4e7919,_0x4147ed=this['_getAPIPrefixPath']()+'/'+_0x3b969a[_0x4d925b(0x44a)]+_0x4d925b(0x407),_0x49f930=await this['_HTTPService'][_0x4d925b(0x480)](_0x4147ed,{'body':_0x3b969a});return{'roles':_0x49f930[_0x4d925b(0x47f)][_0x4d925b(0xc4)],'actions':_0x49f930[_0x4d925b(0x47f)][_0x4d925b(0x367)]};}async['deleteCollaborator'](_0x50be26){const _0x27d10d=_0x4e7919,_0x1d6cff=this['_getAPIPrefixPath']()+_0x27d10d(0x233);await this[_0x27d10d(0x1e8)][_0x27d10d(0x15f)](_0x1d6cff,{'params':{'collaboratorID':_0x50be26[_0x27d10d(0x35d)],'objectID':_0x50be26[_0x27d10d(0x9f)],'unitID':_0x50be26[_0x27d10d(0x8b)]}});}async['updateCollaborator'](_0x16f378){const _0x31d701=_0x4e7919,_0x4867de=this[_0x31d701(0x229)]()+_0x31d701(0x233);await this[_0x31d701(0x1e8)]['patch'](_0x4867de,{'body':_0x16f378});}async[_0x4e7919(0x272)](_0x5a0d20){const _0x5273e9=_0x4e7919,_0x2d7127=this[_0x5273e9(0x229)]()+'/collaborator';await this['_HTTPService'][_0x5273e9(0x480)](_0x2d7127,{'body':_0x5a0d20});}async['listCollaborators'](_0x4ea963){const _0x24faba=_0x4e7919,_0x2b4dda=this[_0x24faba(0x229)]()+_0x24faba(0x233);return(await this[_0x24faba(0x1e8)][_0x24faba(0x16e)](_0x2b4dda,{'params':{'objectID':_0x4ea963[_0x24faba(0x9f)],'unitID':_0x4ea963['unitID']}}))['body'][_0x24faba(0x3e1)];}async['putCollaborators'](_0x39063c){const _0x5c4de9=_0x4e7919,_0x5912e6=this[_0x5c4de9(0x229)]()+_0x5c4de9(0x233);await this['_HTTPService'][_0x5c4de9(0x475)](_0x5912e6,{'body':_0x39063c});}};cs=ja([qs(0x0,_0x557b7a(_0x55adc1)),qs(0x1,_0x557b7a(_0x88f14))],cs);var ki={'exports':{}};function Wa(_0x468067){const _0x21a640=_0x4e7919;throw new Error(_0x21a640(0x82)+_0x468067+_0x21a640(0x136));}var Ft={'exports':{}},Xs;function ue(){const _0x22551a=_0x4e7919;return Xs||(Xs=0x1,function(_0x363b30,_0x3f5e64){(function(_0x2ddeda,_0x51b557){const _0xaf903b=_0x5ed9;_0x363b30[_0xaf903b(0x279)]=_0x51b557();}(Z,function(){var _0x4043cd=_0x4043cd||function(_0x465733,_0x4cbd1b){const _0x4d64a2=_0x5ed9;var _0x123f83;if(typeof window<'u'&&window[_0x4d64a2(0x1b2)]&&(_0x123f83=window[_0x4d64a2(0x1b2)]),typeof self<'u'&&self[_0x4d64a2(0x1b2)]&&(_0x123f83=self[_0x4d64a2(0x1b2)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x123f83=globalThis[_0x4d64a2(0x1b2)]),!_0x123f83&&typeof window<'u'&&window[_0x4d64a2(0x16f)]&&(_0x123f83=window[_0x4d64a2(0x16f)]),!_0x123f83&&typeof Z<'u'&&Z[_0x4d64a2(0x1b2)]&&(_0x123f83=Z[_0x4d64a2(0x1b2)]),!_0x123f83&&typeof Wa==_0x4d64a2(0x389))try{_0x123f83=require(_0x4d64a2(0x1b2));}catch{}var _0x338b0f=function(){const _0x18ceac=_0x4d64a2;if(_0x123f83){if(typeof _0x123f83[_0x18ceac(0x19d)]=='function')try{return _0x123f83[_0x18ceac(0x19d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x123f83[_0x18ceac(0x220)]==_0x18ceac(0x389))try{return _0x123f83[_0x18ceac(0x220)](0x4)[_0x18ceac(0x3e3)]();}catch{}}throw new Error(_0x18ceac(0x22c));},_0x411826=Object['create']||(function(){function _0x104998(){}return function(_0x1c3583){const _0x1fff3b=_0x5ed9;var _0x27ac75;return _0x104998[_0x1fff3b(0x208)]=_0x1c3583,_0x27ac75=new _0x104998(),_0x104998[_0x1fff3b(0x208)]=null,_0x27ac75;};}()),_0x20b9c4={},_0x4d9fa8=_0x20b9c4[_0x4d64a2(0x24f)]={},_0x116ef8=_0x4d9fa8[_0x4d64a2(0x21e)]=(function(){return{'extend':function(_0x475c0e){const _0x528cfa=_0x5ed9;var _0x499fe8=_0x411826(this);return _0x475c0e&&_0x499fe8[_0x528cfa(0x9d)](_0x475c0e),(!_0x499fe8['hasOwnProperty'](_0x528cfa(0x251))||this['init']===_0x499fe8[_0x528cfa(0x251)])&&(_0x499fe8['init']=function(){const _0x1f7ffd=_0x528cfa;_0x499fe8[_0x1f7ffd(0x19a)][_0x1f7ffd(0x251)][_0x1f7ffd(0x2d7)](this,arguments);}),_0x499fe8[_0x528cfa(0x251)]['prototype']=_0x499fe8,_0x499fe8[_0x528cfa(0x19a)]=this,_0x499fe8;},'create':function(){const _0x10726=_0x5ed9;var _0x35cd1a=this[_0x10726(0x3d3)]();return _0x35cd1a[_0x10726(0x251)][_0x10726(0x2d7)](_0x35cd1a,arguments),_0x35cd1a;},'init':function(){},'mixIn':function(_0x56d05c){const _0x31a9e4=_0x5ed9;for(var _0x23a2dc in _0x56d05c)_0x56d05c[_0x31a9e4(0x1a1)](_0x23a2dc)&&(this[_0x23a2dc]=_0x56d05c[_0x23a2dc]);_0x56d05c[_0x31a9e4(0x1a1)](_0x31a9e4(0x227))&&(this[_0x31a9e4(0x227)]=_0x56d05c[_0x31a9e4(0x227)]);},'clone':function(){const _0x3e4987=_0x5ed9;return this[_0x3e4987(0x251)][_0x3e4987(0x208)][_0x3e4987(0x3d3)](this);}};}()),_0x274c39=_0x4d9fa8['WordArray']=_0x116ef8[_0x4d64a2(0x3d3)]({'init':function(_0x39daad,_0x448347){const _0x5e1a3b=_0x4d64a2;_0x39daad=this[_0x5e1a3b(0x10f)]=_0x39daad||[],_0x448347!=_0x4cbd1b?this[_0x5e1a3b(0x3bb)]=_0x448347:this[_0x5e1a3b(0x3bb)]=_0x39daad[_0x5e1a3b(0x126)]*0x4;},'toString':function(_0x580f4e){return(_0x580f4e||_0x18dd1b)['stringify'](this);},'concat':function(_0x78824c){const _0x4fac22=_0x4d64a2;var _0x108d80=this[_0x4fac22(0x10f)],_0x3162d3=_0x78824c[_0x4fac22(0x10f)],_0x2d385e=this[_0x4fac22(0x3bb)],_0x26aee9=_0x78824c[_0x4fac22(0x3bb)];if(this['clamp'](),_0x2d385e%0x4)for(var _0x3ac2b8=0x0;_0x3ac2b8<_0x26aee9;_0x3ac2b8++){var _0x3a2ca3=_0x3162d3[_0x3ac2b8>>>0x2]>>>0x18-_0x3ac2b8%0x4*0x8&0xff;_0x108d80[_0x2d385e+_0x3ac2b8>>>0x2]|=_0x3a2ca3<<0x18-(_0x2d385e+_0x3ac2b8)%0x4*0x8;}else{for(var _0x55e76d=0x0;_0x55e76d<_0x26aee9;_0x55e76d+=0x4)_0x108d80[_0x2d385e+_0x55e76d>>>0x2]=_0x3162d3[_0x55e76d>>>0x2];}return this[_0x4fac22(0x3bb)]+=_0x26aee9,this;},'clamp':function(){const _0x557913=_0x4d64a2;var _0x39d607=this[_0x557913(0x10f)],_0x2f6a4b=this[_0x557913(0x3bb)];_0x39d607[_0x2f6a4b>>>0x2]&=0xffffffff<<0x20-_0x2f6a4b%0x4*0x8,_0x39d607[_0x557913(0x126)]=_0x465733[_0x557913(0x2e5)](_0x2f6a4b/0x4);},'clone':function(){const _0x390bfa=_0x4d64a2;var _0x4abb86=_0x116ef8[_0x390bfa(0x2f5)][_0x390bfa(0x326)](this);return _0x4abb86['words']=this[_0x390bfa(0x10f)][_0x390bfa(0x41b)](0x0),_0x4abb86;},'random':function(_0x548dea){const _0x211ae5=_0x4d64a2;for(var _0x1187a5=[],_0x31964d=0x0;_0x31964d<_0x548dea;_0x31964d+=0x4)_0x1187a5[_0x211ae5(0x209)](_0x338b0f());return new _0x274c39[(_0x211ae5(0x251))](_0x1187a5,_0x548dea);}}),_0x36ca94=_0x20b9c4['enc']={},_0x18dd1b=_0x36ca94[_0x4d64a2(0x3d0)]={'stringify':function(_0x20294f){const _0x5be746=_0x4d64a2;for(var _0x170fc8=_0x20294f[_0x5be746(0x10f)],_0xd42c9=_0x20294f['sigBytes'],_0x7ba385=[],_0x496a69=0x0;_0x496a69<_0xd42c9;_0x496a69++){var _0x42c37b=_0x170fc8[_0x496a69>>>0x2]>>>0x18-_0x496a69%0x4*0x8&0xff;_0x7ba385[_0x5be746(0x209)]((_0x42c37b>>>0x4)[_0x5be746(0x227)](0x10)),_0x7ba385[_0x5be746(0x209)]((_0x42c37b&0xf)[_0x5be746(0x227)](0x10));}return _0x7ba385[_0x5be746(0x2e2)]('');},'parse':function(_0x12eb05){const _0x1f89ff=_0x4d64a2;for(var _0x1d3d5a=_0x12eb05[_0x1f89ff(0x126)],_0x13ec14=[],_0x28e634=0x0;_0x28e634<_0x1d3d5a;_0x28e634+=0x2)_0x13ec14[_0x28e634>>>0x3]|=parseInt(_0x12eb05['substr'](_0x28e634,0x2),0x10)<<0x18-_0x28e634%0x8*0x4;return new _0x274c39['init'](_0x13ec14,_0x1d3d5a/0x2);}},_0x25b94d=_0x36ca94[_0x4d64a2(0x3dc)]={'stringify':function(_0x239458){const _0x4d5b9f=_0x4d64a2;for(var _0x36df88=_0x239458['words'],_0x1c727e=_0x239458['sigBytes'],_0x6aea54=[],_0x30ff1a=0x0;_0x30ff1a<_0x1c727e;_0x30ff1a++){var _0xc80006=_0x36df88[_0x30ff1a>>>0x2]>>>0x18-_0x30ff1a%0x4*0x8&0xff;_0x6aea54[_0x4d5b9f(0x209)](String[_0x4d5b9f(0x11c)](_0xc80006));}return _0x6aea54[_0x4d5b9f(0x2e2)]('');},'parse':function(_0x4ccaf4){const _0x5d125e=_0x4d64a2;for(var _0x1fa6da=_0x4ccaf4['length'],_0x2901ce=[],_0x3782b2=0x0;_0x3782b2<_0x1fa6da;_0x3782b2++)_0x2901ce[_0x3782b2>>>0x2]|=(_0x4ccaf4['charCodeAt'](_0x3782b2)&0xff)<<0x18-_0x3782b2%0x4*0x8;return new _0x274c39[(_0x5d125e(0x251))](_0x2901ce,_0x1fa6da);}},_0x4c375f=_0x36ca94[_0x4d64a2(0x479)]={'stringify':function(_0x540aa3){const _0x67878f=_0x4d64a2;try{return decodeURIComponent(escape(_0x25b94d[_0x67878f(0x47a)](_0x540aa3)));}catch{throw new Error(_0x67878f(0x131));}},'parse':function(_0x3417d8){const _0x56968f=_0x4d64a2;return _0x25b94d[_0x56968f(0xdc)](unescape(encodeURIComponent(_0x3417d8)));}},_0x3c7d40=_0x4d9fa8[_0x4d64a2(0x20b)]=_0x116ef8[_0x4d64a2(0x3d3)]({'reset':function(){const _0x1898d0=_0x4d64a2;this[_0x1898d0(0x1ed)]=new _0x274c39[(_0x1898d0(0x251))](),this[_0x1898d0(0x428)]=0x0;},'_append':function(_0x1af0cf){const _0x546daa=_0x4d64a2;typeof _0x1af0cf==_0x546daa(0x216)&&(_0x1af0cf=_0x4c375f[_0x546daa(0xdc)](_0x1af0cf)),this[_0x546daa(0x1ed)][_0x546daa(0x24a)](_0x1af0cf),this[_0x546daa(0x428)]+=_0x1af0cf[_0x546daa(0x3bb)];},'_process':function(_0xbbaf86){const _0x14267a=_0x4d64a2;var _0x48ef70,_0x450cfa=this[_0x14267a(0x1ed)],_0x5ae2c5=_0x450cfa['words'],_0x280ecf=_0x450cfa[_0x14267a(0x3bb)],_0x420553=this['blockSize'],_0x2267f3=_0x420553*0x4,_0x447612=_0x280ecf/_0x2267f3;_0xbbaf86?_0x447612=_0x465733['ceil'](_0x447612):_0x447612=_0x465733[_0x14267a(0x384)]((_0x447612|0x0)-this[_0x14267a(0x1d6)],0x0);var _0x5b5a88=_0x447612*_0x420553,_0x5af15f=_0x465733[_0x14267a(0x3a2)](_0x5b5a88*0x4,_0x280ecf);if(_0x5b5a88){for(var _0x1e6931=0x0;_0x1e6931<_0x5b5a88;_0x1e6931+=_0x420553)this[_0x14267a(0x1d0)](_0x5ae2c5,_0x1e6931);_0x48ef70=_0x5ae2c5[_0x14267a(0x3d9)](0x0,_0x5b5a88),_0x450cfa[_0x14267a(0x3bb)]-=_0x5af15f;}return new _0x274c39[(_0x14267a(0x251))](_0x48ef70,_0x5af15f);},'clone':function(){const _0x50b85b=_0x4d64a2;var _0x5ccbec=_0x116ef8['clone'][_0x50b85b(0x326)](this);return _0x5ccbec['_data']=this[_0x50b85b(0x1ed)][_0x50b85b(0x2f5)](),_0x5ccbec;},'_minBufferSize':0x0});_0x4d9fa8[_0x4d64a2(0x218)]=_0x3c7d40['extend']({'cfg':_0x116ef8[_0x4d64a2(0x3d3)](),'init':function(_0x538fa0){const _0x139a9e=_0x4d64a2;this[_0x139a9e(0x150)]=this[_0x139a9e(0x150)][_0x139a9e(0x3d3)](_0x538fa0),this[_0x139a9e(0x486)]();},'reset':function(){const _0x1fb3ba=_0x4d64a2;_0x3c7d40['reset'][_0x1fb3ba(0x326)](this),this[_0x1fb3ba(0x374)]();},'update':function(_0x4723f9){const _0x1beacf=_0x4d64a2;return this[_0x1beacf(0x3d7)](_0x4723f9),this[_0x1beacf(0x181)](),this;},'finalize':function(_0x4a2371){const _0x2b5557=_0x4d64a2;_0x4a2371&&this[_0x2b5557(0x3d7)](_0x4a2371);var _0x1ff4e1=this['_doFinalize']();return _0x1ff4e1;},'blockSize':0x10,'_createHelper':function(_0x546e65){return function(_0x14376d,_0x452c58){const _0x14eeaa=_0x5ed9;return new _0x546e65[(_0x14eeaa(0x251))](_0x452c58)[_0x14eeaa(0x1d9)](_0x14376d);};},'_createHmacHelper':function(_0x18eca4){return function(_0x3be3b2,_0x3420fb){const _0x5b10bb=_0x5ed9;return new _0x50d9ea[(_0x5b10bb(0x394))][(_0x5b10bb(0x251))](_0x18eca4,_0x3420fb)[_0x5b10bb(0x1d9)](_0x3be3b2);};}});var _0x50d9ea=_0x20b9c4['algo']={};return _0x20b9c4;}(Math);return _0x4043cd;}));}(Ft)),Ft[_0x22551a(0x279)];}var Vt={'exports':{}},Js;function Wi(){return Js||(Js=0x1,function(_0x294d01,_0x5c8c6e){(function(_0x102172,_0x39cf30){const _0x17ea8e=_0x5ed9;_0x294d01[_0x17ea8e(0x279)]=_0x39cf30(ue());}(Z,function(_0x527657){const _0x11d2e1=_0x5ed9;return(function(){const _0x3b29d0=_0x5ed9;var _0x319187=_0x527657,_0xcc5b4d=_0x319187[_0x3b29d0(0x24f)],_0x14c296=_0xcc5b4d['WordArray'],_0x4f7438=_0x319187[_0x3b29d0(0xc5)];_0x4f7438[_0x3b29d0(0x2e4)]={'stringify':function(_0x6265e0){const _0x30a88e=_0x3b29d0;var _0xe23173=_0x6265e0[_0x30a88e(0x10f)],_0x109ad2=_0x6265e0[_0x30a88e(0x3bb)],_0x1d0e13=this['_map'];_0x6265e0[_0x30a88e(0xdf)]();for(var _0x35e99e=[],_0x5b5bf7=0x0;_0x5b5bf7<_0x109ad2;_0x5b5bf7+=0x3)for(var _0x53bc5d=_0xe23173[_0x5b5bf7>>>0x2]>>>0x18-_0x5b5bf7%0x4*0x8&0xff,_0xe805d2=_0xe23173[_0x5b5bf7+0x1>>>0x2]>>>0x18-(_0x5b5bf7+0x1)%0x4*0x8&0xff,_0x1000b9=_0xe23173[_0x5b5bf7+0x2>>>0x2]>>>0x18-(_0x5b5bf7+0x2)%0x4*0x8&0xff,_0x2ec685=_0x53bc5d<<0x10|_0xe805d2<<0x8|_0x1000b9,_0x1932e3=0x0;_0x1932e3<0x4&&_0x5b5bf7+_0x1932e3*0.75<_0x109ad2;_0x1932e3++)_0x35e99e['push'](_0x1d0e13[_0x30a88e(0x130)](_0x2ec685>>>0x6*(0x3-_0x1932e3)&0x3f));var _0x563b0f=_0x1d0e13[_0x30a88e(0x130)](0x40);if(_0x563b0f){for(;_0x35e99e[_0x30a88e(0x126)]%0x4;)_0x35e99e[_0x30a88e(0x209)](_0x563b0f);}return _0x35e99e[_0x30a88e(0x2e2)]('');},'parse':function(_0x11cd17){const _0x16030e=_0x3b29d0;var _0x37d1ec=_0x11cd17[_0x16030e(0x126)],_0x516a9c=this[_0x16030e(0x2e8)],_0x5054d5=this[_0x16030e(0xe7)];if(!_0x5054d5){_0x5054d5=this[_0x16030e(0xe7)]=[];for(var _0x10aec3=0x0;_0x10aec3<_0x516a9c[_0x16030e(0x126)];_0x10aec3++)_0x5054d5[_0x516a9c[_0x16030e(0x79)](_0x10aec3)]=_0x10aec3;}var _0x19148f=_0x516a9c[_0x16030e(0x130)](0x40);if(_0x19148f){var _0x2a6137=_0x11cd17[_0x16030e(0x1e7)](_0x19148f);_0x2a6137!==-0x1&&(_0x37d1ec=_0x2a6137);}return _0x4a56f5(_0x11cd17,_0x37d1ec,_0x5054d5);},'_map':_0x3b29d0(0x484)};function _0x4a56f5(_0x1cc844,_0x2febca,_0x33646b){const _0x121970=_0x3b29d0;for(var _0x4aff3a=[],_0x363b96=0x0,_0x53148b=0x0;_0x53148b<_0x2febca;_0x53148b++)if(_0x53148b%0x4){var _0x3efa81=_0x33646b[_0x1cc844[_0x121970(0x79)](_0x53148b-0x1)]<<_0x53148b%0x4*0x2,_0x566e07=_0x33646b[_0x1cc844[_0x121970(0x79)](_0x53148b)]>>>0x6-_0x53148b%0x4*0x2,_0x3eb0f6=_0x3efa81|_0x566e07;_0x4aff3a[_0x363b96>>>0x2]|=_0x3eb0f6<<0x18-_0x363b96%0x4*0x8,_0x363b96++;}return _0x14c296[_0x121970(0x447)](_0x4aff3a,_0x363b96);}}()),_0x527657[_0x11d2e1(0xc5)][_0x11d2e1(0x2e4)];}));}(Vt)),Vt['exports'];}var Gt={'exports':{}},Zs;function Fa(){const _0x139e29=_0x4e7919;return Zs||(Zs=0x1,function(_0x5d3a92,_0x43d144){(function(_0x203600,_0x2375fd){const _0x570471=_0x5ed9;_0x5d3a92[_0x570471(0x279)]=_0x2375fd(ue());}(Z,function(_0x5bf9cf){const _0x3e9fd6=_0x5ed9;return function(_0x22c53c){const _0x46e6c4=_0x5ed9;var _0x2c4782=_0x5bf9cf,_0x4e9638=_0x2c4782['lib'],_0x2ad1ea=_0x4e9638['WordArray'],_0x5eb0c1=_0x4e9638['Hasher'],_0x320f87=_0x2c4782['algo'],_0x3475a5=[];(function(){const _0x498122=_0x5ed9;for(var _0x39dfbf=0x0;_0x39dfbf<0x40;_0x39dfbf++)_0x3475a5[_0x39dfbf]=_0x22c53c[_0x498122(0x23d)](_0x22c53c[_0x498122(0x321)](_0x39dfbf+0x1))*0x100000000|0x0;}());var _0x3398f8=_0x320f87['MD5']=_0x5eb0c1[_0x46e6c4(0x3d3)]({'_doReset':function(){const _0x7b70f4=_0x46e6c4;this[_0x7b70f4(0x339)]=new _0x2ad1ea['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x192ed7,_0x4f1d45){const _0x56fc2e=_0x46e6c4;for(var _0x20c9c5=0x0;_0x20c9c5<0x10;_0x20c9c5++){var _0x1b61d9=_0x4f1d45+_0x20c9c5,_0x1498ce=_0x192ed7[_0x1b61d9];_0x192ed7[_0x1b61d9]=(_0x1498ce<<0x8|_0x1498ce>>>0x18)&0xff00ff|(_0x1498ce<<0x18|_0x1498ce>>>0x8)&0xff00ff00;}var _0x33c374=this[_0x56fc2e(0x339)][_0x56fc2e(0x10f)],_0x586e67=_0x192ed7[_0x4f1d45+0x0],_0x1dc3e6=_0x192ed7[_0x4f1d45+0x1],_0x4b7d2a=_0x192ed7[_0x4f1d45+0x2],_0x448d5f=_0x192ed7[_0x4f1d45+0x3],_0x274cd6=_0x192ed7[_0x4f1d45+0x4],_0x303405=_0x192ed7[_0x4f1d45+0x5],_0x41307b=_0x192ed7[_0x4f1d45+0x6],_0x24d551=_0x192ed7[_0x4f1d45+0x7],_0x41d4bd=_0x192ed7[_0x4f1d45+0x8],_0x5be2ee=_0x192ed7[_0x4f1d45+0x9],_0x1285b2=_0x192ed7[_0x4f1d45+0xa],_0x2cccee=_0x192ed7[_0x4f1d45+0xb],_0x4270ec=_0x192ed7[_0x4f1d45+0xc],_0x2f0a1a=_0x192ed7[_0x4f1d45+0xd],_0x23ce05=_0x192ed7[_0x4f1d45+0xe],_0x220231=_0x192ed7[_0x4f1d45+0xf],_0x449da9=_0x33c374[0x0],_0x5863e4=_0x33c374[0x1],_0x2052fe=_0x33c374[0x2],_0x255749=_0x33c374[0x3];_0x449da9=_0x3c1197(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x586e67,0x7,_0x3475a5[0x0]),_0x255749=_0x3c1197(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x1dc3e6,0xc,_0x3475a5[0x1]),_0x2052fe=_0x3c1197(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x4b7d2a,0x11,_0x3475a5[0x2]),_0x5863e4=_0x3c1197(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x448d5f,0x16,_0x3475a5[0x3]),_0x449da9=_0x3c1197(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x274cd6,0x7,_0x3475a5[0x4]),_0x255749=_0x3c1197(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x303405,0xc,_0x3475a5[0x5]),_0x2052fe=_0x3c1197(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x41307b,0x11,_0x3475a5[0x6]),_0x5863e4=_0x3c1197(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x24d551,0x16,_0x3475a5[0x7]),_0x449da9=_0x3c1197(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x41d4bd,0x7,_0x3475a5[0x8]),_0x255749=_0x3c1197(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x5be2ee,0xc,_0x3475a5[0x9]),_0x2052fe=_0x3c1197(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x1285b2,0x11,_0x3475a5[0xa]),_0x5863e4=_0x3c1197(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x2cccee,0x16,_0x3475a5[0xb]),_0x449da9=_0x3c1197(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x4270ec,0x7,_0x3475a5[0xc]),_0x255749=_0x3c1197(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x2f0a1a,0xc,_0x3475a5[0xd]),_0x2052fe=_0x3c1197(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x23ce05,0x11,_0x3475a5[0xe]),_0x5863e4=_0x3c1197(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x220231,0x16,_0x3475a5[0xf]),_0x449da9=_0x14b4dc(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x1dc3e6,0x5,_0x3475a5[0x10]),_0x255749=_0x14b4dc(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x41307b,0x9,_0x3475a5[0x11]),_0x2052fe=_0x14b4dc(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x2cccee,0xe,_0x3475a5[0x12]),_0x5863e4=_0x14b4dc(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x586e67,0x14,_0x3475a5[0x13]),_0x449da9=_0x14b4dc(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x303405,0x5,_0x3475a5[0x14]),_0x255749=_0x14b4dc(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x1285b2,0x9,_0x3475a5[0x15]),_0x2052fe=_0x14b4dc(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x220231,0xe,_0x3475a5[0x16]),_0x5863e4=_0x14b4dc(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x274cd6,0x14,_0x3475a5[0x17]),_0x449da9=_0x14b4dc(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x5be2ee,0x5,_0x3475a5[0x18]),_0x255749=_0x14b4dc(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x23ce05,0x9,_0x3475a5[0x19]),_0x2052fe=_0x14b4dc(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x448d5f,0xe,_0x3475a5[0x1a]),_0x5863e4=_0x14b4dc(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x41d4bd,0x14,_0x3475a5[0x1b]),_0x449da9=_0x14b4dc(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x2f0a1a,0x5,_0x3475a5[0x1c]),_0x255749=_0x14b4dc(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x4b7d2a,0x9,_0x3475a5[0x1d]),_0x2052fe=_0x14b4dc(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x24d551,0xe,_0x3475a5[0x1e]),_0x5863e4=_0x14b4dc(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x4270ec,0x14,_0x3475a5[0x1f]),_0x449da9=_0xb34aae(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x303405,0x4,_0x3475a5[0x20]),_0x255749=_0xb34aae(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x41d4bd,0xb,_0x3475a5[0x21]),_0x2052fe=_0xb34aae(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x2cccee,0x10,_0x3475a5[0x22]),_0x5863e4=_0xb34aae(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x23ce05,0x17,_0x3475a5[0x23]),_0x449da9=_0xb34aae(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x1dc3e6,0x4,_0x3475a5[0x24]),_0x255749=_0xb34aae(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x274cd6,0xb,_0x3475a5[0x25]),_0x2052fe=_0xb34aae(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x24d551,0x10,_0x3475a5[0x26]),_0x5863e4=_0xb34aae(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x1285b2,0x17,_0x3475a5[0x27]),_0x449da9=_0xb34aae(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x2f0a1a,0x4,_0x3475a5[0x28]),_0x255749=_0xb34aae(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x586e67,0xb,_0x3475a5[0x29]),_0x2052fe=_0xb34aae(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x448d5f,0x10,_0x3475a5[0x2a]),_0x5863e4=_0xb34aae(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x41307b,0x17,_0x3475a5[0x2b]),_0x449da9=_0xb34aae(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x5be2ee,0x4,_0x3475a5[0x2c]),_0x255749=_0xb34aae(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x4270ec,0xb,_0x3475a5[0x2d]),_0x2052fe=_0xb34aae(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x220231,0x10,_0x3475a5[0x2e]),_0x5863e4=_0xb34aae(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x4b7d2a,0x17,_0x3475a5[0x2f]),_0x449da9=_0x5a7e6e(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x586e67,0x6,_0x3475a5[0x30]),_0x255749=_0x5a7e6e(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x24d551,0xa,_0x3475a5[0x31]),_0x2052fe=_0x5a7e6e(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x23ce05,0xf,_0x3475a5[0x32]),_0x5863e4=_0x5a7e6e(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x303405,0x15,_0x3475a5[0x33]),_0x449da9=_0x5a7e6e(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x4270ec,0x6,_0x3475a5[0x34]),_0x255749=_0x5a7e6e(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x448d5f,0xa,_0x3475a5[0x35]),_0x2052fe=_0x5a7e6e(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x1285b2,0xf,_0x3475a5[0x36]),_0x5863e4=_0x5a7e6e(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x1dc3e6,0x15,_0x3475a5[0x37]),_0x449da9=_0x5a7e6e(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x41d4bd,0x6,_0x3475a5[0x38]),_0x255749=_0x5a7e6e(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x220231,0xa,_0x3475a5[0x39]),_0x2052fe=_0x5a7e6e(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x41307b,0xf,_0x3475a5[0x3a]),_0x5863e4=_0x5a7e6e(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x2f0a1a,0x15,_0x3475a5[0x3b]),_0x449da9=_0x5a7e6e(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x274cd6,0x6,_0x3475a5[0x3c]),_0x255749=_0x5a7e6e(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x2cccee,0xa,_0x3475a5[0x3d]),_0x2052fe=_0x5a7e6e(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x4b7d2a,0xf,_0x3475a5[0x3e]),_0x5863e4=_0x5a7e6e(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x5be2ee,0x15,_0x3475a5[0x3f]),_0x33c374[0x0]=_0x33c374[0x0]+_0x449da9|0x0,_0x33c374[0x1]=_0x33c374[0x1]+_0x5863e4|0x0,_0x33c374[0x2]=_0x33c374[0x2]+_0x2052fe|0x0,_0x33c374[0x3]=_0x33c374[0x3]+_0x255749|0x0;},'_doFinalize':function(){const _0x5f240e=_0x46e6c4;var _0x8cb964=this[_0x5f240e(0x1ed)],_0x4e3163=_0x8cb964['words'],_0x2eb491=this['_nDataBytes']*0x8,_0x3742f2=_0x8cb964[_0x5f240e(0x3bb)]*0x8;_0x4e3163[_0x3742f2>>>0x5]|=0x80<<0x18-_0x3742f2%0x20;var _0x2e593d=_0x22c53c[_0x5f240e(0x1be)](_0x2eb491/0x100000000),_0x365625=_0x2eb491;_0x4e3163[(_0x3742f2+0x40>>>0x9<<0x4)+0xf]=(_0x2e593d<<0x8|_0x2e593d>>>0x18)&0xff00ff|(_0x2e593d<<0x18|_0x2e593d>>>0x8)&0xff00ff00,_0x4e3163[(_0x3742f2+0x40>>>0x9<<0x4)+0xe]=(_0x365625<<0x8|_0x365625>>>0x18)&0xff00ff|(_0x365625<<0x18|_0x365625>>>0x8)&0xff00ff00,_0x8cb964[_0x5f240e(0x3bb)]=(_0x4e3163[_0x5f240e(0x126)]+0x1)*0x4,this[_0x5f240e(0x181)]();for(var _0x5676b2=this[_0x5f240e(0x339)],_0x1edd8b=_0x5676b2[_0x5f240e(0x10f)],_0x4e777a=0x0;_0x4e777a<0x4;_0x4e777a++){var _0x1be32c=_0x1edd8b[_0x4e777a];_0x1edd8b[_0x4e777a]=(_0x1be32c<<0x8|_0x1be32c>>>0x18)&0xff00ff|(_0x1be32c<<0x18|_0x1be32c>>>0x8)&0xff00ff00;}return _0x5676b2;},'clone':function(){const _0x128e46=_0x46e6c4;var _0x9ebe5e=_0x5eb0c1[_0x128e46(0x2f5)][_0x128e46(0x326)](this);return _0x9ebe5e['_hash']=this['_hash']['clone'](),_0x9ebe5e;}});function _0x3c1197(_0x5a2ef8,_0x1713f1,_0x580d50,_0x21573f,_0x524b46,_0x32b39c,_0xd686c6){var _0x244b74=_0x5a2ef8+(_0x1713f1&_0x580d50|~_0x1713f1&_0x21573f)+_0x524b46+_0xd686c6;return(_0x244b74<<_0x32b39c|_0x244b74>>>0x20-_0x32b39c)+_0x1713f1;}function _0x14b4dc(_0xedd01f,_0x466bb9,_0x2c53a9,_0xa7690e,_0x17b1a2,_0xc476bb,_0x27bc3a){var _0x2ff807=_0xedd01f+(_0x466bb9&_0xa7690e|_0x2c53a9&~_0xa7690e)+_0x17b1a2+_0x27bc3a;return(_0x2ff807<<_0xc476bb|_0x2ff807>>>0x20-_0xc476bb)+_0x466bb9;}function _0xb34aae(_0x46b67d,_0x2e86bf,_0x501021,_0x5aa75d,_0x40be07,_0x3a1d39,_0x54bc2b){var _0x4abfdb=_0x46b67d+(_0x2e86bf^_0x501021^_0x5aa75d)+_0x40be07+_0x54bc2b;return(_0x4abfdb<<_0x3a1d39|_0x4abfdb>>>0x20-_0x3a1d39)+_0x2e86bf;}function _0x5a7e6e(_0x30bed1,_0x270554,_0x11e315,_0x3c8b2b,_0x3679ad,_0x496aa9,_0x5a155f){var _0x35b991=_0x30bed1+(_0x11e315^(_0x270554|~_0x3c8b2b))+_0x3679ad+_0x5a155f;return(_0x35b991<<_0x496aa9|_0x35b991>>>0x20-_0x496aa9)+_0x270554;}_0x2c4782['MD5']=_0x5eb0c1[_0x46e6c4(0x3a3)](_0x3398f8),_0x2c4782[_0x46e6c4(0x392)]=_0x5eb0c1[_0x46e6c4(0x11e)](_0x3398f8);}(Math),_0x5bf9cf[_0x3e9fd6(0x3f3)];}));}(Gt)),Gt[_0x139e29(0x279)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function Va(){const _0x3a5465=_0x4e7919;return Qs||(Qs=0x1,function(_0x510843,_0x164530){(function(_0x16a5f7,_0x4353ca){const _0x191660=_0x5ed9;_0x510843[_0x191660(0x279)]=_0x4353ca(ue());}(Z,function(_0x53ad02){const _0x580046=_0x5ed9;return(function(){const _0x5dccee=_0x5ed9;var _0x2e0eed=_0x53ad02,_0x46219b=_0x2e0eed[_0x5dccee(0x24f)],_0x319969=_0x46219b[_0x5dccee(0x3e0)],_0xf72a55=_0x46219b['Hasher'],_0x6fe206=_0x2e0eed[_0x5dccee(0x2c0)],_0x5ec502=[],_0x515506=_0x6fe206[_0x5dccee(0xd4)]=_0xf72a55[_0x5dccee(0x3d3)]({'_doReset':function(){const _0x4348f1=_0x5dccee;this[_0x4348f1(0x339)]=new _0x319969[(_0x4348f1(0x251))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x374a56,_0xa27a7d){const _0x1100be=_0x5dccee;for(var _0x3a8e52=this[_0x1100be(0x339)][_0x1100be(0x10f)],_0x2d903c=_0x3a8e52[0x0],_0x421747=_0x3a8e52[0x1],_0x387623=_0x3a8e52[0x2],_0x279ffd=_0x3a8e52[0x3],_0x4b4704=_0x3a8e52[0x4],_0x132599=0x0;_0x132599<0x50;_0x132599++){if(_0x132599<0x10)_0x5ec502[_0x132599]=_0x374a56[_0xa27a7d+_0x132599]|0x0;else{var _0x270b3b=_0x5ec502[_0x132599-0x3]^_0x5ec502[_0x132599-0x8]^_0x5ec502[_0x132599-0xe]^_0x5ec502[_0x132599-0x10];_0x5ec502[_0x132599]=_0x270b3b<<0x1|_0x270b3b>>>0x1f;}var _0x17b276=(_0x2d903c<<0x5|_0x2d903c>>>0x1b)+_0x4b4704+_0x5ec502[_0x132599];_0x132599<0x14?_0x17b276+=(_0x421747&_0x387623|~_0x421747&_0x279ffd)+0x5a827999:_0x132599<0x28?_0x17b276+=(_0x421747^_0x387623^_0x279ffd)+0x6ed9eba1:_0x132599<0x3c?_0x17b276+=(_0x421747&_0x387623|_0x421747&_0x279ffd|_0x387623&_0x279ffd)-0x70e44324:_0x17b276+=(_0x421747^_0x387623^_0x279ffd)-0x359d3e2a,_0x4b4704=_0x279ffd,_0x279ffd=_0x387623,_0x387623=_0x421747<<0x1e|_0x421747>>>0x2,_0x421747=_0x2d903c,_0x2d903c=_0x17b276;}_0x3a8e52[0x0]=_0x3a8e52[0x0]+_0x2d903c|0x0,_0x3a8e52[0x1]=_0x3a8e52[0x1]+_0x421747|0x0,_0x3a8e52[0x2]=_0x3a8e52[0x2]+_0x387623|0x0,_0x3a8e52[0x3]=_0x3a8e52[0x3]+_0x279ffd|0x0,_0x3a8e52[0x4]=_0x3a8e52[0x4]+_0x4b4704|0x0;},'_doFinalize':function(){const _0x1bf0ac=_0x5dccee;var _0x412245=this[_0x1bf0ac(0x1ed)],_0x243306=_0x412245[_0x1bf0ac(0x10f)],_0x46d16d=this[_0x1bf0ac(0x428)]*0x8,_0x3c57cd=_0x412245[_0x1bf0ac(0x3bb)]*0x8;return _0x243306[_0x3c57cd>>>0x5]|=0x80<<0x18-_0x3c57cd%0x20,_0x243306[(_0x3c57cd+0x40>>>0x9<<0x4)+0xe]=Math[_0x1bf0ac(0x1be)](_0x46d16d/0x100000000),_0x243306[(_0x3c57cd+0x40>>>0x9<<0x4)+0xf]=_0x46d16d,_0x412245[_0x1bf0ac(0x3bb)]=_0x243306['length']*0x4,this[_0x1bf0ac(0x181)](),this['_hash'];},'clone':function(){const _0xc538d5=_0x5dccee;var _0x2e660e=_0xf72a55[_0xc538d5(0x2f5)][_0xc538d5(0x326)](this);return _0x2e660e[_0xc538d5(0x339)]=this[_0xc538d5(0x339)][_0xc538d5(0x2f5)](),_0x2e660e;}});_0x2e0eed['SHA1']=_0xf72a55['_createHelper'](_0x515506),_0x2e0eed['HmacSHA1']=_0xf72a55['_createHmacHelper'](_0x515506);}()),_0x53ad02[_0x580046(0xd4)];}));}(Kt)),Kt[_0x3a5465(0x279)];}var zt={'exports':{}},ei;function Ga(){const _0x5d41ec=_0x4e7919;return ei||(ei=0x1,function(_0x4663b4,_0x48e654){(function(_0x5bbee1,_0x339ab0){_0x4663b4['exports']=_0x339ab0(ue());}(Z,function(_0x4e1d8a){(function(){const _0x3ea72a=_0x5ed9;var _0x45449e=_0x4e1d8a,_0x3aa9fb=_0x45449e['lib'],_0x4f244a=_0x3aa9fb[_0x3ea72a(0x21e)],_0x1cce0e=_0x45449e[_0x3ea72a(0xc5)],_0x1d0df6=_0x1cce0e['Utf8'],_0x4ad0ff=_0x45449e[_0x3ea72a(0x2c0)];_0x4ad0ff[_0x3ea72a(0x394)]=_0x4f244a[_0x3ea72a(0x3d3)]({'init':function(_0x2af4b0,_0x2de934){const _0x880af0=_0x3ea72a;_0x2af4b0=this[_0x880af0(0x390)]=new _0x2af4b0[(_0x880af0(0x251))](),typeof _0x2de934==_0x880af0(0x216)&&(_0x2de934=_0x1d0df6[_0x880af0(0xdc)](_0x2de934));var _0x4ea867=_0x2af4b0[_0x880af0(0x44b)],_0x31058d=_0x4ea867*0x4;_0x2de934['sigBytes']>_0x31058d&&(_0x2de934=_0x2af4b0[_0x880af0(0x1d9)](_0x2de934)),_0x2de934[_0x880af0(0xdf)]();for(var _0x34d3fe=this[_0x880af0(0x1c0)]=_0x2de934[_0x880af0(0x2f5)](),_0x311d4f=this['_iKey']=_0x2de934['clone'](),_0x593dee=_0x34d3fe[_0x880af0(0x10f)],_0xf22929=_0x311d4f[_0x880af0(0x10f)],_0x2af0b1=0x0;_0x2af0b1<_0x4ea867;_0x2af0b1++)_0x593dee[_0x2af0b1]^=0x5c5c5c5c,_0xf22929[_0x2af0b1]^=0x36363636;_0x34d3fe['sigBytes']=_0x311d4f[_0x880af0(0x3bb)]=_0x31058d,this[_0x880af0(0x486)]();},'reset':function(){const _0x1d4fa7=_0x3ea72a;var _0x1abc4e=this[_0x1d4fa7(0x390)];_0x1abc4e[_0x1d4fa7(0x486)](),_0x1abc4e[_0x1d4fa7(0x3c1)](this['_iKey']);},'update':function(_0x33e9fd){const _0x3230d4=_0x3ea72a;return this[_0x3230d4(0x390)][_0x3230d4(0x3c1)](_0x33e9fd),this;},'finalize':function(_0x1c19b5){const _0x672d79=_0x3ea72a;var _0x4b8689=this[_0x672d79(0x390)],_0x5563a1=_0x4b8689[_0x672d79(0x1d9)](_0x1c19b5);_0x4b8689['reset']();var _0x3713e1=_0x4b8689[_0x672d79(0x1d9)](this[_0x672d79(0x1c0)][_0x672d79(0x2f5)]()[_0x672d79(0x24a)](_0x5563a1));return _0x3713e1;}});}());}));}(zt)),zt[_0x5d41ec(0x279)];}var ti;function Fi(){const _0x192677=_0x4e7919;return ti||(ti=0x1,function(_0x1dae0b,_0x368c90){(function(_0x3e5406,_0x431e0c,_0x5ab923){const _0x313497=_0x5ed9;_0x1dae0b[_0x313497(0x279)]=_0x431e0c(ue(),Va(),Ga());}(Z,function(_0x5cd4f7){const _0x4f9b77=_0x5ed9;return(function(){const _0x2b2511=_0x5ed9;var _0x5cd92d=_0x5cd4f7,_0x4f45d4=_0x5cd92d[_0x2b2511(0x24f)],_0x515c23=_0x4f45d4[_0x2b2511(0x21e)],_0x2ecf1d=_0x4f45d4[_0x2b2511(0x3e0)],_0x597e66=_0x5cd92d[_0x2b2511(0x2c0)],_0x34fa1c=_0x597e66[_0x2b2511(0x3f3)],_0x14a9a8=_0x597e66[_0x2b2511(0x45a)]=_0x515c23[_0x2b2511(0x3d3)]({'cfg':_0x515c23[_0x2b2511(0x3d3)]({'keySize':0x80/0x20,'hasher':_0x34fa1c,'iterations':0x1}),'init':function(_0x279370){const _0x5ad044=_0x2b2511;this[_0x5ad044(0x150)]=this['cfg'][_0x5ad044(0x3d3)](_0x279370);},'compute':function(_0x27d7fe,_0x22545d){const _0x1c1bf6=_0x2b2511;for(var _0x215664,_0x2a0e63=this['cfg'],_0x245574=_0x2a0e63[_0x1c1bf6(0x3eb)]['create'](),_0x2d79bb=_0x2ecf1d[_0x1c1bf6(0x447)](),_0x14fdca=_0x2d79bb[_0x1c1bf6(0x10f)],_0x54fdb3=_0x2a0e63[_0x1c1bf6(0x157)],_0x30c9b0=_0x2a0e63[_0x1c1bf6(0x29b)];_0x14fdca[_0x1c1bf6(0x126)]<_0x54fdb3;){_0x215664&&_0x245574[_0x1c1bf6(0x3c1)](_0x215664),_0x215664=_0x245574[_0x1c1bf6(0x3c1)](_0x27d7fe)[_0x1c1bf6(0x1d9)](_0x22545d),_0x245574[_0x1c1bf6(0x486)]();for(var _0xe7c238=0x1;_0xe7c238<_0x30c9b0;_0xe7c238++)_0x215664=_0x245574['finalize'](_0x215664),_0x245574[_0x1c1bf6(0x486)]();_0x2d79bb[_0x1c1bf6(0x24a)](_0x215664);}return _0x2d79bb['sigBytes']=_0x54fdb3*0x4,_0x2d79bb;}});_0x5cd92d['EvpKDF']=function(_0x95ce3a,_0x2ef351,_0x372082){const _0x3e71d4=_0x2b2511;return _0x14a9a8['create'](_0x372082)[_0x3e71d4(0x124)](_0x95ce3a,_0x2ef351);};}()),_0x5cd4f7[_0x4f9b77(0x45a)];}));}(Yt)),Yt[_0x192677(0x279)];}var qt={'exports':{}},si;function Vi(){const _0xf38521=_0x4e7919;return si||(si=0x1,function(_0x316690,_0x2a9cff){(function(_0x198d74,_0xfc1cc7,_0x25ce30){const _0x964111=_0x5ed9;_0x316690[_0x964111(0x279)]=_0xfc1cc7(ue(),Fi());}(Z,function(_0x4b3631){const _0x241fc3=_0x5ed9;_0x4b3631[_0x241fc3(0x24f)]['Cipher']||function(_0x301deb){const _0x401910=_0x241fc3;var _0x4a9760=_0x4b3631,_0x4ec537=_0x4a9760[_0x401910(0x24f)],_0x3ccafb=_0x4ec537[_0x401910(0x21e)],_0x2e786d=_0x4ec537['WordArray'],_0x1e2ecc=_0x4ec537[_0x401910(0x20b)],_0x3019a2=_0x4a9760[_0x401910(0xc5)];_0x3019a2[_0x401910(0x479)];var _0x351334=_0x3019a2[_0x401910(0x2e4)],_0x1d134f=_0x4a9760[_0x401910(0x2c0)],_0x22b8de=_0x1d134f[_0x401910(0x45a)],_0x5decfe=_0x4ec537[_0x401910(0x29e)]=_0x1e2ecc[_0x401910(0x3d3)]({'cfg':_0x3ccafb[_0x401910(0x3d3)](),'createEncryptor':function(_0x237839,_0x5bdc6){const _0x2baf49=_0x401910;return this[_0x2baf49(0x447)](this['_ENC_XFORM_MODE'],_0x237839,_0x5bdc6);},'createDecryptor':function(_0x98cc8a,_0x508b3c){const _0x4f62eb=_0x401910;return this[_0x4f62eb(0x447)](this['_DEC_XFORM_MODE'],_0x98cc8a,_0x508b3c);},'init':function(_0x4db08f,_0x31bf47,_0x370a5c){const _0x34ea48=_0x401910;this[_0x34ea48(0x150)]=this[_0x34ea48(0x150)][_0x34ea48(0x3d3)](_0x370a5c),this[_0x34ea48(0x274)]=_0x4db08f,this[_0x34ea48(0x33f)]=_0x31bf47,this[_0x34ea48(0x486)]();},'reset':function(){const _0x4f0f62=_0x401910;_0x1e2ecc[_0x4f0f62(0x486)]['call'](this),this[_0x4f0f62(0x374)]();},'process':function(_0x238b54){const _0xc9d0dd=_0x401910;return this[_0xc9d0dd(0x3d7)](_0x238b54),this[_0xc9d0dd(0x181)]();},'finalize':function(_0x5260e2){const _0x511169=_0x401910;_0x5260e2&&this[_0x511169(0x3d7)](_0x5260e2);var _0x3b1196=this['_doFinalize']();return _0x3b1196;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x43cc56(_0x52fe1a){return typeof _0x52fe1a=='string'?_0x6c0253:_0x4bfc83;}return function(_0x5d38d8){return{'encrypt':function(_0x4486df,_0x46dc24,_0x33516c){const _0xd19544=_0x5ed9;return _0x43cc56(_0x46dc24)[_0xd19544(0x188)](_0x5d38d8,_0x4486df,_0x46dc24,_0x33516c);},'decrypt':function(_0x7d6518,_0x46ab10,_0x59b945){const _0x3f210a=_0x5ed9;return _0x43cc56(_0x46ab10)[_0x3f210a(0x430)](_0x5d38d8,_0x7d6518,_0x46ab10,_0x59b945);}};};}())});_0x4ec537[_0x401910(0x112)]=_0x5decfe[_0x401910(0x3d3)]({'_doFinalize':function(){var _0x2deb48=this['_process'](!0x0);return _0x2deb48;},'blockSize':0x1});var _0x3f1a95=_0x4a9760[_0x401910(0x362)]={},_0x543ce6=_0x4ec537[_0x401910(0x448)]=_0x3ccafb[_0x401910(0x3d3)]({'createEncryptor':function(_0x3cfead,_0x288dc0){return this['Encryptor']['create'](_0x3cfead,_0x288dc0);},'createDecryptor':function(_0x30e500,_0x566457){const _0x276e8=_0x401910;return this['Decryptor'][_0x276e8(0x447)](_0x30e500,_0x566457);},'init':function(_0x4b6f70,_0x5752b9){const _0x51827d=_0x401910;this[_0x51827d(0x87)]=_0x4b6f70,this[_0x51827d(0x467)]=_0x5752b9;}}),_0x5975a3=_0x3f1a95[_0x401910(0x11d)]=(function(){const _0x236723=_0x401910;var _0x3772b7=_0x543ce6[_0x236723(0x3d3)]();_0x3772b7['Encryptor']=_0x3772b7['extend']({'processBlock':function(_0xcf465c,_0x1473ae){const _0x15bebe=_0x236723;var _0x9d9a1c=this[_0x15bebe(0x87)],_0x483a10=_0x9d9a1c['blockSize'];_0x174e87[_0x15bebe(0x326)](this,_0xcf465c,_0x1473ae,_0x483a10),_0x9d9a1c[_0x15bebe(0x360)](_0xcf465c,_0x1473ae),this[_0x15bebe(0x305)]=_0xcf465c['slice'](_0x1473ae,_0x1473ae+_0x483a10);}}),_0x3772b7['Decryptor']=_0x3772b7[_0x236723(0x3d3)]({'processBlock':function(_0x15be34,_0x12f753){const _0x5c7fa3=_0x236723;var _0x217873=this[_0x5c7fa3(0x87)],_0x339913=_0x217873[_0x5c7fa3(0x44b)],_0x3f5d43=_0x15be34[_0x5c7fa3(0x41b)](_0x12f753,_0x12f753+_0x339913);_0x217873[_0x5c7fa3(0x46c)](_0x15be34,_0x12f753),_0x174e87[_0x5c7fa3(0x326)](this,_0x15be34,_0x12f753,_0x339913),this[_0x5c7fa3(0x305)]=_0x3f5d43;}});function _0x174e87(_0x10feb6,_0x431939,_0x2e3331){const _0xb63f67=_0x236723;var _0x55bcc8,_0x4ccc7e=this['_iv'];_0x4ccc7e?(_0x55bcc8=_0x4ccc7e,this['_iv']=_0x301deb):_0x55bcc8=this[_0xb63f67(0x305)];for(var _0x403cec=0x0;_0x403cec<_0x2e3331;_0x403cec++)_0x10feb6[_0x431939+_0x403cec]^=_0x55bcc8[_0x403cec];}return _0x3772b7;}()),_0x52a37e=_0x4a9760[_0x401910(0x10b)]={},_0x4689d7=_0x52a37e['Pkcs7']={'pad':function(_0x119ffb,_0x262bc0){const _0x47c6f9=_0x401910;for(var _0x39ff75=_0x262bc0*0x4,_0x4fda1a=_0x39ff75-_0x119ffb['sigBytes']%_0x39ff75,_0x1287df=_0x4fda1a<<0x18|_0x4fda1a<<0x10|_0x4fda1a<<0x8|_0x4fda1a,_0x2544a1=[],_0x4b5fee=0x0;_0x4b5fee<_0x4fda1a;_0x4b5fee+=0x4)_0x2544a1[_0x47c6f9(0x209)](_0x1287df);var _0x1dac12=_0x2e786d[_0x47c6f9(0x447)](_0x2544a1,_0x4fda1a);_0x119ffb[_0x47c6f9(0x24a)](_0x1dac12);},'unpad':function(_0x2b1700){const _0x433e36=_0x401910;var _0x5e3858=_0x2b1700[_0x433e36(0x10f)][_0x2b1700[_0x433e36(0x3bb)]-0x1>>>0x2]&0xff;_0x2b1700[_0x433e36(0x3bb)]-=_0x5e3858;}};_0x4ec537[_0x401910(0x234)]=_0x5decfe['extend']({'cfg':_0x5decfe['cfg'][_0x401910(0x3d3)]({'mode':_0x5975a3,'padding':_0x4689d7}),'reset':function(){const _0x4c6ab4=_0x401910;var _0x12a162;_0x5decfe[_0x4c6ab4(0x486)]['call'](this);var _0x34d3c4=this[_0x4c6ab4(0x150)],_0x5d1d46=_0x34d3c4['iv'],_0x5e8c17=_0x34d3c4['mode'];this['_xformMode']==this[_0x4c6ab4(0x40e)]?_0x12a162=_0x5e8c17[_0x4c6ab4(0x39e)]:(_0x12a162=_0x5e8c17[_0x4c6ab4(0x160)],this[_0x4c6ab4(0x1d6)]=0x1),this[_0x4c6ab4(0x1ff)]&&this[_0x4c6ab4(0x1ff)][_0x4c6ab4(0x15a)]==_0x12a162?this[_0x4c6ab4(0x1ff)]['init'](this,_0x5d1d46&&_0x5d1d46['words']):(this[_0x4c6ab4(0x1ff)]=_0x12a162[_0x4c6ab4(0x326)](_0x5e8c17,this,_0x5d1d46&&_0x5d1d46['words']),this[_0x4c6ab4(0x1ff)]['__creator']=_0x12a162);},'_doProcessBlock':function(_0x186881,_0x1a99e0){const _0x5e3eea=_0x401910;this[_0x5e3eea(0x1ff)][_0x5e3eea(0x257)](_0x186881,_0x1a99e0);},'_doFinalize':function(){const _0x4e5acf=_0x401910;var _0x42f24b,_0x5d4f76=this[_0x4e5acf(0x150)]['padding'];return this['_xformMode']==this[_0x4e5acf(0x40e)]?(_0x5d4f76['pad'](this['_data'],this[_0x4e5acf(0x44b)]),_0x42f24b=this[_0x4e5acf(0x181)](!0x0)):(_0x42f24b=this['_process'](!0x0),_0x5d4f76[_0x4e5acf(0x287)](_0x42f24b)),_0x42f24b;},'blockSize':0x80/0x20});var _0x1f962f=_0x4ec537['CipherParams']=_0x3ccafb['extend']({'init':function(_0x15c2e3){const _0x2ea1e7=_0x401910;this[_0x2ea1e7(0x9d)](_0x15c2e3);},'toString':function(_0x580035){const _0x2da8d0=_0x401910;return(_0x580035||this[_0x2da8d0(0x23f)])[_0x2da8d0(0x47a)](this);}}),_0xb62bae=_0x4a9760[_0x401910(0x485)]={},_0x38abd8=_0xb62bae[_0x401910(0xd1)]={'stringify':function(_0x518668){const _0x1bef8c=_0x401910;var _0x5d67a9,_0x4f24bf=_0x518668[_0x1bef8c(0x255)],_0x42525b=_0x518668[_0x1bef8c(0x3f9)];return _0x42525b?_0x5d67a9=_0x2e786d[_0x1bef8c(0x447)]([0x53616c74,0x65645f5f])[_0x1bef8c(0x24a)](_0x42525b)[_0x1bef8c(0x24a)](_0x4f24bf):_0x5d67a9=_0x4f24bf,_0x5d67a9[_0x1bef8c(0x227)](_0x351334);},'parse':function(_0x52913d){const _0x3fae64=_0x401910;var _0x438dae,_0x466ae5=_0x351334[_0x3fae64(0xdc)](_0x52913d),_0x199b70=_0x466ae5['words'];return _0x199b70[0x0]==0x53616c74&&_0x199b70[0x1]==0x65645f5f&&(_0x438dae=_0x2e786d[_0x3fae64(0x447)](_0x199b70[_0x3fae64(0x41b)](0x2,0x4)),_0x199b70[_0x3fae64(0x3d9)](0x0,0x4),_0x466ae5[_0x3fae64(0x3bb)]-=0x10),_0x1f962f[_0x3fae64(0x447)]({'ciphertext':_0x466ae5,'salt':_0x438dae});}},_0x4bfc83=_0x4ec537[_0x401910(0x129)]=_0x3ccafb[_0x401910(0x3d3)]({'cfg':_0x3ccafb[_0x401910(0x3d3)]({'format':_0x38abd8}),'encrypt':function(_0x4f2ee5,_0x133e32,_0x42eb35,_0x5dd8bd){const _0x2fd68d=_0x401910;_0x5dd8bd=this[_0x2fd68d(0x150)][_0x2fd68d(0x3d3)](_0x5dd8bd);var _0x3ba993=_0x4f2ee5['createEncryptor'](_0x42eb35,_0x5dd8bd),_0x27d5c0=_0x3ba993[_0x2fd68d(0x1d9)](_0x133e32),_0x25f4b0=_0x3ba993[_0x2fd68d(0x150)];return _0x1f962f['create']({'ciphertext':_0x27d5c0,'key':_0x42eb35,'iv':_0x25f4b0['iv'],'algorithm':_0x4f2ee5,'mode':_0x25f4b0[_0x2fd68d(0x362)],'padding':_0x25f4b0['padding'],'blockSize':_0x4f2ee5[_0x2fd68d(0x44b)],'formatter':_0x5dd8bd[_0x2fd68d(0x485)]});},'decrypt':function(_0x2470ba,_0x5ddaad,_0x37c9fd,_0x1b7038){const _0x468970=_0x401910;_0x1b7038=this[_0x468970(0x150)][_0x468970(0x3d3)](_0x1b7038),_0x5ddaad=this[_0x468970(0x412)](_0x5ddaad,_0x1b7038[_0x468970(0x485)]);var _0x45ec0b=_0x2470ba[_0x468970(0x160)](_0x37c9fd,_0x1b7038)[_0x468970(0x1d9)](_0x5ddaad['ciphertext']);return _0x45ec0b;},'_parse':function(_0x12c234,_0x1ac32f){const _0x121db2=_0x401910;return typeof _0x12c234==_0x121db2(0x216)?_0x1ac32f[_0x121db2(0xdc)](_0x12c234,this):_0x12c234;}}),_0x6d1cd0=_0x4a9760[_0x401910(0x46b)]={},_0xd47263=_0x6d1cd0[_0x401910(0xd1)]={'execute':function(_0x23231c,_0x530f33,_0x17953a,_0x1ed985,_0x1af956){const _0x327c03=_0x401910;if(_0x1ed985||(_0x1ed985=_0x2e786d['random'](0x40/0x8)),_0x1af956)var _0x3a61dd=_0x22b8de[_0x327c03(0x447)]({'keySize':_0x530f33+_0x17953a,'hasher':_0x1af956})[_0x327c03(0x124)](_0x23231c,_0x1ed985);else var _0x3a61dd=_0x22b8de[_0x327c03(0x447)]({'keySize':_0x530f33+_0x17953a})[_0x327c03(0x124)](_0x23231c,_0x1ed985);var _0x5ab071=_0x2e786d[_0x327c03(0x447)](_0x3a61dd[_0x327c03(0x10f)][_0x327c03(0x41b)](_0x530f33),_0x17953a*0x4);return _0x3a61dd[_0x327c03(0x3bb)]=_0x530f33*0x4,_0x1f962f[_0x327c03(0x447)]({'key':_0x3a61dd,'iv':_0x5ab071,'salt':_0x1ed985});}},_0x6c0253=_0x4ec537[_0x401910(0x2d9)]=_0x4bfc83[_0x401910(0x3d3)]({'cfg':_0x4bfc83['cfg'][_0x401910(0x3d3)]({'kdf':_0xd47263}),'encrypt':function(_0x531c4e,_0x2a3568,_0x52461a,_0x82f526){const _0x1d0ad7=_0x401910;_0x82f526=this[_0x1d0ad7(0x150)][_0x1d0ad7(0x3d3)](_0x82f526);var _0x4de1bd=_0x82f526['kdf'][_0x1d0ad7(0x2b5)](_0x52461a,_0x531c4e[_0x1d0ad7(0x157)],_0x531c4e[_0x1d0ad7(0x19f)],_0x82f526['salt'],_0x82f526['hasher']);_0x82f526['iv']=_0x4de1bd['iv'];var _0x20f51c=_0x4bfc83[_0x1d0ad7(0x188)]['call'](this,_0x531c4e,_0x2a3568,_0x4de1bd[_0x1d0ad7(0x1a7)],_0x82f526);return _0x20f51c['mixIn'](_0x4de1bd),_0x20f51c;},'decrypt':function(_0x540276,_0x385aac,_0x55a1d3,_0x4ad085){const _0x47d0b8=_0x401910;_0x4ad085=this[_0x47d0b8(0x150)][_0x47d0b8(0x3d3)](_0x4ad085),_0x385aac=this[_0x47d0b8(0x412)](_0x385aac,_0x4ad085[_0x47d0b8(0x485)]);var _0x1b87ad=_0x4ad085[_0x47d0b8(0x46b)][_0x47d0b8(0x2b5)](_0x55a1d3,_0x540276[_0x47d0b8(0x157)],_0x540276[_0x47d0b8(0x19f)],_0x385aac['salt'],_0x4ad085[_0x47d0b8(0x3eb)]);_0x4ad085['iv']=_0x1b87ad['iv'];var _0x59dffe=_0x4bfc83[_0x47d0b8(0x430)][_0x47d0b8(0x326)](this,_0x540276,_0x385aac,_0x1b87ad[_0x47d0b8(0x1a7)],_0x4ad085);return _0x59dffe;}});}();}));}(qt)),qt[_0xf38521(0x279)];}(function(_0x25e113,_0x35851b){(function(_0x287f4a,_0x2595db,_0x3c16ce){const _0x109032=_0x5ed9;_0x25e113[_0x109032(0x279)]=_0x2595db(ue(),Wi(),Fa(),Fi(),Vi());}(Z,function(_0x115911){const _0x1ca586=_0x5ed9;return(function(){const _0x410863=_0x5ed9;var _0x22da41=_0x115911,_0x4332a1=_0x22da41['lib'],_0x33f2d0=_0x4332a1[_0x410863(0x234)],_0x4c193f=_0x22da41['algo'],_0x2cf256=[],_0xb0585c=[],_0x30933a=[],_0x67c2da=[],_0x2ac4b1=[],_0x4b0724=[],_0x462def=[],_0x1308dc=[],_0x3b5710=[],_0x148a53=[];(function(){for(var _0x2fefa6=[],_0x397417=0x0;_0x397417<0x100;_0x397417++)_0x397417<0x80?_0x2fefa6[_0x397417]=_0x397417<<0x1:_0x2fefa6[_0x397417]=_0x397417<<0x1^0x11b;for(var _0x3525c9=0x0,_0x12d76=0x0,_0x397417=0x0;_0x397417<0x100;_0x397417++){var _0x45b3=_0x12d76^_0x12d76<<0x1^_0x12d76<<0x2^_0x12d76<<0x3^_0x12d76<<0x4;_0x45b3=_0x45b3>>>0x8^_0x45b3&0xff^0x63,_0x2cf256[_0x3525c9]=_0x45b3,_0xb0585c[_0x45b3]=_0x3525c9;var _0x5692f5=_0x2fefa6[_0x3525c9],_0x464837=_0x2fefa6[_0x5692f5],_0x4c5c54=_0x2fefa6[_0x464837],_0x369eb9=_0x2fefa6[_0x45b3]*0x101^_0x45b3*0x1010100;_0x30933a[_0x3525c9]=_0x369eb9<<0x18|_0x369eb9>>>0x8,_0x67c2da[_0x3525c9]=_0x369eb9<<0x10|_0x369eb9>>>0x10,_0x2ac4b1[_0x3525c9]=_0x369eb9<<0x8|_0x369eb9>>>0x18,_0x4b0724[_0x3525c9]=_0x369eb9;var _0x369eb9=_0x4c5c54*0x1010101^_0x464837*0x10001^_0x5692f5*0x101^_0x3525c9*0x1010100;_0x462def[_0x45b3]=_0x369eb9<<0x18|_0x369eb9>>>0x8,_0x1308dc[_0x45b3]=_0x369eb9<<0x10|_0x369eb9>>>0x10,_0x3b5710[_0x45b3]=_0x369eb9<<0x8|_0x369eb9>>>0x18,_0x148a53[_0x45b3]=_0x369eb9,_0x3525c9?(_0x3525c9=_0x5692f5^_0x2fefa6[_0x2fefa6[_0x2fefa6[_0x4c5c54^_0x5692f5]]],_0x12d76^=_0x2fefa6[_0x2fefa6[_0x12d76]]):_0x3525c9=_0x12d76=0x1;}}());var _0x297b8b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x38e123=_0x4c193f[_0x410863(0x25f)]=_0x33f2d0[_0x410863(0x3d3)]({'_doReset':function(){const _0x548650=_0x410863;var _0x580d28;if(!(this['_nRounds']&&this[_0x548650(0x81)]===this['_key'])){for(var _0x2afccb=this[_0x548650(0x81)]=this[_0x548650(0x33f)],_0x44f407=_0x2afccb[_0x548650(0x10f)],_0x5537bc=_0x2afccb['sigBytes']/0x4,_0x3f0a4e=this[_0x548650(0xd0)]=_0x5537bc+0x6,_0xadab14=(_0x3f0a4e+0x1)*0x4,_0x4f9fc2=this[_0x548650(0x1a8)]=[],_0x3fb18f=0x0;_0x3fb18f<_0xadab14;_0x3fb18f++)_0x3fb18f<_0x5537bc?_0x4f9fc2[_0x3fb18f]=_0x44f407[_0x3fb18f]:(_0x580d28=_0x4f9fc2[_0x3fb18f-0x1],_0x3fb18f%_0x5537bc?_0x5537bc>0x6&&_0x3fb18f%_0x5537bc==0x4&&(_0x580d28=_0x2cf256[_0x580d28>>>0x18]<<0x18|_0x2cf256[_0x580d28>>>0x10&0xff]<<0x10|_0x2cf256[_0x580d28>>>0x8&0xff]<<0x8|_0x2cf256[_0x580d28&0xff]):(_0x580d28=_0x580d28<<0x8|_0x580d28>>>0x18,_0x580d28=_0x2cf256[_0x580d28>>>0x18]<<0x18|_0x2cf256[_0x580d28>>>0x10&0xff]<<0x10|_0x2cf256[_0x580d28>>>0x8&0xff]<<0x8|_0x2cf256[_0x580d28&0xff],_0x580d28^=_0x297b8b[_0x3fb18f/_0x5537bc|0x0]<<0x18),_0x4f9fc2[_0x3fb18f]=_0x4f9fc2[_0x3fb18f-_0x5537bc]^_0x580d28);for(var _0x234327=this[_0x548650(0x7f)]=[],_0x594466=0x0;_0x594466<_0xadab14;_0x594466++){var _0x3fb18f=_0xadab14-_0x594466;if(_0x594466%0x4)var _0x580d28=_0x4f9fc2[_0x3fb18f];else var _0x580d28=_0x4f9fc2[_0x3fb18f-0x4];_0x594466<0x4||_0x3fb18f<=0x4?_0x234327[_0x594466]=_0x580d28:_0x234327[_0x594466]=_0x462def[_0x2cf256[_0x580d28>>>0x18]]^_0x1308dc[_0x2cf256[_0x580d28>>>0x10&0xff]]^_0x3b5710[_0x2cf256[_0x580d28>>>0x8&0xff]]^_0x148a53[_0x2cf256[_0x580d28&0xff]];}}},'encryptBlock':function(_0x244b51,_0x24b363){const _0x1b19e9=_0x410863;this[_0x1b19e9(0x433)](_0x244b51,_0x24b363,this[_0x1b19e9(0x1a8)],_0x30933a,_0x67c2da,_0x2ac4b1,_0x4b0724,_0x2cf256);},'decryptBlock':function(_0x554d19,_0xd9a4b3){const _0x578e03=_0x410863;var _0x5b1441=_0x554d19[_0xd9a4b3+0x1];_0x554d19[_0xd9a4b3+0x1]=_0x554d19[_0xd9a4b3+0x3],_0x554d19[_0xd9a4b3+0x3]=_0x5b1441,this[_0x578e03(0x433)](_0x554d19,_0xd9a4b3,this[_0x578e03(0x7f)],_0x462def,_0x1308dc,_0x3b5710,_0x148a53,_0xb0585c);var _0x5b1441=_0x554d19[_0xd9a4b3+0x1];_0x554d19[_0xd9a4b3+0x1]=_0x554d19[_0xd9a4b3+0x3],_0x554d19[_0xd9a4b3+0x3]=_0x5b1441;},'_doCryptBlock':function(_0x1d0237,_0x24182a,_0x128cc5,_0x52556d,_0xfbb0c,_0x4dfbe3,_0x2695e0,_0x188438){const _0x46f9dd=_0x410863;for(var _0x21aecc=this[_0x46f9dd(0xd0)],_0x57f1d2=_0x1d0237[_0x24182a]^_0x128cc5[0x0],_0x25b065=_0x1d0237[_0x24182a+0x1]^_0x128cc5[0x1],_0x4e2096=_0x1d0237[_0x24182a+0x2]^_0x128cc5[0x2],_0x5d6039=_0x1d0237[_0x24182a+0x3]^_0x128cc5[0x3],_0x10f88d=0x4,_0x15cc18=0x1;_0x15cc18<_0x21aecc;_0x15cc18++){var _0x212e87=_0x52556d[_0x57f1d2>>>0x18]^_0xfbb0c[_0x25b065>>>0x10&0xff]^_0x4dfbe3[_0x4e2096>>>0x8&0xff]^_0x2695e0[_0x5d6039&0xff]^_0x128cc5[_0x10f88d++],_0x3fc560=_0x52556d[_0x25b065>>>0x18]^_0xfbb0c[_0x4e2096>>>0x10&0xff]^_0x4dfbe3[_0x5d6039>>>0x8&0xff]^_0x2695e0[_0x57f1d2&0xff]^_0x128cc5[_0x10f88d++],_0x2899a4=_0x52556d[_0x4e2096>>>0x18]^_0xfbb0c[_0x5d6039>>>0x10&0xff]^_0x4dfbe3[_0x57f1d2>>>0x8&0xff]^_0x2695e0[_0x25b065&0xff]^_0x128cc5[_0x10f88d++],_0x301a98=_0x52556d[_0x5d6039>>>0x18]^_0xfbb0c[_0x57f1d2>>>0x10&0xff]^_0x4dfbe3[_0x25b065>>>0x8&0xff]^_0x2695e0[_0x4e2096&0xff]^_0x128cc5[_0x10f88d++];_0x57f1d2=_0x212e87,_0x25b065=_0x3fc560,_0x4e2096=_0x2899a4,_0x5d6039=_0x301a98;}var _0x212e87=(_0x188438[_0x57f1d2>>>0x18]<<0x18|_0x188438[_0x25b065>>>0x10&0xff]<<0x10|_0x188438[_0x4e2096>>>0x8&0xff]<<0x8|_0x188438[_0x5d6039&0xff])^_0x128cc5[_0x10f88d++],_0x3fc560=(_0x188438[_0x25b065>>>0x18]<<0x18|_0x188438[_0x4e2096>>>0x10&0xff]<<0x10|_0x188438[_0x5d6039>>>0x8&0xff]<<0x8|_0x188438[_0x57f1d2&0xff])^_0x128cc5[_0x10f88d++],_0x2899a4=(_0x188438[_0x4e2096>>>0x18]<<0x18|_0x188438[_0x5d6039>>>0x10&0xff]<<0x10|_0x188438[_0x57f1d2>>>0x8&0xff]<<0x8|_0x188438[_0x25b065&0xff])^_0x128cc5[_0x10f88d++],_0x301a98=(_0x188438[_0x5d6039>>>0x18]<<0x18|_0x188438[_0x57f1d2>>>0x10&0xff]<<0x10|_0x188438[_0x25b065>>>0x8&0xff]<<0x8|_0x188438[_0x4e2096&0xff])^_0x128cc5[_0x10f88d++];_0x1d0237[_0x24182a]=_0x212e87,_0x1d0237[_0x24182a+0x1]=_0x3fc560,_0x1d0237[_0x24182a+0x2]=_0x2899a4,_0x1d0237[_0x24182a+0x3]=_0x301a98;},'keySize':0x100/0x20});_0x22da41['AES']=_0x33f2d0['_createHelper'](_0x38e123);}()),_0x115911[_0x1ca586(0x25f)];}));}(ki));var Ya=ki['exports'];const Ka=at(Ya);var za=Wi();const ii=at(za);var Gi={'exports':{}};(function(_0x117851,_0x3e82cb){(function(_0x2e87de,_0x44187f){const _0x125566=_0x5ed9;_0x117851[_0x125566(0x279)]=_0x44187f(ue());}(Z,function(_0x3ab2bc){const _0x5d0174=_0x5ed9;return _0x3ab2bc[_0x5d0174(0xc5)]['Utf8'];}));}(Gi));var qa=Gi[_0x4e7919(0x279)];const Xa=at(qa);var Yi={'exports':{}};(function(_0x6e0154,_0x55e219){(function(_0xd85524,_0x19a803){const _0x4e1b66=_0x5ed9;_0x6e0154[_0x4e1b66(0x279)]=_0x19a803(ue());}(Z,function(_0x4c75e6){const _0x1f742c=_0x5ed9;return(function(){const _0x4ad9a5=_0x5ed9;if(typeof ArrayBuffer==_0x4ad9a5(0x389)){var _0x1dd597=_0x4c75e6,_0x236c64=_0x1dd597[_0x4ad9a5(0x24f)],_0x30780f=_0x236c64['WordArray'],_0x2d5360=_0x30780f[_0x4ad9a5(0x251)],_0x2730f0=_0x30780f['init']=function(_0x2742c6){const _0x3ae610=_0x4ad9a5;if(_0x2742c6 instanceof ArrayBuffer&&(_0x2742c6=new Uint8Array(_0x2742c6)),(_0x2742c6 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2742c6 instanceof Uint8ClampedArray||_0x2742c6 instanceof Int16Array||_0x2742c6 instanceof Uint16Array||_0x2742c6 instanceof Int32Array||_0x2742c6 instanceof Uint32Array||_0x2742c6 instanceof Float32Array||_0x2742c6 instanceof Float64Array)&&(_0x2742c6=new Uint8Array(_0x2742c6['buffer'],_0x2742c6[_0x3ae610(0x190)],_0x2742c6[_0x3ae610(0x310)])),_0x2742c6 instanceof Uint8Array){for(var _0x371ab2=_0x2742c6[_0x3ae610(0x310)],_0x30d80a=[],_0x11cc8c=0x0;_0x11cc8c<_0x371ab2;_0x11cc8c++)_0x30d80a[_0x11cc8c>>>0x2]|=_0x2742c6[_0x11cc8c]<<0x18-_0x11cc8c%0x4*0x8;_0x2d5360['call'](this,_0x30d80a,_0x371ab2);}else _0x2d5360[_0x3ae610(0x2d7)](this,arguments);};_0x2730f0[_0x4ad9a5(0x208)]=_0x30780f;}}()),_0x4c75e6[_0x1f742c(0x24f)][_0x1f742c(0x3e0)];}));}(Yi));function _0x3f1c(){const _0x40230c=['equals','getRangePointData','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','path','message$','onCommandExecuted','/role','onMissedChangesetFetched','next','UNIVER_COLLABORATION_CLIENT_PLUGIN','_fetchMissChangesets','_initResize','className','_ENC_XFORM_MODE','complete','_scheduleCollaborationTimeoutTimer','snapshotServerUrl','_parse','_range','clear','univer-offline','YUUMI_UNABLE_LOAD_URL','onlineStatusIcon','closePath','_toggleOffline','_shapes','slice','_snapshotServerService','_createInitialStateImpl','SNAPSHOT_HAS_BEEN_REMOVED','getFocusedUnit','sendChangesetTimeout','replaceState','_getSheetObject','currentTheme$','_docTransformStateCacheService','randomUUID','getUnitId','HELLO','_nDataBytes','fillRule','_onJoinRoomEvent','1128FFDAOx','icon','_initCommandExecutedListener','filter','startTime','decrypt','blue400','...','_doCryptBlock','permission.content','getAllMembers','_localStorageService','\x0aCurrent:\x20','_config','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','arc','_exhaustRemoteChangesetQueue','moveTo','compose','replace','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_telemetryInfo','on-line-single','_handleHeartbeatEvent','_messageService','offline','_clearCollaborationTimeoutTimer','enableLocalCache','create','BlockCipherMode','newValue','objectType','blockSize','_acknowledgedAwaitingChangeset','currentColor','_sender','bottom','state','exhaustSavingTask','rev','OnLineSingle','withCredentials','onRemoteChangeset','UnitSnapshot','Error','_singleActiveUnitService','status','EvpKDF','contains','RemoveColCommandId','state$','getActiveSheet','setShapeProps','_transformRemoteChangesetByStateCache','#fff','29961rYSYey','PERMISSION_REJ','/allowed','__esModule','onSendChangeset','_iv','from','onlineStatusTitle','_unitID','kdf','decryptBlock','_state','_sendingTimer','origin','NO_OTHER_CLIENTS_EDITING','width','HttpExport','_createInitialState','_initEventListeners','put','4290803FrAHCt','endRow','/new_changes','Utf8','stringify','leaveEvent','\x20in\x20_schedule.','registerRenderModule','AUTHZ_URL_KEY','body','post','[PendingState]:\x20received\x20acknowledgement.','change$','UPDATE_CURSOR','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','format','reset','FAIL','563624szrwul','_socketReady','socket\x20close','_updateLocalCursor','COMPLETION_FINISHED','UNDEFINED','height','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','loadDoc','SNAPSHOT_SERVER_URL_KEY','session.collaboration-timeout','YUUMI_RATE_OVER_LIMIT','json','unshift','_initStatusListener','charCodeAt','_telemetryService','appendMutation','send','_transformPreviousActiveRange','177175OgpNjk','_invKeySchedule','_transformSelections','_keyPriorReset','Could\x20not\x20dynamically\x20require\x20\x22','_entityInit$','transformUndoRedo','pending','then','_cipher','onPointerLeave$','c1Prime','FETCH_MISS','unitID','_labelPosition','TEXT','image/png','FileId','collabStatus.fetchMiss','editingUnit','_refRangeService','text','getAncestorScale','UNKNOWN_CMD','BASE64','NOT_FOUND','default','popstate','&assign=','_getAPIPrefix','_clearScheduledTask','mixIn','awaiting_with_pending','objectID','liveShareOperation','setCurrentUser','_removeCollabCursors','_getLoginPath','UNIVER_PROJECT','range','_resendTimeout','TOO_MANY_REQUESTS','assignAColorForMemberID','MSG_FOR_ERROR','_waitCount','uni.network.url-service','number','[CollaborationSession]','_removeClearOtherTimer','roomInfos','disposeWithMe','with','transformByState','_redoStacks','[CollaborationSessionService]','_hovered','removeMember','history','save','cmd','_assignedColors','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_getUndoStack','svg','JOINING','[CollaborationSessionService]:\x20socket\x20error','dispose','_sessions','ERROR_EXCEED_SIZE','href','roles','enc','ranges','reject','_getSaveTimeout','_transformUndoRedoStack','m2Prime','14YesLZH','\x20-\x20','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','repeat','univer-pro.collaboration-client-socket-service','_nRounds','OpenSSL','_onFetchMissResult','permissionRejEvent','SHA1','subUnitId','close$','registerBeforeClose','LIVESHARE_TERMINATE','InsertRangeMoveRightCommandId','_beforeCloseService','_submitChangeset','parse','collab-text-range-','getImage','clamp','RECV','getItem','univer-online-status-title','batchAllowed','visibilityState','undoState','MoveRangeCommandId','_reverseMap','{fileID}','symbol','_urlService','_sendHeartbeatTimer','liveShareNewHost','joinRsp','downloadEndpointUrl','setParam','confirm','_getUploadFileURL','_awaitingChangeset','use','_heartbeatTimer','findNodePositionByCharIndex','rng','_collaborationSessionService','flatMap','_revisionService','CHANGESET_ACK','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','defIds','_getCtorByUniverType','357NknLJm','collabStatus.offline','_change$','skeleton','black','COMPRESS_MUTATION_APPLY','urlChange$','image/bmp','_collabSessionService','selections','x-univer-host','sessionStatus$','replaceDocRanges','pad','PERMISSION_DENIED','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_id','words','_unlockTransition','enableSingleActiveInstanceLock','StreamCipher','_socket','reverse','_onUserLeave','close','_onCursorDelete','sheets','getRenderById','listRoles','workbook','fromCharCode','CBC','_createHmacHelper','_getMergeRange','/fetchmissing?from=','csAckEvent','executeCommand','_sheetSkeletonManagerService','compute','override','length','toRgbString','_handler','SerializableCipher','ENSURE_SNAPSHOT_EXECUTION','_getAnchorBounding','/universer-api/stream/file/upload','transformSelections','LICENSE_EXPORT_SIZE_EXCEEDED','[OfflineState]:\x20received\x20rejection.','charAt','Malformed\x20UTF-8\x20data','transformMutation','_hover','SNAPSHOT_URL_KEY','_docSyncEditingCollabCursorService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getCurrentSelections','currentSkeleton$','url','values','mutations','capture','HttpImport','defineProperty','_roomMembers$','MUTATION','APPLY_NON_SEQUENTIAL_REVISION','_onCombEvent','_syncEditingCollabCursorService','_unitStatus','getSkeleton','_cursor','searchParams','row','collaboration.closeRoom','_shouldReportTelemetry','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','__Key__','connection\x20error','encode','enableOfflineEditing','cfg','saveSnapshot','_syncEditingCollabCursor','_getCurrentRevision','_handleHover','unsubscribe','APPLY_PERMISSION_DENIED','keySize','redoState','displayName','__creator','_incrementRevisionNumber','_transformIMECache','dispose$','measureText','delete','createDecryptor','eventID','/resources','fetchThroughInterceptors','startsWith','_listenToOfflineEvent','transformChangesets','_disabled','encodeURIComponent','onTransformSelections','_permissionService','reduce','all','event$','get','msCrypto','_replaceFileID','registerHTTPInterceptor','_send','onRemoteRej','_getSendChangesetTimeout','_userManagerService','toLowerCase','_scheduleHeartbeat','baseRev','_scheduleSaving','_event$','updatePermissionPoint','clipPath','_memberService','_drawRectRange','setAlpha','asObservable','_process','_onConflict','HEARTBEAT_INTERVAL','getCollabEntity$','_getSnapshotAPIPrefix','fill','_members','encrypt','VIEW_MAIN','createSocket','onStarting','getTypeOfUnitDisposed$','url(#on-line-single_clip0_910_349)','getStateCache','_logService','byteOffset','13360jUOiJQ','_initRequestHeader','bind','getCollabEntity','type','LIVESHARE_FETCH_OPERATIONS','COLLAB_SUBMIT_CHANGESET_URL','?size=','NOT_COLLAB','$super','m1Prime','collab-rect-range-','getRandomValues','_socket$','ivSize','SNAPSHOT_INVALID_SNAPSHOT','hasOwnProperty','registerRefRange','onRemoteRetry','ws://127.0.0.1:8000/universer-api/comb/connect','red300','1em','key','_keySchedule','isArray','POST','NoPadding','target','_onMessage','_sendHeartbeat','sheetID','allowed','children','crypto','/universer-api/comb','getOffsetConfig','permission.title','OTHER_CLIENTS_EDITING','error$','LOGIN_URL_KEY','fetching\x20missing\x20changesets\x20from\x20','_backgroundColor','getDocRanges','_onRemoteRetry','getParam','floor','_saveTaskMap','_oKey','_online','_transformHistoryAndStateStack','saveChangeset','onPointerEnter$','evenodd','YUUMI_SUBSCRIPTION_NOT_FOUND','AWAITING_WITH_PENDING','_themeService','auth.needGotoLoginAlert','collaboration-client.config','_handleJoinEvent','onlineStatus','_clearOtherTimers','requestParams','status$','_doProcessBlock','setInterval','_clearTimeoutTimer','updateMember','roomMembers','csShouldRetryEvent','_minBufferSize','transformStack\x20failed!','_saveCache','finalize','FromArray','_cursorInfo$','Warning','getMergeData','_updateCollabCursors','_resendTimer','cursorInfo$','collab-client.tooltip.reconnect','joinEvent','_colorIndex','_injector','INVALID_ARGUMENT','onReady','indexOf','_HTTPService','getWorkbookSelections','objectActions','jsxs','cursorInfo','_data','onPointerMove$','column','selection','subscribe','_updateSubUnitFromURLParams','every','_configService','_retryCount','ref','setTimeout','_cursors','_loadDoc','fillText','addObjects','docStateChange$','_colorAssignService','collabStatus.syncing','_mode','submit\x20changeset\x20error!','getSheetId','[UniverCollaborationClientPlugin]','getCurrent','[OfflineState]:\x20received\x20acknowledgement.','_updateLocalCache','UPDATE_PERMISSION_OBJ','_lockTransition','prototype','push','memberID','BufferedBlockAlgorithm','_schedule','/block/','newCsEvent','univer-online-status','pipe','LICENSE_DISTRO_REJECTED','onTransformRemoteChangesetByStateCache','HEARTBEAT','transformMutationsWithChangeset','reconnect','string','getViewport','Hasher','fillStyle','_stopTelemetryCollaborationNewChangeset','forEach','1267218FDZmpL','textRanges','Base','_collabCursorState$','randomBytes','_status$','toggleOffline','UNKNOWN_CODE','_startCollaboration','UNIVER_SLIDE','_clearLocalCache','toString','clearTimeout','_getAPIPrefixPath','find','_unitOnClients','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[CollaborationUndoRedoService]','collaboration-client.offline-data-not-saved','object','_listenToOnlineEvent','hide','_remoteChangesetQueue','/collaborator','BlockCipher','_socketMessageSubscription','debug','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_localeService','_onRemoteChangeset','getTime','onStateChange','_docSkeletonManagerService','abs','_drawAnchor','formatter','collabStatus.synced','activeSheet$','ALREADY_EXISTS','show','params','_clearHeartbeatTimer','enableAuthServer','saveOfflineData','_tryReconnect','_draw','concat','LICENSE_MAX_UNITS_EXCEEDED','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','error','_applyRemoteChangeset','lib','reqId','init','_hideTimer','div','isPermissionRej','ciphertext','/-/object/-/batch_allowed','processBlock','_lastPointer','socket\x20open.','[CollaborationState]:\x20apply\x20error!','_removeRoom','_checkMissing','conflict.title','interceptor','AES','originalMeta','0\x200\x2016\x2016','_startDocCollabCursor','InsertColCommandId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','HEADER_MENU','UUID','_collaborationPaused','pauseCollaboration','&to=','SUBMIT_CHANGESET','color','_ensureSubject','unload','entries','now','_initUnitPermissionChange','_eventUnsubscribe','createCollaborator','_transformUndoredo','_xformMode','/universer-api/snapshot','/universer-api/file/{fileID}/sign-url','size','subscribeEvent','exports','_localCacheService','_collaborationController','_name','getTypeOfUnitAdded$','sid','_candidateSocket','_snapshotService','loadOfflineData','onTransformIME','_replayCachedMutations','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','colorChannel1','_sessionStatus$','unpad','collaboration_new_changeset','AWAITING','data','triggerDblclick','tag','_retryConnectingTimer','/unit/','ONLINE','_executeRemoteChangeset','startRow','_anchor','_pendingMutations','updateCursorEvent','code','_compressMutationService','has','_cursorShapes','_selfUnitIDs','_univerInstanceService','iterations','_entities','_throwTelemetryCollaborationNewChangeset','Cipher','UNIVER_SHEET','set','_cachedData','_docStateChangeManagerService','getConfig','collaMsg','CHANGESET_SHOULD_RETRY','top','_httpService','_transformStack','DeleteRangeMoveUpCommandId','_sheetTransformSelectionsService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_transformService','_createSocket','/object','_queuedRemoteChangesets','InsertRowCommandId','roomMembers$','defaultProps','RemoveRowCommandId','_onRemoteRejected','execute','univer-online','not_collab','resolve','UNRECOGNIZED','UNIVER_UNKNOWN','_docSkeleton','YUUMI_URL_COL_OUT_OF_RANGE','_transitionLocked','changesets','_onConnectionOpen','algo','font','_collabCursorController','getSheetBySheetId','retryConnectingInterval','_isPermissionRej','_commandService','UnitEmbedded','duration','createInstance','subunit','deepClone','_getSignURL','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_updateStatus','none','fetchMissingChangesets','getVpScrollXYInfoByPosToVp','off-line-single','commentUpdateEvent','getCurrentUnitForType','unknown','_transformRemoteChangesetByIMECache','apply','getResourcesRequest','PasswordBasedCipher','updatePermissionObjEvent','_scene','add','Unknown\x20user','10vhpUDc','univerjs-icon\x20univerjs-icon-','461190idefZC','getUniverSheetInstance','join','onTransformRemoteChangesetByIMECache','Base64','ceil','_resendWithTimeout','_handleLeaveEvent','_map','M0\x200H16V16H0z','_tryEnsureSocket','round','/universer-api/authz','syncEditingCollabCursor','_createHandler','lineTo','SHOULD_CLOSE_CONN','synced','_changesetSessionId','CONNECTOR_DATA_TOO_LARGE','_http','clone','ERROR_IMAGE','getUndoRedoMutationParamsCache','IDLE','stopTime','save\x20fail\x20reason\x20is\x20','jiqing500','jsx','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','substring','_onLocalMutation','online','session.connection-failed','signUrlServerUrl','xlink:href','_setupBeforeClosingHandler','_prevBlock','_context','getUnitType','onMissingChangesets','transformRemoteChangeset','/-/object/list','\x20to\x20','disableLocalCache','pluginName','fetch_missing','[SyncedState]:\x20received\x20rejection.','byteLength','onload','setStateCache','_onUserJoin','getCollabCursors$','addEventListener','_undoRedoService','catch','[SyncedState]:\x20received\x20acknowledgement.','whenReady','_initMergeInterceptor','idSuffix','setWaitCount','getUnitStatus$','SEND_CHANGESET_TIMEOUT','_clearRedo','_collaborationTimeoutTimer','sin','setUndoRedoMutationParamsCache','Error\x20on\x20receiving\x20event','getMember','/object/','call','_type','InsertRangeMoveDownCommandId','random','_instanceService','registerComponent','isEditing','[FetchMissState]','map','getInterceptPoints','react.fragment','APPLY_DUPLICATED','image/jpg','assign','LIVESHARE_OPERATION','_anchorDot','session','_scheduleTimestamp','result','_hash','getOwnPropertySymbols','pushState','_initCloseConn','split','LIVESHARE_REQUEST_HOST','_key','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','_loadSheet','userID','rgba(255,\x20255,\x20255,\x200.01)','getCurrentRevOfUnit','_decreaseWaiting','focused$','responseType','USERS_LEAVE','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_scheduleClearOtherTimer','generateRandomId','collabStatus.conflict','_onRemoteACK','_render','_startTelemetryCollaborationNewChangeset','_init','_color','collaboration-session-retry','off-line-single_clip0_910_343','setItem','closeSession','transformIMECache','updateOfflineData','getValue','_updateURLWithCurrentState','LIVESHARE_NEW_HOST','addObject','_substituteUndoStack','collaboratorID','_ws','onMouseMove','encryptBlock','trim','mode','_notificationService','includes','getSheetBlock','JOIN','actions','authzUrl','SUCCUSS','[DataLoaderController]','react.element','DEFAULT_FILE_NAME','setShowComponents','_commentService','_onCursorUpdate','_renderManagerService','headers','hidden','gold400','_doReset','LICENSE_IMPORT_SIZE_EXCEEDED','_roomMembers','copyFileMeta','COMMENT_UPDATE','loadSheet','sessionStatus','onSyncEditingCollabCursor','objects','_initStatusComponent','_startSheetCollabCursor','restore','getLatestCsReqIdBySid','_timeoutTimer','failed\x20to\x20apply\x20missed\x20changesets!','NEW_CHANGESETS','max','initWorkbookPermissionChange','requireSession','SYNCED','[OfflineState]:\x20received\x20changeset.','function','image/jpeg','defs','resend','registerOnClose','RETRY_CONNECTING_MAX_COUNT','Univer','_hasher','LOCAL_CACHE_INTERVAL','HmacMD5','_registerDependencies','HMAC','_setupSubUnitSync','startColumn','INTERNAL_ERROR','awaitingChangeset','csRejEvent','\x0aAfter:\x20','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','transformStateCache','open$','createEncryptor','refreshPermission','_transformStateCache','hovered','min','_createHelper','method','on-line-single_clip0_910_349','hostname','CHANGESET_REVISION_CONFILICT','_textBubble','getOwnPropertyDescriptor','PENDING','_refreshCollabCursors','OffLineSingle','_commentUpdate$','[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.','_waitForHeartbeatResponse','_docTransformSelectionsService','toggleOnline','commentUpdate$','isActive','_getRedoStack','_docTransformIMECacheService','saveSheetBlock','DeleteRangeMoveLeftCommandId','doc.mutation.rich-text-editing','0\x200\x2017\x2016','_changesetReqId','sigBytes','uploadFileServerUrl','_clearUndo','UNAUTHENTICATED','revision','PSEUDO_FETCH_MISSING_RESULT','update','_onRecvEvent','attrs','getCurrentUser','clearInterval','CHANGESET_REJ','ACTIVE_UNIT_EVENT_CHANNEL','_drawTextRange','APPLY_REVISION_CONFILICT','UNIVER_DOC','conflict','_rescheduleHeartbeat','getMemberID','getRelativeToViewportCoord','_showConflictNotification','Hex','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_toggleOnline','extend','_updateState','collabSubmitChangesetUrl','_registerRenderDependencies','_append','CONFLICT','splice','infoRsp','_onConnectionFailed','Latin1','_state$','_onRefRangeChange','name','WordArray','collaborators','_session','readInt32LE','append','USERS_ENTER','INGEST','unitId','UniverIcon','location','LEAVE','hasher','backgroundColor','routeKey','_uiPartsService','_joinRoom','_getScale','FETCH_MISSING','drawWith','MD5','OFFLINE','RECT','/universer-api/oidc/authpage','_imageSourceCache','Undefined','salt','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','onRemoteAck','unit','onTransformState','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','onCommentUpdate','_substituteRedoStack'];_0x3f1c=function(){return _0x40230c;};return _0x3f1c();}var Ja=Yi[_0x4e7919(0x279)];const Za=at(Ja);var Ki={'exports':{}};(function(_0x1ae468,_0x21ce08){(function(_0x46c892,_0xae9e68,_0x3a6fa9){const _0x50ab58=_0x5ed9;_0x1ae468[_0x50ab58(0x279)]=_0xae9e68(ue(),Vi());}(Z,function(_0x3d6ad8){const _0x555010=_0x5ed9;return _0x3d6ad8[_0x555010(0x10b)][_0x555010(0x1ab)]={'pad':function(){},'unpad':function(){}},_0x3d6ad8[_0x555010(0x10b)][_0x555010(0x1ab)];}));}(Ki));var Qa=Ki[_0x4e7919(0x279)];const ec=at(Qa);function tc(_0x4c95d4,_0x2536d6){const _0x4955d4=_0x4e7919,_0x2050ab=_0x2536d6-_0x4c95d4[_0x4955d4(0x126)]%_0x2536d6,_0x7133b5=String[_0x4955d4(0x11c)](_0x2050ab)[_0x4955d4(0xce)](_0x2050ab);return _0x4c95d4+_0x7133b5;}function sc(_0x57b908,_0x54589c){const _0x48b209=_0x4e7919,_0x6c6962=Za[_0x48b209(0x329)](0x10),_0x44f483=tc(_0x57b908,0x10),_0x229408=Ka[_0x48b209(0x188)](Xa['parse'](_0x44f483),ii['parse'](_0x54589c),{'iv':_0x6c6962,'padding':ec});return _0x6c6962['concat'](_0x229408[_0x48b209(0x255)])[_0x48b209(0x227)](ii);}function ic(){const _0x18ceaf=_0x4e7919,_0x5ae601=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x18ceaf(0x14c)];if(_0x5ae601){const _0x3cabd1={'time':Math[_0x18ceaf(0x1be)](Date[_0x18ceaf(0x26f)]()/0x3e8),'domain':location[_0x18ceaf(0x3a6)]};return sc(JSON[_0x18ceaf(0x47a)](_0x3cabd1),_0x5ae601);}}var nc=Object[_0x4e7919(0x13e)],rc=Object['getOwnPropertyDescriptor'],oc=(_0x381091,_0x40d18e,_0x44bd59,_0x3354aa)=>{for(var _0x2517ff=_0x3354aa>0x1?void 0x0:_0x3354aa?rc(_0x40d18e,_0x44bd59):_0x40d18e,_0x2cb450=_0x381091['length']-0x1,_0x2b08c8;_0x2cb450>=0x0;_0x2cb450--)(_0x2b08c8=_0x381091[_0x2cb450])&&(_0x2517ff=(_0x3354aa?_0x2b08c8(_0x40d18e,_0x44bd59,_0x2517ff):_0x2b08c8(_0x2517ff))||_0x2517ff);return _0x3354aa&&_0x2517ff&&nc(_0x40d18e,_0x44bd59,_0x2517ff),_0x2517ff;},ac=(_0x59b458,_0x3c0f9f)=>(_0x53ad8c,_0x2ccd5c)=>_0x3c0f9f(_0x53ad8c,_0x2ccd5c,_0x59b458);let bt=class{constructor(_0x58729f){const _0x2d61fc=_0x4e7919;this['_httpService']=_0x58729f,this[_0x2d61fc(0x192)]();}[_0x4e7919(0x192)](){const _0x591442=_0x4e7919;this['_httpService'][_0x591442(0x171)]({'interceptor':(_0x1c98a7,_0x2fa61f)=>{const _0x5258b5=_0x591442,_0x4e7895=_0x1c98a7[_0x5258b5(0x371)],_0x4292eb=ic();return _0x4292eb&&_0x4e7895[_0x5258b5(0x2a0)](_0x5258b5(0x108),_0x4292eb),_0x2fa61f(_0x1c98a7);}});}};bt=oc([ac(0x0,_0x557b7a(_0x55adc1))],bt);var cc=Object['defineProperty'],hc=Object['getOwnPropertyDescriptor'],lc=(_0x1c88dc,_0x4519db,_0x25799f,_0x4069db)=>{const _0x453085=_0x4e7919;for(var _0x5d8383=_0x4069db>0x1?void 0x0:_0x4069db?hc(_0x4519db,_0x25799f):_0x4519db,_0x2fc8ab=_0x1c88dc[_0x453085(0x126)]-0x1,_0x31da09;_0x2fc8ab>=0x0;_0x2fc8ab--)(_0x31da09=_0x1c88dc[_0x2fc8ab])&&(_0x5d8383=(_0x4069db?_0x31da09(_0x4519db,_0x25799f,_0x5d8383):_0x31da09(_0x5d8383))||_0x5d8383);return _0x4069db&&_0x5d8383&&cc(_0x4519db,_0x25799f,_0x5d8383),_0x5d8383;},Xt=(_0x8979a7,_0x328897)=>(_0x559b77,_0x2fd2a9)=>_0x328897(_0x559b77,_0x2fd2a9,_0x8979a7);const _c=[_0x4e7919(0x8e),_0x4e7919(0x38a),_0x4e7919(0x332),'image/gif',_0x4e7919(0x105)],uc=0x5*0x400*0x400,dc=_0x4e7919(0x237),fc=_0x4e7919(0x12c),vc=_0x4e7919(0x10d),mc=_0x4e7919(0x276);let hs=class{constructor(_0x495f9a,_0x4a31b2,_0x1b120c){const _0x537007=_0x4e7919;g(this,_0x537007(0xaa),0x0),g(this,_0x537007(0x100),new _0x7a1bd7()),g(this,_0x537007(0x482),this['_change$']),g(this,'_imageSourceCache',new Map()),(this[_0x537007(0x2a7)]=_0x495f9a,this[_0x537007(0x1f4)]=_0x4a31b2,this[_0x537007(0x29a)]=_0x1b120c);}[_0x4e7919(0x31c)](_0x7c1e3a){const _0x10d06e=_0x4e7919;this[_0x10d06e(0xaa)]=_0x7c1e3a,this['_change$'][_0x10d06e(0x409)](_0x7c1e3a);}['getImageSourceCache'](_0x9be56f,_0x298f0b){const _0xaa76ec=_0x4e7919;if(_0x298f0b===_0x16cd67[_0xaa76ec(0x96)]){const _0x3fe660=new Image();return _0x3fe660['src']=_0x9be56f,_0x3fe660;}return this[_0xaa76ec(0x3f7)][_0xaa76ec(0x16e)](_0x9be56f);}['addImageSourceCache'](_0x4e2564,_0x284c05,_0x3d3b78){const _0x47f6f0=_0x4e7919;_0x284c05===_0x16cd67[_0x47f6f0(0x96)]||_0x3d3b78==null||this[_0x47f6f0(0x3f7)]['set'](_0x4e2564,_0x3d3b78);}async[_0x4e7919(0xde)](_0x3a24ab){const _0x38231a=_0x4e7919;try{const _0xa93812=this[_0x38231a(0x170)](this['_getSignURL'](),''+_0x3a24ab),_0x586d33=(await this[_0x38231a(0x2a7)]['get'](_0xa93812))[_0x38231a(0x47f)];if(_0x586d33[_0x38231a(0x24d)]&&_0x586d33[_0x38231a(0x24d)][_0x38231a(0x295)]===Ri['OK']){const _0x534801=new URL(_0x586d33['url'],this['_getDownloadEndpointURL']())[_0x38231a(0x227)]();return Promise[_0x38231a(0x2b8)](_0x534801);}return Promise[_0x38231a(0xc7)](_0x586d33[_0x38231a(0x24d)]);}catch(_0x48a5e6){return Promise[_0x38231a(0xc7)](_0x48a5e6);}}async['saveImage'](_0x4ee31e){const _0x441bef=_0x4e7919;let _0x29d3bc='';if(!_c[_0x441bef(0x364)](_0x4ee31e['type']))return this['_decreaseWaiting'](),Promise[_0x441bef(0xc7)](new Error(_0x890ba8['ERROR_IMAGE_TYPE']));if(_0x4ee31e[_0x441bef(0x277)]>uc)return this[_0x441bef(0x345)](),Promise[_0x441bef(0xc7)](new Error(_0x890ba8[_0x441bef(0xc2)]));try{const _0x3485d4=new FormData();_0x3485d4[_0x441bef(0x3e4)]('file',_0x4ee31e);const _0x396905=this[_0x441bef(0x29a)][_0x441bef(0x41f)](),_0x25bcd2=_0x396905==null?void 0x0:_0x396905[_0x441bef(0x426)]();if(!_0x25bcd2)throw new Error('unitId\x20is\x20not\x20found');const _0xa9f3fc=this[_0x441bef(0xf1)]()+_0x441bef(0x198)+_0x4ee31e['size'][_0x441bef(0x227)]()+'&source='+yi['UnitEmbedded']+_0x441bef(0x9a)+encodeURIComponent(_0x25bcd2),_0x53065d=await(await fetch(_0xa9f3fc,{'method':_0x441bef(0x1aa),'body':_0x3485d4}))[_0x441bef(0x494)]();if(typeof _0x53065d[_0x441bef(0x8f)]!='string')return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x890ba8[_0x441bef(0x2f6)]));_0x29d3bc=_0x53065d[_0x441bef(0x8f)];}catch{return this[_0x441bef(0x345)](),Promise[_0x441bef(0xc7)](new Error(_0x890ba8[_0x441bef(0x2f6)]));}return new Promise((_0x5170e6,_0x495b53)=>{const _0x4f13b1=_0x441bef,_0x5b700a=new FileReader();_0x5b700a['readAsDataURL'](_0x4ee31e),_0x5b700a[_0x4f13b1(0x311)]=_0x51410=>{const _0x46a400=_0x4f13b1;var _0xf2f00;const _0x14c249=(_0xf2f00=_0x51410[_0x46a400(0x1ac)])==null?void 0x0:_0xf2f00[_0x46a400(0x338)];if(_0x14c249==null){this[_0x46a400(0x345)](),_0x495b53(new Error(_0x890ba8[_0x46a400(0x2f6)]));return;}const _0x43ba47=_0x162500[_0x46a400(0x34b)](0x6);_0x5170e6({'imageId':_0x43ba47,'imageSourceType':_0x16cd67[_0x46a400(0x266)],'source':_0x29d3bc,'base64Cache':_0x14c249,'status':_0x890ba8[_0x46a400(0x369)]}),this[_0x46a400(0x345)]();};});}[_0x4e7919(0xf1)](){const _0x4eaf55=_0x4e7919;var _0x7ae53c,_0x3e56de;const _0x3afcf9=this['_configService'][_0x4eaf55(0x2a3)](dc),_0x1c8054=this[_0x4eaf55(0x1f4)][_0x4eaf55(0x2a3)](ie);return(_0x3e56de=(_0x7ae53c=_0x1c8054==null?void 0x0:_0x1c8054[_0x4eaf55(0x3bc)])!=null?_0x7ae53c:_0x3afcf9)!=null?_0x3e56de:fc;}[_0x4e7919(0x2cc)](){const _0x357eb6=_0x4e7919;var _0x331bdf,_0xc6591;const _0x16ee44=this[_0x357eb6(0x1f4)][_0x357eb6(0x2a3)](vc),_0x3eb690=this[_0x357eb6(0x1f4)][_0x357eb6(0x2a3)](ie);return(_0xc6591=(_0x331bdf=_0x3eb690==null?void 0x0:_0x3eb690[_0x357eb6(0x302)])!=null?_0x331bdf:_0x16ee44)!=null?_0xc6591:mc;}['_getDownloadEndpointURL'](){const _0x38c5ad=_0x4e7919;var _0x598802;const _0x1fbe28=this['_configService'][_0x38c5ad(0x2a3)](ie);return(_0x598802=_0x1fbe28==null?void 0x0:_0x1fbe28[_0x38c5ad(0xee)])!=null?_0x598802:location[_0x38c5ad(0x46f)];}['_replaceFileID'](_0x1d3554,_0x447484){const _0x57aafe=_0x4e7919;return _0x1d3554['replace'](_0x57aafe(0xe8),_0x447484);}[_0x4e7919(0x345)](){const _0x40cc7d=_0x4e7919;this[_0x40cc7d(0xaa)]-=0x1,this[_0x40cc7d(0x100)][_0x40cc7d(0x409)](this[_0x40cc7d(0xaa)]);}};hs=lc([Xt(0x0,_0x557b7a(_0x55adc1)),Xt(0x1,_0x88f14),Xt(0x2,_0x557b7a(_0x5e27bc))],hs);var pc=Object[_0x4e7919(0x13e)],gc=Object['getOwnPropertyDescriptor'],Sc=(_0x5e9e0d,_0x17d949,_0x40fffe,_0x501bae)=>{const _0x203f78=_0x4e7919;for(var _0x4b3f9b=_0x501bae>0x1?void 0x0:_0x501bae?gc(_0x17d949,_0x40fffe):_0x17d949,_0x73a709=_0x5e9e0d[_0x203f78(0x126)]-0x1,_0x5d53d6;_0x73a709>=0x0;_0x73a709--)(_0x5d53d6=_0x5e9e0d[_0x73a709])&&(_0x4b3f9b=(_0x501bae?_0x5d53d6(_0x17d949,_0x40fffe,_0x4b3f9b):_0x5d53d6(_0x4b3f9b))||_0x4b3f9b);return _0x501bae&&_0x4b3f9b&&pc(_0x17d949,_0x40fffe,_0x4b3f9b),_0x4b3f9b;},Qe=(_0x1945bc,_0x5afed2)=>(_0x50704f,_0x5f13c7)=>_0x5afed2(_0x50704f,_0x5f13c7,_0x1945bc);let Tt=class extends _0x15900e{constructor(_0x2d3503,_0x25d901,_0x2b0250,_0x584405,_0xa2c656){const _0x52da8f=_0x4e7919;super(),this['_injector']=_0x2d3503,this[_0x52da8f(0x29a)]=_0x25d901,this[_0x52da8f(0x16a)]=_0x2b0250,this[_0x52da8f(0xf7)]=_0x584405,this[_0x52da8f(0x238)]=_0xa2c656,this[_0x52da8f(0x270)](),this[_0x52da8f(0x33c)]();}[_0x4e7919(0x33c)](){const _0x8d32c7=_0x4e7919,_0x120849=async _0x1a950b=>{const _0x1f999e=_0x5ed9;(await this[_0x1f999e(0xf7)][_0x1f999e(0x386)](_0x1a950b))[_0x1f999e(0x16d)][_0x1f999e(0x210)](_0x27f80a(_0x34b985=>_0x34b985[_0x1f999e(0x161)]===_0xb7e982[_0x1f999e(0x2f0)]),_0xcb8c8d(this[_0x1f999e(0x15d)]))[_0x1f999e(0x1f1)](_0x255c1c=>{const _0x19d3df=_0x1f999e,_0x1ebe9b=_0x255c1c,{reason:_0x2bf51f}=_0x1ebe9b[_0x19d3df(0x28a)];this[_0x19d3df(0x1e4)][_0x19d3df(0x16e)](_0x4e3214)[_0x19d3df(0x243)]({'type':_0x302b10[_0x19d3df(0x457)],'content':this['_localeService']['t'](_0x19d3df(0x149))+'('+_0x2bf51f+')'}),this[_0x19d3df(0x16a)][_0x19d3df(0x17b)](new _0x32a62a(_0x1a950b)['id'],!0x1),this[_0x19d3df(0xf7)][_0x19d3df(0x355)](_0x1a950b);});};_0x365701(this[_0x8d32c7(0x29a)][_0x8d32c7(0x27d)](_0x470972[_0x8d32c7(0x29f)]),this[_0x8d32c7(0x29a)]['getTypeOfUnitAdded$'](_0x470972[_0x8d32c7(0x3ca)]))[_0x8d32c7(0x210)](_0x1a1a5b(_0x2c0a04=>_0x2c0a04['getUnitId']()),_0x27f80a(_0x52bfaf=>!_0x55b28a(_0x52bfaf)),_0xcb8c8d(this[_0x8d32c7(0x15d)]))['subscribe'](_0xfe8642=>{_0x120849(_0xfe8642);});}[_0x4e7919(0x270)](){const _0x2a962a=_0x4e7919,_0x15071c=async _0x42c86f=>{const _0x5d8184=_0x5ed9;(await this[_0x5d8184(0xf7)][_0x5d8184(0x386)](_0x42c86f))[_0x5d8184(0x16d)][_0x5d8184(0x210)](_0x27f80a(_0x11d4d6=>_0x11d4d6[_0x5d8184(0x161)]===_0xb7e982['UPDATE_PERMISSION_OBJ']),_0xcb8c8d(this[_0x5d8184(0x15d)]))['subscribe'](_0x2c71f3=>{const _0x2bf552=_0x5d8184,_0x3ea4c5=_0x2c71f3,{objectId:_0xf41c60}=_0x3ea4c5[_0x2bf552(0x28a)],_0x2ec0b1=this[_0x2bf552(0x1e4)][_0x2bf552(0x16e)](_0x10dd90);_0xf41c60===_0x42c86f?_0x2ec0b1[_0x2bf552(0x385)](_0x42c86f):_0x2ec0b1[_0x2bf552(0x39f)](_0x42c86f,_0xf41c60);});};_0x365701(this['_univerInstanceService'][_0x2a962a(0x27d)](_0x470972[_0x2a962a(0x29f)]),this['_univerInstanceService'][_0x2a962a(0x27d)](_0x470972[_0x2a962a(0x3ca)]))[_0x2a962a(0x210)](_0x1a1a5b(_0x5d4c5c=>_0x5d4c5c[_0x2a962a(0x426)]()),_0x27f80a(_0x5070a7=>!_0x55b28a(_0x5070a7)),_0xcb8c8d(this[_0x2a962a(0x15d)]))[_0x2a962a(0x1f1)](_0x16aa0f=>{_0x15071c(_0x16aa0f);});}};Tt=Sc([Qe(0x0,_0x557b7a(_0x5a5437)),Qe(0x1,_0x5e27bc),Qe(0x2,_0x4f30d5),Qe(0x3,_0x557b7a(Ae)),Qe(0x4,_0x557b7a(_0x5e134c))],Tt);var Ic=Object['defineProperty'],Cc=Object[_0x4e7919(0x3a9)],Ec=(_0x34a2b5,_0x1dc6d3,_0x4e3882,_0x573043)=>{const _0x4e5602=_0x4e7919;for(var _0x275358=_0x573043>0x1?void 0x0:_0x573043?Cc(_0x1dc6d3,_0x4e3882):_0x1dc6d3,_0xaf8260=_0x34a2b5[_0x4e5602(0x126)]-0x1,_0x59c1ca;_0xaf8260>=0x0;_0xaf8260--)(_0x59c1ca=_0x34a2b5[_0xaf8260])&&(_0x275358=(_0x573043?_0x59c1ca(_0x1dc6d3,_0x4e3882,_0x275358):_0x59c1ca(_0x275358))||_0x275358);return _0x573043&&_0x275358&&Ic(_0x1dc6d3,_0x4e3882,_0x275358),_0x275358;},ni=(_0x459f80,_0x3ea3a2)=>(_0x50c2f0,_0x12cdd0)=>_0x3ea3a2(_0x50c2f0,_0x12cdd0,_0x459f80);let ls=class{constructor(_0x41ac35,_0x427eb0){const _0x3c2224=_0x4e7919;this[_0x3c2224(0x1f4)]=_0x41ac35,this[_0x3c2224(0x2a7)]=_0x427eb0;}async['getUnitOnRev'](_0x292bc2,_0x12eac5){const _0x140158=_0x4e7919;var _0x15257a;const {unitID:_0x317602,type:_0x35da18,revision:_0x188e85=0x0}=_0x12eac5,_0x241abb=this[_0x140158(0x185)]()+'/'+_0x35da18+_0x140158(0x28e)+_0x317602+'/rev/'+_0x188e85,_0x330a13=(await this[_0x140158(0x2a7)][_0x140158(0x16e)](_0x241abb))['body'],_0x11e2fc=(_0x15257a=_0x330a13['snapshot'])==null?void 0x0:_0x15257a[_0x140158(0x11b)];if(_0x11e2fc){const _0x46e56f=_0x11e2fc==null?void 0x0:_0x11e2fc[_0x140158(0x260)],_0x55997e=_0x2f80e5[_0x140158(0x14e)](_0x51acde(_0x46e56f));_0x11e2fc['originalMeta']=_0x55997e,Object[_0x140158(0x26e)](_0x11e2fc[_0x140158(0x118)])['forEach'](([,_0x572403])=>{const _0x292db0=_0x140158,_0x51d35c=_0x572403['originalMeta'],_0x4693a3=_0x2f80e5[_0x292db0(0x14e)](_0x51acde(_0x51d35c));_0x572403[_0x292db0(0x260)]=_0x4693a3;});}return _0x330a13;}async[_0x4e7919(0x365)](_0x20bb28,_0x2f6376){const _0x36d98e=_0x4e7919,{unitID:_0xd86b7b,type:_0x1d2c86,blockID:_0x31c591}=_0x2f6376,_0x453c5d=this['_getAPIPrefix']()+'/'+_0x1d2c86+_0x36d98e(0x28e)+_0xd86b7b+_0x36d98e(0x20d)+_0x31c591;return(await this['_httpService'][_0x36d98e(0x16e)](_0x453c5d))[_0x36d98e(0x47f)];}async['getDeserializedSheetBlock'](_0x42f4f9,_0xbb095d){const _0x49b737=_0x4e7919,{unitID:_0x2a9486,type:_0x206dee,blockID:_0x532e90}=_0xbb095d,_0x1b336f=this[_0x49b737(0x9b)]()+'/block/'+_0x206dee+_0x49b737(0x28e)+_0x2a9486+_0x49b737(0x20d)+_0x532e90;return(await this[_0x49b737(0x2a7)][_0x49b737(0x16e)](_0x1b336f))[_0x49b737(0x47f)];}async[_0x4e7919(0x2d0)](_0x568745,_0x5cd246){const _0x207d55=_0x4e7919,{unitID:_0xa98fa8,type:_0x3a25d5,from:_0x1ebb79,to:_0x1b1bef}=_0x5cd246,_0x9cd934=this['_getAPIPrefix']()+'/'+_0x3a25d5+_0x207d55(0x28e)+_0xa98fa8+_0x207d55(0x120)+_0x1ebb79+_0x207d55(0x269)+_0x1b1bef;return(await this[_0x207d55(0x2a7)][_0x207d55(0x16e)](_0x9cd934))['body'];}[_0x4e7919(0x185)](){const _0x5b912=_0x4e7919;var _0x45a9e5;return(_0x45a9e5=this[_0x5b912(0x1f4)]['getConfig'](lr))!=null?_0x45a9e5:this['_getAPIPrefix']();}[_0x4e7919(0x9b)](){const _0x2d8cb6=_0x4e7919;var _0x265ce6,_0x305302;const _0xcef28d=this[_0x2d8cb6(0x1f4)]['getConfig'](cr),_0x41e879=this[_0x2d8cb6(0x1f4)][_0x2d8cb6(0x2a3)](ie);return(_0x305302=(_0x265ce6=_0x41e879==null?void 0x0:_0x41e879[_0x2d8cb6(0x411)])!=null?_0x265ce6:_0xcef28d)!=null?_0x305302:hr;}async[_0x4e7919(0x2d8)](_0x46899a,_0xb7702c){const _0x34049d=_0x4e7919,_0x5b4e3b='/universer-api/snapshot/'+_0xb7702c['type']+_0x34049d(0x28e)+_0xb7702c[_0x34049d(0x8b)]+_0x34049d(0x162);return(await this[_0x34049d(0x2a7)]['get'](_0x5b4e3b,{'params':{'resourceId':JSON['stringify'](_0xb7702c['resourceIDs'])}}))[_0x34049d(0x47f)];}[_0x4e7919(0x151)](){const _0x376d39=_0x4e7919;throw new Error(_0x376d39(0x439));}[_0x4e7919(0x3b6)](){const _0x49d71c=_0x4e7919;throw new Error(_0x49d71c(0x439));}[_0x4e7919(0x1c3)](){const _0x4dbb59=_0x4e7919;throw new Error(_0x4dbb59(0x439));}[_0x4e7919(0x377)](){const _0x52e605=_0x4e7919;throw new Error(_0x52e605(0x439));}[_0x4e7919(0x380)](){const _0x28c7b0=_0x4e7919;throw new Error(_0x28c7b0(0x439));}};ls=Ec([ni(0x0,_0x88f14),ni(0x1,_0x557b7a(_0x55adc1))],ls);var bc=Object[_0x4e7919(0x13e)],Tc=Object[_0x4e7919(0x3a9)],Rc=(_0xeb6bde,_0x2cdf76,_0x11bad2,_0x1fec3e)=>{for(var _0x23d066=_0x1fec3e>0x1?void 0x0:_0x1fec3e?Tc(_0x2cdf76,_0x11bad2):_0x2cdf76,_0xc83abf=_0xeb6bde['length']-0x1,_0x35d8b1;_0xc83abf>=0x0;_0xc83abf--)(_0x35d8b1=_0xeb6bde[_0xc83abf])&&(_0x23d066=(_0x1fec3e?_0x35d8b1(_0x2cdf76,_0x11bad2,_0x23d066):_0x35d8b1(_0x23d066))||_0x23d066);return _0x1fec3e&&_0x23d066&&bc(_0x2cdf76,_0x11bad2,_0x23d066),_0x23d066;},et=(_0x507724,_0x111a88)=>(_0x1c732a,_0x1d29a3)=>_0x111a88(_0x1c732a,_0x1d29a3,_0x507724);let _s=class extends _0x19c15f{constructor(_0x4034fd,_0xcf8d44,_0x3ccab0,_0x3bacc3,_0x19fffe){const _0x121ff3=_0x4e7919;super(_0x4034fd,_0xcf8d44,_0x3ccab0),this['_transformService']=_0x3bacc3,this[_0x121ff3(0x18f)]=_0x19fffe;}[_0x4e7919(0x84)](_0x538fa3,_0x5ee905){const _0x1f7d0b=_0x4e7919,_0x5131df=this[_0x1f7d0b(0xbc)](_0x538fa3);if(_0x5131df)try{const _0x2ef1c9=this['_transformStack'](_0x5131df,_0x5ee905);this[_0x1f7d0b(0x35c)](_0x538fa3,_0x2ef1c9);}catch(_0x59b1f6){this[_0x1f7d0b(0x18f)][_0x1f7d0b(0x24d)](_0x1f7d0b(0x22d),_0x59b1f6),this['_clearUndo'](_0x538fa3);}const _0x23b22b=this['_getRedoStack'](_0x538fa3);if(_0x23b22b)try{const _0x4a2122=this['_transformStack'](_0x23b22b,_0x5ee905);this[_0x1f7d0b(0x400)](_0x538fa3,_0x4a2122);}catch(_0xc36d04){this[_0x1f7d0b(0x18f)][_0x1f7d0b(0x24d)](_0xc36d04),this['_clearRedo'](_0x538fa3);}}[_0x4e7919(0x3bd)](_0x554943){const _0x2c2ebd=_0x4e7919,_0x168377=this[_0x2c2ebd(0xbc)](_0x554943);_0x168377&&(_0x168377['length']=0x0,this['_updateStatus']());}[_0x4e7919(0x31f)](_0x46da5e){const _0x7f6c4e=_0x4e7919,_0x12b9f9=this[_0x7f6c4e(0x3b4)](_0x46da5e);_0x12b9f9&&(_0x12b9f9[_0x7f6c4e(0x126)]=0x0,this[_0x7f6c4e(0x2ce)]());}[_0x4e7919(0x35c)](_0xe9c603,_0x1eaf6e){const _0x2056ac=_0x4e7919;this['_undoStacks'][_0x2056ac(0x2a0)](_0xe9c603,_0x1eaf6e),this[_0x2056ac(0x2ce)]();}[_0x4e7919(0x400)](_0x5a3fcc,_0x682080){const _0x50a40c=_0x4e7919;this[_0x50a40c(0xb3)][_0x50a40c(0x2a0)](_0x5a3fcc,_0x682080),this[_0x50a40c(0x2ce)]();}[_0x4e7919(0x2a8)](_0x488261,_0xbf26e2){const _0x37abb6=_0x4e7919,_0x92ab32=[];let _0x5878a4=_0xbf26e2,_0x9540b=_0xbf26e2;for(let _0xfb87e4=_0x488261[_0x37abb6(0x126)]-0x1;_0xfb87e4>=0x0;_0xfb87e4--){const {unitID:_0x1af778,undoMutations:_0x51f630,redoMutations:_0x3b4ac9}=_0x488261[_0xfb87e4],_0x511c2f=this[_0x37abb6(0x2ac)][_0x37abb6(0x214)](_0x5878a4,_0x51f630),_0x616d05=this['_transformService'][_0x37abb6(0x214)](_0x9540b,_0x3b4ac9);if(_0x15ad50(_0x511c2f)||_0x15ad50(_0x616d05)){this[_0x37abb6(0x18f)][_0x37abb6(0x24d)]('[CollaborationUndoRedoService]',_0x37abb6(0x1d7),_0x511c2f,_0x616d05);break;}_0x5878a4=_0x511c2f[_0x37abb6(0x89)],_0x9540b=_0x616d05[_0x37abb6(0x89)],_0x92ab32[_0x37abb6(0x209)]({'unitID':_0x1af778,'undoMutations':_0x511c2f[_0x37abb6(0xca)],'redoMutations':_0x616d05[_0x37abb6(0xca)]});}return _0x92ab32[_0x37abb6(0x114)]();}};_s=Rc([et(0x0,_0x5e27bc),et(0x1,_0x37f6d3),et(0x2,_0xa5a717),et(0x3,_0xd1dd82),et(0x4,_0x2f9740)],_s);class yc extends _0x15900e{constructor(){const _0x1d1890=_0x4e7919;super(),g(this,_0x1d1890(0x104)),this[_0x1d1890(0x104)]=_0xf4893f(window,_0x1d1890(0x99))['pipe'](_0x234986(this[_0x1d1890(0x15d)]),_0x42be71(0x1),_0x2d24bf(void 0x0));}[_0x4e7919(0xef)](_0x5e79da,_0x58c98f,_0x52428b=!0x1){const _0x10c283=_0x4e7919,_0x97496f=new URL(window[_0x10c283(0x3e9)][_0x10c283(0xc3)]);_0x97496f[_0x10c283(0x147)][_0x10c283(0x2a0)](_0x5e79da,_0x58c98f),_0x52428b?window[_0x10c283(0xb7)]['replaceState']('','',_0x97496f[_0x10c283(0x227)]()):window[_0x10c283(0xb7)][_0x10c283(0x33b)]('','',_0x97496f['toString']());}['removeParam'](_0x40d746,_0x26dbf3=!0x1){const _0x283fac=_0x4e7919,_0x36f472=new URL(window[_0x283fac(0x3e9)][_0x283fac(0xc3)]);_0x36f472[_0x283fac(0x147)]['delete'](_0x40d746),_0x26dbf3?window[_0x283fac(0xb7)][_0x283fac(0x421)]('','',_0x36f472[_0x283fac(0x227)]()):window[_0x283fac(0xb7)]['pushState']('','',_0x36f472['toString']());}[_0x4e7919(0x1bd)](_0x4172e2){const _0x5261ee=_0x4e7919;var _0x4d3d8b;return(_0x4d3d8b=new URL(window[_0x5261ee(0x3e9)][_0x5261ee(0xc3)])[_0x5261ee(0x147)][_0x5261ee(0x16e)](_0x4172e2))!=null?_0x4d3d8b:void 0x0;}}var zi=Object['defineProperty'],Oc=Object[_0x4e7919(0x3a9)],wc=(_0x2d1e3d,_0x3c8ad7,_0x4b6f1a)=>_0x3c8ad7 in _0x2d1e3d?zi(_0x2d1e3d,_0x3c8ad7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b6f1a}):_0x2d1e3d[_0x3c8ad7]=_0x4b6f1a,Dc=(_0x571468,_0x254ad0,_0x3d831f,_0x4333d2)=>{const _0x42794a=_0x4e7919;for(var _0x11eece=_0x4333d2>0x1?void 0x0:_0x4333d2?Oc(_0x254ad0,_0x3d831f):_0x254ad0,_0x644654=_0x571468[_0x42794a(0x126)]-0x1,_0x1c902e;_0x644654>=0x0;_0x644654--)(_0x1c902e=_0x571468[_0x644654])&&(_0x11eece=(_0x4333d2?_0x1c902e(_0x254ad0,_0x3d831f,_0x11eece):_0x1c902e(_0x11eece))||_0x11eece);return _0x4333d2&&_0x11eece&&zi(_0x254ad0,_0x3d831f,_0x11eece),_0x11eece;},lt=(_0x4a8e84,_0xd463dd)=>(_0x9ee23c,_0x432fcb)=>_0xd463dd(_0x9ee23c,_0x432fcb,_0x4a8e84),Pc=(_0x5000f0,_0x2d5830,_0x2e5543)=>wc(_0x5000f0,_0x2d5830+'',_0x2e5543);const Uc=_0x4e7919(0x40a);let us=class extends _0x405522{constructor(_0xeebbd1=Rr,_0x56a3b6,_0x38cb6d,_0x4ece6a,_0x3b1812){const _0x1f1786=_0x4e7919;super(),this[_0x1f1786(0x438)]=_0xeebbd1,this[_0x1f1786(0x18f)]=_0x56a3b6,this['_renderManagerService']=_0x38cb6d,this['_injector']=_0x4ece6a,this[_0x1f1786(0x1f4)]=_0x3b1812;const {..._0x1f0a27}=this[_0x1f1786(0x438)];this[_0x1f1786(0x1f4)]['setConfig'](ie,_0x1f0a27);}[_0x4e7919(0x18b)](){const _0x5c7876=_0x4e7919;this[_0x5c7876(0x393)](),this['_initDependencies']();}[_0x4e7919(0x1e6)](){const _0x46b3b1=_0x4e7919;_0x5a6de0(this[_0x46b3b1(0x1e4)],[[Ct]]);}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x4bea3a=_0x4e7919;var _0x5aaf22,_0x2b9b83,_0x3e4454,_0x106ea9;this['_injector'][_0x4bea3a(0x297)](_0x5aca87)&&this[_0x4bea3a(0x18f)][_0x4bea3a(0x24d)](_0x4bea3a(0x202),_0x4bea3a(0x403));const _0x19c5d5=[[_0x5aca87,{'useClass':_s}],[Ae],[bs],[Bi,{'useClass':yc}],[Ne],[q],[_0x352ba8],[vt],[pt],[ft],[mt],[Cs],[Et],[bt],[wi],[Tt],[Oi,{'useClass':(_0x2b9b83=(_0x5aaf22=this[_0x4bea3a(0x438)])==null?void 0x0:_0x5aaf22['socketService'])!=null?_0x2b9b83:es}],[_0x18fdab,{'useClass':ls}],[_0xe9480b,{'useClass':cs}],[_0x4a4912,{'useClass':hs}],[it],[It],[St],[Ct],[Ve]];(_0x3e4454=this[_0x4bea3a(0x438)])!=null&&_0x3e4454[_0x4bea3a(0x111)]&&_0x19c5d5[_0x4bea3a(0x209)]([Rt,{'useClass':ro}]),_0x12b218(this['_injector'],_0xf3c8ba(_0x19c5d5,(_0x106ea9=this[_0x4bea3a(0x438)])==null?void 0x0:_0x106ea9[_0x4bea3a(0x125)]));}[_0x4e7919(0x3d6)](){const _0x30f172=_0x4e7919;this[_0x30f172(0xb0)](this[_0x30f172(0x370)][_0x30f172(0x47d)](_0x470972[_0x30f172(0x3ca)],[os])),this[_0x30f172(0xb0)](this['_renderManagerService'][_0x30f172(0x47d)](_0x470972[_0x30f172(0x29f)],[as]));}['_initDependencies'](){const _0x5ed8a9=_0x4e7919;var _0x5733ee,_0x19ab0c;this['_injector'][_0x5ed8a9(0x16e)](_0x55adc1)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x20684f({'maxParallel':0x6})}),(_0x5733ee=this[_0x5ed8a9(0x438)])!=null&&_0x5733ee[_0x5ed8a9(0x14f)]||this[_0x5ed8a9(0x1e4)][_0x5ed8a9(0x16e)](q)[_0x5ed8a9(0x30c)](),(_0x19ab0c=this[_0x5ed8a9(0x438)])!=null&&_0x19ab0c[_0x5ed8a9(0x246)]&&_0x5a6de0(this[_0x5ed8a9(0x1e4)],[[Et]]),_0x5a6de0(this[_0x5ed8a9(0x1e4)],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Pc(us,_0x4e7919(0x30d),Uc),us=Dc([_0x596afe(_0xa4a5c8,_0xac975f),lt(0x1,_0x2f9740),lt(0x2,_0x9b882e),lt(0x3,_0x557b7a(_0x5a5437)),lt(0x4,_0x88f14)],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};
|
1
|
+
const _0x1ff3c3=_0x304f;(function(_0x76b664,_0x3304eb){const _0x216169=_0x304f,_0x40c842=_0x76b664();while(!![]){try{const _0xa0a06d=parseInt(_0x216169(0x3aa))/0x1+-parseInt(_0x216169(0x2a5))/0x2+parseInt(_0x216169(0x47a))/0x3+parseInt(_0x216169(0x2d8))/0x4*(parseInt(_0x216169(0x233))/0x5)+-parseInt(_0x216169(0x262))/0x6*(-parseInt(_0x216169(0x56d))/0x7)+parseInt(_0x216169(0x4b2))/0x8+-parseInt(_0x216169(0x226))/0x9*(parseInt(_0x216169(0x5ed))/0xa);if(_0xa0a06d===_0x3304eb)break;else _0x40c842['push'](_0x40c842['shift']());}catch(_0x26daa9){_0x40c842['push'](_0x40c842['shift']());}}}(_0x3155,0x87c7c));var qi=Object[_0x1ff3c3(0x39f)],Xi=(_0x8e48b9,_0x3a7594,_0x12cb28)=>_0x3a7594 in _0x8e48b9?qi(_0x8e48b9,_0x3a7594,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12cb28}):_0x8e48b9[_0x3a7594]=_0x12cb28,g=(_0xc9ee80,_0x48e159,_0x3f5dd7)=>Xi(_0xc9ee80,typeof _0x48e159!='symbol'?_0x48e159+'':_0x48e159,_0x3f5dd7);import{createIdentifier as _0x3924e2,Inject as _0x4ca429,Disposable as _0x1b10eb,DisposableCollection as _0x274d79,toDisposable as _0x5917cc,IConfigService as _0x16309d,ILogService as _0x24c70e,UserManagerService as _0x3e1f30,UniverInstanceType as _0x4f25e7,IUniverInstanceService as _0x527b53,LocaleService as _0x12b201,Optional as _0x1e9cac,RxDisposable as _0x58a0f6,Injector as _0x1678ba,Tools as _0x4dc572,ILocalStorageService as _0x166cce,Rectangle as _0x4a5a3f,ICommandService as _0x3e6605,DOC_RANGE_TYPE as _0x2fb410,JSONX as _0x5bdb23,CommandType as _0x1d8c92,IPermissionService as _0x1ef358,IUndoRedoService as _0x865243,sequenceExecute as _0x4c8b2e,debounce as _0x4bea96,COLORS as _0x23a0ee,ColorKit as _0x195efd,ThemeService as _0x2cee6c,fromEventSubject as _0x1d880c,useDependency as _0x1f7a43,connectInjector as _0x5b3f3f,Workbook as _0x42a4b5,isInternalEditorID as _0x20c876,LocalUndoRedoService as _0x274233,IContextService as _0x5a6a98,DependentOn as _0x1c8a3c,Plugin as _0x29cf8e,touchDependencies as _0x20da64,IAuthzIoService as _0x2c9f07,registerDependencies as _0x3a5870,mergeOverrideWithDependencies as _0x24fc31}from'@univerjs/core';import{Subject as _0x50f7a0,merge as _0x4fc6a3,takeUntil as _0x5e202a,BehaviorSubject as _0x4ef6f6,distinctUntilChanged as _0x1b0656,fromEvent as _0x5573e0,ReplaySubject as _0x188cde,take as _0x5903c7,map as _0x387387,shareReplay as _0x133f34,of as _0x5be1e3,debounceTime as _0xaae4e,filter as _0x27b1d1,switchMap as _0x2f1dad,combineLatest as _0x95d40,concatMap as _0x1c98ab,mapTo as _0x54f373}from'rxjs';import{map as _0x4d2ab2,take as _0x5dd60c,filter as _0x36202f,delay as _0xea7914,throttleTime as _0x1ee576,takeUntil as _0xca3a19,switchMap as _0x2ad73c}from'rxjs/operators';import{MessageType as _0x11cc22,Tooltip as _0x755986}from'@univerjs/design';import{IBeforeCloseService as _0x191aa8,IMessageService as _0x47c163,INotificationService as _0x1b142a,useObservable as _0x2e7ed3,BuiltInUIPart as _0x34ed9b,IUIPartsService as _0xd8186c}from'@univerjs/ui';import{HTTPService as _0x5d3d37,WebSocketService as _0x5ef5cf,MergeInterceptorFactory as _0x52b687,HTTPRequest as _0x147de9,UniverNetworkPlugin as _0x1232c1,ThresholdInterceptorFactory as _0x2571ad}from'@univerjs/network';import{CollaborationEvent as _0x41425a,parseChangesetToProtocol as _0x29fe59,ISnapshotServerService as _0xef9473,isTransformMutationFailure as _0x5c67ed,isTransformMutationsWithChangesetSuccess as _0x4a3d24,ITransformService as _0x359823,RevisionService as _0x5f50a9,mapDocumentTypeToUniverType as _0x4262ba,isTransformChangesetsSuccess as _0x2c7d3d,CompressMutationService as _0x34fbf9,parseProtocolChangeset as _0x31bb30,SnapshotService as _0x573e2e,textEncoder as _0xa374a6,b64DecodeUnicode as _0x361df8,isTransformMutationsWithChangesetFailure as _0x423cdd,UniverCollaborationPlugin as _0x4fb221}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x13a498}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x437aae,DocStateChangeManagerService as _0xb50e97,NodePositionConvertToCursor as _0x2376de,NodePositionConvertToRectRange as _0x18b518,TEXT_RANGE_LAYER_INDEX as _0x5e24be,SetDocZoomRatioOperation as _0x45e093}from'@univerjs/docs-ui';function _0x3155(){const _0x29de6f=['addObjects','_init','/object','InsertColCommandId','_mode','_onFetchMissResult','buffer','substring','LIVESHARE_OPERATION','result','encryptBlock','function','_transformRemoteChangesetByStateCache','SUCCUSS','location','stopTime','unshift','7xQFCtB','getImage','collaboration_new_changeset','_sender','fetchMiss','DeleteRangeMoveUpCommandId','toggleOnline','permission.content','USERS_LEAVE','RemoveColCommandId','bottom','_memberService','rev','FromArray','_initEventListeners','text','lib','_removeClearOtherTimer','refreshPermission','AUTHZ_URL_KEY','state$','c2Prime','react.element','has','with','getRenderById','createDecryptor','readAsDataURL','_scheduleSaving','_onOffline','_key','_docSkeleton','registerHTTPInterceptor','SNAPSHOT_HAS_BEEN_REMOVED','post','[OfflineState]:\x20received\x20rejection.','getCellPositionByOffset','div','registerRefRange','editingUnit','override','FileId','clamp','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','registerRenderModule','[CollaborationUndoRedoService]','setInterval','onTransformChange$','_createHmacHelper','transformStack\x20failed!','onlineStatusIcon','_xformMode','isEditing','toRgbString','transformByState','type','failed\x20to\x20apply\x20missed\x20changesets!','actions','OffLineSingle','_initMergeInterceptor','currentColor','_transformService','?url=','Utf8','_onRemoteRejected','_hovered','doc.mutation.rich-text-editing','_docTransformStateCacheService','_socket','onMissingChangesets','_onConflict','UNKNOWN_CMD','subscribe','create','_revisionService','_onRemoteRetry','conflict.title','_refRangeService','getTypeOfUnitAdded$','drawWith','selection','_clearOtherTimers','on-line-single','JOIN','_candidateSocket','ReactCurrentOwner','_syncEditingCollabCursor','setAlpha','RECT','_resendWithTimeout','OTHER_CLIENTS_EDITING','save','salt','_getSnapshotAPIPrefix','focused$','newValue','connection\x20error','_onMessage','moveTo','syncEditingCollabCursor','baseRev','AES','arc','createInstance','HEARTBEAT_INTERVAL','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_changesetSessionId','_listenToOfflineEvent','collabStatus.offline','includes','_getAPIPrefix','_cursors','onRemoteAck','_docTransformIMECacheService','_reverseMap','loginUrlKey','getDeserializedSheetBlock','\x0aAfter:\x20','_unitID','LOCAL_CACHE_INTERVAL','row','getUnit','_imageSourceCache','_onUserLeave','now','saveChangeset','collaboratorID','crypto','10pUtjTV','params','Cipher','_getSaveTimeout','slice','MSG_FOR_ERROR','removeMember','workbook','CONNECTOR_DATA_TOO_LARGE','add','createSocket','UNDEFINED','_updateLocalCache','\x20to\x20','loadSheet','filter','black','_throwTelemetryCollaborationNewChangeset','_render','$super','session.room-full','onSyncEditingCollabCursor','_hasher','loadDoc','_roomMembers$','randomUUID','setTimeout','min','splice','_createInitialState','getFocusedUnit','ws://127.0.0.1:8000/universer-api/comb/connect','bind','_socketMessageSubscription','CHANGESET_REVISION_CONFILICT','unsubscribe','setUndoRedoMutationParamsCache','onMouseMove','fetchMissingChangesets','VIEW_MAIN','...','top','_HTTPService','RECV','fill','_keySchedule','[CollaborationState]:\x20apply\x20error!','mixIn','_collaborationSessionService','_getMergeRange','hovered','_ENC_XFORM_MODE','/fetchmissing?from=','_executeRemoteChangeset','COLLAB_WEB_SOCKET_URL','substr','transformSelections','floor','transformChangesets','_handleEvent','_docTransformSelectionsService','_sheetTransformSelectionsService','onPointerEnter$','ACTIVE_UNIT_EVENT_CHANNEL','auth.needGotoLoginAlert','_anchorDot','UNRECOGNIZED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_minBufferSize','CBC','loadOfflineData','ivSize','Undefined','startsWith','_getSignURL','20225439VzSlfb','listRoles','_updateCollabCursors','_updateState','equals','onReady','setShowComponents','collabStatus.synced','_keyPriorReset','collabStatus.fetchMiss','eventID','length','pad','5RTMFgw','_scheduleCollaborationTimeoutTimer','objectActions','updateMember','downloadEndpointUrl','enableSingleActiveInstanceLock','hasher','_updateStatus','onStateChange','_members','permission.title','_stopTelemetryCollaborationNewChangeset','IDLE','unitId','_decreaseWaiting','randomBytes','_onCursorUpdate','_clearRedo','_socketService','[CollaborationSessionService]','_uiPartsService','SHOULD_CLOSE_CONN','permissionRejEvent','_logService','[CollaborationSession]','HEARTBEAT','getSheetBySheetId','name','reqId','DeleteRangeMoveLeftCommandId','disableLocalCache','_getSendChangesetTimeout','_notificationService','xlink:href','_change$','onRemoteChangeset','show','range','_retryCount','getCurrentUser','none','FETCH_MISS','update','_scheduleClearOtherTimer','createEncryptor','getParam','clearInterval','3152586ykxTiz','conflict.content','_shapes','_getUploadFileURL','use','lineTo','InsertRangeMoveRightCommandId','[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.','cfg','prototype','clipPath','_doCryptBlock','_fetchMissChangesets','InsertRangeMoveDownCommandId','pending','icon','OpenSSL','attrs','defaultProps','closeSession','[PendingState]:\x20received\x20rejection.','collaborators','_id','AWAITING','_sheetSkeletonManagerService','setActiveRange','USERS_ENTER','_initStatusListener','get','/resources','className','_showConflictNotification','_state$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','HELLO','getUnhiddenWorksheets','saveSnapshot','_updateLocalCursor','[DataLoaderController]','_online','_parse','FETCH_MISSING','hide','_getAPIPrefixPath','data','SUBMIT_CHANGESET','_refreshCollabCursors','map','localeService','session','_drawTextRange','_updateSubUnitFromURLParams','collaboration.single-unit.warning','[FetchMissState]','charAt','getAncestorScale','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','fromCharCode','_tryReconnect','[UniverCollaborationClientPlugin]','/universer-api/snapshot/','onload','[SyncedState]:\x20received\x20acknowledgement.','apply','startRow','_httpService','_shouldReportTelemetry','342028KkgLOv','getInterceptPoints','open$','kdf','formatter','LIVESHARE_TERMINATE','current','trim','_onJoinRoomEvent','addObject','_startTelemetryCollaborationNewChangeset','_configService','_remoteChangesetQueue','LIVESHARE_NEW_HOST','_initCommandExecutedListener','_commandService','algo','confirm','HttpExport','join','all','from','getRangePointData','newCsEvent','column','getMemberID','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','contains','_removeCollabCursors','_isPermissionRej','repeat','mutations','change$','roomInfos','/allowed','_collaborationController','getCurrentRevOfUnit','close$','_sessions','push','getTime','_transitionLocked','AWAITING_WITH_PENDING','object','EvpKDF','collab-text-anchor-','csRejEvent','SYNCED','entries','defIds','_exhaustRemoteChangesetQueue','3787148FfiQQI','_disabled','/universer-api/file/{fileID}/sign-url','sigBytes','_unitOnClients','msCrypto','isActive','collabStatus.notCollab','univer-online-status-icon','keySize','userID','objectType','_awaitingChangeset','dispose','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','NOT_FOUND','ERROR_IMAGE','forEach','_undoRedoService','method','_process','awaiting','close','session.connection-failed','[OfflineState]:\x20received\x20acknowledgement.','reset','getWorkbookSelections','status','_acknowledgedAwaitingChangeset','_anchor','registerBeforeClose','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','CHANGESET_SHOULD_RETRY','url','_getDownloadEndpointURL','OFFLINE','onlineStatus','LICENSE_MAX_UNITS_EXCEEDED','routeKey','[CollaborationEntity]','fillStyle','visibilitychange','capture','_setupBeforeClosingHandler','sid','/unit/','list','_createSocket','/-/object/list','_localeService','APPLY_PERMISSION_DENIED','getUnitType','image/bmp','roomMembers','csShouldRetryEvent','_type','_loadDoc','socket$','jiqing500','Warning','_prevBlock','saveImage','endRow','TOO_MANY_REQUESTS','CHANGESET_ACK','_localCacheService','error$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','[SyncedState]:\x20received\x20rejection.','propertyIsEnumerable','execute','_entities','closePath','onTransformIME','_getScale','transform','0\x200\x2016\x2016','_tryEnsureSocket','_lastPointer','1em','getSheetBlock','ref','_ws','getOwnPropertySymbols','/universer-api/comb','PERMISSION_DENIED','_getCtorByUniverType','_transformStack','action','_transformSelections','_getAnchorBounding','displayName','_transformIMECache','telemetry\x20info\x20is\x20not\x20initialized','WordArray','Base','fillText','_handleLeaveEvent','_clearCollaborationTimeoutTimer','_pendingMutations','image/jpg','_scheduleHeartbeat','deepClone','authzUrl','setCurrentUser','getCollabCursors$','_scheduleTimestamp','asObservable','collab-text-range-','socket\x20open.','awaiting_with_pending','session.collaboration-timeout','/new_changes','_lockTransition','setParam','/block/','message$','pluginName','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','INVALID_ARGUMENT','_schedule','_registerDependencies','key','_urlService','saveSheetBlock','HttpImport','_append','initWorkbookPermissionChange','width','_iKey','getConfig','sheetId','_DEC_XFORM_MODE','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_singleActiveUnitService','_renderManagerService','_messageService','assignAColorForMemberID','_iv','_onRecvEvent','redoState','getImageSourceCache','reconnect','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_compressMutationService','_getUndoStack','_updateURLWithCurrentState','onRemoteRetry','extend','currentTheme$','find','responseType','ceil','_drawRectRange','_map','getUndoRedoMutationParamsCache','_heartbeatTimer','onSendChangeset','UNIVER_DOC','DEFAULT_FILE_NAME','_handleHover','_waitForHeartbeatResponse','string','blockSize','_saveTaskMap','_collaborationTimeoutTimer','snapshotServerUrl','UNKNOWN_CODE','transformMutation','SHA1','color','onTransformRemoteChangesetByIMECache','BlockCipher','_color','encode','_onRemoteChangeset','COMMENT_UPDATE','_cursor','revision','onMissedChangesetFetched','charCodeAt','_snapshotServerService','selections','reduce','encrypt','APPLY_REJECT','debug','pipe','off-line-single_clip0_910_343','YUUMI_SUBSCRIPTION_NOT_FOUND','onRemoteRej','findNodePositionByCharIndex','_collabSessionService','_send','_listenToOnlineEvent','_localStorageService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','csAckEvent','_transformStateCache','defineProperty','onPointerLeave$','getCurrentSelections','_incrementRevisionNumber','compose','_syncEditingCollabCursorService','&source=','_substituteUndoStack','FAIL','_clearScheduledTask','flatMap','215291CocsCa','Could\x20not\x20dynamically\x20require\x20\x22','Fragment','compute','_startDocCollabCursor','encodeURIComponent','memberID','jsxs','onCommandExecuted','onCommentUpdate','&assign=','getOwnPropertyDescriptor','then','_nDataBytes','_sendingTimer','cursorInfo$','random','\x20in\x20_schedule.','subscribeEvent','_selfUnitIDs','Error','fetchThroughInterceptors','reject','toLowerCase','_event$','height','_createHandler','_onRefRangeChange','_substituteRedoStack','beginPath','offline','_startSheetCollabCursor','defs','_registerRenderDependencies','m1Prime','_transformPreviousActiveRange','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_getSheetObject','onRendered','POST','UNIVER_SHEET','default','unit-cache-','Hasher','_userManagerService','univer-offline','storage','APPLY_NON_SEQUENTIAL_REVISION','getCollabEntity$','format','complete','_cursorShapes','unit','collab-rect-range-','snapshot','_state','signUrlServerUrl','_checkMissing','roomMembers$','getItem','deleteCollaborator','_commentUpdate$','_telemetryInfo','transformStateCache','tag','getSheetId','NoPadding','/role','values','setShapeProps','collaboration.closeRoom','rgba(255,\x20255,\x20255,\x200.01)','_http','_initUnitPermissionChange','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','LIVESHARE_REQUEST_HOST','_doFinalize','cmd','_onRemoteACK','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','m2Prime','children','collabStatus.syncing','transformIMECache','/collaborator','verdancy600','_snapshotService','activeSheet$','YUUMI_URL_COL_OUT_OF_RANGE','set','_draw','getRoom','href','interceptor','assign','BufferedBlockAlgorithm','/object/','_createInitialStateImpl','append','status$','init','for','INTERNAL_ERROR','originalMeta','setWaitCount','_toggleOnline','_oKey','docStateChange$','/universer-api/stream/file/upload','ERROR_IMAGE_TYPE','split','univerjs-icon\x20univerjs-icon-','Latin1','concat','getUnitId','_backgroundColor','\x0aCurrent:\x20','collaboration-session-retry','SEND_CHANGESET_TIMEOUT','code','textRanges','_redoStacks','getRandomValues','NO_OTHER_CLIENTS_EDITING','univer-online-status','reverse','liveShareNewHost','HEADER_MENU','_getRedoStack','UnitSnapshot','Unknown\x20user','getValue','fillRule','path','Decryptor','_permissionService','clear','send','getTypeOfUnitDisposed$','ciphertext','pauseCollaboration','restore','json','_config','_createHelper','whenReady','colorChannel1','_getLoginPath','ranges','_beforeCloseService','onPointerMove$','HmacMD5','__esModule','evenodd','startTime','headers','_clearLocalCache','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_onLocalMutation','max','_cursorInfo$','_hash','isArray','APPLY_REVISION_CONFILICT','_transformHistoryAndStateStack','LEAVE','UNIVER_UNKNOWN','subUnitId','round','next','history','on-line-single_clip0_910_349','_docSyncEditingCollabCursorService','_clearTimeoutTimer','_eventUnsubscribe','_getCurrentRevision','_setupSubUnitSync','_docStateChangeManagerService','_onCursorDelete','_sendHeartbeatTimer','_changesetReqId','collab-client.tooltip.reconnect','M0\x200H16V16H0z','hostname','_initRequestHeader','transformRemoteChangeset','getMergeData','&to=','getCollabEntity','LOGIN_URL_KEY','enableAuthServer','getDocRanges','COLLAB_SUBMIT_CHANGESET_URL','Pkcs7','getUnitOnRev','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','batchAllowed','_cachedData','dispose$','onStarting','Error\x20on\x20receiving\x20event','{fileID}','popstate','sheets','_initDependencies','_sessionStatus$','mode','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','3283728dcjvGX','/-/object/-/batch_allowed','/universer-api/oidc/authpage','online','enc','changesets','/universer-api/snapshot','INGEST','shouldCloseConn','pushState','#FFF','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','startColumn','_commentService','_undoStacks','_saveCache','_data','requireSession','idSuffix','UUID','x-univer-host','_doProcessBlock','replace','call','APPLY_DUPLICATED','byteLength','_invKeySchedule','error','_toggleOffline','_document','sessionStatus','_applyRemoteChangeset','triggerDblclick','LIVESHARE_FETCH_OPERATIONS','PSEUDO_FETCH_MISSING_RESULT','processBlock','enableLocalCache','every','_resendTimeout','_hideTimer','CHANGESET_REJ','session.will-retry','ONLINE','conflict','exports','_colorIndex','UniverIcon','COMPLETION_FINISHED','decryptBlock','_transformRemoteChangesetByIMECache','_timeoutTimer','univer-pro.collaboration-client.single-active-unit-service','_textBubble','_transformUndoredo','[PendingState]:\x20received\x20acknowledgement.','uni.network.url-service','1538848OAWvPy','setItem','isPermissionRej','allowed','origin','updateOfflineData','transformMutationsWithChangeset','clone','univer-online','disposeWithMe','clearTimeout','jsx','_collabCursorController','_queuedRemoteChangesets','saveOfflineData','_scene','catch','_initResize','getLatestCsReqIdBySid','onTransformSelections','currentSkeleton$','_sendHeartbeat','objectID','subunit','_colorAssignService','UNIVER_SLIDE','visibilityState','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_instanceService','resend','#fff','words','commentUpdateEvent','makeDirty','onTransformState','HEARTBEAT_TIMEOUT','_univerInstanceService','_hover','toggleOffline','?size=','synced','_context','delete','NOT_COLLAB','save\x20fail\x20reason\x20is\x20','SerializableCipher','svg','_handler','_clearHeartbeatTimer','hasOwnProperty','_retryConnectingTimer','measureText','gold400','MUTATION','state','c1Prime','_injector','sessionStatus$','updatePermissionObjEvent','MD5','SNAPSHOT_INVALID_SNAPSHOT','body','NEW_CHANGESETS','members','fromCollab','Univer','onTransformRemoteChangesetByStateCache','_labelPosition','/universer-api/authz','_session','updateCollaborator','indexOf','roles','toString','_collaborationPaused','_resendTimer','BASE64','CipherParams','_collabCursorState$','appendMutation','Base64','hidden','stringify','_waitCount','StreamCipher','onlineStatusTitle','Encryptor','_socket$','copyFileMeta','getActiveSheet','InsertRowCommandId','skeleton','collaMsg','parse','_name','_unitStatus','Malformed\x20UTF-8\x20data','unload','BlockCipherMode','_range','LICENSE_DISTRO_REJECTED','url(#$1','COMPRESS_MUTATION_APPLY','UNIVER_COLLABORATION_CLIENT_PLUGIN','getUniverSheetInstance','executeCommand','urlChange$','_docSkeletonManagerService','size','file','setConfig','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','transformUndoRedo','generateRandomId','finalize','_rescheduleHeartbeat','socket\x20close','image/jpeg','_replayCachedMutations','_ensureSubject','_socketReady','updatePermissionPoint','_themeService','getUnitStatus$','unknown','_roomMembers','_submitChangeset','some','font','_joinRoom','_unlockTransition','padding','_onConnectionOpen','unitID','_onUserJoin','UnitEmbedded','addEventListener','getOffsetConfig','cursorInfo','_removeRoom','UNAUTHENTICATED','collabCursorState$','resourceIDs','title','_nRounds','updateCursorEvent','requestParams','awaitingChangeset','getMember','byteOffset','_doReset','/rev/','onlyLocal','_status$','UPDATE_CURSOR','backgroundColor','_disableEditing','RemoveRowCommandId','YUUMI_RATE_OVER_LIMIT','_handleHeartbeatEvent','_entityInit$','_replaceFileID','PERMISSION_REJ','LICENSE_IMPORT_SIZE_EXCEEDED','_assignedColors','_onConnectionFailed','event$','getStateCache','_telemetryService','_cipher'];_0x3155=function(){return _0x29de6f;};return _0x3155();}import{SheetsSelectionsService as _0x3db36c,SetSelectionsOperation as _0x2b8a1e,InsertSheetMutation as _0x501e51,EmptyMutation as _0x1a08d1,WorkbookEditablePermission as _0x1c9ba9,RefRangeService as _0x4a2d1a,EffectRefRangId as _0x593590,handleIRemoveRow as _0x1351c9,handleIRemoveCol as _0x13a582,handleMoveRange as _0x539406,handleInsertRow as _0x12c6fc,handleInsertRangeMoveRight as _0x8338e4,handleInsertRangeMoveDown as _0x51c840,handleInsertCol as _0x37c8e4,handleDeleteRangeMoveUp as _0x126c61,handleDeleteRangeMoveLeft as _0x423f1e,runRefRangeMutations as _0x1417e4,SetWorksheetActivateCommand as _0x1cf5b9}from'@univerjs/sheets';import{IRenderManagerService as _0x2e164c,Shape as _0x44864b,Rect as _0x3a5760,getColor as _0x276e97,RegularPolygon as _0x1d87a8,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3409a0,Vector2 as _0x35ceae}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x30949a,RichTextEditingMutation as _0x3e1bd9,SetTextSelectionsOperation as _0xb019d1,DocSkeletonManagerService as _0x4ace78}from'@univerjs/docs';import{ImageSourceType as _0x177b23,ImageUploadStatusType as _0x31eca5,IImageIoService as _0x36094b}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x244398,serializeRangeWithSheet as _0x1f78a9}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x5caeea,VIEWPORT_KEY as _0x11a9b0,getCoordByCell as _0x47a9e5,getSheetObject as _0x2c7be8,SheetPermissionInitController as _0x4258fa}from'@univerjs/sheets-ui';import _0x2ab870,{forwardRef as _0x4ba2cf,useRef as _0x4efcba,createElement as _0x44ac99,useCallback as _0x40349d}from'react';import{IRemoteInstanceService as _0x1fa0e5}from'@univerjs/rpc';const cr='SNAPSHOT_SERVER_URL_KEY',hr=_0x1ff3c3(0x480),lr='SNAPSHOT_URL_KEY',Xc=_0x1ff3c3(0x420),_r=0x7d0,ur=_0x1ff3c3(0x211),dr=_0x1ff3c3(0x1fa),fr=_0x1ff3c3(0x5d5),vr=0x7530,bi=_0x1ff3c3(0x4d5),Ti=0x4e20,mr=0x4e20,pr='RETRY_CONNECTING_MAX_COUNT',gr=0x3,Sr=_0x1ff3c3(0x5e4),Ir=0x3e8,Cr=_0x1ff3c3(0x46a),Er=_0x1ff3c3(0x32c),br=_0x1ff3c3(0x467),Tr=_0x1ff3c3(0x47c);var Ri=(_0x5c3b92=>(_0x5c3b92[_0x5c3b92[_0x1ff3c3(0x1e6)]=0x0]='UNDEFINED',_0x5c3b92[_0x5c3b92['OK']=0x1]='OK',_0x5c3b92[_0x5c3b92[_0x1ff3c3(0x410)]=0x2]=_0x1ff3c3(0x410),_0x5c3b92[_0x5c3b92['PERMISSION_DENIED']=0x3]=_0x1ff3c3(0x32d),_0x5c3b92[_0x5c3b92[_0x1ff3c3(0x2e7)]=0x4]=_0x1ff3c3(0x2e7),_0x5c3b92[_0x5c3b92['UNAUTHENTICATED']=0x5]=_0x1ff3c3(0x53e),_0x5c3b92[_0x5c3b92['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x5c3b92[_0x5c3b92[_0x1ff3c3(0x34f)]=0x7]=_0x1ff3c3(0x34f),_0x5c3b92[_0x5c3b92['TOO_MANY_REQUESTS']=0x8]=_0x1ff3c3(0x317),_0x5c3b92[_0x5c3b92[_0x1ff3c3(0x4a9)]=0x9]=_0x1ff3c3(0x4a9),_0x5c3b92[_0x5c3b92[_0x1ff3c3(0x1fd)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5c3b92[_0x5c3b92['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1ff3c3(0x4ee),_0x5c3b92[_0x5c3b92[_0x1ff3c3(0x58e)]=0x1772]=_0x1ff3c3(0x58e),_0x5c3b92[_0x5c3b92['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5c3b92[_0x5c3b92[_0x1ff3c3(0x391)]=0x1b59]='APPLY_REJECT',_0x5c3b92[_0x5c3b92[_0x1ff3c3(0x3d9)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5c3b92[_0x5c3b92['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1ff3c3(0x44d),_0x5c3b92[_0x5c3b92[_0x1ff3c3(0x30a)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5c3b92[_0x5c3b92['APPLY_DUPLICATED']=0x1b5d]=_0x1ff3c3(0x492),_0x5c3b92[_0x5c3b92[_0x1ff3c3(0x1e3)]=0x1f41]=_0x1ff3c3(0x1e3),_0x5c3b92[_0x5c3b92['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1ff3c3(0x2fd),_0x5c3b92[_0x5c3b92[_0x1ff3c3(0x521)]=0x232a]=_0x1ff3c3(0x521),_0x5c3b92[_0x5c3b92['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1ff3c3(0x555),_0x5c3b92[_0x5c3b92['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5c3b92[_0x5c3b92[_0x1ff3c3(0x516)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5c3b92[_0x5c3b92['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5c3b92[_0x5c3b92[_0x1ff3c3(0x402)]=0x2712]=_0x1ff3c3(0x402),_0x5c3b92[_0x5c3b92['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1ff3c3(0x550),_0x5c3b92[_0x5c3b92[_0x1ff3c3(0x395)]=0x2714]=_0x1ff3c3(0x395),_0x5c3b92[_0x5c3b92['UNRECOGNIZED']=-0x1]=_0x1ff3c3(0x21d),_0x5c3b92))(Ri||{}),ce=(_0x432e55=>(_0x432e55[_0x432e55[_0x1ff3c3(0x450)]=0x0]=_0x1ff3c3(0x450),_0x432e55[_0x432e55[_0x1ff3c3(0x376)]=0x1]=_0x1ff3c3(0x376),_0x432e55[_0x432e55['UNIVER_SHEET']=0x2]=_0x1ff3c3(0x3d2),_0x432e55[_0x432e55[_0x1ff3c3(0x4cb)]=0x3]='UNIVER_SLIDE',_0x432e55[_0x432e55['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x432e55[_0x432e55['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x432e55))(ce||{}),W=(_0x1e5b5f=>(_0x1e5b5f[_0x1e5b5f[_0x1ff3c3(0x5b4)]=0x0]=_0x1ff3c3(0x5b4),_0x1e5b5f[_0x1e5b5f[_0x1ff3c3(0x284)]=0x1]='HELLO',_0x1e5b5f[_0x1e5b5f[_0x1ff3c3(0x5c0)]=0x2]=_0x1ff3c3(0x5c0),_0x1e5b5f[_0x1e5b5f[_0x1ff3c3(0x44f)]=0x3]=_0x1ff3c3(0x44f),_0x1e5b5f[_0x1e5b5f[_0x1ff3c3(0x481)]=0x4]=_0x1ff3c3(0x481),_0x1e5b5f[_0x1e5b5f[_0x1ff3c3(0x24c)]=0x5]=_0x1ff3c3(0x24c),_0x1e5b5f[_0x1e5b5f[_0x1ff3c3(0x206)]=0x6]='RECV',_0x1e5b5f[_0x1e5b5f[_0x1ff3c3(0x21d)]=-0x1]='UNRECOGNIZED',_0x1e5b5f))(W||{}),Is=(_0x21a98e=>(_0x21a98e[_0x21a98e['UNKNOWN_CODE']=0x0]=_0x1ff3c3(0x37f),_0x21a98e[_0x21a98e['OK']=0x1]='OK',_0x21a98e[_0x21a98e[_0x1ff3c3(0x3a7)]=0x2]=_0x1ff3c3(0x3a7),_0x21a98e[_0x21a98e[_0x1ff3c3(0x21d)]=-0x1]=_0x1ff3c3(0x21d),_0x21a98e))(Is||{}),yi=(_0x75d6d9=>(_0x75d6d9[_0x75d6d9[_0x1ff3c3(0x223)]=0x0]='Undefined',_0x75d6d9[_0x75d6d9['HttpImport']=0x1]=_0x1ff3c3(0x355),_0x75d6d9[_0x75d6d9['HttpExport']=0x2]=_0x1ff3c3(0x2b7),_0x75d6d9[_0x75d6d9['UnitEmbedded']=0x3]=_0x1ff3c3(0x539),_0x75d6d9[_0x75d6d9[_0x1ff3c3(0x42b)]=0x4]=_0x1ff3c3(0x42b),_0x75d6d9[_0x75d6d9[_0x1ff3c3(0x21d)]=-0x1]=_0x1ff3c3(0x21d),_0x75d6d9))(yi||{});const ie='collaboration-client.config',Rr={};function yr(_0xcc0a73){const _0x1e08d3=_0x1ff3c3;var _0x4a0357,_0x24846f,_0x4de087,_0x5580b9,_0x55a893;const _0x50f500=_0xcc0a73['data'],_0x5af327=JSON[_0x1e08d3(0x50f)](_0x50f500);switch(_0x5af327[_0x1e08d3(0x3f7)]){case W['HEARTBEAT']:case W['HELLO']:{const _0x2eae76=_0x5af327['infoRsp'];return{..._0x5af327,'data':_0x2eae76,'cmd':_0x5af327['cmd']};}case W['JOIN']:{const _0x142889=_0x5af327['joinRsp'];return{..._0x5af327,'data':_0x142889,'cmd':_0x5af327[_0x1e08d3(0x3f7)]};}case W[_0x1e08d3(0x206)]:{const _0x147d26=_0x5af327[_0x1e08d3(0x50e)];switch(_0x147d26[_0x1e08d3(0x230)]){case _0x41425a[_0x1e08d3(0x554)]:return{..._0x5af327,'data':{..._0x147d26,'data':(_0x4a0357=_0x147d26[_0x1e08d3(0x249)])==null?void 0x0:_0x4a0357['cs']},'cmd':_0x5af327[_0x1e08d3(0x3f7)]};case _0x41425a[_0x1e08d3(0x318)]:return{..._0x5af327,'data':{..._0x147d26,'data':(_0x24846f=_0x147d26[_0x1e08d3(0x39d)])==null?void 0x0:_0x24846f['cs']},'cmd':_0x5af327['cmd']};case _0x41425a[_0x1e08d3(0x4f0)]:return{..._0x5af327,'data':{..._0x147d26,'data':(_0x4de087=_0x147d26[_0x1e08d3(0x2bc)])==null?void 0x0:_0x4de087['cs']},'cmd':_0x5af327[_0x1e08d3(0x3f7)]};case _0x41425a[_0x1e08d3(0x4a2)]:return{..._0x5af327,'data':{..._0x147d26,'data':(_0x5580b9=_0x147d26[_0x1e08d3(0x2d3)])==null?void 0x0:_0x5580b9['cs']},'cmd':_0x5af327[_0x1e08d3(0x3f7)]};case _0x41425a[_0x1e08d3(0x2f8)]:return{..._0x5af327,'data':{..._0x147d26,'data':(_0x55a893=_0x147d26[_0x1e08d3(0x30e)])==null?void 0x0:_0x55a893['cs']},'cmd':_0x5af327['cmd']};case _0x41425a['UPDATE_CURSOR']:return{..._0x5af327,'data':{..._0x147d26,'data':_0x147d26[_0x1e08d3(0x543)]},'cmd':_0x5af327[_0x1e08d3(0x3f7)]};case _0x41425a['USERS_ENTER']:return{..._0x5af327,'data':{..._0x147d26,'data':_0x147d26['joinEvent']},'cmd':_0x5af327[_0x1e08d3(0x3f7)]};case _0x41425a[_0x1e08d3(0x575)]:return{..._0x5af327,'data':{..._0x147d26,'data':_0x147d26['leaveEvent']},'cmd':_0x5af327[_0x1e08d3(0x3f7)]};case _0x41425a[_0x1e08d3(0x2b2)]:return{..._0x5af327,'data':{..._0x147d26,'data':_0x147d26[_0x1e08d3(0x428)]},'cmd':_0x5af327[_0x1e08d3(0x3f7)]};case _0x41425a['LIVESHARE_FETCH_OPERATIONS']:case _0x41425a[_0x1e08d3(0x564)]:return{..._0x5af327,'data':{..._0x147d26,'data':_0x147d26['liveShareOperation']},'cmd':_0x5af327[_0x1e08d3(0x3f7)]};case _0x41425a['LIVESHARE_TERMINATE']:return{..._0x5af327,'data':{..._0x147d26,'data':_0x147d26[_0x1e08d3(0x428)]},'cmd':_0x5af327['cmd']};case _0x41425a['MSG_FOR_ERROR']:return{..._0x5af327,'data':_0x147d26,'cmd':_0x5af327['cmd']};case _0x41425a['COMMENT_UPDATE']:return{..._0x5af327,'data':{..._0x147d26,'data':_0x147d26[_0x1e08d3(0x4d2)]},'cmd':_0x5af327[_0x1e08d3(0x3f7)]};case _0x41425a['UPDATE_PERMISSION_OBJ']:return{..._0x5af327,'data':{..._0x147d26,'data':_0x147d26[_0x1e08d3(0x4ec)]},'cmd':_0x5af327[_0x1e08d3(0x3f7)]};case _0x41425a[_0x1e08d3(0x248)]:return{..._0x5af327,'data':{..._0x147d26,'data':_0x147d26[_0x1e08d3(0x482)]},'cmd':_0x5af327[_0x1e08d3(0x3f7)]};default:return _0x5af327;}}default:return _0x5af327;}}function Or(_0x463be4){const _0x5dcc40=_0x1ff3c3;switch(_0x463be4['cmd']){case W[_0x5dcc40(0x24c)]:case W[_0x5dcc40(0x284)]:return JSON[_0x5dcc40(0x504)]({'cmd':_0x463be4[_0x5dcc40(0x3f7)],'routeKey':_0x463be4['routeKey']});case W[_0x5dcc40(0x481)]:{let _0x290d9b;switch(_0x463be4[_0x5dcc40(0x28e)][_0x5dcc40(0x230)]){case _0x41425a['UPDATE_CURSOR']:{_0x290d9b={'eventID':_0x41425a[_0x5dcc40(0x54c)],'updateCursorEvent':_0x463be4[_0x5dcc40(0x28e)][_0x5dcc40(0x28e)]};break;}case _0x41425a[_0x5dcc40(0x575)]:{_0x290d9b={'eventID':_0x41425a[_0x5dcc40(0x575)],'leaveEvent':_0x463be4['data']['data']};break;}case _0x41425a['USERS_ENTER']:{_0x290d9b={'eventID':_0x41425a[_0x5dcc40(0x27c)],'joinEvent':_0x463be4['data'][_0x5dcc40(0x28e)]};break;}case _0x41425a[_0x5dcc40(0x2b2)]:{_0x290d9b={'eventID':_0x41425a[_0x5dcc40(0x2b2)],'liveShareNewHost':_0x463be4[_0x5dcc40(0x28e)][_0x5dcc40(0x28e)]};break;}case _0x41425a[_0x5dcc40(0x564)]:{_0x290d9b={'eventID':_0x41425a[_0x5dcc40(0x564)],'liveShareOperation':_0x463be4[_0x5dcc40(0x28e)][_0x5dcc40(0x28e)]};break;}case _0x41425a[_0x5dcc40(0x2aa)]:{_0x290d9b={'eventID':_0x41425a[_0x5dcc40(0x2aa)],'liveShareTerminate':_0x463be4[_0x5dcc40(0x28e)]['data']};break;}case _0x41425a[_0x5dcc40(0x3f5)]:{_0x290d9b={'eventID':_0x41425a[_0x5dcc40(0x3f5)],'liveShareRequestHost':_0x463be4[_0x5dcc40(0x28e)][_0x5dcc40(0x28e)]};break;}case _0x41425a[_0x5dcc40(0x49b)]:{_0x290d9b={'eventID':_0x41425a[_0x5dcc40(0x49b)]};break;}default:_0x290d9b={'eventID':_0x463be4[_0x5dcc40(0x28e)][_0x5dcc40(0x230)]};}return JSON[_0x5dcc40(0x504)]({'cmd':_0x463be4['cmd'],'routeKey':_0x463be4['routeKey'],'collaMsg':_0x290d9b});}case W[_0x5dcc40(0x5c0)]:return JSON[_0x5dcc40(0x504)]({'cmd':_0x463be4[_0x5dcc40(0x3f7)],'routeKey':_0x463be4['routeKey'],'joinReq':_0x463be4['data']});case W[_0x5dcc40(0x44f)]:return JSON[_0x5dcc40(0x504)]({'cmd':_0x463be4['cmd'],'routeKey':_0x463be4[_0x5dcc40(0x2fe)],'leaveReq':_0x463be4[_0x5dcc40(0x28e)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var wr=Object[_0x1ff3c3(0x39f)],Dr=Object[_0x1ff3c3(0x3b5)],Pr=(_0x54ac30,_0x2cbf29,_0x16851e,_0x4e0be8)=>{const _0x11e2d4=_0x1ff3c3;for(var _0x16e89c=_0x4e0be8>0x1?void 0x0:_0x4e0be8?Dr(_0x2cbf29,_0x16851e):_0x2cbf29,_0x24cd0d=_0x54ac30[_0x11e2d4(0x231)]-0x1,_0x323b99;_0x24cd0d>=0x0;_0x24cd0d--)(_0x323b99=_0x54ac30[_0x24cd0d])&&(_0x16e89c=(_0x4e0be8?_0x323b99(_0x2cbf29,_0x16851e,_0x16e89c):_0x323b99(_0x16e89c))||_0x16e89c);return _0x4e0be8&&_0x16e89c&&wr(_0x2cbf29,_0x16851e,_0x16e89c),_0x16e89c;},qe=(_0x2e1845,_0x3a0d0a)=>(_0x2e967b,_0x515a4a)=>_0x3a0d0a(_0x2e967b,_0x515a4a,_0x2e1845);const Oi=_0x3924e2('univer-pro.collaboration-client-socket-service');function Ur(_0x106f98,_0x2aed4d,_0xe8f2d7){const _0x2a7bb4=_0x1ff3c3;return _0x106f98+'/'+_0x2aed4d+'/unit/'+_0xe8f2d7+_0x2a7bb4(0x348);}let es=class extends _0x1b10eb{constructor(_0x1bf494,_0xe97eab,_0x3584dd,_0x24db25,_0x20e1e3){const _0xc0e5ed=_0x1ff3c3;super(),this[_0xc0e5ed(0x3f2)]=_0x1bf494,this[_0xc0e5ed(0x32a)]=_0xe97eab,this[_0xc0e5ed(0x2b0)]=_0x3584dd,this[_0xc0e5ed(0x24a)]=_0x24db25,this[_0xc0e5ed(0x38d)]=_0x20e1e3;}[_0x1ff3c3(0x1e5)](_0x535b86){const _0x5dfa4e=_0x1ff3c3,_0x48b10d=this[_0x5dfa4e(0x32a)]['createSocket'](_0x535b86);if(!_0x48b10d)throw new Error(_0x5dfa4e(0x485));const _0x39fae7=new _0x274d79(),_0x535bbb=new _0x50f7a0();_0x39fae7[_0x5dfa4e(0x1e4)](_0x48b10d['close$'][_0x5dfa4e(0x5b5)](_0x3291b1=>_0x535bbb[_0x5dfa4e(0x453)](_0x3291b1))),_0x39fae7[_0x5dfa4e(0x1e4)](_0x5917cc(()=>_0x535bbb[_0x5dfa4e(0x3dc)]()));const _0x8c9814=new _0x50f7a0();_0x39fae7['add'](_0x48b10d[_0x5dfa4e(0x31a)]['subscribe'](_0x4ea89f=>_0x8c9814[_0x5dfa4e(0x453)](_0x4ea89f))),_0x39fae7[_0x5dfa4e(0x1e4)](_0x5917cc(()=>_0x8c9814[_0x5dfa4e(0x3dc)]()));const _0x28d872=new _0x50f7a0();_0x39fae7[_0x5dfa4e(0x1e4)](_0x48b10d[_0x5dfa4e(0x34c)][_0x5dfa4e(0x5b5)](_0x33e3a3=>{const _0x3c8c59=_0x5dfa4e,_0x36663a=yr(_0x33e3a3);_0x28d872[_0x3c8c59(0x453)](_0x36663a);})),_0x39fae7[_0x5dfa4e(0x1e4)](_0x5917cc(()=>_0x28d872[_0x5dfa4e(0x3dc)]()));let _0x181be5;const _0x1b2039=()=>{const _0x222807=_0x5dfa4e;_0x8c9814['next'](new Event('connection\x20error')),_0x535bbb['next'](new CloseEvent(_0x222807(0x5cd))),_0x181be5[_0x222807(0x2ee)]();};return _0x181be5={'memberID':'','close$':_0x535bbb['asObservable'](),'error$':_0x8c9814[_0x5dfa4e(0x343)](),'open$':_0x48b10d['open$'],'message$':_0x28d872[_0x5dfa4e(0x343)](),'send':_0x112db6=>{const _0x10fca1=_0x5dfa4e;if(_0x112db6[_0x10fca1(0x3f7)]===W['INGEST']){if(_0x112db6[_0x10fca1(0x28e)][_0x10fca1(0x230)]===_0x41425a[_0x10fca1(0x28f)]){this[_0x10fca1(0x530)](_0x181be5,_0x112db6[_0x10fca1(0x28e)])['catch'](_0x7d37c3=>{const _0x5da736=_0x10fca1;this[_0x5da736(0x24a)][_0x5da736(0x495)](_0x7d37c3),_0x1b2039();});return;}if(_0x112db6[_0x10fca1(0x28e)][_0x10fca1(0x230)]===_0x41425a[_0x10fca1(0x28b)]){const _0x25aab5=_0x112db6[_0x10fca1(0x28e)];this[_0x10fca1(0x26e)](_0x25aab5)[_0x10fca1(0x3b6)](_0x9d3d52=>{const _0x47c8ea=_0x10fca1;_0x28d872[_0x47c8ea(0x453)]({'cmd':W['RECV'],'code':Is['OK'],'routeKey':_0x25aab5[_0x47c8ea(0x28e)][_0x47c8ea(0x537)],'routeType':'','data':{'eventID':_0x41425a[_0x47c8ea(0x49c)],'data':{'changesets':_0x9d3d52}}});})[_0x10fca1(0x4c2)](_0x383fc6=>{const _0x1cd911=_0x10fca1;this['_logService'][_0x1cd911(0x495)](_0x383fc6),_0x1b2039();});return;}}_0x48b10d[_0x10fca1(0x433)](Or(_0x112db6));},'close':()=>{const _0x4614eb=_0x5dfa4e;_0x48b10d['close'](),_0x39fae7[_0x4614eb(0x2e5)]();}},_0x181be5;}async[_0x1ff3c3(0x530)](_0x1e871d,_0x4ccbfe){const _0x50d4ad=_0x1ff3c3;var _0x3bbd2b,_0x1ecad8;const {unitType:_0x514593,unitID:_0x552652,changeset:_0x48bdd4}=_0x4ccbfe[_0x50d4ad(0x28e)],_0x2b71c5={'unitID':_0x552652,'memberID':_0x1e871d['memberID'],'type':_0x514593,'changeset':_0x29fe59(_0x48bdd4)},_0x40a583=this[_0x50d4ad(0x2b0)]['getConfig'](Cr),_0x56ae5c=this[_0x50d4ad(0x2b0)][_0x50d4ad(0x35a)](ie),_0x716a=Ur((_0x1ecad8=(_0x3bbd2b=_0x56ae5c==null?void 0x0:_0x56ae5c['collabSubmitChangesetUrl'])!=null?_0x3bbd2b:_0x40a583)!=null?_0x1ecad8:Er,_0x514593,_0x552652);try{await this[_0x50d4ad(0x3f2)][_0x50d4ad(0x58f)](_0x716a,{'body':_0x2b71c5});}catch(_0x250d30){throw this[_0x50d4ad(0x24a)][_0x50d4ad(0x495)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x250d30;}}async[_0x1ff3c3(0x26e)](_0x2f1ed4){const _0x1adb1c=_0x1ff3c3,{unitID:_0x4be05c,from:_0x24e1b7,to:_0xcb7da,unitType:_0x8508a0}=_0x2f1ed4[_0x1adb1c(0x28e)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x4be05c,'type':_0x8508a0,'from':_0x24e1b7,'to':_0xcb7da}))[_0x1adb1c(0x47f)];}};es=Pr([qe(0x0,_0x4ca429(_0x5d3d37)),qe(0x1,_0x4ca429(_0x5ef5cf)),qe(0x2,_0x16309d),qe(0x3,_0x24c70e),qe(0x4,_0xef9473)],es);const Nr=_0x1ff3c3(0x56f);function Ar(_0x1d7ec2){const _0x1e81c2=_0x1ff3c3;return JSON[_0x1e81c2(0x504)](_0x1d7ec2)['length'];}class wi{constructor(){const _0x33c157=_0x1ff3c3;g(this,_0x33c157(0x3e7),new _0x50f7a0()),g(this,'commentUpdate$',this['_commentUpdate$'][_0x33c157(0x343)]());}[_0x1ff3c3(0x3b3)](_0x2e00fe){const _0x4969bd=_0x1ff3c3;this[_0x4969bd(0x3e7)]['next'](_0x2e00fe);}}var Mr=Object['defineProperty'],xr=Object[_0x1ff3c3(0x3b5)],Lr=(_0x5a3b3b,_0x4c8f4f,_0x4502b7,_0x5b6cad)=>{const _0x5c7b19=_0x1ff3c3;for(var _0x3580d9=_0x5b6cad>0x1?void 0x0:_0x5b6cad?xr(_0x4c8f4f,_0x4502b7):_0x4c8f4f,_0x1dde60=_0x5a3b3b[_0x5c7b19(0x231)]-0x1,_0x22f09f;_0x1dde60>=0x0;_0x1dde60--)(_0x22f09f=_0x5a3b3b[_0x1dde60])&&(_0x3580d9=(_0x5b6cad?_0x22f09f(_0x4c8f4f,_0x4502b7,_0x3580d9):_0x22f09f(_0x3580d9))||_0x3580d9);return _0x5b6cad&&_0x3580d9&&Mr(_0x4c8f4f,_0x4502b7,_0x3580d9),_0x3580d9;},Hs=(_0x5a99cb,_0x77f25a)=>(_0x133b41,_0x43bbe5)=>_0x77f25a(_0x133b41,_0x43bbe5,_0x5a99cb);let Ne=class extends _0x1b10eb{constructor(_0x4fc54c,_0x49b308){const _0x769f4d=_0x1ff3c3;super(),g(this,_0x769f4d(0x52f),new Map()),(this[_0x769f4d(0x4d6)]=_0x4fc54c,this['_userManagerService']=_0x49b308,this[_0x769f4d(0x4bb)](_0x5917cc(_0x4fc6a3(this['_univerInstanceService'][_0x769f4d(0x434)](_0x4f25e7[_0x769f4d(0x3d2)])[_0x769f4d(0x393)](_0x4d2ab2(_0x1aad3e=>_0x1aad3e['getUnitId']())),this[_0x769f4d(0x4d6)][_0x769f4d(0x434)](_0x4f25e7[_0x769f4d(0x376)])['pipe'](_0x4d2ab2(_0x344edb=>_0x344edb[_0x769f4d(0x41c)]())),this['_univerInstanceService'][_0x769f4d(0x434)](_0x4f25e7[_0x769f4d(0x4cb)])[_0x769f4d(0x393)](_0x4d2ab2(_0x5b5759=>_0x5b5759[_0x769f4d(0x41c)]())))['subscribe'](_0x38e668=>this[_0x769f4d(0x53d)](_0x38e668)))));}[_0x1ff3c3(0x340)](_0x1408bb){const _0x2e3696=_0x1ff3c3;this[_0x2e3696(0x3d6)]['setCurrentUser'](_0x1408bb);}[_0x1ff3c3(0x25a)](){const _0x700919=_0x1ff3c3;return this[_0x700919(0x3d6)][_0x700919(0x25a)]();}[_0x1ff3c3(0x236)](_0x33f38a,_0x9368a1){const _0x4dd38c=_0x1ff3c3;let _0x364477=this[_0x4dd38c(0x52f)][_0x4dd38c(0x27e)](_0x33f38a);_0x364477||(_0x364477=new $r(),this[_0x4dd38c(0x52f)][_0x4dd38c(0x403)](_0x33f38a,_0x364477)),_0x364477[_0x4dd38c(0x236)](_0x9368a1);}[_0x1ff3c3(0x1e1)](_0x1415b,_0xdf7973){const _0xe045c8=_0x1ff3c3,_0x14e996=this['_roomMembers']['get'](_0x1415b);_0x14e996&&_0x14e996[_0xe045c8(0x1e1)](_0xdf7973);}[_0x1ff3c3(0x405)](_0x24b889){const _0x3c3da4=_0x1ff3c3;return this['_roomMembers'][_0x3c3da4(0x27e)](_0x24b889);}[_0x1ff3c3(0x546)](_0x4580e3,_0x5de755){const _0x127fb4=_0x1ff3c3,_0x23b7ef=this[_0x127fb4(0x52f)][_0x127fb4(0x27e)](_0x4580e3);if(_0x23b7ef)return _0x23b7ef[_0x127fb4(0x546)](_0x5de755);}[_0x1ff3c3(0x53d)](_0x58b458){const _0x25867d=_0x1ff3c3,_0xf4f234=this[_0x25867d(0x52f)]['get'](_0x58b458);_0xf4f234&&(_0xf4f234['dispose'](),this[_0x25867d(0x52f)][_0x25867d(0x4dc)](_0x58b458));}['dispose'](){const _0x1827f2=_0x1ff3c3;this[_0x1827f2(0x52f)]['forEach'](_0x4373f0=>_0x4373f0[_0x1827f2(0x2e5)]()),this['_roomMembers'][_0x1827f2(0x432)]();}};Ne=Lr([Hs(0x0,_0x527b53),Hs(0x1,_0x4ca429(_0x3e1f30))],Ne);class $r extends _0x1b10eb{constructor(){const _0x20a39f=_0x1ff3c3;super(...arguments),g(this,_0x20a39f(0x23c),new Map());}[_0x1ff3c3(0x2e5)](){const _0x58f86e=_0x1ff3c3;this[_0x58f86e(0x23c)][_0x58f86e(0x432)]();}[_0x1ff3c3(0x236)](_0x4eaf48){const _0x5099fe=_0x1ff3c3;this[_0x5099fe(0x23c)]['set'](_0x4eaf48[_0x5099fe(0x3b0)],_0x4eaf48);}[_0x1ff3c3(0x1e1)](_0x282d44){const _0x4aa754=_0x1ff3c3;this[_0x4aa754(0x23c)]['delete'](_0x282d44);}[_0x1ff3c3(0x546)](_0xea8d9){const _0xa8e217=_0x1ff3c3;return this[_0xa8e217(0x23c)]['get'](_0xea8d9);}['getAllMembers'](){const _0x24f4e0=_0x1ff3c3;return Array[_0x24f4e0(0x2ba)](this[_0x24f4e0(0x23c)][_0x24f4e0(0x3ee)]());}}var Hr=Object[_0x1ff3c3(0x39f)],jr=Object[_0x1ff3c3(0x3b5)],Br=(_0x5ccd6a,_0x145567,_0x161cb9,_0x2747a7)=>{const _0x5324c5=_0x1ff3c3;for(var _0x293800=_0x2747a7>0x1?void 0x0:_0x2747a7?jr(_0x145567,_0x161cb9):_0x145567,_0x3e0561=_0x5ccd6a[_0x5324c5(0x231)]-0x1,_0x58a767;_0x3e0561>=0x0;_0x3e0561--)(_0x58a767=_0x5ccd6a[_0x3e0561])&&(_0x293800=(_0x2747a7?_0x58a767(_0x145567,_0x161cb9,_0x293800):_0x58a767(_0x293800))||_0x293800);return _0x2747a7&&_0x293800&&Hr(_0x145567,_0x161cb9,_0x293800),_0x293800;},Ee=(_0x4cf809,_0xfcc739)=>(_0xf8c456,_0x1f63cc)=>_0xfcc739(_0xf8c456,_0x1f63cc,_0x4cf809),ve=(_0x54f6f1=>(_0x54f6f1[_0x54f6f1['IDLE']=0x0]=_0x1ff3c3(0x23f),_0x54f6f1[_0x54f6f1['JOINING']=0x1]='JOINING',_0x54f6f1[_0x54f6f1[_0x1ff3c3(0x2fb)]=0x2]=_0x1ff3c3(0x2fb),_0x54f6f1[_0x54f6f1['ONLINE']=0x3]=_0x1ff3c3(0x4a4),_0x54f6f1))(ve||{});let ts=class extends _0x58a0f6{constructor(_0xf86024,_0x358700,_0x2759a4,_0x2b7a7a,_0x4339af,_0x372e38,_0x2b4d90,_0xdd2901,_0x148c21,_0x489c5a){const _0x40576a=_0x1ff3c3;super(),g(this,_0x40576a(0x477),new _0x4ef6f6(0x0)),g(this,_0x40576a(0x4eb),this[_0x40576a(0x477)]['asObservable']()),g(this,_0x40576a(0x3c2),new _0x50f7a0()),g(this,_0x40576a(0x558),this['_event$']['asObservable']()),g(this,_0x40576a(0x5b1)),g(this,'_socketMessageSubscription'),g(this,_0x40576a(0x37d)),g(this,_0x40576a(0x2a4),!0x1),g(this,'_telemetryInfo',null),(this['_unitID']=_0xf86024,this[_0x40576a(0x24a)]=_0x2759a4,this[_0x40576a(0x43f)]=_0x2b7a7a,this['_messageService']=_0x4339af,this['_configService']=_0x372e38,this[_0x40576a(0x309)]=_0x2b4d90,this[_0x40576a(0x578)]=_0xdd2901,this[_0x40576a(0x487)]=_0x148c21,this[_0x40576a(0x55a)]=_0x489c5a,this[_0x40576a(0x2a4)]=!!this[_0x40576a(0x55a)],_0x358700[_0x40576a(0x393)](_0x5e202a(this[_0x40576a(0x470)]))[_0x40576a(0x5b5)](_0x5de220=>{const _0x25a1d3=_0x40576a;var _0x53d798;typeof _0x5de220>'u'||(this['_socket']=_0x5de220,_0x5de220?(this[_0x25a1d3(0x533)](_0x5de220),this[_0x25a1d3(0x1fc)]=_0x5de220['message$'][_0x25a1d3(0x5b5)](_0xba0fe3=>{const _0x2098a4=_0x25a1d3;_0xba0fe3[_0x2098a4(0x2fe)]===this[_0x2098a4(0x5e3)]&&this['_onCombEvent'](_0xba0fe3);})):(this[_0x25a1d3(0x1ec)](),this[_0x25a1d3(0x477)][_0x25a1d3(0x453)](0x2),(_0x53d798=this[_0x25a1d3(0x1fc)])==null||_0x53d798[_0x25a1d3(0x1fe)](),this[_0x25a1d3(0x1fc)]=null));}),this[_0x40576a(0x4bb)](this[_0x40576a(0x43f)]['registerOnClose'](()=>{const _0x2f68b9=_0x40576a;var _0x4a41bb;(_0x4a41bb=this[_0x2f68b9(0x5b1)])==null||_0x4a41bb[_0x2f68b9(0x433)]({'cmd':W[_0x2f68b9(0x44f)],'data':{'roomID':this[_0x2f68b9(0x5e3)]}});})));}get['sessionStatus'](){const _0x4e5fa2=_0x1ff3c3;return this[_0x4e5fa2(0x477)][_0x4e5fa2(0x42d)]();}[_0x1ff3c3(0x2be)](){const _0x573381=_0x1ff3c3;var _0x1856f1,_0x2aa574;return(_0x2aa574=(_0x1856f1=this['_socket'])==null?void 0x0:_0x1856f1[_0x573381(0x3b0)])!=null?_0x2aa574:null;}[_0x1ff3c3(0x2e5)](){const _0x341619=_0x1ff3c3;super['dispose'](),this[_0x341619(0x470)][_0x341619(0x453)](),this['dispose$']['complete']();}[_0x1ff3c3(0x2ee)](){const _0x35a9c3=_0x1ff3c3;var _0x286104,_0x13f87b;this[_0x35a9c3(0x1ec)](),(_0x286104=this[_0x35a9c3(0x5b1)])==null||_0x286104[_0x35a9c3(0x433)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x35a9c3(0x5e3)]}}),(_0x13f87b=this[_0x35a9c3(0x5b1)])==null||_0x13f87b[_0x35a9c3(0x2ee)](),this['_event$']['complete'](),this['_sessionStatus$'][_0x35a9c3(0x3dc)](),this[_0x35a9c3(0x2e5)]();}['_onCombEvent'](_0x44289e){const _0x3d2cd8=_0x1ff3c3;_0x44289e[_0x3d2cd8(0x3f7)]===W[_0x3d2cd8(0x5c0)]?this[_0x3d2cd8(0x2ad)](_0x44289e):_0x44289e[_0x3d2cd8(0x3f7)]===W['RECV']&&this[_0x3d2cd8(0x363)](_0x44289e);}['_joinRoom'](_0x10aec8){const _0xcd3ef3=_0x1ff3c3;this['_sessionStatus$']['next'](0x1),_0x10aec8['send']({'cmd':W[_0xcd3ef3(0x5c0)],'routeKey':this[_0xcd3ef3(0x5e3)],'routeType':'','data':{'rooms':[{'roomID':this[_0xcd3ef3(0x5e3)]}]}});}[_0x1ff3c3(0x2ad)](_0x1b551a){const _0x1d3224=_0x1ff3c3;var _0x221cf8;if(_0x1b551a[_0x1d3224(0x421)]===Is['FAIL']){this[_0x1d3224(0x360)][_0x1d3224(0x257)]({'type':_0x11cc22[_0x1d3224(0x313)],'content':this[_0x1d3224(0x309)]['t'](_0x1d3224(0x1ef))}),this['_sessionStatus$'][_0x1d3224(0x453)](0x2);return;}this[_0x1d3224(0x477)][_0x1d3224(0x453)](0x3);const _0x6d5a39=(_0x221cf8=_0x1b551a['data'][_0x1d3224(0x2c6)][this[_0x1d3224(0x5e3)]])==null?void 0x0:_0x221cf8[_0x1d3224(0x4f1)];_0x6d5a39&&_0x6d5a39[_0x1d3224(0x2e9)](_0x314aeb=>this[_0x1d3224(0x578)]['updateMember'](this[_0x1d3224(0x5e3)],_0x314aeb));}['_onRecvEvent'](_0x3aa4d4){const _0x294ad6=_0x1ff3c3;try{const _0x4726c3=_0x3aa4d4[_0x294ad6(0x28e)];switch(_0x4726c3[_0x294ad6(0x230)]){case _0x41425a[_0x294ad6(0x27c)]:this[_0x294ad6(0x538)](_0x4726c3),this[_0x294ad6(0x3c2)][_0x294ad6(0x453)](_0x4726c3);break;case _0x41425a[_0x294ad6(0x575)]:this[_0x294ad6(0x5e8)](_0x4726c3),this['_event$'][_0x294ad6(0x453)](_0x4726c3);break;case _0x41425a[_0x294ad6(0x318)]:case _0x41425a[_0x294ad6(0x2f8)]:this[_0x294ad6(0x23e)](),this[_0x294ad6(0x33a)](),this[_0x294ad6(0x3c2)]['next'](_0x4726c3);break;case _0x41425a[_0x294ad6(0x5f2)]:this[_0x294ad6(0x24a)][_0x294ad6(0x495)](_0x294ad6(0x4de)+JSON['stringify'](_0x4726c3)),this[_0x294ad6(0x3c2)][_0x294ad6(0x453)](_0x4726c3);break;case _0x41425a[_0x294ad6(0x388)]:this[_0x294ad6(0x487)]['onCommentUpdate'](_0x4726c3['data']),this[_0x294ad6(0x3c2)][_0x294ad6(0x453)](_0x4726c3);break;default:this['_event$'][_0x294ad6(0x453)](_0x4726c3);}}catch(_0x5795da){this[_0x294ad6(0x24a)]['error'](_0x5795da,_0x3aa4d4);}}[_0x1ff3c3(0x538)](_0x556e3b){const _0x5c4d11=_0x1ff3c3;this[_0x5c4d11(0x578)]['updateMember'](this[_0x5c4d11(0x5e3)],_0x556e3b[_0x5c4d11(0x28e)]);}[_0x1ff3c3(0x5e8)](_0xcb920f){const _0x2dbf1b=_0x1ff3c3;this[_0x2dbf1b(0x578)][_0x2dbf1b(0x1e1)](this[_0x2dbf1b(0x5e3)],_0xcb920f[_0x2dbf1b(0x28e)][_0x2dbf1b(0x3b0)]);}async[_0x1ff3c3(0x433)](_0x2c8377,_0x43ed25){const _0x5bc55f=_0x1ff3c3;if(this[_0x5bc55f(0x498)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2c8377[_0x5bc55f(0x230)]===_0x41425a[_0x5bc55f(0x28f)]&&(this[_0x5bc55f(0x234)](),this[_0x5bc55f(0x2af)](_0x2c8377)),this['_socket'][_0x5bc55f(0x433)]({'cmd':W[_0x5bc55f(0x481)],'routeKey':_0x43ed25,'routeType':'','data':_0x2c8377});}catch(_0x2bbd28){this[_0x5bc55f(0x24a)][_0x5bc55f(0x495)](_0x2bbd28);}}['_scheduleCollaborationTimeoutTimer'](){const _0x4bc246=_0x1ff3c3;var _0x5df561;this['_collaborationTimeoutTimer']=window[_0x4bc246(0x1f5)](()=>{const _0x3d0613=_0x4bc246;this['_collaborationTimeoutTimer']=null,this['_messageService'][_0x3d0613(0x257)]({'type':_0x11cc22[_0x3d0613(0x3be)],'content':this[_0x3d0613(0x309)]['t'](_0x3d0613(0x347))});},(_0x5df561=this['_configService']['getConfig'](bi))!=null?_0x5df561:Ti);}[_0x1ff3c3(0x33a)](){const _0x47ba02=_0x1ff3c3;this[_0x47ba02(0x37d)]&&(clearTimeout(this[_0x47ba02(0x37d)]),this[_0x47ba02(0x37d)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x16abb6){const _0x57ca76=_0x1ff3c3;if(!this[_0x57ca76(0x2a4)])return;const {data:_0x3e8cfc}=_0x16abb6,{unitID:_0x5a5354,changeset:_0x469dee}=_0x3e8cfc,{mutations:_0x547409,type:_0x3ddd09}=_0x469dee;this[_0x57ca76(0x3e8)]={'unitId':_0x5a5354,'type':_0x3ddd09,'startTime':performance[_0x57ca76(0x5e9)](),'stopTime':0x0,'duration':0x0,'size':Ar(_0x547409)};}[_0x1ff3c3(0x23e)](){const _0xba25e4=_0x1ff3c3;if(this['_shouldReportTelemetry']){if(!this[_0xba25e4(0x3e8)]){this['_logService'][_0xba25e4(0x495)](_0xba25e4(0x24b),_0xba25e4(0x335));return;}this[_0xba25e4(0x3e8)][_0xba25e4(0x56b)]=performance[_0xba25e4(0x5e9)](),this[_0xba25e4(0x3e8)]['duration']=this[_0xba25e4(0x3e8)][_0xba25e4(0x56b)]-this[_0xba25e4(0x3e8)][_0xba25e4(0x444)],this['_telemetryService'][_0xba25e4(0x302)](Nr,this[_0xba25e4(0x3e8)]),this[_0xba25e4(0x3e8)]=null;}}[_0x1ff3c3(0x1ec)](){const _0x3067f7=_0x1ff3c3;this[_0x3067f7(0x3e8)]=null;}};ts=Br([Ee(0x2,_0x24c70e),Ee(0x3,_0x191aa8),Ee(0x4,_0x47c163),Ee(0x5,_0x16309d),Ee(0x6,_0x4ca429(_0x12b201)),Ee(0x7,_0x4ca429(Ne)),Ee(0x8,_0x4ca429(wi)),Ee(0x9,_0x1e9cac(_0x13a498))],ts);var kr=Object[_0x1ff3c3(0x39f)],Wr=Object[_0x1ff3c3(0x3b5)],Fr=(_0x29ec07,_0x31616f,_0x792e69,_0x1881ca)=>{for(var _0x436af3=_0x1881ca>0x1?void 0x0:_0x1881ca?Wr(_0x31616f,_0x792e69):_0x31616f,_0x347402=_0x29ec07['length']-0x1,_0x340159;_0x347402>=0x0;_0x347402--)(_0x340159=_0x29ec07[_0x347402])&&(_0x436af3=(_0x1881ca?_0x340159(_0x31616f,_0x792e69,_0x436af3):_0x340159(_0x436af3))||_0x436af3);return _0x1881ca&&_0x436af3&&kr(_0x31616f,_0x792e69,_0x436af3),_0x436af3;},je=(_0x5aceae,_0x582504)=>(_0x2ec55b,_0x889dde)=>_0x582504(_0x2ec55b,_0x889dde,_0x5aceae);let Ae=class extends _0x1b10eb{constructor(_0x2f61d9,_0x31495a,_0x545c50,_0x17e2ae,_0xcd25a4,_0x2fe56d){const _0x3d3c78=_0x1ff3c3;super(),g(this,'_socket$',new _0x4ef6f6(void 0x0)),g(this,_0x3d3c78(0x311),this[_0x3d3c78(0x509)]['asObservable']()),g(this,_0x3d3c78(0x5c1),null),g(this,_0x3d3c78(0x2cb),new Map()),g(this,_0x3d3c78(0x54b),new _0x4ef6f6(ve[_0x3d3c78(0x23f)])),g(this,_0x3d3c78(0x40d),this['_status$'][_0x3d3c78(0x343)]()),g(this,'_socketReady',!0x1),g(this,'_retryConnectingTimer'),g(this,_0x3d3c78(0x259),0x0),g(this,_0x3d3c78(0x45d)),g(this,'_timeoutTimer'),(this['_injector']=_0x2f61d9,this['_localeService']=_0x31495a,this[_0x3d3c78(0x360)]=_0x545c50,this[_0x3d3c78(0x24a)]=_0x17e2ae,this[_0x3d3c78(0x2b0)]=_0xcd25a4,this[_0x3d3c78(0x245)]=_0x2fe56d,this[_0x3d3c78(0x57b)]());}get[_0x1ff3c3(0x5b1)](){return this['_socket$']['getValue']();}['_initEventListeners'](){const _0x19347f=_0x1ff3c3;this[_0x19347f(0x5d8)](),this[_0x19347f(0x39a)]();}[_0x1ff3c3(0x2e5)](){const _0x259290=_0x1ff3c3;super[_0x259290(0x2e5)](),this[_0x259290(0x2cb)][_0x259290(0x2e9)](_0x4e55f2=>_0x4e55f2[_0x259290(0x2e5)]()),this[_0x259290(0x2cb)][_0x259290(0x432)](),this[_0x259290(0x54b)][_0x259290(0x3dc)]();}async[_0x1ff3c3(0x48b)](_0x318c6e){const _0x30f959=_0x1ff3c3;if(this[_0x30f959(0x2cb)][_0x30f959(0x584)](_0x318c6e))return this[_0x30f959(0x2cb)][_0x30f959(0x27e)](_0x318c6e);this[_0x30f959(0x325)]();const _0x465e06=this[_0x30f959(0x4ea)][_0x30f959(0x5d4)](ts,_0x318c6e,this[_0x30f959(0x509)][_0x30f959(0x343)]());return this[_0x30f959(0x2cb)]['set'](_0x318c6e,_0x465e06),_0x465e06;}[_0x1ff3c3(0x275)](_0x283122){const _0x2cf074=_0x1ff3c3;var _0x4f1e57;const _0xd4fc14=this[_0x2cf074(0x2cb)]['get'](_0x283122);_0xd4fc14&&(this[_0x2cf074(0x2cb)]['delete'](_0x283122),_0xd4fc14[_0x2cf074(0x2ee)]()),this[_0x2cf074(0x2cb)]['size']||(_0x4f1e57=this['_socket'])==null||_0x4f1e57['close']();}[_0x1ff3c3(0x366)](){const _0x564134=_0x1ff3c3;this[_0x564134(0x259)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x564134(0x4e4)]),this[_0x564134(0x4e4)]=null),this[_0x564134(0x29c)]();}[_0x1ff3c3(0x307)](){const _0x5b6709=_0x1ff3c3;var _0x129216,_0x2e9bd8;const _0x24fb8e=this[_0x5b6709(0x2b0)][_0x5b6709(0x35a)](ur),_0x5eab79=this[_0x5b6709(0x2b0)][_0x5b6709(0x35a)](ie),_0x453df7=(_0x2e9bd8=(_0x129216=_0x5eab79==null?void 0x0:_0x5eab79['collabWebSocketUrl'])!=null?_0x129216:_0x24fb8e)!=null?_0x2e9bd8:dr,_0x120d03=this[_0x5b6709(0x245)][_0x5b6709(0x1e5)](_0x453df7);return this['_candidateSocket']=_0x120d03,_0x120d03;}[_0x1ff3c3(0x325)](){const _0x4c2c09=_0x1ff3c3;var _0x84e45c,_0x3c6235;try{const _0x4bb5b4=(_0x3c6235=(_0x84e45c=this[_0x4c2c09(0x5b1)])!=null?_0x84e45c:this[_0x4c2c09(0x5c1)])!=null?_0x3c6235:this[_0x4c2c09(0x307)]();if(_0x4bb5b4){const _0x2885b9=_0x4bb5b4[_0x4c2c09(0x433)];_0x4bb5b4[_0x4c2c09(0x433)]=_0x5183d6=>(this[_0x4c2c09(0x525)](),_0x2885b9[_0x4c2c09(0x2a1)](_0x4bb5b4,[_0x5183d6])),_0x4bb5b4[_0x4c2c09(0x34c)]['subscribe'](_0x20ecd9=>this[_0x4c2c09(0x5ce)](_0x4bb5b4,_0x20ecd9)),_0x4bb5b4[_0x4c2c09(0x31a)][_0x4c2c09(0x393)](_0x5dd60c(0x1))['subscribe'](_0x5d385a=>this[_0x4c2c09(0x24a)][_0x4c2c09(0x495)]('[CollaborationSessionService]:\x20socket\x20error',_0x5d385a)),_0x4bb5b4[_0x4c2c09(0x2a7)][_0x4c2c09(0x393)](_0x5dd60c(0x1))[_0x4c2c09(0x5b5)](()=>{const _0x1197c5=_0x4c2c09;this[_0x1197c5(0x536)](_0x4bb5b4);}),_0x4bb5b4[_0x4c2c09(0x2ca)][_0x4c2c09(0x393)](_0x5dd60c(0x1))[_0x4c2c09(0x5b5)](_0x1e3a3b=>{const _0x1239ac=_0x4c2c09;this[_0x1239ac(0x24a)]['debug'](_0x1239ac(0x246),_0x1239ac(0x526),_0x1e3a3b),this[_0x1239ac(0x557)]();});}}catch(_0x341a26){this[_0x4c2c09(0x24a)][_0x4c2c09(0x495)](_0x341a26),this['_onConnectionFailed']();}}[_0x1ff3c3(0x536)](_0x26fdcc){const _0x122b96=_0x1ff3c3;this['_logService'][_0x122b96(0x392)](_0x122b96(0x246),_0x122b96(0x345)),_0x26fdcc[_0x122b96(0x433)]({'cmd':W[_0x122b96(0x284)]}),this[_0x122b96(0x525)]();}[_0x1ff3c3(0x5d8)](){const _0x1f3ea8=_0x1ff3c3;window[_0x1f3ea8(0x53a)]('offline',()=>this[_0x1f3ea8(0x58a)]());}[_0x1ff3c3(0x58a)](){const _0x9b70fa=_0x1ff3c3;this['_socketReady']=!0x1,this[_0x9b70fa(0x5c1)]=null,this[_0x9b70fa(0x54b)][_0x9b70fa(0x453)](ve['OFFLINE']),this[_0x9b70fa(0x509)][_0x9b70fa(0x453)](null),this['_clearTimeoutTimer'](),this[_0x9b70fa(0x4e2)]();}[_0x1ff3c3(0x557)](){const _0x46e8f7=_0x1ff3c3;var _0x41b52e;this[_0x46e8f7(0x58a)](),this[_0x46e8f7(0x259)]<((_0x41b52e=this[_0x46e8f7(0x2b0)][_0x46e8f7(0x35a)](pr))!=null?_0x41b52e:gr)?(this['_messageService'][_0x46e8f7(0x257)]({'key':_0x46e8f7(0x41f),'type':_0x11cc22['Warning'],'content':this[_0x46e8f7(0x309)]['t'](_0x46e8f7(0x4a3))}),this[_0x46e8f7(0x29c)]()):this['_messageService'][_0x46e8f7(0x257)]({'key':_0x46e8f7(0x41f),'type':_0x11cc22['Error'],'content':this['_localeService']['t'](_0x46e8f7(0x2ef))});}[_0x1ff3c3(0x39a)](){const _0x50e031=_0x1ff3c3,_0x2248b2=()=>{const _0x4d1519=_0x304f;this[_0x4d1519(0x5b1)]||this['reconnect']();},_0x9bac3e=()=>{const _0x1f2bf1=_0x304f;this[_0x1f2bf1(0x5b1)]||document[_0x1f2bf1(0x4cc)]===_0x1f2bf1(0x503)||this['reconnect']();};window[_0x50e031(0x53a)](_0x50e031(0x47d),_0x2248b2),document[_0x50e031(0x53a)](_0x50e031(0x301),_0x9bac3e);}[_0x1ff3c3(0x29c)](){const _0x3cfd92=_0x1ff3c3;var _0x5461ae;const _0x28aaf8=this['_retryCount'],_0x457a23=this[_0x3cfd92(0x2b0)][_0x3cfd92(0x35a)](ie),_0x34d349=_0x28aaf8===0x0?0x0:((_0x5461ae=_0x457a23==null?void 0x0:_0x457a23['retryConnectingInterval'])!=null?_0x5461ae:mr)*0x2**_0x28aaf8;this['_retryConnectingTimer']=window[_0x3cfd92(0x1f5)](()=>{const _0x3d0870=_0x3cfd92;clearTimeout(this[_0x3d0870(0x4e4)]),this['_retryConnectingTimer']=null,this[_0x3d0870(0x325)]();},_0x34d349),this['_retryCount']+=0x1;}[_0x1ff3c3(0x5ce)](_0x5e1b06,_0x300c49){const _0x40f248=_0x1ff3c3,{cmd:_0x2d6125}=_0x300c49;_0x2d6125===W[_0x40f248(0x284)]&&!this[_0x40f248(0x52a)]&&(_0x5e1b06['memberID']=_0x300c49[_0x40f248(0x28e)]['memberID'],this[_0x40f248(0x509)][_0x40f248(0x453)](_0x5e1b06),this['_status$']['next'](ve[_0x40f248(0x4a4)]),this[_0x40f248(0x52a)]=!0x0,this[_0x40f248(0x5c1)]=null),_0x2d6125===W[_0x40f248(0x24c)]&&this['_clearTimeoutTimer'](),this[_0x40f248(0x525)]();}[_0x1ff3c3(0x525)](){const _0x366817=_0x1ff3c3;var _0x2a6cbe;this['_clearHeartbeatTimer'](),this[_0x366817(0x45d)]=window['setTimeout'](()=>this[_0x366817(0x4c7)](),(_0x2a6cbe=this[_0x366817(0x2b0)][_0x366817(0x35a)](fr))!=null?_0x2a6cbe:vr);}[_0x1ff3c3(0x4c7)](){const _0x18ec4d=_0x1ff3c3;this[_0x18ec4d(0x5b1)]['send']({'cmd':W[_0x18ec4d(0x24c)]}),this['_waitForHeartbeatResponse']();}[_0x1ff3c3(0x379)](){const _0x20a3e9=_0x1ff3c3;var _0x18374b;this['_timeoutTimer']=window[_0x20a3e9(0x1f5)](()=>this['_onConnectionFailed'](),(_0x18374b=this['_configService'][_0x20a3e9(0x35a)](bi))!=null?_0x18374b:Ti);}[_0x1ff3c3(0x4e2)](){const _0x2ac4d4=_0x1ff3c3;this[_0x2ac4d4(0x45d)]!=null&&(clearTimeout(this[_0x2ac4d4(0x45d)]),this[_0x2ac4d4(0x45d)]=null);}[_0x1ff3c3(0x457)](){const _0x4b8169=_0x1ff3c3;this[_0x4b8169(0x4ac)]!=null&&(clearTimeout(this[_0x4b8169(0x4ac)]),this[_0x4b8169(0x4ac)]=null);}};Ae=Fr([je(0x0,_0x4ca429(_0x1678ba)),je(0x1,_0x4ca429(_0x12b201)),je(0x2,_0x47c163),je(0x3,_0x24c70e),je(0x4,_0x16309d),je(0x5,Oi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x1ff3c3(0x2cc)]((i+0x100)[_0x1ff3c3(0x4fb)](0x10)[_0x1ff3c3(0x5f1)](0x1));function Vr(_0x24c33f,_0x1c3528=0x0){const _0x4d52e4=_0x1ff3c3;return(Y[_0x24c33f[_0x1c3528+0x0]]+Y[_0x24c33f[_0x1c3528+0x1]]+Y[_0x24c33f[_0x1c3528+0x2]]+Y[_0x24c33f[_0x1c3528+0x3]]+'-'+Y[_0x24c33f[_0x1c3528+0x4]]+Y[_0x24c33f[_0x1c3528+0x5]]+'-'+Y[_0x24c33f[_0x1c3528+0x6]]+Y[_0x24c33f[_0x1c3528+0x7]]+'-'+Y[_0x24c33f[_0x1c3528+0x8]]+Y[_0x24c33f[_0x1c3528+0x9]]+'-'+Y[_0x24c33f[_0x1c3528+0xa]]+Y[_0x24c33f[_0x1c3528+0xb]]+Y[_0x24c33f[_0x1c3528+0xc]]+Y[_0x24c33f[_0x1c3528+0xd]]+Y[_0x24c33f[_0x1c3528+0xe]]+Y[_0x24c33f[_0x1c3528+0xf]])[_0x4d52e4(0x3c1)]();}let Nt;const Gr=new Uint8Array(0x10);function Yr(){const _0x20ee6d=_0x1ff3c3;if(!Nt){if(typeof crypto>'u'||!crypto[_0x20ee6d(0x424)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Nt=crypto[_0x20ee6d(0x424)][_0x20ee6d(0x1fb)](crypto);}return Nt(Gr);}const Kr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x1ff3c3(0x1f4)][_0x1ff3c3(0x1fb)](crypto),js={'randomUUID':Kr};function zr(_0x449329,_0x1f36e6,_0x3519f0){const _0x2551ce=_0x1ff3c3;if(js['randomUUID']&&!_0x1f36e6&&!_0x449329)return js[_0x2551ce(0x1f4)]();_0x449329=_0x449329||{};const _0x97c20=_0x449329['random']||(_0x449329['rng']||Yr)();return _0x97c20[0x6]=_0x97c20[0x6]&0xf|0x40,_0x97c20[0x8]=_0x97c20[0x8]&0x3f|0x80,Vr(_0x97c20);}var qr=Object['defineProperty'],Xr=Object[_0x1ff3c3(0x3b5)],Jr=(_0x141bd9,_0x5ba12f,_0x14a1e0,_0x40a00e)=>{const _0x5bfc46=_0x1ff3c3;for(var _0x226a81=_0x40a00e>0x1?void 0x0:_0x40a00e?Xr(_0x5ba12f,_0x14a1e0):_0x5ba12f,_0x37ad61=_0x141bd9[_0x5bfc46(0x231)]-0x1,_0x1a3994;_0x37ad61>=0x0;_0x37ad61--)(_0x1a3994=_0x141bd9[_0x37ad61])&&(_0x226a81=(_0x40a00e?_0x1a3994(_0x5ba12f,_0x14a1e0,_0x226a81):_0x1a3994(_0x226a81))||_0x226a81);return _0x40a00e&&_0x226a81&&qr(_0x5ba12f,_0x14a1e0,_0x226a81),_0x226a81;},At=(_0x5c2644,_0x3daed0)=>(_0x395e4b,_0x27a5b0)=>_0x3daed0(_0x395e4b,_0x27a5b0,_0x5c2644);let ft=class{constructor(_0x11d232,_0x12cb6d,_0x5c570b){const _0x2e702a=_0x1ff3c3;this[_0x2e702a(0x4ea)]=_0x11d232,this[_0x2e702a(0x5aa)]=_0x12cb6d,this[_0x2e702a(0x35f)]=_0x5c570b;}['transformIMECache'](_0x860ae0){const _0x4cb0fd=_0x1ff3c3;this['_transformUndoRedoStack'](_0x860ae0),this[_0x4cb0fd(0x3cd)](_0x860ae0);}['transformRemoteChangeset'](_0x282be7){const _0x1fd52e=_0x1ff3c3,{unitID:_0x11ee2a}=_0x282be7,_0x32d031=this['_renderManagerService'][_0x1fd52e(0x586)](_0x11ee2a)[_0x1fd52e(0x585)](_0x437aae),{redoCache:_0x1aa053}=_0x32d031[_0x1fd52e(0x373)]();if(_0x1aa053['length']===0x0)return _0x282be7;let _0x263c0b=_0x4dc572[_0x1fd52e(0x33e)](_0x282be7['mutations'][0x0]);for(let _0x42a05e=0x0;_0x42a05e<_0x1aa053['length'];_0x42a05e++){const _0x2b8d24={'id':_0x1fd52e(0x5af),'params':{..._0x1aa053[_0x42a05e]}},_0xc4c0c8=this[_0x1fd52e(0x5aa)][_0x1fd52e(0x380)](_0x263c0b,_0x2b8d24,!0x1);if(_0x5c67ed(_0xc4c0c8))throw _0xc4c0c8[_0x1fd52e(0x495)];_0x263c0b=_0xc4c0c8[_0x1fd52e(0x3cc)];}return{..._0x4dc572['deepClone'](_0x282be7),'mutations':[_0x263c0b]};}['_transformUndoRedoStack'](_0x201e27){const _0x28ceee=_0x1ff3c3,{unitID:_0x1d4343}=_0x201e27,_0x1b2a0c=this[_0x28ceee(0x35f)][_0x28ceee(0x586)](_0x1d4343)[_0x28ceee(0x585)](_0x437aae),{undoCache:_0x2e5998,redoCache:_0x5753cf}=_0x1b2a0c[_0x28ceee(0x373)]();if(_0x2e5998[_0x28ceee(0x231)]===0x0||_0x5753cf[_0x28ceee(0x231)]===0x0)return;const _0x20f0e6=[],_0x4fe1c1=[];let _0x4a6981=_0x4dc572[_0x28ceee(0x33e)](_0x201e27[_0x28ceee(0x2c4)][0x0]),_0x396701=_0x4dc572[_0x28ceee(0x33e)](_0x201e27['mutations'][0x0]);for(let _0x50d584=_0x2e5998[_0x28ceee(0x231)]-0x1;_0x50d584>=0x0;_0x50d584--){const _0x4d06a5={'id':_0x28ceee(0x5af),'params':{..._0x2e5998[_0x50d584]}},_0x27b4f0={'id':_0x28ceee(0x5af),'params':{..._0x5753cf[_0x50d584]}},_0x4d2d34=this[_0x28ceee(0x5aa)][_0x28ceee(0x380)](_0x4a6981,_0x4d06a5,!0x1),_0xc91a03=this[_0x28ceee(0x5aa)]['transformMutation'](_0x396701,_0x27b4f0,!0x1);if(_0x5c67ed(_0x4d2d34))throw _0x4d2d34[_0x28ceee(0x495)];if(_0x5c67ed(_0xc91a03))throw _0xc91a03[_0x28ceee(0x495)];_0x20f0e6[_0x28ceee(0x56c)](_0x4d2d34[_0x28ceee(0x3fa)][_0x28ceee(0x5ee)]),_0x4fe1c1[_0x28ceee(0x56c)](_0xc91a03[_0x28ceee(0x3fa)][_0x28ceee(0x5ee)]),_0x4a6981=_0x4d2d34['m1Prime'],_0x396701=_0xc91a03[_0x28ceee(0x3cc)];}_0x1b2a0c[_0x28ceee(0x1ff)]({'undoCache':_0x20f0e6,'redoCache':_0x4fe1c1});}[_0x1ff3c3(0x3cd)](_0x23cb64){const _0x4a158f=_0x1ff3c3,{unitID:_0x499402}=_0x23cb64,_0x56e173=this[_0x4a158f(0x35f)]['getRenderById'](_0x499402)['with'](_0x437aae),_0x48e86e=_0x56e173['getActiveRange']();if(_0x48e86e==null)return;const _0x336b2b=[{'id':_0x4a158f(0x5af),'params':{'unitId':_0x23cb64['unitID'],'actions':null,'textRanges':[_0x48e86e]}}],_0x4b1b19=this[_0x4a158f(0x5aa)][_0x4a158f(0x4b8)](_0x23cb64,_0x336b2b);if(!_0x4a3d24(_0x4b1b19))throw _0x4b1b19[_0x4a158f(0x495)];const _0x1f86d3=_0x4b1b19[_0x4a158f(0x3fa)][0x0]['params'][_0x4a158f(0x422)];Array[_0x4a158f(0x44c)](_0x1f86d3)&&_0x1f86d3[_0x4a158f(0x231)]&&_0x56e173[_0x4a158f(0x27b)](_0x1f86d3[0x0]);}};ft=Jr([At(0x0,_0x4ca429(_0x1678ba)),At(0x1,_0x359823),At(0x2,_0x2e164c)],ft);var Zr=Object['defineProperty'],Qr=Object[_0x1ff3c3(0x3b5)],eo=(_0x35d0af,_0x2aae29,_0x1212e1,_0x4206c2)=>{const _0x59f190=_0x1ff3c3;for(var _0x7e8955=_0x4206c2>0x1?void 0x0:_0x4206c2?Qr(_0x2aae29,_0x1212e1):_0x2aae29,_0x132669=_0x35d0af[_0x59f190(0x231)]-0x1,_0x273040;_0x132669>=0x0;_0x132669--)(_0x273040=_0x35d0af[_0x132669])&&(_0x7e8955=(_0x4206c2?_0x273040(_0x2aae29,_0x1212e1,_0x7e8955):_0x273040(_0x7e8955))||_0x7e8955);return _0x4206c2&&_0x7e8955&&Zr(_0x2aae29,_0x1212e1,_0x7e8955),_0x7e8955;},Xe=(_0xb76d73,_0x55def9)=>(_0x36fe8e,_0x47367f)=>_0x55def9(_0x36fe8e,_0x47367f,_0xb76d73);let q=class extends _0x1b10eb{constructor(_0x3c1aa7,_0x1e1745,_0x47e61a,_0x1e82c9,_0x4b7a2f){const _0x33006e=_0x1ff3c3;super(),g(this,_0x33006e(0x46f),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x33006e(0x2d9),!0x1),(this['_configService']=_0x3c1aa7,this[_0x33006e(0x39b)]=_0x1e1745,this[_0x33006e(0x43f)]=_0x47e61a,this[_0x33006e(0x309)]=_0x1e82c9,this[_0x33006e(0x5b7)]=_0x4b7a2f,this['_setupBeforeClosingHandler']());}[_0x1ff3c3(0x251)](){const _0x1101c0=_0x1ff3c3;this[_0x1101c0(0x2d9)]=!0x0;}[_0x1ff3c3(0x49e)](){this['_disabled']=!0x1;}[_0x1ff3c3(0x2e5)](){const _0x4bcfdf=_0x1ff3c3;this['exhaustSavingTask']()[_0x4bcfdf(0x3b6)](()=>super[_0x4bcfdf(0x2e5)]());}async['loadOfflineData'](_0x189c11){const _0x1d7632=_0x1ff3c3;return this['_disabled']?null:this[_0x1d7632(0x39b)][_0x1d7632(0x3e5)](Bs(_0x189c11));}async[_0x1ff3c3(0x4c0)](_0x18d450,_0x107a8c){const _0x487e9d=_0x1ff3c3;return!!this['_localStorageService'][_0x487e9d(0x4b3)](_0x18d450,_0x107a8c);}[_0x1ff3c3(0x4b7)](_0x45ebca,_0x5aac91,_0x5e6339,_0x4aa757){const _0xda94bc=_0x1ff3c3,_0x8a5cd1=this['_revisionService'][_0xda94bc(0x2c9)](_0x45ebca);this['_cachedData']['set'](_0x45ebca,{'unitID':_0x45ebca,'type':_0x5aac91,'awaitingChangeset':_0x5e6339,'mutations':_0x4aa757,'rev':_0x8a5cd1}),this['_saveTaskMap'][_0xda94bc(0x584)](_0x45ebca)||this[_0xda94bc(0x589)](_0x45ebca);}['_scheduleSaving'](_0x12ac9c){const _0x5760c4=_0x1ff3c3,_0x56c3bc=this[_0x5760c4(0x5f0)]();_0x56c3bc===0x0?this[_0x5760c4(0x489)](_0x12ac9c):this[_0x5760c4(0x37c)][_0x5760c4(0x403)](_0x12ac9c,setTimeout(()=>this[_0x5760c4(0x489)](_0x12ac9c),_0x56c3bc));}[_0x1ff3c3(0x5f0)](){const _0x696c93=_0x1ff3c3;var _0x280cff;return(_0x280cff=this['_configService'][_0x696c93(0x35a)](Sr))!=null?_0x280cff:Ir;}[_0x1ff3c3(0x489)](_0x60f0b9){const _0x58b901=_0x1ff3c3,_0x312e84=this[_0x58b901(0x37c)]['get'](_0x60f0b9);return _0x312e84!==void 0x0&&window[_0x58b901(0x4bc)](_0x312e84),this[_0x58b901(0x39b)][_0x58b901(0x4b3)](Bs(_0x60f0b9),this[_0x58b901(0x46f)][_0x58b901(0x27e)](_0x60f0b9))[_0x58b901(0x3b6)](()=>this[_0x58b901(0x37c)][_0x58b901(0x4dc)](_0x60f0b9));}async['exhaustSavingTask'](){const _0x12e1e8=_0x1ff3c3,_0x1e674f=[];this[_0x12e1e8(0x37c)][_0x12e1e8(0x2e9)]((_0x1de52c,_0x5afde6)=>{const _0xdace59=_0x12e1e8;window[_0xdace59(0x4bc)](_0x1de52c),_0x1e674f['push'](this[_0xdace59(0x489)](_0x5afde6)[_0xdace59(0x3b6)](()=>{const _0x2585b8=_0xdace59;this[_0x2585b8(0x37c)][_0x2585b8(0x4dc)](_0x5afde6);}));}),await Promise[_0x12e1e8(0x2b9)](_0x1e674f);}[_0x1ff3c3(0x303)](){const _0x2b9c36=_0x1ff3c3;this['disposeWithMe'](this[_0x2b9c36(0x43f)][_0x2b9c36(0x2f6)](()=>{if(this['_saveTaskMap']['size'])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}};q=eo([Xe(0x0,_0x16309d),Xe(0x1,_0x166cce),Xe(0x2,_0x191aa8),Xe(0x3,_0x4ca429(_0x12b201)),Xe(0x4,_0x4ca429(_0x5f50a9))],q);function Bs(_0x18672c){const _0x188078=_0x1ff3c3;return _0x188078(0x3d4)+_0x18672c;}var to=Object[_0x1ff3c3(0x39f)],so=Object['getOwnPropertyDescriptor'],io=(_0x4ba9f7,_0x3f2ca9,_0x468b8d,_0x34607e)=>{for(var _0x4b0c90=_0x34607e>0x1?void 0x0:_0x34607e?so(_0x3f2ca9,_0x468b8d):_0x3f2ca9,_0xdc0232=_0x4ba9f7['length']-0x1,_0x4a22d9;_0xdc0232>=0x0;_0xdc0232--)(_0x4a22d9=_0x4ba9f7[_0xdc0232])&&(_0x4b0c90=(_0x34607e?_0x4a22d9(_0x3f2ca9,_0x468b8d,_0x4b0c90):_0x4a22d9(_0x4b0c90))||_0x4b0c90);return _0x34607e&&_0x4b0c90&&to(_0x3f2ca9,_0x468b8d,_0x4b0c90),_0x4b0c90;},Mt=(_0x46955c,_0x1d6481)=>(_0x277bce,_0x177a79)=>_0x1d6481(_0x277bce,_0x177a79,_0x46955c);function no(_0x14ab1c){const _0x365e20=_0x1ff3c3,{unitID:_0x22bf61,mutations:_0x50c9c5}=_0x14ab1c;return{'unitId':_0x22bf61,'subUnitId':_0x50c9c5[0x0][_0x365e20(0x5ee)][_0x365e20(0x451)]};}let vt=class{constructor(_0x2844ca,_0xff451c,_0x1d32ed){const _0x18ff39=_0x1ff3c3;this[_0x18ff39(0x4ea)]=_0x2844ca,this[_0x18ff39(0x5aa)]=_0xff451c,this['_instanceService']=_0x1d32ed;}[_0x1ff3c3(0x213)](_0x1ecce6){const _0x10af3d=_0x1ff3c3;var _0x20fc30,_0x1bd45b,_0x2c07c9,_0x36d447;const _0x299077=this[_0x10af3d(0x4ea)][_0x10af3d(0x27e)](_0x3db36c),{unitId:_0x39504a,subUnitId:_0x20a58c}=no(_0x1ecce6),_0x2f5769=_0x299077[_0x10af3d(0x2f2)](_0x39504a)[_0x10af3d(0x3a1)](),_0x3c84b3=(_0x1bd45b=(_0x20fc30=this[_0x10af3d(0x4ce)][_0x10af3d(0x5e6)](_0x39504a))==null?void 0x0:_0x20fc30[_0x10af3d(0x50b)]())==null?void 0x0:_0x1bd45b[_0x10af3d(0x3eb)]();if(_0x2f5769[_0x10af3d(0x231)]===0x0||!_0x39504a||!_0x20a58c)return;const _0x426623=[{'id':_0x2b8a1e['id'],'params':{'unitId':_0x39504a,'subUnitId':_0x3c84b3,'selections':_0x4dc572[_0x10af3d(0x33e)](_0x2f5769)}}],_0x32f91a=this[_0x10af3d(0x5aa)][_0x10af3d(0x4b8)](_0x1ecce6,_0x426623);if(!_0x4a3d24(_0x32f91a))throw _0x32f91a['error'];const _0x2b9614=(_0x36d447=(_0x2c07c9=_0x32f91a[_0x10af3d(0x3fa)][0x0])==null?void 0x0:_0x2c07c9['params'])==null?void 0x0:_0x36d447[_0x10af3d(0x38e)];if(Array[_0x10af3d(0x44c)](_0x2b9614)&&_0x2b9614[_0x10af3d(0x231)]){if(_0x2b9614[_0x10af3d(0x231)]===_0x426623[0x0][_0x10af3d(0x5ee)][_0x10af3d(0x38e)][_0x10af3d(0x231)]&&_0x2b9614[_0x10af3d(0x49f)]((_0x3c2301,_0xf6a061)=>_0x4a5a3f[_0x10af3d(0x22a)](_0x3c2301[_0x10af3d(0x258)],_0x426623[0x0][_0x10af3d(0x5ee)][_0x10af3d(0x38e)][_0xf6a061][_0x10af3d(0x258)])))return;this['_injector'][_0x10af3d(0x27e)](_0x3e6605)[_0x10af3d(0x51b)](_0x2b8a1e['id'],{'unitId':_0x39504a,'subUnitId':_0x3c84b3,'selections':_0x2b9614});}}};vt=io([Mt(0x0,_0x4ca429(_0x1678ba)),Mt(0x1,_0x359823),Mt(0x2,_0x527b53)],vt);const Rt=_0x3924e2(_0x1ff3c3(0x4ad));var Di=(_0xdcfdb9=>(_0xdcfdb9[_0xdcfdb9[_0x1ff3c3(0x425)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0xdcfdb9[_0xdcfdb9[_0x1ff3c3(0x5c7)]=0x1]='OTHER_CLIENTS_EDITING',_0xdcfdb9))(Di||{});const ks=0x7530,Ws=_0x1ff3c3(0x21a);class ro extends _0x1b10eb{constructor(){const _0x1131ea=_0x1ff3c3;super(),g(this,_0x1131ea(0x278),_0x4dc572['generateRandomId']()),g(this,_0x1131ea(0x3bd),new Set()),g(this,_0x1131ea(0x2dc),new Map()),g(this,'_heartbeatTimer',null),g(this,_0x1131ea(0x5be),new Map()),g(this,_0x1131ea(0x511),new Map()),this[_0x1131ea(0x55d)]();}[_0x1ff3c3(0x2e5)](){const _0x1b69ec=_0x1ff3c3;super['dispose'](),this['_clearOtherTimers'][_0x1b69ec(0x2e9)]((_0x1b69e8,_0x1564a4)=>this[_0x1b69ec(0x57e)](_0x1564a4)),this[_0x1b69ec(0x374)]&&window[_0x1b69ec(0x261)](this[_0x1b69ec(0x374)]);}[_0x1ff3c3(0x52d)](_0x1c6841){const _0x418fc1=_0x1ff3c3;return this[_0x418fc1(0x529)](_0x1c6841)['pipe'](_0x1b0656());}[_0x1ff3c3(0x594)](_0x5f2a47){const _0x315303=_0x1ff3c3;this['_selfUnitIDs'][_0x315303(0x51e)]===0x0&&this[_0x315303(0x33d)](),this[_0x315303(0x3bd)][_0x315303(0x1e4)](_0x5f2a47),this[_0x315303(0x399)]({'type':0x0,'memberID':this[_0x315303(0x278)],'unitIDs':[_0x5f2a47],'isForwarded':!0x1});}['disposeUnit'](_0x2a1883){const _0x450269=_0x1ff3c3;this['_selfUnitIDs'][_0x450269(0x4dc)](_0x2a1883),this[_0x450269(0x3bd)][_0x450269(0x51e)]===0x0&&this['_heartbeatTimer']&&window[_0x450269(0x261)](this['_heartbeatTimer']);}[_0x1ff3c3(0x55d)](){const _0x305faa=_0x1ff3c3;this['disposeWithMe'](_0x5917cc(_0x5573e0(window,_0x305faa(0x3d8))['subscribe'](_0x75e6d9=>{const _0x307bcf=_0x305faa;if(_0x75e6d9[_0x307bcf(0x352)]!==Ws||!_0x75e6d9['newValue'])return;const _0x2f7bb8=JSON[_0x307bcf(0x50f)](_0x75e6d9[_0x307bcf(0x5cc)]);this[_0x307bcf(0x216)](_0x2f7bb8);}))),window[_0x305faa(0x53a)](_0x305faa(0x513),()=>this[_0x305faa(0x399)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x305faa(0x2ba)](this[_0x305faa(0x3bd)])}));}['_handleEvent'](_0x569087){const _0xf5f693=_0x1ff3c3;switch(_0x569087[_0xf5f693(0x5a4)]){case 0x0:this['_handleJoinEvent'](_0x569087);break;case 0x1:this[_0xf5f693(0x339)](_0x569087);break;case 0x2:this[_0xf5f693(0x551)](_0x569087);break;}}['_handleJoinEvent'](_0x44935a){const _0x462000=_0x1ff3c3,{unitIDs:_0x497508,memberID:_0x3a5ef4,isForwarded:_0x1543f0}=_0x44935a;_0x497508[_0x462000(0x2e9)](_0x59501b=>{const _0x28b077=_0x462000;if(!_0x1543f0&&this[_0x28b077(0x2dc)][_0x28b077(0x584)](_0x59501b)&&this['_ensureSubject'](_0x59501b)['next'](0x1),!this['_unitOnClients'][_0x28b077(0x584)](_0x59501b)||!this[_0x28b077(0x2dc)][_0x28b077(0x27e)](_0x59501b)[_0x28b077(0x584)](_0x3a5ef4)){const _0x462473=this[_0x28b077(0x2dc)][_0x28b077(0x27e)](_0x59501b)||new Set();_0x462473[_0x28b077(0x1e4)](_0x3a5ef4),this['_unitOnClients'][_0x28b077(0x403)](_0x59501b,_0x462473),this[_0x28b077(0x25e)](_0x3a5ef4);}}),_0x1543f0||this[_0x462000(0x399)]({'type':0x0,'memberID':this[_0x462000(0x278)],'unitIDs':[...this[_0x462000(0x3bd)]],'isForwarded':!0x0});}[_0x1ff3c3(0x25e)](_0xe1084d){const _0x50ad55=_0x1ff3c3;this[_0x50ad55(0x57e)](_0xe1084d);const _0xe58951=window[_0x50ad55(0x1f5)](()=>{const _0x1c23a2=_0x50ad55;this[_0x1c23a2(0x2dc)][_0x1c23a2(0x2e9)](_0x281e50=>{const _0x4ab010=_0x1c23a2;_0x281e50[_0x4ab010(0x4dc)](_0xe1084d);});},ks*0x2);this[_0x50ad55(0x5be)][_0x50ad55(0x403)](_0xe1084d,_0xe58951);}[_0x1ff3c3(0x57e)](_0x1eb8b6){const _0x33ec85=_0x1ff3c3;if(this['_clearOtherTimers'][_0x33ec85(0x584)](_0x1eb8b6)){const _0x108cff=this[_0x33ec85(0x5be)][_0x33ec85(0x27e)](_0x1eb8b6);_0x108cff&&window[_0x33ec85(0x4bc)](_0x108cff),this['_clearOtherTimers'][_0x33ec85(0x403)](_0x1eb8b6,null);}}[_0x1ff3c3(0x339)](_0xd6a7c3){const _0x5da9b2=_0x1ff3c3,{memberID:_0x3057f8,unitIDs:_0x4b030e}=_0xd6a7c3;_0x4b030e[_0x5da9b2(0x2e9)](_0x5ae1cc=>{const _0x2a6b68=_0x5da9b2;var _0x1c7a97;const _0x6e89fa=this[_0x2a6b68(0x2dc)][_0x2a6b68(0x27e)](_0x5ae1cc);_0x6e89fa&&(_0x6e89fa[_0x2a6b68(0x4dc)](_0x3057f8),(_0x1c7a97=this['_ensureSubject'](_0x5ae1cc))==null||_0x1c7a97[_0x2a6b68(0x453)](_0x6e89fa[_0x2a6b68(0x51e)]===0x0?0x0:0x1));}),this[_0x5da9b2(0x57e)](_0x3057f8);}[_0x1ff3c3(0x551)](_0x27fa73){const _0x5ed293=_0x1ff3c3;this[_0x5ed293(0x25e)](_0x27fa73[_0x5ed293(0x3b0)]);}[_0x1ff3c3(0x399)](_0x52c031){const _0x419284=_0x1ff3c3;localStorage[_0x419284(0x4b3)](Ws,JSON['stringify'](_0x52c031));}['_scheduleHeartbeat'](){const _0x32bdc7=_0x1ff3c3;this[_0x32bdc7(0x374)]=window[_0x32bdc7(0x59b)](()=>{const _0x543584=_0x32bdc7;this[_0x543584(0x399)]({'type':0x2,'memberID':this[_0x543584(0x278)]});},ks);}[_0x1ff3c3(0x529)](_0x2ca4d5){const _0x486012=_0x1ff3c3;return this[_0x486012(0x511)][_0x486012(0x584)](_0x2ca4d5)||this[_0x486012(0x511)][_0x486012(0x403)](_0x2ca4d5,new _0x4ef6f6(0x0)),this[_0x486012(0x511)]['get'](_0x2ca4d5);}}var oo=Object[_0x1ff3c3(0x39f)],ao=Object[_0x1ff3c3(0x3b5)],co=(_0x31011d,_0x31cb18,_0x1c743f,_0x30bb2a)=>{const _0x29a4c6=_0x1ff3c3;for(var _0x55b998=_0x30bb2a>0x1?void 0x0:_0x30bb2a?ao(_0x31cb18,_0x1c743f):_0x31cb18,_0x38a9e6=_0x31011d[_0x29a4c6(0x231)]-0x1,_0x17cfa7;_0x38a9e6>=0x0;_0x38a9e6--)(_0x17cfa7=_0x31011d[_0x38a9e6])&&(_0x55b998=(_0x30bb2a?_0x17cfa7(_0x31cb18,_0x1c743f,_0x55b998):_0x17cfa7(_0x55b998))||_0x55b998);return _0x30bb2a&&_0x55b998&&oo(_0x31cb18,_0x1c743f,_0x55b998),_0x55b998;},xt=(_0x2ecc93,_0x37a3bb)=>(_0x55828e,_0x2f3929)=>_0x37a3bb(_0x55828e,_0x2f3929,_0x2ecc93);let mt=class{constructor(_0x237aae,_0x22bd2f,_0x3d3b87){const _0x552405=_0x1ff3c3;this[_0x552405(0x4ea)]=_0x237aae,this[_0x552405(0x5aa)]=_0x22bd2f,this[_0x552405(0x45b)]=_0x3d3b87;}[_0x1ff3c3(0x3e9)](_0x4affcd){const _0x303dc3=_0x1ff3c3;this[_0x303dc3(0x44e)](_0x4affcd);}['transformRemoteChangeset'](_0x13b122){const _0xde7ced=_0x1ff3c3,{unitID:_0x23773c}=_0x13b122,{collaboration:_0x38c751}=this[_0xde7ced(0x45b)][_0xde7ced(0x559)](_0x23773c);if(_0x38c751[_0xde7ced(0x231)]===0x0)return _0x13b122;let _0x4adb91=_0x4dc572['deepClone'](_0x13b122[_0xde7ced(0x2c4)][0x0]);for(let _0x5c8a35=0x0;_0x5c8a35<_0x38c751[_0xde7ced(0x231)];_0x5c8a35++){const _0x4099af={'id':_0xde7ced(0x5af),'params':{'unitId':_0x38c751[_0x5c8a35][_0xde7ced(0x240)],..._0x38c751[_0x5c8a35][_0xde7ced(0x364)]}},_0x2cafb0=this['_transformService']['transformMutation'](_0x4adb91,_0x4099af,!0x1);if(_0x5c67ed(_0x2cafb0))throw _0x2cafb0[_0xde7ced(0x495)];_0x4adb91=_0x2cafb0[_0xde7ced(0x3cc)];}return{..._0x4dc572['deepClone'](_0x13b122),'mutations':[_0x4adb91]};}[_0x1ff3c3(0x44e)](_0x5565df){const _0x222712=_0x1ff3c3,{unitID:_0x11ace5}=_0x5565df,{history:_0x255b55,collaboration:_0x3fa60b}=this[_0x222712(0x45b)][_0x222712(0x559)](_0x11ace5);if(_0x255b55['length']===0x0&&_0x3fa60b[_0x222712(0x231)]===0x0)return;const _0x3ebee8=[],_0x103ab8=[];let _0x33a425=_0x4dc572['deepClone'](_0x5565df['mutations'][0x0]),_0x4cf633=_0x4dc572['deepClone'](_0x5565df[_0x222712(0x2c4)][0x0]);for(let _0x1dece6=_0x255b55[_0x222712(0x231)]-0x1;_0x1dece6>=0x0;_0x1dece6--){const _0x81ff9e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x255b55[_0x1dece6]['unitId'],..._0x255b55[_0x1dece6]['undoState']}},_0x400d89={'id':_0x222712(0x5af),'params':{'unitId':_0x255b55[_0x1dece6][_0x222712(0x240)],..._0x255b55[_0x1dece6][_0x222712(0x364)]}},_0x4bb750=this[_0x222712(0x5aa)][_0x222712(0x380)](_0x33a425,_0x81ff9e,!0x1),_0x30b9dc=this['_transformService'][_0x222712(0x380)](_0x4cf633,_0x400d89,!0x1);if(_0x5c67ed(_0x4bb750))throw _0x4bb750[_0x222712(0x495)];if(_0x5c67ed(_0x30b9dc))throw _0x30b9dc[_0x222712(0x495)];_0x3ebee8[_0x222712(0x56c)]({..._0x255b55[_0x1dece6],'undoState':_0x4bb750[_0x222712(0x3fa)][_0x222712(0x5ee)],'redoState':_0x30b9dc['m2Prime'][_0x222712(0x5ee)]}),_0x33a425=_0x4bb750[_0x222712(0x3cc)],_0x4cf633=_0x30b9dc[_0x222712(0x3cc)];}_0x33a425=_0x4dc572['deepClone'](_0x5565df[_0x222712(0x2c4)][0x0]),_0x4cf633=_0x4dc572[_0x222712(0x33e)](_0x5565df[_0x222712(0x2c4)][0x0]);for(let _0x572c76=_0x3fa60b[_0x222712(0x231)]-0x1;_0x572c76>=0x0;_0x572c76--){const _0x39ef3e={'id':_0x222712(0x5af),'params':{'unitId':_0x3fa60b[_0x572c76]['unitId'],..._0x3fa60b[_0x572c76]['undoState']}},_0x2308eb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3fa60b[_0x572c76][_0x222712(0x240)],..._0x3fa60b[_0x572c76][_0x222712(0x364)]}},_0x123a7b=this[_0x222712(0x5aa)]['transformMutation'](_0x33a425,_0x39ef3e,!0x1),_0x1f764b=this[_0x222712(0x5aa)][_0x222712(0x380)](_0x4cf633,_0x2308eb,!0x1);if(_0x5c67ed(_0x123a7b))throw _0x123a7b[_0x222712(0x495)];if(_0x5c67ed(_0x1f764b))throw _0x1f764b['error'];_0x103ab8['unshift']({..._0x3fa60b[_0x572c76],'undoState':_0x123a7b[_0x222712(0x3fa)][_0x222712(0x5ee)],'redoState':_0x1f764b[_0x222712(0x3fa)][_0x222712(0x5ee)]}),_0x33a425=_0x123a7b[_0x222712(0x3cc)],_0x4cf633=_0x1f764b[_0x222712(0x3cc)];}this['_docStateChangeManagerService']['setStateCache'](_0x11ace5,{'history':_0x3ebee8,'collaboration':_0x103ab8});}};mt=co([xt(0x0,_0x4ca429(_0x1678ba)),xt(0x1,_0x359823),xt(0x2,_0x4ca429(_0xb50e97))],mt);function Pi(_0x595bf1){const _0x4e3dcd=_0x1ff3c3;let _0x34583c='';for(const _0x12a821 of _0x595bf1){const {startOffset:_0x3fd70a,endOffset:_0x33387e,isActive:_0x3a8f0b,rangeType:_0x576c60,segmentId:_0x2cffb4,segmentPage:_0x3dc4b7}=_0x12a821;_0x34583c[_0x4e3dcd(0x231)]&&(_0x34583c+=','),_0x34583c+=_0x3fd70a+':'+_0x33387e+':'+(_0x3a8f0b?'1':'0')+':'+_0x576c60+':'+_0x2cffb4+':'+_0x3dc4b7;}return _0x34583c;}function ho(_0x4aff3d){const _0x19da29=_0x1ff3c3,_0x234942=_0x4aff3d[_0x19da29(0x418)](','),_0x58ff6c=[];for(const _0x4430a9 of _0x234942){const [_0x5354ca,_0x515ece,_0xfb2d0,_0x59e4ae,_0x94fca6,_0x1c6d9d]=_0x4430a9[_0x19da29(0x418)](':');_0x58ff6c[_0x19da29(0x2cc)]({'startOffset':Number(_0x5354ca),'endOffset':Number(_0x515ece),'collapsed':_0x5354ca===_0x515ece,'isActive':_0xfb2d0==='1','rangeType':_0x59e4ae===_0x2fb410['TEXT']?_0x2fb410['TEXT']:_0x2fb410[_0x19da29(0x5c5)],'segmentId':typeof _0x94fca6=='string'?String(_0x94fca6):'','segmentPage':Number(_0x1c6d9d!=null?_0x1c6d9d:-0x1)});}return _0x58ff6c[_0x19da29(0x531)](_0x296b5d=>_0x296b5d[_0x19da29(0x2de)])||(_0x58ff6c[0x0][_0x19da29(0x2de)]=!0x0),_0x58ff6c;}class Cs extends _0x58a0f6{constructor(){const _0x6b9931=_0x1ff3c3;super(...arguments),g(this,'_collabCursorState$',new _0x4ef6f6(null)),g(this,'collabCursorState$',this[_0x6b9931(0x500)][_0x6b9931(0x343)]());}['syncEditingCollabCursor'](_0x6b6c68){const _0x2dd030=_0x1ff3c3,{unitID:_0x427f13,memberID:_0x245391,textRanges:_0x1f9bd0}=_0x6b6c68,_0x512530=Pi(_0x1f9bd0);if(_0x512530==='')return;const _0x185cb0={'unitID':_0x427f13,'memberID':_0x245391,'selection':_0x512530};this['_collabCursorState$'][_0x2dd030(0x453)](_0x185cb0);}}var lo=Object[_0x1ff3c3(0x39f)],_o=Object['getOwnPropertyDescriptor'],uo=(_0x5bcae4,_0xacf264,_0x1f3967,_0x1aa67b)=>{const _0x25956d=_0x1ff3c3;for(var _0x52b7e4=_0x1aa67b>0x1?void 0x0:_0x1aa67b?_o(_0xacf264,_0x1f3967):_0xacf264,_0x49bf5c=_0x5bcae4[_0x25956d(0x231)]-0x1,_0x4e689f;_0x49bf5c>=0x0;_0x49bf5c--)(_0x4e689f=_0x5bcae4[_0x49bf5c])&&(_0x52b7e4=(_0x1aa67b?_0x4e689f(_0xacf264,_0x1f3967,_0x52b7e4):_0x4e689f(_0x52b7e4))||_0x52b7e4);return _0x1aa67b&&_0x52b7e4&&lo(_0xacf264,_0x1f3967,_0x52b7e4),_0x52b7e4;},Fs=(_0x3dd948,_0x5990eb)=>(_0x5b3699,_0x34466e)=>_0x5990eb(_0x5b3699,_0x34466e,_0x3dd948);let pt=class{constructor(_0x259d45,_0x9297db){const _0x13de74=_0x1ff3c3;this[_0x13de74(0x4ea)]=_0x259d45,this['_transformService']=_0x9297db;}[_0x1ff3c3(0x213)](_0x3025dd){const _0xde81fd=_0x1ff3c3;var _0x21ab22;const _0x2dc888=this['_injector'][_0xde81fd(0x27e)](_0x30949a),_0x13219a=(_0x21ab22=_0x2dc888[_0xde81fd(0x469)]())!=null?_0x21ab22:[];if(_0x13219a[_0xde81fd(0x231)]===0x0)return;const _0x45ff9d=_0x3025dd[_0xde81fd(0x537)],_0x33a62c=[{'id':_0xde81fd(0x5af),'params':{'unitId':_0x45ff9d,'actions':null,'textRanges':_0x13219a}}],_0x576b53=this[_0xde81fd(0x5aa)][_0xde81fd(0x4b8)](_0x3025dd,_0x33a62c);if(!_0x4a3d24(_0x576b53))throw _0x576b53['error'];const _0x754d77=_0x576b53[_0xde81fd(0x3fa)][0x0][_0xde81fd(0x5ee)][_0xde81fd(0x422)];Array[_0xde81fd(0x44c)](_0x754d77)&&_0x754d77[_0xde81fd(0x231)]&&_0x2dc888['replaceDocRanges'](_0x754d77,{'unitId':_0x45ff9d,'subUnitId':_0x45ff9d},!0x1);}};pt=uo([Fs(0x0,_0x4ca429(_0x1678ba)),Fs(0x1,_0x359823)],pt);const fo=new Set([_0x501e51['id']]);function Vs(_0x897975,_0x15388d,_0x5aa1a1,_0x3a9e16,_0xb8ddaf){const _0xec19bb=_0x1ff3c3;var _0x195a9f,_0x3ebd41,_0xbee554,_0x2c956a;const _0x2c2029=[];for(const _0x3b6a08 of _0x897975)if(fo[_0xec19bb(0x584)](_0x3b6a08['id'])){if(_0x2c2029[_0xec19bb(0x231)]>0x0)break;_0x2c2029[_0xec19bb(0x2cc)](_0x3b6a08);break;}else _0x2c2029[_0xec19bb(0x2cc)](_0x3b6a08);const _0x48289a=(_0x3ebd41=(_0x195a9f=_0xb8ddaf['getCurrentUser']())==null?void 0x0:_0x195a9f[_0xec19bb(0x2e2)])!=null?_0x3ebd41:_0xec19bb(0x52e),_0xd44bf=(_0x2c956a=(_0xbee554=_0xb8ddaf[_0xec19bb(0x25a)]())==null?void 0x0:_0xbee554[_0xec19bb(0x3b0)])!=null?_0x2c956a:'unknown';return{'changeset':{'unitID':_0x15388d,'type':_0x4262ba(_0x5aa1a1[_0xec19bb(0x30b)](_0x15388d)),'baseRev':_0x3a9e16[_0xec19bb(0x2c9)](_0x15388d),'revision':0x0,'userID':_0x48289a,'memberID':_0xd44bf,'mutations':_0x2c2029},'pendingMutations':_0x897975['slice'](_0x2c2029[_0xec19bb(0x231)])};}function vo(_0x593ba5,_0x2c5da8,_0x2c9a36,_0x5cf51f,_0x2d580c){const _0x4f367b=_0x1ff3c3;var _0x1aa1b1,_0x1d4248,_0x4e99cb,_0x22517b;const _0x3c4226=[_0x593ba5['reduce']((_0xfbb76f,_0x5bcc3d)=>{const _0x5c3e8a=_0x304f;var _0x2c6f01;const {id:_0x35b2af}=_0xfbb76f,{id:_0xb845ae,type:_0x1b7b19}=_0x5bcc3d,_0x5c8c53=(_0x2c6f01=_0xfbb76f[_0x5c3e8a(0x5ee)])!=null?_0x2c6f01:{'actions':null},_0x24584b=_0x5bcc3d[_0x5c3e8a(0x5ee)];if(_0x35b2af&&_0x35b2af!==_0xb845ae)throw new Error(_0x5c3e8a(0x3f4)+_0x35b2af+'\x20-\x20'+_0xb845ae+'.');return{..._0xfbb76f,'id':_0xb845ae,'type':_0x1b7b19,'params':{'unitId':_0x24584b[_0x5c3e8a(0x240)],'textRanges':_0x24584b[_0x5c3e8a(0x422)],'actions':_0x5bdb23[_0x5c3e8a(0x3a3)](_0x5c8c53[_0x5c3e8a(0x5a6)],_0x24584b[_0x5c3e8a(0x5a6)])}};},{})],_0x41a4a5=(_0x1d4248=(_0x1aa1b1=_0x2d580c[_0x4f367b(0x25a)]())==null?void 0x0:_0x1aa1b1['userID'])!=null?_0x1d4248:_0x4f367b(0x52e),_0x5cfef1=(_0x22517b=(_0x4e99cb=_0x2d580c[_0x4f367b(0x25a)]())==null?void 0x0:_0x4e99cb['memberID'])!=null?_0x22517b:'unknown';return{'changeset':{'unitID':_0x2c5da8,'type':_0x4262ba(_0x2c9a36['getUnitType'](_0x2c5da8)),'baseRev':_0x5cf51f[_0x4f367b(0x2c9)](_0x2c5da8),'revision':0x0,'userID':_0x41a4a5,'memberID':_0x5cfef1,'mutations':_0x3c4226},'pendingMutations':[]};}function Ui(_0x4afc4a,_0x10ce66){const _0x4cf7d9=_0x1ff3c3,_0x2f83fd=new _0x188cde(0x1);return setTimeout(()=>_0x2f83fd[_0x4cf7d9(0x453)](_0x10ce66),_0x4afc4a),_0x2f83fd['asObservable']()[_0x4cf7d9(0x393)](_0x5903c7(0x1));}const mo={'id':_0x1a08d1['id'],'type':_0x1d8c92['MUTATION'],'params':{}};var po=Object[_0x1ff3c3(0x39f)],go=Object[_0x1ff3c3(0x3b5)],Le=(_0x2969d4,_0x1f9807,_0x3dba2f,_0x4a4d84)=>{const _0x1d5138=_0x1ff3c3;for(var _0xf0d663=_0x4a4d84>0x1?void 0x0:_0x4a4d84?go(_0x1f9807,_0x3dba2f):_0x1f9807,_0x31933c=_0x2969d4[_0x1d5138(0x231)]-0x1,_0x418d35;_0x31933c>=0x0;_0x31933c--)(_0x418d35=_0x2969d4[_0x31933c])&&(_0xf0d663=(_0x4a4d84?_0x418d35(_0x1f9807,_0x3dba2f,_0xf0d663):_0x418d35(_0xf0d663))||_0xf0d663);return _0x4a4d84&&_0xf0d663&&po(_0x1f9807,_0x3dba2f,_0xf0d663),_0xf0d663;},A=(_0x3b053d,_0xc42770)=>(_0x1062fd,_0x171056)=>_0xc42770(_0x1062fd,_0x171056,_0x3b053d),J=(_0x2fe0bb=>(_0x2fe0bb[_0x1ff3c3(0x4dd)]='not_collab',_0x2fe0bb[_0x1ff3c3(0x2d4)]='synced',_0x2fe0bb['PENDING']=_0x1ff3c3(0x270),_0x2fe0bb[_0x1ff3c3(0x279)]=_0x1ff3c3(0x2ed),_0x2fe0bb['AWAITING_WITH_PENDING']=_0x1ff3c3(0x346),_0x2fe0bb['FETCH_MISS']='fetch_missing',_0x2fe0bb['CONFLICT']=_0x1ff3c3(0x4a5),_0x2fe0bb[_0x1ff3c3(0x2fb)]=_0x1ff3c3(0x3c8),_0x2fe0bb))(J||{});const Ni=0xea60;class $e{constructor(_0x51edf5,_0xd80b4a,_0x2582ad,_0x4ebf37,_0x5f2593,_0x559ddf,_0x26730d,_0x3a8529,_0x57658e){const _0x3d0b6d=_0x1ff3c3;g(this,'_awaitingChangeset',null),g(this,'_pendingMutations',[]),(this[_0x3d0b6d(0x537)]=_0x51edf5,this[_0x3d0b6d(0x5a4)]=_0xd80b4a,this[_0x3d0b6d(0x4e1)]=_0x5f2593,this[_0x3d0b6d(0x2b4)]=_0x559ddf,this[_0x3d0b6d(0x2ea)]=_0x26730d,this[_0x3d0b6d(0x5b7)]=_0x3a8529,this['_localCacheService']=_0x57658e,this[_0x3d0b6d(0x2e4)]=_0x2582ad,this[_0x3d0b6d(0x33b)]=_0x4ebf37);}[_0x1ff3c3(0x3e3)](_0x390944){const _0x29c5ef=_0x1ff3c3,_0x13f605=this[_0x29c5ef(0x5b7)]['getCurrentRevOfUnit'](this[_0x29c5ef(0x537)]);return _0x390944[_0x29c5ef(0x38a)]>_0x13f605+0x1?(this['_handler'][_0x29c5ef(0x5b2)]({'from':_0x13f605,'to':_0x390944[_0x29c5ef(0x38a)]-0x1}),!0x0):!0x1;}[_0x1ff3c3(0x4af)](_0x23e9e7){const _0x441322=_0x1ff3c3;this[_0x441322(0x2ea)][_0x441322(0x522)](this[_0x441322(0x537)],_0x23e9e7);}[_0x1ff3c3(0x331)](_0x5f1296){const _0x232279=_0x1ff3c3;var _0x8ad326,_0x397f3e;(_0x397f3e=(_0x8ad326=this[_0x232279(0x4e1)])['onTransformSelections'])==null||_0x397f3e['call'](_0x8ad326,_0x5f1296);}[_0x1ff3c3(0x334)](_0x3c65c3){const _0x1f9f76=_0x1ff3c3;var _0x593a7b,_0x5d6e22;return(_0x5d6e22=(_0x593a7b=this['_handler'])[_0x1f9f76(0x321)])==null?void 0x0:_0x5d6e22[_0x1f9f76(0x491)](_0x593a7b,_0x3c65c3);}[_0x1ff3c3(0x39e)](_0x3ea110){const _0x3c3a92=_0x1ff3c3;var _0x15e3c3,_0x4de9ed;return(_0x4de9ed=(_0x15e3c3=this['_handler'])['onTransformState'])==null?void 0x0:_0x4de9ed[_0x3c3a92(0x491)](_0x15e3c3,_0x3ea110);}['_transformRemoteChangesetByIMECache'](_0x4679d2){const _0x3d64a0=_0x1ff3c3;var _0x5b5ca4,_0x42b50f,_0x32f007;return(_0x32f007=(_0x42b50f=(_0x5b5ca4=this[_0x3d64a0(0x4e1)])[_0x3d64a0(0x383)])==null?void 0x0:_0x42b50f[_0x3d64a0(0x491)](_0x5b5ca4,_0x4679d2))!=null?_0x32f007:_0x4679d2;}[_0x1ff3c3(0x568)](_0x3395b6){const _0x284d01=_0x1ff3c3;var _0x5cae7f,_0x34e63a,_0x5c6f7f;return(_0x5c6f7f=(_0x34e63a=(_0x5cae7f=this[_0x284d01(0x4e1)])[_0x284d01(0x4f4)])==null?void 0x0:_0x34e63a[_0x284d01(0x491)](_0x5cae7f,_0x3395b6))!=null?_0x5c6f7f:_0x3395b6;}[_0x1ff3c3(0x5c3)](_0x2353a5){const _0x49c1ad=_0x1ff3c3;var _0x530f5f,_0x16c728;if(this[_0x49c1ad(0x5a4)]===ce['UNIVER_DOC']){const {unitID:_0x2074b0,mutations:_0x2b11aa,memberID:_0x534235}=_0x2353a5,_0x3ccec3=_0x2b11aa[0x0]['params'][_0x49c1ad(0x422)];Array[_0x49c1ad(0x44c)](_0x3ccec3)&&_0x3ccec3[_0x49c1ad(0x231)]>0x0&&((_0x16c728=(_0x530f5f=this[_0x49c1ad(0x4e1)])[_0x49c1ad(0x1f0)])==null||_0x16c728[_0x49c1ad(0x491)](_0x530f5f,{'unitID':_0x2074b0,'memberID':_0x534235,'textRanges':_0x3ccec3}));}}['_updateLocalCache'](){const _0x3e060e=_0x1ff3c3;this[_0x3e060e(0x319)]['updateOfflineData'](this[_0x3e060e(0x537)],this[_0x3e060e(0x5a4)],this['_awaitingChangeset'],this[_0x3e060e(0x33b)]);}['_getCurrentRevision'](){const _0xa42279=_0x1ff3c3;return this['_revisionService'][_0xa42279(0x2c9)](this[_0xa42279(0x537)]);}[_0x1ff3c3(0x3a2)](){const _0x37fc27=_0x1ff3c3;this[_0x37fc27(0x5b7)]['incrementRevOfUnit'](this['unitID']);}[_0x1ff3c3(0x210)](_0x48a47a){const _0x2e2e7a=_0x1ff3c3;var _0x437560;let _0x233fa5=this[_0x2e2e7a(0x4ab)](_0x48a47a);_0x233fa5=this[_0x2e2e7a(0x568)](_0x233fa5);const _0x555c6d=_0x4c8b2e(_0x233fa5[_0x2e2e7a(0x2c4)],this['_commandService'],{'fromCollab':!0x0});if(!_0x555c6d[_0x2e2e7a(0x565)])throw _0x555c6d['error']instanceof Error?_0x555c6d[_0x2e2e7a(0x495)]:new Error((_0x437560=_0x555c6d[_0x2e2e7a(0x495)])!=null?_0x437560:_0x2e2e7a(0x209));this[_0x2e2e7a(0x334)](_0x233fa5),this[_0x2e2e7a(0x39e)](_0x233fa5),this[_0x2e2e7a(0x4af)](_0x48a47a),this[_0x2e2e7a(0x331)](_0x233fa5),this[_0x2e2e7a(0x5c3)](_0x233fa5),this[_0x2e2e7a(0x3a2)]();}}let Fe=class extends $e{constructor(_0x305c99,_0x5a80f4,_0x5cdf1d,_0x4c4839,_0x2b261e,_0x105746,_0x30a81d,_0xc473f0,_0x3c8879,_0x149389){const _0x564b21=_0x1ff3c3;super(_0x305c99,_0x5a80f4,null,[],_0x5cdf1d,_0xc473f0,_0x30a81d,_0x4c4839,_0x2b261e),g(this,'status',_0x564b21(0x4da)),(this[_0x564b21(0x4ea)]=_0x105746,this[_0x564b21(0x24a)]=_0x3c8879,this[_0x564b21(0x5aa)]=_0x149389);}[_0x1ff3c3(0x501)](_0x83b2ac){const _0x5122b8=_0x1ff3c3,_0xbf83d3=this[_0x5122b8(0x4ea)][_0x5122b8(0x5d4)](pe,this[_0x5122b8(0x537)],this[_0x5122b8(0x5a4)],[_0x83b2ac],this[_0x5122b8(0x4e1)]);return _0xbf83d3[_0x5122b8(0x350)](),_0xbf83d3[_0x5122b8(0x1e7)](),_0xbf83d3;}[_0x1ff3c3(0x256)](_0x20c547){const _0x276344=_0x1ff3c3;if(this[_0x276344(0x3e3)](_0x20c547))return this[_0x276344(0x4ea)][_0x276344(0x5d4)](he,this[_0x276344(0x537)],this[_0x276344(0x5a4)],null,[],null,[_0x20c547],this[_0x276344(0x4e1)]);try{const _0x471001=this[_0x276344(0x5aa)][_0x276344(0x4b8)](_0x20c547,[mo]);if(_0x4a3d24(_0x471001)){const {c1Prime:_0x57d382}=_0x471001;return this[_0x276344(0x210)](_0x57d382),this;}throw _0x471001[_0x276344(0x495)];}catch(_0x323255){return this[_0x276344(0x24a)][_0x276344(0x495)](_0x323255),this[_0x276344(0x5b3)](!0x1);}}[_0x1ff3c3(0x5b3)](_0x244e47){const _0x51d97c=_0x1ff3c3;return this[_0x51d97c(0x4ea)][_0x51d97c(0x5d4)](Re,this['unitID'],this['type'],null,[],this['_handler'],_0x244e47);}[_0x1ff3c3(0x5dd)](){const _0x2f3875=_0x1ff3c3;throw new Error(_0x2f3875(0x2a0));}[_0x1ff3c3(0x396)](){const _0x4b492f=_0x1ff3c3;throw new Error(_0x4b492f(0x31c));}['onRemoteRetry'](){return this;}[_0x1ff3c3(0x4d8)](){const _0x28297c=_0x1ff3c3;return this[_0x28297c(0x4ea)][_0x28297c(0x5d4)](ye,this[_0x28297c(0x537)],this[_0x28297c(0x5a4)],null,[],this['_handler']);}[_0x1ff3c3(0x573)](){return this;}[_0x1ff3c3(0x4cf)](){const _0x29df64=_0x1ff3c3;throw new Error(_0x29df64(0x447));}[_0x1ff3c3(0x571)](){const _0x15d754=_0x1ff3c3,_0xaa9e4b=this['_revisionService'][_0x15d754(0x2c9)](this[_0x15d754(0x537)]);return this['_handler'][_0x15d754(0x5b2)]({'from':_0xaa9e4b,'to':0x0}),this[_0x15d754(0x4ea)][_0x15d754(0x5d4)](he,this['unitID'],this[_0x15d754(0x5a4)],null,[],null,[],this[_0x15d754(0x4e1)]);}};Fe=Le([A(0x3,_0x4ca429(_0x5f50a9)),A(0x4,_0x4ca429(q)),A(0x5,_0x4ca429(_0x1678ba)),A(0x6,_0x865243),A(0x7,_0x3e6605),A(0x8,_0x24c70e),A(0x9,_0x359823)],Fe);let pe=class extends $e{constructor(_0x3482e0,_0x2863bc,_0x5e905e,_0x46e094,_0x26c946,_0x57911a,_0x442326,_0x438192,_0x355816,_0x2e4ab0,_0x93d160,_0x109806,_0x226831,_0x3bf12c){const _0x3c7d3b=_0x1ff3c3;super(_0x3482e0,_0x2863bc,null,_0x5e905e,_0x46e094,_0x2e4ab0,_0x3bf12c,_0x57911a,_0x442326),g(this,'status',_0x3c7d3b(0x270)),g(this,_0x3c7d3b(0x342),null),g(this,'_sendingTimer',null),(this[_0x3c7d3b(0x4ea)]=_0x26c946,this[_0x3c7d3b(0x578)]=_0x438192,this[_0x3c7d3b(0x24a)]=_0x355816,this[_0x3c7d3b(0x2b0)]=_0x93d160,this[_0x3c7d3b(0x5aa)]=_0x109806,this[_0x3c7d3b(0x4d6)]=_0x226831);}['appendMutation'](_0x395b41){const _0x178334=_0x1ff3c3;return this['_pendingMutations'][_0x178334(0x2cc)](_0x395b41),this[_0x178334(0x1e7)](),this;}['onRemoteChangeset'](_0x4899b2){const _0x148fcd=_0x1ff3c3;if(this[_0x148fcd(0x3e3)](_0x4899b2))return this['_clearScheduledTask'](),this['_injector']['createInstance'](he,this[_0x148fcd(0x537)],this['type'],null,this[_0x148fcd(0x33b)],null,[_0x4899b2],this[_0x148fcd(0x4e1)]);try{const _0x5e86b5=this[_0x148fcd(0x5aa)][_0x148fcd(0x4b8)](_0x4899b2,this[_0x148fcd(0x33b)]);if(_0x4a3d24(_0x5e86b5)){const {c1Prime:_0x2aa180,m2Prime:_0x42e8bc}=_0x5e86b5;this[_0x148fcd(0x210)](_0x2aa180);const _0x425b67=this[_0x148fcd(0x4ea)][_0x148fcd(0x5d4)](pe,this[_0x148fcd(0x537)],this[_0x148fcd(0x5a4)],_0x42e8bc,this[_0x148fcd(0x4e1)]);return this[_0x148fcd(0x3a8)](),_0x425b67[_0x148fcd(0x350)](this[_0x148fcd(0x342)]?Math[_0x148fcd(0x449)](0x0,new Date()[_0x148fcd(0x2cd)]()-this[_0x148fcd(0x342)]):this[_0x148fcd(0x252)]()),_0x425b67;}throw _0x5e86b5[_0x148fcd(0x495)];}catch(_0xe9a1df){return this[_0x148fcd(0x24a)]['error'](_0xe9a1df),this[_0x148fcd(0x5b3)](!0x1);}}[_0x1ff3c3(0x5dd)](){const _0x454109=_0x1ff3c3;throw new Error(_0x454109(0x4b0));}['onRemoteRej'](){const _0x126612=_0x1ff3c3;throw new Error(_0x126612(0x276));}['onRemoteRetry'](){return this;}[_0x1ff3c3(0x4d8)](){const _0x3274e2=_0x1ff3c3;return this[_0x3274e2(0x3a8)](),this[_0x3274e2(0x4ea)]['createInstance'](ye,this[_0x3274e2(0x537)],this[_0x3274e2(0x5a4)],null,this[_0x3274e2(0x33b)],this[_0x3274e2(0x4e1)]);}[_0x1ff3c3(0x573)](){return this;}[_0x1ff3c3(0x350)](_0x5afa71){const _0x1a935c=_0x1ff3c3,_0x41bf2a=_0x5afa71!=null?_0x5afa71:this[_0x1a935c(0x252)]();this[_0x1a935c(0x342)]=new Date()[_0x1a935c(0x2cd)](),this[_0x1a935c(0x3b8)]=window[_0x1a935c(0x1f5)](()=>{const _0x30d473=_0x1a935c;this['_clearScheduledTask']();let _0x3dd116=null;switch(this['type']){case ce['UNIVER_SHEET']:{_0x3dd116=Vs(this[_0x30d473(0x33b)],this[_0x30d473(0x537)],this[_0x30d473(0x4d6)],this[_0x30d473(0x5b7)],this[_0x30d473(0x578)]);break;}case ce[_0x30d473(0x376)]:{this['_pendingMutations'][_0x30d473(0x49f)](_0x48ac76=>_0x48ac76['id']===_0x3e1bd9['id'])?_0x3dd116=vo(this['_pendingMutations'],this[_0x30d473(0x537)],this[_0x30d473(0x4d6)],this[_0x30d473(0x5b7)],this[_0x30d473(0x578)]):_0x3dd116=Vs(this[_0x30d473(0x33b)],this[_0x30d473(0x537)],this[_0x30d473(0x4d6)],this[_0x30d473(0x5b7)],this['_memberService']);break;}default:throw new Error(_0x30d473(0x35d)+this[_0x30d473(0x5a4)]+_0x30d473(0x3bb));}const {changeset:_0x2b97f2,pendingMutations:_0x12cff3}=_0x3dd116;this[_0x30d473(0x4e1)][_0x30d473(0x375)](_0x2b97f2);const _0x19b16d=_0x12cff3[_0x30d473(0x231)]?this[_0x30d473(0x4ea)][_0x30d473(0x5d4)](ge,this[_0x30d473(0x537)],this[_0x30d473(0x5a4)],_0x2b97f2,_0x12cff3,this[_0x30d473(0x4e1)],void 0x0):this[_0x30d473(0x4ea)][_0x30d473(0x5d4)](Te,this[_0x30d473(0x537)],this[_0x30d473(0x5a4)],_0x2b97f2,this['_handler']);_0x19b16d[_0x30d473(0x1e7)](),this[_0x30d473(0x4e1)][_0x30d473(0x23b)](this,_0x19b16d);},_0x41bf2a);}[_0x1ff3c3(0x252)](){const _0x6cb7b=_0x1ff3c3;var _0x4a9814;const _0x28f7bb=this[_0x6cb7b(0x2b0)][_0x6cb7b(0x35a)](ie);return(_0x4a9814=_0x28f7bb==null?void 0x0:_0x28f7bb['sendChangesetTimeout'])!=null?_0x4a9814:_r;}['resend'](){const _0xdd61c4=_0x1ff3c3;throw new Error(_0xdd61c4(0x479));}[_0x1ff3c3(0x3a8)](){const _0x2d4a51=_0x1ff3c3;this[_0x2d4a51(0x3b8)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x2d4a51(0x3b8)]=null);}[_0x1ff3c3(0x5b3)](_0x5a1016){const _0x349e9c=_0x1ff3c3;return this[_0x349e9c(0x3a8)](),this['_injector'][_0x349e9c(0x5d4)](Re,this[_0x349e9c(0x537)],this[_0x349e9c(0x5a4)],null,this[_0x349e9c(0x33b)],this['_handler'],_0x5a1016);}};pe=Le([A(0x4,_0x4ca429(_0x1678ba)),A(0x5,_0x4ca429(_0x5f50a9)),A(0x6,_0x4ca429(q)),A(0x7,_0x4ca429(Ne)),A(0x8,_0x24c70e),A(0x9,_0x3e6605),A(0xa,_0x16309d),A(0xb,_0x359823),A(0xc,_0x527b53),A(0xd,_0x865243)],pe);let Te=class extends $e{constructor(_0x4991ff,_0x5cd7b5,_0x461340,_0x547959,_0x5a4dc4,_0x4dbf86,_0x363fc5,_0x10d57d,_0x5b6441,_0x18b72d,_0x18942b){const _0x3b8934=_0x1ff3c3;super(_0x4991ff,_0x5cd7b5,_0x461340,[],_0x547959,_0x10d57d,_0x18942b,_0x4dbf86,_0x363fc5),g(this,_0x3b8934(0x2f3),_0x3b8934(0x2ed)),g(this,_0x3b8934(0x4a0),0x0),g(this,'_resendTimer'),g(this,_0x3b8934(0x570)),(this[_0x3b8934(0x4ea)]=_0x5a4dc4,this[_0x3b8934(0x24a)]=_0x5b6441,this[_0x3b8934(0x5aa)]=_0x18b72d);}['appendMutation'](_0x2a264e){const _0x497dc8=_0x1ff3c3;this['_clearScheduledTask']();const _0x45a4aa=this[_0x497dc8(0x4ea)]['createInstance'](ge,this[_0x497dc8(0x537)],this['type'],this['_awaitingChangeset'],[_0x2a264e],this[_0x497dc8(0x4e1)],this[_0x497dc8(0x4fd)]);return _0x45a4aa[_0x497dc8(0x1e7)](),_0x45a4aa;}[_0x1ff3c3(0x256)](_0x1d06a7){const _0x51564c=_0x1ff3c3;if(this[_0x51564c(0x3e3)](_0x1d06a7))return this[_0x51564c(0x3a8)](),this[_0x51564c(0x4ea)]['createInstance'](he,this['unitID'],this[_0x51564c(0x5a4)],this['_awaitingChangeset'],[],null,[_0x1d06a7],this[_0x51564c(0x4e1)]);try{const _0x4c83ba=this[_0x51564c(0x5aa)][_0x51564c(0x215)]([_0x1d06a7],[this['_awaitingChangeset']],!0x1);if(_0x2c7d3d(_0x4c83ba)){const {c1Prime:_0xd4184,c2Prime:_0x2ddce9}=_0x4c83ba;this[_0x51564c(0x210)](_0xd4184[0x0]),_0x2ddce9[0x0]['baseRev']=this[_0x51564c(0x459)](),this['_clearScheduledTask']();const _0x5bbbfe=this['_injector'][_0x51564c(0x5d4)](Te,this[_0x51564c(0x537)],this[_0x51564c(0x5a4)],_0x2ddce9[0x0],this[_0x51564c(0x4e1)]);return _0x5bbbfe[_0x51564c(0x1e7)](),_0x5bbbfe;}return this[_0x51564c(0x5b3)](!0x1);}catch(_0x47456c){return this[_0x51564c(0x24a)][_0x51564c(0x495)](_0x47456c),this['_onConflict'](!0x1);}}[_0x1ff3c3(0x5dd)](_0x58bd15){const _0x53c616=_0x1ff3c3;this[_0x53c616(0x3a8)]();const _0xd14cdc=this['_revisionService'][_0x53c616(0x2c9)](this[_0x53c616(0x537)]);if(_0x58bd15['revision']<_0xd14cdc-0x1)return this;if(this['_checkMissing'](_0x58bd15))return this[_0x53c616(0x4ea)][_0x53c616(0x5d4)](he,this[_0x53c616(0x537)],this[_0x53c616(0x5a4)],null,[],this['_awaitingChangeset'],[],this[_0x53c616(0x4e1)]);this[_0x53c616(0x3a2)]();const _0x1f05c6=this['_injector'][_0x53c616(0x5d4)](Fe,this[_0x53c616(0x537)],this[_0x53c616(0x5a4)],this[_0x53c616(0x4e1)]);return _0x1f05c6[_0x53c616(0x1e7)](),_0x1f05c6;}[_0x1ff3c3(0x396)](_0x4288e1){const _0x4e9257=_0x1ff3c3;return this['_onConflict'](!!(_0x4288e1!=null&&_0x4288e1[_0x4e9257(0x4b4)]));}[_0x1ff3c3(0x36b)](_0x7190b){const _0x27d9e9=_0x1ff3c3;return this[_0x27d9e9(0x4a0)]>Ni?this[_0x27d9e9(0x4d8)]():(this[_0x27d9e9(0x4fd)]=Ui(this[_0x27d9e9(0x4a0)],{'timeout':this[_0x27d9e9(0x4a0)],'reqId':_0x7190b['reqId']}),this['_sender']=this[_0x27d9e9(0x4fd)][_0x27d9e9(0x5b5)](({reqId:_0x52d7f6,timeout:_0x3f4cef})=>{const _0x3dea5d=_0x27d9e9;this[_0x3dea5d(0x5c6)](_0x52d7f6,_0x3f4cef);}),this);}[_0x1ff3c3(0x4d8)](){const _0x1ed77d=_0x1ff3c3;return this[_0x1ed77d(0x3a8)](),this[_0x1ed77d(0x4ea)][_0x1ed77d(0x5d4)](ye,this[_0x1ed77d(0x537)],this[_0x1ed77d(0x5a4)],this[_0x1ed77d(0x2e4)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x1ff3c3(0x4cf)](){const _0x3e0818=_0x1ff3c3;this[_0x3e0818(0x4e1)]['onSendChangeset'](this[_0x3e0818(0x2e4)]);}[_0x1ff3c3(0x5b3)](_0xb52f0a){const _0x2b0dc5=_0x1ff3c3;return this[_0x2b0dc5(0x3a8)](),this['_injector'][_0x2b0dc5(0x5d4)](Re,this[_0x2b0dc5(0x537)],this[_0x2b0dc5(0x5a4)],this[_0x2b0dc5(0x2e4)],[],this['_handler'],_0xb52f0a);}['_resendWithTimeout'](_0x2b5a7a,_0x41f29a){const _0x2dd487=_0x1ff3c3;var _0xe2743;_0x2b5a7a===((_0xe2743=this[_0x2dd487(0x2e4)])==null?void 0x0:_0xe2743[_0x2dd487(0x24f)])&&(this['resend'](),this[_0x2dd487(0x4a0)]=_0x41f29a===0x0?0x3e8:_0x41f29a*0x2);}[_0x1ff3c3(0x3a8)](){const _0x354d97=_0x1ff3c3;var _0xfea1d1;(_0xfea1d1=this['_sender'])==null||_0xfea1d1[_0x354d97(0x1fe)](),this[_0x354d97(0x4a0)]=0x0;}};Te=Le([A(0x4,_0x4ca429(_0x1678ba)),A(0x5,_0x4ca429(_0x5f50a9)),A(0x6,_0x4ca429(q)),A(0x7,_0x3e6605),A(0x8,_0x24c70e),A(0x9,_0x359823),A(0xa,_0x865243)],Te);let ge=class extends $e{constructor(_0x2216e5,_0x3a1220,_0x419fa9,_0x584600,_0x40fa21,_0x1345a2,_0x23a043,_0x23fe52,_0x5ab6ff,_0x43b93f,_0x5acd76,_0xe2f26c,_0x582cec){const _0x558699=_0x1ff3c3;super(_0x2216e5,_0x3a1220,_0x419fa9,_0x584600,_0x40fa21,_0x43b93f,_0x582cec,_0x23fe52,_0x5ab6ff),g(this,_0x558699(0x2f3),_0x558699(0x346)),g(this,_0x558699(0x4a0),0x0),g(this,_0x558699(0x4fd)),g(this,_0x558699(0x570)),(this[_0x558699(0x4ea)]=_0x23a043,this['_logService']=_0x5acd76,this['_transformService']=_0xe2f26c,_0x1345a2&&(this['_resendTimer']=_0x1345a2,this[_0x558699(0x570)]=this[_0x558699(0x4fd)][_0x558699(0x5b5)](({reqId:_0x1964d9,timeout:_0x5d4575})=>{const _0x2adfed=_0x558699;this[_0x2adfed(0x5c6)](_0x1964d9,_0x5d4575);})));}[_0x1ff3c3(0x501)](_0x2d342c){const _0x429a9e=_0x1ff3c3;return this[_0x429a9e(0x33b)][_0x429a9e(0x2cc)](_0x2d342c),this;}['onRemoteChangeset'](_0x1fab29){const _0xf86483=_0x1ff3c3;if(this[_0xf86483(0x3e3)](_0x1fab29))return this[_0xf86483(0x3a8)](),this[_0xf86483(0x4ea)]['createInstance'](he,this[_0xf86483(0x537)],this['type'],this[_0xf86483(0x2e4)],this[_0xf86483(0x33b)],null,[_0x1fab29],this[_0xf86483(0x4e1)]);try{const _0x3d43f8=this[_0xf86483(0x5aa)][_0xf86483(0x215)]([_0x1fab29],[this['_awaitingChangeset']],!0x1);if(_0x2c7d3d(_0x3d43f8)){const {c1Prime:_0x495112,c2Prime:_0xee9545}=_0x3d43f8,_0xfbfff6=this[_0xf86483(0x5aa)]['transformMutationsWithChangeset'](_0x495112[0x0],this[_0xf86483(0x33b)]);if(_0x4a3d24(_0xfbfff6)){const {c1Prime:_0x2af09c,m2Prime:_0x508f4b}=_0xfbfff6;return this['_executeRemoteChangeset'](_0x2af09c),_0xee9545[0x0][_0xf86483(0x5d1)]=this[_0xf86483(0x459)](),this[_0xf86483(0x3a8)](),this[_0xf86483(0x4ea)][_0xf86483(0x5d4)](ge,this[_0xf86483(0x537)],this[_0xf86483(0x5a4)],_0xee9545[0x0],_0x508f4b,this[_0xf86483(0x4e1)],void 0x0);}throw _0xfbfff6[_0xf86483(0x495)];}throw _0x3d43f8['error'];}catch(_0x5c7fa6){return this[_0xf86483(0x24a)]['error'](_0x5c7fa6),this['_onConflict'](!0x1);}}[_0x1ff3c3(0x5dd)](_0x3052b5){const _0x58813e=_0x1ff3c3;if(this[_0x58813e(0x3a8)](),this[_0x58813e(0x3e3)](_0x3052b5))return this[_0x58813e(0x4ea)][_0x58813e(0x5d4)](he,this[_0x58813e(0x537)],this[_0x58813e(0x5a4)],null,this[_0x58813e(0x33b)],this[_0x58813e(0x2e4)],[],this[_0x58813e(0x4e1)]);this[_0x58813e(0x3a2)]();const _0x502e48=this['_injector'][_0x58813e(0x5d4)](pe,this[_0x58813e(0x537)],this[_0x58813e(0x5a4)],this['_pendingMutations'],this[_0x58813e(0x4e1)]);return _0x502e48['_schedule'](),_0x502e48[_0x58813e(0x1e7)](),_0x502e48;}['onRemoteRej'](_0x544e3d){const _0x5ed942=_0x1ff3c3;return this[_0x5ed942(0x5b3)](!!(_0x544e3d!=null&&_0x544e3d[_0x5ed942(0x4b4)]));}[_0x1ff3c3(0x36b)](_0x10a0dd){const _0x278e43=_0x1ff3c3;return this[_0x278e43(0x4a0)]>Ni?this[_0x278e43(0x4d8)]():(this[_0x278e43(0x4fd)]=Ui(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x10a0dd[_0x278e43(0x24f)]}),this[_0x278e43(0x570)]=this[_0x278e43(0x4fd)][_0x278e43(0x5b5)](({reqId:_0x3d37d8,timeout:_0x3fb034})=>{const _0x36ed0d=_0x278e43;this[_0x36ed0d(0x5c6)](_0x3d37d8,_0x3fb034);}),this);}[_0x1ff3c3(0x4d8)](){const _0x3c517c=_0x1ff3c3;return this[_0x3c517c(0x3a8)](),this[_0x3c517c(0x4ea)]['createInstance'](ye,this[_0x3c517c(0x537)],this[_0x3c517c(0x5a4)],this[_0x3c517c(0x2e4)],this[_0x3c517c(0x33b)],this[_0x3c517c(0x4e1)]);}[_0x1ff3c3(0x573)](){return this;}[_0x1ff3c3(0x4cf)](){const _0x57ae90=_0x1ff3c3;this[_0x57ae90(0x4e1)][_0x57ae90(0x375)](this[_0x57ae90(0x2e4)]);}[_0x1ff3c3(0x5b3)](_0x558819){const _0xfb3971=_0x1ff3c3;return this[_0xfb3971(0x3a8)](),this[_0xfb3971(0x4ea)][_0xfb3971(0x5d4)](Re,this[_0xfb3971(0x537)],this[_0xfb3971(0x5a4)],null,this[_0xfb3971(0x33b)],this[_0xfb3971(0x4e1)],_0x558819);}[_0x1ff3c3(0x5c6)](_0x3327e6,_0x13a052){const _0x56835f=_0x1ff3c3;var _0x1db626;_0x3327e6===((_0x1db626=this['_awaitingChangeset'])==null?void 0x0:_0x1db626[_0x56835f(0x24f)])&&(this[_0x56835f(0x4cf)](),this['_resendTimeout']=_0x13a052===0x0?0x3e8:_0x13a052*0x2);}['_clearScheduledTask'](){const _0x584ee6=_0x1ff3c3;var _0x171a4c;(_0x171a4c=this[_0x584ee6(0x570)])==null||_0x171a4c[_0x584ee6(0x1fe)](),this['_resendTimeout']=0x0;}};ge=Le([A(0x6,_0x4ca429(_0x1678ba)),A(0x7,_0x4ca429(_0x5f50a9)),A(0x8,_0x4ca429(q)),A(0x9,_0x3e6605),A(0xa,_0x24c70e),A(0xb,_0x359823),A(0xc,_0x865243)],ge);let Re=class extends $e{constructor(_0x40ff65,_0x124f44,_0x2397e7,_0x53cbcd,_0x11018e,_0x88ffe4=!0x1,_0x1cd8da,_0x5a2af4,_0x48c5e4,_0x5328f5,_0x5c2a62,_0x2ec06d,_0x3066b0){const _0x4144db=_0x1ff3c3;super(_0x40ff65,_0x124f44,_0x2397e7,_0x53cbcd,_0x11018e,_0x5a2af4,_0x48c5e4,_0x5c2a62,_0x5328f5),g(this,_0x4144db(0x2f3),_0x4144db(0x4a5)),(this[_0x4144db(0x2c2)]=_0x88ffe4,this[_0x4144db(0x431)]=_0x1cd8da,this['_localeService']=_0x2ec06d,this[_0x4144db(0x253)]=_0x3066b0,this[_0x4144db(0x281)](),this[_0x4144db(0x446)](),this[_0x4144db(0x54e)]());}['appendMutation'](){return this;}[_0x1ff3c3(0x256)](){return this;}[_0x1ff3c3(0x5dd)](){return this;}['onRemoteRej'](){return this;}[_0x1ff3c3(0x36b)](){return this;}[_0x1ff3c3(0x4d8)](){return this;}['toggleOnline'](){return this;}[_0x1ff3c3(0x4cf)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1ff3c3(0x446)](){const _0x54b569=_0x1ff3c3;this['_localCacheService'][_0x54b569(0x4b7)](this['unitID'],this['type'],null,[]);}[_0x1ff3c3(0x281)](){const _0x4f4ce0=_0x1ff3c3;this[_0x4f4ce0(0x2c2)]?this[_0x4f4ce0(0x253)]['show']({'title':this['_localeService']['t'](_0x4f4ce0(0x23d)),'content':this[_0x4f4ce0(0x309)]['t'](_0x4f4ce0(0x574)),'type':_0x4f4ce0(0x495),'duration':0x0}):this[_0x4f4ce0(0x253)]['show']({'title':this[_0x4f4ce0(0x309)]['t'](_0x4f4ce0(0x5b9)),'content':this[_0x4f4ce0(0x309)]['t'](_0x4f4ce0(0x263)),'type':_0x4f4ce0(0x495),'duration':0x0});}[_0x1ff3c3(0x54e)](){const _0x496b6b=_0x1ff3c3;this[_0x496b6b(0x431)][_0x496b6b(0x52b)](new _0x1c9ba9(this[_0x496b6b(0x537)])['id'],!0x1);}};Re=Le([A(0x6,_0x4ca429(_0x1ef358)),A(0x7,_0x3e6605),A(0x8,_0x865243),A(0x9,_0x4ca429(q)),A(0xa,_0x4ca429(_0x5f50a9)),A(0xb,_0x4ca429(_0x12b201)),A(0xc,_0x1b142a)],Re);let ye=class extends $e{constructor(_0x58e160,_0x125922,_0x137868,_0x21761f,_0x175764,_0x120423,_0x12b4c8,_0x4eaf74,_0x39351a,_0x4c6940){const _0x4c1a79=_0x1ff3c3;super(_0x58e160,_0x125922,_0x137868,_0x21761f,_0x175764,_0x39351a,_0x4c6940,_0x12b4c8,_0x4eaf74),g(this,_0x4c1a79(0x2f3),'offline'),this[_0x4c1a79(0x4ea)]=_0x120423;}[_0x1ff3c3(0x501)](_0x434ca9){const _0x1b02e3=_0x1ff3c3;return this[_0x1b02e3(0x33b)][_0x1b02e3(0x2cc)](_0x434ca9),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x5b9fb6){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x1ff3c3(0x5dd)](){const _0x382de0=_0x1ff3c3;throw new Error(_0x382de0(0x2f0));}[_0x1ff3c3(0x396)](){const _0x2d4769=_0x1ff3c3;throw new Error(_0x2d4769(0x590));}[_0x1ff3c3(0x36b)](){return this;}[_0x1ff3c3(0x4d8)](){return this;}[_0x1ff3c3(0x573)](){const _0x52ddc7=_0x1ff3c3,{_injector:_0x3e0f60,_pendingMutations:_0xf9adba,_awaitingChangeset:_0x5adf34,unitID:_0x198918,_handler:_0x5be779,type:_0xad6c3d}=this,_0x287750=Ai(_0x3e0f60,_0x198918,_0xad6c3d,_0x5adf34,_0xf9adba,_0x5be779);return _0x287750 instanceof pe?_0x287750['_schedule']():(_0x287750 instanceof ge||_0x287750 instanceof Te)&&_0x287750[_0x52ddc7(0x4cf)](),_0x287750;}[_0x1ff3c3(0x4cf)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=Le([A(0x5,_0x4ca429(_0x1678ba)),A(0x6,_0x4ca429(_0x5f50a9)),A(0x7,_0x4ca429(q)),A(0x8,_0x3e6605),A(0x9,_0x865243)],ye);let he=class extends $e{constructor(_0x1724a3,_0x510b80,_0x41bd5c,_0x27f400,_0x41e7bf,_0x2a90f5,_0x38ccce,_0xbe5485,_0x1a6aff,_0xab149,_0x5e7fa0,_0x5e34ad,_0x1b5722,_0x4f0e17){const _0x4b3b0a=_0x1ff3c3;super(_0x1724a3,_0x510b80,_0x41bd5c,_0x27f400,_0x38ccce,_0x5e34ad,_0x1b5722,_0x1a6aff,_0xab149),g(this,'status','fetch_missing'),(this[_0x4b3b0a(0x2f4)]=_0x41e7bf,this[_0x4b3b0a(0x4bf)]=_0x2a90f5,this[_0x4b3b0a(0x4ea)]=_0xbe5485,this[_0x4b3b0a(0x24a)]=_0x5e7fa0,this[_0x4b3b0a(0x5aa)]=_0x4f0e17);}[_0x1ff3c3(0x38b)](_0x2541ff){const _0x2a0c8f=_0x1ff3c3;try{const _0x25a16c=[..._0x2541ff,...this['_queuedRemoteChangesets']],_0x3eedca=[this[_0x2a0c8f(0x2e4)]||this[_0x2a0c8f(0x2f4)]]['filter'](_0x4f56e0=>!!_0x4f56e0);let _0x2acde5,_0x51ae42;if(_0x3eedca[_0x2a0c8f(0x231)]){const _0x2e2867=this[_0x2a0c8f(0x5aa)]['transformChangesets'](_0x25a16c,_0x3eedca,!0x1);if(!_0x2c7d3d(_0x2e2867))throw _0x2e2867['error'];_0x2acde5=_0x2e2867['c1Prime'],_0x51ae42=_0x2e2867[_0x2a0c8f(0x582)];}else _0x2acde5=_0x25a16c,_0x51ae42=[];let _0x151b5a=this['_pendingMutations'];_0x2acde5[_0x2a0c8f(0x2e9)](_0x2f6387=>{const _0x2cec2f=_0x2a0c8f;let _0x56e4b4;if(_0x151b5a[_0x2cec2f(0x231)]){const _0x35d2f8=this['_transformService'][_0x2cec2f(0x4b8)](_0x2f6387,_0x151b5a);if(!_0x4a3d24(_0x35d2f8))throw _0x35d2f8[_0x2cec2f(0x495)];_0x56e4b4=_0x35d2f8[_0x2cec2f(0x4e9)],_0x151b5a=_0x35d2f8[_0x2cec2f(0x3fa)];}else _0x56e4b4=_0x2f6387;this[_0x2cec2f(0x210)](_0x56e4b4);}),this[_0x2a0c8f(0x2f4)]&&this[_0x2a0c8f(0x3a2)](),this[_0x2a0c8f(0x2e4)]&&_0x51ae42[_0x2a0c8f(0x231)]&&(_0x51ae42[0x0]['baseRev']=this[_0x2a0c8f(0x459)]());let _0x1d2549;if(this[_0x2a0c8f(0x2e4)]&&_0x151b5a['length']!==0x0)_0x1d2549=this['_injector'][_0x2a0c8f(0x5d4)](ge,this[_0x2a0c8f(0x537)],this[_0x2a0c8f(0x5a4)],_0x51ae42[0x0],_0x151b5a,this[_0x2a0c8f(0x4e1)],void 0x0);else{if(this['_awaitingChangeset']&&_0x151b5a['length']===0x0)_0x51ae42[0x0]['baseRev']=this['_getCurrentRevision'](),_0x1d2549=this[_0x2a0c8f(0x4ea)][_0x2a0c8f(0x5d4)](Te,this['unitID'],this[_0x2a0c8f(0x5a4)],_0x51ae42[0x0],this['_handler']);else{if(_0x151b5a[_0x2a0c8f(0x231)]!==0x0){const _0x566e48=this[_0x2a0c8f(0x4ea)][_0x2a0c8f(0x5d4)](pe,this[_0x2a0c8f(0x537)],this[_0x2a0c8f(0x5a4)],_0x151b5a,this[_0x2a0c8f(0x4e1)]);_0x566e48['_schedule'](),_0x1d2549=_0x566e48;}else _0x1d2549=this[_0x2a0c8f(0x4ea)][_0x2a0c8f(0x5d4)](Fe,this[_0x2a0c8f(0x537)],this[_0x2a0c8f(0x5a4)],this[_0x2a0c8f(0x4e1)]);}}return _0x1d2549[_0x2a0c8f(0x1e7)](),_0x1d2549;}catch(_0x3e43da){return this[_0x2a0c8f(0x24a)]['error'](_0x2a0c8f(0x297),_0x2a0c8f(0x5a5),_0x3e43da),this['_injector'][_0x2a0c8f(0x5d4)](Re,this[_0x2a0c8f(0x537)],this[_0x2a0c8f(0x5a4)],this[_0x2a0c8f(0x2e4)],this[_0x2a0c8f(0x33b)],this[_0x2a0c8f(0x4e1)],!0x1);}}['resend'](){const _0x3352d7=_0x1ff3c3;throw new Error(_0x3352d7(0x4cd));}['appendMutation'](_0x101a16){const _0x362a25=_0x1ff3c3;return this[_0x362a25(0x33b)][_0x362a25(0x2cc)](_0x101a16),this;}[_0x1ff3c3(0x256)](_0x596d1f){const _0x3009a9=_0x1ff3c3;return this[_0x3009a9(0x4bf)][_0x3009a9(0x2cc)](_0x596d1f),this;}[_0x1ff3c3(0x5dd)](_0x36aef6){const _0x55f1a9=_0x1ff3c3;if(this['_awaitingChangeset'])return this[_0x55f1a9(0x2f4)]=this[_0x55f1a9(0x2e4)],this[_0x55f1a9(0x2e4)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x1ff3c3(0x396)](_0x32a720){const _0x581290=_0x1ff3c3;return this['_onConflict'](!!(_0x32a720!=null&&_0x32a720[_0x581290(0x4b4)]));}[_0x1ff3c3(0x36b)](){return this;}[_0x1ff3c3(0x4d8)](){const _0x171d34=_0x1ff3c3;return this[_0x171d34(0x4ea)][_0x171d34(0x5d4)](ye,this[_0x171d34(0x537)],this[_0x171d34(0x5a4)],this[_0x171d34(0x2e4)],this[_0x171d34(0x33b)],this['_handler']);}[_0x1ff3c3(0x573)](){return this;}[_0x1ff3c3(0x5b3)](_0x396a5b){const _0x574b50=_0x1ff3c3;return this[_0x574b50(0x4ea)]['createInstance'](Re,this['unitID'],this[_0x574b50(0x5a4)],this['_awaitingChangeset'],this[_0x574b50(0x33b)],this[_0x574b50(0x4e1)],_0x396a5b);}};he=Le([A(0x7,_0x4ca429(_0x1678ba)),A(0x8,_0x4ca429(_0x5f50a9)),A(0x9,_0x4ca429(q)),A(0xa,_0x24c70e),A(0xb,_0x3e6605),A(0xc,_0x865243),A(0xd,_0x359823)],he);function Ai(_0x5af770,_0x426b54,_0x5d786a,_0x2d5cda,_0x2a3b73,_0x1add00){const _0x1d156a=_0x1ff3c3;return _0x2d5cda&&_0x2a3b73[_0x1d156a(0x231)]?_0x5af770[_0x1d156a(0x5d4)](ge,_0x426b54,_0x5d786a,_0x2d5cda,_0x2a3b73,_0x1add00,void 0x0):_0x2d5cda?_0x5af770[_0x1d156a(0x5d4)](Te,_0x426b54,_0x5d786a,_0x2d5cda,_0x1add00):_0x2a3b73['length']?_0x5af770[_0x1d156a(0x5d4)](pe,_0x426b54,_0x5d786a,_0x2a3b73,_0x1add00):_0x5af770[_0x1d156a(0x5d4)](Fe,_0x426b54,_0x5d786a,_0x1add00);}var So=Object[_0x1ff3c3(0x39f)],Io=Object['getOwnPropertyDescriptor'],Es=(_0x5b8429,_0x5230d8,_0x4d09ff,_0x4e3506)=>{const _0x116c06=_0x1ff3c3;for(var _0xc131a3=_0x4e3506>0x1?void 0x0:_0x4e3506?Io(_0x5230d8,_0x4d09ff):_0x5230d8,_0x2dee86=_0x5b8429[_0x116c06(0x231)]-0x1,_0x7cdb14;_0x2dee86>=0x0;_0x2dee86--)(_0x7cdb14=_0x5b8429[_0x2dee86])&&(_0xc131a3=(_0x4e3506?_0x7cdb14(_0x5230d8,_0x4d09ff,_0xc131a3):_0x7cdb14(_0xc131a3))||_0xc131a3);return _0x4e3506&&_0xc131a3&&So(_0x5230d8,_0x4d09ff,_0xc131a3),_0xc131a3;},H=(_0x558488,_0x576baf)=>(_0x75d0ec,_0x2d1a7d)=>_0x576baf(_0x75d0ec,_0x2d1a7d,_0x558488);let gt=class extends _0x58a0f6{constructor(_0x3393ad,_0x214a41,_0x5b9c34,_0x85c0d8,_0x7435ff,_0x2f5187,_0x36dc68,_0x2dbe1d,_0x5723f9,_0x3553bd,_0x3eef2b,_0x19dd93,_0x1edf3b){const _0x17b7e2=_0x1ff3c3;super(),g(this,'_state$',new _0x4ef6f6(null)),g(this,_0x17b7e2(0x581),this['_state$'][_0x17b7e2(0x343)]()),g(this,_0x17b7e2(0x3e1)),g(this,_0x17b7e2(0x4fc),!0x1),g(this,'_changesetSessionId',''),g(this,_0x17b7e2(0x45e),0x0),g(this,_0x17b7e2(0x40d),this['state$'][_0x17b7e2(0x393)](_0x387387(_0x1bb08b=>_0x1bb08b?_0x1bb08b[_0x17b7e2(0x2f3)]:J[_0x17b7e2(0x2fb)]),_0x133f34(0x1))),g(this,_0x17b7e2(0x2ce),!0x1),g(this,_0x17b7e2(0x2b1),[]),(this['unitID']=_0x3393ad,this[_0x17b7e2(0x293)]=_0x214a41,this[_0x17b7e2(0x30f)]=_0x5b9c34,this['_injector']=_0x85c0d8,this[_0x17b7e2(0x319)]=_0x7435ff,this[_0x17b7e2(0x368)]=_0x2f5187,this[_0x17b7e2(0x309)]=_0x36dc68,this[_0x17b7e2(0x5b7)]=_0x2dbe1d,this[_0x17b7e2(0x24a)]=_0x5723f9,this[_0x17b7e2(0x2b4)]=_0x3553bd,this['_messageService']=_0x3eef2b,this[_0x17b7e2(0x431)]=_0x19dd93,this[_0x17b7e2(0x35e)]=_0x1edf3b);}get[_0x1ff3c3(0x4e8)](){const _0x5e9357=_0x1ff3c3;return this[_0x5e9357(0x3e1)];}async['init'](){const _0x481334=_0x1ff3c3;if(this['state'])throw new Error(_0x481334(0x3f9));await this[_0x481334(0x55d)]();}[_0x1ff3c3(0x436)](){const _0x5b9e31=_0x1ff3c3;return this[_0x5b9e31(0x4fc)]=!0x0,_0x5917cc(()=>{const _0x4e3ab8=_0x5b9e31;this[_0x4e3ab8(0x4fc)]=!0x1,this[_0x4e3ab8(0x2d7)]();});}[_0x1ff3c3(0x229)](_0x288fd1){const _0x6b6bde=_0x1ff3c3;this[_0x6b6bde(0x3e1)]=_0x288fd1,this[_0x6b6bde(0x282)][_0x6b6bde(0x453)](_0x288fd1);}async['_init'](){const _0x1c1094=_0x1ff3c3;var _0x26f75b;this['_updateState'](await this[_0x1c1094(0x1f8)]()),this[_0x1c1094(0x35e)]&&((_0x26f75b=this[_0x1c1094(0x35e)])==null||_0x26f75b[_0x1c1094(0x594)](this[_0x1c1094(0x537)]),this[_0x1c1094(0x4bb)](this[_0x1c1094(0x35e)][_0x1c1094(0x52d)](this[_0x1c1094(0x537)])[_0x1c1094(0x5b5)](_0x1ba091=>{const _0x587784=_0x1c1094;this['_logService']['debug']('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x1ba091),_0x1ba091===Di[_0x587784(0x5c7)]?(this['_messageService'][_0x587784(0x257)]({'content':this['_localeService']['t'](_0x587784(0x296)),'type':_0x11cc22['Warning']}),this[_0x587784(0x431)][_0x587784(0x52b)](new _0x1c9ba9(this[_0x587784(0x537)])['id'],!0x1),this[_0x587784(0x431)][_0x587784(0x22c)](!0x1)):(this[_0x587784(0x431)][_0x587784(0x52b)](new _0x1c9ba9(this['unitID'])['id'],!0x0),this[_0x587784(0x431)][_0x587784(0x22c)](!0x0));})));let _0x1cdf56=!0x1;return this['disposeWithMe'](this[_0x1c1094(0x293)][_0x1c1094(0x4eb)][_0x1c1094(0x5b5)](_0x56bab8=>{const _0x38681d=_0x1c1094;_0x56bab8===ve[_0x38681d(0x4a4)]?this[_0x38681d(0x413)](_0x1cdf56):_0x56bab8===ve[_0x38681d(0x2fb)]&&(_0x1cdf56=!0x0,this['_toggleOffline']());})),this[_0x1c1094(0x4bb)](this[_0x1c1094(0x293)][_0x1c1094(0x558)][_0x1c1094(0x5b5)](_0x5e8736=>{const _0x11e8e8=_0x1c1094;try{switch(_0x5e8736['eventID']){case _0x41425a[_0x11e8e8(0x4f0)]:{this['_onRemoteChangeset'](_0x31bb30(_0x5e8736[_0x11e8e8(0x28e)]));break;}case _0x41425a[_0x11e8e8(0x318)]:{this['_onRemoteACK'](_0x5e8736[_0x11e8e8(0x28e)]);break;}case _0x41425a['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x41425a['CHANGESET_SHOULD_RETRY']:{this[_0x11e8e8(0x5b8)](_0x5e8736[_0x11e8e8(0x28e)]);break;}case _0x41425a[_0x11e8e8(0x49c)]:{this[_0x11e8e8(0x561)](_0x5e8736[_0x11e8e8(0x28e)][_0x11e8e8(0x47f)][_0x11e8e8(0x291)](_0x29a158=>_0x31bb30(_0x29a158)));break;}case _0x41425a[_0x11e8e8(0x554)]:this[_0x11e8e8(0x5ad)]({'isPermissionRej':!0x0});}}catch(_0x4a5c0b){throw console['error'](_0x11e8e8(0x472),_0x4a5c0b),_0x4a5c0b;}})),this[_0x1c1094(0x3e1)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x1ff3c3(0x349)](){const _0x571cc9=_0x1ff3c3;if(this[_0x571cc9(0x2ce)])throw new Error(_0x571cc9(0x269));this[_0x571cc9(0x2ce)]=!0x0;}[_0x1ff3c3(0x448)](_0x115d49){const _0x1e418b=_0x1ff3c3;this['_lockTransition'](),this[_0x1e418b(0x229)](this[_0x1e418b(0x3e1)][_0x1e418b(0x501)](_0x115d49)),this[_0x1e418b(0x534)]();}[_0x1ff3c3(0x387)](_0x318aa8){const _0x29a300=_0x1ff3c3;if(!(_0x318aa8[_0x29a300(0x38a)]<=this[_0x29a300(0x5b7)]['getCurrentRevOfUnit'](this[_0x29a300(0x537)]))){if(this[_0x29a300(0x4fc)]){this['_remoteChangesetQueue'][_0x29a300(0x2cc)](_0x318aa8);return;}this['_applyRemoteChangeset'](_0x318aa8);}}[_0x1ff3c3(0x2d7)](){const _0x483b57=_0x1ff3c3;this['_remoteChangesetQueue'][_0x483b57(0x2e9)](_0x3a43fb=>this[_0x483b57(0x499)](_0x3a43fb)),this['_remoteChangesetQueue']=[];}[_0x1ff3c3(0x499)](_0x50a615){const _0x261392=_0x1ff3c3,_0x4453c8=this[_0x261392(0x368)][_0x261392(0x407)][_0x261392(0x3bf)](this[_0x261392(0x368)][_0x261392(0x407)][_0x261392(0x2a6)]()[_0x261392(0x518)])(_0x50a615[_0x261392(0x2c4)],null)||_0x50a615[_0x261392(0x2c4)],_0x3bcdab={..._0x50a615,'mutations':_0x4453c8};this[_0x261392(0x349)](),this[_0x261392(0x229)](this[_0x261392(0x3e1)]['onRemoteChangeset'](_0x3bcdab)),this[_0x261392(0x534)]();}[_0x1ff3c3(0x3f8)](_0x4d0c2b){const _0x3b9c45=_0x1ff3c3;this['_lockTransition'](),this['_updateState'](this[_0x3b9c45(0x3e1)][_0x3b9c45(0x5dd)](_0x4d0c2b)),this[_0x3b9c45(0x534)]();}['_onRemoteRejected'](_0x45b032){const _0x42f8cc=_0x1ff3c3;this[_0x42f8cc(0x349)](),this[_0x42f8cc(0x229)](this[_0x42f8cc(0x3e1)][_0x42f8cc(0x396)](_0x45b032)),this[_0x42f8cc(0x534)]();}[_0x1ff3c3(0x5b8)](_0x51bcbc){const _0x13efb3=_0x1ff3c3;this[_0x13efb3(0x349)](),this[_0x13efb3(0x229)](this[_0x13efb3(0x3e1)][_0x13efb3(0x36b)](_0x51bcbc)),this[_0x13efb3(0x534)]();}[_0x1ff3c3(0x561)](_0x5439bd){const _0x3537e6=_0x1ff3c3;if(!(this[_0x3537e6(0x3e1)]instanceof he))throw new TypeError(_0x3537e6(0x5d6));const _0x54af3f=_0x5439bd['map'](_0x43e9d3=>{const _0x29be16=_0x3537e6,_0x495030=this[_0x29be16(0x368)][_0x29be16(0x407)]['fetchThroughInterceptors'](this[_0x29be16(0x368)]['interceptor']['getInterceptPoints']()[_0x29be16(0x518)])(_0x43e9d3[_0x29be16(0x2c4)],null)||_0x43e9d3['mutations'];return{..._0x43e9d3,'mutations':_0x495030};});this[_0x3537e6(0x349)](),this[_0x3537e6(0x229)](this[_0x3537e6(0x3e1)][_0x3537e6(0x38b)](_0x54af3f)),this[_0x3537e6(0x534)]();}[_0x1ff3c3(0x496)](){const _0x2afaa3=_0x1ff3c3;this['_lockTransition'](),this[_0x2afaa3(0x229)](this[_0x2afaa3(0x3e1)]['toggleOffline']()),this[_0x2afaa3(0x534)]();}[_0x1ff3c3(0x413)](_0x1b0901=!0x1){const _0x59c0a5=_0x1ff3c3;this[_0x59c0a5(0x349)](),this[_0x59c0a5(0x229)](this[_0x59c0a5(0x3e1)][_0x59c0a5(0x573)]()),this[_0x59c0a5(0x534)]();const _0x5e5665=this['_state'];_0x1b0901&&_0x5e5665 instanceof Fe&&(this[_0x59c0a5(0x349)](),this[_0x59c0a5(0x229)](_0x5e5665[_0x59c0a5(0x571)]()),this[_0x59c0a5(0x534)]());}async[_0x1ff3c3(0x1f8)](){return new Promise(_0x5c1093=>{const _0x15cfa0=_0x304f;this['session'][_0x15cfa0(0x4eb)][_0x15cfa0(0x393)](_0x5903c7(0x1))[_0x15cfa0(0x5b5)](async _0x42c864=>{const _0x476562=_0x15cfa0;_0x5c1093(await this[_0x476562(0x40b)](_0x42c864===ve[_0x476562(0x4a4)]));});});}[_0x1ff3c3(0x3c4)](){const _0x183b63=_0x1ff3c3,_0x1f6e98=this[_0x183b63(0x537)];return{'onStateChange':(_0x1b210e,_0x25ec33)=>{const _0x26b315=_0x183b63;if(_0x1b210e!==this['_state'])throw new Error(_0x26b315(0x3ce)+_0x1b210e[_0x26b315(0x2f3)]+_0x26b315(0x5e2)+_0x25ec33[_0x26b315(0x2f3)]+_0x26b315(0x41e)+this[_0x26b315(0x3e1)]['status']);this['_updateState'](_0x25ec33);},'onSendChangeset':_0x1db6fc=>{const _0x6ce148=_0x183b63;_0x1db6fc[_0x6ce148(0x304)]||(_0x1db6fc['sid']=this['_changesetSessionId'],_0x1db6fc[_0x6ce148(0x24f)]=++this[_0x6ce148(0x45e)]);const _0x2cc20f={'eventID':_0x41425a[_0x6ce148(0x28f)],'data':{'unitID':_0x1db6fc[_0x6ce148(0x537)],'unitType':this[_0x6ce148(0x30f)],'changeset':_0x1db6fc,'memberID':this[_0x6ce148(0x293)][_0x6ce148(0x2be)]()}};this[_0x6ce148(0x293)][_0x6ce148(0x433)](_0x2cc20f,this[_0x6ce148(0x537)]);},'onMissingChangesets':({from:_0x4b254a,to:_0x5d0ae7})=>{const _0x107587=_0x183b63;this['_logService'][_0x107587(0x392)](_0x107587(0x2ff),'fetching\x20missing\x20changesets\x20from\x20'+_0x4b254a+_0x107587(0x1e8)+_0x5d0ae7);const _0x149ca3={'eventID':_0x41425a['FETCH_MISSING'],'data':{'unitID':_0x1f6e98,'unitType':this[_0x107587(0x30f)],'from':_0x4b254a,'to':_0x5d0ae7}};this[_0x107587(0x293)][_0x107587(0x433)](_0x149ca3,this[_0x107587(0x537)]);}};}async[_0x1ff3c3(0x40b)](_0x2f16a7){const _0x5c6966=_0x1ff3c3;var _0x244935,_0x5d8ee3;const _0x150463=await this[_0x5c6966(0x319)][_0x5c6966(0x221)](this[_0x5c6966(0x537)]),_0x20e8be=(_0x244935=_0x150463==null?void 0x0:_0x150463[_0x5c6966(0x2c4)])!=null?_0x244935:[],_0xbb6d20=(_0x5d8ee3=_0x150463==null?void 0x0:_0x150463[_0x5c6966(0x545)])!=null?_0x5d8ee3:null,_0x496c79=!!(_0xbb6d20!=null&&_0xbb6d20[_0x5c6966(0x304)])&&!!(_0xbb6d20!=null&&_0xbb6d20[_0x5c6966(0x24f)]);this[_0x5c6966(0x5d7)]=_0x496c79?_0xbb6d20[_0x5c6966(0x304)]:zr(),this['_changesetReqId']=_0x496c79?_0xbb6d20[_0x5c6966(0x24f)]:0x0;const _0x329a34=this[_0x5c6966(0x537)];try{this[_0x5c6966(0x528)](_0xbb6d20,_0x20e8be);}catch(_0x33a590){this[_0x5c6966(0x24a)][_0x5c6966(0x495)](_0x33a590);}const _0x1b4424=this[_0x5c6966(0x3c4)]();if(_0x2f16a7){const _0x3ed785=Ai(this[_0x5c6966(0x4ea)],_0x329a34,this['_type'],_0xbb6d20,_0x20e8be,_0x1b4424);return _0x3ed785 instanceof pe?_0x3ed785[_0x5c6966(0x350)]():(_0x3ed785 instanceof ge||_0x3ed785 instanceof Te)&&_0x3ed785[_0x5c6966(0x4cf)](),_0x3ed785;}return this[_0x5c6966(0x4ea)]['createInstance'](ye,_0x329a34,this['_type'],_0xbb6d20,_0x20e8be,_0x1b4424);}[_0x1ff3c3(0x528)](_0x85ae3b,_0x484d3d){const _0x3f8e69=_0x1ff3c3;var _0x56787b,_0x197991;const _0x223f99=this[_0x3f8e69(0x368)][_0x3f8e69(0x407)][_0x3f8e69(0x3bf)](this[_0x3f8e69(0x368)]['interceptor'][_0x3f8e69(0x2a6)]()[_0x3f8e69(0x518)]);(_0x56787b=_0x223f99((_0x85ae3b==null?void 0x0:_0x85ae3b[_0x3f8e69(0x2c4)])||[],null))==null||_0x56787b[_0x3f8e69(0x2e9)](_0xef5482=>this['_commandService'][_0x3f8e69(0x51b)](_0xef5482['id'],_0xef5482[_0x3f8e69(0x5ee)])),(_0x197991=_0x223f99(_0x484d3d||[],null))==null||_0x197991[_0x3f8e69(0x2e9)](_0x58e575=>this[_0x3f8e69(0x2b4)][_0x3f8e69(0x51b)](_0x58e575['id'],_0x58e575[_0x3f8e69(0x5ee)]));}};gt=Es([H(0x3,_0x4ca429(_0x1678ba)),H(0x4,_0x4ca429(q)),H(0x5,_0x4ca429(_0x34fbf9)),H(0x6,_0x4ca429(_0x12b201)),H(0x7,_0x4ca429(_0x5f50a9)),H(0x8,_0x24c70e),H(0x9,_0x3e6605),H(0xa,_0x47c163),H(0xb,_0x1ef358),H(0xc,_0x1e9cac(Rt))],gt);let ss=class extends gt{constructor(_0x25be2a,_0x2d1932,_0x49d210,_0x11bf6f,_0x44c12c,_0x24e2e8,_0x633a5b,_0x4b2863,_0x5f13e4,_0x18fe4c,_0x4f9b5c,_0x5b0f68,_0x12d0a4,_0x7e5a54,_0x2afcda,_0x3a2039,_0xb331f9,_0x384877){const _0x313f5a=_0x1ff3c3;super(_0x25be2a,_0x49d210,_0x2d1932,_0x11bf6f,_0x44c12c,_0x24e2e8,_0x633a5b,_0x4b2863,_0x7e5a54,_0x2afcda,_0x3a2039,_0xb331f9,_0x384877),this[_0x313f5a(0x537)]=_0x25be2a,this[_0x313f5a(0x5a4)]=_0x2d1932,this[_0x313f5a(0x45b)]=_0x5f13e4,this[_0x313f5a(0x5de)]=_0x18fe4c,this[_0x313f5a(0x5b0)]=_0x4f9b5c,this[_0x313f5a(0x217)]=_0x5b0f68,this[_0x313f5a(0x456)]=_0x12d0a4;}[_0x1ff3c3(0x3c4)](){const _0xc432e4=_0x1ff3c3,_0x15c686=super[_0xc432e4(0x3c4)]();return _0x15c686[_0xc432e4(0x321)]=_0x2ac35d=>this['_docTransformIMECacheService'][_0xc432e4(0x3fd)](_0x2ac35d),_0x15c686[_0xc432e4(0x4d4)]=_0x2cd5c8=>this[_0xc432e4(0x5b0)][_0xc432e4(0x3e9)](_0x2cd5c8),_0x15c686[_0xc432e4(0x4c5)]=_0x26e117=>this['_docTransformSelectionsService']['transformSelections'](_0x26e117),_0x15c686[_0xc432e4(0x1f0)]=_0x54ba57=>this[_0xc432e4(0x456)][_0xc432e4(0x5d0)](_0x54ba57),_0x15c686[_0xc432e4(0x383)]=_0x29cf89=>this[_0xc432e4(0x5de)][_0xc432e4(0x463)](_0x29cf89),_0x15c686[_0xc432e4(0x4f4)]=_0x2e4829=>this[_0xc432e4(0x5b0)][_0xc432e4(0x463)](_0x2e4829),_0x15c686;}async[_0x1ff3c3(0x55d)](){const _0x1a160c=_0x1ff3c3,_0x3ea62f=await super[_0x1a160c(0x55d)]();return this['_docStateChangeManagerService'][_0x1a160c(0x415)][_0x1a160c(0x393)](_0x5e202a(this[_0x1a160c(0x470)]))[_0x1a160c(0x5b5)](_0x5db6e7=>{const _0x3f1032=_0x1a160c;if(_0x5db6e7==null)return;const {unitId:_0x4ab94b,redoState:_0x45c4ea,commandId:_0x2a0ee8}=_0x5db6e7;if(_0x4ab94b!==this[_0x3f1032(0x537)])return;const _0x1ed1e7={'id':_0x2a0ee8,'type':_0x1d8c92[_0x3f1032(0x4e7)],'params':{'unitId':_0x4ab94b,'actions':_0x45c4ea[_0x3f1032(0x5a6)],'textRanges':null}};this[_0x3f1032(0x448)](_0x1ed1e7);}),_0x3ea62f;}};ss=Es([H(0x3,_0x4ca429(_0x1678ba)),H(0x4,_0x4ca429(q)),H(0x5,_0x4ca429(_0x34fbf9)),H(0x6,_0x4ca429(_0x12b201)),H(0x7,_0x4ca429(_0x5f50a9)),H(0x8,_0x4ca429(_0xb50e97)),H(0x9,_0x4ca429(ft)),H(0xa,_0x4ca429(mt)),H(0xb,_0x4ca429(pt)),H(0xc,_0x4ca429(Cs)),H(0xd,_0x24c70e),H(0xe,_0x3e6605),H(0xf,_0x47c163),H(0x10,_0x1ef358),H(0x11,_0x1e9cac(Rt))],ss);let is=class extends gt{constructor(_0x42d94f,_0x3f7b7f,_0x4f0f25,_0x59573f,_0x2e5d30,_0x4a0c06,_0x101f13,_0x378670,_0x2b4c8d,_0x4add15,_0x214b6b,_0x19a8e0,_0x2471b6,_0x485976){const _0x2d7dae=_0x1ff3c3;super(_0x42d94f,_0x4f0f25,_0x3f7b7f,_0x59573f,_0x2e5d30,_0x4a0c06,_0x101f13,_0x378670,_0x4add15,_0x214b6b,_0x19a8e0,_0x2471b6,_0x485976),this[_0x2d7dae(0x537)]=_0x42d94f,this[_0x2d7dae(0x5a4)]=_0x3f7b7f,this[_0x2d7dae(0x218)]=_0x2b4c8d;}[_0x1ff3c3(0x3c4)](){const _0x153d2d=_0x1ff3c3,_0x8122fc=super[_0x153d2d(0x3c4)]();return _0x8122fc['onTransformSelections']=_0x51e643=>this[_0x153d2d(0x218)][_0x153d2d(0x213)](_0x51e643),_0x8122fc;}async[_0x1ff3c3(0x55d)](){const _0x5f0301=_0x1ff3c3,_0x10ec3d=await super[_0x5f0301(0x55d)]();return this[_0x5f0301(0x4bb)](this[_0x5f0301(0x2b4)][_0x5f0301(0x3b2)]((_0x541d1a,_0x34a7b4)=>{const _0xcf5b8a=_0x5f0301;if(_0x541d1a[_0xcf5b8a(0x5a4)]!==_0x1d8c92['MUTATION']||_0x34a7b4!=null&&_0x34a7b4[_0xcf5b8a(0x4f2)]||_0x34a7b4!=null&&_0x34a7b4[_0xcf5b8a(0x54a)])return;const _0x60f289=_0x541d1a[_0xcf5b8a(0x5ee)];if((_0x60f289==null?void 0x0:_0x60f289['unitId'])!==this[_0xcf5b8a(0x537)])return;const _0x588a62=_0x541d1a,_0x384c64=this[_0xcf5b8a(0x368)][_0xcf5b8a(0x407)][_0xcf5b8a(0x3bf)](this['_compressMutationService']['interceptor'][_0xcf5b8a(0x2a6)]()['COMPRESS_MUTATION_SEND'])([_0x588a62],null)||[_0x588a62];this[_0xcf5b8a(0x448)](_0x384c64[0x0]);})),_0x10ec3d;}};is=Es([H(0x3,_0x4ca429(_0x1678ba)),H(0x4,_0x4ca429(q)),H(0x5,_0x4ca429(_0x34fbf9)),H(0x6,_0x4ca429(_0x12b201)),H(0x7,_0x4ca429(_0x5f50a9)),H(0x8,_0x4ca429(vt)),H(0x9,_0x24c70e),H(0xa,_0x3e6605),H(0xb,_0x47c163),H(0xc,_0x1ef358),H(0xd,_0x1e9cac(Rt))],is);var Co=Object[_0x1ff3c3(0x39f)],Eo=Object[_0x1ff3c3(0x3b5)],bo=(_0x1d4a1b,_0x86bd66,_0x145981,_0x1dde2d)=>{for(var _0x178904=_0x1dde2d>0x1?void 0x0:_0x1dde2d?Eo(_0x86bd66,_0x145981):_0x86bd66,_0x1eca69=_0x1d4a1b['length']-0x1,_0x8d0a00;_0x1eca69>=0x0;_0x1eca69--)(_0x8d0a00=_0x1d4a1b[_0x1eca69])&&(_0x178904=(_0x1dde2d?_0x8d0a00(_0x86bd66,_0x145981,_0x178904):_0x8d0a00(_0x178904))||_0x178904);return _0x1dde2d&&_0x178904&&Co(_0x86bd66,_0x145981,_0x178904),_0x178904;},Lt=(_0x5224b9,_0x35ec5c)=>(_0x25dae4,_0x350e4f)=>_0x35ec5c(_0x25dae4,_0x350e4f,_0x5224b9);let it=class extends _0x58a0f6{constructor(_0x190351,_0x22b7b1,_0x3c2275){const _0x10a040=_0x1ff3c3;super(),g(this,_0x10a040(0x31f),new Map()),g(this,'_entityInit$',new _0x50f7a0()),(this[_0x10a040(0x4ea)]=_0x190351,this[_0x10a040(0x398)]=_0x22b7b1,this[_0x10a040(0x4d6)]=_0x3c2275,this['_init']());}[_0x1ff3c3(0x2e5)](){const _0x5101ff=_0x1ff3c3;super['dispose'](),this[_0x5101ff(0x31f)][_0x5101ff(0x2e9)](_0x4a56c9=>_0x4a56c9[_0x5101ff(0x2e5)]()),this[_0x5101ff(0x31f)][_0x5101ff(0x432)]();}[_0x1ff3c3(0x466)](_0x36d35e){const _0x2e3766=_0x1ff3c3;var _0x8a9208;return(_0x8a9208=this[_0x2e3766(0x31f)][_0x2e3766(0x27e)](_0x36d35e))!=null?_0x8a9208:null;}[_0x1ff3c3(0x3da)](_0x5bcd46){const _0x2314b2=_0x1ff3c3,_0x51ee63=this[_0x2314b2(0x466)](_0x5bcd46);return _0x51ee63?_0x5be1e3(_0x51ee63):this[_0x2314b2(0x552)][_0x2314b2(0x393)](_0x36202f(_0x4daf74=>_0x4daf74[_0x2314b2(0x537)]===_0x5bcd46));}[_0x1ff3c3(0x55d)](){const _0x2901ee=_0x1ff3c3;this[_0x2901ee(0x4d6)][_0x2901ee(0x5bb)](_0x4f25e7[_0x2901ee(0x3d2)])[_0x2901ee(0x393)](_0x5e202a(this['dispose$']),_0xea7914(0x10))[_0x2901ee(0x5b5)](async _0x1444eb=>{const _0x296eb2=_0x2901ee,_0x563c37=_0x1444eb[_0x296eb2(0x41c)](),_0x3441f5=await this['_startCollaboration'](_0x563c37,ce['UNIVER_SHEET']);this[_0x296eb2(0x31f)]['set'](_0x563c37,_0x3441f5);}),this['_univerInstanceService'][_0x2901ee(0x5bb)](_0x4f25e7['UNIVER_DOC'])['pipe'](_0x5e202a(this['dispose$']),_0xea7914(0x10))[_0x2901ee(0x393)](_0x36202f(_0x497687=>!_0x497687['getUnitId']()[_0x2901ee(0x224)]('__')))[_0x2901ee(0x5b5)](async _0x1d6f74=>{const _0x1ffcac=_0x2901ee,_0x56c29=_0x1d6f74[_0x1ffcac(0x41c)](),_0x47e32a=await this['_startCollaboration'](_0x56c29,ce[_0x1ffcac(0x376)]);this[_0x1ffcac(0x31f)][_0x1ffcac(0x403)](_0x56c29,_0x47e32a);}),_0x4fc6a3(this['_univerInstanceService'][_0x2901ee(0x434)](_0x4f25e7[_0x2901ee(0x3d2)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4f25e7[_0x2901ee(0x376)]))['pipe'](_0x5e202a(this[_0x2901ee(0x470)]))[_0x2901ee(0x5b5)](_0x3296b4=>{const _0x3f8b43=_0x2901ee,_0x60fb52=_0x3296b4[_0x3f8b43(0x41c)](),_0x55d35b=this[_0x3f8b43(0x31f)]['get'](_0x60fb52);_0x55d35b&&(_0x55d35b[_0x3f8b43(0x2e5)](),this[_0x3f8b43(0x31f)][_0x3f8b43(0x4dc)](_0x60fb52));});}async['_startCollaboration'](_0x5ab233,_0x1ea436){const _0x3c307c=_0x1ff3c3,_0x237e0e=await this['_collabSessionService']['requireSession'](_0x5ab233),_0x338365=this['_injector'][_0x3c307c(0x5d4)](this[_0x3c307c(0x32e)](_0x1ea436),_0x5ab233,_0x1ea436,_0x237e0e);return await _0x338365[_0x3c307c(0x40e)](),this[_0x3c307c(0x552)]['next'](_0x338365),_0x338365;}['_getCtorByUniverType'](_0x46ff5e){const _0x300bc0=_0x1ff3c3;switch(_0x46ff5e){case ce[_0x300bc0(0x376)]:return ss;case ce[_0x300bc0(0x3d2)]:return is;default:throw new Error(_0x300bc0(0x34e)+_0x46ff5e);}}};it=bo([Lt(0x0,_0x4ca429(_0x1678ba)),Lt(0x1,_0x4ca429(Ae)),Lt(0x2,_0x527b53)],it);const Gs=['purple300',_0x1ff3c3(0x312),_0x1ff3c3(0x3ff),'red300','blue400',_0x1ff3c3(0x4e6)];class bs extends _0x1b10eb{constructor(){const _0x472fdb=_0x1ff3c3;super(...arguments),g(this,_0x472fdb(0x556),new Map()),g(this,_0x472fdb(0x4a7),0x0);}[_0x1ff3c3(0x361)](_0x1325e0){const _0x44d905=_0x1ff3c3;if(this[_0x44d905(0x556)]['has'](_0x1325e0))return this[_0x44d905(0x556)][_0x44d905(0x27e)](_0x1325e0);const _0xcc9ceb=Gs[this[_0x44d905(0x4a7)]];return this[_0x44d905(0x4a7)]=(this[_0x44d905(0x4a7)]+0x1)%Gs[_0x44d905(0x231)],this['_assignedColors'][_0x44d905(0x403)](_0x1325e0,_0xcc9ceb),_0xcc9ceb;}}var To=Object[_0x1ff3c3(0x39f)],Ro=Object[_0x1ff3c3(0x3b5)],yo=(_0x5617ed,_0x4d9d07,_0x1fa44c,_0x303576)=>{const _0x2eff9d=_0x1ff3c3;for(var _0x1311e5=_0x303576>0x1?void 0x0:_0x303576?Ro(_0x4d9d07,_0x1fa44c):_0x4d9d07,_0x3d3c15=_0x5617ed[_0x2eff9d(0x231)]-0x1,_0x450225;_0x3d3c15>=0x0;_0x3d3c15--)(_0x450225=_0x5617ed[_0x3d3c15])&&(_0x1311e5=(_0x303576?_0x450225(_0x4d9d07,_0x1fa44c,_0x1311e5):_0x450225(_0x1311e5))||_0x1311e5);return _0x303576&&_0x1311e5&&To(_0x4d9d07,_0x1fa44c,_0x1311e5),_0x1311e5;},Oe=(_0x5adff6,_0x5153ad)=>(_0x20affa,_0x52c912)=>_0x5153ad(_0x20affa,_0x52c912,_0x5adff6);const Oo=0x12c,wo=0x64;let ns=class extends _0x58a0f6{constructor(_0x3ecba5,_0x2113bb,_0x2d3445,_0x43efe1,_0x45d357,_0x382dc0,_0x19b432,_0x1573c9,_0x2436c4){const _0x1420a6=_0x1ff3c3;super(),g(this,_0x1420a6(0x289),!0x1),g(this,_0x1420a6(0x55d),!0x1),g(this,_0x1420a6(0x44a),new _0x4ef6f6(new Map())),g(this,_0x1420a6(0x3b9),this[_0x1420a6(0x44a)][_0x1420a6(0x343)]()),g(this,_0x1420a6(0x1f3),new _0x4ef6f6([])),g(this,_0x1420a6(0x3e4),this[_0x1420a6(0x1f3)][_0x1420a6(0x393)](_0xaae4e(Oo))),g(this,'_updateLocalCursor',_0x4bea96(_0x5b0dae=>{const _0x3408ce=_0x1420a6,_0x4dc390={'eventID':_0x41425a[_0x3408ce(0x54c)],'data':{'unitID':this[_0x3408ce(0x537)],'memberID':this['_session'][_0x3408ce(0x2be)](),'selection':Pi(_0x5b0dae)}};this[_0x3408ce(0x4f7)][_0x3408ce(0x433)](_0x4dc390,this[_0x3408ce(0x537)]);},wo)),(this[_0x1420a6(0x537)]=_0x3ecba5,this[_0x1420a6(0x4f7)]=_0x2113bb,this[_0x1420a6(0x4ea)]=_0x2d3445,this['_colorAssignService']=_0x43efe1,this['_memberService']=_0x45d357,this['_syncEditingCollabCursorService']=_0x382dc0,this[_0x1420a6(0x5aa)]=_0x19b432,this[_0x1420a6(0x4d6)]=_0x1573c9,this[_0x1420a6(0x2b4)]=_0x2436c4);}get[_0x1ff3c3(0x53c)](){return this['_cursorInfo$']['getValue']();}get[_0x1ff3c3(0x30d)](){const _0x89ca4c=_0x1ff3c3;return this['_roomMembers$'][_0x89ca4c(0x42d)]();}[_0x1ff3c3(0x2e5)](){const _0x3dd10d=_0x1ff3c3;super[_0x3dd10d(0x2e5)](),this[_0x3dd10d(0x44a)][_0x3dd10d(0x453)](new Map()),this['_cursorInfo$'][_0x3dd10d(0x3dc)](),this['_roomMembers$']['next']([]),this[_0x3dd10d(0x1f3)][_0x3dd10d(0x3dc)]();}[_0x1ff3c3(0x40e)](){const _0x450124=_0x1ff3c3;this[_0x450124(0x55d)]||(this[_0x450124(0x55d)]=!0x0,this[_0x450124(0x4f7)]['sessionStatus$']['pipe'](_0x5e202a(this[_0x450124(0x470)]))[_0x450124(0x5b5)](_0x35e816=>{const _0x1630a9=_0x450124;_0x35e816===ve[_0x1630a9(0x4a4)]?this[_0x1630a9(0x413)]():this[_0x1630a9(0x496)]();}),this[_0x450124(0x4f7)]['event$'][_0x450124(0x393)](_0x5e202a(this[_0x450124(0x470)]))[_0x450124(0x5b5)](_0x1ec5ea=>{const _0x3d782b=_0x450124,_0x3e1b52=_0x1ec5ea['eventID'];_0x3e1b52===_0x41425a['UPDATE_CURSOR']&&this[_0x3d782b(0x243)](_0x1ec5ea),_0x3e1b52===_0x41425a[_0x3d782b(0x575)]&&this['_onCursorDelete'](_0x1ec5ea);}),this[_0x450124(0x4bb)](this[_0x450124(0x2b4)][_0x450124(0x3b2)](_0x334363=>{const _0x33d0a3=_0x450124,_0x4031ea=_0x334363['params'];_0x4031ea!=null&&this[_0x33d0a3(0x289)]&&_0x334363['id']===_0xb019d1['id']&&_0x4031ea[_0x33d0a3(0x240)]===this[_0x33d0a3(0x537)]&&_0x4031ea[_0x33d0a3(0x5a1)]===!0x1&&_0x4031ea['ranges'][_0x33d0a3(0x231)]>0x0&&this['_updateLocalCursor'](_0x4031ea[_0x33d0a3(0x43e)]);})),this[_0x450124(0x3a4)][_0x450124(0x53f)][_0x450124(0x393)](_0x5e202a(this[_0x450124(0x470)]))[_0x450124(0x5b5)](_0x591a03=>{const _0x511695=_0x450124;if((_0x591a03==null?void 0x0:_0x591a03[_0x511695(0x537)])!==this[_0x511695(0x537)])return;const _0x51fc57={'eventID':_0x41425a[_0x511695(0x54c)],'data':_0x591a03};this[_0x511695(0x243)](_0x51fc57);}),this['disposeWithMe'](this[_0x450124(0x2b4)][_0x450124(0x3b2)](_0x36f9c9=>{const _0xdd377=_0x450124;if(_0x36f9c9['params']==null)return;const _0x5277c8=_0x36f9c9[_0xdd377(0x5ee)];if(_0x36f9c9['id']!==_0x3e1bd9['id']||_0x5277c8[_0xdd377(0x240)]!==this[_0xdd377(0x537)])return;const _0x501b98={'id':'doc.mutation.rich-text-editing','params':_0x5277c8},_0x16bc6e=this['cursorInfo'];for(const [_0x25f895,_0x298fc5]of _0x16bc6e){const _0x77d7c6={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0xdd377(0x537)],'actions':null,'textRanges':_0x298fc5['ranges']}},_0x531d3a=this[_0xdd377(0x5aa)][_0xdd377(0x380)](_0x501b98,_0x77d7c6,!0x1);if(_0x5c67ed(_0x531d3a))throw _0x531d3a['error'];_0x16bc6e[_0xdd377(0x403)](_0x25f895,{..._0x298fc5,'ranges':_0x531d3a[_0xdd377(0x3fa)]['params'][_0xdd377(0x422)]});}queueMicrotask(()=>{const _0x4c7fce=_0xdd377;this['_cursorInfo$'][_0x4c7fce(0x453)](_0x16bc6e);});})));}[_0x1ff3c3(0x243)](_0x1c6247){const _0x25c5d8=_0x1ff3c3;var _0x20c3f2,_0x2e2e48;const {memberID:_0x45bef2,selection:_0x223ea3}=_0x1c6247[_0x25c5d8(0x28e)],_0x53eaf6=ho(_0x223ea3),_0x78eb49=(_0x2e2e48=(_0x20c3f2=this[_0x25c5d8(0x578)]['getMember'](this[_0x25c5d8(0x537)],_0x45bef2))==null?void 0x0:_0x20c3f2['name'])!=null?_0x2e2e48:_0x25c5d8(0x42c),_0x5691e7={'color':this[_0x25c5d8(0x4ca)][_0x25c5d8(0x361)](_0x45bef2),'name':_0x78eb49,'ranges':_0x53eaf6},_0x654851=this[_0x25c5d8(0x53c)];_0x654851['set'](_0x45bef2,_0x5691e7),this[_0x25c5d8(0x44a)][_0x25c5d8(0x453)](_0x654851);}[_0x1ff3c3(0x45c)](_0x21ccba){const _0x52c90f=_0x1ff3c3,{memberID:_0x4017b2}=_0x21ccba[_0x52c90f(0x28e)],_0x50c996=this[_0x52c90f(0x53c)];_0x50c996['delete'](_0x4017b2),this['_cursorInfo$']['next'](_0x50c996);}[_0x1ff3c3(0x413)](){const _0x1bd6f9=_0x1ff3c3;var _0x64bb1d;if(this[_0x1bd6f9(0x289)]=!0x0,((_0x64bb1d=this[_0x1bd6f9(0x4d6)]['getFocusedUnit']())==null?void 0x0:_0x64bb1d[_0x1bd6f9(0x41c)]())!==this[_0x1bd6f9(0x537)])return;const _0x102a41=this[_0x1bd6f9(0x4ea)][_0x1bd6f9(0x27e)](_0x30949a)[_0x1bd6f9(0x469)]();Array[_0x1bd6f9(0x44c)](_0x102a41)&&_0x102a41[_0x1bd6f9(0x231)]>0x0&&this[_0x1bd6f9(0x287)](_0x102a41);}[_0x1ff3c3(0x496)](){const _0x494259=_0x1ff3c3;this[_0x494259(0x289)]=!0x1;}};ns=yo([Oe(0x2,_0x4ca429(_0x1678ba)),Oe(0x3,_0x4ca429(bs)),Oe(0x4,_0x4ca429(Ne)),Oe(0x5,_0x4ca429(Cs)),Oe(0x6,_0x359823),Oe(0x7,_0x527b53),Oe(0x8,_0x3e6605)],ns);var Do=Object['defineProperty'],Po=Object[_0x1ff3c3(0x3b5)],Uo=(_0x2557c7,_0x5da46a,_0x569738,_0x485a6c)=>{const _0x295f15=_0x1ff3c3;for(var _0x58dfbc=_0x485a6c>0x1?void 0x0:_0x485a6c?Po(_0x5da46a,_0x569738):_0x5da46a,_0x81082c=_0x2557c7[_0x295f15(0x231)]-0x1,_0x5d69cb;_0x81082c>=0x0;_0x81082c--)(_0x5d69cb=_0x2557c7[_0x81082c])&&(_0x58dfbc=(_0x485a6c?_0x5d69cb(_0x5da46a,_0x569738,_0x58dfbc):_0x5d69cb(_0x58dfbc))||_0x58dfbc);return _0x485a6c&&_0x58dfbc&&Do(_0x5da46a,_0x569738,_0x58dfbc),_0x58dfbc;},Be=(_0x31f72d,_0x406bde)=>(_0x1676ae,_0xb0964)=>_0x406bde(_0x1676ae,_0xb0964,_0x31f72d);const No=0x12c,Ao=0x64,Mo=()=>{let _0x1658b5=[],_0x2524e9=!0x1;return _0x5b8eea=>{_0x1658b5['push'](_0x5b8eea),_0x2524e9||(_0x2524e9=!0x0,setTimeout(()=>{const _0x28e4c9=_0x304f;_0x1658b5[_0x28e4c9(0x2e9)](_0x2c2716=>_0x2c2716()),_0x1658b5=[],_0x2524e9=!0x1;}));};};let rs=class extends _0x58a0f6{constructor(_0x306be7,_0x4ab288,_0x2e4a5c,_0x32b0be,_0x4534cc,_0x3f2d27,_0x16b662,_0x3e773f){const _0xd95f1b=_0x1ff3c3;super(),g(this,'_online',!0x1),g(this,_0xd95f1b(0x55d),!0x1),g(this,_0xd95f1b(0x44a),new _0x4ef6f6(new Map())),g(this,_0xd95f1b(0x3b9),this[_0xd95f1b(0x44a)]['asObservable']()),g(this,_0xd95f1b(0x1f3),new _0x4ef6f6([])),g(this,_0xd95f1b(0x3e4),this[_0xd95f1b(0x1f3)][_0xd95f1b(0x393)](_0xaae4e(No))),g(this,_0xd95f1b(0x287),_0x4bea96((_0x320e5b,_0x17f9ee)=>{const _0x3f6171=_0xd95f1b,_0x1bf214={'eventID':_0x41425a[_0x3f6171(0x54c)],'data':{'unitID':this[_0x3f6171(0x537)],'memberID':this['_session']['getMemberID'](),'selection':_0x1f78a9(_0x320e5b,_0x17f9ee[_0x3f6171(0x258)])}};this[_0x3f6171(0x4f7)][_0x3f6171(0x433)](_0x1bf214,this['unitID']);},Ao)),(this[_0xd95f1b(0x537)]=_0x306be7,this[_0xd95f1b(0x4f7)]=_0x4ab288,this[_0xd95f1b(0x4ea)]=_0x2e4a5c,this[_0xd95f1b(0x4ca)]=_0x32b0be,this[_0xd95f1b(0x578)]=_0x4534cc,this[_0xd95f1b(0x4d6)]=_0x3f2d27,this[_0xd95f1b(0x2b4)]=_0x16b662,this['_refRangeService']=_0x3e773f);}get[_0x1ff3c3(0x53c)](){const _0x198459=_0x1ff3c3;return this['_cursorInfo$'][_0x198459(0x42d)]();}get[_0x1ff3c3(0x30d)](){const _0x1e3ff5=_0x1ff3c3;return this[_0x1e3ff5(0x1f3)]['getValue']();}[_0x1ff3c3(0x2e5)](){const _0x42182a=_0x1ff3c3;super[_0x42182a(0x2e5)](),this[_0x42182a(0x44a)][_0x42182a(0x453)](new Map()),this[_0x42182a(0x44a)][_0x42182a(0x3dc)](),this[_0x42182a(0x1f3)][_0x42182a(0x453)]([]),this['_roomMembers$'][_0x42182a(0x3dc)]();}[_0x1ff3c3(0x40e)](){const _0x153498=_0x1ff3c3;this[_0x153498(0x55d)]||(this[_0x153498(0x55d)]=!0x0,this[_0x153498(0x4f7)][_0x153498(0x4eb)][_0x153498(0x393)](_0x5e202a(this['dispose$']))[_0x153498(0x5b5)](_0x3e1e48=>{const _0x31f4b0=_0x153498;_0x3e1e48===ve['ONLINE']?this[_0x31f4b0(0x413)]():this['_toggleOffline']();}),this[_0x153498(0x4f7)][_0x153498(0x558)][_0x153498(0x393)](_0x5e202a(this['dispose$']))[_0x153498(0x5b5)](_0x369dbb=>{const _0x3c852a=_0x153498,_0x264e7a=_0x369dbb['eventID'];_0x264e7a===_0x41425a[_0x3c852a(0x54c)]&&this['_onCursorUpdate'](_0x369dbb),_0x264e7a===_0x41425a[_0x3c852a(0x575)]&&this[_0x3c852a(0x45c)](_0x369dbb);}),this[_0x153498(0x3c5)](),this[_0x153498(0x4bb)](this['_commandService'][_0x153498(0x3b2)](_0x186e87=>{const _0x3362da=_0x153498;if(this[_0x3362da(0x289)]&&_0x186e87['id']===_0x2b8a1e['id']&&_0x186e87['params'][_0x3362da(0x240)]===this[_0x3362da(0x537)]){const _0x3c7c67=_0x186e87[_0x3362da(0x5ee)];this['_updateLocalCursor'](_0x3c7c67[_0x3362da(0x451)],_0x3c7c67[_0x3362da(0x38e)][0x0]);}})));}[_0x1ff3c3(0x243)](_0xce9ce5){const _0x4fc839=_0x1ff3c3;var _0x202f2c,_0x7145c3;const {memberID:_0x45ca99,selection:_0x596329}=_0xce9ce5[_0x4fc839(0x28e)],{sheetName:_0x14ae97,range:_0x132cf8}=_0x244398(_0x596329),_0x5e777f={'name':(_0x7145c3=(_0x202f2c=this[_0x4fc839(0x578)][_0x4fc839(0x546)](this[_0x4fc839(0x537)],_0x45ca99))==null?void 0x0:_0x202f2c[_0x4fc839(0x24e)])!=null?_0x7145c3:_0x4fc839(0x42c),'range':this[_0x4fc839(0x20c)](_0x14ae97,_0x132cf8),'sheetID':_0x14ae97,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x45ca99),'selection':_0x596329},_0x259c71=this[_0x4fc839(0x53c)];_0x259c71['set'](_0x45ca99,_0x5e777f),this[_0x4fc839(0x44a)][_0x4fc839(0x453)](_0x259c71);}['_onCursorDelete'](_0x5dc843){const _0x2a17e6=_0x1ff3c3,{memberID:_0x50f1ad}=_0x5dc843['data'],_0x112f83=this[_0x2a17e6(0x53c)];_0x112f83[_0x2a17e6(0x4dc)](_0x50f1ad),this[_0x2a17e6(0x44a)][_0x2a17e6(0x453)](_0x112f83);}[_0x1ff3c3(0x20c)](_0x4e7a66,_0x17457c){const _0x1aeb15=_0x1ff3c3;var _0x16cc64,_0x41b252;const _0x112a4d=(_0x41b252=(_0x16cc64=this[_0x1aeb15(0x4d6)][_0x1aeb15(0x51a)](this[_0x1aeb15(0x537)]))==null?void 0x0:_0x16cc64[_0x1aeb15(0x24d)](_0x4e7a66))==null?void 0x0:_0x41b252[_0x1aeb15(0x464)]();return(_0x112a4d==null?void 0x0:_0x112a4d[_0x1aeb15(0x36e)](_0x3eaa03=>_0x4a5a3f[_0x1aeb15(0x2c0)](_0x3eaa03,_0x17457c)))||_0x17457c;}[_0x1ff3c3(0x3c5)](){const _0x45d59a=_0x1ff3c3,_0x4e1fca=new _0x274d79(),_0x18956b=Mo(),_0x53aebf=()=>{const _0x2f704c=_0x304f;_0x4e1fca['dispose']();const _0x2ab337=(_0x3bd829,_0x4a9f6e,_0x3d4ea6,_0x5e811d)=>{const _0x3afc6c=_0x304f;let _0x30a9f2=[];switch(_0x3bd829['id']){case _0x593590[_0x3afc6c(0x250)]:{_0x30a9f2=_0x423f1e(_0x3bd829,_0x5e811d);break;}case _0x593590[_0x3afc6c(0x572)]:{_0x30a9f2=_0x126c61(_0x3bd829,_0x5e811d);break;}case _0x593590[_0x3afc6c(0x55f)]:{_0x30a9f2=_0x37c8e4(_0x3bd829,_0x5e811d);break;}case _0x593590[_0x3afc6c(0x26f)]:{_0x30a9f2=_0x51c840(_0x3bd829,_0x5e811d);break;}case _0x593590[_0x3afc6c(0x268)]:{_0x30a9f2=_0x8338e4(_0x3bd829,_0x5e811d);break;}case _0x593590[_0x3afc6c(0x50c)]:{_0x30a9f2=_0x12c6fc(_0x3bd829,_0x5e811d);break;}case _0x593590['MoveRangeCommandId']:{_0x30a9f2=_0x539406(_0x3bd829,_0x5e811d);break;}case _0x593590[_0x3afc6c(0x576)]:{_0x30a9f2=_0x13a582(_0x3bd829,_0x5e811d);break;}case _0x593590[_0x3afc6c(0x54f)]:{_0x30a9f2=_0x1351c9(_0x3bd829,_0x5e811d);break;}}const _0x18b9c2=_0x1417e4(_0x30a9f2,_0x5e811d),_0x2f54ed=this[_0x3afc6c(0x53c)]['get'](_0x4a9f6e);if(_0x2f54ed&&_0x18b9c2){const _0x1d845d={..._0x2f54ed,'range':_0x18b9c2};this[_0x3afc6c(0x53c)][_0x3afc6c(0x403)](_0x4a9f6e,_0x1d845d),_0x18956b(()=>{const _0x38fe8c=_0x3afc6c,_0x284d25=this[_0x38fe8c(0x5ba)][_0x38fe8c(0x593)](_0x18b9c2,_0x102e4b=>(_0x284d25['dispose'](),_0x2ab337(_0x102e4b,_0x4a9f6e,_0x3d4ea6,_0x18b9c2)));_0x4e1fca[_0x38fe8c(0x1e4)](_0x284d25);});}return{'redos':[],'undos':[]};};this[_0x2f704c(0x53c)][_0x2f704c(0x2e9)]((_0x55a263,_0x467a3b)=>{const _0x143424=_0x2f704c,{range:_0x5de06f,sheetID:_0x4fb59c}=_0x55a263,_0x223ac9=this[_0x143424(0x5ba)][_0x143424(0x593)](_0x5de06f,_0x9c5ce2=>(_0x223ac9[_0x143424(0x2e5)](),_0x2ab337(_0x9c5ce2,_0x467a3b,_0x4fb59c,_0x5de06f)));_0x4e1fca[_0x143424(0x1e4)](_0x223ac9);});};this[_0x45d59a(0x4bb)](_0x5917cc(this[_0x45d59a(0x44a)][_0x45d59a(0x5b5)](()=>{_0x53aebf();})));}[_0x1ff3c3(0x413)](){const _0x562dea=_0x1ff3c3;var _0x21d6cd,_0x296e14;if(this['_online']=!0x0,((_0x21d6cd=this[_0x562dea(0x4d6)][_0x562dea(0x1f9)]())==null?void 0x0:_0x21d6cd['getUnitId']())!==this['unitID'])return;const _0x234045=(_0x296e14=this[_0x562dea(0x4ea)]['get'](_0x3db36c)['getCurrentSelections']())==null?void 0x0:_0x296e14[0x0],_0x2f49d0=this[_0x562dea(0x4d6)]['getCurrentUnitForType'](_0x4f25e7[_0x562dea(0x3d2)])[_0x562dea(0x50b)]();_0x234045&&_0x2f49d0&&this[_0x562dea(0x287)](_0x2f49d0[_0x562dea(0x3eb)](),_0x234045);}['_toggleOffline'](){const _0x5cdb79=_0x1ff3c3;this[_0x5cdb79(0x289)]=!0x1;}};rs=Uo([Be(0x2,_0x4ca429(_0x1678ba)),Be(0x3,_0x4ca429(bs)),Be(0x4,_0x4ca429(Ne)),Be(0x5,_0x527b53),Be(0x6,_0x3e6605),Be(0x7,_0x4ca429(_0x4a2d1a))],rs);var xo=Object[_0x1ff3c3(0x39f)],Lo=Object[_0x1ff3c3(0x3b5)],$o=(_0x712df7,_0x49bfd3,_0x1da36a,_0x534f82)=>{const _0xe34234=_0x1ff3c3;for(var _0x1cacf7=_0x534f82>0x1?void 0x0:_0x534f82?Lo(_0x49bfd3,_0x1da36a):_0x49bfd3,_0x2fd51b=_0x712df7[_0xe34234(0x231)]-0x1,_0x1a7d23;_0x2fd51b>=0x0;_0x2fd51b--)(_0x1a7d23=_0x712df7[_0x2fd51b])&&(_0x1cacf7=(_0x534f82?_0x1a7d23(_0x49bfd3,_0x1da36a,_0x1cacf7):_0x1a7d23(_0x1cacf7))||_0x1cacf7);return _0x534f82&&_0x1cacf7&&xo(_0x49bfd3,_0x1da36a,_0x1cacf7),_0x1cacf7;},$t=(_0xfafe80,_0x43f4a3)=>(_0x4a7850,_0x42a14c)=>_0x43f4a3(_0x4a7850,_0x42a14c,_0xfafe80);let Ve=class extends _0x58a0f6{constructor(_0x7cccd7,_0x332cea,_0x3d5b14){const _0x53a00d=_0x1ff3c3;super(),g(this,'_entities',new Map()),g(this,'_entityInit$',new _0x50f7a0()),(this['_univerInstanceService']=_0x7cccd7,this[_0x53a00d(0x4ea)]=_0x332cea,this[_0x53a00d(0x398)]=_0x3d5b14,this[_0x53a00d(0x55d)]());}[_0x1ff3c3(0x2e5)](){const _0xf81d2e=_0x1ff3c3;super[_0xf81d2e(0x2e5)](),this['_entityInit$'][_0xf81d2e(0x3dc)](),this[_0xf81d2e(0x31f)][_0xf81d2e(0x2e9)](_0x514555=>_0x514555['dispose']());}[_0x1ff3c3(0x341)](_0x4612e0){const _0x5b0b5d=_0x1ff3c3;return this['_entities'][_0x5b0b5d(0x584)](_0x4612e0)?this[_0x5b0b5d(0x31f)][_0x5b0b5d(0x27e)](_0x4612e0)[_0x5b0b5d(0x3b9)]:this[_0x5b0b5d(0x552)][_0x5b0b5d(0x393)](_0x27b1d1(_0x43b5cd=>_0x43b5cd[_0x5b0b5d(0x537)]===_0x4612e0),_0x2f1dad(_0x3c8f26=>_0x3c8f26['cursorInfo$']));}[_0x1ff3c3(0x55d)](){const _0x181d1d=_0x1ff3c3;this[_0x181d1d(0x4d6)][_0x181d1d(0x5bb)](_0x4f25e7[_0x181d1d(0x3d2)])[_0x181d1d(0x393)](_0x5e202a(this[_0x181d1d(0x470)]))[_0x181d1d(0x5b5)](async _0x14b639=>{const _0x2d05b6=_0x181d1d,_0x29ff5c=_0x14b639['getUnitId'](),_0x4dd668=await this[_0x2d05b6(0x3c9)](_0x29ff5c);this[_0x2d05b6(0x552)][_0x2d05b6(0x453)](_0x4dd668),this[_0x2d05b6(0x31f)][_0x2d05b6(0x403)](_0x29ff5c,_0x4dd668);}),this[_0x181d1d(0x4d6)][_0x181d1d(0x5bb)](_0x4f25e7[_0x181d1d(0x376)])['pipe'](_0x5e202a(this[_0x181d1d(0x470)]))[_0x181d1d(0x393)](_0x27b1d1(_0x589a37=>!_0x589a37[_0x181d1d(0x41c)]()[_0x181d1d(0x224)]('__')))['subscribe'](async _0xd58438=>{const _0x538e6b=_0x181d1d,_0x496813=_0xd58438['getUnitId'](),_0x2558e4=await this[_0x538e6b(0x3ae)](_0x496813);this[_0x538e6b(0x552)][_0x538e6b(0x453)](_0x2558e4),this[_0x538e6b(0x31f)][_0x538e6b(0x403)](_0x496813,_0x2558e4);}),_0x4fc6a3(this[_0x181d1d(0x4d6)][_0x181d1d(0x434)](_0x4f25e7['UNIVER_DOC']),this[_0x181d1d(0x4d6)][_0x181d1d(0x434)](_0x4f25e7[_0x181d1d(0x3d2)]))[_0x181d1d(0x393)](_0x5e202a(this[_0x181d1d(0x470)]))[_0x181d1d(0x5b5)](_0x350959=>{const _0x1e43af=_0x181d1d,_0x46d604=_0x350959[_0x1e43af(0x41c)](),_0x4d49ff=this[_0x1e43af(0x31f)][_0x1e43af(0x27e)](_0x46d604);_0x4d49ff&&(_0x4d49ff[_0x1e43af(0x2e5)](),this[_0x1e43af(0x31f)]['delete'](_0x46d604));});}async['_startSheetCollabCursor'](_0x275e1e){const _0x286530=_0x1ff3c3,_0x14bb0a=await this[_0x286530(0x398)][_0x286530(0x48b)](_0x275e1e),_0x5db879=this[_0x286530(0x4ea)]['createInstance'](rs,_0x275e1e,_0x14bb0a);return _0x5db879[_0x286530(0x40e)](),_0x5db879;}async[_0x1ff3c3(0x3ae)](_0x314685){const _0x400c8f=_0x1ff3c3,_0x51e302=await this[_0x400c8f(0x398)][_0x400c8f(0x48b)](_0x314685),_0x2ac512=this[_0x400c8f(0x4ea)][_0x400c8f(0x5d4)](ns,_0x314685,_0x51e302);return _0x2ac512[_0x400c8f(0x40e)](),_0x2ac512;}};Ve=$o([$t(0x0,_0x527b53),$t(0x1,_0x4ca429(_0x1678ba)),$t(0x2,_0x4ca429(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,Ho=0x5;function jo(_0x15c239,_0x4fd94d){const _0x458abd=_0x1ff3c3;let {radius:_0x35b422,width:_0x1d8b27,height:_0x1f072b}=_0x4fd94d;_0x35b422=_0x35b422!=null?_0x35b422:0x0,_0x1d8b27=_0x1d8b27!=null?_0x1d8b27:0x1e,_0x1f072b=_0x1f072b!=null?_0x1f072b:0x1e;let _0x581b79=0x0,_0xc3e405=0x0,_0x579664=0x0;_0x581b79=_0xc3e405=_0x579664=Math[_0x458abd(0x1f6)](_0x35b422,_0x1d8b27/0x2,_0x1f072b/0x2),_0x15c239[_0x458abd(0x3c7)](),_0x15c239[_0x458abd(0x5cf)](_0x581b79,0x0),_0x15c239[_0x458abd(0x267)](_0x1d8b27-_0xc3e405,0x0),_0x15c239['arc'](_0x1d8b27-_0xc3e405,_0xc3e405,_0xc3e405,Math['PI']*0x3/0x2,0x0,!0x1),_0x15c239[_0x458abd(0x267)](_0x1d8b27,_0x1f072b-_0x579664),_0x15c239[_0x458abd(0x5d3)](_0x1d8b27-_0x579664,_0x1f072b-_0x579664,_0x579664,0x0,Math['PI']/0x2,!0x1),_0x15c239[_0x458abd(0x267)](0x0,_0x1f072b),_0x15c239['lineTo'](0x0,_0x581b79),_0x15c239[_0x458abd(0x5d3)](_0x581b79,_0x581b79,_0x581b79,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x15c239[_0x458abd(0x320)](),_0x4fd94d[_0x458abd(0x207)]&&(_0x15c239[_0x458abd(0x5c8)](),_0x15c239[_0x458abd(0x300)]=_0x4fd94d['fill'],_0x4fd94d[_0x458abd(0x42e)]===_0x458abd(0x443)?_0x15c239[_0x458abd(0x207)]('evenodd'):_0x15c239[_0x458abd(0x207)](),_0x15c239['restore']());}class yt extends _0x44864b{constructor(_0x155c49,_0x4c8e23){const _0x181c41=_0x1ff3c3;super(_0x155c49,_0x4c8e23),g(this,_0x181c41(0x382)),g(this,_0x181c41(0x57c)),(this['color']=_0x4c8e23==null?void 0x0:_0x4c8e23[_0x181c41(0x382)],this[_0x181c41(0x57c)]=_0x4c8e23==null?void 0x0:_0x4c8e23['text']);}static[_0x1ff3c3(0x5bc)](_0x59f410,_0x157b79){const _0x7cbdd3=_0x1ff3c3,{text:_0x236cdb,color:_0x22383d}=_0x157b79;_0x59f410['save'](),_0x59f410[_0x7cbdd3(0x532)]=_0x7cbdd3(0x31b);const _0x72e141=_0x59f410[_0x7cbdd3(0x4e5)](_0x236cdb)[_0x7cbdd3(0x358)],_0x52d498=Math[_0x7cbdd3(0x1f6)](_0x72e141+0x2*Ht,Ys);jo(_0x59f410,{'height':nt,'radius':0x4,'width':_0x52d498,'fill':_0x22383d,'evented':!0x1}),_0x59f410[_0x7cbdd3(0x300)]=_0x7cbdd3(0x484);const _0x4107aa=Ht,_0x342ad6=nt-Ho,_0x1a0373=Ys-0x2*Ht;if(_0x72e141>_0x1a0373){let _0x13540='',_0x3c517b=0x0;for(const _0xb6dfa1 of _0x236cdb){const _0x5dd79a=_0x59f410[_0x7cbdd3(0x4e5)](_0xb6dfa1)[_0x7cbdd3(0x358)];if(_0x3c517b+_0x5dd79a<=_0x1a0373-_0x59f410[_0x7cbdd3(0x4e5)](_0x7cbdd3(0x203))[_0x7cbdd3(0x358)])_0x13540+=_0xb6dfa1,_0x3c517b+=_0x5dd79a;else{_0x13540+='...';break;}}_0x59f410[_0x7cbdd3(0x338)](_0x13540,_0x4107aa,_0x342ad6);}else _0x59f410[_0x7cbdd3(0x338)](_0x236cdb,_0x4107aa,_0x342ad6);_0x59f410['restore']();}[_0x1ff3c3(0x404)](_0x1d3dd0){const _0x586e39=_0x1ff3c3;yt[_0x586e39(0x5bc)](_0x1d3dd0,this);}}function _0x304f(_0x513527,_0x34b1d9){const _0x31554d=_0x3155();return _0x304f=function(_0x304fb4,_0x3a094e){_0x304fb4=_0x304fb4-0x1e1;let _0x3a74d2=_0x31554d[_0x304fb4];return _0x3a74d2;},_0x304f(_0x513527,_0x34b1d9);}const jt=_0x1ff3c3(0x2d2),Bo=_0x1ff3c3(0x344),ko=_0x1ff3c3(0x3df),Je=0x6,Wo=1.5,Bt=0x4,Fo=1.5,Vo=_0x1ff3c3(0x3f1);class Ks{constructor(_0x23729a,_0x1344ab,_0x421b44,_0x192757){const _0x43d957=_0x1ff3c3;g(this,_0x43d957(0x264),[]),g(this,_0x43d957(0x2f5),null),g(this,_0x43d957(0x4ae),null),g(this,_0x43d957(0x21c),null),g(this,_0x43d957(0x4a1),null),g(this,_0x43d957(0x458),null),(this[_0x43d957(0x389)]=_0x23729a,this['_scene']=_0x1344ab,this[_0x43d957(0x58c)]=_0x421b44,this[_0x43d957(0x497)]=_0x192757,this[_0x43d957(0x1ed)]());}set[_0x1ff3c3(0x4d7)](_0x17c1f1){const _0x31dbc0=_0x1ff3c3;_0x17c1f1?(this['_anchorDot']&&this['_anchorDot'][_0x31dbc0(0x28c)](),this[_0x31dbc0(0x4ae)]&&this['_textBubble'][_0x31dbc0(0x257)]()):(this[_0x31dbc0(0x21c)]&&this[_0x31dbc0(0x21c)][_0x31dbc0(0x257)](),this[_0x31dbc0(0x4ae)]&&this['_textBubble'][_0x31dbc0(0x28c)]());}[_0x1ff3c3(0x2e5)](){const _0x3cb10f=_0x1ff3c3;for(const _0x349507 of this[_0x3cb10f(0x264)])_0x349507[_0x3cb10f(0x2e5)]();this[_0x3cb10f(0x4ae)]&&this['_textBubble'][_0x3cb10f(0x2e5)](),this[_0x3cb10f(0x21c)]&&this[_0x3cb10f(0x21c)]['dispose'](),this[_0x3cb10f(0x2f5)]&&this['_anchor'][_0x3cb10f(0x2e5)](),this[_0x3cb10f(0x458)]&&this[_0x3cb10f(0x458)]();}[_0x1ff3c3(0x1ed)](){const _0x4d6347=_0x1ff3c3;var _0x45e458;const {_docSkeleton:_0x2bb2a2,_document:_0x1f7ac6}=this,{color:_0x26acaf,name:_0x5b3f4e,ranges:_0x14f098}=this[_0x4d6347(0x389)],_0x334944=_0x1f7ac6[_0x4d6347(0x53b)](),{docsLeft:_0x1c69db,docsTop:_0x4a81e7}=_0x334944,_0xef2fd5=new _0x2376de(_0x334944,_0x2bb2a2);for(const {startOffset:_0x10a309,endOffset:_0x28efa5,rangeType:_0x4a0765,segmentId:_0x3b05ac,segmentPage:_0x5cbd2a,collapsed:_0x224e58,isActive:_0x312253}of _0x14f098){const _0x3ae13d=_0x2bb2a2['findNodePositionByCharIndex'](_0x10a309,!0x0,_0x3b05ac,_0x5cbd2a);let _0x41f878=_0x2bb2a2[_0x4d6347(0x397)](_0x28efa5,!0x0,_0x3b05ac,_0x5cbd2a);if(_0x41f878==null&&(_0x41f878=_0x2bb2a2['findNodePositionByCharIndex'](_0x28efa5-0x1,!0x1,_0x3b05ac,_0x5cbd2a)),_0x312253){const {contentBoxPointGroup:_0x308464}=_0xef2fd5[_0x4d6347(0x2bb)](_0x41f878,_0x41f878);if(_0x308464['length']===0x0)continue;this['_drawAnchor'](_0x26acaf,_0x308464,_0x1c69db,_0x4a81e7,_0x5b3f4e),this[_0x4d6347(0x458)]=this[_0x4d6347(0x378)]();}if(_0x3ae13d&&_0x41f878){if(_0x4a0765===_0x2fb410['RECT']){const _0x531af0=new _0x18b518(_0x334944,_0x2bb2a2),{pointGroup:_0x4a6c29}=(_0x45e458=_0x531af0['getRangePointData'](_0x3ae13d,_0x41f878))!=null?_0x45e458:{};if(_0x4a6c29==null||_0x4a6c29['length']===0x0)continue;this[_0x4d6347(0x371)](_0x26acaf,_0x4a6c29,_0x1c69db,_0x4a81e7);}else{if(!_0x224e58){const {borderBoxPointGroup:_0x2d7178}=_0xef2fd5[_0x4d6347(0x2bb)](_0x3ae13d,_0x41f878);if(_0x2d7178[_0x4d6347(0x231)]===0x0)continue;this['_drawTextRange'](_0x26acaf,_0x2d7178,_0x1c69db,_0x4a81e7);}}}}}['_drawAnchor'](_0x13b367,_0x4d6c0e,_0x8cbc40,_0x419675,_0x34d5a4){const _0x25b13a=_0x1ff3c3,_0x18b9ba=this[_0x25b13a(0x332)](_0x4d6c0e),{left:_0xfa8a34,top:_0xcbaee,height:_0x2d19d0}=_0x18b9ba,_0x4f56fa=this[_0x25b13a(0x322)](),_0x129f75=Fo/_0x4f56fa,_0x55c5b9=new _0x3a5760(jt+_0x4dc572[_0x25b13a(0x523)](Je),{'left':_0xfa8a34+_0x8cbc40-_0x129f75,'top':_0xcbaee+_0x419675,'height':_0x2d19d0,'width':Wo,'fill':_0x13b367||_0x276e97(_0x23a0ee[_0x25b13a(0x1eb)],0x0),'strokeWidth':_0x129f75,'stroke':Vo,'evented':!0x0});this[_0x25b13a(0x2f5)]=_0x55c5b9,this[_0x25b13a(0x4c1)][_0x25b13a(0x2ae)](_0x55c5b9,_0x5e24be);const _0x2e3e2b=new _0x3a5760(jt+_0x4dc572[_0x25b13a(0x523)](Je),{'left':_0xfa8a34+_0x8cbc40-_0x129f75,'top':_0xcbaee+_0x419675-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x13b367||_0x276e97(_0x23a0ee[_0x25b13a(0x1eb)],0x0),'strokeWidth':0x0,'stroke':_0x13b367||_0x276e97(_0x23a0ee['black'],0x0),'evented':!0x1});this[_0x25b13a(0x21c)]=_0x2e3e2b,this[_0x25b13a(0x4c1)][_0x25b13a(0x2ae)](_0x2e3e2b,_0x5e24be);const _0x1054f2=new yt(jt+_0x4dc572[_0x25b13a(0x523)](Je),{'left':_0xfa8a34+_0x8cbc40-_0x129f75,'top':_0xcbaee+_0x419675-nt,'text':_0x34d5a4,'color':_0x13b367});this['_textBubble']=_0x1054f2,this[_0x25b13a(0x4c1)][_0x25b13a(0x2ae)](_0x1054f2,_0x5e24be),this[_0x25b13a(0x4d7)]=!0x1;}[_0x1ff3c3(0x378)](){const _0x1694d9=_0x1ff3c3,_0x25b258=this['_anchor'][_0x1694d9(0x219)][_0x1694d9(0x3bc)](()=>{const _0x1b60b1=_0x1694d9;this[_0x1b60b1(0x4d7)]=!0x0;}),_0xe1a36=this[_0x1694d9(0x2f5)][_0x1694d9(0x3a0)]['subscribeEvent'](()=>{const _0x328ea7=_0x1694d9;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x328ea7(0x4a1)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2ca86d=_0x1694d9;_0x25b258[_0x2ca86d(0x1fe)](),_0xe1a36[_0x2ca86d(0x1fe)]();};}[_0x1ff3c3(0x294)](_0x4ae758,_0x4d2e98,_0x4bcbb0,_0x2edee4){const _0x48dda9=_0x1ff3c3,_0x254841=new _0x195efd(_0x4ae758)[_0x48dda9(0x5c4)](0.2)[_0x48dda9(0x5a2)](),_0x5b0d59=new _0x1d87a8(Bo+_0x4dc572[_0x48dda9(0x523)](Je),{'pointsGroup':_0x4d2e98,'fill':_0x254841||_0x276e97(_0x23a0ee[_0x48dda9(0x1eb)],0.2),'left':_0x4bcbb0,'top':_0x2edee4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x48dda9(0x264)]['push'](_0x5b0d59),this[_0x48dda9(0x4c1)][_0x48dda9(0x2ae)](_0x5b0d59,_0x5e24be);}[_0x1ff3c3(0x371)](_0x37dd78,_0x196b9e,_0x1e2227,_0x1cb44f){const _0x56b33a=_0x1ff3c3,_0xa44247=new _0x195efd(_0x37dd78)['setAlpha'](0.2)[_0x56b33a(0x5a2)](),_0x21f5d0=new _0x1d87a8(ko+_0x4dc572[_0x56b33a(0x523)](Je),{'pointsGroup':_0x196b9e,'fill':_0xa44247||_0x276e97(_0x23a0ee['black'],0.2),'left':_0x1e2227,'top':_0x1cb44f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x56b33a(0x264)][_0x56b33a(0x2cc)](_0x21f5d0),this[_0x56b33a(0x4c1)][_0x56b33a(0x2ae)](_0x21f5d0,_0x5e24be);}[_0x1ff3c3(0x332)](_0x3aa772){const _0x44c9fe=_0x3aa772[0x0],_0x35dfdf=_0x44c9fe[0x0],_0x34d0e1=_0x44c9fe[0x2],{x:_0x16b84c,y:_0x578205}=_0x35dfdf,{x:_0x3cbef9,y:_0xf2f850}=_0x34d0e1;return{'left':_0x16b84c,'top':_0x578205,'width':_0x3cbef9-_0x16b84c,'height':_0xf2f850-_0x578205};}['_getScale'](){const _0x212af7=_0x1ff3c3,{scaleX:_0x5d8f49,scaleY:_0xd302a4}=this[_0x212af7(0x4c1)][_0x212af7(0x299)]();return Math[_0x212af7(0x449)](_0x5d8f49,_0xd302a4);}}var Go=Object[_0x1ff3c3(0x39f)],Yo=Object[_0x1ff3c3(0x3b5)],Ko=(_0x3e7e10,_0x52198e,_0x101150,_0x1d268a)=>{const _0x13f667=_0x1ff3c3;for(var _0x2b1af4=_0x1d268a>0x1?void 0x0:_0x1d268a?Yo(_0x52198e,_0x101150):_0x52198e,_0x1f625f=_0x3e7e10[_0x13f667(0x231)]-0x1,_0x313c79;_0x1f625f>=0x0;_0x1f625f--)(_0x313c79=_0x3e7e10[_0x1f625f])&&(_0x2b1af4=(_0x1d268a?_0x313c79(_0x52198e,_0x101150,_0x2b1af4):_0x313c79(_0x2b1af4))||_0x2b1af4);return _0x1d268a&&_0x2b1af4&&Go(_0x52198e,_0x101150,_0x2b1af4),_0x2b1af4;},ct=(_0x1b9200,_0x58bc4c)=>(_0x4a8d70,_0x5befde)=>_0x58bc4c(_0x4a8d70,_0x5befde,_0x1b9200);let os=class extends _0x58a0f6{constructor(_0x514263,_0x1b9312,_0x373716,_0x341869,_0x4b5469){const _0x116fae=_0x1ff3c3;super(),g(this,_0x116fae(0x3dd),[]),g(this,_0x116fae(0x5dc),[]),(this[_0x116fae(0x4db)]=_0x514263,this[_0x116fae(0x51d)]=_0x1b9312,this['_collabCursorController']=_0x373716,this[_0x116fae(0x2b4)]=_0x341869,this[_0x116fae(0x52c)]=_0x4b5469,this[_0x116fae(0x55d)]());}['_init'](){const _0x2ce164=_0x1ff3c3,_0x3c49a8=this[_0x2ce164(0x4db)][_0x2ce164(0x240)],_0x28a021=this['_docSkeletonManagerService'];this[_0x2ce164(0x4bb)](_0x95d40([this[_0x2ce164(0x4be)]['getCollabCursors$'](_0x3c49a8),this[_0x2ce164(0x52c)][_0x2ce164(0x36d)]])['pipe'](_0x4d2ab2(([_0x3582e0,_0x301aaa])=>({'skeleton':_0x28a021['getSkeleton'](),'cursors':[..._0x3582e0[_0x2ce164(0x3ee)]()][_0x2ce164(0x3a9)](_0x51cd80=>({..._0x51cd80,'color':_0x301aaa[_0x51cd80[_0x2ce164(0x382)]]}))})))[_0x2ce164(0x5b5)](_0x189c47=>{const _0x398fdb=_0x2ce164;if(this[_0x398fdb(0x2c1)](),_0x189c47){const {skeleton:_0x53f2a4,cursors:_0xad1e3b}=_0x189c47;this[_0x398fdb(0x228)](_0x53f2a4,_0xad1e3b);}})),this[_0x2ce164(0x4c3)](),this[_0x2ce164(0x2b3)]();}['_updateCollabCursors'](_0x4b4409,_0x22d29d){const _0x1002a0=_0x1ff3c3,{scene:_0x2e6758,mainComponent:_0x38561b}=this[_0x1002a0(0x4db)],_0x305f6e=_0x22d29d[_0x1002a0(0x291)](_0x4de7c7=>new Ks(_0x4de7c7,_0x2e6758,_0x4b4409,_0x38561b));this[_0x1002a0(0x3dd)]=_0x305f6e,this['_cursors']=_0x22d29d;}[_0x1ff3c3(0x290)](){const _0x5586ea=_0x1ff3c3;this[_0x5586ea(0x2c1)]();const {scene:_0x2a22c5,mainComponent:_0x2f0cc5}=this[_0x5586ea(0x4db)],_0x31169a=this['_docSkeletonManagerService']['getSkeleton'](),_0x20d452=this[_0x5586ea(0x5dc)]['map'](_0xe77a49=>new Ks(_0xe77a49,_0x2a22c5,_0x31169a,_0x2f0cc5));this['_cursorShapes']=_0x20d452;}['_removeCollabCursors'](){const _0x1cd6cd=_0x1ff3c3;this[_0x1cd6cd(0x3dd)][_0x1cd6cd(0x2e9)](_0x30fab4=>_0x30fab4['dispose']()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x19b935=_0x1ff3c3,_0x279f80=[_0x45e093['id']];this[_0x19b935(0x4bb)](this['_commandService']['onCommandExecuted'](_0x2c86a4=>{const _0x5ba167=_0x19b935;_0x279f80[_0x5ba167(0x5da)](_0x2c86a4['id'])&&_0x2c86a4['params']['unitId']===this['_context'][_0x5ba167(0x240)]&&this[_0x5ba167(0x290)]();}));}[_0x1ff3c3(0x4c3)](){const _0x22fd9f=_0x1ff3c3;this[_0x22fd9f(0x4bb)](_0x1d880c(this[_0x22fd9f(0x4db)]['engine'][_0x22fd9f(0x59c)])[_0x22fd9f(0x393)](_0x36202f(_0xace73f=>_0xace73f[_0x22fd9f(0x5a4)]===_0x3409a0['resize']),_0x1ee576(0x10))[_0x22fd9f(0x5b5)](()=>{this['_refreshCollabCursors']();}));}};os=Ko([ct(0x1,_0x4ca429(_0x4ace78)),ct(0x2,_0x4ca429(Ve)),ct(0x3,_0x3e6605),ct(0x4,_0x4ca429(_0x2cee6c))],os);const zo=0x1,qo=1.5;class Xo extends _0x44864b{constructor(_0x7be481,_0x472501){const _0x1554d6=_0x1ff3c3;super(_0x7be481,_0x472501),g(this,_0x1554d6(0x385)),g(this,_0x1554d6(0x5ae),!0x1),g(this,_0x1554d6(0x515)),g(this,'_name',''),g(this,_0x1554d6(0x4f5),_0x1554d6(0x204)),g(this,'_backgroundColor'),(_0x472501&&this[_0x1554d6(0x3ef)](_0x472501),this[_0x1554d6(0x219)][_0x1554d6(0x3bc)](()=>this[_0x1554d6(0x3ef)]({'hovered':!0x0})),this[_0x1554d6(0x3a0)][_0x1554d6(0x3bc)](()=>this[_0x1554d6(0x3ef)]({'hovered':!0x1})));}[_0x1ff3c3(0x3ef)](_0x9712bf){const _0x5c99d2=_0x1ff3c3;var _0xbabafa,_0x46e172,_0x5b5d2c,_0x559467,_0x43a7b0,_0x5a0e88;this[_0x5c99d2(0x385)]=(_0xbabafa=_0x9712bf[_0x5c99d2(0x382)])!=null?_0xbabafa:this[_0x5c99d2(0x385)],this[_0x5c99d2(0x5ae)]=(_0x46e172=_0x9712bf[_0x5c99d2(0x20d)])!=null?_0x46e172:this[_0x5c99d2(0x5ae)],this['_range']=(_0x5b5d2c=_0x9712bf[_0x5c99d2(0x258)])!=null?_0x5b5d2c:this[_0x5c99d2(0x515)],this['_name']=(_0x559467=_0x9712bf['name'])!=null?_0x559467:this[_0x5c99d2(0x510)],this['_labelPosition']=(_0x43a7b0=_0x9712bf['labelPosition'])!=null?_0x43a7b0:this[_0x5c99d2(0x4f5)],this[_0x5c99d2(0x41d)]=(_0x5a0e88=_0x9712bf[_0x5c99d2(0x54d)])!=null?_0x5a0e88:this['_backgroundColor'],this[_0x5c99d2(0x5a3)]({'width':_0x9712bf['width'],'height':_0x9712bf[_0x5c99d2(0x3c3)]});}[_0x1ff3c3(0x200)](_0x47730f){const _0x374eea=_0x1ff3c3,{row:_0xea7669,column:_0x21b06c}=_0x47730f;if(_0xea7669>=this[_0x374eea(0x515)][_0x374eea(0x2a2)]&&_0xea7669<=this[_0x374eea(0x515)][_0x374eea(0x316)]&&_0x21b06c>=this[_0x374eea(0x515)][_0x374eea(0x486)]&&_0x21b06c<=this[_0x374eea(0x515)]['endColumn']){this[_0x374eea(0x3ef)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1ff3c3(0x49a)](_0x5b27bb){return!0x1;}[_0x1ff3c3(0x404)](_0xd1c47f){const _0x29296d=_0x1ff3c3;_0x3a5760[_0x29296d(0x5bc)](_0xd1c47f,{'width':this[_0x29296d(0x358)],'height':this[_0x29296d(0x3c3)],'strokeWidth':qo,'stroke':this[_0x29296d(0x385)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x29296d(0x5ae)]&&(_0xd1c47f[_0x29296d(0x5c8)](),_0xd1c47f[_0x29296d(0x323)](0x1,0x0,0x0,0x1,this[_0x29296d(0x358)],this[_0x29296d(0x4f5)]===_0x29296d(0x577)?0x0:-nt),yt['drawWith'](_0xd1c47f,{'text':this[_0x29296d(0x510)],'color':this['_color']}),_0xd1c47f[_0x29296d(0x437)]());}}var Jo=Object['defineProperty'],Zo=Object[_0x1ff3c3(0x3b5)],Qo=(_0x338a39,_0x2aa00f,_0x2796ba,_0x51cf59)=>{const _0x4924a5=_0x1ff3c3;for(var _0x5940ca=_0x51cf59>0x1?void 0x0:_0x51cf59?Zo(_0x2aa00f,_0x2796ba):_0x2aa00f,_0xb7bd84=_0x338a39[_0x4924a5(0x231)]-0x1,_0x27d945;_0xb7bd84>=0x0;_0xb7bd84--)(_0x27d945=_0x338a39[_0xb7bd84])&&(_0x5940ca=(_0x51cf59?_0x27d945(_0x2aa00f,_0x2796ba,_0x5940ca):_0x27d945(_0x5940ca))||_0x5940ca);return _0x51cf59&&_0x5940ca&&Jo(_0x2aa00f,_0x2796ba,_0x5940ca),_0x5940ca;},kt=(_0x39ae16,_0x2663f1)=>(_0xeb7df2,_0x3d80a1)=>_0x2663f1(_0xeb7df2,_0x3d80a1,_0x39ae16);const ea=0x1389;let as=class extends _0x58a0f6{constructor(_0x57bc59,_0x3559d3,_0xde8a07,_0x345256){const _0x247707=_0x1ff3c3;super(),g(this,_0x247707(0x5dc),new Set()),g(this,'_lastPointer',null),(this[_0x247707(0x4db)]=_0x57bc59,this[_0x247707(0x27a)]=_0x3559d3,this[_0x247707(0x4be)]=_0xde8a07,this[_0x247707(0x52c)]=_0x345256,this[_0x247707(0x55d)]());}['_init'](){const _0x537a1f=_0x1ff3c3;this[_0x537a1f(0x27a)][_0x537a1f(0x4c6)][_0x537a1f(0x393)](_0xca3a19(this[_0x537a1f(0x470)]),_0x2ad73c(_0x2bdcc0=>{const _0x421b63=_0x537a1f;if(_0x2bdcc0){const _0x5131d5=_0x2bdcc0[_0x421b63(0x35b)];return _0x95d40(this[_0x421b63(0x4be)][_0x421b63(0x341)](this['_context'][_0x421b63(0x240)]),this[_0x421b63(0x52c)][_0x421b63(0x36d)])[_0x421b63(0x393)](_0x4d2ab2(([_0x3c45e5,_0x45024f])=>{const _0x57a497=_0x421b63,_0x428c66=new Map();return _0x3c45e5[_0x57a497(0x2e9)]((_0x401a25,_0x1838e0)=>{const _0x449709=_0x57a497;if(_0x401a25['sheetID']===_0x5131d5){const _0x1da069={..._0x401a25};_0x1da069[_0x449709(0x382)]=_0x45024f[_0x401a25[_0x449709(0x382)]],_0x428c66[_0x449709(0x403)](_0x1838e0,_0x1da069);}}),{'skeleton':_0x2bdcc0,'cursors':_0x428c66};}));}return _0x5be1e3({'skeleton':null,'cursors':new Map()});}))[_0x537a1f(0x5b5)](({skeleton:_0x1eea9a,cursors:_0x4cd9a3})=>{const _0x36ed85=_0x537a1f;this['_removeCollabCursors'](),_0x1eea9a&&this[_0x36ed85(0x228)](_0x1eea9a,_0x4cd9a3);}),this[_0x537a1f(0x27a)][_0x537a1f(0x4c6)][_0x537a1f(0x5b5)](_0x448357=>{const _0x4dace0=_0x537a1f;if(_0x448357==null)return;const {skeleton:_0x302f3e}=_0x448357,{scene:_0x5721dd}=this[_0x4dace0(0x4db)];_0x5721dd[_0x4dace0(0x440)][_0x4dace0(0x3bc)](_0x4bea96(_0x54f3c9=>{const _0x31c47b=_0x4dace0;var _0x541dbe,_0x2dc457;const {offsetX:_0x3aa43c,offsetY:_0x5273ce}=_0x54f3c9,{x:_0xd8a5f0,y:_0x6ac505}=_0x5721dd['getRelativeToViewportCoord'](_0x35ceae[_0x31c47b(0x57a)]([_0x3aa43c,_0x5273ce])),{scaleX:_0x2e9dfa,scaleY:_0x20ceee}=_0x5721dd[_0x31c47b(0x299)](),_0x4a2a29=_0x5721dd['getViewport'](_0x11a9b0[_0x31c47b(0x202)]),_0x3293fc=_0x5721dd['getVpScrollXYInfoByPosToVp'](_0x35ceae['FromArray']([_0xd8a5f0,_0x6ac505]),_0x4a2a29),_0x341bd3=_0x302f3e[_0x31c47b(0x591)](_0x3aa43c,_0x5273ce,_0x2e9dfa,_0x20ceee,_0x3293fc);((_0x541dbe=this[_0x31c47b(0x326)])==null?void 0x0:_0x541dbe[_0x31c47b(0x2bd)])===_0x341bd3['column']&&((_0x2dc457=this['_lastPointer'])==null?void 0x0:_0x2dc457[_0x31c47b(0x5e5)])===_0x341bd3['row']||this[_0x31c47b(0x5dc)][_0x31c47b(0x2e9)](_0x31e895=>{const _0x176202=_0x31c47b;_0x31e895[_0x176202(0x200)](_0x341bd3);});},0x64));});}[_0x1ff3c3(0x228)](_0x1c3626,_0x5ba4e9){const _0x357abc=_0x1ff3c3;var _0x557fdf;const _0x5bf5bd=(_0x557fdf=this[_0x357abc(0x27a)]['getCurrent']())==null?void 0x0:_0x557fdf[_0x357abc(0x50d)];if(!_0x5bf5bd)return;const _0x471263=this[_0x357abc(0x3cf)]();if(!_0x471263)return;this[_0x357abc(0x5dc)][_0x357abc(0x2e9)](_0x7f3dcb=>{const _0x59bb0b=_0x357abc;_0x7f3dcb[_0x59bb0b(0x4d3)]();});const {scene:_0x2f532b}=_0x471263,_0x4b5372=ta(Array[_0x357abc(0x2ba)](_0x5ba4e9[_0x357abc(0x3ee)]()))[_0x357abc(0x291)](_0x3d5ae6=>{const _0x39bf5e=_0x357abc,{color:_0x3ae565,range:_0x10da3a,name:_0x3fe40a,selection:_0x22e30a,sheetID:_0x3e4a72}=_0x3d5ae6,{startColumn:_0x430bd3,startRow:_0x134330,endColumn:_0x5dad18,endRow:_0x51153e}=_0x10da3a,_0x238282=_0x47a9e5(_0x134330,_0x430bd3,_0x2f532b,_0x5bf5bd),_0x2fd4e0=_0x47a9e5(_0x51153e,_0x5dad18,_0x2f532b,_0x5bf5bd),{columnHeaderHeightAndMarginTop:_0x55bc88}=_0x5bf5bd,{startX:_0x168794,startY:_0x3e6a0d}=_0x238282,{endX:_0x223a84,endY:_0x438c2f}=_0x2fd4e0,_0x175bde=_0x223a84-_0x168794,_0x515a2f=_0x438c2f-_0x3e6a0d,_0x43ee35={'labelPosition':_0x3e6a0d-_0x55bc88>=nt?_0x39bf5e(0x204):_0x39bf5e(0x577),'sheetID':_0x3e4a72,'range':_0x10da3a,'color':_0x3ae565,'name':_0x3fe40a,'selection':_0x22e30a,'left':_0x168794,'top':_0x3e6a0d,'width':_0x175bde,'height':_0x515a2f,'evented':!0x1,'zIndex':ea};return new Xo(_0x3fe40a,_0x43ee35);});_0x2f532b[_0x357abc(0x55c)](_0x4b5372,zo),this['_cursors']=new Set(_0x4b5372);}[_0x1ff3c3(0x2c1)](){const _0x13256d=_0x1ff3c3;var _0x1d2b9e;(_0x1d2b9e=this[_0x13256d(0x5dc)])==null||_0x1d2b9e[_0x13256d(0x2e9)](_0x131274=>_0x131274['dispose']());}[_0x1ff3c3(0x3cf)](){const _0x4c39f4=_0x1ff3c3;return _0x2c7be8(this[_0x4c39f4(0x4db)][_0x4c39f4(0x3de)],this[_0x4c39f4(0x4db)]);}};as=Qo([kt(0x1,_0x4ca429(_0x5caeea)),kt(0x2,_0x4ca429(Ve)),kt(0x3,_0x4ca429(_0x2cee6c))],as);function ta(_0x57e87f){const _0x37b109=_0x1ff3c3,_0x2b644b=new Map();return _0x57e87f[_0x37b109(0x2e9)](_0x28fd75=>{const _0x319fa9=_0x37b109;if(_0x2b644b[_0x319fa9(0x584)](_0x28fd75[_0x319fa9(0x5bd)])){const _0x9e7dd1=_0x2b644b[_0x319fa9(0x27e)](_0x28fd75[_0x319fa9(0x5bd)]);_0x9e7dd1[_0x319fa9(0x24e)]+=',\x20'+_0x28fd75['name'];}else _0x2b644b['set'](_0x28fd75[_0x319fa9(0x5bd)],_0x28fd75);}),Array['from'](_0x2b644b['values']());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x20175c){const _0x10c621=_0x1ff3c3;return _0x20175c&&_0x20175c[_0x10c621(0x442)]&&Object[_0x10c621(0x26b)][_0x10c621(0x4e3)][_0x10c621(0x491)](_0x20175c,_0x10c621(0x3d3))?_0x20175c[_0x10c621(0x3d3)]:_0x20175c;}var Mi={'exports':{}},Ot={},sa=_0x2ab870,ia=Symbol['for'](_0x1ff3c3(0x583)),na=Symbol[_0x1ff3c3(0x40f)]('react.fragment'),ra=Object['prototype']['hasOwnProperty'],oa=sa['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x1ff3c3(0x5c2)],aa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function xi(_0x970132,_0x538569,_0x26e15a){const _0x4df4e3=_0x1ff3c3;var _0x23b5ca,_0x132c67={},_0x35197b=null,_0x2675ac=null;_0x26e15a!==void 0x0&&(_0x35197b=''+_0x26e15a),_0x538569[_0x4df4e3(0x352)]!==void 0x0&&(_0x35197b=''+_0x538569[_0x4df4e3(0x352)]),_0x538569[_0x4df4e3(0x329)]!==void 0x0&&(_0x2675ac=_0x538569[_0x4df4e3(0x329)]);for(_0x23b5ca in _0x538569)ra[_0x4df4e3(0x491)](_0x538569,_0x23b5ca)&&!aa[_0x4df4e3(0x4e3)](_0x23b5ca)&&(_0x132c67[_0x23b5ca]=_0x538569[_0x23b5ca]);if(_0x970132&&_0x970132[_0x4df4e3(0x274)]){for(_0x23b5ca in(_0x538569=_0x970132[_0x4df4e3(0x274)],_0x538569))_0x132c67[_0x23b5ca]===void 0x0&&(_0x132c67[_0x23b5ca]=_0x538569[_0x23b5ca]);}return{'$$typeof':ia,'type':_0x970132,'key':_0x35197b,'ref':_0x2675ac,'props':_0x132c67,'_owner':oa['current']};}Ot[_0x1ff3c3(0x3ac)]=na,Ot[_0x1ff3c3(0x4bd)]=xi,Ot[_0x1ff3c3(0x3b1)]=xi,Mi[_0x1ff3c3(0x4a6)]=Ot;var we=Mi[_0x1ff3c3(0x4a6)],ee=function(){const _0x40d038=_0x1ff3c3;return ee=Object[_0x40d038(0x408)]||function(_0x17d2d0){const _0x38471e=_0x40d038;for(var _0x2ae03c,_0x51092f=0x1,_0x5bc70e=arguments[_0x38471e(0x231)];_0x51092f<_0x5bc70e;_0x51092f++){_0x2ae03c=arguments[_0x51092f];for(var _0xd71345 in _0x2ae03c)Object[_0x38471e(0x26b)][_0x38471e(0x4e3)][_0x38471e(0x491)](_0x2ae03c,_0xd71345)&&(_0x17d2d0[_0xd71345]=_0x2ae03c[_0xd71345]);}return _0x17d2d0;},ee[_0x40d038(0x2a1)](this,arguments);},ca=function(_0x1a0410,_0x11a197){const _0x368dad=_0x1ff3c3;var _0x1978c8={};for(var _0x2fff92 in _0x1a0410)Object['prototype'][_0x368dad(0x4e3)][_0x368dad(0x491)](_0x1a0410,_0x2fff92)&&_0x11a197['indexOf'](_0x2fff92)<0x0&&(_0x1978c8[_0x2fff92]=_0x1a0410[_0x2fff92]);if(_0x1a0410!=null&&typeof Object[_0x368dad(0x32b)]==_0x368dad(0x567)){for(var _0x57ee39=0x0,_0x2fff92=Object[_0x368dad(0x32b)](_0x1a0410);_0x57ee39<_0x2fff92[_0x368dad(0x231)];_0x57ee39++)_0x11a197['indexOf'](_0x2fff92[_0x57ee39])<0x0&&Object['prototype'][_0x368dad(0x31d)][_0x368dad(0x491)](_0x1a0410,_0x2fff92[_0x57ee39])&&(_0x1978c8[_0x2fff92[_0x57ee39]]=_0x1a0410[_0x2fff92[_0x57ee39]]);}return _0x1978c8;},Ts=_0x4ba2cf(function(_0x2388da,_0x27f47c){const _0x427c8e=_0x1ff3c3;var _0x15bd60=_0x2388da['icon'],_0x671dab=_0x2388da['id'],_0x5bf76d=_0x2388da[_0x427c8e(0x280)],_0x398020=_0x2388da[_0x427c8e(0x36c)],_0x56889a=ca(_0x2388da,[_0x427c8e(0x271),'id',_0x427c8e(0x280),_0x427c8e(0x36c)]),_0x436817=_0x427c8e(0x419)[_0x427c8e(0x41b)](_0x671dab,'\x20')[_0x427c8e(0x41b)](_0x5bf76d||'')[_0x427c8e(0x2ac)](),_0x136add=_0x4efcba('_'['concat'](_a()));return Li(_0x15bd60,''[_0x427c8e(0x41b)](_0x671dab),{'defIds':_0x15bd60['defIds'],'idSuffix':_0x136add[_0x427c8e(0x2ab)]},ee({'ref':_0x27f47c,'className':_0x436817},_0x56889a),_0x398020);});function Li(_0x2fcca9,_0x4d4ce5,_0x1c1719,_0x10eea1,_0x39727c){const _0xbc3234=_0x1ff3c3;return _0x44ac99(_0x2fcca9[_0xbc3234(0x3ea)],ee(ee({'key':_0x4d4ce5},ha(_0x2fcca9,_0x1c1719,_0x39727c)),_0x10eea1),(la(_0x2fcca9,_0x1c1719)[_0xbc3234(0x3fb)]||[])[_0xbc3234(0x291)](function(_0x5159b8,_0x25824d){const _0x4ae660=_0xbc3234;return Li(_0x5159b8,''[_0x4ae660(0x41b)](_0x4d4ce5,'-')[_0x4ae660(0x41b)](_0x2fcca9[_0x4ae660(0x3ea)],'-')[_0x4ae660(0x41b)](_0x25824d),_0x1c1719,void 0x0,_0x39727c);}));}function ha(_0x1d1d4d,_0x489b60,_0x24fdad){const _0x463185=_0x1ff3c3;var _0x462e45=ee({},_0x1d1d4d[_0x463185(0x273)]);_0x24fdad!=null&&_0x24fdad[_0x463185(0x43c)]&&_0x462e45[_0x463185(0x207)]==='colorChannel1'&&(_0x462e45['fill']=_0x24fdad[_0x463185(0x43c)]);var _0x52e2dc=_0x489b60[_0x463185(0x2d6)];return!_0x52e2dc||_0x52e2dc[_0x463185(0x231)]===0x0||(_0x1d1d4d[_0x463185(0x3ea)]===_0x463185(0x266)&&_0x462e45['xlink:href']&&(_0x462e45[_0x463185(0x254)]=_0x462e45[_0x463185(0x254)]+_0x489b60[_0x463185(0x48c)]),Object[_0x463185(0x2d5)](_0x462e45)[_0x463185(0x2e9)](function(_0x5cad2a){const _0x3e5dcf=_0x463185;var _0x5f0e68=_0x5cad2a[0x0],_0x30e214=_0x5cad2a[0x1];typeof _0x30e214==_0x3e5dcf(0x37a)&&(_0x462e45[_0x5f0e68]=_0x30e214[_0x3e5dcf(0x490)](/url\(#(.*)\)/,_0x3e5dcf(0x517)[_0x3e5dcf(0x41b)](_0x489b60[_0x3e5dcf(0x48c)],')')));})),_0x462e45;}function la(_0x50cc8c,_0x19a000){const _0x1e116d=_0x1ff3c3;var _0x12ad6e,_0x5d782e=_0x19a000['defIds'];return!_0x5d782e||_0x5d782e['length']===0x0?_0x50cc8c:_0x50cc8c[_0x1e116d(0x3ea)]==='defs'&&(!((_0x12ad6e=_0x50cc8c[_0x1e116d(0x3fb)])===null||_0x12ad6e===void 0x0)&&_0x12ad6e[_0x1e116d(0x231)])?ee(ee({},_0x50cc8c),{'children':_0x50cc8c[_0x1e116d(0x3fb)][_0x1e116d(0x291)](function(_0x6ffa86){const _0xd9d921=_0x1e116d;return typeof _0x6ffa86[_0xd9d921(0x273)]['id']==_0xd9d921(0x37a)&&_0x5d782e&&_0x5d782e[_0xd9d921(0x4f9)](_0x6ffa86['attrs']['id'])>-0x1?ee(ee({},_0x6ffa86),{'attrs':ee(ee({},_0x6ffa86[_0xd9d921(0x273)]),{'id':_0x6ffa86['attrs']['id']+_0x19a000[_0xd9d921(0x48c)]})}):_0x6ffa86;})}):_0x50cc8c;}function _a(){const _0x4307d2=_0x1ff3c3;return Math[_0x4307d2(0x3ba)]()[_0x4307d2(0x4fb)](0x24)[_0x4307d2(0x563)](0x2,0x8);}Ts[_0x1ff3c3(0x333)]=_0x1ff3c3(0x4a8);var ua={'tag':_0x1ff3c3(0x4e0),'attrs':{'fill':_0x1ff3c3(0x25b),'viewBox':_0x1ff3c3(0x324),'width':'1em','height':_0x1ff3c3(0x327)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x1ff3c3(0x42f),'attrs':{'stroke':'currentColor','d':_0x1ff3c3(0x29a),'strokeLinecap':_0x1ff3c3(0x452),'strokeLinejoin':_0x1ff3c3(0x452),'strokeWidth':1.2}}]},{'tag':_0x1ff3c3(0x3ca),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1ff3c3(0x394)},'children':[{'tag':_0x1ff3c3(0x42f),'attrs':{'fill':_0x1ff3c3(0x4d0),'d':_0x1ff3c3(0x460)}}]}]}],'defIds':[_0x1ff3c3(0x394)]},$i=_0x4ba2cf(function(_0x508029,_0xacf099){const _0x44c8d7=_0x1ff3c3;return _0x44ac99(Ts,Object[_0x44c8d7(0x408)]({},_0x508029,{'id':'off-line-single','ref':_0xacf099,'icon':ua}));});$i['displayName']=_0x1ff3c3(0x5a7);var da={'tag':_0x1ff3c3(0x4e0),'attrs':{'fill':_0x1ff3c3(0x25b),'viewBox':'0\x200\x2017\x2016','width':_0x1ff3c3(0x327),'height':_0x1ff3c3(0x327)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x1ff3c3(0x42f),'attrs':{'stroke':_0x1ff3c3(0x5a9),'d':_0x1ff3c3(0x2e6),'strokeLinecap':'round','strokeLinejoin':_0x1ff3c3(0x452),'strokeWidth':1.2}}]},{'tag':_0x1ff3c3(0x3ca),'attrs':{},'children':[{'tag':_0x1ff3c3(0x26c),'attrs':{'id':_0x1ff3c3(0x455)},'children':[{'tag':_0x1ff3c3(0x42f),'attrs':{'fill':_0x1ff3c3(0x4d0),'d':_0x1ff3c3(0x460),'transform':'translate(.97)'}}]}]}],'defIds':[_0x1ff3c3(0x455)]},Hi=_0x4ba2cf(function(_0x2d60b0,_0x168b91){const _0x4fbf3a=_0x1ff3c3;return _0x44ac99(Ts,Object[_0x4fbf3a(0x408)]({},_0x2d60b0,{'id':_0x4fbf3a(0x5bf),'ref':_0x168b91,'icon':da}));});Hi['displayName']='OnLineSingle';function ji(_0x3d633d){const _0x43ddea=_0x1ff3c3;var _0x13dbd4,_0x55ec09,_0xf04f2d='';if(typeof _0x3d633d==_0x43ddea(0x37a)||typeof _0x3d633d=='number')_0xf04f2d+=_0x3d633d;else{if(typeof _0x3d633d==_0x43ddea(0x2d0)){if(Array[_0x43ddea(0x44c)](_0x3d633d)){var _0xd38f95=_0x3d633d[_0x43ddea(0x231)];for(_0x13dbd4=0x0;_0x13dbd4<_0xd38f95;_0x13dbd4++)_0x3d633d[_0x13dbd4]&&(_0x55ec09=ji(_0x3d633d[_0x13dbd4]))&&(_0xf04f2d&&(_0xf04f2d+='\x20'),_0xf04f2d+=_0x55ec09);}else{for(_0x55ec09 in _0x3d633d)_0x3d633d[_0x55ec09]&&(_0xf04f2d&&(_0xf04f2d+='\x20'),_0xf04f2d+=_0x55ec09);}}}return _0xf04f2d;}function fa(){for(var _0x5668ac,_0x4e37c4,_0x5571e8=0x0,_0x3176df='',_0x2e6b6a=arguments['length'];_0x5571e8<_0x2e6b6a;_0x5571e8++)(_0x5668ac=arguments[_0x5571e8])&&(_0x4e37c4=ji(_0x5668ac))&&(_0x3176df&&(_0x3176df+='\x20'),_0x3176df+=_0x4e37c4);return _0x3176df;}const va=_0x1ff3c3(0x2e0),ma='univer-online-status-title',pa=_0x1ff3c3(0x426),ga=_0x1ff3c3(0x4ba),Sa=_0x1ff3c3(0x3d7),Ze={'onlineStatusIcon':va,'onlineStatusTitle':ma,'onlineStatus':pa,'online':ga,'offline':Sa};function Ia(_0x17f22e){const _0x447142=_0x1ff3c3;switch(_0x17f22e){case J[_0x447142(0x2fb)]:return _0x447142(0x5d9);case J['CONFLICT']:return'collabStatus.conflict';case J[_0x447142(0x25c)]:return _0x447142(0x22f);case J[_0x447142(0x4dd)]:return _0x447142(0x2df);case J[_0x447142(0x279)]:case J[_0x447142(0x2cf)]:return _0x447142(0x3fc);case J['SYNCED']:case J['PENDING']:return _0x447142(0x22d);}}function Ca(_0xfa2346){const _0x351e50=_0x1ff3c3,{status$:_0x1ffd2f}=_0xfa2346,_0x57c72c=_0x2e7ed3(_0x1ffd2f,J[_0x351e50(0x4dd)]),_0x3cabce=_0x1f7a43(_0x12b201),_0x2c30c7=_0x1f7a43(Ae),_0x2a2a1e=_0x57c72c!==J[_0x351e50(0x2fb)],_0x39e5ae=_0x3cabce['t'](Ia(_0x57c72c)),_0x153eba=fa(Ze[_0x351e50(0x2fc)],{[Ze['online']]:_0x2a2a1e,[Ze['offline']]:!_0x2a2a1e}),_0x10bf0f=_0x2a2a1e?we['jsx'](Hi,{}):we[_0x351e50(0x4bd)]($i,{}),_0x26d419=_0x40349d(()=>{const _0x32a56e=_0x351e50;_0x2a2a1e||_0x2c30c7[_0x32a56e(0x366)]();},[_0x2a2a1e,_0x2c30c7]);function _0x22e877(){const _0x5e1b13=_0x351e50;return we[_0x5e1b13(0x3b1)](_0x5e1b13(0x592),{'className':_0x153eba,'onClick':_0x26d419,'children':[we[_0x5e1b13(0x4bd)]('div',{'className':Ze[_0x5e1b13(0x59f)],'children':_0x10bf0f}),we[_0x5e1b13(0x4bd)](_0x5e1b13(0x592),{'className':Ze[_0x5e1b13(0x507)],'children':_0x39e5ae})]});}return _0x2a2a1e?_0x22e877():we[_0x351e50(0x4bd)](_0x755986,{'title':_0x3cabce['t'](_0x351e50(0x45f)),'children':_0x22e877()});}var Ea=Object[_0x1ff3c3(0x39f)],ba=Object[_0x1ff3c3(0x3b5)],Ta=(_0x534729,_0x21a028,_0x3e3c43,_0x4426db)=>{const _0x432c21=_0x1ff3c3;for(var _0x4aabcf=_0x4426db>0x1?void 0x0:_0x4426db?ba(_0x21a028,_0x3e3c43):_0x21a028,_0x2b4a28=_0x534729[_0x432c21(0x231)]-0x1,_0x33b4f5;_0x2b4a28>=0x0;_0x2b4a28--)(_0x33b4f5=_0x534729[_0x2b4a28])&&(_0x4aabcf=(_0x4426db?_0x33b4f5(_0x21a028,_0x3e3c43,_0x4aabcf):_0x33b4f5(_0x4aabcf))||_0x4aabcf);return _0x4426db&&_0x4aabcf&&Ea(_0x21a028,_0x3e3c43,_0x4aabcf),_0x4aabcf;},ht=(_0x57e650,_0x44a3f0)=>(_0x502a49,_0x483c10)=>_0x44a3f0(_0x502a49,_0x483c10,_0x57e650);let St=class extends _0x1b10eb{constructor(_0xb9a5c2,_0x3cde61,_0x3213de,_0x24ee58){const _0x54a781=_0x1ff3c3;super(),g(this,'_status$',new _0x4ef6f6(J[_0x54a781(0x4dd)])),(this[_0x54a781(0x4d6)]=_0xb9a5c2,this[_0x54a781(0x247)]=_0x3cde61,this[_0x54a781(0x4ea)]=_0x3213de,this[_0x54a781(0x2c8)]=_0x24ee58,this['_initStatusComponent'](),this[_0x54a781(0x27d)]());}['_initStatusListener'](){const _0xc5169b=_0x1ff3c3;this[_0xc5169b(0x4bb)](this[_0xc5169b(0x4d6)][_0xc5169b(0x5cb)][_0xc5169b(0x393)](_0x2f1dad(()=>{const _0x4e609b=_0xc5169b,_0x113764=this['_univerInstanceService'][_0x4e609b(0x1f9)]();return _0x113764?this[_0x4e609b(0x2c8)]['getCollabEntity$'](_0x113764[_0x4e609b(0x41c)]()):_0x5be1e3(null);}),_0x2f1dad(_0x3d8358=>_0x3d8358?_0x3d8358[_0xc5169b(0x40d)]:_0x5be1e3(J['NOT_COLLAB'])))[_0xc5169b(0x5b5)](_0x40e84c=>{const _0x39544f=_0xc5169b;this[_0x39544f(0x54b)][_0x39544f(0x453)](_0x40e84c);}));}['_initStatusComponent'](){const _0x246588=_0x1ff3c3;this[_0x246588(0x4bb)](this[_0x246588(0x247)]['registerComponent'](_0x34ed9b[_0x246588(0x429)],()=>_0x5b3f3f(Ra({'status$':this[_0x246588(0x54b)][_0x246588(0x343)]()}),this[_0x246588(0x4ea)])));}};St=Ta([ht(0x0,_0x527b53),ht(0x1,_0xd8186c),ht(0x2,_0x4ca429(_0x1678ba)),ht(0x3,_0x4ca429(it))],St);function Ra(_0x3fe0f7){const {status$:_0x3570ed}=_0x3fe0f7;return function(){const _0x8d3167=_0x304f;return we[_0x8d3167(0x4bd)](Ca,{'status$':_0x3570ed});};}const Bi=_0x3924e2(_0x1ff3c3(0x4b1));var ya=Object[_0x1ff3c3(0x39f)],Oa=Object[_0x1ff3c3(0x3b5)],wa=(_0x3ac13a,_0x452418,_0x17bde7,_0x573de0)=>{const _0x1077b0=_0x1ff3c3;for(var _0x1f3654=_0x573de0>0x1?void 0x0:_0x573de0?Oa(_0x452418,_0x17bde7):_0x452418,_0x91e93b=_0x3ac13a[_0x1077b0(0x231)]-0x1,_0x4c07fa;_0x91e93b>=0x0;_0x91e93b--)(_0x4c07fa=_0x3ac13a[_0x91e93b])&&(_0x1f3654=(_0x573de0?_0x4c07fa(_0x452418,_0x17bde7,_0x1f3654):_0x4c07fa(_0x1f3654))||_0x1f3654);return _0x573de0&&_0x1f3654&&ya(_0x452418,_0x17bde7,_0x1f3654),_0x1f3654;},ke=(_0x29ede1,_0x4a0c5f)=>(_0x9be4dc,_0x3bace3)=>_0x4a0c5f(_0x9be4dc,_0x3bace3,_0x29ede1);let It=class extends _0x58a0f6{constructor(_0x31e208,_0x45abdf,_0x578ffd,_0x1f0e82,_0x98ed2e,_0x2f226){const _0x3fed25=_0x1ff3c3;super(),this[_0x3fed25(0x353)]=_0x31e208,this[_0x3fed25(0x24a)]=_0x45abdf,this[_0x3fed25(0x2b4)]=_0x578ffd,this[_0x3fed25(0x319)]=_0x1f0e82,this[_0x3fed25(0x400)]=_0x98ed2e,_0x2f226?_0x2f226==null||_0x2f226[_0x3fed25(0x43b)]()[_0x3fed25(0x3b6)](()=>this[_0x3fed25(0x55d)]()):(this['_logService'][_0x3fed25(0x392)](_0x3fed25(0x288),_0x3fed25(0x283)),this['_init']());}async[_0x1ff3c3(0x55d)](){const _0xa51a72=_0x1ff3c3,_0x4d461c=this[_0xa51a72(0x353)][_0xa51a72(0x260)](_0xa51a72(0x3de)),_0x4c2f01=this['_urlService'][_0xa51a72(0x260)]('type');if(!_0x4d461c||!_0x4c2f01){this['_logService'][_0xa51a72(0x392)](_0xa51a72(0x288),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x4c2f01)){case ce[_0xa51a72(0x3d2)]:{const _0x1d54a6=await this['_loadSheet'](_0x4d461c);this[_0xa51a72(0x45a)](_0x1d54a6);break;}case ce[_0xa51a72(0x376)]:{await this['_loadDoc'](_0x4d461c);break;}default:{this[_0xa51a72(0x24a)][_0xa51a72(0x495)](_0xa51a72(0x288),_0xa51a72(0x46d));break;}}}async['_setupSubUnitSync'](_0x260235){const _0x32db74=_0x1ff3c3;await this[_0x32db74(0x295)](_0x260235),_0x260235[_0x32db74(0x401)]['pipe'](_0x5e202a(this[_0x32db74(0x470)]))[_0x32db74(0x5b5)](_0x29cc31=>{const _0x380069=_0x32db74;_0x29cc31&&this[_0x380069(0x36a)](_0x29cc31);}),this['_urlService'][_0x32db74(0x51c)][_0x32db74(0x393)](_0x5e202a(this[_0x32db74(0x470)]))[_0x32db74(0x5b5)](()=>this[_0x32db74(0x295)](_0x260235));}[_0x1ff3c3(0x36a)](_0x466ae3,_0x3db120=!0x1){const _0xbf5ae=_0x1ff3c3,_0x31dbc9=this[_0xbf5ae(0x353)][_0xbf5ae(0x260)]('subunit');_0x466ae3[_0xbf5ae(0x3eb)]()!==_0x31dbc9&&this['_urlService'][_0xbf5ae(0x34a)]('subunit',_0x466ae3['getSheetId'](),_0x3db120);}async[_0x1ff3c3(0x295)](_0x491273){const _0x458ee7=_0x1ff3c3;var _0x4c51c9;const _0x59756d=this[_0x458ee7(0x353)]['getParam'](_0x458ee7(0x4c9));if(!_0x59756d||!_0x491273[_0x458ee7(0x24d)](_0x59756d)){const _0x28433e=_0x491273[_0x458ee7(0x285)]()[0x0],_0x306938=_0x491273[_0x458ee7(0x24d)](_0x28433e);if(!_0x306938)return;this[_0x458ee7(0x36a)](_0x306938,!0x0),await this[_0x458ee7(0x2b4)][_0x458ee7(0x51b)](_0x1cf5b9['id'],{'unitId':_0x491273[_0x458ee7(0x41c)](),'subUnitId':_0x28433e});return;}((_0x4c51c9=_0x491273['getActiveSheet']())==null?void 0x0:_0x4c51c9[_0x458ee7(0x3eb)]())!==_0x59756d&&await this[_0x458ee7(0x2b4)][_0x458ee7(0x51b)](_0x1cf5b9['id'],{'unitId':_0x491273[_0x458ee7(0x41c)](),'subUnitId':_0x59756d});}async['_loadSheet'](_0xec4cd1){const _0x131e14=_0x1ff3c3;let _0x266518=0x0;const _0x15cfd8=await this['_localCacheService'][_0x131e14(0x221)](_0xec4cd1);return _0x15cfd8&&(_0x15cfd8[_0x131e14(0x545)]||_0x15cfd8['mutations'][_0x131e14(0x231)]!==0x0)&&(_0x266518=_0x15cfd8[_0x131e14(0x579)]),_0x266518===0x0&&this[_0x131e14(0x24a)][_0x131e14(0x392)](_0x131e14(0x288),_0x131e14(0x367)),this[_0x131e14(0x400)][_0x131e14(0x1e9)](_0xec4cd1,_0x266518);}async[_0x1ff3c3(0x310)](_0x5dd63c){const _0x1a5227=_0x1ff3c3;let _0x48d2e4=0x0;const _0x29f161=await this[_0x1a5227(0x319)][_0x1a5227(0x221)](_0x5dd63c);return _0x29f161&&(_0x29f161[_0x1a5227(0x545)]||_0x29f161[_0x1a5227(0x2c4)][_0x1a5227(0x231)]!==0x0)&&(_0x48d2e4=_0x29f161[_0x1a5227(0x579)]),_0x48d2e4===0x0&&this['_logService'][_0x1a5227(0x392)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1a5227(0x400)][_0x1a5227(0x1f2)](_0x5dd63c,_0x48d2e4);}};It=wa([ke(0x0,Bi),ke(0x1,_0x24c70e),ke(0x2,_0x3e6605),ke(0x3,_0x4ca429(q)),ke(0x4,_0x4ca429(_0x573e2e)),ke(0x5,_0x1e9cac(_0x1fa0e5))],It);var Da=Object[_0x1ff3c3(0x39f)],Pa=Object['getOwnPropertyDescriptor'],Ua=(_0x9d0001,_0x298782,_0x3e4d3d,_0xf2e652)=>{for(var _0x2bf6bb=_0xf2e652>0x1?void 0x0:_0xf2e652?Pa(_0x298782,_0x3e4d3d):_0x298782,_0x511c20=_0x9d0001['length']-0x1,_0x109d66;_0x511c20>=0x0;_0x511c20--)(_0x109d66=_0x9d0001[_0x511c20])&&(_0x2bf6bb=(_0xf2e652?_0x109d66(_0x298782,_0x3e4d3d,_0x2bf6bb):_0x109d66(_0x2bf6bb))||_0x2bf6bb);return _0xf2e652&&_0x2bf6bb&&Da(_0x298782,_0x3e4d3d,_0x2bf6bb),_0x2bf6bb;},zs=(_0x458d9e,_0x44626d)=>(_0x4590c8,_0x554046)=>_0x44626d(_0x4590c8,_0x554046,_0x458d9e);const Na=_0x1ff3c3(0x377),Aa=_0x1ff3c3(0x4f3);let Ct=class extends _0x1b10eb{constructor(_0x295a0e,_0x5ec71d){const _0x48c7dd=_0x1ff3c3;super(),this[_0x48c7dd(0x4d6)]=_0x295a0e,this[_0x48c7dd(0x2b0)]=_0x5ec71d,this[_0x48c7dd(0x55d)]();}[_0x1ff3c3(0x55d)](){const _0x1abc02=_0x1ff3c3;this[_0x1abc02(0x4bb)](this[_0x1abc02(0x4d6)]['focused$'][_0x1abc02(0x5b5)](()=>{const _0x5920a1=_0x1abc02;var _0x31e037;const _0x3d5919=this[_0x5920a1(0x4d6)][_0x5920a1(0x1f9)]();let _0x5990d9=(_0x31e037=this['_configService'][_0x5920a1(0x35a)](Na))!=null?_0x31e037:Aa;_0x3d5919 instanceof _0x42a4b5&&(_0x5990d9=_0x3d5919['name']),document[_0x5920a1(0x541)]=_0x5990d9;}));}};Ct=Ua([zs(0x0,_0x527b53),zs(0x1,_0x16309d)],Ct);var Ma=Object[_0x1ff3c3(0x39f)],xa=Object[_0x1ff3c3(0x3b5)],La=(_0x3663b1,_0x5aa101,_0x3ee40c,_0x4290d3)=>{const _0x28c031=_0x1ff3c3;for(var _0x582d63=_0x4290d3>0x1?void 0x0:_0x4290d3?xa(_0x5aa101,_0x3ee40c):_0x5aa101,_0x3c75db=_0x3663b1[_0x28c031(0x231)]-0x1,_0xc711c9;_0x3c75db>=0x0;_0x3c75db--)(_0xc711c9=_0x3663b1[_0x3c75db])&&(_0x582d63=(_0x4290d3?_0xc711c9(_0x5aa101,_0x3ee40c,_0x582d63):_0xc711c9(_0x582d63))||_0x582d63);return _0x4290d3&&_0x582d63&&Ma(_0x5aa101,_0x3ee40c,_0x582d63),_0x582d63;},Wt=(_0x4fd747,_0x3266d9)=>(_0x471b83,_0x1d0aef)=>_0x3266d9(_0x471b83,_0x1d0aef,_0x4fd747);let Et=class{constructor(_0x4f8b3c,_0x165c2a,_0x40e7c8){const _0x2800b0=_0x1ff3c3;this['_configService']=_0x4f8b3c,this[_0x2800b0(0x2a3)]=_0x165c2a,this[_0x2800b0(0x292)]=_0x40e7c8,this[_0x2800b0(0x40e)]();}[_0x1ff3c3(0x40e)](){const _0x24da1d=_0x1ff3c3;this[_0x24da1d(0x2a3)][_0x24da1d(0x58d)]({'priority':0x1,'interceptor':(_0x434fa1,_0x9ce8e0)=>_0x9ce8e0(_0x434fa1)[_0x24da1d(0x393)](_0x1c98ab(async _0x563b9a=>{const _0x119305=_0x24da1d,_0x3a3018=_0x563b9a;if(_0x3a3018[_0x119305(0x2f3)]===0x191&&window[_0x119305(0x2b6)](this[_0x119305(0x292)]['t'](_0x119305(0x21b)))){const _0x5f148b=window[_0x119305(0x3af)](window[_0x119305(0x56a)]['href']);window[_0x119305(0x56a)]['href']=this[_0x119305(0x43d)]()+_0x119305(0x5ab)+_0x5f148b;}return _0x3a3018;}))});}[_0x1ff3c3(0x43d)](){const _0x4fb55b=_0x1ff3c3;var _0x1619bb,_0x5020b8;const _0x350eaa=this[_0x4fb55b(0x2b0)][_0x4fb55b(0x35a)](br),_0x29f75d=this[_0x4fb55b(0x2b0)][_0x4fb55b(0x35a)](ie);return(_0x5020b8=(_0x1619bb=_0x29f75d==null?void 0x0:_0x29f75d[_0x4fb55b(0x5e0)])!=null?_0x1619bb:_0x350eaa)!=null?_0x5020b8:Tr;}};Et=La([Wt(0x0,_0x16309d),Wt(0x1,_0x4ca429(_0x5d3d37)),Wt(0x2,_0x4ca429(_0x12b201))],Et);var $a=Object['defineProperty'],Ha=Object['getOwnPropertyDescriptor'],ja=(_0x38424b,_0x2e46c7,_0x38aa12,_0x385e83)=>{const _0x5dcd4a=_0x1ff3c3;for(var _0xe2609a=_0x385e83>0x1?void 0x0:_0x385e83?Ha(_0x2e46c7,_0x38aa12):_0x2e46c7,_0x58d5be=_0x38424b[_0x5dcd4a(0x231)]-0x1,_0x5eef27;_0x58d5be>=0x0;_0x58d5be--)(_0x5eef27=_0x38424b[_0x58d5be])&&(_0xe2609a=(_0x385e83?_0x5eef27(_0x2e46c7,_0x38aa12,_0xe2609a):_0x5eef27(_0xe2609a))||_0xe2609a);return _0x385e83&&_0xe2609a&&$a(_0x2e46c7,_0x38aa12,_0xe2609a),_0xe2609a;},qs=(_0x3e1570,_0x1db185)=>(_0x589591,_0x42b6f9)=>_0x1db185(_0x589591,_0x42b6f9,_0x3e1570);const Ba=_0x1ff3c3(0x580),ka=_0x1ff3c3(0x4f6);let cs=class extends _0x1b10eb{constructor(_0x2a6887,_0x32ac80){const _0x2ff26f=_0x1ff3c3;super(),this[_0x2ff26f(0x205)]=_0x2a6887,this[_0x2ff26f(0x2b0)]=_0x32ac80,this['_initMergeInterceptor']();}[_0x1ff3c3(0x5a8)](){const _0x3a5081=_0x1ff3c3,_0x1cb17e=this;this[_0x3a5081(0x4bb)](this['_HTTPService'][_0x3a5081(0x58d)]({'priority':0x3e7,'interceptor':_0x52b687({'isMatch'(_0x1ec9f4){const _0x53e833=_0x3a5081;var _0x51213f;if(_0x1ec9f4[_0x53e833(0x2eb)]===_0x53e833(0x3d1)&&((_0x51213f=_0x1ec9f4[_0x53e833(0x544)])!=null&&_0x51213f[_0x53e833(0x4ef)])){const {objectID:_0x46cab7,objectType:_0x5b2486}=_0x1ec9f4[_0x53e833(0x544)][_0x53e833(0x4ef)]||{};if(!_0x46cab7||_0x5b2486===void 0x0)return!0x1;const _0x34345a=_0x1cb17e['_getAPIPrefixPath']()+'/'+_0x5b2486+_0x53e833(0x40a)+_0x46cab7+_0x53e833(0x2c7);if(_0x1ec9f4[_0x53e833(0x2f9)]===_0x34345a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x421319){const _0x4c1b9a=_0x3a5081;var _0x548a8d;return(_0x548a8d=_0x421319['requestParams'])==null?void 0x0:_0x548a8d[_0x4c1b9a(0x4ef)];},'mergeParamsToRequest'(_0x1a3d6c,_0x1ccf8e){const _0x5baf29=_0x3a5081,_0x5ca832=_0x1cb17e['_getAPIPrefixPath']()+_0x5baf29(0x47b),_0x2438d1=_0x1a3d6c[_0x5baf29(0x38f)]((_0x2f5cf9,_0x2f5d26)=>{const _0x4c2dce=_0x5baf29,{unitID:_0x4d0de8,objectID:_0xe37492,objectType:_0x902536,actions:_0x26f6d1}=_0x2f5d26;return _0x2f5cf9[_0x4d0de8]||(_0x2f5cf9[_0x4d0de8]={}),_0x2f5cf9[_0x4d0de8][_0xe37492]||(_0x2f5cf9[_0x4d0de8][_0xe37492]={'objectID':_0xe37492,'objectType':_0x902536,'actions':[]}),_0x2f5cf9[_0x4d0de8][_0xe37492]['actions'][_0x4c2dce(0x2cc)](..._0x26f6d1),_0x2f5cf9;},{}),_0x33ab4c=[];for(const _0x2b7a1d in _0x2438d1)for(const _0x19ebe3 in _0x2438d1[_0x2b7a1d]){const {actions:_0x4a75f7,objectType:_0x11c092}=_0x2438d1[_0x2b7a1d][_0x19ebe3],_0x213c70=[...new Set(_0x4a75f7)];_0x33ab4c[_0x5baf29(0x2cc)]({'unitID':_0x2b7a1d,'objectID':_0x19ebe3,'objectType':_0x11c092,'actions':_0x213c70});}return new _0x147de9(_0x5baf29(0x3d1),_0x5ca832,{'headers':_0x1ccf8e[_0x5baf29(0x445)],'withCredentials':_0x1ccf8e['withCredentials'],'responseType':_0x1ccf8e[_0x5baf29(0x36f)],'body':{'requests':_0x33ab4c}});}},{'distributeResult'(_0x4dc15e,_0x5c6e5){const _0x1c8ca4=_0x3a5081,{objectActions:_0x5e848e}=_0x4dc15e;return _0x5c6e5[_0x1c8ca4(0x291)](_0x49b02a=>{const _0x5a35f7=_0x1c8ca4,{unitID:_0x18816b,objectID:_0x4bcd76,actions:_0x460768}=_0x49b02a,_0xb782ef=_0x5e848e[_0x5a35f7(0x36e)](_0x38fd61=>_0x38fd61['unitID']===_0x18816b&&_0x38fd61[_0x5a35f7(0x4c8)]===_0x4bcd76),_0x21b6ed=_0x460768['map'](_0xa0460c=>_0xb782ef==null?void 0x0:_0xb782ef[_0x5a35f7(0x5a6)][_0x5a35f7(0x36e)](_0x32a795=>_0x32a795[_0x5a35f7(0x330)]===_0xa0460c))[_0x5a35f7(0x1ea)](_0x140524=>!!_0x140524);return{'config':_0x49b02a,'result':{'actions':_0x21b6ed,'error':_0x4dc15e['error']}};});}})}));}[_0x1ff3c3(0x28d)](){const _0x3430f6=_0x1ff3c3;var _0x3784f2,_0x112a7;const _0x35a91f=this[_0x3430f6(0x2b0)]['getConfig'](Ba),_0x2df884=this[_0x3430f6(0x2b0)]['getConfig'](ie);return(_0x112a7=(_0x3784f2=_0x2df884==null?void 0x0:_0x2df884[_0x3430f6(0x33f)])!=null?_0x3784f2:_0x35a91f)!=null?_0x112a7:ka;}async[_0x1ff3c3(0x5b6)](_0x4f2337){const _0x43219c=_0x1ff3c3,_0x3f54f2=this[_0x43219c(0x28d)]()+'/'+_0x4f2337['objectType']+_0x43219c(0x55e);return(await this[_0x43219c(0x205)][_0x43219c(0x58f)](_0x3f54f2,{'body':_0x4f2337}))[_0x43219c(0x4ef)][_0x43219c(0x4c8)]||'';}async[_0x1ff3c3(0x306)](_0x89284e){const _0x45f477=_0x1ff3c3,_0x598f74=this[_0x45f477(0x28d)]()+_0x45f477(0x308);return(await this[_0x45f477(0x205)][_0x45f477(0x58f)](_0x598f74,{'body':_0x89284e}))[_0x45f477(0x4ef)]['objects'];}async['update'](_0x5d0ecc){const _0x4a895d=_0x1ff3c3,_0x1a8bd2=this[_0x4a895d(0x28d)]()+'/'+_0x5d0ecc[_0x4a895d(0x2e3)]+_0x4a895d(0x40a)+_0x5d0ecc[_0x4a895d(0x4c8)];await this[_0x4a895d(0x205)]['put'](_0x1a8bd2,{'body':_0x5d0ecc});}async[_0x1ff3c3(0x4b5)](_0x4152c4){const _0x470ef=_0x1ff3c3,_0xee54c1=this[_0x470ef(0x28d)]()+'/'+_0x4152c4[_0x470ef(0x2e3)]+_0x470ef(0x40a)+_0x4152c4[_0x470ef(0x4c8)]+_0x470ef(0x2c7);return(await this[_0x470ef(0x205)][_0x470ef(0x58f)](_0xee54c1,{'body':_0x4152c4}))[_0x470ef(0x4ef)]['actions'];}async[_0x1ff3c3(0x46e)](_0x5a458e){const _0x4dbec7=_0x1ff3c3,_0x3c02b2=this[_0x4dbec7(0x28d)]()+'/-/object/-/batch_allowed';return(await this[_0x4dbec7(0x205)]['post'](_0x3c02b2,{'body':{'requests':_0x5a458e}}))[_0x4dbec7(0x4ef)][_0x4dbec7(0x235)];}async[_0x1ff3c3(0x227)](_0x343f96){const _0x2af1d6=_0x1ff3c3,_0x4b654b=this[_0x2af1d6(0x28d)]()+'/'+_0x343f96[_0x2af1d6(0x2e3)]+_0x2af1d6(0x3ed),_0x2f7077=await this['_HTTPService']['post'](_0x4b654b,{'body':_0x343f96});return{'roles':_0x2f7077[_0x2af1d6(0x4ef)][_0x2af1d6(0x4fa)],'actions':_0x2f7077[_0x2af1d6(0x4ef)]['actions']};}async[_0x1ff3c3(0x3e6)](_0x509db4){const _0x4bd065=_0x1ff3c3,_0x2cfcfd=this['_getAPIPrefixPath']()+_0x4bd065(0x3fe);await this['_HTTPService'][_0x4bd065(0x4dc)](_0x2cfcfd,{'params':{'collaboratorID':_0x509db4[_0x4bd065(0x5eb)],'objectID':_0x509db4[_0x4bd065(0x4c8)],'unitID':_0x509db4[_0x4bd065(0x537)]}});}async[_0x1ff3c3(0x4f8)](_0x52d264){const _0x4707df=_0x1ff3c3,_0x215328=this[_0x4707df(0x28d)]()+_0x4707df(0x3fe);await this[_0x4707df(0x205)]['patch'](_0x215328,{'body':_0x52d264});}async['createCollaborator'](_0xa5843b){const _0x4b0f0e=_0x1ff3c3,_0x811d80=this[_0x4b0f0e(0x28d)]()+'/collaborator';await this[_0x4b0f0e(0x205)][_0x4b0f0e(0x58f)](_0x811d80,{'body':_0xa5843b});}async['listCollaborators'](_0x27fff2){const _0x285199=_0x1ff3c3,_0x3cde0a=this[_0x285199(0x28d)]()+_0x285199(0x3fe);return(await this['_HTTPService']['get'](_0x3cde0a,{'params':{'objectID':_0x27fff2[_0x285199(0x4c8)],'unitID':_0x27fff2[_0x285199(0x537)]}}))[_0x285199(0x4ef)][_0x285199(0x277)];}async['putCollaborators'](_0x24572a){const _0x45521e=_0x1ff3c3,_0x1c5ad8=this[_0x45521e(0x28d)]()+'/collaborator';await this[_0x45521e(0x205)]['put'](_0x1c5ad8,{'body':_0x24572a});}};cs=ja([qs(0x0,_0x4ca429(_0x5d3d37)),qs(0x1,_0x4ca429(_0x16309d))],cs);var ki={'exports':{}};function Wa(_0x5e081c){const _0x2397f3=_0x1ff3c3;throw new Error(_0x2397f3(0x3ab)+_0x5e081c+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ft={'exports':{}},Xs;function ue(){const _0x11d30a=_0x1ff3c3;return Xs||(Xs=0x1,function(_0x54a670,_0x446b31){(function(_0x110101,_0x4400ec){_0x54a670['exports']=_0x4400ec();}(Z,function(){var _0x3e88f2=_0x3e88f2||function(_0x3a1c54,_0x1e5c96){const _0x4cf3fd=_0x304f;var _0x2974be;if(typeof window<'u'&&window[_0x4cf3fd(0x5ec)]&&(_0x2974be=window['crypto']),typeof self<'u'&&self[_0x4cf3fd(0x5ec)]&&(_0x2974be=self[_0x4cf3fd(0x5ec)]),typeof globalThis<'u'&&globalThis[_0x4cf3fd(0x5ec)]&&(_0x2974be=globalThis['crypto']),!_0x2974be&&typeof window<'u'&&window['msCrypto']&&(_0x2974be=window[_0x4cf3fd(0x2dd)]),!_0x2974be&&typeof Z<'u'&&Z['crypto']&&(_0x2974be=Z['crypto']),!_0x2974be&&typeof Wa=='function')try{_0x2974be=require(_0x4cf3fd(0x5ec));}catch{}var _0x2224fa=function(){const _0x17f18e=_0x4cf3fd;if(_0x2974be){if(typeof _0x2974be['getRandomValues']==_0x17f18e(0x567))try{return _0x2974be['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2974be[_0x17f18e(0x242)]==_0x17f18e(0x567))try{return _0x2974be[_0x17f18e(0x242)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x43d0df=Object[_0x4cf3fd(0x5b6)]||(function(){function _0x367b0f(){}return function(_0x6a2e73){var _0x529c24;return _0x367b0f['prototype']=_0x6a2e73,_0x529c24=new _0x367b0f(),_0x367b0f['prototype']=null,_0x529c24;};}()),_0x5dff0d={},_0x86be72=_0x5dff0d[_0x4cf3fd(0x57d)]={},_0x7dfc8e=_0x86be72[_0x4cf3fd(0x337)]=(function(){return{'extend':function(_0x52bdcb){const _0x81b370=_0x304f;var _0x5b1890=_0x43d0df(this);return _0x52bdcb&&_0x5b1890[_0x81b370(0x20a)](_0x52bdcb),(!_0x5b1890[_0x81b370(0x4e3)](_0x81b370(0x40e))||this[_0x81b370(0x40e)]===_0x5b1890[_0x81b370(0x40e)])&&(_0x5b1890['init']=function(){const _0x4159e1=_0x81b370;_0x5b1890[_0x4159e1(0x1ee)]['init'][_0x4159e1(0x2a1)](this,arguments);}),_0x5b1890[_0x81b370(0x40e)][_0x81b370(0x26b)]=_0x5b1890,_0x5b1890[_0x81b370(0x1ee)]=this,_0x5b1890;},'create':function(){const _0x142ac4=_0x304f;var _0x4db81a=this[_0x142ac4(0x36c)]();return _0x4db81a[_0x142ac4(0x40e)][_0x142ac4(0x2a1)](_0x4db81a,arguments),_0x4db81a;},'init':function(){},'mixIn':function(_0x57ff6d){const _0x2b27f6=_0x304f;for(var _0x19a6a2 in _0x57ff6d)_0x57ff6d[_0x2b27f6(0x4e3)](_0x19a6a2)&&(this[_0x19a6a2]=_0x57ff6d[_0x19a6a2]);_0x57ff6d[_0x2b27f6(0x4e3)](_0x2b27f6(0x4fb))&&(this[_0x2b27f6(0x4fb)]=_0x57ff6d[_0x2b27f6(0x4fb)]);},'clone':function(){const _0x5d2e60=_0x304f;return this[_0x5d2e60(0x40e)][_0x5d2e60(0x26b)][_0x5d2e60(0x36c)](this);}};}()),_0x45bfb3=_0x86be72['WordArray']=_0x7dfc8e[_0x4cf3fd(0x36c)]({'init':function(_0x4cfec3,_0x5cc5c6){const _0x40778f=_0x4cf3fd;_0x4cfec3=this['words']=_0x4cfec3||[],_0x5cc5c6!=_0x1e5c96?this[_0x40778f(0x2db)]=_0x5cc5c6:this[_0x40778f(0x2db)]=_0x4cfec3['length']*0x4;},'toString':function(_0x3162d1){const _0x16dca6=_0x4cf3fd;return(_0x3162d1||_0x43e0d9)[_0x16dca6(0x504)](this);},'concat':function(_0x1ca547){const _0x3df0da=_0x4cf3fd;var _0x35848a=this[_0x3df0da(0x4d1)],_0x1b4df4=_0x1ca547[_0x3df0da(0x4d1)],_0x20b548=this['sigBytes'],_0x1adb65=_0x1ca547['sigBytes'];if(this[_0x3df0da(0x597)](),_0x20b548%0x4)for(var _0x3f308b=0x0;_0x3f308b<_0x1adb65;_0x3f308b++){var _0x4bb718=_0x1b4df4[_0x3f308b>>>0x2]>>>0x18-_0x3f308b%0x4*0x8&0xff;_0x35848a[_0x20b548+_0x3f308b>>>0x2]|=_0x4bb718<<0x18-(_0x20b548+_0x3f308b)%0x4*0x8;}else{for(var _0x5a83e5=0x0;_0x5a83e5<_0x1adb65;_0x5a83e5+=0x4)_0x35848a[_0x20b548+_0x5a83e5>>>0x2]=_0x1b4df4[_0x5a83e5>>>0x2];}return this[_0x3df0da(0x2db)]+=_0x1adb65,this;},'clamp':function(){const _0x4d8d72=_0x4cf3fd;var _0x5e5e8b=this[_0x4d8d72(0x4d1)],_0x37a566=this[_0x4d8d72(0x2db)];_0x5e5e8b[_0x37a566>>>0x2]&=0xffffffff<<0x20-_0x37a566%0x4*0x8,_0x5e5e8b['length']=_0x3a1c54['ceil'](_0x37a566/0x4);},'clone':function(){const _0x4f2c93=_0x4cf3fd;var _0x5165a3=_0x7dfc8e[_0x4f2c93(0x4b9)][_0x4f2c93(0x491)](this);return _0x5165a3[_0x4f2c93(0x4d1)]=this['words'][_0x4f2c93(0x5f1)](0x0),_0x5165a3;},'random':function(_0x159bf4){const _0x17964c=_0x4cf3fd;for(var _0x38b73d=[],_0x5b81bd=0x0;_0x5b81bd<_0x159bf4;_0x5b81bd+=0x4)_0x38b73d[_0x17964c(0x2cc)](_0x2224fa());return new _0x45bfb3[(_0x17964c(0x40e))](_0x38b73d,_0x159bf4);}}),_0x44a516=_0x5dff0d['enc']={},_0x43e0d9=_0x44a516['Hex']={'stringify':function(_0x591834){const _0x1eab8f=_0x4cf3fd;for(var _0x37354d=_0x591834[_0x1eab8f(0x4d1)],_0x2eabc0=_0x591834[_0x1eab8f(0x2db)],_0x3c54f2=[],_0x28bd08=0x0;_0x28bd08<_0x2eabc0;_0x28bd08++){var _0x178e03=_0x37354d[_0x28bd08>>>0x2]>>>0x18-_0x28bd08%0x4*0x8&0xff;_0x3c54f2[_0x1eab8f(0x2cc)]((_0x178e03>>>0x4)[_0x1eab8f(0x4fb)](0x10)),_0x3c54f2[_0x1eab8f(0x2cc)]((_0x178e03&0xf)[_0x1eab8f(0x4fb)](0x10));}return _0x3c54f2[_0x1eab8f(0x2b8)]('');},'parse':function(_0xb8ed7c){const _0x269740=_0x4cf3fd;for(var _0x538521=_0xb8ed7c[_0x269740(0x231)],_0x5d0af1=[],_0x3d2689=0x0;_0x3d2689<_0x538521;_0x3d2689+=0x2)_0x5d0af1[_0x3d2689>>>0x3]|=parseInt(_0xb8ed7c[_0x269740(0x212)](_0x3d2689,0x2),0x10)<<0x18-_0x3d2689%0x8*0x4;return new _0x45bfb3['init'](_0x5d0af1,_0x538521/0x2);}},_0x3c6a89=_0x44a516[_0x4cf3fd(0x41a)]={'stringify':function(_0xccdfb3){const _0x1c7f83=_0x4cf3fd;for(var _0x2d2ad6=_0xccdfb3[_0x1c7f83(0x4d1)],_0x46fdd1=_0xccdfb3[_0x1c7f83(0x2db)],_0x523c42=[],_0x5591bb=0x0;_0x5591bb<_0x46fdd1;_0x5591bb++){var _0x9b76eb=_0x2d2ad6[_0x5591bb>>>0x2]>>>0x18-_0x5591bb%0x4*0x8&0xff;_0x523c42[_0x1c7f83(0x2cc)](String[_0x1c7f83(0x29b)](_0x9b76eb));}return _0x523c42[_0x1c7f83(0x2b8)]('');},'parse':function(_0x149a3d){const _0x241c91=_0x4cf3fd;for(var _0x114726=_0x149a3d[_0x241c91(0x231)],_0x4628aa=[],_0x1b2621=0x0;_0x1b2621<_0x114726;_0x1b2621++)_0x4628aa[_0x1b2621>>>0x2]|=(_0x149a3d[_0x241c91(0x38c)](_0x1b2621)&0xff)<<0x18-_0x1b2621%0x4*0x8;return new _0x45bfb3[(_0x241c91(0x40e))](_0x4628aa,_0x114726);}},_0x356b2a=_0x44a516[_0x4cf3fd(0x5ac)]={'stringify':function(_0x423a1c){const _0x17ee8b=_0x4cf3fd;try{return decodeURIComponent(escape(_0x3c6a89[_0x17ee8b(0x504)](_0x423a1c)));}catch{throw new Error(_0x17ee8b(0x512));}},'parse':function(_0x3fa573){const _0x22cd97=_0x4cf3fd;return _0x3c6a89[_0x22cd97(0x50f)](unescape(encodeURIComponent(_0x3fa573)));}},_0x4d75d5=_0x86be72[_0x4cf3fd(0x409)]=_0x7dfc8e[_0x4cf3fd(0x36c)]({'reset':function(){const _0x2b1bcc=_0x4cf3fd;this[_0x2b1bcc(0x48a)]=new _0x45bfb3[(_0x2b1bcc(0x40e))](),this['_nDataBytes']=0x0;},'_append':function(_0x516043){const _0x5ff7ee=_0x4cf3fd;typeof _0x516043=='string'&&(_0x516043=_0x356b2a[_0x5ff7ee(0x50f)](_0x516043)),this[_0x5ff7ee(0x48a)][_0x5ff7ee(0x41b)](_0x516043),this[_0x5ff7ee(0x3b7)]+=_0x516043['sigBytes'];},'_process':function(_0x19f8fd){const _0x2b9025=_0x4cf3fd;var _0x2c88b3,_0x1a9d01=this[_0x2b9025(0x48a)],_0x28a7c4=_0x1a9d01['words'],_0x4a982e=_0x1a9d01[_0x2b9025(0x2db)],_0x49030d=this['blockSize'],_0xe0caa3=_0x49030d*0x4,_0xd70ac6=_0x4a982e/_0xe0caa3;_0x19f8fd?_0xd70ac6=_0x3a1c54[_0x2b9025(0x370)](_0xd70ac6):_0xd70ac6=_0x3a1c54[_0x2b9025(0x449)]((_0xd70ac6|0x0)-this[_0x2b9025(0x21f)],0x0);var _0x4044d3=_0xd70ac6*_0x49030d,_0x48fa98=_0x3a1c54[_0x2b9025(0x1f6)](_0x4044d3*0x4,_0x4a982e);if(_0x4044d3){for(var _0x25e8ec=0x0;_0x25e8ec<_0x4044d3;_0x25e8ec+=_0x49030d)this[_0x2b9025(0x48f)](_0x28a7c4,_0x25e8ec);_0x2c88b3=_0x28a7c4[_0x2b9025(0x1f7)](0x0,_0x4044d3),_0x1a9d01[_0x2b9025(0x2db)]-=_0x48fa98;}return new _0x45bfb3[(_0x2b9025(0x40e))](_0x2c88b3,_0x48fa98);},'clone':function(){const _0x2649c4=_0x4cf3fd;var _0x314561=_0x7dfc8e[_0x2649c4(0x4b9)][_0x2649c4(0x491)](this);return _0x314561[_0x2649c4(0x48a)]=this[_0x2649c4(0x48a)][_0x2649c4(0x4b9)](),_0x314561;},'_minBufferSize':0x0});_0x86be72[_0x4cf3fd(0x3d5)]=_0x4d75d5[_0x4cf3fd(0x36c)]({'cfg':_0x7dfc8e[_0x4cf3fd(0x36c)](),'init':function(_0xa4bec7){const _0x43a19c=_0x4cf3fd;this[_0x43a19c(0x26a)]=this['cfg']['extend'](_0xa4bec7),this[_0x43a19c(0x2f1)]();},'reset':function(){const _0x35e559=_0x4cf3fd;_0x4d75d5[_0x35e559(0x2f1)]['call'](this),this[_0x35e559(0x548)]();},'update':function(_0xaf99c6){const _0x225533=_0x4cf3fd;return this['_append'](_0xaf99c6),this[_0x225533(0x2ec)](),this;},'finalize':function(_0x593ce4){const _0x137c13=_0x4cf3fd;_0x593ce4&&this[_0x137c13(0x356)](_0x593ce4);var _0x44e0f6=this[_0x137c13(0x3f6)]();return _0x44e0f6;},'blockSize':0x10,'_createHelper':function(_0x1147e4){return function(_0x1ee100,_0x154a3c){const _0x1d2e3e=_0x304f;return new _0x1147e4[(_0x1d2e3e(0x40e))](_0x154a3c)[_0x1d2e3e(0x524)](_0x1ee100);};},'_createHmacHelper':function(_0x1a586a){return function(_0x1bbcad,_0x5f0905){const _0x589374=_0x304f;return new _0x209a82['HMAC']['init'](_0x1a586a,_0x5f0905)[_0x589374(0x524)](_0x1bbcad);};}});var _0x209a82=_0x5dff0d[_0x4cf3fd(0x2b5)]={};return _0x5dff0d;}(Math);return _0x3e88f2;}));}(Ft)),Ft[_0x11d30a(0x4a6)];}var Vt={'exports':{}},Js;function Wi(){return Js||(Js=0x1,function(_0x1e8bc0,_0x3b31b9){(function(_0x4da89f,_0x4ec47f){_0x1e8bc0['exports']=_0x4ec47f(ue());}(Z,function(_0x47c62a){const _0x590574=_0x304f;return(function(){const _0x537718=_0x304f;var _0x5c25e5=_0x47c62a,_0x13685c=_0x5c25e5[_0x537718(0x57d)],_0x48f5cd=_0x13685c[_0x537718(0x336)],_0x9e3fa9=_0x5c25e5[_0x537718(0x47e)];_0x9e3fa9[_0x537718(0x502)]={'stringify':function(_0x9e43db){const _0x430692=_0x537718;var _0x1bcbc1=_0x9e43db[_0x430692(0x4d1)],_0x26560a=_0x9e43db[_0x430692(0x2db)],_0x18cafe=this['_map'];_0x9e43db[_0x430692(0x597)]();for(var _0x1ea4d7=[],_0xa0afd8=0x0;_0xa0afd8<_0x26560a;_0xa0afd8+=0x3)for(var _0x3e0912=_0x1bcbc1[_0xa0afd8>>>0x2]>>>0x18-_0xa0afd8%0x4*0x8&0xff,_0x4ba3bc=_0x1bcbc1[_0xa0afd8+0x1>>>0x2]>>>0x18-(_0xa0afd8+0x1)%0x4*0x8&0xff,_0x298032=_0x1bcbc1[_0xa0afd8+0x2>>>0x2]>>>0x18-(_0xa0afd8+0x2)%0x4*0x8&0xff,_0x5e5430=_0x3e0912<<0x10|_0x4ba3bc<<0x8|_0x298032,_0x5ba634=0x0;_0x5ba634<0x4&&_0xa0afd8+_0x5ba634*0.75<_0x26560a;_0x5ba634++)_0x1ea4d7[_0x430692(0x2cc)](_0x18cafe[_0x430692(0x298)](_0x5e5430>>>0x6*(0x3-_0x5ba634)&0x3f));var _0xc435b0=_0x18cafe[_0x430692(0x298)](0x40);if(_0xc435b0){for(;_0x1ea4d7[_0x430692(0x231)]%0x4;)_0x1ea4d7[_0x430692(0x2cc)](_0xc435b0);}return _0x1ea4d7[_0x430692(0x2b8)]('');},'parse':function(_0x2926c1){const _0x511fce=_0x537718;var _0x33088e=_0x2926c1[_0x511fce(0x231)],_0x1d4f9f=this[_0x511fce(0x372)],_0x821d6e=this[_0x511fce(0x5df)];if(!_0x821d6e){_0x821d6e=this[_0x511fce(0x5df)]=[];for(var _0xf6d7ad=0x0;_0xf6d7ad<_0x1d4f9f[_0x511fce(0x231)];_0xf6d7ad++)_0x821d6e[_0x1d4f9f[_0x511fce(0x38c)](_0xf6d7ad)]=_0xf6d7ad;}var _0x22fd6a=_0x1d4f9f[_0x511fce(0x298)](0x40);if(_0x22fd6a){var _0x5c8bf1=_0x2926c1[_0x511fce(0x4f9)](_0x22fd6a);_0x5c8bf1!==-0x1&&(_0x33088e=_0x5c8bf1);}return _0x27e2bc(_0x2926c1,_0x33088e,_0x821d6e);},'_map':_0x537718(0x2bf)};function _0x27e2bc(_0x472cb4,_0x29a4e3,_0x48d085){const _0x21221b=_0x537718;for(var _0x27b0cb=[],_0x43dd80=0x0,_0x109510=0x0;_0x109510<_0x29a4e3;_0x109510++)if(_0x109510%0x4){var _0x261504=_0x48d085[_0x472cb4['charCodeAt'](_0x109510-0x1)]<<_0x109510%0x4*0x2,_0x42f64a=_0x48d085[_0x472cb4[_0x21221b(0x38c)](_0x109510)]>>>0x6-_0x109510%0x4*0x2,_0x5eaec3=_0x261504|_0x42f64a;_0x27b0cb[_0x43dd80>>>0x2]|=_0x5eaec3<<0x18-_0x43dd80%0x4*0x8,_0x43dd80++;}return _0x48f5cd[_0x21221b(0x5b6)](_0x27b0cb,_0x43dd80);}}()),_0x47c62a[_0x590574(0x47e)][_0x590574(0x502)];}));}(Vt)),Vt['exports'];}var Gt={'exports':{}},Zs;function Fa(){const _0x573032=_0x1ff3c3;return Zs||(Zs=0x1,function(_0x3cdff3,_0xd1533e){(function(_0x16c7c3,_0x2749f6){_0x3cdff3['exports']=_0x2749f6(ue());}(Z,function(_0x401a43){const _0x39c40c=_0x304f;return function(_0xea63cb){const _0x45ea5c=_0x304f;var _0x110e14=_0x401a43,_0x333e3c=_0x110e14[_0x45ea5c(0x57d)],_0x43f870=_0x333e3c[_0x45ea5c(0x336)],_0x165ac2=_0x333e3c['Hasher'],_0x44dbab=_0x110e14[_0x45ea5c(0x2b5)],_0x51f98d=[];(function(){for(var _0x18e333=0x0;_0x18e333<0x40;_0x18e333++)_0x51f98d[_0x18e333]=_0xea63cb['abs'](_0xea63cb['sin'](_0x18e333+0x1))*0x100000000|0x0;}());var _0x169eb1=_0x44dbab[_0x45ea5c(0x4ed)]=_0x165ac2[_0x45ea5c(0x36c)]({'_doReset':function(){const _0x44c387=_0x45ea5c;this[_0x44c387(0x44b)]=new _0x43f870[(_0x44c387(0x40e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4d44d4,_0xbcb74d){const _0x40026e=_0x45ea5c;for(var _0x46801c=0x0;_0x46801c<0x10;_0x46801c++){var _0x1151a6=_0xbcb74d+_0x46801c,_0x1f7ef4=_0x4d44d4[_0x1151a6];_0x4d44d4[_0x1151a6]=(_0x1f7ef4<<0x8|_0x1f7ef4>>>0x18)&0xff00ff|(_0x1f7ef4<<0x18|_0x1f7ef4>>>0x8)&0xff00ff00;}var _0x5c33de=this[_0x40026e(0x44b)][_0x40026e(0x4d1)],_0x4701fc=_0x4d44d4[_0xbcb74d+0x0],_0x10cee9=_0x4d44d4[_0xbcb74d+0x1],_0x440cea=_0x4d44d4[_0xbcb74d+0x2],_0x5d1471=_0x4d44d4[_0xbcb74d+0x3],_0x39e870=_0x4d44d4[_0xbcb74d+0x4],_0x285340=_0x4d44d4[_0xbcb74d+0x5],_0x1c9297=_0x4d44d4[_0xbcb74d+0x6],_0x4887a3=_0x4d44d4[_0xbcb74d+0x7],_0x9efe76=_0x4d44d4[_0xbcb74d+0x8],_0x35f207=_0x4d44d4[_0xbcb74d+0x9],_0xdf8252=_0x4d44d4[_0xbcb74d+0xa],_0x9f10a=_0x4d44d4[_0xbcb74d+0xb],_0x5d80eb=_0x4d44d4[_0xbcb74d+0xc],_0x485715=_0x4d44d4[_0xbcb74d+0xd],_0x1436c3=_0x4d44d4[_0xbcb74d+0xe],_0x48619e=_0x4d44d4[_0xbcb74d+0xf],_0x2d3fdd=_0x5c33de[0x0],_0x35209d=_0x5c33de[0x1],_0x319c28=_0x5c33de[0x2],_0x4dbfac=_0x5c33de[0x3];_0x2d3fdd=_0x50f6f9(_0x2d3fdd,_0x35209d,_0x319c28,_0x4dbfac,_0x4701fc,0x7,_0x51f98d[0x0]),_0x4dbfac=_0x50f6f9(_0x4dbfac,_0x2d3fdd,_0x35209d,_0x319c28,_0x10cee9,0xc,_0x51f98d[0x1]),_0x319c28=_0x50f6f9(_0x319c28,_0x4dbfac,_0x2d3fdd,_0x35209d,_0x440cea,0x11,_0x51f98d[0x2]),_0x35209d=_0x50f6f9(_0x35209d,_0x319c28,_0x4dbfac,_0x2d3fdd,_0x5d1471,0x16,_0x51f98d[0x3]),_0x2d3fdd=_0x50f6f9(_0x2d3fdd,_0x35209d,_0x319c28,_0x4dbfac,_0x39e870,0x7,_0x51f98d[0x4]),_0x4dbfac=_0x50f6f9(_0x4dbfac,_0x2d3fdd,_0x35209d,_0x319c28,_0x285340,0xc,_0x51f98d[0x5]),_0x319c28=_0x50f6f9(_0x319c28,_0x4dbfac,_0x2d3fdd,_0x35209d,_0x1c9297,0x11,_0x51f98d[0x6]),_0x35209d=_0x50f6f9(_0x35209d,_0x319c28,_0x4dbfac,_0x2d3fdd,_0x4887a3,0x16,_0x51f98d[0x7]),_0x2d3fdd=_0x50f6f9(_0x2d3fdd,_0x35209d,_0x319c28,_0x4dbfac,_0x9efe76,0x7,_0x51f98d[0x8]),_0x4dbfac=_0x50f6f9(_0x4dbfac,_0x2d3fdd,_0x35209d,_0x319c28,_0x35f207,0xc,_0x51f98d[0x9]),_0x319c28=_0x50f6f9(_0x319c28,_0x4dbfac,_0x2d3fdd,_0x35209d,_0xdf8252,0x11,_0x51f98d[0xa]),_0x35209d=_0x50f6f9(_0x35209d,_0x319c28,_0x4dbfac,_0x2d3fdd,_0x9f10a,0x16,_0x51f98d[0xb]),_0x2d3fdd=_0x50f6f9(_0x2d3fdd,_0x35209d,_0x319c28,_0x4dbfac,_0x5d80eb,0x7,_0x51f98d[0xc]),_0x4dbfac=_0x50f6f9(_0x4dbfac,_0x2d3fdd,_0x35209d,_0x319c28,_0x485715,0xc,_0x51f98d[0xd]),_0x319c28=_0x50f6f9(_0x319c28,_0x4dbfac,_0x2d3fdd,_0x35209d,_0x1436c3,0x11,_0x51f98d[0xe]),_0x35209d=_0x50f6f9(_0x35209d,_0x319c28,_0x4dbfac,_0x2d3fdd,_0x48619e,0x16,_0x51f98d[0xf]),_0x2d3fdd=_0x37ef6f(_0x2d3fdd,_0x35209d,_0x319c28,_0x4dbfac,_0x10cee9,0x5,_0x51f98d[0x10]),_0x4dbfac=_0x37ef6f(_0x4dbfac,_0x2d3fdd,_0x35209d,_0x319c28,_0x1c9297,0x9,_0x51f98d[0x11]),_0x319c28=_0x37ef6f(_0x319c28,_0x4dbfac,_0x2d3fdd,_0x35209d,_0x9f10a,0xe,_0x51f98d[0x12]),_0x35209d=_0x37ef6f(_0x35209d,_0x319c28,_0x4dbfac,_0x2d3fdd,_0x4701fc,0x14,_0x51f98d[0x13]),_0x2d3fdd=_0x37ef6f(_0x2d3fdd,_0x35209d,_0x319c28,_0x4dbfac,_0x285340,0x5,_0x51f98d[0x14]),_0x4dbfac=_0x37ef6f(_0x4dbfac,_0x2d3fdd,_0x35209d,_0x319c28,_0xdf8252,0x9,_0x51f98d[0x15]),_0x319c28=_0x37ef6f(_0x319c28,_0x4dbfac,_0x2d3fdd,_0x35209d,_0x48619e,0xe,_0x51f98d[0x16]),_0x35209d=_0x37ef6f(_0x35209d,_0x319c28,_0x4dbfac,_0x2d3fdd,_0x39e870,0x14,_0x51f98d[0x17]),_0x2d3fdd=_0x37ef6f(_0x2d3fdd,_0x35209d,_0x319c28,_0x4dbfac,_0x35f207,0x5,_0x51f98d[0x18]),_0x4dbfac=_0x37ef6f(_0x4dbfac,_0x2d3fdd,_0x35209d,_0x319c28,_0x1436c3,0x9,_0x51f98d[0x19]),_0x319c28=_0x37ef6f(_0x319c28,_0x4dbfac,_0x2d3fdd,_0x35209d,_0x5d1471,0xe,_0x51f98d[0x1a]),_0x35209d=_0x37ef6f(_0x35209d,_0x319c28,_0x4dbfac,_0x2d3fdd,_0x9efe76,0x14,_0x51f98d[0x1b]),_0x2d3fdd=_0x37ef6f(_0x2d3fdd,_0x35209d,_0x319c28,_0x4dbfac,_0x485715,0x5,_0x51f98d[0x1c]),_0x4dbfac=_0x37ef6f(_0x4dbfac,_0x2d3fdd,_0x35209d,_0x319c28,_0x440cea,0x9,_0x51f98d[0x1d]),_0x319c28=_0x37ef6f(_0x319c28,_0x4dbfac,_0x2d3fdd,_0x35209d,_0x4887a3,0xe,_0x51f98d[0x1e]),_0x35209d=_0x37ef6f(_0x35209d,_0x319c28,_0x4dbfac,_0x2d3fdd,_0x5d80eb,0x14,_0x51f98d[0x1f]),_0x2d3fdd=_0x598485(_0x2d3fdd,_0x35209d,_0x319c28,_0x4dbfac,_0x285340,0x4,_0x51f98d[0x20]),_0x4dbfac=_0x598485(_0x4dbfac,_0x2d3fdd,_0x35209d,_0x319c28,_0x9efe76,0xb,_0x51f98d[0x21]),_0x319c28=_0x598485(_0x319c28,_0x4dbfac,_0x2d3fdd,_0x35209d,_0x9f10a,0x10,_0x51f98d[0x22]),_0x35209d=_0x598485(_0x35209d,_0x319c28,_0x4dbfac,_0x2d3fdd,_0x1436c3,0x17,_0x51f98d[0x23]),_0x2d3fdd=_0x598485(_0x2d3fdd,_0x35209d,_0x319c28,_0x4dbfac,_0x10cee9,0x4,_0x51f98d[0x24]),_0x4dbfac=_0x598485(_0x4dbfac,_0x2d3fdd,_0x35209d,_0x319c28,_0x39e870,0xb,_0x51f98d[0x25]),_0x319c28=_0x598485(_0x319c28,_0x4dbfac,_0x2d3fdd,_0x35209d,_0x4887a3,0x10,_0x51f98d[0x26]),_0x35209d=_0x598485(_0x35209d,_0x319c28,_0x4dbfac,_0x2d3fdd,_0xdf8252,0x17,_0x51f98d[0x27]),_0x2d3fdd=_0x598485(_0x2d3fdd,_0x35209d,_0x319c28,_0x4dbfac,_0x485715,0x4,_0x51f98d[0x28]),_0x4dbfac=_0x598485(_0x4dbfac,_0x2d3fdd,_0x35209d,_0x319c28,_0x4701fc,0xb,_0x51f98d[0x29]),_0x319c28=_0x598485(_0x319c28,_0x4dbfac,_0x2d3fdd,_0x35209d,_0x5d1471,0x10,_0x51f98d[0x2a]),_0x35209d=_0x598485(_0x35209d,_0x319c28,_0x4dbfac,_0x2d3fdd,_0x1c9297,0x17,_0x51f98d[0x2b]),_0x2d3fdd=_0x598485(_0x2d3fdd,_0x35209d,_0x319c28,_0x4dbfac,_0x35f207,0x4,_0x51f98d[0x2c]),_0x4dbfac=_0x598485(_0x4dbfac,_0x2d3fdd,_0x35209d,_0x319c28,_0x5d80eb,0xb,_0x51f98d[0x2d]),_0x319c28=_0x598485(_0x319c28,_0x4dbfac,_0x2d3fdd,_0x35209d,_0x48619e,0x10,_0x51f98d[0x2e]),_0x35209d=_0x598485(_0x35209d,_0x319c28,_0x4dbfac,_0x2d3fdd,_0x440cea,0x17,_0x51f98d[0x2f]),_0x2d3fdd=_0x539a71(_0x2d3fdd,_0x35209d,_0x319c28,_0x4dbfac,_0x4701fc,0x6,_0x51f98d[0x30]),_0x4dbfac=_0x539a71(_0x4dbfac,_0x2d3fdd,_0x35209d,_0x319c28,_0x4887a3,0xa,_0x51f98d[0x31]),_0x319c28=_0x539a71(_0x319c28,_0x4dbfac,_0x2d3fdd,_0x35209d,_0x1436c3,0xf,_0x51f98d[0x32]),_0x35209d=_0x539a71(_0x35209d,_0x319c28,_0x4dbfac,_0x2d3fdd,_0x285340,0x15,_0x51f98d[0x33]),_0x2d3fdd=_0x539a71(_0x2d3fdd,_0x35209d,_0x319c28,_0x4dbfac,_0x5d80eb,0x6,_0x51f98d[0x34]),_0x4dbfac=_0x539a71(_0x4dbfac,_0x2d3fdd,_0x35209d,_0x319c28,_0x5d1471,0xa,_0x51f98d[0x35]),_0x319c28=_0x539a71(_0x319c28,_0x4dbfac,_0x2d3fdd,_0x35209d,_0xdf8252,0xf,_0x51f98d[0x36]),_0x35209d=_0x539a71(_0x35209d,_0x319c28,_0x4dbfac,_0x2d3fdd,_0x10cee9,0x15,_0x51f98d[0x37]),_0x2d3fdd=_0x539a71(_0x2d3fdd,_0x35209d,_0x319c28,_0x4dbfac,_0x9efe76,0x6,_0x51f98d[0x38]),_0x4dbfac=_0x539a71(_0x4dbfac,_0x2d3fdd,_0x35209d,_0x319c28,_0x48619e,0xa,_0x51f98d[0x39]),_0x319c28=_0x539a71(_0x319c28,_0x4dbfac,_0x2d3fdd,_0x35209d,_0x1c9297,0xf,_0x51f98d[0x3a]),_0x35209d=_0x539a71(_0x35209d,_0x319c28,_0x4dbfac,_0x2d3fdd,_0x485715,0x15,_0x51f98d[0x3b]),_0x2d3fdd=_0x539a71(_0x2d3fdd,_0x35209d,_0x319c28,_0x4dbfac,_0x39e870,0x6,_0x51f98d[0x3c]),_0x4dbfac=_0x539a71(_0x4dbfac,_0x2d3fdd,_0x35209d,_0x319c28,_0x9f10a,0xa,_0x51f98d[0x3d]),_0x319c28=_0x539a71(_0x319c28,_0x4dbfac,_0x2d3fdd,_0x35209d,_0x440cea,0xf,_0x51f98d[0x3e]),_0x35209d=_0x539a71(_0x35209d,_0x319c28,_0x4dbfac,_0x2d3fdd,_0x35f207,0x15,_0x51f98d[0x3f]),_0x5c33de[0x0]=_0x5c33de[0x0]+_0x2d3fdd|0x0,_0x5c33de[0x1]=_0x5c33de[0x1]+_0x35209d|0x0,_0x5c33de[0x2]=_0x5c33de[0x2]+_0x319c28|0x0,_0x5c33de[0x3]=_0x5c33de[0x3]+_0x4dbfac|0x0;},'_doFinalize':function(){const _0x14c0bb=_0x45ea5c;var _0x19df90=this[_0x14c0bb(0x48a)],_0x2bc013=_0x19df90[_0x14c0bb(0x4d1)],_0x3baabb=this['_nDataBytes']*0x8,_0x145ca2=_0x19df90[_0x14c0bb(0x2db)]*0x8;_0x2bc013[_0x145ca2>>>0x5]|=0x80<<0x18-_0x145ca2%0x20;var _0x56f5b2=_0xea63cb[_0x14c0bb(0x214)](_0x3baabb/0x100000000),_0x548e68=_0x3baabb;_0x2bc013[(_0x145ca2+0x40>>>0x9<<0x4)+0xf]=(_0x56f5b2<<0x8|_0x56f5b2>>>0x18)&0xff00ff|(_0x56f5b2<<0x18|_0x56f5b2>>>0x8)&0xff00ff00,_0x2bc013[(_0x145ca2+0x40>>>0x9<<0x4)+0xe]=(_0x548e68<<0x8|_0x548e68>>>0x18)&0xff00ff|(_0x548e68<<0x18|_0x548e68>>>0x8)&0xff00ff00,_0x19df90[_0x14c0bb(0x2db)]=(_0x2bc013[_0x14c0bb(0x231)]+0x1)*0x4,this[_0x14c0bb(0x2ec)]();for(var _0x3fa309=this[_0x14c0bb(0x44b)],_0x45aa3a=_0x3fa309[_0x14c0bb(0x4d1)],_0x58a5b8=0x0;_0x58a5b8<0x4;_0x58a5b8++){var _0x4c8b97=_0x45aa3a[_0x58a5b8];_0x45aa3a[_0x58a5b8]=(_0x4c8b97<<0x8|_0x4c8b97>>>0x18)&0xff00ff|(_0x4c8b97<<0x18|_0x4c8b97>>>0x8)&0xff00ff00;}return _0x3fa309;},'clone':function(){const _0x136394=_0x45ea5c;var _0x1dd934=_0x165ac2['clone'][_0x136394(0x491)](this);return _0x1dd934[_0x136394(0x44b)]=this[_0x136394(0x44b)][_0x136394(0x4b9)](),_0x1dd934;}});function _0x50f6f9(_0xa3cfe5,_0x954b2a,_0x24a662,_0x3ad5d4,_0x54391c,_0x1b136e,_0x47cbfd){var _0x43186e=_0xa3cfe5+(_0x954b2a&_0x24a662|~_0x954b2a&_0x3ad5d4)+_0x54391c+_0x47cbfd;return(_0x43186e<<_0x1b136e|_0x43186e>>>0x20-_0x1b136e)+_0x954b2a;}function _0x37ef6f(_0x7ed0cb,_0x416a34,_0x4fc614,_0x3730cf,_0x3213f7,_0x2ed9cc,_0x44e483){var _0x5dd317=_0x7ed0cb+(_0x416a34&_0x3730cf|_0x4fc614&~_0x3730cf)+_0x3213f7+_0x44e483;return(_0x5dd317<<_0x2ed9cc|_0x5dd317>>>0x20-_0x2ed9cc)+_0x416a34;}function _0x598485(_0x26ac93,_0x3d8009,_0x2c3c69,_0x5bcffe,_0x15ec06,_0x536eb4,_0xb9562a){var _0x57dc29=_0x26ac93+(_0x3d8009^_0x2c3c69^_0x5bcffe)+_0x15ec06+_0xb9562a;return(_0x57dc29<<_0x536eb4|_0x57dc29>>>0x20-_0x536eb4)+_0x3d8009;}function _0x539a71(_0x4fb501,_0x495661,_0x510666,_0xec978b,_0x32cdd5,_0x39ed86,_0x2aa765){var _0x390ad1=_0x4fb501+(_0x510666^(_0x495661|~_0xec978b))+_0x32cdd5+_0x2aa765;return(_0x390ad1<<_0x39ed86|_0x390ad1>>>0x20-_0x39ed86)+_0x495661;}_0x110e14['MD5']=_0x165ac2['_createHelper'](_0x169eb1),_0x110e14[_0x45ea5c(0x441)]=_0x165ac2['_createHmacHelper'](_0x169eb1);}(Math),_0x401a43[_0x39c40c(0x4ed)];}));}(Gt)),Gt[_0x573032(0x4a6)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function Va(){const _0x2e6b07=_0x1ff3c3;return Qs||(Qs=0x1,function(_0x1c1515,_0x5b4d1e){(function(_0xabe758,_0xc8db74){const _0x28632b=_0x304f;_0x1c1515[_0x28632b(0x4a6)]=_0xc8db74(ue());}(Z,function(_0x1176b6){const _0x1fc3c4=_0x304f;return(function(){const _0x5f04c2=_0x304f;var _0x32748c=_0x1176b6,_0x13f5e8=_0x32748c[_0x5f04c2(0x57d)],_0x359b61=_0x13f5e8['WordArray'],_0x41b68f=_0x13f5e8[_0x5f04c2(0x3d5)],_0x16ee24=_0x32748c['algo'],_0x5c782f=[],_0x56e389=_0x16ee24['SHA1']=_0x41b68f[_0x5f04c2(0x36c)]({'_doReset':function(){const _0x2a5ac7=_0x5f04c2;this[_0x2a5ac7(0x44b)]=new _0x359b61[(_0x2a5ac7(0x40e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2b107e,_0x338379){const _0x41c59e=_0x5f04c2;for(var _0xfa0633=this['_hash'][_0x41c59e(0x4d1)],_0x256207=_0xfa0633[0x0],_0x4b03f1=_0xfa0633[0x1],_0x28232e=_0xfa0633[0x2],_0x13449d=_0xfa0633[0x3],_0x2f9217=_0xfa0633[0x4],_0x377dab=0x0;_0x377dab<0x50;_0x377dab++){if(_0x377dab<0x10)_0x5c782f[_0x377dab]=_0x2b107e[_0x338379+_0x377dab]|0x0;else{var _0x4a1030=_0x5c782f[_0x377dab-0x3]^_0x5c782f[_0x377dab-0x8]^_0x5c782f[_0x377dab-0xe]^_0x5c782f[_0x377dab-0x10];_0x5c782f[_0x377dab]=_0x4a1030<<0x1|_0x4a1030>>>0x1f;}var _0x1530cf=(_0x256207<<0x5|_0x256207>>>0x1b)+_0x2f9217+_0x5c782f[_0x377dab];_0x377dab<0x14?_0x1530cf+=(_0x4b03f1&_0x28232e|~_0x4b03f1&_0x13449d)+0x5a827999:_0x377dab<0x28?_0x1530cf+=(_0x4b03f1^_0x28232e^_0x13449d)+0x6ed9eba1:_0x377dab<0x3c?_0x1530cf+=(_0x4b03f1&_0x28232e|_0x4b03f1&_0x13449d|_0x28232e&_0x13449d)-0x70e44324:_0x1530cf+=(_0x4b03f1^_0x28232e^_0x13449d)-0x359d3e2a,_0x2f9217=_0x13449d,_0x13449d=_0x28232e,_0x28232e=_0x4b03f1<<0x1e|_0x4b03f1>>>0x2,_0x4b03f1=_0x256207,_0x256207=_0x1530cf;}_0xfa0633[0x0]=_0xfa0633[0x0]+_0x256207|0x0,_0xfa0633[0x1]=_0xfa0633[0x1]+_0x4b03f1|0x0,_0xfa0633[0x2]=_0xfa0633[0x2]+_0x28232e|0x0,_0xfa0633[0x3]=_0xfa0633[0x3]+_0x13449d|0x0,_0xfa0633[0x4]=_0xfa0633[0x4]+_0x2f9217|0x0;},'_doFinalize':function(){const _0x33058c=_0x5f04c2;var _0x4b8865=this[_0x33058c(0x48a)],_0x546628=_0x4b8865[_0x33058c(0x4d1)],_0x28bee8=this[_0x33058c(0x3b7)]*0x8,_0x4ba3d3=_0x4b8865[_0x33058c(0x2db)]*0x8;return _0x546628[_0x4ba3d3>>>0x5]|=0x80<<0x18-_0x4ba3d3%0x20,_0x546628[(_0x4ba3d3+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x28bee8/0x100000000),_0x546628[(_0x4ba3d3+0x40>>>0x9<<0x4)+0xf]=_0x28bee8,_0x4b8865['sigBytes']=_0x546628[_0x33058c(0x231)]*0x4,this[_0x33058c(0x2ec)](),this[_0x33058c(0x44b)];},'clone':function(){const _0xdc7bf2=_0x5f04c2;var _0x2ba539=_0x41b68f[_0xdc7bf2(0x4b9)][_0xdc7bf2(0x491)](this);return _0x2ba539[_0xdc7bf2(0x44b)]=this[_0xdc7bf2(0x44b)]['clone'](),_0x2ba539;}});_0x32748c[_0x5f04c2(0x381)]=_0x41b68f['_createHelper'](_0x56e389),_0x32748c['HmacSHA1']=_0x41b68f[_0x5f04c2(0x59d)](_0x56e389);}()),_0x1176b6[_0x1fc3c4(0x381)];}));}(Kt)),Kt[_0x2e6b07(0x4a6)];}var zt={'exports':{}},ei;function Ga(){const _0x4352e5=_0x1ff3c3;return ei||(ei=0x1,function(_0x3e587e,_0x16143f){(function(_0x3ef91c,_0x58cf76){const _0xc36772=_0x304f;_0x3e587e[_0xc36772(0x4a6)]=_0x58cf76(ue());}(Z,function(_0x1362ac){(function(){const _0x524f11=_0x304f;var _0x26614c=_0x1362ac,_0x188521=_0x26614c[_0x524f11(0x57d)],_0x264094=_0x188521[_0x524f11(0x337)],_0x33c5ae=_0x26614c[_0x524f11(0x47e)],_0x57f260=_0x33c5ae['Utf8'],_0x288313=_0x26614c[_0x524f11(0x2b5)];_0x288313['HMAC']=_0x264094['extend']({'init':function(_0x1c7ac6,_0x9ec4e6){const _0x10434c=_0x524f11;_0x1c7ac6=this[_0x10434c(0x1f1)]=new _0x1c7ac6['init'](),typeof _0x9ec4e6==_0x10434c(0x37a)&&(_0x9ec4e6=_0x57f260[_0x10434c(0x50f)](_0x9ec4e6));var _0x442f08=_0x1c7ac6[_0x10434c(0x37b)],_0x42497f=_0x442f08*0x4;_0x9ec4e6[_0x10434c(0x2db)]>_0x42497f&&(_0x9ec4e6=_0x1c7ac6[_0x10434c(0x524)](_0x9ec4e6)),_0x9ec4e6[_0x10434c(0x597)]();for(var _0x3e75e2=this[_0x10434c(0x414)]=_0x9ec4e6[_0x10434c(0x4b9)](),_0x257aab=this[_0x10434c(0x359)]=_0x9ec4e6[_0x10434c(0x4b9)](),_0x2f04d5=_0x3e75e2[_0x10434c(0x4d1)],_0x575719=_0x257aab[_0x10434c(0x4d1)],_0x4b9b26=0x0;_0x4b9b26<_0x442f08;_0x4b9b26++)_0x2f04d5[_0x4b9b26]^=0x5c5c5c5c,_0x575719[_0x4b9b26]^=0x36363636;_0x3e75e2[_0x10434c(0x2db)]=_0x257aab['sigBytes']=_0x42497f,this[_0x10434c(0x2f1)]();},'reset':function(){const _0x4bf97f=_0x524f11;var _0x63dbf5=this[_0x4bf97f(0x1f1)];_0x63dbf5[_0x4bf97f(0x2f1)](),_0x63dbf5[_0x4bf97f(0x25d)](this['_iKey']);},'update':function(_0xf21d66){const _0x206410=_0x524f11;return this[_0x206410(0x1f1)]['update'](_0xf21d66),this;},'finalize':function(_0x4e29d1){const _0x1c3157=_0x524f11;var _0x322081=this[_0x1c3157(0x1f1)],_0x41310e=_0x322081[_0x1c3157(0x524)](_0x4e29d1);_0x322081[_0x1c3157(0x2f1)]();var _0xfe5637=_0x322081[_0x1c3157(0x524)](this[_0x1c3157(0x414)][_0x1c3157(0x4b9)]()[_0x1c3157(0x41b)](_0x41310e));return _0xfe5637;}});}());}));}(zt)),zt[_0x4352e5(0x4a6)];}var ti;function Fi(){return ti||(ti=0x1,function(_0x395df7,_0x44c106){(function(_0x42c20c,_0x1b6cbd,_0x508bde){const _0x4563bc=_0x304f;_0x395df7[_0x4563bc(0x4a6)]=_0x1b6cbd(ue(),Va(),Ga());}(Z,function(_0x381b9c){const _0x3e973e=_0x304f;return(function(){const _0x54f66c=_0x304f;var _0x5248fa=_0x381b9c,_0x2b8b88=_0x5248fa[_0x54f66c(0x57d)],_0x350e32=_0x2b8b88[_0x54f66c(0x337)],_0x3d4c93=_0x2b8b88[_0x54f66c(0x336)],_0xc49643=_0x5248fa['algo'],_0x46d04d=_0xc49643[_0x54f66c(0x4ed)],_0x35905f=_0xc49643[_0x54f66c(0x2d1)]=_0x350e32[_0x54f66c(0x36c)]({'cfg':_0x350e32['extend']({'keySize':0x80/0x20,'hasher':_0x46d04d,'iterations':0x1}),'init':function(_0x5d0300){const _0x5bd8f3=_0x54f66c;this['cfg']=this[_0x5bd8f3(0x26a)][_0x5bd8f3(0x36c)](_0x5d0300);},'compute':function(_0x19b812,_0x9c38af){const _0x2984fe=_0x54f66c;for(var _0x385804,_0x3a4491=this[_0x2984fe(0x26a)],_0x168a85=_0x3a4491['hasher']['create'](),_0x1408cf=_0x3d4c93[_0x2984fe(0x5b6)](),_0x1df83=_0x1408cf[_0x2984fe(0x4d1)],_0x3c7506=_0x3a4491['keySize'],_0x47ca82=_0x3a4491['iterations'];_0x1df83['length']<_0x3c7506;){_0x385804&&_0x168a85[_0x2984fe(0x25d)](_0x385804),_0x385804=_0x168a85[_0x2984fe(0x25d)](_0x19b812)[_0x2984fe(0x524)](_0x9c38af),_0x168a85[_0x2984fe(0x2f1)]();for(var _0x20fa32=0x1;_0x20fa32<_0x47ca82;_0x20fa32++)_0x385804=_0x168a85[_0x2984fe(0x524)](_0x385804),_0x168a85[_0x2984fe(0x2f1)]();_0x1408cf[_0x2984fe(0x41b)](_0x385804);}return _0x1408cf[_0x2984fe(0x2db)]=_0x3c7506*0x4,_0x1408cf;}});_0x5248fa[_0x54f66c(0x2d1)]=function(_0x53dc76,_0x380f01,_0xbdc8c0){return _0x35905f['create'](_0xbdc8c0)['compute'](_0x53dc76,_0x380f01);};}()),_0x381b9c[_0x3e973e(0x2d1)];}));}(Yt)),Yt['exports'];}var qt={'exports':{}},si;function Vi(){const _0x1aba01=_0x1ff3c3;return si||(si=0x1,function(_0x43b10d,_0x1a21d0){(function(_0x1d443b,_0x59f026,_0x403997){_0x43b10d['exports']=_0x59f026(ue(),Fi());}(Z,function(_0x4b3276){_0x4b3276['lib']['Cipher']||function(_0x1795cd){const _0x2d42a2=_0x304f;var _0x514dd4=_0x4b3276,_0x156f35=_0x514dd4[_0x2d42a2(0x57d)],_0x373e48=_0x156f35[_0x2d42a2(0x337)],_0x1bbe5c=_0x156f35[_0x2d42a2(0x336)],_0x2407a8=_0x156f35['BufferedBlockAlgorithm'],_0x4c3ad0=_0x514dd4[_0x2d42a2(0x47e)];_0x4c3ad0[_0x2d42a2(0x5ac)];var _0x21f94d=_0x4c3ad0[_0x2d42a2(0x502)],_0x4a8e88=_0x514dd4[_0x2d42a2(0x2b5)],_0x55b8d4=_0x4a8e88[_0x2d42a2(0x2d1)],_0x508c71=_0x156f35[_0x2d42a2(0x5ef)]=_0x2407a8['extend']({'cfg':_0x373e48[_0x2d42a2(0x36c)](),'createEncryptor':function(_0x5a3d54,_0x307bd1){const _0x2f1900=_0x2d42a2;return this[_0x2f1900(0x5b6)](this['_ENC_XFORM_MODE'],_0x5a3d54,_0x307bd1);},'createDecryptor':function(_0x42f9cd,_0x2d84c2){const _0x20e113=_0x2d42a2;return this['create'](this[_0x20e113(0x35c)],_0x42f9cd,_0x2d84c2);},'init':function(_0x2cb123,_0x358f0e,_0x1627ed){const _0x81e4d4=_0x2d42a2;this['cfg']=this[_0x81e4d4(0x26a)][_0x81e4d4(0x36c)](_0x1627ed),this[_0x81e4d4(0x5a0)]=_0x2cb123,this[_0x81e4d4(0x58b)]=_0x358f0e,this[_0x81e4d4(0x2f1)]();},'reset':function(){const _0x4abf1b=_0x2d42a2;_0x2407a8[_0x4abf1b(0x2f1)][_0x4abf1b(0x491)](this),this[_0x4abf1b(0x548)]();},'process':function(_0x13f3d4){return this['_append'](_0x13f3d4),this['_process']();},'finalize':function(_0x356aec){const _0x5284f1=_0x2d42a2;_0x356aec&&this['_append'](_0x356aec);var _0x57a7e3=this[_0x5284f1(0x3f6)]();return _0x57a7e3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x28408e(_0x7d5875){const _0x5d49d2=_0x304f;return typeof _0x7d5875==_0x5d49d2(0x37a)?_0x9fc17:_0x3a2b77;}return function(_0x47f18c){return{'encrypt':function(_0x509519,_0xfa3098,_0x569637){const _0x92f07a=_0x304f;return _0x28408e(_0xfa3098)[_0x92f07a(0x390)](_0x47f18c,_0x509519,_0xfa3098,_0x569637);},'decrypt':function(_0x8fc060,_0x4fd76d,_0x394388){return _0x28408e(_0x4fd76d)['decrypt'](_0x47f18c,_0x8fc060,_0x4fd76d,_0x394388);}};};}())});_0x156f35[_0x2d42a2(0x506)]=_0x508c71[_0x2d42a2(0x36c)]({'_doFinalize':function(){const _0x31ccf1=_0x2d42a2;var _0x271ea8=this[_0x31ccf1(0x2ec)](!0x0);return _0x271ea8;},'blockSize':0x1});var _0x4b1f67=_0x514dd4[_0x2d42a2(0x478)]={},_0x51da85=_0x156f35[_0x2d42a2(0x514)]=_0x373e48[_0x2d42a2(0x36c)]({'createEncryptor':function(_0x2bf56a,_0x61515b){const _0x2b26e6=_0x2d42a2;return this[_0x2b26e6(0x508)]['create'](_0x2bf56a,_0x61515b);},'createDecryptor':function(_0x54943c,_0x4df3dd){const _0x1debae=_0x2d42a2;return this[_0x1debae(0x430)][_0x1debae(0x5b6)](_0x54943c,_0x4df3dd);},'init':function(_0x2d8dfa,_0x3c77d2){const _0xdf3b0a=_0x2d42a2;this[_0xdf3b0a(0x55b)]=_0x2d8dfa,this[_0xdf3b0a(0x362)]=_0x3c77d2;}}),_0xaf840c=_0x4b1f67[_0x2d42a2(0x220)]=(function(){const _0x37ebfe=_0x2d42a2;var _0x1a5f6e=_0x51da85[_0x37ebfe(0x36c)]();_0x1a5f6e['Encryptor']=_0x1a5f6e['extend']({'processBlock':function(_0x32f1d3,_0x4c8561){const _0x122e7a=_0x37ebfe;var _0x23ab00=this[_0x122e7a(0x55b)],_0x281eb0=_0x23ab00[_0x122e7a(0x37b)];_0x1580c9[_0x122e7a(0x491)](this,_0x32f1d3,_0x4c8561,_0x281eb0),_0x23ab00[_0x122e7a(0x566)](_0x32f1d3,_0x4c8561),this[_0x122e7a(0x314)]=_0x32f1d3[_0x122e7a(0x5f1)](_0x4c8561,_0x4c8561+_0x281eb0);}}),_0x1a5f6e[_0x37ebfe(0x430)]=_0x1a5f6e['extend']({'processBlock':function(_0xab2ab2,_0x421413){const _0x494b5b=_0x37ebfe;var _0x5e35cc=this[_0x494b5b(0x55b)],_0x550aa1=_0x5e35cc[_0x494b5b(0x37b)],_0x23be5c=_0xab2ab2[_0x494b5b(0x5f1)](_0x421413,_0x421413+_0x550aa1);_0x5e35cc[_0x494b5b(0x4aa)](_0xab2ab2,_0x421413),_0x1580c9['call'](this,_0xab2ab2,_0x421413,_0x550aa1),this[_0x494b5b(0x314)]=_0x23be5c;}});function _0x1580c9(_0x2fdc8b,_0x5013d3,_0x528df3){const _0x59eb0d=_0x37ebfe;var _0x4e9372,_0xe11b86=this[_0x59eb0d(0x362)];_0xe11b86?(_0x4e9372=_0xe11b86,this[_0x59eb0d(0x362)]=_0x1795cd):_0x4e9372=this[_0x59eb0d(0x314)];for(var _0x3c9778=0x0;_0x3c9778<_0x528df3;_0x3c9778++)_0x2fdc8b[_0x5013d3+_0x3c9778]^=_0x4e9372[_0x3c9778];}return _0x1a5f6e;}()),_0x37ec7c=_0x514dd4['pad']={},_0x2006bc=_0x37ec7c[_0x2d42a2(0x46b)]={'pad':function(_0x656117,_0x108e68){const _0xbf6bc9=_0x2d42a2;for(var _0x4c7f74=_0x108e68*0x4,_0x11cd27=_0x4c7f74-_0x656117['sigBytes']%_0x4c7f74,_0xc5a256=_0x11cd27<<0x18|_0x11cd27<<0x10|_0x11cd27<<0x8|_0x11cd27,_0x102321=[],_0x52505a=0x0;_0x52505a<_0x11cd27;_0x52505a+=0x4)_0x102321['push'](_0xc5a256);var _0x314b71=_0x1bbe5c['create'](_0x102321,_0x11cd27);_0x656117[_0xbf6bc9(0x41b)](_0x314b71);},'unpad':function(_0x1b8d24){const _0x31a2ae=_0x2d42a2;var _0x3c9133=_0x1b8d24['words'][_0x1b8d24[_0x31a2ae(0x2db)]-0x1>>>0x2]&0xff;_0x1b8d24[_0x31a2ae(0x2db)]-=_0x3c9133;}};_0x156f35[_0x2d42a2(0x384)]=_0x508c71['extend']({'cfg':_0x508c71['cfg'][_0x2d42a2(0x36c)]({'mode':_0xaf840c,'padding':_0x2006bc}),'reset':function(){const _0x40b773=_0x2d42a2;var _0x602e22;_0x508c71['reset'][_0x40b773(0x491)](this);var _0xce7477=this['cfg'],_0x3c467a=_0xce7477['iv'],_0x4dce0a=_0xce7477['mode'];this[_0x40b773(0x5a0)]==this['_ENC_XFORM_MODE']?_0x602e22=_0x4dce0a[_0x40b773(0x25f)]:(_0x602e22=_0x4dce0a[_0x40b773(0x587)],this[_0x40b773(0x21f)]=0x1),this[_0x40b773(0x560)]&&this['_mode']['__creator']==_0x602e22?this[_0x40b773(0x560)]['init'](this,_0x3c467a&&_0x3c467a[_0x40b773(0x4d1)]):(this[_0x40b773(0x560)]=_0x602e22[_0x40b773(0x491)](_0x4dce0a,this,_0x3c467a&&_0x3c467a[_0x40b773(0x4d1)]),this[_0x40b773(0x560)]['__creator']=_0x602e22);},'_doProcessBlock':function(_0x39170a,_0x487396){const _0x33e64d=_0x2d42a2;this[_0x33e64d(0x560)][_0x33e64d(0x49d)](_0x39170a,_0x487396);},'_doFinalize':function(){const _0x4046c5=_0x2d42a2;var _0xf69525,_0x3bb3c7=this['cfg'][_0x4046c5(0x535)];return this[_0x4046c5(0x5a0)]==this[_0x4046c5(0x20e)]?(_0x3bb3c7[_0x4046c5(0x232)](this[_0x4046c5(0x48a)],this[_0x4046c5(0x37b)]),_0xf69525=this[_0x4046c5(0x2ec)](!0x0)):(_0xf69525=this[_0x4046c5(0x2ec)](!0x0),_0x3bb3c7['unpad'](_0xf69525)),_0xf69525;},'blockSize':0x80/0x20});var _0x2affb7=_0x156f35[_0x2d42a2(0x4ff)]=_0x373e48[_0x2d42a2(0x36c)]({'init':function(_0x151456){this['mixIn'](_0x151456);},'toString':function(_0x407bb4){const _0x4c3b00=_0x2d42a2;return(_0x407bb4||this[_0x4c3b00(0x2a9)])[_0x4c3b00(0x504)](this);}}),_0x5b139e=_0x514dd4[_0x2d42a2(0x3db)]={},_0x510fa6=_0x5b139e[_0x2d42a2(0x272)]={'stringify':function(_0x77fe28){const _0x567bf4=_0x2d42a2;var _0x5aea08,_0x36cbc7=_0x77fe28[_0x567bf4(0x435)],_0x573b01=_0x77fe28[_0x567bf4(0x5c9)];return _0x573b01?_0x5aea08=_0x1bbe5c['create']([0x53616c74,0x65645f5f])[_0x567bf4(0x41b)](_0x573b01)['concat'](_0x36cbc7):_0x5aea08=_0x36cbc7,_0x5aea08[_0x567bf4(0x4fb)](_0x21f94d);},'parse':function(_0x67987b){const _0x406c83=_0x2d42a2;var _0x2cf5db,_0x42e8b2=_0x21f94d[_0x406c83(0x50f)](_0x67987b),_0xf4a07c=_0x42e8b2[_0x406c83(0x4d1)];return _0xf4a07c[0x0]==0x53616c74&&_0xf4a07c[0x1]==0x65645f5f&&(_0x2cf5db=_0x1bbe5c['create'](_0xf4a07c[_0x406c83(0x5f1)](0x2,0x4)),_0xf4a07c[_0x406c83(0x1f7)](0x0,0x4),_0x42e8b2['sigBytes']-=0x10),_0x2affb7['create']({'ciphertext':_0x42e8b2,'salt':_0x2cf5db});}},_0x3a2b77=_0x156f35[_0x2d42a2(0x4df)]=_0x373e48[_0x2d42a2(0x36c)]({'cfg':_0x373e48[_0x2d42a2(0x36c)]({'format':_0x510fa6}),'encrypt':function(_0x302300,_0x37b038,_0x39ae2e,_0x1270c7){const _0x42ef84=_0x2d42a2;_0x1270c7=this[_0x42ef84(0x26a)][_0x42ef84(0x36c)](_0x1270c7);var _0x40f1c3=_0x302300['createEncryptor'](_0x39ae2e,_0x1270c7),_0x29447d=_0x40f1c3['finalize'](_0x37b038),_0x5ed14a=_0x40f1c3[_0x42ef84(0x26a)];return _0x2affb7[_0x42ef84(0x5b6)]({'ciphertext':_0x29447d,'key':_0x39ae2e,'iv':_0x5ed14a['iv'],'algorithm':_0x302300,'mode':_0x5ed14a[_0x42ef84(0x478)],'padding':_0x5ed14a[_0x42ef84(0x535)],'blockSize':_0x302300[_0x42ef84(0x37b)],'formatter':_0x1270c7[_0x42ef84(0x3db)]});},'decrypt':function(_0x4fa371,_0x55c0bc,_0x5a2b74,_0x3dfea1){const _0x2fe6d6=_0x2d42a2;_0x3dfea1=this[_0x2fe6d6(0x26a)][_0x2fe6d6(0x36c)](_0x3dfea1),_0x55c0bc=this['_parse'](_0x55c0bc,_0x3dfea1[_0x2fe6d6(0x3db)]);var _0x1251e1=_0x4fa371['createDecryptor'](_0x5a2b74,_0x3dfea1)[_0x2fe6d6(0x524)](_0x55c0bc['ciphertext']);return _0x1251e1;},'_parse':function(_0x3350a0,_0x2a7a52){const _0x5222c0=_0x2d42a2;return typeof _0x3350a0=='string'?_0x2a7a52[_0x5222c0(0x50f)](_0x3350a0,this):_0x3350a0;}}),_0x550e14=_0x514dd4[_0x2d42a2(0x2a8)]={},_0xe72a82=_0x550e14['OpenSSL']={'execute':function(_0x454776,_0x48e7,_0x50c5fb,_0x2e6265,_0x13d7f9){const _0x5eb47b=_0x2d42a2;if(_0x2e6265||(_0x2e6265=_0x1bbe5c[_0x5eb47b(0x3ba)](0x40/0x8)),_0x13d7f9)var _0x22055a=_0x55b8d4[_0x5eb47b(0x5b6)]({'keySize':_0x48e7+_0x50c5fb,'hasher':_0x13d7f9})[_0x5eb47b(0x3ad)](_0x454776,_0x2e6265);else var _0x22055a=_0x55b8d4['create']({'keySize':_0x48e7+_0x50c5fb})['compute'](_0x454776,_0x2e6265);var _0x1116c7=_0x1bbe5c[_0x5eb47b(0x5b6)](_0x22055a[_0x5eb47b(0x4d1)][_0x5eb47b(0x5f1)](_0x48e7),_0x50c5fb*0x4);return _0x22055a['sigBytes']=_0x48e7*0x4,_0x2affb7[_0x5eb47b(0x5b6)]({'key':_0x22055a,'iv':_0x1116c7,'salt':_0x2e6265});}},_0x9fc17=_0x156f35['PasswordBasedCipher']=_0x3a2b77[_0x2d42a2(0x36c)]({'cfg':_0x3a2b77[_0x2d42a2(0x26a)]['extend']({'kdf':_0xe72a82}),'encrypt':function(_0x10bd87,_0x99d4cb,_0x2b5447,_0x45c8b1){const _0xd3e424=_0x2d42a2;_0x45c8b1=this[_0xd3e424(0x26a)][_0xd3e424(0x36c)](_0x45c8b1);var _0x5600b2=_0x45c8b1[_0xd3e424(0x2a8)][_0xd3e424(0x31e)](_0x2b5447,_0x10bd87[_0xd3e424(0x2e1)],_0x10bd87[_0xd3e424(0x222)],_0x45c8b1[_0xd3e424(0x5c9)],_0x45c8b1[_0xd3e424(0x239)]);_0x45c8b1['iv']=_0x5600b2['iv'];var _0x17c537=_0x3a2b77[_0xd3e424(0x390)][_0xd3e424(0x491)](this,_0x10bd87,_0x99d4cb,_0x5600b2[_0xd3e424(0x352)],_0x45c8b1);return _0x17c537[_0xd3e424(0x20a)](_0x5600b2),_0x17c537;},'decrypt':function(_0x302e61,_0x55ea18,_0x21b1e7,_0x3e74d2){const _0x3dd84c=_0x2d42a2;_0x3e74d2=this['cfg']['extend'](_0x3e74d2),_0x55ea18=this[_0x3dd84c(0x28a)](_0x55ea18,_0x3e74d2[_0x3dd84c(0x3db)]);var _0x30ad1f=_0x3e74d2[_0x3dd84c(0x2a8)][_0x3dd84c(0x31e)](_0x21b1e7,_0x302e61[_0x3dd84c(0x2e1)],_0x302e61[_0x3dd84c(0x222)],_0x55ea18[_0x3dd84c(0x5c9)],_0x3e74d2['hasher']);_0x3e74d2['iv']=_0x30ad1f['iv'];var _0x2db1e7=_0x3a2b77['decrypt'][_0x3dd84c(0x491)](this,_0x302e61,_0x55ea18,_0x30ad1f['key'],_0x3e74d2);return _0x2db1e7;}});}();}));}(qt)),qt[_0x1aba01(0x4a6)];}(function(_0x3be529,_0xaa8b55){(function(_0x55fa68,_0x1d9dcc,_0x496c51){_0x3be529['exports']=_0x1d9dcc(ue(),Wi(),Fa(),Fi(),Vi());}(Z,function(_0x171645){const _0x15827c=_0x304f;return(function(){const _0x4369f7=_0x304f;var _0x21fb3e=_0x171645,_0xac6f0=_0x21fb3e[_0x4369f7(0x57d)],_0x2fee38=_0xac6f0[_0x4369f7(0x384)],_0x4ed34a=_0x21fb3e[_0x4369f7(0x2b5)],_0x105bf7=[],_0x30faf1=[],_0x7f34e1=[],_0x29c1d0=[],_0x2667e8=[],_0xf52529=[],_0x57f73a=[],_0x852f6e=[],_0x5595a7=[],_0x3bd86f=[];(function(){for(var _0x290c5d=[],_0x1dbc03=0x0;_0x1dbc03<0x100;_0x1dbc03++)_0x1dbc03<0x80?_0x290c5d[_0x1dbc03]=_0x1dbc03<<0x1:_0x290c5d[_0x1dbc03]=_0x1dbc03<<0x1^0x11b;for(var _0x57ab71=0x0,_0x9a0a96=0x0,_0x1dbc03=0x0;_0x1dbc03<0x100;_0x1dbc03++){var _0x40827e=_0x9a0a96^_0x9a0a96<<0x1^_0x9a0a96<<0x2^_0x9a0a96<<0x3^_0x9a0a96<<0x4;_0x40827e=_0x40827e>>>0x8^_0x40827e&0xff^0x63,_0x105bf7[_0x57ab71]=_0x40827e,_0x30faf1[_0x40827e]=_0x57ab71;var _0x3a29c0=_0x290c5d[_0x57ab71],_0x36edf7=_0x290c5d[_0x3a29c0],_0x193260=_0x290c5d[_0x36edf7],_0x57b851=_0x290c5d[_0x40827e]*0x101^_0x40827e*0x1010100;_0x7f34e1[_0x57ab71]=_0x57b851<<0x18|_0x57b851>>>0x8,_0x29c1d0[_0x57ab71]=_0x57b851<<0x10|_0x57b851>>>0x10,_0x2667e8[_0x57ab71]=_0x57b851<<0x8|_0x57b851>>>0x18,_0xf52529[_0x57ab71]=_0x57b851;var _0x57b851=_0x193260*0x1010101^_0x36edf7*0x10001^_0x3a29c0*0x101^_0x57ab71*0x1010100;_0x57f73a[_0x40827e]=_0x57b851<<0x18|_0x57b851>>>0x8,_0x852f6e[_0x40827e]=_0x57b851<<0x10|_0x57b851>>>0x10,_0x5595a7[_0x40827e]=_0x57b851<<0x8|_0x57b851>>>0x18,_0x3bd86f[_0x40827e]=_0x57b851,_0x57ab71?(_0x57ab71=_0x3a29c0^_0x290c5d[_0x290c5d[_0x290c5d[_0x193260^_0x3a29c0]]],_0x9a0a96^=_0x290c5d[_0x290c5d[_0x9a0a96]]):_0x57ab71=_0x9a0a96=0x1;}}());var _0x34e298=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x670e10=_0x4ed34a[_0x4369f7(0x5d2)]=_0x2fee38[_0x4369f7(0x36c)]({'_doReset':function(){const _0xf040d0=_0x4369f7;var _0x3a5a38;if(!(this[_0xf040d0(0x542)]&&this[_0xf040d0(0x22e)]===this[_0xf040d0(0x58b)])){for(var _0x5cecd3=this[_0xf040d0(0x22e)]=this[_0xf040d0(0x58b)],_0x3fcbf3=_0x5cecd3[_0xf040d0(0x4d1)],_0x3499c9=_0x5cecd3[_0xf040d0(0x2db)]/0x4,_0x3ad36a=this[_0xf040d0(0x542)]=_0x3499c9+0x6,_0x440c14=(_0x3ad36a+0x1)*0x4,_0x540d60=this[_0xf040d0(0x208)]=[],_0x23bdf9=0x0;_0x23bdf9<_0x440c14;_0x23bdf9++)_0x23bdf9<_0x3499c9?_0x540d60[_0x23bdf9]=_0x3fcbf3[_0x23bdf9]:(_0x3a5a38=_0x540d60[_0x23bdf9-0x1],_0x23bdf9%_0x3499c9?_0x3499c9>0x6&&_0x23bdf9%_0x3499c9==0x4&&(_0x3a5a38=_0x105bf7[_0x3a5a38>>>0x18]<<0x18|_0x105bf7[_0x3a5a38>>>0x10&0xff]<<0x10|_0x105bf7[_0x3a5a38>>>0x8&0xff]<<0x8|_0x105bf7[_0x3a5a38&0xff]):(_0x3a5a38=_0x3a5a38<<0x8|_0x3a5a38>>>0x18,_0x3a5a38=_0x105bf7[_0x3a5a38>>>0x18]<<0x18|_0x105bf7[_0x3a5a38>>>0x10&0xff]<<0x10|_0x105bf7[_0x3a5a38>>>0x8&0xff]<<0x8|_0x105bf7[_0x3a5a38&0xff],_0x3a5a38^=_0x34e298[_0x23bdf9/_0x3499c9|0x0]<<0x18),_0x540d60[_0x23bdf9]=_0x540d60[_0x23bdf9-_0x3499c9]^_0x3a5a38);for(var _0x75ae7=this['_invKeySchedule']=[],_0xbd837e=0x0;_0xbd837e<_0x440c14;_0xbd837e++){var _0x23bdf9=_0x440c14-_0xbd837e;if(_0xbd837e%0x4)var _0x3a5a38=_0x540d60[_0x23bdf9];else var _0x3a5a38=_0x540d60[_0x23bdf9-0x4];_0xbd837e<0x4||_0x23bdf9<=0x4?_0x75ae7[_0xbd837e]=_0x3a5a38:_0x75ae7[_0xbd837e]=_0x57f73a[_0x105bf7[_0x3a5a38>>>0x18]]^_0x852f6e[_0x105bf7[_0x3a5a38>>>0x10&0xff]]^_0x5595a7[_0x105bf7[_0x3a5a38>>>0x8&0xff]]^_0x3bd86f[_0x105bf7[_0x3a5a38&0xff]];}}},'encryptBlock':function(_0x3a8bde,_0x2baac7){const _0x327cfe=_0x4369f7;this[_0x327cfe(0x26d)](_0x3a8bde,_0x2baac7,this[_0x327cfe(0x208)],_0x7f34e1,_0x29c1d0,_0x2667e8,_0xf52529,_0x105bf7);},'decryptBlock':function(_0x17fa7c,_0x15e70f){const _0x283fbf=_0x4369f7;var _0x1d2176=_0x17fa7c[_0x15e70f+0x1];_0x17fa7c[_0x15e70f+0x1]=_0x17fa7c[_0x15e70f+0x3],_0x17fa7c[_0x15e70f+0x3]=_0x1d2176,this[_0x283fbf(0x26d)](_0x17fa7c,_0x15e70f,this[_0x283fbf(0x494)],_0x57f73a,_0x852f6e,_0x5595a7,_0x3bd86f,_0x30faf1);var _0x1d2176=_0x17fa7c[_0x15e70f+0x1];_0x17fa7c[_0x15e70f+0x1]=_0x17fa7c[_0x15e70f+0x3],_0x17fa7c[_0x15e70f+0x3]=_0x1d2176;},'_doCryptBlock':function(_0x4e528c,_0x51b495,_0x595aac,_0x8a8a09,_0x44a7c6,_0x520b09,_0x3bbb9d,_0xb81b25){const _0x563b1b=_0x4369f7;for(var _0x278468=this[_0x563b1b(0x542)],_0x34614f=_0x4e528c[_0x51b495]^_0x595aac[0x0],_0x5b2beb=_0x4e528c[_0x51b495+0x1]^_0x595aac[0x1],_0x3f5420=_0x4e528c[_0x51b495+0x2]^_0x595aac[0x2],_0x2b773a=_0x4e528c[_0x51b495+0x3]^_0x595aac[0x3],_0x5833cd=0x4,_0x277b41=0x1;_0x277b41<_0x278468;_0x277b41++){var _0x248204=_0x8a8a09[_0x34614f>>>0x18]^_0x44a7c6[_0x5b2beb>>>0x10&0xff]^_0x520b09[_0x3f5420>>>0x8&0xff]^_0x3bbb9d[_0x2b773a&0xff]^_0x595aac[_0x5833cd++],_0x57aa71=_0x8a8a09[_0x5b2beb>>>0x18]^_0x44a7c6[_0x3f5420>>>0x10&0xff]^_0x520b09[_0x2b773a>>>0x8&0xff]^_0x3bbb9d[_0x34614f&0xff]^_0x595aac[_0x5833cd++],_0x459337=_0x8a8a09[_0x3f5420>>>0x18]^_0x44a7c6[_0x2b773a>>>0x10&0xff]^_0x520b09[_0x34614f>>>0x8&0xff]^_0x3bbb9d[_0x5b2beb&0xff]^_0x595aac[_0x5833cd++],_0x6f2a2e=_0x8a8a09[_0x2b773a>>>0x18]^_0x44a7c6[_0x34614f>>>0x10&0xff]^_0x520b09[_0x5b2beb>>>0x8&0xff]^_0x3bbb9d[_0x3f5420&0xff]^_0x595aac[_0x5833cd++];_0x34614f=_0x248204,_0x5b2beb=_0x57aa71,_0x3f5420=_0x459337,_0x2b773a=_0x6f2a2e;}var _0x248204=(_0xb81b25[_0x34614f>>>0x18]<<0x18|_0xb81b25[_0x5b2beb>>>0x10&0xff]<<0x10|_0xb81b25[_0x3f5420>>>0x8&0xff]<<0x8|_0xb81b25[_0x2b773a&0xff])^_0x595aac[_0x5833cd++],_0x57aa71=(_0xb81b25[_0x5b2beb>>>0x18]<<0x18|_0xb81b25[_0x3f5420>>>0x10&0xff]<<0x10|_0xb81b25[_0x2b773a>>>0x8&0xff]<<0x8|_0xb81b25[_0x34614f&0xff])^_0x595aac[_0x5833cd++],_0x459337=(_0xb81b25[_0x3f5420>>>0x18]<<0x18|_0xb81b25[_0x2b773a>>>0x10&0xff]<<0x10|_0xb81b25[_0x34614f>>>0x8&0xff]<<0x8|_0xb81b25[_0x5b2beb&0xff])^_0x595aac[_0x5833cd++],_0x6f2a2e=(_0xb81b25[_0x2b773a>>>0x18]<<0x18|_0xb81b25[_0x34614f>>>0x10&0xff]<<0x10|_0xb81b25[_0x5b2beb>>>0x8&0xff]<<0x8|_0xb81b25[_0x3f5420&0xff])^_0x595aac[_0x5833cd++];_0x4e528c[_0x51b495]=_0x248204,_0x4e528c[_0x51b495+0x1]=_0x57aa71,_0x4e528c[_0x51b495+0x2]=_0x459337,_0x4e528c[_0x51b495+0x3]=_0x6f2a2e;},'keySize':0x100/0x20});_0x21fb3e['AES']=_0x2fee38[_0x4369f7(0x43a)](_0x670e10);}()),_0x171645[_0x15827c(0x5d2)];}));}(ki));var Ya=ki[_0x1ff3c3(0x4a6)];const Ka=at(Ya);var za=Wi();const ii=at(za);var Gi={'exports':{}};(function(_0xb989d9,_0x3bf219){(function(_0x288ad2,_0x2c2f87){const _0x56a5d2=_0x304f;_0xb989d9[_0x56a5d2(0x4a6)]=_0x2c2f87(ue());}(Z,function(_0x310ba9){const _0x50d70b=_0x304f;return _0x310ba9[_0x50d70b(0x47e)][_0x50d70b(0x5ac)];}));}(Gi));var qa=Gi[_0x1ff3c3(0x4a6)];const Xa=at(qa);var Yi={'exports':{}};(function(_0x4d0f96,_0x21d21a){(function(_0x53d67d,_0x292423){_0x4d0f96['exports']=_0x292423(ue());}(Z,function(_0x14e7cf){const _0x4a0740=_0x304f;return(function(){const _0x240b58=_0x304f;if(typeof ArrayBuffer=='function'){var _0x297b4d=_0x14e7cf,_0x4ed04e=_0x297b4d[_0x240b58(0x57d)],_0x578ad8=_0x4ed04e['WordArray'],_0xc0e997=_0x578ad8[_0x240b58(0x40e)],_0x1ff80c=_0x578ad8[_0x240b58(0x40e)]=function(_0x16ba16){const _0x4e62de=_0x240b58;if(_0x16ba16 instanceof ArrayBuffer&&(_0x16ba16=new Uint8Array(_0x16ba16)),(_0x16ba16 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x16ba16 instanceof Uint8ClampedArray||_0x16ba16 instanceof Int16Array||_0x16ba16 instanceof Uint16Array||_0x16ba16 instanceof Int32Array||_0x16ba16 instanceof Uint32Array||_0x16ba16 instanceof Float32Array||_0x16ba16 instanceof Float64Array)&&(_0x16ba16=new Uint8Array(_0x16ba16[_0x4e62de(0x562)],_0x16ba16[_0x4e62de(0x547)],_0x16ba16['byteLength'])),_0x16ba16 instanceof Uint8Array){for(var _0x4851e7=_0x16ba16[_0x4e62de(0x493)],_0x388bca=[],_0x218369=0x0;_0x218369<_0x4851e7;_0x218369++)_0x388bca[_0x218369>>>0x2]|=_0x16ba16[_0x218369]<<0x18-_0x218369%0x4*0x8;_0xc0e997[_0x4e62de(0x491)](this,_0x388bca,_0x4851e7);}else _0xc0e997[_0x4e62de(0x2a1)](this,arguments);};_0x1ff80c[_0x240b58(0x26b)]=_0x578ad8;}}()),_0x14e7cf[_0x4a0740(0x57d)][_0x4a0740(0x336)];}));}(Yi));var Ja=Yi[_0x1ff3c3(0x4a6)];const Za=at(Ja);var Ki={'exports':{}};(function(_0x572afc,_0x2788bd){(function(_0x5a832f,_0x1e503b,_0x262fb9){const _0x5ee8be=_0x304f;_0x572afc[_0x5ee8be(0x4a6)]=_0x1e503b(ue(),Vi());}(Z,function(_0x4a4310){const _0x29df23=_0x304f;return _0x4a4310[_0x29df23(0x232)][_0x29df23(0x3ec)]={'pad':function(){},'unpad':function(){}},_0x4a4310[_0x29df23(0x232)][_0x29df23(0x3ec)];}));}(Ki));var Qa=Ki[_0x1ff3c3(0x4a6)];const ec=at(Qa);function tc(_0x14fdb9,_0x1825e7){const _0x52f319=_0x1ff3c3,_0x642433=_0x1825e7-_0x14fdb9[_0x52f319(0x231)]%_0x1825e7,_0x5c1a76=String[_0x52f319(0x29b)](_0x642433)[_0x52f319(0x2c3)](_0x642433);return _0x14fdb9+_0x5c1a76;}function sc(_0x260ec0,_0x359502){const _0x30de1f=_0x1ff3c3,_0xbe4d64=Za[_0x30de1f(0x3ba)](0x10),_0x19c461=tc(_0x260ec0,0x10),_0x443559=Ka[_0x30de1f(0x390)](Xa[_0x30de1f(0x50f)](_0x19c461),ii[_0x30de1f(0x50f)](_0x359502),{'iv':_0xbe4d64,'padding':ec});return _0xbe4d64[_0x30de1f(0x41b)](_0x443559[_0x30de1f(0x435)])[_0x30de1f(0x4fb)](ii);}function ic(){const _0x9f9246=_0x1ff3c3,_0x3540bc=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x3540bc){const _0x3aa11a={'time':Math[_0x9f9246(0x214)](Date[_0x9f9246(0x5e9)]()/0x3e8),'domain':location[_0x9f9246(0x461)]};return sc(JSON[_0x9f9246(0x504)](_0x3aa11a),_0x3540bc);}}var nc=Object[_0x1ff3c3(0x39f)],rc=Object[_0x1ff3c3(0x3b5)],oc=(_0x2c181f,_0xb7ca25,_0x575b21,_0x6216f6)=>{for(var _0x2aec89=_0x6216f6>0x1?void 0x0:_0x6216f6?rc(_0xb7ca25,_0x575b21):_0xb7ca25,_0x147801=_0x2c181f['length']-0x1,_0x4b0c20;_0x147801>=0x0;_0x147801--)(_0x4b0c20=_0x2c181f[_0x147801])&&(_0x2aec89=(_0x6216f6?_0x4b0c20(_0xb7ca25,_0x575b21,_0x2aec89):_0x4b0c20(_0x2aec89))||_0x2aec89);return _0x6216f6&&_0x2aec89&&nc(_0xb7ca25,_0x575b21,_0x2aec89),_0x2aec89;},ac=(_0x2a043b,_0x38869d)=>(_0x57b10d,_0x5a6b43)=>_0x38869d(_0x57b10d,_0x5a6b43,_0x2a043b);let bt=class{constructor(_0xc5b9bc){const _0xff7645=_0x1ff3c3;this[_0xff7645(0x2a3)]=_0xc5b9bc,this[_0xff7645(0x462)]();}[_0x1ff3c3(0x462)](){const _0x4b2f28=_0x1ff3c3;this[_0x4b2f28(0x2a3)][_0x4b2f28(0x58d)]({'interceptor':(_0x561ec3,_0x5461b5)=>{const _0x1c9b48=_0x4b2f28,_0x4f6a15=_0x561ec3[_0x1c9b48(0x445)],_0x40b70d=ic();return _0x40b70d&&_0x4f6a15[_0x1c9b48(0x403)](_0x1c9b48(0x48e),_0x40b70d),_0x5461b5(_0x561ec3);}});}};bt=oc([ac(0x0,_0x4ca429(_0x5d3d37))],bt);var cc=Object[_0x1ff3c3(0x39f)],hc=Object['getOwnPropertyDescriptor'],lc=(_0x179fc6,_0x32acff,_0x14ffc5,_0x20504a)=>{const _0x3b0e35=_0x1ff3c3;for(var _0x3555a8=_0x20504a>0x1?void 0x0:_0x20504a?hc(_0x32acff,_0x14ffc5):_0x32acff,_0x375a08=_0x179fc6[_0x3b0e35(0x231)]-0x1,_0x58fdca;_0x375a08>=0x0;_0x375a08--)(_0x58fdca=_0x179fc6[_0x375a08])&&(_0x3555a8=(_0x20504a?_0x58fdca(_0x32acff,_0x14ffc5,_0x3555a8):_0x58fdca(_0x3555a8))||_0x3555a8);return _0x20504a&&_0x3555a8&&cc(_0x32acff,_0x14ffc5,_0x3555a8),_0x3555a8;},Xt=(_0x135864,_0x2d58fc)=>(_0x474c3f,_0x3d23e3)=>_0x2d58fc(_0x474c3f,_0x3d23e3,_0x135864);const _c=['image/png',_0x1ff3c3(0x527),_0x1ff3c3(0x33c),'image/gif',_0x1ff3c3(0x30c)],uc=0x5*0x400*0x400,dc=_0x1ff3c3(0x2f7),fc=_0x1ff3c3(0x416),vc=_0x1ff3c3(0x39c),mc=_0x1ff3c3(0x2da);let hs=class{constructor(_0x23ef3d,_0x18749a,_0x537f7f){const _0x12b4d5=_0x1ff3c3;g(this,_0x12b4d5(0x505),0x0),g(this,'_change$',new _0x50f7a0()),g(this,_0x12b4d5(0x2c5),this['_change$']),g(this,_0x12b4d5(0x5e7),new Map()),(this[_0x12b4d5(0x2a3)]=_0x23ef3d,this[_0x12b4d5(0x2b0)]=_0x18749a,this[_0x12b4d5(0x4d6)]=_0x537f7f);}[_0x1ff3c3(0x412)](_0x2c6fa4){const _0x4bf8ff=_0x1ff3c3;this['_waitCount']=_0x2c6fa4,this[_0x4bf8ff(0x255)][_0x4bf8ff(0x453)](_0x2c6fa4);}[_0x1ff3c3(0x365)](_0x62c17b,_0x3cf9c0){const _0xd20b3c=_0x1ff3c3;if(_0x3cf9c0===_0x177b23[_0xd20b3c(0x4fe)]){const _0xd7ad7e=new Image();return _0xd7ad7e['src']=_0x62c17b,_0xd7ad7e;}return this['_imageSourceCache'][_0xd20b3c(0x27e)](_0x62c17b);}['addImageSourceCache'](_0x355eda,_0x2ec359,_0xefe590){const _0x219b42=_0x1ff3c3;_0x2ec359===_0x177b23[_0x219b42(0x4fe)]||_0xefe590==null||this['_imageSourceCache']['set'](_0x355eda,_0xefe590);}async[_0x1ff3c3(0x56e)](_0x5368d9){const _0x14f865=_0x1ff3c3;try{const _0x3073b7=this['_replaceFileID'](this[_0x14f865(0x225)](),''+_0x5368d9),_0x790efd=(await this[_0x14f865(0x2a3)][_0x14f865(0x27e)](_0x3073b7))[_0x14f865(0x4ef)];if(_0x790efd[_0x14f865(0x495)]&&_0x790efd[_0x14f865(0x495)][_0x14f865(0x421)]===Ri['OK']){const _0x25871a=new URL(_0x790efd[_0x14f865(0x2f9)],this['_getDownloadEndpointURL']())[_0x14f865(0x4fb)]();return Promise['resolve'](_0x25871a);}return Promise[_0x14f865(0x3c0)](_0x790efd[_0x14f865(0x495)]);}catch(_0x48f7ce){return Promise[_0x14f865(0x3c0)](_0x48f7ce);}}async[_0x1ff3c3(0x315)](_0x498d45){const _0x5a844b=_0x1ff3c3;let _0x240753='';if(!_c['includes'](_0x498d45[_0x5a844b(0x5a4)]))return this[_0x5a844b(0x241)](),Promise[_0x5a844b(0x3c0)](new Error(_0x31eca5[_0x5a844b(0x417)]));if(_0x498d45[_0x5a844b(0x51e)]>uc)return this[_0x5a844b(0x241)](),Promise[_0x5a844b(0x3c0)](new Error(_0x31eca5['ERROR_EXCEED_SIZE']));try{const _0x5b65dc=new FormData();_0x5b65dc[_0x5a844b(0x40c)](_0x5a844b(0x51f),_0x498d45);const _0x86f44d=this['_univerInstanceService'][_0x5a844b(0x1f9)](),_0x3c18ef=_0x86f44d==null?void 0x0:_0x86f44d[_0x5a844b(0x41c)]();if(!_0x3c18ef)throw new Error('unitId\x20is\x20not\x20found');const _0x5c0619=this[_0x5a844b(0x265)]()+_0x5a844b(0x4d9)+_0x498d45[_0x5a844b(0x51e)]['toString']()+_0x5a844b(0x3a5)+yi[_0x5a844b(0x539)]+_0x5a844b(0x3b4)+encodeURIComponent(_0x3c18ef),_0x51a93f=await(await fetch(_0x5c0619,{'method':'POST','body':_0x5b65dc}))[_0x5a844b(0x438)]();if(typeof _0x51a93f[_0x5a844b(0x596)]!='string')return this[_0x5a844b(0x241)](),Promise['reject'](new Error(_0x31eca5[_0x5a844b(0x2e8)]));_0x240753=_0x51a93f[_0x5a844b(0x596)];}catch{return this[_0x5a844b(0x241)](),Promise[_0x5a844b(0x3c0)](new Error(_0x31eca5[_0x5a844b(0x2e8)]));}return new Promise((_0x398f67,_0x2d41ee)=>{const _0xc8fe8a=_0x5a844b,_0x3bf2b8=new FileReader();_0x3bf2b8[_0xc8fe8a(0x588)](_0x498d45),_0x3bf2b8[_0xc8fe8a(0x29f)]=_0x5a898b=>{const _0x38f54f=_0xc8fe8a;var _0xfbb08;const _0x285050=(_0xfbb08=_0x5a898b['target'])==null?void 0x0:_0xfbb08[_0x38f54f(0x565)];if(_0x285050==null){this[_0x38f54f(0x241)](),_0x2d41ee(new Error(_0x31eca5[_0x38f54f(0x2e8)]));return;}const _0x5665e6=_0x4dc572[_0x38f54f(0x523)](0x6);_0x398f67({'imageId':_0x5665e6,'imageSourceType':_0x177b23[_0x38f54f(0x48d)],'source':_0x240753,'base64Cache':_0x285050,'status':_0x31eca5[_0x38f54f(0x569)]}),this[_0x38f54f(0x241)]();};});}[_0x1ff3c3(0x265)](){const _0x40d203=_0x1ff3c3;var _0x158110,_0x5406c6;const _0x4dbe01=this[_0x40d203(0x2b0)][_0x40d203(0x35a)](dc),_0x4c534d=this[_0x40d203(0x2b0)][_0x40d203(0x35a)](ie);return(_0x5406c6=(_0x158110=_0x4c534d==null?void 0x0:_0x4c534d['uploadFileServerUrl'])!=null?_0x158110:_0x4dbe01)!=null?_0x5406c6:fc;}[_0x1ff3c3(0x225)](){const _0x394661=_0x1ff3c3;var _0xf1d2d,_0x5200a1;const _0x1802e2=this[_0x394661(0x2b0)][_0x394661(0x35a)](vc),_0x1203d5=this[_0x394661(0x2b0)][_0x394661(0x35a)](ie);return(_0x5200a1=(_0xf1d2d=_0x1203d5==null?void 0x0:_0x1203d5[_0x394661(0x3e2)])!=null?_0xf1d2d:_0x1802e2)!=null?_0x5200a1:mc;}[_0x1ff3c3(0x2fa)](){const _0x32cc9e=_0x1ff3c3;var _0x41f2e1;const _0x3e4062=this[_0x32cc9e(0x2b0)]['getConfig'](ie);return(_0x41f2e1=_0x3e4062==null?void 0x0:_0x3e4062[_0x32cc9e(0x237)])!=null?_0x41f2e1:location[_0x32cc9e(0x4b6)];}[_0x1ff3c3(0x553)](_0x52fa64,_0x23ecfc){const _0x233d8e=_0x1ff3c3;return _0x52fa64['replace'](_0x233d8e(0x473),_0x23ecfc);}[_0x1ff3c3(0x241)](){const _0x51a149=_0x1ff3c3;this[_0x51a149(0x505)]-=0x1,this['_change$'][_0x51a149(0x453)](this['_waitCount']);}};hs=lc([Xt(0x0,_0x4ca429(_0x5d3d37)),Xt(0x1,_0x16309d),Xt(0x2,_0x4ca429(_0x527b53))],hs);var pc=Object[_0x1ff3c3(0x39f)],gc=Object[_0x1ff3c3(0x3b5)],Sc=(_0x334265,_0x524eae,_0xce28ab,_0x1d20c6)=>{const _0x3512a4=_0x1ff3c3;for(var _0x513cdf=_0x1d20c6>0x1?void 0x0:_0x1d20c6?gc(_0x524eae,_0xce28ab):_0x524eae,_0x44fe40=_0x334265[_0x3512a4(0x231)]-0x1,_0x34fd32;_0x44fe40>=0x0;_0x44fe40--)(_0x34fd32=_0x334265[_0x44fe40])&&(_0x513cdf=(_0x1d20c6?_0x34fd32(_0x524eae,_0xce28ab,_0x513cdf):_0x34fd32(_0x513cdf))||_0x513cdf);return _0x1d20c6&&_0x513cdf&&pc(_0x524eae,_0xce28ab,_0x513cdf),_0x513cdf;},Qe=(_0x19b930,_0x573bed)=>(_0x3195aa,_0x1fc9a3)=>_0x573bed(_0x3195aa,_0x1fc9a3,_0x19b930);let Tt=class extends _0x58a0f6{constructor(_0x566752,_0x49e442,_0x3d92c3,_0x35d514,_0x3ad2bf){const _0x378d36=_0x1ff3c3;super(),this[_0x378d36(0x4ea)]=_0x566752,this['_univerInstanceService']=_0x49e442,this[_0x378d36(0x431)]=_0x3d92c3,this[_0x378d36(0x20b)]=_0x35d514,this['_localeService']=_0x3ad2bf,this[_0x378d36(0x3f3)](),this['_initCloseConn']();}['_initCloseConn'](){const _0x428346=_0x1ff3c3,_0x320fa6=async _0x27c853=>{const _0x26ab9c=_0x304f;(await this[_0x26ab9c(0x20b)][_0x26ab9c(0x48b)](_0x27c853))['event$']['pipe'](_0x36202f(_0x378718=>_0x378718[_0x26ab9c(0x230)]===_0x41425a['SHOULD_CLOSE_CONN']),_0xca3a19(this[_0x26ab9c(0x470)]))[_0x26ab9c(0x5b5)](_0x3c6e4c=>{const _0x478c42=_0x26ab9c,_0x18b413=_0x3c6e4c,{reason:_0x17ddfb}=_0x18b413['data'];this[_0x478c42(0x4ea)]['get'](_0x47c163)[_0x478c42(0x257)]({'type':_0x11cc22[_0x478c42(0x3be)],'content':this[_0x478c42(0x309)]['t'](_0x478c42(0x3f0))+'('+_0x17ddfb+')'}),this[_0x478c42(0x431)]['updatePermissionPoint'](new _0x1c9ba9(_0x27c853)['id'],!0x1),this[_0x478c42(0x20b)][_0x478c42(0x275)](_0x27c853);});};_0x4fc6a3(this[_0x428346(0x4d6)][_0x428346(0x5bb)](_0x4f25e7[_0x428346(0x3d2)]),this['_univerInstanceService'][_0x428346(0x5bb)](_0x4f25e7[_0x428346(0x376)]))['pipe'](_0x4d2ab2(_0x31787c=>_0x31787c[_0x428346(0x41c)]()),_0x36202f(_0x43469b=>!_0x20c876(_0x43469b)),_0xca3a19(this[_0x428346(0x470)]))['subscribe'](_0x1ac80c=>{_0x320fa6(_0x1ac80c);});}[_0x1ff3c3(0x3f3)](){const _0x4354f4=_0x1ff3c3,_0x2225c1=async _0x4d6fe1=>{const _0x66a93d=_0x304f;(await this[_0x66a93d(0x20b)][_0x66a93d(0x48b)](_0x4d6fe1))['event$'][_0x66a93d(0x393)](_0x36202f(_0x55b589=>_0x55b589[_0x66a93d(0x230)]===_0x41425a['UPDATE_PERMISSION_OBJ']),_0xca3a19(this[_0x66a93d(0x470)]))[_0x66a93d(0x5b5)](_0x3ee68c=>{const _0x48f3f5=_0x66a93d,_0x225469=_0x3ee68c,{objectId:_0x500ac3}=_0x225469['data'],_0x1d2a96=this['_injector']['get'](_0x4258fa);_0x500ac3===_0x4d6fe1?_0x1d2a96[_0x48f3f5(0x357)](_0x4d6fe1):_0x1d2a96[_0x48f3f5(0x57f)](_0x4d6fe1,_0x500ac3);});};_0x4fc6a3(this[_0x4354f4(0x4d6)][_0x4354f4(0x5bb)](_0x4f25e7[_0x4354f4(0x3d2)]),this[_0x4354f4(0x4d6)][_0x4354f4(0x5bb)](_0x4f25e7['UNIVER_DOC']))[_0x4354f4(0x393)](_0x4d2ab2(_0x306169=>_0x306169[_0x4354f4(0x41c)]()),_0x36202f(_0x3322f0=>!_0x20c876(_0x3322f0)),_0xca3a19(this['dispose$']))[_0x4354f4(0x5b5)](_0x3fd745=>{_0x2225c1(_0x3fd745);});}};Tt=Sc([Qe(0x0,_0x4ca429(_0x1678ba)),Qe(0x1,_0x527b53),Qe(0x2,_0x1ef358),Qe(0x3,_0x4ca429(Ae)),Qe(0x4,_0x4ca429(_0x12b201))],Tt);var Ic=Object[_0x1ff3c3(0x39f)],Cc=Object[_0x1ff3c3(0x3b5)],Ec=(_0x21ccf4,_0x597c44,_0x5e25a0,_0x28a3d2)=>{const _0x3aa480=_0x1ff3c3;for(var _0x12cf13=_0x28a3d2>0x1?void 0x0:_0x28a3d2?Cc(_0x597c44,_0x5e25a0):_0x597c44,_0x2cf707=_0x21ccf4[_0x3aa480(0x231)]-0x1,_0x254037;_0x2cf707>=0x0;_0x2cf707--)(_0x254037=_0x21ccf4[_0x2cf707])&&(_0x12cf13=(_0x28a3d2?_0x254037(_0x597c44,_0x5e25a0,_0x12cf13):_0x254037(_0x12cf13))||_0x12cf13);return _0x28a3d2&&_0x12cf13&&Ic(_0x597c44,_0x5e25a0,_0x12cf13),_0x12cf13;},ni=(_0x52e4dd,_0x10fe6d)=>(_0xf7476c,_0x33a22f)=>_0x10fe6d(_0xf7476c,_0x33a22f,_0x52e4dd);let ls=class{constructor(_0x89aa7c,_0x53a27d){const _0x15bbc9=_0x1ff3c3;this[_0x15bbc9(0x2b0)]=_0x89aa7c,this['_httpService']=_0x53a27d;}async[_0x1ff3c3(0x46c)](_0x5035c0,_0x2e3757){const _0x702a13=_0x1ff3c3;var _0x1b7711;const {unitID:_0x49c0b0,type:_0x5d711d,revision:_0x1dae4a=0x0}=_0x2e3757,_0x4d0edd=this[_0x702a13(0x5ca)]()+'/'+_0x5d711d+_0x702a13(0x305)+_0x49c0b0+_0x702a13(0x549)+_0x1dae4a,_0x59b30e=(await this[_0x702a13(0x2a3)]['get'](_0x4d0edd))['body'],_0x581bf8=(_0x1b7711=_0x59b30e[_0x702a13(0x3e0)])==null?void 0x0:_0x1b7711[_0x702a13(0x1e2)];if(_0x581bf8){const _0x244d4f=_0x581bf8==null?void 0x0:_0x581bf8['originalMeta'],_0x14d831=_0xa374a6['encode'](_0x361df8(_0x244d4f));_0x581bf8[_0x702a13(0x411)]=_0x14d831,Object[_0x702a13(0x2d5)](_0x581bf8[_0x702a13(0x475)])['forEach'](([,_0x14b8e6])=>{const _0x342b62=_0x702a13,_0x1a5601=_0x14b8e6[_0x342b62(0x411)],_0x2fedca=_0xa374a6[_0x342b62(0x386)](_0x361df8(_0x1a5601));_0x14b8e6[_0x342b62(0x411)]=_0x2fedca;});}return _0x59b30e;}async[_0x1ff3c3(0x328)](_0x1d62a4,_0x2c3aba){const _0x269a62=_0x1ff3c3,{unitID:_0x1845a8,type:_0x4b834a,blockID:_0x599ad6}=_0x2c3aba,_0x4ee093=this[_0x269a62(0x5db)]()+'/'+_0x4b834a+_0x269a62(0x305)+_0x1845a8+_0x269a62(0x34b)+_0x599ad6;return(await this['_httpService'][_0x269a62(0x27e)](_0x4ee093))[_0x269a62(0x4ef)];}async[_0x1ff3c3(0x5e1)](_0x4174a4,_0x3ca381){const _0x20e552=_0x1ff3c3,{unitID:_0x7168ed,type:_0x2fab11,blockID:_0x4c15ad}=_0x3ca381,_0x2a7c54=this[_0x20e552(0x5db)]()+_0x20e552(0x34b)+_0x2fab11+_0x20e552(0x305)+_0x7168ed+_0x20e552(0x34b)+_0x4c15ad;return(await this['_httpService'][_0x20e552(0x27e)](_0x2a7c54))[_0x20e552(0x4ef)];}async[_0x1ff3c3(0x201)](_0x887ca8,_0x1d38ac){const _0x3771ac=_0x1ff3c3,{unitID:_0xa8a5f3,type:_0x390cfb,from:_0x49bbdb,to:_0x1f682b}=_0x1d38ac,_0x2692fc=this['_getAPIPrefix']()+'/'+_0x390cfb+'/unit/'+_0xa8a5f3+_0x3771ac(0x20f)+_0x49bbdb+_0x3771ac(0x465)+_0x1f682b;return(await this[_0x3771ac(0x2a3)]['get'](_0x2692fc))[_0x3771ac(0x4ef)];}[_0x1ff3c3(0x5ca)](){const _0x30454f=_0x1ff3c3;var _0x31b524;return(_0x31b524=this[_0x30454f(0x2b0)][_0x30454f(0x35a)](lr))!=null?_0x31b524:this[_0x30454f(0x5db)]();}[_0x1ff3c3(0x5db)](){const _0x22dfba=_0x1ff3c3;var _0x47a946,_0xe629fd;const _0x429955=this[_0x22dfba(0x2b0)]['getConfig'](cr),_0x247088=this[_0x22dfba(0x2b0)][_0x22dfba(0x35a)](ie);return(_0xe629fd=(_0x47a946=_0x247088==null?void 0x0:_0x247088[_0x22dfba(0x37e)])!=null?_0x47a946:_0x429955)!=null?_0xe629fd:hr;}async['getResourcesRequest'](_0x441b44,_0x24bc4b){const _0xa897b0=_0x1ff3c3,_0x157a13=_0xa897b0(0x29e)+_0x24bc4b[_0xa897b0(0x5a4)]+_0xa897b0(0x305)+_0x24bc4b['unitID']+_0xa897b0(0x27f);return(await this['_httpService'][_0xa897b0(0x27e)](_0x157a13,{'params':{'resourceId':JSON[_0xa897b0(0x504)](_0x24bc4b[_0xa897b0(0x540)])}}))['body'];}[_0x1ff3c3(0x286)](){const _0x423c60=_0x1ff3c3;throw new Error(_0x423c60(0x598));}[_0x1ff3c3(0x354)](){const _0x11f5d1=_0x1ff3c3;throw new Error(_0x11f5d1(0x598));}[_0x1ff3c3(0x5ea)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1ff3c3(0x50a)](){const _0x205e74=_0x1ff3c3;throw new Error(_0x205e74(0x598));}[_0x1ff3c3(0x4c4)](){const _0x4cfd99=_0x1ff3c3;throw new Error(_0x4cfd99(0x598));}};ls=Ec([ni(0x0,_0x16309d),ni(0x1,_0x4ca429(_0x5d3d37))],ls);var bc=Object['defineProperty'],Tc=Object[_0x1ff3c3(0x3b5)],Rc=(_0x451982,_0x18316f,_0x512b12,_0xb36bef)=>{for(var _0x4eb09e=_0xb36bef>0x1?void 0x0:_0xb36bef?Tc(_0x18316f,_0x512b12):_0x18316f,_0x1f1ce1=_0x451982['length']-0x1,_0x9ac6c2;_0x1f1ce1>=0x0;_0x1f1ce1--)(_0x9ac6c2=_0x451982[_0x1f1ce1])&&(_0x4eb09e=(_0xb36bef?_0x9ac6c2(_0x18316f,_0x512b12,_0x4eb09e):_0x9ac6c2(_0x4eb09e))||_0x4eb09e);return _0xb36bef&&_0x4eb09e&&bc(_0x18316f,_0x512b12,_0x4eb09e),_0x4eb09e;},et=(_0x5810f2,_0x420da1)=>(_0x10c917,_0x4711c2)=>_0x420da1(_0x10c917,_0x4711c2,_0x5810f2);let _s=class extends _0x274233{constructor(_0x4a4887,_0x162215,_0x4b9031,_0x498c5c,_0x55cd83){super(_0x4a4887,_0x162215,_0x4b9031),this['_transformService']=_0x498c5c,this['_logService']=_0x55cd83;}[_0x1ff3c3(0x522)](_0x401eb4,_0x59f254){const _0x2d9f2a=_0x1ff3c3,_0x3a8d1e=this[_0x2d9f2a(0x369)](_0x401eb4);if(_0x3a8d1e)try{const _0x220945=this[_0x2d9f2a(0x32f)](_0x3a8d1e,_0x59f254);this[_0x2d9f2a(0x3a6)](_0x401eb4,_0x220945);}catch(_0x117f86){this[_0x2d9f2a(0x24a)][_0x2d9f2a(0x495)](_0x2d9f2a(0x59a),_0x117f86),this['_clearUndo'](_0x401eb4);}const _0x355272=this[_0x2d9f2a(0x42a)](_0x401eb4);if(_0x355272)try{const _0x58d994=this[_0x2d9f2a(0x32f)](_0x355272,_0x59f254);this[_0x2d9f2a(0x3c6)](_0x401eb4,_0x58d994);}catch(_0x37d5cc){this[_0x2d9f2a(0x24a)][_0x2d9f2a(0x495)](_0x37d5cc),this[_0x2d9f2a(0x244)](_0x401eb4);}}['_clearUndo'](_0xeb785c){const _0x409173=_0x1ff3c3,_0x30b0b8=this[_0x409173(0x369)](_0xeb785c);_0x30b0b8&&(_0x30b0b8['length']=0x0,this[_0x409173(0x23a)]());}[_0x1ff3c3(0x244)](_0x495076){const _0x5e5ba7=_0x1ff3c3,_0x1134b3=this[_0x5e5ba7(0x42a)](_0x495076);_0x1134b3&&(_0x1134b3['length']=0x0,this[_0x5e5ba7(0x23a)]());}['_substituteUndoStack'](_0x2a8875,_0x46042c){const _0x569a74=_0x1ff3c3;this[_0x569a74(0x488)][_0x569a74(0x403)](_0x2a8875,_0x46042c),this[_0x569a74(0x23a)]();}[_0x1ff3c3(0x3c6)](_0x1e7c68,_0x5f4e3d){const _0x2890b8=_0x1ff3c3;this[_0x2890b8(0x423)][_0x2890b8(0x403)](_0x1e7c68,_0x5f4e3d),this[_0x2890b8(0x23a)]();}[_0x1ff3c3(0x32f)](_0x20612d,_0x2b097b){const _0x5af9df=_0x1ff3c3,_0x59de43=[];let _0x52ba53=_0x2b097b,_0x1e9127=_0x2b097b;for(let _0x1382fe=_0x20612d['length']-0x1;_0x1382fe>=0x0;_0x1382fe--){const {unitID:_0x1a55eb,undoMutations:_0x405348,redoMutations:_0x5530cf}=_0x20612d[_0x1382fe],_0x102345=this[_0x5af9df(0x5aa)][_0x5af9df(0x4b8)](_0x52ba53,_0x405348),_0x43e110=this[_0x5af9df(0x5aa)][_0x5af9df(0x4b8)](_0x1e9127,_0x5530cf);if(_0x423cdd(_0x102345)||_0x423cdd(_0x43e110)){this[_0x5af9df(0x24a)]['error'](_0x5af9df(0x59a),_0x5af9df(0x59e),_0x102345,_0x43e110);break;}_0x52ba53=_0x102345[_0x5af9df(0x4e9)],_0x1e9127=_0x43e110[_0x5af9df(0x4e9)],_0x59de43['push']({'unitID':_0x1a55eb,'undoMutations':_0x102345[_0x5af9df(0x3fa)],'redoMutations':_0x43e110[_0x5af9df(0x3fa)]});}return _0x59de43[_0x5af9df(0x427)]();}};_s=Rc([et(0x0,_0x527b53),et(0x1,_0x3e6605),et(0x2,_0x5a6a98),et(0x3,_0x359823),et(0x4,_0x24c70e)],_s);class yc extends _0x58a0f6{constructor(){const _0x17397c=_0x1ff3c3;super(),g(this,_0x17397c(0x51c)),this[_0x17397c(0x51c)]=_0x5573e0(window,_0x17397c(0x474))[_0x17397c(0x393)](_0x5e202a(this['dispose$']),_0x133f34(0x1),_0x54f373(void 0x0));}[_0x1ff3c3(0x34a)](_0xde892b,_0x48e9af,_0x351380=!0x1){const _0x53775b=_0x1ff3c3,_0x205575=new URL(window[_0x53775b(0x56a)]['href']);_0x205575['searchParams'][_0x53775b(0x403)](_0xde892b,_0x48e9af),_0x351380?window[_0x53775b(0x454)]['replaceState']('','',_0x205575[_0x53775b(0x4fb)]()):window[_0x53775b(0x454)][_0x53775b(0x483)]('','',_0x205575[_0x53775b(0x4fb)]());}['removeParam'](_0x4fa6fe,_0x11d319=!0x1){const _0x3d5164=_0x1ff3c3,_0x3fb21c=new URL(window['location'][_0x3d5164(0x406)]);_0x3fb21c['searchParams'][_0x3d5164(0x4dc)](_0x4fa6fe),_0x11d319?window[_0x3d5164(0x454)]['replaceState']('','',_0x3fb21c[_0x3d5164(0x4fb)]()):window[_0x3d5164(0x454)][_0x3d5164(0x483)]('','',_0x3fb21c[_0x3d5164(0x4fb)]());}['getParam'](_0x423747){const _0x11613a=_0x1ff3c3;var _0x434f5c;return(_0x434f5c=new URL(window[_0x11613a(0x56a)][_0x11613a(0x406)])['searchParams'][_0x11613a(0x27e)](_0x423747))!=null?_0x434f5c:void 0x0;}}var zi=Object['defineProperty'],Oc=Object[_0x1ff3c3(0x3b5)],wc=(_0x36ae3e,_0x16ec8c,_0x4be6d4)=>_0x16ec8c in _0x36ae3e?zi(_0x36ae3e,_0x16ec8c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4be6d4}):_0x36ae3e[_0x16ec8c]=_0x4be6d4,Dc=(_0xfd302a,_0x26eacb,_0x3a462b,_0x139c23)=>{const _0x124773=_0x1ff3c3;for(var _0x2c7b55=_0x139c23>0x1?void 0x0:_0x139c23?Oc(_0x26eacb,_0x3a462b):_0x26eacb,_0x3527cf=_0xfd302a[_0x124773(0x231)]-0x1,_0x24b0d1;_0x3527cf>=0x0;_0x3527cf--)(_0x24b0d1=_0xfd302a[_0x3527cf])&&(_0x2c7b55=(_0x139c23?_0x24b0d1(_0x26eacb,_0x3a462b,_0x2c7b55):_0x24b0d1(_0x2c7b55))||_0x2c7b55);return _0x139c23&&_0x2c7b55&&zi(_0x26eacb,_0x3a462b,_0x2c7b55),_0x2c7b55;},lt=(_0x4604f0,_0x3e87c5)=>(_0x4c279a,_0x3dcadb)=>_0x3e87c5(_0x4c279a,_0x3dcadb,_0x4604f0),Pc=(_0x3df3d4,_0x39bbef,_0x1711f5)=>wc(_0x3df3d4,_0x39bbef+'',_0x1711f5);const Uc=_0x1ff3c3(0x519);let us=class extends _0x29cf8e{constructor(_0x1f27da=Rr,_0x3aad84,_0x5bf36e,_0x243137,_0x348aef){const _0x326e85=_0x1ff3c3;super(),this[_0x326e85(0x439)]=_0x1f27da,this[_0x326e85(0x24a)]=_0x3aad84,this[_0x326e85(0x35f)]=_0x5bf36e,this[_0x326e85(0x4ea)]=_0x243137,this[_0x326e85(0x2b0)]=_0x348aef;const {..._0x186764}=this[_0x326e85(0x439)];this[_0x326e85(0x2b0)][_0x326e85(0x520)](ie,_0x186764);}[_0x1ff3c3(0x471)](){const _0x3c58bb=_0x1ff3c3;this[_0x3c58bb(0x351)](),this[_0x3c58bb(0x476)]();}[_0x1ff3c3(0x22b)](){const _0x3e9c15=_0x1ff3c3;_0x20da64(this[_0x3e9c15(0x4ea)],[[Ct]]);}[_0x1ff3c3(0x3d0)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x3df0bc=_0x1ff3c3;var _0x9f38e8,_0x2ca115,_0x502758,_0x27f4d6;this[_0x3df0bc(0x4ea)][_0x3df0bc(0x584)](_0x865243)&&this[_0x3df0bc(0x24a)][_0x3df0bc(0x495)](_0x3df0bc(0x29d),_0x3df0bc(0x21e));const _0x55ba8d=[[_0x865243,{'useClass':_s}],[Ae],[bs],[Bi,{'useClass':yc}],[Ne],[q],[_0x5ef5cf],[vt],[pt],[ft],[mt],[Cs],[Et],[bt],[wi],[Tt],[Oi,{'useClass':(_0x2ca115=(_0x9f38e8=this[_0x3df0bc(0x439)])==null?void 0x0:_0x9f38e8['socketService'])!=null?_0x2ca115:es}],[_0xef9473,{'useClass':ls}],[_0x2c9f07,{'useClass':cs}],[_0x36094b,{'useClass':hs}],[it],[It],[St],[Ct],[Ve]];(_0x502758=this['_config'])!=null&&_0x502758[_0x3df0bc(0x238)]&&_0x55ba8d[_0x3df0bc(0x2cc)]([Rt,{'useClass':ro}]),_0x3a5870(this[_0x3df0bc(0x4ea)],_0x24fc31(_0x55ba8d,(_0x27f4d6=this[_0x3df0bc(0x439)])==null?void 0x0:_0x27f4d6[_0x3df0bc(0x595)]));}[_0x1ff3c3(0x3cb)](){const _0xaaa4b=_0x1ff3c3;this[_0xaaa4b(0x4bb)](this[_0xaaa4b(0x35f)][_0xaaa4b(0x599)](_0x4f25e7[_0xaaa4b(0x376)],[os])),this[_0xaaa4b(0x4bb)](this['_renderManagerService'][_0xaaa4b(0x599)](_0x4f25e7[_0xaaa4b(0x3d2)],[as]));}[_0x1ff3c3(0x476)](){const _0x569831=_0x1ff3c3;var _0x47bbac,_0x39f421;this[_0x569831(0x4ea)][_0x569831(0x27e)](_0x5d3d37)[_0x569831(0x58d)]({'priority':0x14,'interceptor':_0x2571ad({'maxParallel':0x6})}),(_0x47bbac=this[_0x569831(0x439)])!=null&&_0x47bbac['enableOfflineEditing']||this[_0x569831(0x4ea)][_0x569831(0x27e)](q)['disableLocalCache'](),(_0x39f421=this['_config'])!=null&&_0x39f421[_0x569831(0x468)]&&_0x20da64(this[_0x569831(0x4ea)],[[Et]]),_0x20da64(this['_injector'],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Pc(us,_0x1ff3c3(0x34d),Uc),us=Dc([_0x1c8a3c(_0x4fb221,_0x1232c1),lt(0x1,_0x24c70e),lt(0x2,_0x2e164c),lt(0x3,_0x4ca429(_0x1678ba)),lt(0x4,_0x16309d)],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};
|