@coveo/atomic 3.39.0 → 3.39.1

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 (319) hide show
  1. package/dist/atomic/_atomic.esm.js +1 -1
  2. package/dist/atomic/atomic.esm.js.map +1 -1
  3. package/dist/atomic/components/_index.d.ts +0 -4
  4. package/dist/atomic/components/_index.js +0 -2
  5. package/dist/atomic/components/atomic-insight-result-children-template.js +1 -1
  6. package/dist/atomic/components/atomic-insight-result-children.js +4 -4
  7. package/dist/atomic/components/atomic-insight-result-children.js.map +1 -1
  8. package/dist/atomic/components/atomic-insight-result-template.js +1 -1
  9. package/dist/atomic/components/atomic-quickview-modal2.js +150 -108
  10. package/dist/atomic/components/atomic-quickview-modal2.js.map +1 -1
  11. package/dist/atomic/components/atomic-recs-result-template.js +1 -1
  12. package/dist/atomic/components/atomic-result-children.js +4 -4
  13. package/dist/atomic/components/atomic-result-children.js.map +1 -1
  14. package/dist/atomic/components/components/commerce/atomic-commerce-interface/atomic-commerce-interface.js +2 -0
  15. package/dist/atomic/components/components/commerce/atomic-commerce-pager/atomic-commerce-pager.js +14 -29
  16. package/dist/atomic/components/components/commerce/atomic-commerce-recommendation-interface/atomic-commerce-recommendation-interface.js +3 -0
  17. package/dist/atomic/components/components/common/interface/interface-controller.js +1 -0
  18. package/dist/atomic/components/components/insight/atomic-insight-interface/atomic-insight-interface.js +2 -0
  19. package/dist/atomic/components/components/recommendations/atomic-recs-interface/atomic-recs-interface.js +2 -0
  20. package/dist/atomic/components/components/search/atomic-field-condition/atomic-field-condition.js +74 -0
  21. package/dist/atomic/components/components/search/atomic-pager/atomic-pager.js +31 -40
  22. package/dist/atomic/components/components/search/atomic-result-badge/atomic-result-badge.js +127 -0
  23. package/dist/atomic/components/components/search/atomic-search-interface/atomic-search-interface.js +2 -0
  24. package/dist/atomic/components/components/search/index.js +2 -0
  25. package/dist/atomic/components/components/search/lazy-index.js +2 -0
  26. package/dist/atomic/components/global/environment.js +1 -1
  27. package/dist/atomic/components/index.js.map +1 -1
  28. package/dist/atomic/components/stencil-result-template-common.js +1 -1
  29. package/dist/atomic/components/{show-hide-button.js → stencil-show-hide-button.js} +1 -2
  30. package/dist/atomic/components/stencil-show-hide-button.js.map +1 -0
  31. package/dist/atomic/components/utils/custom-element-tags.js +115 -0
  32. package/dist/atomic/{p-7c6cded8.entry.js → p-05a6ad42.entry.js} +2 -2
  33. package/dist/atomic/{p-20a02cb8.js → p-0779523d.js} +2 -2
  34. package/dist/atomic/{p-12e5e56c.js → p-0ad1eced.js} +2 -2
  35. package/dist/atomic/{p-2b2db1db.entry.js → p-0d1371a5.entry.js} +2 -2
  36. package/dist/atomic/p-0d1371a5.entry.js.map +1 -0
  37. package/dist/atomic/{p-c7072c4d.entry.js → p-1446b9f6.entry.js} +2 -2
  38. package/dist/atomic/{p-7da807d6.entry.js → p-1f363dd9.entry.js} +2 -2
  39. package/dist/atomic/{p-42a151a2.entry.js → p-1f4db3cb.entry.js} +2 -2
  40. package/dist/atomic/{p-ad38e363.entry.js → p-24ef7805.entry.js} +2 -2
  41. package/dist/atomic/{p-e2088f9e.entry.js → p-29f81148.entry.js} +2 -2
  42. package/dist/atomic/{p-98ee46c3.entry.js → p-2d629695.entry.js} +2 -2
  43. package/dist/atomic/{p-28683ceb.js → p-2e9f2732.js} +2 -2
  44. package/dist/atomic/{p-78ff2358.entry.js → p-382534b6.entry.js} +2 -2
  45. package/dist/atomic/{p-4683e572.js → p-3aa5fa4d.js} +2 -2
  46. package/dist/atomic/{p-fdb1a985.js → p-3ab53c37.js} +2 -2
  47. package/dist/atomic/p-3ab53c37.js.map +1 -0
  48. package/dist/atomic/{p-b97a773c.entry.js → p-3f8eaa2b.entry.js} +2 -2
  49. package/dist/atomic/{p-f00a245c.js → p-3fc8d8cc.js} +2 -2
  50. package/dist/atomic/{p-694af29d.entry.js → p-4726d370.entry.js} +2 -2
  51. package/dist/atomic/{p-944fe2ca.entry.js → p-4b63cb31.entry.js} +2 -2
  52. package/dist/atomic/{p-c953f644.entry.js → p-4ba0e104.entry.js} +2 -2
  53. package/dist/atomic/{p-52064d8c.entry.js → p-4e071ea2.entry.js} +2 -2
  54. package/dist/atomic/{p-1c70d4a8.entry.js → p-50e9988d.entry.js} +2 -2
  55. package/dist/atomic/{p-b7f9420d.entry.js → p-5b1de8dc.entry.js} +2 -2
  56. package/dist/atomic/{p-efff4455.entry.js → p-5cd460f0.entry.js} +2 -2
  57. package/dist/atomic/p-5f6cc788.entry.js +2 -0
  58. package/dist/atomic/p-5f6cc788.entry.js.map +1 -0
  59. package/dist/atomic/{p-31b2e659.entry.js → p-6880dfb8.entry.js} +2 -2
  60. package/dist/atomic/{p-97bf5db6.entry.js → p-6ee4fa3d.entry.js} +2 -2
  61. package/dist/atomic/{p-61c19a04.entry.js → p-748251b5.entry.js} +2 -2
  62. package/dist/atomic/{p-503d8e4c.entry.js → p-76a62a77.entry.js} +2 -2
  63. package/dist/atomic/{p-d967e926.js → p-78a2278f.js} +2 -2
  64. package/dist/atomic/{p-39f99214.entry.js → p-7cc4a1bc.entry.js} +2 -2
  65. package/dist/atomic/{p-29a42d73.entry.js → p-7d467128.entry.js} +2 -2
  66. package/dist/atomic/{p-21b1ef92.entry.js → p-7e041af5.entry.js} +2 -2
  67. package/dist/atomic/{p-41788181.entry.js → p-87725ff8.entry.js} +2 -2
  68. package/dist/atomic/{p-176d0477.entry.js → p-888d1b3b.entry.js} +2 -2
  69. package/dist/atomic/{p-c566543b.entry.js → p-8a09bf73.entry.js} +2 -2
  70. package/dist/atomic/{p-ab304a67.entry.js → p-8d56bd9c.entry.js} +2 -2
  71. package/dist/atomic/{p-2e97cbb5.entry.js → p-8e5481b2.entry.js} +2 -2
  72. package/dist/atomic/{p-9f17aac0.entry.js → p-91c7dc97.entry.js} +2 -2
  73. package/dist/atomic/{p-297a186f.js → p-9bff82d2.js} +2 -2
  74. package/dist/atomic/{p-5a161f56.entry.js → p-9dddb0fe.entry.js} +2 -2
  75. package/dist/atomic/{p-e4e22ca4.entry.js → p-a1001ed4.entry.js} +2 -2
  76. package/dist/atomic/p-a1001ed4.entry.js.map +1 -0
  77. package/dist/atomic/{p-2e21c2be.entry.js → p-a60f20f3.entry.js} +2 -2
  78. package/dist/atomic/{p-9e84fd28.entry.js → p-a8d95e60.entry.js} +2 -2
  79. package/dist/atomic/{p-d2bb57da.entry.js → p-a9c8af66.entry.js} +2 -2
  80. package/dist/atomic/{p-95649dfe.entry.js → p-b00aea8f.entry.js} +2 -2
  81. package/dist/atomic/{p-51243c0a.entry.js → p-b8384bb4.entry.js} +2 -2
  82. package/dist/atomic/{p-7aa80b40.entry.js → p-b88e097d.entry.js} +2 -2
  83. package/dist/atomic/{p-0b1d29ae.entry.js → p-c1a63a7a.entry.js} +2 -2
  84. package/dist/atomic/{p-e03f245b.entry.js → p-c1ef6480.entry.js} +2 -2
  85. package/dist/atomic/{p-e19ef4be.entry.js → p-c52d55ca.entry.js} +2 -2
  86. package/dist/atomic/{p-b19ad4bc.entry.js → p-c64b1ebb.entry.js} +2 -2
  87. package/dist/atomic/{p-ad908a26.js → p-cd4a6089.js} +2 -2
  88. package/dist/atomic/{p-9f127a00.entry.js → p-d1605065.entry.js} +2 -2
  89. package/dist/atomic/{p-42327028.entry.js → p-d30703c2.entry.js} +2 -2
  90. package/dist/atomic/{p-308ea344.entry.js → p-d3b39797.entry.js} +2 -2
  91. package/dist/atomic/{p-7b8020dd.entry.js → p-d77748ac.entry.js} +2 -2
  92. package/dist/atomic/{p-84aada47.entry.js → p-dfdfecb7.entry.js} +2 -2
  93. package/dist/atomic/{p-4f6c469f.entry.js → p-e01dc0fa.entry.js} +2 -2
  94. package/dist/atomic/{p-0fb30fdd.entry.js → p-e1392b34.entry.js} +2 -2
  95. package/dist/atomic/{p-52e16718.entry.js → p-e3cfd875.entry.js} +2 -2
  96. package/dist/atomic/{p-525e09b0.js → p-e4837015.js} +2 -2
  97. package/dist/atomic/{p-7148b295.entry.js → p-e51015e5.entry.js} +2 -2
  98. package/dist/atomic/{p-554e903c.entry.js → p-e69f02e3.entry.js} +2 -2
  99. package/dist/atomic/{p-2dbac3f0.entry.js → p-e760c6eb.entry.js} +2 -2
  100. package/dist/atomic/{p-81ead125.entry.js → p-e9f09975.entry.js} +2 -2
  101. package/dist/atomic/{p-9c875991.entry.js → p-ec1f72d3.entry.js} +2 -2
  102. package/dist/atomic/{p-a3ab554e.entry.js → p-f59343d1.entry.js} +2 -2
  103. package/dist/atomic/{p-b416f690.entry.js → p-f8335d2b.entry.js} +2 -2
  104. package/dist/atomic/{p-f2aebada.entry.js → p-f8ec113a.entry.js} +2 -2
  105. package/dist/atomic/{p-b7f5fdab.js → p-f95cd233.js} +2 -2
  106. package/dist/atomic/{p-f312f600.entry.js → p-f99b489c.entry.js} +2 -2
  107. package/dist/cjs/_loader.cjs.js +1 -1
  108. package/dist/cjs/atomic-insight-result-children.cjs.entry.js +8 -8
  109. package/dist/cjs/atomic-insight-result-children.cjs.entry.js.map +1 -1
  110. package/dist/cjs/atomic-quickview-modal.cjs.entry.js +150 -108
  111. package/dist/cjs/atomic-quickview-modal.cjs.entry.js.map +1 -1
  112. package/dist/cjs/atomic-result-children.cjs.entry.js +8 -8
  113. package/dist/cjs/atomic-result-children.cjs.entry.js.map +1 -1
  114. package/dist/cjs/atomic.cjs.js +1 -1
  115. package/dist/cjs/index-8fc6356e.js +0 -8
  116. package/dist/cjs/{show-hide-button-884d4c71.js → stencil-show-hide-button-ce6c2538.js} +1 -2
  117. package/dist/cjs/stencil-show-hide-button-ce6c2538.js.map +1 -0
  118. package/dist/cjs/version.cjs.js +2 -2
  119. package/dist/esm/_loader.js +1 -1
  120. package/dist/esm/atomic-automatic-facet_2.entry.js +3 -3
  121. package/dist/esm/atomic-breadbox.entry.js +2 -2
  122. package/dist/esm/atomic-category-facet.entry.js +3 -3
  123. package/dist/esm/atomic-color-facet.entry.js +3 -3
  124. package/dist/esm/atomic-folded-result-list.entry.js +6 -6
  125. package/dist/esm/atomic-generated-answer-feedback-modal.entry.js +1 -1
  126. package/dist/esm/atomic-generated-answer.entry.js +3 -3
  127. package/dist/esm/atomic-insight-facet.entry.js +3 -3
  128. package/dist/esm/atomic-insight-folded-result-list.entry.js +5 -5
  129. package/dist/esm/atomic-insight-generated-answer.entry.js +2 -2
  130. package/dist/esm/atomic-insight-layout.entry.js +1 -1
  131. package/dist/esm/atomic-insight-no-results.entry.js +2 -2
  132. package/dist/esm/atomic-insight-numeric-facet.entry.js +5 -5
  133. package/dist/esm/atomic-insight-pager.entry.js +1 -1
  134. package/dist/esm/atomic-insight-query-error.entry.js +2 -2
  135. package/dist/esm/atomic-insight-query-summary.entry.js +2 -2
  136. package/dist/esm/atomic-insight-result-action-bar.entry.js +1 -1
  137. package/dist/esm/atomic-insight-result-children-template.entry.js +4 -4
  138. package/dist/esm/atomic-insight-result-children.entry.js +5 -5
  139. package/dist/esm/atomic-insight-result-children.entry.js.map +1 -1
  140. package/dist/esm/atomic-insight-result-list.entry.js +5 -5
  141. package/dist/esm/atomic-insight-result-quickview-action.entry.js +2 -2
  142. package/dist/esm/atomic-insight-result-template.entry.js +4 -4
  143. package/dist/esm/atomic-insight-result.entry.js +5 -5
  144. package/dist/esm/atomic-insight-search-box.entry.js +2 -2
  145. package/dist/esm/atomic-insight-smart-snippet-feedback-modal.entry.js +1 -1
  146. package/dist/esm/atomic-insight-smart-snippet-suggestions.entry.js +1 -1
  147. package/dist/esm/atomic-insight-smart-snippet.entry.js +1 -1
  148. package/dist/esm/atomic-insight-tab.entry.js +1 -1
  149. package/dist/esm/atomic-insight-timeframe-facet.entry.js +4 -4
  150. package/dist/esm/atomic-ipx-body.entry.js +1 -1
  151. package/dist/esm/atomic-ipx-embedded.entry.js +1 -1
  152. package/dist/esm/atomic-ipx-modal.entry.js +1 -1
  153. package/dist/esm/atomic-ipx-recs-list.entry.js +5 -5
  154. package/dist/esm/atomic-no-results.entry.js +2 -2
  155. package/dist/esm/atomic-notifications.entry.js +2 -2
  156. package/dist/esm/atomic-numeric-facet.entry.js +5 -5
  157. package/dist/esm/atomic-quickview-modal.entry.js +150 -108
  158. package/dist/esm/atomic-quickview-modal.entry.js.map +1 -1
  159. package/dist/esm/atomic-quickview.entry.js +2 -2
  160. package/dist/esm/atomic-rating-facet.entry.js +4 -4
  161. package/dist/esm/atomic-rating-range-facet.entry.js +3 -3
  162. package/dist/esm/atomic-recs-error.entry.js +2 -2
  163. package/dist/esm/atomic-recs-list.entry.js +5 -5
  164. package/dist/esm/atomic-recs-result-template.entry.js +4 -4
  165. package/dist/esm/atomic-recs-result.entry.js +5 -5
  166. package/dist/esm/atomic-refine-modal.entry.js +1 -1
  167. package/dist/esm/atomic-result-children.entry.js +5 -5
  168. package/dist/esm/atomic-result-children.entry.js.map +1 -1
  169. package/dist/esm/atomic-result-icon.entry.js +1 -1
  170. package/dist/esm/atomic-result-localized-text.entry.js +2 -2
  171. package/dist/esm/atomic-result-multi-value-text.entry.js +1 -1
  172. package/dist/esm/atomic-result-placeholder_2.entry.js +3 -3
  173. package/dist/esm/atomic-result-printable-uri.entry.js +2 -2
  174. package/dist/esm/atomic-search-box.entry.js +2 -2
  175. package/dist/esm/atomic-segmented-facet.entry.js +2 -2
  176. package/dist/esm/atomic-smart-snippet-answer_2.entry.js +1 -1
  177. package/dist/esm/atomic-smart-snippet-feedback-modal.entry.js +1 -1
  178. package/dist/esm/atomic-smart-snippet-suggestions.entry.js +1 -1
  179. package/dist/esm/atomic-smart-snippet.entry.js +2 -2
  180. package/dist/esm/atomic-sort-dropdown.entry.js +1 -1
  181. package/dist/esm/atomic-sort-expression.entry.js +2 -2
  182. package/dist/esm/atomic-timeframe-facet.entry.js +4 -4
  183. package/dist/esm/atomic.js +1 -1
  184. package/dist/esm/{display-options-abcc4ce4.js → display-options-1642f41a.js} +2 -2
  185. package/dist/esm/{display-options-abcc4ce4.js.map → display-options-1642f41a.js.map} +1 -1
  186. package/dist/esm/index-62c2216d.js +0 -8
  187. package/dist/esm/{item-layout-sections-4f105293.js → item-layout-sections-7f3f07d2.js} +2 -2
  188. package/dist/esm/{item-layout-sections-4f105293.js.map → item-layout-sections-7f3f07d2.js.map} +1 -1
  189. package/dist/esm/{props-utils-e04e8ad0.js → props-utils-b663ca01.js} +2 -2
  190. package/dist/esm/{props-utils-e04e8ad0.js.map → props-utils-b663ca01.js.map} +1 -1
  191. package/dist/esm/{stencil-accessibility-utils-de708162.js → stencil-accessibility-utils-2070ba91.js} +2 -2
  192. package/dist/esm/{stencil-accessibility-utils-de708162.js.map → stencil-accessibility-utils-2070ba91.js.map} +1 -1
  193. package/dist/esm/{stencil-facet-value-checkbox-ea5ed2bd.js → stencil-facet-value-checkbox-156f1e2d.js} +2 -2
  194. package/dist/esm/{stencil-facet-value-checkbox-ea5ed2bd.js.map → stencil-facet-value-checkbox-156f1e2d.js.map} +1 -1
  195. package/dist/esm/{stencil-item-list-common-355d92bd.js → stencil-item-list-common-3b7a33f5.js} +3 -3
  196. package/dist/esm/{stencil-item-list-common-355d92bd.js.map → stencil-item-list-common-3b7a33f5.js.map} +1 -1
  197. package/dist/esm/{stencil-result-template-common-3ed9087d.js → stencil-result-template-common-32655043.js} +4 -4
  198. package/dist/esm/{stencil-result-template-common-3ed9087d.js.map → stencil-result-template-common-32655043.js.map} +1 -1
  199. package/dist/esm/{show-hide-button-0668507e.js → stencil-show-hide-button-5298dae1.js} +1 -2
  200. package/dist/esm/stencil-show-hide-button-5298dae1.js.map +1 -0
  201. package/dist/esm/{stencil-values-container-9eef93e1.js → stencil-values-container-9a289d5e.js} +2 -2
  202. package/dist/esm/{stencil-values-container-9eef93e1.js.map → stencil-values-container-9a289d5e.js.map} +1 -1
  203. package/dist/esm/{timeframe-facet-common-cefe1400.js → timeframe-facet-common-4d568ab2.js} +2 -2
  204. package/dist/esm/{timeframe-facet-common-cefe1400.js.map → timeframe-facet-common-4d568ab2.js.map} +1 -1
  205. package/dist/esm/{utils-730e6154.js → utils-b6c5d1af.js} +2 -2
  206. package/dist/esm/{utils-730e6154.js.map → utils-b6c5d1af.js.map} +1 -1
  207. package/dist/esm/version.js +2 -2
  208. package/dist/types/components/commerce/atomic-commerce-pager/atomic-commerce-pager.d.ts +5 -7
  209. package/dist/types/components/common/interface/interface-controller.d.ts +1 -0
  210. package/dist/types/components/common/result-children/show-hide-button.d.ts +3 -7
  211. package/dist/types/components/common/result-children/stencil-show-hide-button.d.ts +14 -0
  212. package/dist/types/components/search/atomic-field-condition/atomic-field-condition.d.ts +45 -0
  213. package/dist/types/components/search/atomic-pager/atomic-pager.d.ts +2 -4
  214. package/dist/types/components/search/{result-template-components/atomic-result-badge → atomic-result-badge}/atomic-result-badge.d.ts +19 -5
  215. package/dist/types/components/search/index.d.ts +2 -0
  216. package/dist/types/components/search/result-template-components/quickview-word-highlight/color-parser.d.ts +15 -0
  217. package/dist/types/components/search/result-template-components/quickview-word-highlight/iframe-parser.d.ts +16 -0
  218. package/dist/types/components/search/result-template-components/quickview-word-highlight/quickview-word-highlight.d.ts +10 -22
  219. package/dist/types/components/search/result-template-components/quickview-word-highlight/text-parser.d.ts +13 -0
  220. package/dist/types/components.d.ts +0 -222
  221. package/dist/types/utils/custom-element-tags.d.ts +14 -0
  222. package/docs/atomic-docs.json +1 -274
  223. package/package.json +13 -13
  224. package/dist/atomic/components/atomic-field-condition.d.ts +0 -11
  225. package/dist/atomic/components/atomic-field-condition.js +0 -98
  226. package/dist/atomic/components/atomic-field-condition.js.map +0 -1
  227. package/dist/atomic/components/atomic-result-badge.d.ts +0 -11
  228. package/dist/atomic/components/atomic-result-badge.js +0 -86
  229. package/dist/atomic/components/atomic-result-badge.js.map +0 -1
  230. package/dist/atomic/components/show-hide-button.js.map +0 -1
  231. package/dist/atomic/p-2b2db1db.entry.js.map +0 -1
  232. package/dist/atomic/p-6e8f6c4e.entry.js +0 -2
  233. package/dist/atomic/p-6e8f6c4e.entry.js.map +0 -1
  234. package/dist/atomic/p-b597d76c.entry.js +0 -2
  235. package/dist/atomic/p-b597d76c.entry.js.map +0 -1
  236. package/dist/atomic/p-e4e22ca4.entry.js.map +0 -1
  237. package/dist/atomic/p-e86a9dcb.entry.js +0 -2
  238. package/dist/atomic/p-e86a9dcb.entry.js.map +0 -1
  239. package/dist/atomic/p-fdb1a985.js.map +0 -1
  240. package/dist/cjs/atomic-field-condition.cjs.entry.js +0 -88
  241. package/dist/cjs/atomic-field-condition.cjs.entry.js.map +0 -1
  242. package/dist/cjs/atomic-result-badge.cjs.entry.js +0 -71
  243. package/dist/cjs/atomic-result-badge.cjs.entry.js.map +0 -1
  244. package/dist/cjs/show-hide-button-884d4c71.js.map +0 -1
  245. package/dist/esm/atomic-field-condition.entry.js +0 -84
  246. package/dist/esm/atomic-field-condition.entry.js.map +0 -1
  247. package/dist/esm/atomic-result-badge.entry.js +0 -67
  248. package/dist/esm/atomic-result-badge.entry.js.map +0 -1
  249. package/dist/esm/show-hide-button-0668507e.js.map +0 -1
  250. package/dist/types/components/search/result-template-components/atomic-field-condition/atomic-field-condition.d.ts +0 -36
  251. /package/dist/atomic/components/components/{commerce/atomic-commerce-pager/commerce-pager-utils.js → common/pager/pager-utils.js} +0 -0
  252. /package/dist/atomic/{p-7c6cded8.entry.js.map → p-05a6ad42.entry.js.map} +0 -0
  253. /package/dist/atomic/{p-20a02cb8.js.map → p-0779523d.js.map} +0 -0
  254. /package/dist/atomic/{p-12e5e56c.js.map → p-0ad1eced.js.map} +0 -0
  255. /package/dist/atomic/{p-c7072c4d.entry.js.map → p-1446b9f6.entry.js.map} +0 -0
  256. /package/dist/atomic/{p-7da807d6.entry.js.map → p-1f363dd9.entry.js.map} +0 -0
  257. /package/dist/atomic/{p-42a151a2.entry.js.map → p-1f4db3cb.entry.js.map} +0 -0
  258. /package/dist/atomic/{p-ad38e363.entry.js.map → p-24ef7805.entry.js.map} +0 -0
  259. /package/dist/atomic/{p-e2088f9e.entry.js.map → p-29f81148.entry.js.map} +0 -0
  260. /package/dist/atomic/{p-98ee46c3.entry.js.map → p-2d629695.entry.js.map} +0 -0
  261. /package/dist/atomic/{p-28683ceb.js.map → p-2e9f2732.js.map} +0 -0
  262. /package/dist/atomic/{p-78ff2358.entry.js.map → p-382534b6.entry.js.map} +0 -0
  263. /package/dist/atomic/{p-4683e572.js.map → p-3aa5fa4d.js.map} +0 -0
  264. /package/dist/atomic/{p-b97a773c.entry.js.map → p-3f8eaa2b.entry.js.map} +0 -0
  265. /package/dist/atomic/{p-f00a245c.js.map → p-3fc8d8cc.js.map} +0 -0
  266. /package/dist/atomic/{p-694af29d.entry.js.map → p-4726d370.entry.js.map} +0 -0
  267. /package/dist/atomic/{p-944fe2ca.entry.js.map → p-4b63cb31.entry.js.map} +0 -0
  268. /package/dist/atomic/{p-c953f644.entry.js.map → p-4ba0e104.entry.js.map} +0 -0
  269. /package/dist/atomic/{p-52064d8c.entry.js.map → p-4e071ea2.entry.js.map} +0 -0
  270. /package/dist/atomic/{p-1c70d4a8.entry.js.map → p-50e9988d.entry.js.map} +0 -0
  271. /package/dist/atomic/{p-b7f9420d.entry.js.map → p-5b1de8dc.entry.js.map} +0 -0
  272. /package/dist/atomic/{p-efff4455.entry.js.map → p-5cd460f0.entry.js.map} +0 -0
  273. /package/dist/atomic/{p-31b2e659.entry.js.map → p-6880dfb8.entry.js.map} +0 -0
  274. /package/dist/atomic/{p-97bf5db6.entry.js.map → p-6ee4fa3d.entry.js.map} +0 -0
  275. /package/dist/atomic/{p-61c19a04.entry.js.map → p-748251b5.entry.js.map} +0 -0
  276. /package/dist/atomic/{p-503d8e4c.entry.js.map → p-76a62a77.entry.js.map} +0 -0
  277. /package/dist/atomic/{p-d967e926.js.map → p-78a2278f.js.map} +0 -0
  278. /package/dist/atomic/{p-39f99214.entry.js.map → p-7cc4a1bc.entry.js.map} +0 -0
  279. /package/dist/atomic/{p-29a42d73.entry.js.map → p-7d467128.entry.js.map} +0 -0
  280. /package/dist/atomic/{p-21b1ef92.entry.js.map → p-7e041af5.entry.js.map} +0 -0
  281. /package/dist/atomic/{p-41788181.entry.js.map → p-87725ff8.entry.js.map} +0 -0
  282. /package/dist/atomic/{p-176d0477.entry.js.map → p-888d1b3b.entry.js.map} +0 -0
  283. /package/dist/atomic/{p-c566543b.entry.js.map → p-8a09bf73.entry.js.map} +0 -0
  284. /package/dist/atomic/{p-ab304a67.entry.js.map → p-8d56bd9c.entry.js.map} +0 -0
  285. /package/dist/atomic/{p-2e97cbb5.entry.js.map → p-8e5481b2.entry.js.map} +0 -0
  286. /package/dist/atomic/{p-9f17aac0.entry.js.map → p-91c7dc97.entry.js.map} +0 -0
  287. /package/dist/atomic/{p-297a186f.js.map → p-9bff82d2.js.map} +0 -0
  288. /package/dist/atomic/{p-5a161f56.entry.js.map → p-9dddb0fe.entry.js.map} +0 -0
  289. /package/dist/atomic/{p-2e21c2be.entry.js.map → p-a60f20f3.entry.js.map} +0 -0
  290. /package/dist/atomic/{p-9e84fd28.entry.js.map → p-a8d95e60.entry.js.map} +0 -0
  291. /package/dist/atomic/{p-d2bb57da.entry.js.map → p-a9c8af66.entry.js.map} +0 -0
  292. /package/dist/atomic/{p-95649dfe.entry.js.map → p-b00aea8f.entry.js.map} +0 -0
  293. /package/dist/atomic/{p-51243c0a.entry.js.map → p-b8384bb4.entry.js.map} +0 -0
  294. /package/dist/atomic/{p-7aa80b40.entry.js.map → p-b88e097d.entry.js.map} +0 -0
  295. /package/dist/atomic/{p-0b1d29ae.entry.js.map → p-c1a63a7a.entry.js.map} +0 -0
  296. /package/dist/atomic/{p-e03f245b.entry.js.map → p-c1ef6480.entry.js.map} +0 -0
  297. /package/dist/atomic/{p-e19ef4be.entry.js.map → p-c52d55ca.entry.js.map} +0 -0
  298. /package/dist/atomic/{p-b19ad4bc.entry.js.map → p-c64b1ebb.entry.js.map} +0 -0
  299. /package/dist/atomic/{p-ad908a26.js.map → p-cd4a6089.js.map} +0 -0
  300. /package/dist/atomic/{p-9f127a00.entry.js.map → p-d1605065.entry.js.map} +0 -0
  301. /package/dist/atomic/{p-42327028.entry.js.map → p-d30703c2.entry.js.map} +0 -0
  302. /package/dist/atomic/{p-308ea344.entry.js.map → p-d3b39797.entry.js.map} +0 -0
  303. /package/dist/atomic/{p-7b8020dd.entry.js.map → p-d77748ac.entry.js.map} +0 -0
  304. /package/dist/atomic/{p-84aada47.entry.js.map → p-dfdfecb7.entry.js.map} +0 -0
  305. /package/dist/atomic/{p-4f6c469f.entry.js.map → p-e01dc0fa.entry.js.map} +0 -0
  306. /package/dist/atomic/{p-0fb30fdd.entry.js.map → p-e1392b34.entry.js.map} +0 -0
  307. /package/dist/atomic/{p-52e16718.entry.js.map → p-e3cfd875.entry.js.map} +0 -0
  308. /package/dist/atomic/{p-525e09b0.js.map → p-e4837015.js.map} +0 -0
  309. /package/dist/atomic/{p-7148b295.entry.js.map → p-e51015e5.entry.js.map} +0 -0
  310. /package/dist/atomic/{p-554e903c.entry.js.map → p-e69f02e3.entry.js.map} +0 -0
  311. /package/dist/atomic/{p-2dbac3f0.entry.js.map → p-e760c6eb.entry.js.map} +0 -0
  312. /package/dist/atomic/{p-81ead125.entry.js.map → p-e9f09975.entry.js.map} +0 -0
  313. /package/dist/atomic/{p-9c875991.entry.js.map → p-ec1f72d3.entry.js.map} +0 -0
  314. /package/dist/atomic/{p-a3ab554e.entry.js.map → p-f59343d1.entry.js.map} +0 -0
  315. /package/dist/atomic/{p-b416f690.entry.js.map → p-f8335d2b.entry.js.map} +0 -0
  316. /package/dist/atomic/{p-f2aebada.entry.js.map → p-f8ec113a.entry.js.map} +0 -0
  317. /package/dist/atomic/{p-b7f5fdab.js.map → p-f95cd233.js.map} +0 -0
  318. /package/dist/atomic/{p-f312f600.entry.js.map → p-f99b489c.entry.js.map} +0 -0
  319. /package/dist/types/components/{commerce/atomic-commerce-pager/commerce-pager-utils.d.ts → common/pager/pager-utils.d.ts} +0 -0
@@ -16,7 +16,7 @@ var patchBrowser = () => {
16
16
 
17
17
  patchBrowser().then(async (options) => {
18
18
  await globalScripts();
19
- return bootstrapLazy(JSON.parse("[[\"atomic-insight-smart-snippet\",[[1,\"atomic-insight-smart-snippet\",{\"headingLevel\":[514,\"heading-level\"],\"maximumHeight\":[514,\"maximum-height\"],\"collapsedHeight\":[514,\"collapsed-height\"],\"snippetStyle\":[513,\"snippet-style\"],\"smartSnippetState\":[32],\"feedbackSent\":[32]}]]],[\"atomic-smart-snippet\",[[1,\"atomic-smart-snippet\",{\"headingLevel\":[514,\"heading-level\"],\"maximumHeight\":[514,\"maximum-height\"],\"collapsedHeight\":[514,\"collapsed-height\"],\"snippetStyle\":[513,\"snippet-style\"],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"snippetMaximumHeight\":[514,\"snippet-maximum-height\"],\"snippetCollapsedHeight\":[514,\"snippet-collapsed-height\"],\"smartSnippetState\":[32],\"tabManagerState\":[32],\"feedbackSent\":[32]},[[0,\"selectInlineLink\",\"onSelectInlineLink\"],[0,\"beginDelayedSelectInlineLink\",\"onBeginDelayedSelectInlineLink\"],[0,\"cancelPendingSelectInlineLink\",\"onCancelPendingSelectInlineLink\"]]]]],[\"atomic-insight-folded-result-list\",[[1,\"atomic-insight-folded-result-list\",{\"density\":[513],\"imageSize\":[513,\"image-size\"],\"collectionField\":[513,\"collection-field\"],\"parentField\":[513,\"parent-field\"],\"childField\":[513,\"child-field\"],\"foldedResultListState\":[32],\"resultsPerPageState\":[32],\"resultTemplateRegistered\":[32],\"error\":[32],\"isAppLoaded\":[32],\"templateHasError\":[32],\"setRenderFunction\":[64]},[[0,\"atomic/resolveFoldedResultList\",\"resolveFoldedResultList\"],[0,\"atomic/loadCollection\",\"loadCollection\"]]]]],[\"atomic-insight-result-children\",[[1,\"atomic-insight-result-children\",{\"inheritTemplates\":[4,\"inherit-templates\"],\"imageSize\":[513,\"image-size\"],\"noResultText\":[1,\"no-result-text\"],\"error\":[32],\"resultTemplateRegistered\":[32],\"templateHasError\":[32],\"foldedResultListState\":[32],\"showInitialChildren\":[32]},[[0,\"atomic/resolveChildTemplates\",\"resolveChildTemplates\"]]]]],[\"atomic-insight-result-list\",[[1,\"atomic-insight-result-list\",{\"density\":[513],\"imageSize\":[513,\"image-size\"],\"resultsPerPageState\":[32],\"resultListState\":[32],\"templateHasError\":[32],\"resultTemplateRegistered\":[32],\"error\":[32],\"isAppLoaded\":[32],\"setRenderFunction\":[64]}]]],[\"atomic-insight-user-actions-toggle\",[[1,\"atomic-insight-user-actions-toggle\",{\"userId\":[1,\"user-id\"],\"ticketCreationDateTime\":[1,\"ticket-creation-date-time\"],\"excludedCustomActions\":[16],\"userActionsState\":[32],\"error\":[32]}]]],[\"atomic-ipx-recs-list\",[[1,\"atomic-ipx-recs-list\",{\"recommendation\":[513],\"display\":[513],\"density\":[513],\"imageSize\":[513,\"image-size\"],\"numberOfRecommendations\":[514,\"number-of-recommendations\"],\"numberOfRecommendationsPerPage\":[514,\"number-of-recommendations-per-page\"],\"label\":[513],\"headingLevel\":[514,\"heading-level\"],\"error\":[32],\"isAppLoaded\":[32],\"resultTemplateRegistered\":[32],\"templateHasError\":[32],\"currentPage\":[32],\"recommendationListState\":[32],\"setRenderFunction\":[64],\"previousPage\":[64],\"nextPage\":[64]},null,{\"numberOfRecommendationsPerPage\":[\"watchNumberOfRecommendationsPerPage\"]}]]],[\"atomic-recs-list\",[[1,\"atomic-recs-list\",{\"recommendation\":[513],\"display\":[513],\"density\":[513],\"imageSize\":[513,\"image-size\"],\"numberOfRecommendations\":[514,\"number-of-recommendations\"],\"numberOfRecommendationsPerPage\":[514,\"number-of-recommendations-per-page\"],\"label\":[513],\"headingLevel\":[514,\"heading-level\"],\"error\":[32],\"isAppLoaded\":[32],\"resultTemplateRegistered\":[32],\"templateHasError\":[32],\"currentPage\":[32],\"recommendationListState\":[32],\"setRenderFunction\":[64],\"previousPage\":[64],\"nextPage\":[64]},null,{\"numberOfRecommendationsPerPage\":[\"watchNumberOfRecommendationsPerPage\"]}]]],[\"atomic-refine-toggle\",[[1,\"atomic-refine-toggle\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"error\":[32],\"searchStatusState\":[32]}]]],[\"atomic-tab-manager\",[[1,\"atomic-tab-manager\",{\"clearFiltersOnTabChange\":[4,\"clear-filters-on-tab-change\"],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-folded-result-list\",[[1,\"atomic-folded-result-list\",{\"density\":[513],\"imageSize\":[513,\"image-size\"],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"collectionField\":[513,\"collection-field\"],\"parentField\":[513,\"parent-field\"],\"childField\":[513,\"child-field\"],\"numberOfFoldedResults\":[514,\"number-of-folded-results\"],\"foldedResultListState\":[32],\"resultsPerPageState\":[32],\"tabManagerState\":[32],\"resultTemplateRegistered\":[32],\"error\":[32],\"templateHasError\":[32],\"isAppLoaded\":[32],\"setRenderFunction\":[64]},[[0,\"atomic/resolveFoldedResultList\",\"resolveFoldedResultList\"],[0,\"atomic/loadCollection\",\"loadCollection\"]],{\"tabManagerState\":[\"watchTabManagerState\"]}]]],[\"atomic-insight-smart-snippet-suggestions\",[[1,\"atomic-insight-smart-snippet-suggestions\",{\"headingLevel\":[514,\"heading-level\"],\"snippetStyle\":[1,\"snippet-style\"],\"smartSnippetQuestionsListState\":[32]}]]],[\"atomic-insight-tabs\",[[4,\"atomic-insight-tabs\",{\"error\":[32]}]]],[\"atomic-ipx-tabs\",[[4,\"atomic-ipx-tabs\",{\"error\":[32]}]]],[\"atomic-result-children\",[[1,\"atomic-result-children\",{\"inheritTemplates\":[4,\"inherit-templates\"],\"imageSize\":[513,\"image-size\"],\"noResultText\":[1,\"no-result-text\"],\"error\":[32],\"resultTemplateRegistered\":[32],\"templateHasError\":[32],\"foldedResultListState\":[32],\"showInitialChildren\":[32],\"loadedFullCollection\":[32]},[[0,\"atomic/resolveChildTemplates\",\"resolveChildTemplates\"]]]]],[\"atomic-smart-snippet-suggestions\",[[1,\"atomic-smart-snippet-suggestions\",{\"headingLevel\":[514,\"heading-level\"],\"snippetStyle\":[1,\"snippet-style\"],\"smartSnippetQuestionsListState\":[32]}]]],[\"atomic-insight-numeric-facet\",[[1,\"atomic-insight-numeric-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"numberOfValues\":[514,\"number-of-values\"],\"withInput\":[513,\"with-input\"],\"sortCriteria\":[513,\"sort-criteria\"],\"rangeAlgorithm\":[513,\"range-algorithm\"],\"displayValuesAs\":[513,\"display-values-as\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"facetState\":[32],\"filterState\":[32],\"searchStatusState\":[32],\"error\":[32],\"facetForInputState\":[32]},[[0,\"atomic/numberFormat\",\"setFormat\"],[0,\"atomic/numberInputApply\",\"applyNumberInput\"]]]]],[\"atomic-insight-refine-toggle\",[[1,\"atomic-insight-refine-toggle\",{\"error\":[32],\"breadcrumbManagerState\":[32],\"searchStatusState\":[32]}]]],[\"atomic-insight-result-quickview-action\",[[0,\"atomic-insight-result-quickview-action\",{\"sandbox\":[1],\"error\":[32],\"quickviewState\":[32]},[[16,\"atomic/quickview/next\",\"onNextQuickview\"],[16,\"atomic/quickview/previous\",\"onPreviousQuickview\"]]]]],[\"atomic-insight-search-box\",[[1,\"atomic-insight-search-box\",{\"disableSearch\":[516,\"disable-search\"],\"numberOfSuggestions\":[514,\"number-of-suggestions\"],\"searchBoxState\":[32],\"error\":[32],\"isExpanded\":[32]}]]],[\"atomic-ipx-embedded\",[[1,\"atomic-ipx-embedded\",{\"container\":[1040],\"error\":[32],\"hasFooterSlotElements\":[32]}]]],[\"atomic-ipx-modal\",[[1,\"atomic-ipx-modal\",{\"source\":[1040],\"container\":[1040],\"isOpen\":[1540,\"is-open\"],\"error\":[32],\"hasFooterSlotElements\":[32]},[[0,\"touchmove\",\"onWindowTouchMove\"]],{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-ipx-refine-toggle\",[[1,\"atomic-ipx-refine-toggle\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"error\":[32],\"breadcrumbManagerState\":[32],\"searchStatusState\":[32]}]]],[\"atomic-numeric-facet\",[[1,\"atomic-numeric-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"numberOfValues\":[514,\"number-of-values\"],\"withInput\":[513,\"with-input\"],\"sortCriteria\":[513,\"sort-criteria\"],\"rangeAlgorithm\":[513,\"range-algorithm\"],\"displayValuesAs\":[513,\"display-values-as\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"facetState\":[32],\"filterState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32],\"facetForInputState\":[32]},[[0,\"atomic/numberFormat\",\"setFormat\"],[0,\"atomic/numberInputApply\",\"applyNumberInput\"]]]]],[\"atomic-quickview\",[[1,\"atomic-quickview\",{\"sandbox\":[1],\"error\":[32],\"quickviewState\":[32]},[[16,\"atomic/quickview/next\",\"onNextQuickview\"],[16,\"atomic/quickview/previous\",\"onPreviousQuickview\"]]]]],[\"atomic-search-box\",[[1,\"atomic-search-box\",{\"numberOfQueries\":[514,\"number-of-queries\"],\"redirectionUrl\":[513,\"redirection-url\"],\"suggestionTimeout\":[2,\"suggestion-timeout\"],\"suggestionDelay\":[2,\"suggestion-delay\"],\"disableSearch\":[516,\"disable-search\"],\"minimumQueryLength\":[514,\"minimum-query-length\"],\"clearFilters\":[516,\"clear-filters\"],\"enableQuerySyntax\":[516,\"enable-query-syntax\"],\"searchBoxState\":[32],\"error\":[32],\"isExpanded\":[32]},[[0,\"atomic/searchBoxSuggestion/register\",\"registerSuggestions\"]],{\"redirectionUrl\":[\"watchRedirectionUrl\"]}]]],[\"atomic-breadbox\",[[1,\"atomic-breadbox\",{\"pathLimit\":[2,\"path-limit\"],\"breadcrumbManagerState\":[32],\"facetManagerState\":[32],\"error\":[32],\"isCollapsed\":[32]}]]],[\"atomic-category-facet\",[[1,\"atomic-category-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"numberOfValues\":[514,\"number-of-values\"],\"withSearch\":[516,\"with-search\"],\"sortCriteria\":[513,\"sort-criteria\"],\"delimitingCharacter\":[513,\"delimiting-character\"],\"basePath\":[1537,\"base-path\"],\"filterByBasePath\":[516,\"filter-by-base-path\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"facetState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-citation\",[[0,\"atomic-citation\",{\"citation\":[16],\"index\":[2],\"sendHoverEndEvent\":[16],\"interactiveCitation\":[16],\"disableCitationAnchoring\":[4,\"disable-citation-anchoring\"],\"isOpen\":[32]},null,{\"isOpen\":[\"sendHoverAnalytics\"]}]]],[\"atomic-color-facet\",[[1,\"atomic-color-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"numberOfValues\":[514,\"number-of-values\"],\"withSearch\":[516,\"with-search\"],\"sortCriteria\":[513,\"sort-criteria\"],\"resultsMustMatch\":[513,\"results-must-match\"],\"displayValuesAs\":[513,\"display-values-as\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"allowedValues\":[1025,\"allowed-values\"],\"customSort\":[1025,\"custom-sort\"],\"facetState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-did-you-mean\",[[1,\"atomic-did-you-mean\",{\"automaticallyCorrectQuery\":[516,\"automatically-correct-query\"],\"queryCorrectionMode\":[513,\"query-correction-mode\"],\"didYouMeanState\":[32],\"queryTriggerState\":[32],\"error\":[32]},null,{\"queryCorrectionMode\":[\"updateQueryCorrectionMode\"]}]]],[\"atomic-facet-manager\",[[4,\"atomic-facet-manager\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"facetManagerState\":[32],\"error\":[32]}]]],[\"atomic-field-condition\",[[4,\"atomic-field-condition\",{\"ifDefined\":[513,\"if-defined\"],\"ifNotDefined\":[513,\"if-not-defined\"],\"mustMatch\":[16],\"mustNotMatch\":[16]}]]],[\"atomic-format-currency\",[[1,\"atomic-format-currency\",{\"currency\":[513],\"error\":[32]}]]],[\"atomic-format-number\",[[1,\"atomic-format-number\",{\"minimumIntegerDigits\":[514,\"minimum-integer-digits\"],\"minimumFractionDigits\":[514,\"minimum-fraction-digits\"],\"maximumFractionDigits\":[514,\"maximum-fraction-digits\"],\"minimumSignificantDigits\":[514,\"minimum-significant-digits\"],\"maximumSignificantDigits\":[514,\"maximum-significant-digits\"],\"error\":[32]}]]],[\"atomic-format-unit\",[[1,\"atomic-format-unit\",{\"unit\":[513],\"unitDisplay\":[513,\"unit-display\"],\"error\":[32]}]]],[\"atomic-generated-answer\",[[1,\"atomic-generated-answer\",{\"withToggle\":[4,\"with-toggle\"],\"collapsible\":[4],\"maxCollapsedHeight\":[2,\"max-collapsed-height\"],\"answerConfigurationId\":[1,\"answer-configuration-id\"],\"fieldsToIncludeInCitations\":[1,\"fields-to-include-in-citations\"],\"disableCitationAnchoring\":[4,\"disable-citation-anchoring\"],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"generatedAnswerState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32],\"copied\":[32],\"copyError\":[32]},null,{\"generatedAnswerState\":[\"updateAnswerCollapsed\"],\"tabManagerState\":[\"watchTabManagerState\"]}]]],[\"atomic-generated-answer-feedback-modal\",[[1,\"atomic-generated-answer-feedback-modal\",{\"isOpen\":[1540,\"is-open\"],\"generatedAnswer\":[1040],\"helpful\":[1540],\"error\":[32],\"currentAnswer\":[32],\"feedbackSubmitted\":[32],\"answerEvaluationRequired\":[32]},null,{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-insight-edit-toggle\",[[1,\"atomic-insight-edit-toggle\",{\"clickCallback\":[1040],\"tooltip\":[1025]}]]],[\"atomic-insight-facet\",[[1,\"atomic-insight-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"numberOfValues\":[514,\"number-of-values\"],\"sortCriteria\":[513,\"sort-criteria\"],\"resultsMustMatch\":[513,\"results-must-match\"],\"displayValuesAs\":[513,\"display-values-as\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[2,\"injection-depth\"],\"enableExclusion\":[516,\"enable-exclusion\"],\"facetState\":[32],\"searchStatusState\":[32],\"error\":[32]}]]],[\"atomic-insight-full-search-button\",[[1,\"atomic-insight-full-search-button\",{\"tooltip\":[1025],\"error\":[32]}]]],[\"atomic-insight-generated-answer\",[[1,\"atomic-insight-generated-answer\",{\"withToggle\":[4,\"with-toggle\"],\"collapsible\":[4],\"maxCollapsedHeight\":[2,\"max-collapsed-height\"],\"answerConfigurationId\":[1,\"answer-configuration-id\"],\"fieldsToIncludeInCitations\":[1,\"fields-to-include-in-citations\"],\"disableCitationAnchoring\":[4,\"disable-citation-anchoring\"],\"generatedAnswerState\":[32],\"searchStatusState\":[32],\"error\":[32],\"copied\":[32],\"copyError\":[32]},null,{\"generatedAnswerState\":[\"updateAnswerCollapsed\"]}]]],[\"atomic-insight-history-toggle\",[[1,\"atomic-insight-history-toggle\",{\"clickCallback\":[1040],\"tooltip\":[1025]}]]],[\"atomic-insight-layout\",[[0,\"atomic-insight-layout\",{\"widget\":[1540]},null,{\"widget\":[\"updateStyles\"]}]]],[\"atomic-insight-no-results\",[[1,\"atomic-insight-no-results\",{\"searchStatusState\":[32],\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-insight-pager\",[[1,\"atomic-insight-pager\",{\"numberOfPages\":[514,\"number-of-pages\"],\"pagerState\":[32],\"searchStatusState\":[32],\"error\":[32]}]]],[\"atomic-insight-query-error\",[[1,\"atomic-insight-query-error\",{\"queryErrorState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-insight-query-summary\",[[1,\"atomic-insight-query-summary\",{\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-insight-result-action\",[[0,\"atomic-insight-result-action\",{\"icon\":[1025],\"tooltip\":[1025],\"tooltipOnClick\":[1025,\"tooltip-on-click\"],\"action\":[1025],\"error\":[32]}]]],[\"atomic-insight-result-action-bar\",[[0,\"atomic-insight-result-action-bar\"]]],[\"atomic-insight-result-attach-to-case-action\",[[0,\"atomic-insight-result-attach-to-case-action\",{\"error\":[32],\"attachToCaseState\":[32]}]]],[\"atomic-insight-result-attach-to-case-indicator\",[[0,\"atomic-insight-result-attach-to-case-indicator\",{\"error\":[32],\"attachToCaseState\":[32]}]]],[\"atomic-insight-result-children-template\",[[1,\"atomic-insight-result-children-template\",{\"conditions\":[16],\"ifDefined\":[513,\"if-defined\"],\"ifNotDefined\":[513,\"if-not-defined\"],\"mustMatch\":[16],\"mustNotMatch\":[16],\"error\":[32],\"getTemplate\":[64]}]]],[\"atomic-insight-result-template\",[[1,\"atomic-insight-result-template\",{\"conditions\":[16],\"ifDefined\":[513,\"if-defined\"],\"ifNotDefined\":[513,\"if-not-defined\"],\"mustMatch\":[16],\"mustNotMatch\":[16],\"error\":[32],\"getTemplate\":[64]}]]],[\"atomic-insight-tab\",[[1,\"atomic-insight-tab\",{\"label\":[513],\"active\":[1540],\"expression\":[1],\"error\":[32],\"isAppLoaded\":[32],\"tabState\":[32],\"select\":[64]}]]],[\"atomic-insight-timeframe-facet\",[[1,\"atomic-insight-timeframe-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"withDatePicker\":[516,\"with-date-picker\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"sortCriteria\":[513,\"sort-criteria\"],\"facetState\":[32],\"facetForDatePickerState\":[32],\"filterState\":[32],\"searchStatusState\":[32],\"error\":[32]},[[0,\"atomic/dateInputApply\",\"applyDateInput\"]]]]],[\"atomic-ipx-button\",[[1,\"atomic-ipx-button\",{\"label\":[513],\"closeIcon\":[513,\"close-icon\"],\"openIcon\":[513,\"open-icon\"],\"isModalOpen\":[1540,\"is-modal-open\"],\"error\":[32]}]]],[\"atomic-ipx-result-link\",[[4,\"atomic-ipx-result-link\",{\"hrefTemplate\":[513,\"href-template\"]}]]],[\"atomic-ipx-tab\",[[1,\"atomic-ipx-tab\",{\"label\":[513],\"active\":[1540],\"expression\":[1],\"error\":[32],\"isAppLoaded\":[32],\"tabState\":[32],\"select\":[64]}]]],[\"atomic-no-results\",[[1,\"atomic-no-results\",{\"enableCancelLastAction\":[516,\"enable-cancel-last-action\"],\"searchStatusState\":[32],\"historyState\":[32],\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-notifications\",[[1,\"atomic-notifications\",{\"headingLevel\":[514,\"heading-level\"],\"icon\":[513],\"notifyTriggerState\":[32],\"error\":[32]}]]],[\"atomic-popover\",[[1,\"atomic-popover\",{\"searchStatusState\":[32],\"facetState\":[32],\"error\":[32],\"isOpen\":[32],\"childFacet\":[32]},[[0,\"atomic/initializePopover\",\"initializePopover\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"atomic-rating-facet\",[[1,\"atomic-rating-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"numberOfIntervals\":[514,\"number-of-intervals\"],\"maxValueInIndex\":[514,\"max-value-in-index\"],\"minValueInIndex\":[514,\"min-value-in-index\"],\"displayValuesAs\":[513,\"display-values-as\"],\"icon\":[513],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"facetState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-rating-range-facet\",[[1,\"atomic-rating-range-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"numberOfIntervals\":[514,\"number-of-intervals\"],\"maxValueInIndex\":[514,\"max-value-in-index\"],\"minValueInIndex\":[514,\"min-value-in-index\"],\"icon\":[513],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"facetState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-recs-error\",[[1,\"atomic-recs-error\",{\"recommendationListState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-recs-result-template\",[[1,\"atomic-recs-result-template\",{\"conditions\":[16],\"ifDefined\":[513,\"if-defined\"],\"ifNotDefined\":[513,\"if-not-defined\"],\"mustMatch\":[16],\"mustNotMatch\":[16],\"error\":[32],\"getTemplate\":[64]}]]],[\"atomic-result-badge\",[[1,\"atomic-result-badge\",{\"field\":[513],\"label\":[513],\"icon\":[513]}]]],[\"atomic-result-date\",[[0,\"atomic-result-date\",{\"field\":[513],\"format\":[513],\"relativeTime\":[516,\"relative-time\"],\"error\":[32]}]]],[\"atomic-result-fields-list\",[[0,\"atomic-result-fields-list\"]]],[\"atomic-result-icon\",[[1,\"atomic-result-icon\"]]],[\"atomic-result-image\",[[0,\"atomic-result-image\",{\"field\":[513],\"imageAltField\":[513,\"image-alt-field\"],\"fallback\":[513],\"useFallback\":[32]}]]],[\"atomic-result-link\",[[4,\"atomic-result-link\",{\"hrefTemplate\":[513,\"href-template\"]}]]],[\"atomic-result-localized-text\",[[0,\"atomic-result-localized-text\",{\"localeKey\":[1,\"locale-key\"],\"field\":[16],\"fieldCount\":[1,\"field-count\"],\"error\":[32]}]]],[\"atomic-result-multi-value-text\",[[1,\"atomic-result-multi-value-text\",{\"field\":[513],\"maxValuesToDisplay\":[514,\"max-values-to-display\"],\"delimiter\":[513],\"error\":[32]}]]],[\"atomic-result-printable-uri\",[[0,\"atomic-result-printable-uri\",{\"maxNumberOfParts\":[514,\"max-number-of-parts\"],\"listExpanded\":[32],\"error\":[32]}]]],[\"atomic-result-rating\",[[1,\"atomic-result-rating\",{\"field\":[513],\"maxValueInIndex\":[514,\"max-value-in-index\"],\"icon\":[513],\"error\":[32],\"numberOfStars\":[32]}]]],[\"atomic-result-timespan\",[[0,\"atomic-result-timespan\",{\"field\":[513],\"unit\":[513],\"format\":[513],\"error\":[32]}]]],[\"atomic-segmented-facet\",[[1,\"atomic-segmented-facet\",{\"facetId\":[1537,\"facet-id\"],\"field\":[513],\"label\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[2,\"injection-depth\"],\"numberOfValues\":[514,\"number-of-values\"],\"sortCriteria\":[513,\"sort-criteria\"],\"dependsOn\":[16],\"allowedValues\":[1025,\"allowed-values\"],\"customSort\":[1025,\"custom-sort\"],\"searchStatusState\":[32],\"tabManagerState\":[32],\"facetState\":[32],\"error\":[32]}]]],[\"atomic-segmented-facet-scrollable\",[[1,\"atomic-segmented-facet-scrollable\",{\"searchStatusState\":[32],\"error\":[32],\"hideLeftArrow\":[32],\"hideRightArrow\":[32]},[[1,\"wheel\",\"handleScroll\"],[1,\"touchmove\",\"handleScroll\"],[0,\"keydown\",\"handleScroll\"]]]]],[\"atomic-sort-dropdown\",[[1,\"atomic-sort-dropdown\",{\"sortState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-sort-expression\",[[0,\"atomic-sort-expression\",{\"label\":[513],\"expression\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"]}]]],[\"atomic-stencil-facet-date-input\",[[0,\"atomic-stencil-facet-date-input\",{\"bindings\":[16],\"rangeGetter\":[16],\"rangeSetter\":[16],\"facetId\":[1,\"facet-id\"],\"label\":[1],\"min\":[1],\"max\":[1],\"start\":[32],\"end\":[32]}]]],[\"atomic-tab\",[[0,\"atomic-tab\",{\"label\":[1],\"name\":[1],\"expression\":[1]}]]],[\"atomic-table-element\",[[0,\"atomic-table-element\",{\"label\":[513]}]]],[\"atomic-timeframe\",[[0,\"atomic-timeframe\",{\"period\":[513],\"unit\":[513],\"amount\":[514],\"label\":[513]}]]],[\"atomic-timeframe-facet\",[[1,\"atomic-timeframe-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"withDatePicker\":[516,\"with-date-picker\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"min\":[513],\"max\":[513],\"sortCriteria\":[513,\"sort-criteria\"],\"facetState\":[32],\"facetForDatePickerState\":[32],\"filterState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]},[[0,\"atomic/dateInputApply\",\"applyDateInput\"]]]]],[\"atomic-insight-user-actions-modal\",[[1,\"atomic-insight-user-actions-modal\",{\"openButton\":[1040],\"isOpen\":[1540,\"is-open\"],\"userId\":[1,\"user-id\"],\"ticketCreationDateTime\":[1,\"ticket-creation-date-time\"],\"excludedCustomActions\":[16],\"error\":[32],\"interfaceDimensions\":[32]},null,{\"isOpen\":[\"watchEnabled\"]}]]],[\"atomic-refine-modal\",[[1,\"atomic-refine-modal\",{\"openButton\":[1040],\"isOpen\":[1540,\"is-open\"],\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"querySummaryState\":[32],\"breadcrumbManagerState\":[32],\"facetManagerState\":[32],\"sortState\":[32],\"tabManagerState\":[32],\"error\":[32]},null,{\"isOpen\":[\"watchEnabled\"]}]]],[\"atomic-insight-refine-modal\",[[1,\"atomic-insight-refine-modal\",{\"openButton\":[1040],\"isOpen\":[1540,\"is-open\"],\"querySummaryState\":[32],\"breadcrumbManagerState\":[32],\"error\":[32],\"interfaceDimensions\":[32]},null,{\"isOpen\":[\"watchEnabled\"]}]]],[\"atomic-insight-smart-snippet-feedback-modal\",[[1,\"atomic-insight-smart-snippet-feedback-modal\",{\"source\":[1040],\"isOpen\":[1540,\"is-open\"],\"error\":[32],\"currentAnswer\":[32]},null,{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-ipx-refine-modal\",[[1,\"atomic-ipx-refine-modal\",{\"openButton\":[1040],\"isOpen\":[1540,\"is-open\"],\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"querySummaryState\":[32],\"breadcrumbManagerState\":[32],\"error\":[32],\"interfaceDimensions\":[32]},null,{\"isOpen\":[\"watchEnabled\"]}]]],[\"atomic-smart-snippet-feedback-modal\",[[1,\"atomic-smart-snippet-feedback-modal\",{\"source\":[1040],\"isOpen\":[1540,\"is-open\"],\"error\":[32],\"currentAnswer\":[32]},null,{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-tab-button\",[[0,\"atomic-tab-button\",{\"label\":[1],\"active\":[4],\"select\":[16]}]]],[\"atomic-facet-number-input\",[[0,\"atomic-facet-number-input\",{\"bindings\":[16],\"type\":[1],\"filter\":[16],\"filterState\":[16],\"label\":[1],\"start\":[32],\"end\":[32]}]]],[\"atomic-ipx-body\",[[1,\"atomic-ipx-body\",{\"isOpen\":[1028,\"is-open\"],\"displayFooterSlot\":[516,\"display-footer-slot\"],\"error\":[32]}]]],[\"atomic-quickview-modal\",[[1,\"atomic-quickview-modal\",{\"content\":[1025],\"result\":[1040],\"current\":[2],\"total\":[2],\"sandbox\":[1],\"modalCloseCallback\":[16],\"error\":[32],\"highlightKeywords\":[32],\"minimizeSidebar\":[32],\"words\":[32],\"reset\":[64]},null,{\"highlightKeywords\":[\"watchHighlightKeywords\"]}]]],[\"atomic-recs-result\",[[1,\"atomic-recs-result\",{\"stopPropagation\":[4,\"stop-propagation\"],\"linkContent\":[16],\"result\":[16],\"interactiveResult\":[16],\"store\":[16],\"content\":[16],\"display\":[1],\"density\":[1],\"imageSize\":[1,\"image-size\"],\"classes\":[1],\"loadingFlag\":[1,\"loading-flag\"],\"renderingFunction\":[16]},[[0,\"click\",\"handleClick\"],[0,\"atomic/resolveResult\",\"resolveResult\"],[0,\"atomic/resolveInteractiveResult\",\"resolveInteractiveResult\"],[0,\"atomic/resolveStopPropagation\",\"resolveStopPropagation\"],[0,\"atomic/resolveResultDisplayConfig\",\"resolveResultDisplayConfig\"]]]]],[\"atomic-suggestion-renderer\",[[0,\"atomic-suggestion-renderer\",{\"i18n\":[16],\"id\":[1],\"suggestion\":[16],\"isSelected\":[4,\"is-selected\"],\"side\":[1],\"index\":[2],\"lastIndex\":[2,\"last-index\"],\"isDoubleList\":[4,\"is-double-list\"],\"onClick\":[16],\"onMouseOver\":[16]}]]],[\"atomic-insight-result\",[[1,\"atomic-insight-result\",{\"stopPropagation\":[4,\"stop-propagation\"],\"result\":[16],\"interactiveResult\":[16],\"store\":[16],\"content\":[16],\"density\":[1],\"imageSize\":[1,\"image-size\"],\"classes\":[1],\"loadingFlag\":[1,\"loading-flag\"]},[[0,\"atomic/resolveResult\",\"resolveResult\"],[0,\"atomic/resolveInteractiveResult\",\"resolveInteractiveResult\"],[0,\"atomic/resolveStopPropagation\",\"resolveStopPropagation\"],[0,\"atomic/resolveResultDisplayConfig\",\"resolveResultDisplayConfig\"]]]]],[\"atomic-smart-snippet-collapse-wrapper_2\",[[1,\"atomic-smart-snippet-expandable-answer\",{\"expanded\":[516],\"htmlContent\":[1,\"html-content\"],\"maximumHeight\":[514,\"maximum-height\"],\"collapsedHeight\":[514,\"collapsed-height\"],\"snippetStyle\":[1,\"snippet-style\"],\"fullHeight\":[32]},null,{\"fullHeight\":[\"fullHeightUpdated\"]}],[1,\"atomic-smart-snippet-collapse-wrapper\",{\"maximumHeight\":[514,\"maximum-height\"],\"collapsedHeight\":[514,\"collapsed-height\"],\"isExpanded\":[32],\"showButton\":[32],\"fullHeight\":[32]}]]],[\"atomic-automatic-facet_2\",[[0,\"atomic-automatic-facet-generator\",{\"desiredCount\":[514,\"desired-count\"],\"numberOfValues\":[514,\"number-of-values\"],\"error\":[32],\"automaticFacetGeneratorState\":[32],\"searchStatusState\":[32],\"collapseFacetsAfter\":[32],\"updateCollapseFacetsDependingOnFacetsVisibility\":[64]}],[1,\"atomic-automatic-facet\",{\"field\":[513],\"facetId\":[513,\"facet-id\"],\"facet\":[16],\"searchStatus\":[16],\"isCollapsed\":[1540,\"is-collapsed\"],\"error\":[32]}]]],[\"atomic-insight-user-actions-session_2\",[[1,\"atomic-insight-user-actions-timeline\",{\"userId\":[1,\"user-id\"],\"ticketCreationDateTime\":[1,\"ticket-creation-date-time\"],\"excludedCustomActions\":[16],\"userActionsState\":[32],\"followingSessionsAreVisible\":[32],\"precedingSessionsAreVisible\":[32]}],[1,\"atomic-insight-user-actions-session\",{\"startTimestamp\":[2,\"start-timestamp\"],\"userActions\":[16],\"error\":[32],\"areActionsAfterCaseCreationVisible\":[32]},null,{\"userActions\":[\"prepareUserActionsToDisplay\"]}]]],[\"atomic-tab-bar_2\",[[1,\"atomic-tab-bar\",{\"popoverTabs\":[32]},[[0,\"atomic/tabRendered\",\"resolveResult\"]]],[1,\"atomic-tab-popover\",{\"show\":[32],\"error\":[32],\"isOpen\":[32],\"toggle\":[64],\"setButtonVisibility\":[64],\"closePopoverOnFocusOut\":[64]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"atomic-smart-snippet-answer_2\",[[0,\"atomic-smart-snippet-source\",{\"source\":[1040],\"anchorAttributes\":[16],\"error\":[32]},[[0,\"atomic/resolveResult\",\"resolveResult\"]]],[1,\"atomic-smart-snippet-answer\",{\"htmlContent\":[1,\"html-content\"],\"innerStyle\":[1,\"inner-style\"]}]]],[\"atomic-result-placeholder_2\",[[1,\"atomic-result-placeholder\",{\"display\":[1],\"density\":[1],\"imageSize\":[1,\"image-size\"]}],[1,\"atomic-result-table-placeholder\",{\"density\":[1],\"imageSize\":[1,\"image-size\"],\"rows\":[2]}]]]]"), options);
19
+ return bootstrapLazy(JSON.parse("[[\"atomic-insight-smart-snippet\",[[1,\"atomic-insight-smart-snippet\",{\"headingLevel\":[514,\"heading-level\"],\"maximumHeight\":[514,\"maximum-height\"],\"collapsedHeight\":[514,\"collapsed-height\"],\"snippetStyle\":[513,\"snippet-style\"],\"smartSnippetState\":[32],\"feedbackSent\":[32]}]]],[\"atomic-smart-snippet\",[[1,\"atomic-smart-snippet\",{\"headingLevel\":[514,\"heading-level\"],\"maximumHeight\":[514,\"maximum-height\"],\"collapsedHeight\":[514,\"collapsed-height\"],\"snippetStyle\":[513,\"snippet-style\"],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"snippetMaximumHeight\":[514,\"snippet-maximum-height\"],\"snippetCollapsedHeight\":[514,\"snippet-collapsed-height\"],\"smartSnippetState\":[32],\"tabManagerState\":[32],\"feedbackSent\":[32]},[[0,\"selectInlineLink\",\"onSelectInlineLink\"],[0,\"beginDelayedSelectInlineLink\",\"onBeginDelayedSelectInlineLink\"],[0,\"cancelPendingSelectInlineLink\",\"onCancelPendingSelectInlineLink\"]]]]],[\"atomic-insight-folded-result-list\",[[1,\"atomic-insight-folded-result-list\",{\"density\":[513],\"imageSize\":[513,\"image-size\"],\"collectionField\":[513,\"collection-field\"],\"parentField\":[513,\"parent-field\"],\"childField\":[513,\"child-field\"],\"foldedResultListState\":[32],\"resultsPerPageState\":[32],\"resultTemplateRegistered\":[32],\"error\":[32],\"isAppLoaded\":[32],\"templateHasError\":[32],\"setRenderFunction\":[64]},[[0,\"atomic/resolveFoldedResultList\",\"resolveFoldedResultList\"],[0,\"atomic/loadCollection\",\"loadCollection\"]]]]],[\"atomic-insight-result-children\",[[1,\"atomic-insight-result-children\",{\"inheritTemplates\":[4,\"inherit-templates\"],\"imageSize\":[513,\"image-size\"],\"noResultText\":[1,\"no-result-text\"],\"error\":[32],\"resultTemplateRegistered\":[32],\"templateHasError\":[32],\"foldedResultListState\":[32],\"showInitialChildren\":[32]},[[0,\"atomic/resolveChildTemplates\",\"resolveChildTemplates\"]]]]],[\"atomic-insight-result-list\",[[1,\"atomic-insight-result-list\",{\"density\":[513],\"imageSize\":[513,\"image-size\"],\"resultsPerPageState\":[32],\"resultListState\":[32],\"templateHasError\":[32],\"resultTemplateRegistered\":[32],\"error\":[32],\"isAppLoaded\":[32],\"setRenderFunction\":[64]}]]],[\"atomic-insight-user-actions-toggle\",[[1,\"atomic-insight-user-actions-toggle\",{\"userId\":[1,\"user-id\"],\"ticketCreationDateTime\":[1,\"ticket-creation-date-time\"],\"excludedCustomActions\":[16],\"userActionsState\":[32],\"error\":[32]}]]],[\"atomic-ipx-recs-list\",[[1,\"atomic-ipx-recs-list\",{\"recommendation\":[513],\"display\":[513],\"density\":[513],\"imageSize\":[513,\"image-size\"],\"numberOfRecommendations\":[514,\"number-of-recommendations\"],\"numberOfRecommendationsPerPage\":[514,\"number-of-recommendations-per-page\"],\"label\":[513],\"headingLevel\":[514,\"heading-level\"],\"error\":[32],\"isAppLoaded\":[32],\"resultTemplateRegistered\":[32],\"templateHasError\":[32],\"currentPage\":[32],\"recommendationListState\":[32],\"setRenderFunction\":[64],\"previousPage\":[64],\"nextPage\":[64]},null,{\"numberOfRecommendationsPerPage\":[\"watchNumberOfRecommendationsPerPage\"]}]]],[\"atomic-recs-list\",[[1,\"atomic-recs-list\",{\"recommendation\":[513],\"display\":[513],\"density\":[513],\"imageSize\":[513,\"image-size\"],\"numberOfRecommendations\":[514,\"number-of-recommendations\"],\"numberOfRecommendationsPerPage\":[514,\"number-of-recommendations-per-page\"],\"label\":[513],\"headingLevel\":[514,\"heading-level\"],\"error\":[32],\"isAppLoaded\":[32],\"resultTemplateRegistered\":[32],\"templateHasError\":[32],\"currentPage\":[32],\"recommendationListState\":[32],\"setRenderFunction\":[64],\"previousPage\":[64],\"nextPage\":[64]},null,{\"numberOfRecommendationsPerPage\":[\"watchNumberOfRecommendationsPerPage\"]}]]],[\"atomic-refine-toggle\",[[1,\"atomic-refine-toggle\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"error\":[32],\"searchStatusState\":[32]}]]],[\"atomic-tab-manager\",[[1,\"atomic-tab-manager\",{\"clearFiltersOnTabChange\":[4,\"clear-filters-on-tab-change\"],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-folded-result-list\",[[1,\"atomic-folded-result-list\",{\"density\":[513],\"imageSize\":[513,\"image-size\"],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"collectionField\":[513,\"collection-field\"],\"parentField\":[513,\"parent-field\"],\"childField\":[513,\"child-field\"],\"numberOfFoldedResults\":[514,\"number-of-folded-results\"],\"foldedResultListState\":[32],\"resultsPerPageState\":[32],\"tabManagerState\":[32],\"resultTemplateRegistered\":[32],\"error\":[32],\"templateHasError\":[32],\"isAppLoaded\":[32],\"setRenderFunction\":[64]},[[0,\"atomic/resolveFoldedResultList\",\"resolveFoldedResultList\"],[0,\"atomic/loadCollection\",\"loadCollection\"]],{\"tabManagerState\":[\"watchTabManagerState\"]}]]],[\"atomic-insight-smart-snippet-suggestions\",[[1,\"atomic-insight-smart-snippet-suggestions\",{\"headingLevel\":[514,\"heading-level\"],\"snippetStyle\":[1,\"snippet-style\"],\"smartSnippetQuestionsListState\":[32]}]]],[\"atomic-insight-tabs\",[[4,\"atomic-insight-tabs\",{\"error\":[32]}]]],[\"atomic-ipx-tabs\",[[4,\"atomic-ipx-tabs\",{\"error\":[32]}]]],[\"atomic-result-children\",[[1,\"atomic-result-children\",{\"inheritTemplates\":[4,\"inherit-templates\"],\"imageSize\":[513,\"image-size\"],\"noResultText\":[1,\"no-result-text\"],\"error\":[32],\"resultTemplateRegistered\":[32],\"templateHasError\":[32],\"foldedResultListState\":[32],\"showInitialChildren\":[32],\"loadedFullCollection\":[32]},[[0,\"atomic/resolveChildTemplates\",\"resolveChildTemplates\"]]]]],[\"atomic-smart-snippet-suggestions\",[[1,\"atomic-smart-snippet-suggestions\",{\"headingLevel\":[514,\"heading-level\"],\"snippetStyle\":[1,\"snippet-style\"],\"smartSnippetQuestionsListState\":[32]}]]],[\"atomic-insight-numeric-facet\",[[1,\"atomic-insight-numeric-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"numberOfValues\":[514,\"number-of-values\"],\"withInput\":[513,\"with-input\"],\"sortCriteria\":[513,\"sort-criteria\"],\"rangeAlgorithm\":[513,\"range-algorithm\"],\"displayValuesAs\":[513,\"display-values-as\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"facetState\":[32],\"filterState\":[32],\"searchStatusState\":[32],\"error\":[32],\"facetForInputState\":[32]},[[0,\"atomic/numberFormat\",\"setFormat\"],[0,\"atomic/numberInputApply\",\"applyNumberInput\"]]]]],[\"atomic-insight-refine-toggle\",[[1,\"atomic-insight-refine-toggle\",{\"error\":[32],\"breadcrumbManagerState\":[32],\"searchStatusState\":[32]}]]],[\"atomic-insight-result-quickview-action\",[[0,\"atomic-insight-result-quickview-action\",{\"sandbox\":[1],\"error\":[32],\"quickviewState\":[32]},[[16,\"atomic/quickview/next\",\"onNextQuickview\"],[16,\"atomic/quickview/previous\",\"onPreviousQuickview\"]]]]],[\"atomic-insight-search-box\",[[1,\"atomic-insight-search-box\",{\"disableSearch\":[516,\"disable-search\"],\"numberOfSuggestions\":[514,\"number-of-suggestions\"],\"searchBoxState\":[32],\"error\":[32],\"isExpanded\":[32]}]]],[\"atomic-ipx-embedded\",[[1,\"atomic-ipx-embedded\",{\"container\":[1040],\"error\":[32],\"hasFooterSlotElements\":[32]}]]],[\"atomic-ipx-modal\",[[1,\"atomic-ipx-modal\",{\"source\":[1040],\"container\":[1040],\"isOpen\":[1540,\"is-open\"],\"error\":[32],\"hasFooterSlotElements\":[32]},[[0,\"touchmove\",\"onWindowTouchMove\"]],{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-ipx-refine-toggle\",[[1,\"atomic-ipx-refine-toggle\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"error\":[32],\"breadcrumbManagerState\":[32],\"searchStatusState\":[32]}]]],[\"atomic-numeric-facet\",[[1,\"atomic-numeric-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"numberOfValues\":[514,\"number-of-values\"],\"withInput\":[513,\"with-input\"],\"sortCriteria\":[513,\"sort-criteria\"],\"rangeAlgorithm\":[513,\"range-algorithm\"],\"displayValuesAs\":[513,\"display-values-as\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"facetState\":[32],\"filterState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32],\"facetForInputState\":[32]},[[0,\"atomic/numberFormat\",\"setFormat\"],[0,\"atomic/numberInputApply\",\"applyNumberInput\"]]]]],[\"atomic-quickview\",[[1,\"atomic-quickview\",{\"sandbox\":[1],\"error\":[32],\"quickviewState\":[32]},[[16,\"atomic/quickview/next\",\"onNextQuickview\"],[16,\"atomic/quickview/previous\",\"onPreviousQuickview\"]]]]],[\"atomic-search-box\",[[1,\"atomic-search-box\",{\"numberOfQueries\":[514,\"number-of-queries\"],\"redirectionUrl\":[513,\"redirection-url\"],\"suggestionTimeout\":[2,\"suggestion-timeout\"],\"suggestionDelay\":[2,\"suggestion-delay\"],\"disableSearch\":[516,\"disable-search\"],\"minimumQueryLength\":[514,\"minimum-query-length\"],\"clearFilters\":[516,\"clear-filters\"],\"enableQuerySyntax\":[516,\"enable-query-syntax\"],\"searchBoxState\":[32],\"error\":[32],\"isExpanded\":[32]},[[0,\"atomic/searchBoxSuggestion/register\",\"registerSuggestions\"]],{\"redirectionUrl\":[\"watchRedirectionUrl\"]}]]],[\"atomic-breadbox\",[[1,\"atomic-breadbox\",{\"pathLimit\":[2,\"path-limit\"],\"breadcrumbManagerState\":[32],\"facetManagerState\":[32],\"error\":[32],\"isCollapsed\":[32]}]]],[\"atomic-category-facet\",[[1,\"atomic-category-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"numberOfValues\":[514,\"number-of-values\"],\"withSearch\":[516,\"with-search\"],\"sortCriteria\":[513,\"sort-criteria\"],\"delimitingCharacter\":[513,\"delimiting-character\"],\"basePath\":[1537,\"base-path\"],\"filterByBasePath\":[516,\"filter-by-base-path\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"facetState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-citation\",[[0,\"atomic-citation\",{\"citation\":[16],\"index\":[2],\"sendHoverEndEvent\":[16],\"interactiveCitation\":[16],\"disableCitationAnchoring\":[4,\"disable-citation-anchoring\"],\"isOpen\":[32]},null,{\"isOpen\":[\"sendHoverAnalytics\"]}]]],[\"atomic-color-facet\",[[1,\"atomic-color-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"numberOfValues\":[514,\"number-of-values\"],\"withSearch\":[516,\"with-search\"],\"sortCriteria\":[513,\"sort-criteria\"],\"resultsMustMatch\":[513,\"results-must-match\"],\"displayValuesAs\":[513,\"display-values-as\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"allowedValues\":[1025,\"allowed-values\"],\"customSort\":[1025,\"custom-sort\"],\"facetState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-did-you-mean\",[[1,\"atomic-did-you-mean\",{\"automaticallyCorrectQuery\":[516,\"automatically-correct-query\"],\"queryCorrectionMode\":[513,\"query-correction-mode\"],\"didYouMeanState\":[32],\"queryTriggerState\":[32],\"error\":[32]},null,{\"queryCorrectionMode\":[\"updateQueryCorrectionMode\"]}]]],[\"atomic-facet-manager\",[[4,\"atomic-facet-manager\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"facetManagerState\":[32],\"error\":[32]}]]],[\"atomic-format-currency\",[[1,\"atomic-format-currency\",{\"currency\":[513],\"error\":[32]}]]],[\"atomic-format-number\",[[1,\"atomic-format-number\",{\"minimumIntegerDigits\":[514,\"minimum-integer-digits\"],\"minimumFractionDigits\":[514,\"minimum-fraction-digits\"],\"maximumFractionDigits\":[514,\"maximum-fraction-digits\"],\"minimumSignificantDigits\":[514,\"minimum-significant-digits\"],\"maximumSignificantDigits\":[514,\"maximum-significant-digits\"],\"error\":[32]}]]],[\"atomic-format-unit\",[[1,\"atomic-format-unit\",{\"unit\":[513],\"unitDisplay\":[513,\"unit-display\"],\"error\":[32]}]]],[\"atomic-generated-answer\",[[1,\"atomic-generated-answer\",{\"withToggle\":[4,\"with-toggle\"],\"collapsible\":[4],\"maxCollapsedHeight\":[2,\"max-collapsed-height\"],\"answerConfigurationId\":[1,\"answer-configuration-id\"],\"fieldsToIncludeInCitations\":[1,\"fields-to-include-in-citations\"],\"disableCitationAnchoring\":[4,\"disable-citation-anchoring\"],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"generatedAnswerState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32],\"copied\":[32],\"copyError\":[32]},null,{\"generatedAnswerState\":[\"updateAnswerCollapsed\"],\"tabManagerState\":[\"watchTabManagerState\"]}]]],[\"atomic-generated-answer-feedback-modal\",[[1,\"atomic-generated-answer-feedback-modal\",{\"isOpen\":[1540,\"is-open\"],\"generatedAnswer\":[1040],\"helpful\":[1540],\"error\":[32],\"currentAnswer\":[32],\"feedbackSubmitted\":[32],\"answerEvaluationRequired\":[32]},null,{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-insight-edit-toggle\",[[1,\"atomic-insight-edit-toggle\",{\"clickCallback\":[1040],\"tooltip\":[1025]}]]],[\"atomic-insight-facet\",[[1,\"atomic-insight-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"numberOfValues\":[514,\"number-of-values\"],\"sortCriteria\":[513,\"sort-criteria\"],\"resultsMustMatch\":[513,\"results-must-match\"],\"displayValuesAs\":[513,\"display-values-as\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[2,\"injection-depth\"],\"enableExclusion\":[516,\"enable-exclusion\"],\"facetState\":[32],\"searchStatusState\":[32],\"error\":[32]}]]],[\"atomic-insight-full-search-button\",[[1,\"atomic-insight-full-search-button\",{\"tooltip\":[1025],\"error\":[32]}]]],[\"atomic-insight-generated-answer\",[[1,\"atomic-insight-generated-answer\",{\"withToggle\":[4,\"with-toggle\"],\"collapsible\":[4],\"maxCollapsedHeight\":[2,\"max-collapsed-height\"],\"answerConfigurationId\":[1,\"answer-configuration-id\"],\"fieldsToIncludeInCitations\":[1,\"fields-to-include-in-citations\"],\"disableCitationAnchoring\":[4,\"disable-citation-anchoring\"],\"generatedAnswerState\":[32],\"searchStatusState\":[32],\"error\":[32],\"copied\":[32],\"copyError\":[32]},null,{\"generatedAnswerState\":[\"updateAnswerCollapsed\"]}]]],[\"atomic-insight-history-toggle\",[[1,\"atomic-insight-history-toggle\",{\"clickCallback\":[1040],\"tooltip\":[1025]}]]],[\"atomic-insight-layout\",[[0,\"atomic-insight-layout\",{\"widget\":[1540]},null,{\"widget\":[\"updateStyles\"]}]]],[\"atomic-insight-no-results\",[[1,\"atomic-insight-no-results\",{\"searchStatusState\":[32],\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-insight-pager\",[[1,\"atomic-insight-pager\",{\"numberOfPages\":[514,\"number-of-pages\"],\"pagerState\":[32],\"searchStatusState\":[32],\"error\":[32]}]]],[\"atomic-insight-query-error\",[[1,\"atomic-insight-query-error\",{\"queryErrorState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-insight-query-summary\",[[1,\"atomic-insight-query-summary\",{\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-insight-result-action\",[[0,\"atomic-insight-result-action\",{\"icon\":[1025],\"tooltip\":[1025],\"tooltipOnClick\":[1025,\"tooltip-on-click\"],\"action\":[1025],\"error\":[32]}]]],[\"atomic-insight-result-action-bar\",[[0,\"atomic-insight-result-action-bar\"]]],[\"atomic-insight-result-attach-to-case-action\",[[0,\"atomic-insight-result-attach-to-case-action\",{\"error\":[32],\"attachToCaseState\":[32]}]]],[\"atomic-insight-result-attach-to-case-indicator\",[[0,\"atomic-insight-result-attach-to-case-indicator\",{\"error\":[32],\"attachToCaseState\":[32]}]]],[\"atomic-insight-result-children-template\",[[1,\"atomic-insight-result-children-template\",{\"conditions\":[16],\"ifDefined\":[513,\"if-defined\"],\"ifNotDefined\":[513,\"if-not-defined\"],\"mustMatch\":[16],\"mustNotMatch\":[16],\"error\":[32],\"getTemplate\":[64]}]]],[\"atomic-insight-result-template\",[[1,\"atomic-insight-result-template\",{\"conditions\":[16],\"ifDefined\":[513,\"if-defined\"],\"ifNotDefined\":[513,\"if-not-defined\"],\"mustMatch\":[16],\"mustNotMatch\":[16],\"error\":[32],\"getTemplate\":[64]}]]],[\"atomic-insight-tab\",[[1,\"atomic-insight-tab\",{\"label\":[513],\"active\":[1540],\"expression\":[1],\"error\":[32],\"isAppLoaded\":[32],\"tabState\":[32],\"select\":[64]}]]],[\"atomic-insight-timeframe-facet\",[[1,\"atomic-insight-timeframe-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"withDatePicker\":[516,\"with-date-picker\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"sortCriteria\":[513,\"sort-criteria\"],\"facetState\":[32],\"facetForDatePickerState\":[32],\"filterState\":[32],\"searchStatusState\":[32],\"error\":[32]},[[0,\"atomic/dateInputApply\",\"applyDateInput\"]]]]],[\"atomic-ipx-button\",[[1,\"atomic-ipx-button\",{\"label\":[513],\"closeIcon\":[513,\"close-icon\"],\"openIcon\":[513,\"open-icon\"],\"isModalOpen\":[1540,\"is-modal-open\"],\"error\":[32]}]]],[\"atomic-ipx-result-link\",[[4,\"atomic-ipx-result-link\",{\"hrefTemplate\":[513,\"href-template\"]}]]],[\"atomic-ipx-tab\",[[1,\"atomic-ipx-tab\",{\"label\":[513],\"active\":[1540],\"expression\":[1],\"error\":[32],\"isAppLoaded\":[32],\"tabState\":[32],\"select\":[64]}]]],[\"atomic-no-results\",[[1,\"atomic-no-results\",{\"enableCancelLastAction\":[516,\"enable-cancel-last-action\"],\"searchStatusState\":[32],\"historyState\":[32],\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-notifications\",[[1,\"atomic-notifications\",{\"headingLevel\":[514,\"heading-level\"],\"icon\":[513],\"notifyTriggerState\":[32],\"error\":[32]}]]],[\"atomic-popover\",[[1,\"atomic-popover\",{\"searchStatusState\":[32],\"facetState\":[32],\"error\":[32],\"isOpen\":[32],\"childFacet\":[32]},[[0,\"atomic/initializePopover\",\"initializePopover\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"atomic-rating-facet\",[[1,\"atomic-rating-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"numberOfIntervals\":[514,\"number-of-intervals\"],\"maxValueInIndex\":[514,\"max-value-in-index\"],\"minValueInIndex\":[514,\"min-value-in-index\"],\"displayValuesAs\":[513,\"display-values-as\"],\"icon\":[513],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"facetState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-rating-range-facet\",[[1,\"atomic-rating-range-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"numberOfIntervals\":[514,\"number-of-intervals\"],\"maxValueInIndex\":[514,\"max-value-in-index\"],\"minValueInIndex\":[514,\"min-value-in-index\"],\"icon\":[513],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"facetState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-recs-error\",[[1,\"atomic-recs-error\",{\"recommendationListState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-recs-result-template\",[[1,\"atomic-recs-result-template\",{\"conditions\":[16],\"ifDefined\":[513,\"if-defined\"],\"ifNotDefined\":[513,\"if-not-defined\"],\"mustMatch\":[16],\"mustNotMatch\":[16],\"error\":[32],\"getTemplate\":[64]}]]],[\"atomic-result-date\",[[0,\"atomic-result-date\",{\"field\":[513],\"format\":[513],\"relativeTime\":[516,\"relative-time\"],\"error\":[32]}]]],[\"atomic-result-fields-list\",[[0,\"atomic-result-fields-list\"]]],[\"atomic-result-icon\",[[1,\"atomic-result-icon\"]]],[\"atomic-result-image\",[[0,\"atomic-result-image\",{\"field\":[513],\"imageAltField\":[513,\"image-alt-field\"],\"fallback\":[513],\"useFallback\":[32]}]]],[\"atomic-result-link\",[[4,\"atomic-result-link\",{\"hrefTemplate\":[513,\"href-template\"]}]]],[\"atomic-result-localized-text\",[[0,\"atomic-result-localized-text\",{\"localeKey\":[1,\"locale-key\"],\"field\":[16],\"fieldCount\":[1,\"field-count\"],\"error\":[32]}]]],[\"atomic-result-multi-value-text\",[[1,\"atomic-result-multi-value-text\",{\"field\":[513],\"maxValuesToDisplay\":[514,\"max-values-to-display\"],\"delimiter\":[513],\"error\":[32]}]]],[\"atomic-result-printable-uri\",[[0,\"atomic-result-printable-uri\",{\"maxNumberOfParts\":[514,\"max-number-of-parts\"],\"listExpanded\":[32],\"error\":[32]}]]],[\"atomic-result-rating\",[[1,\"atomic-result-rating\",{\"field\":[513],\"maxValueInIndex\":[514,\"max-value-in-index\"],\"icon\":[513],\"error\":[32],\"numberOfStars\":[32]}]]],[\"atomic-result-timespan\",[[0,\"atomic-result-timespan\",{\"field\":[513],\"unit\":[513],\"format\":[513],\"error\":[32]}]]],[\"atomic-segmented-facet\",[[1,\"atomic-segmented-facet\",{\"facetId\":[1537,\"facet-id\"],\"field\":[513],\"label\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[2,\"injection-depth\"],\"numberOfValues\":[514,\"number-of-values\"],\"sortCriteria\":[513,\"sort-criteria\"],\"dependsOn\":[16],\"allowedValues\":[1025,\"allowed-values\"],\"customSort\":[1025,\"custom-sort\"],\"searchStatusState\":[32],\"tabManagerState\":[32],\"facetState\":[32],\"error\":[32]}]]],[\"atomic-segmented-facet-scrollable\",[[1,\"atomic-segmented-facet-scrollable\",{\"searchStatusState\":[32],\"error\":[32],\"hideLeftArrow\":[32],\"hideRightArrow\":[32]},[[1,\"wheel\",\"handleScroll\"],[1,\"touchmove\",\"handleScroll\"],[0,\"keydown\",\"handleScroll\"]]]]],[\"atomic-sort-dropdown\",[[1,\"atomic-sort-dropdown\",{\"sortState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-sort-expression\",[[0,\"atomic-sort-expression\",{\"label\":[513],\"expression\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"]}]]],[\"atomic-stencil-facet-date-input\",[[0,\"atomic-stencil-facet-date-input\",{\"bindings\":[16],\"rangeGetter\":[16],\"rangeSetter\":[16],\"facetId\":[1,\"facet-id\"],\"label\":[1],\"min\":[1],\"max\":[1],\"start\":[32],\"end\":[32]}]]],[\"atomic-tab\",[[0,\"atomic-tab\",{\"label\":[1],\"name\":[1],\"expression\":[1]}]]],[\"atomic-table-element\",[[0,\"atomic-table-element\",{\"label\":[513]}]]],[\"atomic-timeframe\",[[0,\"atomic-timeframe\",{\"period\":[513],\"unit\":[513],\"amount\":[514],\"label\":[513]}]]],[\"atomic-timeframe-facet\",[[1,\"atomic-timeframe-facet\",{\"facetId\":[1537,\"facet-id\"],\"label\":[513],\"field\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"withDatePicker\":[516,\"with-date-picker\"],\"isCollapsed\":[1540,\"is-collapsed\"],\"headingLevel\":[514,\"heading-level\"],\"filterFacetCount\":[516,\"filter-facet-count\"],\"injectionDepth\":[514,\"injection-depth\"],\"dependsOn\":[16],\"min\":[513],\"max\":[513],\"sortCriteria\":[513,\"sort-criteria\"],\"facetState\":[32],\"facetForDatePickerState\":[32],\"filterState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]},[[0,\"atomic/dateInputApply\",\"applyDateInput\"]]]]],[\"atomic-insight-user-actions-modal\",[[1,\"atomic-insight-user-actions-modal\",{\"openButton\":[1040],\"isOpen\":[1540,\"is-open\"],\"userId\":[1,\"user-id\"],\"ticketCreationDateTime\":[1,\"ticket-creation-date-time\"],\"excludedCustomActions\":[16],\"error\":[32],\"interfaceDimensions\":[32]},null,{\"isOpen\":[\"watchEnabled\"]}]]],[\"atomic-refine-modal\",[[1,\"atomic-refine-modal\",{\"openButton\":[1040],\"isOpen\":[1540,\"is-open\"],\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"querySummaryState\":[32],\"breadcrumbManagerState\":[32],\"facetManagerState\":[32],\"sortState\":[32],\"tabManagerState\":[32],\"error\":[32]},null,{\"isOpen\":[\"watchEnabled\"]}]]],[\"atomic-insight-refine-modal\",[[1,\"atomic-insight-refine-modal\",{\"openButton\":[1040],\"isOpen\":[1540,\"is-open\"],\"querySummaryState\":[32],\"breadcrumbManagerState\":[32],\"error\":[32],\"interfaceDimensions\":[32]},null,{\"isOpen\":[\"watchEnabled\"]}]]],[\"atomic-insight-smart-snippet-feedback-modal\",[[1,\"atomic-insight-smart-snippet-feedback-modal\",{\"source\":[1040],\"isOpen\":[1540,\"is-open\"],\"error\":[32],\"currentAnswer\":[32]},null,{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-ipx-refine-modal\",[[1,\"atomic-ipx-refine-modal\",{\"openButton\":[1040],\"isOpen\":[1540,\"is-open\"],\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"querySummaryState\":[32],\"breadcrumbManagerState\":[32],\"error\":[32],\"interfaceDimensions\":[32]},null,{\"isOpen\":[\"watchEnabled\"]}]]],[\"atomic-smart-snippet-feedback-modal\",[[1,\"atomic-smart-snippet-feedback-modal\",{\"source\":[1040],\"isOpen\":[1540,\"is-open\"],\"error\":[32],\"currentAnswer\":[32]},null,{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-tab-button\",[[0,\"atomic-tab-button\",{\"label\":[1],\"active\":[4],\"select\":[16]}]]],[\"atomic-facet-number-input\",[[0,\"atomic-facet-number-input\",{\"bindings\":[16],\"type\":[1],\"filter\":[16],\"filterState\":[16],\"label\":[1],\"start\":[32],\"end\":[32]}]]],[\"atomic-ipx-body\",[[1,\"atomic-ipx-body\",{\"isOpen\":[1028,\"is-open\"],\"displayFooterSlot\":[516,\"display-footer-slot\"],\"error\":[32]}]]],[\"atomic-quickview-modal\",[[1,\"atomic-quickview-modal\",{\"content\":[1025],\"result\":[1040],\"current\":[2],\"total\":[2],\"sandbox\":[1],\"modalCloseCallback\":[16],\"error\":[32],\"highlightKeywords\":[32],\"minimizeSidebar\":[32],\"words\":[32],\"reset\":[64]},null,{\"highlightKeywords\":[\"watchHighlightKeywords\"]}]]],[\"atomic-recs-result\",[[1,\"atomic-recs-result\",{\"stopPropagation\":[4,\"stop-propagation\"],\"linkContent\":[16],\"result\":[16],\"interactiveResult\":[16],\"store\":[16],\"content\":[16],\"display\":[1],\"density\":[1],\"imageSize\":[1,\"image-size\"],\"classes\":[1],\"loadingFlag\":[1,\"loading-flag\"],\"renderingFunction\":[16]},[[0,\"click\",\"handleClick\"],[0,\"atomic/resolveResult\",\"resolveResult\"],[0,\"atomic/resolveInteractiveResult\",\"resolveInteractiveResult\"],[0,\"atomic/resolveStopPropagation\",\"resolveStopPropagation\"],[0,\"atomic/resolveResultDisplayConfig\",\"resolveResultDisplayConfig\"]]]]],[\"atomic-suggestion-renderer\",[[0,\"atomic-suggestion-renderer\",{\"i18n\":[16],\"id\":[1],\"suggestion\":[16],\"isSelected\":[4,\"is-selected\"],\"side\":[1],\"index\":[2],\"lastIndex\":[2,\"last-index\"],\"isDoubleList\":[4,\"is-double-list\"],\"onClick\":[16],\"onMouseOver\":[16]}]]],[\"atomic-insight-result\",[[1,\"atomic-insight-result\",{\"stopPropagation\":[4,\"stop-propagation\"],\"result\":[16],\"interactiveResult\":[16],\"store\":[16],\"content\":[16],\"density\":[1],\"imageSize\":[1,\"image-size\"],\"classes\":[1],\"loadingFlag\":[1,\"loading-flag\"]},[[0,\"atomic/resolveResult\",\"resolveResult\"],[0,\"atomic/resolveInteractiveResult\",\"resolveInteractiveResult\"],[0,\"atomic/resolveStopPropagation\",\"resolveStopPropagation\"],[0,\"atomic/resolveResultDisplayConfig\",\"resolveResultDisplayConfig\"]]]]],[\"atomic-smart-snippet-collapse-wrapper_2\",[[1,\"atomic-smart-snippet-expandable-answer\",{\"expanded\":[516],\"htmlContent\":[1,\"html-content\"],\"maximumHeight\":[514,\"maximum-height\"],\"collapsedHeight\":[514,\"collapsed-height\"],\"snippetStyle\":[1,\"snippet-style\"],\"fullHeight\":[32]},null,{\"fullHeight\":[\"fullHeightUpdated\"]}],[1,\"atomic-smart-snippet-collapse-wrapper\",{\"maximumHeight\":[514,\"maximum-height\"],\"collapsedHeight\":[514,\"collapsed-height\"],\"isExpanded\":[32],\"showButton\":[32],\"fullHeight\":[32]}]]],[\"atomic-automatic-facet_2\",[[0,\"atomic-automatic-facet-generator\",{\"desiredCount\":[514,\"desired-count\"],\"numberOfValues\":[514,\"number-of-values\"],\"error\":[32],\"automaticFacetGeneratorState\":[32],\"searchStatusState\":[32],\"collapseFacetsAfter\":[32],\"updateCollapseFacetsDependingOnFacetsVisibility\":[64]}],[1,\"atomic-automatic-facet\",{\"field\":[513],\"facetId\":[513,\"facet-id\"],\"facet\":[16],\"searchStatus\":[16],\"isCollapsed\":[1540,\"is-collapsed\"],\"error\":[32]}]]],[\"atomic-insight-user-actions-session_2\",[[1,\"atomic-insight-user-actions-timeline\",{\"userId\":[1,\"user-id\"],\"ticketCreationDateTime\":[1,\"ticket-creation-date-time\"],\"excludedCustomActions\":[16],\"userActionsState\":[32],\"followingSessionsAreVisible\":[32],\"precedingSessionsAreVisible\":[32]}],[1,\"atomic-insight-user-actions-session\",{\"startTimestamp\":[2,\"start-timestamp\"],\"userActions\":[16],\"error\":[32],\"areActionsAfterCaseCreationVisible\":[32]},null,{\"userActions\":[\"prepareUserActionsToDisplay\"]}]]],[\"atomic-tab-bar_2\",[[1,\"atomic-tab-bar\",{\"popoverTabs\":[32]},[[0,\"atomic/tabRendered\",\"resolveResult\"]]],[1,\"atomic-tab-popover\",{\"show\":[32],\"error\":[32],\"isOpen\":[32],\"toggle\":[64],\"setButtonVisibility\":[64],\"closePopoverOnFocusOut\":[64]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"atomic-smart-snippet-answer_2\",[[0,\"atomic-smart-snippet-source\",{\"source\":[1040],\"anchorAttributes\":[16],\"error\":[32]},[[0,\"atomic/resolveResult\",\"resolveResult\"]]],[1,\"atomic-smart-snippet-answer\",{\"htmlContent\":[1,\"html-content\"],\"innerStyle\":[1,\"inner-style\"]}]]],[\"atomic-result-placeholder_2\",[[1,\"atomic-result-placeholder\",{\"display\":[1],\"density\":[1],\"imageSize\":[1,\"image-size\"]}],[1,\"atomic-result-table-placeholder\",{\"density\":[1],\"imageSize\":[1,\"image-size\"],\"rows\":[2]}]]]]"), options);
20
20
  });
21
21
 
22
22
  //# sourceMappingURL=atomic.js.map
@@ -1,4 +1,4 @@
1
- import { c as containsSections } from './item-layout-sections-4f105293.js';
1
+ import { c as containsSections } from './item-layout-sections-7f3f07d2.js';
2
2
 
3
3
  function getDisplayClass(display) {
4
4
  switch (display) {
@@ -100,4 +100,4 @@ class ItemLayout {
100
100
 
101
101
  export { ItemLayout as I, getItemDisplayClasses as a, getItemListDisplayClasses as g };
102
102
 
103
- //# sourceMappingURL=display-options-abcc4ce4.js.map
103
+ //# sourceMappingURL=display-options-1642f41a.js.map
@@ -1 +1 @@
1
- {"file":"display-options-abcc4ce4.js","mappings":";;AAkBA,SAAS,eAAe,CAAC,OAA0B;IACjD,QAAQ,OAAO;QACb,KAAK,MAAM;YACT,OAAO,cAAc,CAAC;QACxB,KAAK,OAAO;YACV,OAAO,eAAe,CAAC;QACzB;YACE,OAAO,cAAc,CAAC;KACzB;AACH,CAAC;AAED,SAAS,eAAe,CAAC,OAA2B;IAClD,QAAQ,OAAO;QACb,KAAK,aAAa;YAChB,OAAO,qBAAqB,CAAC;QAC/B,KAAK,SAAS;YACZ,OAAO,iBAAiB,CAAC;QAC3B;YACE,OAAO,gBAAgB,CAAC;KAC3B;AACH,CAAC;AAED,SAAS,aAAa,CAAC,KAA2B;IAChD,QAAQ,KAAK;QACX,KAAK,OAAO;YACV,OAAO,aAAa,CAAC;QACvB,KAAK,OAAO;YACV,OAAO,aAAa,CAAC;QACvB,KAAK,MAAM;YACT,OAAO,YAAY,CAAC;QACtB;YACE,OAAO,YAAY,CAAC;KACvB;AACH,CAAC;SAEeA,2BAAyB,CACvC,OAA0B,EAC1B,OAA2B,EAC3B,KAA2B,EAC3B,SAAkB,EAClB,YAAqB;IAErB,MAAM,OAAO,GAAGC,uBAAqB,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;IAE/D,IAAI,SAAS,EAAE;QACb,OAAO,CAAC,IAAI,CAAC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AqB,GAChCC,wBAA4B;AAE9B;;;MAGa,yBAAyB,GACpCC,4BAAgC;AAElC;;;MAGa,UAAU;IAMrB,YACE,QAAwB,EACxB,OAA0B,EAC1B,OAA2B,EAC3B,SAA+B;QAE/B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;KAC5B;IAEM,UAAU,CAAC,WAAoB;QACpC,OAAO,oBAAoB,CACzB;YACE,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,EACD,WAAW,CACZ,CAAC;KACH;;;;;","names":["getItemListDisplayClasses","getItemDisplayClasses","getItemDisplayClassesImport","getItemListDisplayClassesImport"],"sources":["src/components/common/layout/item-layout-utils.ts","src/components/common/layout/display-options.ts"],"sourcesContent":["import {\n containsSections,\n type ItemSectionTagName,\n} from './item-layout-sections';\n\nexport interface ItemLayoutConfig {\n children: HTMLCollection;\n display: ItemDisplayLayout;\n density: ItemDisplayDensity;\n imageSize: ItemDisplayImageSize;\n}\n\nexport type ItemDisplayBasicLayout = 'list' | 'grid';\nexport type ItemDisplayLayout = ItemDisplayBasicLayout | 'table';\nexport type ItemDisplayDensity = 'comfortable' | 'normal' | 'compact';\nexport type ItemDisplayImageSize = 'large' | 'small' | 'icon' | 'none';\nexport type ItemTarget = '_self' | '_blank' | '_parent' | '_top';\n\nfunction getDisplayClass(display: ItemDisplayLayout) {\n switch (display) {\n case 'grid':\n return 'display-grid';\n case 'table':\n return 'display-table';\n default:\n return 'display-list';\n }\n}\n\nfunction getDensityClass(density: ItemDisplayDensity) {\n switch (density) {\n case 'comfortable':\n return 'density-comfortable';\n case 'compact':\n return 'density-compact';\n default:\n return 'density-normal';\n }\n}\n\nfunction getImageClass(image: ItemDisplayImageSize) {\n switch (image) {\n case 'large':\n return 'image-large';\n case 'small':\n return 'image-small';\n case 'none':\n return 'image-none';\n default:\n return 'image-icon';\n }\n}\n\nexport function getItemListDisplayClasses(\n display: ItemDisplayLayout,\n density: ItemDisplayDensity,\n image: ItemDisplayImageSize,\n isLoading: boolean,\n isAppLoading: boolean\n) {\n const classes = getItemDisplayClasses(display, density, image);\n\n if (isLoading) {\n classes.push('loading');\n }\n\n if (isAppLoading) {\n classes.push('placeholder');\n }\n return classes.join(' ');\n}\n\nexport function getItemDisplayClasses(\n display: ItemDisplayLayout,\n density: ItemDisplayDensity,\n image: ItemDisplayImageSize\n) {\n const classes = [\n getDisplayClass(display),\n getDensityClass(density),\n getImageClass(image),\n ];\n return classes;\n}\n\nfunction getSection(\n children: HTMLCollection,\n section: ItemSectionTagName\n): Element | undefined {\n return Array.from(children).find(\n (element) => element.tagName.toLowerCase() === section\n );\n}\n\nfunction getImageSizeFromSections(\n children: HTMLCollection\n): ItemDisplayImageSize | undefined {\n const imageSize = getSection(\n children,\n 'atomic-result-section-visual'\n )?.getAttribute('image-size');\n if (!imageSize) {\n return undefined;\n }\n return imageSize as ItemDisplayImageSize;\n}\n\nexport function getItemLayoutClasses(\n config: ItemLayoutConfig,\n HTMLContent?: string\n): string[] {\n const classes = getItemDisplayClasses(\n config.display,\n config.density,\n getImageSizeFromSections(config.children) ?? config.imageSize\n );\n if (\n HTMLContent\n ? containsSections(HTMLContent)\n : containsSections(config.children)\n ) {\n classes.push('with-sections');\n }\n return classes;\n}\n","import {\n getItemDisplayClasses as getItemDisplayClassesImport,\n getItemLayoutClasses,\n getItemListDisplayClasses as getItemListDisplayClassesImport,\n type ItemDisplayBasicLayout as ItemDisplayBasicLayoutImport,\n type ItemDisplayDensity as ItemDisplayDensityImport,\n type ItemDisplayImageSize as ItemDisplayImageSizeImport,\n type ItemDisplayLayout as ItemDisplayLayoutImport,\n type ItemTarget as ItemTargetImport,\n} from './item-layout-utils';\n\n/**\n * @deprecated Use only for Stencil components. For Lit components, import from `item-layout-utils.ts` instead.\n */\nexport type ItemDisplayBasicLayout = ItemDisplayBasicLayoutImport;\n\n/**\n * @deprecated Use only for Stencil components. For Lit components, import from `item-layout-utils.ts` instead.\n */\nexport type ItemDisplayDensity = ItemDisplayDensityImport;\n\n/**\n * @deprecated Use only for Stencil components. For Lit components, import from `item-layout-utils.ts` instead.\n */\nexport type ItemDisplayImageSize = ItemDisplayImageSizeImport;\n\n/**\n * @deprecated Use only for Stencil components. For Lit components, import from `item-layout-utils.ts` instead.\n */\nexport type ItemDisplayLayout = ItemDisplayLayoutImport;\n\n/**\n * @deprecated Use only for Stencil components. For Lit components, import from `item-layout-utils.ts` instead.\n */\nexport type ItemTarget = ItemTargetImport;\n\n/**\n * @deprecated Use only for Stencil components. For Lit components, import from `item-layout-utils.ts` instead.\n */\nexport const getItemDisplayClasses: typeof getItemDisplayClassesImport =\n getItemDisplayClassesImport;\n\n/**\n * @deprecated Use only for Stencil components. For Lit components, import from `item-layout-utils.ts` instead.\n */\nexport const getItemListDisplayClasses: typeof getItemListDisplayClassesImport =\n getItemListDisplayClassesImport;\n\n/**\n * @deprecated Use only for Stencil components. For Lit components, use `getItemLayoutClasses` with `ItemLayoutConfig` from `packages/atomic/src/components/common/layout/item-layout-utils.ts` instead.\n */\nexport class ItemLayout {\n private children: HTMLCollection;\n private density: ItemDisplayDensity;\n private imageSize: ItemDisplayImageSize;\n private display: ItemDisplayLayout;\n\n constructor(\n children: HTMLCollection,\n display: ItemDisplayLayout,\n density: ItemDisplayDensity,\n imageSize: ItemDisplayImageSize\n ) {\n this.children = children;\n this.display = display;\n this.density = density;\n this.imageSize = imageSize;\n }\n\n public getClasses(HTMLContent?: string) {\n return getItemLayoutClasses(\n {\n children: this.children,\n display: this.display,\n density: this.density,\n imageSize: this.imageSize,\n },\n HTMLContent\n );\n }\n}\n"],"version":3}
1
+ {"file":"display-options-1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vB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,EACD,WAAW,CACZ,CAAC;KACH;;;;;","names":["getItemListDisplayClasses","getItemDisplayClasses","getItemDisplayClassesImport","getItemListDisplayClassesImport"],"sources":["src/components/common/layout/item-layout-utils.ts","src/components/common/layout/display-options.ts"],"sourcesContent":["import {\n containsSections,\n type ItemSectionTagName,\n} from './item-layout-sections';\n\nexport interface ItemLayoutConfig {\n children: HTMLCollection;\n display: ItemDisplayLayout;\n density: ItemDisplayDensity;\n imageSize: ItemDisplayImageSize;\n}\n\nexport type ItemDisplayBasicLayout = 'list' | 'grid';\nexport type ItemDisplayLayout = ItemDisplayBasicLayout | 'table';\nexport type ItemDisplayDensity = 'comfortable' | 'normal' | 'compact';\nexport type ItemDisplayImageSize = 'large' | 'small' | 'icon' | 'none';\nexport type ItemTarget = '_self' | '_blank' | '_parent' | '_top';\n\nfunction getDisplayClass(display: ItemDisplayLayout) {\n switch (display) {\n case 'grid':\n return 'display-grid';\n case 'table':\n return 'display-table';\n default:\n return 'display-list';\n }\n}\n\nfunction getDensityClass(density: ItemDisplayDensity) {\n switch (density) {\n case 'comfortable':\n return 'density-comfortable';\n case 'compact':\n return 'density-compact';\n default:\n return 'density-normal';\n }\n}\n\nfunction getImageClass(image: ItemDisplayImageSize) {\n switch (image) {\n case 'large':\n return 'image-large';\n case 'small':\n return 'image-small';\n case 'none':\n return 'image-none';\n default:\n return 'image-icon';\n }\n}\n\nexport function getItemListDisplayClasses(\n display: ItemDisplayLayout,\n density: ItemDisplayDensity,\n image: ItemDisplayImageSize,\n isLoading: boolean,\n isAppLoading: boolean\n) {\n const classes = getItemDisplayClasses(display, density, image);\n\n if (isLoading) {\n classes.push('loading');\n }\n\n if (isAppLoading) {\n classes.push('placeholder');\n }\n return classes.join(' ');\n}\n\nexport function getItemDisplayClasses(\n display: ItemDisplayLayout,\n density: ItemDisplayDensity,\n image: ItemDisplayImageSize\n) {\n const classes = [\n getDisplayClass(display),\n getDensityClass(density),\n getImageClass(image),\n ];\n return classes;\n}\n\nfunction getSection(\n children: HTMLCollection,\n section: ItemSectionTagName\n): Element | undefined {\n return Array.from(children).find(\n (element) => element.tagName.toLowerCase() === section\n );\n}\n\nfunction getImageSizeFromSections(\n children: HTMLCollection\n): ItemDisplayImageSize | undefined {\n const imageSize = getSection(\n children,\n 'atomic-result-section-visual'\n )?.getAttribute('image-size');\n if (!imageSize) {\n return undefined;\n }\n return imageSize as ItemDisplayImageSize;\n}\n\nexport function getItemLayoutClasses(\n config: ItemLayoutConfig,\n HTMLContent?: string\n): string[] {\n const classes = getItemDisplayClasses(\n config.display,\n config.density,\n getImageSizeFromSections(config.children) ?? config.imageSize\n );\n if (\n HTMLContent\n ? containsSections(HTMLContent)\n : containsSections(config.children)\n ) {\n classes.push('with-sections');\n }\n return classes;\n}\n","import {\n getItemDisplayClasses as getItemDisplayClassesImport,\n getItemLayoutClasses,\n getItemListDisplayClasses as getItemListDisplayClassesImport,\n type ItemDisplayBasicLayout as ItemDisplayBasicLayoutImport,\n type ItemDisplayDensity as ItemDisplayDensityImport,\n type ItemDisplayImageSize as ItemDisplayImageSizeImport,\n type ItemDisplayLayout as ItemDisplayLayoutImport,\n type ItemTarget as ItemTargetImport,\n} from './item-layout-utils';\n\n/**\n * @deprecated Use only for Stencil components. For Lit components, import from `item-layout-utils.ts` instead.\n */\nexport type ItemDisplayBasicLayout = ItemDisplayBasicLayoutImport;\n\n/**\n * @deprecated Use only for Stencil components. For Lit components, import from `item-layout-utils.ts` instead.\n */\nexport type ItemDisplayDensity = ItemDisplayDensityImport;\n\n/**\n * @deprecated Use only for Stencil components. For Lit components, import from `item-layout-utils.ts` instead.\n */\nexport type ItemDisplayImageSize = ItemDisplayImageSizeImport;\n\n/**\n * @deprecated Use only for Stencil components. For Lit components, import from `item-layout-utils.ts` instead.\n */\nexport type ItemDisplayLayout = ItemDisplayLayoutImport;\n\n/**\n * @deprecated Use only for Stencil components. For Lit components, import from `item-layout-utils.ts` instead.\n */\nexport type ItemTarget = ItemTargetImport;\n\n/**\n * @deprecated Use only for Stencil components. For Lit components, import from `item-layout-utils.ts` instead.\n */\nexport const getItemDisplayClasses: typeof getItemDisplayClassesImport =\n getItemDisplayClassesImport;\n\n/**\n * @deprecated Use only for Stencil components. For Lit components, import from `item-layout-utils.ts` instead.\n */\nexport const getItemListDisplayClasses: typeof getItemListDisplayClassesImport =\n getItemListDisplayClassesImport;\n\n/**\n * @deprecated Use only for Stencil components. For Lit components, use `getItemLayoutClasses` with `ItemLayoutConfig` from `packages/atomic/src/components/common/layout/item-layout-utils.ts` instead.\n */\nexport class ItemLayout {\n private children: HTMLCollection;\n private density: ItemDisplayDensity;\n private imageSize: ItemDisplayImageSize;\n private display: ItemDisplayLayout;\n\n constructor(\n children: HTMLCollection,\n display: ItemDisplayLayout,\n density: ItemDisplayDensity,\n imageSize: ItemDisplayImageSize\n ) {\n this.children = children;\n this.display = display;\n this.density = density;\n this.imageSize = imageSize;\n }\n\n public getClasses(HTMLContent?: string) {\n return getItemLayoutClasses(\n {\n children: this.children,\n display: this.display,\n density: this.density,\n imageSize: this.imageSize,\n },\n HTMLContent\n );\n }\n}\n"],"version":3}
@@ -76,10 +76,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
76
76
  return import(
77
77
  /* webpackMode: "lazy" */
78
78
  './atomic-facet-manager.entry.js').then(processMod, consoleError);
79
- case 'atomic-field-condition':
80
- return import(
81
- /* webpackMode: "lazy" */
82
- './atomic-field-condition.entry.js').then(processMod, consoleError);
83
79
  case 'atomic-folded-result-list':
84
80
  return import(
85
81
  /* webpackMode: "lazy" */
@@ -296,10 +292,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
296
292
  return import(
297
293
  /* webpackMode: "lazy" */
298
294
  './atomic-refine-toggle.entry.js').then(processMod, consoleError);
299
- case 'atomic-result-badge':
300
- return import(
301
- /* webpackMode: "lazy" */
302
- './atomic-result-badge.entry.js').then(processMod, consoleError);
303
295
  case 'atomic-result-children':
304
296
  return import(
305
297
  /* webpackMode: "lazy" */
@@ -1,4 +1,4 @@
1
- import { b as isElementNode } from './utils-730e6154.js';
1
+ import { i as isElementNode } from './utils-b6c5d1af.js';
2
2
 
3
3
  const resultSectionTags = new Set([
4
4
  'atomic-result-section-visual',
@@ -38,4 +38,4 @@ function containsSections(content) {
38
38
 
39
39
  export { containsSections as c, isResultSectionNode as i };
40
40
 
41
- //# sourceMappingURL=item-layout-sections-4f105293.js.map
41
+ //# sourceMappingURL=item-layout-sections-7f3f07d2.js.map
@@ -1 +1 @@
1
- {"file":"item-layout-sections-4f105293.js","mappings":";;AAEA,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC;IAChC,8BAA8B;IAC9B,8BAA8B;IAC9B,+BAA+B;IAC/B,6BAA6B;IAC7B,sCAAsC;IACtC,kCAAkC;IAClC,+BAA+B;IAC/B,uCAAuC;IACvC,gCAAgC;CACxB,CAAC,CAAC;AAEZ,MAAM,kBAAkB,GAAG,IAAI,GAAG,CAAC;IACjC,+BAA+B;IAC/B,+BAA+B;IAC/B,gCAAgC;IAChC,6BAA6B;IAC7B,iCAAiC;IACjC,mCAAmC;IACnC,oCAAoC;IACpC,wCAAwC;IACxC,iCAAiC;CACzB,CAAC,CAAC;AAEZ,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,iBAAiB,EAAE,GAAG,kBAAkB,CAAC,CAAC,CAAC;SAMvD,mBAAmB,CAAC,OAAa;IAC/C,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE;QAC3B,OAAO,KAAK,CAAC;KACd;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,WAAW,EAAwB,CAAC,CAAC;AAC1E,CAAC;SAEe,gBAAgB,CAAC,OAA2C;IAC1E,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QAC/B,OAAO,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;KAC1E;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC;AACzE;;;;","names":[],"sources":["src/components/common/layout/item-layout-sections.ts"],"sourcesContent":["import {isElementNode} from '@/src/utils/utils';\n\nconst resultSectionTags = new Set([\n 'atomic-result-section-visual',\n 'atomic-result-section-badges',\n 'atomic-result-section-actions',\n 'atomic-result-section-title',\n 'atomic-result-section-title-metadata',\n 'atomic-result-section-emphasized',\n 'atomic-result-section-excerpt',\n 'atomic-result-section-bottom-metadata',\n 'atomic-result-section-children',\n] as const);\n\nconst productSectionTags = new Set([\n 'atomic-product-section-visual',\n 'atomic-product-section-badges',\n 'atomic-product-section-actions',\n 'atomic-product-section-name',\n 'atomic-product-section-metadata',\n 'atomic-product-section-emphasized',\n 'atomic-product-section-description',\n 'atomic-product-section-bottom-metadata',\n 'atomic-product-section-children',\n] as const);\n\nconst allTags = new Set([...resultSectionTags, ...productSectionTags]);\n\ntype SetValueType<T> = T extends Set<infer U> ? U : never;\n\nexport type ItemSectionTagName = SetValueType<typeof allTags>;\n\nexport function isResultSectionNode(element: Node) {\n if (!isElementNode(element)) {\n return false;\n }\n return allTags.has(element.tagName.toLowerCase() as ItemSectionTagName);\n}\n\nexport function containsSections(content: string | NodeList | HTMLCollection) {\n if (typeof content === 'string') {\n return Array.from(allTags.values()).some((tag) => content.includes(tag));\n }\n return Array.from(content).some((child) => isResultSectionNode(child));\n}\n"],"version":3}
1
+ {"file":"item-layout-sections-7f3f07d2.js","mappings":";;AAEA,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC;IAChC,8BAA8B;IAC9B,8BAA8B;IAC9B,+BAA+B;IAC/B,6BAA6B;IAC7B,sCAAsC;IACtC,kCAAkC;IAClC,+BAA+B;IAC/B,uCAAuC;IACvC,gCAAgC;CACxB,CAAC,CAAC;AAEZ,MAAM,kBAAkB,GAAG,IAAI,GAAG,CAAC;IACjC,+BAA+B;IAC/B,+BAA+B;IAC/B,gCAAgC;IAChC,6BAA6B;IAC7B,iCAAiC;IACjC,mCAAmC;IACnC,oCAAoC;IACpC,wCAAwC;IACxC,iCAAiC;CACzB,CAAC,CAAC;AAEZ,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,iBAAiB,EAAE,GAAG,kBAAkB,CAAC,CAAC,CAAC;SAMvD,mBAAmB,CAAC,OAAa;IAC/C,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE;QAC3B,OAAO,KAAK,CAAC;KACd;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,WAAW,EAAwB,CAAC,CAAC;AAC1E,CAAC;SAEe,gBAAgB,CAAC,OAA2C;IAC1E,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QAC/B,OAAO,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;KAC1E;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC;AACzE;;;;","names":[],"sources":["src/components/common/layout/item-layout-sections.ts"],"sourcesContent":["import {isElementNode} from '@/src/utils/utils';\n\nconst resultSectionTags = new Set([\n 'atomic-result-section-visual',\n 'atomic-result-section-badges',\n 'atomic-result-section-actions',\n 'atomic-result-section-title',\n 'atomic-result-section-title-metadata',\n 'atomic-result-section-emphasized',\n 'atomic-result-section-excerpt',\n 'atomic-result-section-bottom-metadata',\n 'atomic-result-section-children',\n] as const);\n\nconst productSectionTags = new Set([\n 'atomic-product-section-visual',\n 'atomic-product-section-badges',\n 'atomic-product-section-actions',\n 'atomic-product-section-name',\n 'atomic-product-section-metadata',\n 'atomic-product-section-emphasized',\n 'atomic-product-section-description',\n 'atomic-product-section-bottom-metadata',\n 'atomic-product-section-children',\n] as const);\n\nconst allTags = new Set([...resultSectionTags, ...productSectionTags]);\n\ntype SetValueType<T> = T extends Set<infer U> ? U : never;\n\nexport type ItemSectionTagName = SetValueType<typeof allTags>;\n\nexport function isResultSectionNode(element: Node) {\n if (!isElementNode(element)) {\n return false;\n }\n return allTags.has(element.tagName.toLowerCase() as ItemSectionTagName);\n}\n\nexport function containsSections(content: string | NodeList | HTMLCollection) {\n if (typeof content === 'string') {\n return Array.from(allTags.values()).some((tag) => content.includes(tag));\n }\n return Array.from(content).some((child) => isResultSectionNode(child));\n}\n"],"version":3}
@@ -1,6 +1,6 @@
1
1
  import { isArray } from '@coveo/bueno';
2
2
  import { g as getElement } from './index-62c2216d.js';
3
- import { c as camelToKebab, k as kebabToCamel } from './utils-730e6154.js';
3
+ import { c as camelToKebab, k as kebabToCamel } from './utils-b6c5d1af.js';
4
4
 
5
5
  /**
6
6
  * @deprecated Use the `mapProperty` decorator instead.
@@ -83,4 +83,4 @@ function attributesToStringMap(prefix, attributes) {
83
83
 
84
84
  export { ArrayProp as A, MapProp as M };
85
85
 
86
- //# sourceMappingURL=props-utils-e04e8ad0.js.map
86
+ //# sourceMappingURL=props-utils-b663ca01.js.map
@@ -1 +1 @@
1
- {"file":"props-utils-e04e8ad0.js","mappings":";;;;AAsCA;;;SAGgB,OAAO,CAAC,IAAqB;IAC3C,OAAO,CAAC,SAA6B,EAAE,YAAoB;QACzD,MAAM,EAAC,iBAAiB,EAAC,GAAG,SAAS,CAAC;QACtC,IAAI,CAAC,iBAAiB,EAAE;YACtB,OAAO,CAAC,KAAK,CACX,+FAA+F,CAChG,CAAC;YACF,OAAO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,UAAU,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QAC1C,MAAM,SAAS,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;QAChC,IAAI,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE;YAC7C,SAAS;SACV;QAED,MAAM,QAAQ,GAAG,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC,CAAC;QACvE,WAAW,CAAC,QAAQ,CAAC,GAAG,GAAG,SAAS,CAAC,KAAK,EAAE,CAAC;KAC9C;IACD,OAAO,WAAW,CAAC;AACrB;;;;","names":[],"sources":["src/utils/props-utils.ts"],"sourcesContent":["import {isArray} from '@coveo/bueno';\nimport {type ComponentInterface, getElement} from '@stencil/core';\nimport type {ReactiveElement} from 'lit';\nimport {camelToKebab, kebabToCamel} from './utils';\n\ninterface MapPropOptions {\n attributePrefix?: string;\n splitValues?: boolean;\n}\n\nexport function mapProperty<Element extends ReactiveElement>(\n options?: MapPropOptions\n) {\n return <\n Instance extends Element & Record<string, unknown>,\n K extends keyof Instance,\n >(\n proto: ReactiveElement,\n propertyKey: K\n ) => {\n const ctor = proto.constructor as typeof ReactiveElement;\n ctor.addInitializer((instance) => {\n const props = {};\n const prefix =\n options?.attributePrefix || camelToKebab(propertyKey.toString());\n\n mapAttributesToProp(\n prefix,\n props,\n Array.from(instance.attributes),\n options?.splitValues ?? false\n );\n\n (instance as Instance)[propertyKey] = props as Instance[K];\n });\n };\n}\n\n/**\n * @deprecated Use the `mapProperty` decorator instead.\n */\nexport function MapProp(opts?: MapPropOptions) {\n return (component: ComponentInterface, variableName: string) => {\n const {componentWillLoad} = component;\n if (!componentWillLoad) {\n console.error(\n 'The \"componentWillLoad\" lifecycle method has to be defined for the MapProp decorator to work.'\n );\n return;\n }\n\n component.componentWillLoad = function () {\n const prefix = opts?.attributePrefix || variableName;\n const variable = this[variableName];\n const attributes = getElement(this).attributes;\n mapAttributesToProp(\n prefix,\n variable,\n Array.from(attributes),\n opts?.splitValues ?? false\n );\n componentWillLoad.call(this);\n };\n };\n}\n\n/**\n * @deprecated In Lit, you can achieve the same behavior by using `@property({type: Array})`.\n */\nexport function ArrayProp() {\n return (component: ComponentInterface, variableName: string) => {\n const {componentWillLoad} = component;\n\n const attributeWithBrackets = camelToKebab(variableName);\n\n component.componentWillLoad = function () {\n const value = this[variableName];\n if (!value || isArray(value)) {\n componentWillLoad?.call(this);\n return;\n }\n\n try {\n const valueAsArray = JSON.parse(value);\n if (isArray(valueAsArray)) {\n this[variableName] = valueAsArray;\n } else {\n console.error(\n `Property ${attributeWithBrackets} should be an array`,\n getElement(this)\n );\n }\n } catch (e) {\n console.error(\n `Error while parsing attribute ${attributeWithBrackets} as array`,\n e\n );\n }\n\n componentWillLoad?.call(this);\n };\n };\n}\n\nfunction splitAttributeValueOnCommas(attributeValue: string) {\n const splitButIgnoreEscapeSymbolsExpression = /(?:\\\\.|[^,])+/g;\n const [...valuesWithEscapeSymbols] =\n attributeValue.matchAll(splitButIgnoreEscapeSymbolsExpression) ?? [];\n\n const removeEscapeSymbolsExpression = /\\\\(.)/g;\n return valuesWithEscapeSymbols.map(([valuesWithEscapeSymbols]) =>\n valuesWithEscapeSymbols.replace(removeEscapeSymbolsExpression, '$1')\n );\n}\n\nexport function mapAttributesToProp(\n prefix: string,\n mapVariable: Record<string, string | string[]>,\n attributes: {name: string; value: string}[],\n splitValues: boolean\n) {\n const map = attributesToStringMap(prefix, attributes);\n Object.assign(\n mapVariable,\n splitValues ? stringMapToStringArrayMap(map) : map\n );\n}\n\nfunction stringMapToStringArrayMap(map: Record<string, string>) {\n return Object.entries(map).reduce(\n (acc, [key, value]) => ({\n // biome-ignore lint/performance/noAccumulatingSpread: <>\n ...acc,\n [key]: splitAttributeValueOnCommas(value).map((subValue) =>\n subValue.trim()\n ),\n }),\n {}\n );\n}\n\nfunction attributesToStringMap(\n prefix: string,\n attributes: {name: string; value: string}[]\n) {\n const mapVariable: Record<string, string> = {};\n const kebabPrefix = `${camelToKebab(prefix)}-`;\n for (let i = 0; i < attributes.length; i++) {\n const attribute = attributes[i];\n if (attribute.name.indexOf(kebabPrefix) !== 0) {\n continue;\n }\n\n const property = kebabToCamel(attribute.name.replace(kebabPrefix, ''));\n mapVariable[property] = `${attribute.value}`;\n }\n return mapVariable;\n}\n"],"version":3}
1
+ {"file":"props-utils-b663ca01.js","mappings":";;;;AAsCA;;;SAGgB,OAAO,CAAC,IAAqB;IAC3C,OAAO,CAAC,SAA6B,EAAE,YAAoB;QACzD,MAAM,EAAC,iBAAiB,EAAC,GAAG,SAAS,CAAC;QACtC,IAAI,CAAC,iBAAiB,EAAE;YACtB,OAAO,CAAC,KAAK,CACX,+FAA+F,CAChG,CAAC;YACF,OAAO;SACR;QAED,SAAS,CAAC,iBAAiB,GAAG;YAC5B,MAAM,MAAM,GAAG,IAAI,EAAE,eAAe,IAAI,YAAY,CAAC;YACrD,MAAM,QAAQ,GAAG,IAAI,CAAC,YAAY,CAAC,CAAC;YACpC,MAAM,UAAU,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC;YAC/C,mBAAmB,CACjB,MAAM,EACN,QAAQ,EACR,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,EACtB,IAAI,EAAE,WAAW,IAAI,KAAK,CAC3B,CAAC;YACF,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SAC9B,CAAC;KACH,CAAC;AACJ,CAAC;AAED;;;SAGgB,SAAS;IACvB,OAAO,CAAC,SAA6B,EAAE,YAAoB;QACzD,MAAM,EAAC,iBAAiB,EAAC,GAAG,SAAS,CAAC;QAEtC,MAAM,qBAAqB,GAAG,YAAY,CAAC,YAAY,CAAC,CAAC;QAEzD,SAAS,CAAC,iBAAiB,GAAG;YAC5B,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC,CAAC;YACjC,IAAI,CAAC,KAAK,IAAI,OAAO,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,OAAO,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,CAC/B,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,MAAM;;QAEtB,GAAG,GAAG;QACN,CAAC,GAAG,GAAG,2BAA2B,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,QAAQ,KACrD,QAAQ,CAAC,IAAI,EAAE,CAChB;KACF,CAAC,EACF,EAAE,CACH,CAAC;AACJ,CAAC;AAED,SAAS,qBAAqB,CAC5B,MAAc,EACd,UAA2C;IAE3C,MAAM,WAAW,GAA2B,EAAE,CAAC;IAC/C,MAAM,WAAW,GAAG,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,CAAC;IAC/C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QAC1C,MAAM,SAAS,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;QAChC,IAAI,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE;YAC7C,SAAS;SACV;QAED,MAAM,QAAQ,GAAG,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC,CAAC;QACvE,WAAW,CAAC,QAAQ,CAAC,GAAG,GAAG,SAAS,CAAC,KAAK,EAAE,CAAC;KAC9C;IACD,OAAO,WAAW,CAAC;AACrB;;;;","names":[],"sources":["src/utils/props-utils.ts"],"sourcesContent":["import {isArray} from '@coveo/bueno';\nimport {type ComponentInterface, getElement} from '@stencil/core';\nimport type {ReactiveElement} from 'lit';\nimport {camelToKebab, kebabToCamel} from './utils';\n\ninterface MapPropOptions {\n attributePrefix?: string;\n splitValues?: boolean;\n}\n\nexport function mapProperty<Element extends ReactiveElement>(\n options?: MapPropOptions\n) {\n return <\n Instance extends Element & Record<string, unknown>,\n K extends keyof Instance,\n >(\n proto: ReactiveElement,\n propertyKey: K\n ) => {\n const ctor = proto.constructor as typeof ReactiveElement;\n ctor.addInitializer((instance) => {\n const props = {};\n const prefix =\n options?.attributePrefix || camelToKebab(propertyKey.toString());\n\n mapAttributesToProp(\n prefix,\n props,\n Array.from(instance.attributes),\n options?.splitValues ?? false\n );\n\n (instance as Instance)[propertyKey] = props as Instance[K];\n });\n };\n}\n\n/**\n * @deprecated Use the `mapProperty` decorator instead.\n */\nexport function MapProp(opts?: MapPropOptions) {\n return (component: ComponentInterface, variableName: string) => {\n const {componentWillLoad} = component;\n if (!componentWillLoad) {\n console.error(\n 'The \"componentWillLoad\" lifecycle method has to be defined for the MapProp decorator to work.'\n );\n return;\n }\n\n component.componentWillLoad = function () {\n const prefix = opts?.attributePrefix || variableName;\n const variable = this[variableName];\n const attributes = getElement(this).attributes;\n mapAttributesToProp(\n prefix,\n variable,\n Array.from(attributes),\n opts?.splitValues ?? false\n );\n componentWillLoad.call(this);\n };\n };\n}\n\n/**\n * @deprecated In Lit, you can achieve the same behavior by using `@property({type: Array})`.\n */\nexport function ArrayProp() {\n return (component: ComponentInterface, variableName: string) => {\n const {componentWillLoad} = component;\n\n const attributeWithBrackets = camelToKebab(variableName);\n\n component.componentWillLoad = function () {\n const value = this[variableName];\n if (!value || isArray(value)) {\n componentWillLoad?.call(this);\n return;\n }\n\n try {\n const valueAsArray = JSON.parse(value);\n if (isArray(valueAsArray)) {\n this[variableName] = valueAsArray;\n } else {\n console.error(\n `Property ${attributeWithBrackets} should be an array`,\n getElement(this)\n );\n }\n } catch (e) {\n console.error(\n `Error while parsing attribute ${attributeWithBrackets} as array`,\n e\n );\n }\n\n componentWillLoad?.call(this);\n };\n };\n}\n\nfunction splitAttributeValueOnCommas(attributeValue: string) {\n const splitButIgnoreEscapeSymbolsExpression = /(?:\\\\.|[^,])+/g;\n const [...valuesWithEscapeSymbols] =\n attributeValue.matchAll(splitButIgnoreEscapeSymbolsExpression) ?? [];\n\n const removeEscapeSymbolsExpression = /\\\\(.)/g;\n return valuesWithEscapeSymbols.map(([valuesWithEscapeSymbols]) =>\n valuesWithEscapeSymbols.replace(removeEscapeSymbolsExpression, '$1')\n );\n}\n\nexport function mapAttributesToProp(\n prefix: string,\n mapVariable: Record<string, string | string[]>,\n attributes: {name: string; value: string}[],\n splitValues: boolean\n) {\n const map = attributesToStringMap(prefix, attributes);\n Object.assign(\n mapVariable,\n splitValues ? stringMapToStringArrayMap(map) : map\n );\n}\n\nfunction stringMapToStringArrayMap(map: Record<string, string>) {\n return Object.entries(map).reduce(\n (acc, [key, value]) => ({\n // biome-ignore lint/performance/noAccumulatingSpread: <>\n ...acc,\n [key]: splitAttributeValueOnCommas(value).map((subValue) =>\n subValue.trim()\n ),\n }),\n {}\n );\n}\n\nfunction attributesToStringMap(\n prefix: string,\n attributes: {name: string; value: string}[]\n) {\n const mapVariable: Record<string, string> = {};\n const kebabPrefix = `${camelToKebab(prefix)}-`;\n for (let i = 0; i < attributes.length; i++) {\n const attribute = attributes[i];\n if (attribute.name.indexOf(kebabPrefix) !== 0) {\n continue;\n }\n\n const property = kebabToCamel(attribute.name.replace(kebabPrefix, ''));\n mapVariable[property] = `${attribute.value}`;\n }\n return mapVariable;\n}\n"],"version":3}
@@ -1,5 +1,5 @@
1
1
  import { b as buildCustomEvent } from './event-utils-8de63ec3.js';
2
- import { d as defer } from './utils-730e6154.js';
2
+ import { d as defer } from './utils-b6c5d1af.js';
3
3
 
4
4
  const findAriaLiveEventName = 'atomic/accessibility/findAriaLive';
5
5
  /**
@@ -157,4 +157,4 @@ function getFirstFocusableDescendant(element) {
157
157
 
158
158
  export { AriaLiveRegion as A, FocusTargetController as F, getFirstFocusableDescendant as g };
159
159
 
160
- //# sourceMappingURL=stencil-accessibility-utils-de708162.js.map
160
+ //# sourceMappingURL=stencil-accessibility-utils-2070ba91.js.map
@@ -1 +1 @@
1
- {"file":"stencil-accessibility-utils-de708162.js","mappings":";;;AAOA,MAAM,qBAAqB,GAAG,mCAAmC,CAAC;AASlE;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;QAChB,KAAK,QAAQ;YACX,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;QAC3C,KAAK,QAAQ;YACX,OAAO,IAAI,CAAC;QACd;YACE,OAAO,KAAK,CAAC;KAChB;AACH,CAAC;AAED;;;UAGiB,uBAAuB,CACtC,OAAgB;IAEhB,IAAI,WAAW,CAAC,OAAO,CAAC,EAAE;QACxB,MAAM,OAAsB,CAAC;KAC9B;IACD,IAAI,QAAQ,GAAG,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC5C,IAAI,OAAO,YAAY,eAAe,EAAE;QACtC,QAAQ,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC;KACvC;SAAM,IAAI,OAAO,CAAC,UAAU,EAAE;QAC7B,QAAQ,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC;KAC3D;IACD,KAAK,MAAM,KAAK,IAAI,QAAQ,EAAE;QAC5B,OAAO,uBAAuB,CAAC,KAAK,CAAC,CAAC;KACvC;AACH,CAAC;AAED;;;SAGgB,2BAA2B,CACzC,OAAgB;IAEhB,OAAO,uBAAuB,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,IAAI,CAAC;AAC/D;;;;","names":[],"sources":["src/utils/stencil-accessibility-utils.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { AtomicAriaLive } from '../components/common/atomic-aria-live/atomic-aria-live';\nimport {AnyBindings} from '../components/common/interface/bindings';\nimport {buildCustomEvent} from './event-utils';\nimport {InitializableComponent} from './initialization-utils';\nimport {defer} from './utils';\n\nconst findAriaLiveEventName = 'atomic/accessibility/findAriaLive';\n\n/**\n * @deprecated use Lit equivalent\n */\nexport interface FindAriaLiveEventArgs {\n element?: AtomicAriaLive;\n}\n\n/**\n * @deprecated use Lit equivalent\n */\nexport function AriaLiveRegion(regionName: string, assertive = false) {\n function getAriaLiveElement() {\n const event = buildCustomEvent<FindAriaLiveEventArgs>(\n findAriaLiveEventName,\n {}\n );\n document.dispatchEvent(event);\n const {element} = event.detail;\n return element;\n }\n\n function dispatchMessage(message: string) {\n getAriaLiveElement()?.updateMessage(regionName, message, assertive);\n }\n\n function registerRegion() {\n getAriaLiveElement()?.registerRegion(regionName, assertive);\n }\n\n return (\n component: InitializableComponent<AnyBindings>,\n setterName: string\n ) => {\n const {componentWillRender} = component;\n Object.defineProperty(component, setterName, {\n set: (message: string) => dispatchMessage(message),\n });\n\n component.componentWillRender = function () {\n componentWillRender && componentWillRender.call(this);\n registerRegion();\n };\n };\n}\n\n/**\n * @deprecated use Lit equivalent\n */\nexport class FocusTargetController {\n private bindings: AnyBindings;\n private lastSearchId?: string;\n private element?: HTMLElement;\n public registerFocusCallback: (callback: Function) => void = (\n callback: Function\n ) => {\n this.publicOnFocusCallbacks.push(callback);\n };\n private internalOnFocusCallback?: Function;\n private doFocusAfterSearch = false;\n private doFocusOnNextTarget = false;\n private publicOnFocusCallbacks: Function[] = [];\n\n constructor(private component: InitializableComponent<AnyBindings>) {\n this.bindings = component.bindings;\n this.handleComponentRenderLoop();\n }\n\n private clearFocusCallbacks() {\n this.internalOnFocusCallback?.();\n while (this.publicOnFocusCallbacks.length) {\n this.publicOnFocusCallbacks.pop()?.();\n }\n }\n\n public setTarget(el: HTMLElement | undefined) {\n if (!el) {\n return;\n }\n this.element = el;\n if (this.doFocusOnNextTarget) {\n this.doFocusOnNextTarget = false;\n this.focus();\n }\n }\n\n public async focus() {\n await defer();\n this.element?.focus();\n this.clearFocusCallbacks();\n }\n\n public focusAfterSearch() {\n this.lastSearchId = this.bindings.store.getUniqueIDFromEngine(\n this.bindings.engine\n );\n this.doFocusAfterSearch = true;\n return new Promise((resolve) => (this.internalOnFocusCallback = resolve));\n }\n\n public focusOnNextTarget() {\n this.doFocusOnNextTarget = true;\n return new Promise((resolve) => (this.internalOnFocusCallback = resolve));\n }\n\n public disableForCurrentSearch() {\n if (\n this.bindings.store.getUniqueIDFromEngine(this.bindings.engine) !==\n this.lastSearchId\n ) {\n this.doFocusAfterSearch = false;\n }\n }\n\n private handleComponentRenderLoop() {\n const originalComponentDidRender = this.component.componentDidRender;\n\n this.component.componentDidRender = () => {\n originalComponentDidRender &&\n originalComponentDidRender.call(this.component);\n if (!this.bindings) {\n return;\n }\n if (\n this.doFocusAfterSearch &&\n this.bindings.store.getUniqueIDFromEngine(this.bindings.engine) !==\n this.lastSearchId\n ) {\n this.doFocusAfterSearch = false;\n if (this.element) {\n const el = this.element;\n // The focus seems to be flaky without deferring, especially on iOS.\n defer().then(() => {\n el.focus();\n this.clearFocusCallbacks();\n });\n }\n }\n };\n }\n}\n\nfunction isFocusable(element: Element) {\n // Source: https://stackoverflow.com/a/30753870\n if (element.getAttribute('tabindex') === '-1') {\n return false;\n }\n if (element.hasAttribute('tabindex')) {\n return true;\n }\n if (element.getAttribute('contentEditable') === 'true') {\n return true;\n }\n switch (element.tagName) {\n case 'A':\n case 'AREA':\n return element.hasAttribute('href');\n case 'INPUT':\n case 'SELECT':\n case 'TEXTAREA':\n case 'BUTTON':\n return !element.hasAttribute('disabled');\n case 'IFRAME':\n return true;\n default:\n return false;\n }\n}\n\n/**\n * @deprecated use Lit equivalent\n */\nexport function* getFocusableDescendants(\n element: Element\n): Generator<HTMLElement> {\n if (isFocusable(element)) {\n yield element as HTMLElement;\n }\n let children = Array.from(element.children);\n if (element instanceof HTMLSlotElement) {\n children = element.assignedElements();\n } else if (element.shadowRoot) {\n children.push(...Array.from(element.shadowRoot.children));\n }\n for (const child of children) {\n yield* getFocusableDescendants(child);\n }\n}\n\n/**\n * @deprecated use Lit equivalent\n */\nexport function getFirstFocusableDescendant(\n element: Element\n): HTMLElement | null {\n return getFocusableDescendants(element).next().value ?? null;\n}\n"],"version":3}
1
+ {"file":"stencil-accessibility-utils-2070ba91.js","mappings":";;;AAOA,MAAM,qBAAqB,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AAC;QACd,KAAK,UAAU,CAAC;QAChB,KAAK,QAAQ;YACX,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;QAC3C,KAAK,QAAQ;YACX,OAAO,IAAI,CAAC;QACd;YACE,OAAO,KAAK,CAAC;KAChB;AACH,CAAC;AAED;;;UAGiB,uBAAuB,CACtC,OAAgB;IAEhB,IAAI,WAAW,CAAC,OAAO,CAAC,EAAE;QACxB,MAAM,OAAsB,CAAC;KAC9B;IACD,IAAI,QAAQ,GAAG,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC5C,IAAI,OAAO,YAAY,eAAe,EAAE;QACtC,QAAQ,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC;KACvC;SAAM,IAAI,OAAO,CAAC,UAAU,EAAE;QAC7B,QAAQ,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC;KAC3D;IACD,KAAK,MAAM,KAAK,IAAI,QAAQ,EAAE;QAC5B,OAAO,uBAAuB,CAAC,KAAK,CAAC,CAAC;KACvC;AACH,CAAC;AAED;;;SAGgB,2BAA2B,CACzC,OAAgB;IAEhB,OAAO,uBAAuB,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,IAAI,CAAC;AAC/D;;;;","names":[],"sources":["src/utils/stencil-accessibility-utils.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { AtomicAriaLive } from '../components/common/atomic-aria-live/atomic-aria-live';\nimport {AnyBindings} from '../components/common/interface/bindings';\nimport {buildCustomEvent} from './event-utils';\nimport {InitializableComponent} from './initialization-utils';\nimport {defer} from './utils';\n\nconst findAriaLiveEventName = 'atomic/accessibility/findAriaLive';\n\n/**\n * @deprecated use Lit equivalent\n */\nexport interface FindAriaLiveEventArgs {\n element?: AtomicAriaLive;\n}\n\n/**\n * @deprecated use Lit equivalent\n */\nexport function AriaLiveRegion(regionName: string, assertive = false) {\n function getAriaLiveElement() {\n const event = buildCustomEvent<FindAriaLiveEventArgs>(\n findAriaLiveEventName,\n {}\n );\n document.dispatchEvent(event);\n const {element} = event.detail;\n return element;\n }\n\n function dispatchMessage(message: string) {\n getAriaLiveElement()?.updateMessage(regionName, message, assertive);\n }\n\n function registerRegion() {\n getAriaLiveElement()?.registerRegion(regionName, assertive);\n }\n\n return (\n component: InitializableComponent<AnyBindings>,\n setterName: string\n ) => {\n const {componentWillRender} = component;\n Object.defineProperty(component, setterName, {\n set: (message: string) => dispatchMessage(message),\n });\n\n component.componentWillRender = function () {\n componentWillRender && componentWillRender.call(this);\n registerRegion();\n };\n };\n}\n\n/**\n * @deprecated use Lit equivalent\n */\nexport class FocusTargetController {\n private bindings: AnyBindings;\n private lastSearchId?: string;\n private element?: HTMLElement;\n public registerFocusCallback: (callback: Function) => void = (\n callback: Function\n ) => {\n this.publicOnFocusCallbacks.push(callback);\n };\n private internalOnFocusCallback?: Function;\n private doFocusAfterSearch = false;\n private doFocusOnNextTarget = false;\n private publicOnFocusCallbacks: Function[] = [];\n\n constructor(private component: InitializableComponent<AnyBindings>) {\n this.bindings = component.bindings;\n this.handleComponentRenderLoop();\n }\n\n private clearFocusCallbacks() {\n this.internalOnFocusCallback?.();\n while (this.publicOnFocusCallbacks.length) {\n this.publicOnFocusCallbacks.pop()?.();\n }\n }\n\n public setTarget(el: HTMLElement | undefined) {\n if (!el) {\n return;\n }\n this.element = el;\n if (this.doFocusOnNextTarget) {\n this.doFocusOnNextTarget = false;\n this.focus();\n }\n }\n\n public async focus() {\n await defer();\n this.element?.focus();\n this.clearFocusCallbacks();\n }\n\n public focusAfterSearch() {\n this.lastSearchId = this.bindings.store.getUniqueIDFromEngine(\n this.bindings.engine\n );\n this.doFocusAfterSearch = true;\n return new Promise((resolve) => (this.internalOnFocusCallback = resolve));\n }\n\n public focusOnNextTarget() {\n this.doFocusOnNextTarget = true;\n return new Promise((resolve) => (this.internalOnFocusCallback = resolve));\n }\n\n public disableForCurrentSearch() {\n if (\n this.bindings.store.getUniqueIDFromEngine(this.bindings.engine) !==\n this.lastSearchId\n ) {\n this.doFocusAfterSearch = false;\n }\n }\n\n private handleComponentRenderLoop() {\n const originalComponentDidRender = this.component.componentDidRender;\n\n this.component.componentDidRender = () => {\n originalComponentDidRender &&\n originalComponentDidRender.call(this.component);\n if (!this.bindings) {\n return;\n }\n if (\n this.doFocusAfterSearch &&\n this.bindings.store.getUniqueIDFromEngine(this.bindings.engine) !==\n this.lastSearchId\n ) {\n this.doFocusAfterSearch = false;\n if (this.element) {\n const el = this.element;\n // The focus seems to be flaky without deferring, especially on iOS.\n defer().then(() => {\n el.focus();\n this.clearFocusCallbacks();\n });\n }\n }\n };\n }\n}\n\nfunction isFocusable(element: Element) {\n // Source: https://stackoverflow.com/a/30753870\n if (element.getAttribute('tabindex') === '-1') {\n return false;\n }\n if (element.hasAttribute('tabindex')) {\n return true;\n }\n if (element.getAttribute('contentEditable') === 'true') {\n return true;\n }\n switch (element.tagName) {\n case 'A':\n case 'AREA':\n return element.hasAttribute('href');\n case 'INPUT':\n case 'SELECT':\n case 'TEXTAREA':\n case 'BUTTON':\n return !element.hasAttribute('disabled');\n case 'IFRAME':\n return true;\n default:\n return false;\n }\n}\n\n/**\n * @deprecated use Lit equivalent\n */\nexport function* getFocusableDescendants(\n element: Element\n): Generator<HTMLElement> {\n if (isFocusable(element)) {\n yield element as HTMLElement;\n }\n let children = Array.from(element.children);\n if (element instanceof HTMLSlotElement) {\n children = element.assignedElements();\n } else if (element.shadowRoot) {\n children.push(...Array.from(element.shadowRoot.children));\n }\n for (const child of children) {\n yield* getFocusableDescendants(child);\n }\n}\n\n/**\n * @deprecated use Lit equivalent\n */\nexport function getFirstFocusableDescendant(\n element: Element\n): HTMLElement | null {\n return getFocusableDescendants(element).next().value ?? null;\n}\n"],"version":3}
@@ -1,6 +1,6 @@
1
1
  import { h } from './index-62c2216d.js';
2
2
  import { c as createRipple } from './stencil-button-fe58a18a.js';
3
- import { r as randomID } from './utils-730e6154.js';
3
+ import { r as randomID } from './utils-b6c5d1af.js';
4
4
  import { T as Tick$1, S as StencilCheckbox } from './stencil-checkbox-55f8e00f.js';
5
5
  import { C as CloseIcon } from './close-ff816971.js';
6
6
 
@@ -104,4 +104,4 @@ const FacetValueCheckbox = (props, children) => {
104
104
 
105
105
  export { FacetValueCheckbox as F };
106
106
 
107
- //# sourceMappingURL=stencil-facet-value-checkbox-ea5ed2bd.js.map
107
+ //# sourceMappingURL=stencil-facet-value-checkbox-156f1e2d.js.map
@@ -1 +1 @@
1
- {"file":"stencil-facet-value-checkbox-ea5ed2bd.js","mappings":";;;;;;AAUA;;;AAGO,MAAM,gBAAgB,GAA+C,CAC1E,KAAK;IAEL,MAAM,UAAU,GAAG,KAAK,CAAC,KAAK,KAAK,UAAU,CAAC;IAC9C,MAAM,UAAU,GAAG,KAAK,CAAC,KAAK,KAAK,UAAU,CAAC;IAC9C,MAAM,QAAQ,GAAG,KAAK,CAAC,IAAI,IAAI,UAAU,CAAC;IAE1C,MAAM,UAAU,GAAG;QACjB,kIAAkI;KACnI,CAAC;IACF,MAAM,KAAK,GAAG,CAAC,QAAQ,CAAC,CAAC;IACzB,IAAI,UAAU,EAAE;QACd,UAAU,CAAC,IAAI,CACb,2EAA2E,CAC5E,CAAC;QACF,KAAK,CAAC,IAAI,CAAC,GAAG,QAAQ,UAAU,CAAC,CAAC;KACnC;SAAM,IAAI,UAAU,EAAE;QACrB,UAAU,CAAC,IAAI,CACb,uGAAuG,CACxG,CAAC;QACF,KAAK,CAAC,IAAI,CAAC,GAAG,QAAQ,UAAU,CAAC,CAAC;KACnC;SAAM;QACL,UAAU,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC;KAC/C;IACD,IAAI,KAAK,CAAC,KAAK,EAAE;QACf,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;KAC9B;IA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K,CAAC,UAAU,GAAI,CAAC;KACvE,CAAC;IAEF,MAAM,eAAe,GAAG;QACtB,IAAI,kBAAkB,CAAC,KAAK,CAAC,EAAE;YAC7B,QACE,EAAC,iBAAiB,IAChB,OAAO,EAAE,MAAM,KAAK,CAAC,SAAS,IAAI,EAClC,SAAS,EAAE,iBAAiB,GACT,EACrB;SACH;KACF,CAAC;IAEF,QACE,UAAI,GAAG,EAAE,KAAK,CAAC,YAAY,EAAE,KAAK,EAAC,kCAAkC;QAClE,cAAc,EAAE;QACjB,aACE,GAAG,EAAE,CAAC,GAAG,MAAM,QAAQ,GAAG,GAAI,CAAC,EAC/B,OAAO,EAAE,EAAE,EACX,IAAI,EAAC,sBAAsB,EAC3B,KAAK,EAAC,cAAc,EACpB,WAAW,EAAE,CAAC,CAAC,KAAK,YAAY,CAAC,CAAC,EAAE,EAAC,KAAK,EAAE,SAAS,EAAC,CAAC,iBAC3C,MAAM;YAEjB,QAAQ;YACT,YAAM,IAAI,EAAC,aAAa,EAAC,KAAK,EAAC,aAAa,IACzC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,qBAAqB,EAAE;gBACnC,IAAI,EAAE,KAAK;aACZ,CAAC,CACG,CACD;QACP,eAAe,EAAE,CACf,EACL;AACJ;;;;","names":["Tick","Close"],"sources":["src/components/common/stencil-triStateCheckbox.tsx","src/components/common/facets/facet-value-exclude/stencil-facet-value-exclude.tsx","src/components/common/facets/facet-value-checkbox/stencil-facet-value-checkbox.tsx"],"sourcesContent":["import {FacetValueState} from '@coveo/headless';\nimport {FunctionalComponent, h} from '@stencil/core';\nimport Tick from '../../images/checkbox.svg';\nimport Close from '../../images/close.svg';\nimport {StencilCheckboxProps} from './stencil-checkbox';\n\ntype TriStateCheckboxProps = Omit<StencilCheckboxProps, 'checked'> & {\n state: FacetValueState;\n};\n\n/**\n * @deprecated should only be used for Stencil components.\n */\nexport const TriStateCheckbox: FunctionalComponent<TriStateCheckboxProps> = (\n props\n) => {\n const isSelected = props.state === 'selected';\n const isExcluded = props.state === 'excluded';\n const partName = props.part ?? 'checkbox';\n\n const classNames = [\n 'w-4 h-4 grid place-items-center rounded focus-visible:outline-none hover:border-primary-light focus-visible:border-primary-light',\n ];\n const parts = [partName];\n if (isSelected) {\n classNames.push(\n 'selected bg-primary hover:bg-primary-light focus-visible:bg-primary-light'\n );\n parts.push(`${partName}-checked`);\n } else if (isExcluded) {\n classNames.push(\n 'excluded bg-error hover:bg-error focus-visible:bg-error hover:border-error focus-visible:border-error'\n );\n parts.push(`${partName}-checked`);\n } else {\n classNames.push('border border-neutral-dark');\n }\n if (props.class) {\n classNames.push(props.class);\n }\n\n const attributes = {\n key: props.key,\n id: props.id,\n class: classNames.join(' '),\n part: parts.join(' '),\n 'aria-pressed': isSelected ? 'true' : isExcluded ? 'mixed' : 'false',\n 'aria-label': props.ariaLabel ?? props.text,\n value: props.text,\n ref: props.ref,\n };\n\n return (\n <button\n {...attributes}\n role=\"button\"\n onClick={() => props.onToggle?.(!isSelected)}\n onMouseDown={(e) => props.onMouseDown?.(e)}\n >\n <atomic-icon\n style={{stroke: 'white', fill: 'white'}}\n class={`w-3/5 ${isSelected || isExcluded ? 'block' : 'hidden'}`}\n icon={isSelected ? Tick : Close}\n part={props.iconPart}\n ></atomic-icon>\n </button>\n );\n};\n","import {FunctionalComponent, h} from '@stencil/core';\nimport Tick from '../../../../images/clear.svg';\n\ninterface ExcludeProps {\n onClick(): void;\n ariaLabel?: string;\n}\n\n/**\n * @deprecated should only be used for Stencil components.\n */\nexport const FacetValueExclude: FunctionalComponent<ExcludeProps> = (props) => {\n return (\n <button\n part=\"value-exclude-button\"\n aria-label={props.ariaLabel}\n class=\"value-exclude-button peer invisible absolute right-2 z-1 order-last ml-auto flex group-hover:visible\"\n onClick={() => props.onClick?.()}\n >\n <atomic-icon\n class=\"bg-neutral hover:bg-error order-last w-4 rounded p-1 hover:fill-white\"\n icon={Tick}\n ></atomic-icon>\n </button>\n );\n};\n","import {FunctionalComponent, h} from '@stencil/core';\nimport {createRipple} from '../../../../utils/ripple-utils';\nimport {randomID} from '../../../../utils/utils';\nimport {StencilCheckbox} from '../../stencil-checkbox';\nimport {TriStateCheckbox} from '../../stencil-triStateCheckbox';\nimport {FacetValueExclude} from '../facet-value-exclude/stencil-facet-value-exclude';\nimport {FacetValueProps} from '../stencil-facet-common';\n\ntype TriStateFacetValueProps = Omit<FacetValueProps, 'isSelected'> & {\n state: 'idle' | 'selected' | 'excluded';\n onExclude(): void;\n};\n\n/**\n * @deprecated should only be used for Stencil components.\n */\nexport const FacetValueCheckbox: FunctionalComponent<\n FacetValueProps | TriStateFacetValueProps\n> = (props, children) => {\n const id = randomID('facet-value-');\n const count = props.numberOfResults.toLocaleString(props.i18n.language);\n const ariaLabelAttributes = {\n value: props.displayValue,\n count: props.numberOfResults,\n formattedCount: count,\n interpolation: {escapeValue: false},\n };\n const selectedAriaLabel = props.i18n.t('facet-value', ariaLabelAttributes);\n const excludedAriaLabel = props.i18n.t(\n 'facet-value-exclude',\n ariaLabelAttributes\n );\n let labelRef: HTMLLabelElement;\n\n const isTriStateCheckbox = (\n a: FacetValueProps | TriStateFacetValueProps\n ): a is TriStateFacetValueProps => {\n return 'state' in a && 'isSelected' in a;\n };\n\n const renderCheckbox = () => {\n const attributes = {\n id,\n onToggle: () => props.onClick(),\n part: 'value-checkbox',\n class: 'value-checkbox',\n ariaLabel: selectedAriaLabel,\n ref: props.buttonRef,\n onMouseDown: (e: MouseEvent) =>\n createRipple(e, {color: 'neutral', parent: labelRef}),\n iconPart: 'value-checkbox-icon',\n };\n\n if (isTriStateCheckbox(props)) {\n return <TriStateCheckbox {...attributes} state={props.state} />;\n }\n\n return <StencilCheckbox {...attributes} checked={props.isSelected} />;\n };\n\n const renderExclusion = () => {\n if (isTriStateCheckbox(props)) {\n return (\n <FacetValueExclude\n onClick={() => props.onExclude?.()}\n ariaLabel={excludedAriaLabel}\n ></FacetValueExclude>\n );\n }\n };\n\n return (\n <li key={props.displayValue} class=\"group relative flex items-center\">\n {renderCheckbox()}\n <label\n ref={(ref) => (labelRef = ref!)}\n htmlFor={id}\n part=\"value-checkbox-label\"\n class=\"items-center\"\n onMouseDown={(e) => createRipple(e, {color: 'neutral'})}\n aria-hidden=\"true\"\n >\n {children}\n <span part=\"value-count\" class=\"value-count\">\n {props.i18n.t('between-parentheses', {\n text: count,\n })}\n </span>\n </label>\n {renderExclusion()}\n </li>\n );\n};\n"],"version":3}
1
+ {"file":"stencil-facet-value-checkbox-156f1e2d.js","mappings":";;;;;;AAUA;;;AAGO,MAAM,gBAAgB,GAA+C,CAC1E,KAAK;IAEL,MAAM,UAAU,GAAG,KAAK,CAAC,KAAK,KAAK,UAAU,CAAC;IAC9C,MAAM,UAAU,GAAG,KAAK,CAAC,KAAK,KAAK,UAAU,CAAC;IAC9C,MAAM,QAAQ,GAAG,KAAK,CAAC,IAAI,IAAI,UAAU,CAAC;IAE1C,MAAM,UAAU,GAAG;QACjB,kIAAkI;KACnI,CAAC;IACF,MAAM,KAAK,GAAG,CAAC,QAAQ,CAAC,CAAC;IACzB,IAAI,UAAU,EAAE;QACd,UAAU,CAAC,IAAI,CACb,2EAA2E,CAC5E,CAAC;QACF,KAAK,CAAC,IAAI,CAAC,GAAG,QAAQ,UAAU,CAAC,CAAC;KACnC;SAAM,IAAI,UAAU,EAAE;QACrB,UAAU,CAAC,IAAI,CACb,uGAAuG,CACxG,CAAC;QACF,KAAK,CAAC,IAAI,CAAC,GAAG,QAAQ,UAAU,CAAC,CAAC;KACnC;SAAM;QACL,UAAU,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC;KAC/C;IACD,IAAI,KAAK,CAAC,KAAK,EAAE;QACf,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;KAC9B;IAED,MAAM,UAAU,GAAG;QACjB,GAAG,EAAE,KAAK,CAAC,GAAG;QACd,EAAE,EAAE,KAAK,CAAC,EAAE;QACZ,KAAK,EAAE,UAAU,CAAC,IAA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iBAAiB,IAChB,OAAO,EAAE,MAAM,KAAK,CAAC,SAAS,IAAI,EAClC,SAAS,EAAE,iBAAiB,GACT,EACrB;SACH;KACF,CAAC;IAEF,QACE,UAAI,GAAG,EAAE,KAAK,CAAC,YAAY,EAAE,KAAK,EAAC,kCAAkC;QAClE,cAAc,EAAE;QACjB,aACE,GAAG,EAAE,CAAC,GAAG,MAAM,QAAQ,GAAG,GAAI,CAAC,EAC/B,OAAO,EAAE,EAAE,EACX,IAAI,EAAC,sBAAsB,EAC3B,KAAK,EAAC,cAAc,EACpB,WAAW,EAAE,CAAC,CAAC,KAAK,YAAY,CAAC,CAAC,EAAE,EAAC,KAAK,EAAE,SAAS,EAAC,CAAC,iBAC3C,MAAM;YAEjB,QAAQ;YACT,YAAM,IAAI,EAAC,aAAa,EAAC,KAAK,EAAC,aAAa,IACzC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,qBAAqB,EAAE;gBACnC,IAAI,EAAE,KAAK;aACZ,CAAC,CACG,CACD;QACP,eAAe,EAAE,CACf,EACL;AACJ;;;;","names":["Tick","Close"],"sources":["src/components/common/stencil-triStateCheckbox.tsx","src/components/common/facets/facet-value-exclude/stencil-facet-value-exclude.tsx","src/components/common/facets/facet-value-checkbox/stencil-facet-value-checkbox.tsx"],"sourcesContent":["import {FacetValueState} from '@coveo/headless';\nimport {FunctionalComponent, h} from '@stencil/core';\nimport Tick from '../../images/checkbox.svg';\nimport Close from '../../images/close.svg';\nimport {StencilCheckboxProps} from './stencil-checkbox';\n\ntype TriStateCheckboxProps = Omit<StencilCheckboxProps, 'checked'> & {\n state: FacetValueState;\n};\n\n/**\n * @deprecated should only be used for Stencil components.\n */\nexport const TriStateCheckbox: FunctionalComponent<TriStateCheckboxProps> = (\n props\n) => {\n const isSelected = props.state === 'selected';\n const isExcluded = props.state === 'excluded';\n const partName = props.part ?? 'checkbox';\n\n const classNames = [\n 'w-4 h-4 grid place-items-center rounded focus-visible:outline-none hover:border-primary-light focus-visible:border-primary-light',\n ];\n const parts = [partName];\n if (isSelected) {\n classNames.push(\n 'selected bg-primary hover:bg-primary-light focus-visible:bg-primary-light'\n );\n parts.push(`${partName}-checked`);\n } else if (isExcluded) {\n classNames.push(\n 'excluded bg-error hover:bg-error focus-visible:bg-error hover:border-error focus-visible:border-error'\n );\n parts.push(`${partName}-checked`);\n } else {\n classNames.push('border border-neutral-dark');\n }\n if (props.class) {\n classNames.push(props.class);\n }\n\n const attributes = {\n key: props.key,\n id: props.id,\n class: classNames.join(' '),\n part: parts.join(' '),\n 'aria-pressed': isSelected ? 'true' : isExcluded ? 'mixed' : 'false',\n 'aria-label': props.ariaLabel ?? props.text,\n value: props.text,\n ref: props.ref,\n };\n\n return (\n <button\n {...attributes}\n role=\"button\"\n onClick={() => props.onToggle?.(!isSelected)}\n onMouseDown={(e) => props.onMouseDown?.(e)}\n >\n <atomic-icon\n style={{stroke: 'white', fill: 'white'}}\n class={`w-3/5 ${isSelected || isExcluded ? 'block' : 'hidden'}`}\n icon={isSelected ? Tick : Close}\n part={props.iconPart}\n ></atomic-icon>\n </button>\n );\n};\n","import {FunctionalComponent, h} from '@stencil/core';\nimport Tick from '../../../../images/clear.svg';\n\ninterface ExcludeProps {\n onClick(): void;\n ariaLabel?: string;\n}\n\n/**\n * @deprecated should only be used for Stencil components.\n */\nexport const FacetValueExclude: FunctionalComponent<ExcludeProps> = (props) => {\n return (\n <button\n part=\"value-exclude-button\"\n aria-label={props.ariaLabel}\n class=\"value-exclude-button peer invisible absolute right-2 z-1 order-last ml-auto flex group-hover:visible\"\n onClick={() => props.onClick?.()}\n >\n <atomic-icon\n class=\"bg-neutral hover:bg-error order-last w-4 rounded p-1 hover:fill-white\"\n icon={Tick}\n ></atomic-icon>\n </button>\n );\n};\n","import {FunctionalComponent, h} from '@stencil/core';\nimport {createRipple} from '../../../../utils/ripple-utils';\nimport {randomID} from '../../../../utils/utils';\nimport {StencilCheckbox} from '../../stencil-checkbox';\nimport {TriStateCheckbox} from '../../stencil-triStateCheckbox';\nimport {FacetValueExclude} from '../facet-value-exclude/stencil-facet-value-exclude';\nimport {FacetValueProps} from '../stencil-facet-common';\n\ntype TriStateFacetValueProps = Omit<FacetValueProps, 'isSelected'> & {\n state: 'idle' | 'selected' | 'excluded';\n onExclude(): void;\n};\n\n/**\n * @deprecated should only be used for Stencil components.\n */\nexport const FacetValueCheckbox: FunctionalComponent<\n FacetValueProps | TriStateFacetValueProps\n> = (props, children) => {\n const id = randomID('facet-value-');\n const count = props.numberOfResults.toLocaleString(props.i18n.language);\n const ariaLabelAttributes = {\n value: props.displayValue,\n count: props.numberOfResults,\n formattedCount: count,\n interpolation: {escapeValue: false},\n };\n const selectedAriaLabel = props.i18n.t('facet-value', ariaLabelAttributes);\n const excludedAriaLabel = props.i18n.t(\n 'facet-value-exclude',\n ariaLabelAttributes\n );\n let labelRef: HTMLLabelElement;\n\n const isTriStateCheckbox = (\n a: FacetValueProps | TriStateFacetValueProps\n ): a is TriStateFacetValueProps => {\n return 'state' in a && 'isSelected' in a;\n };\n\n const renderCheckbox = () => {\n const attributes = {\n id,\n onToggle: () => props.onClick(),\n part: 'value-checkbox',\n class: 'value-checkbox',\n ariaLabel: selectedAriaLabel,\n ref: props.buttonRef,\n onMouseDown: (e: MouseEvent) =>\n createRipple(e, {color: 'neutral', parent: labelRef}),\n iconPart: 'value-checkbox-icon',\n };\n\n if (isTriStateCheckbox(props)) {\n return <TriStateCheckbox {...attributes} state={props.state} />;\n }\n\n return <StencilCheckbox {...attributes} checked={props.isSelected} />;\n };\n\n const renderExclusion = () => {\n if (isTriStateCheckbox(props)) {\n return (\n <FacetValueExclude\n onClick={() => props.onExclude?.()}\n ariaLabel={excludedAriaLabel}\n ></FacetValueExclude>\n );\n }\n };\n\n return (\n <li key={props.displayValue} class=\"group relative flex items-center\">\n {renderCheckbox()}\n <label\n ref={(ref) => (labelRef = ref!)}\n htmlFor={id}\n part=\"value-checkbox-label\"\n class=\"items-center\"\n onMouseDown={(e) => createRipple(e, {color: 'neutral'})}\n aria-hidden=\"true\"\n >\n {children}\n <span part=\"value-count\" class=\"value-count\">\n {props.i18n.t('between-parentheses', {\n text: count,\n })}\n </span>\n </label>\n {renderExclusion()}\n </li>\n );\n};\n"],"version":3}
@@ -1,6 +1,6 @@
1
1
  import { u as updateBreakpoints } from './replace-breakpoint-utils-13ff9ca5.js';
2
- import { g as getFirstFocusableDescendant } from './stencil-accessibility-utils-de708162.js';
3
- import { o as once, d as defer } from './utils-730e6154.js';
2
+ import { g as getFirstFocusableDescendant } from './stencil-accessibility-utils-2070ba91.js';
3
+ import { o as once, d as defer } from './utils-b6c5d1af.js';
4
4
 
5
5
  const resultComponentClass = 'result-component';
6
6
  class ItemListCommon {
@@ -61,4 +61,4 @@ class ItemListCommon {
61
61
 
62
62
  export { ItemListCommon as I, resultComponentClass as r };
63
63
 
64
- //# sourceMappingURL=stencil-item-list-common-355d92bd.js.map
64
+ //# sourceMappingURL=stencil-item-list-common-3b7a33f5.js.map
@@ -1 +1 @@
1
- {"file":"stencil-item-list-common-355d92bd.js","mappings":";;;;MAiBa,oBAAoB,GAAG,mBAAmB;MAyB1C,cAAc;IAKzB,YAAoB,KAA0B;QAA1B,UAAK,GAAL,KAAK,CAAqB;QAC5C,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QACxD,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,GAAG,IAAI,CAAC;QACzC,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC,MAAM,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;QAC5E,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,qBAAqB,CAAC;YACjD,IAAI,CAAC,oBAAoB,GAAG,SAAS,CAAC;SACvC,CAAC,CAAC;KACJ;IAEM,iBAAiB;QACtB,IAAI,CAAC,qBAAqB,EAAE,CA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ClB,2BAA2B,CAAC,IAAI,CAAC,aAAa,CAAC;wBAC/C,IAAI,CAAC,aAAa,CAAC;oBACrB,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;oBACvD,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,KAAK,EAAE,CAAC;oBACrC,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC;oBAC/B,KAAK,EAAE,CAAC;oBACR,OAAO,EAAE,CAAC;iBACX;aACF,CAAC,CAAC;SACJ,CAAC,CAAC;KACJ;;;;;","names":[],"sources":["src/components/common/item-list/stencil-item-list-common.tsx"],"sourcesContent":["import {updateBreakpoints} from '../../../utils/replace-breakpoint-utils';\nimport {\n FocusTargetController,\n getFirstFocusableDescendant,\n} from '../../../utils/stencil-accessibility-utils';\nimport {defer, once} from '../../../utils/utils';\nimport {CommerceStore} from '../../commerce/atomic-commerce-interface/store';\nimport {CommerceRecommendationStore} from '../../commerce/atomic-commerce-recommendation-interface/store';\nimport {InsightStore} from '../../insight/atomic-insight-interface/store';\nimport {RecsStore} from '../../recommendations/atomic-recs-interface/store';\nimport {SearchStore} from '../../search/atomic-search-interface/store';\nimport {AnyItem} from './unfolded-item';\nimport {\n ItemDisplayDensity,\n ItemDisplayImageSize,\n} from '../layout/display-options';\n\nexport const resultComponentClass = 'result-component';\n\nexport type ItemRenderingFunction<SpecificResult extends AnyItem = AnyItem> =\n | ((\n result: SpecificResult,\n root: HTMLElement,\n linkContainer?: HTMLElement\n ) => string)\n | undefined;\n\nexport interface ItemListCommonProps {\n store:\n | CommerceStore\n | CommerceRecommendationStore\n | RecsStore\n | InsightStore\n | SearchStore;\n loadingFlag: string;\n host: HTMLElement;\n nextNewItemTarget: FocusTargetController;\n getCurrentNumberOfItems: () => number;\n getIsLoading: () => boolean;\n engineSubscribe: (cb: () => void) => () => void;\n}\n\nexport class ItemListCommon {\n private indexOfResultToFocus?: number;\n private firstResultEl?: HTMLElement;\n private updateBreakpointsOnce: () => void;\n\n constructor(private props: ItemListCommonProps) {\n this.props.store.setLoadingFlag(this.props.loadingFlag);\n this.props.store.state.resultList = this;\n this.updateBreakpointsOnce = once(() => updateBreakpoints(this.props.host));\n this.props.nextNewItemTarget.registerFocusCallback(() => {\n this.indexOfResultToFocus = undefined;\n });\n }\n\n public updateBreakpoints() {\n this.updateBreakpointsOnce();\n }\n\n public getResultId(\n uniqueIdOnResult: string,\n searchResponseId: string,\n density: ItemDisplayDensity,\n imageSize: ItemDisplayImageSize\n ) {\n return `${uniqueIdOnResult}${searchResponseId}${density}${imageSize}`;\n }\n\n public setNewResultRef(element: HTMLElement, resultIndex: number) {\n if (resultIndex === 0) {\n this.firstResultEl = element;\n }\n if (resultIndex !== this.indexOfResultToFocus) {\n return;\n }\n\n if (!element.children.length && !element.shadowRoot?.children.length) {\n return;\n }\n\n this.indexOfResultToFocus = undefined;\n const elementToFocus = getFirstFocusableDescendant(element) ?? element;\n this.props.nextNewItemTarget.setTarget(elementToFocus);\n }\n\n public focusOnNextNewResult() {\n this.indexOfResultToFocus = this.props.getCurrentNumberOfItems();\n this.props.nextNewItemTarget.focusOnNextTarget();\n }\n\n public async focusOnFirstResultAfterNextSearch() {\n await defer();\n return new Promise<void>((resolve) => {\n if (this.props.getIsLoading()) {\n this.firstResultEl = undefined;\n }\n\n const unsub = this.props.engineSubscribe(async () => {\n await defer();\n if (!this.props.getIsLoading() && this.firstResultEl) {\n const elementToFocus =\n getFirstFocusableDescendant(this.firstResultEl) ??\n this.firstResultEl;\n this.props.nextNewItemTarget.setTarget(elementToFocus);\n this.props.nextNewItemTarget.focus();\n this.firstResultEl = undefined;\n unsub();\n resolve();\n }\n });\n });\n }\n}\n"],"version":3}
1
+ {"file":"stencil-item-list-common-3b7a33f5.js","mappings":";;;;MAiBa,oBAAoB,GAAG,mBAAmB;MAyB1C,cAAc;IAKzB,YAAoB,KAA0B;QAA1B,UAAK,GAAL,KAAK,CAAqB;QAC5C,IAAI,CAAC,K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AAK,CAAC,iBAAiB,CAAC,iBAAiB,EAAE,CAAC;KAClD;IAEM,MAAM,iCAAiC;QAC5C,MAAM,KAAK,EAAE,CAAC;QACd,OAAO,IAAI,OAAO,CAAO,CAAC,OAAO;YAC/B,IAAI,IAAI,CAAC,KAAK,CAAC,YAAY,EAAE,EAAE;gBAC7B,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC;aAChC;YAED,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC;gBACvC,MAAM,KAAK,EAAE,CAAC;gBACd,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE;oBACpD,MAAM,cAAc,GAClB,2BAA2B,CAAC,IAAI,CAAC,aAAa,CAAC;wBAC/C,IAAI,CAAC,aAAa,CAAC;oBACrB,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;oBACvD,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,KAAK,EAAE,CAAC;oBACrC,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC;oBAC/B,KAAK,EAAE,CAAC;oBACR,OAAO,EAAE,CAAC;iBACX;aACF,CAAC,CAAC;SACJ,CAAC,CAAC;KACJ;;;;;","names":[],"sources":["src/components/common/item-list/stencil-item-list-common.tsx"],"sourcesContent":["import {updateBreakpoints} from '../../../utils/replace-breakpoint-utils';\nimport {\n FocusTargetController,\n getFirstFocusableDescendant,\n} from '../../../utils/stencil-accessibility-utils';\nimport {defer, once} from '../../../utils/utils';\nimport {CommerceStore} from '../../commerce/atomic-commerce-interface/store';\nimport {CommerceRecommendationStore} from '../../commerce/atomic-commerce-recommendation-interface/store';\nimport {InsightStore} from '../../insight/atomic-insight-interface/store';\nimport {RecsStore} from '../../recommendations/atomic-recs-interface/store';\nimport {SearchStore} from '../../search/atomic-search-interface/store';\nimport {AnyItem} from './unfolded-item';\nimport {\n ItemDisplayDensity,\n ItemDisplayImageSize,\n} from '../layout/display-options';\n\nexport const resultComponentClass = 'result-component';\n\nexport type ItemRenderingFunction<SpecificResult extends AnyItem = AnyItem> =\n | ((\n result: SpecificResult,\n root: HTMLElement,\n linkContainer?: HTMLElement\n ) => string)\n | undefined;\n\nexport interface ItemListCommonProps {\n store:\n | CommerceStore\n | CommerceRecommendationStore\n | RecsStore\n | InsightStore\n | SearchStore;\n loadingFlag: string;\n host: HTMLElement;\n nextNewItemTarget: FocusTargetController;\n getCurrentNumberOfItems: () => number;\n getIsLoading: () => boolean;\n engineSubscribe: (cb: () => void) => () => void;\n}\n\nexport class ItemListCommon {\n private indexOfResultToFocus?: number;\n private firstResultEl?: HTMLElement;\n private updateBreakpointsOnce: () => void;\n\n constructor(private props: ItemListCommonProps) {\n this.props.store.setLoadingFlag(this.props.loadingFlag);\n this.props.store.state.resultList = this;\n this.updateBreakpointsOnce = once(() => updateBreakpoints(this.props.host));\n this.props.nextNewItemTarget.registerFocusCallback(() => {\n this.indexOfResultToFocus = undefined;\n });\n }\n\n public updateBreakpoints() {\n this.updateBreakpointsOnce();\n }\n\n public getResultId(\n uniqueIdOnResult: string,\n searchResponseId: string,\n density: ItemDisplayDensity,\n imageSize: ItemDisplayImageSize\n ) {\n return `${uniqueIdOnResult}${searchResponseId}${density}${imageSize}`;\n }\n\n public setNewResultRef(element: HTMLElement, resultIndex: number) {\n if (resultIndex === 0) {\n this.firstResultEl = element;\n }\n if (resultIndex !== this.indexOfResultToFocus) {\n return;\n }\n\n if (!element.children.length && !element.shadowRoot?.children.length) {\n return;\n }\n\n this.indexOfResultToFocus = undefined;\n const elementToFocus = getFirstFocusableDescendant(element) ?? element;\n this.props.nextNewItemTarget.setTarget(elementToFocus);\n }\n\n public focusOnNextNewResult() {\n this.indexOfResultToFocus = this.props.getCurrentNumberOfItems();\n this.props.nextNewItemTarget.focusOnNextTarget();\n }\n\n public async focusOnFirstResultAfterNextSearch() {\n await defer();\n return new Promise<void>((resolve) => {\n if (this.props.getIsLoading()) {\n this.firstResultEl = undefined;\n }\n\n const unsub = this.props.engineSubscribe(async () => {\n await defer();\n if (!this.props.getIsLoading() && this.firstResultEl) {\n const elementToFocus =\n getFirstFocusableDescendant(this.firstResultEl) ??\n this.firstResultEl;\n this.props.nextNewItemTarget.setTarget(elementToFocus);\n this.props.nextNewItemTarget.focus();\n this.firstResultEl = undefined;\n unsub();\n resolve();\n }\n });\n });\n }\n}\n"],"version":3}
@@ -1,7 +1,7 @@
1
1
  import { ResultTemplatesHelpers } from '@coveo/headless';
2
2
  import { h } from './index-62c2216d.js';
3
- import { a as aggregate, i as isVisualNode, b as isElementNode } from './utils-730e6154.js';
4
- import { i as isResultSectionNode } from './item-layout-sections-4f105293.js';
3
+ import { b as aggregate, f as isVisualNode, i as isElementNode } from './utils-b6c5d1af.js';
4
+ import { i as isResultSectionNode } from './item-layout-sections-7f3f07d2.js';
5
5
 
6
6
  const tableElementTagName = 'atomic-table-element';
7
7
 
@@ -111,6 +111,6 @@ function makeDefinedConditions(ifDefined, ifNotDefined) {
111
111
  return conditions;
112
112
  }
113
113
 
114
- export { ResultTemplateCommon as R, makeDefinedConditions as a, makeMatchConditions as m };
114
+ export { ResultTemplateCommon as R, makeMatchConditions as a, makeDefinedConditions as m };
115
115
 
116
- //# sourceMappingURL=stencil-result-template-common-3ed9087d.js.map
116
+ //# sourceMappingURL=stencil-result-template-common-32655043.js.map