@univerjs-pro/collaboration-client 0.5.1-nightly.202412031606 → 0.5.1-nightly.202412051606

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 (68) 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/fr-FR.js +1 -1
  5. package/lib/cjs/locale/ru-RU.js +1 -1
  6. package/lib/cjs/locale/vi-VN.js +1 -1
  7. package/lib/cjs/locale/zh-CN.js +1 -1
  8. package/lib/cjs/locale/zh-TW.js +1 -1
  9. package/lib/es/index.js +1 -1
  10. package/lib/es/locale/en-US.js +1 -1
  11. package/lib/es/locale/fa-IR.js +1 -1
  12. package/lib/es/locale/fr-FR.js +1 -1
  13. package/lib/es/locale/ru-RU.js +1 -1
  14. package/lib/es/locale/vi-VN.js +1 -1
  15. package/lib/es/locale/zh-CN.js +1 -1
  16. package/lib/es/locale/zh-TW.js +1 -1
  17. package/lib/index.css +0 -1
  18. package/lib/types/controllers/collaboration/collaboration-entity.d.ts +20 -18
  19. package/lib/types/controllers/collaboration/collaboration-state.d.ts +17 -14
  20. package/lib/types/controllers/collaboration/collaboration.controller.d.ts +1 -0
  21. package/lib/types/index.d.ts +11 -11
  22. package/lib/types/plugin.d.ts +1 -6
  23. package/lib/types/services/collaboration-session/collaboration-session.d.ts +3 -4
  24. package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +3 -3
  25. package/lib/types/services/collaboration-ui-event/collaboration-ui-event.d.ts +19 -0
  26. package/lib/types/services/data-loader/data-loader.service.d.ts +23 -0
  27. package/lib/types/services/image-remote/image-io.service.d.ts +1 -1
  28. package/lib/types/services/local-cache/local-cache.service.d.ts +7 -23
  29. package/lib/types/services/permission/permission.service.d.ts +8 -3
  30. package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +0 -24
  31. package/lib/umd/index.js +1 -1
  32. package/lib/umd/locale/en-US.js +1 -1
  33. package/lib/umd/locale/fa-IR.js +1 -1
  34. package/lib/umd/locale/fr-FR.js +1 -1
  35. package/lib/umd/locale/ru-RU.js +1 -1
  36. package/lib/umd/locale/vi-VN.js +1 -1
  37. package/lib/umd/locale/zh-CN.js +1 -1
  38. package/lib/umd/locale/zh-TW.js +1 -1
  39. package/package.json +8 -17
  40. package/lib/types/controllers/clipboard/docs/image/image-paste.controller.d.ts +0 -9
  41. package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +0 -23
  42. package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +0 -1
  43. package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +0 -1
  44. package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +0 -22
  45. package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +0 -38
  46. package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +0 -24
  47. package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +0 -3
  48. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +0 -39
  49. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +0 -21
  50. package/lib/types/controllers/collab-status/collab-status.controller.d.ts +0 -18
  51. package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +0 -4
  52. package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +0 -0
  53. package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +0 -58
  54. package/lib/types/controllers/data-loader/__tests__/data-loader.controller.spec.d.ts +0 -1
  55. package/lib/types/controllers/data-loader/data-loader.controller.d.ts +0 -22
  56. package/lib/types/models/cursor.d.ts +0 -30
  57. package/lib/types/services/color-assign/color-assign.service.d.ts +0 -10
  58. package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +0 -13
  59. package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +0 -12
  60. package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +0 -13
  61. package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +0 -8
  62. package/lib/types/services/url/url.service.d.ts +0 -12
  63. package/lib/types/services/url/web-url.service.d.ts +0 -10
  64. package/lib/types/views/components/CollabStatus.d.ts +0 -10
  65. package/lib/types/views/components/CollabStatus.stories.d.ts +0 -8
  66. package/lib/types/views/shapes/doc-collab-cursor.d.ts +0 -27
  67. package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +0 -27
  68. package/lib/types/views/shapes/text-bubble.shape.d.ts +0 -19
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x5e3172=_0x1eb2;(function(_0x39b754,_0x2f135a){const _0x3e60b1=_0x1eb2,_0x197efc=_0x39b754();while(!![]){try{const _0x230929=parseInt(_0x3e60b1(0x3ff))/0x1*(parseInt(_0x3e60b1(0x26e))/0x2)+-parseInt(_0x3e60b1(0x3dc))/0x3*(parseInt(_0x3e60b1(0x3fb))/0x4)+parseInt(_0x3e60b1(0x208))/0x5+parseInt(_0x3e60b1(0x400))/0x6+-parseInt(_0x3e60b1(0x173))/0x7*(parseInt(_0x3e60b1(0x3e3))/0x8)+parseInt(_0x3e60b1(0x4b8))/0x9*(parseInt(_0x3e60b1(0x179))/0xa)+parseInt(_0x3e60b1(0x384))/0xb;if(_0x230929===_0x2f135a)break;else _0x197efc['push'](_0x197efc['shift']());}catch(_0x31303e){_0x197efc['push'](_0x197efc['shift']());}}}(_0x1abc,0x4c1d9));var cr=Object['defineProperty'],hr=(_0x15b577,_0x52334e,_0x16f8fd)=>_0x52334e in _0x15b577?cr(_0x15b577,_0x52334e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16f8fd}):_0x15b577[_0x52334e]=_0x16f8fd,g=(_0x42e6cd,_0x202912,_0x3c81be)=>hr(_0x42e6cd,typeof _0x202912!=_0x5e3172(0x36d)?_0x202912+'':_0x202912,_0x3c81be);import{createIdentifier as _0x311f8c,Inject as _0x1259a7,Disposable as _0x5f337f,DisposableCollection as _0x1f64b1,toDisposable as _0x38e5fb,IConfigService as _0x3a37b7,ILogService as _0xadcc6,UserManagerService as _0x43b087,UniverInstanceType as _0xfbb68f,IUniverInstanceService as _0x381e7e,LocaleService as _0x56a2bf,Optional as _0x2f5f30,RxDisposable as _0x5ce84d,Injector as _0xa6ca3c,Tools as _0x279a54,ILocalStorageService as _0x489004,Rectangle as _0x50302c,ICommandService as _0x58c2c0,DOC_RANGE_TYPE as _0x263740,JSONX as _0x1bb50c,CommandType as _0x57cf4b,IPermissionService as _0x51028f,IUndoRedoService as _0x2d3235,sequenceExecute as _0x399b47,debounce as _0x38f51c,COLORS as _0x341aed,ColorKit as _0x5842d9,ThemeService as _0x3b15b9,fromEventSubject as _0xb2198c,useDependency as _0x57885b,connectInjector as _0x517e5d,Workbook as _0x1d9cb8,MentionType as _0xbf08a,isInternalEditorID as _0x48d1da,LocalUndoRedoService as _0x301e35,IContextService as _0x1f3c95,DependentOn as _0x447968,Plugin as _0x35856f,touchDependencies as _0x3ab8ae,IAuthzIoService as _0x5ae3ef,IMentionIOService as _0x5c1989,registerDependencies as _0x3ef291,mergeOverrideWithDependencies as _0x11b22e}from'@univerjs/core';import{Subject as _0x1b8780,merge as _0x143e60,takeUntil as _0x34041a,BehaviorSubject as _0xd0d94b,distinctUntilChanged as _0x11e04f,fromEvent as _0x1a191c,ReplaySubject as _0x3d17ca,take as _0x3decc5,map as _0x461042,shareReplay as _0x55695a,of as _0x4f62b6,debounceTime as _0x5fe042,filter as _0x446160,switchMap as _0x12c24e,combineLatest as _0x1bfc9f,concatMap as _0x21776c,mapTo as _0x15c046}from'rxjs';import{map as _0x2945cf,take as _0x287b41,filter as _0x3c0a43,delay as _0x5a47b9,throttleTime as _0x14e77d,takeUntil as _0x209ee4,switchMap as _0x506a28}from'rxjs/operators';import{MessageType as _0x59169d,Tooltip as _0x172eaf}from'@univerjs/design';import{HTTPService as _0x21ff0e,WebSocketService as _0x5b73a6,MergeInterceptorFactory as _0x146515,HTTPRequest as _0x427f8d,UniverNetworkPlugin as _0x284272,ThresholdInterceptorFactory as _0x3d2a05}from'@univerjs/network';import{IBeforeCloseService as _0x38bd7e,IMessageService as _0x28a2c3,INotificationService as _0xe36565,useObservable as _0x82b757,BuiltInUIPart as _0x4a568e,IUIPartsService as _0x5beba5}from'@univerjs/ui';import{CollaborationEvent as _0x385814,parseChangesetToProtocol as _0x103c14,ISnapshotServerService as _0x18e368,isTransformMutationFailure as _0x29729a,isTransformMutationsWithChangesetSuccess as _0x17cfb3,ITransformService as _0x2a04be,RevisionService as _0x5730a1,mapDocumentTypeToUniverType as _0x20d9fb,isTransformChangesetsSuccess as _0x1b6696,CompressMutationService as _0x2efac4,parseProtocolChangeset as _0x5e0840,SnapshotService as _0x2dad5b,textEncoder as _0xf9a5c6,b64DecodeUnicode as _0x1a04e2,isTransformMutationsWithChangesetFailure as _0x2ccc3c,UniverCollaborationPlugin as _0x30e153}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x42c595}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x195c19,RichTextEditingMutation as _0x48d9a2,SetTextSelectionsOperation as _0x6a5ee2,DocSkeletonManagerService as _0x218e07}from'@univerjs/docs';import{DocIMEInputManagerService as _0x3ded9c,DocStateChangeManagerService as _0x59d42b,IDocClipboardService as _0x51fcd5,NodePositionConvertToCursor as _0x23a52e,NodePositionConvertToRectRange as _0x135bfe,TEXT_RANGE_LAYER_INDEX as _0x2641c4,SetDocZoomRatioOperation as _0x56f25a}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x10dd54,SetSelectionsOperation as _0x3f708e,InsertSheetMutation as _0x1c7d98,EmptyMutation as _0x4b8f30,WorkbookEditablePermission as _0x1a4341,RefRangeService as _0x4fe9a5,EffectRefRangId as _0x1d34c9,handleIRemoveRow as _0x45470d,handleIRemoveCol as _0x2f48a3,handleMoveRange as _0x16c781,handleInsertRow as _0x57fbd7,handleInsertRangeMoveRight as _0x10303e,handleInsertRangeMoveDown as _0x28267d,handleInsertCol as _0x4f5a43,handleDeleteRangeMoveUp as _0x34bf8e,handleDeleteRangeMoveLeft as _0xa5d192,runRefRangeMutations as _0x212980,SetWorksheetActivateCommand as _0x5d7f9e}from'@univerjs/sheets';import{IRenderManagerService as _0x2d7ddc,Shape as _0x3f24aa,Rect as _0x5876ba,getColor as _0x58cb0a,RegularPolygon as _0x2f6ca8,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2759c0,Vector2 as _0x40d11c,SHEET_VIEWPORT_KEY as _0x3dbe35}from'@univerjs/engine-render';import{IImageIoService as _0x1c8798,ImageSourceType as _0xa7900e,ImageUploadStatusType as _0x2f0162}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x987e76,serializeRangeWithSheet as _0x51efb3}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x5d1f2f,getCoordByCell as _0x1028ea,getSheetObject as _0x7eaba5,SheetPermissionInitController as _0x25b747}from'@univerjs/sheets-ui';import _0x165312,{forwardRef as _0x5af4de,useRef as _0xa7cda3,createElement as _0x27aa2b,useCallback as _0x3c29fa}from'react';import{IRemoteInstanceService as _0x4ec8cb}from'@univerjs/rpc';const En='SNAPSHOT_SERVER_URL_KEY',bn='/universer-api/snapshot',Tn=_0x5e3172(0x457),wh=_0x5e3172(0x19c),Rn=0x7d0,On=_0x5e3172(0x182),yn='ws://127.0.0.1:8000/universer-api/comb/connect',wn=_0x5e3172(0x201),Dn=_0x5e3172(0x513),Pn=0x7530,ki='HEARTBEAT_TIMEOUT',Wi=0x4e20,Nn=0x4e20,Un=_0x5e3172(0x362),An=0x3,Mn=_0x5e3172(0x127),xn=0x3e8,Ln=_0x5e3172(0x1b8),$n=_0x5e3172(0x444),Hn='LOGIN_URL_KEY',jn=_0x5e3172(0x4e7);var Fi=(_0x1e25dd=>(_0x1e25dd[_0x1e25dd[_0x5e3172(0x252)]=0x0]=_0x5e3172(0x252),_0x1e25dd[_0x1e25dd['OK']=0x1]='OK',_0x1e25dd[_0x1e25dd[_0x5e3172(0x3d4)]=0x2]='INTERNAL_ERROR',_0x1e25dd[_0x1e25dd['PERMISSION_DENIED']=0x3]=_0x5e3172(0x4f8),_0x1e25dd[_0x1e25dd[_0x5e3172(0x22f)]=0x4]=_0x5e3172(0x22f),_0x1e25dd[_0x1e25dd[_0x5e3172(0x3f4)]=0x5]=_0x5e3172(0x3f4),_0x1e25dd[_0x1e25dd[_0x5e3172(0x3fa)]=0x6]=_0x5e3172(0x3fa),_0x1e25dd[_0x1e25dd[_0x5e3172(0x181)]=0x7]='INVALID_ARGUMENT',_0x1e25dd[_0x1e25dd['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x1e25dd[_0x1e25dd[_0x5e3172(0x4e3)]=0x9]=_0x5e3172(0x4e3),_0x1e25dd[_0x1e25dd[_0x5e3172(0x36c)]=0x1389]=_0x5e3172(0x36c),_0x1e25dd[_0x1e25dd[_0x5e3172(0x4e0)]=0x1771]=_0x5e3172(0x4e0),_0x1e25dd[_0x1e25dd[_0x5e3172(0x171)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1e25dd[_0x1e25dd['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5e3172(0x323),_0x1e25dd[_0x1e25dd['APPLY_REJECT']=0x1b59]=_0x5e3172(0x478),_0x1e25dd[_0x1e25dd['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5e3172(0x1b0),_0x1e25dd[_0x1e25dd[_0x5e3172(0x2fb)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1e25dd[_0x1e25dd[_0x5e3172(0x3ab)]=0x1b5c]=_0x5e3172(0x3ab),_0x1e25dd[_0x1e25dd['APPLY_DUPLICATED']=0x1b5d]=_0x5e3172(0x1f3),_0x1e25dd[_0x1e25dd[_0x5e3172(0x337)]=0x1f41]=_0x5e3172(0x337),_0x1e25dd[_0x1e25dd['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5e3172(0x35c),_0x1e25dd[_0x1e25dd[_0x5e3172(0x330)]=0x232a]=_0x5e3172(0x330),_0x1e25dd[_0x1e25dd[_0x5e3172(0x138)]=0x232b]=_0x5e3172(0x138),_0x1e25dd[_0x1e25dd[_0x5e3172(0x351)]=0x232c]=_0x5e3172(0x351),_0x1e25dd[_0x1e25dd[_0x5e3172(0x42a)]=0x232d]=_0x5e3172(0x42a),_0x1e25dd[_0x1e25dd[_0x5e3172(0x1f0)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1e25dd[_0x1e25dd['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1e25dd[_0x1e25dd['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5e3172(0x1ad),_0x1e25dd[_0x1e25dd[_0x5e3172(0x3b0)]=0x2714]=_0x5e3172(0x3b0),_0x1e25dd[_0x1e25dd['UNRECOGNIZED']=-0x1]=_0x5e3172(0x175),_0x1e25dd))(Fi||{}),ae=(_0x14fa79=>(_0x14fa79[_0x14fa79['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x14fa79[_0x14fa79['UNIVER_DOC']=0x1]=_0x5e3172(0x11d),_0x14fa79[_0x14fa79[_0x5e3172(0x1c2)]=0x2]='UNIVER_SHEET',_0x14fa79[_0x14fa79[_0x5e3172(0x32e)]=0x3]=_0x5e3172(0x32e),_0x14fa79[_0x14fa79[_0x5e3172(0x375)]=0x4]='UNIVER_PROJECT',_0x14fa79[_0x14fa79[_0x5e3172(0x175)]=-0x1]=_0x5e3172(0x175),_0x14fa79))(ae||{}),W=(_0x80a1be=>(_0x80a1be[_0x80a1be[_0x5e3172(0x39d)]=0x0]=_0x5e3172(0x39d),_0x80a1be[_0x80a1be[_0x5e3172(0x33e)]=0x1]=_0x5e3172(0x33e),_0x80a1be[_0x80a1be['JOIN']=0x2]=_0x5e3172(0x1ac),_0x80a1be[_0x80a1be['LEAVE']=0x3]=_0x5e3172(0x1df),_0x80a1be[_0x80a1be[_0x5e3172(0x23c)]=0x4]=_0x5e3172(0x23c),_0x80a1be[_0x80a1be[_0x5e3172(0x420)]=0x5]=_0x5e3172(0x420),_0x80a1be[_0x80a1be['RECV']=0x6]=_0x5e3172(0x31b),_0x80a1be[_0x80a1be[_0x5e3172(0x175)]=-0x1]='UNRECOGNIZED',_0x80a1be))(W||{}),Pe=(_0x4a8764=>(_0x4a8764[_0x4a8764[_0x5e3172(0x34b)]=0x0]=_0x5e3172(0x34b),_0x4a8764[_0x4a8764['OK']=0x1]='OK',_0x4a8764[_0x4a8764[_0x5e3172(0x1cd)]=0x2]='FAIL',_0x4a8764[_0x4a8764[_0x5e3172(0x164)]=0x3e9]=_0x5e3172(0x164),_0x4a8764[_0x4a8764[_0x5e3172(0x12e)]=0x3ea]=_0x5e3172(0x12e),_0x4a8764[_0x4a8764[_0x5e3172(0x267)]=0x3eb]=_0x5e3172(0x267),_0x4a8764[_0x4a8764[_0x5e3172(0x1af)]=0x3ec]=_0x5e3172(0x1af),_0x4a8764[_0x4a8764[_0x5e3172(0x175)]=-0x1]=_0x5e3172(0x175),_0x4a8764))(Pe||{}),Vi=(_0x471e2d=>(_0x471e2d[_0x471e2d['Undefined']=0x0]=_0x5e3172(0x317),_0x471e2d[_0x471e2d[_0x5e3172(0x446)]=0x1]='HttpImport',_0x471e2d[_0x471e2d['HttpExport']=0x2]=_0x5e3172(0x160),_0x471e2d[_0x471e2d[_0x5e3172(0x16c)]=0x3]=_0x5e3172(0x16c),_0x471e2d[_0x471e2d['UnitSnapshot']=0x4]=_0x5e3172(0x439),_0x471e2d[_0x471e2d['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x471e2d))(Vi||{});const Q=_0x5e3172(0x497),Bn={};function kn(_0x17f977){const _0x20357d=_0x5e3172;var _0xf13991,_0x3462bc,_0x30f07e,_0x2c7e82,_0x59507d;const _0x387b23=_0x17f977['data'],_0x39cef7=JSON['parse'](_0x387b23);switch(_0x39cef7[_0x20357d(0x35f)]){case W[_0x20357d(0x420)]:case W[_0x20357d(0x33e)]:{const _0x5a37fd=_0x39cef7[_0x20357d(0x3d1)];return{..._0x39cef7,'data':_0x5a37fd,'cmd':_0x39cef7[_0x20357d(0x35f)]};}case W[_0x20357d(0x1ac)]:{const _0x5be17b=_0x39cef7[_0x20357d(0x2d8)];return{..._0x39cef7,'data':_0x5be17b,'cmd':_0x39cef7['cmd']};}case W['RECV']:{const _0x3fdbd6=_0x39cef7[_0x20357d(0x21b)];switch(_0x3fdbd6['eventID']){case _0x385814[_0x20357d(0x3e9)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':(_0xf13991=_0x3fdbd6[_0x20357d(0x2cb)])==null?void 0x0:_0xf13991['cs']},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x2e5)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':(_0x3462bc=_0x3fdbd6[_0x20357d(0x150)])==null?void 0x0:_0x3462bc['cs']},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x331)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':(_0x30f07e=_0x3fdbd6['newCsEvent'])==null?void 0x0:_0x30f07e['cs']},'cmd':_0x39cef7['cmd']};case _0x385814['CHANGESET_REJ']:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':(_0x2c7e82=_0x3fdbd6['csRejEvent'])==null?void 0x0:_0x2c7e82['cs']},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x155)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':(_0x59507d=_0x3fdbd6[_0x20357d(0x453)])==null?void 0x0:_0x59507d['cs']},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x514)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x142)]},'cmd':_0x39cef7['cmd']};case _0x385814['USERS_ENTER']:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6['joinEvent']},'cmd':_0x39cef7['cmd']};case _0x385814[_0x20357d(0x10f)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x4ed)]},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x4bc)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x3d2)]},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x251)]:case _0x385814[_0x20357d(0x30b)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x46a)]},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x250)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x3d2)]},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814['MSG_FOR_ERROR']:return{..._0x39cef7,'data':_0x3fdbd6,'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x2a9)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6['commentUpdateEvent']},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x278)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x532)]},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x137)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6['shouldCloseConn']},'cmd':_0x39cef7[_0x20357d(0x35f)]};default:return _0x39cef7;}}default:return _0x39cef7;}}function Wn(_0x14763b){const _0x476fa2=_0x5e3172;switch(_0x14763b[_0x476fa2(0x35f)]){case W[_0x476fa2(0x420)]:case W[_0x476fa2(0x33e)]:return JSON['stringify']({'cmd':_0x14763b[_0x476fa2(0x35f)],'routeKey':_0x14763b['routeKey']});case W[_0x476fa2(0x23c)]:{let _0x55ed95;switch(_0x14763b[_0x476fa2(0x288)][_0x476fa2(0x451)]){case _0x385814[_0x476fa2(0x514)]:{_0x55ed95={'eventID':_0x385814['UPDATE_CURSOR'],'updateCursorEvent':_0x14763b['data']['data']};break;}case _0x385814[_0x476fa2(0x10f)]:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x10f)],'leaveEvent':_0x14763b[_0x476fa2(0x288)][_0x476fa2(0x288)]};break;}case _0x385814[_0x476fa2(0x3c2)]:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x3c2)],'joinEvent':_0x14763b['data'][_0x476fa2(0x288)]};break;}case _0x385814[_0x476fa2(0x4bc)]:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x4bc)],'liveShareNewHost':_0x14763b[_0x476fa2(0x288)]['data']};break;}case _0x385814[_0x476fa2(0x30b)]:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x30b)],'liveShareOperation':_0x14763b[_0x476fa2(0x288)][_0x476fa2(0x288)]};break;}case _0x385814[_0x476fa2(0x250)]:{_0x55ed95={'eventID':_0x385814['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x14763b[_0x476fa2(0x288)][_0x476fa2(0x288)]};break;}case _0x385814[_0x476fa2(0x157)]:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x157)],'liveShareRequestHost':_0x14763b[_0x476fa2(0x288)]['data']};break;}case _0x385814['LIVESHARE_FETCH_OPERATIONS']:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x251)]};break;}default:_0x55ed95={'eventID':_0x14763b[_0x476fa2(0x288)][_0x476fa2(0x451)]};}return JSON[_0x476fa2(0x50f)]({'cmd':_0x14763b[_0x476fa2(0x35f)],'routeKey':_0x14763b[_0x476fa2(0x318)],'collaMsg':_0x55ed95});}case W[_0x476fa2(0x1ac)]:return JSON[_0x476fa2(0x50f)]({'cmd':_0x14763b[_0x476fa2(0x35f)],'routeKey':_0x14763b[_0x476fa2(0x318)],'joinReq':_0x14763b['data']});case W[_0x476fa2(0x1df)]:return JSON['stringify']({'cmd':_0x14763b[_0x476fa2(0x35f)],'routeKey':_0x14763b[_0x476fa2(0x318)],'leaveReq':_0x14763b[_0x476fa2(0x288)]});default:throw new Error(_0x476fa2(0x398));}}var Fn=Object[_0x5e3172(0x243)],Vn=Object[_0x5e3172(0x26f)],Gn=(_0x2d42c6,_0x190d4f,_0x3ce1d2,_0x1bd443)=>{const _0x4b6f99=_0x5e3172;for(var _0x3b5253=_0x1bd443>0x1?void 0x0:_0x1bd443?Vn(_0x190d4f,_0x3ce1d2):_0x190d4f,_0x3d9c32=_0x2d42c6[_0x4b6f99(0x2c8)]-0x1,_0x431c26;_0x3d9c32>=0x0;_0x3d9c32--)(_0x431c26=_0x2d42c6[_0x3d9c32])&&(_0x3b5253=(_0x1bd443?_0x431c26(_0x190d4f,_0x3ce1d2,_0x3b5253):_0x431c26(_0x3b5253))||_0x3b5253);return _0x1bd443&&_0x3b5253&&Fn(_0x190d4f,_0x3ce1d2,_0x3b5253),_0x3b5253;},ze=(_0x10a368,_0xb11ce9)=>(_0x446084,_0x5387ac)=>_0xb11ce9(_0x446084,_0x5387ac,_0x10a368);const Gi=_0x311f8c(_0x5e3172(0x141));function Yn(_0x5247e3,_0x458ff8,_0x407fb8){return _0x5247e3+'/'+_0x458ff8+'/unit/'+_0x407fb8+'/new_changes';}let cs=class extends _0x5f337f{constructor(_0xd6e93d,_0x2de433,_0x3d5edd,_0x5015f2,_0x5b56a0){const _0x591725=_0x5e3172;super(),this['_http']=_0xd6e93d,this['_ws']=_0x2de433,this[_0x591725(0x270)]=_0x3d5edd,this[_0x591725(0x52d)]=_0x5015f2,this[_0x591725(0x41d)]=_0x5b56a0;}[_0x5e3172(0x111)](_0x2d68b5){const _0x2834a5=_0x5e3172,_0x428e93=this[_0x2834a5(0x4a0)]['createSocket'](_0x2d68b5);if(!_0x428e93)throw new Error(_0x2834a5(0x17a));const _0x27aaa4=new _0x1f64b1(),_0x561bbc=new _0x1b8780();_0x27aaa4['add'](_0x428e93[_0x2834a5(0x3b8)][_0x2834a5(0x134)](_0x350d41=>_0x561bbc[_0x2834a5(0x23b)](_0x350d41))),_0x27aaa4[_0x2834a5(0x15f)](_0x38e5fb(()=>_0x561bbc['complete']()));const _0x6deb48=new _0x1b8780();_0x27aaa4[_0x2834a5(0x15f)](_0x428e93[_0x2834a5(0x521)][_0x2834a5(0x134)](_0x5cc656=>_0x6deb48['next'](_0x5cc656))),_0x27aaa4[_0x2834a5(0x15f)](_0x38e5fb(()=>_0x6deb48['complete']()));const _0x63127e=new _0x1b8780();_0x27aaa4[_0x2834a5(0x15f)](_0x428e93[_0x2834a5(0x4a1)][_0x2834a5(0x134)](_0x43646d=>{const _0x5ebe18=_0x2834a5,_0x56cb89=kn(_0x43646d);_0x63127e[_0x5ebe18(0x23b)](_0x56cb89);})),_0x27aaa4['add'](_0x38e5fb(()=>_0x63127e['complete']()));let _0x843f0a;const _0x1c6832=()=>{const _0x51288a=_0x2834a5;_0x6deb48[_0x51288a(0x23b)](new Event(_0x51288a(0x4a2))),_0x561bbc[_0x51288a(0x23b)](new CloseEvent(_0x51288a(0x4a2))),_0x843f0a[_0x51288a(0x177)]();};return _0x843f0a={'memberID':'','close$':_0x561bbc[_0x2834a5(0x306)](),'error$':_0x6deb48[_0x2834a5(0x306)](),'open$':_0x428e93['open$'],'message$':_0x63127e[_0x2834a5(0x306)](),'send':_0x2ef2b4=>{const _0x57d91f=_0x2834a5;if(_0x2ef2b4[_0x57d91f(0x35f)]===W[_0x57d91f(0x23c)]){if(_0x2ef2b4[_0x57d91f(0x288)]['eventID']===_0x385814[_0x57d91f(0x27a)]){this[_0x57d91f(0x393)](_0x843f0a,_0x2ef2b4['data'])[_0x57d91f(0x33b)](_0x21502b=>{const _0x614ad9=_0x57d91f;this[_0x614ad9(0x52d)]['error'](_0x21502b),_0x1c6832();});return;}if(_0x2ef2b4[_0x57d91f(0x288)]['eventID']===_0x385814['FETCH_MISSING']){const _0x1d6701=_0x2ef2b4['data'];this[_0x57d91f(0x355)](_0x1d6701)['then'](_0x2430f6=>{const _0x5b373a=_0x57d91f;_0x63127e['next']({'cmd':W['RECV'],'code':Pe['OK'],'routeKey':_0x1d6701[_0x5b373a(0x288)][_0x5b373a(0x4e4)],'routeType':'','data':{'eventID':_0x385814[_0x5b373a(0x46d)],'data':{'changesets':_0x2430f6}}});})['catch'](_0x18da79=>{const _0x21d0bd=_0x57d91f;this[_0x21d0bd(0x52d)]['error'](_0x18da79),_0x1c6832();});return;}}_0x428e93['send'](Wn(_0x2ef2b4));},'close':()=>{const _0x58835e=_0x2834a5;_0x428e93[_0x58835e(0x177)](),_0x27aaa4[_0x58835e(0x48f)]();}},_0x843f0a;}async['_submitChangeset'](_0x2a2316,_0x3fc3b2){const _0x56846c=_0x5e3172;var _0x1bf7d4,_0x19d167;const {unitType:_0x5c86c7,unitID:_0x4d7cbc,changeset:_0x6e456c}=_0x3fc3b2[_0x56846c(0x288)],_0x4029e6={'unitID':_0x4d7cbc,'memberID':_0x2a2316['memberID'],'type':_0x5c86c7,'changeset':_0x103c14(_0x6e456c)},_0x4c542d=this[_0x56846c(0x270)][_0x56846c(0x186)](Ln),_0xa2ddbd=this[_0x56846c(0x270)]['getConfig'](Q),_0x425adf=Yn((_0x19d167=(_0x1bf7d4=_0xa2ddbd==null?void 0x0:_0xa2ddbd[_0x56846c(0x23f)])!=null?_0x1bf7d4:_0x4c542d)!=null?_0x19d167:$n,_0x5c86c7,_0x4d7cbc);try{await this['_http'][_0x56846c(0x2a5)](_0x425adf,{'body':_0x4029e6});}catch(_0x577686){throw this[_0x56846c(0x52d)][_0x56846c(0x295)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x577686;}}async[_0x5e3172(0x355)](_0x36b46){const _0x2658d7=_0x5e3172,{unitID:_0x983c91,from:_0x1515fe,to:_0x514340,unitType:_0x3710e0}=_0x36b46[_0x2658d7(0x288)];return(await this[_0x2658d7(0x41d)][_0x2658d7(0x41a)]({'metadata':void 0x0},{'unitID':_0x983c91,'type':_0x3710e0,'from':_0x1515fe,'to':_0x514340}))[_0x2658d7(0x3fd)];}};cs=Gn([ze(0x0,_0x1259a7(_0x21ff0e)),ze(0x1,_0x1259a7(_0x5b73a6)),ze(0x2,_0x3a37b7),ze(0x3,_0xadcc6),ze(0x4,_0x18e368)],cs);const Kn=_0x5e3172(0x474);function qn(_0xa7edf3){const _0x4fee80=_0x5e3172;return JSON[_0x4fee80(0x50f)](_0xa7edf3)[_0x4fee80(0x2c8)];}class Yi{constructor(){const _0x2628f0=_0x5e3172;g(this,_0x2628f0(0x537),new _0x1b8780()),g(this,_0x2628f0(0x210),this['_commentUpdate$'][_0x2628f0(0x306)]());}[_0x5e3172(0x263)](_0x4ea9e1){const _0x447e00=_0x5e3172;this['_commentUpdate$'][_0x447e00(0x23b)](_0x4ea9e1);}}var zn=Object['defineProperty'],Xn=Object[_0x5e3172(0x26f)],Jn=(_0x1245b5,_0x334b43,_0x50d036,_0x558731)=>{for(var _0x2841fe=_0x558731>0x1?void 0x0:_0x558731?Xn(_0x334b43,_0x50d036):_0x334b43,_0x4df9df=_0x1245b5['length']-0x1,_0x4ef320;_0x4df9df>=0x0;_0x4df9df--)(_0x4ef320=_0x1245b5[_0x4df9df])&&(_0x2841fe=(_0x558731?_0x4ef320(_0x334b43,_0x50d036,_0x2841fe):_0x4ef320(_0x2841fe))||_0x2841fe);return _0x558731&&_0x2841fe&&zn(_0x334b43,_0x50d036,_0x2841fe),_0x2841fe;},Ks=(_0x2fe8ad,_0x2f5ce6)=>(_0x88ffee,_0x5c2de2)=>_0x2f5ce6(_0x88ffee,_0x5c2de2,_0x2fe8ad);let Me=class extends _0x5f337f{constructor(_0x4b5a53,_0x1a06dc){const _0x477203=_0x5e3172;super(),g(this,'_roomMembers',new Map()),(this[_0x477203(0x153)]=_0x4b5a53,this['_userManagerService']=_0x1a06dc,this[_0x477203(0x2d9)](_0x38e5fb(_0x143e60(this[_0x477203(0x153)]['getTypeOfUnitDisposed$'](_0xfbb68f['UNIVER_SHEET'])['pipe'](_0x2945cf(_0x200919=>_0x200919[_0x477203(0x12f)]())),this[_0x477203(0x153)]['getTypeOfUnitDisposed$'](_0xfbb68f[_0x477203(0x11d)])['pipe'](_0x2945cf(_0x1530d4=>_0x1530d4['getUnitId']())),this[_0x477203(0x153)][_0x477203(0x241)](_0xfbb68f['UNIVER_SLIDE'])[_0x477203(0x4b6)](_0x2945cf(_0xf4bd21=>_0xf4bd21[_0x477203(0x12f)]())))[_0x477203(0x134)](_0x3d80ca=>this[_0x477203(0x441)](_0x3d80ca)))));}[_0x5e3172(0x287)](_0x4b7a81){const _0x30b697=_0x5e3172;this[_0x30b697(0x414)][_0x30b697(0x287)](_0x4b7a81);}[_0x5e3172(0x3d8)](){const _0x5b6677=_0x5e3172;return this[_0x5b6677(0x414)][_0x5b6677(0x3d8)]();}[_0x5e3172(0x508)](_0x5dc18e,_0x5a2bfb){const _0x213924=_0x5e3172;let _0x40cb28=this[_0x213924(0x222)]['get'](_0x5dc18e);_0x40cb28||(_0x40cb28=new Zn(),this['_roomMembers'][_0x213924(0x332)](_0x5dc18e,_0x40cb28)),_0x40cb28[_0x213924(0x508)](_0x5a2bfb);}[_0x5e3172(0x37f)](_0x531bc1,_0xa8192a){const _0x155d74=_0x5e3172,_0x477309=this[_0x155d74(0x222)][_0x155d74(0x307)](_0x531bc1);_0x477309&&_0x477309[_0x155d74(0x37f)](_0xa8192a);}[_0x5e3172(0x44a)](_0x34a8f7){const _0x2f30f2=_0x5e3172;return this[_0x2f30f2(0x222)]['get'](_0x34a8f7);}[_0x5e3172(0x116)](_0x2f595a,_0x29b080){const _0x5cf4fa=_0x5e3172,_0x292aa1=this[_0x5cf4fa(0x222)]['get'](_0x2f595a);if(_0x292aa1)return _0x292aa1['getMember'](_0x29b080);}[_0x5e3172(0x441)](_0x151e2b){const _0x2719d3=_0x5e3172,_0x91fae9=this[_0x2719d3(0x222)][_0x2719d3(0x307)](_0x151e2b);_0x91fae9&&(_0x91fae9[_0x2719d3(0x48f)](),this['_roomMembers']['delete'](_0x151e2b));}['dispose'](){const _0x278e5e=_0x5e3172;this[_0x278e5e(0x222)][_0x278e5e(0x356)](_0x2409a2=>_0x2409a2[_0x278e5e(0x48f)]()),this[_0x278e5e(0x222)]['clear']();}};Me=Jn([Ks(0x0,_0x381e7e),Ks(0x1,_0x1259a7(_0x43b087))],Me);class Zn extends _0x5f337f{constructor(){super(...arguments),g(this,'_members',new Map());}[_0x5e3172(0x48f)](){const _0x4b7ab7=_0x5e3172;this[_0x4b7ab7(0x15d)][_0x4b7ab7(0x3db)]();}[_0x5e3172(0x508)](_0x2cf65e){this['_members']['set'](_0x2cf65e['memberID'],_0x2cf65e);}[_0x5e3172(0x37f)](_0x2c8d28){const _0x5c9597=_0x5e3172;this[_0x5c9597(0x15d)][_0x5c9597(0x480)](_0x2c8d28);}[_0x5e3172(0x116)](_0x49f3e8){const _0x5afc54=_0x5e3172;return this[_0x5afc54(0x15d)][_0x5afc54(0x307)](_0x49f3e8);}[_0x5e3172(0x19b)](){const _0x1ce631=_0x5e3172;return Array[_0x1ce631(0x49e)](this[_0x1ce631(0x15d)][_0x1ce631(0x21a)]());}}var Qn=Object[_0x5e3172(0x243)],eo=Object['getOwnPropertyDescriptor'],to=(_0x39a800,_0x9d7f3f,_0x4c4611,_0x47bd6c)=>{for(var _0x47c961=_0x47bd6c>0x1?void 0x0:_0x47bd6c?eo(_0x9d7f3f,_0x4c4611):_0x9d7f3f,_0x16ffd1=_0x39a800['length']-0x1,_0x2b2eb1;_0x16ffd1>=0x0;_0x16ffd1--)(_0x2b2eb1=_0x39a800[_0x16ffd1])&&(_0x47c961=(_0x47bd6c?_0x2b2eb1(_0x9d7f3f,_0x4c4611,_0x47c961):_0x2b2eb1(_0x47c961))||_0x47c961);return _0x47bd6c&&_0x47c961&&Qn(_0x9d7f3f,_0x4c4611,_0x47c961),_0x47c961;},Ee=(_0x56fe93,_0x205064)=>(_0x18f8b6,_0x4d0ebe)=>_0x205064(_0x18f8b6,_0x4d0ebe,_0x56fe93),fe=(_0x1e94cc=>(_0x1e94cc[_0x1e94cc[_0x5e3172(0x352)]=0x0]=_0x5e3172(0x352),_0x1e94cc[_0x1e94cc[_0x5e3172(0x51c)]=0x1]=_0x5e3172(0x51c),_0x1e94cc[_0x1e94cc['OFFLINE']=0x2]=_0x5e3172(0x4d7),_0x1e94cc[_0x1e94cc['ONLINE']=0x3]=_0x5e3172(0x2e2),_0x1e94cc))(fe||{});const qs={[Pe[_0x5e3172(0x1cd)]]:_0x5e3172(0x3e6),[Pe[_0x5e3172(0x164)]]:_0x5e3172(0x14e),[Pe[_0x5e3172(0x12e)]]:_0x5e3172(0x25c),[Pe[_0x5e3172(0x267)]]:_0x5e3172(0x1eb),[Pe[_0x5e3172(0x1af)]]:'session.room-cnt-exceeds'};let hs=class extends _0x5ce84d{constructor(_0x3d3998,_0x3eabf4,_0x549ef3,_0x51e2bd,_0x1cfb8a,_0x18af0e,_0x2466a2,_0xd3f03d,_0x58c8c5,_0x2e20ed){const _0x23c703=_0x5e3172;super(),g(this,_0x23c703(0x50b),new _0xd0d94b(0x0)),g(this,_0x23c703(0x18c),this[_0x23c703(0x50b)]['asObservable']()),g(this,_0x23c703(0x15a),new _0x1b8780()),g(this,_0x23c703(0x2c6),this['_event$']['asObservable']()),g(this,_0x23c703(0x437)),g(this,_0x23c703(0x174)),g(this,_0x23c703(0x2ac)),g(this,_0x23c703(0x367),!0x1),g(this,_0x23c703(0x238),null),(this[_0x23c703(0x507)]=_0x3d3998,this['_logService']=_0x549ef3,this['_beforeCloseService']=_0x51e2bd,this[_0x23c703(0x1ee)]=_0x1cfb8a,this[_0x23c703(0x270)]=_0x18af0e,this[_0x23c703(0x48a)]=_0x2466a2,this['_memberService']=_0xd3f03d,this[_0x23c703(0x119)]=_0x58c8c5,this[_0x23c703(0x234)]=_0x2e20ed,this[_0x23c703(0x367)]=!!this[_0x23c703(0x234)],_0x3eabf4[_0x23c703(0x4b6)](_0x34041a(this[_0x23c703(0x511)]))['subscribe'](_0x493201=>{const _0x5ad192=_0x23c703;var _0x52275b;typeof _0x493201>'u'||(this[_0x5ad192(0x437)]=_0x493201,_0x493201?(this[_0x5ad192(0x139)](_0x493201),this[_0x5ad192(0x174)]=_0x493201[_0x5ad192(0x4a1)]['subscribe'](_0xe23949=>{const _0x3f3d5b=_0x5ad192;_0xe23949['routeKey']===this[_0x3f3d5b(0x507)]&&this[_0x3f3d5b(0x246)](_0xe23949);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x5ad192(0x50b)][_0x5ad192(0x23b)](0x2),(_0x52275b=this[_0x5ad192(0x174)])==null||_0x52275b[_0x5ad192(0x527)](),this['_socketMessageSubscription']=null));}),this['disposeWithMe'](this[_0x23c703(0x2b6)][_0x23c703(0x196)](()=>{const _0x4961a0=_0x23c703;var _0x379be3;(_0x379be3=this['_socket'])==null||_0x379be3[_0x4961a0(0x3e0)]({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}});})));}get[_0x5e3172(0x189)](){const _0x5d4309=_0x5e3172;return this[_0x5d4309(0x50b)][_0x5d4309(0x15b)]();}[_0x5e3172(0x399)](){const _0x3290cf=_0x5e3172;var _0x585a8a,_0xf8a0a8;return(_0xf8a0a8=(_0x585a8a=this[_0x3290cf(0x437)])==null?void 0x0:_0x585a8a[_0x3290cf(0x3f1)])!=null?_0xf8a0a8:null;}[_0x5e3172(0x48f)](){const _0x5e1fab=_0x5e3172;super[_0x5e1fab(0x48f)](),this[_0x5e1fab(0x511)][_0x5e1fab(0x23b)](),this[_0x5e1fab(0x511)][_0x5e1fab(0x41f)]();}[_0x5e3172(0x177)](){const _0x42faca=_0x5e3172;var _0x4fe6a6,_0x279018;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4fe6a6=this['_socket'])==null||_0x4fe6a6[_0x42faca(0x3e0)]({'cmd':W[_0x42faca(0x1df)],'data':{'roomID':this[_0x42faca(0x507)]}}),(_0x279018=this[_0x42faca(0x437)])==null||_0x279018[_0x42faca(0x177)](),this[_0x42faca(0x15a)][_0x42faca(0x41f)](),this[_0x42faca(0x50b)][_0x42faca(0x41f)](),this[_0x42faca(0x48f)]();}[_0x5e3172(0x246)](_0x33467d){const _0x44029b=_0x5e3172;_0x33467d[_0x44029b(0x35f)]===W[_0x44029b(0x1ac)]?this['_onJoinRoomEvent'](_0x33467d):_0x33467d[_0x44029b(0x35f)]===W[_0x44029b(0x31b)]&&this[_0x44029b(0x275)](_0x33467d);}['_joinRoom'](_0x596e41){const _0x49e5b7=_0x5e3172;this[_0x49e5b7(0x50b)]['next'](0x1),_0x596e41[_0x49e5b7(0x3e0)]({'cmd':W[_0x49e5b7(0x1ac)],'routeKey':this[_0x49e5b7(0x507)],'routeType':'','data':{'rooms':[{'roomID':this[_0x49e5b7(0x507)]}]}});}['_onJoinRoomEvent'](_0x3146e0){const _0x3c76bc=_0x5e3172;var _0x31eb00;if(_0x3146e0['code']in qs){this['_messageService'][_0x3c76bc(0x4b7)]({'type':_0x59169d[_0x3c76bc(0x18b)],'content':this[_0x3c76bc(0x48a)]['t'](qs[_0x3146e0[_0x3c76bc(0x1d0)]])}),this[_0x3c76bc(0x50b)][_0x3c76bc(0x23b)](0x2);return;}this[_0x3c76bc(0x50b)]['next'](0x3);const _0x31b9d1=(_0x31eb00=_0x3146e0[_0x3c76bc(0x288)][_0x3c76bc(0x4d3)][this[_0x3c76bc(0x507)]])==null?void 0x0:_0x31eb00[_0x3c76bc(0x4e1)];_0x31b9d1&&_0x31b9d1['forEach'](_0x17f7c1=>this[_0x3c76bc(0x16b)][_0x3c76bc(0x508)](this[_0x3c76bc(0x507)],_0x17f7c1));}['_onRecvEvent'](_0xf7219){const _0x18ea7c=_0x5e3172;try{const _0x228d34=_0xf7219[_0x18ea7c(0x288)];switch(_0x228d34[_0x18ea7c(0x451)]){case _0x385814[_0x18ea7c(0x3c2)]:this[_0x18ea7c(0x28d)](_0x228d34),this['_event$'][_0x18ea7c(0x23b)](_0x228d34);break;case _0x385814[_0x18ea7c(0x10f)]:this['_onUserLeave'](_0x228d34),this['_event$']['next'](_0x228d34);break;case _0x385814[_0x18ea7c(0x2e5)]:case _0x385814['CHANGESET_SHOULD_RETRY']:this[_0x18ea7c(0x178)](),this[_0x18ea7c(0x2ce)](),this[_0x18ea7c(0x15a)][_0x18ea7c(0x23b)](_0x228d34);break;case _0x385814[_0x18ea7c(0x411)]:this[_0x18ea7c(0x52d)][_0x18ea7c(0x295)](_0x18ea7c(0x133)+JSON[_0x18ea7c(0x50f)](_0x228d34)),this[_0x18ea7c(0x15a)][_0x18ea7c(0x23b)](_0x228d34);break;case _0x385814[_0x18ea7c(0x2a9)]:this[_0x18ea7c(0x119)][_0x18ea7c(0x263)](_0x228d34[_0x18ea7c(0x288)]),this[_0x18ea7c(0x15a)]['next'](_0x228d34);break;default:this[_0x18ea7c(0x15a)][_0x18ea7c(0x23b)](_0x228d34);}}catch(_0x1d67d4){this[_0x18ea7c(0x52d)][_0x18ea7c(0x295)](_0x1d67d4,_0xf7219);}}[_0x5e3172(0x28d)](_0x46f969){const _0x40d09e=_0x5e3172;this[_0x40d09e(0x16b)][_0x40d09e(0x508)](this[_0x40d09e(0x507)],_0x46f969[_0x40d09e(0x288)]);}[_0x5e3172(0x45a)](_0x4490ad){const _0x423670=_0x5e3172;this[_0x423670(0x16b)][_0x423670(0x37f)](this['_unitID'],_0x4490ad[_0x423670(0x288)]['memberID']);}async[_0x5e3172(0x3e0)](_0xa2ab26,_0x1a9bf4){const _0xf04ad=_0x5e3172;if(this[_0xf04ad(0x189)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0xa2ab26[_0xf04ad(0x451)]===_0x385814['SUBMIT_CHANGESET']&&(this[_0xf04ad(0x3d5)](),this[_0xf04ad(0x4fa)](_0xa2ab26)),this['_socket'][_0xf04ad(0x3e0)]({'cmd':W[_0xf04ad(0x23c)],'routeKey':_0x1a9bf4,'routeType':'','data':_0xa2ab26});}catch(_0x5d0a00){this[_0xf04ad(0x52d)][_0xf04ad(0x295)](_0x5d0a00);}}['_scheduleCollaborationTimeoutTimer'](){const _0x4cab0d=_0x5e3172;var _0x4b26e6;this[_0x4cab0d(0x2ac)]=window[_0x4cab0d(0x273)](()=>{const _0x49dc70=_0x4cab0d;this[_0x49dc70(0x2ac)]=null,this[_0x49dc70(0x1ee)][_0x49dc70(0x4b7)]({'type':_0x59169d[_0x49dc70(0x135)],'content':this[_0x49dc70(0x48a)]['t']('session.collaboration-timeout')});},(_0x4b26e6=this[_0x4cab0d(0x270)][_0x4cab0d(0x186)](ki))!=null?_0x4b26e6:Wi);}['_clearCollaborationTimeoutTimer'](){const _0x5b5439=_0x5e3172;this[_0x5b5439(0x2ac)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x5b5439(0x2ac)]=null);}[_0x5e3172(0x4fa)](_0x4b3164){const _0x2b8a42=_0x5e3172;if(!this[_0x2b8a42(0x367)])return;const {data:_0x2b086c}=_0x4b3164,{unitID:_0x1facc7,changeset:_0x1a65eb}=_0x2b086c,{mutations:_0xf68e39,type:_0x39494f}=_0x1a65eb;this[_0x2b8a42(0x238)]={'unitId':_0x1facc7,'type':_0x39494f,'startTime':performance[_0x2b8a42(0x256)](),'stopTime':0x0,'duration':0x0,'size':qn(_0xf68e39)};}[_0x5e3172(0x178)](){const _0x2ba02b=_0x5e3172;if(this['_shouldReportTelemetry']){if(!this[_0x2ba02b(0x238)]){this[_0x2ba02b(0x52d)][_0x2ba02b(0x295)](_0x2ba02b(0x487),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2ba02b(0x238)][_0x2ba02b(0x4a5)]=performance[_0x2ba02b(0x256)](),this['_telemetryInfo'][_0x2ba02b(0x290)]=this[_0x2ba02b(0x238)]['stopTime']-this[_0x2ba02b(0x238)][_0x2ba02b(0x194)],this[_0x2ba02b(0x234)][_0x2ba02b(0x1a2)](Kn,this[_0x2ba02b(0x238)]),this['_telemetryInfo']=null;}}[_0x5e3172(0x4fc)](){const _0x2ae619=_0x5e3172;this[_0x2ae619(0x238)]=null;}};hs=to([Ee(0x2,_0xadcc6),Ee(0x3,_0x38bd7e),Ee(0x4,_0x28a2c3),Ee(0x5,_0x3a37b7),Ee(0x6,_0x1259a7(_0x56a2bf)),Ee(0x7,_0x1259a7(Me)),Ee(0x8,_0x1259a7(Yi)),Ee(0x9,_0x2f5f30(_0x42c595))],hs);var so=Object['defineProperty'],io=Object[_0x5e3172(0x26f)],ro=(_0x5e8d8b,_0x383c17,_0x54df92,_0x3689a6)=>{const _0x4e0732=_0x5e3172;for(var _0x518b13=_0x3689a6>0x1?void 0x0:_0x3689a6?io(_0x383c17,_0x54df92):_0x383c17,_0xc3ebec=_0x5e8d8b[_0x4e0732(0x2c8)]-0x1,_0x2116bc;_0xc3ebec>=0x0;_0xc3ebec--)(_0x2116bc=_0x5e8d8b[_0xc3ebec])&&(_0x518b13=(_0x3689a6?_0x2116bc(_0x383c17,_0x54df92,_0x518b13):_0x2116bc(_0x518b13))||_0x518b13);return _0x3689a6&&_0x518b13&&so(_0x383c17,_0x54df92,_0x518b13),_0x518b13;},ye=(_0x58c95a,_0x553a23)=>(_0x42e168,_0x52b47f)=>_0x553a23(_0x42e168,_0x52b47f,_0x58c95a);let xe=class extends _0x5f337f{constructor(_0xfd5a90,_0x1b76f9,_0x2a4dda,_0x54eed2,_0x1a14bc,_0x7febe9,_0x402a35){const _0x27f3d5=_0x5e3172;super(),g(this,_0x27f3d5(0x1d7),new _0xd0d94b(void 0x0)),g(this,'socket$',this[_0x27f3d5(0x1d7)][_0x27f3d5(0x306)]()),g(this,_0x27f3d5(0x187),null),g(this,_0x27f3d5(0x17f),new Map()),g(this,_0x27f3d5(0x1d6),new _0xd0d94b(fe[_0x27f3d5(0x352)])),g(this,_0x27f3d5(0x52f),this['_status$'][_0x27f3d5(0x306)]()),g(this,_0x27f3d5(0x1d4),!0x1),g(this,_0x27f3d5(0x3c3)),g(this,_0x27f3d5(0x2f7),0x0),g(this,_0x27f3d5(0x12d)),g(this,_0x27f3d5(0x311)),(this['_injector']=_0xfd5a90,this[_0x27f3d5(0x48a)]=_0x1b76f9,this[_0x27f3d5(0x1ee)]=_0x2a4dda,this[_0x27f3d5(0x52d)]=_0x54eed2,this[_0x27f3d5(0x270)]=_0x1a14bc,this[_0x27f3d5(0x2b3)]=_0x7febe9,this['_httpService']=_0x402a35,this[_0x27f3d5(0x3cf)]());}get[_0x5e3172(0x437)](){const _0x1ef607=_0x5e3172;return this[_0x1ef607(0x1d7)]['getValue']();}[_0x5e3172(0x3cf)](){const _0x1df571=_0x5e3172;this[_0x1df571(0x145)](),this[_0x1df571(0x2e8)]();}[_0x5e3172(0x48f)](){const _0x366a1c=_0x5e3172;super['dispose'](),this[_0x366a1c(0x17f)]['forEach'](_0x57ecf5=>_0x57ecf5['dispose']()),this[_0x366a1c(0x17f)][_0x366a1c(0x3db)](),this['_status$'][_0x366a1c(0x41f)]();}async[_0x5e3172(0x17e)](_0x4de43d){const _0x23e2f2=_0x5e3172;if(this['_sessions'][_0x23e2f2(0x3cb)](_0x4de43d))return this[_0x23e2f2(0x17f)][_0x23e2f2(0x307)](_0x4de43d);this['_tryEnsureSocket']();const _0x273206=this[_0x23e2f2(0x3b4)][_0x23e2f2(0x13c)](hs,_0x4de43d,this[_0x23e2f2(0x1d7)][_0x23e2f2(0x306)]());return this[_0x23e2f2(0x17f)][_0x23e2f2(0x332)](_0x4de43d,_0x273206),_0x273206;}['closeSession'](_0xa93c75){const _0x4baebc=_0x5e3172;var _0x4f5643;const _0x4a0606=this['_sessions'][_0x4baebc(0x307)](_0xa93c75);_0x4a0606&&(this['_sessions'][_0x4baebc(0x480)](_0xa93c75),_0x4a0606['close']()),this[_0x4baebc(0x17f)][_0x4baebc(0x3aa)]||(_0x4f5643=this[_0x4baebc(0x437)])==null||_0x4f5643[_0x4baebc(0x177)]();}['reconnect'](){const _0x56693b=_0x5e3172;this['_retryCount']=0x0,this[_0x56693b(0x3c3)]!=null&&(clearTimeout(this[_0x56693b(0x3c3)]),this['_retryConnectingTimer']=null),this[_0x56693b(0x322)]();}async[_0x5e3172(0x3d6)](){const _0x37ffad=_0x5e3172;var _0x478709,_0x3e8dae,_0x4ccfa4;const _0x2c9c16=this[_0x37ffad(0x270)]['getConfig'](Q),_0x445e35=(_0x478709=_0x2c9c16==null?void 0x0:_0x2c9c16['wsSessionTicketUrl'])!=null?_0x478709:wn;return(_0x4ccfa4=(_0x3e8dae=(await this['_httpService'][_0x37ffad(0x307)](_0x445e35,{'headers':{'Content-Type':_0x37ffad(0x17b)}}))[_0x37ffad(0x2da)])==null?void 0x0:_0x3e8dae['ticket'])!=null?_0x4ccfa4:'';}[_0x5e3172(0x3da)](_0x163086){const _0x572bff=_0x5e3172;var _0x5d185b,_0x2731b0;const _0x504784=this[_0x572bff(0x270)][_0x572bff(0x186)](On),_0x33b5ef=this[_0x572bff(0x270)][_0x572bff(0x186)](Q),_0x2df0a4=(_0x2731b0=(_0x5d185b=_0x33b5ef==null?void 0x0:_0x33b5ef[_0x572bff(0x2dd)])!=null?_0x5d185b:_0x504784)!=null?_0x2731b0:yn,_0xea6b91=new URL(_0x2df0a4,window[_0x572bff(0x4e2)]['origin']);return _0xea6b91['searchParams'][_0x572bff(0x332)]('sessionTicket',_0x163086),_0xea6b91[_0x572bff(0x129)]();}async[_0x5e3172(0x348)](){const _0x18b459=_0x5e3172,_0x1efbe=await this[_0x18b459(0x3d6)](),_0x510ce7=this['_createSocketURL'](_0x1efbe),_0x25ad56=this[_0x18b459(0x2b3)][_0x18b459(0x111)](_0x510ce7);return this['_candidateSocket']=_0x25ad56,_0x25ad56;}async[_0x5e3172(0x1b7)](){const _0xb75577=_0x5e3172;var _0x501ae9,_0x2528bf;try{const _0x494b0f=(_0x2528bf=(_0x501ae9=this['_socket'])!=null?_0x501ae9:this[_0xb75577(0x187)])!=null?_0x2528bf:await this[_0xb75577(0x348)]();if(_0x494b0f){const _0x58ed8d=_0x494b0f['send'];_0x494b0f[_0xb75577(0x3e0)]=_0x1a5431=>(this['_rescheduleHeartbeat'](),_0x58ed8d[_0xb75577(0x212)](_0x494b0f,[_0x1a5431])),_0x494b0f[_0xb75577(0x4a1)]['subscribe'](_0x54be46=>this[_0xb75577(0x156)](_0x494b0f,_0x54be46)),_0x494b0f[_0xb75577(0x521)][_0xb75577(0x4b6)](_0x287b41(0x1))[_0xb75577(0x134)](_0x1103e7=>this['_logService'][_0xb75577(0x295)](_0xb75577(0x476),_0x1103e7)),_0x494b0f['open$']['pipe'](_0x287b41(0x1))[_0xb75577(0x134)](()=>{this['_onConnectionOpen'](_0x494b0f);}),_0x494b0f[_0xb75577(0x3b8)]['pipe'](_0x287b41(0x1))['subscribe'](_0x32f5a0=>{const _0x1b9a88=_0xb75577;this['_logService'][_0x1b9a88(0x16d)](_0x1b9a88(0x1c4),_0x1b9a88(0x4ce),_0x32f5a0),this['_onConnectionFailed']();});}}catch(_0x5db971){this['_logService']['error'](_0x5db971),this[_0xb75577(0x1b5)]();}}[_0x5e3172(0x2ba)](_0x359406){const _0x33f2cb=_0x5e3172;this[_0x33f2cb(0x52d)]['debug'](_0x33f2cb(0x1c4),_0x33f2cb(0x18d)),_0x359406[_0x33f2cb(0x3e0)]({'cmd':W[_0x33f2cb(0x33e)]}),this[_0x33f2cb(0x427)]();}[_0x5e3172(0x145)](){const _0x550e2b=_0x5e3172;window[_0x550e2b(0x522)](_0x550e2b(0x11b),()=>this[_0x550e2b(0x31a)]());}[_0x5e3172(0x31a)](){const _0x1f1bd5=_0x5e3172;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x1f1bd5(0x23b)](fe['OFFLINE']),this['_socket$']['next'](null),this['_clearTimeoutTimer'](),this[_0x1f1bd5(0x4f0)]();}['_onConnectionFailed'](){const _0x55486e=_0x5e3172;var _0xdb8e37;this[_0x55486e(0x31a)](),this[_0x55486e(0x2f7)]<((_0xdb8e37=this[_0x55486e(0x270)][_0x55486e(0x186)](Un))!=null?_0xdb8e37:An)?(this[_0x55486e(0x1ee)][_0x55486e(0x4b7)]({'key':_0x55486e(0x198),'type':_0x59169d[_0x55486e(0x18b)],'content':this[_0x55486e(0x48a)]['t'](_0x55486e(0x4ca))}),this[_0x55486e(0x322)]()):this['_messageService']['show']({'key':'collaboration-session-retry','type':_0x59169d['Error'],'content':this[_0x55486e(0x48a)]['t'](_0x55486e(0x3b2))});}['_listenToOnlineEvent'](){const _0x463cde=_0x5e3172,_0x3079af=()=>{const _0x9472fa=_0x1eb2;this['_socket']||this[_0x9472fa(0x48b)]();},_0x41b05f=()=>{const _0x1c81a4=_0x1eb2;this[_0x1c81a4(0x437)]||document['visibilityState']===_0x1c81a4(0x185)||this[_0x1c81a4(0x48b)]();};window[_0x463cde(0x522)]('online',_0x3079af),document[_0x463cde(0x522)]('visibilitychange',_0x41b05f);}[_0x5e3172(0x322)](){const _0x348249=_0x5e3172;var _0x57ef63;const _0x32c7cf=this[_0x348249(0x2f7)],_0x622768=this[_0x348249(0x270)][_0x348249(0x186)](Q),_0xeb33fc=_0x32c7cf===0x0?0x0:((_0x57ef63=_0x622768==null?void 0x0:_0x622768[_0x348249(0x319)])!=null?_0x57ef63:Nn)*0x2**_0x32c7cf;this[_0x348249(0x3c3)]=window[_0x348249(0x273)](()=>{const _0x41c67a=_0x348249;clearTimeout(this[_0x41c67a(0x3c3)]),this[_0x41c67a(0x3c3)]=null,this[_0x41c67a(0x1b7)]();},_0xeb33fc),this[_0x348249(0x2f7)]+=0x1;}['_onMessage'](_0x3fa92f,_0x1f2e51){const _0x4157c6=_0x5e3172,{cmd:_0x5efba3}=_0x1f2e51;_0x5efba3===W[_0x4157c6(0x33e)]&&!this[_0x4157c6(0x1d4)]&&(_0x3fa92f[_0x4157c6(0x3f1)]=_0x1f2e51[_0x4157c6(0x288)]['memberID'],this[_0x4157c6(0x1d7)][_0x4157c6(0x23b)](_0x3fa92f),this['_status$'][_0x4157c6(0x23b)](fe[_0x4157c6(0x2e2)]),this[_0x4157c6(0x1d4)]=!0x0,this[_0x4157c6(0x187)]=null),_0x5efba3===W[_0x4157c6(0x420)]&&this['_clearTimeoutTimer'](),this[_0x4157c6(0x427)]();}[_0x5e3172(0x427)](){const _0x41d33a=_0x5e3172;var _0x450232;this[_0x41d33a(0x4f0)](),this[_0x41d33a(0x12d)]=window[_0x41d33a(0x273)](()=>this['_sendHeartbeat'](),(_0x450232=this[_0x41d33a(0x270)][_0x41d33a(0x186)](Dn))!=null?_0x450232:Pn);}[_0x5e3172(0x445)](){const _0x716955=_0x5e3172;this[_0x716955(0x437)][_0x716955(0x3e0)]({'cmd':W[_0x716955(0x420)]}),this[_0x716955(0x2d3)]();}[_0x5e3172(0x2d3)](){const _0x27de45=_0x5e3172;var _0x106058;this[_0x27de45(0x311)]=window['setTimeout'](()=>this[_0x27de45(0x1b5)](),(_0x106058=this[_0x27de45(0x270)][_0x27de45(0x186)](ki))!=null?_0x106058:Wi);}[_0x5e3172(0x4f0)](){const _0x2d7b59=_0x5e3172;this[_0x2d7b59(0x12d)]!=null&&(clearTimeout(this[_0x2d7b59(0x12d)]),this['_sendHeartbeatTimer']=null);}[_0x5e3172(0x2f1)](){const _0x52ca72=_0x5e3172;this[_0x52ca72(0x311)]!=null&&(clearTimeout(this[_0x52ca72(0x311)]),this[_0x52ca72(0x311)]=null);}};xe=ro([ye(0x0,_0x1259a7(_0xa6ca3c)),ye(0x1,_0x1259a7(_0x56a2bf)),ye(0x2,_0x28a2c3),ye(0x3,_0xadcc6),ye(0x4,_0x3a37b7),ye(0x5,Gi),ye(0x6,_0x1259a7(_0x21ff0e))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y['push']((i+0x100)[_0x5e3172(0x129)](0x10)[_0x5e3172(0x469)](0x1));function no(_0x8d3d4b,_0x504228=0x0){const _0x337337=_0x5e3172;return(Y[_0x8d3d4b[_0x504228+0x0]]+Y[_0x8d3d4b[_0x504228+0x1]]+Y[_0x8d3d4b[_0x504228+0x2]]+Y[_0x8d3d4b[_0x504228+0x3]]+'-'+Y[_0x8d3d4b[_0x504228+0x4]]+Y[_0x8d3d4b[_0x504228+0x5]]+'-'+Y[_0x8d3d4b[_0x504228+0x6]]+Y[_0x8d3d4b[_0x504228+0x7]]+'-'+Y[_0x8d3d4b[_0x504228+0x8]]+Y[_0x8d3d4b[_0x504228+0x9]]+'-'+Y[_0x8d3d4b[_0x504228+0xa]]+Y[_0x8d3d4b[_0x504228+0xb]]+Y[_0x8d3d4b[_0x504228+0xc]]+Y[_0x8d3d4b[_0x504228+0xd]]+Y[_0x8d3d4b[_0x504228+0xe]]+Y[_0x8d3d4b[_0x504228+0xf]])[_0x337337(0x1cc)]();}let Gt;const oo=new Uint8Array(0x10);function ao(){const _0x58bdca=_0x5e3172;if(!Gt){if(typeof crypto>'u'||!crypto[_0x58bdca(0x2db)])throw new Error(_0x58bdca(0x27f));Gt=crypto[_0x58bdca(0x2db)][_0x58bdca(0x40e)](crypto);}return Gt(oo);}const co=typeof crypto<'u'&&crypto[_0x5e3172(0x325)]&&crypto[_0x5e3172(0x325)][_0x5e3172(0x40e)](crypto),zs={'randomUUID':co};function ho(_0x461f80,_0x1c2437,_0x4d9dd8){const _0x9b796f=_0x5e3172;if(zs['randomUUID']&&!_0x1c2437&&!_0x461f80)return zs['randomUUID']();_0x461f80=_0x461f80||{};const _0x2d8266=_0x461f80[_0x9b796f(0x34c)]||(_0x461f80['rng']||ao)();return _0x2d8266[0x6]=_0x2d8266[0x6]&0xf|0x40,_0x2d8266[0x8]=_0x2d8266[0x8]&0x3f|0x80,no(_0x2d8266);}var lo=Object[_0x5e3172(0x243)],_o=Object['getOwnPropertyDescriptor'],uo=(_0x21b7da,_0x16fb36,_0x278aef,_0x15f61e)=>{for(var _0x3680c3=_0x15f61e>0x1?void 0x0:_0x15f61e?_o(_0x16fb36,_0x278aef):_0x16fb36,_0x153ad3=_0x21b7da['length']-0x1,_0x2f183c;_0x153ad3>=0x0;_0x153ad3--)(_0x2f183c=_0x21b7da[_0x153ad3])&&(_0x3680c3=(_0x15f61e?_0x2f183c(_0x16fb36,_0x278aef,_0x3680c3):_0x2f183c(_0x3680c3))||_0x3680c3);return _0x15f61e&&_0x3680c3&&lo(_0x16fb36,_0x278aef,_0x3680c3),_0x3680c3;},Yt=(_0x5c30cd,_0x5cd188)=>(_0xe1f822,_0x527f68)=>_0x5cd188(_0xe1f822,_0x527f68,_0x5c30cd);let yt=class{constructor(_0x27993f,_0x1e821a,_0x209376){const _0x252c47=_0x5e3172;this[_0x252c47(0x3b4)]=_0x27993f,this[_0x252c47(0x4ff)]=_0x1e821a,this[_0x252c47(0x4ee)]=_0x209376;}[_0x5e3172(0x1d8)](_0x31d3e7){const _0x258148=_0x5e3172;this[_0x258148(0x2f0)](_0x31d3e7),this[_0x258148(0x440)](_0x31d3e7);}[_0x5e3172(0x3a2)](_0x2a812c){const _0x1740c6=_0x5e3172,{unitID:_0x411b1d}=_0x2a812c,_0x429a4c=this[_0x1740c6(0x4ee)][_0x1740c6(0x340)](_0x411b1d)[_0x1740c6(0x3c4)](_0x3ded9c),{redoCache:_0x1b22d2}=_0x429a4c[_0x1740c6(0x1e4)]();if(_0x1b22d2[_0x1740c6(0x2c8)]===0x0)return _0x2a812c;let _0xbb3a18=_0x279a54['deepClone'](_0x2a812c['mutations'][0x0]);for(let _0x3a4e09=0x0;_0x3a4e09<_0x1b22d2[_0x1740c6(0x2c8)];_0x3a4e09++){const _0x402251={'id':'doc.mutation.rich-text-editing','params':{..._0x1b22d2[_0x3a4e09]}},_0x1f7825=this['_transformService'][_0x1740c6(0x357)](_0xbb3a18,_0x402251,!0x1);if(_0x29729a(_0x1f7825))throw _0x1f7825[_0x1740c6(0x295)];_0xbb3a18=_0x1f7825[_0x1740c6(0x4df)];}return{..._0x279a54['deepClone'](_0x2a812c),'mutations':[_0xbb3a18]};}['_transformUndoRedoStack'](_0x33d8af){const _0x290f0f=_0x5e3172,{unitID:_0xca9435}=_0x33d8af,_0x4eea35=this[_0x290f0f(0x4ee)][_0x290f0f(0x340)](_0xca9435)[_0x290f0f(0x3c4)](_0x3ded9c),{undoCache:_0x5db5b8,redoCache:_0x430d83}=_0x4eea35[_0x290f0f(0x1e4)]();if(_0x5db5b8['length']===0x0||_0x430d83[_0x290f0f(0x2c8)]===0x0)return;const _0x55d77a=[],_0x58c8a6=[];let _0x5a642a=_0x279a54[_0x290f0f(0x3d3)](_0x33d8af[_0x290f0f(0x1b2)][0x0]),_0x325ce3=_0x279a54[_0x290f0f(0x3d3)](_0x33d8af[_0x290f0f(0x1b2)][0x0]);for(let _0x2eebbd=_0x5db5b8[_0x290f0f(0x2c8)]-0x1;_0x2eebbd>=0x0;_0x2eebbd--){const _0xbf63dd={'id':_0x290f0f(0x42b),'params':{..._0x5db5b8[_0x2eebbd]}},_0x5a0e9a={'id':_0x290f0f(0x42b),'params':{..._0x430d83[_0x2eebbd]}},_0x2c7971=this[_0x290f0f(0x4ff)][_0x290f0f(0x357)](_0x5a642a,_0xbf63dd,!0x1),_0xd0fc6e=this[_0x290f0f(0x4ff)]['transformMutation'](_0x325ce3,_0x5a0e9a,!0x1);if(_0x29729a(_0x2c7971))throw _0x2c7971[_0x290f0f(0x295)];if(_0x29729a(_0xd0fc6e))throw _0xd0fc6e[_0x290f0f(0x295)];_0x55d77a[_0x290f0f(0x4d0)](_0x2c7971['m2Prime'][_0x290f0f(0x436)]),_0x58c8a6[_0x290f0f(0x4d0)](_0xd0fc6e[_0x290f0f(0x20f)][_0x290f0f(0x436)]),_0x5a642a=_0x2c7971['m1Prime'],_0x325ce3=_0xd0fc6e[_0x290f0f(0x4df)];}_0x4eea35[_0x290f0f(0x377)]({'undoCache':_0x55d77a,'redoCache':_0x58c8a6});}[_0x5e3172(0x440)](_0x4dcd26){const _0x3bcc07=_0x5e3172,{unitID:_0x56d4d1}=_0x4dcd26,_0x5e46c9=this[_0x3bcc07(0x4ee)][_0x3bcc07(0x340)](_0x56d4d1)[_0x3bcc07(0x3c4)](_0x3ded9c),_0x3a916a=_0x5e46c9[_0x3bcc07(0x294)]();if(_0x3a916a==null)return;const _0x51ed5d=[{'id':_0x3bcc07(0x42b),'params':{'unitId':_0x4dcd26[_0x3bcc07(0x4e4)],'actions':null,'textRanges':[_0x3a916a]}}],_0x439e56=this[_0x3bcc07(0x4ff)][_0x3bcc07(0x4a6)](_0x4dcd26,_0x51ed5d);if(!_0x17cfb3(_0x439e56))throw _0x439e56[_0x3bcc07(0x295)];const _0x2a359d=_0x439e56[_0x3bcc07(0x20f)][0x0][_0x3bcc07(0x436)][_0x3bcc07(0x495)];Array['isArray'](_0x2a359d)&&_0x2a359d[_0x3bcc07(0x2c8)]&&_0x5e46c9[_0x3bcc07(0x239)](_0x2a359d[0x0]);}};yt=uo([Yt(0x0,_0x1259a7(_0xa6ca3c)),Yt(0x1,_0x2a04be),Yt(0x2,_0x2d7ddc)],yt);var fo=Object[_0x5e3172(0x243)],vo=Object[_0x5e3172(0x26f)],po=(_0xd73d1e,_0x7cb30f,_0x566de3,_0x40a183)=>{const _0x2e5161=_0x5e3172;for(var _0x37003a=_0x40a183>0x1?void 0x0:_0x40a183?vo(_0x7cb30f,_0x566de3):_0x7cb30f,_0x5ce76a=_0xd73d1e[_0x2e5161(0x2c8)]-0x1,_0x2c218a;_0x5ce76a>=0x0;_0x5ce76a--)(_0x2c218a=_0xd73d1e[_0x5ce76a])&&(_0x37003a=(_0x40a183?_0x2c218a(_0x7cb30f,_0x566de3,_0x37003a):_0x2c218a(_0x37003a))||_0x37003a);return _0x40a183&&_0x37003a&&fo(_0x7cb30f,_0x566de3,_0x37003a),_0x37003a;},Xe=(_0x3cf245,_0x1f168f)=>(_0x541dd0,_0x1b5f5d)=>_0x1f168f(_0x541dd0,_0x1b5f5d,_0x3cf245);let z=class extends _0x5f337f{constructor(_0x322f21,_0x29f9ef,_0x1d420b,_0x5c1a02,_0x1a68a1){const _0x56a61b=_0x5e3172;super(),g(this,_0x56a61b(0x247),new Map()),g(this,_0x56a61b(0x3e1),new Map()),g(this,_0x56a61b(0x31c),!0x1),(this[_0x56a61b(0x270)]=_0x322f21,this['_localStorageService']=_0x29f9ef,this[_0x56a61b(0x2b6)]=_0x1d420b,this[_0x56a61b(0x48a)]=_0x5c1a02,this[_0x56a61b(0x2fd)]=_0x1a68a1,this[_0x56a61b(0x523)]());}[_0x5e3172(0x27d)](){const _0x16a384=_0x5e3172;this[_0x16a384(0x31c)]=!0x0;}[_0x5e3172(0x190)](){const _0x5d45f2=_0x5e3172;this[_0x5d45f2(0x31c)]=!0x1;}[_0x5e3172(0x48f)](){const _0x5865a3=_0x5e3172;this[_0x5865a3(0x3cc)]()[_0x5865a3(0x15e)](()=>super[_0x5865a3(0x48f)]());}async['loadOfflineData'](_0x430502){const _0x4f3ecd=_0x5e3172;return this[_0x4f3ecd(0x31c)]?null:this[_0x4f3ecd(0x406)][_0x4f3ecd(0x359)](Xs(_0x430502));}async[_0x5e3172(0x428)](_0x1cc653,_0x515283){const _0x3ad32f=_0x5e3172;return!!this[_0x3ad32f(0x406)][_0x3ad32f(0x154)](_0x1cc653,_0x515283);}[_0x5e3172(0x422)](_0x496937,_0x5af84d,_0x2709e4,_0x164545){const _0x15e84e=_0x5e3172,_0x2ef569=this[_0x15e84e(0x2fd)][_0x15e84e(0x30c)](_0x496937);this[_0x15e84e(0x247)]['set'](_0x496937,{'unitID':_0x496937,'type':_0x5af84d,'awaitingChangeset':_0x2709e4,'mutations':_0x164545,'rev':_0x2ef569}),this[_0x15e84e(0x3e1)][_0x15e84e(0x3cb)](_0x496937)||this[_0x15e84e(0x1b4)](_0x496937);}[_0x5e3172(0x1b4)](_0x5a34dd){const _0x166e72=_0x5e3172,_0x49325=this['_getSaveTimeout']();_0x49325===0x0?this[_0x166e72(0x2a2)](_0x5a34dd):this[_0x166e72(0x3e1)][_0x166e72(0x332)](_0x5a34dd,setTimeout(()=>this[_0x166e72(0x2a2)](_0x5a34dd),_0x49325));}[_0x5e3172(0x4be)](){const _0x58e2d0=_0x5e3172;var _0x4b149d;return(_0x4b149d=this[_0x58e2d0(0x270)]['getConfig'](Mn))!=null?_0x4b149d:xn;}[_0x5e3172(0x2a2)](_0x56a95b){const _0x48482d=_0x5e3172,_0x1faa19=this[_0x48482d(0x3e1)]['get'](_0x56a95b);return _0x1faa19!==void 0x0&&window[_0x48482d(0x1fd)](_0x1faa19),this[_0x48482d(0x406)][_0x48482d(0x154)](Xs(_0x56a95b),this['_cachedData'][_0x48482d(0x307)](_0x56a95b))[_0x48482d(0x15e)](()=>this[_0x48482d(0x3e1)]['delete'](_0x56a95b));}async['exhaustSavingTask'](){const _0xbed44f=_0x5e3172,_0x33c3c7=[];this[_0xbed44f(0x3e1)]['forEach']((_0x2546f7,_0x5482bb)=>{const _0x35fc25=_0xbed44f;window[_0x35fc25(0x1fd)](_0x2546f7),_0x33c3c7[_0x35fc25(0x38e)](this['_saveCache'](_0x5482bb)[_0x35fc25(0x15e)](()=>{const _0x316ae6=_0x35fc25;this[_0x316ae6(0x3e1)]['delete'](_0x5482bb);}));}),await Promise[_0xbed44f(0x49a)](_0x33c3c7);}[_0x5e3172(0x523)](){const _0x4b9273=_0x5e3172;this[_0x4b9273(0x2d9)](this[_0x4b9273(0x2b6)]['registerBeforeClose'](()=>{const _0x388878=_0x4b9273;if(this[_0x388878(0x3e1)][_0x388878(0x3aa)])return this[_0x388878(0x48a)]['t']('collaboration-client.offline-data-not-saved');}));}};z=po([Xe(0x0,_0x3a37b7),Xe(0x1,_0x489004),Xe(0x2,_0x38bd7e),Xe(0x3,_0x1259a7(_0x56a2bf)),Xe(0x4,_0x1259a7(_0x5730a1))],z);function Xs(_0x278885){const _0x448532=_0x5e3172;return _0x448532(0x2bf)+_0x278885;}var mo=Object[_0x5e3172(0x243)],go=Object[_0x5e3172(0x26f)],So=(_0xdac360,_0x3a8474,_0x48c0f1,_0xa86c74)=>{const _0x24890c=_0x5e3172;for(var _0x2a9a29=_0xa86c74>0x1?void 0x0:_0xa86c74?go(_0x3a8474,_0x48c0f1):_0x3a8474,_0x510887=_0xdac360[_0x24890c(0x2c8)]-0x1,_0x473d1c;_0x510887>=0x0;_0x510887--)(_0x473d1c=_0xdac360[_0x510887])&&(_0x2a9a29=(_0xa86c74?_0x473d1c(_0x3a8474,_0x48c0f1,_0x2a9a29):_0x473d1c(_0x2a9a29))||_0x2a9a29);return _0xa86c74&&_0x2a9a29&&mo(_0x3a8474,_0x48c0f1,_0x2a9a29),_0x2a9a29;},Kt=(_0x4cb289,_0x1ea2e2)=>(_0x525e5e,_0x4205f8)=>_0x1ea2e2(_0x525e5e,_0x4205f8,_0x4cb289);function Io(_0x19ddae){const {unitID:_0x54421f,mutations:_0x232840}=_0x19ddae;return{'unitId':_0x54421f,'subUnitId':_0x232840[0x0]['params']['subUnitId']};}let wt=class{constructor(_0x29cdd3,_0x30bcc7,_0x2c67ca){const _0x4b6d2e=_0x5e3172;this[_0x4b6d2e(0x3b4)]=_0x29cdd3,this[_0x4b6d2e(0x4ff)]=_0x30bcc7,this[_0x4b6d2e(0x3f2)]=_0x2c67ca;}[_0x5e3172(0x385)](_0x5cfb32){const _0x92cf6a=_0x5e3172;var _0x11d21b,_0x2748ec,_0x4bd1c3,_0x4a4a42;const _0x142255=this[_0x92cf6a(0x3b4)]['get'](_0x10dd54),{unitId:_0x5075e5,subUnitId:_0x55db68}=Io(_0x5cfb32),_0x30c259=_0x142255[_0x92cf6a(0x43e)](_0x5075e5)[_0x92cf6a(0x39e)](),_0x483b56=(_0x2748ec=(_0x11d21b=this['_instanceService']['getUnit'](_0x5075e5))==null?void 0x0:_0x11d21b[_0x92cf6a(0x328)]())==null?void 0x0:_0x2748ec[_0x92cf6a(0x29c)]();if(_0x30c259[_0x92cf6a(0x2c8)]===0x0||!_0x5075e5||!_0x55db68)return;const _0x4e9bec=[{'id':_0x3f708e['id'],'params':{'unitId':_0x5075e5,'subUnitId':_0x483b56,'selections':_0x279a54[_0x92cf6a(0x3d3)](_0x30c259)}}],_0x2ca355=this[_0x92cf6a(0x4ff)]['transformMutationsWithChangeset'](_0x5cfb32,_0x4e9bec);if(!_0x17cfb3(_0x2ca355))throw _0x2ca355['error'];const _0x5352ec=(_0x4a4a42=(_0x4bd1c3=_0x2ca355[_0x92cf6a(0x20f)][0x0])==null?void 0x0:_0x4bd1c3[_0x92cf6a(0x436)])==null?void 0x0:_0x4a4a42['selections'];if(Array[_0x92cf6a(0x468)](_0x5352ec)&&_0x5352ec[_0x92cf6a(0x2c8)]){if(_0x5352ec[_0x92cf6a(0x2c8)]===_0x4e9bec[0x0][_0x92cf6a(0x436)][_0x92cf6a(0x217)][_0x92cf6a(0x2c8)]&&_0x5352ec[_0x92cf6a(0x3b5)]((_0x48f1d3,_0x252ac0)=>_0x50302c['equals'](_0x48f1d3[_0x92cf6a(0x168)],_0x4e9bec[0x0]['params']['selections'][_0x252ac0][_0x92cf6a(0x168)])))return;this[_0x92cf6a(0x3b4)][_0x92cf6a(0x307)](_0x58c2c0)['executeCommand'](_0x3f708e['id'],{'unitId':_0x5075e5,'subUnitId':_0x483b56,'selections':_0x5352ec});}}};wt=So([Kt(0x0,_0x1259a7(_0xa6ca3c)),Kt(0x1,_0x2a04be),Kt(0x2,_0x381e7e)],wt);const jt=_0x311f8c(_0x5e3172(0x22b));var Ki=(_0x14d0b7=>(_0x14d0b7[_0x14d0b7[_0x5e3172(0x3ec)]=0x0]=_0x5e3172(0x3ec),_0x14d0b7[_0x14d0b7['OTHER_CLIENTS_EDITING']=0x1]=_0x5e3172(0x42e),_0x14d0b7))(Ki||{});const Js=0x7530,Zs=_0x5e3172(0x490);class Co extends _0x5f337f{constructor(){const _0x50d31f=_0x5e3172;super(),g(this,'_id',_0x279a54[_0x50d31f(0x18f)]()),g(this,_0x50d31f(0x510),new Set()),g(this,_0x50d31f(0x2a7),new Map()),g(this,'_heartbeatTimer',null),g(this,_0x50d31f(0x25d),new Map()),g(this,_0x50d31f(0x216),new Map()),this[_0x50d31f(0x1d2)]();}[_0x5e3172(0x48f)](){const _0x48b516=_0x5e3172;super['dispose'](),this[_0x48b516(0x25d)][_0x48b516(0x356)]((_0x45ed88,_0x28df67)=>this[_0x48b516(0x456)](_0x28df67)),this[_0x48b516(0x1f6)]&&window[_0x48b516(0x463)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x552a85){const _0x519a05=_0x5e3172;return this[_0x519a05(0x315)](_0x552a85)[_0x519a05(0x4b6)](_0x11e04f());}[_0x5e3172(0x203)](_0x390ff5){const _0x1c22ca=_0x5e3172;this['_selfUnitIDs'][_0x1c22ca(0x3aa)]===0x0&&this[_0x1c22ca(0x12b)](),this[_0x1c22ca(0x510)][_0x1c22ca(0x15f)](_0x390ff5),this[_0x1c22ca(0x147)]({'type':0x0,'memberID':this[_0x1c22ca(0x466)],'unitIDs':[_0x390ff5],'isForwarded':!0x1});}[_0x5e3172(0x3af)](_0x2c2d40){const _0x5bedcd=_0x5e3172;this[_0x5bedcd(0x510)][_0x5bedcd(0x480)](_0x2c2d40),this[_0x5bedcd(0x510)][_0x5bedcd(0x3aa)]===0x0&&this['_heartbeatTimer']&&window[_0x5bedcd(0x463)](this[_0x5bedcd(0x1f6)]);}[_0x5e3172(0x1d2)](){const _0x37a48e=_0x5e3172;this[_0x37a48e(0x2d9)](_0x38e5fb(_0x1a191c(window,_0x37a48e(0x333))[_0x37a48e(0x134)](_0x536b2d=>{const _0x45d501=_0x37a48e;if(_0x536b2d[_0x45d501(0x36a)]!==Zs||!_0x536b2d[_0x45d501(0x191)])return;const _0x5dfea5=JSON[_0x45d501(0x32f)](_0x536b2d[_0x45d501(0x191)]);this[_0x45d501(0x2fe)](_0x5dfea5);}))),window[_0x37a48e(0x522)]('unload',()=>this[_0x37a48e(0x147)]({'type':0x1,'memberID':this[_0x37a48e(0x466)],'unitIDs':Array[_0x37a48e(0x49e)](this[_0x37a48e(0x510)])}));}[_0x5e3172(0x2fe)](_0x3328d5){const _0x3c8184=_0x5e3172;switch(_0x3328d5[_0x3c8184(0x20d)]){case 0x0:this[_0x3c8184(0x465)](_0x3328d5);break;case 0x1:this[_0x3c8184(0x316)](_0x3328d5);break;case 0x2:this[_0x3c8184(0x2ee)](_0x3328d5);break;}}[_0x5e3172(0x465)](_0x4268b9){const _0x1732ef=_0x5e3172,{unitIDs:_0x4bddf6,memberID:_0x8d0570,isForwarded:_0x236eb5}=_0x4268b9;_0x4bddf6['forEach'](_0x4cb7d5=>{const _0x3c9a12=_0x1eb2;if(!_0x236eb5&&this[_0x3c9a12(0x2a7)][_0x3c9a12(0x3cb)](_0x4cb7d5)&&this[_0x3c9a12(0x315)](_0x4cb7d5)[_0x3c9a12(0x23b)](0x1),!this['_unitOnClients'][_0x3c9a12(0x3cb)](_0x4cb7d5)||!this[_0x3c9a12(0x2a7)]['get'](_0x4cb7d5)[_0x3c9a12(0x3cb)](_0x8d0570)){const _0x22dcd9=this[_0x3c9a12(0x2a7)][_0x3c9a12(0x307)](_0x4cb7d5)||new Set();_0x22dcd9['add'](_0x8d0570),this[_0x3c9a12(0x2a7)][_0x3c9a12(0x332)](_0x4cb7d5,_0x22dcd9),this[_0x3c9a12(0x489)](_0x8d0570);}}),_0x236eb5||this[_0x1732ef(0x147)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x1732ef(0x510)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x186d6a){const _0x24cc81=_0x5e3172;this['_removeClearOtherTimer'](_0x186d6a);const _0x5d7d2b=window[_0x24cc81(0x273)](()=>{const _0x28b505=_0x24cc81;this[_0x28b505(0x2a7)][_0x28b505(0x356)](_0x23c532=>{const _0xace539=_0x28b505;_0x23c532[_0xace539(0x480)](_0x186d6a);});},Js*0x2);this[_0x24cc81(0x25d)][_0x24cc81(0x332)](_0x186d6a,_0x5d7d2b);}[_0x5e3172(0x456)](_0x322c2b){const _0x160654=_0x5e3172;if(this[_0x160654(0x25d)][_0x160654(0x3cb)](_0x322c2b)){const _0x379b83=this[_0x160654(0x25d)][_0x160654(0x307)](_0x322c2b);_0x379b83&&window['clearTimeout'](_0x379b83),this[_0x160654(0x25d)][_0x160654(0x332)](_0x322c2b,null);}}[_0x5e3172(0x316)](_0x170b81){const _0x538874=_0x5e3172,{memberID:_0x480dbf,unitIDs:_0x5f3dca}=_0x170b81;_0x5f3dca['forEach'](_0x2716db=>{const _0x1d591d=_0x1eb2;var _0x582a0e;const _0x190e4c=this['_unitOnClients'][_0x1d591d(0x307)](_0x2716db);_0x190e4c&&(_0x190e4c['delete'](_0x480dbf),(_0x582a0e=this[_0x1d591d(0x315)](_0x2716db))==null||_0x582a0e[_0x1d591d(0x23b)](_0x190e4c['size']===0x0?0x0:0x1));}),this[_0x538874(0x456)](_0x480dbf);}['_handleHeartbeatEvent'](_0x522038){const _0x869e1f=_0x5e3172;this[_0x869e1f(0x489)](_0x522038[_0x869e1f(0x3f1)]);}[_0x5e3172(0x147)](_0x2ebf2d){const _0x55294a=_0x5e3172;localStorage[_0x55294a(0x154)](Zs,JSON[_0x55294a(0x50f)](_0x2ebf2d));}[_0x5e3172(0x12b)](){this['_heartbeatTimer']=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},Js);}[_0x5e3172(0x315)](_0x598a0d){const _0x185b55=_0x5e3172;return this[_0x185b55(0x216)]['has'](_0x598a0d)||this['_unitStatus']['set'](_0x598a0d,new _0xd0d94b(0x0)),this[_0x185b55(0x216)][_0x185b55(0x307)](_0x598a0d);}}var Eo=Object[_0x5e3172(0x243)],bo=Object[_0x5e3172(0x26f)],To=(_0x5d4b25,_0x4be612,_0x1525ef,_0x5c93d1)=>{const _0x120eaf=_0x5e3172;for(var _0x4f19b0=_0x5c93d1>0x1?void 0x0:_0x5c93d1?bo(_0x4be612,_0x1525ef):_0x4be612,_0x28e336=_0x5d4b25[_0x120eaf(0x2c8)]-0x1,_0x2e6422;_0x28e336>=0x0;_0x28e336--)(_0x2e6422=_0x5d4b25[_0x28e336])&&(_0x4f19b0=(_0x5c93d1?_0x2e6422(_0x4be612,_0x1525ef,_0x4f19b0):_0x2e6422(_0x4f19b0))||_0x4f19b0);return _0x5c93d1&&_0x4f19b0&&Eo(_0x4be612,_0x1525ef,_0x4f19b0),_0x4f19b0;},qt=(_0x5ead5,_0x14ebf9)=>(_0x1affdf,_0x5cf8ac)=>_0x14ebf9(_0x1affdf,_0x5cf8ac,_0x5ead5);let Dt=class{constructor(_0x3b8330,_0x5a4b6f,_0x40ce67){const _0x3533d0=_0x5e3172;this[_0x3533d0(0x3b4)]=_0x3b8330,this[_0x3533d0(0x4ff)]=_0x5a4b6f,this[_0x3533d0(0x3dd)]=_0x40ce67;}[_0x5e3172(0x48d)](_0x2c5974){const _0x24ede3=_0x5e3172;this[_0x24ede3(0x3ee)](_0x2c5974);}[_0x5e3172(0x3a2)](_0x271dcf){const _0x2a244d=_0x5e3172,{unitID:_0xed4036}=_0x271dcf,{collaboration:_0x1f9d7d}=this[_0x2a244d(0x3dd)][_0x2a244d(0x4f5)](_0xed4036);if(_0x1f9d7d[_0x2a244d(0x2c8)]===0x0)return _0x271dcf;let _0x333b6e=_0x279a54[_0x2a244d(0x3d3)](_0x271dcf['mutations'][0x0]);for(let _0x18c0e6=0x0;_0x18c0e6<_0x1f9d7d[_0x2a244d(0x2c8)];_0x18c0e6++){const _0x1811e7={'id':_0x2a244d(0x42b),'params':{'unitId':_0x1f9d7d[_0x18c0e6][_0x2a244d(0x452)],..._0x1f9d7d[_0x18c0e6][_0x2a244d(0x305)]}},_0xdd4b26=this[_0x2a244d(0x4ff)][_0x2a244d(0x357)](_0x333b6e,_0x1811e7,!0x1);if(_0x29729a(_0xdd4b26))throw _0xdd4b26[_0x2a244d(0x295)];_0x333b6e=_0xdd4b26[_0x2a244d(0x4df)];}return{..._0x279a54['deepClone'](_0x271dcf),'mutations':[_0x333b6e]};}[_0x5e3172(0x3ee)](_0x3ba0b9){const _0x328e51=_0x5e3172,{unitID:_0x1c82fd}=_0x3ba0b9,{history:_0x3f4314,collaboration:_0x89a6a3}=this[_0x328e51(0x3dd)][_0x328e51(0x4f5)](_0x1c82fd);if(_0x3f4314['length']===0x0&&_0x89a6a3[_0x328e51(0x2c8)]===0x0)return;const _0xc8d2c1=[],_0x399169=[];let _0x1d242d=_0x279a54[_0x328e51(0x3d3)](_0x3ba0b9['mutations'][0x0]),_0xed8371=_0x279a54[_0x328e51(0x3d3)](_0x3ba0b9[_0x328e51(0x1b2)][0x0]);for(let _0x103e66=_0x3f4314[_0x328e51(0x2c8)]-0x1;_0x103e66>=0x0;_0x103e66--){const _0x19ef9d={'id':_0x328e51(0x42b),'params':{'unitId':_0x3f4314[_0x103e66]['unitId'],..._0x3f4314[_0x103e66][_0x328e51(0x44f)]}},_0x5361ce={'id':_0x328e51(0x42b),'params':{'unitId':_0x3f4314[_0x103e66][_0x328e51(0x452)],..._0x3f4314[_0x103e66][_0x328e51(0x305)]}},_0x4ba5fd=this[_0x328e51(0x4ff)][_0x328e51(0x357)](_0x1d242d,_0x19ef9d,!0x1),_0x5d0770=this[_0x328e51(0x4ff)]['transformMutation'](_0xed8371,_0x5361ce,!0x1);if(_0x29729a(_0x4ba5fd))throw _0x4ba5fd[_0x328e51(0x295)];if(_0x29729a(_0x5d0770))throw _0x5d0770[_0x328e51(0x295)];_0xc8d2c1[_0x328e51(0x4d0)]({..._0x3f4314[_0x103e66],'undoState':_0x4ba5fd[_0x328e51(0x20f)][_0x328e51(0x436)],'redoState':_0x5d0770[_0x328e51(0x20f)]['params']}),_0x1d242d=_0x4ba5fd[_0x328e51(0x4df)],_0xed8371=_0x5d0770[_0x328e51(0x4df)];}_0x1d242d=_0x279a54['deepClone'](_0x3ba0b9[_0x328e51(0x1b2)][0x0]),_0xed8371=_0x279a54['deepClone'](_0x3ba0b9[_0x328e51(0x1b2)][0x0]);for(let _0x267b61=_0x89a6a3[_0x328e51(0x2c8)]-0x1;_0x267b61>=0x0;_0x267b61--){const _0x25328b={'id':_0x328e51(0x42b),'params':{'unitId':_0x89a6a3[_0x267b61][_0x328e51(0x452)],..._0x89a6a3[_0x267b61][_0x328e51(0x44f)]}},_0x4b3f6e={'id':_0x328e51(0x42b),'params':{'unitId':_0x89a6a3[_0x267b61]['unitId'],..._0x89a6a3[_0x267b61][_0x328e51(0x305)]}},_0x2695b2=this[_0x328e51(0x4ff)][_0x328e51(0x357)](_0x1d242d,_0x25328b,!0x1),_0x277047=this['_transformService'][_0x328e51(0x357)](_0xed8371,_0x4b3f6e,!0x1);if(_0x29729a(_0x2695b2))throw _0x2695b2['error'];if(_0x29729a(_0x277047))throw _0x277047[_0x328e51(0x295)];_0x399169[_0x328e51(0x4d0)]({..._0x89a6a3[_0x267b61],'undoState':_0x2695b2[_0x328e51(0x20f)][_0x328e51(0x436)],'redoState':_0x277047[_0x328e51(0x20f)][_0x328e51(0x436)]}),_0x1d242d=_0x2695b2[_0x328e51(0x4df)],_0xed8371=_0x277047[_0x328e51(0x4df)];}this['_docStateChangeManagerService'][_0x328e51(0x3e7)](_0x1c82fd,{'history':_0xc8d2c1,'collaboration':_0x399169});}};Dt=To([qt(0x0,_0x1259a7(_0xa6ca3c)),qt(0x1,_0x2a04be),qt(0x2,_0x1259a7(_0x59d42b))],Dt);function qi(_0x533d1c){const _0x226c94=_0x5e3172;let _0x3f1ebe='';for(const _0x35738f of _0x533d1c){const {startOffset:_0x127e57,endOffset:_0x67837c,isActive:_0x2c9c7c,rangeType:_0x2270f1,segmentId:_0xfa3405,segmentPage:_0x53361}=_0x35738f;_0x3f1ebe[_0x226c94(0x2c8)]&&(_0x3f1ebe+=','),_0x3f1ebe+=_0x127e57+':'+_0x67837c+':'+(_0x2c9c7c?'1':'0')+':'+_0x2270f1+':'+_0xfa3405+':'+_0x53361;}return _0x3f1ebe;}function Ro(_0x394ebd){const _0x3b9e5f=_0x5e3172,_0x26b983=_0x394ebd['split'](','),_0xd43148=[];for(const _0x1eddc8 of _0x26b983){const [_0x5a7e15,_0xd1f189,_0x339f16,_0x545e24,_0x4798fd,_0x9ea24]=_0x1eddc8['split'](':');_0xd43148[_0x3b9e5f(0x38e)]({'startOffset':Number(_0x5a7e15),'endOffset':Number(_0xd1f189),'collapsed':_0x5a7e15===_0xd1f189,'isActive':_0x339f16==='1','rangeType':_0x545e24===_0x263740[_0x3b9e5f(0x4e9)]?_0x263740[_0x3b9e5f(0x4e9)]:_0x263740[_0x3b9e5f(0x353)],'segmentId':typeof _0x4798fd==_0x3b9e5f(0x429)?String(_0x4798fd):'','segmentPage':Number(_0x9ea24!=null?_0x9ea24:-0x1)});}return _0xd43148['some'](_0x4d4be8=>_0x4d4be8[_0x3b9e5f(0x3ad)])||(_0xd43148[0x0][_0x3b9e5f(0x3ad)]=!0x0),_0xd43148;}class Ds extends _0x5ce84d{constructor(){const _0xfa50b3=_0x5e3172;super(...arguments),g(this,_0xfa50b3(0x200),new _0xd0d94b(null)),g(this,_0xfa50b3(0x1f1),this[_0xfa50b3(0x200)]['asObservable']());}[_0x5e3172(0x3ef)](_0x5ee830){const _0x594ea9=_0x5e3172,{unitID:_0xda08ff,memberID:_0x2869ee,textRanges:_0x2cb7f5}=_0x5ee830,_0xb9357f=qi(_0x2cb7f5);if(_0xb9357f==='')return;const _0x460d74={'unitID':_0xda08ff,'memberID':_0x2869ee,'selection':_0xb9357f};this[_0x594ea9(0x200)][_0x594ea9(0x23b)](_0x460d74);}}var Oo=Object[_0x5e3172(0x243)],yo=Object[_0x5e3172(0x26f)],wo=(_0x398a4c,_0x5700be,_0x5fd964,_0x5e234c)=>{const _0x4a4e85=_0x5e3172;for(var _0x4a6d06=_0x5e234c>0x1?void 0x0:_0x5e234c?yo(_0x5700be,_0x5fd964):_0x5700be,_0x29a396=_0x398a4c[_0x4a4e85(0x2c8)]-0x1,_0x26d001;_0x29a396>=0x0;_0x29a396--)(_0x26d001=_0x398a4c[_0x29a396])&&(_0x4a6d06=(_0x5e234c?_0x26d001(_0x5700be,_0x5fd964,_0x4a6d06):_0x26d001(_0x4a6d06))||_0x4a6d06);return _0x5e234c&&_0x4a6d06&&Oo(_0x5700be,_0x5fd964,_0x4a6d06),_0x4a6d06;},Qs=(_0x4b5819,_0x4dcf4b)=>(_0x1d53bd,_0xd62e2e)=>_0x4dcf4b(_0x1d53bd,_0xd62e2e,_0x4b5819);let Pt=class{constructor(_0x31cb15,_0x375d1f){const _0x7a999d=_0x5e3172;this[_0x7a999d(0x3b4)]=_0x31cb15,this[_0x7a999d(0x4ff)]=_0x375d1f;}['transformSelections'](_0x585606){const _0x7c8524=_0x5e3172;var _0x12394d;const _0x20801c=this['_injector'][_0x7c8524(0x307)](_0x195c19),_0x19be76=(_0x12394d=_0x20801c[_0x7c8524(0x388)]())!=null?_0x12394d:[];if(_0x19be76[_0x7c8524(0x2c8)]===0x0)return;const _0x29e78f=_0x585606[_0x7c8524(0x4e4)],_0x27856c=[{'id':_0x7c8524(0x42b),'params':{'unitId':_0x29e78f,'actions':null,'textRanges':_0x19be76}}],_0x5c9b3a=this[_0x7c8524(0x4ff)][_0x7c8524(0x4a6)](_0x585606,_0x27856c);if(!_0x17cfb3(_0x5c9b3a))throw _0x5c9b3a[_0x7c8524(0x295)];const _0x214d8e=_0x5c9b3a[_0x7c8524(0x20f)][0x0][_0x7c8524(0x436)][_0x7c8524(0x495)];Array[_0x7c8524(0x468)](_0x214d8e)&&_0x214d8e[_0x7c8524(0x2c8)]&&_0x20801c[_0x7c8524(0x1bd)](_0x214d8e,{'unitId':_0x29e78f,'subUnitId':_0x29e78f},!0x1);}};Pt=wo([Qs(0x0,_0x1259a7(_0xa6ca3c)),Qs(0x1,_0x2a04be)],Pt);const Do=new Set([_0x1c7d98['id']]);function ei(_0x33979e,_0x113b31,_0x560341,_0x3497f6,_0x2f6527){const _0x40a62e=_0x5e3172;var _0x4ba91c,_0xfa58a0,_0x18335e,_0x1d69a0;const _0x1863b9=[];for(const _0x28b1d3 of _0x33979e)if(Do[_0x40a62e(0x3cb)](_0x28b1d3['id'])){if(_0x1863b9[_0x40a62e(0x2c8)]>0x0)break;_0x1863b9['push'](_0x28b1d3);break;}else _0x1863b9[_0x40a62e(0x38e)](_0x28b1d3);const _0x326e71=(_0xfa58a0=(_0x4ba91c=_0x2f6527[_0x40a62e(0x3d8)]())==null?void 0x0:_0x4ba91c['userID'])!=null?_0xfa58a0:_0x40a62e(0x3c8),_0x148205=(_0x1d69a0=(_0x18335e=_0x2f6527['getCurrentUser']())==null?void 0x0:_0x18335e[_0x40a62e(0x3f1)])!=null?_0x1d69a0:_0x40a62e(0x3c8);return{'changeset':{'unitID':_0x113b31,'type':_0x20d9fb(_0x560341[_0x40a62e(0x443)](_0x113b31)),'baseRev':_0x3497f6[_0x40a62e(0x30c)](_0x113b31),'revision':0x0,'userID':_0x326e71,'memberID':_0x148205,'mutations':_0x1863b9},'pendingMutations':_0x33979e[_0x40a62e(0x469)](_0x1863b9[_0x40a62e(0x2c8)])};}function Po(_0x405de2,_0x508eb5,_0x35f92e,_0x5cc972,_0x59ad7b){const _0x2360e3=_0x5e3172;var _0x4021ff,_0x36c0c6,_0x3f3fee,_0x1c0a12;const _0x6b120f=[_0x405de2['reduce']((_0x2cee5e,_0x75dc59)=>{const _0x11e10c=_0x1eb2;var _0x2090fc;const {id:_0x5e95df}=_0x2cee5e,{id:_0x3a1513,type:_0x5d08d5}=_0x75dc59,_0x16028e=(_0x2090fc=_0x2cee5e['params'])!=null?_0x2090fc:{'actions':null},_0x655466=_0x75dc59[_0x11e10c(0x436)];if(_0x5e95df&&_0x5e95df!==_0x3a1513)throw new Error(_0x11e10c(0x20a)+_0x5e95df+'\x20-\x20'+_0x3a1513+'.');return{..._0x2cee5e,'id':_0x3a1513,'type':_0x5d08d5,'params':{'unitId':_0x655466['unitId'],'textRanges':_0x655466[_0x11e10c(0x495)],'actions':_0x1bb50c[_0x11e10c(0x269)](_0x16028e[_0x11e10c(0x39b)],_0x655466['actions'])}};},{})],_0x590c76=(_0x36c0c6=(_0x4021ff=_0x59ad7b[_0x2360e3(0x3d8)]())==null?void 0x0:_0x4021ff[_0x2360e3(0x2f3)])!=null?_0x36c0c6:'unknown',_0x56c921=(_0x1c0a12=(_0x3f3fee=_0x59ad7b[_0x2360e3(0x3d8)]())==null?void 0x0:_0x3f3fee[_0x2360e3(0x3f1)])!=null?_0x1c0a12:'unknown';return{'changeset':{'unitID':_0x508eb5,'type':_0x20d9fb(_0x35f92e[_0x2360e3(0x443)](_0x508eb5)),'baseRev':_0x5cc972['getCurrentRevOfUnit'](_0x508eb5),'revision':0x0,'userID':_0x590c76,'memberID':_0x56c921,'mutations':_0x6b120f},'pendingMutations':[]};}function zi(_0x1e9b14,_0x3990f7){const _0xf6f78a=_0x5e3172,_0x1a806f=new _0x3d17ca(0x1);return setTimeout(()=>_0x1a806f[_0xf6f78a(0x23b)](_0x3990f7),_0x1e9b14),_0x1a806f[_0xf6f78a(0x306)]()[_0xf6f78a(0x4b6)](_0x3decc5(0x1));}const No={'id':_0x4b8f30['id'],'type':_0x57cf4b[_0x5e3172(0x345)],'params':{}};var Uo=Object['defineProperty'],Ao=Object[_0x5e3172(0x26f)],$e=(_0x7ca87c,_0x5e59eb,_0xf14a88,_0x1094f1)=>{const _0x2f8a00=_0x5e3172;for(var _0x39d9f7=_0x1094f1>0x1?void 0x0:_0x1094f1?Ao(_0x5e59eb,_0xf14a88):_0x5e59eb,_0x237393=_0x7ca87c[_0x2f8a00(0x2c8)]-0x1,_0x2d72dc;_0x237393>=0x0;_0x237393--)(_0x2d72dc=_0x7ca87c[_0x237393])&&(_0x39d9f7=(_0x1094f1?_0x2d72dc(_0x5e59eb,_0xf14a88,_0x39d9f7):_0x2d72dc(_0x39d9f7))||_0x39d9f7);return _0x1094f1&&_0x39d9f7&&Uo(_0x5e59eb,_0xf14a88,_0x39d9f7),_0x39d9f7;},A=(_0x566bc2,_0x45f121)=>(_0x3ab2e2,_0x48e422)=>_0x45f121(_0x3ab2e2,_0x48e422,_0x566bc2),J=(_0x51f903=>(_0x51f903[_0x5e3172(0x1aa)]=_0x5e3172(0x2d4),_0x51f903[_0x5e3172(0x29a)]=_0x5e3172(0x125),_0x51f903[_0x5e3172(0x42d)]=_0x5e3172(0x1c0),_0x51f903['AWAITING']='awaiting',_0x51f903['AWAITING_WITH_PENDING']=_0x5e3172(0x2fc),_0x51f903[_0x5e3172(0x3e2)]=_0x5e3172(0x45f),_0x51f903[_0x5e3172(0x423)]=_0x5e3172(0x1a5),_0x51f903['OFFLINE']='offline',_0x51f903))(J||{});const Xi=0xea60;class He{constructor(_0x436f0c,_0x38286b,_0xefc703,_0x40b203,_0x1b0054,_0x5a29a4,_0x58f21e,_0x6ecfac,_0x3cd239){const _0x2827ee=_0x5e3172;g(this,'_awaitingChangeset',null),g(this,_0x2827ee(0x199),[]),(this[_0x2827ee(0x4e4)]=_0x436f0c,this[_0x2827ee(0x20d)]=_0x38286b,this[_0x2827ee(0x231)]=_0x1b0054,this['_commandService']=_0x5a29a4,this[_0x2827ee(0x195)]=_0x58f21e,this[_0x2827ee(0x2fd)]=_0x6ecfac,this[_0x2827ee(0x32a)]=_0x3cd239,this['_awaitingChangeset']=_0xefc703,this['_pendingMutations']=_0x40b203);}[_0x5e3172(0x4a4)](_0xa99304){const _0x2d7bcc=_0x5e3172,_0x3ad4c9=this['_revisionService'][_0x2d7bcc(0x30c)](this['unitID']);return _0xa99304['revision']>_0x3ad4c9+0x1?(this[_0x2d7bcc(0x231)][_0x2d7bcc(0x4ef)]({'from':_0x3ad4c9,'to':_0xa99304[_0x2d7bcc(0x2ed)]-0x1}),!0x0):!0x1;}[_0x5e3172(0x23e)](_0x43b582){const _0x49af9d=_0x5e3172;this[_0x49af9d(0x195)]['transformUndoRedo'](this[_0x49af9d(0x4e4)],_0x43b582);}[_0x5e3172(0x45e)](_0x320752){const _0x507edf=_0x5e3172;var _0x3da160,_0x322dbc;(_0x322dbc=(_0x3da160=this[_0x507edf(0x231)])['onTransformSelections'])==null||_0x322dbc[_0x507edf(0x500)](_0x3da160,_0x320752);}[_0x5e3172(0x148)](_0x43e068){const _0x10e8e7=_0x5e3172;var _0x4ecb2c,_0x319e11;return(_0x319e11=(_0x4ecb2c=this[_0x10e8e7(0x231)])[_0x10e8e7(0x408)])==null?void 0x0:_0x319e11[_0x10e8e7(0x500)](_0x4ecb2c,_0x43e068);}['_transformStateCache'](_0x2e1348){const _0x1c1aef=_0x5e3172;var _0x4884af,_0x5c62da;return(_0x5c62da=(_0x4884af=this[_0x1c1aef(0x231)])[_0x1c1aef(0x2ab)])==null?void 0x0:_0x5c62da[_0x1c1aef(0x500)](_0x4884af,_0x2e1348);}[_0x5e3172(0x291)](_0x241485){const _0x5560d5=_0x5e3172;var _0x459c70,_0x2c893b,_0x45d682;return(_0x45d682=(_0x2c893b=(_0x459c70=this['_handler'])[_0x5560d5(0x461)])==null?void 0x0:_0x2c893b[_0x5560d5(0x500)](_0x459c70,_0x241485))!=null?_0x45d682:_0x241485;}[_0x5e3172(0x29f)](_0x392fb9){const _0x2e75e8=_0x5e3172;var _0x3be9f2,_0x379de7,_0xacb4da;return(_0xacb4da=(_0x379de7=(_0x3be9f2=this[_0x2e75e8(0x231)])[_0x2e75e8(0x4dc)])==null?void 0x0:_0x379de7['call'](_0x3be9f2,_0x392fb9))!=null?_0xacb4da:_0x392fb9;}[_0x5e3172(0x39a)](_0x24b393){const _0x30eecd=_0x5e3172;var _0x14711b,_0x9321c2;if(this[_0x30eecd(0x20d)]===ae['UNIVER_DOC']){const {unitID:_0x4f85bc,mutations:_0x8ce343,memberID:_0x3ffcbe}=_0x24b393,_0x201bd1=_0x8ce343[0x0][_0x30eecd(0x436)][_0x30eecd(0x495)];Array[_0x30eecd(0x468)](_0x201bd1)&&_0x201bd1[_0x30eecd(0x2c8)]>0x0&&((_0x9321c2=(_0x14711b=this[_0x30eecd(0x231)])[_0x30eecd(0x1ca)])==null||_0x9321c2[_0x30eecd(0x500)](_0x14711b,{'unitID':_0x4f85bc,'memberID':_0x3ffcbe,'textRanges':_0x201bd1}));}}[_0x5e3172(0x324)](){const _0x373c97=_0x5e3172;this[_0x373c97(0x32a)][_0x373c97(0x422)](this[_0x373c97(0x4e4)],this[_0x373c97(0x20d)],this[_0x373c97(0x536)],this['_pendingMutations']);}[_0x5e3172(0x20e)](){const _0x3f0730=_0x5e3172;return this[_0x3f0730(0x2fd)]['getCurrentRevOfUnit'](this[_0x3f0730(0x4e4)]);}[_0x5e3172(0x3ac)](){const _0x113eaf=_0x5e3172;this[_0x113eaf(0x2fd)][_0x113eaf(0x417)](this[_0x113eaf(0x4e4)]);}[_0x5e3172(0x2a3)](_0x47849e){const _0x72d0db=_0x5e3172;var _0x49b047;let _0x583f1f=this[_0x72d0db(0x291)](_0x47849e);_0x583f1f=this[_0x72d0db(0x29f)](_0x583f1f);const _0x4e76b7=_0x399b47(_0x583f1f['mutations'],this[_0x72d0db(0x327)],{'fromCollab':!0x0});if(!_0x4e76b7[_0x72d0db(0x1a8)])throw _0x4e76b7['error']instanceof Error?_0x4e76b7[_0x72d0db(0x295)]:new Error((_0x49b047=_0x4e76b7['error'])!=null?_0x49b047:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x583f1f),this[_0x72d0db(0x29d)](_0x583f1f),this[_0x72d0db(0x23e)](_0x47849e),this['_transformSelections'](_0x583f1f),this[_0x72d0db(0x39a)](_0x583f1f),this[_0x72d0db(0x3ac)]();}}let Fe=class extends He{constructor(_0x4fc7a1,_0x2e6f60,_0x542410,_0x22e94a,_0x2b574d,_0x9bc3ff,_0x1c55ac,_0x430708,_0xe2e81f,_0x5b8c47){const _0x3e74ec=_0x5e3172;super(_0x4fc7a1,_0x2e6f60,null,[],_0x542410,_0x430708,_0x1c55ac,_0x22e94a,_0x2b574d),g(this,_0x3e74ec(0x38b),_0x3e74ec(0x125)),(this[_0x3e74ec(0x3b4)]=_0x9bc3ff,this['_logService']=_0xe2e81f,this[_0x3e74ec(0x4ff)]=_0x5b8c47);}[_0x5e3172(0x144)](_0x3c4217){const _0x2cb3f9=_0x5e3172,_0x1bbb3f=this[_0x2cb3f9(0x3b4)][_0x2cb3f9(0x13c)](pe,this[_0x2cb3f9(0x4e4)],this[_0x2cb3f9(0x20d)],[_0x3c4217],this[_0x2cb3f9(0x231)]);return _0x1bbb3f[_0x2cb3f9(0x43f)](),_0x1bbb3f[_0x2cb3f9(0x324)](),_0x1bbb3f;}['onRemoteChangeset'](_0x217365){const _0xdb1920=_0x5e3172;if(this[_0xdb1920(0x4a4)](_0x217365))return this['_injector'][_0xdb1920(0x13c)](ce,this[_0xdb1920(0x4e4)],this[_0xdb1920(0x20d)],null,[],null,[_0x217365],this[_0xdb1920(0x231)]);try{const _0xcc7bdf=this['_transformService']['transformMutationsWithChangeset'](_0x217365,[No]);if(_0x17cfb3(_0xcc7bdf)){const {c1Prime:_0x566e75}=_0xcc7bdf;return this['_executeRemoteChangeset'](_0x566e75),this;}throw _0xcc7bdf['error'];}catch(_0x526e72){return this[_0xdb1920(0x52d)][_0xdb1920(0x295)](_0x526e72),this[_0xdb1920(0x49d)](!0x1);}}[_0x5e3172(0x49d)](_0x3bd922){const _0x14969d=_0x5e3172;return this[_0x14969d(0x3b4)][_0x14969d(0x13c)](Re,this[_0x14969d(0x4e4)],this[_0x14969d(0x20d)],null,[],this[_0x14969d(0x231)],_0x3bd922);}['onRemoteAck'](){const _0x4804f5=_0x5e3172;throw new Error(_0x4804f5(0x374));}[_0x5e3172(0x3b3)](){const _0xd82d2f=_0x5e3172;throw new Error(_0xd82d2f(0x503));}[_0x5e3172(0x36b)](){return this;}[_0x5e3172(0x448)](){const _0x560ec8=_0x5e3172;return this[_0x560ec8(0x3b4)][_0x560ec8(0x13c)](Oe,this['unitID'],this[_0x560ec8(0x20d)],null,[],this[_0x560ec8(0x231)]);}[_0x5e3172(0x1a7)](){return this;}[_0x5e3172(0x430)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5e3172(0x38c)](){const _0x383e2c=_0x5e3172,_0xd9258c=this['_revisionService'][_0x383e2c(0x30c)](this[_0x383e2c(0x4e4)]);return this[_0x383e2c(0x231)]['onMissingChangesets']({'from':_0xd9258c,'to':0x0}),this[_0x383e2c(0x3b4)]['createInstance'](ce,this[_0x383e2c(0x4e4)],this[_0x383e2c(0x20d)],null,[],null,[],this[_0x383e2c(0x231)]);}};Fe=$e([A(0x3,_0x1259a7(_0x5730a1)),A(0x4,_0x1259a7(z)),A(0x5,_0x1259a7(_0xa6ca3c)),A(0x6,_0x2d3235),A(0x7,_0x58c2c0),A(0x8,_0xadcc6),A(0x9,_0x2a04be)],Fe);let pe=class extends He{constructor(_0x554b0b,_0x372073,_0x602293,_0x166305,_0x3ad0dc,_0x2526cd,_0xbfc2a5,_0x226da9,_0x230f37,_0xc4cecc,_0x610d91,_0x1ae1cb,_0x3077a7,_0x29c47c){const _0x583472=_0x5e3172;super(_0x554b0b,_0x372073,null,_0x602293,_0x166305,_0xc4cecc,_0x29c47c,_0x2526cd,_0xbfc2a5),g(this,'status',_0x583472(0x1c0)),g(this,_0x583472(0x24a),null),g(this,_0x583472(0x3ed),null),(this[_0x583472(0x3b4)]=_0x3ad0dc,this[_0x583472(0x16b)]=_0x226da9,this[_0x583472(0x52d)]=_0x230f37,this[_0x583472(0x270)]=_0x610d91,this[_0x583472(0x4ff)]=_0x1ae1cb,this['_univerInstanceService']=_0x3077a7);}['appendMutation'](_0x292e2f){const _0x586adc=_0x5e3172;return this[_0x586adc(0x199)][_0x586adc(0x38e)](_0x292e2f),this['_updateLocalCache'](),this;}[_0x5e3172(0x34a)](_0x5e71c5){const _0x330c62=_0x5e3172;if(this[_0x330c62(0x4a4)](_0x5e71c5))return this[_0x330c62(0x3ca)](),this[_0x330c62(0x3b4)][_0x330c62(0x13c)](ce,this[_0x330c62(0x4e4)],this[_0x330c62(0x20d)],null,this[_0x330c62(0x199)],null,[_0x5e71c5],this[_0x330c62(0x231)]);try{const _0x1be4cb=this[_0x330c62(0x4ff)][_0x330c62(0x4a6)](_0x5e71c5,this['_pendingMutations']);if(_0x17cfb3(_0x1be4cb)){const {c1Prime:_0x4a19f2,m2Prime:_0x3897b1}=_0x1be4cb;this[_0x330c62(0x2a3)](_0x4a19f2);const _0x7f61c5=this[_0x330c62(0x3b4)]['createInstance'](pe,this[_0x330c62(0x4e4)],this[_0x330c62(0x20d)],_0x3897b1,this[_0x330c62(0x231)]);return this['_clearScheduledTask'](),_0x7f61c5[_0x330c62(0x43f)](this['_scheduleTimestamp']?Math[_0x330c62(0x2a1)](0x0,new Date()[_0x330c62(0x3a3)]()-this['_scheduleTimestamp']):this[_0x330c62(0x44b)]()),_0x7f61c5;}throw _0x1be4cb[_0x330c62(0x295)];}catch(_0x4abd86){return this[_0x330c62(0x52d)][_0x330c62(0x295)](_0x4abd86),this[_0x330c62(0x49d)](!0x1);}}[_0x5e3172(0x15c)](){const _0x21bb21=_0x5e3172;throw new Error(_0x21bb21(0x4fb));}[_0x5e3172(0x3b3)](){const _0x35ef4e=_0x5e3172;throw new Error(_0x35ef4e(0x211));}[_0x5e3172(0x36b)](){return this;}[_0x5e3172(0x448)](){const _0x372123=_0x5e3172;return this[_0x372123(0x3ca)](),this[_0x372123(0x3b4)][_0x372123(0x13c)](Oe,this[_0x372123(0x4e4)],this[_0x372123(0x20d)],null,this['_pendingMutations'],this[_0x372123(0x231)]);}[_0x5e3172(0x1a7)](){return this;}[_0x5e3172(0x43f)](_0x1710d7){const _0xf95e9=_0x5e3172,_0x35f160=_0x1710d7!=null?_0x1710d7:this[_0xf95e9(0x44b)]();this[_0xf95e9(0x24a)]=new Date()[_0xf95e9(0x3a3)](),this['_sendingTimer']=window[_0xf95e9(0x273)](()=>{const _0x3d4009=_0xf95e9;this[_0x3d4009(0x3ca)]();let _0x51ed41=null;switch(this[_0x3d4009(0x20d)]){case ae['UNIVER_SHEET']:{_0x51ed41=ei(this[_0x3d4009(0x199)],this[_0x3d4009(0x4e4)],this[_0x3d4009(0x153)],this[_0x3d4009(0x2fd)],this['_memberService']);break;}case ae[_0x3d4009(0x11d)]:{this[_0x3d4009(0x199)][_0x3d4009(0x3b5)](_0x2545c3=>_0x2545c3['id']===_0x48d9a2['id'])?_0x51ed41=Po(this['_pendingMutations'],this[_0x3d4009(0x4e4)],this[_0x3d4009(0x153)],this[_0x3d4009(0x2fd)],this[_0x3d4009(0x16b)]):_0x51ed41=ei(this[_0x3d4009(0x199)],this[_0x3d4009(0x4e4)],this['_univerInstanceService'],this[_0x3d4009(0x2fd)],this['_memberService']);break;}default:throw new Error(_0x3d4009(0x283)+this[_0x3d4009(0x20d)]+_0x3d4009(0x519));}const {changeset:_0x20abe7,pendingMutations:_0x266788}=_0x51ed41;this[_0x3d4009(0x231)][_0x3d4009(0x26b)](_0x20abe7);const _0x1c664e=_0x266788[_0x3d4009(0x2c8)]?this['_injector'][_0x3d4009(0x13c)](me,this[_0x3d4009(0x4e4)],this[_0x3d4009(0x20d)],_0x20abe7,_0x266788,this['_handler'],void 0x0):this[_0x3d4009(0x3b4)][_0x3d4009(0x13c)](Te,this['unitID'],this[_0x3d4009(0x20d)],_0x20abe7,this[_0x3d4009(0x231)]);_0x1c664e['_updateLocalCache'](),this[_0x3d4009(0x231)][_0x3d4009(0x2e1)](this,_0x1c664e);},_0x35f160);}['_getSendChangesetTimeout'](){const _0x45dfeb=_0x5e3172;var _0x41df36;const _0x36fb32=this[_0x45dfeb(0x270)]['getConfig'](Q);return(_0x41df36=_0x36fb32==null?void 0x0:_0x36fb32['sendChangesetTimeout'])!=null?_0x41df36:Rn;}[_0x5e3172(0x430)](){const _0x5b8e5a=_0x5e3172;throw new Error(_0x5b8e5a(0x4b2));}[_0x5e3172(0x3ca)](){const _0x130cce=_0x5e3172;this[_0x130cce(0x3ed)]!=null&&(clearTimeout(this[_0x130cce(0x3ed)]),this['_sendingTimer']=null);}[_0x5e3172(0x49d)](_0x2f7d70){const _0x44cc3c=_0x5e3172;return this[_0x44cc3c(0x3ca)](),this[_0x44cc3c(0x3b4)]['createInstance'](Re,this['unitID'],this[_0x44cc3c(0x20d)],null,this[_0x44cc3c(0x199)],this['_handler'],_0x2f7d70);}};pe=$e([A(0x4,_0x1259a7(_0xa6ca3c)),A(0x5,_0x1259a7(_0x5730a1)),A(0x6,_0x1259a7(z)),A(0x7,_0x1259a7(Me)),A(0x8,_0xadcc6),A(0x9,_0x58c2c0),A(0xa,_0x3a37b7),A(0xb,_0x2a04be),A(0xc,_0x381e7e),A(0xd,_0x2d3235)],pe);let Te=class extends He{constructor(_0x2bbe74,_0x1d1a4c,_0x3d4320,_0x353987,_0x361670,_0x1abcba,_0x31d0dd,_0x4c7827,_0x129722,_0x3efcbf,_0x5b09b0){const _0x28d0c5=_0x5e3172;super(_0x2bbe74,_0x1d1a4c,_0x3d4320,[],_0x353987,_0x4c7827,_0x5b09b0,_0x1abcba,_0x31d0dd),g(this,_0x28d0c5(0x38b),_0x28d0c5(0x43d)),g(this,_0x28d0c5(0x4f6),0x0),g(this,_0x28d0c5(0x272)),g(this,_0x28d0c5(0x4da)),(this[_0x28d0c5(0x3b4)]=_0x361670,this['_logService']=_0x129722,this[_0x28d0c5(0x4ff)]=_0x3efcbf);}['appendMutation'](_0x3a1ff0){const _0x2b4fce=_0x5e3172;this[_0x2b4fce(0x3ca)]();const _0x384406=this[_0x2b4fce(0x3b4)][_0x2b4fce(0x13c)](me,this['unitID'],this[_0x2b4fce(0x20d)],this[_0x2b4fce(0x536)],[_0x3a1ff0],this['_handler'],this[_0x2b4fce(0x272)]);return _0x384406['_updateLocalCache'](),_0x384406;}[_0x5e3172(0x34a)](_0x10eea3){const _0x5ebc48=_0x5e3172;if(this[_0x5ebc48(0x4a4)](_0x10eea3))return this[_0x5ebc48(0x3ca)](),this['_injector'][_0x5ebc48(0x13c)](ce,this[_0x5ebc48(0x4e4)],this[_0x5ebc48(0x20d)],this['_awaitingChangeset'],[],null,[_0x10eea3],this['_handler']);try{const _0x218614=this[_0x5ebc48(0x4ff)][_0x5ebc48(0x530)]([_0x10eea3],[this[_0x5ebc48(0x536)]],!0x1);if(_0x1b6696(_0x218614)){const {c1Prime:_0x2cf2c4,c2Prime:_0x45c2be}=_0x218614;this[_0x5ebc48(0x2a3)](_0x2cf2c4[0x0]),_0x45c2be[0x0]['baseRev']=this[_0x5ebc48(0x20e)](),this[_0x5ebc48(0x3ca)]();const _0x51125f=this[_0x5ebc48(0x3b4)][_0x5ebc48(0x13c)](Te,this[_0x5ebc48(0x4e4)],this[_0x5ebc48(0x20d)],_0x45c2be[0x0],this['_handler']);return _0x51125f['_updateLocalCache'](),_0x51125f;}return this['_onConflict'](!0x1);}catch(_0x1dfe88){return this[_0x5ebc48(0x52d)]['error'](_0x1dfe88),this[_0x5ebc48(0x49d)](!0x1);}}[_0x5e3172(0x15c)](_0x4f80ce){const _0x58dcf4=_0x5e3172;this['_clearScheduledTask']();const _0x53777f=this[_0x58dcf4(0x2fd)][_0x58dcf4(0x30c)](this[_0x58dcf4(0x4e4)]);if(_0x4f80ce[_0x58dcf4(0x2ed)]<_0x53777f-0x1)return this;if(this[_0x58dcf4(0x4a4)](_0x4f80ce))return this[_0x58dcf4(0x3b4)][_0x58dcf4(0x13c)](ce,this['unitID'],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x58dcf4(0x231)]);this['_incrementRevisionNumber']();const _0x2a4f39=this[_0x58dcf4(0x3b4)][_0x58dcf4(0x13c)](Fe,this[_0x58dcf4(0x4e4)],this[_0x58dcf4(0x20d)],this[_0x58dcf4(0x231)]);return _0x2a4f39['_updateLocalCache'](),_0x2a4f39;}['onRemoteRej'](_0xfea293){const _0x1335dc=_0x5e3172;return this[_0x1335dc(0x49d)](!!(_0xfea293!=null&&_0xfea293['isPermissionRej']));}['onRemoteRetry'](_0x27539b){const _0x2422ce=_0x5e3172;return this[_0x2422ce(0x4f6)]>Xi?this[_0x2422ce(0x448)]():(this[_0x2422ce(0x272)]=zi(this[_0x2422ce(0x4f6)],{'timeout':this[_0x2422ce(0x4f6)],'reqId':_0x27539b[_0x2422ce(0x11c)]}),this[_0x2422ce(0x4da)]=this[_0x2422ce(0x272)]['subscribe'](({reqId:_0x494339,timeout:_0x14e3af})=>{const _0x5e4b04=_0x2422ce;this[_0x5e4b04(0x442)](_0x494339,_0x14e3af);}),this);}[_0x5e3172(0x448)](){const _0xabb7fa=_0x5e3172;return this[_0xabb7fa(0x3ca)](),this['_injector'][_0xabb7fa(0x13c)](Oe,this[_0xabb7fa(0x4e4)],this[_0xabb7fa(0x20d)],this[_0xabb7fa(0x536)],[],this['_handler']);}[_0x5e3172(0x1a7)](){return this;}[_0x5e3172(0x430)](){const _0x21c8d0=_0x5e3172;this['_handler'][_0x21c8d0(0x26b)](this[_0x21c8d0(0x536)]);}[_0x5e3172(0x49d)](_0x5ba035){const _0x25ea86=_0x5e3172;return this['_clearScheduledTask'](),this[_0x25ea86(0x3b4)][_0x25ea86(0x13c)](Re,this[_0x25ea86(0x4e4)],this[_0x25ea86(0x20d)],this[_0x25ea86(0x536)],[],this[_0x25ea86(0x231)],_0x5ba035);}[_0x5e3172(0x442)](_0xbe3787,_0x14d3ba){const _0x17701c=_0x5e3172;var _0x48761c;_0xbe3787===((_0x48761c=this['_awaitingChangeset'])==null?void 0x0:_0x48761c[_0x17701c(0x11c)])&&(this[_0x17701c(0x430)](),this['_resendTimeout']=_0x14d3ba===0x0?0x3e8:_0x14d3ba*0x2);}[_0x5e3172(0x3ca)](){const _0x3b9b6a=_0x5e3172;var _0x49fc2c;(_0x49fc2c=this[_0x3b9b6a(0x4da)])==null||_0x49fc2c[_0x3b9b6a(0x527)](),this['_resendTimeout']=0x0;}};Te=$e([A(0x4,_0x1259a7(_0xa6ca3c)),A(0x5,_0x1259a7(_0x5730a1)),A(0x6,_0x1259a7(z)),A(0x7,_0x58c2c0),A(0x8,_0xadcc6),A(0x9,_0x2a04be),A(0xa,_0x2d3235)],Te);let me=class extends He{constructor(_0x8cc92d,_0x1e7f0f,_0x446910,_0x32f2e2,_0x3a550b,_0x3f336a,_0x31afcd,_0x506c9d,_0x4f7a5b,_0x37c9af,_0x5dc825,_0x317b42,_0x3359d6){const _0x57fad6=_0x5e3172;super(_0x8cc92d,_0x1e7f0f,_0x446910,_0x32f2e2,_0x3a550b,_0x37c9af,_0x3359d6,_0x506c9d,_0x4f7a5b),g(this,'status','awaiting_with_pending'),g(this,_0x57fad6(0x4f6),0x0),g(this,'_resendTimer'),g(this,'_sender'),(this[_0x57fad6(0x3b4)]=_0x31afcd,this[_0x57fad6(0x52d)]=_0x5dc825,this[_0x57fad6(0x4ff)]=_0x317b42,_0x3f336a&&(this['_resendTimer']=_0x3f336a,this[_0x57fad6(0x4da)]=this[_0x57fad6(0x272)][_0x57fad6(0x134)](({reqId:_0x285682,timeout:_0x13216d})=>{const _0x3750e8=_0x57fad6;this[_0x3750e8(0x442)](_0x285682,_0x13216d);})));}['appendMutation'](_0x45beb7){const _0x3af237=_0x5e3172;return this[_0x3af237(0x199)][_0x3af237(0x38e)](_0x45beb7),this;}[_0x5e3172(0x34a)](_0x42972f){const _0x11f7f2=_0x5e3172;if(this['_checkMissing'](_0x42972f))return this[_0x11f7f2(0x3ca)](),this['_injector'][_0x11f7f2(0x13c)](ce,this[_0x11f7f2(0x4e4)],this[_0x11f7f2(0x20d)],this[_0x11f7f2(0x536)],this[_0x11f7f2(0x199)],null,[_0x42972f],this[_0x11f7f2(0x231)]);try{const _0x2c1680=this[_0x11f7f2(0x4ff)]['transformChangesets']([_0x42972f],[this[_0x11f7f2(0x536)]],!0x1);if(_0x1b6696(_0x2c1680)){const {c1Prime:_0x1f9bde,c2Prime:_0x363237}=_0x2c1680,_0x2316a2=this[_0x11f7f2(0x4ff)][_0x11f7f2(0x4a6)](_0x1f9bde[0x0],this[_0x11f7f2(0x199)]);if(_0x17cfb3(_0x2316a2)){const {c1Prime:_0xc143d,m2Prime:_0x19b1eb}=_0x2316a2;return this['_executeRemoteChangeset'](_0xc143d),_0x363237[0x0]['baseRev']=this[_0x11f7f2(0x20e)](),this[_0x11f7f2(0x3ca)](),this[_0x11f7f2(0x3b4)][_0x11f7f2(0x13c)](me,this['unitID'],this['type'],_0x363237[0x0],_0x19b1eb,this[_0x11f7f2(0x231)],void 0x0);}throw _0x2316a2[_0x11f7f2(0x295)];}throw _0x2c1680[_0x11f7f2(0x295)];}catch(_0x36e4e0){return this['_logService'][_0x11f7f2(0x295)](_0x36e4e0),this[_0x11f7f2(0x49d)](!0x1);}}['onRemoteAck'](_0x663cbb){const _0x1ea889=_0x5e3172;if(this['_clearScheduledTask'](),this[_0x1ea889(0x4a4)](_0x663cbb))return this[_0x1ea889(0x3b4)][_0x1ea889(0x13c)](ce,this[_0x1ea889(0x4e4)],this[_0x1ea889(0x20d)],null,this[_0x1ea889(0x199)],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0xc3cda3=this[_0x1ea889(0x3b4)][_0x1ea889(0x13c)](pe,this['unitID'],this[_0x1ea889(0x20d)],this[_0x1ea889(0x199)],this['_handler']);return _0xc3cda3[_0x1ea889(0x43f)](),_0xc3cda3['_updateLocalCache'](),_0xc3cda3;}['onRemoteRej'](_0xeab0c){const _0x56c507=_0x5e3172;return this[_0x56c507(0x49d)](!!(_0xeab0c!=null&&_0xeab0c[_0x56c507(0x3f9)]));}[_0x5e3172(0x36b)](_0x449dbc){const _0x1ec292=_0x5e3172;return this['_resendTimeout']>Xi?this['toggleOffline']():(this[_0x1ec292(0x272)]=zi(this[_0x1ec292(0x4f6)],{'timeout':this[_0x1ec292(0x4f6)],'reqId':_0x449dbc[_0x1ec292(0x11c)]}),this[_0x1ec292(0x4da)]=this[_0x1ec292(0x272)][_0x1ec292(0x134)](({reqId:_0x6ff21b,timeout:_0x5dbf92})=>{const _0x176127=_0x1ec292;this[_0x176127(0x442)](_0x6ff21b,_0x5dbf92);}),this);}[_0x5e3172(0x448)](){const _0x5050d9=_0x5e3172;return this['_clearScheduledTask'](),this[_0x5050d9(0x3b4)][_0x5050d9(0x13c)](Oe,this[_0x5050d9(0x4e4)],this[_0x5050d9(0x20d)],this[_0x5050d9(0x536)],this['_pendingMutations'],this[_0x5050d9(0x231)]);}['toggleOnline'](){return this;}[_0x5e3172(0x430)](){const _0x14df74=_0x5e3172;this[_0x14df74(0x231)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x5e3172(0x49d)](_0x8d8bb0){const _0x330a38=_0x5e3172;return this['_clearScheduledTask'](),this[_0x330a38(0x3b4)]['createInstance'](Re,this[_0x330a38(0x4e4)],this[_0x330a38(0x20d)],null,this[_0x330a38(0x199)],this[_0x330a38(0x231)],_0x8d8bb0);}[_0x5e3172(0x442)](_0x588632,_0x3d607b){const _0x451a4a=_0x5e3172;var _0x38adca;_0x588632===((_0x38adca=this[_0x451a4a(0x536)])==null?void 0x0:_0x38adca[_0x451a4a(0x11c)])&&(this['resend'](),this['_resendTimeout']=_0x3d607b===0x0?0x3e8:_0x3d607b*0x2);}[_0x5e3172(0x3ca)](){const _0x3fe543=_0x5e3172;var _0x3d7311;(_0x3d7311=this['_sender'])==null||_0x3d7311[_0x3fe543(0x527)](),this[_0x3fe543(0x4f6)]=0x0;}};me=$e([A(0x6,_0x1259a7(_0xa6ca3c)),A(0x7,_0x1259a7(_0x5730a1)),A(0x8,_0x1259a7(z)),A(0x9,_0x58c2c0),A(0xa,_0xadcc6),A(0xb,_0x2a04be),A(0xc,_0x2d3235)],me);let Re=class extends He{constructor(_0x2c9bdd,_0x16788f,_0x3b4429,_0x335088,_0x386bb8,_0x5bb3af=!0x1,_0x4fc63f,_0x53cd5a,_0x143d4a,_0xd4d137,_0x22f7e5,_0x4523f4,_0x3d5cbc){const _0x1834b4=_0x5e3172;super(_0x2c9bdd,_0x16788f,_0x3b4429,_0x335088,_0x386bb8,_0x53cd5a,_0x143d4a,_0x22f7e5,_0xd4d137),g(this,'status',_0x1834b4(0x1a5)),(this[_0x1834b4(0x4c1)]=_0x5bb3af,this[_0x1834b4(0x366)]=_0x4fc63f,this['_localeService']=_0x4523f4,this['_notificationService']=_0x3d5cbc,this['_showConflictNotification'](),this[_0x1834b4(0x118)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x5e3172(0x34a)](){return this;}[_0x5e3172(0x15c)](){return this;}[_0x5e3172(0x3b3)](){return this;}[_0x5e3172(0x36b)](){return this;}[_0x5e3172(0x448)](){return this;}[_0x5e3172(0x1a7)](){return this;}[_0x5e3172(0x430)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){const _0x1f722a=_0x5e3172;this['_localCacheService'][_0x1f722a(0x422)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){const _0x3cc404=_0x5e3172;this['_isPermissionRej']?this[_0x3cc404(0x149)][_0x3cc404(0x4b7)]({'title':this[_0x3cc404(0x48a)]['t'](_0x3cc404(0x450)),'content':this['_localeService']['t'](_0x3cc404(0x50c)),'type':_0x3cc404(0x295),'duration':0x0}):this[_0x3cc404(0x149)][_0x3cc404(0x4b7)]({'title':this[_0x3cc404(0x48a)]['t'](_0x3cc404(0x4f9)),'content':this[_0x3cc404(0x48a)]['t']('conflict.content'),'type':_0x3cc404(0x295),'duration':0x0});}[_0x5e3172(0x373)](){const _0x3e1849=_0x5e3172;this['_permissionService'][_0x3e1849(0x299)](new _0x1a4341(this['unitID'])['id'],!0x1);}};Re=$e([A(0x6,_0x1259a7(_0x51028f)),A(0x7,_0x58c2c0),A(0x8,_0x2d3235),A(0x9,_0x1259a7(z)),A(0xa,_0x1259a7(_0x5730a1)),A(0xb,_0x1259a7(_0x56a2bf)),A(0xc,_0xe36565)],Re);let Oe=class extends He{constructor(_0x264cdb,_0x543306,_0x1245b7,_0x433852,_0x3adc6c,_0x54d3bd,_0x19f6a4,_0x333285,_0x14fc2d,_0x5567b0){const _0x34dc50=_0x5e3172;super(_0x264cdb,_0x543306,_0x1245b7,_0x433852,_0x3adc6c,_0x14fc2d,_0x5567b0,_0x19f6a4,_0x333285),g(this,_0x34dc50(0x38b),_0x34dc50(0x11b)),this[_0x34dc50(0x3b4)]=_0x54d3bd;}[_0x5e3172(0x144)](_0x170100){const _0x4c763d=_0x5e3172;return this[_0x4c763d(0x199)][_0x4c763d(0x38e)](_0x170100),this[_0x4c763d(0x324)](),this;}[_0x5e3172(0x34a)](_0x20dbf0){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x18bec3=_0x5e3172;throw new Error(_0x18bec3(0x343));}['onRemoteRej'](){const _0x2bd4a6=_0x5e3172;throw new Error(_0x2bd4a6(0x416));}['onRemoteRetry'](){return this;}[_0x5e3172(0x448)](){return this;}[_0x5e3172(0x1a7)](){const _0x1691f2=_0x5e3172,{_injector:_0x43733c,_pendingMutations:_0x23a8d2,_awaitingChangeset:_0x5490d7,unitID:_0x56b526,_handler:_0x321bf6,type:_0x5392da}=this,_0x3df492=Ji(_0x43733c,_0x56b526,_0x5392da,_0x5490d7,_0x23a8d2,_0x321bf6);return _0x3df492 instanceof pe?_0x3df492['_schedule']():(_0x3df492 instanceof me||_0x3df492 instanceof Te)&&_0x3df492[_0x1691f2(0x430)](),_0x3df492;}[_0x5e3172(0x430)](){const _0x378904=_0x5e3172;throw new Error(_0x378904(0x48e));}};Oe=$e([A(0x5,_0x1259a7(_0xa6ca3c)),A(0x6,_0x1259a7(_0x5730a1)),A(0x7,_0x1259a7(z)),A(0x8,_0x58c2c0),A(0x9,_0x2d3235)],Oe);let ce=class extends He{constructor(_0x2b563a,_0x59dac9,_0x126385,_0x1385d7,_0x5dbe70,_0x239297,_0x117eed,_0x58eee9,_0x1a876a,_0xfd8cc,_0xdfd309,_0x470239,_0x54372b,_0x3333ca){const _0x463e47=_0x5e3172;super(_0x2b563a,_0x59dac9,_0x126385,_0x1385d7,_0x117eed,_0x470239,_0x54372b,_0x1a876a,_0xfd8cc),g(this,_0x463e47(0x38b),_0x463e47(0x45f)),(this[_0x463e47(0x3fe)]=_0x5dbe70,this[_0x463e47(0x52c)]=_0x239297,this[_0x463e47(0x3b4)]=_0x58eee9,this[_0x463e47(0x52d)]=_0xdfd309,this[_0x463e47(0x4ff)]=_0x3333ca);}[_0x5e3172(0x25b)](_0x11ce24){const _0x9bb1cd=_0x5e3172;try{const _0x38bc43=[..._0x11ce24,...this[_0x9bb1cd(0x52c)]],_0x43403a=[this[_0x9bb1cd(0x536)]||this[_0x9bb1cd(0x3fe)]][_0x9bb1cd(0x1fe)](_0x3a0c89=>!!_0x3a0c89);let _0x5f247e,_0x27dd3f;if(_0x43403a[_0x9bb1cd(0x2c8)]){const _0x377b16=this[_0x9bb1cd(0x4ff)][_0x9bb1cd(0x530)](_0x38bc43,_0x43403a,!0x1);if(!_0x1b6696(_0x377b16))throw _0x377b16[_0x9bb1cd(0x295)];_0x5f247e=_0x377b16[_0x9bb1cd(0x1e7)],_0x27dd3f=_0x377b16[_0x9bb1cd(0x39c)];}else _0x5f247e=_0x38bc43,_0x27dd3f=[];let _0x373c41=this[_0x9bb1cd(0x199)];_0x5f247e['forEach'](_0x5c5386=>{const _0x422f4e=_0x9bb1cd;let _0x244469;if(_0x373c41[_0x422f4e(0x2c8)]){const _0x178a32=this[_0x422f4e(0x4ff)][_0x422f4e(0x4a6)](_0x5c5386,_0x373c41);if(!_0x17cfb3(_0x178a32))throw _0x178a32[_0x422f4e(0x295)];_0x244469=_0x178a32[_0x422f4e(0x1e7)],_0x373c41=_0x178a32['m2Prime'];}else _0x244469=_0x5c5386;this[_0x422f4e(0x2a3)](_0x244469);}),this[_0x9bb1cd(0x3fe)]&&this[_0x9bb1cd(0x3ac)](),this[_0x9bb1cd(0x536)]&&_0x27dd3f[_0x9bb1cd(0x2c8)]&&(_0x27dd3f[0x0][_0x9bb1cd(0x214)]=this['_getCurrentRevision']());let _0x4f198e;if(this[_0x9bb1cd(0x536)]&&_0x373c41[_0x9bb1cd(0x2c8)]!==0x0)_0x4f198e=this[_0x9bb1cd(0x3b4)][_0x9bb1cd(0x13c)](me,this[_0x9bb1cd(0x4e4)],this[_0x9bb1cd(0x20d)],_0x27dd3f[0x0],_0x373c41,this[_0x9bb1cd(0x231)],void 0x0);else{if(this['_awaitingChangeset']&&_0x373c41[_0x9bb1cd(0x2c8)]===0x0)_0x27dd3f[0x0][_0x9bb1cd(0x214)]=this['_getCurrentRevision'](),_0x4f198e=this['_injector'][_0x9bb1cd(0x13c)](Te,this[_0x9bb1cd(0x4e4)],this[_0x9bb1cd(0x20d)],_0x27dd3f[0x0],this['_handler']);else{if(_0x373c41['length']!==0x0){const _0x845884=this[_0x9bb1cd(0x3b4)]['createInstance'](pe,this[_0x9bb1cd(0x4e4)],this['type'],_0x373c41,this[_0x9bb1cd(0x231)]);_0x845884[_0x9bb1cd(0x43f)](),_0x4f198e=_0x845884;}else _0x4f198e=this[_0x9bb1cd(0x3b4)][_0x9bb1cd(0x13c)](Fe,this[_0x9bb1cd(0x4e4)],this['type'],this[_0x9bb1cd(0x231)]);}}return _0x4f198e[_0x9bb1cd(0x324)](),_0x4f198e;}catch(_0x45ecf1){return this[_0x9bb1cd(0x52d)]['error'](_0x9bb1cd(0x1d3),_0x9bb1cd(0x37d),_0x45ecf1),this[_0x9bb1cd(0x3b4)][_0x9bb1cd(0x13c)](Re,this['unitID'],this['type'],this[_0x9bb1cd(0x536)],this[_0x9bb1cd(0x199)],this['_handler'],!0x1);}}[_0x5e3172(0x430)](){const _0x1a4be7=_0x5e3172;throw new Error(_0x1a4be7(0x509));}[_0x5e3172(0x144)](_0x54f31e){const _0x4be4d1=_0x5e3172;return this[_0x4be4d1(0x199)]['push'](_0x54f31e),this;}[_0x5e3172(0x34a)](_0x55c7d8){const _0x42cba8=_0x5e3172;return this[_0x42cba8(0x52c)][_0x42cba8(0x38e)](_0x55c7d8),this;}['onRemoteAck'](_0x2c9365){const _0x3fb59e=_0x5e3172;if(this[_0x3fb59e(0x536)])return this[_0x3fb59e(0x3fe)]=this[_0x3fb59e(0x536)],this[_0x3fb59e(0x536)]=null,this;throw new Error(_0x3fb59e(0x2a4));}[_0x5e3172(0x3b3)](_0x2e0b2c){const _0x42ac6c=_0x5e3172;return this[_0x42ac6c(0x49d)](!!(_0x2e0b2c!=null&&_0x2e0b2c[_0x42ac6c(0x3f9)]));}[_0x5e3172(0x36b)](){return this;}[_0x5e3172(0x448)](){const _0x47a045=_0x5e3172;return this[_0x47a045(0x3b4)][_0x47a045(0x13c)](Oe,this[_0x47a045(0x4e4)],this[_0x47a045(0x20d)],this[_0x47a045(0x536)],this[_0x47a045(0x199)],this[_0x47a045(0x231)]);}[_0x5e3172(0x1a7)](){return this;}[_0x5e3172(0x49d)](_0x4932e0){const _0x430cb0=_0x5e3172;return this['_injector'][_0x430cb0(0x13c)](Re,this[_0x430cb0(0x4e4)],this[_0x430cb0(0x20d)],this[_0x430cb0(0x536)],this[_0x430cb0(0x199)],this[_0x430cb0(0x231)],_0x4932e0);}};ce=$e([A(0x7,_0x1259a7(_0xa6ca3c)),A(0x8,_0x1259a7(_0x5730a1)),A(0x9,_0x1259a7(z)),A(0xa,_0xadcc6),A(0xb,_0x58c2c0),A(0xc,_0x2d3235),A(0xd,_0x2a04be)],ce);function Ji(_0xe8dcb8,_0x2561df,_0x3536d4,_0x17bb12,_0x252534,_0x1ec138){const _0x212689=_0x5e3172;return _0x17bb12&&_0x252534[_0x212689(0x2c8)]?_0xe8dcb8[_0x212689(0x13c)](me,_0x2561df,_0x3536d4,_0x17bb12,_0x252534,_0x1ec138,void 0x0):_0x17bb12?_0xe8dcb8[_0x212689(0x13c)](Te,_0x2561df,_0x3536d4,_0x17bb12,_0x1ec138):_0x252534[_0x212689(0x2c8)]?_0xe8dcb8[_0x212689(0x13c)](pe,_0x2561df,_0x3536d4,_0x252534,_0x1ec138):_0xe8dcb8[_0x212689(0x13c)](Fe,_0x2561df,_0x3536d4,_0x1ec138);}var Mo=Object[_0x5e3172(0x243)],xo=Object[_0x5e3172(0x26f)],Ps=(_0x3a1bac,_0x3c609c,_0x1b2b85,_0x2c2abf)=>{const _0x5d33da=_0x5e3172;for(var _0x330d2b=_0x2c2abf>0x1?void 0x0:_0x2c2abf?xo(_0x3c609c,_0x1b2b85):_0x3c609c,_0x2203e9=_0x3a1bac[_0x5d33da(0x2c8)]-0x1,_0x1aa53b;_0x2203e9>=0x0;_0x2203e9--)(_0x1aa53b=_0x3a1bac[_0x2203e9])&&(_0x330d2b=(_0x2c2abf?_0x1aa53b(_0x3c609c,_0x1b2b85,_0x330d2b):_0x1aa53b(_0x330d2b))||_0x330d2b);return _0x2c2abf&&_0x330d2b&&Mo(_0x3c609c,_0x1b2b85,_0x330d2b),_0x330d2b;},H=(_0x580e1e,_0x30bc56)=>(_0x380d1d,_0x3b636c)=>_0x30bc56(_0x380d1d,_0x3b636c,_0x580e1e);let Nt=class extends _0x5ce84d{constructor(_0x4b2364,_0x520f55,_0x527ec5,_0x4694be,_0xf57beb,_0x3332cd,_0x5a4f8d,_0x45c727,_0x2ace9a,_0x2702aa,_0x4923eb,_0x4f4d4d,_0x45183e){const _0x86def1=_0x5e3172;super(),g(this,_0x86def1(0x158),new _0xd0d94b(null)),g(this,'state$',this[_0x86def1(0x158)][_0x86def1(0x306)]()),g(this,_0x86def1(0x3c6)),g(this,_0x86def1(0x4c2),!0x1),g(this,_0x86def1(0x34f),''),g(this,_0x86def1(0x409),0x0),g(this,_0x86def1(0x52f),this['state$']['pipe'](_0x461042(_0x50ad14=>_0x50ad14?_0x50ad14[_0x86def1(0x38b)]:J[_0x86def1(0x4d7)]),_0x55695a(0x1))),g(this,_0x86def1(0x162),!0x1),g(this,_0x86def1(0x4bd),[]),(this[_0x86def1(0x4e4)]=_0x4b2364,this[_0x86def1(0x4a7)]=_0x520f55,this[_0x86def1(0x183)]=_0x527ec5,this[_0x86def1(0x3b4)]=_0x4694be,this['_localCacheService']=_0xf57beb,this[_0x86def1(0x3f0)]=_0x3332cd,this['_localeService']=_0x5a4f8d,this[_0x86def1(0x2fd)]=_0x45c727,this[_0x86def1(0x52d)]=_0x2ace9a,this[_0x86def1(0x327)]=_0x2702aa,this[_0x86def1(0x1ee)]=_0x4923eb,this[_0x86def1(0x366)]=_0x4f4d4d,this[_0x86def1(0x4d2)]=_0x45183e);}get['state'](){return this['_state'];}async[_0x5e3172(0x433)](){const _0x58b67d=_0x5e3172;if(this[_0x58b67d(0x3e5)])throw new Error(_0x58b67d(0x46c));await this[_0x58b67d(0x1d2)]();}['pauseCollaboration'](){const _0x5aa0ef=_0x5e3172;return this[_0x5aa0ef(0x4c2)]=!0x0,_0x38e5fb(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x5e3172(0x2b2)](_0x301e14){const _0x16b7b9=_0x5e3172;this[_0x16b7b9(0x3c6)]=_0x301e14,this[_0x16b7b9(0x158)]['next'](_0x301e14);}async[_0x5e3172(0x1d2)](){const _0x3306fc=_0x5e3172;var _0xbabfc0;this[_0x3306fc(0x2b2)](await this[_0x3306fc(0x1a0)]()),this['_singleActiveUnitService']&&((_0xbabfc0=this['_singleActiveUnitService'])==null||_0xbabfc0[_0x3306fc(0x203)](this[_0x3306fc(0x4e4)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x3306fc(0x395)](this[_0x3306fc(0x4e4)])[_0x3306fc(0x134)](_0x5bb347=>{const _0x49a09d=_0x3306fc;this[_0x49a09d(0x52d)][_0x49a09d(0x16d)](_0x49a09d(0x43a),'editing\x20status\x20changed\x20to',_0x5bb347),_0x5bb347===Ki['OTHER_CLIENTS_EDITING']?(this[_0x49a09d(0x1ee)]['show']({'content':this[_0x49a09d(0x48a)]['t'](_0x49a09d(0x464)),'type':_0x59169d[_0x49a09d(0x18b)]}),this[_0x49a09d(0x366)][_0x49a09d(0x299)](new _0x1a4341(this[_0x49a09d(0x4e4)])['id'],!0x1),this[_0x49a09d(0x366)][_0x49a09d(0x309)](!0x1)):(this[_0x49a09d(0x366)][_0x49a09d(0x299)](new _0x1a4341(this[_0x49a09d(0x4e4)])['id'],!0x0),this[_0x49a09d(0x366)][_0x49a09d(0x309)](!0x0));})));let _0x1a4e6c=!0x1;return this[_0x3306fc(0x2d9)](this[_0x3306fc(0x4a7)]['sessionStatus$'][_0x3306fc(0x134)](_0x11e3c8=>{const _0x382745=_0x3306fc;_0x11e3c8===fe['ONLINE']?this[_0x382745(0x235)](_0x1a4e6c):_0x11e3c8===fe[_0x382745(0x4d7)]&&(_0x1a4e6c=!0x0,this[_0x382745(0x2bd)]());})),this[_0x3306fc(0x2d9)](this[_0x3306fc(0x4a7)][_0x3306fc(0x2c6)][_0x3306fc(0x134)](_0x3ab282=>{const _0x2379d8=_0x3306fc;try{switch(_0x3ab282[_0x2379d8(0x451)]){case _0x385814[_0x2379d8(0x331)]:{this['_onRemoteChangeset'](_0x5e0840(_0x3ab282[_0x2379d8(0x288)]));break;}case _0x385814[_0x2379d8(0x2e5)]:{this['_onRemoteACK'](_0x3ab282[_0x2379d8(0x288)]);break;}case _0x385814[_0x2379d8(0x2f4)]:{this[_0x2379d8(0x10d)]();break;}case _0x385814[_0x2379d8(0x155)]:{this[_0x2379d8(0x46f)](_0x3ab282[_0x2379d8(0x288)]);break;}case _0x385814[_0x2379d8(0x46d)]:{this['_onFetchMissResult'](_0x3ab282[_0x2379d8(0x288)][_0x2379d8(0x3fd)][_0x2379d8(0x2b4)](_0x11241e=>_0x5e0840(_0x11241e)));break;}case _0x385814[_0x2379d8(0x3e9)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x12e077){throw console[_0x2379d8(0x295)](_0x2379d8(0x3a9),_0x12e077),_0x12e077;}})),this[_0x3306fc(0x3c6)];}[_0x5e3172(0x229)](){const _0x46814c=_0x5e3172;this[_0x46814c(0x162)]=!0x1;}[_0x5e3172(0x4cc)](){const _0x35e46f=_0x5e3172;if(this[_0x35e46f(0x162)])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['_transitionLocked']=!0x0;}[_0x5e3172(0x4a3)](_0x5f4772){const _0x224a98=_0x5e3172;this[_0x224a98(0x4cc)](),this[_0x224a98(0x2b2)](this[_0x224a98(0x3c6)][_0x224a98(0x144)](_0x5f4772)),this['_unlockTransition']();}[_0x5e3172(0x1ab)](_0x1f5c9f){const _0x88c1fc=_0x5e3172;if(!(_0x1f5c9f[_0x88c1fc(0x2ed)]<=this[_0x88c1fc(0x2fd)][_0x88c1fc(0x30c)](this[_0x88c1fc(0x4e4)]))){if(this[_0x88c1fc(0x4c2)]){this['_remoteChangesetQueue'][_0x88c1fc(0x38e)](_0x1f5c9f);return;}this[_0x88c1fc(0x380)](_0x1f5c9f);}}[_0x5e3172(0x117)](){const _0x2ccd77=_0x5e3172;this['_remoteChangesetQueue'][_0x2ccd77(0x356)](_0x4f8e18=>this[_0x2ccd77(0x380)](_0x4f8e18)),this[_0x2ccd77(0x4bd)]=[];}['_applyRemoteChangeset'](_0x45f26f){const _0x42f667=_0x5e3172,_0xb8eca4=this[_0x42f667(0x3f0)][_0x42f667(0x110)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x42f667(0x110)][_0x42f667(0x1ff)]()[_0x42f667(0x410)])(_0x45f26f[_0x42f667(0x1b2)],null)||_0x45f26f[_0x42f667(0x1b2)],_0x81b871={..._0x45f26f,'mutations':_0xb8eca4};this[_0x42f667(0x4cc)](),this[_0x42f667(0x2b2)](this[_0x42f667(0x3c6)][_0x42f667(0x34a)](_0x81b871)),this[_0x42f667(0x229)]();}[_0x5e3172(0x4c5)](_0x3fe4e1){const _0x5ea9fd=_0x5e3172;this['_lockTransition'](),this[_0x5ea9fd(0x2b2)](this['_state'][_0x5ea9fd(0x15c)](_0x3fe4e1)),this[_0x5ea9fd(0x229)]();}[_0x5e3172(0x10d)](_0x3319a3){const _0xc3f2fe=_0x5e3172;this['_lockTransition'](),this['_updateState'](this[_0xc3f2fe(0x3c6)][_0xc3f2fe(0x3b3)](_0x3319a3)),this['_unlockTransition']();}['_onRemoteRetry'](_0x4ae348){const _0x2e377b=_0x5e3172;this[_0x2e377b(0x4cc)](),this[_0x2e377b(0x2b2)](this['_state'][_0x2e377b(0x36b)](_0x4ae348)),this[_0x2e377b(0x229)]();}[_0x5e3172(0x401)](_0x25f388){const _0x16ff0e=_0x5e3172;if(!(this[_0x16ff0e(0x3c6)]instanceof ce))throw new TypeError(_0x16ff0e(0x475));const _0x342b97=_0x25f388[_0x16ff0e(0x2b4)](_0x53890d=>{const _0x49ef6c=_0x16ff0e,_0x3ded77=this[_0x49ef6c(0x3f0)]['interceptor'][_0x49ef6c(0x37e)](this['_compressMutationService']['interceptor'][_0x49ef6c(0x1ff)]()[_0x49ef6c(0x410)])(_0x53890d[_0x49ef6c(0x1b2)],null)||_0x53890d[_0x49ef6c(0x1b2)];return{..._0x53890d,'mutations':_0x3ded77};});this['_lockTransition'](),this['_updateState'](this[_0x16ff0e(0x3c6)]['onMissedChangesetFetched'](_0x342b97)),this[_0x16ff0e(0x229)]();}[_0x5e3172(0x2bd)](){const _0x5cb585=_0x5e3172;this[_0x5cb585(0x4cc)](),this[_0x5cb585(0x2b2)](this[_0x5cb585(0x3c6)][_0x5cb585(0x448)]()),this[_0x5cb585(0x229)]();}[_0x5e3172(0x235)](_0x46e1f8=!0x1){const _0x988520=_0x5e3172;this['_lockTransition'](),this[_0x988520(0x2b2)](this[_0x988520(0x3c6)]['toggleOnline']()),this[_0x988520(0x229)]();const _0x196861=this[_0x988520(0x3c6)];_0x46e1f8&&_0x196861 instanceof Fe&&(this[_0x988520(0x4cc)](),this['_updateState'](_0x196861['fetchMiss']()),this[_0x988520(0x229)]());}async[_0x5e3172(0x1a0)](){return new Promise(_0x20fa0d=>{const _0x17799b=_0x1eb2;this['session'][_0x17799b(0x18c)][_0x17799b(0x4b6)](_0x3decc5(0x1))[_0x17799b(0x134)](async _0x3ecfb3=>{const _0x29182b=_0x17799b;_0x20fa0d(await this['_createInitialStateImpl'](_0x3ecfb3===fe[_0x29182b(0x2e2)]));});});}['_createHandler'](){const _0x55c9f2=_0x5e3172,_0x264c90=this[_0x55c9f2(0x4e4)];return{'onStateChange':(_0xa321d3,_0x342f0b)=>{const _0x37ccbb=_0x55c9f2;if(_0xa321d3!==this[_0x37ccbb(0x3c6)])throw new Error(_0x37ccbb(0x240)+_0xa321d3[_0x37ccbb(0x38b)]+_0x37ccbb(0x3d0)+_0x342f0b[_0x37ccbb(0x38b)]+_0x37ccbb(0x159)+this[_0x37ccbb(0x3c6)][_0x37ccbb(0x38b)]);this[_0x37ccbb(0x2b2)](_0x342f0b);},'onSendChangeset':_0xce5de1=>{const _0x482085=_0x55c9f2;_0xce5de1[_0x482085(0x12c)]||(_0xce5de1[_0x482085(0x12c)]=this[_0x482085(0x34f)],_0xce5de1[_0x482085(0x11c)]=++this[_0x482085(0x409)]);const _0x5e5a24={'eventID':_0x385814[_0x482085(0x27a)],'data':{'unitID':_0xce5de1[_0x482085(0x4e4)],'unitType':this[_0x482085(0x183)],'changeset':_0xce5de1,'memberID':this[_0x482085(0x4a7)]['getMemberID']()}};this[_0x482085(0x4a7)][_0x482085(0x3e0)](_0x5e5a24,this['unitID']);},'onMissingChangesets':({from:_0x27e365,to:_0x3c8fe6})=>{const _0x4938f1=_0x55c9f2;this['_logService'][_0x4938f1(0x16d)](_0x4938f1(0x43a),'fetching\x20missing\x20changesets\x20from\x20'+_0x27e365+'\x20to\x20'+_0x3c8fe6);const _0x1d9605={'eventID':_0x385814['FETCH_MISSING'],'data':{'unitID':_0x264c90,'unitType':this[_0x4938f1(0x183)],'from':_0x27e365,'to':_0x3c8fe6}};this['session'][_0x4938f1(0x3e0)](_0x1d9605,this['unitID']);}};}async[_0x5e3172(0x339)](_0x50c038){const _0x40d8dc=_0x5e3172;var _0x4038d1,_0x1bb405;const _0x4f0895=await this[_0x40d8dc(0x32a)]['loadOfflineData'](this[_0x40d8dc(0x4e4)]),_0x6aa9f6=(_0x4038d1=_0x4f0895==null?void 0x0:_0x4f0895[_0x40d8dc(0x1b2)])!=null?_0x4038d1:[],_0x429394=(_0x1bb405=_0x4f0895==null?void 0x0:_0x4f0895['awaitingChangeset'])!=null?_0x1bb405:null,_0x5f5094=!!(_0x429394!=null&&_0x429394[_0x40d8dc(0x12c)])&&!!(_0x429394!=null&&_0x429394[_0x40d8dc(0x11c)]);this[_0x40d8dc(0x34f)]=_0x5f5094?_0x429394[_0x40d8dc(0x12c)]:ho(),this[_0x40d8dc(0x409)]=_0x5f5094?_0x429394['reqId']:0x0;const _0x4b8ad3=this['unitID'];try{this[_0x40d8dc(0x502)](_0x429394,_0x6aa9f6);}catch(_0x71a95b){this[_0x40d8dc(0x52d)][_0x40d8dc(0x295)](_0x71a95b);}const _0x59c0d2=this['_createHandler']();if(_0x50c038){const _0x2910c1=Ji(this['_injector'],_0x4b8ad3,this[_0x40d8dc(0x183)],_0x429394,_0x6aa9f6,_0x59c0d2);return _0x2910c1 instanceof pe?_0x2910c1[_0x40d8dc(0x43f)]():(_0x2910c1 instanceof me||_0x2910c1 instanceof Te)&&_0x2910c1[_0x40d8dc(0x430)](),_0x2910c1;}return this[_0x40d8dc(0x3b4)]['createInstance'](Oe,_0x4b8ad3,this[_0x40d8dc(0x183)],_0x429394,_0x6aa9f6,_0x59c0d2);}[_0x5e3172(0x502)](_0x3f840b,_0x3f557e){const _0x325aaa=_0x5e3172;var _0x226371,_0x107ec8;const _0x5083f1=this[_0x325aaa(0x3f0)][_0x325aaa(0x110)][_0x325aaa(0x37e)](this[_0x325aaa(0x3f0)][_0x325aaa(0x110)][_0x325aaa(0x1ff)]()[_0x325aaa(0x410)]);(_0x226371=_0x5083f1((_0x3f840b==null?void 0x0:_0x3f840b['mutations'])||[],null))==null||_0x226371[_0x325aaa(0x356)](_0x435f54=>this[_0x325aaa(0x327)][_0x325aaa(0x266)](_0x435f54['id'],_0x435f54[_0x325aaa(0x436)])),(_0x107ec8=_0x5083f1(_0x3f557e||[],null))==null||_0x107ec8[_0x325aaa(0x356)](_0x4b179b=>this[_0x325aaa(0x327)][_0x325aaa(0x266)](_0x4b179b['id'],_0x4b179b[_0x325aaa(0x436)]));}};Nt=Ps([H(0x3,_0x1259a7(_0xa6ca3c)),H(0x4,_0x1259a7(z)),H(0x5,_0x1259a7(_0x2efac4)),H(0x6,_0x1259a7(_0x56a2bf)),H(0x7,_0x1259a7(_0x5730a1)),H(0x8,_0xadcc6),H(0x9,_0x58c2c0),H(0xa,_0x28a2c3),H(0xb,_0x51028f),H(0xc,_0x2f5f30(jt))],Nt);let ls=class extends Nt{constructor(_0xc9588f,_0x59ff8e,_0x40941b,_0xba3897,_0x267b5e,_0x57f267,_0x47a7cc,_0x2cf2c9,_0x310814,_0x58cf35,_0x1d66c1,_0xb925ac,_0x26a0e9,_0x54640d,_0x343359,_0x564d73,_0x1a6c4e,_0x286af1){const _0x41b7d2=_0x5e3172;super(_0xc9588f,_0x40941b,_0x59ff8e,_0xba3897,_0x267b5e,_0x57f267,_0x47a7cc,_0x2cf2c9,_0x54640d,_0x343359,_0x564d73,_0x1a6c4e,_0x286af1),this['unitID']=_0xc9588f,this['type']=_0x59ff8e,this[_0x41b7d2(0x3dd)]=_0x310814,this['_docTransformIMECacheService']=_0x58cf35,this['_docTransformStateCacheService']=_0x1d66c1,this[_0x41b7d2(0x26d)]=_0xb925ac,this['_docSyncEditingCollabCursorService']=_0x26a0e9;}['_createHandler'](){const _0x98899a=_0x5e3172,_0x389975=super[_0x98899a(0x35e)]();return _0x389975[_0x98899a(0x408)]=_0x3c4c8a=>this['_docTransformIMECacheService']['transformIMECache'](_0x3c4c8a),_0x389975['onTransformState']=_0x440691=>this[_0x98899a(0x2ae)]['transformStateCache'](_0x440691),_0x389975[_0x98899a(0x1bf)]=_0x4469b7=>this[_0x98899a(0x26d)][_0x98899a(0x385)](_0x4469b7),_0x389975[_0x98899a(0x1ca)]=_0x5f1895=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x5f1895),_0x389975[_0x98899a(0x461)]=_0x15f9d5=>this[_0x98899a(0x2e7)]['transformRemoteChangeset'](_0x15f9d5),_0x389975[_0x98899a(0x4dc)]=_0x19cf46=>this[_0x98899a(0x2ae)][_0x98899a(0x3a2)](_0x19cf46),_0x389975;}async['_init'](){const _0x1deafd=_0x5e3172,_0x5aca9a=await super[_0x1deafd(0x1d2)]();return this['disposeWithMe'](this[_0x1deafd(0x3dd)][_0x1deafd(0x33c)]['pipe'](_0x34041a(this[_0x1deafd(0x511)]))[_0x1deafd(0x134)](_0x1421e6=>{const _0x1bc00b=_0x1deafd;if(_0x1421e6==null)return;const {unitId:_0x459b70,redoState:_0x46487f,commandId:_0x5674b3}=_0x1421e6;if(_0x459b70!==this[_0x1bc00b(0x4e4)])return;const _0x1b01cc={'id':_0x5674b3,'type':_0x57cf4b[_0x1bc00b(0x345)],'params':{'unitId':_0x459b70,'actions':_0x46487f['actions'],'textRanges':null}};this[_0x1bc00b(0x4a3)](_0x1b01cc);})),this[_0x1deafd(0x2d9)](this['_commandService'][_0x1deafd(0x1e2)]((_0x1e1db2,_0x4257b8)=>{const _0x3c7653=_0x1deafd;if(_0x1e1db2['type']!==_0x57cf4b[_0x3c7653(0x345)]||_0x4257b8!=null&&_0x4257b8[_0x3c7653(0x3ce)]||_0x4257b8!=null&&_0x4257b8['onlyLocal']||_0x1e1db2['id']===_0x48d9a2['id'])return;const _0x4c6262=_0x1e1db2[_0x3c7653(0x436)];if((_0x4c6262==null?void 0x0:_0x4c6262['unitId'])!==this['unitID'])return;const _0x35c35b=_0x1e1db2,_0x23a749=this[_0x3c7653(0x3f0)][_0x3c7653(0x110)]['fetchThroughInterceptors'](this[_0x3c7653(0x3f0)][_0x3c7653(0x110)]['getInterceptPoints']()[_0x3c7653(0x2de)])([_0x35c35b],null)||[_0x35c35b];this[_0x3c7653(0x4a3)](_0x23a749[0x0]);})),_0x5aca9a;}};ls=Ps([H(0x3,_0x1259a7(_0xa6ca3c)),H(0x4,_0x1259a7(z)),H(0x5,_0x1259a7(_0x2efac4)),H(0x6,_0x1259a7(_0x56a2bf)),H(0x7,_0x1259a7(_0x5730a1)),H(0x8,_0x1259a7(_0x59d42b)),H(0x9,_0x1259a7(yt)),H(0xa,_0x1259a7(Dt)),H(0xb,_0x1259a7(Pt)),H(0xc,_0x1259a7(Ds)),H(0xd,_0xadcc6),H(0xe,_0x58c2c0),H(0xf,_0x28a2c3),H(0x10,_0x51028f),H(0x11,_0x2f5f30(jt))],ls);let _s=class extends Nt{constructor(_0x63e310,_0x14deb8,_0x2d6196,_0x5bb126,_0x27bf9a,_0x1ad4a5,_0x16c867,_0x34a6fa,_0x4bec64,_0x358f73,_0x1ae4af,_0x18c645,_0x24b92d,_0x3edbce){const _0x29e5c2=_0x5e3172;super(_0x63e310,_0x2d6196,_0x14deb8,_0x5bb126,_0x27bf9a,_0x1ad4a5,_0x16c867,_0x34a6fa,_0x358f73,_0x1ae4af,_0x18c645,_0x24b92d,_0x3edbce),this[_0x29e5c2(0x4e4)]=_0x63e310,this[_0x29e5c2(0x20d)]=_0x14deb8,this[_0x29e5c2(0x404)]=_0x4bec64;}[_0x5e3172(0x35e)](){const _0x522f44=_0x5e3172,_0x587303=super['_createHandler']();return _0x587303[_0x522f44(0x1bf)]=_0x5183e9=>this[_0x522f44(0x404)]['transformSelections'](_0x5183e9),_0x587303;}async[_0x5e3172(0x1d2)](){const _0x384ffe=_0x5e3172,_0x479b32=await super[_0x384ffe(0x1d2)]();return this[_0x384ffe(0x2d9)](this['_commandService'][_0x384ffe(0x1e2)]((_0x25f1d6,_0x3df31e)=>{const _0xd8ced8=_0x384ffe;if(_0x25f1d6[_0xd8ced8(0x20d)]!==_0x57cf4b[_0xd8ced8(0x345)]||_0x3df31e!=null&&_0x3df31e[_0xd8ced8(0x3ce)]||_0x3df31e!=null&&_0x3df31e[_0xd8ced8(0x13b)])return;const _0x216ef1=_0x25f1d6['params'];if((_0x216ef1==null?void 0x0:_0x216ef1[_0xd8ced8(0x452)])!==this[_0xd8ced8(0x4e4)])return;const _0x54f50=_0x25f1d6,_0x51b7d8=this[_0xd8ced8(0x3f0)][_0xd8ced8(0x110)][_0xd8ced8(0x37e)](this[_0xd8ced8(0x3f0)][_0xd8ced8(0x110)][_0xd8ced8(0x1ff)]()[_0xd8ced8(0x2de)])([_0x54f50],null)||[_0x54f50];this[_0xd8ced8(0x4a3)](_0x51b7d8[0x0]);})),_0x479b32;}};_s=Ps([H(0x3,_0x1259a7(_0xa6ca3c)),H(0x4,_0x1259a7(z)),H(0x5,_0x1259a7(_0x2efac4)),H(0x6,_0x1259a7(_0x56a2bf)),H(0x7,_0x1259a7(_0x5730a1)),H(0x8,_0x1259a7(wt)),H(0x9,_0xadcc6),H(0xa,_0x58c2c0),H(0xb,_0x28a2c3),H(0xc,_0x51028f),H(0xd,_0x2f5f30(jt))],_s);var Lo=Object[_0x5e3172(0x243)],$o=Object[_0x5e3172(0x26f)],Ho=(_0x784141,_0x4b33d8,_0x98e847,_0x4cc933)=>{const _0x1425bb=_0x5e3172;for(var _0x2c114e=_0x4cc933>0x1?void 0x0:_0x4cc933?$o(_0x4b33d8,_0x98e847):_0x4b33d8,_0x3ae7ef=_0x784141[_0x1425bb(0x2c8)]-0x1,_0x4e8deb;_0x3ae7ef>=0x0;_0x3ae7ef--)(_0x4e8deb=_0x784141[_0x3ae7ef])&&(_0x2c114e=(_0x4cc933?_0x4e8deb(_0x4b33d8,_0x98e847,_0x2c114e):_0x4e8deb(_0x2c114e))||_0x2c114e);return _0x4cc933&&_0x2c114e&&Lo(_0x4b33d8,_0x98e847,_0x2c114e),_0x2c114e;},zt=(_0x1a6a00,_0x52d06d)=>(_0x49b94d,_0x4bc980)=>_0x52d06d(_0x49b94d,_0x4bc980,_0x1a6a00);let rt=class extends _0x5ce84d{constructor(_0x14e532,_0x3a1518,_0x52cead){const _0x19d488=_0x5e3172;super(),g(this,'_entities',new Map()),g(this,_0x19d488(0x43c),new _0x1b8780()),(this[_0x19d488(0x3b4)]=_0x14e532,this[_0x19d488(0x22d)]=_0x3a1518,this[_0x19d488(0x153)]=_0x52cead,this[_0x19d488(0x1d2)]());}[_0x5e3172(0x48f)](){const _0x25bd78=_0x5e3172;super[_0x25bd78(0x48f)](),this[_0x25bd78(0x24f)][_0x25bd78(0x356)](_0x333677=>_0x333677[_0x25bd78(0x48f)]()),this[_0x25bd78(0x24f)][_0x25bd78(0x3db)]();}[_0x5e3172(0x4eb)](_0x1de866){const _0x2610a7=_0x5e3172;var _0x1f4974;return(_0x1f4974=this[_0x2610a7(0x24f)][_0x2610a7(0x307)](_0x1de866))!=null?_0x1f4974:null;}[_0x5e3172(0x46e)](_0x27c5c9){const _0x378010=_0x5e3172,_0xc52a83=this['getCollabEntity'](_0x27c5c9);return _0xc52a83?_0x4f62b6(_0xc52a83):this[_0x378010(0x43c)][_0x378010(0x4b6)](_0x3c0a43(_0x5b8be3=>_0x5b8be3[_0x378010(0x4e4)]===_0x27c5c9));}[_0x5e3172(0x1d2)](){const _0x3fca07=_0x5e3172;this[_0x3fca07(0x153)][_0x3fca07(0x1ba)](_0xfbb68f[_0x3fca07(0x1c2)])[_0x3fca07(0x4b6)](_0x34041a(this[_0x3fca07(0x511)]),_0x5a47b9(0x10))[_0x3fca07(0x134)](async _0x2f0dc2=>{const _0x5e2f53=_0x3fca07,_0x5a654a=_0x2f0dc2['getUnitId'](),_0x4a6a18=await this['_startCollaboration'](_0x5a654a,ae[_0x5e2f53(0x1c2)]);this[_0x5e2f53(0x24f)][_0x5e2f53(0x332)](_0x5a654a,_0x4a6a18);}),this[_0x3fca07(0x153)][_0x3fca07(0x1ba)](_0xfbb68f['UNIVER_DOC'])['pipe'](_0x34041a(this[_0x3fca07(0x511)]),_0x5a47b9(0x10))[_0x3fca07(0x4b6)](_0x3c0a43(_0x36904e=>!_0x36904e[_0x3fca07(0x12f)]()[_0x3fca07(0x1b9)]('__')))[_0x3fca07(0x134)](async _0x3c71d4=>{const _0x5e22bf=_0x3fca07,_0x34ff8a=_0x3c71d4[_0x5e22bf(0x12f)](),_0x857117=await this[_0x5e22bf(0x413)](_0x34ff8a,ae[_0x5e22bf(0x11d)]);this[_0x5e22bf(0x24f)]['set'](_0x34ff8a,_0x857117);}),_0x143e60(this[_0x3fca07(0x153)]['getTypeOfUnitDisposed$'](_0xfbb68f['UNIVER_SHEET']),this[_0x3fca07(0x153)][_0x3fca07(0x241)](_0xfbb68f[_0x3fca07(0x11d)]))[_0x3fca07(0x4b6)](_0x34041a(this[_0x3fca07(0x511)]))['subscribe'](_0x135229=>{const _0x2d53fd=_0x3fca07,_0x2b779a=_0x135229['getUnitId'](),_0x557c9d=this[_0x2d53fd(0x24f)][_0x2d53fd(0x307)](_0x2b779a);_0x557c9d&&(_0x557c9d[_0x2d53fd(0x48f)](),this[_0x2d53fd(0x24f)]['delete'](_0x2b779a));});}async[_0x5e3172(0x413)](_0x1912a1,_0x3befed){const _0x5ccaa0=_0x5e3172,_0x3592d6=await this['_collabSessionService'][_0x5ccaa0(0x17e)](_0x1912a1),_0x495b69=this[_0x5ccaa0(0x3b4)][_0x5ccaa0(0x13c)](this[_0x5ccaa0(0x3ae)](_0x3befed),_0x1912a1,_0x3befed,_0x3592d6);return await _0x495b69[_0x5ccaa0(0x433)](),this[_0x5ccaa0(0x43c)][_0x5ccaa0(0x23b)](_0x495b69),_0x495b69;}[_0x5e3172(0x3ae)](_0x2d9a8f){const _0x3b9d93=_0x5e3172;switch(_0x2d9a8f){case ae[_0x3b9d93(0x11d)]:return ls;case ae[_0x3b9d93(0x1c2)]:return _s;default:throw new Error(_0x3b9d93(0x163)+_0x2d9a8f);}}};rt=Ho([zt(0x0,_0x1259a7(_0xa6ca3c)),zt(0x1,_0x1259a7(xe)),zt(0x2,_0x381e7e)],rt);var jo=Object['defineProperty'],Bo=Object[_0x5e3172(0x26f)],ko=(_0x286385,_0x309464,_0x1f9efc,_0x382e7a)=>{const _0x4eec3f=_0x5e3172;for(var _0x322e75=_0x382e7a>0x1?void 0x0:_0x382e7a?Bo(_0x309464,_0x1f9efc):_0x309464,_0x580723=_0x286385[_0x4eec3f(0x2c8)]-0x1,_0x41fea4;_0x580723>=0x0;_0x580723--)(_0x41fea4=_0x286385[_0x580723])&&(_0x322e75=(_0x382e7a?_0x41fea4(_0x309464,_0x1f9efc,_0x322e75):_0x41fea4(_0x322e75))||_0x322e75);return _0x382e7a&&_0x322e75&&jo(_0x309464,_0x1f9efc,_0x322e75),_0x322e75;},ti=(_0x372a37,_0x1ff0c2)=>(_0x3c52cb,_0x55cc09)=>_0x1ff0c2(_0x3c52cb,_0x55cc09,_0x372a37);let Ut=class extends _0x5ce84d{constructor(_0x54f294,_0x928c56){const _0xa55e2d=_0x5e3172;super(),this[_0xa55e2d(0x310)]=_0x54f294,this[_0xa55e2d(0x4c0)]=_0x928c56,this['_init']();}[_0x5e3172(0x1d2)](){const _0x5a0c04=_0x5e3172,_0xf7aa1=this;this[_0x5a0c04(0x2d9)](this['_docClipboardService'][_0x5a0c04(0x4ec)]({'onBeforePasteImage':async _0x184c2f=>{const _0xd014d6=_0x5a0c04,_0x4e2446=await _0xf7aa1[_0xd014d6(0x4c0)][_0xd014d6(0x341)](_0x184c2f);return _0x4e2446?{'source':_0x4e2446[_0xd014d6(0x38f)],'imageSourceType':_0x4e2446[_0xd014d6(0x4dd)]}:null;}}));}};Ut=ko([ti(0x0,_0x51fcd5),ti(0x1,_0x1c8798)],Ut);const si=[_0x5e3172(0x50e),_0x5e3172(0x3b7),_0x5e3172(0x207),_0x5e3172(0x301),_0x5e3172(0x14d),_0x5e3172(0x485)];class Ns extends _0x5f337f{constructor(){const _0x854622=_0x5e3172;super(...arguments),g(this,_0x854622(0x24b),new Map()),g(this,'_colorIndex',0x0);}[_0x5e3172(0x236)](_0x410980){const _0x210598=_0x5e3172;if(this['_assignedColors'][_0x210598(0x3cb)](_0x410980))return this['_assignedColors'][_0x210598(0x307)](_0x410980);const _0x2e063c=si[this[_0x210598(0x2cd)]];return this[_0x210598(0x2cd)]=(this[_0x210598(0x2cd)]+0x1)%si[_0x210598(0x2c8)],this[_0x210598(0x24b)][_0x210598(0x332)](_0x410980,_0x2e063c),_0x2e063c;}}var Wo=Object[_0x5e3172(0x243)],Fo=Object[_0x5e3172(0x26f)],Vo=(_0x5a36cf,_0x2b613e,_0x36706d,_0x4aec6b)=>{for(var _0x17be08=_0x4aec6b>0x1?void 0x0:_0x4aec6b?Fo(_0x2b613e,_0x36706d):_0x2b613e,_0x8f18=_0x5a36cf['length']-0x1,_0x26c6f5;_0x8f18>=0x0;_0x8f18--)(_0x26c6f5=_0x5a36cf[_0x8f18])&&(_0x17be08=(_0x4aec6b?_0x26c6f5(_0x2b613e,_0x36706d,_0x17be08):_0x26c6f5(_0x17be08))||_0x17be08);return _0x4aec6b&&_0x17be08&&Wo(_0x2b613e,_0x36706d,_0x17be08),_0x17be08;},we=(_0x183b09,_0x4d98cf)=>(_0x4fd1d2,_0x5918bc)=>_0x4d98cf(_0x4fd1d2,_0x5918bc,_0x183b09);const Go=0x12c,Yo=0x64;function _0x1abc(){const _0x37c301=['localeService','/resources','USERS_ENTER','_retryConnectingTimer','with','objectActions','_state','getUniverSheetInstance','unknown','abs','_clearScheduledTask','has','exhaustSavingTask','cursorInfo','fromCollab','_initEventListeners','\x0aAfter:\x20','infoRsp','liveShareNewHost','deepClone','INTERNAL_ERROR','_scheduleCollaborationTimeoutTimer','_getSessionTicket','_updateCollabCursors','getCurrentUser','_getDownloadEndpointURL','_createSocketURL','clear','42GjrGJr','_docStateChangeManagerService','ERROR_IMAGE','reset','send','_saveTaskMap','FETCH_MISS','409512bHxOjn','_shapes','state','session.join-failed','setStateCache','snapshotServerUrl','PERMISSION_REJ','_prevBlock','_scene','NO_OTHER_CLIENTS_EDITING','_sendingTimer','_transformHistoryAndStateStack','syncEditingCollabCursor','_compressMutationService','memberID','_instanceService','/universer-api/authz','UNAUTHENTICATED','_anchor','_collabCursorController','round','/collaborator','isPermissionRej','ALREADY_EXISTS','176992rPxOra','getCollabCursors$','changesets','_acknowledgedAwaitingChangeset','565gJvyLl','3028566UawZPo','_onFetchMissResult','_session','splice','_sheetTransformSelectionsService','socketService','_localStorageService','getUnitOnRev','onTransformIME','_changesetReqId','FromArray','_getSheetObject','subUnitId','encryptBlock','bind','[DataLoaderController]','COMPRESS_MUTATION_APPLY','MSG_FOR_ERROR','text','_startCollaboration','_userManagerService','_eventUnsubscribe','[OfflineState]:\x20received\x20rejection.','incrementRevOfUnit','unitId\x20is\x20not\x20found','_backgroundColor','fetchMissingChangesets','_nDataBytes','_collaborationSessionService','_snapshotServerService','_labelPosition','complete','HEARTBEAT','ceil','updateOfflineData','CONFLICT','onPointerMove$','_document','&to=','_rescheduleHeartbeat','saveOfflineData','string','LICENSE_DISTRO_REJECTED','doc.mutation.rich-text-editing','_updateSubUnitFromURLParams','PENDING','OTHER_CLIENTS_EDITING','sheetId','resend','setParam','_initMergeInterceptor','init','charAt','_render','params','_socket','/universer-api/snapshot/','UnitSnapshot','[CollaborationEntity]','univer-online-status-title','_entityInit$','awaiting','getWorkbookSelections','_schedule','_transformPreviousActiveRange','_removeRoom','_resendWithTimeout','getUnitType','/universer-api/comb','_sendHeartbeat','HttpImport','encrypt','toggleOffline','_snapshotService','getRoom','_getSendChangesetTimeout','collab-client.tooltip.reconnect','endRow','readInt32LE','undoState','permission.title','eventID','unitId','csShouldRetryEvent','HmacMD5','_clearRedo','_removeClearOtherTimer','SNAPSHOT_URL_KEY','title','resize','_onUserLeave','_getUploadFileURL','saveSnapshot','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_transformSelections','fetch_missing','setConfig','onTransformRemoteChangesetByIMECache','format','clearInterval','collaboration.single-unit.warning','_handleJoinEvent','_id','top','isArray','slice','liveShareOperation','_clearUndo','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','PSEUDO_FETCH_MISSING_RESULT','getCollabEntity$','_onRemoteRetry','collaborators','cfg','defs','randomBytes','collaboration_new_changeset','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','[CollaborationSessionService]:\x20socket\x20error','_setupSubUnitSync','APPLY_REJECT','collabStatus.fetchMiss','MD5','ReactCurrentOwner','roomMembers$','univer-online','replaceState','loadOfflineData','delete','deleteCollaborator','msCrypto','listRoles','/universer-api/stream/file/upload','gold400','flatMap','[CollaborationSession]','_getRedoStack','_scheduleClearOtherTimer','_localeService','reconnect','compute','transformStateCache','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','dispose','ACTIVE_UNIT_EVENT_CHANNEL','reverse','collabStatus.offline','_cipher','_roomMembers$','textRanges','Unknown\x20user','collaboration-client.config','getResourcesRequest','kdf','all','_registerRenderDependencies','addObject','_onConflict','from','path','_ws','message$','connection\x20error','_onLocalMutation','_checkMissing','stopTime','transformMutationsWithChangeset','session','Base64','cursorInfo$','onPointerEnter$','#fff','x-univer-host','signUrlServerUrl','_initUnitPermissionChange','image/jpg','_registerDependencies','&assign=','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','exports','_themeService','collaboration.closeRoom','pipe','show','314946bmxxcJ','concat','_transformStack','clamp','LIVESHARE_NEW_HOST','_remoteChangesetQueue','_getSaveTimeout','getSheetBlock','_imageIoService','_isPermissionRej','_collaborationPaused','bottom','_getScale','_onRemoteACK','_anchorDot','{fileID}','_startDocCollabCursor','onPointerLeave$','session.will-retry','DeleteRangeMoveLeftCommandId','_lockTransition','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','socket\x20close','on-line-single','unshift','_initStatusComponent','_singleActiveUnitService','roomInfos','_context','fromCharCode','update','OFFLINE','hasOwnProperty','1em','_sender','_initStatusListener','onTransformRemoteChangesetByStateCache','imageSourceType','_updateLocalCursor','m1Prime','SNAPSHOT_INVALID_SNAPSHOT','members','location','COMPLETION_FINISHED','unitID','attrs','_range','/universer-api/oidc/authpage','prototype','TEXT','responseType','getCollabEntity','addClipboardHook','leaveEvent','_renderManagerService','onMissingChangesets','_clearHeartbeatTimer','fillStyle','propertyIsEnumerable','_urlService','_updateStatus','getStateCache','_resendTimeout','trim','PERMISSION_DENIED','conflict.title','_startTelemetryCollaborationNewChangeset','[PendingState]:\x20received\x20acknowledgement.','_throwTelemetryCollaborationNewChangeset','Malformed\x20UTF-8\x20data','fillText','_transformService','call','avatar','_replayCachedMutations','[SyncedState]:\x20received\x20rejection.','allowed','div','clone','_unitID','updateMember','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','VIEW_MAIN','_sessionStatus$','permission.content','_collaborationController','purple300','stringify','_selfUnitIDs','dispose$','hostname','HEARTBEAT_INTERVAL','UPDATE_CURSOR','snapshot','Fragment','backgroundColor','getParam','\x20in\x20_schedule.','iterations','_keyPriorReset','JOINING','BASE64','_hash','_colorAssignService','searchParams','error$','addEventListener','_setupBeforeClosingHandler','decrypt','activeSheet$','ivSize','unsubscribe','algo','image/gif','UniverIcon','People','_queuedRemoteChangesets','_logService','_startSheetCollabCursor','status$','transformChangesets','Univer','updatePermissionObjEvent','selection','hovered','_httpService','_awaitingChangeset','_commentUpdate$','_onRemoteRejected','_doCryptBlock','USERS_LEAVE','interceptor','createSocket','HEADER_MENU','salt','_key','substr','getMember','_exhaustRemoteChangesetQueue','_clearLocalCache','_commentService','engine','offline','reqId','UNIVER_DOC','ref','sigBytes','pluginName','name','_nRounds','fill','transformStack\x20failed!','synced','downloadEndpointUrl','LOCAL_CACHE_INTERVAL','number','toString','putCollaborators','_scheduleHeartbeat','sid','_sendHeartbeatTimer','JOIN_ROOM_NOT_EXISTS','getUnitId','src','method','/object/','save\x20fail\x20reason\x20is\x20','subscribe','Error','_undoStacks','SHOULD_CLOSE_CONN','LICENSE_IMPORT_SIZE_EXCEEDED','_joinRoom','collabStatus.synced','onlyLocal','createInstance','/unit/','_getAnchorBounding','authzUrl','roles','univer-pro.collaboration-client-socket-service','updateCursorEvent','transformUndoRedo','appendMutation','_listenToOfflineEvent','onlineStatusTitle','_send','_transformIMECache','_notificationService','__creator','subscribeEvent','getRangePointData','blue400','session.room-full','_substituteRedoStack','csAckEvent','AUTHZ_URL_KEY','_reverseMap','_univerInstanceService','setItem','CHANGESET_SHOULD_RETRY','_onMessage','LIVESHARE_REQUEST_HOST','_state$','\x0aCurrent:\x20','_event$','getValue','onRemoteAck','_members','then','add','HttpExport','font','_transitionLocked','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','JOIN_ROOM_FULL','url','_loadDoc','whenReady','range','list','history','_memberService','UnitEmbedded','debug','_onCursorUpdate','entries','withCredentials','SNAPSHOT_HAS_BEEN_REMOVED','buffer','35hllUkw','_socketMessageSubscription','UNRECOGNIZED','Hasher','close','_stopTelemetryCollaborationNewChangeset','10abUhRi','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','application/json','getCurrent','translate(.97)','requireSession','_sessions','getViewport','INVALID_ARGUMENT','COLLAB_WEB_SOCKET_URL','_type','batchAllowed','hidden','getConfig','_candidateSocket','Utf8','sessionStatus','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','Warning','sessionStatus$','socket\x20open.','xlink:href','generateRandomId','enableLocalCache','newValue','_initDependencies','_drawTextRange','startTime','_undoRedoService','registerOnClose','DEFAULT_FILE_NAME','collaboration-session-retry','_pendingMutations','_onCursorDelete','getAllMembers','SEND_CHANGESET_TIMEOUT','getSheetBySheetId','onTransformChange$','[CollaborationUndoRedoService]','_createInitialState','ERROR_EXCEED_SIZE','capture','copyFileMeta','_lastPointer','conflict','hasher','toggleOnline','result','_minBufferSize','NOT_COLLAB','_onRemoteChangeset','JOIN','YUUMI_RATE_OVER_LIMIT','svg','GLOBAL_ROOMS_CNT_EXCEEDS','APPLY_NON_SEQUENTIAL_REVISION','collabStatus.conflict','mutations','NoPadding','_scheduleSaving','_onConnectionFailed','replace','_tryEnsureSocket','COLLAB_SUBMIT_CHANGESET_URL','startsWith','getTypeOfUnitAdded$','_cursor','tag','replaceDocRanges','_doFinalize','onTransformSelections','pending','_replaceFileID','UNIVER_SHEET','_config','[CollaborationSessionService]','words','_waitCount','registerComponent','sheetID','Could\x20not\x20dynamically\x20require\x20\x22','onSyncEditingCollabCursor','off-line-single','toLowerCase','FAIL','AWAITING_WITH_PENDING','repeat','code','&source=','_init','[FetchMissState]','_socketReady','makeDirty','_status$','_socket$','transformIMECache','?size=','InsertColCommandId','roomMembers','_refRangeService','jsxs','_cursors','LEAVE','OnLineSingle','Decryptor','onCommandExecuted','lineTo','getUndoRedoMutationParamsCache','lib','focused$','c1Prime','getCurrentUnitForType','enableAuthServer','collab-text-range-','session.room-permission-denied','indexOf','idSuffix','_messageService','_redoStacks','YUUMI_UNABLE_LOAD_URL','collabCursorState$','width','APPLY_DUPLICATED','encodeURIComponent','_ENC_XFORM_MODE','_heartbeatTimer','_initCommandExecutedListener','toRgbString','_getAPIPrefixPath','urlChange$','_textBubble','_createHmacHelper','clearTimeout','filter','getInterceptPoints','_collabCursorState$','/universer-api/user/session-ticket','change$','editingUnit','workbook','_invKeySchedule','transformByState','verdancy600','1855635wGadEY','/block/','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','uni.network.url-service','/-/object/-/batch_allowed','type','_getCurrentRevision','m2Prime','commentUpdate$','[PendingState]:\x20received\x20rejection.','apply','put','baseRev','assign','_unitStatus','selections','black','getCellPositionByOffset','values','collaMsg','reject','onload','floor','padding','SHA1','_iKey','_roomMembers','execute','off-line-single_clip0_910_343','requestParams','row','awaitingChangeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_unlockTransition','popstate','univer-pro.collaboration-client.single-active-unit-service','AWAITING','_collabSessionService','origin','NOT_FOUND','_color','_handler','hide','_getAPIPrefix','_telemetryService','_toggleOnline','assignAColorForMemberID','/object','_telemetryInfo','setActiveRange','confirm','next','INGEST','icon','_transformUndoredo','collabSubmitChangesetUrl','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','getTypeOfUnitDisposed$','_online','defineProperty','finalize','_append','_onCombEvent','_cachedData','_removeCollabCursors','DeleteRangeMoveUpCommandId','_scheduleTimestamp','_assignedColors','registerHTTPInterceptor','WordArray','mixIn','_entities','LIVESHARE_TERMINATE','LIVESHARE_FETCH_OPERATIONS','UNDEFINED','objects','labelPosition','_doReset','now','getOffsetConfig','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_mode','getVpScrollXYInfoByPosToVp','onMissedChangesetFetched','session.room-not-exists','_clearOtherTimers','__esModule','getAncestorScale','headers','image/bmp','MoveRangeCommandId','onCommentUpdate','findNodePositionByCharIndex','patch','executeCommand','JOIN_ROOM_PERMISSION_DENIED','processBlock','compose','min','onSendChangeset','originalMeta','_docTransformSelectionsService','90PgBedm','getOwnPropertyDescriptor','_configService','SerializableCipher','_resendTimer','setTimeout','onReady','_onRecvEvent','url(#$1','subject','UPDATE_PERMISSION_OBJ','univer-offline','SUBMIT_CHANGESET','getFocusedUnit','_updateURLWithCurrentState','disableLocalCache','getImageSourceCache','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','clipPath','loadSheet','defIds','[PendingState]:\x20unhandled\x20univer\x20type:\x20','pushState','_parse','getMergeData','setCurrentUser','data','for','isEditing','_imageSourceCache','react.element','_onUserJoin','override','getImage','duration','_transformRemoteChangesetByIMECache','POST','ranges','getActiveRange','error','colorChannel1','FileId','/universer-api/file/{fileID}/sign-url','updatePermissionPoint','SYNCED','sheets','getSheetId','_transformStateCache','image/jpeg','_transformRemoteChangesetByStateCache','RemoveColCommandId','max','_saveCache','_executeRemoteChangeset','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','post','startColumn','_unitOnClients','drawWith','COMMENT_UPDATE','_initRequestHeader','onTransformState','_collaborationTimeoutTimer','file','_docTransformStateCacheService','setAlpha','blockSize','loadDoc','_updateState','_socketService','map','_createHelper','_beforeCloseService','formatter','jsx','ERROR_IMAGE_TYPE','_onConnectionOpen','mode','includes','_toggleOffline','saveSheetBlock','unit-cache-','_hideTimer','extend','initWorkbookPermissionChange','Cipher','_xformMode','_name','event$','measureText','length','restore','/rev/','permissionRejEvent','contains','_colorIndex','_clearCollaborationTimeoutTimer','_getMergeRange','CipherParams','OpenSSL','encode','_waitForHeartbeatResponse','not_collab','_change$','getSnapshotAPIPath','_oKey','joinRsp','disposeWithMe','body','getRandomValues','transform','collabWebSocketUrl','COMPRESS_MUTATION_SEND','create','getDeserializedSheetBlock','onStateChange','ONLINE','setShapeProps','objectType','CHANGESET_ACK','getLatestCsReqIdBySid','_docTransformIMECacheService','_listenToOnlineEvent','getSkeleton','Encryptor','_cursorInfo$','currentSkeleton$','revision','_handleHeartbeatEvent','substring','_transformUndoRedoStack','_clearTimeoutTimer','decryptBlock','userID','CHANGESET_REJ','_decreaseWaiting','_syncEditingCollabCursorService','_retryCount','?url=','/allowed','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','APPLY_REVISION_CONFILICT','awaiting_with_pending','_revisionService','_handleEvent','[UniverCollaborationClientPlugin]','_substituteUndoStack','red300','enc','save','join','redoState','asObservable','get','function','setShowComponents','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','LIVESHARE_OPERATION','getCurrentRevOfUnit','endColumn','registerRefRange','$super','_docClipboardService','_timeoutTimer','registerRenderModule','currentColor','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','_ensureSubject','_handleLeaveEvent','Undefined','routeKey','retryConnectingInterval','_onOffline','RECV','_disabled','displayName','collab-rect-range-','_HTTPService','Latin1','_handleHover','_tryReconnect','ENSURE_SNAPSHOT_EXECUTION','_updateLocalCache','randomUUID','charCodeAt','_commandService','getActiveSheet','_hasher','_localCacheService','collabStatus.syncing','createDecryptor','_draw','UNIVER_SLIDE','parse','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','NEW_CHANGESETS','set','storage','_doProcessBlock','onMouseMove','BlockCipherMode','CONNECTOR_DATA_TOO_LARGE','sin','_createInitialStateImpl','height','catch','docStateChange$','EvpKDF','HELLO','saveChangeset','getRenderById','saveImage','_cursorShapes','[OfflineState]:\x20received\x20acknowledgement.','subunit','MUTATION','defaultProps','_refreshCollabCursors','_createSocket','children','onRemoteChangeset','UNKNOWN_CODE','random','_getSignURL','_data','_changesetSessionId','action','LICENSE_EXPORT_SIZE_EXCEEDED','IDLE','RECT','reduce','_fetchMissChangesets','forEach','transformMutation','none','getItem','_iv','_getLoginPath','LICENSE_MAX_UNITS_EXCEEDED','M0\x200H16V16H0z','_createHandler','cmd','HMAC','byteOffset','RETRY_CONNECTING_MAX_COUNT','current','_loadSheet','currentTheme$','_permissionService','_shouldReportTelemetry','Base','color','key','onRemoteRetry','CHANGESET_REVISION_CONFILICT','symbol','_sheetSkeletonManagerService','arc','_process','rgba(255,\x20255,\x20255,\x200.01)','_uiPartsService','_disableEditing','[SyncedState]:\x20received\x20acknowledgement.','UNIVER_PROJECT','byteLength','setUndoRedoMutationParamsCache','_hover','onRendered','_map','onStarting','CBC','failed\x20to\x20apply\x20missed\x20changesets!','fetchThroughInterceptors','removeMember','_applyRemoteChangeset','objectID','univer-online-status-icon','setWaitCount','2759669bthLCG','transformSelections','crypto','SUCCUSS','getDocRanges','_onRefRangeChange','__Key__','status','fetchMiss','href','push','source','_initResize','BlockCipher','on-line-single_clip0_910_349','_submitChangeset','enableSingleActiveInstanceLock','getUnitStatus$','_hovered','unpad','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','getMemberID','_syncEditingCollabCursor','actions','c2Prime','UNKNOWN_CMD','getCurrentSelections','InsertRangeMoveDownCommandId','auth.needGotoLoginAlert','default','transformRemoteChangeset','getTime','column','ciphertext','UUID','AES','updateCollaborator','Error\x20on\x20receiving\x20event','size','APPLY_PERMISSION_DENIED','_incrementRevisionNumber','isActive','_getCtorByUniverType','disposeUnit','YUUMI_SUBSCRIPTION_NOT_FOUND','keySize','session.connection-failed','onRemoteRej','_injector','every','...','jiqing500','close$','_keySchedule','resolve','createEncryptor','getUnhiddenWorksheets','pad','_DEC_XFORM_MODE','_getUndoStack'];_0x1abc=function(){return _0x37c301;};return _0x1abc();}let us=class extends _0x5ce84d{constructor(_0x49b451,_0x20c029,_0x13e481,_0x24484b,_0x3abe8b,_0x353ef7,_0xce2db8,_0x326f41,_0x62801e){const _0x47014b=_0x5e3172;super(),g(this,_0x47014b(0x242),!0x1),g(this,_0x47014b(0x1d2),!0x1),g(this,_0x47014b(0x2eb),new _0xd0d94b(new Map())),g(this,_0x47014b(0x4a9),this[_0x47014b(0x2eb)]['asObservable']()),g(this,_0x47014b(0x494),new _0xd0d94b([])),g(this,_0x47014b(0x47c),this[_0x47014b(0x494)][_0x47014b(0x4b6)](_0x5fe042(Go))),g(this,'_updateLocalCursor',_0x38f51c(_0x417b92=>{const _0x40cd7e=_0x47014b,_0x5b75c7={'eventID':_0x385814[_0x40cd7e(0x514)],'data':{'unitID':this[_0x40cd7e(0x4e4)],'memberID':this[_0x40cd7e(0x402)][_0x40cd7e(0x399)](),'selection':qi(_0x417b92)}};this[_0x40cd7e(0x402)]['send'](_0x5b75c7,this['unitID']);},Yo)),(this[_0x47014b(0x4e4)]=_0x49b451,this['_session']=_0x20c029,this[_0x47014b(0x3b4)]=_0x13e481,this['_colorAssignService']=_0x24484b,this['_memberService']=_0x3abe8b,this[_0x47014b(0x2f6)]=_0x353ef7,this['_transformService']=_0xce2db8,this[_0x47014b(0x153)]=_0x326f41,this['_commandService']=_0x62801e);}get[_0x5e3172(0x3cd)](){const _0x3302b4=_0x5e3172;return this[_0x3302b4(0x2eb)][_0x3302b4(0x15b)]();}get['roomMembers'](){const _0xa615b8=_0x5e3172;return this['_roomMembers$'][_0xa615b8(0x15b)]();}[_0x5e3172(0x48f)](){const _0x566f45=_0x5e3172;super['dispose'](),this[_0x566f45(0x2eb)][_0x566f45(0x23b)](new Map()),this['_cursorInfo$'][_0x566f45(0x41f)](),this[_0x566f45(0x494)][_0x566f45(0x23b)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x2b6b3a=_0x5e3172;this[_0x2b6b3a(0x1d2)]||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x2b6b3a(0x4b6)](_0x34041a(this[_0x2b6b3a(0x511)]))[_0x2b6b3a(0x134)](_0x494f43=>{const _0x56065c=_0x2b6b3a;_0x494f43===fe[_0x56065c(0x2e2)]?this[_0x56065c(0x235)]():this[_0x56065c(0x2bd)]();}),this[_0x2b6b3a(0x402)]['event$']['pipe'](_0x34041a(this[_0x2b6b3a(0x511)]))[_0x2b6b3a(0x134)](_0x510473=>{const _0x42b0a3=_0x2b6b3a,_0x2e0e55=_0x510473['eventID'];_0x2e0e55===_0x385814[_0x42b0a3(0x514)]&&this['_onCursorUpdate'](_0x510473),_0x2e0e55===_0x385814[_0x42b0a3(0x10f)]&&this['_onCursorDelete'](_0x510473);}),this[_0x2b6b3a(0x2d9)](this[_0x2b6b3a(0x327)][_0x2b6b3a(0x1e2)](_0x5aac62=>{const _0x595bd0=_0x2b6b3a,_0x355d63=_0x5aac62['params'];_0x355d63!=null&&this['_online']&&_0x5aac62['id']===_0x6a5ee2['id']&&_0x355d63[_0x595bd0(0x452)]===this['unitID']&&_0x355d63[_0x595bd0(0x28a)]===!0x1&&_0x355d63['ranges'][_0x595bd0(0x2c8)]>0x0&&this[_0x595bd0(0x4de)](_0x355d63[_0x595bd0(0x293)]);})),this[_0x2b6b3a(0x2f6)][_0x2b6b3a(0x1f1)][_0x2b6b3a(0x4b6)](_0x34041a(this[_0x2b6b3a(0x511)]))[_0x2b6b3a(0x134)](_0x79e971=>{const _0x53ee24=_0x2b6b3a;if((_0x79e971==null?void 0x0:_0x79e971[_0x53ee24(0x4e4)])!==this['unitID'])return;const _0x10fab0={'eventID':_0x385814[_0x53ee24(0x514)],'data':_0x79e971};this[_0x53ee24(0x16e)](_0x10fab0);}),this[_0x2b6b3a(0x2d9)](this[_0x2b6b3a(0x327)]['onCommandExecuted'](_0x18528e=>{const _0x1925dc=_0x2b6b3a;if(_0x18528e['params']==null)return;const _0x55f5af=_0x18528e[_0x1925dc(0x436)];if(_0x18528e['id']!==_0x48d9a2['id']||_0x55f5af['unitId']!==this[_0x1925dc(0x4e4)])return;const _0x3a75dc={'id':_0x1925dc(0x42b),'params':_0x55f5af},_0x25e5e6=this[_0x1925dc(0x3cd)];for(const [_0x24848e,_0x42d6d2]of _0x25e5e6){const _0x119a18={'id':_0x1925dc(0x42b),'params':{'unitId':this[_0x1925dc(0x4e4)],'actions':null,'textRanges':_0x42d6d2[_0x1925dc(0x293)]}},_0x382ed8=this['_transformService']['transformMutation'](_0x3a75dc,_0x119a18,!0x1);if(_0x29729a(_0x382ed8))throw _0x382ed8[_0x1925dc(0x295)];_0x25e5e6['set'](_0x24848e,{..._0x42d6d2,'ranges':_0x382ed8[_0x1925dc(0x20f)]['params'][_0x1925dc(0x495)]});}queueMicrotask(()=>{const _0x5b5b3d=_0x1925dc;this[_0x5b5b3d(0x2eb)][_0x5b5b3d(0x23b)](_0x25e5e6);});})));}[_0x5e3172(0x16e)](_0x2909f1){const _0xa5ac4b=_0x5e3172;var _0x488731,_0xc28643;const {memberID:_0xffd79e,selection:_0x245742}=_0x2909f1[_0xa5ac4b(0x288)],_0x2c7a2c=Ro(_0x245742),_0x133a99=(_0xc28643=(_0x488731=this[_0xa5ac4b(0x16b)][_0xa5ac4b(0x116)](this[_0xa5ac4b(0x4e4)],_0xffd79e))==null?void 0x0:_0x488731[_0xa5ac4b(0x121)])!=null?_0xc28643:'Unknown\x20user',_0x1748b9={'color':this[_0xa5ac4b(0x51f)][_0xa5ac4b(0x236)](_0xffd79e),'name':_0x133a99,'ranges':_0x2c7a2c},_0x3f69cb=this['cursorInfo'];_0x3f69cb[_0xa5ac4b(0x332)](_0xffd79e,_0x1748b9),this[_0xa5ac4b(0x2eb)][_0xa5ac4b(0x23b)](_0x3f69cb);}[_0x5e3172(0x19a)](_0x4eade6){const _0x29a245=_0x5e3172,{memberID:_0x257139}=_0x4eade6[_0x29a245(0x288)],_0x2e3c7d=this['cursorInfo'];_0x2e3c7d[_0x29a245(0x480)](_0x257139),this[_0x29a245(0x2eb)][_0x29a245(0x23b)](_0x2e3c7d);}['_toggleOnline'](){const _0xef40c4=_0x5e3172;var _0x5e42f9;if(this[_0xef40c4(0x242)]=!0x0,((_0x5e42f9=this[_0xef40c4(0x153)][_0xef40c4(0x27b)]())==null?void 0x0:_0x5e42f9[_0xef40c4(0x12f)]())!==this[_0xef40c4(0x4e4)])return;const _0x63ebad=this[_0xef40c4(0x3b4)][_0xef40c4(0x307)](_0x195c19)[_0xef40c4(0x388)]();Array[_0xef40c4(0x468)](_0x63ebad)&&_0x63ebad[_0xef40c4(0x2c8)]>0x0&&this['_updateLocalCursor'](_0x63ebad);}[_0x5e3172(0x2bd)](){const _0x17dbf0=_0x5e3172;this[_0x17dbf0(0x242)]=!0x1;}};us=Vo([we(0x2,_0x1259a7(_0xa6ca3c)),we(0x3,_0x1259a7(Ns)),we(0x4,_0x1259a7(Me)),we(0x5,_0x1259a7(Ds)),we(0x6,_0x2a04be),we(0x7,_0x381e7e),we(0x8,_0x58c2c0)],us);var Ko=Object[_0x5e3172(0x243)],qo=Object[_0x5e3172(0x26f)],zo=(_0x82a76e,_0x53e084,_0x22dfb7,_0x13e800)=>{for(var _0x46b0ff=_0x13e800>0x1?void 0x0:_0x13e800?qo(_0x53e084,_0x22dfb7):_0x53e084,_0x192816=_0x82a76e['length']-0x1,_0x1de4e1;_0x192816>=0x0;_0x192816--)(_0x1de4e1=_0x82a76e[_0x192816])&&(_0x46b0ff=(_0x13e800?_0x1de4e1(_0x53e084,_0x22dfb7,_0x46b0ff):_0x1de4e1(_0x46b0ff))||_0x46b0ff);return _0x13e800&&_0x46b0ff&&Ko(_0x53e084,_0x22dfb7,_0x46b0ff),_0x46b0ff;},Be=(_0x310d51,_0x5e5da3)=>(_0x156c74,_0x1c4db4)=>_0x5e5da3(_0x156c74,_0x1c4db4,_0x310d51);const Xo=0x12c,Jo=0x64,Zo=()=>{let _0x25d1e8=[],_0x30587b=!0x1;return _0x46737f=>{const _0x20eb83=_0x1eb2;_0x25d1e8[_0x20eb83(0x38e)](_0x46737f),_0x30587b||(_0x30587b=!0x0,setTimeout(()=>{const _0x182d43=_0x20eb83;_0x25d1e8[_0x182d43(0x356)](_0xdcbac0=>_0xdcbac0()),_0x25d1e8=[],_0x30587b=!0x1;}));};};let ds=class extends _0x5ce84d{constructor(_0x48bb0e,_0x5e7337,_0x43ac2c,_0x4ef9af,_0x489fd1,_0x122df5,_0x4dd799,_0x5f380d){const _0x59ec9a=_0x5e3172;super(),g(this,_0x59ec9a(0x242),!0x1),g(this,_0x59ec9a(0x1d2),!0x1),g(this,_0x59ec9a(0x2eb),new _0xd0d94b(new Map())),g(this,_0x59ec9a(0x4a9),this[_0x59ec9a(0x2eb)][_0x59ec9a(0x306)]()),g(this,'_roomMembers$',new _0xd0d94b([])),g(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x5fe042(Xo))),g(this,_0x59ec9a(0x4de),_0x38f51c((_0xfadf30,_0x2f6f5e)=>{const _0x561c7e=_0x59ec9a,_0x2e4955={'eventID':_0x385814[_0x561c7e(0x514)],'data':{'unitID':this[_0x561c7e(0x4e4)],'memberID':this[_0x561c7e(0x402)][_0x561c7e(0x399)](),'selection':_0x51efb3(_0xfadf30,_0x2f6f5e['range'])}};this[_0x561c7e(0x402)][_0x561c7e(0x3e0)](_0x2e4955,this[_0x561c7e(0x4e4)]);},Jo)),(this['unitID']=_0x48bb0e,this[_0x59ec9a(0x402)]=_0x5e7337,this[_0x59ec9a(0x3b4)]=_0x43ac2c,this[_0x59ec9a(0x51f)]=_0x4ef9af,this['_memberService']=_0x489fd1,this['_univerInstanceService']=_0x122df5,this['_commandService']=_0x4dd799,this[_0x59ec9a(0x1dc)]=_0x5f380d);}get[_0x5e3172(0x3cd)](){const _0x5e34db=_0x5e3172;return this['_cursorInfo$'][_0x5e34db(0x15b)]();}get[_0x5e3172(0x1db)](){const _0x2edb56=_0x5e3172;return this[_0x2edb56(0x494)][_0x2edb56(0x15b)]();}[_0x5e3172(0x48f)](){const _0x21e05f=_0x5e3172;super[_0x21e05f(0x48f)](),this[_0x21e05f(0x2eb)]['next'](new Map()),this[_0x21e05f(0x2eb)][_0x21e05f(0x41f)](),this[_0x21e05f(0x494)][_0x21e05f(0x23b)]([]),this[_0x21e05f(0x494)][_0x21e05f(0x41f)]();}['init'](){const _0x35d08=_0x5e3172;this['_init']||(this[_0x35d08(0x1d2)]=!0x0,this[_0x35d08(0x402)][_0x35d08(0x18c)]['pipe'](_0x34041a(this[_0x35d08(0x511)]))[_0x35d08(0x134)](_0x2bddca=>{const _0x4b1603=_0x35d08;_0x2bddca===fe[_0x4b1603(0x2e2)]?this[_0x4b1603(0x235)]():this[_0x4b1603(0x2bd)]();}),this[_0x35d08(0x402)]['event$'][_0x35d08(0x4b6)](_0x34041a(this[_0x35d08(0x511)]))['subscribe'](_0x664acc=>{const _0x4a0075=_0x35d08,_0x3e094d=_0x664acc['eventID'];_0x3e094d===_0x385814[_0x4a0075(0x514)]&&this[_0x4a0075(0x16e)](_0x664acc),_0x3e094d===_0x385814[_0x4a0075(0x10f)]&&this[_0x4a0075(0x19a)](_0x664acc);}),this[_0x35d08(0x389)](),this[_0x35d08(0x2d9)](this['_commandService'][_0x35d08(0x1e2)](_0x29133b=>{const _0x30ddc3=_0x35d08;if(this[_0x30ddc3(0x242)]&&_0x29133b['id']===_0x3f708e['id']&&_0x29133b[_0x30ddc3(0x436)][_0x30ddc3(0x452)]===this['unitID']){const _0x5ab8f6=_0x29133b[_0x30ddc3(0x436)];this['_updateLocalCursor'](_0x5ab8f6[_0x30ddc3(0x40c)],_0x5ab8f6[_0x30ddc3(0x217)][0x0]);}})));}['_onCursorUpdate'](_0x43e68b){const _0x2dffc2=_0x5e3172;var _0x4b1683,_0x304a38;const {memberID:_0x48ad7c,selection:_0x3153a3}=_0x43e68b[_0x2dffc2(0x288)],{sheetName:_0x4b4f8e,range:_0x4f016c}=_0x987e76(_0x3153a3),_0x292ffa={'name':(_0x304a38=(_0x4b1683=this[_0x2dffc2(0x16b)]['getMember'](this[_0x2dffc2(0x4e4)],_0x48ad7c))==null?void 0x0:_0x4b1683[_0x2dffc2(0x121)])!=null?_0x304a38:_0x2dffc2(0x496),'range':this[_0x2dffc2(0x2cf)](_0x4b4f8e,_0x4f016c),'sheetID':_0x4b4f8e,'color':this['_colorAssignService'][_0x2dffc2(0x236)](_0x48ad7c),'selection':_0x3153a3},_0x1066c2=this[_0x2dffc2(0x3cd)];_0x1066c2['set'](_0x48ad7c,_0x292ffa),this[_0x2dffc2(0x2eb)][_0x2dffc2(0x23b)](_0x1066c2);}['_onCursorDelete'](_0xa4b712){const _0x58a384=_0x5e3172,{memberID:_0x52cfac}=_0xa4b712['data'],_0x311598=this[_0x58a384(0x3cd)];_0x311598[_0x58a384(0x480)](_0x52cfac),this[_0x58a384(0x2eb)][_0x58a384(0x23b)](_0x311598);}['_getMergeRange'](_0x1f7217,_0x8c5908){const _0x1608a3=_0x5e3172;var _0x2d5ca2,_0x4437c7;const _0x561ef6=(_0x4437c7=(_0x2d5ca2=this[_0x1608a3(0x153)][_0x1608a3(0x3c7)](this[_0x1608a3(0x4e4)]))==null?void 0x0:_0x2d5ca2[_0x1608a3(0x19d)](_0x1f7217))==null?void 0x0:_0x4437c7[_0x1608a3(0x286)]();return(_0x561ef6==null?void 0x0:_0x561ef6['find'](_0x564b8e=>_0x50302c[_0x1608a3(0x2cc)](_0x564b8e,_0x8c5908)))||_0x8c5908;}['_onRefRangeChange'](){const _0x223675=_0x5e3172,_0x5b1765=new _0x1f64b1(),_0x4c7d90=Zo(),_0x3d3b02=()=>{const _0x3ca8cd=_0x1eb2;_0x5b1765[_0x3ca8cd(0x48f)]();const _0x420c21=(_0x7ffb41,_0x25adeb,_0x102998,_0x55f847)=>{const _0x5308a3=_0x3ca8cd;let _0x4373b5=[];switch(_0x7ffb41['id']){case _0x1d34c9[_0x5308a3(0x4cb)]:{_0x4373b5=_0xa5d192(_0x7ffb41,_0x55f847);break;}case _0x1d34c9[_0x5308a3(0x249)]:{_0x4373b5=_0x34bf8e(_0x7ffb41,_0x55f847);break;}case _0x1d34c9[_0x5308a3(0x1da)]:{_0x4373b5=_0x4f5a43(_0x7ffb41,_0x55f847);break;}case _0x1d34c9[_0x5308a3(0x39f)]:{_0x4373b5=_0x28267d(_0x7ffb41,_0x55f847);break;}case _0x1d34c9['InsertRangeMoveRightCommandId']:{_0x4373b5=_0x10303e(_0x7ffb41,_0x55f847);break;}case _0x1d34c9['InsertRowCommandId']:{_0x4373b5=_0x57fbd7(_0x7ffb41,_0x55f847);break;}case _0x1d34c9[_0x5308a3(0x262)]:{_0x4373b5=_0x16c781(_0x7ffb41,_0x55f847);break;}case _0x1d34c9[_0x5308a3(0x2a0)]:{_0x4373b5=_0x2f48a3(_0x7ffb41,_0x55f847);break;}case _0x1d34c9['RemoveRowCommandId']:{_0x4373b5=_0x45470d(_0x7ffb41,_0x55f847);break;}}const _0x160357=_0x212980(_0x4373b5,_0x55f847),_0x4ed618=this[_0x5308a3(0x3cd)][_0x5308a3(0x307)](_0x25adeb);if(_0x4ed618&&_0x160357){const _0x29ab23={..._0x4ed618,'range':_0x160357};this[_0x5308a3(0x3cd)][_0x5308a3(0x332)](_0x25adeb,_0x29ab23),_0x4c7d90(()=>{const _0x5db3b8=_0x5308a3,_0x289eea=this[_0x5db3b8(0x1dc)][_0x5db3b8(0x30e)](_0x160357,_0x1325dc=>(_0x289eea[_0x5db3b8(0x48f)](),_0x420c21(_0x1325dc,_0x25adeb,_0x102998,_0x160357)));_0x5b1765[_0x5db3b8(0x15f)](_0x289eea);});}return{'redos':[],'undos':[]};};this[_0x3ca8cd(0x3cd)]['forEach']((_0x2d7ed0,_0x446cb2)=>{const _0x102166=_0x3ca8cd,{range:_0x13b209,sheetID:_0x753b7e}=_0x2d7ed0,_0x1ad8ba=this['_refRangeService']['registerRefRange'](_0x13b209,_0x21fc60=>(_0x1ad8ba[_0x102166(0x48f)](),_0x420c21(_0x21fc60,_0x446cb2,_0x753b7e,_0x13b209)));_0x5b1765['add'](_0x1ad8ba);});};this[_0x223675(0x2d9)](_0x38e5fb(this[_0x223675(0x2eb)][_0x223675(0x134)](()=>{_0x3d3b02();})));}['_toggleOnline'](){const _0x15bbb6=_0x5e3172;var _0x2e432f,_0x249c89;if(this[_0x15bbb6(0x242)]=!0x0,((_0x2e432f=this[_0x15bbb6(0x153)][_0x15bbb6(0x27b)]())==null?void 0x0:_0x2e432f[_0x15bbb6(0x12f)]())!==this[_0x15bbb6(0x4e4)])return;const _0x109523=(_0x249c89=this[_0x15bbb6(0x3b4)]['get'](_0x10dd54)[_0x15bbb6(0x39e)]())==null?void 0x0:_0x249c89[0x0],_0x434f30=this[_0x15bbb6(0x153)][_0x15bbb6(0x1e8)](_0xfbb68f[_0x15bbb6(0x1c2)])[_0x15bbb6(0x328)]();_0x109523&&_0x434f30&&this[_0x15bbb6(0x4de)](_0x434f30[_0x15bbb6(0x29c)](),_0x109523);}[_0x5e3172(0x2bd)](){const _0x5b9037=_0x5e3172;this[_0x5b9037(0x242)]=!0x1;}};ds=zo([Be(0x2,_0x1259a7(_0xa6ca3c)),Be(0x3,_0x1259a7(Ns)),Be(0x4,_0x1259a7(Me)),Be(0x5,_0x381e7e),Be(0x6,_0x58c2c0),Be(0x7,_0x1259a7(_0x4fe9a5))],ds);var Qo=Object[_0x5e3172(0x243)],ea=Object[_0x5e3172(0x26f)],ta=(_0x5a6434,_0x53a875,_0x16bcb0,_0x57cc09)=>{const _0x3667fc=_0x5e3172;for(var _0x40a7db=_0x57cc09>0x1?void 0x0:_0x57cc09?ea(_0x53a875,_0x16bcb0):_0x53a875,_0x1911fc=_0x5a6434[_0x3667fc(0x2c8)]-0x1,_0x5620fe;_0x1911fc>=0x0;_0x1911fc--)(_0x5620fe=_0x5a6434[_0x1911fc])&&(_0x40a7db=(_0x57cc09?_0x5620fe(_0x53a875,_0x16bcb0,_0x40a7db):_0x5620fe(_0x40a7db))||_0x40a7db);return _0x57cc09&&_0x40a7db&&Qo(_0x53a875,_0x16bcb0,_0x40a7db),_0x40a7db;},Xt=(_0x3f9166,_0x4fb1a4)=>(_0x2c87c1,_0x19aded)=>_0x4fb1a4(_0x2c87c1,_0x19aded,_0x3f9166);let Ve=class extends _0x5ce84d{constructor(_0x20d83d,_0x1ff6d5,_0x3bc5b9){const _0x22af22=_0x5e3172;super(),g(this,_0x22af22(0x24f),new Map()),g(this,_0x22af22(0x43c),new _0x1b8780()),(this[_0x22af22(0x153)]=_0x20d83d,this['_injector']=_0x1ff6d5,this['_collabSessionService']=_0x3bc5b9,this[_0x22af22(0x1d2)]());}[_0x5e3172(0x48f)](){const _0x41de84=_0x5e3172;super['dispose'](),this[_0x41de84(0x43c)][_0x41de84(0x41f)](),this[_0x41de84(0x24f)]['forEach'](_0x4f98b2=>_0x4f98b2[_0x41de84(0x48f)]());}[_0x5e3172(0x3fc)](_0x367ba5){const _0x4a51fc=_0x5e3172;return this['_entities'][_0x4a51fc(0x3cb)](_0x367ba5)?this[_0x4a51fc(0x24f)]['get'](_0x367ba5)[_0x4a51fc(0x4a9)]:this['_entityInit$'][_0x4a51fc(0x4b6)](_0x446160(_0x28bfb9=>_0x28bfb9[_0x4a51fc(0x4e4)]===_0x367ba5),_0x12c24e(_0x177d80=>_0x177d80['cursorInfo$']));}[_0x5e3172(0x1d2)](){const _0x4fc813=_0x5e3172;this['_univerInstanceService'][_0x4fc813(0x1ba)](_0xfbb68f[_0x4fc813(0x1c2)])[_0x4fc813(0x4b6)](_0x34041a(this[_0x4fc813(0x511)]))['subscribe'](async _0x3e4b21=>{const _0x3822dc=_0x4fc813,_0x14efe1=_0x3e4b21[_0x3822dc(0x12f)](),_0x2801af=await this[_0x3822dc(0x52e)](_0x14efe1);this['_entityInit$']['next'](_0x2801af),this[_0x3822dc(0x24f)][_0x3822dc(0x332)](_0x14efe1,_0x2801af);}),this[_0x4fc813(0x153)][_0x4fc813(0x1ba)](_0xfbb68f[_0x4fc813(0x11d)])[_0x4fc813(0x4b6)](_0x34041a(this[_0x4fc813(0x511)]))['pipe'](_0x446160(_0x3a17a6=>!_0x3a17a6[_0x4fc813(0x12f)]()[_0x4fc813(0x1b9)]('__')))[_0x4fc813(0x134)](async _0x115f52=>{const _0x2b45bd=_0x4fc813,_0x8e0d3b=_0x115f52[_0x2b45bd(0x12f)](),_0x739887=await this['_startDocCollabCursor'](_0x8e0d3b);this[_0x2b45bd(0x43c)]['next'](_0x739887),this[_0x2b45bd(0x24f)]['set'](_0x8e0d3b,_0x739887);}),_0x143e60(this[_0x4fc813(0x153)][_0x4fc813(0x241)](_0xfbb68f[_0x4fc813(0x11d)]),this[_0x4fc813(0x153)]['getTypeOfUnitDisposed$'](_0xfbb68f[_0x4fc813(0x1c2)]))[_0x4fc813(0x4b6)](_0x34041a(this[_0x4fc813(0x511)]))['subscribe'](_0x44d531=>{const _0x46029f=_0x4fc813,_0xc368bc=_0x44d531['getUnitId'](),_0x570dd7=this['_entities']['get'](_0xc368bc);_0x570dd7&&(_0x570dd7[_0x46029f(0x48f)](),this[_0x46029f(0x24f)][_0x46029f(0x480)](_0xc368bc));});}async['_startSheetCollabCursor'](_0x58284e){const _0x2c78db=_0x5e3172,_0x2fb22c=await this['_collabSessionService']['requireSession'](_0x58284e),_0x2da2c6=this[_0x2c78db(0x3b4)][_0x2c78db(0x13c)](ds,_0x58284e,_0x2fb22c);return _0x2da2c6[_0x2c78db(0x433)](),_0x2da2c6;}async[_0x5e3172(0x4c8)](_0x3d3ba6){const _0x530977=_0x5e3172,_0xe63789=await this[_0x530977(0x22d)][_0x530977(0x17e)](_0x3d3ba6),_0x16a8a0=this[_0x530977(0x3b4)][_0x530977(0x13c)](us,_0x3d3ba6,_0xe63789);return _0x16a8a0[_0x530977(0x433)](),_0x16a8a0;}};Ve=ta([Xt(0x0,_0x381e7e),Xt(0x1,_0x1259a7(_0xa6ca3c)),Xt(0x2,_0x1259a7(xe))],Ve);const nt=0x14,ii=0xc8,Jt=0x4,sa=0x5;function ia(_0x260d6c,_0x34705a){const _0x2fbf71=_0x5e3172;let {radius:_0x219cf5,width:_0x4aedfe,height:_0x56710d}=_0x34705a;_0x219cf5=_0x219cf5!=null?_0x219cf5:0x0,_0x4aedfe=_0x4aedfe!=null?_0x4aedfe:0x1e,_0x56710d=_0x56710d!=null?_0x56710d:0x1e;let _0x5c3a3f=0x0,_0x1967aa=0x0,_0x3aa916=0x0;_0x5c3a3f=_0x1967aa=_0x3aa916=Math[_0x2fbf71(0x26a)](_0x219cf5,_0x4aedfe/0x2,_0x56710d/0x2),_0x260d6c['beginPath'](),_0x260d6c['moveTo'](_0x5c3a3f,0x0),_0x260d6c['lineTo'](_0x4aedfe-_0x1967aa,0x0),_0x260d6c[_0x2fbf71(0x36f)](_0x4aedfe-_0x1967aa,_0x1967aa,_0x1967aa,Math['PI']*0x3/0x2,0x0,!0x1),_0x260d6c[_0x2fbf71(0x1e3)](_0x4aedfe,_0x56710d-_0x3aa916),_0x260d6c[_0x2fbf71(0x36f)](_0x4aedfe-_0x3aa916,_0x56710d-_0x3aa916,_0x3aa916,0x0,Math['PI']/0x2,!0x1),_0x260d6c[_0x2fbf71(0x1e3)](0x0,_0x56710d),_0x260d6c['lineTo'](0x0,_0x5c3a3f),_0x260d6c[_0x2fbf71(0x36f)](_0x5c3a3f,_0x5c3a3f,_0x5c3a3f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x260d6c['closePath'](),_0x34705a[_0x2fbf71(0x123)]&&(_0x260d6c[_0x2fbf71(0x303)](),_0x260d6c[_0x2fbf71(0x4f1)]=_0x34705a[_0x2fbf71(0x123)],_0x34705a['fillRule']==='evenodd'?_0x260d6c[_0x2fbf71(0x123)]('evenodd'):_0x260d6c[_0x2fbf71(0x123)](),_0x260d6c[_0x2fbf71(0x2c9)]());}class Bt extends _0x3f24aa{constructor(_0x51fccc,_0x274ed7){const _0x4e50b5=_0x5e3172;super(_0x51fccc,_0x274ed7),g(this,_0x4e50b5(0x369)),g(this,_0x4e50b5(0x412)),(this[_0x4e50b5(0x369)]=_0x274ed7==null?void 0x0:_0x274ed7[_0x4e50b5(0x369)],this['text']=_0x274ed7==null?void 0x0:_0x274ed7[_0x4e50b5(0x412)]);}static[_0x5e3172(0x2a8)](_0x49a353,_0x54e4ca){const _0x1cf39e=_0x5e3172,{text:_0x422830,color:_0x2178a8}=_0x54e4ca;_0x49a353[_0x1cf39e(0x303)](),_0x49a353[_0x1cf39e(0x161)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1f026b=_0x49a353[_0x1cf39e(0x2c7)](_0x422830)[_0x1cf39e(0x1f2)],_0x745cba=Math[_0x1cf39e(0x26a)](_0x1f026b+0x2*Jt,ii);ia(_0x49a353,{'height':nt,'radius':0x4,'width':_0x745cba,'fill':_0x2178a8,'evented':!0x1}),_0x49a353[_0x1cf39e(0x4f1)]='#FFF';const _0x36111a=Jt,_0x9699d2=nt-sa,_0x59f444=ii-0x2*Jt;if(_0x1f026b>_0x59f444){let _0x314853='',_0x198659=0x0;for(const _0xbb1c96 of _0x422830){const _0x221e16=_0x49a353[_0x1cf39e(0x2c7)](_0xbb1c96)[_0x1cf39e(0x1f2)];if(_0x198659+_0x221e16<=_0x59f444-_0x49a353[_0x1cf39e(0x2c7)](_0x1cf39e(0x3b6))[_0x1cf39e(0x1f2)])_0x314853+=_0xbb1c96,_0x198659+=_0x221e16;else{_0x314853+='...';break;}}_0x49a353[_0x1cf39e(0x4fe)](_0x314853,_0x36111a,_0x9699d2);}else _0x49a353['fillText'](_0x422830,_0x36111a,_0x9699d2);_0x49a353[_0x1cf39e(0x2c9)]();}[_0x5e3172(0x32d)](_0x28feeb){Bt['drawWith'](_0x28feeb,this);}}const Zt='collab-text-anchor-',ra=_0x5e3172(0x1ea),na=_0x5e3172(0x31e),Je=0x6,oa=1.5,Qt=0x4,aa=1.5,ca=_0x5e3172(0x371);class ri{constructor(_0xacd008,_0x485170,_0x2fc50c,_0x5cf4c8){const _0xdbe5a2=_0x5e3172;g(this,_0xdbe5a2(0x3e4),[]),g(this,'_anchor',null),g(this,_0xdbe5a2(0x1fb),null),g(this,'_anchorDot',null),g(this,_0xdbe5a2(0x2c0),null),g(this,_0xdbe5a2(0x415),null),(this[_0xdbe5a2(0x1bb)]=_0xacd008,this[_0xdbe5a2(0x3eb)]=_0x485170,this['_docSkeleton']=_0x2fc50c,this[_0xdbe5a2(0x425)]=_0x5cf4c8,this[_0xdbe5a2(0x435)]());}set[_0x5e3172(0x378)](_0x1e3f1e){const _0x2e5e11=_0x5e3172;_0x1e3f1e?(this[_0x2e5e11(0x4c6)]&&this['_anchorDot'][_0x2e5e11(0x232)](),this[_0x2e5e11(0x1fb)]&&this[_0x2e5e11(0x1fb)][_0x2e5e11(0x4b7)]()):(this['_anchorDot']&&this[_0x2e5e11(0x4c6)]['show'](),this[_0x2e5e11(0x1fb)]&&this[_0x2e5e11(0x1fb)][_0x2e5e11(0x232)]());}[_0x5e3172(0x48f)](){const _0x21dc0b=_0x5e3172;for(const _0x1d6d31 of this[_0x21dc0b(0x3e4)])_0x1d6d31[_0x21dc0b(0x48f)]();this[_0x21dc0b(0x1fb)]&&this[_0x21dc0b(0x1fb)]['dispose'](),this[_0x21dc0b(0x4c6)]&&this[_0x21dc0b(0x4c6)][_0x21dc0b(0x48f)](),this['_anchor']&&this[_0x21dc0b(0x3f5)][_0x21dc0b(0x48f)](),this[_0x21dc0b(0x415)]&&this[_0x21dc0b(0x415)]();}[_0x5e3172(0x435)](){const _0x39b12e=_0x5e3172;var _0x3da377;const {_docSkeleton:_0x4eefd7,_document:_0x25dc7b}=this,{color:_0x16ba58,name:_0x47d85e,ranges:_0x89ae1b}=this[_0x39b12e(0x1bb)],_0x23e91e=_0x25dc7b[_0x39b12e(0x257)](),{docsLeft:_0x36fafe,docsTop:_0x45b983}=_0x23e91e,_0xe190f9=new _0x23a52e(_0x23e91e,_0x4eefd7);for(const {startOffset:_0x1854c6,endOffset:_0x43978a,rangeType:_0x12b106,segmentId:_0x557368,segmentPage:_0x36b7f4,collapsed:_0x1ae1d3,isActive:_0x1ab284}of _0x89ae1b){const _0x211103=_0x4eefd7[_0x39b12e(0x264)](_0x1854c6,!0x0,_0x557368,_0x36b7f4);let _0x1f8300=_0x4eefd7[_0x39b12e(0x264)](_0x43978a,!0x0,_0x557368,_0x36b7f4);if(_0x1f8300==null&&(_0x1f8300=_0x4eefd7[_0x39b12e(0x264)](_0x43978a-0x1,!0x1,_0x557368,_0x36b7f4)),_0x1ab284){const {contentBoxPointGroup:_0xbcc775}=_0xe190f9[_0x39b12e(0x14c)](_0x1f8300,_0x1f8300);if(_0xbcc775[_0x39b12e(0x2c8)]===0x0)continue;this['_drawAnchor'](_0x16ba58,_0xbcc775,_0x36fafe,_0x45b983,_0x47d85e),this['_eventUnsubscribe']=this[_0x39b12e(0x321)]();}if(_0x211103&&_0x1f8300){if(_0x12b106===_0x263740[_0x39b12e(0x353)]){const _0x3fd2d7=new _0x135bfe(_0x23e91e,_0x4eefd7),{pointGroup:_0x1fb9b8}=(_0x3da377=_0x3fd2d7['getRangePointData'](_0x211103,_0x1f8300))!=null?_0x3da377:{};if(_0x1fb9b8==null||_0x1fb9b8[_0x39b12e(0x2c8)]===0x0)continue;this['_drawRectRange'](_0x16ba58,_0x1fb9b8,_0x36fafe,_0x45b983);}else{if(!_0x1ae1d3){const {borderBoxPointGroup:_0x41d2ba}=_0xe190f9['getRangePointData'](_0x211103,_0x1f8300);if(_0x41d2ba[_0x39b12e(0x2c8)]===0x0)continue;this[_0x39b12e(0x193)](_0x16ba58,_0x41d2ba,_0x36fafe,_0x45b983);}}}}}['_drawAnchor'](_0x298a44,_0x2963c4,_0x9e7bf4,_0x13f491,_0x144d69){const _0x49aa86=_0x5e3172,_0x5c08e3=this[_0x49aa86(0x13e)](_0x2963c4),{left:_0x4aebbf,top:_0x487e17,height:_0x52f302}=_0x5c08e3,_0x4e2420=this[_0x49aa86(0x4c4)](),_0x261378=aa/_0x4e2420,_0x46ebf9=new _0x5876ba(Zt+_0x279a54[_0x49aa86(0x18f)](Je),{'left':_0x4aebbf+_0x9e7bf4-_0x261378,'top':_0x487e17+_0x13f491,'height':_0x52f302,'width':oa,'fill':_0x298a44||_0x58cb0a(_0x341aed[_0x49aa86(0x218)],0x0),'strokeWidth':_0x261378,'stroke':ca,'evented':!0x0});this[_0x49aa86(0x3f5)]=_0x46ebf9,this['_scene'][_0x49aa86(0x49c)](_0x46ebf9,_0x2641c4);const _0x3d5828=new _0x5876ba(Zt+_0x279a54['generateRandomId'](Je),{'left':_0x4aebbf+_0x9e7bf4-_0x261378,'top':_0x487e17+_0x13f491-Qt/0x2,'height':Qt,'width':Qt,'fill':_0x298a44||_0x58cb0a(_0x341aed[_0x49aa86(0x218)],0x0),'strokeWidth':0x0,'stroke':_0x298a44||_0x58cb0a(_0x341aed['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x3d5828,this[_0x49aa86(0x3eb)]['addObject'](_0x3d5828,_0x2641c4);const _0x5b8ff4=new Bt(Zt+_0x279a54[_0x49aa86(0x18f)](Je),{'left':_0x4aebbf+_0x9e7bf4-_0x261378,'top':_0x487e17+_0x13f491-nt,'text':_0x144d69,'color':_0x298a44});this['_textBubble']=_0x5b8ff4,this[_0x49aa86(0x3eb)]['addObject'](_0x5b8ff4,_0x2641c4),this[_0x49aa86(0x378)]=!0x1;}[_0x5e3172(0x321)](){const _0x5dbc1f=_0x5e3172,_0x7053b2=this[_0x5dbc1f(0x3f5)][_0x5dbc1f(0x4aa)][_0x5dbc1f(0x14b)](()=>{const _0x4bf167=_0x5dbc1f;this[_0x4bf167(0x378)]=!0x0;}),_0x306e2a=this['_anchor'][_0x5dbc1f(0x4c9)]['subscribeEvent'](()=>{const _0x1e85fd=_0x5dbc1f;this['_hideTimer']&&clearTimeout(this[_0x1e85fd(0x2c0)]),this[_0x1e85fd(0x2c0)]=setTimeout(()=>{const _0x205d19=_0x1e85fd;this[_0x205d19(0x378)]=!0x1;},0x7d0);});return()=>{const _0xc341fd=_0x5dbc1f;_0x7053b2[_0xc341fd(0x527)](),_0x306e2a['unsubscribe']();};}[_0x5e3172(0x193)](_0x338942,_0x1c717b,_0x3cedc4,_0x10fea6){const _0x4b1f1c=_0x5e3172,_0x3494c8=new _0x5842d9(_0x338942)[_0x4b1f1c(0x2af)](0.2)[_0x4b1f1c(0x1f8)](),_0x2c3cd6=new _0x2f6ca8(ra+_0x279a54[_0x4b1f1c(0x18f)](Je),{'pointsGroup':_0x1c717b,'fill':_0x3494c8||_0x58cb0a(_0x341aed[_0x4b1f1c(0x218)],0.2),'left':_0x3cedc4,'top':_0x10fea6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4b1f1c(0x3e4)][_0x4b1f1c(0x38e)](_0x2c3cd6),this['_scene'][_0x4b1f1c(0x49c)](_0x2c3cd6,_0x2641c4);}['_drawRectRange'](_0x438458,_0x2aabd4,_0x190dd3,_0x324a77){const _0x3320e2=_0x5e3172,_0x3dd34e=new _0x5842d9(_0x438458)[_0x3320e2(0x2af)](0.2)[_0x3320e2(0x1f8)](),_0x14cde2=new _0x2f6ca8(na+_0x279a54['generateRandomId'](Je),{'pointsGroup':_0x2aabd4,'fill':_0x3dd34e||_0x58cb0a(_0x341aed['black'],0.2),'left':_0x190dd3,'top':_0x324a77,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3320e2(0x3e4)][_0x3320e2(0x38e)](_0x14cde2),this[_0x3320e2(0x3eb)][_0x3320e2(0x49c)](_0x14cde2,_0x2641c4);}[_0x5e3172(0x13e)](_0x40a650){const _0x79d4=_0x40a650[0x0],_0x1a6cb1=_0x79d4[0x0],_0x1b7efa=_0x79d4[0x2],{x:_0x2c8d7c,y:_0x5dc30c}=_0x1a6cb1,{x:_0x3a2f02,y:_0x4131a5}=_0x1b7efa;return{'left':_0x2c8d7c,'top':_0x5dc30c,'width':_0x3a2f02-_0x2c8d7c,'height':_0x4131a5-_0x5dc30c};}[_0x5e3172(0x4c4)](){const _0xa40793=_0x5e3172,{scaleX:_0xaab586,scaleY:_0x4aa88d}=this[_0xa40793(0x3eb)][_0xa40793(0x25f)]();return Math['max'](_0xaab586,_0x4aa88d);}}var ha=Object['defineProperty'],la=Object[_0x5e3172(0x26f)],_a=(_0x553e90,_0x454a83,_0x3982c0,_0x51de46)=>{const _0x3ca675=_0x5e3172;for(var _0x2f3aa4=_0x51de46>0x1?void 0x0:_0x51de46?la(_0x454a83,_0x3982c0):_0x454a83,_0x356ba9=_0x553e90[_0x3ca675(0x2c8)]-0x1,_0x3f81cf;_0x356ba9>=0x0;_0x356ba9--)(_0x3f81cf=_0x553e90[_0x356ba9])&&(_0x2f3aa4=(_0x51de46?_0x3f81cf(_0x454a83,_0x3982c0,_0x2f3aa4):_0x3f81cf(_0x2f3aa4))||_0x2f3aa4);return _0x51de46&&_0x2f3aa4&&ha(_0x454a83,_0x3982c0,_0x2f3aa4),_0x2f3aa4;},ht=(_0xd31d77,_0x386236)=>(_0x1666cd,_0x8641ea)=>_0x386236(_0x1666cd,_0x8641ea,_0xd31d77);let fs=class extends _0x5ce84d{constructor(_0x4599c9,_0x4af69b,_0x345f80,_0x5dae7b,_0x2412f1){const _0x141e18=_0x5e3172;super(),g(this,'_cursorShapes',[]),g(this,'_cursors',[]),(this[_0x141e18(0x4d4)]=_0x4599c9,this['_docSkeletonManagerService']=_0x4af69b,this[_0x141e18(0x3f6)]=_0x345f80,this[_0x141e18(0x327)]=_0x5dae7b,this[_0x141e18(0x4b4)]=_0x2412f1,this[_0x141e18(0x1d2)]());}[_0x5e3172(0x1d2)](){const _0x1d5688=_0x5e3172,_0x51046c=this[_0x1d5688(0x4d4)][_0x1d5688(0x452)],_0xc371cc=this['_docSkeletonManagerService'];this[_0x1d5688(0x2d9)](_0x1bfc9f([this[_0x1d5688(0x3f6)][_0x1d5688(0x3fc)](_0x51046c),this[_0x1d5688(0x4b4)][_0x1d5688(0x365)]])[_0x1d5688(0x4b6)](_0x2945cf(([_0x3b42f4,_0x591e6b])=>({'skeleton':_0xc371cc[_0x1d5688(0x2e9)](),'cursors':[..._0x3b42f4[_0x1d5688(0x21a)]()][_0x1d5688(0x486)](_0x10147d=>({..._0x10147d,'color':_0x591e6b[_0x10147d['color']]}))})))[_0x1d5688(0x134)](_0x1e350b=>{const _0x140021=_0x1d5688;if(this[_0x140021(0x248)](),_0x1e350b){const {skeleton:_0x2bc7ad,cursors:_0x5eb60b}=_0x1e350b;this[_0x140021(0x3d7)](_0x2bc7ad,_0x5eb60b);}})),this[_0x1d5688(0x390)](),this[_0x1d5688(0x1f7)]();}[_0x5e3172(0x3d7)](_0x2405ad,_0x1ee054){const _0x2cecf3=_0x5e3172,{scene:_0x4c9e47,mainComponent:_0x16e25a}=this[_0x2cecf3(0x4d4)],_0x3d9e77=_0x1ee054[_0x2cecf3(0x2b4)](_0x7a824a=>new ri(_0x7a824a,_0x4c9e47,_0x2405ad,_0x16e25a));this[_0x2cecf3(0x342)]=_0x3d9e77,this['_cursors']=_0x1ee054;}[_0x5e3172(0x347)](){const _0x4974a8=_0x5e3172;this[_0x4974a8(0x248)]();const {scene:_0x4a85ec,mainComponent:_0x28279f}=this['_context'],_0x3f7aa2=this['_docSkeletonManagerService'][_0x4974a8(0x2e9)](),_0x312cc2=this[_0x4974a8(0x1de)][_0x4974a8(0x2b4)](_0x2f0c4b=>new ri(_0x2f0c4b,_0x4a85ec,_0x3f7aa2,_0x28279f));this[_0x4974a8(0x342)]=_0x312cc2;}[_0x5e3172(0x248)](){const _0x40ef28=_0x5e3172;this[_0x40ef28(0x342)]['forEach'](_0x10fdf2=>_0x10fdf2[_0x40ef28(0x48f)]()),this['_cursorShapes']=[];}[_0x5e3172(0x1f7)](){const _0x5b9ce7=_0x5e3172,_0x1f9c88=[_0x56f25a['id']];this[_0x5b9ce7(0x2d9)](this['_commandService'][_0x5b9ce7(0x1e2)](_0x10af6d=>{const _0x404c1a=_0x5b9ce7;_0x1f9c88['includes'](_0x10af6d['id'])&&_0x10af6d[_0x404c1a(0x436)][_0x404c1a(0x452)]===this[_0x404c1a(0x4d4)][_0x404c1a(0x452)]&&this['_refreshCollabCursors']();}));}[_0x5e3172(0x390)](){const _0x47532b=_0x5e3172;this[_0x47532b(0x2d9)](_0xb2198c(this['_context'][_0x47532b(0x11a)][_0x47532b(0x19e)])[_0x47532b(0x4b6)](_0x3c0a43(_0x3d5a58=>_0x3d5a58[_0x47532b(0x20d)]===_0x2759c0[_0x47532b(0x459)]),_0x14e77d(0x10))[_0x47532b(0x134)](()=>{this['_refreshCollabCursors']();}));}};fs=_a([ht(0x1,_0x1259a7(_0x218e07)),ht(0x2,_0x1259a7(Ve)),ht(0x3,_0x58c2c0),ht(0x4,_0x1259a7(_0x3b15b9))],fs);const ua=0x1,da=1.5;class fa extends _0x3f24aa{constructor(_0x138e53,_0x1604b8){const _0x4f0ab6=_0x5e3172;super(_0x138e53,_0x1604b8),g(this,'_color'),g(this,_0x4f0ab6(0x396),!0x1),g(this,_0x4f0ab6(0x4e6)),g(this,'_name',''),g(this,_0x4f0ab6(0x41e),'top'),g(this,'_backgroundColor'),(_0x1604b8&&this[_0x4f0ab6(0x2e3)](_0x1604b8),this[_0x4f0ab6(0x4aa)]['subscribeEvent'](()=>this[_0x4f0ab6(0x2e3)]({'hovered':!0x0})),this['onPointerLeave$'][_0x4f0ab6(0x14b)](()=>this[_0x4f0ab6(0x2e3)]({'hovered':!0x1})));}[_0x5e3172(0x2e3)](_0x584116){const _0x51b433=_0x5e3172;var _0x5ddf82,_0x282581,_0x98bfb5,_0x1e9443,_0x5a1434,_0x41e641;this['_color']=(_0x5ddf82=_0x584116['color'])!=null?_0x5ddf82:this[_0x51b433(0x230)],this['_hovered']=(_0x282581=_0x584116[_0x51b433(0x534)])!=null?_0x282581:this[_0x51b433(0x396)],this[_0x51b433(0x4e6)]=(_0x98bfb5=_0x584116[_0x51b433(0x168)])!=null?_0x98bfb5:this[_0x51b433(0x4e6)],this[_0x51b433(0x2c5)]=(_0x1e9443=_0x584116['name'])!=null?_0x1e9443:this[_0x51b433(0x2c5)],this[_0x51b433(0x41e)]=(_0x5a1434=_0x584116[_0x51b433(0x254)])!=null?_0x5a1434:this[_0x51b433(0x41e)],this['_backgroundColor']=(_0x41e641=_0x584116[_0x51b433(0x517)])!=null?_0x41e641:this[_0x51b433(0x419)],this[_0x51b433(0x206)]({'width':_0x584116[_0x51b433(0x1f2)],'height':_0x584116[_0x51b433(0x33a)]});}['onMouseMove'](_0x12b476){const _0x90d4d0=_0x5e3172,{row:_0x38f560,column:_0x41a52b}=_0x12b476;if(_0x38f560>=this[_0x90d4d0(0x4e6)]['startRow']&&_0x38f560<=this['_range'][_0x90d4d0(0x44d)]&&_0x41a52b>=this[_0x90d4d0(0x4e6)][_0x90d4d0(0x2a6)]&&_0x41a52b<=this[_0x90d4d0(0x4e6)][_0x90d4d0(0x30d)]){this[_0x90d4d0(0x2e3)]({'hovered':!0x0});return;}this[_0x90d4d0(0x2e3)]({'hovered':!0x1});}['triggerDblclick'](_0x43f762){return!0x1;}[_0x5e3172(0x32d)](_0x1821b9){const _0x2c7b99=_0x5e3172;_0x5876ba[_0x2c7b99(0x2a8)](_0x1821b9,{'width':this[_0x2c7b99(0x1f2)],'height':this[_0x2c7b99(0x33a)],'strokeWidth':da,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x2c7b99(0x419)]}),this[_0x2c7b99(0x396)]&&(_0x1821b9[_0x2c7b99(0x303)](),_0x1821b9[_0x2c7b99(0x2dc)](0x1,0x0,0x0,0x1,this[_0x2c7b99(0x1f2)],this[_0x2c7b99(0x41e)]==='bottom'?0x0:-nt),Bt[_0x2c7b99(0x2a8)](_0x1821b9,{'text':this[_0x2c7b99(0x2c5)],'color':this[_0x2c7b99(0x230)]}),_0x1821b9[_0x2c7b99(0x2c9)]());}}var va=Object[_0x5e3172(0x243)],pa=Object[_0x5e3172(0x26f)],ma=(_0x5d5dbc,_0x3c9ff2,_0x358b18,_0x203130)=>{const _0xd40e36=_0x5e3172;for(var _0x288e1c=_0x203130>0x1?void 0x0:_0x203130?pa(_0x3c9ff2,_0x358b18):_0x3c9ff2,_0x5a5a5c=_0x5d5dbc[_0xd40e36(0x2c8)]-0x1,_0x2c107a;_0x5a5a5c>=0x0;_0x5a5a5c--)(_0x2c107a=_0x5d5dbc[_0x5a5a5c])&&(_0x288e1c=(_0x203130?_0x2c107a(_0x3c9ff2,_0x358b18,_0x288e1c):_0x2c107a(_0x288e1c))||_0x288e1c);return _0x203130&&_0x288e1c&&va(_0x3c9ff2,_0x358b18,_0x288e1c),_0x288e1c;},es=(_0x556931,_0x6f7b74)=>(_0x45bd16,_0x57f0db)=>_0x6f7b74(_0x45bd16,_0x57f0db,_0x556931);const ga=0x1389;let vs=class extends _0x5ce84d{constructor(_0x4637bc,_0xee0210,_0x5e3f2d,_0x24a0e4){const _0x5b81ea=_0x5e3172;super(),g(this,_0x5b81ea(0x1de),new Set()),g(this,_0x5b81ea(0x1a4),null),(this['_context']=_0x4637bc,this[_0x5b81ea(0x36e)]=_0xee0210,this[_0x5b81ea(0x3f6)]=_0x5e3f2d,this[_0x5b81ea(0x4b4)]=_0x24a0e4,this[_0x5b81ea(0x1d2)]());}[_0x5e3172(0x1d2)](){const _0x4e86c2=_0x5e3172;this[_0x4e86c2(0x36e)][_0x4e86c2(0x2ec)][_0x4e86c2(0x4b6)](_0x209ee4(this[_0x4e86c2(0x511)]),_0x506a28(_0x38f670=>{const _0x5c75b1=_0x4e86c2;if(_0x38f670){const _0x5b5795=_0x38f670[_0x5c75b1(0x42f)];return _0x1bfc9f(this[_0x5c75b1(0x3f6)][_0x5c75b1(0x3fc)](this['_context'][_0x5c75b1(0x452)]),this[_0x5c75b1(0x4b4)][_0x5c75b1(0x365)])[_0x5c75b1(0x4b6)](_0x2945cf(([_0x592e56,_0x401f6a])=>{const _0xe204f4=_0x5c75b1,_0x3c189b=new Map();return _0x592e56[_0xe204f4(0x356)]((_0x490b74,_0x5a7751)=>{const _0x5771e6=_0xe204f4;if(_0x490b74[_0x5771e6(0x1c8)]===_0x5b5795){const _0x3545a9={..._0x490b74};_0x3545a9[_0x5771e6(0x369)]=_0x401f6a[_0x490b74[_0x5771e6(0x369)]],_0x3c189b[_0x5771e6(0x332)](_0x5a7751,_0x3545a9);}}),{'skeleton':_0x38f670,'cursors':_0x3c189b};}));}return _0x4f62b6({'skeleton':null,'cursors':new Map()});}))[_0x4e86c2(0x134)](({skeleton:_0x5c5c47,cursors:_0x3a1cc1})=>{const _0x42a3b1=_0x4e86c2;this['_removeCollabCursors'](),_0x5c5c47&&this[_0x42a3b1(0x3d7)](_0x5c5c47,_0x3a1cc1);}),this[_0x4e86c2(0x36e)][_0x4e86c2(0x2ec)]['subscribe'](_0x30856f=>{const _0x254c95=_0x4e86c2;if(_0x30856f==null)return;const {skeleton:_0x5df8ca}=_0x30856f,{scene:_0xa84e0b}=this[_0x254c95(0x4d4)];_0xa84e0b[_0x254c95(0x424)][_0x254c95(0x14b)](_0x38f51c(_0x3c1dd3=>{const _0xe85e6b=_0x254c95;var _0x2d9d1a,_0x161525;const {offsetX:_0x150b29,offsetY:_0x5293ff}=_0x3c1dd3,{x:_0x1c1fd4,y:_0x4c4014}=_0xa84e0b['getRelativeToViewportCoord'](_0x40d11c[_0xe85e6b(0x40a)]([_0x150b29,_0x5293ff])),{scaleX:_0x409349,scaleY:_0xa066e7}=_0xa84e0b[_0xe85e6b(0x25f)](),_0x4c1dab=_0xa84e0b[_0xe85e6b(0x180)](_0x3dbe35[_0xe85e6b(0x50a)]),_0x4dcd02=_0xa84e0b[_0xe85e6b(0x25a)](_0x40d11c[_0xe85e6b(0x40a)]([_0x1c1fd4,_0x4c4014]),_0x4c1dab),_0x340d88=_0x5df8ca[_0xe85e6b(0x219)](_0x150b29,_0x5293ff,_0x409349,_0xa066e7,_0x4dcd02);((_0x2d9d1a=this['_lastPointer'])==null?void 0x0:_0x2d9d1a[_0xe85e6b(0x3a4)])===_0x340d88['column']&&((_0x161525=this[_0xe85e6b(0x1a4)])==null?void 0x0:_0x161525[_0xe85e6b(0x226)])===_0x340d88['row']||this[_0xe85e6b(0x1de)][_0xe85e6b(0x356)](_0x50010e=>{const _0x56a323=_0xe85e6b;_0x50010e[_0x56a323(0x335)](_0x340d88);});},0x64));});}[_0x5e3172(0x3d7)](_0x18e23f,_0x162a6e){const _0x868883=_0x5e3172;var _0x4cd326;const _0x14725a=(_0x4cd326=this[_0x868883(0x36e)][_0x868883(0x17c)]())==null?void 0x0:_0x4cd326['skeleton'];if(!_0x14725a)return;const _0x3c3dda=this['_getSheetObject']();if(!_0x3c3dda)return;this[_0x868883(0x1de)][_0x868883(0x356)](_0x2c8af2=>{const _0x41a29d=_0x868883;_0x2c8af2[_0x41a29d(0x1d5)]();});const {scene:_0x2d7dfd}=_0x3c3dda,_0x21621e=Sa(Array[_0x868883(0x49e)](_0x162a6e[_0x868883(0x21a)]()))['map'](_0x69f602=>{const _0x38389f=_0x868883,{color:_0x283470,range:_0x37da33,name:_0x5892bb,selection:_0x444a27,sheetID:_0x4c4ccb}=_0x69f602,{startColumn:_0x4d14ee,startRow:_0x17c6fc,endColumn:_0x18f91d,endRow:_0x484076}=_0x37da33,_0x17d3bf=_0x1028ea(_0x17c6fc,_0x4d14ee,_0x2d7dfd,_0x14725a),_0xbce160=_0x1028ea(_0x484076,_0x18f91d,_0x2d7dfd,_0x14725a),{columnHeaderHeightAndMarginTop:_0x518fbe}=_0x14725a,{startX:_0x3e5c2c,startY:_0x3afa07}=_0x17d3bf,{endX:_0x5c0e6f,endY:_0x10a8a3}=_0xbce160,_0x5ba9d3=_0x5c0e6f-_0x3e5c2c,_0x40a48b=_0x10a8a3-_0x3afa07,_0x32bf0b={'labelPosition':_0x3afa07-_0x518fbe>=nt?_0x38389f(0x467):_0x38389f(0x4c3),'sheetID':_0x4c4ccb,'range':_0x37da33,'color':_0x283470,'name':_0x5892bb,'selection':_0x444a27,'left':_0x3e5c2c,'top':_0x3afa07,'width':_0x5ba9d3,'height':_0x40a48b,'evented':!0x1,'zIndex':ga};return new fa(_0x5892bb,_0x32bf0b);});_0x2d7dfd['addObjects'](_0x21621e,ua),this[_0x868883(0x1de)]=new Set(_0x21621e);}['_removeCollabCursors'](){const _0x414339=_0x5e3172;var _0x47381e;(_0x47381e=this[_0x414339(0x1de)])==null||_0x47381e[_0x414339(0x356)](_0x2ec5e8=>_0x2ec5e8['dispose']());}[_0x5e3172(0x40b)](){const _0x1d8b5b=_0x5e3172;return _0x7eaba5(this['_context']['unit'],this[_0x1d8b5b(0x4d4)]);}};vs=ma([es(0x1,_0x1259a7(_0x5d1f2f)),es(0x2,_0x1259a7(Ve)),es(0x3,_0x1259a7(_0x3b15b9))],vs);function Sa(_0x3d42ab){const _0x3b7c58=_0x5e3172,_0xabb5c3=new Map();return _0x3d42ab[_0x3b7c58(0x356)](_0x2bffd0=>{const _0x3184c2=_0x3b7c58;if(_0xabb5c3[_0x3184c2(0x3cb)](_0x2bffd0[_0x3184c2(0x533)])){const _0x321dde=_0xabb5c3[_0x3184c2(0x307)](_0x2bffd0[_0x3184c2(0x533)]);_0x321dde[_0x3184c2(0x121)]+=',\x20'+_0x2bffd0[_0x3184c2(0x121)];}else _0xabb5c3['set'](_0x2bffd0[_0x3184c2(0x533)],_0x2bffd0);}),Array[_0x3b7c58(0x49e)](_0xabb5c3['values']());}var ts=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ct(_0x324395){const _0x468efe=_0x5e3172;return _0x324395&&_0x324395[_0x468efe(0x25e)]&&Object[_0x468efe(0x4e8)][_0x468efe(0x4d8)]['call'](_0x324395,_0x468efe(0x3a1))?_0x324395[_0x468efe(0x3a1)]:_0x324395;}var ss={'exports':{}},Ze={},ni;function Ia(){const _0x3ba933=_0x5e3172;if(ni)return Ze;ni=0x1;var _0x961aab=_0x165312,_0x1c5bf7=Symbol[_0x3ba933(0x289)](_0x3ba933(0x28c)),_0x614ed0=Symbol[_0x3ba933(0x289)]('react.fragment'),_0x251ca0=Object[_0x3ba933(0x4e8)]['hasOwnProperty'],_0x1a8bfd=_0x961aab['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x3ba933(0x47b)],_0x524a08={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x394b93(_0x233a0e,_0xcb6ec2,_0x2aa8ed){const _0x171f76=_0x3ba933;var _0x2b2e74,_0x4529e4={},_0x527d80=null,_0x2825e2=null;_0x2aa8ed!==void 0x0&&(_0x527d80=''+_0x2aa8ed),_0xcb6ec2[_0x171f76(0x36a)]!==void 0x0&&(_0x527d80=''+_0xcb6ec2[_0x171f76(0x36a)]),_0xcb6ec2[_0x171f76(0x11e)]!==void 0x0&&(_0x2825e2=_0xcb6ec2[_0x171f76(0x11e)]);for(_0x2b2e74 in _0xcb6ec2)_0x251ca0['call'](_0xcb6ec2,_0x2b2e74)&&!_0x524a08['hasOwnProperty'](_0x2b2e74)&&(_0x4529e4[_0x2b2e74]=_0xcb6ec2[_0x2b2e74]);if(_0x233a0e&&_0x233a0e['defaultProps']){for(_0x2b2e74 in(_0xcb6ec2=_0x233a0e[_0x171f76(0x346)],_0xcb6ec2))_0x4529e4[_0x2b2e74]===void 0x0&&(_0x4529e4[_0x2b2e74]=_0xcb6ec2[_0x2b2e74]);}return{'$$typeof':_0x1c5bf7,'type':_0x233a0e,'key':_0x527d80,'ref':_0x2825e2,'props':_0x4529e4,'_owner':_0x1a8bfd[_0x171f76(0x363)]};}return Ze[_0x3ba933(0x516)]=_0x614ed0,Ze[_0x3ba933(0x2b8)]=_0x394b93,Ze[_0x3ba933(0x1dd)]=_0x394b93,Ze;}var oi;function Ca(){const _0x28ef33=_0x5e3172;return oi||(oi=0x1,ss[_0x28ef33(0x4b3)]=Ia()),ss['exports'];}var De=Ca(),te=function(){const _0x437dc2=_0x5e3172;return te=Object['assign']||function(_0x546cd5){const _0x24e934=_0x1eb2;for(var _0x1812d4,_0x15806f=0x1,_0x4211e3=arguments[_0x24e934(0x2c8)];_0x15806f<_0x4211e3;_0x15806f++){_0x1812d4=arguments[_0x15806f];for(var _0x2488ad in _0x1812d4)Object[_0x24e934(0x4e8)][_0x24e934(0x4d8)][_0x24e934(0x500)](_0x1812d4,_0x2488ad)&&(_0x546cd5[_0x2488ad]=_0x1812d4[_0x2488ad]);}return _0x546cd5;},te[_0x437dc2(0x212)](this,arguments);},Ea=function(_0x46a891,_0x5cb3cb){const _0x33d803=_0x5e3172;var _0x450025={};for(var _0x519d60 in _0x46a891)Object[_0x33d803(0x4e8)][_0x33d803(0x4d8)][_0x33d803(0x500)](_0x46a891,_0x519d60)&&_0x5cb3cb['indexOf'](_0x519d60)<0x0&&(_0x450025[_0x519d60]=_0x46a891[_0x519d60]);if(_0x46a891!=null&&typeof Object['getOwnPropertySymbols']==_0x33d803(0x308)){for(var _0x5447d1=0x0,_0x519d60=Object['getOwnPropertySymbols'](_0x46a891);_0x5447d1<_0x519d60[_0x33d803(0x2c8)];_0x5447d1++)_0x5cb3cb[_0x33d803(0x1ec)](_0x519d60[_0x5447d1])<0x0&&Object[_0x33d803(0x4e8)][_0x33d803(0x4f2)][_0x33d803(0x500)](_0x46a891,_0x519d60[_0x5447d1])&&(_0x450025[_0x519d60[_0x5447d1]]=_0x46a891[_0x519d60[_0x5447d1]]);}return _0x450025;},Us=_0x5af4de(function(_0x11f635,_0xcb062e){const _0x239e77=_0x5e3172;var _0x21fd7e=_0x11f635['icon'],_0x5a7413=_0x11f635['id'],_0xfd0af=_0x11f635['className'],_0xaaa179=_0x11f635[_0x239e77(0x2c1)],_0xb9f983=Ea(_0x11f635,[_0x239e77(0x23d),'id','className',_0x239e77(0x2c1)]),_0x5009c6='univerjs-icon\x20univerjs-icon-'[_0x239e77(0x4b9)](_0x5a7413,'\x20')[_0x239e77(0x4b9)](_0xfd0af||'')[_0x239e77(0x4f7)](),_0x3bc1c9=_0xa7cda3('_'[_0x239e77(0x4b9)](Ra()));return Zi(_0x21fd7e,''[_0x239e77(0x4b9)](_0x5a7413),{'defIds':_0x21fd7e[_0x239e77(0x282)],'idSuffix':_0x3bc1c9[_0x239e77(0x363)]},te({'ref':_0xcb062e,'className':_0x5009c6},_0xb9f983),_0xaaa179);});function Zi(_0x1296d9,_0x46cc59,_0x5798ec,_0x3fc401,_0xf144){const _0x40f62a=_0x5e3172;return _0x27aa2b(_0x1296d9[_0x40f62a(0x1bc)],te(te({'key':_0x46cc59},ba(_0x1296d9,_0x5798ec,_0xf144)),_0x3fc401),(Ta(_0x1296d9,_0x5798ec)['children']||[])[_0x40f62a(0x2b4)](function(_0x528039,_0x97405f){const _0x11d189=_0x40f62a;return Zi(_0x528039,''['concat'](_0x46cc59,'-')[_0x11d189(0x4b9)](_0x1296d9[_0x11d189(0x1bc)],'-')[_0x11d189(0x4b9)](_0x97405f),_0x5798ec,void 0x0,_0xf144);}));}function ba(_0x41d151,_0x4ffe62,_0x58be32){const _0x3210dd=_0x5e3172;var _0x2fa79a=te({},_0x41d151[_0x3210dd(0x4e5)]);_0x58be32!=null&&_0x58be32[_0x3210dd(0x296)]&&_0x2fa79a[_0x3210dd(0x123)]==='colorChannel1'&&(_0x2fa79a[_0x3210dd(0x123)]=_0x58be32[_0x3210dd(0x296)]);var _0x27d911=_0x4ffe62['defIds'];return!_0x27d911||_0x27d911[_0x3210dd(0x2c8)]===0x0||(_0x41d151['tag']==='use'&&_0x2fa79a[_0x3210dd(0x18e)]&&(_0x2fa79a['xlink:href']=_0x2fa79a[_0x3210dd(0x18e)]+_0x4ffe62[_0x3210dd(0x1ed)]),Object[_0x3210dd(0x16f)](_0x2fa79a)[_0x3210dd(0x356)](function(_0x494a4a){const _0x5179b4=_0x3210dd;var _0x44acf9=_0x494a4a[0x0],_0x21a389=_0x494a4a[0x1];typeof _0x21a389==_0x5179b4(0x429)&&(_0x2fa79a[_0x44acf9]=_0x21a389['replace'](/url\(#(.*)\)/,_0x5179b4(0x276)[_0x5179b4(0x4b9)](_0x4ffe62[_0x5179b4(0x1ed)],')')));})),_0x2fa79a;}function Ta(_0x9d1d68,_0xd46023){const _0x4bd02=_0x5e3172;var _0x2ecaf6,_0x1365c4=_0xd46023[_0x4bd02(0x282)];return!_0x1365c4||_0x1365c4['length']===0x0?_0x9d1d68:_0x9d1d68[_0x4bd02(0x1bc)]===_0x4bd02(0x472)&&(!((_0x2ecaf6=_0x9d1d68[_0x4bd02(0x349)])===null||_0x2ecaf6===void 0x0)&&_0x2ecaf6[_0x4bd02(0x2c8)])?te(te({},_0x9d1d68),{'children':_0x9d1d68[_0x4bd02(0x349)][_0x4bd02(0x2b4)](function(_0x4c66d2){const _0x193557=_0x4bd02;return typeof _0x4c66d2[_0x193557(0x4e5)]['id']==_0x193557(0x429)&&_0x1365c4&&_0x1365c4[_0x193557(0x1ec)](_0x4c66d2['attrs']['id'])>-0x1?te(te({},_0x4c66d2),{'attrs':te(te({},_0x4c66d2[_0x193557(0x4e5)]),{'id':_0x4c66d2[_0x193557(0x4e5)]['id']+_0xd46023[_0x193557(0x1ed)]})}):_0x4c66d2;})}):_0x9d1d68;}function Ra(){const _0x57ad0f=_0x5e3172;return Math[_0x57ad0f(0x34c)]()[_0x57ad0f(0x129)](0x24)[_0x57ad0f(0x2ef)](0x2,0x8);}Us[_0x5e3172(0x31d)]=_0x5e3172(0x52a);var Oa={'tag':_0x5e3172(0x1ae),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x5e3172(0x4d9),'height':_0x5e3172(0x4d9)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x5e3172(0x313),'d':_0x5e3172(0x314),'strokeLinecap':_0x5e3172(0x3f7),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5e3172(0x472),'attrs':{},'children':[{'tag':_0x5e3172(0x280),'attrs':{'id':_0x5e3172(0x224)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5e3172(0x224)]},Qi=_0x5af4de(function(_0x5edd28,_0x2566ea){const _0x43484a=_0x5e3172;return _0x27aa2b(Us,Object[_0x43484a(0x215)]({},_0x5edd28,{'id':_0x43484a(0x1cb),'ref':_0x2566ea,'icon':Oa}));});Qi[_0x5e3172(0x31d)]='OffLineSingle';var ya={'tag':_0x5e3172(0x1ae),'attrs':{'fill':_0x5e3172(0x358),'viewBox':'0\x200\x2017\x2016','width':_0x5e3172(0x4d9),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x5e3172(0x49f),'attrs':{'stroke':_0x5e3172(0x313),'d':_0x5e3172(0x30a),'strokeLinecap':_0x5e3172(0x3f7),'strokeLinejoin':_0x5e3172(0x3f7),'strokeWidth':1.2}}]},{'tag':_0x5e3172(0x472),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5e3172(0x392)},'children':[{'tag':_0x5e3172(0x49f),'attrs':{'fill':_0x5e3172(0x4ab),'d':_0x5e3172(0x35d),'transform':_0x5e3172(0x17d)}}]}]}],'defIds':['on-line-single_clip0_910_349']},er=_0x5af4de(function(_0x4ebe98,_0x53ee16){const _0x2cd788=_0x5e3172;return _0x27aa2b(Us,Object[_0x2cd788(0x215)]({},_0x4ebe98,{'id':_0x2cd788(0x4cf),'ref':_0x53ee16,'icon':ya}));});er[_0x5e3172(0x31d)]=_0x5e3172(0x1e0);function tr(_0x552769){const _0x5c87eb=_0x5e3172;var _0x56cfd0,_0x52d40a,_0x3ebbf1='';if(typeof _0x552769=='string'||typeof _0x552769==_0x5c87eb(0x128))_0x3ebbf1+=_0x552769;else{if(typeof _0x552769=='object'){if(Array[_0x5c87eb(0x468)](_0x552769)){var _0xfc4c3f=_0x552769[_0x5c87eb(0x2c8)];for(_0x56cfd0=0x0;_0x56cfd0<_0xfc4c3f;_0x56cfd0++)_0x552769[_0x56cfd0]&&(_0x52d40a=tr(_0x552769[_0x56cfd0]))&&(_0x3ebbf1&&(_0x3ebbf1+='\x20'),_0x3ebbf1+=_0x52d40a);}else{for(_0x52d40a in _0x552769)_0x552769[_0x52d40a]&&(_0x3ebbf1&&(_0x3ebbf1+='\x20'),_0x3ebbf1+=_0x52d40a);}}}return _0x3ebbf1;}function _0x1eb2(_0x4941e7,_0x5d26fe){const _0x1abc81=_0x1abc();return _0x1eb2=function(_0x1eb2f8,_0x34a54e){_0x1eb2f8=_0x1eb2f8-0x10d;let _0x14515c=_0x1abc81[_0x1eb2f8];return _0x14515c;},_0x1eb2(_0x4941e7,_0x5d26fe);}function wa(){const _0x359825=_0x5e3172;for(var _0x4901e7,_0x9d1c6f,_0x331aa8=0x0,_0x493b65='',_0x38976b=arguments[_0x359825(0x2c8)];_0x331aa8<_0x38976b;_0x331aa8++)(_0x4901e7=arguments[_0x331aa8])&&(_0x9d1c6f=tr(_0x4901e7))&&(_0x493b65&&(_0x493b65+='\x20'),_0x493b65+=_0x9d1c6f);return _0x493b65;}const Da=_0x5e3172(0x382),Pa=_0x5e3172(0x43b),Na='univer-online-status',Ua=_0x5e3172(0x47d),Aa=_0x5e3172(0x279),Qe={'onlineStatusIcon':Da,'onlineStatusTitle':Pa,'onlineStatus':Na,'online':Ua,'offline':Aa};function Ma(_0x1fd7b6){const _0x5e0781=_0x5e3172;switch(_0x1fd7b6){case J[_0x5e0781(0x4d7)]:return _0x5e0781(0x492);case J['CONFLICT']:return _0x5e0781(0x1b1);case J[_0x5e0781(0x3e2)]:return _0x5e0781(0x479);case J['NOT_COLLAB']:return'collabStatus.notCollab';case J[_0x5e0781(0x22c)]:case J[_0x5e0781(0x1ce)]:return _0x5e0781(0x32b);case J['SYNCED']:case J['PENDING']:return _0x5e0781(0x13a);}}function xa(_0x44b2f3){const _0x32b4bc=_0x5e3172,{status$:_0x5ed116}=_0x44b2f3,_0x45b767=_0x82b757(_0x5ed116,J[_0x32b4bc(0x1aa)]),_0x2fa9d9=_0x57885b(_0x56a2bf),_0x9dcc71=_0x57885b(xe),_0x3fbf0a=_0x45b767!==J['OFFLINE'],_0x586aea=_0x2fa9d9['t'](Ma(_0x45b767)),_0xb0ce33=wa(Qe['onlineStatus'],{[Qe['online']]:_0x3fbf0a,[Qe[_0x32b4bc(0x11b)]]:!_0x3fbf0a}),_0xec1018=_0x3fbf0a?De[_0x32b4bc(0x2b8)](er,{}):De['jsx'](Qi,{}),_0x397017=_0x3c29fa(()=>{_0x3fbf0a||_0x9dcc71['reconnect']();},[_0x3fbf0a,_0x9dcc71]);function _0x4a2ea3(){const _0x5bc029=_0x32b4bc;return De[_0x5bc029(0x1dd)]('div',{'className':_0xb0ce33,'onClick':_0x397017,'children':[De[_0x5bc029(0x2b8)]('div',{'className':Qe['onlineStatusIcon'],'children':_0xec1018}),De[_0x5bc029(0x2b8)](_0x5bc029(0x505),{'className':Qe[_0x5bc029(0x146)],'children':_0x586aea})]});}return _0x3fbf0a?_0x4a2ea3():De[_0x32b4bc(0x2b8)](_0x172eaf,{'title':_0x2fa9d9['t'](_0x32b4bc(0x44c)),'children':_0x4a2ea3()});}var La=Object['defineProperty'],$a=Object['getOwnPropertyDescriptor'],Ha=(_0x35da00,_0xd97ba4,_0x57854d,_0x7e4b59)=>{const _0x20cc3e=_0x5e3172;for(var _0x4735e4=_0x7e4b59>0x1?void 0x0:_0x7e4b59?$a(_0xd97ba4,_0x57854d):_0xd97ba4,_0x3097a7=_0x35da00[_0x20cc3e(0x2c8)]-0x1,_0x5bc5c8;_0x3097a7>=0x0;_0x3097a7--)(_0x5bc5c8=_0x35da00[_0x3097a7])&&(_0x4735e4=(_0x7e4b59?_0x5bc5c8(_0xd97ba4,_0x57854d,_0x4735e4):_0x5bc5c8(_0x4735e4))||_0x4735e4);return _0x7e4b59&&_0x4735e4&&La(_0xd97ba4,_0x57854d,_0x4735e4),_0x4735e4;},lt=(_0x370e70,_0x325afb)=>(_0x4ce6f2,_0x21b158)=>_0x325afb(_0x4ce6f2,_0x21b158,_0x370e70);let At=class extends _0x5f337f{constructor(_0x20f254,_0x5b8282,_0x29b0f5,_0x4174a3){const _0x3f31bc=_0x5e3172;super(),g(this,_0x3f31bc(0x1d6),new _0xd0d94b(J[_0x3f31bc(0x1aa)])),(this['_univerInstanceService']=_0x20f254,this[_0x3f31bc(0x372)]=_0x5b8282,this[_0x3f31bc(0x3b4)]=_0x29b0f5,this[_0x3f31bc(0x50d)]=_0x4174a3,this[_0x3f31bc(0x4d1)](),this[_0x3f31bc(0x4db)]());}[_0x5e3172(0x4db)](){const _0x35a7c7=_0x5e3172;this[_0x35a7c7(0x2d9)](this['_univerInstanceService']['focused$'][_0x35a7c7(0x4b6)](_0x12c24e(()=>{const _0x599c8b=_0x35a7c7,_0x35665e=this[_0x599c8b(0x153)][_0x599c8b(0x27b)]();return _0x35665e?this['_collaborationController'][_0x599c8b(0x46e)](_0x35665e[_0x599c8b(0x12f)]()):_0x4f62b6(null);}),_0x12c24e(_0x542f5e=>_0x542f5e?_0x542f5e[_0x35a7c7(0x52f)]:_0x4f62b6(J[_0x35a7c7(0x1aa)])))[_0x35a7c7(0x134)](_0x13c106=>{this['_status$']['next'](_0x13c106);}));}[_0x5e3172(0x4d1)](){const _0x248997=_0x5e3172;this[_0x248997(0x2d9)](this[_0x248997(0x372)][_0x248997(0x1c7)](_0x4a568e[_0x248997(0x112)],()=>_0x517e5d(ja({'status$':this[_0x248997(0x1d6)][_0x248997(0x306)]()}),this[_0x248997(0x3b4)])));}};At=Ha([lt(0x0,_0x381e7e),lt(0x1,_0x5beba5),lt(0x2,_0x1259a7(_0xa6ca3c)),lt(0x3,_0x1259a7(rt))],At);function ja(_0x2d3347){const {status$:_0x34bef2}=_0x2d3347;return function(){return De['jsx'](xa,{'status$':_0x34bef2});};}const sr=_0x311f8c(_0x5e3172(0x20b));var Ba=Object[_0x5e3172(0x243)],ka=Object['getOwnPropertyDescriptor'],Wa=(_0x4cb97e,_0x2a9129,_0x463384,_0x3c9d02)=>{const _0xd0b232=_0x5e3172;for(var _0x1f48f7=_0x3c9d02>0x1?void 0x0:_0x3c9d02?ka(_0x2a9129,_0x463384):_0x2a9129,_0x177424=_0x4cb97e[_0xd0b232(0x2c8)]-0x1,_0x2e18b9;_0x177424>=0x0;_0x177424--)(_0x2e18b9=_0x4cb97e[_0x177424])&&(_0x1f48f7=(_0x3c9d02?_0x2e18b9(_0x2a9129,_0x463384,_0x1f48f7):_0x2e18b9(_0x1f48f7))||_0x1f48f7);return _0x3c9d02&&_0x1f48f7&&Ba(_0x2a9129,_0x463384,_0x1f48f7),_0x1f48f7;},ke=(_0x1f14b0,_0x1ac92e)=>(_0x3aa238,_0x22c383)=>_0x1ac92e(_0x3aa238,_0x22c383,_0x1f14b0);let Mt=class extends _0x5ce84d{constructor(_0x244da8,_0x26a45c,_0x10f664,_0x5b6511,_0x45889c,_0x23d626){const _0x1edc99=_0x5e3172;super(),this['_urlService']=_0x244da8,this[_0x1edc99(0x52d)]=_0x26a45c,this[_0x1edc99(0x327)]=_0x10f664,this[_0x1edc99(0x32a)]=_0x5b6511,this[_0x1edc99(0x449)]=_0x45889c,_0x23d626?_0x23d626==null||_0x23d626[_0x1edc99(0x167)]()['then'](()=>this[_0x1edc99(0x1d2)]()):(this[_0x1edc99(0x52d)][_0x1edc99(0x16d)](_0x1edc99(0x40f),_0x1edc99(0x18a)),this[_0x1edc99(0x1d2)]());}async['_init'](){const _0x5c5bd3=_0x5e3172,_0x234d93=this[_0x5c5bd3(0x4f3)][_0x5c5bd3(0x518)]('unit'),_0x385d60=this['_urlService'][_0x5c5bd3(0x518)](_0x5c5bd3(0x20d));if(!_0x234d93||!_0x385d60){this[_0x5c5bd3(0x52d)][_0x5c5bd3(0x16d)](_0x5c5bd3(0x40f),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x385d60)){case ae[_0x5c5bd3(0x1c2)]:{const _0x531edc=await this[_0x5c5bd3(0x364)](_0x234d93);this[_0x5c5bd3(0x477)](_0x531edc);break;}case ae['UNIVER_DOC']:{await this[_0x5c5bd3(0x166)](_0x234d93);break;}default:{this[_0x5c5bd3(0x52d)][_0x5c5bd3(0x295)](_0x5c5bd3(0x40f),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x5e3172(0x477)](_0xac3846){const _0xea470d=_0x5e3172;await this[_0xea470d(0x42c)](_0xac3846),_0xac3846[_0xea470d(0x525)][_0xea470d(0x4b6)](_0x34041a(this[_0xea470d(0x511)]))['subscribe'](_0x43ce55=>{const _0x58e59c=_0xea470d;_0x43ce55&&this[_0x58e59c(0x27c)](_0x43ce55);}),this['_urlService'][_0xea470d(0x1fa)]['pipe'](_0x34041a(this[_0xea470d(0x511)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0xac3846));}[_0x5e3172(0x27c)](_0x59363a,_0x18c8c5=!0x1){const _0x2a4d74=_0x5e3172,_0x52817f=this[_0x2a4d74(0x4f3)][_0x2a4d74(0x518)](_0x2a4d74(0x344));_0x59363a[_0x2a4d74(0x29c)]()!==_0x52817f&&this['_urlService'][_0x2a4d74(0x431)]('subunit',_0x59363a[_0x2a4d74(0x29c)](),_0x18c8c5);}async[_0x5e3172(0x42c)](_0x490b8f){const _0xbd2fcc=_0x5e3172;var _0x2ea101;const _0x274577=this[_0xbd2fcc(0x4f3)][_0xbd2fcc(0x518)](_0xbd2fcc(0x344));if(!_0x274577||!_0x490b8f[_0xbd2fcc(0x19d)](_0x274577)){const _0x1c0f19=_0x490b8f[_0xbd2fcc(0x3bc)]()[0x0],_0x5c9246=_0x490b8f[_0xbd2fcc(0x19d)](_0x1c0f19);if(!_0x5c9246)return;this[_0xbd2fcc(0x27c)](_0x5c9246,!0x0),await this[_0xbd2fcc(0x327)][_0xbd2fcc(0x266)](_0x5d7f9e['id'],{'unitId':_0x490b8f[_0xbd2fcc(0x12f)](),'subUnitId':_0x1c0f19});return;}((_0x2ea101=_0x490b8f[_0xbd2fcc(0x328)]())==null?void 0x0:_0x2ea101[_0xbd2fcc(0x29c)]())!==_0x274577&&await this['_commandService'][_0xbd2fcc(0x266)](_0x5d7f9e['id'],{'unitId':_0x490b8f[_0xbd2fcc(0x12f)](),'subUnitId':_0x274577});}async[_0x5e3172(0x364)](_0x2492e5){const _0x171964=_0x5e3172;let _0x35a81b=0x0;const _0x438c90=await this['_localCacheService']['loadOfflineData'](_0x2492e5);return _0x438c90&&(_0x438c90[_0x171964(0x227)]||_0x438c90[_0x171964(0x1b2)]['length']!==0x0)&&(_0x35a81b=_0x438c90['rev']),_0x35a81b===0x0&&this[_0x171964(0x52d)]['debug'](_0x171964(0x40f),_0x171964(0x4cd)),this[_0x171964(0x449)][_0x171964(0x281)](_0x2492e5,_0x35a81b);}async[_0x5e3172(0x166)](_0x44e57a){const _0x27a047=_0x5e3172;let _0x3f1167=0x0;const _0x5725bf=await this['_localCacheService'][_0x27a047(0x47f)](_0x44e57a);return _0x5725bf&&(_0x5725bf[_0x27a047(0x227)]||_0x5725bf[_0x27a047(0x1b2)][_0x27a047(0x2c8)]!==0x0)&&(_0x3f1167=_0x5725bf['rev']),_0x3f1167===0x0&&this['_logService']['debug'](_0x27a047(0x40f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x27a047(0x449)][_0x27a047(0x2b1)](_0x44e57a,_0x3f1167);}};Mt=Wa([ke(0x0,sr),ke(0x1,_0xadcc6),ke(0x2,_0x58c2c0),ke(0x3,_0x1259a7(z)),ke(0x4,_0x1259a7(_0x2dad5b)),ke(0x5,_0x2f5f30(_0x4ec8cb))],Mt);var Fa=Object[_0x5e3172(0x243)],Va=Object[_0x5e3172(0x26f)],Ga=(_0x5063b9,_0x4e0c92,_0x3096f8,_0x3e9b48)=>{const _0x5b88e5=_0x5e3172;for(var _0x4d1a37=_0x3e9b48>0x1?void 0x0:_0x3e9b48?Va(_0x4e0c92,_0x3096f8):_0x4e0c92,_0x21f990=_0x5063b9[_0x5b88e5(0x2c8)]-0x1,_0x3511a8;_0x21f990>=0x0;_0x21f990--)(_0x3511a8=_0x5063b9[_0x21f990])&&(_0x4d1a37=(_0x3e9b48?_0x3511a8(_0x4e0c92,_0x3096f8,_0x4d1a37):_0x3511a8(_0x4d1a37))||_0x4d1a37);return _0x3e9b48&&_0x4d1a37&&Fa(_0x4e0c92,_0x3096f8,_0x4d1a37),_0x4d1a37;},ai=(_0x1f8bac,_0x2d0262)=>(_0xbd4a6a,_0x21ba78)=>_0x2d0262(_0xbd4a6a,_0x21ba78,_0x1f8bac);const Ya=_0x5e3172(0x197),Ka=_0x5e3172(0x531);let xt=class extends _0x5f337f{constructor(_0x9f88e5,_0xd3024){const _0x588af9=_0x5e3172;super(),this[_0x588af9(0x153)]=_0x9f88e5,this[_0x588af9(0x270)]=_0xd3024,this[_0x588af9(0x1d2)]();}[_0x5e3172(0x1d2)](){const _0x122cdf=_0x5e3172;this['disposeWithMe'](this[_0x122cdf(0x153)][_0x122cdf(0x1e6)][_0x122cdf(0x134)](()=>{const _0x3f9496=_0x122cdf;var _0x48d2f8;const _0x42d759=this[_0x3f9496(0x153)][_0x3f9496(0x27b)]();let _0x5041bc=(_0x48d2f8=this[_0x3f9496(0x270)]['getConfig'](Ya))!=null?_0x48d2f8:Ka;_0x42d759 instanceof _0x1d9cb8&&(_0x5041bc=_0x42d759[_0x3f9496(0x121)]),document[_0x3f9496(0x458)]=_0x5041bc;}));}};xt=Ga([ai(0x0,_0x381e7e),ai(0x1,_0x3a37b7)],xt);var qa=Object[_0x5e3172(0x243)],za=Object[_0x5e3172(0x26f)],Xa=(_0x2dc6d0,_0x226f9a,_0x4440a2,_0x1174d0)=>{for(var _0x36fe5f=_0x1174d0>0x1?void 0x0:_0x1174d0?za(_0x226f9a,_0x4440a2):_0x226f9a,_0xbc51e0=_0x2dc6d0['length']-0x1,_0x3c1bb0;_0xbc51e0>=0x0;_0xbc51e0--)(_0x3c1bb0=_0x2dc6d0[_0xbc51e0])&&(_0x36fe5f=(_0x1174d0?_0x3c1bb0(_0x226f9a,_0x4440a2,_0x36fe5f):_0x3c1bb0(_0x36fe5f))||_0x36fe5f);return _0x1174d0&&_0x36fe5f&&qa(_0x226f9a,_0x4440a2,_0x36fe5f),_0x36fe5f;},is=(_0x17e5f1,_0x5df99f)=>(_0x39f53e,_0x23e15e)=>_0x5df99f(_0x39f53e,_0x23e15e,_0x17e5f1);let Lt=class{constructor(_0x34760b,_0x5045ce,_0x1fbae2){const _0x36af53=_0x5e3172;this[_0x36af53(0x270)]=_0x34760b,this[_0x36af53(0x535)]=_0x5045ce,this[_0x36af53(0x3c0)]=_0x1fbae2,this[_0x36af53(0x433)]();}[_0x5e3172(0x433)](){const _0x250651=_0x5e3172;this[_0x250651(0x535)][_0x250651(0x24c)]({'priority':0x1,'interceptor':(_0x538ffd,_0x574240)=>_0x574240(_0x538ffd)[_0x250651(0x4b6)](_0x21776c(async _0x2c80f1=>{const _0x1570a1=_0x250651,_0x3d7ce5=_0x2c80f1;if(_0x3d7ce5[_0x1570a1(0x38b)]===0x191&&window[_0x1570a1(0x23a)](this[_0x1570a1(0x3c0)]['t'](_0x1570a1(0x3a0)))){const _0x9cafb7=window[_0x1570a1(0x1f4)](window[_0x1570a1(0x4e2)][_0x1570a1(0x38d)]);window[_0x1570a1(0x4e2)][_0x1570a1(0x38d)]=this[_0x1570a1(0x35b)]()+_0x1570a1(0x2f8)+_0x9cafb7;}return _0x3d7ce5;}))});}[_0x5e3172(0x35b)](){const _0x2aab41=_0x5e3172;var _0x4d281b,_0x1c1016;const _0xa4ac17=this[_0x2aab41(0x270)][_0x2aab41(0x186)](Hn),_0x4ba593=this[_0x2aab41(0x270)][_0x2aab41(0x186)](Q);return(_0x1c1016=(_0x4d281b=_0x4ba593==null?void 0x0:_0x4ba593['loginUrlKey'])!=null?_0x4d281b:_0xa4ac17)!=null?_0x1c1016:jn;}};Lt=Xa([is(0x0,_0x3a37b7),is(0x1,_0x1259a7(_0x21ff0e)),is(0x2,_0x1259a7(_0x56a2bf))],Lt);var Ja=Object[_0x5e3172(0x243)],Za=Object[_0x5e3172(0x26f)],Qa=(_0x5d2972,_0x4ef189,_0xbd92ec,_0x1b3873)=>{const _0x4d6c4c=_0x5e3172;for(var _0x4ff9b9=_0x1b3873>0x1?void 0x0:_0x1b3873?Za(_0x4ef189,_0xbd92ec):_0x4ef189,_0x569031=_0x5d2972[_0x4d6c4c(0x2c8)]-0x1,_0x40d064;_0x569031>=0x0;_0x569031--)(_0x40d064=_0x5d2972[_0x569031])&&(_0x4ff9b9=(_0x1b3873?_0x40d064(_0x4ef189,_0xbd92ec,_0x4ff9b9):_0x40d064(_0x4ff9b9))||_0x4ff9b9);return _0x1b3873&&_0x4ff9b9&&Ja(_0x4ef189,_0xbd92ec,_0x4ff9b9),_0x4ff9b9;},ci=(_0x123404,_0x569439)=>(_0x18ed0c,_0x2580ae)=>_0x569439(_0x18ed0c,_0x2580ae,_0x123404);const ir=_0x5e3172(0x151),ec=_0x5e3172(0x3f3);let ps=class extends _0x5f337f{constructor(_0x4c1e3e,_0x369232){const _0x4ffaae=_0x5e3172;super(),this[_0x4ffaae(0x31f)]=_0x4c1e3e,this['_configService']=_0x369232,this[_0x4ffaae(0x432)]();}[_0x5e3172(0x432)](){const _0x106f45=_0x5e3172,_0xc5080=this;this[_0x106f45(0x2d9)](this['_HTTPService'][_0x106f45(0x24c)]({'priority':0x3e7,'interceptor':_0x146515({'isMatch'(_0x4678e3){const _0x50481a=_0x106f45;var _0x5d2727;if(_0x4678e3[_0x50481a(0x131)]===_0x50481a(0x292)&&((_0x5d2727=_0x4678e3[_0x50481a(0x225)])!=null&&_0x5d2727['body'])){const {objectID:_0xeae0a3,objectType:_0x37729a}=_0x4678e3[_0x50481a(0x225)]['body']||{};if(!_0xeae0a3||_0x37729a===void 0x0)return!0x1;const _0x671350=_0xc5080[_0x50481a(0x1f9)]()+'/'+_0x37729a+_0x50481a(0x132)+_0xeae0a3+'/allowed';if(_0x4678e3[_0x50481a(0x165)]===_0x671350)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x51a2a1){const _0x59bf90=_0x106f45;var _0x59ed2f;return(_0x59ed2f=_0x51a2a1[_0x59bf90(0x225)])==null?void 0x0:_0x59ed2f[_0x59bf90(0x2da)];},'mergeParamsToRequest'(_0x26d1fa,_0x2860e9){const _0x595906=_0x106f45,_0x512ab8=_0xc5080['_getAPIPrefixPath']()+_0x595906(0x20c),_0x43a257=_0x26d1fa[_0x595906(0x354)]((_0x4ff7d1,_0x2fc494)=>{const _0x428e90=_0x595906,{unitID:_0x26f805,objectID:_0x519832,objectType:_0x13aa4f,actions:_0x3f4661}=_0x2fc494;return _0x4ff7d1[_0x26f805]||(_0x4ff7d1[_0x26f805]={}),_0x4ff7d1[_0x26f805][_0x519832]||(_0x4ff7d1[_0x26f805][_0x519832]={'objectID':_0x519832,'objectType':_0x13aa4f,'actions':[]}),_0x4ff7d1[_0x26f805][_0x519832][_0x428e90(0x39b)][_0x428e90(0x38e)](..._0x3f4661),_0x4ff7d1;},{}),_0x2c0ec8=[];for(const _0x3bc634 in _0x43a257)for(const _0x32b100 in _0x43a257[_0x3bc634]){const {actions:_0x521abf,objectType:_0x1c48c0}=_0x43a257[_0x3bc634][_0x32b100],_0x302067=[...new Set(_0x521abf)];_0x2c0ec8[_0x595906(0x38e)]({'unitID':_0x3bc634,'objectID':_0x32b100,'objectType':_0x1c48c0,'actions':_0x302067});}return new _0x427f8d(_0x595906(0x292),_0x512ab8,{'headers':_0x2860e9[_0x595906(0x260)],'withCredentials':_0x2860e9[_0x595906(0x170)],'responseType':_0x2860e9[_0x595906(0x4ea)],'body':{'requests':_0x2c0ec8}});}},{'distributeResult'(_0x5a0d4d,_0x3f28d2){const _0xa82034=_0x106f45,{objectActions:_0xf93612}=_0x5a0d4d;return _0x3f28d2[_0xa82034(0x2b4)](_0x35c030=>{const _0x140a67=_0xa82034,{unitID:_0xfb7c29,objectID:_0x3e3a3b,actions:_0x22d2e8}=_0x35c030,_0x27a272=_0xf93612['find'](_0x3e0c0c=>_0x3e0c0c[_0x140a67(0x4e4)]===_0xfb7c29&&_0x3e0c0c[_0x140a67(0x381)]===_0x3e3a3b),_0x4cae67=_0x22d2e8['map'](_0x374045=>_0x27a272==null?void 0x0:_0x27a272[_0x140a67(0x39b)]['find'](_0x53e2c1=>_0x53e2c1[_0x140a67(0x350)]===_0x374045))[_0x140a67(0x1fe)](_0x5ec7a1=>!!_0x5ec7a1);return{'config':_0x35c030,'result':{'actions':_0x4cae67,'error':_0x5a0d4d[_0x140a67(0x295)]}};});}})}));}[_0x5e3172(0x1f9)](){const _0x1a0d7a=_0x5e3172;var _0x5824a2,_0x1cfa45;const _0x1bab6d=this[_0x1a0d7a(0x270)][_0x1a0d7a(0x186)](ir),_0x5db976=this[_0x1a0d7a(0x270)][_0x1a0d7a(0x186)](Q);return(_0x1cfa45=(_0x5824a2=_0x5db976==null?void 0x0:_0x5db976[_0x1a0d7a(0x13f)])!=null?_0x5824a2:_0x1bab6d)!=null?_0x1cfa45:ec;}async['create'](_0x4d08f4){const _0x5dac0b=_0x5e3172,_0x4d0fab=this[_0x5dac0b(0x1f9)]()+'/'+_0x4d08f4[_0x5dac0b(0x2e4)]+_0x5dac0b(0x237);return(await this[_0x5dac0b(0x31f)][_0x5dac0b(0x2a5)](_0x4d0fab,{'body':_0x4d08f4}))[_0x5dac0b(0x2da)]['objectID']||'';}async['list'](_0x5aab4a){const _0x102204=_0x5e3172,_0x173a7a=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x102204(0x31f)]['post'](_0x173a7a,{'body':_0x5aab4a}))['body'][_0x102204(0x253)];}async[_0x5e3172(0x4d6)](_0x5383ce){const _0x160937=_0x5e3172,_0x281fec=this[_0x160937(0x1f9)]()+'/'+_0x5383ce[_0x160937(0x2e4)]+_0x160937(0x132)+_0x5383ce[_0x160937(0x381)];await this[_0x160937(0x31f)]['put'](_0x281fec,{'body':_0x5383ce});}async[_0x5e3172(0x504)](_0x47d039){const _0x2b5c33=_0x5e3172,_0x4da289=this[_0x2b5c33(0x1f9)]()+'/'+_0x47d039[_0x2b5c33(0x2e4)]+'/object/'+_0x47d039[_0x2b5c33(0x381)]+_0x2b5c33(0x2f9);return(await this[_0x2b5c33(0x31f)][_0x2b5c33(0x2a5)](_0x4da289,{'body':_0x47d039}))[_0x2b5c33(0x2da)][_0x2b5c33(0x39b)];}async[_0x5e3172(0x184)](_0x2c1722){const _0x2acbf9=_0x5e3172,_0x31f971=this['_getAPIPrefixPath']()+_0x2acbf9(0x20c);return(await this[_0x2acbf9(0x31f)][_0x2acbf9(0x2a5)](_0x31f971,{'body':{'requests':_0x2c1722}}))[_0x2acbf9(0x2da)][_0x2acbf9(0x3c5)];}async[_0x5e3172(0x483)](_0x5570c1){const _0x1d7eed=_0x5e3172,_0x1a1459=this['_getAPIPrefixPath']()+'/'+_0x5570c1['objectType']+'/role',_0x525146=await this['_HTTPService'][_0x1d7eed(0x2a5)](_0x1a1459,{'body':_0x5570c1});return{'roles':_0x525146['body'][_0x1d7eed(0x140)],'actions':_0x525146['body'][_0x1d7eed(0x39b)]};}async[_0x5e3172(0x481)](_0x31ff20){const _0x40935a=_0x5e3172,_0x575200=this[_0x40935a(0x1f9)]()+_0x40935a(0x3f8);await this[_0x40935a(0x31f)][_0x40935a(0x480)](_0x575200,{'params':{'collaboratorID':_0x31ff20['collaboratorID'],'objectID':_0x31ff20[_0x40935a(0x381)],'unitID':_0x31ff20[_0x40935a(0x4e4)]}});}async[_0x5e3172(0x3a8)](_0x4a616b){const _0x26f0af=_0x5e3172,_0x338a5b=this['_getAPIPrefixPath']()+_0x26f0af(0x3f8);await this[_0x26f0af(0x31f)][_0x26f0af(0x265)](_0x338a5b,{'body':_0x4a616b});}async['createCollaborator'](_0x820196){const _0x39a85d=_0x5e3172,_0x500522=this[_0x39a85d(0x1f9)]()+_0x39a85d(0x3f8);await this[_0x39a85d(0x31f)]['post'](_0x500522,{'body':_0x820196});}async['listCollaborators'](_0xb1d4cb){const _0x255965=_0x5e3172,_0x261bf3=this[_0x255965(0x1f9)]()+'/collaborator';return(await this[_0x255965(0x31f)][_0x255965(0x307)](_0x261bf3,{'params':{'objectID':_0xb1d4cb[_0x255965(0x381)],'unitID':_0xb1d4cb['unitID']}}))[_0x255965(0x2da)][_0x255965(0x470)];}async[_0x5e3172(0x12a)](_0x582a9a){const _0x189f68=_0x5e3172,_0x1e0138=this[_0x189f68(0x1f9)]()+_0x189f68(0x3f8);await this[_0x189f68(0x31f)][_0x189f68(0x213)](_0x1e0138,{'body':_0x582a9a});}};ps=Qa([ci(0x0,_0x1259a7(_0x21ff0e)),ci(0x1,_0x1259a7(_0x3a37b7))],ps);var dt={'exports':{}};function tc(_0x2ce283){const _0x38e544=_0x5e3172;throw new Error(_0x38e544(0x1c9)+_0x2ce283+_0x38e544(0x258));}var ft={'exports':{}},sc=ft['exports'],hi;function _e(){return hi||(hi=0x1,function(_0x3e487c,_0x121d56){(function(_0x37a9a3,_0x1631dd){const _0x28634c=_0x1eb2;_0x3e487c[_0x28634c(0x4b3)]=_0x1631dd();}(sc,function(){var _0x4797ee=_0x4797ee||function(_0x4b936a,_0x1fb417){const _0x38b069=_0x1eb2;var _0x1623be;if(typeof window<'u'&&window[_0x38b069(0x386)]&&(_0x1623be=window[_0x38b069(0x386)]),typeof self<'u'&&self[_0x38b069(0x386)]&&(_0x1623be=self[_0x38b069(0x386)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1623be=globalThis[_0x38b069(0x386)]),!_0x1623be&&typeof window<'u'&&window[_0x38b069(0x482)]&&(_0x1623be=window[_0x38b069(0x482)]),!_0x1623be&&typeof ts<'u'&&ts[_0x38b069(0x386)]&&(_0x1623be=ts[_0x38b069(0x386)]),!_0x1623be&&typeof tc==_0x38b069(0x308))try{_0x1623be=require('crypto');}catch{}var _0x47b2ad=function(){const _0x46d33d=_0x38b069;if(_0x1623be){if(typeof _0x1623be[_0x46d33d(0x2db)]=='function')try{return _0x1623be[_0x46d33d(0x2db)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1623be[_0x46d33d(0x473)]==_0x46d33d(0x308))try{return _0x1623be[_0x46d33d(0x473)](0x4)[_0x46d33d(0x44e)]();}catch{}}throw new Error(_0x46d33d(0x2fa));},_0x2e5557=Object[_0x38b069(0x2df)]||(function(){function _0x116983(){}return function(_0x257cd9){const _0x550a70=_0x1eb2;var _0x315e2c;return _0x116983[_0x550a70(0x4e8)]=_0x257cd9,_0x315e2c=new _0x116983(),_0x116983['prototype']=null,_0x315e2c;};}()),_0x547818={},_0x38763f=_0x547818[_0x38b069(0x1e5)]={},_0x3a496c=_0x38763f['Base']=(function(){return{'extend':function(_0x5c52ce){const _0x5058d1=_0x1eb2;var _0x4bebe0=_0x2e5557(this);return _0x5c52ce&&_0x4bebe0[_0x5058d1(0x24e)](_0x5c52ce),(!_0x4bebe0[_0x5058d1(0x4d8)]('init')||this[_0x5058d1(0x433)]===_0x4bebe0[_0x5058d1(0x433)])&&(_0x4bebe0['init']=function(){const _0x56e9c2=_0x5058d1;_0x4bebe0[_0x56e9c2(0x30f)][_0x56e9c2(0x433)]['apply'](this,arguments);}),_0x4bebe0[_0x5058d1(0x433)]['prototype']=_0x4bebe0,_0x4bebe0['$super']=this,_0x4bebe0;},'create':function(){const _0xada98f=_0x1eb2;var _0x514275=this['extend']();return _0x514275[_0xada98f(0x433)]['apply'](_0x514275,arguments),_0x514275;},'init':function(){},'mixIn':function(_0x2cc449){const _0x28292d=_0x1eb2;for(var _0x535d84 in _0x2cc449)_0x2cc449[_0x28292d(0x4d8)](_0x535d84)&&(this[_0x535d84]=_0x2cc449[_0x535d84]);_0x2cc449['hasOwnProperty']('toString')&&(this['toString']=_0x2cc449['toString']);},'clone':function(){const _0x2858ea=_0x1eb2;return this[_0x2858ea(0x433)][_0x2858ea(0x4e8)]['extend'](this);}};}()),_0x108704=_0x38763f[_0x38b069(0x24d)]=_0x3a496c['extend']({'init':function(_0x290857,_0x233f15){const _0x245def=_0x38b069;_0x290857=this['words']=_0x290857||[],_0x233f15!=_0x1fb417?this[_0x245def(0x11f)]=_0x233f15:this[_0x245def(0x11f)]=_0x290857['length']*0x4;},'toString':function(_0x2626ce){const _0xe018c7=_0x38b069;return(_0x2626ce||_0x3ed20a)[_0xe018c7(0x50f)](this);},'concat':function(_0x57d8c3){const _0x26d948=_0x38b069;var _0x4ad230=this[_0x26d948(0x1c5)],_0x46a152=_0x57d8c3[_0x26d948(0x1c5)],_0x35ea0c=this[_0x26d948(0x11f)],_0x19dea9=_0x57d8c3[_0x26d948(0x11f)];if(this[_0x26d948(0x4bb)](),_0x35ea0c%0x4)for(var _0x319da3=0x0;_0x319da3<_0x19dea9;_0x319da3++){var _0x42c4cf=_0x46a152[_0x319da3>>>0x2]>>>0x18-_0x319da3%0x4*0x8&0xff;_0x4ad230[_0x35ea0c+_0x319da3>>>0x2]|=_0x42c4cf<<0x18-(_0x35ea0c+_0x319da3)%0x4*0x8;}else{for(var _0x27509b=0x0;_0x27509b<_0x19dea9;_0x27509b+=0x4)_0x4ad230[_0x35ea0c+_0x27509b>>>0x2]=_0x46a152[_0x27509b>>>0x2];}return this[_0x26d948(0x11f)]+=_0x19dea9,this;},'clamp':function(){const _0x2aa6a0=_0x38b069;var _0x2a7d48=this[_0x2aa6a0(0x1c5)],_0x14cfe2=this[_0x2aa6a0(0x11f)];_0x2a7d48[_0x14cfe2>>>0x2]&=0xffffffff<<0x20-_0x14cfe2%0x4*0x8,_0x2a7d48[_0x2aa6a0(0x2c8)]=_0x4b936a[_0x2aa6a0(0x421)](_0x14cfe2/0x4);},'clone':function(){const _0x136428=_0x38b069;var _0x1c7c14=_0x3a496c[_0x136428(0x506)][_0x136428(0x500)](this);return _0x1c7c14[_0x136428(0x1c5)]=this[_0x136428(0x1c5)][_0x136428(0x469)](0x0),_0x1c7c14;},'random':function(_0x292fe4){for(var _0x346cd7=[],_0x3f2002=0x0;_0x3f2002<_0x292fe4;_0x3f2002+=0x4)_0x346cd7['push'](_0x47b2ad());return new _0x108704['init'](_0x346cd7,_0x292fe4);}}),_0x231217=_0x547818['enc']={},_0x3ed20a=_0x231217['Hex']={'stringify':function(_0x422fbc){const _0x58861d=_0x38b069;for(var _0x274947=_0x422fbc[_0x58861d(0x1c5)],_0x33e9cf=_0x422fbc['sigBytes'],_0x219111=[],_0x434638=0x0;_0x434638<_0x33e9cf;_0x434638++){var _0x463bdb=_0x274947[_0x434638>>>0x2]>>>0x18-_0x434638%0x4*0x8&0xff;_0x219111[_0x58861d(0x38e)]((_0x463bdb>>>0x4)[_0x58861d(0x129)](0x10)),_0x219111[_0x58861d(0x38e)]((_0x463bdb&0xf)['toString'](0x10));}return _0x219111[_0x58861d(0x304)]('');},'parse':function(_0x3c8d05){const _0x13c87d=_0x38b069;for(var _0x4620d9=_0x3c8d05['length'],_0x4f1782=[],_0x50cbbf=0x0;_0x50cbbf<_0x4620d9;_0x50cbbf+=0x2)_0x4f1782[_0x50cbbf>>>0x3]|=parseInt(_0x3c8d05[_0x13c87d(0x115)](_0x50cbbf,0x2),0x10)<<0x18-_0x50cbbf%0x8*0x4;return new _0x108704[(_0x13c87d(0x433))](_0x4f1782,_0x4620d9/0x2);}},_0x9a46f7=_0x231217[_0x38b069(0x320)]={'stringify':function(_0x5a56d3){const _0xda7969=_0x38b069;for(var _0x4c9391=_0x5a56d3['words'],_0x5c5567=_0x5a56d3[_0xda7969(0x11f)],_0x51f62b=[],_0x568aa0=0x0;_0x568aa0<_0x5c5567;_0x568aa0++){var _0x10a08e=_0x4c9391[_0x568aa0>>>0x2]>>>0x18-_0x568aa0%0x4*0x8&0xff;_0x51f62b['push'](String[_0xda7969(0x4d5)](_0x10a08e));}return _0x51f62b[_0xda7969(0x304)]('');},'parse':function(_0x50f91a){const _0x32b615=_0x38b069;for(var _0x5605ea=_0x50f91a[_0x32b615(0x2c8)],_0x4c1988=[],_0xa9ead2=0x0;_0xa9ead2<_0x5605ea;_0xa9ead2++)_0x4c1988[_0xa9ead2>>>0x2]|=(_0x50f91a[_0x32b615(0x326)](_0xa9ead2)&0xff)<<0x18-_0xa9ead2%0x4*0x8;return new _0x108704[(_0x32b615(0x433))](_0x4c1988,_0x5605ea);}},_0x184ab6=_0x231217[_0x38b069(0x188)]={'stringify':function(_0x50ab70){const _0x353901=_0x38b069;try{return decodeURIComponent(escape(_0x9a46f7['stringify'](_0x50ab70)));}catch{throw new Error(_0x353901(0x4fd));}},'parse':function(_0x2c5653){const _0x4cb284=_0x38b069;return _0x9a46f7[_0x4cb284(0x32f)](unescape(encodeURIComponent(_0x2c5653)));}},_0xe30f6=_0x38763f['BufferedBlockAlgorithm']=_0x3a496c[_0x38b069(0x2c1)]({'reset':function(){const _0x49fd4a=_0x38b069;this[_0x49fd4a(0x34e)]=new _0x108704[(_0x49fd4a(0x433))](),this[_0x49fd4a(0x41b)]=0x0;},'_append':function(_0x10267e){const _0x56b7f3=_0x38b069;typeof _0x10267e==_0x56b7f3(0x429)&&(_0x10267e=_0x184ab6[_0x56b7f3(0x32f)](_0x10267e)),this['_data']['concat'](_0x10267e),this['_nDataBytes']+=_0x10267e[_0x56b7f3(0x11f)];},'_process':function(_0x118fe7){const _0x137f87=_0x38b069;var _0x21d9da,_0x409b33=this[_0x137f87(0x34e)],_0xdc29ab=_0x409b33[_0x137f87(0x1c5)],_0x75690e=_0x409b33[_0x137f87(0x11f)],_0x5a1ef2=this['blockSize'],_0x3f5494=_0x5a1ef2*0x4,_0x23ada0=_0x75690e/_0x3f5494;_0x118fe7?_0x23ada0=_0x4b936a[_0x137f87(0x421)](_0x23ada0):_0x23ada0=_0x4b936a[_0x137f87(0x2a1)]((_0x23ada0|0x0)-this[_0x137f87(0x1a9)],0x0);var _0x4eadb3=_0x23ada0*_0x5a1ef2,_0x5b7aa6=_0x4b936a['min'](_0x4eadb3*0x4,_0x75690e);if(_0x4eadb3){for(var _0x2d6a15=0x0;_0x2d6a15<_0x4eadb3;_0x2d6a15+=_0x5a1ef2)this[_0x137f87(0x334)](_0xdc29ab,_0x2d6a15);_0x21d9da=_0xdc29ab[_0x137f87(0x403)](0x0,_0x4eadb3),_0x409b33['sigBytes']-=_0x5b7aa6;}return new _0x108704['init'](_0x21d9da,_0x5b7aa6);},'clone':function(){const _0x5ea218=_0x38b069;var _0x46ef85=_0x3a496c[_0x5ea218(0x506)][_0x5ea218(0x500)](this);return _0x46ef85[_0x5ea218(0x34e)]=this[_0x5ea218(0x34e)][_0x5ea218(0x506)](),_0x46ef85;},'_minBufferSize':0x0});_0x38763f[_0x38b069(0x176)]=_0xe30f6['extend']({'cfg':_0x3a496c[_0x38b069(0x2c1)](),'init':function(_0x54fa82){const _0x33b868=_0x38b069;this[_0x33b868(0x471)]=this['cfg'][_0x33b868(0x2c1)](_0x54fa82),this[_0x33b868(0x3df)]();},'reset':function(){const _0x5451d5=_0x38b069;_0xe30f6[_0x5451d5(0x3df)]['call'](this),this[_0x5451d5(0x255)]();},'update':function(_0x4cdd1e){const _0x565052=_0x38b069;return this['_append'](_0x4cdd1e),this[_0x565052(0x370)](),this;},'finalize':function(_0x384c9f){const _0x17871c=_0x38b069;_0x384c9f&&this[_0x17871c(0x245)](_0x384c9f);var _0x803741=this[_0x17871c(0x1be)]();return _0x803741;},'blockSize':0x10,'_createHelper':function(_0x1ae76f){return function(_0x24a07c,_0xf8f72f){const _0x810041=_0x1eb2;return new _0x1ae76f[(_0x810041(0x433))](_0xf8f72f)[_0x810041(0x244)](_0x24a07c);};},'_createHmacHelper':function(_0x27dd85){return function(_0x59d06c,_0x33c449){const _0x3e5147=_0x1eb2;return new _0x3c0834[(_0x3e5147(0x360))][(_0x3e5147(0x433))](_0x27dd85,_0x33c449)[_0x3e5147(0x244)](_0x59d06c);};}});var _0x3c0834=_0x547818[_0x38b069(0x528)]={};return _0x547818;}(Math);return _0x4797ee;}));}(ft)),ft['exports'];}var vt={'exports':{}},ic=vt['exports'],li;function rr(){return li||(li=0x1,function(_0x5ee28b,_0x5e4ecf){(function(_0x36f4b2,_0x5663c8){const _0x34bdfc=_0x1eb2;_0x5ee28b[_0x34bdfc(0x4b3)]=_0x5663c8(_e());}(ic,function(_0x2aa9d9){const _0x369f07=_0x1eb2;return(function(){const _0x48f617=_0x1eb2;var _0x82640=_0x2aa9d9,_0x5c9f7d=_0x82640[_0x48f617(0x1e5)],_0x187016=_0x5c9f7d[_0x48f617(0x24d)],_0x57a5c4=_0x82640[_0x48f617(0x302)];_0x57a5c4[_0x48f617(0x4a8)]={'stringify':function(_0x11894f){const _0x248c7e=_0x48f617;var _0x2fce33=_0x11894f[_0x248c7e(0x1c5)],_0x39d32b=_0x11894f[_0x248c7e(0x11f)],_0xbc76a2=this[_0x248c7e(0x37a)];_0x11894f['clamp']();for(var _0x333db2=[],_0x2cfca3=0x0;_0x2cfca3<_0x39d32b;_0x2cfca3+=0x3)for(var _0x5de5ad=_0x2fce33[_0x2cfca3>>>0x2]>>>0x18-_0x2cfca3%0x4*0x8&0xff,_0x446586=_0x2fce33[_0x2cfca3+0x1>>>0x2]>>>0x18-(_0x2cfca3+0x1)%0x4*0x8&0xff,_0x11636f=_0x2fce33[_0x2cfca3+0x2>>>0x2]>>>0x18-(_0x2cfca3+0x2)%0x4*0x8&0xff,_0x3a7210=_0x5de5ad<<0x10|_0x446586<<0x8|_0x11636f,_0x253836=0x0;_0x253836<0x4&&_0x2cfca3+_0x253836*0.75<_0x39d32b;_0x253836++)_0x333db2[_0x248c7e(0x38e)](_0xbc76a2[_0x248c7e(0x434)](_0x3a7210>>>0x6*(0x3-_0x253836)&0x3f));var _0x49aecb=_0xbc76a2[_0x248c7e(0x434)](0x40);if(_0x49aecb){for(;_0x333db2[_0x248c7e(0x2c8)]%0x4;)_0x333db2['push'](_0x49aecb);}return _0x333db2[_0x248c7e(0x304)]('');},'parse':function(_0x2024a6){const _0x4e967a=_0x48f617;var _0x291c86=_0x2024a6[_0x4e967a(0x2c8)],_0x398b31=this[_0x4e967a(0x37a)],_0x13aa54=this[_0x4e967a(0x152)];if(!_0x13aa54){_0x13aa54=this[_0x4e967a(0x152)]=[];for(var _0x459488=0x0;_0x459488<_0x398b31[_0x4e967a(0x2c8)];_0x459488++)_0x13aa54[_0x398b31['charCodeAt'](_0x459488)]=_0x459488;}var _0x18c233=_0x398b31[_0x4e967a(0x434)](0x40);if(_0x18c233){var _0x9b1080=_0x2024a6[_0x4e967a(0x1ec)](_0x18c233);_0x9b1080!==-0x1&&(_0x291c86=_0x9b1080);}return _0xbabeec(_0x2024a6,_0x291c86,_0x13aa54);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0xbabeec(_0xab3527,_0x469181,_0x3fdedb){const _0x46b95c=_0x48f617;for(var _0x479e93=[],_0x1a0090=0x0,_0x2fc597=0x0;_0x2fc597<_0x469181;_0x2fc597++)if(_0x2fc597%0x4){var _0x5dc48e=_0x3fdedb[_0xab3527[_0x46b95c(0x326)](_0x2fc597-0x1)]<<_0x2fc597%0x4*0x2,_0x4ad986=_0x3fdedb[_0xab3527[_0x46b95c(0x326)](_0x2fc597)]>>>0x6-_0x2fc597%0x4*0x2,_0x4a0499=_0x5dc48e|_0x4ad986;_0x479e93[_0x1a0090>>>0x2]|=_0x4a0499<<0x18-_0x1a0090%0x4*0x8,_0x1a0090++;}return _0x187016['create'](_0x479e93,_0x1a0090);}}()),_0x2aa9d9['enc'][_0x369f07(0x4a8)];}));}(vt)),vt['exports'];}var pt={'exports':{}},rc=pt[_0x5e3172(0x4b3)],_i;function nc(){return _i||(_i=0x1,function(_0x4bc69c,_0x278069){(function(_0x2eab92,_0x4530f8){const _0x570fba=_0x1eb2;_0x4bc69c[_0x570fba(0x4b3)]=_0x4530f8(_e());}(rc,function(_0x48e8d0){const _0x2b60f=_0x1eb2;return function(_0x4b6181){const _0x3361a6=_0x1eb2;var _0x5dcc0a=_0x48e8d0,_0x2925d7=_0x5dcc0a[_0x3361a6(0x1e5)],_0x57036a=_0x2925d7[_0x3361a6(0x24d)],_0x2e918b=_0x2925d7[_0x3361a6(0x176)],_0x1fb206=_0x5dcc0a[_0x3361a6(0x528)],_0x242130=[];(function(){const _0x2c11f8=_0x3361a6;for(var _0x121768=0x0;_0x121768<0x40;_0x121768++)_0x242130[_0x121768]=_0x4b6181[_0x2c11f8(0x3c9)](_0x4b6181[_0x2c11f8(0x338)](_0x121768+0x1))*0x100000000|0x0;}());var _0x1884de=_0x1fb206[_0x3361a6(0x47a)]=_0x2e918b['extend']({'_doReset':function(){const _0x47855f=_0x3361a6;this[_0x47855f(0x51e)]=new _0x57036a[(_0x47855f(0x433))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x36995a,_0x1d0d3c){const _0x275c29=_0x3361a6;for(var _0x5aaebe=0x0;_0x5aaebe<0x10;_0x5aaebe++){var _0x3caf20=_0x1d0d3c+_0x5aaebe,_0x32f2d9=_0x36995a[_0x3caf20];_0x36995a[_0x3caf20]=(_0x32f2d9<<0x8|_0x32f2d9>>>0x18)&0xff00ff|(_0x32f2d9<<0x18|_0x32f2d9>>>0x8)&0xff00ff00;}var _0x117d59=this[_0x275c29(0x51e)][_0x275c29(0x1c5)],_0x26de2e=_0x36995a[_0x1d0d3c+0x0],_0x5b0daf=_0x36995a[_0x1d0d3c+0x1],_0x7ea7ef=_0x36995a[_0x1d0d3c+0x2],_0x489526=_0x36995a[_0x1d0d3c+0x3],_0x22e9f1=_0x36995a[_0x1d0d3c+0x4],_0x537189=_0x36995a[_0x1d0d3c+0x5],_0x26d643=_0x36995a[_0x1d0d3c+0x6],_0x5b9c6f=_0x36995a[_0x1d0d3c+0x7],_0xe2df69=_0x36995a[_0x1d0d3c+0x8],_0x35cb3a=_0x36995a[_0x1d0d3c+0x9],_0x33fbdb=_0x36995a[_0x1d0d3c+0xa],_0x22c9d8=_0x36995a[_0x1d0d3c+0xb],_0x5321d0=_0x36995a[_0x1d0d3c+0xc],_0x8e2cdc=_0x36995a[_0x1d0d3c+0xd],_0x2186ee=_0x36995a[_0x1d0d3c+0xe],_0x2a30e0=_0x36995a[_0x1d0d3c+0xf],_0x46f23d=_0x117d59[0x0],_0x3f3a32=_0x117d59[0x1],_0x14e483=_0x117d59[0x2],_0x332c70=_0x117d59[0x3];_0x46f23d=_0x803f12(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x26de2e,0x7,_0x242130[0x0]),_0x332c70=_0x803f12(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x5b0daf,0xc,_0x242130[0x1]),_0x14e483=_0x803f12(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x7ea7ef,0x11,_0x242130[0x2]),_0x3f3a32=_0x803f12(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x489526,0x16,_0x242130[0x3]),_0x46f23d=_0x803f12(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x22e9f1,0x7,_0x242130[0x4]),_0x332c70=_0x803f12(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x537189,0xc,_0x242130[0x5]),_0x14e483=_0x803f12(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x26d643,0x11,_0x242130[0x6]),_0x3f3a32=_0x803f12(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x5b9c6f,0x16,_0x242130[0x7]),_0x46f23d=_0x803f12(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0xe2df69,0x7,_0x242130[0x8]),_0x332c70=_0x803f12(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x35cb3a,0xc,_0x242130[0x9]),_0x14e483=_0x803f12(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x33fbdb,0x11,_0x242130[0xa]),_0x3f3a32=_0x803f12(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x22c9d8,0x16,_0x242130[0xb]),_0x46f23d=_0x803f12(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x5321d0,0x7,_0x242130[0xc]),_0x332c70=_0x803f12(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x8e2cdc,0xc,_0x242130[0xd]),_0x14e483=_0x803f12(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x2186ee,0x11,_0x242130[0xe]),_0x3f3a32=_0x803f12(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x2a30e0,0x16,_0x242130[0xf]),_0x46f23d=_0x22bfae(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x5b0daf,0x5,_0x242130[0x10]),_0x332c70=_0x22bfae(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x26d643,0x9,_0x242130[0x11]),_0x14e483=_0x22bfae(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x22c9d8,0xe,_0x242130[0x12]),_0x3f3a32=_0x22bfae(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x26de2e,0x14,_0x242130[0x13]),_0x46f23d=_0x22bfae(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x537189,0x5,_0x242130[0x14]),_0x332c70=_0x22bfae(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x33fbdb,0x9,_0x242130[0x15]),_0x14e483=_0x22bfae(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x2a30e0,0xe,_0x242130[0x16]),_0x3f3a32=_0x22bfae(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x22e9f1,0x14,_0x242130[0x17]),_0x46f23d=_0x22bfae(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x35cb3a,0x5,_0x242130[0x18]),_0x332c70=_0x22bfae(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x2186ee,0x9,_0x242130[0x19]),_0x14e483=_0x22bfae(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x489526,0xe,_0x242130[0x1a]),_0x3f3a32=_0x22bfae(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0xe2df69,0x14,_0x242130[0x1b]),_0x46f23d=_0x22bfae(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x8e2cdc,0x5,_0x242130[0x1c]),_0x332c70=_0x22bfae(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x7ea7ef,0x9,_0x242130[0x1d]),_0x14e483=_0x22bfae(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x5b9c6f,0xe,_0x242130[0x1e]),_0x3f3a32=_0x22bfae(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x5321d0,0x14,_0x242130[0x1f]),_0x46f23d=_0x4c655e(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x537189,0x4,_0x242130[0x20]),_0x332c70=_0x4c655e(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0xe2df69,0xb,_0x242130[0x21]),_0x14e483=_0x4c655e(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x22c9d8,0x10,_0x242130[0x22]),_0x3f3a32=_0x4c655e(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x2186ee,0x17,_0x242130[0x23]),_0x46f23d=_0x4c655e(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x5b0daf,0x4,_0x242130[0x24]),_0x332c70=_0x4c655e(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x22e9f1,0xb,_0x242130[0x25]),_0x14e483=_0x4c655e(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x5b9c6f,0x10,_0x242130[0x26]),_0x3f3a32=_0x4c655e(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x33fbdb,0x17,_0x242130[0x27]),_0x46f23d=_0x4c655e(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x8e2cdc,0x4,_0x242130[0x28]),_0x332c70=_0x4c655e(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x26de2e,0xb,_0x242130[0x29]),_0x14e483=_0x4c655e(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x489526,0x10,_0x242130[0x2a]),_0x3f3a32=_0x4c655e(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x26d643,0x17,_0x242130[0x2b]),_0x46f23d=_0x4c655e(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x35cb3a,0x4,_0x242130[0x2c]),_0x332c70=_0x4c655e(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x5321d0,0xb,_0x242130[0x2d]),_0x14e483=_0x4c655e(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x2a30e0,0x10,_0x242130[0x2e]),_0x3f3a32=_0x4c655e(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x7ea7ef,0x17,_0x242130[0x2f]),_0x46f23d=_0x57368b(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x26de2e,0x6,_0x242130[0x30]),_0x332c70=_0x57368b(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x5b9c6f,0xa,_0x242130[0x31]),_0x14e483=_0x57368b(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x2186ee,0xf,_0x242130[0x32]),_0x3f3a32=_0x57368b(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x537189,0x15,_0x242130[0x33]),_0x46f23d=_0x57368b(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x5321d0,0x6,_0x242130[0x34]),_0x332c70=_0x57368b(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x489526,0xa,_0x242130[0x35]),_0x14e483=_0x57368b(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x33fbdb,0xf,_0x242130[0x36]),_0x3f3a32=_0x57368b(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x5b0daf,0x15,_0x242130[0x37]),_0x46f23d=_0x57368b(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0xe2df69,0x6,_0x242130[0x38]),_0x332c70=_0x57368b(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x2a30e0,0xa,_0x242130[0x39]),_0x14e483=_0x57368b(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x26d643,0xf,_0x242130[0x3a]),_0x3f3a32=_0x57368b(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x8e2cdc,0x15,_0x242130[0x3b]),_0x46f23d=_0x57368b(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x22e9f1,0x6,_0x242130[0x3c]),_0x332c70=_0x57368b(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x22c9d8,0xa,_0x242130[0x3d]),_0x14e483=_0x57368b(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x7ea7ef,0xf,_0x242130[0x3e]),_0x3f3a32=_0x57368b(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x35cb3a,0x15,_0x242130[0x3f]),_0x117d59[0x0]=_0x117d59[0x0]+_0x46f23d|0x0,_0x117d59[0x1]=_0x117d59[0x1]+_0x3f3a32|0x0,_0x117d59[0x2]=_0x117d59[0x2]+_0x14e483|0x0,_0x117d59[0x3]=_0x117d59[0x3]+_0x332c70|0x0;},'_doFinalize':function(){const _0x5af428=_0x3361a6;var _0x144f07=this['_data'],_0x96641a=_0x144f07[_0x5af428(0x1c5)],_0x330086=this[_0x5af428(0x41b)]*0x8,_0x3f5cce=_0x144f07[_0x5af428(0x11f)]*0x8;_0x96641a[_0x3f5cce>>>0x5]|=0x80<<0x18-_0x3f5cce%0x20;var _0x661742=_0x4b6181[_0x5af428(0x21e)](_0x330086/0x100000000),_0x46a28=_0x330086;_0x96641a[(_0x3f5cce+0x40>>>0x9<<0x4)+0xf]=(_0x661742<<0x8|_0x661742>>>0x18)&0xff00ff|(_0x661742<<0x18|_0x661742>>>0x8)&0xff00ff00,_0x96641a[(_0x3f5cce+0x40>>>0x9<<0x4)+0xe]=(_0x46a28<<0x8|_0x46a28>>>0x18)&0xff00ff|(_0x46a28<<0x18|_0x46a28>>>0x8)&0xff00ff00,_0x144f07[_0x5af428(0x11f)]=(_0x96641a[_0x5af428(0x2c8)]+0x1)*0x4,this['_process']();for(var _0x561dae=this[_0x5af428(0x51e)],_0x2578c4=_0x561dae[_0x5af428(0x1c5)],_0x9a94e9=0x0;_0x9a94e9<0x4;_0x9a94e9++){var _0x40a375=_0x2578c4[_0x9a94e9];_0x2578c4[_0x9a94e9]=(_0x40a375<<0x8|_0x40a375>>>0x18)&0xff00ff|(_0x40a375<<0x18|_0x40a375>>>0x8)&0xff00ff00;}return _0x561dae;},'clone':function(){const _0x1e58d4=_0x3361a6;var _0x5f14b0=_0x2e918b[_0x1e58d4(0x506)][_0x1e58d4(0x500)](this);return _0x5f14b0[_0x1e58d4(0x51e)]=this[_0x1e58d4(0x51e)][_0x1e58d4(0x506)](),_0x5f14b0;}});function _0x803f12(_0x561335,_0x40720f,_0x314e06,_0x23cf39,_0x48cf3c,_0x44abf7,_0x5c2f6a){var _0x51d30c=_0x561335+(_0x40720f&_0x314e06|~_0x40720f&_0x23cf39)+_0x48cf3c+_0x5c2f6a;return(_0x51d30c<<_0x44abf7|_0x51d30c>>>0x20-_0x44abf7)+_0x40720f;}function _0x22bfae(_0x3d486e,_0x3af70d,_0x398e48,_0xfa55ad,_0x1944e6,_0x3d7889,_0x3fde04){var _0xc7dbf7=_0x3d486e+(_0x3af70d&_0xfa55ad|_0x398e48&~_0xfa55ad)+_0x1944e6+_0x3fde04;return(_0xc7dbf7<<_0x3d7889|_0xc7dbf7>>>0x20-_0x3d7889)+_0x3af70d;}function _0x4c655e(_0x5b299a,_0x3c3c94,_0x55511e,_0x2bd859,_0x3d1bd5,_0x206715,_0x5158a0){var _0x371f4a=_0x5b299a+(_0x3c3c94^_0x55511e^_0x2bd859)+_0x3d1bd5+_0x5158a0;return(_0x371f4a<<_0x206715|_0x371f4a>>>0x20-_0x206715)+_0x3c3c94;}function _0x57368b(_0x230cb5,_0x1c8064,_0x179ecb,_0x2f3ff3,_0x58afd9,_0x17f237,_0xeb02f8){var _0x8628bd=_0x230cb5+(_0x179ecb^(_0x1c8064|~_0x2f3ff3))+_0x58afd9+_0xeb02f8;return(_0x8628bd<<_0x17f237|_0x8628bd>>>0x20-_0x17f237)+_0x1c8064;}_0x5dcc0a[_0x3361a6(0x47a)]=_0x2e918b[_0x3361a6(0x2b5)](_0x1884de),_0x5dcc0a[_0x3361a6(0x454)]=_0x2e918b[_0x3361a6(0x1fc)](_0x1884de);}(Math),_0x48e8d0[_0x2b60f(0x47a)];}));}(pt)),pt['exports'];}var mt={'exports':{}},gt={'exports':{}},oc=gt[_0x5e3172(0x4b3)],ui;function ac(){const _0x2c6c37=_0x5e3172;return ui||(ui=0x1,function(_0x5acff6,_0x240a8b){(function(_0x392112,_0x14a5e6){_0x5acff6['exports']=_0x14a5e6(_e());}(oc,function(_0x18eaf7){const _0x1326cf=_0x1eb2;return(function(){const _0x594af3=_0x1eb2;var _0x45c2bb=_0x18eaf7,_0x4946e3=_0x45c2bb[_0x594af3(0x1e5)],_0x16ec50=_0x4946e3['WordArray'],_0x23f2ca=_0x4946e3[_0x594af3(0x176)],_0x49f0a5=_0x45c2bb[_0x594af3(0x528)],_0x209c6d=[],_0x5ccb92=_0x49f0a5[_0x594af3(0x220)]=_0x23f2ca['extend']({'_doReset':function(){const _0x5889b0=_0x594af3;this['_hash']=new _0x16ec50[(_0x5889b0(0x433))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2d7a9f,_0x448cdc){const _0x512a71=_0x594af3;for(var _0x58bd7d=this['_hash'][_0x512a71(0x1c5)],_0x16620a=_0x58bd7d[0x0],_0xec0ae4=_0x58bd7d[0x1],_0xf5202d=_0x58bd7d[0x2],_0x3246a8=_0x58bd7d[0x3],_0x2e3c0b=_0x58bd7d[0x4],_0x51bfba=0x0;_0x51bfba<0x50;_0x51bfba++){if(_0x51bfba<0x10)_0x209c6d[_0x51bfba]=_0x2d7a9f[_0x448cdc+_0x51bfba]|0x0;else{var _0x5a87ec=_0x209c6d[_0x51bfba-0x3]^_0x209c6d[_0x51bfba-0x8]^_0x209c6d[_0x51bfba-0xe]^_0x209c6d[_0x51bfba-0x10];_0x209c6d[_0x51bfba]=_0x5a87ec<<0x1|_0x5a87ec>>>0x1f;}var _0x3d4564=(_0x16620a<<0x5|_0x16620a>>>0x1b)+_0x2e3c0b+_0x209c6d[_0x51bfba];_0x51bfba<0x14?_0x3d4564+=(_0xec0ae4&_0xf5202d|~_0xec0ae4&_0x3246a8)+0x5a827999:_0x51bfba<0x28?_0x3d4564+=(_0xec0ae4^_0xf5202d^_0x3246a8)+0x6ed9eba1:_0x51bfba<0x3c?_0x3d4564+=(_0xec0ae4&_0xf5202d|_0xec0ae4&_0x3246a8|_0xf5202d&_0x3246a8)-0x70e44324:_0x3d4564+=(_0xec0ae4^_0xf5202d^_0x3246a8)-0x359d3e2a,_0x2e3c0b=_0x3246a8,_0x3246a8=_0xf5202d,_0xf5202d=_0xec0ae4<<0x1e|_0xec0ae4>>>0x2,_0xec0ae4=_0x16620a,_0x16620a=_0x3d4564;}_0x58bd7d[0x0]=_0x58bd7d[0x0]+_0x16620a|0x0,_0x58bd7d[0x1]=_0x58bd7d[0x1]+_0xec0ae4|0x0,_0x58bd7d[0x2]=_0x58bd7d[0x2]+_0xf5202d|0x0,_0x58bd7d[0x3]=_0x58bd7d[0x3]+_0x3246a8|0x0,_0x58bd7d[0x4]=_0x58bd7d[0x4]+_0x2e3c0b|0x0;},'_doFinalize':function(){const _0x5ed0ba=_0x594af3;var _0x2da31d=this[_0x5ed0ba(0x34e)],_0x29c930=_0x2da31d[_0x5ed0ba(0x1c5)],_0x329a77=this[_0x5ed0ba(0x41b)]*0x8,_0x39f5f7=_0x2da31d['sigBytes']*0x8;return _0x29c930[_0x39f5f7>>>0x5]|=0x80<<0x18-_0x39f5f7%0x20,_0x29c930[(_0x39f5f7+0x40>>>0x9<<0x4)+0xe]=Math[_0x5ed0ba(0x21e)](_0x329a77/0x100000000),_0x29c930[(_0x39f5f7+0x40>>>0x9<<0x4)+0xf]=_0x329a77,_0x2da31d[_0x5ed0ba(0x11f)]=_0x29c930[_0x5ed0ba(0x2c8)]*0x4,this['_process'](),this[_0x5ed0ba(0x51e)];},'clone':function(){const _0x175c5f=_0x594af3;var _0x2c7e53=_0x23f2ca['clone']['call'](this);return _0x2c7e53[_0x175c5f(0x51e)]=this[_0x175c5f(0x51e)][_0x175c5f(0x506)](),_0x2c7e53;}});_0x45c2bb[_0x594af3(0x220)]=_0x23f2ca['_createHelper'](_0x5ccb92),_0x45c2bb['HmacSHA1']=_0x23f2ca['_createHmacHelper'](_0x5ccb92);}()),_0x18eaf7[_0x1326cf(0x220)];}));}(gt)),gt[_0x2c6c37(0x4b3)];}var St={'exports':{}},cc=St[_0x5e3172(0x4b3)],di;function hc(){const _0x3dcf3e=_0x5e3172;return di||(di=0x1,function(_0x110b5f,_0x5cc869){(function(_0x1c1bb6,_0x21cc11){const _0x3d7ac9=_0x1eb2;_0x110b5f[_0x3d7ac9(0x4b3)]=_0x21cc11(_e());}(cc,function(_0x2707c9){(function(){const _0x2245a1=_0x1eb2;var _0x4ce1da=_0x2707c9,_0x43c708=_0x4ce1da[_0x2245a1(0x1e5)],_0xaf8b90=_0x43c708[_0x2245a1(0x368)],_0xca2bea=_0x4ce1da[_0x2245a1(0x302)],_0x19a832=_0xca2bea['Utf8'],_0x698644=_0x4ce1da['algo'];_0x698644[_0x2245a1(0x360)]=_0xaf8b90[_0x2245a1(0x2c1)]({'init':function(_0x4c8d28,_0x41cd7f){const _0x5f2ddb=_0x2245a1;_0x4c8d28=this['_hasher']=new _0x4c8d28['init'](),typeof _0x41cd7f==_0x5f2ddb(0x429)&&(_0x41cd7f=_0x19a832[_0x5f2ddb(0x32f)](_0x41cd7f));var _0x45041a=_0x4c8d28[_0x5f2ddb(0x2b0)],_0x197501=_0x45041a*0x4;_0x41cd7f[_0x5f2ddb(0x11f)]>_0x197501&&(_0x41cd7f=_0x4c8d28[_0x5f2ddb(0x244)](_0x41cd7f)),_0x41cd7f[_0x5f2ddb(0x4bb)]();for(var _0x43ebb0=this[_0x5f2ddb(0x2d7)]=_0x41cd7f['clone'](),_0x14e62a=this['_iKey']=_0x41cd7f['clone'](),_0x5bb0c7=_0x43ebb0[_0x5f2ddb(0x1c5)],_0x1ab290=_0x14e62a['words'],_0xdca9ee=0x0;_0xdca9ee<_0x45041a;_0xdca9ee++)_0x5bb0c7[_0xdca9ee]^=0x5c5c5c5c,_0x1ab290[_0xdca9ee]^=0x36363636;_0x43ebb0[_0x5f2ddb(0x11f)]=_0x14e62a['sigBytes']=_0x197501,this[_0x5f2ddb(0x3df)]();},'reset':function(){const _0x410662=_0x2245a1;var _0x299498=this[_0x410662(0x329)];_0x299498[_0x410662(0x3df)](),_0x299498[_0x410662(0x4d6)](this[_0x410662(0x221)]);},'update':function(_0x3ee8e9){const _0x5ec8fd=_0x2245a1;return this['_hasher'][_0x5ec8fd(0x4d6)](_0x3ee8e9),this;},'finalize':function(_0x299a8c){const _0x38ab7d=_0x2245a1;var _0x535525=this[_0x38ab7d(0x329)],_0x27b256=_0x535525[_0x38ab7d(0x244)](_0x299a8c);_0x535525[_0x38ab7d(0x3df)]();var _0x331110=_0x535525['finalize'](this[_0x38ab7d(0x2d7)][_0x38ab7d(0x506)]()[_0x38ab7d(0x4b9)](_0x27b256));return _0x331110;}});}());}));}(St)),St[_0x3dcf3e(0x4b3)];}var lc=mt['exports'],fi;function nr(){return fi||(fi=0x1,function(_0x4ec378,_0x147063){(function(_0x4d87f8,_0x5cc808,_0xa34a5d){const _0x144453=_0x1eb2;_0x4ec378[_0x144453(0x4b3)]=_0x5cc808(_e(),ac(),hc());}(lc,function(_0x42c396){const _0x511ce6=_0x1eb2;return(function(){const _0x50b50b=_0x1eb2;var _0x69942b=_0x42c396,_0x14b2c5=_0x69942b['lib'],_0x6ee7f4=_0x14b2c5[_0x50b50b(0x368)],_0x5a3d01=_0x14b2c5[_0x50b50b(0x24d)],_0x1d105b=_0x69942b[_0x50b50b(0x528)],_0x1d2329=_0x1d105b['MD5'],_0x43c33b=_0x1d105b[_0x50b50b(0x33d)]=_0x6ee7f4['extend']({'cfg':_0x6ee7f4[_0x50b50b(0x2c1)]({'keySize':0x80/0x20,'hasher':_0x1d2329,'iterations':0x1}),'init':function(_0xc49337){const _0x27370c=_0x50b50b;this['cfg']=this[_0x27370c(0x471)]['extend'](_0xc49337);},'compute':function(_0x1036f4,_0x308be8){const _0x3fa78f=_0x50b50b;for(var _0x5246f3,_0x22b1a8=this[_0x3fa78f(0x471)],_0x3f3848=_0x22b1a8[_0x3fa78f(0x1a6)]['create'](),_0x40784d=_0x5a3d01['create'](),_0x37dbc7=_0x40784d[_0x3fa78f(0x1c5)],_0x38cfdf=_0x22b1a8['keySize'],_0x545902=_0x22b1a8[_0x3fa78f(0x51a)];_0x37dbc7[_0x3fa78f(0x2c8)]<_0x38cfdf;){_0x5246f3&&_0x3f3848['update'](_0x5246f3),_0x5246f3=_0x3f3848['update'](_0x1036f4)[_0x3fa78f(0x244)](_0x308be8),_0x3f3848[_0x3fa78f(0x3df)]();for(var _0x4b12d2=0x1;_0x4b12d2<_0x545902;_0x4b12d2++)_0x5246f3=_0x3f3848[_0x3fa78f(0x244)](_0x5246f3),_0x3f3848['reset']();_0x40784d[_0x3fa78f(0x4b9)](_0x5246f3);}return _0x40784d['sigBytes']=_0x38cfdf*0x4,_0x40784d;}});_0x69942b[_0x50b50b(0x33d)]=function(_0x412b8b,_0x5e4d67,_0x5061a0){const _0x17993b=_0x50b50b;return _0x43c33b[_0x17993b(0x2df)](_0x5061a0)[_0x17993b(0x48c)](_0x412b8b,_0x5e4d67);};}()),_0x42c396[_0x511ce6(0x33d)];}));}(mt)),mt['exports'];}var It={'exports':{}},_c=It[_0x5e3172(0x4b3)],vi;function or(){return vi||(vi=0x1,function(_0x1f053b,_0x5e4477){(function(_0x34f154,_0x17fd4e,_0x456633){const _0x51eaa2=_0x1eb2;_0x1f053b[_0x51eaa2(0x4b3)]=_0x17fd4e(_e(),nr());}(_c,function(_0xbdb76d){const _0x34d4ec=_0x1eb2;_0xbdb76d[_0x34d4ec(0x1e5)]['Cipher']||function(_0x4bb1fa){const _0x3dc2af=_0x34d4ec;var _0xf768da=_0xbdb76d,_0x4d3f8e=_0xf768da['lib'],_0x35ec30=_0x4d3f8e[_0x3dc2af(0x368)],_0x13219c=_0x4d3f8e['WordArray'],_0x5a9b93=_0x4d3f8e['BufferedBlockAlgorithm'],_0xf737b=_0xf768da[_0x3dc2af(0x302)];_0xf737b[_0x3dc2af(0x188)];var _0x4ffc0f=_0xf737b['Base64'],_0xbc269=_0xf768da[_0x3dc2af(0x528)],_0x140c22=_0xbc269['EvpKDF'],_0x1a4433=_0x4d3f8e[_0x3dc2af(0x2c3)]=_0x5a9b93[_0x3dc2af(0x2c1)]({'cfg':_0x35ec30[_0x3dc2af(0x2c1)](),'createEncryptor':function(_0xd7a186,_0x1e6b2f){const _0xbd8dee=_0x3dc2af;return this[_0xbd8dee(0x2df)](this[_0xbd8dee(0x1f5)],_0xd7a186,_0x1e6b2f);},'createDecryptor':function(_0x21ac3d,_0x452a29){const _0x2a96c7=_0x3dc2af;return this['create'](this[_0x2a96c7(0x3be)],_0x21ac3d,_0x452a29);},'init':function(_0x3ee1e5,_0x4b0e2c,_0x2ad9ae){const _0x3772ea=_0x3dc2af;this['cfg']=this[_0x3772ea(0x471)][_0x3772ea(0x2c1)](_0x2ad9ae),this[_0x3772ea(0x2c4)]=_0x3ee1e5,this[_0x3772ea(0x114)]=_0x4b0e2c,this[_0x3772ea(0x3df)]();},'reset':function(){const _0x3e821e=_0x3dc2af;_0x5a9b93[_0x3e821e(0x3df)][_0x3e821e(0x500)](this),this[_0x3e821e(0x255)]();},'process':function(_0x33ed1f){const _0x5a8a31=_0x3dc2af;return this[_0x5a8a31(0x245)](_0x33ed1f),this['_process']();},'finalize':function(_0x5468b1){_0x5468b1&&this['_append'](_0x5468b1);var _0x4b11db=this['_doFinalize']();return _0x4b11db;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x282e10(_0x2425c5){const _0x3da68d=_0x1eb2;return typeof _0x2425c5==_0x3da68d(0x429)?_0x575d09:_0x43e921;}return function(_0x5d7a0c){return{'encrypt':function(_0x154dfa,_0x3f7968,_0x193aac){const _0x528c7d=_0x1eb2;return _0x282e10(_0x3f7968)[_0x528c7d(0x447)](_0x5d7a0c,_0x154dfa,_0x3f7968,_0x193aac);},'decrypt':function(_0x4b556a,_0x3d5e0c,_0xe4fe8e){return _0x282e10(_0x3d5e0c)['decrypt'](_0x5d7a0c,_0x4b556a,_0x3d5e0c,_0xe4fe8e);}};};}())});_0x4d3f8e['StreamCipher']=_0x1a4433[_0x3dc2af(0x2c1)]({'_doFinalize':function(){const _0x2e3eeb=_0x3dc2af;var _0x1bf95c=this[_0x2e3eeb(0x370)](!0x0);return _0x1bf95c;},'blockSize':0x1});var _0x7173e7=_0xf768da[_0x3dc2af(0x2bb)]={},_0x1a3241=_0x4d3f8e[_0x3dc2af(0x336)]=_0x35ec30[_0x3dc2af(0x2c1)]({'createEncryptor':function(_0x73771f,_0x49c4ab){const _0x41b0b1=_0x3dc2af;return this[_0x41b0b1(0x2ea)][_0x41b0b1(0x2df)](_0x73771f,_0x49c4ab);},'createDecryptor':function(_0x365e77,_0x6989a2){const _0x3b86e4=_0x3dc2af;return this[_0x3b86e4(0x1e1)][_0x3b86e4(0x2df)](_0x365e77,_0x6989a2);},'init':function(_0x3474b3,_0xa154e3){const _0x1f1702=_0x3dc2af;this[_0x1f1702(0x493)]=_0x3474b3,this[_0x1f1702(0x35a)]=_0xa154e3;}}),_0x19e5cb=_0x7173e7[_0x3dc2af(0x37c)]=(function(){const _0x3b0edc=_0x3dc2af;var _0x40a3c2=_0x1a3241[_0x3b0edc(0x2c1)]();_0x40a3c2[_0x3b0edc(0x2ea)]=_0x40a3c2[_0x3b0edc(0x2c1)]({'processBlock':function(_0x4ae166,_0x5a14bb){const _0x56b39e=_0x3b0edc;var _0x275baa=this[_0x56b39e(0x493)],_0x35ba83=_0x275baa[_0x56b39e(0x2b0)];_0x438640[_0x56b39e(0x500)](this,_0x4ae166,_0x5a14bb,_0x35ba83),_0x275baa[_0x56b39e(0x40d)](_0x4ae166,_0x5a14bb),this[_0x56b39e(0x3ea)]=_0x4ae166['slice'](_0x5a14bb,_0x5a14bb+_0x35ba83);}}),_0x40a3c2[_0x3b0edc(0x1e1)]=_0x40a3c2['extend']({'processBlock':function(_0x7637f1,_0x245e97){const _0x579a7e=_0x3b0edc;var _0x2a80d1=this[_0x579a7e(0x493)],_0x2ce515=_0x2a80d1[_0x579a7e(0x2b0)],_0x52ad94=_0x7637f1[_0x579a7e(0x469)](_0x245e97,_0x245e97+_0x2ce515);_0x2a80d1[_0x579a7e(0x2f2)](_0x7637f1,_0x245e97),_0x438640[_0x579a7e(0x500)](this,_0x7637f1,_0x245e97,_0x2ce515),this[_0x579a7e(0x3ea)]=_0x52ad94;}});function _0x438640(_0x5c47f8,_0x2403ed,_0xbbffc6){const _0x38c7ed=_0x3b0edc;var _0x376f12,_0x38f9e2=this[_0x38c7ed(0x35a)];_0x38f9e2?(_0x376f12=_0x38f9e2,this[_0x38c7ed(0x35a)]=_0x4bb1fa):_0x376f12=this[_0x38c7ed(0x3ea)];for(var _0x1cdd7e=0x0;_0x1cdd7e<_0xbbffc6;_0x1cdd7e++)_0x5c47f8[_0x2403ed+_0x1cdd7e]^=_0x376f12[_0x1cdd7e];}return _0x40a3c2;}()),_0x42547f=_0xf768da[_0x3dc2af(0x3bd)]={},_0x14d1cb=_0x42547f['Pkcs7']={'pad':function(_0x2835b4,_0x5c0625){const _0x341fed=_0x3dc2af;for(var _0x549e9e=_0x5c0625*0x4,_0x4f5d47=_0x549e9e-_0x2835b4['sigBytes']%_0x549e9e,_0x509e71=_0x4f5d47<<0x18|_0x4f5d47<<0x10|_0x4f5d47<<0x8|_0x4f5d47,_0x827eed=[],_0x9f7239=0x0;_0x9f7239<_0x4f5d47;_0x9f7239+=0x4)_0x827eed[_0x341fed(0x38e)](_0x509e71);var _0x2c1dce=_0x13219c[_0x341fed(0x2df)](_0x827eed,_0x4f5d47);_0x2835b4[_0x341fed(0x4b9)](_0x2c1dce);},'unpad':function(_0x4a6fd0){const _0x273647=_0x3dc2af;var _0xb5dcb8=_0x4a6fd0['words'][_0x4a6fd0[_0x273647(0x11f)]-0x1>>>0x2]&0xff;_0x4a6fd0[_0x273647(0x11f)]-=_0xb5dcb8;}};_0x4d3f8e[_0x3dc2af(0x391)]=_0x1a4433['extend']({'cfg':_0x1a4433['cfg'][_0x3dc2af(0x2c1)]({'mode':_0x19e5cb,'padding':_0x14d1cb}),'reset':function(){const _0x48ef11=_0x3dc2af;var _0x14f349;_0x1a4433[_0x48ef11(0x3df)][_0x48ef11(0x500)](this);var _0x585d23=this[_0x48ef11(0x471)],_0x316749=_0x585d23['iv'],_0x437b99=_0x585d23['mode'];this[_0x48ef11(0x2c4)]==this[_0x48ef11(0x1f5)]?_0x14f349=_0x437b99[_0x48ef11(0x3bb)]:(_0x14f349=_0x437b99['createDecryptor'],this[_0x48ef11(0x1a9)]=0x1),this[_0x48ef11(0x259)]&&this[_0x48ef11(0x259)][_0x48ef11(0x14a)]==_0x14f349?this['_mode'][_0x48ef11(0x433)](this,_0x316749&&_0x316749[_0x48ef11(0x1c5)]):(this[_0x48ef11(0x259)]=_0x14f349['call'](_0x437b99,this,_0x316749&&_0x316749[_0x48ef11(0x1c5)]),this[_0x48ef11(0x259)]['__creator']=_0x14f349);},'_doProcessBlock':function(_0x18b8cb,_0x133882){const _0x99a7ac=_0x3dc2af;this[_0x99a7ac(0x259)][_0x99a7ac(0x268)](_0x18b8cb,_0x133882);},'_doFinalize':function(){const _0x9fde58=_0x3dc2af;var _0x2ebede,_0x55e5eb=this[_0x9fde58(0x471)][_0x9fde58(0x21f)];return this['_xformMode']==this[_0x9fde58(0x1f5)]?(_0x55e5eb[_0x9fde58(0x3bd)](this[_0x9fde58(0x34e)],this['blockSize']),_0x2ebede=this['_process'](!0x0)):(_0x2ebede=this[_0x9fde58(0x370)](!0x0),_0x55e5eb[_0x9fde58(0x397)](_0x2ebede)),_0x2ebede;},'blockSize':0x80/0x20});var _0x989f28=_0x4d3f8e[_0x3dc2af(0x2d0)]=_0x35ec30[_0x3dc2af(0x2c1)]({'init':function(_0x458e4c){this['mixIn'](_0x458e4c);},'toString':function(_0x1736e5){const _0x3f3ec5=_0x3dc2af;return(_0x1736e5||this[_0x3f3ec5(0x2b7)])[_0x3f3ec5(0x50f)](this);}}),_0x40b3df=_0xf768da['format']={},_0x1a24cf=_0x40b3df[_0x3dc2af(0x2d1)]={'stringify':function(_0x3c5b71){const _0x33faf7=_0x3dc2af;var _0x562de0,_0x12e59b=_0x3c5b71[_0x33faf7(0x3a5)],_0x3dd8f8=_0x3c5b71['salt'];return _0x3dd8f8?_0x562de0=_0x13219c[_0x33faf7(0x2df)]([0x53616c74,0x65645f5f])[_0x33faf7(0x4b9)](_0x3dd8f8)[_0x33faf7(0x4b9)](_0x12e59b):_0x562de0=_0x12e59b,_0x562de0['toString'](_0x4ffc0f);},'parse':function(_0x5bc4e5){const _0x5d6398=_0x3dc2af;var _0x46e895,_0x5b5339=_0x4ffc0f['parse'](_0x5bc4e5),_0x5de8c2=_0x5b5339[_0x5d6398(0x1c5)];return _0x5de8c2[0x0]==0x53616c74&&_0x5de8c2[0x1]==0x65645f5f&&(_0x46e895=_0x13219c['create'](_0x5de8c2['slice'](0x2,0x4)),_0x5de8c2[_0x5d6398(0x403)](0x0,0x4),_0x5b5339[_0x5d6398(0x11f)]-=0x10),_0x989f28['create']({'ciphertext':_0x5b5339,'salt':_0x46e895});}},_0x43e921=_0x4d3f8e[_0x3dc2af(0x271)]=_0x35ec30[_0x3dc2af(0x2c1)]({'cfg':_0x35ec30[_0x3dc2af(0x2c1)]({'format':_0x1a24cf}),'encrypt':function(_0x2124c4,_0x4e6826,_0x2956c0,_0x26a6d1){const _0x2d80f9=_0x3dc2af;_0x26a6d1=this[_0x2d80f9(0x471)][_0x2d80f9(0x2c1)](_0x26a6d1);var _0xe608a2=_0x2124c4[_0x2d80f9(0x3bb)](_0x2956c0,_0x26a6d1),_0x461d84=_0xe608a2[_0x2d80f9(0x244)](_0x4e6826),_0x69e205=_0xe608a2[_0x2d80f9(0x471)];return _0x989f28[_0x2d80f9(0x2df)]({'ciphertext':_0x461d84,'key':_0x2956c0,'iv':_0x69e205['iv'],'algorithm':_0x2124c4,'mode':_0x69e205[_0x2d80f9(0x2bb)],'padding':_0x69e205[_0x2d80f9(0x21f)],'blockSize':_0x2124c4[_0x2d80f9(0x2b0)],'formatter':_0x26a6d1[_0x2d80f9(0x462)]});},'decrypt':function(_0x5ecef1,_0x19b3bf,_0x2094bc,_0xe837c6){const _0x490d6f=_0x3dc2af;_0xe837c6=this[_0x490d6f(0x471)][_0x490d6f(0x2c1)](_0xe837c6),_0x19b3bf=this[_0x490d6f(0x285)](_0x19b3bf,_0xe837c6[_0x490d6f(0x462)]);var _0x1947b5=_0x5ecef1[_0x490d6f(0x32c)](_0x2094bc,_0xe837c6)[_0x490d6f(0x244)](_0x19b3bf[_0x490d6f(0x3a5)]);return _0x1947b5;},'_parse':function(_0x204229,_0x4fc00d){const _0x3e09b5=_0x3dc2af;return typeof _0x204229==_0x3e09b5(0x429)?_0x4fc00d['parse'](_0x204229,this):_0x204229;}}),_0x1e3083=_0xf768da['kdf']={},_0x356732=_0x1e3083[_0x3dc2af(0x2d1)]={'execute':function(_0x123ed5,_0x2d8c6b,_0x53c612,_0x4d315d,_0x5e6922){const _0x1502f5=_0x3dc2af;if(_0x4d315d||(_0x4d315d=_0x13219c['random'](0x40/0x8)),_0x5e6922)var _0x4f1d4e=_0x140c22[_0x1502f5(0x2df)]({'keySize':_0x2d8c6b+_0x53c612,'hasher':_0x5e6922})['compute'](_0x123ed5,_0x4d315d);else var _0x4f1d4e=_0x140c22[_0x1502f5(0x2df)]({'keySize':_0x2d8c6b+_0x53c612})[_0x1502f5(0x48c)](_0x123ed5,_0x4d315d);var _0x1ccfce=_0x13219c[_0x1502f5(0x2df)](_0x4f1d4e[_0x1502f5(0x1c5)]['slice'](_0x2d8c6b),_0x53c612*0x4);return _0x4f1d4e[_0x1502f5(0x11f)]=_0x2d8c6b*0x4,_0x989f28['create']({'key':_0x4f1d4e,'iv':_0x1ccfce,'salt':_0x4d315d});}},_0x575d09=_0x4d3f8e['PasswordBasedCipher']=_0x43e921[_0x3dc2af(0x2c1)]({'cfg':_0x43e921[_0x3dc2af(0x471)]['extend']({'kdf':_0x356732}),'encrypt':function(_0x241498,_0x121aa4,_0x2987cd,_0x10f41e){const _0x2c63ba=_0x3dc2af;_0x10f41e=this[_0x2c63ba(0x471)][_0x2c63ba(0x2c1)](_0x10f41e);var _0x4257cd=_0x10f41e[_0x2c63ba(0x499)][_0x2c63ba(0x223)](_0x2987cd,_0x241498[_0x2c63ba(0x3b1)],_0x241498[_0x2c63ba(0x526)],_0x10f41e['salt'],_0x10f41e[_0x2c63ba(0x1a6)]);_0x10f41e['iv']=_0x4257cd['iv'];var _0x358340=_0x43e921[_0x2c63ba(0x447)][_0x2c63ba(0x500)](this,_0x241498,_0x121aa4,_0x4257cd[_0x2c63ba(0x36a)],_0x10f41e);return _0x358340[_0x2c63ba(0x24e)](_0x4257cd),_0x358340;},'decrypt':function(_0x36532f,_0x4502d7,_0x549b88,_0x45bafc){const _0x3a4393=_0x3dc2af;_0x45bafc=this['cfg'][_0x3a4393(0x2c1)](_0x45bafc),_0x4502d7=this['_parse'](_0x4502d7,_0x45bafc[_0x3a4393(0x462)]);var _0x2564b5=_0x45bafc[_0x3a4393(0x499)][_0x3a4393(0x223)](_0x549b88,_0x36532f[_0x3a4393(0x3b1)],_0x36532f['ivSize'],_0x4502d7[_0x3a4393(0x113)],_0x45bafc['hasher']);_0x45bafc['iv']=_0x2564b5['iv'];var _0x436986=_0x43e921[_0x3a4393(0x524)][_0x3a4393(0x500)](this,_0x36532f,_0x4502d7,_0x2564b5[_0x3a4393(0x36a)],_0x45bafc);return _0x436986;}});}();}));}(It)),It['exports'];}var uc=dt['exports'],pi;function dc(){const _0x11a7c0=_0x5e3172;return pi||(pi=0x1,function(_0x3c3ef4,_0x3d477b){(function(_0x43e2e6,_0x40b6d5,_0x54a00d){_0x3c3ef4['exports']=_0x40b6d5(_e(),rr(),nc(),nr(),or());}(uc,function(_0x4840ed){const _0x1e2c34=_0x1eb2;return(function(){const _0x3a808a=_0x1eb2;var _0x486d4b=_0x4840ed,_0x352192=_0x486d4b['lib'],_0x9f9660=_0x352192[_0x3a808a(0x391)],_0x5cf04b=_0x486d4b[_0x3a808a(0x528)],_0x52cea7=[],_0x148584=[],_0x16f265=[],_0x534156=[],_0x34df70=[],_0x42da92=[],_0x1f93cc=[],_0x20a490=[],_0x2815df=[],_0x56a7c2=[];(function(){for(var _0x386661=[],_0x2a2696=0x0;_0x2a2696<0x100;_0x2a2696++)_0x2a2696<0x80?_0x386661[_0x2a2696]=_0x2a2696<<0x1:_0x386661[_0x2a2696]=_0x2a2696<<0x1^0x11b;for(var _0x27b2a6=0x0,_0x241395=0x0,_0x2a2696=0x0;_0x2a2696<0x100;_0x2a2696++){var _0x212ab4=_0x241395^_0x241395<<0x1^_0x241395<<0x2^_0x241395<<0x3^_0x241395<<0x4;_0x212ab4=_0x212ab4>>>0x8^_0x212ab4&0xff^0x63,_0x52cea7[_0x27b2a6]=_0x212ab4,_0x148584[_0x212ab4]=_0x27b2a6;var _0x5af5a5=_0x386661[_0x27b2a6],_0x4a8c99=_0x386661[_0x5af5a5],_0x5d3820=_0x386661[_0x4a8c99],_0x451173=_0x386661[_0x212ab4]*0x101^_0x212ab4*0x1010100;_0x16f265[_0x27b2a6]=_0x451173<<0x18|_0x451173>>>0x8,_0x534156[_0x27b2a6]=_0x451173<<0x10|_0x451173>>>0x10,_0x34df70[_0x27b2a6]=_0x451173<<0x8|_0x451173>>>0x18,_0x42da92[_0x27b2a6]=_0x451173;var _0x451173=_0x5d3820*0x1010101^_0x4a8c99*0x10001^_0x5af5a5*0x101^_0x27b2a6*0x1010100;_0x1f93cc[_0x212ab4]=_0x451173<<0x18|_0x451173>>>0x8,_0x20a490[_0x212ab4]=_0x451173<<0x10|_0x451173>>>0x10,_0x2815df[_0x212ab4]=_0x451173<<0x8|_0x451173>>>0x18,_0x56a7c2[_0x212ab4]=_0x451173,_0x27b2a6?(_0x27b2a6=_0x5af5a5^_0x386661[_0x386661[_0x386661[_0x5d3820^_0x5af5a5]]],_0x241395^=_0x386661[_0x386661[_0x241395]]):_0x27b2a6=_0x241395=0x1;}}());var _0x500ea9=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x37048f=_0x5cf04b[_0x3a808a(0x3a7)]=_0x9f9660[_0x3a808a(0x2c1)]({'_doReset':function(){const _0x4cdd7c=_0x3a808a;var _0x2bc76c;if(!(this[_0x4cdd7c(0x122)]&&this[_0x4cdd7c(0x51b)]===this[_0x4cdd7c(0x114)])){for(var _0x44640a=this[_0x4cdd7c(0x51b)]=this[_0x4cdd7c(0x114)],_0x1e8f4b=_0x44640a[_0x4cdd7c(0x1c5)],_0x3ec0e5=_0x44640a['sigBytes']/0x4,_0x4cf6ba=this['_nRounds']=_0x3ec0e5+0x6,_0x319a73=(_0x4cf6ba+0x1)*0x4,_0x179e0b=this['_keySchedule']=[],_0x1c6c8f=0x0;_0x1c6c8f<_0x319a73;_0x1c6c8f++)_0x1c6c8f<_0x3ec0e5?_0x179e0b[_0x1c6c8f]=_0x1e8f4b[_0x1c6c8f]:(_0x2bc76c=_0x179e0b[_0x1c6c8f-0x1],_0x1c6c8f%_0x3ec0e5?_0x3ec0e5>0x6&&_0x1c6c8f%_0x3ec0e5==0x4&&(_0x2bc76c=_0x52cea7[_0x2bc76c>>>0x18]<<0x18|_0x52cea7[_0x2bc76c>>>0x10&0xff]<<0x10|_0x52cea7[_0x2bc76c>>>0x8&0xff]<<0x8|_0x52cea7[_0x2bc76c&0xff]):(_0x2bc76c=_0x2bc76c<<0x8|_0x2bc76c>>>0x18,_0x2bc76c=_0x52cea7[_0x2bc76c>>>0x18]<<0x18|_0x52cea7[_0x2bc76c>>>0x10&0xff]<<0x10|_0x52cea7[_0x2bc76c>>>0x8&0xff]<<0x8|_0x52cea7[_0x2bc76c&0xff],_0x2bc76c^=_0x500ea9[_0x1c6c8f/_0x3ec0e5|0x0]<<0x18),_0x179e0b[_0x1c6c8f]=_0x179e0b[_0x1c6c8f-_0x3ec0e5]^_0x2bc76c);for(var _0x4bbfa6=this[_0x4cdd7c(0x205)]=[],_0x29474b=0x0;_0x29474b<_0x319a73;_0x29474b++){var _0x1c6c8f=_0x319a73-_0x29474b;if(_0x29474b%0x4)var _0x2bc76c=_0x179e0b[_0x1c6c8f];else var _0x2bc76c=_0x179e0b[_0x1c6c8f-0x4];_0x29474b<0x4||_0x1c6c8f<=0x4?_0x4bbfa6[_0x29474b]=_0x2bc76c:_0x4bbfa6[_0x29474b]=_0x1f93cc[_0x52cea7[_0x2bc76c>>>0x18]]^_0x20a490[_0x52cea7[_0x2bc76c>>>0x10&0xff]]^_0x2815df[_0x52cea7[_0x2bc76c>>>0x8&0xff]]^_0x56a7c2[_0x52cea7[_0x2bc76c&0xff]];}}},'encryptBlock':function(_0x1066e1,_0x2237e9){const _0x3e0e2f=_0x3a808a;this[_0x3e0e2f(0x10e)](_0x1066e1,_0x2237e9,this[_0x3e0e2f(0x3b9)],_0x16f265,_0x534156,_0x34df70,_0x42da92,_0x52cea7);},'decryptBlock':function(_0x489225,_0x3eeafc){const _0x201d5e=_0x3a808a;var _0x4773d9=_0x489225[_0x3eeafc+0x1];_0x489225[_0x3eeafc+0x1]=_0x489225[_0x3eeafc+0x3],_0x489225[_0x3eeafc+0x3]=_0x4773d9,this[_0x201d5e(0x10e)](_0x489225,_0x3eeafc,this['_invKeySchedule'],_0x1f93cc,_0x20a490,_0x2815df,_0x56a7c2,_0x148584);var _0x4773d9=_0x489225[_0x3eeafc+0x1];_0x489225[_0x3eeafc+0x1]=_0x489225[_0x3eeafc+0x3],_0x489225[_0x3eeafc+0x3]=_0x4773d9;},'_doCryptBlock':function(_0x2bf1f9,_0xb0af47,_0x49087e,_0x442e9b,_0x32ff6b,_0x2c922a,_0x55bc19,_0x14d14b){const _0x340043=_0x3a808a;for(var _0x451f09=this[_0x340043(0x122)],_0x162366=_0x2bf1f9[_0xb0af47]^_0x49087e[0x0],_0x55cfd3=_0x2bf1f9[_0xb0af47+0x1]^_0x49087e[0x1],_0xd46af2=_0x2bf1f9[_0xb0af47+0x2]^_0x49087e[0x2],_0x359a61=_0x2bf1f9[_0xb0af47+0x3]^_0x49087e[0x3],_0x5a34b9=0x4,_0x566356=0x1;_0x566356<_0x451f09;_0x566356++){var _0x3a9f0a=_0x442e9b[_0x162366>>>0x18]^_0x32ff6b[_0x55cfd3>>>0x10&0xff]^_0x2c922a[_0xd46af2>>>0x8&0xff]^_0x55bc19[_0x359a61&0xff]^_0x49087e[_0x5a34b9++],_0x310930=_0x442e9b[_0x55cfd3>>>0x18]^_0x32ff6b[_0xd46af2>>>0x10&0xff]^_0x2c922a[_0x359a61>>>0x8&0xff]^_0x55bc19[_0x162366&0xff]^_0x49087e[_0x5a34b9++],_0x1e3db3=_0x442e9b[_0xd46af2>>>0x18]^_0x32ff6b[_0x359a61>>>0x10&0xff]^_0x2c922a[_0x162366>>>0x8&0xff]^_0x55bc19[_0x55cfd3&0xff]^_0x49087e[_0x5a34b9++],_0x1feb14=_0x442e9b[_0x359a61>>>0x18]^_0x32ff6b[_0x162366>>>0x10&0xff]^_0x2c922a[_0x55cfd3>>>0x8&0xff]^_0x55bc19[_0xd46af2&0xff]^_0x49087e[_0x5a34b9++];_0x162366=_0x3a9f0a,_0x55cfd3=_0x310930,_0xd46af2=_0x1e3db3,_0x359a61=_0x1feb14;}var _0x3a9f0a=(_0x14d14b[_0x162366>>>0x18]<<0x18|_0x14d14b[_0x55cfd3>>>0x10&0xff]<<0x10|_0x14d14b[_0xd46af2>>>0x8&0xff]<<0x8|_0x14d14b[_0x359a61&0xff])^_0x49087e[_0x5a34b9++],_0x310930=(_0x14d14b[_0x55cfd3>>>0x18]<<0x18|_0x14d14b[_0xd46af2>>>0x10&0xff]<<0x10|_0x14d14b[_0x359a61>>>0x8&0xff]<<0x8|_0x14d14b[_0x162366&0xff])^_0x49087e[_0x5a34b9++],_0x1e3db3=(_0x14d14b[_0xd46af2>>>0x18]<<0x18|_0x14d14b[_0x359a61>>>0x10&0xff]<<0x10|_0x14d14b[_0x162366>>>0x8&0xff]<<0x8|_0x14d14b[_0x55cfd3&0xff])^_0x49087e[_0x5a34b9++],_0x1feb14=(_0x14d14b[_0x359a61>>>0x18]<<0x18|_0x14d14b[_0x162366>>>0x10&0xff]<<0x10|_0x14d14b[_0x55cfd3>>>0x8&0xff]<<0x8|_0x14d14b[_0xd46af2&0xff])^_0x49087e[_0x5a34b9++];_0x2bf1f9[_0xb0af47]=_0x3a9f0a,_0x2bf1f9[_0xb0af47+0x1]=_0x310930,_0x2bf1f9[_0xb0af47+0x2]=_0x1e3db3,_0x2bf1f9[_0xb0af47+0x3]=_0x1feb14;},'keySize':0x100/0x20});_0x486d4b[_0x3a808a(0x3a7)]=_0x9f9660[_0x3a808a(0x2b5)](_0x37048f);}()),_0x4840ed[_0x1e2c34(0x3a7)];}));}(dt)),dt[_0x11a7c0(0x4b3)];}var fc=dc();const vc=ct(fc);var pc=rr();const mi=ct(pc);var Ct={'exports':{}},mc=Ct[_0x5e3172(0x4b3)],gi;function gc(){const _0x5509a0=_0x5e3172;return gi||(gi=0x1,function(_0x541ca3,_0x592c82){(function(_0x5e424a,_0x356bb0){const _0x424205=_0x1eb2;_0x541ca3[_0x424205(0x4b3)]=_0x356bb0(_e());}(mc,function(_0xd6ceb3){const _0x182340=_0x1eb2;return _0xd6ceb3[_0x182340(0x302)][_0x182340(0x188)];}));}(Ct)),Ct[_0x5509a0(0x4b3)];}var Sc=gc();const Ic=ct(Sc);var Et={'exports':{}},Cc=Et[_0x5e3172(0x4b3)],Si;function Ec(){const _0x29cc6c=_0x5e3172;return Si||(Si=0x1,function(_0x69c85f,_0x6f6e4d){(function(_0x348ddc,_0x1fab6a){const _0x5810e2=_0x1eb2;_0x69c85f[_0x5810e2(0x4b3)]=_0x1fab6a(_e());}(Cc,function(_0x37a954){const _0x286a11=_0x1eb2;return(function(){const _0x570a3c=_0x1eb2;if(typeof ArrayBuffer=='function'){var _0x5689c0=_0x37a954,_0x20f06e=_0x5689c0[_0x570a3c(0x1e5)],_0x3cf7db=_0x20f06e[_0x570a3c(0x24d)],_0x32c229=_0x3cf7db['init'],_0x3c59c6=_0x3cf7db[_0x570a3c(0x433)]=function(_0x36c059){const _0x4832a9=_0x570a3c;if(_0x36c059 instanceof ArrayBuffer&&(_0x36c059=new Uint8Array(_0x36c059)),(_0x36c059 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x36c059 instanceof Uint8ClampedArray||_0x36c059 instanceof Int16Array||_0x36c059 instanceof Uint16Array||_0x36c059 instanceof Int32Array||_0x36c059 instanceof Uint32Array||_0x36c059 instanceof Float32Array||_0x36c059 instanceof Float64Array)&&(_0x36c059=new Uint8Array(_0x36c059[_0x4832a9(0x172)],_0x36c059[_0x4832a9(0x361)],_0x36c059[_0x4832a9(0x376)])),_0x36c059 instanceof Uint8Array){for(var _0x461c47=_0x36c059[_0x4832a9(0x376)],_0x3910f5=[],_0x502926=0x0;_0x502926<_0x461c47;_0x502926++)_0x3910f5[_0x502926>>>0x2]|=_0x36c059[_0x502926]<<0x18-_0x502926%0x4*0x8;_0x32c229[_0x4832a9(0x500)](this,_0x3910f5,_0x461c47);}else _0x32c229[_0x4832a9(0x212)](this,arguments);};_0x3c59c6[_0x570a3c(0x4e8)]=_0x3cf7db;}}()),_0x37a954['lib'][_0x286a11(0x24d)];}));}(Et)),Et[_0x29cc6c(0x4b3)];}var bc=Ec();const Tc=ct(bc);var bt={'exports':{}},Rc=bt['exports'],Ii;function Oc(){const _0x55d426=_0x5e3172;return Ii||(Ii=0x1,function(_0x5dea5d,_0x2c5aa0){(function(_0x3b2d34,_0xfd3514,_0x4e21be){const _0x12a51f=_0x1eb2;_0x5dea5d[_0x12a51f(0x4b3)]=_0xfd3514(_e(),or());}(Rc,function(_0x4249bf){const _0x243e5f=_0x1eb2;return _0x4249bf['pad'][_0x243e5f(0x1b3)]={'pad':function(){},'unpad':function(){}},_0x4249bf[_0x243e5f(0x3bd)][_0x243e5f(0x1b3)];}));}(bt)),bt[_0x55d426(0x4b3)];}var yc=Oc();const wc=ct(yc);function Dc(_0x1a8645,_0x3d7997){const _0x138240=_0x5e3172,_0x150d9e=_0x3d7997-_0x1a8645[_0x138240(0x2c8)]%_0x3d7997,_0xa7300f=String[_0x138240(0x4d5)](_0x150d9e)[_0x138240(0x1cf)](_0x150d9e);return _0x1a8645+_0xa7300f;}function Pc(_0x23b4be,_0x7f78b3){const _0x1ef9c9=_0x5e3172,_0x3900b3=Tc[_0x1ef9c9(0x34c)](0x10),_0x15ae21=Dc(_0x23b4be,0x10),_0x5a3624=vc[_0x1ef9c9(0x447)](Ic[_0x1ef9c9(0x32f)](_0x15ae21),mi[_0x1ef9c9(0x32f)](_0x7f78b3),{'iv':_0x3900b3,'padding':wc});return _0x3900b3[_0x1ef9c9(0x4b9)](_0x5a3624[_0x1ef9c9(0x3a5)])[_0x1ef9c9(0x129)](mi);}function Nc(){const _0x3b9bae=_0x5e3172,_0x2e3deb=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x3b9bae(0x38a)];if(_0x2e3deb){const _0x2beb42={'time':Math[_0x3b9bae(0x21e)](Date[_0x3b9bae(0x256)]()/0x3e8),'domain':location[_0x3b9bae(0x512)]};return Pc(JSON[_0x3b9bae(0x50f)](_0x2beb42),_0x2e3deb);}}var Uc=Object['defineProperty'],Ac=Object[_0x5e3172(0x26f)],Mc=(_0x43098f,_0x1606d9,_0x293472,_0x675988)=>{const _0x794061=_0x5e3172;for(var _0x3342a4=_0x675988>0x1?void 0x0:_0x675988?Ac(_0x1606d9,_0x293472):_0x1606d9,_0x48d86f=_0x43098f[_0x794061(0x2c8)]-0x1,_0x9e642c;_0x48d86f>=0x0;_0x48d86f--)(_0x9e642c=_0x43098f[_0x48d86f])&&(_0x3342a4=(_0x675988?_0x9e642c(_0x1606d9,_0x293472,_0x3342a4):_0x9e642c(_0x3342a4))||_0x3342a4);return _0x675988&&_0x3342a4&&Uc(_0x1606d9,_0x293472,_0x3342a4),_0x3342a4;},xc=(_0x103dc3,_0x403750)=>(_0x3e8334,_0x428812)=>_0x403750(_0x3e8334,_0x428812,_0x103dc3);let $t=class{constructor(_0x35eedc){const _0x53fb08=_0x5e3172;this[_0x53fb08(0x535)]=_0x35eedc,this[_0x53fb08(0x2aa)]();}['_initRequestHeader'](){const _0xb0b679=_0x5e3172;this[_0xb0b679(0x535)][_0xb0b679(0x24c)]({'interceptor':(_0x1775fd,_0x1b7cc6)=>{const _0xbed144=_0xb0b679,_0x4de707=_0x1775fd[_0xbed144(0x260)],_0x55f1b7=Nc();return _0x55f1b7&&_0x4de707[_0xbed144(0x332)](_0xbed144(0x4ac),_0x55f1b7),_0x1b7cc6(_0x1775fd);}});}};$t=Mc([xc(0x0,_0x1259a7(_0x21ff0e))],$t);var Lc=Object[_0x5e3172(0x243)],$c=Object[_0x5e3172(0x26f)],Hc=(_0x91838,_0x5c7973,_0x4596f3,_0x6fa5b4)=>{const _0x251931=_0x5e3172;for(var _0x1cd978=_0x6fa5b4>0x1?void 0x0:_0x6fa5b4?$c(_0x5c7973,_0x4596f3):_0x5c7973,_0x536d7a=_0x91838[_0x251931(0x2c8)]-0x1,_0x19b9ce;_0x536d7a>=0x0;_0x536d7a--)(_0x19b9ce=_0x91838[_0x536d7a])&&(_0x1cd978=(_0x6fa5b4?_0x19b9ce(_0x5c7973,_0x4596f3,_0x1cd978):_0x19b9ce(_0x1cd978))||_0x1cd978);return _0x6fa5b4&&_0x1cd978&&Lc(_0x5c7973,_0x4596f3,_0x1cd978),_0x1cd978;},rs=(_0x577bf4,_0x48e82b)=>(_0x3c82b2,_0x18fe79)=>_0x48e82b(_0x3c82b2,_0x18fe79,_0x577bf4);const jc=['image/png',_0x5e3172(0x29e),_0x5e3172(0x4af),_0x5e3172(0x529),_0x5e3172(0x261)],Bc=0x5*0x400*0x400,kc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Wc=_0x5e3172(0x484),Fc='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Vc=_0x5e3172(0x298);let ms=class{constructor(_0x51361b,_0x13069e,_0x15c084){const _0x280f6f=_0x5e3172;g(this,_0x280f6f(0x1c6),0x0),g(this,'_change$',new _0x1b8780()),g(this,_0x280f6f(0x202),this[_0x280f6f(0x2d5)]),g(this,_0x280f6f(0x28b),new Map()),(this[_0x280f6f(0x535)]=_0x51361b,this[_0x280f6f(0x270)]=_0x13069e,this['_univerInstanceService']=_0x15c084);}[_0x5e3172(0x383)](_0x75be67){const _0x4e1a0b=_0x5e3172;this[_0x4e1a0b(0x1c6)]=_0x75be67,this['_change$'][_0x4e1a0b(0x23b)](_0x75be67);}[_0x5e3172(0x27e)](_0x542cc9,_0x28e51f){const _0x779e15=_0x5e3172;if(_0x28e51f===_0xa7900e[_0x779e15(0x51d)]){const _0x6a2376=new Image();return _0x6a2376[_0x779e15(0x130)]=_0x542cc9,_0x6a2376;}return this[_0x779e15(0x28b)][_0x779e15(0x307)](_0x542cc9);}['addImageSourceCache'](_0x345277,_0x435ec8,_0x1d0054){const _0x2deb25=_0x5e3172;_0x435ec8===_0xa7900e[_0x2deb25(0x51d)]||_0x1d0054==null||this[_0x2deb25(0x28b)][_0x2deb25(0x332)](_0x345277,_0x1d0054);}async[_0x5e3172(0x28f)](_0x5ce59a){const _0xe0f810=_0x5e3172;try{const _0xbfabd6=this[_0xe0f810(0x1c1)](this[_0xe0f810(0x34d)](),''+_0x5ce59a),_0x365f9c=(await this[_0xe0f810(0x535)][_0xe0f810(0x307)](_0xbfabd6))[_0xe0f810(0x2da)];if(_0x365f9c[_0xe0f810(0x295)]&&_0x365f9c[_0xe0f810(0x295)][_0xe0f810(0x1d0)]===Fi['OK']){const _0x416235=new URL(_0x365f9c[_0xe0f810(0x165)],this[_0xe0f810(0x3d9)]())['toString']();return Promise[_0xe0f810(0x3ba)](_0x416235);}return Promise[_0xe0f810(0x21c)](_0x365f9c[_0xe0f810(0x295)]);}catch(_0x4df722){return Promise[_0xe0f810(0x21c)](_0x4df722);}}async[_0x5e3172(0x341)](_0x329ad9){const _0x5eefc5=_0x5e3172;let _0x4ea60a='';if(!jc[_0x5eefc5(0x2bc)](_0x329ad9['type']))return this[_0x5eefc5(0x2f5)](),Promise[_0x5eefc5(0x21c)](new Error(_0x2f0162[_0x5eefc5(0x2b9)]));if(_0x329ad9['size']>Bc)return this[_0x5eefc5(0x2f5)](),Promise[_0x5eefc5(0x21c)](new Error(_0x2f0162[_0x5eefc5(0x1a1)]));try{const _0x27cc2d=new FormData();_0x27cc2d['append'](_0x5eefc5(0x2ad),_0x329ad9);const _0x2916ca=this[_0x5eefc5(0x153)][_0x5eefc5(0x27b)](),_0x37185b=_0x2916ca==null?void 0x0:_0x2916ca[_0x5eefc5(0x12f)]();if(!_0x37185b)throw new Error(_0x5eefc5(0x418));const _0xeeaaa4=this[_0x5eefc5(0x45b)]()+_0x5eefc5(0x1d9)+_0x329ad9[_0x5eefc5(0x3aa)][_0x5eefc5(0x129)]()+_0x5eefc5(0x1d1)+Vi[_0x5eefc5(0x16c)]+_0x5eefc5(0x4b1)+encodeURIComponent(_0x37185b),_0xa43bd9=await(await fetch(_0xeeaaa4,{'method':_0x5eefc5(0x292),'body':_0x27cc2d}))['json']();if(typeof _0xa43bd9['FileId']!=_0x5eefc5(0x429))return this['_decreaseWaiting'](),Promise[_0x5eefc5(0x21c)](new Error(_0x2f0162['ERROR_IMAGE']));_0x4ea60a=_0xa43bd9[_0x5eefc5(0x297)];}catch{return this['_decreaseWaiting'](),Promise[_0x5eefc5(0x21c)](new Error(_0x2f0162[_0x5eefc5(0x3de)]));}return new Promise((_0x4a4c54,_0x3649c1)=>{const _0x4d726e=_0x5eefc5,_0x2eb13e=new FileReader();_0x2eb13e['readAsDataURL'](_0x329ad9),_0x2eb13e[_0x4d726e(0x21d)]=_0x3c42f5=>{const _0x229398=_0x4d726e;var _0x365fff;const _0x188404=(_0x365fff=_0x3c42f5['target'])==null?void 0x0:_0x365fff['result'];if(_0x188404==null){this['_decreaseWaiting'](),_0x3649c1(new Error(_0x2f0162[_0x229398(0x3de)]));return;}const _0x2b0087=_0x279a54['generateRandomId'](0x6);_0x4a4c54({'imageId':_0x2b0087,'imageSourceType':_0xa7900e[_0x229398(0x3a6)],'source':_0x4ea60a,'base64Cache':_0x188404,'status':_0x2f0162[_0x229398(0x387)]}),this[_0x229398(0x2f5)]();};});}[_0x5e3172(0x45b)](){const _0x119d05=_0x5e3172;var _0x49af4d,_0xc6cddf;const _0x363057=this[_0x119d05(0x270)][_0x119d05(0x186)](kc),_0x2f816c=this[_0x119d05(0x270)][_0x119d05(0x186)](Q);return(_0xc6cddf=(_0x49af4d=_0x2f816c==null?void 0x0:_0x2f816c['uploadFileServerUrl'])!=null?_0x49af4d:_0x363057)!=null?_0xc6cddf:Wc;}[_0x5e3172(0x34d)](){const _0x489b32=_0x5e3172;var _0x53fdfd,_0x3d8a8b;const _0x42695d=this[_0x489b32(0x270)][_0x489b32(0x186)](Fc),_0x5a70cc=this[_0x489b32(0x270)]['getConfig'](Q);return(_0x3d8a8b=(_0x53fdfd=_0x5a70cc==null?void 0x0:_0x5a70cc[_0x489b32(0x4ad)])!=null?_0x53fdfd:_0x42695d)!=null?_0x3d8a8b:Vc;}['_getDownloadEndpointURL'](){const _0x3dae2d=_0x5e3172;var _0x29735f;const _0x5e5f27=this[_0x3dae2d(0x270)][_0x3dae2d(0x186)](Q);return(_0x29735f=_0x5e5f27==null?void 0x0:_0x5e5f27[_0x3dae2d(0x126)])!=null?_0x29735f:location[_0x3dae2d(0x22e)];}[_0x5e3172(0x1c1)](_0x58f3e0,_0x51c0da){const _0x1ea7c0=_0x5e3172;return _0x58f3e0[_0x1ea7c0(0x1b6)](_0x1ea7c0(0x4c7),_0x51c0da);}[_0x5e3172(0x2f5)](){const _0x28f97a=_0x5e3172;this[_0x28f97a(0x1c6)]-=0x1,this['_change$'][_0x28f97a(0x23b)](this['_waitCount']);}};ms=Hc([rs(0x0,_0x1259a7(_0x21ff0e)),rs(0x1,_0x3a37b7),rs(0x2,_0x1259a7(_0x381e7e))],ms);var Gc=Object[_0x5e3172(0x243)],Yc=Object[_0x5e3172(0x26f)],Kc=(_0x1445f7,_0x20002b,_0x324075,_0x271ff7)=>{const _0x5402eb=_0x5e3172;for(var _0x25cb52=_0x271ff7>0x1?void 0x0:_0x271ff7?Yc(_0x20002b,_0x324075):_0x20002b,_0x54a48a=_0x1445f7[_0x5402eb(0x2c8)]-0x1,_0x4d7534;_0x54a48a>=0x0;_0x54a48a--)(_0x4d7534=_0x1445f7[_0x54a48a])&&(_0x25cb52=(_0x271ff7?_0x4d7534(_0x20002b,_0x324075,_0x25cb52):_0x4d7534(_0x25cb52))||_0x25cb52);return _0x271ff7&&_0x25cb52&&Gc(_0x20002b,_0x324075,_0x25cb52),_0x25cb52;},Ci=(_0x63c8e8,_0x9aca3)=>(_0x5c7a3a,_0x4d4378)=>_0x9aca3(_0x5c7a3a,_0x4d4378,_0x63c8e8);const qc='/universer-api/authz';let gs=class{constructor(_0x4bf135,_0x1f8962){const _0x511619=_0x5e3172;this[_0x511619(0x270)]=_0x4bf135,this[_0x511619(0x31f)]=_0x1f8962;}['_getAPIPrefixPath'](){const _0x583683=_0x5e3172;var _0x17be6d,_0x298ddd;const _0x4a50a0=this[_0x583683(0x270)][_0x583683(0x186)](ir),_0x3a2d16=this[_0x583683(0x270)]['getConfig'](Q);return(_0x298ddd=(_0x17be6d=_0x3a2d16==null?void 0x0:_0x3a2d16[_0x583683(0x13f)])!=null?_0x17be6d:_0x4a50a0)!=null?_0x298ddd:qc;}async[_0x5e3172(0x169)](_0x278932){const _0x3ea186=_0x5e3172,_0x43ba8f=this[_0x3ea186(0x1f9)]()+_0x3ea186(0x3f8);return{'list':[{'title':_0x3ea186(0x52b),'mentions':(await this[_0x3ea186(0x31f)][_0x3ea186(0x307)](_0x43ba8f,{'params':{'objectID':_0x278932[_0x3ea186(0x452)],'unitID':_0x278932[_0x3ea186(0x452)]}}))[_0x3ea186(0x2da)][_0x3ea186(0x470)]['map'](_0x1a65b1=>({'objectId':_0x1a65b1['id'],'name':_0x1a65b1[_0x3ea186(0x277)][_0x3ea186(0x121)],'metadata':{'icon':_0x1a65b1[_0x3ea186(0x277)][_0x3ea186(0x501)]},'label':_0x1a65b1['subject'][_0x3ea186(0x121)],'objectType':_0xbf08a['PERSON']})),'metadata':{},'type':_0xbf08a['PERSON']}]};}};gs=Kc([Ci(0x0,_0x1259a7(_0x3a37b7)),Ci(0x1,_0x1259a7(_0x21ff0e))],gs);var zc=Object[_0x5e3172(0x243)],Xc=Object[_0x5e3172(0x26f)],Jc=(_0x1657be,_0x4a993d,_0x5490d6,_0x4a9605)=>{const _0xb78ae1=_0x5e3172;for(var _0x2d2a61=_0x4a9605>0x1?void 0x0:_0x4a9605?Xc(_0x4a993d,_0x5490d6):_0x4a993d,_0xaf24f2=_0x1657be[_0xb78ae1(0x2c8)]-0x1,_0x29f24e;_0xaf24f2>=0x0;_0xaf24f2--)(_0x29f24e=_0x1657be[_0xaf24f2])&&(_0x2d2a61=(_0x4a9605?_0x29f24e(_0x4a993d,_0x5490d6,_0x2d2a61):_0x29f24e(_0x2d2a61))||_0x2d2a61);return _0x4a9605&&_0x2d2a61&&zc(_0x4a993d,_0x5490d6,_0x2d2a61),_0x2d2a61;},et=(_0xd96f24,_0x30d349)=>(_0x15826b,_0x18a3e8)=>_0x30d349(_0x15826b,_0x18a3e8,_0xd96f24);let Ht=class extends _0x5ce84d{constructor(_0x3a5b8f,_0x46b5ff,_0xb3ff4c,_0x2b3405,_0x554b15){const _0x5b2293=_0x5e3172;super(),this[_0x5b2293(0x3b4)]=_0x3a5b8f,this[_0x5b2293(0x153)]=_0x46b5ff,this[_0x5b2293(0x366)]=_0xb3ff4c,this[_0x5b2293(0x41c)]=_0x2b3405,this[_0x5b2293(0x48a)]=_0x554b15,this[_0x5b2293(0x4ae)](),this['_initCloseConn']();}['_initCloseConn'](){const _0x36d9f2=_0x5e3172,_0x1a3191=async _0x48dc98=>{const _0x10eff5=_0x1eb2;(await this[_0x10eff5(0x41c)][_0x10eff5(0x17e)](_0x48dc98))['event$'][_0x10eff5(0x4b6)](_0x3c0a43(_0x5f0803=>_0x5f0803[_0x10eff5(0x451)]===_0x385814['SHOULD_CLOSE_CONN']),_0x209ee4(this[_0x10eff5(0x511)]))[_0x10eff5(0x134)](_0x32ed67=>{const _0x2a9ccc=_0x10eff5,_0x2b3b47=_0x32ed67,{reason:_0x13cc6f}=_0x2b3b47[_0x2a9ccc(0x288)];this[_0x2a9ccc(0x3b4)][_0x2a9ccc(0x307)](_0x28a2c3)['show']({'type':_0x59169d['Error'],'content':this[_0x2a9ccc(0x48a)]['t'](_0x2a9ccc(0x4b5))+'('+_0x13cc6f+')'}),this[_0x2a9ccc(0x366)][_0x2a9ccc(0x299)](new _0x1a4341(_0x48dc98)['id'],!0x1),this[_0x2a9ccc(0x41c)]['closeSession'](_0x48dc98);});};_0x143e60(this[_0x36d9f2(0x153)][_0x36d9f2(0x1ba)](_0xfbb68f[_0x36d9f2(0x1c2)]),this['_univerInstanceService'][_0x36d9f2(0x1ba)](_0xfbb68f['UNIVER_DOC']))[_0x36d9f2(0x4b6)](_0x2945cf(_0x2f76f2=>_0x2f76f2[_0x36d9f2(0x12f)]()),_0x3c0a43(_0x249fc9=>!_0x48d1da(_0x249fc9)),_0x209ee4(this[_0x36d9f2(0x511)]))['subscribe'](_0x2f7bf8=>{_0x1a3191(_0x2f7bf8);});}['_initUnitPermissionChange'](){const _0x4b10c9=_0x5e3172,_0x5f2407=async _0x634587=>{const _0x3c7d5d=_0x1eb2;(await this[_0x3c7d5d(0x41c)][_0x3c7d5d(0x17e)](_0x634587))['event$'][_0x3c7d5d(0x4b6)](_0x3c0a43(_0x54a332=>_0x54a332[_0x3c7d5d(0x451)]===_0x385814[_0x3c7d5d(0x278)]),_0x209ee4(this[_0x3c7d5d(0x511)]))[_0x3c7d5d(0x134)](_0x7e990b=>{const _0x28d657=_0x3c7d5d,_0x23bd3a=_0x7e990b,{objectId:_0x33984d}=_0x23bd3a['data'],_0x179340=this['_injector'][_0x28d657(0x307)](_0x25b747);_0x33984d===_0x634587?_0x179340[_0x28d657(0x2c2)](_0x634587):_0x179340['refreshPermission'](_0x634587,_0x33984d);});};_0x143e60(this[_0x4b10c9(0x153)][_0x4b10c9(0x1ba)](_0xfbb68f[_0x4b10c9(0x1c2)]),this[_0x4b10c9(0x153)][_0x4b10c9(0x1ba)](_0xfbb68f['UNIVER_DOC']))[_0x4b10c9(0x4b6)](_0x2945cf(_0x4e65d7=>_0x4e65d7[_0x4b10c9(0x12f)]()),_0x3c0a43(_0x495e8b=>!_0x48d1da(_0x495e8b)),_0x209ee4(this['dispose$']))[_0x4b10c9(0x134)](_0x110253=>{_0x5f2407(_0x110253);});}};Ht=Jc([et(0x0,_0x1259a7(_0xa6ca3c)),et(0x1,_0x381e7e),et(0x2,_0x51028f),et(0x3,_0x1259a7(xe)),et(0x4,_0x1259a7(_0x56a2bf))],Ht);var Zc=Object[_0x5e3172(0x243)],Qc=Object[_0x5e3172(0x26f)],eh=(_0x4d5adb,_0x26af68,_0x34a252,_0x30314d)=>{const _0x40c8e3=_0x5e3172;for(var _0x5dbef4=_0x30314d>0x1?void 0x0:_0x30314d?Qc(_0x26af68,_0x34a252):_0x26af68,_0xe4d6d3=_0x4d5adb[_0x40c8e3(0x2c8)]-0x1,_0x340b4c;_0xe4d6d3>=0x0;_0xe4d6d3--)(_0x340b4c=_0x4d5adb[_0xe4d6d3])&&(_0x5dbef4=(_0x30314d?_0x340b4c(_0x26af68,_0x34a252,_0x5dbef4):_0x340b4c(_0x5dbef4))||_0x5dbef4);return _0x30314d&&_0x5dbef4&&Zc(_0x26af68,_0x34a252,_0x5dbef4),_0x5dbef4;},Ei=(_0x553cf7,_0x293ae5)=>(_0x55825a,_0x37dd5d)=>_0x293ae5(_0x55825a,_0x37dd5d,_0x553cf7);let Ss=class{constructor(_0x4f0bce,_0x1ab1a4){this['_configService']=_0x4f0bce,this['_httpService']=_0x1ab1a4;}async[_0x5e3172(0x407)](_0x2ad534,_0xd802e8){const _0x811bca=_0x5e3172;var _0x2a0c1e;const {unitID:_0x264608,type:_0x5eca53,revision:_0x567595=0x0}=_0xd802e8,_0x174120=this['getSnapshotAPIPath']()+'/'+_0x5eca53+_0x811bca(0x13d)+_0x264608+_0x811bca(0x2ca)+_0x567595,_0x585578=(await this[_0x811bca(0x535)][_0x811bca(0x307)](_0x174120))[_0x811bca(0x2da)],_0x587970=(_0x2a0c1e=_0x585578[_0x811bca(0x515)])==null?void 0x0:_0x2a0c1e[_0x811bca(0x204)];if(_0x587970){const _0x2b91a2=_0x587970==null?void 0x0:_0x587970[_0x811bca(0x26c)],_0x266323=_0xf9a5c6[_0x811bca(0x2d2)](_0x1a04e2(_0x2b91a2));_0x587970['originalMeta']=_0x266323,Object[_0x811bca(0x16f)](_0x587970[_0x811bca(0x29b)])[_0x811bca(0x356)](([,_0x34add0])=>{const _0x1174ae=_0x811bca,_0xbd94b4=_0x34add0[_0x1174ae(0x26c)],_0x198403=_0xf9a5c6[_0x1174ae(0x2d2)](_0x1a04e2(_0xbd94b4));_0x34add0[_0x1174ae(0x26c)]=_0x198403;});}return _0x585578;}async[_0x5e3172(0x4bf)](_0x20d110,_0x1ebef9){const _0x1e220f=_0x5e3172,{unitID:_0x371e32,type:_0x1c8025,blockID:_0x4d65e6}=_0x1ebef9,_0x1d88a0=this['_getAPIPrefix']()+'/'+_0x1c8025+'/unit/'+_0x371e32+_0x1e220f(0x209)+_0x4d65e6;return(await this['_httpService'][_0x1e220f(0x307)](_0x1d88a0))[_0x1e220f(0x2da)];}async[_0x5e3172(0x2e0)](_0x923457,_0x82fd03){const _0x580f31=_0x5e3172,{unitID:_0x1d292e,type:_0x3fa0f6,blockID:_0x3fee32}=_0x82fd03,_0x519b51=this[_0x580f31(0x233)]()+_0x580f31(0x209)+_0x3fa0f6+_0x580f31(0x13d)+_0x1d292e+'/block/'+_0x3fee32;return(await this[_0x580f31(0x535)][_0x580f31(0x307)](_0x519b51))[_0x580f31(0x2da)];}async[_0x5e3172(0x41a)](_0x255f50,_0x470d4f){const _0x2bfe90=_0x5e3172,{unitID:_0x706a13,type:_0x4fb874,from:_0x39e688,to:_0x204df2}=_0x470d4f,_0x263791=this['_getAPIPrefix']()+'/'+_0x4fb874+_0x2bfe90(0x13d)+_0x706a13+'/fetchmissing?from='+_0x39e688+_0x2bfe90(0x426)+_0x204df2;return(await this[_0x2bfe90(0x535)]['get'](_0x263791))[_0x2bfe90(0x2da)];}[_0x5e3172(0x2d6)](){const _0x13acd4=_0x5e3172;var _0x454a34;return(_0x454a34=this[_0x13acd4(0x270)][_0x13acd4(0x186)](Tn))!=null?_0x454a34:this[_0x13acd4(0x233)]();}[_0x5e3172(0x233)](){const _0x16595e=_0x5e3172;var _0x2f8611,_0x1172e5;const _0x2f6716=this[_0x16595e(0x270)][_0x16595e(0x186)](En),_0x1d84fc=this[_0x16595e(0x270)][_0x16595e(0x186)](Q);return(_0x1172e5=(_0x2f8611=_0x1d84fc==null?void 0x0:_0x1d84fc[_0x16595e(0x3e8)])!=null?_0x2f8611:_0x2f6716)!=null?_0x1172e5:bn;}async[_0x5e3172(0x498)](_0x5d8164,_0x283a97){const _0x407c46=_0x5e3172,_0x256b89=_0x407c46(0x438)+_0x283a97[_0x407c46(0x20d)]+'/unit/'+_0x283a97[_0x407c46(0x4e4)]+_0x407c46(0x3c1);return(await this[_0x407c46(0x535)][_0x407c46(0x307)](_0x256b89,{'params':{'resourceId':JSON[_0x407c46(0x50f)](_0x283a97['resourceIDs'])}}))[_0x407c46(0x2da)];}[_0x5e3172(0x45c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5e3172(0x2be)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5e3172(0x33f)](){const _0x2d58d5=_0x5e3172;throw new Error(_0x2d58d5(0x45d));}[_0x5e3172(0x1a3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5e3172(0x2e6)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Ss=eh([Ei(0x0,_0x3a37b7),Ei(0x1,_0x1259a7(_0x21ff0e))],Ss);var th=Object[_0x5e3172(0x243)],sh=Object['getOwnPropertyDescriptor'],ih=(_0x4bce29,_0x8b0d34,_0x38e13e,_0x369784)=>{const _0x462ef2=_0x5e3172;for(var _0x2c7dd9=_0x369784>0x1?void 0x0:_0x369784?sh(_0x8b0d34,_0x38e13e):_0x8b0d34,_0xfc1b73=_0x4bce29[_0x462ef2(0x2c8)]-0x1,_0x1e7378;_0xfc1b73>=0x0;_0xfc1b73--)(_0x1e7378=_0x4bce29[_0xfc1b73])&&(_0x2c7dd9=(_0x369784?_0x1e7378(_0x8b0d34,_0x38e13e,_0x2c7dd9):_0x1e7378(_0x2c7dd9))||_0x2c7dd9);return _0x369784&&_0x2c7dd9&&th(_0x8b0d34,_0x38e13e,_0x2c7dd9),_0x2c7dd9;},tt=(_0x29c3ff,_0x5b58b4)=>(_0x1a27b2,_0xc60d7)=>_0x5b58b4(_0x1a27b2,_0xc60d7,_0x29c3ff);let Is=class extends _0x301e35{constructor(_0x18eb0e,_0x3d14e6,_0x224b4a,_0x327810,_0x6b136a){const _0x66f195=_0x5e3172;super(_0x18eb0e,_0x3d14e6,_0x224b4a),this[_0x66f195(0x4ff)]=_0x327810,this[_0x66f195(0x52d)]=_0x6b136a;}[_0x5e3172(0x143)](_0x2364ef,_0x504f9b){const _0x30d47e=_0x5e3172,_0x5b6d2b=this[_0x30d47e(0x3bf)](_0x2364ef);if(_0x5b6d2b)try{const _0xafaaef=this['_transformStack'](_0x5b6d2b,_0x504f9b);this[_0x30d47e(0x300)](_0x2364ef,_0xafaaef);}catch(_0x4c2ba4){this['_logService'][_0x30d47e(0x295)](_0x30d47e(0x19f),_0x4c2ba4),this['_clearUndo'](_0x2364ef);}const _0x493cfb=this[_0x30d47e(0x488)](_0x2364ef);if(_0x493cfb)try{const _0x394b1b=this['_transformStack'](_0x493cfb,_0x504f9b);this[_0x30d47e(0x14f)](_0x2364ef,_0x394b1b);}catch(_0x422262){this['_logService']['error'](_0x422262),this[_0x30d47e(0x455)](_0x2364ef);}}[_0x5e3172(0x46b)](_0xd2e177){const _0x49d8b7=_0x5e3172,_0x3f715c=this[_0x49d8b7(0x3bf)](_0xd2e177);_0x3f715c&&(_0x3f715c[_0x49d8b7(0x2c8)]=0x0,this[_0x49d8b7(0x4f4)]());}[_0x5e3172(0x455)](_0x142411){const _0xe8f7d6=_0x5e3172,_0x3be05b=this['_getRedoStack'](_0x142411);_0x3be05b&&(_0x3be05b[_0xe8f7d6(0x2c8)]=0x0,this['_updateStatus']());}[_0x5e3172(0x300)](_0x26412d,_0x121f63){const _0x5b7c7=_0x5e3172;this[_0x5b7c7(0x136)][_0x5b7c7(0x332)](_0x26412d,_0x121f63),this['_updateStatus']();}[_0x5e3172(0x14f)](_0x1d124f,_0x4ec93d){const _0x2605ea=_0x5e3172;this[_0x2605ea(0x1ef)][_0x2605ea(0x332)](_0x1d124f,_0x4ec93d),this[_0x2605ea(0x4f4)]();}[_0x5e3172(0x4ba)](_0x2a5040,_0x24b221){const _0x2e18c8=_0x5e3172,_0x452db1=[];let _0x3fdb1e=_0x24b221,_0x1b3bb8=_0x24b221;for(let _0x1db772=_0x2a5040[_0x2e18c8(0x2c8)]-0x1;_0x1db772>=0x0;_0x1db772--){const {unitID:_0x40d3b6,undoMutations:_0x47a9f4,redoMutations:_0x1e1086}=_0x2a5040[_0x1db772],_0x3a41cc=this['_transformService'][_0x2e18c8(0x4a6)](_0x3fdb1e,_0x47a9f4),_0x29723c=this[_0x2e18c8(0x4ff)][_0x2e18c8(0x4a6)](_0x1b3bb8,_0x1e1086);if(_0x2ccc3c(_0x3a41cc)||_0x2ccc3c(_0x29723c)){this[_0x2e18c8(0x52d)][_0x2e18c8(0x295)](_0x2e18c8(0x19f),_0x2e18c8(0x124),_0x3a41cc,_0x29723c);break;}_0x3fdb1e=_0x3a41cc[_0x2e18c8(0x1e7)],_0x1b3bb8=_0x29723c['c1Prime'],_0x452db1[_0x2e18c8(0x38e)]({'unitID':_0x40d3b6,'undoMutations':_0x3a41cc[_0x2e18c8(0x20f)],'redoMutations':_0x29723c['m2Prime']});}return _0x452db1[_0x2e18c8(0x491)]();}};Is=ih([tt(0x0,_0x381e7e),tt(0x1,_0x58c2c0),tt(0x2,_0x1f3c95),tt(0x3,_0x2a04be),tt(0x4,_0xadcc6)],Is);class rh extends _0x5ce84d{constructor(){const _0x4437e3=_0x5e3172;super(),g(this,_0x4437e3(0x1fa)),this[_0x4437e3(0x1fa)]=_0x1a191c(window,_0x4437e3(0x22a))[_0x4437e3(0x4b6)](_0x34041a(this[_0x4437e3(0x511)]),_0x55695a(0x1),_0x15c046(void 0x0));}[_0x5e3172(0x431)](_0x5d1a33,_0x4e5e4b,_0x52f6a6=!0x1){const _0x4b4f0e=_0x5e3172,_0x4505e2=new URL(window[_0x4b4f0e(0x4e2)][_0x4b4f0e(0x38d)]);_0x4505e2['searchParams']['set'](_0x5d1a33,_0x4e5e4b),_0x52f6a6?window[_0x4b4f0e(0x16a)][_0x4b4f0e(0x47e)]('','',_0x4505e2['toString']()):window['history'][_0x4b4f0e(0x284)]('','',_0x4505e2[_0x4b4f0e(0x129)]());}['removeParam'](_0x5e78bc,_0xabc87f=!0x1){const _0x5141ea=_0x5e3172,_0x3dfa41=new URL(window[_0x5141ea(0x4e2)][_0x5141ea(0x38d)]);_0x3dfa41[_0x5141ea(0x520)][_0x5141ea(0x480)](_0x5e78bc),_0xabc87f?window[_0x5141ea(0x16a)][_0x5141ea(0x47e)]('','',_0x3dfa41[_0x5141ea(0x129)]()):window[_0x5141ea(0x16a)][_0x5141ea(0x284)]('','',_0x3dfa41[_0x5141ea(0x129)]());}['getParam'](_0x1c3db7){const _0x587c01=_0x5e3172;var _0x2eb2d9;return(_0x2eb2d9=new URL(window[_0x587c01(0x4e2)][_0x587c01(0x38d)])[_0x587c01(0x520)][_0x587c01(0x307)](_0x1c3db7))!=null?_0x2eb2d9:void 0x0;}}var ar=Object[_0x5e3172(0x243)],nh=Object[_0x5e3172(0x26f)],oh=(_0x469c08,_0x1a031a,_0x4c537b)=>_0x1a031a in _0x469c08?ar(_0x469c08,_0x1a031a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c537b}):_0x469c08[_0x1a031a]=_0x4c537b,ah=(_0x5c2520,_0x30738f,_0x417af1,_0x43a2ea)=>{for(var _0x3d2e3d=_0x43a2ea>0x1?void 0x0:_0x43a2ea?nh(_0x30738f,_0x417af1):_0x30738f,_0x216218=_0x5c2520['length']-0x1,_0xd1d157;_0x216218>=0x0;_0x216218--)(_0xd1d157=_0x5c2520[_0x216218])&&(_0x3d2e3d=(_0x43a2ea?_0xd1d157(_0x30738f,_0x417af1,_0x3d2e3d):_0xd1d157(_0x3d2e3d))||_0x3d2e3d);return _0x43a2ea&&_0x3d2e3d&&ar(_0x30738f,_0x417af1,_0x3d2e3d),_0x3d2e3d;},_t=(_0x34a0dd,_0x2fa2ed)=>(_0x50c441,_0x36a5db)=>_0x2fa2ed(_0x50c441,_0x36a5db,_0x34a0dd),ch=(_0x58d84f,_0x341872,_0x5af571)=>oh(_0x58d84f,_0x341872+'',_0x5af571);const hh='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Cs=class extends _0x35856f{constructor(_0xbc1fd=Bn,_0x2046da,_0x2e53a6,_0x16c6c6,_0x305c1c){const _0x58bd7e=_0x5e3172;super(),this['_config']=_0xbc1fd,this[_0x58bd7e(0x52d)]=_0x2046da,this[_0x58bd7e(0x4ee)]=_0x2e53a6,this[_0x58bd7e(0x3b4)]=_0x16c6c6,this['_configService']=_0x305c1c;const {..._0x288362}=this[_0x58bd7e(0x1c3)];this['_configService'][_0x58bd7e(0x460)](Q,_0x288362);}[_0x5e3172(0x37b)](){const _0xc645f0=_0x5e3172;this[_0xc645f0(0x4b0)](),this[_0xc645f0(0x192)]();}[_0x5e3172(0x274)](){_0x3ab8ae(this['_injector'],[[xt],[Ut]]);}[_0x5e3172(0x379)](){const _0x3812a6=_0x5e3172;this[_0x3812a6(0x49b)]();}[_0x5e3172(0x4b0)](){const _0xf41f2b=_0x5e3172;var _0x6cdcd3,_0xcb4a19,_0x556fed,_0x37f5ee;this[_0xf41f2b(0x3b4)][_0xf41f2b(0x3cb)](_0x2d3235)&&this[_0xf41f2b(0x52d)][_0xf41f2b(0x295)](_0xf41f2b(0x2ff),_0xf41f2b(0x228));const _0x1b3ffa=[[_0x2d3235,{'useClass':Is}],[xe],[Ns],[sr,{'useClass':rh}],[Me],[z],[_0x5b73a6],[wt],[Pt],[yt],[Dt],[Ds],[Lt],[$t],[Yi],[Ht],[Gi,{'useClass':(_0xcb4a19=(_0x6cdcd3=this[_0xf41f2b(0x1c3)])==null?void 0x0:_0x6cdcd3[_0xf41f2b(0x405)])!=null?_0xcb4a19:cs}],[_0x18e368,{'useClass':Ss}],[_0x5ae3ef,{'useClass':ps}],[_0x1c8798,{'useClass':ms}],[_0x5c1989,{'useClass':gs}],[rt],[Mt],[At],[xt],[Ve],[Ut]];(_0x556fed=this[_0xf41f2b(0x1c3)])!=null&&_0x556fed[_0xf41f2b(0x394)]&&_0x1b3ffa[_0xf41f2b(0x38e)]([jt,{'useClass':Co}]),_0x3ef291(this[_0xf41f2b(0x3b4)],_0x11b22e(_0x1b3ffa,(_0x37f5ee=this[_0xf41f2b(0x1c3)])==null?void 0x0:_0x37f5ee[_0xf41f2b(0x28e)]));}['_registerRenderDependencies'](){const _0x3fc57d=_0x5e3172;this[_0x3fc57d(0x2d9)](this[_0x3fc57d(0x4ee)][_0x3fc57d(0x312)](_0xfbb68f[_0x3fc57d(0x11d)],[fs])),this[_0x3fc57d(0x2d9)](this['_renderManagerService'][_0x3fc57d(0x312)](_0xfbb68f['UNIVER_SHEET'],[vs]));}[_0x5e3172(0x192)](){const _0x3d18c6=_0x5e3172;var _0xba8a95,_0x149675;this[_0x3d18c6(0x3b4)][_0x3d18c6(0x307)](_0x21ff0e)[_0x3d18c6(0x24c)]({'priority':0x14,'interceptor':_0x3d2a05({'maxParallel':0x6})}),(_0xba8a95=this[_0x3d18c6(0x1c3)])!=null&&_0xba8a95['enableOfflineEditing']||this['_injector'][_0x3d18c6(0x307)](z)[_0x3d18c6(0x27d)](),(_0x149675=this[_0x3d18c6(0x1c3)])!=null&&_0x149675[_0x3d18c6(0x1e9)]&&_0x3ab8ae(this[_0x3d18c6(0x3b4)],[[Lt]]),_0x3ab8ae(this[_0x3d18c6(0x3b4)],[[$t],[Ve],[Mt],[rt],[At],[Ht]]);}};ch(Cs,_0x5e3172(0x120),hh),Cs=ah([_0x447968(_0x30e153,_0x284272),_t(0x1,_0xadcc6),_t(0x2,_0x2d7ddc),_t(0x3,_0x1259a7(_0xa6ca3c)),_t(0x4,_0x3a37b7)],Cs);export{ir as AUTHZ_URL_KEY,ps as AuthzIoHttpService,Q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Ln as COLLAB_SUBMIT_CHANGESET_URL_KEY,On as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,Nt as CollaborationEntity,hs as CollaborationSession,xe as CollaborationSessionService,cs as CollaborationSocketService,J as CollaborationStatus,xa as CollaborationStatusDisplay,ms as CollabrationImageIoService,Yi as CommentService,Mt as DataLoaderController,At as DesktopCollaborationStatusDisplayController,ls as DocCollaborationEntity,Dn as HEARTBEAT_INTERVAL_KEY,ki as HEARTBEAT_TIMEOUT_KEY,Gi as ICollaborationSocketService,sr as IURLService,Mn as LOCAL_CACHE_INTERVAL_KEY,Hn as LOGIN_URL_KEY,z as LocalCacheService,Me as MemberService,gs as MentionIoHttpService,Un as RETRY_CONNECTING_MAX_COUNT_KEY,wh as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,fe as SessionStatus,fa as SheetCollabCursorShape,_s as SheetCollaborationEntity,Ss as SnapshotServerOverHTTPService,Cs as UniverCollaborationClientPlugin,rh as WebURLService,kn as deserializeToCombResponse,Wn as serializeCombRequest};
1
+ var _0x4a9f88=_0x30f1;(function(_0x7de10e,_0x269db9){var _0x299211=_0x30f1,_0x3f1286=_0x7de10e();while(!![]){try{var _0x146581=-parseInt(_0x299211(0x6e))/0x1*(-parseInt(_0x299211(0x152))/0x2)+parseInt(_0x299211(0x158))/0x3*(parseInt(_0x299211(0x142))/0x4)+parseInt(_0x299211(0xc5))/0x5+parseInt(_0x299211(0x26f))/0x6*(-parseInt(_0x299211(0x24e))/0x7)+parseInt(_0x299211(0x230))/0x8*(parseInt(_0x299211(0xa2))/0x9)+parseInt(_0x299211(0x2b6))/0xa*(parseInt(_0x299211(0x186))/0xb)+parseInt(_0x299211(0x342))/0xc*(-parseInt(_0x299211(0x293))/0xd);if(_0x146581===_0x269db9)break;else _0x3f1286['push'](_0x3f1286['shift']());}catch(_0x49f2d3){_0x3f1286['push'](_0x3f1286['shift']());}}}(_0x19a6,0xa937a));var Mi=Object[_0x4a9f88(0x2cf)],$i=(_0x500e7b,_0x46a640,_0x2e5e54)=>_0x46a640 in _0x500e7b?Mi(_0x500e7b,_0x46a640,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e5e54}):_0x500e7b[_0x46a640]=_0x2e5e54,N=(_0x577231,_0x481a61,_0x509631)=>$i(_0x577231,typeof _0x481a61!=_0x4a9f88(0x17a)?_0x481a61+'':_0x481a61,_0x509631);import{createIdentifier as _0x512c69,Inject as _0x2a5019,Disposable as _0x1e775a,DisposableCollection as _0x52d961,toDisposable as _0x150b89,IConfigService as _0xd4de74,ILogService as _0x54e63f,UserManagerService as _0x291d58,UniverInstanceType as _0x89e517,IUniverInstanceService as _0x190ff7,LocaleService as _0x187ee3,Optional as _0x39b9b2,RxDisposable as _0x2d4049,Injector as _0x78bf92,Tools as _0x2c1d8d,Rectangle as _0x2bb0a0,ICommandService as _0x28ed93,JSONX as _0x5cc6e6,CommandType as _0x23afc1,IPermissionService as _0x512ef7,IUndoRedoService as _0x4b8ace,sequenceExecute as _0x3b52fa,Workbook as _0x417d5b,MentionType as _0x411373,IAuthzIoService as _0x2ceb14,isInternalEditorID as _0x19a091,LocalUndoRedoService as _0x161896,IContextService as _0x43be85,DependentOn as _0x4184f0,Plugin as _0x4a8c1d,mergeOverrideWithDependencies as _0x5b57c7,IMentionIOService as _0x3290d1,registerDependencies as _0x3e1ae0,touchDependencies as _0x7056d9}from'@univerjs/core';import{Subject as _0x1afd5c,merge as _0x177cab,takeUntil as _0x1ba6a5,BehaviorSubject as _0x20d4d6,ReplaySubject as _0x22b000,take as _0x59a862,map as _0xb0247c,shareReplay as _0x5db27c,of as _0xd9a965,concatMap as _0xa82ab}from'rxjs';import{map as _0x12f7c6,take as _0x54c496,filter as _0x26b17e,delay as _0x33d688,takeUntil as _0x4886fb}from'rxjs/operators';import{HTTPService as _0x16868d,WebSocketService as _0x53211b,MergeInterceptorFactory as _0x5a4e7e,HTTPRequest as _0x3aebf1,UniverNetworkPlugin as _0x25386f,ThresholdInterceptorFactory as _0xc5757a}from'@univerjs/network';import{CollaborationEvent as _0x5db513,parseChangesetToProtocol as _0x1ef5d9,ISnapshotServerService as _0x631d1,isTransformMutationsWithChangesetSuccess as _0x47dc85,ITransformService as _0xa95f58,mapDocumentTypeToUniverType as _0x4ac429,RevisionService as _0x3308e6,isTransformChangesetsSuccess as _0xcb0929,CompressMutationService as _0x3f1d58,parseProtocolChangeset as _0x2129fc,SnapshotService as _0x273c8c,textEncoder as _0x42b3a7,b64DecodeUnicode as _0xf88b98,isTransformMutationsWithChangesetFailure as _0x451346,UniverCollaborationPlugin as _0x23baa9}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x2c93fb}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x12a06b}from'@univerjs/docs';import{SheetsSelectionsService as _0x7418f7,SetSelectionsOperation as _0x328cd6,InsertSheetMutation as _0x4a0115,EmptyMutation as _0x30fb55,WorkbookEditablePermission as _0x7ca049,UnitObject as _0x19560f,defaultWorkbookPermissionPoints as _0x4bd940,getAllWorkbookPermissionPoint as _0x5e6030,WorksheetProtectionRuleModel as _0x1a6295,baseProtectionActions as _0x31941d,getAllWorksheetPermissionPoint as _0xae8f37,WorksheetProtectionPointModel as _0x1f629a,defaultWorksheetPermissionPoint as _0x2138aa,getAllWorksheetPermissionPointByPointPanel as _0x3ab423,RangeProtectionRuleModel as _0x152024,getAllRangePermissionPoint as _0x3d7d33,UniverSheetsPlugin as _0x52d508}from'@univerjs/sheets';import{ImageSourceType as _0x49fd6c,ImageUploadStatusType as _0x26f0c2,IImageIoService as _0x15aec8}from'@univerjs/drawing';const Rn=_0x4a9f88(0x2ab),yn='/universer-api/snapshot',On=_0x4a9f88(0x1c1),so='SEND_CHANGESET_TIMEOUT',Pn=0x7d0,Dn=_0x4a9f88(0x34f),Nn='ws://127.0.0.1:8000/universer-api/comb/connect',wn=_0x4a9f88(0x169),Un='HEARTBEAT_INTERVAL',An=0x7530,Ei=_0x4a9f88(0x156),Ii=0x4e20,xn=0x4e20,Ln=_0x4a9f88(0x77),Mn=0x3,ro='LOCAL_CACHE_INTERVAL',oo=0x3e8,$n=_0x4a9f88(0xb2),Hn=_0x4a9f88(0x1d6),kn=_0x4a9f88(0x96),jn=_0x4a9f88(0x356);var Ti=(_0x5987a5=>(_0x5987a5[_0x5987a5['UNDEFINED']=0x0]=_0x4a9f88(0x223),_0x5987a5[_0x5987a5['OK']=0x1]='OK',_0x5987a5[_0x5987a5['INTERNAL_ERROR']=0x2]=_0x4a9f88(0x8c),_0x5987a5[_0x5987a5[_0x4a9f88(0x309)]=0x3]=_0x4a9f88(0x309),_0x5987a5[_0x5987a5['NOT_FOUND']=0x4]=_0x4a9f88(0xe7),_0x5987a5[_0x5987a5[_0x4a9f88(0x2f3)]=0x5]=_0x4a9f88(0x2f3),_0x5987a5[_0x5987a5[_0x4a9f88(0x220)]=0x6]=_0x4a9f88(0x220),_0x5987a5[_0x5987a5[_0x4a9f88(0x99)]=0x7]=_0x4a9f88(0x99),_0x5987a5[_0x5987a5[_0x4a9f88(0x117)]=0x8]=_0x4a9f88(0x117),_0x5987a5[_0x5987a5[_0x4a9f88(0x2c8)]=0x9]=_0x4a9f88(0x2c8),_0x5987a5[_0x5987a5[_0x4a9f88(0xec)]=0x1389]=_0x4a9f88(0xec),_0x5987a5[_0x5987a5[_0x4a9f88(0x209)]=0x1771]=_0x4a9f88(0x209),_0x5987a5[_0x5987a5[_0x4a9f88(0x28e)]=0x1772]=_0x4a9f88(0x28e),_0x5987a5[_0x5987a5[_0x4a9f88(0x21f)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5987a5[_0x5987a5[_0x4a9f88(0x301)]=0x1b59]=_0x4a9f88(0x301),_0x5987a5[_0x5987a5[_0x4a9f88(0x206)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5987a5[_0x5987a5[_0x4a9f88(0x31b)]=0x1b5b]=_0x4a9f88(0x31b),_0x5987a5[_0x5987a5[_0x4a9f88(0x370)]=0x1b5c]=_0x4a9f88(0x370),_0x5987a5[_0x5987a5['APPLY_DUPLICATED']=0x1b5d]=_0x4a9f88(0x1f4),_0x5987a5[_0x5987a5[_0x4a9f88(0x200)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5987a5[_0x5987a5[_0x4a9f88(0xca)]=0x2329]=_0x4a9f88(0xca),_0x5987a5[_0x5987a5[_0x4a9f88(0x190)]=0x232a]=_0x4a9f88(0x190),_0x5987a5[_0x5987a5[_0x4a9f88(0x2a7)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5987a5[_0x5987a5['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4a9f88(0x21c),_0x5987a5[_0x5987a5['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4a9f88(0x7b),_0x5987a5[_0x5987a5[_0x4a9f88(0xcf)]=0x2711]=_0x4a9f88(0xcf),_0x5987a5[_0x5987a5['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5987a5[_0x5987a5[_0x4a9f88(0x254)]=0x2713]=_0x4a9f88(0x254),_0x5987a5[_0x5987a5['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5987a5[_0x5987a5[_0x4a9f88(0x1ed)]=-0x1]=_0x4a9f88(0x1ed),_0x5987a5))(Ti||{}),Q=(_0xb39feb=>(_0xb39feb[_0xb39feb[_0x4a9f88(0x1c4)]=0x0]=_0x4a9f88(0x1c4),_0xb39feb[_0xb39feb['UNIVER_DOC']=0x1]=_0x4a9f88(0x324),_0xb39feb[_0xb39feb[_0x4a9f88(0x1a9)]=0x2]=_0x4a9f88(0x1a9),_0xb39feb[_0xb39feb[_0x4a9f88(0x24c)]=0x3]=_0x4a9f88(0x24c),_0xb39feb[_0xb39feb[_0x4a9f88(0x2f1)]=0x4]=_0x4a9f88(0x2f1),_0xb39feb[_0xb39feb[_0x4a9f88(0x1ed)]=-0x1]=_0x4a9f88(0x1ed),_0xb39feb))(Q||{}),F=(_0x48b102=>(_0x48b102[_0x48b102[_0x4a9f88(0x267)]=0x0]=_0x4a9f88(0x267),_0x48b102[_0x48b102[_0x4a9f88(0x34c)]=0x1]=_0x4a9f88(0x34c),_0x48b102[_0x48b102[_0x4a9f88(0x161)]=0x2]=_0x4a9f88(0x161),_0x48b102[_0x48b102[_0x4a9f88(0x335)]=0x3]=_0x4a9f88(0x335),_0x48b102[_0x48b102[_0x4a9f88(0x150)]=0x4]=_0x4a9f88(0x150),_0x48b102[_0x48b102[_0x4a9f88(0x315)]=0x5]=_0x4a9f88(0x315),_0x48b102[_0x48b102[_0x4a9f88(0x2e7)]=0x6]=_0x4a9f88(0x2e7),_0x48b102[_0x48b102[_0x4a9f88(0x1ed)]=-0x1]='UNRECOGNIZED',_0x48b102))(F||{}),Ee=(_0x19a41c=>(_0x19a41c[_0x19a41c[_0x4a9f88(0x265)]=0x0]='UNKNOWN_CODE',_0x19a41c[_0x19a41c['OK']=0x1]='OK',_0x19a41c[_0x19a41c[_0x4a9f88(0x2dc)]=0x2]=_0x4a9f88(0x2dc),_0x19a41c[_0x19a41c['JOIN_ROOM_FULL']=0x3e9]=_0x4a9f88(0x10e),_0x19a41c[_0x19a41c[_0x4a9f88(0xa8)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x19a41c[_0x19a41c[_0x4a9f88(0xd9)]=0x3eb]=_0x4a9f88(0xd9),_0x19a41c[_0x19a41c[_0x4a9f88(0x2c1)]=0x3ec]=_0x4a9f88(0x2c1),_0x19a41c[_0x19a41c[_0x4a9f88(0x1ed)]=-0x1]='UNRECOGNIZED',_0x19a41c))(Ee||{}),Ci=(_0xe9d8e9=>(_0xe9d8e9[_0xe9d8e9[_0x4a9f88(0xf5)]=0x0]='Undefined',_0xe9d8e9[_0xe9d8e9[_0x4a9f88(0x184)]=0x1]=_0x4a9f88(0x184),_0xe9d8e9[_0xe9d8e9[_0x4a9f88(0xcc)]=0x2]=_0x4a9f88(0xcc),_0xe9d8e9[_0xe9d8e9[_0x4a9f88(0x8a)]=0x3]='UnitEmbedded',_0xe9d8e9[_0xe9d8e9[_0x4a9f88(0x73)]=0x4]=_0x4a9f88(0x73),_0xe9d8e9[_0xe9d8e9[_0x4a9f88(0x1ed)]=-0x1]=_0x4a9f88(0x1ed),_0xe9d8e9))(Ci||{});const Y=_0x4a9f88(0x202),Bn={};function Fn(_0x34c6e1){var _0x5d0799=_0x4a9f88,_0x190b07,_0xcd7aa3,_0x15a0f1,_0x115567,_0x55f17e;const _0x466aef=_0x34c6e1[_0x5d0799(0x2be)],_0x2e0be9=JSON['parse'](_0x466aef);switch(_0x2e0be9[_0x5d0799(0x72)]){case F['HEARTBEAT']:case F[_0x5d0799(0x34c)]:{const _0x2c63b1=_0x2e0be9[_0x5d0799(0x179)];return{..._0x2e0be9,'data':_0x2c63b1,'cmd':_0x2e0be9['cmd']};}case F[_0x5d0799(0x161)]:{const _0x36b683=_0x2e0be9[_0x5d0799(0x124)];return{..._0x2e0be9,'data':_0x36b683,'cmd':_0x2e0be9[_0x5d0799(0x72)]};}case F[_0x5d0799(0x2e7)]:{const _0x3dc568=_0x2e0be9[_0x5d0799(0xaa)];switch(_0x3dc568[_0x5d0799(0x334)]){case _0x5db513[_0x5d0799(0xbf)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':(_0x190b07=_0x3dc568[_0x5d0799(0x36a)])==null?void 0x0:_0x190b07['cs']},'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513[_0x5d0799(0x1a8)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':(_0xcd7aa3=_0x3dc568[_0x5d0799(0x2bd)])==null?void 0x0:_0xcd7aa3['cs']},'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513[_0x5d0799(0x2a9)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':(_0x15a0f1=_0x3dc568[_0x5d0799(0xd0)])==null?void 0x0:_0x15a0f1['cs']},'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513[_0x5d0799(0x2ae)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':(_0x115567=_0x3dc568['csRejEvent'])==null?void 0x0:_0x115567['cs']},'cmd':_0x2e0be9['cmd']};case _0x5db513[_0x5d0799(0x1d9)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':(_0x55f17e=_0x3dc568[_0x5d0799(0x314)])==null?void 0x0:_0x55f17e['cs']},'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513[_0x5d0799(0x180)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':_0x3dc568[_0x5d0799(0x6d)]},'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513['USERS_ENTER']:return{..._0x2e0be9,'data':{..._0x3dc568,'data':_0x3dc568[_0x5d0799(0x7a)]},'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513['USERS_LEAVE']:return{..._0x2e0be9,'data':{..._0x3dc568,'data':_0x3dc568[_0x5d0799(0x248)]},'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513[_0x5d0799(0x313)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':_0x3dc568[_0x5d0799(0x36f)]},'cmd':_0x2e0be9['cmd']};case _0x5db513[_0x5d0799(0x252)]:case _0x5db513[_0x5d0799(0x365)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':_0x3dc568['liveShareOperation']},'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513[_0x5d0799(0x109)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':_0x3dc568[_0x5d0799(0x36f)]},'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513['MSG_FOR_ERROR']:return{..._0x2e0be9,'data':_0x3dc568,'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513[_0x5d0799(0x204)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':_0x3dc568[_0x5d0799(0x18e)]},'cmd':_0x2e0be9['cmd']};case _0x5db513[_0x5d0799(0x35e)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':_0x3dc568[_0x5d0799(0xe4)]},'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513[_0x5d0799(0x339)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':_0x3dc568['shouldCloseConn']},'cmd':_0x2e0be9['cmd']};default:return _0x2e0be9;}}default:return _0x2e0be9;}}function Vn(_0x1a7401){var _0x175ea5=_0x4a9f88;switch(_0x1a7401['cmd']){case F[_0x175ea5(0x315)]:case F[_0x175ea5(0x34c)]:return JSON[_0x175ea5(0x122)]({'cmd':_0x1a7401[_0x175ea5(0x72)],'routeKey':_0x1a7401[_0x175ea5(0xf8)]});case F[_0x175ea5(0x150)]:{let _0x376272;switch(_0x1a7401[_0x175ea5(0x2be)][_0x175ea5(0x334)]){case _0x5db513[_0x175ea5(0x180)]:{_0x376272={'eventID':_0x5db513[_0x175ea5(0x180)],'updateCursorEvent':_0x1a7401[_0x175ea5(0x2be)][_0x175ea5(0x2be)]};break;}case _0x5db513[_0x175ea5(0xd8)]:{_0x376272={'eventID':_0x5db513[_0x175ea5(0xd8)],'leaveEvent':_0x1a7401[_0x175ea5(0x2be)][_0x175ea5(0x2be)]};break;}case _0x5db513['USERS_ENTER']:{_0x376272={'eventID':_0x5db513[_0x175ea5(0x32c)],'joinEvent':_0x1a7401[_0x175ea5(0x2be)][_0x175ea5(0x2be)]};break;}case _0x5db513[_0x175ea5(0x313)]:{_0x376272={'eventID':_0x5db513[_0x175ea5(0x313)],'liveShareNewHost':_0x1a7401['data'][_0x175ea5(0x2be)]};break;}case _0x5db513[_0x175ea5(0x365)]:{_0x376272={'eventID':_0x5db513[_0x175ea5(0x365)],'liveShareOperation':_0x1a7401[_0x175ea5(0x2be)][_0x175ea5(0x2be)]};break;}case _0x5db513[_0x175ea5(0x109)]:{_0x376272={'eventID':_0x5db513[_0x175ea5(0x109)],'liveShareTerminate':_0x1a7401[_0x175ea5(0x2be)][_0x175ea5(0x2be)]};break;}case _0x5db513[_0x175ea5(0x17b)]:{_0x376272={'eventID':_0x5db513['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1a7401[_0x175ea5(0x2be)][_0x175ea5(0x2be)]};break;}case _0x5db513[_0x175ea5(0x252)]:{_0x376272={'eventID':_0x5db513[_0x175ea5(0x252)]};break;}default:_0x376272={'eventID':_0x1a7401[_0x175ea5(0x2be)][_0x175ea5(0x334)]};}return JSON[_0x175ea5(0x122)]({'cmd':_0x1a7401['cmd'],'routeKey':_0x1a7401[_0x175ea5(0xf8)],'collaMsg':_0x376272});}case F[_0x175ea5(0x161)]:return JSON[_0x175ea5(0x122)]({'cmd':_0x1a7401[_0x175ea5(0x72)],'routeKey':_0x1a7401[_0x175ea5(0xf8)],'joinReq':_0x1a7401[_0x175ea5(0x2be)]});case F[_0x175ea5(0x335)]:return JSON[_0x175ea5(0x122)]({'cmd':_0x1a7401['cmd'],'routeKey':_0x1a7401[_0x175ea5(0xf8)],'leaveReq':_0x1a7401[_0x175ea5(0x2be)]});default:throw new Error(_0x175ea5(0xdc));}}var Wn=Object[_0x4a9f88(0x2cf)],Gn=Object[_0x4a9f88(0x80)],Kn=(_0x4e546e,_0x87ec34,_0x2996c2,_0x24ec78)=>{var _0xdf404=_0x4a9f88;for(var _0x11014e=_0x24ec78>0x1?void 0x0:_0x24ec78?Gn(_0x87ec34,_0x2996c2):_0x87ec34,_0x61b628=_0x4e546e[_0xdf404(0x212)]-0x1,_0x479bac;_0x61b628>=0x0;_0x61b628--)(_0x479bac=_0x4e546e[_0x61b628])&&(_0x11014e=(_0x24ec78?_0x479bac(_0x87ec34,_0x2996c2,_0x11014e):_0x479bac(_0x11014e))||_0x11014e);return _0x24ec78&&_0x11014e&&Wn(_0x87ec34,_0x2996c2,_0x11014e),_0x11014e;},Ne=(_0x35a03e,_0x27e6cc)=>(_0x57d568,_0xffec06)=>_0x27e6cc(_0x57d568,_0xffec06,_0x35a03e);const bi=_0x512c69(_0x4a9f88(0x19a));function zn(_0xcb54e4,_0x567086,_0x5aed12){var _0x550832=_0x4a9f88;return _0xcb54e4+'/'+_0x567086+_0x550832(0xb0)+_0x5aed12+_0x550832(0x79);}let Et=class extends _0x1e775a{constructor(_0x46c82a,_0x30643f,_0x588a65,_0x1366a9,_0x87c08d){var _0x5f8916=_0x4a9f88;super(),this['_http']=_0x46c82a,this[_0x5f8916(0x271)]=_0x30643f,this[_0x5f8916(0x1e4)]=_0x588a65,this[_0x5f8916(0x147)]=_0x1366a9,this['_snapshotServerService']=_0x87c08d;}[_0x4a9f88(0x208)](_0x2abd20){var _0x2c25b6=_0x4a9f88;const _0x591664=this['_ws']['createSocket'](_0x2abd20);if(!_0x591664)throw new Error(_0x2c25b6(0xb8));const _0x42e37d=new _0x52d961(),_0xeeb04=new _0x1afd5c();_0x42e37d[_0x2c25b6(0x18c)](_0x591664['close$'][_0x2c25b6(0x1d3)](_0x1d464b=>_0xeeb04[_0x2c25b6(0x36d)](_0x1d464b))),_0x42e37d[_0x2c25b6(0x18c)](_0x150b89(()=>_0xeeb04[_0x2c25b6(0x2ed)]()));const _0x1344b6=new _0x1afd5c();_0x42e37d[_0x2c25b6(0x18c)](_0x591664[_0x2c25b6(0x2c6)][_0x2c25b6(0x1d3)](_0x1839a7=>_0x1344b6[_0x2c25b6(0x36d)](_0x1839a7))),_0x42e37d['add'](_0x150b89(()=>_0x1344b6[_0x2c25b6(0x2ed)]()));const _0x2e04b3=new _0x1afd5c();_0x42e37d[_0x2c25b6(0x18c)](_0x591664['message$'][_0x2c25b6(0x1d3)](_0x12a9ad=>{var _0xb1328b=_0x2c25b6;const _0x2cbe45=Fn(_0x12a9ad);_0x2e04b3[_0xb1328b(0x36d)](_0x2cbe45);})),_0x42e37d[_0x2c25b6(0x18c)](_0x150b89(()=>_0x2e04b3[_0x2c25b6(0x2ed)]()));let _0x6a086f;const _0x1177a0=()=>{var _0x566d32=_0x2c25b6;_0x1344b6[_0x566d32(0x36d)](new Event(_0x566d32(0x160))),_0xeeb04[_0x566d32(0x36d)](new CloseEvent(_0x566d32(0x160))),_0x6a086f[_0x566d32(0x176)]();};return _0x6a086f={'memberID':'','close$':_0xeeb04[_0x2c25b6(0x2ec)](),'error$':_0x1344b6[_0x2c25b6(0x2ec)](),'open$':_0x591664['open$'],'message$':_0x2e04b3[_0x2c25b6(0x2ec)](),'send':_0x5cd284=>{var _0x48b70e=_0x2c25b6;if(_0x5cd284[_0x48b70e(0x72)]===F[_0x48b70e(0x150)]){if(_0x5cd284[_0x48b70e(0x2be)][_0x48b70e(0x334)]===_0x5db513[_0x48b70e(0x171)]){this['_submitChangeset'](_0x6a086f,_0x5cd284['data'])[_0x48b70e(0x258)](_0x26c105=>{var _0x5e7243=_0x48b70e;this[_0x5e7243(0x147)]['error'](_0x26c105),_0x1177a0();});return;}if(_0x5cd284[_0x48b70e(0x2be)][_0x48b70e(0x334)]===_0x5db513[_0x48b70e(0x1ae)]){const _0xfb00b0=_0x5cd284[_0x48b70e(0x2be)];this[_0x48b70e(0x1d2)](_0xfb00b0)['then'](_0x44c6cb=>{var _0x38a327=_0x48b70e;_0x2e04b3['next']({'cmd':F['RECV'],'code':Ee['OK'],'routeKey':_0xfb00b0['data'][_0x38a327(0x2ba)],'routeType':'','data':{'eventID':_0x5db513['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x44c6cb}}});})['catch'](_0xc9f943=>{var _0x15e173=_0x48b70e;this[_0x15e173(0x147)][_0x15e173(0x218)](_0xc9f943),_0x1177a0();});return;}}_0x591664[_0x48b70e(0x19d)](Vn(_0x5cd284));},'close':()=>{var _0x48551a=_0x2c25b6;_0x591664[_0x48551a(0x176)](),_0x42e37d[_0x48551a(0x139)]();}},_0x6a086f;}async[_0x4a9f88(0x319)](_0x51f274,_0x480d03){var _0x1c117f=_0x4a9f88,_0x439a59,_0x40234e;const {unitType:_0x6129e0,unitID:_0x3bee0a,changeset:_0x147d52}=_0x480d03['data'],_0x40400a={'unitID':_0x3bee0a,'memberID':_0x51f274[_0x1c117f(0x2dd)],'type':_0x6129e0,'changeset':_0x1ef5d9(_0x147d52)},_0x4ebdb4=this[_0x1c117f(0x1e4)][_0x1c117f(0xd4)]($n),_0x20d44f=this[_0x1c117f(0x1e4)][_0x1c117f(0xd4)](Y),_0x41c9f6=zn((_0x40234e=(_0x439a59=_0x20d44f==null?void 0x0:_0x20d44f['collabSubmitChangesetUrl'])!=null?_0x439a59:_0x4ebdb4)!=null?_0x40234e:Hn,_0x6129e0,_0x3bee0a);try{await this['_http'][_0x1c117f(0x33e)](_0x41c9f6,{'body':_0x40400a});}catch(_0x364672){throw this['_logService']['error'](_0x1c117f(0x1b4),_0x1c117f(0x274)),_0x364672;}}async[_0x4a9f88(0x1d2)](_0x94ebb6){var _0x126094=_0x4a9f88;const {unitID:_0x6ef8cb,from:_0x1aa8a2,to:_0x5cc83d,unitType:_0x432d93}=_0x94ebb6['data'];return(await this[_0x126094(0x151)][_0x126094(0x312)]({'metadata':void 0x0},{'unitID':_0x6ef8cb,'type':_0x432d93,'from':_0x1aa8a2,'to':_0x5cc83d}))[_0x126094(0x131)];}};Et=Kn([Ne(0x0,_0x2a5019(_0x16868d)),Ne(0x1,_0x2a5019(_0x53211b)),Ne(0x2,_0xd4de74),Ne(0x3,_0x54e63f),Ne(0x4,_0x631d1)],Et);const Yn=_0x4a9f88(0x2a0);function qn(_0x44377e){var _0xfb55c6=_0x4a9f88;return JSON[_0xfb55c6(0x122)](_0x44377e)['length'];}class Ri{constructor(){var _0xa3beaf=_0x4a9f88;N(this,_0xa3beaf(0x9f),new _0x1afd5c()),N(this,_0xa3beaf(0x86),this[_0xa3beaf(0x9f)][_0xa3beaf(0x2ec)]());}[_0x4a9f88(0xf0)](_0x583155){var _0x42aa00=_0x4a9f88;this[_0x42aa00(0x9f)][_0x42aa00(0x36d)](_0x583155);}}var Jn=Object[_0x4a9f88(0x2cf)],Xn=Object[_0x4a9f88(0x80)],Zn=(_0x5ace56,_0x22e99a,_0x1924a1,_0x41d07e)=>{for(var _0x8d2935=_0x41d07e>0x1?void 0x0:_0x41d07e?Xn(_0x22e99a,_0x1924a1):_0x22e99a,_0x2b0002=_0x5ace56['length']-0x1,_0x4e0888;_0x2b0002>=0x0;_0x2b0002--)(_0x4e0888=_0x5ace56[_0x2b0002])&&(_0x8d2935=(_0x41d07e?_0x4e0888(_0x22e99a,_0x1924a1,_0x8d2935):_0x4e0888(_0x8d2935))||_0x8d2935);return _0x41d07e&&_0x8d2935&&Jn(_0x22e99a,_0x1924a1,_0x8d2935),_0x8d2935;},zt=(_0x4eed32,_0x219649)=>(_0xd03992,_0x1d136a)=>_0x219649(_0xd03992,_0x1d136a,_0x4eed32);let Le=class extends _0x1e775a{constructor(_0xd26a59,_0x36920c){var _0x30f0f6=_0x4a9f88;super(),N(this,_0x30f0f6(0x198),new Map()),(this[_0x30f0f6(0x291)]=_0xd26a59,this[_0x30f0f6(0x326)]=_0x36920c,this[_0x30f0f6(0x1c7)](_0x150b89(_0x177cab(this[_0x30f0f6(0x291)]['getTypeOfUnitDisposed$'](_0x89e517[_0x30f0f6(0x1a9)])[_0x30f0f6(0x102)](_0x12f7c6(_0x13f14a=>_0x13f14a['getUnitId']())),this[_0x30f0f6(0x291)][_0x30f0f6(0x115)](_0x89e517[_0x30f0f6(0x324)])[_0x30f0f6(0x102)](_0x12f7c6(_0x15e7c2=>_0x15e7c2[_0x30f0f6(0xf2)]())),this[_0x30f0f6(0x291)]['getTypeOfUnitDisposed$'](_0x89e517['UNIVER_SLIDE'])[_0x30f0f6(0x102)](_0x12f7c6(_0x4a6566=>_0x4a6566[_0x30f0f6(0xf2)]())))['subscribe'](_0x2f8973=>this[_0x30f0f6(0x224)](_0x2f8973)))));}[_0x4a9f88(0xae)](_0x29a0e4){var _0x2362b6=_0x4a9f88;this['_userManagerService'][_0x2362b6(0xae)](_0x29a0e4);}[_0x4a9f88(0x320)](){var _0x114278=_0x4a9f88;return this[_0x114278(0x326)][_0x114278(0x320)]();}[_0x4a9f88(0x371)](_0x3e883f,_0x30e828){var _0x2d9e9e=_0x4a9f88;let _0x2af8db=this[_0x2d9e9e(0x198)][_0x2d9e9e(0x336)](_0x3e883f);_0x2af8db||(_0x2af8db=new Qn(),this[_0x2d9e9e(0x198)]['set'](_0x3e883f,_0x2af8db)),_0x2af8db[_0x2d9e9e(0x371)](_0x30e828);}[_0x4a9f88(0xb7)](_0x2aeeac,_0x45a0c1){var _0x4bd32b=_0x4a9f88;const _0x46dd28=this[_0x4bd32b(0x198)][_0x4bd32b(0x336)](_0x2aeeac);_0x46dd28&&_0x46dd28['removeMember'](_0x45a0c1);}[_0x4a9f88(0x105)](_0x56d4d){var _0x20c784=_0x4a9f88;return this[_0x20c784(0x198)][_0x20c784(0x336)](_0x56d4d);}['getMember'](_0x353ff4,_0x1d073e){var _0x4a7a8b=_0x4a9f88;const _0x31ef5e=this[_0x4a7a8b(0x198)][_0x4a7a8b(0x336)](_0x353ff4);if(_0x31ef5e)return _0x31ef5e['getMember'](_0x1d073e);}['_removeRoom'](_0x3feb98){var _0x5234ba=_0x4a9f88;const _0x1d356d=this[_0x5234ba(0x198)][_0x5234ba(0x336)](_0x3feb98);_0x1d356d&&(_0x1d356d['dispose'](),this[_0x5234ba(0x198)][_0x5234ba(0x14a)](_0x3feb98));}[_0x4a9f88(0x139)](){var _0x574094=_0x4a9f88;this[_0x574094(0x198)][_0x574094(0x2f2)](_0x508dfa=>_0x508dfa[_0x574094(0x139)]()),this['_roomMembers']['clear']();}};Le=Zn([zt(0x0,_0x190ff7),zt(0x1,_0x2a5019(_0x291d58))],Le);class Qn extends _0x1e775a{constructor(){var _0x483be7=_0x4a9f88;super(...arguments),N(this,_0x483be7(0x32e),new Map());}[_0x4a9f88(0x139)](){var _0x16c358=_0x4a9f88;this[_0x16c358(0x32e)][_0x16c358(0x367)]();}[_0x4a9f88(0x371)](_0x4c866c){var _0x196197=_0x4a9f88;this[_0x196197(0x32e)]['set'](_0x4c866c[_0x196197(0x2dd)],_0x4c866c);}[_0x4a9f88(0xb7)](_0x4244a0){var _0x2247e8=_0x4a9f88;this[_0x2247e8(0x32e)][_0x2247e8(0x14a)](_0x4244a0);}[_0x4a9f88(0xfb)](_0x3953b3){var _0x3a2bb3=_0x4a9f88;return this[_0x3a2bb3(0x32e)][_0x3a2bb3(0x336)](_0x3953b3);}[_0x4a9f88(0x7c)](){var _0x87a14=_0x4a9f88;return Array['from'](this[_0x87a14(0x32e)][_0x87a14(0x192)]());}}var se=(_0x3cbabe=>(_0x3cbabe[_0x4a9f88(0x21a)]=_0x4a9f88(0x21a),_0x3cbabe[_0x4a9f88(0x309)]=_0x4a9f88(0x309),_0x3cbabe[_0x4a9f88(0x188)]=_0x4a9f88(0x188),_0x3cbabe[_0x4a9f88(0x1bc)]=_0x4a9f88(0x1bc),_0x3cbabe[_0x4a9f88(0x2e1)]=_0x4a9f88(0x2e1),_0x3cbabe['SOCKET_FAILED_RETRY']=_0x4a9f88(0x242),_0x3cbabe[_0x4a9f88(0x2b7)]=_0x4a9f88(0x2b7),_0x3cbabe[_0x4a9f88(0x29d)]=_0x4a9f88(0x29d),_0x3cbabe))(se||{});class pe{constructor(){var _0x512d60=_0x4a9f88;N(this,_0x512d60(0x28c),new _0x1afd5c()),N(this,_0x512d60(0x20f),this[_0x512d60(0x28c)]['asObservable']());}[_0x4a9f88(0x27b)](_0x35ef3d){var _0x2b8302=_0x4a9f88;this[_0x2b8302(0x28c)][_0x2b8302(0x36d)](_0x35ef3d);}}var es=Object[_0x4a9f88(0x2cf)],ts=Object[_0x4a9f88(0x80)],is=(_0x1a994d,_0x1dbd8a,_0x5915c6,_0x1fcfa5)=>{for(var _0x41eeb1=_0x1fcfa5>0x1?void 0x0:_0x1fcfa5?ts(_0x1dbd8a,_0x5915c6):_0x1dbd8a,_0x4e910b=_0x1a994d['length']-0x1,_0x508fa6;_0x4e910b>=0x0;_0x4e910b--)(_0x508fa6=_0x1a994d[_0x4e910b])&&(_0x41eeb1=(_0x1fcfa5?_0x508fa6(_0x1dbd8a,_0x5915c6,_0x41eeb1):_0x508fa6(_0x41eeb1))||_0x41eeb1);return _0x1fcfa5&&_0x41eeb1&&es(_0x1dbd8a,_0x5915c6,_0x41eeb1),_0x41eeb1;},me=(_0x33c03e,_0x3248fc)=>(_0x30e07b,_0x451a1d)=>_0x3248fc(_0x30e07b,_0x451a1d,_0x33c03e),Ie=(_0x186f61=>(_0x186f61[_0x186f61[_0x4a9f88(0x1eb)]=0x0]='IDLE',_0x186f61[_0x186f61[_0x4a9f88(0x1ac)]=0x1]=_0x4a9f88(0x1ac),_0x186f61[_0x186f61[_0x4a9f88(0x331)]=0x2]=_0x4a9f88(0x331),_0x186f61[_0x186f61['ONLINE']=0x3]=_0x4a9f88(0x1e9),_0x186f61))(Ie||{});const Yt={[Ee[_0x4a9f88(0x2dc)]]:'session.join-failed',[Ee[_0x4a9f88(0x10e)]]:'session.room-full',[Ee[_0x4a9f88(0xa8)]]:_0x4a9f88(0x329),[Ee[_0x4a9f88(0xd9)]]:'session.room-permission-denied',[Ee[_0x4a9f88(0x2c1)]]:_0x4a9f88(0x27d)};let It=class extends _0x2d4049{constructor(_0xfde2d1,_0x314047,_0x266899,_0x17bb74,_0x846f81,_0x123fea,_0x3a2e6e,_0x14cf9f,_0x918079){var _0x4a304b=_0x4a9f88;super(),N(this,_0x4a304b(0x1a3),new _0x20d4d6(0x0)),N(this,_0x4a304b(0x16b),this[_0x4a304b(0x1a3)][_0x4a304b(0x2ec)]()),N(this,_0x4a304b(0x28c),new _0x1afd5c()),N(this,'event$',this['_event$'][_0x4a304b(0x2ec)]()),N(this,_0x4a304b(0x18a)),N(this,_0x4a304b(0x146)),N(this,_0x4a304b(0x260)),N(this,_0x4a304b(0xa7),!0x1),N(this,'_telemetryInfo',null),(this[_0x4a304b(0x2fb)]=_0xfde2d1,this[_0x4a304b(0x147)]=_0x266899,this[_0x4a304b(0x1e4)]=_0x17bb74,this[_0x4a304b(0x16d)]=_0x846f81,this[_0x4a304b(0x2e9)]=_0x123fea,this['_commentService']=_0x3a2e6e,this['_collaborationUIEventService']=_0x14cf9f,this['_telemetryService']=_0x918079,this[_0x4a304b(0xa7)]=!!this[_0x4a304b(0x6f)],_0x314047[_0x4a304b(0x102)](_0x1ba6a5(this['dispose$']))[_0x4a304b(0x1d3)](_0x18afad=>{var _0x54af0c=_0x4a304b,_0x2c3ccb;typeof _0x18afad>'u'||(this[_0x54af0c(0x18a)]=_0x18afad,_0x18afad?(this[_0x54af0c(0xc4)](_0x18afad),this[_0x54af0c(0x146)]=_0x18afad['message$']['subscribe'](_0x17477b=>{_0x17477b['routeKey']===this['_unitID']&&this['_onCombEvent'](_0x17477b);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x54af0c(0x1a3)][_0x54af0c(0x36d)](0x2),(_0x2c3ccb=this[_0x54af0c(0x146)])==null||_0x2c3ccb[_0x54af0c(0x1a0)](),this[_0x54af0c(0x146)]=null));}));}get[_0x4a9f88(0x1ee)](){var _0x4e693d=_0x4a9f88;return this['_sessionStatus$'][_0x4e693d(0x17e)]();}[_0x4a9f88(0xef)](){var _0x2110bf=_0x4a9f88,_0x397f8c,_0x3c72b5;return(_0x3c72b5=(_0x397f8c=this[_0x2110bf(0x18a)])==null?void 0x0:_0x397f8c[_0x2110bf(0x2dd)])!=null?_0x3c72b5:null;}[_0x4a9f88(0x139)](){var _0x26bee1=_0x4a9f88;super[_0x26bee1(0x139)](),this[_0x26bee1(0xa4)][_0x26bee1(0x36d)](),this['dispose$'][_0x26bee1(0x2ed)]();}[_0x4a9f88(0x176)](){var _0x31c334=_0x4a9f88,_0x43c7ea,_0x81188e;this[_0x31c334(0x321)](),(_0x43c7ea=this[_0x31c334(0x18a)])==null||_0x43c7ea[_0x31c334(0x19d)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x31c334(0x2fb)]}}),(_0x81188e=this['_socket'])==null||_0x81188e[_0x31c334(0x176)](),this[_0x31c334(0x28c)][_0x31c334(0x2ed)](),this[_0x31c334(0x1a3)][_0x31c334(0x2ed)](),this[_0x31c334(0x139)]();}[_0x4a9f88(0x287)](_0x283f9a){var _0x452c34=_0x4a9f88;_0x283f9a['cmd']===F[_0x452c34(0x161)]?this[_0x452c34(0x25c)](_0x283f9a):_0x283f9a['cmd']===F[_0x452c34(0x2e7)]&&this['_onRecvEvent'](_0x283f9a);}[_0x4a9f88(0xc4)](_0x4851f2){var _0x24dea5=_0x4a9f88;this[_0x24dea5(0x1a3)]['next'](0x1),_0x4851f2['send']({'cmd':F[_0x24dea5(0x161)],'routeKey':this[_0x24dea5(0x2fb)],'routeType':'','data':{'rooms':[{'roomID':this[_0x24dea5(0x2fb)]}]}});}['_onJoinRoomEvent'](_0x52d273){var _0x580aed=_0x4a9f88,_0xec8c30;if(_0x52d273['code']in Yt){this[_0x580aed(0x87)][_0x580aed(0x27b)]({'id':se[_0x580aed(0x2e1)],'data':Yt[_0x52d273[_0x580aed(0x28b)]]}),this['_sessionStatus$'][_0x580aed(0x36d)](0x2);return;}this['_sessionStatus$'][_0x580aed(0x36d)](0x3);const _0x102aa4=(_0xec8c30=_0x52d273[_0x580aed(0x2be)][_0x580aed(0x173)][this[_0x580aed(0x2fb)]])==null?void 0x0:_0xec8c30[_0x580aed(0xbe)];_0x102aa4&&_0x102aa4[_0x580aed(0x2f2)](_0x34867f=>this[_0x580aed(0x2e9)][_0x580aed(0x371)](this[_0x580aed(0x2fb)],_0x34867f));}[_0x4a9f88(0x168)](_0x2266d7){var _0x18e14d=_0x4a9f88;try{const _0x5b1163=_0x2266d7[_0x18e14d(0x2be)];switch(_0x5b1163[_0x18e14d(0x334)]){case _0x5db513[_0x18e14d(0x32c)]:this[_0x18e14d(0x15e)](_0x5b1163),this['_event$'][_0x18e14d(0x36d)](_0x5b1163);break;case _0x5db513[_0x18e14d(0xd8)]:this[_0x18e14d(0x22e)](_0x5b1163),this['_event$']['next'](_0x5b1163);break;case _0x5db513[_0x18e14d(0x1a8)]:case _0x5db513[_0x18e14d(0x1d9)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x18e14d(0x1c6)](),this[_0x18e14d(0x28c)][_0x18e14d(0x36d)](_0x5b1163);break;case _0x5db513[_0x18e14d(0x322)]:this[_0x18e14d(0x147)][_0x18e14d(0x218)](_0x18e14d(0x24a)+JSON[_0x18e14d(0x122)](_0x5b1163)),this[_0x18e14d(0x28c)]['next'](_0x5b1163);break;case _0x5db513['COMMENT_UPDATE']:this[_0x18e14d(0x172)][_0x18e14d(0xf0)](_0x5b1163[_0x18e14d(0x2be)]),this[_0x18e14d(0x28c)][_0x18e14d(0x36d)](_0x5b1163);break;default:this[_0x18e14d(0x28c)][_0x18e14d(0x36d)](_0x5b1163);}}catch(_0x46a757){this[_0x18e14d(0x147)][_0x18e14d(0x218)](_0x46a757,_0x2266d7);}}[_0x4a9f88(0x15e)](_0x4a27fb){var _0xd2f50f=_0x4a9f88;this['_memberService'][_0xd2f50f(0x371)](this['_unitID'],_0x4a27fb[_0xd2f50f(0x2be)]);}[_0x4a9f88(0x22e)](_0x2b7fcd){var _0x5aecf9=_0x4a9f88;this[_0x5aecf9(0x2e9)]['removeMember'](this[_0x5aecf9(0x2fb)],_0x2b7fcd[_0x5aecf9(0x2be)][_0x5aecf9(0x2dd)]);}async[_0x4a9f88(0x19d)](_0x3fca66,_0x2b996e){var _0x455d1c=_0x4a9f88;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x455d1c(0x1ff));try{_0x3fca66[_0x455d1c(0x334)]===_0x5db513[_0x455d1c(0x171)]&&(this[_0x455d1c(0x183)](),this[_0x455d1c(0x30a)](_0x3fca66)),this[_0x455d1c(0x18a)][_0x455d1c(0x19d)]({'cmd':F['INGEST'],'routeKey':_0x2b996e,'routeType':'','data':_0x3fca66});}catch(_0x3fc636){this['_logService'][_0x455d1c(0x218)](_0x3fc636);}}[_0x4a9f88(0x183)](){var _0x2fa1a4=_0x4a9f88,_0x2c611f;this[_0x2fa1a4(0x260)]=window[_0x2fa1a4(0x364)](()=>{var _0x4a3e53=_0x2fa1a4;this[_0x4a3e53(0x260)]=null,this[_0x4a3e53(0x87)][_0x4a3e53(0x27b)]({'id':se[_0x4a3e53(0x29d)]});},(_0x2c611f=this[_0x2fa1a4(0x1e4)][_0x2fa1a4(0xd4)](Ei))!=null?_0x2c611f:Ii);}['_clearCollaborationTimeoutTimer'](){var _0x180eb8=_0x4a9f88;this[_0x180eb8(0x260)]&&(clearTimeout(this[_0x180eb8(0x260)]),this[_0x180eb8(0x260)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x5e675b){var _0x2e2dbf=_0x4a9f88;if(!this[_0x2e2dbf(0xa7)])return;const {data:_0x5be4fd}=_0x5e675b,{unitID:_0x2240d0,changeset:_0x4c1204}=_0x5be4fd,{mutations:_0x26665a,type:_0x284bcf}=_0x4c1204;this[_0x2e2dbf(0x13c)]={'unitId':_0x2240d0,'type':_0x284bcf,'startTime':performance[_0x2e2dbf(0xac)](),'stopTime':0x0,'duration':0x0,'size':qn(_0x26665a)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x18aed1=_0x4a9f88;if(this[_0x18aed1(0xa7)]){if(!this[_0x18aed1(0x13c)]){this[_0x18aed1(0x147)][_0x18aed1(0x218)](_0x18aed1(0x1b4),_0x18aed1(0x1fb));return;}this[_0x18aed1(0x13c)][_0x18aed1(0x303)]=performance[_0x18aed1(0xac)](),this[_0x18aed1(0x13c)][_0x18aed1(0x2da)]=this[_0x18aed1(0x13c)][_0x18aed1(0x303)]-this[_0x18aed1(0x13c)][_0x18aed1(0x297)],this[_0x18aed1(0x6f)]['capture'](Yn,this['_telemetryInfo']),this[_0x18aed1(0x13c)]=null;}}[_0x4a9f88(0x321)](){var _0xf63dcf=_0x4a9f88;this[_0xf63dcf(0x13c)]=null;}};It=is([me(0x2,_0x54e63f),me(0x3,_0xd4de74),me(0x4,_0x2a5019(_0x187ee3)),me(0x5,_0x2a5019(Le)),me(0x6,_0x2a5019(Ri)),me(0x7,_0x2a5019(pe)),me(0x8,_0x39b9b2(_0x2c93fb))],It);var ns=Object[_0x4a9f88(0x2cf)],ss=Object[_0x4a9f88(0x80)],rs=(_0x205b82,_0x251a20,_0x46b3a8,_0x46a4c6)=>{var _0x3335b4=_0x4a9f88;for(var _0x1ba8d3=_0x46a4c6>0x1?void 0x0:_0x46a4c6?ss(_0x251a20,_0x46b3a8):_0x251a20,_0x5ab94d=_0x205b82[_0x3335b4(0x212)]-0x1,_0x56d64;_0x5ab94d>=0x0;_0x5ab94d--)(_0x56d64=_0x205b82[_0x5ab94d])&&(_0x1ba8d3=(_0x46a4c6?_0x56d64(_0x251a20,_0x46b3a8,_0x1ba8d3):_0x56d64(_0x1ba8d3))||_0x1ba8d3);return _0x46a4c6&&_0x1ba8d3&&ns(_0x251a20,_0x46b3a8,_0x1ba8d3),_0x1ba8d3;},ge=(_0x584aa6,_0x37d674)=>(_0xb5ee39,_0x555d82)=>_0x37d674(_0xb5ee39,_0x555d82,_0x584aa6);let Me=class extends _0x1e775a{constructor(_0xe6626b,_0x5b9536,_0x47cad4,_0x4a5be5,_0x7406fb,_0x354af4,_0x329b65){var _0x22281b=_0x4a9f88;super(),N(this,_0x22281b(0x2e6),new _0x20d4d6(void 0x0)),N(this,_0x22281b(0x2d3),this[_0x22281b(0x2e6)][_0x22281b(0x2ec)]()),N(this,_0x22281b(0x16f),null),N(this,_0x22281b(0x35c),new Map()),N(this,_0x22281b(0x29e),new _0x20d4d6(Ie[_0x22281b(0x1eb)])),N(this,'status$',this[_0x22281b(0x29e)][_0x22281b(0x2ec)]()),N(this,_0x22281b(0x26c),!0x1),N(this,_0x22281b(0x246)),N(this,'_retryCount',0x0),N(this,_0x22281b(0x345)),N(this,_0x22281b(0x95)),(this[_0x22281b(0x2d2)]=_0xe6626b,this['_localeService']=_0x5b9536,this[_0x22281b(0x147)]=_0x47cad4,this['_configService']=_0x4a5be5,this[_0x22281b(0x16a)]=_0x7406fb,this[_0x22281b(0x110)]=_0x354af4,this['_collaborationUIEventService']=_0x329b65,this['_initEventListeners']());}get['_socket'](){var _0x1a96d6=_0x4a9f88;return this[_0x1a96d6(0x2e6)][_0x1a96d6(0x17e)]();}[_0x4a9f88(0x14b)](){var _0x1f9115=_0x4a9f88;this[_0x1f9115(0x199)](),this[_0x1f9115(0x106)]();}['dispose'](){var _0x2612f6=_0x4a9f88;super[_0x2612f6(0x139)](),this[_0x2612f6(0x35c)][_0x2612f6(0x2f2)](_0x58558b=>_0x58558b['dispose']()),this[_0x2612f6(0x35c)][_0x2612f6(0x367)](),this[_0x2612f6(0x29e)][_0x2612f6(0x2ed)]();}async[_0x4a9f88(0x2d5)](_0x5902c6){var _0x454b4f=_0x4a9f88;if(this[_0x454b4f(0x35c)][_0x454b4f(0x292)](_0x5902c6))return this['_sessions'][_0x454b4f(0x336)](_0x5902c6);this[_0x454b4f(0x26b)]();const _0x377655=this[_0x454b4f(0x2d2)]['createInstance'](It,_0x5902c6,this[_0x454b4f(0x2e6)][_0x454b4f(0x2ec)]());return this['_sessions'][_0x454b4f(0x1b3)](_0x5902c6,_0x377655),_0x377655;}[_0x4a9f88(0x304)](_0x177f52){var _0x17f77f=_0x4a9f88,_0x3367c6;const _0x2dba07=this[_0x17f77f(0x35c)][_0x17f77f(0x336)](_0x177f52);_0x2dba07&&(this[_0x17f77f(0x35c)][_0x17f77f(0x14a)](_0x177f52),_0x2dba07['close']()),this[_0x17f77f(0x35c)][_0x17f77f(0x231)]||(_0x3367c6=this[_0x17f77f(0x18a)])==null||_0x3367c6['close']();}[_0x4a9f88(0x347)](){var _0x1cf47d=_0x4a9f88;this[_0x1cf47d(0x240)]=0x0,this[_0x1cf47d(0x246)]!=null&&(clearTimeout(this[_0x1cf47d(0x246)]),this['_retryConnectingTimer']=null),this[_0x1cf47d(0x14e)]();}async[_0x4a9f88(0x170)](){var _0x15be8b=_0x4a9f88,_0x1b5ff3,_0x555e0c,_0x4b505b;const _0x88348d=this[_0x15be8b(0x1e4)][_0x15be8b(0xd4)](Y),_0x5ccb32=(_0x1b5ff3=_0x88348d==null?void 0x0:_0x88348d[_0x15be8b(0x1f2)])!=null?_0x1b5ff3:wn;return(_0x4b505b=(_0x555e0c=(await this[_0x15be8b(0x110)][_0x15be8b(0x336)](_0x5ccb32,{'headers':{'Content-Type':_0x15be8b(0x2d1)}}))['body'])==null?void 0x0:_0x555e0c[_0x15be8b(0x256)])!=null?_0x4b505b:'';}[_0x4a9f88(0x33b)](_0x1bdacb){var _0x139a21=_0x4a9f88,_0x2ea708,_0x8a8b6c;const _0x3f14a3=this[_0x139a21(0x1e4)][_0x139a21(0xd4)](Dn),_0x17dc8f=this[_0x139a21(0x1e4)]['getConfig'](Y),_0x11f7b4=(_0x8a8b6c=(_0x2ea708=_0x17dc8f==null?void 0x0:_0x17dc8f[_0x139a21(0xb9)])!=null?_0x2ea708:_0x3f14a3)!=null?_0x8a8b6c:Nn,_0x3b0981=new URL(_0x11f7b4,window[_0x139a21(0x1e7)]['origin']);return _0x3b0981[_0x139a21(0x316)][_0x139a21(0x1b3)](_0x139a21(0x283),_0x1bdacb),_0x3b0981[_0x139a21(0x2ef)]();}async[_0x4a9f88(0x2ea)](){var _0x5b01f8=_0x4a9f88;const _0x424167=await this[_0x5b01f8(0x170)](),_0x433d0b=this['_createSocketURL'](_0x424167),_0x46ca41=this[_0x5b01f8(0x16a)][_0x5b01f8(0x208)](_0x433d0b);return this[_0x5b01f8(0x16f)]=_0x46ca41,_0x46ca41;}async['_tryEnsureSocket'](){var _0xf053b4=_0x4a9f88,_0x52af2b,_0x2dd8bd;try{const _0x21d020=(_0x2dd8bd=(_0x52af2b=this[_0xf053b4(0x18a)])!=null?_0x52af2b:this[_0xf053b4(0x16f)])!=null?_0x2dd8bd:await this[_0xf053b4(0x2ea)]();if(_0x21d020){const _0x4cc388=_0x21d020[_0xf053b4(0x19d)];_0x21d020[_0xf053b4(0x19d)]=_0x90fcce=>(this[_0xf053b4(0x27c)](),_0x4cc388[_0xf053b4(0xa3)](_0x21d020,[_0x90fcce])),_0x21d020['message$'][_0xf053b4(0x1d3)](_0xe72646=>this[_0xf053b4(0x311)](_0x21d020,_0xe72646)),_0x21d020[_0xf053b4(0x2c6)][_0xf053b4(0x102)](_0x54c496(0x1))[_0xf053b4(0x1d3)](_0x3109dd=>this['_logService'][_0xf053b4(0x218)](_0xf053b4(0x25e),_0x3109dd)),_0x21d020[_0xf053b4(0x360)][_0xf053b4(0x102)](_0x54c496(0x1))[_0xf053b4(0x1d3)](()=>{this['_onConnectionOpen'](_0x21d020);}),_0x21d020[_0xf053b4(0x20e)][_0xf053b4(0x102)](_0x54c496(0x1))[_0xf053b4(0x1d3)](_0x25a388=>{var _0x279205=_0xf053b4;this[_0x279205(0x147)][_0x279205(0x302)](_0x279205(0x2f8),_0x279205(0x28d),_0x25a388),this[_0x279205(0x34d)]();});}}catch(_0x1f341b){this[_0xf053b4(0x147)]['error'](_0x1f341b),this[_0xf053b4(0x34d)]();}}[_0x4a9f88(0x12f)](_0x3390ce){var _0x74bd1c=_0x4a9f88;this[_0x74bd1c(0x147)]['debug']('[CollaborationSessionService]',_0x74bd1c(0x333)),_0x3390ce['send']({'cmd':F[_0x74bd1c(0x34c)]}),this['_rescheduleHeartbeat']();}[_0x4a9f88(0x199)](){var _0x142501=_0x4a9f88;window[_0x142501(0x1c8)](_0x142501(0x1bd),()=>this[_0x142501(0x2e2)]());}[_0x4a9f88(0x2e2)](){var _0x55fcb3=_0x4a9f88;this[_0x55fcb3(0x26c)]=!0x1,this[_0x55fcb3(0x16f)]=null,this['_status$'][_0x55fcb3(0x36d)](Ie[_0x55fcb3(0x331)]),this[_0x55fcb3(0x2e6)]['next'](null),this[_0x55fcb3(0x290)](),this[_0x55fcb3(0x344)]();}[_0x4a9f88(0x34d)](){var _0x15b830=_0x4a9f88,_0x56b418;this[_0x15b830(0x2e2)](),this['_retryCount']<((_0x56b418=this['_configService'][_0x15b830(0xd4)](Ln))!=null?_0x56b418:Mn)?(this['_collaborationUIEventService']['emitEvent']({'id':se['SOCKET_FAILED_RETRY']}),this[_0x15b830(0x14e)]()):this['_collaborationUIEventService'][_0x15b830(0x27b)]({'id':se[_0x15b830(0x2b7)]});}['_listenToOnlineEvent'](){var _0x628715=_0x4a9f88;const _0x174aac=()=>{var _0x2826b5=_0x30f1;this['_socket']||this[_0x2826b5(0x347)]();},_0x36378d=()=>{var _0x425dd4=_0x30f1;this[_0x425dd4(0x18a)]||document[_0x425dd4(0x1c3)]==='hidden'||this[_0x425dd4(0x347)]();};window['addEventListener'](_0x628715(0x2c9),_0x174aac),document[_0x628715(0x1c8)](_0x628715(0x10f),_0x36378d);}[_0x4a9f88(0x14e)](){var _0x66a8b6=_0x4a9f88,_0x37e9ff;const _0x382cda=this[_0x66a8b6(0x240)],_0x5eee0b=this['_configService'][_0x66a8b6(0xd4)](Y),_0x162fd7=_0x382cda===0x0?0x0:((_0x37e9ff=_0x5eee0b==null?void 0x0:_0x5eee0b['retryConnectingInterval'])!=null?_0x37e9ff:xn)*0x2**_0x382cda;this[_0x66a8b6(0x246)]=window[_0x66a8b6(0x364)](()=>{var _0x4d6db3=_0x66a8b6;clearTimeout(this[_0x4d6db3(0x246)]),this[_0x4d6db3(0x246)]=null,this[_0x4d6db3(0x26b)]();},_0x162fd7),this[_0x66a8b6(0x240)]+=0x1;}[_0x4a9f88(0x311)](_0x3a9244,_0x3ad4b9){var _0xc1b312=_0x4a9f88;const {cmd:_0x37e102}=_0x3ad4b9;_0x37e102===F['HELLO']&&!this[_0xc1b312(0x26c)]&&(_0x3a9244[_0xc1b312(0x2dd)]=_0x3ad4b9['data'][_0xc1b312(0x2dd)],this['_socket$'][_0xc1b312(0x36d)](_0x3a9244),this[_0xc1b312(0x29e)][_0xc1b312(0x36d)](Ie[_0xc1b312(0x1e9)]),this[_0xc1b312(0x26c)]=!0x0,this[_0xc1b312(0x16f)]=null),_0x37e102===F[_0xc1b312(0x315)]&&this[_0xc1b312(0x290)](),this[_0xc1b312(0x27c)]();}[_0x4a9f88(0x27c)](){var _0x27e72a=_0x4a9f88,_0x410672;this[_0x27e72a(0x344)](),this[_0x27e72a(0x345)]=window['setTimeout'](()=>this[_0x27e72a(0x9e)](),(_0x410672=this['_configService'][_0x27e72a(0xd4)](Un))!=null?_0x410672:An);}[_0x4a9f88(0x9e)](){var _0x93e39c=_0x4a9f88;this['_socket'][_0x93e39c(0x19d)]({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x4a9f88(0x13e)](){var _0x5c939f=_0x4a9f88,_0x151063;this['_timeoutTimer']=window[_0x5c939f(0x364)](()=>this['_onConnectionFailed'](),(_0x151063=this[_0x5c939f(0x1e4)][_0x5c939f(0xd4)](Ei))!=null?_0x151063:Ii);}[_0x4a9f88(0x344)](){var _0x33a67e=_0x4a9f88;this[_0x33a67e(0x345)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x33a67e(0x345)]=null);}[_0x4a9f88(0x290)](){var _0x15e0bd=_0x4a9f88;this[_0x15e0bd(0x95)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x15e0bd(0x95)]=null);}};Me=rs([ge(0x0,_0x2a5019(_0x78bf92)),ge(0x1,_0x2a5019(_0x187ee3)),ge(0x2,_0x54e63f),ge(0x3,_0xd4de74),ge(0x4,bi),ge(0x5,_0x2a5019(_0x16868d)),ge(0x6,_0x2a5019(pe))],Me);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x4a9f88(0x2ef)](0x10)[_0x4a9f88(0x2bb)](0x1));function os(_0x3d7699,_0x46c3cc=0x0){return(V[_0x3d7699[_0x46c3cc+0x0]]+V[_0x3d7699[_0x46c3cc+0x1]]+V[_0x3d7699[_0x46c3cc+0x2]]+V[_0x3d7699[_0x46c3cc+0x3]]+'-'+V[_0x3d7699[_0x46c3cc+0x4]]+V[_0x3d7699[_0x46c3cc+0x5]]+'-'+V[_0x3d7699[_0x46c3cc+0x6]]+V[_0x3d7699[_0x46c3cc+0x7]]+'-'+V[_0x3d7699[_0x46c3cc+0x8]]+V[_0x3d7699[_0x46c3cc+0x9]]+'-'+V[_0x3d7699[_0x46c3cc+0xa]]+V[_0x3d7699[_0x46c3cc+0xb]]+V[_0x3d7699[_0x46c3cc+0xc]]+V[_0x3d7699[_0x46c3cc+0xd]]+V[_0x3d7699[_0x46c3cc+0xe]]+V[_0x3d7699[_0x46c3cc+0xf]])['toLowerCase']();}let ut;const as=new Uint8Array(0x10);function cs(){var _0x5a96dd=_0x4a9f88;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x5a96dd(0x84));ut=crypto['getRandomValues'][_0x5a96dd(0x2aa)](crypto);}return ut(as);}const hs=typeof crypto<'u'&&crypto[_0x4a9f88(0x166)]&&crypto['randomUUID']['bind'](crypto),qt={'randomUUID':hs};function _s(_0x4626c6,_0x4237ff,_0x4186bb){var _0x166899=_0x4a9f88;if(qt[_0x166899(0x166)]&&!_0x4237ff&&!_0x4626c6)return qt[_0x166899(0x166)]();_0x4626c6=_0x4626c6||{};const _0x4a492e=_0x4626c6[_0x166899(0x217)]||(_0x4626c6['rng']||cs)();return _0x4a492e[0x6]=_0x4a492e[0x6]&0xf|0x40,_0x4a492e[0x8]=_0x4a492e[0x8]&0x3f|0x80,os(_0x4a492e);}const X=_0x512c69(_0x4a9f88(0x2cb));function ao(_0x18e416){return'unit-cache-'+_0x18e416;}var ls=Object[_0x4a9f88(0x2cf)],us=Object[_0x4a9f88(0x80)],ds=(_0x4908f6,_0x35f9c4,_0x336e5f,_0x3ffaa3)=>{var _0x48e81f=_0x4a9f88;for(var _0x199bab=_0x3ffaa3>0x1?void 0x0:_0x3ffaa3?us(_0x35f9c4,_0x336e5f):_0x35f9c4,_0x24ae7d=_0x4908f6[_0x48e81f(0x212)]-0x1,_0x12f97a;_0x24ae7d>=0x0;_0x24ae7d--)(_0x12f97a=_0x4908f6[_0x24ae7d])&&(_0x199bab=(_0x3ffaa3?_0x12f97a(_0x35f9c4,_0x336e5f,_0x199bab):_0x12f97a(_0x199bab))||_0x199bab);return _0x3ffaa3&&_0x199bab&&ls(_0x35f9c4,_0x336e5f,_0x199bab),_0x199bab;},dt=(_0x2f2444,_0x48e4b4)=>(_0x149bea,_0xe842a4)=>_0x48e4b4(_0x149bea,_0xe842a4,_0x2f2444);function fs(_0x255765){const {unitID:_0x219da7,mutations:_0x27c79b}=_0x255765;return{'unitId':_0x219da7,'subUnitId':_0x27c79b[0x0]['params']['subUnitId']};}let nt=class{constructor(_0x1671d2,_0x1e8b26,_0xaa0d84){var _0x22ce74=_0x4a9f88;this[_0x22ce74(0x2d2)]=_0x1671d2,this['_transformService']=_0x1e8b26,this[_0x22ce74(0x29b)]=_0xaa0d84;}[_0x4a9f88(0x26d)](_0x18560a){var _0x519647=_0x4a9f88,_0x3a2df0,_0x499276,_0x155a5f,_0x5ab7ee;const _0x5038c8=this[_0x519647(0x2d2)][_0x519647(0x336)](_0x7418f7),{unitId:_0x542ff6,subUnitId:_0x2a9517}=fs(_0x18560a),_0x5e2926=_0x5038c8==null?void 0x0:_0x5038c8[_0x519647(0x238)](_0x542ff6)['getCurrentSelections'](),_0x36994=(_0x499276=(_0x3a2df0=this[_0x519647(0x29b)]['getUnit'](_0x542ff6))==null?void 0x0:_0x3a2df0[_0x519647(0x22c)]())==null?void 0x0:_0x499276[_0x519647(0x308)]();if(_0x5e2926[_0x519647(0x212)]===0x0||!_0x542ff6||!_0x2a9517)return;const _0x4213e8=[{'id':_0x328cd6['id'],'params':{'unitId':_0x542ff6,'subUnitId':_0x36994,'selections':_0x2c1d8d[_0x519647(0x325)](_0x5e2926)}}],_0x3eb9e0=this[_0x519647(0x31c)][_0x519647(0x31a)](_0x18560a,_0x4213e8);if(!_0x47dc85(_0x3eb9e0))throw _0x3eb9e0[_0x519647(0x218)];const _0x3455d0=(_0x5ab7ee=(_0x155a5f=_0x3eb9e0[_0x519647(0xab)][0x0])==null?void 0x0:_0x155a5f[_0x519647(0x1de)])==null?void 0x0:_0x5ab7ee[_0x519647(0x114)];if(Array[_0x519647(0x250)](_0x3455d0)&&_0x3455d0[_0x519647(0x212)]){if(_0x3455d0['length']===_0x4213e8[0x0][_0x519647(0x1de)][_0x519647(0x114)][_0x519647(0x212)]&&_0x3455d0[_0x519647(0x1cb)]((_0x1d8ba9,_0x4a7b78)=>_0x2bb0a0[_0x519647(0x9a)](_0x1d8ba9['range'],_0x4213e8[0x0][_0x519647(0x1de)][_0x519647(0x114)][_0x4a7b78][_0x519647(0x277)])))return;this[_0x519647(0x2d2)][_0x519647(0x336)](_0x28ed93)[_0x519647(0x127)](_0x328cd6['id'],{'unitId':_0x542ff6,'subUnitId':_0x36994,'selections':_0x3455d0});}}};nt=ds([dt(0x0,_0x2a5019(_0x78bf92)),dt(0x1,_0xa95f58),dt(0x2,_0x190ff7)],nt);const ht=_0x512c69('univer-pro.collaboration-client.single-active-unit-service');var yi=(_0x36ca6a=>(_0x36ca6a[_0x36ca6a[_0x4a9f88(0xa9)]=0x0]=_0x4a9f88(0xa9),_0x36ca6a[_0x36ca6a[_0x4a9f88(0xe9)]=0x1]=_0x4a9f88(0xe9),_0x36ca6a))(yi||{});const vs=new Set([_0x4a0115['id']]);function Jt(_0x231411,_0x38d8e2,_0x34a42f,_0x2ae44e,_0x8fd1fe){var _0x493812=_0x4a9f88,_0x40d98a,_0xdda7b4,_0x37e755,_0xbd8e8c;const _0x4eeae8=[];for(const _0x3a4b39 of _0x231411)if(vs[_0x493812(0x292)](_0x3a4b39['id'])){if(_0x4eeae8[_0x493812(0x212)]>0x0)break;_0x4eeae8[_0x493812(0x257)](_0x3a4b39);break;}else _0x4eeae8[_0x493812(0x257)](_0x3a4b39);const _0x444a39=(_0xdda7b4=(_0x40d98a=_0x8fd1fe[_0x493812(0x320)]())==null?void 0x0:_0x40d98a[_0x493812(0x343)])!=null?_0xdda7b4:_0x493812(0x2ca),_0x26d8d5=(_0xbd8e8c=(_0x37e755=_0x8fd1fe[_0x493812(0x320)]())==null?void 0x0:_0x37e755[_0x493812(0x2dd)])!=null?_0xbd8e8c:_0x493812(0x2ca);return{'changeset':{'unitID':_0x38d8e2,'type':_0x4ac429(_0x34a42f[_0x493812(0x22b)](_0x38d8e2)),'baseRev':_0x2ae44e[_0x493812(0x22f)](_0x38d8e2),'revision':0x0,'userID':_0x444a39,'memberID':_0x26d8d5,'mutations':_0x4eeae8},'pendingMutations':_0x231411[_0x493812(0x2bb)](_0x4eeae8[_0x493812(0x212)])};}function ps(_0x34d60a,_0x28b2d2,_0x23deb8,_0x81ab5a,_0x6c8976){var _0x56fe88=_0x4a9f88,_0x1d3679,_0x4983e3,_0x29e2a8,_0x36d980;const _0x49ce16=[_0x34d60a[_0x56fe88(0x340)]((_0x3d772e,_0x39e59f)=>{var _0x496ddb=_0x56fe88,_0x138151;const {id:_0x27d607}=_0x3d772e,{id:_0x4250e2,type:_0x4572d9}=_0x39e59f,_0x424dd1=(_0x138151=_0x3d772e[_0x496ddb(0x1de)])!=null?_0x138151:{'actions':null},_0x4e4218=_0x39e59f['params'];if(_0x27d607&&_0x27d607!==_0x4250e2)throw new Error(_0x496ddb(0x1f6)+_0x27d607+'\x20-\x20'+_0x4250e2+'.');return{..._0x3d772e,'id':_0x4250e2,'type':_0x4572d9,'params':{'unitId':_0x4e4218[_0x496ddb(0x23e)],'textRanges':_0x4e4218[_0x496ddb(0x19b)],'actions':_0x5cc6e6[_0x496ddb(0x349)](_0x424dd1[_0x496ddb(0xb6)],_0x4e4218[_0x496ddb(0xb6)])}};},{})],_0x7f19b7=(_0x4983e3=(_0x1d3679=_0x6c8976[_0x56fe88(0x320)]())==null?void 0x0:_0x1d3679[_0x56fe88(0x343)])!=null?_0x4983e3:_0x56fe88(0x2ca),_0x2734dc=(_0x36d980=(_0x29e2a8=_0x6c8976[_0x56fe88(0x320)]())==null?void 0x0:_0x29e2a8['memberID'])!=null?_0x36d980:_0x56fe88(0x2ca);return{'changeset':{'unitID':_0x28b2d2,'type':_0x4ac429(_0x23deb8[_0x56fe88(0x22b)](_0x28b2d2)),'baseRev':_0x81ab5a[_0x56fe88(0x22f)](_0x28b2d2),'revision':0x0,'userID':_0x7f19b7,'memberID':_0x2734dc,'mutations':_0x49ce16},'pendingMutations':[]};}function Oi(_0x5b2e2f,_0x319edf){var _0x342c0b=_0x4a9f88;const _0x40eeab=new _0x22b000(0x1);return setTimeout(()=>_0x40eeab[_0x342c0b(0x36d)](_0x319edf),_0x5b2e2f),_0x40eeab[_0x342c0b(0x2ec)]()['pipe'](_0x59a862(0x1));}const ms={'id':_0x30fb55['id'],'type':_0x23afc1[_0x4a9f88(0x23f)],'params':{}};var gs=Object['defineProperty'],Ss=Object[_0x4a9f88(0x80)],be=(_0x90de1c,_0x13f883,_0xc3637e,_0x373ca0)=>{var _0x1eb143=_0x4a9f88;for(var _0x51e1bf=_0x373ca0>0x1?void 0x0:_0x373ca0?Ss(_0x13f883,_0xc3637e):_0x13f883,_0x243102=_0x90de1c[_0x1eb143(0x212)]-0x1,_0x37a323;_0x243102>=0x0;_0x243102--)(_0x37a323=_0x90de1c[_0x243102])&&(_0x51e1bf=(_0x373ca0?_0x37a323(_0x13f883,_0xc3637e,_0x51e1bf):_0x37a323(_0x51e1bf))||_0x51e1bf);return _0x373ca0&&_0x51e1bf&&gs(_0x13f883,_0xc3637e,_0x51e1bf),_0x51e1bf;},A=(_0xc6ec8a,_0x31ca10)=>(_0x2a1e2e,_0x45abff)=>_0x31ca10(_0x2a1e2e,_0x45abff,_0xc6ec8a),Pi=(_0x5d1cf4=>(_0x5d1cf4[_0x4a9f88(0x284)]=_0x4a9f88(0x36c),_0x5d1cf4[_0x4a9f88(0x1dc)]=_0x4a9f88(0x2d6),_0x5d1cf4[_0x4a9f88(0x33d)]=_0x4a9f88(0x225),_0x5d1cf4[_0x4a9f88(0x13b)]=_0x4a9f88(0x2f5),_0x5d1cf4[_0x4a9f88(0x107)]='awaiting_with_pending',_0x5d1cf4['FETCH_MISS']=_0x4a9f88(0x1f7),_0x5d1cf4[_0x4a9f88(0x188)]=_0x4a9f88(0xf9),_0x5d1cf4[_0x4a9f88(0x331)]='offline',_0x5d1cf4))(Pi||{});const Di=0xea60;class Re{constructor(_0x33e919,_0x3f5799,_0xd82aac,_0x5b7ef1,_0x59afc9,_0x54ecea,_0x484b12,_0x43f57a,_0x177bb2){var _0x1a9807=_0x4a9f88;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this['unitID']=_0x33e919,this['type']=_0x3f5799,this[_0x1a9807(0x113)]=_0x59afc9,this[_0x1a9807(0x307)]=_0x54ecea,this[_0x1a9807(0x136)]=_0x484b12,this['_revisionService']=_0x43f57a,this[_0x1a9807(0x2ad)]=_0x177bb2,this[_0x1a9807(0x241)]=_0xd82aac,this[_0x1a9807(0x75)]=_0x5b7ef1);}[_0x4a9f88(0xa0)](_0x317719){var _0x346472=_0x4a9f88;const _0xebab28=this[_0x346472(0x34e)][_0x346472(0x22f)](this[_0x346472(0x2ba)]);return _0x317719['revision']>_0xebab28+0x1?(this[_0x346472(0x113)][_0x346472(0x25a)]({'from':_0xebab28,'to':_0x317719[_0x346472(0x32a)]-0x1}),!0x0):!0x1;}[_0x4a9f88(0x134)](_0x55e610){var _0x2363dc=_0x4a9f88;this[_0x2363dc(0x136)][_0x2363dc(0x17d)](this[_0x2363dc(0x2ba)],_0x55e610);}[_0x4a9f88(0x81)](_0x3b0342){var _0x3fa7ef=_0x4a9f88,_0x3a82f4,_0x4800a2;(_0x4800a2=(_0x3a82f4=this[_0x3fa7ef(0x113)])[_0x3fa7ef(0x317)])==null||_0x4800a2[_0x3fa7ef(0x2ce)](_0x3a82f4,_0x3b0342);}[_0x4a9f88(0x133)](_0x17d48e){var _0x2fdeb0=_0x4a9f88,_0x5e2344,_0x49de86;return(_0x49de86=(_0x5e2344=this[_0x2fdeb0(0x113)])[_0x2fdeb0(0x89)])==null?void 0x0:_0x49de86[_0x2fdeb0(0x2ce)](_0x5e2344,_0x17d48e);}[_0x4a9f88(0x19c)](_0x46a32f){var _0xafb05f=_0x4a9f88,_0x5729b4,_0x12c1ba;return(_0x12c1ba=(_0x5729b4=this[_0xafb05f(0x113)])['onTransformState'])==null?void 0x0:_0x12c1ba[_0xafb05f(0x2ce)](_0x5729b4,_0x46a32f);}['_transformRemoteChangesetByIMECache'](_0x5a6cbf){var _0x1b73e5=_0x4a9f88,_0x5e506d,_0x4d0514,_0x4e9adc;return(_0x4e9adc=(_0x4d0514=(_0x5e506d=this[_0x1b73e5(0x113)])[_0x1b73e5(0x2a4)])==null?void 0x0:_0x4d0514[_0x1b73e5(0x2ce)](_0x5e506d,_0x5a6cbf))!=null?_0x4e9adc:_0x5a6cbf;}['_transformRemoteChangesetByStateCache'](_0x46ae9f){var _0x147799=_0x4a9f88,_0x1cb4b3,_0xc79c7f,_0x23dd3d;return(_0x23dd3d=(_0xc79c7f=(_0x1cb4b3=this[_0x147799(0x113)])[_0x147799(0x129)])==null?void 0x0:_0xc79c7f[_0x147799(0x2ce)](_0x1cb4b3,_0x46ae9f))!=null?_0x23dd3d:_0x46ae9f;}[_0x4a9f88(0x137)](_0x2183ff){var _0x176f8d=_0x4a9f88,_0x2cf875,_0x29fda0;if(this[_0x176f8d(0x366)]===Q[_0x176f8d(0x324)]){const {unitID:_0x21ddbf,mutations:_0x4c11b8,memberID:_0x468aff}=_0x2183ff,_0x23134b=_0x4c11b8[0x0][_0x176f8d(0x1de)][_0x176f8d(0x19b)];Array[_0x176f8d(0x250)](_0x23134b)&&_0x23134b[_0x176f8d(0x212)]>0x0&&((_0x29fda0=(_0x2cf875=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x29fda0[_0x176f8d(0x2ce)](_0x2cf875,{'unitID':_0x21ddbf,'memberID':_0x468aff,'textRanges':_0x23134b}));}}[_0x4a9f88(0x2b9)](){var _0x294a46=_0x4a9f88,_0x474c05;(_0x474c05=this[_0x294a46(0x2ad)])==null||_0x474c05[_0x294a46(0x2a5)](this[_0x294a46(0x2ba)],this[_0x294a46(0x366)],this[_0x294a46(0x241)],this[_0x294a46(0x75)]);}[_0x4a9f88(0x118)](){return this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);}['_incrementRevisionNumber'](){var _0x637a8b=_0x4a9f88;this[_0x637a8b(0x34e)][_0x637a8b(0xc7)](this[_0x637a8b(0x2ba)]);}[_0x4a9f88(0x1e2)](_0x22b8f4){var _0x46db00=_0x4a9f88,_0x5c6b4a;let _0x25d929=this['_transformRemoteChangesetByIMECache'](_0x22b8f4);_0x25d929=this[_0x46db00(0x361)](_0x25d929);const _0x2bfb86=_0x3b52fa(_0x25d929[_0x46db00(0x16c)],this[_0x46db00(0x307)],{'fromCollab':!0x0});if(!_0x2bfb86[_0x46db00(0x289)])throw _0x2bfb86[_0x46db00(0x218)]instanceof Error?_0x2bfb86[_0x46db00(0x218)]:new Error((_0x5c6b4a=_0x2bfb86[_0x46db00(0x218)])!=null?_0x5c6b4a:'[CollaborationState]:\x20apply\x20error!');this[_0x46db00(0x133)](_0x25d929),this[_0x46db00(0x19c)](_0x25d929),this[_0x46db00(0x134)](_0x22b8f4),this[_0x46db00(0x81)](_0x25d929),this['_syncEditingCollabCursor'](_0x25d929),this[_0x46db00(0x12a)]();}}let Pe=class extends Re{constructor(_0x22480b,_0x34c3c2,_0x3355e2,_0x57e26f,_0x34d78b,_0x2ee84f,_0x35367c,_0x415bf8,_0x52dc78,_0x560d01){var _0x28fdbf=_0x4a9f88;super(_0x22480b,_0x34c3c2,null,[],_0x3355e2,_0x35367c,_0x2ee84f,_0x57e26f,_0x560d01),N(this,_0x28fdbf(0x101),'synced'),(this[_0x28fdbf(0x2d2)]=_0x34d78b,this['_logService']=_0x415bf8,this[_0x28fdbf(0x31c)]=_0x52dc78,this[_0x28fdbf(0x17c)]=_0x560d01);}[_0x4a9f88(0x235)](_0x1954f4){var _0x5dc964=_0x4a9f88;const _0x4af0b1=this[_0x5dc964(0x2d2)]['createInstance'](re,this['unitID'],this['type'],[_0x1954f4],this['_handler']);return _0x4af0b1[_0x5dc964(0x270)](),_0x4af0b1[_0x5dc964(0x2b9)](),_0x4af0b1;}[_0x4a9f88(0x280)](_0x5512bd){var _0x380dc5=_0x4a9f88;if(this[_0x380dc5(0xa0)](_0x5512bd))return this[_0x380dc5(0x2d2)][_0x380dc5(0x25b)](te,this[_0x380dc5(0x2ba)],this['type'],null,[],null,[_0x5512bd],this[_0x380dc5(0x113)]);try{const _0x283f11=this[_0x380dc5(0x31c)]['transformMutationsWithChangeset'](_0x5512bd,[ms]);if(_0x47dc85(_0x283f11)){const {c1Prime:_0x5ebc0b}=_0x283f11;return this[_0x380dc5(0x1e2)](_0x5ebc0b),this;}throw _0x283f11[_0x380dc5(0x218)];}catch(_0x125158){return this[_0x380dc5(0x147)][_0x380dc5(0x218)](_0x125158),this[_0x380dc5(0x125)](!0x1);}}['_onConflict'](_0x42b86f){var _0x541638=_0x4a9f88;return this[_0x541638(0x2d2)]['createInstance'](de,this[_0x541638(0x2ba)],this[_0x541638(0x366)],null,[],this[_0x541638(0x113)],_0x42b86f);}['onRemoteAck'](){var _0x20f016=_0x4a9f88;throw new Error(_0x20f016(0x19e));}[_0x4a9f88(0x2a2)](){var _0x58249c=_0x4a9f88;throw new Error(_0x58249c(0x219));}[_0x4a9f88(0xa1)](){return this;}[_0x4a9f88(0xc3)](){var _0x275f16=_0x4a9f88;return this[_0x275f16(0x2d2)][_0x275f16(0x25b)](fe,this['unitID'],this[_0x275f16(0x366)],null,[],this[_0x275f16(0x113)]);}[_0x4a9f88(0x2df)](){return this;}[_0x4a9f88(0x135)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x554c75=_0x4a9f88;const _0xdcdadd=this[_0x554c75(0x34e)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x554c75(0x113)][_0x554c75(0x25a)]({'from':_0xdcdadd,'to':0x0}),this['_injector']['createInstance'](te,this['unitID'],this['type'],null,[],null,[],this[_0x554c75(0x113)]);}};Pe=be([A(0x3,_0x2a5019(_0x3308e6)),A(0x4,_0x2a5019(_0x78bf92)),A(0x5,_0x4b8ace),A(0x6,_0x28ed93),A(0x7,_0x54e63f),A(0x8,_0xa95f58),A(0x9,_0x39b9b2(X))],Pe);function _0x30f1(_0x3a7b25,_0x1fc3bf){var _0x19a633=_0x19a6();return _0x30f1=function(_0x30f1d0,_0xb338e6){_0x30f1d0=_0x30f1d0-0x6d;var _0x2f1580=_0x19a633[_0x30f1d0];return _0x2f1580;},_0x30f1(_0x3a7b25,_0x1fc3bf);}let re=class extends Re{constructor(_0x109d7f,_0x2096b6,_0xc22670,_0x32b502,_0x1b09ea,_0x243716,_0x5f9f73,_0x5f0321,_0x32a463,_0x366075,_0x1d8822,_0x560567,_0x358021,_0x46e094){var _0x546d62=_0x4a9f88;super(_0x109d7f,_0x2096b6,null,_0xc22670,_0x32b502,_0x32a463,_0x358021,_0x243716,_0x46e094),N(this,_0x546d62(0x101),_0x546d62(0x225)),N(this,_0x546d62(0x1fe),null),N(this,_0x546d62(0x33c),null),(this[_0x546d62(0x2d2)]=_0x1b09ea,this[_0x546d62(0x2e9)]=_0x5f9f73,this[_0x546d62(0x147)]=_0x5f0321,this[_0x546d62(0x1e4)]=_0x366075,this[_0x546d62(0x31c)]=_0x1d8822,this['_univerInstanceService']=_0x560567);}['appendMutation'](_0x4fc31c){var _0x8f8dbc=_0x4a9f88;return this[_0x8f8dbc(0x75)][_0x8f8dbc(0x257)](_0x4fc31c),this[_0x8f8dbc(0x2b9)](),this;}['onRemoteChangeset'](_0x24f366){var _0x5e7a14=_0x4a9f88;if(this[_0x5e7a14(0xa0)](_0x24f366))return this[_0x5e7a14(0x167)](),this[_0x5e7a14(0x2d2)][_0x5e7a14(0x25b)](te,this[_0x5e7a14(0x2ba)],this['type'],null,this[_0x5e7a14(0x75)],null,[_0x24f366],this[_0x5e7a14(0x113)]);try{const _0x1b2f52=this[_0x5e7a14(0x31c)][_0x5e7a14(0x31a)](_0x24f366,this[_0x5e7a14(0x75)]);if(_0x47dc85(_0x1b2f52)){const {c1Prime:_0x37733,m2Prime:_0x4468d2}=_0x1b2f52;this[_0x5e7a14(0x1e2)](_0x37733);const _0x4274f2=this['_injector'][_0x5e7a14(0x25b)](re,this[_0x5e7a14(0x2ba)],this['type'],_0x4468d2,this['_handler']);return this[_0x5e7a14(0x167)](),_0x4274f2[_0x5e7a14(0x270)](this[_0x5e7a14(0x1fe)]?Math[_0x5e7a14(0x358)](0x0,new Date()['getTime']()-this[_0x5e7a14(0x1fe)]):this[_0x5e7a14(0xc9)]()),_0x4274f2;}throw _0x1b2f52[_0x5e7a14(0x218)];}catch(_0x37f173){return this[_0x5e7a14(0x147)][_0x5e7a14(0x218)](_0x37f173),this['_onConflict'](!0x1);}}[_0x4a9f88(0x2b5)](){var _0x3eef65=_0x4a9f88;throw new Error(_0x3eef65(0x119));}[_0x4a9f88(0x2a2)](){var _0xdeb811=_0x4a9f88;throw new Error(_0xdeb811(0xde));}[_0x4a9f88(0xa1)](){return this;}['toggleOffline'](){var _0x1571f8=_0x4a9f88;return this['_clearScheduledTask'](),this[_0x1571f8(0x2d2)][_0x1571f8(0x25b)](fe,this['unitID'],this[_0x1571f8(0x366)],null,this['_pendingMutations'],this[_0x1571f8(0x113)]);}[_0x4a9f88(0x2df)](){return this;}[_0x4a9f88(0x270)](_0x264981){var _0x5557ea=_0x4a9f88;const _0x553d35=_0x264981!=null?_0x264981:this['_getSendChangesetTimeout']();this[_0x5557ea(0x1fe)]=new Date()[_0x5557ea(0x1e0)](),this['_sendingTimer']=window['setTimeout'](()=>{var _0x51c575=_0x5557ea;this[_0x51c575(0x167)]();let _0x280bb3=null;switch(this[_0x51c575(0x366)]){case Q[_0x51c575(0x1a9)]:{_0x280bb3=Jt(this['_pendingMutations'],this[_0x51c575(0x2ba)],this['_univerInstanceService'],this[_0x51c575(0x34e)],this[_0x51c575(0x2e9)]);break;}case Q[_0x51c575(0x324)]:{this['_pendingMutations'][_0x51c575(0x1cb)](_0x1b8299=>_0x1b8299['id']===_0x12a06b['id'])?_0x280bb3=ps(this['_pendingMutations'],this[_0x51c575(0x2ba)],this[_0x51c575(0x291)],this[_0x51c575(0x34e)],this[_0x51c575(0x2e9)]):_0x280bb3=Jt(this[_0x51c575(0x75)],this[_0x51c575(0x2ba)],this[_0x51c575(0x291)],this[_0x51c575(0x34e)],this[_0x51c575(0x2e9)]);break;}default:throw new Error(_0x51c575(0x2d4)+this['type']+_0x51c575(0x1b6));}const {changeset:_0x2950af,pendingMutations:_0x2fbdcc}=_0x280bb3;this[_0x51c575(0x113)][_0x51c575(0x1c0)](_0x2950af);const _0x2ca692=_0x2fbdcc[_0x51c575(0x212)]?this[_0x51c575(0x2d2)]['createInstance'](oe,this[_0x51c575(0x2ba)],this[_0x51c575(0x366)],_0x2950af,_0x2fbdcc,this['_handler'],void 0x0):this[_0x51c575(0x2d2)][_0x51c575(0x25b)](ue,this['unitID'],this[_0x51c575(0x366)],_0x2950af,this['_handler']);_0x2ca692[_0x51c575(0x2b9)](),this[_0x51c575(0x113)][_0x51c575(0x214)](this,_0x2ca692);},_0x553d35);}[_0x4a9f88(0xc9)](){var _0x4feba7=_0x4a9f88,_0x78b48b;const _0x4581ae=this[_0x4feba7(0x1e4)][_0x4feba7(0xd4)](Y);return(_0x78b48b=_0x4581ae==null?void 0x0:_0x4581ae[_0x4feba7(0x2b1)])!=null?_0x78b48b:Pn;}['resend'](){var _0x3c06a4=_0x4a9f88;throw new Error(_0x3c06a4(0xa6));}[_0x4a9f88(0x167)](){var _0x2fd7a2=_0x4a9f88;this['_sendingTimer']!=null&&(clearTimeout(this[_0x2fd7a2(0x33c)]),this[_0x2fd7a2(0x33c)]=null);}[_0x4a9f88(0x125)](_0x3aac35){var _0x313f71=_0x4a9f88;return this[_0x313f71(0x167)](),this[_0x313f71(0x2d2)][_0x313f71(0x25b)](de,this[_0x313f71(0x2ba)],this[_0x313f71(0x366)],null,this[_0x313f71(0x75)],this[_0x313f71(0x113)],_0x3aac35);}};re=be([A(0x4,_0x2a5019(_0x78bf92)),A(0x5,_0x2a5019(_0x3308e6)),A(0x6,_0x2a5019(Le)),A(0x7,_0x54e63f),A(0x8,_0x28ed93),A(0x9,_0xd4de74),A(0xa,_0xa95f58),A(0xb,_0x190ff7),A(0xc,_0x4b8ace),A(0xd,_0x39b9b2(X))],re);let ue=class extends Re{constructor(_0xe04600,_0x363703,_0x2a5f3d,_0x517571,_0x16fc09,_0x4c1c4f,_0x243830,_0x1ddc66,_0x4de00d,_0x4a9743,_0x18959f){var _0x4792d5=_0x4a9f88;super(_0xe04600,_0x363703,_0x2a5f3d,[],_0x517571,_0x243830,_0x4a9743,_0x4c1c4f,_0x18959f),N(this,'status','awaiting'),N(this,_0x4792d5(0x2bc),0x0),N(this,_0x4792d5(0x20a)),N(this,'_sender'),(this[_0x4792d5(0x2d2)]=_0x16fc09,this['_logService']=_0x1ddc66,this[_0x4792d5(0x31c)]=_0x4de00d);}['appendMutation'](_0x568cf8){var _0x4dd424=_0x4a9f88;this[_0x4dd424(0x167)]();const _0x2fe4b9=this[_0x4dd424(0x2d2)][_0x4dd424(0x25b)](oe,this[_0x4dd424(0x2ba)],this[_0x4dd424(0x366)],this['_awaitingChangeset'],[_0x568cf8],this['_handler'],this['_resendTimer']);return _0x2fe4b9['_updateLocalCache'](),_0x2fe4b9;}[_0x4a9f88(0x280)](_0x4bef35){var _0x59e93a=_0x4a9f88;if(this[_0x59e93a(0xa0)](_0x4bef35))return this['_clearScheduledTask'](),this[_0x59e93a(0x2d2)][_0x59e93a(0x25b)](te,this[_0x59e93a(0x2ba)],this['type'],this['_awaitingChangeset'],[],null,[_0x4bef35],this['_handler']);try{const _0x3e92e6=this[_0x59e93a(0x31c)][_0x59e93a(0x8f)]([_0x4bef35],[this[_0x59e93a(0x241)]],!0x1);if(_0xcb0929(_0x3e92e6)){const {c1Prime:_0x31b03d,c2Prime:_0x251b55}=_0x3e92e6;this[_0x59e93a(0x1e2)](_0x31b03d[0x0]),_0x251b55[0x0][_0x59e93a(0x1b7)]=this['_getCurrentRevision'](),this[_0x59e93a(0x167)]();const _0x26ea07=this[_0x59e93a(0x2d2)][_0x59e93a(0x25b)](ue,this[_0x59e93a(0x2ba)],this[_0x59e93a(0x366)],_0x251b55[0x0],this['_handler']);return _0x26ea07[_0x59e93a(0x2b9)](),_0x26ea07;}return this[_0x59e93a(0x125)](!0x1);}catch(_0x23fb92){return this[_0x59e93a(0x147)][_0x59e93a(0x218)](_0x23fb92),this['_onConflict'](!0x1);}}[_0x4a9f88(0x2b5)](_0x55258d){var _0x242829=_0x4a9f88;this[_0x242829(0x167)]();const _0x6a4ce2=this[_0x242829(0x34e)][_0x242829(0x22f)](this[_0x242829(0x2ba)]);if(_0x55258d[_0x242829(0x32a)]<_0x6a4ce2-0x1)return this;if(this[_0x242829(0xa0)](_0x55258d))return this[_0x242829(0x2d2)]['createInstance'](te,this['unitID'],this[_0x242829(0x366)],null,[],this[_0x242829(0x241)],[],this[_0x242829(0x113)]);this[_0x242829(0x12a)]();const _0x3bef5a=this[_0x242829(0x2d2)]['createInstance'](Pe,this[_0x242829(0x2ba)],this[_0x242829(0x366)],this['_handler']);return _0x3bef5a['_updateLocalCache'](),_0x3bef5a;}[_0x4a9f88(0x2a2)](_0xd24e63){var _0x480f70=_0x4a9f88;return this[_0x480f70(0x125)](!!(_0xd24e63!=null&&_0xd24e63[_0x480f70(0x359)]));}['onRemoteRetry'](_0x37cde9){var _0x3217e0=_0x4a9f88;return this[_0x3217e0(0x2bc)]>Di?this[_0x3217e0(0xc3)]():(this['_resendTimer']=Oi(this[_0x3217e0(0x2bc)],{'timeout':this[_0x3217e0(0x2bc)],'reqId':_0x37cde9[_0x3217e0(0x15d)]}),this['_sender']=this[_0x3217e0(0x20a)][_0x3217e0(0x1d3)](({reqId:_0x4cb8e0,timeout:_0x264196})=>{var _0x2b647d=_0x3217e0;this[_0x2b647d(0x2b0)](_0x4cb8e0,_0x264196);}),this);}[_0x4a9f88(0xc3)](){var _0x5e5f83=_0x4a9f88;return this[_0x5e5f83(0x167)](),this['_injector'][_0x5e5f83(0x25b)](fe,this[_0x5e5f83(0x2ba)],this[_0x5e5f83(0x366)],this[_0x5e5f83(0x241)],[],this[_0x5e5f83(0x113)]);}[_0x4a9f88(0x2df)](){return this;}[_0x4a9f88(0x135)](){var _0x3a52bb=_0x4a9f88;this[_0x3a52bb(0x113)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x4a9f88(0x125)](_0x165cbd){var _0x5eefa3=_0x4a9f88;return this[_0x5eefa3(0x167)](),this['_injector'][_0x5eefa3(0x25b)](de,this[_0x5eefa3(0x2ba)],this['type'],this[_0x5eefa3(0x241)],[],this[_0x5eefa3(0x113)],_0x165cbd);}[_0x4a9f88(0x2b0)](_0x2eea5c,_0x53ca0c){var _0x34c49b=_0x4a9f88,_0x5bced8;_0x2eea5c===((_0x5bced8=this[_0x34c49b(0x241)])==null?void 0x0:_0x5bced8['reqId'])&&(this[_0x34c49b(0x135)](),this[_0x34c49b(0x2bc)]=_0x53ca0c===0x0?0x3e8:_0x53ca0c*0x2);}[_0x4a9f88(0x167)](){var _0xc4b5db=_0x4a9f88,_0x399357;(_0x399357=this[_0xc4b5db(0x91)])==null||_0x399357[_0xc4b5db(0x1a0)](),this[_0xc4b5db(0x2bc)]=0x0;}};ue=be([A(0x4,_0x2a5019(_0x78bf92)),A(0x5,_0x2a5019(_0x3308e6)),A(0x6,_0x28ed93),A(0x7,_0x54e63f),A(0x8,_0xa95f58),A(0x9,_0x4b8ace),A(0xa,_0x39b9b2(X))],ue);let oe=class extends Re{constructor(_0xa9932f,_0x1eb3bf,_0x24e3a3,_0x1f9f17,_0x140c39,_0x2a1893,_0x1715d1,_0x2b6a64,_0xe76254,_0xd1855,_0x1775a2,_0x161067,_0x31979a){var _0x2ced3d=_0x4a9f88;super(_0xa9932f,_0x1eb3bf,_0x24e3a3,_0x1f9f17,_0x140c39,_0xe76254,_0x161067,_0x2b6a64,_0x31979a),N(this,'status','awaiting_with_pending'),N(this,_0x2ced3d(0x2bc),0x0),N(this,_0x2ced3d(0x20a)),N(this,_0x2ced3d(0x91)),(this['_injector']=_0x1715d1,this[_0x2ced3d(0x147)]=_0xd1855,this[_0x2ced3d(0x31c)]=_0x1775a2,this[_0x2ced3d(0x17c)]=_0x31979a,_0x2a1893&&(this[_0x2ced3d(0x20a)]=_0x2a1893,this[_0x2ced3d(0x91)]=this[_0x2ced3d(0x20a)][_0x2ced3d(0x1d3)](({reqId:_0x321953,timeout:_0x41c023})=>{var _0x108837=_0x2ced3d;this[_0x108837(0x2b0)](_0x321953,_0x41c023);})));}[_0x4a9f88(0x235)](_0x2a1676){var _0x43b7e4=_0x4a9f88;return this[_0x43b7e4(0x75)][_0x43b7e4(0x257)](_0x2a1676),this;}[_0x4a9f88(0x280)](_0x42794f){var _0x4abfb3=_0x4a9f88;if(this[_0x4abfb3(0xa0)](_0x42794f))return this[_0x4abfb3(0x167)](),this[_0x4abfb3(0x2d2)][_0x4abfb3(0x25b)](te,this[_0x4abfb3(0x2ba)],this['type'],this[_0x4abfb3(0x241)],this[_0x4abfb3(0x75)],null,[_0x42794f],this[_0x4abfb3(0x113)]);try{const _0x306ea1=this[_0x4abfb3(0x31c)]['transformChangesets']([_0x42794f],[this[_0x4abfb3(0x241)]],!0x1);if(_0xcb0929(_0x306ea1)){const {c1Prime:_0x62be5b,c2Prime:_0x171e48}=_0x306ea1,_0x167ef2=this[_0x4abfb3(0x31c)][_0x4abfb3(0x31a)](_0x62be5b[0x0],this['_pendingMutations']);if(_0x47dc85(_0x167ef2)){const {c1Prime:_0x11238a,m2Prime:_0x5befe4}=_0x167ef2;return this[_0x4abfb3(0x1e2)](_0x11238a),_0x171e48[0x0][_0x4abfb3(0x1b7)]=this[_0x4abfb3(0x118)](),this[_0x4abfb3(0x167)](),this[_0x4abfb3(0x2d2)]['createInstance'](oe,this[_0x4abfb3(0x2ba)],this['type'],_0x171e48[0x0],_0x5befe4,this[_0x4abfb3(0x113)],void 0x0);}throw _0x167ef2[_0x4abfb3(0x218)];}throw _0x306ea1[_0x4abfb3(0x218)];}catch(_0x1f9b5e){return this[_0x4abfb3(0x147)][_0x4abfb3(0x218)](_0x1f9b5e),this[_0x4abfb3(0x125)](!0x1);}}[_0x4a9f88(0x2b5)](_0x255a25){var _0x3fccd1=_0x4a9f88;if(this[_0x3fccd1(0x167)](),this['_checkMissing'](_0x255a25))return this[_0x3fccd1(0x2d2)][_0x3fccd1(0x25b)](te,this[_0x3fccd1(0x2ba)],this[_0x3fccd1(0x366)],null,this[_0x3fccd1(0x75)],this[_0x3fccd1(0x241)],[],this[_0x3fccd1(0x113)]);this['_incrementRevisionNumber']();const _0x30a1a5=this[_0x3fccd1(0x2d2)][_0x3fccd1(0x25b)](re,this['unitID'],this['type'],this[_0x3fccd1(0x75)],this['_handler']);return _0x30a1a5[_0x3fccd1(0x270)](),_0x30a1a5[_0x3fccd1(0x2b9)](),_0x30a1a5;}[_0x4a9f88(0x2a2)](_0x50911a){var _0x49a0a5=_0x4a9f88;return this['_onConflict'](!!(_0x50911a!=null&&_0x50911a[_0x49a0a5(0x359)]));}['onRemoteRetry'](_0x20a967){var _0x580cce=_0x4a9f88;return this[_0x580cce(0x2bc)]>Di?this[_0x580cce(0xc3)]():(this[_0x580cce(0x20a)]=Oi(this[_0x580cce(0x2bc)],{'timeout':this[_0x580cce(0x2bc)],'reqId':_0x20a967['reqId']}),this[_0x580cce(0x91)]=this[_0x580cce(0x20a)][_0x580cce(0x1d3)](({reqId:_0x41a2bd,timeout:_0x488ad8})=>{this['_resendWithTimeout'](_0x41a2bd,_0x488ad8);}),this);}[_0x4a9f88(0xc3)](){var _0x48b917=_0x4a9f88;return this[_0x48b917(0x167)](),this[_0x48b917(0x2d2)][_0x48b917(0x25b)](fe,this['unitID'],this[_0x48b917(0x366)],this[_0x48b917(0x241)],this[_0x48b917(0x75)],this[_0x48b917(0x113)]);}[_0x4a9f88(0x2df)](){return this;}[_0x4a9f88(0x135)](){var _0x22952c=_0x4a9f88;this[_0x22952c(0x113)][_0x22952c(0x1c0)](this[_0x22952c(0x241)]);}[_0x4a9f88(0x125)](_0x50e7b3){var _0x1c4351=_0x4a9f88;return this[_0x1c4351(0x167)](),this[_0x1c4351(0x2d2)]['createInstance'](de,this['unitID'],this[_0x1c4351(0x366)],null,this[_0x1c4351(0x75)],this[_0x1c4351(0x113)],_0x50e7b3);}[_0x4a9f88(0x2b0)](_0x4b1769,_0x8febdd){var _0x4cfbb5=_0x4a9f88,_0x3fa961;_0x4b1769===((_0x3fa961=this[_0x4cfbb5(0x241)])==null?void 0x0:_0x3fa961[_0x4cfbb5(0x15d)])&&(this[_0x4cfbb5(0x135)](),this['_resendTimeout']=_0x8febdd===0x0?0x3e8:_0x8febdd*0x2);}[_0x4a9f88(0x167)](){var _0x5a06cf=_0x4a9f88,_0x1a7b51;(_0x1a7b51=this[_0x5a06cf(0x91)])==null||_0x1a7b51[_0x5a06cf(0x1a0)](),this[_0x5a06cf(0x2bc)]=0x0;}};oe=be([A(0x6,_0x2a5019(_0x78bf92)),A(0x7,_0x2a5019(_0x3308e6)),A(0x8,_0x28ed93),A(0x9,_0x54e63f),A(0xa,_0xa95f58),A(0xb,_0x4b8ace),A(0xc,_0x39b9b2(X))],oe);let de=class extends Re{constructor(_0x442f66,_0x426769,_0x1d61b0,_0x408cdc,_0x6268ac,_0x4008e3=!0x1,_0x47dc13,_0x12952e,_0x60d3ef,_0x755d99,_0x54bf0a,_0x58c2ed,_0x55b276){var _0x1ff355=_0x4a9f88;super(_0x442f66,_0x426769,_0x1d61b0,_0x408cdc,_0x6268ac,_0x12952e,_0x60d3ef,_0x755d99,_0x55b276),N(this,_0x1ff355(0x101),_0x1ff355(0xf9)),(this['_isPermissionRej']=_0x4008e3,this[_0x1ff355(0x2c2)]=_0x47dc13,this[_0x1ff355(0x16d)]=_0x54bf0a,this[_0x1ff355(0x87)]=_0x58c2ed,this[_0x1ff355(0x17c)]=_0x55b276,this[_0x1ff355(0x2db)](),this[_0x1ff355(0x2d0)](),this[_0x1ff355(0x2d7)]());}[_0x4a9f88(0x235)](){return this;}[_0x4a9f88(0x280)](){return this;}['onRemoteAck'](){return this;}[_0x4a9f88(0x2a2)](){return this;}['onRemoteRetry'](){return this;}[_0x4a9f88(0xc3)](){return this;}['toggleOnline'](){return this;}[_0x4a9f88(0x135)](){var _0x22c7b2=_0x4a9f88;throw new Error(_0x22c7b2(0x30d));}[_0x4a9f88(0x2d0)](){var _0x5ecfba=_0x4a9f88,_0x4b604e;(_0x4b604e=this[_0x5ecfba(0x2ad)])==null||_0x4b604e[_0x5ecfba(0x2a5)](this[_0x5ecfba(0x2ba)],this['type'],null,[]);}[_0x4a9f88(0x2db)](){var _0x58aa5a=_0x4a9f88;this[_0x58aa5a(0x237)]?this['_collaborationUIEventService'][_0x58aa5a(0x27b)]({'id':se['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x58aa5a(0x27b)]({'id':se[_0x58aa5a(0x188)]});}['_disableEditing'](){var _0x1454e1=_0x4a9f88;this[_0x1454e1(0x2c2)][_0x1454e1(0x2b2)](new _0x7ca049(this[_0x1454e1(0x2ba)])['id'],!0x1);}};de=be([A(0x6,_0x2a5019(_0x512ef7)),A(0x7,_0x28ed93),A(0x8,_0x4b8ace),A(0x9,_0x2a5019(_0x3308e6)),A(0xa,_0x2a5019(_0x187ee3)),A(0xb,_0x2a5019(pe)),A(0xc,_0x39b9b2(X))],de);let fe=class extends Re{constructor(_0x147cf9,_0x12ee05,_0x404032,_0x2173da,_0x27ca6e,_0x57adfb,_0xa4b4cc,_0x2b6091,_0x2fade7,_0x318b2e){var _0x460ca6=_0x4a9f88;super(_0x147cf9,_0x12ee05,_0x404032,_0x2173da,_0x27ca6e,_0x2b6091,_0x2fade7,_0xa4b4cc,_0x318b2e),N(this,'status','offline'),this[_0x460ca6(0x2d2)]=_0x57adfb;}['appendMutation'](_0x13ad37){var _0x32678b=_0x4a9f88;return this[_0x32678b(0x75)][_0x32678b(0x257)](_0x13ad37),this[_0x32678b(0x2b9)](),this;}[_0x4a9f88(0x280)](_0x581e12){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x4a9f88(0x2b5)](){var _0x4363ed=_0x4a9f88;throw new Error(_0x4363ed(0xc1));}[_0x4a9f88(0x2a2)](){var _0x536306=_0x4a9f88;throw new Error(_0x536306(0x32d));}[_0x4a9f88(0xa1)](){return this;}['toggleOffline'](){return this;}[_0x4a9f88(0x2df)](){var _0xe61726=_0x4a9f88;const {_injector:_0x3e92bf,_pendingMutations:_0x462e59,_awaitingChangeset:_0xf8fae9,unitID:_0x87290d,_handler:_0x479da8,type:_0x5426a0}=this,_0x171cb0=Ni(_0x3e92bf,_0x87290d,_0x5426a0,_0xf8fae9,_0x462e59,_0x479da8);return _0x171cb0 instanceof re?_0x171cb0[_0xe61726(0x270)]():(_0x171cb0 instanceof oe||_0x171cb0 instanceof ue)&&_0x171cb0[_0xe61726(0x135)](),_0x171cb0;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=be([A(0x5,_0x2a5019(_0x78bf92)),A(0x6,_0x2a5019(_0x3308e6)),A(0x7,_0x28ed93),A(0x8,_0x4b8ace),A(0x9,_0x39b9b2(X))],fe);let te=class extends Re{constructor(_0xbbe9d2,_0x2253a0,_0x1d81d3,_0x197bb3,_0x4c5f8e,_0x5c217a,_0x49b592,_0x530511,_0x1fec20,_0x4188ec,_0x3fe50e,_0x27aebd,_0x30face,_0x2e74f){var _0x3eb8ae=_0x4a9f88;super(_0xbbe9d2,_0x2253a0,_0x1d81d3,_0x197bb3,_0x49b592,_0x3fe50e,_0x27aebd,_0x1fec20,_0x2e74f),N(this,_0x3eb8ae(0x101),'fetch_missing'),(this[_0x3eb8ae(0x191)]=_0x4c5f8e,this[_0x3eb8ae(0x33f)]=_0x5c217a,this[_0x3eb8ae(0x2d2)]=_0x530511,this['_logService']=_0x4188ec,this[_0x3eb8ae(0x31c)]=_0x30face,this['localCacheService']=_0x2e74f);}['onMissedChangesetFetched'](_0x4a4cfa){var _0x5e0781=_0x4a9f88;try{const _0x20aa86=[..._0x4a4cfa,...this[_0x5e0781(0x33f)]],_0x2b62d3=[this[_0x5e0781(0x241)]||this[_0x5e0781(0x191)]][_0x5e0781(0x11a)](_0x49774b=>!!_0x49774b);let _0x74462d,_0x3a92bf;if(_0x2b62d3[_0x5e0781(0x212)]){const _0x4fef2b=this[_0x5e0781(0x31c)][_0x5e0781(0x8f)](_0x20aa86,_0x2b62d3,!0x1);if(!_0xcb0929(_0x4fef2b))throw _0x4fef2b[_0x5e0781(0x218)];_0x74462d=_0x4fef2b['c1Prime'],_0x3a92bf=_0x4fef2b[_0x5e0781(0x2d8)];}else _0x74462d=_0x20aa86,_0x3a92bf=[];let _0x6f25a4=this[_0x5e0781(0x75)];_0x74462d['forEach'](_0x2e7642=>{var _0x4e56e0=_0x5e0781;let _0x30f624;if(_0x6f25a4[_0x4e56e0(0x212)]){const _0x26ab8=this[_0x4e56e0(0x31c)][_0x4e56e0(0x31a)](_0x2e7642,_0x6f25a4);if(!_0x47dc85(_0x26ab8))throw _0x26ab8['error'];_0x30f624=_0x26ab8['c1Prime'],_0x6f25a4=_0x26ab8[_0x4e56e0(0xab)];}else _0x30f624=_0x2e7642;this['_executeRemoteChangeset'](_0x30f624);}),this[_0x5e0781(0x191)]&&this[_0x5e0781(0x12a)](),this[_0x5e0781(0x241)]&&_0x3a92bf[_0x5e0781(0x212)]&&(_0x3a92bf[0x0]['baseRev']=this[_0x5e0781(0x118)]());let _0x35ac7d;if(this[_0x5e0781(0x241)]&&_0x6f25a4[_0x5e0781(0x212)]!==0x0)_0x35ac7d=this[_0x5e0781(0x2d2)][_0x5e0781(0x25b)](oe,this['unitID'],this['type'],_0x3a92bf[0x0],_0x6f25a4,this['_handler'],void 0x0);else{if(this[_0x5e0781(0x241)]&&_0x6f25a4[_0x5e0781(0x212)]===0x0)_0x3a92bf[0x0][_0x5e0781(0x1b7)]=this[_0x5e0781(0x118)](),_0x35ac7d=this['_injector']['createInstance'](ue,this['unitID'],this[_0x5e0781(0x366)],_0x3a92bf[0x0],this[_0x5e0781(0x113)]);else{if(_0x6f25a4[_0x5e0781(0x212)]!==0x0){const _0x4fd79f=this[_0x5e0781(0x2d2)][_0x5e0781(0x25b)](re,this['unitID'],this[_0x5e0781(0x366)],_0x6f25a4,this[_0x5e0781(0x113)]);_0x4fd79f[_0x5e0781(0x270)](),_0x35ac7d=_0x4fd79f;}else _0x35ac7d=this[_0x5e0781(0x2d2)][_0x5e0781(0x25b)](Pe,this['unitID'],this[_0x5e0781(0x366)],this['_handler']);}}return _0x35ac7d[_0x5e0781(0x2b9)](),_0x35ac7d;}catch(_0xce6a25){return this[_0x5e0781(0x147)][_0x5e0781(0x218)]('[FetchMissState]',_0x5e0781(0x23c),_0xce6a25),this['_injector'][_0x5e0781(0x25b)](de,this[_0x5e0781(0x2ba)],this[_0x5e0781(0x366)],this[_0x5e0781(0x241)],this[_0x5e0781(0x75)],this['_handler'],!0x1);}}[_0x4a9f88(0x135)](){var _0x483006=_0x4a9f88;throw new Error(_0x483006(0x332));}['appendMutation'](_0x34b40f){var _0x3d9944=_0x4a9f88;return this[_0x3d9944(0x75)]['push'](_0x34b40f),this;}[_0x4a9f88(0x280)](_0x3406c4){var _0x2c2248=_0x4a9f88;return this[_0x2c2248(0x33f)][_0x2c2248(0x257)](_0x3406c4),this;}[_0x4a9f88(0x2b5)](_0x33a47f){var _0x274fd6=_0x4a9f88;if(this[_0x274fd6(0x241)])return this['_acknowledgedAwaitingChangeset']=this[_0x274fd6(0x241)],this[_0x274fd6(0x241)]=null,this;throw new Error(_0x274fd6(0x1f0));}[_0x4a9f88(0x2a2)](_0x3c83d2){var _0x338d20=_0x4a9f88;return this[_0x338d20(0x125)](!!(_0x3c83d2!=null&&_0x3c83d2['isPermissionRej']));}[_0x4a9f88(0xa1)](){return this;}[_0x4a9f88(0xc3)](){var _0x241387=_0x4a9f88;return this[_0x241387(0x2d2)][_0x241387(0x25b)](fe,this['unitID'],this[_0x241387(0x366)],this[_0x241387(0x241)],this['_pendingMutations'],this[_0x241387(0x113)]);}[_0x4a9f88(0x2df)](){return this;}['_onConflict'](_0x389a7b){var _0x41e5f1=_0x4a9f88;return this[_0x41e5f1(0x2d2)]['createInstance'](de,this[_0x41e5f1(0x2ba)],this[_0x41e5f1(0x366)],this['_awaitingChangeset'],this[_0x41e5f1(0x75)],this['_handler'],_0x389a7b);}};te=be([A(0x7,_0x2a5019(_0x78bf92)),A(0x8,_0x2a5019(_0x3308e6)),A(0x9,_0x54e63f),A(0xa,_0x28ed93),A(0xb,_0x4b8ace),A(0xc,_0xa95f58),A(0xd,_0x39b9b2(X))],te);function Ni(_0x3b3c3a,_0x3f56d5,_0x50a1c7,_0x41fb1e,_0x2b1c8a,_0x264e89){var _0x3b4299=_0x4a9f88;return _0x41fb1e&&_0x2b1c8a[_0x3b4299(0x212)]?_0x3b3c3a[_0x3b4299(0x25b)](oe,_0x3f56d5,_0x50a1c7,_0x41fb1e,_0x2b1c8a,_0x264e89,void 0x0):_0x41fb1e?_0x3b3c3a[_0x3b4299(0x25b)](ue,_0x3f56d5,_0x50a1c7,_0x41fb1e,_0x264e89):_0x2b1c8a[_0x3b4299(0x212)]?_0x3b3c3a['createInstance'](re,_0x3f56d5,_0x50a1c7,_0x2b1c8a,_0x264e89):_0x3b3c3a[_0x3b4299(0x25b)](Pe,_0x3f56d5,_0x50a1c7,_0x264e89);}var Es=Object['defineProperty'],Is=Object[_0x4a9f88(0x80)],Mt=(_0x259cdd,_0x55e6eb,_0x361877,_0x1927b6)=>{var _0x314930=_0x4a9f88;for(var _0x4029b8=_0x1927b6>0x1?void 0x0:_0x1927b6?Is(_0x55e6eb,_0x361877):_0x55e6eb,_0x5e03b0=_0x259cdd[_0x314930(0x212)]-0x1,_0x39111f;_0x5e03b0>=0x0;_0x5e03b0--)(_0x39111f=_0x259cdd[_0x5e03b0])&&(_0x4029b8=(_0x1927b6?_0x39111f(_0x55e6eb,_0x361877,_0x4029b8):_0x39111f(_0x4029b8))||_0x4029b8);return _0x1927b6&&_0x4029b8&&Es(_0x55e6eb,_0x361877,_0x4029b8),_0x4029b8;},k=(_0x35c0fb,_0x1e7e5d)=>(_0x5e221a,_0x43766)=>_0x1e7e5d(_0x5e221a,_0x43766,_0x35c0fb);let st=class extends _0x2d4049{constructor(_0xf79e56,_0x272b96,_0xf936fc,_0x73f746,_0x2099ba,_0x313682,_0x4e659b,_0x635bbf,_0x1f9999,_0x195f3a,_0xca4484,_0x27e818,_0x201958){var _0x35c3c0=_0x4a9f88;super(),N(this,'_state$',new _0x20d4d6(null)),N(this,'state$',this[_0x35c3c0(0x352)][_0x35c3c0(0x2ec)]()),N(this,_0x35c3c0(0x18b)),N(this,_0x35c3c0(0x1ab),!0x1),N(this,_0x35c3c0(0x2fa),''),N(this,_0x35c3c0(0x1a4),0x0),N(this,_0x35c3c0(0x1fa),this[_0x35c3c0(0x2bf)]['pipe'](_0xb0247c(_0x5dc2fc=>_0x5dc2fc?_0x5dc2fc['status']:Pi[_0x35c3c0(0x331)]),_0x5db27c(0x1))),N(this,_0x35c3c0(0x187),!0x1),N(this,_0x35c3c0(0x1f5),[]),(this['unitID']=_0xf79e56,this[_0x35c3c0(0xe2)]=_0x272b96,this[_0x35c3c0(0x2e8)]=_0xf936fc,this[_0x35c3c0(0x2d2)]=_0x73f746,this[_0x35c3c0(0x21e)]=_0x2099ba,this[_0x35c3c0(0x16d)]=_0x313682,this['_revisionService']=_0x4e659b,this['_eventService']=_0x635bbf,this[_0x35c3c0(0x147)]=_0x1f9999,this[_0x35c3c0(0x307)]=_0x195f3a,this[_0x35c3c0(0x2c2)]=_0xca4484,this[_0x35c3c0(0x1d7)]=_0x27e818,this[_0x35c3c0(0x2ad)]=_0x201958);}get['state'](){var _0x471f52=_0x4a9f88;return this[_0x471f52(0x18b)];}async[_0x4a9f88(0x286)](){var _0x521ea1=_0x4a9f88;if(this[_0x521ea1(0x92)])throw new Error(_0x521ea1(0xd7));await this['_init']();}['pauseCollaboration'](){var _0x500fff=_0x4a9f88;return this[_0x500fff(0x1ab)]=!0x0,_0x150b89(()=>{var _0x1990ea=_0x500fff;this['_collaborationPaused']=!0x1,this[_0x1990ea(0x178)]();});}['onLocalMutation'](_0x21e7fd){var _0x1089aa=_0x4a9f88;this[_0x1089aa(0x194)](_0x21e7fd);}['_updateState'](_0x4b54c4){var _0x3134b7=_0x4a9f88;this['_state']=_0x4b54c4,this[_0x3134b7(0x352)][_0x3134b7(0x36d)](_0x4b54c4);}async[_0x4a9f88(0x269)](){var _0x391386=_0x4a9f88,_0x25b45d;this[_0x391386(0xf4)](await this[_0x391386(0x362)]()),this[_0x391386(0x1d7)]&&((_0x25b45d=this[_0x391386(0x1d7)])==null||_0x25b45d['editingUnit'](this['unitID']),this[_0x391386(0x1c7)](this[_0x391386(0x1d7)]['getUnitStatus$'](this[_0x391386(0x2ba)])[_0x391386(0x1d3)](_0x22867f=>{var _0x4a6f45=_0x391386;this['_logService'][_0x4a6f45(0x302)](_0x4a6f45(0xaf),_0x4a6f45(0x141),_0x22867f),_0x22867f===yi[_0x4a6f45(0xe9)]?(this[_0x4a6f45(0x138)][_0x4a6f45(0x27b)]({'id':se[_0x4a6f45(0x21a)]}),this[_0x4a6f45(0x2c2)]['updatePermissionPoint'](new _0x7ca049(this[_0x4a6f45(0x2ba)])['id'],!0x1),this['_permissionService'][_0x4a6f45(0x278)](!0x1)):(this[_0x4a6f45(0x2c2)][_0x4a6f45(0x2b2)](new _0x7ca049(this[_0x4a6f45(0x2ba)])['id'],!0x0),this[_0x4a6f45(0x2c2)][_0x4a6f45(0x278)](!0x0));})));let _0x56e739=!0x1;return this['disposeWithMe'](this[_0x391386(0xe2)]['sessionStatus$'][_0x391386(0x1d3)](_0x9c0d0f=>{var _0x40464e=_0x391386;_0x9c0d0f===Ie[_0x40464e(0x1e9)]?this['_toggleOnline'](_0x56e739):_0x9c0d0f===Ie[_0x40464e(0x331)]&&(_0x56e739=!0x0,this[_0x40464e(0x1a7)]());})),this[_0x391386(0x1c7)](this['session'][_0x391386(0x20f)]['subscribe'](_0x1d59ef=>{var _0x5dedbb=_0x391386;try{switch(_0x1d59ef[_0x5dedbb(0x334)]){case _0x5db513[_0x5dedbb(0x2a9)]:{this[_0x5dedbb(0x1ba)](_0x2129fc(_0x1d59ef['data']));break;}case _0x5db513['CHANGESET_ACK']:{this[_0x5dedbb(0x181)](_0x1d59ef['data']);break;}case _0x5db513[_0x5dedbb(0x2ae)]:{this[_0x5dedbb(0x1a6)]();break;}case _0x5db513['CHANGESET_SHOULD_RETRY']:{this[_0x5dedbb(0xfe)](_0x1d59ef[_0x5dedbb(0x2be)]);break;}case _0x5db513[_0x5dedbb(0x29f)]:{this[_0x5dedbb(0x189)](_0x1d59ef['data'][_0x5dedbb(0x131)][_0x5dedbb(0x74)](_0x20085d=>_0x2129fc(_0x20085d)));break;}case _0x5db513['PERMISSION_REJ']:this[_0x5dedbb(0x1a6)]({'isPermissionRej':!0x0});}}catch(_0x1d4ccb){throw console[_0x5dedbb(0x218)](_0x5dedbb(0x10b),_0x1d4ccb),_0x1d4ccb;}})),this[_0x391386(0x18b)];}[_0x4a9f88(0xe8)](){var _0x2721dc=_0x4a9f88;this[_0x2721dc(0x187)]=!0x1;}[_0x4a9f88(0xd2)](){var _0x298885=_0x4a9f88;if(this['_transitionLocked'])throw new Error(_0x298885(0x1a2));this[_0x298885(0x187)]=!0x0;}[_0x4a9f88(0x194)](_0x46f43c){var _0x4dff54=_0x4a9f88;this[_0x4dff54(0xd2)](),this[_0x4dff54(0xf4)](this[_0x4dff54(0x18b)][_0x4dff54(0x235)](_0x46f43c)),this[_0x4dff54(0xe8)]();}[_0x4a9f88(0x1ba)](_0x35549f){var _0x19029c=_0x4a9f88;if(!(_0x35549f['revision']<=this[_0x19029c(0x34e)][_0x19029c(0x22f)](this[_0x19029c(0x2ba)]))){if(this[_0x19029c(0x1ab)]){this[_0x19029c(0x1f5)]['push'](_0x35549f);return;}this[_0x19029c(0xd6)](_0x35549f);}}['_exhaustRemoteChangesetQueue'](){var _0x24c51c=_0x4a9f88;this[_0x24c51c(0x1f5)]['forEach'](_0x20d933=>this[_0x24c51c(0xd6)](_0x20d933)),this[_0x24c51c(0x1f5)]=[];}[_0x4a9f88(0xd6)](_0x5e4792){var _0x10e8a8=_0x4a9f88;const _0x490811=this[_0x10e8a8(0x21e)]['interceptor']['fetchThroughInterceptors'](this[_0x10e8a8(0x21e)]['interceptor'][_0x10e8a8(0x216)]()[_0x10e8a8(0x14c)])(_0x5e4792[_0x10e8a8(0x16c)],null)||_0x5e4792[_0x10e8a8(0x16c)],_0x413dd8={..._0x5e4792,'mutations':_0x490811};this[_0x10e8a8(0xd2)](),this[_0x10e8a8(0xf4)](this[_0x10e8a8(0x18b)][_0x10e8a8(0x280)](_0x413dd8)),this['_unlockTransition']();}['_onRemoteACK'](_0x13afbd){var _0x110e35=_0x4a9f88;this[_0x110e35(0xd2)](),this['_updateState'](this[_0x110e35(0x18b)][_0x110e35(0x2b5)](_0x13afbd)),this[_0x110e35(0xe8)]();}[_0x4a9f88(0x1a6)](_0x559b1f){var _0x222e58=_0x4a9f88;this[_0x222e58(0xd2)](),this[_0x222e58(0xf4)](this[_0x222e58(0x18b)][_0x222e58(0x2a2)](_0x559b1f)),this[_0x222e58(0xe8)]();}[_0x4a9f88(0xfe)](_0x146311){var _0x4c9614=_0x4a9f88;this[_0x4c9614(0xd2)](),this[_0x4c9614(0xf4)](this[_0x4c9614(0x18b)]['onRemoteRetry'](_0x146311)),this[_0x4c9614(0xe8)]();}[_0x4a9f88(0x189)](_0x245017){var _0x2cb57c=_0x4a9f88;if(!(this['_state']instanceof te))throw new TypeError(_0x2cb57c(0x1a5));const _0x2d9bbe=_0x245017[_0x2cb57c(0x74)](_0x5a1774=>{var _0x4c7c34=_0x2cb57c;const _0x2959ae=this['_compressMutationService']['interceptor'][_0x4c7c34(0x2c3)](this[_0x4c7c34(0x21e)][_0x4c7c34(0x35b)][_0x4c7c34(0x216)]()[_0x4c7c34(0x14c)])(_0x5a1774[_0x4c7c34(0x16c)],null)||_0x5a1774[_0x4c7c34(0x16c)];return{..._0x5a1774,'mutations':_0x2959ae};});this[_0x2cb57c(0xd2)](),this[_0x2cb57c(0xf4)](this[_0x2cb57c(0x18b)][_0x2cb57c(0xbc)](_0x2d9bbe)),this['_unlockTransition']();}['_toggleOffline'](){var _0x29e5c1=_0x4a9f88;this[_0x29e5c1(0xd2)](),this[_0x29e5c1(0xf4)](this[_0x29e5c1(0x18b)][_0x29e5c1(0xc3)]()),this[_0x29e5c1(0xe8)]();}['_toggleOnline'](_0x1adeed=!0x1){var _0x1c07df=_0x4a9f88;this[_0x1c07df(0xd2)](),this[_0x1c07df(0xf4)](this[_0x1c07df(0x18b)][_0x1c07df(0x2df)]()),this[_0x1c07df(0xe8)]();const _0x1a3533=this['_state'];_0x1adeed&&_0x1a3533 instanceof Pe&&(this['_lockTransition'](),this[_0x1c07df(0xf4)](_0x1a3533[_0x1c07df(0x149)]()),this[_0x1c07df(0xe8)]());}async[_0x4a9f88(0x362)](){return new Promise(_0x4f5244=>{var _0x1a5a84=_0x30f1;this[_0x1a5a84(0xe2)]['sessionStatus$'][_0x1a5a84(0x102)](_0x59a862(0x1))[_0x1a5a84(0x1d3)](async _0xcba8db=>{var _0x1cf110=_0x1a5a84;_0x4f5244(await this[_0x1cf110(0x76)](_0xcba8db===Ie[_0x1cf110(0x1e9)]));});});}[_0x4a9f88(0xd5)](){var _0x50a171=_0x4a9f88;const _0xf2f693=this[_0x50a171(0x2ba)];return{'onStateChange':(_0x4506d0,_0x4c9b72)=>{var _0x43260a=_0x50a171;if(_0x4506d0!==this[_0x43260a(0x18b)])throw new Error(_0x43260a(0x31e)+_0x4506d0['status']+'\x0aAfter:\x20'+_0x4c9b72['status']+'\x0aCurrent:\x20'+this[_0x43260a(0x18b)][_0x43260a(0x101)]);this[_0x43260a(0xf4)](_0x4c9b72);},'onSendChangeset':_0x3a66d1=>{var _0x2f6af5=_0x50a171;_0x3a66d1[_0x2f6af5(0x2a8)]||(_0x3a66d1[_0x2f6af5(0x2a8)]=this['_changesetSessionId'],_0x3a66d1[_0x2f6af5(0x15d)]=++this[_0x2f6af5(0x1a4)]);const _0x4be4e7={'eventID':_0x5db513[_0x2f6af5(0x171)],'data':{'unitID':_0x3a66d1[_0x2f6af5(0x2ba)],'unitType':this[_0x2f6af5(0x2e8)],'changeset':_0x3a66d1,'memberID':this['session'][_0x2f6af5(0xef)]()}};this[_0x2f6af5(0xe2)]['send'](_0x4be4e7,this[_0x2f6af5(0x2ba)]);},'onMissingChangesets':({from:_0x2e5a18,to:_0x23ef59})=>{var _0x2873c7=_0x50a171;this[_0x2873c7(0x147)]['debug'](_0x2873c7(0xaf),_0x2873c7(0x111)+_0x2e5a18+_0x2873c7(0x23b)+_0x23ef59);const _0x26ee49={'eventID':_0x5db513[_0x2873c7(0x1ae)],'data':{'unitID':_0xf2f693,'unitType':this[_0x2873c7(0x2e8)],'from':_0x2e5a18,'to':_0x23ef59}};this['session']['send'](_0x26ee49,this['unitID']);}};}async['_createInitialStateImpl'](_0x191c98){var _0x3e1943=_0x4a9f88,_0x3686bb,_0x206ea4,_0x652969;const _0x21d588=await((_0x3686bb=this[_0x3e1943(0x2ad)])==null?void 0x0:_0x3686bb[_0x3e1943(0xfc)](this['unitID'])),_0x3c4df7=(_0x206ea4=_0x21d588==null?void 0x0:_0x21d588[_0x3e1943(0x16c)])!=null?_0x206ea4:[],_0x4e7295=(_0x652969=_0x21d588==null?void 0x0:_0x21d588[_0x3e1943(0x282)])!=null?_0x652969:null,_0x4d1db8=!!(_0x4e7295!=null&&_0x4e7295[_0x3e1943(0x2a8)])&&!!(_0x4e7295!=null&&_0x4e7295[_0x3e1943(0x15d)]);this[_0x3e1943(0x2fa)]=_0x4d1db8?_0x4e7295[_0x3e1943(0x2a8)]:_s(),this['_changesetReqId']=_0x4d1db8?_0x4e7295[_0x3e1943(0x15d)]:0x0;const _0xf5b85f=this['unitID'];try{this[_0x3e1943(0x263)](_0x4e7295,_0x3c4df7);}catch(_0x596319){this[_0x3e1943(0x147)]['error'](_0x596319);}const _0xac1180=this[_0x3e1943(0xd5)]();if(_0x191c98){const _0x2c2dab=Ni(this[_0x3e1943(0x2d2)],_0xf5b85f,this[_0x3e1943(0x2e8)],_0x4e7295,_0x3c4df7,_0xac1180);return _0x2c2dab instanceof re?_0x2c2dab[_0x3e1943(0x270)]():(_0x2c2dab instanceof oe||_0x2c2dab instanceof ue)&&_0x2c2dab['resend'](),_0x2c2dab;}return this[_0x3e1943(0x2d2)][_0x3e1943(0x25b)](fe,_0xf5b85f,this[_0x3e1943(0x2e8)],_0x4e7295,_0x3c4df7,_0xac1180);}[_0x4a9f88(0x263)](_0x24584e,_0x58a732){var _0x426522=_0x4a9f88,_0x28e43b,_0x365443;const _0x3e4247=this[_0x426522(0x21e)][_0x426522(0x35b)][_0x426522(0x2c3)](this[_0x426522(0x21e)][_0x426522(0x35b)][_0x426522(0x216)]()[_0x426522(0x14c)]);(_0x28e43b=_0x3e4247((_0x24584e==null?void 0x0:_0x24584e[_0x426522(0x16c)])||[],null))==null||_0x28e43b[_0x426522(0x2f2)](_0x34faae=>this[_0x426522(0x307)][_0x426522(0x127)](_0x34faae['id'],_0x34faae['params'])),(_0x365443=_0x3e4247(_0x58a732||[],null))==null||_0x365443['forEach'](_0x55c22a=>this[_0x426522(0x307)]['executeCommand'](_0x55c22a['id'],_0x55c22a[_0x426522(0x1de)]));}};st=Mt([k(0x3,_0x2a5019(_0x78bf92)),k(0x4,_0x2a5019(_0x3f1d58)),k(0x5,_0x2a5019(_0x187ee3)),k(0x6,_0x2a5019(_0x3308e6)),k(0x7,_0x2a5019(pe)),k(0x8,_0x54e63f),k(0x9,_0x28ed93),k(0xa,_0x512ef7),k(0xb,_0x39b9b2(ht)),k(0xc,_0x39b9b2(X))],st);let Tt=class extends st{constructor(_0x126bb4,_0x24a812,_0x569b22,_0x2a1672,_0x2c3dad,_0x384405,_0xa6571a,_0x1e349a,_0x491e43,_0x156974,_0x11e461,_0x220198,_0x225137){var _0x3c1502=_0x4a9f88;super(_0x126bb4,_0x569b22,_0x24a812,_0x2a1672,_0x2c3dad,_0x384405,_0xa6571a,_0x1e349a,_0x491e43,_0x156974,_0x11e461,_0x220198,_0x225137),N(this,_0x3c1502(0x10a),null),(this[_0x3c1502(0x2ba)]=_0x126bb4,this['type']=_0x24a812);}[_0x4a9f88(0x116)](_0x32c9a1){var _0x2ca484=_0x4a9f88;this[_0x2ca484(0x10a)]=_0x32c9a1;}['dispose'](){var _0x33bfae=_0x4a9f88;this[_0x33bfae(0x10a)]=null,super[_0x33bfae(0x139)]();}[_0x4a9f88(0xd5)](){var _0x2fddbb=_0x4a9f88;const _0x1ad08a=super['_createHandler']();return _0x1ad08a[_0x2fddbb(0x89)]=_0x47a802=>{var _0x3e4a8e=_0x2fddbb,_0x15743e,_0x189a45;return(_0x189a45=(_0x15743e=this[_0x3e4a8e(0x10a)])==null?void 0x0:_0x15743e['onTransformIME'])==null?void 0x0:_0x189a45[_0x3e4a8e(0x2ce)](_0x15743e,_0x47a802);},_0x1ad08a[_0x2fddbb(0x8e)]=_0x7be252=>{var _0x36fb18=_0x2fddbb,_0x2556a8,_0x33da80;return(_0x33da80=(_0x2556a8=this[_0x36fb18(0x10a)])==null?void 0x0:_0x2556a8[_0x36fb18(0x8e)])==null?void 0x0:_0x33da80[_0x36fb18(0x2ce)](_0x2556a8,_0x7be252);},_0x1ad08a['onTransformSelections']=_0x3d6046=>{var _0x6a079d=_0x2fddbb,_0x44440c,_0x862189;return(_0x862189=(_0x44440c=this[_0x6a079d(0x10a)])==null?void 0x0:_0x44440c['onTransformSelections'])==null?void 0x0:_0x862189[_0x6a079d(0x2ce)](_0x44440c,_0x3d6046);},_0x1ad08a['onSyncEditingCollabCursor']=_0x56f2c3=>{var _0x52675f=_0x2fddbb,_0x19d864,_0x2ab95c;return(_0x2ab95c=(_0x19d864=this[_0x52675f(0x10a)])==null?void 0x0:_0x19d864[_0x52675f(0x26a)])==null?void 0x0:_0x2ab95c[_0x52675f(0x2ce)](_0x19d864,_0x56f2c3);},_0x1ad08a[_0x2fddbb(0x2a4)]=_0x19eee6=>{var _0x2fed22=_0x2fddbb,_0x444aca,_0x15abb5,_0x43448b;if(!((_0x444aca=this[_0x2fed22(0x10a)])!=null&&_0x444aca['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x43448b=(_0x15abb5=this['_handlerCallback'])==null?void 0x0:_0x15abb5['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x43448b[_0x2fed22(0x2ce)](_0x15abb5,_0x19eee6);},_0x1ad08a[_0x2fddbb(0x129)]=_0x5db63e=>{var _0x367b48=_0x2fddbb,_0xff88e7,_0x289cdb,_0x456c99;if(!((_0xff88e7=this[_0x367b48(0x10a)])!=null&&_0xff88e7[_0x367b48(0x129)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x456c99=(_0x289cdb=this['_handlerCallback'])==null?void 0x0:_0x289cdb['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x456c99[_0x367b48(0x2ce)](_0x289cdb,_0x5db63e);},_0x1ad08a;}async[_0x4a9f88(0x269)](){var _0x4bae4c=_0x4a9f88;const _0x3b9cbf=await super[_0x4bae4c(0x269)]();return this[_0x4bae4c(0x1c7)](this[_0x4bae4c(0x307)][_0x4bae4c(0x15a)]((_0x3d9f36,_0xe13997)=>{var _0x1c7b10=_0x4bae4c;if(_0x3d9f36['type']!==_0x23afc1[_0x1c7b10(0x23f)]||_0xe13997!=null&&_0xe13997[_0x1c7b10(0x2b4)]||_0xe13997!=null&&_0xe13997['onlyLocal']||_0x3d9f36['id']===_0x12a06b['id'])return;const _0x4f8589=_0x3d9f36[_0x1c7b10(0x1de)];if((_0x4f8589==null?void 0x0:_0x4f8589[_0x1c7b10(0x23e)])!==this['unitID'])return;const _0x2d9155=_0x3d9f36,_0x3940b8=this['_compressMutationService']['interceptor'][_0x1c7b10(0x2c3)](this[_0x1c7b10(0x21e)]['interceptor']['getInterceptPoints']()[_0x1c7b10(0x2f0)])([_0x2d9155],null)||[_0x2d9155];this['_onLocalMutation'](_0x3940b8[0x0]);})),_0x3b9cbf;}};Tt=Mt([k(0x3,_0x2a5019(_0x78bf92)),k(0x4,_0x2a5019(_0x3f1d58)),k(0x5,_0x2a5019(_0x187ee3)),k(0x6,_0x2a5019(_0x3308e6)),k(0x7,_0x2a5019(pe)),k(0x8,_0x54e63f),k(0x9,_0x28ed93),k(0xa,_0x512ef7),k(0xb,_0x39b9b2(ht)),k(0xc,_0x39b9b2(X))],Tt);let Ct=class extends st{constructor(_0x360824,_0xf251ca,_0x11e2b5,_0x56544d,_0x2bc3c9,_0x543f94,_0x1470f9,_0x1870e3,_0x157754,_0x108954,_0x7f90d4,_0x18659b,_0x3bf28f,_0x219eef){var _0xf2a988=_0x4a9f88;super(_0x360824,_0x11e2b5,_0xf251ca,_0x56544d,_0x2bc3c9,_0x543f94,_0x1470f9,_0x157754,_0x108954,_0x7f90d4,_0x18659b,_0x3bf28f,_0x219eef),this[_0xf2a988(0x2ba)]=_0x360824,this['type']=_0xf251ca,this[_0xf2a988(0x249)]=_0x1870e3;}[_0x4a9f88(0xd5)](){var _0x1e6ce9=_0x4a9f88;const _0x3d51ec=super[_0x1e6ce9(0xd5)]();return _0x3d51ec[_0x1e6ce9(0x317)]=_0x84ed13=>this['_sheetTransformSelectionsService'][_0x1e6ce9(0x26d)](_0x84ed13),_0x3d51ec;}async['_init'](){var _0x152418=_0x4a9f88;const _0x48bea8=await super[_0x152418(0x269)]();return this[_0x152418(0x1c7)](this[_0x152418(0x307)][_0x152418(0x15a)]((_0x5e562e,_0x357d16)=>{var _0x575bb0=_0x152418;if(_0x5e562e[_0x575bb0(0x366)]!==_0x23afc1[_0x575bb0(0x23f)]||_0x357d16!=null&&_0x357d16[_0x575bb0(0x2b4)]||_0x357d16!=null&&_0x357d16['onlyLocal'])return;const _0x2c195e=_0x5e562e[_0x575bb0(0x1de)];if((_0x2c195e==null?void 0x0:_0x2c195e['unitId'])!==this[_0x575bb0(0x2ba)])return;const _0x2d7e1a=_0x5e562e,_0x5a3c8d=this['_compressMutationService']['interceptor'][_0x575bb0(0x2c3)](this[_0x575bb0(0x21e)][_0x575bb0(0x35b)][_0x575bb0(0x216)]()[_0x575bb0(0x2f0)])([_0x2d7e1a],null)||[_0x2d7e1a];this[_0x575bb0(0x194)](_0x5a3c8d[0x0]);})),_0x48bea8;}};Ct=Mt([k(0x3,_0x2a5019(_0x78bf92)),k(0x4,_0x2a5019(_0x3f1d58)),k(0x5,_0x2a5019(_0x187ee3)),k(0x6,_0x2a5019(_0x3308e6)),k(0x7,_0x2a5019(nt)),k(0x8,_0x2a5019(pe)),k(0x9,_0x54e63f),k(0xa,_0x28ed93),k(0xb,_0x512ef7),k(0xc,_0x39b9b2(ht)),k(0xd,_0x39b9b2(X))],Ct);var Ts=Object[_0x4a9f88(0x2cf)],Cs=Object[_0x4a9f88(0x80)],bs=(_0x574bd2,_0x28a404,_0x5e7862,_0x36d84b)=>{var _0x29e08a=_0x4a9f88;for(var _0x2a6817=_0x36d84b>0x1?void 0x0:_0x36d84b?Cs(_0x28a404,_0x5e7862):_0x28a404,_0x157783=_0x574bd2[_0x29e08a(0x212)]-0x1,_0x36341f;_0x157783>=0x0;_0x157783--)(_0x36341f=_0x574bd2[_0x157783])&&(_0x2a6817=(_0x36d84b?_0x36341f(_0x28a404,_0x5e7862,_0x2a6817):_0x36341f(_0x2a6817))||_0x2a6817);return _0x36d84b&&_0x2a6817&&Ts(_0x28a404,_0x5e7862,_0x2a6817),_0x2a6817;},ft=(_0x3bf326,_0x2524ba)=>(_0x1ac4ee,_0xb5ebcd)=>_0x2524ba(_0x1ac4ee,_0xb5ebcd,_0x3bf326);let rt=class extends _0x2d4049{constructor(_0x366f95,_0x36fd56,_0x1c81d0){var _0x40151b=_0x4a9f88;super(),N(this,'_entities',new Map()),N(this,'_entityInit$',new _0x1afd5c()),N(this,_0x40151b(0x1df),this[_0x40151b(0x205)]['asObservable']()),(this[_0x40151b(0x2d2)]=_0x366f95,this['_collabSessionService']=_0x36fd56,this[_0x40151b(0x291)]=_0x1c81d0,this[_0x40151b(0x269)]());}[_0x4a9f88(0x139)](){var _0x492b8a=_0x4a9f88;super[_0x492b8a(0x139)](),this[_0x492b8a(0x2b3)]['forEach'](_0x1bdc68=>_0x1bdc68[_0x492b8a(0x139)]()),this[_0x492b8a(0x2b3)][_0x492b8a(0x367)]();}[_0x4a9f88(0x185)](_0xdaff23){var _0x623221=_0x4a9f88,_0x22b197;return(_0x22b197=this['_entities'][_0x623221(0x336)](_0xdaff23))!=null?_0x22b197:null;}[_0x4a9f88(0xff)](_0x2fda3b){var _0x2ccbe9=_0x4a9f88;const _0x32f3ed=this[_0x2ccbe9(0x185)](_0x2fda3b);return _0x32f3ed?_0xd9a965(_0x32f3ed):this['_entityInit$'][_0x2ccbe9(0x102)](_0x26b17e(_0x2d19b5=>_0x2d19b5[_0x2ccbe9(0x2ba)]===_0x2fda3b));}[_0x4a9f88(0x269)](){var _0x5b1bed=_0x4a9f88;this[_0x5b1bed(0x291)]['getTypeOfUnitAdded$'](_0x89e517[_0x5b1bed(0x1a9)])[_0x5b1bed(0x102)](_0x1ba6a5(this[_0x5b1bed(0xa4)]),_0x33d688(0x10))[_0x5b1bed(0x1d3)](async _0x407f04=>{var _0x2eb0e0=_0x5b1bed;const _0xd9a26c=_0x407f04['getUnitId'](),_0x593c01=await this[_0x2eb0e0(0xbb)](_0xd9a26c,Q[_0x2eb0e0(0x1a9)]);this[_0x2eb0e0(0x2b3)][_0x2eb0e0(0x1b3)](_0xd9a26c,_0x593c01);}),this[_0x5b1bed(0x291)][_0x5b1bed(0x26e)](_0x89e517[_0x5b1bed(0x324)])[_0x5b1bed(0x102)](_0x1ba6a5(this['dispose$']),_0x33d688(0x10))[_0x5b1bed(0x102)](_0x26b17e(_0xb2429a=>!_0xb2429a['getUnitId']()[_0x5b1bed(0xd1)]('__')))[_0x5b1bed(0x1d3)](async _0x58aa35=>{var _0xaa734c=_0x5b1bed;const _0x2334e2=_0x58aa35[_0xaa734c(0xf2)](),_0x2d5d83=await this[_0xaa734c(0xbb)](_0x2334e2,Q[_0xaa734c(0x324)]);this[_0xaa734c(0x2b3)]['set'](_0x2334e2,_0x2d5d83);}),_0x177cab(this[_0x5b1bed(0x291)][_0x5b1bed(0x115)](_0x89e517[_0x5b1bed(0x1a9)]),this[_0x5b1bed(0x291)][_0x5b1bed(0x115)](_0x89e517['UNIVER_DOC']))[_0x5b1bed(0x102)](_0x1ba6a5(this['dispose$']))[_0x5b1bed(0x1d3)](_0x4f1480=>{var _0x25689c=_0x5b1bed;const _0x36195c=_0x4f1480[_0x25689c(0xf2)](),_0x528bdb=this[_0x25689c(0x2b3)][_0x25689c(0x336)](_0x36195c);_0x528bdb&&(_0x528bdb['dispose'](),this['_entities'][_0x25689c(0x14a)](_0x36195c));});}async['_startCollaboration'](_0x4cd40b,_0x34f0b3){var _0x856c34=_0x4a9f88;const _0x4c3a28=await this['_collabSessionService'][_0x856c34(0x2d5)](_0x4cd40b),_0x5e617a=this[_0x856c34(0x2d2)]['createInstance'](this[_0x856c34(0x177)](_0x34f0b3),_0x4cd40b,_0x34f0b3,_0x4c3a28);return await _0x5e617a[_0x856c34(0x286)](),this[_0x856c34(0x205)]['next'](_0x5e617a),_0x5e617a;}['_getCtorByUniverType'](_0x14d5ad){var _0x17496a=_0x4a9f88;switch(_0x14d5ad){case Q[_0x17496a(0x324)]:return Tt;case Q['UNIVER_SHEET']:return Ct;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x14d5ad);}}};rt=bs([ft(0x0,_0x2a5019(_0x78bf92)),ft(0x1,_0x2a5019(Me)),ft(0x2,_0x190ff7)],rt);var Rs=Object[_0x4a9f88(0x2cf)],ys=Object[_0x4a9f88(0x80)],Os=(_0x5d4a17,_0x44dea6,_0x2d2c96,_0x545d27)=>{var _0x4e72b6=_0x4a9f88;for(var _0x12e9a8=_0x545d27>0x1?void 0x0:_0x545d27?ys(_0x44dea6,_0x2d2c96):_0x44dea6,_0x465432=_0x5d4a17[_0x4e72b6(0x212)]-0x1,_0x580023;_0x465432>=0x0;_0x465432--)(_0x580023=_0x5d4a17[_0x465432])&&(_0x12e9a8=(_0x545d27?_0x580023(_0x44dea6,_0x2d2c96,_0x12e9a8):_0x580023(_0x12e9a8))||_0x12e9a8);return _0x545d27&&_0x12e9a8&&Rs(_0x44dea6,_0x2d2c96,_0x12e9a8),_0x12e9a8;},Xt=(_0x5eaa28,_0x1dfd96)=>(_0x7559c5,_0x483737)=>_0x1dfd96(_0x7559c5,_0x483737,_0x5eaa28);const Ps=_0x4a9f88(0x1f3),Ds='Univer';let bt=class extends _0x1e775a{constructor(_0x27164f,_0x7c9edc){var _0x3183c0=_0x4a9f88;super(),this[_0x3183c0(0x291)]=_0x27164f,this[_0x3183c0(0x1e4)]=_0x7c9edc,this[_0x3183c0(0x269)]();}[_0x4a9f88(0x269)](){var _0x1c6b9f=_0x4a9f88;this['disposeWithMe'](this[_0x1c6b9f(0x291)][_0x1c6b9f(0x193)]['subscribe'](()=>{var _0x198f96=_0x1c6b9f,_0x3252e2;const _0x5f2272=this[_0x198f96(0x291)][_0x198f96(0x2e5)]();let _0x5be4d7=(_0x3252e2=this['_configService'][_0x198f96(0xd4)](Ps))!=null?_0x3252e2:Ds;_0x5f2272 instanceof _0x417d5b&&(_0x5be4d7=_0x5f2272[_0x198f96(0x30f)]),document[_0x198f96(0xa5)]=_0x5be4d7;}));}};bt=Os([Xt(0x0,_0x190ff7),Xt(0x1,_0xd4de74)],bt);var Ns=Object[_0x4a9f88(0x2cf)],ws=Object[_0x4a9f88(0x80)],Us=(_0x36d176,_0x2e304b,_0x2aa1fa,_0x178a84)=>{for(var _0x44bf97=_0x178a84>0x1?void 0x0:_0x178a84?ws(_0x2e304b,_0x2aa1fa):_0x2e304b,_0x3cdfff=_0x36d176['length']-0x1,_0x54eaa0;_0x3cdfff>=0x0;_0x3cdfff--)(_0x54eaa0=_0x36d176[_0x3cdfff])&&(_0x44bf97=(_0x178a84?_0x54eaa0(_0x2e304b,_0x2aa1fa,_0x44bf97):_0x54eaa0(_0x44bf97))||_0x44bf97);return _0x178a84&&_0x44bf97&&Ns(_0x2e304b,_0x2aa1fa,_0x44bf97),_0x44bf97;},vt=(_0x3cdf93,_0x13b449)=>(_0x35e5b7,_0x359edc)=>_0x13b449(_0x35e5b7,_0x359edc,_0x3cdf93);let ot=class{constructor(_0x31b4ab,_0x540056,_0x65136e){var _0x2ccc60=_0x4a9f88;this[_0x2ccc60(0x1e4)]=_0x31b4ab,this['_httpService']=_0x540056,this[_0x2ccc60(0x348)]=_0x65136e,this[_0x2ccc60(0x286)]();}['init'](){var _0x5a7dda=_0x4a9f88;this[_0x5a7dda(0x110)][_0x5a7dda(0x132)]({'priority':0x1,'interceptor':(_0x3618db,_0x464c0c)=>_0x464c0c(_0x3618db)[_0x5a7dda(0x102)](_0xa82ab(async _0x27aa5c=>{var _0x20be1b=_0x5a7dda;const _0x31b556=_0x27aa5c;if(_0x31b556['status']===0x191&&window[_0x20be1b(0x97)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x1b9351=window[_0x20be1b(0x346)](window[_0x20be1b(0x1e7)][_0x20be1b(0x21b)]);window[_0x20be1b(0x1e7)]['href']=this['_getLoginPath']()+_0x20be1b(0x226)+_0x1b9351;}return _0x31b556;}))});}[_0x4a9f88(0x14f)](){var _0x3572f0=_0x4a9f88,_0xe7af97,_0x183654;const _0x2a0afe=this['_configService'][_0x3572f0(0xd4)](kn),_0x2e7a37=this[_0x3572f0(0x1e4)][_0x3572f0(0xd4)](Y);return(_0x183654=(_0xe7af97=_0x2e7a37==null?void 0x0:_0x2e7a37[_0x3572f0(0x273)])!=null?_0xe7af97:_0x2a0afe)!=null?_0x183654:jn;}};ot=Us([vt(0x0,_0xd4de74),vt(0x1,_0x2a5019(_0x16868d)),vt(0x2,_0x2a5019(_0x187ee3))],ot);var As=Object[_0x4a9f88(0x2cf)],xs=Object[_0x4a9f88(0x80)],Ls=(_0x5356f2,_0x526ddd,_0x15682e,_0x15a6e5)=>{var _0x3264e8=_0x4a9f88;for(var _0x175338=_0x15a6e5>0x1?void 0x0:_0x15a6e5?xs(_0x526ddd,_0x15682e):_0x526ddd,_0x27f00e=_0x5356f2[_0x3264e8(0x212)]-0x1,_0x1805a7;_0x27f00e>=0x0;_0x27f00e--)(_0x1805a7=_0x5356f2[_0x27f00e])&&(_0x175338=(_0x15a6e5?_0x1805a7(_0x526ddd,_0x15682e,_0x175338):_0x1805a7(_0x175338))||_0x175338);return _0x15a6e5&&_0x175338&&As(_0x526ddd,_0x15682e,_0x175338),_0x175338;},Zt=(_0x257552,_0x1b2adf)=>(_0x1ad701,_0x375203)=>_0x1b2adf(_0x1ad701,_0x375203,_0x257552);const wi=_0x4a9f88(0x15c),Ms='/universer-api/authz';let Rt=class extends _0x1e775a{constructor(_0x3f354b,_0x31db93){var _0x470948=_0x4a9f88;super(),this[_0x470948(0x1d1)]=_0x3f354b,this[_0x470948(0x1e4)]=_0x31db93,this['_initMergeInterceptor']();}[_0x4a9f88(0x253)](){var _0xa2a6b4=_0x4a9f88;const _0x23501a=this;this[_0xa2a6b4(0x1c7)](this[_0xa2a6b4(0x1d1)][_0xa2a6b4(0x132)]({'priority':0x3e7,'interceptor':_0x5a4e7e({'isMatch'(_0x47a191){var _0x1c7dcd=_0xa2a6b4,_0x48bae7;if(_0x47a191[_0x1c7dcd(0xc0)]===_0x1c7dcd(0x268)&&((_0x48bae7=_0x47a191[_0x1c7dcd(0x299)])!=null&&_0x48bae7['body'])){const {objectID:_0x4f08a2,objectType:_0xe0a29}=_0x47a191[_0x1c7dcd(0x299)][_0x1c7dcd(0x2ff)]||{};if(!_0x4f08a2||_0xe0a29===void 0x0)return!0x1;const _0x10d4b4=_0x23501a['_getAPIPrefixPath']()+'/'+_0xe0a29+'/object/'+_0x4f08a2+_0x1c7dcd(0x1e8);if(_0x47a191[_0x1c7dcd(0x2e3)]===_0x10d4b4)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x446105){var _0x58f7b4=_0xa2a6b4,_0x529355;return(_0x529355=_0x446105[_0x58f7b4(0x299)])==null?void 0x0:_0x529355[_0x58f7b4(0x2ff)];},'mergeParamsToRequest'(_0x5dc26e,_0x36699f){var _0x2141de=_0xa2a6b4;const _0xbb19=_0x23501a[_0x2141de(0x1b1)]()+_0x2141de(0x262),_0x3082a2=_0x5dc26e[_0x2141de(0x340)]((_0x4ea57e,_0xfdb4d0)=>{var _0x3e5acb=_0x2141de;const {unitID:_0x26b652,objectID:_0xf2f7ed,objectType:_0x57effe,actions:_0x1e6160}=_0xfdb4d0;return _0x4ea57e[_0x26b652]||(_0x4ea57e[_0x26b652]={}),_0x4ea57e[_0x26b652][_0xf2f7ed]||(_0x4ea57e[_0x26b652][_0xf2f7ed]={'objectID':_0xf2f7ed,'objectType':_0x57effe,'actions':[]}),_0x4ea57e[_0x26b652][_0xf2f7ed][_0x3e5acb(0xb6)][_0x3e5acb(0x257)](..._0x1e6160),_0x4ea57e;},{}),_0xc8beaa=[];for(const _0x25cccc in _0x3082a2)for(const _0xe4342d in _0x3082a2[_0x25cccc]){const {actions:_0x4fdcd2,objectType:_0x101d2f}=_0x3082a2[_0x25cccc][_0xe4342d],_0x537d93=[...new Set(_0x4fdcd2)];_0xc8beaa['push']({'unitID':_0x25cccc,'objectID':_0xe4342d,'objectType':_0x101d2f,'actions':_0x537d93});}return new _0x3aebf1('POST',_0xbb19,{'headers':_0x36699f[_0x2141de(0x1e1)],'withCredentials':_0x36699f['withCredentials'],'responseType':_0x36699f[_0x2141de(0x32b)],'body':{'requests':_0xc8beaa}});}},{'distributeResult'(_0x12408e,_0x35ffc0){var _0x5ed321=_0xa2a6b4;const {objectActions:_0x22a822}=_0x12408e;return _0x35ffc0[_0x5ed321(0x74)](_0x20b51e=>{var _0x6655f9=_0x5ed321;const {unitID:_0x366c73,objectID:_0x31a88f,actions:_0x33282e}=_0x20b51e,_0x46a1ed=_0x22a822[_0x6655f9(0xb5)](_0x353acc=>_0x353acc[_0x6655f9(0x2ba)]===_0x366c73&&_0x353acc[_0x6655f9(0x11d)]===_0x31a88f),_0x387616=_0x33282e[_0x6655f9(0x74)](_0x2acfea=>_0x46a1ed==null?void 0x0:_0x46a1ed['actions'][_0x6655f9(0xb5)](_0x6997cf=>_0x6997cf[_0x6655f9(0x1ec)]===_0x2acfea))[_0x6655f9(0x11a)](_0x188567=>!!_0x188567);return{'config':_0x20b51e,'result':{'actions':_0x387616,'error':_0x12408e[_0x6655f9(0x218)]}};});}})}));}[_0x4a9f88(0x1b1)](){var _0x3dc305=_0x4a9f88,_0x585f43,_0x967436;const _0x5b35a1=this[_0x3dc305(0x1e4)][_0x3dc305(0xd4)](wi),_0x4e0150=this['_configService']['getConfig'](Y);return(_0x967436=(_0x585f43=_0x4e0150==null?void 0x0:_0x4e0150[_0x3dc305(0xc8)])!=null?_0x585f43:_0x5b35a1)!=null?_0x967436:Ms;}async['create'](_0x5452ff){var _0x3fbef6=_0x4a9f88;const _0x2347fa=this['_getAPIPrefixPath']()+'/'+_0x5452ff[_0x3fbef6(0x1ea)]+_0x3fbef6(0xe6);return(await this['_HTTPService'][_0x3fbef6(0x33e)](_0x2347fa,{'body':_0x5452ff}))['body'][_0x3fbef6(0x11d)]||'';}async[_0x4a9f88(0x1fc)](_0x2ecc4b){var _0xcb9dce=_0x4a9f88;const _0x160dab=this['_getAPIPrefixPath']()+_0xcb9dce(0x104);return(await this[_0xcb9dce(0x1d1)][_0xcb9dce(0x33e)](_0x160dab,{'body':_0x2ecc4b}))[_0xcb9dce(0x2ff)][_0xcb9dce(0x22d)];}async[_0x4a9f88(0x112)](_0x21babc){var _0x2f8d07=_0x4a9f88;const _0x5b9e20=this[_0x2f8d07(0x1b1)]()+'/'+_0x21babc['objectType']+'/object/'+_0x21babc[_0x2f8d07(0x11d)];await this[_0x2f8d07(0x1d1)]['put'](_0x5b9e20,{'body':_0x21babc});}async[_0x4a9f88(0xfa)](_0x174777){var _0x24e96b=_0x4a9f88;const _0x235070=this[_0x24e96b(0x1b1)]()+'/'+_0x174777[_0x24e96b(0x1ea)]+'/object/'+_0x174777[_0x24e96b(0x11d)]+'/allowed';return(await this['_HTTPService']['post'](_0x235070,{'body':_0x174777}))['body'][_0x24e96b(0xb6)];}async['batchAllowed'](_0x2558e1){var _0x36342b=_0x4a9f88;const _0x6c4d98=this[_0x36342b(0x1b1)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x36342b(0x33e)](_0x6c4d98,{'body':{'requests':_0x2558e1}}))[_0x36342b(0x2ff)][_0x36342b(0x29a)];}async[_0x4a9f88(0x1aa)](_0x39309f){var _0x573df5=_0x4a9f88;const _0x258e54=this[_0x573df5(0x1b1)]()+'/'+_0x39309f[_0x573df5(0x1ea)]+'/role',_0x41c6a0=await this['_HTTPService']['post'](_0x258e54,{'body':_0x39309f});return{'roles':_0x41c6a0[_0x573df5(0x2ff)]['roles'],'actions':_0x41c6a0[_0x573df5(0x2ff)][_0x573df5(0xb6)]};}async[_0x4a9f88(0x1c5)](_0x4272c2){var _0x1b04ed=_0x4a9f88;const _0x214083=this['_getAPIPrefixPath']()+_0x1b04ed(0x243);await this[_0x1b04ed(0x1d1)][_0x1b04ed(0x14a)](_0x214083,{'params':{'collaboratorID':_0x4272c2[_0x1b04ed(0x266)],'objectID':_0x4272c2[_0x1b04ed(0x11d)],'unitID':_0x4272c2[_0x1b04ed(0x2ba)]}});}async[_0x4a9f88(0x247)](_0x1d0a49){var _0x18a16b=_0x4a9f88;const _0x57a70c=this[_0x18a16b(0x1b1)]()+'/collaborator';await this['_HTTPService']['patch'](_0x57a70c,{'body':_0x1d0a49});}async['createCollaborator'](_0x52a148){var _0x4eebd4=_0x4a9f88;const _0x20f784=this['_getAPIPrefixPath']()+_0x4eebd4(0x243);await this[_0x4eebd4(0x1d1)][_0x4eebd4(0x33e)](_0x20f784,{'body':_0x52a148});}async[_0x4a9f88(0x17f)](_0x305819){var _0x4e508f=_0x4a9f88;const _0x1ca463=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x4e508f(0x1d1)][_0x4e508f(0x336)](_0x1ca463,{'params':{'objectID':_0x305819['objectID'],'unitID':_0x305819['unitID']}}))[_0x4e508f(0x2ff)][_0x4e508f(0x82)];}async[_0x4a9f88(0x18d)](_0xc4ae28){var _0x52a6d5=_0x4a9f88;const _0x39b310=this[_0x52a6d5(0x1b1)]()+_0x52a6d5(0x243);await this['_HTTPService'][_0x52a6d5(0x25d)](_0x39b310,{'body':_0xc4ae28});}};Rt=Ls([Zt(0x0,_0x2a5019(_0x16868d)),Zt(0x1,_0x2a5019(_0xd4de74))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function je(_0x2c5f57){var _0x3a8151=_0x4a9f88;return _0x2c5f57&&_0x2c5f57['__esModule']&&Object[_0x3a8151(0x12d)][_0x3a8151(0x354)][_0x3a8151(0x2ce)](_0x2c5f57,_0x3a8151(0x93))?_0x2c5f57[_0x3a8151(0x93)]:_0x2c5f57;}var We={'exports':{}};function $s(_0x4fdbf9){var _0x110a84=_0x4a9f88;throw new Error(_0x110a84(0xc6)+_0x4fdbf9+_0x110a84(0x2fe));}var Ge={'exports':{}},Hs=Ge[_0x4a9f88(0x1be)],Qt;function ne(){var _0x2ae664=_0x4a9f88;return Qt||(Qt=0x1,function(_0x208162,_0x12b13c){(function(_0x203d75,_0x4a3ea3){var _0x2daea0=_0x30f1;_0x208162[_0x2daea0(0x1be)]=_0x4a3ea3();}(Hs,function(){var _0x51767c=_0x51767c||function(_0x36f48c,_0x252528){var _0x30ed47=_0x30f1,_0x2fe79a;if(typeof window<'u'&&window['crypto']&&(_0x2fe79a=window[_0x30ed47(0x11c)]),typeof self<'u'&&self['crypto']&&(_0x2fe79a=self[_0x30ed47(0x11c)]),typeof globalThis<'u'&&globalThis[_0x30ed47(0x11c)]&&(_0x2fe79a=globalThis[_0x30ed47(0x11c)]),!_0x2fe79a&&typeof window<'u'&&window[_0x30ed47(0x318)]&&(_0x2fe79a=window[_0x30ed47(0x318)]),!_0x2fe79a&&typeof pt<'u'&&pt[_0x30ed47(0x11c)]&&(_0x2fe79a=pt[_0x30ed47(0x11c)]),!_0x2fe79a&&typeof $s==_0x30ed47(0x196))try{_0x2fe79a=require(_0x30ed47(0x11c));}catch{}var _0x7f8203=function(){var _0x4f7a3c=_0x30ed47;if(_0x2fe79a){if(typeof _0x2fe79a[_0x4f7a3c(0x34b)]=='function')try{return _0x2fe79a[_0x4f7a3c(0x34b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2fe79a[_0x4f7a3c(0x108)]==_0x4f7a3c(0x196))try{return _0x2fe79a['randomBytes'](0x4)[_0x4f7a3c(0xf6)]();}catch{}}throw new Error(_0x4f7a3c(0x234));},_0x4fefb7=Object[_0x30ed47(0x1c9)]||(function(){function _0x471ddd(){}return function(_0x35afbc){var _0x922195=_0x30f1,_0x5d7a01;return _0x471ddd[_0x922195(0x12d)]=_0x35afbc,_0x5d7a01=new _0x471ddd(),_0x471ddd['prototype']=null,_0x5d7a01;};}()),_0x4dcbd3={},_0x342dac=_0x4dcbd3[_0x30ed47(0x201)]={},_0xbf5a5=_0x342dac[_0x30ed47(0x36e)]=(function(){return{'extend':function(_0x35bd58){var _0x58ee38=_0x30f1,_0xb1308c=_0x4fefb7(this);return _0x35bd58&&_0xb1308c[_0x58ee38(0xf1)](_0x35bd58),(!_0xb1308c[_0x58ee38(0x354)]('init')||this[_0x58ee38(0x286)]===_0xb1308c[_0x58ee38(0x286)])&&(_0xb1308c[_0x58ee38(0x286)]=function(){var _0x309aa7=_0x58ee38;_0xb1308c[_0x309aa7(0x285)][_0x309aa7(0x286)][_0x309aa7(0xa3)](this,arguments);}),_0xb1308c[_0x58ee38(0x286)][_0x58ee38(0x12d)]=_0xb1308c,_0xb1308c[_0x58ee38(0x285)]=this,_0xb1308c;},'create':function(){var _0x1499f5=_0x30f1,_0x3d2e45=this['extend']();return _0x3d2e45[_0x1499f5(0x286)][_0x1499f5(0xa3)](_0x3d2e45,arguments),_0x3d2e45;},'init':function(){},'mixIn':function(_0x521882){var _0x4724f5=_0x30f1;for(var _0x5c7c7c in _0x521882)_0x521882[_0x4724f5(0x354)](_0x5c7c7c)&&(this[_0x5c7c7c]=_0x521882[_0x5c7c7c]);_0x521882[_0x4724f5(0x354)](_0x4724f5(0x2ef))&&(this['toString']=_0x521882[_0x4724f5(0x2ef)]);},'clone':function(){var _0x48329c=_0x30f1;return this[_0x48329c(0x286)]['prototype'][_0x48329c(0x337)](this);}};}()),_0x471e68=_0x342dac[_0x30ed47(0x140)]=_0xbf5a5[_0x30ed47(0x337)]({'init':function(_0x41ac99,_0x5a40cd){var _0x2f1a4e=_0x30ed47;_0x41ac99=this['words']=_0x41ac99||[],_0x5a40cd!=_0x252528?this['sigBytes']=_0x5a40cd:this[_0x2f1a4e(0x31f)]=_0x41ac99[_0x2f1a4e(0x212)]*0x4;},'toString':function(_0x28df52){var _0x5a8b94=_0x30ed47;return(_0x28df52||_0x5337d4)[_0x5a8b94(0x122)](this);},'concat':function(_0x4f91de){var _0x31d822=_0x30ed47,_0x3b2296=this[_0x31d822(0x120)],_0x5cf38e=_0x4f91de[_0x31d822(0x120)],_0x100cf0=this['sigBytes'],_0x201913=_0x4f91de[_0x31d822(0x31f)];if(this[_0x31d822(0x1dd)](),_0x100cf0%0x4)for(var _0x3d10e3=0x0;_0x3d10e3<_0x201913;_0x3d10e3++){var _0x31fa8b=_0x5cf38e[_0x3d10e3>>>0x2]>>>0x18-_0x3d10e3%0x4*0x8&0xff;_0x3b2296[_0x100cf0+_0x3d10e3>>>0x2]|=_0x31fa8b<<0x18-(_0x100cf0+_0x3d10e3)%0x4*0x8;}else{for(var _0x3de1f9=0x0;_0x3de1f9<_0x201913;_0x3de1f9+=0x4)_0x3b2296[_0x100cf0+_0x3de1f9>>>0x2]=_0x5cf38e[_0x3de1f9>>>0x2];}return this[_0x31d822(0x31f)]+=_0x201913,this;},'clamp':function(){var _0x54611c=_0x30ed47,_0x484929=this[_0x54611c(0x120)],_0x25b4a2=this[_0x54611c(0x31f)];_0x484929[_0x25b4a2>>>0x2]&=0xffffffff<<0x20-_0x25b4a2%0x4*0x8,_0x484929[_0x54611c(0x212)]=_0x36f48c['ceil'](_0x25b4a2/0x4);},'clone':function(){var _0x599a84=_0x30ed47,_0x354fb1=_0xbf5a5[_0x599a84(0xda)][_0x599a84(0x2ce)](this);return _0x354fb1[_0x599a84(0x120)]=this['words']['slice'](0x0),_0x354fb1;},'random':function(_0x515d1e){var _0x1103f7=_0x30ed47;for(var _0x2de725=[],_0xfadaa6=0x0;_0xfadaa6<_0x515d1e;_0xfadaa6+=0x4)_0x2de725[_0x1103f7(0x257)](_0x7f8203());return new _0x471e68[(_0x1103f7(0x286))](_0x2de725,_0x515d1e);}}),_0x31491=_0x4dcbd3['enc']={},_0x5337d4=_0x31491[_0x30ed47(0x155)]={'stringify':function(_0xb97ab){var _0xc3d322=_0x30ed47;for(var _0x9d740f=_0xb97ab['words'],_0x49f53f=_0xb97ab[_0xc3d322(0x31f)],_0x3d3ea1=[],_0x257dc8=0x0;_0x257dc8<_0x49f53f;_0x257dc8++){var _0x3cecec=_0x9d740f[_0x257dc8>>>0x2]>>>0x18-_0x257dc8%0x4*0x8&0xff;_0x3d3ea1[_0xc3d322(0x257)]((_0x3cecec>>>0x4)[_0xc3d322(0x2ef)](0x10)),_0x3d3ea1[_0xc3d322(0x257)]((_0x3cecec&0xf)['toString'](0x10));}return _0x3d3ea1[_0xc3d322(0x233)]('');},'parse':function(_0xeeb945){var _0x842a1d=_0x30ed47;for(var _0x19ace4=_0xeeb945[_0x842a1d(0x212)],_0x204983=[],_0x2a0e3e=0x0;_0x2a0e3e<_0x19ace4;_0x2a0e3e+=0x2)_0x204983[_0x2a0e3e>>>0x3]|=parseInt(_0xeeb945[_0x842a1d(0x32f)](_0x2a0e3e,0x2),0x10)<<0x18-_0x2a0e3e%0x8*0x4;return new _0x471e68['init'](_0x204983,_0x19ace4/0x2);}},_0x1f795c=_0x31491[_0x30ed47(0x300)]={'stringify':function(_0x8c8ee4){var _0x263114=_0x30ed47;for(var _0x26fc11=_0x8c8ee4['words'],_0x597fef=_0x8c8ee4[_0x263114(0x31f)],_0x5d60b8=[],_0x4316bc=0x0;_0x4316bc<_0x597fef;_0x4316bc++){var _0x5510d6=_0x26fc11[_0x4316bc>>>0x2]>>>0x18-_0x4316bc%0x4*0x8&0xff;_0x5d60b8['push'](String[_0x263114(0x1bb)](_0x5510d6));}return _0x5d60b8['join']('');},'parse':function(_0x1604f2){var _0x298829=_0x30ed47;for(var _0x4a377b=_0x1604f2[_0x298829(0x212)],_0x470e21=[],_0x3d6580=0x0;_0x3d6580<_0x4a377b;_0x3d6580++)_0x470e21[_0x3d6580>>>0x2]|=(_0x1604f2[_0x298829(0x165)](_0x3d6580)&0xff)<<0x18-_0x3d6580%0x4*0x8;return new _0x471e68[(_0x298829(0x286))](_0x470e21,_0x4a377b);}},_0x4dd57e=_0x31491[_0x30ed47(0xeb)]={'stringify':function(_0x3dbe3a){var _0x380403=_0x30ed47;try{return decodeURIComponent(escape(_0x1f795c[_0x380403(0x122)](_0x3dbe3a)));}catch{throw new Error(_0x380403(0x328));}},'parse':function(_0x13fac9){return _0x1f795c['parse'](unescape(encodeURIComponent(_0x13fac9)));}},_0x13e66c=_0x342dac[_0x30ed47(0x157)]=_0xbf5a5[_0x30ed47(0x337)]({'reset':function(){var _0x37521d=_0x30ed47;this['_data']=new _0x471e68[(_0x37521d(0x286))](),this[_0x37521d(0x2f4)]=0x0;},'_append':function(_0x3a868c){var _0x57db31=_0x30ed47;typeof _0x3a868c==_0x57db31(0x2cc)&&(_0x3a868c=_0x4dd57e[_0x57db31(0x1d5)](_0x3a868c)),this[_0x57db31(0x83)][_0x57db31(0x1d0)](_0x3a868c),this[_0x57db31(0x2f4)]+=_0x3a868c[_0x57db31(0x31f)];},'_process':function(_0x2a05c9){var _0x3916ac=_0x30ed47,_0x423408,_0x3f08c0=this['_data'],_0x20847a=_0x3f08c0[_0x3916ac(0x120)],_0x17220e=_0x3f08c0['sigBytes'],_0x3456b4=this['blockSize'],_0x185619=_0x3456b4*0x4,_0x5288f1=_0x17220e/_0x185619;_0x2a05c9?_0x5288f1=_0x36f48c[_0x3916ac(0x2af)](_0x5288f1):_0x5288f1=_0x36f48c['max']((_0x5288f1|0x0)-this[_0x3916ac(0x71)],0x0);var _0x5569f2=_0x5288f1*_0x3456b4,_0xc53a14=_0x36f48c[_0x3916ac(0x88)](_0x5569f2*0x4,_0x17220e);if(_0x5569f2){for(var _0x11b870=0x0;_0x11b870<_0x5569f2;_0x11b870+=_0x3456b4)this['_doProcessBlock'](_0x20847a,_0x11b870);_0x423408=_0x20847a[_0x3916ac(0x2c4)](0x0,_0x5569f2),_0x3f08c0[_0x3916ac(0x31f)]-=_0xc53a14;}return new _0x471e68[(_0x3916ac(0x286))](_0x423408,_0xc53a14);},'clone':function(){var _0xc823de=_0x30ed47,_0x43e195=_0xbf5a5[_0xc823de(0xda)][_0xc823de(0x2ce)](this);return _0x43e195[_0xc823de(0x83)]=this['_data'][_0xc823de(0xda)](),_0x43e195;},'_minBufferSize':0x0});_0x342dac[_0x30ed47(0x229)]=_0x13e66c[_0x30ed47(0x337)]({'cfg':_0xbf5a5[_0x30ed47(0x337)](),'init':function(_0x366d0c){var _0xba9f54=_0x30ed47;this['cfg']=this[_0xba9f54(0x222)][_0xba9f54(0x337)](_0x366d0c),this[_0xba9f54(0x12c)]();},'reset':function(){var _0xfe00f8=_0x30ed47;_0x13e66c[_0xfe00f8(0x12c)][_0xfe00f8(0x2ce)](this),this[_0xfe00f8(0x31d)]();},'update':function(_0x133e49){var _0x46f059=_0x30ed47;return this[_0x46f059(0x264)](_0x133e49),this[_0x46f059(0xb1)](),this;},'finalize':function(_0x5dd7b5){var _0x27385e=_0x30ed47;_0x5dd7b5&&this['_append'](_0x5dd7b5);var _0x50c11=this[_0x27385e(0x24f)]();return _0x50c11;},'blockSize':0x10,'_createHelper':function(_0x15c7ef){return function(_0xbb2a55,_0x52d664){var _0x1b05b1=_0x30f1;return new _0x15c7ef[(_0x1b05b1(0x286))](_0x52d664)[_0x1b05b1(0x1f8)](_0xbb2a55);};},'_createHmacHelper':function(_0x209c8f){return function(_0x218862,_0x2f17f8){return new _0x68985a['HMAC']['init'](_0x209c8f,_0x2f17f8)['finalize'](_0x218862);};}});var _0x68985a=_0x4dcbd3[_0x30ed47(0x121)]={};return _0x4dcbd3;}(Math);return _0x51767c;}));}(Ge)),Ge[_0x2ae664(0x1be)];}var Ke={'exports':{}},ks=Ke[_0x4a9f88(0x1be)],ei;function Ui(){var _0x1195d9=_0x4a9f88;return ei||(ei=0x1,function(_0x1ce754,_0x2b1961){(function(_0x493a46,_0x55ee54){var _0x188453=_0x30f1;_0x1ce754[_0x188453(0x1be)]=_0x55ee54(ne());}(ks,function(_0x3a4b67){var _0x1cc059=_0x30f1;return(function(){var _0x4ffe13=_0x30f1,_0x163212=_0x3a4b67,_0x11d523=_0x163212[_0x4ffe13(0x201)],_0x28d02c=_0x11d523[_0x4ffe13(0x140)],_0x979aca=_0x163212['enc'];_0x979aca['Base64']={'stringify':function(_0x14c969){var _0x5ab37d=_0x4ffe13,_0x5633e5=_0x14c969['words'],_0xa96a18=_0x14c969[_0x5ab37d(0x31f)],_0x25ec80=this['_map'];_0x14c969[_0x5ab37d(0x1dd)]();for(var _0x1e7763=[],_0x2ac5d8=0x0;_0x2ac5d8<_0xa96a18;_0x2ac5d8+=0x3)for(var _0x4717ec=_0x5633e5[_0x2ac5d8>>>0x2]>>>0x18-_0x2ac5d8%0x4*0x8&0xff,_0x420e4f=_0x5633e5[_0x2ac5d8+0x1>>>0x2]>>>0x18-(_0x2ac5d8+0x1)%0x4*0x8&0xff,_0x2a1f14=_0x5633e5[_0x2ac5d8+0x2>>>0x2]>>>0x18-(_0x2ac5d8+0x2)%0x4*0x8&0xff,_0x5ce05e=_0x4717ec<<0x10|_0x420e4f<<0x8|_0x2a1f14,_0x211ab9=0x0;_0x211ab9<0x4&&_0x2ac5d8+_0x211ab9*0.75<_0xa96a18;_0x211ab9++)_0x1e7763[_0x5ab37d(0x257)](_0x25ec80[_0x5ab37d(0x306)](_0x5ce05e>>>0x6*(0x3-_0x211ab9)&0x3f));var _0x9eba8d=_0x25ec80[_0x5ab37d(0x306)](0x40);if(_0x9eba8d){for(;_0x1e7763[_0x5ab37d(0x212)]%0x4;)_0x1e7763[_0x5ab37d(0x257)](_0x9eba8d);}return _0x1e7763[_0x5ab37d(0x233)]('');},'parse':function(_0x335509){var _0x7ef44f=_0x4ffe13,_0x4b8d70=_0x335509[_0x7ef44f(0x212)],_0x51f829=this['_map'],_0x2afb6a=this[_0x7ef44f(0x154)];if(!_0x2afb6a){_0x2afb6a=this[_0x7ef44f(0x154)]=[];for(var _0x45de94=0x0;_0x45de94<_0x51f829['length'];_0x45de94++)_0x2afb6a[_0x51f829[_0x7ef44f(0x165)](_0x45de94)]=_0x45de94;}var _0x158ac6=_0x51f829[_0x7ef44f(0x306)](0x40);if(_0x158ac6){var _0x421089=_0x335509[_0x7ef44f(0x2a6)](_0x158ac6);_0x421089!==-0x1&&(_0x4b8d70=_0x421089);}return _0x7d41bf(_0x335509,_0x4b8d70,_0x2afb6a);},'_map':_0x4ffe13(0x30c)};function _0x7d41bf(_0x3e8c84,_0x335c85,_0x26d3aa){var _0x3682e0=_0x4ffe13;for(var _0x538dcf=[],_0x4e39ab=0x0,_0x5ea585=0x0;_0x5ea585<_0x335c85;_0x5ea585++)if(_0x5ea585%0x4){var _0x25c1b8=_0x26d3aa[_0x3e8c84[_0x3682e0(0x165)](_0x5ea585-0x1)]<<_0x5ea585%0x4*0x2,_0x3d2baf=_0x26d3aa[_0x3e8c84[_0x3682e0(0x165)](_0x5ea585)]>>>0x6-_0x5ea585%0x4*0x2,_0x254fd2=_0x25c1b8|_0x3d2baf;_0x538dcf[_0x4e39ab>>>0x2]|=_0x254fd2<<0x18-_0x4e39ab%0x4*0x8,_0x4e39ab++;}return _0x28d02c[_0x3682e0(0x1c9)](_0x538dcf,_0x4e39ab);}}()),_0x3a4b67['enc'][_0x1cc059(0x15b)];}));}(Ke)),Ke[_0x1195d9(0x1be)];}var ze={'exports':{}},js=ze[_0x4a9f88(0x1be)],ti;function Bs(){return ti||(ti=0x1,function(_0x5279b2,_0x100f9d){(function(_0x162593,_0x4ea016){var _0xa73901=_0x30f1;_0x5279b2[_0xa73901(0x1be)]=_0x4ea016(ne());}(js,function(_0x2720f1){return function(_0x5d177e){var _0x1a4472=_0x30f1,_0x5b6046=_0x2720f1,_0x5ee5c1=_0x5b6046[_0x1a4472(0x201)],_0x657922=_0x5ee5c1[_0x1a4472(0x140)],_0x298a3a=_0x5ee5c1[_0x1a4472(0x229)],_0x3a8da9=_0x5b6046[_0x1a4472(0x121)],_0xbc4554=[];(function(){for(var _0x69aefb=0x0;_0x69aefb<0x40;_0x69aefb++)_0xbc4554[_0x69aefb]=_0x5d177e['abs'](_0x5d177e['sin'](_0x69aefb+0x1))*0x100000000|0x0;}());var _0x518e69=_0x3a8da9['MD5']=_0x298a3a[_0x1a4472(0x337)]({'_doReset':function(){var _0x124fa3=_0x1a4472;this['_hash']=new _0x657922[(_0x124fa3(0x286))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4de044,_0x308e1c){for(var _0x2f1f0c=0x0;_0x2f1f0c<0x10;_0x2f1f0c++){var _0x2cc9c8=_0x308e1c+_0x2f1f0c,_0x559399=_0x4de044[_0x2cc9c8];_0x4de044[_0x2cc9c8]=(_0x559399<<0x8|_0x559399>>>0x18)&0xff00ff|(_0x559399<<0x18|_0x559399>>>0x8)&0xff00ff00;}var _0x423bc9=this['_hash']['words'],_0x5c4bbc=_0x4de044[_0x308e1c+0x0],_0x1f23bc=_0x4de044[_0x308e1c+0x1],_0x84bd5c=_0x4de044[_0x308e1c+0x2],_0x3c9601=_0x4de044[_0x308e1c+0x3],_0x50e23b=_0x4de044[_0x308e1c+0x4],_0x57683e=_0x4de044[_0x308e1c+0x5],_0xfb8d4a=_0x4de044[_0x308e1c+0x6],_0x32b07b=_0x4de044[_0x308e1c+0x7],_0x14bfc8=_0x4de044[_0x308e1c+0x8],_0x225fbd=_0x4de044[_0x308e1c+0x9],_0x2000d6=_0x4de044[_0x308e1c+0xa],_0x49b54b=_0x4de044[_0x308e1c+0xb],_0x42873f=_0x4de044[_0x308e1c+0xc],_0x1a4541=_0x4de044[_0x308e1c+0xd],_0x1a898c=_0x4de044[_0x308e1c+0xe],_0x1a4943=_0x4de044[_0x308e1c+0xf],_0x2bacf7=_0x423bc9[0x0],_0x30dc6b=_0x423bc9[0x1],_0x5f1a04=_0x423bc9[0x2],_0x2ebc2a=_0x423bc9[0x3];_0x2bacf7=_0x560557(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x5c4bbc,0x7,_0xbc4554[0x0]),_0x2ebc2a=_0x560557(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x1f23bc,0xc,_0xbc4554[0x1]),_0x5f1a04=_0x560557(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x84bd5c,0x11,_0xbc4554[0x2]),_0x30dc6b=_0x560557(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x3c9601,0x16,_0xbc4554[0x3]),_0x2bacf7=_0x560557(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x50e23b,0x7,_0xbc4554[0x4]),_0x2ebc2a=_0x560557(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x57683e,0xc,_0xbc4554[0x5]),_0x5f1a04=_0x560557(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0xfb8d4a,0x11,_0xbc4554[0x6]),_0x30dc6b=_0x560557(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x32b07b,0x16,_0xbc4554[0x7]),_0x2bacf7=_0x560557(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x14bfc8,0x7,_0xbc4554[0x8]),_0x2ebc2a=_0x560557(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x225fbd,0xc,_0xbc4554[0x9]),_0x5f1a04=_0x560557(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x2000d6,0x11,_0xbc4554[0xa]),_0x30dc6b=_0x560557(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x49b54b,0x16,_0xbc4554[0xb]),_0x2bacf7=_0x560557(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x42873f,0x7,_0xbc4554[0xc]),_0x2ebc2a=_0x560557(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x1a4541,0xc,_0xbc4554[0xd]),_0x5f1a04=_0x560557(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x1a898c,0x11,_0xbc4554[0xe]),_0x30dc6b=_0x560557(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x1a4943,0x16,_0xbc4554[0xf]),_0x2bacf7=_0x3fe37d(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x1f23bc,0x5,_0xbc4554[0x10]),_0x2ebc2a=_0x3fe37d(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0xfb8d4a,0x9,_0xbc4554[0x11]),_0x5f1a04=_0x3fe37d(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x49b54b,0xe,_0xbc4554[0x12]),_0x30dc6b=_0x3fe37d(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x5c4bbc,0x14,_0xbc4554[0x13]),_0x2bacf7=_0x3fe37d(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x57683e,0x5,_0xbc4554[0x14]),_0x2ebc2a=_0x3fe37d(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2000d6,0x9,_0xbc4554[0x15]),_0x5f1a04=_0x3fe37d(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x1a4943,0xe,_0xbc4554[0x16]),_0x30dc6b=_0x3fe37d(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x50e23b,0x14,_0xbc4554[0x17]),_0x2bacf7=_0x3fe37d(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x225fbd,0x5,_0xbc4554[0x18]),_0x2ebc2a=_0x3fe37d(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x1a898c,0x9,_0xbc4554[0x19]),_0x5f1a04=_0x3fe37d(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x3c9601,0xe,_0xbc4554[0x1a]),_0x30dc6b=_0x3fe37d(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x14bfc8,0x14,_0xbc4554[0x1b]),_0x2bacf7=_0x3fe37d(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x1a4541,0x5,_0xbc4554[0x1c]),_0x2ebc2a=_0x3fe37d(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x84bd5c,0x9,_0xbc4554[0x1d]),_0x5f1a04=_0x3fe37d(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x32b07b,0xe,_0xbc4554[0x1e]),_0x30dc6b=_0x3fe37d(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x42873f,0x14,_0xbc4554[0x1f]),_0x2bacf7=_0x1c5d84(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x57683e,0x4,_0xbc4554[0x20]),_0x2ebc2a=_0x1c5d84(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x14bfc8,0xb,_0xbc4554[0x21]),_0x5f1a04=_0x1c5d84(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x49b54b,0x10,_0xbc4554[0x22]),_0x30dc6b=_0x1c5d84(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x1a898c,0x17,_0xbc4554[0x23]),_0x2bacf7=_0x1c5d84(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x1f23bc,0x4,_0xbc4554[0x24]),_0x2ebc2a=_0x1c5d84(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x50e23b,0xb,_0xbc4554[0x25]),_0x5f1a04=_0x1c5d84(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x32b07b,0x10,_0xbc4554[0x26]),_0x30dc6b=_0x1c5d84(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x2000d6,0x17,_0xbc4554[0x27]),_0x2bacf7=_0x1c5d84(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x1a4541,0x4,_0xbc4554[0x28]),_0x2ebc2a=_0x1c5d84(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x5c4bbc,0xb,_0xbc4554[0x29]),_0x5f1a04=_0x1c5d84(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x3c9601,0x10,_0xbc4554[0x2a]),_0x30dc6b=_0x1c5d84(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0xfb8d4a,0x17,_0xbc4554[0x2b]),_0x2bacf7=_0x1c5d84(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x225fbd,0x4,_0xbc4554[0x2c]),_0x2ebc2a=_0x1c5d84(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x42873f,0xb,_0xbc4554[0x2d]),_0x5f1a04=_0x1c5d84(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x1a4943,0x10,_0xbc4554[0x2e]),_0x30dc6b=_0x1c5d84(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x84bd5c,0x17,_0xbc4554[0x2f]),_0x2bacf7=_0x3da77a(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x5c4bbc,0x6,_0xbc4554[0x30]),_0x2ebc2a=_0x3da77a(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x32b07b,0xa,_0xbc4554[0x31]),_0x5f1a04=_0x3da77a(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x1a898c,0xf,_0xbc4554[0x32]),_0x30dc6b=_0x3da77a(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x57683e,0x15,_0xbc4554[0x33]),_0x2bacf7=_0x3da77a(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x42873f,0x6,_0xbc4554[0x34]),_0x2ebc2a=_0x3da77a(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x3c9601,0xa,_0xbc4554[0x35]),_0x5f1a04=_0x3da77a(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x2000d6,0xf,_0xbc4554[0x36]),_0x30dc6b=_0x3da77a(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x1f23bc,0x15,_0xbc4554[0x37]),_0x2bacf7=_0x3da77a(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x14bfc8,0x6,_0xbc4554[0x38]),_0x2ebc2a=_0x3da77a(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x1a4943,0xa,_0xbc4554[0x39]),_0x5f1a04=_0x3da77a(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0xfb8d4a,0xf,_0xbc4554[0x3a]),_0x30dc6b=_0x3da77a(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x1a4541,0x15,_0xbc4554[0x3b]),_0x2bacf7=_0x3da77a(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x50e23b,0x6,_0xbc4554[0x3c]),_0x2ebc2a=_0x3da77a(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x49b54b,0xa,_0xbc4554[0x3d]),_0x5f1a04=_0x3da77a(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x84bd5c,0xf,_0xbc4554[0x3e]),_0x30dc6b=_0x3da77a(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x225fbd,0x15,_0xbc4554[0x3f]),_0x423bc9[0x0]=_0x423bc9[0x0]+_0x2bacf7|0x0,_0x423bc9[0x1]=_0x423bc9[0x1]+_0x30dc6b|0x0,_0x423bc9[0x2]=_0x423bc9[0x2]+_0x5f1a04|0x0,_0x423bc9[0x3]=_0x423bc9[0x3]+_0x2ebc2a|0x0;},'_doFinalize':function(){var _0x1862be=_0x1a4472,_0x3fbe64=this[_0x1862be(0x83)],_0x3318e3=_0x3fbe64[_0x1862be(0x120)],_0x495fb3=this['_nDataBytes']*0x8,_0x5289a8=_0x3fbe64[_0x1862be(0x31f)]*0x8;_0x3318e3[_0x5289a8>>>0x5]|=0x80<<0x18-_0x5289a8%0x20;var _0x5c484f=_0x5d177e['floor'](_0x495fb3/0x100000000),_0x55d1b2=_0x495fb3;_0x3318e3[(_0x5289a8+0x40>>>0x9<<0x4)+0xf]=(_0x5c484f<<0x8|_0x5c484f>>>0x18)&0xff00ff|(_0x5c484f<<0x18|_0x5c484f>>>0x8)&0xff00ff00,_0x3318e3[(_0x5289a8+0x40>>>0x9<<0x4)+0xe]=(_0x55d1b2<<0x8|_0x55d1b2>>>0x18)&0xff00ff|(_0x55d1b2<<0x18|_0x55d1b2>>>0x8)&0xff00ff00,_0x3fbe64[_0x1862be(0x31f)]=(_0x3318e3[_0x1862be(0x212)]+0x1)*0x4,this['_process']();for(var _0x4808cd=this[_0x1862be(0x11f)],_0x42fe34=_0x4808cd[_0x1862be(0x120)],_0x21c703=0x0;_0x21c703<0x4;_0x21c703++){var _0x53390e=_0x42fe34[_0x21c703];_0x42fe34[_0x21c703]=(_0x53390e<<0x8|_0x53390e>>>0x18)&0xff00ff|(_0x53390e<<0x18|_0x53390e>>>0x8)&0xff00ff00;}return _0x4808cd;},'clone':function(){var _0x1d1fcc=_0x1a4472,_0x5df285=_0x298a3a['clone'][_0x1d1fcc(0x2ce)](this);return _0x5df285['_hash']=this['_hash'][_0x1d1fcc(0xda)](),_0x5df285;}});function _0x560557(_0x47862f,_0x4c5ff4,_0x5b1a64,_0x1feb87,_0x19d109,_0x3ee573,_0x1aacfc){var _0x44ce48=_0x47862f+(_0x4c5ff4&_0x5b1a64|~_0x4c5ff4&_0x1feb87)+_0x19d109+_0x1aacfc;return(_0x44ce48<<_0x3ee573|_0x44ce48>>>0x20-_0x3ee573)+_0x4c5ff4;}function _0x3fe37d(_0x2fbe42,_0x277b3e,_0x3cddc8,_0x385608,_0x1846dd,_0x330e5a,_0x37dafe){var _0x52095d=_0x2fbe42+(_0x277b3e&_0x385608|_0x3cddc8&~_0x385608)+_0x1846dd+_0x37dafe;return(_0x52095d<<_0x330e5a|_0x52095d>>>0x20-_0x330e5a)+_0x277b3e;}function _0x1c5d84(_0x62cfaa,_0x576aac,_0x19b40c,_0x15194a,_0x4a5cfb,_0x34e5ff,_0x4168a0){var _0x32854a=_0x62cfaa+(_0x576aac^_0x19b40c^_0x15194a)+_0x4a5cfb+_0x4168a0;return(_0x32854a<<_0x34e5ff|_0x32854a>>>0x20-_0x34e5ff)+_0x576aac;}function _0x3da77a(_0x1e29a7,_0x4903ef,_0x41324d,_0x195195,_0x58d2c9,_0x4f1b6c,_0x59cdc9){var _0x37a9a0=_0x1e29a7+(_0x41324d^(_0x4903ef|~_0x195195))+_0x58d2c9+_0x59cdc9;return(_0x37a9a0<<_0x4f1b6c|_0x37a9a0>>>0x20-_0x4f1b6c)+_0x4903ef;}_0x5b6046[_0x1a4472(0x1f9)]=_0x298a3a[_0x1a4472(0x203)](_0x518e69),_0x5b6046[_0x1a4472(0x210)]=_0x298a3a[_0x1a4472(0x357)](_0x518e69);}(Math),_0x2720f1['MD5'];}));}(ze)),ze['exports'];}var Ye={'exports':{}},qe={'exports':{}},Fs=qe[_0x4a9f88(0x1be)],ii;function Vs(){var _0x17dc33=_0x4a9f88;return ii||(ii=0x1,function(_0x2f1ee8,_0x3c9b47){(function(_0x10e87e,_0x28264a){var _0x339727=_0x30f1;_0x2f1ee8[_0x339727(0x1be)]=_0x28264a(ne());}(Fs,function(_0xaadd40){var _0x576560=_0x30f1;return(function(){var _0x4702a9=_0x30f1,_0x568e13=_0xaadd40,_0x49454a=_0x568e13[_0x4702a9(0x201)],_0x5b37b0=_0x49454a[_0x4702a9(0x140)],_0x151077=_0x49454a[_0x4702a9(0x229)],_0x24d8d6=_0x568e13['algo'],_0x497ff0=[],_0x5c1d58=_0x24d8d6[_0x4702a9(0x245)]=_0x151077[_0x4702a9(0x337)]({'_doReset':function(){var _0x330e10=_0x4702a9;this[_0x330e10(0x11f)]=new _0x5b37b0[(_0x330e10(0x286))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x87f7dd,_0x31b2c6){var _0x2cf79b=_0x4702a9;for(var _0x7f9ef0=this['_hash'][_0x2cf79b(0x120)],_0x110234=_0x7f9ef0[0x0],_0x10c3ab=_0x7f9ef0[0x1],_0x46e491=_0x7f9ef0[0x2],_0x1f324f=_0x7f9ef0[0x3],_0x505abd=_0x7f9ef0[0x4],_0x52fcc6=0x0;_0x52fcc6<0x50;_0x52fcc6++){if(_0x52fcc6<0x10)_0x497ff0[_0x52fcc6]=_0x87f7dd[_0x31b2c6+_0x52fcc6]|0x0;else{var _0x622407=_0x497ff0[_0x52fcc6-0x3]^_0x497ff0[_0x52fcc6-0x8]^_0x497ff0[_0x52fcc6-0xe]^_0x497ff0[_0x52fcc6-0x10];_0x497ff0[_0x52fcc6]=_0x622407<<0x1|_0x622407>>>0x1f;}var _0xaa9953=(_0x110234<<0x5|_0x110234>>>0x1b)+_0x505abd+_0x497ff0[_0x52fcc6];_0x52fcc6<0x14?_0xaa9953+=(_0x10c3ab&_0x46e491|~_0x10c3ab&_0x1f324f)+0x5a827999:_0x52fcc6<0x28?_0xaa9953+=(_0x10c3ab^_0x46e491^_0x1f324f)+0x6ed9eba1:_0x52fcc6<0x3c?_0xaa9953+=(_0x10c3ab&_0x46e491|_0x10c3ab&_0x1f324f|_0x46e491&_0x1f324f)-0x70e44324:_0xaa9953+=(_0x10c3ab^_0x46e491^_0x1f324f)-0x359d3e2a,_0x505abd=_0x1f324f,_0x1f324f=_0x46e491,_0x46e491=_0x10c3ab<<0x1e|_0x10c3ab>>>0x2,_0x10c3ab=_0x110234,_0x110234=_0xaa9953;}_0x7f9ef0[0x0]=_0x7f9ef0[0x0]+_0x110234|0x0,_0x7f9ef0[0x1]=_0x7f9ef0[0x1]+_0x10c3ab|0x0,_0x7f9ef0[0x2]=_0x7f9ef0[0x2]+_0x46e491|0x0,_0x7f9ef0[0x3]=_0x7f9ef0[0x3]+_0x1f324f|0x0,_0x7f9ef0[0x4]=_0x7f9ef0[0x4]+_0x505abd|0x0;},'_doFinalize':function(){var _0xf108de=_0x4702a9,_0x464ef0=this[_0xf108de(0x83)],_0x16900d=_0x464ef0[_0xf108de(0x120)],_0xe801b5=this[_0xf108de(0x2f4)]*0x8,_0x25afaa=_0x464ef0[_0xf108de(0x31f)]*0x8;return _0x16900d[_0x25afaa>>>0x5]|=0x80<<0x18-_0x25afaa%0x20,_0x16900d[(_0x25afaa+0x40>>>0x9<<0x4)+0xe]=Math[_0xf108de(0x355)](_0xe801b5/0x100000000),_0x16900d[(_0x25afaa+0x40>>>0x9<<0x4)+0xf]=_0xe801b5,_0x464ef0[_0xf108de(0x31f)]=_0x16900d[_0xf108de(0x212)]*0x4,this['_process'](),this[_0xf108de(0x11f)];},'clone':function(){var _0x11c967=_0x4702a9,_0x55b62f=_0x151077[_0x11c967(0xda)][_0x11c967(0x2ce)](this);return _0x55b62f[_0x11c967(0x11f)]=this['_hash'][_0x11c967(0xda)](),_0x55b62f;}});_0x568e13[_0x4702a9(0x245)]=_0x151077[_0x4702a9(0x203)](_0x5c1d58),_0x568e13[_0x4702a9(0xcd)]=_0x151077['_createHmacHelper'](_0x5c1d58);}()),_0xaadd40[_0x576560(0x245)];}));}(qe)),qe[_0x17dc33(0x1be)];}var Je={'exports':{}},Ws=Je[_0x4a9f88(0x1be)],ni;function Gs(){var _0x55dc06=_0x4a9f88;return ni||(ni=0x1,function(_0x28ebd2,_0x48b0fe){(function(_0x26b748,_0x2fa7c4){var _0x3ddef9=_0x30f1;_0x28ebd2[_0x3ddef9(0x1be)]=_0x2fa7c4(ne());}(Ws,function(_0xfd6040){(function(){var _0x3dc4c1=_0x30f1,_0x4f1722=_0xfd6040,_0x4989f7=_0x4f1722['lib'],_0x2027fa=_0x4989f7['Base'],_0x2b366b=_0x4f1722[_0x3dc4c1(0xee)],_0x49ed06=_0x2b366b[_0x3dc4c1(0xeb)],_0x1d8d07=_0x4f1722['algo'];_0x1d8d07[_0x3dc4c1(0x20c)]=_0x2027fa[_0x3dc4c1(0x337)]({'init':function(_0x51b4a1,_0x4fe09e){var _0x4c3251=_0x3dc4c1;_0x51b4a1=this[_0x4c3251(0x1db)]=new _0x51b4a1[(_0x4c3251(0x286))](),typeof _0x4fe09e=='string'&&(_0x4fe09e=_0x49ed06['parse'](_0x4fe09e));var _0x14812b=_0x51b4a1[_0x4c3251(0x2ee)],_0x293dad=_0x14812b*0x4;_0x4fe09e[_0x4c3251(0x31f)]>_0x293dad&&(_0x4fe09e=_0x51b4a1[_0x4c3251(0x1f8)](_0x4fe09e)),_0x4fe09e[_0x4c3251(0x1dd)]();for(var _0x228316=this[_0x4c3251(0x35d)]=_0x4fe09e[_0x4c3251(0xda)](),_0x1ce179=this[_0x4c3251(0x143)]=_0x4fe09e[_0x4c3251(0xda)](),_0x3e08b6=_0x228316[_0x4c3251(0x120)],_0xede07=_0x1ce179[_0x4c3251(0x120)],_0x4082ce=0x0;_0x4082ce<_0x14812b;_0x4082ce++)_0x3e08b6[_0x4082ce]^=0x5c5c5c5c,_0xede07[_0x4082ce]^=0x36363636;_0x228316[_0x4c3251(0x31f)]=_0x1ce179[_0x4c3251(0x31f)]=_0x293dad,this[_0x4c3251(0x12c)]();},'reset':function(){var _0x3a432b=_0x3dc4c1,_0x393dda=this['_hasher'];_0x393dda[_0x3a432b(0x12c)](),_0x393dda['update'](this['_iKey']);},'update':function(_0x37f46f){var _0x1648cb=_0x3dc4c1;return this[_0x1648cb(0x1db)][_0x1648cb(0x112)](_0x37f46f),this;},'finalize':function(_0x9ef162){var _0x21f88c=_0x3dc4c1,_0x47de56=this['_hasher'],_0x219f45=_0x47de56[_0x21f88c(0x1f8)](_0x9ef162);_0x47de56['reset']();var _0x5d3134=_0x47de56[_0x21f88c(0x1f8)](this[_0x21f88c(0x35d)]['clone']()[_0x21f88c(0x1d0)](_0x219f45));return _0x5d3134;}});}());}));}(Je)),Je[_0x55dc06(0x1be)];}var Ks=Ye[_0x4a9f88(0x1be)],si;function Ai(){var _0x3e5a7a=_0x4a9f88;return si||(si=0x1,function(_0x2f6c25,_0x562d01){(function(_0x5927f7,_0x2394af,_0x2b8c5b){var _0x4d4ca0=_0x30f1;_0x2f6c25[_0x4d4ca0(0x1be)]=_0x2394af(ne(),Vs(),Gs());}(Ks,function(_0x22b5cb){return(function(){var _0x4df8f0=_0x30f1,_0x43399e=_0x22b5cb,_0x32680f=_0x43399e[_0x4df8f0(0x201)],_0x29b727=_0x32680f[_0x4df8f0(0x36e)],_0x721d47=_0x32680f[_0x4df8f0(0x140)],_0x1ce7c5=_0x43399e[_0x4df8f0(0x121)],_0x1f9463=_0x1ce7c5[_0x4df8f0(0x1f9)],_0x56c39a=_0x1ce7c5[_0x4df8f0(0x2c0)]=_0x29b727['extend']({'cfg':_0x29b727[_0x4df8f0(0x337)]({'keySize':0x80/0x20,'hasher':_0x1f9463,'iterations':0x1}),'init':function(_0x3367a7){var _0x1769cf=_0x4df8f0;this[_0x1769cf(0x222)]=this[_0x1769cf(0x222)][_0x1769cf(0x337)](_0x3367a7);},'compute':function(_0x59affb,_0x31b3fb){var _0x5f469f=_0x4df8f0;for(var _0x51c937,_0x215fad=this[_0x5f469f(0x222)],_0x468ad4=_0x215fad[_0x5f469f(0x24b)][_0x5f469f(0x1c9)](),_0x1c4117=_0x721d47[_0x5f469f(0x1c9)](),_0x3fd948=_0x1c4117[_0x5f469f(0x120)],_0x424037=_0x215fad[_0x5f469f(0x2eb)],_0x46889f=_0x215fad[_0x5f469f(0x1e6)];_0x3fd948[_0x5f469f(0x212)]<_0x424037;){_0x51c937&&_0x468ad4[_0x5f469f(0x112)](_0x51c937),_0x51c937=_0x468ad4[_0x5f469f(0x112)](_0x59affb)['finalize'](_0x31b3fb),_0x468ad4['reset']();for(var _0x5c1798=0x1;_0x5c1798<_0x46889f;_0x5c1798++)_0x51c937=_0x468ad4[_0x5f469f(0x1f8)](_0x51c937),_0x468ad4['reset']();_0x1c4117['concat'](_0x51c937);}return _0x1c4117[_0x5f469f(0x31f)]=_0x424037*0x4,_0x1c4117;}});_0x43399e[_0x4df8f0(0x2c0)]=function(_0x426a5c,_0x1f6767,_0x1eb337){var _0x66e7d3=_0x4df8f0;return _0x56c39a[_0x66e7d3(0x1c9)](_0x1eb337)[_0x66e7d3(0x70)](_0x426a5c,_0x1f6767);};}()),_0x22b5cb['EvpKDF'];}));}(Ye)),Ye[_0x3e5a7a(0x1be)];}var Xe={'exports':{}},zs=Xe['exports'],ri;function xi(){var _0x27be62=_0x4a9f88;return ri||(ri=0x1,function(_0x26a853,_0x1e2518){(function(_0x55e6fd,_0x15fb2b,_0x1db86c){_0x26a853['exports']=_0x15fb2b(ne(),Ai());}(zs,function(_0x30a19c){var _0x33566d=_0x30f1;_0x30a19c['lib'][_0x33566d(0x21d)]||function(_0xbe205b){var _0x3dff7e=_0x33566d,_0x2c9879=_0x30a19c,_0x132704=_0x2c9879[_0x3dff7e(0x201)],_0x44fc77=_0x132704[_0x3dff7e(0x36e)],_0x25bcc5=_0x132704[_0x3dff7e(0x140)],_0xe96c15=_0x132704[_0x3dff7e(0x157)],_0x4a97d7=_0x2c9879['enc'];_0x4a97d7[_0x3dff7e(0xeb)];var _0x4aee32=_0x4a97d7[_0x3dff7e(0x15b)],_0x377413=_0x2c9879[_0x3dff7e(0x121)],_0x28f793=_0x377413[_0x3dff7e(0x2c0)],_0x244fd6=_0x132704['Cipher']=_0xe96c15[_0x3dff7e(0x337)]({'cfg':_0x44fc77[_0x3dff7e(0x337)](),'createEncryptor':function(_0x2cef5b,_0x54c6ba){var _0x54880a=_0x3dff7e;return this['create'](this[_0x54880a(0x1fd)],_0x2cef5b,_0x54c6ba);},'createDecryptor':function(_0x4289ea,_0x3ce0fa){var _0x548dee=_0x3dff7e;return this['create'](this[_0x548dee(0x24d)],_0x4289ea,_0x3ce0fa);},'init':function(_0x591918,_0x8989fa,_0xeef5d){var _0x25aa54=_0x3dff7e;this[_0x25aa54(0x222)]=this[_0x25aa54(0x222)]['extend'](_0xeef5d),this[_0x25aa54(0x2b8)]=_0x591918,this[_0x25aa54(0x33a)]=_0x8989fa,this[_0x25aa54(0x12c)]();},'reset':function(){var _0x5656cf=_0x3dff7e;_0xe96c15['reset'][_0x5656cf(0x2ce)](this),this[_0x5656cf(0x31d)]();},'process':function(_0x3612de){var _0x20b8a7=_0x3dff7e;return this['_append'](_0x3612de),this[_0x20b8a7(0xb1)]();},'finalize':function(_0x432cca){var _0x21ad18=_0x3dff7e;_0x432cca&&this[_0x21ad18(0x264)](_0x432cca);var _0x24b2ae=this[_0x21ad18(0x24f)]();return _0x24b2ae;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x44123e(_0x1a1832){return typeof _0x1a1832=='string'?_0x255cd4:_0x1bd2bd;}return function(_0x5c5d1f){return{'encrypt':function(_0x9d9ee1,_0x9c9bac,_0x145b46){return _0x44123e(_0x9c9bac)['encrypt'](_0x5c5d1f,_0x9d9ee1,_0x9c9bac,_0x145b46);},'decrypt':function(_0x53dc35,_0x2a52ce,_0x46bf41){var _0x2b665c=_0x30f1;return _0x44123e(_0x2a52ce)[_0x2b665c(0x261)](_0x5c5d1f,_0x53dc35,_0x2a52ce,_0x46bf41);}};};}())});_0x132704[_0x3dff7e(0x1b0)]=_0x244fd6[_0x3dff7e(0x337)]({'_doFinalize':function(){var _0x52ce1d=this['_process'](!0x0);return _0x52ce1d;},'blockSize':0x1});var _0x1d6590=_0x2c9879['mode']={},_0xc14599=_0x132704['BlockCipherMode']=_0x44fc77['extend']({'createEncryptor':function(_0x1948d4,_0x33c64e){var _0xced1d7=_0x3dff7e;return this[_0xced1d7(0x7f)][_0xced1d7(0x1c9)](_0x1948d4,_0x33c64e);},'createDecryptor':function(_0x24e3a8,_0x23b5de){var _0x16508d=_0x3dff7e;return this['Decryptor'][_0x16508d(0x1c9)](_0x24e3a8,_0x23b5de);},'init':function(_0x16370d,_0x441986){var _0x2e95dc=_0x3dff7e;this[_0x2e95dc(0x159)]=_0x16370d,this[_0x2e95dc(0x1cc)]=_0x441986;}}),_0x5a4f50=_0x1d6590[_0x3dff7e(0x9c)]=(function(){var _0x548d98=_0x3dff7e,_0x5a7523=_0xc14599[_0x548d98(0x337)]();_0x5a7523[_0x548d98(0x7f)]=_0x5a7523[_0x548d98(0x337)]({'processBlock':function(_0x1c705b,_0x1875aa){var _0x21dcb9=_0x548d98,_0x5c1979=this[_0x21dcb9(0x159)],_0x4fabb4=_0x5c1979[_0x21dcb9(0x2ee)];_0x18f862[_0x21dcb9(0x2ce)](this,_0x1c705b,_0x1875aa,_0x4fabb4),_0x5c1979[_0x21dcb9(0x23a)](_0x1c705b,_0x1875aa),this[_0x21dcb9(0x19f)]=_0x1c705b[_0x21dcb9(0x2bb)](_0x1875aa,_0x1875aa+_0x4fabb4);}}),_0x5a7523[_0x548d98(0xe1)]=_0x5a7523[_0x548d98(0x337)]({'processBlock':function(_0x4869d0,_0x2d2c60){var _0x21e5ab=_0x548d98,_0x2b9a4d=this['_cipher'],_0x5808b6=_0x2b9a4d[_0x21e5ab(0x2ee)],_0x3a0f06=_0x4869d0['slice'](_0x2d2c60,_0x2d2c60+_0x5808b6);_0x2b9a4d[_0x21e5ab(0x148)](_0x4869d0,_0x2d2c60),_0x18f862[_0x21e5ab(0x2ce)](this,_0x4869d0,_0x2d2c60,_0x5808b6),this['_prevBlock']=_0x3a0f06;}});function _0x18f862(_0xe83c4f,_0x2c1630,_0xb2d82d){var _0x41723f=_0x548d98,_0x484d5c,_0x33f915=this[_0x41723f(0x1cc)];_0x33f915?(_0x484d5c=_0x33f915,this[_0x41723f(0x1cc)]=_0xbe205b):_0x484d5c=this[_0x41723f(0x19f)];for(var _0x52ed41=0x0;_0x52ed41<_0xb2d82d;_0x52ed41++)_0xe83c4f[_0x2c1630+_0x52ed41]^=_0x484d5c[_0x52ed41];}return _0x5a7523;}()),_0x13279c=_0x2c9879[_0x3dff7e(0xf3)]={},_0x238463=_0x13279c[_0x3dff7e(0x279)]={'pad':function(_0x40cb27,_0x203f08){var _0x18387c=_0x3dff7e;for(var _0x2d4432=_0x203f08*0x4,_0xe329f6=_0x2d4432-_0x40cb27[_0x18387c(0x31f)]%_0x2d4432,_0x531cbe=_0xe329f6<<0x18|_0xe329f6<<0x10|_0xe329f6<<0x8|_0xe329f6,_0x1c73e9=[],_0x4008c0=0x0;_0x4008c0<_0xe329f6;_0x4008c0+=0x4)_0x1c73e9[_0x18387c(0x257)](_0x531cbe);var _0x31d7d1=_0x25bcc5[_0x18387c(0x1c9)](_0x1c73e9,_0xe329f6);_0x40cb27[_0x18387c(0x1d0)](_0x31d7d1);},'unpad':function(_0x2e63b9){var _0x347b04=_0x3dff7e,_0xbc9a5f=_0x2e63b9[_0x347b04(0x120)][_0x2e63b9['sigBytes']-0x1>>>0x2]&0xff;_0x2e63b9[_0x347b04(0x31f)]-=_0xbc9a5f;}};_0x132704[_0x3dff7e(0x28f)]=_0x244fd6[_0x3dff7e(0x337)]({'cfg':_0x244fd6[_0x3dff7e(0x222)]['extend']({'mode':_0x5a4f50,'padding':_0x238463}),'reset':function(){var _0x2ff069=_0x3dff7e,_0x418d5f;_0x244fd6[_0x2ff069(0x12c)][_0x2ff069(0x2ce)](this);var _0x42e50b=this['cfg'],_0x42e0c3=_0x42e50b['iv'],_0x5d358e=_0x42e50b['mode'];this[_0x2ff069(0x2b8)]==this[_0x2ff069(0x1fd)]?_0x418d5f=_0x5d358e[_0x2ff069(0x228)]:(_0x418d5f=_0x5d358e['createDecryptor'],this[_0x2ff069(0x71)]=0x1),this[_0x2ff069(0x11e)]&&this[_0x2ff069(0x11e)][_0x2ff069(0xe5)]==_0x418d5f?this[_0x2ff069(0x11e)][_0x2ff069(0x286)](this,_0x42e0c3&&_0x42e0c3[_0x2ff069(0x120)]):(this[_0x2ff069(0x11e)]=_0x418d5f[_0x2ff069(0x2ce)](_0x5d358e,this,_0x42e0c3&&_0x42e0c3[_0x2ff069(0x120)]),this[_0x2ff069(0x11e)][_0x2ff069(0xe5)]=_0x418d5f);},'_doProcessBlock':function(_0x1d433e,_0x326ed5){var _0x12af3b=_0x3dff7e;this['_mode'][_0x12af3b(0x29c)](_0x1d433e,_0x326ed5);},'_doFinalize':function(){var _0x52e514=_0x3dff7e,_0x54867f,_0xfdeef8=this[_0x52e514(0x222)]['padding'];return this[_0x52e514(0x2b8)]==this[_0x52e514(0x1fd)]?(_0xfdeef8[_0x52e514(0xf3)](this[_0x52e514(0x83)],this[_0x52e514(0x2ee)]),_0x54867f=this[_0x52e514(0xb1)](!0x0)):(_0x54867f=this[_0x52e514(0xb1)](!0x0),_0xfdeef8['unpad'](_0x54867f)),_0x54867f;},'blockSize':0x80/0x20});var _0x33eadb=_0x132704[_0x3dff7e(0x2f9)]=_0x44fc77[_0x3dff7e(0x337)]({'init':function(_0x29e06f){var _0x1532cb=_0x3dff7e;this[_0x1532cb(0xf1)](_0x29e06f);},'toString':function(_0x533a41){var _0x24c8ff=_0x3dff7e;return(_0x533a41||this[_0x24c8ff(0x1cf)])[_0x24c8ff(0x122)](this);}}),_0x2c9930=_0x2c9879[_0x3dff7e(0x298)]={},_0x325bfc=_0x2c9930[_0x3dff7e(0x368)]={'stringify':function(_0x2323ce){var _0x1f6f2e=_0x3dff7e,_0x211e21,_0x52d734=_0x2323ce['ciphertext'],_0x43363d=_0x2323ce[_0x1f6f2e(0x255)];return _0x43363d?_0x211e21=_0x25bcc5['create']([0x53616c74,0x65645f5f])[_0x1f6f2e(0x1d0)](_0x43363d)[_0x1f6f2e(0x1d0)](_0x52d734):_0x211e21=_0x52d734,_0x211e21['toString'](_0x4aee32);},'parse':function(_0x44ede5){var _0x29e281=_0x3dff7e,_0x196d0c,_0x3f2ea4=_0x4aee32[_0x29e281(0x1d5)](_0x44ede5),_0x326d47=_0x3f2ea4[_0x29e281(0x120)];return _0x326d47[0x0]==0x53616c74&&_0x326d47[0x1]==0x65645f5f&&(_0x196d0c=_0x25bcc5[_0x29e281(0x1c9)](_0x326d47['slice'](0x2,0x4)),_0x326d47['splice'](0x0,0x4),_0x3f2ea4[_0x29e281(0x31f)]-=0x10),_0x33eadb[_0x29e281(0x1c9)]({'ciphertext':_0x3f2ea4,'salt':_0x196d0c});}},_0x1bd2bd=_0x132704[_0x3dff7e(0x213)]=_0x44fc77[_0x3dff7e(0x337)]({'cfg':_0x44fc77[_0x3dff7e(0x337)]({'format':_0x325bfc}),'encrypt':function(_0x43ebd4,_0x328a37,_0x28e227,_0x6164ad){var _0x22ed11=_0x3dff7e;_0x6164ad=this[_0x22ed11(0x222)][_0x22ed11(0x337)](_0x6164ad);var _0x4d48e4=_0x43ebd4[_0x22ed11(0x228)](_0x28e227,_0x6164ad),_0x1673d5=_0x4d48e4['finalize'](_0x328a37),_0x177ec9=_0x4d48e4[_0x22ed11(0x222)];return _0x33eadb[_0x22ed11(0x1c9)]({'ciphertext':_0x1673d5,'key':_0x28e227,'iv':_0x177ec9['iv'],'algorithm':_0x43ebd4,'mode':_0x177ec9['mode'],'padding':_0x177ec9['padding'],'blockSize':_0x43ebd4[_0x22ed11(0x2ee)],'formatter':_0x6164ad[_0x22ed11(0x298)]});},'decrypt':function(_0x9b12ef,_0x24f144,_0x37b612,_0x577534){var _0x43b040=_0x3dff7e;_0x577534=this[_0x43b040(0x222)][_0x43b040(0x337)](_0x577534),_0x24f144=this[_0x43b040(0x296)](_0x24f144,_0x577534['format']);var _0x406a6b=_0x9b12ef['createDecryptor'](_0x37b612,_0x577534)[_0x43b040(0x1f8)](_0x24f144[_0x43b040(0x259)]);return _0x406a6b;},'_parse':function(_0x32c97c,_0x2d17ed){var _0x453cf3=_0x3dff7e;return typeof _0x32c97c==_0x453cf3(0x2cc)?_0x2d17ed[_0x453cf3(0x1d5)](_0x32c97c,this):_0x32c97c;}}),_0x16ed81=_0x2c9879[_0x3dff7e(0x25f)]={},_0x581bd7=_0x16ed81[_0x3dff7e(0x368)]={'execute':function(_0x1888a0,_0x1f5353,_0x2b0d30,_0xedd0bd,_0x1610bf){var _0x248eaf=_0x3dff7e;if(_0xedd0bd||(_0xedd0bd=_0x25bcc5[_0x248eaf(0x217)](0x40/0x8)),_0x1610bf)var _0x128477=_0x28f793[_0x248eaf(0x1c9)]({'keySize':_0x1f5353+_0x2b0d30,'hasher':_0x1610bf})['compute'](_0x1888a0,_0xedd0bd);else var _0x128477=_0x28f793[_0x248eaf(0x1c9)]({'keySize':_0x1f5353+_0x2b0d30})[_0x248eaf(0x70)](_0x1888a0,_0xedd0bd);var _0x52d991=_0x25bcc5[_0x248eaf(0x1c9)](_0x128477[_0x248eaf(0x120)][_0x248eaf(0x2bb)](_0x1f5353),_0x2b0d30*0x4);return _0x128477['sigBytes']=_0x1f5353*0x4,_0x33eadb[_0x248eaf(0x1c9)]({'key':_0x128477,'iv':_0x52d991,'salt':_0xedd0bd});}},_0x255cd4=_0x132704[_0x3dff7e(0x30e)]=_0x1bd2bd[_0x3dff7e(0x337)]({'cfg':_0x1bd2bd[_0x3dff7e(0x222)][_0x3dff7e(0x337)]({'kdf':_0x581bd7}),'encrypt':function(_0x4fc3a3,_0x2a9a2f,_0x445d23,_0x7a5e6b){var _0x407bd7=_0x3dff7e;_0x7a5e6b=this[_0x407bd7(0x222)][_0x407bd7(0x337)](_0x7a5e6b);var _0x45799c=_0x7a5e6b[_0x407bd7(0x25f)][_0x407bd7(0xea)](_0x445d23,_0x4fc3a3[_0x407bd7(0x2eb)],_0x4fc3a3[_0x407bd7(0x1cd)],_0x7a5e6b['salt'],_0x7a5e6b[_0x407bd7(0x24b)]);_0x7a5e6b['iv']=_0x45799c['iv'];var _0x3a9e23=_0x1bd2bd[_0x407bd7(0x281)][_0x407bd7(0x2ce)](this,_0x4fc3a3,_0x2a9a2f,_0x45799c['key'],_0x7a5e6b);return _0x3a9e23[_0x407bd7(0xf1)](_0x45799c),_0x3a9e23;},'decrypt':function(_0x52f4a0,_0x51b03e,_0x123f41,_0x1e4518){var _0x10b33d=_0x3dff7e;_0x1e4518=this[_0x10b33d(0x222)][_0x10b33d(0x337)](_0x1e4518),_0x51b03e=this[_0x10b33d(0x296)](_0x51b03e,_0x1e4518[_0x10b33d(0x298)]);var _0x21cd1f=_0x1e4518[_0x10b33d(0x25f)]['execute'](_0x123f41,_0x52f4a0['keySize'],_0x52f4a0['ivSize'],_0x51b03e[_0x10b33d(0x255)],_0x1e4518[_0x10b33d(0x24b)]);_0x1e4518['iv']=_0x21cd1f['iv'];var _0x48c7f0=_0x1bd2bd['decrypt'][_0x10b33d(0x2ce)](this,_0x52f4a0,_0x51b03e,_0x21cd1f[_0x10b33d(0x18f)],_0x1e4518);return _0x48c7f0;}});}();}));}(Xe)),Xe[_0x27be62(0x1be)];}var Ys=We[_0x4a9f88(0x1be)],oi;function qs(){var _0x33ae01=_0x4a9f88;return oi||(oi=0x1,function(_0x4f3741,_0x152b3b){(function(_0x33c78d,_0x279364,_0x55b516){_0x4f3741['exports']=_0x279364(ne(),Ui(),Bs(),Ai(),xi());}(Ys,function(_0x5ae98d){var _0x427f1b=_0x30f1;return(function(){var _0x472cb8=_0x30f1,_0x5d5bf4=_0x5ae98d,_0x2fb9c4=_0x5d5bf4[_0x472cb8(0x201)],_0x2f5ba8=_0x2fb9c4[_0x472cb8(0x28f)],_0x47ef53=_0x5d5bf4[_0x472cb8(0x121)],_0x5a9e5a=[],_0x101139=[],_0x2276a4=[],_0x394869=[],_0x585428=[],_0x30f5e8=[],_0x9ebbcd=[],_0x232762=[],_0x5692a0=[],_0x2c7820=[];(function(){for(var _0x753ee5=[],_0x24e73d=0x0;_0x24e73d<0x100;_0x24e73d++)_0x24e73d<0x80?_0x753ee5[_0x24e73d]=_0x24e73d<<0x1:_0x753ee5[_0x24e73d]=_0x24e73d<<0x1^0x11b;for(var _0x3ca082=0x0,_0xed3faa=0x0,_0x24e73d=0x0;_0x24e73d<0x100;_0x24e73d++){var _0x6be116=_0xed3faa^_0xed3faa<<0x1^_0xed3faa<<0x2^_0xed3faa<<0x3^_0xed3faa<<0x4;_0x6be116=_0x6be116>>>0x8^_0x6be116&0xff^0x63,_0x5a9e5a[_0x3ca082]=_0x6be116,_0x101139[_0x6be116]=_0x3ca082;var _0xb634d4=_0x753ee5[_0x3ca082],_0x21ac47=_0x753ee5[_0xb634d4],_0xf19edf=_0x753ee5[_0x21ac47],_0x23c0b0=_0x753ee5[_0x6be116]*0x101^_0x6be116*0x1010100;_0x2276a4[_0x3ca082]=_0x23c0b0<<0x18|_0x23c0b0>>>0x8,_0x394869[_0x3ca082]=_0x23c0b0<<0x10|_0x23c0b0>>>0x10,_0x585428[_0x3ca082]=_0x23c0b0<<0x8|_0x23c0b0>>>0x18,_0x30f5e8[_0x3ca082]=_0x23c0b0;var _0x23c0b0=_0xf19edf*0x1010101^_0x21ac47*0x10001^_0xb634d4*0x101^_0x3ca082*0x1010100;_0x9ebbcd[_0x6be116]=_0x23c0b0<<0x18|_0x23c0b0>>>0x8,_0x232762[_0x6be116]=_0x23c0b0<<0x10|_0x23c0b0>>>0x10,_0x5692a0[_0x6be116]=_0x23c0b0<<0x8|_0x23c0b0>>>0x18,_0x2c7820[_0x6be116]=_0x23c0b0,_0x3ca082?(_0x3ca082=_0xb634d4^_0x753ee5[_0x753ee5[_0x753ee5[_0xf19edf^_0xb634d4]]],_0xed3faa^=_0x753ee5[_0x753ee5[_0xed3faa]]):_0x3ca082=_0xed3faa=0x1;}}());var _0x7ff4e7=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3f0f77=_0x47ef53['AES']=_0x2f5ba8['extend']({'_doReset':function(){var _0x5bdbab=_0x472cb8,_0x18373a;if(!(this[_0x5bdbab(0x30b)]&&this[_0x5bdbab(0x251)]===this[_0x5bdbab(0x33a)])){for(var _0x5daf03=this['_keyPriorReset']=this[_0x5bdbab(0x33a)],_0x353cd4=_0x5daf03[_0x5bdbab(0x120)],_0x1c9d5b=_0x5daf03[_0x5bdbab(0x31f)]/0x4,_0x5d700e=this[_0x5bdbab(0x30b)]=_0x1c9d5b+0x6,_0x4b3487=(_0x5d700e+0x1)*0x4,_0x477a78=this[_0x5bdbab(0x272)]=[],_0x327e51=0x0;_0x327e51<_0x4b3487;_0x327e51++)_0x327e51<_0x1c9d5b?_0x477a78[_0x327e51]=_0x353cd4[_0x327e51]:(_0x18373a=_0x477a78[_0x327e51-0x1],_0x327e51%_0x1c9d5b?_0x1c9d5b>0x6&&_0x327e51%_0x1c9d5b==0x4&&(_0x18373a=_0x5a9e5a[_0x18373a>>>0x18]<<0x18|_0x5a9e5a[_0x18373a>>>0x10&0xff]<<0x10|_0x5a9e5a[_0x18373a>>>0x8&0xff]<<0x8|_0x5a9e5a[_0x18373a&0xff]):(_0x18373a=_0x18373a<<0x8|_0x18373a>>>0x18,_0x18373a=_0x5a9e5a[_0x18373a>>>0x18]<<0x18|_0x5a9e5a[_0x18373a>>>0x10&0xff]<<0x10|_0x5a9e5a[_0x18373a>>>0x8&0xff]<<0x8|_0x5a9e5a[_0x18373a&0xff],_0x18373a^=_0x7ff4e7[_0x327e51/_0x1c9d5b|0x0]<<0x18),_0x477a78[_0x327e51]=_0x477a78[_0x327e51-_0x1c9d5b]^_0x18373a);for(var _0x50b24b=this[_0x5bdbab(0x1d4)]=[],_0x37945d=0x0;_0x37945d<_0x4b3487;_0x37945d++){var _0x327e51=_0x4b3487-_0x37945d;if(_0x37945d%0x4)var _0x18373a=_0x477a78[_0x327e51];else var _0x18373a=_0x477a78[_0x327e51-0x4];_0x37945d<0x4||_0x327e51<=0x4?_0x50b24b[_0x37945d]=_0x18373a:_0x50b24b[_0x37945d]=_0x9ebbcd[_0x5a9e5a[_0x18373a>>>0x18]]^_0x232762[_0x5a9e5a[_0x18373a>>>0x10&0xff]]^_0x5692a0[_0x5a9e5a[_0x18373a>>>0x8&0xff]]^_0x2c7820[_0x5a9e5a[_0x18373a&0xff]];}}},'encryptBlock':function(_0x3916d8,_0x5239a2){var _0x56bad1=_0x472cb8;this[_0x56bad1(0x103)](_0x3916d8,_0x5239a2,this[_0x56bad1(0x272)],_0x2276a4,_0x394869,_0x585428,_0x30f5e8,_0x5a9e5a);},'decryptBlock':function(_0x422fd1,_0x2d3bb8){var _0x17e9f9=_0x422fd1[_0x2d3bb8+0x1];_0x422fd1[_0x2d3bb8+0x1]=_0x422fd1[_0x2d3bb8+0x3],_0x422fd1[_0x2d3bb8+0x3]=_0x17e9f9,this['_doCryptBlock'](_0x422fd1,_0x2d3bb8,this['_invKeySchedule'],_0x9ebbcd,_0x232762,_0x5692a0,_0x2c7820,_0x101139);var _0x17e9f9=_0x422fd1[_0x2d3bb8+0x1];_0x422fd1[_0x2d3bb8+0x1]=_0x422fd1[_0x2d3bb8+0x3],_0x422fd1[_0x2d3bb8+0x3]=_0x17e9f9;},'_doCryptBlock':function(_0x2e07ee,_0x279347,_0x3644ce,_0x1f6e4e,_0x4097a6,_0x108494,_0x373c62,_0x19eaeb){var _0x5eae75=_0x472cb8;for(var _0x463889=this[_0x5eae75(0x30b)],_0x1774c7=_0x2e07ee[_0x279347]^_0x3644ce[0x0],_0x62773e=_0x2e07ee[_0x279347+0x1]^_0x3644ce[0x1],_0x2ff36d=_0x2e07ee[_0x279347+0x2]^_0x3644ce[0x2],_0x25e115=_0x2e07ee[_0x279347+0x3]^_0x3644ce[0x3],_0x345c88=0x4,_0x28b879=0x1;_0x28b879<_0x463889;_0x28b879++){var _0x261388=_0x1f6e4e[_0x1774c7>>>0x18]^_0x4097a6[_0x62773e>>>0x10&0xff]^_0x108494[_0x2ff36d>>>0x8&0xff]^_0x373c62[_0x25e115&0xff]^_0x3644ce[_0x345c88++],_0x2b0df2=_0x1f6e4e[_0x62773e>>>0x18]^_0x4097a6[_0x2ff36d>>>0x10&0xff]^_0x108494[_0x25e115>>>0x8&0xff]^_0x373c62[_0x1774c7&0xff]^_0x3644ce[_0x345c88++],_0x1797b5=_0x1f6e4e[_0x2ff36d>>>0x18]^_0x4097a6[_0x25e115>>>0x10&0xff]^_0x108494[_0x1774c7>>>0x8&0xff]^_0x373c62[_0x62773e&0xff]^_0x3644ce[_0x345c88++],_0x5d824c=_0x1f6e4e[_0x25e115>>>0x18]^_0x4097a6[_0x1774c7>>>0x10&0xff]^_0x108494[_0x62773e>>>0x8&0xff]^_0x373c62[_0x2ff36d&0xff]^_0x3644ce[_0x345c88++];_0x1774c7=_0x261388,_0x62773e=_0x2b0df2,_0x2ff36d=_0x1797b5,_0x25e115=_0x5d824c;}var _0x261388=(_0x19eaeb[_0x1774c7>>>0x18]<<0x18|_0x19eaeb[_0x62773e>>>0x10&0xff]<<0x10|_0x19eaeb[_0x2ff36d>>>0x8&0xff]<<0x8|_0x19eaeb[_0x25e115&0xff])^_0x3644ce[_0x345c88++],_0x2b0df2=(_0x19eaeb[_0x62773e>>>0x18]<<0x18|_0x19eaeb[_0x2ff36d>>>0x10&0xff]<<0x10|_0x19eaeb[_0x25e115>>>0x8&0xff]<<0x8|_0x19eaeb[_0x1774c7&0xff])^_0x3644ce[_0x345c88++],_0x1797b5=(_0x19eaeb[_0x2ff36d>>>0x18]<<0x18|_0x19eaeb[_0x25e115>>>0x10&0xff]<<0x10|_0x19eaeb[_0x1774c7>>>0x8&0xff]<<0x8|_0x19eaeb[_0x62773e&0xff])^_0x3644ce[_0x345c88++],_0x5d824c=(_0x19eaeb[_0x25e115>>>0x18]<<0x18|_0x19eaeb[_0x1774c7>>>0x10&0xff]<<0x10|_0x19eaeb[_0x62773e>>>0x8&0xff]<<0x8|_0x19eaeb[_0x2ff36d&0xff])^_0x3644ce[_0x345c88++];_0x2e07ee[_0x279347]=_0x261388,_0x2e07ee[_0x279347+0x1]=_0x2b0df2,_0x2e07ee[_0x279347+0x2]=_0x1797b5,_0x2e07ee[_0x279347+0x3]=_0x5d824c;},'keySize':0x100/0x20});_0x5d5bf4[_0x472cb8(0x11b)]=_0x2f5ba8['_createHelper'](_0x3f0f77);}()),_0x5ae98d[_0x427f1b(0x11b)];}));}(We)),We[_0x33ae01(0x1be)];}var Js=qs();const Xs=je(Js);var Zs=Ui();const ai=je(Zs);var Ze={'exports':{}},Qs=Ze[_0x4a9f88(0x1be)],ci;function er(){var _0x2cee25=_0x4a9f88;return ci||(ci=0x1,function(_0x4cc3d3,_0xf702d9){(function(_0x1d424f,_0x3d71fb){var _0x5c58ab=_0x30f1;_0x4cc3d3[_0x5c58ab(0x1be)]=_0x3d71fb(ne());}(Qs,function(_0x5956bd){var _0x37ed0a=_0x30f1;return _0x5956bd[_0x37ed0a(0xee)]['Utf8'];}));}(Ze)),Ze[_0x2cee25(0x1be)];}var tr=er();const ir=je(tr);var Qe={'exports':{}},nr=Qe[_0x4a9f88(0x1be)],hi;function sr(){var _0x7ebc36=_0x4a9f88;return hi||(hi=0x1,function(_0x13fb18,_0x500151){(function(_0x320080,_0x5b8285){_0x13fb18['exports']=_0x5b8285(ne());}(nr,function(_0x543488){var _0x5e59e9=_0x30f1;return(function(){var _0x2d7668=_0x30f1;if(typeof ArrayBuffer==_0x2d7668(0x196)){var _0x5f0316=_0x543488,_0x15f629=_0x5f0316[_0x2d7668(0x201)],_0x566ec2=_0x15f629[_0x2d7668(0x140)],_0x359e98=_0x566ec2[_0x2d7668(0x286)],_0x407723=_0x566ec2[_0x2d7668(0x286)]=function(_0x3f8249){var _0x387da0=_0x2d7668;if(_0x3f8249 instanceof ArrayBuffer&&(_0x3f8249=new Uint8Array(_0x3f8249)),(_0x3f8249 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3f8249 instanceof Uint8ClampedArray||_0x3f8249 instanceof Int16Array||_0x3f8249 instanceof Uint16Array||_0x3f8249 instanceof Int32Array||_0x3f8249 instanceof Uint32Array||_0x3f8249 instanceof Float32Array||_0x3f8249 instanceof Float64Array)&&(_0x3f8249=new Uint8Array(_0x3f8249[_0x387da0(0x13a)],_0x3f8249[_0x387da0(0x288)],_0x3f8249['byteLength'])),_0x3f8249 instanceof Uint8Array){for(var _0x36b0d9=_0x3f8249[_0x387da0(0x1a1)],_0x445cd0=[],_0x1be0d4=0x0;_0x1be0d4<_0x36b0d9;_0x1be0d4++)_0x445cd0[_0x1be0d4>>>0x2]|=_0x3f8249[_0x1be0d4]<<0x18-_0x1be0d4%0x4*0x8;_0x359e98[_0x387da0(0x2ce)](this,_0x445cd0,_0x36b0d9);}else _0x359e98[_0x387da0(0xa3)](this,arguments);};_0x407723[_0x2d7668(0x12d)]=_0x566ec2;}}()),_0x543488[_0x5e59e9(0x201)][_0x5e59e9(0x140)];}));}(Qe)),Qe[_0x7ebc36(0x1be)];}var rr=sr();const or=je(rr);var et={'exports':{}},ar=et[_0x4a9f88(0x1be)],_i;function _0x19a6(){var _0x274eb6=['_changesetReqId','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_onRemoteRejected','_toggleOffline','CHANGESET_ACK','UNIVER_SHEET','listRoles','_collaborationPaused','JOINING','readAsDataURL','FETCH_MISSING','_getUndoStack','StreamCipher','_getAPIPrefixPath','_getUploadFileURL','set','[CollaborationSession]','addImageSourceCache','\x20in\x20_schedule.','baseRev','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_redoStacks','_onRemoteChangeset','fromCharCode','CLOSE_ROOM','offline','exports','change$','onSendChangeset','SNAPSHOT_URL_KEY','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','visibilityState','UNIVER_UNKNOWN','deleteCollaborator','_clearCollaborationTimeoutTimer','disposeWithMe','addEventListener','create','loadSheet','every','_iv','ivSize','getResourcesRequest','formatter','concat','_HTTPService','_fetchMissChangesets','subscribe','_invKeySchedule','parse','/universer-api/comb','_singleActiveUnitService','enableOfflineEditing','CHANGESET_SHOULD_RETRY','getCurrentUnitForType','_hasher','SYNCED','clamp','params','entityInit$','getTime','headers','_executeRemoteChangeset','_substituteUndoStack','_configService','_waitCount','iterations','location','/allowed','ONLINE','objectType','IDLE','action','UNRECOGNIZED','sessionStatus','[DataLoaderController]','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','uploadFileServerUrl','wsSessionTicketUrl','DEFAULT_FILE_NAME','APPLY_DUPLICATED','_remoteChangesetQueue','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','fetch_missing','finalize','MD5','status$','telemetry\x20info\x20is\x20not\x20initialized','list','_ENC_XFORM_MODE','_scheduleTimestamp','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','CONNECTOR_DATA_TOO_LARGE','lib','collaboration-client.config','_createHelper','COMMENT_UPDATE','_entityInit$','APPLY_NON_SEQUENTIAL_REVISION','transformStack\x20failed!','createSocket','SNAPSHOT_INVALID_SNAPSHOT','_resendTimer','NoPadding','HMAC','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','close$','event$','HmacMD5','getLatestCsReqIdBySid','length','SerializableCipher','onStateChange','_snapshotService','getInterceptPoints','random','error','[SyncedState]:\x20received\x20rejection.','OTHER_CLIENT_EDITING','href','LICENSE_EXPORT_SIZE_EXCEEDED','Cipher','_compressMutationService','ENSURE_SNAPSHOT_EXECUTION','ALREADY_EXISTS','origin','cfg','UNDEFINED','_removeRoom','pending','?url=','_registerDependencies','createEncryptor','Hasher','_imageSourceCache','getUnitType','getActiveSheet','objects','_onUserLeave','getCurrentRevOfUnit','6086032dZmIpM','size','findIndex','join','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','appendMutation','_initCloseConn','_isPermissionRej','getWorkbookSelections','refreshPermission','encryptBlock','\x20to\x20','failed\x20to\x20apply\x20missed\x20changesets!','_substituteRedoStack','unitId','MUTATION','_retryCount','_awaitingChangeset','SOCKET_FAILED_RETRY','/collaborator','_loadDoc','SHA1','_retryConnectingTimer','updateCollaborator','leaveEvent','_sheetTransformSelectionsService','save\x20fail\x20reason\x20is\x20','hasher','UNIVER_SLIDE','_DEC_XFORM_MODE','1000741sNIQQB','_doFinalize','isArray','_keyPriorReset','LIVESHARE_FETCH_OPERATIONS','_initMergeInterceptor','YUUMI_RATE_OVER_LIMIT','salt','ticket','push','catch','ciphertext','onMissingChangesets','createInstance','_onJoinRoomEvent','put','[CollaborationSessionService]:\x20socket\x20error','kdf','_collaborationTimeoutTimer','decrypt','/-/object/-/batch_allowed','_replayCachedMutations','_append','UNKNOWN_CODE','collaboratorID','UNKNOWN_CMD','POST','_init','onSyncEditingCollabCursor','_tryEnsureSocket','_socketReady','transformSelections','getTypeOfUnitAdded$','48lmZvyC','_schedule','_ws','_keySchedule','loginUrlKey','submit\x20changeset\x20error!','&assign=','avatar','range','setShowComponents','Pkcs7','_initUnitPermissionChange','emitEvent','_rescheduleHeartbeat','session.room-cnt-exceeds','clearUndoRedo','/universer-api/file/{fileID}/sign-url','onRemoteChangeset','encrypt','awaitingChangeset','sessionTicket','NOT_COLLAB','$super','init','_onCombEvent','byteOffset','result','ERROR_IMAGE','code','_event$','socket\x20close','SNAPSHOT_HAS_BEEN_REMOVED','BlockCipher','_clearTimeoutTimer','_univerInstanceService','has','39TUnnCn','_change$','originalMeta','_parse','startTime','format','requestParams','objectActions','_instanceService','processBlock','SUBMIT_CHANGESET_TIMEOUT','_status$','PSEUDO_FETCH_MISSING_RESULT','collaboration_new_changeset','subType','onRemoteRej','Worksheet','onTransformRemoteChangesetByIMECache','updateOfflineData','indexOf','LICENSE_IMPORT_SIZE_EXCEEDED','sid','NEW_CHANGESETS','bind','SNAPSHOT_SERVER_URL_KEY','loadDoc','_localCacheService','CHANGESET_REJ','ceil','_resendWithTimeout','sendChangesetTimeout','updatePermissionPoint','_entities','fromCollab','onRemoteAck','2230clwUyq','SOCKET_FAILED','_xformMode','_updateLocalCache','unitID','slice','_resendTimeout','csAckEvent','data','state$','EvpKDF','GLOBAL_ROOMS_CNT_EXCEEDS','_permissionService','fetchThroughInterceptors','splice','subject','error$','reject','COMPLETION_FINISHED','online','unknown','collaboration-client.local-cache-service','string','ERROR_EXCEED_SIZE','call','defineProperty','_clearLocalCache','application/json','_injector','socket$','[PendingState]:\x20unhandled\x20univer\x20type:\x20','requireSession','synced','_disableEditing','c2Prime','image/png','duration','_showConflictNotification','FAIL','memberID','override','toggleOnline','entries','JOIN_ROOM_FAILED','_onOffline','url','image/bmp','getFocusedUnit','_socket$','RECV','_type','_memberService','_createSocket','keySize','asObservable','complete','blockSize','toString','COMPRESS_MUTATION_SEND','UNIVER_PROJECT','forEach','UNAUTHENTICATED','_nDataBytes','awaiting','_unitInfo$','replace','[CollaborationSessionService]','CipherParams','_changesetSessionId','_unitID','includes','_undoStacks','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','body','Latin1','APPLY_REJECT','debug','stopTime','closeSession','sheets','charAt','_commandService','getSheetId','PERMISSION_DENIED','_startTelemetryCollaborationNewChangeset','_nRounds','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','PasswordBasedCipher','name','encode','_onMessage','fetchMissingChangesets','LIVESHARE_NEW_HOST','csShouldRetryEvent','HEARTBEAT','searchParams','onTransformSelections','msCrypto','_submitChangeset','transformMutationsWithChangeset','APPLY_REVISION_CONFILICT','_transformService','_doReset','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','sigBytes','getCurrentUser','_throwTelemetryCollaborationNewChangeset','MSG_FOR_ERROR','getTargetByPermissionId','UNIVER_DOC','deepClone','_userManagerService','_initRequestHeader','Malformed\x20UTF-8\x20data','session.room-not-exists','revision','responseType','USERS_ENTER','[OfflineState]:\x20received\x20rejection.','_members','substr','[CollaborationUndoRedoService]','OFFLINE','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','socket\x20open.','eventID','LEAVE','get','extend','downloadEndpointUrl','SHOULD_CLOSE_CONN','_key','_createSocketURL','_sendingTimer','PENDING','post','_queuedRemoteChangesets','reduce','?size=','9544212ADCLpm','userID','_clearHeartbeatTimer','_sendHeartbeatTimer','encodeURIComponent','reconnect','localeService','compose','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getRandomValues','HELLO','_onConnectionFailed','_revisionService','COLLAB_WEB_SOCKET_URL','/universer-api/authz','UNIVER_COLLABORATION_CLIENT_PLUGIN','_state$','[DataLoaderService]','hasOwnProperty','floor','/universer-api/oidc/authpage','_createHmacHelper','max','isPermissionRej','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','interceptor','_sessions','_oKey','UPDATE_PERMISSION_OBJ','_collaborationSessionService','open$','_transformRemoteChangesetByStateCache','_createInitialState','append','setTimeout','LIVESHARE_OPERATION','type','clear','OpenSSL','__Key__','permissionRejEvent','_getSignURL','not_collab','next','Base','liveShareNewHost','APPLY_PERMISSION_DENIED','updateMember','updateCursorEvent','113108peTZaT','_telemetryService','compute','_minBufferSize','cmd','UnitSnapshot','map','_pendingMutations','_createInitialStateImpl','RETRY_CONNECTING_MAX_COUNT','target','/new_changes','joinEvent','LICENSE_DISTRO_REJECTED','getAllMembers','then','/universer-api/snapshot/','Encryptor','getOwnPropertyDescriptor','_transformSelections','collaborators','_data','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','saveSnapshot','commentUpdate$','_collaborationUIEventService','min','onTransformIME','UnitEmbedded','SelectRange','INTERNAL_ERROR','/fetchmissing?from=','onTransformState','transformChangesets','saveChangeset','_sender','state','default','_updateStatus','_timeoutTimer','LOGIN_URL_KEY','confirm','Workbook','INVALID_ARGUMENT','equals','unitInfo$','CBC','c1Prime','_sendHeartbeat','_commentUpdate$','_checkMissing','onRemoteRetry','9XBEpGn','apply','dispose$','title','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_shouldReportTelemetry','JOIN_ROOM_NOT_EXISTS','NO_OTHER_CLIENTS_EDITING','collaMsg','m2Prime','now','initWorkbookPermissionChange','setCurrentUser','[CollaborationEntity]','/unit/','_process','COLLAB_SUBMIT_CHANGESET_URL','_clearRedo','enableSingleActiveInstanceLock','find','actions','removeMember','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','collabWebSocketUrl','ruleRefresh','_startCollaboration','onMissedChangesetFetched','/universer-api/stream/file/upload','members','PERMISSION_REJ','method','[OfflineState]:\x20received\x20acknowledgement.','signUrlServerUrl','toggleOffline','_joinRoom','3259450mSEDpQ','Could\x20not\x20dynamically\x20require\x20\x22','incrementRevOfUnit','authzUrl','_getSendChangesetTimeout','LICENSE_MAX_UNITS_EXCEEDED','rev','HttpExport','HmacSHA1','socketService','YUUMI_UNABLE_LOAD_URL','newCsEvent','startsWith','_lockTransition','file','getConfig','_createHandler','_applyRemoteChangeset','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','USERS_LEAVE','JOIN_ROOM_PERMISSION_DENIED','clone','BASE64','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','setConfig','[PendingState]:\x20received\x20rejection.','image/jpeg','_loadSheet','Decryptor','session','setWaitCount','updatePermissionObjEvent','__creator','/object','NOT_FOUND','_unlockTransition','OTHER_CLIENTS_EDITING','execute','Utf8','CHANGESET_REVISION_CONFILICT','PERSON','enc','getMemberID','onCommentUpdate','mixIn','getUnitId','pad','_updateState','Undefined','readInt32LE','&source=','routeKey','conflict','allowed','getMember','loadOfflineData','getSnapshotAPIPath','_onRemoteRetry','getCollabEntity$','UUID','status','pipe','_doCryptBlock','/-/object/list','getRoom','_listenToOnlineEvent','AWAITING_WITH_PENDING','randomBytes','LIVESHARE_TERMINATE','_handlerCallback','Error\x20on\x20receiving\x20event','onload','getUnitOnRev','JOIN_ROOM_FULL','visibilitychange','_httpService','fetching\x20missing\x20changesets\x20from\x20','update','_handler','selections','getTypeOfUnitDisposed$','addHandlerCallback','TOO_MANY_REQUESTS','_getCurrentRevision','[PendingState]:\x20received\x20acknowledgement.','filter','AES','crypto','objectID','_mode','_hash','words','algo','stringify','getSheetBlock','joinRsp','_onConflict','saveSheetBlock','executeCommand','snapshotServerUrl','onTransformRemoteChangesetByStateCache','_incrementRevisionNumber','People','reset','prototype','_getAPIPrefix','_onConnectionOpen','_authzIoService','changesets','registerHTTPInterceptor','_transformIMECache','_transformUndoredo','resend','_undoRedoService','_syncEditingCollabCursor','_eventService','dispose','buffer','AWAITING','_telemetryInfo','_config','_waitForHeartbeatResponse','getPermissionPoint','WordArray','editing\x20status\x20changed\x20to','32clnnLp','_iKey','/block/','resourceIDs','_socketMessageSubscription','_logService','decryptBlock','fetchMiss','delete','_initEventListeners','COMPRESS_MUTATION_APPLY','_decreaseWaiting','_tryReconnect','_getLoginPath','INGEST','_snapshotServerService','24NDqcOz','onStarting','_reverseMap','Hex','HEARTBEAT_TIMEOUT','BufferedBlockAlgorithm','446088MWuIcG','_cipher','onCommandExecuted','Base64','AUTHZ_URL_KEY','reqId','_onUserJoin','FileId','connection\x20error','JOIN','_transformStack','_getRedoStack','resolve','charCodeAt','randomUUID','_clearScheduledTask','_onRecvEvent','/universer-api/user/session-ticket','_socketService','sessionStatus$','mutations','_localeService','unitId\x20is\x20not\x20found','_candidateSocket','_getSessionTicket','SUBMIT_CHANGESET','_commentService','roomInfos','getImageSourceCache','snapshot','close','_getCtorByUniverType','_exhaustRemoteChangesetQueue','infoRsp','symbol','LIVESHARE_REQUEST_HOST','localCacheService','transformUndoRedo','getValue','listCollaborators','UPDATE_CURSOR','_onRemoteACK','getImage','_scheduleCollaborationTimeoutTimer','HttpImport','getCollabEntity','12991hPNDZc','_transitionLocked','CONFLICT','_onFetchMissResult','_socket','_state','add','putCollaborators','commentUpdateEvent','key','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_acknowledgedAwaitingChangeset','values','focused$','_onLocalMutation','value','function','_initDependencies','_roomMembers','_listenToOfflineEvent','univer-pro.collaboration-client-socket-service','textRanges','_transformStateCache','send','[SyncedState]:\x20received\x20acknowledgement.','_prevBlock','unsubscribe','byteLength','[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.','_sessionStatus$'];_0x19a6=function(){return _0x274eb6;};return _0x19a6();}function cr(){return _i||(_i=0x1,function(_0x162a76,_0x4c83bc){(function(_0x25ec31,_0x357863,_0x497c53){var _0x52fbc5=_0x30f1;_0x162a76[_0x52fbc5(0x1be)]=_0x357863(ne(),xi());}(ar,function(_0x2a988d){var _0x29d6b6=_0x30f1;return _0x2a988d['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2a988d['pad'][_0x29d6b6(0x20b)];}));}(et)),et['exports'];}var hr=cr();const _r=je(hr);function lr(_0x33545a,_0x49023f){var _0x332dee=_0x4a9f88;const _0xa8584a=_0x49023f-_0x33545a['length']%_0x49023f,_0x5db627=String[_0x332dee(0x1bb)](_0xa8584a)['repeat'](_0xa8584a);return _0x33545a+_0x5db627;}function ur(_0x180634,_0x336ba6){var _0x554193=_0x4a9f88;const _0x55e16e=or[_0x554193(0x217)](0x10),_0xe195b9=lr(_0x180634,0x10),_0x4a6395=Xs[_0x554193(0x281)](ir[_0x554193(0x1d5)](_0xe195b9),ai[_0x554193(0x1d5)](_0x336ba6),{'iv':_0x55e16e,'padding':_r});return _0x55e16e['concat'](_0x4a6395['ciphertext'])['toString'](ai);}function dr(){var _0x268184=_0x4a9f88;const _0x29e212=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x268184(0x369)];if(_0x29e212){const _0x314f14={'time':Math[_0x268184(0x355)](Date[_0x268184(0xac)]()/0x3e8),'domain':location['hostname']};return ur(JSON[_0x268184(0x122)](_0x314f14),_0x29e212);}}var fr=Object[_0x4a9f88(0x2cf)],vr=Object[_0x4a9f88(0x80)],pr=(_0x38f90a,_0x3bc7a3,_0x250c9b,_0x5c6013)=>{var _0x40ed83=_0x4a9f88;for(var _0x38550e=_0x5c6013>0x1?void 0x0:_0x5c6013?vr(_0x3bc7a3,_0x250c9b):_0x3bc7a3,_0x309328=_0x38f90a[_0x40ed83(0x212)]-0x1,_0xaf2221;_0x309328>=0x0;_0x309328--)(_0xaf2221=_0x38f90a[_0x309328])&&(_0x38550e=(_0x5c6013?_0xaf2221(_0x3bc7a3,_0x250c9b,_0x38550e):_0xaf2221(_0x38550e))||_0x38550e);return _0x5c6013&&_0x38550e&&fr(_0x3bc7a3,_0x250c9b,_0x38550e),_0x38550e;},mr=(_0x1b8b38,_0x4bd229)=>(_0x411a48,_0x2644cf)=>_0x4bd229(_0x411a48,_0x2644cf,_0x1b8b38);let at=class{constructor(_0x1f1548){var _0x5a1912=_0x4a9f88;this[_0x5a1912(0x110)]=_0x1f1548,this['_initRequestHeader']();}[_0x4a9f88(0x327)](){var _0x58f8e8=_0x4a9f88;this[_0x58f8e8(0x110)][_0x58f8e8(0x132)]({'interceptor':(_0x546454,_0x5c9860)=>{var _0x554f6d=_0x58f8e8;const _0x3a2749=_0x546454[_0x554f6d(0x1e1)],_0x1db74d=dr();return _0x1db74d&&_0x3a2749[_0x554f6d(0x1b3)]('x-univer-host',_0x1db74d),_0x5c9860(_0x546454);}});}};at=pr([mr(0x0,_0x2a5019(_0x16868d))],at);var gr=Object[_0x4a9f88(0x2cf)],Sr=Object[_0x4a9f88(0x80)],Er=(_0x4464de,_0x58f8ec,_0x47e268,_0x85b918)=>{var _0x2d4593=_0x4a9f88;for(var _0x2d2839=_0x85b918>0x1?void 0x0:_0x85b918?Sr(_0x58f8ec,_0x47e268):_0x58f8ec,_0x59bbd3=_0x4464de[_0x2d4593(0x212)]-0x1,_0x2fe4c4;_0x59bbd3>=0x0;_0x59bbd3--)(_0x2fe4c4=_0x4464de[_0x59bbd3])&&(_0x2d2839=(_0x85b918?_0x2fe4c4(_0x58f8ec,_0x47e268,_0x2d2839):_0x2fe4c4(_0x2d2839))||_0x2d2839);return _0x85b918&&_0x2d2839&&gr(_0x58f8ec,_0x47e268,_0x2d2839),_0x2d2839;},mt=(_0x5a6a90,_0x40d4a7)=>(_0x6a3d22,_0x3fc157)=>_0x40d4a7(_0x6a3d22,_0x3fc157,_0x5a6a90);let yt=class extends _0x2d4049{constructor(_0x502385,_0x320f97,_0xc2eb31){var _0x39747f=_0x4a9f88;super(),N(this,_0x39747f(0x2f6),new _0x20d4d6(null)),N(this,_0x39747f(0x9b),this[_0x39747f(0x2f6)][_0x39747f(0x2ec)]()),(this[_0x39747f(0x147)]=_0x502385,this[_0x39747f(0x215)]=_0x320f97,this[_0x39747f(0x2ad)]=_0xc2eb31);}async[_0x4a9f88(0x286)](_0x4b9275,_0xffc30e,_0x5413b7){var _0x477ab6=_0x4a9f88;this[_0x477ab6(0x2f6)][_0x477ab6(0x36d)]({'unitId':_0x4b9275,'type':_0xffc30e,'subUnitId':_0x5413b7});let _0x193fc3=null;switch(_0xffc30e){case Q[_0x477ab6(0x1a9)]:{_0x193fc3=await this[_0x477ab6(0xe0)](_0x4b9275);break;}case Q[_0x477ab6(0x324)]:{_0x193fc3=await this[_0x477ab6(0x244)](_0x4b9275);break;}default:{this[_0x477ab6(0x147)][_0x477ab6(0x218)](_0x477ab6(0x353),_0x477ab6(0x1c2));break;}}return _0x193fc3;}async['_loadSheet'](_0x79471b){var _0x2da8f4=_0x4a9f88,_0x40a3cf;let _0x412455=0x0;const _0x1bddb=await((_0x40a3cf=this[_0x2da8f4(0x2ad)])==null?void 0x0:_0x40a3cf['loadOfflineData'](_0x79471b));return _0x1bddb&&(_0x1bddb[_0x2da8f4(0x282)]||_0x1bddb[_0x2da8f4(0x16c)][_0x2da8f4(0x212)]!==0x0)&&(_0x412455=_0x1bddb['rev']),_0x412455===0x0&&this[_0x2da8f4(0x147)][_0x2da8f4(0x302)](_0x2da8f4(0x1ef),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x2da8f4(0x1ca)](_0x79471b,_0x412455);}async['_loadDoc'](_0x125122){var _0x2784d3=_0x4a9f88,_0x4a2646;let _0x13ff36=0x0;const _0x48d1b9=await((_0x4a2646=this[_0x2784d3(0x2ad)])==null?void 0x0:_0x4a2646[_0x2784d3(0xfc)](_0x125122));return _0x48d1b9&&(_0x48d1b9['awaitingChangeset']||_0x48d1b9[_0x2784d3(0x16c)]['length']!==0x0)&&(_0x13ff36=_0x48d1b9[_0x2784d3(0xcb)]),_0x13ff36===0x0&&this[_0x2784d3(0x147)]['debug'](_0x2784d3(0x1ef),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2784d3(0x215)][_0x2784d3(0x2ac)](_0x125122,_0x13ff36);}};yt=Er([mt(0x0,_0x54e63f),mt(0x1,_0x2a5019(_0x273c8c)),mt(0x2,_0x39b9b2(X))],yt);var Ir=Object[_0x4a9f88(0x2cf)],Tr=Object['getOwnPropertyDescriptor'],Cr=(_0x2efe60,_0x171384,_0x75ea9a,_0x425424)=>{for(var _0x1b12ac=_0x425424>0x1?void 0x0:_0x425424?Tr(_0x171384,_0x75ea9a):_0x171384,_0x3ceac6=_0x2efe60['length']-0x1,_0x2c8f62;_0x3ceac6>=0x0;_0x3ceac6--)(_0x2c8f62=_0x2efe60[_0x3ceac6])&&(_0x1b12ac=(_0x425424?_0x2c8f62(_0x171384,_0x75ea9a,_0x1b12ac):_0x2c8f62(_0x1b12ac))||_0x1b12ac);return _0x425424&&_0x1b12ac&&Ir(_0x171384,_0x75ea9a,_0x1b12ac),_0x1b12ac;},gt=(_0x50aa3a,_0x4fc82e)=>(_0x13125e,_0x1b79c7)=>_0x4fc82e(_0x13125e,_0x1b79c7,_0x50aa3a);const br=[_0x4a9f88(0x2d9),_0x4a9f88(0xdf),'image/jpg','image/gif',_0x4a9f88(0x2e4)],Rr=0x5*0x400*0x400,yr=_0x4a9f88(0x35a),Or=_0x4a9f88(0xbd),Pr=_0x4a9f88(0x34a),Dr=_0x4a9f88(0x27f);let Ot=class{constructor(_0x2904ef,_0x1b87cb,_0x295e90){var _0x526665=_0x4a9f88;N(this,'_waitCount',0x0),N(this,'_change$',new _0x1afd5c()),N(this,_0x526665(0x1bf),this[_0x526665(0x294)]),N(this,_0x526665(0x22a),new Map()),(this[_0x526665(0x110)]=_0x2904ef,this[_0x526665(0x1e4)]=_0x1b87cb,this[_0x526665(0x291)]=_0x295e90);}[_0x4a9f88(0xe3)](_0x1a3298){var _0x253a60=_0x4a9f88;this[_0x253a60(0x1e5)]=_0x1a3298,this[_0x253a60(0x294)][_0x253a60(0x36d)](_0x1a3298);}[_0x4a9f88(0x174)](_0x482161,_0xedbeeb){var _0x414613=_0x4a9f88;if(_0xedbeeb===_0x49fd6c[_0x414613(0xdb)]){const _0x4e9e5d=new Image();return _0x4e9e5d['src']=_0x482161,_0x4e9e5d;}return this[_0x414613(0x22a)]['get'](_0x482161);}[_0x4a9f88(0x1b5)](_0xc34f9,_0x1966de,_0x3439ba){var _0x3d6266=_0x4a9f88;_0x1966de===_0x49fd6c['BASE64']||_0x3439ba==null||this[_0x3d6266(0x22a)][_0x3d6266(0x1b3)](_0xc34f9,_0x3439ba);}async[_0x4a9f88(0x182)](_0x1f25a9){var _0x31d567=_0x4a9f88;try{const _0x874772=this['_replaceFileID'](this[_0x31d567(0x36b)](),''+_0x1f25a9),_0x2430b0=(await this[_0x31d567(0x110)]['get'](_0x874772))[_0x31d567(0x2ff)];if(_0x2430b0[_0x31d567(0x218)]&&_0x2430b0[_0x31d567(0x218)][_0x31d567(0x28b)]===Ti['OK']){const _0x3bc631=new URL(_0x2430b0[_0x31d567(0x2e3)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x31d567(0x164)](_0x3bc631);}return Promise[_0x31d567(0x2c7)](_0x2430b0[_0x31d567(0x218)]);}catch(_0x4694af){return Promise[_0x31d567(0x2c7)](_0x4694af);}}async['saveImage'](_0x505701){var _0x538206=_0x4a9f88;let _0x58db5a='';if(!br[_0x538206(0x2fc)](_0x505701[_0x538206(0x366)]))return this[_0x538206(0x14d)](),Promise['reject'](new Error(_0x26f0c2['ERROR_IMAGE_TYPE']));if(_0x505701['size']>Rr)return this[_0x538206(0x14d)](),Promise['reject'](new Error(_0x26f0c2[_0x538206(0x2cd)]));try{const _0x5f499a=new FormData();_0x5f499a[_0x538206(0x363)](_0x538206(0xd3),_0x505701);const _0x1a109a=this['_univerInstanceService'][_0x538206(0x2e5)](),_0x5c81ae=_0x1a109a==null?void 0x0:_0x1a109a[_0x538206(0xf2)]();if(!_0x5c81ae)throw new Error(_0x538206(0x16e));const _0x10f089=this['_getUploadFileURL']()+_0x538206(0x341)+_0x505701[_0x538206(0x231)][_0x538206(0x2ef)]()+_0x538206(0xf7)+Ci['UnitEmbedded']+_0x538206(0x275)+encodeURIComponent(_0x5c81ae),_0x31883f=await(await fetch(_0x10f089,{'method':'POST','body':_0x5f499a}))['json']();if(typeof _0x31883f[_0x538206(0x15f)]!='string')return this[_0x538206(0x14d)](),Promise['reject'](new Error(_0x26f0c2['ERROR_IMAGE']));_0x58db5a=_0x31883f[_0x538206(0x15f)];}catch{return this[_0x538206(0x14d)](),Promise[_0x538206(0x2c7)](new Error(_0x26f0c2[_0x538206(0x28a)]));}return new Promise((_0x441be3,_0xe15d06)=>{var _0x25ac1c=_0x538206;const _0x47864f=new FileReader();_0x47864f[_0x25ac1c(0x1ad)](_0x505701),_0x47864f[_0x25ac1c(0x10c)]=_0x42034b=>{var _0x1221bd=_0x25ac1c,_0x130522;const _0x242577=(_0x130522=_0x42034b[_0x1221bd(0x78)])==null?void 0x0:_0x130522[_0x1221bd(0x289)];if(_0x242577==null){this[_0x1221bd(0x14d)](),_0xe15d06(new Error(_0x26f0c2[_0x1221bd(0x28a)]));return;}const _0x5bfc62=_0x2c1d8d['generateRandomId'](0x6);_0x441be3({'imageId':_0x5bfc62,'imageSourceType':_0x49fd6c[_0x1221bd(0x100)],'source':_0x58db5a,'base64Cache':_0x242577,'status':_0x26f0c2['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x4a9f88(0x1b2)](){var _0xb36d4f=_0x4a9f88,_0x22d098,_0x17fde9;const _0x4bc122=this[_0xb36d4f(0x1e4)][_0xb36d4f(0xd4)](yr),_0x2a0f99=this['_configService'][_0xb36d4f(0xd4)](Y);return(_0x17fde9=(_0x22d098=_0x2a0f99==null?void 0x0:_0x2a0f99[_0xb36d4f(0x1f1)])!=null?_0x22d098:_0x4bc122)!=null?_0x17fde9:Or;}['_getSignURL'](){var _0x5e9f4c=_0x4a9f88,_0x23f6ea,_0x3d1474;const _0x49d53f=this['_configService'][_0x5e9f4c(0xd4)](Pr),_0x6d4f42=this[_0x5e9f4c(0x1e4)][_0x5e9f4c(0xd4)](Y);return(_0x3d1474=(_0x23f6ea=_0x6d4f42==null?void 0x0:_0x6d4f42[_0x5e9f4c(0xc2)])!=null?_0x23f6ea:_0x49d53f)!=null?_0x3d1474:Dr;}['_getDownloadEndpointURL'](){var _0x213360=_0x4a9f88,_0x28290b;const _0x29baaa=this[_0x213360(0x1e4)][_0x213360(0xd4)](Y);return(_0x28290b=_0x29baaa==null?void 0x0:_0x29baaa[_0x213360(0x338)])!=null?_0x28290b:location[_0x213360(0x221)];}['_replaceFileID'](_0x2d2298,_0x1af73c){var _0x1c685f=_0x4a9f88;return _0x2d2298[_0x1c685f(0x2f7)]('{fileID}',_0x1af73c);}[_0x4a9f88(0x14d)](){var _0xb0ce33=_0x4a9f88;this[_0xb0ce33(0x1e5)]-=0x1,this[_0xb0ce33(0x294)]['next'](this[_0xb0ce33(0x1e5)]);}};Ot=Cr([gt(0x0,_0x2a5019(_0x16868d)),gt(0x1,_0xd4de74),gt(0x2,_0x2a5019(_0x190ff7))],Ot);var Nr=Object[_0x4a9f88(0x2cf)],wr=Object[_0x4a9f88(0x80)],Ur=(_0x1ea7e1,_0xd81835,_0x262be1,_0x36f1a8)=>{var _0x1d863e=_0x4a9f88;for(var _0x6e27c4=_0x36f1a8>0x1?void 0x0:_0x36f1a8?wr(_0xd81835,_0x262be1):_0xd81835,_0x50d1ee=_0x1ea7e1[_0x1d863e(0x212)]-0x1,_0x24639c;_0x50d1ee>=0x0;_0x50d1ee--)(_0x24639c=_0x1ea7e1[_0x50d1ee])&&(_0x6e27c4=(_0x36f1a8?_0x24639c(_0xd81835,_0x262be1,_0x6e27c4):_0x24639c(_0x6e27c4))||_0x6e27c4);return _0x36f1a8&&_0x6e27c4&&Nr(_0xd81835,_0x262be1,_0x6e27c4),_0x6e27c4;},li=(_0x2ca870,_0x24bb87)=>(_0x3248e7,_0x11695d)=>_0x24bb87(_0x3248e7,_0x11695d,_0x2ca870);const Ar=_0x4a9f88(0x350);let Pt=class{constructor(_0x21634d,_0x499c6e){var _0x497a8a=_0x4a9f88;this[_0x497a8a(0x1e4)]=_0x21634d,this['_HTTPService']=_0x499c6e;}[_0x4a9f88(0x1b1)](){var _0x22820c=_0x4a9f88,_0x2f0bd8,_0x5efdee;const _0x1675f2=this[_0x22820c(0x1e4)][_0x22820c(0xd4)](wi),_0x1fbfee=this['_configService'][_0x22820c(0xd4)](Y);return(_0x5efdee=(_0x2f0bd8=_0x1fbfee==null?void 0x0:_0x1fbfee[_0x22820c(0xc8)])!=null?_0x2f0bd8:_0x1675f2)!=null?_0x5efdee:Ar;}async[_0x4a9f88(0x1fc)](_0x30da72){var _0x226435=_0x4a9f88;const _0xf96b4b=this[_0x226435(0x1b1)]()+_0x226435(0x243);return{'list':[{'title':_0x226435(0x12b),'mentions':(await this['_HTTPService']['get'](_0xf96b4b,{'params':{'objectID':_0x30da72[_0x226435(0x23e)],'unitID':_0x30da72[_0x226435(0x23e)]}}))[_0x226435(0x2ff)][_0x226435(0x82)][_0x226435(0x74)](_0x287cea=>({'objectId':_0x287cea['id'],'name':_0x287cea[_0x226435(0x2c5)]['name'],'metadata':{'icon':_0x287cea[_0x226435(0x2c5)][_0x226435(0x276)]},'label':_0x287cea[_0x226435(0x2c5)][_0x226435(0x30f)],'objectType':_0x411373[_0x226435(0xed)]})),'metadata':{},'type':_0x411373[_0x226435(0xed)]}]};}};Pt=Ur([li(0x0,_0x2a5019(_0xd4de74)),li(0x1,_0x2a5019(_0x16868d))],Pt);var xr=Object[_0x4a9f88(0x2cf)],Lr=Object[_0x4a9f88(0x80)],Mr=(_0xb43a3f,_0x2b987f,_0x21f5f9,_0x54e914)=>{var _0x469fe0=_0x4a9f88;for(var _0x4280ea=_0x54e914>0x1?void 0x0:_0x54e914?Lr(_0x2b987f,_0x21f5f9):_0x2b987f,_0x3b4b90=_0xb43a3f[_0x469fe0(0x212)]-0x1,_0x3a9f4f;_0x3b4b90>=0x0;_0x3b4b90--)(_0x3a9f4f=_0xb43a3f[_0x3b4b90])&&(_0x4280ea=(_0x54e914?_0x3a9f4f(_0x2b987f,_0x21f5f9,_0x4280ea):_0x3a9f4f(_0x4280ea))||_0x4280ea);return _0x54e914&&_0x4280ea&&xr(_0x2b987f,_0x21f5f9,_0x4280ea),_0x4280ea;},Se=(_0x297c47,_0x3c3e1c)=>(_0x49e1fa,_0x2190a3)=>_0x3c3e1c(_0x49e1fa,_0x2190a3,_0x297c47);let ct=class extends _0x2d4049{constructor(_0x656921,_0x4685bd,_0x47f5f2,_0x2488ed,_0x146014,_0x457c05,_0x38a2cd){var _0x4ddd17=_0x4a9f88;super(),this[_0x4ddd17(0x2d2)]=_0x656921,this[_0x4ddd17(0x291)]=_0x4685bd,this[_0x4ddd17(0x2c2)]=_0x47f5f2,this[_0x4ddd17(0x35f)]=_0x2488ed,this[_0x4ddd17(0x87)]=_0x146014,this[_0x4ddd17(0x130)]=_0x457c05,this[_0x4ddd17(0x136)]=_0x38a2cd,this[_0x4ddd17(0x27a)](),this[_0x4ddd17(0x236)]();}[_0x4a9f88(0x236)](){var _0x53fa85=_0x4a9f88;const _0x21354a=async _0x3ec2f7=>{var _0x4cea91=_0x30f1;(await this[_0x4cea91(0x35f)][_0x4cea91(0x2d5)](_0x3ec2f7))[_0x4cea91(0x20f)]['pipe'](_0x26b17e(_0x4c9a3d=>_0x4c9a3d[_0x4cea91(0x334)]===_0x5db513[_0x4cea91(0x339)]),_0x4886fb(this['dispose$']))[_0x4cea91(0x1d3)](_0x9aab16=>{var _0x55fa53=_0x4cea91;const _0x916462=_0x9aab16,{reason:_0x27db28}=_0x916462[_0x55fa53(0x2be)];this[_0x55fa53(0x87)][_0x55fa53(0x27b)]({'id':se['CLOSE_ROOM'],'data':_0x27db28}),this[_0x55fa53(0x2c2)][_0x55fa53(0x2b2)](new _0x7ca049(_0x3ec2f7)['id'],!0x1),this[_0x55fa53(0x35f)][_0x55fa53(0x304)](_0x3ec2f7);});};_0x177cab(this[_0x53fa85(0x291)][_0x53fa85(0x26e)](_0x89e517['UNIVER_SHEET']),this['_univerInstanceService'][_0x53fa85(0x26e)](_0x89e517[_0x53fa85(0x324)]))[_0x53fa85(0x102)](_0x12f7c6(_0x351927=>_0x351927['getUnitId']()),_0x26b17e(_0x5bfc5c=>!_0x19a091(_0x5bfc5c)),_0x4886fb(this[_0x53fa85(0xa4)]))[_0x53fa85(0x1d3)](_0x17af53=>{_0x21354a(_0x17af53);});}[_0x4a9f88(0x27a)](){var _0x5b9ef9=_0x4a9f88;const _0x1c24cf=async _0x85430=>{var _0x167c03=_0x30f1;(await this[_0x167c03(0x35f)][_0x167c03(0x2d5)](_0x85430))[_0x167c03(0x20f)]['pipe'](_0x26b17e(_0x4d714c=>_0x4d714c[_0x167c03(0x334)]===_0x5db513[_0x167c03(0x35e)]),_0x4886fb(this['dispose$']))['subscribe'](_0x4b84ef=>{var _0x986374=_0x167c03;const _0x2b81ce=_0x4b84ef,{objectId:_0x374e4a}=_0x2b81ce['data'];_0x374e4a===_0x85430?this[_0x986374(0xad)](_0x85430):this['refreshPermission'](_0x85430,_0x374e4a);});};_0x177cab(this[_0x5b9ef9(0x291)][_0x5b9ef9(0x26e)](_0x89e517['UNIVER_SHEET']),this[_0x5b9ef9(0x291)][_0x5b9ef9(0x26e)](_0x89e517[_0x5b9ef9(0x324)]))[_0x5b9ef9(0x102)](_0x12f7c6(_0x29c5c2=>_0x29c5c2['getUnitId']()),_0x26b17e(_0x17e68e=>!_0x19a091(_0x17e68e)),_0x4886fb(this[_0x5b9ef9(0xa4)]))[_0x5b9ef9(0x1d3)](_0x53f4cb=>{_0x1c24cf(_0x53f4cb);});}async[_0x4a9f88(0xad)](_0x15249c){var _0x411469=_0x4a9f88,_0xb8f64e;const _0x273b37=_0x15249c||((_0xb8f64e=this[_0x411469(0x291)][_0x411469(0x1da)](_0x89e517[_0x411469(0x1a9)]))==null?void 0x0:_0xb8f64e['getUnitId']());_0x273b37&&this['_authzIoService'][_0x411469(0xfa)]({'objectID':_0x273b37,'objectType':_0x19560f[_0x411469(0x98)],'unitID':_0x273b37,'actions':_0x4bd940})['then'](_0x5e60e3=>{var _0x38bd8e=_0x411469;_0x5e6030()[_0x38bd8e(0x2f2)](_0x3a752a=>{var _0x514779=_0x38bd8e;const _0x54b955=new _0x3a752a(_0x273b37),_0x4b6e54=_0x54b955['subType'],_0x464d1f=_0x5e60e3['find'](_0x37a578=>_0x37a578['action']===_0x4b6e54);_0x464d1f&&this[_0x514779(0x2c2)]['updatePermissionPoint'](_0x54b955['id'],_0x464d1f[_0x514779(0xfa)]);});});}[_0x4a9f88(0x239)](_0x3ad2a8,_0x1c8907){var _0x1bd6b8=_0x4a9f88;const _0x570b14=this[_0x1bd6b8(0x2d2)]['get'](_0x1a6295),_0x17912a=_0x570b14[_0x1bd6b8(0x323)](_0x3ad2a8,_0x1c8907);let _0x22db27=!0x1;if(_0x17912a){const [_0x369541,_0x48dbc4]=_0x17912a;this[_0x1bd6b8(0x130)][_0x1bd6b8(0xfa)]({'objectID':_0x1c8907,'unitID':_0x3ad2a8,'objectType':_0x19560f[_0x1bd6b8(0x2a3)],'actions':_0x31941d})[_0x1bd6b8(0x7d)](_0xfdf508=>{var _0xc1886c=_0x1bd6b8;let _0x132840='';_0xae8f37()[_0xc1886c(0x2f2)](_0x33a42e=>{var _0x207d17=_0xc1886c,_0x36e8e4;const _0x13a778=new _0x33a42e(_0x3ad2a8,_0x48dbc4),_0x563b78=_0x13a778[_0x207d17(0x2a1)],_0x22c68e=_0xfdf508[_0x207d17(0xb5)](_0x183265=>_0x183265[_0x207d17(0x1ec)]===_0x563b78);_0x22c68e&&(((_0x36e8e4=this['_permissionService'][_0x207d17(0x13f)](_0x13a778['id']))==null?void 0x0:_0x36e8e4[_0x207d17(0x195)])!==_0x22c68e[_0x207d17(0xfa)]&&(_0x22db27=!0x0),this[_0x207d17(0x2c2)][_0x207d17(0x2b2)](_0x13a778['id'],_0x22c68e[_0x207d17(0xfa)]),_0x132840+=_0x22c68e[_0x207d17(0x1ec)]+'_'+_0x22c68e[_0x207d17(0xfa)]);}),_0x570b14[_0xc1886c(0xba)](_0x1c8907+'_'+_0x132840),_0x22db27&&this['_undoRedoService']['clearUndoRedo'](_0x3ad2a8);});}const _0x2245b6=this[_0x1bd6b8(0x2d2)][_0x1bd6b8(0x336)](_0x1f629a)[_0x1bd6b8(0x323)](_0x3ad2a8,_0x1c8907);if(_0x2245b6){const [_0x274e74,_0x34f266]=_0x2245b6;this[_0x1bd6b8(0x130)][_0x1bd6b8(0xfa)]({'objectID':_0x1c8907,'unitID':_0x3ad2a8,'objectType':_0x19560f['Worksheet'],'actions':_0x2138aa})[_0x1bd6b8(0x7d)](_0x33aa77=>{var _0x4aa46d=_0x1bd6b8;_0x3ab423()[_0x4aa46d(0x2f2)](_0x2aea4e=>{var _0x870107=_0x4aa46d,_0x463e99;const _0x1e6755=new _0x2aea4e(_0x3ad2a8,_0x34f266),_0x2241e9=_0x1e6755[_0x870107(0x2a1)],_0x5b552d=_0x33aa77[_0x870107(0xb5)](_0x4d5194=>_0x4d5194[_0x870107(0x1ec)]===_0x2241e9);_0x5b552d&&(((_0x463e99=this[_0x870107(0x2c2)]['getPermissionPoint'](_0x1e6755['id']))==null?void 0x0:_0x463e99[_0x870107(0x195)])!==_0x5b552d[_0x870107(0xfa)]&&(_0x22db27=!0x0),this[_0x870107(0x2c2)]['updatePermissionPoint'](_0x1e6755['id'],_0x5b552d[_0x870107(0xfa)]));}),_0x22db27&&this[_0x4aa46d(0x136)][_0x4aa46d(0x27e)](_0x3ad2a8);});}const _0xfa2f47=this['_injector'][_0x1bd6b8(0x336)](_0x152024),_0x2c9656=_0xfa2f47[_0x1bd6b8(0x323)](_0x3ad2a8,_0x1c8907);if(_0x2c9656){const [_0x5648f9,_0x1fa1a5]=_0x2c9656;this[_0x1bd6b8(0x130)][_0x1bd6b8(0xfa)]({'objectID':_0x1c8907,'unitID':_0x3ad2a8,'objectType':_0x19560f[_0x1bd6b8(0x8b)],'actions':_0x31941d})[_0x1bd6b8(0x7d)](_0x4f48db=>{var _0x5a8be0=_0x1bd6b8;let _0x2ade24='';_0x3d7d33()['forEach'](_0x422aa9=>{var _0x3b5377=_0x30f1,_0x5c55c6;const _0x33c6cd=new _0x422aa9(_0x3ad2a8,_0x1fa1a5,_0x1c8907),_0x315d9b=_0x33c6cd[_0x3b5377(0x2a1)],_0x8b365e=_0x4f48db[_0x3b5377(0xb5)](_0x5cbd85=>_0x5cbd85[_0x3b5377(0x1ec)]===_0x315d9b);_0x8b365e&&(((_0x5c55c6=this['_permissionService']['getPermissionPoint'](_0x33c6cd['id']))==null?void 0x0:_0x5c55c6['value'])!==_0x8b365e[_0x3b5377(0xfa)]&&(_0x22db27=!0x0),this[_0x3b5377(0x2c2)][_0x3b5377(0x2b2)](_0x33c6cd['id'],_0x8b365e[_0x3b5377(0xfa)]),_0x2ade24+=_0x8b365e['action']+'_'+_0x8b365e['allowed']);}),_0xfa2f47[_0x5a8be0(0xba)](_0x1c8907+'_'+_0x2ade24),_0x22db27&&this[_0x5a8be0(0x136)]['clearUndoRedo'](_0x3ad2a8);});}}};ct=Mr([Se(0x0,_0x2a5019(_0x78bf92)),Se(0x1,_0x190ff7),Se(0x2,_0x512ef7),Se(0x3,_0x2a5019(Me)),Se(0x4,_0x2a5019(pe)),Se(0x5,_0x2ceb14),Se(0x6,_0x4b8ace)],ct);var $r=Object[_0x4a9f88(0x2cf)],Hr=Object[_0x4a9f88(0x80)],kr=(_0x4c02cd,_0x4fdc31,_0x33dfb7,_0xd997fb)=>{for(var _0x17cceb=_0xd997fb>0x1?void 0x0:_0xd997fb?Hr(_0x4fdc31,_0x33dfb7):_0x4fdc31,_0x56ec69=_0x4c02cd['length']-0x1,_0x5200a8;_0x56ec69>=0x0;_0x56ec69--)(_0x5200a8=_0x4c02cd[_0x56ec69])&&(_0x17cceb=(_0xd997fb?_0x5200a8(_0x4fdc31,_0x33dfb7,_0x17cceb):_0x5200a8(_0x17cceb))||_0x17cceb);return _0xd997fb&&_0x17cceb&&$r(_0x4fdc31,_0x33dfb7,_0x17cceb),_0x17cceb;},ui=(_0x42d725,_0x3ac530)=>(_0x552026,_0x3d6688)=>_0x3ac530(_0x552026,_0x3d6688,_0x42d725);let Dt=class{constructor(_0x5041f6,_0x4c366b){var _0x1bcc7=_0x4a9f88;this[_0x1bcc7(0x1e4)]=_0x5041f6,this['_httpService']=_0x4c366b;}async[_0x4a9f88(0x10d)](_0x287369,_0x52c1c3){var _0x988bb8=_0x4a9f88,_0x55c662;const {unitID:_0x5a8624,type:_0x20e324,revision:_0xc2bbb4=0x0}=_0x52c1c3,_0x18b8a7=this[_0x988bb8(0xfd)]()+'/'+_0x20e324+_0x988bb8(0xb0)+_0x5a8624+'/rev/'+_0xc2bbb4,_0x9f4311=(await this[_0x988bb8(0x110)][_0x988bb8(0x336)](_0x18b8a7))[_0x988bb8(0x2ff)],_0x2a66f1=(_0x55c662=_0x9f4311[_0x988bb8(0x175)])==null?void 0x0:_0x55c662['workbook'];if(_0x2a66f1){const _0x5ad037=_0x2a66f1==null?void 0x0:_0x2a66f1[_0x988bb8(0x295)],_0x2248ca=_0x42b3a7[_0x988bb8(0x310)](_0xf88b98(_0x5ad037));_0x2a66f1[_0x988bb8(0x295)]=_0x2248ca,Object[_0x988bb8(0x2e0)](_0x2a66f1[_0x988bb8(0x305)])[_0x988bb8(0x2f2)](([,_0x1d01b9])=>{var _0x11d85f=_0x988bb8;const _0x20946a=_0x1d01b9[_0x11d85f(0x295)],_0x154691=_0x42b3a7[_0x11d85f(0x310)](_0xf88b98(_0x20946a));_0x1d01b9['originalMeta']=_0x154691;});}return _0x9f4311;}async[_0x4a9f88(0x123)](_0x3432eb,_0x21e76a){var _0x9a989=_0x4a9f88;const {unitID:_0xfa8516,type:_0x45ba64,blockID:_0x2a8eea}=_0x21e76a,_0x439973=this[_0x9a989(0x12e)]()+'/'+_0x45ba64+'/unit/'+_0xfa8516+_0x9a989(0x144)+_0x2a8eea;return(await this[_0x9a989(0x110)]['get'](_0x439973))[_0x9a989(0x2ff)];}async['getDeserializedSheetBlock'](_0x2e3eed,_0x4708d1){var _0x1b6d34=_0x4a9f88;const {unitID:_0x2235c4,type:_0x45eb54,blockID:_0x202506}=_0x4708d1,_0x370d70=this[_0x1b6d34(0x12e)]()+'/block/'+_0x45eb54+_0x1b6d34(0xb0)+_0x2235c4+_0x1b6d34(0x144)+_0x202506;return(await this['_httpService'][_0x1b6d34(0x336)](_0x370d70))[_0x1b6d34(0x2ff)];}async['fetchMissingChangesets'](_0x55e311,_0xdd6803){var _0x3adc1f=_0x4a9f88;const {unitID:_0x4bd575,type:_0x35c8a0,from:_0x6cf24a,to:_0x362c8b}=_0xdd6803,_0x5a8b13=this['_getAPIPrefix']()+'/'+_0x35c8a0+_0x3adc1f(0xb0)+_0x4bd575+_0x3adc1f(0x8d)+_0x6cf24a+'&to='+_0x362c8b;return(await this[_0x3adc1f(0x110)][_0x3adc1f(0x336)](_0x5a8b13))[_0x3adc1f(0x2ff)];}[_0x4a9f88(0xfd)](){var _0x11a0fa=_0x4a9f88,_0x35ed06;return(_0x35ed06=this[_0x11a0fa(0x1e4)][_0x11a0fa(0xd4)](On))!=null?_0x35ed06:this[_0x11a0fa(0x12e)]();}[_0x4a9f88(0x12e)](){var _0x21f68d=_0x4a9f88,_0x3a1f0f,_0x409087;const _0x49b264=this[_0x21f68d(0x1e4)]['getConfig'](Rn),_0x18af44=this['_configService'][_0x21f68d(0xd4)](Y);return(_0x409087=(_0x3a1f0f=_0x18af44==null?void 0x0:_0x18af44[_0x21f68d(0x128)])!=null?_0x3a1f0f:_0x49b264)!=null?_0x409087:yn;}async[_0x4a9f88(0x1ce)](_0x287746,_0x29461a){var _0x4cb46b=_0x4a9f88;const _0x3fd10a=_0x4cb46b(0x7e)+_0x29461a['type']+'/unit/'+_0x29461a[_0x4cb46b(0x2ba)]+'/resources';return(await this[_0x4cb46b(0x110)][_0x4cb46b(0x336)](_0x3fd10a,{'params':{'resourceId':JSON[_0x4cb46b(0x122)](_0x29461a[_0x4cb46b(0x145)])}}))[_0x4cb46b(0x2ff)];}[_0x4a9f88(0x85)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4a9f88(0x126)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4a9f88(0x90)](){var _0x5852ad=_0x4a9f88;throw new Error(_0x5852ad(0x20d));}['copyFileMeta'](){var _0x2cecfd=_0x4a9f88;throw new Error(_0x2cecfd(0x20d));}[_0x4a9f88(0x211)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=kr([ui(0x0,_0xd4de74),ui(0x1,_0x2a5019(_0x16868d))],Dt);var jr=Object[_0x4a9f88(0x2cf)],Br=Object[_0x4a9f88(0x80)],Fr=(_0x19aacf,_0x1d489d,_0x57f005,_0x2bbe37)=>{var _0xcb132b=_0x4a9f88;for(var _0x49a032=_0x2bbe37>0x1?void 0x0:_0x2bbe37?Br(_0x1d489d,_0x57f005):_0x1d489d,_0x2df3cb=_0x19aacf[_0xcb132b(0x212)]-0x1,_0x479874;_0x2df3cb>=0x0;_0x2df3cb--)(_0x479874=_0x19aacf[_0x2df3cb])&&(_0x49a032=(_0x2bbe37?_0x479874(_0x1d489d,_0x57f005,_0x49a032):_0x479874(_0x49a032))||_0x49a032);return _0x2bbe37&&_0x49a032&&jr(_0x1d489d,_0x57f005,_0x49a032),_0x49a032;},we=(_0x56dbad,_0x2e0d9b)=>(_0x24737f,_0x55c109)=>_0x2e0d9b(_0x24737f,_0x55c109,_0x56dbad);let Nt=class extends _0x161896{constructor(_0x3fbf5f,_0x456f23,_0x23123a,_0x4cd534,_0x2ff6ff){var _0x44fb06=_0x4a9f88;super(_0x3fbf5f,_0x456f23,_0x23123a),this[_0x44fb06(0x31c)]=_0x4cd534,this[_0x44fb06(0x147)]=_0x2ff6ff;}[_0x4a9f88(0x17d)](_0x2d56bb,_0x4ec8e0){var _0x16977a=_0x4a9f88;const _0x441a34=this[_0x16977a(0x1af)](_0x2d56bb);if(_0x441a34)try{const _0x134e9b=this[_0x16977a(0x162)](_0x441a34,_0x4ec8e0);this[_0x16977a(0x1e3)](_0x2d56bb,_0x134e9b);}catch(_0x5de477){this[_0x16977a(0x147)]['error'](_0x16977a(0x330),_0x5de477),this['_clearUndo'](_0x2d56bb);}const _0x593c7b=this['_getRedoStack'](_0x2d56bb);if(_0x593c7b)try{const _0x1402e8=this['_transformStack'](_0x593c7b,_0x4ec8e0);this[_0x16977a(0x23d)](_0x2d56bb,_0x1402e8);}catch(_0x3a1139){this[_0x16977a(0x147)]['error'](_0x3a1139),this[_0x16977a(0xb3)](_0x2d56bb);}}['_clearUndo'](_0x518b9c){var _0x57aa1d=_0x4a9f88;const _0x4d98f7=this[_0x57aa1d(0x1af)](_0x518b9c);_0x4d98f7&&(_0x4d98f7[_0x57aa1d(0x212)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x218aeb){var _0x276dbc=_0x4a9f88;const _0x3d5d69=this[_0x276dbc(0x163)](_0x218aeb);_0x3d5d69&&(_0x3d5d69[_0x276dbc(0x212)]=0x0,this[_0x276dbc(0x94)]());}[_0x4a9f88(0x1e3)](_0x1cb29e,_0x19386b){var _0x14a7a2=_0x4a9f88;this[_0x14a7a2(0x2fd)][_0x14a7a2(0x1b3)](_0x1cb29e,_0x19386b),this[_0x14a7a2(0x94)]();}[_0x4a9f88(0x23d)](_0x4f79ae,_0x15d572){var _0x561e1b=_0x4a9f88;this[_0x561e1b(0x1b9)]['set'](_0x4f79ae,_0x15d572),this['_updateStatus']();}['_transformStack'](_0x466bbe,_0x131b50){var _0x5ec5d9=_0x4a9f88;const _0x18ab2f=[];let _0x1ea6b5=_0x131b50,_0x6403db=_0x131b50;for(let _0x577939=_0x466bbe['length']-0x1;_0x577939>=0x0;_0x577939--){const {unitID:_0x419ac2,undoMutations:_0x93d653,redoMutations:_0x5d883e}=_0x466bbe[_0x577939],_0x5cd82e=this['_transformService']['transformMutationsWithChangeset'](_0x1ea6b5,_0x93d653),_0x7f55da=this[_0x5ec5d9(0x31c)][_0x5ec5d9(0x31a)](_0x6403db,_0x5d883e);if(_0x451346(_0x5cd82e)||_0x451346(_0x7f55da)){this[_0x5ec5d9(0x147)][_0x5ec5d9(0x218)]('[CollaborationUndoRedoService]',_0x5ec5d9(0x207),_0x5cd82e,_0x7f55da);break;}_0x1ea6b5=_0x5cd82e[_0x5ec5d9(0x9d)],_0x6403db=_0x7f55da[_0x5ec5d9(0x9d)],_0x18ab2f['push']({'unitID':_0x419ac2,'undoMutations':_0x5cd82e[_0x5ec5d9(0xab)],'redoMutations':_0x7f55da[_0x5ec5d9(0xab)]});}return _0x18ab2f['reverse']();}};Nt=Fr([we(0x0,_0x190ff7),we(0x1,_0x28ed93),we(0x2,_0x43be85),we(0x3,_0xa95f58),we(0x4,_0x54e63f)],Nt);var Li=Object['defineProperty'],Vr=Object[_0x4a9f88(0x80)],Wr=(_0x302cd6,_0x4d96b0,_0x194cac)=>_0x4d96b0 in _0x302cd6?Li(_0x302cd6,_0x4d96b0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x194cac}):_0x302cd6[_0x4d96b0]=_0x194cac,Gr=(_0x18461a,_0x33b139,_0x34a872,_0x5432b3)=>{var _0x56321e=_0x4a9f88;for(var _0x4e0d88=_0x5432b3>0x1?void 0x0:_0x5432b3?Vr(_0x33b139,_0x34a872):_0x33b139,_0x2b4bb7=_0x18461a[_0x56321e(0x212)]-0x1,_0x4a9ce1;_0x2b4bb7>=0x0;_0x2b4bb7--)(_0x4a9ce1=_0x18461a[_0x2b4bb7])&&(_0x4e0d88=(_0x5432b3?_0x4a9ce1(_0x33b139,_0x34a872,_0x4e0d88):_0x4a9ce1(_0x4e0d88))||_0x4e0d88);return _0x5432b3&&_0x4e0d88&&Li(_0x33b139,_0x34a872,_0x4e0d88),_0x4e0d88;},St=(_0x49f9e1,_0x2a86dc)=>(_0x15d580,_0x5ddf13)=>_0x2a86dc(_0x15d580,_0x5ddf13,_0x49f9e1),Kr=(_0x4fcb69,_0x4aa484,_0x58aa3d)=>Wr(_0x4fcb69,_0x4aa484+'',_0x58aa3d);const zr=_0x4a9f88(0x351);let wt=class extends _0x4a8c1d{constructor(_0x3e8a8c=Bn,_0x171590,_0x56274b,_0x2aab04){var _0xbde38f=_0x4a9f88;super(),this[_0xbde38f(0x13d)]=_0x3e8a8c,this[_0xbde38f(0x147)]=_0x171590,this[_0xbde38f(0x2d2)]=_0x56274b,this[_0xbde38f(0x1e4)]=_0x2aab04;const {..._0x77b3f4}=this[_0xbde38f(0x13d)];this[_0xbde38f(0x1e4)][_0xbde38f(0xdd)](Y,_0x77b3f4);}[_0x4a9f88(0x153)](){var _0x52d25b=_0x4a9f88;this[_0x52d25b(0x227)](),this['_initDependencies']();}[_0x4a9f88(0x227)](){var _0xaa37fc=_0x4a9f88,_0x511be5,_0x85697d,_0x54d179,_0x52d47e;this[_0xaa37fc(0x2d2)][_0xaa37fc(0x292)](_0x4b8ace)&&this[_0xaa37fc(0x147)][_0xaa37fc(0x218)]('[UniverCollaborationClientPlugin]',_0xaa37fc(0x1b8));const _0x5addaa=_0x5b57c7([[_0x4b8ace,{'useClass':Nt}],[Me],[Le],[_0x53211b],[nt],[ot],[at],[Ri],[ct],[pe],[yt],[bi,{'useClass':(_0x85697d=(_0x511be5=this[_0xaa37fc(0x13d)])==null?void 0x0:_0x511be5[_0xaa37fc(0xce)])!=null?_0x85697d:Et}],[_0x631d1,{'useClass':Dt}],[_0x2ceb14,{'useClass':Rt}],[_0x15aec8,{'useClass':Ot}],[_0x3290d1,{'useClass':Pt}],[rt],[bt]],(_0x54d179=this[_0xaa37fc(0x13d)])==null?void 0x0:_0x54d179[_0xaa37fc(0x2de)]);if(!((_0x52d47e=this['_config'])!=null&&_0x52d47e[_0xaa37fc(0xb4)])){const _0x1bb4c5=_0x5addaa[_0xaa37fc(0x232)](([_0x124617])=>_0x124617===ht);_0x1bb4c5!==-0x1&&_0x5addaa[_0xaa37fc(0x2c4)](_0x1bb4c5,0x1);}_0x3e1ae0(this[_0xaa37fc(0x2d2)],_0x5addaa);}[_0x4a9f88(0x197)](){var _0x19f562=_0x4a9f88,_0x842f02,_0x23c64d;this[_0x19f562(0x2d2)][_0x19f562(0x336)](_0x16868d)[_0x19f562(0x132)]({'priority':0x14,'interceptor':_0xc5757a({'maxParallel':0x6})}),(_0x842f02=this[_0x19f562(0x13d)])!=null&&_0x842f02[_0x19f562(0x1d8)]||this[_0x19f562(0x2d2)]['get'](X)['disableLocalCache'](),(_0x23c64d=this[_0x19f562(0x13d)])!=null&&_0x23c64d['enableAuthServer']&&_0x7056d9(this['_injector'],[[ot]]),_0x7056d9(this[_0x19f562(0x2d2)],[[at],[rt],[ct]]);}};Kr(wt,'pluginName',zr),wt=Gr([_0x4184f0(_0x23baa9,_0x52d508,_0x25386f),St(0x1,_0x54e63f),St(0x2,_0x2a5019(_0x78bf92)),St(0x3,_0xd4de74)],wt);export{wi as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,ue as AwaitingState,oe as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,$n as COLLAB_SUBMIT_CHANGESET_URL_KEY,Dn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Ot as CollaborationImageIoService,It as CollaborationSession,Me as CollaborationSessionService,Et as CollaborationSocketService,Pi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Nt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,Nn as DEFAULT_COLLAB_WEB_SOCKET_URL,yt as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,Un as HEARTBEAT_INTERVAL_KEY,Ei as HEARTBEAT_TIMEOUT_KEY,bi as ICollaborationSocketService,X as ILocalCacheService,ht as ISingleActiveUnitService,oo as LOCAL_CACHE_INTERVAL,ro as LOCAL_CACHE_INTERVAL_KEY,kn as LOGIN_URL_KEY,Le as MemberService,Pt as MentionIoHttpService,fe as OfflineState,re as PendingState,Ln as RETRY_CONNECTING_MAX_COUNT_KEY,so as SEND_CHANGESET_TIMEOUT_KEY,Rn as SNAPSHOT_SERVER_URL_KEY,On as SNAPSHOT_URL_KEY,Ie as SessionStatus,Ct as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,yi as UnitStatus,wt as UniverCollaborationClientPlugin,Fn as deserializeToCombResponse,ao as getLocalCacheKey,Vn as serializeCombRequest};