@univerjs-pro/collaboration-client 0.5.0-nightly.202411120616 → 0.5.0-nightly.202411131606

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.
Files changed (84) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/en-US.js +1 -1
  3. package/lib/cjs/locale/fa-IR.js +1 -1
  4. package/lib/cjs/locale/ru-RU.js +1 -1
  5. package/lib/cjs/locale/vi-VN.js +1 -1
  6. package/lib/cjs/locale/zh-CN.js +1 -1
  7. package/lib/cjs/locale/zh-TW.js +1 -1
  8. package/lib/es/index.js +1 -1
  9. package/lib/es/locale/en-US.js +1 -1
  10. package/lib/es/locale/fa-IR.js +1 -1
  11. package/lib/es/locale/ru-RU.js +1 -1
  12. package/lib/es/locale/vi-VN.js +1 -1
  13. package/lib/es/locale/zh-CN.js +1 -1
  14. package/lib/es/locale/zh-TW.js +1 -1
  15. package/lib/types/config/config.d.ts +48 -0
  16. package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +23 -0
  17. package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +1 -0
  18. package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +1 -0
  19. package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +22 -0
  20. package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +38 -0
  21. package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +24 -0
  22. package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +3 -0
  23. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +39 -0
  24. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +21 -0
  25. package/lib/types/controllers/collab-status/collab-status.controller.d.ts +18 -0
  26. package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +4 -0
  27. package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +0 -0
  28. package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +54 -0
  29. package/lib/types/controllers/collaboration/collaboration-entity.d.ts +91 -0
  30. package/lib/types/controllers/collaboration/collaboration-state.d.ts +303 -0
  31. package/lib/types/controllers/collaboration/collaboration.controller.d.ts +24 -0
  32. package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +18 -0
  33. package/lib/types/controllers/collaboration/utils/empty.d.ts +2 -0
  34. package/lib/types/controllers/config.schema.d.ts +29 -0
  35. package/lib/types/controllers/data-loader/__tests__/data-loader.controller.spec.d.ts +1 -0
  36. package/lib/types/controllers/data-loader/data-loader.controller.d.ts +22 -0
  37. package/lib/types/controllers/file-name/file-name.controller.d.ts +12 -0
  38. package/lib/types/controllers/telemetry.d.ts +11 -0
  39. package/lib/types/index.d.ts +35 -890
  40. package/lib/types/locale/en-US.d.ts +3 -0
  41. package/lib/types/locale/fa-IR.d.ts +3 -0
  42. package/lib/types/locale/ru-RU.d.ts +3 -0
  43. package/lib/types/locale/vi-VN.d.ts +3 -0
  44. package/lib/types/locale/zh-CN.d.ts +39 -0
  45. package/lib/types/locale/zh-TW.d.ts +3 -0
  46. package/lib/types/models/cursor.d.ts +30 -0
  47. package/lib/types/plugin.d.ts +18 -0
  48. package/lib/types/services/auth-server/auth-server.service.d.ts +10 -0
  49. package/lib/types/services/auth-server/authz-io-http.service.d.ts +30 -0
  50. package/lib/types/services/auth-server/domain-request.service.d.ts +6 -0
  51. package/lib/types/services/auth-server/util.d.ts +1 -0
  52. package/lib/types/services/collaboration-session/collaboration-session.d.ts +59 -0
  53. package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +61 -0
  54. package/lib/types/services/color-assign/color-assign.service.d.ts +10 -0
  55. package/lib/types/services/comment/comment.service.d.ts +6 -0
  56. package/lib/types/services/image-remote/image-io.service.d.ts +34 -0
  57. package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +13 -0
  58. package/lib/types/services/local-cache/local-cache.service.d.ts +37 -0
  59. package/lib/types/services/member/member.service.d.ts +77 -0
  60. package/lib/types/services/permission/permission.service.d.ts +12 -0
  61. package/lib/types/services/range-selection/sheet-transform-selections.service.d.ts +13 -0
  62. package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +39 -0
  63. package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +21 -0
  64. package/lib/types/services/socket/collaboration-socket.service.d.ts +34 -0
  65. package/lib/types/services/socket/serialize.d.ts +3 -0
  66. package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +12 -0
  67. package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +13 -0
  68. package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +8 -0
  69. package/lib/types/services/undoredo/collaborative-undoredo.service.d.ts +19 -0
  70. package/lib/types/services/url/url.service.d.ts +12 -0
  71. package/lib/types/services/url/web-url.service.d.ts +10 -0
  72. package/lib/types/views/components/CollabStatus.d.ts +10 -0
  73. package/lib/types/views/components/CollabStatus.stories.d.ts +8 -0
  74. package/lib/types/views/shapes/doc-collab-cursor.d.ts +27 -0
  75. package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +27 -0
  76. package/lib/types/views/shapes/text-bubble.shape.d.ts +19 -0
  77. package/lib/umd/index.js +1 -1
  78. package/lib/umd/locale/en-US.js +1 -1
  79. package/lib/umd/locale/fa-IR.js +1 -1
  80. package/lib/umd/locale/ru-RU.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-TW.js +1 -1
  84. package/package.json +16 -16
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0xf37888=_0x136c;(function(_0xa94db3,_0x423779){const _0x4e4261=_0x136c,_0x4841f6=_0xa94db3();while(!![]){try{const _0x1d94b5=-parseInt(_0x4e4261(0x1bd))/0x1+-parseInt(_0x4e4261(0x29e))/0x2*(parseInt(_0x4e4261(0x3f5))/0x3)+parseInt(_0x4e4261(0x2f7))/0x4*(parseInt(_0x4e4261(0x193))/0x5)+parseInt(_0x4e4261(0x3ac))/0x6+-parseInt(_0x4e4261(0x300))/0x7*(parseInt(_0x4e4261(0x34a))/0x8)+parseInt(_0x4e4261(0x444))/0x9+-parseInt(_0x4e4261(0x246))/0xa;if(_0x1d94b5===_0x423779)break;else _0x4841f6['push'](_0x4841f6['shift']());}catch(_0x29fa80){_0x4841f6['push'](_0x4841f6['shift']());}}}(_0xc3a6,0x5f845));var qi=Object[_0xf37888(0x320)],Xi=(_0x14249b,_0xc88a6,_0x2d3fdb)=>_0xc88a6 in _0x14249b?qi(_0x14249b,_0xc88a6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d3fdb}):_0x14249b[_0xc88a6]=_0x2d3fdb,g=(_0x4d7119,_0x1ccb48,_0x5d9f8b)=>Xi(_0x4d7119,typeof _0x1ccb48!=_0xf37888(0x28f)?_0x1ccb48+'':_0x1ccb48,_0x5d9f8b);import{createIdentifier as _0x11a95d,Inject as _0x39c8b8,Disposable as _0xb54fec,DisposableCollection as _0x241f26,toDisposable as _0x5b8af0,IConfigService as _0x45a6b3,ILogService as _0x399eca,UserManagerService as _0xc3f0d8,UniverInstanceType as _0x42608e,IUniverInstanceService as _0x6b8e83,LocaleService as _0x50f35b,Optional as _0x174482,RxDisposable as _0x3c16d2,Injector as _0x2fd08f,Tools as _0x5d7755,ILocalStorageService as _0x4f5ce1,Rectangle as _0x3bc9a8,ICommandService as _0x48fc43,DOC_RANGE_TYPE as _0x3b2ca6,JSONX as _0x1fe550,CommandType as _0x357ec8,IPermissionService as _0x19df2d,IUndoRedoService as _0x46b156,sequenceExecute as _0x18d035,debounce as _0x4bf9ba,COLORS as _0x197df6,ColorKit as _0xd157f,ThemeService as _0x1d0ffa,fromEventSubject as _0x153a49,useDependency as _0x5d0a14,connectInjector as _0x31c12e,Workbook as _0x400c08,isInternalEditorID as _0x59fd1a,LocalUndoRedoService as _0x4a62a2,IContextService as _0x1b23d4,DependentOn as _0x1c29a2,Plugin as _0x7a55e0,touchDependencies as _0x5f3d41,IAuthzIoService as _0xb968ca,registerDependencies as _0x1e42a3,mergeOverrideWithDependencies as _0x208ba0}from'@univerjs/core';import{Subject as _0x382230,merge as _0x45ad1c,takeUntil as _0x1825a9,BehaviorSubject as _0x7465ad,distinctUntilChanged as _0x7d7043,fromEvent as _0x5ea6fd,ReplaySubject as _0x56e22a,take as _0x5f06ad,map as _0x1af8db,shareReplay as _0xac7976,of as _0x5ac583,debounceTime as _0x2edddb,filter as _0x14383b,switchMap as _0x784c53,combineLatest as _0x42f291,concatMap as _0x1240df,mapTo as _0x20444c}from'rxjs';import{map as _0x5ba592,take as _0xf9885d,filter as _0x2d7a63,delay as _0x207ed1,throttleTime as _0x1b38bd,takeUntil as _0xf05386,switchMap as _0x380453}from'rxjs/operators';import{MessageType as _0x30a0d6,Tooltip as _0x542c0a}from'@univerjs/design';import{IBeforeCloseService as _0x1e394f,IMessageService as _0xffafbc,INotificationService as _0x5158a3,useObservable as _0x26f539,BuiltInUIPart as _0x31b17c,IUIPartsService as _0x1c0ace}from'@univerjs/ui';import{HTTPService as _0xf3436a,WebSocketService as _0x1827c1,MergeInterceptorFactory as _0x5d3d7a,HTTPRequest as _0x3738a7,UniverNetworkPlugin as _0x4caaee,ThresholdInterceptorFactory as _0x8c39a4}from'@univerjs/network';import{CollaborationEvent as _0x3c3869,parseChangesetToProtocol as _0x539718,ISnapshotServerService as _0x5f2fc3,isTransformMutationFailure as _0xfceaae,isTransformMutationsWithChangesetSuccess as _0x2de823,ITransformService as _0x36ceed,RevisionService as _0x304c49,mapDocumentTypeToUniverType as _0x5ab887,isTransformChangesetsSuccess as _0x56533c,CompressMutationService as _0x78bcc3,parseProtocolChangeset as _0x411b74,SnapshotService as _0x19a3ab,textEncoder as _0x4821ce,b64DecodeUnicode as _0x1925e3,isTransformMutationsWithChangesetFailure as _0x40847e,UniverCollaborationPlugin as _0x4a89ea}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x5a8609}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x1ee80f,DocStateChangeManagerService as _0x3b95d5,NodePositionConvertToCursor as _0x45cbb8,NodePositionConvertToRectRange as _0x14dcc5,TEXT_RANGE_LAYER_INDEX as _0x2a8154,SetDocZoomRatioOperation as _0x3212df}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x2ff3ec,SetSelectionsOperation as _0x455bea,InsertSheetMutation as _0x4ef24f,EmptyMutation as _0x59dd9d,WorkbookEditablePermission as _0x57c2ed,RefRangeService as _0x34f847,EffectRefRangId as _0x393a47,handleIRemoveRow as _0x52d0b5,handleIRemoveCol as _0x5d6597,handleMoveRange as _0x204fc1,handleInsertRow as _0xae5700,handleInsertRangeMoveRight as _0x2723eb,handleInsertRangeMoveDown as _0x59b66c,handleInsertCol as _0x53232e,handleDeleteRangeMoveUp as _0xb8cee4,handleDeleteRangeMoveLeft as _0xc0b2af,runRefRangeMutations as _0x4681f0,SetWorksheetActivateCommand as _0x4fb117}from'@univerjs/sheets';import{IRenderManagerService as _0x4e7ca1,Shape as _0x20c0e5,Rect as _0x53b95b,getColor as _0x1403d6,RegularPolygon as _0x4d7468,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2bfb82,Vector2 as _0x5d97fd}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x17cd7b,RichTextEditingMutation as _0x216675,SetTextSelectionsOperation as _0x4cbea3,DocSkeletonManagerService as _0x511bb7}from'@univerjs/docs';import{ImageSourceType as _0x4b9ffc,ImageUploadStatusType as _0x3da702,IImageIoService as _0x548da5}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x213db1,serializeRangeWithSheet as _0x30ad03}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x4ee0f9,VIEWPORT_KEY as _0xc2d531,getCoordByCell as _0x7b28d2,getSheetObject as _0xd198a1,SheetPermissionInitController as _0x3ee48e}from'@univerjs/sheets-ui';import _0x5101ec,{forwardRef as _0x11c4ff,useRef as _0x360e34,createElement as _0x517cae,useCallback as _0x31a143}from'react';import{IRemoteInstanceService as _0x480e23}from'@univerjs/rpc';const cr=_0xf37888(0x37e),hr=_0xf37888(0x2e8),lr='SNAPSHOT_URL_KEY',Xc=_0xf37888(0x17e),_r=0x7d0,ur=_0xf37888(0x3bc),dr=_0xf37888(0x4c9),fr=_0xf37888(0x27c),vr=0x7530,bi='HEARTBEAT_TIMEOUT',Ti=0x4e20,mr=0x4e20,pr='RETRY_CONNECTING_MAX_COUNT',gr=0x3,Sr=_0xf37888(0x478),Ir=0x3e8,Cr=_0xf37888(0x410),Er=_0xf37888(0x2f4),br='LOGIN_URL_KEY',Tr=_0xf37888(0x3ea);var Ri=(_0x2a3009=>(_0x2a3009[_0x2a3009[_0xf37888(0x479)]=0x0]=_0xf37888(0x479),_0x2a3009[_0x2a3009['OK']=0x1]='OK',_0x2a3009[_0x2a3009['INTERNAL_ERROR']=0x2]=_0xf37888(0x149),_0x2a3009[_0x2a3009['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x2a3009[_0x2a3009[_0xf37888(0x2b3)]=0x4]='NOT_FOUND',_0x2a3009[_0x2a3009[_0xf37888(0x2ec)]=0x5]='UNAUTHENTICATED',_0x2a3009[_0x2a3009[_0xf37888(0x3cc)]=0x6]='ALREADY_EXISTS',_0x2a3009[_0x2a3009[_0xf37888(0x1ca)]=0x7]=_0xf37888(0x1ca),_0x2a3009[_0x2a3009['TOO_MANY_REQUESTS']=0x8]=_0xf37888(0x3ca),_0x2a3009[_0x2a3009[_0xf37888(0x23e)]=0x9]='COMPLETION_FINISHED',_0x2a3009[_0x2a3009[_0xf37888(0x4a8)]=0x1389]=_0xf37888(0x4a8),_0x2a3009[_0x2a3009[_0xf37888(0x225)]=0x1771]=_0xf37888(0x225),_0x2a3009[_0x2a3009['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xf37888(0x39d),_0x2a3009[_0x2a3009[_0xf37888(0x509)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2a3009[_0x2a3009[_0xf37888(0x1a9)]=0x1b59]=_0xf37888(0x1a9),_0x2a3009[_0x2a3009[_0xf37888(0x3f8)]=0x1b5a]=_0xf37888(0x3f8),_0x2a3009[_0x2a3009[_0xf37888(0x272)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2a3009[_0x2a3009[_0xf37888(0x2bc)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2a3009[_0x2a3009[_0xf37888(0x39f)]=0x1b5d]=_0xf37888(0x39f),_0x2a3009[_0x2a3009[_0xf37888(0x1ae)]=0x1f41]=_0xf37888(0x1ae),_0x2a3009[_0x2a3009[_0xf37888(0x318)]=0x2329]=_0xf37888(0x318),_0x2a3009[_0x2a3009[_0xf37888(0x160)]=0x232a]=_0xf37888(0x160),_0x2a3009[_0x2a3009[_0xf37888(0x219)]=0x232b]=_0xf37888(0x219),_0x2a3009[_0x2a3009[_0xf37888(0x157)]=0x232c]=_0xf37888(0x157),_0x2a3009[_0x2a3009['LICENSE_DISTRO_REJECTED']=0x232d]=_0xf37888(0x216),_0x2a3009[_0x2a3009[_0xf37888(0x2c4)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2a3009[_0x2a3009['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xf37888(0x24d),_0x2a3009[_0x2a3009[_0xf37888(0x381)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2a3009[_0x2a3009[_0xf37888(0x2d5)]=0x2714]=_0xf37888(0x2d5),_0x2a3009[_0x2a3009[_0xf37888(0x504)]=-0x1]=_0xf37888(0x504),_0x2a3009))(Ri||{}),ce=(_0x900bdc=>(_0x900bdc[_0x900bdc[_0xf37888(0x1ff)]=0x0]=_0xf37888(0x1ff),_0x900bdc[_0x900bdc['UNIVER_DOC']=0x1]=_0xf37888(0x1c1),_0x900bdc[_0x900bdc[_0xf37888(0x19a)]=0x2]='UNIVER_SHEET',_0x900bdc[_0x900bdc[_0xf37888(0x3e5)]=0x3]=_0xf37888(0x3e5),_0x900bdc[_0x900bdc[_0xf37888(0x29b)]=0x4]=_0xf37888(0x29b),_0x900bdc[_0x900bdc[_0xf37888(0x504)]=-0x1]=_0xf37888(0x504),_0x900bdc))(ce||{}),W=(_0x16f8e7=>(_0x16f8e7[_0x16f8e7['UNKNOWN_CMD']=0x0]=_0xf37888(0x357),_0x16f8e7[_0x16f8e7[_0xf37888(0x42e)]=0x1]='HELLO',_0x16f8e7[_0x16f8e7['JOIN']=0x2]='JOIN',_0x16f8e7[_0x16f8e7['LEAVE']=0x3]=_0xf37888(0x4c7),_0x16f8e7[_0x16f8e7['INGEST']=0x4]=_0xf37888(0x393),_0x16f8e7[_0x16f8e7[_0xf37888(0x1c7)]=0x5]='HEARTBEAT',_0x16f8e7[_0x16f8e7[_0xf37888(0x2e7)]=0x6]='RECV',_0x16f8e7[_0x16f8e7['UNRECOGNIZED']=-0x1]=_0xf37888(0x504),_0x16f8e7))(W||{}),Is=(_0x1c874f=>(_0x1c874f[_0x1c874f[_0xf37888(0x30a)]=0x0]=_0xf37888(0x30a),_0x1c874f[_0x1c874f['OK']=0x1]='OK',_0x1c874f[_0x1c874f[_0xf37888(0x18b)]=0x2]=_0xf37888(0x18b),_0x1c874f[_0x1c874f[_0xf37888(0x504)]=-0x1]=_0xf37888(0x504),_0x1c874f))(Is||{}),yi=(_0x1015d6=>(_0x1015d6[_0x1015d6['Undefined']=0x0]=_0xf37888(0x2ae),_0x1015d6[_0x1015d6[_0xf37888(0x426)]=0x1]=_0xf37888(0x426),_0x1015d6[_0x1015d6[_0xf37888(0x1a3)]=0x2]='HttpExport',_0x1015d6[_0x1015d6[_0xf37888(0x49e)]=0x3]=_0xf37888(0x49e),_0x1015d6[_0x1015d6[_0xf37888(0x3bd)]=0x4]=_0xf37888(0x3bd),_0x1015d6[_0x1015d6['UNRECOGNIZED']=-0x1]=_0xf37888(0x504),_0x1015d6))(yi||{});const ie=_0xf37888(0x242),Rr={};function yr(_0x2d384b){const _0x102f7a=_0xf37888;var _0x2a72c5,_0x19def3,_0x5ce383,_0x5180ee,_0x2ed2f4;const _0x584c58=_0x2d384b[_0x102f7a(0x1cc)],_0x13d4b9=JSON[_0x102f7a(0x2e9)](_0x584c58);switch(_0x13d4b9[_0x102f7a(0x180)]){case W[_0x102f7a(0x1c7)]:case W['HELLO']:{const _0x7d5259=_0x13d4b9[_0x102f7a(0x286)];return{..._0x13d4b9,'data':_0x7d5259,'cmd':_0x13d4b9['cmd']};}case W[_0x102f7a(0x2c2)]:{const _0x5aa2e1=_0x13d4b9[_0x102f7a(0x4fe)];return{..._0x13d4b9,'data':_0x5aa2e1,'cmd':_0x13d4b9[_0x102f7a(0x180)]};}case W[_0x102f7a(0x2e7)]:{const _0x603bd7=_0x13d4b9[_0x102f7a(0x4ca)];switch(_0x603bd7['eventID']){case _0x3c3869[_0x102f7a(0x271)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':(_0x2a72c5=_0x603bd7['permissionRejEvent'])==null?void 0x0:_0x2a72c5['cs']},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869[_0x102f7a(0x309)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':(_0x19def3=_0x603bd7['csAckEvent'])==null?void 0x0:_0x19def3['cs']},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869[_0x102f7a(0x3ce)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':(_0x5ce383=_0x603bd7['newCsEvent'])==null?void 0x0:_0x5ce383['cs']},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869['CHANGESET_REJ']:return{..._0x13d4b9,'data':{..._0x603bd7,'data':(_0x5180ee=_0x603bd7[_0x102f7a(0x206)])==null?void 0x0:_0x5180ee['cs']},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869[_0x102f7a(0x37f)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':(_0x2ed2f4=_0x603bd7['csShouldRetryEvent'])==null?void 0x0:_0x2ed2f4['cs']},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869[_0x102f7a(0x494)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x1e7)]},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869['USERS_ENTER']:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x50f)]},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869['USERS_LEAVE']:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x1e6)]},'cmd':_0x13d4b9['cmd']};case _0x3c3869['LIVESHARE_NEW_HOST']:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x121)]},'cmd':_0x13d4b9['cmd']};case _0x3c3869[_0x102f7a(0x244)]:case _0x3c3869[_0x102f7a(0x419)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x4aa)]},'cmd':_0x13d4b9['cmd']};case _0x3c3869[_0x102f7a(0x462)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x121)]},'cmd':_0x13d4b9['cmd']};case _0x3c3869['MSG_FOR_ERROR']:return{..._0x13d4b9,'data':_0x603bd7,'cmd':_0x13d4b9['cmd']};case _0x3c3869['COMMENT_UPDATE']:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x21d)]},'cmd':_0x13d4b9['cmd']};case _0x3c3869[_0x102f7a(0x2ff)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x4f6)]},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869[_0x102f7a(0x131)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x268)]},'cmd':_0x13d4b9['cmd']};default:return _0x13d4b9;}}default:return _0x13d4b9;}}function Or(_0x456d46){const _0x5221cc=_0xf37888;switch(_0x456d46['cmd']){case W['HEARTBEAT']:case W[_0x5221cc(0x42e)]:return JSON[_0x5221cc(0x387)]({'cmd':_0x456d46[_0x5221cc(0x180)],'routeKey':_0x456d46['routeKey']});case W['INGEST']:{let _0x49b378;switch(_0x456d46[_0x5221cc(0x1cc)][_0x5221cc(0x214)]){case _0x3c3869['UPDATE_CURSOR']:{_0x49b378={'eventID':_0x3c3869['UPDATE_CURSOR'],'updateCursorEvent':_0x456d46[_0x5221cc(0x1cc)]['data']};break;}case _0x3c3869[_0x5221cc(0x3c2)]:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x3c2)],'leaveEvent':_0x456d46[_0x5221cc(0x1cc)][_0x5221cc(0x1cc)]};break;}case _0x3c3869[_0x5221cc(0x170)]:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x170)],'joinEvent':_0x456d46[_0x5221cc(0x1cc)][_0x5221cc(0x1cc)]};break;}case _0x3c3869[_0x5221cc(0x377)]:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x377)],'liveShareNewHost':_0x456d46[_0x5221cc(0x1cc)][_0x5221cc(0x1cc)]};break;}case _0x3c3869[_0x5221cc(0x419)]:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x419)],'liveShareOperation':_0x456d46['data']['data']};break;}case _0x3c3869[_0x5221cc(0x462)]:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x462)],'liveShareTerminate':_0x456d46[_0x5221cc(0x1cc)][_0x5221cc(0x1cc)]};break;}case _0x3c3869[_0x5221cc(0x477)]:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x477)],'liveShareRequestHost':_0x456d46[_0x5221cc(0x1cc)][_0x5221cc(0x1cc)]};break;}case _0x3c3869['LIVESHARE_FETCH_OPERATIONS']:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x244)]};break;}default:_0x49b378={'eventID':_0x456d46['data'][_0x5221cc(0x214)]};}return JSON[_0x5221cc(0x387)]({'cmd':_0x456d46['cmd'],'routeKey':_0x456d46[_0x5221cc(0x379)],'collaMsg':_0x49b378});}case W[_0x5221cc(0x2c2)]:return JSON['stringify']({'cmd':_0x456d46[_0x5221cc(0x180)],'routeKey':_0x456d46[_0x5221cc(0x379)],'joinReq':_0x456d46['data']});case W[_0x5221cc(0x4c7)]:return JSON[_0x5221cc(0x387)]({'cmd':_0x456d46['cmd'],'routeKey':_0x456d46['routeKey'],'leaveReq':_0x456d46['data']});default:throw new Error(_0x5221cc(0x4bc));}}var wr=Object[_0xf37888(0x320)],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0x14417d,_0x5502df,_0x57e6e8,_0x444db7)=>{const _0x327984=_0xf37888;for(var _0x41daa0=_0x444db7>0x1?void 0x0:_0x444db7?Dr(_0x5502df,_0x57e6e8):_0x5502df,_0x5e9101=_0x14417d[_0x327984(0x42c)]-0x1,_0x4b41bf;_0x5e9101>=0x0;_0x5e9101--)(_0x4b41bf=_0x14417d[_0x5e9101])&&(_0x41daa0=(_0x444db7?_0x4b41bf(_0x5502df,_0x57e6e8,_0x41daa0):_0x4b41bf(_0x41daa0))||_0x41daa0);return _0x444db7&&_0x41daa0&&wr(_0x5502df,_0x57e6e8,_0x41daa0),_0x41daa0;},qe=(_0x9ecdcb,_0x4ce94f)=>(_0x344bb3,_0x4c30e5)=>_0x4ce94f(_0x344bb3,_0x4c30e5,_0x9ecdcb);const Oi=_0x11a95d('univer-pro.collaboration-client-socket-service');function Ur(_0x178e6c,_0x28769,_0xcaf87){const _0x32981e=_0xf37888;return _0x178e6c+'/'+_0x28769+_0x32981e(0x4cb)+_0xcaf87+'/new_changes';}let es=class extends _0xb54fec{constructor(_0xa139e8,_0x2993f7,_0x1e74dc,_0x4bd698,_0x351102){const _0x19e734=_0xf37888;super(),this[_0x19e734(0x40b)]=_0xa139e8,this['_ws']=_0x2993f7,this[_0x19e734(0x1f2)]=_0x1e74dc,this[_0x19e734(0x2c3)]=_0x4bd698,this[_0x19e734(0x1c5)]=_0x351102;}[_0xf37888(0x4fb)](_0x2dbd6e){const _0x29053a=_0xf37888,_0x1574e2=this['_ws'][_0x29053a(0x4fb)](_0x2dbd6e);if(!_0x1574e2)throw new Error(_0x29053a(0x135));const _0x224202=new _0x241f26(),_0x4429d3=new _0x382230();_0x224202[_0x29053a(0x389)](_0x1574e2[_0x29053a(0x45f)][_0x29053a(0x236)](_0x3ed68d=>_0x4429d3[_0x29053a(0x2d2)](_0x3ed68d))),_0x224202[_0x29053a(0x389)](_0x5b8af0(()=>_0x4429d3[_0x29053a(0x12e)]()));const _0xbff510=new _0x382230();_0x224202[_0x29053a(0x389)](_0x1574e2[_0x29053a(0x497)][_0x29053a(0x236)](_0x2bfbeb=>_0xbff510[_0x29053a(0x2d2)](_0x2bfbeb))),_0x224202[_0x29053a(0x389)](_0x5b8af0(()=>_0xbff510['complete']()));const _0x4745cd=new _0x382230();_0x224202[_0x29053a(0x389)](_0x1574e2[_0x29053a(0x12b)][_0x29053a(0x236)](_0x23c4d3=>{const _0x17c8f9=_0x29053a,_0x1c9c67=yr(_0x23c4d3);_0x4745cd[_0x17c8f9(0x2d2)](_0x1c9c67);})),_0x224202['add'](_0x5b8af0(()=>_0x4745cd[_0x29053a(0x12e)]()));let _0x522b42;const _0x46135c=()=>{const _0x1a6749=_0x29053a;_0xbff510['next'](new Event(_0x1a6749(0x18a))),_0x4429d3[_0x1a6749(0x2d2)](new CloseEvent('connection\x20error')),_0x522b42[_0x1a6749(0x137)]();};return _0x522b42={'memberID':'','close$':_0x4429d3[_0x29053a(0x2cf)](),'error$':_0xbff510[_0x29053a(0x2cf)](),'open$':_0x1574e2[_0x29053a(0x11b)],'message$':_0x4745cd[_0x29053a(0x2cf)](),'send':_0x7a9e4d=>{const _0xc91710=_0x29053a;if(_0x7a9e4d[_0xc91710(0x180)]===W['INGEST']){if(_0x7a9e4d[_0xc91710(0x1cc)][_0xc91710(0x214)]===_0x3c3869[_0xc91710(0x1f3)]){this[_0xc91710(0x207)](_0x522b42,_0x7a9e4d[_0xc91710(0x1cc)])['catch'](_0x375810=>{const _0x5534c9=_0xc91710;this[_0x5534c9(0x2c3)][_0x5534c9(0x329)](_0x375810),_0x46135c();});return;}if(_0x7a9e4d['data'][_0xc91710(0x214)]===_0x3c3869[_0xc91710(0x44f)]){const _0x2a998b=_0x7a9e4d[_0xc91710(0x1cc)];this['_fetchMissChangesets'](_0x2a998b)[_0xc91710(0x1ed)](_0x31b637=>{const _0x4d081a=_0xc91710;_0x4745cd[_0x4d081a(0x2d2)]({'cmd':W[_0x4d081a(0x2e7)],'code':Is['OK'],'routeKey':_0x2a998b[_0x4d081a(0x1cc)]['unitID'],'routeType':'','data':{'eventID':_0x3c3869[_0x4d081a(0x11d)],'data':{'changesets':_0x31b637}}});})[_0xc91710(0x489)](_0x3d9b96=>{const _0x3c11b3=_0xc91710;this[_0x3c11b3(0x2c3)][_0x3c11b3(0x329)](_0x3d9b96),_0x46135c();});return;}}_0x1574e2['send'](Or(_0x7a9e4d));},'close':()=>{const _0x4d635f=_0x29053a;_0x1574e2['close'](),_0x224202[_0x4d635f(0x4d5)]();}},_0x522b42;}async[_0xf37888(0x207)](_0x25f23c,_0x413ce1){const _0x206c63=_0xf37888;var _0x351dff,_0x8bfe70;const {unitType:_0x2d2d16,unitID:_0x16ed32,changeset:_0x111b99}=_0x413ce1[_0x206c63(0x1cc)],_0x19f5aa={'unitID':_0x16ed32,'memberID':_0x25f23c[_0x206c63(0x498)],'type':_0x2d2d16,'changeset':_0x539718(_0x111b99)},_0x268ef1=this['_configService'][_0x206c63(0x37a)](Cr),_0x2df54b=this['_configService'][_0x206c63(0x37a)](ie),_0x13bb0a=Ur((_0x8bfe70=(_0x351dff=_0x2df54b==null?void 0x0:_0x2df54b[_0x206c63(0x407)])!=null?_0x351dff:_0x268ef1)!=null?_0x8bfe70:Er,_0x2d2d16,_0x16ed32);try{await this['_http'][_0x206c63(0x141)](_0x13bb0a,{'body':_0x19f5aa});}catch(_0xc9a6ca){throw this[_0x206c63(0x2c3)]['error']('[CollaborationSession]',_0x206c63(0x1f1)),_0xc9a6ca;}}async[_0xf37888(0x3e9)](_0xb705bd){const _0x522477=_0xf37888,{unitID:_0x45f4ec,from:_0x1a7225,to:_0x439e5b,unitType:_0xe41a02}=_0xb705bd[_0x522477(0x1cc)];return(await this[_0x522477(0x1c5)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x45f4ec,'type':_0xe41a02,'from':_0x1a7225,'to':_0x439e5b}))['changesets'];}};es=Pr([qe(0x0,_0x39c8b8(_0xf3436a)),qe(0x1,_0x39c8b8(_0x1827c1)),qe(0x2,_0x45a6b3),qe(0x3,_0x399eca),qe(0x4,_0x5f2fc3)],es);const Nr='collaboration_new_changeset';function Ar(_0x51a09c){const _0x22fed5=_0xf37888;return JSON[_0x22fed5(0x387)](_0x51a09c)[_0x22fed5(0x42c)];}class wi{constructor(){const _0x4b7d9b=_0xf37888;g(this,_0x4b7d9b(0x50e),new _0x382230()),g(this,'commentUpdate$',this[_0x4b7d9b(0x50e)][_0x4b7d9b(0x2cf)]());}['onCommentUpdate'](_0x1d4a88){const _0x59d262=_0xf37888;this[_0x59d262(0x50e)][_0x59d262(0x2d2)](_0x1d4a88);}}var Mr=Object[_0xf37888(0x320)],xr=Object['getOwnPropertyDescriptor'],Lr=(_0x16bba5,_0x3f57d5,_0x3ad258,_0x8fbbcf)=>{const _0x3b45f2=_0xf37888;for(var _0x17c604=_0x8fbbcf>0x1?void 0x0:_0x8fbbcf?xr(_0x3f57d5,_0x3ad258):_0x3f57d5,_0x4dd04d=_0x16bba5[_0x3b45f2(0x42c)]-0x1,_0x1b25c4;_0x4dd04d>=0x0;_0x4dd04d--)(_0x1b25c4=_0x16bba5[_0x4dd04d])&&(_0x17c604=(_0x8fbbcf?_0x1b25c4(_0x3f57d5,_0x3ad258,_0x17c604):_0x1b25c4(_0x17c604))||_0x17c604);return _0x8fbbcf&&_0x17c604&&Mr(_0x3f57d5,_0x3ad258,_0x17c604),_0x17c604;},Hs=(_0x2556c1,_0x1e5f56)=>(_0x4992d6,_0x2a7add)=>_0x1e5f56(_0x4992d6,_0x2a7add,_0x2556c1);let Ne=class extends _0xb54fec{constructor(_0x395ee9,_0x3338a6){const _0x47114d=_0xf37888;super(),g(this,'_roomMembers',new Map()),(this[_0x47114d(0x1c2)]=_0x395ee9,this[_0x47114d(0x34f)]=_0x3338a6,this[_0x47114d(0x3ec)](_0x5b8af0(_0x45ad1c(this[_0x47114d(0x1c2)]['getTypeOfUnitDisposed$'](_0x42608e['UNIVER_SHEET'])['pipe'](_0x5ba592(_0x6c4bdd=>_0x6c4bdd[_0x47114d(0x1a4)]())),this[_0x47114d(0x1c2)][_0x47114d(0x465)](_0x42608e[_0x47114d(0x1c1)])[_0x47114d(0x3bf)](_0x5ba592(_0x3bad8b=>_0x3bad8b[_0x47114d(0x1a4)]())),this[_0x47114d(0x1c2)][_0x47114d(0x465)](_0x42608e['UNIVER_SLIDE'])['pipe'](_0x5ba592(_0x44db19=>_0x44db19[_0x47114d(0x1a4)]())))[_0x47114d(0x236)](_0x56ac85=>this[_0x47114d(0x31a)](_0x56ac85)))));}[_0xf37888(0x2a1)](_0x5ab48f){const _0x199dc8=_0xf37888;this['_userManagerService'][_0x199dc8(0x2a1)](_0x5ab48f);}[_0xf37888(0x2a0)](){const _0x337491=_0xf37888;return this[_0x337491(0x34f)][_0x337491(0x2a0)]();}[_0xf37888(0x1cb)](_0x2f89a5,_0x66bb3c){const _0x83a2cb=_0xf37888;let _0x14fed7=this['_roomMembers'][_0x83a2cb(0x166)](_0x2f89a5);_0x14fed7||(_0x14fed7=new $r(),this['_roomMembers']['set'](_0x2f89a5,_0x14fed7)),_0x14fed7[_0x83a2cb(0x1cb)](_0x66bb3c);}[_0xf37888(0x204)](_0x211465,_0x530f3a){const _0x22c676=_0xf37888,_0x2dbc22=this[_0x22c676(0x23b)]['get'](_0x211465);_0x2dbc22&&_0x2dbc22[_0x22c676(0x204)](_0x530f3a);}[_0xf37888(0x488)](_0x48cf7a){const _0x178e9d=_0xf37888;return this[_0x178e9d(0x23b)][_0x178e9d(0x166)](_0x48cf7a);}['getMember'](_0xcf2c61,_0x46790c){const _0x2259f1=_0xf37888,_0x1ecc87=this[_0x2259f1(0x23b)][_0x2259f1(0x166)](_0xcf2c61);if(_0x1ecc87)return _0x1ecc87[_0x2259f1(0x208)](_0x46790c);}[_0xf37888(0x31a)](_0x4530af){const _0x260c41=_0xf37888,_0x24a7fe=this[_0x260c41(0x23b)]['get'](_0x4530af);_0x24a7fe&&(_0x24a7fe['dispose'](),this[_0x260c41(0x23b)]['delete'](_0x4530af));}['dispose'](){const _0x50b3c4=_0xf37888;this[_0x50b3c4(0x23b)][_0x50b3c4(0x321)](_0x1037b7=>_0x1037b7['dispose']()),this[_0x50b3c4(0x23b)][_0x50b3c4(0x415)]();}};Ne=Lr([Hs(0x0,_0x6b8e83),Hs(0x1,_0x39c8b8(_0xc3f0d8))],Ne);class $r extends _0xb54fec{constructor(){const _0xf031f6=_0xf37888;super(...arguments),g(this,_0xf031f6(0x120),new Map());}[_0xf37888(0x4d5)](){const _0x71593b=_0xf37888;this[_0x71593b(0x120)]['clear']();}['updateMember'](_0x32d5ab){const _0xe952f7=_0xf37888;this[_0xe952f7(0x120)][_0xe952f7(0x1ec)](_0x32d5ab[_0xe952f7(0x498)],_0x32d5ab);}['removeMember'](_0x94c88a){const _0xcf70b9=_0xf37888;this[_0xcf70b9(0x120)]['delete'](_0x94c88a);}[_0xf37888(0x208)](_0x2214e4){const _0x438778=_0xf37888;return this[_0x438778(0x120)]['get'](_0x2214e4);}[_0xf37888(0x21b)](){const _0x39b135=_0xf37888;return Array[_0x39b135(0x123)](this[_0x39b135(0x120)][_0x39b135(0x317)]());}}var Hr=Object[_0xf37888(0x320)],jr=Object[_0xf37888(0x26b)],Br=(_0x32c0e6,_0x13115d,_0x34e686,_0xa4957a)=>{for(var _0x38cf1a=_0xa4957a>0x1?void 0x0:_0xa4957a?jr(_0x13115d,_0x34e686):_0x13115d,_0xb77bfe=_0x32c0e6['length']-0x1,_0x2c15a6;_0xb77bfe>=0x0;_0xb77bfe--)(_0x2c15a6=_0x32c0e6[_0xb77bfe])&&(_0x38cf1a=(_0xa4957a?_0x2c15a6(_0x13115d,_0x34e686,_0x38cf1a):_0x2c15a6(_0x38cf1a))||_0x38cf1a);return _0xa4957a&&_0x38cf1a&&Hr(_0x13115d,_0x34e686,_0x38cf1a),_0x38cf1a;},Ee=(_0x21d844,_0x52dc9f)=>(_0x57f98c,_0x563010)=>_0x52dc9f(_0x57f98c,_0x563010,_0x21d844),ve=(_0x441a2b=>(_0x441a2b[_0x441a2b[_0xf37888(0x13a)]=0x0]='IDLE',_0x441a2b[_0x441a2b[_0xf37888(0x356)]=0x1]='JOINING',_0x441a2b[_0x441a2b[_0xf37888(0x33c)]=0x2]=_0xf37888(0x33c),_0x441a2b[_0x441a2b[_0xf37888(0x312)]=0x3]=_0xf37888(0x312),_0x441a2b))(ve||{});let ts=class extends _0x3c16d2{constructor(_0xd00612,_0xca24ec,_0x30e278,_0x1a3ac3,_0x223dab,_0x2324fe,_0x1d272c,_0x290526,_0x562832,_0x395e0c){const _0x49e2a0=_0xf37888;super(),g(this,_0x49e2a0(0x1fe),new _0x7465ad(0x0)),g(this,_0x49e2a0(0x3e3),this['_sessionStatus$'][_0x49e2a0(0x2cf)]()),g(this,_0x49e2a0(0x3e8),new _0x382230()),g(this,_0x49e2a0(0x3c5),this['_event$'][_0x49e2a0(0x2cf)]()),g(this,_0x49e2a0(0x223)),g(this,'_socketMessageSubscription'),g(this,_0x49e2a0(0x4b1)),g(this,_0x49e2a0(0x402),!0x1),g(this,'_telemetryInfo',null),(this[_0x49e2a0(0x145)]=_0xd00612,this[_0x49e2a0(0x2c3)]=_0x30e278,this[_0x49e2a0(0x291)]=_0x1a3ac3,this[_0x49e2a0(0x3a9)]=_0x223dab,this['_configService']=_0x2324fe,this[_0x49e2a0(0x428)]=_0x1d272c,this[_0x49e2a0(0x1d0)]=_0x290526,this[_0x49e2a0(0x3aa)]=_0x562832,this['_telemetryService']=_0x395e0c,this[_0x49e2a0(0x402)]=!!this[_0x49e2a0(0x382)],_0xca24ec[_0x49e2a0(0x3bf)](_0x1825a9(this[_0x49e2a0(0x118)]))[_0x49e2a0(0x236)](_0x289c73=>{const _0x23934a=_0x49e2a0;var _0x543272;typeof _0x289c73>'u'||(this[_0x23934a(0x223)]=_0x289c73,_0x289c73?(this[_0x23934a(0x116)](_0x289c73),this[_0x23934a(0x273)]=_0x289c73[_0x23934a(0x12b)]['subscribe'](_0x124403=>{const _0x25f8df=_0x23934a;_0x124403[_0x25f8df(0x379)]===this[_0x25f8df(0x145)]&&this[_0x25f8df(0x420)](_0x124403);})):(this[_0x23934a(0x3be)](),this[_0x23934a(0x1fe)][_0x23934a(0x2d2)](0x2),(_0x543272=this['_socketMessageSubscription'])==null||_0x543272[_0x23934a(0x308)](),this[_0x23934a(0x273)]=null));}),this[_0x49e2a0(0x3ec)](this['_beforeCloseService']['registerOnClose'](()=>{const _0x2c9375=_0x49e2a0;var _0x6f0df5;(_0x6f0df5=this['_socket'])==null||_0x6f0df5[_0x2c9375(0x512)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x2c9375(0x145)]}});})));}get[_0xf37888(0x1b7)](){return this['_sessionStatus$']['getValue']();}[_0xf37888(0x440)](){var _0x79c2b8,_0x262fb4;return(_0x262fb4=(_0x79c2b8=this['_socket'])==null?void 0x0:_0x79c2b8['memberID'])!=null?_0x262fb4:null;}[_0xf37888(0x4d5)](){const _0x14db51=_0xf37888;super['dispose'](),this[_0x14db51(0x118)][_0x14db51(0x2d2)](),this[_0x14db51(0x118)][_0x14db51(0x12e)]();}[_0xf37888(0x137)](){const _0x367063=_0xf37888;var _0x46b9e9,_0x1ba3bc;this['_throwTelemetryCollaborationNewChangeset'](),(_0x46b9e9=this[_0x367063(0x223)])==null||_0x46b9e9['send']({'cmd':W[_0x367063(0x4c7)],'data':{'roomID':this[_0x367063(0x145)]}}),(_0x1ba3bc=this[_0x367063(0x223)])==null||_0x1ba3bc[_0x367063(0x137)](),this[_0x367063(0x3e8)][_0x367063(0x12e)](),this['_sessionStatus$'][_0x367063(0x12e)](),this[_0x367063(0x4d5)]();}[_0xf37888(0x420)](_0x17bcc1){const _0x18361b=_0xf37888;_0x17bcc1[_0x18361b(0x180)]===W['JOIN']?this[_0x18361b(0x10d)](_0x17bcc1):_0x17bcc1['cmd']===W[_0x18361b(0x2e7)]&&this['_onRecvEvent'](_0x17bcc1);}[_0xf37888(0x116)](_0x33e1af){const _0x182c4c=_0xf37888;this[_0x182c4c(0x1fe)][_0x182c4c(0x2d2)](0x1),_0x33e1af[_0x182c4c(0x512)]({'cmd':W['JOIN'],'routeKey':this[_0x182c4c(0x145)],'routeType':'','data':{'rooms':[{'roomID':this[_0x182c4c(0x145)]}]}});}[_0xf37888(0x10d)](_0x2499a3){const _0x22568c=_0xf37888;var _0x512aa1;if(_0x2499a3[_0x22568c(0x266)]===Is[_0x22568c(0x18b)]){this[_0x22568c(0x3a9)]['show']({'type':_0x30a0d6['Warning'],'content':this[_0x22568c(0x428)]['t'](_0x22568c(0x126))}),this['_sessionStatus$'][_0x22568c(0x2d2)](0x2);return;}this['_sessionStatus$'][_0x22568c(0x2d2)](0x3);const _0x2a9e8c=(_0x512aa1=_0x2499a3[_0x22568c(0x1cc)][_0x22568c(0x278)][this[_0x22568c(0x145)]])==null?void 0x0:_0x512aa1[_0x22568c(0x175)];_0x2a9e8c&&_0x2a9e8c[_0x22568c(0x321)](_0x1c364d=>this['_memberService'][_0x22568c(0x1cb)](this[_0x22568c(0x145)],_0x1c364d));}['_onRecvEvent'](_0x12f98e){const _0x31d173=_0xf37888;try{const _0x4ac4ee=_0x12f98e['data'];switch(_0x4ac4ee[_0x31d173(0x214)]){case _0x3c3869[_0x31d173(0x170)]:this['_onUserJoin'](_0x4ac4ee),this['_event$']['next'](_0x4ac4ee);break;case _0x3c3869[_0x31d173(0x3c2)]:this[_0x31d173(0x133)](_0x4ac4ee),this[_0x31d173(0x3e8)][_0x31d173(0x2d2)](_0x4ac4ee);break;case _0x3c3869[_0x31d173(0x309)]:case _0x3c3869[_0x31d173(0x37f)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x31d173(0x296)](),this[_0x31d173(0x3e8)][_0x31d173(0x2d2)](_0x4ac4ee);break;case _0x3c3869[_0x31d173(0x445)]:this['_logService'][_0x31d173(0x329)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x4ac4ee)),this[_0x31d173(0x3e8)]['next'](_0x4ac4ee);break;case _0x3c3869['COMMENT_UPDATE']:this['_commentService'][_0x31d173(0x2a8)](_0x4ac4ee[_0x31d173(0x1cc)]),this[_0x31d173(0x3e8)][_0x31d173(0x2d2)](_0x4ac4ee);break;default:this[_0x31d173(0x3e8)][_0x31d173(0x2d2)](_0x4ac4ee);}}catch(_0x5b8f0c){this[_0x31d173(0x2c3)]['error'](_0x5b8f0c,_0x12f98e);}}['_onUserJoin'](_0x14e139){const _0x26a086=_0xf37888;this[_0x26a086(0x1d0)][_0x26a086(0x1cb)](this[_0x26a086(0x145)],_0x14e139[_0x26a086(0x1cc)]);}[_0xf37888(0x133)](_0x5dda7a){const _0x612278=_0xf37888;this['_memberService'][_0x612278(0x204)](this[_0x612278(0x145)],_0x5dda7a[_0x612278(0x1cc)][_0x612278(0x498)]);}async[_0xf37888(0x512)](_0x2be4a2,_0xa28601){const _0x125f0f=_0xf37888;if(this[_0x125f0f(0x1b7)]!==0x3||!this[_0x125f0f(0x223)])throw new Error(_0x125f0f(0x411));try{_0x2be4a2['eventID']===_0x3c3869['SUBMIT_CHANGESET']&&(this[_0x125f0f(0x229)](),this[_0x125f0f(0x210)](_0x2be4a2)),this[_0x125f0f(0x223)][_0x125f0f(0x512)]({'cmd':W[_0x125f0f(0x393)],'routeKey':_0xa28601,'routeType':'','data':_0x2be4a2});}catch(_0xa93f01){this[_0x125f0f(0x2c3)][_0x125f0f(0x329)](_0xa93f01);}}[_0xf37888(0x229)](){const _0x8e06a9=_0xf37888;var _0x4fd344;this[_0x8e06a9(0x4b1)]=window[_0x8e06a9(0x486)](()=>{const _0x45a778=_0x8e06a9;this[_0x45a778(0x4b1)]=null,this[_0x45a778(0x3a9)][_0x45a778(0x228)]({'type':_0x30a0d6[_0x45a778(0x45d)],'content':this[_0x45a778(0x428)]['t'](_0x45a778(0x283))});},(_0x4fd344=this['_configService'][_0x8e06a9(0x37a)](bi))!=null?_0x4fd344:Ti);}[_0xf37888(0x296)](){const _0x2ea754=_0xf37888;this[_0x2ea754(0x4b1)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x2ea754(0x4b1)]=null);}[_0xf37888(0x210)](_0x59e1b3){const _0x862733=_0xf37888;if(!this[_0x862733(0x402)])return;const {data:_0x24e181}=_0x59e1b3,{unitID:_0x2fbd1a,changeset:_0x5d9454}=_0x24e181,{mutations:_0x12b4da,type:_0x37d81f}=_0x5d9454;this[_0x862733(0x496)]={'unitId':_0x2fbd1a,'type':_0x37d81f,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ar(_0x12b4da)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x5397f5=_0xf37888;if(this[_0x5397f5(0x402)]){if(!this[_0x5397f5(0x496)]){this['_logService'][_0x5397f5(0x329)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x5397f5(0x496)][_0x5397f5(0x16f)]=performance[_0x5397f5(0x41e)](),this[_0x5397f5(0x496)]['duration']=this[_0x5397f5(0x496)]['stopTime']-this[_0x5397f5(0x496)][_0x5397f5(0x2f0)],this[_0x5397f5(0x382)]['capture'](Nr,this[_0x5397f5(0x496)]),this[_0x5397f5(0x496)]=null;}}[_0xf37888(0x3be)](){const _0x478877=_0xf37888;this[_0x478877(0x496)]=null;}};ts=Br([Ee(0x2,_0x399eca),Ee(0x3,_0x1e394f),Ee(0x4,_0xffafbc),Ee(0x5,_0x45a6b3),Ee(0x6,_0x39c8b8(_0x50f35b)),Ee(0x7,_0x39c8b8(Ne)),Ee(0x8,_0x39c8b8(wi)),Ee(0x9,_0x174482(_0x5a8609))],ts);var kr=Object[_0xf37888(0x320)],Wr=Object['getOwnPropertyDescriptor'],Fr=(_0x182db0,_0x58cf4e,_0x22b8b7,_0x47f8b5)=>{const _0x4397ef=_0xf37888;for(var _0x41ac82=_0x47f8b5>0x1?void 0x0:_0x47f8b5?Wr(_0x58cf4e,_0x22b8b7):_0x58cf4e,_0x489af4=_0x182db0[_0x4397ef(0x42c)]-0x1,_0x2a9f75;_0x489af4>=0x0;_0x489af4--)(_0x2a9f75=_0x182db0[_0x489af4])&&(_0x41ac82=(_0x47f8b5?_0x2a9f75(_0x58cf4e,_0x22b8b7,_0x41ac82):_0x2a9f75(_0x41ac82))||_0x41ac82);return _0x47f8b5&&_0x41ac82&&kr(_0x58cf4e,_0x22b8b7,_0x41ac82),_0x41ac82;},je=(_0x1d748b,_0x1e5996)=>(_0x563472,_0x5a18d6)=>_0x1e5996(_0x563472,_0x5a18d6,_0x1d748b);let Ae=class extends _0xb54fec{constructor(_0x474a30,_0x4ab738,_0x5119c3,_0x4a756f,_0x2c9737,_0x459436){const _0x52557d=_0xf37888;super(),g(this,_0x52557d(0x2d0),new _0x7465ad(void 0x0)),g(this,'socket$',this['_socket$']['asObservable']()),g(this,_0x52557d(0x176),null),g(this,_0x52557d(0x287),new Map()),g(this,_0x52557d(0x18e),new _0x7465ad(ve[_0x52557d(0x13a)])),g(this,_0x52557d(0x263),this['_status$'][_0x52557d(0x2cf)]()),g(this,_0x52557d(0x115),!0x1),g(this,_0x52557d(0x467)),g(this,'_retryCount',0x0),g(this,_0x52557d(0x4f2)),g(this,_0x52557d(0x24e)),(this[_0x52557d(0x43d)]=_0x474a30,this['_localeService']=_0x4ab738,this[_0x52557d(0x3a9)]=_0x5119c3,this[_0x52557d(0x2c3)]=_0x4a756f,this[_0x52557d(0x1f2)]=_0x2c9737,this['_socketService']=_0x459436,this['_initEventListeners']());}get['_socket'](){const _0x225f2c=_0xf37888;return this[_0x225f2c(0x2d0)][_0x225f2c(0x1aa)]();}['_initEventListeners'](){const _0x1846f3=_0xf37888;this[_0x1846f3(0x289)](),this[_0x1846f3(0x456)]();}[_0xf37888(0x4d5)](){const _0x45a09f=_0xf37888;super[_0x45a09f(0x4d5)](),this[_0x45a09f(0x287)]['forEach'](_0x4cab81=>_0x4cab81[_0x45a09f(0x4d5)]()),this[_0x45a09f(0x287)]['clear'](),this[_0x45a09f(0x18e)]['complete']();}async[_0xf37888(0x4f0)](_0x18c4d9){const _0x425c99=_0xf37888;if(this['_sessions']['has'](_0x18c4d9))return this['_sessions'][_0x425c99(0x166)](_0x18c4d9);this[_0x425c99(0x4c2)]();const _0x5539f9=this[_0x425c99(0x43d)][_0x425c99(0x3d0)](ts,_0x18c4d9,this['_socket$'][_0x425c99(0x2cf)]());return this[_0x425c99(0x287)][_0x425c99(0x1ec)](_0x18c4d9,_0x5539f9),_0x5539f9;}[_0xf37888(0x38f)](_0x28ce30){const _0x5ba6d8=_0xf37888;var _0x4d6128;const _0x4afd37=this[_0x5ba6d8(0x287)][_0x5ba6d8(0x166)](_0x28ce30);_0x4afd37&&(this[_0x5ba6d8(0x287)][_0x5ba6d8(0x3ab)](_0x28ce30),_0x4afd37['close']()),this[_0x5ba6d8(0x287)][_0x5ba6d8(0x189)]||(_0x4d6128=this['_socket'])==null||_0x4d6128[_0x5ba6d8(0x137)]();}[_0xf37888(0x3cd)](){const _0x49b2bc=_0xf37888;this[_0x49b2bc(0x295)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x49b2bc(0x467)]=null),this[_0x49b2bc(0x151)]();}[_0xf37888(0x1d5)](){const _0x1068cd=_0xf37888;var _0x41a29c,_0x213040;const _0x496a40=this[_0x1068cd(0x1f2)][_0x1068cd(0x37a)](ur),_0x19e418=this[_0x1068cd(0x1f2)]['getConfig'](ie),_0x599291=(_0x213040=(_0x41a29c=_0x19e418==null?void 0x0:_0x19e418[_0x1068cd(0x114)])!=null?_0x41a29c:_0x496a40)!=null?_0x213040:dr,_0x54d8ed=this['_socketService'][_0x1068cd(0x4fb)](_0x599291);return this[_0x1068cd(0x176)]=_0x54d8ed,_0x54d8ed;}[_0xf37888(0x4c2)](){const _0x335069=_0xf37888;var _0x34ada7,_0x8c7b65;try{const _0x120a53=(_0x8c7b65=(_0x34ada7=this[_0x335069(0x223)])!=null?_0x34ada7:this[_0x335069(0x176)])!=null?_0x8c7b65:this[_0x335069(0x1d5)]();if(_0x120a53){const _0x3fc139=_0x120a53[_0x335069(0x512)];_0x120a53[_0x335069(0x512)]=_0x2b85f2=>(this[_0x335069(0x400)](),_0x3fc139['apply'](_0x120a53,[_0x2b85f2])),_0x120a53['message$'][_0x335069(0x236)](_0x45511b=>this[_0x335069(0x1b1)](_0x120a53,_0x45511b)),_0x120a53[_0x335069(0x497)]['pipe'](_0xf9885d(0x1))[_0x335069(0x236)](_0x28b741=>this[_0x335069(0x2c3)][_0x335069(0x329)](_0x335069(0x17c),_0x28b741)),_0x120a53[_0x335069(0x11b)][_0x335069(0x3bf)](_0xf9885d(0x1))[_0x335069(0x236)](()=>{const _0x34fa95=_0x335069;this[_0x34fa95(0x21e)](_0x120a53);}),_0x120a53[_0x335069(0x45f)][_0x335069(0x3bf)](_0xf9885d(0x1))[_0x335069(0x236)](_0x5a8fbb=>{const _0x7f8817=_0x335069;this['_logService'][_0x7f8817(0x13c)](_0x7f8817(0x260),'socket\x20close',_0x5a8fbb),this[_0x7f8817(0x454)]();});}}catch(_0x57af49){this[_0x335069(0x2c3)][_0x335069(0x329)](_0x57af49),this[_0x335069(0x454)]();}}[_0xf37888(0x21e)](_0x6d5758){const _0x541115=_0xf37888;this[_0x541115(0x2c3)][_0x541115(0x13c)](_0x541115(0x260),'socket\x20open.'),_0x6d5758[_0x541115(0x512)]({'cmd':W[_0x541115(0x42e)]}),this[_0x541115(0x400)]();}[_0xf37888(0x289)](){const _0x40b10c=_0xf37888;window[_0x40b10c(0x453)]('offline',()=>this['_onOffline']());}['_onOffline'](){const _0x402c31=_0xf37888;this[_0x402c31(0x115)]=!0x1,this['_candidateSocket']=null,this[_0x402c31(0x18e)][_0x402c31(0x2d2)](ve[_0x402c31(0x33c)]),this[_0x402c31(0x2d0)]['next'](null),this[_0x402c31(0x3a1)](),this[_0x402c31(0x178)]();}[_0xf37888(0x454)](){const _0x4d4716=_0xf37888;var _0x29460d;this['_onOffline'](),this['_retryCount']<((_0x29460d=this[_0x4d4716(0x1f2)]['getConfig'](pr))!=null?_0x29460d:gr)?(this['_messageService']['show']({'key':_0x4d4716(0x1cd),'type':_0x30a0d6[_0x4d4716(0x22f)],'content':this[_0x4d4716(0x428)]['t'](_0x4d4716(0x3a8))}),this['_tryReconnect']()):this[_0x4d4716(0x3a9)][_0x4d4716(0x228)]({'key':_0x4d4716(0x1cd),'type':_0x30a0d6[_0x4d4716(0x45d)],'content':this['_localeService']['t'](_0x4d4716(0x18d))});}[_0xf37888(0x456)](){const _0x42b25f=_0xf37888,_0x1e51ea=()=>{const _0x39488d=_0x136c;this[_0x39488d(0x223)]||this[_0x39488d(0x3cd)]();},_0xb11a33=()=>{const _0x211dda=_0x136c;this[_0x211dda(0x223)]||document[_0x211dda(0x1af)]===_0x211dda(0x41c)||this[_0x211dda(0x3cd)]();};window[_0x42b25f(0x453)]('online',_0x1e51ea),document[_0x42b25f(0x453)]('visibilitychange',_0xb11a33);}['_tryReconnect'](){const _0x51acee=_0xf37888;var _0x2e1ead;const _0x332b9c=this['_retryCount'],_0x4fee95=this[_0x51acee(0x1f2)][_0x51acee(0x37a)](ie),_0x2f1f25=_0x332b9c===0x0?0x0:((_0x2e1ead=_0x4fee95==null?void 0x0:_0x4fee95[_0x51acee(0x491)])!=null?_0x2e1ead:mr)*0x2**_0x332b9c;this[_0x51acee(0x467)]=window['setTimeout'](()=>{const _0x4bcf84=_0x51acee;clearTimeout(this['_retryConnectingTimer']),this[_0x4bcf84(0x467)]=null,this[_0x4bcf84(0x4c2)]();},_0x2f1f25),this['_retryCount']+=0x1;}[_0xf37888(0x1b1)](_0x1d8122,_0x36a487){const _0x4208a0=_0xf37888,{cmd:_0x27fde9}=_0x36a487;_0x27fde9===W[_0x4208a0(0x42e)]&&!this['_socketReady']&&(_0x1d8122[_0x4208a0(0x498)]=_0x36a487['data'][_0x4208a0(0x498)],this['_socket$'][_0x4208a0(0x2d2)](_0x1d8122),this['_status$'][_0x4208a0(0x2d2)](ve[_0x4208a0(0x312)]),this[_0x4208a0(0x115)]=!0x0,this[_0x4208a0(0x176)]=null),_0x27fde9===W[_0x4208a0(0x1c7)]&&this[_0x4208a0(0x3a1)](),this[_0x4208a0(0x400)]();}[_0xf37888(0x400)](){const _0x2779a8=_0xf37888;var _0x4d0a25;this[_0x2779a8(0x178)](),this[_0x2779a8(0x4f2)]=window[_0x2779a8(0x486)](()=>this[_0x2779a8(0x252)](),(_0x4d0a25=this[_0x2779a8(0x1f2)]['getConfig'](fr))!=null?_0x4d0a25:vr);}[_0xf37888(0x252)](){const _0x3ab3a1=_0xf37888;this[_0x3ab3a1(0x223)][_0x3ab3a1(0x512)]({'cmd':W[_0x3ab3a1(0x1c7)]}),this[_0x3ab3a1(0x261)]();}[_0xf37888(0x261)](){const _0x4e55c9=_0xf37888;var _0x20c1e1;this[_0x4e55c9(0x24e)]=window[_0x4e55c9(0x486)](()=>this[_0x4e55c9(0x454)](),(_0x20c1e1=this[_0x4e55c9(0x1f2)]['getConfig'](bi))!=null?_0x20c1e1:Ti);}[_0xf37888(0x178)](){const _0x57903c=_0xf37888;this[_0x57903c(0x4f2)]!=null&&(clearTimeout(this[_0x57903c(0x4f2)]),this['_sendHeartbeatTimer']=null);}[_0xf37888(0x3a1)](){const _0x5ba6e0=_0xf37888;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x5ba6e0(0x24e)]=null);}};Ae=Fr([je(0x0,_0x39c8b8(_0x2fd08f)),je(0x1,_0x39c8b8(_0x50f35b)),je(0x2,_0xffafbc),je(0x3,_0x399eca),je(0x4,_0x45a6b3),je(0x5,Oi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0xf37888(0x270)]((i+0x100)[_0xf37888(0x492)](0x10)[_0xf37888(0x3cb)](0x1));function Vr(_0x1d28f0,_0x2b9dde=0x0){const _0x296bdc=_0xf37888;return(Y[_0x1d28f0[_0x2b9dde+0x0]]+Y[_0x1d28f0[_0x2b9dde+0x1]]+Y[_0x1d28f0[_0x2b9dde+0x2]]+Y[_0x1d28f0[_0x2b9dde+0x3]]+'-'+Y[_0x1d28f0[_0x2b9dde+0x4]]+Y[_0x1d28f0[_0x2b9dde+0x5]]+'-'+Y[_0x1d28f0[_0x2b9dde+0x6]]+Y[_0x1d28f0[_0x2b9dde+0x7]]+'-'+Y[_0x1d28f0[_0x2b9dde+0x8]]+Y[_0x1d28f0[_0x2b9dde+0x9]]+'-'+Y[_0x1d28f0[_0x2b9dde+0xa]]+Y[_0x1d28f0[_0x2b9dde+0xb]]+Y[_0x1d28f0[_0x2b9dde+0xc]]+Y[_0x1d28f0[_0x2b9dde+0xd]]+Y[_0x1d28f0[_0x2b9dde+0xe]]+Y[_0x1d28f0[_0x2b9dde+0xf]])[_0x296bdc(0x4a4)]();}let Nt;const Gr=new Uint8Array(0x10);function Yr(){const _0xa1e9ae=_0xf37888;if(!Nt){if(typeof crypto>'u'||!crypto[_0xa1e9ae(0x232)])throw new Error(_0xa1e9ae(0x1e5));Nt=crypto['getRandomValues']['bind'](crypto);}return Nt(Gr);}const Kr=typeof crypto<'u'&&crypto[_0xf37888(0x2c0)]&&crypto[_0xf37888(0x2c0)]['bind'](crypto),js={'randomUUID':Kr};function zr(_0x51b278,_0x5742f3,_0x52fd44){const _0x22a971=_0xf37888;if(js['randomUUID']&&!_0x5742f3&&!_0x51b278)return js[_0x22a971(0x2c0)]();_0x51b278=_0x51b278||{};const _0xd1344b=_0x51b278[_0x22a971(0x226)]||(_0x51b278[_0x22a971(0x49d)]||Yr)();return _0xd1344b[0x6]=_0xd1344b[0x6]&0xf|0x40,_0xd1344b[0x8]=_0xd1344b[0x8]&0x3f|0x80,Vr(_0xd1344b);}var qr=Object['defineProperty'],Xr=Object[_0xf37888(0x26b)],Jr=(_0x2efee8,_0x21a6ac,_0x47e58b,_0xdf884e)=>{const _0x406431=_0xf37888;for(var _0x14f212=_0xdf884e>0x1?void 0x0:_0xdf884e?Xr(_0x21a6ac,_0x47e58b):_0x21a6ac,_0x20d8c5=_0x2efee8[_0x406431(0x42c)]-0x1,_0x377bb2;_0x20d8c5>=0x0;_0x20d8c5--)(_0x377bb2=_0x2efee8[_0x20d8c5])&&(_0x14f212=(_0xdf884e?_0x377bb2(_0x21a6ac,_0x47e58b,_0x14f212):_0x377bb2(_0x14f212))||_0x14f212);return _0xdf884e&&_0x14f212&&qr(_0x21a6ac,_0x47e58b,_0x14f212),_0x14f212;},At=(_0x3736cb,_0x5a2454)=>(_0x1a18f1,_0x24fadd)=>_0x5a2454(_0x1a18f1,_0x24fadd,_0x3736cb);let ft=class{constructor(_0x30f25d,_0x374560,_0x320cb8){const _0x64c5cb=_0xf37888;this[_0x64c5cb(0x43d)]=_0x30f25d,this[_0x64c5cb(0x310)]=_0x374560,this[_0x64c5cb(0x1b5)]=_0x320cb8;}[_0xf37888(0x30b)](_0x3c4dfd){const _0x2c8d54=_0xf37888;this['_transformUndoRedoStack'](_0x3c4dfd),this[_0x2c8d54(0x2be)](_0x3c4dfd);}[_0xf37888(0x423)](_0x2c7c68){const _0x5c6c83=_0xf37888,{unitID:_0xd2129b}=_0x2c7c68,_0x15da21=this[_0x5c6c83(0x1b5)]['getRenderById'](_0xd2129b)['with'](_0x1ee80f),{redoCache:_0x444dcd}=_0x15da21['getUndoRedoMutationParamsCache']();if(_0x444dcd[_0x5c6c83(0x42c)]===0x0)return _0x2c7c68;let _0x131b48=_0x5d7755[_0x5c6c83(0x1ea)](_0x2c7c68[_0x5c6c83(0x372)][0x0]);for(let _0xb7b8f0=0x0;_0xb7b8f0<_0x444dcd[_0x5c6c83(0x42c)];_0xb7b8f0++){const _0x315e7f={'id':_0x5c6c83(0x1a5),'params':{..._0x444dcd[_0xb7b8f0]}},_0x235a21=this['_transformService'][_0x5c6c83(0x1b8)](_0x131b48,_0x315e7f,!0x1);if(_0xfceaae(_0x235a21))throw _0x235a21['error'];_0x131b48=_0x235a21[_0x5c6c83(0x36b)];}return{..._0x5d7755[_0x5c6c83(0x1ea)](_0x2c7c68),'mutations':[_0x131b48]};}['_transformUndoRedoStack'](_0x48645d){const _0x5d47eb=_0xf37888,{unitID:_0x29b427}=_0x48645d,_0x2f8e8c=this[_0x5d47eb(0x1b5)][_0x5d47eb(0x46d)](_0x29b427)['with'](_0x1ee80f),{undoCache:_0x3a1494,redoCache:_0x4fa7e5}=_0x2f8e8c[_0x5d47eb(0x267)]();if(_0x3a1494['length']===0x0||_0x4fa7e5['length']===0x0)return;const _0x3d0075=[],_0x43ada0=[];let _0x5545cf=_0x5d7755[_0x5d47eb(0x1ea)](_0x48645d['mutations'][0x0]),_0x20c010=_0x5d7755['deepClone'](_0x48645d['mutations'][0x0]);for(let _0x481508=_0x3a1494['length']-0x1;_0x481508>=0x0;_0x481508--){const _0x28c541={'id':_0x5d47eb(0x1a5),'params':{..._0x3a1494[_0x481508]}},_0x127ce5={'id':_0x5d47eb(0x1a5),'params':{..._0x4fa7e5[_0x481508]}},_0x40d1ce=this[_0x5d47eb(0x310)][_0x5d47eb(0x1b8)](_0x5545cf,_0x28c541,!0x1),_0x3789fb=this[_0x5d47eb(0x310)][_0x5d47eb(0x1b8)](_0x20c010,_0x127ce5,!0x1);if(_0xfceaae(_0x40d1ce))throw _0x40d1ce[_0x5d47eb(0x329)];if(_0xfceaae(_0x3789fb))throw _0x3789fb[_0x5d47eb(0x329)];_0x3d0075[_0x5d47eb(0x46c)](_0x40d1ce[_0x5d47eb(0x44b)][_0x5d47eb(0x274)]),_0x43ada0[_0x5d47eb(0x46c)](_0x3789fb[_0x5d47eb(0x44b)][_0x5d47eb(0x274)]),_0x5545cf=_0x40d1ce[_0x5d47eb(0x36b)],_0x20c010=_0x3789fb['m1Prime'];}_0x2f8e8c[_0x5d47eb(0x4a6)]({'undoCache':_0x3d0075,'redoCache':_0x43ada0});}['_transformPreviousActiveRange'](_0x1821f1){const _0x322eef=_0xf37888,{unitID:_0x409cad}=_0x1821f1,_0x3b3868=this[_0x322eef(0x1b5)][_0x322eef(0x46d)](_0x409cad)[_0x322eef(0x2f6)](_0x1ee80f),_0x40fc50=_0x3b3868[_0x322eef(0x2c5)]();if(_0x40fc50==null)return;const _0x3cee09=[{'id':_0x322eef(0x1a5),'params':{'unitId':_0x1821f1['unitID'],'actions':null,'textRanges':[_0x40fc50]}}],_0x59c592=this[_0x322eef(0x310)][_0x322eef(0x134)](_0x1821f1,_0x3cee09);if(!_0x2de823(_0x59c592))throw _0x59c592[_0x322eef(0x329)];const _0x16bf48=_0x59c592['m2Prime'][0x0]['params']['textRanges'];Array[_0x322eef(0x255)](_0x16bf48)&&_0x16bf48['length']&&_0x3b3868[_0x322eef(0x2fb)](_0x16bf48[0x0]);}};ft=Jr([At(0x0,_0x39c8b8(_0x2fd08f)),At(0x1,_0x36ceed),At(0x2,_0x4e7ca1)],ft);var Zr=Object['defineProperty'],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x239746,_0x541419,_0x2902ab,_0x5788f5)=>{const _0x43cf28=_0xf37888;for(var _0xf8d472=_0x5788f5>0x1?void 0x0:_0x5788f5?Qr(_0x541419,_0x2902ab):_0x541419,_0x1c6fd5=_0x239746[_0x43cf28(0x42c)]-0x1,_0x294c7e;_0x1c6fd5>=0x0;_0x1c6fd5--)(_0x294c7e=_0x239746[_0x1c6fd5])&&(_0xf8d472=(_0x5788f5?_0x294c7e(_0x541419,_0x2902ab,_0xf8d472):_0x294c7e(_0xf8d472))||_0xf8d472);return _0x5788f5&&_0xf8d472&&Zr(_0x541419,_0x2902ab,_0xf8d472),_0xf8d472;},Xe=(_0x40acf4,_0x5e8f11)=>(_0x54aa00,_0x99de38)=>_0x5e8f11(_0x54aa00,_0x99de38,_0x40acf4);let q=class extends _0xb54fec{constructor(_0x73765c,_0x662ac3,_0x24a704,_0x1efddb,_0x4eefa1){const _0x1f8707=_0xf37888;super(),g(this,_0x1f8707(0x17d),new Map()),g(this,'_saveTaskMap',new Map()),g(this,'_disabled',!0x1),(this[_0x1f8707(0x1f2)]=_0x73765c,this[_0x1f8707(0x4d8)]=_0x662ac3,this[_0x1f8707(0x291)]=_0x24a704,this[_0x1f8707(0x428)]=_0x1efddb,this[_0x1f8707(0x437)]=_0x4eefa1,this[_0x1f8707(0x1dd)]());}[_0xf37888(0x3a7)](){this['_disabled']=!0x0;}[_0xf37888(0x4ce)](){const _0x425b0c=_0xf37888;this[_0x425b0c(0x234)]=!0x1;}[_0xf37888(0x4d5)](){const _0x365a8a=_0xf37888;this['exhaustSavingTask']()['then'](()=>super[_0x365a8a(0x4d5)]());}async['loadOfflineData'](_0x2d5cc4){const _0x5c0b00=_0xf37888;return this['_disabled']?null:this[_0x5c0b00(0x4d8)][_0x5c0b00(0x1f0)](Bs(_0x2d5cc4));}async[_0xf37888(0x194)](_0x104f66,_0x21b96b){const _0x4b82c7=_0xf37888;return!!this[_0x4b82c7(0x4d8)][_0x4b82c7(0x4b8)](_0x104f66,_0x21b96b);}[_0xf37888(0x22b)](_0x145e3a,_0xd8db9f,_0x31fa54,_0x45f314){const _0x269314=_0xf37888,_0x28c2eb=this[_0x269314(0x437)][_0x269314(0x4c3)](_0x145e3a);this[_0x269314(0x17d)][_0x269314(0x1ec)](_0x145e3a,{'unitID':_0x145e3a,'type':_0xd8db9f,'awaitingChangeset':_0x31fa54,'mutations':_0x45f314,'rev':_0x28c2eb}),this[_0x269314(0x47c)][_0x269314(0x4af)](_0x145e3a)||this[_0x269314(0x325)](_0x145e3a);}['_scheduleSaving'](_0x1022cc){const _0x155e4d=_0xf37888,_0x2c0d55=this[_0x155e4d(0x2bd)]();_0x2c0d55===0x0?this[_0x155e4d(0x16c)](_0x1022cc):this[_0x155e4d(0x47c)][_0x155e4d(0x1ec)](_0x1022cc,setTimeout(()=>this['_saveCache'](_0x1022cc),_0x2c0d55));}[_0xf37888(0x2bd)](){const _0x45373d=_0xf37888;var _0xdf686f;return(_0xdf686f=this[_0x45373d(0x1f2)][_0x45373d(0x37a)](Sr))!=null?_0xdf686f:Ir;}[_0xf37888(0x16c)](_0x350de2){const _0x5c3d15=_0xf37888,_0x1ddd0e=this['_saveTaskMap'][_0x5c3d15(0x166)](_0x350de2);return _0x1ddd0e!==void 0x0&&window[_0x5c3d15(0x13f)](_0x1ddd0e),this[_0x5c3d15(0x4d8)]['setItem'](Bs(_0x350de2),this[_0x5c3d15(0x17d)][_0x5c3d15(0x166)](_0x350de2))[_0x5c3d15(0x1ed)](()=>this[_0x5c3d15(0x47c)][_0x5c3d15(0x3ab)](_0x350de2));}async['exhaustSavingTask'](){const _0x49be1a=[];this['_saveTaskMap']['forEach']((_0xd4702d,_0x5c1e7b)=>{const _0x3a751e=_0x136c;window['clearTimeout'](_0xd4702d),_0x49be1a[_0x3a751e(0x270)](this[_0x3a751e(0x16c)](_0x5c1e7b)[_0x3a751e(0x1ed)](()=>{const _0x3128be=_0x3a751e;this[_0x3128be(0x47c)][_0x3128be(0x3ab)](_0x5c1e7b);}));}),await Promise['all'](_0x49be1a);}[_0xf37888(0x1dd)](){const _0x425bf1=_0xf37888;this[_0x425bf1(0x3ec)](this['_beforeCloseService'][_0x425bf1(0x351)](()=>{const _0x54aa57=_0x425bf1;if(this['_saveTaskMap'][_0x54aa57(0x189)])return this[_0x54aa57(0x428)]['t']('collaboration-client.offline-data-not-saved');}));}};q=eo([Xe(0x0,_0x45a6b3),Xe(0x1,_0x4f5ce1),Xe(0x2,_0x1e394f),Xe(0x3,_0x39c8b8(_0x50f35b)),Xe(0x4,_0x39c8b8(_0x304c49))],q);function Bs(_0x147b30){const _0xd4cea0=_0xf37888;return _0xd4cea0(0x32b)+_0x147b30;}var to=Object[_0xf37888(0x320)],so=Object[_0xf37888(0x26b)],io=(_0xfdb552,_0x67ae64,_0x48949d,_0x3ad777)=>{for(var _0x5aace7=_0x3ad777>0x1?void 0x0:_0x3ad777?so(_0x67ae64,_0x48949d):_0x67ae64,_0x4f0cc7=_0xfdb552['length']-0x1,_0x57a557;_0x4f0cc7>=0x0;_0x4f0cc7--)(_0x57a557=_0xfdb552[_0x4f0cc7])&&(_0x5aace7=(_0x3ad777?_0x57a557(_0x67ae64,_0x48949d,_0x5aace7):_0x57a557(_0x5aace7))||_0x5aace7);return _0x3ad777&&_0x5aace7&&to(_0x67ae64,_0x48949d,_0x5aace7),_0x5aace7;},Mt=(_0x2e700e,_0x4807a0)=>(_0x3eaa1c,_0x5ce090)=>_0x4807a0(_0x3eaa1c,_0x5ce090,_0x2e700e);function no(_0x55fad2){const _0x29aba7=_0xf37888,{unitID:_0x29dadc,mutations:_0x572cd6}=_0x55fad2;return{'unitId':_0x29dadc,'subUnitId':_0x572cd6[0x0][_0x29aba7(0x274)][_0x29aba7(0x24a)]};}let vt=class{constructor(_0x2fcb22,_0x57efba,_0x3cc029){const _0x42867a=_0xf37888;this['_injector']=_0x2fcb22,this[_0x42867a(0x310)]=_0x57efba,this['_instanceService']=_0x3cc029;}[_0xf37888(0x2c1)](_0x3dadf8){const _0x40c75d=_0xf37888;var _0x52cdca,_0x680aa0,_0x37ad2b,_0x3273cc;const _0x3027da=this['_injector']['get'](_0x2ff3ec),{unitId:_0x354531,subUnitId:_0x392f5e}=no(_0x3dadf8),_0x416ec0=_0x3027da[_0x40c75d(0x3c1)](_0x354531)['getCurrentSelections'](),_0x5dc47c=(_0x680aa0=(_0x52cdca=this[_0x40c75d(0x202)][_0x40c75d(0x30e)](_0x354531))==null?void 0x0:_0x52cdca[_0x40c75d(0x14f)]())==null?void 0x0:_0x680aa0[_0x40c75d(0x370)]();if(_0x416ec0[_0x40c75d(0x42c)]===0x0||!_0x354531||!_0x392f5e)return;const _0x4d9a7f=[{'id':_0x455bea['id'],'params':{'unitId':_0x354531,'subUnitId':_0x5dc47c,'selections':_0x5d7755[_0x40c75d(0x1ea)](_0x416ec0)}}],_0x4b4933=this[_0x40c75d(0x310)][_0x40c75d(0x134)](_0x3dadf8,_0x4d9a7f);if(!_0x2de823(_0x4b4933))throw _0x4b4933[_0x40c75d(0x329)];const _0x27244b=(_0x3273cc=(_0x37ad2b=_0x4b4933[_0x40c75d(0x44b)][0x0])==null?void 0x0:_0x37ad2b[_0x40c75d(0x274)])==null?void 0x0:_0x3273cc[_0x40c75d(0x3fb)];if(Array[_0x40c75d(0x255)](_0x27244b)&&_0x27244b[_0x40c75d(0x42c)]){if(_0x27244b['length']===_0x4d9a7f[0x0]['params'][_0x40c75d(0x3fb)][_0x40c75d(0x42c)]&&_0x27244b[_0x40c75d(0x195)]((_0x41b4a0,_0x1cf99a)=>_0x3bc9a8[_0x40c75d(0x142)](_0x41b4a0[_0x40c75d(0x3f9)],_0x4d9a7f[0x0]['params'][_0x40c75d(0x3fb)][_0x1cf99a][_0x40c75d(0x3f9)])))return;this['_injector'][_0x40c75d(0x166)](_0x48fc43)[_0x40c75d(0x163)](_0x455bea['id'],{'unitId':_0x354531,'subUnitId':_0x5dc47c,'selections':_0x27244b});}}};vt=io([Mt(0x0,_0x39c8b8(_0x2fd08f)),Mt(0x1,_0x36ceed),Mt(0x2,_0x6b8e83)],vt);const Rt=_0x11a95d('univer-pro.collaboration-client.single-active-unit-service');var Di=(_0x2462cb=>(_0x2462cb[_0x2462cb[_0xf37888(0x334)]=0x0]=_0xf37888(0x334),_0x2462cb[_0x2462cb['OTHER_CLIENTS_EDITING']=0x1]=_0xf37888(0x280),_0x2462cb))(Di||{});const ks=0x7530,Ws='ACTIVE_UNIT_EVENT_CHANNEL';class ro extends _0xb54fec{constructor(){const _0x41b157=_0xf37888;super(),g(this,'_id',_0x5d7755[_0x41b157(0x44e)]()),g(this,_0x41b157(0x4de),new Set()),g(this,'_unitOnClients',new Map()),g(this,'_heartbeatTimer',null),g(this,_0x41b157(0x25a),new Map()),g(this,_0x41b157(0x466),new Map()),this[_0x41b157(0x406)]();}['dispose'](){const _0x1e065b=_0xf37888;super[_0x1e065b(0x4d5)](),this[_0x1e065b(0x25a)][_0x1e065b(0x321)]((_0x59726f,_0xb720fd)=>this[_0x1e065b(0x4cc)](_0xb720fd)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x1e065b(0x182)]);}[_0xf37888(0x3e4)](_0x344c2f){const _0x215de6=_0xf37888;return this[_0x215de6(0x347)](_0x344c2f)[_0x215de6(0x3bf)](_0x7d7043());}[_0xf37888(0x1f8)](_0x47facc){const _0x433403=_0xf37888;this[_0x433403(0x4de)][_0x433403(0x189)]===0x0&&this[_0x433403(0x32e)](),this[_0x433403(0x4de)][_0x433403(0x389)](_0x47facc),this[_0x433403(0x4e0)]({'type':0x0,'memberID':this[_0x433403(0x503)],'unitIDs':[_0x47facc],'isForwarded':!0x1});}['disposeUnit'](_0x148046){const _0x47604a=_0xf37888;this[_0x47604a(0x4de)][_0x47604a(0x3ab)](_0x148046),this[_0x47604a(0x4de)][_0x47604a(0x189)]===0x0&&this[_0x47604a(0x182)]&&window[_0x47604a(0x330)](this['_heartbeatTimer']);}[_0xf37888(0x406)](){const _0x2b29a9=_0xf37888;this[_0x2b29a9(0x3ec)](_0x5b8af0(_0x5ea6fd(window,_0x2b29a9(0x37d))[_0x2b29a9(0x236)](_0xba5eda=>{const _0x128cf4=_0x2b29a9;if(_0xba5eda[_0x128cf4(0x335)]!==Ws||!_0xba5eda['newValue'])return;const _0x588b14=JSON[_0x128cf4(0x2e9)](_0xba5eda['newValue']);this[_0x128cf4(0x164)](_0x588b14);}))),window['addEventListener'](_0x2b29a9(0x20a),()=>this[_0x2b29a9(0x4e0)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x2b29a9(0x123)](this['_selfUnitIDs'])}));}[_0xf37888(0x164)](_0x194d0e){const _0x788c82=_0xf37888;switch(_0x194d0e[_0x788c82(0x1fd)]){case 0x0:this[_0x788c82(0x39c)](_0x194d0e);break;case 0x1:this[_0x788c82(0x348)](_0x194d0e);break;case 0x2:this[_0x788c82(0x3da)](_0x194d0e);break;}}['_handleJoinEvent'](_0xe2640b){const _0x586436=_0xf37888,{unitIDs:_0x4f0278,memberID:_0x5bd9f9,isForwarded:_0x51dd2b}=_0xe2640b;_0x4f0278[_0x586436(0x321)](_0x28a442=>{const _0x5b7438=_0x586436;if(!_0x51dd2b&&this[_0x5b7438(0x2de)][_0x5b7438(0x4af)](_0x28a442)&&this['_ensureSubject'](_0x28a442)['next'](0x1),!this[_0x5b7438(0x2de)][_0x5b7438(0x4af)](_0x28a442)||!this[_0x5b7438(0x2de)][_0x5b7438(0x166)](_0x28a442)[_0x5b7438(0x4af)](_0x5bd9f9)){const _0xd45264=this[_0x5b7438(0x2de)][_0x5b7438(0x166)](_0x28a442)||new Set();_0xd45264[_0x5b7438(0x389)](_0x5bd9f9),this[_0x5b7438(0x2de)]['set'](_0x28a442,_0xd45264),this[_0x5b7438(0x1e4)](_0x5bd9f9);}}),_0x51dd2b||this[_0x586436(0x4e0)]({'type':0x0,'memberID':this[_0x586436(0x503)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0xf37888(0x1e4)](_0x35d79d){const _0x30454f=_0xf37888;this[_0x30454f(0x4cc)](_0x35d79d);const _0x193fd1=window['setTimeout'](()=>{const _0x5a7186=_0x30454f;this[_0x5a7186(0x2de)][_0x5a7186(0x321)](_0x422565=>{const _0x1ac828=_0x5a7186;_0x422565[_0x1ac828(0x3ab)](_0x35d79d);});},ks*0x2);this[_0x30454f(0x25a)]['set'](_0x35d79d,_0x193fd1);}[_0xf37888(0x4cc)](_0x254858){const _0x3c829f=_0xf37888;if(this[_0x3c829f(0x25a)][_0x3c829f(0x4af)](_0x254858)){const _0x43a50e=this['_clearOtherTimers']['get'](_0x254858);_0x43a50e&&window[_0x3c829f(0x13f)](_0x43a50e),this[_0x3c829f(0x25a)]['set'](_0x254858,null);}}[_0xf37888(0x348)](_0x273b43){const _0x58dbaa=_0xf37888,{memberID:_0x2ee493,unitIDs:_0x3bc9da}=_0x273b43;_0x3bc9da[_0x58dbaa(0x321)](_0x4464da=>{const _0x2ed70e=_0x58dbaa;var _0x11971f;const _0x5a65e8=this['_unitOnClients']['get'](_0x4464da);_0x5a65e8&&(_0x5a65e8[_0x2ed70e(0x3ab)](_0x2ee493),(_0x11971f=this[_0x2ed70e(0x347)](_0x4464da))==null||_0x11971f['next'](_0x5a65e8['size']===0x0?0x0:0x1));}),this[_0x58dbaa(0x4cc)](_0x2ee493);}[_0xf37888(0x3da)](_0x317bd7){const _0xd701b7=_0xf37888;this[_0xd701b7(0x1e4)](_0x317bd7['memberID']);}[_0xf37888(0x4e0)](_0x3af05f){const _0x1215b7=_0xf37888;localStorage[_0x1215b7(0x4b8)](Ws,JSON[_0x1215b7(0x387)](_0x3af05f));}[_0xf37888(0x32e)](){const _0x1ec7a6=_0xf37888;this[_0x1ec7a6(0x182)]=window[_0x1ec7a6(0x276)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},ks);}['_ensureSubject'](_0x6d34ab){const _0x520598=_0xf37888;return this[_0x520598(0x466)][_0x520598(0x4af)](_0x6d34ab)||this['_unitStatus'][_0x520598(0x1ec)](_0x6d34ab,new _0x7465ad(0x0)),this['_unitStatus']['get'](_0x6d34ab);}}var oo=Object[_0xf37888(0x320)],ao=Object[_0xf37888(0x26b)],co=(_0x552c10,_0xb358fc,_0x41fd49,_0x5986de)=>{const _0x55b511=_0xf37888;for(var _0x35a4c1=_0x5986de>0x1?void 0x0:_0x5986de?ao(_0xb358fc,_0x41fd49):_0xb358fc,_0x58bedf=_0x552c10[_0x55b511(0x42c)]-0x1,_0x22feab;_0x58bedf>=0x0;_0x58bedf--)(_0x22feab=_0x552c10[_0x58bedf])&&(_0x35a4c1=(_0x5986de?_0x22feab(_0xb358fc,_0x41fd49,_0x35a4c1):_0x22feab(_0x35a4c1))||_0x35a4c1);return _0x5986de&&_0x35a4c1&&oo(_0xb358fc,_0x41fd49,_0x35a4c1),_0x35a4c1;},xt=(_0x2bfef2,_0x353309)=>(_0x5dfdb7,_0x46e3d0)=>_0x353309(_0x5dfdb7,_0x46e3d0,_0x2bfef2);let mt=class{constructor(_0x165413,_0x1f3f0b,_0x70b6f5){const _0x29d577=_0xf37888;this[_0x29d577(0x43d)]=_0x165413,this['_transformService']=_0x1f3f0b,this[_0x29d577(0x1ce)]=_0x70b6f5;}[_0xf37888(0x20e)](_0x238e65){const _0x55154b=_0xf37888;this[_0x55154b(0x47a)](_0x238e65);}['transformRemoteChangeset'](_0x145501){const _0x32eb4b=_0xf37888,{unitID:_0x428237}=_0x145501,{collaboration:_0x4c10bc}=this[_0x32eb4b(0x1ce)]['getStateCache'](_0x428237);if(_0x4c10bc[_0x32eb4b(0x42c)]===0x0)return _0x145501;let _0x3c6469=_0x5d7755['deepClone'](_0x145501[_0x32eb4b(0x372)][0x0]);for(let _0x219740=0x0;_0x219740<_0x4c10bc[_0x32eb4b(0x42c)];_0x219740++){const _0xf8fc17={'id':_0x32eb4b(0x1a5),'params':{'unitId':_0x4c10bc[_0x219740]['unitId'],..._0x4c10bc[_0x219740][_0x32eb4b(0x3d9)]}},_0xf2366d=this[_0x32eb4b(0x310)][_0x32eb4b(0x1b8)](_0x3c6469,_0xf8fc17,!0x1);if(_0xfceaae(_0xf2366d))throw _0xf2366d[_0x32eb4b(0x329)];_0x3c6469=_0xf2366d[_0x32eb4b(0x36b)];}return{..._0x5d7755[_0x32eb4b(0x1ea)](_0x145501),'mutations':[_0x3c6469]};}[_0xf37888(0x47a)](_0x5de8ed){const _0x1a5b1b=_0xf37888,{unitID:_0x587770}=_0x5de8ed,{history:_0x191e31,collaboration:_0x12ff61}=this[_0x1a5b1b(0x1ce)][_0x1a5b1b(0x339)](_0x587770);if(_0x191e31[_0x1a5b1b(0x42c)]===0x0&&_0x12ff61[_0x1a5b1b(0x42c)]===0x0)return;const _0x380045=[],_0x221ae3=[];let _0x36a037=_0x5d7755[_0x1a5b1b(0x1ea)](_0x5de8ed[_0x1a5b1b(0x372)][0x0]),_0x4449d9=_0x5d7755[_0x1a5b1b(0x1ea)](_0x5de8ed[_0x1a5b1b(0x372)][0x0]);for(let _0x306820=_0x191e31[_0x1a5b1b(0x42c)]-0x1;_0x306820>=0x0;_0x306820--){const _0x592f38={'id':_0x1a5b1b(0x1a5),'params':{'unitId':_0x191e31[_0x306820][_0x1a5b1b(0x442)],..._0x191e31[_0x306820][_0x1a5b1b(0x4f1)]}},_0xf267f3={'id':_0x1a5b1b(0x1a5),'params':{'unitId':_0x191e31[_0x306820]['unitId'],..._0x191e31[_0x306820][_0x1a5b1b(0x3d9)]}},_0x1822a9=this[_0x1a5b1b(0x310)][_0x1a5b1b(0x1b8)](_0x36a037,_0x592f38,!0x1),_0x140542=this[_0x1a5b1b(0x310)][_0x1a5b1b(0x1b8)](_0x4449d9,_0xf267f3,!0x1);if(_0xfceaae(_0x1822a9))throw _0x1822a9[_0x1a5b1b(0x329)];if(_0xfceaae(_0x140542))throw _0x140542[_0x1a5b1b(0x329)];_0x380045['unshift']({..._0x191e31[_0x306820],'undoState':_0x1822a9[_0x1a5b1b(0x44b)][_0x1a5b1b(0x274)],'redoState':_0x140542['m2Prime'][_0x1a5b1b(0x274)]}),_0x36a037=_0x1822a9[_0x1a5b1b(0x36b)],_0x4449d9=_0x140542['m1Prime'];}_0x36a037=_0x5d7755[_0x1a5b1b(0x1ea)](_0x5de8ed[_0x1a5b1b(0x372)][0x0]),_0x4449d9=_0x5d7755[_0x1a5b1b(0x1ea)](_0x5de8ed['mutations'][0x0]);for(let _0x58d5fe=_0x12ff61[_0x1a5b1b(0x42c)]-0x1;_0x58d5fe>=0x0;_0x58d5fe--){const _0x862e52={'id':_0x1a5b1b(0x1a5),'params':{'unitId':_0x12ff61[_0x58d5fe]['unitId'],..._0x12ff61[_0x58d5fe]['undoState']}},_0x188ec3={'id':_0x1a5b1b(0x1a5),'params':{'unitId':_0x12ff61[_0x58d5fe]['unitId'],..._0x12ff61[_0x58d5fe][_0x1a5b1b(0x3d9)]}},_0x308e78=this['_transformService'][_0x1a5b1b(0x1b8)](_0x36a037,_0x862e52,!0x1),_0x390f72=this['_transformService'][_0x1a5b1b(0x1b8)](_0x4449d9,_0x188ec3,!0x1);if(_0xfceaae(_0x308e78))throw _0x308e78['error'];if(_0xfceaae(_0x390f72))throw _0x390f72[_0x1a5b1b(0x329)];_0x221ae3[_0x1a5b1b(0x46c)]({..._0x12ff61[_0x58d5fe],'undoState':_0x308e78[_0x1a5b1b(0x44b)][_0x1a5b1b(0x274)],'redoState':_0x390f72[_0x1a5b1b(0x44b)][_0x1a5b1b(0x274)]}),_0x36a037=_0x308e78[_0x1a5b1b(0x36b)],_0x4449d9=_0x390f72[_0x1a5b1b(0x36b)];}this[_0x1a5b1b(0x1ce)]['setStateCache'](_0x587770,{'history':_0x380045,'collaboration':_0x221ae3});}};mt=co([xt(0x0,_0x39c8b8(_0x2fd08f)),xt(0x1,_0x36ceed),xt(0x2,_0x39c8b8(_0x3b95d5))],mt);function Pi(_0x341e6d){let _0x533490='';for(const _0x38fd46 of _0x341e6d){const {startOffset:_0x37af8e,endOffset:_0x55a254,isActive:_0x511ab1,rangeType:_0x5c284f,segmentId:_0xe9e271,segmentPage:_0x26bc52}=_0x38fd46;_0x533490['length']&&(_0x533490+=','),_0x533490+=_0x37af8e+':'+_0x55a254+':'+(_0x511ab1?'1':'0')+':'+_0x5c284f+':'+_0xe9e271+':'+_0x26bc52;}return _0x533490;}function ho(_0x5822bd){const _0x3cfcfb=_0xf37888,_0x43a043=_0x5822bd[_0x3cfcfb(0x127)](','),_0xd1e159=[];for(const _0x53614e of _0x43a043){const [_0x50a6d7,_0x18260f,_0x3acc5b,_0xf0cb28,_0x4bc67a,_0x5d3dfd]=_0x53614e[_0x3cfcfb(0x127)](':');_0xd1e159[_0x3cfcfb(0x270)]({'startOffset':Number(_0x50a6d7),'endOffset':Number(_0x18260f),'collapsed':_0x50a6d7===_0x18260f,'isActive':_0x3acc5b==='1','rangeType':_0xf0cb28===_0x3b2ca6[_0x3cfcfb(0x40c)]?_0x3b2ca6[_0x3cfcfb(0x40c)]:_0x3b2ca6[_0x3cfcfb(0x282)],'segmentId':typeof _0x4bc67a==_0x3cfcfb(0x384)?String(_0x4bc67a):'','segmentPage':Number(_0x5d3dfd!=null?_0x5d3dfd:-0x1)});}return _0xd1e159[_0x3cfcfb(0x413)](_0x4495e9=>_0x4495e9[_0x3cfcfb(0x438)])||(_0xd1e159[0x0][_0x3cfcfb(0x438)]=!0x0),_0xd1e159;}class Cs extends _0x3c16d2{constructor(){const _0x55d77b=_0xf37888;super(...arguments),g(this,_0x55d77b(0x366),new _0x7465ad(null)),g(this,'collabCursorState$',this[_0x55d77b(0x366)]['asObservable']());}[_0xf37888(0x39e)](_0x5c9ed9){const {unitID:_0xe2aa60,memberID:_0x4037a1,textRanges:_0x1eb79b}=_0x5c9ed9,_0x481384=Pi(_0x1eb79b);if(_0x481384==='')return;const _0x48caa4={'unitID':_0xe2aa60,'memberID':_0x4037a1,'selection':_0x481384};this['_collabCursorState$']['next'](_0x48caa4);}}var lo=Object['defineProperty'],_o=Object[_0xf37888(0x26b)],uo=(_0x2a8dc6,_0x40d5f6,_0xed5c8b,_0x18c01c)=>{const _0x3bc4e7=_0xf37888;for(var _0x163c01=_0x18c01c>0x1?void 0x0:_0x18c01c?_o(_0x40d5f6,_0xed5c8b):_0x40d5f6,_0x35aa69=_0x2a8dc6[_0x3bc4e7(0x42c)]-0x1,_0x2287bf;_0x35aa69>=0x0;_0x35aa69--)(_0x2287bf=_0x2a8dc6[_0x35aa69])&&(_0x163c01=(_0x18c01c?_0x2287bf(_0x40d5f6,_0xed5c8b,_0x163c01):_0x2287bf(_0x163c01))||_0x163c01);return _0x18c01c&&_0x163c01&&lo(_0x40d5f6,_0xed5c8b,_0x163c01),_0x163c01;},Fs=(_0x2cd93a,_0x258625)=>(_0x3c460b,_0x239eca)=>_0x258625(_0x3c460b,_0x239eca,_0x2cd93a);let pt=class{constructor(_0x49e85a,_0x2a48d8){const _0x13a080=_0xf37888;this['_injector']=_0x49e85a,this[_0x13a080(0x310)]=_0x2a48d8;}[_0xf37888(0x2c1)](_0x55fb2a){const _0x574cff=_0xf37888;var _0x3c2b70;const _0x384252=this[_0x574cff(0x43d)][_0x574cff(0x166)](_0x17cd7b),_0x2b8655=(_0x3c2b70=_0x384252[_0x574cff(0x2fd)]())!=null?_0x3c2b70:[];if(_0x2b8655[_0x574cff(0x42c)]===0x0)return;const _0x16e517=_0x55fb2a['unitID'],_0x2a11ab=[{'id':_0x574cff(0x1a5),'params':{'unitId':_0x16e517,'actions':null,'textRanges':_0x2b8655}}],_0x4fa375=this['_transformService'][_0x574cff(0x134)](_0x55fb2a,_0x2a11ab);if(!_0x2de823(_0x4fa375))throw _0x4fa375[_0x574cff(0x329)];const _0xabdc11=_0x4fa375[_0x574cff(0x44b)][0x0][_0x574cff(0x274)][_0x574cff(0x485)];Array[_0x574cff(0x255)](_0xabdc11)&&_0xabdc11['length']&&_0x384252[_0x574cff(0x35c)](_0xabdc11,{'unitId':_0x16e517,'subUnitId':_0x16e517},!0x1);}};pt=uo([Fs(0x0,_0x39c8b8(_0x2fd08f)),Fs(0x1,_0x36ceed)],pt);const fo=new Set([_0x4ef24f['id']]);function Vs(_0x529897,_0x254a6e,_0x2c0270,_0x1b1c96,_0x4c29f6){const _0x2bde8a=_0xf37888;var _0x11adf9,_0x258233,_0x3d0bc1,_0x410a0e;const _0x4c4146=[];for(const _0x34f518 of _0x529897)if(fo['has'](_0x34f518['id'])){if(_0x4c4146['length']>0x0)break;_0x4c4146[_0x2bde8a(0x270)](_0x34f518);break;}else _0x4c4146['push'](_0x34f518);const _0x35744d=(_0x258233=(_0x11adf9=_0x4c29f6[_0x2bde8a(0x2a0)]())==null?void 0x0:_0x11adf9[_0x2bde8a(0x1b4)])!=null?_0x258233:_0x2bde8a(0x418),_0x2d0649=(_0x410a0e=(_0x3d0bc1=_0x4c29f6['getCurrentUser']())==null?void 0x0:_0x3d0bc1[_0x2bde8a(0x498)])!=null?_0x410a0e:_0x2bde8a(0x418);return{'changeset':{'unitID':_0x254a6e,'type':_0x5ab887(_0x2c0270['getUnitType'](_0x254a6e)),'baseRev':_0x1b1c96[_0x2bde8a(0x4c3)](_0x254a6e),'revision':0x0,'userID':_0x35744d,'memberID':_0x2d0649,'mutations':_0x4c4146},'pendingMutations':_0x529897[_0x2bde8a(0x3cb)](_0x4c4146[_0x2bde8a(0x42c)])};}function vo(_0x3358f6,_0x472363,_0x230c48,_0x40f328,_0x510434){const _0x7dd74f=_0xf37888;var _0x104472,_0x3ad8f5,_0x2477a4,_0x20d2cc;const _0x4fc9ce=[_0x3358f6[_0x7dd74f(0x3b8)]((_0x192fe0,_0x4498ed)=>{const _0x5e330f=_0x7dd74f;var _0x20900f;const {id:_0x416c52}=_0x192fe0,{id:_0x147bd5,type:_0x1dcdac}=_0x4498ed,_0x105785=(_0x20900f=_0x192fe0[_0x5e330f(0x274)])!=null?_0x20900f:{'actions':null},_0x42c879=_0x4498ed[_0x5e330f(0x274)];if(_0x416c52&&_0x416c52!==_0x147bd5)throw new Error(_0x5e330f(0x3f3)+_0x416c52+'\x20-\x20'+_0x147bd5+'.');return{..._0x192fe0,'id':_0x147bd5,'type':_0x1dcdac,'params':{'unitId':_0x42c879['unitId'],'textRanges':_0x42c879['textRanges'],'actions':_0x1fe550[_0x5e330f(0x111)](_0x105785[_0x5e330f(0x2fc)],_0x42c879['actions'])}};},{})],_0x2a5276=(_0x3ad8f5=(_0x104472=_0x510434[_0x7dd74f(0x2a0)]())==null?void 0x0:_0x104472[_0x7dd74f(0x1b4)])!=null?_0x3ad8f5:_0x7dd74f(0x418),_0x5820bb=(_0x20d2cc=(_0x2477a4=_0x510434[_0x7dd74f(0x2a0)]())==null?void 0x0:_0x2477a4['memberID'])!=null?_0x20d2cc:_0x7dd74f(0x418);return{'changeset':{'unitID':_0x472363,'type':_0x5ab887(_0x230c48['getUnitType'](_0x472363)),'baseRev':_0x40f328[_0x7dd74f(0x4c3)](_0x472363),'revision':0x0,'userID':_0x2a5276,'memberID':_0x5820bb,'mutations':_0x4fc9ce},'pendingMutations':[]};}function Ui(_0x5e2aeb,_0x39b59c){const _0x220c86=_0xf37888,_0x4fb267=new _0x56e22a(0x1);return setTimeout(()=>_0x4fb267[_0x220c86(0x2d2)](_0x39b59c),_0x5e2aeb),_0x4fb267['asObservable']()['pipe'](_0x5f06ad(0x1));}const mo={'id':_0x59dd9d['id'],'type':_0x357ec8[_0xf37888(0x1de)],'params':{}};var po=Object[_0xf37888(0x320)],go=Object['getOwnPropertyDescriptor'],Le=(_0x4ed62b,_0x9a81a5,_0x1b2a89,_0x65bd6a)=>{const _0x56e74f=_0xf37888;for(var _0x10f3eb=_0x65bd6a>0x1?void 0x0:_0x65bd6a?go(_0x9a81a5,_0x1b2a89):_0x9a81a5,_0x31d4b5=_0x4ed62b[_0x56e74f(0x42c)]-0x1,_0x4446a1;_0x31d4b5>=0x0;_0x31d4b5--)(_0x4446a1=_0x4ed62b[_0x31d4b5])&&(_0x10f3eb=(_0x65bd6a?_0x4446a1(_0x9a81a5,_0x1b2a89,_0x10f3eb):_0x4446a1(_0x10f3eb))||_0x10f3eb);return _0x65bd6a&&_0x10f3eb&&po(_0x9a81a5,_0x1b2a89,_0x10f3eb),_0x10f3eb;},A=(_0x5e7ff0,_0x4dc10b)=>(_0x54084c,_0x37e209)=>_0x4dc10b(_0x54084c,_0x37e209,_0x5e7ff0),J=(_0x2fb840=>(_0x2fb840[_0xf37888(0x4ea)]=_0xf37888(0x1f6),_0x2fb840[_0xf37888(0x4cf)]=_0xf37888(0x2d6),_0x2fb840[_0xf37888(0x240)]=_0xf37888(0x153),_0x2fb840[_0xf37888(0x48a)]=_0xf37888(0x441),_0x2fb840['AWAITING_WITH_PENDING']=_0xf37888(0x27a),_0x2fb840[_0xf37888(0x3c0)]='fetch_missing',_0x2fb840['CONFLICT']='conflict',_0x2fb840['OFFLINE']='offline',_0x2fb840))(J||{});const Ni=0xea60;class $e{constructor(_0x3bff70,_0x36b180,_0x1623d2,_0x1d665c,_0x26d28e,_0x41f69b,_0x4c6534,_0x3b29b5,_0x241d10){const _0x555535=_0xf37888;g(this,_0x555535(0x19f),null),g(this,'_pendingMutations',[]),(this[_0x555535(0x24f)]=_0x3bff70,this[_0x555535(0x1fd)]=_0x36b180,this[_0x555535(0x132)]=_0x26d28e,this[_0x555535(0x1fb)]=_0x41f69b,this[_0x555535(0x2ed)]=_0x4c6534,this[_0x555535(0x437)]=_0x3b29b5,this[_0x555535(0x324)]=_0x241d10,this['_awaitingChangeset']=_0x1623d2,this[_0x555535(0x431)]=_0x1d665c);}[_0xf37888(0x3f4)](_0x4e3826){const _0x417c6c=_0xf37888,_0x4c5c2e=this[_0x417c6c(0x437)]['getCurrentRevOfUnit'](this[_0x417c6c(0x24f)]);return _0x4e3826[_0x417c6c(0x4fc)]>_0x4c5c2e+0x1?(this['_handler'][_0x417c6c(0x12d)]({'from':_0x4c5c2e,'to':_0x4e3826[_0x417c6c(0x4fc)]-0x1}),!0x0):!0x1;}[_0xf37888(0x374)](_0x4a8c5e){const _0x5ddd8d=_0xf37888;this['_undoRedoService'][_0x5ddd8d(0x446)](this[_0x5ddd8d(0x24f)],_0x4a8c5e);}[_0xf37888(0x18f)](_0x2a0268){const _0x47a170=_0xf37888;var _0x46616e,_0x384ea0;(_0x384ea0=(_0x46616e=this[_0x47a170(0x132)])[_0x47a170(0x380)])==null||_0x384ea0[_0x47a170(0x3b7)](_0x46616e,_0x2a0268);}['_transformIMECache'](_0x29c5d4){const _0x496656=_0xf37888;var _0x157210,_0x49226e;return(_0x49226e=(_0x157210=this['_handler'])[_0x496656(0x371)])==null?void 0x0:_0x49226e[_0x496656(0x3b7)](_0x157210,_0x29c5d4);}[_0xf37888(0x2db)](_0x4137cc){const _0xaf903c=_0xf37888;var _0x3f0f12,_0x51cb21;return(_0x51cb21=(_0x3f0f12=this['_handler'])[_0xaf903c(0x376)])==null?void 0x0:_0x51cb21[_0xaf903c(0x3b7)](_0x3f0f12,_0x4137cc);}[_0xf37888(0x22e)](_0x52acd0){const _0x279cd0=_0xf37888;var _0x15c9c0,_0x46e373,_0xd8fd78;return(_0xd8fd78=(_0x46e373=(_0x15c9c0=this[_0x279cd0(0x132)])[_0x279cd0(0x3a5)])==null?void 0x0:_0x46e373[_0x279cd0(0x3b7)](_0x15c9c0,_0x52acd0))!=null?_0xd8fd78:_0x52acd0;}['_transformRemoteChangesetByStateCache'](_0x2f4a5c){const _0x437136=_0xf37888;var _0x3a6395,_0x5e2eeb,_0x538072;return(_0x538072=(_0x5e2eeb=(_0x3a6395=this[_0x437136(0x132)])[_0x437136(0x42f)])==null?void 0x0:_0x5e2eeb[_0x437136(0x3b7)](_0x3a6395,_0x2f4a5c))!=null?_0x538072:_0x2f4a5c;}[_0xf37888(0x452)](_0x24810e){const _0x1d13a3=_0xf37888;var _0x4b4056,_0x329979;if(this[_0x1d13a3(0x1fd)]===ce['UNIVER_DOC']){const {unitID:_0x52f666,mutations:_0x2b7ad5,memberID:_0x42e3db}=_0x24810e,_0x21fe4d=_0x2b7ad5[0x0][_0x1d13a3(0x274)][_0x1d13a3(0x485)];Array[_0x1d13a3(0x255)](_0x21fe4d)&&_0x21fe4d['length']>0x0&&((_0x329979=(_0x4b4056=this[_0x1d13a3(0x132)])[_0x1d13a3(0x506)])==null||_0x329979['call'](_0x4b4056,{'unitID':_0x52f666,'memberID':_0x42e3db,'textRanges':_0x21fe4d}));}}[_0xf37888(0x1be)](){const _0x5d4c56=_0xf37888;this['_localCacheService']['updateOfflineData'](this[_0x5d4c56(0x24f)],this[_0x5d4c56(0x1fd)],this[_0x5d4c56(0x19f)],this[_0x5d4c56(0x431)]);}[_0xf37888(0x26a)](){const _0x306e5e=_0xf37888;return this[_0x306e5e(0x437)][_0x306e5e(0x4c3)](this[_0x306e5e(0x24f)]);}[_0xf37888(0x2e3)](){const _0x294661=_0xf37888;this[_0x294661(0x437)][_0x294661(0x28c)](this['unitID']);}['_executeRemoteChangeset'](_0x187059){const _0x5f0e78=_0xf37888;var _0xc54f1a;let _0x2ebded=this[_0x5f0e78(0x22e)](_0x187059);_0x2ebded=this[_0x5f0e78(0x435)](_0x2ebded);const _0x580516=_0x18d035(_0x2ebded[_0x5f0e78(0x372)],this[_0x5f0e78(0x1fb)],{'fromCollab':!0x0});if(!_0x580516['result'])throw _0x580516[_0x5f0e78(0x329)]instanceof Error?_0x580516['error']:new Error((_0xc54f1a=_0x580516['error'])!=null?_0xc54f1a:'[CollaborationState]:\x20apply\x20error!');this[_0x5f0e78(0x43b)](_0x2ebded),this['_transformStateCache'](_0x2ebded),this[_0x5f0e78(0x374)](_0x187059),this[_0x5f0e78(0x18f)](_0x2ebded),this[_0x5f0e78(0x452)](_0x2ebded),this[_0x5f0e78(0x2e3)]();}}function _0xc3a6(){const _0x52e75f=['_userManagerService','onPointerLeave$','registerBeforeClose','verdancy600','byteLength','BlockCipherMode','_initDependencies','JOINING','UNKNOWN_CMD','MD5','_loadDoc','setAlpha','patch','replaceDocRanges','url','_showConflictNotification','FromArray','#fff','method','localeService','roles','none','collaborators','_collabCursorState$','_resendTimer','_getSnapshotAPIPrefix','_color','onRemoteRetry','m1Prime','/object','_cursor','_roomMembers$','ceil','getSheetId','onTransformIME','mutations','create','_transformUndoredo','_getAPIPrefix','onTransformState','LIVESHARE_NEW_HOST','closePath','routeKey','getConfig','onStarting','_context','storage','SNAPSHOT_SERVER_URL_KEY','CHANGESET_SHOULD_RETRY','onTransformSelections','YUUMI_RATE_OVER_LIMIT','_telemetryService','PasswordBasedCipher','string','_cursors','COMPRESS_MUTATION_SEND','stringify','focused$','add','_process','_change$','labelPosition','onMouseMove','_state','closeSession','cursorInfo','_updateURLWithCurrentState','_toggleOffline','INGEST','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getInterceptPoints','objects','_entityInit$','red300','M0\x200H16V16H0z','c2Prime','measureText','_handleJoinEvent','SNAPSHOT_HAS_BEEN_REMOVED','syncEditingCollabCursor','APPLY_DUPLICATED','objectID','_clearTimeoutTimer','InsertRangeMoveDownCommandId','InsertColCommandId','HmacMD5','onTransformRemoteChangesetByIMECache','_replayCachedMutations','disableLocalCache','session.will-retry','_messageService','_commentService','delete','1124310FgvHum','_getLoginPath','hasOwnProperty','_ENC_XFORM_MODE','getCollabCursors$','reject','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','findNodePositionByCharIndex','concat','/-/object/-/batch_allowed','onTransformChange$','call','reduce','toggleOffline','deleteCollaborator','assignAColorForMemberID','COLLAB_WEB_SOCKET_URL','UnitSnapshot','_throwTelemetryCollaborationNewChangeset','pipe','FETCH_MISS','getWorkbookSelections','USERS_LEAVE','editing\x20status\x20changed\x20to','_entities','event$','_changesetReqId','sheets','responseType','cursorInfo$','TOO_MANY_REQUESTS','slice','ALREADY_EXISTS','reconnect','NEW_CHANGESETS','_startSheetCollabCursor','createInstance','headers','_drawRectRange','colorChannel1','originalMeta','_nRounds','_hash','addObject','docStateChange$','redoState','_handleHeartbeatEvent','onRemoteAck','defaultProps','_hovered','rev','_substituteRedoStack','searchParams','Decryptor','unpad','sessionStatus$','getUnitStatus$','UNIVER_SLIDE','_createHandler','conflict.content','_event$','_fetchMissChangesets','/universer-api/oidc/authpage','CBC','disposeWithMe','_cipher','_updateCollabCursors','_sheetTransformSelectionsService','_refreshCollabCursors','_getSheetObject','HmacSHA1','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_checkMissing','22023HHnRQI','createEncryptor','propertyIsEnumerable','APPLY_NON_SEQUENTIAL_REVISION','range','_textBubble','selections','_sendingTimer','_cursorShapes','_iv','COMPRESS_MUTATION_APPLY','_rescheduleHeartbeat','subscribeEvent','_shouldReportTelemetry','Base','collab-text-range-','_colorIndex','_init','collabSubmitChangesetUrl','triggerDblclick','listRoles','setShowComponents','_http','TEXT','transformByState','loadOfflineData','_getSendChangesetTimeout','COLLAB_SUBMIT_CHANGESET_URL','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','salt','some','\x0aCurrent:\x20','clear','gold400','endRow','unknown','LIVESHARE_OPERATION','univer-online','map','hidden','makeDirty','now','byteOffset','_onCombEvent','confirm','fetchMissingChangesets','transformRemoteChangeset','formatter','_anchorDot','HttpImport','repeat','_localeService','session','BlockCipher','initWorkbookPermissionChange','length','appendMutation','HELLO','onTransformRemoteChangesetByStateCache','save','_pendingMutations','_removeCollabCursors','reset','DeleteRangeMoveUpCommandId','_transformRemoteChangesetByStateCache','resend','_revisionService','isActive','ref','_getRedoStack','_transformIMECache','defs','_injector','execute','_exhaustRemoteChangesetQueue','getMemberID','awaiting','unitId','purple300','2355309mNZfUM','MSG_FOR_ERROR','transformUndoRedo','listCollaborators','msCrypto','fillRule','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','m2Prime','_updateStatus','blockSize','generateRandomId','FETCH_MISSING','_anchor','_resendTimeout','_syncEditingCollabCursor','addEventListener','_onConnectionFailed','_backgroundColor','_listenToOnlineEvent','EvpKDF','registerComponent','_startDocCollabCursor','_createHmacHelper','column','getViewport','Error','ranges','close$','ERROR_IMAGE','text','LIVESHARE_TERMINATE','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getSheetBlock','getTypeOfUnitDisposed$','_unitStatus','_retryConnectingTimer','_labelPosition','update','hide','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','unshift','getRenderById','sid','onRemoteRej','clone','_lockTransition','_config','image/png','getRangePointData','ciphertext','put','LIVESHARE_REQUEST_HOST','LOCAL_CACHE_INTERVAL','UNDEFINED','_transformHistoryAndStateStack','enableOfflineEditing','_saveTaskMap','/object/','__esModule','_collabSessionService','_onRemoteACK','Pkcs7','origin','_undoStacks','ivSize','textRanges','setTimeout','onMissedChangesetFetched','getRoom','catch','AWAITING','collabStatus.notCollab','_singleActiveUnitService','OpenSSL','randomBytes','_doCryptBlock','className','retryConnectingInterval','toString','getTypeOfUnitAdded$','UPDATE_CURSOR','NoPadding','_telemetryInfo','error$','memberID','_iKey','getDeserializedSheetBlock','interceptor','onlineStatusTitle','rng','UnitEmbedded','onReady','_getCtorByUniverType','status','fill','AES','toLowerCase','_assignedColors','setUndoRedoMutationParamsCache','image/bmp','CHANGESET_REVISION_CONFILICT','collaboration.single-unit.warning','liveShareOperation','ERROR_IMAGE_TYPE','_updateLocalCursor','_decreaseWaiting','changesets','has','find','_collaborationTimeoutTimer','_permissionService','HEADER_MENU','filter','fillStyle','image/jpeg','url(#$1','setItem','_render','flatMap','_scene','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','collab-rect-range-','&source=','exports','sin','replaceState','_tryEnsureSocket','getCurrentRevOfUnit','/universer-api/authz','uni.network.url-service','_HTTPService','LEAVE','downloadEndpointUrl','ws://127.0.0.1:8000/universer-api/comb/connect','collaMsg','/unit/','_removeClearOtherTimer','_initCloseConn','enableLocalCache','SYNCED','for','backgroundColor','_remoteChangesetQueue','univerjs-icon\x20univerjs-icon-','getUnhiddenWorksheets','dispose','getCellPositionByOffset','BASE64','_localStorageService','substr','allowed','baseRev','Utf8','sendChangesetTimeout','_selfUnitIDs','_reverseMap','_send','height','onCommandExecuted','permission.content','copyFileMeta','encode','isEditing','getUniverSheetInstance','withCredentials','_range','NOT_COLLAB','react.fragment','[PendingState]:\x20received\x20rejection.','AUTHZ_URL_KEY','image/gif','lineTo','requireSession','undoState','_sendHeartbeatTimer','_createInitialStateImpl','conflict','_refRangeService','updatePermissionObjEvent','defIds','CONFLICT','EXCHANGE_SIGN_URL_SERVER_URL_KEY','action','createSocket','revision','_draw','joinRsp','#FFF','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','registerHTTPInterceptor','sigBytes','_id','UNRECOGNIZED','_collaborationPaused','onSyncEditingCollabCursor','round','/resources','ENSURE_SNAPSHOT_EXECUTION','onload','padding','registerRenderModule','apply','_commentUpdate$','joinEvent','default','_mode','send','_onRemoteRejected','_type','color','tag','drawWith','_onJoinRoomEvent','init','change$','sheetID','compose','_imageSourceCache','_getUploadFileURL','collabWebSocketUrl','_socketReady','_joinRoom','hovered','dispose$','[UniverCollaborationClientPlugin]','file','open$','getTime','PSEUDO_FETCH_MISSING_RESULT','keySize','_parse','_members','liveShareNewHost','floor','from','_key','_hover','session.room-full','split','collab-client.tooltip.reconnect','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','loadSheet','message$','collaboratorID','onMissingChangesets','complete','on-line-single','fromCharCode','SHOULD_CLOSE_CONN','_handler','_onUserLeave','transformMutationsWithChangeset','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','selection','close','_createInitialState','readAsDataURL','IDLE','encrypt','debug','iterations','getImageSourceCache','clearTimeout','_isPermissionRej','post','equals','_clearRedo','_getAPIPrefixPath','_unitID','snapshotServerUrl','setShapeProps','_cursorInfo$','INTERNAL_ERROR','socketService','_initRequestHeader','_colorAssignService','div','name','getActiveSheet','_toggleOnline','_tryReconnect','jsxs','pending','&assign=','_syncEditingCollabCursorService','/block/','LICENSE_EXPORT_SIZE_EXCEEDED','_append','_session','getCollabEntity$','CipherParams','_transitionLocked','processBlock','_nDataBytes','_onCursorDelete','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','fromCollab','pauseCollaboration','executeCommand','_handleEvent','history','get','fetching\x20missing\x20changesets\x20from\x20','unitId\x20is\x20not\x20found','_httpService','StreamCipher','target','_saveCache','prototype','_themeService','stopTime','USERS_ENTER','onlineStatus','collabCursorState$','batchAllowed','fetchThroughInterceptors','members','_candidateSocket','Cipher','_clearHeartbeatTimer','1em','resourceIDs','collabStatus.syncing','[CollaborationSessionService]:\x20socket\x20error','_cachedData','SEND_CHANGESET_TIMEOUT','currentColor','cmd','onPointerMove$','_heartbeatTimer','roomMembers$','_name','mixIn','collabStatus.offline','SHA1','transformChangesets','size','connection\x20error','FAIL','_getAnchorBounding','session.connection-failed','_status$','_transformSelections','getParam','pushState','off-line-single','10JFmclm','saveOfflineData','every','saveSheetBlock','[OfflineState]:\x20received\x20changeset.','/allowed','updateCollaborator','UNIVER_SHEET','_executeRemoteChangeset','_eventUnsubscribe','?url=','c1Prime','_awaitingChangeset','splice','_initCommandExecutedListener','0\x200\x2016\x2016','HttpExport','getUnitId','doc.mutation.rich-text-editing','getImage','currentSkeleton$','getCurrent','APPLY_REJECT','getValue','{fileID}','fetch_missing','json','CONNECTOR_DATA_TOO_LARGE','visibilityState','substring','_onMessage','algo','...','userID','_renderManagerService','Encryptor','sessionStatus','transformMutation','_applyRemoteChangeset','OnLineSingle','_unlockTransition','function','280911ollIac','_updateLocalCache','collab-text-anchor-','univer-online-status-title','UNIVER_DOC','_univerInstanceService','_onRemoteRetry','_getSignURL','_snapshotServerService','top','HEARTBEAT','enableSingleActiveInstanceLock','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','INVALID_ARGUMENT','updateMember','data','collaboration-session-retry','_docStateChangeManagerService','univer-offline','_memberService','isPermissionRej','onStateChange','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_docTransformIMECacheService','_createSocket','endColumn','_sheetSkeletonManagerService','putCollaborators','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_registerRenderDependencies','/universer-api/file/{fileID}/sign-url','_getScale','_setupBeforeClosingHandler','MUTATION','charCodeAt','_docTransformStateCacheService','collabStatus.fetchMiss','attrs','saveSnapshot','_scheduleClearOtherTimer','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','leaveEvent','updateCursorEvent','_doFinalize','object','deepClone','indexOf','set','then','_handleHover','join','getItem','submit\x20changeset\x20error!','_configService','SUBMIT_CHANGESET','Base64','lib','not_collab','currentTheme$','editingUnit','trim','Hasher','_commandService','charAt','type','_sessionStatus$','UNIVER_UNKNOWN','_minBufferSize','/collaborator','_instanceService','_getDownloadEndpointURL','removeMember','location','csRejEvent','_submitChangeset','getMember','row','unload','jsx','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','moveTo','transformStateCache','/-/object/list','_startTelemetryCollaborationNewChangeset','toggleOnline','_clearLocalCache','Unknown\x20user','eventID','replace','LICENSE_DISTRO_REJECTED','entries','clamp','LICENSE_IMPORT_SIZE_EXCEEDED','x-univer-host','getAllMembers','objectType','commentUpdateEvent','_onConnectionOpen','_registerDependencies','UNIVER_COLLABORATION_CLIENT_PLUGIN','saveImage','HMAC','_socket','removeParam','SNAPSHOT_INVALID_SNAPSHOT','random','requestParams','show','_scheduleCollaborationTimeoutTimer','urlChange$','updateOfflineData','fetchMiss','finalize','_transformRemoteChangesetByIMECache','Warning','svg','\x20in\x20_schedule.','getRandomValues','words','_disabled','SUCCUSS','subscribe','_urlService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','createDecryptor','_roomMembers','authzUrl','objectActions','COMPLETION_FINISHED','_scheduleTimestamp','PENDING','use','collaboration-client.config','_substituteUndoStack','LIVESHARE_FETCH_OPERATIONS','_initMergeInterceptor','1668350lAVhcI','_collaborationController','UUID','append','subUnitId','_lastPointer','addImageSourceCache','YUUMI_URL_COL_OUT_OF_RANGE','_timeoutTimer','unitID','_shapes','body','_sendHeartbeat','uploadFileServerUrl','_transformStack','isArray','min','_notificationService','includes','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_clearOtherTimers','cfg','SerializableCipher','_changesetSessionId','ERROR_EXCEED_SIZE','&to=','[CollaborationSessionService]','_waitForHeartbeatResponse','reqId','status$','_map','_updateSubUnitFromURLParams','code','getUndoRedoMutationParamsCache','shouldCloseConn','crypto','_getCurrentRevision','getOwnPropertyDescriptor','_uiPartsService','getAncestorScale','InsertRowCommandId','failed\x20to\x20apply\x20missed\x20changesets!','push','PERMISSION_REJ','APPLY_REVISION_CONFILICT','_socketMessageSubscription','params','_getUndoStack','setInterval','_data','roomInfos','_onLocalMutation','awaiting_with_pending','children','HEARTBEAT_INTERVAL','idSuffix','_onConflict','transform','OTHER_CLIENTS_EDITING','src','RECT','session.collaboration-timeout','_clearScheduledTask','UniverIcon','infoRsp','_sessions','_hideTimer','_listenToOfflineEvent','evenodd','_keyPriorReset','incrementRevOfUnit','loginUrlKey','_online','symbol','WordArray','_beforeCloseService','jiqing500','getLatestCsReqIdBySid','_onFetchMissResult','_retryCount','_clearCollaborationTimeoutTimer','_waitCount','online','_collaborationSessionService','engine','UNIVER_PROJECT','_sender','pad','50vKnvPK','[OfflineState]:\x20received\x20rejection.','getCurrentUser','setCurrentUser','Univer','ReactCurrentOwner','_onRefRangeChange','_startCollaboration','Fragment','\x0aAfter:\x20','onCommentUpdate','hostname','collabStatus.synced','_compressMutationService','_onCursorUpdate','toRgbString','Undefined','result','_doReset','__creator','collaboration.closeRoom','NOT_FOUND','black','blue400','awaitingChangeset','href','[CollaborationEntity]','state$','_collabCursorController','roomMembers','APPLY_PERMISSION_DENIED','_getSaveTimeout','_transformPreviousActiveRange','RemoveColCommandId','randomUUID','transformSelections','JOIN','_logService','YUUMI_UNABLE_LOAD_URL','getActiveRange','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','offline','_invKeySchedule','getSkeleton','whenReady','_docSkeletonManagerService','_getMergeRange','width','/universer-api/snapshot/','asObservable','_socket$','/universer-api/stream/file/upload','next','getOffsetConfig','_keySchedule','YUUMI_SUBSCRIPTION_NOT_FOUND','synced','off-line-single_clip0_910_343','displayName','max','auth.needGotoLoginAlert','_transformStateCache','Malformed\x20UTF-8\x20data','restore','_unitOnClients','_schedule','Latin1','[FetchMissState]','_drawAnchor','_incrementRevisionNumber','format','state','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','RECV','/universer-api/snapshot','parse','path','_createHelper','UNAUTHENTICATED','_undoRedoService','refreshPermission','Could\x20not\x20dynamically\x20require\x20\x22','startTime','registerRefRange','getFocusedUnit','_queuedRemoteChangesets','/universer-api/comb','POST','with','1248232IkrVuk','bottom','onPointerEnter$','popstate','setActiveRange','actions','getDocRanges','decrypt','UPDATE_PERMISSION_OBJ','2982JDXWhl','mode','AWAITING_WITH_PENDING','arc','xlink:href','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','0\x200\x2017\x2016','icon','unsubscribe','CHANGESET_ACK','UNKNOWN_CODE','transformIMECache','assign','_updateState','getUnit','fillText','_transformService','_initStatusListener','ONLINE','sheetId','on-line-single_clip0_910_349','onlineStatusIcon','addObjects','values','LICENSE_MAX_UNITS_EXCEEDED','abs','_removeRoom','_docSkeleton','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','hasher','_docSyncEditingCollabCursorService','updatePermissionPoint','defineProperty','forEach','_disableEditing','subunit','_localCacheService','_scheduleSaving','_acknowledgedAwaitingChangeset','extend','_setupSubUnitSync','error','collabStatus.conflict','unit-cache-','getCurrentUnitForType','[DataLoaderController]','_scheduleHeartbeat','_state$','clearInterval','getSheetBySheetId','kdf','[CollaborationUndoRedoService]','NO_OTHER_CLIENTS_EDITING','key','compute','_hasher','onRemoteChangeset','getStateCache','[SyncedState]:\x20received\x20acknowledgement.','_replaceFileID','OFFLINE','_oKey','_snapshotService','_clearUndo','_resendWithTimeout','setParam','getCollabEntity','enc','_initResize','CHANGESET_REJ','transformStack\x20failed!','_ensureSubject','_handleLeaveEvent','$super','952CAduZK','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','onSendChangeset','startsWith','buffer'];_0xc3a6=function(){return _0x52e75f;};return _0xc3a6();}let Fe=class extends $e{constructor(_0x70f402,_0x447f99,_0xe27224,_0x575bd9,_0x52b049,_0x239a37,_0x59a582,_0x19d3d6,_0xcd2e5,_0x3549be){const _0x19d8ce=_0xf37888;super(_0x70f402,_0x447f99,null,[],_0xe27224,_0x19d3d6,_0x59a582,_0x575bd9,_0x52b049),g(this,'status','synced'),(this[_0x19d8ce(0x43d)]=_0x239a37,this[_0x19d8ce(0x2c3)]=_0xcd2e5,this[_0x19d8ce(0x310)]=_0x3549be);}[_0xf37888(0x42d)](_0x39854){const _0x1f11b9=_0xf37888,_0x19830c=this[_0x1f11b9(0x43d)][_0x1f11b9(0x3d0)](pe,this[_0x1f11b9(0x24f)],this[_0x1f11b9(0x1fd)],[_0x39854],this[_0x1f11b9(0x132)]);return _0x19830c['_schedule'](),_0x19830c[_0x1f11b9(0x1be)](),_0x19830c;}['onRemoteChangeset'](_0x448987){const _0x227b1e=_0xf37888;if(this[_0x227b1e(0x3f4)](_0x448987))return this[_0x227b1e(0x43d)][_0x227b1e(0x3d0)](he,this[_0x227b1e(0x24f)],this['type'],null,[],null,[_0x448987],this['_handler']);try{const _0x1d3fca=this[_0x227b1e(0x310)]['transformMutationsWithChangeset'](_0x448987,[mo]);if(_0x2de823(_0x1d3fca)){const {c1Prime:_0x362663}=_0x1d3fca;return this[_0x227b1e(0x19b)](_0x362663),this;}throw _0x1d3fca[_0x227b1e(0x329)];}catch(_0x1019e3){return this[_0x227b1e(0x2c3)][_0x227b1e(0x329)](_0x1019e3),this['_onConflict'](!0x1);}}[_0xf37888(0x27e)](_0x1dcb78){const _0x144f18=_0xf37888;return this[_0x144f18(0x43d)]['createInstance'](Re,this[_0x144f18(0x24f)],this[_0x144f18(0x1fd)],null,[],this[_0x144f18(0x132)],_0x1dcb78);}[_0xf37888(0x3db)](){const _0x2f9448=_0xf37888;throw new Error(_0x2f9448(0x33a));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0xf37888(0x36a)](){return this;}[_0xf37888(0x3b9)](){const _0x2227ae=_0xf37888;return this['_injector'][_0x2227ae(0x3d0)](ye,this[_0x2227ae(0x24f)],this[_0x2227ae(0x1fd)],null,[],this[_0x2227ae(0x132)]);}[_0xf37888(0x211)](){return this;}['resend'](){const _0x11febe=_0xf37888;throw new Error(_0x11febe(0x1c9));}[_0xf37888(0x22c)](){const _0x5f41fb=_0xf37888,_0xd064f0=this[_0x5f41fb(0x437)][_0x5f41fb(0x4c3)](this[_0x5f41fb(0x24f)]);return this[_0x5f41fb(0x132)]['onMissingChangesets']({'from':_0xd064f0,'to':0x0}),this[_0x5f41fb(0x43d)]['createInstance'](he,this[_0x5f41fb(0x24f)],this[_0x5f41fb(0x1fd)],null,[],null,[],this['_handler']);}};Fe=Le([A(0x3,_0x39c8b8(_0x304c49)),A(0x4,_0x39c8b8(q)),A(0x5,_0x39c8b8(_0x2fd08f)),A(0x6,_0x46b156),A(0x7,_0x48fc43),A(0x8,_0x399eca),A(0x9,_0x36ceed)],Fe);let pe=class extends $e{constructor(_0x211ebb,_0x9ff2f9,_0x3b12b1,_0x5dbc86,_0x5f49a2,_0x13101b,_0x338bba,_0x3d0c94,_0x3eabba,_0x22ad7e,_0x2eeb10,_0x4a75ae,_0x463a9e,_0x12e783){const _0x510603=_0xf37888;super(_0x211ebb,_0x9ff2f9,null,_0x3b12b1,_0x5dbc86,_0x22ad7e,_0x12e783,_0x13101b,_0x338bba),g(this,_0x510603(0x4a1),'pending'),g(this,_0x510603(0x23f),null),g(this,_0x510603(0x3fc),null),(this['_injector']=_0x5f49a2,this['_memberService']=_0x3d0c94,this[_0x510603(0x2c3)]=_0x3eabba,this['_configService']=_0x2eeb10,this['_transformService']=_0x4a75ae,this[_0x510603(0x1c2)]=_0x463a9e);}['appendMutation'](_0x283d5a){const _0xdbb9cf=_0xf37888;return this['_pendingMutations']['push'](_0x283d5a),this[_0xdbb9cf(0x1be)](),this;}[_0xf37888(0x338)](_0x6b8d64){const _0x211508=_0xf37888;if(this['_checkMissing'](_0x6b8d64))return this['_clearScheduledTask'](),this[_0x211508(0x43d)][_0x211508(0x3d0)](he,this[_0x211508(0x24f)],this[_0x211508(0x1fd)],null,this['_pendingMutations'],null,[_0x6b8d64],this[_0x211508(0x132)]);try{const _0x427cad=this[_0x211508(0x310)][_0x211508(0x134)](_0x6b8d64,this['_pendingMutations']);if(_0x2de823(_0x427cad)){const {c1Prime:_0x25e730,m2Prime:_0x4d46aa}=_0x427cad;this[_0x211508(0x19b)](_0x25e730);const _0x19dec1=this[_0x211508(0x43d)]['createInstance'](pe,this[_0x211508(0x24f)],this[_0x211508(0x1fd)],_0x4d46aa,this[_0x211508(0x132)]);return this[_0x211508(0x284)](),_0x19dec1[_0x211508(0x2df)](this[_0x211508(0x23f)]?Math['max'](0x0,new Date()[_0x211508(0x11c)]()-this[_0x211508(0x23f)]):this['_getSendChangesetTimeout']()),_0x19dec1;}throw _0x427cad[_0x211508(0x329)];}catch(_0x301545){return this[_0x211508(0x2c3)][_0x211508(0x329)](_0x301545),this['_onConflict'](!0x1);}}[_0xf37888(0x3db)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x3b3484=_0xf37888;throw new Error(_0x3b3484(0x4ec));}[_0xf37888(0x36a)](){return this;}[_0xf37888(0x3b9)](){const _0x8d4195=_0xf37888;return this[_0x8d4195(0x284)](),this['_injector'][_0x8d4195(0x3d0)](ye,this[_0x8d4195(0x24f)],this[_0x8d4195(0x1fd)],null,this[_0x8d4195(0x431)],this[_0x8d4195(0x132)]);}[_0xf37888(0x211)](){return this;}[_0xf37888(0x2df)](_0x647213){const _0x4526e4=_0xf37888,_0x5666b1=_0x647213!=null?_0x647213:this[_0x4526e4(0x40f)]();this[_0x4526e4(0x23f)]=new Date()[_0x4526e4(0x11c)](),this[_0x4526e4(0x3fc)]=window[_0x4526e4(0x486)](()=>{const _0x3124e1=_0x4526e4;this[_0x3124e1(0x284)]();let _0x2394f2=null;switch(this[_0x3124e1(0x1fd)]){case ce[_0x3124e1(0x19a)]:{_0x2394f2=Vs(this[_0x3124e1(0x431)],this['unitID'],this[_0x3124e1(0x1c2)],this[_0x3124e1(0x437)],this['_memberService']);break;}case ce[_0x3124e1(0x1c1)]:{this[_0x3124e1(0x431)][_0x3124e1(0x195)](_0x47408a=>_0x47408a['id']===_0x216675['id'])?_0x2394f2=vo(this[_0x3124e1(0x431)],this[_0x3124e1(0x24f)],this[_0x3124e1(0x1c2)],this['_revisionService'],this[_0x3124e1(0x1d0)]):_0x2394f2=Vs(this[_0x3124e1(0x431)],this[_0x3124e1(0x24f)],this[_0x3124e1(0x1c2)],this[_0x3124e1(0x437)],this['_memberService']);break;}default:throw new Error(_0x3124e1(0x394)+this[_0x3124e1(0x1fd)]+_0x3124e1(0x231));}const {changeset:_0x66bd2,pendingMutations:_0x4e843f}=_0x2394f2;this[_0x3124e1(0x132)]['onSendChangeset'](_0x66bd2);const _0xa4a968=_0x4e843f['length']?this[_0x3124e1(0x43d)][_0x3124e1(0x3d0)](ge,this[_0x3124e1(0x24f)],this[_0x3124e1(0x1fd)],_0x66bd2,_0x4e843f,this[_0x3124e1(0x132)],void 0x0):this[_0x3124e1(0x43d)][_0x3124e1(0x3d0)](Te,this[_0x3124e1(0x24f)],this['type'],_0x66bd2,this['_handler']);_0xa4a968[_0x3124e1(0x1be)](),this[_0x3124e1(0x132)][_0x3124e1(0x1d2)](this,_0xa4a968);},_0x5666b1);}[_0xf37888(0x40f)](){const _0x2a1132=_0xf37888;var _0x4f1b68;const _0x3efce8=this[_0x2a1132(0x1f2)][_0x2a1132(0x37a)](ie);return(_0x4f1b68=_0x3efce8==null?void 0x0:_0x3efce8[_0x2a1132(0x4dd)])!=null?_0x4f1b68:_r;}[_0xf37888(0x436)](){const _0x40674d=_0xf37888;throw new Error(_0x40674d(0x500));}[_0xf37888(0x284)](){const _0x44583b=_0xf37888;this[_0x44583b(0x3fc)]!=null&&(clearTimeout(this[_0x44583b(0x3fc)]),this[_0x44583b(0x3fc)]=null);}[_0xf37888(0x27e)](_0x215173){const _0x329a6b=_0xf37888;return this[_0x329a6b(0x284)](),this[_0x329a6b(0x43d)][_0x329a6b(0x3d0)](Re,this[_0x329a6b(0x24f)],this[_0x329a6b(0x1fd)],null,this[_0x329a6b(0x431)],this['_handler'],_0x215173);}};pe=Le([A(0x4,_0x39c8b8(_0x2fd08f)),A(0x5,_0x39c8b8(_0x304c49)),A(0x6,_0x39c8b8(q)),A(0x7,_0x39c8b8(Ne)),A(0x8,_0x399eca),A(0x9,_0x48fc43),A(0xa,_0x45a6b3),A(0xb,_0x36ceed),A(0xc,_0x6b8e83),A(0xd,_0x46b156)],pe);let Te=class extends $e{constructor(_0x74be91,_0x5abf1e,_0x2e8129,_0x3b9ce0,_0x4559b7,_0x443afd,_0x58bb00,_0x320ad1,_0x472740,_0x137eeb,_0x3630c9){const _0x355ebd=_0xf37888;super(_0x74be91,_0x5abf1e,_0x2e8129,[],_0x3b9ce0,_0x320ad1,_0x3630c9,_0x443afd,_0x58bb00),g(this,'status','awaiting'),g(this,'_resendTimeout',0x0),g(this,_0x355ebd(0x367)),g(this,'_sender'),(this[_0x355ebd(0x43d)]=_0x4559b7,this[_0x355ebd(0x2c3)]=_0x472740,this['_transformService']=_0x137eeb);}[_0xf37888(0x42d)](_0x18c25e){const _0x5c6bc5=_0xf37888;this[_0x5c6bc5(0x284)]();const _0x4cbac5=this['_injector'][_0x5c6bc5(0x3d0)](ge,this['unitID'],this[_0x5c6bc5(0x1fd)],this[_0x5c6bc5(0x19f)],[_0x18c25e],this[_0x5c6bc5(0x132)],this[_0x5c6bc5(0x367)]);return _0x4cbac5[_0x5c6bc5(0x1be)](),_0x4cbac5;}[_0xf37888(0x338)](_0x5d2830){const _0x1343e9=_0xf37888;if(this[_0x1343e9(0x3f4)](_0x5d2830))return this['_clearScheduledTask'](),this[_0x1343e9(0x43d)][_0x1343e9(0x3d0)](he,this[_0x1343e9(0x24f)],this[_0x1343e9(0x1fd)],this[_0x1343e9(0x19f)],[],null,[_0x5d2830],this['_handler']);try{const _0x28828c=this[_0x1343e9(0x310)][_0x1343e9(0x188)]([_0x5d2830],[this['_awaitingChangeset']],!0x1);if(_0x56533c(_0x28828c)){const {c1Prime:_0x37ec85,c2Prime:_0x3ced03}=_0x28828c;this[_0x1343e9(0x19b)](_0x37ec85[0x0]),_0x3ced03[0x0]['baseRev']=this[_0x1343e9(0x26a)](),this['_clearScheduledTask']();const _0x11d9cb=this[_0x1343e9(0x43d)][_0x1343e9(0x3d0)](Te,this['unitID'],this[_0x1343e9(0x1fd)],_0x3ced03[0x0],this[_0x1343e9(0x132)]);return _0x11d9cb[_0x1343e9(0x1be)](),_0x11d9cb;}return this[_0x1343e9(0x27e)](!0x1);}catch(_0x3d8b9c){return this['_logService']['error'](_0x3d8b9c),this[_0x1343e9(0x27e)](!0x1);}}['onRemoteAck'](_0x3ff62a){const _0x10ec1d=_0xf37888;this[_0x10ec1d(0x284)]();const _0x53e6a9=this[_0x10ec1d(0x437)]['getCurrentRevOfUnit'](this[_0x10ec1d(0x24f)]);if(_0x3ff62a[_0x10ec1d(0x4fc)]<_0x53e6a9-0x1)return this;if(this[_0x10ec1d(0x3f4)](_0x3ff62a))return this['_injector'][_0x10ec1d(0x3d0)](he,this[_0x10ec1d(0x24f)],this['type'],null,[],this[_0x10ec1d(0x19f)],[],this[_0x10ec1d(0x132)]);this[_0x10ec1d(0x2e3)]();const _0x4890b0=this[_0x10ec1d(0x43d)][_0x10ec1d(0x3d0)](Fe,this[_0x10ec1d(0x24f)],this['type'],this[_0x10ec1d(0x132)]);return _0x4890b0[_0x10ec1d(0x1be)](),_0x4890b0;}['onRemoteRej'](_0x4c5376){const _0x43a8d6=_0xf37888;return this[_0x43a8d6(0x27e)](!!(_0x4c5376!=null&&_0x4c5376[_0x43a8d6(0x1d1)]));}[_0xf37888(0x36a)](_0x455fef){const _0x34ea9a=_0xf37888;return this[_0x34ea9a(0x451)]>Ni?this[_0x34ea9a(0x3b9)]():(this[_0x34ea9a(0x367)]=Ui(this['_resendTimeout'],{'timeout':this[_0x34ea9a(0x451)],'reqId':_0x455fef['reqId']}),this[_0x34ea9a(0x29c)]=this[_0x34ea9a(0x367)][_0x34ea9a(0x236)](({reqId:_0x370a15,timeout:_0x19e098})=>{const _0x1ff6d9=_0x34ea9a;this[_0x1ff6d9(0x340)](_0x370a15,_0x19e098);}),this);}['toggleOffline'](){const _0x50cc03=_0xf37888;return this[_0x50cc03(0x284)](),this[_0x50cc03(0x43d)][_0x50cc03(0x3d0)](ye,this[_0x50cc03(0x24f)],this[_0x50cc03(0x1fd)],this['_awaitingChangeset'],[],this[_0x50cc03(0x132)]);}['toggleOnline'](){return this;}['resend'](){const _0x45bd11=_0xf37888;this[_0x45bd11(0x132)][_0x45bd11(0x34c)](this[_0x45bd11(0x19f)]);}['_onConflict'](_0x48b5b3){const _0x33e8b0=_0xf37888;return this[_0x33e8b0(0x284)](),this[_0x33e8b0(0x43d)][_0x33e8b0(0x3d0)](Re,this[_0x33e8b0(0x24f)],this[_0x33e8b0(0x1fd)],this[_0x33e8b0(0x19f)],[],this['_handler'],_0x48b5b3);}['_resendWithTimeout'](_0xdb6817,_0x4085f1){const _0x49c6ea=_0xf37888;var _0x14f8ee;_0xdb6817===((_0x14f8ee=this[_0x49c6ea(0x19f)])==null?void 0x0:_0x14f8ee[_0x49c6ea(0x262)])&&(this['resend'](),this['_resendTimeout']=_0x4085f1===0x0?0x3e8:_0x4085f1*0x2);}[_0xf37888(0x284)](){const _0x2784a9=_0xf37888;var _0x5c1c58;(_0x5c1c58=this[_0x2784a9(0x29c)])==null||_0x5c1c58['unsubscribe'](),this[_0x2784a9(0x451)]=0x0;}};Te=Le([A(0x4,_0x39c8b8(_0x2fd08f)),A(0x5,_0x39c8b8(_0x304c49)),A(0x6,_0x39c8b8(q)),A(0x7,_0x48fc43),A(0x8,_0x399eca),A(0x9,_0x36ceed),A(0xa,_0x46b156)],Te);let ge=class extends $e{constructor(_0x1d4c8d,_0x4dae98,_0x87c354,_0x49ef95,_0x53aee7,_0x50053f,_0x22da54,_0x414f80,_0x51ed46,_0x83e4a1,_0x186de3,_0x132768,_0x2b0a4f){const _0x289eeb=_0xf37888;super(_0x1d4c8d,_0x4dae98,_0x87c354,_0x49ef95,_0x53aee7,_0x83e4a1,_0x2b0a4f,_0x414f80,_0x51ed46),g(this,_0x289eeb(0x4a1),_0x289eeb(0x27a)),g(this,_0x289eeb(0x451),0x0),g(this,_0x289eeb(0x367)),g(this,_0x289eeb(0x29c)),(this[_0x289eeb(0x43d)]=_0x22da54,this[_0x289eeb(0x2c3)]=_0x186de3,this[_0x289eeb(0x310)]=_0x132768,_0x50053f&&(this[_0x289eeb(0x367)]=_0x50053f,this[_0x289eeb(0x29c)]=this[_0x289eeb(0x367)][_0x289eeb(0x236)](({reqId:_0x4498fb,timeout:_0x31f0cb})=>{const _0x112258=_0x289eeb;this[_0x112258(0x340)](_0x4498fb,_0x31f0cb);})));}[_0xf37888(0x42d)](_0xa842fe){const _0x10d0fe=_0xf37888;return this[_0x10d0fe(0x431)][_0x10d0fe(0x270)](_0xa842fe),this;}[_0xf37888(0x338)](_0x298c3e){const _0x5667ef=_0xf37888;if(this[_0x5667ef(0x3f4)](_0x298c3e))return this['_clearScheduledTask'](),this[_0x5667ef(0x43d)][_0x5667ef(0x3d0)](he,this[_0x5667ef(0x24f)],this[_0x5667ef(0x1fd)],this[_0x5667ef(0x19f)],this[_0x5667ef(0x431)],null,[_0x298c3e],this[_0x5667ef(0x132)]);try{const _0x14cbec=this[_0x5667ef(0x310)][_0x5667ef(0x188)]([_0x298c3e],[this[_0x5667ef(0x19f)]],!0x1);if(_0x56533c(_0x14cbec)){const {c1Prime:_0x5ab9d4,c2Prime:_0x22f6bf}=_0x14cbec,_0x22f238=this[_0x5667ef(0x310)]['transformMutationsWithChangeset'](_0x5ab9d4[0x0],this[_0x5667ef(0x431)]);if(_0x2de823(_0x22f238)){const {c1Prime:_0x474376,m2Prime:_0x502788}=_0x22f238;return this['_executeRemoteChangeset'](_0x474376),_0x22f6bf[0x0][_0x5667ef(0x4db)]=this[_0x5667ef(0x26a)](),this['_clearScheduledTask'](),this['_injector'][_0x5667ef(0x3d0)](ge,this[_0x5667ef(0x24f)],this[_0x5667ef(0x1fd)],_0x22f6bf[0x0],_0x502788,this[_0x5667ef(0x132)],void 0x0);}throw _0x22f238[_0x5667ef(0x329)];}throw _0x14cbec[_0x5667ef(0x329)];}catch(_0x5e32e4){return this[_0x5667ef(0x2c3)][_0x5667ef(0x329)](_0x5e32e4),this[_0x5667ef(0x27e)](!0x1);}}[_0xf37888(0x3db)](_0x2c5680){const _0x3ebe09=_0xf37888;if(this[_0x3ebe09(0x284)](),this[_0x3ebe09(0x3f4)](_0x2c5680))return this[_0x3ebe09(0x43d)][_0x3ebe09(0x3d0)](he,this[_0x3ebe09(0x24f)],this['type'],null,this[_0x3ebe09(0x431)],this[_0x3ebe09(0x19f)],[],this[_0x3ebe09(0x132)]);this[_0x3ebe09(0x2e3)]();const _0x4c56fc=this['_injector']['createInstance'](pe,this[_0x3ebe09(0x24f)],this[_0x3ebe09(0x1fd)],this[_0x3ebe09(0x431)],this[_0x3ebe09(0x132)]);return _0x4c56fc[_0x3ebe09(0x2df)](),_0x4c56fc['_updateLocalCache'](),_0x4c56fc;}['onRemoteRej'](_0x35f726){const _0x1ca4f4=_0xf37888;return this['_onConflict'](!!(_0x35f726!=null&&_0x35f726[_0x1ca4f4(0x1d1)]));}[_0xf37888(0x36a)](_0x5433e6){const _0x5ed2e5=_0xf37888;return this[_0x5ed2e5(0x451)]>Ni?this[_0x5ed2e5(0x3b9)]():(this[_0x5ed2e5(0x367)]=Ui(this[_0x5ed2e5(0x451)],{'timeout':this[_0x5ed2e5(0x451)],'reqId':_0x5433e6[_0x5ed2e5(0x262)]}),this[_0x5ed2e5(0x29c)]=this[_0x5ed2e5(0x367)][_0x5ed2e5(0x236)](({reqId:_0x499830,timeout:_0x23b07c})=>{const _0xe92610=_0x5ed2e5;this[_0xe92610(0x340)](_0x499830,_0x23b07c);}),this);}[_0xf37888(0x3b9)](){const _0x1206e7=_0xf37888;return this['_clearScheduledTask'](),this[_0x1206e7(0x43d)][_0x1206e7(0x3d0)](ye,this[_0x1206e7(0x24f)],this[_0x1206e7(0x1fd)],this[_0x1206e7(0x19f)],this[_0x1206e7(0x431)],this['_handler']);}['toggleOnline'](){return this;}[_0xf37888(0x436)](){const _0x5ebb18=_0xf37888;this[_0x5ebb18(0x132)][_0x5ebb18(0x34c)](this[_0x5ebb18(0x19f)]);}[_0xf37888(0x27e)](_0x1083be){const _0x369e3b=_0xf37888;return this[_0x369e3b(0x284)](),this[_0x369e3b(0x43d)][_0x369e3b(0x3d0)](Re,this[_0x369e3b(0x24f)],this['type'],null,this[_0x369e3b(0x431)],this['_handler'],_0x1083be);}[_0xf37888(0x340)](_0x343b82,_0x2dd2d2){const _0x3049b2=_0xf37888;var _0x274b86;_0x343b82===((_0x274b86=this[_0x3049b2(0x19f)])==null?void 0x0:_0x274b86[_0x3049b2(0x262)])&&(this['resend'](),this[_0x3049b2(0x451)]=_0x2dd2d2===0x0?0x3e8:_0x2dd2d2*0x2);}[_0xf37888(0x284)](){const _0x527304=_0xf37888;var _0x25ea6d;(_0x25ea6d=this[_0x527304(0x29c)])==null||_0x25ea6d[_0x527304(0x308)](),this[_0x527304(0x451)]=0x0;}};ge=Le([A(0x6,_0x39c8b8(_0x2fd08f)),A(0x7,_0x39c8b8(_0x304c49)),A(0x8,_0x39c8b8(q)),A(0x9,_0x48fc43),A(0xa,_0x399eca),A(0xb,_0x36ceed),A(0xc,_0x46b156)],ge);let Re=class extends $e{constructor(_0x2029c4,_0x3f2d9b,_0xc14c3a,_0x391f49,_0x301945,_0x14be6c=!0x1,_0x480f06,_0x590c0f,_0x3dbb99,_0x4cb38f,_0x4ab47b,_0x285cdb,_0x28edb2){const _0x56e45b=_0xf37888;super(_0x2029c4,_0x3f2d9b,_0xc14c3a,_0x391f49,_0x301945,_0x590c0f,_0x3dbb99,_0x4ab47b,_0x4cb38f),g(this,_0x56e45b(0x4a1),_0x56e45b(0x4f4)),(this['_isPermissionRej']=_0x14be6c,this[_0x56e45b(0x4b2)]=_0x480f06,this[_0x56e45b(0x428)]=_0x285cdb,this[_0x56e45b(0x257)]=_0x28edb2,this[_0x56e45b(0x35e)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0xf37888(0x42d)](){return this;}[_0xf37888(0x338)](){return this;}[_0xf37888(0x3db)](){return this;}[_0xf37888(0x46f)](){return this;}[_0xf37888(0x36a)](){return this;}[_0xf37888(0x3b9)](){return this;}[_0xf37888(0x211)](){return this;}[_0xf37888(0x436)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xf37888(0x212)](){const _0x4bb4b5=_0xf37888;this[_0x4bb4b5(0x324)][_0x4bb4b5(0x22b)](this['unitID'],this[_0x4bb4b5(0x1fd)],null,[]);}[_0xf37888(0x35e)](){const _0x17e427=_0xf37888;this[_0x17e427(0x140)]?this[_0x17e427(0x257)][_0x17e427(0x228)]({'title':this['_localeService']['t']('permission.title'),'content':this['_localeService']['t'](_0x17e427(0x4e3)),'type':_0x17e427(0x329),'duration':0x0}):this[_0x17e427(0x257)][_0x17e427(0x228)]({'title':this[_0x17e427(0x428)]['t']('conflict.title'),'content':this[_0x17e427(0x428)]['t'](_0x17e427(0x3e7)),'type':'error','duration':0x0});}[_0xf37888(0x322)](){const _0x113e8b=_0xf37888;this[_0x113e8b(0x4b2)][_0x113e8b(0x31f)](new _0x57c2ed(this[_0x113e8b(0x24f)])['id'],!0x1);}};Re=Le([A(0x6,_0x39c8b8(_0x19df2d)),A(0x7,_0x48fc43),A(0x8,_0x46b156),A(0x9,_0x39c8b8(q)),A(0xa,_0x39c8b8(_0x304c49)),A(0xb,_0x39c8b8(_0x50f35b)),A(0xc,_0x5158a3)],Re);let ye=class extends $e{constructor(_0x333174,_0x1e7f77,_0x360911,_0x266d89,_0x4749d0,_0x4d5b73,_0x3a2a69,_0x39ff56,_0x2ad4e7,_0x47f9a9){const _0x2cd564=_0xf37888;super(_0x333174,_0x1e7f77,_0x360911,_0x266d89,_0x4749d0,_0x2ad4e7,_0x47f9a9,_0x3a2a69,_0x39ff56),g(this,_0x2cd564(0x4a1),_0x2cd564(0x2c7)),this['_injector']=_0x4d5b73;}[_0xf37888(0x42d)](_0xa3efa4){const _0x44b31b=_0xf37888;return this[_0x44b31b(0x431)][_0x44b31b(0x270)](_0xa3efa4),this['_updateLocalCache'](),this;}[_0xf37888(0x338)](_0x2429dc){const _0x510a06=_0xf37888;throw new Error(_0x510a06(0x197));}[_0xf37888(0x3db)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0xf37888(0x46f)](){const _0x29f9e4=_0xf37888;throw new Error(_0x29f9e4(0x29f));}[_0xf37888(0x36a)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){const _0xe78119=_0xf37888,{_injector:_0x1b4f95,_pendingMutations:_0x48dab0,_awaitingChangeset:_0x3c7e23,unitID:_0x3e97d6,_handler:_0x54d318,type:_0x4aa685}=this,_0x378f98=Ai(_0x1b4f95,_0x3e97d6,_0x4aa685,_0x3c7e23,_0x48dab0,_0x54d318);return _0x378f98 instanceof pe?_0x378f98[_0xe78119(0x2df)]():(_0x378f98 instanceof ge||_0x378f98 instanceof Te)&&_0x378f98[_0xe78119(0x436)](),_0x378f98;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=Le([A(0x5,_0x39c8b8(_0x2fd08f)),A(0x6,_0x39c8b8(_0x304c49)),A(0x7,_0x39c8b8(q)),A(0x8,_0x48fc43),A(0x9,_0x46b156)],ye);let he=class extends $e{constructor(_0x375a72,_0x4d10c2,_0x3ef4c5,_0x1ef9c0,_0x129268,_0x1a521e,_0x13d40f,_0xa368c6,_0x410656,_0x2a60a1,_0x1cf6cb,_0x22cc37,_0x20219a,_0xcc5fff){const _0x4b8e0e=_0xf37888;super(_0x375a72,_0x4d10c2,_0x3ef4c5,_0x1ef9c0,_0x13d40f,_0x22cc37,_0x20219a,_0x410656,_0x2a60a1),g(this,'status',_0x4b8e0e(0x1ac)),(this[_0x4b8e0e(0x326)]=_0x129268,this[_0x4b8e0e(0x2f3)]=_0x1a521e,this[_0x4b8e0e(0x43d)]=_0xa368c6,this[_0x4b8e0e(0x2c3)]=_0x1cf6cb,this[_0x4b8e0e(0x310)]=_0xcc5fff);}[_0xf37888(0x487)](_0x1baaae){const _0x39c5d9=_0xf37888;try{const _0xa632c7=[..._0x1baaae,...this['_queuedRemoteChangesets']],_0x344a95=[this[_0x39c5d9(0x19f)]||this[_0x39c5d9(0x326)]][_0x39c5d9(0x4b4)](_0x383a42=>!!_0x383a42);let _0x5cabb6,_0x51946b;if(_0x344a95['length']){const _0x2a667d=this['_transformService']['transformChangesets'](_0xa632c7,_0x344a95,!0x1);if(!_0x56533c(_0x2a667d))throw _0x2a667d[_0x39c5d9(0x329)];_0x5cabb6=_0x2a667d[_0x39c5d9(0x19e)],_0x51946b=_0x2a667d[_0x39c5d9(0x39a)];}else _0x5cabb6=_0xa632c7,_0x51946b=[];let _0x2b8bc4=this[_0x39c5d9(0x431)];_0x5cabb6[_0x39c5d9(0x321)](_0x5a0df9=>{const _0x4263d8=_0x39c5d9;let _0x238607;if(_0x2b8bc4['length']){const _0x55ace1=this[_0x4263d8(0x310)][_0x4263d8(0x134)](_0x5a0df9,_0x2b8bc4);if(!_0x2de823(_0x55ace1))throw _0x55ace1['error'];_0x238607=_0x55ace1[_0x4263d8(0x19e)],_0x2b8bc4=_0x55ace1[_0x4263d8(0x44b)];}else _0x238607=_0x5a0df9;this[_0x4263d8(0x19b)](_0x238607);}),this[_0x39c5d9(0x326)]&&this[_0x39c5d9(0x2e3)](),this['_awaitingChangeset']&&_0x51946b[_0x39c5d9(0x42c)]&&(_0x51946b[0x0][_0x39c5d9(0x4db)]=this[_0x39c5d9(0x26a)]());let _0x3afa60;if(this['_awaitingChangeset']&&_0x2b8bc4['length']!==0x0)_0x3afa60=this[_0x39c5d9(0x43d)][_0x39c5d9(0x3d0)](ge,this[_0x39c5d9(0x24f)],this[_0x39c5d9(0x1fd)],_0x51946b[0x0],_0x2b8bc4,this[_0x39c5d9(0x132)],void 0x0);else{if(this[_0x39c5d9(0x19f)]&&_0x2b8bc4[_0x39c5d9(0x42c)]===0x0)_0x51946b[0x0][_0x39c5d9(0x4db)]=this['_getCurrentRevision'](),_0x3afa60=this[_0x39c5d9(0x43d)][_0x39c5d9(0x3d0)](Te,this['unitID'],this[_0x39c5d9(0x1fd)],_0x51946b[0x0],this[_0x39c5d9(0x132)]);else{if(_0x2b8bc4[_0x39c5d9(0x42c)]!==0x0){const _0x12ee0d=this[_0x39c5d9(0x43d)][_0x39c5d9(0x3d0)](pe,this[_0x39c5d9(0x24f)],this['type'],_0x2b8bc4,this[_0x39c5d9(0x132)]);_0x12ee0d['_schedule'](),_0x3afa60=_0x12ee0d;}else _0x3afa60=this['_injector'][_0x39c5d9(0x3d0)](Fe,this[_0x39c5d9(0x24f)],this[_0x39c5d9(0x1fd)],this[_0x39c5d9(0x132)]);}}return _0x3afa60[_0x39c5d9(0x1be)](),_0x3afa60;}catch(_0x590211){return this[_0x39c5d9(0x2c3)][_0x39c5d9(0x329)](_0x39c5d9(0x2e1),_0x39c5d9(0x26f),_0x590211),this[_0x39c5d9(0x43d)]['createInstance'](Re,this[_0x39c5d9(0x24f)],this[_0x39c5d9(0x1fd)],this['_awaitingChangeset'],this[_0x39c5d9(0x431)],this[_0x39c5d9(0x132)],!0x1);}}[_0xf37888(0x436)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xf37888(0x42d)](_0x5b90ad){const _0x34bf29=_0xf37888;return this[_0x34bf29(0x431)][_0x34bf29(0x270)](_0x5b90ad),this;}[_0xf37888(0x338)](_0x291659){const _0x554c2d=_0xf37888;return this[_0x554c2d(0x2f3)][_0x554c2d(0x270)](_0x291659),this;}[_0xf37888(0x3db)](_0x396bfe){const _0x32676a=_0xf37888;if(this[_0x32676a(0x19f)])return this[_0x32676a(0x326)]=this['_awaitingChangeset'],this[_0x32676a(0x19f)]=null,this;throw new Error(_0x32676a(0x34b));}['onRemoteRej'](_0x498df9){const _0x56de70=_0xf37888;return this[_0x56de70(0x27e)](!!(_0x498df9!=null&&_0x498df9[_0x56de70(0x1d1)]));}[_0xf37888(0x36a)](){return this;}[_0xf37888(0x3b9)](){const _0x144509=_0xf37888;return this['_injector'][_0x144509(0x3d0)](ye,this[_0x144509(0x24f)],this['type'],this['_awaitingChangeset'],this[_0x144509(0x431)],this['_handler']);}[_0xf37888(0x211)](){return this;}[_0xf37888(0x27e)](_0x3f1376){const _0x24c64b=_0xf37888;return this['_injector'][_0x24c64b(0x3d0)](Re,this[_0x24c64b(0x24f)],this[_0x24c64b(0x1fd)],this[_0x24c64b(0x19f)],this['_pendingMutations'],this[_0x24c64b(0x132)],_0x3f1376);}};he=Le([A(0x7,_0x39c8b8(_0x2fd08f)),A(0x8,_0x39c8b8(_0x304c49)),A(0x9,_0x39c8b8(q)),A(0xa,_0x399eca),A(0xb,_0x48fc43),A(0xc,_0x46b156),A(0xd,_0x36ceed)],he);function Ai(_0x3336d7,_0x2301dc,_0x49b1a3,_0x3636c8,_0x252fb2,_0x22758c){const _0x435b86=_0xf37888;return _0x3636c8&&_0x252fb2[_0x435b86(0x42c)]?_0x3336d7['createInstance'](ge,_0x2301dc,_0x49b1a3,_0x3636c8,_0x252fb2,_0x22758c,void 0x0):_0x3636c8?_0x3336d7['createInstance'](Te,_0x2301dc,_0x49b1a3,_0x3636c8,_0x22758c):_0x252fb2[_0x435b86(0x42c)]?_0x3336d7[_0x435b86(0x3d0)](pe,_0x2301dc,_0x49b1a3,_0x252fb2,_0x22758c):_0x3336d7[_0x435b86(0x3d0)](Fe,_0x2301dc,_0x49b1a3,_0x22758c);}var So=Object['defineProperty'],Io=Object[_0xf37888(0x26b)],Es=(_0x32f30b,_0x2d9939,_0x229055,_0x171b22)=>{const _0x546702=_0xf37888;for(var _0x5df276=_0x171b22>0x1?void 0x0:_0x171b22?Io(_0x2d9939,_0x229055):_0x2d9939,_0x37014f=_0x32f30b[_0x546702(0x42c)]-0x1,_0x48d84f;_0x37014f>=0x0;_0x37014f--)(_0x48d84f=_0x32f30b[_0x37014f])&&(_0x5df276=(_0x171b22?_0x48d84f(_0x2d9939,_0x229055,_0x5df276):_0x48d84f(_0x5df276))||_0x5df276);return _0x171b22&&_0x5df276&&So(_0x2d9939,_0x229055,_0x5df276),_0x5df276;},H=(_0x48a2e4,_0x30dfeb)=>(_0xeb67e8,_0x1cc93d)=>_0x30dfeb(_0xeb67e8,_0x1cc93d,_0x48a2e4);let gt=class extends _0x3c16d2{constructor(_0x5adce2,_0x186ea6,_0x30bf7c,_0x429947,_0x22562b,_0x3a9968,_0x2107e7,_0x3deb68,_0x37cb02,_0x590246,_0xf92d87,_0x3f096d,_0x91c4f){const _0x2aed07=_0xf37888;super(),g(this,_0x2aed07(0x32f),new _0x7465ad(null)),g(this,_0x2aed07(0x2b9),this[_0x2aed07(0x32f)][_0x2aed07(0x2cf)]()),g(this,_0x2aed07(0x38e)),g(this,_0x2aed07(0x505),!0x1),g(this,'_changesetSessionId',''),g(this,_0x2aed07(0x3c6),0x0),g(this,_0x2aed07(0x263),this[_0x2aed07(0x2b9)][_0x2aed07(0x3bf)](_0x1af8db(_0x11fade=>_0x11fade?_0x11fade[_0x2aed07(0x4a1)]:J['OFFLINE']),_0xac7976(0x1))),g(this,'_transitionLocked',!0x1),g(this,_0x2aed07(0x4d2),[]),(this['unitID']=_0x5adce2,this['session']=_0x186ea6,this['_type']=_0x30bf7c,this[_0x2aed07(0x43d)]=_0x429947,this[_0x2aed07(0x324)]=_0x22562b,this['_compressMutationService']=_0x3a9968,this[_0x2aed07(0x428)]=_0x2107e7,this['_revisionService']=_0x3deb68,this[_0x2aed07(0x2c3)]=_0x37cb02,this[_0x2aed07(0x1fb)]=_0x590246,this[_0x2aed07(0x3a9)]=_0xf92d87,this[_0x2aed07(0x4b2)]=_0x3f096d,this[_0x2aed07(0x48c)]=_0x91c4f);}get[_0xf37888(0x2e5)](){return this['_state'];}async['init'](){const _0x2f7ef8=_0xf37888;if(this[_0x2f7ef8(0x2e5)])throw new Error(_0x2f7ef8(0x1d3));await this['_init']();}[_0xf37888(0x162)](){const _0x5f2ad8=_0xf37888;return this[_0x5f2ad8(0x505)]=!0x0,_0x5b8af0(()=>{const _0x3a1106=_0x5f2ad8;this[_0x3a1106(0x505)]=!0x1,this[_0x3a1106(0x43f)]();});}[_0xf37888(0x30d)](_0x449920){const _0x3d7072=_0xf37888;this[_0x3d7072(0x38e)]=_0x449920,this['_state$']['next'](_0x449920);}async[_0xf37888(0x406)](){const _0x36541d=_0xf37888;var _0x5c4ee6;this[_0x36541d(0x30d)](await this[_0x36541d(0x138)]()),this[_0x36541d(0x48c)]&&((_0x5c4ee6=this['_singleActiveUnitService'])==null||_0x5c4ee6[_0x36541d(0x1f8)](this['unitID']),this['disposeWithMe'](this['_singleActiveUnitService'][_0x36541d(0x3e4)](this[_0x36541d(0x24f)])[_0x36541d(0x236)](_0x4d5802=>{const _0x1088e0=_0x36541d;this['_logService']['debug'](_0x1088e0(0x2b8),_0x1088e0(0x3c3),_0x4d5802),_0x4d5802===Di[_0x1088e0(0x280)]?(this['_messageService']['show']({'content':this[_0x1088e0(0x428)]['t'](_0x1088e0(0x4a9)),'type':_0x30a0d6[_0x1088e0(0x22f)]}),this[_0x1088e0(0x4b2)][_0x1088e0(0x31f)](new _0x57c2ed(this['unitID'])['id'],!0x1),this[_0x1088e0(0x4b2)][_0x1088e0(0x40a)](!0x1)):(this[_0x1088e0(0x4b2)][_0x1088e0(0x31f)](new _0x57c2ed(this[_0x1088e0(0x24f)])['id'],!0x0),this[_0x1088e0(0x4b2)][_0x1088e0(0x40a)](!0x0));})));let _0x1abe28=!0x1;return this['disposeWithMe'](this[_0x36541d(0x429)][_0x36541d(0x3e3)][_0x36541d(0x236)](_0x16ccf9=>{const _0x303f20=_0x36541d;_0x16ccf9===ve[_0x303f20(0x312)]?this['_toggleOnline'](_0x1abe28):_0x16ccf9===ve[_0x303f20(0x33c)]&&(_0x1abe28=!0x0,this['_toggleOffline']());})),this[_0x36541d(0x3ec)](this[_0x36541d(0x429)][_0x36541d(0x3c5)][_0x36541d(0x236)](_0x185298=>{const _0x4638bc=_0x36541d;try{switch(_0x185298[_0x4638bc(0x214)]){case _0x3c3869[_0x4638bc(0x3ce)]:{this['_onRemoteChangeset'](_0x411b74(_0x185298[_0x4638bc(0x1cc)]));break;}case _0x3c3869[_0x4638bc(0x309)]:{this[_0x4638bc(0x480)](_0x185298['data']);break;}case _0x3c3869[_0x4638bc(0x345)]:{this[_0x4638bc(0x513)]();break;}case _0x3c3869['CHANGESET_SHOULD_RETRY']:{this[_0x4638bc(0x1c3)](_0x185298[_0x4638bc(0x1cc)]);break;}case _0x3c3869[_0x4638bc(0x11d)]:{this[_0x4638bc(0x294)](_0x185298[_0x4638bc(0x1cc)][_0x4638bc(0x4ae)][_0x4638bc(0x41b)](_0x40737b=>_0x411b74(_0x40737b)));break;}case _0x3c3869['PERMISSION_REJ']:this[_0x4638bc(0x513)]({'isPermissionRej':!0x0});}}catch(_0x156271){throw console[_0x4638bc(0x329)]('Error\x20on\x20receiving\x20event',_0x156271),_0x156271;}})),this[_0x36541d(0x38e)];}[_0xf37888(0x1bb)](){const _0xa4a429=_0xf37888;this[_0xa4a429(0x15c)]=!0x1;}[_0xf37888(0x471)](){const _0x5778ac=_0xf37888;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x5778ac(0x15c)]=!0x0;}['_onLocalMutation'](_0x4a9a81){const _0x17c789=_0xf37888;this['_lockTransition'](),this[_0x17c789(0x30d)](this['_state'][_0x17c789(0x42d)](_0x4a9a81)),this[_0x17c789(0x1bb)]();}['_onRemoteChangeset'](_0x111f17){const _0x33526e=_0xf37888;if(!(_0x111f17[_0x33526e(0x4fc)]<=this[_0x33526e(0x437)]['getCurrentRevOfUnit'](this['unitID']))){if(this['_collaborationPaused']){this[_0x33526e(0x4d2)]['push'](_0x111f17);return;}this[_0x33526e(0x1b9)](_0x111f17);}}[_0xf37888(0x43f)](){const _0x577423=_0xf37888;this[_0x577423(0x4d2)][_0x577423(0x321)](_0x5b4bc3=>this[_0x577423(0x1b9)](_0x5b4bc3)),this[_0x577423(0x4d2)]=[];}[_0xf37888(0x1b9)](_0xb51458){const _0x503b29=_0xf37888,_0x3f9ef9=this[_0x503b29(0x2ab)][_0x503b29(0x49b)][_0x503b29(0x174)](this[_0x503b29(0x2ab)][_0x503b29(0x49b)][_0x503b29(0x395)]()['COMPRESS_MUTATION_APPLY'])(_0xb51458[_0x503b29(0x372)],null)||_0xb51458[_0x503b29(0x372)],_0x554673={..._0xb51458,'mutations':_0x3f9ef9};this[_0x503b29(0x471)](),this[_0x503b29(0x30d)](this[_0x503b29(0x38e)][_0x503b29(0x338)](_0x554673)),this[_0x503b29(0x1bb)]();}[_0xf37888(0x480)](_0x5426c6){const _0x1c7fc3=_0xf37888;this[_0x1c7fc3(0x471)](),this[_0x1c7fc3(0x30d)](this[_0x1c7fc3(0x38e)][_0x1c7fc3(0x3db)](_0x5426c6)),this[_0x1c7fc3(0x1bb)]();}[_0xf37888(0x513)](_0x2688f6){const _0x4160ab=_0xf37888;this[_0x4160ab(0x471)](),this[_0x4160ab(0x30d)](this[_0x4160ab(0x38e)]['onRemoteRej'](_0x2688f6)),this[_0x4160ab(0x1bb)]();}[_0xf37888(0x1c3)](_0x149f59){const _0x517159=_0xf37888;this['_lockTransition'](),this[_0x517159(0x30d)](this[_0x517159(0x38e)][_0x517159(0x36a)](_0x149f59)),this[_0x517159(0x1bb)]();}[_0xf37888(0x294)](_0x484665){const _0x53d968=_0xf37888;if(!(this[_0x53d968(0x38e)]instanceof he))throw new TypeError(_0x53d968(0x31c));const _0x5a3720=_0x484665[_0x53d968(0x41b)](_0x402946=>{const _0x39d29e=_0x53d968,_0x3e3833=this[_0x39d29e(0x2ab)][_0x39d29e(0x49b)][_0x39d29e(0x174)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x39d29e(0x3ff)])(_0x402946['mutations'],null)||_0x402946[_0x39d29e(0x372)];return{..._0x402946,'mutations':_0x3e3833};});this['_lockTransition'](),this[_0x53d968(0x30d)](this[_0x53d968(0x38e)][_0x53d968(0x487)](_0x5a3720)),this['_unlockTransition']();}[_0xf37888(0x392)](){const _0x4f2335=_0xf37888;this[_0x4f2335(0x471)](),this['_updateState'](this['_state'][_0x4f2335(0x3b9)]()),this['_unlockTransition']();}[_0xf37888(0x150)](_0x130021=!0x1){const _0x2830ea=_0xf37888;this[_0x2830ea(0x471)](),this['_updateState'](this['_state'][_0x2830ea(0x211)]()),this['_unlockTransition']();const _0x154b91=this[_0x2830ea(0x38e)];_0x130021&&_0x154b91 instanceof Fe&&(this['_lockTransition'](),this['_updateState'](_0x154b91[_0x2830ea(0x22c)]()),this[_0x2830ea(0x1bb)]());}async[_0xf37888(0x138)](){return new Promise(_0x2303a0=>{const _0x398ee5=_0x136c;this['session'][_0x398ee5(0x3e3)][_0x398ee5(0x3bf)](_0x5f06ad(0x1))['subscribe'](async _0x4458d2=>{const _0x573057=_0x398ee5;_0x2303a0(await this[_0x573057(0x4f3)](_0x4458d2===ve[_0x573057(0x312)]));});});}[_0xf37888(0x3e6)](){const _0x27174b=_0xf37888,_0x4cad0a=this[_0x27174b(0x24f)];return{'onStateChange':(_0x1c4e49,_0x1883dc)=>{const _0x2728d6=_0x27174b;if(_0x1c4e49!==this[_0x2728d6(0x38e)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x1c4e49['status']+_0x2728d6(0x2a7)+_0x1883dc['status']+_0x2728d6(0x414)+this[_0x2728d6(0x38e)][_0x2728d6(0x4a1)]);this[_0x2728d6(0x30d)](_0x1883dc);},'onSendChangeset':_0x4ddc57=>{const _0x4491dd=_0x27174b;_0x4ddc57[_0x4491dd(0x46e)]||(_0x4ddc57[_0x4491dd(0x46e)]=this[_0x4491dd(0x25d)],_0x4ddc57[_0x4491dd(0x262)]=++this[_0x4491dd(0x3c6)]);const _0x49291e={'eventID':_0x3c3869[_0x4491dd(0x1f3)],'data':{'unitID':_0x4ddc57[_0x4491dd(0x24f)],'unitType':this[_0x4491dd(0x514)],'changeset':_0x4ddc57,'memberID':this[_0x4491dd(0x429)]['getMemberID']()}};this[_0x4491dd(0x429)][_0x4491dd(0x512)](_0x49291e,this[_0x4491dd(0x24f)]);},'onMissingChangesets':({from:_0x312282,to:_0x297953})=>{const _0x3f9e69=_0x27174b;this[_0x3f9e69(0x2c3)][_0x3f9e69(0x13c)](_0x3f9e69(0x2b8),_0x3f9e69(0x167)+_0x312282+'\x20to\x20'+_0x297953);const _0xde8e79={'eventID':_0x3c3869[_0x3f9e69(0x44f)],'data':{'unitID':_0x4cad0a,'unitType':this[_0x3f9e69(0x514)],'from':_0x312282,'to':_0x297953}};this[_0x3f9e69(0x429)][_0x3f9e69(0x512)](_0xde8e79,this['unitID']);}};}async['_createInitialStateImpl'](_0x426c36){const _0x17a1f0=_0xf37888;var _0x5a588c,_0x3c2ef5;const _0x43971b=await this['_localCacheService'][_0x17a1f0(0x40e)](this[_0x17a1f0(0x24f)]),_0x42a188=(_0x5a588c=_0x43971b==null?void 0x0:_0x43971b['mutations'])!=null?_0x5a588c:[],_0x2b4b77=(_0x3c2ef5=_0x43971b==null?void 0x0:_0x43971b[_0x17a1f0(0x2b6)])!=null?_0x3c2ef5:null,_0x15f864=!!(_0x2b4b77!=null&&_0x2b4b77[_0x17a1f0(0x46e)])&&!!(_0x2b4b77!=null&&_0x2b4b77['reqId']);this[_0x17a1f0(0x25d)]=_0x15f864?_0x2b4b77[_0x17a1f0(0x46e)]:zr(),this[_0x17a1f0(0x3c6)]=_0x15f864?_0x2b4b77['reqId']:0x0;const _0x1a5c76=this[_0x17a1f0(0x24f)];try{this[_0x17a1f0(0x3a6)](_0x2b4b77,_0x42a188);}catch(_0xf3890a){this[_0x17a1f0(0x2c3)][_0x17a1f0(0x329)](_0xf3890a);}const _0x2a524a=this[_0x17a1f0(0x3e6)]();if(_0x426c36){const _0x204342=Ai(this['_injector'],_0x1a5c76,this[_0x17a1f0(0x514)],_0x2b4b77,_0x42a188,_0x2a524a);return _0x204342 instanceof pe?_0x204342[_0x17a1f0(0x2df)]():(_0x204342 instanceof ge||_0x204342 instanceof Te)&&_0x204342['resend'](),_0x204342;}return this[_0x17a1f0(0x43d)][_0x17a1f0(0x3d0)](ye,_0x1a5c76,this['_type'],_0x2b4b77,_0x42a188,_0x2a524a);}[_0xf37888(0x3a6)](_0x26eb3b,_0x16ed00){const _0x3c4c54=_0xf37888;var _0x150e9c,_0x4867c5;const _0xf02e34=this[_0x3c4c54(0x2ab)][_0x3c4c54(0x49b)][_0x3c4c54(0x174)](this['_compressMutationService'][_0x3c4c54(0x49b)][_0x3c4c54(0x395)]()[_0x3c4c54(0x3ff)]);(_0x150e9c=_0xf02e34((_0x26eb3b==null?void 0x0:_0x26eb3b[_0x3c4c54(0x372)])||[],null))==null||_0x150e9c[_0x3c4c54(0x321)](_0x31d3e7=>this[_0x3c4c54(0x1fb)]['executeCommand'](_0x31d3e7['id'],_0x31d3e7[_0x3c4c54(0x274)])),(_0x4867c5=_0xf02e34(_0x16ed00||[],null))==null||_0x4867c5[_0x3c4c54(0x321)](_0xfa6f68=>this['_commandService']['executeCommand'](_0xfa6f68['id'],_0xfa6f68[_0x3c4c54(0x274)]));}};gt=Es([H(0x3,_0x39c8b8(_0x2fd08f)),H(0x4,_0x39c8b8(q)),H(0x5,_0x39c8b8(_0x78bcc3)),H(0x6,_0x39c8b8(_0x50f35b)),H(0x7,_0x39c8b8(_0x304c49)),H(0x8,_0x399eca),H(0x9,_0x48fc43),H(0xa,_0xffafbc),H(0xb,_0x19df2d),H(0xc,_0x174482(Rt))],gt);let ss=class extends gt{constructor(_0x182175,_0x2ffb9a,_0x4df09d,_0x251218,_0x41f49a,_0x1a3bcd,_0x3cefac,_0x414a70,_0x4e9450,_0x4bdeba,_0x524a8f,_0x25dd37,_0x1ab093,_0x104f8d,_0x490a96,_0x2cb77b,_0x551ce5,_0x2209bd){const _0x3cbd48=_0xf37888;super(_0x182175,_0x4df09d,_0x2ffb9a,_0x251218,_0x41f49a,_0x1a3bcd,_0x3cefac,_0x414a70,_0x104f8d,_0x490a96,_0x2cb77b,_0x551ce5,_0x2209bd),this[_0x3cbd48(0x24f)]=_0x182175,this[_0x3cbd48(0x1fd)]=_0x2ffb9a,this['_docStateChangeManagerService']=_0x4e9450,this['_docTransformIMECacheService']=_0x4bdeba,this['_docTransformStateCacheService']=_0x524a8f,this['_docTransformSelectionsService']=_0x25dd37,this[_0x3cbd48(0x31e)]=_0x1ab093;}[_0xf37888(0x3e6)](){const _0x85309f=_0xf37888,_0x1184df=super[_0x85309f(0x3e6)]();return _0x1184df[_0x85309f(0x371)]=_0x4fac7a=>this[_0x85309f(0x1d4)][_0x85309f(0x30b)](_0x4fac7a),_0x1184df[_0x85309f(0x376)]=_0x16dbf1=>this['_docTransformStateCacheService'][_0x85309f(0x20e)](_0x16dbf1),_0x1184df[_0x85309f(0x380)]=_0x7d1f6d=>this['_docTransformSelectionsService'][_0x85309f(0x2c1)](_0x7d1f6d),_0x1184df[_0x85309f(0x506)]=_0x2870cb=>this['_docSyncEditingCollabCursorService'][_0x85309f(0x39e)](_0x2870cb),_0x1184df['onTransformRemoteChangesetByIMECache']=_0xa33172=>this[_0x85309f(0x1d4)][_0x85309f(0x423)](_0xa33172),_0x1184df[_0x85309f(0x42f)]=_0x3d7032=>this[_0x85309f(0x1e0)][_0x85309f(0x423)](_0x3d7032),_0x1184df;}async[_0xf37888(0x406)](){const _0x594d02=_0xf37888,_0x15b562=await super['_init']();return this[_0x594d02(0x1ce)][_0x594d02(0x3d8)][_0x594d02(0x3bf)](_0x1825a9(this['dispose$']))[_0x594d02(0x236)](_0x4be8d5=>{const _0x291ce4=_0x594d02;if(_0x4be8d5==null)return;const {unitId:_0x5ea167,redoState:_0x2e96d4,commandId:_0x3869e1}=_0x4be8d5;if(_0x5ea167!==this[_0x291ce4(0x24f)])return;const _0x5450cc={'id':_0x3869e1,'type':_0x357ec8[_0x291ce4(0x1de)],'params':{'unitId':_0x5ea167,'actions':_0x2e96d4[_0x291ce4(0x2fc)],'textRanges':null}};this[_0x291ce4(0x279)](_0x5450cc);}),_0x15b562;}};ss=Es([H(0x3,_0x39c8b8(_0x2fd08f)),H(0x4,_0x39c8b8(q)),H(0x5,_0x39c8b8(_0x78bcc3)),H(0x6,_0x39c8b8(_0x50f35b)),H(0x7,_0x39c8b8(_0x304c49)),H(0x8,_0x39c8b8(_0x3b95d5)),H(0x9,_0x39c8b8(ft)),H(0xa,_0x39c8b8(mt)),H(0xb,_0x39c8b8(pt)),H(0xc,_0x39c8b8(Cs)),H(0xd,_0x399eca),H(0xe,_0x48fc43),H(0xf,_0xffafbc),H(0x10,_0x19df2d),H(0x11,_0x174482(Rt))],ss);let is=class extends gt{constructor(_0x464dbe,_0x2fbf7a,_0x5b6b49,_0x4f4a38,_0x184280,_0x22efb2,_0x966aa6,_0x46276f,_0x35fa8d,_0x2f9d54,_0x325292,_0x159f96,_0x264c29,_0x4adc06){const _0x2e2d4d=_0xf37888;super(_0x464dbe,_0x5b6b49,_0x2fbf7a,_0x4f4a38,_0x184280,_0x22efb2,_0x966aa6,_0x46276f,_0x2f9d54,_0x325292,_0x159f96,_0x264c29,_0x4adc06),this[_0x2e2d4d(0x24f)]=_0x464dbe,this[_0x2e2d4d(0x1fd)]=_0x2fbf7a,this[_0x2e2d4d(0x3ef)]=_0x35fa8d;}[_0xf37888(0x3e6)](){const _0x55d65b=_0xf37888,_0x4bb546=super[_0x55d65b(0x3e6)]();return _0x4bb546[_0x55d65b(0x380)]=_0x3bf5c9=>this[_0x55d65b(0x3ef)][_0x55d65b(0x2c1)](_0x3bf5c9),_0x4bb546;}async[_0xf37888(0x406)](){const _0x1e974d=_0xf37888,_0x12d531=await super[_0x1e974d(0x406)]();return this[_0x1e974d(0x3ec)](this[_0x1e974d(0x1fb)][_0x1e974d(0x4e2)]((_0x28849d,_0x463674)=>{const _0x3bca48=_0x1e974d;if(_0x28849d[_0x3bca48(0x1fd)]!==_0x357ec8['MUTATION']||_0x463674!=null&&_0x463674[_0x3bca48(0x161)]||_0x463674!=null&&_0x463674['onlyLocal'])return;const _0x58ef2e=_0x28849d[_0x3bca48(0x274)];if((_0x58ef2e==null?void 0x0:_0x58ef2e['unitId'])!==this[_0x3bca48(0x24f)])return;const _0x1e0bdd=_0x28849d,_0x477477=this[_0x3bca48(0x2ab)][_0x3bca48(0x49b)][_0x3bca48(0x174)](this[_0x3bca48(0x2ab)][_0x3bca48(0x49b)][_0x3bca48(0x395)]()[_0x3bca48(0x386)])([_0x1e0bdd],null)||[_0x1e0bdd];this[_0x3bca48(0x279)](_0x477477[0x0]);})),_0x12d531;}};is=Es([H(0x3,_0x39c8b8(_0x2fd08f)),H(0x4,_0x39c8b8(q)),H(0x5,_0x39c8b8(_0x78bcc3)),H(0x6,_0x39c8b8(_0x50f35b)),H(0x7,_0x39c8b8(_0x304c49)),H(0x8,_0x39c8b8(vt)),H(0x9,_0x399eca),H(0xa,_0x48fc43),H(0xb,_0xffafbc),H(0xc,_0x19df2d),H(0xd,_0x174482(Rt))],is);var Co=Object[_0xf37888(0x320)],Eo=Object[_0xf37888(0x26b)],bo=(_0x3c5ef7,_0x1700c1,_0x345948,_0x3a198f)=>{const _0x588d6c=_0xf37888;for(var _0x281513=_0x3a198f>0x1?void 0x0:_0x3a198f?Eo(_0x1700c1,_0x345948):_0x1700c1,_0xb5a6a9=_0x3c5ef7[_0x588d6c(0x42c)]-0x1,_0x13081f;_0xb5a6a9>=0x0;_0xb5a6a9--)(_0x13081f=_0x3c5ef7[_0xb5a6a9])&&(_0x281513=(_0x3a198f?_0x13081f(_0x1700c1,_0x345948,_0x281513):_0x13081f(_0x281513))||_0x281513);return _0x3a198f&&_0x281513&&Co(_0x1700c1,_0x345948,_0x281513),_0x281513;},Lt=(_0x231f69,_0x4fc6cd)=>(_0x5d8f67,_0x251130)=>_0x4fc6cd(_0x5d8f67,_0x251130,_0x231f69);let it=class extends _0x3c16d2{constructor(_0x10a728,_0x10973a,_0x3465a8){const _0x4b5b9d=_0xf37888;super(),g(this,_0x4b5b9d(0x3c4),new Map()),g(this,_0x4b5b9d(0x397),new _0x382230()),(this['_injector']=_0x10a728,this[_0x4b5b9d(0x47f)]=_0x10973a,this[_0x4b5b9d(0x1c2)]=_0x3465a8,this['_init']());}['dispose'](){const _0x14f6a8=_0xf37888;super[_0x14f6a8(0x4d5)](),this[_0x14f6a8(0x3c4)][_0x14f6a8(0x321)](_0x1c6053=>_0x1c6053[_0x14f6a8(0x4d5)]()),this[_0x14f6a8(0x3c4)][_0x14f6a8(0x415)]();}['getCollabEntity'](_0x246761){const _0x18b5d7=_0xf37888;var _0xf4399c;return(_0xf4399c=this['_entities'][_0x18b5d7(0x166)](_0x246761))!=null?_0xf4399c:null;}[_0xf37888(0x15a)](_0x2acf60){const _0x5c45f5=_0xf37888,_0x5dbb04=this[_0x5c45f5(0x342)](_0x2acf60);return _0x5dbb04?_0x5ac583(_0x5dbb04):this['_entityInit$'][_0x5c45f5(0x3bf)](_0x2d7a63(_0x695051=>_0x695051[_0x5c45f5(0x24f)]===_0x2acf60));}[_0xf37888(0x406)](){const _0xc79ab9=_0xf37888;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x42608e[_0xc79ab9(0x19a)])[_0xc79ab9(0x3bf)](_0x1825a9(this['dispose$']),_0x207ed1(0x10))[_0xc79ab9(0x236)](async _0x3186d1=>{const _0x540974=_0xc79ab9,_0x5b248a=_0x3186d1['getUnitId'](),_0x2b66f1=await this[_0x540974(0x2a5)](_0x5b248a,ce[_0x540974(0x19a)]);this[_0x540974(0x3c4)][_0x540974(0x1ec)](_0x5b248a,_0x2b66f1);}),this[_0xc79ab9(0x1c2)][_0xc79ab9(0x493)](_0x42608e['UNIVER_DOC'])[_0xc79ab9(0x3bf)](_0x1825a9(this[_0xc79ab9(0x118)]),_0x207ed1(0x10))[_0xc79ab9(0x3bf)](_0x2d7a63(_0x533c75=>!_0x533c75[_0xc79ab9(0x1a4)]()[_0xc79ab9(0x34d)]('__')))[_0xc79ab9(0x236)](async _0xb7ded=>{const _0xf2f320=_0xc79ab9,_0x4338cf=_0xb7ded[_0xf2f320(0x1a4)](),_0x5692bb=await this['_startCollaboration'](_0x4338cf,ce[_0xf2f320(0x1c1)]);this['_entities']['set'](_0x4338cf,_0x5692bb);}),_0x45ad1c(this['_univerInstanceService'][_0xc79ab9(0x465)](_0x42608e['UNIVER_SHEET']),this[_0xc79ab9(0x1c2)][_0xc79ab9(0x465)](_0x42608e['UNIVER_DOC']))[_0xc79ab9(0x3bf)](_0x1825a9(this[_0xc79ab9(0x118)]))[_0xc79ab9(0x236)](_0x27219f=>{const _0x4d940d=_0xc79ab9,_0x18b2d0=_0x27219f[_0x4d940d(0x1a4)](),_0x441360=this[_0x4d940d(0x3c4)][_0x4d940d(0x166)](_0x18b2d0);_0x441360&&(_0x441360[_0x4d940d(0x4d5)](),this[_0x4d940d(0x3c4)][_0x4d940d(0x3ab)](_0x18b2d0));});}async['_startCollaboration'](_0x2edf34,_0x102b34){const _0x2503c8=_0xf37888,_0x4d1b4f=await this[_0x2503c8(0x47f)][_0x2503c8(0x4f0)](_0x2edf34),_0xf0f604=this[_0x2503c8(0x43d)][_0x2503c8(0x3d0)](this[_0x2503c8(0x4a0)](_0x102b34),_0x2edf34,_0x102b34,_0x4d1b4f);return await _0xf0f604['init'](),this[_0x2503c8(0x397)]['next'](_0xf0f604),_0xf0f604;}[_0xf37888(0x4a0)](_0xbfd30c){const _0x191f11=_0xf37888;switch(_0xbfd30c){case ce[_0x191f11(0x1c1)]:return ss;case ce['UNIVER_SHEET']:return is;default:throw new Error(_0x191f11(0x46b)+_0xbfd30c);}}};it=bo([Lt(0x0,_0x39c8b8(_0x2fd08f)),Lt(0x1,_0x39c8b8(Ae)),Lt(0x2,_0x6b8e83)],it);const Gs=[_0xf37888(0x443),_0xf37888(0x292),_0xf37888(0x352),_0xf37888(0x398),_0xf37888(0x2b5),_0xf37888(0x416)];class bs extends _0xb54fec{constructor(){const _0x4dde15=_0xf37888;super(...arguments),g(this,_0x4dde15(0x4a5),new Map()),g(this,_0x4dde15(0x405),0x0);}[_0xf37888(0x3bb)](_0x355df0){const _0x632c03=_0xf37888;if(this[_0x632c03(0x4a5)][_0x632c03(0x4af)](_0x355df0))return this[_0x632c03(0x4a5)][_0x632c03(0x166)](_0x355df0);const _0x69d3cc=Gs[this[_0x632c03(0x405)]];return this['_colorIndex']=(this[_0x632c03(0x405)]+0x1)%Gs[_0x632c03(0x42c)],this[_0x632c03(0x4a5)]['set'](_0x355df0,_0x69d3cc),_0x69d3cc;}}var To=Object[_0xf37888(0x320)],Ro=Object[_0xf37888(0x26b)],yo=(_0x21b4a1,_0x23efa3,_0x1cae2c,_0x9093e5)=>{const _0x26c04a=_0xf37888;for(var _0x35790e=_0x9093e5>0x1?void 0x0:_0x9093e5?Ro(_0x23efa3,_0x1cae2c):_0x23efa3,_0x3988e4=_0x21b4a1[_0x26c04a(0x42c)]-0x1,_0x1fe6bb;_0x3988e4>=0x0;_0x3988e4--)(_0x1fe6bb=_0x21b4a1[_0x3988e4])&&(_0x35790e=(_0x9093e5?_0x1fe6bb(_0x23efa3,_0x1cae2c,_0x35790e):_0x1fe6bb(_0x35790e))||_0x35790e);return _0x9093e5&&_0x35790e&&To(_0x23efa3,_0x1cae2c,_0x35790e),_0x35790e;},Oe=(_0x1f9ab5,_0x1e5686)=>(_0x35a1a5,_0x4cfd24)=>_0x1e5686(_0x35a1a5,_0x4cfd24,_0x1f9ab5);const Oo=0x12c,wo=0x64;let ns=class extends _0x3c16d2{constructor(_0x31734f,_0x37f1c9,_0x311b4e,_0x25070e,_0x2fa7f2,_0x4fcedc,_0x26cc5a,_0x8ac0b1,_0x596f8e){const _0x2d71d2=_0xf37888;super(),g(this,'_online',!0x1),g(this,_0x2d71d2(0x406),!0x1),g(this,_0x2d71d2(0x148),new _0x7465ad(new Map())),g(this,_0x2d71d2(0x3c9),this[_0x2d71d2(0x148)][_0x2d71d2(0x2cf)]()),g(this,_0x2d71d2(0x36e),new _0x7465ad([])),g(this,'roomMembers$',this['_roomMembers$'][_0x2d71d2(0x3bf)](_0x2edddb(Oo))),g(this,_0x2d71d2(0x4ac),_0x4bf9ba(_0x41c397=>{const _0x1ec082=_0x2d71d2,_0x17217b={'eventID':_0x3c3869[_0x1ec082(0x494)],'data':{'unitID':this[_0x1ec082(0x24f)],'memberID':this[_0x1ec082(0x159)]['getMemberID'](),'selection':Pi(_0x41c397)}};this[_0x1ec082(0x159)][_0x1ec082(0x512)](_0x17217b,this[_0x1ec082(0x24f)]);},wo)),(this[_0x2d71d2(0x24f)]=_0x31734f,this[_0x2d71d2(0x159)]=_0x37f1c9,this['_injector']=_0x311b4e,this[_0x2d71d2(0x14c)]=_0x25070e,this[_0x2d71d2(0x1d0)]=_0x2fa7f2,this[_0x2d71d2(0x155)]=_0x4fcedc,this[_0x2d71d2(0x310)]=_0x26cc5a,this[_0x2d71d2(0x1c2)]=_0x8ac0b1,this[_0x2d71d2(0x1fb)]=_0x596f8e);}get['cursorInfo'](){const _0x5280c3=_0xf37888;return this['_cursorInfo$'][_0x5280c3(0x1aa)]();}get[_0xf37888(0x2bb)](){const _0x5a7c87=_0xf37888;return this[_0x5a7c87(0x36e)][_0x5a7c87(0x1aa)]();}[_0xf37888(0x4d5)](){const _0x198eee=_0xf37888;super['dispose'](),this['_cursorInfo$'][_0x198eee(0x2d2)](new Map()),this[_0x198eee(0x148)]['complete'](),this['_roomMembers$'][_0x198eee(0x2d2)]([]),this[_0x198eee(0x36e)][_0x198eee(0x12e)]();}[_0xf37888(0x10e)](){const _0x1ac161=_0xf37888;this['_init']||(this[_0x1ac161(0x406)]=!0x0,this[_0x1ac161(0x159)][_0x1ac161(0x3e3)][_0x1ac161(0x3bf)](_0x1825a9(this[_0x1ac161(0x118)]))['subscribe'](_0x5975ec=>{const _0x2d680b=_0x1ac161;_0x5975ec===ve[_0x2d680b(0x312)]?this[_0x2d680b(0x150)]():this[_0x2d680b(0x392)]();}),this['_session'][_0x1ac161(0x3c5)][_0x1ac161(0x3bf)](_0x1825a9(this[_0x1ac161(0x118)]))[_0x1ac161(0x236)](_0x1b5195=>{const _0x26141d=_0x1ac161,_0x304a86=_0x1b5195[_0x26141d(0x214)];_0x304a86===_0x3c3869['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1b5195),_0x304a86===_0x3c3869[_0x26141d(0x3c2)]&&this[_0x26141d(0x15f)](_0x1b5195);}),this[_0x1ac161(0x3ec)](this[_0x1ac161(0x1fb)]['onCommandExecuted'](_0x52c033=>{const _0x2bc3ad=_0x1ac161,_0xfde7ae=_0x52c033[_0x2bc3ad(0x274)];_0xfde7ae!=null&&this[_0x2bc3ad(0x28e)]&&_0x52c033['id']===_0x4cbea3['id']&&_0xfde7ae['unitId']===this['unitID']&&_0xfde7ae[_0x2bc3ad(0x4e6)]===!0x1&&_0xfde7ae[_0x2bc3ad(0x45e)][_0x2bc3ad(0x42c)]>0x0&&this[_0x2bc3ad(0x4ac)](_0xfde7ae[_0x2bc3ad(0x45e)]);})),this[_0x1ac161(0x155)][_0x1ac161(0x172)]['pipe'](_0x1825a9(this[_0x1ac161(0x118)]))[_0x1ac161(0x236)](_0x38a06c=>{const _0x1f2e66=_0x1ac161;if((_0x38a06c==null?void 0x0:_0x38a06c[_0x1f2e66(0x24f)])!==this[_0x1f2e66(0x24f)])return;const _0x37c180={'eventID':_0x3c3869[_0x1f2e66(0x494)],'data':_0x38a06c};this['_onCursorUpdate'](_0x37c180);}),this[_0x1ac161(0x3ec)](this[_0x1ac161(0x1fb)][_0x1ac161(0x4e2)](_0x516fa0=>{const _0x138a58=_0x1ac161;if(_0x516fa0[_0x138a58(0x274)]==null)return;const _0x566f8d=_0x516fa0[_0x138a58(0x274)];if(_0x516fa0['id']!==_0x216675['id']||_0x566f8d['unitId']!==this[_0x138a58(0x24f)])return;const _0x672d7f={'id':_0x138a58(0x1a5),'params':_0x566f8d},_0x4395af=this[_0x138a58(0x390)];for(const [_0x322903,_0x202ba6]of _0x4395af){const _0x174404={'id':_0x138a58(0x1a5),'params':{'unitId':this[_0x138a58(0x24f)],'actions':null,'textRanges':_0x202ba6['ranges']}},_0x770d6b=this['_transformService']['transformMutation'](_0x672d7f,_0x174404,!0x1);if(_0xfceaae(_0x770d6b))throw _0x770d6b['error'];_0x4395af[_0x138a58(0x1ec)](_0x322903,{..._0x202ba6,'ranges':_0x770d6b['m2Prime'][_0x138a58(0x274)][_0x138a58(0x485)]});}queueMicrotask(()=>{const _0x40f142=_0x138a58;this[_0x40f142(0x148)][_0x40f142(0x2d2)](_0x4395af);});})));}[_0xf37888(0x2ac)](_0x25fd65){const _0x237921=_0xf37888;var _0x1b5caf,_0x422333;const {memberID:_0x25381e,selection:_0x2241c1}=_0x25fd65[_0x237921(0x1cc)],_0x1202d2=ho(_0x2241c1),_0x57230e=(_0x422333=(_0x1b5caf=this['_memberService'][_0x237921(0x208)](this['unitID'],_0x25381e))==null?void 0x0:_0x1b5caf[_0x237921(0x14e)])!=null?_0x422333:'Unknown\x20user',_0x2edfea={'color':this[_0x237921(0x14c)][_0x237921(0x3bb)](_0x25381e),'name':_0x57230e,'ranges':_0x1202d2},_0x93ec7c=this[_0x237921(0x390)];_0x93ec7c[_0x237921(0x1ec)](_0x25381e,_0x2edfea),this['_cursorInfo$']['next'](_0x93ec7c);}[_0xf37888(0x15f)](_0x11b27f){const _0x53ad41=_0xf37888,{memberID:_0xeedb9d}=_0x11b27f[_0x53ad41(0x1cc)],_0x377064=this[_0x53ad41(0x390)];_0x377064[_0x53ad41(0x3ab)](_0xeedb9d),this[_0x53ad41(0x148)][_0x53ad41(0x2d2)](_0x377064);}[_0xf37888(0x150)](){const _0x414feb=_0xf37888;var _0x504c61;if(this[_0x414feb(0x28e)]=!0x0,((_0x504c61=this[_0x414feb(0x1c2)][_0x414feb(0x2f2)]())==null?void 0x0:_0x504c61['getUnitId']())!==this['unitID'])return;const _0x55bc58=this[_0x414feb(0x43d)]['get'](_0x17cd7b)[_0x414feb(0x2fd)]();Array['isArray'](_0x55bc58)&&_0x55bc58[_0x414feb(0x42c)]>0x0&&this[_0x414feb(0x4ac)](_0x55bc58);}[_0xf37888(0x392)](){this['_online']=!0x1;}};ns=yo([Oe(0x2,_0x39c8b8(_0x2fd08f)),Oe(0x3,_0x39c8b8(bs)),Oe(0x4,_0x39c8b8(Ne)),Oe(0x5,_0x39c8b8(Cs)),Oe(0x6,_0x36ceed),Oe(0x7,_0x6b8e83),Oe(0x8,_0x48fc43)],ns);var Do=Object[_0xf37888(0x320)],Po=Object['getOwnPropertyDescriptor'],Uo=(_0xc8f0a2,_0x399e3,_0x261c86,_0x164401)=>{const _0x36abd1=_0xf37888;for(var _0x5b16c1=_0x164401>0x1?void 0x0:_0x164401?Po(_0x399e3,_0x261c86):_0x399e3,_0x5dabaa=_0xc8f0a2[_0x36abd1(0x42c)]-0x1,_0x29f71b;_0x5dabaa>=0x0;_0x5dabaa--)(_0x29f71b=_0xc8f0a2[_0x5dabaa])&&(_0x5b16c1=(_0x164401?_0x29f71b(_0x399e3,_0x261c86,_0x5b16c1):_0x29f71b(_0x5b16c1))||_0x5b16c1);return _0x164401&&_0x5b16c1&&Do(_0x399e3,_0x261c86,_0x5b16c1),_0x5b16c1;},Be=(_0x5a5e83,_0x32b088)=>(_0x179288,_0xc57c41)=>_0x32b088(_0x179288,_0xc57c41,_0x5a5e83);const No=0x12c,Ao=0x64,Mo=()=>{let _0xcee33f=[],_0x1a1134=!0x1;return _0x188ce0=>{const _0x1368e9=_0x136c;_0xcee33f[_0x1368e9(0x270)](_0x188ce0),_0x1a1134||(_0x1a1134=!0x0,setTimeout(()=>{const _0x303767=_0x1368e9;_0xcee33f[_0x303767(0x321)](_0x4de1e7=>_0x4de1e7()),_0xcee33f=[],_0x1a1134=!0x1;}));};};let rs=class extends _0x3c16d2{constructor(_0x1b60f5,_0x42aae2,_0x554abf,_0x1fb196,_0x5ba236,_0x47ba85,_0xd714bd,_0x30eddc){const _0x1f489c=_0xf37888;super(),g(this,'_online',!0x1),g(this,_0x1f489c(0x406),!0x1),g(this,_0x1f489c(0x148),new _0x7465ad(new Map())),g(this,_0x1f489c(0x3c9),this[_0x1f489c(0x148)][_0x1f489c(0x2cf)]()),g(this,_0x1f489c(0x36e),new _0x7465ad([])),g(this,_0x1f489c(0x183),this['_roomMembers$'][_0x1f489c(0x3bf)](_0x2edddb(No))),g(this,_0x1f489c(0x4ac),_0x4bf9ba((_0x4b6418,_0xd20cf2)=>{const _0x169124=_0x1f489c,_0x3f35ab={'eventID':_0x3c3869[_0x169124(0x494)],'data':{'unitID':this['unitID'],'memberID':this[_0x169124(0x159)][_0x169124(0x440)](),'selection':_0x30ad03(_0x4b6418,_0xd20cf2[_0x169124(0x3f9)])}};this[_0x169124(0x159)][_0x169124(0x512)](_0x3f35ab,this[_0x169124(0x24f)]);},Ao)),(this[_0x1f489c(0x24f)]=_0x1b60f5,this[_0x1f489c(0x159)]=_0x42aae2,this[_0x1f489c(0x43d)]=_0x554abf,this[_0x1f489c(0x14c)]=_0x1fb196,this[_0x1f489c(0x1d0)]=_0x5ba236,this[_0x1f489c(0x1c2)]=_0x47ba85,this['_commandService']=_0xd714bd,this[_0x1f489c(0x4f5)]=_0x30eddc);}get[_0xf37888(0x390)](){const _0x4ba10e=_0xf37888;return this[_0x4ba10e(0x148)][_0x4ba10e(0x1aa)]();}get[_0xf37888(0x2bb)](){const _0xf81d7a=_0xf37888;return this[_0xf81d7a(0x36e)]['getValue']();}[_0xf37888(0x4d5)](){const _0x33e6ed=_0xf37888;super[_0x33e6ed(0x4d5)](),this['_cursorInfo$'][_0x33e6ed(0x2d2)](new Map()),this[_0x33e6ed(0x148)][_0x33e6ed(0x12e)](),this[_0x33e6ed(0x36e)]['next']([]),this[_0x33e6ed(0x36e)][_0x33e6ed(0x12e)]();}[_0xf37888(0x10e)](){const _0x3802de=_0xf37888;this[_0x3802de(0x406)]||(this[_0x3802de(0x406)]=!0x0,this[_0x3802de(0x159)]['sessionStatus$'][_0x3802de(0x3bf)](_0x1825a9(this['dispose$']))[_0x3802de(0x236)](_0x1bc186=>{const _0x5cae75=_0x3802de;_0x1bc186===ve[_0x5cae75(0x312)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x3802de(0x159)]['event$']['pipe'](_0x1825a9(this['dispose$']))[_0x3802de(0x236)](_0x29e001=>{const _0x4a1335=_0x3802de,_0x43be2a=_0x29e001[_0x4a1335(0x214)];_0x43be2a===_0x3c3869['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x29e001),_0x43be2a===_0x3c3869[_0x4a1335(0x3c2)]&&this[_0x4a1335(0x15f)](_0x29e001);}),this['_onRefRangeChange'](),this[_0x3802de(0x3ec)](this[_0x3802de(0x1fb)][_0x3802de(0x4e2)](_0x44b1c9=>{const _0x148a6c=_0x3802de;if(this[_0x148a6c(0x28e)]&&_0x44b1c9['id']===_0x455bea['id']&&_0x44b1c9[_0x148a6c(0x274)][_0x148a6c(0x442)]===this[_0x148a6c(0x24f)]){const _0x495635=_0x44b1c9['params'];this[_0x148a6c(0x4ac)](_0x495635[_0x148a6c(0x24a)],_0x495635[_0x148a6c(0x3fb)][0x0]);}})));}[_0xf37888(0x2ac)](_0x306e5b){const _0x2a906b=_0xf37888;var _0x49425c,_0x4e3c7d;const {memberID:_0x1d0940,selection:_0x43ca06}=_0x306e5b[_0x2a906b(0x1cc)],{sheetName:_0x6772fc,range:_0x117ceb}=_0x213db1(_0x43ca06),_0x286c37={'name':(_0x4e3c7d=(_0x49425c=this['_memberService'][_0x2a906b(0x208)](this[_0x2a906b(0x24f)],_0x1d0940))==null?void 0x0:_0x49425c['name'])!=null?_0x4e3c7d:_0x2a906b(0x213),'range':this[_0x2a906b(0x2cc)](_0x6772fc,_0x117ceb),'sheetID':_0x6772fc,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1d0940),'selection':_0x43ca06},_0x1d5d3e=this[_0x2a906b(0x390)];_0x1d5d3e[_0x2a906b(0x1ec)](_0x1d0940,_0x286c37),this[_0x2a906b(0x148)][_0x2a906b(0x2d2)](_0x1d5d3e);}['_onCursorDelete'](_0x4f7ed6){const _0x196bee=_0xf37888,{memberID:_0x439ce9}=_0x4f7ed6['data'],_0x33e576=this[_0x196bee(0x390)];_0x33e576[_0x196bee(0x3ab)](_0x439ce9),this[_0x196bee(0x148)][_0x196bee(0x2d2)](_0x33e576);}[_0xf37888(0x2cc)](_0x5b6c8e,_0x33f4ab){const _0x2ace4b=_0xf37888;var _0x375caf,_0x4232a6;const _0x57b7b0=(_0x4232a6=(_0x375caf=this[_0x2ace4b(0x1c2)][_0x2ace4b(0x4e7)](this[_0x2ace4b(0x24f)]))==null?void 0x0:_0x375caf[_0x2ace4b(0x331)](_0x5b6c8e))==null?void 0x0:_0x4232a6['getMergeData']();return(_0x57b7b0==null?void 0x0:_0x57b7b0[_0x2ace4b(0x4b0)](_0x4303dd=>_0x3bc9a8['contains'](_0x4303dd,_0x33f4ab)))||_0x33f4ab;}[_0xf37888(0x2a4)](){const _0x4c41d3=_0xf37888,_0x282689=new _0x241f26(),_0x5043ca=Mo(),_0x24f608=()=>{const _0x535d48=_0x136c;_0x282689[_0x535d48(0x4d5)]();const _0x16aced=(_0x175558,_0x4c2c08,_0x32208f,_0x3819f0)=>{const _0x624f32=_0x535d48;let _0x1d7b59=[];switch(_0x175558['id']){case _0x393a47['DeleteRangeMoveLeftCommandId']:{_0x1d7b59=_0xc0b2af(_0x175558,_0x3819f0);break;}case _0x393a47[_0x624f32(0x434)]:{_0x1d7b59=_0xb8cee4(_0x175558,_0x3819f0);break;}case _0x393a47[_0x624f32(0x3a3)]:{_0x1d7b59=_0x53232e(_0x175558,_0x3819f0);break;}case _0x393a47[_0x624f32(0x3a2)]:{_0x1d7b59=_0x59b66c(_0x175558,_0x3819f0);break;}case _0x393a47['InsertRangeMoveRightCommandId']:{_0x1d7b59=_0x2723eb(_0x175558,_0x3819f0);break;}case _0x393a47[_0x624f32(0x26e)]:{_0x1d7b59=_0xae5700(_0x175558,_0x3819f0);break;}case _0x393a47['MoveRangeCommandId']:{_0x1d7b59=_0x204fc1(_0x175558,_0x3819f0);break;}case _0x393a47[_0x624f32(0x2bf)]:{_0x1d7b59=_0x5d6597(_0x175558,_0x3819f0);break;}case _0x393a47['RemoveRowCommandId']:{_0x1d7b59=_0x52d0b5(_0x175558,_0x3819f0);break;}}const _0x86bb54=_0x4681f0(_0x1d7b59,_0x3819f0),_0x2001a0=this[_0x624f32(0x390)]['get'](_0x4c2c08);if(_0x2001a0&&_0x86bb54){const _0x575eb0={..._0x2001a0,'range':_0x86bb54};this[_0x624f32(0x390)][_0x624f32(0x1ec)](_0x4c2c08,_0x575eb0),_0x5043ca(()=>{const _0x3380c0=_0x624f32,_0x2eabb4=this[_0x3380c0(0x4f5)][_0x3380c0(0x2f1)](_0x86bb54,_0x1eaf20=>(_0x2eabb4[_0x3380c0(0x4d5)](),_0x16aced(_0x1eaf20,_0x4c2c08,_0x32208f,_0x86bb54)));_0x282689['add'](_0x2eabb4);});}return{'redos':[],'undos':[]};};this[_0x535d48(0x390)][_0x535d48(0x321)]((_0x137c31,_0x16b045)=>{const _0x47e946=_0x535d48,{range:_0x9cf924,sheetID:_0xccc131}=_0x137c31,_0x5141e7=this[_0x47e946(0x4f5)][_0x47e946(0x2f1)](_0x9cf924,_0x477816=>(_0x5141e7['dispose'](),_0x16aced(_0x477816,_0x16b045,_0xccc131,_0x9cf924)));_0x282689[_0x47e946(0x389)](_0x5141e7);});};this[_0x4c41d3(0x3ec)](_0x5b8af0(this['_cursorInfo$'][_0x4c41d3(0x236)](()=>{_0x24f608();})));}[_0xf37888(0x150)](){const _0x3a6fa7=_0xf37888;var _0x2e366f,_0x163795;if(this[_0x3a6fa7(0x28e)]=!0x0,((_0x2e366f=this['_univerInstanceService'][_0x3a6fa7(0x2f2)]())==null?void 0x0:_0x2e366f[_0x3a6fa7(0x1a4)]())!==this[_0x3a6fa7(0x24f)])return;const _0x56776a=(_0x163795=this[_0x3a6fa7(0x43d)][_0x3a6fa7(0x166)](_0x2ff3ec)['getCurrentSelections']())==null?void 0x0:_0x163795[0x0],_0x2ec63e=this[_0x3a6fa7(0x1c2)][_0x3a6fa7(0x32c)](_0x42608e[_0x3a6fa7(0x19a)])[_0x3a6fa7(0x14f)]();_0x56776a&&_0x2ec63e&&this[_0x3a6fa7(0x4ac)](_0x2ec63e[_0x3a6fa7(0x370)](),_0x56776a);}['_toggleOffline'](){const _0x328edd=_0xf37888;this[_0x328edd(0x28e)]=!0x1;}};rs=Uo([Be(0x2,_0x39c8b8(_0x2fd08f)),Be(0x3,_0x39c8b8(bs)),Be(0x4,_0x39c8b8(Ne)),Be(0x5,_0x6b8e83),Be(0x6,_0x48fc43),Be(0x7,_0x39c8b8(_0x34f847))],rs);var xo=Object[_0xf37888(0x320)],Lo=Object[_0xf37888(0x26b)],$o=(_0x389b9a,_0xe876b7,_0x6e3c27,_0x3651aa)=>{for(var _0x161590=_0x3651aa>0x1?void 0x0:_0x3651aa?Lo(_0xe876b7,_0x6e3c27):_0xe876b7,_0x545201=_0x389b9a['length']-0x1,_0xcf8185;_0x545201>=0x0;_0x545201--)(_0xcf8185=_0x389b9a[_0x545201])&&(_0x161590=(_0x3651aa?_0xcf8185(_0xe876b7,_0x6e3c27,_0x161590):_0xcf8185(_0x161590))||_0x161590);return _0x3651aa&&_0x161590&&xo(_0xe876b7,_0x6e3c27,_0x161590),_0x161590;},$t=(_0x2da47b,_0x2ccb07)=>(_0x5daad6,_0xc956c0)=>_0x2ccb07(_0x5daad6,_0xc956c0,_0x2da47b);let Ve=class extends _0x3c16d2{constructor(_0x464ee7,_0x48ce05,_0x38f3a0){const _0x5447d1=_0xf37888;super(),g(this,'_entities',new Map()),g(this,_0x5447d1(0x397),new _0x382230()),(this[_0x5447d1(0x1c2)]=_0x464ee7,this[_0x5447d1(0x43d)]=_0x48ce05,this[_0x5447d1(0x47f)]=_0x38f3a0,this[_0x5447d1(0x406)]());}[_0xf37888(0x4d5)](){const _0x1e2176=_0xf37888;super[_0x1e2176(0x4d5)](),this[_0x1e2176(0x397)]['complete'](),this[_0x1e2176(0x3c4)]['forEach'](_0x22d9bc=>_0x22d9bc[_0x1e2176(0x4d5)]());}[_0xf37888(0x3b0)](_0x4b2da4){const _0x1872e6=_0xf37888;return this[_0x1872e6(0x3c4)][_0x1872e6(0x4af)](_0x4b2da4)?this[_0x1872e6(0x3c4)][_0x1872e6(0x166)](_0x4b2da4)[_0x1872e6(0x3c9)]:this[_0x1872e6(0x397)][_0x1872e6(0x3bf)](_0x14383b(_0x52d315=>_0x52d315[_0x1872e6(0x24f)]===_0x4b2da4),_0x784c53(_0xef58de=>_0xef58de['cursorInfo$']));}[_0xf37888(0x406)](){const _0x1db1c9=_0xf37888;this['_univerInstanceService'][_0x1db1c9(0x493)](_0x42608e[_0x1db1c9(0x19a)])['pipe'](_0x1825a9(this['dispose$']))[_0x1db1c9(0x236)](async _0x200c9f=>{const _0x25163a=_0x1db1c9,_0xb9a49b=_0x200c9f['getUnitId'](),_0x349ef7=await this[_0x25163a(0x3cf)](_0xb9a49b);this[_0x25163a(0x397)][_0x25163a(0x2d2)](_0x349ef7),this[_0x25163a(0x3c4)][_0x25163a(0x1ec)](_0xb9a49b,_0x349ef7);}),this[_0x1db1c9(0x1c2)][_0x1db1c9(0x493)](_0x42608e['UNIVER_DOC'])[_0x1db1c9(0x3bf)](_0x1825a9(this['dispose$']))[_0x1db1c9(0x3bf)](_0x14383b(_0x4c5445=>!_0x4c5445[_0x1db1c9(0x1a4)]()[_0x1db1c9(0x34d)]('__')))[_0x1db1c9(0x236)](async _0x5d377f=>{const _0x152b68=_0x1db1c9,_0x48618d=_0x5d377f['getUnitId'](),_0x3fc9c7=await this[_0x152b68(0x459)](_0x48618d);this['_entityInit$'][_0x152b68(0x2d2)](_0x3fc9c7),this[_0x152b68(0x3c4)]['set'](_0x48618d,_0x3fc9c7);}),_0x45ad1c(this[_0x1db1c9(0x1c2)][_0x1db1c9(0x465)](_0x42608e['UNIVER_DOC']),this[_0x1db1c9(0x1c2)][_0x1db1c9(0x465)](_0x42608e['UNIVER_SHEET']))[_0x1db1c9(0x3bf)](_0x1825a9(this[_0x1db1c9(0x118)]))[_0x1db1c9(0x236)](_0x1d714a=>{const _0x23bc8b=_0x1db1c9,_0x94734b=_0x1d714a[_0x23bc8b(0x1a4)](),_0x6eae8=this[_0x23bc8b(0x3c4)][_0x23bc8b(0x166)](_0x94734b);_0x6eae8&&(_0x6eae8[_0x23bc8b(0x4d5)](),this[_0x23bc8b(0x3c4)]['delete'](_0x94734b));});}async[_0xf37888(0x3cf)](_0x27ab4d){const _0x1119ff=_0xf37888,_0x1bdcd9=await this[_0x1119ff(0x47f)][_0x1119ff(0x4f0)](_0x27ab4d),_0x4d26c9=this['_injector'][_0x1119ff(0x3d0)](rs,_0x27ab4d,_0x1bdcd9);return _0x4d26c9[_0x1119ff(0x10e)](),_0x4d26c9;}async['_startDocCollabCursor'](_0x372609){const _0x587cb0=_0xf37888,_0x4cd5d4=await this[_0x587cb0(0x47f)][_0x587cb0(0x4f0)](_0x372609),_0x4a552e=this[_0x587cb0(0x43d)][_0x587cb0(0x3d0)](ns,_0x372609,_0x4cd5d4);return _0x4a552e['init'](),_0x4a552e;}};Ve=$o([$t(0x0,_0x6b8e83),$t(0x1,_0x39c8b8(_0x2fd08f)),$t(0x2,_0x39c8b8(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,Ho=0x5;function jo(_0x36aea9,_0x4cdd95){const _0x37f884=_0xf37888;let {radius:_0x548544,width:_0x30ee9f,height:_0x2bb4a5}=_0x4cdd95;_0x548544=_0x548544!=null?_0x548544:0x0,_0x30ee9f=_0x30ee9f!=null?_0x30ee9f:0x1e,_0x2bb4a5=_0x2bb4a5!=null?_0x2bb4a5:0x1e;let _0x4caa12=0x0,_0x1bdf6d=0x0,_0x36bbbf=0x0;_0x4caa12=_0x1bdf6d=_0x36bbbf=Math[_0x37f884(0x256)](_0x548544,_0x30ee9f/0x2,_0x2bb4a5/0x2),_0x36aea9['beginPath'](),_0x36aea9[_0x37f884(0x20d)](_0x4caa12,0x0),_0x36aea9['lineTo'](_0x30ee9f-_0x1bdf6d,0x0),_0x36aea9[_0x37f884(0x303)](_0x30ee9f-_0x1bdf6d,_0x1bdf6d,_0x1bdf6d,Math['PI']*0x3/0x2,0x0,!0x1),_0x36aea9[_0x37f884(0x4ef)](_0x30ee9f,_0x2bb4a5-_0x36bbbf),_0x36aea9[_0x37f884(0x303)](_0x30ee9f-_0x36bbbf,_0x2bb4a5-_0x36bbbf,_0x36bbbf,0x0,Math['PI']/0x2,!0x1),_0x36aea9[_0x37f884(0x4ef)](0x0,_0x2bb4a5),_0x36aea9[_0x37f884(0x4ef)](0x0,_0x4caa12),_0x36aea9[_0x37f884(0x303)](_0x4caa12,_0x4caa12,_0x4caa12,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x36aea9[_0x37f884(0x378)](),_0x4cdd95['fill']&&(_0x36aea9[_0x37f884(0x430)](),_0x36aea9[_0x37f884(0x4b5)]=_0x4cdd95[_0x37f884(0x4a2)],_0x4cdd95[_0x37f884(0x449)]==='evenodd'?_0x36aea9[_0x37f884(0x4a2)](_0x37f884(0x28a)):_0x36aea9['fill'](),_0x36aea9[_0x37f884(0x2dd)]());}class yt extends _0x20c0e5{constructor(_0x5cb2bc,_0x3337a3){const _0x20ce2e=_0xf37888;super(_0x5cb2bc,_0x3337a3),g(this,_0x20ce2e(0x10a)),g(this,_0x20ce2e(0x461)),(this[_0x20ce2e(0x10a)]=_0x3337a3==null?void 0x0:_0x3337a3[_0x20ce2e(0x10a)],this['text']=_0x3337a3==null?void 0x0:_0x3337a3[_0x20ce2e(0x461)]);}static['drawWith'](_0x5277af,_0x11dff3){const _0x9ed4ea=_0xf37888,{text:_0x2d1405,color:_0x16c21f}=_0x11dff3;_0x5277af[_0x9ed4ea(0x430)](),_0x5277af['font']=_0x9ed4ea(0x463);const _0x39790d=_0x5277af[_0x9ed4ea(0x39b)](_0x2d1405)[_0x9ed4ea(0x2cd)],_0x43d584=Math['min'](_0x39790d+0x2*Ht,Ys);jo(_0x5277af,{'height':nt,'radius':0x4,'width':_0x43d584,'fill':_0x16c21f,'evented':!0x1}),_0x5277af[_0x9ed4ea(0x4b5)]=_0x9ed4ea(0x4ff);const _0x5c640d=Ht,_0x3b0c4b=nt-Ho,_0x5466a9=Ys-0x2*Ht;if(_0x39790d>_0x5466a9){let _0x4afd6a='',_0x1e986a=0x0;for(const _0x338420 of _0x2d1405){const _0x5d32f6=_0x5277af[_0x9ed4ea(0x39b)](_0x338420)[_0x9ed4ea(0x2cd)];if(_0x1e986a+_0x5d32f6<=_0x5466a9-_0x5277af[_0x9ed4ea(0x39b)](_0x9ed4ea(0x1b3))['width'])_0x4afd6a+=_0x338420,_0x1e986a+=_0x5d32f6;else{_0x4afd6a+=_0x9ed4ea(0x1b3);break;}}_0x5277af[_0x9ed4ea(0x30f)](_0x4afd6a,_0x5c640d,_0x3b0c4b);}else _0x5277af[_0x9ed4ea(0x30f)](_0x2d1405,_0x5c640d,_0x3b0c4b);_0x5277af[_0x9ed4ea(0x2dd)]();}[_0xf37888(0x4fd)](_0xceab52){const _0x251f81=_0xf37888;yt[_0x251f81(0x10c)](_0xceab52,this);}}const jt=_0xf37888(0x1bf),Bo=_0xf37888(0x404),ko=_0xf37888(0x4bd),Je=0x6,Wo=1.5,Bt=0x4,Fo=1.5,Vo='rgba(255,\x20255,\x20255,\x200.01)';class Ks{constructor(_0x27ef7a,_0x5cb10b,_0x5a1aec,_0x2156b9){const _0x521413=_0xf37888;g(this,_0x521413(0x250),[]),g(this,_0x521413(0x450),null),g(this,_0x521413(0x3fa),null),g(this,_0x521413(0x425),null),g(this,'_hideTimer',null),g(this,_0x521413(0x19c),null),(this[_0x521413(0x36d)]=_0x27ef7a,this['_scene']=_0x5cb10b,this[_0x521413(0x31b)]=_0x5a1aec,this['_document']=_0x2156b9,this[_0x521413(0x4b9)]());}set[_0xf37888(0x125)](_0x5bf1c2){const _0x4f846e=_0xf37888;_0x5bf1c2?(this[_0x4f846e(0x425)]&&this[_0x4f846e(0x425)][_0x4f846e(0x46a)](),this[_0x4f846e(0x3fa)]&&this[_0x4f846e(0x3fa)][_0x4f846e(0x228)]()):(this[_0x4f846e(0x425)]&&this[_0x4f846e(0x425)][_0x4f846e(0x228)](),this['_textBubble']&&this[_0x4f846e(0x3fa)][_0x4f846e(0x46a)]());}['dispose'](){const _0x34bf60=_0xf37888;for(const _0x2d691c of this[_0x34bf60(0x250)])_0x2d691c[_0x34bf60(0x4d5)]();this[_0x34bf60(0x3fa)]&&this[_0x34bf60(0x3fa)]['dispose'](),this[_0x34bf60(0x425)]&&this[_0x34bf60(0x425)][_0x34bf60(0x4d5)](),this[_0x34bf60(0x450)]&&this[_0x34bf60(0x450)][_0x34bf60(0x4d5)](),this[_0x34bf60(0x19c)]&&this['_eventUnsubscribe']();}[_0xf37888(0x4b9)](){const _0x421b16=_0xf37888;var _0x562e97;const {_docSkeleton:_0x65de8c,_document:_0x379435}=this,{color:_0x23448f,name:_0x4986c1,ranges:_0x5b1446}=this[_0x421b16(0x36d)],_0x2078ed=_0x379435[_0x421b16(0x2d3)](),{docsLeft:_0xb5f4d1,docsTop:_0x89fbf5}=_0x2078ed,_0x38c7f3=new _0x45cbb8(_0x2078ed,_0x65de8c);for(const {startOffset:_0x16d4cb,endOffset:_0x8aa99d,rangeType:_0x5e0fa2,segmentId:_0x4b0865,segmentPage:_0x2f23ab,collapsed:_0x278707,isActive:_0x2aff57}of _0x5b1446){const _0x250179=_0x65de8c[_0x421b16(0x3b3)](_0x16d4cb,!0x0,_0x4b0865,_0x2f23ab);let _0xe04f59=_0x65de8c[_0x421b16(0x3b3)](_0x8aa99d,!0x0,_0x4b0865,_0x2f23ab);if(_0xe04f59==null&&(_0xe04f59=_0x65de8c['findNodePositionByCharIndex'](_0x8aa99d-0x1,!0x1,_0x4b0865,_0x2f23ab)),_0x2aff57){const {contentBoxPointGroup:_0x407499}=_0x38c7f3['getRangePointData'](_0xe04f59,_0xe04f59);if(_0x407499['length']===0x0)continue;this[_0x421b16(0x2e2)](_0x23448f,_0x407499,_0xb5f4d1,_0x89fbf5,_0x4986c1),this[_0x421b16(0x19c)]=this[_0x421b16(0x1ee)]();}if(_0x250179&&_0xe04f59){if(_0x5e0fa2===_0x3b2ca6[_0x421b16(0x282)]){const _0x1e97fc=new _0x14dcc5(_0x2078ed,_0x65de8c),{pointGroup:_0x28a1ae}=(_0x562e97=_0x1e97fc[_0x421b16(0x474)](_0x250179,_0xe04f59))!=null?_0x562e97:{};if(_0x28a1ae==null||_0x28a1ae['length']===0x0)continue;this[_0x421b16(0x3d2)](_0x23448f,_0x28a1ae,_0xb5f4d1,_0x89fbf5);}else{if(!_0x278707){const {borderBoxPointGroup:_0xe89705}=_0x38c7f3[_0x421b16(0x474)](_0x250179,_0xe04f59);if(_0xe89705['length']===0x0)continue;this['_drawTextRange'](_0x23448f,_0xe89705,_0xb5f4d1,_0x89fbf5);}}}}}[_0xf37888(0x2e2)](_0x4f1ebb,_0x5afd47,_0x5b891d,_0x1f9823,_0x1e3367){const _0x472a73=_0xf37888,_0x1fd7e0=this[_0x472a73(0x18c)](_0x5afd47),{left:_0x57b352,top:_0x405377,height:_0x47bb54}=_0x1fd7e0,_0x60a225=this[_0x472a73(0x1dc)](),_0x38d8d4=Fo/_0x60a225,_0x4c4f7c=new _0x53b95b(jt+_0x5d7755[_0x472a73(0x44e)](Je),{'left':_0x57b352+_0x5b891d-_0x38d8d4,'top':_0x405377+_0x1f9823,'height':_0x47bb54,'width':Wo,'fill':_0x4f1ebb||_0x1403d6(_0x197df6[_0x472a73(0x2b4)],0x0),'strokeWidth':_0x38d8d4,'stroke':Vo,'evented':!0x0});this[_0x472a73(0x450)]=_0x4c4f7c,this[_0x472a73(0x4bb)][_0x472a73(0x3d7)](_0x4c4f7c,_0x2a8154);const _0x56ed50=new _0x53b95b(jt+_0x5d7755[_0x472a73(0x44e)](Je),{'left':_0x57b352+_0x5b891d-_0x38d8d4,'top':_0x405377+_0x1f9823-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x4f1ebb||_0x1403d6(_0x197df6[_0x472a73(0x2b4)],0x0),'strokeWidth':0x0,'stroke':_0x4f1ebb||_0x1403d6(_0x197df6[_0x472a73(0x2b4)],0x0),'evented':!0x1});this[_0x472a73(0x425)]=_0x56ed50,this[_0x472a73(0x4bb)][_0x472a73(0x3d7)](_0x56ed50,_0x2a8154);const _0x41cd7e=new yt(jt+_0x5d7755[_0x472a73(0x44e)](Je),{'left':_0x57b352+_0x5b891d-_0x38d8d4,'top':_0x405377+_0x1f9823-nt,'text':_0x1e3367,'color':_0x4f1ebb});this[_0x472a73(0x3fa)]=_0x41cd7e,this[_0x472a73(0x4bb)][_0x472a73(0x3d7)](_0x41cd7e,_0x2a8154),this[_0x472a73(0x125)]=!0x1;}[_0xf37888(0x1ee)](){const _0x4e23e2=_0xf37888,_0x210c37=this[_0x4e23e2(0x450)][_0x4e23e2(0x2f9)][_0x4e23e2(0x401)](()=>{this['_hover']=!0x0;}),_0x40e044=this[_0x4e23e2(0x450)][_0x4e23e2(0x350)][_0x4e23e2(0x401)](()=>{const _0x265994=_0x4e23e2;this[_0x265994(0x288)]&&clearTimeout(this['_hideTimer']),this[_0x265994(0x288)]=setTimeout(()=>{const _0x537692=_0x265994;this[_0x537692(0x125)]=!0x1;},0x7d0);});return()=>{_0x210c37['unsubscribe'](),_0x40e044['unsubscribe']();};}['_drawTextRange'](_0xebb6fc,_0x13b75e,_0x515c2a,_0xd239d8){const _0x855a4b=_0xf37888,_0x8f66ea=new _0xd157f(_0xebb6fc)[_0x855a4b(0x35a)](0.2)[_0x855a4b(0x2ad)](),_0x21cd8f=new _0x4d7468(Bo+_0x5d7755[_0x855a4b(0x44e)](Je),{'pointsGroup':_0x13b75e,'fill':_0x8f66ea||_0x1403d6(_0x197df6[_0x855a4b(0x2b4)],0.2),'left':_0x515c2a,'top':_0xd239d8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x855a4b(0x250)]['push'](_0x21cd8f),this[_0x855a4b(0x4bb)][_0x855a4b(0x3d7)](_0x21cd8f,_0x2a8154);}[_0xf37888(0x3d2)](_0xdb4799,_0x42733d,_0x3fc049,_0x2b0447){const _0x413495=_0xf37888,_0x5468d7=new _0xd157f(_0xdb4799)['setAlpha'](0.2)[_0x413495(0x2ad)](),_0x2ca696=new _0x4d7468(ko+_0x5d7755[_0x413495(0x44e)](Je),{'pointsGroup':_0x42733d,'fill':_0x5468d7||_0x1403d6(_0x197df6['black'],0.2),'left':_0x3fc049,'top':_0x2b0447,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x413495(0x250)][_0x413495(0x270)](_0x2ca696),this[_0x413495(0x4bb)][_0x413495(0x3d7)](_0x2ca696,_0x2a8154);}[_0xf37888(0x18c)](_0x3695a5){const _0x3fb2be=_0x3695a5[0x0],_0x4f5941=_0x3fb2be[0x0],_0x346e7d=_0x3fb2be[0x2],{x:_0x2d1066,y:_0x4e0f95}=_0x4f5941,{x:_0x3acb42,y:_0xee508c}=_0x346e7d;return{'left':_0x2d1066,'top':_0x4e0f95,'width':_0x3acb42-_0x2d1066,'height':_0xee508c-_0x4e0f95};}[_0xf37888(0x1dc)](){const _0x5b41a8=_0xf37888,{scaleX:_0x802c49,scaleY:_0x36f618}=this[_0x5b41a8(0x4bb)]['getAncestorScale']();return Math['max'](_0x802c49,_0x36f618);}}var Go=Object[_0xf37888(0x320)],Yo=Object[_0xf37888(0x26b)],Ko=(_0x2808ae,_0x59a007,_0x7b5468,_0x2bd484)=>{for(var _0x5c0f11=_0x2bd484>0x1?void 0x0:_0x2bd484?Yo(_0x59a007,_0x7b5468):_0x59a007,_0x10dbaa=_0x2808ae['length']-0x1,_0x198add;_0x10dbaa>=0x0;_0x10dbaa--)(_0x198add=_0x2808ae[_0x10dbaa])&&(_0x5c0f11=(_0x2bd484?_0x198add(_0x59a007,_0x7b5468,_0x5c0f11):_0x198add(_0x5c0f11))||_0x5c0f11);return _0x2bd484&&_0x5c0f11&&Go(_0x59a007,_0x7b5468,_0x5c0f11),_0x5c0f11;},ct=(_0x20131d,_0x5586c1)=>(_0x1984d2,_0x173461)=>_0x5586c1(_0x1984d2,_0x173461,_0x20131d);let os=class extends _0x3c16d2{constructor(_0x48b1a1,_0x4591c5,_0x4584e2,_0xb17394,_0x5a65ca){const _0x750c11=_0xf37888;super(),g(this,_0x750c11(0x3fd),[]),g(this,_0x750c11(0x385),[]),(this[_0x750c11(0x37c)]=_0x48b1a1,this[_0x750c11(0x2cb)]=_0x4591c5,this['_collabCursorController']=_0x4584e2,this[_0x750c11(0x1fb)]=_0xb17394,this['_themeService']=_0x5a65ca,this['_init']());}[_0xf37888(0x406)](){const _0x2848a4=_0xf37888,_0x43607b=this['_context'][_0x2848a4(0x442)],_0x5cb2d4=this[_0x2848a4(0x2cb)];this[_0x2848a4(0x3ec)](_0x42f291([this[_0x2848a4(0x2ba)][_0x2848a4(0x3b0)](_0x43607b),this[_0x2848a4(0x16e)]['currentTheme$']])[_0x2848a4(0x3bf)](_0x5ba592(([_0x2dfdf9,_0x5d6bc7])=>({'skeleton':_0x5cb2d4[_0x2848a4(0x2c9)](),'cursors':[..._0x2dfdf9[_0x2848a4(0x317)]()][_0x2848a4(0x4ba)](_0x2dea0a=>({..._0x2dea0a,'color':_0x5d6bc7[_0x2dea0a['color']]}))})))[_0x2848a4(0x236)](_0x1417d7=>{if(this['_removeCollabCursors'](),_0x1417d7){const {skeleton:_0x57308a,cursors:_0xc2f40a}=_0x1417d7;this['_updateCollabCursors'](_0x57308a,_0xc2f40a);}})),this[_0x2848a4(0x344)](),this[_0x2848a4(0x1a1)]();}[_0xf37888(0x3ee)](_0x509f80,_0x166916){const _0x18db5e=_0xf37888,{scene:_0x4ce91f,mainComponent:_0x58018a}=this[_0x18db5e(0x37c)],_0x2ebcae=_0x166916['map'](_0x5c5d4d=>new Ks(_0x5c5d4d,_0x4ce91f,_0x509f80,_0x58018a));this['_cursorShapes']=_0x2ebcae,this['_cursors']=_0x166916;}[_0xf37888(0x3f0)](){const _0x2d00c8=_0xf37888;this[_0x2d00c8(0x432)]();const {scene:_0x2c2ded,mainComponent:_0x59f1f9}=this[_0x2d00c8(0x37c)],_0x293e5d=this[_0x2d00c8(0x2cb)]['getSkeleton'](),_0x1f0ae2=this[_0x2d00c8(0x385)]['map'](_0x573b29=>new Ks(_0x573b29,_0x2c2ded,_0x293e5d,_0x59f1f9));this[_0x2d00c8(0x3fd)]=_0x1f0ae2;}[_0xf37888(0x432)](){const _0x5ac179=_0xf37888;this[_0x5ac179(0x3fd)][_0x5ac179(0x321)](_0x178a0c=>_0x178a0c[_0x5ac179(0x4d5)]()),this[_0x5ac179(0x3fd)]=[];}['_initCommandExecutedListener'](){const _0x3069f0=_0xf37888,_0x9440ab=[_0x3212df['id']];this['disposeWithMe'](this['_commandService'][_0x3069f0(0x4e2)](_0x3c35e5=>{const _0x3652c3=_0x3069f0;_0x9440ab[_0x3652c3(0x258)](_0x3c35e5['id'])&&_0x3c35e5['params']['unitId']===this[_0x3652c3(0x37c)]['unitId']&&this[_0x3652c3(0x3f0)]();}));}['_initResize'](){const _0x240ad9=_0xf37888;this[_0x240ad9(0x3ec)](_0x153a49(this[_0x240ad9(0x37c)][_0x240ad9(0x29a)][_0x240ad9(0x3b6)])[_0x240ad9(0x3bf)](_0x2d7a63(_0x41524d=>_0x41524d[_0x240ad9(0x1fd)]===_0x2bfb82['resize']),_0x1b38bd(0x10))[_0x240ad9(0x236)](()=>{const _0x268c17=_0x240ad9;this[_0x268c17(0x3f0)]();}));}};os=Ko([ct(0x1,_0x39c8b8(_0x511bb7)),ct(0x2,_0x39c8b8(Ve)),ct(0x3,_0x48fc43),ct(0x4,_0x39c8b8(_0x1d0ffa))],os);const zo=0x1,qo=1.5;class Xo extends _0x20c0e5{constructor(_0x1cb595,_0x2446b0){const _0x2407e1=_0xf37888;super(_0x1cb595,_0x2446b0),g(this,_0x2407e1(0x369)),g(this,_0x2407e1(0x3dd),!0x1),g(this,_0x2407e1(0x4e9)),g(this,'_name',''),g(this,_0x2407e1(0x468),'top'),g(this,_0x2407e1(0x455)),(_0x2446b0&&this[_0x2407e1(0x147)](_0x2446b0),this[_0x2407e1(0x2f9)]['subscribeEvent'](()=>this[_0x2407e1(0x147)]({'hovered':!0x0})),this[_0x2407e1(0x350)][_0x2407e1(0x401)](()=>this[_0x2407e1(0x147)]({'hovered':!0x1})));}[_0xf37888(0x147)](_0x41b4c1){const _0x1fbb3d=_0xf37888;var _0x320ab4,_0x16930f,_0x111099,_0x1715b9,_0x325ccb,_0x4cef42;this[_0x1fbb3d(0x369)]=(_0x320ab4=_0x41b4c1[_0x1fbb3d(0x10a)])!=null?_0x320ab4:this[_0x1fbb3d(0x369)],this['_hovered']=(_0x16930f=_0x41b4c1[_0x1fbb3d(0x117)])!=null?_0x16930f:this[_0x1fbb3d(0x3dd)],this[_0x1fbb3d(0x4e9)]=(_0x111099=_0x41b4c1[_0x1fbb3d(0x3f9)])!=null?_0x111099:this['_range'],this[_0x1fbb3d(0x184)]=(_0x1715b9=_0x41b4c1['name'])!=null?_0x1715b9:this[_0x1fbb3d(0x184)],this[_0x1fbb3d(0x468)]=(_0x325ccb=_0x41b4c1[_0x1fbb3d(0x38c)])!=null?_0x325ccb:this[_0x1fbb3d(0x468)],this[_0x1fbb3d(0x455)]=(_0x4cef42=_0x41b4c1[_0x1fbb3d(0x4d1)])!=null?_0x4cef42:this[_0x1fbb3d(0x455)],this[_0x1fbb3d(0x40d)]({'width':_0x41b4c1[_0x1fbb3d(0x2cd)],'height':_0x41b4c1[_0x1fbb3d(0x4e1)]});}[_0xf37888(0x38d)](_0x28fc2e){const _0x420dce=_0xf37888,{row:_0x6fc681,column:_0x33c14b}=_0x28fc2e;if(_0x6fc681>=this['_range']['startRow']&&_0x6fc681<=this[_0x420dce(0x4e9)][_0x420dce(0x417)]&&_0x33c14b>=this[_0x420dce(0x4e9)]['startColumn']&&_0x33c14b<=this[_0x420dce(0x4e9)][_0x420dce(0x1d6)]){this[_0x420dce(0x147)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0xf37888(0x408)](_0x2ae673){return!0x1;}[_0xf37888(0x4fd)](_0xc6321f){const _0x4a3e3a=_0xf37888;_0x53b95b[_0x4a3e3a(0x10c)](_0xc6321f,{'width':this[_0x4a3e3a(0x2cd)],'height':this[_0x4a3e3a(0x4e1)],'strokeWidth':qo,'stroke':this[_0x4a3e3a(0x369)],'evented':!0x1,'fill':this[_0x4a3e3a(0x455)]}),this[_0x4a3e3a(0x3dd)]&&(_0xc6321f[_0x4a3e3a(0x430)](),_0xc6321f[_0x4a3e3a(0x27f)](0x1,0x0,0x0,0x1,this[_0x4a3e3a(0x2cd)],this['_labelPosition']===_0x4a3e3a(0x2f8)?0x0:-nt),yt[_0x4a3e3a(0x10c)](_0xc6321f,{'text':this['_name'],'color':this[_0x4a3e3a(0x369)]}),_0xc6321f[_0x4a3e3a(0x2dd)]());}}var Jo=Object['defineProperty'],Zo=Object[_0xf37888(0x26b)],Qo=(_0x26e792,_0x1a12a9,_0x5489d0,_0x4d692c)=>{const _0x384dda=_0xf37888;for(var _0x5ccb8a=_0x4d692c>0x1?void 0x0:_0x4d692c?Zo(_0x1a12a9,_0x5489d0):_0x1a12a9,_0xa9c3e0=_0x26e792[_0x384dda(0x42c)]-0x1,_0x4fe250;_0xa9c3e0>=0x0;_0xa9c3e0--)(_0x4fe250=_0x26e792[_0xa9c3e0])&&(_0x5ccb8a=(_0x4d692c?_0x4fe250(_0x1a12a9,_0x5489d0,_0x5ccb8a):_0x4fe250(_0x5ccb8a))||_0x5ccb8a);return _0x4d692c&&_0x5ccb8a&&Jo(_0x1a12a9,_0x5489d0,_0x5ccb8a),_0x5ccb8a;},kt=(_0x244316,_0x1c8ae8)=>(_0x348ba2,_0x40a95f)=>_0x1c8ae8(_0x348ba2,_0x40a95f,_0x244316);const ea=0x1389;let as=class extends _0x3c16d2{constructor(_0x2b9982,_0x211b32,_0x10a078,_0x5bfde5){const _0x5b37db=_0xf37888;super(),g(this,_0x5b37db(0x385),new Set()),g(this,_0x5b37db(0x24b),null),(this[_0x5b37db(0x37c)]=_0x2b9982,this[_0x5b37db(0x1d7)]=_0x211b32,this[_0x5b37db(0x2ba)]=_0x10a078,this[_0x5b37db(0x16e)]=_0x5bfde5,this[_0x5b37db(0x406)]());}[_0xf37888(0x406)](){const _0x3f4b5f=_0xf37888;this[_0x3f4b5f(0x1d7)]['currentSkeleton$'][_0x3f4b5f(0x3bf)](_0xf05386(this[_0x3f4b5f(0x118)]),_0x380453(_0x57d434=>{const _0xe06ee1=_0x3f4b5f;if(_0x57d434){const _0x172800=_0x57d434[_0xe06ee1(0x313)];return _0x42f291(this[_0xe06ee1(0x2ba)]['getCollabCursors$'](this[_0xe06ee1(0x37c)]['unitId']),this[_0xe06ee1(0x16e)][_0xe06ee1(0x1f7)])['pipe'](_0x5ba592(([_0x22b98e,_0x16c02f])=>{const _0x450b12=_0xe06ee1,_0x287955=new Map();return _0x22b98e[_0x450b12(0x321)]((_0x435c2e,_0x4ea949)=>{const _0x5b908d=_0x450b12;if(_0x435c2e[_0x5b908d(0x110)]===_0x172800){const _0x2d0697={..._0x435c2e};_0x2d0697[_0x5b908d(0x10a)]=_0x16c02f[_0x435c2e[_0x5b908d(0x10a)]],_0x287955[_0x5b908d(0x1ec)](_0x4ea949,_0x2d0697);}}),{'skeleton':_0x57d434,'cursors':_0x287955};}));}return _0x5ac583({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x34c501,cursors:_0x6e21e0})=>{const _0x3981a2=_0x3f4b5f;this[_0x3981a2(0x432)](),_0x34c501&&this['_updateCollabCursors'](_0x34c501,_0x6e21e0);}),this[_0x3f4b5f(0x1d7)][_0x3f4b5f(0x1a7)][_0x3f4b5f(0x236)](_0xa5d702=>{const _0x58424f=_0x3f4b5f;if(_0xa5d702==null)return;const {skeleton:_0x27116c}=_0xa5d702,{scene:_0x57df4d}=this[_0x58424f(0x37c)];_0x57df4d[_0x58424f(0x181)][_0x58424f(0x401)](_0x4bf9ba(_0x31d06a=>{const _0x1bfd03=_0x58424f;var _0x4a4dc8,_0x6d1ee0;const {offsetX:_0x3858c9,offsetY:_0x2369d0}=_0x31d06a,{x:_0x3f8e1d,y:_0x61a9d5}=_0x57df4d['getRelativeToViewportCoord'](_0x5d97fd['FromArray']([_0x3858c9,_0x2369d0])),{scaleX:_0x2d8dc5,scaleY:_0x31410a}=_0x57df4d[_0x1bfd03(0x26d)](),_0x465319=_0x57df4d[_0x1bfd03(0x45c)](_0xc2d531['VIEW_MAIN']),_0x2f0d3b=_0x57df4d['getVpScrollXYInfoByPosToVp'](_0x5d97fd[_0x1bfd03(0x35f)]([_0x3f8e1d,_0x61a9d5]),_0x465319),_0x274bb4=_0x27116c[_0x1bfd03(0x4d6)](_0x3858c9,_0x2369d0,_0x2d8dc5,_0x31410a,_0x2f0d3b);((_0x4a4dc8=this[_0x1bfd03(0x24b)])==null?void 0x0:_0x4a4dc8[_0x1bfd03(0x45b)])===_0x274bb4[_0x1bfd03(0x45b)]&&((_0x6d1ee0=this[_0x1bfd03(0x24b)])==null?void 0x0:_0x6d1ee0['row'])===_0x274bb4[_0x1bfd03(0x209)]||this['_cursors'][_0x1bfd03(0x321)](_0xfe963d=>{const _0x338057=_0x1bfd03;_0xfe963d[_0x338057(0x38d)](_0x274bb4);});},0x64));});}[_0xf37888(0x3ee)](_0x53b3b9,_0x29bdd4){const _0x228fd6=_0xf37888;var _0x398aa2;const _0x1da4a2=(_0x398aa2=this[_0x228fd6(0x1d7)][_0x228fd6(0x1a8)]())==null?void 0x0:_0x398aa2['skeleton'];if(!_0x1da4a2)return;const _0x464007=this[_0x228fd6(0x3f1)]();if(!_0x464007)return;this[_0x228fd6(0x385)]['forEach'](_0x2e0ba9=>{const _0x144220=_0x228fd6;_0x2e0ba9[_0x144220(0x41d)]();});const {scene:_0x4847ac}=_0x464007,_0x11e2e6=ta(Array[_0x228fd6(0x123)](_0x29bdd4[_0x228fd6(0x317)]()))['map'](_0x199c93=>{const _0x31f49d=_0x228fd6,{color:_0x438205,range:_0x384f9d,name:_0x5e5d39,selection:_0xa45666,sheetID:_0x41f033}=_0x199c93,{startColumn:_0xb1df71,startRow:_0x4c4a65,endColumn:_0x1b137d,endRow:_0x4d55a4}=_0x384f9d,_0x146544=_0x7b28d2(_0x4c4a65,_0xb1df71,_0x4847ac,_0x1da4a2),_0x9ba75e=_0x7b28d2(_0x4d55a4,_0x1b137d,_0x4847ac,_0x1da4a2),{columnHeaderHeightAndMarginTop:_0x5000af}=_0x1da4a2,{startX:_0x352d98,startY:_0x2a7d1f}=_0x146544,{endX:_0x31b3ef,endY:_0x24c803}=_0x9ba75e,_0x18daee=_0x31b3ef-_0x352d98,_0x13d058=_0x24c803-_0x2a7d1f,_0x573e66={'labelPosition':_0x2a7d1f-_0x5000af>=nt?_0x31f49d(0x1c6):_0x31f49d(0x2f8),'sheetID':_0x41f033,'range':_0x384f9d,'color':_0x438205,'name':_0x5e5d39,'selection':_0xa45666,'left':_0x352d98,'top':_0x2a7d1f,'width':_0x18daee,'height':_0x13d058,'evented':!0x1,'zIndex':ea};return new Xo(_0x5e5d39,_0x573e66);});_0x4847ac[_0x228fd6(0x316)](_0x11e2e6,zo),this[_0x228fd6(0x385)]=new Set(_0x11e2e6);}[_0xf37888(0x432)](){const _0x377b19=_0xf37888;var _0x533fed;(_0x533fed=this[_0x377b19(0x385)])==null||_0x533fed[_0x377b19(0x321)](_0x30ca0e=>_0x30ca0e[_0x377b19(0x4d5)]());}['_getSheetObject'](){const _0x4abe4b=_0xf37888;return _0xd198a1(this[_0x4abe4b(0x37c)]['unit'],this['_context']);}};as=Qo([kt(0x1,_0x39c8b8(_0x4ee0f9)),kt(0x2,_0x39c8b8(Ve)),kt(0x3,_0x39c8b8(_0x1d0ffa))],as);function ta(_0x59bbb9){const _0x2d1daa=_0xf37888,_0x507e9b=new Map();return _0x59bbb9['forEach'](_0x3199ea=>{const _0x100fc1=_0x136c;if(_0x507e9b[_0x100fc1(0x4af)](_0x3199ea[_0x100fc1(0x136)])){const _0x15b8b8=_0x507e9b[_0x100fc1(0x166)](_0x3199ea[_0x100fc1(0x136)]);_0x15b8b8[_0x100fc1(0x14e)]+=',\x20'+_0x3199ea['name'];}else _0x507e9b[_0x100fc1(0x1ec)](_0x3199ea['selection'],_0x3199ea);}),Array[_0x2d1daa(0x123)](_0x507e9b['values']());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x189afd){const _0x181c60=_0xf37888;return _0x189afd&&_0x189afd[_0x181c60(0x47e)]&&Object[_0x181c60(0x16d)][_0x181c60(0x3ae)][_0x181c60(0x3b7)](_0x189afd,'default')?_0x189afd[_0x181c60(0x510)]:_0x189afd;}var Mi={'exports':{}},Ot={},sa=_0x5101ec,ia=Symbol[_0xf37888(0x4d0)]('react.element'),na=Symbol['for'](_0xf37888(0x4eb)),ra=Object[_0xf37888(0x16d)][_0xf37888(0x3ae)],oa=sa[_0xf37888(0x129)][_0xf37888(0x2a3)],aa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function xi(_0x1c67a6,_0x1535fd,_0x180de5){const _0x12d128=_0xf37888;var _0x1cdfdf,_0x1af783={},_0x28d853=null,_0x2c186d=null;_0x180de5!==void 0x0&&(_0x28d853=''+_0x180de5),_0x1535fd[_0x12d128(0x335)]!==void 0x0&&(_0x28d853=''+_0x1535fd[_0x12d128(0x335)]),_0x1535fd[_0x12d128(0x439)]!==void 0x0&&(_0x2c186d=_0x1535fd[_0x12d128(0x439)]);for(_0x1cdfdf in _0x1535fd)ra[_0x12d128(0x3b7)](_0x1535fd,_0x1cdfdf)&&!aa[_0x12d128(0x3ae)](_0x1cdfdf)&&(_0x1af783[_0x1cdfdf]=_0x1535fd[_0x1cdfdf]);if(_0x1c67a6&&_0x1c67a6[_0x12d128(0x3dc)]){for(_0x1cdfdf in(_0x1535fd=_0x1c67a6['defaultProps'],_0x1535fd))_0x1af783[_0x1cdfdf]===void 0x0&&(_0x1af783[_0x1cdfdf]=_0x1535fd[_0x1cdfdf]);}return{'$$typeof':ia,'type':_0x1c67a6,'key':_0x28d853,'ref':_0x2c186d,'props':_0x1af783,'_owner':oa['current']};}Ot[_0xf37888(0x2a6)]=na,Ot[_0xf37888(0x20b)]=xi,Ot[_0xf37888(0x152)]=xi,Mi[_0xf37888(0x4bf)]=Ot;var we=Mi['exports'],ee=function(){const _0x8ca1f5=_0xf37888;return ee=Object[_0x8ca1f5(0x30c)]||function(_0x38ef81){const _0x250ceb=_0x8ca1f5;for(var _0x88822b,_0x44345b=0x1,_0x11d839=arguments['length'];_0x44345b<_0x11d839;_0x44345b++){_0x88822b=arguments[_0x44345b];for(var _0x133198 in _0x88822b)Object[_0x250ceb(0x16d)]['hasOwnProperty'][_0x250ceb(0x3b7)](_0x88822b,_0x133198)&&(_0x38ef81[_0x133198]=_0x88822b[_0x133198]);}return _0x38ef81;},ee[_0x8ca1f5(0x50d)](this,arguments);},ca=function(_0x3fe83a,_0x337ad8){const _0x5173ae=_0xf37888;var _0x524008={};for(var _0x21dac2 in _0x3fe83a)Object[_0x5173ae(0x16d)][_0x5173ae(0x3ae)][_0x5173ae(0x3b7)](_0x3fe83a,_0x21dac2)&&_0x337ad8[_0x5173ae(0x1eb)](_0x21dac2)<0x0&&(_0x524008[_0x21dac2]=_0x3fe83a[_0x21dac2]);if(_0x3fe83a!=null&&typeof Object['getOwnPropertySymbols']==_0x5173ae(0x1bc)){for(var _0x5505d6=0x0,_0x21dac2=Object['getOwnPropertySymbols'](_0x3fe83a);_0x5505d6<_0x21dac2[_0x5173ae(0x42c)];_0x5505d6++)_0x337ad8['indexOf'](_0x21dac2[_0x5505d6])<0x0&&Object[_0x5173ae(0x16d)][_0x5173ae(0x3f7)]['call'](_0x3fe83a,_0x21dac2[_0x5505d6])&&(_0x524008[_0x21dac2[_0x5505d6]]=_0x3fe83a[_0x21dac2[_0x5505d6]]);}return _0x524008;},Ts=_0x11c4ff(function(_0x4e4eec,_0x32668e){const _0x33e542=_0xf37888;var _0x4794a8=_0x4e4eec[_0x33e542(0x307)],_0x3d6908=_0x4e4eec['id'],_0x4372a8=_0x4e4eec[_0x33e542(0x490)],_0x547628=_0x4e4eec['extend'],_0x137a31=ca(_0x4e4eec,[_0x33e542(0x307),'id','className','extend']),_0x234ee5=_0x33e542(0x4d3)[_0x33e542(0x3b4)](_0x3d6908,'\x20')[_0x33e542(0x3b4)](_0x4372a8||'')[_0x33e542(0x1f9)](),_0x37d497=_0x360e34('_'[_0x33e542(0x3b4)](_a()));return Li(_0x4794a8,''[_0x33e542(0x3b4)](_0x3d6908),{'defIds':_0x4794a8['defIds'],'idSuffix':_0x37d497['current']},ee({'ref':_0x32668e,'className':_0x234ee5},_0x137a31),_0x547628);});function Li(_0x196448,_0xf61a9b,_0x4e7a82,_0x3de020,_0xfd0681){const _0x5fee26=_0xf37888;return _0x517cae(_0x196448['tag'],ee(ee({'key':_0xf61a9b},ha(_0x196448,_0x4e7a82,_0xfd0681)),_0x3de020),(la(_0x196448,_0x4e7a82)[_0x5fee26(0x27b)]||[])[_0x5fee26(0x41b)](function(_0x1aa7d7,_0x418e2c){const _0x5490d0=_0x5fee26;return Li(_0x1aa7d7,''[_0x5490d0(0x3b4)](_0xf61a9b,'-')[_0x5490d0(0x3b4)](_0x196448[_0x5490d0(0x10b)],'-')['concat'](_0x418e2c),_0x4e7a82,void 0x0,_0xfd0681);}));}function ha(_0x1d69b6,_0x577d49,_0x4f7174){const _0x125bc4=_0xf37888;var _0x22966b=ee({},_0x1d69b6[_0x125bc4(0x1e2)]);_0x4f7174!=null&&_0x4f7174[_0x125bc4(0x3d3)]&&_0x22966b[_0x125bc4(0x4a2)]==='colorChannel1'&&(_0x22966b[_0x125bc4(0x4a2)]=_0x4f7174[_0x125bc4(0x3d3)]);var _0x297a3f=_0x577d49[_0x125bc4(0x4f7)];return!_0x297a3f||_0x297a3f[_0x125bc4(0x42c)]===0x0||(_0x1d69b6[_0x125bc4(0x10b)]===_0x125bc4(0x241)&&_0x22966b[_0x125bc4(0x304)]&&(_0x22966b[_0x125bc4(0x304)]=_0x22966b[_0x125bc4(0x304)]+_0x577d49[_0x125bc4(0x27d)]),Object[_0x125bc4(0x217)](_0x22966b)[_0x125bc4(0x321)](function(_0x43c993){const _0x1144d2=_0x125bc4;var _0x36cbca=_0x43c993[0x0],_0x3ae384=_0x43c993[0x1];typeof _0x3ae384==_0x1144d2(0x384)&&(_0x22966b[_0x36cbca]=_0x3ae384[_0x1144d2(0x215)](/url\(#(.*)\)/,_0x1144d2(0x4b7)['concat'](_0x577d49['idSuffix'],')')));})),_0x22966b;}function la(_0x3fef88,_0x5bac90){const _0x1e3b77=_0xf37888;var _0x532b57,_0x418b94=_0x5bac90[_0x1e3b77(0x4f7)];return!_0x418b94||_0x418b94['length']===0x0?_0x3fef88:_0x3fef88['tag']===_0x1e3b77(0x43c)&&(!((_0x532b57=_0x3fef88['children'])===null||_0x532b57===void 0x0)&&_0x532b57[_0x1e3b77(0x42c)])?ee(ee({},_0x3fef88),{'children':_0x3fef88[_0x1e3b77(0x27b)]['map'](function(_0x52cfbd){const _0x4e0022=_0x1e3b77;return typeof _0x52cfbd[_0x4e0022(0x1e2)]['id']==_0x4e0022(0x384)&&_0x418b94&&_0x418b94['indexOf'](_0x52cfbd[_0x4e0022(0x1e2)]['id'])>-0x1?ee(ee({},_0x52cfbd),{'attrs':ee(ee({},_0x52cfbd[_0x4e0022(0x1e2)]),{'id':_0x52cfbd[_0x4e0022(0x1e2)]['id']+_0x5bac90[_0x4e0022(0x27d)]})}):_0x52cfbd;})}):_0x3fef88;}function _a(){const _0x355e8c=_0xf37888;return Math['random']()[_0x355e8c(0x492)](0x24)[_0x355e8c(0x1b0)](0x2,0x8);}Ts[_0xf37888(0x2d8)]=_0xf37888(0x285);var ua={'tag':_0xf37888(0x230),'attrs':{'fill':_0xf37888(0x364),'viewBox':_0xf37888(0x1a2),'width':'1em','height':_0xf37888(0x179)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0xf37888(0x2ea),'attrs':{'stroke':_0xf37888(0x17f),'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':_0xf37888(0x507),'strokeLinejoin':_0xf37888(0x507),'strokeWidth':1.2}}]},{'tag':_0xf37888(0x43c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0xf37888(0x2ea),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0xf37888(0x2d7)]},$i=_0x11c4ff(function(_0x34ee5c,_0x46e073){const _0x156f60=_0xf37888;return _0x517cae(Ts,Object[_0x156f60(0x30c)]({},_0x34ee5c,{'id':_0x156f60(0x192),'ref':_0x46e073,'icon':ua}));});$i['displayName']='OffLineSingle';var da={'tag':_0xf37888(0x230),'attrs':{'fill':_0xf37888(0x364),'viewBox':_0xf37888(0x306),'width':_0xf37888(0x179),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0xf37888(0x2ea),'attrs':{'stroke':_0xf37888(0x17f),'d':_0xf37888(0x2e6),'strokeLinecap':_0xf37888(0x507),'strokeLinejoin':_0xf37888(0x507),'strokeWidth':1.2}}]},{'tag':_0xf37888(0x43c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xf37888(0x314)},'children':[{'tag':_0xf37888(0x2ea),'attrs':{'fill':_0xf37888(0x360),'d':_0xf37888(0x399),'transform':'translate(.97)'}}]}]}],'defIds':[_0xf37888(0x314)]},Hi=_0x11c4ff(function(_0x155792,_0x4db751){const _0x5088d9=_0xf37888;return _0x517cae(Ts,Object['assign']({},_0x155792,{'id':_0x5088d9(0x12f),'ref':_0x4db751,'icon':da}));});Hi[_0xf37888(0x2d8)]=_0xf37888(0x1ba);function ji(_0x39514f){const _0x2fcb64=_0xf37888;var _0x3d58e6,_0x41c40e,_0x39ca31='';if(typeof _0x39514f==_0x2fcb64(0x384)||typeof _0x39514f=='number')_0x39ca31+=_0x39514f;else{if(typeof _0x39514f==_0x2fcb64(0x1e9)){if(Array[_0x2fcb64(0x255)](_0x39514f)){var _0x31c662=_0x39514f['length'];for(_0x3d58e6=0x0;_0x3d58e6<_0x31c662;_0x3d58e6++)_0x39514f[_0x3d58e6]&&(_0x41c40e=ji(_0x39514f[_0x3d58e6]))&&(_0x39ca31&&(_0x39ca31+='\x20'),_0x39ca31+=_0x41c40e);}else{for(_0x41c40e in _0x39514f)_0x39514f[_0x41c40e]&&(_0x39ca31&&(_0x39ca31+='\x20'),_0x39ca31+=_0x41c40e);}}}return _0x39ca31;}function fa(){const _0xc46a2b=_0xf37888;for(var _0x6d8796,_0x2a89c3,_0x484636=0x0,_0x1dfb67='',_0x3ead5d=arguments[_0xc46a2b(0x42c)];_0x484636<_0x3ead5d;_0x484636++)(_0x6d8796=arguments[_0x484636])&&(_0x2a89c3=ji(_0x6d8796))&&(_0x1dfb67&&(_0x1dfb67+='\x20'),_0x1dfb67+=_0x2a89c3);return _0x1dfb67;}const va='univer-online-status-icon',ma=_0xf37888(0x1c0),pa='univer-online-status',ga=_0xf37888(0x41a),Sa=_0xf37888(0x1cf),Ze={'onlineStatusIcon':va,'onlineStatusTitle':ma,'onlineStatus':pa,'online':ga,'offline':Sa};function Ia(_0x23f8ee){const _0xc1d6bf=_0xf37888;switch(_0x23f8ee){case J['OFFLINE']:return _0xc1d6bf(0x186);case J[_0xc1d6bf(0x4f8)]:return _0xc1d6bf(0x32a);case J[_0xc1d6bf(0x3c0)]:return _0xc1d6bf(0x1e1);case J[_0xc1d6bf(0x4ea)]:return _0xc1d6bf(0x48b);case J[_0xc1d6bf(0x48a)]:case J[_0xc1d6bf(0x302)]:return _0xc1d6bf(0x17b);case J[_0xc1d6bf(0x4cf)]:case J[_0xc1d6bf(0x240)]:return _0xc1d6bf(0x2aa);}}function Ca(_0x48ed5f){const _0x38f0d5=_0xf37888,{status$:_0x25a31c}=_0x48ed5f,_0x2e5296=_0x26f539(_0x25a31c,J[_0x38f0d5(0x4ea)]),_0x37ae90=_0x5d0a14(_0x50f35b),_0x283128=_0x5d0a14(Ae),_0x1fe480=_0x2e5296!==J[_0x38f0d5(0x33c)],_0x19a22b=_0x37ae90['t'](Ia(_0x2e5296)),_0x2cf05a=fa(Ze[_0x38f0d5(0x171)],{[Ze[_0x38f0d5(0x298)]]:_0x1fe480,[Ze['offline']]:!_0x1fe480}),_0x3a07e4=_0x1fe480?we['jsx'](Hi,{}):we[_0x38f0d5(0x20b)]($i,{}),_0x287a21=_0x31a143(()=>{const _0x571eb9=_0x38f0d5;_0x1fe480||_0x283128[_0x571eb9(0x3cd)]();},[_0x1fe480,_0x283128]);function _0x28feae(){const _0x2e6fea=_0x38f0d5;return we[_0x2e6fea(0x152)](_0x2e6fea(0x14d),{'className':_0x2cf05a,'onClick':_0x287a21,'children':[we[_0x2e6fea(0x20b)]('div',{'className':Ze[_0x2e6fea(0x315)],'children':_0x3a07e4}),we[_0x2e6fea(0x20b)]('div',{'className':Ze[_0x2e6fea(0x49c)],'children':_0x19a22b})]});}return _0x1fe480?_0x28feae():we[_0x38f0d5(0x20b)](_0x542c0a,{'title':_0x37ae90['t'](_0x38f0d5(0x128)),'children':_0x28feae()});}var Ea=Object[_0xf37888(0x320)],ba=Object[_0xf37888(0x26b)],Ta=(_0x4e2f69,_0xb37e57,_0x24f386,_0x404342)=>{const _0x462af2=_0xf37888;for(var _0x26dad0=_0x404342>0x1?void 0x0:_0x404342?ba(_0xb37e57,_0x24f386):_0xb37e57,_0x21bedf=_0x4e2f69[_0x462af2(0x42c)]-0x1,_0x1b9f39;_0x21bedf>=0x0;_0x21bedf--)(_0x1b9f39=_0x4e2f69[_0x21bedf])&&(_0x26dad0=(_0x404342?_0x1b9f39(_0xb37e57,_0x24f386,_0x26dad0):_0x1b9f39(_0x26dad0))||_0x26dad0);return _0x404342&&_0x26dad0&&Ea(_0xb37e57,_0x24f386,_0x26dad0),_0x26dad0;},ht=(_0x48106d,_0xded0e5)=>(_0x2f67aa,_0xd203ff)=>_0xded0e5(_0x2f67aa,_0xd203ff,_0x48106d);let St=class extends _0xb54fec{constructor(_0x1bcac2,_0x478273,_0x5c6a4f,_0x1cb960){const _0x4ccdb0=_0xf37888;super(),g(this,_0x4ccdb0(0x18e),new _0x7465ad(J['NOT_COLLAB'])),(this[_0x4ccdb0(0x1c2)]=_0x1bcac2,this[_0x4ccdb0(0x26c)]=_0x478273,this['_injector']=_0x5c6a4f,this[_0x4ccdb0(0x247)]=_0x1cb960,this['_initStatusComponent'](),this['_initStatusListener']());}[_0xf37888(0x311)](){const _0x3e5628=_0xf37888;this[_0x3e5628(0x3ec)](this['_univerInstanceService'][_0x3e5628(0x388)][_0x3e5628(0x3bf)](_0x784c53(()=>{const _0x2a5b80=_0x3e5628,_0x1bef92=this['_univerInstanceService']['getFocusedUnit']();return _0x1bef92?this[_0x2a5b80(0x247)][_0x2a5b80(0x15a)](_0x1bef92['getUnitId']()):_0x5ac583(null);}),_0x784c53(_0x4c2ce8=>_0x4c2ce8?_0x4c2ce8['status$']:_0x5ac583(J['NOT_COLLAB'])))[_0x3e5628(0x236)](_0x5717f9=>{const _0x9c7450=_0x3e5628;this[_0x9c7450(0x18e)]['next'](_0x5717f9);}));}['_initStatusComponent'](){const _0x2ed757=_0xf37888;this[_0x2ed757(0x3ec)](this['_uiPartsService'][_0x2ed757(0x458)](_0x31b17c[_0x2ed757(0x4b3)],()=>_0x31c12e(Ra({'status$':this[_0x2ed757(0x18e)][_0x2ed757(0x2cf)]()}),this[_0x2ed757(0x43d)])));}};St=Ta([ht(0x0,_0x6b8e83),ht(0x1,_0x1c0ace),ht(0x2,_0x39c8b8(_0x2fd08f)),ht(0x3,_0x39c8b8(it))],St);function Ra(_0x155a77){const {status$:_0x34b98e}=_0x155a77;return function(){return we['jsx'](Ca,{'status$':_0x34b98e});};}const Bi=_0x11a95d(_0xf37888(0x4c5));var ya=Object[_0xf37888(0x320)],Oa=Object[_0xf37888(0x26b)],wa=(_0x201348,_0x5a16e8,_0x21405b,_0x5739f7)=>{for(var _0x179e3f=_0x5739f7>0x1?void 0x0:_0x5739f7?Oa(_0x5a16e8,_0x21405b):_0x5a16e8,_0x491ff9=_0x201348['length']-0x1,_0x218519;_0x491ff9>=0x0;_0x491ff9--)(_0x218519=_0x201348[_0x491ff9])&&(_0x179e3f=(_0x5739f7?_0x218519(_0x5a16e8,_0x21405b,_0x179e3f):_0x218519(_0x179e3f))||_0x179e3f);return _0x5739f7&&_0x179e3f&&ya(_0x5a16e8,_0x21405b,_0x179e3f),_0x179e3f;},ke=(_0x59f844,_0x1ff9c4)=>(_0x6715c,_0x578740)=>_0x1ff9c4(_0x6715c,_0x578740,_0x59f844);let It=class extends _0x3c16d2{constructor(_0x24de85,_0x4f0e06,_0x3cbfea,_0x183961,_0x490d79,_0x16bbf7){const _0x36a40d=_0xf37888;super(),this[_0x36a40d(0x237)]=_0x24de85,this[_0x36a40d(0x2c3)]=_0x4f0e06,this['_commandService']=_0x3cbfea,this[_0x36a40d(0x324)]=_0x183961,this[_0x36a40d(0x33e)]=_0x490d79,_0x16bbf7?_0x16bbf7==null||_0x16bbf7[_0x36a40d(0x2ca)]()[_0x36a40d(0x1ed)](()=>this[_0x36a40d(0x406)]()):(this[_0x36a40d(0x2c3)][_0x36a40d(0x13c)](_0x36a40d(0x32d),_0x36a40d(0x1d9)),this[_0x36a40d(0x406)]());}async[_0xf37888(0x406)](){const _0x2f7a3f=_0xf37888,_0x1d0109=this[_0x2f7a3f(0x237)][_0x2f7a3f(0x190)]('unit'),_0x492368=this[_0x2f7a3f(0x237)][_0x2f7a3f(0x190)](_0x2f7a3f(0x1fd));if(!_0x1d0109||!_0x492368){this[_0x2f7a3f(0x2c3)][_0x2f7a3f(0x13c)](_0x2f7a3f(0x32d),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x492368)){case ce[_0x2f7a3f(0x19a)]:{const _0x37f9d2=await this['_loadSheet'](_0x1d0109);this[_0x2f7a3f(0x328)](_0x37f9d2);break;}case ce[_0x2f7a3f(0x1c1)]:{await this['_loadDoc'](_0x1d0109);break;}default:{this[_0x2f7a3f(0x2c3)][_0x2f7a3f(0x329)](_0x2f7a3f(0x32d),_0x2f7a3f(0x20c));break;}}}async[_0xf37888(0x328)](_0x543866){const _0x4c938c=_0xf37888;await this['_updateSubUnitFromURLParams'](_0x543866),_0x543866['activeSheet$']['pipe'](_0x1825a9(this[_0x4c938c(0x118)]))[_0x4c938c(0x236)](_0x2de3a5=>{const _0x2375f2=_0x4c938c;_0x2de3a5&&this[_0x2375f2(0x391)](_0x2de3a5);}),this[_0x4c938c(0x237)][_0x4c938c(0x22a)][_0x4c938c(0x3bf)](_0x1825a9(this[_0x4c938c(0x118)]))[_0x4c938c(0x236)](()=>this[_0x4c938c(0x265)](_0x543866));}[_0xf37888(0x391)](_0x6098e2,_0x353eb5=!0x1){const _0x5b9eed=_0xf37888,_0x35260=this[_0x5b9eed(0x237)][_0x5b9eed(0x190)](_0x5b9eed(0x323));_0x6098e2['getSheetId']()!==_0x35260&&this[_0x5b9eed(0x237)]['setParam']('subunit',_0x6098e2['getSheetId'](),_0x353eb5);}async[_0xf37888(0x265)](_0x49e2d1){const _0x1b969e=_0xf37888;var _0x3acc2e;const _0x57b684=this[_0x1b969e(0x237)]['getParam'](_0x1b969e(0x323));if(!_0x57b684||!_0x49e2d1['getSheetBySheetId'](_0x57b684)){const _0x4d8a29=_0x49e2d1[_0x1b969e(0x4d4)]()[0x0],_0x3742d4=_0x49e2d1['getSheetBySheetId'](_0x4d8a29);if(!_0x3742d4)return;this[_0x1b969e(0x391)](_0x3742d4,!0x0),await this[_0x1b969e(0x1fb)][_0x1b969e(0x163)](_0x4fb117['id'],{'unitId':_0x49e2d1['getUnitId'](),'subUnitId':_0x4d8a29});return;}((_0x3acc2e=_0x49e2d1[_0x1b969e(0x14f)]())==null?void 0x0:_0x3acc2e[_0x1b969e(0x370)]())!==_0x57b684&&await this[_0x1b969e(0x1fb)][_0x1b969e(0x163)](_0x4fb117['id'],{'unitId':_0x49e2d1[_0x1b969e(0x1a4)](),'subUnitId':_0x57b684});}async['_loadSheet'](_0x2404f3){const _0x3404f2=_0xf37888;let _0x21843c=0x0;const _0x152faf=await this[_0x3404f2(0x324)]['loadOfflineData'](_0x2404f3);return _0x152faf&&(_0x152faf[_0x3404f2(0x2b6)]||_0x152faf[_0x3404f2(0x372)][_0x3404f2(0x42c)]!==0x0)&&(_0x21843c=_0x152faf[_0x3404f2(0x3de)]),_0x21843c===0x0&&this[_0x3404f2(0x2c3)][_0x3404f2(0x13c)]('[DataLoaderController]',_0x3404f2(0x3b2)),this[_0x3404f2(0x33e)][_0x3404f2(0x12a)](_0x2404f3,_0x21843c);}async[_0xf37888(0x359)](_0x5bcb9e){const _0x303241=_0xf37888;let _0x3a7043=0x0;const _0x2ad6be=await this['_localCacheService']['loadOfflineData'](_0x5bcb9e);return _0x2ad6be&&(_0x2ad6be[_0x303241(0x2b6)]||_0x2ad6be[_0x303241(0x372)][_0x303241(0x42c)]!==0x0)&&(_0x3a7043=_0x2ad6be[_0x303241(0x3de)]),_0x3a7043===0x0&&this[_0x303241(0x2c3)][_0x303241(0x13c)]('[DataLoaderController]',_0x303241(0x3b2)),this[_0x303241(0x33e)]['loadDoc'](_0x5bcb9e,_0x3a7043);}};It=wa([ke(0x0,Bi),ke(0x1,_0x399eca),ke(0x2,_0x48fc43),ke(0x3,_0x39c8b8(q)),ke(0x4,_0x39c8b8(_0x19a3ab)),ke(0x5,_0x174482(_0x480e23))],It);var Da=Object[_0xf37888(0x320)],Pa=Object[_0xf37888(0x26b)],Ua=(_0x207fc8,_0x227033,_0x514a4f,_0x5d4a5e)=>{const _0x3bfdfd=_0xf37888;for(var _0x280d58=_0x5d4a5e>0x1?void 0x0:_0x5d4a5e?Pa(_0x227033,_0x514a4f):_0x227033,_0x51978b=_0x207fc8[_0x3bfdfd(0x42c)]-0x1,_0x33ad6d;_0x51978b>=0x0;_0x51978b--)(_0x33ad6d=_0x207fc8[_0x51978b])&&(_0x280d58=(_0x5d4a5e?_0x33ad6d(_0x227033,_0x514a4f,_0x280d58):_0x33ad6d(_0x280d58))||_0x280d58);return _0x5d4a5e&&_0x280d58&&Da(_0x227033,_0x514a4f,_0x280d58),_0x280d58;},zs=(_0x21070c,_0x1af66b)=>(_0xaa4df1,_0x2a787f)=>_0x1af66b(_0xaa4df1,_0x2a787f,_0x21070c);const Na='DEFAULT_FILE_NAME',Aa=_0xf37888(0x2a2);let Ct=class extends _0xb54fec{constructor(_0x558ad0,_0x5bf2b2){const _0x204f95=_0xf37888;super(),this['_univerInstanceService']=_0x558ad0,this[_0x204f95(0x1f2)]=_0x5bf2b2,this[_0x204f95(0x406)]();}[_0xf37888(0x406)](){const _0x47f59f=_0xf37888;this['disposeWithMe'](this[_0x47f59f(0x1c2)][_0x47f59f(0x388)][_0x47f59f(0x236)](()=>{const _0x27581d=_0x47f59f;var _0x4f7922;const _0x24900f=this[_0x27581d(0x1c2)]['getFocusedUnit']();let _0x116bea=(_0x4f7922=this[_0x27581d(0x1f2)][_0x27581d(0x37a)](Na))!=null?_0x4f7922:Aa;_0x24900f instanceof _0x400c08&&(_0x116bea=_0x24900f[_0x27581d(0x14e)]),document['title']=_0x116bea;}));}};Ct=Ua([zs(0x0,_0x6b8e83),zs(0x1,_0x45a6b3)],Ct);var Ma=Object['defineProperty'],xa=Object[_0xf37888(0x26b)],La=(_0x400391,_0x33a45e,_0xd44e6f,_0x2d7452)=>{for(var _0x19e291=_0x2d7452>0x1?void 0x0:_0x2d7452?xa(_0x33a45e,_0xd44e6f):_0x33a45e,_0x59c276=_0x400391['length']-0x1,_0x5f4a24;_0x59c276>=0x0;_0x59c276--)(_0x5f4a24=_0x400391[_0x59c276])&&(_0x19e291=(_0x2d7452?_0x5f4a24(_0x33a45e,_0xd44e6f,_0x19e291):_0x5f4a24(_0x19e291))||_0x19e291);return _0x2d7452&&_0x19e291&&Ma(_0x33a45e,_0xd44e6f,_0x19e291),_0x19e291;},Wt=(_0x25ac31,_0x3d18aa)=>(_0x323629,_0x17794d)=>_0x3d18aa(_0x323629,_0x17794d,_0x25ac31);let Et=class{constructor(_0x44d9d5,_0x4c080e,_0x462c8f){const _0x155445=_0xf37888;this[_0x155445(0x1f2)]=_0x44d9d5,this[_0x155445(0x169)]=_0x4c080e,this[_0x155445(0x362)]=_0x462c8f,this[_0x155445(0x10e)]();}['init'](){const _0x678d7a=_0xf37888;this[_0x678d7a(0x169)][_0x678d7a(0x501)]({'priority':0x1,'interceptor':(_0xce2d50,_0xbc7ca7)=>_0xbc7ca7(_0xce2d50)[_0x678d7a(0x3bf)](_0x1240df(async _0x3b5b21=>{const _0x2ae3be=_0x678d7a,_0x1a698b=_0x3b5b21;if(_0x1a698b[_0x2ae3be(0x4a1)]===0x191&&window[_0x2ae3be(0x421)](this['localeService']['t'](_0x2ae3be(0x2da)))){const _0x489cab=window['encodeURIComponent'](window[_0x2ae3be(0x205)][_0x2ae3be(0x2b7)]);window[_0x2ae3be(0x205)][_0x2ae3be(0x2b7)]=this[_0x2ae3be(0x3ad)]()+_0x2ae3be(0x19d)+_0x489cab;}return _0x1a698b;}))});}[_0xf37888(0x3ad)](){const _0x18528b=_0xf37888;var _0xac4301,_0xa5ca9f;const _0x8380f2=this[_0x18528b(0x1f2)][_0x18528b(0x37a)](br),_0x1faf3a=this[_0x18528b(0x1f2)][_0x18528b(0x37a)](ie);return(_0xa5ca9f=(_0xac4301=_0x1faf3a==null?void 0x0:_0x1faf3a[_0x18528b(0x28d)])!=null?_0xac4301:_0x8380f2)!=null?_0xa5ca9f:Tr;}};Et=La([Wt(0x0,_0x45a6b3),Wt(0x1,_0x39c8b8(_0xf3436a)),Wt(0x2,_0x39c8b8(_0x50f35b))],Et);var $a=Object[_0xf37888(0x320)],Ha=Object[_0xf37888(0x26b)],ja=(_0x47c6d1,_0x210918,_0x167ded,_0x544de9)=>{const _0x568e7a=_0xf37888;for(var _0x228100=_0x544de9>0x1?void 0x0:_0x544de9?Ha(_0x210918,_0x167ded):_0x210918,_0x3a5cc6=_0x47c6d1[_0x568e7a(0x42c)]-0x1,_0x145efd;_0x3a5cc6>=0x0;_0x3a5cc6--)(_0x145efd=_0x47c6d1[_0x3a5cc6])&&(_0x228100=(_0x544de9?_0x145efd(_0x210918,_0x167ded,_0x228100):_0x145efd(_0x228100))||_0x228100);return _0x544de9&&_0x228100&&$a(_0x210918,_0x167ded,_0x228100),_0x228100;},qs=(_0x7719da,_0x4d25b0)=>(_0xda2bce,_0x5537a6)=>_0x4d25b0(_0xda2bce,_0x5537a6,_0x7719da);const Ba=_0xf37888(0x4ed),ka=_0xf37888(0x4c4);let cs=class extends _0xb54fec{constructor(_0x2a261c,_0xc8803){const _0x89e980=_0xf37888;super(),this[_0x89e980(0x4c6)]=_0x2a261c,this[_0x89e980(0x1f2)]=_0xc8803,this[_0x89e980(0x245)]();}[_0xf37888(0x245)](){const _0x33c735=_0xf37888,_0x2b64a5=this;this[_0x33c735(0x3ec)](this['_HTTPService'][_0x33c735(0x501)]({'priority':0x3e7,'interceptor':_0x5d3d7a({'isMatch'(_0x12cd40){const _0x598dcd=_0x33c735;var _0x227bc2;if(_0x12cd40[_0x598dcd(0x361)]===_0x598dcd(0x2f5)&&((_0x227bc2=_0x12cd40[_0x598dcd(0x227)])!=null&&_0x227bc2['body'])){const {objectID:_0x51873f,objectType:_0x1f66e9}=_0x12cd40['requestParams']['body']||{};if(!_0x51873f||_0x1f66e9===void 0x0)return!0x1;const _0x32acc9=_0x2b64a5['_getAPIPrefixPath']()+'/'+_0x1f66e9+_0x598dcd(0x47d)+_0x51873f+'/allowed';if(_0x12cd40[_0x598dcd(0x35d)]===_0x32acc9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x16f245){const _0x24aa6b=_0x33c735;var _0x3cf2ef;return(_0x3cf2ef=_0x16f245['requestParams'])==null?void 0x0:_0x3cf2ef[_0x24aa6b(0x251)];},'mergeParamsToRequest'(_0xdc37f1,_0x135fb9){const _0x43a908=_0x33c735,_0xa9efd7=_0x2b64a5['_getAPIPrefixPath']()+_0x43a908(0x3b5),_0x2aee7f=_0xdc37f1['reduce']((_0x140566,_0x153687)=>{const _0x5f2b94=_0x43a908,{unitID:_0x418fa1,objectID:_0x1ed233,objectType:_0x335906,actions:_0x39e034}=_0x153687;return _0x140566[_0x418fa1]||(_0x140566[_0x418fa1]={}),_0x140566[_0x418fa1][_0x1ed233]||(_0x140566[_0x418fa1][_0x1ed233]={'objectID':_0x1ed233,'objectType':_0x335906,'actions':[]}),_0x140566[_0x418fa1][_0x1ed233][_0x5f2b94(0x2fc)][_0x5f2b94(0x270)](..._0x39e034),_0x140566;},{}),_0x45265f=[];for(const _0x18291e in _0x2aee7f)for(const _0x13a0fa in _0x2aee7f[_0x18291e]){const {actions:_0x216c03,objectType:_0x3747d1}=_0x2aee7f[_0x18291e][_0x13a0fa],_0x5e4efa=[...new Set(_0x216c03)];_0x45265f[_0x43a908(0x270)]({'unitID':_0x18291e,'objectID':_0x13a0fa,'objectType':_0x3747d1,'actions':_0x5e4efa});}return new _0x3738a7(_0x43a908(0x2f5),_0xa9efd7,{'headers':_0x135fb9[_0x43a908(0x3d1)],'withCredentials':_0x135fb9[_0x43a908(0x4e8)],'responseType':_0x135fb9[_0x43a908(0x3c8)],'body':{'requests':_0x45265f}});}},{'distributeResult'(_0x19e02d,_0x5744ec){const _0x536c7d=_0x33c735,{objectActions:_0x518f52}=_0x19e02d;return _0x5744ec[_0x536c7d(0x41b)](_0x2310d9=>{const _0x424d32=_0x536c7d,{unitID:_0xa1cd0b,objectID:_0xae7cfa,actions:_0x56287a}=_0x2310d9,_0x5b3408=_0x518f52[_0x424d32(0x4b0)](_0x55ad22=>_0x55ad22[_0x424d32(0x24f)]===_0xa1cd0b&&_0x55ad22[_0x424d32(0x3a0)]===_0xae7cfa),_0x30df90=_0x56287a[_0x424d32(0x41b)](_0x2dfb0f=>_0x5b3408==null?void 0x0:_0x5b3408[_0x424d32(0x2fc)][_0x424d32(0x4b0)](_0x5a3adc=>_0x5a3adc[_0x424d32(0x4fa)]===_0x2dfb0f))[_0x424d32(0x4b4)](_0x3c9b88=>!!_0x3c9b88);return{'config':_0x2310d9,'result':{'actions':_0x30df90,'error':_0x19e02d[_0x424d32(0x329)]}};});}})}));}[_0xf37888(0x144)](){const _0x5be1e7=_0xf37888;var _0x10cbad,_0x28e394;const _0x4961ef=this[_0x5be1e7(0x1f2)][_0x5be1e7(0x37a)](Ba),_0x3592a3=this[_0x5be1e7(0x1f2)][_0x5be1e7(0x37a)](ie);return(_0x28e394=(_0x10cbad=_0x3592a3==null?void 0x0:_0x3592a3[_0x5be1e7(0x23c)])!=null?_0x10cbad:_0x4961ef)!=null?_0x28e394:ka;}async[_0xf37888(0x373)](_0xcee737){const _0x107ac6=_0xf37888,_0x532007=this['_getAPIPrefixPath']()+'/'+_0xcee737['objectType']+_0x107ac6(0x36c);return(await this[_0x107ac6(0x4c6)][_0x107ac6(0x141)](_0x532007,{'body':_0xcee737}))[_0x107ac6(0x251)][_0x107ac6(0x3a0)]||'';}async['list'](_0x44d9e4){const _0x3483f6=_0xf37888,_0x1b43ec=this['_getAPIPrefixPath']()+_0x3483f6(0x20f);return(await this[_0x3483f6(0x4c6)][_0x3483f6(0x141)](_0x1b43ec,{'body':_0x44d9e4}))[_0x3483f6(0x251)][_0x3483f6(0x396)];}async[_0xf37888(0x469)](_0x282a7b){const _0x366a68=_0xf37888,_0x329c1e=this['_getAPIPrefixPath']()+'/'+_0x282a7b[_0x366a68(0x21c)]+_0x366a68(0x47d)+_0x282a7b[_0x366a68(0x3a0)];await this[_0x366a68(0x4c6)][_0x366a68(0x476)](_0x329c1e,{'body':_0x282a7b});}async[_0xf37888(0x4da)](_0x10099d){const _0xac88ee=_0xf37888,_0x417e59=this['_getAPIPrefixPath']()+'/'+_0x10099d[_0xac88ee(0x21c)]+_0xac88ee(0x47d)+_0x10099d[_0xac88ee(0x3a0)]+_0xac88ee(0x198);return(await this[_0xac88ee(0x4c6)]['post'](_0x417e59,{'body':_0x10099d}))['body'][_0xac88ee(0x2fc)];}async[_0xf37888(0x173)](_0x522c81){const _0x573990=_0xf37888,_0x596937=this[_0x573990(0x144)]()+_0x573990(0x3b5);return(await this['_HTTPService']['post'](_0x596937,{'body':{'requests':_0x522c81}}))['body'][_0x573990(0x23d)];}async[_0xf37888(0x409)](_0x2cd18e){const _0x46fcee=_0xf37888,_0x449bc4=this[_0x46fcee(0x144)]()+'/'+_0x2cd18e[_0x46fcee(0x21c)]+'/role',_0x1fcf20=await this[_0x46fcee(0x4c6)]['post'](_0x449bc4,{'body':_0x2cd18e});return{'roles':_0x1fcf20[_0x46fcee(0x251)][_0x46fcee(0x363)],'actions':_0x1fcf20[_0x46fcee(0x251)]['actions']};}async[_0xf37888(0x3ba)](_0x4c2c23){const _0x47980a=_0xf37888,_0x3374e9=this['_getAPIPrefixPath']()+_0x47980a(0x201);await this[_0x47980a(0x4c6)][_0x47980a(0x3ab)](_0x3374e9,{'params':{'collaboratorID':_0x4c2c23[_0x47980a(0x12c)],'objectID':_0x4c2c23[_0x47980a(0x3a0)],'unitID':_0x4c2c23['unitID']}});}async[_0xf37888(0x199)](_0x3f53fa){const _0xd46668=_0xf37888,_0x4cd14f=this['_getAPIPrefixPath']()+'/collaborator';await this[_0xd46668(0x4c6)][_0xd46668(0x35b)](_0x4cd14f,{'body':_0x3f53fa});}async['createCollaborator'](_0x15f4f3){const _0x585ca7=_0xf37888,_0x204520=this[_0x585ca7(0x144)]()+'/collaborator';await this[_0x585ca7(0x4c6)][_0x585ca7(0x141)](_0x204520,{'body':_0x15f4f3});}async[_0xf37888(0x447)](_0x1fc25d){const _0x42671c=_0xf37888,_0x468522=this[_0x42671c(0x144)]()+_0x42671c(0x201);return(await this[_0x42671c(0x4c6)][_0x42671c(0x166)](_0x468522,{'params':{'objectID':_0x1fc25d['objectID'],'unitID':_0x1fc25d[_0x42671c(0x24f)]}}))['body'][_0x42671c(0x365)];}async[_0xf37888(0x1d8)](_0x408a1d){const _0x3b808b=_0xf37888,_0x363369=this[_0x3b808b(0x144)]()+_0x3b808b(0x201);await this['_HTTPService']['put'](_0x363369,{'body':_0x408a1d});}};cs=ja([qs(0x0,_0x39c8b8(_0xf3436a)),qs(0x1,_0x39c8b8(_0x45a6b3))],cs);var ki={'exports':{}};function Wa(_0x411360){const _0x1d1e57=_0xf37888;throw new Error(_0x1d1e57(0x2ef)+_0x411360+_0x1d1e57(0x2c6));}var Ft={'exports':{}},Xs;function ue(){const _0x232aca=_0xf37888;return Xs||(Xs=0x1,function(_0x57a201,_0x562480){(function(_0x553a22,_0x32d51d){const _0x9f71f7=_0x136c;_0x57a201[_0x9f71f7(0x4bf)]=_0x32d51d();}(Z,function(){var _0x409769=_0x409769||function(_0x340872,_0x1027fb){const _0x34b363=_0x136c;var _0x497f4e;if(typeof window<'u'&&window[_0x34b363(0x269)]&&(_0x497f4e=window['crypto']),typeof self<'u'&&self[_0x34b363(0x269)]&&(_0x497f4e=self[_0x34b363(0x269)]),typeof globalThis<'u'&&globalThis[_0x34b363(0x269)]&&(_0x497f4e=globalThis[_0x34b363(0x269)]),!_0x497f4e&&typeof window<'u'&&window[_0x34b363(0x448)]&&(_0x497f4e=window[_0x34b363(0x448)]),!_0x497f4e&&typeof Z<'u'&&Z[_0x34b363(0x269)]&&(_0x497f4e=Z[_0x34b363(0x269)]),!_0x497f4e&&typeof Wa==_0x34b363(0x1bc))try{_0x497f4e=require(_0x34b363(0x269));}catch{}var _0x59c8bb=function(){const _0x53b141=_0x34b363;if(_0x497f4e){if(typeof _0x497f4e[_0x53b141(0x232)]==_0x53b141(0x1bc))try{return _0x497f4e[_0x53b141(0x232)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x497f4e[_0x53b141(0x48e)]==_0x53b141(0x1bc))try{return _0x497f4e['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x53b141(0x238));},_0x2f1b8c=Object['create']||(function(){function _0x489f9c(){}return function(_0x24897e){const _0xe9663f=_0x136c;var _0x571d4a;return _0x489f9c[_0xe9663f(0x16d)]=_0x24897e,_0x571d4a=new _0x489f9c(),_0x489f9c['prototype']=null,_0x571d4a;};}()),_0x5c86e5={},_0x482ff6=_0x5c86e5[_0x34b363(0x1f5)]={},_0x8c5c72=_0x482ff6['Base']=(function(){return{'extend':function(_0x5798a4){const _0x1b75ce=_0x136c;var _0x834a6c=_0x2f1b8c(this);return _0x5798a4&&_0x834a6c[_0x1b75ce(0x185)](_0x5798a4),(!_0x834a6c['hasOwnProperty'](_0x1b75ce(0x10e))||this[_0x1b75ce(0x10e)]===_0x834a6c[_0x1b75ce(0x10e)])&&(_0x834a6c[_0x1b75ce(0x10e)]=function(){const _0x1a4fce=_0x1b75ce;_0x834a6c[_0x1a4fce(0x349)]['init']['apply'](this,arguments);}),_0x834a6c['init'][_0x1b75ce(0x16d)]=_0x834a6c,_0x834a6c[_0x1b75ce(0x349)]=this,_0x834a6c;},'create':function(){const _0x15a955=_0x136c;var _0x229ff3=this[_0x15a955(0x327)]();return _0x229ff3[_0x15a955(0x10e)][_0x15a955(0x50d)](_0x229ff3,arguments),_0x229ff3;},'init':function(){},'mixIn':function(_0x575624){const _0x38d43b=_0x136c;for(var _0x2feb31 in _0x575624)_0x575624[_0x38d43b(0x3ae)](_0x2feb31)&&(this[_0x2feb31]=_0x575624[_0x2feb31]);_0x575624[_0x38d43b(0x3ae)](_0x38d43b(0x492))&&(this[_0x38d43b(0x492)]=_0x575624[_0x38d43b(0x492)]);},'clone':function(){const _0x221c5c=_0x136c;return this[_0x221c5c(0x10e)]['prototype'][_0x221c5c(0x327)](this);}};}()),_0x221ccc=_0x482ff6['WordArray']=_0x8c5c72['extend']({'init':function(_0x240270,_0x4207ba){const _0x11c952=_0x34b363;_0x240270=this[_0x11c952(0x233)]=_0x240270||[],_0x4207ba!=_0x1027fb?this[_0x11c952(0x502)]=_0x4207ba:this['sigBytes']=_0x240270[_0x11c952(0x42c)]*0x4;},'toString':function(_0x31580e){const _0x4c78f9=_0x34b363;return(_0x31580e||_0x50d2a0)[_0x4c78f9(0x387)](this);},'concat':function(_0x5c9e4f){const _0x2ebb32=_0x34b363;var _0x411498=this[_0x2ebb32(0x233)],_0x491f72=_0x5c9e4f['words'],_0x10d77c=this['sigBytes'],_0x4dbed0=_0x5c9e4f['sigBytes'];if(this[_0x2ebb32(0x218)](),_0x10d77c%0x4)for(var _0x50f1e6=0x0;_0x50f1e6<_0x4dbed0;_0x50f1e6++){var _0x217100=_0x491f72[_0x50f1e6>>>0x2]>>>0x18-_0x50f1e6%0x4*0x8&0xff;_0x411498[_0x10d77c+_0x50f1e6>>>0x2]|=_0x217100<<0x18-(_0x10d77c+_0x50f1e6)%0x4*0x8;}else{for(var _0x31c357=0x0;_0x31c357<_0x4dbed0;_0x31c357+=0x4)_0x411498[_0x10d77c+_0x31c357>>>0x2]=_0x491f72[_0x31c357>>>0x2];}return this[_0x2ebb32(0x502)]+=_0x4dbed0,this;},'clamp':function(){const _0x142421=_0x34b363;var _0x3bfe1c=this[_0x142421(0x233)],_0x8fff1b=this['sigBytes'];_0x3bfe1c[_0x8fff1b>>>0x2]&=0xffffffff<<0x20-_0x8fff1b%0x4*0x8,_0x3bfe1c[_0x142421(0x42c)]=_0x340872[_0x142421(0x36f)](_0x8fff1b/0x4);},'clone':function(){const _0x5e3201=_0x34b363;var _0x4ec504=_0x8c5c72[_0x5e3201(0x470)][_0x5e3201(0x3b7)](this);return _0x4ec504[_0x5e3201(0x233)]=this[_0x5e3201(0x233)][_0x5e3201(0x3cb)](0x0),_0x4ec504;},'random':function(_0x3d4fbb){const _0x1479b7=_0x34b363;for(var _0x1e7551=[],_0xe4fecc=0x0;_0xe4fecc<_0x3d4fbb;_0xe4fecc+=0x4)_0x1e7551[_0x1479b7(0x270)](_0x59c8bb());return new _0x221ccc[(_0x1479b7(0x10e))](_0x1e7551,_0x3d4fbb);}}),_0x31694f=_0x5c86e5[_0x34b363(0x343)]={},_0x50d2a0=_0x31694f['Hex']={'stringify':function(_0x34d3b8){const _0x1a073b=_0x34b363;for(var _0x4b7123=_0x34d3b8[_0x1a073b(0x233)],_0x4351a9=_0x34d3b8[_0x1a073b(0x502)],_0x306bca=[],_0x45d2ab=0x0;_0x45d2ab<_0x4351a9;_0x45d2ab++){var _0x13d697=_0x4b7123[_0x45d2ab>>>0x2]>>>0x18-_0x45d2ab%0x4*0x8&0xff;_0x306bca[_0x1a073b(0x270)]((_0x13d697>>>0x4)['toString'](0x10)),_0x306bca[_0x1a073b(0x270)]((_0x13d697&0xf)[_0x1a073b(0x492)](0x10));}return _0x306bca[_0x1a073b(0x1ef)]('');},'parse':function(_0x1b6e21){const _0x5c93d1=_0x34b363;for(var _0x2ec28e=_0x1b6e21[_0x5c93d1(0x42c)],_0x29b71e=[],_0x1dd395=0x0;_0x1dd395<_0x2ec28e;_0x1dd395+=0x2)_0x29b71e[_0x1dd395>>>0x3]|=parseInt(_0x1b6e21[_0x5c93d1(0x4d9)](_0x1dd395,0x2),0x10)<<0x18-_0x1dd395%0x8*0x4;return new _0x221ccc[(_0x5c93d1(0x10e))](_0x29b71e,_0x2ec28e/0x2);}},_0x40c2c8=_0x31694f[_0x34b363(0x2e0)]={'stringify':function(_0x5bca80){const _0x3eae25=_0x34b363;for(var _0x1582ce=_0x5bca80['words'],_0x12959e=_0x5bca80[_0x3eae25(0x502)],_0x21629c=[],_0x504d71=0x0;_0x504d71<_0x12959e;_0x504d71++){var _0x2e1786=_0x1582ce[_0x504d71>>>0x2]>>>0x18-_0x504d71%0x4*0x8&0xff;_0x21629c['push'](String[_0x3eae25(0x130)](_0x2e1786));}return _0x21629c[_0x3eae25(0x1ef)]('');},'parse':function(_0x29346d){const _0x3c1725=_0x34b363;for(var _0x5424a3=_0x29346d[_0x3c1725(0x42c)],_0x45fcdf=[],_0x1a8018=0x0;_0x1a8018<_0x5424a3;_0x1a8018++)_0x45fcdf[_0x1a8018>>>0x2]|=(_0x29346d[_0x3c1725(0x1df)](_0x1a8018)&0xff)<<0x18-_0x1a8018%0x4*0x8;return new _0x221ccc[(_0x3c1725(0x10e))](_0x45fcdf,_0x5424a3);}},_0x5f26b1=_0x31694f['Utf8']={'stringify':function(_0x415dfe){const _0x27a0cb=_0x34b363;try{return decodeURIComponent(escape(_0x40c2c8[_0x27a0cb(0x387)](_0x415dfe)));}catch{throw new Error(_0x27a0cb(0x2dc));}},'parse':function(_0x1da73c){return _0x40c2c8['parse'](unescape(encodeURIComponent(_0x1da73c)));}},_0x4a5fca=_0x482ff6['BufferedBlockAlgorithm']=_0x8c5c72[_0x34b363(0x327)]({'reset':function(){const _0x2b2a40=_0x34b363;this[_0x2b2a40(0x277)]=new _0x221ccc[(_0x2b2a40(0x10e))](),this[_0x2b2a40(0x15e)]=0x0;},'_append':function(_0x2e697d){const _0x167159=_0x34b363;typeof _0x2e697d=='string'&&(_0x2e697d=_0x5f26b1[_0x167159(0x2e9)](_0x2e697d)),this['_data'][_0x167159(0x3b4)](_0x2e697d),this[_0x167159(0x15e)]+=_0x2e697d[_0x167159(0x502)];},'_process':function(_0x5ac58f){const _0x2f44b6=_0x34b363;var _0xe7a8fb,_0x5b4eec=this[_0x2f44b6(0x277)],_0x38a961=_0x5b4eec[_0x2f44b6(0x233)],_0x51cb84=_0x5b4eec['sigBytes'],_0x34ce17=this[_0x2f44b6(0x44d)],_0x4c9c2a=_0x34ce17*0x4,_0x4e1cbe=_0x51cb84/_0x4c9c2a;_0x5ac58f?_0x4e1cbe=_0x340872[_0x2f44b6(0x36f)](_0x4e1cbe):_0x4e1cbe=_0x340872[_0x2f44b6(0x2d9)]((_0x4e1cbe|0x0)-this[_0x2f44b6(0x200)],0x0);var _0x4e2296=_0x4e1cbe*_0x34ce17,_0x5a0c0c=_0x340872[_0x2f44b6(0x256)](_0x4e2296*0x4,_0x51cb84);if(_0x4e2296){for(var _0xe23486=0x0;_0xe23486<_0x4e2296;_0xe23486+=_0x34ce17)this['_doProcessBlock'](_0x38a961,_0xe23486);_0xe7a8fb=_0x38a961[_0x2f44b6(0x1a0)](0x0,_0x4e2296),_0x5b4eec[_0x2f44b6(0x502)]-=_0x5a0c0c;}return new _0x221ccc['init'](_0xe7a8fb,_0x5a0c0c);},'clone':function(){const _0x22dfbc=_0x34b363;var _0x22751b=_0x8c5c72[_0x22dfbc(0x470)][_0x22dfbc(0x3b7)](this);return _0x22751b[_0x22dfbc(0x277)]=this['_data'][_0x22dfbc(0x470)](),_0x22751b;},'_minBufferSize':0x0});_0x482ff6[_0x34b363(0x1fa)]=_0x4a5fca['extend']({'cfg':_0x8c5c72[_0x34b363(0x327)](),'init':function(_0x40e8a4){const _0x19d14e=_0x34b363;this[_0x19d14e(0x25b)]=this[_0x19d14e(0x25b)]['extend'](_0x40e8a4),this['reset']();},'reset':function(){const _0x493914=_0x34b363;_0x4a5fca[_0x493914(0x433)][_0x493914(0x3b7)](this),this[_0x493914(0x2b0)]();},'update':function(_0x1962fa){const _0x358c60=_0x34b363;return this['_append'](_0x1962fa),this[_0x358c60(0x38a)](),this;},'finalize':function(_0x50df86){const _0x4834c3=_0x34b363;_0x50df86&&this['_append'](_0x50df86);var _0xdccda0=this[_0x4834c3(0x1e8)]();return _0xdccda0;},'blockSize':0x10,'_createHelper':function(_0x4dc584){return function(_0xcc1fdb,_0x59b6a1){const _0x15897b=_0x136c;return new _0x4dc584[(_0x15897b(0x10e))](_0x59b6a1)[_0x15897b(0x22d)](_0xcc1fdb);};},'_createHmacHelper':function(_0x538285){return function(_0x8638c0,_0x4e1947){const _0x1a7228=_0x136c;return new _0x2b2334[(_0x1a7228(0x222))][(_0x1a7228(0x10e))](_0x538285,_0x4e1947)[_0x1a7228(0x22d)](_0x8638c0);};}});var _0x2b2334=_0x5c86e5[_0x34b363(0x1b2)]={};return _0x5c86e5;}(Math);return _0x409769;}));}(Ft)),Ft[_0x232aca(0x4bf)];}var Vt={'exports':{}},Js;function Wi(){return Js||(Js=0x1,function(_0x1cfed1,_0xa656a3){(function(_0x32d02d,_0x36ec76){_0x1cfed1['exports']=_0x36ec76(ue());}(Z,function(_0x312fc6){const _0x5bffff=_0x136c;return(function(){const _0x4e37ec=_0x136c;var _0x32b643=_0x312fc6,_0xf08d05=_0x32b643[_0x4e37ec(0x1f5)],_0x4f8c60=_0xf08d05[_0x4e37ec(0x290)],_0x20ed88=_0x32b643[_0x4e37ec(0x343)];_0x20ed88[_0x4e37ec(0x1f4)]={'stringify':function(_0x2fedc1){const _0x1a917f=_0x4e37ec;var _0x384863=_0x2fedc1[_0x1a917f(0x233)],_0x1abada=_0x2fedc1[_0x1a917f(0x502)],_0x75de3=this[_0x1a917f(0x264)];_0x2fedc1[_0x1a917f(0x218)]();for(var _0x49023c=[],_0x4af49e=0x0;_0x4af49e<_0x1abada;_0x4af49e+=0x3)for(var _0x191948=_0x384863[_0x4af49e>>>0x2]>>>0x18-_0x4af49e%0x4*0x8&0xff,_0x412be3=_0x384863[_0x4af49e+0x1>>>0x2]>>>0x18-(_0x4af49e+0x1)%0x4*0x8&0xff,_0x4f206f=_0x384863[_0x4af49e+0x2>>>0x2]>>>0x18-(_0x4af49e+0x2)%0x4*0x8&0xff,_0x2ce99e=_0x191948<<0x10|_0x412be3<<0x8|_0x4f206f,_0x5c7148=0x0;_0x5c7148<0x4&&_0x4af49e+_0x5c7148*0.75<_0x1abada;_0x5c7148++)_0x49023c[_0x1a917f(0x270)](_0x75de3[_0x1a917f(0x1fc)](_0x2ce99e>>>0x6*(0x3-_0x5c7148)&0x3f));var _0x1d2393=_0x75de3[_0x1a917f(0x1fc)](0x40);if(_0x1d2393){for(;_0x49023c['length']%0x4;)_0x49023c[_0x1a917f(0x270)](_0x1d2393);}return _0x49023c[_0x1a917f(0x1ef)]('');},'parse':function(_0x1135ec){const _0x26c914=_0x4e37ec;var _0x5cca10=_0x1135ec['length'],_0x22dfe5=this[_0x26c914(0x264)],_0x2d3a81=this['_reverseMap'];if(!_0x2d3a81){_0x2d3a81=this[_0x26c914(0x4df)]=[];for(var _0xfe796e=0x0;_0xfe796e<_0x22dfe5[_0x26c914(0x42c)];_0xfe796e++)_0x2d3a81[_0x22dfe5[_0x26c914(0x1df)](_0xfe796e)]=_0xfe796e;}var _0x192b33=_0x22dfe5['charAt'](0x40);if(_0x192b33){var _0x1a7bbb=_0x1135ec[_0x26c914(0x1eb)](_0x192b33);_0x1a7bbb!==-0x1&&(_0x5cca10=_0x1a7bbb);}return _0x3874f5(_0x1135ec,_0x5cca10,_0x2d3a81);},'_map':_0x4e37ec(0x239)};function _0x3874f5(_0x751371,_0x536879,_0x31645a){const _0x564347=_0x4e37ec;for(var _0x115631=[],_0x46a038=0x0,_0x1314f8=0x0;_0x1314f8<_0x536879;_0x1314f8++)if(_0x1314f8%0x4){var _0x22eb57=_0x31645a[_0x751371['charCodeAt'](_0x1314f8-0x1)]<<_0x1314f8%0x4*0x2,_0x35a09f=_0x31645a[_0x751371[_0x564347(0x1df)](_0x1314f8)]>>>0x6-_0x1314f8%0x4*0x2,_0x18fcea=_0x22eb57|_0x35a09f;_0x115631[_0x46a038>>>0x2]|=_0x18fcea<<0x18-_0x46a038%0x4*0x8,_0x46a038++;}return _0x4f8c60[_0x564347(0x373)](_0x115631,_0x46a038);}}()),_0x312fc6[_0x5bffff(0x343)][_0x5bffff(0x1f4)];}));}(Vt)),Vt['exports'];}var Gt={'exports':{}},Zs;function Fa(){const _0x2377d8=_0xf37888;return Zs||(Zs=0x1,function(_0x22f671,_0x23e447){(function(_0xbc78a8,_0x5947b0){_0x22f671['exports']=_0x5947b0(ue());}(Z,function(_0x498788){const _0x2b2fb2=_0x136c;return function(_0x21f90c){const _0x5e1f76=_0x136c;var _0x236941=_0x498788,_0x1dd523=_0x236941[_0x5e1f76(0x1f5)],_0x5b6625=_0x1dd523[_0x5e1f76(0x290)],_0x410951=_0x1dd523['Hasher'],_0x4a0e9e=_0x236941[_0x5e1f76(0x1b2)],_0x3a6318=[];(function(){const _0x53f38d=_0x5e1f76;for(var _0x44cd5b=0x0;_0x44cd5b<0x40;_0x44cd5b++)_0x3a6318[_0x44cd5b]=_0x21f90c[_0x53f38d(0x319)](_0x21f90c[_0x53f38d(0x4c0)](_0x44cd5b+0x1))*0x100000000|0x0;}());var _0xa0b7fd=_0x4a0e9e['MD5']=_0x410951[_0x5e1f76(0x327)]({'_doReset':function(){const _0x4e4e27=_0x5e1f76;this[_0x4e4e27(0x3d6)]=new _0x5b6625[(_0x4e4e27(0x10e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2ba2bb,_0x5876d4){const _0x4e16e1=_0x5e1f76;for(var _0x2eda31=0x0;_0x2eda31<0x10;_0x2eda31++){var _0x4fc04e=_0x5876d4+_0x2eda31,_0x870d3c=_0x2ba2bb[_0x4fc04e];_0x2ba2bb[_0x4fc04e]=(_0x870d3c<<0x8|_0x870d3c>>>0x18)&0xff00ff|(_0x870d3c<<0x18|_0x870d3c>>>0x8)&0xff00ff00;}var _0x5d6cfc=this[_0x4e16e1(0x3d6)][_0x4e16e1(0x233)],_0x4f8239=_0x2ba2bb[_0x5876d4+0x0],_0xa2530b=_0x2ba2bb[_0x5876d4+0x1],_0x10a705=_0x2ba2bb[_0x5876d4+0x2],_0x24a1b7=_0x2ba2bb[_0x5876d4+0x3],_0x82be4f=_0x2ba2bb[_0x5876d4+0x4],_0x250b31=_0x2ba2bb[_0x5876d4+0x5],_0x446a7c=_0x2ba2bb[_0x5876d4+0x6],_0x4fa67b=_0x2ba2bb[_0x5876d4+0x7],_0x30cc5e=_0x2ba2bb[_0x5876d4+0x8],_0x44c8a4=_0x2ba2bb[_0x5876d4+0x9],_0xd05d06=_0x2ba2bb[_0x5876d4+0xa],_0x31340d=_0x2ba2bb[_0x5876d4+0xb],_0x541ebe=_0x2ba2bb[_0x5876d4+0xc],_0x18635e=_0x2ba2bb[_0x5876d4+0xd],_0x52573d=_0x2ba2bb[_0x5876d4+0xe],_0x52b5d6=_0x2ba2bb[_0x5876d4+0xf],_0x38f6c9=_0x5d6cfc[0x0],_0x494d75=_0x5d6cfc[0x1],_0x48bfef=_0x5d6cfc[0x2],_0x107b54=_0x5d6cfc[0x3];_0x38f6c9=_0x4722b8(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x4f8239,0x7,_0x3a6318[0x0]),_0x107b54=_0x4722b8(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0xa2530b,0xc,_0x3a6318[0x1]),_0x48bfef=_0x4722b8(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x10a705,0x11,_0x3a6318[0x2]),_0x494d75=_0x4722b8(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x24a1b7,0x16,_0x3a6318[0x3]),_0x38f6c9=_0x4722b8(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x82be4f,0x7,_0x3a6318[0x4]),_0x107b54=_0x4722b8(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x250b31,0xc,_0x3a6318[0x5]),_0x48bfef=_0x4722b8(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x446a7c,0x11,_0x3a6318[0x6]),_0x494d75=_0x4722b8(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x4fa67b,0x16,_0x3a6318[0x7]),_0x38f6c9=_0x4722b8(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x30cc5e,0x7,_0x3a6318[0x8]),_0x107b54=_0x4722b8(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x44c8a4,0xc,_0x3a6318[0x9]),_0x48bfef=_0x4722b8(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0xd05d06,0x11,_0x3a6318[0xa]),_0x494d75=_0x4722b8(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x31340d,0x16,_0x3a6318[0xb]),_0x38f6c9=_0x4722b8(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x541ebe,0x7,_0x3a6318[0xc]),_0x107b54=_0x4722b8(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x18635e,0xc,_0x3a6318[0xd]),_0x48bfef=_0x4722b8(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x52573d,0x11,_0x3a6318[0xe]),_0x494d75=_0x4722b8(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x52b5d6,0x16,_0x3a6318[0xf]),_0x38f6c9=_0x3191c3(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0xa2530b,0x5,_0x3a6318[0x10]),_0x107b54=_0x3191c3(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x446a7c,0x9,_0x3a6318[0x11]),_0x48bfef=_0x3191c3(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x31340d,0xe,_0x3a6318[0x12]),_0x494d75=_0x3191c3(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x4f8239,0x14,_0x3a6318[0x13]),_0x38f6c9=_0x3191c3(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x250b31,0x5,_0x3a6318[0x14]),_0x107b54=_0x3191c3(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0xd05d06,0x9,_0x3a6318[0x15]),_0x48bfef=_0x3191c3(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x52b5d6,0xe,_0x3a6318[0x16]),_0x494d75=_0x3191c3(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x82be4f,0x14,_0x3a6318[0x17]),_0x38f6c9=_0x3191c3(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x44c8a4,0x5,_0x3a6318[0x18]),_0x107b54=_0x3191c3(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x52573d,0x9,_0x3a6318[0x19]),_0x48bfef=_0x3191c3(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x24a1b7,0xe,_0x3a6318[0x1a]),_0x494d75=_0x3191c3(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x30cc5e,0x14,_0x3a6318[0x1b]),_0x38f6c9=_0x3191c3(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x18635e,0x5,_0x3a6318[0x1c]),_0x107b54=_0x3191c3(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x10a705,0x9,_0x3a6318[0x1d]),_0x48bfef=_0x3191c3(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x4fa67b,0xe,_0x3a6318[0x1e]),_0x494d75=_0x3191c3(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x541ebe,0x14,_0x3a6318[0x1f]),_0x38f6c9=_0x245b4f(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x250b31,0x4,_0x3a6318[0x20]),_0x107b54=_0x245b4f(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x30cc5e,0xb,_0x3a6318[0x21]),_0x48bfef=_0x245b4f(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x31340d,0x10,_0x3a6318[0x22]),_0x494d75=_0x245b4f(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x52573d,0x17,_0x3a6318[0x23]),_0x38f6c9=_0x245b4f(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0xa2530b,0x4,_0x3a6318[0x24]),_0x107b54=_0x245b4f(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x82be4f,0xb,_0x3a6318[0x25]),_0x48bfef=_0x245b4f(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x4fa67b,0x10,_0x3a6318[0x26]),_0x494d75=_0x245b4f(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0xd05d06,0x17,_0x3a6318[0x27]),_0x38f6c9=_0x245b4f(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x18635e,0x4,_0x3a6318[0x28]),_0x107b54=_0x245b4f(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x4f8239,0xb,_0x3a6318[0x29]),_0x48bfef=_0x245b4f(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x24a1b7,0x10,_0x3a6318[0x2a]),_0x494d75=_0x245b4f(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x446a7c,0x17,_0x3a6318[0x2b]),_0x38f6c9=_0x245b4f(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x44c8a4,0x4,_0x3a6318[0x2c]),_0x107b54=_0x245b4f(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x541ebe,0xb,_0x3a6318[0x2d]),_0x48bfef=_0x245b4f(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x52b5d6,0x10,_0x3a6318[0x2e]),_0x494d75=_0x245b4f(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x10a705,0x17,_0x3a6318[0x2f]),_0x38f6c9=_0x131fc2(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x4f8239,0x6,_0x3a6318[0x30]),_0x107b54=_0x131fc2(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x4fa67b,0xa,_0x3a6318[0x31]),_0x48bfef=_0x131fc2(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x52573d,0xf,_0x3a6318[0x32]),_0x494d75=_0x131fc2(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x250b31,0x15,_0x3a6318[0x33]),_0x38f6c9=_0x131fc2(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x541ebe,0x6,_0x3a6318[0x34]),_0x107b54=_0x131fc2(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x24a1b7,0xa,_0x3a6318[0x35]),_0x48bfef=_0x131fc2(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0xd05d06,0xf,_0x3a6318[0x36]),_0x494d75=_0x131fc2(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0xa2530b,0x15,_0x3a6318[0x37]),_0x38f6c9=_0x131fc2(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x30cc5e,0x6,_0x3a6318[0x38]),_0x107b54=_0x131fc2(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x52b5d6,0xa,_0x3a6318[0x39]),_0x48bfef=_0x131fc2(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x446a7c,0xf,_0x3a6318[0x3a]),_0x494d75=_0x131fc2(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x18635e,0x15,_0x3a6318[0x3b]),_0x38f6c9=_0x131fc2(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x82be4f,0x6,_0x3a6318[0x3c]),_0x107b54=_0x131fc2(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x31340d,0xa,_0x3a6318[0x3d]),_0x48bfef=_0x131fc2(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x10a705,0xf,_0x3a6318[0x3e]),_0x494d75=_0x131fc2(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x44c8a4,0x15,_0x3a6318[0x3f]),_0x5d6cfc[0x0]=_0x5d6cfc[0x0]+_0x38f6c9|0x0,_0x5d6cfc[0x1]=_0x5d6cfc[0x1]+_0x494d75|0x0,_0x5d6cfc[0x2]=_0x5d6cfc[0x2]+_0x48bfef|0x0,_0x5d6cfc[0x3]=_0x5d6cfc[0x3]+_0x107b54|0x0;},'_doFinalize':function(){const _0x533d57=_0x5e1f76;var _0x351d73=this[_0x533d57(0x277)],_0x41fd93=_0x351d73[_0x533d57(0x233)],_0xf3dbf5=this[_0x533d57(0x15e)]*0x8,_0x242e80=_0x351d73['sigBytes']*0x8;_0x41fd93[_0x242e80>>>0x5]|=0x80<<0x18-_0x242e80%0x20;var _0x5c0e7d=_0x21f90c['floor'](_0xf3dbf5/0x100000000),_0x2290f8=_0xf3dbf5;_0x41fd93[(_0x242e80+0x40>>>0x9<<0x4)+0xf]=(_0x5c0e7d<<0x8|_0x5c0e7d>>>0x18)&0xff00ff|(_0x5c0e7d<<0x18|_0x5c0e7d>>>0x8)&0xff00ff00,_0x41fd93[(_0x242e80+0x40>>>0x9<<0x4)+0xe]=(_0x2290f8<<0x8|_0x2290f8>>>0x18)&0xff00ff|(_0x2290f8<<0x18|_0x2290f8>>>0x8)&0xff00ff00,_0x351d73[_0x533d57(0x502)]=(_0x41fd93['length']+0x1)*0x4,this[_0x533d57(0x38a)]();for(var _0x4a8385=this['_hash'],_0x2bf259=_0x4a8385['words'],_0x408fdc=0x0;_0x408fdc<0x4;_0x408fdc++){var _0x2f6687=_0x2bf259[_0x408fdc];_0x2bf259[_0x408fdc]=(_0x2f6687<<0x8|_0x2f6687>>>0x18)&0xff00ff|(_0x2f6687<<0x18|_0x2f6687>>>0x8)&0xff00ff00;}return _0x4a8385;},'clone':function(){const _0x3b9173=_0x5e1f76;var _0x57187b=_0x410951[_0x3b9173(0x470)][_0x3b9173(0x3b7)](this);return _0x57187b[_0x3b9173(0x3d6)]=this['_hash'][_0x3b9173(0x470)](),_0x57187b;}});function _0x4722b8(_0x4a09c2,_0x5c5552,_0xf5b337,_0xb7b97c,_0x31abc1,_0x38d342,_0x170c29){var _0x23c2d2=_0x4a09c2+(_0x5c5552&_0xf5b337|~_0x5c5552&_0xb7b97c)+_0x31abc1+_0x170c29;return(_0x23c2d2<<_0x38d342|_0x23c2d2>>>0x20-_0x38d342)+_0x5c5552;}function _0x3191c3(_0x23812a,_0x4d1337,_0xe97c4b,_0x30f11a,_0x4cdf9f,_0x38d6e6,_0x59a032){var _0xb0d02a=_0x23812a+(_0x4d1337&_0x30f11a|_0xe97c4b&~_0x30f11a)+_0x4cdf9f+_0x59a032;return(_0xb0d02a<<_0x38d6e6|_0xb0d02a>>>0x20-_0x38d6e6)+_0x4d1337;}function _0x245b4f(_0x299ed0,_0x23ed4f,_0x535bf2,_0x1627dd,_0x2e80ec,_0x5a9c58,_0x2ddb79){var _0x2bccd7=_0x299ed0+(_0x23ed4f^_0x535bf2^_0x1627dd)+_0x2e80ec+_0x2ddb79;return(_0x2bccd7<<_0x5a9c58|_0x2bccd7>>>0x20-_0x5a9c58)+_0x23ed4f;}function _0x131fc2(_0x16b46b,_0x56bd65,_0xf0ff18,_0xac921e,_0x2c001e,_0xe3d147,_0x5be4a1){var _0x3a5f1e=_0x16b46b+(_0xf0ff18^(_0x56bd65|~_0xac921e))+_0x2c001e+_0x5be4a1;return(_0x3a5f1e<<_0xe3d147|_0x3a5f1e>>>0x20-_0xe3d147)+_0x56bd65;}_0x236941[_0x5e1f76(0x358)]=_0x410951['_createHelper'](_0xa0b7fd),_0x236941[_0x5e1f76(0x3a4)]=_0x410951[_0x5e1f76(0x45a)](_0xa0b7fd);}(Math),_0x498788[_0x2b2fb2(0x358)];}));}(Gt)),Gt[_0x2377d8(0x4bf)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function Va(){const _0x3903f4=_0xf37888;return Qs||(Qs=0x1,function(_0x16db25,_0x5cdb7a){(function(_0x3e5b50,_0x40df8c){const _0xe4f58a=_0x136c;_0x16db25[_0xe4f58a(0x4bf)]=_0x40df8c(ue());}(Z,function(_0x16d70d){const _0x2c2002=_0x136c;return(function(){const _0x5c8084=_0x136c;var _0x5a4309=_0x16d70d,_0x5452de=_0x5a4309[_0x5c8084(0x1f5)],_0x17384b=_0x5452de[_0x5c8084(0x290)],_0x3813d6=_0x5452de[_0x5c8084(0x1fa)],_0x4de8d4=_0x5a4309[_0x5c8084(0x1b2)],_0x294101=[],_0x57d048=_0x4de8d4['SHA1']=_0x3813d6[_0x5c8084(0x327)]({'_doReset':function(){const _0x3d68a2=_0x5c8084;this['_hash']=new _0x17384b[(_0x3d68a2(0x10e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4458cb,_0x1a92b4){const _0xd3efa5=_0x5c8084;for(var _0x417cfd=this[_0xd3efa5(0x3d6)][_0xd3efa5(0x233)],_0xa77a37=_0x417cfd[0x0],_0x24cf12=_0x417cfd[0x1],_0x55473a=_0x417cfd[0x2],_0x2bcc5f=_0x417cfd[0x3],_0x5ec70b=_0x417cfd[0x4],_0x1f42a4=0x0;_0x1f42a4<0x50;_0x1f42a4++){if(_0x1f42a4<0x10)_0x294101[_0x1f42a4]=_0x4458cb[_0x1a92b4+_0x1f42a4]|0x0;else{var _0x323662=_0x294101[_0x1f42a4-0x3]^_0x294101[_0x1f42a4-0x8]^_0x294101[_0x1f42a4-0xe]^_0x294101[_0x1f42a4-0x10];_0x294101[_0x1f42a4]=_0x323662<<0x1|_0x323662>>>0x1f;}var _0xb7e11b=(_0xa77a37<<0x5|_0xa77a37>>>0x1b)+_0x5ec70b+_0x294101[_0x1f42a4];_0x1f42a4<0x14?_0xb7e11b+=(_0x24cf12&_0x55473a|~_0x24cf12&_0x2bcc5f)+0x5a827999:_0x1f42a4<0x28?_0xb7e11b+=(_0x24cf12^_0x55473a^_0x2bcc5f)+0x6ed9eba1:_0x1f42a4<0x3c?_0xb7e11b+=(_0x24cf12&_0x55473a|_0x24cf12&_0x2bcc5f|_0x55473a&_0x2bcc5f)-0x70e44324:_0xb7e11b+=(_0x24cf12^_0x55473a^_0x2bcc5f)-0x359d3e2a,_0x5ec70b=_0x2bcc5f,_0x2bcc5f=_0x55473a,_0x55473a=_0x24cf12<<0x1e|_0x24cf12>>>0x2,_0x24cf12=_0xa77a37,_0xa77a37=_0xb7e11b;}_0x417cfd[0x0]=_0x417cfd[0x0]+_0xa77a37|0x0,_0x417cfd[0x1]=_0x417cfd[0x1]+_0x24cf12|0x0,_0x417cfd[0x2]=_0x417cfd[0x2]+_0x55473a|0x0,_0x417cfd[0x3]=_0x417cfd[0x3]+_0x2bcc5f|0x0,_0x417cfd[0x4]=_0x417cfd[0x4]+_0x5ec70b|0x0;},'_doFinalize':function(){const _0x549a30=_0x5c8084;var _0x4f100d=this['_data'],_0x11e037=_0x4f100d[_0x549a30(0x233)],_0x117f10=this[_0x549a30(0x15e)]*0x8,_0xad8180=_0x4f100d[_0x549a30(0x502)]*0x8;return _0x11e037[_0xad8180>>>0x5]|=0x80<<0x18-_0xad8180%0x20,_0x11e037[(_0xad8180+0x40>>>0x9<<0x4)+0xe]=Math[_0x549a30(0x122)](_0x117f10/0x100000000),_0x11e037[(_0xad8180+0x40>>>0x9<<0x4)+0xf]=_0x117f10,_0x4f100d[_0x549a30(0x502)]=_0x11e037['length']*0x4,this[_0x549a30(0x38a)](),this['_hash'];},'clone':function(){const _0x272226=_0x5c8084;var _0x8e3398=_0x3813d6['clone'][_0x272226(0x3b7)](this);return _0x8e3398[_0x272226(0x3d6)]=this[_0x272226(0x3d6)][_0x272226(0x470)](),_0x8e3398;}});_0x5a4309[_0x5c8084(0x187)]=_0x3813d6[_0x5c8084(0x2eb)](_0x57d048),_0x5a4309[_0x5c8084(0x3f2)]=_0x3813d6['_createHmacHelper'](_0x57d048);}()),_0x16d70d[_0x2c2002(0x187)];}));}(Kt)),Kt[_0x3903f4(0x4bf)];}var zt={'exports':{}},ei;function Ga(){const _0x482ca6=_0xf37888;return ei||(ei=0x1,function(_0x4e3608,_0x2c7101){(function(_0x538371,_0x588911){_0x4e3608['exports']=_0x588911(ue());}(Z,function(_0x276388){(function(){const _0x4e67b1=_0x136c;var _0x25589e=_0x276388,_0x1e34ed=_0x25589e[_0x4e67b1(0x1f5)],_0x1a4d19=_0x1e34ed['Base'],_0xf3fd96=_0x25589e[_0x4e67b1(0x343)],_0x5ec71e=_0xf3fd96[_0x4e67b1(0x4dc)],_0x3007cb=_0x25589e[_0x4e67b1(0x1b2)];_0x3007cb[_0x4e67b1(0x222)]=_0x1a4d19['extend']({'init':function(_0x2b17d9,_0x1a046e){const _0x13f010=_0x4e67b1;_0x2b17d9=this[_0x13f010(0x337)]=new _0x2b17d9[(_0x13f010(0x10e))](),typeof _0x1a046e=='string'&&(_0x1a046e=_0x5ec71e[_0x13f010(0x2e9)](_0x1a046e));var _0x17c7c8=_0x2b17d9[_0x13f010(0x44d)],_0x3856dc=_0x17c7c8*0x4;_0x1a046e['sigBytes']>_0x3856dc&&(_0x1a046e=_0x2b17d9['finalize'](_0x1a046e)),_0x1a046e[_0x13f010(0x218)]();for(var _0x5b7a38=this[_0x13f010(0x33d)]=_0x1a046e[_0x13f010(0x470)](),_0xcff1dd=this[_0x13f010(0x499)]=_0x1a046e[_0x13f010(0x470)](),_0x3d7ee2=_0x5b7a38['words'],_0x5965d5=_0xcff1dd[_0x13f010(0x233)],_0x175031=0x0;_0x175031<_0x17c7c8;_0x175031++)_0x3d7ee2[_0x175031]^=0x5c5c5c5c,_0x5965d5[_0x175031]^=0x36363636;_0x5b7a38[_0x13f010(0x502)]=_0xcff1dd['sigBytes']=_0x3856dc,this[_0x13f010(0x433)]();},'reset':function(){const _0x5475dd=_0x4e67b1;var _0x48abef=this[_0x5475dd(0x337)];_0x48abef[_0x5475dd(0x433)](),_0x48abef['update'](this[_0x5475dd(0x499)]);},'update':function(_0x3b39fa){const _0x24f38=_0x4e67b1;return this[_0x24f38(0x337)][_0x24f38(0x469)](_0x3b39fa),this;},'finalize':function(_0x363b5a){const _0x53f932=_0x4e67b1;var _0x45c85c=this[_0x53f932(0x337)],_0x564670=_0x45c85c[_0x53f932(0x22d)](_0x363b5a);_0x45c85c[_0x53f932(0x433)]();var _0x3862a6=_0x45c85c['finalize'](this[_0x53f932(0x33d)][_0x53f932(0x470)]()[_0x53f932(0x3b4)](_0x564670));return _0x3862a6;}});}());}));}(zt)),zt[_0x482ca6(0x4bf)];}var ti;function Fi(){const _0x44a461=_0xf37888;return ti||(ti=0x1,function(_0x3c0db1,_0xea068d){(function(_0x23ddf1,_0x8ab39b,_0x5e8561){const _0x4c5a4c=_0x136c;_0x3c0db1[_0x4c5a4c(0x4bf)]=_0x8ab39b(ue(),Va(),Ga());}(Z,function(_0x54b175){const _0x2f0a33=_0x136c;return(function(){const _0x1e2bac=_0x136c;var _0x510a64=_0x54b175,_0x585d3b=_0x510a64[_0x1e2bac(0x1f5)],_0x304a2b=_0x585d3b[_0x1e2bac(0x403)],_0xec0689=_0x585d3b['WordArray'],_0x2e672d=_0x510a64[_0x1e2bac(0x1b2)],_0x5f5628=_0x2e672d[_0x1e2bac(0x358)],_0x62f4bf=_0x2e672d['EvpKDF']=_0x304a2b[_0x1e2bac(0x327)]({'cfg':_0x304a2b[_0x1e2bac(0x327)]({'keySize':0x80/0x20,'hasher':_0x5f5628,'iterations':0x1}),'init':function(_0x44da24){const _0x22cf39=_0x1e2bac;this[_0x22cf39(0x25b)]=this[_0x22cf39(0x25b)][_0x22cf39(0x327)](_0x44da24);},'compute':function(_0x363c2e,_0x94755){const _0x152d88=_0x1e2bac;for(var _0x3a3852,_0x106916=this[_0x152d88(0x25b)],_0x2fc410=_0x106916[_0x152d88(0x31d)][_0x152d88(0x373)](),_0xacdb2a=_0xec0689[_0x152d88(0x373)](),_0x48a4e2=_0xacdb2a['words'],_0x12d775=_0x106916[_0x152d88(0x11e)],_0x41051c=_0x106916[_0x152d88(0x13d)];_0x48a4e2[_0x152d88(0x42c)]<_0x12d775;){_0x3a3852&&_0x2fc410[_0x152d88(0x469)](_0x3a3852),_0x3a3852=_0x2fc410['update'](_0x363c2e)['finalize'](_0x94755),_0x2fc410['reset']();for(var _0x505109=0x1;_0x505109<_0x41051c;_0x505109++)_0x3a3852=_0x2fc410['finalize'](_0x3a3852),_0x2fc410[_0x152d88(0x433)]();_0xacdb2a['concat'](_0x3a3852);}return _0xacdb2a[_0x152d88(0x502)]=_0x12d775*0x4,_0xacdb2a;}});_0x510a64[_0x1e2bac(0x457)]=function(_0x444105,_0x2c01de,_0x19c38f){const _0x4a46b2=_0x1e2bac;return _0x62f4bf[_0x4a46b2(0x373)](_0x19c38f)['compute'](_0x444105,_0x2c01de);};}()),_0x54b175[_0x2f0a33(0x457)];}));}(Yt)),Yt[_0x44a461(0x4bf)];}var qt={'exports':{}},si;function Vi(){const _0x4fee42=_0xf37888;return si||(si=0x1,function(_0x1962b0,_0x2bcaad){(function(_0xa06285,_0x4c7189,_0x53be77){const _0x10ebc0=_0x136c;_0x1962b0[_0x10ebc0(0x4bf)]=_0x4c7189(ue(),Fi());}(Z,function(_0x231d58){const _0x4abbe3=_0x136c;_0x231d58[_0x4abbe3(0x1f5)][_0x4abbe3(0x177)]||function(_0x571ab8){const _0x3665ce=_0x4abbe3;var _0x472028=_0x231d58,_0x43517b=_0x472028[_0x3665ce(0x1f5)],_0x3f99d3=_0x43517b[_0x3665ce(0x403)],_0x20a2a6=_0x43517b[_0x3665ce(0x290)],_0x257e07=_0x43517b['BufferedBlockAlgorithm'],_0x38da92=_0x472028[_0x3665ce(0x343)];_0x38da92[_0x3665ce(0x4dc)];var _0x3ac6ef=_0x38da92['Base64'],_0xf202e9=_0x472028[_0x3665ce(0x1b2)],_0x368a0b=_0xf202e9[_0x3665ce(0x457)],_0x50f1f1=_0x43517b[_0x3665ce(0x177)]=_0x257e07[_0x3665ce(0x327)]({'cfg':_0x3f99d3[_0x3665ce(0x327)](),'createEncryptor':function(_0x185b60,_0x497fc9){const _0x5543d7=_0x3665ce;return this[_0x5543d7(0x373)](this[_0x5543d7(0x3af)],_0x185b60,_0x497fc9);},'createDecryptor':function(_0x334129,_0x6cd0fe){const _0x177181=_0x3665ce;return this[_0x177181(0x373)](this['_DEC_XFORM_MODE'],_0x334129,_0x6cd0fe);},'init':function(_0x470665,_0x5ce798,_0x14b3c6){const _0x572dd3=_0x3665ce;this[_0x572dd3(0x25b)]=this[_0x572dd3(0x25b)]['extend'](_0x14b3c6),this['_xformMode']=_0x470665,this[_0x572dd3(0x124)]=_0x5ce798,this[_0x572dd3(0x433)]();},'reset':function(){const _0x5482ae=_0x3665ce;_0x257e07[_0x5482ae(0x433)]['call'](this),this[_0x5482ae(0x2b0)]();},'process':function(_0x2ebc1e){const _0x2dc107=_0x3665ce;return this[_0x2dc107(0x158)](_0x2ebc1e),this['_process']();},'finalize':function(_0x29245e){const _0x846bee=_0x3665ce;_0x29245e&&this[_0x846bee(0x158)](_0x29245e);var _0x1e8b72=this[_0x846bee(0x1e8)]();return _0x1e8b72;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x34914e(_0x309cb0){const _0x1bcd9d=_0x136c;return typeof _0x309cb0==_0x1bcd9d(0x384)?_0x321dca:_0x1590d4;}return function(_0x4a8f49){return{'encrypt':function(_0x17312b,_0x40c878,_0x50c84b){return _0x34914e(_0x40c878)['encrypt'](_0x4a8f49,_0x17312b,_0x40c878,_0x50c84b);},'decrypt':function(_0x355e33,_0x4f3f27,_0x112904){const _0x37c72d=_0x136c;return _0x34914e(_0x4f3f27)[_0x37c72d(0x2fe)](_0x4a8f49,_0x355e33,_0x4f3f27,_0x112904);}};};}())});_0x43517b[_0x3665ce(0x16a)]=_0x50f1f1['extend']({'_doFinalize':function(){const _0x511de8=_0x3665ce;var _0x17f938=this[_0x511de8(0x38a)](!0x0);return _0x17f938;},'blockSize':0x1});var _0x48aca5=_0x472028[_0x3665ce(0x301)]={},_0x4263ae=_0x43517b[_0x3665ce(0x354)]=_0x3f99d3['extend']({'createEncryptor':function(_0x4b6309,_0x1a80a5){const _0xf98439=_0x3665ce;return this['Encryptor'][_0xf98439(0x373)](_0x4b6309,_0x1a80a5);},'createDecryptor':function(_0x2dffc8,_0x3be7ee){const _0x1ddb26=_0x3665ce;return this[_0x1ddb26(0x3e1)][_0x1ddb26(0x373)](_0x2dffc8,_0x3be7ee);},'init':function(_0x11dfa7,_0x7ed1fc){const _0x46b55a=_0x3665ce;this[_0x46b55a(0x3ed)]=_0x11dfa7,this[_0x46b55a(0x3fe)]=_0x7ed1fc;}}),_0x5e0b56=_0x48aca5[_0x3665ce(0x3eb)]=(function(){const _0x28f937=_0x3665ce;var _0x4e23a8=_0x4263ae['extend']();_0x4e23a8[_0x28f937(0x1b6)]=_0x4e23a8[_0x28f937(0x327)]({'processBlock':function(_0x558309,_0x363626){const _0x3fff19=_0x28f937;var _0xdc6c5=this['_cipher'],_0x2d16aa=_0xdc6c5['blockSize'];_0x2cfad0[_0x3fff19(0x3b7)](this,_0x558309,_0x363626,_0x2d16aa),_0xdc6c5['encryptBlock'](_0x558309,_0x363626),this['_prevBlock']=_0x558309[_0x3fff19(0x3cb)](_0x363626,_0x363626+_0x2d16aa);}}),_0x4e23a8[_0x28f937(0x3e1)]=_0x4e23a8[_0x28f937(0x327)]({'processBlock':function(_0x2f6e2f,_0x4d0191){const _0x1cc660=_0x28f937;var _0x138d20=this[_0x1cc660(0x3ed)],_0x453f3e=_0x138d20[_0x1cc660(0x44d)],_0x4632ec=_0x2f6e2f[_0x1cc660(0x3cb)](_0x4d0191,_0x4d0191+_0x453f3e);_0x138d20['decryptBlock'](_0x2f6e2f,_0x4d0191),_0x2cfad0[_0x1cc660(0x3b7)](this,_0x2f6e2f,_0x4d0191,_0x453f3e),this['_prevBlock']=_0x4632ec;}});function _0x2cfad0(_0x4b1515,_0x1d8d01,_0x408973){const _0x9e9afb=_0x28f937;var _0x3b12f5,_0x462881=this[_0x9e9afb(0x3fe)];_0x462881?(_0x3b12f5=_0x462881,this['_iv']=_0x571ab8):_0x3b12f5=this['_prevBlock'];for(var _0x367f9d=0x0;_0x367f9d<_0x408973;_0x367f9d++)_0x4b1515[_0x1d8d01+_0x367f9d]^=_0x3b12f5[_0x367f9d];}return _0x4e23a8;}()),_0xd83589=_0x472028[_0x3665ce(0x29d)]={},_0x42a2f1=_0xd83589[_0x3665ce(0x481)]={'pad':function(_0x5256f5,_0x1984e3){const _0x5360dc=_0x3665ce;for(var _0x700bbd=_0x1984e3*0x4,_0x1ae98d=_0x700bbd-_0x5256f5[_0x5360dc(0x502)]%_0x700bbd,_0xfa28c7=_0x1ae98d<<0x18|_0x1ae98d<<0x10|_0x1ae98d<<0x8|_0x1ae98d,_0x29fda5=[],_0x37ed54=0x0;_0x37ed54<_0x1ae98d;_0x37ed54+=0x4)_0x29fda5[_0x5360dc(0x270)](_0xfa28c7);var _0x390563=_0x20a2a6[_0x5360dc(0x373)](_0x29fda5,_0x1ae98d);_0x5256f5['concat'](_0x390563);},'unpad':function(_0x4fa29d){const _0xb435f1=_0x3665ce;var _0x529c9c=_0x4fa29d[_0xb435f1(0x233)][_0x4fa29d[_0xb435f1(0x502)]-0x1>>>0x2]&0xff;_0x4fa29d[_0xb435f1(0x502)]-=_0x529c9c;}};_0x43517b[_0x3665ce(0x42a)]=_0x50f1f1[_0x3665ce(0x327)]({'cfg':_0x50f1f1[_0x3665ce(0x25b)]['extend']({'mode':_0x5e0b56,'padding':_0x42a2f1}),'reset':function(){const _0x461211=_0x3665ce;var _0x2614df;_0x50f1f1['reset'][_0x461211(0x3b7)](this);var _0x2845c9=this['cfg'],_0x1731de=_0x2845c9['iv'],_0x40075a=_0x2845c9[_0x461211(0x301)];this['_xformMode']==this[_0x461211(0x3af)]?_0x2614df=_0x40075a[_0x461211(0x3f6)]:(_0x2614df=_0x40075a[_0x461211(0x23a)],this[_0x461211(0x200)]=0x1),this['_mode']&&this[_0x461211(0x511)]['__creator']==_0x2614df?this[_0x461211(0x511)][_0x461211(0x10e)](this,_0x1731de&&_0x1731de[_0x461211(0x233)]):(this[_0x461211(0x511)]=_0x2614df[_0x461211(0x3b7)](_0x40075a,this,_0x1731de&&_0x1731de[_0x461211(0x233)]),this[_0x461211(0x511)][_0x461211(0x2b1)]=_0x2614df);},'_doProcessBlock':function(_0x1659b5,_0x45e2de){const _0x14eda9=_0x3665ce;this[_0x14eda9(0x511)][_0x14eda9(0x15d)](_0x1659b5,_0x45e2de);},'_doFinalize':function(){const _0x1c3304=_0x3665ce;var _0xcf309b,_0xc2e041=this[_0x1c3304(0x25b)][_0x1c3304(0x50b)];return this['_xformMode']==this[_0x1c3304(0x3af)]?(_0xc2e041[_0x1c3304(0x29d)](this[_0x1c3304(0x277)],this[_0x1c3304(0x44d)]),_0xcf309b=this['_process'](!0x0)):(_0xcf309b=this['_process'](!0x0),_0xc2e041[_0x1c3304(0x3e2)](_0xcf309b)),_0xcf309b;},'blockSize':0x80/0x20});var _0x42f1ed=_0x43517b[_0x3665ce(0x15b)]=_0x3f99d3[_0x3665ce(0x327)]({'init':function(_0x1f586c){const _0x2ae3ea=_0x3665ce;this[_0x2ae3ea(0x185)](_0x1f586c);},'toString':function(_0x17ce46){const _0x283336=_0x3665ce;return(_0x17ce46||this[_0x283336(0x424)])[_0x283336(0x387)](this);}}),_0x10004a=_0x472028[_0x3665ce(0x2e4)]={},_0x306ca6=_0x10004a[_0x3665ce(0x48d)]={'stringify':function(_0x489d25){const _0x52fcc9=_0x3665ce;var _0x2dd79c,_0x359fd8=_0x489d25['ciphertext'],_0x643fe0=_0x489d25[_0x52fcc9(0x412)];return _0x643fe0?_0x2dd79c=_0x20a2a6[_0x52fcc9(0x373)]([0x53616c74,0x65645f5f])['concat'](_0x643fe0)[_0x52fcc9(0x3b4)](_0x359fd8):_0x2dd79c=_0x359fd8,_0x2dd79c[_0x52fcc9(0x492)](_0x3ac6ef);},'parse':function(_0x5d1841){const _0x367139=_0x3665ce;var _0x2ceebd,_0x1b8b31=_0x3ac6ef[_0x367139(0x2e9)](_0x5d1841),_0x24606c=_0x1b8b31[_0x367139(0x233)];return _0x24606c[0x0]==0x53616c74&&_0x24606c[0x1]==0x65645f5f&&(_0x2ceebd=_0x20a2a6['create'](_0x24606c[_0x367139(0x3cb)](0x2,0x4)),_0x24606c[_0x367139(0x1a0)](0x0,0x4),_0x1b8b31[_0x367139(0x502)]-=0x10),_0x42f1ed[_0x367139(0x373)]({'ciphertext':_0x1b8b31,'salt':_0x2ceebd});}},_0x1590d4=_0x43517b[_0x3665ce(0x25c)]=_0x3f99d3[_0x3665ce(0x327)]({'cfg':_0x3f99d3['extend']({'format':_0x306ca6}),'encrypt':function(_0x38df95,_0x10e1c0,_0xb4d96e,_0x55c780){const _0x135adc=_0x3665ce;_0x55c780=this[_0x135adc(0x25b)][_0x135adc(0x327)](_0x55c780);var _0xb6b03f=_0x38df95[_0x135adc(0x3f6)](_0xb4d96e,_0x55c780),_0x1362c8=_0xb6b03f[_0x135adc(0x22d)](_0x10e1c0),_0x4e6079=_0xb6b03f[_0x135adc(0x25b)];return _0x42f1ed['create']({'ciphertext':_0x1362c8,'key':_0xb4d96e,'iv':_0x4e6079['iv'],'algorithm':_0x38df95,'mode':_0x4e6079[_0x135adc(0x301)],'padding':_0x4e6079[_0x135adc(0x50b)],'blockSize':_0x38df95[_0x135adc(0x44d)],'formatter':_0x55c780[_0x135adc(0x2e4)]});},'decrypt':function(_0xcb4faf,_0xd77a4e,_0x16bdbc,_0x119c19){const _0x278da1=_0x3665ce;_0x119c19=this[_0x278da1(0x25b)]['extend'](_0x119c19),_0xd77a4e=this[_0x278da1(0x11f)](_0xd77a4e,_0x119c19[_0x278da1(0x2e4)]);var _0x30d528=_0xcb4faf['createDecryptor'](_0x16bdbc,_0x119c19)[_0x278da1(0x22d)](_0xd77a4e[_0x278da1(0x475)]);return _0x30d528;},'_parse':function(_0x5bc52e,_0x14f5f8){const _0x4e6766=_0x3665ce;return typeof _0x5bc52e==_0x4e6766(0x384)?_0x14f5f8[_0x4e6766(0x2e9)](_0x5bc52e,this):_0x5bc52e;}}),_0x3b0039=_0x472028[_0x3665ce(0x332)]={},_0x2a3b34=_0x3b0039[_0x3665ce(0x48d)]={'execute':function(_0x1d2541,_0x4f5a36,_0x321ade,_0x1f73b4,_0x273f2b){const _0x4f5ca7=_0x3665ce;if(_0x1f73b4||(_0x1f73b4=_0x20a2a6[_0x4f5ca7(0x226)](0x40/0x8)),_0x273f2b)var _0x3c3c8c=_0x368a0b[_0x4f5ca7(0x373)]({'keySize':_0x4f5a36+_0x321ade,'hasher':_0x273f2b})[_0x4f5ca7(0x336)](_0x1d2541,_0x1f73b4);else var _0x3c3c8c=_0x368a0b[_0x4f5ca7(0x373)]({'keySize':_0x4f5a36+_0x321ade})[_0x4f5ca7(0x336)](_0x1d2541,_0x1f73b4);var _0x585cc4=_0x20a2a6['create'](_0x3c3c8c[_0x4f5ca7(0x233)][_0x4f5ca7(0x3cb)](_0x4f5a36),_0x321ade*0x4);return _0x3c3c8c[_0x4f5ca7(0x502)]=_0x4f5a36*0x4,_0x42f1ed[_0x4f5ca7(0x373)]({'key':_0x3c3c8c,'iv':_0x585cc4,'salt':_0x1f73b4});}},_0x321dca=_0x43517b[_0x3665ce(0x383)]=_0x1590d4['extend']({'cfg':_0x1590d4[_0x3665ce(0x25b)]['extend']({'kdf':_0x2a3b34}),'encrypt':function(_0x1ed991,_0x5c71ac,_0x37867a,_0x216b24){const _0x6f0ecf=_0x3665ce;_0x216b24=this['cfg'][_0x6f0ecf(0x327)](_0x216b24);var _0x50a3ac=_0x216b24['kdf'][_0x6f0ecf(0x43e)](_0x37867a,_0x1ed991['keySize'],_0x1ed991[_0x6f0ecf(0x484)],_0x216b24[_0x6f0ecf(0x412)],_0x216b24[_0x6f0ecf(0x31d)]);_0x216b24['iv']=_0x50a3ac['iv'];var _0x4eb596=_0x1590d4[_0x6f0ecf(0x13b)][_0x6f0ecf(0x3b7)](this,_0x1ed991,_0x5c71ac,_0x50a3ac[_0x6f0ecf(0x335)],_0x216b24);return _0x4eb596[_0x6f0ecf(0x185)](_0x50a3ac),_0x4eb596;},'decrypt':function(_0x1e2c78,_0x3e45d6,_0x1b626d,_0x561720){const _0x30a269=_0x3665ce;_0x561720=this[_0x30a269(0x25b)]['extend'](_0x561720),_0x3e45d6=this['_parse'](_0x3e45d6,_0x561720[_0x30a269(0x2e4)]);var _0x2cfe87=_0x561720[_0x30a269(0x332)][_0x30a269(0x43e)](_0x1b626d,_0x1e2c78[_0x30a269(0x11e)],_0x1e2c78['ivSize'],_0x3e45d6[_0x30a269(0x412)],_0x561720['hasher']);_0x561720['iv']=_0x2cfe87['iv'];var _0x10afa1=_0x1590d4['decrypt'][_0x30a269(0x3b7)](this,_0x1e2c78,_0x3e45d6,_0x2cfe87['key'],_0x561720);return _0x10afa1;}});}();}));}(qt)),qt[_0x4fee42(0x4bf)];}(function(_0xf9f339,_0x40d57b){(function(_0x1dd24f,_0x1e402a,_0x4c87bb){_0xf9f339['exports']=_0x1e402a(ue(),Wi(),Fa(),Fi(),Vi());}(Z,function(_0x1c60f4){const _0x843a1e=_0x136c;return(function(){const _0x1a4c78=_0x136c;var _0x4bd960=_0x1c60f4,_0x5e0602=_0x4bd960['lib'],_0x266248=_0x5e0602[_0x1a4c78(0x42a)],_0x4fb5f0=_0x4bd960[_0x1a4c78(0x1b2)],_0x416af0=[],_0x1c0438=[],_0x1de7c1=[],_0x30a85b=[],_0x3df97a=[],_0x7e8d60=[],_0x24482f=[],_0x5477a4=[],_0x5e85cd=[],_0x107227=[];(function(){for(var _0x15cc08=[],_0x2afa19=0x0;_0x2afa19<0x100;_0x2afa19++)_0x2afa19<0x80?_0x15cc08[_0x2afa19]=_0x2afa19<<0x1:_0x15cc08[_0x2afa19]=_0x2afa19<<0x1^0x11b;for(var _0x363248=0x0,_0x3a1a41=0x0,_0x2afa19=0x0;_0x2afa19<0x100;_0x2afa19++){var _0x16dc66=_0x3a1a41^_0x3a1a41<<0x1^_0x3a1a41<<0x2^_0x3a1a41<<0x3^_0x3a1a41<<0x4;_0x16dc66=_0x16dc66>>>0x8^_0x16dc66&0xff^0x63,_0x416af0[_0x363248]=_0x16dc66,_0x1c0438[_0x16dc66]=_0x363248;var _0x4cb151=_0x15cc08[_0x363248],_0x10403f=_0x15cc08[_0x4cb151],_0x2f2aa2=_0x15cc08[_0x10403f],_0x85c5c4=_0x15cc08[_0x16dc66]*0x101^_0x16dc66*0x1010100;_0x1de7c1[_0x363248]=_0x85c5c4<<0x18|_0x85c5c4>>>0x8,_0x30a85b[_0x363248]=_0x85c5c4<<0x10|_0x85c5c4>>>0x10,_0x3df97a[_0x363248]=_0x85c5c4<<0x8|_0x85c5c4>>>0x18,_0x7e8d60[_0x363248]=_0x85c5c4;var _0x85c5c4=_0x2f2aa2*0x1010101^_0x10403f*0x10001^_0x4cb151*0x101^_0x363248*0x1010100;_0x24482f[_0x16dc66]=_0x85c5c4<<0x18|_0x85c5c4>>>0x8,_0x5477a4[_0x16dc66]=_0x85c5c4<<0x10|_0x85c5c4>>>0x10,_0x5e85cd[_0x16dc66]=_0x85c5c4<<0x8|_0x85c5c4>>>0x18,_0x107227[_0x16dc66]=_0x85c5c4,_0x363248?(_0x363248=_0x4cb151^_0x15cc08[_0x15cc08[_0x15cc08[_0x2f2aa2^_0x4cb151]]],_0x3a1a41^=_0x15cc08[_0x15cc08[_0x3a1a41]]):_0x363248=_0x3a1a41=0x1;}}());var _0x2584eb=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x28766e=_0x4fb5f0[_0x1a4c78(0x4a3)]=_0x266248[_0x1a4c78(0x327)]({'_doReset':function(){const _0x31024f=_0x1a4c78;var _0x48a309;if(!(this[_0x31024f(0x3d5)]&&this[_0x31024f(0x28b)]===this[_0x31024f(0x124)])){for(var _0x193d6a=this[_0x31024f(0x28b)]=this[_0x31024f(0x124)],_0xdd8b9=_0x193d6a[_0x31024f(0x233)],_0x5d16b3=_0x193d6a[_0x31024f(0x502)]/0x4,_0x3345f0=this[_0x31024f(0x3d5)]=_0x5d16b3+0x6,_0x18ca4c=(_0x3345f0+0x1)*0x4,_0x409ab9=this[_0x31024f(0x2d4)]=[],_0x9b2d35=0x0;_0x9b2d35<_0x18ca4c;_0x9b2d35++)_0x9b2d35<_0x5d16b3?_0x409ab9[_0x9b2d35]=_0xdd8b9[_0x9b2d35]:(_0x48a309=_0x409ab9[_0x9b2d35-0x1],_0x9b2d35%_0x5d16b3?_0x5d16b3>0x6&&_0x9b2d35%_0x5d16b3==0x4&&(_0x48a309=_0x416af0[_0x48a309>>>0x18]<<0x18|_0x416af0[_0x48a309>>>0x10&0xff]<<0x10|_0x416af0[_0x48a309>>>0x8&0xff]<<0x8|_0x416af0[_0x48a309&0xff]):(_0x48a309=_0x48a309<<0x8|_0x48a309>>>0x18,_0x48a309=_0x416af0[_0x48a309>>>0x18]<<0x18|_0x416af0[_0x48a309>>>0x10&0xff]<<0x10|_0x416af0[_0x48a309>>>0x8&0xff]<<0x8|_0x416af0[_0x48a309&0xff],_0x48a309^=_0x2584eb[_0x9b2d35/_0x5d16b3|0x0]<<0x18),_0x409ab9[_0x9b2d35]=_0x409ab9[_0x9b2d35-_0x5d16b3]^_0x48a309);for(var _0x49b304=this[_0x31024f(0x2c8)]=[],_0x2820c8=0x0;_0x2820c8<_0x18ca4c;_0x2820c8++){var _0x9b2d35=_0x18ca4c-_0x2820c8;if(_0x2820c8%0x4)var _0x48a309=_0x409ab9[_0x9b2d35];else var _0x48a309=_0x409ab9[_0x9b2d35-0x4];_0x2820c8<0x4||_0x9b2d35<=0x4?_0x49b304[_0x2820c8]=_0x48a309:_0x49b304[_0x2820c8]=_0x24482f[_0x416af0[_0x48a309>>>0x18]]^_0x5477a4[_0x416af0[_0x48a309>>>0x10&0xff]]^_0x5e85cd[_0x416af0[_0x48a309>>>0x8&0xff]]^_0x107227[_0x416af0[_0x48a309&0xff]];}}},'encryptBlock':function(_0x4c09f2,_0x225737){const _0x426a6f=_0x1a4c78;this[_0x426a6f(0x48f)](_0x4c09f2,_0x225737,this[_0x426a6f(0x2d4)],_0x1de7c1,_0x30a85b,_0x3df97a,_0x7e8d60,_0x416af0);},'decryptBlock':function(_0x43c5bb,_0x34ad43){const _0x37665b=_0x1a4c78;var _0x41043b=_0x43c5bb[_0x34ad43+0x1];_0x43c5bb[_0x34ad43+0x1]=_0x43c5bb[_0x34ad43+0x3],_0x43c5bb[_0x34ad43+0x3]=_0x41043b,this[_0x37665b(0x48f)](_0x43c5bb,_0x34ad43,this['_invKeySchedule'],_0x24482f,_0x5477a4,_0x5e85cd,_0x107227,_0x1c0438);var _0x41043b=_0x43c5bb[_0x34ad43+0x1];_0x43c5bb[_0x34ad43+0x1]=_0x43c5bb[_0x34ad43+0x3],_0x43c5bb[_0x34ad43+0x3]=_0x41043b;},'_doCryptBlock':function(_0x23dd48,_0x5a0f8d,_0x177543,_0x2c9d64,_0x4e6f16,_0x7a6207,_0x137b2b,_0x5d1b58){const _0x3ff5cd=_0x1a4c78;for(var _0x4dbc4a=this[_0x3ff5cd(0x3d5)],_0x14fb93=_0x23dd48[_0x5a0f8d]^_0x177543[0x0],_0x4fb1ed=_0x23dd48[_0x5a0f8d+0x1]^_0x177543[0x1],_0x2eac14=_0x23dd48[_0x5a0f8d+0x2]^_0x177543[0x2],_0x43bb30=_0x23dd48[_0x5a0f8d+0x3]^_0x177543[0x3],_0x1e65eb=0x4,_0x20b728=0x1;_0x20b728<_0x4dbc4a;_0x20b728++){var _0x398382=_0x2c9d64[_0x14fb93>>>0x18]^_0x4e6f16[_0x4fb1ed>>>0x10&0xff]^_0x7a6207[_0x2eac14>>>0x8&0xff]^_0x137b2b[_0x43bb30&0xff]^_0x177543[_0x1e65eb++],_0x4853fa=_0x2c9d64[_0x4fb1ed>>>0x18]^_0x4e6f16[_0x2eac14>>>0x10&0xff]^_0x7a6207[_0x43bb30>>>0x8&0xff]^_0x137b2b[_0x14fb93&0xff]^_0x177543[_0x1e65eb++],_0x58b188=_0x2c9d64[_0x2eac14>>>0x18]^_0x4e6f16[_0x43bb30>>>0x10&0xff]^_0x7a6207[_0x14fb93>>>0x8&0xff]^_0x137b2b[_0x4fb1ed&0xff]^_0x177543[_0x1e65eb++],_0x63ff55=_0x2c9d64[_0x43bb30>>>0x18]^_0x4e6f16[_0x14fb93>>>0x10&0xff]^_0x7a6207[_0x4fb1ed>>>0x8&0xff]^_0x137b2b[_0x2eac14&0xff]^_0x177543[_0x1e65eb++];_0x14fb93=_0x398382,_0x4fb1ed=_0x4853fa,_0x2eac14=_0x58b188,_0x43bb30=_0x63ff55;}var _0x398382=(_0x5d1b58[_0x14fb93>>>0x18]<<0x18|_0x5d1b58[_0x4fb1ed>>>0x10&0xff]<<0x10|_0x5d1b58[_0x2eac14>>>0x8&0xff]<<0x8|_0x5d1b58[_0x43bb30&0xff])^_0x177543[_0x1e65eb++],_0x4853fa=(_0x5d1b58[_0x4fb1ed>>>0x18]<<0x18|_0x5d1b58[_0x2eac14>>>0x10&0xff]<<0x10|_0x5d1b58[_0x43bb30>>>0x8&0xff]<<0x8|_0x5d1b58[_0x14fb93&0xff])^_0x177543[_0x1e65eb++],_0x58b188=(_0x5d1b58[_0x2eac14>>>0x18]<<0x18|_0x5d1b58[_0x43bb30>>>0x10&0xff]<<0x10|_0x5d1b58[_0x14fb93>>>0x8&0xff]<<0x8|_0x5d1b58[_0x4fb1ed&0xff])^_0x177543[_0x1e65eb++],_0x63ff55=(_0x5d1b58[_0x43bb30>>>0x18]<<0x18|_0x5d1b58[_0x14fb93>>>0x10&0xff]<<0x10|_0x5d1b58[_0x4fb1ed>>>0x8&0xff]<<0x8|_0x5d1b58[_0x2eac14&0xff])^_0x177543[_0x1e65eb++];_0x23dd48[_0x5a0f8d]=_0x398382,_0x23dd48[_0x5a0f8d+0x1]=_0x4853fa,_0x23dd48[_0x5a0f8d+0x2]=_0x58b188,_0x23dd48[_0x5a0f8d+0x3]=_0x63ff55;},'keySize':0x100/0x20});_0x4bd960[_0x1a4c78(0x4a3)]=_0x266248[_0x1a4c78(0x2eb)](_0x28766e);}()),_0x1c60f4[_0x843a1e(0x4a3)];}));}(ki));var Ya=ki[_0xf37888(0x4bf)];function _0x136c(_0x425692,_0xa8815c){const _0xc3a6a0=_0xc3a6();return _0x136c=function(_0x136c71,_0x35ce06){_0x136c71=_0x136c71-0x10a;let _0x32f4b4=_0xc3a6a0[_0x136c71];return _0x32f4b4;},_0x136c(_0x425692,_0xa8815c);}const Ka=at(Ya);var za=Wi();const ii=at(za);var Gi={'exports':{}};(function(_0x4b43c5,_0x2cdfa0){(function(_0x4ee7bf,_0x325acc){const _0x5bc76d=_0x136c;_0x4b43c5[_0x5bc76d(0x4bf)]=_0x325acc(ue());}(Z,function(_0x20a2f3){const _0x7c69cc=_0x136c;return _0x20a2f3[_0x7c69cc(0x343)][_0x7c69cc(0x4dc)];}));}(Gi));var qa=Gi[_0xf37888(0x4bf)];const Xa=at(qa);var Yi={'exports':{}};(function(_0x163cff,_0x3670d9){(function(_0x5135aa,_0x38693c){const _0x257a19=_0x136c;_0x163cff[_0x257a19(0x4bf)]=_0x38693c(ue());}(Z,function(_0x4ee502){const _0xf01531=_0x136c;return(function(){const _0x4c34ba=_0x136c;if(typeof ArrayBuffer==_0x4c34ba(0x1bc)){var _0x15bd98=_0x4ee502,_0x334172=_0x15bd98[_0x4c34ba(0x1f5)],_0x3f47e0=_0x334172[_0x4c34ba(0x290)],_0x27e5de=_0x3f47e0[_0x4c34ba(0x10e)],_0x549f36=_0x3f47e0[_0x4c34ba(0x10e)]=function(_0x39d551){const _0x496561=_0x4c34ba;if(_0x39d551 instanceof ArrayBuffer&&(_0x39d551=new Uint8Array(_0x39d551)),(_0x39d551 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x39d551 instanceof Uint8ClampedArray||_0x39d551 instanceof Int16Array||_0x39d551 instanceof Uint16Array||_0x39d551 instanceof Int32Array||_0x39d551 instanceof Uint32Array||_0x39d551 instanceof Float32Array||_0x39d551 instanceof Float64Array)&&(_0x39d551=new Uint8Array(_0x39d551[_0x496561(0x34e)],_0x39d551[_0x496561(0x41f)],_0x39d551[_0x496561(0x353)])),_0x39d551 instanceof Uint8Array){for(var _0x2a7ba0=_0x39d551[_0x496561(0x353)],_0x1541ad=[],_0x23333f=0x0;_0x23333f<_0x2a7ba0;_0x23333f++)_0x1541ad[_0x23333f>>>0x2]|=_0x39d551[_0x23333f]<<0x18-_0x23333f%0x4*0x8;_0x27e5de[_0x496561(0x3b7)](this,_0x1541ad,_0x2a7ba0);}else _0x27e5de['apply'](this,arguments);};_0x549f36[_0x4c34ba(0x16d)]=_0x3f47e0;}}()),_0x4ee502[_0xf01531(0x1f5)][_0xf01531(0x290)];}));}(Yi));var Ja=Yi[_0xf37888(0x4bf)];const Za=at(Ja);var Ki={'exports':{}};(function(_0x2b7164,_0x59dee5){(function(_0x6ce975,_0x5657e2,_0x216157){const _0x45239a=_0x136c;_0x2b7164[_0x45239a(0x4bf)]=_0x5657e2(ue(),Vi());}(Z,function(_0x267848){const _0x2437a8=_0x136c;return _0x267848['pad'][_0x2437a8(0x495)]={'pad':function(){},'unpad':function(){}},_0x267848['pad'][_0x2437a8(0x495)];}));}(Ki));var Qa=Ki[_0xf37888(0x4bf)];const ec=at(Qa);function tc(_0x5c866,_0x508711){const _0x34ac20=_0xf37888,_0x193ba5=_0x508711-_0x5c866[_0x34ac20(0x42c)]%_0x508711,_0x470001=String[_0x34ac20(0x130)](_0x193ba5)[_0x34ac20(0x427)](_0x193ba5);return _0x5c866+_0x470001;}function sc(_0x3a941c,_0x4ca613){const _0x14aaf3=_0xf37888,_0x585d11=Za['random'](0x10),_0x18362e=tc(_0x3a941c,0x10),_0x592d3b=Ka[_0x14aaf3(0x13b)](Xa['parse'](_0x18362e),ii[_0x14aaf3(0x2e9)](_0x4ca613),{'iv':_0x585d11,'padding':ec});return _0x585d11[_0x14aaf3(0x3b4)](_0x592d3b[_0x14aaf3(0x475)])[_0x14aaf3(0x492)](ii);}function ic(){const _0x967598=_0xf37888,_0x299f87=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x299f87){const _0x439343={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x967598(0x2a9)]};return sc(JSON['stringify'](_0x439343),_0x299f87);}}var nc=Object[_0xf37888(0x320)],rc=Object['getOwnPropertyDescriptor'],oc=(_0x2571fc,_0x24138d,_0x16e217,_0x553d19)=>{const _0x5ddc56=_0xf37888;for(var _0x3cdf4b=_0x553d19>0x1?void 0x0:_0x553d19?rc(_0x24138d,_0x16e217):_0x24138d,_0x14f114=_0x2571fc[_0x5ddc56(0x42c)]-0x1,_0x1dd066;_0x14f114>=0x0;_0x14f114--)(_0x1dd066=_0x2571fc[_0x14f114])&&(_0x3cdf4b=(_0x553d19?_0x1dd066(_0x24138d,_0x16e217,_0x3cdf4b):_0x1dd066(_0x3cdf4b))||_0x3cdf4b);return _0x553d19&&_0x3cdf4b&&nc(_0x24138d,_0x16e217,_0x3cdf4b),_0x3cdf4b;},ac=(_0x12c37e,_0x21882b)=>(_0x12c83f,_0x2cf02f)=>_0x21882b(_0x12c83f,_0x2cf02f,_0x12c37e);let bt=class{constructor(_0x130f7e){const _0x5f2ec1=_0xf37888;this[_0x5f2ec1(0x169)]=_0x130f7e,this[_0x5f2ec1(0x14b)]();}[_0xf37888(0x14b)](){const _0x302a3e=_0xf37888;this[_0x302a3e(0x169)][_0x302a3e(0x501)]({'interceptor':(_0x46fd7e,_0x337bed)=>{const _0x59aeda=_0x302a3e,_0x5edc17=_0x46fd7e[_0x59aeda(0x3d1)],_0x21d5fa=ic();return _0x21d5fa&&_0x5edc17[_0x59aeda(0x1ec)](_0x59aeda(0x21a),_0x21d5fa),_0x337bed(_0x46fd7e);}});}};bt=oc([ac(0x0,_0x39c8b8(_0xf3436a))],bt);var cc=Object[_0xf37888(0x320)],hc=Object['getOwnPropertyDescriptor'],lc=(_0x1a3a0d,_0x2a3459,_0x27f675,_0x276b52)=>{const _0x1bafe8=_0xf37888;for(var _0x1a0bc6=_0x276b52>0x1?void 0x0:_0x276b52?hc(_0x2a3459,_0x27f675):_0x2a3459,_0x23f158=_0x1a3a0d[_0x1bafe8(0x42c)]-0x1,_0x58c8b8;_0x23f158>=0x0;_0x23f158--)(_0x58c8b8=_0x1a3a0d[_0x23f158])&&(_0x1a0bc6=(_0x276b52?_0x58c8b8(_0x2a3459,_0x27f675,_0x1a0bc6):_0x58c8b8(_0x1a0bc6))||_0x1a0bc6);return _0x276b52&&_0x1a0bc6&&cc(_0x2a3459,_0x27f675,_0x1a0bc6),_0x1a0bc6;},Xt=(_0x4ccda3,_0x426380)=>(_0x305c1c,_0x36b2d8)=>_0x426380(_0x305c1c,_0x36b2d8,_0x4ccda3);const _c=[_0xf37888(0x473),_0xf37888(0x4b6),'image/jpg',_0xf37888(0x4ee),_0xf37888(0x4a7)],uc=0x5*0x400*0x400,dc=_0xf37888(0x259),fc=_0xf37888(0x2d1),vc=_0xf37888(0x4f9),mc=_0xf37888(0x1db);let hs=class{constructor(_0x18ec8f,_0x21d7ad,_0x3e739a){const _0x38134=_0xf37888;g(this,_0x38134(0x297),0x0),g(this,_0x38134(0x38b),new _0x382230()),g(this,_0x38134(0x10f),this['_change$']),g(this,_0x38134(0x112),new Map()),(this[_0x38134(0x169)]=_0x18ec8f,this[_0x38134(0x1f2)]=_0x21d7ad,this[_0x38134(0x1c2)]=_0x3e739a);}['setWaitCount'](_0x146a64){const _0x2b4a26=_0xf37888;this[_0x2b4a26(0x297)]=_0x146a64,this[_0x2b4a26(0x38b)][_0x2b4a26(0x2d2)](_0x146a64);}[_0xf37888(0x13e)](_0x232686,_0xb99353){const _0x1b2978=_0xf37888;if(_0xb99353===_0x4b9ffc[_0x1b2978(0x4d7)]){const _0x2de8c1=new Image();return _0x2de8c1[_0x1b2978(0x281)]=_0x232686,_0x2de8c1;}return this[_0x1b2978(0x112)][_0x1b2978(0x166)](_0x232686);}[_0xf37888(0x24c)](_0x1500c7,_0x236f1c,_0x592c91){const _0xfa1ee6=_0xf37888;_0x236f1c===_0x4b9ffc[_0xfa1ee6(0x4d7)]||_0x592c91==null||this['_imageSourceCache'][_0xfa1ee6(0x1ec)](_0x1500c7,_0x592c91);}async[_0xf37888(0x1a6)](_0x210a36){const _0x6b1e9c=_0xf37888;try{const _0x35201b=this[_0x6b1e9c(0x33b)](this[_0x6b1e9c(0x1c4)](),''+_0x210a36),_0x248aae=(await this[_0x6b1e9c(0x169)][_0x6b1e9c(0x166)](_0x35201b))[_0x6b1e9c(0x251)];if(_0x248aae['error']&&_0x248aae[_0x6b1e9c(0x329)]['code']===Ri['OK']){const _0x57011d=new URL(_0x248aae[_0x6b1e9c(0x35d)],this['_getDownloadEndpointURL']())['toString']();return Promise['resolve'](_0x57011d);}return Promise['reject'](_0x248aae[_0x6b1e9c(0x329)]);}catch(_0x1ad26a){return Promise[_0x6b1e9c(0x3b1)](_0x1ad26a);}}async[_0xf37888(0x221)](_0x2cdd67){const _0x5a3596=_0xf37888;let _0x499ba8='';if(!_c[_0x5a3596(0x258)](_0x2cdd67['type']))return this[_0x5a3596(0x4ad)](),Promise[_0x5a3596(0x3b1)](new Error(_0x3da702[_0x5a3596(0x4ab)]));if(_0x2cdd67[_0x5a3596(0x189)]>uc)return this[_0x5a3596(0x4ad)](),Promise[_0x5a3596(0x3b1)](new Error(_0x3da702[_0x5a3596(0x25e)]));try{const _0x53d89f=new FormData();_0x53d89f[_0x5a3596(0x249)](_0x5a3596(0x11a),_0x2cdd67);const _0x2a1caa=this[_0x5a3596(0x1c2)][_0x5a3596(0x2f2)](),_0x191041=_0x2a1caa==null?void 0x0:_0x2a1caa[_0x5a3596(0x1a4)]();if(!_0x191041)throw new Error(_0x5a3596(0x168));const _0x53d4be=this['_getUploadFileURL']()+'?size='+_0x2cdd67[_0x5a3596(0x189)][_0x5a3596(0x492)]()+_0x5a3596(0x4be)+yi[_0x5a3596(0x49e)]+_0x5a3596(0x154)+encodeURIComponent(_0x191041),_0x114d18=await(await fetch(_0x53d4be,{'method':_0x5a3596(0x2f5),'body':_0x53d89f}))[_0x5a3596(0x1ad)]();if(typeof _0x114d18['FileId']!=_0x5a3596(0x384))return this[_0x5a3596(0x4ad)](),Promise[_0x5a3596(0x3b1)](new Error(_0x3da702[_0x5a3596(0x460)]));_0x499ba8=_0x114d18['FileId'];}catch{return this[_0x5a3596(0x4ad)](),Promise[_0x5a3596(0x3b1)](new Error(_0x3da702[_0x5a3596(0x460)]));}return new Promise((_0x4ae557,_0x4242e1)=>{const _0xc3ba90=_0x5a3596,_0x1e6754=new FileReader();_0x1e6754[_0xc3ba90(0x139)](_0x2cdd67),_0x1e6754[_0xc3ba90(0x50a)]=_0x4c4b25=>{const _0x286a75=_0xc3ba90;var _0x10e591;const _0x32d4fd=(_0x10e591=_0x4c4b25[_0x286a75(0x16b)])==null?void 0x0:_0x10e591[_0x286a75(0x2af)];if(_0x32d4fd==null){this[_0x286a75(0x4ad)](),_0x4242e1(new Error(_0x3da702[_0x286a75(0x460)]));return;}const _0x1b1670=_0x5d7755[_0x286a75(0x44e)](0x6);_0x4ae557({'imageId':_0x1b1670,'imageSourceType':_0x4b9ffc[_0x286a75(0x248)],'source':_0x499ba8,'base64Cache':_0x32d4fd,'status':_0x3da702[_0x286a75(0x235)]}),this[_0x286a75(0x4ad)]();};});}[_0xf37888(0x113)](){const _0x3206a1=_0xf37888;var _0x2bb280,_0xff83fa;const _0x54a511=this[_0x3206a1(0x1f2)][_0x3206a1(0x37a)](dc),_0x3c1282=this[_0x3206a1(0x1f2)][_0x3206a1(0x37a)](ie);return(_0xff83fa=(_0x2bb280=_0x3c1282==null?void 0x0:_0x3c1282[_0x3206a1(0x253)])!=null?_0x2bb280:_0x54a511)!=null?_0xff83fa:fc;}[_0xf37888(0x1c4)](){const _0x11e06d=_0xf37888;var _0x55dfac,_0xd9442f;const _0x116549=this[_0x11e06d(0x1f2)][_0x11e06d(0x37a)](vc),_0x3c72ca=this[_0x11e06d(0x1f2)][_0x11e06d(0x37a)](ie);return(_0xd9442f=(_0x55dfac=_0x3c72ca==null?void 0x0:_0x3c72ca['signUrlServerUrl'])!=null?_0x55dfac:_0x116549)!=null?_0xd9442f:mc;}[_0xf37888(0x203)](){const _0x494230=_0xf37888;var _0x15152b;const _0x3504c2=this[_0x494230(0x1f2)][_0x494230(0x37a)](ie);return(_0x15152b=_0x3504c2==null?void 0x0:_0x3504c2[_0x494230(0x4c8)])!=null?_0x15152b:location[_0x494230(0x482)];}[_0xf37888(0x33b)](_0x333c43,_0x1d78c0){const _0x3937da=_0xf37888;return _0x333c43[_0x3937da(0x215)](_0x3937da(0x1ab),_0x1d78c0);}[_0xf37888(0x4ad)](){const _0x297651=_0xf37888;this[_0x297651(0x297)]-=0x1,this[_0x297651(0x38b)][_0x297651(0x2d2)](this['_waitCount']);}};hs=lc([Xt(0x0,_0x39c8b8(_0xf3436a)),Xt(0x1,_0x45a6b3),Xt(0x2,_0x39c8b8(_0x6b8e83))],hs);var pc=Object[_0xf37888(0x320)],gc=Object[_0xf37888(0x26b)],Sc=(_0xcaeadb,_0x4705c4,_0x46ffd6,_0x16be63)=>{const _0x18d603=_0xf37888;for(var _0xf82764=_0x16be63>0x1?void 0x0:_0x16be63?gc(_0x4705c4,_0x46ffd6):_0x4705c4,_0x1c1eaa=_0xcaeadb[_0x18d603(0x42c)]-0x1,_0x47425b;_0x1c1eaa>=0x0;_0x1c1eaa--)(_0x47425b=_0xcaeadb[_0x1c1eaa])&&(_0xf82764=(_0x16be63?_0x47425b(_0x4705c4,_0x46ffd6,_0xf82764):_0x47425b(_0xf82764))||_0xf82764);return _0x16be63&&_0xf82764&&pc(_0x4705c4,_0x46ffd6,_0xf82764),_0xf82764;},Qe=(_0x22e6da,_0x18f13f)=>(_0x2f0002,_0x67c695)=>_0x18f13f(_0x2f0002,_0x67c695,_0x22e6da);let Tt=class extends _0x3c16d2{constructor(_0x28b54f,_0x2bbbc5,_0x31df84,_0x3bd5e2,_0x23d6ef){const _0x7c1873=_0xf37888;super(),this[_0x7c1873(0x43d)]=_0x28b54f,this[_0x7c1873(0x1c2)]=_0x2bbbc5,this[_0x7c1873(0x4b2)]=_0x31df84,this[_0x7c1873(0x299)]=_0x3bd5e2,this[_0x7c1873(0x428)]=_0x23d6ef,this['_initUnitPermissionChange'](),this[_0x7c1873(0x4cd)]();}[_0xf37888(0x4cd)](){const _0x1d9797=_0xf37888,_0x8a772d=async _0x118e62=>{const _0x308f29=_0x136c;(await this[_0x308f29(0x299)][_0x308f29(0x4f0)](_0x118e62))[_0x308f29(0x3c5)]['pipe'](_0x2d7a63(_0x5bd0f8=>_0x5bd0f8[_0x308f29(0x214)]===_0x3c3869[_0x308f29(0x131)]),_0xf05386(this['dispose$']))[_0x308f29(0x236)](_0x1071c4=>{const _0x30083a=_0x308f29,_0xbc8ca2=_0x1071c4,{reason:_0x16fea9}=_0xbc8ca2[_0x30083a(0x1cc)];this['_injector']['get'](_0xffafbc)[_0x30083a(0x228)]({'type':_0x30a0d6[_0x30083a(0x45d)],'content':this['_localeService']['t'](_0x30083a(0x2b2))+'('+_0x16fea9+')'}),this['_permissionService'][_0x30083a(0x31f)](new _0x57c2ed(_0x118e62)['id'],!0x1),this[_0x30083a(0x299)][_0x30083a(0x38f)](_0x118e62);});};_0x45ad1c(this[_0x1d9797(0x1c2)]['getTypeOfUnitAdded$'](_0x42608e[_0x1d9797(0x19a)]),this[_0x1d9797(0x1c2)]['getTypeOfUnitAdded$'](_0x42608e[_0x1d9797(0x1c1)]))[_0x1d9797(0x3bf)](_0x5ba592(_0x544cfd=>_0x544cfd[_0x1d9797(0x1a4)]()),_0x2d7a63(_0x309678=>!_0x59fd1a(_0x309678)),_0xf05386(this[_0x1d9797(0x118)]))[_0x1d9797(0x236)](_0xfad417=>{_0x8a772d(_0xfad417);});}['_initUnitPermissionChange'](){const _0x3621f8=_0xf37888,_0x369623=async _0x1f1925=>{const _0x25e5c6=_0x136c;(await this[_0x25e5c6(0x299)][_0x25e5c6(0x4f0)](_0x1f1925))[_0x25e5c6(0x3c5)][_0x25e5c6(0x3bf)](_0x2d7a63(_0x167ea6=>_0x167ea6[_0x25e5c6(0x214)]===_0x3c3869['UPDATE_PERMISSION_OBJ']),_0xf05386(this['dispose$']))[_0x25e5c6(0x236)](_0xa60ca8=>{const _0x427630=_0x25e5c6,_0x32a56d=_0xa60ca8,{objectId:_0x1f8302}=_0x32a56d[_0x427630(0x1cc)],_0x4b20f1=this[_0x427630(0x43d)][_0x427630(0x166)](_0x3ee48e);_0x1f8302===_0x1f1925?_0x4b20f1[_0x427630(0x42b)](_0x1f1925):_0x4b20f1[_0x427630(0x2ee)](_0x1f1925,_0x1f8302);});};_0x45ad1c(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x42608e['UNIVER_SHEET']),this[_0x3621f8(0x1c2)][_0x3621f8(0x493)](_0x42608e[_0x3621f8(0x1c1)]))[_0x3621f8(0x3bf)](_0x5ba592(_0x23e299=>_0x23e299['getUnitId']()),_0x2d7a63(_0x2b4e63=>!_0x59fd1a(_0x2b4e63)),_0xf05386(this['dispose$']))['subscribe'](_0x2fcfed=>{_0x369623(_0x2fcfed);});}};Tt=Sc([Qe(0x0,_0x39c8b8(_0x2fd08f)),Qe(0x1,_0x6b8e83),Qe(0x2,_0x19df2d),Qe(0x3,_0x39c8b8(Ae)),Qe(0x4,_0x39c8b8(_0x50f35b))],Tt);var Ic=Object['defineProperty'],Cc=Object['getOwnPropertyDescriptor'],Ec=(_0x3f6477,_0x36ceef,_0x512754,_0x2f7805)=>{const _0x317413=_0xf37888;for(var _0x196431=_0x2f7805>0x1?void 0x0:_0x2f7805?Cc(_0x36ceef,_0x512754):_0x36ceef,_0x2fefe0=_0x3f6477[_0x317413(0x42c)]-0x1,_0x49f3e5;_0x2fefe0>=0x0;_0x2fefe0--)(_0x49f3e5=_0x3f6477[_0x2fefe0])&&(_0x196431=(_0x2f7805?_0x49f3e5(_0x36ceef,_0x512754,_0x196431):_0x49f3e5(_0x196431))||_0x196431);return _0x2f7805&&_0x196431&&Ic(_0x36ceef,_0x512754,_0x196431),_0x196431;},ni=(_0x3615a4,_0x5444f7)=>(_0x165b8a,_0x487d2c)=>_0x5444f7(_0x165b8a,_0x487d2c,_0x3615a4);let ls=class{constructor(_0x1cfacd,_0x504b55){const _0x2baa0d=_0xf37888;this['_configService']=_0x1cfacd,this[_0x2baa0d(0x169)]=_0x504b55;}async['getUnitOnRev'](_0x2e1fc6,_0x555c34){const _0x3fdca6=_0xf37888;var _0x5cf273;const {unitID:_0x411ae2,type:_0x2f64b6,revision:_0x450421=0x0}=_0x555c34,_0x53f0da=this[_0x3fdca6(0x368)]()+'/'+_0x2f64b6+'/unit/'+_0x411ae2+'/rev/'+_0x450421,_0xb618cb=(await this['_httpService'][_0x3fdca6(0x166)](_0x53f0da))[_0x3fdca6(0x251)],_0x45c19f=(_0x5cf273=_0xb618cb['snapshot'])==null?void 0x0:_0x5cf273['workbook'];if(_0x45c19f){const _0x267997=_0x45c19f==null?void 0x0:_0x45c19f[_0x3fdca6(0x3d4)],_0x4d88ea=_0x4821ce[_0x3fdca6(0x4e5)](_0x1925e3(_0x267997));_0x45c19f[_0x3fdca6(0x3d4)]=_0x4d88ea,Object[_0x3fdca6(0x217)](_0x45c19f[_0x3fdca6(0x3c7)])[_0x3fdca6(0x321)](([,_0x1c595b])=>{const _0x2050a8=_0x3fdca6,_0x339fe7=_0x1c595b[_0x2050a8(0x3d4)],_0x200f87=_0x4821ce[_0x2050a8(0x4e5)](_0x1925e3(_0x339fe7));_0x1c595b[_0x2050a8(0x3d4)]=_0x200f87;});}return _0xb618cb;}async[_0xf37888(0x464)](_0x25a7e0,_0x43fcf9){const _0x517459=_0xf37888,{unitID:_0x195728,type:_0xedd9ae,blockID:_0x595453}=_0x43fcf9,_0x1f721f=this[_0x517459(0x375)]()+'/'+_0xedd9ae+_0x517459(0x4cb)+_0x195728+_0x517459(0x156)+_0x595453;return(await this[_0x517459(0x169)][_0x517459(0x166)](_0x1f721f))['body'];}async[_0xf37888(0x49a)](_0x1274d0,_0x355753){const _0x431327=_0xf37888,{unitID:_0x52e4b6,type:_0x59851f,blockID:_0x53fb1a}=_0x355753,_0x378313=this[_0x431327(0x375)]()+'/block/'+_0x59851f+'/unit/'+_0x52e4b6+_0x431327(0x156)+_0x53fb1a;return(await this[_0x431327(0x169)][_0x431327(0x166)](_0x378313))[_0x431327(0x251)];}async[_0xf37888(0x422)](_0x1e882b,_0x5c1541){const _0x4d8787=_0xf37888,{unitID:_0x5d92fa,type:_0x15036e,from:_0xbfdcb8,to:_0x3a8355}=_0x5c1541,_0x5e0849=this[_0x4d8787(0x375)]()+'/'+_0x15036e+_0x4d8787(0x4cb)+_0x5d92fa+'/fetchmissing?from='+_0xbfdcb8+_0x4d8787(0x25f)+_0x3a8355;return(await this[_0x4d8787(0x169)]['get'](_0x5e0849))[_0x4d8787(0x251)];}[_0xf37888(0x368)](){const _0x3ab7b1=_0xf37888;var _0x1f4ba3;return(_0x1f4ba3=this['_configService'][_0x3ab7b1(0x37a)](lr))!=null?_0x1f4ba3:this[_0x3ab7b1(0x375)]();}[_0xf37888(0x375)](){const _0x145eb6=_0xf37888;var _0x2e4851,_0x1f60d3;const _0x133cf6=this[_0x145eb6(0x1f2)][_0x145eb6(0x37a)](cr),_0x2083ed=this['_configService'][_0x145eb6(0x37a)](ie);return(_0x1f60d3=(_0x2e4851=_0x2083ed==null?void 0x0:_0x2083ed[_0x145eb6(0x146)])!=null?_0x2e4851:_0x133cf6)!=null?_0x1f60d3:hr;}async['getResourcesRequest'](_0x278c00,_0x32e905){const _0x636c7b=_0xf37888,_0x53e243=_0x636c7b(0x2ce)+_0x32e905[_0x636c7b(0x1fd)]+_0x636c7b(0x4cb)+_0x32e905[_0x636c7b(0x24f)]+_0x636c7b(0x508);return(await this['_httpService']['get'](_0x53e243,{'params':{'resourceId':JSON[_0x636c7b(0x387)](_0x32e905[_0x636c7b(0x17a)])}}))[_0x636c7b(0x251)];}[_0xf37888(0x1e3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xf37888(0x196)](){const _0x19ee51=_0xf37888;throw new Error(_0x19ee51(0x305));}['saveChangeset'](){const _0x5ee2fd=_0xf37888;throw new Error(_0x5ee2fd(0x305));}[_0xf37888(0x4e4)](){const _0x12e509=_0xf37888;throw new Error(_0x12e509(0x305));}[_0xf37888(0x293)](){const _0x21bf06=_0xf37888;throw new Error(_0x21bf06(0x305));}};ls=Ec([ni(0x0,_0x45a6b3),ni(0x1,_0x39c8b8(_0xf3436a))],ls);var bc=Object[_0xf37888(0x320)],Tc=Object[_0xf37888(0x26b)],Rc=(_0x1e7733,_0x56ced5,_0x4af483,_0x39515)=>{const _0x154cfe=_0xf37888;for(var _0xb62189=_0x39515>0x1?void 0x0:_0x39515?Tc(_0x56ced5,_0x4af483):_0x56ced5,_0x147194=_0x1e7733[_0x154cfe(0x42c)]-0x1,_0x786ba;_0x147194>=0x0;_0x147194--)(_0x786ba=_0x1e7733[_0x147194])&&(_0xb62189=(_0x39515?_0x786ba(_0x56ced5,_0x4af483,_0xb62189):_0x786ba(_0xb62189))||_0xb62189);return _0x39515&&_0xb62189&&bc(_0x56ced5,_0x4af483,_0xb62189),_0xb62189;},et=(_0xcedc12,_0x40b23f)=>(_0x10a1e6,_0x254c99)=>_0x40b23f(_0x10a1e6,_0x254c99,_0xcedc12);let _s=class extends _0x4a62a2{constructor(_0x96ae70,_0x560a21,_0x50d0e0,_0x2bff3f,_0x436e9f){const _0x33bc84=_0xf37888;super(_0x96ae70,_0x560a21,_0x50d0e0),this[_0x33bc84(0x310)]=_0x2bff3f,this[_0x33bc84(0x2c3)]=_0x436e9f;}[_0xf37888(0x446)](_0x1a56cb,_0x2a845a){const _0x2bfbba=_0xf37888,_0x1d2850=this[_0x2bfbba(0x275)](_0x1a56cb);if(_0x1d2850)try{const _0x34b692=this['_transformStack'](_0x1d2850,_0x2a845a);this[_0x2bfbba(0x243)](_0x1a56cb,_0x34b692);}catch(_0x50bd88){this[_0x2bfbba(0x2c3)][_0x2bfbba(0x329)](_0x2bfbba(0x333),_0x50bd88),this['_clearUndo'](_0x1a56cb);}const _0x154f92=this[_0x2bfbba(0x43a)](_0x1a56cb);if(_0x154f92)try{const _0x4e9fed=this[_0x2bfbba(0x254)](_0x154f92,_0x2a845a);this[_0x2bfbba(0x3df)](_0x1a56cb,_0x4e9fed);}catch(_0x324f1d){this['_logService'][_0x2bfbba(0x329)](_0x324f1d),this[_0x2bfbba(0x143)](_0x1a56cb);}}[_0xf37888(0x33f)](_0xc0966c){const _0x510ebc=_0xf37888,_0x6fac53=this[_0x510ebc(0x275)](_0xc0966c);_0x6fac53&&(_0x6fac53[_0x510ebc(0x42c)]=0x0,this[_0x510ebc(0x44c)]());}['_clearRedo'](_0x553707){const _0x58c156=_0xf37888,_0x438f6a=this[_0x58c156(0x43a)](_0x553707);_0x438f6a&&(_0x438f6a[_0x58c156(0x42c)]=0x0,this[_0x58c156(0x44c)]());}[_0xf37888(0x243)](_0x191744,_0x4862be){const _0x522686=_0xf37888;this[_0x522686(0x483)][_0x522686(0x1ec)](_0x191744,_0x4862be),this[_0x522686(0x44c)]();}[_0xf37888(0x3df)](_0x1c66a1,_0x7d8606){const _0x182636=_0xf37888;this['_redoStacks']['set'](_0x1c66a1,_0x7d8606),this[_0x182636(0x44c)]();}[_0xf37888(0x254)](_0x44fc46,_0xc64898){const _0x1546cf=_0xf37888,_0x152017=[];let _0x52ca46=_0xc64898,_0x4a610f=_0xc64898;for(let _0x2b4c97=_0x44fc46[_0x1546cf(0x42c)]-0x1;_0x2b4c97>=0x0;_0x2b4c97--){const {unitID:_0x398f9a,undoMutations:_0x175c4f,redoMutations:_0x3bdfa7}=_0x44fc46[_0x2b4c97],_0xa45c42=this['_transformService'][_0x1546cf(0x134)](_0x52ca46,_0x175c4f),_0x42eae5=this[_0x1546cf(0x310)][_0x1546cf(0x134)](_0x4a610f,_0x3bdfa7);if(_0x40847e(_0xa45c42)||_0x40847e(_0x42eae5)){this['_logService']['error']('[CollaborationUndoRedoService]',_0x1546cf(0x346),_0xa45c42,_0x42eae5);break;}_0x52ca46=_0xa45c42[_0x1546cf(0x19e)],_0x4a610f=_0x42eae5[_0x1546cf(0x19e)],_0x152017[_0x1546cf(0x270)]({'unitID':_0x398f9a,'undoMutations':_0xa45c42[_0x1546cf(0x44b)],'redoMutations':_0x42eae5[_0x1546cf(0x44b)]});}return _0x152017['reverse']();}};_s=Rc([et(0x0,_0x6b8e83),et(0x1,_0x48fc43),et(0x2,_0x1b23d4),et(0x3,_0x36ceed),et(0x4,_0x399eca)],_s);class yc extends _0x3c16d2{constructor(){const _0x57fd6c=_0xf37888;super(),g(this,_0x57fd6c(0x22a)),this[_0x57fd6c(0x22a)]=_0x5ea6fd(window,_0x57fd6c(0x2fa))['pipe'](_0x1825a9(this['dispose$']),_0xac7976(0x1),_0x20444c(void 0x0));}[_0xf37888(0x341)](_0x37046f,_0x5cdd16,_0x3c1cac=!0x1){const _0xc4630=_0xf37888,_0x323207=new URL(window[_0xc4630(0x205)][_0xc4630(0x2b7)]);_0x323207[_0xc4630(0x3e0)][_0xc4630(0x1ec)](_0x37046f,_0x5cdd16),_0x3c1cac?window['history']['replaceState']('','',_0x323207[_0xc4630(0x492)]()):window['history'][_0xc4630(0x191)]('','',_0x323207[_0xc4630(0x492)]());}[_0xf37888(0x224)](_0x26e23d,_0x16dddf=!0x1){const _0x24b0ca=_0xf37888,_0x81ffa1=new URL(window['location'][_0x24b0ca(0x2b7)]);_0x81ffa1['searchParams'][_0x24b0ca(0x3ab)](_0x26e23d),_0x16dddf?window[_0x24b0ca(0x165)][_0x24b0ca(0x4c1)]('','',_0x81ffa1[_0x24b0ca(0x492)]()):window[_0x24b0ca(0x165)][_0x24b0ca(0x191)]('','',_0x81ffa1[_0x24b0ca(0x492)]());}[_0xf37888(0x190)](_0x2ab6fa){const _0x2f468c=_0xf37888;var _0x3834c6;return(_0x3834c6=new URL(window['location'][_0x2f468c(0x2b7)])['searchParams'][_0x2f468c(0x166)](_0x2ab6fa))!=null?_0x3834c6:void 0x0;}}var zi=Object['defineProperty'],Oc=Object['getOwnPropertyDescriptor'],wc=(_0x5a6cfa,_0x1c11f7,_0x42cdb4)=>_0x1c11f7 in _0x5a6cfa?zi(_0x5a6cfa,_0x1c11f7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42cdb4}):_0x5a6cfa[_0x1c11f7]=_0x42cdb4,Dc=(_0x5cff08,_0x17f569,_0x513a45,_0x120956)=>{for(var _0x81db4e=_0x120956>0x1?void 0x0:_0x120956?Oc(_0x17f569,_0x513a45):_0x17f569,_0x42a9f2=_0x5cff08['length']-0x1,_0x7d9344;_0x42a9f2>=0x0;_0x42a9f2--)(_0x7d9344=_0x5cff08[_0x42a9f2])&&(_0x81db4e=(_0x120956?_0x7d9344(_0x17f569,_0x513a45,_0x81db4e):_0x7d9344(_0x81db4e))||_0x81db4e);return _0x120956&&_0x81db4e&&zi(_0x17f569,_0x513a45,_0x81db4e),_0x81db4e;},lt=(_0x2544c2,_0x32b0e1)=>(_0xfc1e98,_0x159796)=>_0x32b0e1(_0xfc1e98,_0x159796,_0x2544c2),Pc=(_0x5199d1,_0x8598cd,_0x309a76)=>wc(_0x5199d1,_0x8598cd+'',_0x309a76);const Uc=_0xf37888(0x220);let us=class extends _0x7a55e0{constructor(_0x226e7d=Rr,_0x525f30,_0xb814a7,_0x3d4084,_0x2a8d36){const _0x4844b9=_0xf37888;super(),this['_config']=_0x226e7d,this['_logService']=_0x525f30,this[_0x4844b9(0x1b5)]=_0xb814a7,this[_0x4844b9(0x43d)]=_0x3d4084,this['_configService']=_0x2a8d36;const {..._0x13d22c}=this['_config'];this[_0x4844b9(0x1f2)]['setConfig'](ie,_0x13d22c);}[_0xf37888(0x37b)](){const _0x395888=_0xf37888;this['_registerDependencies'](),this[_0x395888(0x355)]();}[_0xf37888(0x49f)](){_0x5f3d41(this['_injector'],[[Ct]]);}['onRendered'](){const _0x2624fe=_0xf37888;this[_0x2624fe(0x1da)]();}[_0xf37888(0x21f)](){const _0x4e2824=_0xf37888;var _0x1bd9db,_0x26fc06,_0x1179d8,_0xd94e1c;this[_0x4e2824(0x43d)][_0x4e2824(0x4af)](_0x46b156)&&this[_0x4e2824(0x2c3)][_0x4e2824(0x329)](_0x4e2824(0x119),_0x4e2824(0x44a));const _0x25d9e6=[[_0x46b156,{'useClass':_s}],[Ae],[bs],[Bi,{'useClass':yc}],[Ne],[q],[_0x1827c1],[vt],[pt],[ft],[mt],[Cs],[Et],[bt],[wi],[Tt],[Oi,{'useClass':(_0x26fc06=(_0x1bd9db=this['_config'])==null?void 0x0:_0x1bd9db[_0x4e2824(0x14a)])!=null?_0x26fc06:es}],[_0x5f2fc3,{'useClass':ls}],[_0xb968ca,{'useClass':cs}],[_0x548da5,{'useClass':hs}],[it],[It],[St],[Ct],[Ve]];(_0x1179d8=this['_config'])!=null&&_0x1179d8[_0x4e2824(0x1c8)]&&_0x25d9e6[_0x4e2824(0x270)]([Rt,{'useClass':ro}]),_0x1e42a3(this['_injector'],_0x208ba0(_0x25d9e6,(_0xd94e1c=this['_config'])==null?void 0x0:_0xd94e1c['override']));}[_0xf37888(0x1da)](){const _0x4bae3e=_0xf37888;this[_0x4bae3e(0x3ec)](this[_0x4bae3e(0x1b5)][_0x4bae3e(0x50c)](_0x42608e[_0x4bae3e(0x1c1)],[os])),this[_0x4bae3e(0x3ec)](this[_0x4bae3e(0x1b5)][_0x4bae3e(0x50c)](_0x42608e[_0x4bae3e(0x19a)],[as]));}[_0xf37888(0x355)](){const _0x593549=_0xf37888;var _0x159498,_0x2617a2;this[_0x593549(0x43d)][_0x593549(0x166)](_0xf3436a)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x8c39a4({'maxParallel':0x6})}),(_0x159498=this['_config'])!=null&&_0x159498[_0x593549(0x47b)]||this['_injector'][_0x593549(0x166)](q)[_0x593549(0x3a7)](),(_0x2617a2=this[_0x593549(0x472)])!=null&&_0x2617a2['enableAuthServer']&&_0x5f3d41(this[_0x593549(0x43d)],[[Et]]),_0x5f3d41(this[_0x593549(0x43d)],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Pc(us,'pluginName',Uc),us=Dc([_0x1c29a2(_0x4a89ea,_0x4caaee),lt(0x1,_0x399eca),lt(0x2,_0x4e7ca1),lt(0x3,_0x39c8b8(_0x2fd08f)),lt(0x4,_0x45a6b3)],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 _0x3238bf=_0x466f;(function(_0x3aa645,_0x5b972d){const _0x3943b3=_0x466f,_0x12dd76=_0x3aa645();while(!![]){try{const _0xc9523b=parseInt(_0x3943b3(0x159))/0x1*(-parseInt(_0x3943b3(0x2b3))/0x2)+parseInt(_0x3943b3(0x520))/0x3+parseInt(_0x3943b3(0x317))/0x4+parseInt(_0x3943b3(0x3b5))/0x5+parseInt(_0x3943b3(0x403))/0x6*(parseInt(_0x3943b3(0x488))/0x7)+-parseInt(_0x3943b3(0x494))/0x8+-parseInt(_0x3943b3(0x1f0))/0x9;if(_0xc9523b===_0x5b972d)break;else _0x12dd76['push'](_0x12dd76['shift']());}catch(_0x25da78){_0x12dd76['push'](_0x12dd76['shift']());}}}(_0x2abb,0xd5565));var qi=Object[_0x3238bf(0x535)],Xi=(_0x210e51,_0x5a6ca6,_0x1b6fb5)=>_0x5a6ca6 in _0x210e51?qi(_0x210e51,_0x5a6ca6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b6fb5}):_0x210e51[_0x5a6ca6]=_0x1b6fb5,g=(_0x5e447b,_0x23aa6b,_0x5dc5f4)=>Xi(_0x5e447b,typeof _0x23aa6b!=_0x3238bf(0x226)?_0x23aa6b+'':_0x23aa6b,_0x5dc5f4);import{createIdentifier as _0x271919,Inject as _0x4a2654,Disposable as _0x1bec45,DisposableCollection as _0x2bf957,toDisposable as _0x164be7,IConfigService as _0x12cd24,ILogService as _0x5d0f53,UserManagerService as _0x58532f,UniverInstanceType as _0x5997c4,IUniverInstanceService as _0x21deaa,LocaleService as _0xc7611d,Optional as _0x384f19,RxDisposable as _0x9ae76a,Injector as _0x28b8e2,Tools as _0x3a7870,ILocalStorageService as _0x99c20,Rectangle as _0x185edd,ICommandService as _0x462ea5,DOC_RANGE_TYPE as _0x507957,JSONX as _0x32d452,CommandType as _0x4d0a82,IPermissionService as _0x3cddab,IUndoRedoService as _0x558053,sequenceExecute as _0x292495,debounce as _0x5d913f,COLORS as _0x33477d,ColorKit as _0x1fdc1d,ThemeService as _0x251573,fromEventSubject as _0xde2bf0,useDependency as _0x120ce2,connectInjector as _0x3cd6f0,Workbook as _0x166f1e,isInternalEditorID as _0x1e2c2b,LocalUndoRedoService as _0x3cb107,IContextService as _0x1b64c2,DependentOn as _0xcd516b,Plugin as _0x31d01a,touchDependencies as _0x2de621,IAuthzIoService as _0x26b704,registerDependencies as _0x5e3113,mergeOverrideWithDependencies as _0x2a6101}from'@univerjs/core';import{Subject as _0x302e6e,merge as _0xf2f2cb,takeUntil as _0x4b2adb,BehaviorSubject as _0x353bc7,distinctUntilChanged as _0x120bb7,fromEvent as _0xfa2d6a,ReplaySubject as _0x5edbc1,take as _0x1cb779,map as _0x10d2b5,shareReplay as _0x2ad7f3,of as _0x165a23,debounceTime as _0x5ec3df,filter as _0x2c9c0f,switchMap as _0xb18e1b,combineLatest as _0xe40d54,concatMap as _0x46d7c7,mapTo as _0x36fe6d}from'rxjs';import{map as _0x46b391,take as _0x1070e6,filter as _0x2fd833,delay as _0xa5f912,throttleTime as _0x5ca328,takeUntil as _0x4cba74,switchMap as _0x234ed0}from'rxjs/operators';import{MessageType as _0x62271a,Tooltip as _0x504180}from'@univerjs/design';import{IBeforeCloseService as _0xdad7a5,IMessageService as _0x2f8dd1,INotificationService as _0x447575,useObservable as _0x1e48c7,BuiltInUIPart as _0x2ef7c3,IUIPartsService as _0x3c9e6a}from'@univerjs/ui';import{HTTPService as _0x4ca339,WebSocketService as _0xbe8463,MergeInterceptorFactory as _0x391dde,HTTPRequest as _0x9398ae,UniverNetworkPlugin as _0x1fe2e7,ThresholdInterceptorFactory as _0x436092}from'@univerjs/network';import{CollaborationEvent as _0x2c5a34,parseChangesetToProtocol as _0x33baa3,ISnapshotServerService as _0x54fc87,isTransformMutationFailure as _0x2e9e95,isTransformMutationsWithChangesetSuccess as _0xa7de0,ITransformService as _0x945511,RevisionService as _0x56b96b,mapDocumentTypeToUniverType as _0x952321,isTransformChangesetsSuccess as _0x23fd88,CompressMutationService as _0x4816dd,parseProtocolChangeset as _0x3249cc,SnapshotService as _0x1ff8b0,textEncoder as _0x1b8593,b64DecodeUnicode as _0x37b045,isTransformMutationsWithChangesetFailure as _0x31d7c3,UniverCollaborationPlugin as _0x5246a2}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x3a95be}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x26849f,DocStateChangeManagerService as _0x55dde0,NodePositionConvertToCursor as _0x2dff16,NodePositionConvertToRectRange as _0x2cbacf,TEXT_RANGE_LAYER_INDEX as _0x4efb91,SetDocZoomRatioOperation as _0x835516}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x42bfc2,SetSelectionsOperation as _0xb384b4,InsertSheetMutation as _0x2c3a31,EmptyMutation as _0x175b9b,WorkbookEditablePermission as _0x5f270b,RefRangeService as _0x60b03d,EffectRefRangId as _0xe2cfb6,handleIRemoveRow as _0x463d30,handleIRemoveCol as _0x3af346,handleMoveRange as _0x19de67,handleInsertRow as _0x4a534d,handleInsertRangeMoveRight as _0x3b8c8b,handleInsertRangeMoveDown as _0x9ec55f,handleInsertCol as _0x41a0bd,handleDeleteRangeMoveUp as _0x17c9e0,handleDeleteRangeMoveLeft as _0x1e1209,runRefRangeMutations as _0x267af5,SetWorksheetActivateCommand as _0x3ee2d1}from'@univerjs/sheets';import{IRenderManagerService as _0x273231,Shape as _0x3f7361,Rect as _0x48bc86,getColor as _0x5726a7,RegularPolygon as _0x36efef,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x15ccc7,Vector2 as _0x1691aa}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x155680,RichTextEditingMutation as _0x2554d0,SetTextSelectionsOperation as _0x30c83c,DocSkeletonManagerService as _0x532f07}from'@univerjs/docs';import{ImageSourceType as _0x31ddf5,ImageUploadStatusType as _0x2cdd79,IImageIoService as _0x1a8564}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x2c7c2b,serializeRangeWithSheet as _0x2e0d00}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x15a5fb,VIEWPORT_KEY as _0x578f46,getCoordByCell as _0x3d3c8c,getSheetObject as _0xd58b34,SheetPermissionInitController as _0x2b81e1}from'@univerjs/sheets-ui';import _0x37429d,{forwardRef as _0x291cc6,useRef as _0x20c041,createElement as _0x43b3d3,useCallback as _0x13394c}from'react';import{IRemoteInstanceService as _0x151359}from'@univerjs/rpc';const cr=_0x3238bf(0x3ca),hr=_0x3238bf(0x3f6),lr='SNAPSHOT_URL_KEY',Xc='SEND_CHANGESET_TIMEOUT',_r=0x7d0,ur=_0x3238bf(0x560),dr=_0x3238bf(0x205),fr=_0x3238bf(0x47c),vr=0x7530,bi=_0x3238bf(0x496),Ti=0x4e20,mr=0x4e20,pr=_0x3238bf(0x4b8),gr=0x3,Sr=_0x3238bf(0x49f),Ir=0x3e8,Cr=_0x3238bf(0x512),Er='/universer-api/comb',br=_0x3238bf(0x3fe),Tr='/universer-api/oidc/authpage';var Ri=(_0x3ceb58=>(_0x3ceb58[_0x3ceb58[_0x3238bf(0x4c6)]=0x0]=_0x3238bf(0x4c6),_0x3ceb58[_0x3ceb58['OK']=0x1]='OK',_0x3ceb58[_0x3ceb58[_0x3238bf(0x3f9)]=0x2]=_0x3238bf(0x3f9),_0x3ceb58[_0x3ceb58[_0x3238bf(0x287)]=0x3]='PERMISSION_DENIED',_0x3ceb58[_0x3ceb58[_0x3238bf(0x19b)]=0x4]=_0x3238bf(0x19b),_0x3ceb58[_0x3ceb58[_0x3238bf(0x36f)]=0x5]=_0x3238bf(0x36f),_0x3ceb58[_0x3ceb58[_0x3238bf(0x4dc)]=0x6]=_0x3238bf(0x4dc),_0x3ceb58[_0x3ceb58[_0x3238bf(0x4f8)]=0x7]='INVALID_ARGUMENT',_0x3ceb58[_0x3ceb58[_0x3238bf(0x530)]=0x8]='TOO_MANY_REQUESTS',_0x3ceb58[_0x3ceb58[_0x3238bf(0x15a)]=0x9]=_0x3238bf(0x15a),_0x3ceb58[_0x3ceb58[_0x3238bf(0x339)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3ceb58[_0x3ceb58['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3238bf(0x196),_0x3ceb58[_0x3ceb58[_0x3238bf(0x216)]=0x1772]=_0x3238bf(0x216),_0x3ceb58[_0x3ceb58[_0x3238bf(0x564)]=0x1773]=_0x3238bf(0x564),_0x3ceb58[_0x3ceb58['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x3ceb58[_0x3ceb58[_0x3238bf(0x4ad)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3ceb58[_0x3ceb58[_0x3238bf(0x48a)]=0x1b5b]=_0x3238bf(0x48a),_0x3ceb58[_0x3ceb58['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3ceb58[_0x3ceb58[_0x3238bf(0x224)]=0x1b5d]='APPLY_DUPLICATED',_0x3ceb58[_0x3ceb58[_0x3238bf(0x4a9)]=0x1f41]=_0x3238bf(0x4a9),_0x3ceb58[_0x3ceb58[_0x3238bf(0x48d)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3ceb58[_0x3ceb58[_0x3238bf(0x39e)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3ceb58[_0x3ceb58[_0x3238bf(0x2b0)]=0x232b]=_0x3238bf(0x2b0),_0x3ceb58[_0x3ceb58[_0x3238bf(0x485)]=0x232c]=_0x3238bf(0x485),_0x3ceb58[_0x3ceb58[_0x3238bf(0x333)]=0x232d]=_0x3238bf(0x333),_0x3ceb58[_0x3ceb58[_0x3238bf(0x492)]=0x2711]=_0x3238bf(0x492),_0x3ceb58[_0x3ceb58[_0x3238bf(0x218)]=0x2712]=_0x3238bf(0x218),_0x3ceb58[_0x3ceb58[_0x3238bf(0x3ce)]=0x2713]=_0x3238bf(0x3ce),_0x3ceb58[_0x3ceb58[_0x3238bf(0x413)]=0x2714]=_0x3238bf(0x413),_0x3ceb58[_0x3ceb58['UNRECOGNIZED']=-0x1]=_0x3238bf(0x551),_0x3ceb58))(Ri||{}),ce=(_0xe61eb8=>(_0xe61eb8[_0xe61eb8['UNIVER_UNKNOWN']=0x0]=_0x3238bf(0x434),_0xe61eb8[_0xe61eb8['UNIVER_DOC']=0x1]=_0x3238bf(0x32f),_0xe61eb8[_0xe61eb8[_0x3238bf(0x49a)]=0x2]=_0x3238bf(0x49a),_0xe61eb8[_0xe61eb8['UNIVER_SLIDE']=0x3]=_0x3238bf(0x23d),_0xe61eb8[_0xe61eb8[_0x3238bf(0x43e)]=0x4]='UNIVER_PROJECT',_0xe61eb8[_0xe61eb8['UNRECOGNIZED']=-0x1]=_0x3238bf(0x551),_0xe61eb8))(ce||{}),W=(_0x537aec=>(_0x537aec[_0x537aec['UNKNOWN_CMD']=0x0]=_0x3238bf(0x38e),_0x537aec[_0x537aec[_0x3238bf(0x2e5)]=0x1]='HELLO',_0x537aec[_0x537aec['JOIN']=0x2]=_0x3238bf(0x212),_0x537aec[_0x537aec[_0x3238bf(0x35a)]=0x3]=_0x3238bf(0x35a),_0x537aec[_0x537aec['INGEST']=0x4]=_0x3238bf(0x145),_0x537aec[_0x537aec[_0x3238bf(0x39d)]=0x5]=_0x3238bf(0x39d),_0x537aec[_0x537aec[_0x3238bf(0x416)]=0x6]=_0x3238bf(0x416),_0x537aec[_0x537aec[_0x3238bf(0x551)]=-0x1]=_0x3238bf(0x551),_0x537aec))(W||{}),Is=(_0x1cdf2f=>(_0x1cdf2f[_0x1cdf2f[_0x3238bf(0x3fa)]=0x0]=_0x3238bf(0x3fa),_0x1cdf2f[_0x1cdf2f['OK']=0x1]='OK',_0x1cdf2f[_0x1cdf2f[_0x3238bf(0x505)]=0x2]=_0x3238bf(0x505),_0x1cdf2f[_0x1cdf2f[_0x3238bf(0x551)]=-0x1]=_0x3238bf(0x551),_0x1cdf2f))(Is||{}),yi=(_0x31ed82=>(_0x31ed82[_0x31ed82[_0x3238bf(0x1de)]=0x0]=_0x3238bf(0x1de),_0x31ed82[_0x31ed82[_0x3238bf(0x158)]=0x1]=_0x3238bf(0x158),_0x31ed82[_0x31ed82[_0x3238bf(0x4ca)]=0x2]='HttpExport',_0x31ed82[_0x31ed82[_0x3238bf(0x352)]=0x3]=_0x3238bf(0x352),_0x31ed82[_0x31ed82[_0x3238bf(0x4f6)]=0x4]='UnitSnapshot',_0x31ed82[_0x31ed82['UNRECOGNIZED']=-0x1]=_0x3238bf(0x551),_0x31ed82))(yi||{});const ie=_0x3238bf(0x3a4),Rr={};function yr(_0x1c95fb){const _0x2c7028=_0x3238bf;var _0x4ab8ce,_0x530d93,_0x2499da,_0x1c3664,_0x44a939;const _0x3cd37a=_0x1c95fb[_0x2c7028(0x209)],_0x4ba3d7=JSON[_0x2c7028(0x47a)](_0x3cd37a);switch(_0x4ba3d7['cmd']){case W[_0x2c7028(0x39d)]:case W[_0x2c7028(0x2e5)]:{const _0x3678f4=_0x4ba3d7[_0x2c7028(0x369)];return{..._0x4ba3d7,'data':_0x3678f4,'cmd':_0x4ba3d7[_0x2c7028(0x443)]};}case W[_0x2c7028(0x212)]:{const _0x38c0ba=_0x4ba3d7['joinRsp'];return{..._0x4ba3d7,'data':_0x38c0ba,'cmd':_0x4ba3d7['cmd']};}case W[_0x2c7028(0x416)]:{const _0x5e7b00=_0x4ba3d7['collaMsg'];switch(_0x5e7b00[_0x2c7028(0x448)]){case _0x2c5a34[_0x2c7028(0x17d)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':(_0x4ab8ce=_0x5e7b00[_0x2c7028(0x1e8)])==null?void 0x0:_0x4ab8ce['cs']},'cmd':_0x4ba3d7[_0x2c7028(0x443)]};case _0x2c5a34['CHANGESET_ACK']:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':(_0x530d93=_0x5e7b00['csAckEvent'])==null?void 0x0:_0x530d93['cs']},'cmd':_0x4ba3d7[_0x2c7028(0x443)]};case _0x2c5a34[_0x2c7028(0x2d8)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':(_0x2499da=_0x5e7b00[_0x2c7028(0x206)])==null?void 0x0:_0x2499da['cs']},'cmd':_0x4ba3d7[_0x2c7028(0x443)]};case _0x2c5a34[_0x2c7028(0x3c8)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':(_0x1c3664=_0x5e7b00['csRejEvent'])==null?void 0x0:_0x1c3664['cs']},'cmd':_0x4ba3d7[_0x2c7028(0x443)]};case _0x2c5a34[_0x2c7028(0x28e)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':(_0x44a939=_0x5e7b00[_0x2c7028(0x3b9)])==null?void 0x0:_0x44a939['cs']},'cmd':_0x4ba3d7[_0x2c7028(0x443)]};case _0x2c5a34[_0x2c7028(0x42c)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':_0x5e7b00[_0x2c7028(0x515)]},'cmd':_0x4ba3d7['cmd']};case _0x2c5a34[_0x2c7028(0x382)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':_0x5e7b00['joinEvent']},'cmd':_0x4ba3d7['cmd']};case _0x2c5a34[_0x2c7028(0x24d)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':_0x5e7b00[_0x2c7028(0x405)]},'cmd':_0x4ba3d7['cmd']};case _0x2c5a34[_0x2c7028(0x319)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':_0x5e7b00['liveShareNewHost']},'cmd':_0x4ba3d7[_0x2c7028(0x443)]};case _0x2c5a34['LIVESHARE_FETCH_OPERATIONS']:case _0x2c5a34['LIVESHARE_OPERATION']:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':_0x5e7b00[_0x2c7028(0x45d)]},'cmd':_0x4ba3d7['cmd']};case _0x2c5a34[_0x2c7028(0x20c)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':_0x5e7b00[_0x2c7028(0x156)]},'cmd':_0x4ba3d7[_0x2c7028(0x443)]};case _0x2c5a34['MSG_FOR_ERROR']:return{..._0x4ba3d7,'data':_0x5e7b00,'cmd':_0x4ba3d7[_0x2c7028(0x443)]};case _0x2c5a34['COMMENT_UPDATE']:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':_0x5e7b00[_0x2c7028(0x238)]},'cmd':_0x4ba3d7[_0x2c7028(0x443)]};case _0x2c5a34[_0x2c7028(0x24b)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':_0x5e7b00['updatePermissionObjEvent']},'cmd':_0x4ba3d7[_0x2c7028(0x443)]};case _0x2c5a34[_0x2c7028(0x328)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':_0x5e7b00[_0x2c7028(0x4b7)]},'cmd':_0x4ba3d7[_0x2c7028(0x443)]};default:return _0x4ba3d7;}}default:return _0x4ba3d7;}}function _0x2abb(){const _0x3dfc99=['crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','SNAPSHOT_SERVER_URL_KEY','cursorInfo$','_replaceFileID','_getAnchorBounding','YUUMI_RATE_OVER_LIMIT','_sender','_onRemoteACK','_name','state','getDeserializedSheetBlock','_getSendChangesetTimeout','downloadEndpointUrl','redoState','_handleHover','_replayCachedMutations','defIds','\x20-\x20','ciphertext','onStarting','finalize','floor','disposeWithMe','_eventUnsubscribe','_handleJoinEvent','fillText','members','onlineStatusTitle','_startCollaboration','getOwnPropertySymbols','collab-client.tooltip.reconnect','number','searchParams','jiqing500','_scheduleHeartbeat','ERROR_IMAGE_TYPE','saveChangeset','_toggleOnline','_getMergeRange','_nRounds','registerRefRange','NOT_COLLAB','location','_substituteRedoStack','_toggleOffline','/universer-api/snapshot','isPermissionRej','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','INTERNAL_ERROR','UNKNOWN_CODE','_anchor','_updateCollabCursors','getUnitId','LOGIN_URL_KEY','_status$','onStateChange','SYNCED','removeParam','48upXlhD','getConfig','leaveEvent','allowed','getVpScrollXYInfoByPosToVp','&to=','from','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','collaboration-client.offline-data-not-saved','getUndoRedoMutationParamsCache','_timeoutTimer','enc','fetch_missing','salt','message$','beginPath','YUUMI_SUBSCRIPTION_NOT_FOUND','_compressMutationService','onTransformState','RECV','auth.needGotoLoginAlert','roles','push','_transformService','_startTelemetryCollaborationNewChangeset','listCollaborators','idSuffix','/object','state$','sendChangesetTimeout','socket$','getMemberID','slice','getCollabCursors$','withCredentials','commentUpdate$','fromCharCode','activeSheet$','_data','session.collaboration-timeout','decryptBlock','UPDATE_CURSOR','sheets','_HTTPService','_entities','collabSubmitChangesetUrl','image/png','Warning','_init','UNIVER_UNKNOWN','ONLINE','conflict','MUTATION','updateMember','prototype','byteOffset','subscribe','_change$','getItem','UNIVER_PROJECT','_collabCursorController','_hideTimer','getRandomValues','width','cmd','_getAPIPrefixPath','revision','onCommandExecuted','_sheetSkeletonManagerService','eventID','_onFetchMissResult','complete','userID','patch','UUID','listRoles','reduce','snapshot','_telemetryService','registerComponent','startTime','[CollaborationSessionService]:\x20socket\x20error','_key','_onConnectionOpen','error$','reset','save','delete','collabStatus.offline','_syncEditingCollabCursor','liveShareOperation','text','_transformStateCache','COMPRESS_MUTATION_APPLY','_createHelper','_sendingTimer','Unknown\x20user','focused$','_notificationService','fromCollab','createSocket','collab-rect-range-','off-line-single','online','_onCombEvent','href','call','getUnhiddenWorksheets','none','roomInfos','m2Prime','_state$','override','_commentUpdate$','uploadFileServerUrl','CipherParams','_getSignURL','_initStatusListener','toggleOffline','parse','urlChange$','HEARTBEAT_INTERVAL','bottom','splice','Base64','OpenSSL','_themeService','/block/','x-univer-host','_transformRemoteChangesetByStateCache','LICENSE_EXPORT_SIZE_EXCEEDED','setActiveRange','addObject','637784SNQuIV','ReactCurrentOwner','APPLY_REVISION_CONFILICT','_createInitialState','getCollabEntity','LICENSE_MAX_UNITS_EXCEEDED','getFocusedUnit','byteLength','startsWith','save\x20fail\x20reason\x20is\x20','YUUMI_UNABLE_LOAD_URL','_schedule','8703152xLYAKF','#FFF','HEARTBEAT_TIMEOUT','black','_getSaveTimeout','onMouseMove','UNIVER_SHEET','updateOfflineData','_onRecvEvent','BASE64','execute','LOCAL_CACHE_INTERVAL','isArray','Malformed\x20UTF-8\x20data','_textBubble','top','use','rev','univerjs-icon\x20univerjs-icon-','propertyIsEnumerable','snapshotServerUrl','CONNECTOR_DATA_TOO_LARGE','[SyncedState]:\x20received\x20rejection.','_cursor','_awaitingChangeset','APPLY_NON_SEQUENTIAL_REVISION','close$','uni.network.url-service','_redoStacks','clear','post','requestParams','interceptor','forEach','createDecryptor','shouldCloseConn','RETRY_CONNECTING_MAX_COUNT','repeat','react.element','BlockCipher','children','jsx','_send','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_scheduleTimestamp','PSEUDO_FETCH_MISSING_RESULT','result','_clearOtherTimers','SerializableCipher','algo','UNDEFINED','decrypt','onSyncEditingCollabCursor','_userManagerService','HttpExport','transformUndoRedo','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','originalMeta','_messageService','type','univer-online','univer-online-status','_nDataBytes','target','getResourcesRequest','VIEW_MAIN','getCurrent','_resendTimer','substr','socketService','_process','getRenderById','ALREADY_EXISTS','bind','mutations','encode','concat','_docTransformStateCacheService','replace','_imageSourceCache','RECT','confirm','append','objects','dispose$','unitID','onSendChangeset','createCollaborator','reqId','__creator','_getSnapshotAPIPrefix','responseType','c1Prime','_clearScheduledTask','_clearCollaborationTimeoutTimer','_cursorInfo$','ranges','univer-online-status-title','UnitSnapshot','equals','INVALID_ARGUMENT','apply','[FetchMissState]','_members','keySize','_collaborationController','_cachedData','currentTheme$','_docSyncEditingCollabCursorService','every','_waitCount','kdf','_transformRemoteChangesetByIMECache','FAIL','randomBytes','InsertRangeMoveRightCommandId','_hash','submit\x20changeset\x20error!','_transformUndoredo','getSheetBySheetId','_onOffline','code','assign','extend','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','/-/object/list','COLLAB_SUBMIT_CHANGESET_URL','_submitChangeset','[UniverCollaborationClientPlugin]','updateCursorEvent','trim','_retryCount','_colorIndex','signUrlServerUrl','enableOfflineEditing','_unitID','_localStorageService','MoveRangeCommandId','_online','_initResize','2197515kCqgBK','Utf8','OnLineSingle','objectType','/unit/','_commandService','skeleton','_loadDoc','SHA1','/universer-api/snapshot/','editing\x20status\x20changed\x20to','HMAC','[PendingState]:\x20received\x20rejection.','createInstance','_hover','getTime','TOO_MANY_REQUESTS','_hasher','_assignedColors','url(#off-line-single_clip0_910_343)','entries','defineProperty','_acknowledgedAwaitingChangeset','toRgbString','retryConnectingInterval','onlineStatusIcon','RemoveColCommandId','_entityInit$','clone','encrypt','jsxs','whenReady','getSheetBlock','compute','startColumn','saveSnapshot','deepClone','_selfUnitIDs','setItem','getUnit','image/jpeg','Hasher','0\x200\x2017\x2016','collabStatus.conflict','getOffsetConfig','c2Prime','setAlpha','_loadSheet','not_collab','UNRECOGNIZED','_ws','_event$','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/universer-api/authz','readAsDataURL','encryptBlock','roomMembers','IDLE','Cipher','?size=','#fff','open$','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','capture','COLLAB_WEB_SOCKET_URL','onRemoteChangeset','collabWebSocketUrl','getStateCache','ENSURE_SNAPSHOT_EXECUTION','Fragment','addEventListener','set','setConfig','row','RemoveRowCommandId','_localeService','words','_clearHeartbeatTimer','_waitForHeartbeatResponse','INGEST','currentSkeleton$','sid','HmacSHA1','crypto','collabStatus.notCollab','close','[CollaborationSession]','COMPRESS_MUTATION_SEND','_socketService','xlink:href','colorChannel1','_injector','_handler','[SyncedState]:\x20received\x20acknowledgement.','ivSize','_snapshotService','liveShareNewHost','AWAITING_WITH_PENDING','HttpImport','5uSdBku','COMPLETION_FINISHED','now','unshift','onRemoteRetry','name','color','_registerRenderDependencies','dispose','getCurrentRevOfUnit','labelPosition','refreshPermission','fetchMiss','arc','cursorInfo','Hex','fill','[OfflineState]:\x20received\x20changeset.','_transformHistoryAndStateStack','engine','_setupSubUnitSync','function','_docSkeleton','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_disabled','range','event$','_incrementRevisionNumber','_remoteChangesetQueue','_sessions','transformChangesets','awaiting','getUnitType','selections','status','_scheduleCollaborationTimeoutTimer','PERMISSION_REJ','_socket$','getUnitOnRev','_snapshotServerService','_throwTelemetryCollaborationNewChangeset','hide','docStateChange$','_permissionService','_transformPreviousActiveRange','url','lib','_logService','collaboration.single-unit.warning','LIVESHARE_FETCH_OPERATIONS','sessionStatus$','purple300','msCrypto','debug','defs','AWAITING','className','map','unload','getViewport','_docTransformIMECacheService','SNAPSHOT_INVALID_SNAPSHOT','pad','_xformMode','image/gif','_changesetReqId','NOT_FOUND','[CollaborationUndoRedoService]','_transformUndoRedoStack','_handleHeartbeatEvent','CHANGESET_ACK','addObjects','clipPath','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','onRendered','_ensureSubject','_DEC_XFORM_MODE','status$','_changesetSessionId','NoPadding','_clearTimeoutTimer','_urlService','_executeRemoteChangeset','StreamCipher','collabCursorState$','red300','collab-text-range-','object','hasOwnProperty','_updateLocalCursor','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','session.connection-failed','_anchorDot','_startSheetCollabCursor','_hovered','toString','json','join','restore','displayName','roomMembers$','MSG_FOR_ERROR','unitId','_range','saveOfflineData','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_checkMissing','_sheetTransformSelectionsService','div','_collaborationSessionService','duration','_getAPIPrefix','stopTime','image/bmp','getSkeleton','_transformIMECache','_minBufferSize','subscribeEvent','_createInitialStateImpl','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','reconnect','onTransformRemoteChangesetByStateCache','abs','getSheetId','_onJoinRoomEvent','_stopTelemetryCollaborationNewChangeset','_drawRectRange','_socket','on-line-single','endRow','_onCursorDelete','transformMutation','WordArray','Undefined','_unlockTransition','fetching\x20missing\x20changesets\x20from\x20','put','charCodeAt','_memberService','updateCollaborator','editingUnit','height','resize','permissionRejEvent','\x20to\x20','_collaborationPaused','transformSelections','/new_changes','_instanceService','removeMember','getInterceptPoints','11788353jhpUTx','pending','transformIMECache','_sendHeartbeatTimer','Encryptor','updatePermissionPoint','_uiPartsService','_getUndoStack','_onUserLeave','setInterval','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_getDownloadEndpointURL','title','clearTimeout','Pkcs7','getDocRanges','getRangePointData','update','[PendingState]:\x20received\x20acknowledgement.','_undoRedoService','_labelPosition','ws://127.0.0.1:8000/universer-api/comb/connect','newCsEvent','FileId','disposeUnit','data','_beforeCloseService','addImageSourceCache','LIVESHARE_TERMINATE','objectID','_doReset','_onRefRangeChange','getCellPositionByOffset','_config','JOIN','_candidateSocket','endColumn','registerRenderModule','SNAPSHOT_HAS_BEEN_REMOVED','collaboration_new_changeset','YUUMI_URL_COL_OUT_OF_RANGE','DEFAULT_FILE_NAME','{fileID}','_clearRedo','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_type','icon','onMissedChangesetFetched','has','onRemoteRej','_startDocCollabCursor','currentColor','APPLY_DUPLICATED','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','symbol','_sessionStatus$','off-line-single_clip0_910_343','_shouldReportTelemetry','InsertRangeMoveDownCommandId','svg','onCommentUpdate','_document','_onRemoteRejected','POST','hasher','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','PENDING','mixIn','pluginName','transformRemoteChangeset','_decreaseWaiting','OffLineSingle','commentUpdateEvent','routeKey','univer-pro.collaboration-client.single-active-unit-service','_getSheetObject','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','UNIVER_SLIDE','_onLocalMutation','_clearUndo','M0\x200H16V16H0z','error','&assign=','_append','_roomMembers','Decryptor','resolve','FETCH_MISSING','conflict.content','_keyPriorReset','DeleteRangeMoveLeftCommandId','UPDATE_PERMISSION_OBJ','baseRev','USERS_LEAVE','transformStack\x20failed!','getCurrentSelections','sessionStatus','getActiveSheet','_heartbeatTimer','getActiveRange','reverse','_cursors','memberID','split','_docSkeletonManagerService','_initCloseConn','getCollabEntity$','Could\x20not\x20dynamically\x20require\x20\x22','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','$super','collabStatus.fetchMiss','_joinRoom','for','_pendingMutations','_univerInstanceService','getValue','init','font','unknown','_exhaustRemoteChangesetQueue','_doFinalize','_collabCursorState$','MD5','_context','getUniverSheetInstance','defaultProps','permission.title','visibilityState','onPointerLeave$','registerBeforeClose','_resendWithTimeout','onTransformIME','action','...','_httpService','_prevBlock','isEditing','_ENC_XFORM_MODE','collaborators','_doProcessBlock','charAt','_sendHeartbeat','getCurrentUser','getUnitStatus$','_isPermissionRej','drawWith','min','find','setStateCache','loadSheet','onTransformChange$','PERMISSION_DENIED','_telemetryInfo','_updateState','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_queuedRemoteChangesets','actions','add','CHANGESET_SHOULD_RETRY','rgba(255,\x20255,\x20255,\x200.01)','storage','OFFLINE','_localCacheService','TEXT','round','filter','offline','onTransformRemoteChangesetByIMECache','selection','_oKey','transformStateCache','newValue','_initUnitPermissionChange','toLowerCase','_onConnectionFailed','show','_saveCache','path','JOINING','stringify','_initMergeInterceptor','InsertColCommandId','_transformSelections','some','all','_transitionLocked','_lockTransition','attrs','_onConflict','format','generateRandomId','_draw','LICENSE_IMPORT_SIZE_EXCEEDED','file','_mode','118988ChcgxJ','_fetchMissChangesets','_scheduleClearOtherTimer','fetchMissingChangesets','failed\x20to\x20apply\x20missed\x20changesets!','onPointerMove$','[CollaborationState]:\x20apply\x20error!','hovered','permission.content','clamp','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','getWorkbookSelections','_scene','sin','_removeCollabCursors','_createSocket','resend','EXCHANGE_SIGN_URL_SERVER_URL_KEY','setUndoRedoMutationParamsCache','collaboratorID','ref','socket\x20close','/universer-api/file/{fileID}/sign-url','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','react.fragment','registerOnClose','onlyLocal','_tryReconnect','_http','_initDependencies','replaceState','_disableEditing','transform','_clearLocalCache','_cursorShapes','assignAColorForMemberID','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','NEW_CHANGESETS','awaiting_with_pending','closeSession','executeCommand','setParam','m1Prime','NO_OTHER_CLIENTS_EDITING','getOwnPropertyDescriptor','_setupBeforeClosingHandler','getRoom','FromArray','_rescheduleHeartbeat','getMember','HELLO','onRemoteAck','session','fetchThroughInterceptors','ERROR_IMAGE','_refRangeService','visibilitychange','AES','includes','transformMutationsWithChangeset','_onRemoteChangeset','_docStateChangeManagerService','Base','getLatestCsReqIdBySid','BufferedBlockAlgorithm','_scheduleSaving','_registerDependencies','then','setShowComponents','session.will-retry','disableLocalCache','LIVESHARE_REQUEST_HOST','_getCtorByUniverType','_state','_cipher','requireSession','substring','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','getImage','univer-offline','string','_removeRoom','processBlock','_iKey','DeleteRangeMoveUpCommandId','_unitStatus','_renderManagerService','textRanges','changesets','pauseCollaboration','replaceDocRanges','getImageSourceCache','closePath','_getRedoStack','CONFLICT','sigBytes','loadOfflineData','blockSize','[CollaborationSessionService]','?url=','6903212rWbbpI','saveImage','LIVESHARE_NEW_HOST','\x20in\x20_schedule.','getAllMembers','_getScale','send','/-/object/-/batch_allowed','_id','_color','[DataLoaderController]','values','appendMutation','_drawTextRange','length','subunit','_collabSessionService','SHOULD_CLOSE_CONN','_retryConnectingTimer','reject','EvpKDF','setTimeout','SUBMIT_CHANGESET','univer-pro.collaboration-client-socket-service','UNIVER_DOC','_configService','startRow','FETCH_MISS','LICENSE_DISTRO_REJECTED','LIVESHARE_OPERATION','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','subUnitId','_initEventListeners','_handleLeaveEvent','CHANGESET_REVISION_CONFILICT','connection\x20error','_transformStack','_getCurrentRevision','cfg','indexOf','1em','awaitingChangeset','_saveTaskMap','getAncestorScale','_drawAnchor','onPointerEnter$','_invKeySchedule','size','OTHER_CLIENTS_EDITING','popstate','Error','loginUrlKey','lineTo','next','buffer','padding','column','makeDirty','registerHTTPInterceptor','UnitEmbedded','HEADER_MENU','exports','undoState','collaboration-session-retry','_revisionService','collaboration.closeRoom','_updateSubUnitFromURLParams','LEAVE','change$','_keySchedule','UNIVER_COLLABORATION_CLIENT_PLUGIN','fillStyle','sheetID','key','syncEditingCollabCursor','_render','on-line-single_clip0_910_349','getParam','_updateLocalCache','_handleEvent','_refreshCollabCursors','onTransformSelections','infoRsp','[OfflineState]:\x20received\x20rejection.','default','_lastPointer','_createHmacHelper','onMissingChangesets','UNAUTHENTICATED','_socketMessageSubscription','create','_resendTimeout','ceil','current','_colorAssignService','unsubscribe','backgroundColor','_updateURLWithCurrentState','transformByState','setShapeProps','_map','params','unpad','sheetId','_socketReady','pipe','_roomMembers$','USERS_ENTER','_onRemoteRetry','asObservable','isActive','setCurrentUser','compose','_docTransformSelectionsService','rng','_listenToOnlineEvent','random','toggleOnline','_removeClearOtherTimer','UNKNOWN_CMD','max','getRelativeToViewportCoord','localeService','PasswordBasedCipher','collab-text-anchor-','_onCursorUpdate','_initStatusComponent','triggerDblclick','InsertRowCommandId','_listenToOfflineEvent','synced','_applyRemoteChangeset','mode','measureText','HEARTBEAT','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','loadDoc','_shapes','with','enableLocalCache','_createHandler','collaboration-client.config','get','list','unit','history','_unitOnClients','UniverIcon','/object/','__Key__','randomUUID','evenodd','\x0aCurrent:\x20','exhaustSavingTask','_reverseMap','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','doc.mutation.rich-text-editing','getTypeOfUnitAdded$','1909030XaSPhk','_session','/collaborator','getTypeOfUnitDisposed$','csShouldRetryEvent','_iv','catch','_initCommandExecutedListener','body','getCurrentUnitForType','tag','_tryEnsureSocket','_collaborationTimeoutTimer','_backgroundColor','_getUploadFileURL','headers','createEncryptor','iterations','_singleActiveUnitService','CHANGESET_REJ'];_0x2abb=function(){return _0x3dfc99;};return _0x2abb();}function Or(_0x53221b){const _0x1c8077=_0x3238bf;switch(_0x53221b[_0x1c8077(0x443)]){case W['HEARTBEAT']:case W[_0x1c8077(0x2e5)]:return JSON['stringify']({'cmd':_0x53221b[_0x1c8077(0x443)],'routeKey':_0x53221b[_0x1c8077(0x239)]});case W[_0x1c8077(0x145)]:{let _0x31b7c4;switch(_0x53221b[_0x1c8077(0x209)][_0x1c8077(0x448)]){case _0x2c5a34[_0x1c8077(0x42c)]:{_0x31b7c4={'eventID':_0x2c5a34[_0x1c8077(0x42c)],'updateCursorEvent':_0x53221b[_0x1c8077(0x209)]['data']};break;}case _0x2c5a34['USERS_LEAVE']:{_0x31b7c4={'eventID':_0x2c5a34[_0x1c8077(0x24d)],'leaveEvent':_0x53221b['data'][_0x1c8077(0x209)]};break;}case _0x2c5a34[_0x1c8077(0x382)]:{_0x31b7c4={'eventID':_0x2c5a34[_0x1c8077(0x382)],'joinEvent':_0x53221b['data']['data']};break;}case _0x2c5a34['LIVESHARE_NEW_HOST']:{_0x31b7c4={'eventID':_0x2c5a34['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x53221b[_0x1c8077(0x209)][_0x1c8077(0x209)]};break;}case _0x2c5a34[_0x1c8077(0x334)]:{_0x31b7c4={'eventID':_0x2c5a34[_0x1c8077(0x334)],'liveShareOperation':_0x53221b[_0x1c8077(0x209)][_0x1c8077(0x209)]};break;}case _0x2c5a34['LIVESHARE_TERMINATE']:{_0x31b7c4={'eventID':_0x2c5a34['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x53221b['data'][_0x1c8077(0x209)]};break;}case _0x2c5a34[_0x1c8077(0x2fa)]:{_0x31b7c4={'eventID':_0x2c5a34[_0x1c8077(0x2fa)],'liveShareRequestHost':_0x53221b[_0x1c8077(0x209)][_0x1c8077(0x209)]};break;}case _0x2c5a34[_0x1c8077(0x18a)]:{_0x31b7c4={'eventID':_0x2c5a34[_0x1c8077(0x18a)]};break;}default:_0x31b7c4={'eventID':_0x53221b[_0x1c8077(0x209)][_0x1c8077(0x448)]};}return JSON[_0x1c8077(0x2a3)]({'cmd':_0x53221b[_0x1c8077(0x443)],'routeKey':_0x53221b[_0x1c8077(0x239)],'collaMsg':_0x31b7c4});}case W[_0x1c8077(0x212)]:return JSON['stringify']({'cmd':_0x53221b[_0x1c8077(0x443)],'routeKey':_0x53221b[_0x1c8077(0x239)],'joinReq':_0x53221b[_0x1c8077(0x209)]});case W[_0x1c8077(0x35a)]:return JSON['stringify']({'cmd':_0x53221b['cmd'],'routeKey':_0x53221b[_0x1c8077(0x239)],'leaveReq':_0x53221b['data']});default:throw new Error(_0x1c8077(0x40a));}}var wr=Object['defineProperty'],Dr=Object[_0x3238bf(0x2df)],Pr=(_0x3ed195,_0x47025e,_0x270384,_0x49cec3)=>{const _0x44103f=_0x3238bf;for(var _0x39ca49=_0x49cec3>0x1?void 0x0:_0x49cec3?Dr(_0x47025e,_0x270384):_0x47025e,_0x3ed695=_0x3ed195[_0x44103f(0x325)]-0x1,_0x1e245a;_0x3ed695>=0x0;_0x3ed695--)(_0x1e245a=_0x3ed195[_0x3ed695])&&(_0x39ca49=(_0x49cec3?_0x1e245a(_0x47025e,_0x270384,_0x39ca49):_0x1e245a(_0x39ca49))||_0x39ca49);return _0x49cec3&&_0x39ca49&&wr(_0x47025e,_0x270384,_0x39ca49),_0x39ca49;},qe=(_0x631fb3,_0x223bbb)=>(_0x4263a7,_0xc30b5e)=>_0x223bbb(_0x4263a7,_0xc30b5e,_0x631fb3);const Oi=_0x271919(_0x3238bf(0x32e));function Ur(_0x239aad,_0x1fc789,_0x52095a){const _0x3f2ef2=_0x3238bf;return _0x239aad+'/'+_0x1fc789+_0x3f2ef2(0x524)+_0x52095a+_0x3f2ef2(0x1ec);}let es=class extends _0x1bec45{constructor(_0x589cab,_0x49c1e8,_0x193619,_0x11cb1f,_0x5d2e98){const _0x45e91f=_0x3238bf;super(),this[_0x45e91f(0x2cf)]=_0x589cab,this[_0x45e91f(0x552)]=_0x49c1e8,this[_0x45e91f(0x330)]=_0x193619,this[_0x45e91f(0x188)]=_0x11cb1f,this[_0x45e91f(0x180)]=_0x5d2e98;}[_0x3238bf(0x467)](_0x350825){const _0x568685=_0x3238bf,_0x42ce2d=this[_0x568685(0x552)][_0x568685(0x467)](_0x350825);if(!_0x42ce2d)throw new Error(_0x568685(0x225));const _0xef6f5b=new _0x2bf957(),_0xc5f8ec=new _0x302e6e();_0xef6f5b[_0x568685(0x28d)](_0x42ce2d['close$'][_0x568685(0x43b)](_0x1bd01b=>_0xc5f8ec[_0x568685(0x34c)](_0x1bd01b))),_0xef6f5b[_0x568685(0x28d)](_0x164be7(()=>_0xc5f8ec['complete']()));const _0x409125=new _0x302e6e();_0xef6f5b['add'](_0x42ce2d[_0x568685(0x457)][_0x568685(0x43b)](_0x2f5c29=>_0x409125['next'](_0x2f5c29))),_0xef6f5b[_0x568685(0x28d)](_0x164be7(()=>_0x409125['complete']()));const _0x5d646c=new _0x302e6e();_0xef6f5b[_0x568685(0x28d)](_0x42ce2d[_0x568685(0x411)][_0x568685(0x43b)](_0x4c5898=>{const _0x6ad880=_0x568685,_0x1466f6=yr(_0x4c5898);_0x5d646c[_0x6ad880(0x34c)](_0x1466f6);})),_0xef6f5b[_0x568685(0x28d)](_0x164be7(()=>_0x5d646c[_0x568685(0x44a)]()));let _0x50594d;const _0x5137ab=()=>{const _0x5d241f=_0x568685;_0x409125[_0x5d241f(0x34c)](new Event(_0x5d241f(0x33a))),_0xc5f8ec[_0x5d241f(0x34c)](new CloseEvent(_0x5d241f(0x33a))),_0x50594d[_0x5d241f(0x14b)]();};return _0x50594d={'memberID':'','close$':_0xc5f8ec[_0x568685(0x384)](),'error$':_0x409125[_0x568685(0x384)](),'open$':_0x42ce2d[_0x568685(0x55d)],'message$':_0x5d646c[_0x568685(0x384)](),'send':_0x4de1e8=>{const _0x266437=_0x568685;if(_0x4de1e8[_0x266437(0x443)]===W['INGEST']){if(_0x4de1e8[_0x266437(0x209)][_0x266437(0x448)]===_0x2c5a34['SUBMIT_CHANGESET']){this[_0x266437(0x513)](_0x50594d,_0x4de1e8[_0x266437(0x209)])[_0x266437(0x3bb)](_0xd1cc06=>{const _0x1bf355=_0x266437;this['_logService'][_0x1bf355(0x241)](_0xd1cc06),_0x5137ab();});return;}if(_0x4de1e8[_0x266437(0x209)][_0x266437(0x448)]===_0x2c5a34[_0x266437(0x247)]){const _0x469e35=_0x4de1e8[_0x266437(0x209)];this[_0x266437(0x2b4)](_0x469e35)[_0x266437(0x2f6)](_0x50be66=>{const _0x30ad71=_0x266437;_0x5d646c[_0x30ad71(0x34c)]({'cmd':W['RECV'],'code':Is['OK'],'routeKey':_0x469e35[_0x30ad71(0x209)][_0x30ad71(0x4e9)],'routeType':'','data':{'eventID':_0x2c5a34[_0x30ad71(0x4c1)],'data':{'changesets':_0x50be66}}});})[_0x266437(0x3bb)](_0xcdcdd2=>{const _0x4042f4=_0x266437;this[_0x4042f4(0x188)][_0x4042f4(0x241)](_0xcdcdd2),_0x5137ab();});return;}}_0x42ce2d[_0x266437(0x31d)](Or(_0x4de1e8));},'close':()=>{const _0x551c95=_0x568685;_0x42ce2d[_0x551c95(0x14b)](),_0xef6f5b['dispose']();}},_0x50594d;}async['_submitChangeset'](_0x1ae7e2,_0x3e31c7){const _0x1bb965=_0x3238bf;var _0x3ce961,_0x4a7bb7;const {unitType:_0x280b56,unitID:_0x35a421,changeset:_0x4a7152}=_0x3e31c7[_0x1bb965(0x209)],_0x222962={'unitID':_0x35a421,'memberID':_0x1ae7e2['memberID'],'type':_0x280b56,'changeset':_0x33baa3(_0x4a7152)},_0x273c82=this[_0x1bb965(0x330)]['getConfig'](Cr),_0x1393c1=this[_0x1bb965(0x330)]['getConfig'](ie),_0x585612=Ur((_0x4a7bb7=(_0x3ce961=_0x1393c1==null?void 0x0:_0x1393c1[_0x1bb965(0x430)])!=null?_0x3ce961:_0x273c82)!=null?_0x4a7bb7:Er,_0x280b56,_0x35a421);try{await this[_0x1bb965(0x2cf)][_0x1bb965(0x4b2)](_0x585612,{'body':_0x222962});}catch(_0x549c39){throw this['_logService'][_0x1bb965(0x241)]('[CollaborationSession]',_0x1bb965(0x509)),_0x549c39;}}async['_fetchMissChangesets'](_0x548068){const _0x55effc=_0x3238bf,{unitID:_0x3be89d,from:_0x5deff6,to:_0x316fee,unitType:_0x54b020}=_0x548068['data'];return(await this['_snapshotServerService'][_0x55effc(0x2b6)]({'metadata':void 0x0},{'unitID':_0x3be89d,'type':_0x54b020,'from':_0x5deff6,'to':_0x316fee}))['changesets'];}};es=Pr([qe(0x0,_0x4a2654(_0x4ca339)),qe(0x1,_0x4a2654(_0xbe8463)),qe(0x2,_0x12cd24),qe(0x3,_0x5d0f53),qe(0x4,_0x54fc87)],es);const Nr=_0x3238bf(0x217);function Ar(_0x41bbdf){const _0x5a3e1e=_0x3238bf;return JSON[_0x5a3e1e(0x2a3)](_0x41bbdf)[_0x5a3e1e(0x325)];}class wi{constructor(){const _0x3f302=_0x3238bf;g(this,_0x3f302(0x474),new _0x302e6e()),g(this,_0x3f302(0x426),this[_0x3f302(0x474)][_0x3f302(0x384)]());}[_0x3238bf(0x22c)](_0x1014a6){const _0x50be5a=_0x3238bf;this[_0x50be5a(0x474)]['next'](_0x1014a6);}}var Mr=Object[_0x3238bf(0x535)],xr=Object['getOwnPropertyDescriptor'],Lr=(_0x1da145,_0x1660df,_0x50541a,_0x4abc2c)=>{for(var _0x1fb58b=_0x4abc2c>0x1?void 0x0:_0x4abc2c?xr(_0x1660df,_0x50541a):_0x1660df,_0x209c52=_0x1da145['length']-0x1,_0x19207d;_0x209c52>=0x0;_0x209c52--)(_0x19207d=_0x1da145[_0x209c52])&&(_0x1fb58b=(_0x4abc2c?_0x19207d(_0x1660df,_0x50541a,_0x1fb58b):_0x19207d(_0x1fb58b))||_0x1fb58b);return _0x4abc2c&&_0x1fb58b&&Mr(_0x1660df,_0x50541a,_0x1fb58b),_0x1fb58b;},Hs=(_0x2f9332,_0x37ca45)=>(_0xb55ca7,_0x2654b5)=>_0x37ca45(_0xb55ca7,_0x2654b5,_0x2f9332);let Ne=class extends _0x1bec45{constructor(_0x171a9e,_0x23a9c1){const _0x12a84b=_0x3238bf;super(),g(this,_0x12a84b(0x244),new Map()),(this[_0x12a84b(0x262)]=_0x171a9e,this[_0x12a84b(0x4c9)]=_0x23a9c1,this['disposeWithMe'](_0x164be7(_0xf2f2cb(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5997c4['UNIVER_SHEET'])[_0x12a84b(0x380)](_0x46b391(_0x46b742=>_0x46b742[_0x12a84b(0x3fd)]())),this[_0x12a84b(0x262)]['getTypeOfUnitDisposed$'](_0x5997c4[_0x12a84b(0x32f)])[_0x12a84b(0x380)](_0x46b391(_0x5866a1=>_0x5866a1[_0x12a84b(0x3fd)]())),this[_0x12a84b(0x262)][_0x12a84b(0x3b8)](_0x5997c4[_0x12a84b(0x23d)])[_0x12a84b(0x380)](_0x46b391(_0x105d19=>_0x105d19[_0x12a84b(0x3fd)]())))[_0x12a84b(0x43b)](_0x518445=>this['_removeRoom'](_0x518445)))));}[_0x3238bf(0x386)](_0x273ce0){const _0x26407d=_0x3238bf;this['_userManagerService'][_0x26407d(0x386)](_0x273ce0);}[_0x3238bf(0x27e)](){const _0x17e06f=_0x3238bf;return this[_0x17e06f(0x4c9)][_0x17e06f(0x27e)]();}['updateMember'](_0x21bc96,_0x5aaf83){const _0x3799b2=_0x3238bf;let _0x1105b7=this[_0x3799b2(0x244)][_0x3799b2(0x3a5)](_0x21bc96);_0x1105b7||(_0x1105b7=new $r(),this[_0x3799b2(0x244)][_0x3799b2(0x13d)](_0x21bc96,_0x1105b7)),_0x1105b7[_0x3799b2(0x438)](_0x5aaf83);}[_0x3238bf(0x1ee)](_0x190a39,_0x3c7b6f){const _0xf51376=_0x3238bf,_0x43fae8=this[_0xf51376(0x244)][_0xf51376(0x3a5)](_0x190a39);_0x43fae8&&_0x43fae8['removeMember'](_0x3c7b6f);}[_0x3238bf(0x2e1)](_0x4592fe){const _0x25baa4=_0x3238bf;return this[_0x25baa4(0x244)][_0x25baa4(0x3a5)](_0x4592fe);}[_0x3238bf(0x2e4)](_0x424f53,_0x1596ab){const _0x314694=_0x3238bf,_0x456e24=this['_roomMembers'][_0x314694(0x3a5)](_0x424f53);if(_0x456e24)return _0x456e24['getMember'](_0x1596ab);}[_0x3238bf(0x304)](_0x1645df){const _0x58989f=_0x3238bf,_0x3ec9e4=this[_0x58989f(0x244)][_0x58989f(0x3a5)](_0x1645df);_0x3ec9e4&&(_0x3ec9e4[_0x58989f(0x161)](),this[_0x58989f(0x244)][_0x58989f(0x45a)](_0x1645df));}[_0x3238bf(0x161)](){const _0x10b009=_0x3238bf;this[_0x10b009(0x244)][_0x10b009(0x4b5)](_0x319c25=>_0x319c25[_0x10b009(0x161)]()),this[_0x10b009(0x244)][_0x10b009(0x4b1)]();}};Ne=Lr([Hs(0x0,_0x21deaa),Hs(0x1,_0x4a2654(_0x58532f))],Ne);class $r extends _0x1bec45{constructor(){const _0x1ff828=_0x3238bf;super(...arguments),g(this,_0x1ff828(0x4fb),new Map());}[_0x3238bf(0x161)](){const _0x1cd32b=_0x3238bf;this[_0x1cd32b(0x4fb)][_0x1cd32b(0x4b1)]();}[_0x3238bf(0x438)](_0x4ca0ab){const _0x12a874=_0x3238bf;this[_0x12a874(0x4fb)]['set'](_0x4ca0ab[_0x12a874(0x256)],_0x4ca0ab);}[_0x3238bf(0x1ee)](_0x3e5345){const _0x195541=_0x3238bf;this[_0x195541(0x4fb)][_0x195541(0x45a)](_0x3e5345);}[_0x3238bf(0x2e4)](_0x36f2a1){const _0x282825=_0x3238bf;return this[_0x282825(0x4fb)][_0x282825(0x3a5)](_0x36f2a1);}[_0x3238bf(0x31b)](){const _0x25768b=_0x3238bf;return Array[_0x25768b(0x409)](this[_0x25768b(0x4fb)][_0x25768b(0x322)]());}}var Hr=Object[_0x3238bf(0x535)],jr=Object[_0x3238bf(0x2df)],Br=(_0x56fcd8,_0x1a65d0,_0x4cf9ed,_0x54b166)=>{const _0x5b2c03=_0x3238bf;for(var _0x39bc9c=_0x54b166>0x1?void 0x0:_0x54b166?jr(_0x1a65d0,_0x4cf9ed):_0x1a65d0,_0xf1e9db=_0x56fcd8[_0x5b2c03(0x325)]-0x1,_0x41fabd;_0xf1e9db>=0x0;_0xf1e9db--)(_0x41fabd=_0x56fcd8[_0xf1e9db])&&(_0x39bc9c=(_0x54b166?_0x41fabd(_0x1a65d0,_0x4cf9ed,_0x39bc9c):_0x41fabd(_0x39bc9c))||_0x39bc9c);return _0x54b166&&_0x39bc9c&&Hr(_0x1a65d0,_0x4cf9ed,_0x39bc9c),_0x39bc9c;},Ee=(_0x131e7e,_0x2262c7)=>(_0x4e9d9c,_0x182f60)=>_0x2262c7(_0x4e9d9c,_0x182f60,_0x131e7e),ve=(_0x23d864=>(_0x23d864[_0x23d864[_0x3238bf(0x559)]=0x0]=_0x3238bf(0x559),_0x23d864[_0x23d864[_0x3238bf(0x2a2)]=0x1]=_0x3238bf(0x2a2),_0x23d864[_0x23d864[_0x3238bf(0x291)]=0x2]=_0x3238bf(0x291),_0x23d864[_0x23d864['ONLINE']=0x3]=_0x3238bf(0x435),_0x23d864))(ve||{});let ts=class extends _0x9ae76a{constructor(_0x5b9b10,_0x126ad0,_0x28a4d2,_0x5c1b5d,_0x4c41ca,_0x280f6f,_0x3a6285,_0x542e88,_0x437e7e,_0x832a59){const _0x159601=_0x3238bf;super(),g(this,_0x159601(0x227),new _0x353bc7(0x0)),g(this,_0x159601(0x18b),this[_0x159601(0x227)][_0x159601(0x384)]()),g(this,'_event$',new _0x302e6e()),g(this,_0x159601(0x173),this[_0x159601(0x553)]['asObservable']()),g(this,'_socket'),g(this,'_socketMessageSubscription'),g(this,_0x159601(0x3c1)),g(this,'_shouldReportTelemetry',!0x1),g(this,'_telemetryInfo',null),(this[_0x159601(0x51b)]=_0x5b9b10,this[_0x159601(0x188)]=_0x28a4d2,this[_0x159601(0x20a)]=_0x5c1b5d,this[_0x159601(0x4ce)]=_0x4c41ca,this[_0x159601(0x330)]=_0x280f6f,this[_0x159601(0x141)]=_0x3a6285,this['_memberService']=_0x542e88,this['_commentService']=_0x437e7e,this[_0x159601(0x451)]=_0x832a59,this[_0x159601(0x229)]=!!this[_0x159601(0x451)],_0x126ad0[_0x159601(0x380)](_0x4b2adb(this['dispose$']))['subscribe'](_0x25f5fc=>{const _0x266fef=_0x159601;var _0x3438da;typeof _0x25f5fc>'u'||(this['_socket']=_0x25f5fc,_0x25f5fc?(this[_0x266fef(0x25f)](_0x25f5fc),this['_socketMessageSubscription']=_0x25f5fc[_0x266fef(0x411)][_0x266fef(0x43b)](_0x2e2e76=>{const _0x4d5474=_0x266fef;_0x2e2e76['routeKey']===this[_0x4d5474(0x51b)]&&this[_0x4d5474(0x46b)](_0x2e2e76);})):(this[_0x266fef(0x181)](),this['_sessionStatus$'][_0x266fef(0x34c)](0x2),(_0x3438da=this['_socketMessageSubscription'])==null||_0x3438da[_0x266fef(0x376)](),this[_0x266fef(0x370)]=null));}),this[_0x159601(0x3df)](this[_0x159601(0x20a)][_0x159601(0x2cc)](()=>{const _0x2e88e0=_0x159601;var _0x52424a;(_0x52424a=this['_socket'])==null||_0x52424a['send']({'cmd':W[_0x2e88e0(0x35a)],'data':{'roomID':this[_0x2e88e0(0x51b)]}});})));}get['sessionStatus'](){const _0x55b63f=_0x3238bf;return this['_sessionStatus$'][_0x55b63f(0x263)]();}['getMemberID'](){const _0x66980a=_0x3238bf;var _0x2d8e88,_0x4ea7af;return(_0x4ea7af=(_0x2d8e88=this[_0x66980a(0x1d8)])==null?void 0x0:_0x2d8e88[_0x66980a(0x256)])!=null?_0x4ea7af:null;}[_0x3238bf(0x161)](){const _0x553bd0=_0x3238bf;super[_0x553bd0(0x161)](),this[_0x553bd0(0x4e8)][_0x553bd0(0x34c)](),this['dispose$']['complete']();}['close'](){const _0x3e1912=_0x3238bf;var _0x3c5804,_0x59591d;this[_0x3e1912(0x181)](),(_0x3c5804=this['_socket'])==null||_0x3c5804[_0x3e1912(0x31d)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x3e1912(0x51b)]}}),(_0x59591d=this[_0x3e1912(0x1d8)])==null||_0x59591d[_0x3e1912(0x14b)](),this[_0x3e1912(0x553)][_0x3e1912(0x44a)](),this['_sessionStatus$']['complete'](),this[_0x3e1912(0x161)]();}[_0x3238bf(0x46b)](_0x282d20){const _0x2d721c=_0x3238bf;_0x282d20[_0x2d721c(0x443)]===W[_0x2d721c(0x212)]?this[_0x2d721c(0x1d5)](_0x282d20):_0x282d20[_0x2d721c(0x443)]===W[_0x2d721c(0x416)]&&this[_0x2d721c(0x49c)](_0x282d20);}['_joinRoom'](_0x1caedd){const _0x2d9d89=_0x3238bf;this[_0x2d9d89(0x227)][_0x2d9d89(0x34c)](0x1),_0x1caedd[_0x2d9d89(0x31d)]({'cmd':W[_0x2d9d89(0x212)],'routeKey':this[_0x2d9d89(0x51b)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x3f1be9){const _0x1e646b=_0x3238bf;var _0x337fd2;if(_0x3f1be9[_0x1e646b(0x50d)]===Is[_0x1e646b(0x505)]){this[_0x1e646b(0x4ce)][_0x1e646b(0x29f)]({'type':_0x62271a[_0x1e646b(0x432)],'content':this['_localeService']['t']('session.room-full')}),this[_0x1e646b(0x227)][_0x1e646b(0x34c)](0x2);return;}this[_0x1e646b(0x227)][_0x1e646b(0x34c)](0x3);const _0x5cd985=(_0x337fd2=_0x3f1be9['data'][_0x1e646b(0x470)][this[_0x1e646b(0x51b)]])==null?void 0x0:_0x337fd2[_0x1e646b(0x3e3)];_0x5cd985&&_0x5cd985['forEach'](_0x1fea4b=>this['_memberService'][_0x1e646b(0x438)](this[_0x1e646b(0x51b)],_0x1fea4b));}['_onRecvEvent'](_0x20c7e7){const _0x2b73b7=_0x3238bf;try{const _0x2706aa=_0x20c7e7[_0x2b73b7(0x209)];switch(_0x2706aa[_0x2b73b7(0x448)]){case _0x2c5a34['USERS_ENTER']:this['_onUserJoin'](_0x2706aa),this[_0x2b73b7(0x553)][_0x2b73b7(0x34c)](_0x2706aa);break;case _0x2c5a34[_0x2b73b7(0x24d)]:this[_0x2b73b7(0x1f8)](_0x2706aa),this['_event$']['next'](_0x2706aa);break;case _0x2c5a34[_0x2b73b7(0x19f)]:case _0x2c5a34[_0x2b73b7(0x28e)]:this[_0x2b73b7(0x1d6)](),this[_0x2b73b7(0x4f2)](),this['_event$']['next'](_0x2706aa);break;case _0x2c5a34[_0x2b73b7(0x1be)]:this[_0x2b73b7(0x188)][_0x2b73b7(0x241)](_0x2b73b7(0x491)+JSON[_0x2b73b7(0x2a3)](_0x2706aa)),this[_0x2b73b7(0x553)]['next'](_0x2706aa);break;case _0x2c5a34['COMMENT_UPDATE']:this['_commentService'][_0x2b73b7(0x22c)](_0x2706aa[_0x2b73b7(0x209)]),this['_event$'][_0x2b73b7(0x34c)](_0x2706aa);break;default:this[_0x2b73b7(0x553)][_0x2b73b7(0x34c)](_0x2706aa);}}catch(_0x4d21e8){this[_0x2b73b7(0x188)][_0x2b73b7(0x241)](_0x4d21e8,_0x20c7e7);}}['_onUserJoin'](_0x251166){const _0x4d184b=_0x3238bf;this[_0x4d184b(0x1e3)][_0x4d184b(0x438)](this[_0x4d184b(0x51b)],_0x251166[_0x4d184b(0x209)]);}[_0x3238bf(0x1f8)](_0x2f2e69){const _0x48f72d=_0x3238bf;this[_0x48f72d(0x1e3)][_0x48f72d(0x1ee)](this[_0x48f72d(0x51b)],_0x2f2e69[_0x48f72d(0x209)][_0x48f72d(0x256)]);}async[_0x3238bf(0x31d)](_0x3fe7cd,_0x133dab){const _0x2598d4=_0x3238bf;if(this[_0x2598d4(0x250)]!==0x3||!this[_0x2598d4(0x1d8)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3fe7cd[_0x2598d4(0x448)]===_0x2c5a34[_0x2598d4(0x32d)]&&(this[_0x2598d4(0x17c)](),this['_startTelemetryCollaborationNewChangeset'](_0x3fe7cd)),this[_0x2598d4(0x1d8)][_0x2598d4(0x31d)]({'cmd':W['INGEST'],'routeKey':_0x133dab,'routeType':'','data':_0x3fe7cd});}catch(_0x5094ae){this['_logService'][_0x2598d4(0x241)](_0x5094ae);}}[_0x3238bf(0x17c)](){const _0x49eae5=_0x3238bf;var _0x2179a1;this[_0x49eae5(0x3c1)]=window[_0x49eae5(0x32c)](()=>{const _0x2a3cf5=_0x49eae5;this['_collaborationTimeoutTimer']=null,this['_messageService'][_0x2a3cf5(0x29f)]({'type':_0x62271a[_0x2a3cf5(0x349)],'content':this[_0x2a3cf5(0x141)]['t'](_0x2a3cf5(0x42a))});},(_0x2179a1=this[_0x49eae5(0x330)][_0x49eae5(0x404)](bi))!=null?_0x2179a1:Ti);}['_clearCollaborationTimeoutTimer'](){const _0x4db8ab=_0x3238bf;this[_0x4db8ab(0x3c1)]&&(clearTimeout(this[_0x4db8ab(0x3c1)]),this[_0x4db8ab(0x3c1)]=null);}[_0x3238bf(0x41b)](_0x330c49){const _0x2198a4=_0x3238bf;if(!this[_0x2198a4(0x229)])return;const {data:_0x50383c}=_0x330c49,{unitID:_0x2cddba,changeset:_0x53d10e}=_0x50383c,{mutations:_0x1d4f66,type:_0x1f58b6}=_0x53d10e;this[_0x2198a4(0x288)]={'unitId':_0x2cddba,'type':_0x1f58b6,'startTime':performance[_0x2198a4(0x15b)](),'stopTime':0x0,'duration':0x0,'size':Ar(_0x1d4f66)};}[_0x3238bf(0x1d6)](){const _0xa8533a=_0x3238bf;if(this[_0xa8533a(0x229)]){if(!this[_0xa8533a(0x288)]){this['_logService'][_0xa8533a(0x241)](_0xa8533a(0x14c),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0xa8533a(0x288)][_0xa8533a(0x1c9)]=performance[_0xa8533a(0x15b)](),this[_0xa8533a(0x288)][_0xa8533a(0x1c7)]=this[_0xa8533a(0x288)][_0xa8533a(0x1c9)]-this[_0xa8533a(0x288)][_0xa8533a(0x453)],this[_0xa8533a(0x451)][_0xa8533a(0x55f)](Nr,this[_0xa8533a(0x288)]),this['_telemetryInfo']=null;}}[_0x3238bf(0x181)](){const _0x266b57=_0x3238bf;this[_0x266b57(0x288)]=null;}};ts=Br([Ee(0x2,_0x5d0f53),Ee(0x3,_0xdad7a5),Ee(0x4,_0x2f8dd1),Ee(0x5,_0x12cd24),Ee(0x6,_0x4a2654(_0xc7611d)),Ee(0x7,_0x4a2654(Ne)),Ee(0x8,_0x4a2654(wi)),Ee(0x9,_0x384f19(_0x3a95be))],ts);var kr=Object[_0x3238bf(0x535)],Wr=Object[_0x3238bf(0x2df)],Fr=(_0x2fbf16,_0x5541ae,_0x4b8b3c,_0x3385bf)=>{for(var _0x1a18a6=_0x3385bf>0x1?void 0x0:_0x3385bf?Wr(_0x5541ae,_0x4b8b3c):_0x5541ae,_0xafe48f=_0x2fbf16['length']-0x1,_0x2c4e05;_0xafe48f>=0x0;_0xafe48f--)(_0x2c4e05=_0x2fbf16[_0xafe48f])&&(_0x1a18a6=(_0x3385bf?_0x2c4e05(_0x5541ae,_0x4b8b3c,_0x1a18a6):_0x2c4e05(_0x1a18a6))||_0x1a18a6);return _0x3385bf&&_0x1a18a6&&kr(_0x5541ae,_0x4b8b3c,_0x1a18a6),_0x1a18a6;},je=(_0x1c5060,_0x22f3ff)=>(_0x4980a8,_0x20ddd9)=>_0x22f3ff(_0x4980a8,_0x20ddd9,_0x1c5060);let Ae=class extends _0x1bec45{constructor(_0x46129c,_0x1efc2c,_0x3a49d2,_0x4eb2d1,_0x5f385b,_0x941378){const _0x2c6b27=_0x3238bf;super(),g(this,'_socket$',new _0x353bc7(void 0x0)),g(this,_0x2c6b27(0x421),this['_socket$'][_0x2c6b27(0x384)]()),g(this,_0x2c6b27(0x213),null),g(this,_0x2c6b27(0x176),new Map()),g(this,'_status$',new _0x353bc7(ve[_0x2c6b27(0x559)])),g(this,_0x2c6b27(0x1a6),this['_status$'][_0x2c6b27(0x384)]()),g(this,_0x2c6b27(0x37f),!0x1),g(this,_0x2c6b27(0x329)),g(this,_0x2c6b27(0x517),0x0),g(this,'_sendHeartbeatTimer'),g(this,_0x2c6b27(0x40d)),(this[_0x2c6b27(0x151)]=_0x46129c,this['_localeService']=_0x1efc2c,this[_0x2c6b27(0x4ce)]=_0x3a49d2,this[_0x2c6b27(0x188)]=_0x4eb2d1,this[_0x2c6b27(0x330)]=_0x5f385b,this[_0x2c6b27(0x14e)]=_0x941378,this[_0x2c6b27(0x337)]());}get['_socket'](){const _0x1cb764=_0x3238bf;return this[_0x1cb764(0x17e)][_0x1cb764(0x263)]();}[_0x3238bf(0x337)](){const _0x329fc9=_0x3238bf;this[_0x329fc9(0x398)](),this['_listenToOnlineEvent']();}[_0x3238bf(0x161)](){const _0x361415=_0x3238bf;super[_0x361415(0x161)](),this[_0x361415(0x176)]['forEach'](_0x32b9e6=>_0x32b9e6[_0x361415(0x161)]()),this['_sessions'][_0x361415(0x4b1)](),this[_0x361415(0x3ff)]['complete']();}async[_0x3238bf(0x2fe)](_0x41483e){const _0x5acaea=_0x3238bf;if(this['_sessions'][_0x5acaea(0x220)](_0x41483e))return this[_0x5acaea(0x176)][_0x5acaea(0x3a5)](_0x41483e);this['_tryEnsureSocket']();const _0x54c3e2=this[_0x5acaea(0x151)]['createInstance'](ts,_0x41483e,this['_socket$'][_0x5acaea(0x384)]());return this[_0x5acaea(0x176)][_0x5acaea(0x13d)](_0x41483e,_0x54c3e2),_0x54c3e2;}[_0x3238bf(0x2da)](_0x279ac0){const _0x4181ae=_0x3238bf;var _0x4df072;const _0x5264d8=this['_sessions'][_0x4181ae(0x3a5)](_0x279ac0);_0x5264d8&&(this[_0x4181ae(0x176)][_0x4181ae(0x45a)](_0x279ac0),_0x5264d8[_0x4181ae(0x14b)]()),this[_0x4181ae(0x176)][_0x4181ae(0x346)]||(_0x4df072=this['_socket'])==null||_0x4df072[_0x4181ae(0x14b)]();}[_0x3238bf(0x1d1)](){const _0x1b1dad=_0x3238bf;this[_0x1b1dad(0x517)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x1b1dad(0x329)]),this[_0x1b1dad(0x329)]=null),this[_0x1b1dad(0x2ce)]();}[_0x3238bf(0x2c2)](){const _0x299f99=_0x3238bf;var _0x3d1055,_0x52f31a;const _0x32e3d1=this[_0x299f99(0x330)][_0x299f99(0x404)](ur),_0x55e9cc=this[_0x299f99(0x330)][_0x299f99(0x404)](ie),_0xa3ad72=(_0x52f31a=(_0x3d1055=_0x55e9cc==null?void 0x0:_0x55e9cc[_0x299f99(0x562)])!=null?_0x3d1055:_0x32e3d1)!=null?_0x52f31a:dr,_0x3b3903=this[_0x299f99(0x14e)]['createSocket'](_0xa3ad72);return this[_0x299f99(0x213)]=_0x3b3903,_0x3b3903;}[_0x3238bf(0x3c0)](){const _0x3130ce=_0x3238bf;var _0xfca539,_0x3be763;try{const _0x2ffb7c=(_0x3be763=(_0xfca539=this[_0x3130ce(0x1d8)])!=null?_0xfca539:this['_candidateSocket'])!=null?_0x3be763:this['_createSocket']();if(_0x2ffb7c){const _0x501144=_0x2ffb7c[_0x3130ce(0x31d)];_0x2ffb7c[_0x3130ce(0x31d)]=_0x1e0c38=>(this[_0x3130ce(0x2e3)](),_0x501144[_0x3130ce(0x4f9)](_0x2ffb7c,[_0x1e0c38])),_0x2ffb7c[_0x3130ce(0x411)][_0x3130ce(0x43b)](_0x5c7e93=>this['_onMessage'](_0x2ffb7c,_0x5c7e93)),_0x2ffb7c[_0x3130ce(0x457)][_0x3130ce(0x380)](_0x1070e6(0x1))['subscribe'](_0x362e3d=>this[_0x3130ce(0x188)][_0x3130ce(0x241)](_0x3130ce(0x454),_0x362e3d)),_0x2ffb7c[_0x3130ce(0x55d)]['pipe'](_0x1070e6(0x1))[_0x3130ce(0x43b)](()=>{const _0x447e3d=_0x3130ce;this[_0x447e3d(0x456)](_0x2ffb7c);}),_0x2ffb7c[_0x3130ce(0x4ae)][_0x3130ce(0x380)](_0x1070e6(0x1))[_0x3130ce(0x43b)](_0x4e6b64=>{const _0x44f8ec=_0x3130ce;this[_0x44f8ec(0x188)][_0x44f8ec(0x18e)]('[CollaborationSessionService]',_0x44f8ec(0x2c8),_0x4e6b64),this[_0x44f8ec(0x29e)]();});}}catch(_0x47faf8){this[_0x3130ce(0x188)][_0x3130ce(0x241)](_0x47faf8),this[_0x3130ce(0x29e)]();}}[_0x3238bf(0x456)](_0x55e39e){const _0x2e7bd9=_0x3238bf;this[_0x2e7bd9(0x188)][_0x2e7bd9(0x18e)](_0x2e7bd9(0x315),'socket\x20open.'),_0x55e39e[_0x2e7bd9(0x31d)]({'cmd':W[_0x2e7bd9(0x2e5)]}),this['_rescheduleHeartbeat']();}[_0x3238bf(0x398)](){const _0x110b8a=_0x3238bf;window['addEventListener'](_0x110b8a(0x296),()=>this['_onOffline']());}[_0x3238bf(0x50c)](){const _0x476dcb=_0x3238bf;this[_0x476dcb(0x37f)]=!0x1,this[_0x476dcb(0x213)]=null,this[_0x476dcb(0x3ff)][_0x476dcb(0x34c)](ve[_0x476dcb(0x291)]),this[_0x476dcb(0x17e)][_0x476dcb(0x34c)](null),this[_0x476dcb(0x1a9)](),this[_0x476dcb(0x143)]();}[_0x3238bf(0x29e)](){const _0x4efe74=_0x3238bf;var _0x5eec39;this['_onOffline'](),this[_0x4efe74(0x517)]<((_0x5eec39=this['_configService']['getConfig'](pr))!=null?_0x5eec39:gr)?(this['_messageService'][_0x4efe74(0x29f)]({'key':_0x4efe74(0x356),'type':_0x62271a[_0x4efe74(0x432)],'content':this['_localeService']['t'](_0x4efe74(0x2f8))}),this[_0x4efe74(0x2ce)]()):this[_0x4efe74(0x4ce)][_0x4efe74(0x29f)]({'key':_0x4efe74(0x356),'type':_0x62271a['Error'],'content':this[_0x4efe74(0x141)]['t'](_0x4efe74(0x1b4))});}[_0x3238bf(0x38a)](){const _0x47cbb1=_0x3238bf,_0xef31ec=()=>{const _0x1c16ee=_0x466f;this[_0x1c16ee(0x1d8)]||this[_0x1c16ee(0x1d1)]();},_0x11afdc=()=>{const _0x1be944=_0x466f;this['_socket']||document[_0x1be944(0x26f)]==='hidden'||this[_0x1be944(0x1d1)]();};window['addEventListener']('online',_0xef31ec),document[_0x47cbb1(0x13c)](_0x47cbb1(0x2eb),_0x11afdc);}['_tryReconnect'](){const _0x1c40ec=_0x3238bf;var _0x1ff922;const _0x1088e7=this[_0x1c40ec(0x517)],_0x1f4f4e=this['_configService']['getConfig'](ie),_0x33cd3b=_0x1088e7===0x0?0x0:((_0x1ff922=_0x1f4f4e==null?void 0x0:_0x1f4f4e[_0x1c40ec(0x538)])!=null?_0x1ff922:mr)*0x2**_0x1088e7;this[_0x1c40ec(0x329)]=window[_0x1c40ec(0x32c)](()=>{const _0x410e6c=_0x1c40ec;clearTimeout(this['_retryConnectingTimer']),this[_0x410e6c(0x329)]=null,this[_0x410e6c(0x3c0)]();},_0x33cd3b),this[_0x1c40ec(0x517)]+=0x1;}['_onMessage'](_0x239ff2,_0x2c43b0){const _0x1eeb27=_0x3238bf,{cmd:_0x463dbc}=_0x2c43b0;_0x463dbc===W[_0x1eeb27(0x2e5)]&&!this[_0x1eeb27(0x37f)]&&(_0x239ff2[_0x1eeb27(0x256)]=_0x2c43b0[_0x1eeb27(0x209)]['memberID'],this[_0x1eeb27(0x17e)][_0x1eeb27(0x34c)](_0x239ff2),this['_status$']['next'](ve['ONLINE']),this[_0x1eeb27(0x37f)]=!0x0,this[_0x1eeb27(0x213)]=null),_0x463dbc===W[_0x1eeb27(0x39d)]&&this[_0x1eeb27(0x1a9)](),this[_0x1eeb27(0x2e3)]();}['_rescheduleHeartbeat'](){const _0x2b0c54=_0x3238bf;var _0x4b5b4e;this[_0x2b0c54(0x143)](),this['_sendHeartbeatTimer']=window[_0x2b0c54(0x32c)](()=>this['_sendHeartbeat'](),(_0x4b5b4e=this[_0x2b0c54(0x330)][_0x2b0c54(0x404)](fr))!=null?_0x4b5b4e:vr);}[_0x3238bf(0x27d)](){const _0x1e90de=_0x3238bf;this[_0x1e90de(0x1d8)][_0x1e90de(0x31d)]({'cmd':W['HEARTBEAT']}),this[_0x1e90de(0x144)]();}[_0x3238bf(0x144)](){const _0x311499=_0x3238bf;var _0x20e386;this[_0x311499(0x40d)]=window[_0x311499(0x32c)](()=>this[_0x311499(0x29e)](),(_0x20e386=this[_0x311499(0x330)]['getConfig'](bi))!=null?_0x20e386:Ti);}[_0x3238bf(0x143)](){const _0x3ffced=_0x3238bf;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x3ffced(0x1f3)]),this[_0x3ffced(0x1f3)]=null);}[_0x3238bf(0x1a9)](){const _0x1b3153=_0x3238bf;this[_0x1b3153(0x40d)]!=null&&(clearTimeout(this[_0x1b3153(0x40d)]),this['_timeoutTimer']=null);}};Ae=Fr([je(0x0,_0x4a2654(_0x28b8e2)),je(0x1,_0x4a2654(_0xc7611d)),je(0x2,_0x2f8dd1),je(0x3,_0x5d0f53),je(0x4,_0x12cd24),je(0x5,Oi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x3238bf(0x419)]((i+0x100)['toString'](0x10)[_0x3238bf(0x423)](0x1));function Vr(_0x47b7d1,_0x5bdf89=0x0){const _0x35d720=_0x3238bf;return(Y[_0x47b7d1[_0x5bdf89+0x0]]+Y[_0x47b7d1[_0x5bdf89+0x1]]+Y[_0x47b7d1[_0x5bdf89+0x2]]+Y[_0x47b7d1[_0x5bdf89+0x3]]+'-'+Y[_0x47b7d1[_0x5bdf89+0x4]]+Y[_0x47b7d1[_0x5bdf89+0x5]]+'-'+Y[_0x47b7d1[_0x5bdf89+0x6]]+Y[_0x47b7d1[_0x5bdf89+0x7]]+'-'+Y[_0x47b7d1[_0x5bdf89+0x8]]+Y[_0x47b7d1[_0x5bdf89+0x9]]+'-'+Y[_0x47b7d1[_0x5bdf89+0xa]]+Y[_0x47b7d1[_0x5bdf89+0xb]]+Y[_0x47b7d1[_0x5bdf89+0xc]]+Y[_0x47b7d1[_0x5bdf89+0xd]]+Y[_0x47b7d1[_0x5bdf89+0xe]]+Y[_0x47b7d1[_0x5bdf89+0xf]])[_0x35d720(0x29d)]();}let Nt;const Gr=new Uint8Array(0x10);function Yr(){const _0x2ac7cb=_0x3238bf;if(!Nt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x2ac7cb(0x3c9));Nt=crypto[_0x2ac7cb(0x441)][_0x2ac7cb(0x4dd)](crypto);}return Nt(Gr);}const Kr=typeof crypto<'u'&&crypto[_0x3238bf(0x3ad)]&&crypto[_0x3238bf(0x3ad)][_0x3238bf(0x4dd)](crypto),js={'randomUUID':Kr};function zr(_0x5a14c8,_0x40adb1,_0x57b99e){const _0x9f5e1e=_0x3238bf;if(js[_0x9f5e1e(0x3ad)]&&!_0x40adb1&&!_0x5a14c8)return js[_0x9f5e1e(0x3ad)]();_0x5a14c8=_0x5a14c8||{};const _0x3e1845=_0x5a14c8[_0x9f5e1e(0x38b)]||(_0x5a14c8[_0x9f5e1e(0x389)]||Yr)();return _0x3e1845[0x6]=_0x3e1845[0x6]&0xf|0x40,_0x3e1845[0x8]=_0x3e1845[0x8]&0x3f|0x80,Vr(_0x3e1845);}var qr=Object['defineProperty'],Xr=Object[_0x3238bf(0x2df)],Jr=(_0x22cc81,_0x1c9745,_0x38f5ce,_0x867a86)=>{const _0x5732f5=_0x3238bf;for(var _0x5dcbeb=_0x867a86>0x1?void 0x0:_0x867a86?Xr(_0x1c9745,_0x38f5ce):_0x1c9745,_0x2d83a0=_0x22cc81[_0x5732f5(0x325)]-0x1,_0x2436b4;_0x2d83a0>=0x0;_0x2d83a0--)(_0x2436b4=_0x22cc81[_0x2d83a0])&&(_0x5dcbeb=(_0x867a86?_0x2436b4(_0x1c9745,_0x38f5ce,_0x5dcbeb):_0x2436b4(_0x5dcbeb))||_0x5dcbeb);return _0x867a86&&_0x5dcbeb&&qr(_0x1c9745,_0x38f5ce,_0x5dcbeb),_0x5dcbeb;},At=(_0x446797,_0xbbe77)=>(_0x1af210,_0x8310e3)=>_0xbbe77(_0x1af210,_0x8310e3,_0x446797);let ft=class{constructor(_0x68026f,_0x1ee72e,_0x336ce3){const _0x3fae54=_0x3238bf;this['_injector']=_0x68026f,this[_0x3fae54(0x41a)]=_0x1ee72e,this['_renderManagerService']=_0x336ce3;}[_0x3238bf(0x1f2)](_0x3b021f){const _0x5da3e3=_0x3238bf;this[_0x5da3e3(0x19d)](_0x3b021f),this[_0x5da3e3(0x185)](_0x3b021f);}[_0x3238bf(0x235)](_0x4ae0f1){const _0x299bb7=_0x3238bf,{unitID:_0x5e0ac6}=_0x4ae0f1,_0x1656fb=this[_0x299bb7(0x309)][_0x299bb7(0x4db)](_0x5e0ac6)[_0x299bb7(0x3a1)](_0x26849f),{redoCache:_0x1a430b}=_0x1656fb['getUndoRedoMutationParamsCache']();if(_0x1a430b[_0x299bb7(0x325)]===0x0)return _0x4ae0f1;let _0x37b1d1=_0x3a7870['deepClone'](_0x4ae0f1[_0x299bb7(0x4de)][0x0]);for(let _0x5b4a87=0x0;_0x5b4a87<_0x1a430b['length'];_0x5b4a87++){const _0x4b4f20={'id':_0x299bb7(0x3b3),'params':{..._0x1a430b[_0x5b4a87]}},_0x4c7e19=this['_transformService'][_0x299bb7(0x1dc)](_0x37b1d1,_0x4b4f20,!0x1);if(_0x2e9e95(_0x4c7e19))throw _0x4c7e19[_0x299bb7(0x241)];_0x37b1d1=_0x4c7e19[_0x299bb7(0x2dd)];}return{..._0x3a7870[_0x299bb7(0x544)](_0x4ae0f1),'mutations':[_0x37b1d1]};}[_0x3238bf(0x19d)](_0x204385){const _0x4c1f90=_0x3238bf,{unitID:_0x134134}=_0x204385,_0x3c31c2=this[_0x4c1f90(0x309)]['getRenderById'](_0x134134)[_0x4c1f90(0x3a1)](_0x26849f),{undoCache:_0x5420c4,redoCache:_0x2221f5}=_0x3c31c2[_0x4c1f90(0x40c)]();if(_0x5420c4['length']===0x0||_0x2221f5[_0x4c1f90(0x325)]===0x0)return;const _0x3abb46=[],_0x2fc279=[];let _0x41ec39=_0x3a7870[_0x4c1f90(0x544)](_0x204385[_0x4c1f90(0x4de)][0x0]),_0x3dd33a=_0x3a7870['deepClone'](_0x204385['mutations'][0x0]);for(let _0x5a19e2=_0x5420c4[_0x4c1f90(0x325)]-0x1;_0x5a19e2>=0x0;_0x5a19e2--){const _0x2e58fe={'id':'doc.mutation.rich-text-editing','params':{..._0x5420c4[_0x5a19e2]}},_0x43db0b={'id':'doc.mutation.rich-text-editing','params':{..._0x2221f5[_0x5a19e2]}},_0xaa14d9=this[_0x4c1f90(0x41a)][_0x4c1f90(0x1dc)](_0x41ec39,_0x2e58fe,!0x1),_0x13a61d=this[_0x4c1f90(0x41a)][_0x4c1f90(0x1dc)](_0x3dd33a,_0x43db0b,!0x1);if(_0x2e9e95(_0xaa14d9))throw _0xaa14d9[_0x4c1f90(0x241)];if(_0x2e9e95(_0x13a61d))throw _0x13a61d[_0x4c1f90(0x241)];_0x3abb46[_0x4c1f90(0x15c)](_0xaa14d9[_0x4c1f90(0x471)][_0x4c1f90(0x37c)]),_0x2fc279[_0x4c1f90(0x15c)](_0x13a61d['m2Prime']['params']),_0x41ec39=_0xaa14d9[_0x4c1f90(0x2dd)],_0x3dd33a=_0x13a61d[_0x4c1f90(0x2dd)];}_0x3c31c2[_0x4c1f90(0x2c5)]({'undoCache':_0x3abb46,'redoCache':_0x2fc279});}[_0x3238bf(0x185)](_0x10c7fd){const _0x36021a=_0x3238bf,{unitID:_0x134170}=_0x10c7fd,_0x331be7=this['_renderManagerService'][_0x36021a(0x4db)](_0x134170)[_0x36021a(0x3a1)](_0x26849f),_0x6bac1=_0x331be7[_0x36021a(0x253)]();if(_0x6bac1==null)return;const _0x25b87a=[{'id':_0x36021a(0x3b3),'params':{'unitId':_0x10c7fd['unitID'],'actions':null,'textRanges':[_0x6bac1]}}],_0x3657a3=this[_0x36021a(0x41a)][_0x36021a(0x2ee)](_0x10c7fd,_0x25b87a);if(!_0xa7de0(_0x3657a3))throw _0x3657a3[_0x36021a(0x241)];const _0x6e4432=_0x3657a3[_0x36021a(0x471)][0x0][_0x36021a(0x37c)][_0x36021a(0x30a)];Array['isArray'](_0x6e4432)&&_0x6e4432[_0x36021a(0x325)]&&_0x331be7[_0x36021a(0x486)](_0x6e4432[0x0]);}};ft=Jr([At(0x0,_0x4a2654(_0x28b8e2)),At(0x1,_0x945511),At(0x2,_0x273231)],ft);var Zr=Object[_0x3238bf(0x535)],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x16b334,_0x33f36d,_0x12d81c,_0x55cf5f)=>{const _0x44549f=_0x3238bf;for(var _0x4c56db=_0x55cf5f>0x1?void 0x0:_0x55cf5f?Qr(_0x33f36d,_0x12d81c):_0x33f36d,_0x564ad0=_0x16b334[_0x44549f(0x325)]-0x1,_0x49fd52;_0x564ad0>=0x0;_0x564ad0--)(_0x49fd52=_0x16b334[_0x564ad0])&&(_0x4c56db=(_0x55cf5f?_0x49fd52(_0x33f36d,_0x12d81c,_0x4c56db):_0x49fd52(_0x4c56db))||_0x4c56db);return _0x55cf5f&&_0x4c56db&&Zr(_0x33f36d,_0x12d81c,_0x4c56db),_0x4c56db;},Xe=(_0x595765,_0x6e645a)=>(_0x350f2b,_0x3d0a0b)=>_0x6e645a(_0x350f2b,_0x3d0a0b,_0x595765);let q=class extends _0x1bec45{constructor(_0x392545,_0x213bf1,_0x23d382,_0x3a48de,_0x36e04a){const _0x2a6f3d=_0x3238bf;super(),g(this,_0x2a6f3d(0x4fe),new Map()),g(this,'_saveTaskMap',new Map()),g(this,'_disabled',!0x1),(this[_0x2a6f3d(0x330)]=_0x392545,this[_0x2a6f3d(0x51c)]=_0x213bf1,this[_0x2a6f3d(0x20a)]=_0x23d382,this[_0x2a6f3d(0x141)]=_0x3a48de,this[_0x2a6f3d(0x357)]=_0x36e04a,this[_0x2a6f3d(0x2e0)]());}['disableLocalCache'](){const _0x3b2583=_0x3238bf;this[_0x3b2583(0x171)]=!0x0;}[_0x3238bf(0x3a2)](){const _0x578b8c=_0x3238bf;this[_0x578b8c(0x171)]=!0x1;}[_0x3238bf(0x161)](){const _0xd01a11=_0x3238bf;this[_0xd01a11(0x3b0)]()[_0xd01a11(0x2f6)](()=>super[_0xd01a11(0x161)]());}async['loadOfflineData'](_0x10e458){const _0x3689e0=_0x3238bf;return this['_disabled']?null:this[_0x3689e0(0x51c)][_0x3689e0(0x43d)](Bs(_0x10e458));}async[_0x3238bf(0x1c1)](_0x24a0c2,_0x543883){const _0x589bc4=_0x3238bf;return!!this[_0x589bc4(0x51c)][_0x589bc4(0x546)](_0x24a0c2,_0x543883);}[_0x3238bf(0x49b)](_0x3fb98c,_0x5f4a44,_0x20cd3f,_0x46e679){const _0x5e0536=_0x3238bf,_0xc71d69=this['_revisionService']['getCurrentRevOfUnit'](_0x3fb98c);this[_0x5e0536(0x4fe)]['set'](_0x3fb98c,{'unitID':_0x3fb98c,'type':_0x5f4a44,'awaitingChangeset':_0x20cd3f,'mutations':_0x46e679,'rev':_0xc71d69}),this[_0x5e0536(0x341)][_0x5e0536(0x220)](_0x3fb98c)||this[_0x5e0536(0x2f4)](_0x3fb98c);}[_0x3238bf(0x2f4)](_0x3feb2f){const _0x78d80f=_0x3238bf,_0xcc31c1=this[_0x78d80f(0x498)]();_0xcc31c1===0x0?this[_0x78d80f(0x2a0)](_0x3feb2f):this['_saveTaskMap'][_0x78d80f(0x13d)](_0x3feb2f,setTimeout(()=>this[_0x78d80f(0x2a0)](_0x3feb2f),_0xcc31c1));}[_0x3238bf(0x498)](){const _0x1624e6=_0x3238bf;var _0x372ccf;return(_0x372ccf=this['_configService'][_0x1624e6(0x404)](Sr))!=null?_0x372ccf:Ir;}['_saveCache'](_0x264646){const _0x2ae2ba=_0x3238bf,_0xcbf20c=this['_saveTaskMap'][_0x2ae2ba(0x3a5)](_0x264646);return _0xcbf20c!==void 0x0&&window['clearTimeout'](_0xcbf20c),this[_0x2ae2ba(0x51c)][_0x2ae2ba(0x546)](Bs(_0x264646),this[_0x2ae2ba(0x4fe)]['get'](_0x264646))[_0x2ae2ba(0x2f6)](()=>this[_0x2ae2ba(0x341)][_0x2ae2ba(0x45a)](_0x264646));}async['exhaustSavingTask'](){const _0x494434=_0x3238bf,_0x533681=[];this['_saveTaskMap']['forEach']((_0x2037d3,_0x339144)=>{const _0x54ad98=_0x466f;window['clearTimeout'](_0x2037d3),_0x533681[_0x54ad98(0x419)](this['_saveCache'](_0x339144)[_0x54ad98(0x2f6)](()=>{this['_saveTaskMap']['delete'](_0x339144);}));}),await Promise[_0x494434(0x2a8)](_0x533681);}[_0x3238bf(0x2e0)](){const _0x3de289=_0x3238bf;this[_0x3de289(0x3df)](this[_0x3de289(0x20a)][_0x3de289(0x271)](()=>{const _0x3ba1e8=_0x3de289;if(this[_0x3ba1e8(0x341)][_0x3ba1e8(0x346)])return this['_localeService']['t'](_0x3ba1e8(0x40b));}));}};q=eo([Xe(0x0,_0x12cd24),Xe(0x1,_0x99c20),Xe(0x2,_0xdad7a5),Xe(0x3,_0x4a2654(_0xc7611d)),Xe(0x4,_0x4a2654(_0x56b96b))],q);function Bs(_0x287891){return'unit-cache-'+_0x287891;}var to=Object[_0x3238bf(0x535)],so=Object[_0x3238bf(0x2df)],io=(_0x58e3ce,_0x4c1fe2,_0x2db36b,_0x50ae94)=>{const _0x4f5bba=_0x3238bf;for(var _0x1c1250=_0x50ae94>0x1?void 0x0:_0x50ae94?so(_0x4c1fe2,_0x2db36b):_0x4c1fe2,_0x5155a8=_0x58e3ce[_0x4f5bba(0x325)]-0x1,_0x46a8f2;_0x5155a8>=0x0;_0x5155a8--)(_0x46a8f2=_0x58e3ce[_0x5155a8])&&(_0x1c1250=(_0x50ae94?_0x46a8f2(_0x4c1fe2,_0x2db36b,_0x1c1250):_0x46a8f2(_0x1c1250))||_0x1c1250);return _0x50ae94&&_0x1c1250&&to(_0x4c1fe2,_0x2db36b,_0x1c1250),_0x1c1250;},Mt=(_0x483ff5,_0x5a8645)=>(_0x567279,_0x394f6a)=>_0x5a8645(_0x567279,_0x394f6a,_0x483ff5);function no(_0x3bb60c){const _0x1b209d=_0x3238bf,{unitID:_0x1404a9,mutations:_0x3f8f81}=_0x3bb60c;return{'unitId':_0x1404a9,'subUnitId':_0x3f8f81[0x0][_0x1b209d(0x37c)][_0x1b209d(0x336)]};}let vt=class{constructor(_0x4205c6,_0x11e936,_0x922599){const _0x3ee5f6=_0x3238bf;this[_0x3ee5f6(0x151)]=_0x4205c6,this[_0x3ee5f6(0x41a)]=_0x11e936,this[_0x3ee5f6(0x1ed)]=_0x922599;}['transformSelections'](_0x1bb3de){const _0x33f155=_0x3238bf;var _0x230cb1,_0x37c1e6,_0xf5121b,_0x567d95;const _0x3b330c=this[_0x33f155(0x151)][_0x33f155(0x3a5)](_0x42bfc2),{unitId:_0x4db0fa,subUnitId:_0x5c5fee}=no(_0x1bb3de),_0x44afe9=_0x3b330c[_0x33f155(0x2be)](_0x4db0fa)[_0x33f155(0x24f)](),_0x368ef2=(_0x37c1e6=(_0x230cb1=this[_0x33f155(0x1ed)][_0x33f155(0x547)](_0x4db0fa))==null?void 0x0:_0x230cb1[_0x33f155(0x251)]())==null?void 0x0:_0x37c1e6[_0x33f155(0x1d4)]();if(_0x44afe9[_0x33f155(0x325)]===0x0||!_0x4db0fa||!_0x5c5fee)return;const _0x345a17=[{'id':_0xb384b4['id'],'params':{'unitId':_0x4db0fa,'subUnitId':_0x368ef2,'selections':_0x3a7870[_0x33f155(0x544)](_0x44afe9)}}],_0x3753d4=this[_0x33f155(0x41a)]['transformMutationsWithChangeset'](_0x1bb3de,_0x345a17);if(!_0xa7de0(_0x3753d4))throw _0x3753d4['error'];const _0x46b3da=(_0x567d95=(_0xf5121b=_0x3753d4[_0x33f155(0x471)][0x0])==null?void 0x0:_0xf5121b[_0x33f155(0x37c)])==null?void 0x0:_0x567d95['selections'];if(Array[_0x33f155(0x4a0)](_0x46b3da)&&_0x46b3da[_0x33f155(0x325)]){if(_0x46b3da['length']===_0x345a17[0x0][_0x33f155(0x37c)][_0x33f155(0x17a)]['length']&&_0x46b3da[_0x33f155(0x501)]((_0x5d3307,_0x483576)=>_0x185edd[_0x33f155(0x4f7)](_0x5d3307['range'],_0x345a17[0x0][_0x33f155(0x37c)][_0x33f155(0x17a)][_0x483576][_0x33f155(0x172)])))return;this['_injector'][_0x33f155(0x3a5)](_0x462ea5)['executeCommand'](_0xb384b4['id'],{'unitId':_0x4db0fa,'subUnitId':_0x368ef2,'selections':_0x46b3da});}}};vt=io([Mt(0x0,_0x4a2654(_0x28b8e2)),Mt(0x1,_0x945511),Mt(0x2,_0x21deaa)],vt);const Rt=_0x271919(_0x3238bf(0x23a));var Di=(_0x54e2e8=>(_0x54e2e8[_0x54e2e8[_0x3238bf(0x2de)]=0x0]=_0x3238bf(0x2de),_0x54e2e8[_0x54e2e8['OTHER_CLIENTS_EDITING']=0x1]=_0x3238bf(0x347),_0x54e2e8))(Di||{});const ks=0x7530,Ws='ACTIVE_UNIT_EVENT_CHANNEL';class ro extends _0x1bec45{constructor(){const _0x2e1c6b=_0x3238bf;super(),g(this,_0x2e1c6b(0x31f),_0x3a7870[_0x2e1c6b(0x2ae)]()),g(this,'_selfUnitIDs',new Set()),g(this,_0x2e1c6b(0x3a9),new Map()),g(this,_0x2e1c6b(0x252),null),g(this,_0x2e1c6b(0x4c3),new Map()),g(this,_0x2e1c6b(0x308),new Map()),this[_0x2e1c6b(0x433)]();}[_0x3238bf(0x161)](){const _0x4e5d65=_0x3238bf;super[_0x4e5d65(0x161)](),this['_clearOtherTimers'][_0x4e5d65(0x4b5)]((_0x48c960,_0x463d6e)=>this['_removeClearOtherTimer'](_0x463d6e)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x4e5d65(0x252)]);}[_0x3238bf(0x27f)](_0x2f948e){const _0x5ca60e=_0x3238bf;return this[_0x5ca60e(0x1a4)](_0x2f948e)[_0x5ca60e(0x380)](_0x120bb7());}[_0x3238bf(0x1e5)](_0x201557){const _0x2f3c2a=_0x3238bf;this[_0x2f3c2a(0x545)]['size']===0x0&&this[_0x2f3c2a(0x3eb)](),this[_0x2f3c2a(0x545)][_0x2f3c2a(0x28d)](_0x201557),this['_send']({'type':0x0,'memberID':this[_0x2f3c2a(0x31f)],'unitIDs':[_0x201557],'isForwarded':!0x1});}[_0x3238bf(0x208)](_0xb567d6){const _0xeb5bd=_0x3238bf;this[_0xeb5bd(0x545)][_0xeb5bd(0x45a)](_0xb567d6),this[_0xeb5bd(0x545)][_0xeb5bd(0x346)]===0x0&&this[_0xeb5bd(0x252)]&&window['clearInterval'](this['_heartbeatTimer']);}['_init'](){const _0x295589=_0x3238bf;this[_0x295589(0x3df)](_0x164be7(_0xfa2d6a(window,_0x295589(0x290))[_0x295589(0x43b)](_0x11d635=>{const _0x2ef51b=_0x295589;if(_0x11d635[_0x2ef51b(0x360)]!==Ws||!_0x11d635['newValue'])return;const _0x37b53d=JSON[_0x2ef51b(0x47a)](_0x11d635[_0x2ef51b(0x29b)]);this[_0x2ef51b(0x366)](_0x37b53d);}))),window[_0x295589(0x13c)](_0x295589(0x193),()=>this[_0x295589(0x4be)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x295589(0x409)](this['_selfUnitIDs'])}));}[_0x3238bf(0x366)](_0x2ab16f){const _0x430073=_0x3238bf;switch(_0x2ab16f[_0x430073(0x4cf)]){case 0x0:this[_0x430073(0x3e1)](_0x2ab16f);break;case 0x1:this['_handleLeaveEvent'](_0x2ab16f);break;case 0x2:this['_handleHeartbeatEvent'](_0x2ab16f);break;}}[_0x3238bf(0x3e1)](_0x3f1261){const _0x1a07d2=_0x3238bf,{unitIDs:_0x1776ef,memberID:_0x32f8ce,isForwarded:_0x46fd16}=_0x3f1261;_0x1776ef[_0x1a07d2(0x4b5)](_0xf3cea2=>{const _0x18d825=_0x1a07d2;if(!_0x46fd16&&this[_0x18d825(0x3a9)][_0x18d825(0x220)](_0xf3cea2)&&this['_ensureSubject'](_0xf3cea2)[_0x18d825(0x34c)](0x1),!this[_0x18d825(0x3a9)][_0x18d825(0x220)](_0xf3cea2)||!this[_0x18d825(0x3a9)][_0x18d825(0x3a5)](_0xf3cea2)[_0x18d825(0x220)](_0x32f8ce)){const _0x169273=this[_0x18d825(0x3a9)][_0x18d825(0x3a5)](_0xf3cea2)||new Set();_0x169273['add'](_0x32f8ce),this[_0x18d825(0x3a9)][_0x18d825(0x13d)](_0xf3cea2,_0x169273),this['_scheduleClearOtherTimer'](_0x32f8ce);}}),_0x46fd16||this['_send']({'type':0x0,'memberID':this[_0x1a07d2(0x31f)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3238bf(0x2b5)](_0x406852){const _0x421e67=_0x3238bf;this[_0x421e67(0x38d)](_0x406852);const _0x4a268b=window[_0x421e67(0x32c)](()=>{this['_unitOnClients']['forEach'](_0x21e129=>{const _0x1476e5=_0x466f;_0x21e129[_0x1476e5(0x45a)](_0x406852);});},ks*0x2);this[_0x421e67(0x4c3)][_0x421e67(0x13d)](_0x406852,_0x4a268b);}[_0x3238bf(0x38d)](_0x126e17){const _0x4aba90=_0x3238bf;if(this[_0x4aba90(0x4c3)][_0x4aba90(0x220)](_0x126e17)){const _0x59bf6b=this[_0x4aba90(0x4c3)]['get'](_0x126e17);_0x59bf6b&&window[_0x4aba90(0x1fd)](_0x59bf6b),this[_0x4aba90(0x4c3)][_0x4aba90(0x13d)](_0x126e17,null);}}[_0x3238bf(0x338)](_0x3668a3){const _0x4141da=_0x3238bf,{memberID:_0x415f16,unitIDs:_0x42aa7a}=_0x3668a3;_0x42aa7a[_0x4141da(0x4b5)](_0x4e0300=>{const _0x18f6c2=_0x4141da;var _0x13c93c;const _0x176fa6=this[_0x18f6c2(0x3a9)]['get'](_0x4e0300);_0x176fa6&&(_0x176fa6['delete'](_0x415f16),(_0x13c93c=this[_0x18f6c2(0x1a4)](_0x4e0300))==null||_0x13c93c[_0x18f6c2(0x34c)](_0x176fa6['size']===0x0?0x0:0x1));}),this[_0x4141da(0x38d)](_0x415f16);}[_0x3238bf(0x19e)](_0x125c1f){const _0x286606=_0x3238bf;this[_0x286606(0x2b5)](_0x125c1f[_0x286606(0x256)]);}['_send'](_0x251247){const _0x2245b0=_0x3238bf;localStorage[_0x2245b0(0x546)](Ws,JSON[_0x2245b0(0x2a3)](_0x251247));}[_0x3238bf(0x3eb)](){const _0x3e5ae5=_0x3238bf;this[_0x3e5ae5(0x252)]=window[_0x3e5ae5(0x1f9)](()=>{const _0x374cc9=_0x3e5ae5;this[_0x374cc9(0x4be)]({'type':0x2,'memberID':this[_0x374cc9(0x31f)]});},ks);}['_ensureSubject'](_0x153cbc){const _0xe7a093=_0x3238bf;return this[_0xe7a093(0x308)][_0xe7a093(0x220)](_0x153cbc)||this[_0xe7a093(0x308)][_0xe7a093(0x13d)](_0x153cbc,new _0x353bc7(0x0)),this['_unitStatus'][_0xe7a093(0x3a5)](_0x153cbc);}}var oo=Object[_0x3238bf(0x535)],ao=Object[_0x3238bf(0x2df)],co=(_0x233375,_0x35f56a,_0x3fd582,_0x4ab0fd)=>{const _0x145f4f=_0x3238bf;for(var _0x2475a4=_0x4ab0fd>0x1?void 0x0:_0x4ab0fd?ao(_0x35f56a,_0x3fd582):_0x35f56a,_0x2d418b=_0x233375[_0x145f4f(0x325)]-0x1,_0x2563f9;_0x2d418b>=0x0;_0x2d418b--)(_0x2563f9=_0x233375[_0x2d418b])&&(_0x2475a4=(_0x4ab0fd?_0x2563f9(_0x35f56a,_0x3fd582,_0x2475a4):_0x2563f9(_0x2475a4))||_0x2475a4);return _0x4ab0fd&&_0x2475a4&&oo(_0x35f56a,_0x3fd582,_0x2475a4),_0x2475a4;},xt=(_0x3a9557,_0x444e2c)=>(_0x2b02dc,_0x26f0ab)=>_0x444e2c(_0x2b02dc,_0x26f0ab,_0x3a9557);let mt=class{constructor(_0x32bea6,_0x5f4798,_0x34d731){const _0x3aee97=_0x3238bf;this['_injector']=_0x32bea6,this[_0x3aee97(0x41a)]=_0x5f4798,this[_0x3aee97(0x2f0)]=_0x34d731;}[_0x3238bf(0x29a)](_0x114c56){const _0x248cdf=_0x3238bf;this[_0x248cdf(0x16b)](_0x114c56);}[_0x3238bf(0x235)](_0x2d4a8c){const _0x59b69d=_0x3238bf,{unitID:_0xd54ce9}=_0x2d4a8c,{collaboration:_0x53a62c}=this['_docStateChangeManagerService'][_0x59b69d(0x563)](_0xd54ce9);if(_0x53a62c[_0x59b69d(0x325)]===0x0)return _0x2d4a8c;let _0x1c4f4e=_0x3a7870['deepClone'](_0x2d4a8c[_0x59b69d(0x4de)][0x0]);for(let _0x23fffd=0x0;_0x23fffd<_0x53a62c[_0x59b69d(0x325)];_0x23fffd++){const _0x3e3d53={'id':_0x59b69d(0x3b3),'params':{'unitId':_0x53a62c[_0x23fffd][_0x59b69d(0x1bf)],..._0x53a62c[_0x23fffd][_0x59b69d(0x3d6)]}},_0x496830=this[_0x59b69d(0x41a)][_0x59b69d(0x1dc)](_0x1c4f4e,_0x3e3d53,!0x1);if(_0x2e9e95(_0x496830))throw _0x496830[_0x59b69d(0x241)];_0x1c4f4e=_0x496830[_0x59b69d(0x2dd)];}return{..._0x3a7870[_0x59b69d(0x544)](_0x2d4a8c),'mutations':[_0x1c4f4e]};}[_0x3238bf(0x16b)](_0x51cda1){const _0xbf3a6c=_0x3238bf,{unitID:_0x1c0014}=_0x51cda1,{history:_0x48db1c,collaboration:_0x405e63}=this['_docStateChangeManagerService'][_0xbf3a6c(0x563)](_0x1c0014);if(_0x48db1c[_0xbf3a6c(0x325)]===0x0&&_0x405e63[_0xbf3a6c(0x325)]===0x0)return;const _0x624155=[],_0x16e47d=[];let _0x29963b=_0x3a7870[_0xbf3a6c(0x544)](_0x51cda1['mutations'][0x0]),_0x577361=_0x3a7870[_0xbf3a6c(0x544)](_0x51cda1[_0xbf3a6c(0x4de)][0x0]);for(let _0x5e9ff5=_0x48db1c[_0xbf3a6c(0x325)]-0x1;_0x5e9ff5>=0x0;_0x5e9ff5--){const _0x217b10={'id':_0xbf3a6c(0x3b3),'params':{'unitId':_0x48db1c[_0x5e9ff5][_0xbf3a6c(0x1bf)],..._0x48db1c[_0x5e9ff5][_0xbf3a6c(0x355)]}},_0x4c4ba9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x48db1c[_0x5e9ff5]['unitId'],..._0x48db1c[_0x5e9ff5][_0xbf3a6c(0x3d6)]}},_0x138877=this[_0xbf3a6c(0x41a)]['transformMutation'](_0x29963b,_0x217b10,!0x1),_0x2d6ce3=this[_0xbf3a6c(0x41a)][_0xbf3a6c(0x1dc)](_0x577361,_0x4c4ba9,!0x1);if(_0x2e9e95(_0x138877))throw _0x138877['error'];if(_0x2e9e95(_0x2d6ce3))throw _0x2d6ce3['error'];_0x624155[_0xbf3a6c(0x15c)]({..._0x48db1c[_0x5e9ff5],'undoState':_0x138877[_0xbf3a6c(0x471)][_0xbf3a6c(0x37c)],'redoState':_0x2d6ce3['m2Prime'][_0xbf3a6c(0x37c)]}),_0x29963b=_0x138877[_0xbf3a6c(0x2dd)],_0x577361=_0x2d6ce3[_0xbf3a6c(0x2dd)];}_0x29963b=_0x3a7870[_0xbf3a6c(0x544)](_0x51cda1[_0xbf3a6c(0x4de)][0x0]),_0x577361=_0x3a7870['deepClone'](_0x51cda1[_0xbf3a6c(0x4de)][0x0]);for(let _0x303ed3=_0x405e63[_0xbf3a6c(0x325)]-0x1;_0x303ed3>=0x0;_0x303ed3--){const _0x40ccdd={'id':_0xbf3a6c(0x3b3),'params':{'unitId':_0x405e63[_0x303ed3][_0xbf3a6c(0x1bf)],..._0x405e63[_0x303ed3]['undoState']}},_0x53ffec={'id':_0xbf3a6c(0x3b3),'params':{'unitId':_0x405e63[_0x303ed3]['unitId'],..._0x405e63[_0x303ed3][_0xbf3a6c(0x3d6)]}},_0x2a5500=this[_0xbf3a6c(0x41a)][_0xbf3a6c(0x1dc)](_0x29963b,_0x40ccdd,!0x1),_0x47a2e5=this[_0xbf3a6c(0x41a)][_0xbf3a6c(0x1dc)](_0x577361,_0x53ffec,!0x1);if(_0x2e9e95(_0x2a5500))throw _0x2a5500[_0xbf3a6c(0x241)];if(_0x2e9e95(_0x47a2e5))throw _0x47a2e5[_0xbf3a6c(0x241)];_0x16e47d['unshift']({..._0x405e63[_0x303ed3],'undoState':_0x2a5500[_0xbf3a6c(0x471)][_0xbf3a6c(0x37c)],'redoState':_0x47a2e5[_0xbf3a6c(0x471)][_0xbf3a6c(0x37c)]}),_0x29963b=_0x2a5500[_0xbf3a6c(0x2dd)],_0x577361=_0x47a2e5['m1Prime'];}this[_0xbf3a6c(0x2f0)][_0xbf3a6c(0x284)](_0x1c0014,{'history':_0x624155,'collaboration':_0x16e47d});}};mt=co([xt(0x0,_0x4a2654(_0x28b8e2)),xt(0x1,_0x945511),xt(0x2,_0x4a2654(_0x55dde0))],mt);function Pi(_0x5069d3){const _0x3bd049=_0x3238bf;let _0x954929='';for(const _0x4e1eec of _0x5069d3){const {startOffset:_0x54045d,endOffset:_0x16b96b,isActive:_0x4669cb,rangeType:_0x221557,segmentId:_0x10d26f,segmentPage:_0x453029}=_0x4e1eec;_0x954929[_0x3bd049(0x325)]&&(_0x954929+=','),_0x954929+=_0x54045d+':'+_0x16b96b+':'+(_0x4669cb?'1':'0')+':'+_0x221557+':'+_0x10d26f+':'+_0x453029;}return _0x954929;}function ho(_0xe1d49d){const _0x5ab146=_0x3238bf,_0x3ef4f9=_0xe1d49d[_0x5ab146(0x257)](','),_0x369014=[];for(const _0x312c15 of _0x3ef4f9){const [_0x2d0af3,_0xa9a14f,_0x124d53,_0x55f3b1,_0x235976,_0x40af3b]=_0x312c15[_0x5ab146(0x257)](':');_0x369014['push']({'startOffset':Number(_0x2d0af3),'endOffset':Number(_0xa9a14f),'collapsed':_0x2d0af3===_0xa9a14f,'isActive':_0x124d53==='1','rangeType':_0x55f3b1===_0x507957['TEXT']?_0x507957[_0x5ab146(0x293)]:_0x507957[_0x5ab146(0x4e4)],'segmentId':typeof _0x235976=='string'?String(_0x235976):'','segmentPage':Number(_0x40af3b!=null?_0x40af3b:-0x1)});}return _0x369014[_0x5ab146(0x2a7)](_0x5cd35d=>_0x5cd35d[_0x5ab146(0x385)])||(_0x369014[0x0][_0x5ab146(0x385)]=!0x0),_0x369014;}class Cs extends _0x9ae76a{constructor(){const _0x2b3667=_0x3238bf;super(...arguments),g(this,_0x2b3667(0x269),new _0x353bc7(null)),g(this,_0x2b3667(0x1ad),this['_collabCursorState$'][_0x2b3667(0x384)]());}[_0x3238bf(0x361)](_0x2157d9){const _0x3767d0=_0x3238bf,{unitID:_0x59e4ae,memberID:_0x4f1eaa,textRanges:_0x4385cf}=_0x2157d9,_0x587680=Pi(_0x4385cf);if(_0x587680==='')return;const _0x2646e3={'unitID':_0x59e4ae,'memberID':_0x4f1eaa,'selection':_0x587680};this[_0x3767d0(0x269)][_0x3767d0(0x34c)](_0x2646e3);}}var lo=Object[_0x3238bf(0x535)],_o=Object[_0x3238bf(0x2df)],uo=(_0x4990ea,_0x559013,_0x39e5c7,_0x5f4d81)=>{const _0xe08331=_0x3238bf;for(var _0x11de2b=_0x5f4d81>0x1?void 0x0:_0x5f4d81?_o(_0x559013,_0x39e5c7):_0x559013,_0x103c8a=_0x4990ea[_0xe08331(0x325)]-0x1,_0x437787;_0x103c8a>=0x0;_0x103c8a--)(_0x437787=_0x4990ea[_0x103c8a])&&(_0x11de2b=(_0x5f4d81?_0x437787(_0x559013,_0x39e5c7,_0x11de2b):_0x437787(_0x11de2b))||_0x11de2b);return _0x5f4d81&&_0x11de2b&&lo(_0x559013,_0x39e5c7,_0x11de2b),_0x11de2b;},Fs=(_0x49ff5c,_0x101dd4)=>(_0x2e3937,_0x6ab0bd)=>_0x101dd4(_0x2e3937,_0x6ab0bd,_0x49ff5c);let pt=class{constructor(_0x46a952,_0x5749fc){const _0x42af28=_0x3238bf;this[_0x42af28(0x151)]=_0x46a952,this[_0x42af28(0x41a)]=_0x5749fc;}['transformSelections'](_0x2b24c7){const _0x55a93d=_0x3238bf;var _0xc21c21;const _0x29fe26=this[_0x55a93d(0x151)][_0x55a93d(0x3a5)](_0x155680),_0x1ba282=(_0xc21c21=_0x29fe26[_0x55a93d(0x1ff)]())!=null?_0xc21c21:[];if(_0x1ba282[_0x55a93d(0x325)]===0x0)return;const _0x55ec81=_0x2b24c7[_0x55a93d(0x4e9)],_0x10b59c=[{'id':_0x55a93d(0x3b3),'params':{'unitId':_0x55ec81,'actions':null,'textRanges':_0x1ba282}}],_0x2df90e=this['_transformService'][_0x55a93d(0x2ee)](_0x2b24c7,_0x10b59c);if(!_0xa7de0(_0x2df90e))throw _0x2df90e[_0x55a93d(0x241)];const _0xb33df7=_0x2df90e['m2Prime'][0x0][_0x55a93d(0x37c)][_0x55a93d(0x30a)];Array[_0x55a93d(0x4a0)](_0xb33df7)&&_0xb33df7[_0x55a93d(0x325)]&&_0x29fe26[_0x55a93d(0x30d)](_0xb33df7,{'unitId':_0x55ec81,'subUnitId':_0x55ec81},!0x1);}};pt=uo([Fs(0x0,_0x4a2654(_0x28b8e2)),Fs(0x1,_0x945511)],pt);const fo=new Set([_0x2c3a31['id']]);function Vs(_0x1592c5,_0x2f3102,_0x477d62,_0x45de16,_0x547c42){const _0xb83055=_0x3238bf;var _0x46c809,_0x447571,_0x5811a2,_0x1a165f;const _0x3e1d06=[];for(const _0xb72917 of _0x1592c5)if(fo[_0xb83055(0x220)](_0xb72917['id'])){if(_0x3e1d06[_0xb83055(0x325)]>0x0)break;_0x3e1d06[_0xb83055(0x419)](_0xb72917);break;}else _0x3e1d06[_0xb83055(0x419)](_0xb72917);const _0x10123e=(_0x447571=(_0x46c809=_0x547c42['getCurrentUser']())==null?void 0x0:_0x46c809[_0xb83055(0x44b)])!=null?_0x447571:_0xb83055(0x266),_0x2bd3c9=(_0x1a165f=(_0x5811a2=_0x547c42['getCurrentUser']())==null?void 0x0:_0x5811a2['memberID'])!=null?_0x1a165f:_0xb83055(0x266);return{'changeset':{'unitID':_0x2f3102,'type':_0x952321(_0x477d62[_0xb83055(0x179)](_0x2f3102)),'baseRev':_0x45de16['getCurrentRevOfUnit'](_0x2f3102),'revision':0x0,'userID':_0x10123e,'memberID':_0x2bd3c9,'mutations':_0x3e1d06},'pendingMutations':_0x1592c5[_0xb83055(0x423)](_0x3e1d06[_0xb83055(0x325)])};}function vo(_0x280ecb,_0x2d5dfb,_0x15aff4,_0x4f30cb,_0x48602c){const _0x2482c7=_0x3238bf;var _0x436a6d,_0x3ebffc,_0x4c7285,_0x34b45f;const _0x36430c=[_0x280ecb['reduce']((_0x5913ee,_0x5b414d)=>{const _0x194505=_0x466f;var _0x2732e7;const {id:_0x1390b1}=_0x5913ee,{id:_0x309cc7,type:_0x571a17}=_0x5b414d,_0x4f4c10=(_0x2732e7=_0x5913ee[_0x194505(0x37c)])!=null?_0x2732e7:{'actions':null},_0x478fcc=_0x5b414d[_0x194505(0x37c)];if(_0x1390b1&&_0x1390b1!==_0x309cc7)throw new Error(_0x194505(0x2d7)+_0x1390b1+_0x194505(0x3da)+_0x309cc7+'.');return{..._0x5913ee,'id':_0x309cc7,'type':_0x571a17,'params':{'unitId':_0x478fcc[_0x194505(0x1bf)],'textRanges':_0x478fcc[_0x194505(0x30a)],'actions':_0x32d452[_0x194505(0x387)](_0x4f4c10['actions'],_0x478fcc[_0x194505(0x28c)])}};},{})],_0x6b0405=(_0x3ebffc=(_0x436a6d=_0x48602c['getCurrentUser']())==null?void 0x0:_0x436a6d[_0x2482c7(0x44b)])!=null?_0x3ebffc:_0x2482c7(0x266),_0x4fdb19=(_0x34b45f=(_0x4c7285=_0x48602c[_0x2482c7(0x27e)]())==null?void 0x0:_0x4c7285[_0x2482c7(0x256)])!=null?_0x34b45f:_0x2482c7(0x266);return{'changeset':{'unitID':_0x2d5dfb,'type':_0x952321(_0x15aff4['getUnitType'](_0x2d5dfb)),'baseRev':_0x4f30cb[_0x2482c7(0x162)](_0x2d5dfb),'revision':0x0,'userID':_0x6b0405,'memberID':_0x4fdb19,'mutations':_0x36430c},'pendingMutations':[]};}function Ui(_0x3a31c1,_0x14ad54){const _0x4e5dc7=_0x3238bf,_0x280033=new _0x5edbc1(0x1);return setTimeout(()=>_0x280033[_0x4e5dc7(0x34c)](_0x14ad54),_0x3a31c1),_0x280033['asObservable']()[_0x4e5dc7(0x380)](_0x1cb779(0x1));}const mo={'id':_0x175b9b['id'],'type':_0x4d0a82[_0x3238bf(0x437)],'params':{}};var po=Object['defineProperty'],go=Object[_0x3238bf(0x2df)],Le=(_0x50cc26,_0x4eff33,_0x4b3d24,_0x50d7a6)=>{const _0x59cda7=_0x3238bf;for(var _0x40333c=_0x50d7a6>0x1?void 0x0:_0x50d7a6?go(_0x4eff33,_0x4b3d24):_0x4eff33,_0x31d8e9=_0x50cc26[_0x59cda7(0x325)]-0x1,_0x3fb8e3;_0x31d8e9>=0x0;_0x31d8e9--)(_0x3fb8e3=_0x50cc26[_0x31d8e9])&&(_0x40333c=(_0x50d7a6?_0x3fb8e3(_0x4eff33,_0x4b3d24,_0x40333c):_0x3fb8e3(_0x40333c))||_0x40333c);return _0x50d7a6&&_0x40333c&&po(_0x4eff33,_0x4b3d24,_0x40333c),_0x40333c;},A=(_0x4a2890,_0x1552ed)=>(_0x3c9855,_0x1fd9ac)=>_0x1552ed(_0x3c9855,_0x1fd9ac,_0x4a2890),J=(_0x23dbec=>(_0x23dbec['NOT_COLLAB']=_0x3238bf(0x550),_0x23dbec[_0x3238bf(0x401)]=_0x3238bf(0x399),_0x23dbec['PENDING']='pending',_0x23dbec[_0x3238bf(0x190)]=_0x3238bf(0x178),_0x23dbec[_0x3238bf(0x157)]='awaiting_with_pending',_0x23dbec[_0x3238bf(0x332)]=_0x3238bf(0x40f),_0x23dbec[_0x3238bf(0x311)]=_0x3238bf(0x436),_0x23dbec[_0x3238bf(0x291)]=_0x3238bf(0x296),_0x23dbec))(J||{});const Ni=0xea60;class $e{constructor(_0x3dd094,_0x3948a8,_0x3eb0c7,_0x5133dc,_0x33794d,_0x551b91,_0x21448c,_0x461468,_0x31b68f){const _0x1fc7b7=_0x3238bf;g(this,'_awaitingChangeset',null),g(this,_0x1fc7b7(0x261),[]),(this[_0x1fc7b7(0x4e9)]=_0x3dd094,this['type']=_0x3948a8,this[_0x1fc7b7(0x152)]=_0x33794d,this[_0x1fc7b7(0x525)]=_0x551b91,this[_0x1fc7b7(0x203)]=_0x21448c,this[_0x1fc7b7(0x357)]=_0x461468,this[_0x1fc7b7(0x292)]=_0x31b68f,this['_awaitingChangeset']=_0x3eb0c7,this[_0x1fc7b7(0x261)]=_0x5133dc);}[_0x3238bf(0x1c3)](_0x460fd7){const _0x34202e=_0x3238bf,_0x53dfff=this[_0x34202e(0x357)][_0x34202e(0x162)](this['unitID']);return _0x460fd7[_0x34202e(0x445)]>_0x53dfff+0x1?(this['_handler'][_0x34202e(0x36e)]({'from':_0x53dfff,'to':_0x460fd7[_0x34202e(0x445)]-0x1}),!0x0):!0x1;}[_0x3238bf(0x50a)](_0x49909a){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x49909a);}[_0x3238bf(0x2a6)](_0x39631b){const _0x3db29e=_0x3238bf;var _0x56d383,_0x2ca5fb;(_0x2ca5fb=(_0x56d383=this[_0x3db29e(0x152)])[_0x3db29e(0x368)])==null||_0x2ca5fb[_0x3db29e(0x46d)](_0x56d383,_0x39631b);}[_0x3238bf(0x1cc)](_0xa250d6){const _0x4b5f04=_0x3238bf;var _0x1f57f6,_0x30283a;return(_0x30283a=(_0x1f57f6=this[_0x4b5f04(0x152)])[_0x4b5f04(0x273)])==null?void 0x0:_0x30283a[_0x4b5f04(0x46d)](_0x1f57f6,_0xa250d6);}[_0x3238bf(0x45f)](_0x2d2e04){const _0x247292=_0x3238bf;var _0x150be5,_0x2e5c5b;return(_0x2e5c5b=(_0x150be5=this[_0x247292(0x152)])['onTransformState'])==null?void 0x0:_0x2e5c5b[_0x247292(0x46d)](_0x150be5,_0x2d2e04);}['_transformRemoteChangesetByIMECache'](_0x319cd7){const _0x150e0c=_0x3238bf;var _0xe0fbd5,_0x52c81f,_0x506342;return(_0x506342=(_0x52c81f=(_0xe0fbd5=this['_handler'])[_0x150e0c(0x297)])==null?void 0x0:_0x52c81f[_0x150e0c(0x46d)](_0xe0fbd5,_0x319cd7))!=null?_0x506342:_0x319cd7;}[_0x3238bf(0x484)](_0x3328eb){const _0x5ba629=_0x3238bf;var _0x54c4e4,_0x21bd4c,_0xdfcd4;return(_0xdfcd4=(_0x21bd4c=(_0x54c4e4=this['_handler'])[_0x5ba629(0x1d2)])==null?void 0x0:_0x21bd4c[_0x5ba629(0x46d)](_0x54c4e4,_0x3328eb))!=null?_0xdfcd4:_0x3328eb;}[_0x3238bf(0x45c)](_0x47be79){const _0x4ba115=_0x3238bf;var _0xeb2db0,_0x752e78;if(this[_0x4ba115(0x4cf)]===ce[_0x4ba115(0x32f)]){const {unitID:_0x5ebf34,mutations:_0xc464a5,memberID:_0x87ece5}=_0x47be79,_0x433ae9=_0xc464a5[0x0]['params'][_0x4ba115(0x30a)];Array['isArray'](_0x433ae9)&&_0x433ae9[_0x4ba115(0x325)]>0x0&&((_0x752e78=(_0xeb2db0=this[_0x4ba115(0x152)])[_0x4ba115(0x4c8)])==null||_0x752e78[_0x4ba115(0x46d)](_0xeb2db0,{'unitID':_0x5ebf34,'memberID':_0x87ece5,'textRanges':_0x433ae9}));}}[_0x3238bf(0x365)](){const _0x3a1f88=_0x3238bf;this[_0x3a1f88(0x292)][_0x3a1f88(0x49b)](this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x3a1f88(0x261)]);}['_getCurrentRevision'](){const _0x1c499=_0x3238bf;return this['_revisionService'][_0x1c499(0x162)](this[_0x1c499(0x4e9)]);}[_0x3238bf(0x174)](){const _0x2325ee=_0x3238bf;this[_0x2325ee(0x357)]['incrementRevOfUnit'](this['unitID']);}['_executeRemoteChangeset'](_0x3eeaa1){const _0x1f75b7=_0x3238bf;var _0x80274e;let _0x292250=this[_0x1f75b7(0x504)](_0x3eeaa1);_0x292250=this['_transformRemoteChangesetByStateCache'](_0x292250);const _0x5bc421=_0x292495(_0x292250['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x5bc421[_0x1f75b7(0x4c2)])throw _0x5bc421['error']instanceof Error?_0x5bc421[_0x1f75b7(0x241)]:new Error((_0x80274e=_0x5bc421['error'])!=null?_0x80274e:_0x1f75b7(0x2b9));this[_0x1f75b7(0x1cc)](_0x292250),this[_0x1f75b7(0x45f)](_0x292250),this[_0x1f75b7(0x50a)](_0x3eeaa1),this[_0x1f75b7(0x2a6)](_0x292250),this[_0x1f75b7(0x45c)](_0x292250),this[_0x1f75b7(0x174)]();}}let Fe=class extends $e{constructor(_0x438c9e,_0x32b462,_0x1ea05f,_0x301d6c,_0x2d2c1f,_0x3206ee,_0x581bae,_0x31bb6f,_0x5cc09e,_0x4e919c){const _0xc7aa3=_0x3238bf;super(_0x438c9e,_0x32b462,null,[],_0x1ea05f,_0x31bb6f,_0x581bae,_0x301d6c,_0x2d2c1f),g(this,_0xc7aa3(0x17b),_0xc7aa3(0x399)),(this[_0xc7aa3(0x151)]=_0x3206ee,this[_0xc7aa3(0x188)]=_0x5cc09e,this[_0xc7aa3(0x41a)]=_0x4e919c);}[_0x3238bf(0x323)](_0x55042f){const _0x5f4d4e=_0x3238bf,_0x4900bb=this[_0x5f4d4e(0x151)]['createInstance'](pe,this[_0x5f4d4e(0x4e9)],this['type'],[_0x55042f],this['_handler']);return _0x4900bb[_0x5f4d4e(0x493)](),_0x4900bb[_0x5f4d4e(0x365)](),_0x4900bb;}[_0x3238bf(0x561)](_0x194b38){const _0x23da7d=_0x3238bf;if(this[_0x23da7d(0x1c3)](_0x194b38))return this[_0x23da7d(0x151)][_0x23da7d(0x52d)](he,this[_0x23da7d(0x4e9)],this['type'],null,[],null,[_0x194b38],this[_0x23da7d(0x152)]);try{const _0x5ac15f=this[_0x23da7d(0x41a)]['transformMutationsWithChangeset'](_0x194b38,[mo]);if(_0xa7de0(_0x5ac15f)){const {c1Prime:_0x5d65da}=_0x5ac15f;return this[_0x23da7d(0x1ab)](_0x5d65da),this;}throw _0x5ac15f['error'];}catch(_0x4a457b){return this['_logService'][_0x23da7d(0x241)](_0x4a457b),this[_0x23da7d(0x2ac)](!0x1);}}[_0x3238bf(0x2ac)](_0x1bb604){const _0x38cf37=_0x3238bf;return this['_injector'][_0x38cf37(0x52d)](Re,this[_0x38cf37(0x4e9)],this[_0x38cf37(0x4cf)],null,[],this['_handler'],_0x1bb604);}[_0x3238bf(0x2e6)](){const _0xbeaeb1=_0x3238bf;throw new Error(_0xbeaeb1(0x153));}[_0x3238bf(0x221)](){const _0x29c751=_0x3238bf;throw new Error(_0x29c751(0x4aa));}[_0x3238bf(0x15d)](){return this;}[_0x3238bf(0x479)](){const _0x5367d1=_0x3238bf;return this[_0x5367d1(0x151)][_0x5367d1(0x52d)](ye,this[_0x5367d1(0x4e9)],this['type'],null,[],this['_handler']);}[_0x3238bf(0x38c)](){return this;}[_0x3238bf(0x2c3)](){const _0xd0c9be=_0x3238bf;throw new Error(_0xd0c9be(0x3b2));}[_0x3238bf(0x165)](){const _0x3d8c34=_0x3238bf,_0x249203=this[_0x3d8c34(0x357)][_0x3d8c34(0x162)](this[_0x3d8c34(0x4e9)]);return this[_0x3d8c34(0x152)][_0x3d8c34(0x36e)]({'from':_0x249203,'to':0x0}),this['_injector'][_0x3d8c34(0x52d)](he,this[_0x3d8c34(0x4e9)],this['type'],null,[],null,[],this[_0x3d8c34(0x152)]);}};Fe=Le([A(0x3,_0x4a2654(_0x56b96b)),A(0x4,_0x4a2654(q)),A(0x5,_0x4a2654(_0x28b8e2)),A(0x6,_0x558053),A(0x7,_0x462ea5),A(0x8,_0x5d0f53),A(0x9,_0x945511)],Fe);let pe=class extends $e{constructor(_0xfca9ab,_0x2a84ba,_0x5d9c8d,_0x161b8d,_0x2cb3d5,_0x4665c5,_0x3f4e7b,_0x200c8a,_0x190423,_0x48ace7,_0x1b96db,_0x4b89b3,_0x51152d,_0xa5c855){const _0x3abea3=_0x3238bf;super(_0xfca9ab,_0x2a84ba,null,_0x5d9c8d,_0x161b8d,_0x48ace7,_0xa5c855,_0x4665c5,_0x3f4e7b),g(this,_0x3abea3(0x17b),_0x3abea3(0x1f1)),g(this,_0x3abea3(0x4c0),null),g(this,_0x3abea3(0x462),null),(this[_0x3abea3(0x151)]=_0x2cb3d5,this[_0x3abea3(0x1e3)]=_0x200c8a,this[_0x3abea3(0x188)]=_0x190423,this[_0x3abea3(0x330)]=_0x1b96db,this[_0x3abea3(0x41a)]=_0x4b89b3,this[_0x3abea3(0x262)]=_0x51152d);}[_0x3238bf(0x323)](_0x337a03){const _0x4d4d88=_0x3238bf;return this[_0x4d4d88(0x261)][_0x4d4d88(0x419)](_0x337a03),this['_updateLocalCache'](),this;}[_0x3238bf(0x561)](_0x559272){const _0x49021a=_0x3238bf;if(this[_0x49021a(0x1c3)](_0x559272))return this['_clearScheduledTask'](),this[_0x49021a(0x151)][_0x49021a(0x52d)](he,this[_0x49021a(0x4e9)],this[_0x49021a(0x4cf)],null,this[_0x49021a(0x261)],null,[_0x559272],this['_handler']);try{const _0x39a037=this[_0x49021a(0x41a)][_0x49021a(0x2ee)](_0x559272,this[_0x49021a(0x261)]);if(_0xa7de0(_0x39a037)){const {c1Prime:_0x538b0c,m2Prime:_0x4f896f}=_0x39a037;this[_0x49021a(0x1ab)](_0x538b0c);const _0x3771f6=this['_injector'][_0x49021a(0x52d)](pe,this[_0x49021a(0x4e9)],this['type'],_0x4f896f,this[_0x49021a(0x152)]);return this[_0x49021a(0x4f1)](),_0x3771f6[_0x49021a(0x493)](this['_scheduleTimestamp']?Math[_0x49021a(0x38f)](0x0,new Date()['getTime']()-this[_0x49021a(0x4c0)]):this[_0x49021a(0x3d4)]()),_0x3771f6;}throw _0x39a037[_0x49021a(0x241)];}catch(_0x4a75d0){return this[_0x49021a(0x188)]['error'](_0x4a75d0),this['_onConflict'](!0x1);}}['onRemoteAck'](){const _0x3eb8e9=_0x3238bf;throw new Error(_0x3eb8e9(0x202));}[_0x3238bf(0x221)](){const _0x36839c=_0x3238bf;throw new Error(_0x36839c(0x52c));}[_0x3238bf(0x15d)](){return this;}[_0x3238bf(0x479)](){const _0x5bdb08=_0x3238bf;return this[_0x5bdb08(0x4f1)](),this[_0x5bdb08(0x151)][_0x5bdb08(0x52d)](ye,this[_0x5bdb08(0x4e9)],this[_0x5bdb08(0x4cf)],null,this[_0x5bdb08(0x261)],this['_handler']);}[_0x3238bf(0x38c)](){return this;}[_0x3238bf(0x493)](_0x2a1761){const _0x57fded=_0x3238bf,_0x16b112=_0x2a1761!=null?_0x2a1761:this[_0x57fded(0x3d4)]();this[_0x57fded(0x4c0)]=new Date()[_0x57fded(0x52f)](),this[_0x57fded(0x462)]=window[_0x57fded(0x32c)](()=>{const _0x118db0=_0x57fded;this[_0x118db0(0x4f1)]();let _0xe3e8ae=null;switch(this[_0x118db0(0x4cf)]){case ce['UNIVER_SHEET']:{_0xe3e8ae=Vs(this[_0x118db0(0x261)],this['unitID'],this[_0x118db0(0x262)],this['_revisionService'],this[_0x118db0(0x1e3)]);break;}case ce[_0x118db0(0x32f)]:{this[_0x118db0(0x261)][_0x118db0(0x501)](_0x1caec2=>_0x1caec2['id']===_0x2554d0['id'])?_0xe3e8ae=vo(this[_0x118db0(0x261)],this[_0x118db0(0x4e9)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0xe3e8ae=Vs(this[_0x118db0(0x261)],this['unitID'],this[_0x118db0(0x262)],this[_0x118db0(0x357)],this['_memberService']);break;}default:throw new Error(_0x118db0(0x170)+this[_0x118db0(0x4cf)]+_0x118db0(0x31a));}const {changeset:_0x389a1a,pendingMutations:_0x2b39d8}=_0xe3e8ae;this['_handler'][_0x118db0(0x4ea)](_0x389a1a);const _0x47220c=_0x2b39d8[_0x118db0(0x325)]?this[_0x118db0(0x151)]['createInstance'](ge,this[_0x118db0(0x4e9)],this[_0x118db0(0x4cf)],_0x389a1a,_0x2b39d8,this[_0x118db0(0x152)],void 0x0):this[_0x118db0(0x151)]['createInstance'](Te,this['unitID'],this['type'],_0x389a1a,this[_0x118db0(0x152)]);_0x47220c[_0x118db0(0x365)](),this[_0x118db0(0x152)][_0x118db0(0x400)](this,_0x47220c);},_0x16b112);}[_0x3238bf(0x3d4)](){const _0x2b1879=_0x3238bf;var _0x3f5d54;const _0x8cb195=this[_0x2b1879(0x330)][_0x2b1879(0x404)](ie);return(_0x3f5d54=_0x8cb195==null?void 0x0:_0x8cb195[_0x2b1879(0x420)])!=null?_0x3f5d54:_r;}[_0x3238bf(0x2c3)](){const _0x1495ce=_0x3238bf;throw new Error(_0x1495ce(0x21c));}['_clearScheduledTask'](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x3238bf(0x2ac)](_0x225a75){const _0x46f39f=_0x3238bf;return this[_0x46f39f(0x4f1)](),this[_0x46f39f(0x151)][_0x46f39f(0x52d)](Re,this[_0x46f39f(0x4e9)],this[_0x46f39f(0x4cf)],null,this[_0x46f39f(0x261)],this[_0x46f39f(0x152)],_0x225a75);}};pe=Le([A(0x4,_0x4a2654(_0x28b8e2)),A(0x5,_0x4a2654(_0x56b96b)),A(0x6,_0x4a2654(q)),A(0x7,_0x4a2654(Ne)),A(0x8,_0x5d0f53),A(0x9,_0x462ea5),A(0xa,_0x12cd24),A(0xb,_0x945511),A(0xc,_0x21deaa),A(0xd,_0x558053)],pe);let Te=class extends $e{constructor(_0x539922,_0x1784da,_0x331ce6,_0x314568,_0x2f0985,_0x400315,_0x38730a,_0x418e40,_0x22264e,_0x1ee5ad,_0x47b185){const _0x272fe9=_0x3238bf;super(_0x539922,_0x1784da,_0x331ce6,[],_0x314568,_0x418e40,_0x47b185,_0x400315,_0x38730a),g(this,_0x272fe9(0x17b),'awaiting'),g(this,'_resendTimeout',0x0),g(this,_0x272fe9(0x4d7)),g(this,_0x272fe9(0x3cf)),(this[_0x272fe9(0x151)]=_0x2f0985,this[_0x272fe9(0x188)]=_0x22264e,this[_0x272fe9(0x41a)]=_0x1ee5ad);}['appendMutation'](_0xd95a43){const _0x34ce2d=_0x3238bf;this[_0x34ce2d(0x4f1)]();const _0x484c56=this['_injector'][_0x34ce2d(0x52d)](ge,this['unitID'],this[_0x34ce2d(0x4cf)],this[_0x34ce2d(0x4ac)],[_0xd95a43],this[_0x34ce2d(0x152)],this[_0x34ce2d(0x4d7)]);return _0x484c56[_0x34ce2d(0x365)](),_0x484c56;}[_0x3238bf(0x561)](_0x454173){const _0x2c2c24=_0x3238bf;if(this[_0x2c2c24(0x1c3)](_0x454173))return this[_0x2c2c24(0x4f1)](),this[_0x2c2c24(0x151)][_0x2c2c24(0x52d)](he,this[_0x2c2c24(0x4e9)],this[_0x2c2c24(0x4cf)],this[_0x2c2c24(0x4ac)],[],null,[_0x454173],this['_handler']);try{const _0x8020a9=this[_0x2c2c24(0x41a)][_0x2c2c24(0x177)]([_0x454173],[this[_0x2c2c24(0x4ac)]],!0x1);if(_0x23fd88(_0x8020a9)){const {c1Prime:_0x59cc38,c2Prime:_0x5cfd37}=_0x8020a9;this['_executeRemoteChangeset'](_0x59cc38[0x0]),_0x5cfd37[0x0][_0x2c2c24(0x24c)]=this[_0x2c2c24(0x33c)](),this['_clearScheduledTask']();const _0x4f8e4a=this[_0x2c2c24(0x151)][_0x2c2c24(0x52d)](Te,this[_0x2c2c24(0x4e9)],this[_0x2c2c24(0x4cf)],_0x5cfd37[0x0],this[_0x2c2c24(0x152)]);return _0x4f8e4a['_updateLocalCache'](),_0x4f8e4a;}return this[_0x2c2c24(0x2ac)](!0x1);}catch(_0x33f582){return this[_0x2c2c24(0x188)][_0x2c2c24(0x241)](_0x33f582),this['_onConflict'](!0x1);}}[_0x3238bf(0x2e6)](_0x1bc19c){const _0x2dbff8=_0x3238bf;this[_0x2dbff8(0x4f1)]();const _0x529dae=this[_0x2dbff8(0x357)][_0x2dbff8(0x162)](this[_0x2dbff8(0x4e9)]);if(_0x1bc19c[_0x2dbff8(0x445)]<_0x529dae-0x1)return this;if(this[_0x2dbff8(0x1c3)](_0x1bc19c))return this['_injector'][_0x2dbff8(0x52d)](he,this[_0x2dbff8(0x4e9)],this['type'],null,[],this[_0x2dbff8(0x4ac)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x3ce216=this['_injector'][_0x2dbff8(0x52d)](Fe,this[_0x2dbff8(0x4e9)],this[_0x2dbff8(0x4cf)],this[_0x2dbff8(0x152)]);return _0x3ce216[_0x2dbff8(0x365)](),_0x3ce216;}[_0x3238bf(0x221)](_0x2a17e3){const _0x2176d9=_0x3238bf;return this['_onConflict'](!!(_0x2a17e3!=null&&_0x2a17e3[_0x2176d9(0x3f7)]));}['onRemoteRetry'](_0x2639c7){const _0x12335d=_0x3238bf;return this[_0x12335d(0x372)]>Ni?this[_0x12335d(0x479)]():(this['_resendTimer']=Ui(this[_0x12335d(0x372)],{'timeout':this['_resendTimeout'],'reqId':_0x2639c7['reqId']}),this[_0x12335d(0x3cf)]=this[_0x12335d(0x4d7)][_0x12335d(0x43b)](({reqId:_0x564104,timeout:_0x42d236})=>{const _0x5ec24f=_0x12335d;this[_0x5ec24f(0x272)](_0x564104,_0x42d236);}),this);}['toggleOffline'](){const _0x197c29=_0x3238bf;return this['_clearScheduledTask'](),this[_0x197c29(0x151)]['createInstance'](ye,this[_0x197c29(0x4e9)],this[_0x197c29(0x4cf)],this[_0x197c29(0x4ac)],[],this[_0x197c29(0x152)]);}[_0x3238bf(0x38c)](){return this;}['resend'](){const _0x38c2f0=_0x3238bf;this['_handler'][_0x38c2f0(0x4ea)](this[_0x38c2f0(0x4ac)]);}['_onConflict'](_0x40016a){const _0x38746a=_0x3238bf;return this[_0x38746a(0x4f1)](),this[_0x38746a(0x151)][_0x38746a(0x52d)](Re,this['unitID'],this[_0x38746a(0x4cf)],this[_0x38746a(0x4ac)],[],this[_0x38746a(0x152)],_0x40016a);}[_0x3238bf(0x272)](_0x4bcf2c,_0xb2170b){const _0x40dc72=_0x3238bf;var _0x185eef;_0x4bcf2c===((_0x185eef=this[_0x40dc72(0x4ac)])==null?void 0x0:_0x185eef[_0x40dc72(0x4ec)])&&(this[_0x40dc72(0x2c3)](),this[_0x40dc72(0x372)]=_0xb2170b===0x0?0x3e8:_0xb2170b*0x2);}[_0x3238bf(0x4f1)](){const _0x2f7464=_0x3238bf;var _0x2363aa;(_0x2363aa=this[_0x2f7464(0x3cf)])==null||_0x2363aa['unsubscribe'](),this[_0x2f7464(0x372)]=0x0;}};Te=Le([A(0x4,_0x4a2654(_0x28b8e2)),A(0x5,_0x4a2654(_0x56b96b)),A(0x6,_0x4a2654(q)),A(0x7,_0x462ea5),A(0x8,_0x5d0f53),A(0x9,_0x945511),A(0xa,_0x558053)],Te);let ge=class extends $e{constructor(_0x2a994c,_0x31f5f2,_0x49cd68,_0x34da23,_0x3a7780,_0x57e383,_0x2ff969,_0x3fb446,_0x32b729,_0x4b8d4e,_0x32a199,_0x47dc07,_0x150faf){const _0x19ef6d=_0x3238bf;super(_0x2a994c,_0x31f5f2,_0x49cd68,_0x34da23,_0x3a7780,_0x4b8d4e,_0x150faf,_0x3fb446,_0x32b729),g(this,'status',_0x19ef6d(0x2d9)),g(this,_0x19ef6d(0x372),0x0),g(this,'_resendTimer'),g(this,_0x19ef6d(0x3cf)),(this[_0x19ef6d(0x151)]=_0x2ff969,this[_0x19ef6d(0x188)]=_0x32a199,this[_0x19ef6d(0x41a)]=_0x47dc07,_0x57e383&&(this[_0x19ef6d(0x4d7)]=_0x57e383,this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x58293d,timeout:_0x3124b2})=>{const _0x1ec1ae=_0x19ef6d;this[_0x1ec1ae(0x272)](_0x58293d,_0x3124b2);})));}[_0x3238bf(0x323)](_0x2808e5){const _0x5b2eb5=_0x3238bf;return this['_pendingMutations'][_0x5b2eb5(0x419)](_0x2808e5),this;}[_0x3238bf(0x561)](_0x4ab3ec){const _0x1ad84d=_0x3238bf;if(this[_0x1ad84d(0x1c3)](_0x4ab3ec))return this[_0x1ad84d(0x4f1)](),this[_0x1ad84d(0x151)][_0x1ad84d(0x52d)](he,this[_0x1ad84d(0x4e9)],this['type'],this[_0x1ad84d(0x4ac)],this[_0x1ad84d(0x261)],null,[_0x4ab3ec],this[_0x1ad84d(0x152)]);try{const _0x54aca0=this[_0x1ad84d(0x41a)][_0x1ad84d(0x177)]([_0x4ab3ec],[this[_0x1ad84d(0x4ac)]],!0x1);if(_0x23fd88(_0x54aca0)){const {c1Prime:_0x98b3db,c2Prime:_0x45b905}=_0x54aca0,_0x65f87d=this['_transformService']['transformMutationsWithChangeset'](_0x98b3db[0x0],this[_0x1ad84d(0x261)]);if(_0xa7de0(_0x65f87d)){const {c1Prime:_0x495f6a,m2Prime:_0x21aeec}=_0x65f87d;return this['_executeRemoteChangeset'](_0x495f6a),_0x45b905[0x0][_0x1ad84d(0x24c)]=this[_0x1ad84d(0x33c)](),this[_0x1ad84d(0x4f1)](),this[_0x1ad84d(0x151)][_0x1ad84d(0x52d)](ge,this['unitID'],this['type'],_0x45b905[0x0],_0x21aeec,this[_0x1ad84d(0x152)],void 0x0);}throw _0x65f87d[_0x1ad84d(0x241)];}throw _0x54aca0[_0x1ad84d(0x241)];}catch(_0x496b2e){return this[_0x1ad84d(0x188)]['error'](_0x496b2e),this[_0x1ad84d(0x2ac)](!0x1);}}[_0x3238bf(0x2e6)](_0x511fa5){const _0x5675d0=_0x3238bf;if(this[_0x5675d0(0x4f1)](),this[_0x5675d0(0x1c3)](_0x511fa5))return this[_0x5675d0(0x151)]['createInstance'](he,this[_0x5675d0(0x4e9)],this['type'],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x5675d0(0x152)]);this[_0x5675d0(0x174)]();const _0x2ad561=this[_0x5675d0(0x151)][_0x5675d0(0x52d)](pe,this[_0x5675d0(0x4e9)],this['type'],this[_0x5675d0(0x261)],this[_0x5675d0(0x152)]);return _0x2ad561['_schedule'](),_0x2ad561['_updateLocalCache'](),_0x2ad561;}[_0x3238bf(0x221)](_0x2f3e24){const _0x5c5adc=_0x3238bf;return this[_0x5c5adc(0x2ac)](!!(_0x2f3e24!=null&&_0x2f3e24[_0x5c5adc(0x3f7)]));}[_0x3238bf(0x15d)](_0x4d85cf){const _0x45387c=_0x3238bf;return this[_0x45387c(0x372)]>Ni?this[_0x45387c(0x479)]():(this['_resendTimer']=Ui(this['_resendTimeout'],{'timeout':this[_0x45387c(0x372)],'reqId':_0x4d85cf[_0x45387c(0x4ec)]}),this['_sender']=this[_0x45387c(0x4d7)][_0x45387c(0x43b)](({reqId:_0x5ed6b2,timeout:_0x3c2c03})=>{const _0x488ce8=_0x45387c;this[_0x488ce8(0x272)](_0x5ed6b2,_0x3c2c03);}),this);}[_0x3238bf(0x479)](){const _0x2f73f4=_0x3238bf;return this[_0x2f73f4(0x4f1)](),this[_0x2f73f4(0x151)][_0x2f73f4(0x52d)](ye,this[_0x2f73f4(0x4e9)],this[_0x2f73f4(0x4cf)],this['_awaitingChangeset'],this[_0x2f73f4(0x261)],this[_0x2f73f4(0x152)]);}['toggleOnline'](){return this;}[_0x3238bf(0x2c3)](){const _0x5554b7=_0x3238bf;this[_0x5554b7(0x152)][_0x5554b7(0x4ea)](this[_0x5554b7(0x4ac)]);}[_0x3238bf(0x2ac)](_0x227e66){const _0x92f1a0=_0x3238bf;return this['_clearScheduledTask'](),this['_injector'][_0x92f1a0(0x52d)](Re,this[_0x92f1a0(0x4e9)],this['type'],null,this[_0x92f1a0(0x261)],this[_0x92f1a0(0x152)],_0x227e66);}[_0x3238bf(0x272)](_0x1bd1a9,_0x2eb4c3){const _0x531e71=_0x3238bf;var _0x34cd74;_0x1bd1a9===((_0x34cd74=this['_awaitingChangeset'])==null?void 0x0:_0x34cd74[_0x531e71(0x4ec)])&&(this[_0x531e71(0x2c3)](),this['_resendTimeout']=_0x2eb4c3===0x0?0x3e8:_0x2eb4c3*0x2);}[_0x3238bf(0x4f1)](){const _0x246f28=_0x3238bf;var _0x1862c3;(_0x1862c3=this[_0x246f28(0x3cf)])==null||_0x1862c3['unsubscribe'](),this[_0x246f28(0x372)]=0x0;}};ge=Le([A(0x6,_0x4a2654(_0x28b8e2)),A(0x7,_0x4a2654(_0x56b96b)),A(0x8,_0x4a2654(q)),A(0x9,_0x462ea5),A(0xa,_0x5d0f53),A(0xb,_0x945511),A(0xc,_0x558053)],ge);let Re=class extends $e{constructor(_0x2f02e6,_0x439332,_0x2c33a6,_0x1c3fe9,_0x9ea4df,_0x47abd1=!0x1,_0x29bb82,_0x3ff76f,_0x350ddc,_0x493b62,_0xaf2bf0,_0x25d36d,_0xa7de66){const _0x16af03=_0x3238bf;super(_0x2f02e6,_0x439332,_0x2c33a6,_0x1c3fe9,_0x9ea4df,_0x3ff76f,_0x350ddc,_0xaf2bf0,_0x493b62),g(this,'status',_0x16af03(0x436)),(this[_0x16af03(0x280)]=_0x47abd1,this[_0x16af03(0x184)]=_0x29bb82,this[_0x16af03(0x141)]=_0x25d36d,this[_0x16af03(0x465)]=_0xa7de66,this['_showConflictNotification'](),this[_0x16af03(0x2d4)](),this[_0x16af03(0x2d2)]());}[_0x3238bf(0x323)](){return this;}[_0x3238bf(0x561)](){return this;}[_0x3238bf(0x2e6)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x3238bf(0x479)](){return this;}[_0x3238bf(0x38c)](){return this;}[_0x3238bf(0x2c3)](){const _0x6d66e7=_0x3238bf;throw new Error(_0x6d66e7(0x4cc));}['_clearLocalCache'](){const _0x4c1139=_0x3238bf;this['_localCacheService'][_0x4c1139(0x49b)](this[_0x4c1139(0x4e9)],this['type'],null,[]);}['_showConflictNotification'](){const _0x5e7c3a=_0x3238bf;this[_0x5e7c3a(0x280)]?this[_0x5e7c3a(0x465)]['show']({'title':this[_0x5e7c3a(0x141)]['t'](_0x5e7c3a(0x26e)),'content':this[_0x5e7c3a(0x141)]['t'](_0x5e7c3a(0x2bb)),'type':'error','duration':0x0}):this[_0x5e7c3a(0x465)][_0x5e7c3a(0x29f)]({'title':this['_localeService']['t']('conflict.title'),'content':this[_0x5e7c3a(0x141)]['t'](_0x5e7c3a(0x248)),'type':_0x5e7c3a(0x241),'duration':0x0});}[_0x3238bf(0x2d2)](){const _0x1b5042=_0x3238bf;this[_0x1b5042(0x184)]['updatePermissionPoint'](new _0x5f270b(this[_0x1b5042(0x4e9)])['id'],!0x1);}};Re=Le([A(0x6,_0x4a2654(_0x3cddab)),A(0x7,_0x462ea5),A(0x8,_0x558053),A(0x9,_0x4a2654(q)),A(0xa,_0x4a2654(_0x56b96b)),A(0xb,_0x4a2654(_0xc7611d)),A(0xc,_0x447575)],Re);let ye=class extends $e{constructor(_0x3d6bb8,_0x46e050,_0x1074cd,_0x528fc3,_0x232f00,_0x42ce10,_0x41ad13,_0x388db4,_0x1dcbf5,_0x4bd771){const _0xa988f9=_0x3238bf;super(_0x3d6bb8,_0x46e050,_0x1074cd,_0x528fc3,_0x232f00,_0x1dcbf5,_0x4bd771,_0x41ad13,_0x388db4),g(this,'status','offline'),this[_0xa988f9(0x151)]=_0x42ce10;}['appendMutation'](_0x374837){const _0xb96fe4=_0x3238bf;return this['_pendingMutations'][_0xb96fe4(0x419)](_0x374837),this[_0xb96fe4(0x365)](),this;}['onRemoteChangeset'](_0x3ed9c7){const _0x2ef372=_0x3238bf;throw new Error(_0x2ef372(0x16a));}[_0x3238bf(0x2e6)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x3238bf(0x221)](){const _0x345fac=_0x3238bf;throw new Error(_0x345fac(0x36a));}[_0x3238bf(0x15d)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){const _0x5bb174=_0x3238bf,{_injector:_0x361dd4,_pendingMutations:_0x355336,_awaitingChangeset:_0x3d964f,unitID:_0x5e5abc,_handler:_0x138128,type:_0x54b189}=this,_0x2e27b3=Ai(_0x361dd4,_0x5e5abc,_0x54b189,_0x3d964f,_0x355336,_0x138128);return _0x2e27b3 instanceof pe?_0x2e27b3[_0x5bb174(0x493)]():(_0x2e27b3 instanceof ge||_0x2e27b3 instanceof Te)&&_0x2e27b3['resend'](),_0x2e27b3;}['resend'](){const _0x423164=_0x3238bf;throw new Error(_0x423164(0x25c));}};ye=Le([A(0x5,_0x4a2654(_0x28b8e2)),A(0x6,_0x4a2654(_0x56b96b)),A(0x7,_0x4a2654(q)),A(0x8,_0x462ea5),A(0x9,_0x558053)],ye);let he=class extends $e{constructor(_0x2b5b4c,_0x5f4139,_0x2e233f,_0xd477ea,_0x1b139f,_0x5b3959,_0x3fd526,_0x255f37,_0x53656c,_0x2efbbe,_0x299a86,_0x246a02,_0x4974d4,_0x55679c){const _0x324fe7=_0x3238bf;super(_0x2b5b4c,_0x5f4139,_0x2e233f,_0xd477ea,_0x3fd526,_0x246a02,_0x4974d4,_0x53656c,_0x2efbbe),g(this,_0x324fe7(0x17b),_0x324fe7(0x40f)),(this['_acknowledgedAwaitingChangeset']=_0x1b139f,this[_0x324fe7(0x28b)]=_0x5b3959,this[_0x324fe7(0x151)]=_0x255f37,this['_logService']=_0x299a86,this[_0x324fe7(0x41a)]=_0x55679c);}[_0x3238bf(0x21f)](_0x4f5ea7){const _0x30a3ac=_0x3238bf;try{const _0x2ba7dd=[..._0x4f5ea7,...this[_0x30a3ac(0x28b)]],_0x429c45=[this[_0x30a3ac(0x4ac)]||this[_0x30a3ac(0x536)]][_0x30a3ac(0x295)](_0x41c554=>!!_0x41c554);let _0x469da4,_0x2e9f3c;if(_0x429c45['length']){const _0x1e6cd7=this[_0x30a3ac(0x41a)]['transformChangesets'](_0x2ba7dd,_0x429c45,!0x1);if(!_0x23fd88(_0x1e6cd7))throw _0x1e6cd7['error'];_0x469da4=_0x1e6cd7[_0x30a3ac(0x4f0)],_0x2e9f3c=_0x1e6cd7[_0x30a3ac(0x54d)];}else _0x469da4=_0x2ba7dd,_0x2e9f3c=[];let _0x427fb9=this['_pendingMutations'];_0x469da4['forEach'](_0x537441=>{const _0x17213a=_0x30a3ac;let _0x22b566;if(_0x427fb9[_0x17213a(0x325)]){const _0x2a5e53=this[_0x17213a(0x41a)][_0x17213a(0x2ee)](_0x537441,_0x427fb9);if(!_0xa7de0(_0x2a5e53))throw _0x2a5e53[_0x17213a(0x241)];_0x22b566=_0x2a5e53[_0x17213a(0x4f0)],_0x427fb9=_0x2a5e53['m2Prime'];}else _0x22b566=_0x537441;this['_executeRemoteChangeset'](_0x22b566);}),this['_acknowledgedAwaitingChangeset']&&this[_0x30a3ac(0x174)](),this[_0x30a3ac(0x4ac)]&&_0x2e9f3c['length']&&(_0x2e9f3c[0x0][_0x30a3ac(0x24c)]=this[_0x30a3ac(0x33c)]());let _0x35cb16;if(this['_awaitingChangeset']&&_0x427fb9[_0x30a3ac(0x325)]!==0x0)_0x35cb16=this[_0x30a3ac(0x151)][_0x30a3ac(0x52d)](ge,this[_0x30a3ac(0x4e9)],this[_0x30a3ac(0x4cf)],_0x2e9f3c[0x0],_0x427fb9,this[_0x30a3ac(0x152)],void 0x0);else{if(this[_0x30a3ac(0x4ac)]&&_0x427fb9[_0x30a3ac(0x325)]===0x0)_0x2e9f3c[0x0][_0x30a3ac(0x24c)]=this[_0x30a3ac(0x33c)](),_0x35cb16=this[_0x30a3ac(0x151)][_0x30a3ac(0x52d)](Te,this[_0x30a3ac(0x4e9)],this['type'],_0x2e9f3c[0x0],this[_0x30a3ac(0x152)]);else{if(_0x427fb9[_0x30a3ac(0x325)]!==0x0){const _0x362bdf=this[_0x30a3ac(0x151)]['createInstance'](pe,this[_0x30a3ac(0x4e9)],this[_0x30a3ac(0x4cf)],_0x427fb9,this[_0x30a3ac(0x152)]);_0x362bdf[_0x30a3ac(0x493)](),_0x35cb16=_0x362bdf;}else _0x35cb16=this[_0x30a3ac(0x151)][_0x30a3ac(0x52d)](Fe,this[_0x30a3ac(0x4e9)],this[_0x30a3ac(0x4cf)],this[_0x30a3ac(0x152)]);}}return _0x35cb16['_updateLocalCache'](),_0x35cb16;}catch(_0x1c9999){return this[_0x30a3ac(0x188)][_0x30a3ac(0x241)](_0x30a3ac(0x4fa),_0x30a3ac(0x2b7),_0x1c9999),this['_injector'][_0x30a3ac(0x52d)](Re,this['unitID'],this[_0x30a3ac(0x4cf)],this[_0x30a3ac(0x4ac)],this[_0x30a3ac(0x261)],this[_0x30a3ac(0x152)],!0x1);}}[_0x3238bf(0x2c3)](){const _0x5ef1a7=_0x3238bf;throw new Error(_0x5ef1a7(0x1d0));}[_0x3238bf(0x323)](_0x178a16){const _0x2acbf5=_0x3238bf;return this['_pendingMutations'][_0x2acbf5(0x419)](_0x178a16),this;}['onRemoteChangeset'](_0x2b8fed){return this['_queuedRemoteChangesets']['push'](_0x2b8fed),this;}[_0x3238bf(0x2e6)](_0x1c55fb){const _0x2aaaf6=_0x3238bf;if(this[_0x2aaaf6(0x4ac)])return this[_0x2aaaf6(0x536)]=this[_0x2aaaf6(0x4ac)],this[_0x2aaaf6(0x4ac)]=null,this;throw new Error(_0x2aaaf6(0x23c));}['onRemoteRej'](_0x379534){const _0x52cba6=_0x3238bf;return this[_0x52cba6(0x2ac)](!!(_0x379534!=null&&_0x379534['isPermissionRej']));}[_0x3238bf(0x15d)](){return this;}['toggleOffline'](){const _0x3e801b=_0x3238bf;return this[_0x3e801b(0x151)][_0x3e801b(0x52d)](ye,this['unitID'],this[_0x3e801b(0x4cf)],this['_awaitingChangeset'],this[_0x3e801b(0x261)],this[_0x3e801b(0x152)]);}[_0x3238bf(0x38c)](){return this;}[_0x3238bf(0x2ac)](_0x5178b2){const _0x3f58d7=_0x3238bf;return this[_0x3f58d7(0x151)][_0x3f58d7(0x52d)](Re,this[_0x3f58d7(0x4e9)],this[_0x3f58d7(0x4cf)],this[_0x3f58d7(0x4ac)],this[_0x3f58d7(0x261)],this[_0x3f58d7(0x152)],_0x5178b2);}};he=Le([A(0x7,_0x4a2654(_0x28b8e2)),A(0x8,_0x4a2654(_0x56b96b)),A(0x9,_0x4a2654(q)),A(0xa,_0x5d0f53),A(0xb,_0x462ea5),A(0xc,_0x558053),A(0xd,_0x945511)],he);function Ai(_0xb17da3,_0x4a1ffc,_0x3b7c83,_0x3ba81a,_0x3e3768,_0x1837d9){const _0x138b89=_0x3238bf;return _0x3ba81a&&_0x3e3768[_0x138b89(0x325)]?_0xb17da3[_0x138b89(0x52d)](ge,_0x4a1ffc,_0x3b7c83,_0x3ba81a,_0x3e3768,_0x1837d9,void 0x0):_0x3ba81a?_0xb17da3[_0x138b89(0x52d)](Te,_0x4a1ffc,_0x3b7c83,_0x3ba81a,_0x1837d9):_0x3e3768[_0x138b89(0x325)]?_0xb17da3[_0x138b89(0x52d)](pe,_0x4a1ffc,_0x3b7c83,_0x3e3768,_0x1837d9):_0xb17da3[_0x138b89(0x52d)](Fe,_0x4a1ffc,_0x3b7c83,_0x1837d9);}var So=Object[_0x3238bf(0x535)],Io=Object[_0x3238bf(0x2df)],Es=(_0x2499a1,_0x1acf7c,_0x1f6e48,_0x3024f4)=>{for(var _0x3604b3=_0x3024f4>0x1?void 0x0:_0x3024f4?Io(_0x1acf7c,_0x1f6e48):_0x1acf7c,_0x2a2229=_0x2499a1['length']-0x1,_0x292db6;_0x2a2229>=0x0;_0x2a2229--)(_0x292db6=_0x2499a1[_0x2a2229])&&(_0x3604b3=(_0x3024f4?_0x292db6(_0x1acf7c,_0x1f6e48,_0x3604b3):_0x292db6(_0x3604b3))||_0x3604b3);return _0x3024f4&&_0x3604b3&&So(_0x1acf7c,_0x1f6e48,_0x3604b3),_0x3604b3;},H=(_0x357556,_0x546f13)=>(_0x5964fe,_0xfd5d06)=>_0x546f13(_0x5964fe,_0xfd5d06,_0x357556);let gt=class extends _0x9ae76a{constructor(_0x3ab79e,_0x11bf14,_0x189387,_0x50286c,_0x45a213,_0x207e02,_0x54b867,_0x12c50c,_0x49ce7c,_0x48a9d3,_0x430e6d,_0xecd4c,_0x593015){const _0x43dab7=_0x3238bf;super(),g(this,_0x43dab7(0x472),new _0x353bc7(null)),g(this,_0x43dab7(0x41f),this[_0x43dab7(0x472)]['asObservable']()),g(this,_0x43dab7(0x2fc)),g(this,_0x43dab7(0x1ea),!0x1),g(this,'_changesetSessionId',''),g(this,'_changesetReqId',0x0),g(this,_0x43dab7(0x1a6),this[_0x43dab7(0x41f)]['pipe'](_0x10d2b5(_0x2cae5f=>_0x2cae5f?_0x2cae5f[_0x43dab7(0x17b)]:J[_0x43dab7(0x291)]),_0x2ad7f3(0x1))),g(this,'_transitionLocked',!0x1),g(this,_0x43dab7(0x175),[]),(this[_0x43dab7(0x4e9)]=_0x3ab79e,this[_0x43dab7(0x2e7)]=_0x11bf14,this[_0x43dab7(0x21d)]=_0x189387,this[_0x43dab7(0x151)]=_0x50286c,this['_localCacheService']=_0x45a213,this[_0x43dab7(0x414)]=_0x207e02,this['_localeService']=_0x54b867,this[_0x43dab7(0x357)]=_0x12c50c,this['_logService']=_0x49ce7c,this[_0x43dab7(0x525)]=_0x48a9d3,this['_messageService']=_0x430e6d,this[_0x43dab7(0x184)]=_0xecd4c,this[_0x43dab7(0x3c7)]=_0x593015);}get[_0x3238bf(0x3d2)](){const _0x195629=_0x3238bf;return this[_0x195629(0x2fc)];}async[_0x3238bf(0x264)](){const _0xbb1445=_0x3238bf;if(this['state'])throw new Error(_0xbb1445(0x300));await this[_0xbb1445(0x433)]();}[_0x3238bf(0x30c)](){const _0x253d4a=_0x3238bf;return this[_0x253d4a(0x1ea)]=!0x0,_0x164be7(()=>{const _0x653d90=_0x253d4a;this[_0x653d90(0x1ea)]=!0x1,this[_0x653d90(0x267)]();});}[_0x3238bf(0x289)](_0x1bd119){const _0x1e4126=_0x3238bf;this[_0x1e4126(0x2fc)]=_0x1bd119,this[_0x1e4126(0x472)][_0x1e4126(0x34c)](_0x1bd119);}async[_0x3238bf(0x433)](){const _0x1398ac=_0x3238bf;var _0xcf9ff1;this[_0x1398ac(0x289)](await this[_0x1398ac(0x48b)]()),this[_0x1398ac(0x3c7)]&&((_0xcf9ff1=this[_0x1398ac(0x3c7)])==null||_0xcf9ff1[_0x1398ac(0x1e5)](this[_0x1398ac(0x4e9)]),this[_0x1398ac(0x3df)](this[_0x1398ac(0x3c7)][_0x1398ac(0x27f)](this[_0x1398ac(0x4e9)])['subscribe'](_0x3a5590=>{const _0x43bda6=_0x1398ac;this[_0x43bda6(0x188)][_0x43bda6(0x18e)]('[CollaborationEntity]',_0x43bda6(0x52a),_0x3a5590),_0x3a5590===Di[_0x43bda6(0x347)]?(this[_0x43bda6(0x4ce)][_0x43bda6(0x29f)]({'content':this[_0x43bda6(0x141)]['t'](_0x43bda6(0x189)),'type':_0x62271a[_0x43bda6(0x432)]}),this[_0x43bda6(0x184)]['updatePermissionPoint'](new _0x5f270b(this[_0x43bda6(0x4e9)])['id'],!0x1),this['_permissionService'][_0x43bda6(0x2f7)](!0x1)):(this[_0x43bda6(0x184)][_0x43bda6(0x1f5)](new _0x5f270b(this[_0x43bda6(0x4e9)])['id'],!0x0),this[_0x43bda6(0x184)]['setShowComponents'](!0x0));})));let _0x3aa032=!0x1;return this[_0x1398ac(0x3df)](this[_0x1398ac(0x2e7)][_0x1398ac(0x18b)][_0x1398ac(0x43b)](_0x565caf=>{const _0x41ec08=_0x1398ac;_0x565caf===ve[_0x41ec08(0x435)]?this[_0x41ec08(0x3ee)](_0x3aa032):_0x565caf===ve[_0x41ec08(0x291)]&&(_0x3aa032=!0x0,this[_0x41ec08(0x3f5)]());})),this[_0x1398ac(0x3df)](this['session'][_0x1398ac(0x173)][_0x1398ac(0x43b)](_0x198452=>{const _0xaf6f8c=_0x1398ac;try{switch(_0x198452[_0xaf6f8c(0x448)]){case _0x2c5a34[_0xaf6f8c(0x2d8)]:{this['_onRemoteChangeset'](_0x3249cc(_0x198452['data']));break;}case _0x2c5a34[_0xaf6f8c(0x19f)]:{this[_0xaf6f8c(0x3d0)](_0x198452[_0xaf6f8c(0x209)]);break;}case _0x2c5a34[_0xaf6f8c(0x3c8)]:{this[_0xaf6f8c(0x22e)]();break;}case _0x2c5a34[_0xaf6f8c(0x28e)]:{this[_0xaf6f8c(0x383)](_0x198452['data']);break;}case _0x2c5a34[_0xaf6f8c(0x4c1)]:{this[_0xaf6f8c(0x449)](_0x198452['data'][_0xaf6f8c(0x30b)][_0xaf6f8c(0x192)](_0x4f23f3=>_0x3249cc(_0x4f23f3)));break;}case _0x2c5a34[_0xaf6f8c(0x17d)]:this[_0xaf6f8c(0x22e)]({'isPermissionRej':!0x0});}}catch(_0x111b54){throw console[_0xaf6f8c(0x241)]('Error\x20on\x20receiving\x20event',_0x111b54),_0x111b54;}})),this[_0x1398ac(0x2fc)];}[_0x3238bf(0x1df)](){const _0x28f1e3=_0x3238bf;this[_0x28f1e3(0x2a9)]=!0x1;}['_lockTransition'](){const _0xfbea83=_0x3238bf;if(this[_0xfbea83(0x2a9)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0xfbea83(0x2a9)]=!0x0;}[_0x3238bf(0x23e)](_0x32064d){const _0x10e425=_0x3238bf;this['_lockTransition'](),this[_0x10e425(0x289)](this['_state'][_0x10e425(0x323)](_0x32064d)),this[_0x10e425(0x1df)]();}[_0x3238bf(0x2ef)](_0x556558){const _0x58a758=_0x3238bf;if(!(_0x556558['revision']<=this[_0x58a758(0x357)][_0x58a758(0x162)](this['unitID']))){if(this[_0x58a758(0x1ea)]){this[_0x58a758(0x175)][_0x58a758(0x419)](_0x556558);return;}this['_applyRemoteChangeset'](_0x556558);}}[_0x3238bf(0x267)](){const _0x3a1428=_0x3238bf;this[_0x3a1428(0x175)][_0x3a1428(0x4b5)](_0x40a985=>this[_0x3a1428(0x39a)](_0x40a985)),this[_0x3a1428(0x175)]=[];}[_0x3238bf(0x39a)](_0x346fcb){const _0x4758aa=_0x3238bf,_0x436445=this['_compressMutationService'][_0x4758aa(0x4b4)][_0x4758aa(0x2e8)](this[_0x4758aa(0x414)][_0x4758aa(0x4b4)]['getInterceptPoints']()[_0x4758aa(0x460)])(_0x346fcb[_0x4758aa(0x4de)],null)||_0x346fcb[_0x4758aa(0x4de)],_0x2edc3a={..._0x346fcb,'mutations':_0x436445};this[_0x4758aa(0x2aa)](),this[_0x4758aa(0x289)](this['_state'][_0x4758aa(0x561)](_0x2edc3a)),this['_unlockTransition']();}['_onRemoteACK'](_0x281d56){const _0x300a32=_0x3238bf;this[_0x300a32(0x2aa)](),this[_0x300a32(0x289)](this[_0x300a32(0x2fc)][_0x300a32(0x2e6)](_0x281d56)),this['_unlockTransition']();}[_0x3238bf(0x22e)](_0x297492){const _0x388406=_0x3238bf;this['_lockTransition'](),this[_0x388406(0x289)](this[_0x388406(0x2fc)]['onRemoteRej'](_0x297492)),this[_0x388406(0x1df)]();}['_onRemoteRetry'](_0x4f8a8f){const _0x59df0b=_0x3238bf;this['_lockTransition'](),this[_0x59df0b(0x289)](this[_0x59df0b(0x2fc)]['onRemoteRetry'](_0x4f8a8f)),this['_unlockTransition']();}[_0x3238bf(0x449)](_0x2e2c7f){const _0x19a683=_0x3238bf;if(!(this[_0x19a683(0x2fc)]instanceof he))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x45e4f9=_0x2e2c7f[_0x19a683(0x192)](_0x8dd605=>{const _0x1ec5a1=_0x19a683,_0x43cc4b=this[_0x1ec5a1(0x414)][_0x1ec5a1(0x4b4)][_0x1ec5a1(0x2e8)](this['_compressMutationService']['interceptor'][_0x1ec5a1(0x1ef)]()['COMPRESS_MUTATION_APPLY'])(_0x8dd605['mutations'],null)||_0x8dd605[_0x1ec5a1(0x4de)];return{..._0x8dd605,'mutations':_0x43cc4b};});this['_lockTransition'](),this[_0x19a683(0x289)](this[_0x19a683(0x2fc)][_0x19a683(0x21f)](_0x45e4f9)),this[_0x19a683(0x1df)]();}[_0x3238bf(0x3f5)](){const _0x26a7d5=_0x3238bf;this[_0x26a7d5(0x2aa)](),this[_0x26a7d5(0x289)](this[_0x26a7d5(0x2fc)][_0x26a7d5(0x479)]()),this[_0x26a7d5(0x1df)]();}[_0x3238bf(0x3ee)](_0x3c6080=!0x1){const _0x1662c5=_0x3238bf;this[_0x1662c5(0x2aa)](),this[_0x1662c5(0x289)](this[_0x1662c5(0x2fc)][_0x1662c5(0x38c)]()),this['_unlockTransition']();const _0x12c595=this[_0x1662c5(0x2fc)];_0x3c6080&&_0x12c595 instanceof Fe&&(this[_0x1662c5(0x2aa)](),this[_0x1662c5(0x289)](_0x12c595[_0x1662c5(0x165)]()),this[_0x1662c5(0x1df)]());}async[_0x3238bf(0x48b)](){return new Promise(_0x434c6b=>{const _0x2ac718=_0x466f;this[_0x2ac718(0x2e7)][_0x2ac718(0x18b)][_0x2ac718(0x380)](_0x1cb779(0x1))['subscribe'](async _0x189616=>{const _0x166216=_0x2ac718;_0x434c6b(await this[_0x166216(0x1cf)](_0x189616===ve[_0x166216(0x435)]));});});}[_0x3238bf(0x3a3)](){const _0x59e70f=_0x3238bf,_0x31465f=this[_0x59e70f(0x4e9)];return{'onStateChange':(_0x5e1036,_0x216750)=>{const _0x3c2136=_0x59e70f;if(_0x5e1036!==this['_state'])throw new Error(_0x3c2136(0x1a2)+_0x5e1036[_0x3c2136(0x17b)]+'\x0aAfter:\x20'+_0x216750[_0x3c2136(0x17b)]+_0x3c2136(0x3af)+this[_0x3c2136(0x2fc)][_0x3c2136(0x17b)]);this['_updateState'](_0x216750);},'onSendChangeset':_0x3e7396=>{const _0xe2ed7=_0x59e70f;_0x3e7396[_0xe2ed7(0x147)]||(_0x3e7396['sid']=this['_changesetSessionId'],_0x3e7396[_0xe2ed7(0x4ec)]=++this[_0xe2ed7(0x19a)]);const _0x3ad61f={'eventID':_0x2c5a34['SUBMIT_CHANGESET'],'data':{'unitID':_0x3e7396[_0xe2ed7(0x4e9)],'unitType':this[_0xe2ed7(0x21d)],'changeset':_0x3e7396,'memberID':this[_0xe2ed7(0x2e7)][_0xe2ed7(0x422)]()}};this['session'][_0xe2ed7(0x31d)](_0x3ad61f,this['unitID']);},'onMissingChangesets':({from:_0x2320e9,to:_0xe567fc})=>{const _0x361cdd=_0x59e70f;this[_0x361cdd(0x188)][_0x361cdd(0x18e)]('[CollaborationEntity]',_0x361cdd(0x1e0)+_0x2320e9+_0x361cdd(0x1e9)+_0xe567fc);const _0x119232={'eventID':_0x2c5a34['FETCH_MISSING'],'data':{'unitID':_0x31465f,'unitType':this['_type'],'from':_0x2320e9,'to':_0xe567fc}};this[_0x361cdd(0x2e7)][_0x361cdd(0x31d)](_0x119232,this[_0x361cdd(0x4e9)]);}};}async[_0x3238bf(0x1cf)](_0x21dd95){const _0x3a74e5=_0x3238bf;var _0x54dc45,_0x58c19f;const _0x7e53e2=await this[_0x3a74e5(0x292)][_0x3a74e5(0x313)](this[_0x3a74e5(0x4e9)]),_0x1535ed=(_0x54dc45=_0x7e53e2==null?void 0x0:_0x7e53e2['mutations'])!=null?_0x54dc45:[],_0x1cc8f2=(_0x58c19f=_0x7e53e2==null?void 0x0:_0x7e53e2[_0x3a74e5(0x340)])!=null?_0x58c19f:null,_0x470bc0=!!(_0x1cc8f2!=null&&_0x1cc8f2[_0x3a74e5(0x147)])&&!!(_0x1cc8f2!=null&&_0x1cc8f2['reqId']);this[_0x3a74e5(0x1a7)]=_0x470bc0?_0x1cc8f2[_0x3a74e5(0x147)]:zr(),this[_0x3a74e5(0x19a)]=_0x470bc0?_0x1cc8f2[_0x3a74e5(0x4ec)]:0x0;const _0x4d95ba=this[_0x3a74e5(0x4e9)];try{this[_0x3a74e5(0x3d8)](_0x1cc8f2,_0x1535ed);}catch(_0x8c58a3){this[_0x3a74e5(0x188)][_0x3a74e5(0x241)](_0x8c58a3);}const _0x55165b=this['_createHandler']();if(_0x21dd95){const _0x3d6c1b=Ai(this[_0x3a74e5(0x151)],_0x4d95ba,this[_0x3a74e5(0x21d)],_0x1cc8f2,_0x1535ed,_0x55165b);return _0x3d6c1b instanceof pe?_0x3d6c1b['_schedule']():(_0x3d6c1b instanceof ge||_0x3d6c1b instanceof Te)&&_0x3d6c1b[_0x3a74e5(0x2c3)](),_0x3d6c1b;}return this[_0x3a74e5(0x151)][_0x3a74e5(0x52d)](ye,_0x4d95ba,this[_0x3a74e5(0x21d)],_0x1cc8f2,_0x1535ed,_0x55165b);}[_0x3238bf(0x3d8)](_0x30005b,_0x259932){const _0x34753b=_0x3238bf;var _0x4fec6d,_0x288074;const _0x193c10=this[_0x34753b(0x414)][_0x34753b(0x4b4)][_0x34753b(0x2e8)](this[_0x34753b(0x414)][_0x34753b(0x4b4)]['getInterceptPoints']()[_0x34753b(0x460)]);(_0x4fec6d=_0x193c10((_0x30005b==null?void 0x0:_0x30005b[_0x34753b(0x4de)])||[],null))==null||_0x4fec6d[_0x34753b(0x4b5)](_0x2b6894=>this[_0x34753b(0x525)][_0x34753b(0x2db)](_0x2b6894['id'],_0x2b6894[_0x34753b(0x37c)])),(_0x288074=_0x193c10(_0x259932||[],null))==null||_0x288074['forEach'](_0x28f40f=>this[_0x34753b(0x525)][_0x34753b(0x2db)](_0x28f40f['id'],_0x28f40f['params']));}};gt=Es([H(0x3,_0x4a2654(_0x28b8e2)),H(0x4,_0x4a2654(q)),H(0x5,_0x4a2654(_0x4816dd)),H(0x6,_0x4a2654(_0xc7611d)),H(0x7,_0x4a2654(_0x56b96b)),H(0x8,_0x5d0f53),H(0x9,_0x462ea5),H(0xa,_0x2f8dd1),H(0xb,_0x3cddab),H(0xc,_0x384f19(Rt))],gt);let ss=class extends gt{constructor(_0x8dec90,_0x36812f,_0x2c621a,_0x103d0c,_0x35e801,_0x40082f,_0x3acfa8,_0x21e099,_0x5565df,_0x32fddf,_0x2c5358,_0x32725d,_0x11a466,_0x47c8bf,_0x59518d,_0x433f56,_0x23ec5f,_0x5d52a3){const _0x5df29f=_0x3238bf;super(_0x8dec90,_0x2c621a,_0x36812f,_0x103d0c,_0x35e801,_0x40082f,_0x3acfa8,_0x21e099,_0x47c8bf,_0x59518d,_0x433f56,_0x23ec5f,_0x5d52a3),this[_0x5df29f(0x4e9)]=_0x8dec90,this[_0x5df29f(0x4cf)]=_0x36812f,this[_0x5df29f(0x2f0)]=_0x5565df,this['_docTransformIMECacheService']=_0x32fddf,this['_docTransformStateCacheService']=_0x2c5358,this[_0x5df29f(0x388)]=_0x32725d,this[_0x5df29f(0x500)]=_0x11a466;}[_0x3238bf(0x3a3)](){const _0x15cfa0=_0x3238bf,_0x427a96=super[_0x15cfa0(0x3a3)]();return _0x427a96[_0x15cfa0(0x273)]=_0x2ffb0a=>this[_0x15cfa0(0x195)][_0x15cfa0(0x1f2)](_0x2ffb0a),_0x427a96[_0x15cfa0(0x415)]=_0x423cfa=>this[_0x15cfa0(0x4e1)][_0x15cfa0(0x29a)](_0x423cfa),_0x427a96['onTransformSelections']=_0x373046=>this[_0x15cfa0(0x388)][_0x15cfa0(0x1eb)](_0x373046),_0x427a96[_0x15cfa0(0x4c8)]=_0x4672c5=>this[_0x15cfa0(0x500)][_0x15cfa0(0x361)](_0x4672c5),_0x427a96[_0x15cfa0(0x297)]=_0x7dc289=>this[_0x15cfa0(0x195)][_0x15cfa0(0x235)](_0x7dc289),_0x427a96[_0x15cfa0(0x1d2)]=_0x5c414f=>this[_0x15cfa0(0x4e1)]['transformRemoteChangeset'](_0x5c414f),_0x427a96;}async['_init'](){const _0x3313ca=_0x3238bf,_0x4309ee=await super['_init']();return this[_0x3313ca(0x2f0)][_0x3313ca(0x183)][_0x3313ca(0x380)](_0x4b2adb(this[_0x3313ca(0x4e8)]))['subscribe'](_0x23da8f=>{const _0x37a296=_0x3313ca;if(_0x23da8f==null)return;const {unitId:_0x5bb63c,redoState:_0x2404d8,commandId:_0x1960ce}=_0x23da8f;if(_0x5bb63c!==this[_0x37a296(0x4e9)])return;const _0x4f6b26={'id':_0x1960ce,'type':_0x4d0a82[_0x37a296(0x437)],'params':{'unitId':_0x5bb63c,'actions':_0x2404d8[_0x37a296(0x28c)],'textRanges':null}};this[_0x37a296(0x23e)](_0x4f6b26);}),_0x4309ee;}};ss=Es([H(0x3,_0x4a2654(_0x28b8e2)),H(0x4,_0x4a2654(q)),H(0x5,_0x4a2654(_0x4816dd)),H(0x6,_0x4a2654(_0xc7611d)),H(0x7,_0x4a2654(_0x56b96b)),H(0x8,_0x4a2654(_0x55dde0)),H(0x9,_0x4a2654(ft)),H(0xa,_0x4a2654(mt)),H(0xb,_0x4a2654(pt)),H(0xc,_0x4a2654(Cs)),H(0xd,_0x5d0f53),H(0xe,_0x462ea5),H(0xf,_0x2f8dd1),H(0x10,_0x3cddab),H(0x11,_0x384f19(Rt))],ss);let is=class extends gt{constructor(_0x29525b,_0x347b00,_0x32462d,_0x14df9a,_0x2f0e46,_0x5d8c9c,_0x28b979,_0x3ac315,_0x229046,_0x50b8fd,_0x249b66,_0x2a6817,_0x1f5c2d,_0x46f15d){const _0x464c97=_0x3238bf;super(_0x29525b,_0x32462d,_0x347b00,_0x14df9a,_0x2f0e46,_0x5d8c9c,_0x28b979,_0x3ac315,_0x50b8fd,_0x249b66,_0x2a6817,_0x1f5c2d,_0x46f15d),this['unitID']=_0x29525b,this['type']=_0x347b00,this[_0x464c97(0x1c4)]=_0x229046;}[_0x3238bf(0x3a3)](){const _0x2ab4a4=_0x3238bf,_0x38b3ac=super['_createHandler']();return _0x38b3ac[_0x2ab4a4(0x368)]=_0x1df8e0=>this['_sheetTransformSelectionsService']['transformSelections'](_0x1df8e0),_0x38b3ac;}async[_0x3238bf(0x433)](){const _0x4edd94=_0x3238bf,_0x1e8f04=await super['_init']();return this[_0x4edd94(0x3df)](this[_0x4edd94(0x525)][_0x4edd94(0x446)]((_0x57dd09,_0x2a6a14)=>{const _0x20613e=_0x4edd94;if(_0x57dd09[_0x20613e(0x4cf)]!==_0x4d0a82[_0x20613e(0x437)]||_0x2a6a14!=null&&_0x2a6a14[_0x20613e(0x466)]||_0x2a6a14!=null&&_0x2a6a14[_0x20613e(0x2cd)])return;const _0x4702fc=_0x57dd09[_0x20613e(0x37c)];if((_0x4702fc==null?void 0x0:_0x4702fc['unitId'])!==this['unitID'])return;const _0x3b7692=_0x57dd09,_0xf9119f=this[_0x20613e(0x414)][_0x20613e(0x4b4)][_0x20613e(0x2e8)](this['_compressMutationService']['interceptor'][_0x20613e(0x1ef)]()[_0x20613e(0x14d)])([_0x3b7692],null)||[_0x3b7692];this['_onLocalMutation'](_0xf9119f[0x0]);})),_0x1e8f04;}};is=Es([H(0x3,_0x4a2654(_0x28b8e2)),H(0x4,_0x4a2654(q)),H(0x5,_0x4a2654(_0x4816dd)),H(0x6,_0x4a2654(_0xc7611d)),H(0x7,_0x4a2654(_0x56b96b)),H(0x8,_0x4a2654(vt)),H(0x9,_0x5d0f53),H(0xa,_0x462ea5),H(0xb,_0x2f8dd1),H(0xc,_0x3cddab),H(0xd,_0x384f19(Rt))],is);var Co=Object[_0x3238bf(0x535)],Eo=Object['getOwnPropertyDescriptor'],bo=(_0x340314,_0x1e8756,_0x565786,_0x2c38d5)=>{for(var _0x469565=_0x2c38d5>0x1?void 0x0:_0x2c38d5?Eo(_0x1e8756,_0x565786):_0x1e8756,_0x62364b=_0x340314['length']-0x1,_0x1b64ab;_0x62364b>=0x0;_0x62364b--)(_0x1b64ab=_0x340314[_0x62364b])&&(_0x469565=(_0x2c38d5?_0x1b64ab(_0x1e8756,_0x565786,_0x469565):_0x1b64ab(_0x469565))||_0x469565);return _0x2c38d5&&_0x469565&&Co(_0x1e8756,_0x565786,_0x469565),_0x469565;},Lt=(_0x86193a,_0x64d692)=>(_0x3e970f,_0x3096ac)=>_0x64d692(_0x3e970f,_0x3096ac,_0x86193a);let it=class extends _0x9ae76a{constructor(_0x394600,_0x5667d1,_0x5dd411){const _0xd8ed86=_0x3238bf;super(),g(this,_0xd8ed86(0x42f),new Map()),g(this,_0xd8ed86(0x53b),new _0x302e6e()),(this[_0xd8ed86(0x151)]=_0x394600,this[_0xd8ed86(0x327)]=_0x5667d1,this[_0xd8ed86(0x262)]=_0x5dd411,this['_init']());}[_0x3238bf(0x161)](){const _0x3ebf7b=_0x3238bf;super[_0x3ebf7b(0x161)](),this[_0x3ebf7b(0x42f)][_0x3ebf7b(0x4b5)](_0x2db2d3=>_0x2db2d3[_0x3ebf7b(0x161)]()),this['_entities'][_0x3ebf7b(0x4b1)]();}[_0x3238bf(0x48c)](_0x4f2072){const _0x50f981=_0x3238bf;var _0x18908d;return(_0x18908d=this[_0x50f981(0x42f)][_0x50f981(0x3a5)](_0x4f2072))!=null?_0x18908d:null;}['getCollabEntity$'](_0x3f74a){const _0x2d6db7=_0x3238bf,_0x107480=this[_0x2d6db7(0x48c)](_0x3f74a);return _0x107480?_0x165a23(_0x107480):this[_0x2d6db7(0x53b)][_0x2d6db7(0x380)](_0x2fd833(_0x43d779=>_0x43d779[_0x2d6db7(0x4e9)]===_0x3f74a));}[_0x3238bf(0x433)](){const _0x289cd6=_0x3238bf;this[_0x289cd6(0x262)][_0x289cd6(0x3b4)](_0x5997c4[_0x289cd6(0x49a)])[_0x289cd6(0x380)](_0x4b2adb(this['dispose$']),_0xa5f912(0x10))[_0x289cd6(0x43b)](async _0x46011e=>{const _0x26e31b=_0x289cd6,_0x4d6d6f=_0x46011e[_0x26e31b(0x3fd)](),_0x5d4308=await this[_0x26e31b(0x3e5)](_0x4d6d6f,ce[_0x26e31b(0x49a)]);this[_0x26e31b(0x42f)][_0x26e31b(0x13d)](_0x4d6d6f,_0x5d4308);}),this[_0x289cd6(0x262)][_0x289cd6(0x3b4)](_0x5997c4['UNIVER_DOC'])[_0x289cd6(0x380)](_0x4b2adb(this[_0x289cd6(0x4e8)]),_0xa5f912(0x10))['pipe'](_0x2fd833(_0x4697d8=>!_0x4697d8[_0x289cd6(0x3fd)]()[_0x289cd6(0x490)]('__')))['subscribe'](async _0x2c6ed0=>{const _0xd63edd=_0x289cd6,_0x3edc78=_0x2c6ed0[_0xd63edd(0x3fd)](),_0x350d0a=await this[_0xd63edd(0x3e5)](_0x3edc78,ce[_0xd63edd(0x32f)]);this['_entities'][_0xd63edd(0x13d)](_0x3edc78,_0x350d0a);}),_0xf2f2cb(this['_univerInstanceService'][_0x289cd6(0x3b8)](_0x5997c4[_0x289cd6(0x49a)]),this[_0x289cd6(0x262)]['getTypeOfUnitDisposed$'](_0x5997c4[_0x289cd6(0x32f)]))[_0x289cd6(0x380)](_0x4b2adb(this[_0x289cd6(0x4e8)]))['subscribe'](_0x25c9e3=>{const _0x1b3994=_0x289cd6,_0x1bbe13=_0x25c9e3[_0x1b3994(0x3fd)](),_0x70515a=this[_0x1b3994(0x42f)][_0x1b3994(0x3a5)](_0x1bbe13);_0x70515a&&(_0x70515a[_0x1b3994(0x161)](),this[_0x1b3994(0x42f)][_0x1b3994(0x45a)](_0x1bbe13));});}async[_0x3238bf(0x3e5)](_0x590ed6,_0x2355f8){const _0x51fd4d=_0x3238bf,_0x2e565f=await this[_0x51fd4d(0x327)][_0x51fd4d(0x2fe)](_0x590ed6),_0x46f977=this[_0x51fd4d(0x151)][_0x51fd4d(0x52d)](this[_0x51fd4d(0x2fb)](_0x2355f8),_0x590ed6,_0x2355f8,_0x2e565f);return await _0x46f977['init'](),this[_0x51fd4d(0x53b)]['next'](_0x46f977),_0x46f977;}['_getCtorByUniverType'](_0xe077a8){const _0x59b17c=_0x3238bf;switch(_0xe077a8){case ce[_0x59b17c(0x32f)]:return ss;case ce[_0x59b17c(0x49a)]:return is;default:throw new Error(_0x59b17c(0x335)+_0xe077a8);}}};it=bo([Lt(0x0,_0x4a2654(_0x28b8e2)),Lt(0x1,_0x4a2654(Ae)),Lt(0x2,_0x21deaa)],it);const Gs=[_0x3238bf(0x18c),_0x3238bf(0x3ea),'verdancy600',_0x3238bf(0x1ae),'blue400','gold400'];class bs extends _0x1bec45{constructor(){const _0x382968=_0x3238bf;super(...arguments),g(this,_0x382968(0x532),new Map()),g(this,_0x382968(0x518),0x0);}['assignAColorForMemberID'](_0x6705a6){const _0x1d7648=_0x3238bf;if(this[_0x1d7648(0x532)][_0x1d7648(0x220)](_0x6705a6))return this['_assignedColors'][_0x1d7648(0x3a5)](_0x6705a6);const _0x1b12e1=Gs[this[_0x1d7648(0x518)]];return this[_0x1d7648(0x518)]=(this[_0x1d7648(0x518)]+0x1)%Gs[_0x1d7648(0x325)],this['_assignedColors'][_0x1d7648(0x13d)](_0x6705a6,_0x1b12e1),_0x1b12e1;}}var To=Object[_0x3238bf(0x535)],Ro=Object['getOwnPropertyDescriptor'],yo=(_0x4be2a4,_0x4cfbca,_0x53f66f,_0x18c0c4)=>{for(var _0x555bde=_0x18c0c4>0x1?void 0x0:_0x18c0c4?Ro(_0x4cfbca,_0x53f66f):_0x4cfbca,_0x52a3d9=_0x4be2a4['length']-0x1,_0x3b2c2c;_0x52a3d9>=0x0;_0x52a3d9--)(_0x3b2c2c=_0x4be2a4[_0x52a3d9])&&(_0x555bde=(_0x18c0c4?_0x3b2c2c(_0x4cfbca,_0x53f66f,_0x555bde):_0x3b2c2c(_0x555bde))||_0x555bde);return _0x18c0c4&&_0x555bde&&To(_0x4cfbca,_0x53f66f,_0x555bde),_0x555bde;},Oe=(_0x2f9762,_0x3eee5f)=>(_0x4f4ec7,_0x5408b5)=>_0x3eee5f(_0x4f4ec7,_0x5408b5,_0x2f9762);const Oo=0x12c,wo=0x64;let ns=class extends _0x9ae76a{constructor(_0x1ac298,_0x595722,_0x130765,_0x47c641,_0x556908,_0x48737f,_0x2a2b4d,_0x21ea7f,_0x303eb8){const _0x458552=_0x3238bf;super(),g(this,_0x458552(0x51e),!0x1),g(this,_0x458552(0x433),!0x1),g(this,_0x458552(0x4f3),new _0x353bc7(new Map())),g(this,_0x458552(0x3cb),this['_cursorInfo$'][_0x458552(0x384)]()),g(this,_0x458552(0x381),new _0x353bc7([])),g(this,'roomMembers$',this[_0x458552(0x381)]['pipe'](_0x5ec3df(Oo))),g(this,_0x458552(0x1b2),_0x5d913f(_0x46ce36=>{const _0xd281e3=_0x458552,_0x227988={'eventID':_0x2c5a34['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':Pi(_0x46ce36)}};this[_0xd281e3(0x3b6)]['send'](_0x227988,this[_0xd281e3(0x4e9)]);},wo)),(this[_0x458552(0x4e9)]=_0x1ac298,this[_0x458552(0x3b6)]=_0x595722,this[_0x458552(0x151)]=_0x130765,this[_0x458552(0x375)]=_0x47c641,this[_0x458552(0x1e3)]=_0x556908,this['_syncEditingCollabCursorService']=_0x48737f,this[_0x458552(0x41a)]=_0x2a2b4d,this[_0x458552(0x262)]=_0x21ea7f,this[_0x458552(0x525)]=_0x303eb8);}get[_0x3238bf(0x167)](){const _0x5cd61f=_0x3238bf;return this['_cursorInfo$'][_0x5cd61f(0x263)]();}get[_0x3238bf(0x558)](){const _0x568b80=_0x3238bf;return this['_roomMembers$'][_0x568b80(0x263)]();}[_0x3238bf(0x161)](){const _0x91398b=_0x3238bf;super[_0x91398b(0x161)](),this[_0x91398b(0x4f3)][_0x91398b(0x34c)](new Map()),this['_cursorInfo$']['complete'](),this[_0x91398b(0x381)][_0x91398b(0x34c)]([]),this[_0x91398b(0x381)][_0x91398b(0x44a)]();}[_0x3238bf(0x264)](){const _0x37f8a8=_0x3238bf;this[_0x37f8a8(0x433)]||(this[_0x37f8a8(0x433)]=!0x0,this[_0x37f8a8(0x3b6)][_0x37f8a8(0x18b)]['pipe'](_0x4b2adb(this[_0x37f8a8(0x4e8)]))['subscribe'](_0x1a70ca=>{const _0x3cfa42=_0x37f8a8;_0x1a70ca===ve[_0x3cfa42(0x435)]?this['_toggleOnline']():this[_0x3cfa42(0x3f5)]();}),this[_0x37f8a8(0x3b6)]['event$'][_0x37f8a8(0x380)](_0x4b2adb(this['dispose$']))[_0x37f8a8(0x43b)](_0x1accd5=>{const _0x3e667c=_0x37f8a8,_0x56ec18=_0x1accd5['eventID'];_0x56ec18===_0x2c5a34['UPDATE_CURSOR']&&this[_0x3e667c(0x394)](_0x1accd5),_0x56ec18===_0x2c5a34[_0x3e667c(0x24d)]&&this[_0x3e667c(0x1db)](_0x1accd5);}),this[_0x37f8a8(0x3df)](this[_0x37f8a8(0x525)][_0x37f8a8(0x446)](_0x104e58=>{const _0x280c10=_0x37f8a8,_0x16aa3c=_0x104e58[_0x280c10(0x37c)];_0x16aa3c!=null&&this[_0x280c10(0x51e)]&&_0x104e58['id']===_0x30c83c['id']&&_0x16aa3c['unitId']===this[_0x280c10(0x4e9)]&&_0x16aa3c[_0x280c10(0x278)]===!0x1&&_0x16aa3c[_0x280c10(0x4f4)][_0x280c10(0x325)]>0x0&&this['_updateLocalCursor'](_0x16aa3c[_0x280c10(0x4f4)]);})),this['_syncEditingCollabCursorService'][_0x37f8a8(0x1ad)]['pipe'](_0x4b2adb(this['dispose$']))[_0x37f8a8(0x43b)](_0x5d8b46=>{const _0x2f0243=_0x37f8a8;if((_0x5d8b46==null?void 0x0:_0x5d8b46[_0x2f0243(0x4e9)])!==this['unitID'])return;const _0x3e2c80={'eventID':_0x2c5a34['UPDATE_CURSOR'],'data':_0x5d8b46};this[_0x2f0243(0x394)](_0x3e2c80);}),this[_0x37f8a8(0x3df)](this[_0x37f8a8(0x525)]['onCommandExecuted'](_0x32f004=>{const _0x25172a=_0x37f8a8;if(_0x32f004[_0x25172a(0x37c)]==null)return;const _0x3fecd0=_0x32f004[_0x25172a(0x37c)];if(_0x32f004['id']!==_0x2554d0['id']||_0x3fecd0[_0x25172a(0x1bf)]!==this['unitID'])return;const _0x142c86={'id':'doc.mutation.rich-text-editing','params':_0x3fecd0},_0x4cdd0b=this[_0x25172a(0x167)];for(const [_0x585153,_0x1e9e4c]of _0x4cdd0b){const _0x9966d9={'id':_0x25172a(0x3b3),'params':{'unitId':this[_0x25172a(0x4e9)],'actions':null,'textRanges':_0x1e9e4c[_0x25172a(0x4f4)]}},_0x4e1640=this[_0x25172a(0x41a)][_0x25172a(0x1dc)](_0x142c86,_0x9966d9,!0x1);if(_0x2e9e95(_0x4e1640))throw _0x4e1640[_0x25172a(0x241)];_0x4cdd0b['set'](_0x585153,{..._0x1e9e4c,'ranges':_0x4e1640[_0x25172a(0x471)][_0x25172a(0x37c)][_0x25172a(0x30a)]});}queueMicrotask(()=>{const _0x13d23f=_0x25172a;this[_0x13d23f(0x4f3)]['next'](_0x4cdd0b);});})));}[_0x3238bf(0x394)](_0x12e1d2){const _0x243f55=_0x3238bf;var _0x11720c,_0x1738a7;const {memberID:_0x33f9f3,selection:_0x191142}=_0x12e1d2[_0x243f55(0x209)],_0x2e2eec=ho(_0x191142),_0x71d30c=(_0x1738a7=(_0x11720c=this['_memberService'][_0x243f55(0x2e4)](this[_0x243f55(0x4e9)],_0x33f9f3))==null?void 0x0:_0x11720c[_0x243f55(0x15e)])!=null?_0x1738a7:_0x243f55(0x463),_0x2067c2={'color':this[_0x243f55(0x375)][_0x243f55(0x2d6)](_0x33f9f3),'name':_0x71d30c,'ranges':_0x2e2eec},_0x182e65=this[_0x243f55(0x167)];_0x182e65[_0x243f55(0x13d)](_0x33f9f3,_0x2067c2),this['_cursorInfo$'][_0x243f55(0x34c)](_0x182e65);}[_0x3238bf(0x1db)](_0x1984de){const _0x21fb16=_0x3238bf,{memberID:_0x4a5427}=_0x1984de[_0x21fb16(0x209)],_0x25aa94=this[_0x21fb16(0x167)];_0x25aa94[_0x21fb16(0x45a)](_0x4a5427),this['_cursorInfo$'][_0x21fb16(0x34c)](_0x25aa94);}['_toggleOnline'](){const _0x1a99f5=_0x3238bf;var _0x34ce2b;if(this['_online']=!0x0,((_0x34ce2b=this[_0x1a99f5(0x262)][_0x1a99f5(0x48e)]())==null?void 0x0:_0x34ce2b[_0x1a99f5(0x3fd)]())!==this[_0x1a99f5(0x4e9)])return;const _0x453bfe=this[_0x1a99f5(0x151)][_0x1a99f5(0x3a5)](_0x155680)[_0x1a99f5(0x1ff)]();Array['isArray'](_0x453bfe)&&_0x453bfe[_0x1a99f5(0x325)]>0x0&&this[_0x1a99f5(0x1b2)](_0x453bfe);}[_0x3238bf(0x3f5)](){this['_online']=!0x1;}};ns=yo([Oe(0x2,_0x4a2654(_0x28b8e2)),Oe(0x3,_0x4a2654(bs)),Oe(0x4,_0x4a2654(Ne)),Oe(0x5,_0x4a2654(Cs)),Oe(0x6,_0x945511),Oe(0x7,_0x21deaa),Oe(0x8,_0x462ea5)],ns);var Do=Object[_0x3238bf(0x535)],Po=Object[_0x3238bf(0x2df)],Uo=(_0x46dc06,_0x25b2fe,_0x218e92,_0x133efd)=>{for(var _0xf2f05b=_0x133efd>0x1?void 0x0:_0x133efd?Po(_0x25b2fe,_0x218e92):_0x25b2fe,_0x2b0956=_0x46dc06['length']-0x1,_0x2a1204;_0x2b0956>=0x0;_0x2b0956--)(_0x2a1204=_0x46dc06[_0x2b0956])&&(_0xf2f05b=(_0x133efd?_0x2a1204(_0x25b2fe,_0x218e92,_0xf2f05b):_0x2a1204(_0xf2f05b))||_0xf2f05b);return _0x133efd&&_0xf2f05b&&Do(_0x25b2fe,_0x218e92,_0xf2f05b),_0xf2f05b;},Be=(_0x1ad49b,_0x202432)=>(_0x32dc92,_0x3a94a1)=>_0x202432(_0x32dc92,_0x3a94a1,_0x1ad49b);const No=0x12c,Ao=0x64,Mo=()=>{let _0xe4901a=[],_0x200acc=!0x1;return _0x5d9433=>{const _0x1d03a3=_0x466f;_0xe4901a[_0x1d03a3(0x419)](_0x5d9433),_0x200acc||(_0x200acc=!0x0,setTimeout(()=>{_0xe4901a['forEach'](_0x18d520=>_0x18d520()),_0xe4901a=[],_0x200acc=!0x1;}));};};let rs=class extends _0x9ae76a{constructor(_0x452f28,_0x9a1c87,_0x520598,_0x11c6a4,_0x1ae785,_0x4cf3ea,_0x222532,_0x140e56){const _0x21736b=_0x3238bf;super(),g(this,'_online',!0x1),g(this,'_init',!0x1),g(this,_0x21736b(0x4f3),new _0x353bc7(new Map())),g(this,_0x21736b(0x3cb),this[_0x21736b(0x4f3)][_0x21736b(0x384)]()),g(this,'_roomMembers$',new _0x353bc7([])),g(this,_0x21736b(0x1bd),this[_0x21736b(0x381)]['pipe'](_0x5ec3df(No))),g(this,_0x21736b(0x1b2),_0x5d913f((_0x59eb57,_0x25494d)=>{const _0x2bdac1=_0x21736b,_0xee38df={'eventID':_0x2c5a34[_0x2bdac1(0x42c)],'data':{'unitID':this[_0x2bdac1(0x4e9)],'memberID':this['_session'][_0x2bdac1(0x422)](),'selection':_0x2e0d00(_0x59eb57,_0x25494d[_0x2bdac1(0x172)])}};this[_0x2bdac1(0x3b6)][_0x2bdac1(0x31d)](_0xee38df,this['unitID']);},Ao)),(this[_0x21736b(0x4e9)]=_0x452f28,this[_0x21736b(0x3b6)]=_0x9a1c87,this['_injector']=_0x520598,this[_0x21736b(0x375)]=_0x11c6a4,this[_0x21736b(0x1e3)]=_0x1ae785,this[_0x21736b(0x262)]=_0x4cf3ea,this[_0x21736b(0x525)]=_0x222532,this[_0x21736b(0x2ea)]=_0x140e56);}get[_0x3238bf(0x167)](){return this['_cursorInfo$']['getValue']();}get[_0x3238bf(0x558)](){const _0x16c5d2=_0x3238bf;return this[_0x16c5d2(0x381)]['getValue']();}[_0x3238bf(0x161)](){const _0x42e9f6=_0x3238bf;super[_0x42e9f6(0x161)](),this['_cursorInfo$'][_0x42e9f6(0x34c)](new Map()),this[_0x42e9f6(0x4f3)][_0x42e9f6(0x44a)](),this[_0x42e9f6(0x381)][_0x42e9f6(0x34c)]([]),this[_0x42e9f6(0x381)][_0x42e9f6(0x44a)]();}['init'](){const _0x131d69=_0x3238bf;this[_0x131d69(0x433)]||(this[_0x131d69(0x433)]=!0x0,this[_0x131d69(0x3b6)][_0x131d69(0x18b)]['pipe'](_0x4b2adb(this['dispose$']))['subscribe'](_0x129051=>{const _0x2c98b2=_0x131d69;_0x129051===ve[_0x2c98b2(0x435)]?this['_toggleOnline']():this[_0x2c98b2(0x3f5)]();}),this[_0x131d69(0x3b6)]['event$'][_0x131d69(0x380)](_0x4b2adb(this[_0x131d69(0x4e8)]))[_0x131d69(0x43b)](_0x214107=>{const _0x216f16=_0x131d69,_0x48ec94=_0x214107[_0x216f16(0x448)];_0x48ec94===_0x2c5a34[_0x216f16(0x42c)]&&this['_onCursorUpdate'](_0x214107),_0x48ec94===_0x2c5a34[_0x216f16(0x24d)]&&this[_0x216f16(0x1db)](_0x214107);}),this[_0x131d69(0x20f)](),this[_0x131d69(0x3df)](this['_commandService']['onCommandExecuted'](_0x4f75e6=>{const _0x26407f=_0x131d69;if(this[_0x26407f(0x51e)]&&_0x4f75e6['id']===_0xb384b4['id']&&_0x4f75e6[_0x26407f(0x37c)][_0x26407f(0x1bf)]===this[_0x26407f(0x4e9)]){const _0x4f5312=_0x4f75e6[_0x26407f(0x37c)];this[_0x26407f(0x1b2)](_0x4f5312[_0x26407f(0x336)],_0x4f5312[_0x26407f(0x17a)][0x0]);}})));}[_0x3238bf(0x394)](_0x425d7d){const _0x27044e=_0x3238bf;var _0x14f18c,_0x4399f4;const {memberID:_0x11e959,selection:_0x4e367f}=_0x425d7d['data'],{sheetName:_0x581df6,range:_0x1fa32d}=_0x2c7c2b(_0x4e367f),_0x5223da={'name':(_0x4399f4=(_0x14f18c=this['_memberService']['getMember'](this['unitID'],_0x11e959))==null?void 0x0:_0x14f18c[_0x27044e(0x15e)])!=null?_0x4399f4:_0x27044e(0x463),'range':this[_0x27044e(0x3ef)](_0x581df6,_0x1fa32d),'sheetID':_0x581df6,'color':this[_0x27044e(0x375)][_0x27044e(0x2d6)](_0x11e959),'selection':_0x4e367f},_0x1be7a0=this[_0x27044e(0x167)];_0x1be7a0[_0x27044e(0x13d)](_0x11e959,_0x5223da),this['_cursorInfo$']['next'](_0x1be7a0);}[_0x3238bf(0x1db)](_0x512c16){const _0xdca9af=_0x3238bf,{memberID:_0x29447f}=_0x512c16[_0xdca9af(0x209)],_0x3f49a1=this[_0xdca9af(0x167)];_0x3f49a1[_0xdca9af(0x45a)](_0x29447f),this[_0xdca9af(0x4f3)]['next'](_0x3f49a1);}[_0x3238bf(0x3ef)](_0x55a6c7,_0x534752){const _0x29bb68=_0x3238bf;var _0x15960d,_0x1c1eb9;const _0x487fd3=(_0x1c1eb9=(_0x15960d=this[_0x29bb68(0x262)][_0x29bb68(0x26c)](this['unitID']))==null?void 0x0:_0x15960d[_0x29bb68(0x50b)](_0x55a6c7))==null?void 0x0:_0x1c1eb9['getMergeData']();return(_0x487fd3==null?void 0x0:_0x487fd3['find'](_0x3f43ce=>_0x185edd['contains'](_0x3f43ce,_0x534752)))||_0x534752;}[_0x3238bf(0x20f)](){const _0x51049d=_0x3238bf,_0x115269=new _0x2bf957(),_0x4928f3=Mo(),_0x581348=()=>{const _0x371e09=_0x466f;_0x115269[_0x371e09(0x161)]();const _0x3dbbe6=(_0x2fad90,_0x426daa,_0x597d97,_0x36e5a9)=>{const _0x3d25a8=_0x371e09;let _0x5639c6=[];switch(_0x2fad90['id']){case _0xe2cfb6[_0x3d25a8(0x24a)]:{_0x5639c6=_0x1e1209(_0x2fad90,_0x36e5a9);break;}case _0xe2cfb6[_0x3d25a8(0x307)]:{_0x5639c6=_0x17c9e0(_0x2fad90,_0x36e5a9);break;}case _0xe2cfb6[_0x3d25a8(0x2a5)]:{_0x5639c6=_0x41a0bd(_0x2fad90,_0x36e5a9);break;}case _0xe2cfb6[_0x3d25a8(0x22a)]:{_0x5639c6=_0x9ec55f(_0x2fad90,_0x36e5a9);break;}case _0xe2cfb6[_0x3d25a8(0x507)]:{_0x5639c6=_0x3b8c8b(_0x2fad90,_0x36e5a9);break;}case _0xe2cfb6[_0x3d25a8(0x397)]:{_0x5639c6=_0x4a534d(_0x2fad90,_0x36e5a9);break;}case _0xe2cfb6[_0x3d25a8(0x51d)]:{_0x5639c6=_0x19de67(_0x2fad90,_0x36e5a9);break;}case _0xe2cfb6[_0x3d25a8(0x53a)]:{_0x5639c6=_0x3af346(_0x2fad90,_0x36e5a9);break;}case _0xe2cfb6[_0x3d25a8(0x140)]:{_0x5639c6=_0x463d30(_0x2fad90,_0x36e5a9);break;}}const _0x20f59e=_0x267af5(_0x5639c6,_0x36e5a9),_0x366564=this[_0x3d25a8(0x167)]['get'](_0x426daa);if(_0x366564&&_0x20f59e){const _0x4b0800={..._0x366564,'range':_0x20f59e};this[_0x3d25a8(0x167)][_0x3d25a8(0x13d)](_0x426daa,_0x4b0800),_0x4928f3(()=>{const _0x224613=_0x3d25a8,_0x2834d9=this[_0x224613(0x2ea)]['registerRefRange'](_0x20f59e,_0x2ff4f2=>(_0x2834d9[_0x224613(0x161)](),_0x3dbbe6(_0x2ff4f2,_0x426daa,_0x597d97,_0x20f59e)));_0x115269['add'](_0x2834d9);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x371e09(0x4b5)]((_0x118c7d,_0xac9f20)=>{const _0x318ca1=_0x371e09,{range:_0x25e352,sheetID:_0x51a745}=_0x118c7d,_0x14ce00=this[_0x318ca1(0x2ea)][_0x318ca1(0x3f1)](_0x25e352,_0x2a874c=>(_0x14ce00['dispose'](),_0x3dbbe6(_0x2a874c,_0xac9f20,_0x51a745,_0x25e352)));_0x115269[_0x318ca1(0x28d)](_0x14ce00);});};this[_0x51049d(0x3df)](_0x164be7(this[_0x51049d(0x4f3)][_0x51049d(0x43b)](()=>{_0x581348();})));}['_toggleOnline'](){const _0x4f5807=_0x3238bf;var _0x737176,_0x4fab81;if(this['_online']=!0x0,((_0x737176=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x737176[_0x4f5807(0x3fd)]())!==this[_0x4f5807(0x4e9)])return;const _0x233ea1=(_0x4fab81=this[_0x4f5807(0x151)]['get'](_0x42bfc2)[_0x4f5807(0x24f)]())==null?void 0x0:_0x4fab81[0x0],_0x2fff2e=this[_0x4f5807(0x262)][_0x4f5807(0x3be)](_0x5997c4[_0x4f5807(0x49a)])['getActiveSheet']();_0x233ea1&&_0x2fff2e&&this['_updateLocalCursor'](_0x2fff2e['getSheetId'](),_0x233ea1);}[_0x3238bf(0x3f5)](){const _0x45c8d9=_0x3238bf;this[_0x45c8d9(0x51e)]=!0x1;}};rs=Uo([Be(0x2,_0x4a2654(_0x28b8e2)),Be(0x3,_0x4a2654(bs)),Be(0x4,_0x4a2654(Ne)),Be(0x5,_0x21deaa),Be(0x6,_0x462ea5),Be(0x7,_0x4a2654(_0x60b03d))],rs);var xo=Object[_0x3238bf(0x535)],Lo=Object['getOwnPropertyDescriptor'],$o=(_0x2fe694,_0x146559,_0x3c6c6e,_0x5e90c0)=>{for(var _0x3e6e2d=_0x5e90c0>0x1?void 0x0:_0x5e90c0?Lo(_0x146559,_0x3c6c6e):_0x146559,_0x4d949e=_0x2fe694['length']-0x1,_0x27f85e;_0x4d949e>=0x0;_0x4d949e--)(_0x27f85e=_0x2fe694[_0x4d949e])&&(_0x3e6e2d=(_0x5e90c0?_0x27f85e(_0x146559,_0x3c6c6e,_0x3e6e2d):_0x27f85e(_0x3e6e2d))||_0x3e6e2d);return _0x5e90c0&&_0x3e6e2d&&xo(_0x146559,_0x3c6c6e,_0x3e6e2d),_0x3e6e2d;},$t=(_0x1a702d,_0x4bf1c5)=>(_0x47df38,_0x2953c8)=>_0x4bf1c5(_0x47df38,_0x2953c8,_0x1a702d);let Ve=class extends _0x9ae76a{constructor(_0x453ede,_0x3104df,_0x39777e){const _0xc2476d=_0x3238bf;super(),g(this,_0xc2476d(0x42f),new Map()),g(this,'_entityInit$',new _0x302e6e()),(this[_0xc2476d(0x262)]=_0x453ede,this[_0xc2476d(0x151)]=_0x3104df,this['_collabSessionService']=_0x39777e,this[_0xc2476d(0x433)]());}[_0x3238bf(0x161)](){const _0x3106c3=_0x3238bf;super[_0x3106c3(0x161)](),this[_0x3106c3(0x53b)][_0x3106c3(0x44a)](),this[_0x3106c3(0x42f)][_0x3106c3(0x4b5)](_0x141ab2=>_0x141ab2[_0x3106c3(0x161)]());}['getCollabCursors$'](_0xd52717){const _0x17ad09=_0x3238bf;return this[_0x17ad09(0x42f)][_0x17ad09(0x220)](_0xd52717)?this[_0x17ad09(0x42f)][_0x17ad09(0x3a5)](_0xd52717)[_0x17ad09(0x3cb)]:this[_0x17ad09(0x53b)]['pipe'](_0x2c9c0f(_0x1420e3=>_0x1420e3[_0x17ad09(0x4e9)]===_0xd52717),_0xb18e1b(_0x24a96b=>_0x24a96b[_0x17ad09(0x3cb)]));}[_0x3238bf(0x433)](){const _0x4d1783=_0x3238bf;this[_0x4d1783(0x262)][_0x4d1783(0x3b4)](_0x5997c4['UNIVER_SHEET'])[_0x4d1783(0x380)](_0x4b2adb(this[_0x4d1783(0x4e8)]))[_0x4d1783(0x43b)](async _0x58a9f7=>{const _0x2237ff=_0x4d1783,_0x1b9463=_0x58a9f7[_0x2237ff(0x3fd)](),_0x5345d5=await this[_0x2237ff(0x1b6)](_0x1b9463);this[_0x2237ff(0x53b)]['next'](_0x5345d5),this['_entities'][_0x2237ff(0x13d)](_0x1b9463,_0x5345d5);}),this[_0x4d1783(0x262)]['getTypeOfUnitAdded$'](_0x5997c4['UNIVER_DOC'])[_0x4d1783(0x380)](_0x4b2adb(this['dispose$']))[_0x4d1783(0x380)](_0x2c9c0f(_0x2ab9e4=>!_0x2ab9e4[_0x4d1783(0x3fd)]()[_0x4d1783(0x490)]('__')))[_0x4d1783(0x43b)](async _0x5014da=>{const _0x270643=_0x4d1783,_0x3d9a88=_0x5014da[_0x270643(0x3fd)](),_0x374cde=await this[_0x270643(0x222)](_0x3d9a88);this[_0x270643(0x53b)]['next'](_0x374cde),this[_0x270643(0x42f)][_0x270643(0x13d)](_0x3d9a88,_0x374cde);}),_0xf2f2cb(this[_0x4d1783(0x262)][_0x4d1783(0x3b8)](_0x5997c4[_0x4d1783(0x32f)]),this[_0x4d1783(0x262)][_0x4d1783(0x3b8)](_0x5997c4[_0x4d1783(0x49a)]))[_0x4d1783(0x380)](_0x4b2adb(this[_0x4d1783(0x4e8)]))['subscribe'](_0x79aadc=>{const _0x1e6dc1=_0x4d1783,_0x265821=_0x79aadc[_0x1e6dc1(0x3fd)](),_0x4621a5=this[_0x1e6dc1(0x42f)][_0x1e6dc1(0x3a5)](_0x265821);_0x4621a5&&(_0x4621a5[_0x1e6dc1(0x161)](),this[_0x1e6dc1(0x42f)][_0x1e6dc1(0x45a)](_0x265821));});}async[_0x3238bf(0x1b6)](_0x19206c){const _0x292009=_0x3238bf,_0x2db156=await this['_collabSessionService']['requireSession'](_0x19206c),_0x55a1cc=this[_0x292009(0x151)][_0x292009(0x52d)](rs,_0x19206c,_0x2db156);return _0x55a1cc['init'](),_0x55a1cc;}async['_startDocCollabCursor'](_0x1561e0){const _0x4db4db=_0x3238bf,_0x218269=await this['_collabSessionService']['requireSession'](_0x1561e0),_0x574ee9=this['_injector'][_0x4db4db(0x52d)](ns,_0x1561e0,_0x218269);return _0x574ee9[_0x4db4db(0x264)](),_0x574ee9;}};Ve=$o([$t(0x0,_0x21deaa),$t(0x1,_0x4a2654(_0x28b8e2)),$t(0x2,_0x4a2654(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,Ho=0x5;function jo(_0x177e2e,_0x557f2b){const _0x20bbfa=_0x3238bf;let {radius:_0xc54680,width:_0x55a1c5,height:_0x1ce4cb}=_0x557f2b;_0xc54680=_0xc54680!=null?_0xc54680:0x0,_0x55a1c5=_0x55a1c5!=null?_0x55a1c5:0x1e,_0x1ce4cb=_0x1ce4cb!=null?_0x1ce4cb:0x1e;let _0x183eb9=0x0,_0x34345b=0x0,_0x39995c=0x0;_0x183eb9=_0x34345b=_0x39995c=Math[_0x20bbfa(0x282)](_0xc54680,_0x55a1c5/0x2,_0x1ce4cb/0x2),_0x177e2e[_0x20bbfa(0x412)](),_0x177e2e['moveTo'](_0x183eb9,0x0),_0x177e2e[_0x20bbfa(0x34b)](_0x55a1c5-_0x34345b,0x0),_0x177e2e[_0x20bbfa(0x166)](_0x55a1c5-_0x34345b,_0x34345b,_0x34345b,Math['PI']*0x3/0x2,0x0,!0x1),_0x177e2e[_0x20bbfa(0x34b)](_0x55a1c5,_0x1ce4cb-_0x39995c),_0x177e2e[_0x20bbfa(0x166)](_0x55a1c5-_0x39995c,_0x1ce4cb-_0x39995c,_0x39995c,0x0,Math['PI']/0x2,!0x1),_0x177e2e[_0x20bbfa(0x34b)](0x0,_0x1ce4cb),_0x177e2e[_0x20bbfa(0x34b)](0x0,_0x183eb9),_0x177e2e[_0x20bbfa(0x166)](_0x183eb9,_0x183eb9,_0x183eb9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x177e2e[_0x20bbfa(0x30f)](),_0x557f2b[_0x20bbfa(0x169)]&&(_0x177e2e[_0x20bbfa(0x459)](),_0x177e2e[_0x20bbfa(0x35e)]=_0x557f2b['fill'],_0x557f2b['fillRule']===_0x20bbfa(0x3ae)?_0x177e2e[_0x20bbfa(0x169)](_0x20bbfa(0x3ae)):_0x177e2e[_0x20bbfa(0x169)](),_0x177e2e['restore']());}class yt extends _0x3f7361{constructor(_0x2cd070,_0x47a639){const _0x4f9b56=_0x3238bf;super(_0x2cd070,_0x47a639),g(this,_0x4f9b56(0x15f)),g(this,_0x4f9b56(0x45e)),(this['color']=_0x47a639==null?void 0x0:_0x47a639[_0x4f9b56(0x15f)],this[_0x4f9b56(0x45e)]=_0x47a639==null?void 0x0:_0x47a639[_0x4f9b56(0x45e)]);}static[_0x3238bf(0x281)](_0x1a9749,_0x4b0e18){const _0x44f8a4=_0x3238bf,{text:_0x26aad7,color:_0x20c557}=_0x4b0e18;_0x1a9749[_0x44f8a4(0x459)](),_0x1a9749[_0x44f8a4(0x265)]=_0x44f8a4(0x3f8);const _0x55a889=_0x1a9749['measureText'](_0x26aad7)[_0x44f8a4(0x442)],_0x334b60=Math['min'](_0x55a889+0x2*Ht,Ys);jo(_0x1a9749,{'height':nt,'radius':0x4,'width':_0x334b60,'fill':_0x20c557,'evented':!0x1}),_0x1a9749[_0x44f8a4(0x35e)]=_0x44f8a4(0x495);const _0x27af8e=Ht,_0x44a1f7=nt-Ho,_0x5a7244=Ys-0x2*Ht;if(_0x55a889>_0x5a7244){let _0x4976f2='',_0x16e0b6=0x0;for(const _0x4540b3 of _0x26aad7){const _0x3535ef=_0x1a9749['measureText'](_0x4540b3)[_0x44f8a4(0x442)];if(_0x16e0b6+_0x3535ef<=_0x5a7244-_0x1a9749[_0x44f8a4(0x39c)](_0x44f8a4(0x275))['width'])_0x4976f2+=_0x4540b3,_0x16e0b6+=_0x3535ef;else{_0x4976f2+=_0x44f8a4(0x275);break;}}_0x1a9749[_0x44f8a4(0x3e2)](_0x4976f2,_0x27af8e,_0x44a1f7);}else _0x1a9749[_0x44f8a4(0x3e2)](_0x26aad7,_0x27af8e,_0x44a1f7);_0x1a9749[_0x44f8a4(0x1bb)]();}[_0x3238bf(0x2af)](_0x4fcb58){const _0x422eb0=_0x3238bf;yt[_0x422eb0(0x281)](_0x4fcb58,this);}}const jt=_0x3238bf(0x393),Bo=_0x3238bf(0x1af),ko=_0x3238bf(0x468),Je=0x6,Wo=1.5,Bt=0x4,Fo=1.5,Vo=_0x3238bf(0x28f);class Ks{constructor(_0x4ed9ac,_0x2317d0,_0x4be68f,_0x5118fc){const _0x514c5f=_0x3238bf;g(this,_0x514c5f(0x3a0),[]),g(this,_0x514c5f(0x3fb),null),g(this,_0x514c5f(0x4a2),null),g(this,_0x514c5f(0x1b5),null),g(this,_0x514c5f(0x440),null),g(this,_0x514c5f(0x3e0),null),(this[_0x514c5f(0x4ab)]=_0x4ed9ac,this[_0x514c5f(0x2bf)]=_0x2317d0,this[_0x514c5f(0x16f)]=_0x4be68f,this[_0x514c5f(0x22d)]=_0x5118fc,this[_0x514c5f(0x362)]());}set[_0x3238bf(0x52e)](_0xbfd5c1){const _0x5d8a1a=_0x3238bf;_0xbfd5c1?(this['_anchorDot']&&this[_0x5d8a1a(0x1b5)][_0x5d8a1a(0x182)](),this[_0x5d8a1a(0x4a2)]&&this[_0x5d8a1a(0x4a2)][_0x5d8a1a(0x29f)]()):(this['_anchorDot']&&this[_0x5d8a1a(0x1b5)][_0x5d8a1a(0x29f)](),this[_0x5d8a1a(0x4a2)]&&this[_0x5d8a1a(0x4a2)][_0x5d8a1a(0x182)]());}[_0x3238bf(0x161)](){const _0x3273a5=_0x3238bf;for(const _0x45c49a of this[_0x3273a5(0x3a0)])_0x45c49a[_0x3273a5(0x161)]();this['_textBubble']&&this[_0x3273a5(0x4a2)]['dispose'](),this[_0x3273a5(0x1b5)]&&this['_anchorDot'][_0x3273a5(0x161)](),this[_0x3273a5(0x3fb)]&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x3238bf(0x362)](){const _0x7a4b27=_0x3238bf;var _0x442dab;const {_docSkeleton:_0x51d21b,_document:_0x5b99b0}=this,{color:_0x4d8a86,name:_0xe55bb,ranges:_0x2ee652}=this[_0x7a4b27(0x4ab)],_0x2d459f=_0x5b99b0[_0x7a4b27(0x54c)](),{docsLeft:_0x2292f9,docsTop:_0x5012e9}=_0x2d459f,_0x4df71f=new _0x2dff16(_0x2d459f,_0x51d21b);for(const {startOffset:_0x100a11,endOffset:_0x3a558d,rangeType:_0x1860f2,segmentId:_0x41e2ea,segmentPage:_0x572f43,collapsed:_0x20e5ed,isActive:_0x5a75f7}of _0x2ee652){const _0x48fb25=_0x51d21b['findNodePositionByCharIndex'](_0x100a11,!0x0,_0x41e2ea,_0x572f43);let _0x9e7c8a=_0x51d21b['findNodePositionByCharIndex'](_0x3a558d,!0x0,_0x41e2ea,_0x572f43);if(_0x9e7c8a==null&&(_0x9e7c8a=_0x51d21b['findNodePositionByCharIndex'](_0x3a558d-0x1,!0x1,_0x41e2ea,_0x572f43)),_0x5a75f7){const {contentBoxPointGroup:_0x37aab3}=_0x4df71f[_0x7a4b27(0x200)](_0x9e7c8a,_0x9e7c8a);if(_0x37aab3[_0x7a4b27(0x325)]===0x0)continue;this[_0x7a4b27(0x343)](_0x4d8a86,_0x37aab3,_0x2292f9,_0x5012e9,_0xe55bb),this[_0x7a4b27(0x3e0)]=this[_0x7a4b27(0x3d7)]();}if(_0x48fb25&&_0x9e7c8a){if(_0x1860f2===_0x507957[_0x7a4b27(0x4e4)]){const _0x27e4e3=new _0x2cbacf(_0x2d459f,_0x51d21b),{pointGroup:_0x2d1e0f}=(_0x442dab=_0x27e4e3[_0x7a4b27(0x200)](_0x48fb25,_0x9e7c8a))!=null?_0x442dab:{};if(_0x2d1e0f==null||_0x2d1e0f[_0x7a4b27(0x325)]===0x0)continue;this[_0x7a4b27(0x1d7)](_0x4d8a86,_0x2d1e0f,_0x2292f9,_0x5012e9);}else{if(!_0x20e5ed){const {borderBoxPointGroup:_0x2ca65e}=_0x4df71f[_0x7a4b27(0x200)](_0x48fb25,_0x9e7c8a);if(_0x2ca65e[_0x7a4b27(0x325)]===0x0)continue;this[_0x7a4b27(0x324)](_0x4d8a86,_0x2ca65e,_0x2292f9,_0x5012e9);}}}}}[_0x3238bf(0x343)](_0x54c8c0,_0xb5c5ee,_0x181b1d,_0x2085ac,_0x476c41){const _0x479dba=_0x3238bf,_0x4d607f=this[_0x479dba(0x3cd)](_0xb5c5ee),{left:_0x1e24d8,top:_0x1897fd,height:_0x205e77}=_0x4d607f,_0x1e6748=this[_0x479dba(0x31c)](),_0x436b0d=Fo/_0x1e6748,_0x1244e3=new _0x48bc86(jt+_0x3a7870[_0x479dba(0x2ae)](Je),{'left':_0x1e24d8+_0x181b1d-_0x436b0d,'top':_0x1897fd+_0x2085ac,'height':_0x205e77,'width':Wo,'fill':_0x54c8c0||_0x5726a7(_0x33477d[_0x479dba(0x497)],0x0),'strokeWidth':_0x436b0d,'stroke':Vo,'evented':!0x0});this[_0x479dba(0x3fb)]=_0x1244e3,this[_0x479dba(0x2bf)]['addObject'](_0x1244e3,_0x4efb91);const _0x111b28=new _0x48bc86(jt+_0x3a7870['generateRandomId'](Je),{'left':_0x1e24d8+_0x181b1d-_0x436b0d,'top':_0x1897fd+_0x2085ac-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x54c8c0||_0x5726a7(_0x33477d[_0x479dba(0x497)],0x0),'strokeWidth':0x0,'stroke':_0x54c8c0||_0x5726a7(_0x33477d['black'],0x0),'evented':!0x1});this[_0x479dba(0x1b5)]=_0x111b28,this[_0x479dba(0x2bf)][_0x479dba(0x487)](_0x111b28,_0x4efb91);const _0x3d8a2a=new yt(jt+_0x3a7870[_0x479dba(0x2ae)](Je),{'left':_0x1e24d8+_0x181b1d-_0x436b0d,'top':_0x1897fd+_0x2085ac-nt,'text':_0x476c41,'color':_0x54c8c0});this[_0x479dba(0x4a2)]=_0x3d8a2a,this[_0x479dba(0x2bf)]['addObject'](_0x3d8a2a,_0x4efb91),this[_0x479dba(0x52e)]=!0x1;}['_handleHover'](){const _0x2cec82=_0x3238bf,_0x1b2126=this[_0x2cec82(0x3fb)]['onPointerEnter$'][_0x2cec82(0x1ce)](()=>{const _0x4ef0de=_0x2cec82;this[_0x4ef0de(0x52e)]=!0x0;}),_0x55c761=this[_0x2cec82(0x3fb)]['onPointerLeave$'][_0x2cec82(0x1ce)](()=>{const _0x5366bd=_0x2cec82;this[_0x5366bd(0x440)]&&clearTimeout(this[_0x5366bd(0x440)]),this['_hideTimer']=setTimeout(()=>{const _0x27ad38=_0x5366bd;this[_0x27ad38(0x52e)]=!0x1;},0x7d0);});return()=>{const _0x5c1bfb=_0x2cec82;_0x1b2126['unsubscribe'](),_0x55c761[_0x5c1bfb(0x376)]();};}[_0x3238bf(0x324)](_0x2640f6,_0x1c0d40,_0x2e87db,_0x1f51eb){const _0x47617c=_0x3238bf,_0xeabfed=new _0x1fdc1d(_0x2640f6)[_0x47617c(0x54e)](0.2)[_0x47617c(0x537)](),_0x2ccff5=new _0x36efef(Bo+_0x3a7870[_0x47617c(0x2ae)](Je),{'pointsGroup':_0x1c0d40,'fill':_0xeabfed||_0x5726a7(_0x33477d['black'],0.2),'left':_0x2e87db,'top':_0x1f51eb,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x47617c(0x419)](_0x2ccff5),this[_0x47617c(0x2bf)][_0x47617c(0x487)](_0x2ccff5,_0x4efb91);}[_0x3238bf(0x1d7)](_0x52f8de,_0xf0b55f,_0x2ab9dc,_0x191ae9){const _0x219105=_0x3238bf,_0x72d197=new _0x1fdc1d(_0x52f8de)['setAlpha'](0.2)[_0x219105(0x537)](),_0x38c3a3=new _0x36efef(ko+_0x3a7870[_0x219105(0x2ae)](Je),{'pointsGroup':_0xf0b55f,'fill':_0x72d197||_0x5726a7(_0x33477d[_0x219105(0x497)],0.2),'left':_0x2ab9dc,'top':_0x191ae9,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x38c3a3),this[_0x219105(0x2bf)][_0x219105(0x487)](_0x38c3a3,_0x4efb91);}[_0x3238bf(0x3cd)](_0x4fde89){const _0x2c53b7=_0x4fde89[0x0],_0xe6140c=_0x2c53b7[0x0],_0x241ee1=_0x2c53b7[0x2],{x:_0x59d3e8,y:_0x4f43c3}=_0xe6140c,{x:_0x11ad95,y:_0x4e104c}=_0x241ee1;return{'left':_0x59d3e8,'top':_0x4f43c3,'width':_0x11ad95-_0x59d3e8,'height':_0x4e104c-_0x4f43c3};}[_0x3238bf(0x31c)](){const _0x58f03f=_0x3238bf,{scaleX:_0x12133f,scaleY:_0x2ddb7d}=this[_0x58f03f(0x2bf)][_0x58f03f(0x342)]();return Math['max'](_0x12133f,_0x2ddb7d);}}var Go=Object[_0x3238bf(0x535)],Yo=Object[_0x3238bf(0x2df)],Ko=(_0x14b0f0,_0x20d2af,_0x140641,_0x3e0c4a)=>{const _0x454361=_0x3238bf;for(var _0x2670fc=_0x3e0c4a>0x1?void 0x0:_0x3e0c4a?Yo(_0x20d2af,_0x140641):_0x20d2af,_0x3bce2e=_0x14b0f0[_0x454361(0x325)]-0x1,_0x30bfed;_0x3bce2e>=0x0;_0x3bce2e--)(_0x30bfed=_0x14b0f0[_0x3bce2e])&&(_0x2670fc=(_0x3e0c4a?_0x30bfed(_0x20d2af,_0x140641,_0x2670fc):_0x30bfed(_0x2670fc))||_0x2670fc);return _0x3e0c4a&&_0x2670fc&&Go(_0x20d2af,_0x140641,_0x2670fc),_0x2670fc;},ct=(_0x291a78,_0x4be2fb)=>(_0x285414,_0x2cc7b1)=>_0x4be2fb(_0x285414,_0x2cc7b1,_0x291a78);let os=class extends _0x9ae76a{constructor(_0x27496c,_0x56c9db,_0x3f2aa9,_0x432111,_0x50767c){const _0xa401ac=_0x3238bf;super(),g(this,_0xa401ac(0x2d5),[]),g(this,_0xa401ac(0x255),[]),(this[_0xa401ac(0x26b)]=_0x27496c,this[_0xa401ac(0x258)]=_0x56c9db,this[_0xa401ac(0x43f)]=_0x3f2aa9,this[_0xa401ac(0x525)]=_0x432111,this['_themeService']=_0x50767c,this[_0xa401ac(0x433)]());}['_init'](){const _0x3b781f=_0x3238bf,_0x17b490=this[_0x3b781f(0x26b)]['unitId'],_0x57cd51=this[_0x3b781f(0x258)];this[_0x3b781f(0x3df)](_0xe40d54([this[_0x3b781f(0x43f)][_0x3b781f(0x424)](_0x17b490),this['_themeService'][_0x3b781f(0x4ff)]])[_0x3b781f(0x380)](_0x46b391(([_0x1c7a19,_0x30ad26])=>({'skeleton':_0x57cd51[_0x3b781f(0x1cb)](),'cursors':[..._0x1c7a19[_0x3b781f(0x322)]()]['flatMap'](_0x45b8b0=>({..._0x45b8b0,'color':_0x30ad26[_0x45b8b0[_0x3b781f(0x15f)]]}))})))['subscribe'](_0x42bc86=>{const _0x31ae9c=_0x3b781f;if(this[_0x31ae9c(0x2c1)](),_0x42bc86){const {skeleton:_0xf9cd67,cursors:_0xf60f59}=_0x42bc86;this[_0x31ae9c(0x3fc)](_0xf9cd67,_0xf60f59);}})),this[_0x3b781f(0x51f)](),this[_0x3b781f(0x3bc)]();}[_0x3238bf(0x3fc)](_0x2bf28c,_0x141110){const _0x2a0cba=_0x3238bf,{scene:_0x3af7ef,mainComponent:_0x3aec73}=this['_context'],_0x3894ab=_0x141110[_0x2a0cba(0x192)](_0x145026=>new Ks(_0x145026,_0x3af7ef,_0x2bf28c,_0x3aec73));this['_cursorShapes']=_0x3894ab,this['_cursors']=_0x141110;}['_refreshCollabCursors'](){const _0x5a1746=_0x3238bf;this[_0x5a1746(0x2c1)]();const {scene:_0x49537b,mainComponent:_0x1fd024}=this[_0x5a1746(0x26b)],_0x5c9fb1=this['_docSkeletonManagerService'][_0x5a1746(0x1cb)](),_0x27ff4a=this['_cursors'][_0x5a1746(0x192)](_0x518ab3=>new Ks(_0x518ab3,_0x49537b,_0x5c9fb1,_0x1fd024));this[_0x5a1746(0x2d5)]=_0x27ff4a;}[_0x3238bf(0x2c1)](){const _0x115c8b=_0x3238bf;this[_0x115c8b(0x2d5)]['forEach'](_0x4c7c8f=>_0x4c7c8f[_0x115c8b(0x161)]()),this[_0x115c8b(0x2d5)]=[];}[_0x3238bf(0x3bc)](){const _0x1e69fb=_0x3238bf,_0x2bf0c0=[_0x835516['id']];this[_0x1e69fb(0x3df)](this['_commandService'][_0x1e69fb(0x446)](_0x1679b8=>{const _0x4869cc=_0x1e69fb;_0x2bf0c0[_0x4869cc(0x2ed)](_0x1679b8['id'])&&_0x1679b8[_0x4869cc(0x37c)][_0x4869cc(0x1bf)]===this[_0x4869cc(0x26b)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x3238bf(0x51f)](){const _0x4ae070=_0x3238bf;this[_0x4ae070(0x3df)](_0xde2bf0(this[_0x4ae070(0x26b)][_0x4ae070(0x16c)][_0x4ae070(0x286)])[_0x4ae070(0x380)](_0x2fd833(_0x36f1c1=>_0x36f1c1[_0x4ae070(0x4cf)]===_0x15ccc7[_0x4ae070(0x1e7)]),_0x5ca328(0x10))[_0x4ae070(0x43b)](()=>{const _0x5ab7a4=_0x4ae070;this[_0x5ab7a4(0x367)]();}));}};os=Ko([ct(0x1,_0x4a2654(_0x532f07)),ct(0x2,_0x4a2654(Ve)),ct(0x3,_0x462ea5),ct(0x4,_0x4a2654(_0x251573))],os);const zo=0x1,qo=1.5;class Xo extends _0x3f7361{constructor(_0x43df99,_0x58203a){const _0x24155e=_0x3238bf;super(_0x43df99,_0x58203a),g(this,_0x24155e(0x320)),g(this,'_hovered',!0x1),g(this,_0x24155e(0x1c0)),g(this,'_name',''),g(this,_0x24155e(0x204),_0x24155e(0x4a3)),g(this,_0x24155e(0x3c2)),(_0x58203a&&this['setShapeProps'](_0x58203a),this[_0x24155e(0x344)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x24155e(0x270)][_0x24155e(0x1ce)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x3238bf(0x37a)](_0x2a5d71){const _0x584d79=_0x3238bf;var _0x3b683d,_0x696411,_0x478da2,_0x28bea5,_0x298d4b,_0xa1acf;this['_color']=(_0x3b683d=_0x2a5d71['color'])!=null?_0x3b683d:this['_color'],this[_0x584d79(0x1b7)]=(_0x696411=_0x2a5d71[_0x584d79(0x2ba)])!=null?_0x696411:this[_0x584d79(0x1b7)],this[_0x584d79(0x1c0)]=(_0x478da2=_0x2a5d71[_0x584d79(0x172)])!=null?_0x478da2:this[_0x584d79(0x1c0)],this[_0x584d79(0x3d1)]=(_0x28bea5=_0x2a5d71[_0x584d79(0x15e)])!=null?_0x28bea5:this[_0x584d79(0x3d1)],this[_0x584d79(0x204)]=(_0x298d4b=_0x2a5d71[_0x584d79(0x163)])!=null?_0x298d4b:this['_labelPosition'],this['_backgroundColor']=(_0xa1acf=_0x2a5d71[_0x584d79(0x377)])!=null?_0xa1acf:this['_backgroundColor'],this[_0x584d79(0x379)]({'width':_0x2a5d71[_0x584d79(0x442)],'height':_0x2a5d71[_0x584d79(0x1e6)]});}[_0x3238bf(0x499)](_0x3e443b){const _0x4daba9=_0x3238bf,{row:_0x2bb7bf,column:_0x4d0f56}=_0x3e443b;if(_0x2bb7bf>=this[_0x4daba9(0x1c0)][_0x4daba9(0x331)]&&_0x2bb7bf<=this[_0x4daba9(0x1c0)][_0x4daba9(0x1da)]&&_0x4d0f56>=this['_range'][_0x4daba9(0x542)]&&_0x4d0f56<=this[_0x4daba9(0x1c0)][_0x4daba9(0x214)]){this[_0x4daba9(0x37a)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x3238bf(0x396)](_0x23d86b){return!0x1;}['_draw'](_0x352710){const _0x5e6f14=_0x3238bf;_0x48bc86[_0x5e6f14(0x281)](_0x352710,{'width':this[_0x5e6f14(0x442)],'height':this[_0x5e6f14(0x1e6)],'strokeWidth':qo,'stroke':this[_0x5e6f14(0x320)],'evented':!0x1,'fill':this[_0x5e6f14(0x3c2)]}),this['_hovered']&&(_0x352710[_0x5e6f14(0x459)](),_0x352710[_0x5e6f14(0x2d3)](0x1,0x0,0x0,0x1,this['width'],this[_0x5e6f14(0x204)]===_0x5e6f14(0x47d)?0x0:-nt),yt[_0x5e6f14(0x281)](_0x352710,{'text':this[_0x5e6f14(0x3d1)],'color':this[_0x5e6f14(0x320)]}),_0x352710[_0x5e6f14(0x1bb)]());}}var Jo=Object[_0x3238bf(0x535)],Zo=Object['getOwnPropertyDescriptor'],Qo=(_0x38e56d,_0x42fd0b,_0x1c8dae,_0x1c9ec4)=>{for(var _0x5e2aef=_0x1c9ec4>0x1?void 0x0:_0x1c9ec4?Zo(_0x42fd0b,_0x1c8dae):_0x42fd0b,_0x3cb89d=_0x38e56d['length']-0x1,_0x2654b2;_0x3cb89d>=0x0;_0x3cb89d--)(_0x2654b2=_0x38e56d[_0x3cb89d])&&(_0x5e2aef=(_0x1c9ec4?_0x2654b2(_0x42fd0b,_0x1c8dae,_0x5e2aef):_0x2654b2(_0x5e2aef))||_0x5e2aef);return _0x1c9ec4&&_0x5e2aef&&Jo(_0x42fd0b,_0x1c8dae,_0x5e2aef),_0x5e2aef;},kt=(_0x1e7ab4,_0x4b830d)=>(_0x5e8f96,_0x37a1c0)=>_0x4b830d(_0x5e8f96,_0x37a1c0,_0x1e7ab4);const ea=0x1389;let as=class extends _0x9ae76a{constructor(_0x1e09a3,_0xb42422,_0x22869b,_0x206266){const _0x44958f=_0x3238bf;super(),g(this,'_cursors',new Set()),g(this,_0x44958f(0x36c),null),(this[_0x44958f(0x26b)]=_0x1e09a3,this['_sheetSkeletonManagerService']=_0xb42422,this['_collabCursorController']=_0x22869b,this[_0x44958f(0x481)]=_0x206266,this[_0x44958f(0x433)]());}[_0x3238bf(0x433)](){const _0x1ffa2e=_0x3238bf;this[_0x1ffa2e(0x447)][_0x1ffa2e(0x146)]['pipe'](_0x4cba74(this[_0x1ffa2e(0x4e8)]),_0x234ed0(_0xc52931=>{const _0x32ca47=_0x1ffa2e;if(_0xc52931){const _0x29c7f0=_0xc52931[_0x32ca47(0x37e)];return _0xe40d54(this[_0x32ca47(0x43f)]['getCollabCursors$'](this[_0x32ca47(0x26b)][_0x32ca47(0x1bf)]),this[_0x32ca47(0x481)][_0x32ca47(0x4ff)])[_0x32ca47(0x380)](_0x46b391(([_0x4187d8,_0x4f574a])=>{const _0x796b58=_0x32ca47,_0x1dc791=new Map();return _0x4187d8[_0x796b58(0x4b5)]((_0x57d154,_0xd7aa4f)=>{const _0x1e2d97=_0x796b58;if(_0x57d154[_0x1e2d97(0x35f)]===_0x29c7f0){const _0x1a854a={..._0x57d154};_0x1a854a[_0x1e2d97(0x15f)]=_0x4f574a[_0x57d154['color']],_0x1dc791[_0x1e2d97(0x13d)](_0xd7aa4f,_0x1a854a);}}),{'skeleton':_0xc52931,'cursors':_0x1dc791};}));}return _0x165a23({'skeleton':null,'cursors':new Map()});}))[_0x1ffa2e(0x43b)](({skeleton:_0x331f21,cursors:_0x5560d4})=>{const _0x28f433=_0x1ffa2e;this[_0x28f433(0x2c1)](),_0x331f21&&this[_0x28f433(0x3fc)](_0x331f21,_0x5560d4);}),this[_0x1ffa2e(0x447)][_0x1ffa2e(0x146)][_0x1ffa2e(0x43b)](_0x5ae1af=>{const _0x41f52c=_0x1ffa2e;if(_0x5ae1af==null)return;const {skeleton:_0x2d3947}=_0x5ae1af,{scene:_0x282179}=this[_0x41f52c(0x26b)];_0x282179[_0x41f52c(0x2b8)][_0x41f52c(0x1ce)](_0x5d913f(_0x2f0e36=>{const _0x42a1ed=_0x41f52c;var _0xc79658,_0x402c0f;const {offsetX:_0x5956ea,offsetY:_0x2c9ddd}=_0x2f0e36,{x:_0x2e87ed,y:_0x16dc5f}=_0x282179[_0x42a1ed(0x390)](_0x1691aa[_0x42a1ed(0x2e2)]([_0x5956ea,_0x2c9ddd])),{scaleX:_0x485800,scaleY:_0x40606d}=_0x282179[_0x42a1ed(0x342)](),_0x3840e9=_0x282179[_0x42a1ed(0x194)](_0x578f46[_0x42a1ed(0x4d5)]),_0x4d39de=_0x282179[_0x42a1ed(0x407)](_0x1691aa[_0x42a1ed(0x2e2)]([_0x2e87ed,_0x16dc5f]),_0x3840e9),_0x38d1d1=_0x2d3947[_0x42a1ed(0x210)](_0x5956ea,_0x2c9ddd,_0x485800,_0x40606d,_0x4d39de);((_0xc79658=this['_lastPointer'])==null?void 0x0:_0xc79658[_0x42a1ed(0x34f)])===_0x38d1d1['column']&&((_0x402c0f=this[_0x42a1ed(0x36c)])==null?void 0x0:_0x402c0f[_0x42a1ed(0x13f)])===_0x38d1d1[_0x42a1ed(0x13f)]||this[_0x42a1ed(0x255)][_0x42a1ed(0x4b5)](_0x4b3872=>{const _0x5aaf76=_0x42a1ed;_0x4b3872[_0x5aaf76(0x499)](_0x38d1d1);});},0x64));});}[_0x3238bf(0x3fc)](_0x231718,_0x2f0de3){const _0x23582e=_0x3238bf;var _0x20404d;const _0xe580c1=(_0x20404d=this[_0x23582e(0x447)][_0x23582e(0x4d6)]())==null?void 0x0:_0x20404d[_0x23582e(0x526)];if(!_0xe580c1)return;const _0xb7b75c=this[_0x23582e(0x23b)]();if(!_0xb7b75c)return;this[_0x23582e(0x255)][_0x23582e(0x4b5)](_0x4275f1=>{const _0x29b37c=_0x23582e;_0x4275f1[_0x29b37c(0x350)]();});const {scene:_0x116b11}=_0xb7b75c,_0x1e5192=ta(Array['from'](_0x2f0de3[_0x23582e(0x322)]()))['map'](_0x58ce76=>{const _0x57ba42=_0x23582e,{color:_0xccc848,range:_0x8bfc06,name:_0x5766c2,selection:_0x3fddbc,sheetID:_0x23e53a}=_0x58ce76,{startColumn:_0x419404,startRow:_0x291680,endColumn:_0x2baccd,endRow:_0x46ad6f}=_0x8bfc06,_0x56a3dc=_0x3d3c8c(_0x291680,_0x419404,_0x116b11,_0xe580c1),_0x43f2d1=_0x3d3c8c(_0x46ad6f,_0x2baccd,_0x116b11,_0xe580c1),{columnHeaderHeightAndMarginTop:_0xce966c}=_0xe580c1,{startX:_0x31918c,startY:_0x46c944}=_0x56a3dc,{endX:_0x5cb9d5,endY:_0x95550c}=_0x43f2d1,_0x37583e=_0x5cb9d5-_0x31918c,_0x4008b2=_0x95550c-_0x46c944,_0x591014={'labelPosition':_0x46c944-_0xce966c>=nt?'top':_0x57ba42(0x47d),'sheetID':_0x23e53a,'range':_0x8bfc06,'color':_0xccc848,'name':_0x5766c2,'selection':_0x3fddbc,'left':_0x31918c,'top':_0x46c944,'width':_0x37583e,'height':_0x4008b2,'evented':!0x1,'zIndex':ea};return new Xo(_0x5766c2,_0x591014);});_0x116b11[_0x23582e(0x1a0)](_0x1e5192,zo),this[_0x23582e(0x255)]=new Set(_0x1e5192);}[_0x3238bf(0x2c1)](){const _0x3d9cb9=_0x3238bf;var _0x4cb771;(_0x4cb771=this['_cursors'])==null||_0x4cb771[_0x3d9cb9(0x4b5)](_0x3e1db2=>_0x3e1db2[_0x3d9cb9(0x161)]());}[_0x3238bf(0x23b)](){const _0x40f8da=_0x3238bf;return _0xd58b34(this[_0x40f8da(0x26b)][_0x40f8da(0x3a7)],this[_0x40f8da(0x26b)]);}};as=Qo([kt(0x1,_0x4a2654(_0x15a5fb)),kt(0x2,_0x4a2654(Ve)),kt(0x3,_0x4a2654(_0x251573))],as);function ta(_0x1f09d6){const _0x2d5dce=_0x3238bf,_0x228d29=new Map();return _0x1f09d6[_0x2d5dce(0x4b5)](_0x145ef1=>{const _0x4bfe0a=_0x2d5dce;if(_0x228d29[_0x4bfe0a(0x220)](_0x145ef1['selection'])){const _0x55db46=_0x228d29[_0x4bfe0a(0x3a5)](_0x145ef1['selection']);_0x55db46[_0x4bfe0a(0x15e)]+=',\x20'+_0x145ef1[_0x4bfe0a(0x15e)];}else _0x228d29[_0x4bfe0a(0x13d)](_0x145ef1[_0x4bfe0a(0x298)],_0x145ef1);}),Array[_0x2d5dce(0x409)](_0x228d29[_0x2d5dce(0x322)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x4aa114){const _0x4b29ac=_0x3238bf;return _0x4aa114&&_0x4aa114['__esModule']&&Object[_0x4b29ac(0x439)][_0x4b29ac(0x1b1)][_0x4b29ac(0x46d)](_0x4aa114,'default')?_0x4aa114[_0x4b29ac(0x36b)]:_0x4aa114;}var Mi={'exports':{}},Ot={},sa=_0x37429d,ia=Symbol[_0x3238bf(0x260)](_0x3238bf(0x4ba)),na=Symbol[_0x3238bf(0x260)](_0x3238bf(0x2cb)),ra=Object[_0x3238bf(0x439)][_0x3238bf(0x1b1)],oa=sa[_0x3238bf(0x2ca)][_0x3238bf(0x489)],aa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function xi(_0x49ff9c,_0x379f86,_0x5ddcdd){const _0x3b9ffa=_0x3238bf;var _0x17e7d4,_0x4273d4={},_0x1d9515=null,_0x11b9de=null;_0x5ddcdd!==void 0x0&&(_0x1d9515=''+_0x5ddcdd),_0x379f86[_0x3b9ffa(0x360)]!==void 0x0&&(_0x1d9515=''+_0x379f86[_0x3b9ffa(0x360)]),_0x379f86[_0x3b9ffa(0x2c7)]!==void 0x0&&(_0x11b9de=_0x379f86[_0x3b9ffa(0x2c7)]);for(_0x17e7d4 in _0x379f86)ra[_0x3b9ffa(0x46d)](_0x379f86,_0x17e7d4)&&!aa[_0x3b9ffa(0x1b1)](_0x17e7d4)&&(_0x4273d4[_0x17e7d4]=_0x379f86[_0x17e7d4]);if(_0x49ff9c&&_0x49ff9c[_0x3b9ffa(0x26d)]){for(_0x17e7d4 in(_0x379f86=_0x49ff9c['defaultProps'],_0x379f86))_0x4273d4[_0x17e7d4]===void 0x0&&(_0x4273d4[_0x17e7d4]=_0x379f86[_0x17e7d4]);}return{'$$typeof':ia,'type':_0x49ff9c,'key':_0x1d9515,'ref':_0x11b9de,'props':_0x4273d4,'_owner':oa[_0x3b9ffa(0x374)]};}Ot[_0x3238bf(0x13b)]=na,Ot[_0x3238bf(0x4bd)]=xi,Ot[_0x3238bf(0x53e)]=xi,Mi[_0x3238bf(0x354)]=Ot;var we=Mi[_0x3238bf(0x354)],ee=function(){const _0x1fbbdf=_0x3238bf;return ee=Object[_0x1fbbdf(0x50e)]||function(_0x456fd8){const _0x137741=_0x1fbbdf;for(var _0x825c88,_0x53cfc5=0x1,_0x1003e3=arguments[_0x137741(0x325)];_0x53cfc5<_0x1003e3;_0x53cfc5++){_0x825c88=arguments[_0x53cfc5];for(var _0x18c00a in _0x825c88)Object[_0x137741(0x439)]['hasOwnProperty'][_0x137741(0x46d)](_0x825c88,_0x18c00a)&&(_0x456fd8[_0x18c00a]=_0x825c88[_0x18c00a]);}return _0x456fd8;},ee[_0x1fbbdf(0x4f9)](this,arguments);},ca=function(_0x35198b,_0x4622e9){const _0x478a11=_0x3238bf;var _0x13a227={};for(var _0x5f8575 in _0x35198b)Object[_0x478a11(0x439)][_0x478a11(0x1b1)]['call'](_0x35198b,_0x5f8575)&&_0x4622e9[_0x478a11(0x33e)](_0x5f8575)<0x0&&(_0x13a227[_0x5f8575]=_0x35198b[_0x5f8575]);if(_0x35198b!=null&&typeof Object[_0x478a11(0x3e6)]=='function'){for(var _0xad28b2=0x0,_0x5f8575=Object[_0x478a11(0x3e6)](_0x35198b);_0xad28b2<_0x5f8575[_0x478a11(0x325)];_0xad28b2++)_0x4622e9[_0x478a11(0x33e)](_0x5f8575[_0xad28b2])<0x0&&Object[_0x478a11(0x439)][_0x478a11(0x4a7)][_0x478a11(0x46d)](_0x35198b,_0x5f8575[_0xad28b2])&&(_0x13a227[_0x5f8575[_0xad28b2]]=_0x35198b[_0x5f8575[_0xad28b2]]);}return _0x13a227;},Ts=_0x291cc6(function(_0xb47184,_0x45f821){const _0x595ca9=_0x3238bf;var _0x29cdf7=_0xb47184['icon'],_0x25c932=_0xb47184['id'],_0xbe10d=_0xb47184[_0x595ca9(0x191)],_0xed5820=_0xb47184['extend'],_0x153971=ca(_0xb47184,[_0x595ca9(0x21e),'id','className',_0x595ca9(0x50f)]),_0x2c8011=_0x595ca9(0x4a6)['concat'](_0x25c932,'\x20')['concat'](_0xbe10d||'')[_0x595ca9(0x516)](),_0x1c48c3=_0x20c041('_'[_0x595ca9(0x4e0)](_a()));return Li(_0x29cdf7,''['concat'](_0x25c932),{'defIds':_0x29cdf7['defIds'],'idSuffix':_0x1c48c3[_0x595ca9(0x374)]},ee({'ref':_0x45f821,'className':_0x2c8011},_0x153971),_0xed5820);});function Li(_0x3613eb,_0xb3b45e,_0x5aa01e,_0x19b070,_0x50c7eb){const _0x4522c3=_0x3238bf;return _0x43b3d3(_0x3613eb[_0x4522c3(0x3bf)],ee(ee({'key':_0xb3b45e},ha(_0x3613eb,_0x5aa01e,_0x50c7eb)),_0x19b070),(la(_0x3613eb,_0x5aa01e)['children']||[])[_0x4522c3(0x192)](function(_0x239238,_0x1a6f51){const _0x526887=_0x4522c3;return Li(_0x239238,''[_0x526887(0x4e0)](_0xb3b45e,'-')[_0x526887(0x4e0)](_0x3613eb[_0x526887(0x3bf)],'-')[_0x526887(0x4e0)](_0x1a6f51),_0x5aa01e,void 0x0,_0x50c7eb);}));}function ha(_0x4aac19,_0x566f76,_0x268e27){const _0x5308a6=_0x3238bf;var _0x1620cc=ee({},_0x4aac19[_0x5308a6(0x2ab)]);_0x268e27!=null&&_0x268e27[_0x5308a6(0x150)]&&_0x1620cc[_0x5308a6(0x169)]===_0x5308a6(0x150)&&(_0x1620cc[_0x5308a6(0x169)]=_0x268e27['colorChannel1']);var _0x2e60a5=_0x566f76[_0x5308a6(0x3d9)];return!_0x2e60a5||_0x2e60a5[_0x5308a6(0x325)]===0x0||(_0x4aac19[_0x5308a6(0x3bf)]===_0x5308a6(0x4a4)&&_0x1620cc['xlink:href']&&(_0x1620cc[_0x5308a6(0x14f)]=_0x1620cc[_0x5308a6(0x14f)]+_0x566f76[_0x5308a6(0x41d)]),Object[_0x5308a6(0x534)](_0x1620cc)[_0x5308a6(0x4b5)](function(_0x2550b6){const _0x3a2f7d=_0x5308a6;var _0x3e1df9=_0x2550b6[0x0],_0x2c7d43=_0x2550b6[0x1];typeof _0x2c7d43==_0x3a2f7d(0x303)&&(_0x1620cc[_0x3e1df9]=_0x2c7d43[_0x3a2f7d(0x4e2)](/url\(#(.*)\)/,'url(#$1'[_0x3a2f7d(0x4e0)](_0x566f76['idSuffix'],')')));})),_0x1620cc;}function la(_0x3eeb1c,_0x5ed3b6){const _0x115c17=_0x3238bf;var _0x5b8703,_0x272724=_0x5ed3b6[_0x115c17(0x3d9)];return!_0x272724||_0x272724['length']===0x0?_0x3eeb1c:_0x3eeb1c[_0x115c17(0x3bf)]===_0x115c17(0x18f)&&(!((_0x5b8703=_0x3eeb1c['children'])===null||_0x5b8703===void 0x0)&&_0x5b8703['length'])?ee(ee({},_0x3eeb1c),{'children':_0x3eeb1c[_0x115c17(0x4bc)][_0x115c17(0x192)](function(_0x81aa1b){const _0xa2d4b0=_0x115c17;return typeof _0x81aa1b['attrs']['id']=='string'&&_0x272724&&_0x272724['indexOf'](_0x81aa1b[_0xa2d4b0(0x2ab)]['id'])>-0x1?ee(ee({},_0x81aa1b),{'attrs':ee(ee({},_0x81aa1b[_0xa2d4b0(0x2ab)]),{'id':_0x81aa1b[_0xa2d4b0(0x2ab)]['id']+_0x5ed3b6[_0xa2d4b0(0x41d)]})}):_0x81aa1b;})}):_0x3eeb1c;}function _a(){const _0x5a32e8=_0x3238bf;return Math['random']()[_0x5a32e8(0x1b8)](0x24)[_0x5a32e8(0x2ff)](0x2,0x8);}Ts[_0x3238bf(0x1bc)]=_0x3238bf(0x3aa);var ua={'tag':_0x3238bf(0x22b),'attrs':{'fill':_0x3238bf(0x46f),'viewBox':'0\x200\x2016\x2016','width':_0x3238bf(0x33f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3238bf(0x533)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x3238bf(0x231),'strokeLinecap':_0x3238bf(0x294),'strokeLinejoin':_0x3238bf(0x294),'strokeWidth':1.2}}]},{'tag':_0x3238bf(0x18f),'attrs':{},'children':[{'tag':_0x3238bf(0x1a1),'attrs':{'id':_0x3238bf(0x228)},'children':[{'tag':'path','attrs':{'fill':_0x3238bf(0x55c),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3238bf(0x228)]},$i=_0x291cc6(function(_0x1c40e8,_0x333639){const _0x452922=_0x3238bf;return _0x43b3d3(Ts,Object['assign']({},_0x1c40e8,{'id':_0x452922(0x469),'ref':_0x333639,'icon':ua}));});$i[_0x3238bf(0x1bc)]=_0x3238bf(0x237);var da={'tag':'svg','attrs':{'fill':_0x3238bf(0x46f),'viewBox':_0x3238bf(0x54a),'width':_0x3238bf(0x33f),'height':_0x3238bf(0x33f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x3238bf(0x223),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x3238bf(0x294),'strokeLinejoin':_0x3238bf(0x294),'strokeWidth':1.2}}]},{'tag':_0x3238bf(0x18f),'attrs':{},'children':[{'tag':_0x3238bf(0x1a1),'attrs':{'id':_0x3238bf(0x363)},'children':[{'tag':_0x3238bf(0x2a1),'attrs':{'fill':_0x3238bf(0x55c),'d':_0x3238bf(0x240),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3238bf(0x363)]},Hi=_0x291cc6(function(_0x554a65,_0x2e82f2){const _0x31ebfe=_0x3238bf;return _0x43b3d3(Ts,Object[_0x31ebfe(0x50e)]({},_0x554a65,{'id':_0x31ebfe(0x1d9),'ref':_0x2e82f2,'icon':da}));});Hi[_0x3238bf(0x1bc)]=_0x3238bf(0x522);function ji(_0x3705f3){const _0x10c9d6=_0x3238bf;var _0x41dae8,_0x4d66e0,_0x596e3c='';if(typeof _0x3705f3==_0x10c9d6(0x303)||typeof _0x3705f3==_0x10c9d6(0x3e8))_0x596e3c+=_0x3705f3;else{if(typeof _0x3705f3==_0x10c9d6(0x1b0)){if(Array[_0x10c9d6(0x4a0)](_0x3705f3)){var _0x10ba41=_0x3705f3[_0x10c9d6(0x325)];for(_0x41dae8=0x0;_0x41dae8<_0x10ba41;_0x41dae8++)_0x3705f3[_0x41dae8]&&(_0x4d66e0=ji(_0x3705f3[_0x41dae8]))&&(_0x596e3c&&(_0x596e3c+='\x20'),_0x596e3c+=_0x4d66e0);}else{for(_0x4d66e0 in _0x3705f3)_0x3705f3[_0x4d66e0]&&(_0x596e3c&&(_0x596e3c+='\x20'),_0x596e3c+=_0x4d66e0);}}}return _0x596e3c;}function fa(){const _0x20e30=_0x3238bf;for(var _0x4b18df,_0x592571,_0x502b8e=0x0,_0x45c9d8='',_0x52a74e=arguments[_0x20e30(0x325)];_0x502b8e<_0x52a74e;_0x502b8e++)(_0x4b18df=arguments[_0x502b8e])&&(_0x592571=ji(_0x4b18df))&&(_0x45c9d8&&(_0x45c9d8+='\x20'),_0x45c9d8+=_0x592571);return _0x45c9d8;}const va='univer-online-status-icon',ma=_0x3238bf(0x4f5),pa=_0x3238bf(0x4d1),ga=_0x3238bf(0x4d0),Sa=_0x3238bf(0x302),Ze={'onlineStatusIcon':va,'onlineStatusTitle':ma,'onlineStatus':pa,'online':ga,'offline':Sa};function Ia(_0x19906a){const _0x18a247=_0x3238bf;switch(_0x19906a){case J[_0x18a247(0x291)]:return _0x18a247(0x45b);case J[_0x18a247(0x311)]:return _0x18a247(0x54b);case J[_0x18a247(0x332)]:return _0x18a247(0x25e);case J[_0x18a247(0x3f2)]:return _0x18a247(0x14a);case J['AWAITING']:case J[_0x18a247(0x157)]:return'collabStatus.syncing';case J[_0x18a247(0x401)]:case J[_0x18a247(0x232)]:return'collabStatus.synced';}}function Ca(_0x40031e){const _0x3672bf=_0x3238bf,{status$:_0x2bf55c}=_0x40031e,_0x1b62cd=_0x1e48c7(_0x2bf55c,J[_0x3672bf(0x3f2)]),_0x57d200=_0x120ce2(_0xc7611d),_0x39a909=_0x120ce2(Ae),_0xf46da5=_0x1b62cd!==J['OFFLINE'],_0x295557=_0x57d200['t'](Ia(_0x1b62cd)),_0x2bed98=fa(Ze['onlineStatus'],{[Ze[_0x3672bf(0x46a)]]:_0xf46da5,[Ze[_0x3672bf(0x296)]]:!_0xf46da5}),_0x75c42b=_0xf46da5?we[_0x3672bf(0x4bd)](Hi,{}):we[_0x3672bf(0x4bd)]($i,{}),_0x382069=_0x13394c(()=>{const _0x5affe0=_0x3672bf;_0xf46da5||_0x39a909[_0x5affe0(0x1d1)]();},[_0xf46da5,_0x39a909]);function _0x5b62f8(){const _0x30225e=_0x3672bf;return we[_0x30225e(0x53e)](_0x30225e(0x1c5),{'className':_0x2bed98,'onClick':_0x382069,'children':[we['jsx'](_0x30225e(0x1c5),{'className':Ze[_0x30225e(0x539)],'children':_0x75c42b}),we['jsx']('div',{'className':Ze[_0x30225e(0x3e4)],'children':_0x295557})]});}return _0xf46da5?_0x5b62f8():we[_0x3672bf(0x4bd)](_0x504180,{'title':_0x57d200['t'](_0x3672bf(0x3e7)),'children':_0x5b62f8()});}var Ea=Object['defineProperty'],ba=Object[_0x3238bf(0x2df)],Ta=(_0x43f6ea,_0x4d963f,_0x36bf12,_0xfb0bcd)=>{const _0x44ddf9=_0x3238bf;for(var _0x3b29c1=_0xfb0bcd>0x1?void 0x0:_0xfb0bcd?ba(_0x4d963f,_0x36bf12):_0x4d963f,_0x3b7c71=_0x43f6ea[_0x44ddf9(0x325)]-0x1,_0x1aef0d;_0x3b7c71>=0x0;_0x3b7c71--)(_0x1aef0d=_0x43f6ea[_0x3b7c71])&&(_0x3b29c1=(_0xfb0bcd?_0x1aef0d(_0x4d963f,_0x36bf12,_0x3b29c1):_0x1aef0d(_0x3b29c1))||_0x3b29c1);return _0xfb0bcd&&_0x3b29c1&&Ea(_0x4d963f,_0x36bf12,_0x3b29c1),_0x3b29c1;},ht=(_0x5ed989,_0x511549)=>(_0x452a65,_0x541e13)=>_0x511549(_0x452a65,_0x541e13,_0x5ed989);let St=class extends _0x1bec45{constructor(_0x1f1c16,_0x4a60f7,_0x38254b,_0x4775d7){const _0x131e99=_0x3238bf;super(),g(this,_0x131e99(0x3ff),new _0x353bc7(J[_0x131e99(0x3f2)])),(this[_0x131e99(0x262)]=_0x1f1c16,this['_uiPartsService']=_0x4a60f7,this[_0x131e99(0x151)]=_0x38254b,this[_0x131e99(0x4fd)]=_0x4775d7,this[_0x131e99(0x395)](),this['_initStatusListener']());}[_0x3238bf(0x478)](){const _0x4381ca=_0x3238bf;this[_0x4381ca(0x3df)](this[_0x4381ca(0x262)][_0x4381ca(0x464)][_0x4381ca(0x380)](_0xb18e1b(()=>{const _0x4528f7=_0x4381ca,_0xb57b21=this[_0x4528f7(0x262)]['getFocusedUnit']();return _0xb57b21?this['_collaborationController'][_0x4528f7(0x25a)](_0xb57b21[_0x4528f7(0x3fd)]()):_0x165a23(null);}),_0xb18e1b(_0x5014f1=>_0x5014f1?_0x5014f1['status$']:_0x165a23(J['NOT_COLLAB'])))[_0x4381ca(0x43b)](_0x5a7d6d=>{const _0x2c8985=_0x4381ca;this[_0x2c8985(0x3ff)][_0x2c8985(0x34c)](_0x5a7d6d);}));}['_initStatusComponent'](){const _0x130d1d=_0x3238bf;this['disposeWithMe'](this[_0x130d1d(0x1f6)][_0x130d1d(0x452)](_0x2ef7c3[_0x130d1d(0x353)],()=>_0x3cd6f0(Ra({'status$':this[_0x130d1d(0x3ff)][_0x130d1d(0x384)]()}),this['_injector'])));}};St=Ta([ht(0x0,_0x21deaa),ht(0x1,_0x3c9e6a),ht(0x2,_0x4a2654(_0x28b8e2)),ht(0x3,_0x4a2654(it))],St);function Ra(_0x28fef3){const {status$:_0xe067ae}=_0x28fef3;return function(){return we['jsx'](Ca,{'status$':_0xe067ae});};}const Bi=_0x271919(_0x3238bf(0x4af));var ya=Object['defineProperty'],Oa=Object[_0x3238bf(0x2df)],wa=(_0x3c3cef,_0x5f2285,_0x53521f,_0x53ac89)=>{const _0x423633=_0x3238bf;for(var _0x22795a=_0x53ac89>0x1?void 0x0:_0x53ac89?Oa(_0x5f2285,_0x53521f):_0x5f2285,_0x2ea477=_0x3c3cef[_0x423633(0x325)]-0x1,_0x2f9ff2;_0x2ea477>=0x0;_0x2ea477--)(_0x2f9ff2=_0x3c3cef[_0x2ea477])&&(_0x22795a=(_0x53ac89?_0x2f9ff2(_0x5f2285,_0x53521f,_0x22795a):_0x2f9ff2(_0x22795a))||_0x22795a);return _0x53ac89&&_0x22795a&&ya(_0x5f2285,_0x53521f,_0x22795a),_0x22795a;},ke=(_0x442e07,_0x59b8b8)=>(_0xd223de,_0x1e8867)=>_0x59b8b8(_0xd223de,_0x1e8867,_0x442e07);let It=class extends _0x9ae76a{constructor(_0x20603a,_0x4e0318,_0x13f2f2,_0x151ea0,_0x4b1d74,_0x772be){const _0x26e8ed=_0x3238bf;super(),this[_0x26e8ed(0x1aa)]=_0x20603a,this[_0x26e8ed(0x188)]=_0x4e0318,this['_commandService']=_0x13f2f2,this['_localCacheService']=_0x151ea0,this[_0x26e8ed(0x155)]=_0x4b1d74,_0x772be?_0x772be==null||_0x772be[_0x26e8ed(0x53f)]()[_0x26e8ed(0x2f6)](()=>this[_0x26e8ed(0x433)]()):(this['_logService'][_0x26e8ed(0x18e)](_0x26e8ed(0x321),_0x26e8ed(0x1fa)),this[_0x26e8ed(0x433)]());}async[_0x3238bf(0x433)](){const _0x35b0a2=_0x3238bf,_0xb2865a=this[_0x35b0a2(0x1aa)][_0x35b0a2(0x364)](_0x35b0a2(0x3a7)),_0x32f5c1=this[_0x35b0a2(0x1aa)][_0x35b0a2(0x364)]('type');if(!_0xb2865a||!_0x32f5c1){this[_0x35b0a2(0x188)][_0x35b0a2(0x18e)]('[DataLoaderController]',_0x35b0a2(0x510));return;}switch(Number(_0x32f5c1)){case ce[_0x35b0a2(0x49a)]:{const _0x51432b=await this[_0x35b0a2(0x54f)](_0xb2865a);this[_0x35b0a2(0x16d)](_0x51432b);break;}case ce[_0x35b0a2(0x32f)]:{await this[_0x35b0a2(0x527)](_0xb2865a);break;}default:{this[_0x35b0a2(0x188)][_0x35b0a2(0x241)](_0x35b0a2(0x321),_0x35b0a2(0x55e));break;}}}async['_setupSubUnitSync'](_0x34199c){const _0x916e46=_0x3238bf;await this[_0x916e46(0x359)](_0x34199c),_0x34199c[_0x916e46(0x428)][_0x916e46(0x380)](_0x4b2adb(this[_0x916e46(0x4e8)]))[_0x916e46(0x43b)](_0x5e0e30=>{_0x5e0e30&&this['_updateURLWithCurrentState'](_0x5e0e30);}),this[_0x916e46(0x1aa)][_0x916e46(0x47b)]['pipe'](_0x4b2adb(this['dispose$']))[_0x916e46(0x43b)](()=>this['_updateSubUnitFromURLParams'](_0x34199c));}[_0x3238bf(0x378)](_0x279150,_0x1e1ce3=!0x1){const _0x1127dc=_0x3238bf,_0x53c065=this[_0x1127dc(0x1aa)][_0x1127dc(0x364)](_0x1127dc(0x326));_0x279150['getSheetId']()!==_0x53c065&&this[_0x1127dc(0x1aa)][_0x1127dc(0x2dc)](_0x1127dc(0x326),_0x279150[_0x1127dc(0x1d4)](),_0x1e1ce3);}async['_updateSubUnitFromURLParams'](_0x579b36){const _0xcbbf3a=_0x3238bf;var _0xb66f4a;const _0x243f07=this[_0xcbbf3a(0x1aa)]['getParam'](_0xcbbf3a(0x326));if(!_0x243f07||!_0x579b36[_0xcbbf3a(0x50b)](_0x243f07)){const _0x41bbee=_0x579b36[_0xcbbf3a(0x46e)]()[0x0],_0x48d134=_0x579b36[_0xcbbf3a(0x50b)](_0x41bbee);if(!_0x48d134)return;this['_updateURLWithCurrentState'](_0x48d134,!0x0),await this[_0xcbbf3a(0x525)][_0xcbbf3a(0x2db)](_0x3ee2d1['id'],{'unitId':_0x579b36[_0xcbbf3a(0x3fd)](),'subUnitId':_0x41bbee});return;}((_0xb66f4a=_0x579b36['getActiveSheet']())==null?void 0x0:_0xb66f4a[_0xcbbf3a(0x1d4)]())!==_0x243f07&&await this[_0xcbbf3a(0x525)][_0xcbbf3a(0x2db)](_0x3ee2d1['id'],{'unitId':_0x579b36[_0xcbbf3a(0x3fd)](),'subUnitId':_0x243f07});}async[_0x3238bf(0x54f)](_0x149187){const _0x4ac24f=_0x3238bf;let _0x34710d=0x0;const _0x6dfbf4=await this[_0x4ac24f(0x292)][_0x4ac24f(0x313)](_0x149187);return _0x6dfbf4&&(_0x6dfbf4[_0x4ac24f(0x340)]||_0x6dfbf4[_0x4ac24f(0x4de)][_0x4ac24f(0x325)]!==0x0)&&(_0x34710d=_0x6dfbf4[_0x4ac24f(0x4a5)]),_0x34710d===0x0&&this[_0x4ac24f(0x188)]['debug'](_0x4ac24f(0x321),_0x4ac24f(0x1b3)),this[_0x4ac24f(0x155)][_0x4ac24f(0x285)](_0x149187,_0x34710d);}async[_0x3238bf(0x527)](_0x3fa93f){const _0x28ca33=_0x3238bf;let _0x4269a2=0x0;const _0x4b9c08=await this['_localCacheService']['loadOfflineData'](_0x3fa93f);return _0x4b9c08&&(_0x4b9c08[_0x28ca33(0x340)]||_0x4b9c08[_0x28ca33(0x4de)]['length']!==0x0)&&(_0x4269a2=_0x4b9c08[_0x28ca33(0x4a5)]),_0x4269a2===0x0&&this[_0x28ca33(0x188)][_0x28ca33(0x18e)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x28ca33(0x155)][_0x28ca33(0x39f)](_0x3fa93f,_0x4269a2);}};It=wa([ke(0x0,Bi),ke(0x1,_0x5d0f53),ke(0x2,_0x462ea5),ke(0x3,_0x4a2654(q)),ke(0x4,_0x4a2654(_0x1ff8b0)),ke(0x5,_0x384f19(_0x151359))],It);var Da=Object[_0x3238bf(0x535)],Pa=Object[_0x3238bf(0x2df)],Ua=(_0x219dad,_0x52480b,_0xbf19da,_0x1a21eb)=>{const _0x3102a8=_0x3238bf;for(var _0x4c1c0a=_0x1a21eb>0x1?void 0x0:_0x1a21eb?Pa(_0x52480b,_0xbf19da):_0x52480b,_0xc8c4e3=_0x219dad[_0x3102a8(0x325)]-0x1,_0x30b805;_0xc8c4e3>=0x0;_0xc8c4e3--)(_0x30b805=_0x219dad[_0xc8c4e3])&&(_0x4c1c0a=(_0x1a21eb?_0x30b805(_0x52480b,_0xbf19da,_0x4c1c0a):_0x30b805(_0x4c1c0a))||_0x4c1c0a);return _0x1a21eb&&_0x4c1c0a&&Da(_0x52480b,_0xbf19da,_0x4c1c0a),_0x4c1c0a;},zs=(_0xa5d049,_0x3a0553)=>(_0x5b9751,_0x53686e)=>_0x3a0553(_0x5b9751,_0x53686e,_0xa5d049);const Na=_0x3238bf(0x219),Aa='Univer';let Ct=class extends _0x1bec45{constructor(_0x425977,_0x16ea19){const _0xad9429=_0x3238bf;super(),this['_univerInstanceService']=_0x425977,this[_0xad9429(0x330)]=_0x16ea19,this['_init']();}[_0x3238bf(0x433)](){const _0x5d92df=_0x3238bf;this[_0x5d92df(0x3df)](this[_0x5d92df(0x262)][_0x5d92df(0x464)]['subscribe'](()=>{const _0x2df5f1=_0x5d92df;var _0x446bd3;const _0x41718d=this['_univerInstanceService'][_0x2df5f1(0x48e)]();let _0x2ff4f7=(_0x446bd3=this[_0x2df5f1(0x330)]['getConfig'](Na))!=null?_0x446bd3:Aa;_0x41718d instanceof _0x166f1e&&(_0x2ff4f7=_0x41718d['name']),document[_0x2df5f1(0x1fc)]=_0x2ff4f7;}));}};Ct=Ua([zs(0x0,_0x21deaa),zs(0x1,_0x12cd24)],Ct);var Ma=Object[_0x3238bf(0x535)],xa=Object[_0x3238bf(0x2df)],La=(_0xeb5f57,_0x11de98,_0x191419,_0x36129e)=>{const _0x3dffdb=_0x3238bf;for(var _0x123276=_0x36129e>0x1?void 0x0:_0x36129e?xa(_0x11de98,_0x191419):_0x11de98,_0x26af2b=_0xeb5f57[_0x3dffdb(0x325)]-0x1,_0x5c71ca;_0x26af2b>=0x0;_0x26af2b--)(_0x5c71ca=_0xeb5f57[_0x26af2b])&&(_0x123276=(_0x36129e?_0x5c71ca(_0x11de98,_0x191419,_0x123276):_0x5c71ca(_0x123276))||_0x123276);return _0x36129e&&_0x123276&&Ma(_0x11de98,_0x191419,_0x123276),_0x123276;},Wt=(_0x342007,_0x2d9c8c)=>(_0xc7dffc,_0x174574)=>_0x2d9c8c(_0xc7dffc,_0x174574,_0x342007);let Et=class{constructor(_0x750d2b,_0x5539b6,_0x3954e8){const _0x1aff4e=_0x3238bf;this[_0x1aff4e(0x330)]=_0x750d2b,this[_0x1aff4e(0x276)]=_0x5539b6,this[_0x1aff4e(0x391)]=_0x3954e8,this[_0x1aff4e(0x264)]();}[_0x3238bf(0x264)](){const _0x5c4b77=_0x3238bf;this['_httpService'][_0x5c4b77(0x351)]({'priority':0x1,'interceptor':(_0x44256e,_0x11bc6f)=>_0x11bc6f(_0x44256e)[_0x5c4b77(0x380)](_0x46d7c7(async _0x2d7631=>{const _0x1c025a=_0x5c4b77,_0x13d05f=_0x2d7631;if(_0x13d05f[_0x1c025a(0x17b)]===0x191&&window[_0x1c025a(0x4e5)](this[_0x1c025a(0x391)]['t'](_0x1c025a(0x417)))){const _0x22b70e=window['encodeURIComponent'](window[_0x1c025a(0x3f3)][_0x1c025a(0x46c)]);window[_0x1c025a(0x3f3)][_0x1c025a(0x46c)]=this['_getLoginPath']()+_0x1c025a(0x316)+_0x22b70e;}return _0x13d05f;}))});}['_getLoginPath'](){const _0x9978c4=_0x3238bf;var _0x350bc1,_0x3a8d43;const _0xfc5a35=this[_0x9978c4(0x330)][_0x9978c4(0x404)](br),_0x1a9bf5=this['_configService'][_0x9978c4(0x404)](ie);return(_0x3a8d43=(_0x350bc1=_0x1a9bf5==null?void 0x0:_0x1a9bf5[_0x9978c4(0x34a)])!=null?_0x350bc1:_0xfc5a35)!=null?_0x3a8d43:Tr;}};Et=La([Wt(0x0,_0x12cd24),Wt(0x1,_0x4a2654(_0x4ca339)),Wt(0x2,_0x4a2654(_0xc7611d))],Et);var $a=Object[_0x3238bf(0x535)],Ha=Object['getOwnPropertyDescriptor'],ja=(_0xc92c11,_0x23e2c9,_0x57008,_0x4581d9)=>{const _0x2572b1=_0x3238bf;for(var _0x3edc4e=_0x4581d9>0x1?void 0x0:_0x4581d9?Ha(_0x23e2c9,_0x57008):_0x23e2c9,_0x14e9e8=_0xc92c11[_0x2572b1(0x325)]-0x1,_0x386b29;_0x14e9e8>=0x0;_0x14e9e8--)(_0x386b29=_0xc92c11[_0x14e9e8])&&(_0x3edc4e=(_0x4581d9?_0x386b29(_0x23e2c9,_0x57008,_0x3edc4e):_0x386b29(_0x3edc4e))||_0x3edc4e);return _0x4581d9&&_0x3edc4e&&$a(_0x23e2c9,_0x57008,_0x3edc4e),_0x3edc4e;},qs=(_0x5ca1c9,_0x83aaa0)=>(_0x263a4f,_0x5d59a9)=>_0x83aaa0(_0x263a4f,_0x5d59a9,_0x5ca1c9);const Ba='AUTHZ_URL_KEY',ka=_0x3238bf(0x555);let cs=class extends _0x1bec45{constructor(_0x16b460,_0x115679){const _0xe3bce8=_0x3238bf;super(),this[_0xe3bce8(0x42e)]=_0x16b460,this[_0xe3bce8(0x330)]=_0x115679,this[_0xe3bce8(0x2a4)]();}[_0x3238bf(0x2a4)](){const _0xeea09c=_0x3238bf,_0x199a96=this;this['disposeWithMe'](this[_0xeea09c(0x42e)][_0xeea09c(0x351)]({'priority':0x3e7,'interceptor':_0x391dde({'isMatch'(_0x3e8388){const _0x42b81f=_0xeea09c;var _0x3f7972;if(_0x3e8388['method']===_0x42b81f(0x22f)&&((_0x3f7972=_0x3e8388[_0x42b81f(0x4b3)])!=null&&_0x3f7972[_0x42b81f(0x3bd)])){const {objectID:_0x42e8ca,objectType:_0x368c97}=_0x3e8388[_0x42b81f(0x4b3)][_0x42b81f(0x3bd)]||{};if(!_0x42e8ca||_0x368c97===void 0x0)return!0x1;const _0x413e56=_0x199a96[_0x42b81f(0x444)]()+'/'+_0x368c97+'/object/'+_0x42e8ca+'/allowed';if(_0x3e8388[_0x42b81f(0x186)]===_0x413e56)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4b8afd){const _0x230313=_0xeea09c;var _0x285c0c;return(_0x285c0c=_0x4b8afd[_0x230313(0x4b3)])==null?void 0x0:_0x285c0c[_0x230313(0x3bd)];},'mergeParamsToRequest'(_0x77f09f,_0x3b884a){const _0x4d7d34=_0xeea09c,_0x58ba33=_0x199a96[_0x4d7d34(0x444)]()+_0x4d7d34(0x31e),_0xc2cab5=_0x77f09f[_0x4d7d34(0x44f)]((_0x133253,_0x495bfb)=>{const _0x243590=_0x4d7d34,{unitID:_0xabebe2,objectID:_0x3f9f5d,objectType:_0x2eba06,actions:_0x3efaaf}=_0x495bfb;return _0x133253[_0xabebe2]||(_0x133253[_0xabebe2]={}),_0x133253[_0xabebe2][_0x3f9f5d]||(_0x133253[_0xabebe2][_0x3f9f5d]={'objectID':_0x3f9f5d,'objectType':_0x2eba06,'actions':[]}),_0x133253[_0xabebe2][_0x3f9f5d][_0x243590(0x28c)][_0x243590(0x419)](..._0x3efaaf),_0x133253;},{}),_0x5f0c75=[];for(const _0xb74459 in _0xc2cab5)for(const _0x149c95 in _0xc2cab5[_0xb74459]){const {actions:_0x2ba74e,objectType:_0x522e09}=_0xc2cab5[_0xb74459][_0x149c95],_0x9fd06=[...new Set(_0x2ba74e)];_0x5f0c75[_0x4d7d34(0x419)]({'unitID':_0xb74459,'objectID':_0x149c95,'objectType':_0x522e09,'actions':_0x9fd06});}return new _0x9398ae(_0x4d7d34(0x22f),_0x58ba33,{'headers':_0x3b884a[_0x4d7d34(0x3c4)],'withCredentials':_0x3b884a[_0x4d7d34(0x425)],'responseType':_0x3b884a[_0x4d7d34(0x4ef)],'body':{'requests':_0x5f0c75}});}},{'distributeResult'(_0x98ed8b,_0x12067c){const {objectActions:_0x503883}=_0x98ed8b;return _0x12067c['map'](_0x21d00d=>{const _0x5446a=_0x466f,{unitID:_0x199130,objectID:_0x1d6958,actions:_0x2267a8}=_0x21d00d,_0x10656f=_0x503883[_0x5446a(0x283)](_0x2b03fc=>_0x2b03fc[_0x5446a(0x4e9)]===_0x199130&&_0x2b03fc['objectID']===_0x1d6958),_0x3b7a44=_0x2267a8[_0x5446a(0x192)](_0x42b669=>_0x10656f==null?void 0x0:_0x10656f[_0x5446a(0x28c)][_0x5446a(0x283)](_0x4cfcce=>_0x4cfcce[_0x5446a(0x274)]===_0x42b669))[_0x5446a(0x295)](_0x565922=>!!_0x565922);return{'config':_0x21d00d,'result':{'actions':_0x3b7a44,'error':_0x98ed8b[_0x5446a(0x241)]}};});}})}));}[_0x3238bf(0x444)](){const _0x319fed=_0x3238bf;var _0x42fb2a,_0x4e11e6;const _0x38e5de=this[_0x319fed(0x330)][_0x319fed(0x404)](Ba),_0x2c283a=this['_configService'][_0x319fed(0x404)](ie);return(_0x4e11e6=(_0x42fb2a=_0x2c283a==null?void 0x0:_0x2c283a['authzUrl'])!=null?_0x42fb2a:_0x38e5de)!=null?_0x4e11e6:ka;}async[_0x3238bf(0x371)](_0xd65510){const _0x1e8c89=_0x3238bf,_0x360bf8=this[_0x1e8c89(0x444)]()+'/'+_0xd65510[_0x1e8c89(0x523)]+_0x1e8c89(0x41e);return(await this[_0x1e8c89(0x42e)][_0x1e8c89(0x4b2)](_0x360bf8,{'body':_0xd65510}))['body']['objectID']||'';}async[_0x3238bf(0x3a6)](_0x44e779){const _0x6ee85e=_0x3238bf,_0x40f345=this[_0x6ee85e(0x444)]()+_0x6ee85e(0x511);return(await this[_0x6ee85e(0x42e)][_0x6ee85e(0x4b2)](_0x40f345,{'body':_0x44e779}))[_0x6ee85e(0x3bd)][_0x6ee85e(0x4e7)];}async[_0x3238bf(0x201)](_0x35b2eb){const _0x9c0550=_0x3238bf,_0x2d1c04=this[_0x9c0550(0x444)]()+'/'+_0x35b2eb[_0x9c0550(0x523)]+'/object/'+_0x35b2eb['objectID'];await this[_0x9c0550(0x42e)][_0x9c0550(0x1e1)](_0x2d1c04,{'body':_0x35b2eb});}async[_0x3238bf(0x406)](_0x40dfef){const _0x52f1ff=_0x3238bf,_0x1c8594=this[_0x52f1ff(0x444)]()+'/'+_0x40dfef[_0x52f1ff(0x523)]+_0x52f1ff(0x3ab)+_0x40dfef['objectID']+'/allowed';return(await this[_0x52f1ff(0x42e)][_0x52f1ff(0x4b2)](_0x1c8594,{'body':_0x40dfef}))['body'][_0x52f1ff(0x28c)];}async['batchAllowed'](_0x5a945e){const _0x301548=_0x3238bf,_0x3eb439=this[_0x301548(0x444)]()+'/-/object/-/batch_allowed';return(await this[_0x301548(0x42e)][_0x301548(0x4b2)](_0x3eb439,{'body':{'requests':_0x5a945e}}))[_0x301548(0x3bd)]['objectActions'];}async[_0x3238bf(0x44e)](_0x498442){const _0x5967eb=_0x3238bf,_0x545b76=this[_0x5967eb(0x444)]()+'/'+_0x498442[_0x5967eb(0x523)]+'/role',_0x4fcbc5=await this['_HTTPService'][_0x5967eb(0x4b2)](_0x545b76,{'body':_0x498442});return{'roles':_0x4fcbc5[_0x5967eb(0x3bd)][_0x5967eb(0x418)],'actions':_0x4fcbc5[_0x5967eb(0x3bd)]['actions']};}async['deleteCollaborator'](_0x3a1477){const _0x1c995f=_0x3238bf,_0x402dfd=this[_0x1c995f(0x444)]()+_0x1c995f(0x3b7);await this['_HTTPService'][_0x1c995f(0x45a)](_0x402dfd,{'params':{'collaboratorID':_0x3a1477[_0x1c995f(0x2c6)],'objectID':_0x3a1477[_0x1c995f(0x20d)],'unitID':_0x3a1477[_0x1c995f(0x4e9)]}});}async[_0x3238bf(0x1e4)](_0x58e063){const _0x61d282=_0x3238bf,_0x578ac9=this['_getAPIPrefixPath']()+_0x61d282(0x3b7);await this['_HTTPService'][_0x61d282(0x44c)](_0x578ac9,{'body':_0x58e063});}async[_0x3238bf(0x4eb)](_0x442ce3){const _0x19a9a4=_0x3238bf,_0x39e220=this[_0x19a9a4(0x444)]()+_0x19a9a4(0x3b7);await this[_0x19a9a4(0x42e)]['post'](_0x39e220,{'body':_0x442ce3});}async[_0x3238bf(0x41c)](_0x3a23c5){const _0x3777b5=_0x3238bf,_0x3488cf=this[_0x3777b5(0x444)]()+_0x3777b5(0x3b7);return(await this[_0x3777b5(0x42e)][_0x3777b5(0x3a5)](_0x3488cf,{'params':{'objectID':_0x3a23c5[_0x3777b5(0x20d)],'unitID':_0x3a23c5['unitID']}}))[_0x3777b5(0x3bd)][_0x3777b5(0x27a)];}async['putCollaborators'](_0x22d9ef){const _0x4beebf=_0x3238bf,_0x24ea1e=this[_0x4beebf(0x444)]()+_0x4beebf(0x3b7);await this[_0x4beebf(0x42e)][_0x4beebf(0x1e1)](_0x24ea1e,{'body':_0x22d9ef});}};cs=ja([qs(0x0,_0x4a2654(_0x4ca339)),qs(0x1,_0x4a2654(_0x12cd24))],cs);var ki={'exports':{}};function Wa(_0x4fa717){const _0x34b5f8=_0x3238bf;throw new Error(_0x34b5f8(0x25b)+_0x4fa717+'\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 _0x2ee71b=_0x3238bf;return Xs||(Xs=0x1,function(_0x4387fe,_0x6df90){(function(_0x57fec1,_0x2a7f04){_0x4387fe['exports']=_0x2a7f04();}(Z,function(){var _0x2e9e5d=_0x2e9e5d||function(_0xe209ff,_0x486aad){const _0x2abac2=_0x466f;var _0x3858e6;if(typeof window<'u'&&window[_0x2abac2(0x149)]&&(_0x3858e6=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x3858e6=self[_0x2abac2(0x149)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3858e6=globalThis[_0x2abac2(0x149)]),!_0x3858e6&&typeof window<'u'&&window[_0x2abac2(0x18d)]&&(_0x3858e6=window[_0x2abac2(0x18d)]),!_0x3858e6&&typeof Z<'u'&&Z[_0x2abac2(0x149)]&&(_0x3858e6=Z[_0x2abac2(0x149)]),!_0x3858e6&&typeof Wa=='function')try{_0x3858e6=require('crypto');}catch{}var _0x96ed67=function(){const _0x13faea=_0x2abac2;if(_0x3858e6){if(typeof _0x3858e6[_0x13faea(0x441)]==_0x13faea(0x16e))try{return _0x3858e6[_0x13faea(0x441)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3858e6[_0x13faea(0x506)]==_0x13faea(0x16e))try{return _0x3858e6[_0x13faea(0x506)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x13faea(0x554));},_0x1d4809=Object[_0x2abac2(0x371)]||(function(){function _0x174a4a(){}return function(_0x4296a9){const _0x13210b=_0x466f;var _0xcca9d0;return _0x174a4a[_0x13210b(0x439)]=_0x4296a9,_0xcca9d0=new _0x174a4a(),_0x174a4a[_0x13210b(0x439)]=null,_0xcca9d0;};}()),_0x5f24ba={},_0x3611e0=_0x5f24ba[_0x2abac2(0x187)]={},_0x40c930=_0x3611e0[_0x2abac2(0x2f1)]=(function(){return{'extend':function(_0x2517cf){const _0x295f7a=_0x466f;var _0x1a81ce=_0x1d4809(this);return _0x2517cf&&_0x1a81ce[_0x295f7a(0x233)](_0x2517cf),(!_0x1a81ce[_0x295f7a(0x1b1)](_0x295f7a(0x264))||this[_0x295f7a(0x264)]===_0x1a81ce[_0x295f7a(0x264)])&&(_0x1a81ce['init']=function(){_0x1a81ce['$super']['init']['apply'](this,arguments);}),_0x1a81ce[_0x295f7a(0x264)][_0x295f7a(0x439)]=_0x1a81ce,_0x1a81ce[_0x295f7a(0x25d)]=this,_0x1a81ce;},'create':function(){const _0x5c291c=_0x466f;var _0x9a29e0=this[_0x5c291c(0x50f)]();return _0x9a29e0['init'][_0x5c291c(0x4f9)](_0x9a29e0,arguments),_0x9a29e0;},'init':function(){},'mixIn':function(_0x5e1c23){const _0xd6eab0=_0x466f;for(var _0x54293c in _0x5e1c23)_0x5e1c23[_0xd6eab0(0x1b1)](_0x54293c)&&(this[_0x54293c]=_0x5e1c23[_0x54293c]);_0x5e1c23[_0xd6eab0(0x1b1)]('toString')&&(this['toString']=_0x5e1c23[_0xd6eab0(0x1b8)]);},'clone':function(){const _0x1ceff3=_0x466f;return this[_0x1ceff3(0x264)][_0x1ceff3(0x439)][_0x1ceff3(0x50f)](this);}};}()),_0x2b49c9=_0x3611e0['WordArray']=_0x40c930[_0x2abac2(0x50f)]({'init':function(_0x417a89,_0x1ee5f7){const _0x1480b7=_0x2abac2;_0x417a89=this['words']=_0x417a89||[],_0x1ee5f7!=_0x486aad?this['sigBytes']=_0x1ee5f7:this[_0x1480b7(0x312)]=_0x417a89[_0x1480b7(0x325)]*0x4;},'toString':function(_0x54ed49){const _0xb90815=_0x2abac2;return(_0x54ed49||_0x2ccfdd)[_0xb90815(0x2a3)](this);},'concat':function(_0x141831){const _0x25a35a=_0x2abac2;var _0x2c82f4=this['words'],_0x34abf0=_0x141831['words'],_0x37ee1f=this[_0x25a35a(0x312)],_0x39472e=_0x141831[_0x25a35a(0x312)];if(this['clamp'](),_0x37ee1f%0x4)for(var _0x5e9d90=0x0;_0x5e9d90<_0x39472e;_0x5e9d90++){var _0x4fd010=_0x34abf0[_0x5e9d90>>>0x2]>>>0x18-_0x5e9d90%0x4*0x8&0xff;_0x2c82f4[_0x37ee1f+_0x5e9d90>>>0x2]|=_0x4fd010<<0x18-(_0x37ee1f+_0x5e9d90)%0x4*0x8;}else{for(var _0x4ba7fc=0x0;_0x4ba7fc<_0x39472e;_0x4ba7fc+=0x4)_0x2c82f4[_0x37ee1f+_0x4ba7fc>>>0x2]=_0x34abf0[_0x4ba7fc>>>0x2];}return this[_0x25a35a(0x312)]+=_0x39472e,this;},'clamp':function(){const _0x301473=_0x2abac2;var _0x5a5bea=this[_0x301473(0x142)],_0x4a7b0a=this['sigBytes'];_0x5a5bea[_0x4a7b0a>>>0x2]&=0xffffffff<<0x20-_0x4a7b0a%0x4*0x8,_0x5a5bea[_0x301473(0x325)]=_0xe209ff[_0x301473(0x373)](_0x4a7b0a/0x4);},'clone':function(){const _0x1d5ed4=_0x2abac2;var _0x5a067f=_0x40c930[_0x1d5ed4(0x53c)][_0x1d5ed4(0x46d)](this);return _0x5a067f[_0x1d5ed4(0x142)]=this[_0x1d5ed4(0x142)][_0x1d5ed4(0x423)](0x0),_0x5a067f;},'random':function(_0x37d753){const _0x21eb09=_0x2abac2;for(var _0x149128=[],_0x416a45=0x0;_0x416a45<_0x37d753;_0x416a45+=0x4)_0x149128[_0x21eb09(0x419)](_0x96ed67());return new _0x2b49c9['init'](_0x149128,_0x37d753);}}),_0x2bd911=_0x5f24ba[_0x2abac2(0x40e)]={},_0x2ccfdd=_0x2bd911[_0x2abac2(0x168)]={'stringify':function(_0x549404){const _0x133e4b=_0x2abac2;for(var _0xb3c8a0=_0x549404['words'],_0x47f75f=_0x549404[_0x133e4b(0x312)],_0x116399=[],_0x42d476=0x0;_0x42d476<_0x47f75f;_0x42d476++){var _0x5699b6=_0xb3c8a0[_0x42d476>>>0x2]>>>0x18-_0x42d476%0x4*0x8&0xff;_0x116399[_0x133e4b(0x419)]((_0x5699b6>>>0x4)[_0x133e4b(0x1b8)](0x10)),_0x116399['push']((_0x5699b6&0xf)['toString'](0x10));}return _0x116399[_0x133e4b(0x1ba)]('');},'parse':function(_0x5b286e){const _0x175579=_0x2abac2;for(var _0x877675=_0x5b286e[_0x175579(0x325)],_0x30119e=[],_0x290d3a=0x0;_0x290d3a<_0x877675;_0x290d3a+=0x2)_0x30119e[_0x290d3a>>>0x3]|=parseInt(_0x5b286e[_0x175579(0x4d8)](_0x290d3a,0x2),0x10)<<0x18-_0x290d3a%0x8*0x4;return new _0x2b49c9[(_0x175579(0x264))](_0x30119e,_0x877675/0x2);}},_0x3614ec=_0x2bd911['Latin1']={'stringify':function(_0x519778){const _0x1fd62f=_0x2abac2;for(var _0x1e570a=_0x519778[_0x1fd62f(0x142)],_0x4d1886=_0x519778[_0x1fd62f(0x312)],_0x310af3=[],_0x17f6bd=0x0;_0x17f6bd<_0x4d1886;_0x17f6bd++){var _0x579244=_0x1e570a[_0x17f6bd>>>0x2]>>>0x18-_0x17f6bd%0x4*0x8&0xff;_0x310af3[_0x1fd62f(0x419)](String[_0x1fd62f(0x427)](_0x579244));}return _0x310af3[_0x1fd62f(0x1ba)]('');},'parse':function(_0x2d4e95){const _0x4a3ed8=_0x2abac2;for(var _0x1535e9=_0x2d4e95[_0x4a3ed8(0x325)],_0x3483a8=[],_0x54b107=0x0;_0x54b107<_0x1535e9;_0x54b107++)_0x3483a8[_0x54b107>>>0x2]|=(_0x2d4e95[_0x4a3ed8(0x1e2)](_0x54b107)&0xff)<<0x18-_0x54b107%0x4*0x8;return new _0x2b49c9['init'](_0x3483a8,_0x1535e9);}},_0x643054=_0x2bd911['Utf8']={'stringify':function(_0x5ea095){const _0x2ddfa5=_0x2abac2;try{return decodeURIComponent(escape(_0x3614ec[_0x2ddfa5(0x2a3)](_0x5ea095)));}catch{throw new Error(_0x2ddfa5(0x4a1));}},'parse':function(_0x233fee){const _0x2bec91=_0x2abac2;return _0x3614ec[_0x2bec91(0x47a)](unescape(encodeURIComponent(_0x233fee)));}},_0x3ae358=_0x3611e0[_0x2abac2(0x2f3)]=_0x40c930['extend']({'reset':function(){const _0x4521e9=_0x2abac2;this[_0x4521e9(0x429)]=new _0x2b49c9['init'](),this[_0x4521e9(0x4d2)]=0x0;},'_append':function(_0x3d54c0){const _0x497172=_0x2abac2;typeof _0x3d54c0==_0x497172(0x303)&&(_0x3d54c0=_0x643054[_0x497172(0x47a)](_0x3d54c0)),this[_0x497172(0x429)][_0x497172(0x4e0)](_0x3d54c0),this[_0x497172(0x4d2)]+=_0x3d54c0[_0x497172(0x312)];},'_process':function(_0x22b603){const _0xe9c82b=_0x2abac2;var _0x4140cb,_0xcefefa=this[_0xe9c82b(0x429)],_0xa5cd34=_0xcefefa[_0xe9c82b(0x142)],_0x11db71=_0xcefefa[_0xe9c82b(0x312)],_0x19f38d=this[_0xe9c82b(0x314)],_0x56ec15=_0x19f38d*0x4,_0x1998e2=_0x11db71/_0x56ec15;_0x22b603?_0x1998e2=_0xe209ff['ceil'](_0x1998e2):_0x1998e2=_0xe209ff['max']((_0x1998e2|0x0)-this['_minBufferSize'],0x0);var _0x61cd42=_0x1998e2*_0x19f38d,_0x13bd35=_0xe209ff['min'](_0x61cd42*0x4,_0x11db71);if(_0x61cd42){for(var _0x1cc055=0x0;_0x1cc055<_0x61cd42;_0x1cc055+=_0x19f38d)this[_0xe9c82b(0x27b)](_0xa5cd34,_0x1cc055);_0x4140cb=_0xa5cd34[_0xe9c82b(0x47e)](0x0,_0x61cd42),_0xcefefa['sigBytes']-=_0x13bd35;}return new _0x2b49c9[(_0xe9c82b(0x264))](_0x4140cb,_0x13bd35);},'clone':function(){const _0x123775=_0x2abac2;var _0x52759e=_0x40c930['clone'][_0x123775(0x46d)](this);return _0x52759e['_data']=this['_data'][_0x123775(0x53c)](),_0x52759e;},'_minBufferSize':0x0});_0x3611e0[_0x2abac2(0x549)]=_0x3ae358[_0x2abac2(0x50f)]({'cfg':_0x40c930[_0x2abac2(0x50f)](),'init':function(_0x231a4f){const _0x9f05db=_0x2abac2;this[_0x9f05db(0x33d)]=this[_0x9f05db(0x33d)][_0x9f05db(0x50f)](_0x231a4f),this['reset']();},'reset':function(){const _0x420255=_0x2abac2;_0x3ae358[_0x420255(0x458)][_0x420255(0x46d)](this),this[_0x420255(0x20e)]();},'update':function(_0x1be58b){const _0x5816b5=_0x2abac2;return this[_0x5816b5(0x243)](_0x1be58b),this[_0x5816b5(0x4da)](),this;},'finalize':function(_0x37cd39){const _0x3938eb=_0x2abac2;_0x37cd39&&this[_0x3938eb(0x243)](_0x37cd39);var _0x8b0a11=this[_0x3938eb(0x268)]();return _0x8b0a11;},'blockSize':0x10,'_createHelper':function(_0x2c9f67){return function(_0x10000f,_0x49ec5d){const _0x358847=_0x466f;return new _0x2c9f67[(_0x358847(0x264))](_0x49ec5d)[_0x358847(0x3dd)](_0x10000f);};},'_createHmacHelper':function(_0x14fdc3){return function(_0x3690a3,_0x476f7c){const _0x56b9ea=_0x466f;return new _0x171803[(_0x56b9ea(0x52b))]['init'](_0x14fdc3,_0x476f7c)[_0x56b9ea(0x3dd)](_0x3690a3);};}});var _0x171803=_0x5f24ba[_0x2abac2(0x4c5)]={};return _0x5f24ba;}(Math);return _0x2e9e5d;}));}(Ft)),Ft[_0x2ee71b(0x354)];}var Vt={'exports':{}},Js;function Wi(){const _0x5baf70=_0x3238bf;return Js||(Js=0x1,function(_0x1fe998,_0x59d2e3){(function(_0x472074,_0x294481){const _0x253a3f=_0x466f;_0x1fe998[_0x253a3f(0x354)]=_0x294481(ue());}(Z,function(_0x2bfad1){const _0x485786=_0x466f;return(function(){const _0x3db4db=_0x466f;var _0x353865=_0x2bfad1,_0x412422=_0x353865['lib'],_0x2731fe=_0x412422[_0x3db4db(0x1dd)],_0x32e33f=_0x353865[_0x3db4db(0x40e)];_0x32e33f[_0x3db4db(0x47f)]={'stringify':function(_0x4c5c93){const _0x174c60=_0x3db4db;var _0x42f2a4=_0x4c5c93[_0x174c60(0x142)],_0x5c7956=_0x4c5c93['sigBytes'],_0x3fdbfe=this[_0x174c60(0x37b)];_0x4c5c93[_0x174c60(0x2bc)]();for(var _0xa5c0a7=[],_0x41757b=0x0;_0x41757b<_0x5c7956;_0x41757b+=0x3)for(var _0x131bf5=_0x42f2a4[_0x41757b>>>0x2]>>>0x18-_0x41757b%0x4*0x8&0xff,_0x112545=_0x42f2a4[_0x41757b+0x1>>>0x2]>>>0x18-(_0x41757b+0x1)%0x4*0x8&0xff,_0x212875=_0x42f2a4[_0x41757b+0x2>>>0x2]>>>0x18-(_0x41757b+0x2)%0x4*0x8&0xff,_0x1fc551=_0x131bf5<<0x10|_0x112545<<0x8|_0x212875,_0x4d8de8=0x0;_0x4d8de8<0x4&&_0x41757b+_0x4d8de8*0.75<_0x5c7956;_0x4d8de8++)_0xa5c0a7[_0x174c60(0x419)](_0x3fdbfe[_0x174c60(0x27c)](_0x1fc551>>>0x6*(0x3-_0x4d8de8)&0x3f));var _0x2a1904=_0x3fdbfe[_0x174c60(0x27c)](0x40);if(_0x2a1904){for(;_0xa5c0a7[_0x174c60(0x325)]%0x4;)_0xa5c0a7[_0x174c60(0x419)](_0x2a1904);}return _0xa5c0a7[_0x174c60(0x1ba)]('');},'parse':function(_0x112273){const _0x2abda3=_0x3db4db;var _0x2be146=_0x112273['length'],_0x1e3691=this[_0x2abda3(0x37b)],_0x39f8b8=this[_0x2abda3(0x3b1)];if(!_0x39f8b8){_0x39f8b8=this[_0x2abda3(0x3b1)]=[];for(var _0x3c5efb=0x0;_0x3c5efb<_0x1e3691[_0x2abda3(0x325)];_0x3c5efb++)_0x39f8b8[_0x1e3691['charCodeAt'](_0x3c5efb)]=_0x3c5efb;}var _0x28994b=_0x1e3691[_0x2abda3(0x27c)](0x40);if(_0x28994b){var _0x28401f=_0x112273[_0x2abda3(0x33e)](_0x28994b);_0x28401f!==-0x1&&(_0x2be146=_0x28401f);}return _0x367dcc(_0x112273,_0x2be146,_0x39f8b8);},'_map':_0x3db4db(0x4bf)};function _0x367dcc(_0x15d0a0,_0x84b50,_0x213f44){const _0x34ab84=_0x3db4db;for(var _0x5cb224=[],_0xbc23cf=0x0,_0x4800ae=0x0;_0x4800ae<_0x84b50;_0x4800ae++)if(_0x4800ae%0x4){var _0x55abc1=_0x213f44[_0x15d0a0[_0x34ab84(0x1e2)](_0x4800ae-0x1)]<<_0x4800ae%0x4*0x2,_0x2dba30=_0x213f44[_0x15d0a0[_0x34ab84(0x1e2)](_0x4800ae)]>>>0x6-_0x4800ae%0x4*0x2,_0x822295=_0x55abc1|_0x2dba30;_0x5cb224[_0xbc23cf>>>0x2]|=_0x822295<<0x18-_0xbc23cf%0x4*0x8,_0xbc23cf++;}return _0x2731fe['create'](_0x5cb224,_0xbc23cf);}}()),_0x2bfad1[_0x485786(0x40e)][_0x485786(0x47f)];}));}(Vt)),Vt[_0x5baf70(0x354)];}var Gt={'exports':{}},Zs;function Fa(){const _0x87de9f=_0x3238bf;return Zs||(Zs=0x1,function(_0x5e198a,_0x209e67){(function(_0x26a6e2,_0x29a81e){const _0x51466e=_0x466f;_0x5e198a[_0x51466e(0x354)]=_0x29a81e(ue());}(Z,function(_0x3117b9){const _0x5b3f3f=_0x466f;return function(_0x468543){const _0x54d3d6=_0x466f;var _0x3c08da=_0x3117b9,_0x18e7d9=_0x3c08da['lib'],_0x1b0128=_0x18e7d9['WordArray'],_0x3c8699=_0x18e7d9[_0x54d3d6(0x549)],_0x4529d5=_0x3c08da[_0x54d3d6(0x4c5)],_0x1dbc34=[];(function(){const _0x1f9b61=_0x54d3d6;for(var _0x228406=0x0;_0x228406<0x40;_0x228406++)_0x1dbc34[_0x228406]=_0x468543[_0x1f9b61(0x1d3)](_0x468543[_0x1f9b61(0x2c0)](_0x228406+0x1))*0x100000000|0x0;}());var _0x2c786d=_0x4529d5['MD5']=_0x3c8699[_0x54d3d6(0x50f)]({'_doReset':function(){const _0x17a546=_0x54d3d6;this[_0x17a546(0x508)]=new _0x1b0128[(_0x17a546(0x264))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x72249f,_0x2c04f5){const _0x2b6446=_0x54d3d6;for(var _0x41af15=0x0;_0x41af15<0x10;_0x41af15++){var _0x474aba=_0x2c04f5+_0x41af15,_0x37b22a=_0x72249f[_0x474aba];_0x72249f[_0x474aba]=(_0x37b22a<<0x8|_0x37b22a>>>0x18)&0xff00ff|(_0x37b22a<<0x18|_0x37b22a>>>0x8)&0xff00ff00;}var _0x1e0c8b=this[_0x2b6446(0x508)][_0x2b6446(0x142)],_0x3a4bfd=_0x72249f[_0x2c04f5+0x0],_0x2a9d55=_0x72249f[_0x2c04f5+0x1],_0x6c1e65=_0x72249f[_0x2c04f5+0x2],_0x2cf514=_0x72249f[_0x2c04f5+0x3],_0xaa717d=_0x72249f[_0x2c04f5+0x4],_0x2fa285=_0x72249f[_0x2c04f5+0x5],_0x366de7=_0x72249f[_0x2c04f5+0x6],_0x253f0c=_0x72249f[_0x2c04f5+0x7],_0x2b61d8=_0x72249f[_0x2c04f5+0x8],_0x492a1d=_0x72249f[_0x2c04f5+0x9],_0x4b369e=_0x72249f[_0x2c04f5+0xa],_0x1750ae=_0x72249f[_0x2c04f5+0xb],_0x31eea4=_0x72249f[_0x2c04f5+0xc],_0x1d422b=_0x72249f[_0x2c04f5+0xd],_0x39f822=_0x72249f[_0x2c04f5+0xe],_0x465f18=_0x72249f[_0x2c04f5+0xf],_0x50333b=_0x1e0c8b[0x0],_0x458721=_0x1e0c8b[0x1],_0x2a7071=_0x1e0c8b[0x2],_0x34bc7b=_0x1e0c8b[0x3];_0x50333b=_0x12ccbc(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x3a4bfd,0x7,_0x1dbc34[0x0]),_0x34bc7b=_0x12ccbc(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x2a9d55,0xc,_0x1dbc34[0x1]),_0x2a7071=_0x12ccbc(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x6c1e65,0x11,_0x1dbc34[0x2]),_0x458721=_0x12ccbc(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x2cf514,0x16,_0x1dbc34[0x3]),_0x50333b=_0x12ccbc(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0xaa717d,0x7,_0x1dbc34[0x4]),_0x34bc7b=_0x12ccbc(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x2fa285,0xc,_0x1dbc34[0x5]),_0x2a7071=_0x12ccbc(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x366de7,0x11,_0x1dbc34[0x6]),_0x458721=_0x12ccbc(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x253f0c,0x16,_0x1dbc34[0x7]),_0x50333b=_0x12ccbc(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x2b61d8,0x7,_0x1dbc34[0x8]),_0x34bc7b=_0x12ccbc(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x492a1d,0xc,_0x1dbc34[0x9]),_0x2a7071=_0x12ccbc(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x4b369e,0x11,_0x1dbc34[0xa]),_0x458721=_0x12ccbc(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x1750ae,0x16,_0x1dbc34[0xb]),_0x50333b=_0x12ccbc(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x31eea4,0x7,_0x1dbc34[0xc]),_0x34bc7b=_0x12ccbc(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x1d422b,0xc,_0x1dbc34[0xd]),_0x2a7071=_0x12ccbc(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x39f822,0x11,_0x1dbc34[0xe]),_0x458721=_0x12ccbc(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x465f18,0x16,_0x1dbc34[0xf]),_0x50333b=_0x1c5ccc(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x2a9d55,0x5,_0x1dbc34[0x10]),_0x34bc7b=_0x1c5ccc(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x366de7,0x9,_0x1dbc34[0x11]),_0x2a7071=_0x1c5ccc(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x1750ae,0xe,_0x1dbc34[0x12]),_0x458721=_0x1c5ccc(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x3a4bfd,0x14,_0x1dbc34[0x13]),_0x50333b=_0x1c5ccc(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x2fa285,0x5,_0x1dbc34[0x14]),_0x34bc7b=_0x1c5ccc(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x4b369e,0x9,_0x1dbc34[0x15]),_0x2a7071=_0x1c5ccc(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x465f18,0xe,_0x1dbc34[0x16]),_0x458721=_0x1c5ccc(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0xaa717d,0x14,_0x1dbc34[0x17]),_0x50333b=_0x1c5ccc(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x492a1d,0x5,_0x1dbc34[0x18]),_0x34bc7b=_0x1c5ccc(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x39f822,0x9,_0x1dbc34[0x19]),_0x2a7071=_0x1c5ccc(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x2cf514,0xe,_0x1dbc34[0x1a]),_0x458721=_0x1c5ccc(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x2b61d8,0x14,_0x1dbc34[0x1b]),_0x50333b=_0x1c5ccc(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x1d422b,0x5,_0x1dbc34[0x1c]),_0x34bc7b=_0x1c5ccc(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x6c1e65,0x9,_0x1dbc34[0x1d]),_0x2a7071=_0x1c5ccc(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x253f0c,0xe,_0x1dbc34[0x1e]),_0x458721=_0x1c5ccc(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x31eea4,0x14,_0x1dbc34[0x1f]),_0x50333b=_0x5c2190(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x2fa285,0x4,_0x1dbc34[0x20]),_0x34bc7b=_0x5c2190(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x2b61d8,0xb,_0x1dbc34[0x21]),_0x2a7071=_0x5c2190(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x1750ae,0x10,_0x1dbc34[0x22]),_0x458721=_0x5c2190(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x39f822,0x17,_0x1dbc34[0x23]),_0x50333b=_0x5c2190(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x2a9d55,0x4,_0x1dbc34[0x24]),_0x34bc7b=_0x5c2190(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0xaa717d,0xb,_0x1dbc34[0x25]),_0x2a7071=_0x5c2190(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x253f0c,0x10,_0x1dbc34[0x26]),_0x458721=_0x5c2190(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x4b369e,0x17,_0x1dbc34[0x27]),_0x50333b=_0x5c2190(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x1d422b,0x4,_0x1dbc34[0x28]),_0x34bc7b=_0x5c2190(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x3a4bfd,0xb,_0x1dbc34[0x29]),_0x2a7071=_0x5c2190(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x2cf514,0x10,_0x1dbc34[0x2a]),_0x458721=_0x5c2190(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x366de7,0x17,_0x1dbc34[0x2b]),_0x50333b=_0x5c2190(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x492a1d,0x4,_0x1dbc34[0x2c]),_0x34bc7b=_0x5c2190(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x31eea4,0xb,_0x1dbc34[0x2d]),_0x2a7071=_0x5c2190(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x465f18,0x10,_0x1dbc34[0x2e]),_0x458721=_0x5c2190(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x6c1e65,0x17,_0x1dbc34[0x2f]),_0x50333b=_0x24448d(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x3a4bfd,0x6,_0x1dbc34[0x30]),_0x34bc7b=_0x24448d(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x253f0c,0xa,_0x1dbc34[0x31]),_0x2a7071=_0x24448d(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x39f822,0xf,_0x1dbc34[0x32]),_0x458721=_0x24448d(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x2fa285,0x15,_0x1dbc34[0x33]),_0x50333b=_0x24448d(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x31eea4,0x6,_0x1dbc34[0x34]),_0x34bc7b=_0x24448d(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x2cf514,0xa,_0x1dbc34[0x35]),_0x2a7071=_0x24448d(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x4b369e,0xf,_0x1dbc34[0x36]),_0x458721=_0x24448d(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x2a9d55,0x15,_0x1dbc34[0x37]),_0x50333b=_0x24448d(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x2b61d8,0x6,_0x1dbc34[0x38]),_0x34bc7b=_0x24448d(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x465f18,0xa,_0x1dbc34[0x39]),_0x2a7071=_0x24448d(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x366de7,0xf,_0x1dbc34[0x3a]),_0x458721=_0x24448d(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x1d422b,0x15,_0x1dbc34[0x3b]),_0x50333b=_0x24448d(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0xaa717d,0x6,_0x1dbc34[0x3c]),_0x34bc7b=_0x24448d(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x1750ae,0xa,_0x1dbc34[0x3d]),_0x2a7071=_0x24448d(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x6c1e65,0xf,_0x1dbc34[0x3e]),_0x458721=_0x24448d(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x492a1d,0x15,_0x1dbc34[0x3f]),_0x1e0c8b[0x0]=_0x1e0c8b[0x0]+_0x50333b|0x0,_0x1e0c8b[0x1]=_0x1e0c8b[0x1]+_0x458721|0x0,_0x1e0c8b[0x2]=_0x1e0c8b[0x2]+_0x2a7071|0x0,_0x1e0c8b[0x3]=_0x1e0c8b[0x3]+_0x34bc7b|0x0;},'_doFinalize':function(){const _0x724757=_0x54d3d6;var _0x50ad11=this[_0x724757(0x429)],_0x5b54d7=_0x50ad11[_0x724757(0x142)],_0x2e55b2=this[_0x724757(0x4d2)]*0x8,_0x5da83e=_0x50ad11['sigBytes']*0x8;_0x5b54d7[_0x5da83e>>>0x5]|=0x80<<0x18-_0x5da83e%0x20;var _0x579b2e=_0x468543[_0x724757(0x3de)](_0x2e55b2/0x100000000),_0x5b926d=_0x2e55b2;_0x5b54d7[(_0x5da83e+0x40>>>0x9<<0x4)+0xf]=(_0x579b2e<<0x8|_0x579b2e>>>0x18)&0xff00ff|(_0x579b2e<<0x18|_0x579b2e>>>0x8)&0xff00ff00,_0x5b54d7[(_0x5da83e+0x40>>>0x9<<0x4)+0xe]=(_0x5b926d<<0x8|_0x5b926d>>>0x18)&0xff00ff|(_0x5b926d<<0x18|_0x5b926d>>>0x8)&0xff00ff00,_0x50ad11['sigBytes']=(_0x5b54d7[_0x724757(0x325)]+0x1)*0x4,this[_0x724757(0x4da)]();for(var _0x1470a7=this[_0x724757(0x508)],_0xa89df9=_0x1470a7['words'],_0x4b796d=0x0;_0x4b796d<0x4;_0x4b796d++){var _0x19c874=_0xa89df9[_0x4b796d];_0xa89df9[_0x4b796d]=(_0x19c874<<0x8|_0x19c874>>>0x18)&0xff00ff|(_0x19c874<<0x18|_0x19c874>>>0x8)&0xff00ff00;}return _0x1470a7;},'clone':function(){const _0x55558d=_0x54d3d6;var _0x315bb5=_0x3c8699[_0x55558d(0x53c)][_0x55558d(0x46d)](this);return _0x315bb5[_0x55558d(0x508)]=this[_0x55558d(0x508)][_0x55558d(0x53c)](),_0x315bb5;}});function _0x12ccbc(_0x503e3b,_0xb8a043,_0x53fc1a,_0x1fad00,_0x28b3c0,_0x593b1e,_0x3876a6){var _0x41c269=_0x503e3b+(_0xb8a043&_0x53fc1a|~_0xb8a043&_0x1fad00)+_0x28b3c0+_0x3876a6;return(_0x41c269<<_0x593b1e|_0x41c269>>>0x20-_0x593b1e)+_0xb8a043;}function _0x1c5ccc(_0x379400,_0x2165d4,_0x26a709,_0x55f37f,_0x5a072a,_0x10054c,_0x267af7){var _0x27034b=_0x379400+(_0x2165d4&_0x55f37f|_0x26a709&~_0x55f37f)+_0x5a072a+_0x267af7;return(_0x27034b<<_0x10054c|_0x27034b>>>0x20-_0x10054c)+_0x2165d4;}function _0x5c2190(_0x2062ee,_0x2ccf2c,_0x114b61,_0x35eeb1,_0x12273c,_0x287445,_0x117fb7){var _0x16ae09=_0x2062ee+(_0x2ccf2c^_0x114b61^_0x35eeb1)+_0x12273c+_0x117fb7;return(_0x16ae09<<_0x287445|_0x16ae09>>>0x20-_0x287445)+_0x2ccf2c;}function _0x24448d(_0x515df6,_0x453444,_0x161741,_0x18271c,_0x15cd9e,_0x4cb17e,_0x406298){var _0x54bd9f=_0x515df6+(_0x161741^(_0x453444|~_0x18271c))+_0x15cd9e+_0x406298;return(_0x54bd9f<<_0x4cb17e|_0x54bd9f>>>0x20-_0x4cb17e)+_0x453444;}_0x3c08da[_0x54d3d6(0x26a)]=_0x3c8699[_0x54d3d6(0x461)](_0x2c786d),_0x3c08da['HmacMD5']=_0x3c8699['_createHmacHelper'](_0x2c786d);}(Math),_0x3117b9[_0x5b3f3f(0x26a)];}));}(Gt)),Gt[_0x87de9f(0x354)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function Va(){const _0x43c762=_0x3238bf;return Qs||(Qs=0x1,function(_0x32244a,_0x123fbe){(function(_0x594e72,_0x11605a){_0x32244a['exports']=_0x11605a(ue());}(Z,function(_0x12672d){return(function(){const _0x3447ac=_0x466f;var _0x154431=_0x12672d,_0x20d8a8=_0x154431[_0x3447ac(0x187)],_0x17186b=_0x20d8a8[_0x3447ac(0x1dd)],_0x2e6515=_0x20d8a8['Hasher'],_0x1cd484=_0x154431[_0x3447ac(0x4c5)],_0x469684=[],_0x60e561=_0x1cd484[_0x3447ac(0x528)]=_0x2e6515['extend']({'_doReset':function(){const _0x4e7655=_0x3447ac;this[_0x4e7655(0x508)]=new _0x17186b[(_0x4e7655(0x264))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x493905,_0x19fe03){const _0x50f82e=_0x3447ac;for(var _0x1de9ae=this[_0x50f82e(0x508)][_0x50f82e(0x142)],_0x56a5e9=_0x1de9ae[0x0],_0x11e208=_0x1de9ae[0x1],_0x4aafe5=_0x1de9ae[0x2],_0x25531f=_0x1de9ae[0x3],_0xf34e67=_0x1de9ae[0x4],_0x59cc18=0x0;_0x59cc18<0x50;_0x59cc18++){if(_0x59cc18<0x10)_0x469684[_0x59cc18]=_0x493905[_0x19fe03+_0x59cc18]|0x0;else{var _0x1e19c5=_0x469684[_0x59cc18-0x3]^_0x469684[_0x59cc18-0x8]^_0x469684[_0x59cc18-0xe]^_0x469684[_0x59cc18-0x10];_0x469684[_0x59cc18]=_0x1e19c5<<0x1|_0x1e19c5>>>0x1f;}var _0x4cbe15=(_0x56a5e9<<0x5|_0x56a5e9>>>0x1b)+_0xf34e67+_0x469684[_0x59cc18];_0x59cc18<0x14?_0x4cbe15+=(_0x11e208&_0x4aafe5|~_0x11e208&_0x25531f)+0x5a827999:_0x59cc18<0x28?_0x4cbe15+=(_0x11e208^_0x4aafe5^_0x25531f)+0x6ed9eba1:_0x59cc18<0x3c?_0x4cbe15+=(_0x11e208&_0x4aafe5|_0x11e208&_0x25531f|_0x4aafe5&_0x25531f)-0x70e44324:_0x4cbe15+=(_0x11e208^_0x4aafe5^_0x25531f)-0x359d3e2a,_0xf34e67=_0x25531f,_0x25531f=_0x4aafe5,_0x4aafe5=_0x11e208<<0x1e|_0x11e208>>>0x2,_0x11e208=_0x56a5e9,_0x56a5e9=_0x4cbe15;}_0x1de9ae[0x0]=_0x1de9ae[0x0]+_0x56a5e9|0x0,_0x1de9ae[0x1]=_0x1de9ae[0x1]+_0x11e208|0x0,_0x1de9ae[0x2]=_0x1de9ae[0x2]+_0x4aafe5|0x0,_0x1de9ae[0x3]=_0x1de9ae[0x3]+_0x25531f|0x0,_0x1de9ae[0x4]=_0x1de9ae[0x4]+_0xf34e67|0x0;},'_doFinalize':function(){const _0x4648b8=_0x3447ac;var _0x23a9d6=this['_data'],_0x46b1d6=_0x23a9d6[_0x4648b8(0x142)],_0x2a7579=this['_nDataBytes']*0x8,_0x5dcfc2=_0x23a9d6[_0x4648b8(0x312)]*0x8;return _0x46b1d6[_0x5dcfc2>>>0x5]|=0x80<<0x18-_0x5dcfc2%0x20,_0x46b1d6[(_0x5dcfc2+0x40>>>0x9<<0x4)+0xe]=Math[_0x4648b8(0x3de)](_0x2a7579/0x100000000),_0x46b1d6[(_0x5dcfc2+0x40>>>0x9<<0x4)+0xf]=_0x2a7579,_0x23a9d6[_0x4648b8(0x312)]=_0x46b1d6['length']*0x4,this[_0x4648b8(0x4da)](),this[_0x4648b8(0x508)];},'clone':function(){const _0x332656=_0x3447ac;var _0x41b5ca=_0x2e6515[_0x332656(0x53c)][_0x332656(0x46d)](this);return _0x41b5ca[_0x332656(0x508)]=this[_0x332656(0x508)]['clone'](),_0x41b5ca;}});_0x154431[_0x3447ac(0x528)]=_0x2e6515['_createHelper'](_0x60e561),_0x154431[_0x3447ac(0x148)]=_0x2e6515[_0x3447ac(0x36d)](_0x60e561);}()),_0x12672d['SHA1'];}));}(Kt)),Kt[_0x43c762(0x354)];}var zt={'exports':{}},ei;function Ga(){return ei||(ei=0x1,function(_0x5cf573,_0x4e2728){(function(_0x4d58,_0x1c4eb6){const _0x29e628=_0x466f;_0x5cf573[_0x29e628(0x354)]=_0x1c4eb6(ue());}(Z,function(_0x3ddc3a){(function(){const _0x1013a4=_0x466f;var _0xe90d64=_0x3ddc3a,_0x5b1194=_0xe90d64['lib'],_0x401a5d=_0x5b1194[_0x1013a4(0x2f1)],_0x16516b=_0xe90d64[_0x1013a4(0x40e)],_0x54a5df=_0x16516b[_0x1013a4(0x521)],_0x365392=_0xe90d64['algo'];_0x365392[_0x1013a4(0x52b)]=_0x401a5d['extend']({'init':function(_0x5b65c7,_0x10fc39){const _0x59f8d8=_0x1013a4;_0x5b65c7=this[_0x59f8d8(0x531)]=new _0x5b65c7[(_0x59f8d8(0x264))](),typeof _0x10fc39==_0x59f8d8(0x303)&&(_0x10fc39=_0x54a5df[_0x59f8d8(0x47a)](_0x10fc39));var _0x131254=_0x5b65c7[_0x59f8d8(0x314)],_0x751fd4=_0x131254*0x4;_0x10fc39[_0x59f8d8(0x312)]>_0x751fd4&&(_0x10fc39=_0x5b65c7[_0x59f8d8(0x3dd)](_0x10fc39)),_0x10fc39[_0x59f8d8(0x2bc)]();for(var _0x41d2ae=this['_oKey']=_0x10fc39[_0x59f8d8(0x53c)](),_0x3e856c=this[_0x59f8d8(0x306)]=_0x10fc39[_0x59f8d8(0x53c)](),_0x366849=_0x41d2ae[_0x59f8d8(0x142)],_0x4497e7=_0x3e856c[_0x59f8d8(0x142)],_0x47df5b=0x0;_0x47df5b<_0x131254;_0x47df5b++)_0x366849[_0x47df5b]^=0x5c5c5c5c,_0x4497e7[_0x47df5b]^=0x36363636;_0x41d2ae[_0x59f8d8(0x312)]=_0x3e856c['sigBytes']=_0x751fd4,this[_0x59f8d8(0x458)]();},'reset':function(){const _0x257f2d=_0x1013a4;var _0x33cfcb=this[_0x257f2d(0x531)];_0x33cfcb['reset'](),_0x33cfcb[_0x257f2d(0x201)](this[_0x257f2d(0x306)]);},'update':function(_0x5d8f80){const _0x1a967d=_0x1013a4;return this[_0x1a967d(0x531)][_0x1a967d(0x201)](_0x5d8f80),this;},'finalize':function(_0x5bc7fa){const _0xf211d6=_0x1013a4;var _0x35e328=this['_hasher'],_0x58bdff=_0x35e328['finalize'](_0x5bc7fa);_0x35e328[_0xf211d6(0x458)]();var _0x370bf5=_0x35e328[_0xf211d6(0x3dd)](this[_0xf211d6(0x299)][_0xf211d6(0x53c)]()[_0xf211d6(0x4e0)](_0x58bdff));return _0x370bf5;}});}());}));}(zt)),zt['exports'];}var ti;function Fi(){const _0x3d361e=_0x3238bf;return ti||(ti=0x1,function(_0x820735,_0x21a167){(function(_0x2ce33e,_0x126b09,_0x291c4b){const _0x2aa5d0=_0x466f;_0x820735[_0x2aa5d0(0x354)]=_0x126b09(ue(),Va(),Ga());}(Z,function(_0x2219fa){return(function(){const _0xf35234=_0x466f;var _0x1b4554=_0x2219fa,_0x40e614=_0x1b4554[_0xf35234(0x187)],_0x50077d=_0x40e614[_0xf35234(0x2f1)],_0x2ff556=_0x40e614[_0xf35234(0x1dd)],_0x2917bb=_0x1b4554[_0xf35234(0x4c5)],_0x47a90d=_0x2917bb[_0xf35234(0x26a)],_0x2858fa=_0x2917bb[_0xf35234(0x32b)]=_0x50077d[_0xf35234(0x50f)]({'cfg':_0x50077d['extend']({'keySize':0x80/0x20,'hasher':_0x47a90d,'iterations':0x1}),'init':function(_0x4439c0){const _0x3c5b3d=_0xf35234;this[_0x3c5b3d(0x33d)]=this[_0x3c5b3d(0x33d)][_0x3c5b3d(0x50f)](_0x4439c0);},'compute':function(_0x26f3df,_0x1959ff){const _0x4bf300=_0xf35234;for(var _0x47c79d,_0x2e96e3=this['cfg'],_0x2fdc48=_0x2e96e3[_0x4bf300(0x230)]['create'](),_0x436100=_0x2ff556[_0x4bf300(0x371)](),_0x4bb5c2=_0x436100['words'],_0x34c81a=_0x2e96e3[_0x4bf300(0x4fc)],_0x4cf154=_0x2e96e3[_0x4bf300(0x3c6)];_0x4bb5c2[_0x4bf300(0x325)]<_0x34c81a;){_0x47c79d&&_0x2fdc48[_0x4bf300(0x201)](_0x47c79d),_0x47c79d=_0x2fdc48[_0x4bf300(0x201)](_0x26f3df)[_0x4bf300(0x3dd)](_0x1959ff),_0x2fdc48[_0x4bf300(0x458)]();for(var _0x49b123=0x1;_0x49b123<_0x4cf154;_0x49b123++)_0x47c79d=_0x2fdc48[_0x4bf300(0x3dd)](_0x47c79d),_0x2fdc48['reset']();_0x436100[_0x4bf300(0x4e0)](_0x47c79d);}return _0x436100[_0x4bf300(0x312)]=_0x34c81a*0x4,_0x436100;}});_0x1b4554['EvpKDF']=function(_0x5695d9,_0x315e08,_0x1c6d98){const _0x11d04f=_0xf35234;return _0x2858fa[_0x11d04f(0x371)](_0x1c6d98)[_0x11d04f(0x541)](_0x5695d9,_0x315e08);};}()),_0x2219fa['EvpKDF'];}));}(Yt)),Yt[_0x3d361e(0x354)];}var qt={'exports':{}},si;function Vi(){return si||(si=0x1,function(_0x190203,_0x38f599){(function(_0x4edaea,_0x4e6933,_0x229aca){const _0x1aa9e2=_0x466f;_0x190203[_0x1aa9e2(0x354)]=_0x4e6933(ue(),Fi());}(Z,function(_0x2d005e){const _0x4eb674=_0x466f;_0x2d005e[_0x4eb674(0x187)]['Cipher']||function(_0x52c5c0){const _0xe4786c=_0x4eb674;var _0xd38f=_0x2d005e,_0x286c13=_0xd38f[_0xe4786c(0x187)],_0x37d063=_0x286c13[_0xe4786c(0x2f1)],_0x80e619=_0x286c13['WordArray'],_0x4c8ac4=_0x286c13['BufferedBlockAlgorithm'],_0x1574dd=_0xd38f[_0xe4786c(0x40e)];_0x1574dd['Utf8'];var _0x1dbca0=_0x1574dd[_0xe4786c(0x47f)],_0x560805=_0xd38f['algo'],_0x2b51d1=_0x560805['EvpKDF'],_0x2836e6=_0x286c13[_0xe4786c(0x55a)]=_0x4c8ac4[_0xe4786c(0x50f)]({'cfg':_0x37d063[_0xe4786c(0x50f)](),'createEncryptor':function(_0x5e5350,_0x298bed){const _0x85fc14=_0xe4786c;return this[_0x85fc14(0x371)](this[_0x85fc14(0x279)],_0x5e5350,_0x298bed);},'createDecryptor':function(_0x5bdf5a,_0x113c83){const _0x3ca26f=_0xe4786c;return this[_0x3ca26f(0x371)](this[_0x3ca26f(0x1a5)],_0x5bdf5a,_0x113c83);},'init':function(_0x24eb89,_0xbb6b38,_0x5a02f2){const _0x599038=_0xe4786c;this[_0x599038(0x33d)]=this[_0x599038(0x33d)][_0x599038(0x50f)](_0x5a02f2),this[_0x599038(0x198)]=_0x24eb89,this[_0x599038(0x455)]=_0xbb6b38,this[_0x599038(0x458)]();},'reset':function(){const _0x3c6992=_0xe4786c;_0x4c8ac4[_0x3c6992(0x458)]['call'](this),this[_0x3c6992(0x20e)]();},'process':function(_0x2a5377){const _0x37de60=_0xe4786c;return this['_append'](_0x2a5377),this[_0x37de60(0x4da)]();},'finalize':function(_0x2774da){const _0x2d349a=_0xe4786c;_0x2774da&&this[_0x2d349a(0x243)](_0x2774da);var _0x5084dc=this['_doFinalize']();return _0x5084dc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5f551d(_0x47ceb9){const _0x45421b=_0x466f;return typeof _0x47ceb9==_0x45421b(0x303)?_0x558b35:_0x21446e;}return function(_0x12a6c7){return{'encrypt':function(_0x201a77,_0x57899b,_0x309414){const _0x2ad230=_0x466f;return _0x5f551d(_0x57899b)[_0x2ad230(0x53d)](_0x12a6c7,_0x201a77,_0x57899b,_0x309414);},'decrypt':function(_0x27aa3b,_0x347e3c,_0x5dc0aa){const _0x4a8cba=_0x466f;return _0x5f551d(_0x347e3c)[_0x4a8cba(0x4c7)](_0x12a6c7,_0x27aa3b,_0x347e3c,_0x5dc0aa);}};};}())});_0x286c13[_0xe4786c(0x1ac)]=_0x2836e6[_0xe4786c(0x50f)]({'_doFinalize':function(){var _0x20a669=this['_process'](!0x0);return _0x20a669;},'blockSize':0x1});var _0xb8ba78=_0xd38f[_0xe4786c(0x39b)]={},_0x4f1020=_0x286c13['BlockCipherMode']=_0x37d063['extend']({'createEncryptor':function(_0x5945ba,_0x5ab46f){const _0xc98c02=_0xe4786c;return this['Encryptor'][_0xc98c02(0x371)](_0x5945ba,_0x5ab46f);},'createDecryptor':function(_0x1d74d8,_0x559390){const _0x155f2f=_0xe4786c;return this[_0x155f2f(0x245)][_0x155f2f(0x371)](_0x1d74d8,_0x559390);},'init':function(_0x129f94,_0x3d587b){const _0x4de820=_0xe4786c;this['_cipher']=_0x129f94,this[_0x4de820(0x3ba)]=_0x3d587b;}}),_0x3acf8f=_0xb8ba78['CBC']=(function(){const _0x586cbc=_0xe4786c;var _0x5cefe6=_0x4f1020[_0x586cbc(0x50f)]();_0x5cefe6[_0x586cbc(0x1f4)]=_0x5cefe6[_0x586cbc(0x50f)]({'processBlock':function(_0x1767ce,_0x43eabb){const _0x275155=_0x586cbc;var _0x15d801=this[_0x275155(0x2fd)],_0x524154=_0x15d801['blockSize'];_0xb1adb8[_0x275155(0x46d)](this,_0x1767ce,_0x43eabb,_0x524154),_0x15d801[_0x275155(0x557)](_0x1767ce,_0x43eabb),this[_0x275155(0x277)]=_0x1767ce[_0x275155(0x423)](_0x43eabb,_0x43eabb+_0x524154);}}),_0x5cefe6[_0x586cbc(0x245)]=_0x5cefe6[_0x586cbc(0x50f)]({'processBlock':function(_0x3c6543,_0x1a2e30){const _0x529deb=_0x586cbc;var _0x301997=this[_0x529deb(0x2fd)],_0x4ccada=_0x301997['blockSize'],_0x3b5f34=_0x3c6543[_0x529deb(0x423)](_0x1a2e30,_0x1a2e30+_0x4ccada);_0x301997[_0x529deb(0x42b)](_0x3c6543,_0x1a2e30),_0xb1adb8[_0x529deb(0x46d)](this,_0x3c6543,_0x1a2e30,_0x4ccada),this[_0x529deb(0x277)]=_0x3b5f34;}});function _0xb1adb8(_0x552025,_0x485af3,_0x54cd47){const _0x58cfca=_0x586cbc;var _0x35a6ff,_0x403e4f=this[_0x58cfca(0x3ba)];_0x403e4f?(_0x35a6ff=_0x403e4f,this['_iv']=_0x52c5c0):_0x35a6ff=this[_0x58cfca(0x277)];for(var _0x34b4ef=0x0;_0x34b4ef<_0x54cd47;_0x34b4ef++)_0x552025[_0x485af3+_0x34b4ef]^=_0x35a6ff[_0x34b4ef];}return _0x5cefe6;}()),_0x1f0f23=_0xd38f[_0xe4786c(0x197)]={},_0x525289=_0x1f0f23[_0xe4786c(0x1fe)]={'pad':function(_0x33bd9e,_0x3c1158){const _0x184ac5=_0xe4786c;for(var _0x1e58a1=_0x3c1158*0x4,_0x4a74f8=_0x1e58a1-_0x33bd9e['sigBytes']%_0x1e58a1,_0xfc153a=_0x4a74f8<<0x18|_0x4a74f8<<0x10|_0x4a74f8<<0x8|_0x4a74f8,_0xad4593=[],_0x3c379f=0x0;_0x3c379f<_0x4a74f8;_0x3c379f+=0x4)_0xad4593[_0x184ac5(0x419)](_0xfc153a);var _0x4c89d4=_0x80e619[_0x184ac5(0x371)](_0xad4593,_0x4a74f8);_0x33bd9e[_0x184ac5(0x4e0)](_0x4c89d4);},'unpad':function(_0x175c82){const _0xca3943=_0xe4786c;var _0x2904d3=_0x175c82[_0xca3943(0x142)][_0x175c82[_0xca3943(0x312)]-0x1>>>0x2]&0xff;_0x175c82[_0xca3943(0x312)]-=_0x2904d3;}};_0x286c13[_0xe4786c(0x4bb)]=_0x2836e6[_0xe4786c(0x50f)]({'cfg':_0x2836e6['cfg'][_0xe4786c(0x50f)]({'mode':_0x3acf8f,'padding':_0x525289}),'reset':function(){const _0x4aa4ba=_0xe4786c;var _0xce17e4;_0x2836e6[_0x4aa4ba(0x458)][_0x4aa4ba(0x46d)](this);var _0x110f11=this[_0x4aa4ba(0x33d)],_0x411357=_0x110f11['iv'],_0x2741c9=_0x110f11[_0x4aa4ba(0x39b)];this[_0x4aa4ba(0x198)]==this[_0x4aa4ba(0x279)]?_0xce17e4=_0x2741c9[_0x4aa4ba(0x3c5)]:(_0xce17e4=_0x2741c9['createDecryptor'],this[_0x4aa4ba(0x1cd)]=0x1),this['_mode']&&this['_mode']['__creator']==_0xce17e4?this[_0x4aa4ba(0x2b2)][_0x4aa4ba(0x264)](this,_0x411357&&_0x411357[_0x4aa4ba(0x142)]):(this[_0x4aa4ba(0x2b2)]=_0xce17e4[_0x4aa4ba(0x46d)](_0x2741c9,this,_0x411357&&_0x411357[_0x4aa4ba(0x142)]),this['_mode'][_0x4aa4ba(0x4ed)]=_0xce17e4);},'_doProcessBlock':function(_0x14bba8,_0x2aad05){const _0x182a37=_0xe4786c;this['_mode'][_0x182a37(0x305)](_0x14bba8,_0x2aad05);},'_doFinalize':function(){const _0x55e15c=_0xe4786c;var _0x350f25,_0x55055a=this[_0x55e15c(0x33d)][_0x55e15c(0x34e)];return this[_0x55e15c(0x198)]==this['_ENC_XFORM_MODE']?(_0x55055a[_0x55e15c(0x197)](this[_0x55e15c(0x429)],this[_0x55e15c(0x314)]),_0x350f25=this['_process'](!0x0)):(_0x350f25=this[_0x55e15c(0x4da)](!0x0),_0x55055a[_0x55e15c(0x37d)](_0x350f25)),_0x350f25;},'blockSize':0x80/0x20});var _0x151ba0=_0x286c13[_0xe4786c(0x476)]=_0x37d063[_0xe4786c(0x50f)]({'init':function(_0xf1b493){const _0x7b3925=_0xe4786c;this[_0x7b3925(0x233)](_0xf1b493);},'toString':function(_0x332e2a){const _0x2b7b90=_0xe4786c;return(_0x332e2a||this['formatter'])[_0x2b7b90(0x2a3)](this);}}),_0x56b001=_0xd38f[_0xe4786c(0x2ad)]={},_0xc7b3f1=_0x56b001[_0xe4786c(0x480)]={'stringify':function(_0x12c66c){const _0x42dd=_0xe4786c;var _0x18f5c0,_0x3fa6ca=_0x12c66c['ciphertext'],_0x3195fd=_0x12c66c[_0x42dd(0x410)];return _0x3195fd?_0x18f5c0=_0x80e619['create']([0x53616c74,0x65645f5f])[_0x42dd(0x4e0)](_0x3195fd)['concat'](_0x3fa6ca):_0x18f5c0=_0x3fa6ca,_0x18f5c0[_0x42dd(0x1b8)](_0x1dbca0);},'parse':function(_0x412283){const _0xcf10=_0xe4786c;var _0x218df2,_0x463d09=_0x1dbca0[_0xcf10(0x47a)](_0x412283),_0x712c44=_0x463d09[_0xcf10(0x142)];return _0x712c44[0x0]==0x53616c74&&_0x712c44[0x1]==0x65645f5f&&(_0x218df2=_0x80e619['create'](_0x712c44[_0xcf10(0x423)](0x2,0x4)),_0x712c44['splice'](0x0,0x4),_0x463d09['sigBytes']-=0x10),_0x151ba0[_0xcf10(0x371)]({'ciphertext':_0x463d09,'salt':_0x218df2});}},_0x21446e=_0x286c13[_0xe4786c(0x4c4)]=_0x37d063[_0xe4786c(0x50f)]({'cfg':_0x37d063[_0xe4786c(0x50f)]({'format':_0xc7b3f1}),'encrypt':function(_0x37c297,_0x9e666a,_0x35a951,_0x4d2066){const _0x25d5ef=_0xe4786c;_0x4d2066=this['cfg'][_0x25d5ef(0x50f)](_0x4d2066);var _0x5c0bf0=_0x37c297[_0x25d5ef(0x3c5)](_0x35a951,_0x4d2066),_0x869550=_0x5c0bf0[_0x25d5ef(0x3dd)](_0x9e666a),_0x5665e9=_0x5c0bf0['cfg'];return _0x151ba0[_0x25d5ef(0x371)]({'ciphertext':_0x869550,'key':_0x35a951,'iv':_0x5665e9['iv'],'algorithm':_0x37c297,'mode':_0x5665e9[_0x25d5ef(0x39b)],'padding':_0x5665e9['padding'],'blockSize':_0x37c297[_0x25d5ef(0x314)],'formatter':_0x4d2066[_0x25d5ef(0x2ad)]});},'decrypt':function(_0x2e69ca,_0x4ae1ad,_0x3dfbe3,_0x2143e0){const _0xd80a64=_0xe4786c;_0x2143e0=this[_0xd80a64(0x33d)][_0xd80a64(0x50f)](_0x2143e0),_0x4ae1ad=this['_parse'](_0x4ae1ad,_0x2143e0['format']);var _0x6cb358=_0x2e69ca[_0xd80a64(0x4b6)](_0x3dfbe3,_0x2143e0)[_0xd80a64(0x3dd)](_0x4ae1ad[_0xd80a64(0x3db)]);return _0x6cb358;},'_parse':function(_0x39ec88,_0x559430){const _0x2d189d=_0xe4786c;return typeof _0x39ec88=='string'?_0x559430[_0x2d189d(0x47a)](_0x39ec88,this):_0x39ec88;}}),_0x14cae4=_0xd38f[_0xe4786c(0x503)]={},_0x3fd4e2=_0x14cae4[_0xe4786c(0x480)]={'execute':function(_0x5227c1,_0x476991,_0x503614,_0x2ce12e,_0x418650){const _0x57b88b=_0xe4786c;if(_0x2ce12e||(_0x2ce12e=_0x80e619['random'](0x40/0x8)),_0x418650)var _0x36b983=_0x2b51d1[_0x57b88b(0x371)]({'keySize':_0x476991+_0x503614,'hasher':_0x418650})[_0x57b88b(0x541)](_0x5227c1,_0x2ce12e);else var _0x36b983=_0x2b51d1[_0x57b88b(0x371)]({'keySize':_0x476991+_0x503614})['compute'](_0x5227c1,_0x2ce12e);var _0xc34760=_0x80e619[_0x57b88b(0x371)](_0x36b983[_0x57b88b(0x142)]['slice'](_0x476991),_0x503614*0x4);return _0x36b983[_0x57b88b(0x312)]=_0x476991*0x4,_0x151ba0[_0x57b88b(0x371)]({'key':_0x36b983,'iv':_0xc34760,'salt':_0x2ce12e});}},_0x558b35=_0x286c13[_0xe4786c(0x392)]=_0x21446e['extend']({'cfg':_0x21446e[_0xe4786c(0x33d)][_0xe4786c(0x50f)]({'kdf':_0x3fd4e2}),'encrypt':function(_0x3b7448,_0x1f2bec,_0x54b7a3,_0x515e57){const _0x327c0b=_0xe4786c;_0x515e57=this[_0x327c0b(0x33d)][_0x327c0b(0x50f)](_0x515e57);var _0x5af483=_0x515e57[_0x327c0b(0x503)][_0x327c0b(0x49e)](_0x54b7a3,_0x3b7448[_0x327c0b(0x4fc)],_0x3b7448[_0x327c0b(0x154)],_0x515e57['salt'],_0x515e57[_0x327c0b(0x230)]);_0x515e57['iv']=_0x5af483['iv'];var _0x4b80d4=_0x21446e[_0x327c0b(0x53d)][_0x327c0b(0x46d)](this,_0x3b7448,_0x1f2bec,_0x5af483[_0x327c0b(0x360)],_0x515e57);return _0x4b80d4['mixIn'](_0x5af483),_0x4b80d4;},'decrypt':function(_0x2785cc,_0x2877b3,_0x4b7d08,_0x4c468f){const _0x46639c=_0xe4786c;_0x4c468f=this['cfg'][_0x46639c(0x50f)](_0x4c468f),_0x2877b3=this['_parse'](_0x2877b3,_0x4c468f['format']);var _0x505fca=_0x4c468f['kdf'][_0x46639c(0x49e)](_0x4b7d08,_0x2785cc['keySize'],_0x2785cc['ivSize'],_0x2877b3['salt'],_0x4c468f[_0x46639c(0x230)]);_0x4c468f['iv']=_0x505fca['iv'];var _0x2fd20f=_0x21446e[_0x46639c(0x4c7)][_0x46639c(0x46d)](this,_0x2785cc,_0x2877b3,_0x505fca[_0x46639c(0x360)],_0x4c468f);return _0x2fd20f;}});}();}));}(qt)),qt['exports'];}(function(_0x3d6031,_0xd0545b){(function(_0xfe9c55,_0x25008b,_0x135dfc){const _0x10b4c1=_0x466f;_0x3d6031[_0x10b4c1(0x354)]=_0x25008b(ue(),Wi(),Fa(),Fi(),Vi());}(Z,function(_0x27a610){return(function(){const _0x575e50=_0x466f;var _0x1c165e=_0x27a610,_0x146545=_0x1c165e[_0x575e50(0x187)],_0x17b317=_0x146545[_0x575e50(0x4bb)],_0x46b6b2=_0x1c165e[_0x575e50(0x4c5)],_0x3880a9=[],_0x2ce975=[],_0x16d951=[],_0x4fb7a9=[],_0x290784=[],_0x1a1f44=[],_0x202381=[],_0x281043=[],_0x3199f0=[],_0x2e3178=[];(function(){for(var _0x3a2bb9=[],_0xbf4a46=0x0;_0xbf4a46<0x100;_0xbf4a46++)_0xbf4a46<0x80?_0x3a2bb9[_0xbf4a46]=_0xbf4a46<<0x1:_0x3a2bb9[_0xbf4a46]=_0xbf4a46<<0x1^0x11b;for(var _0x752536=0x0,_0x516886=0x0,_0xbf4a46=0x0;_0xbf4a46<0x100;_0xbf4a46++){var _0x490042=_0x516886^_0x516886<<0x1^_0x516886<<0x2^_0x516886<<0x3^_0x516886<<0x4;_0x490042=_0x490042>>>0x8^_0x490042&0xff^0x63,_0x3880a9[_0x752536]=_0x490042,_0x2ce975[_0x490042]=_0x752536;var _0x434eeb=_0x3a2bb9[_0x752536],_0x5c19f8=_0x3a2bb9[_0x434eeb],_0x91afa2=_0x3a2bb9[_0x5c19f8],_0x12d6fa=_0x3a2bb9[_0x490042]*0x101^_0x490042*0x1010100;_0x16d951[_0x752536]=_0x12d6fa<<0x18|_0x12d6fa>>>0x8,_0x4fb7a9[_0x752536]=_0x12d6fa<<0x10|_0x12d6fa>>>0x10,_0x290784[_0x752536]=_0x12d6fa<<0x8|_0x12d6fa>>>0x18,_0x1a1f44[_0x752536]=_0x12d6fa;var _0x12d6fa=_0x91afa2*0x1010101^_0x5c19f8*0x10001^_0x434eeb*0x101^_0x752536*0x1010100;_0x202381[_0x490042]=_0x12d6fa<<0x18|_0x12d6fa>>>0x8,_0x281043[_0x490042]=_0x12d6fa<<0x10|_0x12d6fa>>>0x10,_0x3199f0[_0x490042]=_0x12d6fa<<0x8|_0x12d6fa>>>0x18,_0x2e3178[_0x490042]=_0x12d6fa,_0x752536?(_0x752536=_0x434eeb^_0x3a2bb9[_0x3a2bb9[_0x3a2bb9[_0x91afa2^_0x434eeb]]],_0x516886^=_0x3a2bb9[_0x3a2bb9[_0x516886]]):_0x752536=_0x516886=0x1;}}());var _0x4dc3db=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x362fb8=_0x46b6b2[_0x575e50(0x2ec)]=_0x17b317[_0x575e50(0x50f)]({'_doReset':function(){const _0x87dd1d=_0x575e50;var _0x34850f;if(!(this[_0x87dd1d(0x3f0)]&&this['_keyPriorReset']===this[_0x87dd1d(0x455)])){for(var _0x1ae372=this[_0x87dd1d(0x249)]=this['_key'],_0x560e8c=_0x1ae372[_0x87dd1d(0x142)],_0x592d41=_0x1ae372[_0x87dd1d(0x312)]/0x4,_0x3c6ccc=this[_0x87dd1d(0x3f0)]=_0x592d41+0x6,_0x22c270=(_0x3c6ccc+0x1)*0x4,_0x6efa=this['_keySchedule']=[],_0x2498df=0x0;_0x2498df<_0x22c270;_0x2498df++)_0x2498df<_0x592d41?_0x6efa[_0x2498df]=_0x560e8c[_0x2498df]:(_0x34850f=_0x6efa[_0x2498df-0x1],_0x2498df%_0x592d41?_0x592d41>0x6&&_0x2498df%_0x592d41==0x4&&(_0x34850f=_0x3880a9[_0x34850f>>>0x18]<<0x18|_0x3880a9[_0x34850f>>>0x10&0xff]<<0x10|_0x3880a9[_0x34850f>>>0x8&0xff]<<0x8|_0x3880a9[_0x34850f&0xff]):(_0x34850f=_0x34850f<<0x8|_0x34850f>>>0x18,_0x34850f=_0x3880a9[_0x34850f>>>0x18]<<0x18|_0x3880a9[_0x34850f>>>0x10&0xff]<<0x10|_0x3880a9[_0x34850f>>>0x8&0xff]<<0x8|_0x3880a9[_0x34850f&0xff],_0x34850f^=_0x4dc3db[_0x2498df/_0x592d41|0x0]<<0x18),_0x6efa[_0x2498df]=_0x6efa[_0x2498df-_0x592d41]^_0x34850f);for(var _0x1b2a83=this[_0x87dd1d(0x345)]=[],_0x1b24f0=0x0;_0x1b24f0<_0x22c270;_0x1b24f0++){var _0x2498df=_0x22c270-_0x1b24f0;if(_0x1b24f0%0x4)var _0x34850f=_0x6efa[_0x2498df];else var _0x34850f=_0x6efa[_0x2498df-0x4];_0x1b24f0<0x4||_0x2498df<=0x4?_0x1b2a83[_0x1b24f0]=_0x34850f:_0x1b2a83[_0x1b24f0]=_0x202381[_0x3880a9[_0x34850f>>>0x18]]^_0x281043[_0x3880a9[_0x34850f>>>0x10&0xff]]^_0x3199f0[_0x3880a9[_0x34850f>>>0x8&0xff]]^_0x2e3178[_0x3880a9[_0x34850f&0xff]];}}},'encryptBlock':function(_0x3937ba,_0x253bc7){const _0x5e5b3d=_0x575e50;this['_doCryptBlock'](_0x3937ba,_0x253bc7,this[_0x5e5b3d(0x35c)],_0x16d951,_0x4fb7a9,_0x290784,_0x1a1f44,_0x3880a9);},'decryptBlock':function(_0xd598b,_0x27c907){const _0x2cb37d=_0x575e50;var _0x3953e5=_0xd598b[_0x27c907+0x1];_0xd598b[_0x27c907+0x1]=_0xd598b[_0x27c907+0x3],_0xd598b[_0x27c907+0x3]=_0x3953e5,this['_doCryptBlock'](_0xd598b,_0x27c907,this[_0x2cb37d(0x345)],_0x202381,_0x281043,_0x3199f0,_0x2e3178,_0x2ce975);var _0x3953e5=_0xd598b[_0x27c907+0x1];_0xd598b[_0x27c907+0x1]=_0xd598b[_0x27c907+0x3],_0xd598b[_0x27c907+0x3]=_0x3953e5;},'_doCryptBlock':function(_0x2b6873,_0x46b38b,_0x115f4f,_0x33546d,_0x14f3c6,_0x51cacc,_0x2f17fc,_0x1c6855){for(var _0x4c3eac=this['_nRounds'],_0x39aa34=_0x2b6873[_0x46b38b]^_0x115f4f[0x0],_0x16585b=_0x2b6873[_0x46b38b+0x1]^_0x115f4f[0x1],_0x5ea5ce=_0x2b6873[_0x46b38b+0x2]^_0x115f4f[0x2],_0x46f02a=_0x2b6873[_0x46b38b+0x3]^_0x115f4f[0x3],_0x210467=0x4,_0x3f4d8f=0x1;_0x3f4d8f<_0x4c3eac;_0x3f4d8f++){var _0x207a06=_0x33546d[_0x39aa34>>>0x18]^_0x14f3c6[_0x16585b>>>0x10&0xff]^_0x51cacc[_0x5ea5ce>>>0x8&0xff]^_0x2f17fc[_0x46f02a&0xff]^_0x115f4f[_0x210467++],_0x5f5bf9=_0x33546d[_0x16585b>>>0x18]^_0x14f3c6[_0x5ea5ce>>>0x10&0xff]^_0x51cacc[_0x46f02a>>>0x8&0xff]^_0x2f17fc[_0x39aa34&0xff]^_0x115f4f[_0x210467++],_0x236964=_0x33546d[_0x5ea5ce>>>0x18]^_0x14f3c6[_0x46f02a>>>0x10&0xff]^_0x51cacc[_0x39aa34>>>0x8&0xff]^_0x2f17fc[_0x16585b&0xff]^_0x115f4f[_0x210467++],_0x58bdb5=_0x33546d[_0x46f02a>>>0x18]^_0x14f3c6[_0x39aa34>>>0x10&0xff]^_0x51cacc[_0x16585b>>>0x8&0xff]^_0x2f17fc[_0x5ea5ce&0xff]^_0x115f4f[_0x210467++];_0x39aa34=_0x207a06,_0x16585b=_0x5f5bf9,_0x5ea5ce=_0x236964,_0x46f02a=_0x58bdb5;}var _0x207a06=(_0x1c6855[_0x39aa34>>>0x18]<<0x18|_0x1c6855[_0x16585b>>>0x10&0xff]<<0x10|_0x1c6855[_0x5ea5ce>>>0x8&0xff]<<0x8|_0x1c6855[_0x46f02a&0xff])^_0x115f4f[_0x210467++],_0x5f5bf9=(_0x1c6855[_0x16585b>>>0x18]<<0x18|_0x1c6855[_0x5ea5ce>>>0x10&0xff]<<0x10|_0x1c6855[_0x46f02a>>>0x8&0xff]<<0x8|_0x1c6855[_0x39aa34&0xff])^_0x115f4f[_0x210467++],_0x236964=(_0x1c6855[_0x5ea5ce>>>0x18]<<0x18|_0x1c6855[_0x46f02a>>>0x10&0xff]<<0x10|_0x1c6855[_0x39aa34>>>0x8&0xff]<<0x8|_0x1c6855[_0x16585b&0xff])^_0x115f4f[_0x210467++],_0x58bdb5=(_0x1c6855[_0x46f02a>>>0x18]<<0x18|_0x1c6855[_0x39aa34>>>0x10&0xff]<<0x10|_0x1c6855[_0x16585b>>>0x8&0xff]<<0x8|_0x1c6855[_0x5ea5ce&0xff])^_0x115f4f[_0x210467++];_0x2b6873[_0x46b38b]=_0x207a06,_0x2b6873[_0x46b38b+0x1]=_0x5f5bf9,_0x2b6873[_0x46b38b+0x2]=_0x236964,_0x2b6873[_0x46b38b+0x3]=_0x58bdb5;},'keySize':0x100/0x20});_0x1c165e[_0x575e50(0x2ec)]=_0x17b317[_0x575e50(0x461)](_0x362fb8);}()),_0x27a610['AES'];}));}(ki));var Ya=ki[_0x3238bf(0x354)];const Ka=at(Ya);var za=Wi();const ii=at(za);var Gi={'exports':{}};(function(_0x1cce08,_0x735157){(function(_0xcd9f10,_0x19a2d2){_0x1cce08['exports']=_0x19a2d2(ue());}(Z,function(_0x3fd78e){const _0x36024e=_0x466f;return _0x3fd78e['enc'][_0x36024e(0x521)];}));}(Gi));function _0x466f(_0x8f7df8,_0xba9bee){const _0x2abb9f=_0x2abb();return _0x466f=function(_0x466fed,_0x5492a4){_0x466fed=_0x466fed-0x13b;let _0x42bb38=_0x2abb9f[_0x466fed];return _0x42bb38;},_0x466f(_0x8f7df8,_0xba9bee);}var qa=Gi[_0x3238bf(0x354)];const Xa=at(qa);var Yi={'exports':{}};(function(_0xc70ecd,_0x152163){(function(_0x4c2123,_0x4224c2){_0xc70ecd['exports']=_0x4224c2(ue());}(Z,function(_0x2d30c7){const _0x27da03=_0x466f;return(function(){const _0x4c506b=_0x466f;if(typeof ArrayBuffer==_0x4c506b(0x16e)){var _0x43a789=_0x2d30c7,_0x5b18c6=_0x43a789[_0x4c506b(0x187)],_0xbcd4c5=_0x5b18c6[_0x4c506b(0x1dd)],_0x37e82b=_0xbcd4c5['init'],_0x513ec7=_0xbcd4c5[_0x4c506b(0x264)]=function(_0x4ee061){const _0xbeb3d=_0x4c506b;if(_0x4ee061 instanceof ArrayBuffer&&(_0x4ee061=new Uint8Array(_0x4ee061)),(_0x4ee061 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4ee061 instanceof Uint8ClampedArray||_0x4ee061 instanceof Int16Array||_0x4ee061 instanceof Uint16Array||_0x4ee061 instanceof Int32Array||_0x4ee061 instanceof Uint32Array||_0x4ee061 instanceof Float32Array||_0x4ee061 instanceof Float64Array)&&(_0x4ee061=new Uint8Array(_0x4ee061[_0xbeb3d(0x34d)],_0x4ee061[_0xbeb3d(0x43a)],_0x4ee061[_0xbeb3d(0x48f)])),_0x4ee061 instanceof Uint8Array){for(var _0x19a0b7=_0x4ee061['byteLength'],_0x5e4ac6=[],_0x546ee5=0x0;_0x546ee5<_0x19a0b7;_0x546ee5++)_0x5e4ac6[_0x546ee5>>>0x2]|=_0x4ee061[_0x546ee5]<<0x18-_0x546ee5%0x4*0x8;_0x37e82b[_0xbeb3d(0x46d)](this,_0x5e4ac6,_0x19a0b7);}else _0x37e82b[_0xbeb3d(0x4f9)](this,arguments);};_0x513ec7['prototype']=_0xbcd4c5;}}()),_0x2d30c7[_0x27da03(0x187)]['WordArray'];}));}(Yi));var Ja=Yi[_0x3238bf(0x354)];const Za=at(Ja);var Ki={'exports':{}};(function(_0x19ec63,_0x21f936){(function(_0x4fb919,_0x34bd37,_0x329c32){const _0x2254ab=_0x466f;_0x19ec63[_0x2254ab(0x354)]=_0x34bd37(ue(),Vi());}(Z,function(_0x31feec){const _0x5d472c=_0x466f;return _0x31feec[_0x5d472c(0x197)][_0x5d472c(0x1a8)]={'pad':function(){},'unpad':function(){}},_0x31feec[_0x5d472c(0x197)][_0x5d472c(0x1a8)];}));}(Ki));var Qa=Ki['exports'];const ec=at(Qa);function tc(_0x3a8539,_0x1a52c6){const _0x45fc79=_0x3238bf,_0x1f187d=_0x1a52c6-_0x3a8539[_0x45fc79(0x325)]%_0x1a52c6,_0x1cc98d=String['fromCharCode'](_0x1f187d)[_0x45fc79(0x4b9)](_0x1f187d);return _0x3a8539+_0x1cc98d;}function sc(_0x1d860e,_0x24a6d0){const _0x2f02c6=_0x3238bf,_0x5b2ecc=Za[_0x2f02c6(0x38b)](0x10),_0x526ccc=tc(_0x1d860e,0x10),_0x7711e8=Ka[_0x2f02c6(0x53d)](Xa['parse'](_0x526ccc),ii[_0x2f02c6(0x47a)](_0x24a6d0),{'iv':_0x5b2ecc,'padding':ec});return _0x5b2ecc['concat'](_0x7711e8[_0x2f02c6(0x3db)])[_0x2f02c6(0x1b8)](ii);}function ic(){const _0x52c8cc=_0x3238bf,_0xa00dcf=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x52c8cc(0x3ac)];if(_0xa00dcf){const _0x53f5fa={'time':Math[_0x52c8cc(0x3de)](Date['now']()/0x3e8),'domain':location['hostname']};return sc(JSON[_0x52c8cc(0x2a3)](_0x53f5fa),_0xa00dcf);}}var nc=Object['defineProperty'],rc=Object[_0x3238bf(0x2df)],oc=(_0x5b7873,_0x549494,_0x183123,_0x125113)=>{const _0x609fda=_0x3238bf;for(var _0x3f54b4=_0x125113>0x1?void 0x0:_0x125113?rc(_0x549494,_0x183123):_0x549494,_0x16e1fa=_0x5b7873[_0x609fda(0x325)]-0x1,_0x55dce0;_0x16e1fa>=0x0;_0x16e1fa--)(_0x55dce0=_0x5b7873[_0x16e1fa])&&(_0x3f54b4=(_0x125113?_0x55dce0(_0x549494,_0x183123,_0x3f54b4):_0x55dce0(_0x3f54b4))||_0x3f54b4);return _0x125113&&_0x3f54b4&&nc(_0x549494,_0x183123,_0x3f54b4),_0x3f54b4;},ac=(_0x2d1222,_0x4af13a)=>(_0x32d411,_0x345688)=>_0x4af13a(_0x32d411,_0x345688,_0x2d1222);let bt=class{constructor(_0xa7da66){const _0x20381c=_0x3238bf;this[_0x20381c(0x276)]=_0xa7da66,this['_initRequestHeader']();}['_initRequestHeader'](){const _0x23f59d=_0x3238bf;this[_0x23f59d(0x276)][_0x23f59d(0x351)]({'interceptor':(_0x26b28a,_0x4d7a7e)=>{const _0x24591b=_0x23f59d,_0x1dcbbc=_0x26b28a[_0x24591b(0x3c4)],_0x385e02=ic();return _0x385e02&&_0x1dcbbc['set'](_0x24591b(0x483),_0x385e02),_0x4d7a7e(_0x26b28a);}});}};bt=oc([ac(0x0,_0x4a2654(_0x4ca339))],bt);var cc=Object[_0x3238bf(0x535)],hc=Object[_0x3238bf(0x2df)],lc=(_0x102e46,_0xb1e9c1,_0x2d173b,_0x55d217)=>{const _0x50ec59=_0x3238bf;for(var _0x65e460=_0x55d217>0x1?void 0x0:_0x55d217?hc(_0xb1e9c1,_0x2d173b):_0xb1e9c1,_0x31ab16=_0x102e46[_0x50ec59(0x325)]-0x1,_0x5f5ac9;_0x31ab16>=0x0;_0x31ab16--)(_0x5f5ac9=_0x102e46[_0x31ab16])&&(_0x65e460=(_0x55d217?_0x5f5ac9(_0xb1e9c1,_0x2d173b,_0x65e460):_0x5f5ac9(_0x65e460))||_0x65e460);return _0x55d217&&_0x65e460&&cc(_0xb1e9c1,_0x2d173b,_0x65e460),_0x65e460;},Xt=(_0x18c2c3,_0x2c4e68)=>(_0x29ae54,_0x7eb02)=>_0x2c4e68(_0x29ae54,_0x7eb02,_0x18c2c3);const _c=[_0x3238bf(0x431),_0x3238bf(0x548),'image/jpg',_0x3238bf(0x199),_0x3238bf(0x1ca)],uc=0x5*0x400*0x400,dc=_0x3238bf(0x2bd),fc='/universer-api/stream/file/upload',vc=_0x3238bf(0x2c4),mc=_0x3238bf(0x2c9);let hs=class{constructor(_0x4c8e69,_0x1543e7,_0xa40d3c){const _0x50a830=_0x3238bf;g(this,'_waitCount',0x0),g(this,_0x50a830(0x43c),new _0x302e6e()),g(this,_0x50a830(0x35b),this['_change$']),g(this,_0x50a830(0x4e3),new Map()),(this[_0x50a830(0x276)]=_0x4c8e69,this[_0x50a830(0x330)]=_0x1543e7,this[_0x50a830(0x262)]=_0xa40d3c);}['setWaitCount'](_0x4a1160){const _0x3db681=_0x3238bf;this['_waitCount']=_0x4a1160,this['_change$'][_0x3db681(0x34c)](_0x4a1160);}[_0x3238bf(0x30e)](_0x51c488,_0x40b776){const _0x2041d3=_0x3238bf;if(_0x40b776===_0x31ddf5[_0x2041d3(0x49d)]){const _0x47f701=new Image();return _0x47f701['src']=_0x51c488,_0x47f701;}return this[_0x2041d3(0x4e3)][_0x2041d3(0x3a5)](_0x51c488);}[_0x3238bf(0x20b)](_0x372037,_0x126f4c,_0x2aef78){const _0x2fa02e=_0x3238bf;_0x126f4c===_0x31ddf5[_0x2fa02e(0x49d)]||_0x2aef78==null||this[_0x2fa02e(0x4e3)]['set'](_0x372037,_0x2aef78);}async[_0x3238bf(0x301)](_0x45d875){const _0x3203f7=_0x3238bf;try{const _0x550ad5=this[_0x3203f7(0x3cc)](this[_0x3203f7(0x477)](),''+_0x45d875),_0x1512a2=(await this[_0x3203f7(0x276)][_0x3203f7(0x3a5)](_0x550ad5))[_0x3203f7(0x3bd)];if(_0x1512a2['error']&&_0x1512a2[_0x3203f7(0x241)][_0x3203f7(0x50d)]===Ri['OK']){const _0x3f6611=new URL(_0x1512a2[_0x3203f7(0x186)],this[_0x3203f7(0x1fb)]())[_0x3203f7(0x1b8)]();return Promise[_0x3203f7(0x246)](_0x3f6611);}return Promise[_0x3203f7(0x32a)](_0x1512a2['error']);}catch(_0x5a873c){return Promise[_0x3203f7(0x32a)](_0x5a873c);}}async[_0x3238bf(0x318)](_0x49473d){const _0x200008=_0x3238bf;let _0x29773a='';if(!_c['includes'](_0x49473d[_0x200008(0x4cf)]))return this[_0x200008(0x236)](),Promise[_0x200008(0x32a)](new Error(_0x2cdd79[_0x200008(0x3ec)]));if(_0x49473d['size']>uc)return this[_0x200008(0x236)](),Promise[_0x200008(0x32a)](new Error(_0x2cdd79['ERROR_EXCEED_SIZE']));try{const _0xb220c3=new FormData();_0xb220c3[_0x200008(0x4e6)](_0x200008(0x2b1),_0x49473d);const _0x2d8f80=this[_0x200008(0x262)][_0x200008(0x48e)](),_0x5217ba=_0x2d8f80==null?void 0x0:_0x2d8f80[_0x200008(0x3fd)]();if(!_0x5217ba)throw new Error('unitId\x20is\x20not\x20found');const _0x26f88b=this[_0x200008(0x3c3)]()+_0x200008(0x55b)+_0x49473d[_0x200008(0x346)][_0x200008(0x1b8)]()+'&source='+yi[_0x200008(0x352)]+_0x200008(0x242)+encodeURIComponent(_0x5217ba),_0x9b8334=await(await fetch(_0x26f88b,{'method':_0x200008(0x22f),'body':_0xb220c3}))[_0x200008(0x1b9)]();if(typeof _0x9b8334[_0x200008(0x207)]!=_0x200008(0x303))return this[_0x200008(0x236)](),Promise['reject'](new Error(_0x2cdd79[_0x200008(0x2e9)]));_0x29773a=_0x9b8334[_0x200008(0x207)];}catch{return this[_0x200008(0x236)](),Promise['reject'](new Error(_0x2cdd79['ERROR_IMAGE']));}return new Promise((_0x4b7094,_0x5c44ad)=>{const _0x42bcbe=_0x200008,_0x144ed8=new FileReader();_0x144ed8[_0x42bcbe(0x556)](_0x49473d),_0x144ed8['onload']=_0x3a99f5=>{const _0x588716=_0x42bcbe;var _0x4e14b4;const _0x5c30ab=(_0x4e14b4=_0x3a99f5[_0x588716(0x4d3)])==null?void 0x0:_0x4e14b4[_0x588716(0x4c2)];if(_0x5c30ab==null){this[_0x588716(0x236)](),_0x5c44ad(new Error(_0x2cdd79[_0x588716(0x2e9)]));return;}const _0xe091fb=_0x3a7870[_0x588716(0x2ae)](0x6);_0x4b7094({'imageId':_0xe091fb,'imageSourceType':_0x31ddf5[_0x588716(0x44d)],'source':_0x29773a,'base64Cache':_0x5c30ab,'status':_0x2cdd79['SUCCUSS']}),this[_0x588716(0x236)]();};});}[_0x3238bf(0x3c3)](){const _0x1468a6=_0x3238bf;var _0x3b693e,_0x3bf9ae;const _0x5ae07b=this[_0x1468a6(0x330)][_0x1468a6(0x404)](dc),_0x3f848d=this[_0x1468a6(0x330)][_0x1468a6(0x404)](ie);return(_0x3bf9ae=(_0x3b693e=_0x3f848d==null?void 0x0:_0x3f848d[_0x1468a6(0x475)])!=null?_0x3b693e:_0x5ae07b)!=null?_0x3bf9ae:fc;}[_0x3238bf(0x477)](){const _0x36bf0b=_0x3238bf;var _0x1440db,_0x18e9b6;const _0x4ca66f=this['_configService'][_0x36bf0b(0x404)](vc),_0x54210d=this[_0x36bf0b(0x330)][_0x36bf0b(0x404)](ie);return(_0x18e9b6=(_0x1440db=_0x54210d==null?void 0x0:_0x54210d[_0x36bf0b(0x519)])!=null?_0x1440db:_0x4ca66f)!=null?_0x18e9b6:mc;}[_0x3238bf(0x1fb)](){const _0x28ee31=_0x3238bf;var _0x21d2de;const _0x274e2d=this['_configService']['getConfig'](ie);return(_0x21d2de=_0x274e2d==null?void 0x0:_0x274e2d[_0x28ee31(0x3d5)])!=null?_0x21d2de:location['origin'];}[_0x3238bf(0x3cc)](_0x1ac89a,_0x34fe4f){const _0x75d949=_0x3238bf;return _0x1ac89a[_0x75d949(0x4e2)](_0x75d949(0x21a),_0x34fe4f);}[_0x3238bf(0x236)](){const _0x1077b5=_0x3238bf;this[_0x1077b5(0x502)]-=0x1,this[_0x1077b5(0x43c)]['next'](this[_0x1077b5(0x502)]);}};hs=lc([Xt(0x0,_0x4a2654(_0x4ca339)),Xt(0x1,_0x12cd24),Xt(0x2,_0x4a2654(_0x21deaa))],hs);var pc=Object[_0x3238bf(0x535)],gc=Object[_0x3238bf(0x2df)],Sc=(_0x745129,_0x236472,_0x189744,_0x1b0325)=>{const _0x33c25f=_0x3238bf;for(var _0x841d81=_0x1b0325>0x1?void 0x0:_0x1b0325?gc(_0x236472,_0x189744):_0x236472,_0x24baa7=_0x745129[_0x33c25f(0x325)]-0x1,_0xc0b24f;_0x24baa7>=0x0;_0x24baa7--)(_0xc0b24f=_0x745129[_0x24baa7])&&(_0x841d81=(_0x1b0325?_0xc0b24f(_0x236472,_0x189744,_0x841d81):_0xc0b24f(_0x841d81))||_0x841d81);return _0x1b0325&&_0x841d81&&pc(_0x236472,_0x189744,_0x841d81),_0x841d81;},Qe=(_0x8e91e,_0x230bab)=>(_0x422e53,_0x49acde)=>_0x230bab(_0x422e53,_0x49acde,_0x8e91e);let Tt=class extends _0x9ae76a{constructor(_0x5be0b9,_0x3a22cf,_0x3e4a18,_0x353081,_0x21b2a1){const _0x22d85d=_0x3238bf;super(),this[_0x22d85d(0x151)]=_0x5be0b9,this['_univerInstanceService']=_0x3a22cf,this[_0x22d85d(0x184)]=_0x3e4a18,this[_0x22d85d(0x1c6)]=_0x353081,this[_0x22d85d(0x141)]=_0x21b2a1,this[_0x22d85d(0x29c)](),this[_0x22d85d(0x259)]();}[_0x3238bf(0x259)](){const _0x9aac5c=_0x3238bf,_0x576cc9=async _0x140012=>{const _0xf76fff=_0x466f;(await this[_0xf76fff(0x1c6)]['requireSession'](_0x140012))[_0xf76fff(0x173)][_0xf76fff(0x380)](_0x2fd833(_0x2e15fe=>_0x2e15fe[_0xf76fff(0x448)]===_0x2c5a34[_0xf76fff(0x328)]),_0x4cba74(this[_0xf76fff(0x4e8)]))[_0xf76fff(0x43b)](_0x1e5fe6=>{const _0x3bea5c=_0xf76fff,_0x20ca4e=_0x1e5fe6,{reason:_0xfe9122}=_0x20ca4e[_0x3bea5c(0x209)];this[_0x3bea5c(0x151)][_0x3bea5c(0x3a5)](_0x2f8dd1)[_0x3bea5c(0x29f)]({'type':_0x62271a[_0x3bea5c(0x349)],'content':this[_0x3bea5c(0x141)]['t'](_0x3bea5c(0x358))+'('+_0xfe9122+')'}),this[_0x3bea5c(0x184)]['updatePermissionPoint'](new _0x5f270b(_0x140012)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x140012);});};_0xf2f2cb(this['_univerInstanceService'][_0x9aac5c(0x3b4)](_0x5997c4[_0x9aac5c(0x49a)]),this[_0x9aac5c(0x262)][_0x9aac5c(0x3b4)](_0x5997c4['UNIVER_DOC']))[_0x9aac5c(0x380)](_0x46b391(_0x3ec676=>_0x3ec676[_0x9aac5c(0x3fd)]()),_0x2fd833(_0x118799=>!_0x1e2c2b(_0x118799)),_0x4cba74(this[_0x9aac5c(0x4e8)]))['subscribe'](_0x4bd79e=>{_0x576cc9(_0x4bd79e);});}[_0x3238bf(0x29c)](){const _0x5a8166=_0x3238bf,_0x171c05=async _0x8bcb71=>{const _0x48c929=_0x466f;(await this[_0x48c929(0x1c6)][_0x48c929(0x2fe)](_0x8bcb71))[_0x48c929(0x173)][_0x48c929(0x380)](_0x2fd833(_0x3666f7=>_0x3666f7[_0x48c929(0x448)]===_0x2c5a34[_0x48c929(0x24b)]),_0x4cba74(this['dispose$']))['subscribe'](_0x5386b6=>{const _0x134236=_0x48c929,_0x29b3a8=_0x5386b6,{objectId:_0x47ec56}=_0x29b3a8[_0x134236(0x209)],_0x2ab899=this['_injector'][_0x134236(0x3a5)](_0x2b81e1);_0x47ec56===_0x8bcb71?_0x2ab899['initWorkbookPermissionChange'](_0x8bcb71):_0x2ab899[_0x134236(0x164)](_0x8bcb71,_0x47ec56);});};_0xf2f2cb(this[_0x5a8166(0x262)]['getTypeOfUnitAdded$'](_0x5997c4['UNIVER_SHEET']),this[_0x5a8166(0x262)][_0x5a8166(0x3b4)](_0x5997c4[_0x5a8166(0x32f)]))[_0x5a8166(0x380)](_0x46b391(_0x1ed648=>_0x1ed648['getUnitId']()),_0x2fd833(_0x29f0b9=>!_0x1e2c2b(_0x29f0b9)),_0x4cba74(this[_0x5a8166(0x4e8)]))[_0x5a8166(0x43b)](_0x284035=>{_0x171c05(_0x284035);});}};Tt=Sc([Qe(0x0,_0x4a2654(_0x28b8e2)),Qe(0x1,_0x21deaa),Qe(0x2,_0x3cddab),Qe(0x3,_0x4a2654(Ae)),Qe(0x4,_0x4a2654(_0xc7611d))],Tt);var Ic=Object[_0x3238bf(0x535)],Cc=Object[_0x3238bf(0x2df)],Ec=(_0xf07cb2,_0x222127,_0x5bb0db,_0xa9abaa)=>{const _0x2f17ae=_0x3238bf;for(var _0x1460a9=_0xa9abaa>0x1?void 0x0:_0xa9abaa?Cc(_0x222127,_0x5bb0db):_0x222127,_0x545b24=_0xf07cb2[_0x2f17ae(0x325)]-0x1,_0x1e5b1a;_0x545b24>=0x0;_0x545b24--)(_0x1e5b1a=_0xf07cb2[_0x545b24])&&(_0x1460a9=(_0xa9abaa?_0x1e5b1a(_0x222127,_0x5bb0db,_0x1460a9):_0x1e5b1a(_0x1460a9))||_0x1460a9);return _0xa9abaa&&_0x1460a9&&Ic(_0x222127,_0x5bb0db,_0x1460a9),_0x1460a9;},ni=(_0x12da5e,_0x2bbd01)=>(_0x5c467d,_0x8c1067)=>_0x2bbd01(_0x5c467d,_0x8c1067,_0x12da5e);let ls=class{constructor(_0x21fd9e,_0x1d5fac){const _0x57ddb5=_0x3238bf;this[_0x57ddb5(0x330)]=_0x21fd9e,this[_0x57ddb5(0x276)]=_0x1d5fac;}async[_0x3238bf(0x17f)](_0x33c1d1,_0x255c71){const _0x6cb15d=_0x3238bf;var _0x2fe582;const {unitID:_0x588b9a,type:_0x59f38c,revision:_0x547517=0x0}=_0x255c71,_0x105611=this[_0x6cb15d(0x4ee)]()+'/'+_0x59f38c+'/unit/'+_0x588b9a+'/rev/'+_0x547517,_0x4c2f0a=(await this[_0x6cb15d(0x276)]['get'](_0x105611))['body'],_0x3ee4cc=(_0x2fe582=_0x4c2f0a[_0x6cb15d(0x450)])==null?void 0x0:_0x2fe582['workbook'];if(_0x3ee4cc){const _0x54bd66=_0x3ee4cc==null?void 0x0:_0x3ee4cc['originalMeta'],_0x4a9a87=_0x1b8593[_0x6cb15d(0x4df)](_0x37b045(_0x54bd66));_0x3ee4cc[_0x6cb15d(0x4cd)]=_0x4a9a87,Object[_0x6cb15d(0x534)](_0x3ee4cc[_0x6cb15d(0x42d)])[_0x6cb15d(0x4b5)](([,_0x86caee])=>{const _0x41871e=_0x6cb15d,_0x536d00=_0x86caee[_0x41871e(0x4cd)],_0x2f5761=_0x1b8593[_0x41871e(0x4df)](_0x37b045(_0x536d00));_0x86caee[_0x41871e(0x4cd)]=_0x2f5761;});}return _0x4c2f0a;}async[_0x3238bf(0x540)](_0x42f18f,_0x5ed930){const _0x2f466f=_0x3238bf,{unitID:_0xbbda27,type:_0x3fc412,blockID:_0x380779}=_0x5ed930,_0x2dcfa8=this[_0x2f466f(0x1c8)]()+'/'+_0x3fc412+_0x2f466f(0x524)+_0xbbda27+'/block/'+_0x380779;return(await this['_httpService'][_0x2f466f(0x3a5)](_0x2dcfa8))[_0x2f466f(0x3bd)];}async[_0x3238bf(0x3d3)](_0x127686,_0x2ba36a){const _0x351edf=_0x3238bf,{unitID:_0x795655,type:_0x33497a,blockID:_0x13d377}=_0x2ba36a,_0x40ef25=this[_0x351edf(0x1c8)]()+'/block/'+_0x33497a+_0x351edf(0x524)+_0x795655+_0x351edf(0x482)+_0x13d377;return(await this['_httpService'][_0x351edf(0x3a5)](_0x40ef25))[_0x351edf(0x3bd)];}async[_0x3238bf(0x2b6)](_0x5df86a,_0x25fb8c){const _0xef094d=_0x3238bf,{unitID:_0x4871d7,type:_0x404d1b,from:_0x269409,to:_0x2dc1af}=_0x25fb8c,_0x1b27d0=this[_0xef094d(0x1c8)]()+'/'+_0x404d1b+'/unit/'+_0x4871d7+'/fetchmissing?from='+_0x269409+_0xef094d(0x408)+_0x2dc1af;return(await this[_0xef094d(0x276)][_0xef094d(0x3a5)](_0x1b27d0))['body'];}[_0x3238bf(0x4ee)](){const _0xd4e49=_0x3238bf;var _0x442a9d;return(_0x442a9d=this[_0xd4e49(0x330)]['getConfig'](lr))!=null?_0x442a9d:this[_0xd4e49(0x1c8)]();}[_0x3238bf(0x1c8)](){const _0x98c496=_0x3238bf;var _0x36c8a1,_0x68afa2;const _0x270ee4=this[_0x98c496(0x330)][_0x98c496(0x404)](cr),_0x35eef8=this[_0x98c496(0x330)][_0x98c496(0x404)](ie);return(_0x68afa2=(_0x36c8a1=_0x35eef8==null?void 0x0:_0x35eef8[_0x98c496(0x4a8)])!=null?_0x36c8a1:_0x270ee4)!=null?_0x68afa2:hr;}async[_0x3238bf(0x4d4)](_0x2de886,_0x4aae54){const _0x11c5d7=_0x3238bf,_0x2dc669=_0x11c5d7(0x529)+_0x4aae54['type']+_0x11c5d7(0x524)+_0x4aae54[_0x11c5d7(0x4e9)]+'/resources';return(await this['_httpService'][_0x11c5d7(0x3a5)](_0x2dc669,{'params':{'resourceId':JSON[_0x11c5d7(0x2a3)](_0x4aae54['resourceIDs'])}}))[_0x11c5d7(0x3bd)];}[_0x3238bf(0x543)](){const _0xf21682=_0x3238bf;throw new Error(_0xf21682(0x28a));}['saveSheetBlock'](){const _0x41edc5=_0x3238bf;throw new Error(_0x41edc5(0x28a));}[_0x3238bf(0x3ed)](){const _0x2bccf3=_0x3238bf;throw new Error(_0x2bccf3(0x28a));}['copyFileMeta'](){const _0x4e958b=_0x3238bf;throw new Error(_0x4e958b(0x28a));}[_0x3238bf(0x2f2)](){const _0xe61912=_0x3238bf;throw new Error(_0xe61912(0x28a));}};ls=Ec([ni(0x0,_0x12cd24),ni(0x1,_0x4a2654(_0x4ca339))],ls);var bc=Object[_0x3238bf(0x535)],Tc=Object['getOwnPropertyDescriptor'],Rc=(_0x5bf803,_0x4c5f72,_0x4cd900,_0x21fb66)=>{const _0x5791ab=_0x3238bf;for(var _0x528333=_0x21fb66>0x1?void 0x0:_0x21fb66?Tc(_0x4c5f72,_0x4cd900):_0x4c5f72,_0x30bab4=_0x5bf803[_0x5791ab(0x325)]-0x1,_0x28f918;_0x30bab4>=0x0;_0x30bab4--)(_0x28f918=_0x5bf803[_0x30bab4])&&(_0x528333=(_0x21fb66?_0x28f918(_0x4c5f72,_0x4cd900,_0x528333):_0x28f918(_0x528333))||_0x528333);return _0x21fb66&&_0x528333&&bc(_0x4c5f72,_0x4cd900,_0x528333),_0x528333;},et=(_0x4b34e4,_0x3041cd)=>(_0x5b1be3,_0x2a79ca)=>_0x3041cd(_0x5b1be3,_0x2a79ca,_0x4b34e4);let _s=class extends _0x3cb107{constructor(_0x4ad075,_0x5ba338,_0x328d66,_0x1a16c7,_0x1bc4c7){const _0x4a6cde=_0x3238bf;super(_0x4ad075,_0x5ba338,_0x328d66),this[_0x4a6cde(0x41a)]=_0x1a16c7,this['_logService']=_0x1bc4c7;}[_0x3238bf(0x4cb)](_0x254b07,_0x506db0){const _0x14e601=_0x3238bf,_0x5b9bf1=this[_0x14e601(0x1f7)](_0x254b07);if(_0x5b9bf1)try{const _0x134c29=this[_0x14e601(0x33b)](_0x5b9bf1,_0x506db0);this['_substituteUndoStack'](_0x254b07,_0x134c29);}catch(_0x3845db){this[_0x14e601(0x188)][_0x14e601(0x241)]('[CollaborationUndoRedoService]',_0x3845db),this[_0x14e601(0x23f)](_0x254b07);}const _0x2ccb17=this['_getRedoStack'](_0x254b07);if(_0x2ccb17)try{const _0x538e57=this[_0x14e601(0x33b)](_0x2ccb17,_0x506db0);this[_0x14e601(0x3f4)](_0x254b07,_0x538e57);}catch(_0x463ed7){this[_0x14e601(0x188)][_0x14e601(0x241)](_0x463ed7),this[_0x14e601(0x21b)](_0x254b07);}}[_0x3238bf(0x23f)](_0x53ec38){const _0x64c9a5=_0x3238bf,_0x1333fa=this[_0x64c9a5(0x1f7)](_0x53ec38);_0x1333fa&&(_0x1333fa['length']=0x0,this['_updateStatus']());}['_clearRedo'](_0x4f5578){const _0x144480=_0x3238bf,_0x34d83a=this[_0x144480(0x310)](_0x4f5578);_0x34d83a&&(_0x34d83a[_0x144480(0x325)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x4db5da,_0x3060b3){const _0x125dc0=_0x3238bf;this['_undoStacks'][_0x125dc0(0x13d)](_0x4db5da,_0x3060b3),this['_updateStatus']();}[_0x3238bf(0x3f4)](_0x374d2b,_0xc01532){const _0x42aad2=_0x3238bf;this[_0x42aad2(0x4b0)]['set'](_0x374d2b,_0xc01532),this['_updateStatus']();}['_transformStack'](_0x193649,_0x1a32c2){const _0x39ab1b=_0x3238bf,_0x3d58c5=[];let _0xd394c2=_0x1a32c2,_0x31376a=_0x1a32c2;for(let _0x4953d2=_0x193649['length']-0x1;_0x4953d2>=0x0;_0x4953d2--){const {unitID:_0x32de92,undoMutations:_0x500d42,redoMutations:_0x84654e}=_0x193649[_0x4953d2],_0x5db8e3=this[_0x39ab1b(0x41a)][_0x39ab1b(0x2ee)](_0xd394c2,_0x500d42),_0x55d7c2=this[_0x39ab1b(0x41a)][_0x39ab1b(0x2ee)](_0x31376a,_0x84654e);if(_0x31d7c3(_0x5db8e3)||_0x31d7c3(_0x55d7c2)){this[_0x39ab1b(0x188)]['error'](_0x39ab1b(0x19c),_0x39ab1b(0x24e),_0x5db8e3,_0x55d7c2);break;}_0xd394c2=_0x5db8e3['c1Prime'],_0x31376a=_0x55d7c2[_0x39ab1b(0x4f0)],_0x3d58c5[_0x39ab1b(0x419)]({'unitID':_0x32de92,'undoMutations':_0x5db8e3[_0x39ab1b(0x471)],'redoMutations':_0x55d7c2[_0x39ab1b(0x471)]});}return _0x3d58c5[_0x39ab1b(0x254)]();}};_s=Rc([et(0x0,_0x21deaa),et(0x1,_0x462ea5),et(0x2,_0x1b64c2),et(0x3,_0x945511),et(0x4,_0x5d0f53)],_s);class yc extends _0x9ae76a{constructor(){const _0x445493=_0x3238bf;super(),g(this,_0x445493(0x47b)),this[_0x445493(0x47b)]=_0xfa2d6a(window,_0x445493(0x348))[_0x445493(0x380)](_0x4b2adb(this[_0x445493(0x4e8)]),_0x2ad7f3(0x1),_0x36fe6d(void 0x0));}['setParam'](_0x5dab13,_0x188ec2,_0x2e57e3=!0x1){const _0x11fbb1=_0x3238bf,_0x502acb=new URL(window[_0x11fbb1(0x3f3)]['href']);_0x502acb[_0x11fbb1(0x3e9)][_0x11fbb1(0x13d)](_0x5dab13,_0x188ec2),_0x2e57e3?window['history']['replaceState']('','',_0x502acb[_0x11fbb1(0x1b8)]()):window[_0x11fbb1(0x3a8)]['pushState']('','',_0x502acb[_0x11fbb1(0x1b8)]());}[_0x3238bf(0x402)](_0x3cb534,_0x4a5f4b=!0x1){const _0x4fc3b2=_0x3238bf,_0x586de6=new URL(window[_0x4fc3b2(0x3f3)][_0x4fc3b2(0x46c)]);_0x586de6[_0x4fc3b2(0x3e9)][_0x4fc3b2(0x45a)](_0x3cb534),_0x4a5f4b?window[_0x4fc3b2(0x3a8)][_0x4fc3b2(0x2d1)]('','',_0x586de6[_0x4fc3b2(0x1b8)]()):window[_0x4fc3b2(0x3a8)]['pushState']('','',_0x586de6['toString']());}[_0x3238bf(0x364)](_0x3bff03){const _0x5eb691=_0x3238bf;var _0x42b0b8;return(_0x42b0b8=new URL(window[_0x5eb691(0x3f3)][_0x5eb691(0x46c)])[_0x5eb691(0x3e9)]['get'](_0x3bff03))!=null?_0x42b0b8:void 0x0;}}var zi=Object['defineProperty'],Oc=Object[_0x3238bf(0x2df)],wc=(_0x4d67af,_0x23adec,_0x58f869)=>_0x23adec in _0x4d67af?zi(_0x4d67af,_0x23adec,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x58f869}):_0x4d67af[_0x23adec]=_0x58f869,Dc=(_0x2f1182,_0x5ee4b8,_0x51d51c,_0x193190)=>{for(var _0x52ae80=_0x193190>0x1?void 0x0:_0x193190?Oc(_0x5ee4b8,_0x51d51c):_0x5ee4b8,_0x3fcf1c=_0x2f1182['length']-0x1,_0xed921b;_0x3fcf1c>=0x0;_0x3fcf1c--)(_0xed921b=_0x2f1182[_0x3fcf1c])&&(_0x52ae80=(_0x193190?_0xed921b(_0x5ee4b8,_0x51d51c,_0x52ae80):_0xed921b(_0x52ae80))||_0x52ae80);return _0x193190&&_0x52ae80&&zi(_0x5ee4b8,_0x51d51c,_0x52ae80),_0x52ae80;},lt=(_0x23ebd2,_0x63487b)=>(_0x1b469a,_0x41a0b)=>_0x63487b(_0x1b469a,_0x41a0b,_0x23ebd2),Pc=(_0x4f6a39,_0x5880dc,_0x499d74)=>wc(_0x4f6a39,_0x5880dc+'',_0x499d74);const Uc=_0x3238bf(0x35d);let us=class extends _0x31d01a{constructor(_0x22aad7=Rr,_0x1a0de7,_0x3d50a3,_0x148655,_0x5f57f1){const _0xb5198=_0x3238bf;super(),this['_config']=_0x22aad7,this['_logService']=_0x1a0de7,this[_0xb5198(0x309)]=_0x3d50a3,this[_0xb5198(0x151)]=_0x148655,this[_0xb5198(0x330)]=_0x5f57f1;const {..._0x514efe}=this[_0xb5198(0x211)];this[_0xb5198(0x330)][_0xb5198(0x13e)](ie,_0x514efe);}[_0x3238bf(0x3dc)](){const _0x2665f0=_0x3238bf;this[_0x2665f0(0x2f5)](),this[_0x2665f0(0x2d0)]();}['onReady'](){_0x2de621(this['_injector'],[[Ct]]);}[_0x3238bf(0x1a3)](){const _0x58b5e1=_0x3238bf;this[_0x58b5e1(0x160)]();}[_0x3238bf(0x2f5)](){const _0x1f7b8c=_0x3238bf;var _0x179586,_0x299e79,_0x4deecc,_0x132411;this[_0x1f7b8c(0x151)][_0x1f7b8c(0x220)](_0x558053)&&this[_0x1f7b8c(0x188)][_0x1f7b8c(0x241)](_0x1f7b8c(0x514),_0x1f7b8c(0x1c2));const _0x405326=[[_0x558053,{'useClass':_s}],[Ae],[bs],[Bi,{'useClass':yc}],[Ne],[q],[_0xbe8463],[vt],[pt],[ft],[mt],[Cs],[Et],[bt],[wi],[Tt],[Oi,{'useClass':(_0x299e79=(_0x179586=this['_config'])==null?void 0x0:_0x179586[_0x1f7b8c(0x4d9)])!=null?_0x299e79:es}],[_0x54fc87,{'useClass':ls}],[_0x26b704,{'useClass':cs}],[_0x1a8564,{'useClass':hs}],[it],[It],[St],[Ct],[Ve]];(_0x4deecc=this[_0x1f7b8c(0x211)])!=null&&_0x4deecc['enableSingleActiveInstanceLock']&&_0x405326[_0x1f7b8c(0x419)]([Rt,{'useClass':ro}]),_0x5e3113(this[_0x1f7b8c(0x151)],_0x2a6101(_0x405326,(_0x132411=this[_0x1f7b8c(0x211)])==null?void 0x0:_0x132411[_0x1f7b8c(0x473)]));}[_0x3238bf(0x160)](){const _0x30180d=_0x3238bf;this['disposeWithMe'](this[_0x30180d(0x309)][_0x30180d(0x215)](_0x5997c4[_0x30180d(0x32f)],[os])),this[_0x30180d(0x3df)](this[_0x30180d(0x309)][_0x30180d(0x215)](_0x5997c4[_0x30180d(0x49a)],[as]));}[_0x3238bf(0x2d0)](){const _0x12f16a=_0x3238bf;var _0x507dd2,_0x5f1dde;this[_0x12f16a(0x151)][_0x12f16a(0x3a5)](_0x4ca339)[_0x12f16a(0x351)]({'priority':0x14,'interceptor':_0x436092({'maxParallel':0x6})}),(_0x507dd2=this[_0x12f16a(0x211)])!=null&&_0x507dd2[_0x12f16a(0x51a)]||this['_injector'][_0x12f16a(0x3a5)](q)[_0x12f16a(0x2f9)](),(_0x5f1dde=this['_config'])!=null&&_0x5f1dde['enableAuthServer']&&_0x2de621(this['_injector'],[[Et]]),_0x2de621(this[_0x12f16a(0x151)],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Pc(us,_0x3238bf(0x234),Uc),us=Dc([_0xcd516b(_0x5246a2,_0x1fe2e7),lt(0x1,_0x5d0f53),lt(0x2,_0x273231),lt(0x3,_0x4a2654(_0x28b8e2)),lt(0x4,_0x12cd24)],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};