@uvalib/web-components 1.0.0 → 1.1.0

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 (229) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/README.md +724 -33
  3. package/dist/base/analytics-state.d.ts +36 -0
  4. package/dist/base/analytics-state.js +44 -0
  5. package/dist/base/analytics-state.js.map +1 -0
  6. package/dist/base/analytics.d.ts +31 -27
  7. package/dist/base/analytics.js +48 -37
  8. package/dist/base/analytics.js.map +1 -1
  9. package/dist/base/inline-copy.d.ts +16 -0
  10. package/dist/base/inline-copy.js +92 -0
  11. package/dist/base/inline-copy.js.map +1 -0
  12. package/dist/base/source-children.d.ts +46 -0
  13. package/dist/base/source-children.js +116 -0
  14. package/dist/base/source-children.js.map +1 -0
  15. package/dist/base.css +199 -0
  16. package/dist/base.d.ts +2 -2
  17. package/dist/base.js +1 -1
  18. package/dist/base.js.map +1 -1
  19. package/dist/components/bento-box/BentoSection.d.ts +1 -1
  20. package/dist/components/bento-box/BentoSection.js +29 -6
  21. package/dist/components/bento-box/BentoSection.js.map +1 -1
  22. package/dist/components/events-section/EventsSection.d.ts +3 -0
  23. package/dist/components/events-section/EventsSection.js +12 -1
  24. package/dist/components/events-section/EventsSection.js.map +1 -1
  25. package/dist/components/library-weekly-hours/LibraryWeeklyHours.d.ts +1 -0
  26. package/dist/components/library-weekly-hours/LibraryWeeklyHours.js +5 -0
  27. package/dist/components/library-weekly-hours/LibraryWeeklyHours.js.map +1 -1
  28. package/dist/components/site-alerts/SiteAlerts.d.ts +109 -0
  29. package/dist/components/site-alerts/SiteAlerts.js +542 -0
  30. package/dist/components/site-alerts/SiteAlerts.js.map +1 -0
  31. package/dist/components/site-alerts/alerts-source.d.ts +36 -0
  32. package/dist/components/site-alerts/alerts-source.js +115 -0
  33. package/dist/components/site-alerts/alerts-source.js.map +1 -0
  34. package/dist/components/{site-page → site-alerts}/alerts.js +8 -3
  35. package/dist/components/site-alerts/alerts.js.map +1 -0
  36. package/dist/components/site-alerts/body.d.ts +10 -0
  37. package/dist/components/site-alerts/body.js +48 -0
  38. package/dist/components/site-alerts/body.js.map +1 -0
  39. package/dist/components/site-alerts/dismissed.d.ts +12 -0
  40. package/dist/components/site-alerts/dismissed.js +72 -0
  41. package/dist/components/site-alerts/dismissed.js.map +1 -0
  42. package/dist/components/site-alerts/icons.d.ts +8 -0
  43. package/dist/components/site-alerts/icons.js +15 -0
  44. package/dist/components/site-alerts/icons.js.map +1 -0
  45. package/dist/components/site-alerts/site-alerts.d.ts +1 -0
  46. package/dist/components/site-alerts/site-alerts.js +4 -0
  47. package/dist/components/site-alerts/site-alerts.js.map +1 -0
  48. package/dist/components/site-analytics/SiteAnalytics.d.ts +26 -2
  49. package/dist/components/site-analytics/SiteAnalytics.js +140 -4
  50. package/dist/components/site-analytics/SiteAnalytics.js.map +1 -1
  51. package/dist/components/site-footer/SiteFooter.d.ts +4 -0
  52. package/dist/components/site-footer/SiteFooter.js +28 -4
  53. package/dist/components/site-footer/SiteFooter.js.map +1 -1
  54. package/dist/components/site-header/SiteHeader.d.ts +47 -3
  55. package/dist/components/site-header/SiteHeader.js +198 -21
  56. package/dist/components/site-header/SiteHeader.js.map +1 -1
  57. package/dist/components/site-hours-section/SiteHoursSection.d.ts +4 -1
  58. package/dist/components/site-hours-section/SiteHoursSection.js +18 -3
  59. package/dist/components/site-hours-section/SiteHoursSection.js.map +1 -1
  60. package/dist/components/site-main-nav/SiteMainNav.d.ts +1 -1
  61. package/dist/components/site-main-nav/SiteMainNav.js +11 -1
  62. package/dist/components/site-main-nav/SiteMainNav.js.map +1 -1
  63. package/dist/components/site-page/SitePage.d.ts +43 -15
  64. package/dist/components/site-page/SitePage.js +161 -34
  65. package/dist/components/site-page/SitePage.js.map +1 -1
  66. package/dist/components/uvalib-breadcrumbs/UvalibBreadcrumbs.d.ts +91 -0
  67. package/dist/components/uvalib-breadcrumbs/UvalibBreadcrumbs.js +310 -0
  68. package/dist/components/uvalib-breadcrumbs/UvalibBreadcrumbs.js.map +1 -0
  69. package/dist/components/uvalib-breadcrumbs/uvalib-breadcrumbs.d.ts +1 -0
  70. package/dist/components/uvalib-breadcrumbs/uvalib-breadcrumbs.js +4 -0
  71. package/dist/components/uvalib-breadcrumbs/uvalib-breadcrumbs.js.map +1 -0
  72. package/dist/components/uvalib-card/UvalibCard.d.ts +113 -0
  73. package/dist/components/uvalib-card/UvalibCard.js +643 -0
  74. package/dist/components/uvalib-card/UvalibCard.js.map +1 -0
  75. package/dist/components/uvalib-card/uvalib-card.d.ts +1 -0
  76. package/dist/components/uvalib-card/uvalib-card.js +4 -0
  77. package/dist/components/uvalib-card/uvalib-card.js.map +1 -0
  78. package/dist/components/uvalib-card-grid/UvalibCardGrid.d.ts +60 -0
  79. package/dist/components/uvalib-card-grid/UvalibCardGrid.js +305 -0
  80. package/dist/components/uvalib-card-grid/UvalibCardGrid.js.map +1 -0
  81. package/dist/components/uvalib-card-grid/uvalib-card-grid.d.ts +1 -0
  82. package/dist/components/uvalib-card-grid/uvalib-card-grid.js +4 -0
  83. package/dist/components/uvalib-card-grid/uvalib-card-grid.js.map +1 -0
  84. package/dist/components/uvalib-contents/UvalibContents.d.ts +134 -0
  85. package/dist/components/uvalib-contents/UvalibContents.js +613 -0
  86. package/dist/components/uvalib-contents/UvalibContents.js.map +1 -0
  87. package/dist/components/uvalib-contents/uvalib-contents.d.ts +1 -0
  88. package/dist/components/uvalib-contents/uvalib-contents.js +4 -0
  89. package/dist/components/uvalib-contents/uvalib-contents.js.map +1 -0
  90. package/dist/components/uvalib-date-range/UvalibDateRange.d.ts +10 -0
  91. package/dist/components/uvalib-date-range/UvalibDateRange.js +21 -0
  92. package/dist/components/uvalib-date-range/UvalibDateRange.js.map +1 -1
  93. package/dist/components/uvalib-filter/UvalibFilter.d.ts +1 -0
  94. package/dist/components/uvalib-filter/UvalibFilter.js +11 -1
  95. package/dist/components/uvalib-filter/UvalibFilter.js.map +1 -1
  96. package/dist/components/uvalib-lightbox/UvalibLightbox.d.ts +204 -0
  97. package/dist/components/uvalib-lightbox/UvalibLightbox.js +1115 -0
  98. package/dist/components/uvalib-lightbox/UvalibLightbox.js.map +1 -0
  99. package/dist/components/uvalib-lightbox/media.d.ts +51 -0
  100. package/dist/components/uvalib-lightbox/media.js +127 -0
  101. package/dist/components/uvalib-lightbox/media.js.map +1 -0
  102. package/dist/components/uvalib-lightbox/uvalib-lightbox.d.ts +1 -0
  103. package/dist/components/uvalib-lightbox/uvalib-lightbox.js +4 -0
  104. package/dist/components/uvalib-lightbox/uvalib-lightbox.js.map +1 -0
  105. package/dist/components/uvalib-metadata/UvalibMetadata.d.ts +124 -0
  106. package/dist/components/uvalib-metadata/UvalibMetadata.js +443 -0
  107. package/dist/components/uvalib-metadata/UvalibMetadata.js.map +1 -0
  108. package/dist/components/uvalib-metadata/rights.d.ts +8 -0
  109. package/dist/components/uvalib-metadata/rights.js +47 -0
  110. package/dist/components/uvalib-metadata/rights.js.map +1 -0
  111. package/dist/components/uvalib-metadata/uvalib-metadata.d.ts +1 -0
  112. package/dist/components/uvalib-metadata/uvalib-metadata.js +4 -0
  113. package/dist/components/uvalib-metadata/uvalib-metadata.js.map +1 -0
  114. package/dist/components/uvalib-pagefind-search/UvalibPagefindSearch.d.ts +103 -0
  115. package/dist/components/uvalib-pagefind-search/UvalibPagefindSearch.js +410 -0
  116. package/dist/components/uvalib-pagefind-search/UvalibPagefindSearch.js.map +1 -0
  117. package/dist/components/uvalib-pagefind-search/uvalib-pagefind-search.d.ts +1 -0
  118. package/dist/components/uvalib-pagefind-search/uvalib-pagefind-search.js +7 -0
  119. package/dist/components/uvalib-pagefind-search/uvalib-pagefind-search.js.map +1 -0
  120. package/dist/components/uvalib-pager/UvalibPager.d.ts +94 -0
  121. package/dist/components/uvalib-pager/UvalibPager.js +390 -0
  122. package/dist/components/uvalib-pager/UvalibPager.js.map +1 -0
  123. package/dist/components/uvalib-pager/uvalib-pager.d.ts +1 -0
  124. package/dist/components/uvalib-pager/uvalib-pager.js +4 -0
  125. package/dist/components/uvalib-pager/uvalib-pager.js.map +1 -0
  126. package/dist/components/uvalib-photo-grid/UvalibPhotoGrid.d.ts +59 -0
  127. package/dist/components/uvalib-photo-grid/UvalibPhotoGrid.js +350 -0
  128. package/dist/components/uvalib-photo-grid/UvalibPhotoGrid.js.map +1 -0
  129. package/dist/components/uvalib-photo-grid/uvalib-photo-grid.d.ts +1 -0
  130. package/dist/components/uvalib-photo-grid/uvalib-photo-grid.js +4 -0
  131. package/dist/components/uvalib-photo-grid/uvalib-photo-grid.js.map +1 -0
  132. package/dist/custom-elements.json +12291 -4424
  133. package/dist/index.d.ts +16 -0
  134. package/dist/index.js +11 -0
  135. package/dist/index.js.map +1 -1
  136. package/dist/pagefind.css +388 -0
  137. package/dist/styles/base.js +11 -0
  138. package/dist/styles/base.js.map +1 -1
  139. package/dist/styles/color-scheme.js +24 -11
  140. package/dist/styles/color-scheme.js.map +1 -1
  141. package/dist/styles/controls.d.ts +2 -0
  142. package/dist/styles/controls.js +200 -0
  143. package/dist/styles/controls.js.map +1 -0
  144. package/dist/styles/pagefind.d.ts +1 -0
  145. package/dist/styles/pagefind.js +395 -0
  146. package/dist/styles/pagefind.js.map +1 -0
  147. package/dist/tokens.css +23 -20
  148. package/dist-cdn/base.css +199 -0
  149. package/dist-cdn/bento-box.js +117 -97
  150. package/dist-cdn/bento-box.js.map +1 -1
  151. package/dist-cdn/chunks/SiteAnalytics-Cm-FyhYS.js +243 -0
  152. package/dist-cdn/chunks/SiteAnalytics-Cm-FyhYS.js.map +1 -0
  153. package/dist-cdn/chunks/alerts-C5vkeb-f.js +39 -0
  154. package/dist-cdn/chunks/alerts-C5vkeb-f.js.map +1 -0
  155. package/dist-cdn/chunks/analytics-DTTihuBD.js +43 -0
  156. package/dist-cdn/chunks/analytics-DTTihuBD.js.map +1 -0
  157. package/dist-cdn/chunks/analytics-state-Ce8DKe4F.js +39 -0
  158. package/dist-cdn/chunks/analytics-state-Ce8DKe4F.js.map +1 -0
  159. package/dist-cdn/chunks/{base-DCGd2Oii.js → base-CAFQWnZG.js} +12 -1
  160. package/dist-cdn/chunks/{base-DCGd2Oii.js.map → base-CAFQWnZG.js.map} +1 -1
  161. package/dist-cdn/chunks/{library-weekly-hours-ByQ8ugxh.js → library-weekly-hours-COE7Vv6V.js} +47 -38
  162. package/dist-cdn/chunks/library-weekly-hours-COE7Vv6V.js.map +1 -0
  163. package/dist-cdn/chunks/{site-header-BwDkZ2LL.js → site-header-C9V7Wuw2.js} +169 -49
  164. package/dist-cdn/chunks/site-header-C9V7Wuw2.js.map +1 -0
  165. package/dist-cdn/chunks/{site-main-nav-BLAAunnr.js → site-main-nav-AaxZ9rQf.js} +11 -2
  166. package/dist-cdn/chunks/site-main-nav-AaxZ9rQf.js.map +1 -0
  167. package/dist-cdn/chunks/source-children-RuAec527.js +119 -0
  168. package/dist-cdn/chunks/source-children-RuAec527.js.map +1 -0
  169. package/dist-cdn/custom-elements.json +12291 -4424
  170. package/dist-cdn/events-section.js +78 -66
  171. package/dist-cdn/events-section.js.map +1 -1
  172. package/dist-cdn/library-hours-setup.js +1 -1
  173. package/dist-cdn/library-weekly-hours.js +1 -1
  174. package/dist-cdn/manifest.json +13 -2
  175. package/dist-cdn/pagefind.css +388 -0
  176. package/dist-cdn/site-alerts.js +516 -0
  177. package/dist-cdn/site-alerts.js.map +1 -0
  178. package/dist-cdn/site-analytics.js +1 -1
  179. package/dist-cdn/site-footer.js +33 -18
  180. package/dist-cdn/site-footer.js.map +1 -1
  181. package/dist-cdn/site-header.js +1 -1
  182. package/dist-cdn/site-hours-section.js +33 -21
  183. package/dist-cdn/site-hours-section.js.map +1 -1
  184. package/dist-cdn/site-main-nav.js +1 -1
  185. package/dist-cdn/site-page.js +116 -81
  186. package/dist-cdn/site-page.js.map +1 -1
  187. package/dist-cdn/site-style.js +1 -1
  188. package/dist-cdn/skills/uvalib-web-components/SKILL.md +367 -11
  189. package/dist-cdn/skills/uvalib-web-components/reference/accessibility-testing.md +170 -0
  190. package/dist-cdn/skills/uvalib-web-components/reference/components.md +414 -12
  191. package/dist-cdn/skills/uvalib-web-components/reference/migration.md +37 -0
  192. package/dist-cdn/tokens.css +23 -20
  193. package/dist-cdn/uvalib-analytics.js +1 -1
  194. package/dist-cdn/uvalib-breadcrumbs.js +176 -0
  195. package/dist-cdn/uvalib-breadcrumbs.js.map +1 -0
  196. package/dist-cdn/uvalib-card-grid.js +163 -0
  197. package/dist-cdn/uvalib-card-grid.js.map +1 -0
  198. package/dist-cdn/uvalib-card.js +424 -0
  199. package/dist-cdn/uvalib-card.js.map +1 -0
  200. package/dist-cdn/uvalib-contents.js +381 -0
  201. package/dist-cdn/uvalib-contents.js.map +1 -0
  202. package/dist-cdn/uvalib-date-range.js +33 -18
  203. package/dist-cdn/uvalib-date-range.js.map +1 -1
  204. package/dist-cdn/uvalib-filter.js +32 -11
  205. package/dist-cdn/uvalib-filter.js.map +1 -1
  206. package/dist-cdn/uvalib-lightbox.js +662 -0
  207. package/dist-cdn/uvalib-lightbox.js.map +1 -0
  208. package/dist-cdn/uvalib-metadata.js +313 -0
  209. package/dist-cdn/uvalib-metadata.js.map +1 -0
  210. package/dist-cdn/uvalib-pagefind-search.js +207 -0
  211. package/dist-cdn/uvalib-pagefind-search.js.map +1 -0
  212. package/dist-cdn/uvalib-pager.js +278 -0
  213. package/dist-cdn/uvalib-pager.js.map +1 -0
  214. package/dist-cdn/uvalib-photo-grid.js +202 -0
  215. package/dist-cdn/uvalib-photo-grid.js.map +1 -0
  216. package/package.json +43 -1
  217. package/skills/uvalib-web-components/SKILL.md +367 -11
  218. package/skills/uvalib-web-components/reference/accessibility-testing.md +170 -0
  219. package/skills/uvalib-web-components/reference/components.md +414 -12
  220. package/skills/uvalib-web-components/reference/migration.md +37 -0
  221. package/dist/components/site-page/alerts.js.map +0 -1
  222. package/dist-cdn/chunks/SiteAnalytics-T1Wx3lsb.js +0 -174
  223. package/dist-cdn/chunks/SiteAnalytics-T1Wx3lsb.js.map +0 -1
  224. package/dist-cdn/chunks/analytics-C8D8n_wt.js +0 -55
  225. package/dist-cdn/chunks/analytics-C8D8n_wt.js.map +0 -1
  226. package/dist-cdn/chunks/library-weekly-hours-ByQ8ugxh.js.map +0 -1
  227. package/dist-cdn/chunks/site-header-BwDkZ2LL.js.map +0 -1
  228. package/dist-cdn/chunks/site-main-nav-BLAAunnr.js.map +0 -1
  229. /package/dist/components/{site-page → site-alerts}/alerts.d.ts +0 -0
@@ -1,11 +1,11 @@
1
1
  import { a as e, f as t, i as n, l as r, m as i, n as a, o, p as s, r as c, t as l } from "./chunks/UvalibElement-BnI-eRRR.js";
2
2
  import { n as u, t as d } from "./chunks/static-html-1mTAG6nS.js";
3
- import { a as f, i as p } from "./chunks/analytics-C8D8n_wt.js";
4
- import { t as m } from "./chunks/heading-level-DIuNS44-.js";
5
- import { t as h } from "./chunks/accessible-GqhVn5_H.js";
6
- import { n as ee, t as g } from "./chunks/fetch-json-Cyqv-gLU.js";
3
+ import { a as f, i as p, o as m } from "./chunks/analytics-DTTihuBD.js";
4
+ import { t as h } from "./chunks/heading-level-DIuNS44-.js";
5
+ import { t as g } from "./chunks/accessible-GqhVn5_H.js";
6
+ import { n as ee, t as _ } from "./chunks/fetch-json-Cyqv-gLU.js";
7
7
  // src/components/bento-box/BentoSection.ts
8
- var te = 5, _ = 3, v = 50, y = (e) => `
8
+ var te = 5, v = 3, ne = 50, y = (e) => `
9
9
  ${e} { display: block; }
10
10
  ${e} .bs-results--placeholder { visibility: hidden; }
11
11
  ${e} .bs-results--stack { display: grid; }
@@ -21,8 +21,6 @@ var te = 5, _ = 3, v = 50, y = (e) => `
21
21
  -webkit-line-clamp: 2;
22
22
  line-clamp: 2;
23
23
  overflow: hidden;
24
- min-height: 3em;
25
- min-height: 2lh;
26
24
  }
27
25
  ${e} .bento-section-desc {
28
26
  display: -webkit-box;
@@ -30,9 +28,20 @@ var te = 5, _ = 3, v = 50, y = (e) => `
30
28
  -webkit-line-clamp: 3;
31
29
  line-clamp: 3;
32
30
  overflow: hidden;
31
+ }
32
+ /* Placeholders take every clamped block's full height. Results don't (a one-line title sits
33
+ right above its author); the reserve list behind them holds the placeholders' height. */
34
+ ${e} .bs-results--placeholder .bs-results--title,
35
+ ${e} .bs-results--placeholder .bento-section-title,
36
+ ${e} .bs-results--placeholder .bs-results--highlights {
37
+ min-height: 3em;
38
+ min-height: 2lh;
39
+ }
40
+ ${e} .bs-results--placeholder .bento-section-desc {
33
41
  min-height: 4.5em;
34
42
  min-height: 3lh;
35
43
  }
44
+ ${e} .bs-results--reserve { visibility: hidden; pointer-events: none; }
36
45
  ${e} .bs-results--author,
37
46
  ${e} .bs-results--date,
38
47
  ${e} .bs-results--format,
@@ -58,7 +67,7 @@ var te = 5, _ = 3, v = 50, y = (e) => `
58
67
  `, b = s(y(":host")), x = (e) => e.map((e) => e.mark ? u`<mark>${e.text}</mark>` : e.text), S = class extends l {
59
68
  static {
60
69
  this.styles = [
61
- h,
70
+ g,
62
71
  b,
63
72
  t`
64
73
  :host {
@@ -172,13 +181,21 @@ var te = 5, _ = 3, v = 50, y = (e) => `
172
181
  return e;
173
182
  }
174
183
  constructor() {
175
- super(), this.query = "", this.limit = 5, this.noResultDescribe = "No results found.", this.entryClass = "bs-results--list--entry", this._state = "loading", this.retrying = !1, this.inferredLevel = _, this.loadId = 0, this.onClick = (e) => {
184
+ super(), this.query = "", this.limit = 5, this.noResultDescribe = "No results found.", this.entryClass = "bs-results--list--entry", this._state = "loading", this.retrying = !1, this.inferredLevel = v, this.loadId = 0, this.onClick = (e) => {
176
185
  let t = e.composedPath(), n = this.renderRoot.querySelector(".bs-results--list");
177
186
  for (let e of t) {
178
187
  if (e === this) return;
179
188
  if (e instanceof Element) {
189
+ if (e.matches(".bs-results--message button:not([aria-disabled])")) {
190
+ f(this, [
191
+ "bento-box",
192
+ "retry",
193
+ this.analyticsName
194
+ ]);
195
+ return;
196
+ }
180
197
  if (e.matches(".bs-results--see-all button")) {
181
- p(this, [
198
+ f(this, [
182
199
  "bento-box",
183
200
  "see-all-click",
184
201
  this.analyticsName
@@ -189,7 +206,7 @@ var te = 5, _ = 3, v = 50, y = (e) => `
189
206
  let e = t.find((e) => e instanceof HTMLLIElement && e.parentNode === n);
190
207
  if (!e || e.classList.contains("bs-results--placeholder")) return;
191
208
  let r = [...n.children].indexOf(e) + 1;
192
- p(this, [
209
+ f(this, [
193
210
  "bento-box",
194
211
  "result-click",
195
212
  this.analyticsName,
@@ -203,8 +220,8 @@ var te = 5, _ = 3, v = 50, y = (e) => `
203
220
  }
204
221
  connectedCallback() {
205
222
  super.connectedCallback();
206
- let e = m(this);
207
- if (this.inferredLevel = e === null ? _ : Math.min(e + 1, 6), this.lightDom && this.noStyle) {
223
+ let e = h(this);
224
+ if (this.inferredLevel = e === null ? v : Math.min(e + 1, 6), this.lightDom && this.noStyle) {
208
225
  let e = this.getRootNode(), t = e instanceof ShadowRoot || e instanceof Document ? e : void 0;
209
226
  c(`${this.localName}::structure`, s(y(this.localName)), {
210
227
  root: t,
@@ -218,7 +235,7 @@ var te = 5, _ = 3, v = 50, y = (e) => `
218
235
  }
219
236
  get count() {
220
237
  let e = Math.trunc(this.limit);
221
- return Number.isFinite(e) && e > 0 ? Math.min(e, v) : te;
238
+ return Number.isFinite(e) && e > 0 ? Math.min(e, ne) : te;
222
239
  }
223
240
  get level() {
224
241
  let e = Math.trunc(this.headingLevel ?? NaN);
@@ -252,10 +269,10 @@ var te = 5, _ = 3, v = 50, y = (e) => `
252
269
  this.results = {
253
270
  ...r,
254
271
  items: r.items.slice(0, this.count)
255
- }, this._state = this.results.items.length ? "ready" : "empty", t !== this.reportedQuery && (this.reportedQuery = t, f(this, t, this.analyticsName, r.total ?? (this._state === "empty" ? 0 : void 0)));
272
+ }, this._state = this.results.items.length ? "ready" : "empty", t !== this.reportedQuery && (this.reportedQuery = t, m(this, t, this.analyticsName, r.total ?? (this._state === "empty" ? 0 : void 0)));
256
273
  } catch {
257
274
  if (e !== this.loadId) return;
258
- this.results = void 0, this._state = "error", this.reportedQuery = void 0;
275
+ this.results = void 0, this._state = "error", this.reportedQuery = void 0, p(this, "bento-box", `section-load: ${this.analyticsName}`);
259
276
  } finally {
260
277
  this.controller === n && (this.controller = void 0);
261
278
  }
@@ -325,6 +342,9 @@ var te = 5, _ = 3, v = 50, y = (e) => `
325
342
  ${n.map((e) => this.renderItem(e))}
326
343
  ${Array.from({ length: r }, () => this.renderPlaceholder())}
327
344
  </ol>
345
+ ${n.length ? u`<ol class="bs-results--list bs-results--reserve" aria-hidden="true">
346
+ ${n.map(() => this.renderPlaceholder())}
347
+ </ol>` : o}
328
348
  ${i === o ? o : u`<p class="bs-results--message" tabindex="-1">${i}</p>`}
329
349
  </div>
330
350
  </div>`;
@@ -348,7 +368,7 @@ var C = {
348
368
  retries: 2,
349
369
  retryDelay: 1e3,
350
370
  timeout: 1e4
351
- }, ne = [
371
+ }, re = [
352
372
  "authorize",
353
373
  "catalog",
354
374
  "articles",
@@ -356,7 +376,7 @@ var C = {
356
376
  "website"
357
377
  ];
358
378
  function T(e) {
359
- for (let t of ne) {
379
+ for (let t of re) {
360
380
  let n = e?.[t];
361
381
  typeof n == "string" && n && (C[t] = n);
362
382
  }
@@ -395,7 +415,7 @@ function A(e, t, n) {
395
415
  })) : i.promise;
396
416
  }
397
417
  var j, M;
398
- function N() {
418
+ function ie() {
399
419
  if (!j) {
400
420
  M = void 0;
401
421
  let e = ee(D().authorize, w, {
@@ -412,24 +432,24 @@ function N() {
412
432
  }
413
433
  return j;
414
434
  }
415
- function re(e) {
435
+ function ae(e) {
416
436
  M === e && (j = M = void 0);
417
437
  }
418
- var ie = {
438
+ var oe = {
419
439
  catalog: "https://search.lib.virginia.edu/sources/uva_library/items/",
420
440
  articles: "https://search.lib.virginia.edu/sources/articles/items/"
421
- }, ae = /^please sign in to see more/i, oe = "Article details available after signing in to Virgo", P = 5, F = (e) => typeof e == "string" ? e.replace(/\s+/g, " ").trim() : "";
422
- function se(e, t) {
441
+ }, se = /^please sign in to see more/i, ce = "Article details available after signing in to Virgo", N = 5, P = (e) => typeof e == "string" ? e.replace(/\s+/g, " ").trim() : "";
442
+ function le(e, t) {
423
443
  let n = e, r = Array.isArray(n?.group_list) ? n.group_list : [], i = [];
424
444
  for (let e of r) {
425
- let n = Array.isArray(e?.record_list) ? e.record_list[0] : void 0, r = Array.isArray(n?.fields) ? n.fields : [], a = (e) => r.filter(e).map((e) => F(e.value)), o = (e) => a(e).find(Boolean) ?? "", s = o((e) => e.type === "title"), c = o((e) => e.type === "identifier");
445
+ let n = Array.isArray(e?.record_list) ? e.record_list[0] : void 0, r = Array.isArray(n?.fields) ? n.fields : [], a = (e) => r.filter(e).map((e) => P(e.value)), o = (e) => a(e).find(Boolean) ?? "", s = o((e) => e.type === "title"), c = o((e) => e.type === "identifier");
426
446
  if (!s || !c) continue;
427
- let l = t === "articles" && ae.test(s), u = a((e) => e.type === "author").filter(Boolean);
428
- u.length > P && (u = [...u.slice(0, P), `and ${u.length - P} more`]);
447
+ let l = t === "articles" && se.test(s), u = a((e) => e.type === "author").filter(Boolean);
448
+ u.length > N && (u = [...u.slice(0, N), `and ${u.length - N} more`]);
429
449
  let d = Math.trunc(Number(e.count));
430
450
  i.push({
431
- title: l ? oe : s,
432
- url: ie[t] + encodeURIComponent(c),
451
+ title: l ? ce : s,
452
+ url: oe[t] + encodeURIComponent(c),
433
453
  authors: u,
434
454
  published: o((e) => e.name === "published_date") || void 0,
435
455
  formats: a((e) => e.name === (t === "articles" ? "pub_type" : "format")).filter(Boolean),
@@ -443,12 +463,12 @@ function se(e, t) {
443
463
  total: Number.isFinite(a) && a >= 0 ? a : void 0
444
464
  };
445
465
  }
446
- function I(e) {
466
+ function F(e) {
447
467
  return `keyword: {${e.replace(/[{}]/g, " ")}}`;
448
468
  }
449
- function ce(e, t) {
469
+ function ue(e, t) {
450
470
  return JSON.stringify({
451
- query: I(e),
471
+ query: F(e),
452
472
  pagination: {
453
473
  start: 0,
454
474
  rows: t
@@ -463,11 +483,11 @@ function ce(e, t) {
463
483
  }]
464
484
  });
465
485
  }
466
- function le(e, t, n, r) {
467
- let i = D()[e], a = ce(t, n);
486
+ function de(e, t, n, r) {
487
+ let i = D()[e], a = ue(t, n);
468
488
  return A(`POST ${i}\n${a}`, async (t) => {
469
489
  for (let n = 0;; n++) {
470
- let r = await N();
490
+ let r = await ie();
471
491
  if (t.aborted) throw t.reason;
472
492
  let o = {
473
493
  method: "POST",
@@ -481,10 +501,10 @@ function le(e, t, n, r) {
481
501
  retryStatus: O
482
502
  };
483
503
  try {
484
- return se(await g(i, w, o), e);
504
+ return le(await _(i, w, o), e);
485
505
  } catch (e) {
486
506
  if (n === 0 && e.status === 401) {
487
- re(r);
507
+ ae(r);
488
508
  continue;
489
509
  }
490
510
  throw e;
@@ -492,16 +512,16 @@ function le(e, t, n, r) {
492
512
  }
493
513
  }, r);
494
514
  }
495
- function ue(e, t) {
515
+ function fe(e, t) {
496
516
  return `https://search.lib.virginia.edu/?${new URLSearchParams(e === "catalog" ? {
497
517
  q: t,
498
518
  pool: "uva_library"
499
519
  } : {
500
- q: I(t),
520
+ q: F(t),
501
521
  pool: "articles"
502
522
  })}`;
503
523
  }
504
- var de = [
524
+ var I = [
505
525
  "Jan",
506
526
  "Feb",
507
527
  "Mar",
@@ -515,10 +535,10 @@ var de = [
515
535
  "Nov",
516
536
  "Dec"
517
537
  ];
518
- function fe(e) {
538
+ function L(e) {
519
539
  let t = /^(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?$/.exec(e);
520
540
  if (!t) return e;
521
- let [, n, r, i] = t, a = r ? de[Number(r) - 1] : void 0;
541
+ let [, n, r, i] = t, a = r ? I[Number(r) - 1] : void 0;
522
542
  if (!r) return n;
523
543
  if (!a) return e;
524
544
  if (!i) return `${a} ${n}`;
@@ -530,23 +550,23 @@ function fe(e) {
530
550
  day: "numeric"
531
551
  }).format(s) : e;
532
552
  }
533
- var L = /* @__PURE__ */ new Set(["http:", "https:"]);
534
- function R(e, t) {
553
+ var R = /* @__PURE__ */ new Set(["http:", "https:"]);
554
+ function z(e, t) {
535
555
  if (typeof e == "string" && e.trim()) try {
536
556
  let n = new URL(e.trim(), t);
537
- return L.has(n.protocol) ? n.href : void 0;
557
+ return R.has(n.protocol) ? n.href : void 0;
538
558
  } catch {
539
559
  return;
540
560
  }
541
561
  }
542
- var z = "https://guides.lib.virginia.edu/", B = (e) => {
543
- let t = R(e?.getAttribute("href"), z), n = F(e?.textContent);
562
+ var B = "https://guides.lib.virginia.edu/", V = (e) => {
563
+ let t = z(e?.getAttribute("href"), B), n = P(e?.textContent);
544
564
  return t && n ? {
545
565
  text: n,
546
566
  url: t
547
567
  } : void 0;
548
568
  };
549
- function V(e, t) {
569
+ function H(e, t) {
550
570
  let n = [], r = (e, t) => {
551
571
  if (!e) return;
552
572
  let r = n[n.length - 1];
@@ -567,39 +587,39 @@ function V(e, t) {
567
587
  for (let e of n) e.text = e.text.replace(/\s+/g, " ");
568
588
  return n.length && (n[0].text = n[0].text.trimStart(), n[n.length - 1].text = n[n.length - 1].text.trimEnd()), n.filter((e) => e.text);
569
589
  }
570
- var H = (e) => new DOMParser().parseFromString(e, "text/html");
590
+ var U = (e) => new DOMParser().parseFromString(e, "text/html");
571
591
  function pe(e) {
572
592
  let t = e?.data, n = typeof t?.results == "string" ? t.results : "", r = [];
573
- for (let e of H(n).querySelectorAll(".s-srch-result")) {
574
- let t = e.querySelector(".s-srch-result-title"), n = B(t?.querySelector(":scope > a"));
593
+ for (let e of U(n).querySelectorAll(".s-srch-result")) {
594
+ let t = e.querySelector(".s-srch-result-title"), n = V(t?.querySelector(":scope > a"));
575
595
  if (!n) continue;
576
596
  let i = e.querySelectorAll(".s-srch-result-meta")[1], a = i?.querySelector(".s-srch-result-highlights");
577
597
  r.push({
578
598
  title: n.text,
579
599
  url: n.url,
580
- guide: B(t?.querySelector(".s-srch-result-guide a")),
581
- author: B(i?.querySelector(".s-srch-result-author a")),
582
- subjects: [...i?.querySelectorAll(".s-srch-result-subjects a") ?? []].map(B).filter((e) => !!e),
583
- highlights: a ? V(a, "mark") : []
600
+ guide: V(t?.querySelector(".s-srch-result-guide a")),
601
+ author: V(i?.querySelector(".s-srch-result-author a")),
602
+ subjects: [...i?.querySelectorAll(".s-srch-result-subjects a") ?? []].map(V).filter((e) => !!e),
603
+ highlights: a ? H(a, "mark") : []
584
604
  });
585
605
  }
586
606
  return {
587
607
  items: r,
588
- seeAll: R(t?.fulllink)
608
+ seeAll: z(t?.fulllink)
589
609
  };
590
610
  }
591
611
  function me(e) {
592
- return `${z}srch.php?${new URLSearchParams({
612
+ return `${B}srch.php?${new URLSearchParams({
593
613
  default_lg: "1",
594
614
  q: e
595
615
  })}`;
596
616
  }
597
- function U(e, t) {
617
+ function W(e, t) {
598
618
  return `${e}${e.includes("?") ? "&" : "?"}${t}`;
599
619
  }
600
620
  function he(e, t, n) {
601
- let r = U(D().guides, new URLSearchParams({ q: e }));
602
- return A(`GET ${r}`, async (e) => pe(await g(r, w, {
621
+ let r = W(D().guides, new URLSearchParams({ q: e }));
622
+ return A(`GET ${r}`, async (e) => pe(await _(r, w, {
603
623
  signal: e,
604
624
  retryStatus: O
605
625
  })), n).then((e) => ({
@@ -612,7 +632,7 @@ var ge = [
612
632
  "person",
613
633
  "library",
614
634
  "article"
615
- ], W = "https://library.virginia.edu";
635
+ ], G = "https://library.virginia.edu";
616
636
  function _e(e, t) {
617
637
  let n = new URLSearchParams();
618
638
  n.set("filter[fulltext]", e), n.set("page[limit]", String(t)), n.set("filter[types-group][group][conjunction]", "OR");
@@ -622,11 +642,11 @@ function _e(e, t) {
622
642
  function ve(e) {
623
643
  let t = e, n = Array.isArray(t?.data) ? t.data : [], r = [];
624
644
  for (let e of n) {
625
- let n = e?.attributes ?? {}, i = F(n.title), a = F(n.path?.alias), o = n.drupal_internal__nid, s = a.startsWith("/") ? a : o == null ? "" : `/node/${encodeURI(String(o))}`, c = s ? R(s, W) : void 0;
645
+ let n = e?.attributes ?? {}, i = P(n.title), a = P(n.path?.alias), o = n.drupal_internal__nid, s = a.startsWith("/") ? a : o == null ? "" : `/node/${encodeURI(String(o))}`, c = s ? z(s, G) : void 0;
626
646
  if (!i || !c || !c.startsWith("https://library.virginia.edu/")) continue;
627
- let l = t?.meta?.extra_data?.[String(o)]?.excerpt, u = typeof l == "string" && l ? V(H(l).body, "strong") : [];
647
+ let l = t?.meta?.extra_data?.[String(o)]?.excerpt, u = typeof l == "string" && l ? H(U(l).body, "strong") : [];
628
648
  if (!u.length && e.type === "node--person") {
629
- let e = n.field_uva_ldap_title, t = (Array.isArray(e) ? e : [e]).map(F).filter(Boolean).join("; ");
649
+ let e = n.field_uva_ldap_title, t = (Array.isArray(e) ? e : [e]).map(P).filter(Boolean).join("; ");
630
650
  t && (u = [{ text: t }]);
631
651
  }
632
652
  r.push({
@@ -642,22 +662,22 @@ function ve(e) {
642
662
  };
643
663
  }
644
664
  function ye(e, t, n) {
645
- let r = U(D().website, _e(e, t));
646
- return A(`GET ${r}`, async (e) => ve(await g(r, w, {
665
+ let r = W(D().website, _e(e, t));
666
+ return A(`GET ${r}`, async (e) => ve(await _(r, w, {
647
667
  signal: e,
648
668
  retryStatus: O
649
669
  })), n);
650
670
  }
651
671
  function be(e) {
652
- return `${W}/search/content?${new URLSearchParams({ search_api_fulltext: e })}`;
672
+ return `${G}/search/content?${new URLSearchParams({ search_api_fulltext: e })}`;
653
673
  }
654
674
  // src/components/bento-box/VirgoSection.ts
655
- var G = class extends S {
675
+ var K = class extends S {
656
676
  fetchResults(e, t, n) {
657
- return le(this.pool, e, t, n);
677
+ return de(this.pool, e, t, n);
658
678
  }
659
679
  seeAllUrl(e) {
660
- return ue(this.pool, e);
680
+ return fe(this.pool, e);
661
681
  }
662
682
  line(e, t) {
663
683
  return t ? r`<li class="${e} li-1">${t}</li>` : r`<li class="${e} li-1" aria-hidden="true"> </li>`;
@@ -671,7 +691,7 @@ var G = class extends S {
671
691
  ${this.line("bs-results--author", e.authors.join("; "))}
672
692
  <li>
673
693
  <ul class="ul-1">
674
- ${this.line("bs-results--date", e.published ? r`<time datetime=${e.published}>${fe(e.published)}</time>` : "")}
694
+ ${this.line("bs-results--date", e.published ? r`<time datetime=${e.published}>${L(e.published)}</time>` : "")}
675
695
  ${this.line("bs-results--format", n)}
676
696
  </ul>
677
697
  </li>
@@ -689,7 +709,7 @@ var G = class extends S {
689
709
  </li>
690
710
  </ul>`;
691
711
  }
692
- }, xe = class extends G {
712
+ }, xe = class extends K {
693
713
  constructor(...e) {
694
714
  super(...e), this.pool = "articles", this.analyticsName = "Virgo articles", this.heading = "Article", this.sourceName = "Virgo article", this.describe = "An aggregation of tens of millions of articles made available through Library subscriptions.", this.home = {
695
715
  text: "Search articles",
@@ -699,13 +719,13 @@ var G = class extends S {
699
719
  get seeAllIn() {
700
720
  return "Virgo articles";
701
721
  }
702
- }, K = [
722
+ }, q = [
703
723
  "catalog",
704
724
  "articles",
705
725
  "libguides",
706
726
  "website"
707
- ], q = 2;
708
- function J(e) {
727
+ ], J = 2;
728
+ function Y(e) {
709
729
  let t = e;
710
730
  if (typeof e == "string") {
711
731
  let n = e.trim();
@@ -715,14 +735,14 @@ function J(e) {
715
735
  t = [];
716
736
  }
717
737
  }
718
- let n = new Set(K), r = [...new Set((Array.isArray(t) ? t : []).map((e) => typeof e == "string" ? e.trim().toLowerCase() : "").filter((e) => n.has(e)))];
719
- return r.length ? r : [...K];
738
+ let n = new Set(q), r = [...new Set((Array.isArray(t) ? t : []).map((e) => typeof e == "string" ? e.trim().toLowerCase() : "").filter((e) => n.has(e)))];
739
+ return r.length ? r : [...q];
720
740
  }
721
- function Y(e = location.search) {
741
+ function X(e = location.search) {
722
742
  let t = new URLSearchParams(e);
723
743
  return t.get("q") ?? t.get("query");
724
744
  }
725
- var X = (e) => `
745
+ var Z = (e) => `
726
746
  ${e} { display: block; }
727
747
  ${e} .bs-results-container > * { min-width: 0; }
728
748
  ${e}[hidden], ${e} [hidden] { display: none !important; }
@@ -737,15 +757,15 @@ var X = (e) => `
737
757
  white-space: nowrap;
738
758
  border: 0;
739
759
  }
740
- `, Z = s(X(":host")), Se = "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2a8 8 0 0 1 6.32 12.9l5.39 5.4-1.41 1.41-5.4-5.39A8 8 0 1 1 10 2zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12z'/%3E%3C/svg%3E\")", Ce = 0, Q = class extends l {
760
+ `, Q = s(Z(":host")), Se = "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2a8 8 0 0 1 6.32 12.9l5.39 5.4-1.41 1.41-5.4-5.39A8 8 0 1 1 10 2zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12z'/%3E%3C/svg%3E\")", Ce = 0, $ = class extends l {
741
761
  constructor(...e) {
742
762
  super(...e), this.query = "", this.limit = 5, this.searchDescribe = "This page searches Virgo, Virgo articles, subject guides, and the Library website.", this.noResultDescribe = "No results found.", this.placeholder = "Search anything...", this.boxes = [
743
763
  "catalog",
744
764
  "articles",
745
765
  "libguides",
746
766
  "website"
747
- ], this.inferredLevel = q, this.status = "", this.uid = `bento-box-${++Ce}`, this.announcePending = !1, this.onPopState = () => {
748
- this.query = Y() ?? this.fallbackQuery ?? "";
767
+ ], this.inferredLevel = J, this.status = "", this.uid = `bento-box-${++Ce}`, this.announcePending = !1, this.onPopState = () => {
768
+ this.query = X() ?? this.fallbackQuery ?? "";
749
769
  }, this.onSectionState = () => {
750
770
  let e = this.sections();
751
771
  e.some((e) => e.state === "loading") ? (this.announcePending = !0, this.status = "") : this.announcePending && (this.announcePending = !1, this.status = e.some((e) => e.state === "error") ? "Results updated. Some results are unavailable." : "Results updated.");
@@ -753,8 +773,8 @@ var X = (e) => `
753
773
  }
754
774
  static {
755
775
  this.styles = [
756
- h,
757
- Z,
776
+ g,
777
+ Q,
758
778
  t`
759
779
  :host {
760
780
  container-type: inline-size;
@@ -839,23 +859,23 @@ var X = (e) => `
839
859
  createRenderRoot() {
840
860
  let e = super.createRenderRoot();
841
861
  if (e instanceof ShadowRoot && this.noStyle) {
842
- let t = Z.styleSheet;
862
+ let t = Q.styleSheet;
843
863
  t && (e.adoptedStyleSheets = [t]);
844
864
  }
845
865
  return e;
846
866
  }
847
867
  connectedCallback() {
848
868
  super.connectedCallback();
849
- let e = m(this);
850
- if (this.inferredLevel = e === null ? q : Math.min(e + 1, 6), this.lightDom && this.noStyle) {
869
+ let e = h(this);
870
+ if (this.inferredLevel = e === null ? J : Math.min(e + 1, 6), this.lightDom && this.noStyle) {
851
871
  let e = this.getRootNode(), t = e instanceof ShadowRoot || e instanceof Document ? e : void 0;
852
- c(`${this.localName}::structure`, s(X(this.localName)), {
872
+ c(`${this.localName}::structure`, s(Z(this.localName)), {
853
873
  root: t,
854
874
  scope: !1
855
875
  });
856
876
  }
857
877
  this.fallbackQuery ??= this.query;
858
- let t = Y();
878
+ let t = X();
859
879
  t !== null && (this.query = t), window.addEventListener("popstate", this.onPopState), this.addEventListener("bento-state", this.onSectionState);
860
880
  }
861
881
  disconnectedCallback() {
@@ -894,7 +914,7 @@ var X = (e) => `
894
914
  ></${n}>`;
895
915
  }
896
916
  render() {
897
- let e = this.level, t = d(`h${e}`), n = this.q, r = J(this.boxes), i = `${this.uid}-q`, a = `${this.uid}-describe`;
917
+ let e = this.level, t = d(`h${e}`), n = this.q, r = Y(this.boxes), i = `${this.uid}-q`, a = `${this.uid}-describe`;
898
918
  return u`<bento-search class="bento-search-bar">
899
919
  <search>
900
920
  <form action="https://search.lib.virginia.edu/search" method="get" @submit=${this.search}>
@@ -929,25 +949,25 @@ var X = (e) => `
929
949
  <div class="visually-hidden" role="status">${this.status}</div>`;
930
950
  }
931
951
  };
932
- a([e({ type: String })], Q.prototype, "query", void 0), a([e({ type: Number })], Q.prototype, "limit", void 0), a([e({
952
+ a([e({ type: String })], $.prototype, "query", void 0), a([e({ type: Number })], $.prototype, "limit", void 0), a([e({
933
953
  type: String,
934
954
  attribute: "search-describe"
935
- })], Q.prototype, "searchDescribe", void 0), a([e({
955
+ })], $.prototype, "searchDescribe", void 0), a([e({
936
956
  type: String,
937
957
  attribute: "no-result-describe"
938
- })], Q.prototype, "noResultDescribe", void 0), a([e({ type: String })], Q.prototype, "placeholder", void 0), a([e({ converter: { fromAttribute: J } })], Q.prototype, "boxes", void 0), a([e({
958
+ })], $.prototype, "noResultDescribe", void 0), a([e({ type: String })], $.prototype, "placeholder", void 0), a([e({ converter: { fromAttribute: Y } })], $.prototype, "boxes", void 0), a([e({
939
959
  type: Number,
940
960
  attribute: "heading-level"
941
- })], Q.prototype, "headingLevel", void 0), a([n()], Q.prototype, "inferredLevel", void 0), a([n()], Q.prototype, "status", void 0);
961
+ })], $.prototype, "headingLevel", void 0), a([n()], $.prototype, "inferredLevel", void 0), a([n()], $.prototype, "status", void 0);
942
962
  // src/components/bento-box/CatalogSection.ts
943
- var $ = class extends G {
963
+ var we = class extends K {
944
964
  constructor(...e) {
945
965
  super(...e), this.pool = "catalog", this.analyticsName = "Virgo catalog", this.heading = "Virgo Catalog", this.sourceName = "Virgo catalog", this.describe = "Books, journals, manuscripts & archival material, maps, music and sound recordings, theses and dissertations, and videos.", this.home = {
946
966
  text: "Search Virgo",
947
967
  url: "https://search.lib.virginia.edu/"
948
968
  };
949
969
  }
950
- }, we = class extends S {
970
+ }, Te = class extends S {
951
971
  constructor(...e) {
952
972
  super(...e), this.analyticsName = "Subject guides", this.heading = "Subject Guides", this.sourceName = "subject guide", this.describe = "Subject guides contain topic-specific information to help with research and coursework.", this.home = {
953
973
  text: "Search Guides",
@@ -996,7 +1016,7 @@ var $ = class extends G {
996
1016
  </li>
997
1017
  </ul>`;
998
1018
  }
999
- }, Te = class extends S {
1019
+ }, Ee = class extends S {
1000
1020
  constructor(...e) {
1001
1021
  super(...e), this.analyticsName = "Library website", this.heading = "Website", this.sourceName = "Library website", this.describe = "Results from the main Library website.", this.home = {
1002
1022
  text: "Search Library website",
@@ -1018,6 +1038,6 @@ var $ = class extends G {
1018
1038
  <div class="bento-section-desc">Library website page</div>`;
1019
1039
  }
1020
1040
  };
1021
- i("catalog-section", $), i("articles-section", xe), i("libguides-section", we), i("website-section", Te), i("bento-box", Q);
1041
+ i("catalog-section", we), i("articles-section", xe), i("libguides-section", Te), i("website-section", Ee), i("bento-box", $);
1022
1042
 
1023
1043
  //# sourceMappingURL=bento-box.js.map