@coveo/atomic 3.33.8-pre.bfb642d322 → 3.33.8-pre.c54adf6755

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 (184) 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 -2
  4. package/dist/atomic/components/_index.js +2 -2
  5. package/dist/atomic/components/analytics-config.js +1 -1
  6. package/dist/atomic/components/atomic-insight-search-box.js +32 -6
  7. package/dist/atomic/components/atomic-insight-search-box.js.map +1 -1
  8. package/dist/atomic/components/atomic-search-box-instant-results.js +2 -2
  9. package/dist/atomic/components/atomic-search-box-instant-results.js.map +1 -1
  10. package/dist/atomic/components/atomic-search-box-recent-queries2.js +2 -2
  11. package/dist/atomic/components/atomic-search-box-recent-queries2.js.map +1 -1
  12. package/dist/atomic/components/atomic-search-box.js +6 -13
  13. package/dist/atomic/components/atomic-search-box.js.map +1 -1
  14. package/dist/atomic/components/atomic-smart-snippet-feedback-modal2.js +2 -2
  15. package/dist/atomic/components/atomic-suggestion-renderer2.js +1 -1
  16. package/dist/atomic/components/atomic-suggestion-renderer2.js.map +1 -1
  17. package/dist/atomic/components/atomic-tab-manager.js +1 -1
  18. package/dist/atomic/components/components/commerce/atomic-commerce-breadbox/atomic-commerce-breadbox.js +18 -11
  19. package/dist/atomic/components/components/commerce/atomic-commerce-interface/atomic-commerce-interface.js +2 -7
  20. package/dist/atomic/components/components/commerce/atomic-commerce-layout/atomic-commerce-layout.js +19 -10
  21. package/dist/atomic/components/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.js +1 -1
  22. package/dist/atomic/components/components/commerce/atomic-commerce-search-box-instant-products/atomic-commerce-search-box-instant-products.js +1 -1
  23. package/dist/atomic/components/components/commerce/atomic-commerce-search-box-query-suggestions/atomic-commerce-search-box-query-suggestions.js +1 -1
  24. package/dist/atomic/components/components/commerce/atomic-commerce-search-box-recent-queries/atomic-commerce-search-box-recent-queries.js +1 -1
  25. package/dist/atomic/components/components/common/layout/layout-styles-controller.js +40 -0
  26. package/dist/atomic/components/components/common/layout/mobile-breakpoint-controller.js +26 -0
  27. package/dist/atomic/components/components/common/suggestions/suggestion-manager.js +1 -1
  28. package/dist/atomic/components/components/common/suggestions/{suggestions-common.js → suggestions-events.js} +16 -18
  29. package/dist/atomic/components/components/common/suggestions/suggestions-types.js +1 -0
  30. package/dist/atomic/components/components/common/suggestions/suggestions-utils.js +18 -0
  31. package/dist/atomic/components/components/search/atomic-search-box-query-suggestions/atomic-search-box-query-suggestions.js +121 -0
  32. package/dist/atomic/components/components/search/index.js +1 -0
  33. package/dist/atomic/components/components/search/lazy-index.js +1 -0
  34. package/dist/atomic/components/global/environment.js +1 -1
  35. package/dist/atomic/components/stencil-suggestion-manager.js +20 -2
  36. package/dist/atomic/components/stencil-suggestion-manager.js.map +1 -1
  37. package/dist/atomic/components/{suggestions-common.js → suggestions-events.js} +18 -20
  38. package/dist/atomic/components/suggestions-events.js.map +1 -0
  39. package/dist/atomic/index.esm.js +1 -1
  40. package/dist/atomic/index.esm.js.map +1 -1
  41. package/dist/atomic/p-0a051b8d.js +2 -0
  42. package/dist/atomic/p-0a051b8d.js.map +1 -0
  43. package/dist/atomic/p-16f4ce98.js +2 -0
  44. package/dist/atomic/p-16f4ce98.js.map +1 -0
  45. package/dist/atomic/{p-aa2a81fd.entry.js → p-39e63678.entry.js} +2 -2
  46. package/dist/atomic/p-4b7a19db.js +2 -0
  47. package/dist/atomic/p-4b7a19db.js.map +1 -0
  48. package/dist/atomic/p-7a06a356.entry.js +2 -0
  49. package/dist/atomic/p-7a06a356.entry.js.map +1 -0
  50. package/dist/atomic/{p-aa8e0616.entry.js → p-9b24788e.entry.js} +2 -2
  51. package/dist/atomic/{p-7a625c7e.entry.js → p-ae98c582.entry.js} +2 -2
  52. package/dist/atomic/{p-a09b4db4.entry.js → p-be8d7ee7.entry.js} +2 -2
  53. package/dist/atomic/{p-83e20cc3.entry.js → p-c1384fa7.entry.js} +2 -2
  54. package/dist/atomic/{p-94b5f495.js → p-c81ba3db.js} +2 -2
  55. package/dist/atomic/{p-3d847e45.entry.js → p-c88a3d2d.entry.js} +2 -2
  56. package/dist/atomic/p-c88a3d2d.entry.js.map +1 -0
  57. package/dist/atomic/{p-36e71b99.entry.js → p-d0f47b33.entry.js} +2 -2
  58. package/dist/atomic/p-d0f47b33.entry.js.map +1 -0
  59. package/dist/atomic/p-d2b14ff1.entry.js +2 -0
  60. package/dist/atomic/p-d2b14ff1.entry.js.map +1 -0
  61. package/dist/atomic/{p-aa4224ea.entry.js → p-fbfe913d.entry.js} +2 -2
  62. package/dist/atomic/p-fbfe913d.entry.js.map +1 -0
  63. package/dist/cjs/_index.cjs.js +5 -2
  64. package/dist/cjs/_loader.cjs.js +1 -1
  65. package/dist/cjs/{analytics-config-b8fab215.js → analytics-config-f6473d68.js} +2 -2
  66. package/dist/cjs/{analytics-config-b8fab215.js.map → analytics-config-f6473d68.js.map} +1 -1
  67. package/dist/cjs/atomic-insight-interface.cjs.entry.js +1 -1
  68. package/dist/cjs/atomic-insight-search-box.cjs.entry.js +35 -9
  69. package/dist/cjs/atomic-insight-search-box.cjs.entry.js.map +1 -1
  70. package/dist/cjs/atomic-recs-interface.cjs.entry.js +1 -1
  71. package/dist/cjs/atomic-search-box-instant-results.cjs.entry.js +3 -3
  72. package/dist/cjs/atomic-search-box-instant-results.cjs.entry.js.map +1 -1
  73. package/dist/cjs/{atomic-search-box-query-suggestions_2.cjs.entry.js → atomic-search-box-recent-queries.cjs.entry.js} +6 -69
  74. package/dist/cjs/atomic-search-box-recent-queries.cjs.entry.js.map +1 -0
  75. package/dist/cjs/atomic-search-box.cjs.entry.js +7 -7
  76. package/dist/cjs/atomic-search-box.cjs.entry.js.map +1 -1
  77. package/dist/cjs/atomic-search-interface.cjs.entry.js +1 -1
  78. package/dist/cjs/atomic-smart-snippet-feedback-modal.cjs.entry.js +2 -2
  79. package/dist/cjs/atomic-suggestion-renderer.cjs.entry.js +1 -1
  80. package/dist/cjs/atomic-suggestion-renderer.cjs.entry.js.map +1 -1
  81. package/dist/cjs/atomic-tab-manager.cjs.entry.js +1 -1
  82. package/dist/cjs/atomic.cjs.js +1 -1
  83. package/dist/cjs/index-757bc886.js +2 -2
  84. package/dist/cjs/index.cjs.js.map +1 -1
  85. package/dist/cjs/{stencil-suggestion-manager-c0878ef2.js → stencil-suggestion-manager-2cba6d69.js} +4 -4
  86. package/dist/cjs/{stencil-suggestion-manager-c0878ef2.js.map → stencil-suggestion-manager-2cba6d69.js.map} +1 -1
  87. package/dist/cjs/{suggestions-common-5097a362.js → suggestions-events-63dd0640.js} +17 -21
  88. package/dist/cjs/suggestions-events-63dd0640.js.map +1 -0
  89. package/dist/cjs/suggestions-utils-61000808.js +25 -0
  90. package/dist/cjs/suggestions-utils-61000808.js.map +1 -0
  91. package/dist/cjs/version.cjs.js +2 -2
  92. package/dist/esm/_index.js +2 -1
  93. package/dist/esm/_loader.js +1 -1
  94. package/dist/esm/{analytics-config-d0c5b639.js → analytics-config-b49fc947.js} +2 -2
  95. package/dist/esm/{analytics-config-d0c5b639.js.map → analytics-config-b49fc947.js.map} +1 -1
  96. package/dist/esm/atomic-insight-interface.entry.js +1 -1
  97. package/dist/esm/atomic-insight-search-box.entry.js +33 -7
  98. package/dist/esm/atomic-insight-search-box.entry.js.map +1 -1
  99. package/dist/esm/atomic-recs-interface.entry.js +1 -1
  100. package/dist/esm/atomic-search-box-instant-results.entry.js +2 -2
  101. package/dist/esm/atomic-search-box-instant-results.entry.js.map +1 -1
  102. package/dist/esm/{atomic-search-box-query-suggestions_2.entry.js → atomic-search-box-recent-queries.entry.js} +8 -70
  103. package/dist/esm/atomic-search-box-recent-queries.entry.js.map +1 -0
  104. package/dist/esm/atomic-search-box.entry.js +6 -6
  105. package/dist/esm/atomic-search-box.entry.js.map +1 -1
  106. package/dist/esm/atomic-search-interface.entry.js +1 -1
  107. package/dist/esm/atomic-smart-snippet-feedback-modal.entry.js +2 -2
  108. package/dist/esm/atomic-suggestion-renderer.entry.js +1 -1
  109. package/dist/esm/atomic-suggestion-renderer.entry.js.map +1 -1
  110. package/dist/esm/atomic-tab-manager.entry.js +1 -1
  111. package/dist/esm/atomic.js +1 -1
  112. package/dist/esm/index-3f35faca.js +2 -2
  113. package/dist/esm/index.js.map +1 -1
  114. package/dist/esm/{stencil-suggestion-manager-486094dd.js → stencil-suggestion-manager-376f83e8.js} +2 -2
  115. package/dist/esm/{stencil-suggestion-manager-486094dd.js.map → stencil-suggestion-manager-376f83e8.js.map} +1 -1
  116. package/dist/esm/{suggestions-common-2b20db26.js → suggestions-events-b7a6f007.js} +18 -20
  117. package/dist/esm/suggestions-events-b7a6f007.js.map +1 -0
  118. package/dist/esm/suggestions-utils-591559a0.js +22 -0
  119. package/dist/esm/suggestions-utils-591559a0.js.map +1 -0
  120. package/dist/esm/version.js +2 -2
  121. package/dist/types/components/commerce/atomic-commerce-breadbox/atomic-commerce-breadbox.d.ts +2 -1
  122. package/dist/types/components/commerce/atomic-commerce-interface/atomic-commerce-interface.d.ts +0 -1
  123. package/dist/types/components/commerce/atomic-commerce-layout/atomic-commerce-layout.d.ts +3 -3
  124. package/dist/types/components/commerce/atomic-commerce-search-box-instant-products/atomic-commerce-search-box-instant-products.d.ts +1 -1
  125. package/dist/types/components/commerce/atomic-commerce-search-box-query-suggestions/atomic-commerce-search-box-query-suggestions.d.ts +1 -1
  126. package/dist/types/components/commerce/atomic-commerce-search-box-recent-queries/atomic-commerce-search-box-recent-queries.d.ts +1 -1
  127. package/dist/types/components/common/atomic-suggestion-renderer/atomic-suggestion-renderer.d.ts +1 -1
  128. package/dist/types/components/common/layout/layout-styles-controller.d.ts +22 -0
  129. package/dist/types/components/common/layout/mobile-breakpoint-controller.d.ts +18 -0
  130. package/dist/types/components/common/suggestions/instant-item.d.ts +1 -1
  131. package/dist/types/components/common/suggestions/query-suggestions.d.ts +1 -1
  132. package/dist/types/components/common/suggestions/recent-queries.d.ts +1 -1
  133. package/dist/types/components/common/suggestions/stencil-instant-item.d.ts +1 -1
  134. package/dist/types/components/common/suggestions/stencil-query-suggestions.d.ts +1 -1
  135. package/dist/types/components/common/suggestions/stencil-recent-queries.d.ts +1 -1
  136. package/dist/types/components/common/suggestions/stencil-suggestion-manager.d.ts +1 -1
  137. package/dist/types/components/common/suggestions/suggestion-manager.d.ts +1 -1
  138. package/dist/types/components/common/suggestions/suggestions-events.d.ts +14 -0
  139. package/dist/types/components/common/suggestions/{suggestions-common.d.ts → suggestions-types.d.ts} +6 -16
  140. package/dist/types/components/common/suggestions/suggestions-utils.d.ts +15 -0
  141. package/dist/types/components/search/atomic-search-box/atomic-search-box.d.ts +1 -1
  142. package/dist/types/components/search/{search-box-suggestions/atomic-search-box-query-suggestions → atomic-search-box-query-suggestions}/atomic-search-box-query-suggestions.d.ts +17 -8
  143. package/dist/types/components/search/index.d.ts +1 -0
  144. package/dist/types/components/search/search-box-suggestions/atomic-search-box-instant-results/atomic-search-box-instant-results.d.ts +1 -1
  145. package/dist/types/components.d.ts +2 -51
  146. package/dist/types/decorators/types.d.ts +1 -1
  147. package/dist/types/index.d.ts +3 -1
  148. package/docs/atomic-docs.json +5 -104
  149. package/package.json +4 -4
  150. package/dist/atomic/components/atomic-search-box-query-suggestions.d.ts +0 -11
  151. package/dist/atomic/components/atomic-search-box-query-suggestions.js +0 -8
  152. package/dist/atomic/components/atomic-search-box-query-suggestions.js.map +0 -1
  153. package/dist/atomic/components/atomic-search-box-query-suggestions2.js +0 -89
  154. package/dist/atomic/components/atomic-search-box-query-suggestions2.js.map +0 -1
  155. package/dist/atomic/components/stencil-query-suggestions.js +0 -33
  156. package/dist/atomic/components/stencil-query-suggestions.js.map +0 -1
  157. package/dist/atomic/components/suggestions-common.js.map +0 -1
  158. package/dist/atomic/p-29fd6768.js +0 -2
  159. package/dist/atomic/p-29fd6768.js.map +0 -1
  160. package/dist/atomic/p-36e71b99.entry.js.map +0 -1
  161. package/dist/atomic/p-3d847e45.entry.js.map +0 -1
  162. package/dist/atomic/p-7601c3de.js +0 -2
  163. package/dist/atomic/p-7601c3de.js.map +0 -1
  164. package/dist/atomic/p-8867af82.entry.js +0 -2
  165. package/dist/atomic/p-8867af82.entry.js.map +0 -1
  166. package/dist/atomic/p-aa4224ea.entry.js.map +0 -1
  167. package/dist/atomic/p-af93b44c.js +0 -2
  168. package/dist/atomic/p-af93b44c.js.map +0 -1
  169. package/dist/atomic/p-c1bf43cf.entry.js +0 -2
  170. package/dist/atomic/p-c1bf43cf.entry.js.map +0 -1
  171. package/dist/cjs/atomic-search-box-query-suggestions_2.cjs.entry.js.map +0 -1
  172. package/dist/cjs/stencil-query-suggestions-03268ecc.js +0 -38
  173. package/dist/cjs/stencil-query-suggestions-03268ecc.js.map +0 -1
  174. package/dist/cjs/suggestions-common-5097a362.js.map +0 -1
  175. package/dist/esm/atomic-search-box-query-suggestions_2.entry.js.map +0 -1
  176. package/dist/esm/stencil-query-suggestions-5d6a46d7.js +0 -33
  177. package/dist/esm/stencil-query-suggestions-5d6a46d7.js.map +0 -1
  178. package/dist/esm/suggestions-common-2b20db26.js.map +0 -1
  179. /package/dist/atomic/{p-aa2a81fd.entry.js.map → p-39e63678.entry.js.map} +0 -0
  180. /package/dist/atomic/{p-aa8e0616.entry.js.map → p-9b24788e.entry.js.map} +0 -0
  181. /package/dist/atomic/{p-7a625c7e.entry.js.map → p-ae98c582.entry.js.map} +0 -0
  182. /package/dist/atomic/{p-a09b4db4.entry.js.map → p-be8d7ee7.entry.js.map} +0 -0
  183. /package/dist/atomic/{p-83e20cc3.entry.js.map → p-c1384fa7.entry.js.map} +0 -0
  184. /package/dist/atomic/{p-94b5f495.js.map → p-c81ba3db.js.map} +0 -0
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy(JSON.parse("[[\"atomic-result-list.cjs\",[[1,\"atomic-result-list\",{\"display\":[513],\"density\":[513],\"imageSize\":[1537,\"image-size\"],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"resultListState\":[32],\"resultsPerPageState\":[32],\"tabManagerState\":[32],\"resultTemplateRegistered\":[32],\"error\":[32],\"isAppLoaded\":[32],\"templateHasError\":[32],\"setRenderFunction\":[64]},null,{\"tabManagerState\":[\"watchTabManagerState\"]}]]],[\"atomic-folded-result-list.cjs\",[[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-folded-result-list.cjs\",[[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.cjs\",[[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.cjs\",[[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-ipx-recs-list.cjs\",[[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.cjs\",[[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-result-children.cjs\",[[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-insight-smart-snippet.cjs\",[[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.cjs\",[[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-smart-snippet-suggestions.cjs\",[[1,\"atomic-insight-smart-snippet-suggestions\",{\"headingLevel\":[514,\"heading-level\"],\"snippetStyle\":[1,\"snippet-style\"],\"smartSnippetQuestionsListState\":[32]}]]],[\"atomic-smart-snippet-suggestions.cjs\",[[1,\"atomic-smart-snippet-suggestions\",{\"headingLevel\":[514,\"heading-level\"],\"snippetStyle\":[1,\"snippet-style\"],\"smartSnippetQuestionsListState\":[32]}]]],[\"atomic-insight-user-actions-toggle.cjs\",[[1,\"atomic-insight-user-actions-toggle\",{\"userId\":[1,\"user-id\"],\"ticketCreationDateTime\":[1,\"ticket-creation-date-time\"],\"excludedCustomActions\":[16],\"userActionsState\":[32],\"error\":[32]}]]],[\"atomic-refine-toggle.cjs\",[[1,\"atomic-refine-toggle\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"error\":[32],\"searchStatusState\":[32]}]]],[\"atomic-search-box.cjs\",[[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-tab-manager.cjs\",[[1,\"atomic-tab-manager\",{\"clearFiltersOnTabChange\":[4,\"clear-filters-on-tab-change\"],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-insight-tabs.cjs\",[[4,\"atomic-insight-tabs\",{\"error\":[32]}]]],[\"atomic-ipx-result-link.cjs\",[[4,\"atomic-ipx-result-link\",{\"hrefTemplate\":[513,\"href-template\"]}]]],[\"atomic-ipx-tabs.cjs\",[[4,\"atomic-ipx-tabs\",{\"error\":[32]}]]],[\"atomic-result-badge.cjs\",[[1,\"atomic-result-badge\",{\"field\":[513],\"label\":[513],\"icon\":[513]}]]],[\"atomic-result-link.cjs\",[[4,\"atomic-result-link\",{\"hrefTemplate\":[513,\"href-template\"]}]]],[\"atomic-result-printable-uri.cjs\",[[0,\"atomic-result-printable-uri\",{\"maxNumberOfParts\":[514,\"max-number-of-parts\"],\"listExpanded\":[32],\"error\":[32]}]]],[\"atomic-insight-numeric-facet.cjs\",[[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.cjs\",[[1,\"atomic-insight-refine-toggle\",{\"error\":[32],\"breadcrumbManagerState\":[32],\"searchStatusState\":[32]}]]],[\"atomic-insight-result-quickview-action.cjs\",[[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.cjs\",[[1,\"atomic-insight-search-box\",{\"disableSearch\":[516,\"disable-search\"],\"numberOfSuggestions\":[514,\"number-of-suggestions\"],\"searchBoxState\":[32],\"error\":[32],\"isExpanded\":[32]}]]],[\"atomic-ipx-embedded.cjs\",[[1,\"atomic-ipx-embedded\",{\"container\":[1040],\"error\":[32],\"hasFooterSlotElements\":[32]}]]],[\"atomic-ipx-modal.cjs\",[[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.cjs\",[[1,\"atomic-ipx-refine-toggle\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"error\":[32],\"breadcrumbManagerState\":[32],\"searchStatusState\":[32]}]]],[\"atomic-numeric-facet.cjs\",[[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-popover.cjs\",[[1,\"atomic-popover\",{\"searchStatusState\":[32],\"facetState\":[32],\"error\":[32],\"isOpen\":[32],\"childFacet\":[32]},[[0,\"atomic/initializePopover\",\"initializePopover\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"atomic-quickview.cjs\",[[1,\"atomic-quickview\",{\"sandbox\":[1],\"error\":[32],\"quickviewState\":[32]},[[16,\"atomic/quickview/next\",\"onNextQuickview\"],[16,\"atomic/quickview/previous\",\"onPreviousQuickview\"]]]]],[\"atomic-result-html.cjs\",[[0,\"atomic-result-html\",{\"field\":[513],\"sanitize\":[516],\"error\":[32]}]]],[\"atomic-search-box-instant-results.cjs\",[[1,\"atomic-search-box-instant-results\",{\"maxResultsPerQuery\":[514,\"max-results-per-query\"],\"density\":[513],\"imageSize\":[513,\"image-size\"],\"ariaLabelGenerator\":[16],\"error\":[32],\"templateHasError\":[32],\"setRenderFunction\":[64]}]]],[\"atomic-search-interface.cjs\",[[1,\"atomic-search-interface\",{\"fieldsToInclude\":[1025,\"fields-to-include\"],\"pipeline\":[1537],\"searchHub\":[1537,\"search-hub\"],\"analytics\":[516],\"timezone\":[513],\"logLevel\":[513,\"log-level\"],\"i18n\":[16],\"language\":[513],\"engine\":[1040],\"reflectStateInUrl\":[516,\"reflect-state-in-url\"],\"scrollContainer\":[513,\"scroll-container\"],\"languageAssetsPath\":[513,\"language-assets-path\"],\"iconAssetsPath\":[513,\"icon-assets-path\"],\"enableRelevanceInspector\":[516,\"enable-relevance-inspector\"],\"CspNonce\":[513,\"csp-nonce\"],\"error\":[32],\"relevanceInspectorIsOpen\":[32],\"initialize\":[64],\"initializeWithSearchEngine\":[64],\"executeFirstSearch\":[64]},[[0,\"atomic/initializeComponent\",\"handleInitialization\"],[0,\"atomic/scrollToTop\",\"scrollToTop\"],[0,\"atomic/relevanceInspector/close\",\"closeRelevanceInspector\"]],{\"searchHub\":[\"updateSearchHub\"],\"pipeline\":[\"updatePipeline\"],\"analytics\":[\"toggleAnalytics\"],\"language\":[\"updateLanguage\"],\"iconAssetsPath\":[\"updateIconAssetsPath\"]}]]],[\"atomic-breadbox.cjs\",[[1,\"atomic-breadbox\",{\"pathLimit\":[2,\"path-limit\"],\"breadcrumbManagerState\":[32],\"facetManagerState\":[32],\"error\":[32],\"isCollapsed\":[32]}]]],[\"atomic-category-facet.cjs\",[[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.cjs\",[[0,\"atomic-citation\",{\"citation\":[16],\"index\":[2],\"sendHoverEndEvent\":[16],\"interactiveCitation\":[16],\"disableCitationAnchoring\":[4,\"disable-citation-anchoring\"],\"isOpen\":[32]},null,{\"isOpen\":[\"sendHoverAnalytics\"]}]]],[\"atomic-color-facet.cjs\",[[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.cjs\",[[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-external.cjs\",[[0,\"atomic-external\",{\"selector\":[513],\"boundInterface\":[1040]},[[0,\"atomic/initializeComponent\",\"handleInitialization\"],[0,\"atomic/scrollToTop\",\"handleScrollToTop\"],[8,\"atomic/parentReady\",\"handleParentReady\"]]]]],[\"atomic-facet.cjs\",[[1,\"atomic-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\"],\"enableExclusion\":[516,\"enable-exclusion\"],\"injectionDepth\":[2,\"injection-depth\"],\"dependsOn\":[16],\"allowedValues\":[1025,\"allowed-values\"],\"customSort\":[1025,\"custom-sort\"],\"facetState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-facet-manager.cjs\",[[4,\"atomic-facet-manager\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"facetManagerState\":[32],\"error\":[32]}]]],[\"atomic-field-condition.cjs\",[[4,\"atomic-field-condition\",{\"ifDefined\":[513,\"if-defined\"],\"ifNotDefined\":[513,\"if-not-defined\"],\"mustMatch\":[16],\"mustNotMatch\":[16]}]]],[\"atomic-format-currency.cjs\",[[1,\"atomic-format-currency\",{\"currency\":[513],\"error\":[32]}]]],[\"atomic-format-number.cjs\",[[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.cjs\",[[1,\"atomic-format-unit\",{\"unit\":[513],\"unitDisplay\":[513,\"unit-display\"],\"error\":[32]}]]],[\"atomic-generated-answer.cjs\",[[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.cjs\",[[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.cjs\",[[1,\"atomic-insight-edit-toggle\",{\"clickCallback\":[1040],\"tooltip\":[1025]}]]],[\"atomic-insight-facet.cjs\",[[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.cjs\",[[1,\"atomic-insight-full-search-button\",{\"tooltip\":[1025],\"error\":[32]}]]],[\"atomic-insight-generated-answer.cjs\",[[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.cjs\",[[1,\"atomic-insight-history-toggle\",{\"clickCallback\":[1040],\"tooltip\":[1025]}]]],[\"atomic-insight-interface.cjs\",[[1,\"atomic-insight-interface\",{\"engine\":[1040],\"analytics\":[516],\"i18n\":[16],\"logLevel\":[513,\"log-level\"],\"language\":[513],\"languageAssetsPath\":[513,\"language-assets-path\"],\"iconAssetsPath\":[513,\"icon-assets-path\"],\"fieldsToInclude\":[1025,\"fields-to-include\"],\"resultsPerPage\":[514,\"results-per-page\"],\"CspNonce\":[513,\"csp-nonce\"],\"error\":[32],\"initialize\":[64],\"initializeWithInsightEngine\":[64],\"executeFirstSearch\":[64]},[[0,\"atomic/initializeComponent\",\"handleInitialization\"]],{\"iconAssetsPath\":[\"updateIconAssetsPath\"],\"language\":[\"updateLanguage\"],\"analytics\":[\"toggleAnalytics\"]}]]],[\"atomic-insight-layout.cjs\",[[0,\"atomic-insight-layout\",{\"widget\":[1540]},null,{\"widget\":[\"updateStyles\"]}]]],[\"atomic-insight-no-results.cjs\",[[1,\"atomic-insight-no-results\",{\"searchStatusState\":[32],\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-insight-pager.cjs\",[[1,\"atomic-insight-pager\",{\"numberOfPages\":[514,\"number-of-pages\"],\"pagerState\":[32],\"searchStatusState\":[32],\"error\":[32]}]]],[\"atomic-insight-query-error.cjs\",[[1,\"atomic-insight-query-error\",{\"queryErrorState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-insight-query-summary.cjs\",[[1,\"atomic-insight-query-summary\",{\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-insight-result-action.cjs\",[[0,\"atomic-insight-result-action\",{\"icon\":[1025],\"tooltip\":[1025],\"tooltipOnClick\":[1025,\"tooltip-on-click\"],\"action\":[1025],\"error\":[32]}]]],[\"atomic-insight-result-action-bar.cjs\",[[0,\"atomic-insight-result-action-bar\"]]],[\"atomic-insight-result-attach-to-case-action.cjs\",[[0,\"atomic-insight-result-attach-to-case-action\",{\"error\":[32],\"attachToCaseState\":[32]}]]],[\"atomic-insight-result-attach-to-case-indicator.cjs\",[[0,\"atomic-insight-result-attach-to-case-indicator\",{\"error\":[32],\"attachToCaseState\":[32]}]]],[\"atomic-insight-result-children-template.cjs\",[[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.cjs\",[[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.cjs\",[[1,\"atomic-insight-tab\",{\"label\":[513],\"active\":[1540],\"expression\":[1],\"error\":[32],\"isAppLoaded\":[32],\"tabState\":[32],\"select\":[64]}]]],[\"atomic-insight-timeframe-facet.cjs\",[[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.cjs\",[[1,\"atomic-ipx-button\",{\"label\":[513],\"closeIcon\":[513,\"close-icon\"],\"openIcon\":[513,\"open-icon\"],\"isModalOpen\":[1540,\"is-modal-open\"],\"error\":[32]}]]],[\"atomic-ipx-tab.cjs\",[[1,\"atomic-ipx-tab\",{\"label\":[513],\"active\":[1540],\"expression\":[1],\"error\":[32],\"isAppLoaded\":[32],\"tabState\":[32],\"select\":[64]}]]],[\"atomic-load-more-results.cjs\",[[1,\"atomic-load-more-results\",{\"querySummaryState\":[32],\"resultListState\":[32],\"error\":[32],\"isAppLoaded\":[32]}]]],[\"atomic-no-results.cjs\",[[1,\"atomic-no-results\",{\"enableCancelLastAction\":[516,\"enable-cancel-last-action\"],\"searchStatusState\":[32],\"historyState\":[32],\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-notifications.cjs\",[[1,\"atomic-notifications\",{\"headingLevel\":[514,\"heading-level\"],\"icon\":[513],\"notifyTriggerState\":[32],\"error\":[32]}]]],[\"atomic-numeric-range.cjs\",[[0,\"atomic-numeric-range\",{\"label\":[513],\"start\":[514],\"end\":[514],\"endInclusive\":[516,\"end-inclusive\"]}]]],[\"atomic-pager.cjs\",[[1,\"atomic-pager\",{\"numberOfPages\":[514,\"number-of-pages\"],\"previousButtonIcon\":[513,\"previous-button-icon\"],\"nextButtonIcon\":[513,\"next-button-icon\"],\"pagerState\":[32],\"searchStatusState\":[32],\"error\":[32],\"isAppLoaded\":[32]}]]],[\"atomic-query-error.cjs\",[[1,\"atomic-query-error\",{\"queryErrorState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-rating-facet.cjs\",[[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.cjs\",[[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.cjs\",[[1,\"atomic-recs-error\",{\"recommendationListState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-recs-interface.cjs\",[[1,\"atomic-recs-interface\",{\"pipeline\":[1537],\"searchHub\":[1537,\"search-hub\"],\"timezone\":[513],\"engine\":[1040],\"analytics\":[516],\"i18n\":[16],\"logLevel\":[513,\"log-level\"],\"language\":[513],\"fieldsToInclude\":[1025,\"fields-to-include\"],\"languageAssetsPath\":[513,\"language-assets-path\"],\"iconAssetsPath\":[513,\"icon-assets-path\"],\"CspNonce\":[513,\"csp-nonce\"],\"error\":[32],\"initialize\":[64],\"initializeWithRecommendationEngine\":[64],\"getRecommendations\":[64]},[[0,\"atomic/initializeComponent\",\"handleInitialization\"]],{\"iconAssetsPath\":[\"updateIconAssetsPath\"],\"language\":[\"updateLanguage\"],\"analytics\":[\"toggleAnalytics\"]}]]],[\"atomic-recs-result-template.cjs\",[[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-children-template.cjs\",[[1,\"atomic-result-children-template\",{\"conditions\":[16],\"mustMatch\":[16],\"mustNotMatch\":[16],\"error\":[32],\"getTemplate\":[64]}]]],[\"atomic-result-date.cjs\",[[0,\"atomic-result-date\",{\"field\":[513],\"format\":[513],\"relativeTime\":[516,\"relative-time\"],\"error\":[32]}]]],[\"atomic-result-fields-list.cjs\",[[0,\"atomic-result-fields-list\"]]],[\"atomic-result-icon.cjs\",[[1,\"atomic-result-icon\"]]],[\"atomic-result-image.cjs\",[[0,\"atomic-result-image\",{\"field\":[513],\"imageAltField\":[513,\"image-alt-field\"],\"fallback\":[513],\"useFallback\":[32]}]]],[\"atomic-result-localized-text.cjs\",[[0,\"atomic-result-localized-text\",{\"localeKey\":[1,\"locale-key\"],\"field\":[16],\"fieldCount\":[1,\"field-count\"],\"error\":[32]}]]],[\"atomic-result-multi-value-text.cjs\",[[1,\"atomic-result-multi-value-text\",{\"field\":[513],\"maxValuesToDisplay\":[514,\"max-values-to-display\"],\"delimiter\":[513],\"error\":[32]}]]],[\"atomic-result-number.cjs\",[[0,\"atomic-result-number\",{\"field\":[513],\"error\":[32],\"formatter\":[32],\"valueToDisplay\":[32]},[[0,\"atomic/numberFormat\",\"setFormat\"]]]]],[\"atomic-result-rating.cjs\",[[1,\"atomic-result-rating\",{\"field\":[513],\"maxValueInIndex\":[514,\"max-value-in-index\"],\"icon\":[513],\"error\":[32],\"numberOfStars\":[32]}]]],[\"atomic-result-section-children.cjs\",[[0,\"atomic-result-section-children\"]]],[\"atomic-result-section-emphasized.cjs\",[[0,\"atomic-result-section-emphasized\"]]],[\"atomic-result-section-title-metadata.cjs\",[[0,\"atomic-result-section-title-metadata\"]]],[\"atomic-result-template.cjs\",[[1,\"atomic-result-template\",{\"conditions\":[16],\"mustMatch\":[16],\"mustNotMatch\":[16],\"error\":[32],\"getTemplate\":[64]}]]],[\"atomic-result-timespan.cjs\",[[0,\"atomic-result-timespan\",{\"field\":[513],\"unit\":[513],\"format\":[513],\"error\":[32]}]]],[\"atomic-segmented-facet.cjs\",[[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.cjs\",[[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.cjs\",[[1,\"atomic-sort-dropdown\",{\"sortState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-sort-expression.cjs\",[[0,\"atomic-sort-expression\",{\"label\":[513],\"expression\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"]}]]],[\"atomic-stencil-facet-date-input.cjs\",[[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.cjs\",[[0,\"atomic-tab\",{\"label\":[1],\"name\":[1],\"expression\":[1]}]]],[\"atomic-table-element.cjs\",[[0,\"atomic-table-element\",{\"label\":[513]}]]],[\"atomic-timeframe.cjs\",[[0,\"atomic-timeframe\",{\"period\":[513],\"unit\":[513],\"amount\":[514],\"label\":[513]}]]],[\"atomic-timeframe-facet.cjs\",[[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.cjs\",[[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.cjs\",[[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-focus-trap.cjs\",[[0,\"atomic-focus-trap\",{\"active\":[4],\"source\":[1040],\"container\":[1040],\"shouldHideSelf\":[4,\"should-hide-self\"],\"scope\":[16]},[[4,\"focusin\",\"onFocusChanged\"]],{\"active\":[\"activeChanged\"]}]]],[\"atomic-html.cjs\",[[1,\"atomic-html\",{\"value\":[1],\"sanitize\":[516],\"error\":[32]}]]],[\"atomic-insight-refine-modal.cjs\",[[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.cjs\",[[1,\"atomic-insight-smart-snippet-feedback-modal\",{\"source\":[1040],\"isOpen\":[1540,\"is-open\"],\"error\":[32],\"currentAnswer\":[32]},null,{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-ipx-refine-modal.cjs\",[[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-relevance-inspector.cjs\",[[1,\"atomic-relevance-inspector\",{\"bindings\":[16],\"open\":[516]}]]],[\"atomic-smart-snippet-feedback-modal.cjs\",[[1,\"atomic-smart-snippet-feedback-modal\",{\"source\":[1040],\"isOpen\":[1540,\"is-open\"],\"error\":[32],\"currentAnswer\":[32]},null,{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-tab-button.cjs\",[[0,\"atomic-tab-button\",{\"label\":[1],\"active\":[4],\"select\":[16]}]]],[\"atomic-search-box-query-suggestions_2.cjs\",[[1,\"atomic-search-box-query-suggestions\",{\"icon\":[1],\"maxWithQuery\":[514,\"max-with-query\"],\"maxWithoutQuery\":[514,\"max-without-query\"],\"error\":[32]}],[1,\"atomic-search-box-recent-queries\",{\"icon\":[1],\"maxWithQuery\":[514,\"max-with-query\"],\"maxWithoutQuery\":[514,\"max-without-query\"],\"error\":[32]}]]],[\"atomic-facet-number-input.cjs\",[[0,\"atomic-facet-number-input\",{\"bindings\":[16],\"type\":[1],\"filter\":[16],\"filterState\":[16],\"label\":[1],\"start\":[32],\"end\":[32]}]]],[\"atomic-ipx-body.cjs\",[[1,\"atomic-ipx-body\",{\"isOpen\":[1028,\"is-open\"],\"displayFooterSlot\":[516,\"display-footer-slot\"],\"error\":[32]}]]],[\"atomic-quickview-modal.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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-result.cjs\",[[1,\"atomic-result\",{\"stopPropagation\":[4,\"stop-propagation\"],\"result\":[16],\"interactiveResult\":[16],\"store\":[16],\"content\":[16],\"linkContent\":[16],\"display\":[1],\"density\":[1],\"imageSize\":[1,\"image-size\"],\"classes\":[1],\"loadingFlag\":[1,\"loading-flag\"],\"renderingFunction\":[16]},[[0,\"atomic/resolveResult\",\"resolveResult\"],[0,\"atomic/resolveInteractiveResult\",\"resolveInteractiveResult\"],[0,\"atomic/resolveStopPropagation\",\"resolveStopPropagation\"],[0,\"atomic/resolveResultDisplayConfig\",\"resolveResultDisplayConfig\"],[0,\"click\",\"handleClick\"]]]]],[\"atomic-automatic-facet_2.cjs\",[[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.cjs\",[[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.cjs\",[[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-result-text_2.cjs\",[[0,\"atomic-result-text\",{\"field\":[513],\"shouldHighlight\":[516,\"should-highlight\"],\"default\":[513],\"error\":[32]}],[1,\"atomic-text\",{\"value\":[513],\"count\":[514],\"error\":[32]}]]],[\"atomic-smart-snippet-answer_2.cjs\",[[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_8.cjs\",[[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]}],[0,\"atomic-result-section-actions\"],[0,\"atomic-result-section-badges\"],[0,\"atomic-result-section-bottom-metadata\"],[0,\"atomic-result-section-excerpt\"],[0,\"atomic-result-section-title\"],[0,\"atomic-result-section-visual\",{\"imageSize\":[513,\"image-size\"]}]]]]"), options);
22
+ return index.bootstrapLazy(JSON.parse("[[\"atomic-result-list.cjs\",[[1,\"atomic-result-list\",{\"display\":[513],\"density\":[513],\"imageSize\":[1537,\"image-size\"],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"],\"resultListState\":[32],\"resultsPerPageState\":[32],\"tabManagerState\":[32],\"resultTemplateRegistered\":[32],\"error\":[32],\"isAppLoaded\":[32],\"templateHasError\":[32],\"setRenderFunction\":[64]},null,{\"tabManagerState\":[\"watchTabManagerState\"]}]]],[\"atomic-folded-result-list.cjs\",[[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-folded-result-list.cjs\",[[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.cjs\",[[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.cjs\",[[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-ipx-recs-list.cjs\",[[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.cjs\",[[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-result-children.cjs\",[[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-insight-smart-snippet.cjs\",[[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.cjs\",[[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-smart-snippet-suggestions.cjs\",[[1,\"atomic-insight-smart-snippet-suggestions\",{\"headingLevel\":[514,\"heading-level\"],\"snippetStyle\":[1,\"snippet-style\"],\"smartSnippetQuestionsListState\":[32]}]]],[\"atomic-smart-snippet-suggestions.cjs\",[[1,\"atomic-smart-snippet-suggestions\",{\"headingLevel\":[514,\"heading-level\"],\"snippetStyle\":[1,\"snippet-style\"],\"smartSnippetQuestionsListState\":[32]}]]],[\"atomic-insight-user-actions-toggle.cjs\",[[1,\"atomic-insight-user-actions-toggle\",{\"userId\":[1,\"user-id\"],\"ticketCreationDateTime\":[1,\"ticket-creation-date-time\"],\"excludedCustomActions\":[16],\"userActionsState\":[32],\"error\":[32]}]]],[\"atomic-refine-toggle.cjs\",[[1,\"atomic-refine-toggle\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"error\":[32],\"searchStatusState\":[32]}]]],[\"atomic-tab-manager.cjs\",[[1,\"atomic-tab-manager\",{\"clearFiltersOnTabChange\":[4,\"clear-filters-on-tab-change\"],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-insight-tabs.cjs\",[[4,\"atomic-insight-tabs\",{\"error\":[32]}]]],[\"atomic-ipx-result-link.cjs\",[[4,\"atomic-ipx-result-link\",{\"hrefTemplate\":[513,\"href-template\"]}]]],[\"atomic-ipx-tabs.cjs\",[[4,\"atomic-ipx-tabs\",{\"error\":[32]}]]],[\"atomic-result-badge.cjs\",[[1,\"atomic-result-badge\",{\"field\":[513],\"label\":[513],\"icon\":[513]}]]],[\"atomic-result-link.cjs\",[[4,\"atomic-result-link\",{\"hrefTemplate\":[513,\"href-template\"]}]]],[\"atomic-result-printable-uri.cjs\",[[0,\"atomic-result-printable-uri\",{\"maxNumberOfParts\":[514,\"max-number-of-parts\"],\"listExpanded\":[32],\"error\":[32]}]]],[\"atomic-search-box.cjs\",[[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-insight-numeric-facet.cjs\",[[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.cjs\",[[1,\"atomic-insight-refine-toggle\",{\"error\":[32],\"breadcrumbManagerState\":[32],\"searchStatusState\":[32]}]]],[\"atomic-insight-result-quickview-action.cjs\",[[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.cjs\",[[1,\"atomic-insight-search-box\",{\"disableSearch\":[516,\"disable-search\"],\"numberOfSuggestions\":[514,\"number-of-suggestions\"],\"searchBoxState\":[32],\"error\":[32],\"isExpanded\":[32]}]]],[\"atomic-ipx-embedded.cjs\",[[1,\"atomic-ipx-embedded\",{\"container\":[1040],\"error\":[32],\"hasFooterSlotElements\":[32]}]]],[\"atomic-ipx-modal.cjs\",[[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.cjs\",[[1,\"atomic-ipx-refine-toggle\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"error\":[32],\"breadcrumbManagerState\":[32],\"searchStatusState\":[32]}]]],[\"atomic-numeric-facet.cjs\",[[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-popover.cjs\",[[1,\"atomic-popover\",{\"searchStatusState\":[32],\"facetState\":[32],\"error\":[32],\"isOpen\":[32],\"childFacet\":[32]},[[0,\"atomic/initializePopover\",\"initializePopover\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"atomic-quickview.cjs\",[[1,\"atomic-quickview\",{\"sandbox\":[1],\"error\":[32],\"quickviewState\":[32]},[[16,\"atomic/quickview/next\",\"onNextQuickview\"],[16,\"atomic/quickview/previous\",\"onPreviousQuickview\"]]]]],[\"atomic-result-html.cjs\",[[0,\"atomic-result-html\",{\"field\":[513],\"sanitize\":[516],\"error\":[32]}]]],[\"atomic-search-box-instant-results.cjs\",[[1,\"atomic-search-box-instant-results\",{\"maxResultsPerQuery\":[514,\"max-results-per-query\"],\"density\":[513],\"imageSize\":[513,\"image-size\"],\"ariaLabelGenerator\":[16],\"error\":[32],\"templateHasError\":[32],\"setRenderFunction\":[64]}]]],[\"atomic-search-interface.cjs\",[[1,\"atomic-search-interface\",{\"fieldsToInclude\":[1025,\"fields-to-include\"],\"pipeline\":[1537],\"searchHub\":[1537,\"search-hub\"],\"analytics\":[516],\"timezone\":[513],\"logLevel\":[513,\"log-level\"],\"i18n\":[16],\"language\":[513],\"engine\":[1040],\"reflectStateInUrl\":[516,\"reflect-state-in-url\"],\"scrollContainer\":[513,\"scroll-container\"],\"languageAssetsPath\":[513,\"language-assets-path\"],\"iconAssetsPath\":[513,\"icon-assets-path\"],\"enableRelevanceInspector\":[516,\"enable-relevance-inspector\"],\"CspNonce\":[513,\"csp-nonce\"],\"error\":[32],\"relevanceInspectorIsOpen\":[32],\"initialize\":[64],\"initializeWithSearchEngine\":[64],\"executeFirstSearch\":[64]},[[0,\"atomic/initializeComponent\",\"handleInitialization\"],[0,\"atomic/scrollToTop\",\"scrollToTop\"],[0,\"atomic/relevanceInspector/close\",\"closeRelevanceInspector\"]],{\"searchHub\":[\"updateSearchHub\"],\"pipeline\":[\"updatePipeline\"],\"analytics\":[\"toggleAnalytics\"],\"language\":[\"updateLanguage\"],\"iconAssetsPath\":[\"updateIconAssetsPath\"]}]]],[\"atomic-breadbox.cjs\",[[1,\"atomic-breadbox\",{\"pathLimit\":[2,\"path-limit\"],\"breadcrumbManagerState\":[32],\"facetManagerState\":[32],\"error\":[32],\"isCollapsed\":[32]}]]],[\"atomic-category-facet.cjs\",[[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.cjs\",[[0,\"atomic-citation\",{\"citation\":[16],\"index\":[2],\"sendHoverEndEvent\":[16],\"interactiveCitation\":[16],\"disableCitationAnchoring\":[4,\"disable-citation-anchoring\"],\"isOpen\":[32]},null,{\"isOpen\":[\"sendHoverAnalytics\"]}]]],[\"atomic-color-facet.cjs\",[[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.cjs\",[[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-external.cjs\",[[0,\"atomic-external\",{\"selector\":[513],\"boundInterface\":[1040]},[[0,\"atomic/initializeComponent\",\"handleInitialization\"],[0,\"atomic/scrollToTop\",\"handleScrollToTop\"],[8,\"atomic/parentReady\",\"handleParentReady\"]]]]],[\"atomic-facet.cjs\",[[1,\"atomic-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\"],\"enableExclusion\":[516,\"enable-exclusion\"],\"injectionDepth\":[2,\"injection-depth\"],\"dependsOn\":[16],\"allowedValues\":[1025,\"allowed-values\"],\"customSort\":[1025,\"custom-sort\"],\"facetState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-facet-manager.cjs\",[[4,\"atomic-facet-manager\",{\"collapseFacetsAfter\":[514,\"collapse-facets-after\"],\"facetManagerState\":[32],\"error\":[32]}]]],[\"atomic-field-condition.cjs\",[[4,\"atomic-field-condition\",{\"ifDefined\":[513,\"if-defined\"],\"ifNotDefined\":[513,\"if-not-defined\"],\"mustMatch\":[16],\"mustNotMatch\":[16]}]]],[\"atomic-format-currency.cjs\",[[1,\"atomic-format-currency\",{\"currency\":[513],\"error\":[32]}]]],[\"atomic-format-number.cjs\",[[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.cjs\",[[1,\"atomic-format-unit\",{\"unit\":[513],\"unitDisplay\":[513,\"unit-display\"],\"error\":[32]}]]],[\"atomic-generated-answer.cjs\",[[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.cjs\",[[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.cjs\",[[1,\"atomic-insight-edit-toggle\",{\"clickCallback\":[1040],\"tooltip\":[1025]}]]],[\"atomic-insight-facet.cjs\",[[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.cjs\",[[1,\"atomic-insight-full-search-button\",{\"tooltip\":[1025],\"error\":[32]}]]],[\"atomic-insight-generated-answer.cjs\",[[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.cjs\",[[1,\"atomic-insight-history-toggle\",{\"clickCallback\":[1040],\"tooltip\":[1025]}]]],[\"atomic-insight-interface.cjs\",[[1,\"atomic-insight-interface\",{\"engine\":[1040],\"analytics\":[516],\"i18n\":[16],\"logLevel\":[513,\"log-level\"],\"language\":[513],\"languageAssetsPath\":[513,\"language-assets-path\"],\"iconAssetsPath\":[513,\"icon-assets-path\"],\"fieldsToInclude\":[1025,\"fields-to-include\"],\"resultsPerPage\":[514,\"results-per-page\"],\"CspNonce\":[513,\"csp-nonce\"],\"error\":[32],\"initialize\":[64],\"initializeWithInsightEngine\":[64],\"executeFirstSearch\":[64]},[[0,\"atomic/initializeComponent\",\"handleInitialization\"]],{\"iconAssetsPath\":[\"updateIconAssetsPath\"],\"language\":[\"updateLanguage\"],\"analytics\":[\"toggleAnalytics\"]}]]],[\"atomic-insight-layout.cjs\",[[0,\"atomic-insight-layout\",{\"widget\":[1540]},null,{\"widget\":[\"updateStyles\"]}]]],[\"atomic-insight-no-results.cjs\",[[1,\"atomic-insight-no-results\",{\"searchStatusState\":[32],\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-insight-pager.cjs\",[[1,\"atomic-insight-pager\",{\"numberOfPages\":[514,\"number-of-pages\"],\"pagerState\":[32],\"searchStatusState\":[32],\"error\":[32]}]]],[\"atomic-insight-query-error.cjs\",[[1,\"atomic-insight-query-error\",{\"queryErrorState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-insight-query-summary.cjs\",[[1,\"atomic-insight-query-summary\",{\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-insight-result-action.cjs\",[[0,\"atomic-insight-result-action\",{\"icon\":[1025],\"tooltip\":[1025],\"tooltipOnClick\":[1025,\"tooltip-on-click\"],\"action\":[1025],\"error\":[32]}]]],[\"atomic-insight-result-action-bar.cjs\",[[0,\"atomic-insight-result-action-bar\"]]],[\"atomic-insight-result-attach-to-case-action.cjs\",[[0,\"atomic-insight-result-attach-to-case-action\",{\"error\":[32],\"attachToCaseState\":[32]}]]],[\"atomic-insight-result-attach-to-case-indicator.cjs\",[[0,\"atomic-insight-result-attach-to-case-indicator\",{\"error\":[32],\"attachToCaseState\":[32]}]]],[\"atomic-insight-result-children-template.cjs\",[[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.cjs\",[[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.cjs\",[[1,\"atomic-insight-tab\",{\"label\":[513],\"active\":[1540],\"expression\":[1],\"error\":[32],\"isAppLoaded\":[32],\"tabState\":[32],\"select\":[64]}]]],[\"atomic-insight-timeframe-facet.cjs\",[[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.cjs\",[[1,\"atomic-ipx-button\",{\"label\":[513],\"closeIcon\":[513,\"close-icon\"],\"openIcon\":[513,\"open-icon\"],\"isModalOpen\":[1540,\"is-modal-open\"],\"error\":[32]}]]],[\"atomic-ipx-tab.cjs\",[[1,\"atomic-ipx-tab\",{\"label\":[513],\"active\":[1540],\"expression\":[1],\"error\":[32],\"isAppLoaded\":[32],\"tabState\":[32],\"select\":[64]}]]],[\"atomic-load-more-results.cjs\",[[1,\"atomic-load-more-results\",{\"querySummaryState\":[32],\"resultListState\":[32],\"error\":[32],\"isAppLoaded\":[32]}]]],[\"atomic-no-results.cjs\",[[1,\"atomic-no-results\",{\"enableCancelLastAction\":[516,\"enable-cancel-last-action\"],\"searchStatusState\":[32],\"historyState\":[32],\"querySummaryState\":[32],\"error\":[32]}]]],[\"atomic-notifications.cjs\",[[1,\"atomic-notifications\",{\"headingLevel\":[514,\"heading-level\"],\"icon\":[513],\"notifyTriggerState\":[32],\"error\":[32]}]]],[\"atomic-numeric-range.cjs\",[[0,\"atomic-numeric-range\",{\"label\":[513],\"start\":[514],\"end\":[514],\"endInclusive\":[516,\"end-inclusive\"]}]]],[\"atomic-pager.cjs\",[[1,\"atomic-pager\",{\"numberOfPages\":[514,\"number-of-pages\"],\"previousButtonIcon\":[513,\"previous-button-icon\"],\"nextButtonIcon\":[513,\"next-button-icon\"],\"pagerState\":[32],\"searchStatusState\":[32],\"error\":[32],\"isAppLoaded\":[32]}]]],[\"atomic-query-error.cjs\",[[1,\"atomic-query-error\",{\"queryErrorState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-rating-facet.cjs\",[[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.cjs\",[[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.cjs\",[[1,\"atomic-recs-error\",{\"recommendationListState\":[32],\"error\":[32],\"showMoreInfo\":[32]}]]],[\"atomic-recs-interface.cjs\",[[1,\"atomic-recs-interface\",{\"pipeline\":[1537],\"searchHub\":[1537,\"search-hub\"],\"timezone\":[513],\"engine\":[1040],\"analytics\":[516],\"i18n\":[16],\"logLevel\":[513,\"log-level\"],\"language\":[513],\"fieldsToInclude\":[1025,\"fields-to-include\"],\"languageAssetsPath\":[513,\"language-assets-path\"],\"iconAssetsPath\":[513,\"icon-assets-path\"],\"CspNonce\":[513,\"csp-nonce\"],\"error\":[32],\"initialize\":[64],\"initializeWithRecommendationEngine\":[64],\"getRecommendations\":[64]},[[0,\"atomic/initializeComponent\",\"handleInitialization\"]],{\"iconAssetsPath\":[\"updateIconAssetsPath\"],\"language\":[\"updateLanguage\"],\"analytics\":[\"toggleAnalytics\"]}]]],[\"atomic-recs-result-template.cjs\",[[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-children-template.cjs\",[[1,\"atomic-result-children-template\",{\"conditions\":[16],\"mustMatch\":[16],\"mustNotMatch\":[16],\"error\":[32],\"getTemplate\":[64]}]]],[\"atomic-result-date.cjs\",[[0,\"atomic-result-date\",{\"field\":[513],\"format\":[513],\"relativeTime\":[516,\"relative-time\"],\"error\":[32]}]]],[\"atomic-result-fields-list.cjs\",[[0,\"atomic-result-fields-list\"]]],[\"atomic-result-icon.cjs\",[[1,\"atomic-result-icon\"]]],[\"atomic-result-image.cjs\",[[0,\"atomic-result-image\",{\"field\":[513],\"imageAltField\":[513,\"image-alt-field\"],\"fallback\":[513],\"useFallback\":[32]}]]],[\"atomic-result-localized-text.cjs\",[[0,\"atomic-result-localized-text\",{\"localeKey\":[1,\"locale-key\"],\"field\":[16],\"fieldCount\":[1,\"field-count\"],\"error\":[32]}]]],[\"atomic-result-multi-value-text.cjs\",[[1,\"atomic-result-multi-value-text\",{\"field\":[513],\"maxValuesToDisplay\":[514,\"max-values-to-display\"],\"delimiter\":[513],\"error\":[32]}]]],[\"atomic-result-number.cjs\",[[0,\"atomic-result-number\",{\"field\":[513],\"error\":[32],\"formatter\":[32],\"valueToDisplay\":[32]},[[0,\"atomic/numberFormat\",\"setFormat\"]]]]],[\"atomic-result-rating.cjs\",[[1,\"atomic-result-rating\",{\"field\":[513],\"maxValueInIndex\":[514,\"max-value-in-index\"],\"icon\":[513],\"error\":[32],\"numberOfStars\":[32]}]]],[\"atomic-result-section-children.cjs\",[[0,\"atomic-result-section-children\"]]],[\"atomic-result-section-emphasized.cjs\",[[0,\"atomic-result-section-emphasized\"]]],[\"atomic-result-section-title-metadata.cjs\",[[0,\"atomic-result-section-title-metadata\"]]],[\"atomic-result-template.cjs\",[[1,\"atomic-result-template\",{\"conditions\":[16],\"mustMatch\":[16],\"mustNotMatch\":[16],\"error\":[32],\"getTemplate\":[64]}]]],[\"atomic-result-timespan.cjs\",[[0,\"atomic-result-timespan\",{\"field\":[513],\"unit\":[513],\"format\":[513],\"error\":[32]}]]],[\"atomic-segmented-facet.cjs\",[[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.cjs\",[[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.cjs\",[[1,\"atomic-sort-dropdown\",{\"sortState\":[32],\"searchStatusState\":[32],\"tabManagerState\":[32],\"error\":[32]}]]],[\"atomic-sort-expression.cjs\",[[0,\"atomic-sort-expression\",{\"label\":[513],\"expression\":[513],\"tabsIncluded\":[1537,\"tabs-included\"],\"tabsExcluded\":[1537,\"tabs-excluded\"]}]]],[\"atomic-stencil-facet-date-input.cjs\",[[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.cjs\",[[0,\"atomic-tab\",{\"label\":[1],\"name\":[1],\"expression\":[1]}]]],[\"atomic-table-element.cjs\",[[0,\"atomic-table-element\",{\"label\":[513]}]]],[\"atomic-timeframe.cjs\",[[0,\"atomic-timeframe\",{\"period\":[513],\"unit\":[513],\"amount\":[514],\"label\":[513]}]]],[\"atomic-timeframe-facet.cjs\",[[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.cjs\",[[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.cjs\",[[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-focus-trap.cjs\",[[0,\"atomic-focus-trap\",{\"active\":[4],\"source\":[1040],\"container\":[1040],\"shouldHideSelf\":[4,\"should-hide-self\"],\"scope\":[16]},[[4,\"focusin\",\"onFocusChanged\"]],{\"active\":[\"activeChanged\"]}]]],[\"atomic-html.cjs\",[[1,\"atomic-html\",{\"value\":[1],\"sanitize\":[516],\"error\":[32]}]]],[\"atomic-insight-refine-modal.cjs\",[[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.cjs\",[[1,\"atomic-insight-smart-snippet-feedback-modal\",{\"source\":[1040],\"isOpen\":[1540,\"is-open\"],\"error\":[32],\"currentAnswer\":[32]},null,{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-ipx-refine-modal.cjs\",[[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-relevance-inspector.cjs\",[[1,\"atomic-relevance-inspector\",{\"bindings\":[16],\"open\":[516]}]]],[\"atomic-search-box-recent-queries.cjs\",[[1,\"atomic-search-box-recent-queries\",{\"icon\":[1],\"maxWithQuery\":[514,\"max-with-query\"],\"maxWithoutQuery\":[514,\"max-without-query\"],\"error\":[32]}]]],[\"atomic-smart-snippet-feedback-modal.cjs\",[[1,\"atomic-smart-snippet-feedback-modal\",{\"source\":[1040],\"isOpen\":[1540,\"is-open\"],\"error\":[32],\"currentAnswer\":[32]},null,{\"isOpen\":[\"watchToggleOpen\"]}]]],[\"atomic-tab-button.cjs\",[[0,\"atomic-tab-button\",{\"label\":[1],\"active\":[4],\"select\":[16]}]]],[\"atomic-facet-number-input.cjs\",[[0,\"atomic-facet-number-input\",{\"bindings\":[16],\"type\":[1],\"filter\":[16],\"filterState\":[16],\"label\":[1],\"start\":[32],\"end\":[32]}]]],[\"atomic-ipx-body.cjs\",[[1,\"atomic-ipx-body\",{\"isOpen\":[1028,\"is-open\"],\"displayFooterSlot\":[516,\"display-footer-slot\"],\"error\":[32]}]]],[\"atomic-quickview-modal.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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-result.cjs\",[[1,\"atomic-result\",{\"stopPropagation\":[4,\"stop-propagation\"],\"result\":[16],\"interactiveResult\":[16],\"store\":[16],\"content\":[16],\"linkContent\":[16],\"display\":[1],\"density\":[1],\"imageSize\":[1,\"image-size\"],\"classes\":[1],\"loadingFlag\":[1,\"loading-flag\"],\"renderingFunction\":[16]},[[0,\"atomic/resolveResult\",\"resolveResult\"],[0,\"atomic/resolveInteractiveResult\",\"resolveInteractiveResult\"],[0,\"atomic/resolveStopPropagation\",\"resolveStopPropagation\"],[0,\"atomic/resolveResultDisplayConfig\",\"resolveResultDisplayConfig\"],[0,\"click\",\"handleClick\"]]]]],[\"atomic-automatic-facet_2.cjs\",[[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.cjs\",[[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.cjs\",[[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-result-text_2.cjs\",[[0,\"atomic-result-text\",{\"field\":[513],\"shouldHighlight\":[516,\"should-highlight\"],\"default\":[513],\"error\":[32]}],[1,\"atomic-text\",{\"value\":[513],\"count\":[514],\"error\":[32]}]]],[\"atomic-smart-snippet-answer_2.cjs\",[[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_8.cjs\",[[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]}],[0,\"atomic-result-section-actions\"],[0,\"atomic-result-section-badges\"],[0,\"atomic-result-section-bottom-metadata\"],[0,\"atomic-result-section-excerpt\"],[0,\"atomic-result-section-title\"],[0,\"atomic-result-section-visual\",{\"imageSize\":[513,\"image-size\"]}]]]]"), options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -522,10 +522,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
522
522
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
523
523
  /* webpackMode: "lazy" */
524
524
  './atomic-relevance-inspector.cjs.entry.js')); }).then(processMod, consoleError);
525
- case 'atomic-search-box-query-suggestions_2.cjs':
525
+ case 'atomic-search-box-recent-queries.cjs':
526
526
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
527
527
  /* webpackMode: "lazy" */
528
- './atomic-search-box-query-suggestions_2.cjs.entry.js')); }).then(processMod, consoleError);
528
+ './atomic-search-box-recent-queries.cjs.entry.js')); }).then(processMod, consoleError);
529
529
  case 'atomic-smart-snippet-feedback-modal.cjs':
530
530
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
531
531
  /* webpackMode: "lazy" */
@@ -1 +1 @@
1
- {"file":"index.cjs.js","mappings":";;;;;;;;;;;;;;;;AAGA;;;;;;;;;;;;SAYgB,cAAc,CAAoB,OAAgB;IAChE,OAAOA,iCAAW,CAAI,OAAO,EAAE,gBAAgB,CAAC,CAAC;AACnD;;MCHa,kBAAmB,SAAQ,KAAK;IAC3C,YAAY,WAAmB,EAAE,UAAkB;QACjD,KAAK,CACH,QAAQ,WAAW,sCAAsC,UAAU,YAAY,CAChF,CAAC;KACH;;;ACfH,MAAM,oBAAoB,GAAG,sBAAsB,CAAC;SAIpC,gBAAgB,CAAI,OAAgB,EAAE,UAAkB;IACtE,OAAO,IAAI,OAAO,CAAI,CAAC,OAAO,EAAE,MAAM;QACpC,MAAM,KAAK,GAAGC,2BAAgB,CAC5B,oBAAoB,EACpB,CAAC,IAAO;YACN,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC;SACtB,CACF,CAAC;QACF,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;QAE7B,IAAI,CAACC,gBAAO,CAAC,OAAO,EAAE,UAAU,CAAC,EAAE;YACjC,MAAM,CACJ,IAAI,kBAAkB,CAAC,OAAO,CAAC,QAAQ,CAAC,WAAW,EAAE,EAAE,UAAU,CAAC,CACnE,CAAC;SACH;KACF,CAAC,CAAC;AACL;;ACoDA;;;;;;;;;;SAUgB,mBAAmB,CAAoB,OAAgB;IACrE,OAAO,gBAAgB,CAAI,OAAO,EAAE,gBAAgB,CAAC,CAAC;AACxD;;;;;;;;;;","names":["itemContext","buildCustomEvent","closest"],"sources":["src/components/commerce/product-template-component-utils/stencil-product-template-decorators.tsx","src/components/common/item-list/context/item-context-controller.ts","src/components/common/item-list/fetch-item-context.ts","src/decorators/commerce/product-template-decorators.ts"],"sourcesContent":["import {Product} from '@coveo/headless/commerce';\nimport {itemContext} from '../../common/item-list/stencil-item-decorators';\n\n/**\n * Retrieves `Product` on a rendered `atomic-product`.\n *\n * This method is useful for building custom product template elements, see [Create a Product List](https://docs.coveo.com/en/atomic/latest/cc-search/create-custom-components/native-components/#custom-product-template-component-example) for more information.\n *\n * You should use the method in the [connectedCallback lifecycle method](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks).\n *\n * @param element - The element that the event is dispatched to, which must be the child of a rendered \"atomic-product\".\n * @returns A promise that resolves on initialization of the parent \"atomic-product\" element, or rejects when there is no parent \"atomic-product\" element.\n *\n * @deprecated should only be used for Stencil components. For Lit components, use `fetchProductContext` from \\@/src/decorators/commerce/product-template-decorators.ts\n */\nexport function productContext<T extends Product>(element: Element) {\n return itemContext<T>(element, 'atomic-product');\n}\n","import type {LitElement, ReactiveController, ReactiveControllerHost} from 'lit';\nimport type {InitializableComponent} from '@/src/decorators/types.js';\nimport {buildCustomEvent} from '@/src/utils/event-utils';\n\ntype LitElementWithError = Omit<\n Pick<InitializableComponent, 'error'>,\n 'error'\n> &\n LitElement & {\n error: Error | null;\n };\n\nconst itemContextEventName = 'atomic/resolveResult';\n\nexport class MissingParentError extends Error {\n constructor(elementName: string, parentName: string) {\n super(\n `The \"${elementName}\" element must be the child of an \"${parentName}\" element.`\n );\n }\n}\n\nfunction extractFolded<T = Record<string, unknown>>(\n item: Record<string, unknown>,\n returnFolded: boolean\n): T {\n if (returnFolded) {\n if ('children' in item) {\n return item as T;\n } else {\n return {children: [], result: item} as T;\n }\n }\n\n if ('children' in item && 'result' in item) {\n return item.result as T;\n }\n return item as T;\n}\n\n/**\n * A reactive controller that manages item context data from parent components.\n * Handles fetching item data via custom events and manages error states.\n */\nexport class ItemContextController<T = Record<string, unknown>>\n implements ReactiveController\n{\n private host: ReactiveControllerHost & LitElementWithError;\n private parentName: string;\n private folded: boolean;\n private _item: T | null = null;\n private _error: MissingParentError | null = null;\n\n constructor(\n host: ReactiveControllerHost & LitElementWithError,\n options: {parentName?: string; folded?: boolean} = {}\n ) {\n this.host = host;\n this.parentName = options.parentName ?? 'atomic-result';\n this.folded = options.folded ?? false;\n host.addController(this);\n }\n\n get item(): T | null {\n return this._error ? null : this._item;\n }\n\n get error(): MissingParentError | null {\n return this._error;\n }\n\n get hasError(): boolean {\n return this._error !== null;\n }\n\n hostConnected(): void {\n this._resolveItemContext();\n }\n\n private _resolveItemContext(): void {\n const event = buildCustomEvent(\n itemContextEventName,\n (item: Record<string, unknown>) => {\n this._item = extractFolded<T>(item, this.folded);\n this._error = null;\n this.host.error = null;\n this.host.requestUpdate();\n }\n );\n\n const canceled = this.host.dispatchEvent(event);\n if (canceled) {\n const elementName = (this.host as Element).nodeName.toLowerCase();\n this._error = new MissingParentError(elementName, this.parentName);\n this._item = null;\n this.host.error = this._error;\n this.host.requestUpdate();\n }\n }\n}\n\ntype ItemContextEventHandler<T> = (item: T) => void;\nexport type ItemContextEvent<T> = CustomEvent<ItemContextEventHandler<T>>;\n","import {closest} from '../../../utils/dom-utils.js';\nimport {buildCustomEvent} from '../../../utils/event-utils.js';\nimport {MissingParentError} from './context/item-context-controller.js';\n\nconst itemContextEventName = 'atomic/resolveResult';\n\ntype ItemContextEventHandler<T> = (item: T) => void;\n\nexport function fetchItemContext<T>(element: Element, parentName: string) {\n return new Promise<T>((resolve, reject) => {\n const event = buildCustomEvent<ItemContextEventHandler<T>>(\n itemContextEventName,\n (item: T) => {\n return resolve(item);\n }\n );\n element.dispatchEvent(event);\n\n if (!closest(element, parentName)) {\n reject(\n new MissingParentError(element.nodeName.toLowerCase(), parentName)\n );\n }\n });\n}\n","import type {InteractiveProduct, Product} from '@coveo/headless/commerce';\nimport type {LitElement} from 'lit';\nimport {\n InteractiveItemContextController,\n type InteractiveItemContextEvent,\n} from '@/src/components/common/item-list/context/interactive-item-context-controller';\nimport {\n ItemContextController,\n type ItemContextEvent,\n} from '@/src/components/common/item-list/context/item-context-controller';\nimport {fetchItemContext} from '@/src/components/common/item-list/fetch-item-context';\n\n/**\n * Creates a [Lit reactive controller](https://lit.dev/docs/composition/controllers/) for managing product context in product template components.\n *\n * @param host - The Lit component instance\n * @param options - Configuration options\n * @returns ItemContextController instance configured for atomic-product\n *\n * @example\n * ```typescript\n * @customElement('my-product-component')\n * export class MyProductComponent extends LitElement {\n * private productController = createProductContextController(this);\n *\n * @state() product!: Product;\n *\n * render() {\n * this.product = this.productController.item;\n * return html`<div>${this.product?.ec_name}</div>`;\n * }\n * }\n * ```\n */\nexport function createProductContextController(\n host: LitElement & {error: Error | null},\n options: {folded?: boolean} = {}\n): ItemContextController<Product> {\n return new ItemContextController<Product>(host, {\n parentName: 'atomic-product',\n folded: options.folded ?? false,\n });\n}\n\n/**\n * Creates a [Lit reactive controller](https://lit.dev/docs/composition/controllers/) for managing interactive product context in product template components.\n *\n * @param host - The Lit component instance\n * @returns InteractiveItemContextController instance\n *\n * @example\n * ```typescript\n * @customElement('my-interactive-product-component')\n * export class MyInteractiveProductComponent extends LitElement {\n * private interactiveProductController = createInteractiveProductContextController(this);\n *\n * @state() product!: Product;\n *\n * render() {\n * this.product = this.interactiveProductController.interactiveItem;\n * return html`<div>${this.product?.ec_name}</div>`;\n * }\n * }\n * ```\n */\nexport function createInteractiveProductContextController(\n host: LitElement & {error: Error}\n): InteractiveItemContextController<InteractiveProduct> {\n return new InteractiveItemContextController<InteractiveProduct>(host);\n}\n\nexport type ProductContextEvent<T = Product> = ItemContextEvent<T>;\nexport type InteractiveProductContextEvent<\n T extends InteractiveProduct = InteractiveProduct,\n> = InteractiveItemContextEvent<T>;\n\n/**\n * Retrieves `Product` on a rendered `atomic-product`.\n *\n * This utility function is useful for building custom product template elements, see [Create a Product List](https://docs.coveo.com/en/atomic/latest/cc-search/create-custom-components/native-components/#custom-product-template-component-example) for more information.\n *\n * You should use the utility function in the [`connectedCallback` lifecycle method](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks).\n *\n * @param element - The element that the event is dispatched to, which must be the child of a rendered `atomic-product`.\n * @returns A promise that resolves on initialization of the parent `atomic-product` element, or rejects when there is no parent `atomic-product` element.\n */\nexport function fetchProductContext<T extends Product>(element: Element) {\n return fetchItemContext<T>(element, 'atomic-product');\n}\n"],"version":3}
1
+ {"file":"index.cjs.js","mappings":";;;;;;;;;;;;;;;;;AAGA;;;;;;;;;;;;SAYgB,cAAc,CAAoB,OAAgB;IAChE,OAAOA,iCAAW,CAAI,OAAO,EAAE,gBAAgB,CAAC,CAAC;AACnD;;MCHa,kBAAmB,SAAQ,KAAK;IAC3C,YAAY,WAAmB,EAAE,UAAkB;QACjD,KAAK,CACH,QAAQ,WAAW,sCAAsC,UAAU,YAAY,CAChF,CAAC;KACH;;;ACfH,MAAM,oBAAoB,GAAG,sBAAsB,CAAC;SAIpC,gBAAgB,CAAI,OAAgB,EAAE,UAAkB;IACtE,OAAO,IAAI,OAAO,CAAI,CAAC,OAAO,EAAE,MAAM;QACpC,MAAM,KAAK,GAAGC,2BAAgB,CAC5B,oBAAoB,EACpB,CAAC,IAAO;YACN,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC;SACtB,CACF,CAAC;QACF,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;QAE7B,IAAI,CAACC,gBAAO,CAAC,OAAO,EAAE,UAAU,CAAC,EAAE;YACjC,MAAM,CACJ,IAAI,kBAAkB,CAAC,OAAO,CAAC,QAAQ,CAAC,WAAW,EAAE,EAAE,UAAU,CAAC,CACnE,CAAC;SACH;KACF,CAAC,CAAC;AACL;;ACoDA;;;;;;;;;;SAUgB,mBAAmB,CAAoB,OAAgB;IACrE,OAAO,gBAAgB,CAAI,OAAO,EAAE,gBAAgB,CAAC,CAAC;AACxD;;;;;;;;;;;;","names":["itemContext","buildCustomEvent","closest"],"sources":["src/components/commerce/product-template-component-utils/stencil-product-template-decorators.tsx","src/components/common/item-list/context/item-context-controller.ts","src/components/common/item-list/fetch-item-context.ts","src/decorators/commerce/product-template-decorators.ts"],"sourcesContent":["import {Product} from '@coveo/headless/commerce';\nimport {itemContext} from '../../common/item-list/stencil-item-decorators';\n\n/**\n * Retrieves `Product` on a rendered `atomic-product`.\n *\n * This method is useful for building custom product template elements, see [Create a Product List](https://docs.coveo.com/en/atomic/latest/cc-search/create-custom-components/native-components/#custom-product-template-component-example) for more information.\n *\n * You should use the method in the [connectedCallback lifecycle method](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks).\n *\n * @param element - The element that the event is dispatched to, which must be the child of a rendered \"atomic-product\".\n * @returns A promise that resolves on initialization of the parent \"atomic-product\" element, or rejects when there is no parent \"atomic-product\" element.\n *\n * @deprecated should only be used for Stencil components. For Lit components, use `fetchProductContext` from \\@/src/decorators/commerce/product-template-decorators.ts\n */\nexport function productContext<T extends Product>(element: Element) {\n return itemContext<T>(element, 'atomic-product');\n}\n","import type {LitElement, ReactiveController, ReactiveControllerHost} from 'lit';\nimport type {InitializableComponent} from '@/src/decorators/types.js';\nimport {buildCustomEvent} from '@/src/utils/event-utils';\n\ntype LitElementWithError = Omit<\n Pick<InitializableComponent, 'error'>,\n 'error'\n> &\n LitElement & {\n error: Error | null;\n };\n\nconst itemContextEventName = 'atomic/resolveResult';\n\nexport class MissingParentError extends Error {\n constructor(elementName: string, parentName: string) {\n super(\n `The \"${elementName}\" element must be the child of an \"${parentName}\" element.`\n );\n }\n}\n\nfunction extractFolded<T = Record<string, unknown>>(\n item: Record<string, unknown>,\n returnFolded: boolean\n): T {\n if (returnFolded) {\n if ('children' in item) {\n return item as T;\n } else {\n return {children: [], result: item} as T;\n }\n }\n\n if ('children' in item && 'result' in item) {\n return item.result as T;\n }\n return item as T;\n}\n\n/**\n * A reactive controller that manages item context data from parent components.\n * Handles fetching item data via custom events and manages error states.\n */\nexport class ItemContextController<T = Record<string, unknown>>\n implements ReactiveController\n{\n private host: ReactiveControllerHost & LitElementWithError;\n private parentName: string;\n private folded: boolean;\n private _item: T | null = null;\n private _error: MissingParentError | null = null;\n\n constructor(\n host: ReactiveControllerHost & LitElementWithError,\n options: {parentName?: string; folded?: boolean} = {}\n ) {\n this.host = host;\n this.parentName = options.parentName ?? 'atomic-result';\n this.folded = options.folded ?? false;\n host.addController(this);\n }\n\n get item(): T | null {\n return this._error ? null : this._item;\n }\n\n get error(): MissingParentError | null {\n return this._error;\n }\n\n get hasError(): boolean {\n return this._error !== null;\n }\n\n hostConnected(): void {\n this._resolveItemContext();\n }\n\n private _resolveItemContext(): void {\n const event = buildCustomEvent(\n itemContextEventName,\n (item: Record<string, unknown>) => {\n this._item = extractFolded<T>(item, this.folded);\n this._error = null;\n this.host.error = null;\n this.host.requestUpdate();\n }\n );\n\n const canceled = this.host.dispatchEvent(event);\n if (canceled) {\n const elementName = (this.host as Element).nodeName.toLowerCase();\n this._error = new MissingParentError(elementName, this.parentName);\n this._item = null;\n this.host.error = this._error;\n this.host.requestUpdate();\n }\n }\n}\n\ntype ItemContextEventHandler<T> = (item: T) => void;\nexport type ItemContextEvent<T> = CustomEvent<ItemContextEventHandler<T>>;\n","import {closest} from '../../../utils/dom-utils.js';\nimport {buildCustomEvent} from '../../../utils/event-utils.js';\nimport {MissingParentError} from './context/item-context-controller.js';\n\nconst itemContextEventName = 'atomic/resolveResult';\n\ntype ItemContextEventHandler<T> = (item: T) => void;\n\nexport function fetchItemContext<T>(element: Element, parentName: string) {\n return new Promise<T>((resolve, reject) => {\n const event = buildCustomEvent<ItemContextEventHandler<T>>(\n itemContextEventName,\n (item: T) => {\n return resolve(item);\n }\n );\n element.dispatchEvent(event);\n\n if (!closest(element, parentName)) {\n reject(\n new MissingParentError(element.nodeName.toLowerCase(), parentName)\n );\n }\n });\n}\n","import type {InteractiveProduct, Product} from '@coveo/headless/commerce';\nimport type {LitElement} from 'lit';\nimport {\n InteractiveItemContextController,\n type InteractiveItemContextEvent,\n} from '@/src/components/common/item-list/context/interactive-item-context-controller';\nimport {\n ItemContextController,\n type ItemContextEvent,\n} from '@/src/components/common/item-list/context/item-context-controller';\nimport {fetchItemContext} from '@/src/components/common/item-list/fetch-item-context';\n\n/**\n * Creates a [Lit reactive controller](https://lit.dev/docs/composition/controllers/) for managing product context in product template components.\n *\n * @param host - The Lit component instance\n * @param options - Configuration options\n * @returns ItemContextController instance configured for atomic-product\n *\n * @example\n * ```typescript\n * @customElement('my-product-component')\n * export class MyProductComponent extends LitElement {\n * private productController = createProductContextController(this);\n *\n * @state() product!: Product;\n *\n * render() {\n * this.product = this.productController.item;\n * return html`<div>${this.product?.ec_name}</div>`;\n * }\n * }\n * ```\n */\nexport function createProductContextController(\n host: LitElement & {error: Error | null},\n options: {folded?: boolean} = {}\n): ItemContextController<Product> {\n return new ItemContextController<Product>(host, {\n parentName: 'atomic-product',\n folded: options.folded ?? false,\n });\n}\n\n/**\n * Creates a [Lit reactive controller](https://lit.dev/docs/composition/controllers/) for managing interactive product context in product template components.\n *\n * @param host - The Lit component instance\n * @returns InteractiveItemContextController instance\n *\n * @example\n * ```typescript\n * @customElement('my-interactive-product-component')\n * export class MyInteractiveProductComponent extends LitElement {\n * private interactiveProductController = createInteractiveProductContextController(this);\n *\n * @state() product!: Product;\n *\n * render() {\n * this.product = this.interactiveProductController.interactiveItem;\n * return html`<div>${this.product?.ec_name}</div>`;\n * }\n * }\n * ```\n */\nexport function createInteractiveProductContextController(\n host: LitElement & {error: Error}\n): InteractiveItemContextController<InteractiveProduct> {\n return new InteractiveItemContextController<InteractiveProduct>(host);\n}\n\nexport type ProductContextEvent<T = Product> = ItemContextEvent<T>;\nexport type InteractiveProductContextEvent<\n T extends InteractiveProduct = InteractiveProduct,\n> = InteractiveItemContextEvent<T>;\n\n/**\n * Retrieves `Product` on a rendered `atomic-product`.\n *\n * This utility function is useful for building custom product template elements, see [Create a Product List](https://docs.coveo.com/en/atomic/latest/cc-search/create-custom-components/native-components/#custom-product-template-component-example) for more information.\n *\n * You should use the utility function in the [`connectedCallback` lifecycle method](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks).\n *\n * @param element - The element that the event is dispatched to, which must be the child of a rendered `atomic-product`.\n * @returns A promise that resolves on initialization of the parent `atomic-product` element, or rejects when there is no parent `atomic-product` element.\n */\nexport function fetchProductContext<T extends Product>(element: Element) {\n return fetchItemContext<T>(element, 'atomic-product');\n}\n"],"version":3}
@@ -5,7 +5,7 @@ const stencilButton = require('./stencil-button-94b89acc.js');
5
5
  const bueno = require('@coveo/bueno');
6
6
  const purify = require('./purify-85b542e2.js');
7
7
  const debounceUtils = require('./debounce-utils-d26bcad4.js');
8
- const suggestionsCommon = require('./suggestions-common-5097a362.js');
8
+ const suggestionsUtils = require('./suggestions-utils-61000808.js');
9
9
 
10
10
  const SearchSlimIcon = `<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
11
11
  <circle cx="7" cy="7" r="6.5" stroke="currentColor"/>
@@ -295,7 +295,7 @@ class SuggestionManager {
295
295
  this.leftSuggestionElements = this.getAndFilterLeftSuggestionElements();
296
296
  this.rightSuggestions = splitSuggestions('right');
297
297
  this.rightSuggestionElements = this.getSuggestionElements(this.rightSuggestions);
298
- const defaultSuggestedQuery = this.allSuggestionElements.find(suggestionsCommon.elementHasQuery)?.query || '';
298
+ const defaultSuggestedQuery = this.allSuggestionElements.find(suggestionsUtils.elementHasQuery)?.query || '';
299
299
  await this.updateSuggestedQuery(defaultSuggestedQuery);
300
300
  }
301
301
  get lastValue() {
@@ -397,7 +397,7 @@ class SuggestionManager {
397
397
  getSuggestionElements(suggestions) {
398
398
  const elements = suggestions.flatMap((suggestion) => suggestion.renderItems());
399
399
  const max = this.ownerSearchBoxProps.getNumberOfSuggestionsToDisplay() +
400
- elements.filter(suggestionsCommon.elementHasNoQuery).length;
400
+ elements.filter(suggestionsUtils.elementHasNoQuery).length;
401
401
  return elements.slice(0, max);
402
402
  }
403
403
  updateDescendants(activeDescendant = '') {
@@ -416,4 +416,4 @@ exports.SearchSlimIcon = SearchSlimIcon;
416
416
  exports.SearchTextArea = SearchTextArea;
417
417
  exports.SuggestionManager = SuggestionManager;
418
418
 
419
- //# sourceMappingURL=stencil-suggestion-manager-c0878ef2.js.map
419
+ //# sourceMappingURL=stencil-suggestion-manager-2cba6d69.js.map
@@ -1 +1 @@
1
- {"file":"stencil-suggestion-manager-c0878ef2.js","mappings":";;;;;;;;;;;;;;;MAOa,gBAAgB,GAA+B,CAC1D,KAAK,EACL,QAAQ;IAER,MAAM,UAAU,GAAG;QACjB,MAAM,WAA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B,GAAG,EAAE;QAC7C,MAAM,wBAAwB,GAAG,IAAI,CAAC,uBAAuB,CAAC;QAC9D,IAAI,CAAC,+BAA+B,GAAG,wBAAwB,CAAC;QAChE,IAAI,CAAC,sBAAsB,CAAC,gBAAgB,CAAC,CAAC;KAC/C;IAEO,uBAAuB;QAC7B,IAAI,CAAC,sBAAsB,GAAG,EAAE,CAAC;QACjC,IAAI,CAAC,uBAAuB,GAAG,EAAE,CAAC;KACnC;;;;;;;;","names":["h","Button","debounce","forceUpdate","isNullOrUndefined","elementHasQuery","DOMPurify","elementHasNoQuery"],"sources":["src/components/common/search-box/stencil-search-box-wrapper.tsx","src/components/common/search-box/stencil-text-area-clear-button.tsx","src/components/common/search-box/stencil-search-text-area.tsx","src/utils/promise-utils.ts","src/components/common/suggestions/stencil-suggestion-manager.ts"],"sourcesContent":["import {FunctionalComponent, h} from '@stencil/core';\n\ninterface Props {\n disabled: boolean;\n onFocusout?: (event: FocusEvent) => void;\n}\n\nexport const SearchBoxWrapper: FunctionalComponent<Props> = (\n props,\n children\n) => {\n const getClasses = () => {\n const baseClasses =\n 'flex bg-background w-full border border-neutral rounded-md focus-within:ring-3 absolute top-0 left-0';\n const focusClasses = props.disabled\n ? 'focus-within:border-disabled focus-within:ring-neutral'\n : 'focus-within:border-primary focus-within:ring-ring-primary';\n\n return [baseClasses, focusClasses].join(' ');\n };\n\n return (\n <div part=\"wrapper\" class={getClasses()} onFocusout={props.onFocusout}>\n {children}\n </div>\n );\n};\n","import {FunctionalComponent, h} from '@stencil/core';\nimport ClearSlim from '../../../images/clear-slim.svg';\nimport {AnyBindings} from '../interface/bindings';\nimport {Button, StencilButtonProps} from '../stencil-button';\n\ninterface Props extends Partial<StencilButtonProps> {\n bindings: AnyBindings;\n inputRef: HTMLInputElement | HTMLTextAreaElement | null;\n}\n\nexport const TextAreaClearButton: FunctionalComponent<Props> = ({\n inputRef,\n bindings,\n onClick,\n ...defaultButtonProps\n}) => (\n <div\n part=\"clear-button-wrapper\"\n class=\"ml-2 flex items-center justify-center py-2\"\n >\n <Button\n style=\"text-transparent\"\n part=\"clear-button\"\n class=\"text-neutral-dark flex h-8 w-8 shrink-0 items-center justify-center\"\n onClick={() => {\n onClick?.();\n inputRef?.focus();\n }}\n ariaLabel={bindings.i18n.t('clear')}\n {...defaultButtonProps}\n >\n <atomic-icon\n part=\"clear-icon\"\n icon={ClearSlim}\n class=\"h-4 w-4\"\n ></atomic-icon>\n </Button>\n </div>\n);\n","import {FunctionalComponent, h} from '@stencil/core';\nimport {JSXBase} from '@stencil/core/internal';\nimport {AnyBindings} from '../interface/bindings';\nimport {TextAreaClearButton} from './stencil-text-area-clear-button';\n\ninterface Props extends JSXBase.TextareaHTMLAttributes<HTMLTextAreaElement> {\n textAreaRef: HTMLTextAreaElement;\n loading: boolean;\n bindings: AnyBindings;\n value: string;\n ariaLabel: string;\n onClear(): void;\n popup?: {\n id: string;\n activeDescendant: string;\n expanded: boolean;\n hasSuggestions: boolean;\n };\n}\n\nfunction getPopupAttributes(props: Required<Props>['popup']) {\n return {\n autocomplete: 'off',\n autocapitalize: 'off',\n autocorrect: 'off',\n ...(props.activeDescendant && {\n 'aria-activedescendant': props.activeDescendant,\n }),\n 'aria-autocomplete': 'both',\n 'aria-haspopup': 'true',\n 'aria-controls': props.id,\n };\n}\n\nfunction syncTextWithReplica(elem: HTMLTextAreaElement, value?: string) {\n const parent = elem?.parentNode as HTMLElement;\n if (!parent) {\n return;\n }\n if (elem.value === '\\n') {\n return;\n }\n parent.dataset.replicatedValue = value ?? elem.value;\n}\n\nfunction resetReplicaText(elem: HTMLTextAreaElement) {\n const parent = elem?.parentNode as HTMLElement;\n if (parent) {\n delete parent.dataset.replicatedValue;\n }\n}\n\nfunction collapseTextArea(elem: HTMLTextAreaElement) {\n const parent = elem?.parentNode as HTMLElement;\n if (parent) {\n parent.classList.remove('expanded');\n }\n}\n\nfunction expandTextArea(elem: HTMLTextAreaElement) {\n const parent = elem?.parentNode as HTMLElement;\n if (parent) {\n parent.classList.add('expanded');\n }\n}\n\nexport const SearchTextArea: FunctionalComponent<Props> = ({\n textAreaRef,\n loading,\n bindings,\n onInput,\n onFocus,\n onBlur,\n onChange,\n onKeyDown,\n onKeyUp,\n value,\n ariaLabel,\n onClear,\n popup,\n ...defaultInputProps\n}) => (\n <div class=\"flex grow overflow-hidden\">\n <div part=\"textarea-expander\" class=\"grid grow overflow-hidden\">\n <textarea\n part=\"textarea\"\n aria-label={ariaLabel}\n placeholder={bindings.i18n.t('search')}\n class=\"placeholder-neutral-dark\"\n rows={1}\n onInput={(e) => {\n onInput?.(e);\n syncTextWithReplica(textAreaRef);\n }}\n onKeyDown={(e) => {\n syncTextWithReplica(textAreaRef);\n if (e.key === 'Enter') {\n if (e.shiftKey) {\n return;\n }\n e.preventDefault();\n }\n onKeyDown?.(e);\n }}\n onKeyUp={(e) => {\n onKeyUp?.(e);\n if (e.key === 'Enter') {\n e.preventDefault();\n return;\n }\n syncTextWithReplica(textAreaRef);\n }}\n onBlur={(e) => {\n onBlur?.(e);\n collapseTextArea(textAreaRef);\n syncTextWithReplica(textAreaRef);\n }}\n onChange={(e) => {\n onChange?.(e);\n syncTextWithReplica(textAreaRef);\n }}\n onFocus={(e) => {\n onFocus?.(e);\n const target = e.target as HTMLTextAreaElement;\n syncTextWithReplica(textAreaRef ?? target);\n expandTextArea(textAreaRef ?? target);\n }}\n autocomplete=\"off\"\n {...(popup && getPopupAttributes(popup))}\n {...defaultInputProps}\n value={value}\n />\n </div>\n\n {loading && (\n <div class=\"searchbox-button-wrapper ml-2 flex items-center justify-center\">\n <span\n part=\"loading\"\n class=\"loading mr-2 grid h-5 w-5 animate-spin place-items-center rounded-full bg-linear-to-r\"\n ></span>\n </div>\n )}\n {!loading && value && (\n <TextAreaClearButton\n inputRef={textAreaRef}\n bindings={bindings}\n onClick={() => {\n onClear();\n resetReplicaText(textAreaRef);\n }}\n />\n )}\n </div>\n);\n","export function promiseTimeout<T>(prom: T | Promise<T>, ms: number) {\n let id: NodeJS.Timeout;\n const timeout = new Promise((_, reject) => {\n id = setTimeout(() => {\n reject(new Error('Promise timed out.'));\n }, ms);\n });\n return Promise.race([prom, timeout]).then(() => {\n clearTimeout(id);\n });\n}\n","import {isNullOrUndefined} from '@coveo/bueno';\nimport {forceUpdate} from '@stencil/core';\nimport DOMPurify from 'dompurify';\nimport {debounce} from '../../../utils/debounce-utils';\nimport {promiseTimeout} from '../../../utils/promise-utils';\nimport {\n elementHasNoQuery,\n elementHasQuery,\n type SearchBoxSuggestionElement,\n type SearchBoxSuggestionsBindings,\n type SearchBoxSuggestionsEvent,\n} from './suggestions-common';\n\n/**\n * List of suggestions that will be displayed along other lists (e.g recent queries) when the search box's input is selected.\n */\nexport interface SearchBoxSuggestions {\n /**\n * The search box will sort the position of suggestions using this value, the lowest value being first.\n * By default, the DOM position will be used.\n */\n position: number;\n /**\n * Whether the suggestions should be listed in the right or left panel. By default, the suggestions are listed in the right panel.\n */\n panel?: 'left' | 'right';\n /**\n * Method that returns the list of elements which will be rendered in the list of suggestions.\n */\n renderItems(): SearchBoxSuggestionElement[];\n /**\n * Hook called when the user changes the search box's input value. This can lead to all the query suggestions being updated.\n */\n onInput?(): Promise<unknown>;\n /**\n * Hook called when the current suggested query changes as the user navigates the list of suggestions.\n * This is used for instant results, which are rendered based on the current suggested query.\n * @param q The new current suggested query.\n */\n onSuggestedQueryChange?(q: string): Promise<unknown>;\n}\n\ninterface SearchBoxProps {\n getSearchBoxValue: () => string;\n updateQuery: (suggestedQuery: string) => void;\n getSuggestionTimeout: () => number;\n getNumberOfSuggestionsToDisplay: () => number;\n getSuggestionDelay: () => number;\n getLogger: () => Pick<typeof console, 'warn'>;\n getHost: () => HTMLElement;\n}\n\nexport class SuggestionManager<SearchBoxController> {\n public suggestions: SearchBoxSuggestions[] = [];\n public leftSuggestionElements: SearchBoxSuggestionElement[] = [];\n public rightSuggestionElements: SearchBoxSuggestionElement[] = [];\n public leftPanel: HTMLElement | undefined = undefined;\n public rightPanel: HTMLElement | undefined = undefined;\n public triggerSuggestions: () => Promise<void>;\n public activeDescendant = '';\n public suggestedQuery = '';\n public keyboardActiveDescendant = '';\n\n private queryDataAttribute = 'data-query';\n private suggestionEvents: SearchBoxSuggestionsEvent<SearchBoxController>[] =\n [];\n\n private previousActiveDescendantElement: HTMLElement | null = null;\n private leftSuggestions: SearchBoxSuggestions[] = [];\n private rightSuggestions: SearchBoxSuggestions[] = [];\n\n constructor(private ownerSearchBoxProps: SearchBoxProps) {\n this.triggerSuggestions = debounce(\n () => this.executeQuerySuggestion(),\n this.ownerSearchBoxProps.getSuggestionDelay()\n );\n }\n\n public get partialSuggestionBindings(): Pick<\n SearchBoxSuggestionsBindings<SearchBoxController>,\n | 'suggestedQuery'\n | 'clearSuggestions'\n | 'triggerSuggestions'\n | 'getSuggestions'\n | 'getSuggestionElements'\n > {\n return {\n suggestedQuery: () => this.suggestedQuery,\n clearSuggestions: () => this.clearSuggestions(),\n triggerSuggestions: () => this.triggerSuggestions(),\n getSuggestions: () => this.suggestions,\n getSuggestionElements: () => this.allSuggestionElements,\n };\n }\n\n public get activeDescendantElement(): HTMLElement | null {\n if (!this.hasActiveDescendant) {\n return null;\n }\n\n return (\n this.leftPanel?.querySelector(`#${this.activeDescendant}`) ||\n this.rightPanel?.querySelector(`#${this.activeDescendant}`) ||\n null\n );\n }\n\n public onSubmit() {\n this.clickOnActiveElement();\n this.clearSuggestions();\n }\n\n public updateActiveDescendant(id = '') {\n this.activeDescendant = id;\n forceUpdate(this.ownerSearchBoxProps.getHost());\n }\n\n public updateKeyboardActiveDescendant(id = '') {\n this.keyboardActiveDescendant = id;\n }\n\n public clickOnActiveElement() {\n this.activeDescendantElement?.click();\n this.updateActiveDescendant();\n }\n\n public isRightPanelInFocus() {\n if (\n isNullOrUndefined(this.panelInFocus) ||\n isNullOrUndefined(this.rightPanel)\n ) {\n return false;\n }\n\n return this.panelInFocus === this.rightPanel;\n }\n\n public initializeSuggestions(\n bindings: SearchBoxSuggestionsBindings<SearchBoxController>\n ) {\n this.suggestions = this.suggestionEvents.map((event) => event(bindings));\n }\n\n public registerSuggestionsFromEvent(\n event: CustomEvent<SearchBoxSuggestionsEvent<SearchBoxController>>,\n bindings: SearchBoxSuggestionsBindings<SearchBoxController>\n ) {\n event.preventDefault();\n event.stopPropagation();\n this.suggestionEvents.push(event.detail);\n this.suggestions.push(event.detail(bindings));\n }\n\n public registerSuggestions(suggestions: SearchBoxSuggestions) {\n this.suggestions.push(suggestions);\n }\n\n public get isDoubleList() {\n return Boolean(\n this.leftSuggestionElements.length && this.rightSuggestionElements.length\n );\n }\n\n public focusPanel(side: 'left' | 'right') {\n const panel = side === 'left' ? this.leftPanel : this.rightPanel;\n\n if (this.panelInFocus === panel) {\n return;\n }\n if (panel?.firstElementChild) {\n const panelHasActiveDescendant =\n this.previousActiveDescendantElement &&\n panel.contains(this.previousActiveDescendantElement);\n const newValue = panelHasActiveDescendant\n ? this.previousActiveDescendantElement!\n : (panel.firstElementChild as HTMLElement);\n this.updateDescendants(newValue.id);\n }\n }\n\n public clearSuggestions() {\n this.clearSuggestionElements();\n this.updateActiveDescendant();\n }\n\n public async focusNextValue() {\n if (!this.hasSuggestions || !this.nextOrFirstValue) {\n return;\n }\n\n await this.focusValue(this.nextOrFirstValue as HTMLElement);\n }\n\n public async focusValue(value: HTMLElement) {\n this.updateKeyboardActiveDescendant(value.id);\n this.updateActiveDescendant(value.id);\n this.scrollActiveDescendantIntoView();\n await this.updateQueryFromSuggestion();\n }\n\n public async onSuggestionMouseOver(\n item: SearchBoxSuggestionElement,\n side: 'left' | 'right',\n id: string\n ) {\n const thisPanel = side === 'left' ? this.leftPanel : this.rightPanel;\n // When hovering, always reset the keyboard active descendant\n this.updateKeyboardActiveDescendant();\n if (this.panelInFocus === thisPanel) {\n this.updateActiveDescendant(id);\n } else {\n this.updateDescendants(id);\n }\n if (item.query) {\n await this.updateSuggestedQuery(item.query);\n }\n }\n\n public async onSuggestionClick(item: SearchBoxSuggestionElement, e: Event) {\n if (item.query) {\n this.clearSuggestions();\n await this.updateOwnerSearchboxQuery(item.query);\n }\n item.onSelect?.(e);\n }\n\n public get hasSuggestions() {\n return !!this.allSuggestionElements.length;\n }\n\n public get allSuggestionElements() {\n return [...this.leftSuggestionElements, ...this.rightSuggestionElements];\n }\n\n public async focusPreviousValue() {\n if (this.firstValue === this.activeDescendantElement) {\n this.updateKeyboardActiveDescendant();\n this.updateActiveDescendant();\n return;\n }\n\n if (!this.hasSuggestions || !this.previousOrLastValue) {\n return;\n }\n\n await this.focusValue(this.previousOrLastValue as HTMLElement);\n }\n\n public get hasActiveDescendant() {\n return this.activeDescendant !== '';\n }\n\n private async executeQuerySuggestion() {\n this.updateActiveDescendant();\n const settled = await Promise.allSettled(\n this.suggestions.map((suggestion) =>\n promiseTimeout(\n suggestion.onInput ? suggestion.onInput() : Promise.resolve(),\n this.ownerSearchBoxProps.getSuggestionTimeout()\n )\n )\n );\n\n const fulfilledSuggestions: SearchBoxSuggestions[] = [];\n\n settled.forEach((prom, j) => {\n if (prom.status === 'fulfilled') {\n fulfilledSuggestions.push(this.suggestions[j]);\n } else {\n this.ownerSearchBoxProps\n .getLogger()\n .warn(\n 'Some query suggestions are not being shown because the promise timed out.'\n );\n }\n });\n\n const splitSuggestions = (side: 'left' | 'right', isDefault = false) =>\n fulfilledSuggestions\n .filter(\n (suggestion) =>\n suggestion.panel === side || (!suggestion.panel && isDefault)\n )\n .sort(this.sortSuggestions);\n\n this.leftSuggestions = splitSuggestions('left', true);\n this.leftSuggestionElements = this.getAndFilterLeftSuggestionElements();\n\n this.rightSuggestions = splitSuggestions('right');\n this.rightSuggestionElements = this.getSuggestionElements(\n this.rightSuggestions\n );\n\n const defaultSuggestedQuery =\n this.allSuggestionElements.find(elementHasQuery)?.query || '';\n\n await this.updateSuggestedQuery(defaultSuggestedQuery);\n }\n\n private get lastValue() {\n return this.panelInFocus?.lastElementChild;\n }\n\n private get previousOrLastValue() {\n if (!this.hasActiveDescendant) {\n return this.lastValue?.firstChild;\n }\n\n const parentOfActiveDescendant =\n this.activeDescendantElement?.parentElement;\n return (\n parentOfActiveDescendant?.previousElementSibling?.firstChild ||\n this.firstValue?.firstChild\n );\n }\n\n private sortSuggestions(a: SearchBoxSuggestions, b: SearchBoxSuggestions) {\n return a.position - b.position;\n }\n\n private get nextOrFirstValue() {\n if (!this.hasActiveDescendant) {\n return this.firstValue?.firstChild;\n }\n\n const parentOfActiveDescendant =\n this.activeDescendantElement?.parentElement;\n return (\n parentOfActiveDescendant?.nextElementSibling?.firstChild ||\n this.firstValue?.firstChild\n );\n }\n\n private get firstValue() {\n return this.panelInFocus?.firstElementChild;\n }\n\n private get panelInFocus() {\n if (this.leftPanel?.contains(this.activeDescendantElement)) {\n return this.leftPanel;\n }\n if (this.rightPanel?.contains(this.activeDescendantElement)) {\n return this.rightPanel;\n }\n return this.leftPanel || this.rightPanel;\n }\n\n private scrollActiveDescendantIntoView() {\n this.activeDescendantElement?.scrollIntoView({\n block: 'nearest',\n });\n }\n\n private async updateQueryFromSuggestion() {\n const suggestedQuery = this.activeDescendantElement?.getAttribute(\n this.queryDataAttribute\n );\n await this.updateOwnerSearchboxQuery(suggestedQuery || '');\n }\n\n private async updateOwnerSearchboxQuery(query: string) {\n if (query && this.ownerSearchBoxProps.getSearchBoxValue() !== query) {\n this.ownerSearchBoxProps.updateQuery(query);\n await this.updateSuggestedQuery(query);\n }\n }\n\n private async updateSuggestedQuery(suggestedQuery: string) {\n await Promise.allSettled(\n this.suggestions.map((suggestion) =>\n promiseTimeout(\n suggestion.onSuggestedQueryChange\n ? suggestion.onSuggestedQueryChange(suggestedQuery)\n : Promise.resolve(),\n this.ownerSearchBoxProps.getSuggestionTimeout()\n )\n )\n );\n this.suggestedQuery = suggestedQuery;\n this.updateSuggestionElements(suggestedQuery);\n forceUpdate(this.ownerSearchBoxProps.getHost());\n }\n\n private updateSuggestionElements(query: string) {\n if (!this.isPanelInFocus(this.leftPanel, query)) {\n this.leftSuggestionElements = this.getAndFilterLeftSuggestionElements();\n }\n\n if (!this.isPanelInFocus(this.rightPanel, query)) {\n this.rightSuggestionElements = this.getSuggestionElements(\n this.rightSuggestions\n );\n }\n }\n\n public forceUpdate() {\n this.updateSuggestionElements(this.suggestedQuery);\n forceUpdate(this.ownerSearchBoxProps.getHost());\n }\n\n private isPanelInFocus(\n panel: HTMLElement | undefined,\n query: string\n ): boolean {\n if (!this.activeDescendantElement) {\n return false;\n }\n\n if (query) {\n const escaped = DOMPurify.sanitize(query);\n return !!panel?.querySelector(\n `[${this.queryDataAttribute}=\"${CSS.escape(escaped)}\"]`\n );\n }\n\n return this.activeDescendantElement?.closest('ul') === panel;\n }\n\n private getAndFilterLeftSuggestionElements() {\n const suggestionElements = this.getSuggestionElements(this.leftSuggestions);\n const filterOnDuplicate = new Set();\n\n const out = suggestionElements.filter((suggestionElement) => {\n if (isNullOrUndefined(suggestionElement.query)) {\n return true;\n }\n if (filterOnDuplicate.has(suggestionElement.query)) {\n return false;\n } else {\n filterOnDuplicate.add(suggestionElement.query);\n return true;\n }\n });\n\n return out;\n }\n\n private getSuggestionElements(suggestions: SearchBoxSuggestions[]) {\n const elements = suggestions.flatMap((suggestion) =>\n suggestion.renderItems()\n );\n\n const max =\n this.ownerSearchBoxProps.getNumberOfSuggestionsToDisplay() +\n elements.filter(elementHasNoQuery).length;\n\n return elements.slice(0, max);\n }\n\n private updateDescendants(activeDescendant = '') {\n const newPrevDescendantElement = this.activeDescendantElement;\n this.previousActiveDescendantElement = newPrevDescendantElement;\n this.updateActiveDescendant(activeDescendant);\n }\n\n private clearSuggestionElements() {\n this.leftSuggestionElements = [];\n this.rightSuggestionElements = [];\n }\n}\n"],"version":3}
1
+ {"file":"stencil-suggestion-manager-2cba6d69.js","mappings":";;;;;;;;;;;;;;;MAOa,gBAAgB,GAA+B,CAC1D,KAAK,EACL,QAAQ;IAER,MAAM,UAAU,GAAG;QACjB,MAAM,WAAW,GACf,sGAAsG,CAAC;QACzG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wBAAwB,GAAG,IAAI,CAAC,uBAAuB,CAAC;QAC9D,IAAI,CAAC,+BAA+B,GAAG,wBAAwB,CAAC;QAChE,IAAI,CAAC,sBAAsB,CAAC,gBAAgB,CAAC,CAAC;KAC/C;IAEO,uBAAuB;QAC7B,IAAI,CAAC,sBAAsB,GAAG,EAAE,CAAC;QACjC,IAAI,CAAC,uBAAuB,GAAG,EAAE,CAAC;KACnC;;;;;;;;","names":["h","Button","debounce","forceUpdate","isNullOrUndefined","elementHasQuery","DOMPurify","elementHasNoQuery"],"sources":["src/components/common/search-box/stencil-search-box-wrapper.tsx","src/components/common/search-box/stencil-text-area-clear-button.tsx","src/components/common/search-box/stencil-search-text-area.tsx","src/utils/promise-utils.ts","src/components/common/suggestions/stencil-suggestion-manager.ts"],"sourcesContent":["import {FunctionalComponent, h} from '@stencil/core';\n\ninterface Props {\n disabled: boolean;\n onFocusout?: (event: FocusEvent) => void;\n}\n\nexport const SearchBoxWrapper: FunctionalComponent<Props> = (\n props,\n children\n) => {\n const getClasses = () => {\n const baseClasses =\n 'flex bg-background w-full border border-neutral rounded-md focus-within:ring-3 absolute top-0 left-0';\n const focusClasses = props.disabled\n ? 'focus-within:border-disabled focus-within:ring-neutral'\n : 'focus-within:border-primary focus-within:ring-ring-primary';\n\n return [baseClasses, focusClasses].join(' ');\n };\n\n return (\n <div part=\"wrapper\" class={getClasses()} onFocusout={props.onFocusout}>\n {children}\n </div>\n );\n};\n","import {FunctionalComponent, h} from '@stencil/core';\nimport ClearSlim from '../../../images/clear-slim.svg';\nimport {AnyBindings} from '../interface/bindings';\nimport {Button, StencilButtonProps} from '../stencil-button';\n\ninterface Props extends Partial<StencilButtonProps> {\n bindings: AnyBindings;\n inputRef: HTMLInputElement | HTMLTextAreaElement | null;\n}\n\nexport const TextAreaClearButton: FunctionalComponent<Props> = ({\n inputRef,\n bindings,\n onClick,\n ...defaultButtonProps\n}) => (\n <div\n part=\"clear-button-wrapper\"\n class=\"ml-2 flex items-center justify-center py-2\"\n >\n <Button\n style=\"text-transparent\"\n part=\"clear-button\"\n class=\"text-neutral-dark flex h-8 w-8 shrink-0 items-center justify-center\"\n onClick={() => {\n onClick?.();\n inputRef?.focus();\n }}\n ariaLabel={bindings.i18n.t('clear')}\n {...defaultButtonProps}\n >\n <atomic-icon\n part=\"clear-icon\"\n icon={ClearSlim}\n class=\"h-4 w-4\"\n ></atomic-icon>\n </Button>\n </div>\n);\n","import {FunctionalComponent, h} from '@stencil/core';\nimport {JSXBase} from '@stencil/core/internal';\nimport {AnyBindings} from '../interface/bindings';\nimport {TextAreaClearButton} from './stencil-text-area-clear-button';\n\ninterface Props extends JSXBase.TextareaHTMLAttributes<HTMLTextAreaElement> {\n textAreaRef: HTMLTextAreaElement;\n loading: boolean;\n bindings: AnyBindings;\n value: string;\n ariaLabel: string;\n onClear(): void;\n popup?: {\n id: string;\n activeDescendant: string;\n expanded: boolean;\n hasSuggestions: boolean;\n };\n}\n\nfunction getPopupAttributes(props: Required<Props>['popup']) {\n return {\n autocomplete: 'off',\n autocapitalize: 'off',\n autocorrect: 'off',\n ...(props.activeDescendant && {\n 'aria-activedescendant': props.activeDescendant,\n }),\n 'aria-autocomplete': 'both',\n 'aria-haspopup': 'true',\n 'aria-controls': props.id,\n };\n}\n\nfunction syncTextWithReplica(elem: HTMLTextAreaElement, value?: string) {\n const parent = elem?.parentNode as HTMLElement;\n if (!parent) {\n return;\n }\n if (elem.value === '\\n') {\n return;\n }\n parent.dataset.replicatedValue = value ?? elem.value;\n}\n\nfunction resetReplicaText(elem: HTMLTextAreaElement) {\n const parent = elem?.parentNode as HTMLElement;\n if (parent) {\n delete parent.dataset.replicatedValue;\n }\n}\n\nfunction collapseTextArea(elem: HTMLTextAreaElement) {\n const parent = elem?.parentNode as HTMLElement;\n if (parent) {\n parent.classList.remove('expanded');\n }\n}\n\nfunction expandTextArea(elem: HTMLTextAreaElement) {\n const parent = elem?.parentNode as HTMLElement;\n if (parent) {\n parent.classList.add('expanded');\n }\n}\n\nexport const SearchTextArea: FunctionalComponent<Props> = ({\n textAreaRef,\n loading,\n bindings,\n onInput,\n onFocus,\n onBlur,\n onChange,\n onKeyDown,\n onKeyUp,\n value,\n ariaLabel,\n onClear,\n popup,\n ...defaultInputProps\n}) => (\n <div class=\"flex grow overflow-hidden\">\n <div part=\"textarea-expander\" class=\"grid grow overflow-hidden\">\n <textarea\n part=\"textarea\"\n aria-label={ariaLabel}\n placeholder={bindings.i18n.t('search')}\n class=\"placeholder-neutral-dark\"\n rows={1}\n onInput={(e) => {\n onInput?.(e);\n syncTextWithReplica(textAreaRef);\n }}\n onKeyDown={(e) => {\n syncTextWithReplica(textAreaRef);\n if (e.key === 'Enter') {\n if (e.shiftKey) {\n return;\n }\n e.preventDefault();\n }\n onKeyDown?.(e);\n }}\n onKeyUp={(e) => {\n onKeyUp?.(e);\n if (e.key === 'Enter') {\n e.preventDefault();\n return;\n }\n syncTextWithReplica(textAreaRef);\n }}\n onBlur={(e) => {\n onBlur?.(e);\n collapseTextArea(textAreaRef);\n syncTextWithReplica(textAreaRef);\n }}\n onChange={(e) => {\n onChange?.(e);\n syncTextWithReplica(textAreaRef);\n }}\n onFocus={(e) => {\n onFocus?.(e);\n const target = e.target as HTMLTextAreaElement;\n syncTextWithReplica(textAreaRef ?? target);\n expandTextArea(textAreaRef ?? target);\n }}\n autocomplete=\"off\"\n {...(popup && getPopupAttributes(popup))}\n {...defaultInputProps}\n value={value}\n />\n </div>\n\n {loading && (\n <div class=\"searchbox-button-wrapper ml-2 flex items-center justify-center\">\n <span\n part=\"loading\"\n class=\"loading mr-2 grid h-5 w-5 animate-spin place-items-center rounded-full bg-linear-to-r\"\n ></span>\n </div>\n )}\n {!loading && value && (\n <TextAreaClearButton\n inputRef={textAreaRef}\n bindings={bindings}\n onClick={() => {\n onClear();\n resetReplicaText(textAreaRef);\n }}\n />\n )}\n </div>\n);\n","export function promiseTimeout<T>(prom: T | Promise<T>, ms: number) {\n let id: NodeJS.Timeout;\n const timeout = new Promise((_, reject) => {\n id = setTimeout(() => {\n reject(new Error('Promise timed out.'));\n }, ms);\n });\n return Promise.race([prom, timeout]).then(() => {\n clearTimeout(id);\n });\n}\n","import {isNullOrUndefined} from '@coveo/bueno';\nimport {forceUpdate} from '@stencil/core';\nimport DOMPurify from 'dompurify';\nimport {debounce} from '../../../utils/debounce-utils';\nimport {promiseTimeout} from '../../../utils/promise-utils';\nimport type {\n SearchBoxSuggestionElement,\n SearchBoxSuggestionsBindings,\n SearchBoxSuggestionsEvent,\n} from './suggestions-types';\nimport {elementHasNoQuery, elementHasQuery} from './suggestions-utils';\n\n/**\n * List of suggestions that will be displayed along other lists (e.g recent queries) when the search box's input is selected.\n */\nexport interface SearchBoxSuggestions {\n /**\n * The search box will sort the position of suggestions using this value, the lowest value being first.\n * By default, the DOM position will be used.\n */\n position: number;\n /**\n * Whether the suggestions should be listed in the right or left panel. By default, the suggestions are listed in the right panel.\n */\n panel?: 'left' | 'right';\n /**\n * Method that returns the list of elements which will be rendered in the list of suggestions.\n */\n renderItems(): SearchBoxSuggestionElement[];\n /**\n * Hook called when the user changes the search box's input value. This can lead to all the query suggestions being updated.\n */\n onInput?(): Promise<unknown>;\n /**\n * Hook called when the current suggested query changes as the user navigates the list of suggestions.\n * This is used for instant results, which are rendered based on the current suggested query.\n * @param q The new current suggested query.\n */\n onSuggestedQueryChange?(q: string): Promise<unknown>;\n}\n\ninterface SearchBoxProps {\n getSearchBoxValue: () => string;\n updateQuery: (suggestedQuery: string) => void;\n getSuggestionTimeout: () => number;\n getNumberOfSuggestionsToDisplay: () => number;\n getSuggestionDelay: () => number;\n getLogger: () => Pick<typeof console, 'warn'>;\n getHost: () => HTMLElement;\n}\n\nexport class SuggestionManager<SearchBoxController> {\n public suggestions: SearchBoxSuggestions[] = [];\n public leftSuggestionElements: SearchBoxSuggestionElement[] = [];\n public rightSuggestionElements: SearchBoxSuggestionElement[] = [];\n public leftPanel: HTMLElement | undefined = undefined;\n public rightPanel: HTMLElement | undefined = undefined;\n public triggerSuggestions: () => Promise<void>;\n public activeDescendant = '';\n public suggestedQuery = '';\n public keyboardActiveDescendant = '';\n\n private queryDataAttribute = 'data-query';\n private suggestionEvents: SearchBoxSuggestionsEvent<SearchBoxController>[] =\n [];\n\n private previousActiveDescendantElement: HTMLElement | null = null;\n private leftSuggestions: SearchBoxSuggestions[] = [];\n private rightSuggestions: SearchBoxSuggestions[] = [];\n\n constructor(private ownerSearchBoxProps: SearchBoxProps) {\n this.triggerSuggestions = debounce(\n () => this.executeQuerySuggestion(),\n this.ownerSearchBoxProps.getSuggestionDelay()\n );\n }\n\n public get partialSuggestionBindings(): Pick<\n SearchBoxSuggestionsBindings<SearchBoxController>,\n | 'suggestedQuery'\n | 'clearSuggestions'\n | 'triggerSuggestions'\n | 'getSuggestions'\n | 'getSuggestionElements'\n > {\n return {\n suggestedQuery: () => this.suggestedQuery,\n clearSuggestions: () => this.clearSuggestions(),\n triggerSuggestions: () => this.triggerSuggestions(),\n getSuggestions: () => this.suggestions,\n getSuggestionElements: () => this.allSuggestionElements,\n };\n }\n\n public get activeDescendantElement(): HTMLElement | null {\n if (!this.hasActiveDescendant) {\n return null;\n }\n\n return (\n this.leftPanel?.querySelector(`#${this.activeDescendant}`) ||\n this.rightPanel?.querySelector(`#${this.activeDescendant}`) ||\n null\n );\n }\n\n public onSubmit() {\n this.clickOnActiveElement();\n this.clearSuggestions();\n }\n\n public updateActiveDescendant(id = '') {\n this.activeDescendant = id;\n forceUpdate(this.ownerSearchBoxProps.getHost());\n }\n\n public updateKeyboardActiveDescendant(id = '') {\n this.keyboardActiveDescendant = id;\n }\n\n public clickOnActiveElement() {\n this.activeDescendantElement?.click();\n this.updateActiveDescendant();\n }\n\n public isRightPanelInFocus() {\n if (\n isNullOrUndefined(this.panelInFocus) ||\n isNullOrUndefined(this.rightPanel)\n ) {\n return false;\n }\n\n return this.panelInFocus === this.rightPanel;\n }\n\n public initializeSuggestions(\n bindings: SearchBoxSuggestionsBindings<SearchBoxController>\n ) {\n this.suggestions = this.suggestionEvents.map((event) => event(bindings));\n }\n\n public registerSuggestionsFromEvent(\n event: CustomEvent<SearchBoxSuggestionsEvent<SearchBoxController>>,\n bindings: SearchBoxSuggestionsBindings<SearchBoxController>\n ) {\n event.preventDefault();\n event.stopPropagation();\n this.suggestionEvents.push(event.detail);\n this.suggestions.push(event.detail(bindings));\n }\n\n public registerSuggestions(suggestions: SearchBoxSuggestions) {\n this.suggestions.push(suggestions);\n }\n\n public get isDoubleList() {\n return Boolean(\n this.leftSuggestionElements.length && this.rightSuggestionElements.length\n );\n }\n\n public focusPanel(side: 'left' | 'right') {\n const panel = side === 'left' ? this.leftPanel : this.rightPanel;\n\n if (this.panelInFocus === panel) {\n return;\n }\n if (panel?.firstElementChild) {\n const panelHasActiveDescendant =\n this.previousActiveDescendantElement &&\n panel.contains(this.previousActiveDescendantElement);\n const newValue = panelHasActiveDescendant\n ? this.previousActiveDescendantElement!\n : (panel.firstElementChild as HTMLElement);\n this.updateDescendants(newValue.id);\n }\n }\n\n public clearSuggestions() {\n this.clearSuggestionElements();\n this.updateActiveDescendant();\n }\n\n public async focusNextValue() {\n if (!this.hasSuggestions || !this.nextOrFirstValue) {\n return;\n }\n\n await this.focusValue(this.nextOrFirstValue as HTMLElement);\n }\n\n public async focusValue(value: HTMLElement) {\n this.updateKeyboardActiveDescendant(value.id);\n this.updateActiveDescendant(value.id);\n this.scrollActiveDescendantIntoView();\n await this.updateQueryFromSuggestion();\n }\n\n public async onSuggestionMouseOver(\n item: SearchBoxSuggestionElement,\n side: 'left' | 'right',\n id: string\n ) {\n const thisPanel = side === 'left' ? this.leftPanel : this.rightPanel;\n // When hovering, always reset the keyboard active descendant\n this.updateKeyboardActiveDescendant();\n if (this.panelInFocus === thisPanel) {\n this.updateActiveDescendant(id);\n } else {\n this.updateDescendants(id);\n }\n if (item.query) {\n await this.updateSuggestedQuery(item.query);\n }\n }\n\n public async onSuggestionClick(item: SearchBoxSuggestionElement, e: Event) {\n if (item.query) {\n this.clearSuggestions();\n await this.updateOwnerSearchboxQuery(item.query);\n }\n item.onSelect?.(e);\n }\n\n public get hasSuggestions() {\n return !!this.allSuggestionElements.length;\n }\n\n public get allSuggestionElements() {\n return [...this.leftSuggestionElements, ...this.rightSuggestionElements];\n }\n\n public async focusPreviousValue() {\n if (this.firstValue === this.activeDescendantElement) {\n this.updateKeyboardActiveDescendant();\n this.updateActiveDescendant();\n return;\n }\n\n if (!this.hasSuggestions || !this.previousOrLastValue) {\n return;\n }\n\n await this.focusValue(this.previousOrLastValue as HTMLElement);\n }\n\n public get hasActiveDescendant() {\n return this.activeDescendant !== '';\n }\n\n private async executeQuerySuggestion() {\n this.updateActiveDescendant();\n const settled = await Promise.allSettled(\n this.suggestions.map((suggestion) =>\n promiseTimeout(\n suggestion.onInput ? suggestion.onInput() : Promise.resolve(),\n this.ownerSearchBoxProps.getSuggestionTimeout()\n )\n )\n );\n\n const fulfilledSuggestions: SearchBoxSuggestions[] = [];\n\n settled.forEach((prom, j) => {\n if (prom.status === 'fulfilled') {\n fulfilledSuggestions.push(this.suggestions[j]);\n } else {\n this.ownerSearchBoxProps\n .getLogger()\n .warn(\n 'Some query suggestions are not being shown because the promise timed out.'\n );\n }\n });\n\n const splitSuggestions = (side: 'left' | 'right', isDefault = false) =>\n fulfilledSuggestions\n .filter(\n (suggestion) =>\n suggestion.panel === side || (!suggestion.panel && isDefault)\n )\n .sort(this.sortSuggestions);\n\n this.leftSuggestions = splitSuggestions('left', true);\n this.leftSuggestionElements = this.getAndFilterLeftSuggestionElements();\n\n this.rightSuggestions = splitSuggestions('right');\n this.rightSuggestionElements = this.getSuggestionElements(\n this.rightSuggestions\n );\n\n const defaultSuggestedQuery =\n this.allSuggestionElements.find(elementHasQuery)?.query || '';\n\n await this.updateSuggestedQuery(defaultSuggestedQuery);\n }\n\n private get lastValue() {\n return this.panelInFocus?.lastElementChild;\n }\n\n private get previousOrLastValue() {\n if (!this.hasActiveDescendant) {\n return this.lastValue?.firstChild;\n }\n\n const parentOfActiveDescendant =\n this.activeDescendantElement?.parentElement;\n return (\n parentOfActiveDescendant?.previousElementSibling?.firstChild ||\n this.firstValue?.firstChild\n );\n }\n\n private sortSuggestions(a: SearchBoxSuggestions, b: SearchBoxSuggestions) {\n return a.position - b.position;\n }\n\n private get nextOrFirstValue() {\n if (!this.hasActiveDescendant) {\n return this.firstValue?.firstChild;\n }\n\n const parentOfActiveDescendant =\n this.activeDescendantElement?.parentElement;\n return (\n parentOfActiveDescendant?.nextElementSibling?.firstChild ||\n this.firstValue?.firstChild\n );\n }\n\n private get firstValue() {\n return this.panelInFocus?.firstElementChild;\n }\n\n private get panelInFocus() {\n if (this.leftPanel?.contains(this.activeDescendantElement)) {\n return this.leftPanel;\n }\n if (this.rightPanel?.contains(this.activeDescendantElement)) {\n return this.rightPanel;\n }\n return this.leftPanel || this.rightPanel;\n }\n\n private scrollActiveDescendantIntoView() {\n this.activeDescendantElement?.scrollIntoView({\n block: 'nearest',\n });\n }\n\n private async updateQueryFromSuggestion() {\n const suggestedQuery = this.activeDescendantElement?.getAttribute(\n this.queryDataAttribute\n );\n await this.updateOwnerSearchboxQuery(suggestedQuery || '');\n }\n\n private async updateOwnerSearchboxQuery(query: string) {\n if (query && this.ownerSearchBoxProps.getSearchBoxValue() !== query) {\n this.ownerSearchBoxProps.updateQuery(query);\n await this.updateSuggestedQuery(query);\n }\n }\n\n private async updateSuggestedQuery(suggestedQuery: string) {\n await Promise.allSettled(\n this.suggestions.map((suggestion) =>\n promiseTimeout(\n suggestion.onSuggestedQueryChange\n ? suggestion.onSuggestedQueryChange(suggestedQuery)\n : Promise.resolve(),\n this.ownerSearchBoxProps.getSuggestionTimeout()\n )\n )\n );\n this.suggestedQuery = suggestedQuery;\n this.updateSuggestionElements(suggestedQuery);\n forceUpdate(this.ownerSearchBoxProps.getHost());\n }\n\n private updateSuggestionElements(query: string) {\n if (!this.isPanelInFocus(this.leftPanel, query)) {\n this.leftSuggestionElements = this.getAndFilterLeftSuggestionElements();\n }\n\n if (!this.isPanelInFocus(this.rightPanel, query)) {\n this.rightSuggestionElements = this.getSuggestionElements(\n this.rightSuggestions\n );\n }\n }\n\n public forceUpdate() {\n this.updateSuggestionElements(this.suggestedQuery);\n forceUpdate(this.ownerSearchBoxProps.getHost());\n }\n\n private isPanelInFocus(\n panel: HTMLElement | undefined,\n query: string\n ): boolean {\n if (!this.activeDescendantElement) {\n return false;\n }\n\n if (query) {\n const escaped = DOMPurify.sanitize(query);\n return !!panel?.querySelector(\n `[${this.queryDataAttribute}=\"${CSS.escape(escaped)}\"]`\n );\n }\n\n return this.activeDescendantElement?.closest('ul') === panel;\n }\n\n private getAndFilterLeftSuggestionElements() {\n const suggestionElements = this.getSuggestionElements(this.leftSuggestions);\n const filterOnDuplicate = new Set();\n\n const out = suggestionElements.filter((suggestionElement) => {\n if (isNullOrUndefined(suggestionElement.query)) {\n return true;\n }\n if (filterOnDuplicate.has(suggestionElement.query)) {\n return false;\n } else {\n filterOnDuplicate.add(suggestionElement.query);\n return true;\n }\n });\n\n return out;\n }\n\n private getSuggestionElements(suggestions: SearchBoxSuggestions[]) {\n const elements = suggestions.flatMap((suggestion) =>\n suggestion.renderItems()\n );\n\n const max =\n this.ownerSearchBoxProps.getNumberOfSuggestionsToDisplay() +\n elements.filter(elementHasNoQuery).length;\n\n return elements.slice(0, max);\n }\n\n private updateDescendants(activeDescendant = '') {\n const newPrevDescendantElement = this.activeDescendantElement;\n this.previousActiveDescendantElement = newPrevDescendantElement;\n this.updateActiveDescendant(activeDescendant);\n }\n\n private clearSuggestionElements() {\n this.leftSuggestionElements = [];\n this.rightSuggestionElements = [];\n }\n}\n"],"version":3}
@@ -3,6 +3,22 @@
3
3
  const domUtils = require('./dom-utils-d4790328.js');
4
4
  const eventUtils = require('./event-utils-9bfcf3c5.js');
5
5
 
6
+ /**
7
+ * Dispatches an event which retrieves the `SearchBoxSuggestionsBindings` on a configured parent search box.
8
+ *
9
+ * @param event Event sent from the registered query suggestions to the parent search box
10
+ * @param element Element on which to dispatch the event, which must be the child of a configured search box
11
+ * @param allowedSearchBoxElements Optional array of allowed search box element selectors
12
+ *
13
+ * @throws Error if the element is not a child of an allowed search box element
14
+ */
15
+ const dispatchSearchBoxSuggestionsEvent = (event, element, allowedSearchBoxElements = searchBoxElements) => {
16
+ const interfaceElement = domUtils.closest(element, searchBoxElements.join(', '));
17
+ if (!interfaceElement) {
18
+ throw new Error(`The "${element.nodeName.toLowerCase()}" component was not handled, as it is not a child of the following elements: ${allowedSearchBoxElements.join(', ')}`);
19
+ }
20
+ void dispatchSearchBoxSuggestionsEventEventually(interfaceElement, element, event);
21
+ };
6
22
  const searchBoxElements = [
7
23
  'atomic-search-box',
8
24
  'atomic-insight-search-box',
@@ -20,27 +36,7 @@ const dispatchSearchBoxSuggestionsEventEventually = async (interfaceElement, ele
20
36
  }
21
37
  element.dispatchEvent(eventUtils.buildCustomEvent('atomic/searchBoxSuggestion/register', event));
22
38
  };
23
- /**
24
- * Dispatches an event which retrieves the `SearchBoxSuggestionsBindings` on a configured parent search box.
25
- * @param event Event sent from the registered query suggestions to the parent search box.
26
- * @param element Element on which to dispatch the event, which must be the child of a configured search box.
27
- */
28
- const dispatchSearchBoxSuggestionsEvent = (event, element, allowedSearchBoxElements = searchBoxElements) => {
29
- const interfaceElement = domUtils.closest(element, searchBoxElements.join(', '));
30
- if (!interfaceElement) {
31
- throw new Error(`The "${element.nodeName.toLowerCase()}" component was not handled, as it is not a child of the following elements: ${allowedSearchBoxElements.join(', ')}`);
32
- }
33
- void dispatchSearchBoxSuggestionsEventEventually(interfaceElement, element, event);
34
- };
35
- function elementHasNoQuery(el) {
36
- return !el.query || el.query.trim() === '';
37
- }
38
- function elementHasQuery(el) {
39
- return !!el.query && el.query.trim() !== '';
40
- }
41
39
 
42
40
  exports.dispatchSearchBoxSuggestionsEvent = dispatchSearchBoxSuggestionsEvent;
43
- exports.elementHasNoQuery = elementHasNoQuery;
44
- exports.elementHasQuery = elementHasQuery;
45
41
 
46
- //# sourceMappingURL=suggestions-common-5097a362.js.map
42
+ //# sourceMappingURL=suggestions-events-63dd0640.js.map
@@ -0,0 +1 @@
1
+ {"file":"suggestions-events-63dd0640.js","mappings":";;;;;AAOA;;;;;;;;;MASa,iCAAiC,GAAG,CAI/C,KAA+D,EAC/D,OAAoB,EACpB,2BAA0E,iBAAiB;IAE3F,MAAM,gBAAgB,GAAGA,gBAAO,CAAC,OAAO,EAAE,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACxE,IAAI,CAAC,gBAAgB,EAAE;QACrB,MAAM,IAAI,KAAK,CACb,QAAQ,OAAO,CAAC,QAAQ,CAAC,WAAW,EAAE,gFAAgF,wBAAwB,CAAC,IAAI,CACjJ,IAAI,CACL,EAAE,CACJ,CAAC;KACH;IACD,KAAK,2CAA2C,CAC9C,gBAAgB,EAChB,OAAO,EACP,KAAK,CACN,CAAC;AACJ,EAAE;AAEF,MAAM,iBAAiB,GAAG;IACxB,mBAAmB;IACnB,2BAA2B;IAC3B,4BAA4B;CACpB,CAAC;AAEX,MAAM,mBAAmB,GAAG,CAAC,SAAkB,KAC7C,gBAAgB,IAAK,SAAwB;IAC5C,SAAwB,CAAC,cAAc,YAAY,OAAO,CAAC;AAE9D,MAAM,2CAA2C,GAAG,OAIlD,gBAAyB,EACzB,OAAoB,EACpB,KAA+D;IAE/D,MAAM,cAAc,CAAC,WAAW,CAAC,gBAAgB,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC;IAC1E,IAAI,mBAAmB,CAAC,gBAAgB,CAAC,EAAE;QACzC,MAAM,gBAAgB,CAAC,cAAc,CAAC;KACvC;SAAM,IAAI,kBAAkB,IAAI,gBAAgB,EAAE;QACjD,MAAO,gBAAuC,CAAC,gBAAgB,EAAE,CAAC;KACnE;IACD,OAAO,CAAC,aAAa,CACnBC,2BAAgB,CAAC,qCAAqC,EAAE,KAAK,CAAC,CAC/D,CAAC;AACJ,CAAC;;;;","names":["closest","buildCustomEvent"],"sources":["src/components/common/suggestions/suggestions-events.ts"],"sourcesContent":["import type {HTMLStencilElement} from '@stencil/core/internal';\nimport type {LitElement} from 'lit';\nimport {closest} from '../../../utils/dom-utils';\nimport {buildCustomEvent} from '../../../utils/event-utils';\nimport type {AnyBindings} from '../interface/bindings';\nimport type {SearchBoxSuggestionsEvent} from './suggestions-types';\n\n/**\n * Dispatches an event which retrieves the `SearchBoxSuggestionsBindings` on a configured parent search box.\n *\n * @param event Event sent from the registered query suggestions to the parent search box\n * @param element Element on which to dispatch the event, which must be the child of a configured search box\n * @param allowedSearchBoxElements Optional array of allowed search box element selectors\n *\n * @throws Error if the element is not a child of an allowed search box element\n */\nexport const dispatchSearchBoxSuggestionsEvent = <\n SearchBoxController,\n Bindings = AnyBindings,\n>(\n event: SearchBoxSuggestionsEvent<SearchBoxController, Bindings>,\n element: HTMLElement,\n allowedSearchBoxElements: readonly (typeof searchBoxElements)[number][] = searchBoxElements\n) => {\n const interfaceElement = closest(element, searchBoxElements.join(', '));\n if (!interfaceElement) {\n throw new Error(\n `The \"${element.nodeName.toLowerCase()}\" component was not handled, as it is not a child of the following elements: ${allowedSearchBoxElements.join(\n ', '\n )}`\n );\n }\n void dispatchSearchBoxSuggestionsEventEventually(\n interfaceElement,\n element,\n event\n );\n};\n\nconst searchBoxElements = [\n 'atomic-search-box',\n 'atomic-insight-search-box',\n 'atomic-commerce-search-box',\n] as const;\n\nconst isLitElementLoosely = (candidate: unknown): candidate is LitElement =>\n 'updateComplete' in (candidate as LitElement) &&\n (candidate as LitElement).updateComplete instanceof Promise;\n\nconst dispatchSearchBoxSuggestionsEventEventually = async <\n SearchBoxController,\n Bindings = AnyBindings,\n>(\n interfaceElement: Element,\n element: HTMLElement,\n event: SearchBoxSuggestionsEvent<SearchBoxController, Bindings>\n) => {\n await customElements.whenDefined(interfaceElement.nodeName.toLowerCase());\n if (isLitElementLoosely(interfaceElement)) {\n await interfaceElement.updateComplete;\n } else if ('componentOnReady' in interfaceElement) {\n await (interfaceElement as HTMLStencilElement).componentOnReady();\n }\n element.dispatchEvent(\n buildCustomEvent('atomic/searchBoxSuggestion/register', event)\n );\n};\n"],"version":3}