@univerjs-pro/collaboration-client 0.4.2-nightly.202411061606 → 0.4.2-nightly.202411081606

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 (90) hide show
  1. package/lib/cjs/index.js +1 -0
  2. package/lib/cjs/locale/en-US.js +1 -0
  3. package/lib/cjs/locale/fa-IR.js +1 -0
  4. package/lib/cjs/locale/ru-RU.js +1 -0
  5. package/lib/cjs/locale/vi-VN.js +1 -0
  6. package/lib/cjs/locale/zh-CN.js +1 -0
  7. package/lib/cjs/locale/zh-TW.js +1 -0
  8. package/lib/es/index.js +1 -1
  9. package/lib/es/locale/en-US.js +1 -0
  10. package/lib/es/locale/fa-IR.js +1 -0
  11. package/lib/es/locale/ru-RU.js +1 -0
  12. package/lib/es/locale/vi-VN.js +1 -0
  13. package/lib/es/locale/zh-CN.js +1 -0
  14. package/lib/es/locale/zh-TW.js +1 -0
  15. package/lib/types/index.d.ts +890 -35
  16. package/lib/umd/index.js +1 -1
  17. package/lib/umd/locale/en-US.js +1 -1
  18. package/lib/umd/locale/fa-IR.js +1 -1
  19. package/lib/umd/locale/ru-RU.js +1 -1
  20. package/lib/umd/locale/vi-VN.js +1 -1
  21. package/lib/umd/locale/zh-CN.js +1 -1
  22. package/lib/umd/locale/zh-TW.js +1 -1
  23. package/package.json +31 -25
  24. package/lib/locale/en-US.js +0 -1
  25. package/lib/locale/fa-IR.js +0 -1
  26. package/lib/locale/ru-RU.js +0 -1
  27. package/lib/locale/vi-VN.js +0 -1
  28. package/lib/locale/zh-CN.js +0 -1
  29. package/lib/locale/zh-TW.js +0 -1
  30. package/lib/types/config/config.d.ts +0 -48
  31. package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +0 -23
  32. package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +0 -1
  33. package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +0 -1
  34. package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +0 -22
  35. package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +0 -38
  36. package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +0 -24
  37. package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +0 -3
  38. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +0 -39
  39. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +0 -21
  40. package/lib/types/controllers/collab-status/collab-status.controller.d.ts +0 -18
  41. package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +0 -4
  42. package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +0 -0
  43. package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +0 -54
  44. package/lib/types/controllers/collaboration/collaboration-entity.d.ts +0 -91
  45. package/lib/types/controllers/collaboration/collaboration-state.d.ts +0 -303
  46. package/lib/types/controllers/collaboration/collaboration.controller.d.ts +0 -24
  47. package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +0 -18
  48. package/lib/types/controllers/collaboration/utils/empty.d.ts +0 -2
  49. package/lib/types/controllers/config.schema.d.ts +0 -29
  50. package/lib/types/controllers/data-loader/__tests__/data-loader.controller.spec.d.ts +0 -1
  51. package/lib/types/controllers/data-loader/data-loader.controller.d.ts +0 -22
  52. package/lib/types/controllers/file-name/file-name.controller.d.ts +0 -12
  53. package/lib/types/controllers/telemetry.d.ts +0 -11
  54. package/lib/types/locale/en-US.d.ts +0 -3
  55. package/lib/types/locale/fa-IR.d.ts +0 -3
  56. package/lib/types/locale/ru-RU.d.ts +0 -3
  57. package/lib/types/locale/vi-VN.d.ts +0 -3
  58. package/lib/types/locale/zh-CN.d.ts +0 -39
  59. package/lib/types/locale/zh-TW.d.ts +0 -3
  60. package/lib/types/models/cursor.d.ts +0 -30
  61. package/lib/types/plugin.d.ts +0 -18
  62. package/lib/types/services/auth-server/auth-server.service.d.ts +0 -10
  63. package/lib/types/services/auth-server/authz-io-http.service.d.ts +0 -30
  64. package/lib/types/services/auth-server/domain-request.service.d.ts +0 -6
  65. package/lib/types/services/auth-server/util.d.ts +0 -1
  66. package/lib/types/services/collaboration-session/collaboration-session.d.ts +0 -59
  67. package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +0 -61
  68. package/lib/types/services/color-assign/color-assign.service.d.ts +0 -10
  69. package/lib/types/services/comment/comment.service.d.ts +0 -6
  70. package/lib/types/services/image-remote/image-io.service.d.ts +0 -34
  71. package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +0 -13
  72. package/lib/types/services/local-cache/local-cache.service.d.ts +0 -37
  73. package/lib/types/services/member/member.service.d.ts +0 -77
  74. package/lib/types/services/permission/permission.service.d.ts +0 -12
  75. package/lib/types/services/range-selection/sheet-transform-selections.service.d.ts +0 -13
  76. package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +0 -39
  77. package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +0 -21
  78. package/lib/types/services/socket/collaboration-socket.service.d.ts +0 -34
  79. package/lib/types/services/socket/serialize.d.ts +0 -3
  80. package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +0 -12
  81. package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +0 -13
  82. package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +0 -8
  83. package/lib/types/services/undoredo/collaborative-undoredo.service.d.ts +0 -19
  84. package/lib/types/services/url/url.service.d.ts +0 -12
  85. package/lib/types/services/url/web-url.service.d.ts +0 -10
  86. package/lib/types/views/components/CollabStatus.d.ts +0 -10
  87. package/lib/types/views/components/CollabStatus.stories.d.ts +0 -8
  88. package/lib/types/views/shapes/doc-collab-cursor.d.ts +0 -27
  89. package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +0 -27
  90. package/lib/types/views/shapes/text-bubble.shape.d.ts +0 -19
@@ -0,0 +1 @@
1
+ 'use strict';const _0x132fae=_0x1d09;(function(_0xf27932,_0x1ee335){const _0xbb7cd4=_0x1d09,_0xd3d2cd=_0xf27932();while(!![]){try{const _0x1b6ff7=-parseInt(_0xbb7cd4(0x492))/0x1*(parseInt(_0xbb7cd4(0x594))/0x2)+-parseInt(_0xbb7cd4(0x394))/0x3+-parseInt(_0xbb7cd4(0x307))/0x4*(-parseInt(_0xbb7cd4(0x5e8))/0x5)+-parseInt(_0xbb7cd4(0x3ca))/0x6+parseInt(_0xbb7cd4(0x37d))/0x7*(-parseInt(_0xbb7cd4(0x38a))/0x8)+parseInt(_0xbb7cd4(0x304))/0x9*(-parseInt(_0xbb7cd4(0x348))/0xa)+-parseInt(_0xbb7cd4(0x5db))/0xb*(-parseInt(_0xbb7cd4(0x20f))/0xc);if(_0x1b6ff7===_0x1ee335)break;else _0xd3d2cd['push'](_0xd3d2cd['shift']());}catch(_0x4abfdd){_0xd3d2cd['push'](_0xd3d2cd['shift']());}}}(_0x577d,0xe74fa));var Un=Object[_0x132fae(0x564)],Mn=(_0x340261,_0x9dacec,_0x323c7c)=>_0x9dacec in _0x340261?Un(_0x340261,_0x9dacec,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x323c7c}):_0x340261[_0x9dacec]=_0x323c7c,I=(_0x27071f,_0x475be4,_0x426e9e)=>Mn(_0x27071f,typeof _0x475be4!=_0x132fae(0x28d)?_0x475be4+'':_0x475be4,_0x426e9e);Object[_0x132fae(0x564)](exports,Symbol[_0x132fae(0x1d8)],{'value':_0x132fae(0x2e7)});const a=require(_0x132fae(0x61b)),A=require(_0x132fae(0x4d7)),V=require(_0x132fae(0x2bb)),ge=require(_0x132fae(0x5fd)),ee=require(_0x132fae(0x2da)),Z=require(_0x132fae(0x1c6)),m=require(_0x132fae(0x324)),An=require(_0x132fae(0x4b1)),J=require('@univerjs/docs-ui'),k=require(_0x132fae(0x2c0)),K=require(_0x132fae(0x554)),ye=require(_0x132fae(0x2cf)),ne=require(_0x132fae(0x432)),Dt=require(_0x132fae(0x612)),Re=require(_0x132fae(0x58d)),pe=require('react/jsx-runtime'),de=require('react'),Nn=require(_0x132fae(0x5d2)),zt=_0x132fae(0x23a),Ln=_0x132fae(0x5ac),Xt=_0x132fae(0x199),xn=_0x132fae(0x561),jn=0x7d0,Jt=_0x132fae(0x4f4),$n=_0x132fae(0x4b0),Zt=_0x132fae(0x59f),Hn=0x7530,gt=_0x132fae(0x38b),Qt=0x4e20,Bn=0x4e20,en=_0x132fae(0x206),kn=0x3,tn=_0x132fae(0x467),Wn=0x3e8,nn='COLLAB_SUBMIT_CHANGESET_URL',Fn=_0x132fae(0x305),sn=_0x132fae(0x361),Vn='/universer-api/oidc/authpage';var rn=(_0x409443=>(_0x409443[_0x409443['UNDEFINED']=0x0]=_0x132fae(0x418),_0x409443[_0x409443['OK']=0x1]='OK',_0x409443[_0x409443['INTERNAL_ERROR']=0x2]=_0x132fae(0x217),_0x409443[_0x409443[_0x132fae(0x281)]=0x3]=_0x132fae(0x281),_0x409443[_0x409443[_0x132fae(0x545)]=0x4]='NOT_FOUND',_0x409443[_0x409443['UNAUTHENTICATED']=0x5]=_0x132fae(0x1c8),_0x409443[_0x409443[_0x132fae(0x216)]=0x6]='ALREADY_EXISTS',_0x409443[_0x409443[_0x132fae(0x39f)]=0x7]='INVALID_ARGUMENT',_0x409443[_0x409443[_0x132fae(0x449)]=0x8]=_0x132fae(0x449),_0x409443[_0x409443[_0x132fae(0x2c7)]=0x9]=_0x132fae(0x2c7),_0x409443[_0x409443[_0x132fae(0x563)]=0x1389]=_0x132fae(0x563),_0x409443[_0x409443[_0x132fae(0x1d6)]=0x1771]=_0x132fae(0x1d6),_0x409443[_0x409443[_0x132fae(0x589)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x409443[_0x409443[_0x132fae(0x45e)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x409443[_0x409443[_0x132fae(0x3cf)]=0x1b59]=_0x132fae(0x3cf),_0x409443[_0x409443[_0x132fae(0x433)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x409443[_0x409443[_0x132fae(0x603)]=0x1b5b]=_0x132fae(0x603),_0x409443[_0x409443[_0x132fae(0x1bf)]=0x1b5c]=_0x132fae(0x1bf),_0x409443[_0x409443[_0x132fae(0x3d5)]=0x1b5d]=_0x132fae(0x3d5),_0x409443[_0x409443['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x132fae(0x3a2),_0x409443[_0x409443['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x409443[_0x409443[_0x132fae(0x231)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x409443[_0x409443[_0x132fae(0x19e)]=0x232b]=_0x132fae(0x19e),_0x409443[_0x409443[_0x132fae(0x3fb)]=0x232c]=_0x132fae(0x3fb),_0x409443[_0x409443[_0x132fae(0x640)]=0x232d]=_0x132fae(0x640),_0x409443[_0x409443['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x132fae(0x621),_0x409443[_0x409443[_0x132fae(0x1d3)]=0x2712]=_0x132fae(0x1d3),_0x409443[_0x409443[_0x132fae(0x64c)]=0x2713]=_0x132fae(0x64c),_0x409443[_0x409443[_0x132fae(0x5f0)]=0x2714]=_0x132fae(0x5f0),_0x409443[_0x409443[_0x132fae(0x52a)]=-0x1]=_0x132fae(0x52a),_0x409443))(rn||{}),ie=(_0x8177e9=>(_0x8177e9[_0x8177e9[_0x132fae(0x657)]=0x0]=_0x132fae(0x657),_0x8177e9[_0x8177e9['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x8177e9[_0x8177e9[_0x132fae(0x5f8)]=0x2]=_0x132fae(0x5f8),_0x8177e9[_0x8177e9[_0x132fae(0x31a)]=0x3]=_0x132fae(0x31a),_0x8177e9[_0x8177e9[_0x132fae(0x5b5)]=0x4]=_0x132fae(0x5b5),_0x8177e9[_0x8177e9[_0x132fae(0x52a)]=-0x1]=_0x132fae(0x52a),_0x8177e9))(ie||{}),G=(_0x27f244=>(_0x27f244[_0x27f244[_0x132fae(0x2ba)]=0x0]=_0x132fae(0x2ba),_0x27f244[_0x27f244[_0x132fae(0x504)]=0x1]='HELLO',_0x27f244[_0x27f244['JOIN']=0x2]=_0x132fae(0x4f5),_0x27f244[_0x27f244[_0x132fae(0x582)]=0x3]=_0x132fae(0x582),_0x27f244[_0x27f244[_0x132fae(0x20a)]=0x4]=_0x132fae(0x20a),_0x27f244[_0x27f244[_0x132fae(0x374)]=0x5]=_0x132fae(0x374),_0x27f244[_0x27f244['RECV']=0x6]=_0x132fae(0x2b7),_0x27f244[_0x27f244[_0x132fae(0x52a)]=-0x1]=_0x132fae(0x52a),_0x27f244))(G||{}),It=(_0x546325=>(_0x546325[_0x546325[_0x132fae(0x56d)]=0x0]=_0x132fae(0x56d),_0x546325[_0x546325['OK']=0x1]='OK',_0x546325[_0x546325[_0x132fae(0x31e)]=0x2]=_0x132fae(0x31e),_0x546325[_0x546325[_0x132fae(0x52a)]=-0x1]=_0x132fae(0x52a),_0x546325))(It||{}),on=(_0x161660=>(_0x161660[_0x161660['Undefined']=0x0]='Undefined',_0x161660[_0x161660['HttpImport']=0x1]=_0x132fae(0x31b),_0x161660[_0x161660[_0x132fae(0x1c1)]=0x2]=_0x132fae(0x1c1),_0x161660[_0x161660['UnitEmbedded']=0x3]=_0x132fae(0x5b3),_0x161660[_0x161660['UnitSnapshot']=0x4]=_0x132fae(0x3dc),_0x161660[_0x161660[_0x132fae(0x52a)]=-0x1]=_0x132fae(0x52a),_0x161660))(on||{});const te=_0x132fae(0x497),Gn={};function an(_0x1a4e08){const _0x43915d=_0x132fae;var _0x2b3bc2,_0x1f4dd2,_0x4f9fae,_0x19d9df,_0x4a8769;const _0x2ca7c1=_0x1a4e08[_0x43915d(0x397)],_0x4563d6=JSON['parse'](_0x2ca7c1);switch(_0x4563d6[_0x43915d(0x590)]){case G['HEARTBEAT']:case G[_0x43915d(0x504)]:{const _0x4be875=_0x4563d6['infoRsp'];return{..._0x4563d6,'data':_0x4be875,'cmd':_0x4563d6[_0x43915d(0x590)]};}case G[_0x43915d(0x4f5)]:{const _0x3fcb20=_0x4563d6[_0x43915d(0x33d)];return{..._0x4563d6,'data':_0x3fcb20,'cmd':_0x4563d6[_0x43915d(0x590)]};}case G['RECV']:{const _0x58f45b=_0x4563d6['collaMsg'];switch(_0x58f45b[_0x43915d(0x1d2)]){case m[_0x43915d(0x1ad)][_0x43915d(0x483)]:return{..._0x4563d6,'data':{..._0x58f45b,'data':(_0x2b3bc2=_0x58f45b[_0x43915d(0x35e)])==null?void 0x0:_0x2b3bc2['cs']},'cmd':_0x4563d6['cmd']};case m['CollaborationEvent'][_0x43915d(0x53f)]:return{..._0x4563d6,'data':{..._0x58f45b,'data':(_0x1f4dd2=_0x58f45b[_0x43915d(0x3c6)])==null?void 0x0:_0x1f4dd2['cs']},'cmd':_0x4563d6[_0x43915d(0x590)]};case m[_0x43915d(0x1ad)][_0x43915d(0x524)]:return{..._0x4563d6,'data':{..._0x58f45b,'data':(_0x4f9fae=_0x58f45b[_0x43915d(0x586)])==null?void 0x0:_0x4f9fae['cs']},'cmd':_0x4563d6[_0x43915d(0x590)]};case m['CollaborationEvent']['CHANGESET_REJ']:return{..._0x4563d6,'data':{..._0x58f45b,'data':(_0x19d9df=_0x58f45b[_0x43915d(0x3ae)])==null?void 0x0:_0x19d9df['cs']},'cmd':_0x4563d6[_0x43915d(0x590)]};case m['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x4563d6,'data':{..._0x58f45b,'data':(_0x4a8769=_0x58f45b[_0x43915d(0x3d2)])==null?void 0x0:_0x4a8769['cs']},'cmd':_0x4563d6['cmd']};case m[_0x43915d(0x1ad)][_0x43915d(0x4db)]:return{..._0x4563d6,'data':{..._0x58f45b,'data':_0x58f45b[_0x43915d(0x46f)]},'cmd':_0x4563d6['cmd']};case m['CollaborationEvent'][_0x43915d(0x5c5)]:return{..._0x4563d6,'data':{..._0x58f45b,'data':_0x58f45b[_0x43915d(0x4a8)]},'cmd':_0x4563d6[_0x43915d(0x590)]};case m[_0x43915d(0x1ad)][_0x43915d(0x39d)]:return{..._0x4563d6,'data':{..._0x58f45b,'data':_0x58f45b[_0x43915d(0x2a8)]},'cmd':_0x4563d6[_0x43915d(0x590)]};case m[_0x43915d(0x1ad)][_0x43915d(0x60e)]:return{..._0x4563d6,'data':{..._0x58f45b,'data':_0x58f45b['liveShareNewHost']},'cmd':_0x4563d6[_0x43915d(0x590)]};case m[_0x43915d(0x1ad)][_0x43915d(0x455)]:case m[_0x43915d(0x1ad)]['LIVESHARE_OPERATION']:return{..._0x4563d6,'data':{..._0x58f45b,'data':_0x58f45b['liveShareOperation']},'cmd':_0x4563d6[_0x43915d(0x590)]};case m[_0x43915d(0x1ad)][_0x43915d(0x5f7)]:return{..._0x4563d6,'data':{..._0x58f45b,'data':_0x58f45b[_0x43915d(0x1db)]},'cmd':_0x4563d6[_0x43915d(0x590)]};case m[_0x43915d(0x1ad)]['MSG_FOR_ERROR']:return{..._0x4563d6,'data':_0x58f45b,'cmd':_0x4563d6['cmd']};case m[_0x43915d(0x1ad)]['COMMENT_UPDATE']:return{..._0x4563d6,'data':{..._0x58f45b,'data':_0x58f45b[_0x43915d(0x198)]},'cmd':_0x4563d6[_0x43915d(0x590)]};case m['CollaborationEvent'][_0x43915d(0x2e6)]:return{..._0x4563d6,'data':{..._0x58f45b,'data':_0x58f45b[_0x43915d(0x4c9)]},'cmd':_0x4563d6[_0x43915d(0x590)]};case m[_0x43915d(0x1ad)][_0x43915d(0x2a7)]:return{..._0x4563d6,'data':{..._0x58f45b,'data':_0x58f45b['shouldCloseConn']},'cmd':_0x4563d6[_0x43915d(0x590)]};default:return _0x4563d6;}}default:return _0x4563d6;}}function cn(_0x443e6f){const _0x2a7518=_0x132fae;switch(_0x443e6f[_0x2a7518(0x590)]){case G['HEARTBEAT']:case G[_0x2a7518(0x504)]:return JSON[_0x2a7518(0x2cc)]({'cmd':_0x443e6f['cmd'],'routeKey':_0x443e6f[_0x2a7518(0x2ef)]});case G['INGEST']:{let _0x1e0656;switch(_0x443e6f[_0x2a7518(0x397)]['eventID']){case m[_0x2a7518(0x1ad)][_0x2a7518(0x4db)]:{_0x1e0656={'eventID':m[_0x2a7518(0x1ad)][_0x2a7518(0x4db)],'updateCursorEvent':_0x443e6f[_0x2a7518(0x397)]['data']};break;}case m[_0x2a7518(0x1ad)][_0x2a7518(0x39d)]:{_0x1e0656={'eventID':m[_0x2a7518(0x1ad)]['USERS_LEAVE'],'leaveEvent':_0x443e6f[_0x2a7518(0x397)]['data']};break;}case m['CollaborationEvent']['USERS_ENTER']:{_0x1e0656={'eventID':m['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x443e6f['data']['data']};break;}case m[_0x2a7518(0x1ad)]['LIVESHARE_NEW_HOST']:{_0x1e0656={'eventID':m[_0x2a7518(0x1ad)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x443e6f['data']['data']};break;}case m['CollaborationEvent']['LIVESHARE_OPERATION']:{_0x1e0656={'eventID':m[_0x2a7518(0x1ad)][_0x2a7518(0x505)],'liveShareOperation':_0x443e6f[_0x2a7518(0x397)][_0x2a7518(0x397)]};break;}case m[_0x2a7518(0x1ad)]['LIVESHARE_TERMINATE']:{_0x1e0656={'eventID':m[_0x2a7518(0x1ad)][_0x2a7518(0x5f7)],'liveShareTerminate':_0x443e6f['data'][_0x2a7518(0x397)]};break;}case m[_0x2a7518(0x1ad)]['LIVESHARE_REQUEST_HOST']:{_0x1e0656={'eventID':m[_0x2a7518(0x1ad)][_0x2a7518(0x21f)],'liveShareRequestHost':_0x443e6f[_0x2a7518(0x397)][_0x2a7518(0x397)]};break;}case m[_0x2a7518(0x1ad)][_0x2a7518(0x455)]:{_0x1e0656={'eventID':m[_0x2a7518(0x1ad)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x1e0656={'eventID':_0x443e6f[_0x2a7518(0x397)]['eventID']};}return JSON['stringify']({'cmd':_0x443e6f['cmd'],'routeKey':_0x443e6f[_0x2a7518(0x2ef)],'collaMsg':_0x1e0656});}case G['JOIN']:return JSON[_0x2a7518(0x2cc)]({'cmd':_0x443e6f[_0x2a7518(0x590)],'routeKey':_0x443e6f[_0x2a7518(0x2ef)],'joinReq':_0x443e6f[_0x2a7518(0x397)]});case G[_0x2a7518(0x582)]:return JSON[_0x2a7518(0x2cc)]({'cmd':_0x443e6f[_0x2a7518(0x590)],'routeKey':_0x443e6f[_0x2a7518(0x2ef)],'leaveReq':_0x443e6f[_0x2a7518(0x397)]});default:throw new Error(_0x2a7518(0x2fc));}}var Yn=Object[_0x132fae(0x564)],Kn=Object['getOwnPropertyDescriptor'],qn=(_0x4e7736,_0x26d43a,_0x407f82,_0x2a055b)=>{const _0xf4504d=_0x132fae;for(var _0x43c03b=_0x2a055b>0x1?void 0x0:_0x2a055b?Kn(_0x26d43a,_0x407f82):_0x26d43a,_0xe4f897=_0x4e7736[_0xf4504d(0x4f2)]-0x1,_0x36ce09;_0xe4f897>=0x0;_0xe4f897--)(_0x36ce09=_0x4e7736[_0xe4f897])&&(_0x43c03b=(_0x2a055b?_0x36ce09(_0x26d43a,_0x407f82,_0x43c03b):_0x36ce09(_0x43c03b))||_0x43c03b);return _0x2a055b&&_0x43c03b&&Yn(_0x26d43a,_0x407f82,_0x43c03b),_0x43c03b;},we=(_0xb3dbcc,_0x21e4ef)=>(_0x3ea6fb,_0x2b9db5)=>_0x21e4ef(_0x3ea6fb,_0x2b9db5,_0xb3dbcc);const Ct=a[_0x132fae(0x345)]('univer-pro.collaboration-client-socket-service');function zn(_0x59b2f5,_0x578a7e,_0x1258b0){const _0x325534=_0x132fae;return _0x59b2f5+'/'+_0x578a7e+_0x325534(0x4b9)+_0x1258b0+'/new_changes';}exports[_0x132fae(0x451)]=class extends a[_0x132fae(0x48c)]{constructor(_0x45cafe,_0xb090c8,_0x3e113a,_0x5d91d7,_0x2dc585){const _0x3f98d8=_0x132fae;super(),this[_0x3f98d8(0x35c)]=_0x45cafe,this[_0x3f98d8(0x60c)]=_0xb090c8,this[_0x3f98d8(0x3f5)]=_0x3e113a,this['_logService']=_0x5d91d7,this['_snapshotServerService']=_0x2dc585;}['createSocket'](_0x3d81b2){const _0x3a4244=_0x132fae,_0x4c5bfa=this[_0x3a4244(0x60c)][_0x3a4244(0x386)](_0x3d81b2);if(!_0x4c5bfa)throw new Error(_0x3a4244(0x4bc));const _0x3ec8a6=new a[(_0x3a4244(0x1ca))](),_0x3f0f62=new A[(_0x3a4244(0x49a))]();_0x3ec8a6[_0x3a4244(0x37b)](_0x4c5bfa[_0x3a4244(0x362)]['subscribe'](_0x223558=>_0x3f0f62['next'](_0x223558))),_0x3ec8a6[_0x3a4244(0x37b)](a[_0x3a4244(0x372)](()=>_0x3f0f62[_0x3a4244(0x46a)]()));const _0xe616a7=new A[(_0x3a4244(0x49a))]();_0x3ec8a6[_0x3a4244(0x37b)](_0x4c5bfa[_0x3a4244(0x4a7)]['subscribe'](_0x39322d=>_0xe616a7[_0x3a4244(0x339)](_0x39322d))),_0x3ec8a6[_0x3a4244(0x37b)](a[_0x3a4244(0x372)](()=>_0xe616a7['complete']()));const _0x46719f=new A['Subject']();_0x3ec8a6[_0x3a4244(0x37b)](_0x4c5bfa[_0x3a4244(0x464)][_0x3a4244(0x2e1)](_0xfc9e1=>{const _0x445b60=_0x3a4244,_0x33a7a5=an(_0xfc9e1);_0x46719f[_0x445b60(0x339)](_0x33a7a5);})),_0x3ec8a6[_0x3a4244(0x37b)](a[_0x3a4244(0x372)](()=>_0x46719f[_0x3a4244(0x46a)]()));let _0x4d00b0;const _0x48aff8=()=>{const _0x33dc6c=_0x3a4244;_0xe616a7[_0x33dc6c(0x339)](new Event(_0x33dc6c(0x424))),_0x3f0f62[_0x33dc6c(0x339)](new CloseEvent('connection\x20error')),_0x4d00b0[_0x33dc6c(0x565)]();};return _0x4d00b0={'memberID':'','close$':_0x3f0f62[_0x3a4244(0x24d)](),'error$':_0xe616a7[_0x3a4244(0x24d)](),'open$':_0x4c5bfa[_0x3a4244(0x56a)],'message$':_0x46719f[_0x3a4244(0x24d)](),'send':_0x4195b7=>{const _0x3253c7=_0x3a4244;if(_0x4195b7[_0x3253c7(0x590)]===G[_0x3253c7(0x20a)]){if(_0x4195b7[_0x3253c7(0x397)]['eventID']===m[_0x3253c7(0x1ad)][_0x3253c7(0x1ec)]){this[_0x3253c7(0x266)](_0x4d00b0,_0x4195b7['data'])[_0x3253c7(0x1e6)](_0x3245f7=>{const _0xe93e28=_0x3253c7;this[_0xe93e28(0x5e5)]['error'](_0x3245f7),_0x48aff8();});return;}if(_0x4195b7[_0x3253c7(0x397)]['eventID']===m[_0x3253c7(0x1ad)][_0x3253c7(0x587)]){const _0x1d7bf0=_0x4195b7['data'];this[_0x3253c7(0x4fd)](_0x1d7bf0)['then'](_0x383b0d=>{const _0x3cd903=_0x3253c7;_0x46719f['next']({'cmd':G[_0x3cd903(0x2b7)],'code':It['OK'],'routeKey':_0x1d7bf0[_0x3cd903(0x397)][_0x3cd903(0x392)],'routeType':'','data':{'eventID':m[_0x3cd903(0x1ad)][_0x3cd903(0x51f)],'data':{'changesets':_0x383b0d}}});})[_0x3253c7(0x1e6)](_0x5ba8c3=>{const _0x37e507=_0x3253c7;this['_logService'][_0x37e507(0x2bd)](_0x5ba8c3),_0x48aff8();});return;}}_0x4c5bfa[_0x3253c7(0x1cc)](cn(_0x4195b7));},'close':()=>{const _0x27b714=_0x3a4244;_0x4c5bfa[_0x27b714(0x565)](),_0x3ec8a6['dispose']();}},_0x4d00b0;}async[_0x132fae(0x266)](_0x4556cb,_0x5e5583){const _0x37f460=_0x132fae;var _0x35ea97,_0x5bf8bc;const {unitType:_0x203960,unitID:_0x4c95fb,changeset:_0x38b434}=_0x5e5583[_0x37f460(0x397)],_0x33982a={'unitID':_0x4c95fb,'memberID':_0x4556cb[_0x37f460(0x466)],'type':_0x203960,'changeset':m['parseChangesetToProtocol'](_0x38b434)},_0x2d0e88=this[_0x37f460(0x3f5)][_0x37f460(0x368)](nn),_0x3635a9=this[_0x37f460(0x3f5)][_0x37f460(0x368)](te),_0x1ff467=zn((_0x5bf8bc=(_0x35ea97=_0x3635a9==null?void 0x0:_0x3635a9[_0x37f460(0x481)])!=null?_0x35ea97:_0x2d0e88)!=null?_0x5bf8bc:Fn,_0x203960,_0x4c95fb);try{await this[_0x37f460(0x35c)][_0x37f460(0x303)](_0x1ff467,{'body':_0x33982a});}catch(_0x14bd81){throw this[_0x37f460(0x5e5)][_0x37f460(0x2bd)](_0x37f460(0x489),_0x37f460(0x1e5)),_0x14bd81;}}async['_fetchMissChangesets'](_0xa23e5f){const _0x5dae30=_0x132fae,{unitID:_0x50ca0d,from:_0x3d726f,to:_0x2ae929,unitType:_0x3fdb35}=_0xa23e5f[_0x5dae30(0x397)];return(await this['_snapshotServerService'][_0x5dae30(0x4a9)]({'metadata':void 0x0},{'unitID':_0x50ca0d,'type':_0x3fdb35,'from':_0x3d726f,'to':_0x2ae929}))['changesets'];}},exports[_0x132fae(0x451)]=qn([we(0x0,a[_0x132fae(0x2d7)](Z[_0x132fae(0x610)])),we(0x1,a[_0x132fae(0x2d7)](Z[_0x132fae(0x5a6)])),we(0x2,a[_0x132fae(0x335)]),we(0x3,a[_0x132fae(0x3a6)]),we(0x4,m[_0x132fae(0x215)])],exports[_0x132fae(0x451)]);const Xn=_0x132fae(0x403);function Jn(_0x25a15d){const _0x43db8d=_0x132fae;return JSON['stringify'](_0x25a15d)[_0x43db8d(0x4f2)];}class Et{constructor(){const _0x20ff55=_0x132fae;I(this,_0x20ff55(0x249),new A[(_0x20ff55(0x49a))]()),I(this,_0x20ff55(0x1a2),this[_0x20ff55(0x249)]['asObservable']());}['onCommentUpdate'](_0xcb06b7){const _0x82e1bf=_0x132fae;this['_commentUpdate$'][_0x82e1bf(0x339)](_0xcb06b7);}}var Zn=Object[_0x132fae(0x564)],Qn=Object[_0x132fae(0x405)],ei=(_0x12a4b2,_0x43112b,_0x394fa8,_0x6c4023)=>{for(var _0x435072=_0x6c4023>0x1?void 0x0:_0x6c4023?Qn(_0x43112b,_0x394fa8):_0x43112b,_0x1ad59a=_0x12a4b2['length']-0x1,_0x177aad;_0x1ad59a>=0x0;_0x1ad59a--)(_0x177aad=_0x12a4b2[_0x1ad59a])&&(_0x435072=(_0x6c4023?_0x177aad(_0x43112b,_0x394fa8,_0x435072):_0x177aad(_0x435072))||_0x435072);return _0x6c4023&&_0x435072&&Zn(_0x43112b,_0x394fa8,_0x435072),_0x435072;},wt=(_0x534011,_0x1c12ca)=>(_0x4b2c4e,_0x401a9b)=>_0x1c12ca(_0x4b2c4e,_0x401a9b,_0x534011);exports['MemberService']=class extends a['Disposable']{constructor(_0x55a385,_0x1c4e81){const _0x22dc69=_0x132fae;super(),I(this,_0x22dc69(0x636),new Map()),(this['_univerInstanceService']=_0x55a385,this['_userManagerService']=_0x1c4e81,this[_0x22dc69(0x1b9)](a[_0x22dc69(0x372)](A['merge'](this[_0x22dc69(0x2f4)][_0x22dc69(0x260)](a[_0x22dc69(0x2b2)][_0x22dc69(0x5f8)])[_0x22dc69(0x226)](V[_0x22dc69(0x625)](_0x3e41ae=>_0x3e41ae[_0x22dc69(0x4e6)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x22dc69(0x2b2)][_0x22dc69(0x21b)])['pipe'](V[_0x22dc69(0x625)](_0x361376=>_0x361376[_0x22dc69(0x4e6)]())),this[_0x22dc69(0x2f4)][_0x22dc69(0x260)](a[_0x22dc69(0x2b2)][_0x22dc69(0x31a)])['pipe'](V[_0x22dc69(0x625)](_0x1289b1=>_0x1289b1['getUnitId']())))[_0x22dc69(0x2e1)](_0x25b608=>this[_0x22dc69(0x45f)](_0x25b608)))));}['setCurrentUser'](_0x1d104f){const _0x33b5cd=_0x132fae;this[_0x33b5cd(0x629)][_0x33b5cd(0x241)](_0x1d104f);}[_0x132fae(0x2dc)](){const _0x295d8f=_0x132fae;return this['_userManagerService'][_0x295d8f(0x2dc)]();}['updateMember'](_0x43d8cc,_0x2a64df){const _0x127d7a=_0x132fae;let _0x30118f=this[_0x127d7a(0x636)][_0x127d7a(0x479)](_0x43d8cc);_0x30118f||(_0x30118f=new ti(),this[_0x127d7a(0x636)][_0x127d7a(0x61e)](_0x43d8cc,_0x30118f)),_0x30118f[_0x127d7a(0x269)](_0x2a64df);}['removeMember'](_0x250a25,_0x481ea6){const _0x45530e=_0x132fae,_0x37610a=this['_roomMembers'][_0x45530e(0x479)](_0x250a25);_0x37610a&&_0x37610a['removeMember'](_0x481ea6);}[_0x132fae(0x533)](_0x20e885){const _0x3ec4b6=_0x132fae;return this[_0x3ec4b6(0x636)][_0x3ec4b6(0x479)](_0x20e885);}[_0x132fae(0x2a0)](_0x15b99b,_0xa0213f){const _0x49705e=_0x132fae,_0x2e95ec=this[_0x49705e(0x636)]['get'](_0x15b99b);if(_0x2e95ec)return _0x2e95ec[_0x49705e(0x2a0)](_0xa0213f);}['_removeRoom'](_0x34da54){const _0x563bd6=_0x132fae,_0x418b3c=this[_0x563bd6(0x636)][_0x563bd6(0x479)](_0x34da54);_0x418b3c&&(_0x418b3c[_0x563bd6(0x1c3)](),this['_roomMembers'][_0x563bd6(0x352)](_0x34da54));}[_0x132fae(0x1c3)](){const _0x1a802a=_0x132fae;this[_0x1a802a(0x636)][_0x1a802a(0x320)](_0x57935d=>_0x57935d[_0x1a802a(0x1c3)]()),this[_0x1a802a(0x636)]['clear']();}},exports[_0x132fae(0x410)]=ei([wt(0x0,a[_0x132fae(0x4ab)]),wt(0x1,a[_0x132fae(0x2d7)](a[_0x132fae(0x611)]))],exports[_0x132fae(0x410)]);class ti extends a[_0x132fae(0x48c)]{constructor(){const _0x4b6a21=_0x132fae;super(...arguments),I(this,_0x4b6a21(0x5bf),new Map());}['dispose'](){const _0x26fde6=_0x132fae;this[_0x26fde6(0x5bf)][_0x26fde6(0x634)]();}['updateMember'](_0x18227c){const _0x46af4c=_0x132fae;this[_0x46af4c(0x5bf)][_0x46af4c(0x61e)](_0x18227c[_0x46af4c(0x466)],_0x18227c);}[_0x132fae(0x379)](_0x55f5bc){const _0x2c4c57=_0x132fae;this[_0x2c4c57(0x5bf)][_0x2c4c57(0x352)](_0x55f5bc);}[_0x132fae(0x2a0)](_0x2a99d6){const _0x5ccd88=_0x132fae;return this[_0x5ccd88(0x5bf)][_0x5ccd88(0x479)](_0x2a99d6);}[_0x132fae(0x33e)](){const _0x5e99cf=_0x132fae;return Array['from'](this[_0x5e99cf(0x5bf)][_0x5e99cf(0x54c)]());}}var ni=Object['defineProperty'],ii=Object[_0x132fae(0x405)],si=(_0x201347,_0x3c2471,_0x1d1035,_0x447995)=>{const _0x50dd71=_0x132fae;for(var _0x12b80a=_0x447995>0x1?void 0x0:_0x447995?ii(_0x3c2471,_0x1d1035):_0x3c2471,_0x36316e=_0x201347[_0x50dd71(0x4f2)]-0x1,_0x352d7d;_0x36316e>=0x0;_0x36316e--)(_0x352d7d=_0x201347[_0x36316e])&&(_0x12b80a=(_0x447995?_0x352d7d(_0x3c2471,_0x1d1035,_0x12b80a):_0x352d7d(_0x12b80a))||_0x12b80a);return _0x447995&&_0x12b80a&&ni(_0x3c2471,_0x1d1035,_0x12b80a),_0x12b80a;},ue=(_0x41ac95,_0x3361fd)=>(_0x4978d8,_0x162073)=>_0x3361fd(_0x4978d8,_0x162073,_0x41ac95),se=(_0x507e6a=>(_0x507e6a[_0x507e6a[_0x132fae(0x518)]=0x0]='IDLE',_0x507e6a[_0x507e6a[_0x132fae(0x375)]=0x1]=_0x132fae(0x375),_0x507e6a[_0x507e6a[_0x132fae(0x30d)]=0x2]='OFFLINE',_0x507e6a[_0x507e6a['ONLINE']=0x3]=_0x132fae(0x381),_0x507e6a))(se||{});exports[_0x132fae(0x5d0)]=class extends a[_0x132fae(0x4ef)]{constructor(_0x56a6d2,_0x143291,_0x42841e,_0x3c014f,_0x171227,_0x28d4a7,_0x52a744,_0x509125,_0x4e1dca,_0xfb06bd){const _0x3cbc1b=_0x132fae;super(),I(this,_0x3cbc1b(0x315),new A[(_0x3cbc1b(0x1ae))](0x0)),I(this,_0x3cbc1b(0x2b8),this[_0x3cbc1b(0x315)][_0x3cbc1b(0x24d)]()),I(this,_0x3cbc1b(0x273),new A[(_0x3cbc1b(0x49a))]()),I(this,_0x3cbc1b(0x227),this[_0x3cbc1b(0x273)][_0x3cbc1b(0x24d)]()),I(this,_0x3cbc1b(0x4b4)),I(this,_0x3cbc1b(0x36e)),I(this,_0x3cbc1b(0x34f)),I(this,_0x3cbc1b(0x3de),!0x1),I(this,'_telemetryInfo',null),(this['_unitID']=_0x56a6d2,this[_0x3cbc1b(0x5e5)]=_0x42841e,this[_0x3cbc1b(0x289)]=_0x3c014f,this[_0x3cbc1b(0x436)]=_0x171227,this[_0x3cbc1b(0x3f5)]=_0x28d4a7,this['_localeService']=_0x52a744,this['_memberService']=_0x509125,this[_0x3cbc1b(0x614)]=_0x4e1dca,this['_telemetryService']=_0xfb06bd,this[_0x3cbc1b(0x3de)]=!!this['_telemetryService'],_0x143291[_0x3cbc1b(0x226)](A[_0x3cbc1b(0x26d)](this[_0x3cbc1b(0x4a1)]))[_0x3cbc1b(0x2e1)](_0x2c317f=>{const _0x44b0b3=_0x3cbc1b;var _0x3f8f6b;typeof _0x2c317f>'u'||(this['_socket']=_0x2c317f,_0x2c317f?(this[_0x44b0b3(0x27c)](_0x2c317f),this['_socketMessageSubscription']=_0x2c317f[_0x44b0b3(0x464)][_0x44b0b3(0x2e1)](_0x225de4=>{const _0x939f2f=_0x44b0b3;_0x225de4[_0x939f2f(0x2ef)]===this[_0x939f2f(0x52d)]&&this[_0x939f2f(0x45b)](_0x225de4);})):(this[_0x44b0b3(0x439)](),this[_0x44b0b3(0x315)][_0x44b0b3(0x339)](0x2),(_0x3f8f6b=this['_socketMessageSubscription'])==null||_0x3f8f6b['unsubscribe'](),this[_0x44b0b3(0x36e)]=null));}),this['disposeWithMe'](this[_0x3cbc1b(0x289)][_0x3cbc1b(0x633)](()=>{const _0x94092b=_0x3cbc1b;var _0x5d31f2;(_0x5d31f2=this[_0x94092b(0x4b4)])==null||_0x5d31f2[_0x94092b(0x1cc)]({'cmd':G[_0x94092b(0x582)],'data':{'roomID':this[_0x94092b(0x52d)]}});})));}get[_0x132fae(0x34e)](){const _0x413fd2=_0x132fae;return this[_0x413fd2(0x315)]['getValue']();}[_0x132fae(0x438)](){const _0x75e25=_0x132fae;var _0x13cc93,_0x2eebac;return(_0x2eebac=(_0x13cc93=this[_0x75e25(0x4b4)])==null?void 0x0:_0x13cc93[_0x75e25(0x466)])!=null?_0x2eebac:null;}[_0x132fae(0x1c3)](){const _0x20afe5=_0x132fae;super[_0x20afe5(0x1c3)](),this[_0x20afe5(0x4a1)][_0x20afe5(0x339)](),this['dispose$'][_0x20afe5(0x46a)]();}[_0x132fae(0x565)](){const _0x56eba7=_0x132fae;var _0x23f954,_0x33dd4b;this[_0x56eba7(0x439)](),(_0x23f954=this['_socket'])==null||_0x23f954[_0x56eba7(0x1cc)]({'cmd':G[_0x56eba7(0x582)],'data':{'roomID':this['_unitID']}}),(_0x33dd4b=this[_0x56eba7(0x4b4)])==null||_0x33dd4b[_0x56eba7(0x565)](),this[_0x56eba7(0x273)][_0x56eba7(0x46a)](),this[_0x56eba7(0x315)][_0x56eba7(0x46a)](),this[_0x56eba7(0x1c3)]();}['_onCombEvent'](_0x4c2295){const _0x51e9b8=_0x132fae;_0x4c2295[_0x51e9b8(0x590)]===G[_0x51e9b8(0x4f5)]?this[_0x51e9b8(0x452)](_0x4c2295):_0x4c2295[_0x51e9b8(0x590)]===G[_0x51e9b8(0x2b7)]&&this['_onRecvEvent'](_0x4c2295);}['_joinRoom'](_0x1a3233){const _0x272561=_0x132fae;this[_0x272561(0x315)][_0x272561(0x339)](0x1),_0x1a3233[_0x272561(0x1cc)]({'cmd':G[_0x272561(0x4f5)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x132fae(0x452)](_0x9f21c8){const _0xc78208=_0x132fae;var _0x513b37;if(_0x9f21c8[_0xc78208(0x1e2)]===It['FAIL']){this[_0xc78208(0x436)][_0xc78208(0x395)]({'type':ge['MessageType']['Warning'],'content':this[_0xc78208(0x2e5)]['t'](_0xc78208(0x3ba))}),this[_0xc78208(0x315)][_0xc78208(0x339)](0x2);return;}this[_0xc78208(0x315)][_0xc78208(0x339)](0x3);const _0x1c6ed1=(_0x513b37=_0x9f21c8[_0xc78208(0x397)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x513b37[_0xc78208(0x437)];_0x1c6ed1&&_0x1c6ed1[_0xc78208(0x320)](_0x33f8fd=>this['_memberService'][_0xc78208(0x269)](this[_0xc78208(0x52d)],_0x33f8fd));}['_onRecvEvent'](_0x4506a5){const _0x4db077=_0x132fae;try{const _0x31ded3=_0x4506a5[_0x4db077(0x397)];switch(_0x31ded3[_0x4db077(0x1d2)]){case m[_0x4db077(0x1ad)][_0x4db077(0x5c5)]:this['_onUserJoin'](_0x31ded3),this[_0x4db077(0x273)][_0x4db077(0x339)](_0x31ded3);break;case m[_0x4db077(0x1ad)]['USERS_LEAVE']:this[_0x4db077(0x1aa)](_0x31ded3),this[_0x4db077(0x273)][_0x4db077(0x339)](_0x31ded3);break;case m[_0x4db077(0x1ad)]['CHANGESET_ACK']:case m[_0x4db077(0x1ad)]['CHANGESET_SHOULD_RETRY']:this[_0x4db077(0x571)](),this[_0x4db077(0x24b)](),this[_0x4db077(0x273)][_0x4db077(0x339)](_0x31ded3);break;case m[_0x4db077(0x1ad)][_0x4db077(0x301)]:this['_logService'][_0x4db077(0x2bd)](_0x4db077(0x597)+JSON[_0x4db077(0x2cc)](_0x31ded3)),this[_0x4db077(0x273)][_0x4db077(0x339)](_0x31ded3);break;case m[_0x4db077(0x1ad)][_0x4db077(0x4fe)]:this['_commentService'][_0x4db077(0x3f6)](_0x31ded3[_0x4db077(0x397)]),this[_0x4db077(0x273)]['next'](_0x31ded3);break;default:this[_0x4db077(0x273)][_0x4db077(0x339)](_0x31ded3);}}catch(_0x4bed12){this[_0x4db077(0x5e5)][_0x4db077(0x2bd)](_0x4bed12,_0x4506a5);}}[_0x132fae(0x2f9)](_0x513efe){const _0x545a83=_0x132fae;this[_0x545a83(0x5ef)][_0x545a83(0x269)](this[_0x545a83(0x52d)],_0x513efe[_0x545a83(0x397)]);}[_0x132fae(0x1aa)](_0x2f461e){const _0x2c5946=_0x132fae;this[_0x2c5946(0x5ef)][_0x2c5946(0x379)](this['_unitID'],_0x2f461e[_0x2c5946(0x397)]['memberID']);}async[_0x132fae(0x1cc)](_0x171980,_0x23a273){const _0xd97521=_0x132fae;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0xd97521(0x5a4));try{_0x171980[_0xd97521(0x1d2)]===m[_0xd97521(0x1ad)]['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0xd97521(0x517)](_0x171980)),this[_0xd97521(0x4b4)][_0xd97521(0x1cc)]({'cmd':G['INGEST'],'routeKey':_0x23a273,'routeType':'','data':_0x171980});}catch(_0x59d075){this[_0xd97521(0x5e5)][_0xd97521(0x2bd)](_0x59d075);}}[_0x132fae(0x487)](){const _0x1e8251=_0x132fae;var _0x272a73;this[_0x1e8251(0x34f)]=window['setTimeout'](()=>{const _0x5eae7b=_0x1e8251;this['_collaborationTimeoutTimer']=null,this['_messageService'][_0x5eae7b(0x395)]({'type':ge[_0x5eae7b(0x4ea)][_0x5eae7b(0x1f5)],'content':this['_localeService']['t'](_0x5eae7b(0x3d4))});},(_0x272a73=this[_0x1e8251(0x3f5)][_0x1e8251(0x368)](gt))!=null?_0x272a73:Qt);}['_clearCollaborationTimeoutTimer'](){const _0x1e9b87=_0x132fae;this[_0x1e9b87(0x34f)]&&(clearTimeout(this[_0x1e9b87(0x34f)]),this[_0x1e9b87(0x34f)]=null);}[_0x132fae(0x517)](_0x4e6a57){const _0x40ba8c=_0x132fae;if(!this[_0x40ba8c(0x3de)])return;const {data:_0x57c846}=_0x4e6a57,{unitID:_0x273775,changeset:_0x4c471a}=_0x57c846,{mutations:_0x148db8,type:_0x5a99ff}=_0x4c471a;this['_telemetryInfo']={'unitId':_0x273775,'type':_0x5a99ff,'startTime':performance[_0x40ba8c(0x573)](),'stopTime':0x0,'duration':0x0,'size':Jn(_0x148db8)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x8adc9a=_0x132fae;if(this[_0x8adc9a(0x3de)]){if(!this[_0x8adc9a(0x196)]){this['_logService'][_0x8adc9a(0x2bd)](_0x8adc9a(0x489),_0x8adc9a(0x351));return;}this[_0x8adc9a(0x196)][_0x8adc9a(0x3e2)]=performance[_0x8adc9a(0x573)](),this[_0x8adc9a(0x196)][_0x8adc9a(0x613)]=this[_0x8adc9a(0x196)][_0x8adc9a(0x3e2)]-this[_0x8adc9a(0x196)][_0x8adc9a(0x242)],this[_0x8adc9a(0x426)]['capture'](Xn,this[_0x8adc9a(0x196)]),this[_0x8adc9a(0x196)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},exports[_0x132fae(0x5d0)]=si([ue(0x2,a[_0x132fae(0x3a6)]),ue(0x3,ee[_0x132fae(0x408)]),ue(0x4,ee['IMessageService']),ue(0x5,a[_0x132fae(0x335)]),ue(0x6,a[_0x132fae(0x2d7)](a[_0x132fae(0x653)])),ue(0x7,a[_0x132fae(0x2d7)](exports[_0x132fae(0x410)])),ue(0x8,a[_0x132fae(0x2d7)](Et)),ue(0x9,a[_0x132fae(0x50b)](An[_0x132fae(0x42b)]))],exports[_0x132fae(0x5d0)]);var ri=Object[_0x132fae(0x564)],oi=Object['getOwnPropertyDescriptor'],ai=(_0x6c201d,_0xc3aeb3,_0x1b44c9,_0x23b064)=>{for(var _0x4a17fe=_0x23b064>0x1?void 0x0:_0x23b064?oi(_0xc3aeb3,_0x1b44c9):_0xc3aeb3,_0x215b28=_0x6c201d['length']-0x1,_0x5a3928;_0x215b28>=0x0;_0x215b28--)(_0x5a3928=_0x6c201d[_0x215b28])&&(_0x4a17fe=(_0x23b064?_0x5a3928(_0xc3aeb3,_0x1b44c9,_0x4a17fe):_0x5a3928(_0x4a17fe))||_0x4a17fe);return _0x23b064&&_0x4a17fe&&ri(_0xc3aeb3,_0x1b44c9,_0x4a17fe),_0x4a17fe;},Ee=(_0x40cb75,_0x54c6b9)=>(_0x25c7ce,_0x11804a)=>_0x54c6b9(_0x25c7ce,_0x11804a,_0x40cb75);exports[_0x132fae(0x5cd)]=class extends a['Disposable']{constructor(_0x8c8777,_0x56a0fd,_0xefbb2e,_0x304afe,_0x46c1f8,_0x32a226){const _0x862d17=_0x132fae;super(),I(this,_0x862d17(0x1b6),new A[(_0x862d17(0x1ae))](void 0x0)),I(this,_0x862d17(0x4b8),this[_0x862d17(0x1b6)][_0x862d17(0x24d)]()),I(this,'_candidateSocket',null),I(this,_0x862d17(0x4e9),new Map()),I(this,_0x862d17(0x2d4),new A[(_0x862d17(0x1ae))](se['IDLE'])),I(this,'status$',this[_0x862d17(0x2d4)][_0x862d17(0x24d)]()),I(this,_0x862d17(0x529),!0x1),I(this,_0x862d17(0x5f2)),I(this,_0x862d17(0x237),0x0),I(this,_0x862d17(0x552)),I(this,'_timeoutTimer'),(this[_0x862d17(0x459)]=_0x8c8777,this[_0x862d17(0x2e5)]=_0x56a0fd,this[_0x862d17(0x436)]=_0xefbb2e,this[_0x862d17(0x5e5)]=_0x304afe,this[_0x862d17(0x3f5)]=_0x46c1f8,this[_0x862d17(0x50a)]=_0x32a226,this[_0x862d17(0x4e0)]());}get[_0x132fae(0x4b4)](){const _0x1e4255=_0x132fae;return this[_0x1e4255(0x1b6)][_0x1e4255(0x34a)]();}['_initEventListeners'](){const _0x506e5d=_0x132fae;this['_listenToOfflineEvent'](),this[_0x506e5d(0x5e4)]();}[_0x132fae(0x1c3)](){const _0x65b7fc=_0x132fae;super[_0x65b7fc(0x1c3)](),this[_0x65b7fc(0x4e9)][_0x65b7fc(0x320)](_0xabb4c7=>_0xabb4c7[_0x65b7fc(0x1c3)]()),this[_0x65b7fc(0x4e9)]['clear'](),this['_status$']['complete']();}async['requireSession'](_0x29a05d){const _0x4f180c=_0x132fae;if(this[_0x4f180c(0x4e9)][_0x4f180c(0x425)](_0x29a05d))return this[_0x4f180c(0x4e9)][_0x4f180c(0x479)](_0x29a05d);this[_0x4f180c(0x5a7)]();const _0x58b6c2=this[_0x4f180c(0x459)][_0x4f180c(0x1f3)](exports['CollaborationSession'],_0x29a05d,this['_socket$'][_0x4f180c(0x24d)]());return this[_0x4f180c(0x4e9)][_0x4f180c(0x61e)](_0x29a05d,_0x58b6c2),_0x58b6c2;}[_0x132fae(0x3a3)](_0x98ff50){const _0x1f72bd=_0x132fae;var _0x33c63e;const _0x5c41be=this[_0x1f72bd(0x4e9)][_0x1f72bd(0x479)](_0x98ff50);_0x5c41be&&(this['_sessions'][_0x1f72bd(0x352)](_0x98ff50),_0x5c41be['close']()),this['_sessions'][_0x1f72bd(0x3a5)]||(_0x33c63e=this['_socket'])==null||_0x33c63e['close']();}[_0x132fae(0x2b4)](){const _0x4cde78=_0x132fae;this[_0x4cde78(0x237)]=0x0,this[_0x4cde78(0x5f2)]!=null&&(clearTimeout(this[_0x4cde78(0x5f2)]),this[_0x4cde78(0x5f2)]=null),this[_0x4cde78(0x5da)]();}[_0x132fae(0x22e)](){const _0xcb0d8a=_0x132fae;var _0x5f2d7f,_0x4007b8;const _0x598185=this[_0xcb0d8a(0x3f5)][_0xcb0d8a(0x368)](Jt),_0x4dd4a4=this[_0xcb0d8a(0x3f5)][_0xcb0d8a(0x368)](te),_0x525361=(_0x4007b8=(_0x5f2d7f=_0x4dd4a4==null?void 0x0:_0x4dd4a4[_0xcb0d8a(0x42f)])!=null?_0x5f2d7f:_0x598185)!=null?_0x4007b8:$n,_0x47fdca=this[_0xcb0d8a(0x50a)][_0xcb0d8a(0x386)](_0x525361);return this[_0xcb0d8a(0x25a)]=_0x47fdca,_0x47fdca;}[_0x132fae(0x5a7)](){const _0x35f0d8=_0x132fae;var _0x5d9f66,_0x4a9fea;try{const _0x3d4662=(_0x4a9fea=(_0x5d9f66=this[_0x35f0d8(0x4b4)])!=null?_0x5d9f66:this['_candidateSocket'])!=null?_0x4a9fea:this[_0x35f0d8(0x22e)]();if(_0x3d4662){const _0x3ef14a=_0x3d4662[_0x35f0d8(0x1cc)];_0x3d4662[_0x35f0d8(0x1cc)]=_0x403713=>(this[_0x35f0d8(0x1d7)](),_0x3ef14a[_0x35f0d8(0x48f)](_0x3d4662,[_0x403713])),_0x3d4662[_0x35f0d8(0x464)][_0x35f0d8(0x2e1)](_0x22b447=>this[_0x35f0d8(0x1a1)](_0x3d4662,_0x22b447)),_0x3d4662['error$'][_0x35f0d8(0x226)](V[_0x35f0d8(0x4e2)](0x1))['subscribe'](_0x47d0fe=>this[_0x35f0d8(0x5e5)][_0x35f0d8(0x2bd)](_0x35f0d8(0x59e),_0x47d0fe)),_0x3d4662['open$'][_0x35f0d8(0x226)](V[_0x35f0d8(0x4e2)](0x1))['subscribe'](()=>{const _0x33bd5b=_0x35f0d8;this[_0x33bd5b(0x5ec)](_0x3d4662);}),_0x3d4662[_0x35f0d8(0x362)]['pipe'](V[_0x35f0d8(0x4e2)](0x1))[_0x35f0d8(0x2e1)](_0x54a730=>{const _0x510373=_0x35f0d8;this[_0x510373(0x5e5)][_0x510373(0x2a1)](_0x510373(0x509),_0x510373(0x4d8),_0x54a730),this['_onConnectionFailed']();});}}catch(_0x40acd8){this['_logService'][_0x35f0d8(0x2bd)](_0x40acd8),this['_onConnectionFailed']();}}[_0x132fae(0x5ec)](_0x458919){const _0xb30c6c=_0x132fae;this[_0xb30c6c(0x5e5)]['debug'](_0xb30c6c(0x509),'socket\x20open.'),_0x458919[_0xb30c6c(0x1cc)]({'cmd':G[_0xb30c6c(0x504)]}),this[_0xb30c6c(0x1d7)]();}[_0x132fae(0x514)](){const _0x219690=_0x132fae;window[_0x219690(0x461)]('offline',()=>this['_onOffline']());}[_0x132fae(0x4d5)](){const _0x5aad20=_0x132fae;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x5aad20(0x2d4)][_0x5aad20(0x339)](se[_0x5aad20(0x30d)]),this[_0x5aad20(0x1b6)][_0x5aad20(0x339)](null),this[_0x5aad20(0x356)](),this['_clearHeartbeatTimer']();}[_0x132fae(0x51a)](){const _0x55be4b=_0x132fae;var _0x1496a8;this['_onOffline'](),this[_0x55be4b(0x237)]<((_0x1496a8=this[_0x55be4b(0x3f5)]['getConfig'](en))!=null?_0x1496a8:kn)?(this[_0x55be4b(0x436)][_0x55be4b(0x395)]({'key':_0x55be4b(0x4f8),'type':ge['MessageType'][_0x55be4b(0x445)],'content':this[_0x55be4b(0x2e5)]['t'](_0x55be4b(0x2d3))}),this[_0x55be4b(0x5da)]()):this[_0x55be4b(0x436)][_0x55be4b(0x395)]({'key':'collaboration-session-retry','type':ge[_0x55be4b(0x4ea)][_0x55be4b(0x1f5)],'content':this['_localeService']['t'](_0x55be4b(0x4cc))});}[_0x132fae(0x5e4)](){const _0x620909=_0x132fae,_0x56381d=()=>{const _0xfedfa3=_0x1d09;this[_0xfedfa3(0x4b4)]||this[_0xfedfa3(0x2b4)]();},_0x263063=()=>{const _0x481ea5=_0x1d09;this['_socket']||document[_0x481ea5(0x490)]===_0x481ea5(0x1c4)||this[_0x481ea5(0x2b4)]();};window['addEventListener']('online',_0x56381d),document[_0x620909(0x461)]('visibilitychange',_0x263063);}[_0x132fae(0x5da)](){const _0x1dc3a3=_0x132fae;var _0x3f287d;const _0x18f66f=this[_0x1dc3a3(0x237)],_0x58c513=this[_0x1dc3a3(0x3f5)][_0x1dc3a3(0x368)](te),_0x4de626=_0x18f66f===0x0?0x0:((_0x3f287d=_0x58c513==null?void 0x0:_0x58c513[_0x1dc3a3(0x19a)])!=null?_0x3f287d:Bn)*0x2**_0x18f66f;this[_0x1dc3a3(0x5f2)]=window['setTimeout'](()=>{const _0x1d257a=_0x1dc3a3;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x1d257a(0x5a7)]();},_0x4de626),this[_0x1dc3a3(0x237)]+=0x1;}[_0x132fae(0x1a1)](_0x56bacd,_0x54f34e){const _0x3367a9=_0x132fae,{cmd:_0x249dd7}=_0x54f34e;_0x249dd7===G[_0x3367a9(0x504)]&&!this[_0x3367a9(0x529)]&&(_0x56bacd['memberID']=_0x54f34e['data'][_0x3367a9(0x466)],this['_socket$'][_0x3367a9(0x339)](_0x56bacd),this['_status$'][_0x3367a9(0x339)](se[_0x3367a9(0x381)]),this[_0x3367a9(0x529)]=!0x0,this[_0x3367a9(0x25a)]=null),_0x249dd7===G[_0x3367a9(0x374)]&&this[_0x3367a9(0x356)](),this[_0x3367a9(0x1d7)]();}[_0x132fae(0x1d7)](){const _0x4a4c3e=_0x132fae;var _0x10c9b0;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=window[_0x4a4c3e(0x656)](()=>this['_sendHeartbeat'](),(_0x10c9b0=this[_0x4a4c3e(0x3f5)]['getConfig'](Zt))!=null?_0x10c9b0:Hn);}[_0x132fae(0x326)](){const _0x1db342=_0x132fae;this[_0x1db342(0x4b4)][_0x1db342(0x1cc)]({'cmd':G[_0x1db342(0x374)]}),this[_0x1db342(0x64f)]();}['_waitForHeartbeatResponse'](){const _0x318e80=_0x132fae;var _0x4a3be2;this['_timeoutTimer']=window[_0x318e80(0x656)](()=>this[_0x318e80(0x51a)](),(_0x4a3be2=this[_0x318e80(0x3f5)]['getConfig'](gt))!=null?_0x4a3be2:Qt);}[_0x132fae(0x209)](){const _0x26bbde=_0x132fae;this[_0x26bbde(0x552)]!=null&&(clearTimeout(this[_0x26bbde(0x552)]),this[_0x26bbde(0x552)]=null);}[_0x132fae(0x356)](){const _0x842a01=_0x132fae;this[_0x842a01(0x5d4)]!=null&&(clearTimeout(this[_0x842a01(0x5d4)]),this[_0x842a01(0x5d4)]=null);}},exports[_0x132fae(0x5cd)]=ai([Ee(0x0,a[_0x132fae(0x2d7)](a[_0x132fae(0x1e0)])),Ee(0x1,a[_0x132fae(0x2d7)](a['LocaleService'])),Ee(0x2,ee[_0x132fae(0x457)]),Ee(0x3,a[_0x132fae(0x3a6)]),Ee(0x4,a[_0x132fae(0x335)]),Ee(0x5,Ct)],exports['CollaborationSessionService']);const Y=[];for(let s=0x0;s<0x100;++s)Y['push']((s+0x100)[_0x132fae(0x5d7)](0x10)[_0x132fae(0x5ed)](0x1));function ci(_0x4abb23,_0x160060=0x0){const _0x19fe16=_0x132fae;return(Y[_0x4abb23[_0x160060+0x0]]+Y[_0x4abb23[_0x160060+0x1]]+Y[_0x4abb23[_0x160060+0x2]]+Y[_0x4abb23[_0x160060+0x3]]+'-'+Y[_0x4abb23[_0x160060+0x4]]+Y[_0x4abb23[_0x160060+0x5]]+'-'+Y[_0x4abb23[_0x160060+0x6]]+Y[_0x4abb23[_0x160060+0x7]]+'-'+Y[_0x4abb23[_0x160060+0x8]]+Y[_0x4abb23[_0x160060+0x9]]+'-'+Y[_0x4abb23[_0x160060+0xa]]+Y[_0x4abb23[_0x160060+0xb]]+Y[_0x4abb23[_0x160060+0xc]]+Y[_0x4abb23[_0x160060+0xd]]+Y[_0x4abb23[_0x160060+0xe]]+Y[_0x4abb23[_0x160060+0xf]])[_0x19fe16(0x39b)]();}let Xe;const li=new Uint8Array(0x10);function hi(){const _0x20c0ab=_0x132fae;if(!Xe){if(typeof crypto>'u'||!crypto[_0x20c0ab(0x234)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Xe=crypto['getRandomValues'][_0x20c0ab(0x428)](crypto);}return Xe(li);}const _i=typeof crypto<'u'&&crypto[_0x132fae(0x4d1)]&&crypto[_0x132fae(0x4d1)]['bind'](crypto),Pt={'randomUUID':_i};function ui(_0x4fd225,_0x33abb0,_0x279638){const _0x19f5cd=_0x132fae;if(Pt['randomUUID']&&!_0x33abb0&&!_0x4fd225)return Pt[_0x19f5cd(0x4d1)]();_0x4fd225=_0x4fd225||{};const _0x123f69=_0x4fd225[_0x19f5cd(0x620)]||(_0x4fd225[_0x19f5cd(0x1fd)]||hi)();return _0x123f69[0x6]=_0x123f69[0x6]&0xf|0x40,_0x123f69[0x8]=_0x123f69[0x8]&0x3f|0x80,ci(_0x123f69);}var di=Object[_0x132fae(0x564)],fi=Object[_0x132fae(0x405)],vi=(_0x578f5d,_0x5aa793,_0x2eba28,_0x2ef977)=>{const _0x4cb78f=_0x132fae;for(var _0x31fe96=_0x2ef977>0x1?void 0x0:_0x2ef977?fi(_0x5aa793,_0x2eba28):_0x5aa793,_0x4964f8=_0x578f5d[_0x4cb78f(0x4f2)]-0x1,_0x5b9c6a;_0x4964f8>=0x0;_0x4964f8--)(_0x5b9c6a=_0x578f5d[_0x4964f8])&&(_0x31fe96=(_0x2ef977?_0x5b9c6a(_0x5aa793,_0x2eba28,_0x31fe96):_0x5b9c6a(_0x31fe96))||_0x31fe96);return _0x2ef977&&_0x31fe96&&di(_0x5aa793,_0x2eba28,_0x31fe96),_0x31fe96;},Je=(_0x2f664f,_0xdd07db)=>(_0x30f2ec,_0x2e28a2)=>_0xdd07db(_0x30f2ec,_0x2e28a2,_0x2f664f);let Be=class{constructor(_0x537145,_0x4f4519,_0x1d05ba){const _0x4a4695=_0x132fae;this['_injector']=_0x537145,this[_0x4a4695(0x4cd)]=_0x4f4519,this[_0x4a4695(0x19b)]=_0x1d05ba;}[_0x132fae(0x5d3)](_0x5a5450){const _0x5d6e3f=_0x132fae;this[_0x5d6e3f(0x250)](_0x5a5450),this['_transformPreviousActiveRange'](_0x5a5450);}[_0x132fae(0x567)](_0x42ec2d){const _0x3affb2=_0x132fae,{unitID:_0x2047b3}=_0x42ec2d,_0x17b2e7=this[_0x3affb2(0x19b)][_0x3affb2(0x4ed)](_0x2047b3)['with'](J[_0x3affb2(0x51d)]),{redoCache:_0x5e9ff8}=_0x17b2e7[_0x3affb2(0x1a3)]();if(_0x5e9ff8[_0x3affb2(0x4f2)]===0x0)return _0x42ec2d;let _0x5c7f5e=a['Tools'][_0x3affb2(0x53e)](_0x42ec2d[_0x3affb2(0x477)][0x0]);for(let _0x2274a0=0x0;_0x2274a0<_0x5e9ff8[_0x3affb2(0x4f2)];_0x2274a0++){const _0x3aea3d={'id':'doc.mutation.rich-text-editing','params':{..._0x5e9ff8[_0x2274a0]}},_0x23e966=this['_transformService'][_0x3affb2(0x23d)](_0x5c7f5e,_0x3aea3d,!0x1);if(m[_0x3affb2(0x279)](_0x23e966))throw _0x23e966[_0x3affb2(0x2bd)];_0x5c7f5e=_0x23e966[_0x3affb2(0x654)];}return{...a[_0x3affb2(0x2db)][_0x3affb2(0x53e)](_0x42ec2d),'mutations':[_0x5c7f5e]};}[_0x132fae(0x250)](_0xd9fa1d){const _0x11d496=_0x132fae,{unitID:_0x5454ea}=_0xd9fa1d,_0x4f2816=this[_0x11d496(0x19b)]['getRenderById'](_0x5454ea)[_0x11d496(0x2b1)](J[_0x11d496(0x51d)]),{undoCache:_0x3e3da6,redoCache:_0x76fe30}=_0x4f2816[_0x11d496(0x1a3)]();if(_0x3e3da6[_0x11d496(0x4f2)]===0x0||_0x76fe30[_0x11d496(0x4f2)]===0x0)return;const _0x1d1a11=[],_0x1ca032=[];let _0x1b1e40=a[_0x11d496(0x2db)]['deepClone'](_0xd9fa1d[_0x11d496(0x477)][0x0]),_0x2b36ef=a[_0x11d496(0x2db)]['deepClone'](_0xd9fa1d[_0x11d496(0x477)][0x0]);for(let _0x42cfd4=_0x3e3da6[_0x11d496(0x4f2)]-0x1;_0x42cfd4>=0x0;_0x42cfd4--){const _0x50712c={'id':_0x11d496(0x38e),'params':{..._0x3e3da6[_0x42cfd4]}},_0x105ad7={'id':_0x11d496(0x38e),'params':{..._0x76fe30[_0x42cfd4]}},_0x4d03b5=this[_0x11d496(0x4cd)][_0x11d496(0x23d)](_0x1b1e40,_0x50712c,!0x1),_0x380d7d=this[_0x11d496(0x4cd)]['transformMutation'](_0x2b36ef,_0x105ad7,!0x1);if(m['isTransformMutationFailure'](_0x4d03b5))throw _0x4d03b5[_0x11d496(0x2bd)];if(m[_0x11d496(0x279)](_0x380d7d))throw _0x380d7d[_0x11d496(0x2bd)];_0x1d1a11[_0x11d496(0x4b6)](_0x4d03b5[_0x11d496(0x46d)][_0x11d496(0x47f)]),_0x1ca032[_0x11d496(0x4b6)](_0x380d7d['m2Prime']['params']),_0x1b1e40=_0x4d03b5[_0x11d496(0x654)],_0x2b36ef=_0x380d7d[_0x11d496(0x654)];}_0x4f2816['setUndoRedoMutationParamsCache']({'undoCache':_0x1d1a11,'redoCache':_0x1ca032});}[_0x132fae(0x631)](_0x5e9e5d){const _0x461e81=_0x132fae,{unitID:_0x15c665}=_0x5e9e5d,_0x49d4b9=this[_0x461e81(0x19b)][_0x461e81(0x4ed)](_0x15c665)[_0x461e81(0x2b1)](J[_0x461e81(0x51d)]),_0x5a28d6=_0x49d4b9[_0x461e81(0x2c8)]();if(_0x5a28d6==null)return;const _0x733900=[{'id':_0x461e81(0x38e),'params':{'unitId':_0x5e9e5d[_0x461e81(0x392)],'actions':null,'textRanges':[_0x5a28d6]}}],_0x4d9414=this['_transformService'][_0x461e81(0x48e)](_0x5e9e5d,_0x733900);if(!m[_0x461e81(0x275)](_0x4d9414))throw _0x4d9414[_0x461e81(0x2bd)];const _0x390781=_0x4d9414[_0x461e81(0x46d)][0x0][_0x461e81(0x47f)][_0x461e81(0x271)];Array['isArray'](_0x390781)&&_0x390781['length']&&_0x49d4b9[_0x461e81(0x4cf)](_0x390781[0x0]);}};Be=vi([Je(0x0,a[_0x132fae(0x2d7)](a[_0x132fae(0x1e0)])),Je(0x1,m['ITransformService']),Je(0x2,K['IRenderManagerService'])],Be);var Si=Object[_0x132fae(0x564)],mi=Object[_0x132fae(0x405)],pi=(_0x32cc6f,_0x341694,_0x469c93,_0x1e2008)=>{const _0x114f14=_0x132fae;for(var _0xd505c=_0x1e2008>0x1?void 0x0:_0x1e2008?mi(_0x341694,_0x469c93):_0x341694,_0x514afe=_0x32cc6f[_0x114f14(0x4f2)]-0x1,_0x5ec856;_0x514afe>=0x0;_0x514afe--)(_0x5ec856=_0x32cc6f[_0x514afe])&&(_0xd505c=(_0x1e2008?_0x5ec856(_0x341694,_0x469c93,_0xd505c):_0x5ec856(_0xd505c))||_0xd505c);return _0x1e2008&&_0xd505c&&Si(_0x341694,_0x469c93,_0xd505c),_0xd505c;},Pe=(_0x51152d,_0x5806dd)=>(_0x19c360,_0x2f9225)=>_0x5806dd(_0x19c360,_0x2f9225,_0x51152d);exports[_0x132fae(0x388)]=class extends a[_0x132fae(0x48c)]{constructor(_0x1774e3,_0x43d2ef,_0x5e80cf,_0x3c547f,_0x231b73){const _0x20be25=_0x132fae;super(),I(this,_0x20be25(0x605),new Map()),I(this,_0x20be25(0x2d8),new Map()),I(this,'_disabled',!0x1),(this[_0x20be25(0x3f5)]=_0x1774e3,this[_0x20be25(0x2dd)]=_0x43d2ef,this[_0x20be25(0x289)]=_0x5e80cf,this[_0x20be25(0x2e5)]=_0x3c547f,this[_0x20be25(0x616)]=_0x231b73,this['_setupBeforeClosingHandler']());}['disableLocalCache'](){const _0x542ea8=_0x132fae;this[_0x542ea8(0x3e7)]=!0x0;}[_0x132fae(0x591)](){const _0x548524=_0x132fae;this[_0x548524(0x3e7)]=!0x1;}[_0x132fae(0x1c3)](){const _0x49353f=_0x132fae;this['exhaustSavingTask']()['then'](()=>super[_0x49353f(0x1c3)]());}async['loadOfflineData'](_0x1c30ed){const _0x9f4a5a=_0x132fae;return this[_0x9f4a5a(0x3e7)]?null:this[_0x9f4a5a(0x2dd)]['getItem'](Ut(_0x1c30ed));}async[_0x132fae(0x1da)](_0x4b9e87,_0x144fc7){const _0x365e1e=_0x132fae;return!!this['_localStorageService'][_0x365e1e(0x3ff)](_0x4b9e87,_0x144fc7);}['updateOfflineData'](_0x576455,_0x564213,_0x13a20e,_0x2813a0){const _0x1e5d7e=_0x132fae,_0x5ea6ad=this[_0x1e5d7e(0x616)][_0x1e5d7e(0x49c)](_0x576455);this[_0x1e5d7e(0x605)]['set'](_0x576455,{'unitID':_0x576455,'type':_0x564213,'awaitingChangeset':_0x13a20e,'mutations':_0x2813a0,'rev':_0x5ea6ad}),this['_saveTaskMap'][_0x1e5d7e(0x425)](_0x576455)||this[_0x1e5d7e(0x404)](_0x576455);}[_0x132fae(0x404)](_0x23ff15){const _0x2b3d42=_0x132fae,_0x354f15=this[_0x2b3d42(0x2a2)]();_0x354f15===0x0?this[_0x2b3d42(0x244)](_0x23ff15):this['_saveTaskMap'][_0x2b3d42(0x61e)](_0x23ff15,setTimeout(()=>this['_saveCache'](_0x23ff15),_0x354f15));}[_0x132fae(0x2a2)](){const _0x193cc4=_0x132fae;var _0xb2a3a7;return(_0xb2a3a7=this[_0x193cc4(0x3f5)]['getConfig'](tn))!=null?_0xb2a3a7:Wn;}[_0x132fae(0x244)](_0xb2f805){const _0x1c25d2=_0x132fae,_0x4842f0=this[_0x1c25d2(0x2d8)]['get'](_0xb2f805);return _0x4842f0!==void 0x0&&window['clearTimeout'](_0x4842f0),this['_localStorageService'][_0x1c25d2(0x3ff)](Ut(_0xb2f805),this[_0x1c25d2(0x605)]['get'](_0xb2f805))[_0x1c25d2(0x46b)](()=>this['_saveTaskMap']['delete'](_0xb2f805));}async[_0x132fae(0x3d8)](){const _0x1a305a=_0x132fae,_0xad69a8=[];this[_0x1a305a(0x2d8)]['forEach']((_0x2e7d05,_0x334dbf)=>{const _0x47d6f2=_0x1a305a;window['clearTimeout'](_0x2e7d05),_0xad69a8[_0x47d6f2(0x2be)](this[_0x47d6f2(0x244)](_0x334dbf)[_0x47d6f2(0x46b)](()=>{const _0x393363=_0x47d6f2;this[_0x393363(0x2d8)]['delete'](_0x334dbf);}));}),await Promise['all'](_0xad69a8);}['_setupBeforeClosingHandler'](){const _0x15e9a7=_0x132fae;this[_0x15e9a7(0x1b9)](this[_0x15e9a7(0x289)][_0x15e9a7(0x414)](()=>{const _0x18d8c6=_0x15e9a7;if(this[_0x18d8c6(0x2d8)][_0x18d8c6(0x3a5)])return this[_0x18d8c6(0x2e5)]['t']('collaboration-client.offline-data-not-saved');}));}},exports[_0x132fae(0x388)]=pi([Pe(0x0,a[_0x132fae(0x335)]),Pe(0x1,a[_0x132fae(0x5ba)]),Pe(0x2,ee[_0x132fae(0x408)]),Pe(0x3,a[_0x132fae(0x2d7)](a['LocaleService'])),Pe(0x4,a[_0x132fae(0x2d7)](m[_0x132fae(0x26a)]))],exports[_0x132fae(0x388)]);function Ut(_0x1818c7){const _0xdb62a3=_0x132fae;return _0xdb62a3(0x52c)+_0x1818c7;}function _0x577d(){const _0x742930=['crypto','body','image/jpeg','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','clearTimeout','WebSocketService','_tryEnsureSocket','getUniverSheetInstance','withCredentials','socketService','objectActions','/universer-api/snapshot','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_updateSubUnitFromURLParams','startsWith','getDocRanges','createCollaborator','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','UnitEmbedded','restore','UNIVER_PROJECT','isTransformChangesetsSuccess','rev','_initStatusComponent','HEARTBEAT_TIMEOUT_KEY','ILocalStorageService','format','_document','_initUnitPermissionChange','attrs','_members','padding','ivSize','Utf8','univer-online-status-title','_awaitingChangeset','USERS_ENTER','onSendChangeset','encodeURIComponent','getStateCache','decryptBlock','some','font','indexOf','CollaborationSessionService','loginUrlKey','tag','CollaborationSession','_sendingTimer','@univerjs/rpc','transformIMECache','_timeoutTimer','CompressMutationService','_handleLeaveEvent','toString','execute','_loadDoc','_tryReconnect','150634bExHNd','abs','_updateCollabCursors','getCellPositionByOffset','filter','none','RETRY_CONNECTING_MAX_COUNT_KEY','interceptor','session','_listenToOnlineEvent','_logService','_acknowledgedAwaitingChangeset','[CollaborationUndoRedoService]','7176430hOUoJf','[OfflineState]:\x20received\x20changeset.','parse','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_onConnectionOpen','slice','DOC_RANGE_TYPE','_memberService','YUUMI_SUBSCRIPTION_NOT_FOUND','sin','_retryConnectingTimer','x-univer-host','awaiting','trim','getSheetBlock','LIVESHARE_TERMINATE','UNIVER_SHEET','_schedule','?size=','_transformHistoryAndStateStack','CollaborationStatus','@univerjs/design','_id','_onRemoteRetry','_resendWithTimeout','userID','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','APPLY_REVISION_CONFILICT','_checkMissing','_cachedData','jsx','not_collab','/universer-api/file/{fileID}/sign-url','call','CollaborationEntity','changesets','_ws','min','LIVESHARE_NEW_HOST','_init','HTTPService','UserManagerService','@univerjs/engine-formula','duration','_commentService','merge','_revisionService','onlyLocal','put','SYNCED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','@univerjs/core','univer-pro.collaboration-client.single-active-unit-service','_color','set','onTransformSelections','random','YUUMI_UNABLE_LOAD_URL','_labelPosition','downloadEndpointUrl','refreshPermission','map','UUID','useRef','executeCommand','_userManagerService','WorkbookEditablePermission','_collaborationSessionService','_undoStacks','EffectRefRangId','_entities','updateOfflineData','save','_transformPreviousActiveRange','RECT','registerOnClose','clear','whenReady','_roomMembers','_clearOtherTimers','roomMembers','onlineStatusTitle','_substituteRedoStack','_getSnapshotAPIPrefix','conflict','getCollabEntity$','_invKeySchedule','fetchThroughInterceptors','LICENSE_DISTRO_REJECTED','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','top','handleInsertRangeMoveRight','roles','url','_lockTransition','on-line-single_clip0_910_349','Pkcs7','CipherParams','getViewport','RichTextEditingMutation','YUUMI_RATE_OVER_LIMIT','_startSheetCollabCursor','originalMeta','_waitForHeartbeatResponse','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_uiPartsService','addObject','LocaleService','m1Prime','_scheduleHeartbeat','setTimeout','UNIVER_UNKNOWN','svg','buffer','resize','SUCCUSS','/role','#FFF','_isPermissionRej','_session','RefRangeService','docStateChange$','snapshotServerUrl','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_telemetryInfo','_createHmacHelper','commentUpdateEvent','SNAPSHOT_URL_KEY','retryConnectingInterval','_renderManagerService','IImageIoService','_remoteChangesetQueue','LICENSE_IMPORT_SIZE_EXCEEDED','objectID','transformChangesets','_onMessage','commentUpdate$','getUndoRedoMutationParamsCache','on-line-single','_startCollaboration','SheetPermissionInitController','status','_drawRectRange','DesktopCollaborationStatusDisplayController','_onUserLeave','onRendered','key','CollaborationEvent','BehaviorSubject','bottom','responseType','_onRefRangeChange','PasswordBasedCipher','IRenderManagerService','className','href','_socket$','handleDeleteRangeMoveLeft','unitId','disposeWithMe','kdf','ImageIoService','_handleHover','__creator','_cipher','APPLY_PERMISSION_DENIED','isInternalEditorID','HttpExport','_getCtorByUniverType','dispose','hidden','IUndoRedoService','@univerjs/network','_append','UNAUTHENTICATED','throttleTime','DisposableCollection','conflict.title','send','onCommandExecuted','setWaitCount','DEFAULT_FILE_NAME','/object','_updateLocalCursor','eventID','YUUMI_URL_COL_OUT_OF_RANGE','_hash','transformStack\x20failed!','SNAPSHOT_INVALID_SNAPSHOT','_rescheduleHeartbeat','toStringTag','_getSignURL','saveOfflineData','liveShareNewHost','AES','join','_resendTimer','Hasher','Injector','_onCursorUpdate','code','_transformIMECache','idSuffix','submit\x20changeset\x20error!','catch','_compressMutationService','listCollaborators','syncEditingCollabCursor','getTypeOfUnitAdded$','endRow','SUBMIT_CHANGESET','_onCursorDelete','handleInsertRangeMoveDown','HmacMD5','_ensureSubject','_snapshotService','collab-rect-range-','createInstance','transformStateCache','Error','fill','storage','onMissingChangesets','setInterval','ImageSourceType','newValue','text','rng','COMPRESS_MUTATION_SEND','blockSize','onRemoteRej','setAlpha','words','_handleEvent','_substituteUndoStack','\x20in\x20_schedule.','RETRY_CONNECTING_MAX_COUNT','registerRefRange','image/bmp','_clearHeartbeatTimer','INGEST','shareReplay','_getAPIPrefixPath','_colorIndex','Hex','1524FCfOJx','current','resourceIDs','getParam','_refRangeService','handleDeleteRangeMoveUp','ISnapshotServerService','ALREADY_EXISTS','INTERNAL_ERROR','getDeserializedSheetBlock','_collaborationController','title','UNIVER_DOC','_minBufferSize','getRelativeToViewportCoord','CommentService','LIVESHARE_REQUEST_HOST','disableLocalCache','_clearScheduledTask','fillRule','cursorInfo$','UniverIcon','HMAC','pipe','event$','_getAnchorBounding','disposeUnit','enableOfflineEditing','onRemoteRetry','url(#$1','_lastPointer','_createSocket','status$','charAt','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','skeleton','ImageUploadStatusType','getRandomValues','processBlock','_toggleOffline','_retryCount','_state','_draw','SNAPSHOT_SERVER_URL_KEY','0\x200\x2017\x2016','combineLatest','transformMutation','_transitionLocked','_transformUndoredo','_config','setCurrentUser','startTime','_transformRemoteChangesetByIMECache','_saveCache','_commandService','randomBytes','repeat','round','_commentUpdate$','CBC','_clearCollaborationTimeoutTimer','_getScale','asObservable','$super','[FetchMissState]','_transformUndoRedoStack','_onRemoteRejected','update','AWAITING_WITH_PENDING','DataLoaderController','_roomMembers$','COLLAB_WEB_SOCKET_URL_KEY','/universer-api/authz','_transformStack','_sheetTransformSelectionsService','_candidateSocket','onTransformState','distinctUntilChanged','WebURLService','touchDependencies','_scheduleClearOtherTimer','getTypeOfUnitDisposed$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','decrypt','setStateCache','entries','collabStatus.offline','_submitChangeset','onMouseMove','&assign=','updateMember','RevisionService','result','enableSingleActiveInstanceLock','takeUntil','Error\x20on\x20receiving\x20event','SheetCollaborationEntity','onMissedChangesetFetched','textRanges','Vector2','_event$','_doFinalize','isTransformMutationsWithChangesetSuccess','currentSkeleton$','toggleOffline','hasOwnProperty','isTransformMutationFailure','_getUndoStack','addImageSourceCache','_joinRoom','ceil','colorChannel1','setShapeProps','#fff','PERMISSION_DENIED','_range','initWorkbookPermissionChange','_decreaseWaiting','flatMap','InsertRowCommandId','getImage','row','_beforeCloseService','children','InsertColCommandId','connectInjector','symbol','readInt32LE','unsubscribe','_onFetchMissResult','_collabCursorState$','saveSnapshot','POST','ACTIVE_UNIT_EVENT_CHANNEL','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','mapDocumentTypeToUniverType','_waitCount','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_onLocalMutation','COLORS','collabStatus.fetchMiss','Rectangle','_clearRedo','c2Prime','_cursors','getMember','debug','_getSaveTimeout','ICollaborationSocketService','awaiting_with_pending','__esModule','runRefRangeMutations','SHOULD_CLOSE_CONN','leaveEvent','_replaceFileID','_updateStatus','UniverCollaborationPlugin','_redoStacks','onRemoteAck','[SyncedState]:\x20received\x20acknowledgement.','pending','encrypt','with','UniverInstanceType','deleteCollaborator','reconnect','FETCH_MISS','_loadSheet','RECV','sessionStatus$','urlChange$','UNKNOWN_CMD','rxjs/operators','lib','error','push','Decryptor','@univerjs/sheets','workbook','univerjs-icon\x20univerjs-icon-','object','_unitStatus','icon','from','COMPLETION_FINISHED','getActiveRange','red300','_selfUnitIDs','getCollabCursors$','stringify','EvpKDF','onStateChange','@univerjs/docs','width','redoState','_setupSubUnitSync','session.will-retry','_status$','NO_OTHER_CLIENTS_EDITING','_onRemoteACK','Inject','_saveTaskMap','history','@univerjs/ui','Tools','getCurrentUser','_localStorageService','purple300','delay','uni.network.url-service','subscribe','_anchor','roomMembers$','_createHandler','_localeService','UPDATE_PERMISSION_OBJ','Module','currentColor','NoPadding','color','DocSkeletonManagerService','getImageSourceCache','AWAITING','getCoordByCell','routeKey','univer-online','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','loadSheet','BlockCipher','_univerInstanceService','confirm','/-/object/-/batch_allowed','_doProcessBlock','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_onUserJoin','prototype','default','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','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','_type','TEXT_RANGE_LAYER_INDEX','unit','MSG_FOR_ERROR','image/png','post','18mnipsU','/universer-api/comb','_changesetSessionId','4bFBvRh','list','defIds','__Key__','isEditing','getUnitOnRev','OFFLINE','Encryptor','_createHelper','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_removeClearOtherTimer','_executeRemoteChangeset','generateRandomId','_iv','_sessionStatus$','cursorInfo','onReady','Tooltip','useObservable','UNIVER_SLIDE','HttpImport','_getMergeRange','arc','FAIL','assign','forEach','resend','COLLAB_SUBMIT_CHANGESET_URL_KEY','isTransformMutationsWithChangesetFailure','@univerjs-pro/collaboration','makeDirty','_sendHeartbeat','SnapshotService','_colorAssignService','_permissionService','Could\x20not\x20dynamically\x20require\x20\x22','_prevBlock','deserializeRangeWithSheet','onlineStatusIcon','onlineStatus','registerRenderModule','_initResize','SHA1','patch','signUrlServerUrl','permission.content','IConfigService','_handleHeartbeatEvent','[PendingState]:\x20unhandled\x20univer\x20type:\x20','SnapshotServerOverHTTPService','next','path','type','fromCollab','joinRsp','getAllMembers','_onRemoteChangeset','HTTPRequest','name','split','use','createEncryptor','createIdentifier','_updateLocalCache','onload','4464030ouWUqB','_docTransformSelectionsService','getValue','activeSheet$','registerHTTPInterceptor','_transformRemoteChangesetByStateCache','sessionStatus','_collaborationTimeoutTimer','byteOffset','telemetry\x20info\x20is\x20not\x20initialized','delete','_replayCachedMutations','target','InsertRangeMoveRightCommandId','_clearTimeoutTimer','subUnitId','CollaborationStatusDisplay','LOCAL_CACHE_INTERVAL_KEY','[CollaborationState]:\x20apply\x20error!','_eventUnsubscribe','_http','SetWorksheetActivateCommand','permissionRejEvent','_syncEditingCollabCursorService','finalize','LOGIN_URL_KEY','close$','transformSelections','IUIPartsService','_docStateChangeManagerService','_hover','function','getConfig','measureText','auth.needGotoLoginAlert','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','debounceTime','_data','_socketMessageSubscription','unitId\x20is\x20not\x20found','getCurrentSelections','actions','toDisposable','onSyncEditingCollabCursor','HEARTBEAT','JOINING','saveChangeset','_backgroundColor','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','removeMember','clone','add','backgroundColor','6797WylXqs','getActiveSheet','_cursor','Unknown\x20user','ONLINE','_applyRemoteChangeset','url(#on-line-single_clip0_910_349)','getRangePointData','sequenceExecute','createSocket','collab-text-range-','LocalCacheService','Latin1','488wQCXoy','HEARTBEAT_TIMEOUT','useDependency','SetSelectionsOperation','doc.mutation.rich-text-editing','snapshot','objectType','AUTHZ_URL_KEY','unitID','TRANSFORM_CHANGE_OBSERVABLE_TYPE','282780kwerqc','show','_createInitialState','data','isPermissionRej','_collabCursorController','_clearLocalCache','toLowerCase','keySize','USERS_LEAVE','location','INVALID_ARGUMENT','_getAPIPrefix','_transformSelections','CONNECTOR_DATA_TOO_LARGE','closeSession','_disableEditing','size','ILogService','_DEC_XFORM_MODE','getCollabEntity','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','concatMap','UNIVER_COLLABORATION_CLIENT_PLUGIN','IPermissionService','_nRounds','csRejEvent','_syncEditingCollabCursor','/-/object/list','textEncoder','fillStyle','every','CollaborationController','_docSyncEditingCollabCursorService','_changesetReqId','_themeService','collabStatus.syncing','substring','session.room-full','getAncestorScale','image/gif','IAuthzIoService','algo','univer-online-status-icon','hide','toggleOnline','/fetchmissing?from=','ranges','ERROR_IMAGE','baseRev','csAckEvent','RegularPolygon','createDecryptor','reduce','3893256KslbHC','_oKey','_textBubble','Workbook','DocCollaborationEntity','APPLY_REJECT','ReplaySubject','compute','csShouldRetryEvent','_doCryptBlock','session.collaboration-timeout','APPLY_DUPLICATED','div','Plugin','exhaustSavingTask','collabCursorState$','registerDependencies','requireSession','UnitSnapshot','handleIRemoveRow','_shouldReportTelemetry','ciphertext','[SyncedState]:\x20received\x20rejection.','[DataLoaderController]','stopTime','[OfflineState]:\x20received\x20rejection.','Shape','getWorkbookSelections','InsertSheetMutation','_disabled','COMPRESS_MUTATION_APPLY','_toggleOnline','encode','_notificationService','localeService','MD5','_getUploadFileURL','addObjects','_unlockTransition','_sheetSkeletonManagerService','currentTheme$','getUnitType','_docSkeletonManagerService','_configService','onCommentUpdate','BlockCipherMode','byteLength','_showConflictNotification','_docSkeleton','LICENSE_EXPORT_SIZE_EXCEEDED','...','_httpService','state','setItem','pluginName','_onConflict','_ENC_XFORM_MODE','collaboration_new_changeset','_scheduleSaving','getOwnPropertyDescriptor','[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.','_mode','IBeforeCloseService','replaceState','find','ERROR_EXCEED_SIZE','reverse','_getRedoStack','0\x200\x2016\x2016','startRow','MemberService','OpenSSL','clipPath','includes','registerBeforeClose','hovered','_map','_send','UNDEFINED','transformUndoRedo','loadOfflineData','_clearUndo','_sender','OffLineSingle','_assignedColors','SetDocZoomRatioOperation','_drawAnchor','pad','appendMutation','isActive','connection\x20error','has','_telemetryService','_shapes','bind','_updateState','Univer','ITelemetryService','extend','&to=','headers','collabWebSocketUrl','getResourcesRequest','transformByState','@univerjs/drawing','APPLY_NON_SEQUENTIAL_REVISION','splice','mode','_messageService','members','getMemberID','_throwTelemetryCollaborationNewChangeset','searchParams','/collaborator','engine','SerializableCipher','_resendTimeout','_doReset','_unitOnClients','_cursorShapes','getFocusedUnit','_getSheetObject','univer-offline','Warning','[PendingState]:\x20received\x20rejection.','_render','_collaborationPaused','TOO_MANY_REQUESTS','_HTTPService','HEADER_MENU','undoState','fetchMiss','RemoveColCommandId','json','_parse','CollaborationSocketService','_onJoinRoomEvent','Malformed\x20UTF-8\x20data','pushState','LIVESHARE_FETCH_OPERATIONS','evenodd','IMessageService','putCollaborators','_injector','_hovered','_onCombEvent','reqId','getSheetId','ENSURE_SNAPSHOT_EXECUTION','_removeRoom','_keySchedule','addEventListener','handleIRemoveCol','unknown','message$','online','memberID','LOCAL_CACHE_INTERVAL','triggerDblclick','focused$','complete','then','_singleActiveUnitService','m2Prime','HmacSHA1','updateCursorEvent','rgba(255,\x20255,\x20255,\x200.01)','collaborators','_incrementRevisionNumber','_imageSourceCache','1em','saveSheetBlock','getCurrentUnitForType','mutations','getSheetObject','get','getColor','Rect','MoveRangeCommandId','getUnitStatus$','isArray','params','concat','collabSubmitChangesetUrl','UniverCollaborationClientPlugin','PERMISSION_REJ','resolve','_getCurrentRevision','_docTransformIMECacheService','_scheduleCollaborationTimeoutTimer','defs','[CollaborationSession]','OnLineSingle','_initCommandExecutedListener','Disposable','startColumn','transformMutationsWithChangeset','apply','visibilityState','{fileID}','1597gXSksX','NOT_COLLAB','_urlService','reset','sheetID','collaboration-client.config','_initMergeInterceptor','column','Subject','deserializeToCombResponse','getCurrentRevOfUnit','_updateURLWithCurrentState','b64DecodeUnicode','_removeCollabCursors','selections','dispose$','ICommandService','off-line-single_clip0_910_343','_hideTimer','FileId','_createInitialStateImpl','error$','joinEvent','fetchMissingChangesets','_registerRenderDependencies','IUniverInstanceService','init','CommandType','_drawTextRange','_undoRedoService','ws://127.0.0.1:8000/universer-api/comb/connect','@univerjs/telemetry','RemoveRowCommandId','translate(.97)','_socket','DocStateChangeManagerService','unshift','[OfflineState]:\x20received\x20acknowledgement.','socket$','/unit/','requestParams','propertyIsEnumerable','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','DocSelectionManagerService','_transformStateCache','HEARTBEAT_INTERVAL_KEY','create','_name','clearInterval','synced','handleMoveRange','_hasher','_keyPriorReset','MergeInterceptorFactory','range','updatePermissionObjEvent','/block/','sid','session.connection-failed','_transformService','createElement','setActiveRange','replace','randomUUID','encryptBlock','_cursorInfo$','CHANGESET_REJ','_onOffline','IURLService','rxjs','socket\x20close','_getLoginPath','cfg','UPDATE_CURSOR','toRgbString','_online','_iKey','fromCharCode','_initEventListeners','findNodePositionByCharIndex','take','_refreshCollabCursors','incrementRevOfUnit','CONFLICT','getUnitId','_entityInit$','SessionStatus','_sessions','MessageType','endColumn','NodePositionConvertToRectRange','getRenderById','ERROR_IMAGE_TYPE','RxDisposable','awaitingChangeset','_getDownloadEndpointURL','length','uploadFileServerUrl','COLLAB_WEB_SOCKET_URL','JOIN','_heartbeatTimer','_handleJoinEvent','collaboration-session-retry','xlink:href','contains','DependentOn','floor','_fetchMissChangesets','COMMENT_UPDATE','readAsDataURL','enc','sheets','_key','BASE64','HELLO','LIVESHARE_OPERATION','TEXT','IContextService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[CollaborationSessionService]','_socketService','Optional','assignAColorForMemberID','sendChangesetTimeout','_registerDependencies','batchAllowed','_localCacheService','_xformMode','getMergeData','unpad','_listenToOfflineEvent','max','_initDependencies','_startTelemetryCollaborationNewChangeset','IDLE','action','_onConnectionFailed','onRemoteChangeset','_anchorDot','DocIMEInputManagerService','setShowComponents','PSEUDO_FETCH_MISSING_RESULT','IRemoteInstanceService','EmptyMutation','switchMap','mixIn','NEW_CHANGESETS','override','AuthzIoHttpService','getInterceptPoints','c1Prime','_socketReady','UNRECOGNIZED','_reverseMap','unit-cache-','_unitID','SheetCollabCursorShape','_docTransformStateCacheService','reject','_pendingMutations','onPointerLeave$','getRoom','msCrypto','onTransformRemoteChangesetByStateCache','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','offline','compose','string','getCurrent','Cipher','getOwnPropertySymbols','exports','deepClone','CHANGESET_ACK','_scene','useCallback','black','authzUrl','_collabSessionService','NOT_FOUND','BufferedBlockAlgorithm','saveImage','forwardRef','_state$','hostname','mergeOverrideWithDependencies','values','fromEvent','[CollaborationEntity]','file','PENDING','getSheetBySheetId','_sendHeartbeatTimer','_scheduleTimestamp','@univerjs/engine-render','charCodeAt','_handler','listRoles','displayName','/object/','setParam','[PendingState]:\x20received\x20acknowledgement.','height','M0\x200H16V16H0z','fetch_missing','selection','conflict.content','SEND_CHANGESET_TIMEOUT','OTHER_CLIENTS_EDITING','CHANGESET_REVISION_CONFILICT','defineProperty','close','subscribeEvent','transformRemoteChangeset','formatter','copyFileMeta','open$','permission.title','collaboration.single-unit.warning','UNKNOWN_CODE','Base64','_nDataBytes','drawWith','_stopTelemetryCollaborationNewChangeset','ThresholdInterceptorFactory','now','MUTATION','ColorKit','hasher','clamp','image/jpg','WordArray','updatePermissionPoint','getUnit','salt','editing\x20status\x20changed\x20to','\x0aCurrent:\x20','getTime','blue400','InsertRangeMoveDownCommandId','LEAVE','iterations','ITransformService','_context','newCsEvent','FETCH_MISSING','lineTo','SNAPSHOT_HAS_BEEN_REMOVED','FromArray','origin','getSkeleton','@univerjs/sheets-ui','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','allowed','cmd','enableLocalCache','jiqing500','/universer-api/snapshot/','666pfsJwp','sigBytes','SheetsSelectionsService','save\x20fail\x20reason\x20is\x20','[UniverCollaborationClientPlugin]','SEND_CHANGESET_TIMEOUT_KEY','_queuedRemoteChangesets','SetTextSelectionsOperation','Base','onPointerEnter$','[CollaborationSessionService]:\x20socket\x20error','HEARTBEAT_INTERVAL','debounce'];_0x577d=function(){return _0x742930;};return _0x577d();}function _0x1d09(_0x5a06c5,_0x9ec6c2){const _0x577d98=_0x577d();return _0x1d09=function(_0x1d09d5,_0x46aaaa){_0x1d09d5=_0x1d09d5-0x18f;let _0x12200b=_0x577d98[_0x1d09d5];return _0x12200b;},_0x1d09(_0x5a06c5,_0x9ec6c2);}var gi=Object[_0x132fae(0x564)],Ii=Object[_0x132fae(0x405)],Ci=(_0x29f209,_0x10ad51,_0x3ffc26,_0x53861b)=>{const _0x298bc8=_0x132fae;for(var _0x3e98d0=_0x53861b>0x1?void 0x0:_0x53861b?Ii(_0x10ad51,_0x3ffc26):_0x10ad51,_0x4bdefe=_0x29f209[_0x298bc8(0x4f2)]-0x1,_0x5b6801;_0x4bdefe>=0x0;_0x4bdefe--)(_0x5b6801=_0x29f209[_0x4bdefe])&&(_0x3e98d0=(_0x53861b?_0x5b6801(_0x10ad51,_0x3ffc26,_0x3e98d0):_0x5b6801(_0x3e98d0))||_0x3e98d0);return _0x53861b&&_0x3e98d0&&gi(_0x10ad51,_0x3ffc26,_0x3e98d0),_0x3e98d0;},Ze=(_0x5d1dba,_0x595dfd)=>(_0x382aea,_0x5dca9e)=>_0x595dfd(_0x382aea,_0x5dca9e,_0x5d1dba);function Ei(_0x542499){const _0x1b7039=_0x132fae,{unitID:_0x22e0c5,mutations:_0x3af8c2}=_0x542499;return{'unitId':_0x22e0c5,'subUnitId':_0x3af8c2[0x0][_0x1b7039(0x47f)][_0x1b7039(0x357)]};}let ke=class{constructor(_0x437b52,_0x4b4181,_0x148cee){const _0x1089a9=_0x132fae;this['_injector']=_0x437b52,this[_0x1089a9(0x4cd)]=_0x4b4181,this['_instanceService']=_0x148cee;}[_0x132fae(0x363)](_0x57678c){const _0x59d2ac=_0x132fae;var _0x216d34,_0x27b8e4,_0x3beb70,_0x1492e7;const _0x536198=this['_injector'][_0x59d2ac(0x479)](k[_0x59d2ac(0x596)]),{unitId:_0x159393,subUnitId:_0x4f6b43}=Ei(_0x57678c),_0x27ead9=_0x536198[_0x59d2ac(0x3e5)](_0x159393)['getCurrentSelections'](),_0x1fd066=(_0x27b8e4=(_0x216d34=this['_instanceService'][_0x59d2ac(0x57b)](_0x159393))==null?void 0x0:_0x216d34[_0x59d2ac(0x37e)]())==null?void 0x0:_0x27b8e4[_0x59d2ac(0x45d)]();if(_0x27ead9[_0x59d2ac(0x4f2)]===0x0||!_0x159393||!_0x4f6b43)return;const _0x1dbfcf=[{'id':k[_0x59d2ac(0x38d)]['id'],'params':{'unitId':_0x159393,'subUnitId':_0x1fd066,'selections':a[_0x59d2ac(0x2db)][_0x59d2ac(0x53e)](_0x27ead9)}}],_0xf17a4d=this[_0x59d2ac(0x4cd)]['transformMutationsWithChangeset'](_0x57678c,_0x1dbfcf);if(!m[_0x59d2ac(0x275)](_0xf17a4d))throw _0xf17a4d[_0x59d2ac(0x2bd)];const _0x4bff2f=(_0x1492e7=(_0x3beb70=_0xf17a4d['m2Prime'][0x0])==null?void 0x0:_0x3beb70[_0x59d2ac(0x47f)])==null?void 0x0:_0x1492e7['selections'];if(Array['isArray'](_0x4bff2f)&&_0x4bff2f[_0x59d2ac(0x4f2)]){if(_0x4bff2f[_0x59d2ac(0x4f2)]===_0x1dbfcf[0x0]['params'][_0x59d2ac(0x4a0)]['length']&&_0x4bff2f[_0x59d2ac(0x3b3)]((_0x40a329,_0x5ea774)=>a[_0x59d2ac(0x29c)]['equals'](_0x40a329[_0x59d2ac(0x4c8)],_0x1dbfcf[0x0][_0x59d2ac(0x47f)][_0x59d2ac(0x4a0)][_0x5ea774][_0x59d2ac(0x4c8)])))return;this[_0x59d2ac(0x459)][_0x59d2ac(0x479)](a[_0x59d2ac(0x4a2)])['executeCommand'](k[_0x59d2ac(0x38d)]['id'],{'unitId':_0x159393,'subUnitId':_0x1fd066,'selections':_0x4bff2f});}}};ke=Ci([Ze(0x0,a[_0x132fae(0x2d7)](a[_0x132fae(0x1e0)])),Ze(0x1,m[_0x132fae(0x584)]),Ze(0x2,a[_0x132fae(0x4ab)])],ke);const qe=a[_0x132fae(0x345)](_0x132fae(0x61c));var ln=(_0x588603=>(_0x588603[_0x588603[_0x132fae(0x2d5)]=0x0]=_0x132fae(0x2d5),_0x588603[_0x588603[_0x132fae(0x562)]=0x1]=_0x132fae(0x562),_0x588603))(ln||{});const Mt=0x7530,At=_0x132fae(0x294);class bi extends a['Disposable']{constructor(){const _0x59c374=_0x132fae;super(),I(this,'_id',a['Tools'][_0x59c374(0x313)]()),I(this,_0x59c374(0x2ca),new Set()),I(this,_0x59c374(0x440),new Map()),I(this,'_heartbeatTimer',null),I(this,_0x59c374(0x637),new Map()),I(this,_0x59c374(0x2c4),new Map()),this[_0x59c374(0x60f)]();}[_0x132fae(0x1c3)](){const _0x354df4=_0x132fae;super[_0x354df4(0x1c3)](),this[_0x354df4(0x637)][_0x354df4(0x320)]((_0x278aee,_0x339dca)=>this[_0x354df4(0x311)](_0x339dca)),this[_0x354df4(0x4f6)]&&window[_0x354df4(0x4c2)](this[_0x354df4(0x4f6)]);}[_0x132fae(0x47d)](_0x205f59){const _0x231b87=_0x132fae;return this[_0x231b87(0x1f0)](_0x205f59)['pipe'](A[_0x231b87(0x25c)]());}['editingUnit'](_0x4e7b90){const _0x265c89=_0x132fae;this[_0x265c89(0x2ca)][_0x265c89(0x3a5)]===0x0&&this[_0x265c89(0x655)](),this['_selfUnitIDs'][_0x265c89(0x37b)](_0x4e7b90),this[_0x265c89(0x417)]({'type':0x0,'memberID':this[_0x265c89(0x5fe)],'unitIDs':[_0x4e7b90],'isForwarded':!0x1});}[_0x132fae(0x229)](_0xac8d73){const _0x27d0fb=_0x132fae;this[_0x27d0fb(0x2ca)][_0x27d0fb(0x352)](_0xac8d73),this[_0x27d0fb(0x2ca)]['size']===0x0&&this[_0x27d0fb(0x4f6)]&&window['clearInterval'](this[_0x27d0fb(0x4f6)]);}[_0x132fae(0x60f)](){const _0x5e646f=_0x132fae;this[_0x5e646f(0x1b9)](a[_0x5e646f(0x372)](A[_0x5e646f(0x54d)](window,_0x5e646f(0x1f7))['subscribe'](_0x24402a=>{const _0x2f2211=_0x5e646f;if(_0x24402a[_0x2f2211(0x1ac)]!==At||!_0x24402a[_0x2f2211(0x1fb)])return;const _0x4b6cf4=JSON[_0x2f2211(0x5ea)](_0x24402a['newValue']);this['_handleEvent'](_0x4b6cf4);}))),window[_0x5e646f(0x461)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x5e646f(0x5fe)],'unitIDs':Array[_0x5e646f(0x2c6)](this['_selfUnitIDs'])}));}[_0x132fae(0x203)](_0x40f34f){const _0x35555e=_0x132fae;switch(_0x40f34f['type']){case 0x0:this[_0x35555e(0x4f7)](_0x40f34f);break;case 0x1:this[_0x35555e(0x5d6)](_0x40f34f);break;case 0x2:this[_0x35555e(0x336)](_0x40f34f);break;}}['_handleJoinEvent'](_0x1cf425){const _0x29ff9d=_0x132fae,{unitIDs:_0x3c8bda,memberID:_0x31a94e,isForwarded:_0x5dc513}=_0x1cf425;_0x3c8bda[_0x29ff9d(0x320)](_0x12430e=>{const _0xca7240=_0x29ff9d;if(!_0x5dc513&&this['_unitOnClients'][_0xca7240(0x425)](_0x12430e)&&this[_0xca7240(0x1f0)](_0x12430e)[_0xca7240(0x339)](0x1),!this['_unitOnClients'][_0xca7240(0x425)](_0x12430e)||!this[_0xca7240(0x440)][_0xca7240(0x479)](_0x12430e)['has'](_0x31a94e)){const _0x38a6fe=this[_0xca7240(0x440)]['get'](_0x12430e)||new Set();_0x38a6fe['add'](_0x31a94e),this['_unitOnClients'][_0xca7240(0x61e)](_0x12430e,_0x38a6fe),this[_0xca7240(0x25f)](_0x31a94e);}}),_0x5dc513||this[_0x29ff9d(0x417)]({'type':0x0,'memberID':this[_0x29ff9d(0x5fe)],'unitIDs':[...this[_0x29ff9d(0x2ca)]],'isForwarded':!0x0});}[_0x132fae(0x25f)](_0x36d2c1){const _0x2df576=_0x132fae;this['_removeClearOtherTimer'](_0x36d2c1);const _0x366a4f=window[_0x2df576(0x656)](()=>{const _0x13ab2f=_0x2df576;this[_0x13ab2f(0x440)][_0x13ab2f(0x320)](_0x68cdd4=>{const _0x64f959=_0x13ab2f;_0x68cdd4[_0x64f959(0x352)](_0x36d2c1);});},Mt*0x2);this[_0x2df576(0x637)][_0x2df576(0x61e)](_0x36d2c1,_0x366a4f);}[_0x132fae(0x311)](_0x31ab37){const _0xb0763d=_0x132fae;if(this[_0xb0763d(0x637)][_0xb0763d(0x425)](_0x31ab37)){const _0x38c15c=this[_0xb0763d(0x637)][_0xb0763d(0x479)](_0x31ab37);_0x38c15c&&window[_0xb0763d(0x5a5)](_0x38c15c),this[_0xb0763d(0x637)]['set'](_0x31ab37,null);}}[_0x132fae(0x5d6)](_0x2aa2e6){const _0x1fe526=_0x132fae,{memberID:_0x54a320,unitIDs:_0x425901}=_0x2aa2e6;_0x425901[_0x1fe526(0x320)](_0x3f219c=>{const _0x1cb196=_0x1fe526;var _0x1d33ea;const _0x54abff=this['_unitOnClients'][_0x1cb196(0x479)](_0x3f219c);_0x54abff&&(_0x54abff[_0x1cb196(0x352)](_0x54a320),(_0x1d33ea=this[_0x1cb196(0x1f0)](_0x3f219c))==null||_0x1d33ea[_0x1cb196(0x339)](_0x54abff[_0x1cb196(0x3a5)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x54a320);}['_handleHeartbeatEvent'](_0x5015df){this['_scheduleClearOtherTimer'](_0x5015df['memberID']);}['_send'](_0x2bd2bc){const _0x2e4a82=_0x132fae;localStorage[_0x2e4a82(0x3ff)](At,JSON[_0x2e4a82(0x2cc)](_0x2bd2bc));}['_scheduleHeartbeat'](){const _0x2df4df=_0x132fae;this[_0x2df4df(0x4f6)]=window[_0x2df4df(0x1f9)](()=>{const _0x2f9d04=_0x2df4df;this[_0x2f9d04(0x417)]({'type':0x2,'memberID':this[_0x2f9d04(0x5fe)]});},Mt);}[_0x132fae(0x1f0)](_0x18524f){const _0x8a0c11=_0x132fae;return this[_0x8a0c11(0x2c4)][_0x8a0c11(0x425)](_0x18524f)||this[_0x8a0c11(0x2c4)][_0x8a0c11(0x61e)](_0x18524f,new A['BehaviorSubject'](0x0)),this[_0x8a0c11(0x2c4)][_0x8a0c11(0x479)](_0x18524f);}}var Ti=Object[_0x132fae(0x564)],Ri=Object['getOwnPropertyDescriptor'],yi=(_0x379339,_0x5a29e1,_0x4c189b,_0x1a491f)=>{const _0x4c2e79=_0x132fae;for(var _0x16bb11=_0x1a491f>0x1?void 0x0:_0x1a491f?Ri(_0x5a29e1,_0x4c189b):_0x5a29e1,_0x17c547=_0x379339[_0x4c2e79(0x4f2)]-0x1,_0x576149;_0x17c547>=0x0;_0x17c547--)(_0x576149=_0x379339[_0x17c547])&&(_0x16bb11=(_0x1a491f?_0x576149(_0x5a29e1,_0x4c189b,_0x16bb11):_0x576149(_0x16bb11))||_0x16bb11);return _0x1a491f&&_0x16bb11&&Ti(_0x5a29e1,_0x4c189b,_0x16bb11),_0x16bb11;},Qe=(_0x34db8a,_0x4ece49)=>(_0x507ed2,_0x2253df)=>_0x4ece49(_0x507ed2,_0x2253df,_0x34db8a);let We=class{constructor(_0x2ca96d,_0x16cd5c,_0x36164b){const _0x1ebb1b=_0x132fae;this[_0x1ebb1b(0x459)]=_0x2ca96d,this[_0x1ebb1b(0x4cd)]=_0x16cd5c,this['_docStateChangeManagerService']=_0x36164b;}[_0x132fae(0x1f4)](_0x533233){this['_transformHistoryAndStateStack'](_0x533233);}[_0x132fae(0x567)](_0x35b73b){const _0x57dd8b=_0x132fae,{unitID:_0x138b14}=_0x35b73b,{collaboration:_0x3735bc}=this[_0x57dd8b(0x365)][_0x57dd8b(0x5c8)](_0x138b14);if(_0x3735bc[_0x57dd8b(0x4f2)]===0x0)return _0x35b73b;let _0x412e65=a[_0x57dd8b(0x2db)][_0x57dd8b(0x53e)](_0x35b73b['mutations'][0x0]);for(let _0x40e8e1=0x0;_0x40e8e1<_0x3735bc[_0x57dd8b(0x4f2)];_0x40e8e1++){const _0x21ed76={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3735bc[_0x40e8e1][_0x57dd8b(0x1b8)],..._0x3735bc[_0x40e8e1][_0x57dd8b(0x2d1)]}},_0x644ef9=this[_0x57dd8b(0x4cd)]['transformMutation'](_0x412e65,_0x21ed76,!0x1);if(m[_0x57dd8b(0x279)](_0x644ef9))throw _0x644ef9['error'];_0x412e65=_0x644ef9[_0x57dd8b(0x654)];}return{...a[_0x57dd8b(0x2db)][_0x57dd8b(0x53e)](_0x35b73b),'mutations':[_0x412e65]};}[_0x132fae(0x5fb)](_0x4ee53e){const _0x3d0e4e=_0x132fae,{unitID:_0x407cc0}=_0x4ee53e,{history:_0x36bc8f,collaboration:_0x313dd9}=this['_docStateChangeManagerService']['getStateCache'](_0x407cc0);if(_0x36bc8f[_0x3d0e4e(0x4f2)]===0x0&&_0x313dd9[_0x3d0e4e(0x4f2)]===0x0)return;const _0x4c829b=[],_0x526c80=[];let _0xc450b9=a[_0x3d0e4e(0x2db)][_0x3d0e4e(0x53e)](_0x4ee53e[_0x3d0e4e(0x477)][0x0]),_0x381ebb=a[_0x3d0e4e(0x2db)][_0x3d0e4e(0x53e)](_0x4ee53e[_0x3d0e4e(0x477)][0x0]);for(let _0xc96a76=_0x36bc8f['length']-0x1;_0xc96a76>=0x0;_0xc96a76--){const _0x67d804={'id':_0x3d0e4e(0x38e),'params':{'unitId':_0x36bc8f[_0xc96a76]['unitId'],..._0x36bc8f[_0xc96a76]['undoState']}},_0x16514b={'id':_0x3d0e4e(0x38e),'params':{'unitId':_0x36bc8f[_0xc96a76][_0x3d0e4e(0x1b8)],..._0x36bc8f[_0xc96a76][_0x3d0e4e(0x2d1)]}},_0x5d332f=this['_transformService']['transformMutation'](_0xc450b9,_0x67d804,!0x1),_0xebcfdb=this[_0x3d0e4e(0x4cd)]['transformMutation'](_0x381ebb,_0x16514b,!0x1);if(m[_0x3d0e4e(0x279)](_0x5d332f))throw _0x5d332f['error'];if(m[_0x3d0e4e(0x279)](_0xebcfdb))throw _0xebcfdb[_0x3d0e4e(0x2bd)];_0x4c829b['unshift']({..._0x36bc8f[_0xc96a76],'undoState':_0x5d332f[_0x3d0e4e(0x46d)]['params'],'redoState':_0xebcfdb[_0x3d0e4e(0x46d)][_0x3d0e4e(0x47f)]}),_0xc450b9=_0x5d332f[_0x3d0e4e(0x654)],_0x381ebb=_0xebcfdb[_0x3d0e4e(0x654)];}_0xc450b9=a[_0x3d0e4e(0x2db)][_0x3d0e4e(0x53e)](_0x4ee53e[_0x3d0e4e(0x477)][0x0]),_0x381ebb=a[_0x3d0e4e(0x2db)][_0x3d0e4e(0x53e)](_0x4ee53e[_0x3d0e4e(0x477)][0x0]);for(let _0x43f31e=_0x313dd9[_0x3d0e4e(0x4f2)]-0x1;_0x43f31e>=0x0;_0x43f31e--){const _0x475dc9={'id':_0x3d0e4e(0x38e),'params':{'unitId':_0x313dd9[_0x43f31e]['unitId'],..._0x313dd9[_0x43f31e][_0x3d0e4e(0x44c)]}},_0x42accf={'id':_0x3d0e4e(0x38e),'params':{'unitId':_0x313dd9[_0x43f31e][_0x3d0e4e(0x1b8)],..._0x313dd9[_0x43f31e]['redoState']}},_0x100e0a=this['_transformService']['transformMutation'](_0xc450b9,_0x475dc9,!0x1),_0x199faa=this[_0x3d0e4e(0x4cd)][_0x3d0e4e(0x23d)](_0x381ebb,_0x42accf,!0x1);if(m[_0x3d0e4e(0x279)](_0x100e0a))throw _0x100e0a[_0x3d0e4e(0x2bd)];if(m[_0x3d0e4e(0x279)](_0x199faa))throw _0x199faa['error'];_0x526c80[_0x3d0e4e(0x4b6)]({..._0x313dd9[_0x43f31e],'undoState':_0x100e0a['m2Prime'][_0x3d0e4e(0x47f)],'redoState':_0x199faa[_0x3d0e4e(0x46d)][_0x3d0e4e(0x47f)]}),_0xc450b9=_0x100e0a[_0x3d0e4e(0x654)],_0x381ebb=_0x199faa['m1Prime'];}this['_docStateChangeManagerService'][_0x3d0e4e(0x263)](_0x407cc0,{'history':_0x4c829b,'collaboration':_0x526c80});}};We=yi([Qe(0x0,a[_0x132fae(0x2d7)](a['Injector'])),Qe(0x1,m[_0x132fae(0x584)]),Qe(0x2,a[_0x132fae(0x2d7)](J[_0x132fae(0x4b5)]))],We);function hn(_0x366db6){let _0x33a9d2='';for(const _0x431341 of _0x366db6){const {startOffset:_0x449df1,endOffset:_0x5b279f,isActive:_0x358d50,rangeType:_0x500396,segmentId:_0x39958d,segmentPage:_0x2e4286}=_0x431341;_0x33a9d2['length']&&(_0x33a9d2+=','),_0x33a9d2+=_0x449df1+':'+_0x5b279f+':'+(_0x358d50?'1':'0')+':'+_0x500396+':'+_0x39958d+':'+_0x2e4286;}return _0x33a9d2;}function Oi(_0x446632){const _0x374ca7=_0x132fae,_0x1e3c3e=_0x446632[_0x374ca7(0x342)](','),_0x42945c=[];for(const _0x3e6efc of _0x1e3c3e){const [_0x2e8892,_0x22c4de,_0x2ddab0,_0x54b8b9,_0xc86b39,_0x5a96d5]=_0x3e6efc['split'](':');_0x42945c[_0x374ca7(0x2be)]({'startOffset':Number(_0x2e8892),'endOffset':Number(_0x22c4de),'collapsed':_0x2e8892===_0x22c4de,'isActive':_0x2ddab0==='1','rangeType':_0x54b8b9===a[_0x374ca7(0x5ee)]['TEXT']?a[_0x374ca7(0x5ee)][_0x374ca7(0x506)]:a[_0x374ca7(0x5ee)][_0x374ca7(0x632)],'segmentId':typeof _0xc86b39=='string'?String(_0xc86b39):'','segmentPage':Number(_0x5a96d5!=null?_0x5a96d5:-0x1)});}return _0x42945c[_0x374ca7(0x5ca)](_0x502af7=>_0x502af7[_0x374ca7(0x423)])||(_0x42945c[0x0][_0x374ca7(0x423)]=!0x0),_0x42945c;}class bt extends a['RxDisposable']{constructor(){const _0x4dcf2d=_0x132fae;super(...arguments),I(this,_0x4dcf2d(0x291),new A[(_0x4dcf2d(0x1ae))](null)),I(this,_0x4dcf2d(0x3d9),this['_collabCursorState$'][_0x4dcf2d(0x24d)]());}[_0x132fae(0x1e9)](_0x38c6ff){const _0x122182=_0x132fae,{unitID:_0x266fcf,memberID:_0x3db339,textRanges:_0x52af74}=_0x38c6ff,_0x221917=hn(_0x52af74);if(_0x221917==='')return;const _0x193dae={'unitID':_0x266fcf,'memberID':_0x3db339,'selection':_0x221917};this['_collabCursorState$'][_0x122182(0x339)](_0x193dae);}}var Di=Object[_0x132fae(0x564)],wi=Object[_0x132fae(0x405)],Pi=(_0x4c5b1e,_0x3549d8,_0x541329,_0x1ad83c)=>{const _0x16da56=_0x132fae;for(var _0x1ab672=_0x1ad83c>0x1?void 0x0:_0x1ad83c?wi(_0x3549d8,_0x541329):_0x3549d8,_0x15c8a5=_0x4c5b1e[_0x16da56(0x4f2)]-0x1,_0x270efb;_0x15c8a5>=0x0;_0x15c8a5--)(_0x270efb=_0x4c5b1e[_0x15c8a5])&&(_0x1ab672=(_0x1ad83c?_0x270efb(_0x3549d8,_0x541329,_0x1ab672):_0x270efb(_0x1ab672))||_0x1ab672);return _0x1ad83c&&_0x1ab672&&Di(_0x3549d8,_0x541329,_0x1ab672),_0x1ab672;},Nt=(_0xdc7fb0,_0x864ee0)=>(_0x4760c8,_0x4c34e1)=>_0x864ee0(_0x4760c8,_0x4c34e1,_0xdc7fb0);let Fe=class{constructor(_0x4a8579,_0x3c726c){this['_injector']=_0x4a8579,this['_transformService']=_0x3c726c;}['transformSelections'](_0x4ae999){const _0x2417c1=_0x132fae;var _0x5aaa0a;const _0x531ba1=this[_0x2417c1(0x459)][_0x2417c1(0x479)](ye[_0x2417c1(0x4bd)]),_0x5778b4=(_0x5aaa0a=_0x531ba1[_0x2417c1(0x5b0)]())!=null?_0x5aaa0a:[];if(_0x5778b4[_0x2417c1(0x4f2)]===0x0)return;const _0x57ddf4=_0x4ae999[_0x2417c1(0x392)],_0x119252=[{'id':_0x2417c1(0x38e),'params':{'unitId':_0x57ddf4,'actions':null,'textRanges':_0x5778b4}}],_0x19352b=this['_transformService']['transformMutationsWithChangeset'](_0x4ae999,_0x119252);if(!m[_0x2417c1(0x275)](_0x19352b))throw _0x19352b[_0x2417c1(0x2bd)];const _0x138d35=_0x19352b[_0x2417c1(0x46d)][0x0][_0x2417c1(0x47f)][_0x2417c1(0x271)];Array[_0x2417c1(0x47e)](_0x138d35)&&_0x138d35['length']&&_0x531ba1['replaceDocRanges'](_0x138d35,{'unitId':_0x57ddf4,'subUnitId':_0x57ddf4},!0x1);}};Fe=Pi([Nt(0x0,a[_0x132fae(0x2d7)](a[_0x132fae(0x1e0)])),Nt(0x1,m[_0x132fae(0x584)])],Fe);const Ui=new Set([k[_0x132fae(0x3e6)]['id']]);function Lt(_0x4c95a6,_0x1574b9,_0x2bf409,_0x470595,_0x4878c7){const _0x9d94e8=_0x132fae;var _0xa162d7,_0x1a896f,_0x3e0246,_0x56e0c1;const _0x4a4bf5=[];for(const _0xcbc5cc of _0x4c95a6)if(Ui[_0x9d94e8(0x425)](_0xcbc5cc['id'])){if(_0x4a4bf5['length']>0x0)break;_0x4a4bf5['push'](_0xcbc5cc);break;}else _0x4a4bf5['push'](_0xcbc5cc);const _0x57787a=(_0x1a896f=(_0xa162d7=_0x4878c7[_0x9d94e8(0x2dc)]())==null?void 0x0:_0xa162d7[_0x9d94e8(0x601)])!=null?_0x1a896f:_0x9d94e8(0x463),_0x171a95=(_0x56e0c1=(_0x3e0246=_0x4878c7[_0x9d94e8(0x2dc)]())==null?void 0x0:_0x3e0246[_0x9d94e8(0x466)])!=null?_0x56e0c1:_0x9d94e8(0x463);return{'changeset':{'unitID':_0x1574b9,'type':m[_0x9d94e8(0x296)](_0x2bf409[_0x9d94e8(0x3f3)](_0x1574b9)),'baseRev':_0x470595[_0x9d94e8(0x49c)](_0x1574b9),'revision':0x0,'userID':_0x57787a,'memberID':_0x171a95,'mutations':_0x4a4bf5},'pendingMutations':_0x4c95a6['slice'](_0x4a4bf5['length'])};}function Mi(_0x49c79e,_0x27a6ed,_0x3449d4,_0x534ff4,_0x3216eb){const _0xe89fdc=_0x132fae;var _0x25c567,_0x3ced1e,_0x154ecf,_0x58d614;const _0x46dd37=[_0x49c79e[_0xe89fdc(0x3c9)]((_0x9b1912,_0x2f50b4)=>{const _0x2a98c5=_0xe89fdc;var _0x3fe263;const {id:_0x19a166}=_0x9b1912,{id:_0x4346f8,type:_0x2d7f9a}=_0x2f50b4,_0x570d70=(_0x3fe263=_0x9b1912[_0x2a98c5(0x47f)])!=null?_0x3fe263:{'actions':null},_0x10b260=_0x2f50b4[_0x2a98c5(0x47f)];if(_0x19a166&&_0x19a166!==_0x4346f8)throw new Error(_0x2a98c5(0x378)+_0x19a166+'\x20-\x20'+_0x4346f8+'.');return{..._0x9b1912,'id':_0x4346f8,'type':_0x2d7f9a,'params':{'unitId':_0x10b260[_0x2a98c5(0x1b8)],'textRanges':_0x10b260[_0x2a98c5(0x271)],'actions':a['JSONX'][_0x2a98c5(0x538)](_0x570d70[_0x2a98c5(0x371)],_0x10b260[_0x2a98c5(0x371)])}};},{})],_0x10966f=(_0x3ced1e=(_0x25c567=_0x3216eb[_0xe89fdc(0x2dc)]())==null?void 0x0:_0x25c567[_0xe89fdc(0x601)])!=null?_0x3ced1e:'unknown',_0x10c8f7=(_0x58d614=(_0x154ecf=_0x3216eb[_0xe89fdc(0x2dc)]())==null?void 0x0:_0x154ecf[_0xe89fdc(0x466)])!=null?_0x58d614:_0xe89fdc(0x463);return{'changeset':{'unitID':_0x27a6ed,'type':m[_0xe89fdc(0x296)](_0x3449d4[_0xe89fdc(0x3f3)](_0x27a6ed)),'baseRev':_0x534ff4[_0xe89fdc(0x49c)](_0x27a6ed),'revision':0x0,'userID':_0x10966f,'memberID':_0x10c8f7,'mutations':_0x46dd37},'pendingMutations':[]};}function _n(_0x178148,_0x3cb46d){const _0x157ca8=_0x132fae,_0x303d33=new A[(_0x157ca8(0x3d0))](0x1);return setTimeout(()=>_0x303d33[_0x157ca8(0x339)](_0x3cb46d),_0x178148),_0x303d33[_0x157ca8(0x24d)]()[_0x157ca8(0x226)](A[_0x157ca8(0x4e2)](0x1));}const Ai={'id':k[_0x132fae(0x521)]['id'],'type':a[_0x132fae(0x4ad)][_0x132fae(0x574)],'params':{}};var Ni=Object[_0x132fae(0x564)],Li=Object[_0x132fae(0x405)],Ie=(_0x5706a2,_0x41bd25,_0x3a52b5,_0xdb112b)=>{const _0x120bb3=_0x132fae;for(var _0x3ca45e=_0xdb112b>0x1?void 0x0:_0xdb112b?Li(_0x41bd25,_0x3a52b5):_0x41bd25,_0x518233=_0x5706a2[_0x120bb3(0x4f2)]-0x1,_0xd758f2;_0x518233>=0x0;_0x518233--)(_0xd758f2=_0x5706a2[_0x518233])&&(_0x3ca45e=(_0xdb112b?_0xd758f2(_0x41bd25,_0x3a52b5,_0x3ca45e):_0xd758f2(_0x3ca45e))||_0x3ca45e);return _0xdb112b&&_0x3ca45e&&Ni(_0x41bd25,_0x3a52b5,_0x3ca45e),_0x3ca45e;},N=(_0x7669ba,_0x172200)=>(_0x574a81,_0x2b3e53)=>_0x172200(_0x574a81,_0x2b3e53,_0x7669ba),q=(_0x32567c=>(_0x32567c['NOT_COLLAB']=_0x132fae(0x607),_0x32567c[_0x132fae(0x619)]='synced',_0x32567c[_0x132fae(0x550)]=_0x132fae(0x2af),_0x32567c[_0x132fae(0x2ed)]=_0x132fae(0x5f4),_0x32567c[_0x132fae(0x253)]=_0x132fae(0x2a4),_0x32567c['FETCH_MISS']=_0x132fae(0x55e),_0x32567c[_0x132fae(0x4e5)]=_0x132fae(0x63c),_0x32567c[_0x132fae(0x30d)]='offline',_0x32567c))(q||{});const un=0xea60;class Ce{constructor(_0x5d21c4,_0x483587,_0x1b7a28,_0x33ed90,_0x182f16,_0x427842,_0x471954,_0x684a56,_0xb9fb1c){const _0x371579=_0x132fae;I(this,'_awaitingChangeset',null),I(this,_0x371579(0x531),[]),(this[_0x371579(0x392)]=_0x5d21c4,this[_0x371579(0x33b)]=_0x483587,this['_handler']=_0x182f16,this['_commandService']=_0x427842,this[_0x371579(0x4af)]=_0x471954,this['_revisionService']=_0x684a56,this[_0x371579(0x510)]=_0xb9fb1c,this[_0x371579(0x5c4)]=_0x1b7a28,this[_0x371579(0x531)]=_0x33ed90);}[_0x132fae(0x604)](_0x4cf136){const _0x41552a=_0x132fae,_0x3a2be4=this['_revisionService']['getCurrentRevOfUnit'](this[_0x41552a(0x392)]);return _0x4cf136['revision']>_0x3a2be4+0x1?(this[_0x41552a(0x556)][_0x41552a(0x1f8)]({'from':_0x3a2be4,'to':_0x4cf136['revision']-0x1}),!0x0):!0x1;}[_0x132fae(0x23f)](_0x573108){const _0x4bea0c=_0x132fae;this[_0x4bea0c(0x4af)][_0x4bea0c(0x419)](this[_0x4bea0c(0x392)],_0x573108);}[_0x132fae(0x3a1)](_0x36274f){const _0x3a719e=_0x132fae;var _0x20db54,_0x6e8231;(_0x6e8231=(_0x20db54=this[_0x3a719e(0x556)])['onTransformSelections'])==null||_0x6e8231[_0x3a719e(0x609)](_0x20db54,_0x36274f);}[_0x132fae(0x1e3)](_0x1cec60){const _0x5c30b4=_0x132fae;var _0x5c6d66,_0x49d3d3;return(_0x49d3d3=(_0x5c6d66=this['_handler'])['onTransformIME'])==null?void 0x0:_0x49d3d3[_0x5c30b4(0x609)](_0x5c6d66,_0x1cec60);}[_0x132fae(0x4be)](_0x53b61a){const _0x4c1a5a=_0x132fae;var _0x3b16e3,_0x5f42fe;return(_0x5f42fe=(_0x3b16e3=this[_0x4c1a5a(0x556)])[_0x4c1a5a(0x25b)])==null?void 0x0:_0x5f42fe[_0x4c1a5a(0x609)](_0x3b16e3,_0x53b61a);}[_0x132fae(0x243)](_0x373de5){const _0x29d640=_0x132fae;var _0x6b42fb,_0x57843f,_0x5d8263;return(_0x5d8263=(_0x57843f=(_0x6b42fb=this[_0x29d640(0x556)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x57843f[_0x29d640(0x609)](_0x6b42fb,_0x373de5))!=null?_0x5d8263:_0x373de5;}[_0x132fae(0x34d)](_0x6a4361){const _0x161b4d=_0x132fae;var _0x47fe25,_0x142263,_0x2d6f33;return(_0x2d6f33=(_0x142263=(_0x47fe25=this['_handler'])[_0x161b4d(0x535)])==null?void 0x0:_0x142263[_0x161b4d(0x609)](_0x47fe25,_0x6a4361))!=null?_0x2d6f33:_0x6a4361;}[_0x132fae(0x3af)](_0x28d726){const _0x27afc5=_0x132fae;var _0x56de60,_0x274b0c;if(this[_0x27afc5(0x33b)]===ie[_0x27afc5(0x21b)]){const {unitID:_0xdce067,mutations:_0x3ed1f2,memberID:_0x2ddef1}=_0x28d726,_0x3b5b00=_0x3ed1f2[0x0][_0x27afc5(0x47f)][_0x27afc5(0x271)];Array[_0x27afc5(0x47e)](_0x3b5b00)&&_0x3b5b00['length']>0x0&&((_0x274b0c=(_0x56de60=this['_handler'])[_0x27afc5(0x373)])==null||_0x274b0c['call'](_0x56de60,{'unitID':_0xdce067,'memberID':_0x2ddef1,'textRanges':_0x3b5b00}));}}[_0x132fae(0x346)](){const _0x32c2be=_0x132fae;this['_localCacheService']['updateOfflineData'](this[_0x32c2be(0x392)],this[_0x32c2be(0x33b)],this['_awaitingChangeset'],this[_0x32c2be(0x531)]);}[_0x132fae(0x485)](){const _0x2ee5be=_0x132fae;return this[_0x2ee5be(0x616)]['getCurrentRevOfUnit'](this[_0x2ee5be(0x392)]);}['_incrementRevisionNumber'](){const _0x8d0d32=_0x132fae;this[_0x8d0d32(0x616)][_0x8d0d32(0x4e4)](this[_0x8d0d32(0x392)]);}[_0x132fae(0x312)](_0x3e9073){const _0x1c210b=_0x132fae;var _0x21ae91;let _0xb8c0f6=this['_transformRemoteChangesetByIMECache'](_0x3e9073);_0xb8c0f6=this[_0x1c210b(0x34d)](_0xb8c0f6);const _0xb346be=a[_0x1c210b(0x385)](_0xb8c0f6[_0x1c210b(0x477)],this['_commandService'],{'fromCollab':!0x0});if(!_0xb346be[_0x1c210b(0x26b)])throw _0xb346be[_0x1c210b(0x2bd)]instanceof Error?_0xb346be['error']:new Error((_0x21ae91=_0xb346be[_0x1c210b(0x2bd)])!=null?_0x21ae91:_0x1c210b(0x35a));this[_0x1c210b(0x1e3)](_0xb8c0f6),this[_0x1c210b(0x4be)](_0xb8c0f6),this[_0x1c210b(0x23f)](_0x3e9073),this['_transformSelections'](_0xb8c0f6),this[_0x1c210b(0x3af)](_0xb8c0f6),this[_0x1c210b(0x472)]();}}let Oe=class extends Ce{constructor(_0x3dde94,_0x41a477,_0x3a440c,_0x1069df,_0x8ecd3d,_0x35e9af,_0x2e2367,_0x1fb56c,_0x4d496f,_0x2caa1d){const _0x364f21=_0x132fae;super(_0x3dde94,_0x41a477,null,[],_0x3a440c,_0x1fb56c,_0x2e2367,_0x1069df,_0x8ecd3d),I(this,_0x364f21(0x1a7),_0x364f21(0x4c3)),(this['_injector']=_0x35e9af,this[_0x364f21(0x5e5)]=_0x4d496f,this[_0x364f21(0x4cd)]=_0x2caa1d);}[_0x132fae(0x422)](_0x2ccc25){const _0x5333d3=_0x132fae,_0x654277=this[_0x5333d3(0x459)][_0x5333d3(0x1f3)](ae,this[_0x5333d3(0x392)],this[_0x5333d3(0x33b)],[_0x2ccc25],this[_0x5333d3(0x556)]);return _0x654277[_0x5333d3(0x5f9)](),_0x654277[_0x5333d3(0x346)](),_0x654277;}[_0x132fae(0x51b)](_0x411ddf){const _0x501442=_0x132fae;if(this[_0x501442(0x604)](_0x411ddf))return this[_0x501442(0x459)]['createInstance'](re,this[_0x501442(0x392)],this['type'],null,[],null,[_0x411ddf],this['_handler']);try{const _0x588b0c=this['_transformService'][_0x501442(0x48e)](_0x411ddf,[Ai]);if(m['isTransformMutationsWithChangesetSuccess'](_0x588b0c)){const {c1Prime:_0x590d30}=_0x588b0c;return this[_0x501442(0x312)](_0x590d30),this;}throw _0x588b0c['error'];}catch(_0x2a610b){return this['_logService'][_0x501442(0x2bd)](_0x2a610b),this[_0x501442(0x401)](!0x1);}}[_0x132fae(0x401)](_0x1823f8){const _0x468128=_0x132fae;return this[_0x468128(0x459)][_0x468128(0x1f3)](ve,this[_0x468128(0x392)],this['type'],null,[],this['_handler'],_0x1823f8);}['onRemoteAck'](){const _0x52cb5a=_0x132fae;throw new Error(_0x52cb5a(0x2ae));}['onRemoteRej'](){const _0x23b122=_0x132fae;throw new Error(_0x23b122(0x3e0));}[_0x132fae(0x22b)](){return this;}[_0x132fae(0x277)](){const _0x17bb33=_0x132fae;return this[_0x17bb33(0x459)]['createInstance'](Se,this[_0x17bb33(0x392)],this[_0x17bb33(0x33b)],null,[],this[_0x17bb33(0x556)]);}[_0x132fae(0x3c1)](){return this;}[_0x132fae(0x321)](){const _0x2b6b40=_0x132fae;throw new Error(_0x2b6b40(0x602));}[_0x132fae(0x44d)](){const _0x1cb8f4=_0x132fae,_0x47670b=this[_0x1cb8f4(0x616)][_0x1cb8f4(0x49c)](this['unitID']);return this['_handler'][_0x1cb8f4(0x1f8)]({'from':_0x47670b,'to':0x0}),this[_0x1cb8f4(0x459)][_0x1cb8f4(0x1f3)](re,this['unitID'],this[_0x1cb8f4(0x33b)],null,[],null,[],this[_0x1cb8f4(0x556)]);}};Oe=Ie([N(0x3,a['Inject'](m[_0x132fae(0x26a)])),N(0x4,a[_0x132fae(0x2d7)](exports[_0x132fae(0x388)])),N(0x5,a[_0x132fae(0x2d7)](a[_0x132fae(0x1e0)])),N(0x6,a[_0x132fae(0x1c5)]),N(0x7,a[_0x132fae(0x4a2)]),N(0x8,a[_0x132fae(0x3a6)]),N(0x9,m[_0x132fae(0x584)])],Oe);let ae=class extends Ce{constructor(_0x476475,_0x2b70d5,_0x3d4914,_0x1d3808,_0x1f111a,_0x526460,_0x30ec85,_0x2cbfd7,_0x421197,_0x3b1230,_0x425a07,_0x3ca38f,_0x412ea0,_0x52f95a){const _0x303da8=_0x132fae;super(_0x476475,_0x2b70d5,null,_0x3d4914,_0x1d3808,_0x3b1230,_0x52f95a,_0x526460,_0x30ec85),I(this,'status',_0x303da8(0x2af)),I(this,'_scheduleTimestamp',null),I(this,_0x303da8(0x5d1),null),(this['_injector']=_0x1f111a,this['_memberService']=_0x2cbfd7,this[_0x303da8(0x5e5)]=_0x421197,this['_configService']=_0x425a07,this['_transformService']=_0x3ca38f,this[_0x303da8(0x2f4)]=_0x412ea0);}['appendMutation'](_0x5185cd){const _0x302071=_0x132fae;return this[_0x302071(0x531)][_0x302071(0x2be)](_0x5185cd),this[_0x302071(0x346)](),this;}[_0x132fae(0x51b)](_0x20243d){const _0x1e058c=_0x132fae;if(this[_0x1e058c(0x604)](_0x20243d))return this['_clearScheduledTask'](),this['_injector'][_0x1e058c(0x1f3)](re,this[_0x1e058c(0x392)],this['type'],null,this[_0x1e058c(0x531)],null,[_0x20243d],this[_0x1e058c(0x556)]);try{const _0x1891ed=this[_0x1e058c(0x4cd)][_0x1e058c(0x48e)](_0x20243d,this['_pendingMutations']);if(m[_0x1e058c(0x275)](_0x1891ed)){const {c1Prime:_0x4b5879,m2Prime:_0x364370}=_0x1891ed;this[_0x1e058c(0x312)](_0x4b5879);const _0x4b2b4b=this['_injector']['createInstance'](ae,this[_0x1e058c(0x392)],this['type'],_0x364370,this[_0x1e058c(0x556)]);return this['_clearScheduledTask'](),_0x4b2b4b[_0x1e058c(0x5f9)](this[_0x1e058c(0x553)]?Math['max'](0x0,new Date()[_0x1e058c(0x57f)]()-this[_0x1e058c(0x553)]):this['_getSendChangesetTimeout']()),_0x4b2b4b;}throw _0x1891ed['error'];}catch(_0x3445cf){return this[_0x1e058c(0x5e5)][_0x1e058c(0x2bd)](_0x3445cf),this['_onConflict'](!0x1);}}['onRemoteAck'](){const _0x45f4ef=_0x132fae;throw new Error(_0x45f4ef(0x55b));}[_0x132fae(0x200)](){const _0x522555=_0x132fae;throw new Error(_0x522555(0x446));}[_0x132fae(0x22b)](){return this;}['toggleOffline'](){const _0x77f342=_0x132fae;return this[_0x77f342(0x221)](),this[_0x77f342(0x459)][_0x77f342(0x1f3)](Se,this['unitID'],this[_0x77f342(0x33b)],null,this[_0x77f342(0x531)],this[_0x77f342(0x556)]);}[_0x132fae(0x3c1)](){return this;}['_schedule'](_0x40fd33){const _0x452977=_0x132fae,_0x510c03=_0x40fd33!=null?_0x40fd33:this['_getSendChangesetTimeout']();this[_0x452977(0x553)]=new Date()['getTime'](),this[_0x452977(0x5d1)]=window[_0x452977(0x656)](()=>{const _0x1a3080=_0x452977;this[_0x1a3080(0x221)]();let _0x1bc9a9=null;switch(this[_0x1a3080(0x33b)]){case ie['UNIVER_SHEET']:{_0x1bc9a9=Lt(this[_0x1a3080(0x531)],this[_0x1a3080(0x392)],this[_0x1a3080(0x2f4)],this['_revisionService'],this[_0x1a3080(0x5ef)]);break;}case ie[_0x1a3080(0x21b)]:{this[_0x1a3080(0x531)][_0x1a3080(0x3b3)](_0x433712=>_0x433712['id']===ye[_0x1a3080(0x64b)]['id'])?_0x1bc9a9=Mi(this['_pendingMutations'],this[_0x1a3080(0x392)],this[_0x1a3080(0x2f4)],this[_0x1a3080(0x616)],this[_0x1a3080(0x5ef)]):_0x1bc9a9=Lt(this[_0x1a3080(0x531)],this[_0x1a3080(0x392)],this[_0x1a3080(0x2f4)],this[_0x1a3080(0x616)],this[_0x1a3080(0x5ef)]);break;}default:throw new Error(_0x1a3080(0x337)+this['type']+_0x1a3080(0x205));}const {changeset:_0x5e9d1f,pendingMutations:_0x3aa231}=_0x1bc9a9;this[_0x1a3080(0x556)]['onSendChangeset'](_0x5e9d1f);const _0x33f2a2=_0x3aa231[_0x1a3080(0x4f2)]?this['_injector'][_0x1a3080(0x1f3)](ce,this[_0x1a3080(0x392)],this[_0x1a3080(0x33b)],_0x5e9d1f,_0x3aa231,this['_handler'],void 0x0):this[_0x1a3080(0x459)][_0x1a3080(0x1f3)](fe,this['unitID'],this['type'],_0x5e9d1f,this[_0x1a3080(0x556)]);_0x33f2a2['_updateLocalCache'](),this['_handler'][_0x1a3080(0x2ce)](this,_0x33f2a2);},_0x510c03);}['_getSendChangesetTimeout'](){const _0x443518=_0x132fae;var _0x4b2da1;const _0x1af488=this[_0x443518(0x3f5)][_0x443518(0x368)](te);return(_0x4b2da1=_0x1af488==null?void 0x0:_0x1af488[_0x443518(0x50d)])!=null?_0x4b2da1:jn;}['resend'](){const _0x39bc9a=_0x132fae;throw new Error(_0x39bc9a(0x536));}[_0x132fae(0x221)](){const _0x3460e4=_0x132fae;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x3460e4(0x5d1)]=null);}['_onConflict'](_0x1619d8){const _0x51656c=_0x132fae;return this[_0x51656c(0x221)](),this[_0x51656c(0x459)][_0x51656c(0x1f3)](ve,this[_0x51656c(0x392)],this[_0x51656c(0x33b)],null,this[_0x51656c(0x531)],this[_0x51656c(0x556)],_0x1619d8);}};ae=Ie([N(0x4,a[_0x132fae(0x2d7)](a['Injector'])),N(0x5,a[_0x132fae(0x2d7)](m[_0x132fae(0x26a)])),N(0x6,a['Inject'](exports[_0x132fae(0x388)])),N(0x7,a[_0x132fae(0x2d7)](exports[_0x132fae(0x410)])),N(0x8,a[_0x132fae(0x3a6)]),N(0x9,a[_0x132fae(0x4a2)]),N(0xa,a[_0x132fae(0x335)]),N(0xb,m[_0x132fae(0x584)]),N(0xc,a['IUniverInstanceService']),N(0xd,a[_0x132fae(0x1c5)])],ae);let fe=class extends Ce{constructor(_0x219671,_0x3accd4,_0x3fb160,_0x1a96a9,_0x4fbb4a,_0x797b28,_0x24c6f4,_0x341ff2,_0x56235b,_0x1230ad,_0x1c5a51){const _0x27b2a1=_0x132fae;super(_0x219671,_0x3accd4,_0x3fb160,[],_0x1a96a9,_0x341ff2,_0x1c5a51,_0x797b28,_0x24c6f4),I(this,_0x27b2a1(0x1a7),_0x27b2a1(0x5f4)),I(this,_0x27b2a1(0x43e),0x0),I(this,_0x27b2a1(0x1de)),I(this,_0x27b2a1(0x41c)),(this[_0x27b2a1(0x459)]=_0x4fbb4a,this[_0x27b2a1(0x5e5)]=_0x56235b,this[_0x27b2a1(0x4cd)]=_0x1230ad);}[_0x132fae(0x422)](_0x530085){const _0xf11aae=_0x132fae;this[_0xf11aae(0x221)]();const _0x4407d4=this['_injector'][_0xf11aae(0x1f3)](ce,this[_0xf11aae(0x392)],this['type'],this[_0xf11aae(0x5c4)],[_0x530085],this[_0xf11aae(0x556)],this['_resendTimer']);return _0x4407d4[_0xf11aae(0x346)](),_0x4407d4;}[_0x132fae(0x51b)](_0x474db2){const _0x48e7aa=_0x132fae;if(this['_checkMissing'](_0x474db2))return this[_0x48e7aa(0x221)](),this[_0x48e7aa(0x459)][_0x48e7aa(0x1f3)](re,this[_0x48e7aa(0x392)],this['type'],this[_0x48e7aa(0x5c4)],[],null,[_0x474db2],this[_0x48e7aa(0x556)]);try{const _0xced136=this[_0x48e7aa(0x4cd)][_0x48e7aa(0x1a0)]([_0x474db2],[this['_awaitingChangeset']],!0x1);if(m[_0x48e7aa(0x5b6)](_0xced136)){const {c1Prime:_0x1f7410,c2Prime:_0x420e58}=_0xced136;this[_0x48e7aa(0x312)](_0x1f7410[0x0]),_0x420e58[0x0][_0x48e7aa(0x3c5)]=this['_getCurrentRevision'](),this[_0x48e7aa(0x221)]();const _0x1816f6=this[_0x48e7aa(0x459)][_0x48e7aa(0x1f3)](fe,this[_0x48e7aa(0x392)],this['type'],_0x420e58[0x0],this[_0x48e7aa(0x556)]);return _0x1816f6['_updateLocalCache'](),_0x1816f6;}return this[_0x48e7aa(0x401)](!0x1);}catch(_0x228a46){return this['_logService'][_0x48e7aa(0x2bd)](_0x228a46),this[_0x48e7aa(0x401)](!0x1);}}['onRemoteAck'](_0x1f9dc9){const _0x208761=_0x132fae;this[_0x208761(0x221)]();const _0xbe5c74=this[_0x208761(0x616)][_0x208761(0x49c)](this[_0x208761(0x392)]);if(_0x1f9dc9['revision']<_0xbe5c74-0x1)return this;if(this[_0x208761(0x604)](_0x1f9dc9))return this[_0x208761(0x459)][_0x208761(0x1f3)](re,this[_0x208761(0x392)],this[_0x208761(0x33b)],null,[],this[_0x208761(0x5c4)],[],this[_0x208761(0x556)]);this[_0x208761(0x472)]();const _0x124a22=this[_0x208761(0x459)][_0x208761(0x1f3)](Oe,this['unitID'],this[_0x208761(0x33b)],this['_handler']);return _0x124a22['_updateLocalCache'](),_0x124a22;}[_0x132fae(0x200)](_0xf8361a){const _0x1625f2=_0x132fae;return this[_0x1625f2(0x401)](!!(_0xf8361a!=null&&_0xf8361a['isPermissionRej']));}[_0x132fae(0x22b)](_0x201b56){const _0x59a9ee=_0x132fae;return this[_0x59a9ee(0x43e)]>un?this[_0x59a9ee(0x277)]():(this[_0x59a9ee(0x1de)]=_n(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x201b56[_0x59a9ee(0x45c)]}),this[_0x59a9ee(0x41c)]=this['_resendTimer'][_0x59a9ee(0x2e1)](({reqId:_0xc1e749,timeout:_0x3d9c11})=>{const _0x5bd913=_0x59a9ee;this[_0x5bd913(0x600)](_0xc1e749,_0x3d9c11);}),this);}[_0x132fae(0x277)](){const _0x28cc84=_0x132fae;return this['_clearScheduledTask'](),this['_injector']['createInstance'](Se,this['unitID'],this[_0x28cc84(0x33b)],this[_0x28cc84(0x5c4)],[],this['_handler']);}[_0x132fae(0x3c1)](){return this;}[_0x132fae(0x321)](){const _0x3d16d8=_0x132fae;this[_0x3d16d8(0x556)][_0x3d16d8(0x5c6)](this[_0x3d16d8(0x5c4)]);}[_0x132fae(0x401)](_0x419f93){const _0x16ac6d=_0x132fae;return this[_0x16ac6d(0x221)](),this[_0x16ac6d(0x459)][_0x16ac6d(0x1f3)](ve,this[_0x16ac6d(0x392)],this[_0x16ac6d(0x33b)],this[_0x16ac6d(0x5c4)],[],this[_0x16ac6d(0x556)],_0x419f93);}[_0x132fae(0x600)](_0x345f7,_0x4af6b2){const _0x3d0af2=_0x132fae;var _0x8e4dec;_0x345f7===((_0x8e4dec=this[_0x3d0af2(0x5c4)])==null?void 0x0:_0x8e4dec[_0x3d0af2(0x45c)])&&(this[_0x3d0af2(0x321)](),this[_0x3d0af2(0x43e)]=_0x4af6b2===0x0?0x3e8:_0x4af6b2*0x2);}[_0x132fae(0x221)](){const _0x4ec2a2=_0x132fae;var _0x2c81be;(_0x2c81be=this[_0x4ec2a2(0x41c)])==null||_0x2c81be[_0x4ec2a2(0x28f)](),this[_0x4ec2a2(0x43e)]=0x0;}};fe=Ie([N(0x4,a[_0x132fae(0x2d7)](a[_0x132fae(0x1e0)])),N(0x5,a[_0x132fae(0x2d7)](m[_0x132fae(0x26a)])),N(0x6,a[_0x132fae(0x2d7)](exports['LocalCacheService'])),N(0x7,a[_0x132fae(0x4a2)]),N(0x8,a[_0x132fae(0x3a6)]),N(0x9,m[_0x132fae(0x584)]),N(0xa,a[_0x132fae(0x1c5)])],fe);let ce=class extends Ce{constructor(_0x33fe96,_0x3f2fdc,_0x130ea5,_0x4f6615,_0x28e86c,_0x18c0ce,_0x2f724c,_0x3a770f,_0x55d5fb,_0x2e28a4,_0x814b29,_0x4bff4a,_0x3b86d6){const _0x3a5ed2=_0x132fae;super(_0x33fe96,_0x3f2fdc,_0x130ea5,_0x4f6615,_0x28e86c,_0x2e28a4,_0x3b86d6,_0x3a770f,_0x55d5fb),I(this,_0x3a5ed2(0x1a7),_0x3a5ed2(0x2a4)),I(this,_0x3a5ed2(0x43e),0x0),I(this,_0x3a5ed2(0x1de)),I(this,_0x3a5ed2(0x41c)),(this[_0x3a5ed2(0x459)]=_0x2f724c,this['_logService']=_0x814b29,this['_transformService']=_0x4bff4a,_0x18c0ce&&(this[_0x3a5ed2(0x1de)]=_0x18c0ce,this[_0x3a5ed2(0x41c)]=this[_0x3a5ed2(0x1de)][_0x3a5ed2(0x2e1)](({reqId:_0x262e03,timeout:_0x47710f})=>{this['_resendWithTimeout'](_0x262e03,_0x47710f);})));}[_0x132fae(0x422)](_0x43110c){const _0x257f31=_0x132fae;return this[_0x257f31(0x531)][_0x257f31(0x2be)](_0x43110c),this;}['onRemoteChangeset'](_0x4bddda){const _0x16140e=_0x132fae;if(this[_0x16140e(0x604)](_0x4bddda))return this[_0x16140e(0x221)](),this['_injector'][_0x16140e(0x1f3)](re,this[_0x16140e(0x392)],this[_0x16140e(0x33b)],this['_awaitingChangeset'],this[_0x16140e(0x531)],null,[_0x4bddda],this[_0x16140e(0x556)]);try{const _0x30a422=this[_0x16140e(0x4cd)][_0x16140e(0x1a0)]([_0x4bddda],[this[_0x16140e(0x5c4)]],!0x1);if(m['isTransformChangesetsSuccess'](_0x30a422)){const {c1Prime:_0x37a80f,c2Prime:_0x3d6329}=_0x30a422,_0x1bb8a9=this[_0x16140e(0x4cd)]['transformMutationsWithChangeset'](_0x37a80f[0x0],this[_0x16140e(0x531)]);if(m[_0x16140e(0x275)](_0x1bb8a9)){const {c1Prime:_0x438b16,m2Prime:_0x338b0b}=_0x1bb8a9;return this['_executeRemoteChangeset'](_0x438b16),_0x3d6329[0x0][_0x16140e(0x3c5)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x16140e(0x459)][_0x16140e(0x1f3)](ce,this[_0x16140e(0x392)],this[_0x16140e(0x33b)],_0x3d6329[0x0],_0x338b0b,this[_0x16140e(0x556)],void 0x0);}throw _0x1bb8a9[_0x16140e(0x2bd)];}throw _0x30a422[_0x16140e(0x2bd)];}catch(_0x54d498){return this['_logService'][_0x16140e(0x2bd)](_0x54d498),this[_0x16140e(0x401)](!0x1);}}['onRemoteAck'](_0x274898){const _0x2d9dc1=_0x132fae;if(this['_clearScheduledTask'](),this[_0x2d9dc1(0x604)](_0x274898))return this[_0x2d9dc1(0x459)][_0x2d9dc1(0x1f3)](re,this[_0x2d9dc1(0x392)],this[_0x2d9dc1(0x33b)],null,this[_0x2d9dc1(0x531)],this[_0x2d9dc1(0x5c4)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x3a8d96=this[_0x2d9dc1(0x459)]['createInstance'](ae,this['unitID'],this[_0x2d9dc1(0x33b)],this[_0x2d9dc1(0x531)],this[_0x2d9dc1(0x556)]);return _0x3a8d96[_0x2d9dc1(0x5f9)](),_0x3a8d96[_0x2d9dc1(0x346)](),_0x3a8d96;}['onRemoteRej'](_0x2a3d9d){const _0x339ce4=_0x132fae;return this['_onConflict'](!!(_0x2a3d9d!=null&&_0x2a3d9d[_0x339ce4(0x398)]));}['onRemoteRetry'](_0x1e5464){const _0x9cc637=_0x132fae;return this['_resendTimeout']>un?this[_0x9cc637(0x277)]():(this[_0x9cc637(0x1de)]=_n(this[_0x9cc637(0x43e)],{'timeout':this[_0x9cc637(0x43e)],'reqId':_0x1e5464[_0x9cc637(0x45c)]}),this['_sender']=this['_resendTimer'][_0x9cc637(0x2e1)](({reqId:_0x3fb5d9,timeout:_0x3b140a})=>{const _0x2389f1=_0x9cc637;this[_0x2389f1(0x600)](_0x3fb5d9,_0x3b140a);}),this);}[_0x132fae(0x277)](){const _0x19fcf2=_0x132fae;return this[_0x19fcf2(0x221)](),this[_0x19fcf2(0x459)][_0x19fcf2(0x1f3)](Se,this[_0x19fcf2(0x392)],this[_0x19fcf2(0x33b)],this[_0x19fcf2(0x5c4)],this[_0x19fcf2(0x531)],this['_handler']);}[_0x132fae(0x3c1)](){return this;}[_0x132fae(0x321)](){const _0x14f43e=_0x132fae;this[_0x14f43e(0x556)][_0x14f43e(0x5c6)](this[_0x14f43e(0x5c4)]);}[_0x132fae(0x401)](_0x300584){const _0x226189=_0x132fae;return this[_0x226189(0x221)](),this['_injector'][_0x226189(0x1f3)](ve,this[_0x226189(0x392)],this['type'],null,this[_0x226189(0x531)],this[_0x226189(0x556)],_0x300584);}['_resendWithTimeout'](_0x857915,_0x1733b7){const _0x576d93=_0x132fae;var _0x167530;_0x857915===((_0x167530=this[_0x576d93(0x5c4)])==null?void 0x0:_0x167530['reqId'])&&(this['resend'](),this[_0x576d93(0x43e)]=_0x1733b7===0x0?0x3e8:_0x1733b7*0x2);}['_clearScheduledTask'](){const _0x1fbfb8=_0x132fae;var _0x50744a;(_0x50744a=this[_0x1fbfb8(0x41c)])==null||_0x50744a[_0x1fbfb8(0x28f)](),this[_0x1fbfb8(0x43e)]=0x0;}};ce=Ie([N(0x6,a[_0x132fae(0x2d7)](a['Injector'])),N(0x7,a[_0x132fae(0x2d7)](m[_0x132fae(0x26a)])),N(0x8,a[_0x132fae(0x2d7)](exports[_0x132fae(0x388)])),N(0x9,a['ICommandService']),N(0xa,a[_0x132fae(0x3a6)]),N(0xb,m[_0x132fae(0x584)]),N(0xc,a[_0x132fae(0x1c5)])],ce);let ve=class extends Ce{constructor(_0x36b27e,_0x4eeae3,_0x116b8,_0x25c4d7,_0x3406c6,_0x251ca6=!0x1,_0x57ae09,_0x2bf559,_0x451976,_0x22a6dd,_0x3d4685,_0x506257,_0x27bff9){const _0x4cfaaf=_0x132fae;super(_0x36b27e,_0x4eeae3,_0x116b8,_0x25c4d7,_0x3406c6,_0x2bf559,_0x451976,_0x3d4685,_0x22a6dd),I(this,'status',_0x4cfaaf(0x63c)),(this[_0x4cfaaf(0x190)]=_0x251ca6,this[_0x4cfaaf(0x329)]=_0x57ae09,this[_0x4cfaaf(0x2e5)]=_0x506257,this[_0x4cfaaf(0x3eb)]=_0x27bff9,this['_showConflictNotification'](),this[_0x4cfaaf(0x39a)](),this[_0x4cfaaf(0x3a4)]());}[_0x132fae(0x422)](){return this;}[_0x132fae(0x51b)](){return this;}[_0x132fae(0x2ad)](){return this;}[_0x132fae(0x200)](){return this;}[_0x132fae(0x22b)](){return this;}[_0x132fae(0x277)](){return this;}[_0x132fae(0x3c1)](){return this;}[_0x132fae(0x321)](){const _0x8e733c=_0x132fae;throw new Error(_0x8e733c(0x195));}['_clearLocalCache'](){const _0x1f60a4=_0x132fae;this[_0x1f60a4(0x510)][_0x1f60a4(0x62f)](this[_0x1f60a4(0x392)],this[_0x1f60a4(0x33b)],null,[]);}[_0x132fae(0x3f9)](){const _0x249690=_0x132fae;this[_0x249690(0x190)]?this['_notificationService']['show']({'title':this['_localeService']['t'](_0x249690(0x56b)),'content':this['_localeService']['t'](_0x249690(0x334)),'type':_0x249690(0x2bd),'duration':0x0}):this[_0x249690(0x3eb)][_0x249690(0x395)]({'title':this[_0x249690(0x2e5)]['t'](_0x249690(0x1cb)),'content':this['_localeService']['t'](_0x249690(0x560)),'type':_0x249690(0x2bd),'duration':0x0});}[_0x132fae(0x3a4)](){const _0x31bd9a=_0x132fae;this[_0x31bd9a(0x329)][_0x31bd9a(0x57a)](new k[(_0x31bd9a(0x62a))](this[_0x31bd9a(0x392)])['id'],!0x1);}};ve=Ie([N(0x6,a['Inject'](a[_0x132fae(0x3ac)])),N(0x7,a[_0x132fae(0x4a2)]),N(0x8,a[_0x132fae(0x1c5)]),N(0x9,a[_0x132fae(0x2d7)](exports[_0x132fae(0x388)])),N(0xa,a['Inject'](m[_0x132fae(0x26a)])),N(0xb,a['Inject'](a[_0x132fae(0x653)])),N(0xc,ee['INotificationService'])],ve);let Se=class extends Ce{constructor(_0x1a2439,_0x5e8a7e,_0x1d3bfe,_0x1bbf73,_0xd88e40,_0x308801,_0x3a69bb,_0x4dac58,_0x3c4499,_0x17c003){const _0x1bb185=_0x132fae;super(_0x1a2439,_0x5e8a7e,_0x1d3bfe,_0x1bbf73,_0xd88e40,_0x3c4499,_0x17c003,_0x3a69bb,_0x4dac58),I(this,_0x1bb185(0x1a7),_0x1bb185(0x537)),this['_injector']=_0x308801;}['appendMutation'](_0x27bc69){const _0x5d95e2=_0x132fae;return this[_0x5d95e2(0x531)]['push'](_0x27bc69),this[_0x5d95e2(0x346)](),this;}['onRemoteChangeset'](_0x34a497){const _0x5d72fc=_0x132fae;throw new Error(_0x5d72fc(0x5e9));}[_0x132fae(0x2ad)](){const _0x2f1351=_0x132fae;throw new Error(_0x2f1351(0x4b7));}[_0x132fae(0x200)](){const _0x5f1d59=_0x132fae;throw new Error(_0x5f1d59(0x3e3));}[_0x132fae(0x22b)](){return this;}[_0x132fae(0x277)](){return this;}[_0x132fae(0x3c1)](){const _0x40cbd0=_0x132fae,{_injector:_0x19a533,_pendingMutations:_0x396230,_awaitingChangeset:_0x4a6a8e,unitID:_0x3d25b2,_handler:_0x498d58,type:_0x5b6ca9}=this,_0x30aae5=dn(_0x19a533,_0x3d25b2,_0x5b6ca9,_0x4a6a8e,_0x396230,_0x498d58);return _0x30aae5 instanceof ae?_0x30aae5['_schedule']():(_0x30aae5 instanceof ce||_0x30aae5 instanceof fe)&&_0x30aae5[_0x40cbd0(0x321)](),_0x30aae5;}[_0x132fae(0x321)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};Se=Ie([N(0x5,a[_0x132fae(0x2d7)](a[_0x132fae(0x1e0)])),N(0x6,a[_0x132fae(0x2d7)](m['RevisionService'])),N(0x7,a[_0x132fae(0x2d7)](exports['LocalCacheService'])),N(0x8,a[_0x132fae(0x4a2)]),N(0x9,a[_0x132fae(0x1c5)])],Se);let re=class extends Ce{constructor(_0x3de931,_0x3aef70,_0x195362,_0x1464a4,_0x1c878e,_0x5d59a3,_0x3258de,_0x5d7700,_0x273428,_0x2f9cdb,_0xca5d35,_0x23abcd,_0x3ec943,_0x21c91b){const _0x3b6dc7=_0x132fae;super(_0x3de931,_0x3aef70,_0x195362,_0x1464a4,_0x3258de,_0x23abcd,_0x3ec943,_0x273428,_0x2f9cdb),I(this,_0x3b6dc7(0x1a7),_0x3b6dc7(0x55e)),(this[_0x3b6dc7(0x5e6)]=_0x1c878e,this[_0x3b6dc7(0x59a)]=_0x5d59a3,this[_0x3b6dc7(0x459)]=_0x5d7700,this[_0x3b6dc7(0x5e5)]=_0xca5d35,this[_0x3b6dc7(0x4cd)]=_0x21c91b);}[_0x132fae(0x270)](_0x461545){const _0x11b6f5=_0x132fae;try{const _0x5dc252=[..._0x461545,...this[_0x11b6f5(0x59a)]],_0xe163bb=[this[_0x11b6f5(0x5c4)]||this[_0x11b6f5(0x5e6)]][_0x11b6f5(0x5df)](_0x1b007b=>!!_0x1b007b);let _0x29c8e9,_0x3afefe;if(_0xe163bb[_0x11b6f5(0x4f2)]){const _0x321e84=this[_0x11b6f5(0x4cd)][_0x11b6f5(0x1a0)](_0x5dc252,_0xe163bb,!0x1);if(!m['isTransformChangesetsSuccess'](_0x321e84))throw _0x321e84['error'];_0x29c8e9=_0x321e84[_0x11b6f5(0x528)],_0x3afefe=_0x321e84[_0x11b6f5(0x29e)];}else _0x29c8e9=_0x5dc252,_0x3afefe=[];let _0x3c1aee=this[_0x11b6f5(0x531)];_0x29c8e9[_0x11b6f5(0x320)](_0x53446d=>{const _0xa18d9d=_0x11b6f5;let _0x433360;if(_0x3c1aee[_0xa18d9d(0x4f2)]){const _0x3a59a4=this[_0xa18d9d(0x4cd)][_0xa18d9d(0x48e)](_0x53446d,_0x3c1aee);if(!m[_0xa18d9d(0x275)](_0x3a59a4))throw _0x3a59a4[_0xa18d9d(0x2bd)];_0x433360=_0x3a59a4[_0xa18d9d(0x528)],_0x3c1aee=_0x3a59a4[_0xa18d9d(0x46d)];}else _0x433360=_0x53446d;this['_executeRemoteChangeset'](_0x433360);}),this[_0x11b6f5(0x5e6)]&&this[_0x11b6f5(0x472)](),this[_0x11b6f5(0x5c4)]&&_0x3afefe[_0x11b6f5(0x4f2)]&&(_0x3afefe[0x0][_0x11b6f5(0x3c5)]=this[_0x11b6f5(0x485)]());let _0x2e6fca;if(this[_0x11b6f5(0x5c4)]&&_0x3c1aee['length']!==0x0)_0x2e6fca=this[_0x11b6f5(0x459)][_0x11b6f5(0x1f3)](ce,this['unitID'],this['type'],_0x3afefe[0x0],_0x3c1aee,this['_handler'],void 0x0);else{if(this[_0x11b6f5(0x5c4)]&&_0x3c1aee[_0x11b6f5(0x4f2)]===0x0)_0x3afefe[0x0][_0x11b6f5(0x3c5)]=this[_0x11b6f5(0x485)](),_0x2e6fca=this[_0x11b6f5(0x459)][_0x11b6f5(0x1f3)](fe,this[_0x11b6f5(0x392)],this[_0x11b6f5(0x33b)],_0x3afefe[0x0],this[_0x11b6f5(0x556)]);else{if(_0x3c1aee['length']!==0x0){const _0x33996e=this[_0x11b6f5(0x459)][_0x11b6f5(0x1f3)](ae,this[_0x11b6f5(0x392)],this[_0x11b6f5(0x33b)],_0x3c1aee,this['_handler']);_0x33996e[_0x11b6f5(0x5f9)](),_0x2e6fca=_0x33996e;}else _0x2e6fca=this[_0x11b6f5(0x459)][_0x11b6f5(0x1f3)](Oe,this['unitID'],this[_0x11b6f5(0x33b)],this['_handler']);}}return _0x2e6fca[_0x11b6f5(0x346)](),_0x2e6fca;}catch(_0x3f877a){return this['_logService']['error'](_0x11b6f5(0x24f),'failed\x20to\x20apply\x20missed\x20changesets!',_0x3f877a),this['_injector'][_0x11b6f5(0x1f3)](ve,this[_0x11b6f5(0x392)],this[_0x11b6f5(0x33b)],this[_0x11b6f5(0x5c4)],this['_pendingMutations'],this[_0x11b6f5(0x556)],!0x1);}}[_0x132fae(0x321)](){const _0x17c0c5=_0x132fae;throw new Error(_0x17c0c5(0x5ad));}[_0x132fae(0x422)](_0x218de7){const _0x48322f=_0x132fae;return this[_0x48322f(0x531)]['push'](_0x218de7),this;}[_0x132fae(0x51b)](_0x503797){const _0x12bb89=_0x132fae;return this[_0x12bb89(0x59a)][_0x12bb89(0x2be)](_0x503797),this;}['onRemoteAck'](_0x12ec20){const _0x5571b6=_0x132fae;if(this[_0x5571b6(0x5c4)])return this[_0x5571b6(0x5e6)]=this[_0x5571b6(0x5c4)],this[_0x5571b6(0x5c4)]=null,this;throw new Error(_0x5571b6(0x641));}['onRemoteRej'](_0x5d73cf){const _0x55399c=_0x132fae;return this[_0x55399c(0x401)](!!(_0x5d73cf!=null&&_0x5d73cf['isPermissionRej']));}[_0x132fae(0x22b)](){return this;}['toggleOffline'](){const _0x3af69a=_0x132fae;return this[_0x3af69a(0x459)]['createInstance'](Se,this[_0x3af69a(0x392)],this[_0x3af69a(0x33b)],this[_0x3af69a(0x5c4)],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x132fae(0x401)](_0x3f024e){const _0x175529=_0x132fae;return this[_0x175529(0x459)][_0x175529(0x1f3)](ve,this[_0x175529(0x392)],this[_0x175529(0x33b)],this[_0x175529(0x5c4)],this[_0x175529(0x531)],this[_0x175529(0x556)],_0x3f024e);}};re=Ie([N(0x7,a[_0x132fae(0x2d7)](a[_0x132fae(0x1e0)])),N(0x8,a[_0x132fae(0x2d7)](m[_0x132fae(0x26a)])),N(0x9,a[_0x132fae(0x2d7)](exports[_0x132fae(0x388)])),N(0xa,a['ILogService']),N(0xb,a['ICommandService']),N(0xc,a['IUndoRedoService']),N(0xd,m[_0x132fae(0x584)])],re);function dn(_0x36e1bb,_0x47a94e,_0x4a4bae,_0x2566a0,_0x4528ac,_0x3de4c4){const _0x35dbfc=_0x132fae;return _0x2566a0&&_0x4528ac[_0x35dbfc(0x4f2)]?_0x36e1bb[_0x35dbfc(0x1f3)](ce,_0x47a94e,_0x4a4bae,_0x2566a0,_0x4528ac,_0x3de4c4,void 0x0):_0x2566a0?_0x36e1bb[_0x35dbfc(0x1f3)](fe,_0x47a94e,_0x4a4bae,_0x2566a0,_0x3de4c4):_0x4528ac['length']?_0x36e1bb[_0x35dbfc(0x1f3)](ae,_0x47a94e,_0x4a4bae,_0x4528ac,_0x3de4c4):_0x36e1bb[_0x35dbfc(0x1f3)](Oe,_0x47a94e,_0x4a4bae,_0x3de4c4);}var xi=Object[_0x132fae(0x564)],ji=Object[_0x132fae(0x405)],Tt=(_0x4f7e47,_0x5d0e16,_0x48263d,_0x48cc22)=>{const _0x16f0ca=_0x132fae;for(var _0x302878=_0x48cc22>0x1?void 0x0:_0x48cc22?ji(_0x5d0e16,_0x48263d):_0x5d0e16,_0x1ed70e=_0x4f7e47[_0x16f0ca(0x4f2)]-0x1,_0x7edf88;_0x1ed70e>=0x0;_0x1ed70e--)(_0x7edf88=_0x4f7e47[_0x1ed70e])&&(_0x302878=(_0x48cc22?_0x7edf88(_0x5d0e16,_0x48263d,_0x302878):_0x7edf88(_0x302878))||_0x302878);return _0x48cc22&&_0x302878&&xi(_0x5d0e16,_0x48263d,_0x302878),_0x302878;},H=(_0x2a0d71,_0x1c378e)=>(_0x36e1a9,_0x4fb5b4)=>_0x1c378e(_0x36e1a9,_0x4fb5b4,_0x2a0d71);exports[_0x132fae(0x60a)]=class extends a['RxDisposable']{constructor(_0xf4f60e,_0x3617e2,_0x4e6d79,_0x3b82f0,_0x1c3f08,_0x132f8b,_0x39f00f,_0x14ba5f,_0x5eec41,_0x403acb,_0x231649,_0x11c1f6,_0x11f423){const _0x3c26e6=_0x132fae;super(),I(this,'_state$',new A[(_0x3c26e6(0x1ae))](null)),I(this,'state$',this[_0x3c26e6(0x549)]['asObservable']()),I(this,_0x3c26e6(0x238)),I(this,_0x3c26e6(0x448),!0x1),I(this,_0x3c26e6(0x306),''),I(this,'_changesetReqId',0x0),I(this,_0x3c26e6(0x22f),this['state$'][_0x3c26e6(0x226)](A['map'](_0x1c5a2f=>_0x1c5a2f?_0x1c5a2f[_0x3c26e6(0x1a7)]:q[_0x3c26e6(0x30d)]),A[_0x3c26e6(0x20b)](0x1))),I(this,_0x3c26e6(0x23e),!0x1),I(this,_0x3c26e6(0x19d),[]),(this[_0x3c26e6(0x392)]=_0xf4f60e,this[_0x3c26e6(0x5e3)]=_0x3617e2,this[_0x3c26e6(0x2fe)]=_0x4e6d79,this['_injector']=_0x3b82f0,this[_0x3c26e6(0x510)]=_0x1c3f08,this[_0x3c26e6(0x1e7)]=_0x132f8b,this['_localeService']=_0x39f00f,this[_0x3c26e6(0x616)]=_0x14ba5f,this[_0x3c26e6(0x5e5)]=_0x5eec41,this[_0x3c26e6(0x245)]=_0x403acb,this[_0x3c26e6(0x436)]=_0x231649,this[_0x3c26e6(0x329)]=_0x11c1f6,this[_0x3c26e6(0x46c)]=_0x11f423);}get[_0x132fae(0x3fe)](){const _0x5ab003=_0x132fae;return this[_0x5ab003(0x238)];}async[_0x132fae(0x4ac)](){const _0x581033=_0x132fae;if(this[_0x581033(0x3fe)])throw new Error(_0x581033(0x650));await this[_0x581033(0x60f)]();}['pauseCollaboration'](){const _0x59ed13=_0x132fae;return this[_0x59ed13(0x448)]=!0x0,a[_0x59ed13(0x372)](()=>{const _0x52393a=_0x59ed13;this[_0x52393a(0x448)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['_updateState'](_0x4511b2){const _0xbc0e24=_0x132fae;this['_state']=_0x4511b2,this['_state$'][_0xbc0e24(0x339)](_0x4511b2);}async[_0x132fae(0x60f)](){const _0x4d84fd=_0x132fae;var _0x2e3224;this['_updateState'](await this[_0x4d84fd(0x396)]()),this[_0x4d84fd(0x46c)]&&((_0x2e3224=this[_0x4d84fd(0x46c)])==null||_0x2e3224['editingUnit'](this[_0x4d84fd(0x392)]),this[_0x4d84fd(0x1b9)](this[_0x4d84fd(0x46c)][_0x4d84fd(0x47d)](this[_0x4d84fd(0x392)])[_0x4d84fd(0x2e1)](_0x31db5c=>{const _0x4a6a3b=_0x4d84fd;this['_logService'][_0x4a6a3b(0x2a1)](_0x4a6a3b(0x54e),_0x4a6a3b(0x57d),_0x31db5c),_0x31db5c===ln[_0x4a6a3b(0x562)]?(this[_0x4a6a3b(0x436)]['show']({'content':this['_localeService']['t'](_0x4a6a3b(0x56c)),'type':ge[_0x4a6a3b(0x4ea)][_0x4a6a3b(0x445)]}),this[_0x4a6a3b(0x329)][_0x4a6a3b(0x57a)](new k[(_0x4a6a3b(0x62a))](this[_0x4a6a3b(0x392)])['id'],!0x1),this[_0x4a6a3b(0x329)][_0x4a6a3b(0x51e)](!0x1)):(this[_0x4a6a3b(0x329)][_0x4a6a3b(0x57a)](new k[(_0x4a6a3b(0x62a))](this[_0x4a6a3b(0x392)])['id'],!0x0),this[_0x4a6a3b(0x329)][_0x4a6a3b(0x51e)](!0x0));})));let _0x4f1d00=!0x1;return this[_0x4d84fd(0x1b9)](this[_0x4d84fd(0x5e3)][_0x4d84fd(0x2b8)][_0x4d84fd(0x2e1)](_0x23d1e6=>{const _0x3367cb=_0x4d84fd;_0x23d1e6===se[_0x3367cb(0x381)]?this['_toggleOnline'](_0x4f1d00):_0x23d1e6===se['OFFLINE']&&(_0x4f1d00=!0x0,this[_0x3367cb(0x236)]());})),this[_0x4d84fd(0x1b9)](this['session'][_0x4d84fd(0x227)][_0x4d84fd(0x2e1)](_0x183259=>{const _0x5c1aed=_0x4d84fd;try{switch(_0x183259['eventID']){case m['CollaborationEvent'][_0x5c1aed(0x524)]:{this[_0x5c1aed(0x33f)](m['parseProtocolChangeset'](_0x183259['data']));break;}case m[_0x5c1aed(0x1ad)][_0x5c1aed(0x53f)]:{this[_0x5c1aed(0x2d6)](_0x183259['data']);break;}case m[_0x5c1aed(0x1ad)][_0x5c1aed(0x4d4)]:{this[_0x5c1aed(0x251)]();break;}case m[_0x5c1aed(0x1ad)]['CHANGESET_SHOULD_RETRY']:{this[_0x5c1aed(0x5ff)](_0x183259[_0x5c1aed(0x397)]);break;}case m[_0x5c1aed(0x1ad)][_0x5c1aed(0x51f)]:{this[_0x5c1aed(0x290)](_0x183259[_0x5c1aed(0x397)][_0x5c1aed(0x60b)][_0x5c1aed(0x625)](_0x2ffc46=>m['parseProtocolChangeset'](_0x2ffc46)));break;}case m['CollaborationEvent']['PERMISSION_REJ']:this[_0x5c1aed(0x251)]({'isPermissionRej':!0x0});}}catch(_0x22e954){throw console['error'](_0x5c1aed(0x26e),_0x22e954),_0x22e954;}})),this[_0x4d84fd(0x238)];}[_0x132fae(0x3f0)](){this['_transitionLocked']=!0x1;}[_0x132fae(0x646)](){const _0x21cb10=_0x132fae;if(this[_0x21cb10(0x23e)])throw new Error(_0x21cb10(0x406));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x24cd5c){const _0x5c7456=_0x132fae;this['_lockTransition'](),this[_0x5c7456(0x429)](this[_0x5c7456(0x238)][_0x5c7456(0x422)](_0x24cd5c)),this[_0x5c7456(0x3f0)]();}[_0x132fae(0x33f)](_0x1078b7){const _0x432f51=_0x132fae;if(!(_0x1078b7['revision']<=this[_0x432f51(0x616)]['getCurrentRevOfUnit'](this[_0x432f51(0x392)]))){if(this[_0x432f51(0x448)]){this[_0x432f51(0x19d)]['push'](_0x1078b7);return;}this[_0x432f51(0x382)](_0x1078b7);}}['_exhaustRemoteChangesetQueue'](){const _0x4deb2a=_0x132fae;this[_0x4deb2a(0x19d)][_0x4deb2a(0x320)](_0x8163cc=>this['_applyRemoteChangeset'](_0x8163cc)),this[_0x4deb2a(0x19d)]=[];}[_0x132fae(0x382)](_0x207026){const _0x52b81f=_0x132fae,_0x228c3a=this[_0x52b81f(0x1e7)]['interceptor']['fetchThroughInterceptors'](this[_0x52b81f(0x1e7)][_0x52b81f(0x5e2)][_0x52b81f(0x527)]()[_0x52b81f(0x3e8)])(_0x207026[_0x52b81f(0x477)],null)||_0x207026['mutations'],_0x24d5a9={..._0x207026,'mutations':_0x228c3a};this[_0x52b81f(0x646)](),this[_0x52b81f(0x429)](this[_0x52b81f(0x238)][_0x52b81f(0x51b)](_0x24d5a9)),this['_unlockTransition']();}[_0x132fae(0x2d6)](_0x1ff38b){const _0x4f9d95=_0x132fae;this[_0x4f9d95(0x646)](),this[_0x4f9d95(0x429)](this[_0x4f9d95(0x238)][_0x4f9d95(0x2ad)](_0x1ff38b)),this['_unlockTransition']();}[_0x132fae(0x251)](_0x1f82dd){const _0x25374c=_0x132fae;this[_0x25374c(0x646)](),this[_0x25374c(0x429)](this[_0x25374c(0x238)][_0x25374c(0x200)](_0x1f82dd)),this[_0x25374c(0x3f0)]();}[_0x132fae(0x5ff)](_0x3b864d){const _0x2e3b60=_0x132fae;this['_lockTransition'](),this['_updateState'](this[_0x2e3b60(0x238)][_0x2e3b60(0x22b)](_0x3b864d)),this[_0x2e3b60(0x3f0)]();}[_0x132fae(0x290)](_0x35e6cd){const _0xd0ead8=_0x132fae;if(!(this[_0xd0ead8(0x238)]instanceof re))throw new TypeError(_0xd0ead8(0x295));const _0x74547e=_0x35e6cd[_0xd0ead8(0x625)](_0x3fc229=>{const _0x45800f=_0xd0ead8,_0x162bc7=this['_compressMutationService'][_0x45800f(0x5e2)][_0x45800f(0x63f)](this[_0x45800f(0x1e7)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x3fc229[_0x45800f(0x477)],null)||_0x3fc229['mutations'];return{..._0x3fc229,'mutations':_0x162bc7};});this[_0xd0ead8(0x646)](),this['_updateState'](this[_0xd0ead8(0x238)]['onMissedChangesetFetched'](_0x74547e)),this[_0xd0ead8(0x3f0)]();}[_0x132fae(0x236)](){const _0x27d9a5=_0x132fae;this['_lockTransition'](),this['_updateState'](this[_0x27d9a5(0x238)][_0x27d9a5(0x277)]()),this[_0x27d9a5(0x3f0)]();}['_toggleOnline'](_0x3140de=!0x1){const _0x403b6b=_0x132fae;this[_0x403b6b(0x646)](),this[_0x403b6b(0x429)](this[_0x403b6b(0x238)][_0x403b6b(0x3c1)]()),this[_0x403b6b(0x3f0)]();const _0x196283=this[_0x403b6b(0x238)];_0x3140de&&_0x196283 instanceof Oe&&(this['_lockTransition'](),this[_0x403b6b(0x429)](_0x196283[_0x403b6b(0x44d)]()),this[_0x403b6b(0x3f0)]());}async[_0x132fae(0x396)](){return new Promise(_0x40f9ad=>{const _0x213f36=_0x1d09;this[_0x213f36(0x5e3)][_0x213f36(0x2b8)][_0x213f36(0x226)](A[_0x213f36(0x4e2)](0x1))[_0x213f36(0x2e1)](async _0x47450d=>{_0x40f9ad(await this['_createInitialStateImpl'](_0x47450d===se['ONLINE']));});});}[_0x132fae(0x2e4)](){const _0x3af801=_0x132fae,_0x57d80f=this[_0x3af801(0x392)];return{'onStateChange':(_0x5049a8,_0x414d88)=>{const _0x499889=_0x3af801;if(_0x5049a8!==this[_0x499889(0x238)])throw new Error(_0x499889(0x3a9)+_0x5049a8[_0x499889(0x1a7)]+'\x0aAfter:\x20'+_0x414d88['status']+_0x499889(0x57e)+this[_0x499889(0x238)][_0x499889(0x1a7)]);this['_updateState'](_0x414d88);},'onSendChangeset':_0x318c18=>{const _0x9884fd=_0x3af801;_0x318c18[_0x9884fd(0x4cb)]||(_0x318c18[_0x9884fd(0x4cb)]=this[_0x9884fd(0x306)],_0x318c18[_0x9884fd(0x45c)]=++this[_0x9884fd(0x3b6)]);const _0x5383e2={'eventID':m['CollaborationEvent'][_0x9884fd(0x1ec)],'data':{'unitID':_0x318c18[_0x9884fd(0x392)],'unitType':this['_type'],'changeset':_0x318c18,'memberID':this[_0x9884fd(0x5e3)][_0x9884fd(0x438)]()}};this[_0x9884fd(0x5e3)]['send'](_0x5383e2,this[_0x9884fd(0x392)]);},'onMissingChangesets':({from:_0x26edd5,to:_0xe6f80})=>{const _0x476ebd=_0x3af801;this['_logService'][_0x476ebd(0x2a1)](_0x476ebd(0x54e),'fetching\x20missing\x20changesets\x20from\x20'+_0x26edd5+'\x20to\x20'+_0xe6f80);const _0x3859b8={'eventID':m['CollaborationEvent'][_0x476ebd(0x587)],'data':{'unitID':_0x57d80f,'unitType':this[_0x476ebd(0x2fe)],'from':_0x26edd5,'to':_0xe6f80}};this['session']['send'](_0x3859b8,this[_0x476ebd(0x392)]);}};}async[_0x132fae(0x4a6)](_0x4fb5b7){const _0x24b84d=_0x132fae;var _0x311aba,_0x528cb0;const _0x1d2c7d=await this['_localCacheService']['loadOfflineData'](this[_0x24b84d(0x392)]),_0x2c35be=(_0x311aba=_0x1d2c7d==null?void 0x0:_0x1d2c7d[_0x24b84d(0x477)])!=null?_0x311aba:[],_0x573f8c=(_0x528cb0=_0x1d2c7d==null?void 0x0:_0x1d2c7d['awaitingChangeset'])!=null?_0x528cb0:null,_0x3fa565=!!(_0x573f8c!=null&&_0x573f8c['sid'])&&!!(_0x573f8c!=null&&_0x573f8c[_0x24b84d(0x45c)]);this[_0x24b84d(0x306)]=_0x3fa565?_0x573f8c[_0x24b84d(0x4cb)]:ui(),this[_0x24b84d(0x3b6)]=_0x3fa565?_0x573f8c[_0x24b84d(0x45c)]:0x0;const _0x4ea061=this[_0x24b84d(0x392)];try{this[_0x24b84d(0x353)](_0x573f8c,_0x2c35be);}catch(_0xddce59){this['_logService'][_0x24b84d(0x2bd)](_0xddce59);}const _0x4b3ae8=this[_0x24b84d(0x2e4)]();if(_0x4fb5b7){const _0x48a6ee=dn(this['_injector'],_0x4ea061,this[_0x24b84d(0x2fe)],_0x573f8c,_0x2c35be,_0x4b3ae8);return _0x48a6ee instanceof ae?_0x48a6ee[_0x24b84d(0x5f9)]():(_0x48a6ee instanceof ce||_0x48a6ee instanceof fe)&&_0x48a6ee['resend'](),_0x48a6ee;}return this[_0x24b84d(0x459)]['createInstance'](Se,_0x4ea061,this[_0x24b84d(0x2fe)],_0x573f8c,_0x2c35be,_0x4b3ae8);}[_0x132fae(0x353)](_0x513200,_0x1dfc18){const _0x1ae5e4=_0x132fae;var _0x9a5aba,_0x2a09f0;const _0x347f55=this['_compressMutationService'][_0x1ae5e4(0x5e2)][_0x1ae5e4(0x63f)](this[_0x1ae5e4(0x1e7)][_0x1ae5e4(0x5e2)]['getInterceptPoints']()[_0x1ae5e4(0x3e8)]);(_0x9a5aba=_0x347f55((_0x513200==null?void 0x0:_0x513200[_0x1ae5e4(0x477)])||[],null))==null||_0x9a5aba[_0x1ae5e4(0x320)](_0x5ac1a4=>this[_0x1ae5e4(0x245)][_0x1ae5e4(0x628)](_0x5ac1a4['id'],_0x5ac1a4[_0x1ae5e4(0x47f)])),(_0x2a09f0=_0x347f55(_0x1dfc18||[],null))==null||_0x2a09f0['forEach'](_0x1877d4=>this['_commandService'][_0x1ae5e4(0x628)](_0x1877d4['id'],_0x1877d4[_0x1ae5e4(0x47f)]));}},exports['CollaborationEntity']=Tt([H(0x3,a['Inject'](a[_0x132fae(0x1e0)])),H(0x4,a[_0x132fae(0x2d7)](exports['LocalCacheService'])),H(0x5,a[_0x132fae(0x2d7)](m[_0x132fae(0x5d5)])),H(0x6,a[_0x132fae(0x2d7)](a[_0x132fae(0x653)])),H(0x7,a['Inject'](m[_0x132fae(0x26a)])),H(0x8,a[_0x132fae(0x3a6)]),H(0x9,a[_0x132fae(0x4a2)]),H(0xa,ee['IMessageService']),H(0xb,a[_0x132fae(0x3ac)]),H(0xc,a[_0x132fae(0x50b)](qe))],exports[_0x132fae(0x60a)]),exports['DocCollaborationEntity']=class extends exports[_0x132fae(0x60a)]{constructor(_0x52af1f,_0x1303de,_0xf99156,_0x1be473,_0x56e37f,_0x4f7492,_0xb291e9,_0x16d184,_0x5df461,_0x216cb2,_0x18cf4a,_0x228ce5,_0x19bb49,_0x159106,_0xc13475,_0x3f9e15,_0x50772c,_0x5c9e69){const _0x20b0b0=_0x132fae;super(_0x52af1f,_0xf99156,_0x1303de,_0x1be473,_0x56e37f,_0x4f7492,_0xb291e9,_0x16d184,_0x159106,_0xc13475,_0x3f9e15,_0x50772c,_0x5c9e69),this[_0x20b0b0(0x392)]=_0x52af1f,this['type']=_0x1303de,this['_docStateChangeManagerService']=_0x5df461,this[_0x20b0b0(0x486)]=_0x216cb2,this['_docTransformStateCacheService']=_0x18cf4a,this[_0x20b0b0(0x349)]=_0x228ce5,this[_0x20b0b0(0x3b5)]=_0x19bb49;}[_0x132fae(0x2e4)](){const _0x6a8b6f=_0x132fae,_0x52725f=super[_0x6a8b6f(0x2e4)]();return _0x52725f['onTransformIME']=_0x2662bf=>this[_0x6a8b6f(0x486)][_0x6a8b6f(0x5d3)](_0x2662bf),_0x52725f[_0x6a8b6f(0x25b)]=_0x13e165=>this[_0x6a8b6f(0x52f)][_0x6a8b6f(0x1f4)](_0x13e165),_0x52725f[_0x6a8b6f(0x61f)]=_0x3156b2=>this[_0x6a8b6f(0x349)][_0x6a8b6f(0x363)](_0x3156b2),_0x52725f['onSyncEditingCollabCursor']=_0x3a8035=>this[_0x6a8b6f(0x3b5)][_0x6a8b6f(0x1e9)](_0x3a8035),_0x52725f['onTransformRemoteChangesetByIMECache']=_0x30bdde=>this[_0x6a8b6f(0x486)][_0x6a8b6f(0x567)](_0x30bdde),_0x52725f[_0x6a8b6f(0x535)]=_0x1e3bca=>this[_0x6a8b6f(0x52f)][_0x6a8b6f(0x567)](_0x1e3bca),_0x52725f;}async[_0x132fae(0x60f)](){const _0x444c38=_0x132fae,_0x33ae1d=await super[_0x444c38(0x60f)]();return this[_0x444c38(0x365)][_0x444c38(0x193)][_0x444c38(0x226)](A[_0x444c38(0x26d)](this[_0x444c38(0x4a1)]))['subscribe'](_0x1f493b=>{const _0x58ec67=_0x444c38;if(_0x1f493b==null)return;const {unitId:_0x4c841f,redoState:_0x29eaf6,commandId:_0x1aadff}=_0x1f493b;if(_0x4c841f!==this[_0x58ec67(0x392)])return;const _0x53623d={'id':_0x1aadff,'type':a[_0x58ec67(0x4ad)][_0x58ec67(0x574)],'params':{'unitId':_0x4c841f,'actions':_0x29eaf6['actions'],'textRanges':null}};this[_0x58ec67(0x299)](_0x53623d);}),_0x33ae1d;}},exports[_0x132fae(0x3ce)]=Tt([H(0x3,a[_0x132fae(0x2d7)](a[_0x132fae(0x1e0)])),H(0x4,a['Inject'](exports[_0x132fae(0x388)])),H(0x5,a[_0x132fae(0x2d7)](m['CompressMutationService'])),H(0x6,a[_0x132fae(0x2d7)](a[_0x132fae(0x653)])),H(0x7,a['Inject'](m['RevisionService'])),H(0x8,a[_0x132fae(0x2d7)](J['DocStateChangeManagerService'])),H(0x9,a['Inject'](Be)),H(0xa,a[_0x132fae(0x2d7)](We)),H(0xb,a[_0x132fae(0x2d7)](Fe)),H(0xc,a[_0x132fae(0x2d7)](bt)),H(0xd,a['ILogService']),H(0xe,a[_0x132fae(0x4a2)]),H(0xf,ee['IMessageService']),H(0x10,a[_0x132fae(0x3ac)]),H(0x11,a[_0x132fae(0x50b)](qe))],exports['DocCollaborationEntity']),exports[_0x132fae(0x26f)]=class extends exports['CollaborationEntity']{constructor(_0x10de22,_0x5b81e7,_0x350778,_0x1f3912,_0x48f39c,_0x473690,_0x410b8a,_0x2fc910,_0x4914d9,_0x3321f6,_0x34256c,_0x121e0a,_0x20b989,_0x15121f){const _0x494529=_0x132fae;super(_0x10de22,_0x350778,_0x5b81e7,_0x1f3912,_0x48f39c,_0x473690,_0x410b8a,_0x2fc910,_0x3321f6,_0x34256c,_0x121e0a,_0x20b989,_0x15121f),this[_0x494529(0x392)]=_0x10de22,this[_0x494529(0x33b)]=_0x5b81e7,this['_sheetTransformSelectionsService']=_0x4914d9;}['_createHandler'](){const _0x4326ec=_0x132fae,_0x1f20fa=super[_0x4326ec(0x2e4)]();return _0x1f20fa[_0x4326ec(0x61f)]=_0x5511ba=>this[_0x4326ec(0x259)][_0x4326ec(0x363)](_0x5511ba),_0x1f20fa;}async[_0x132fae(0x60f)](){const _0x190ee7=_0x132fae,_0x3a64ec=await super[_0x190ee7(0x60f)]();return this[_0x190ee7(0x1b9)](this[_0x190ee7(0x245)][_0x190ee7(0x1cd)]((_0x2e1ba2,_0x120586)=>{const _0x5ec7d1=_0x190ee7;if(_0x2e1ba2['type']!==a['CommandType']['MUTATION']||_0x120586!=null&&_0x120586[_0x5ec7d1(0x33c)]||_0x120586!=null&&_0x120586[_0x5ec7d1(0x617)])return;const _0x290bd7=_0x2e1ba2['params'];if((_0x290bd7==null?void 0x0:_0x290bd7[_0x5ec7d1(0x1b8)])!==this[_0x5ec7d1(0x392)])return;const _0x539a3f=_0x2e1ba2,_0x1cbf05=this[_0x5ec7d1(0x1e7)][_0x5ec7d1(0x5e2)][_0x5ec7d1(0x63f)](this[_0x5ec7d1(0x1e7)][_0x5ec7d1(0x5e2)][_0x5ec7d1(0x527)]()[_0x5ec7d1(0x1fe)])([_0x539a3f],null)||[_0x539a3f];this[_0x5ec7d1(0x299)](_0x1cbf05[0x0]);})),_0x3a64ec;}},exports[_0x132fae(0x26f)]=Tt([H(0x3,a[_0x132fae(0x2d7)](a[_0x132fae(0x1e0)])),H(0x4,a[_0x132fae(0x2d7)](exports['LocalCacheService'])),H(0x5,a[_0x132fae(0x2d7)](m['CompressMutationService'])),H(0x6,a[_0x132fae(0x2d7)](a[_0x132fae(0x653)])),H(0x7,a[_0x132fae(0x2d7)](m[_0x132fae(0x26a)])),H(0x8,a['Inject'](ke)),H(0x9,a[_0x132fae(0x3a6)]),H(0xa,a[_0x132fae(0x4a2)]),H(0xb,ee[_0x132fae(0x457)]),H(0xc,a[_0x132fae(0x3ac)]),H(0xd,a['Optional'](qe))],exports[_0x132fae(0x26f)]);var $i=Object[_0x132fae(0x564)],Hi=Object[_0x132fae(0x405)],Bi=(_0x3683b9,_0x2e4ad2,_0x19d093,_0xd6d760)=>{const _0x3b667e=_0x132fae;for(var _0x499241=_0xd6d760>0x1?void 0x0:_0xd6d760?Hi(_0x2e4ad2,_0x19d093):_0x2e4ad2,_0x1acf30=_0x3683b9[_0x3b667e(0x4f2)]-0x1,_0x1d0bf0;_0x1acf30>=0x0;_0x1acf30--)(_0x1d0bf0=_0x3683b9[_0x1acf30])&&(_0x499241=(_0xd6d760?_0x1d0bf0(_0x2e4ad2,_0x19d093,_0x499241):_0x1d0bf0(_0x499241))||_0x499241);return _0xd6d760&&_0x499241&&$i(_0x2e4ad2,_0x19d093,_0x499241),_0x499241;},et=(_0x15f4dc,_0x41e282)=>(_0x2cb4eb,_0x42cf8d)=>_0x41e282(_0x2cb4eb,_0x42cf8d,_0x15f4dc);exports[_0x132fae(0x3b4)]=class extends a['RxDisposable']{constructor(_0x25343e,_0x58d94a,_0x325102){const _0x537c0e=_0x132fae;super(),I(this,_0x537c0e(0x62e),new Map()),I(this,_0x537c0e(0x4e7),new A['Subject']()),(this[_0x537c0e(0x459)]=_0x25343e,this['_collabSessionService']=_0x58d94a,this[_0x537c0e(0x2f4)]=_0x325102,this[_0x537c0e(0x60f)]());}[_0x132fae(0x1c3)](){const _0xe7ade1=_0x132fae;super['dispose'](),this['_entities']['forEach'](_0x230fe6=>_0x230fe6[_0xe7ade1(0x1c3)]()),this[_0xe7ade1(0x62e)][_0xe7ade1(0x634)]();}[_0x132fae(0x3a8)](_0x167289){const _0x53f68c=_0x132fae;var _0x39820a;return(_0x39820a=this[_0x53f68c(0x62e)][_0x53f68c(0x479)](_0x167289))!=null?_0x39820a:null;}[_0x132fae(0x63d)](_0x449c84){const _0x259cac=_0x132fae,_0x11ce2c=this[_0x259cac(0x3a8)](_0x449c84);return _0x11ce2c?A['of'](_0x11ce2c):this[_0x259cac(0x4e7)][_0x259cac(0x226)](V[_0x259cac(0x5df)](_0x5f06c1=>_0x5f06c1[_0x259cac(0x392)]===_0x449c84));}[_0x132fae(0x60f)](){const _0x5da865=_0x132fae;this[_0x5da865(0x2f4)][_0x5da865(0x1ea)](a['UniverInstanceType'][_0x5da865(0x5f8)])[_0x5da865(0x226)](A['takeUntil'](this[_0x5da865(0x4a1)]),V[_0x5da865(0x2df)](0x10))['subscribe'](async _0xab4bce=>{const _0x362415=_0x5da865,_0x28e797=_0xab4bce[_0x362415(0x4e6)](),_0x2b1041=await this[_0x362415(0x1a5)](_0x28e797,ie[_0x362415(0x5f8)]);this[_0x362415(0x62e)]['set'](_0x28e797,_0x2b1041);}),this[_0x5da865(0x2f4)]['getTypeOfUnitAdded$'](a[_0x5da865(0x2b2)][_0x5da865(0x21b)])[_0x5da865(0x226)](A['takeUntil'](this[_0x5da865(0x4a1)]),V['delay'](0x10))[_0x5da865(0x226)](V[_0x5da865(0x5df)](_0x15ec10=>!_0x15ec10['getUnitId']()[_0x5da865(0x5af)]('__')))['subscribe'](async _0x5e4db1=>{const _0x4bb5d3=_0x5da865,_0x14513c=_0x5e4db1[_0x4bb5d3(0x4e6)](),_0x1892c5=await this[_0x4bb5d3(0x1a5)](_0x14513c,ie[_0x4bb5d3(0x21b)]);this[_0x4bb5d3(0x62e)][_0x4bb5d3(0x61e)](_0x14513c,_0x1892c5);}),A['merge'](this[_0x5da865(0x2f4)][_0x5da865(0x260)](a[_0x5da865(0x2b2)][_0x5da865(0x5f8)]),this['_univerInstanceService'][_0x5da865(0x260)](a['UniverInstanceType'][_0x5da865(0x21b)]))[_0x5da865(0x226)](A[_0x5da865(0x26d)](this[_0x5da865(0x4a1)]))[_0x5da865(0x2e1)](_0x898f11=>{const _0x34bb16=_0x5da865,_0xf07da6=_0x898f11[_0x34bb16(0x4e6)](),_0xe20330=this['_entities'][_0x34bb16(0x479)](_0xf07da6);_0xe20330&&(_0xe20330[_0x34bb16(0x1c3)](),this[_0x34bb16(0x62e)]['delete'](_0xf07da6));});}async[_0x132fae(0x1a5)](_0x368292,_0x337ba1){const _0x1fb45a=_0x132fae,_0x398ffe=await this[_0x1fb45a(0x544)][_0x1fb45a(0x3db)](_0x368292),_0x5647d9=this[_0x1fb45a(0x459)]['createInstance'](this['_getCtorByUniverType'](_0x337ba1),_0x368292,_0x337ba1,_0x398ffe);return await _0x5647d9[_0x1fb45a(0x4ac)](),this['_entityInit$'][_0x1fb45a(0x339)](_0x5647d9),_0x5647d9;}[_0x132fae(0x1c2)](_0x4cc4ee){const _0x414001=_0x132fae;switch(_0x4cc4ee){case ie[_0x414001(0x21b)]:return exports[_0x414001(0x3ce)];case ie[_0x414001(0x5f8)]:return exports[_0x414001(0x26f)];default:throw new Error(_0x414001(0x5eb)+_0x4cc4ee);}}},exports['CollaborationController']=Bi([et(0x0,a['Inject'](a[_0x132fae(0x1e0)])),et(0x1,a[_0x132fae(0x2d7)](exports[_0x132fae(0x5cd)])),et(0x2,a[_0x132fae(0x4ab)])],exports[_0x132fae(0x3b4)]);const xt=[_0x132fae(0x2de),_0x132fae(0x592),'verdancy600',_0x132fae(0x2c9),_0x132fae(0x580),'gold400'];class Rt extends a[_0x132fae(0x48c)]{constructor(){const _0x230db7=_0x132fae;super(...arguments),I(this,_0x230db7(0x41e),new Map()),I(this,_0x230db7(0x20d),0x0);}['assignAColorForMemberID'](_0x4a579c){const _0x3c77b6=_0x132fae;if(this[_0x3c77b6(0x41e)][_0x3c77b6(0x425)](_0x4a579c))return this['_assignedColors'][_0x3c77b6(0x479)](_0x4a579c);const _0x1a57ac=xt[this[_0x3c77b6(0x20d)]];return this['_colorIndex']=(this[_0x3c77b6(0x20d)]+0x1)%xt['length'],this[_0x3c77b6(0x41e)][_0x3c77b6(0x61e)](_0x4a579c,_0x1a57ac),_0x1a57ac;}}var ki=Object['defineProperty'],Wi=Object['getOwnPropertyDescriptor'],Fi=(_0x562065,_0x4edcae,_0x210bcf,_0x48d94a)=>{for(var _0x1bdaff=_0x48d94a>0x1?void 0x0:_0x48d94a?Wi(_0x4edcae,_0x210bcf):_0x4edcae,_0xee6ed7=_0x562065['length']-0x1,_0x418f91;_0xee6ed7>=0x0;_0xee6ed7--)(_0x418f91=_0x562065[_0xee6ed7])&&(_0x1bdaff=(_0x48d94a?_0x418f91(_0x4edcae,_0x210bcf,_0x1bdaff):_0x418f91(_0x1bdaff))||_0x1bdaff);return _0x48d94a&&_0x1bdaff&&ki(_0x4edcae,_0x210bcf,_0x1bdaff),_0x1bdaff;},me=(_0x1596c4,_0x50c25a)=>(_0x4551dc,_0x43618c)=>_0x50c25a(_0x4551dc,_0x43618c,_0x1596c4);const Vi=0x12c,Gi=0x64;let ft=class extends a[_0x132fae(0x4ef)]{constructor(_0x423b33,_0x3f95bd,_0x54607f,_0x290a41,_0x567854,_0xd90e8e,_0x547854,_0x2405f2,_0x28e7a9){const _0x101daf=_0x132fae;super(),I(this,_0x101daf(0x4dd),!0x1),I(this,'_init',!0x1),I(this,_0x101daf(0x4d3),new A[(_0x101daf(0x1ae))](new Map())),I(this,_0x101daf(0x223),this[_0x101daf(0x4d3)][_0x101daf(0x24d)]()),I(this,_0x101daf(0x255),new A[(_0x101daf(0x1ae))]([])),I(this,_0x101daf(0x2e3),this['_roomMembers$'][_0x101daf(0x226)](A[_0x101daf(0x36c)](Vi))),I(this,_0x101daf(0x1d1),a[_0x101daf(0x5a0)](_0x40814f=>{const _0x32373e=_0x101daf,_0x272eda={'eventID':m[_0x32373e(0x1ad)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x32373e(0x392)],'memberID':this['_session'][_0x32373e(0x438)](),'selection':hn(_0x40814f)}};this[_0x32373e(0x191)][_0x32373e(0x1cc)](_0x272eda,this['unitID']);},Gi)),(this['unitID']=_0x423b33,this[_0x101daf(0x191)]=_0x3f95bd,this[_0x101daf(0x459)]=_0x54607f,this[_0x101daf(0x328)]=_0x290a41,this[_0x101daf(0x5ef)]=_0x567854,this[_0x101daf(0x35f)]=_0xd90e8e,this[_0x101daf(0x4cd)]=_0x547854,this[_0x101daf(0x2f4)]=_0x2405f2,this[_0x101daf(0x245)]=_0x28e7a9);}get['cursorInfo'](){const _0x2162ab=_0x132fae;return this[_0x2162ab(0x4d3)]['getValue']();}get['roomMembers'](){const _0x261b58=_0x132fae;return this[_0x261b58(0x255)][_0x261b58(0x34a)]();}[_0x132fae(0x1c3)](){const _0x4112f1=_0x132fae;super[_0x4112f1(0x1c3)](),this[_0x4112f1(0x4d3)][_0x4112f1(0x339)](new Map()),this[_0x4112f1(0x4d3)][_0x4112f1(0x46a)](),this[_0x4112f1(0x255)][_0x4112f1(0x339)]([]),this[_0x4112f1(0x255)][_0x4112f1(0x46a)]();}[_0x132fae(0x4ac)](){const _0x45037b=_0x132fae;this['_init']||(this['_init']=!0x0,this[_0x45037b(0x191)][_0x45037b(0x2b8)][_0x45037b(0x226)](A[_0x45037b(0x26d)](this[_0x45037b(0x4a1)]))['subscribe'](_0x3a2510=>{const _0x27d6b5=_0x45037b;_0x3a2510===se[_0x27d6b5(0x381)]?this[_0x27d6b5(0x3e9)]():this['_toggleOffline']();}),this[_0x45037b(0x191)]['event$'][_0x45037b(0x226)](A['takeUntil'](this[_0x45037b(0x4a1)]))['subscribe'](_0x525aa8=>{const _0x53e797=_0x45037b,_0xed9e26=_0x525aa8[_0x53e797(0x1d2)];_0xed9e26===m[_0x53e797(0x1ad)][_0x53e797(0x4db)]&&this[_0x53e797(0x1e1)](_0x525aa8),_0xed9e26===m['CollaborationEvent'][_0x53e797(0x39d)]&&this[_0x53e797(0x1ed)](_0x525aa8);}),this[_0x45037b(0x1b9)](this[_0x45037b(0x245)][_0x45037b(0x1cd)](_0x29a2a1=>{const _0x3da653=_0x45037b,_0x257755=_0x29a2a1[_0x3da653(0x47f)];_0x257755!=null&&this['_online']&&_0x29a2a1['id']===ye[_0x3da653(0x59b)]['id']&&_0x257755[_0x3da653(0x1b8)]===this['unitID']&&_0x257755[_0x3da653(0x30b)]===!0x1&&_0x257755[_0x3da653(0x3c3)][_0x3da653(0x4f2)]>0x0&&this[_0x3da653(0x1d1)](_0x257755[_0x3da653(0x3c3)]);})),this[_0x45037b(0x35f)][_0x45037b(0x3d9)][_0x45037b(0x226)](A[_0x45037b(0x26d)](this[_0x45037b(0x4a1)]))[_0x45037b(0x2e1)](_0x8d4586=>{const _0x1bf63c=_0x45037b;if((_0x8d4586==null?void 0x0:_0x8d4586[_0x1bf63c(0x392)])!==this[_0x1bf63c(0x392)])return;const _0x2ea35c={'eventID':m[_0x1bf63c(0x1ad)][_0x1bf63c(0x4db)],'data':_0x8d4586};this[_0x1bf63c(0x1e1)](_0x2ea35c);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x4dbcbd=>{const _0x4a638b=_0x45037b;if(_0x4dbcbd[_0x4a638b(0x47f)]==null)return;const _0x38ec4b=_0x4dbcbd[_0x4a638b(0x47f)];if(_0x4dbcbd['id']!==ye['RichTextEditingMutation']['id']||_0x38ec4b[_0x4a638b(0x1b8)]!==this[_0x4a638b(0x392)])return;const _0x37f11d={'id':'doc.mutation.rich-text-editing','params':_0x38ec4b},_0x30c4f3=this[_0x4a638b(0x316)];for(const [_0x190c81,_0x404014]of _0x30c4f3){const _0x53b111={'id':_0x4a638b(0x38e),'params':{'unitId':this[_0x4a638b(0x392)],'actions':null,'textRanges':_0x404014[_0x4a638b(0x3c3)]}},_0x2fd777=this[_0x4a638b(0x4cd)]['transformMutation'](_0x37f11d,_0x53b111,!0x1);if(m[_0x4a638b(0x279)](_0x2fd777))throw _0x2fd777[_0x4a638b(0x2bd)];_0x30c4f3[_0x4a638b(0x61e)](_0x190c81,{..._0x404014,'ranges':_0x2fd777[_0x4a638b(0x46d)][_0x4a638b(0x47f)][_0x4a638b(0x271)]});}queueMicrotask(()=>{const _0x3e1728=_0x4a638b;this[_0x3e1728(0x4d3)]['next'](_0x30c4f3);});})));}[_0x132fae(0x1e1)](_0x14460c){const _0xbbf04f=_0x132fae;var _0x6125d0,_0x32b5b7;const {memberID:_0x746192,selection:_0x28d528}=_0x14460c['data'],_0x19df67=Oi(_0x28d528),_0x395b48=(_0x32b5b7=(_0x6125d0=this[_0xbbf04f(0x5ef)]['getMember'](this[_0xbbf04f(0x392)],_0x746192))==null?void 0x0:_0x6125d0[_0xbbf04f(0x341)])!=null?_0x32b5b7:_0xbbf04f(0x380),_0x5dc3e1={'color':this['_colorAssignService'][_0xbbf04f(0x50c)](_0x746192),'name':_0x395b48,'ranges':_0x19df67},_0x302f5d=this[_0xbbf04f(0x316)];_0x302f5d[_0xbbf04f(0x61e)](_0x746192,_0x5dc3e1),this[_0xbbf04f(0x4d3)][_0xbbf04f(0x339)](_0x302f5d);}[_0x132fae(0x1ed)](_0x256315){const _0x55cac1=_0x132fae,{memberID:_0x467575}=_0x256315[_0x55cac1(0x397)],_0x461717=this['cursorInfo'];_0x461717['delete'](_0x467575),this[_0x55cac1(0x4d3)]['next'](_0x461717);}['_toggleOnline'](){const _0x226f7e=_0x132fae;var _0x2377e4;if(this[_0x226f7e(0x4dd)]=!0x0,((_0x2377e4=this[_0x226f7e(0x2f4)][_0x226f7e(0x442)]())==null?void 0x0:_0x2377e4[_0x226f7e(0x4e6)]())!==this[_0x226f7e(0x392)])return;const _0x1c555b=this[_0x226f7e(0x459)][_0x226f7e(0x479)](ye['DocSelectionManagerService'])[_0x226f7e(0x5b0)]();Array[_0x226f7e(0x47e)](_0x1c555b)&&_0x1c555b[_0x226f7e(0x4f2)]>0x0&&this['_updateLocalCursor'](_0x1c555b);}['_toggleOffline'](){const _0x50776b=_0x132fae;this[_0x50776b(0x4dd)]=!0x1;}};ft=Fi([me(0x2,a[_0x132fae(0x2d7)](a[_0x132fae(0x1e0)])),me(0x3,a['Inject'](Rt)),me(0x4,a[_0x132fae(0x2d7)](exports[_0x132fae(0x410)])),me(0x5,a['Inject'](bt)),me(0x6,m[_0x132fae(0x584)]),me(0x7,a['IUniverInstanceService']),me(0x8,a['ICommandService'])],ft);var Yi=Object[_0x132fae(0x564)],Ki=Object[_0x132fae(0x405)],qi=(_0x109f98,_0x414797,_0x1d62f8,_0x443f78)=>{const _0x20370d=_0x132fae;for(var _0x5dea75=_0x443f78>0x1?void 0x0:_0x443f78?Ki(_0x414797,_0x1d62f8):_0x414797,_0x12773a=_0x109f98[_0x20370d(0x4f2)]-0x1,_0x4c3fcd;_0x12773a>=0x0;_0x12773a--)(_0x4c3fcd=_0x109f98[_0x12773a])&&(_0x5dea75=(_0x443f78?_0x4c3fcd(_0x414797,_0x1d62f8,_0x5dea75):_0x4c3fcd(_0x5dea75))||_0x5dea75);return _0x443f78&&_0x5dea75&&Yi(_0x414797,_0x1d62f8,_0x5dea75),_0x5dea75;},be=(_0x4939ec,_0x5f8e4d)=>(_0x9b33c2,_0x15d3e6)=>_0x5f8e4d(_0x9b33c2,_0x15d3e6,_0x4939ec);const zi=0x12c,Xi=0x64,Ji=()=>{let _0x59145b=[],_0x38c10d=!0x1;return _0x283eee=>{const _0x2309bf=_0x1d09;_0x59145b[_0x2309bf(0x2be)](_0x283eee),_0x38c10d||(_0x38c10d=!0x0,setTimeout(()=>{const _0x171ae4=_0x2309bf;_0x59145b[_0x171ae4(0x320)](_0x185ec3=>_0x185ec3()),_0x59145b=[],_0x38c10d=!0x1;}));};};let vt=class extends a['RxDisposable']{constructor(_0x2c862d,_0x392ce2,_0x48e36b,_0x40cc28,_0x1535b1,_0xfbb21c,_0x24a919,_0x75af8c){const _0x306491=_0x132fae;super(),I(this,_0x306491(0x4dd),!0x1),I(this,'_init',!0x1),I(this,_0x306491(0x4d3),new A[(_0x306491(0x1ae))](new Map())),I(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),I(this,_0x306491(0x255),new A[(_0x306491(0x1ae))]([])),I(this,'roomMembers$',this[_0x306491(0x255)][_0x306491(0x226)](A[_0x306491(0x36c)](zi))),I(this,_0x306491(0x1d1),a[_0x306491(0x5a0)]((_0x2d8401,_0x1637f8)=>{const _0x2d69ee=_0x306491,_0x15929e={'eventID':m[_0x2d69ee(0x1ad)][_0x2d69ee(0x4db)],'data':{'unitID':this[_0x2d69ee(0x392)],'memberID':this[_0x2d69ee(0x191)]['getMemberID'](),'selection':Dt['serializeRangeWithSheet'](_0x2d8401,_0x1637f8[_0x2d69ee(0x4c8)])}};this['_session']['send'](_0x15929e,this['unitID']);},Xi)),(this[_0x306491(0x392)]=_0x2c862d,this[_0x306491(0x191)]=_0x392ce2,this[_0x306491(0x459)]=_0x48e36b,this[_0x306491(0x328)]=_0x40cc28,this[_0x306491(0x5ef)]=_0x1535b1,this[_0x306491(0x2f4)]=_0xfbb21c,this[_0x306491(0x245)]=_0x24a919,this[_0x306491(0x213)]=_0x75af8c);}get[_0x132fae(0x316)](){const _0x159a17=_0x132fae;return this[_0x159a17(0x4d3)][_0x159a17(0x34a)]();}get[_0x132fae(0x638)](){const _0x18f8ba=_0x132fae;return this[_0x18f8ba(0x255)][_0x18f8ba(0x34a)]();}[_0x132fae(0x1c3)](){const _0x502bc8=_0x132fae;super[_0x502bc8(0x1c3)](),this[_0x502bc8(0x4d3)][_0x502bc8(0x339)](new Map()),this[_0x502bc8(0x4d3)][_0x502bc8(0x46a)](),this['_roomMembers$'][_0x502bc8(0x339)]([]),this['_roomMembers$'][_0x502bc8(0x46a)]();}[_0x132fae(0x4ac)](){const _0x1dfb1d=_0x132fae;this['_init']||(this[_0x1dfb1d(0x60f)]=!0x0,this[_0x1dfb1d(0x191)]['sessionStatus$'][_0x1dfb1d(0x226)](A[_0x1dfb1d(0x26d)](this[_0x1dfb1d(0x4a1)]))[_0x1dfb1d(0x2e1)](_0x3d795c=>{const _0x103d03=_0x1dfb1d;_0x3d795c===se['ONLINE']?this[_0x103d03(0x3e9)]():this[_0x103d03(0x236)]();}),this['_session'][_0x1dfb1d(0x227)]['pipe'](A[_0x1dfb1d(0x26d)](this[_0x1dfb1d(0x4a1)]))[_0x1dfb1d(0x2e1)](_0x2faa77=>{const _0x11c8c7=_0x1dfb1d,_0x5f1eba=_0x2faa77[_0x11c8c7(0x1d2)];_0x5f1eba===m[_0x11c8c7(0x1ad)][_0x11c8c7(0x4db)]&&this['_onCursorUpdate'](_0x2faa77),_0x5f1eba===m[_0x11c8c7(0x1ad)][_0x11c8c7(0x39d)]&&this[_0x11c8c7(0x1ed)](_0x2faa77);}),this[_0x1dfb1d(0x1b1)](),this[_0x1dfb1d(0x1b9)](this[_0x1dfb1d(0x245)][_0x1dfb1d(0x1cd)](_0x1a1556=>{const _0x4b85c8=_0x1dfb1d;if(this['_online']&&_0x1a1556['id']===k[_0x4b85c8(0x38d)]['id']&&_0x1a1556[_0x4b85c8(0x47f)][_0x4b85c8(0x1b8)]===this[_0x4b85c8(0x392)]){const _0xd6bcd2=_0x1a1556[_0x4b85c8(0x47f)];this['_updateLocalCursor'](_0xd6bcd2[_0x4b85c8(0x357)],_0xd6bcd2[_0x4b85c8(0x4a0)][0x0]);}})));}['_onCursorUpdate'](_0x4de777){const _0x5a7300=_0x132fae;var _0x2d68bf,_0x4ba292;const {memberID:_0x545729,selection:_0x49c161}=_0x4de777['data'],{sheetName:_0x159b14,range:_0x1377ea}=Dt[_0x5a7300(0x32c)](_0x49c161),_0x1fa8e2={'name':(_0x4ba292=(_0x2d68bf=this[_0x5a7300(0x5ef)][_0x5a7300(0x2a0)](this[_0x5a7300(0x392)],_0x545729))==null?void 0x0:_0x2d68bf[_0x5a7300(0x341)])!=null?_0x4ba292:_0x5a7300(0x380),'range':this[_0x5a7300(0x31c)](_0x159b14,_0x1377ea),'sheetID':_0x159b14,'color':this[_0x5a7300(0x328)][_0x5a7300(0x50c)](_0x545729),'selection':_0x49c161},_0x51b080=this[_0x5a7300(0x316)];_0x51b080[_0x5a7300(0x61e)](_0x545729,_0x1fa8e2),this['_cursorInfo$'][_0x5a7300(0x339)](_0x51b080);}[_0x132fae(0x1ed)](_0x4da10c){const _0x5251dc=_0x132fae,{memberID:_0x45214c}=_0x4da10c['data'],_0x5d6a4d=this[_0x5251dc(0x316)];_0x5d6a4d['delete'](_0x45214c),this[_0x5251dc(0x4d3)][_0x5251dc(0x339)](_0x5d6a4d);}[_0x132fae(0x31c)](_0xc85740,_0x33dc5d){const _0x26689f=_0x132fae;var _0x37aa5f,_0x87d7ea;const _0xf9e993=(_0x87d7ea=(_0x37aa5f=this['_univerInstanceService'][_0x26689f(0x5a8)](this[_0x26689f(0x392)]))==null?void 0x0:_0x37aa5f['getSheetBySheetId'](_0xc85740))==null?void 0x0:_0x87d7ea[_0x26689f(0x512)]();return(_0xf9e993==null?void 0x0:_0xf9e993[_0x26689f(0x40a)](_0x5a04d8=>a['Rectangle'][_0x26689f(0x4fa)](_0x5a04d8,_0x33dc5d)))||_0x33dc5d;}[_0x132fae(0x1b1)](){const _0xa1158c=_0x132fae,_0x385e29=new a[(_0xa1158c(0x1ca))](),_0x52a8d0=Ji(),_0x5479bf=()=>{const _0x2f9b89=_0xa1158c;_0x385e29[_0x2f9b89(0x1c3)]();const _0x197fe1=(_0x4e38f6,_0x44aef6,_0x5a020a,_0x5ad134)=>{const _0x16f41=_0x2f9b89;let _0x5585a2=[];switch(_0x4e38f6['id']){case k['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x5585a2=k[_0x16f41(0x1b7)](_0x4e38f6,_0x5ad134);break;}case k[_0x16f41(0x62d)]['DeleteRangeMoveUpCommandId']:{_0x5585a2=k[_0x16f41(0x214)](_0x4e38f6,_0x5ad134);break;}case k[_0x16f41(0x62d)][_0x16f41(0x28b)]:{_0x5585a2=k['handleInsertCol'](_0x4e38f6,_0x5ad134);break;}case k[_0x16f41(0x62d)][_0x16f41(0x581)]:{_0x5585a2=k[_0x16f41(0x1ee)](_0x4e38f6,_0x5ad134);break;}case k['EffectRefRangId'][_0x16f41(0x355)]:{_0x5585a2=k[_0x16f41(0x643)](_0x4e38f6,_0x5ad134);break;}case k['EffectRefRangId'][_0x16f41(0x286)]:{_0x5585a2=k['handleInsertRow'](_0x4e38f6,_0x5ad134);break;}case k[_0x16f41(0x62d)][_0x16f41(0x47c)]:{_0x5585a2=k[_0x16f41(0x4c4)](_0x4e38f6,_0x5ad134);break;}case k[_0x16f41(0x62d)][_0x16f41(0x44e)]:{_0x5585a2=k[_0x16f41(0x462)](_0x4e38f6,_0x5ad134);break;}case k['EffectRefRangId'][_0x16f41(0x4b2)]:{_0x5585a2=k[_0x16f41(0x3dd)](_0x4e38f6,_0x5ad134);break;}}const _0xb37350=k[_0x16f41(0x2a6)](_0x5585a2,_0x5ad134),_0x404a50=this['cursorInfo'][_0x16f41(0x479)](_0x44aef6);if(_0x404a50&&_0xb37350){const _0x57d4ed={..._0x404a50,'range':_0xb37350};this[_0x16f41(0x316)][_0x16f41(0x61e)](_0x44aef6,_0x57d4ed),_0x52a8d0(()=>{const _0x22c5df=_0x16f41,_0x37c105=this[_0x22c5df(0x213)][_0x22c5df(0x207)](_0xb37350,_0x1fd908=>(_0x37c105[_0x22c5df(0x1c3)](),_0x197fe1(_0x1fd908,_0x44aef6,_0x5a020a,_0xb37350)));_0x385e29[_0x22c5df(0x37b)](_0x37c105);});}return{'redos':[],'undos':[]};};this[_0x2f9b89(0x316)][_0x2f9b89(0x320)]((_0x4cbe59,_0x6067ab)=>{const _0x4a1db5=_0x2f9b89,{range:_0x590f3b,sheetID:_0xe2a074}=_0x4cbe59,_0xd16f65=this[_0x4a1db5(0x213)]['registerRefRange'](_0x590f3b,_0x4089a5=>(_0xd16f65['dispose'](),_0x197fe1(_0x4089a5,_0x6067ab,_0xe2a074,_0x590f3b)));_0x385e29['add'](_0xd16f65);});};this[_0xa1158c(0x1b9)](a[_0xa1158c(0x372)](this[_0xa1158c(0x4d3)][_0xa1158c(0x2e1)](()=>{_0x5479bf();})));}[_0x132fae(0x3e9)](){const _0x4f029c=_0x132fae;var _0x4bea84,_0x707ae9;if(this[_0x4f029c(0x4dd)]=!0x0,((_0x4bea84=this[_0x4f029c(0x2f4)][_0x4f029c(0x442)]())==null?void 0x0:_0x4bea84[_0x4f029c(0x4e6)]())!==this[_0x4f029c(0x392)])return;const _0xcdbfb9=(_0x707ae9=this[_0x4f029c(0x459)][_0x4f029c(0x479)](k['SheetsSelectionsService'])[_0x4f029c(0x370)]())==null?void 0x0:_0x707ae9[0x0],_0x36df08=this['_univerInstanceService'][_0x4f029c(0x476)](a[_0x4f029c(0x2b2)][_0x4f029c(0x5f8)])['getActiveSheet']();_0xcdbfb9&&_0x36df08&&this[_0x4f029c(0x1d1)](_0x36df08[_0x4f029c(0x45d)](),_0xcdbfb9);}['_toggleOffline'](){const _0x2b58f7=_0x132fae;this[_0x2b58f7(0x4dd)]=!0x1;}};vt=qi([be(0x2,a[_0x132fae(0x2d7)](a['Injector'])),be(0x3,a[_0x132fae(0x2d7)](Rt)),be(0x4,a[_0x132fae(0x2d7)](exports[_0x132fae(0x410)])),be(0x5,a['IUniverInstanceService']),be(0x6,a['ICommandService']),be(0x7,a[_0x132fae(0x2d7)](k[_0x132fae(0x192)]))],vt);var Zi=Object[_0x132fae(0x564)],Qi=Object['getOwnPropertyDescriptor'],es=(_0x2c2da2,_0xfefa73,_0x1da85d,_0x39a014)=>{const _0x5921d3=_0x132fae;for(var _0x3904ad=_0x39a014>0x1?void 0x0:_0x39a014?Qi(_0xfefa73,_0x1da85d):_0xfefa73,_0x4b4d29=_0x2c2da2[_0x5921d3(0x4f2)]-0x1,_0x4db9c3;_0x4b4d29>=0x0;_0x4b4d29--)(_0x4db9c3=_0x2c2da2[_0x4b4d29])&&(_0x3904ad=(_0x39a014?_0x4db9c3(_0xfefa73,_0x1da85d,_0x3904ad):_0x4db9c3(_0x3904ad))||_0x3904ad);return _0x39a014&&_0x3904ad&&Zi(_0xfefa73,_0x1da85d,_0x3904ad),_0x3904ad;},tt=(_0xed1157,_0x5e13bf)=>(_0x568422,_0x50c8af)=>_0x5e13bf(_0x568422,_0x50c8af,_0xed1157);let De=class extends a[_0x132fae(0x4ef)]{constructor(_0x69160e,_0x4d86dc,_0x57cae6){const _0x38b6ff=_0x132fae;super(),I(this,_0x38b6ff(0x62e),new Map()),I(this,_0x38b6ff(0x4e7),new A[(_0x38b6ff(0x49a))]()),(this[_0x38b6ff(0x2f4)]=_0x69160e,this[_0x38b6ff(0x459)]=_0x4d86dc,this[_0x38b6ff(0x544)]=_0x57cae6,this[_0x38b6ff(0x60f)]());}[_0x132fae(0x1c3)](){const _0x109126=_0x132fae;super[_0x109126(0x1c3)](),this[_0x109126(0x4e7)][_0x109126(0x46a)](),this['_entities'][_0x109126(0x320)](_0x218751=>_0x218751['dispose']());}[_0x132fae(0x2cb)](_0x4224b2){const _0x401497=_0x132fae;return this['_entities'][_0x401497(0x425)](_0x4224b2)?this[_0x401497(0x62e)][_0x401497(0x479)](_0x4224b2)[_0x401497(0x223)]:this[_0x401497(0x4e7)][_0x401497(0x226)](A[_0x401497(0x5df)](_0xe925ca=>_0xe925ca[_0x401497(0x392)]===_0x4224b2),A[_0x401497(0x522)](_0x33a764=>_0x33a764[_0x401497(0x223)]));}[_0x132fae(0x60f)](){const _0xbc1326=_0x132fae;this[_0xbc1326(0x2f4)][_0xbc1326(0x1ea)](a[_0xbc1326(0x2b2)][_0xbc1326(0x5f8)])[_0xbc1326(0x226)](A[_0xbc1326(0x26d)](this[_0xbc1326(0x4a1)]))['subscribe'](async _0xaea5c7=>{const _0x16c9f2=_0xbc1326,_0x3a6444=_0xaea5c7['getUnitId'](),_0x3688e9=await this['_startSheetCollabCursor'](_0x3a6444);this['_entityInit$'][_0x16c9f2(0x339)](_0x3688e9),this['_entities'][_0x16c9f2(0x61e)](_0x3a6444,_0x3688e9);}),this[_0xbc1326(0x2f4)]['getTypeOfUnitAdded$'](a[_0xbc1326(0x2b2)]['UNIVER_DOC'])[_0xbc1326(0x226)](A[_0xbc1326(0x26d)](this['dispose$']))['pipe'](A[_0xbc1326(0x5df)](_0x48dfeb=>!_0x48dfeb[_0xbc1326(0x4e6)]()[_0xbc1326(0x5af)]('__')))[_0xbc1326(0x2e1)](async _0x3b7124=>{const _0x4929e3=_0xbc1326,_0x1151de=_0x3b7124['getUnitId'](),_0x1257e6=await this['_startDocCollabCursor'](_0x1151de);this[_0x4929e3(0x4e7)]['next'](_0x1257e6),this[_0x4929e3(0x62e)]['set'](_0x1151de,_0x1257e6);}),A['merge'](this['_univerInstanceService'][_0xbc1326(0x260)](a[_0xbc1326(0x2b2)][_0xbc1326(0x21b)]),this[_0xbc1326(0x2f4)][_0xbc1326(0x260)](a[_0xbc1326(0x2b2)][_0xbc1326(0x5f8)]))[_0xbc1326(0x226)](A[_0xbc1326(0x26d)](this[_0xbc1326(0x4a1)]))[_0xbc1326(0x2e1)](_0x459bcc=>{const _0x4dca5c=_0xbc1326,_0x52daf7=_0x459bcc[_0x4dca5c(0x4e6)](),_0x211de6=this[_0x4dca5c(0x62e)][_0x4dca5c(0x479)](_0x52daf7);_0x211de6&&(_0x211de6[_0x4dca5c(0x1c3)](),this[_0x4dca5c(0x62e)][_0x4dca5c(0x352)](_0x52daf7));});}async[_0x132fae(0x64d)](_0x1e4c65){const _0x4d2d7a=_0x132fae,_0x5341b9=await this['_collabSessionService']['requireSession'](_0x1e4c65),_0x1a737b=this['_injector']['createInstance'](vt,_0x1e4c65,_0x5341b9);return _0x1a737b[_0x4d2d7a(0x4ac)](),_0x1a737b;}async['_startDocCollabCursor'](_0xa6228f){const _0xd8c5fa=_0x132fae,_0x1ed95d=await this[_0xd8c5fa(0x544)][_0xd8c5fa(0x3db)](_0xa6228f),_0x1579a6=this[_0xd8c5fa(0x459)][_0xd8c5fa(0x1f3)](ft,_0xa6228f,_0x1ed95d);return _0x1579a6[_0xd8c5fa(0x4ac)](),_0x1579a6;}};De=es([tt(0x0,a[_0x132fae(0x4ab)]),tt(0x1,a[_0x132fae(0x2d7)](a[_0x132fae(0x1e0)])),tt(0x2,a['Inject'](exports[_0x132fae(0x5cd)]))],De);const Le=0x14,jt=0xc8,nt=0x4,ts=0x5;function ns(_0x3eed2e,_0x3a89f4){const _0x5695d4=_0x132fae;let {radius:_0x464226,width:_0x2326e1,height:_0x43148c}=_0x3a89f4;_0x464226=_0x464226!=null?_0x464226:0x0,_0x2326e1=_0x2326e1!=null?_0x2326e1:0x1e,_0x43148c=_0x43148c!=null?_0x43148c:0x1e;let _0x2ad0d9=0x0,_0x55b3d4=0x0,_0x2c4e71=0x0;_0x2ad0d9=_0x55b3d4=_0x2c4e71=Math[_0x5695d4(0x60d)](_0x464226,_0x2326e1/0x2,_0x43148c/0x2),_0x3eed2e['beginPath'](),_0x3eed2e['moveTo'](_0x2ad0d9,0x0),_0x3eed2e[_0x5695d4(0x588)](_0x2326e1-_0x55b3d4,0x0),_0x3eed2e[_0x5695d4(0x31d)](_0x2326e1-_0x55b3d4,_0x55b3d4,_0x55b3d4,Math['PI']*0x3/0x2,0x0,!0x1),_0x3eed2e['lineTo'](_0x2326e1,_0x43148c-_0x2c4e71),_0x3eed2e[_0x5695d4(0x31d)](_0x2326e1-_0x2c4e71,_0x43148c-_0x2c4e71,_0x2c4e71,0x0,Math['PI']/0x2,!0x1),_0x3eed2e['lineTo'](0x0,_0x43148c),_0x3eed2e[_0x5695d4(0x588)](0x0,_0x2ad0d9),_0x3eed2e[_0x5695d4(0x31d)](_0x2ad0d9,_0x2ad0d9,_0x2ad0d9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3eed2e['closePath'](),_0x3a89f4[_0x5695d4(0x1f6)]&&(_0x3eed2e[_0x5695d4(0x630)](),_0x3eed2e[_0x5695d4(0x3b2)]=_0x3a89f4[_0x5695d4(0x1f6)],_0x3a89f4[_0x5695d4(0x222)]===_0x5695d4(0x456)?_0x3eed2e['fill'](_0x5695d4(0x456)):_0x3eed2e[_0x5695d4(0x1f6)](),_0x3eed2e['restore']());}class ze extends K[_0x132fae(0x3e4)]{constructor(_0x1840e6,_0x11da53){const _0xd7465b=_0x132fae;super(_0x1840e6,_0x11da53),I(this,_0xd7465b(0x2ea)),I(this,_0xd7465b(0x1fc)),(this[_0xd7465b(0x2ea)]=_0x11da53==null?void 0x0:_0x11da53['color'],this['text']=_0x11da53==null?void 0x0:_0x11da53[_0xd7465b(0x1fc)]);}static['drawWith'](_0x438eab,_0x4faddf){const _0x40fca6=_0x132fae,{text:_0x3774b4,color:_0x29b80b}=_0x4faddf;_0x438eab[_0x40fca6(0x630)](),_0x438eab[_0x40fca6(0x5cb)]=_0x40fca6(0x2f1);const _0x5356b5=_0x438eab[_0x40fca6(0x369)](_0x3774b4)[_0x40fca6(0x2d0)],_0x4fc437=Math[_0x40fca6(0x60d)](_0x5356b5+0x2*nt,jt);ns(_0x438eab,{'height':Le,'radius':0x4,'width':_0x4fc437,'fill':_0x29b80b,'evented':!0x1}),_0x438eab['fillStyle']=_0x40fca6(0x18f);const _0x39bf7b=nt,_0x562923=Le-ts,_0x1260ec=jt-0x2*nt;if(_0x5356b5>_0x1260ec){let _0x17900c='',_0x4e6ae7=0x0;for(const _0x48a96e of _0x3774b4){const _0x5198cd=_0x438eab['measureText'](_0x48a96e)[_0x40fca6(0x2d0)];if(_0x4e6ae7+_0x5198cd<=_0x1260ec-_0x438eab['measureText'](_0x40fca6(0x3fc))[_0x40fca6(0x2d0)])_0x17900c+=_0x48a96e,_0x4e6ae7+=_0x5198cd;else{_0x17900c+=_0x40fca6(0x3fc);break;}}_0x438eab['fillText'](_0x17900c,_0x39bf7b,_0x562923);}else _0x438eab['fillText'](_0x3774b4,_0x39bf7b,_0x562923);_0x438eab['restore']();}[_0x132fae(0x239)](_0xb33c38){const _0x50b7ca=_0x132fae;ze[_0x50b7ca(0x570)](_0xb33c38,this);}}const it='collab-text-anchor-',is=_0x132fae(0x387),ss=_0x132fae(0x1f2),Ue=0x6,rs=1.5,st=0x4,os=1.5,as=_0x132fae(0x470);class $t{constructor(_0x5e1b55,_0x34c5e2,_0x5d87e3,_0x558f28){const _0x3584cb=_0x132fae;I(this,_0x3584cb(0x427),[]),I(this,_0x3584cb(0x2e2),null),I(this,'_textBubble',null),I(this,_0x3584cb(0x51c),null),I(this,_0x3584cb(0x4a4),null),I(this,'_eventUnsubscribe',null),(this[_0x3584cb(0x37f)]=_0x5e1b55,this[_0x3584cb(0x540)]=_0x34c5e2,this[_0x3584cb(0x3fa)]=_0x5d87e3,this[_0x3584cb(0x5bc)]=_0x558f28,this[_0x3584cb(0x447)]());}set['_hover'](_0x3ef50b){const _0x29ce73=_0x132fae;_0x3ef50b?(this['_anchorDot']&&this[_0x29ce73(0x51c)][_0x29ce73(0x3c0)](),this[_0x29ce73(0x3cc)]&&this[_0x29ce73(0x3cc)]['show']()):(this[_0x29ce73(0x51c)]&&this[_0x29ce73(0x51c)]['show'](),this[_0x29ce73(0x3cc)]&&this[_0x29ce73(0x3cc)]['hide']());}[_0x132fae(0x1c3)](){const _0x174b32=_0x132fae;for(const _0x566be1 of this['_shapes'])_0x566be1['dispose']();this['_textBubble']&&this[_0x174b32(0x3cc)][_0x174b32(0x1c3)](),this[_0x174b32(0x51c)]&&this[_0x174b32(0x51c)][_0x174b32(0x1c3)](),this[_0x174b32(0x2e2)]&&this[_0x174b32(0x2e2)][_0x174b32(0x1c3)](),this[_0x174b32(0x35b)]&&this[_0x174b32(0x35b)]();}[_0x132fae(0x447)](){const _0x4b3f91=_0x132fae;var _0x554353;const {_docSkeleton:_0x5bcaf0,_document:_0x1b9280}=this,{color:_0x148b7f,name:_0xc2c867,ranges:_0x541988}=this[_0x4b3f91(0x37f)],_0x4be976=_0x1b9280['getOffsetConfig'](),{docsLeft:_0x105941,docsTop:_0x35de4a}=_0x4be976,_0x243e74=new J['NodePositionConvertToCursor'](_0x4be976,_0x5bcaf0);for(const {startOffset:_0xdf31d3,endOffset:_0x485f22,rangeType:_0x6ef3cf,segmentId:_0x5be118,segmentPage:_0x1320de,collapsed:_0x485ba4,isActive:_0x414a5f}of _0x541988){const _0x361242=_0x5bcaf0[_0x4b3f91(0x4e1)](_0xdf31d3,!0x0,_0x5be118,_0x1320de);let _0x487937=_0x5bcaf0[_0x4b3f91(0x4e1)](_0x485f22,!0x0,_0x5be118,_0x1320de);if(_0x487937==null&&(_0x487937=_0x5bcaf0[_0x4b3f91(0x4e1)](_0x485f22-0x1,!0x1,_0x5be118,_0x1320de)),_0x414a5f){const {contentBoxPointGroup:_0x376d49}=_0x243e74[_0x4b3f91(0x384)](_0x487937,_0x487937);if(_0x376d49['length']===0x0)continue;this[_0x4b3f91(0x420)](_0x148b7f,_0x376d49,_0x105941,_0x35de4a,_0xc2c867),this[_0x4b3f91(0x35b)]=this[_0x4b3f91(0x1bc)]();}if(_0x361242&&_0x487937){if(_0x6ef3cf===a['DOC_RANGE_TYPE'][_0x4b3f91(0x632)]){const _0x1fd20a=new J[(_0x4b3f91(0x4ec))](_0x4be976,_0x5bcaf0),{pointGroup:_0x3c96de}=(_0x554353=_0x1fd20a[_0x4b3f91(0x384)](_0x361242,_0x487937))!=null?_0x554353:{};if(_0x3c96de==null||_0x3c96de[_0x4b3f91(0x4f2)]===0x0)continue;this[_0x4b3f91(0x1a8)](_0x148b7f,_0x3c96de,_0x105941,_0x35de4a);}else{if(!_0x485ba4){const {borderBoxPointGroup:_0x440830}=_0x243e74[_0x4b3f91(0x384)](_0x361242,_0x487937);if(_0x440830[_0x4b3f91(0x4f2)]===0x0)continue;this['_drawTextRange'](_0x148b7f,_0x440830,_0x105941,_0x35de4a);}}}}}[_0x132fae(0x420)](_0x1f73ff,_0x49ace7,_0x1ca77c,_0x55fdc1,_0x19fd43){const _0x1bb43d=_0x132fae,_0x550cb3=this[_0x1bb43d(0x228)](_0x49ace7),{left:_0x81ab6d,top:_0x26289a,height:_0x2203d9}=_0x550cb3,_0x3b4234=this[_0x1bb43d(0x24c)](),_0x420f4e=os/_0x3b4234,_0x2e4044=new K[(_0x1bb43d(0x47b))](it+a[_0x1bb43d(0x2db)][_0x1bb43d(0x313)](Ue),{'left':_0x81ab6d+_0x1ca77c-_0x420f4e,'top':_0x26289a+_0x55fdc1,'height':_0x2203d9,'width':rs,'fill':_0x1f73ff||K['getColor'](a[_0x1bb43d(0x29a)]['black'],0x0),'strokeWidth':_0x420f4e,'stroke':as,'evented':!0x0});this['_anchor']=_0x2e4044,this[_0x1bb43d(0x540)][_0x1bb43d(0x652)](_0x2e4044,J['TEXT_RANGE_LAYER_INDEX']);const _0x38d020=new K['Rect'](it+a[_0x1bb43d(0x2db)]['generateRandomId'](Ue),{'left':_0x81ab6d+_0x1ca77c-_0x420f4e,'top':_0x26289a+_0x55fdc1-st/0x2,'height':st,'width':st,'fill':_0x1f73ff||K[_0x1bb43d(0x47a)](a['COLORS'][_0x1bb43d(0x542)],0x0),'strokeWidth':0x0,'stroke':_0x1f73ff||K[_0x1bb43d(0x47a)](a[_0x1bb43d(0x29a)][_0x1bb43d(0x542)],0x0),'evented':!0x1});this[_0x1bb43d(0x51c)]=_0x38d020,this[_0x1bb43d(0x540)][_0x1bb43d(0x652)](_0x38d020,J[_0x1bb43d(0x2ff)]);const _0x39b709=new ze(it+a[_0x1bb43d(0x2db)]['generateRandomId'](Ue),{'left':_0x81ab6d+_0x1ca77c-_0x420f4e,'top':_0x26289a+_0x55fdc1-Le,'text':_0x19fd43,'color':_0x1f73ff});this[_0x1bb43d(0x3cc)]=_0x39b709,this['_scene']['addObject'](_0x39b709,J[_0x1bb43d(0x2ff)]),this[_0x1bb43d(0x366)]=!0x1;}[_0x132fae(0x1bc)](){const _0x1a0a23=_0x132fae,_0x4ce167=this[_0x1a0a23(0x2e2)][_0x1a0a23(0x59d)][_0x1a0a23(0x566)](()=>{this['_hover']=!0x0;}),_0x5ac14c=this[_0x1a0a23(0x2e2)][_0x1a0a23(0x532)]['subscribeEvent'](()=>{const _0x353629=_0x1a0a23;this[_0x353629(0x4a4)]&&clearTimeout(this[_0x353629(0x4a4)]),this[_0x353629(0x4a4)]=setTimeout(()=>{const _0x23f5eb=_0x353629;this[_0x23f5eb(0x366)]=!0x1;},0x7d0);});return()=>{const _0x53d40f=_0x1a0a23;_0x4ce167['unsubscribe'](),_0x5ac14c[_0x53d40f(0x28f)]();};}[_0x132fae(0x4ae)](_0x5f545c,_0x2d2e2f,_0x4442d2,_0x3e5373){const _0x3b0ff5=_0x132fae,_0x407fb0=new a[(_0x3b0ff5(0x575))](_0x5f545c)['setAlpha'](0.2)[_0x3b0ff5(0x4dc)](),_0x5683a0=new K[(_0x3b0ff5(0x3c7))](is+a['Tools'][_0x3b0ff5(0x313)](Ue),{'pointsGroup':_0x2d2e2f,'fill':_0x407fb0||K[_0x3b0ff5(0x47a)](a[_0x3b0ff5(0x29a)][_0x3b0ff5(0x542)],0.2),'left':_0x4442d2,'top':_0x3e5373,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3b0ff5(0x427)][_0x3b0ff5(0x2be)](_0x5683a0),this[_0x3b0ff5(0x540)][_0x3b0ff5(0x652)](_0x5683a0,J[_0x3b0ff5(0x2ff)]);}[_0x132fae(0x1a8)](_0xd6ec5c,_0x479743,_0x3dca66,_0x41dda7){const _0x2d21eb=_0x132fae,_0x391fb5=new a[(_0x2d21eb(0x575))](_0xd6ec5c)[_0x2d21eb(0x201)](0.2)[_0x2d21eb(0x4dc)](),_0x3dc1d0=new K[(_0x2d21eb(0x3c7))](ss+a[_0x2d21eb(0x2db)]['generateRandomId'](Ue),{'pointsGroup':_0x479743,'fill':_0x391fb5||K[_0x2d21eb(0x47a)](a[_0x2d21eb(0x29a)][_0x2d21eb(0x542)],0.2),'left':_0x3dca66,'top':_0x41dda7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2d21eb(0x427)][_0x2d21eb(0x2be)](_0x3dc1d0),this['_scene']['addObject'](_0x3dc1d0,J['TEXT_RANGE_LAYER_INDEX']);}[_0x132fae(0x228)](_0x38dc30){const _0x26497f=_0x38dc30[0x0],_0x1e5a4c=_0x26497f[0x0],_0x4a3049=_0x26497f[0x2],{x:_0x8b5f9d,y:_0x35013f}=_0x1e5a4c,{x:_0x146e46,y:_0x989025}=_0x4a3049;return{'left':_0x8b5f9d,'top':_0x35013f,'width':_0x146e46-_0x8b5f9d,'height':_0x989025-_0x35013f};}[_0x132fae(0x24c)](){const _0x3d0018=_0x132fae,{scaleX:_0x463a67,scaleY:_0x58ca00}=this[_0x3d0018(0x540)][_0x3d0018(0x3bb)]();return Math[_0x3d0018(0x515)](_0x463a67,_0x58ca00);}}var cs=Object['defineProperty'],ls=Object[_0x132fae(0x405)],hs=(_0x5a54b9,_0x3a5a31,_0x4a2f5c,_0x28ed3d)=>{const _0x4c2dcf=_0x132fae;for(var _0x401e0b=_0x28ed3d>0x1?void 0x0:_0x28ed3d?ls(_0x3a5a31,_0x4a2f5c):_0x3a5a31,_0x3e8a8a=_0x5a54b9[_0x4c2dcf(0x4f2)]-0x1,_0x2d33b4;_0x3e8a8a>=0x0;_0x3e8a8a--)(_0x2d33b4=_0x5a54b9[_0x3e8a8a])&&(_0x401e0b=(_0x28ed3d?_0x2d33b4(_0x3a5a31,_0x4a2f5c,_0x401e0b):_0x2d33b4(_0x401e0b))||_0x401e0b);return _0x28ed3d&&_0x401e0b&&cs(_0x3a5a31,_0x4a2f5c,_0x401e0b),_0x401e0b;},je=(_0x33abd5,_0x55fad6)=>(_0x16e372,_0x19a1f5)=>_0x55fad6(_0x16e372,_0x19a1f5,_0x33abd5);let St=class extends a[_0x132fae(0x4ef)]{constructor(_0xb9116e,_0xa59df2,_0x40050e,_0x349f96,_0x357634){const _0x3b5394=_0x132fae;super(),I(this,_0x3b5394(0x441),[]),I(this,'_cursors',[]),(this[_0x3b5394(0x585)]=_0xb9116e,this[_0x3b5394(0x3f4)]=_0xa59df2,this[_0x3b5394(0x399)]=_0x40050e,this['_commandService']=_0x349f96,this[_0x3b5394(0x3b7)]=_0x357634,this[_0x3b5394(0x60f)]());}['_init'](){const _0x100ff7=_0x132fae,_0x79eaad=this['_context'][_0x100ff7(0x1b8)],_0x372741=this[_0x100ff7(0x3f4)];this['disposeWithMe'](A[_0x100ff7(0x23c)]([this[_0x100ff7(0x399)][_0x100ff7(0x2cb)](_0x79eaad),this[_0x100ff7(0x3b7)][_0x100ff7(0x3f2)]])[_0x100ff7(0x226)](V[_0x100ff7(0x625)](([_0x560d47,_0x20eb99])=>({'skeleton':_0x372741[_0x100ff7(0x58c)](),'cursors':[..._0x560d47[_0x100ff7(0x54c)]()][_0x100ff7(0x285)](_0x4b80c3=>({..._0x4b80c3,'color':_0x20eb99[_0x4b80c3['color']]}))})))[_0x100ff7(0x2e1)](_0x1fd876=>{const _0xcf6645=_0x100ff7;if(this[_0xcf6645(0x49f)](),_0x1fd876){const {skeleton:_0x2a5ee3,cursors:_0x30cf15}=_0x1fd876;this[_0xcf6645(0x5dd)](_0x2a5ee3,_0x30cf15);}})),this[_0x100ff7(0x330)](),this['_initCommandExecutedListener']();}[_0x132fae(0x5dd)](_0x1677bd,_0x4095d6){const _0xe02851=_0x132fae,{scene:_0x51f64b,mainComponent:_0x461f57}=this[_0xe02851(0x585)],_0x3c7c90=_0x4095d6[_0xe02851(0x625)](_0x872495=>new $t(_0x872495,_0x51f64b,_0x1677bd,_0x461f57));this[_0xe02851(0x441)]=_0x3c7c90,this[_0xe02851(0x29f)]=_0x4095d6;}[_0x132fae(0x4e3)](){const _0x52c25a=_0x132fae;this[_0x52c25a(0x49f)]();const {scene:_0x46999a,mainComponent:_0x532a18}=this['_context'],_0x215f9a=this[_0x52c25a(0x3f4)][_0x52c25a(0x58c)](),_0xe22a0e=this['_cursors']['map'](_0x470e52=>new $t(_0x470e52,_0x46999a,_0x215f9a,_0x532a18));this[_0x52c25a(0x441)]=_0xe22a0e;}['_removeCollabCursors'](){const _0x53988a=_0x132fae;this[_0x53988a(0x441)][_0x53988a(0x320)](_0x10e126=>_0x10e126[_0x53988a(0x1c3)]()),this[_0x53988a(0x441)]=[];}[_0x132fae(0x48b)](){const _0x461e74=_0x132fae,_0x5e0b9a=[J[_0x461e74(0x41f)]['id']];this['disposeWithMe'](this['_commandService'][_0x461e74(0x1cd)](_0x5a61e5=>{const _0x5296d6=_0x461e74;_0x5e0b9a['includes'](_0x5a61e5['id'])&&_0x5a61e5['params'][_0x5296d6(0x1b8)]===this['_context']['unitId']&&this[_0x5296d6(0x4e3)]();}));}[_0x132fae(0x330)](){const _0x30d584=_0x132fae;this[_0x30d584(0x1b9)](a['fromEventSubject'](this[_0x30d584(0x585)][_0x30d584(0x43c)]['onTransformChange$'])[_0x30d584(0x226)](V[_0x30d584(0x5df)](_0x1eb290=>_0x1eb290[_0x30d584(0x33b)]===K[_0x30d584(0x393)][_0x30d584(0x65a)]),V[_0x30d584(0x1c9)](0x10))[_0x30d584(0x2e1)](()=>{const _0x315c09=_0x30d584;this[_0x315c09(0x4e3)]();}));}};St=hs([je(0x1,a[_0x132fae(0x2d7)](ye[_0x132fae(0x2eb)])),je(0x2,a[_0x132fae(0x2d7)](De)),je(0x3,a[_0x132fae(0x4a2)]),je(0x4,a[_0x132fae(0x2d7)](a['ThemeService']))],St);const _s=0x1,us=1.5;class fn extends K[_0x132fae(0x3e4)]{constructor(_0x1255b0,_0x220a20){const _0x2531ff=_0x132fae;super(_0x1255b0,_0x220a20),I(this,'_color'),I(this,'_hovered',!0x1),I(this,'_range'),I(this,_0x2531ff(0x4c1),''),I(this,'_labelPosition','top'),I(this,_0x2531ff(0x377)),(_0x220a20&&this[_0x2531ff(0x27f)](_0x220a20),this[_0x2531ff(0x59d)][_0x2531ff(0x566)](()=>this[_0x2531ff(0x27f)]({'hovered':!0x0})),this[_0x2531ff(0x532)]['subscribeEvent'](()=>this[_0x2531ff(0x27f)]({'hovered':!0x1})));}[_0x132fae(0x27f)](_0x5396be){const _0x5b1d1b=_0x132fae;var _0x31c885,_0x56f265,_0x46efab,_0x3c21b1,_0x95e78,_0x46a63f;this[_0x5b1d1b(0x61d)]=(_0x31c885=_0x5396be[_0x5b1d1b(0x2ea)])!=null?_0x31c885:this[_0x5b1d1b(0x61d)],this[_0x5b1d1b(0x45a)]=(_0x56f265=_0x5396be[_0x5b1d1b(0x415)])!=null?_0x56f265:this['_hovered'],this[_0x5b1d1b(0x282)]=(_0x46efab=_0x5396be[_0x5b1d1b(0x4c8)])!=null?_0x46efab:this[_0x5b1d1b(0x282)],this[_0x5b1d1b(0x4c1)]=(_0x3c21b1=_0x5396be[_0x5b1d1b(0x341)])!=null?_0x3c21b1:this[_0x5b1d1b(0x4c1)],this['_labelPosition']=(_0x95e78=_0x5396be['labelPosition'])!=null?_0x95e78:this['_labelPosition'],this[_0x5b1d1b(0x377)]=(_0x46a63f=_0x5396be[_0x5b1d1b(0x37c)])!=null?_0x46a63f:this['_backgroundColor'],this[_0x5b1d1b(0x431)]({'width':_0x5396be[_0x5b1d1b(0x2d0)],'height':_0x5396be[_0x5b1d1b(0x55c)]});}[_0x132fae(0x267)](_0xc12109){const _0x2c99bc=_0x132fae,{row:_0x42c055,column:_0x2d9d17}=_0xc12109;if(_0x42c055>=this[_0x2c99bc(0x282)][_0x2c99bc(0x40f)]&&_0x42c055<=this[_0x2c99bc(0x282)][_0x2c99bc(0x1eb)]&&_0x2d9d17>=this['_range'][_0x2c99bc(0x48d)]&&_0x2d9d17<=this[_0x2c99bc(0x282)][_0x2c99bc(0x4eb)]){this[_0x2c99bc(0x27f)]({'hovered':!0x0});return;}this[_0x2c99bc(0x27f)]({'hovered':!0x1});}[_0x132fae(0x468)](_0x3cf37d){return!0x1;}[_0x132fae(0x239)](_0x218df5){const _0x5b767d=_0x132fae;K[_0x5b767d(0x47b)][_0x5b767d(0x570)](_0x218df5,{'width':this[_0x5b767d(0x2d0)],'height':this[_0x5b767d(0x55c)],'strokeWidth':us,'stroke':this[_0x5b767d(0x61d)],'evented':!0x1,'fill':this[_0x5b767d(0x377)]}),this[_0x5b767d(0x45a)]&&(_0x218df5[_0x5b767d(0x630)](),_0x218df5['transform'](0x1,0x0,0x0,0x1,this[_0x5b767d(0x2d0)],this[_0x5b767d(0x622)]===_0x5b767d(0x1af)?0x0:-Le),ze['drawWith'](_0x218df5,{'text':this['_name'],'color':this[_0x5b767d(0x61d)]}),_0x218df5[_0x5b767d(0x5b4)]());}}var ds=Object['defineProperty'],fs=Object[_0x132fae(0x405)],vs=(_0x12b1e5,_0x409d82,_0x593db2,_0x3e641c)=>{const _0x26ed32=_0x132fae;for(var _0xf383e7=_0x3e641c>0x1?void 0x0:_0x3e641c?fs(_0x409d82,_0x593db2):_0x409d82,_0x1e35fb=_0x12b1e5[_0x26ed32(0x4f2)]-0x1,_0x2e0fad;_0x1e35fb>=0x0;_0x1e35fb--)(_0x2e0fad=_0x12b1e5[_0x1e35fb])&&(_0xf383e7=(_0x3e641c?_0x2e0fad(_0x409d82,_0x593db2,_0xf383e7):_0x2e0fad(_0xf383e7))||_0xf383e7);return _0x3e641c&&_0xf383e7&&ds(_0x409d82,_0x593db2,_0xf383e7),_0xf383e7;},rt=(_0x4ffd57,_0x11ce6c)=>(_0x7c4b32,_0x1e460f)=>_0x11ce6c(_0x7c4b32,_0x1e460f,_0x4ffd57);const Ss=0x1389;let mt=class extends a['RxDisposable']{constructor(_0x7d9177,_0x4ea029,_0x46be2e,_0x5c00f2){const _0x43706f=_0x132fae;super(),I(this,_0x43706f(0x29f),new Set()),I(this,_0x43706f(0x22d),null),(this[_0x43706f(0x585)]=_0x7d9177,this[_0x43706f(0x3f1)]=_0x4ea029,this[_0x43706f(0x399)]=_0x46be2e,this[_0x43706f(0x3b7)]=_0x5c00f2,this[_0x43706f(0x60f)]());}['_init'](){const _0x54a773=_0x132fae;this['_sheetSkeletonManagerService'][_0x54a773(0x276)][_0x54a773(0x226)](V['takeUntil'](this[_0x54a773(0x4a1)]),V[_0x54a773(0x522)](_0xbb1f45=>{const _0x43df17=_0x54a773;if(_0xbb1f45){const _0x5ae79b=_0xbb1f45['sheetId'];return A[_0x43df17(0x23c)](this['_collabCursorController'][_0x43df17(0x2cb)](this[_0x43df17(0x585)]['unitId']),this['_themeService'][_0x43df17(0x3f2)])['pipe'](V['map'](([_0x2ea9ef,_0x36f01c])=>{const _0x2fe2eb=_0x43df17,_0x3cce7b=new Map();return _0x2ea9ef[_0x2fe2eb(0x320)]((_0x51a56f,_0x2f191b)=>{const _0x2b4017=_0x2fe2eb;if(_0x51a56f[_0x2b4017(0x496)]===_0x5ae79b){const _0x42c988={..._0x51a56f};_0x42c988[_0x2b4017(0x2ea)]=_0x36f01c[_0x51a56f[_0x2b4017(0x2ea)]],_0x3cce7b[_0x2b4017(0x61e)](_0x2f191b,_0x42c988);}}),{'skeleton':_0xbb1f45,'cursors':_0x3cce7b};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x54a773(0x2e1)](({skeleton:_0x238d88,cursors:_0x2043ac})=>{const _0x3b8e52=_0x54a773;this[_0x3b8e52(0x49f)](),_0x238d88&&this[_0x3b8e52(0x5dd)](_0x238d88,_0x2043ac);}),this[_0x54a773(0x3f1)][_0x54a773(0x276)][_0x54a773(0x2e1)](_0x93e852=>{const _0x46a1fa=_0x54a773;if(_0x93e852==null)return;const {skeleton:_0x2bb71b}=_0x93e852,{scene:_0x19662e}=this[_0x46a1fa(0x585)];_0x19662e['onPointerMove$'][_0x46a1fa(0x566)](a['debounce'](_0x30f3f7=>{const _0x10a885=_0x46a1fa;var _0x318f3d,_0x4acf8c;const {offsetX:_0x24d2cb,offsetY:_0xef5c0a}=_0x30f3f7,{x:_0xc4caf9,y:_0x38534}=_0x19662e[_0x10a885(0x21d)](K[_0x10a885(0x272)][_0x10a885(0x58a)]([_0x24d2cb,_0xef5c0a])),{scaleX:_0x49dc9e,scaleY:_0x4268d6}=_0x19662e['getAncestorScale'](),_0x56ed44=_0x19662e[_0x10a885(0x64a)](Re['VIEWPORT_KEY']['VIEW_MAIN']),_0x4263e5=_0x19662e['getVpScrollXYInfoByPosToVp'](K[_0x10a885(0x272)][_0x10a885(0x58a)]([_0xc4caf9,_0x38534]),_0x56ed44),_0x57baaf=_0x2bb71b[_0x10a885(0x5de)](_0x24d2cb,_0xef5c0a,_0x49dc9e,_0x4268d6,_0x4263e5);((_0x318f3d=this['_lastPointer'])==null?void 0x0:_0x318f3d[_0x10a885(0x499)])===_0x57baaf[_0x10a885(0x499)]&&((_0x4acf8c=this[_0x10a885(0x22d)])==null?void 0x0:_0x4acf8c[_0x10a885(0x288)])===_0x57baaf[_0x10a885(0x288)]||this[_0x10a885(0x29f)][_0x10a885(0x320)](_0x27099c=>{const _0x4dc022=_0x10a885;_0x27099c[_0x4dc022(0x267)](_0x57baaf);});},0x64));});}['_updateCollabCursors'](_0x426e1c,_0x12487f){const _0x33875f=_0x132fae;var _0xbc6053;const _0x1291d5=(_0xbc6053=this['_sheetSkeletonManagerService'][_0x33875f(0x53a)]())==null?void 0x0:_0xbc6053[_0x33875f(0x232)];if(!_0x1291d5)return;const _0x1cbfab=this['_getSheetObject']();if(!_0x1cbfab)return;this[_0x33875f(0x29f)]['forEach'](_0x322ef4=>{const _0x20b031=_0x33875f;_0x322ef4[_0x20b031(0x325)]();});const {scene:_0x18acdd}=_0x1cbfab,_0xe81269=ms(Array[_0x33875f(0x2c6)](_0x12487f[_0x33875f(0x54c)]()))['map'](_0x9bb64a=>{const _0x35a21e=_0x33875f,{color:_0x8d43b7,range:_0x31f12a,name:_0x5d817e,selection:_0x17afc5,sheetID:_0x17b3a7}=_0x9bb64a,{startColumn:_0x560836,startRow:_0x553d79,endColumn:_0x418f2a,endRow:_0x42873d}=_0x31f12a,_0x5ad9ba=Re['getCoordByCell'](_0x553d79,_0x560836,_0x18acdd,_0x1291d5),_0x3cf2fb=Re[_0x35a21e(0x2ee)](_0x42873d,_0x418f2a,_0x18acdd,_0x1291d5),{columnHeaderHeightAndMarginTop:_0x23d197}=_0x1291d5,{startX:_0x5421b3,startY:_0x1beb7c}=_0x5ad9ba,{endX:_0x3e6d79,endY:_0x4f17dc}=_0x3cf2fb,_0x5bf8f3=_0x3e6d79-_0x5421b3,_0x5bce6a=_0x4f17dc-_0x1beb7c,_0x5bb113={'labelPosition':_0x1beb7c-_0x23d197>=Le?_0x35a21e(0x642):_0x35a21e(0x1af),'sheetID':_0x17b3a7,'range':_0x31f12a,'color':_0x8d43b7,'name':_0x5d817e,'selection':_0x17afc5,'left':_0x5421b3,'top':_0x1beb7c,'width':_0x5bf8f3,'height':_0x5bce6a,'evented':!0x1,'zIndex':Ss};return new fn(_0x5d817e,_0x5bb113);});_0x18acdd[_0x33875f(0x3ef)](_0xe81269,_s),this[_0x33875f(0x29f)]=new Set(_0xe81269);}[_0x132fae(0x49f)](){const _0x12046d=_0x132fae;var _0x371a43;(_0x371a43=this[_0x12046d(0x29f)])==null||_0x371a43[_0x12046d(0x320)](_0x3b632e=>_0x3b632e[_0x12046d(0x1c3)]());}[_0x132fae(0x443)](){const _0x465fa6=_0x132fae;return Re[_0x465fa6(0x478)](this[_0x465fa6(0x585)][_0x465fa6(0x300)],this[_0x465fa6(0x585)]);}};mt=vs([rt(0x1,a[_0x132fae(0x2d7)](Re['SheetSkeletonManagerService'])),rt(0x2,a[_0x132fae(0x2d7)](De)),rt(0x3,a['Inject'](a['ThemeService']))],mt);function ms(_0xd4a464){const _0x393a6f=_0x132fae,_0x5bf3ab=new Map();return _0xd4a464['forEach'](_0x1745af=>{const _0x23abd0=_0x1d09;if(_0x5bf3ab[_0x23abd0(0x425)](_0x1745af[_0x23abd0(0x55f)])){const _0xfae003=_0x5bf3ab['get'](_0x1745af[_0x23abd0(0x55f)]);_0xfae003[_0x23abd0(0x341)]+=',\x20'+_0x1745af[_0x23abd0(0x341)];}else _0x5bf3ab[_0x23abd0(0x61e)](_0x1745af[_0x23abd0(0x55f)],_0x1745af);}),Array[_0x393a6f(0x2c6)](_0x5bf3ab[_0x393a6f(0x54c)]());}var Q=function(){const _0x3b22fd=_0x132fae;return Q=Object[_0x3b22fd(0x31f)]||function(_0x50efdd){const _0x3e0a1e=_0x3b22fd;for(var _0x2e2044,_0x1e088e=0x1,_0x15bba9=arguments[_0x3e0a1e(0x4f2)];_0x1e088e<_0x15bba9;_0x1e088e++){_0x2e2044=arguments[_0x1e088e];for(var _0x181af9 in _0x2e2044)Object[_0x3e0a1e(0x2fa)][_0x3e0a1e(0x278)][_0x3e0a1e(0x609)](_0x2e2044,_0x181af9)&&(_0x50efdd[_0x181af9]=_0x2e2044[_0x181af9]);}return _0x50efdd;},Q[_0x3b22fd(0x48f)](this,arguments);},ps=function(_0x15e694,_0x32d681){const _0xd7e94e=_0x132fae;var _0x49ade6={};for(var _0x181137 in _0x15e694)Object['prototype']['hasOwnProperty'][_0xd7e94e(0x609)](_0x15e694,_0x181137)&&_0x32d681[_0xd7e94e(0x5cc)](_0x181137)<0x0&&(_0x49ade6[_0x181137]=_0x15e694[_0x181137]);if(_0x15e694!=null&&typeof Object[_0xd7e94e(0x53c)]==_0xd7e94e(0x367)){for(var _0x157714=0x0,_0x181137=Object['getOwnPropertySymbols'](_0x15e694);_0x157714<_0x181137['length'];_0x157714++)_0x32d681[_0xd7e94e(0x5cc)](_0x181137[_0x157714])<0x0&&Object['prototype'][_0xd7e94e(0x4bb)]['call'](_0x15e694,_0x181137[_0x157714])&&(_0x49ade6[_0x181137[_0x157714]]=_0x15e694[_0x181137[_0x157714]]);}return _0x49ade6;},yt=de['forwardRef'](function(_0x2fcc55,_0x513afd){const _0x2383e1=_0x132fae;var _0x4dde82=_0x2fcc55['icon'],_0x2ed029=_0x2fcc55['id'],_0x1b7c66=_0x2fcc55[_0x2383e1(0x1b4)],_0x54931f=_0x2fcc55['extend'],_0x170103=ps(_0x2fcc55,[_0x2383e1(0x2c5),'id',_0x2383e1(0x1b4),_0x2383e1(0x42c)]),_0x8d65da=_0x2383e1(0x2c2)[_0x2383e1(0x480)](_0x2ed029,'\x20')[_0x2383e1(0x480)](_0x1b7c66||'')[_0x2383e1(0x5f5)](),_0x5a2084=de[_0x2383e1(0x627)]('_'[_0x2383e1(0x480)](Cs()));return vn(_0x4dde82,''['concat'](_0x2ed029),{'defIds':_0x4dde82[_0x2383e1(0x309)],'idSuffix':_0x5a2084[_0x2383e1(0x210)]},Q({'ref':_0x513afd,'className':_0x8d65da},_0x170103),_0x54931f);});function vn(_0x320a60,_0x25791f,_0x4bb06e,_0x48dd1a,_0x3572ef){const _0x1f30e9=_0x132fae;return de[_0x1f30e9(0x4ce)](_0x320a60[_0x1f30e9(0x5cf)],Q(Q({'key':_0x25791f},gs(_0x320a60,_0x4bb06e,_0x3572ef)),_0x48dd1a),(Is(_0x320a60,_0x4bb06e)[_0x1f30e9(0x28a)]||[])[_0x1f30e9(0x625)](function(_0x9a7a7a,_0x266a30){const _0x484944=_0x1f30e9;return vn(_0x9a7a7a,''[_0x484944(0x480)](_0x25791f,'-')['concat'](_0x320a60[_0x484944(0x5cf)],'-')[_0x484944(0x480)](_0x266a30),_0x4bb06e,void 0x0,_0x3572ef);}));}function gs(_0xd08f5b,_0xacd361,_0x116374){const _0x10bfeb=_0x132fae;var _0x18ee53=Q({},_0xd08f5b[_0x10bfeb(0x5be)]);_0x116374!=null&&_0x116374[_0x10bfeb(0x27e)]&&_0x18ee53[_0x10bfeb(0x1f6)]==='colorChannel1'&&(_0x18ee53[_0x10bfeb(0x1f6)]=_0x116374['colorChannel1']);var _0x14451d=_0xacd361[_0x10bfeb(0x309)];return!_0x14451d||_0x14451d[_0x10bfeb(0x4f2)]===0x0||(_0xd08f5b[_0x10bfeb(0x5cf)]===_0x10bfeb(0x343)&&_0x18ee53['xlink:href']&&(_0x18ee53[_0x10bfeb(0x4f9)]=_0x18ee53[_0x10bfeb(0x4f9)]+_0xacd361[_0x10bfeb(0x1e4)]),Object[_0x10bfeb(0x264)](_0x18ee53)[_0x10bfeb(0x320)](function(_0xe7eb0c){const _0x58780e=_0x10bfeb;var _0x30da82=_0xe7eb0c[0x0],_0x3d2fb3=_0xe7eb0c[0x1];typeof _0x3d2fb3=='string'&&(_0x18ee53[_0x30da82]=_0x3d2fb3[_0x58780e(0x4d0)](/url\(#(.*)\)/,_0x58780e(0x22c)[_0x58780e(0x480)](_0xacd361[_0x58780e(0x1e4)],')')));})),_0x18ee53;}function Is(_0x1700ea,_0x3d6961){const _0x14c1d1=_0x132fae;var _0x28498f,_0x568a70=_0x3d6961['defIds'];return!_0x568a70||_0x568a70[_0x14c1d1(0x4f2)]===0x0?_0x1700ea:_0x1700ea[_0x14c1d1(0x5cf)]===_0x14c1d1(0x488)&&(!((_0x28498f=_0x1700ea[_0x14c1d1(0x28a)])===null||_0x28498f===void 0x0)&&_0x28498f[_0x14c1d1(0x4f2)])?Q(Q({},_0x1700ea),{'children':_0x1700ea[_0x14c1d1(0x28a)]['map'](function(_0x9b2f00){const _0x37c5d2=_0x14c1d1;return typeof _0x9b2f00['attrs']['id']==_0x37c5d2(0x539)&&_0x568a70&&_0x568a70[_0x37c5d2(0x5cc)](_0x9b2f00[_0x37c5d2(0x5be)]['id'])>-0x1?Q(Q({},_0x9b2f00),{'attrs':Q(Q({},_0x9b2f00['attrs']),{'id':_0x9b2f00['attrs']['id']+_0x3d6961[_0x37c5d2(0x1e4)]})}):_0x9b2f00;})}):_0x1700ea;}function Cs(){const _0x35775e=_0x132fae;return Math[_0x35775e(0x620)]()[_0x35775e(0x5d7)](0x24)[_0x35775e(0x3b9)](0x2,0x8);}yt[_0x132fae(0x558)]=_0x132fae(0x224);var Es={'tag':_0x132fae(0x658),'attrs':{'fill':_0x132fae(0x5e0),'viewBox':_0x132fae(0x40e),'width':_0x132fae(0x474),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x132fae(0x33a),'attrs':{'stroke':_0x132fae(0x2e8),'d':_0x132fae(0x58e),'strokeLinecap':'round','strokeLinejoin':_0x132fae(0x248),'strokeWidth':1.2}}]},{'tag':_0x132fae(0x488),'attrs':{},'children':[{'tag':_0x132fae(0x412),'attrs':{'id':_0x132fae(0x4a3)},'children':[{'tag':_0x132fae(0x33a),'attrs':{'fill':_0x132fae(0x280),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x132fae(0x4a3)]},Sn=de['forwardRef'](function(_0x8313a7,_0x1cadea){const _0x107397=_0x132fae;return de[_0x107397(0x4ce)](yt,Object[_0x107397(0x31f)]({},_0x8313a7,{'id':'off-line-single','ref':_0x1cadea,'icon':Es}));});Sn['displayName']=_0x132fae(0x41d);var bs={'tag':_0x132fae(0x658),'attrs':{'fill':'none','viewBox':_0x132fae(0x23b),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x132fae(0x383)},'children':[{'tag':_0x132fae(0x33a),'attrs':{'stroke':_0x132fae(0x2e8),'d':_0x132fae(0x2fd),'strokeLinecap':_0x132fae(0x248),'strokeLinejoin':_0x132fae(0x248),'strokeWidth':1.2}}]},{'tag':_0x132fae(0x488),'attrs':{},'children':[{'tag':_0x132fae(0x412),'attrs':{'id':_0x132fae(0x647)},'children':[{'tag':_0x132fae(0x33a),'attrs':{'fill':_0x132fae(0x280),'d':_0x132fae(0x55d),'transform':_0x132fae(0x4b3)}}]}]}],'defIds':[_0x132fae(0x647)]},mn=de[_0x132fae(0x548)](function(_0x17e37,_0x5de41e){const _0x52141f=_0x132fae;return de[_0x52141f(0x4ce)](yt,Object[_0x52141f(0x31f)]({},_0x17e37,{'id':_0x52141f(0x1a4),'ref':_0x5de41e,'icon':bs}));});mn[_0x132fae(0x558)]=_0x132fae(0x48a);function pn(_0x15be15){const _0x570863=_0x132fae;var _0x472606,_0x462fae,_0x3d978c='';if(typeof _0x15be15==_0x570863(0x539)||typeof _0x15be15=='number')_0x3d978c+=_0x15be15;else{if(typeof _0x15be15==_0x570863(0x2c3)){if(Array[_0x570863(0x47e)](_0x15be15)){var _0x181ba2=_0x15be15[_0x570863(0x4f2)];for(_0x472606=0x0;_0x472606<_0x181ba2;_0x472606++)_0x15be15[_0x472606]&&(_0x462fae=pn(_0x15be15[_0x472606]))&&(_0x3d978c&&(_0x3d978c+='\x20'),_0x3d978c+=_0x462fae);}else{for(_0x462fae in _0x15be15)_0x15be15[_0x462fae]&&(_0x3d978c&&(_0x3d978c+='\x20'),_0x3d978c+=_0x462fae);}}}return _0x3d978c;}function Ts(){const _0x4e558e=_0x132fae;for(var _0x3c89b4,_0x1307a7,_0x23d838=0x0,_0x5d0821='',_0x1029ec=arguments[_0x4e558e(0x4f2)];_0x23d838<_0x1029ec;_0x23d838++)(_0x3c89b4=arguments[_0x23d838])&&(_0x1307a7=pn(_0x3c89b4))&&(_0x5d0821&&(_0x5d0821+='\x20'),_0x5d0821+=_0x1307a7);return _0x5d0821;}const Rs=_0x132fae(0x3bf),ys=_0x132fae(0x5c3),Os='univer-online-status',Ds=_0x132fae(0x2f0),ws=_0x132fae(0x444),Me={'onlineStatusIcon':Rs,'onlineStatusTitle':ys,'onlineStatus':Os,'online':Ds,'offline':ws};function Ps(_0x1cb830){const _0x5dce7b=_0x132fae;switch(_0x1cb830){case q[_0x5dce7b(0x30d)]:return _0x5dce7b(0x265);case q['CONFLICT']:return'collabStatus.conflict';case q[_0x5dce7b(0x2b5)]:return _0x5dce7b(0x29b);case q[_0x5dce7b(0x493)]:return'collabStatus.notCollab';case q[_0x5dce7b(0x2ed)]:case q[_0x5dce7b(0x253)]:return _0x5dce7b(0x3b8);case q[_0x5dce7b(0x619)]:case q['PENDING']:return'collabStatus.synced';}}function gn(_0xe697f1){const _0x4221c8=_0x132fae,{status$:_0x58efd8}=_0xe697f1,_0x36e4e=ee[_0x4221c8(0x319)](_0x58efd8,q['NOT_COLLAB']),_0x2d0f4a=a[_0x4221c8(0x38c)](a['LocaleService']),_0x3ee8e3=a[_0x4221c8(0x38c)](exports[_0x4221c8(0x5cd)]),_0x23e63f=_0x36e4e!==q[_0x4221c8(0x30d)],_0x3b5546=_0x2d0f4a['t'](Ps(_0x36e4e)),_0x4c11b7=Ts(Me[_0x4221c8(0x32e)],{[Me[_0x4221c8(0x465)]]:_0x23e63f,[Me[_0x4221c8(0x537)]]:!_0x23e63f}),_0x15f3c2=_0x23e63f?pe[_0x4221c8(0x606)](mn,{}):pe['jsx'](Sn,{}),_0x32a73a=de[_0x4221c8(0x541)](()=>{const _0x4cbd91=_0x4221c8;_0x23e63f||_0x3ee8e3[_0x4cbd91(0x2b4)]();},[_0x23e63f,_0x3ee8e3]);function _0x319425(){const _0x204e9e=_0x4221c8;return pe['jsxs'](_0x204e9e(0x3d6),{'className':_0x4c11b7,'onClick':_0x32a73a,'children':[pe[_0x204e9e(0x606)](_0x204e9e(0x3d6),{'className':Me[_0x204e9e(0x32d)],'children':_0x15f3c2}),pe[_0x204e9e(0x606)]('div',{'className':Me[_0x204e9e(0x639)],'children':_0x3b5546})]});}return _0x23e63f?_0x319425():pe['jsx'](ge[_0x4221c8(0x318)],{'title':_0x2d0f4a['t']('collab-client.tooltip.reconnect'),'children':_0x319425()});}var Us=Object['defineProperty'],Ms=Object['getOwnPropertyDescriptor'],As=(_0xe088ab,_0x51c4a6,_0x4c711c,_0x3a219b)=>{const _0x5ebada=_0x132fae;for(var _0x41af15=_0x3a219b>0x1?void 0x0:_0x3a219b?Ms(_0x51c4a6,_0x4c711c):_0x51c4a6,_0x3fc2f4=_0xe088ab[_0x5ebada(0x4f2)]-0x1,_0xbce1c4;_0x3fc2f4>=0x0;_0x3fc2f4--)(_0xbce1c4=_0xe088ab[_0x3fc2f4])&&(_0x41af15=(_0x3a219b?_0xbce1c4(_0x51c4a6,_0x4c711c,_0x41af15):_0xbce1c4(_0x41af15))||_0x41af15);return _0x3a219b&&_0x41af15&&Us(_0x51c4a6,_0x4c711c,_0x41af15),_0x41af15;},$e=(_0x45013c,_0x2ba380)=>(_0x53b3e3,_0x5ab196)=>_0x2ba380(_0x53b3e3,_0x5ab196,_0x45013c);exports[_0x132fae(0x1a9)]=class extends a['Disposable']{constructor(_0x5bdc27,_0x5cc081,_0x38efe8,_0x3e08da){const _0x4b4ac9=_0x132fae;super(),I(this,'_status$',new A[(_0x4b4ac9(0x1ae))](q[_0x4b4ac9(0x493)])),(this[_0x4b4ac9(0x2f4)]=_0x5bdc27,this['_uiPartsService']=_0x5cc081,this[_0x4b4ac9(0x459)]=_0x38efe8,this[_0x4b4ac9(0x219)]=_0x3e08da,this[_0x4b4ac9(0x5b8)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x3267cf=_0x132fae;this[_0x3267cf(0x1b9)](this[_0x3267cf(0x2f4)][_0x3267cf(0x469)]['pipe'](A[_0x3267cf(0x522)](()=>{const _0x223f02=_0x3267cf,_0x4f04b1=this[_0x223f02(0x2f4)][_0x223f02(0x442)]();return _0x4f04b1?this['_collaborationController'][_0x223f02(0x63d)](_0x4f04b1['getUnitId']()):A['of'](null);}),A[_0x3267cf(0x522)](_0x27dc85=>_0x27dc85?_0x27dc85[_0x3267cf(0x22f)]:A['of'](q[_0x3267cf(0x493)])))[_0x3267cf(0x2e1)](_0x3979f6=>{const _0x4d75b4=_0x3267cf;this['_status$'][_0x4d75b4(0x339)](_0x3979f6);}));}['_initStatusComponent'](){const _0x5258fc=_0x132fae;this[_0x5258fc(0x1b9)](this[_0x5258fc(0x651)]['registerComponent'](ee['BuiltInUIPart'][_0x5258fc(0x44b)],()=>a[_0x5258fc(0x28c)](Ns({'status$':this[_0x5258fc(0x2d4)][_0x5258fc(0x24d)]()}),this['_injector'])));}},exports[_0x132fae(0x1a9)]=As([$e(0x0,a['IUniverInstanceService']),$e(0x1,ee[_0x132fae(0x364)]),$e(0x2,a[_0x132fae(0x2d7)](a[_0x132fae(0x1e0)])),$e(0x3,a[_0x132fae(0x2d7)](exports[_0x132fae(0x3b4)]))],exports[_0x132fae(0x1a9)]);function Ns(_0x3e957f){const {status$:_0x5da813}=_0x3e957f;return function(){const _0x5ea454=_0x1d09;return pe[_0x5ea454(0x606)](gn,{'status$':_0x5da813});};}const Ot=a[_0x132fae(0x345)](_0x132fae(0x2e0));var Ls=Object[_0x132fae(0x564)],xs=Object[_0x132fae(0x405)],js=(_0x5e58b0,_0x1071f1,_0xc12c57,_0x22f766)=>{const _0x4b3b8f=_0x132fae;for(var _0x3667cc=_0x22f766>0x1?void 0x0:_0x22f766?xs(_0x1071f1,_0xc12c57):_0x1071f1,_0x4d2f00=_0x5e58b0[_0x4b3b8f(0x4f2)]-0x1,_0x36f6b5;_0x4d2f00>=0x0;_0x4d2f00--)(_0x36f6b5=_0x5e58b0[_0x4d2f00])&&(_0x3667cc=(_0x22f766?_0x36f6b5(_0x1071f1,_0xc12c57,_0x3667cc):_0x36f6b5(_0x3667cc))||_0x3667cc);return _0x22f766&&_0x3667cc&&Ls(_0x1071f1,_0xc12c57,_0x3667cc),_0x3667cc;},Te=(_0x2a6b25,_0x480e37)=>(_0xb5df72,_0x1a5cf2)=>_0x480e37(_0xb5df72,_0x1a5cf2,_0x2a6b25);exports['DataLoaderController']=class extends a[_0x132fae(0x4ef)]{constructor(_0x1e2db9,_0x5a33c4,_0x42f57a,_0x5ea2d3,_0x120d5c,_0x2fc233){const _0x35a63f=_0x132fae;super(),this['_urlService']=_0x1e2db9,this['_logService']=_0x5a33c4,this[_0x35a63f(0x245)]=_0x42f57a,this[_0x35a63f(0x510)]=_0x5ea2d3,this[_0x35a63f(0x1f1)]=_0x120d5c,_0x2fc233?_0x2fc233==null||_0x2fc233[_0x35a63f(0x635)]()[_0x35a63f(0x46b)](()=>this[_0x35a63f(0x60f)]()):(this['_logService'][_0x35a63f(0x2a1)](_0x35a63f(0x3e1),_0x35a63f(0x2f8)),this[_0x35a63f(0x60f)]());}async[_0x132fae(0x60f)](){const _0xa73ea=_0x132fae,_0x5dfef7=this['_urlService'][_0xa73ea(0x212)](_0xa73ea(0x300)),_0x27bc01=this[_0xa73ea(0x494)][_0xa73ea(0x212)]('type');if(!_0x5dfef7||!_0x27bc01){this[_0xa73ea(0x5e5)][_0xa73ea(0x2a1)]('[DataLoaderController]',_0xa73ea(0x36b));return;}switch(Number(_0x27bc01)){case ie['UNIVER_SHEET']:{const _0x118334=await this[_0xa73ea(0x2b6)](_0x5dfef7);this[_0xa73ea(0x2d2)](_0x118334);break;}case ie['UNIVER_DOC']:{await this['_loadDoc'](_0x5dfef7);break;}default:{this[_0xa73ea(0x5e5)][_0xa73ea(0x2bd)](_0xa73ea(0x3e1),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x132fae(0x2d2)](_0x211645){const _0x5b763d=_0x132fae;await this[_0x5b763d(0x5ae)](_0x211645),_0x211645[_0x5b763d(0x34b)][_0x5b763d(0x226)](A[_0x5b763d(0x26d)](this[_0x5b763d(0x4a1)]))['subscribe'](_0x2a82c1=>{const _0x45142b=_0x5b763d;_0x2a82c1&&this[_0x45142b(0x49d)](_0x2a82c1);}),this[_0x5b763d(0x494)][_0x5b763d(0x2b9)][_0x5b763d(0x226)](A[_0x5b763d(0x26d)](this['dispose$']))['subscribe'](()=>this[_0x5b763d(0x5ae)](_0x211645));}[_0x132fae(0x49d)](_0x1b0776,_0x3e4165=!0x1){const _0x3420e9=_0x132fae,_0x429ec2=this[_0x3420e9(0x494)][_0x3420e9(0x212)]('subunit');_0x1b0776['getSheetId']()!==_0x429ec2&&this['_urlService']['setParam']('subunit',_0x1b0776[_0x3420e9(0x45d)](),_0x3e4165);}async['_updateSubUnitFromURLParams'](_0x23918e){const _0x376cb5=_0x132fae;var _0x3dfb7e;const _0x57d6be=this[_0x376cb5(0x494)][_0x376cb5(0x212)]('subunit');if(!_0x57d6be||!_0x23918e['getSheetBySheetId'](_0x57d6be)){const _0x4b8064=_0x23918e['getUnhiddenWorksheets']()[0x0],_0x319e56=_0x23918e[_0x376cb5(0x551)](_0x4b8064);if(!_0x319e56)return;this[_0x376cb5(0x49d)](_0x319e56,!0x0),await this[_0x376cb5(0x245)][_0x376cb5(0x628)](k[_0x376cb5(0x35d)]['id'],{'unitId':_0x23918e[_0x376cb5(0x4e6)](),'subUnitId':_0x4b8064});return;}((_0x3dfb7e=_0x23918e[_0x376cb5(0x37e)]())==null?void 0x0:_0x3dfb7e[_0x376cb5(0x45d)]())!==_0x57d6be&&await this[_0x376cb5(0x245)][_0x376cb5(0x628)](k[_0x376cb5(0x35d)]['id'],{'unitId':_0x23918e[_0x376cb5(0x4e6)](),'subUnitId':_0x57d6be});}async['_loadSheet'](_0x4939a3){const _0x50a97f=_0x132fae;let _0x47262a=0x0;const _0x283241=await this[_0x50a97f(0x510)][_0x50a97f(0x41a)](_0x4939a3);return _0x283241&&(_0x283241['awaitingChangeset']||_0x283241[_0x50a97f(0x477)][_0x50a97f(0x4f2)]!==0x0)&&(_0x47262a=_0x283241[_0x50a97f(0x5b7)]),_0x47262a===0x0&&this[_0x50a97f(0x5e5)][_0x50a97f(0x2a1)](_0x50a97f(0x3e1),_0x50a97f(0x261)),this['_snapshotService'][_0x50a97f(0x2f2)](_0x4939a3,_0x47262a);}async[_0x132fae(0x5d9)](_0x2d2ff5){const _0x1fd9be=_0x132fae;let _0xfaa5ff=0x0;const _0x26caa3=await this['_localCacheService'][_0x1fd9be(0x41a)](_0x2d2ff5);return _0x26caa3&&(_0x26caa3[_0x1fd9be(0x4f0)]||_0x26caa3['mutations'][_0x1fd9be(0x4f2)]!==0x0)&&(_0xfaa5ff=_0x26caa3[_0x1fd9be(0x5b7)]),_0xfaa5ff===0x0&&this[_0x1fd9be(0x5e5)]['debug']('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1fd9be(0x1f1)]['loadDoc'](_0x2d2ff5,_0xfaa5ff);}},exports[_0x132fae(0x254)]=js([Te(0x0,Ot),Te(0x1,a[_0x132fae(0x3a6)]),Te(0x2,a[_0x132fae(0x4a2)]),Te(0x3,a[_0x132fae(0x2d7)](exports['LocalCacheService'])),Te(0x4,a[_0x132fae(0x2d7)](m[_0x132fae(0x327)])),Te(0x5,a[_0x132fae(0x50b)](Nn[_0x132fae(0x520)]))],exports['DataLoaderController']);var $s=Object[_0x132fae(0x564)],Hs=Object['getOwnPropertyDescriptor'],Bs=(_0x319407,_0x3b9a39,_0x154dae,_0x5dc3d0)=>{const _0x1f838d=_0x132fae;for(var _0x29380b=_0x5dc3d0>0x1?void 0x0:_0x5dc3d0?Hs(_0x3b9a39,_0x154dae):_0x3b9a39,_0x3d1ace=_0x319407[_0x1f838d(0x4f2)]-0x1,_0x11f1f0;_0x3d1ace>=0x0;_0x3d1ace--)(_0x11f1f0=_0x319407[_0x3d1ace])&&(_0x29380b=(_0x5dc3d0?_0x11f1f0(_0x3b9a39,_0x154dae,_0x29380b):_0x11f1f0(_0x29380b))||_0x29380b);return _0x5dc3d0&&_0x29380b&&$s(_0x3b9a39,_0x154dae,_0x29380b),_0x29380b;},Ht=(_0x227f0b,_0x4c5bf9)=>(_0x103580,_0x16fca4)=>_0x4c5bf9(_0x103580,_0x16fca4,_0x227f0b);const ks=_0x132fae(0x1cf),Ws=_0x132fae(0x42a);let Ve=class extends a[_0x132fae(0x48c)]{constructor(_0x5b2cae,_0x324469){const _0x5657c0=_0x132fae;super(),this[_0x5657c0(0x2f4)]=_0x5b2cae,this[_0x5657c0(0x3f5)]=_0x324469,this['_init']();}[_0x132fae(0x60f)](){const _0xc30e1=_0x132fae;this[_0xc30e1(0x1b9)](this[_0xc30e1(0x2f4)][_0xc30e1(0x469)][_0xc30e1(0x2e1)](()=>{const _0x5a0bfe=_0xc30e1;var _0x4af2c2;const _0x3693a7=this[_0x5a0bfe(0x2f4)][_0x5a0bfe(0x442)]();let _0x3daee4=(_0x4af2c2=this[_0x5a0bfe(0x3f5)][_0x5a0bfe(0x368)](ks))!=null?_0x4af2c2:Ws;_0x3693a7 instanceof a[_0x5a0bfe(0x3cd)]&&(_0x3daee4=_0x3693a7['name']),document[_0x5a0bfe(0x21a)]=_0x3daee4;}));}};Ve=Bs([Ht(0x0,a[_0x132fae(0x4ab)]),Ht(0x1,a['IConfigService'])],Ve);var Fs=Object[_0x132fae(0x564)],Vs=Object['getOwnPropertyDescriptor'],Gs=(_0x21cdf6,_0x19d898,_0xdb0b9c,_0x487d50)=>{const _0x36febb=_0x132fae;for(var _0x3421fb=_0x487d50>0x1?void 0x0:_0x487d50?Vs(_0x19d898,_0xdb0b9c):_0x19d898,_0x3d0ac0=_0x21cdf6[_0x36febb(0x4f2)]-0x1,_0x473911;_0x3d0ac0>=0x0;_0x3d0ac0--)(_0x473911=_0x21cdf6[_0x3d0ac0])&&(_0x3421fb=(_0x487d50?_0x473911(_0x19d898,_0xdb0b9c,_0x3421fb):_0x473911(_0x3421fb))||_0x3421fb);return _0x487d50&&_0x3421fb&&Fs(_0x19d898,_0xdb0b9c,_0x3421fb),_0x3421fb;},ot=(_0xd41450,_0x127b10)=>(_0x31fa90,_0x1e50f1)=>_0x127b10(_0x31fa90,_0x1e50f1,_0xd41450);let Ge=class{constructor(_0x100777,_0x36a52d,_0x309b02){const _0x56b417=_0x132fae;this[_0x56b417(0x3f5)]=_0x100777,this[_0x56b417(0x3fd)]=_0x36a52d,this['localeService']=_0x309b02,this['init']();}[_0x132fae(0x4ac)](){const _0x28bb23=_0x132fae;this['_httpService'][_0x28bb23(0x34c)]({'priority':0x1,'interceptor':(_0x3e9338,_0x49f5e0)=>_0x49f5e0(_0x3e9338)[_0x28bb23(0x226)](A[_0x28bb23(0x3aa)](async _0x912046=>{const _0x4c8797=_0x28bb23,_0x42a2a6=_0x912046;if(_0x42a2a6[_0x4c8797(0x1a7)]===0x191&&window[_0x4c8797(0x2f5)](this[_0x4c8797(0x3ec)]['t'](_0x4c8797(0x36a)))){const _0x5a13b6=window[_0x4c8797(0x5c7)](window['location']['href']);window[_0x4c8797(0x39e)]['href']=this[_0x4c8797(0x4d9)]()+'?url='+_0x5a13b6;}return _0x42a2a6;}))});}[_0x132fae(0x4d9)](){const _0x3857f3=_0x132fae;var _0xc62e7b,_0x3521a5;const _0x2c667d=this[_0x3857f3(0x3f5)][_0x3857f3(0x368)](sn),_0x4f8c4c=this['_configService'][_0x3857f3(0x368)](te);return(_0x3521a5=(_0xc62e7b=_0x4f8c4c==null?void 0x0:_0x4f8c4c[_0x3857f3(0x5ce)])!=null?_0xc62e7b:_0x2c667d)!=null?_0x3521a5:Vn;}};Ge=Gs([ot(0x0,a[_0x132fae(0x335)]),ot(0x1,a[_0x132fae(0x2d7)](Z[_0x132fae(0x610)])),ot(0x2,a[_0x132fae(0x2d7)](a[_0x132fae(0x653)]))],Ge);var Ys=Object[_0x132fae(0x564)],Ks=Object['getOwnPropertyDescriptor'],qs=(_0x3e001a,_0x34d3cb,_0x276826,_0x4b4cf4)=>{const _0x2febe1=_0x132fae;for(var _0x16a479=_0x4b4cf4>0x1?void 0x0:_0x4b4cf4?Ks(_0x34d3cb,_0x276826):_0x34d3cb,_0x1f7de1=_0x3e001a[_0x2febe1(0x4f2)]-0x1,_0xc3383;_0x1f7de1>=0x0;_0x1f7de1--)(_0xc3383=_0x3e001a[_0x1f7de1])&&(_0x16a479=(_0x4b4cf4?_0xc3383(_0x34d3cb,_0x276826,_0x16a479):_0xc3383(_0x16a479))||_0x16a479);return _0x4b4cf4&&_0x16a479&&Ys(_0x34d3cb,_0x276826,_0x16a479),_0x16a479;},Bt=(_0x5af027,_0x17b208)=>(_0x3f597d,_0x554fd0)=>_0x17b208(_0x3f597d,_0x554fd0,_0x5af027);const In='AUTHZ_URL_KEY',zs=_0x132fae(0x257);exports['AuthzIoHttpService']=class extends a[_0x132fae(0x48c)]{constructor(_0x2c664a,_0x377cd9){const _0x13af79=_0x132fae;super(),this[_0x13af79(0x44a)]=_0x2c664a,this['_configService']=_0x377cd9,this[_0x13af79(0x498)]();}['_initMergeInterceptor'](){const _0xc1b6e3=_0x132fae,_0x181a51=this;this[_0xc1b6e3(0x1b9)](this[_0xc1b6e3(0x44a)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':Z[_0xc1b6e3(0x4c7)]({'isMatch'(_0x556b35){const _0x2a1884=_0xc1b6e3;var _0xe243be;if(_0x556b35['method']===_0x2a1884(0x293)&&((_0xe243be=_0x556b35[_0x2a1884(0x4ba)])!=null&&_0xe243be[_0x2a1884(0x5a2)])){const {objectID:_0x30f960,objectType:_0x22a5a7}=_0x556b35[_0x2a1884(0x4ba)]['body']||{};if(!_0x30f960||_0x22a5a7===void 0x0)return!0x1;const _0x33c9f5=_0x181a51[_0x2a1884(0x20c)]()+'/'+_0x22a5a7+_0x2a1884(0x559)+_0x30f960+'/allowed';if(_0x556b35[_0x2a1884(0x645)]===_0x33c9f5)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x16c99a){const _0x481332=_0xc1b6e3;var _0x129e00;return(_0x129e00=_0x16c99a[_0x481332(0x4ba)])==null?void 0x0:_0x129e00[_0x481332(0x5a2)];},'mergeParamsToRequest'(_0x410603,_0x26fd34){const _0x22cebe=_0xc1b6e3,_0x2542d5=_0x181a51[_0x22cebe(0x20c)]()+_0x22cebe(0x2f6),_0xac562f=_0x410603[_0x22cebe(0x3c9)]((_0x462783,_0x20ca39)=>{const _0x44f782=_0x22cebe,{unitID:_0x54548a,objectID:_0x299a7b,objectType:_0x7b0f1a,actions:_0x489bf1}=_0x20ca39;return _0x462783[_0x54548a]||(_0x462783[_0x54548a]={}),_0x462783[_0x54548a][_0x299a7b]||(_0x462783[_0x54548a][_0x299a7b]={'objectID':_0x299a7b,'objectType':_0x7b0f1a,'actions':[]}),_0x462783[_0x54548a][_0x299a7b]['actions'][_0x44f782(0x2be)](..._0x489bf1),_0x462783;},{}),_0x1065d4=[];for(const _0x208746 in _0xac562f)for(const _0x1f9cfc in _0xac562f[_0x208746]){const {actions:_0x4248f6,objectType:_0x2dab79}=_0xac562f[_0x208746][_0x1f9cfc],_0x2c7ffe=[...new Set(_0x4248f6)];_0x1065d4[_0x22cebe(0x2be)]({'unitID':_0x208746,'objectID':_0x1f9cfc,'objectType':_0x2dab79,'actions':_0x2c7ffe});}return new Z[(_0x22cebe(0x340))](_0x22cebe(0x293),_0x2542d5,{'headers':_0x26fd34[_0x22cebe(0x42e)],'withCredentials':_0x26fd34[_0x22cebe(0x5a9)],'responseType':_0x26fd34[_0x22cebe(0x1b0)],'body':{'requests':_0x1065d4}});}},{'distributeResult'(_0x5e5465,_0x5c3c92){const _0x5a3d1c=_0xc1b6e3,{objectActions:_0x34cd39}=_0x5e5465;return _0x5c3c92[_0x5a3d1c(0x625)](_0x30438e=>{const _0x21931d=_0x5a3d1c,{unitID:_0x3d1825,objectID:_0x137194,actions:_0x17358d}=_0x30438e,_0xb2ef12=_0x34cd39[_0x21931d(0x40a)](_0x1395d5=>_0x1395d5[_0x21931d(0x392)]===_0x3d1825&&_0x1395d5['objectID']===_0x137194),_0x3eb747=_0x17358d[_0x21931d(0x625)](_0x4bc3ef=>_0xb2ef12==null?void 0x0:_0xb2ef12[_0x21931d(0x371)][_0x21931d(0x40a)](_0x56a908=>_0x56a908[_0x21931d(0x519)]===_0x4bc3ef))[_0x21931d(0x5df)](_0x38e9da=>!!_0x38e9da);return{'config':_0x30438e,'result':{'actions':_0x3eb747,'error':_0x5e5465[_0x21931d(0x2bd)]}};});}})}));}['_getAPIPrefixPath'](){const _0x5904f1=_0x132fae;var _0x57207d,_0x22f3cf;const _0x3f4799=this[_0x5904f1(0x3f5)][_0x5904f1(0x368)](In),_0x37edf8=this[_0x5904f1(0x3f5)][_0x5904f1(0x368)](te);return(_0x22f3cf=(_0x57207d=_0x37edf8==null?void 0x0:_0x37edf8[_0x5904f1(0x543)])!=null?_0x57207d:_0x3f4799)!=null?_0x22f3cf:zs;}async[_0x132fae(0x4c0)](_0x3acefb){const _0x3e4d82=_0x132fae,_0x25d154=this[_0x3e4d82(0x20c)]()+'/'+_0x3acefb[_0x3e4d82(0x390)]+_0x3e4d82(0x1d0);return(await this[_0x3e4d82(0x44a)][_0x3e4d82(0x303)](_0x25d154,{'body':_0x3acefb}))[_0x3e4d82(0x5a2)][_0x3e4d82(0x19f)]||'';}async[_0x132fae(0x308)](_0x15d368){const _0x35c14a=_0x132fae,_0x37e917=this['_getAPIPrefixPath']()+_0x35c14a(0x3b0);return(await this[_0x35c14a(0x44a)][_0x35c14a(0x303)](_0x37e917,{'body':_0x15d368}))[_0x35c14a(0x5a2)]['objects'];}async[_0x132fae(0x252)](_0x55e227){const _0x41fb9e=_0x132fae,_0x557f19=this['_getAPIPrefixPath']()+'/'+_0x55e227[_0x41fb9e(0x390)]+_0x41fb9e(0x559)+_0x55e227[_0x41fb9e(0x19f)];await this[_0x41fb9e(0x44a)][_0x41fb9e(0x618)](_0x557f19,{'body':_0x55e227});}async[_0x132fae(0x58f)](_0x38b3d0){const _0x49098e=_0x132fae,_0x2abef4=this[_0x49098e(0x20c)]()+'/'+_0x38b3d0[_0x49098e(0x390)]+_0x49098e(0x559)+_0x38b3d0[_0x49098e(0x19f)]+'/allowed';return(await this[_0x49098e(0x44a)][_0x49098e(0x303)](_0x2abef4,{'body':_0x38b3d0}))[_0x49098e(0x5a2)][_0x49098e(0x371)];}async[_0x132fae(0x50f)](_0x4cc4ae){const _0x2a45a4=_0x132fae,_0x32e649=this[_0x2a45a4(0x20c)]()+_0x2a45a4(0x2f6);return(await this[_0x2a45a4(0x44a)][_0x2a45a4(0x303)](_0x32e649,{'body':{'requests':_0x4cc4ae}}))[_0x2a45a4(0x5a2)][_0x2a45a4(0x5ab)];}async[_0x132fae(0x557)](_0x24839c){const _0xf0a3d9=_0x132fae,_0x465e10=this[_0xf0a3d9(0x20c)]()+'/'+_0x24839c[_0xf0a3d9(0x390)]+_0xf0a3d9(0x65c),_0x5cbe19=await this['_HTTPService'][_0xf0a3d9(0x303)](_0x465e10,{'body':_0x24839c});return{'roles':_0x5cbe19['body'][_0xf0a3d9(0x644)],'actions':_0x5cbe19['body'][_0xf0a3d9(0x371)]};}async[_0x132fae(0x2b3)](_0x6bbd97){const _0x5740db=_0x132fae,_0x16c3d2=this[_0x5740db(0x20c)]()+_0x5740db(0x43b);await this[_0x5740db(0x44a)][_0x5740db(0x352)](_0x16c3d2,{'params':{'collaboratorID':_0x6bbd97['collaboratorID'],'objectID':_0x6bbd97[_0x5740db(0x19f)],'unitID':_0x6bbd97[_0x5740db(0x392)]}});}async['updateCollaborator'](_0x4c19e2){const _0x4df8f8=_0x132fae,_0x597ddc=this[_0x4df8f8(0x20c)]()+_0x4df8f8(0x43b);await this[_0x4df8f8(0x44a)][_0x4df8f8(0x332)](_0x597ddc,{'body':_0x4c19e2});}async[_0x132fae(0x5b1)](_0xb873a1){const _0x5dff40=_0x132fae,_0x410ac2=this[_0x5dff40(0x20c)]()+_0x5dff40(0x43b);await this['_HTTPService'][_0x5dff40(0x303)](_0x410ac2,{'body':_0xb873a1});}async[_0x132fae(0x1e8)](_0x5082e7){const _0xaec01f=_0x132fae,_0x863689=this[_0xaec01f(0x20c)]()+_0xaec01f(0x43b);return(await this[_0xaec01f(0x44a)][_0xaec01f(0x479)](_0x863689,{'params':{'objectID':_0x5082e7[_0xaec01f(0x19f)],'unitID':_0x5082e7[_0xaec01f(0x392)]}}))['body'][_0xaec01f(0x471)];}async[_0x132fae(0x458)](_0x9413b8){const _0x171d77=_0x132fae,_0x21b573=this[_0x171d77(0x20c)]()+_0x171d77(0x43b);await this[_0x171d77(0x44a)][_0x171d77(0x618)](_0x21b573,{'body':_0x9413b8});}},exports[_0x132fae(0x526)]=qs([Bt(0x0,a[_0x132fae(0x2d7)](Z[_0x132fae(0x610)])),Bt(0x1,a[_0x132fae(0x2d7)](a[_0x132fae(0x335)]))],exports['AuthzIoHttpService']);var X=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x151c87){const _0x29593b=_0x132fae;return _0x151c87&&_0x151c87[_0x29593b(0x2a5)]&&Object[_0x29593b(0x2fa)]['hasOwnProperty'][_0x29593b(0x609)](_0x151c87,_0x29593b(0x2fb))?_0x151c87[_0x29593b(0x2fb)]:_0x151c87;}var Cn={'exports':{}};function Xs(_0x2b04ff){const _0x40bad8=_0x132fae;throw new Error(_0x40bad8(0x32a)+_0x2b04ff+_0x40bad8(0x298));}var at={'exports':{}},kt;function oe(){const _0x2f4b0e=_0x132fae;return kt||(kt=0x1,function(_0x54d946,_0x4d015b){(function(_0x3d2264,_0x315b7d){const _0x5e0777=_0x1d09;_0x54d946[_0x5e0777(0x53d)]=_0x315b7d();}(X,function(){var _0x490e51=_0x490e51||function(_0x4aae43,_0x58c5b5){const _0x40a69e=_0x1d09;var _0x22963c;if(typeof window<'u'&&window[_0x40a69e(0x5a1)]&&(_0x22963c=window['crypto']),typeof self<'u'&&self[_0x40a69e(0x5a1)]&&(_0x22963c=self[_0x40a69e(0x5a1)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x22963c=globalThis['crypto']),!_0x22963c&&typeof window<'u'&&window[_0x40a69e(0x534)]&&(_0x22963c=window[_0x40a69e(0x534)]),!_0x22963c&&typeof X<'u'&&X[_0x40a69e(0x5a1)]&&(_0x22963c=X[_0x40a69e(0x5a1)]),!_0x22963c&&typeof Xs==_0x40a69e(0x367))try{_0x22963c=require(_0x40a69e(0x5a1));}catch{}var _0x53e49d=function(){const _0x2c9408=_0x40a69e;if(_0x22963c){if(typeof _0x22963c[_0x2c9408(0x234)]==_0x2c9408(0x367))try{return _0x22963c[_0x2c9408(0x234)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x22963c[_0x2c9408(0x246)]==_0x2c9408(0x367))try{return _0x22963c[_0x2c9408(0x246)](0x4)[_0x2c9408(0x28e)]();}catch{}}throw new Error(_0x2c9408(0x5b2));},_0x2f4f0b=Object[_0x40a69e(0x4c0)]||(function(){function _0x187cd6(){}return function(_0x571bb0){var _0x15ab3d;return _0x187cd6['prototype']=_0x571bb0,_0x15ab3d=new _0x187cd6(),_0x187cd6['prototype']=null,_0x15ab3d;};}()),_0x389650={},_0x3c5a86=_0x389650[_0x40a69e(0x2bc)]={},_0x2b1085=_0x3c5a86[_0x40a69e(0x59c)]=(function(){return{'extend':function(_0x544f64){const _0x2c4f30=_0x1d09;var _0x4d283a=_0x2f4f0b(this);return _0x544f64&&_0x4d283a[_0x2c4f30(0x523)](_0x544f64),(!_0x4d283a[_0x2c4f30(0x278)](_0x2c4f30(0x4ac))||this[_0x2c4f30(0x4ac)]===_0x4d283a[_0x2c4f30(0x4ac)])&&(_0x4d283a[_0x2c4f30(0x4ac)]=function(){const _0x416716=_0x2c4f30;_0x4d283a['$super'][_0x416716(0x4ac)][_0x416716(0x48f)](this,arguments);}),_0x4d283a[_0x2c4f30(0x4ac)][_0x2c4f30(0x2fa)]=_0x4d283a,_0x4d283a[_0x2c4f30(0x24e)]=this,_0x4d283a;},'create':function(){const _0x74d336=_0x1d09;var _0x363159=this[_0x74d336(0x42c)]();return _0x363159[_0x74d336(0x4ac)][_0x74d336(0x48f)](_0x363159,arguments),_0x363159;},'init':function(){},'mixIn':function(_0x383e2d){const _0x3afb1d=_0x1d09;for(var _0x4a84ab in _0x383e2d)_0x383e2d[_0x3afb1d(0x278)](_0x4a84ab)&&(this[_0x4a84ab]=_0x383e2d[_0x4a84ab]);_0x383e2d[_0x3afb1d(0x278)](_0x3afb1d(0x5d7))&&(this['toString']=_0x383e2d[_0x3afb1d(0x5d7)]);},'clone':function(){const _0x25e327=_0x1d09;return this[_0x25e327(0x4ac)][_0x25e327(0x2fa)][_0x25e327(0x42c)](this);}};}()),_0x53a73a=_0x3c5a86['WordArray']=_0x2b1085[_0x40a69e(0x42c)]({'init':function(_0xeab770,_0x4ad841){const _0x818b9c=_0x40a69e;_0xeab770=this[_0x818b9c(0x202)]=_0xeab770||[],_0x4ad841!=_0x58c5b5?this[_0x818b9c(0x595)]=_0x4ad841:this['sigBytes']=_0xeab770[_0x818b9c(0x4f2)]*0x4;},'toString':function(_0x470d12){const _0x427e19=_0x40a69e;return(_0x470d12||_0x435253)[_0x427e19(0x2cc)](this);},'concat':function(_0x4ffefc){const _0x3474c5=_0x40a69e;var _0x4e6ab4=this['words'],_0x477c54=_0x4ffefc[_0x3474c5(0x202)],_0x126d1f=this[_0x3474c5(0x595)],_0x973f8e=_0x4ffefc[_0x3474c5(0x595)];if(this[_0x3474c5(0x577)](),_0x126d1f%0x4)for(var _0x4373a4=0x0;_0x4373a4<_0x973f8e;_0x4373a4++){var _0x3be7d1=_0x477c54[_0x4373a4>>>0x2]>>>0x18-_0x4373a4%0x4*0x8&0xff;_0x4e6ab4[_0x126d1f+_0x4373a4>>>0x2]|=_0x3be7d1<<0x18-(_0x126d1f+_0x4373a4)%0x4*0x8;}else{for(var _0x53e7a6=0x0;_0x53e7a6<_0x973f8e;_0x53e7a6+=0x4)_0x4e6ab4[_0x126d1f+_0x53e7a6>>>0x2]=_0x477c54[_0x53e7a6>>>0x2];}return this['sigBytes']+=_0x973f8e,this;},'clamp':function(){const _0x487c82=_0x40a69e;var _0x4b3a2d=this['words'],_0x3170e0=this[_0x487c82(0x595)];_0x4b3a2d[_0x3170e0>>>0x2]&=0xffffffff<<0x20-_0x3170e0%0x4*0x8,_0x4b3a2d['length']=_0x4aae43[_0x487c82(0x27d)](_0x3170e0/0x4);},'clone':function(){const _0x508d1b=_0x40a69e;var _0x3d2ba3=_0x2b1085['clone'][_0x508d1b(0x609)](this);return _0x3d2ba3[_0x508d1b(0x202)]=this[_0x508d1b(0x202)]['slice'](0x0),_0x3d2ba3;},'random':function(_0x533150){const _0xd8fd17=_0x40a69e;for(var _0x5e38ee=[],_0x1b80b1=0x0;_0x1b80b1<_0x533150;_0x1b80b1+=0x4)_0x5e38ee[_0xd8fd17(0x2be)](_0x53e49d());return new _0x53a73a[(_0xd8fd17(0x4ac))](_0x5e38ee,_0x533150);}}),_0x190020=_0x389650[_0x40a69e(0x500)]={},_0x435253=_0x190020[_0x40a69e(0x20e)]={'stringify':function(_0x3c4936){const _0x1559cb=_0x40a69e;for(var _0x56e95c=_0x3c4936['words'],_0x3f3a12=_0x3c4936[_0x1559cb(0x595)],_0x2459b7=[],_0x3dc8de=0x0;_0x3dc8de<_0x3f3a12;_0x3dc8de++){var _0x52e8a4=_0x56e95c[_0x3dc8de>>>0x2]>>>0x18-_0x3dc8de%0x4*0x8&0xff;_0x2459b7[_0x1559cb(0x2be)]((_0x52e8a4>>>0x4)['toString'](0x10)),_0x2459b7[_0x1559cb(0x2be)]((_0x52e8a4&0xf)['toString'](0x10));}return _0x2459b7[_0x1559cb(0x1dd)]('');},'parse':function(_0x116d84){const _0x4c7cbc=_0x40a69e;for(var _0x398065=_0x116d84[_0x4c7cbc(0x4f2)],_0x1cbe2c=[],_0x3d7987=0x0;_0x3d7987<_0x398065;_0x3d7987+=0x2)_0x1cbe2c[_0x3d7987>>>0x3]|=parseInt(_0x116d84['substr'](_0x3d7987,0x2),0x10)<<0x18-_0x3d7987%0x8*0x4;return new _0x53a73a[(_0x4c7cbc(0x4ac))](_0x1cbe2c,_0x398065/0x2);}},_0x51f5bc=_0x190020[_0x40a69e(0x389)]={'stringify':function(_0x5d82cb){const _0x30fb95=_0x40a69e;for(var _0x2e88f5=_0x5d82cb[_0x30fb95(0x202)],_0x37f6e8=_0x5d82cb[_0x30fb95(0x595)],_0x3221c0=[],_0x16408a=0x0;_0x16408a<_0x37f6e8;_0x16408a++){var _0x2291b2=_0x2e88f5[_0x16408a>>>0x2]>>>0x18-_0x16408a%0x4*0x8&0xff;_0x3221c0[_0x30fb95(0x2be)](String[_0x30fb95(0x4df)](_0x2291b2));}return _0x3221c0[_0x30fb95(0x1dd)]('');},'parse':function(_0x3c1c94){const _0x1db1ca=_0x40a69e;for(var _0x4972fb=_0x3c1c94['length'],_0x1f6d5e=[],_0x4e8eb0=0x0;_0x4e8eb0<_0x4972fb;_0x4e8eb0++)_0x1f6d5e[_0x4e8eb0>>>0x2]|=(_0x3c1c94[_0x1db1ca(0x555)](_0x4e8eb0)&0xff)<<0x18-_0x4e8eb0%0x4*0x8;return new _0x53a73a[(_0x1db1ca(0x4ac))](_0x1f6d5e,_0x4972fb);}},_0x1d7cbd=_0x190020[_0x40a69e(0x5c2)]={'stringify':function(_0xeddd07){const _0x1bf2ed=_0x40a69e;try{return decodeURIComponent(escape(_0x51f5bc[_0x1bf2ed(0x2cc)](_0xeddd07)));}catch{throw new Error(_0x1bf2ed(0x453));}},'parse':function(_0x3ff56f){const _0x2ab658=_0x40a69e;return _0x51f5bc[_0x2ab658(0x5ea)](unescape(encodeURIComponent(_0x3ff56f)));}},_0x18e661=_0x3c5a86['BufferedBlockAlgorithm']=_0x2b1085['extend']({'reset':function(){const _0x1f11fc=_0x40a69e;this[_0x1f11fc(0x36d)]=new _0x53a73a[(_0x1f11fc(0x4ac))](),this[_0x1f11fc(0x56f)]=0x0;},'_append':function(_0x16254d){const _0x43365b=_0x40a69e;typeof _0x16254d==_0x43365b(0x539)&&(_0x16254d=_0x1d7cbd['parse'](_0x16254d)),this[_0x43365b(0x36d)][_0x43365b(0x480)](_0x16254d),this['_nDataBytes']+=_0x16254d[_0x43365b(0x595)];},'_process':function(_0x1f4e0b){const _0x2ed527=_0x40a69e;var _0x14d215,_0x554352=this[_0x2ed527(0x36d)],_0x368156=_0x554352[_0x2ed527(0x202)],_0x262355=_0x554352['sigBytes'],_0x564b64=this[_0x2ed527(0x1ff)],_0x32afaa=_0x564b64*0x4,_0x4c8ff2=_0x262355/_0x32afaa;_0x1f4e0b?_0x4c8ff2=_0x4aae43[_0x2ed527(0x27d)](_0x4c8ff2):_0x4c8ff2=_0x4aae43[_0x2ed527(0x515)]((_0x4c8ff2|0x0)-this[_0x2ed527(0x21c)],0x0);var _0x3c31a3=_0x4c8ff2*_0x564b64,_0x264d55=_0x4aae43['min'](_0x3c31a3*0x4,_0x262355);if(_0x3c31a3){for(var _0x5f35ed=0x0;_0x5f35ed<_0x3c31a3;_0x5f35ed+=_0x564b64)this[_0x2ed527(0x2f7)](_0x368156,_0x5f35ed);_0x14d215=_0x368156[_0x2ed527(0x434)](0x0,_0x3c31a3),_0x554352[_0x2ed527(0x595)]-=_0x264d55;}return new _0x53a73a[(_0x2ed527(0x4ac))](_0x14d215,_0x264d55);},'clone':function(){const _0x3ead80=_0x40a69e;var _0x548734=_0x2b1085[_0x3ead80(0x37a)][_0x3ead80(0x609)](this);return _0x548734['_data']=this[_0x3ead80(0x36d)]['clone'](),_0x548734;},'_minBufferSize':0x0});_0x3c5a86['Hasher']=_0x18e661[_0x40a69e(0x42c)]({'cfg':_0x2b1085[_0x40a69e(0x42c)](),'init':function(_0x396e1c){const _0x2d0544=_0x40a69e;this[_0x2d0544(0x4da)]=this[_0x2d0544(0x4da)][_0x2d0544(0x42c)](_0x396e1c),this[_0x2d0544(0x495)]();},'reset':function(){const _0x37b5e7=_0x40a69e;_0x18e661[_0x37b5e7(0x495)][_0x37b5e7(0x609)](this),this[_0x37b5e7(0x43f)]();},'update':function(_0x57eec4){const _0x528e15=_0x40a69e;return this[_0x528e15(0x1c7)](_0x57eec4),this['_process'](),this;},'finalize':function(_0x75f305){const _0x59e849=_0x40a69e;_0x75f305&&this[_0x59e849(0x1c7)](_0x75f305);var _0x2b61f7=this[_0x59e849(0x274)]();return _0x2b61f7;},'blockSize':0x10,'_createHelper':function(_0x37e110){return function(_0x44350f,_0xce4c6b){const _0x5387f0=_0x1d09;return new _0x37e110[(_0x5387f0(0x4ac))](_0xce4c6b)[_0x5387f0(0x360)](_0x44350f);};},'_createHmacHelper':function(_0x5bec1c){return function(_0x2c24b6,_0xfe1da0){const _0x2e8f9b=_0x1d09;return new _0x51f152[(_0x2e8f9b(0x225))][(_0x2e8f9b(0x4ac))](_0x5bec1c,_0xfe1da0)[_0x2e8f9b(0x360)](_0x2c24b6);};}});var _0x51f152=_0x389650['algo']={};return _0x389650;}(Math);return _0x490e51;}));}(at)),at[_0x2f4b0e(0x53d)];}var En={'exports':{}};(function(_0xd33270,_0x244a13){(function(_0x568a9a,_0x49cc35){_0xd33270['exports']=_0x49cc35(oe());}(X,function(_0x2c198e){const _0x1dd035=_0x1d09;return(function(){const _0x5eb3d0=_0x1d09;var _0x485d8e=_0x2c198e,_0x28faed=_0x485d8e['lib'],_0xa09f4e=_0x28faed[_0x5eb3d0(0x579)],_0xd8baca=_0x485d8e[_0x5eb3d0(0x500)];_0xd8baca['Base64']={'stringify':function(_0x52510b){const _0x4b685e=_0x5eb3d0;var _0x40003f=_0x52510b[_0x4b685e(0x202)],_0x28e346=_0x52510b[_0x4b685e(0x595)],_0x283b3e=this[_0x4b685e(0x416)];_0x52510b['clamp']();for(var _0x31390b=[],_0x32fe94=0x0;_0x32fe94<_0x28e346;_0x32fe94+=0x3)for(var _0x4cad70=_0x40003f[_0x32fe94>>>0x2]>>>0x18-_0x32fe94%0x4*0x8&0xff,_0x2733e3=_0x40003f[_0x32fe94+0x1>>>0x2]>>>0x18-(_0x32fe94+0x1)%0x4*0x8&0xff,_0x628c2c=_0x40003f[_0x32fe94+0x2>>>0x2]>>>0x18-(_0x32fe94+0x2)%0x4*0x8&0xff,_0xf83b35=_0x4cad70<<0x10|_0x2733e3<<0x8|_0x628c2c,_0x5698c4=0x0;_0x5698c4<0x4&&_0x32fe94+_0x5698c4*0.75<_0x28e346;_0x5698c4++)_0x31390b[_0x4b685e(0x2be)](_0x283b3e[_0x4b685e(0x230)](_0xf83b35>>>0x6*(0x3-_0x5698c4)&0x3f));var _0x278e09=_0x283b3e[_0x4b685e(0x230)](0x40);if(_0x278e09){for(;_0x31390b['length']%0x4;)_0x31390b['push'](_0x278e09);}return _0x31390b[_0x4b685e(0x1dd)]('');},'parse':function(_0x138fb4){const _0x17e3a6=_0x5eb3d0;var _0x433042=_0x138fb4[_0x17e3a6(0x4f2)],_0x287a4b=this[_0x17e3a6(0x416)],_0x4650e9=this[_0x17e3a6(0x52b)];if(!_0x4650e9){_0x4650e9=this['_reverseMap']=[];for(var _0x14f36a=0x0;_0x14f36a<_0x287a4b[_0x17e3a6(0x4f2)];_0x14f36a++)_0x4650e9[_0x287a4b['charCodeAt'](_0x14f36a)]=_0x14f36a;}var _0x5022dc=_0x287a4b[_0x17e3a6(0x230)](0x40);if(_0x5022dc){var _0x4b6f25=_0x138fb4[_0x17e3a6(0x5cc)](_0x5022dc);_0x4b6f25!==-0x1&&(_0x433042=_0x4b6f25);}return _0x8a0788(_0x138fb4,_0x433042,_0x4650e9);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x8a0788(_0x173ac7,_0x197d73,_0x58f1ff){const _0x3ed8b1=_0x5eb3d0;for(var _0x9703f0=[],_0x8203dd=0x0,_0x2c8fb8=0x0;_0x2c8fb8<_0x197d73;_0x2c8fb8++)if(_0x2c8fb8%0x4){var _0x502737=_0x58f1ff[_0x173ac7['charCodeAt'](_0x2c8fb8-0x1)]<<_0x2c8fb8%0x4*0x2,_0xf12915=_0x58f1ff[_0x173ac7[_0x3ed8b1(0x555)](_0x2c8fb8)]>>>0x6-_0x2c8fb8%0x4*0x2,_0x40d8c5=_0x502737|_0xf12915;_0x9703f0[_0x8203dd>>>0x2]|=_0x40d8c5<<0x18-_0x8203dd%0x4*0x8,_0x8203dd++;}return _0xa09f4e[_0x3ed8b1(0x4c0)](_0x9703f0,_0x8203dd);}}()),_0x2c198e[_0x1dd035(0x500)][_0x1dd035(0x56e)];}));}(En));var bn=En[_0x132fae(0x53d)];const Wt=xe(bn);var ct={'exports':{}},Ft;function Js(){return Ft||(Ft=0x1,function(_0x7ed3f2,_0x54319a){(function(_0x2068df,_0x145cd5){const _0x5da74b=_0x1d09;_0x7ed3f2[_0x5da74b(0x53d)]=_0x145cd5(oe());}(X,function(_0x2d62f6){const _0x29a529=_0x1d09;return function(_0x10eb71){const _0x48907f=_0x1d09;var _0xfdaa60=_0x2d62f6,_0x2667e0=_0xfdaa60[_0x48907f(0x2bc)],_0x188665=_0x2667e0[_0x48907f(0x579)],_0xaa98d=_0x2667e0['Hasher'],_0x257dfc=_0xfdaa60[_0x48907f(0x3be)],_0x15bcf8=[];(function(){const _0x419d0c=_0x48907f;for(var _0x22c7e0=0x0;_0x22c7e0<0x40;_0x22c7e0++)_0x15bcf8[_0x22c7e0]=_0x10eb71[_0x419d0c(0x5dc)](_0x10eb71[_0x419d0c(0x5f1)](_0x22c7e0+0x1))*0x100000000|0x0;}());var _0x4eec73=_0x257dfc['MD5']=_0xaa98d[_0x48907f(0x42c)]({'_doReset':function(){const _0x390f39=_0x48907f;this[_0x390f39(0x1d4)]=new _0x188665['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x9ed214,_0x42225f){const _0x2c692d=_0x48907f;for(var _0x277400=0x0;_0x277400<0x10;_0x277400++){var _0x47579f=_0x42225f+_0x277400,_0x522a97=_0x9ed214[_0x47579f];_0x9ed214[_0x47579f]=(_0x522a97<<0x8|_0x522a97>>>0x18)&0xff00ff|(_0x522a97<<0x18|_0x522a97>>>0x8)&0xff00ff00;}var _0x481dfe=this[_0x2c692d(0x1d4)][_0x2c692d(0x202)],_0x2c80a3=_0x9ed214[_0x42225f+0x0],_0x543139=_0x9ed214[_0x42225f+0x1],_0x4bc36f=_0x9ed214[_0x42225f+0x2],_0x107722=_0x9ed214[_0x42225f+0x3],_0x471f4b=_0x9ed214[_0x42225f+0x4],_0x90914d=_0x9ed214[_0x42225f+0x5],_0x240fd3=_0x9ed214[_0x42225f+0x6],_0x599af2=_0x9ed214[_0x42225f+0x7],_0x35ef3b=_0x9ed214[_0x42225f+0x8],_0x3a04f8=_0x9ed214[_0x42225f+0x9],_0x58e856=_0x9ed214[_0x42225f+0xa],_0x8540da=_0x9ed214[_0x42225f+0xb],_0x45c003=_0x9ed214[_0x42225f+0xc],_0x4f9b05=_0x9ed214[_0x42225f+0xd],_0x5a47fb=_0x9ed214[_0x42225f+0xe],_0x432ab7=_0x9ed214[_0x42225f+0xf],_0x3f75da=_0x481dfe[0x0],_0x201a37=_0x481dfe[0x1],_0x109036=_0x481dfe[0x2],_0x19107f=_0x481dfe[0x3];_0x3f75da=_0x379487(_0x3f75da,_0x201a37,_0x109036,_0x19107f,_0x2c80a3,0x7,_0x15bcf8[0x0]),_0x19107f=_0x379487(_0x19107f,_0x3f75da,_0x201a37,_0x109036,_0x543139,0xc,_0x15bcf8[0x1]),_0x109036=_0x379487(_0x109036,_0x19107f,_0x3f75da,_0x201a37,_0x4bc36f,0x11,_0x15bcf8[0x2]),_0x201a37=_0x379487(_0x201a37,_0x109036,_0x19107f,_0x3f75da,_0x107722,0x16,_0x15bcf8[0x3]),_0x3f75da=_0x379487(_0x3f75da,_0x201a37,_0x109036,_0x19107f,_0x471f4b,0x7,_0x15bcf8[0x4]),_0x19107f=_0x379487(_0x19107f,_0x3f75da,_0x201a37,_0x109036,_0x90914d,0xc,_0x15bcf8[0x5]),_0x109036=_0x379487(_0x109036,_0x19107f,_0x3f75da,_0x201a37,_0x240fd3,0x11,_0x15bcf8[0x6]),_0x201a37=_0x379487(_0x201a37,_0x109036,_0x19107f,_0x3f75da,_0x599af2,0x16,_0x15bcf8[0x7]),_0x3f75da=_0x379487(_0x3f75da,_0x201a37,_0x109036,_0x19107f,_0x35ef3b,0x7,_0x15bcf8[0x8]),_0x19107f=_0x379487(_0x19107f,_0x3f75da,_0x201a37,_0x109036,_0x3a04f8,0xc,_0x15bcf8[0x9]),_0x109036=_0x379487(_0x109036,_0x19107f,_0x3f75da,_0x201a37,_0x58e856,0x11,_0x15bcf8[0xa]),_0x201a37=_0x379487(_0x201a37,_0x109036,_0x19107f,_0x3f75da,_0x8540da,0x16,_0x15bcf8[0xb]),_0x3f75da=_0x379487(_0x3f75da,_0x201a37,_0x109036,_0x19107f,_0x45c003,0x7,_0x15bcf8[0xc]),_0x19107f=_0x379487(_0x19107f,_0x3f75da,_0x201a37,_0x109036,_0x4f9b05,0xc,_0x15bcf8[0xd]),_0x109036=_0x379487(_0x109036,_0x19107f,_0x3f75da,_0x201a37,_0x5a47fb,0x11,_0x15bcf8[0xe]),_0x201a37=_0x379487(_0x201a37,_0x109036,_0x19107f,_0x3f75da,_0x432ab7,0x16,_0x15bcf8[0xf]),_0x3f75da=_0xad3f28(_0x3f75da,_0x201a37,_0x109036,_0x19107f,_0x543139,0x5,_0x15bcf8[0x10]),_0x19107f=_0xad3f28(_0x19107f,_0x3f75da,_0x201a37,_0x109036,_0x240fd3,0x9,_0x15bcf8[0x11]),_0x109036=_0xad3f28(_0x109036,_0x19107f,_0x3f75da,_0x201a37,_0x8540da,0xe,_0x15bcf8[0x12]),_0x201a37=_0xad3f28(_0x201a37,_0x109036,_0x19107f,_0x3f75da,_0x2c80a3,0x14,_0x15bcf8[0x13]),_0x3f75da=_0xad3f28(_0x3f75da,_0x201a37,_0x109036,_0x19107f,_0x90914d,0x5,_0x15bcf8[0x14]),_0x19107f=_0xad3f28(_0x19107f,_0x3f75da,_0x201a37,_0x109036,_0x58e856,0x9,_0x15bcf8[0x15]),_0x109036=_0xad3f28(_0x109036,_0x19107f,_0x3f75da,_0x201a37,_0x432ab7,0xe,_0x15bcf8[0x16]),_0x201a37=_0xad3f28(_0x201a37,_0x109036,_0x19107f,_0x3f75da,_0x471f4b,0x14,_0x15bcf8[0x17]),_0x3f75da=_0xad3f28(_0x3f75da,_0x201a37,_0x109036,_0x19107f,_0x3a04f8,0x5,_0x15bcf8[0x18]),_0x19107f=_0xad3f28(_0x19107f,_0x3f75da,_0x201a37,_0x109036,_0x5a47fb,0x9,_0x15bcf8[0x19]),_0x109036=_0xad3f28(_0x109036,_0x19107f,_0x3f75da,_0x201a37,_0x107722,0xe,_0x15bcf8[0x1a]),_0x201a37=_0xad3f28(_0x201a37,_0x109036,_0x19107f,_0x3f75da,_0x35ef3b,0x14,_0x15bcf8[0x1b]),_0x3f75da=_0xad3f28(_0x3f75da,_0x201a37,_0x109036,_0x19107f,_0x4f9b05,0x5,_0x15bcf8[0x1c]),_0x19107f=_0xad3f28(_0x19107f,_0x3f75da,_0x201a37,_0x109036,_0x4bc36f,0x9,_0x15bcf8[0x1d]),_0x109036=_0xad3f28(_0x109036,_0x19107f,_0x3f75da,_0x201a37,_0x599af2,0xe,_0x15bcf8[0x1e]),_0x201a37=_0xad3f28(_0x201a37,_0x109036,_0x19107f,_0x3f75da,_0x45c003,0x14,_0x15bcf8[0x1f]),_0x3f75da=_0x3a7ed8(_0x3f75da,_0x201a37,_0x109036,_0x19107f,_0x90914d,0x4,_0x15bcf8[0x20]),_0x19107f=_0x3a7ed8(_0x19107f,_0x3f75da,_0x201a37,_0x109036,_0x35ef3b,0xb,_0x15bcf8[0x21]),_0x109036=_0x3a7ed8(_0x109036,_0x19107f,_0x3f75da,_0x201a37,_0x8540da,0x10,_0x15bcf8[0x22]),_0x201a37=_0x3a7ed8(_0x201a37,_0x109036,_0x19107f,_0x3f75da,_0x5a47fb,0x17,_0x15bcf8[0x23]),_0x3f75da=_0x3a7ed8(_0x3f75da,_0x201a37,_0x109036,_0x19107f,_0x543139,0x4,_0x15bcf8[0x24]),_0x19107f=_0x3a7ed8(_0x19107f,_0x3f75da,_0x201a37,_0x109036,_0x471f4b,0xb,_0x15bcf8[0x25]),_0x109036=_0x3a7ed8(_0x109036,_0x19107f,_0x3f75da,_0x201a37,_0x599af2,0x10,_0x15bcf8[0x26]),_0x201a37=_0x3a7ed8(_0x201a37,_0x109036,_0x19107f,_0x3f75da,_0x58e856,0x17,_0x15bcf8[0x27]),_0x3f75da=_0x3a7ed8(_0x3f75da,_0x201a37,_0x109036,_0x19107f,_0x4f9b05,0x4,_0x15bcf8[0x28]),_0x19107f=_0x3a7ed8(_0x19107f,_0x3f75da,_0x201a37,_0x109036,_0x2c80a3,0xb,_0x15bcf8[0x29]),_0x109036=_0x3a7ed8(_0x109036,_0x19107f,_0x3f75da,_0x201a37,_0x107722,0x10,_0x15bcf8[0x2a]),_0x201a37=_0x3a7ed8(_0x201a37,_0x109036,_0x19107f,_0x3f75da,_0x240fd3,0x17,_0x15bcf8[0x2b]),_0x3f75da=_0x3a7ed8(_0x3f75da,_0x201a37,_0x109036,_0x19107f,_0x3a04f8,0x4,_0x15bcf8[0x2c]),_0x19107f=_0x3a7ed8(_0x19107f,_0x3f75da,_0x201a37,_0x109036,_0x45c003,0xb,_0x15bcf8[0x2d]),_0x109036=_0x3a7ed8(_0x109036,_0x19107f,_0x3f75da,_0x201a37,_0x432ab7,0x10,_0x15bcf8[0x2e]),_0x201a37=_0x3a7ed8(_0x201a37,_0x109036,_0x19107f,_0x3f75da,_0x4bc36f,0x17,_0x15bcf8[0x2f]),_0x3f75da=_0x9674aa(_0x3f75da,_0x201a37,_0x109036,_0x19107f,_0x2c80a3,0x6,_0x15bcf8[0x30]),_0x19107f=_0x9674aa(_0x19107f,_0x3f75da,_0x201a37,_0x109036,_0x599af2,0xa,_0x15bcf8[0x31]),_0x109036=_0x9674aa(_0x109036,_0x19107f,_0x3f75da,_0x201a37,_0x5a47fb,0xf,_0x15bcf8[0x32]),_0x201a37=_0x9674aa(_0x201a37,_0x109036,_0x19107f,_0x3f75da,_0x90914d,0x15,_0x15bcf8[0x33]),_0x3f75da=_0x9674aa(_0x3f75da,_0x201a37,_0x109036,_0x19107f,_0x45c003,0x6,_0x15bcf8[0x34]),_0x19107f=_0x9674aa(_0x19107f,_0x3f75da,_0x201a37,_0x109036,_0x107722,0xa,_0x15bcf8[0x35]),_0x109036=_0x9674aa(_0x109036,_0x19107f,_0x3f75da,_0x201a37,_0x58e856,0xf,_0x15bcf8[0x36]),_0x201a37=_0x9674aa(_0x201a37,_0x109036,_0x19107f,_0x3f75da,_0x543139,0x15,_0x15bcf8[0x37]),_0x3f75da=_0x9674aa(_0x3f75da,_0x201a37,_0x109036,_0x19107f,_0x35ef3b,0x6,_0x15bcf8[0x38]),_0x19107f=_0x9674aa(_0x19107f,_0x3f75da,_0x201a37,_0x109036,_0x432ab7,0xa,_0x15bcf8[0x39]),_0x109036=_0x9674aa(_0x109036,_0x19107f,_0x3f75da,_0x201a37,_0x240fd3,0xf,_0x15bcf8[0x3a]),_0x201a37=_0x9674aa(_0x201a37,_0x109036,_0x19107f,_0x3f75da,_0x4f9b05,0x15,_0x15bcf8[0x3b]),_0x3f75da=_0x9674aa(_0x3f75da,_0x201a37,_0x109036,_0x19107f,_0x471f4b,0x6,_0x15bcf8[0x3c]),_0x19107f=_0x9674aa(_0x19107f,_0x3f75da,_0x201a37,_0x109036,_0x8540da,0xa,_0x15bcf8[0x3d]),_0x109036=_0x9674aa(_0x109036,_0x19107f,_0x3f75da,_0x201a37,_0x4bc36f,0xf,_0x15bcf8[0x3e]),_0x201a37=_0x9674aa(_0x201a37,_0x109036,_0x19107f,_0x3f75da,_0x3a04f8,0x15,_0x15bcf8[0x3f]),_0x481dfe[0x0]=_0x481dfe[0x0]+_0x3f75da|0x0,_0x481dfe[0x1]=_0x481dfe[0x1]+_0x201a37|0x0,_0x481dfe[0x2]=_0x481dfe[0x2]+_0x109036|0x0,_0x481dfe[0x3]=_0x481dfe[0x3]+_0x19107f|0x0;},'_doFinalize':function(){const _0x190043=_0x48907f;var _0x37d159=this[_0x190043(0x36d)],_0x863e33=_0x37d159[_0x190043(0x202)],_0x2ff1ac=this['_nDataBytes']*0x8,_0x30d708=_0x37d159['sigBytes']*0x8;_0x863e33[_0x30d708>>>0x5]|=0x80<<0x18-_0x30d708%0x20;var _0x3994e7=_0x10eb71['floor'](_0x2ff1ac/0x100000000),_0x3a190c=_0x2ff1ac;_0x863e33[(_0x30d708+0x40>>>0x9<<0x4)+0xf]=(_0x3994e7<<0x8|_0x3994e7>>>0x18)&0xff00ff|(_0x3994e7<<0x18|_0x3994e7>>>0x8)&0xff00ff00,_0x863e33[(_0x30d708+0x40>>>0x9<<0x4)+0xe]=(_0x3a190c<<0x8|_0x3a190c>>>0x18)&0xff00ff|(_0x3a190c<<0x18|_0x3a190c>>>0x8)&0xff00ff00,_0x37d159['sigBytes']=(_0x863e33[_0x190043(0x4f2)]+0x1)*0x4,this['_process']();for(var _0xb8b2f6=this[_0x190043(0x1d4)],_0x552018=_0xb8b2f6[_0x190043(0x202)],_0x16eacb=0x0;_0x16eacb<0x4;_0x16eacb++){var _0x32cdbd=_0x552018[_0x16eacb];_0x552018[_0x16eacb]=(_0x32cdbd<<0x8|_0x32cdbd>>>0x18)&0xff00ff|(_0x32cdbd<<0x18|_0x32cdbd>>>0x8)&0xff00ff00;}return _0xb8b2f6;},'clone':function(){const _0x474d88=_0x48907f;var _0x3b8ab8=_0xaa98d['clone'][_0x474d88(0x609)](this);return _0x3b8ab8[_0x474d88(0x1d4)]=this[_0x474d88(0x1d4)]['clone'](),_0x3b8ab8;}});function _0x379487(_0x546c5f,_0x51964e,_0x5c817f,_0x58c06a,_0x4dfc62,_0x17a2db,_0x33bde8){var _0x4e3467=_0x546c5f+(_0x51964e&_0x5c817f|~_0x51964e&_0x58c06a)+_0x4dfc62+_0x33bde8;return(_0x4e3467<<_0x17a2db|_0x4e3467>>>0x20-_0x17a2db)+_0x51964e;}function _0xad3f28(_0x3f1a32,_0x1c95d1,_0x96232a,_0x4848c7,_0xfc4ae2,_0x3f0950,_0x4439ec){var _0x5c99d4=_0x3f1a32+(_0x1c95d1&_0x4848c7|_0x96232a&~_0x4848c7)+_0xfc4ae2+_0x4439ec;return(_0x5c99d4<<_0x3f0950|_0x5c99d4>>>0x20-_0x3f0950)+_0x1c95d1;}function _0x3a7ed8(_0x2e387e,_0x4d6dfa,_0x79f777,_0x555dbf,_0x37377f,_0x1b89f6,_0x28dea7){var _0x3d6d9a=_0x2e387e+(_0x4d6dfa^_0x79f777^_0x555dbf)+_0x37377f+_0x28dea7;return(_0x3d6d9a<<_0x1b89f6|_0x3d6d9a>>>0x20-_0x1b89f6)+_0x4d6dfa;}function _0x9674aa(_0x2dd70e,_0x4683f2,_0x140726,_0x425a25,_0x21897e,_0x44aea2,_0x20529a){var _0x957fb5=_0x2dd70e+(_0x140726^(_0x4683f2|~_0x425a25))+_0x21897e+_0x20529a;return(_0x957fb5<<_0x44aea2|_0x957fb5>>>0x20-_0x44aea2)+_0x4683f2;}_0xfdaa60[_0x48907f(0x3ed)]=_0xaa98d['_createHelper'](_0x4eec73),_0xfdaa60[_0x48907f(0x1ef)]=_0xaa98d[_0x48907f(0x197)](_0x4eec73);}(Math),_0x2d62f6[_0x29a529(0x3ed)];}));}(ct)),ct['exports'];}var lt={'exports':{}},ht={'exports':{}},Vt;function Zs(){const _0x121033=_0x132fae;return Vt||(Vt=0x1,function(_0x2e43bd,_0x41a178){(function(_0x22d277,_0xab2583){const _0x2779e3=_0x1d09;_0x2e43bd[_0x2779e3(0x53d)]=_0xab2583(oe());}(X,function(_0x523ad3){const _0x6c0be4=_0x1d09;return(function(){const _0x4f8c4a=_0x1d09;var _0x3c8fe4=_0x523ad3,_0xc55034=_0x3c8fe4[_0x4f8c4a(0x2bc)],_0x302f0f=_0xc55034[_0x4f8c4a(0x579)],_0x24b3cc=_0xc55034[_0x4f8c4a(0x1df)],_0x3e2981=_0x3c8fe4['algo'],_0x1e7b30=[],_0x3f90c0=_0x3e2981['SHA1']=_0x24b3cc[_0x4f8c4a(0x42c)]({'_doReset':function(){const _0x2611a8=_0x4f8c4a;this[_0x2611a8(0x1d4)]=new _0x302f0f[(_0x2611a8(0x4ac))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x52d911,_0x41a3ac){const _0x3dee7f=_0x4f8c4a;for(var _0x1d6167=this['_hash'][_0x3dee7f(0x202)],_0x9e61fa=_0x1d6167[0x0],_0x353661=_0x1d6167[0x1],_0x2e9b23=_0x1d6167[0x2],_0xe77087=_0x1d6167[0x3],_0x289851=_0x1d6167[0x4],_0xa23f46=0x0;_0xa23f46<0x50;_0xa23f46++){if(_0xa23f46<0x10)_0x1e7b30[_0xa23f46]=_0x52d911[_0x41a3ac+_0xa23f46]|0x0;else{var _0x550e=_0x1e7b30[_0xa23f46-0x3]^_0x1e7b30[_0xa23f46-0x8]^_0x1e7b30[_0xa23f46-0xe]^_0x1e7b30[_0xa23f46-0x10];_0x1e7b30[_0xa23f46]=_0x550e<<0x1|_0x550e>>>0x1f;}var _0x5c3302=(_0x9e61fa<<0x5|_0x9e61fa>>>0x1b)+_0x289851+_0x1e7b30[_0xa23f46];_0xa23f46<0x14?_0x5c3302+=(_0x353661&_0x2e9b23|~_0x353661&_0xe77087)+0x5a827999:_0xa23f46<0x28?_0x5c3302+=(_0x353661^_0x2e9b23^_0xe77087)+0x6ed9eba1:_0xa23f46<0x3c?_0x5c3302+=(_0x353661&_0x2e9b23|_0x353661&_0xe77087|_0x2e9b23&_0xe77087)-0x70e44324:_0x5c3302+=(_0x353661^_0x2e9b23^_0xe77087)-0x359d3e2a,_0x289851=_0xe77087,_0xe77087=_0x2e9b23,_0x2e9b23=_0x353661<<0x1e|_0x353661>>>0x2,_0x353661=_0x9e61fa,_0x9e61fa=_0x5c3302;}_0x1d6167[0x0]=_0x1d6167[0x0]+_0x9e61fa|0x0,_0x1d6167[0x1]=_0x1d6167[0x1]+_0x353661|0x0,_0x1d6167[0x2]=_0x1d6167[0x2]+_0x2e9b23|0x0,_0x1d6167[0x3]=_0x1d6167[0x3]+_0xe77087|0x0,_0x1d6167[0x4]=_0x1d6167[0x4]+_0x289851|0x0;},'_doFinalize':function(){const _0x253d92=_0x4f8c4a;var _0x3e1cb0=this[_0x253d92(0x36d)],_0x14069e=_0x3e1cb0[_0x253d92(0x202)],_0x210808=this[_0x253d92(0x56f)]*0x8,_0x8f1c2f=_0x3e1cb0[_0x253d92(0x595)]*0x8;return _0x14069e[_0x8f1c2f>>>0x5]|=0x80<<0x18-_0x8f1c2f%0x20,_0x14069e[(_0x8f1c2f+0x40>>>0x9<<0x4)+0xe]=Math[_0x253d92(0x4fc)](_0x210808/0x100000000),_0x14069e[(_0x8f1c2f+0x40>>>0x9<<0x4)+0xf]=_0x210808,_0x3e1cb0[_0x253d92(0x595)]=_0x14069e[_0x253d92(0x4f2)]*0x4,this['_process'](),this['_hash'];},'clone':function(){const _0x256e64=_0x4f8c4a;var _0x4ab949=_0x24b3cc[_0x256e64(0x37a)][_0x256e64(0x609)](this);return _0x4ab949[_0x256e64(0x1d4)]=this[_0x256e64(0x1d4)][_0x256e64(0x37a)](),_0x4ab949;}});_0x3c8fe4[_0x4f8c4a(0x331)]=_0x24b3cc[_0x4f8c4a(0x30f)](_0x3f90c0),_0x3c8fe4[_0x4f8c4a(0x46e)]=_0x24b3cc['_createHmacHelper'](_0x3f90c0);}()),_0x523ad3[_0x6c0be4(0x331)];}));}(ht)),ht[_0x121033(0x53d)];}var _t={'exports':{}},Gt;function Qs(){const _0x76da54=_0x132fae;return Gt||(Gt=0x1,function(_0xc1ebba,_0x46ca18){(function(_0xab679,_0xf16f7){const _0x236d78=_0x1d09;_0xc1ebba[_0x236d78(0x53d)]=_0xf16f7(oe());}(X,function(_0x215e5a){(function(){const _0x31b953=_0x1d09;var _0x3fcfec=_0x215e5a,_0x13b2e0=_0x3fcfec[_0x31b953(0x2bc)],_0xa11342=_0x13b2e0['Base'],_0x2a4759=_0x3fcfec[_0x31b953(0x500)],_0x5efbf4=_0x2a4759[_0x31b953(0x5c2)],_0x2a45b3=_0x3fcfec[_0x31b953(0x3be)];_0x2a45b3['HMAC']=_0xa11342[_0x31b953(0x42c)]({'init':function(_0x2a57cc,_0x3b8cce){const _0x30497b=_0x31b953;_0x2a57cc=this[_0x30497b(0x4c5)]=new _0x2a57cc[(_0x30497b(0x4ac))](),typeof _0x3b8cce=='string'&&(_0x3b8cce=_0x5efbf4[_0x30497b(0x5ea)](_0x3b8cce));var _0xcb9f6a=_0x2a57cc[_0x30497b(0x1ff)],_0x46cd36=_0xcb9f6a*0x4;_0x3b8cce[_0x30497b(0x595)]>_0x46cd36&&(_0x3b8cce=_0x2a57cc['finalize'](_0x3b8cce)),_0x3b8cce[_0x30497b(0x577)]();for(var _0x367e7a=this[_0x30497b(0x3cb)]=_0x3b8cce[_0x30497b(0x37a)](),_0x30700c=this[_0x30497b(0x4de)]=_0x3b8cce[_0x30497b(0x37a)](),_0x32f604=_0x367e7a[_0x30497b(0x202)],_0x2ce2cd=_0x30700c[_0x30497b(0x202)],_0x53d4d9=0x0;_0x53d4d9<_0xcb9f6a;_0x53d4d9++)_0x32f604[_0x53d4d9]^=0x5c5c5c5c,_0x2ce2cd[_0x53d4d9]^=0x36363636;_0x367e7a[_0x30497b(0x595)]=_0x30700c[_0x30497b(0x595)]=_0x46cd36,this[_0x30497b(0x495)]();},'reset':function(){const _0x3d26f0=_0x31b953;var _0x184ff7=this[_0x3d26f0(0x4c5)];_0x184ff7[_0x3d26f0(0x495)](),_0x184ff7['update'](this[_0x3d26f0(0x4de)]);},'update':function(_0x55a998){return this['_hasher']['update'](_0x55a998),this;},'finalize':function(_0x20b6da){const _0x52c4d5=_0x31b953;var _0x352754=this[_0x52c4d5(0x4c5)],_0x46bb2d=_0x352754[_0x52c4d5(0x360)](_0x20b6da);_0x352754[_0x52c4d5(0x495)]();var _0x4d59de=_0x352754[_0x52c4d5(0x360)](this[_0x52c4d5(0x3cb)][_0x52c4d5(0x37a)]()[_0x52c4d5(0x480)](_0x46bb2d));return _0x4d59de;}});}());}));}(_t)),_t[_0x76da54(0x53d)];}var Yt;function Tn(){const _0x2f64d2=_0x132fae;return Yt||(Yt=0x1,function(_0x93e921,_0x803880){(function(_0x253f19,_0x2369ce,_0x308a48){_0x93e921['exports']=_0x2369ce(oe(),Zs(),Qs());}(X,function(_0x3ad82f){return(function(){const _0x2aa0cf=_0x1d09;var _0x2fa761=_0x3ad82f,_0x28f632=_0x2fa761['lib'],_0x536e25=_0x28f632[_0x2aa0cf(0x59c)],_0x2cc7bb=_0x28f632[_0x2aa0cf(0x579)],_0x551507=_0x2fa761['algo'],_0x562a21=_0x551507['MD5'],_0x1e31eb=_0x551507[_0x2aa0cf(0x2cd)]=_0x536e25[_0x2aa0cf(0x42c)]({'cfg':_0x536e25[_0x2aa0cf(0x42c)]({'keySize':0x80/0x20,'hasher':_0x562a21,'iterations':0x1}),'init':function(_0x1f7d3b){const _0x1b2963=_0x2aa0cf;this[_0x1b2963(0x4da)]=this[_0x1b2963(0x4da)][_0x1b2963(0x42c)](_0x1f7d3b);},'compute':function(_0x49ee45,_0x171e58){const _0x228dbf=_0x2aa0cf;for(var _0x4a127e,_0x5b2c10=this[_0x228dbf(0x4da)],_0x1d285c=_0x5b2c10['hasher']['create'](),_0x58c4aa=_0x2cc7bb[_0x228dbf(0x4c0)](),_0x3280cc=_0x58c4aa[_0x228dbf(0x202)],_0x18d3ff=_0x5b2c10[_0x228dbf(0x39c)],_0x36e0f0=_0x5b2c10[_0x228dbf(0x583)];_0x3280cc[_0x228dbf(0x4f2)]<_0x18d3ff;){_0x4a127e&&_0x1d285c[_0x228dbf(0x252)](_0x4a127e),_0x4a127e=_0x1d285c[_0x228dbf(0x252)](_0x49ee45)[_0x228dbf(0x360)](_0x171e58),_0x1d285c[_0x228dbf(0x495)]();for(var _0x1df221=0x1;_0x1df221<_0x36e0f0;_0x1df221++)_0x4a127e=_0x1d285c['finalize'](_0x4a127e),_0x1d285c[_0x228dbf(0x495)]();_0x58c4aa[_0x228dbf(0x480)](_0x4a127e);}return _0x58c4aa['sigBytes']=_0x18d3ff*0x4,_0x58c4aa;}});_0x2fa761['EvpKDF']=function(_0x3227ab,_0x164e4e,_0x5eee49){const _0x3b7f52=_0x2aa0cf;return _0x1e31eb[_0x3b7f52(0x4c0)](_0x5eee49)[_0x3b7f52(0x3d1)](_0x3227ab,_0x164e4e);};}()),_0x3ad82f['EvpKDF'];}));}(lt)),lt[_0x2f64d2(0x53d)];}var ut={'exports':{}},Kt;function Rn(){const _0x2219cc=_0x132fae;return Kt||(Kt=0x1,function(_0x153311,_0x1875e0){(function(_0x5028a0,_0x474dbc,_0x40afcb){const _0x1e1cd7=_0x1d09;_0x153311[_0x1e1cd7(0x53d)]=_0x474dbc(oe(),Tn());}(X,function(_0x21184f){const _0x55d2ef=_0x1d09;_0x21184f[_0x55d2ef(0x2bc)][_0x55d2ef(0x53b)]||function(_0x53332a){const _0x3b625f=_0x55d2ef;var _0x374d5c=_0x21184f,_0x5cf567=_0x374d5c[_0x3b625f(0x2bc)],_0x27fb24=_0x5cf567[_0x3b625f(0x59c)],_0x2b425f=_0x5cf567['WordArray'],_0x1dbd89=_0x5cf567[_0x3b625f(0x546)],_0x389c27=_0x374d5c[_0x3b625f(0x500)];_0x389c27['Utf8'];var _0x9aecf6=_0x389c27[_0x3b625f(0x56e)],_0xdb0090=_0x374d5c[_0x3b625f(0x3be)],_0x2b4b47=_0xdb0090[_0x3b625f(0x2cd)],_0x5db09f=_0x5cf567[_0x3b625f(0x53b)]=_0x1dbd89[_0x3b625f(0x42c)]({'cfg':_0x27fb24[_0x3b625f(0x42c)](),'createEncryptor':function(_0x1baa95,_0x4fd12e){const _0x59e697=_0x3b625f;return this[_0x59e697(0x4c0)](this[_0x59e697(0x402)],_0x1baa95,_0x4fd12e);},'createDecryptor':function(_0x453859,_0x4d4f8c){const _0x2d4d6f=_0x3b625f;return this[_0x2d4d6f(0x4c0)](this[_0x2d4d6f(0x3a7)],_0x453859,_0x4d4f8c);},'init':function(_0x145c83,_0x58cb45,_0x1b56c3){const _0x4ab6ac=_0x3b625f;this['cfg']=this[_0x4ab6ac(0x4da)][_0x4ab6ac(0x42c)](_0x1b56c3),this[_0x4ab6ac(0x511)]=_0x145c83,this[_0x4ab6ac(0x502)]=_0x58cb45,this[_0x4ab6ac(0x495)]();},'reset':function(){const _0x305033=_0x3b625f;_0x1dbd89[_0x305033(0x495)][_0x305033(0x609)](this),this[_0x305033(0x43f)]();},'process':function(_0x2225b3){const _0x537f55=_0x3b625f;return this[_0x537f55(0x1c7)](_0x2225b3),this['_process']();},'finalize':function(_0x25d2e4){const _0x28c64=_0x3b625f;_0x25d2e4&&this[_0x28c64(0x1c7)](_0x25d2e4);var _0xc1cd26=this[_0x28c64(0x274)]();return _0xc1cd26;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x321b45(_0xe43328){const _0x49d206=_0x1d09;return typeof _0xe43328==_0x49d206(0x539)?_0x130b33:_0x2fd220;}return function(_0x6085eb){return{'encrypt':function(_0xfc0fb2,_0x3dfa5e,_0x5ad09e){const _0x3cca7b=_0x1d09;return _0x321b45(_0x3dfa5e)[_0x3cca7b(0x2b0)](_0x6085eb,_0xfc0fb2,_0x3dfa5e,_0x5ad09e);},'decrypt':function(_0x47edc6,_0x17ad9e,_0x9aa8df){const _0x3cfd69=_0x1d09;return _0x321b45(_0x17ad9e)[_0x3cfd69(0x262)](_0x6085eb,_0x47edc6,_0x17ad9e,_0x9aa8df);}};};}())});_0x5cf567['StreamCipher']=_0x5db09f[_0x3b625f(0x42c)]({'_doFinalize':function(){var _0x1689dc=this['_process'](!0x0);return _0x1689dc;},'blockSize':0x1});var _0x1d214f=_0x374d5c[_0x3b625f(0x435)]={},_0x1f611e=_0x5cf567[_0x3b625f(0x3f7)]=_0x27fb24[_0x3b625f(0x42c)]({'createEncryptor':function(_0xb20e9e,_0x387a9c){const _0x4c50fb=_0x3b625f;return this[_0x4c50fb(0x30e)]['create'](_0xb20e9e,_0x387a9c);},'createDecryptor':function(_0x33601b,_0x4bb16f){const _0x5529e4=_0x3b625f;return this['Decryptor'][_0x5529e4(0x4c0)](_0x33601b,_0x4bb16f);},'init':function(_0x38395d,_0x4eed04){const _0x59219d=_0x3b625f;this[_0x59219d(0x1be)]=_0x38395d,this[_0x59219d(0x314)]=_0x4eed04;}}),_0x52f4e3=_0x1d214f[_0x3b625f(0x24a)]=(function(){const _0x290cff=_0x3b625f;var _0x298853=_0x1f611e[_0x290cff(0x42c)]();_0x298853[_0x290cff(0x30e)]=_0x298853[_0x290cff(0x42c)]({'processBlock':function(_0x12ff36,_0x61768c){const _0x3a21ba=_0x290cff;var _0x2b27e9=this[_0x3a21ba(0x1be)],_0x550279=_0x2b27e9[_0x3a21ba(0x1ff)];_0x122a4f[_0x3a21ba(0x609)](this,_0x12ff36,_0x61768c,_0x550279),_0x2b27e9[_0x3a21ba(0x4d2)](_0x12ff36,_0x61768c),this[_0x3a21ba(0x32b)]=_0x12ff36['slice'](_0x61768c,_0x61768c+_0x550279);}}),_0x298853[_0x290cff(0x2bf)]=_0x298853[_0x290cff(0x42c)]({'processBlock':function(_0x4ef845,_0x2c181a){const _0x20cf6c=_0x290cff;var _0x239410=this[_0x20cf6c(0x1be)],_0x1be50a=_0x239410[_0x20cf6c(0x1ff)],_0x3995cb=_0x4ef845[_0x20cf6c(0x5ed)](_0x2c181a,_0x2c181a+_0x1be50a);_0x239410[_0x20cf6c(0x5c9)](_0x4ef845,_0x2c181a),_0x122a4f[_0x20cf6c(0x609)](this,_0x4ef845,_0x2c181a,_0x1be50a),this[_0x20cf6c(0x32b)]=_0x3995cb;}});function _0x122a4f(_0xf223b9,_0x15c392,_0x20fbde){const _0x2b7d28=_0x290cff;var _0x2e0521,_0x563302=this['_iv'];_0x563302?(_0x2e0521=_0x563302,this[_0x2b7d28(0x314)]=_0x53332a):_0x2e0521=this[_0x2b7d28(0x32b)];for(var _0x4ed4f8=0x0;_0x4ed4f8<_0x20fbde;_0x4ed4f8++)_0xf223b9[_0x15c392+_0x4ed4f8]^=_0x2e0521[_0x4ed4f8];}return _0x298853;}()),_0x36c329=_0x374d5c[_0x3b625f(0x421)]={},_0x5592d7=_0x36c329[_0x3b625f(0x648)]={'pad':function(_0x3a9357,_0x59ff68){const _0x4048c1=_0x3b625f;for(var _0x55ee9a=_0x59ff68*0x4,_0x53a40d=_0x55ee9a-_0x3a9357[_0x4048c1(0x595)]%_0x55ee9a,_0x50e7fb=_0x53a40d<<0x18|_0x53a40d<<0x10|_0x53a40d<<0x8|_0x53a40d,_0x30a62a=[],_0x195ca3=0x0;_0x195ca3<_0x53a40d;_0x195ca3+=0x4)_0x30a62a[_0x4048c1(0x2be)](_0x50e7fb);var _0x266585=_0x2b425f[_0x4048c1(0x4c0)](_0x30a62a,_0x53a40d);_0x3a9357[_0x4048c1(0x480)](_0x266585);},'unpad':function(_0xcaad87){const _0x52c294=_0x3b625f;var _0x24cf5f=_0xcaad87[_0x52c294(0x202)][_0xcaad87[_0x52c294(0x595)]-0x1>>>0x2]&0xff;_0xcaad87['sigBytes']-=_0x24cf5f;}};_0x5cf567[_0x3b625f(0x2f3)]=_0x5db09f[_0x3b625f(0x42c)]({'cfg':_0x5db09f['cfg']['extend']({'mode':_0x52f4e3,'padding':_0x5592d7}),'reset':function(){const _0x39a9dd=_0x3b625f;var _0x2138e7;_0x5db09f[_0x39a9dd(0x495)][_0x39a9dd(0x609)](this);var _0xb7a80b=this[_0x39a9dd(0x4da)],_0x209f99=_0xb7a80b['iv'],_0x3975de=_0xb7a80b[_0x39a9dd(0x435)];this['_xformMode']==this[_0x39a9dd(0x402)]?_0x2138e7=_0x3975de[_0x39a9dd(0x344)]:(_0x2138e7=_0x3975de[_0x39a9dd(0x3c8)],this['_minBufferSize']=0x1),this['_mode']&&this['_mode']['__creator']==_0x2138e7?this['_mode'][_0x39a9dd(0x4ac)](this,_0x209f99&&_0x209f99[_0x39a9dd(0x202)]):(this[_0x39a9dd(0x407)]=_0x2138e7[_0x39a9dd(0x609)](_0x3975de,this,_0x209f99&&_0x209f99[_0x39a9dd(0x202)]),this[_0x39a9dd(0x407)][_0x39a9dd(0x1bd)]=_0x2138e7);},'_doProcessBlock':function(_0x46a480,_0x337da3){const _0x423433=_0x3b625f;this['_mode'][_0x423433(0x235)](_0x46a480,_0x337da3);},'_doFinalize':function(){const _0x27fe1b=_0x3b625f;var _0x673f7f,_0x785e77=this['cfg'][_0x27fe1b(0x5c0)];return this[_0x27fe1b(0x511)]==this[_0x27fe1b(0x402)]?(_0x785e77[_0x27fe1b(0x421)](this['_data'],this['blockSize']),_0x673f7f=this['_process'](!0x0)):(_0x673f7f=this['_process'](!0x0),_0x785e77[_0x27fe1b(0x513)](_0x673f7f)),_0x673f7f;},'blockSize':0x80/0x20});var _0x1f1a1f=_0x5cf567[_0x3b625f(0x649)]=_0x27fb24[_0x3b625f(0x42c)]({'init':function(_0x20ba12){const _0x4856ef=_0x3b625f;this[_0x4856ef(0x523)](_0x20ba12);},'toString':function(_0x4cf100){const _0x29f50d=_0x3b625f;return(_0x4cf100||this[_0x29f50d(0x568)])[_0x29f50d(0x2cc)](this);}}),_0x264ad4=_0x374d5c['format']={},_0xdc569=_0x264ad4['OpenSSL']={'stringify':function(_0x14bca5){const _0x598192=_0x3b625f;var _0x2fd7c3,_0x395199=_0x14bca5[_0x598192(0x3df)],_0x46c43b=_0x14bca5[_0x598192(0x57c)];return _0x46c43b?_0x2fd7c3=_0x2b425f[_0x598192(0x4c0)]([0x53616c74,0x65645f5f])[_0x598192(0x480)](_0x46c43b)[_0x598192(0x480)](_0x395199):_0x2fd7c3=_0x395199,_0x2fd7c3['toString'](_0x9aecf6);},'parse':function(_0x615068){const _0x1fa67b=_0x3b625f;var _0x5c3b9e,_0x56b5d6=_0x9aecf6[_0x1fa67b(0x5ea)](_0x615068),_0x1e8955=_0x56b5d6['words'];return _0x1e8955[0x0]==0x53616c74&&_0x1e8955[0x1]==0x65645f5f&&(_0x5c3b9e=_0x2b425f[_0x1fa67b(0x4c0)](_0x1e8955[_0x1fa67b(0x5ed)](0x2,0x4)),_0x1e8955[_0x1fa67b(0x434)](0x0,0x4),_0x56b5d6[_0x1fa67b(0x595)]-=0x10),_0x1f1a1f[_0x1fa67b(0x4c0)]({'ciphertext':_0x56b5d6,'salt':_0x5c3b9e});}},_0x2fd220=_0x5cf567[_0x3b625f(0x43d)]=_0x27fb24['extend']({'cfg':_0x27fb24['extend']({'format':_0xdc569}),'encrypt':function(_0x4400e6,_0x2fada3,_0x2ffe41,_0x21dae8){const _0x5f243e=_0x3b625f;_0x21dae8=this[_0x5f243e(0x4da)]['extend'](_0x21dae8);var _0x56b5b2=_0x4400e6[_0x5f243e(0x344)](_0x2ffe41,_0x21dae8),_0x1a5126=_0x56b5b2[_0x5f243e(0x360)](_0x2fada3),_0x1315e7=_0x56b5b2['cfg'];return _0x1f1a1f[_0x5f243e(0x4c0)]({'ciphertext':_0x1a5126,'key':_0x2ffe41,'iv':_0x1315e7['iv'],'algorithm':_0x4400e6,'mode':_0x1315e7[_0x5f243e(0x435)],'padding':_0x1315e7[_0x5f243e(0x5c0)],'blockSize':_0x4400e6[_0x5f243e(0x1ff)],'formatter':_0x21dae8[_0x5f243e(0x5bb)]});},'decrypt':function(_0x4c2a28,_0x16487e,_0x4e7773,_0x266e5f){const _0x12b4c1=_0x3b625f;_0x266e5f=this['cfg'][_0x12b4c1(0x42c)](_0x266e5f),_0x16487e=this[_0x12b4c1(0x450)](_0x16487e,_0x266e5f[_0x12b4c1(0x5bb)]);var _0x590acd=_0x4c2a28['createDecryptor'](_0x4e7773,_0x266e5f)[_0x12b4c1(0x360)](_0x16487e[_0x12b4c1(0x3df)]);return _0x590acd;},'_parse':function(_0x425bdd,_0x2ebf26){const _0x4a79ad=_0x3b625f;return typeof _0x425bdd==_0x4a79ad(0x539)?_0x2ebf26['parse'](_0x425bdd,this):_0x425bdd;}}),_0x31d2f8=_0x374d5c['kdf']={},_0x395db4=_0x31d2f8[_0x3b625f(0x411)]={'execute':function(_0x3c28d0,_0x5114c7,_0x513378,_0x2d4af8,_0x489882){const _0x3b16fb=_0x3b625f;if(_0x2d4af8||(_0x2d4af8=_0x2b425f[_0x3b16fb(0x620)](0x40/0x8)),_0x489882)var _0x40237f=_0x2b4b47[_0x3b16fb(0x4c0)]({'keySize':_0x5114c7+_0x513378,'hasher':_0x489882})[_0x3b16fb(0x3d1)](_0x3c28d0,_0x2d4af8);else var _0x40237f=_0x2b4b47['create']({'keySize':_0x5114c7+_0x513378})[_0x3b16fb(0x3d1)](_0x3c28d0,_0x2d4af8);var _0xcf86dc=_0x2b425f['create'](_0x40237f[_0x3b16fb(0x202)][_0x3b16fb(0x5ed)](_0x5114c7),_0x513378*0x4);return _0x40237f[_0x3b16fb(0x595)]=_0x5114c7*0x4,_0x1f1a1f[_0x3b16fb(0x4c0)]({'key':_0x40237f,'iv':_0xcf86dc,'salt':_0x2d4af8});}},_0x130b33=_0x5cf567[_0x3b625f(0x1b2)]=_0x2fd220[_0x3b625f(0x42c)]({'cfg':_0x2fd220[_0x3b625f(0x4da)][_0x3b625f(0x42c)]({'kdf':_0x395db4}),'encrypt':function(_0xcd5fb5,_0x3cc559,_0x2971d0,_0x461d69){const _0x6cef11=_0x3b625f;_0x461d69=this[_0x6cef11(0x4da)][_0x6cef11(0x42c)](_0x461d69);var _0x544403=_0x461d69[_0x6cef11(0x1ba)][_0x6cef11(0x5d8)](_0x2971d0,_0xcd5fb5['keySize'],_0xcd5fb5[_0x6cef11(0x5c1)],_0x461d69[_0x6cef11(0x57c)],_0x461d69[_0x6cef11(0x576)]);_0x461d69['iv']=_0x544403['iv'];var _0x276c15=_0x2fd220['encrypt'][_0x6cef11(0x609)](this,_0xcd5fb5,_0x3cc559,_0x544403[_0x6cef11(0x1ac)],_0x461d69);return _0x276c15[_0x6cef11(0x523)](_0x544403),_0x276c15;},'decrypt':function(_0x24877,_0x37358c,_0x3119a1,_0x2563e6){const _0x6b4763=_0x3b625f;_0x2563e6=this[_0x6b4763(0x4da)][_0x6b4763(0x42c)](_0x2563e6),_0x37358c=this[_0x6b4763(0x450)](_0x37358c,_0x2563e6[_0x6b4763(0x5bb)]);var _0x5849f9=_0x2563e6[_0x6b4763(0x1ba)][_0x6b4763(0x5d8)](_0x3119a1,_0x24877[_0x6b4763(0x39c)],_0x24877[_0x6b4763(0x5c1)],_0x37358c[_0x6b4763(0x57c)],_0x2563e6[_0x6b4763(0x576)]);_0x2563e6['iv']=_0x5849f9['iv'];var _0xa5f3d8=_0x2fd220[_0x6b4763(0x262)][_0x6b4763(0x609)](this,_0x24877,_0x37358c,_0x5849f9[_0x6b4763(0x1ac)],_0x2563e6);return _0xa5f3d8;}});}();}));}(ut)),ut[_0x2219cc(0x53d)];}(function(_0x205659,_0xd56a){(function(_0x8665d7,_0x28435e,_0x5e0dae){_0x205659['exports']=_0x28435e(oe(),bn,Js(),Tn(),Rn());}(X,function(_0x35485e){return(function(){const _0x2ff03f=_0x1d09;var _0x132e1b=_0x35485e,_0x361c7a=_0x132e1b[_0x2ff03f(0x2bc)],_0x30fb91=_0x361c7a[_0x2ff03f(0x2f3)],_0x26b670=_0x132e1b[_0x2ff03f(0x3be)],_0xd22be6=[],_0x3d40aa=[],_0xf21727=[],_0x52cbee=[],_0x37c1dd=[],_0x1ff3a2=[],_0x5e5e80=[],_0x198f81=[],_0x8ecf29=[],_0x5eb341=[];(function(){for(var _0x3d700d=[],_0x405b26=0x0;_0x405b26<0x100;_0x405b26++)_0x405b26<0x80?_0x3d700d[_0x405b26]=_0x405b26<<0x1:_0x3d700d[_0x405b26]=_0x405b26<<0x1^0x11b;for(var _0x394bd3=0x0,_0x1333ac=0x0,_0x405b26=0x0;_0x405b26<0x100;_0x405b26++){var _0x2b92e2=_0x1333ac^_0x1333ac<<0x1^_0x1333ac<<0x2^_0x1333ac<<0x3^_0x1333ac<<0x4;_0x2b92e2=_0x2b92e2>>>0x8^_0x2b92e2&0xff^0x63,_0xd22be6[_0x394bd3]=_0x2b92e2,_0x3d40aa[_0x2b92e2]=_0x394bd3;var _0x5b01c8=_0x3d700d[_0x394bd3],_0x4e1844=_0x3d700d[_0x5b01c8],_0x283dc6=_0x3d700d[_0x4e1844],_0x54f225=_0x3d700d[_0x2b92e2]*0x101^_0x2b92e2*0x1010100;_0xf21727[_0x394bd3]=_0x54f225<<0x18|_0x54f225>>>0x8,_0x52cbee[_0x394bd3]=_0x54f225<<0x10|_0x54f225>>>0x10,_0x37c1dd[_0x394bd3]=_0x54f225<<0x8|_0x54f225>>>0x18,_0x1ff3a2[_0x394bd3]=_0x54f225;var _0x54f225=_0x283dc6*0x1010101^_0x4e1844*0x10001^_0x5b01c8*0x101^_0x394bd3*0x1010100;_0x5e5e80[_0x2b92e2]=_0x54f225<<0x18|_0x54f225>>>0x8,_0x198f81[_0x2b92e2]=_0x54f225<<0x10|_0x54f225>>>0x10,_0x8ecf29[_0x2b92e2]=_0x54f225<<0x8|_0x54f225>>>0x18,_0x5eb341[_0x2b92e2]=_0x54f225,_0x394bd3?(_0x394bd3=_0x5b01c8^_0x3d700d[_0x3d700d[_0x3d700d[_0x283dc6^_0x5b01c8]]],_0x1333ac^=_0x3d700d[_0x3d700d[_0x1333ac]]):_0x394bd3=_0x1333ac=0x1;}}());var _0xbae60e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x52fafd=_0x26b670[_0x2ff03f(0x1dc)]=_0x30fb91['extend']({'_doReset':function(){const _0x23944e=_0x2ff03f;var _0x27a748;if(!(this[_0x23944e(0x3ad)]&&this[_0x23944e(0x4c6)]===this[_0x23944e(0x502)])){for(var _0x330cff=this['_keyPriorReset']=this[_0x23944e(0x502)],_0x3a9f05=_0x330cff[_0x23944e(0x202)],_0x46a9e6=_0x330cff['sigBytes']/0x4,_0x2cfa52=this['_nRounds']=_0x46a9e6+0x6,_0x4db38a=(_0x2cfa52+0x1)*0x4,_0xdd34fb=this[_0x23944e(0x460)]=[],_0x26ec27=0x0;_0x26ec27<_0x4db38a;_0x26ec27++)_0x26ec27<_0x46a9e6?_0xdd34fb[_0x26ec27]=_0x3a9f05[_0x26ec27]:(_0x27a748=_0xdd34fb[_0x26ec27-0x1],_0x26ec27%_0x46a9e6?_0x46a9e6>0x6&&_0x26ec27%_0x46a9e6==0x4&&(_0x27a748=_0xd22be6[_0x27a748>>>0x18]<<0x18|_0xd22be6[_0x27a748>>>0x10&0xff]<<0x10|_0xd22be6[_0x27a748>>>0x8&0xff]<<0x8|_0xd22be6[_0x27a748&0xff]):(_0x27a748=_0x27a748<<0x8|_0x27a748>>>0x18,_0x27a748=_0xd22be6[_0x27a748>>>0x18]<<0x18|_0xd22be6[_0x27a748>>>0x10&0xff]<<0x10|_0xd22be6[_0x27a748>>>0x8&0xff]<<0x8|_0xd22be6[_0x27a748&0xff],_0x27a748^=_0xbae60e[_0x26ec27/_0x46a9e6|0x0]<<0x18),_0xdd34fb[_0x26ec27]=_0xdd34fb[_0x26ec27-_0x46a9e6]^_0x27a748);for(var _0x1feeaa=this[_0x23944e(0x63e)]=[],_0xc3ede6=0x0;_0xc3ede6<_0x4db38a;_0xc3ede6++){var _0x26ec27=_0x4db38a-_0xc3ede6;if(_0xc3ede6%0x4)var _0x27a748=_0xdd34fb[_0x26ec27];else var _0x27a748=_0xdd34fb[_0x26ec27-0x4];_0xc3ede6<0x4||_0x26ec27<=0x4?_0x1feeaa[_0xc3ede6]=_0x27a748:_0x1feeaa[_0xc3ede6]=_0x5e5e80[_0xd22be6[_0x27a748>>>0x18]]^_0x198f81[_0xd22be6[_0x27a748>>>0x10&0xff]]^_0x8ecf29[_0xd22be6[_0x27a748>>>0x8&0xff]]^_0x5eb341[_0xd22be6[_0x27a748&0xff]];}}},'encryptBlock':function(_0x276004,_0x1407db){const _0x32844d=_0x2ff03f;this['_doCryptBlock'](_0x276004,_0x1407db,this[_0x32844d(0x460)],_0xf21727,_0x52cbee,_0x37c1dd,_0x1ff3a2,_0xd22be6);},'decryptBlock':function(_0x11eec3,_0x57ad97){const _0x2883af=_0x2ff03f;var _0x248038=_0x11eec3[_0x57ad97+0x1];_0x11eec3[_0x57ad97+0x1]=_0x11eec3[_0x57ad97+0x3],_0x11eec3[_0x57ad97+0x3]=_0x248038,this[_0x2883af(0x3d3)](_0x11eec3,_0x57ad97,this[_0x2883af(0x63e)],_0x5e5e80,_0x198f81,_0x8ecf29,_0x5eb341,_0x3d40aa);var _0x248038=_0x11eec3[_0x57ad97+0x1];_0x11eec3[_0x57ad97+0x1]=_0x11eec3[_0x57ad97+0x3],_0x11eec3[_0x57ad97+0x3]=_0x248038;},'_doCryptBlock':function(_0x44fae2,_0x52a959,_0x450f6a,_0x305783,_0x4743f9,_0x35aa20,_0x3b34b6,_0x21a7b7){const _0x52062e=_0x2ff03f;for(var _0x13a219=this[_0x52062e(0x3ad)],_0x40d60d=_0x44fae2[_0x52a959]^_0x450f6a[0x0],_0x485b26=_0x44fae2[_0x52a959+0x1]^_0x450f6a[0x1],_0x55b3ec=_0x44fae2[_0x52a959+0x2]^_0x450f6a[0x2],_0x5ab147=_0x44fae2[_0x52a959+0x3]^_0x450f6a[0x3],_0x4d9ede=0x4,_0x6e4ae3=0x1;_0x6e4ae3<_0x13a219;_0x6e4ae3++){var _0x18089d=_0x305783[_0x40d60d>>>0x18]^_0x4743f9[_0x485b26>>>0x10&0xff]^_0x35aa20[_0x55b3ec>>>0x8&0xff]^_0x3b34b6[_0x5ab147&0xff]^_0x450f6a[_0x4d9ede++],_0x387d63=_0x305783[_0x485b26>>>0x18]^_0x4743f9[_0x55b3ec>>>0x10&0xff]^_0x35aa20[_0x5ab147>>>0x8&0xff]^_0x3b34b6[_0x40d60d&0xff]^_0x450f6a[_0x4d9ede++],_0x4a9337=_0x305783[_0x55b3ec>>>0x18]^_0x4743f9[_0x5ab147>>>0x10&0xff]^_0x35aa20[_0x40d60d>>>0x8&0xff]^_0x3b34b6[_0x485b26&0xff]^_0x450f6a[_0x4d9ede++],_0x187f07=_0x305783[_0x5ab147>>>0x18]^_0x4743f9[_0x40d60d>>>0x10&0xff]^_0x35aa20[_0x485b26>>>0x8&0xff]^_0x3b34b6[_0x55b3ec&0xff]^_0x450f6a[_0x4d9ede++];_0x40d60d=_0x18089d,_0x485b26=_0x387d63,_0x55b3ec=_0x4a9337,_0x5ab147=_0x187f07;}var _0x18089d=(_0x21a7b7[_0x40d60d>>>0x18]<<0x18|_0x21a7b7[_0x485b26>>>0x10&0xff]<<0x10|_0x21a7b7[_0x55b3ec>>>0x8&0xff]<<0x8|_0x21a7b7[_0x5ab147&0xff])^_0x450f6a[_0x4d9ede++],_0x387d63=(_0x21a7b7[_0x485b26>>>0x18]<<0x18|_0x21a7b7[_0x55b3ec>>>0x10&0xff]<<0x10|_0x21a7b7[_0x5ab147>>>0x8&0xff]<<0x8|_0x21a7b7[_0x40d60d&0xff])^_0x450f6a[_0x4d9ede++],_0x4a9337=(_0x21a7b7[_0x55b3ec>>>0x18]<<0x18|_0x21a7b7[_0x5ab147>>>0x10&0xff]<<0x10|_0x21a7b7[_0x40d60d>>>0x8&0xff]<<0x8|_0x21a7b7[_0x485b26&0xff])^_0x450f6a[_0x4d9ede++],_0x187f07=(_0x21a7b7[_0x5ab147>>>0x18]<<0x18|_0x21a7b7[_0x40d60d>>>0x10&0xff]<<0x10|_0x21a7b7[_0x485b26>>>0x8&0xff]<<0x8|_0x21a7b7[_0x55b3ec&0xff])^_0x450f6a[_0x4d9ede++];_0x44fae2[_0x52a959]=_0x18089d,_0x44fae2[_0x52a959+0x1]=_0x387d63,_0x44fae2[_0x52a959+0x2]=_0x4a9337,_0x44fae2[_0x52a959+0x3]=_0x187f07;},'keySize':0x100/0x20});_0x132e1b[_0x2ff03f(0x1dc)]=_0x30fb91[_0x2ff03f(0x30f)](_0x52fafd);}()),_0x35485e['AES'];}));}(Cn));var er=Cn['exports'];const tr=xe(er);var yn={'exports':{}};(function(_0x4f9d37,_0x4f40f3){(function(_0x2726ed,_0x5dc769){const _0x133da7=_0x1d09;_0x4f9d37[_0x133da7(0x53d)]=_0x5dc769(oe());}(X,function(_0x249103){const _0x2aefd7=_0x1d09;return _0x249103[_0x2aefd7(0x500)][_0x2aefd7(0x5c2)];}));}(yn));var nr=yn['exports'];const ir=xe(nr);var On={'exports':{}};(function(_0x40a872,_0xd5adef){(function(_0x233248,_0x36c236){const _0x38948d=_0x1d09;_0x40a872[_0x38948d(0x53d)]=_0x36c236(oe());}(X,function(_0x5166c9){const _0x30e438=_0x1d09;return(function(){const _0x3d028e=_0x1d09;if(typeof ArrayBuffer=='function'){var _0x587de9=_0x5166c9,_0x4c76bc=_0x587de9[_0x3d028e(0x2bc)],_0x4a19cd=_0x4c76bc[_0x3d028e(0x579)],_0x4f8ab4=_0x4a19cd[_0x3d028e(0x4ac)],_0x5210df=_0x4a19cd[_0x3d028e(0x4ac)]=function(_0x1a6cae){const _0xf3fd7c=_0x3d028e;if(_0x1a6cae instanceof ArrayBuffer&&(_0x1a6cae=new Uint8Array(_0x1a6cae)),(_0x1a6cae instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1a6cae instanceof Uint8ClampedArray||_0x1a6cae instanceof Int16Array||_0x1a6cae instanceof Uint16Array||_0x1a6cae instanceof Int32Array||_0x1a6cae instanceof Uint32Array||_0x1a6cae instanceof Float32Array||_0x1a6cae instanceof Float64Array)&&(_0x1a6cae=new Uint8Array(_0x1a6cae[_0xf3fd7c(0x659)],_0x1a6cae[_0xf3fd7c(0x350)],_0x1a6cae[_0xf3fd7c(0x3f8)])),_0x1a6cae instanceof Uint8Array){for(var _0xb47242=_0x1a6cae['byteLength'],_0x36563c=[],_0x2143f9=0x0;_0x2143f9<_0xb47242;_0x2143f9++)_0x36563c[_0x2143f9>>>0x2]|=_0x1a6cae[_0x2143f9]<<0x18-_0x2143f9%0x4*0x8;_0x4f8ab4[_0xf3fd7c(0x609)](this,_0x36563c,_0xb47242);}else _0x4f8ab4[_0xf3fd7c(0x48f)](this,arguments);};_0x5210df[_0x3d028e(0x2fa)]=_0x4a19cd;}}()),_0x5166c9[_0x30e438(0x2bc)][_0x30e438(0x579)];}));}(On));var sr=On[_0x132fae(0x53d)];const rr=xe(sr);var Dn={'exports':{}};(function(_0x297446,_0x154550){(function(_0x16e031,_0x30ed50,_0x1f3444){_0x297446['exports']=_0x30ed50(oe(),Rn());}(X,function(_0x2c3f1c){const _0x50f617=_0x1d09;return _0x2c3f1c['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2c3f1c[_0x50f617(0x421)][_0x50f617(0x2e9)];}));}(Dn));var or=Dn[_0x132fae(0x53d)];const ar=xe(or);function cr(_0x446491,_0x3833be){const _0xe1486a=_0x132fae,_0x454ec1=_0x3833be-_0x446491[_0xe1486a(0x4f2)]%_0x3833be,_0x23c958=String[_0xe1486a(0x4df)](_0x454ec1)[_0xe1486a(0x247)](_0x454ec1);return _0x446491+_0x23c958;}function lr(_0xdc911d,_0x1de804){const _0x1a32b4=_0x132fae,_0x20ef72=rr['random'](0x10),_0x1f7d56=cr(_0xdc911d,0x10),_0x2cde96=tr[_0x1a32b4(0x2b0)](ir[_0x1a32b4(0x5ea)](_0x1f7d56),Wt[_0x1a32b4(0x5ea)](_0x1de804),{'iv':_0x20ef72,'padding':ar});return _0x20ef72[_0x1a32b4(0x480)](_0x2cde96[_0x1a32b4(0x3df)])[_0x1a32b4(0x5d7)](Wt);}function hr(){const _0x286880=_0x132fae,_0x2cbc79=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x286880(0x30a)];if(_0x2cbc79){const _0x21e8bd={'time':Math[_0x286880(0x4fc)](Date[_0x286880(0x573)]()/0x3e8),'domain':location[_0x286880(0x54a)]};return lr(JSON['stringify'](_0x21e8bd),_0x2cbc79);}}var _r=Object[_0x132fae(0x564)],ur=Object['getOwnPropertyDescriptor'],dr=(_0x2a125e,_0x4a1e4e,_0x177880,_0x5aeff8)=>{const _0x3a7354=_0x132fae;for(var _0x4bc0ed=_0x5aeff8>0x1?void 0x0:_0x5aeff8?ur(_0x4a1e4e,_0x177880):_0x4a1e4e,_0x28d8fb=_0x2a125e[_0x3a7354(0x4f2)]-0x1,_0x9fe21b;_0x28d8fb>=0x0;_0x28d8fb--)(_0x9fe21b=_0x2a125e[_0x28d8fb])&&(_0x4bc0ed=(_0x5aeff8?_0x9fe21b(_0x4a1e4e,_0x177880,_0x4bc0ed):_0x9fe21b(_0x4bc0ed))||_0x4bc0ed);return _0x5aeff8&&_0x4bc0ed&&_r(_0x4a1e4e,_0x177880,_0x4bc0ed),_0x4bc0ed;},fr=(_0x3099fd,_0x40dc2c)=>(_0x504f2f,_0x33a583)=>_0x40dc2c(_0x504f2f,_0x33a583,_0x3099fd);let Ye=class{constructor(_0x210914){const _0x2b3540=_0x132fae;this[_0x2b3540(0x3fd)]=_0x210914,this['_initRequestHeader']();}['_initRequestHeader'](){const _0x45934e=_0x132fae;this[_0x45934e(0x3fd)]['registerHTTPInterceptor']({'interceptor':(_0x59bf1d,_0x1606ec)=>{const _0x563090=_0x45934e,_0x5541ae=_0x59bf1d['headers'],_0x577b65=hr();return _0x577b65&&_0x5541ae[_0x563090(0x61e)](_0x563090(0x5f3),_0x577b65),_0x1606ec(_0x59bf1d);}});}};Ye=dr([fr(0x0,a[_0x132fae(0x2d7)](Z['HTTPService']))],Ye);var vr=Object['defineProperty'],Sr=Object['getOwnPropertyDescriptor'],mr=(_0x35d505,_0x121155,_0x46daca,_0x20e4c3)=>{const _0x594400=_0x132fae;for(var _0x5a571d=_0x20e4c3>0x1?void 0x0:_0x20e4c3?Sr(_0x121155,_0x46daca):_0x121155,_0x2c7889=_0x35d505[_0x594400(0x4f2)]-0x1,_0xe62d82;_0x2c7889>=0x0;_0x2c7889--)(_0xe62d82=_0x35d505[_0x2c7889])&&(_0x5a571d=(_0x20e4c3?_0xe62d82(_0x121155,_0x46daca,_0x5a571d):_0xe62d82(_0x5a571d))||_0x5a571d);return _0x20e4c3&&_0x5a571d&&vr(_0x121155,_0x46daca,_0x5a571d),_0x5a571d;},dt=(_0x3d1515,_0x348b07)=>(_0x2f12b8,_0x4d33c8)=>_0x348b07(_0x2f12b8,_0x4d33c8,_0x3d1515);const pr=[_0x132fae(0x302),_0x132fae(0x5a3),_0x132fae(0x578),_0x132fae(0x3bc),_0x132fae(0x208)],gr=0x5*0x400*0x400,Ir=_0x132fae(0x310),Cr='/universer-api/stream/file/upload',Er='EXCHANGE_SIGN_URL_SERVER_URL_KEY',br=_0x132fae(0x608);exports[_0x132fae(0x1bb)]=class{constructor(_0x22efba,_0x4a9b28,_0x46979b){const _0x382960=_0x132fae;I(this,_0x382960(0x297),0x0),I(this,'_change$',new A[(_0x382960(0x49a))]()),I(this,'change$',this['_change$']),I(this,_0x382960(0x473),new Map()),(this[_0x382960(0x3fd)]=_0x22efba,this['_configService']=_0x4a9b28,this[_0x382960(0x2f4)]=_0x46979b);}[_0x132fae(0x1ce)](_0x5af57c){const _0xfff727=_0x132fae;this[_0xfff727(0x297)]=_0x5af57c,this['_change$'][_0xfff727(0x339)](_0x5af57c);}[_0x132fae(0x2ec)](_0x1e286c,_0x837896){const _0x19a4b2=_0x132fae;if(_0x837896===ne[_0x19a4b2(0x1fa)][_0x19a4b2(0x503)]){const _0x1a6cc4=new Image();return _0x1a6cc4['src']=_0x1e286c,_0x1a6cc4;}return this[_0x19a4b2(0x473)]['get'](_0x1e286c);}[_0x132fae(0x27b)](_0x35365e,_0x549c7e,_0x4f0807){const _0xd326a3=_0x132fae;_0x549c7e===ne['ImageSourceType'][_0xd326a3(0x503)]||_0x4f0807==null||this[_0xd326a3(0x473)][_0xd326a3(0x61e)](_0x35365e,_0x4f0807);}async[_0x132fae(0x287)](_0x4c5870){const _0x4c919e=_0x132fae;try{const _0x5ebfee=this[_0x4c919e(0x2a9)](this[_0x4c919e(0x1d9)](),''+_0x4c5870),_0xd9fe90=(await this[_0x4c919e(0x3fd)][_0x4c919e(0x479)](_0x5ebfee))[_0x4c919e(0x5a2)];if(_0xd9fe90[_0x4c919e(0x2bd)]&&_0xd9fe90[_0x4c919e(0x2bd)][_0x4c919e(0x1e2)]===rn['OK']){const _0x404def=new URL(_0xd9fe90[_0x4c919e(0x645)],this['_getDownloadEndpointURL']())[_0x4c919e(0x5d7)]();return Promise[_0x4c919e(0x484)](_0x404def);}return Promise[_0x4c919e(0x530)](_0xd9fe90[_0x4c919e(0x2bd)]);}catch(_0xe2b54a){return Promise[_0x4c919e(0x530)](_0xe2b54a);}}async[_0x132fae(0x547)](_0x3ec6c0){const _0x1f93b4=_0x132fae;let _0x158148='';if(!pr[_0x1f93b4(0x413)](_0x3ec6c0[_0x1f93b4(0x33b)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(ne[_0x1f93b4(0x233)][_0x1f93b4(0x4ee)]));if(_0x3ec6c0['size']>gr)return this['_decreaseWaiting'](),Promise[_0x1f93b4(0x530)](new Error(ne['ImageUploadStatusType'][_0x1f93b4(0x40b)]));try{const _0x3b4f1a=new FormData();_0x3b4f1a['append'](_0x1f93b4(0x54f),_0x3ec6c0);const _0x509fe6=this[_0x1f93b4(0x2f4)][_0x1f93b4(0x442)](),_0x9d6f1e=_0x509fe6==null?void 0x0:_0x509fe6[_0x1f93b4(0x4e6)]();if(!_0x9d6f1e)throw new Error(_0x1f93b4(0x36f));const _0x259e66=this[_0x1f93b4(0x3ee)]()+_0x1f93b4(0x5fa)+_0x3ec6c0[_0x1f93b4(0x3a5)]['toString']()+'&source='+on[_0x1f93b4(0x5b3)]+_0x1f93b4(0x268)+encodeURIComponent(_0x9d6f1e),_0x2d44f3=await(await fetch(_0x259e66,{'method':_0x1f93b4(0x293),'body':_0x3b4f1a}))[_0x1f93b4(0x44f)]();if(typeof _0x2d44f3[_0x1f93b4(0x4a5)]!=_0x1f93b4(0x539))return this['_decreaseWaiting'](),Promise[_0x1f93b4(0x530)](new Error(ne['ImageUploadStatusType'][_0x1f93b4(0x3c4)]));_0x158148=_0x2d44f3[_0x1f93b4(0x4a5)];}catch{return this[_0x1f93b4(0x284)](),Promise[_0x1f93b4(0x530)](new Error(ne[_0x1f93b4(0x233)]['ERROR_IMAGE']));}return new Promise((_0x1246d7,_0x5926e3)=>{const _0x1c61b2=_0x1f93b4,_0x2701fb=new FileReader();_0x2701fb[_0x1c61b2(0x4ff)](_0x3ec6c0),_0x2701fb[_0x1c61b2(0x347)]=_0x519805=>{const _0x22fd39=_0x1c61b2;var _0x156075;const _0x1f220e=(_0x156075=_0x519805[_0x22fd39(0x354)])==null?void 0x0:_0x156075['result'];if(_0x1f220e==null){this[_0x22fd39(0x284)](),_0x5926e3(new Error(ne[_0x22fd39(0x233)][_0x22fd39(0x3c4)]));return;}const _0x2bc951=a['Tools'][_0x22fd39(0x313)](0x6);_0x1246d7({'imageId':_0x2bc951,'imageSourceType':ne[_0x22fd39(0x1fa)][_0x22fd39(0x626)],'source':_0x158148,'base64Cache':_0x1f220e,'status':ne[_0x22fd39(0x233)][_0x22fd39(0x65b)]}),this[_0x22fd39(0x284)]();};});}[_0x132fae(0x3ee)](){const _0x3a05d8=_0x132fae;var _0x4a2d19,_0x3b93ad;const _0x3403bb=this[_0x3a05d8(0x3f5)][_0x3a05d8(0x368)](Ir),_0x20be21=this['_configService'][_0x3a05d8(0x368)](te);return(_0x3b93ad=(_0x4a2d19=_0x20be21==null?void 0x0:_0x20be21[_0x3a05d8(0x4f3)])!=null?_0x4a2d19:_0x3403bb)!=null?_0x3b93ad:Cr;}[_0x132fae(0x1d9)](){const _0x9c3381=_0x132fae;var _0x15d64f,_0x22619a;const _0x7fd67f=this[_0x9c3381(0x3f5)]['getConfig'](Er),_0x20ecac=this[_0x9c3381(0x3f5)][_0x9c3381(0x368)](te);return(_0x22619a=(_0x15d64f=_0x20ecac==null?void 0x0:_0x20ecac[_0x9c3381(0x333)])!=null?_0x15d64f:_0x7fd67f)!=null?_0x22619a:br;}[_0x132fae(0x4f1)](){const _0x4fdedc=_0x132fae;var _0x122379;const _0x256493=this['_configService'][_0x4fdedc(0x368)](te);return(_0x122379=_0x256493==null?void 0x0:_0x256493[_0x4fdedc(0x623)])!=null?_0x122379:location[_0x4fdedc(0x58b)];}['_replaceFileID'](_0x201a7d,_0x4af6c4){const _0x157398=_0x132fae;return _0x201a7d[_0x157398(0x4d0)](_0x157398(0x491),_0x4af6c4);}[_0x132fae(0x284)](){const _0x1ed212=_0x132fae;this[_0x1ed212(0x297)]-=0x1,this['_change$']['next'](this[_0x1ed212(0x297)]);}},exports[_0x132fae(0x1bb)]=mr([dt(0x0,a['Inject'](Z[_0x132fae(0x610)])),dt(0x1,a[_0x132fae(0x335)]),dt(0x2,a[_0x132fae(0x2d7)](a[_0x132fae(0x4ab)]))],exports[_0x132fae(0x1bb)]);var Tr=Object[_0x132fae(0x564)],Rr=Object[_0x132fae(0x405)],yr=(_0x1a90f2,_0xb6d17,_0x59d16b,_0x5866a9)=>{const _0x5a1867=_0x132fae;for(var _0x5e9c75=_0x5866a9>0x1?void 0x0:_0x5866a9?Rr(_0xb6d17,_0x59d16b):_0xb6d17,_0x34a87e=_0x1a90f2[_0x5a1867(0x4f2)]-0x1,_0xf8c67d;_0x34a87e>=0x0;_0x34a87e--)(_0xf8c67d=_0x1a90f2[_0x34a87e])&&(_0x5e9c75=(_0x5866a9?_0xf8c67d(_0xb6d17,_0x59d16b,_0x5e9c75):_0xf8c67d(_0x5e9c75))||_0x5e9c75);return _0x5866a9&&_0x5e9c75&&Tr(_0xb6d17,_0x59d16b,_0x5e9c75),_0x5e9c75;},Ae=(_0x4118d9,_0x23bdae)=>(_0x4cab5d,_0x435eb6)=>_0x23bdae(_0x4cab5d,_0x435eb6,_0x4118d9);let Ke=class extends a[_0x132fae(0x4ef)]{constructor(_0x5f5234,_0x2f5c11,_0x1a1fec,_0x41ef2d,_0x2ef9d0){const _0x569e4e=_0x132fae;super(),this['_injector']=_0x5f5234,this[_0x569e4e(0x2f4)]=_0x2f5c11,this[_0x569e4e(0x329)]=_0x1a1fec,this[_0x569e4e(0x62b)]=_0x41ef2d,this[_0x569e4e(0x2e5)]=_0x2ef9d0,this[_0x569e4e(0x5bd)](),this['_initCloseConn']();}['_initCloseConn'](){const _0x30c352=_0x132fae,_0x410ee8=async _0x4f4a21=>{const _0x13c664=_0x1d09;(await this[_0x13c664(0x62b)][_0x13c664(0x3db)](_0x4f4a21))['event$'][_0x13c664(0x226)](V['filter'](_0xdc00c9=>_0xdc00c9[_0x13c664(0x1d2)]===m[_0x13c664(0x1ad)][_0x13c664(0x2a7)]),V['takeUntil'](this[_0x13c664(0x4a1)]))[_0x13c664(0x2e1)](_0x26b5bc=>{const _0x38392b=_0x13c664,_0x487e47=_0x26b5bc,{reason:_0x5b0148}=_0x487e47[_0x38392b(0x397)];this[_0x38392b(0x459)][_0x38392b(0x479)](ee[_0x38392b(0x457)])[_0x38392b(0x395)]({'type':ge['MessageType'][_0x38392b(0x1f5)],'content':this[_0x38392b(0x2e5)]['t']('collaboration.closeRoom')+'('+_0x5b0148+')'}),this[_0x38392b(0x329)]['updatePermissionPoint'](new k['WorkbookEditablePermission'](_0x4f4a21)['id'],!0x1),this[_0x38392b(0x62b)][_0x38392b(0x3a3)](_0x4f4a21);});};A[_0x30c352(0x615)](this['_univerInstanceService'][_0x30c352(0x1ea)](a[_0x30c352(0x2b2)][_0x30c352(0x5f8)]),this[_0x30c352(0x2f4)][_0x30c352(0x1ea)](a[_0x30c352(0x2b2)][_0x30c352(0x21b)]))[_0x30c352(0x226)](V[_0x30c352(0x625)](_0x235a20=>_0x235a20['getUnitId']()),V[_0x30c352(0x5df)](_0x51c62f=>!a[_0x30c352(0x1c0)](_0x51c62f)),V[_0x30c352(0x26d)](this[_0x30c352(0x4a1)]))[_0x30c352(0x2e1)](_0x16c981=>{_0x410ee8(_0x16c981);});}[_0x132fae(0x5bd)](){const _0x3180ed=_0x132fae,_0x24919e=async _0x170e89=>{const _0x408749=_0x1d09;(await this[_0x408749(0x62b)]['requireSession'](_0x170e89))[_0x408749(0x227)][_0x408749(0x226)](V['filter'](_0x4969cd=>_0x4969cd[_0x408749(0x1d2)]===m['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),V['takeUntil'](this['dispose$']))['subscribe'](_0x1137de=>{const _0x331ff4=_0x408749,_0x361b3b=_0x1137de,{objectId:_0xbd3a6d}=_0x361b3b[_0x331ff4(0x397)],_0x366150=this[_0x331ff4(0x459)][_0x331ff4(0x479)](Re[_0x331ff4(0x1a6)]);_0xbd3a6d===_0x170e89?_0x366150[_0x331ff4(0x283)](_0x170e89):_0x366150[_0x331ff4(0x624)](_0x170e89,_0xbd3a6d);});};A['merge'](this['_univerInstanceService'][_0x3180ed(0x1ea)](a[_0x3180ed(0x2b2)][_0x3180ed(0x5f8)]),this[_0x3180ed(0x2f4)]['getTypeOfUnitAdded$'](a[_0x3180ed(0x2b2)][_0x3180ed(0x21b)]))['pipe'](V[_0x3180ed(0x625)](_0x594226=>_0x594226[_0x3180ed(0x4e6)]()),V[_0x3180ed(0x5df)](_0xa7009e=>!a['isInternalEditorID'](_0xa7009e)),V[_0x3180ed(0x26d)](this['dispose$']))[_0x3180ed(0x2e1)](_0x1ca270=>{_0x24919e(_0x1ca270);});}};Ke=yr([Ae(0x0,a['Inject'](a[_0x132fae(0x1e0)])),Ae(0x1,a[_0x132fae(0x4ab)]),Ae(0x2,a[_0x132fae(0x3ac)]),Ae(0x3,a[_0x132fae(0x2d7)](exports['CollaborationSessionService'])),Ae(0x4,a[_0x132fae(0x2d7)](a[_0x132fae(0x653)]))],Ke);var Or=Object[_0x132fae(0x564)],Dr=Object[_0x132fae(0x405)],wr=(_0x397732,_0x6deed4,_0x3f9186,_0x1211fa)=>{for(var _0x542838=_0x1211fa>0x1?void 0x0:_0x1211fa?Dr(_0x6deed4,_0x3f9186):_0x6deed4,_0x437c04=_0x397732['length']-0x1,_0x2c84d9;_0x437c04>=0x0;_0x437c04--)(_0x2c84d9=_0x397732[_0x437c04])&&(_0x542838=(_0x1211fa?_0x2c84d9(_0x6deed4,_0x3f9186,_0x542838):_0x2c84d9(_0x542838))||_0x542838);return _0x1211fa&&_0x542838&&Or(_0x6deed4,_0x3f9186,_0x542838),_0x542838;},qt=(_0x1aa32f,_0xab6275)=>(_0x2bb2c2,_0x20d4e2)=>_0xab6275(_0x2bb2c2,_0x20d4e2,_0x1aa32f);exports[_0x132fae(0x338)]=class{constructor(_0x44d733,_0x11c77b){const _0x578923=_0x132fae;this[_0x578923(0x3f5)]=_0x44d733,this[_0x578923(0x3fd)]=_0x11c77b;}async[_0x132fae(0x30c)](_0x36bff6,_0x134e59){const _0x5708da=_0x132fae;var _0x57b1f7;const {unitID:_0x117ae7,type:_0x3fa26d,revision:_0x34de93=0x0}=_0x134e59,_0x1a4acb=this[_0x5708da(0x63b)]()+'/'+_0x3fa26d+'/unit/'+_0x117ae7+'/rev/'+_0x34de93,_0x2999ec=(await this[_0x5708da(0x3fd)][_0x5708da(0x479)](_0x1a4acb))[_0x5708da(0x5a2)],_0x4c0bb4=(_0x57b1f7=_0x2999ec[_0x5708da(0x38f)])==null?void 0x0:_0x57b1f7[_0x5708da(0x2c1)];if(_0x4c0bb4){const _0x1267c4=_0x4c0bb4==null?void 0x0:_0x4c0bb4['originalMeta'],_0x47b69e=m[_0x5708da(0x3b1)]['encode'](m[_0x5708da(0x49e)](_0x1267c4));_0x4c0bb4[_0x5708da(0x64e)]=_0x47b69e,Object[_0x5708da(0x264)](_0x4c0bb4[_0x5708da(0x501)])['forEach'](([,_0x232cfe])=>{const _0x442f7e=_0x5708da,_0x3c1556=_0x232cfe['originalMeta'],_0x21bff0=m[_0x442f7e(0x3b1)][_0x442f7e(0x3ea)](m[_0x442f7e(0x49e)](_0x3c1556));_0x232cfe[_0x442f7e(0x64e)]=_0x21bff0;});}return _0x2999ec;}async[_0x132fae(0x5f6)](_0x7c25dc,_0x5ea0a7){const _0x100a25=_0x132fae,{unitID:_0x58f41c,type:_0x4e9ad8,blockID:_0x34f3cf}=_0x5ea0a7,_0x21016b=this['_getAPIPrefix']()+'/'+_0x4e9ad8+'/unit/'+_0x58f41c+_0x100a25(0x4ca)+_0x34f3cf;return(await this[_0x100a25(0x3fd)][_0x100a25(0x479)](_0x21016b))['body'];}async[_0x132fae(0x218)](_0x5e52fa,_0x135540){const _0x49f296=_0x132fae,{unitID:_0x245b08,type:_0x5720ec,blockID:_0x3490b3}=_0x135540,_0x35c5dc=this[_0x49f296(0x3a0)]()+'/block/'+_0x5720ec+'/unit/'+_0x245b08+_0x49f296(0x4ca)+_0x3490b3;return(await this['_httpService']['get'](_0x35c5dc))[_0x49f296(0x5a2)];}async['fetchMissingChangesets'](_0x2affcd,_0x446029){const _0x30e718=_0x132fae,{unitID:_0x243ab8,type:_0x2aeb5c,from:_0x2af610,to:_0x2da830}=_0x446029,_0x4644cd=this[_0x30e718(0x3a0)]()+'/'+_0x2aeb5c+_0x30e718(0x4b9)+_0x243ab8+_0x30e718(0x3c2)+_0x2af610+_0x30e718(0x42d)+_0x2da830;return(await this[_0x30e718(0x3fd)][_0x30e718(0x479)](_0x4644cd))[_0x30e718(0x5a2)];}[_0x132fae(0x63b)](){const _0x465769=_0x132fae;var _0x5f6038;return(_0x5f6038=this[_0x465769(0x3f5)][_0x465769(0x368)](Xt))!=null?_0x5f6038:this[_0x465769(0x3a0)]();}[_0x132fae(0x3a0)](){const _0x525bab=_0x132fae;var _0x3981c7,_0x5d67f3;const _0x5dde28=this['_configService'][_0x525bab(0x368)](zt),_0x5b5ed6=this[_0x525bab(0x3f5)][_0x525bab(0x368)](te);return(_0x5d67f3=(_0x3981c7=_0x5b5ed6==null?void 0x0:_0x5b5ed6[_0x525bab(0x194)])!=null?_0x3981c7:_0x5dde28)!=null?_0x5d67f3:Ln;}async[_0x132fae(0x430)](_0x43af10,_0x4466ee){const _0x51ea64=_0x132fae,_0x3e9aa5=_0x51ea64(0x593)+_0x4466ee[_0x51ea64(0x33b)]+'/unit/'+_0x4466ee['unitID']+'/resources';return(await this[_0x51ea64(0x3fd)][_0x51ea64(0x479)](_0x3e9aa5,{'params':{'resourceId':JSON[_0x51ea64(0x2cc)](_0x4466ee[_0x51ea64(0x211)])}}))[_0x51ea64(0x5a2)];}[_0x132fae(0x292)](){const _0x3139f7=_0x132fae;throw new Error(_0x3139f7(0x508));}[_0x132fae(0x475)](){const _0x40b3cc=_0x132fae;throw new Error(_0x40b3cc(0x508));}[_0x132fae(0x376)](){const _0x3a339e=_0x132fae;throw new Error(_0x3a339e(0x508));}[_0x132fae(0x569)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){const _0x5c6a03=_0x132fae;throw new Error(_0x5c6a03(0x508));}},exports[_0x132fae(0x338)]=wr([qt(0x0,a[_0x132fae(0x335)]),qt(0x1,a[_0x132fae(0x2d7)](Z[_0x132fae(0x610)]))],exports[_0x132fae(0x338)]);var Pr=Object[_0x132fae(0x564)],Ur=Object[_0x132fae(0x405)],Mr=(_0x52223a,_0x26845d,_0x53f9a8,_0x130eed)=>{const _0x31513c=_0x132fae;for(var _0x5debbf=_0x130eed>0x1?void 0x0:_0x130eed?Ur(_0x26845d,_0x53f9a8):_0x26845d,_0x2354a1=_0x52223a[_0x31513c(0x4f2)]-0x1,_0x2475a3;_0x2354a1>=0x0;_0x2354a1--)(_0x2475a3=_0x52223a[_0x2354a1])&&(_0x5debbf=(_0x130eed?_0x2475a3(_0x26845d,_0x53f9a8,_0x5debbf):_0x2475a3(_0x5debbf))||_0x5debbf);return _0x130eed&&_0x5debbf&&Pr(_0x26845d,_0x53f9a8,_0x5debbf),_0x5debbf;},Ne=(_0x5131f3,_0x5ea484)=>(_0x11b8e5,_0x369760)=>_0x5ea484(_0x11b8e5,_0x369760,_0x5131f3);let pt=class extends a['LocalUndoRedoService']{constructor(_0x53a05f,_0x2a4628,_0x4fd96f,_0x17bdb9,_0xcbd5d3){const _0x3321a5=_0x132fae;super(_0x53a05f,_0x2a4628,_0x4fd96f),this[_0x3321a5(0x4cd)]=_0x17bdb9,this[_0x3321a5(0x5e5)]=_0xcbd5d3;}[_0x132fae(0x419)](_0x320f16,_0x2efd12){const _0x53d775=_0x132fae,_0x5055c4=this[_0x53d775(0x27a)](_0x320f16);if(_0x5055c4)try{const _0x324368=this[_0x53d775(0x258)](_0x5055c4,_0x2efd12);this[_0x53d775(0x204)](_0x320f16,_0x324368);}catch(_0x322141){this['_logService'][_0x53d775(0x2bd)]('[CollaborationUndoRedoService]',_0x322141),this['_clearUndo'](_0x320f16);}const _0x4035c8=this[_0x53d775(0x40d)](_0x320f16);if(_0x4035c8)try{const _0x2766a3=this['_transformStack'](_0x4035c8,_0x2efd12);this['_substituteRedoStack'](_0x320f16,_0x2766a3);}catch(_0x48785e){this['_logService'][_0x53d775(0x2bd)](_0x48785e),this['_clearRedo'](_0x320f16);}}[_0x132fae(0x41b)](_0x371785){const _0x1f9b6e=_0x132fae,_0x4611fd=this[_0x1f9b6e(0x27a)](_0x371785);_0x4611fd&&(_0x4611fd[_0x1f9b6e(0x4f2)]=0x0,this[_0x1f9b6e(0x2aa)]());}[_0x132fae(0x29d)](_0x422749){const _0x276ed2=_0x132fae,_0x52499e=this[_0x276ed2(0x40d)](_0x422749);_0x52499e&&(_0x52499e[_0x276ed2(0x4f2)]=0x0,this[_0x276ed2(0x2aa)]());}[_0x132fae(0x204)](_0x2a01b6,_0x3d1a7c){const _0xb85451=_0x132fae;this[_0xb85451(0x62c)]['set'](_0x2a01b6,_0x3d1a7c),this['_updateStatus']();}[_0x132fae(0x63a)](_0x3ce5bf,_0x4c4d4a){const _0x2bdba3=_0x132fae;this[_0x2bdba3(0x2ac)][_0x2bdba3(0x61e)](_0x3ce5bf,_0x4c4d4a),this['_updateStatus']();}[_0x132fae(0x258)](_0x35cfb6,_0x2b0ef7){const _0x5790d8=_0x132fae,_0x224315=[];let _0x181767=_0x2b0ef7,_0x1470f9=_0x2b0ef7;for(let _0x461938=_0x35cfb6[_0x5790d8(0x4f2)]-0x1;_0x461938>=0x0;_0x461938--){const {unitID:_0xae03d1,undoMutations:_0x461ac7,redoMutations:_0x353818}=_0x35cfb6[_0x461938],_0x4a06c5=this[_0x5790d8(0x4cd)][_0x5790d8(0x48e)](_0x181767,_0x461ac7),_0x567778=this[_0x5790d8(0x4cd)][_0x5790d8(0x48e)](_0x1470f9,_0x353818);if(m[_0x5790d8(0x323)](_0x4a06c5)||m['isTransformMutationsWithChangesetFailure'](_0x567778)){this[_0x5790d8(0x5e5)]['error'](_0x5790d8(0x5e7),_0x5790d8(0x1d5),_0x4a06c5,_0x567778);break;}_0x181767=_0x4a06c5['c1Prime'],_0x1470f9=_0x567778[_0x5790d8(0x528)],_0x224315[_0x5790d8(0x2be)]({'unitID':_0xae03d1,'undoMutations':_0x4a06c5[_0x5790d8(0x46d)],'redoMutations':_0x567778[_0x5790d8(0x46d)]});}return _0x224315[_0x5790d8(0x40c)]();}};pt=Mr([Ne(0x0,a[_0x132fae(0x4ab)]),Ne(0x1,a[_0x132fae(0x4a2)]),Ne(0x2,a[_0x132fae(0x507)]),Ne(0x3,m[_0x132fae(0x584)]),Ne(0x4,a[_0x132fae(0x3a6)])],pt);class wn extends a['RxDisposable']{constructor(){const _0x268c7e=_0x132fae;super(),I(this,'urlChange$'),this[_0x268c7e(0x2b9)]=A[_0x268c7e(0x54d)](window,'popstate')[_0x268c7e(0x226)](A[_0x268c7e(0x26d)](this[_0x268c7e(0x4a1)]),A[_0x268c7e(0x20b)](0x1),A['mapTo'](void 0x0));}[_0x132fae(0x55a)](_0x2c1b7c,_0x335b12,_0x400045=!0x1){const _0xbbc3fe=_0x132fae,_0x5b3e76=new URL(window[_0xbbc3fe(0x39e)][_0xbbc3fe(0x1b5)]);_0x5b3e76['searchParams'][_0xbbc3fe(0x61e)](_0x2c1b7c,_0x335b12),_0x400045?window[_0xbbc3fe(0x2d9)][_0xbbc3fe(0x409)]('','',_0x5b3e76[_0xbbc3fe(0x5d7)]()):window['history']['pushState']('','',_0x5b3e76[_0xbbc3fe(0x5d7)]());}['removeParam'](_0x21001e,_0x180c9f=!0x1){const _0x2e56a9=_0x132fae,_0x121da0=new URL(window[_0x2e56a9(0x39e)]['href']);_0x121da0[_0x2e56a9(0x43a)][_0x2e56a9(0x352)](_0x21001e),_0x180c9f?window[_0x2e56a9(0x2d9)]['replaceState']('','',_0x121da0[_0x2e56a9(0x5d7)]()):window[_0x2e56a9(0x2d9)][_0x2e56a9(0x454)]('','',_0x121da0[_0x2e56a9(0x5d7)]());}[_0x132fae(0x212)](_0x693b0b){const _0xe4c98b=_0x132fae;var _0x32519a;return(_0x32519a=new URL(window[_0xe4c98b(0x39e)]['href'])[_0xe4c98b(0x43a)][_0xe4c98b(0x479)](_0x693b0b))!=null?_0x32519a:void 0x0;}}var Pn=Object[_0x132fae(0x564)],Ar=Object['getOwnPropertyDescriptor'],Nr=(_0xf4b610,_0x48e737,_0x4adf21)=>_0x48e737 in _0xf4b610?Pn(_0xf4b610,_0x48e737,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4adf21}):_0xf4b610[_0x48e737]=_0x4adf21,Lr=(_0x391c6f,_0x13ff4f,_0x508c77,_0xff6c5c)=>{for(var _0x3412d7=_0xff6c5c>0x1?void 0x0:_0xff6c5c?Ar(_0x13ff4f,_0x508c77):_0x13ff4f,_0xc38210=_0x391c6f['length']-0x1,_0x14dd03;_0xc38210>=0x0;_0xc38210--)(_0x14dd03=_0x391c6f[_0xc38210])&&(_0x3412d7=(_0xff6c5c?_0x14dd03(_0x13ff4f,_0x508c77,_0x3412d7):_0x14dd03(_0x3412d7))||_0x3412d7);return _0xff6c5c&&_0x3412d7&&Pn(_0x13ff4f,_0x508c77,_0x3412d7),_0x3412d7;},He=(_0x4cabd6,_0x3031ab)=>(_0x25e935,_0x2e13b1)=>_0x3031ab(_0x25e935,_0x2e13b1,_0x4cabd6),xr=(_0xa1d5da,_0x337d4f,_0x48380f)=>Nr(_0xa1d5da,_0x337d4f+'',_0x48380f);const jr=_0x132fae(0x3ab);exports[_0x132fae(0x482)]=class extends a[_0x132fae(0x3d7)]{constructor(_0x4cd066=Gn,_0x56aa83,_0x47b261,_0x272dfe,_0xae0d2a){const _0x1563e8=_0x132fae;super(),this['_config']=_0x4cd066,this[_0x1563e8(0x5e5)]=_0x56aa83,this[_0x1563e8(0x19b)]=_0x47b261,this[_0x1563e8(0x459)]=_0x272dfe,this[_0x1563e8(0x3f5)]=_0xae0d2a;const {..._0x5cf78e}=this[_0x1563e8(0x240)];this[_0x1563e8(0x3f5)]['setConfig'](te,_0x5cf78e);}['onStarting'](){const _0x1e2904=_0x132fae;this[_0x1e2904(0x50e)](),this[_0x1e2904(0x516)]();}[_0x132fae(0x317)](){a['touchDependencies'](this['_injector'],[[Ve]]);}[_0x132fae(0x1ab)](){this['_registerRenderDependencies']();}[_0x132fae(0x50e)](){const _0x918d7d=_0x132fae;var _0x128c65,_0x5c3ecd,_0x2b8a8e,_0x4865d0;this[_0x918d7d(0x459)][_0x918d7d(0x425)](a[_0x918d7d(0x1c5)])&&this[_0x918d7d(0x5e5)][_0x918d7d(0x2bd)](_0x918d7d(0x598),_0x918d7d(0x61a));const _0x1fe8c6=[[a['IUndoRedoService'],{'useClass':pt}],[exports['CollaborationSessionService']],[Rt],[Ot,{'useClass':wn}],[exports[_0x918d7d(0x410)]],[exports[_0x918d7d(0x388)]],[Z[_0x918d7d(0x5a6)]],[ke],[Fe],[Be],[We],[bt],[Ge],[Ye],[Et],[Ke],[Ct,{'useClass':(_0x5c3ecd=(_0x128c65=this[_0x918d7d(0x240)])==null?void 0x0:_0x128c65[_0x918d7d(0x5aa)])!=null?_0x5c3ecd:exports[_0x918d7d(0x451)]}],[m[_0x918d7d(0x215)],{'useClass':exports[_0x918d7d(0x338)]}],[a[_0x918d7d(0x3bd)],{'useClass':exports['AuthzIoHttpService']}],[ne[_0x918d7d(0x19c)],{'useClass':exports[_0x918d7d(0x1bb)]}],[exports['CollaborationController']],[exports[_0x918d7d(0x254)]],[exports[_0x918d7d(0x1a9)]],[Ve],[De]];(_0x2b8a8e=this[_0x918d7d(0x240)])!=null&&_0x2b8a8e[_0x918d7d(0x26c)]&&_0x1fe8c6[_0x918d7d(0x2be)]([qe,{'useClass':bi}]),a[_0x918d7d(0x3da)](this[_0x918d7d(0x459)],a[_0x918d7d(0x54b)](_0x1fe8c6,(_0x4865d0=this[_0x918d7d(0x240)])==null?void 0x0:_0x4865d0[_0x918d7d(0x525)]));}[_0x132fae(0x4aa)](){const _0x1bae96=_0x132fae;this[_0x1bae96(0x1b9)](this[_0x1bae96(0x19b)]['registerRenderModule'](a['UniverInstanceType'][_0x1bae96(0x21b)],[St])),this['disposeWithMe'](this['_renderManagerService'][_0x1bae96(0x32f)](a[_0x1bae96(0x2b2)]['UNIVER_SHEET'],[mt]));}[_0x132fae(0x516)](){const _0x17219f=_0x132fae;var _0x482fc7,_0x554c91;this[_0x17219f(0x459)][_0x17219f(0x479)](Z[_0x17219f(0x610)])[_0x17219f(0x34c)]({'priority':0x14,'interceptor':Z[_0x17219f(0x572)]({'maxParallel':0x6})}),(_0x482fc7=this[_0x17219f(0x240)])!=null&&_0x482fc7[_0x17219f(0x22a)]||this['_injector'][_0x17219f(0x479)](exports['LocalCacheService'])[_0x17219f(0x220)](),(_0x554c91=this[_0x17219f(0x240)])!=null&&_0x554c91['enableAuthServer']&&a[_0x17219f(0x25e)](this[_0x17219f(0x459)],[[Ge]]),a[_0x17219f(0x25e)](this[_0x17219f(0x459)],[[Ye],[De],[exports[_0x17219f(0x254)]],[exports['CollaborationController']],[exports['DesktopCollaborationStatusDisplayController']],[Ke]]);}},xr(exports[_0x132fae(0x482)],_0x132fae(0x400),jr),exports[_0x132fae(0x482)]=Lr([a[_0x132fae(0x4fb)](m[_0x132fae(0x2ab)],Z['UniverNetworkPlugin']),He(0x1,a[_0x132fae(0x3a6)]),He(0x2,K[_0x132fae(0x1b3)]),He(0x3,a[_0x132fae(0x2d7)](a[_0x132fae(0x1e0)])),He(0x4,a[_0x132fae(0x335)])],exports[_0x132fae(0x482)]),exports[_0x132fae(0x391)]=In,exports[_0x132fae(0x322)]=nn,exports[_0x132fae(0x256)]=Jt,exports[_0x132fae(0x5fc)]=q,exports[_0x132fae(0x358)]=gn,exports[_0x132fae(0x21e)]=Et,exports[_0x132fae(0x4bf)]=Zt,exports[_0x132fae(0x5b9)]=gt,exports[_0x132fae(0x2a3)]=Ct,exports[_0x132fae(0x4d6)]=Ot,exports[_0x132fae(0x359)]=tn,exports[_0x132fae(0x361)]=sn,exports[_0x132fae(0x5e1)]=en,exports[_0x132fae(0x599)]=xn,exports['SNAPSHOT_SERVER_URL_KEY']=zt,exports['SNAPSHOT_URL_KEY']=Xt,exports[_0x132fae(0x4e8)]=se,exports[_0x132fae(0x52e)]=fn,exports[_0x132fae(0x25d)]=wn,exports[_0x132fae(0x49b)]=an,exports['serializeCombRequest']=cn;