@nylas/react 3.1.4 → 3.1.5

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.
@@ -1241,12 +1241,12 @@ function Yt() {
1241
1241
  }
1242
1242
  });
1243
1243
  }
1244
- const Q_ = Ay, e6 = Yt, t6 = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}@media screen and (max-width: 768px){:host{position:unset}}.dropdown{display:inline-block;width:inherit}.dropbtn{color:var(--nylas-base-800);padding:10px;font-size:16px;font-family:var(--nylas-font-family);cursor:pointer;display:flex;gap:0.5rem;background:transparent;border:none;border-radius:var(--nylas-border-radius-2x);padding:14px 16px;border-radius:var(--nylas-border-radius-2x)}.dropbtn.focus{background:transparent}.dropbtn:hover,.dropbtn:active{outline:1px solid var(--nylas-primary)}.dropbtn:active{outline:2px solid var(--nylas-primary)}.dropbtn span.chevron{display:flex;align-self:center}.dropbtn span.open{transform:rotate(90deg)}.dropbtn span.closed{transform:rotate(270deg)}.dropbtn span.selected-option{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:144px;font-size:14px;line-height:20px}@media screen and (max-width: 768px){.dropbtn span.selected-option{max-width:124px;font-size:16px}}.dropdown-content{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);max-width:306px;width:max-content;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.05);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1)}@media screen and (max-width: 768px){.dropdown-content{right:0;width:325px;max-width:unset}}.search-box{border-bottom:1px solid var(--nylas-base-200);padding:10px;position:sticky;top:0;background:var(--nylas-base-0)}.search-box .icon{position:absolute;top:1.25rem;left:1.25rem;color:var(--nylas-base-300)}.dropdown-content ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.dropdown-content ul li{padding:16px, 12px, 16px, 12px;color:var(--nylas-base-900);padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer}.dropdown-content ul li:hover,.dropdown-content ul li:focus{background-color:var(--nylas-base-100)}.dropdown-content .selected{background-color:#e7e7e7}input[type=text]{width:-webkit-fill-available;padding:inherit;border:1px solid var(--nylas-base-200);border-radius:4px;position:sticky;background:no-repeat scroll 7px 7px;padding-left:30px;background-size:16px 16px}', Dy = te(class extends ne {
1244
+ const Q_ = Ay, e6 = Yt, t6 = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}@media screen and (max-width: 768px){:host{position:unset}}.dropdown{display:inline-block;width:inherit}.dropbtn{color:var(--nylas-base-800);padding:10px;font-size:16px;font-family:var(--nylas-font-family);cursor:pointer;display:flex;gap:0.5rem;background:transparent;border:none;border-radius:var(--nylas-border-radius-2x);padding:14px 16px;border-radius:var(--nylas-border-radius-2x)}.dropbtn.focus{background:transparent}.dropbtn:hover,.dropbtn:active{outline:1px solid var(--nylas-primary)}.dropbtn:active{outline:2px solid var(--nylas-primary)}.dropbtn span.chevron{display:flex;align-self:center}.dropbtn span.open{transform:rotate(90deg)}.dropbtn span.closed{transform:rotate(270deg)}.dropbtn span.selected-option{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:144px;font-size:14px;line-height:20px}@media screen and (max-width: 768px){.dropbtn span.selected-option{max-width:124px;font-size:16px}}.dropdown-content{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);max-width:306px;width:max-content;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.05);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1)}@media screen and (max-width: 768px){.dropdown-content{right:0;width:325px;max-width:unset}}.search-box{border-bottom:1px solid var(--nylas-base-200);padding:10px;position:sticky;top:0;background:var(--nylas-base-0)}.search-box .icon{position:absolute;top:1.25rem;left:1.25rem;color:var(--nylas-base-300)}.dropdown-content ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.dropdown-content ul li{padding:16px, 12px, 16px, 12px;color:var(--nylas-base-900);padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer}.dropdown-content ul li:hover,.dropdown-content ul li:focus{background-color:var(--nylas-base-100)}.dropdown-content .selected{background-color:#e7e7e7}.dropdown-no-results{padding:12px 16px;color:var(--nylas-base-500);font-size:14px;font-style:italic;line-height:20px;cursor:default;list-style:none}input[type=text]{width:-webkit-fill-available;padding:inherit;border:1px solid var(--nylas-base-200);border-radius:4px;position:sticky;background:no-repeat scroll 7px 7px;padding-left:30px;background-size:16px 16px}', Dy = te(class extends ne {
1245
1245
  constructor() {
1246
- super(), this.__registerHost(), this.__attachShadow(), this.inputOptionChanged = Q(this, "inputOptionChanged", 7), this.options = [], this.pluralizedLabel = "", this.filterable = !1, this.selectedOption = this.defaultInputOption || null, this.isOpen = !1, this.typedValue = "", this.filteredOptions = [...this.options], this.ariaActivedescendant = "", this.shouldAutoScroll = !1;
1246
+ super(), this.__registerHost(), this.__attachShadow(), this.inputOptionChanged = Q(this, "inputOptionChanged", 7), this.options = [], this.pluralizedLabel = "", this.filterable = !1, this.selectedOption = this.defaultInputOption || null, this.isOpen = !1, this.typedValue = "", this.filteredOptions = [...this.options], this.ariaActivedescendant = "", this.shouldAutoScroll = !1, this.inputHasFocus = !1;
1247
1247
  }
1248
1248
  optionsChangedHandler(e, t) {
1249
- e !== t && (this.filteredOptions = this.getFilteredOptions(e));
1249
+ e !== t && (this.filteredOptions = this.getFilteredOptions(e), this.inputHasFocus && (this.filteredOptions.length > 0 || this.noResultsText) && (this.isOpen = !0));
1250
1250
  }
1251
1251
  defaultSelectedOptionChangedHandler(e, t) {
1252
1252
  e?.label !== t?.label && (this.selectedOption = e);
@@ -1279,10 +1279,10 @@ const Q_ = Ay, e6 = Yt, t6 = ':host{display:block;position:relative;--nylas-prim
1279
1279
  this.isOpen = !this.isOpen;
1280
1280
  }
1281
1281
  selectOption(e) {
1282
- this.selectedOption = e, this.toggleDropdown(), this.inputOptionChanged.emit({
1282
+ this.selectedOption = e, this.inputOptionChanged.emit({
1283
1283
  value: e.value,
1284
1284
  name: this.name
1285
- });
1285
+ }), this.isOpen = !1;
1286
1286
  }
1287
1287
  handleOnInput(e) {
1288
1288
  const t = e.target.value;
@@ -1350,16 +1350,22 @@ const Q_ = Ay, e6 = Yt, t6 = ':host{display:block;position:relative;--nylas-prim
1350
1350
  this.isOpen = !0, this.shouldAutoScroll = !0;
1351
1351
  return;
1352
1352
  }
1353
+ if (this.filteredOptions.length === 0)
1354
+ return;
1353
1355
  this.ariaActivedescendant = this.filteredOptions[0].value, this.focusOption(0);
1354
- } else e.key === "ArrowUp" || e.key === "Tab" && e.shiftKey ? (e.preventDefault(), this.ariaActivedescendant = this.filteredOptions[this.filteredOptions.length - 1].value, this.focusOption(this.filteredOptions.length - 1)) : e.key === "Escape" && (this.isOpen = !1);
1356
+ } else if (e.key === "ArrowUp" || e.key === "Tab" && e.shiftKey) {
1357
+ if (e.preventDefault(), this.filteredOptions.length === 0)
1358
+ return;
1359
+ this.ariaActivedescendant = this.filteredOptions[this.filteredOptions.length - 1].value, this.focusOption(this.filteredOptions.length - 1);
1360
+ } else e.key === "Escape" && (this.isOpen = !1);
1355
1361
  }
1356
1362
  handleOutsideClick(e) {
1357
1363
  !e.composedPath().includes(this.el) && this.isOpen && (this.isOpen = !1);
1358
1364
  }
1359
1365
  render() {
1360
- return r("div", { key: "7cc96be3c0d9bebc8de8e381783ae07aad2566f4", class: "dropdown", part: "id_dropdown" }, r("input", { key: "3be4adac114faf8775a6cbff32f92475e3befa35", type: "text", name: this.name, id: this.name, part: "id_dropdown-input", class: { dropbtn: !0, open: this.isOpen }, value: this.inputValue, onClick: (e) => {
1366
+ return r("div", { key: "ab51478d46e9ad93e21e6186c32f30e129e24f56", class: "dropdown", part: "id_dropdown" }, r("input", { key: "a2ff51dcf9f876ad650f86c8b436d864a27abc44", type: "text", name: this.name, id: this.name, part: "id_dropdown-input", class: { dropbtn: !0, open: this.isOpen }, value: this.inputValue, onClick: (e) => {
1361
1367
  this.toggleDropdown(), this.shouldAutoScroll = !0, this.handleClick(e);
1362
- }, "aria-haspopup": "listbox", "aria-label": this.name, "aria-expanded": this.isOpen ? "true" : "false", onKeyDown: (e) => this.handleComboboxKeyDown(e), onInput: (e) => this.handleOnInput(e) }), this.isOpen ? r("div", { class: "dropdown-content", part: "id_dropdown-content", ref: (e) => this.optionsRef = e }, r("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-activedescendant": this.ariaActivedescendant, onKeyDown: (e) => this.handleListboxKeydown(e) }, this.filteredOptions.map((e) => r("li", { tabindex: "0", key: e.value, id: e.value, onClick: () => this.selectOption(e), role: "option", class: {
1368
+ }, "aria-haspopup": "listbox", "aria-label": this.name, "aria-expanded": this.isOpen ? "true" : "false", onKeyDown: (e) => this.handleComboboxKeyDown(e), onInput: (e) => this.handleOnInput(e), onFocus: () => this.inputHasFocus = !0, onBlur: () => this.inputHasFocus = !1 }), this.isOpen ? r("div", { class: "dropdown-content", part: "id_dropdown-content", ref: (e) => this.optionsRef = e }, r("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-activedescendant": this.ariaActivedescendant, onKeyDown: (e) => this.handleListboxKeydown(e) }, this.filteredOptions.length === 0 && this.noResultsText ? r("li", { class: "dropdown-no-results", role: "status", "aria-live": "polite" }, this.noResultsText) : this.filteredOptions.map((e) => r("li", { tabindex: "0", key: e.value, id: e.value, onClick: () => this.selectOption(e), role: "option", class: {
1363
1369
  focused: this.ariaActivedescendant === e.value.toString()
1364
1370
  } }, e.labelHTML ? e.labelHTML : e.label)))) : null);
1365
1371
  }
@@ -1384,13 +1390,15 @@ const Q_ = Ay, e6 = Yt, t6 = ':host{display:block;position:relative;--nylas-prim
1384
1390
  inputValue: [1, "input-value"],
1385
1391
  pluralizedLabel: [1, "pluralized-label"],
1386
1392
  filterable: [4],
1393
+ noResultsText: [1, "no-results-text"],
1387
1394
  themeConfig: [16, "theme-config"],
1388
1395
  selectedOption: [32],
1389
1396
  isOpen: [32],
1390
1397
  typedValue: [32],
1391
1398
  filteredOptions: [32],
1392
1399
  ariaActivedescendant: [32],
1393
- shouldAutoScroll: [32]
1400
+ shouldAutoScroll: [32],
1401
+ inputHasFocus: [32]
1394
1402
  }, [[6, "click", "handleOutsideClick"]], {
1395
1403
  options: ["optionsChangedHandler"],
1396
1404
  defaultInputOption: ["defaultSelectedOptionChangedHandler"],
@@ -2331,7 +2339,7 @@ function ct() {
2331
2339
  }
2332
2340
  });
2333
2341
  }
2334
- const P6 = ':host{display:block;margin:1rem;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}.nylas-additional-participants__title{color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:600;line-height:20px;margin:0;text-align:left}.nylas-additional-participants__subtitle{color:var(--nylas-base-600);font-size:14px;font-style:normal;font-weight:400;line-height:20px;margin:0.25rem 0px 0px;text-align:left}.nylas-additional-participants__content{padding:1rem;display:flex;flex-direction:column;gap:1rem;background-color:var(--nylas-base-25)}.nylas-additional-participants__input_group{padding-top:8px;display:flex;flex-direction:column;gap:4px}.nylas-additional-participants__input_group label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:14px;font-style:normal;font-weight:400;line-height:150%}.nylas-additional-participants__input_group label span.org-as-participant{width:max-content}.nylas-additional-participants__error{color:var(--nylas-error);font-size:14px;font-family:var(--nylas-font-family);font-weight:400;line-height:16px;margin:0;text-align:left}.nylas-additional-participants__input_wrapper{display:flex;border-width:1;border-radius:8px;border:1px solid var(--nylas-base-300)}.nylas-additional-participants__input_wrapper.error{border-color:var(--nylas-error)}.nylas-additional-participants__input_wrapper button{padding:12px;border:none;border-left:1px solid var(--nylas-base-300);background:none;cursor:pointer;color:var(--nylas-base-800)}.nylas-additional-participants__input_wrapper button:hover,.nylas-additional-participants__input_wrapper button:active{color:var(--nylas-primary)}.nylas-additional-participants__input_wrapper_organizer{border:none}.nylas-additional-participants__input{flex:1;display:flex;justify-content:space-between}.nylas-additional-participants__input input{border:none;outline:none;background:none;width:100%}.nylas-additional-participants__input .nylas-additional-participants__input-with-loading{position:relative;width:100%}.nylas-additional-participants__input .nylas-additional-participants__loading{position:absolute;right:48px;top:50%;transform:translateY(-50%);font-size:12px;color:var(--nylas-base-500)}.nylas-additional-participants__input input-dropdown{width:100%}.nylas-additional-participants__input input-dropdown::part(id_dropdown){width:100%;height:100%}.nylas-additional-participants__input input-dropdown::part(id_dropdown-input){height:100%;border-radius:var(--nylas-border-radius-2x);border:none;border-top-right-radius:initial;border-bottom-right-radius:initial;padding-left:16px}.nylas-additional-participants__input input-component::part(ic__input){background:var(--nylas-base-50)}.nylas-additional-participants__input input-component::part(ic__label){font-size:14px}.nylas-additional-participants__input input-component div.required-input{display:flex;gap:4px}.nylas-additional-participants__input input-component div.required-input label{display:flex;gap:4px;align-items:center}.nylas-additional-participants__input input-component div.required-input label tooltip-component#organizer_participant_tooltip::part(tc__content){left:-84px}.nylas-additional-participants__add{padding:12px;display:flex;align-items:center;border:none;background:none;cursor:pointer;color:var(--nylas-base-800)}.nylas-additional-participants__add span{padding:0 8px;font-size:16px;font-style:normal;font-weight:500}.nylas-additional-participants__add:hover,.nylas-additional-participants__add:active{color:var(--nylas-primary)}';
2342
+ const P6 = ':host{display:block;margin:1rem;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}.nylas-additional-participants__title{color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:600;line-height:20px;margin:0;text-align:left}.nylas-additional-participants__subtitle{color:var(--nylas-base-600);font-size:14px;font-style:normal;font-weight:400;line-height:20px;margin:0.25rem 0px 0px;text-align:left}.nylas-additional-participants__content{padding:1rem;display:flex;flex-direction:column;gap:1rem;background-color:var(--nylas-base-25)}.nylas-additional-participants__input_group{padding-top:8px;display:flex;flex-direction:column;gap:4px}.nylas-additional-participants__input_group label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:14px;font-style:normal;font-weight:400;line-height:150%}.nylas-additional-participants__input_group label span.org-as-participant{width:max-content}.nylas-additional-participants__error{color:var(--nylas-error);font-size:14px;font-family:var(--nylas-font-family);font-weight:400;line-height:16px;margin:0;text-align:left}.nylas-additional-participants__input_wrapper{display:flex;align-items:center;min-height:48px;border-width:1;border-radius:8px;border:1px solid var(--nylas-base-300)}.nylas-additional-participants__input_wrapper.error{border-color:var(--nylas-error)}.nylas-additional-participants__input_wrapper button{flex-shrink:0;padding:12px;border:none;border-left:1px solid var(--nylas-base-300);background:none;cursor:pointer;color:var(--nylas-base-800)}.nylas-additional-participants__input_wrapper button:hover,.nylas-additional-participants__input_wrapper button:active{color:var(--nylas-primary)}.nylas-additional-participants__input_wrapper_organizer{border:none}.nylas-additional-participants__input{flex:1;display:flex;align-items:center;justify-content:space-between;min-height:48px}.nylas-additional-participants__input input{border:none;outline:none;background:none;width:100%}.nylas-additional-participants__input .nylas-additional-participants__input-with-loading{position:relative;width:100%}.nylas-additional-participants__input .nylas-additional-participants__loading{position:absolute;right:48px;top:50%;transform:translateY(-50%);font-size:12px;color:var(--nylas-base-500)}.nylas-additional-participants__input input-dropdown{width:100%}.nylas-additional-participants__input input-dropdown::part(id_dropdown){width:100%;height:100%}.nylas-additional-participants__input input-dropdown::part(id_dropdown-input){min-height:48px;box-sizing:border-box;border-radius:var(--nylas-border-radius-2x);border:none;outline:none;border-top-right-radius:initial;border-bottom-right-radius:initial;padding-left:16px}.nylas-additional-participants__input input-dropdown::part(id_dropdown-content){width:100%;max-width:none;box-sizing:border-box}.nylas-additional-participants__input input-component::part(ic__input){background:var(--nylas-base-50)}.nylas-additional-participants__input input-component::part(ic__label){font-size:14px}.nylas-additional-participants__input input-component div.required-input{display:flex;gap:4px}.nylas-additional-participants__input input-component div.required-input label{display:flex;gap:4px;align-items:center}.nylas-additional-participants__input input-component div.required-input label tooltip-component#organizer_participant_tooltip::part(tc__content){left:-84px}.nylas-additional-participants__add{padding:12px;display:flex;align-items:center;border:none;background:none;cursor:pointer;color:var(--nylas-base-800)}.nylas-additional-participants__add span{padding:0 8px;font-size:16px;font-style:normal;font-weight:500}.nylas-additional-participants__add:hover,.nylas-additional-participants__add:active{color:var(--nylas-primary)}';
2335
2343
  var M6 = function(n, e, t, a) {
2336
2344
  var i = arguments.length, o = i < 3 ? e : a === null ? a = Object.getOwnPropertyDescriptor(e, t) : a, l;
2337
2345
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
@@ -2408,7 +2416,11 @@ const Tf = te(class extends ne {
2408
2416
  const t = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/, a = e.detail.name, i = e.detail.value, l = this.getParticipantLookupSources().find((p) => p.email === i);
2409
2417
  if (this.participantSearch && i && (clearTimeout(this.participantSearchDebounceTimer), l ? this.participantSearchResults = [] : this.participantSearchDebounceTimer = setTimeout(() => {
2410
2418
  this.runParticipantSearch(i, parseInt(String(a), 10));
2411
- }, this.PARTICIPANT_SEARCH_DEBOUNCE_MS)), this.participants[a].email = i, !l && this.isRoundRobinConfig) {
2419
+ }, this.PARTICIPANT_SEARCH_DEBOUNCE_MS)), this.participants[a].email = i, i && this.participants.findIndex((g, y) => y !== parseInt(String(a), 10) && g.email === i) !== -1) {
2420
+ this.isInternalsAvailable && this.internals.setValidity({ customError: !0 }, h.t("nylasAdditionalParticipants.error_duplicate")), this.participantErrors[a] = h.t("nylasAdditionalParticipants.error_duplicate"), this.participants[a].is_valid = !1, this.participants = [...this.participants];
2421
+ return;
2422
+ }
2423
+ if (!l && this.isRoundRobinConfig) {
2412
2424
  this.isInternalsAvailable && this.internals.setValidity({ customError: !0 }, "For round robin configuration, participant should be selected from the dropdown."), this.participantErrors[a] = "For round robin page, participant should be selected from the dropdown.", this.participants[a].is_valid = !1, this.participants = [...this.participants];
2413
2425
  return;
2414
2426
  } else if (!l && !t.test(i)) {
@@ -2464,14 +2476,14 @@ const Tf = te(class extends ne {
2464
2476
  this.host.style.setProperty(`${t}`, a);
2465
2477
  }
2466
2478
  render() {
2467
- return r(Le, { key: "92615e2d518a5ee72ae70a024cb50d43cd8c7ddc", part: "nadtnlpart" }, r("nylas-form-card", { key: "c19442172fbc0b259f2233ba912b23618d4df7c3", exportparts: "nfc, nfc__header", themeConfig: this.themeConfig }, r("h3", { key: "f6e661a0792ad0babbcacb8cb888e9fd205d64e5", slot: "header-title", class: "nylas-additional-participants__title", part: "nadtnlpart__title" }, h.t("nylasAdditionalParticipants.headerTitle")), r("p", { key: "9d78330a3a99acc2043b89ab7b7468edc842c9ed", slot: "header-subtitle", class: "nylas-additional-participants__subtitle", part: "nadtnlpart__subtitle" }, h.t("nylasAdditionalParticipants.headerSubTitle")), r("div", { key: "317214d9567fcb846761a28f9953d3674822e5af", slot: "content", class: "nylas-additional-participants__content", part: "nadtnlpart__content" }, r("div", { key: "9ef19ad08f017e59b8d9fe7c152912663df9a8c3" }, this.participants.map((e, t) => r("div", { class: "nylas-additional-participants__input_group", part: "nadtnlpart__input_group" }, !e.is_organizer && r("label", null, `${h.t("nylasAdditionalParticipants.participant")} ${t}`), r("div", { part: "nadtnlpart__input_wrapper", class: {
2479
+ return r(Le, { key: "ac6c5c33e2568ac9ce98eca254bc0fc54846dd7d", part: "nadtnlpart" }, r("nylas-form-card", { key: "0daca01039882d12f32d80d3a0575e6def503150", exportparts: "nfc, nfc__header", themeConfig: this.themeConfig }, r("h3", { key: "5b93202f197ac444ea4aeff54fcde10f9943ed84", slot: "header-title", class: "nylas-additional-participants__title", part: "nadtnlpart__title" }, h.t("nylasAdditionalParticipants.headerTitle")), r("p", { key: "9542bc57b8212fb005e8f9f4e5d07ba9c6e0b17f", slot: "header-subtitle", class: "nylas-additional-participants__subtitle", part: "nadtnlpart__subtitle" }, h.t("nylasAdditionalParticipants.headerSubTitle")), r("div", { key: "a82d4138799eb7acd0db61d811cd9fb71651e493", slot: "content", class: "nylas-additional-participants__content", part: "nadtnlpart__content" }, r("div", { key: "4304c444c59160f8eee48040202ad43cec6c6e2d" }, this.participants.map((e, t) => r("div", { class: "nylas-additional-participants__input_group", part: "nadtnlpart__input_group" }, !e.is_organizer && r("label", null, `${h.t("nylasAdditionalParticipants.participant")} ${t}`), r("div", { part: "nadtnlpart__input_wrapper", class: {
2468
2480
  "nylas-additional-participants__input_wrapper": !0,
2469
2481
  "nylas-additional-participants__input_wrapper_organizer": e?.is_organizer === !0,
2470
2482
  "nylas-additional-participants__input_wrapper_invalid": e.is_valid === !1,
2471
2483
  error: e.is_valid === !1
2472
2484
  } }, r("div", { class: { "nylas-additional-participants__input": !0, organizer: e?.is_organizer === !0 }, part: "nadtnlpart__input" }, e.is_organizer ? r("input-component", { class: "label-input", name: `${t}`, key: t, label: h.t("nylasAdditionalParticipants.organizer"), required: !1, requiredError: this.requiredError, patternError: this.patternError, readOnly: e.is_organizer, defaultValue: e.email, themeConfig: this.themeConfig }, this.isRoundRobinConfig && r("div", { class: "required-input", slot: "additional-input" }, r("input", { type: "checkbox", name: "organizer_participant", id: "organizer_participant", onClick: () => {
2473
2485
  this.includeOrganizerAsParticipant = !this.includeOrganizerAsParticipant, this.updateFormValue();
2474
- }, checked: this.includeOrganizerAsParticipant }), r("label", { htmlFor: "organizer_participant", "aria-label": "Include as participant" }, r("span", { class: "org-as-participant", part: "nadtnlpart__org-as-participant" }, h.t("nylasAdditionalParticipants.organizerAsParticipant")), r("tooltip-component", { id: "organizer_participant_tooltip" }, r("info-icon", { slot: "tooltip-icon" }), r("span", { slot: "tooltip-content" }, r("strong", null, h.t("nylasAdditionalParticipants.tooltip.includeOrganizer"), ":"), " ", h.t("nylasAdditionalParticipants.tooltip.includeOrganizerDesc"), " ", r("br", null), r("strong", null, h.t("nylasAdditionalParticipants.tooltip.excludeOrganizer"), ":"), " ", h.t("nylasAdditionalParticipants.tooltip.excludeOrganizerDesc")))))) : r("div", { class: "nylas-additional-participants__input-with-loading" }, r("input-dropdown", { id: `${t}`, name: `${t}`, filterable: !this.participantSearch, inputValue: e.email, options: this.getDropdownOptions(t), themeConfig: this.themeConfig }), this.participantSearch && this.participantSearchLoading && r("span", { class: "nylas-additional-participants__loading", part: "nadtnlpart__loading", "aria-live": "polite" }, h.t("nylasAdditionalParticipants.searching"))), !e.is_organizer && r("button", { onClick: () => this.removeParticipant(t), part: "nadtnlpart__remove-participant" }, r("close-icon", null)))), !e.is_valid && r("p", { class: "nylas-additional-participants__error", part: "nadtnlpart__error" }, this.participantErrors[t]))), r("p", { key: "972a48ac739e973838625d69ec945e610a420964", class: "nylas-additional-participants__error", part: "nadtnlpart__error" }, this.error)), r("button", { key: "402583a96ed4372d68593de0353b46b63da9bfee", class: "nylas-additional-participants__add", part: "nadtnlpart__add-participant", onClick: () => this.addParticipant() }, r("add-circle-icon", { key: "d2116ea0fd10f324820669a5a85addb219859293" }), " ", r("span", { key: "d1b7acf05a26ca0748e95a7fa83aca3d53113687" }, this.participants.length > 1 ? h.t("nylasAdditionalParticipants.addParticipant", { context: "next" }) : h.t("nylasAdditionalParticipants.addParticipant", { context: "first" }))))));
2486
+ }, checked: this.includeOrganizerAsParticipant }), r("label", { htmlFor: "organizer_participant", "aria-label": "Include as participant" }, r("span", { class: "org-as-participant", part: "nadtnlpart__org-as-participant" }, h.t("nylasAdditionalParticipants.organizerAsParticipant")), r("tooltip-component", { id: "organizer_participant_tooltip" }, r("info-icon", { slot: "tooltip-icon" }), r("span", { slot: "tooltip-content" }, r("strong", null, h.t("nylasAdditionalParticipants.tooltip.includeOrganizer"), ":"), " ", h.t("nylasAdditionalParticipants.tooltip.includeOrganizerDesc"), " ", r("br", null), r("strong", null, h.t("nylasAdditionalParticipants.tooltip.excludeOrganizer"), ":"), " ", h.t("nylasAdditionalParticipants.tooltip.excludeOrganizerDesc")))))) : r("div", { class: "nylas-additional-participants__input-with-loading" }, r("input-dropdown", { id: `${t}`, name: `${t}`, filterable: !this.participantSearch, inputValue: e.email, options: this.getDropdownOptions(t), noResultsText: this.participantSearch && !this.participantSearchLoading && this.activeSearchInputIndex === t && e.email?.trim() && this.getDropdownOptions(t).length === 0 ? h.t("nylasAdditionalParticipants.noResults") : void 0, themeConfig: this.themeConfig }), this.participantSearch && this.participantSearchLoading && this.activeSearchInputIndex === t && r("span", { class: "nylas-additional-participants__loading", part: "nadtnlpart__loading", "aria-live": "polite" }, h.t("nylasAdditionalParticipants.searching"))), !e.is_organizer && r("button", { onClick: () => this.removeParticipant(t), part: "nadtnlpart__remove-participant" }, r("close-icon", null)))), !e.is_valid && r("p", { class: "nylas-additional-participants__error", part: "nadtnlpart__error" }, this.participantErrors[t]))), r("p", { key: "bf1369cbc3386312d587daab495a7a8520ea3461", class: "nylas-additional-participants__error", part: "nadtnlpart__error" }, this.error)), r("button", { key: "6f05bc57117e370fe3d91c3f20990f85a8f7d0fe", class: "nylas-additional-participants__add", part: "nadtnlpart__add-participant", onClick: () => this.addParticipant() }, r("add-circle-icon", { key: "3bfeab091d3d074d07161fca9fbc579a31df917a" }), " ", r("span", { key: "cdd6aae14f5912de1838badba4d0d0b109507b0d" }, this.participants.length > 1 ? h.t("nylasAdditionalParticipants.addParticipant", { context: "next" }) : h.t("nylasAdditionalParticipants.addParticipant", { context: "first" }))))));
2475
2487
  }
2476
2488
  static get formAssociated() {
2477
2489
  return !0;
@@ -9420,8 +9432,8 @@ function fi() {
9420
9432
  }
9421
9433
  });
9422
9434
  }
9423
- const e7 = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;width:inherit}.nylas-disable-emails{border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);margin:1rem;color:var(--nylas-base-900)}.header{padding:1rem;display:grid;grid-template-columns:1fr auto;border-bottom:1px solid var(--nylas-base-200)}.header h3{border-radius:var(--nylas-border-radius-2x);margin:0;font-size:16px;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.header p{display:flex;gap:4px;align-items:center;margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.header .drawer-toggle{display:flex;gap:24px;align-items:center}.header .drawer-toggle .chevron{display:flex;align-self:center;cursor:pointer}.header .drawer-toggle .chevron:hover,.header .drawer-toggle .chevron:active{color:var(--nylas-primary)}.header .drawer-toggle .chevron.open{transform:rotate(90deg)}.header .drawer-toggle .chevron.closed{transform:rotate(270deg)}.header .drawer-toggle .chevron.disabled{cursor:not-allowed;color:var(--nylas-base-300)}.header .drawer-toggle .chevron.disabled:hover{color:var(--nylas-base-300)}.content{background-color:var(--nylas-base-25);padding:1rem;display:flex;flex-direction:column;gap:1rem}.toggle{display:flex;align-items:center;justify-content:space-between;padding:0}.toggle label{display:inline-flex;align-items:center;gap:8px}.toggle toggle-switch{margin-right:12px}.toggle select-dropdown{width:auto}';
9424
- var t7 = function(n, e, t, a) {
9435
+ const e4 = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;width:inherit}.nylas-disable-emails{border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);margin:1rem;color:var(--nylas-base-900)}.header{padding:1rem;display:grid;grid-template-columns:1fr auto;border-bottom:1px solid var(--nylas-base-200)}.header h3{border-radius:var(--nylas-border-radius-2x);margin:0;font-size:16px;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.header p{display:flex;gap:4px;align-items:center;margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.header .drawer-toggle{display:flex;gap:24px;align-items:center}.header .drawer-toggle .chevron{display:flex;align-self:center;cursor:pointer}.header .drawer-toggle .chevron:hover,.header .drawer-toggle .chevron:active{color:var(--nylas-primary)}.header .drawer-toggle .chevron.open{transform:rotate(90deg)}.header .drawer-toggle .chevron.closed{transform:rotate(270deg)}.header .drawer-toggle .chevron.disabled{cursor:not-allowed;color:var(--nylas-base-300)}.header .drawer-toggle .chevron.disabled:hover{color:var(--nylas-base-300)}.content{background-color:var(--nylas-base-25);padding:1rem;display:flex;flex-direction:column;gap:1rem}.toggle{display:flex;align-items:center;justify-content:space-between;padding:0}.toggle label{display:inline-flex;align-items:center;gap:8px}.toggle toggle-switch{margin-right:12px}.toggle select-dropdown{width:auto}';
9436
+ var t4 = function(n, e, t, a) {
9425
9437
  var i = arguments.length, o = i < 3 ? e : a === null ? a = Object.getOwnPropertyDescriptor(e, t) : a, l;
9426
9438
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
9427
9439
  o = Reflect.decorate(n, e, t, a);
@@ -9522,7 +9534,7 @@ const eu = te(class extends ne {
9522
9534
  };
9523
9535
  }
9524
9536
  static get style() {
9525
- return e7;
9537
+ return e4;
9526
9538
  }
9527
9539
  }, [321, "nylas-disable-emails", {
9528
9540
  selectedConfiguration: [16, "selected-configuration"],
@@ -9537,7 +9549,7 @@ const eu = te(class extends ne {
9537
9549
  selectedConfiguration: ["selectedConfigurationChangedHandler"],
9538
9550
  themeConfig: ["themeConfigChangedHandler"]
9539
9551
  }]);
9540
- t7([
9552
+ t4([
9541
9553
  Ue({
9542
9554
  name: "nylas-disable-emails",
9543
9555
  stateToProps: /* @__PURE__ */ new Map([
@@ -9589,7 +9601,7 @@ function Xs() {
9589
9601
  }
9590
9602
  });
9591
9603
  }
9592
- const n7 = eu, a7 = Xs;
9604
+ const n4 = eu, a4 = Xs;
9593
9605
  var gt = /* @__PURE__ */ ((n) => (n.Error = "error", n.Warning = "warning", n.Info = "info", n.Success = "success", n))(gt || {});
9594
9606
  const En = (n) => n !== null && typeof n == "object" && "error" in n;
9595
9607
  var Zp;
@@ -9624,7 +9636,7 @@ function b0(n) {
9624
9636
  function Jp(n) {
9625
9637
  return to(n, "DOMError");
9626
9638
  }
9627
- function i7(n) {
9639
+ function i4(n) {
9628
9640
  return to(n, "DOMException");
9629
9641
  }
9630
9642
  function ga(n) {
@@ -9642,16 +9654,16 @@ function $i(n) {
9642
9654
  function Qs(n) {
9643
9655
  return typeof Event < "u" && ii(n, Event);
9644
9656
  }
9645
- function o7(n) {
9657
+ function o4(n) {
9646
9658
  return typeof Element < "u" && ii(n, Element);
9647
9659
  }
9648
- function r7(n) {
9660
+ function r4(n) {
9649
9661
  return to(n, "RegExp");
9650
9662
  }
9651
9663
  function el(n) {
9652
9664
  return !!(n && n.then && typeof n.then == "function");
9653
9665
  }
9654
- function s7(n) {
9666
+ function s4(n) {
9655
9667
  return $i(n) && "nativeEvent" in n && "preventDefault" in n && "stopPropagation" in n;
9656
9668
  }
9657
9669
  function ii(n, e) {
@@ -9681,17 +9693,17 @@ function Xp(n, e) {
9681
9693
  }
9682
9694
  return t.join(e);
9683
9695
  }
9684
- function l7(n, e, t = !1) {
9685
- return ga(n) ? r7(e) ? e.test(n) : ga(e) ? t ? n === e : n.includes(e) : !1 : !1;
9696
+ function l4(n, e, t = !1) {
9697
+ return ga(n) ? r4(e) ? e.test(n) : ga(e) ? t ? n === e : n.includes(e) : !1 : !1;
9686
9698
  }
9687
9699
  function tl(n, e = [], t = !1) {
9688
- return e.some((a) => l7(n, a, t));
9700
+ return e.some((a) => l4(n, a, t));
9689
9701
  }
9690
- function c7(n, e, t = 250, a, i, o, l) {
9702
+ function c4(n, e, t = 250, a, i, o, l) {
9691
9703
  if (!o.exception || !o.exception.values || !l || !ii(l.originalException, Error))
9692
9704
  return;
9693
9705
  const f = o.exception.values.length > 0 ? o.exception.values[o.exception.values.length - 1] : void 0;
9694
- f && (o.exception.values = d7(
9706
+ f && (o.exception.values = d4(
9695
9707
  Yd(
9696
9708
  n,
9697
9709
  e,
@@ -9756,7 +9768,7 @@ function em(n, e, t, a) {
9756
9768
  parent_id: a
9757
9769
  };
9758
9770
  }
9759
- function d7(n, e) {
9771
+ function d4(n, e) {
9760
9772
  return n.map((t) => (t.value && (t.value = Oi(t.value, e)), t));
9761
9773
  }
9762
9774
  const Ha = "8.28.0", pt = globalThis;
@@ -9764,7 +9776,7 @@ function iu(n, e, t) {
9764
9776
  const a = pt, i = a.__SENTRY__ = a.__SENTRY__ || {}, o = i[Ha] = i[Ha] || {};
9765
9777
  return o[n] || (o[n] = e());
9766
9778
  }
9767
- const ou = pt, f7 = 80;
9779
+ const ou = pt, f4 = 80;
9768
9780
  function C0(n, e = {}) {
9769
9781
  if (!n)
9770
9782
  return "<unknown>";
@@ -9774,15 +9786,15 @@ function C0(n, e = {}) {
9774
9786
  let o = 0, l = 0;
9775
9787
  const f = " > ", p = f.length;
9776
9788
  let g;
9777
- const y = Array.isArray(e) ? e : e.keyAttrs, C = !Array.isArray(e) && e.maxStringLength || f7;
9778
- for (; t && o++ < a && (g = u7(t, y), !(g === "html" || o > 1 && l + i.length * p + g.length >= C)); )
9789
+ const y = Array.isArray(e) ? e : e.keyAttrs, C = !Array.isArray(e) && e.maxStringLength || f4;
9790
+ for (; t && o++ < a && (g = u4(t, y), !(g === "html" || o > 1 && l + i.length * p + g.length >= C)); )
9779
9791
  i.push(g), l += g.length, t = t.parentNode;
9780
9792
  return i.reverse().join(f);
9781
9793
  } catch {
9782
9794
  return "<unknown>";
9783
9795
  }
9784
9796
  }
9785
- function u7(n, e) {
9797
+ function u4(n, e) {
9786
9798
  const t = n, a = [];
9787
9799
  if (!t || !t.tagName)
9788
9800
  return "";
@@ -9821,7 +9833,7 @@ function _0() {
9821
9833
  return "";
9822
9834
  }
9823
9835
  }
9824
- function h7(n) {
9836
+ function h4(n) {
9825
9837
  if (!ou.HTMLElement)
9826
9838
  return null;
9827
9839
  let e = n;
@@ -9839,7 +9851,7 @@ function h7(n) {
9839
9851
  }
9840
9852
  return null;
9841
9853
  }
9842
- const qo = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, p7 = "Sentry Logger ", Zd = [
9854
+ const qo = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, p4 = "Sentry Logger ", Zd = [
9843
9855
  "debug",
9844
9856
  "info",
9845
9857
  "warn",
@@ -9864,7 +9876,7 @@ function Go(n) {
9864
9876
  });
9865
9877
  }
9866
9878
  }
9867
- function m7() {
9879
+ function m4() {
9868
9880
  let n = !1;
9869
9881
  const e = {
9870
9882
  enable: () => {
@@ -9878,7 +9890,7 @@ function m7() {
9878
9890
  return qo ? Zd.forEach((t) => {
9879
9891
  e[t] = (...a) => {
9880
9892
  n && Go(() => {
9881
- pt.console[t](`${p7}[${t}]:`, ...a);
9893
+ pt.console[t](`${p4}[${t}]:`, ...a);
9882
9894
  });
9883
9895
  };
9884
9896
  }) : Zd.forEach((t) => {
@@ -9886,16 +9898,16 @@ function m7() {
9886
9898
  };
9887
9899
  }), e;
9888
9900
  }
9889
- const Qe = m7(), g7 = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;
9890
- function y7(n) {
9901
+ const Qe = m4(), g4 = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;
9902
+ function y4(n) {
9891
9903
  return n === "http" || n === "https";
9892
9904
  }
9893
9905
  function nl(n, e = !1) {
9894
9906
  const { host: t, path: a, pass: i, port: o, projectId: l, protocol: f, publicKey: p } = n;
9895
9907
  return `${f}://${p}${e && i ? `:${i}` : ""}@${t}${o ? `:${o}` : ""}/${a && `${a}/`}${l}`;
9896
9908
  }
9897
- function b7(n) {
9898
- const e = g7.exec(n);
9909
+ function b4(n) {
9910
+ const e = g4.exec(n);
9899
9911
  if (!e) {
9900
9912
  Go(() => {
9901
9913
  console.error(`Invalid Sentry Dsn: ${n}`);
@@ -9922,15 +9934,15 @@ function k0(n) {
9922
9934
  projectId: n.projectId
9923
9935
  };
9924
9936
  }
9925
- function v7(n) {
9937
+ function v4(n) {
9926
9938
  if (!qo)
9927
9939
  return !0;
9928
9940
  const { port: e, projectId: t, protocol: a } = n;
9929
- return ["protocol", "publicKey", "host", "projectId"].find((l) => n[l] ? !1 : (Qe.error(`Invalid Sentry Dsn: ${l} missing`), !0)) ? !1 : t.match(/^\d+$/) ? y7(a) ? e && isNaN(parseInt(e, 10)) ? (Qe.error(`Invalid Sentry Dsn: Invalid port ${e}`), !1) : !0 : (Qe.error(`Invalid Sentry Dsn: Invalid protocol ${a}`), !1) : (Qe.error(`Invalid Sentry Dsn: Invalid projectId ${t}`), !1);
9941
+ return ["protocol", "publicKey", "host", "projectId"].find((l) => n[l] ? !1 : (Qe.error(`Invalid Sentry Dsn: ${l} missing`), !0)) ? !1 : t.match(/^\d+$/) ? y4(a) ? e && isNaN(parseInt(e, 10)) ? (Qe.error(`Invalid Sentry Dsn: Invalid port ${e}`), !1) : !0 : (Qe.error(`Invalid Sentry Dsn: Invalid protocol ${a}`), !1) : (Qe.error(`Invalid Sentry Dsn: Invalid projectId ${t}`), !1);
9930
9942
  }
9931
- function C7(n) {
9932
- const e = typeof n == "string" ? b7(n) : k0(n);
9933
- if (!(!e || !v7(e)))
9943
+ function C4(n) {
9944
+ const e = typeof n == "string" ? b4(n) : k0(n);
9945
+ if (!(!e || !v4(e)))
9934
9946
  return e;
9935
9947
  }
9936
9948
  class Qn extends Error {
@@ -9967,7 +9979,7 @@ function w0(n, e) {
9967
9979
  function ru(n) {
9968
9980
  return n.__sentry_original__;
9969
9981
  }
9970
- function _7(n) {
9982
+ function _4(n) {
9971
9983
  return Object.keys(n).map((e) => `${encodeURIComponent(e)}=${encodeURIComponent(n[e])}`).join("&");
9972
9984
  }
9973
9985
  function E0(n) {
@@ -9991,7 +10003,7 @@ function E0(n) {
9991
10003
  }
9992
10004
  function tm(n) {
9993
10005
  try {
9994
- return o7(n) ? C0(n) : Object.prototype.toString.call(n);
10006
+ return o4(n) ? C0(n) : Object.prototype.toString.call(n);
9995
10007
  } catch {
9996
10008
  return "<unknown>";
9997
10009
  }
@@ -10005,7 +10017,7 @@ function nm(n) {
10005
10017
  } else
10006
10018
  return {};
10007
10019
  }
10008
- function k7(n, e = 40) {
10020
+ function k4(n, e = 40) {
10009
10021
  const t = Object.keys(E0(n));
10010
10022
  t.sort();
10011
10023
  const a = t[0];
@@ -10024,7 +10036,7 @@ function bn(n) {
10024
10036
  return Kd(n, /* @__PURE__ */ new Map());
10025
10037
  }
10026
10038
  function Kd(n, e) {
10027
- if (w7(n)) {
10039
+ if (w4(n)) {
10028
10040
  const t = e.get(n);
10029
10041
  if (t !== void 0)
10030
10042
  return t;
@@ -10045,7 +10057,7 @@ function Kd(n, e) {
10045
10057
  }
10046
10058
  return n;
10047
10059
  }
10048
- function w7(n) {
10060
+ function w4(n) {
10049
10061
  if (!$i(n))
10050
10062
  return !1;
10051
10063
  try {
@@ -10078,13 +10090,13 @@ function S0(...n) {
10078
10090
  break;
10079
10091
  }
10080
10092
  }
10081
- return x7(o.slice(i));
10093
+ return x4(o.slice(i));
10082
10094
  };
10083
10095
  }
10084
- function E7(n) {
10096
+ function E4(n) {
10085
10097
  return Array.isArray(n) ? S0(...n) : n;
10086
10098
  }
10087
- function x7(n) {
10099
+ function x4(n) {
10088
10100
  if (!n.length)
10089
10101
  return [];
10090
10102
  const e = Array.from(n);
@@ -10141,11 +10153,11 @@ Error:`,
10141
10153
  );
10142
10154
  }
10143
10155
  }
10144
- function S7(n) {
10156
+ function S4(n) {
10145
10157
  const e = "console";
10146
- ui(e, n), hi(e, T7);
10158
+ ui(e, n), hi(e, T4);
10147
10159
  }
10148
- function T7() {
10160
+ function T4() {
10149
10161
  "console" in pt && Zd.forEach(function(n) {
10150
10162
  n in pt.console && yn(pt.console, n, function(e) {
10151
10163
  return bs[n] = e, function(...t) {
@@ -10169,7 +10181,7 @@ function T0() {
10169
10181
  function Xd(n) {
10170
10182
  return n && /^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(n.toString());
10171
10183
  }
10172
- function A7() {
10184
+ function A4() {
10173
10185
  if (typeof EdgeRuntime == "string")
10174
10186
  return !0;
10175
10187
  if (!T0())
@@ -10191,14 +10203,14 @@ const A0 = 1e3;
10191
10203
  function Yo() {
10192
10204
  return Date.now() / A0;
10193
10205
  }
10194
- function D7() {
10206
+ function D4() {
10195
10207
  const { performance: n } = pt;
10196
10208
  if (!n || !n.now)
10197
10209
  return Yo;
10198
10210
  const e = Date.now() - n.now(), t = n.timeOrigin == null ? e : n.timeOrigin;
10199
10211
  return () => (t + n.now()) / A0;
10200
10212
  }
10201
- const ya = D7();
10213
+ const ya = D4();
10202
10214
  (() => {
10203
10215
  const { performance: n } = pt;
10204
10216
  if (!n || !n.now)
@@ -10206,14 +10218,14 @@ const ya = D7();
10206
10218
  const e = 3600 * 1e3, t = n.now(), a = Date.now(), i = n.timeOrigin ? Math.abs(n.timeOrigin + t - a) : e, o = i < e, l = n.timing && n.timing.navigationStart, p = typeof l == "number" ? Math.abs(l + t - a) : e, g = p < e;
10207
10219
  return o || g ? i <= p ? n.timeOrigin : l : a;
10208
10220
  })();
10209
- function I7(n, e) {
10221
+ function I4(n, e) {
10210
10222
  const t = "fetch";
10211
- ui(t, n), hi(t, () => R7(void 0, e));
10223
+ ui(t, n), hi(t, () => R4(void 0, e));
10212
10224
  }
10213
- function R7(n, e = !1) {
10214
- e && !A7() || yn(pt, "fetch", function(t) {
10225
+ function R4(n, e = !1) {
10226
+ e && !A4() || yn(pt, "fetch", function(t) {
10215
10227
  return function(...a) {
10216
- const { method: i, url: o } = O7(a), l = {
10228
+ const { method: i, url: o } = O4(a), l = {
10217
10229
  args: a,
10218
10230
  fetchData: {
10219
10231
  method: i,
@@ -10248,7 +10260,7 @@ function Qd(n, e) {
10248
10260
  function sm(n) {
10249
10261
  return typeof n == "string" ? n : n ? Qd(n, "url") ? n.url : n.toString ? n.toString() : "" : "";
10250
10262
  }
10251
- function O7(n) {
10263
+ function O4(n) {
10252
10264
  if (n.length === 0)
10253
10265
  return { method: "GET", url: "" };
10254
10266
  if (n.length === 2) {
@@ -10265,11 +10277,11 @@ function O7(n) {
10265
10277
  };
10266
10278
  }
10267
10279
  let Hr = null;
10268
- function L7(n) {
10280
+ function L4(n) {
10269
10281
  const e = "error";
10270
- ui(e, n), hi(e, P7);
10282
+ ui(e, n), hi(e, P4);
10271
10283
  }
10272
- function P7() {
10284
+ function P4() {
10273
10285
  Hr = pt.onerror, pt.onerror = function(n, e, t, a, i) {
10274
10286
  return Vn("error", {
10275
10287
  column: a,
@@ -10281,34 +10293,34 @@ function P7() {
10281
10293
  }, pt.onerror.__SENTRY_INSTRUMENTED__ = !0;
10282
10294
  }
10283
10295
  let Fr = null;
10284
- function M7(n) {
10296
+ function M4(n) {
10285
10297
  const e = "unhandledrejection";
10286
- ui(e, n), hi(e, H7);
10298
+ ui(e, n), hi(e, H4);
10287
10299
  }
10288
- function H7() {
10300
+ function H4() {
10289
10301
  Fr = pt.onunhandledrejection, pt.onunhandledrejection = function(n) {
10290
10302
  return Vn("unhandledrejection", n), Fr && !Fr.__SENTRY_LOADER__ ? Fr.apply(this, arguments) : !0;
10291
10303
  }, pt.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
10292
10304
  }
10293
- function F7() {
10305
+ function F4() {
10294
10306
  return typeof __SENTRY_BROWSER_BUNDLE__ < "u" && !!__SENTRY_BROWSER_BUNDLE__;
10295
10307
  }
10296
- function $7() {
10308
+ function $4() {
10297
10309
  return "npm";
10298
10310
  }
10299
- function N7() {
10300
- return !F7() && Object.prototype.toString.call(typeof process < "u" ? process : 0) === "[object process]";
10311
+ function N4() {
10312
+ return !F4() && Object.prototype.toString.call(typeof process < "u" ? process : 0) === "[object process]";
10301
10313
  }
10302
- function B7() {
10303
- return typeof window < "u" && (!N7() || z7());
10314
+ function B4() {
10315
+ return typeof window < "u" && (!N4() || z4());
10304
10316
  }
10305
- function z7() {
10317
+ function z4() {
10306
10318
  return (
10307
10319
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any
10308
10320
  pt.process !== void 0 && pt.process.type === "renderer"
10309
10321
  );
10310
10322
  }
10311
- function j7() {
10323
+ function j4() {
10312
10324
  const n = typeof WeakSet == "function", e = n ? /* @__PURE__ */ new WeakSet() : [];
10313
10325
  function t(i) {
10314
10326
  if (n)
@@ -10395,14 +10407,14 @@ function Ra(n, e = 100, t = 1 / 0) {
10395
10407
  }
10396
10408
  function R0(n, e = 3, t = 100 * 1024) {
10397
10409
  const a = Ra(n, e);
10398
- return q7(a) > t ? R0(n, e - 1, t) : a;
10410
+ return q4(a) > t ? R0(n, e - 1, t) : a;
10399
10411
  }
10400
- function tf(n, e, t = 1 / 0, a = 1 / 0, i = j7()) {
10412
+ function tf(n, e, t = 1 / 0, a = 1 / 0, i = j4()) {
10401
10413
  const [o, l] = i;
10402
10414
  if (e == null || // this matches null and undefined -> eqeq not eqeqeq
10403
10415
  ["number", "boolean", "string"].includes(typeof e) && !Number.isNaN(e))
10404
10416
  return e;
10405
- const f = U7(n, e);
10417
+ const f = U4(n, e);
10406
10418
  if (!f.startsWith("[object "))
10407
10419
  return f;
10408
10420
  if (e.__sentry_skip_normalization__)
@@ -10434,7 +10446,7 @@ function tf(n, e, t = 1 / 0, a = 1 / 0, i = j7()) {
10434
10446
  }
10435
10447
  return l(e), y;
10436
10448
  }
10437
- function U7(n, e) {
10449
+ function U4(n, e) {
10438
10450
  try {
10439
10451
  if (n === "domain" && e && typeof e == "object" && e._events)
10440
10452
  return "[Domain]";
@@ -10448,7 +10460,7 @@ function U7(n, e) {
10448
10460
  return "[Document]";
10449
10461
  if (v0(e))
10450
10462
  return "[VueViewModel]";
10451
- if (s7(e))
10463
+ if (s4(e))
10452
10464
  return "[SyntheticEvent]";
10453
10465
  if (typeof e == "number" && e !== e)
10454
10466
  return "[NaN]";
@@ -10458,21 +10470,21 @@ function U7(n, e) {
10458
10470
  return `[${String(e)}]`;
10459
10471
  if (typeof e == "bigint")
10460
10472
  return `[BigInt: ${String(e)}]`;
10461
- const t = V7(e);
10473
+ const t = V4(e);
10462
10474
  return /^HTML(\w*)Element$/.test(t) ? `[HTMLElement: ${t}]` : `[object ${t}]`;
10463
10475
  } catch (t) {
10464
10476
  return `**non-serializable** (${t})`;
10465
10477
  }
10466
10478
  }
10467
- function V7(n) {
10479
+ function V4(n) {
10468
10480
  const e = Object.getPrototypeOf(n);
10469
10481
  return e ? e.constructor.name : "null prototype";
10470
10482
  }
10471
- function W7(n) {
10483
+ function W4(n) {
10472
10484
  return ~-encodeURI(n).split(/%..|./).length;
10473
10485
  }
10474
- function q7(n) {
10475
- return W7(JSON.stringify(n));
10486
+ function q4(n) {
10487
+ return W4(JSON.stringify(n));
10476
10488
  }
10477
10489
  var ua;
10478
10490
  (function(n) {
@@ -10589,7 +10601,7 @@ class In {
10589
10601
  };
10590
10602
  }
10591
10603
  }
10592
- function G7(n) {
10604
+ function G4(n) {
10593
10605
  const e = [];
10594
10606
  function t() {
10595
10607
  return n === void 0 || e.length < n;
@@ -10645,18 +10657,18 @@ function Zc(n) {
10645
10657
  // everything minus origin
10646
10658
  };
10647
10659
  }
10648
- const Y7 = ["fatal", "error", "warning", "log", "info", "debug"];
10649
- function Z7(n) {
10650
- return n === "warn" ? "warning" : Y7.includes(n) ? n : "log";
10660
+ const Y4 = ["fatal", "error", "warning", "log", "info", "debug"];
10661
+ function Z4(n) {
10662
+ return n === "warn" ? "warning" : Y4.includes(n) ? n : "log";
10651
10663
  }
10652
- const K7 = "sentry-", J7 = /^sentry-/;
10653
- function X7(n) {
10654
- const e = Q7(n);
10664
+ const K4 = "sentry-", J4 = /^sentry-/;
10665
+ function X4(n) {
10666
+ const e = Q4(n);
10655
10667
  if (!e)
10656
10668
  return;
10657
10669
  const t = Object.entries(e).reduce((a, [i, o]) => {
10658
- if (i.match(J7)) {
10659
- const l = i.slice(K7.length);
10670
+ if (i.match(J4)) {
10671
+ const l = i.slice(K4.length);
10660
10672
  a[l] = o;
10661
10673
  }
10662
10674
  return a;
@@ -10664,7 +10676,7 @@ function X7(n) {
10664
10676
  if (Object.keys(t).length > 0)
10665
10677
  return t;
10666
10678
  }
10667
- function Q7(n) {
10679
+ function Q4(n) {
10668
10680
  if (!(!n || !ga(n) && !Array.isArray(n)))
10669
10681
  return Array.isArray(n) ? n.reduce((e, t) => {
10670
10682
  const a = cm(t);
@@ -10679,7 +10691,7 @@ function cm(n) {
10679
10691
  function Zo(n, e = []) {
10680
10692
  return [n, e];
10681
10693
  }
10682
- function e4(n, e) {
10694
+ function e7(n, e) {
10683
10695
  const [t, a] = n;
10684
10696
  return [t, [...a, e]];
10685
10697
  }
@@ -10695,7 +10707,7 @@ function dm(n, e) {
10695
10707
  function nf(n) {
10696
10708
  return pt.__SENTRY__ && pt.__SENTRY__.encodePolyfill ? pt.__SENTRY__.encodePolyfill(n) : new TextEncoder().encode(n);
10697
10709
  }
10698
- function t4(n) {
10710
+ function t7(n) {
10699
10711
  const [e, t] = n;
10700
10712
  let a = JSON.stringify(e);
10701
10713
  function i(o) {
@@ -10717,16 +10729,16 @@ ${JSON.stringify(l)}
10717
10729
  i(p);
10718
10730
  }
10719
10731
  }
10720
- return typeof a == "string" ? a : n4(a);
10732
+ return typeof a == "string" ? a : n7(a);
10721
10733
  }
10722
- function n4(n) {
10734
+ function n7(n) {
10723
10735
  const e = n.reduce((i, o) => i + o.length, 0), t = new Uint8Array(e);
10724
10736
  let a = 0;
10725
10737
  for (const i of n)
10726
10738
  t.set(i, a), a += i.length;
10727
10739
  return t;
10728
10740
  }
10729
- function a4(n) {
10741
+ function a7(n) {
10730
10742
  const e = typeof n.data == "string" ? nf(n.data) : n.data;
10731
10743
  return [
10732
10744
  bn({
@@ -10739,7 +10751,7 @@ function a4(n) {
10739
10751
  e
10740
10752
  ];
10741
10753
  }
10742
- const i4 = {
10754
+ const i7 = {
10743
10755
  session: "session",
10744
10756
  sessions: "session",
10745
10757
  attachment: "attachment",
@@ -10757,7 +10769,7 @@ const i4 = {
10757
10769
  statsd: "metric_bucket"
10758
10770
  };
10759
10771
  function fm(n) {
10760
- return i4[n];
10772
+ return i7[n];
10761
10773
  }
10762
10774
  function O0(n) {
10763
10775
  if (!n || !n.sdk)
@@ -10765,7 +10777,7 @@ function O0(n) {
10765
10777
  const { name: e, version: t } = n.sdk;
10766
10778
  return { name: e, version: t };
10767
10779
  }
10768
- function o4(n, e, t, a) {
10780
+ function o7(n, e, t, a) {
10769
10781
  const i = n.sdkProcessingMetadata && n.sdkProcessingMetadata.dynamicSamplingContext;
10770
10782
  return {
10771
10783
  event_id: n.event_id,
@@ -10777,7 +10789,7 @@ function o4(n, e, t, a) {
10777
10789
  }
10778
10790
  };
10779
10791
  }
10780
- function r4(n, e, t) {
10792
+ function r7(n, e, t) {
10781
10793
  const a = [
10782
10794
  { type: "client_report" },
10783
10795
  {
@@ -10787,21 +10799,21 @@ function r4(n, e, t) {
10787
10799
  ];
10788
10800
  return Zo(e ? { dsn: e } : {}, [a]);
10789
10801
  }
10790
- const s4 = 60 * 1e3;
10791
- function l4(n, e = Date.now()) {
10802
+ const s7 = 60 * 1e3;
10803
+ function l7(n, e = Date.now()) {
10792
10804
  const t = parseInt(`${n}`, 10);
10793
10805
  if (!isNaN(t))
10794
10806
  return t * 1e3;
10795
10807
  const a = Date.parse(`${n}`);
10796
- return isNaN(a) ? s4 : a - e;
10808
+ return isNaN(a) ? s7 : a - e;
10797
10809
  }
10798
- function c4(n, e) {
10810
+ function c7(n, e) {
10799
10811
  return n[e] || n.all || 0;
10800
10812
  }
10801
- function d4(n, e, t = Date.now()) {
10802
- return c4(n, e) > t;
10813
+ function d7(n, e, t = Date.now()) {
10814
+ return c7(n, e) > t;
10803
10815
  }
10804
- function f4(n, { statusCode: e, headers: t }, a = Date.now()) {
10816
+ function f7(n, { statusCode: e, headers: t }, a = Date.now()) {
10805
10817
  const i = {
10806
10818
  ...n
10807
10819
  }, o = t && t["x-sentry-rate-limits"], l = t && t["retry-after"];
@@ -10814,7 +10826,7 @@ function f4(n, { statusCode: e, headers: t }, a = Date.now()) {
10814
10826
  for (const A of g.split(";"))
10815
10827
  A === "metric_bucket" ? (!y || y.split(";").includes("custom")) && (i[A] = a + D) : i[A] = a + D;
10816
10828
  }
10817
- else l ? i.all = a + l4(l, a) : e === 429 && (i.all = a + 60 * 1e3);
10829
+ else l ? i.all = a + l7(l, a) : e === 429 && (i.all = a + 60 * 1e3);
10818
10830
  return i;
10819
10831
  }
10820
10832
  function um() {
@@ -10824,7 +10836,7 @@ function um() {
10824
10836
  };
10825
10837
  }
10826
10838
  const $r = pt;
10827
- function u4() {
10839
+ function u7() {
10828
10840
  const n = $r.chrome, e = n && n.app && n.app.runtime, t = "history" in $r && !!$r.history.pushState && !!$r.history.replaceState;
10829
10841
  return !e && t;
10830
10842
  }
@@ -10836,7 +10848,7 @@ function su(n) {
10836
10848
  const e = n.__SENTRY__ = n.__SENTRY__ || {};
10837
10849
  return e.version = e.version || Ha, e[Ha] = e[Ha] || {};
10838
10850
  }
10839
- function h4(n) {
10851
+ function h7(n) {
10840
10852
  const e = ya(), t = {
10841
10853
  sid: Ln(),
10842
10854
  init: !0,
@@ -10846,7 +10858,7 @@ function h4(n) {
10846
10858
  status: "ok",
10847
10859
  errors: 0,
10848
10860
  ignoreDuration: !1,
10849
- toJSON: () => m4(t)
10861
+ toJSON: () => m7(t)
10850
10862
  };
10851
10863
  return n && Ni(t, n), t;
10852
10864
  }
@@ -10861,11 +10873,11 @@ function Ni(n, e = {}) {
10861
10873
  }
10862
10874
  e.release && (n.release = e.release), e.environment && (n.environment = e.environment), !n.ipAddress && e.ipAddress && (n.ipAddress = e.ipAddress), !n.userAgent && e.userAgent && (n.userAgent = e.userAgent), typeof e.errors == "number" && (n.errors = e.errors), e.status && (n.status = e.status);
10863
10875
  }
10864
- function p4(n, e) {
10876
+ function p7(n, e) {
10865
10877
  let t = {};
10866
10878
  n.status === "ok" && (t = { status: "exited" }), Ni(n, t);
10867
10879
  }
10868
- function m4(n) {
10880
+ function m7(n) {
10869
10881
  return bn({
10870
10882
  sid: `${n.sid}`,
10871
10883
  init: n.init,
@@ -10892,7 +10904,7 @@ function hm(n, e) {
10892
10904
  function pm(n) {
10893
10905
  return n[af];
10894
10906
  }
10895
- const g4 = 100;
10907
+ const g7 = 100;
10896
10908
  class lu {
10897
10909
  /** Flag if notifying is happening. */
10898
10910
  /** Callback for client to receive scope changes. */
@@ -11081,7 +11093,7 @@ class lu {
11081
11093
  * @inheritDoc
11082
11094
  */
11083
11095
  addBreadcrumb(e, t) {
11084
- const a = typeof t == "number" ? t : g4;
11096
+ const a = typeof t == "number" ? t : g7;
11085
11097
  if (a <= 0)
11086
11098
  return this;
11087
11099
  const i = {
@@ -11206,13 +11218,13 @@ class lu {
11206
11218
  }
11207
11219
  }
11208
11220
  const li = lu;
11209
- function y4() {
11221
+ function y7() {
11210
11222
  return iu("defaultCurrentScope", () => new li());
11211
11223
  }
11212
- function b4() {
11224
+ function b7() {
11213
11225
  return iu("defaultIsolationScope", () => new li());
11214
11226
  }
11215
- class v4 {
11227
+ class v7 {
11216
11228
  constructor(e, t) {
11217
11229
  let a;
11218
11230
  e ? a = e : a = new li();
@@ -11280,23 +11292,23 @@ class v4 {
11280
11292
  }
11281
11293
  function Bi() {
11282
11294
  const n = al(), e = su(n);
11283
- return e.stack = e.stack || new v4(y4(), b4());
11295
+ return e.stack = e.stack || new v7(y7(), b7());
11284
11296
  }
11285
- function C4(n) {
11297
+ function C7(n) {
11286
11298
  return Bi().withScope(n);
11287
11299
  }
11288
- function _4(n, e) {
11300
+ function _7(n, e) {
11289
11301
  const t = Bi();
11290
11302
  return t.withScope(() => (t.getStackTop().scope = n, e(n)));
11291
11303
  }
11292
11304
  function mm(n) {
11293
11305
  return Bi().withScope(() => n(Bi().getIsolationScope()));
11294
11306
  }
11295
- function k4() {
11307
+ function k7() {
11296
11308
  return {
11297
11309
  withIsolationScope: mm,
11298
- withScope: C4,
11299
- withSetScope: _4,
11310
+ withScope: C7,
11311
+ withSetScope: _7,
11300
11312
  withSetIsolationScope: (n, e) => mm(e),
11301
11313
  getCurrentScope: () => Bi().getScope(),
11302
11314
  getIsolationScope: () => Bi().getIsolationScope()
@@ -11304,7 +11316,7 @@ function k4() {
11304
11316
  }
11305
11317
  function cu(n) {
11306
11318
  const e = su(n);
11307
- return e.acs ? e.acs : k4();
11319
+ return e.acs ? e.acs : k7();
11308
11320
  }
11309
11321
  function Fn() {
11310
11322
  const n = al();
@@ -11317,7 +11329,7 @@ function no() {
11317
11329
  function L0() {
11318
11330
  return iu("globalScope", () => new li());
11319
11331
  }
11320
- function w4(...n) {
11332
+ function w7(...n) {
11321
11333
  const e = al(), t = cu(e);
11322
11334
  if (n.length === 2) {
11323
11335
  const [a, i] = n;
@@ -11328,9 +11340,9 @@ function w4(...n) {
11328
11340
  function qt() {
11329
11341
  return Fn().getClient();
11330
11342
  }
11331
- const E4 = "_sentryMetrics";
11332
- function x4(n) {
11333
- const e = n[E4];
11343
+ const E7 = "_sentryMetrics";
11344
+ function x7(n) {
11345
+ const e = n[E7];
11334
11346
  if (!e)
11335
11347
  return;
11336
11348
  const t = {};
@@ -11338,8 +11350,8 @@ function x4(n) {
11338
11350
  (t[a] || (t[a] = [])).push(bn(i));
11339
11351
  return t;
11340
11352
  }
11341
- const S4 = "sentry.source", T4 = "sentry.sample_rate", A4 = "sentry.op", D4 = "sentry.origin", I4 = 0, R4 = 1, O4 = 1;
11342
- function L4(n) {
11353
+ const S7 = "sentry.source", T7 = "sentry.sample_rate", A7 = "sentry.op", D7 = "sentry.origin", I7 = 0, R7 = 1, O7 = 1;
11354
+ function L7(n) {
11343
11355
  const { spanId: e, traceId: t } = n.spanContext(), { parent_span_id: a } = Cs(n);
11344
11356
  return bn({ parent_span_id: a, span_id: e, trace_id: t });
11345
11357
  }
@@ -11350,11 +11362,11 @@ function ym(n) {
11350
11362
  return n > 9999999999 ? n / 1e3 : n;
11351
11363
  }
11352
11364
  function Cs(n) {
11353
- if (M4(n))
11365
+ if (M7(n))
11354
11366
  return n.getSpanJSON();
11355
11367
  try {
11356
11368
  const { spanId: e, traceId: t } = n.spanContext();
11357
- if (P4(n)) {
11369
+ if (P7(n)) {
11358
11370
  const { attributes: a, startTime: i, name: o, endTime: l, parentSpanId: f, status: p } = n;
11359
11371
  return bn({
11360
11372
  span_id: e,
@@ -11365,10 +11377,10 @@ function Cs(n) {
11365
11377
  start_timestamp: gm(i),
11366
11378
  // This is [0,0] by default in OTEL, in which case we want to interpret this as no end time
11367
11379
  timestamp: gm(l) || void 0,
11368
- status: F4(p),
11369
- op: a[A4],
11370
- origin: a[D4],
11371
- _metrics_summary: x4(n)
11380
+ status: F7(p),
11381
+ op: a[A7],
11382
+ origin: a[D7],
11383
+ _metrics_summary: x7(n)
11372
11384
  });
11373
11385
  }
11374
11386
  return {
@@ -11379,26 +11391,26 @@ function Cs(n) {
11379
11391
  return {};
11380
11392
  }
11381
11393
  }
11382
- function P4(n) {
11394
+ function P7(n) {
11383
11395
  const e = n;
11384
11396
  return !!e.attributes && !!e.startTime && !!e.name && !!e.endTime && !!e.status;
11385
11397
  }
11386
- function M4(n) {
11398
+ function M7(n) {
11387
11399
  return typeof n.getSpanJSON == "function";
11388
11400
  }
11389
- function H4(n) {
11401
+ function H7(n) {
11390
11402
  const { traceFlags: e } = n.spanContext();
11391
- return e === O4;
11403
+ return e === O7;
11392
11404
  }
11393
- function F4(n) {
11394
- if (!(!n || n.code === I4))
11395
- return n.code === R4 ? "ok" : n.message || "unknown_error";
11405
+ function F7(n) {
11406
+ if (!(!n || n.code === I7))
11407
+ return n.code === R7 ? "ok" : n.message || "unknown_error";
11396
11408
  }
11397
- const $4 = "_sentryRootSpan";
11409
+ const $7 = "_sentryRootSpan";
11398
11410
  function P0(n) {
11399
- return n[$4] || n;
11411
+ return n[$7] || n;
11400
11412
  }
11401
- const du = "production", N4 = "_frozenDsc";
11413
+ const du = "production", N7 = "_frozenDsc";
11402
11414
  function M0(n, e) {
11403
11415
  const t = e.getOptions(), { publicKey: a } = e.getDsn() || {}, i = bn({
11404
11416
  environment: t.environment || du,
@@ -11408,22 +11420,22 @@ function M0(n, e) {
11408
11420
  });
11409
11421
  return e.emit("createDsc", i), i;
11410
11422
  }
11411
- function B4(n) {
11423
+ function B7(n) {
11412
11424
  const e = qt();
11413
11425
  if (!e)
11414
11426
  return {};
11415
- const t = M0(Cs(n).trace_id || "", e), a = P0(n), i = a[N4];
11427
+ const t = M0(Cs(n).trace_id || "", e), a = P0(n), i = a[N7];
11416
11428
  if (i)
11417
11429
  return i;
11418
- const o = a.spanContext().traceState, l = o && o.get("sentry.dsc"), f = l && X7(l);
11430
+ const o = a.spanContext().traceState, l = o && o.get("sentry.dsc"), f = l && X4(l);
11419
11431
  if (f)
11420
11432
  return f;
11421
- const p = Cs(a), g = p.data || {}, y = g[T4];
11433
+ const p = Cs(a), g = p.data || {}, y = g[T7];
11422
11434
  y != null && (t.sample_rate = `${y}`);
11423
- const C = g[S4], D = p.description;
11424
- return C !== "url" && D && (t.transaction = D), t.sampled = String(H4(a)), e.emit("createDsc", t, a), t;
11435
+ const C = g[S7], D = p.description;
11436
+ return C !== "url" && D && (t.transaction = D), t.sampled = String(H7(a)), e.emit("createDsc", t, a), t;
11425
11437
  }
11426
- function z4(n) {
11438
+ function z7(n) {
11427
11439
  if (typeof n == "boolean")
11428
11440
  return Number(n);
11429
11441
  const e = typeof n == "string" ? parseFloat(n) : n;
@@ -11437,10 +11449,10 @@ function z4(n) {
11437
11449
  }
11438
11450
  return e;
11439
11451
  }
11440
- function j4(n, e) {
11452
+ function j7(n, e) {
11441
11453
  return e && (n.sdk = n.sdk || {}, n.sdk.name = n.sdk.name || e.name, n.sdk.version = n.sdk.version || e.version, n.sdk.integrations = [...n.sdk.integrations || [], ...e.integrations || []], n.sdk.packages = [...n.sdk.packages || [], ...e.packages || []]), n;
11442
11454
  }
11443
- function U4(n, e, t, a) {
11455
+ function U7(n, e, t, a) {
11444
11456
  const i = O0(t), o = {
11445
11457
  sent_at: (/* @__PURE__ */ new Date()).toISOString(),
11446
11458
  ...i && { sdk: i },
@@ -11448,10 +11460,10 @@ function U4(n, e, t, a) {
11448
11460
  }, l = "aggregates" in n ? [{ type: "sessions" }, n] : [{ type: "session" }, n.toJSON()];
11449
11461
  return Zo(o, [l]);
11450
11462
  }
11451
- function V4(n, e, t, a) {
11463
+ function V7(n, e, t, a) {
11452
11464
  const i = O0(t), o = n.type && n.type !== "replay_event" ? n.type : "event";
11453
- j4(n, t && t.sdk);
11454
- const l = o4(n, i, a, e);
11465
+ j7(n, t && t.sdk);
11466
+ const l = o7(n, i, a, e);
11455
11467
  return delete n.sdkProcessingMetadata, Zo(l, [[{ type: o }, n]]);
11456
11468
  }
11457
11469
  function of(n, e, t, a = 0) {
@@ -11465,9 +11477,9 @@ function of(n, e, t, a = 0) {
11465
11477
  }
11466
11478
  });
11467
11479
  }
11468
- function W4(n, e) {
11480
+ function W7(n, e) {
11469
11481
  const { fingerprint: t, span: a, breadcrumbs: i, sdkProcessingMetadata: o } = e;
11470
- q4(n, e), a && Z4(n, a), K4(n, t), G4(n, i), Y4(n, o);
11482
+ q7(n, e), a && Z7(n, a), K7(n, t), G7(n, i), Y7(n, o);
11471
11483
  }
11472
11484
  function bm(n, e) {
11473
11485
  const {
@@ -11494,7 +11506,7 @@ function go(n, e, t) {
11494
11506
  Object.prototype.hasOwnProperty.call(t, a) && (n[e][a] = t[a]);
11495
11507
  }
11496
11508
  }
11497
- function q4(n, e) {
11509
+ function q7(n, e) {
11498
11510
  const { extra: t, tags: a, user: i, contexts: o, level: l, transactionName: f } = e, p = bn(t);
11499
11511
  p && Object.keys(p).length && (n.extra = { ...p, ...n.extra });
11500
11512
  const g = bn(a);
@@ -11504,37 +11516,37 @@ function q4(n, e) {
11504
11516
  const C = bn(o);
11505
11517
  C && Object.keys(C).length && (n.contexts = { ...C, ...n.contexts }), l && (n.level = l), f && n.type !== "transaction" && (n.transaction = f);
11506
11518
  }
11507
- function G4(n, e) {
11519
+ function G7(n, e) {
11508
11520
  const t = [...n.breadcrumbs || [], ...e];
11509
11521
  n.breadcrumbs = t.length ? t : void 0;
11510
11522
  }
11511
- function Y4(n, e) {
11523
+ function Y7(n, e) {
11512
11524
  n.sdkProcessingMetadata = {
11513
11525
  ...n.sdkProcessingMetadata,
11514
11526
  ...e
11515
11527
  };
11516
11528
  }
11517
- function Z4(n, e) {
11529
+ function Z7(n, e) {
11518
11530
  n.contexts = {
11519
- trace: L4(e),
11531
+ trace: L7(e),
11520
11532
  ...n.contexts
11521
11533
  }, n.sdkProcessingMetadata = {
11522
- dynamicSamplingContext: B4(e),
11534
+ dynamicSamplingContext: B7(e),
11523
11535
  ...n.sdkProcessingMetadata
11524
11536
  };
11525
11537
  const t = P0(e), a = Cs(t).description;
11526
11538
  a && !n.transaction && n.type === "transaction" && (n.transaction = a);
11527
11539
  }
11528
- function K4(n, e) {
11540
+ function K7(n, e) {
11529
11541
  n.fingerprint = n.fingerprint ? I0(n.fingerprint) : [], e && (n.fingerprint = n.fingerprint.concat(e)), n.fingerprint && !n.fingerprint.length && delete n.fingerprint;
11530
11542
  }
11531
- function J4(n, e, t, a, i, o) {
11543
+ function J7(n, e, t, a, i, o) {
11532
11544
  const { normalizeDepth: l = 3, normalizeMaxBreadth: f = 1e3 } = n, p = {
11533
11545
  ...e,
11534
11546
  event_id: e.event_id || t.event_id || Ln(),
11535
11547
  timestamp: e.timestamp || Yo()
11536
11548
  }, g = t.integrations || n.integrations.map((V) => V.name);
11537
- X4(p, n), t9(p, g), i && i.emit("applyFrameMetadata", e), e.type === void 0 && Q4(p, n.stackParser);
11549
+ X7(p, n), t9(p, g), i && i.emit("applyFrameMetadata", e), e.type === void 0 && Q7(p, n.stackParser);
11538
11550
  const y = a9(a, t.captureContext);
11539
11551
  t.mechanism && Lo(p, t.mechanism);
11540
11552
  const C = i ? i.getEventProcessors() : [], D = L0().getScopeData();
@@ -11547,7 +11559,7 @@ function J4(n, e, t, a, i, o) {
11547
11559
  bm(D, V);
11548
11560
  }
11549
11561
  const A = [...t.attachments || [], ...D.attachments];
11550
- A.length && (t.attachments = A), W4(p, D);
11562
+ A.length && (t.attachments = A), W7(p, D);
11551
11563
  const F = [
11552
11564
  ...C,
11553
11565
  // Run scope event processors _after_ all other processors
@@ -11555,7 +11567,7 @@ function J4(n, e, t, a, i, o) {
11555
11567
  ];
11556
11568
  return of(F, p, t).then((V) => (V && e9(V), typeof l == "number" && l > 0 ? n9(V, l, f) : V));
11557
11569
  }
11558
- function X4(n, e) {
11570
+ function X7(n, e) {
11559
11571
  const { environment: t, release: a, dist: i, maxValueLength: o = 250 } = e;
11560
11572
  "environment" in n || (n.environment = "environment" in e ? t : du), n.release === void 0 && a !== void 0 && (n.release = a), n.dist === void 0 && i !== void 0 && (n.dist = i), n.message && (n.message = Oi(n.message, o));
11561
11573
  const l = n.exception && n.exception.values && n.exception.values[0];
@@ -11564,7 +11576,7 @@ function X4(n, e) {
11564
11576
  f && f.url && (f.url = Oi(f.url, o));
11565
11577
  }
11566
11578
  const vm = /* @__PURE__ */ new WeakMap();
11567
- function Q4(n, e) {
11579
+ function Q7(n, e) {
11568
11580
  const t = pt._sentryDebugIds;
11569
11581
  if (!t)
11570
11582
  return;
@@ -11671,7 +11683,7 @@ function uu() {
11671
11683
  return !!qt();
11672
11684
  }
11673
11685
  function Cm(n) {
11674
- const e = qt(), t = no(), a = Fn(), { release: i, environment: o = du } = e && e.getOptions() || {}, { userAgent: l } = pt.navigator || {}, f = h4({
11686
+ const e = qt(), t = no(), a = Fn(), { release: i, environment: o = du } = e && e.getOptions() || {}, { userAgent: l } = pt.navigator || {}, f = h7({
11675
11687
  release: i,
11676
11688
  environment: o,
11677
11689
  user: a.getUser() || t.getUser(),
@@ -11682,7 +11694,7 @@ function Cm(n) {
11682
11694
  }
11683
11695
  function F0() {
11684
11696
  const n = no(), e = Fn(), t = e.getSession() || n.getSession();
11685
- t && p4(t), $0(), n.setSession(), e.setSession();
11697
+ t && p7(t), $0(), n.setSession(), e.setSession();
11686
11698
  }
11687
11699
  function $0() {
11688
11700
  const n = no(), e = Fn(), t = qt(), a = e.getSession() || n.getSession();
@@ -11704,7 +11716,7 @@ function s9(n) {
11704
11716
  return `${r9(n)}${n.projectId}/envelope/`;
11705
11717
  }
11706
11718
  function l9(n, e) {
11707
- return _7({
11719
+ return _4({
11708
11720
  // We send only the minimum set of required information. See
11709
11721
  // https://github.com/getsentry/sentry-javascript/issues/2572.
11710
11722
  sentry_key: n.publicKey,
@@ -11778,7 +11790,7 @@ class h9 {
11778
11790
  * @param options Options for the client.
11779
11791
  */
11780
11792
  constructor(e) {
11781
- if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], e.dsn ? this._dsn = C7(e.dsn) : xt && Qe.warn("No DSN provided, client will not send events."), this._dsn) {
11793
+ if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], e.dsn ? this._dsn = C4(e.dsn) : xt && Qe.warn("No DSN provided, client will not send events."), this._dsn) {
11782
11794
  const t = c9(
11783
11795
  this._dsn,
11784
11796
  e.tunnel,
@@ -11915,9 +11927,9 @@ class h9 {
11915
11927
  */
11916
11928
  sendEvent(e, t = {}) {
11917
11929
  this.emit("beforeSendEvent", e, t);
11918
- let a = V4(e, this._dsn, this._options._metadata, this._options.tunnel);
11930
+ let a = V7(e, this._dsn, this._options._metadata, this._options.tunnel);
11919
11931
  for (const o of t.attachments || [])
11920
- a = e4(a, a4(o));
11932
+ a = e7(a, a7(o));
11921
11933
  const i = this.sendEnvelope(a);
11922
11934
  i && i.then((o) => this.emit("afterSendEvent", e, o), null);
11923
11935
  }
@@ -11925,7 +11937,7 @@ class h9 {
11925
11937
  * @inheritDoc
11926
11938
  */
11927
11939
  sendSession(e) {
11928
- const t = U4(e, this._dsn, this._options._metadata, this._options.tunnel);
11940
+ const t = U7(e, this._dsn, this._options._metadata, this._options.tunnel);
11929
11941
  this.sendEnvelope(t);
11930
11942
  }
11931
11943
  /**
@@ -12024,7 +12036,7 @@ class h9 {
12024
12036
  */
12025
12037
  _prepareEvent(e, t, a, i = no()) {
12026
12038
  const o = this.getOptions(), l = Object.keys(this._integrations);
12027
- return !t.integrations && l.length > 0 && (t.integrations = l), this.emit("preprocessEvent", e, t), e.type || i.setLastEventId(e.event_id || t.event_id), J4(o, e, t, a, this, i).then((f) => {
12039
+ return !t.integrations && l.length > 0 && (t.integrations = l), this.emit("preprocessEvent", e, t), e.type || i.setLastEventId(e.event_id || t.event_id), J7(o, e, t, a, this, i).then((f) => {
12028
12040
  if (f === null)
12029
12041
  return f;
12030
12042
  const p = {
@@ -12081,7 +12093,7 @@ class h9 {
12081
12093
  * @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send.
12082
12094
  */
12083
12095
  _processEvent(e, t, a) {
12084
- const i = this.getOptions(), { sampleRate: o } = i, l = z0(e), f = B0(e), p = e.type || "error", g = `before send for type \`${p}\``, y = typeof o > "u" ? void 0 : z4(o);
12096
+ const i = this.getOptions(), { sampleRate: o } = i, l = z0(e), f = B0(e), p = e.type || "error", g = `before send for type \`${p}\``, y = typeof o > "u" ? void 0 : z7(o);
12085
12097
  if (f && typeof y == "number" && Math.random() > y)
12086
12098
  return this.recordDroppedEvent("sample_rate", "error", e), vs(
12087
12099
  new Qn(
@@ -12169,7 +12181,7 @@ Reason: ${F}`
12169
12181
  return;
12170
12182
  }
12171
12183
  xt && Qe.log("Sending outcomes:", e);
12172
- const t = r4(e, this._options.tunnel && nl(this._dsn));
12184
+ const t = r7(e, this._options.tunnel && nl(this._dsn));
12173
12185
  this.sendEnvelope(t);
12174
12186
  }
12175
12187
  /**
@@ -12237,7 +12249,7 @@ function y9(n) {
12237
12249
  Fn().setClient(n);
12238
12250
  }
12239
12251
  const b9 = 64;
12240
- function v9(n, e, t = G7(
12252
+ function v9(n, e, t = G4(
12241
12253
  n.bufferSize || b9
12242
12254
  )) {
12243
12255
  let a = {};
@@ -12246,7 +12258,7 @@ function v9(n, e, t = G7(
12246
12258
  const f = [];
12247
12259
  if (dm(l, (C, D) => {
12248
12260
  const A = fm(D);
12249
- if (d4(a, A)) {
12261
+ if (d7(a, A)) {
12250
12262
  const F = xm(C, D);
12251
12263
  n.recordDroppedEvent("ratelimit_backoff", A, F);
12252
12264
  } else
@@ -12258,8 +12270,8 @@ function v9(n, e, t = G7(
12258
12270
  const F = xm(D, A);
12259
12271
  n.recordDroppedEvent(C, fm(A), F);
12260
12272
  });
12261
- }, y = () => e({ body: t4(p) }).then(
12262
- (C) => (C.statusCode !== void 0 && (C.statusCode < 200 || C.statusCode >= 300) && xt && Qe.warn(`Sentry responded with status code ${C.statusCode} to sent event.`), a = f4(a, C), C),
12273
+ }, y = () => e({ body: t7(p) }).then(
12274
+ (C) => (C.statusCode !== void 0 && (C.statusCode < 200 || C.statusCode >= 300) && xt && Qe.warn(`Sentry responded with status code ${C.statusCode} to sent event.`), a = f7(a, C), C),
12263
12275
  (C) => {
12264
12276
  throw g("network_error"), C;
12265
12277
  }
@@ -12547,7 +12559,7 @@ function zi(n, e = {}, t) {
12547
12559
  const o = i.map((l) => zi(l, e));
12548
12560
  return n.apply(this, o);
12549
12561
  } catch (o) {
12550
- throw W9(), w4((l) => {
12562
+ throw W9(), w7((l) => {
12551
12563
  l.addEventProcessor((f) => (e.mechanism && (ef(f, void 0), Lo(f, e.mechanism)), f.extra = {
12552
12564
  ...f.extra,
12553
12565
  arguments: i
@@ -12645,7 +12657,7 @@ function mu(n, e, t, a, i) {
12645
12657
  let o;
12646
12658
  if (b0(e) && e.error)
12647
12659
  return Kc(n, e.error);
12648
- if (Jp(e) || i7(e)) {
12660
+ if (Jp(e) || i4(e)) {
12649
12661
  const l = e;
12650
12662
  if ("stack" in e)
12651
12663
  o = Kc(n, e);
@@ -12679,7 +12691,7 @@ function sf(n, e, t, a) {
12679
12691
  return i.message = e, i;
12680
12692
  }
12681
12693
  function Q9(n, { isUnhandledRejection: e }) {
12682
- const t = k7(n), a = e ? "promise rejection" : "exception";
12694
+ const t = k4(n), a = e ? "promise rejection" : "exception";
12683
12695
  return b0(n) ? `Event \`ErrorEvent\` captured as ${a} with message \`${n.message}\`` : Qs(n) ? `Event \`${ew(n)}\` (type=${n.type}) captured as ${a}` : `Object captured as ${a} with keys: ${t}`;
12684
12696
  }
12685
12697
  function ew(n) {
@@ -12731,7 +12743,7 @@ class iw extends h9 {
12731
12743
  // We default this to true, as it is the safer scenario
12732
12744
  parentSpanIsAlwaysRootSpan: !0,
12733
12745
  ...e
12734
- }, a = Ct.SENTRY_SDK_SOURCE || $7();
12746
+ }, a = Ct.SENTRY_SDK_SOURCE || $4();
12735
12747
  C9(t, "browser", ["browser"], a), super(t), t.sendClientReports && Ct.document && Ct.document.addEventListener("visibilitychange", () => {
12736
12748
  Ct.document.visibilityState === "hidden" && this._flushOutcomes();
12737
12749
  });
@@ -12855,7 +12867,7 @@ function W0(n) {
12855
12867
  ui(e, n), hi(e, uw);
12856
12868
  }
12857
12869
  function uw() {
12858
- if (!u4())
12870
+ if (!u7())
12859
12871
  return;
12860
12872
  const n = nn.onpopstate;
12861
12873
  nn.onpopstate = function(...t) {
@@ -13062,7 +13074,7 @@ const Cw = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, _w = /^\s*at (?:(.+?\)(?: \
13062
13074
  return {
13063
13075
  name: Rw,
13064
13076
  setup(t) {
13065
- e.console && S7(Hw(t)), e.dom && sw(Mw(t, e.dom)), e.xhr && pw(Fw(t)), e.fetch && I7($w(t)), e.history && W0(Nw(t)), e.sentry && t.on("beforeSendEvent", Pw(t));
13077
+ e.console && S4(Hw(t)), e.dom && sw(Mw(t, e.dom)), e.xhr && pw(Fw(t)), e.fetch && I4($w(t)), e.history && W0(Nw(t)), e.sentry && t.on("beforeSendEvent", Pw(t));
13066
13078
  }
13067
13079
  };
13068
13080
  }, Lw = Ow;
@@ -13091,7 +13103,7 @@ function Mw(n, e) {
13091
13103
  ), f = Br), typeof l == "string" && (l = [l]);
13092
13104
  try {
13093
13105
  const g = a.event, y = Bw(g) ? g.target : g;
13094
- i = C0(y, { keyAttrs: l, maxStringLength: f }), o = h7(y);
13106
+ i = C0(y, { keyAttrs: l, maxStringLength: f }), o = h4(y);
13095
13107
  } catch {
13096
13108
  i = "<unknown>";
13097
13109
  }
@@ -13118,7 +13130,7 @@ function Hw(n) {
13118
13130
  arguments: t.args,
13119
13131
  logger: "console"
13120
13132
  },
13121
- level: Z7(t.level),
13133
+ level: Z4(t.level),
13122
13134
  message: Xp(t.args, " ")
13123
13135
  };
13124
13136
  if (t.level === "assert")
@@ -13390,7 +13402,7 @@ const Yw = "GlobalHandlers", Zw = (n = {}) => {
13390
13402
  };
13391
13403
  }, Kw = Zw;
13392
13404
  function Jw(n) {
13393
- L7((e) => {
13405
+ L4((e) => {
13394
13406
  const { stackParser: t, attachStacktrace: a } = G0();
13395
13407
  if (qt() !== n || V0())
13396
13408
  return;
@@ -13410,7 +13422,7 @@ function Jw(n) {
13410
13422
  });
13411
13423
  }
13412
13424
  function Xw(n) {
13413
- M7((e) => {
13425
+ M4((e) => {
13414
13426
  const { stackParser: t, attachStacktrace: a } = G0();
13415
13427
  if (qt() !== n || V0())
13416
13428
  return;
@@ -13487,7 +13499,7 @@ const nE = () => ({
13487
13499
  name: oE,
13488
13500
  preprocessEvent(a, i, o) {
13489
13501
  const l = o.getOptions();
13490
- c7(
13502
+ c4(
13491
13503
  // This differs from the LinkedErrors integration in core by using a different exceptionFromError function
13492
13504
  hu,
13493
13505
  l.stackParser,
@@ -13543,7 +13555,7 @@ function gu(n = {}) {
13543
13555
  ));
13544
13556
  const t = {
13545
13557
  ...e,
13546
- stackParser: E7(e.stackParser || Iw),
13558
+ stackParser: E4(e.stackParser || Iw),
13547
13559
  integrations: f9(e),
13548
13560
  transport: e.transport || yw
13549
13561
  }, a = g9(iw, t);
@@ -14017,7 +14029,7 @@ const BE = ({
14017
14029
  return {
14018
14030
  name: "Feedback",
14019
14031
  setupOnce() {
14020
- !B7() || !de.autoInject || (kt.readyState === "loading" ? kt.addEventListener("DOMContentLoaded", () => z().appendToDom()) : z().appendToDom());
14032
+ !B4() || !de.autoInject || (kt.readyState === "loading" ? kt.addEventListener("DOMContentLoaded", () => z().appendToDom()) : z().appendToDom());
14021
14033
  },
14022
14034
  /**
14023
14035
  * Adds click listener to the element to open a feedback dialog
@@ -15540,7 +15552,7 @@ const S8 = () => ({
15540
15552
  lazyLoadIntegration: hE,
15541
15553
  getModalIntegration: () => C8,
15542
15554
  getScreenshotIntegration: () => S8
15543
- }), Ca = "2.4.0", T8 = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;width:inherit}.nylas-event-capacity{display:flex;flex-direction:column;gap:4px}.nylas-event-capacity label{display:flex;align-items:center;gap:4px;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-capacity label span.required{color:var(--nylas-error, #cc4841)}.nylas-event-capacity label span.label-icon{margin-left:4px}.nylas-event-capacity label span.label-icon tooltip-component{display:flex}.nylas-event-capacity label tooltip-component::part(tc__content){left:50px}.nylas-event-capacity__wrapper{display:flex;align-items:center;gap:0.5rem}.nylas-event-capacity__wrapper input-component{width:auto}.nylas-event-capacity__wrapper input-component::part(ic__input){border-width:1;border-radius:8px;border:1px solid var(--nylas-base-200);font-family:var(--nylas-font-family);font-size:16px;line-height:24px;width:80px}.nylas-event-capacity__wrapper input-component::part(ic__input--error){border:1px solid var(--nylas-error)}.nylas-event-capacity__wrapper input-component::part(ic__label--error){position:relative;margin-bottom:24px}.nylas-event-capacity__wrapper input-component::part(ic__error_message){position:absolute;top:54px;width:max-content}.nylas-event-capacity__wrapper span.attendees.error{margin-top:-24px}';
15555
+ }), Ca = "2.4.1", T8 = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;width:inherit}.nylas-event-capacity{display:flex;flex-direction:column;gap:4px}.nylas-event-capacity label{display:flex;align-items:center;gap:4px;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-capacity label span.required{color:var(--nylas-error, #cc4841)}.nylas-event-capacity label span.label-icon{margin-left:4px}.nylas-event-capacity label span.label-icon tooltip-component{display:flex}.nylas-event-capacity label tooltip-component::part(tc__content){left:50px}.nylas-event-capacity__wrapper{display:flex;align-items:center;gap:0.5rem}.nylas-event-capacity__wrapper input-component{width:auto}.nylas-event-capacity__wrapper input-component::part(ic__input){border-width:1;border-radius:8px;border:1px solid var(--nylas-base-200);font-family:var(--nylas-font-family);font-size:16px;line-height:24px;width:80px}.nylas-event-capacity__wrapper input-component::part(ic__input--error){border:1px solid var(--nylas-error)}.nylas-event-capacity__wrapper input-component::part(ic__label--error){position:relative;margin-bottom:24px}.nylas-event-capacity__wrapper input-component::part(ic__error_message){position:absolute;top:54px;width:max-content}.nylas-event-capacity__wrapper span.attendees.error{margin-top:-24px}';
15544
15556
  var A8 = function(n, e, t, a) {
15545
15557
  var i = arguments.length, o = i < 3 ? e : a === null ? a = Object.getOwnPropertyDescriptor(e, t) : a, l;
15546
15558
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
@@ -38321,11 +38333,11 @@ const XD = L1, QD = JD, eI = o1, tI = gi, nI = rb, aI = ao, LO = /* @__PURE__ */
38321
38333
  defineCustomElement: Xk
38322
38334
  }), GL = /* @__PURE__ */ ae({
38323
38335
  tagName: "nylas-disable-emails",
38324
- elementClass: n7,
38336
+ elementClass: n4,
38325
38337
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
38326
38338
  react: ie,
38327
38339
  events: { onValueChanged: "valueChanged" },
38328
- defineCustomElement: a7
38340
+ defineCustomElement: a4
38329
38341
  }), YL = /* @__PURE__ */ ae({
38330
38342
  tagName: "nylas-editor-tabs",
38331
38343
  elementClass: kS,