@beterdichtbij/component-library 0.72.7-alpha.1 → 0.72.7

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 (69) hide show
  1. package/README.md +12 -12
  2. package/dist/bd-component-lib.cjs.js +56 -56
  3. package/dist/bd-component-lib.css +1 -1
  4. package/dist/bd-component-lib.es.js +189 -213
  5. package/dist/bd-component-lib.umd.js +67 -67
  6. package/dist/locales/en.json +79 -79
  7. package/dist/locales/nl.json +180 -180
  8. package/dist/scss/_active-filters.scss +65 -65
  9. package/dist/scss/_alert.scss +16 -11
  10. package/dist/scss/_article.scss +31 -31
  11. package/dist/scss/_assign-conversation-modal.scss +13 -13
  12. package/dist/scss/_attachments.scss +107 -107
  13. package/dist/scss/_badge.scss +18 -18
  14. package/dist/scss/_button.scss +80 -80
  15. package/dist/scss/_card.scss +67 -62
  16. package/dist/scss/_chatcloud.scss +104 -99
  17. package/dist/scss/_collapsable-card.scss +103 -103
  18. package/dist/scss/_content-library-card-message-template.scss +136 -136
  19. package/dist/scss/_content-library-card.scss +158 -158
  20. package/dist/scss/_content-library-modal.scss +8 -8
  21. package/dist/scss/_content-library-overview.scss +4 -4
  22. package/dist/scss/_content-library-split-button.scss +23 -23
  23. package/dist/scss/_conversation-to-text-modal.scss +36 -36
  24. package/dist/scss/_dropdown.scss +113 -113
  25. package/dist/scss/_extern.scss +1 -1
  26. package/dist/scss/_file-upload-preview.scss +53 -53
  27. package/dist/scss/_file-upload.scss +26 -26
  28. package/dist/scss/_filter-card.scss +64 -64
  29. package/dist/scss/_form-field.scss +12 -12
  30. package/dist/scss/_form-multiple-checkbox.scss +51 -51
  31. package/dist/scss/_forms.scss +3 -3
  32. package/dist/scss/_header.scss +170 -170
  33. package/dist/scss/_icon-luscii-logo.scss +31 -31
  34. package/dist/scss/_icons.scss +38 -38
  35. package/dist/scss/_image-attachment-modal.scss +91 -91
  36. package/dist/scss/_input-group.scss +2 -2
  37. package/dist/scss/_loader.scss +59 -59
  38. package/dist/scss/_markdown-editor.scss +127 -114
  39. package/dist/scss/_message-template-form-modal.scss +32 -47
  40. package/dist/scss/_mixins.scss +78 -78
  41. package/dist/scss/_mobile-menu.scss +91 -91
  42. package/dist/scss/_modal.scss +182 -182
  43. package/dist/scss/_notification-button.scss +29 -29
  44. package/dist/scss/_pagination.scss +56 -56
  45. package/dist/scss/_phone-number-edit-modal.scss +35 -35
  46. package/dist/scss/_pill-container.scss +26 -26
  47. package/dist/scss/_pill.scss +63 -63
  48. package/dist/scss/_profile-image.scss +34 -34
  49. package/dist/scss/_table-sort-header.scss +13 -13
  50. package/dist/scss/_table.scss +16 -16
  51. package/dist/scss/_templates.scss +264 -264
  52. package/dist/scss/_toast.scss +69 -69
  53. package/dist/scss/_user-information.scss +34 -34
  54. package/dist/scss/_user.scss +21 -21
  55. package/dist/scss/_video-call-toast.scss +100 -100
  56. package/dist/scss/_zoomslider.scss +77 -77
  57. package/dist/scss/base/variables.scss +210 -210
  58. package/dist/scss/extern/_bootstrap.scss +14 -14
  59. package/dist/scss/extern/_prime-vue.scss +551 -551
  60. package/dist/scss/forms/_form-check.scss +16 -16
  61. package/dist/scss/forms/_form-input.scss +9 -9
  62. package/dist/scss/forms/_form-select.scss +4 -4
  63. package/dist/scss/main.scss +52 -52
  64. package/dist/scss/templates/_change-password-template.scss +8 -8
  65. package/dist/scss/templates/_content-library-template.scss +135 -135
  66. package/dist/scss/templates/_not-found-template.scss +35 -35
  67. package/dist/scss/templates/_video-call-template.scss +225 -225
  68. package/dist/stores/SessionTimeOutStore.ts +46 -46
  69. package/package.json +133 -133
@@ -244,7 +244,7 @@ var nn = /*#__PURE__*/ L($t, [["render", tn]]), rn = {}, an = {
244
244
  class: "icon icon-common-file-empty"
245
245
  };
246
246
  function on(e, t) {
247
- return A(), l("svg", an, [...t[0] ||= [u("title", null, "common-file-empty", -1), u("g", null, [u("path", { d: "M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883\r\n c0.431,0.422,0.678,1.009,0.678,1.611V21.75c0,1.241-1.009,2.25-2.25,2.25H3.023z M3.023,1.5c-0.414,0-0.75,0.336-0.75,0.75v19.5\r\n c0,0.414,0.336,0.75,0.75,0.75h17.954c0.414,0,0.75-0.336,0.75-0.75V5.133c0-0.201-0.082-0.397-0.226-0.537l-2.955-2.883\r\n C18.406,1.576,18.22,1.5,18.023,1.5H3.023z" })], -1)]]);
247
+ return A(), l("svg", an, [...t[0] ||= [u("title", null, "common-file-empty", -1), u("g", null, [u("path", { d: "M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883\n c0.431,0.422,0.678,1.009,0.678,1.611V21.75c0,1.241-1.009,2.25-2.25,2.25H3.023z M3.023,1.5c-0.414,0-0.75,0.336-0.75,0.75v19.5\n c0,0.414,0.336,0.75,0.75,0.75h17.954c0.414,0,0.75-0.336,0.75-0.75V5.133c0-0.201-0.082-0.397-0.226-0.537l-2.955-2.883\n C18.406,1.576,18.22,1.5,18.023,1.5H3.023z" })], -1)]]);
248
248
  }
249
249
  var sn = /*#__PURE__*/ L(rn, [["render", on]]), cn = {}, ln = {
250
250
  version: "1.1",
@@ -264,9 +264,9 @@ function un(e, t) {
264
264
  cy: "20.625",
265
265
  r: "1.125"
266
266
  }),
267
- u("path", { d: "M17.249,18.75c-0.414,0-0.75-0.336-0.75-0.75v-3c0-0.414,0.336-0.75,0.75-0.75s0.75,0.336,0.75,0.75v3\r\n C17.999,18.414,17.663,18.75,17.249,18.75z" }),
268
- u("path", { d: "M13.023,24c-1.391,0-2.524-1.132-2.525-2.523c0-0.39,0.092-0.781,0.267-1.131l4.226-8.451\r\n c0.43-0.861,1.297-1.396,2.262-1.396c0.393,0,0.771,0.089,1.124,0.266c0.486,0.243,0.887,0.644,1.13,1.13l4.226,8.451\r\n c0.623,1.244,0.117,2.764-1.127,3.386C22.256,23.908,21.865,24,21.475,24H13.023z M17.252,12c-0.392,0-0.744,0.217-0.918,0.567\r\n l-4.226,8.451c-0.071,0.142-0.109,0.3-0.109,0.459c0,0.565,0.46,1.024,1.024,1.024h8.452c0.158,0,0.317-0.038,0.46-0.109\r\n c0.504-0.252,0.709-0.869,0.457-1.374l-4.226-8.451c-0.099-0.197-0.261-0.36-0.458-0.459C17.564,12.036,17.41,12,17.252,12z" }),
269
- u("path", { d: "M2.249,21c-1.241,0-2.25-1.009-2.25-2.25V2.25c0-1.241,1.009-2.25,2.25-2.25h10.629c0.601,0,1.165,0.234,1.59,0.658\r\n l2.872,2.872c0.425,0.425,0.659,0.99,0.659,1.59V8.25c0,0.414-0.336,0.75-0.75,0.75s-0.75-0.336-0.75-0.75V5.121\r\n c0-0.197-0.08-0.39-0.219-0.53l-2.872-2.872c-0.142-0.141-0.33-0.219-0.53-0.219H2.249c-0.414,0-0.75,0.336-0.75,0.75v16.5\r\n c0,0.414,0.336,0.75,0.75,0.75h6c0.414,0,0.75,0.336,0.75,0.75S8.663,21,8.249,21H2.249z" })
267
+ u("path", { d: "M17.249,18.75c-0.414,0-0.75-0.336-0.75-0.75v-3c0-0.414,0.336-0.75,0.75-0.75s0.75,0.336,0.75,0.75v3\n C17.999,18.414,17.663,18.75,17.249,18.75z" }),
268
+ u("path", { d: "M13.023,24c-1.391,0-2.524-1.132-2.525-2.523c0-0.39,0.092-0.781,0.267-1.131l4.226-8.451\n c0.43-0.861,1.297-1.396,2.262-1.396c0.393,0,0.771,0.089,1.124,0.266c0.486,0.243,0.887,0.644,1.13,1.13l4.226,8.451\n c0.623,1.244,0.117,2.764-1.127,3.386C22.256,23.908,21.865,24,21.475,24H13.023z M17.252,12c-0.392,0-0.744,0.217-0.918,0.567\n l-4.226,8.451c-0.071,0.142-0.109,0.3-0.109,0.459c0,0.565,0.46,1.024,1.024,1.024h8.452c0.158,0,0.317-0.038,0.46-0.109\n c0.504-0.252,0.709-0.869,0.457-1.374l-4.226-8.451c-0.099-0.197-0.261-0.36-0.458-0.459C17.564,12.036,17.41,12,17.252,12z" }),
269
+ u("path", { d: "M2.249,21c-1.241,0-2.25-1.009-2.25-2.25V2.25c0-1.241,1.009-2.25,2.25-2.25h10.629c0.601,0,1.165,0.234,1.59,0.658\n l2.872,2.872c0.425,0.425,0.659,0.99,0.659,1.59V8.25c0,0.414-0.336,0.75-0.75,0.75s-0.75-0.336-0.75-0.75V5.121\n c0-0.197-0.08-0.39-0.219-0.53l-2.872-2.872c-0.142-0.141-0.33-0.219-0.53-0.219H2.249c-0.414,0-0.75,0.336-0.75,0.75v16.5\n c0,0.414,0.336,0.75,0.75,0.75h6c0.414,0,0.75,0.336,0.75,0.75S8.663,21,8.249,21H2.249z" })
270
270
  ], -1)]]);
271
271
  }
272
272
  var dn = /*#__PURE__*/ L(cn, [["render", un]]), fn = {}, pn = {
@@ -402,7 +402,7 @@ var tr = /*#__PURE__*/ L(Qn, [["render", er]]), nr = {}, rr = {
402
402
  class: "icon icon-file"
403
403
  };
404
404
  function ir(e, t) {
405
- return A(), l("svg", rr, [...t[0] ||= [u("title", null, "common-file-empty", -1), u("g", null, [u("path", { d: "M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883\r\n c0.431,0.422,0.678,1.009,0.678,1.611V21.75c0,1.241-1.009,2.25-2.25,2.25H3.023z M3.023,1.5c-0.414,0-0.75,0.336-0.75,0.75v19.5\r\n c0,0.414,0.336,0.75,0.75,0.75h17.954c0.414,0,0.75-0.336,0.75-0.75V5.133c0-0.201-0.082-0.397-0.226-0.537l-2.955-2.883\r\n C18.406,1.576,18.22,1.5,18.023,1.5H3.023z" })], -1)]]);
405
+ return A(), l("svg", rr, [...t[0] ||= [u("title", null, "common-file-empty", -1), u("g", null, [u("path", { d: "M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883\n c0.431,0.422,0.678,1.009,0.678,1.611V21.75c0,1.241-1.009,2.25-2.25,2.25H3.023z M3.023,1.5c-0.414,0-0.75,0.336-0.75,0.75v19.5\n c0,0.414,0.336,0.75,0.75,0.75h17.954c0.414,0,0.75-0.336,0.75-0.75V5.133c0-0.201-0.082-0.397-0.226-0.537l-2.955-2.883\n C18.406,1.576,18.22,1.5,18.023,1.5H3.023z" })], -1)]]);
406
406
  }
407
407
  var ar = /*#__PURE__*/ L(nr, [["render", ir]]), or = {}, sr = {
408
408
  class: "icon icon-file-added",
@@ -490,9 +490,9 @@ var xr = /*#__PURE__*/ L(vr, [["render", br]]), Sr = {}, Cr = {
490
490
  };
491
491
  function wr(e, t) {
492
492
  return A(), l("svg", Cr, [...t[0] ||= [u("title", null, "image-file-landscape", -1), u("g", null, [
493
- u("path", { d: "M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883\r\n c0.431,0.422,0.678,1.009,0.678,1.611V21.75c0,1.241-1.009,2.25-2.25,2.25H3.023z M3.023,1.5c-0.414,0-0.75,0.336-0.75,0.75v19.5\r\n c0,0.414,0.336,0.75,0.75,0.75h17.954c0.414,0,0.75-0.336,0.75-0.75V5.133c0-0.201-0.082-0.397-0.226-0.537l-2.955-2.883\r\n C18.406,1.576,18.22,1.5,18.023,1.5H3.023z" }),
494
- u("path", { d: "M8.273,10.5c-1.654,0-3-1.346-3-3s1.346-3,3-3s3,1.346,3,3S9.927,10.5,8.273,10.5z M8.273,6c-0.827,0-1.5,0.673-1.5,1.5\r\n S7.446,9,8.273,9s1.5-0.673,1.5-1.5S9.1,6,8.273,6z" }),
495
- u("path", { d: "M18.813,18.95c-0.252,0-0.485-0.125-0.625-0.334l-3.925-5.888c-0.049-0.073-0.131-0.117-0.219-0.117\r\n c-0.051,0-0.101,0.015-0.144,0.043c-0.027,0.018-0.05,0.041-0.069,0.068l-2.692,3.846c-0.118,0.169-0.303,0.283-0.508,0.312\r\n c-0.037,0.005-0.072,0.008-0.106,0.008c-0.171,0-0.338-0.059-0.47-0.165l-1.668-1.338c-0.047-0.037-0.102-0.057-0.161-0.057\r\n c-0.01,0-0.02,0.001-0.03,0.002c-0.071,0.008-0.131,0.041-0.175,0.096l-2.125,3.19c-0.139,0.209-0.373,0.334-0.625,0.334\r\n c-0.148,0-0.292-0.043-0.415-0.125c-0.344-0.229-0.438-0.696-0.209-1.04l2.111-3.171c0.028-0.042,0.059-0.085,0.093-0.127\r\n c0.293-0.366,0.713-0.597,1.18-0.648c0.066-0.007,0.132-0.011,0.198-0.011c0.401,0,0.78,0.134,1.096,0.387l1.044,0.837l2.232-3.189\r\n c0.126-0.181,0.284-0.335,0.468-0.458c0.289-0.193,0.625-0.294,0.973-0.294c0.593,0,1.142,0.294,1.469,0.786l3.925,5.887\r\n c0.111,0.167,0.151,0.367,0.112,0.563c-0.04,0.197-0.153,0.366-0.32,0.477C19.105,18.906,18.961,18.95,18.813,18.95L18.813,18.95z" })
493
+ u("path", { d: "M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883\n c0.431,0.422,0.678,1.009,0.678,1.611V21.75c0,1.241-1.009,2.25-2.25,2.25H3.023z M3.023,1.5c-0.414,0-0.75,0.336-0.75,0.75v19.5\n c0,0.414,0.336,0.75,0.75,0.75h17.954c0.414,0,0.75-0.336,0.75-0.75V5.133c0-0.201-0.082-0.397-0.226-0.537l-2.955-2.883\n C18.406,1.576,18.22,1.5,18.023,1.5H3.023z" }),
494
+ u("path", { d: "M8.273,10.5c-1.654,0-3-1.346-3-3s1.346-3,3-3s3,1.346,3,3S9.927,10.5,8.273,10.5z M8.273,6c-0.827,0-1.5,0.673-1.5,1.5\n S7.446,9,8.273,9s1.5-0.673,1.5-1.5S9.1,6,8.273,6z" }),
495
+ u("path", { d: "M18.813,18.95c-0.252,0-0.485-0.125-0.625-0.334l-3.925-5.888c-0.049-0.073-0.131-0.117-0.219-0.117\n c-0.051,0-0.101,0.015-0.144,0.043c-0.027,0.018-0.05,0.041-0.069,0.068l-2.692,3.846c-0.118,0.169-0.303,0.283-0.508,0.312\n c-0.037,0.005-0.072,0.008-0.106,0.008c-0.171,0-0.338-0.059-0.47-0.165l-1.668-1.338c-0.047-0.037-0.102-0.057-0.161-0.057\n c-0.01,0-0.02,0.001-0.03,0.002c-0.071,0.008-0.131,0.041-0.175,0.096l-2.125,3.19c-0.139,0.209-0.373,0.334-0.625,0.334\n c-0.148,0-0.292-0.043-0.415-0.125c-0.344-0.229-0.438-0.696-0.209-1.04l2.111-3.171c0.028-0.042,0.059-0.085,0.093-0.127\n c0.293-0.366,0.713-0.597,1.18-0.648c0.066-0.007,0.132-0.011,0.198-0.011c0.401,0,0.78,0.134,1.096,0.387l1.044,0.837l2.232-3.189\n c0.126-0.181,0.284-0.335,0.468-0.458c0.289-0.193,0.625-0.294,0.973-0.294c0.593,0,1.142,0.294,1.469,0.786l3.925,5.887\n c0.111,0.167,0.151,0.367,0.112,0.563c-0.04,0.197-0.153,0.366-0.32,0.477C19.105,18.906,18.961,18.95,18.813,18.95L18.813,18.95z" })
496
496
  ], -1)]]);
497
497
  }
498
498
  var Tr = /*#__PURE__*/ L(Sr, [["render", wr]]), Er = {}, Dr = {
@@ -508,7 +508,7 @@ var Tr = /*#__PURE__*/ L(Sr, [["render", wr]]), Er = {}, Dr = {
508
508
  class: "icon icon-image-file-warning"
509
509
  };
510
510
  function Or(e, t) {
511
- return A(), l("svg", Dr, [...t[0] ||= [f("<title>image-file-warning</title><g><circle cx=\"17.249\" cy=\"20.625\" r=\"1.125\"></circle><path d=\"M17.249,18.75c-0.414,0-0.75-0.336-0.75-0.75v-3c0-0.414,0.336-0.75,0.75-0.75s0.75,0.336,0.75,0.75v3\r\n C17.999,18.414,17.663,18.75,17.249,18.75z\"></path><path d=\"M13.023,24c-1.391,0-2.524-1.132-2.525-2.523c0-0.39,0.092-0.781,0.267-1.131l4.226-8.451\r\n c0.43-0.861,1.297-1.396,2.262-1.396c0.393,0,0.771,0.089,1.124,0.266c0.486,0.243,0.887,0.644,1.13,1.13l4.226,8.451\r\n c0.623,1.244,0.117,2.764-1.127,3.386C22.256,23.908,21.865,24,21.475,24H13.023z M17.252,12c-0.392,0-0.744,0.217-0.918,0.567\r\n l-4.226,8.451c-0.071,0.142-0.109,0.3-0.109,0.459c0,0.565,0.46,1.024,1.024,1.024h8.452c0.158,0,0.317-0.038,0.46-0.109\r\n c0.504-0.252,0.709-0.869,0.457-1.374l-4.226-8.451c-0.099-0.197-0.261-0.36-0.458-0.459C17.564,12.036,17.41,12,17.252,12z\"></path><path d=\"M2.249,21c-1.241,0-2.25-1.009-2.25-2.25V2.25c0-1.241,1.009-2.25,2.25-2.25h10.629c0.601,0,1.165,0.234,1.59,0.658\r\n l2.872,2.872c0.425,0.425,0.659,0.99,0.659,1.59V8.25c0,0.414-0.336,0.75-0.75,0.75s-0.75-0.336-0.75-0.75V5.121\r\n c0-0.197-0.08-0.39-0.219-0.53l-2.872-2.872c-0.142-0.141-0.33-0.219-0.53-0.219H2.249c-0.414,0-0.75,0.336-0.75,0.75v16.5\r\n c0,0.414,0.336,0.75,0.75,0.75h5.25c0.414,0,0.75,0.336,0.75,0.75S7.913,21,7.499,21H2.249z\"></path><circle cx=\"5.249\" cy=\"6\" r=\"1.125\"></circle><path d=\"M3.749,15c-0.26,0-0.498-0.132-0.636-0.352c-0.138-0.221-0.153-0.492-0.038-0.726l1.937-3.981\r\n c0.015-0.03,0.031-0.058,0.049-0.085c0.025-0.038,0.051-0.073,0.078-0.107C5.426,9.39,5.853,9.186,6.311,9.186\r\n c0.339,0,0.672,0.117,0.937,0.329l0.608,0.487l1.541-2.197C9.505,7.651,9.639,7.52,9.796,7.416c0.246-0.163,0.532-0.25,0.828-0.25\r\n c0.504,0,0.972,0.25,1.25,0.669l1.618,2.588c0.219,0.351,0.112,0.814-0.239,1.033c-0.12,0.075-0.257,0.114-0.397,0.114\r\n c-0.26,0-0.498-0.132-0.636-0.352l-1.606-2.57l-1.988,2.87c-0.118,0.169-0.304,0.283-0.508,0.312\r\n c-0.036,0.005-0.071,0.007-0.106,0.007c-0.17,0-0.337-0.059-0.469-0.165L6.316,10.69L4.948,13.5h4.801\r\n c0.414,0,0.75,0.336,0.75,0.75S10.163,15,9.749,15H3.749z\"></path></g>", 2)]]);
511
+ return A(), l("svg", Dr, [...t[0] ||= [f("<title>image-file-warning</title><g><circle cx=\"17.249\" cy=\"20.625\" r=\"1.125\"></circle><path d=\"M17.249,18.75c-0.414,0-0.75-0.336-0.75-0.75v-3c0-0.414,0.336-0.75,0.75-0.75s0.75,0.336,0.75,0.75v3\n C17.999,18.414,17.663,18.75,17.249,18.75z\"></path><path d=\"M13.023,24c-1.391,0-2.524-1.132-2.525-2.523c0-0.39,0.092-0.781,0.267-1.131l4.226-8.451\n c0.43-0.861,1.297-1.396,2.262-1.396c0.393,0,0.771,0.089,1.124,0.266c0.486,0.243,0.887,0.644,1.13,1.13l4.226,8.451\n c0.623,1.244,0.117,2.764-1.127,3.386C22.256,23.908,21.865,24,21.475,24H13.023z M17.252,12c-0.392,0-0.744,0.217-0.918,0.567\n l-4.226,8.451c-0.071,0.142-0.109,0.3-0.109,0.459c0,0.565,0.46,1.024,1.024,1.024h8.452c0.158,0,0.317-0.038,0.46-0.109\n c0.504-0.252,0.709-0.869,0.457-1.374l-4.226-8.451c-0.099-0.197-0.261-0.36-0.458-0.459C17.564,12.036,17.41,12,17.252,12z\"></path><path d=\"M2.249,21c-1.241,0-2.25-1.009-2.25-2.25V2.25c0-1.241,1.009-2.25,2.25-2.25h10.629c0.601,0,1.165,0.234,1.59,0.658\n l2.872,2.872c0.425,0.425,0.659,0.99,0.659,1.59V8.25c0,0.414-0.336,0.75-0.75,0.75s-0.75-0.336-0.75-0.75V5.121\n c0-0.197-0.08-0.39-0.219-0.53l-2.872-2.872c-0.142-0.141-0.33-0.219-0.53-0.219H2.249c-0.414,0-0.75,0.336-0.75,0.75v16.5\n c0,0.414,0.336,0.75,0.75,0.75h5.25c0.414,0,0.75,0.336,0.75,0.75S7.913,21,7.499,21H2.249z\"></path><circle cx=\"5.249\" cy=\"6\" r=\"1.125\"></circle><path d=\"M3.749,15c-0.26,0-0.498-0.132-0.636-0.352c-0.138-0.221-0.153-0.492-0.038-0.726l1.937-3.981\n c0.015-0.03,0.031-0.058,0.049-0.085c0.025-0.038,0.051-0.073,0.078-0.107C5.426,9.39,5.853,9.186,6.311,9.186\n c0.339,0,0.672,0.117,0.937,0.329l0.608,0.487l1.541-2.197C9.505,7.651,9.639,7.52,9.796,7.416c0.246-0.163,0.532-0.25,0.828-0.25\n c0.504,0,0.972,0.25,1.25,0.669l1.618,2.588c0.219,0.351,0.112,0.814-0.239,1.033c-0.12,0.075-0.257,0.114-0.397,0.114\n c-0.26,0-0.498-0.132-0.636-0.352l-1.606-2.57l-1.988,2.87c-0.118,0.169-0.304,0.283-0.508,0.312\n c-0.036,0.005-0.071,0.007-0.106,0.007c-0.17,0-0.337-0.059-0.469-0.165L6.316,10.69L4.948,13.5h4.801\n c0.414,0,0.75,0.336,0.75,0.75S10.163,15,9.749,15H3.749z\"></path></g>", 2)]]);
512
512
  }
513
513
  var kr = /*#__PURE__*/ L(Er, [["render", Or]]), Ar = {}, jr = {
514
514
  xmlns: "http://www.w3.org/2000/svg",
@@ -602,7 +602,7 @@ var ri = /*#__PURE__*/ L(ei, [["render", ni]]), ii = {}, ai = {
602
602
  "xml:space": "preserve"
603
603
  };
604
604
  function oi(e, t) {
605
- return A(), l("svg", ai, [...t[0] ||= [f("<g><path class=\"st0\" d=\"M182.51,146.67l34.45-34.45l-0.02-0.01c4.39-4.3,7.13-10.28,7.13-16.91c0-13.07-10.6-23.67-23.67-23.67\r\n c-7.19,0-13.61,3.22-17.95,8.27c-4.34-5.06-10.77-8.27-17.95-8.27c-13.07,0-23.67,10.6-23.67,23.67c0,6.36,2.51,12.13,6.58,16.38\r\n L182.51,146.67z\"></path><g><path class=\"st1\" d=\"M182.52,146.67C182.52,146.66,182.53,146.66,182.52,146.67l-0.07-0.08\r\n C182.48,146.61,182.5,146.64,182.52,146.67z\"></path><linearGradient id=\"SVGID_1_\" gradientUnits=\"userSpaceOnUse\" x1=\"0.1062\" y1=\"200.7396\" x2=\"182.5212\" y2=\"200.7396\"><stop offset=\"0\" style=\"stop-color:#9AD0BC;\"></stop><stop offset=\"3.045450e-03\" style=\"stop-color:#9AD0BC;\"></stop><stop offset=\"0.9441\" style=\"stop-color:#61BBA1;\"></stop><stop offset=\"1\" style=\"stop-color:#61BBA1;\"></stop></linearGradient><path class=\"st2\" d=\"M182.52,146.67c-0.02-0.03-0.04-0.05-0.07-0.08l-28.65-28.57c-28.32,22.4-64.09,35.82-103,35.82\r\n c-17.69,0-34.71-2.79-50.7-7.9c2.22,76.33,64.76,137.54,141.63,137.54c3.2,0,6.36-0.14,9.51-0.35\r\n c-2.36-11.16-3.63-22.73-3.63-34.59C147.61,210.13,160.66,174.81,182.52,146.67z\"></path><path class=\"st3\" d=\"M152.09,116.3l-4.64-4.63c-4.08-4.25-6.58-10.02-6.58-16.38c0-13.07,10.6-23.67,23.67-23.67\r\n c2.26,0,4.42,0.35,6.49,0.94c-12.8-21.48-20.92-46.08-22.88-72.4c-2.12-0.09-4.25-0.16-6.4-0.16C83.01,0,32.63,35.71,11.12,86.6\r\n c12.72-3.12,26-4.8,39.68-4.8C88.95,81.79,124.04,94.7,152.09,116.3z\"></path><path class=\"st4\" d=\"M153.81,118.01l-1.72-1.71C124.04,94.7,88.95,81.79,50.81,81.79c-13.68,0-26.96,1.69-39.68,4.8\r\n C3.96,103.55,0,122.18,0,141.73c0,1.41,0.07,2.8,0.11,4.2c15.99,5.12,33.02,7.9,50.7,7.9\r\n C89.72,153.83,125.49,140.42,153.81,118.01z\"></path><path class=\"st5\" d=\"M200.44,71.63c13.07,0,23.67,10.6,23.67,23.67c0,6.63-2.73,12.62-7.13,16.91l0.02,0.01l-5.09,5.09\r\n c17.75-13.81,38.33-24.15,60.78-29.87c-11.79-28.41-32.56-52.14-58.77-67.68c-3.73,19-10.7,36.83-20.31,52.91\r\n C195.76,72.01,198.05,71.63,200.44,71.63z\"></path><path class=\"st6\" d=\"M182.48,79.9c2.9-3.38,6.74-5.91,11.11-7.23c9.61-16.08,16.58-33.91,20.31-52.91\r\n C194.48,8.24,172.09,1.23,148.13,0.16c1.97,26.33,10.08,50.92,22.88,72.4C175.53,73.86,179.51,76.43,182.48,79.9z\"></path><path class=\"st7\" d=\"M182.54,146.67L182.54,146.67c-0.01-0.01-0.01,0-0.02,0c21.62,28.06,34.51,63.19,34.51,101.35\r\n c0,4.78-0.25,9.5-0.64,14.18c37.8-23.48,63.72-64.24,66.74-111.25c-26.87-5.02-51.45-16.5-72.1-32.78L182.54,146.67z\"></path><path class=\"st8\" d=\"M182.52,146.67c-21.86,28.14-34.91,63.46-34.91,101.86c0,11.86,1.27,23.43,3.63,34.59\r\n c23.8-1.58,46-9.02,65.15-20.91c0.4-4.68,0.64-9.4,0.64-14.18C217.04,209.86,204.14,174.73,182.52,146.67z\"></path><path class=\"st9\" d=\"M272.67,87.44c-22.45,5.72-43.03,16.06-60.78,29.87l-0.86,0.86c20.64,16.28,45.23,27.76,72.1,32.78\r\n c0.2-3.05,0.33-6.12,0.33-9.22C283.46,122.5,279.61,104.17,272.67,87.44z\"></path></g></g>", 1)]]);
605
+ return A(), l("svg", ai, [...t[0] ||= [f("<g><path class=\"st0\" d=\"M182.51,146.67l34.45-34.45l-0.02-0.01c4.39-4.3,7.13-10.28,7.13-16.91c0-13.07-10.6-23.67-23.67-23.67\n c-7.19,0-13.61,3.22-17.95,8.27c-4.34-5.06-10.77-8.27-17.95-8.27c-13.07,0-23.67,10.6-23.67,23.67c0,6.36,2.51,12.13,6.58,16.38\n L182.51,146.67z\"></path><g><path class=\"st1\" d=\"M182.52,146.67C182.52,146.66,182.53,146.66,182.52,146.67l-0.07-0.08\n C182.48,146.61,182.5,146.64,182.52,146.67z\"></path><linearGradient id=\"SVGID_1_\" gradientUnits=\"userSpaceOnUse\" x1=\"0.1062\" y1=\"200.7396\" x2=\"182.5212\" y2=\"200.7396\"><stop offset=\"0\" style=\"stop-color:#9AD0BC;\"></stop><stop offset=\"3.045450e-03\" style=\"stop-color:#9AD0BC;\"></stop><stop offset=\"0.9441\" style=\"stop-color:#61BBA1;\"></stop><stop offset=\"1\" style=\"stop-color:#61BBA1;\"></stop></linearGradient><path class=\"st2\" d=\"M182.52,146.67c-0.02-0.03-0.04-0.05-0.07-0.08l-28.65-28.57c-28.32,22.4-64.09,35.82-103,35.82\n c-17.69,0-34.71-2.79-50.7-7.9c2.22,76.33,64.76,137.54,141.63,137.54c3.2,0,6.36-0.14,9.51-0.35\n c-2.36-11.16-3.63-22.73-3.63-34.59C147.61,210.13,160.66,174.81,182.52,146.67z\"></path><path class=\"st3\" d=\"M152.09,116.3l-4.64-4.63c-4.08-4.25-6.58-10.02-6.58-16.38c0-13.07,10.6-23.67,23.67-23.67\n c2.26,0,4.42,0.35,6.49,0.94c-12.8-21.48-20.92-46.08-22.88-72.4c-2.12-0.09-4.25-0.16-6.4-0.16C83.01,0,32.63,35.71,11.12,86.6\n c12.72-3.12,26-4.8,39.68-4.8C88.95,81.79,124.04,94.7,152.09,116.3z\"></path><path class=\"st4\" d=\"M153.81,118.01l-1.72-1.71C124.04,94.7,88.95,81.79,50.81,81.79c-13.68,0-26.96,1.69-39.68,4.8\n C3.96,103.55,0,122.18,0,141.73c0,1.41,0.07,2.8,0.11,4.2c15.99,5.12,33.02,7.9,50.7,7.9\n C89.72,153.83,125.49,140.42,153.81,118.01z\"></path><path class=\"st5\" d=\"M200.44,71.63c13.07,0,23.67,10.6,23.67,23.67c0,6.63-2.73,12.62-7.13,16.91l0.02,0.01l-5.09,5.09\n c17.75-13.81,38.33-24.15,60.78-29.87c-11.79-28.41-32.56-52.14-58.77-67.68c-3.73,19-10.7,36.83-20.31,52.91\n C195.76,72.01,198.05,71.63,200.44,71.63z\"></path><path class=\"st6\" d=\"M182.48,79.9c2.9-3.38,6.74-5.91,11.11-7.23c9.61-16.08,16.58-33.91,20.31-52.91\n C194.48,8.24,172.09,1.23,148.13,0.16c1.97,26.33,10.08,50.92,22.88,72.4C175.53,73.86,179.51,76.43,182.48,79.9z\"></path><path class=\"st7\" d=\"M182.54,146.67L182.54,146.67c-0.01-0.01-0.01,0-0.02,0c21.62,28.06,34.51,63.19,34.51,101.35\n c0,4.78-0.25,9.5-0.64,14.18c37.8-23.48,63.72-64.24,66.74-111.25c-26.87-5.02-51.45-16.5-72.1-32.78L182.54,146.67z\"></path><path class=\"st8\" d=\"M182.52,146.67c-21.86,28.14-34.91,63.46-34.91,101.86c0,11.86,1.27,23.43,3.63,34.59\n c23.8-1.58,46-9.02,65.15-20.91c0.4-4.68,0.64-9.4,0.64-14.18C217.04,209.86,204.14,174.73,182.52,146.67z\"></path><path class=\"st9\" d=\"M272.67,87.44c-22.45,5.72-43.03,16.06-60.78,29.87l-0.86,0.86c20.64,16.28,45.23,27.76,72.1,32.78\n c0.2-3.05,0.33-6.12,0.33-9.22C283.46,122.5,279.61,104.17,272.67,87.44z\"></path></g></g>", 1)]]);
606
606
  }
607
607
  var si = /*#__PURE__*/ L(ii, [["render", oi]]), ci = {}, li = {
608
608
  class: "icon icon-luscii-open luscii-open",
@@ -30744,7 +30744,7 @@ var WJ = /* @__PURE__ */ hJ(AJ, [["render", UJ]]), GJ = (e) => typeof e == "numb
30744
30744
  _: 1
30745
30745
  })]));
30746
30746
  }
30747
- }, [["__scopeId", "data-v-8a5728a9"]]), yY = {
30747
+ }, [["__scopeId", "data-v-bbef8bea"]]), yY = {
30748
30748
  name: "TimesCircleIcon",
30749
30749
  extends: Im
30750
30750
  };
@@ -32143,19 +32143,19 @@ var mX = ["src", "alt"], hX = {
32143
32143
  deviceManager: null,
32144
32144
  incomingCall: null,
32145
32145
  call: null
32146
- }), ce = j(null), le = j(null), ue = j(null), de = j(null), fe = j(null), F = j(null), pe = j(!1), me = j(0), he = j(0), ge = j(null), _e = j(!1), ve = j(""), ye = j(""), be = j(null), xe = j(null), Se = null, Ce = null, we = null, Te = a(() => {
32147
- switch (me.value) {
32148
- case 0: return L.value.hasNoAvailableCamera;
32149
- case 1: return L.value.hasOneAvailableCamera;
32150
- default: return L.value.hasMultipleAvailableCameras;
32146
+ }), ce = j(null), le = j(null), ue = j(null), de = j(null), fe = j(0), F = j(0), pe = j(null), me = j(!1), he = j(""), ge = j(""), _e = j(null), ve = j(null), ye = null, be = null, xe = null, Se = a(() => {
32147
+ switch (fe.value) {
32148
+ case 0: return Me.value.hasNoAvailableCamera;
32149
+ case 1: return Me.value.hasOneAvailableCamera;
32150
+ default: return Me.value.hasMultipleAvailableCameras;
32151
32151
  }
32152
- }), Ee = a(() => {
32152
+ }), Ce = a(() => {
32153
32153
  let e = navigator.userAgent;
32154
32154
  return /Mobi/.test(e) && !D.value;
32155
- }), De = a(() => {
32155
+ }), we = a(() => {
32156
32156
  let e = navigator.userAgent, t = e.indexOf("Android") !== -1, n = /Mobi/.test(e), r = /iPad|iPhone|iPod/.test(e) && !window.MSStream;
32157
32157
  return !(t && n || r);
32158
- }), Oe = a(() => !ae.value?.video && He.value), ke = a(() => !ae.value?.audio && He.value), Ae = a(() => oe.value === i.Declined ? "incoming--declined" : "incoming--loading");
32158
+ }), Te = a(() => !ae.value?.video && ze.value), Ee = a(() => !ae.value?.audio && ze.value), De = a(() => oe.value === i.Declined ? "incoming--declined" : "incoming--loading");
32159
32159
  a(() => {
32160
32160
  switch (ne.value) {
32161
32161
  case 0: return "weak";
@@ -32171,254 +32171,244 @@ var mX = ["src", "alt"], hX = {
32171
32171
  default: return null;
32172
32172
  }
32173
32173
  });
32174
- let je = a(() => E.value.videoCallTemplate || E.value), Me = a(() => je.value.actions || je.value), Ne = a(() => je.value.help || je.value), Pe = a(() => je.value.permissions || je.value), L = a(() => je.value.cameraAvailability || je.value), Fe = a(() => D.value ? Me.value.stopSharingScreen : Me.value.shareScreen), Ie = a(() => Ne.value.placeholderSettingsHelpTitle), Le = a(() => Ne.value.placeholderSettingsHelpMessage), Re = a(() => oe.value === i.Declined), ze = a(() => oe.value === i.HangedUp), Be = a(() => oe.value === i.Connected), Ve = a(() => !Be.value), He = a(() => oe.value === i.DevicePermissionDenied), Ue = a(() => je.value.statusTextMessage || je.value), We = a(() => je.value.statusDetailMessage || je.value), Ge = a(() => b.participantRole);
32175
- function Ke(e) {
32174
+ let Oe = a(() => E.value.videoCallTemplate || E.value), ke = a(() => Oe.value.actions || Oe.value), Ae = a(() => Oe.value.help || Oe.value), je = a(() => Oe.value.permissions || Oe.value), Me = a(() => Oe.value.cameraAvailability || Oe.value), Ne = a(() => D.value ? ke.value.stopSharingScreen : ke.value.shareScreen), Pe = a(() => Ae.value.placeholderSettingsHelpTitle), L = a(() => Ae.value.placeholderSettingsHelpMessage), Fe = a(() => oe.value === i.Declined), Ie = a(() => oe.value === i.HangedUp), Le = a(() => oe.value === i.Connected), Re = a(() => !Le.value), ze = a(() => oe.value === i.DevicePermissionDenied), Be = a(() => Oe.value.statusTextMessage || Oe.value), Ve = a(() => Oe.value.statusDetailMessage || Oe.value), He = a(() => b.participantRole);
32175
+ function Ue(e) {
32176
32176
  if (typeof e != "string") return e;
32177
- let t = e.replaceAll("{participantRole}", Ge.value);
32177
+ let t = e.replaceAll("{participantRole}", He.value);
32178
32178
  return t && t.charAt(0).toLocaleUpperCase() + t.slice(1);
32179
32179
  }
32180
- let qe = a(() => {
32180
+ let We = a(() => {
32181
32181
  switch (oe.value) {
32182
- case i.Initializing: return Ke(Ue.value.initializing);
32183
- case i.Dialing: return Ke(Ue.value.dialing);
32184
- case i.Ringing: return Ke(Ue.value.ringing);
32185
- case i.Answered: return Ke(Ue.value.answered);
32186
- case i.Connected: return Ke(Ue.value.connected);
32187
- case i.Declined: return Ke(Ue.value.videoCallDeclined);
32188
- case i.HangedUp: return Ke(Ue.value.videoCallHangedUp);
32189
- case i.DevicePermissionDenied: return Ke(Ue.value.devicePermissionDenied);
32190
- }
32191
- }), Je = a(() => ve.value || qe.value), Ye = a(() => ye.value), Xe = a(() => ee.value ? ".incoming__screenshare" : ".incoming__video");
32182
+ case i.Initializing: return Ue(Be.value.initializing);
32183
+ case i.Dialing: return Ue(Be.value.dialing);
32184
+ case i.Ringing: return Ue(Be.value.ringing);
32185
+ case i.Answered: return Ue(Be.value.answered);
32186
+ case i.Connected: return Ue(Be.value.connected);
32187
+ case i.Declined: return Ue(Be.value.videoCallDeclined);
32188
+ case i.HangedUp: return Ue(Be.value.videoCallHangedUp);
32189
+ case i.DevicePermissionDenied: return Ue(Be.value.devicePermissionDenied);
32190
+ }
32191
+ }), Ge = a(() => he.value || We.value), Ke = a(() => ge.value), qe = a(() => ee.value ? ".incoming__screenshare" : ".incoming__video");
32192
32192
  te(() => {
32193
- Pt(), Qe(), xe.value = window.setInterval(ct, 5e3);
32193
+ At(), Ye(), ve.value = window.setInterval(at, 5e3);
32194
32194
  }), re(() => {
32195
- ge.value && window.clearInterval(ge.value), xe.value && window.clearInterval(xe.value), bt(), Ze(), Mt();
32195
+ pe.value && window.clearInterval(pe.value), ve.value && window.clearInterval(ve.value), Je(), Ot();
32196
32196
  });
32197
- function Ze() {
32198
- Se &&= (window.clearTimeout(Se), null), Ce &&= (window.clearTimeout(Ce), null), we &&= (window.clearTimeout(we), null);
32199
- }
32200
- function Qe() {
32201
- Ze(), oe.value === i.Initializing ? Se = window.setTimeout(() => {
32202
- oe.value === i.Initializing && (ve.value = Ke(Ue.value.callNotDelivered), ye.value = Ke(We.value.callNotDeliveredDetail));
32203
- }, 3e4) : oe.value === i.Dialing ? Ce = window.setTimeout(() => {
32204
- oe.value === i.Dialing && (ve.value = "", ye.value = Ke(We.value.notAnsweredDetail));
32205
- }, 1e4) : oe.value === i.Connected && (we = window.setTimeout(() => {
32206
- oe.value === i.Connected && (ye.value = Ke(We.value.noVideoHint));
32197
+ function Je() {
32198
+ ye &&= (window.clearTimeout(ye), null), be &&= (window.clearTimeout(be), null), xe &&= (window.clearTimeout(xe), null);
32199
+ }
32200
+ function Ye() {
32201
+ Je(), oe.value === i.Initializing ? ye = window.setTimeout(() => {
32202
+ oe.value === i.Initializing && (he.value = Ue(Be.value.callNotDelivered), ge.value = Ue(Ve.value.callNotDeliveredDetail));
32203
+ }, 3e4) : oe.value === i.Dialing ? be = window.setTimeout(() => {
32204
+ oe.value === i.Dialing && (he.value = "", ge.value = Ue(Ve.value.notAnsweredDetail));
32205
+ }, 1e4) : oe.value === i.Connected && (xe = window.setTimeout(() => {
32206
+ oe.value === i.Connected && (ge.value = Ue(Ve.value.noVideoHint));
32207
32207
  }, 5e3));
32208
32208
  }
32209
- function $e(e) {
32209
+ function Xe(e) {
32210
32210
  [
32211
32211
  i.Declined,
32212
32212
  i.HangedUp,
32213
32213
  i.DevicePermissionDenied
32214
- ].includes(oe.value) || (oe.value = e, ve.value = "", ye.value = "", Qe());
32214
+ ].includes(oe.value) || (oe.value = e, he.value = "", ge.value = "", Ye());
32215
32215
  }
32216
- function et() {
32217
- $e(i.Declined);
32216
+ function Ze() {
32217
+ Xe(i.Declined);
32218
32218
  }
32219
- function tt() {
32220
- $e(i.Answered);
32219
+ function Qe() {
32220
+ Xe(i.Answered);
32221
32221
  }
32222
- function nt() {
32223
- oe.value !== i.Connected && $e(i.Dialing);
32222
+ function $e() {
32223
+ oe.value !== i.Connected && Xe(i.Dialing);
32224
32224
  }
32225
- function rt() {
32226
- oe.value !== i.DevicePermissionDenied && !b.isCallee && ft();
32225
+ function et() {
32226
+ oe.value !== i.DevicePermissionDenied && !b.isCallee && lt();
32227
32227
  }
32228
- async function it() {
32229
- $e(i.HangedUp), ae.value.video && At();
32228
+ async function tt() {
32229
+ Xe(i.HangedUp), ae.value.video && Et();
32230
32230
  }
32231
- function at(e) {
32232
- $e(i.HangedUp), ye.value = yt(e);
32231
+ function nt(e) {
32232
+ Xe(i.HangedUp), ge.value = gt(e);
32233
32233
  }
32234
- function ot() {
32235
- ve.value = Ke(Ue.value.signalHold), ye.value = Ke(We.value.signalHoldDetail);
32234
+ function rt() {
32235
+ he.value = Ue(Be.value.signalHold), ge.value = Ue(Ve.value.signalHoldDetail);
32236
32236
  }
32237
- function st() {
32238
- be.value = /* @__PURE__ */ new Date();
32237
+ function it() {
32238
+ _e.value = /* @__PURE__ */ new Date();
32239
32239
  }
32240
- function ct() {
32241
- if (!be.value || oe.value === i.HangedUp) return;
32242
- let e = /* @__PURE__ */ new Date(), t = new Date(be.value), n = Math.abs(e.getTime() - t.getTime()), r = Math.ceil(n / 1e3);
32243
- r >= 40 ? (ve.value = Ue.value.connectionIssues, ye.value = We.value.connectionIssuesStrong, ne.value = 0) : r > 20 && (ve.value = Ue.value.connectionIssues, ye.value = We.value.connectionIssuesMedium, ne.value = 1);
32240
+ function at() {
32241
+ if (!_e.value || oe.value === i.HangedUp) return;
32242
+ let e = /* @__PURE__ */ new Date(), t = new Date(_e.value), n = Math.abs(e.getTime() - t.getTime()), r = Math.ceil(n / 1e3);
32243
+ r >= 40 ? (he.value = Be.value.connectionIssues, ge.value = Ve.value.connectionIssuesStrong, ne.value = 0) : r > 20 && (he.value = Be.value.connectionIssues, ge.value = Ve.value.connectionIssuesMedium, ne.value = 1);
32244
32244
  }
32245
- async function lt(e) {
32246
- await Nt(), N.client = w(new f());
32245
+ async function ot(e) {
32246
+ await kt(), N.client = w(new f());
32247
32247
  let t = new y(e);
32248
32248
  if (N.agent = w(await N.client.createCallAgent(t)), N.deviceManager = await N.client.getDeviceManager(), ae.value = await N.deviceManager.askDevicePermission({
32249
32249
  video: !0,
32250
32250
  audio: !0
32251
- }), (await N.deviceManager.getCameras()).length || (ae.value.video = !1), ge.value = window.setInterval(At, 5e3), !ae.value.audio || !ae.value.video) {
32252
- $e(i.DevicePermissionDenied);
32251
+ }), (await N.deviceManager.getCameras()).length || (ae.value.video = !1), pe.value = window.setInterval(Et, 5e3), !ae.value.audio || !ae.value.video) {
32252
+ Xe(i.DevicePermissionDenied);
32253
32253
  return;
32254
32254
  }
32255
- N.agent.on("incomingCall", ut), b.isCallee ? x("ready") : x("start-call");
32255
+ N.agent.on("incomingCall", st), b.isCallee ? x("ready") : x("start-call");
32256
32256
  }
32257
- async function ut(e) {
32258
- if (!_e.value) try {
32259
- _e.value = !0, N.incomingCall = e.incomingCall, await pt();
32257
+ async function st(e) {
32258
+ if (!me.value) try {
32259
+ me.value = !0, N.incomingCall = e.incomingCall, await ut();
32260
32260
  } catch (e) {
32261
32261
  console.log("error occured during starting call", e);
32262
32262
  } finally {
32263
- _e.value = !1;
32263
+ me.value = !1;
32264
32264
  }
32265
32265
  }
32266
- async function dt() {
32267
- let e = await mt();
32266
+ async function ct() {
32267
+ let e = await dt();
32268
32268
  return e ? { localVideoStreams: [e] } : void 0;
32269
32269
  }
32270
- async function ft() {
32270
+ async function lt() {
32271
32271
  try {
32272
- $e(i.Dialing);
32273
- let e = { videoOptions: await dt() }, t = [{ communicationUserId: b.participant.videoCallIdentityId }];
32274
- N.call = N.agent.startCall(t, e), gt(), ht();
32272
+ Xe(i.Dialing);
32273
+ let e = { videoOptions: await ct() }, t = [{ communicationUserId: b.participant.videoCallIdentityId }];
32274
+ N.call = N.agent.startCall(t, e), pt(), ft();
32275
32275
  } catch (e) {
32276
32276
  console.error(e);
32277
32277
  }
32278
32278
  }
32279
- async function pt() {
32280
- let e = await dt();
32279
+ async function ut() {
32280
+ let e = await ct();
32281
32281
  try {
32282
32282
  N.call = await N.incomingCall.accept({ videoOptions: e });
32283
32283
  } catch (e) {
32284
32284
  console.error("Error occurred during accepting call", e);
32285
32285
  }
32286
- gt(), ht();
32286
+ pt(), ft();
32287
32287
  }
32288
- async function mt() {
32288
+ async function dt() {
32289
32289
  let e = (await N.deviceManager.getCameras())[0];
32290
32290
  if (e) return new g(e);
32291
32291
  console.error("No camera device found on the system");
32292
32292
  }
32293
- function ht() {
32294
- N.call.on("stateChanged", vt), N.call.on("localVideoStreamsUpdated", (e) => {
32295
- e.added.forEach(St), e.removed.forEach(xt);
32296
- }), N.call.remoteParticipants.forEach(wt), N.call.on("remoteParticipantsUpdated", (e) => {
32297
- e.added.forEach(wt);
32293
+ function ft() {
32294
+ N.call.on("stateChanged", ht), N.call.on("localVideoStreamsUpdated", (e) => {
32295
+ e.added.forEach(vt), e.removed.forEach(_t);
32296
+ }), N.call.remoteParticipants.forEach(bt), N.call.on("remoteParticipantsUpdated", (e) => {
32297
+ e.added.forEach(bt);
32298
32298
  }), N.call.on("isScreenSharingOnChanged", () => {
32299
32299
  D.value = N.call.isScreenSharingOn;
32300
32300
  });
32301
32301
  }
32302
- function gt() {
32303
- M.value = N.call.feature(_.UserFacingDiagnostics), M.value.media.on("diagnosticChanged", _t), M.value.network.on("diagnosticChanged", _t);
32302
+ function pt() {
32303
+ M.value = N.call.feature(_.UserFacingDiagnostics), M.value.media.on("diagnosticChanged", mt), M.value.network.on("diagnosticChanged", mt);
32304
32304
  }
32305
- function _t(e) {
32305
+ function mt(e) {
32306
32306
  (e.diagnostic === "networkReceiveQuality" || e.diagnostic === "networkSendQuality") && (e.value === v.Bad ? (console.error(`${e.diagnostic} is bad quality`), ne.value = 0) : e.value === v.Poor ? (console.error(`${e.diagnostic} is poor quality`), ne.value = 1) : ne.value = 2);
32307
32307
  }
32308
- function vt() {
32308
+ function ht() {
32309
32309
  switch (N.call.state) {
32310
32310
  case "EarlyMedia":
32311
- $e(i.Dialing);
32311
+ Xe(i.Dialing);
32312
32312
  break;
32313
32313
  case "Ringing":
32314
- $e(i.Ringing);
32314
+ Xe(i.Ringing);
32315
32315
  break;
32316
32316
  case "Connected":
32317
- $e(i.Connected);
32317
+ Xe(i.Connected);
32318
32318
  break;
32319
32319
  case "Disconnected":
32320
32320
  let e = N.call.callEndReason;
32321
- console.log("Call end reason:", e), console.log("Code:", e?.code), console.log("SubCode:", e?.subCode), it();
32321
+ console.log("Call end reason:", e), console.log("Code:", e?.code), console.log("SubCode:", e?.subCode), tt();
32322
32322
  break;
32323
32323
  }
32324
32324
  }
32325
- function yt(e) {
32325
+ function gt(e) {
32326
32326
  let t = String(e);
32327
- return Ke(je.value.endReasons?.[t] || "");
32327
+ return Ue(Oe.value.endReasons?.[t] || "");
32328
32328
  }
32329
- function bt() {
32330
- console.log("Disposing local screen share renderer"), F.value?.dispose(), F.value = null, de.value?.dispose(), de.value = null;
32331
- }
32332
- async function xt(e) {
32333
- if (console.log("Removing local screen share stream", e), !e || e.mediaStreamType !== "ScreenSharing") return;
32334
- bt();
32329
+ async function _t(e) {
32330
+ if (!e || e.mediaStreamType !== "ScreenSharing" || !de.value) return;
32331
+ de.value.dispose();
32335
32332
  let t = document.querySelector(".outgoing__screenshare");
32336
- t.replaceChildren(), t.style.display = "none";
32333
+ t.style.display = "none";
32337
32334
  let n = document.querySelector(".outgoing__video");
32338
- n.style.display = "flex", console.log("local screen share removed");
32335
+ n.style.display = "flex";
32339
32336
  }
32340
- async function St(e) {
32341
- if (console.log("Displaying local screen share stream", e), !e || e.mediaStreamType !== "ScreenSharing") return;
32342
- bt();
32343
- let t = w(new h(e));
32344
- fe.value = e, de.value = t;
32345
- try {
32346
- F.value = await t.createView();
32347
- let e = document.querySelector(".outgoing__screenshare");
32348
- e.replaceChildren(F.value.target);
32349
- let n = e.querySelector("video");
32350
- n.style.objectFit = "contain", e.style.display = "flex";
32351
- let r = document.querySelector(".outgoing__video");
32352
- r.style.display = "none", console.log("local screen share displayed");
32353
- } catch (e) {
32354
- de.value === t ? bt() : t.dispose(), console.error("Failed to render local screen share", e);
32355
- }
32337
+ async function vt(e) {
32338
+ if (!e || e.mediaStreamType !== "ScreenSharing") return;
32339
+ de.value = await new h(e).createView();
32340
+ let t = document.querySelector(".outgoing__screenshare");
32341
+ t.replaceChildren(de.value.target), t.style.display = "flex";
32342
+ let n = document.querySelector(".outgoing__video");
32343
+ n.style.display = "none";
32344
+ let r = t.querySelector("video");
32345
+ r.style.objectFit = "contain";
32356
32346
  }
32357
- async function Ct(e) {
32358
- if (console.log("Displaying local video stream", e), e && e.source && ce.value && ce.value.source && ce.value.source.id == e.source.id) return !0;
32347
+ async function yt(e) {
32348
+ if (e && e.source && ce.value && ce.value.source && ce.value.source.id == e.source.id) return !0;
32359
32349
  try {
32360
32350
  le.value = new h(e);
32361
32351
  let t = await le.value.createView(), n = document.querySelector(".outgoing__video");
32362
- n.replaceChildren(t.target), n.style.display = "flex";
32352
+ n.querySelector("video") && (n.innerHTML = ""), n.hidden = !1, n.replaceChildren(t.target);
32363
32353
  } catch {
32364
32354
  return !1;
32365
32355
  }
32366
- return ce.value = e, console.log("local video displayed"), !0;
32356
+ return ce.value = e, !0;
32367
32357
  }
32368
- async function wt(e) {
32369
- e.videoStreams.forEach(Tt), e.on("videoStreamsUpdated", (e) => {
32370
- e.added.forEach(Tt);
32358
+ async function bt(e) {
32359
+ e.videoStreams.forEach(xt), e.on("videoStreamsUpdated", (e) => {
32360
+ e.added.forEach(xt);
32371
32361
  });
32372
32362
  }
32373
- async function Tt(e) {
32374
- if (e.mediaStreamType === "Video" && (await Et(e), e.on("isAvailableChanged", async () => await Et(e))), e.mediaStreamType === "ScreenSharing" && e.on("isAvailableChanged", Ot), e.mediaStreamType === "ScreenSharing" && e.isAvailable) {
32363
+ async function xt(e) {
32364
+ if (e.mediaStreamType === "Video" && (await St(e), e.on("isAvailableChanged", async () => await St(e))), e.mediaStreamType === "ScreenSharing" && e.on("isAvailableChanged", wt), e.mediaStreamType === "ScreenSharing" && e.isAvailable) {
32375
32365
  ue.value = new h(e);
32376
32366
  let t = await ue.value.createView(), n = document.querySelector(".incoming__screenshare");
32377
- Dt(!0), ee.value = !0, jt(".incoming__screenshare"), n.replaceChildren(t.target);
32367
+ Ct(!0), ee.value = !0, Dt(".incoming__screenshare"), n.replaceChildren(t.target);
32378
32368
  }
32379
32369
  }
32380
- async function Et(e) {
32370
+ async function St(e) {
32381
32371
  if (!e.isAvailable) return;
32382
32372
  ue.value = new h(e);
32383
32373
  let t = await ue.value.createView(), n = document.querySelector(".incoming__video");
32384
- n.hidden = !1, n.replaceChildren(t.target), jt(".incoming__video"), Dt(!1);
32374
+ n.hidden = !1, n.replaceChildren(t.target), Dt(".incoming__video"), Ct(!1);
32385
32375
  }
32386
- function Dt(e) {
32376
+ function Ct(e) {
32387
32377
  let t = document.querySelector(".incoming__video"), n = document.querySelector(".incoming__screenshare");
32388
32378
  t.style.display = e ? "none" : "block", n.style.display = e ? "flex" : "none";
32389
32379
  }
32390
- function Ot() {
32391
- ee.value = !1, Dt(!1);
32380
+ function wt() {
32381
+ ee.value = !1, Ct(!1);
32392
32382
  }
32393
- async function kt() {
32394
- At(!0);
32383
+ async function Tt() {
32384
+ Et(!0);
32395
32385
  }
32396
- async function At(e = !1) {
32386
+ async function Et(e = !1) {
32397
32387
  let t = N.call?.state;
32398
32388
  if (t === "Connecting" || t === "EarlyMedia") return;
32399
32389
  let n = (await N.deviceManager.getCameras()).filter((e) => e.name != "OBS Virtual Camera");
32400
- me.value = n.length;
32401
- for (let t = 0; t < me.value; t++) {
32402
- (e || t != 0) && (he.value = (he.value + 1) % me.value);
32403
- let r = n[he.value];
32404
- if (await Ct(new g(r))) break;
32390
+ fe.value = n.length;
32391
+ for (let t = 0; t < fe.value; t++) {
32392
+ (e || t != 0) && (F.value = (F.value + 1) % fe.value);
32393
+ let r = n[F.value];
32394
+ if (await yt(new g(r))) break;
32405
32395
  }
32406
32396
  }
32407
- function jt(e) {
32397
+ function Dt(e) {
32408
32398
  let t = document.querySelector(e);
32409
32399
  if (!t) return;
32410
32400
  let n = t.querySelector("video");
32411
32401
  n && (n.style.objectFit = "contain", n.disablePictureInPicture = !1);
32412
32402
  }
32413
- async function Mt() {
32403
+ async function Ot() {
32414
32404
  N.call && N.call.state !== "Disconnected" && (await N.call.hangUp({ forEveryone: !0 }), await N.agent.dispose()), x("end-call", C.value);
32415
32405
  }
32416
- async function Nt() {
32406
+ async function kt() {
32417
32407
  return o ||= Promise.all([import("@azure/communication-calling"), import("@azure/communication-common")]).then(([e, t]) => {
32418
32408
  f = e.CallClient, h = e.VideoStreamRenderer, g = e.LocalVideoStream, _ = e.Features, v = e.DiagnosticQuality, y = t.AzureCommunicationTokenCredential;
32419
32409
  }), o;
32420
32410
  }
32421
- async function Pt() {
32411
+ async function At() {
32422
32412
  d ||= import("./browser-aFX0ImH2.js");
32423
32413
  let { AzureLogger: e, setLogLevel: t } = await d;
32424
32414
  e.log = (...e) => console.log(...e), t("info"), e.log = (...e) => {
@@ -32426,39 +32416,26 @@ var mX = ["src", "alt"], hX = {
32426
32416
  C.value = C.value.splice(1 - cZ).concat(t);
32427
32417
  };
32428
32418
  }
32429
- function Ft() {
32430
- document.querySelector(Xe.value).querySelector("video").requestFullscreen();
32419
+ function jt() {
32420
+ document.querySelector(qe.value).querySelector("video").requestFullscreen();
32431
32421
  }
32432
- function It() {
32433
- let e = document.querySelector(Xe.value).querySelector("video");
32422
+ function Mt() {
32423
+ let e = document.querySelector(qe.value).querySelector("video");
32434
32424
  document.pictureInPictureElement ? e.exitPictureInPicture() : document.pictureInPictureEnabled && e.requestPictureInPicture();
32435
32425
  }
32436
- async function Lt() {
32437
- let e = N.call;
32438
- if (!(!e || pe.value)) {
32439
- pe.value = !0;
32440
- try {
32441
- e.isScreenSharingOn ? await e.stopScreenSharing() : (console.log({
32442
- isScreenSharingOn: e.isScreenSharingOn,
32443
- localVideoStreams: e.localVideoStreams.map((e) => e.mediaStreamType)
32444
- }), await e.startScreenSharing());
32445
- } catch (t) {
32446
- D.value = e.isScreenSharingOn, console.error("Failed to change screen sharing state", t);
32447
- } finally {
32448
- pe.value = !1;
32449
- }
32450
- }
32426
+ async function Nt() {
32427
+ N.call && N.call.isScreenSharingOn ? await N.call.stopScreenSharing() : await N.call.startScreenSharing();
32451
32428
  }
32452
32429
  return n({
32453
- CallDeclined: et,
32454
- CallAnswered: tt,
32455
- CallForDataReceived: nt,
32456
- CallClosedWithStatusCode: at,
32457
- CallHeartbeatReceived: st,
32458
- CallSignalHoldDetected: ot,
32459
- CallStartVideoCall: rt,
32460
- CallHangUp: it,
32461
- InitializeAcsConnection: lt
32430
+ CallDeclined: Ze,
32431
+ CallAnswered: Qe,
32432
+ CallForDataReceived: $e,
32433
+ CallClosedWithStatusCode: nt,
32434
+ CallHeartbeatReceived: it,
32435
+ CallSignalHoldDetected: rt,
32436
+ CallStartVideoCall: et,
32437
+ CallHangUp: tt,
32438
+ InitializeAcsConnection: ot
32462
32439
  }), (e, n) => {
32463
32440
  let r = se("BDLoader");
32464
32441
  return A(), l("div", BX, [m(Xq, null, {
@@ -32471,23 +32448,23 @@ var mX = ["src", "alt"], hX = {
32471
32448
  }), m(Zq, null, {
32472
32449
  default: I(() => [m(Yq, {
32473
32450
  sm: "12",
32474
- lg: Re.value ? "12" : "8"
32451
+ lg: Fe.value ? "12" : "8"
32475
32452
  }, {
32476
- default: I(() => [u("div", { class: O(["incoming", Ae.value]) }, [Ve.value ? (A(), l("div", VX, [
32453
+ default: I(() => [u("div", { class: O(["incoming", De.value]) }, [Re.value ? (A(), l("div", VX, [
32477
32454
  m(r, {
32478
32455
  size: "lg",
32479
- message: qe.value,
32480
- stopAnimation: Re.value || ze.value || He.value
32456
+ message: We.value,
32457
+ stopAnimation: Fe.value || Ie.value || ze.value
32481
32458
  }, null, 8, ["message", "stopAnimation"]),
32482
- ke.value ? (A(), l("div", HX, [u("div", UX, [m(Ri, { class: "icon-xl icon-state-error" })]), u("span", null, P(Pe.value.permissionDeniedForAudio), 1)])) : c("", !0),
32483
- Oe.value ? (A(), l("div", WX, [u("div", GX, [m(oo, { class: "icon-xl icon-state-error" })]), u("span", null, P(Pe.value.permissionDeniedForVideo), 1)])) : c("", !0),
32484
- Re.value || ze.value || He.value ? (A(), s(R, {
32459
+ Ee.value ? (A(), l("div", HX, [u("div", UX, [m(Ri, { class: "icon-xl icon-state-error" })]), u("span", null, P(je.value.permissionDeniedForAudio), 1)])) : c("", !0),
32460
+ Te.value ? (A(), l("div", WX, [u("div", GX, [m(oo, { class: "icon-xl icon-state-error" })]), u("span", null, P(je.value.permissionDeniedForVideo), 1)])) : c("", !0),
32461
+ Fe.value || Ie.value || ze.value ? (A(), s(R, {
32485
32462
  key: 2,
32486
32463
  variant: "primary",
32487
32464
  class: "text-center",
32488
- onClick: Mt
32465
+ onClick: Ot
32489
32466
  }, {
32490
- default: I(() => [p(P(Me.value.closeWindow), 1)]),
32467
+ default: I(() => [p(P(ke.value.closeWindow), 1)]),
32491
32468
  _: 1
32492
32469
  })) : c("", !0)
32493
32470
  ])) : (A(), l("div", KX, [
@@ -32496,69 +32473,68 @@ var mX = ["src", "alt"], hX = {
32496
32473
  u("div", qX, [m(R, {
32497
32474
  variant: "primary",
32498
32475
  class: "text-center",
32499
- onClick: Ft
32476
+ onClick: jt
32500
32477
  }, {
32501
- default: I(() => [m(xa), u("span", null, P(Me.value.fullScreen), 1)]),
32478
+ default: I(() => [m(xa), u("span", null, P(ke.value.fullScreen), 1)]),
32502
32479
  _: 1
32503
32480
  }), !T && !k.value ? (A(), s(R, {
32504
32481
  key: 0,
32505
32482
  variant: "primary",
32506
32483
  class: "text-center",
32507
- onClick: It
32484
+ onClick: Mt
32508
32485
  }, {
32509
- default: I(() => [m(xa), u("span", null, P(Me.value.miniPlayer), 1)]),
32486
+ default: I(() => [m(xa), u("span", null, P(ke.value.miniPlayer), 1)]),
32510
32487
  _: 1
32511
32488
  })) : c("", !0)])
32512
32489
  ]))], 2)]),
32513
32490
  _: 1
32514
- }, 8, ["lg"]), Re.value ? c("", !0) : (A(), s(Yq, {
32491
+ }, 8, ["lg"]), Fe.value ? c("", !0) : (A(), s(Yq, {
32515
32492
  key: 0,
32516
32493
  sm: "12",
32517
32494
  lg: "4"
32518
32495
  }, {
32519
32496
  default: I(() => [u("div", JX, [u("div", null, [
32520
32497
  u("div", YX, [u("div", XX, [
32521
- He.value ? c("", !0) : (A(), l("div", ZX)),
32498
+ ze.value ? c("", !0) : (A(), l("div", ZX)),
32522
32499
  n[2] ||= u("div", { class: "outgoing__screenshare" }, null, -1),
32523
- De.value && !He.value && !k.value && !Ve.value ? (A(), s(R, {
32500
+ we.value && !ze.value && !k.value && !Re.value ? (A(), s(R, {
32524
32501
  key: 1,
32525
32502
  variant: D.value ? "danger" : "primary",
32526
32503
  class: "text-center",
32527
- onClick: Lt,
32528
- disabled: pe.value
32504
+ onClick: Nt
32529
32505
  }, {
32530
- default: I(() => [m(xa), u("span", null, P(Fe.value), 1)]),
32506
+ default: I(() => [m(xa), u("span", null, P(Ne.value), 1)]),
32531
32507
  _: 1
32532
- }, 8, ["variant", "disabled"])) : c("", !0),
32533
- Ee.value ? (A(), l(t, { key: 2 }, [m(R, {
32508
+ }, 8, ["variant"])) : c("", !0),
32509
+ Ce.value ? (A(), l(t, { key: 2 }, [m(R, {
32534
32510
  class: "text-center",
32535
- onClick: kt
32511
+ onClick: Tt
32536
32512
  }, {
32537
- default: I(() => [p(P(Me.value.switchCamera), 1)]),
32513
+ default: I(() => [p(P(ke.value.switchCamera), 1)]),
32538
32514
  _: 1
32539
- }), u("p", QX, P(Te.value), 1)], 64)) : c("", !0),
32540
- Oe.value ? (A(), l("div", $X, [u("div", eZ, [m(oo, { class: "icon-xxl icon-state-error" })]), u("span", null, P(Pe.value.permissionDeniedForVideo), 1)])) : c("", !0)
32515
+ }), u("p", QX, P(Se.value), 1)], 64)) : c("", !0),
32516
+ Te.value ? (A(), l("div", $X, [u("div", eZ, [m(oo, { class: "icon-xxl icon-state-error" })]), u("span", null, P(je.value.permissionDeniedForVideo), 1)])) : c("", !0)
32541
32517
  ])]),
32542
- !ze.value && !He.value ? (A(), s(R, {
32518
+ !Ie.value && !ze.value ? (A(), s(R, {
32543
32519
  key: 0,
32544
32520
  variant: "danger",
32545
32521
  class: "end-call-button text-center w-100",
32546
- onClick: Mt
32522
+ onClick: Ot
32547
32523
  }, {
32548
- default: I(() => [m(zn), u("span", null, P(Me.value.endCall), 1)]),
32524
+ default: I(() => [m(zn), u("span", null, P(ke.value.endCall), 1)]),
32549
32525
  _: 1
32550
32526
  })) : c("", !0),
32551
- u("div", tZ, [u("div", nZ, [u("p", rZ, P(Je.value), 1), Ye.value ? (A(), l("small", iZ, P(Ye.value), 1)) : c("", !0)]), u("div", aZ, [
32552
- u("p", null, [u("b", null, P(Ie.value), 1)]),
32553
- u("p", null, P(Le.value), 1),
32527
+ u("div", tZ, [u("div", nZ, [u("p", rZ, P(Ge.value), 1), Ke.value ? (A(), l("small", iZ, P(Ke.value), 1)) : c("", !0)]), u("div", aZ, [
32528
+ u("p", null, [u("b", null, P(Pe.value), 1)]),
32529
+ u("p", null, P(L.value), 1),
32554
32530
  u("p", null, [
32555
32531
  u("a", {
32556
32532
  href: b.videoTestUrl,
32557
32533
  target: "_blank",
32558
32534
  rel: "noopener noreferrer"
32559
- }, P(Me.value.testCall), 9, oZ),
32535
+ }, P(ke.value.testCall), 9, oZ),
32560
32536
  n[3] ||= p(" • ", -1),
32561
- u("a", sZ, P(Me.value.serviceDesk), 1)
32537
+ u("a", sZ, P(ke.value.serviceDesk), 1)
32562
32538
  ])
32563
32539
  ])])
32564
32540
  ])])]),