@ni/nimble-components 34.3.0 → 34.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/all-components-bundle.js +231 -162
  2. package/dist/all-components-bundle.js.map +1 -1
  3. package/dist/all-components-bundle.min.js +4029 -3984
  4. package/dist/all-components-bundle.min.js.map +1 -1
  5. package/dist/esm/anchor/template.js +0 -1
  6. package/dist/esm/anchor/template.js.map +1 -1
  7. package/dist/esm/banner/template.js +0 -1
  8. package/dist/esm/banner/template.js.map +1 -1
  9. package/dist/esm/breadcrumb/breadcrumb.foundation.spec.d.ts +1 -0
  10. package/dist/esm/breadcrumb/breadcrumb.foundation.spec.js +116 -0
  11. package/dist/esm/breadcrumb/breadcrumb.foundation.spec.js.map +1 -0
  12. package/dist/esm/breadcrumb/index.d.ts +31 -0
  13. package/dist/esm/breadcrumb/index.js +56 -2
  14. package/dist/esm/breadcrumb/index.js.map +1 -1
  15. package/dist/esm/breadcrumb/styles.js +25 -4
  16. package/dist/esm/breadcrumb/styles.js.map +1 -1
  17. package/dist/esm/breadcrumb/template.d.ts +8 -0
  18. package/dist/esm/breadcrumb/template.js +43 -0
  19. package/dist/esm/breadcrumb/template.js.map +1 -0
  20. package/dist/esm/breadcrumb/testing/breadcrumb.pageobject.d.ts +19 -0
  21. package/dist/esm/breadcrumb/testing/breadcrumb.pageobject.js +89 -0
  22. package/dist/esm/breadcrumb/testing/breadcrumb.pageobject.js.map +1 -0
  23. package/dist/esm/combobox/template.js +0 -2
  24. package/dist/esm/combobox/template.js.map +1 -1
  25. package/dist/esm/list-option/template.js +0 -1
  26. package/dist/esm/list-option/template.js.map +1 -1
  27. package/dist/esm/list-option-group/template.js +0 -1
  28. package/dist/esm/list-option-group/template.js.map +1 -1
  29. package/dist/esm/menu/template.js +0 -3
  30. package/dist/esm/menu/template.js.map +1 -1
  31. package/dist/esm/menu-button/template.js +0 -1
  32. package/dist/esm/menu-button/template.js.map +1 -1
  33. package/dist/esm/patterns/required-visible/template.js +0 -1
  34. package/dist/esm/patterns/required-visible/template.js.map +1 -1
  35. package/dist/esm/patterns/tabs/template.js +0 -1
  36. package/dist/esm/patterns/tabs/template.js.map +1 -1
  37. package/dist/esm/radio-group/template.js +0 -1
  38. package/dist/esm/radio-group/template.js.map +1 -1
  39. package/dist/esm/rich-text/editor/template.js +0 -1
  40. package/dist/esm/rich-text/editor/template.js.map +1 -1
  41. package/dist/esm/rich-text/mention-listbox/template.js +0 -2
  42. package/dist/esm/rich-text/mention-listbox/template.js.map +1 -1
  43. package/dist/esm/rich-text/models/markdown-parser.js.map +1 -1
  44. package/dist/esm/select/index.js.map +1 -1
  45. package/dist/esm/select/template.js +0 -3
  46. package/dist/esm/select/template.js.map +1 -1
  47. package/dist/esm/spinner/template.js +0 -3
  48. package/dist/esm/spinner/template.js.map +1 -1
  49. package/dist/esm/switch/template.js +0 -1
  50. package/dist/esm/switch/template.js.map +1 -1
  51. package/dist/esm/table/components/cell/template.js +0 -1
  52. package/dist/esm/table/components/cell/template.js.map +1 -1
  53. package/dist/esm/table/components/group-row/template.js +0 -3
  54. package/dist/esm/table/components/group-row/template.js.map +1 -1
  55. package/dist/esm/table/components/header/template.js +0 -1
  56. package/dist/esm/table/components/header/template.js.map +1 -1
  57. package/dist/esm/table/components/row/template.js +0 -1
  58. package/dist/esm/table/components/row/template.js.map +1 -1
  59. package/dist/esm/table/index.js.map +1 -1
  60. package/dist/esm/table/models/expansion-manager.js.map +1 -1
  61. package/dist/esm/table/models/keyboard-navigation-manager.js +1 -2
  62. package/dist/esm/table/models/keyboard-navigation-manager.js.map +1 -1
  63. package/dist/esm/table/models/virtualizer.js.map +1 -1
  64. package/dist/esm/table/template.js +0 -1
  65. package/dist/esm/table/template.js.map +1 -1
  66. package/dist/esm/table/testing/table.pageobject.js.map +1 -1
  67. package/dist/esm/table-column/anchor/cell-view/index.js.map +1 -1
  68. package/dist/esm/table-column/anchor/cell-view/template.js +0 -3
  69. package/dist/esm/table-column/anchor/cell-view/template.js.map +1 -1
  70. package/dist/esm/table-column/anchor/index.js.map +1 -1
  71. package/dist/esm/table-column/base/cell-view/template.js +0 -1
  72. package/dist/esm/table-column/base/cell-view/template.js.map +1 -1
  73. package/dist/esm/table-column/base/index.js.map +1 -1
  74. package/dist/esm/table-column/base/template.js +0 -1
  75. package/dist/esm/table-column/base/template.js.map +1 -1
  76. package/dist/esm/table-column/date-text/cell-view/index.js.map +1 -1
  77. package/dist/esm/table-column/date-text/group-header-view/index.js.map +1 -1
  78. package/dist/esm/table-column/date-text/index.js.map +1 -1
  79. package/dist/esm/table-column/duration-text/cell-view/index.js.map +1 -1
  80. package/dist/esm/table-column/duration-text/group-header-view/index.js.map +1 -1
  81. package/dist/esm/table-column/mapping/cell-view/index.js.map +1 -1
  82. package/dist/esm/table-column/mapping/cell-view/template.js +0 -1
  83. package/dist/esm/table-column/mapping/cell-view/template.js.map +1 -1
  84. package/dist/esm/table-column/mapping/group-header-view/index.js.map +1 -1
  85. package/dist/esm/table-column/mapping/group-header-view/template.js +0 -1
  86. package/dist/esm/table-column/mapping/group-header-view/template.js.map +1 -1
  87. package/dist/esm/table-column/mapping/index.js.map +1 -1
  88. package/dist/esm/table-column/menu-button/cell-view/index.js.map +1 -1
  89. package/dist/esm/table-column/number-text/cell-view/index.js.map +1 -1
  90. package/dist/esm/table-column/number-text/group-header-view/index.js.map +1 -1
  91. package/dist/esm/table-column/number-text/index.js.map +1 -1
  92. package/dist/esm/table-column/number-text/models/number-text-unit-format.js.map +1 -1
  93. package/dist/esm/table-column/number-text/template.js +0 -1
  94. package/dist/esm/table-column/number-text/template.js.map +1 -1
  95. package/dist/esm/table-column/text/cell-view/index.js.map +1 -1
  96. package/dist/esm/table-column/text/group-header-view/index.js.map +1 -1
  97. package/dist/esm/table-column/text/index.js.map +1 -1
  98. package/dist/esm/table-column/text-base/cell-view/template.js +0 -1
  99. package/dist/esm/table-column/text-base/cell-view/template.js.map +1 -1
  100. package/dist/esm/tabs-toolbar/template.js +0 -2
  101. package/dist/esm/tabs-toolbar/template.js.map +1 -1
  102. package/dist/esm/toggle-button/template.js +0 -3
  103. package/dist/esm/toggle-button/template.js.map +1 -1
  104. package/dist/esm/tooltip/template.js +0 -1
  105. package/dist/esm/tooltip/template.js.map +1 -1
  106. package/dist/esm/tree-view/template.js +0 -1
  107. package/dist/esm/tree-view/template.js.map +1 -1
  108. package/dist/esm/utilities/style/theme.js.map +1 -1
  109. package/dist/esm/utilities/unit-format/default-unit-format.js.map +1 -1
  110. package/dist/esm/wafer-map/index.js.map +1 -1
  111. package/dist/esm/wafer-map/modules/create-matrix-renderer.js.map +1 -1
  112. package/dist/esm/wafer-map/modules/prerendering.js.map +1 -1
  113. package/package.json +6 -4
@@ -358,9 +358,12 @@
358
358
  * If the value is true, the attribute is added; otherwise it is removed.
359
359
  */
360
360
  setBooleanAttribute(element, attributeName, value) {
361
- value
362
- ? element.setAttribute(attributeName, "")
363
- : element.removeAttribute(attributeName);
361
+ if (value) {
362
+ element.setAttribute(attributeName, "");
363
+ }
364
+ else {
365
+ element.removeAttribute(attributeName);
366
+ }
364
367
  },
365
368
  /**
366
369
  * Removes all the child nodes of the provided parent node.
@@ -1809,7 +1812,7 @@
1809
1812
  }
1810
1813
  };
1811
1814
  }
1812
- catch (e) {
1815
+ catch (_a) {
1813
1816
  // Do nothing if an error is thrown, the default
1814
1817
  // case handles FrozenArray.
1815
1818
  }
@@ -2395,9 +2398,14 @@
2395
2398
  const behavior = behaviors[i];
2396
2399
  if (targetBehaviors.has(behavior)) {
2397
2400
  const count = targetBehaviors.get(behavior) - 1;
2398
- count === 0 || force
2399
- ? targetBehaviors.delete(behavior) && behaviorsToUnbind.push(behavior)
2400
- : targetBehaviors.set(behavior, count);
2401
+ if (count === 0 || force) {
2402
+ if (targetBehaviors.delete(behavior)) {
2403
+ behaviorsToUnbind.push(behavior);
2404
+ }
2405
+ }
2406
+ else {
2407
+ targetBehaviors.set(behavior, count);
2408
+ }
2401
2409
  }
2402
2410
  }
2403
2411
  if (this._isConnected) {
@@ -5311,7 +5319,7 @@
5311
5319
  styleElement.sheet.insertRule("foo:focus-visible {color:inherit}", 0);
5312
5320
  _canUseFocusVisible = true;
5313
5321
  }
5314
- catch (e) {
5322
+ catch (_a) {
5315
5323
  _canUseFocusVisible = false;
5316
5324
  }
5317
5325
  finally {
@@ -6781,20 +6789,6 @@
6781
6789
  ], BreadcrumbItem$1.prototype, "separator", void 0);
6782
6790
  applyMixins(BreadcrumbItem$1, StartEnd, DelegatesARIALink);
6783
6791
 
6784
- /**
6785
- * The template for the {@link @ni/fast-foundation#Breadcrumb} component.
6786
- * @public
6787
- */
6788
- const breadcrumbTemplate = (context, definition) => html `
6789
- <template role="navigation">
6790
- <div role="list" class="list" part="list">
6791
- <slot
6792
- ${slotted({ property: "slottedBreadcrumbItems", filter: elements() })}
6793
- ></slot>
6794
- </div>
6795
- </template>
6796
- `;
6797
-
6798
6792
  /**
6799
6793
  * A Breadcrumb Custom HTML Element.
6800
6794
  * @slot - The default slot for the breadcrumb items
@@ -6847,14 +6841,20 @@
6847
6841
  if (childNodeWithHref === null &&
6848
6842
  item.hasAttribute("href") &&
6849
6843
  item instanceof BreadcrumbItem$1) {
6850
- isLastNode
6851
- ? item.setAttribute("aria-current", "page")
6852
- : item.removeAttribute("aria-current");
6844
+ if (isLastNode) {
6845
+ item.setAttribute("aria-current", "page");
6846
+ }
6847
+ else {
6848
+ item.removeAttribute("aria-current");
6849
+ }
6853
6850
  }
6854
6851
  else if (childNodeWithHref !== null) {
6855
- isLastNode
6856
- ? childNodeWithHref.setAttribute("aria-current", "page")
6857
- : childNodeWithHref.removeAttribute("aria-current");
6852
+ if (isLastNode) {
6853
+ childNodeWithHref.setAttribute("aria-current", "page");
6854
+ }
6855
+ else {
6856
+ childNodeWithHref.removeAttribute("aria-current");
6857
+ }
6858
6858
  }
6859
6859
  }
6860
6860
  };
@@ -7427,9 +7427,12 @@
7427
7427
  }
7428
7428
  // Browser support for requestSubmit is not comprehensive
7429
7429
  // so click the proxy if it isn't supported
7430
- typeof this.form.requestSubmit === "function"
7431
- ? this.form.requestSubmit(this.proxy)
7432
- : this.proxy.click();
7430
+ if (typeof this.form.requestSubmit === "function") {
7431
+ this.form.requestSubmit(this.proxy);
7432
+ }
7433
+ else {
7434
+ this.proxy.click();
7435
+ }
7433
7436
  if (!attached) {
7434
7437
  this.detachProxy();
7435
7438
  }
@@ -7487,10 +7490,14 @@
7487
7490
  if (this.proxy instanceof HTMLInputElement) {
7488
7491
  this.proxy.type = this.type;
7489
7492
  }
7490
- next === "submit" && this.addEventListener("click", this.handleSubmission);
7491
- previous === "submit" && this.removeEventListener("click", this.handleSubmission);
7492
- next === "reset" && this.addEventListener("click", this.handleFormReset);
7493
- previous === "reset" && this.removeEventListener("click", this.handleFormReset);
7493
+ if (next === "submit")
7494
+ this.addEventListener("click", this.handleSubmission);
7495
+ if (previous === "submit")
7496
+ this.removeEventListener("click", this.handleSubmission);
7497
+ if (next === "reset")
7498
+ this.addEventListener("click", this.handleFormReset);
7499
+ if (previous === "reset")
7500
+ this.removeEventListener("click", this.handleFormReset);
7494
7501
  }
7495
7502
  /** {@inheritDoc (FormAssociated:interface).validate} */
7496
7503
  validate() {
@@ -12763,9 +12770,12 @@
12763
12770
  if (this.proxy instanceof HTMLInputElement) {
12764
12771
  this.proxy.readOnly = this.readOnly;
12765
12772
  }
12766
- this.readOnly
12767
- ? this.classList.add("readonly")
12768
- : this.classList.remove("readonly");
12773
+ if (this.readOnly) {
12774
+ this.classList.add("readonly");
12775
+ }
12776
+ else {
12777
+ this.classList.remove("readonly");
12778
+ }
12769
12779
  }
12770
12780
  constructor() {
12771
12781
  super();
@@ -12808,7 +12818,12 @@
12808
12818
  /**
12809
12819
  * @deprecated - this behavior already exists in the template and should not exist in the class.
12810
12820
  */
12811
- this.checked ? this.classList.add("checked") : this.classList.remove("checked");
12821
+ if (this.checked) {
12822
+ this.classList.add("checked");
12823
+ }
12824
+ else {
12825
+ this.classList.remove("checked");
12826
+ }
12812
12827
  }
12813
12828
  };
12814
12829
  __decorate([
@@ -12952,9 +12967,12 @@
12952
12967
  tab.style[gridHorizontalProperty] = "";
12953
12968
  tab.style[gridVerticalProperty] = "";
12954
12969
  tab.style[gridProperty] = `${index + 1}`;
12955
- !this.isHorizontal()
12956
- ? tab.classList.add("vertical")
12957
- : tab.classList.remove("vertical");
12970
+ if (!this.isHorizontal()) {
12971
+ tab.classList.add("vertical");
12972
+ }
12973
+ else {
12974
+ tab.classList.remove("vertical");
12975
+ }
12958
12976
  });
12959
12977
  };
12960
12978
  this.setTabPanels = () => {
@@ -12963,9 +12981,12 @@
12963
12981
  const tabpanelId = this.tabpanelIds[index];
12964
12982
  tabpanel.setAttribute("id", tabpanelId);
12965
12983
  tabpanel.setAttribute("aria-labelledby", tabId);
12966
- this.activeTabIndex !== index
12967
- ? tabpanel.setAttribute("hidden", "")
12968
- : tabpanel.removeAttribute("hidden");
12984
+ if (this.activeTabIndex !== index) {
12985
+ tabpanel.setAttribute("hidden", "");
12986
+ }
12987
+ else {
12988
+ tabpanel.removeAttribute("hidden");
12989
+ }
12969
12990
  });
12970
12991
  };
12971
12992
  this.handleTabClick = (event) => {
@@ -16371,25 +16392,25 @@
16371
16392
  createFontTokens(tokenNames.headlineFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Headline1Family, Headline1Weight, Headline1Size, Headline1LineHeight);
16372
16393
  createFontTokens(tokenNames.headlinePlus1Font, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Headline2Family, Headline2Weight, Headline2Size, Headline2LineHeight);
16373
16394
  createFontTokens(tokenNames.titlePlus2Font, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Title3Family, Title3Weight, Title3Size, Title3LineHeight);
16374
- const [titlePlus1Font, titlePlus1FontColor, titlePlus1DisabledFontColor, titlePlus1FontFamily, titlePlus1FontWeight, titlePlus1FontSize, titlePlus1FontLineHeight] = createFontTokens(tokenNames.titlePlus1Font, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Title2Family, Title2Weight, Title2Size, Title2LineHeight);
16395
+ const [titlePlus1Font, titlePlus1FontColor] = createFontTokens(tokenNames.titlePlus1Font, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Title2Family, Title2Weight, Title2Size, Title2LineHeight);
16375
16396
  createFontTokens(tokenNames.titleFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Title1Family, Title1Weight, Title1Size, Title1LineHeight);
16376
- const [subtitlePlus1Font, subtitlePlus1FontColor, subtitlePlus1DisabledFontColor, subtitlePlus1FontFamily, subtitlePlus1FontWeight, subtitlePlus1FontSize, subtitlePlus1FontLineHeight] = createFontTokens(tokenNames.subtitlePlus1Font, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Subtitle2Family, Subtitle2Weight, Subtitle2Size, Subtitle2LineHeight);
16377
- const [subtitleFont, subtitleFontColor, subtitleDisabledFontColor, subtitleFontFamily, subtitleFontWeight, subtitleFontSize, subtitleFontLineHeight] = createFontTokens(tokenNames.subtitleFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Subtitle1Family, Subtitle1Weight, Subtitle1Size, Subtitle1LineHeight);
16378
- const [linkFont, linkFontColor, linkDisabledFontColor, linkFontFamily, linkFontWeight, linkFontSize, linkFontLineHeight] = createFontTokens(tokenNames.linkFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), LinkLightUiFamily, LinkLightUiWeight, LinkLightUiSize, LinkLineHeight);
16379
- const [linkActiveFont, linkActiveFontColor, linkActiveDisabledFontColor, linkActiveFontFamily, linkActiveFontWeight, linkActiveFontSize, linkActiveFontLineHeight] = createFontTokens(tokenNames.linkActiveFont, (element) => getColorForTheme(element, DigitalGreenLight, DigitalGreenLight, hexToRgbaCssColor(White, 0.75)), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), LinkLightUiFamily, LinkLightUiWeight, LinkLightUiSize, LinkLineHeight);
16380
- const [linkProminentFont, linkProminentFontColor, linkProminentDisabledFontColor, linkProminentFontFamily, linkProminentFontWeight, linkProminentFontSize, linkProminentFontLineHeight] = createFontTokens(tokenNames.linkProminentFont, (element) => getColorForTheme(element, DigitalGreenDark105, PowerGreen, White), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), LinkLightUiFamily, LinkLightUiWeight, LinkLightUiSize, LinkLineHeight);
16381
- const [linkActiveProminentFont, linkActiveProminentFontColor, linkActiveProminentDisabledFontColor, linkActiveProminentFontFamily, linkActiveProminentFontWeight, linkActiveProminentFontSize, linkActiveProminentFontLineHeight] = createFontTokens(tokenNames.linkActiveProminentFont, (element) => getColorForTheme(element, DigitalGreenLight, DigitalGreenLight, hexToRgbaCssColor(White, 0.75)), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), LinkLightUiFamily, LinkLightUiWeight, LinkLightUiSize, LinkLineHeight);
16382
- const [placeholderFont, placeholderFontColor, placeholderDisabledFontColor, placeholderFontFamily, placeholderFontWeight, placeholderFontSize, placeholderFontLineHeight] = createFontTokens(tokenNames.placeholderFont, (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.6), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), PlaceholderFamily, PlaceholderWeight, PlaceholderSize, PlaceholderLineHeight);
16397
+ const [subtitlePlus1Font] = createFontTokens(tokenNames.subtitlePlus1Font, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Subtitle2Family, Subtitle2Weight, Subtitle2Size, Subtitle2LineHeight);
16398
+ const [subtitleFont, subtitleFontColor] = createFontTokens(tokenNames.subtitleFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Subtitle1Family, Subtitle1Weight, Subtitle1Size, Subtitle1LineHeight);
16399
+ const [linkFont, linkFontColor, linkDisabledFontColor] = createFontTokens(tokenNames.linkFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), LinkLightUiFamily, LinkLightUiWeight, LinkLightUiSize, LinkLineHeight);
16400
+ const [linkActiveFont, linkActiveFontColor] = createFontTokens(tokenNames.linkActiveFont, (element) => getColorForTheme(element, DigitalGreenLight, DigitalGreenLight, hexToRgbaCssColor(White, 0.75)), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), LinkLightUiFamily, LinkLightUiWeight, LinkLightUiSize, LinkLineHeight);
16401
+ const [linkProminentFont, linkProminentFontColor] = createFontTokens(tokenNames.linkProminentFont, (element) => getColorForTheme(element, DigitalGreenDark105, PowerGreen, White), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), LinkLightUiFamily, LinkLightUiWeight, LinkLightUiSize, LinkLineHeight);
16402
+ const [linkActiveProminentFont, linkActiveProminentFontColor] = createFontTokens(tokenNames.linkActiveProminentFont, (element) => getColorForTheme(element, DigitalGreenLight, DigitalGreenLight, hexToRgbaCssColor(White, 0.75)), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), LinkLightUiFamily, LinkLightUiWeight, LinkLightUiSize, LinkLineHeight);
16403
+ const [placeholderFont, placeholderFontColor] = createFontTokens(tokenNames.placeholderFont, (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.6), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), PlaceholderFamily, PlaceholderWeight, PlaceholderSize, PlaceholderLineHeight);
16383
16404
  const [bodyFont, bodyFontColor, bodyDisabledFontColor, bodyFontFamily, bodyFontWeight, bodyFontSize, bodyFontLineHeight] = createFontTokens(tokenNames.bodyFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), BodyFamily, BodyWeight, BodySize, BodyLineHeight);
16384
- const [bodyEmphasizedFont, bodyEmphasizedFontColor, bodyEmphasizedDisabledFontColor, bodyEmphasizedFontFamily, bodyEmphasizedFontWeight, bodyEmphasizedFontSize, bodyEmphasizedFontLineHeight] = createFontTokens(tokenNames.bodyEmphasizedFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), BodyEmphasizedFamily, BodyEmphasizedWeight, BodyEmphasizedSize, BodyEmphasizedLineHeight);
16405
+ const [bodyEmphasizedFont, bodyEmphasizedFontColor, bodyEmphasizedDisabledFontColor, bodyEmphasizedFontFamily, bodyEmphasizedFontWeight] = createFontTokens(tokenNames.bodyEmphasizedFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), BodyEmphasizedFamily, BodyEmphasizedWeight, BodyEmphasizedSize, BodyEmphasizedLineHeight);
16385
16406
  createFontTokens(tokenNames.bodyPlus1Font, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Body2Family, Body2Weight, Body2Size, Body2LineHeight);
16386
16407
  createFontTokens(tokenNames.bodyPlus1EmphasizedFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), BodyEmphasized2Family, BodyEmphasized2Weight, BodyEmphasized2Size, BodyEmphasized2LineHeight);
16387
- const [groupHeaderFont, groupHeaderFontColor, groupHeaderDisabledFontColor, groupHeaderFontFamily, groupHeaderFontWeight, groupHeaderFontSize, groupHeaderFontLineHeight] = createFontTokens(tokenNames.groupHeaderFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), GroupLabel1Family, GroupLabel1Weight, GroupLabel1Size, GroupLabel1LineHeight);
16408
+ const [groupHeaderFont, groupHeaderFontColor] = createFontTokens(tokenNames.groupHeaderFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), GroupLabel1Family, GroupLabel1Weight, GroupLabel1Size, GroupLabel1LineHeight);
16388
16409
  const [controlLabelFont, controlLabelFontColor, controlLabelDisabledFontColor, controlLabelFontFamily, controlLabelFontWeight, controlLabelFontSize, controlLabelFontLineHeight] = createFontTokens(tokenNames.controlLabelFont, (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.6), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), ControlLabel1Family, ControlLabel1Weight, ControlLabel1Size, ControlLabel1LineHeight);
16389
- const [buttonLabelFont, buttonLabelFontColor, buttonLabelDisabledFontColor, buttonLabelFontFamily, buttonLabelFontWeight, buttonLabelFontSize, buttonLabelFontLineHeight] = createFontTokens(tokenNames.buttonLabelFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), ButtonLabel1Family, ButtonLabel1Weight, ButtonLabel1Size, ButtonLabel1LineHeight);
16390
- const [tooltipCaptionFont, tooltipCaptionFontColor, tooltipCaptionDisabledFontColor, tooltipCaptionFontFamily, tooltipCaptionFontWeight, tooltipCaptionFontSize, tooltipCaptionFontLineHeight] = createFontTokens(tokenNames.tooltipCaptionFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), TooltipCaptionFamily, TooltipCaptionWeight, TooltipCaptionSize, TooltipCaptionLineHeight);
16410
+ const [buttonLabelFont, buttonLabelFontColor, buttonLabelDisabledFontColor] = createFontTokens(tokenNames.buttonLabelFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), ButtonLabel1Family, ButtonLabel1Weight, ButtonLabel1Size, ButtonLabel1LineHeight);
16411
+ const [tooltipCaptionFont, tooltipCaptionFontColor] = createFontTokens(tokenNames.tooltipCaptionFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), TooltipCaptionFamily, TooltipCaptionWeight, TooltipCaptionSize, TooltipCaptionLineHeight);
16391
16412
  const [errorTextFont, errorTextFontColor, errorTextDisabledFontColor, errorTextFontFamily, errorTextFontWeight, errorTextFontSize, errorTextFontLineHeight] = createFontTokens(tokenNames.errorTextFont, (element) => getFailColorForTheme(element), (element) => hexToRgbaCssColor(getFailColorForTheme(element), 0.3), ErrorLightUiFamily, ErrorLightUiWeight, ErrorLightUiSize, TooltipCaptionLineHeight);
16392
- const [tableHeaderFont, tableHeaderFontColor, tableHeaderDisabledFontColor, tableHeaderFontFamily, tableHeaderFontWeight, tableHeaderFontSize, tableHeaderFontLineHeight] = createFontTokens(tokenNames.tableHeaderFont, (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.6), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), GridHeaderFamily, GridHeaderWeight, GridHeaderSize, TooltipCaptionLineHeight);
16413
+ const [tableHeaderFont, tableHeaderFontColor] = createFontTokens(tokenNames.tableHeaderFont, (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.6), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), GridHeaderFamily, GridHeaderWeight, GridHeaderSize, TooltipCaptionLineHeight);
16393
16414
  createFontTokens(tokenNames.mentionFont, (element) => getColorForTheme(element, DigitalGreenDark, PowerGreen, PowerGreen), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), BodyFamily, BodyEmphasizedWeight, BodySize, BodyLineHeight);
16394
16415
  // Font Transform Tokens
16395
16416
  const groupHeaderTextTransform = DesignToken.create(styleNameFromTokenName(tokenNames.groupHeaderTextTransform)).withDefault('uppercase');
@@ -16563,7 +16584,6 @@
16563
16584
  }
16564
16585
  `;
16565
16586
 
16566
- // prettier-ignore
16567
16587
  const template$N = (_context, definition) => html `${
16568
16588
  /* top-container div is necessary because setting contenteditable directly on the native anchor instead
16569
16589
  leaves it focusable, unlike the behavior you get when the anchor is _within_ a contenteditable element.
@@ -18768,7 +18788,6 @@
18768
18788
  cssCustomPropertyName: null
18769
18789
  }).withDefault(coreLabelDefaults.scrollForwardLabel);
18770
18790
 
18771
- // prettier-ignore
18772
18791
  const template$H = (context, definition) => html `
18773
18792
  <div
18774
18793
  class="tab-bar"
@@ -19625,7 +19644,6 @@
19625
19644
  information: 'information'
19626
19645
  };
19627
19646
 
19628
- // prettier-ignore
19629
19647
  const template$F = html `
19630
19648
  <${themeProviderTag} theme="${Theme.color}">
19631
19649
  <div class="container"
@@ -19749,12 +19767,70 @@
19749
19767
  });
19750
19768
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
19751
19769
 
19770
+ /**
19771
+ * The template for the {@link @ni/fast-foundation#Breadcrumb} component.
19772
+ * @public
19773
+ */
19774
+ const breadcrumbTemplate = (_context, _definition) => html `
19775
+ <template role="navigation">
19776
+ ${when(x => x.showScrollButtons, html `
19777
+ <${buttonTag}
19778
+ content-hidden
19779
+ class="scroll-button left"
19780
+ appearance="${ButtonAppearance.ghost}"
19781
+ @click="${x => x.onScrollLeftClick()}"
19782
+ ${ref('leftScrollButton')}
19783
+ >
19784
+ ${x => scrollForwardLabel.getValueFor(x)}
19785
+ <${iconArrowExpanderLeftTag} slot="start"></${iconArrowExpanderLeftTag}>
19786
+ </${buttonTag}>
19787
+ `)}
19788
+ <div ${ref('list')} role="list" class="list" part="list" tabindex="-1">
19789
+ <slot
19790
+ ${slotted({ property: 'slottedBreadcrumbItems', filter: elements() })}
19791
+ ></slot>
19792
+ </div>
19793
+ ${when(x => x.showScrollButtons, html `
19794
+ <${buttonTag}
19795
+ content-hidden
19796
+ class="scroll-button right"
19797
+ appearance="${ButtonAppearance.ghost}"
19798
+ @click="${x => x.onScrollRightClick()}"
19799
+ >
19800
+ ${x => scrollBackwardLabel.getValueFor(x)}
19801
+ <${iconArrowExpanderRightTag} slot="start"></${iconArrowExpanderRightTag}>
19802
+ </${buttonTag}>
19803
+ `)}
19804
+ </template>
19805
+ `;
19806
+
19752
19807
  const styles$R = css `
19753
- ${display('inline-block')}
19808
+ ${display('inline-flex')}
19809
+
19810
+ :host {
19811
+ flex-direction: row;
19812
+ }
19813
+
19814
+ .scroll-button.left {
19815
+ margin-right: ${smallPadding};
19816
+ }
19754
19817
 
19755
19818
  .list {
19756
- display: flex;
19757
- flex-wrap: wrap;
19819
+ display: inline-flex;
19820
+ max-width: 100%;
19821
+ width: max-content;
19822
+ align-self: end;
19823
+ overflow-x: scroll;
19824
+ scrollbar-width: none;
19825
+ }
19826
+
19827
+ .scroll-button.right {
19828
+ margin-left: ${smallPadding};
19829
+ }
19830
+
19831
+ ::slotted(*) {
19832
+ flex-shrink: 0;
19833
+ white-space: nowrap;
19758
19834
  }
19759
19835
 
19760
19836
  ::slotted(:last-child) {
@@ -19771,10 +19847,63 @@
19771
19847
  * A nimble-styled breadcrumb
19772
19848
  */
19773
19849
  class Breadcrumb extends Breadcrumb$1 {
19850
+ constructor() {
19851
+ super();
19852
+ /**
19853
+ * @internal
19854
+ */
19855
+ this.showScrollButtons = false;
19856
+ this.listResizeObserver = new ResizeObserver(entries => {
19857
+ let listVisibleWidth = entries[0]?.contentRect.width;
19858
+ if (listVisibleWidth !== undefined) {
19859
+ const buttonWidth = this.leftScrollButton?.clientWidth ?? 0;
19860
+ listVisibleWidth = Math.ceil(listVisibleWidth);
19861
+ if (this.showScrollButtons) {
19862
+ listVisibleWidth += buttonWidth * 2;
19863
+ }
19864
+ this.showScrollButtons = listVisibleWidth < this.list.scrollWidth;
19865
+ }
19866
+ });
19867
+ }
19868
+ /**
19869
+ * @internal
19870
+ */
19871
+ onScrollLeftClick() {
19872
+ this.list.scrollBy({
19873
+ left: -this.list.clientWidth,
19874
+ behavior: 'smooth'
19875
+ });
19876
+ }
19877
+ /**
19878
+ * @internal
19879
+ */
19880
+ onScrollRightClick() {
19881
+ this.list.scrollBy({
19882
+ left: this.list.clientWidth,
19883
+ behavior: 'smooth'
19884
+ });
19885
+ }
19886
+ /**
19887
+ * @internal
19888
+ */
19889
+ connectedCallback() {
19890
+ super.connectedCallback();
19891
+ this.listResizeObserver.observe(this.list);
19892
+ }
19893
+ /**
19894
+ * @internal
19895
+ */
19896
+ disconnectedCallback() {
19897
+ super.disconnectedCallback();
19898
+ this.listResizeObserver.disconnect();
19899
+ }
19774
19900
  }
19775
19901
  __decorate([
19776
19902
  attr
19777
19903
  ], Breadcrumb.prototype, "appearance", void 0);
19904
+ __decorate([
19905
+ observable
19906
+ ], Breadcrumb.prototype, "showScrollButtons", void 0);
19778
19907
  const nimbleBreadcrumb = Breadcrumb.compose({
19779
19908
  baseName: 'breadcrumb',
19780
19909
  baseClass: Breadcrumb$1,
@@ -20467,8 +20596,6 @@ so this becomes the fallback color for the slot */ ''}
20467
20596
  }
20468
20597
  `));
20469
20598
 
20470
- /* eslint-disable @typescript-eslint/indent */
20471
- // prettier-ignore
20472
20599
  const template$C = (context, definition) => html `
20473
20600
  <div
20474
20601
  role="button"
@@ -20521,7 +20648,6 @@ so this becomes the fallback color for the slot */ ''}
20521
20648
  ${endSlotTemplate(context, definition)}
20522
20649
  </div>
20523
20650
  `;
20524
- /* eslint-enable @typescript-eslint/indent */
20525
20651
 
20526
20652
  /**
20527
20653
  * A nimble-styled toggle button control.
@@ -21022,7 +21148,6 @@ so this becomes the fallback color for the slot */ ''}
21022
21148
  *
21023
21149
  * This function is intended to be used with components leveraging `mixinRequiredVisiblePattern`.
21024
21150
  */
21025
- /* eslint-disable @typescript-eslint/indent */
21026
21151
  function createRequiredVisibleLabelTemplate(labelTemplate) {
21027
21152
  return html `
21028
21153
  <div class="annotated-label">
@@ -21039,8 +21164,6 @@ so this becomes the fallback color for the slot */ ''}
21039
21164
  <slot></slot>
21040
21165
  </label>
21041
21166
  `);
21042
- /* eslint-disable @typescript-eslint/indent */
21043
- // prettier-ignore
21044
21167
  const template$B = (context, definition) => html `
21045
21168
  <template
21046
21169
  aria-disabled="${x => x.ariaDisabled}"
@@ -25425,7 +25548,6 @@ so this becomes the fallback color for the slot */ ''}
25425
25548
  * The template for the {@link @ni/fast-foundation#(ListboxOption:class)} component.
25426
25549
  * @public
25427
25550
  */
25428
- // prettier-ignore
25429
25551
  const template$y = (context, definition) => html `
25430
25552
  <template
25431
25553
  aria-checked="${x => x.ariaChecked}"
@@ -25607,7 +25729,6 @@ so this becomes the fallback color for the slot */ ''}
25607
25729
  const isListOption$1 = (n) => {
25608
25730
  return n instanceof ListOption;
25609
25731
  };
25610
- // prettier-ignore
25611
25732
  const template$x = html `
25612
25733
  <template
25613
25734
  role="group"
@@ -26199,8 +26320,6 @@ so this becomes the fallback color for the slot */ ''}
26199
26320
  observable
26200
26321
  ], Menu$1.prototype, "itemIcons", void 0);
26201
26322
 
26202
- /* eslint-disable @typescript-eslint/indent */
26203
- // prettier-ignore
26204
26323
  const template$v = () => html `
26205
26324
  <template
26206
26325
  slot="${x => {
@@ -26217,7 +26336,6 @@ so this becomes the fallback color for the slot */ ''}
26217
26336
  <slot ${slotted('items')}></slot>
26218
26337
  </template>
26219
26338
  `;
26220
- /* eslint-enable @typescript-eslint/indent */
26221
26339
 
26222
26340
  const styles$B = css `
26223
26341
  ${display('grid')}
@@ -26324,7 +26442,6 @@ so this becomes the fallback color for the slot */ ''}
26324
26442
  }
26325
26443
  `;
26326
26444
 
26327
- // prettier-ignore
26328
26445
  const template$u = html `
26329
26446
  <template
26330
26447
  ?open="${x => x.open}"
@@ -27267,7 +27384,6 @@ so this becomes the fallback color for the slot */ ''}
27267
27384
  `;
27268
27385
 
27269
27386
  const labelTemplate$3 = createRequiredVisibleLabelTemplate(html `<slot name="label"></slot>`);
27270
- /* eslint-disable @typescript-eslint/indent */
27271
27387
  const template$s = html `
27272
27388
  <template
27273
27389
  role="radiogroup"
@@ -34466,7 +34582,7 @@ so this becomes the fallback color for the slot */ ''}
34466
34582
  if (desc.dom.nodeType == 1 && (desc.node.isBlock && desc.parent || !desc.contentDOM) &&
34467
34583
  // Ignore elements with zero-size bounding rectangles
34468
34584
  ((rect = desc.dom.getBoundingClientRect()).width || rect.height)) {
34469
- if (desc.node.isBlock && desc.parent) {
34585
+ if (desc.node.isBlock && desc.parent && !/^T(R|BODY|HEAD|FOOT)$/.test(desc.dom.nodeName)) {
34470
34586
  // Only apply the horizontal test to the innermost block. Vertical for any parent.
34471
34587
  if (!sawBlock && rect.left > coords.left || rect.top > coords.top)
34472
34588
  outsideBlock = desc.posBefore;
@@ -35124,7 +35240,7 @@ so this becomes the fallback color for the slot */ ''}
35124
35240
  // (one where the focus is before the anchor), but not all
35125
35241
  // browsers support it yet.
35126
35242
  let domSelExtended = false;
35127
- if ((domSel.extend || anchor == head) && !brKludge) {
35243
+ if ((domSel.extend || anchor == head) && !(brKludge && gecko)) {
35128
35244
  domSel.collapse(anchorDOM.node, anchorDOM.offset);
35129
35245
  try {
35130
35246
  if (anchor != head)
@@ -35536,17 +35652,18 @@ so this becomes the fallback color for the slot */ ''}
35536
35652
  }
35537
35653
  // Mark this node as being the selected node.
35538
35654
  selectNode() {
35539
- if (this.nodeDOM.nodeType == 1)
35655
+ if (this.nodeDOM.nodeType == 1) {
35540
35656
  this.nodeDOM.classList.add("ProseMirror-selectednode");
35541
- if (this.contentDOM || !this.node.type.spec.draggable)
35542
- this.dom.draggable = true;
35657
+ if (this.contentDOM || !this.node.type.spec.draggable)
35658
+ this.nodeDOM.draggable = true;
35659
+ }
35543
35660
  }
35544
35661
  // Remove selected node marking from this node.
35545
35662
  deselectNode() {
35546
35663
  if (this.nodeDOM.nodeType == 1) {
35547
35664
  this.nodeDOM.classList.remove("ProseMirror-selectednode");
35548
35665
  if (this.contentDOM || !this.node.type.spec.draggable)
35549
- this.dom.removeAttribute("draggable");
35666
+ this.nodeDOM.removeAttribute("draggable");
35550
35667
  }
35551
35668
  }
35552
35669
  get domAtom() { return this.node.isAtom; }
@@ -36385,17 +36502,14 @@ so this becomes the fallback color for the slot */ ''}
36385
36502
  });
36386
36503
  }
36387
36504
  function selectCursorWrapper(view) {
36388
- let domSel = view.domSelection(), range = document.createRange();
36505
+ let domSel = view.domSelection();
36389
36506
  if (!domSel)
36390
36507
  return;
36391
36508
  let node = view.cursorWrapper.dom, img = node.nodeName == "IMG";
36392
36509
  if (img)
36393
- range.setStart(node.parentNode, domIndex(node) + 1);
36510
+ domSel.collapse(node.parentNode, domIndex(node) + 1);
36394
36511
  else
36395
- range.setStart(node, 0);
36396
- range.collapse(true);
36397
- domSel.removeAllRanges();
36398
- domSel.addRange(range);
36512
+ domSel.collapse(node, 0);
36399
36513
  // Kludge to kill 'control selection' in IE11 when selecting an
36400
36514
  // invisible cursor wrapper, since that would result in those weird
36401
36515
  // resize handles and a selection that considers the absolutely
@@ -36873,11 +36987,14 @@ so this becomes the fallback color for the slot */ ''}
36873
36987
  let dom, slice;
36874
36988
  if (!html && !text)
36875
36989
  return null;
36876
- let asText = text && (plainText || inCode || !html);
36990
+ let asText = !!text && (plainText || inCode || !html);
36877
36991
  if (asText) {
36878
36992
  view.someProp("transformPastedText", f => { text = f(text, inCode || plainText, view); });
36879
- if (inCode)
36880
- return text ? new Slice(Fragment.from(view.state.schema.text(text.replace(/\r\n?/g, "\n"))), 0, 0) : Slice.empty;
36993
+ if (inCode) {
36994
+ slice = new Slice(Fragment.from(view.state.schema.text(text.replace(/\r\n?/g, "\n"))), 0, 0);
36995
+ view.someProp("transformPasted", f => { slice = f(slice, view, true); });
36996
+ return slice;
36997
+ }
36881
36998
  let parsed = view.someProp("clipboardTextParser", f => f(text, $context, plainText, view));
36882
36999
  if (parsed) {
36883
37000
  slice = parsed;
@@ -36935,7 +37052,7 @@ so this becomes the fallback color for the slot */ ''}
36935
37052
  slice = closeSlice(slice, openStart, openEnd);
36936
37053
  }
36937
37054
  }
36938
- view.someProp("transformPasted", f => { slice = f(slice, view); });
37055
+ view.someProp("transformPasted", f => { slice = f(slice, view, asText); });
36939
37056
  return slice;
36940
37057
  }
36941
37058
  const inlineParents = /^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;
@@ -37397,7 +37514,7 @@ so this becomes the fallback color for the slot */ ''}
37397
37514
  }
37398
37515
  const target = flushed ? null : event.target;
37399
37516
  const targetDesc = target ? view.docView.nearestDesc(target, true) : null;
37400
- this.target = targetDesc && targetDesc.dom.nodeType == 1 ? targetDesc.dom : null;
37517
+ this.target = targetDesc && targetDesc.nodeDOM.nodeType == 1 ? targetDesc.nodeDOM : null;
37401
37518
  let { selection } = view.state;
37402
37519
  if (event.button == 0 &&
37403
37520
  targetNode.type.spec.draggable && targetNode.type.spec.selectable !== false ||
@@ -37794,7 +37911,7 @@ so this becomes the fallback color for the slot */ ''}
37794
37911
  let $mouse = view.state.doc.resolve(eventPos.pos);
37795
37912
  let slice = dragging && dragging.slice;
37796
37913
  if (slice) {
37797
- view.someProp("transformPasted", f => { slice = f(slice, view); });
37914
+ view.someProp("transformPasted", f => { slice = f(slice, view, false); });
37798
37915
  }
37799
37916
  else {
37800
37917
  slice = parseFromClipboard(view, getText$1(event.dataTransfer), brokenClipboardAPI ? null : event.dataTransfer.getData("text/html"), false, $mouse);
@@ -38980,7 +39097,7 @@ so this becomes the fallback color for the slot */ ''}
38980
39097
  }
38981
39098
  return null;
38982
39099
  }
38983
- const isInline = /^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;
39100
+ const isInline = /^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;
38984
39101
  function readDOMChange(view, from, to, typeOver, addedNodes) {
38985
39102
  let compositionID = view.input.compositionPendingChanges || (view.composing ? view.input.compositionID : 0);
38986
39103
  view.input.compositionPendingChanges = 0;
@@ -39079,16 +39196,13 @@ so this becomes the fallback color for the slot */ ''}
39079
39196
  let $to = parse.doc.resolveNoCache(change.endB - parse.from);
39080
39197
  let $fromA = doc.resolve(change.start);
39081
39198
  let inlineChange = $from.sameParent($to) && $from.parent.inlineContent && $fromA.end() >= change.endA;
39082
- let nextSel;
39083
39199
  // If this looks like the effect of pressing Enter (or was recorded
39084
39200
  // as being an iOS enter press), just dispatch an Enter key instead.
39085
39201
  if (((ios && view.input.lastIOSEnter > Date.now() - 225 &&
39086
39202
  (!inlineChange || addedNodes.some(n => n.nodeName == "DIV" || n.nodeName == "P"))) ||
39087
39203
  (!inlineChange && $from.pos < parse.doc.content.size &&
39088
39204
  (!$from.sameParent($to) || !$from.parent.inlineContent) &&
39089
- !/\S/.test(parse.doc.textBetween($from.pos, $to.pos, "", "")) &&
39090
- (nextSel = Selection$2.findFrom(parse.doc.resolve($from.pos + 1), 1, true)) &&
39091
- nextSel.head > $from.pos)) &&
39205
+ $from.pos < $to.pos && !/\S/.test(parse.doc.textBetween($from.pos, $to.pos, "", "")))) &&
39092
39206
  view.someProp("handleKeyDown", f => f(view, keyEvent(13, "Enter")))) {
39093
39207
  view.input.lastIOSEnter = 0;
39094
39208
  return;
@@ -45836,8 +45950,6 @@ img.ProseMirror-separator {
45836
45950
  }
45837
45951
  `;
45838
45952
 
45839
- /* eslint-disable @typescript-eslint/indent */
45840
- // prettier-ignore
45841
45953
  const template$r = html `
45842
45954
  <template>
45843
45955
  <${anchoredRegionTag}
@@ -46134,7 +46246,6 @@ img.ProseMirror-separator {
46134
46246
  .register(nimbleRichTextMentionListbox());
46135
46247
  const richTextMentionListboxTag = 'nimble-rich-text-mention-listbox';
46136
46248
 
46137
- // prettier-ignore
46138
46249
  const template$q = html `
46139
46250
  <template
46140
46251
  ${children$1({ property: 'childItems', filter: elements() })}
@@ -47624,7 +47735,7 @@ img.ProseMirror-separator {
47624
47735
 
47625
47736
  // Merge objects
47626
47737
  //
47627
- function assign$2 (obj /* from1, from2, from3, ... */) {
47738
+ function assign$1 (obj /* from1, from2, from3, ... */) {
47628
47739
  const sources = Array.prototype.slice.call(arguments, 1);
47629
47740
 
47630
47741
  sources.forEach(function (source) {
@@ -47894,7 +48005,7 @@ img.ProseMirror-separator {
47894
48005
  var utils = /*#__PURE__*/Object.freeze({
47895
48006
  __proto__: null,
47896
48007
  arrayReplaceAt: arrayReplaceAt,
47897
- assign: assign$2,
48008
+ assign: assign$1,
47898
48009
  escapeHtml: escapeHtml,
47899
48010
  escapeRE: escapeRE$1,
47900
48011
  fromCodePoint: fromCodePoint,
@@ -48254,7 +48365,7 @@ img.ProseMirror-separator {
48254
48365
  * See [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.mjs)
48255
48366
  * for more details and examples.
48256
48367
  **/
48257
- this.rules = assign$2({}, default_rules);
48368
+ this.rules = assign$1({}, default_rules);
48258
48369
  }
48259
48370
 
48260
48371
  /**
@@ -53036,7 +53147,7 @@ img.ProseMirror-separator {
53036
53147
 
53037
53148
  // Merge objects
53038
53149
  //
53039
- function assign$1 (obj /* from1, from2, from3, ... */) {
53150
+ function assign (obj /* from1, from2, from3, ... */) {
53040
53151
  const sources = Array.prototype.slice.call(arguments, 1);
53041
53152
 
53042
53153
  sources.forEach(function (source) {
@@ -53397,7 +53508,7 @@ img.ProseMirror-separator {
53397
53508
  }
53398
53509
  }
53399
53510
 
53400
- this.__opts__ = assign$1({}, defaultOptions, options);
53511
+ this.__opts__ = assign({}, defaultOptions, options);
53401
53512
 
53402
53513
  // Cache last tested result. Used to skip repeating steps on next `match` call.
53403
53514
  this.__index__ = -1;
@@ -53405,7 +53516,7 @@ img.ProseMirror-separator {
53405
53516
  this.__schema__ = '';
53406
53517
  this.__text_cache__ = '';
53407
53518
 
53408
- this.__schemas__ = assign$1({}, defaultSchemas, schemas);
53519
+ this.__schemas__ = assign({}, defaultSchemas, schemas);
53409
53520
  this.__compiled__ = {};
53410
53521
 
53411
53522
  this.__tlds__ = tlds_default;
@@ -53436,7 +53547,7 @@ img.ProseMirror-separator {
53436
53547
  * Set recognition options for links without schema.
53437
53548
  **/
53438
53549
  LinkifyIt.prototype.set = function set (options) {
53439
- this.__opts__ = assign$1(this.__opts__, options);
53550
+ this.__opts__ = assign(this.__opts__, options);
53440
53551
  return this
53441
53552
  };
53442
53553
 
@@ -54639,7 +54750,7 @@ img.ProseMirror-separator {
54639
54750
  * Link components parser functions, useful to write plugins. See details
54640
54751
  * [here](https://github.com/markdown-it/markdown-it/blob/master/lib/helpers).
54641
54752
  **/
54642
- this.helpers = assign$2({}, helpers);
54753
+ this.helpers = assign$1({}, helpers);
54643
54754
 
54644
54755
  this.options = {};
54645
54756
  this.configure(presetName);
@@ -54667,7 +54778,7 @@ img.ProseMirror-separator {
54667
54778
  * config.
54668
54779
  **/
54669
54780
  MarkdownIt.prototype.set = function (options) {
54670
- assign$2(this.options, options);
54781
+ assign$1(this.options, options);
54671
54782
  return this
54672
54783
  };
54673
54784
 
@@ -57300,24 +57411,10 @@ img.ProseMirror-separator {
57300
57411
  // THIS FILE IS AUTOMATICALLY GENERATED DO NOT EDIT DIRECTLY
57301
57412
  // See update-tlds.js for encoding/decoding format
57302
57413
  // https://data.iana.org/TLD/tlds-alpha-by-domain.txt
57303
- const encodedTlds = 'aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2';
57414
+ const encodedTlds = 'aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2';
57304
57415
  // Internationalized domain names containing non-ASCII
57305
57416
  const encodedUtlds = 'ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2';
57306
57417
 
57307
- /**
57308
- * @template A
57309
- * @template B
57310
- * @param {A} target
57311
- * @param {B} properties
57312
- * @return {A & B}
57313
- */
57314
- const assign = (target, properties) => {
57315
- for (const key in properties) {
57316
- target[key] = properties[key];
57317
- }
57318
- return target;
57319
- };
57320
-
57321
57418
  /**
57322
57419
  * Finite State Machine generation utilities
57323
57420
  */
@@ -57580,7 +57677,7 @@ img.ProseMirror-separator {
57580
57677
  templateState = state.go(input);
57581
57678
  if (templateState) {
57582
57679
  nextState = new State();
57583
- assign(nextState.j, templateState.j);
57680
+ Object.assign(nextState.j, templateState.j);
57584
57681
  nextState.jr.push.apply(nextState.jr, templateState.jr);
57585
57682
  nextState.jd = templateState.jd;
57586
57683
  nextState.t = templateState.t;
@@ -57591,7 +57688,7 @@ img.ProseMirror-separator {
57591
57688
  // Ensure newly token is in the same groups as the old token
57592
57689
  if (groups) {
57593
57690
  if (nextState.t && typeof nextState.t === 'string') {
57594
- const allFlags = assign(flagsForToken(nextState.t, groups), flags);
57691
+ const allFlags = Object.assign(flagsForToken(nextState.t, groups), flags);
57595
57692
  addToGroups(t, allFlags, groups);
57596
57693
  } else if (flags) {
57597
57694
  addToGroups(t, flags, groups);
@@ -58030,7 +58127,7 @@ img.ProseMirror-separator {
58030
58127
  Start.jd = new State(SYM);
58031
58128
  return {
58032
58129
  start: Start,
58033
- tokens: assign({
58130
+ tokens: Object.assign({
58034
58131
  groups
58035
58132
  }, tk)
58036
58133
  };
@@ -58299,9 +58396,9 @@ img.ProseMirror-separator {
58299
58396
  * Similar to render option
58300
58397
  */
58301
58398
  function Options(opts, defaultRender = null) {
58302
- let o = assign({}, defaults);
58399
+ let o = Object.assign({}, defaults);
58303
58400
  if (opts) {
58304
- o = assign(o, opts instanceof Options ? opts.o : opts);
58401
+ o = Object.assign(o, opts instanceof Options ? opts.o : opts);
58305
58402
  }
58306
58403
 
58307
58404
  // Ensure all ignored tags are uppercase
@@ -58546,7 +58643,7 @@ img.ProseMirror-separator {
58546
58643
  attributes.rel = rel;
58547
58644
  }
58548
58645
  if (attrs) {
58549
- assign(attributes, attrs);
58646
+ Object.assign(attributes, attrs);
58550
58647
  }
58551
58648
  return {
58552
58649
  tagName,
@@ -61492,8 +61589,6 @@ img.ProseMirror-separator {
61492
61589
  }
61493
61590
  `));
61494
61591
 
61495
- /* eslint-disable @typescript-eslint/indent */
61496
- // prettier-ignore
61497
61592
  const template$o = html `
61498
61593
  <template role="progressbar">
61499
61594
  ${''
@@ -61511,7 +61606,6 @@ img.ProseMirror-separator {
61511
61606
  </div>
61512
61607
  </template>
61513
61608
  `;
61514
- /* eslint-enable @typescript-eslint/indent */
61515
61609
 
61516
61610
  /**
61517
61611
  * Types of spinner appearance.
@@ -61559,8 +61653,6 @@ img.ProseMirror-separator {
61559
61653
  <slot ${ref('labelSlot')}></slot>
61560
61654
  </label>
61561
61655
  `);
61562
- /* eslint-disable @typescript-eslint/indent */
61563
- // prettier-ignore
61564
61656
  const template$n = (context, definition) => html `
61565
61657
  <template
61566
61658
  class="${x => [
@@ -61691,7 +61783,6 @@ img.ProseMirror-separator {
61691
61783
  </${anchoredRegionTag}>
61692
61784
  </template>
61693
61785
  `;
61694
- /* eslint-enable @typescript-eslint/indent */
61695
61786
 
61696
61787
  // Based on: https://github.com/microsoft/fast/blob/%40microsoft/fast-foundation_v2.49.5/packages/web-components/fast-foundation/src/select/select.form-associated.ts
61697
61788
  /* eslint-disable max-classes-per-file */
@@ -62954,7 +63045,6 @@ img.ProseMirror-separator {
62954
63045
  }
62955
63046
  `));
62956
63047
 
62957
- // prettier-ignore
62958
63048
  const template$m = html `
62959
63049
  <template
62960
63050
  role="switch"
@@ -66533,7 +66623,6 @@ img.ProseMirror-separator {
66533
66623
  throw new Error(`Cell view tag name (${cellViewTag}) must evaluate to an element extending TableCellView`);
66534
66624
  }
66535
66625
  };
66536
- // prettier-ignore
66537
66626
  const createCellViewTemplate = (cellViewTag) => {
66538
66627
  validateCellViewTemplate(cellViewTag);
66539
66628
  return html `
@@ -67118,7 +67207,6 @@ focus outline in that case.
67118
67207
  }
67119
67208
  `;
67120
67209
 
67121
- // prettier-ignore
67122
67210
  const template$l = html `
67123
67211
  <template role="columnheader"
67124
67212
  class="${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}"
@@ -67453,7 +67541,6 @@ focus outline in that case.
67453
67541
  }
67454
67542
  `;
67455
67543
 
67456
- // prettier-ignore
67457
67544
  const template$k = html `
67458
67545
  <template role="cell" style="--ni-private-table-cell-nesting-level: ${x => x.nestingLevel}"
67459
67546
  @focusin="${x => x.onCellFocusIn()}"
@@ -67557,7 +67644,6 @@ focus outline in that case.
67557
67644
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableCell());
67558
67645
  const tableCellTag = 'nimble-table-cell';
67559
67646
 
67560
- // prettier-ignore
67561
67647
  const template$j = html `
67562
67648
  <template
67563
67649
  role="row"
@@ -68048,8 +68134,6 @@ focus outline in that case.
68048
68134
  }
68049
68135
  `));
68050
68136
 
68051
- /* eslint-disable @typescript-eslint/indent */
68052
- // prettier-ignore
68053
68137
  const template$i = html `
68054
68138
  <template
68055
68139
  role="row"
@@ -68090,7 +68174,6 @@ focus outline in that case.
68090
68174
  </div>
68091
68175
  </template>
68092
68176
  `;
68093
- /* eslint-enable @typescript-eslint/indent */
68094
68177
 
68095
68178
  /**
68096
68179
  * A styled cell that is used within the nimble-table-row.
@@ -68214,7 +68297,6 @@ focus outline in that case.
68214
68297
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableGroupRow());
68215
68298
  const tableGroupRowTag = 'nimble-table-group-row';
68216
68299
 
68217
- // prettier-ignore
68218
68300
  const template$h = html `
68219
68301
  <template
68220
68302
  role="treegrid"
@@ -71194,8 +71276,7 @@ focus outline in that case.
71194
71276
  return { headerActions, columnHeaders };
71195
71277
  }
71196
71278
  canFocusColumnHeaders() {
71197
- return (this.table.columns.find(c => !c.columnInternals.sortingDisabled)
71198
- !== undefined);
71279
+ return (this.table.columns.find(c => !c.columnInternals.sortingDisabled) !== undefined);
71199
71280
  }
71200
71281
  getCurrentRow() {
71201
71282
  return this.table.rowElements[this.getCurrentRowVisibleIndex()];
@@ -72350,7 +72431,6 @@ focus outline in that case.
72350
72431
 
72351
72432
  // Avoiding a wrapping <template> and be careful about starting and ending whitspace
72352
72433
  // so the template can be composed into other column header templates
72353
- // prettier-ignore
72354
72434
  const template$g = html `<span
72355
72435
  ${overflow('hasOverflow')}
72356
72436
  class="header-content"
@@ -72457,8 +72537,6 @@ focus outline in that case.
72457
72537
  }
72458
72538
  `;
72459
72539
 
72460
- /* eslint-disable @typescript-eslint/indent */
72461
- // prettier-ignore
72462
72540
  const template$f = html `
72463
72541
  <template
72464
72542
  @click="${(x, c) => {
@@ -72498,7 +72576,6 @@ focus outline in that case.
72498
72576
  </span>`)}
72499
72577
  </template>
72500
72578
  `;
72501
- /* eslint-enable @typescript-eslint/indent */
72502
72579
 
72503
72580
  /**
72504
72581
  * A cell view for displaying links
@@ -72977,7 +73054,6 @@ focus outline in that case.
72977
73054
  .register(tableColumnDateTextGroupHeaderView());
72978
73055
  const tableColumnDateTextGroupHeaderViewTag = 'nimble-table-column-date-text-group-header-view';
72979
73056
 
72980
- // prettier-ignore
72981
73057
  const template$d = html `
72982
73058
  <template
72983
73059
  class="
@@ -73754,7 +73830,6 @@ focus outline in that case.
73754
73830
  }
73755
73831
  `;
73756
73832
 
73757
- // prettier-ignore
73758
73833
  const template$b = html `
73759
73834
  ${when(x => x.visualizationTemplate, html `
73760
73835
  <span class="reserve-icon-size">
@@ -73931,7 +74006,6 @@ focus outline in that case.
73931
74006
  }
73932
74007
  `;
73933
74008
 
73934
- // prettier-ignore
73935
74009
  const template$a = html `
73936
74010
  ${when(x => x.visualizationTemplate, html `
73937
74011
  <span class="reserve-icon-size">
@@ -74279,7 +74353,6 @@ focus outline in that case.
74279
74353
 
74280
74354
  // Avoiding a wrapping <template> and be careful about starting and ending whitespace
74281
74355
  // so the template can be composed into other column header templates
74282
- // prettier-ignore
74283
74356
  const template$7 = html `<span
74284
74357
  ${overflow('hasOverflow')}
74285
74358
  class="header-content"
@@ -75062,8 +75135,6 @@ focus outline in that case.
75062
75135
  }
75063
75136
  `;
75064
75137
 
75065
- /* eslint-disable @typescript-eslint/indent */
75066
- // prettier-ignore
75067
75138
  const template$6 = (context, definition) => html `
75068
75139
  <template slot="end">
75069
75140
  ${when(x => x.defaultSlottedElements.length > 0, html `
@@ -75935,7 +76006,6 @@ focus outline in that case.
75935
76006
  }
75936
76007
  `));
75937
76008
 
75938
- // prettier-ignore
75939
76009
  const template$3 = html `
75940
76010
  ${when(x => x.tooltipVisible, html `
75941
76011
  <${anchoredRegionTag}
@@ -76313,7 +76383,6 @@ focus outline in that case.
76313
76383
  }
76314
76384
  `;
76315
76385
 
76316
- // prettier-ignore
76317
76386
  const template$2 = html `
76318
76387
  <template
76319
76388
  role="tree"