1"use strict";(globalThis.webpackChunkverso=globalThis.webpackChunkverso||[]).push([[4028],{91683(e,t,o){o.d(t,{A:()=>n});const n=({filters:e,location:t})=>{const o=e.map(e=>e.hierarchyString);let n="";const i=new URLSearchParams(t.search).get("q");if(o.length&&(n=`?filter=${o.join(",")}`,t.search===n))return t;i&&(n+=n?"&":"?",n+=`q=${i}${0===o.length?"&filter=channels/artificial-intelligence":""}`);return`${`${t.origin}${t.pathname}`}${n}`}},87098(e,t,o){o.d(t,{S:()=>n.A,j:()=>i.A});var n=o(91683),i=o(26022)},81792(e,t,o){o.d(t,{A:()=>F});var n=o(47655),i=o(5556),r=o.n(i),a=o(96540),l=o(13465),s=o(31581),d=o(57744),c=o(53499),m=o(16272),u=o(73730),p=o(18608),h=o(86659),g=o(82652),f=o(6442),y=o(90090);const b=(0,o(72267).YK)({filterPreamble:{id:"ChannelFilter.FilterPreamble",defaultMessage:"Filter by",description:"ChannelFilter component filter preamble"},clearAllText:{id:"ChannelFilter.ClearAll",defaultMessage:"Clear All",description:"ChannelFilter component clear all text"},saveButtonText:{id:"ChannelFilter.Save",defaultMessage:"Save",description:"ChannelFilter component save button text"},storyCountText:{id:"ChannelFilter.StoryCount",defaultMessage:"Showing {storyCount, plural, one {# Story} other {# Stories}}",description:"ChannelFilter component story count text"},clearAllFiltersText:{id:"ChannelFilter.ClearAllFiltersText",defaultMessage:"Clear All Filters and Keywords",description:"ChannelFilter component clear all sub filter text"}});var k=o(76399),v=o(76196),$=o(38267),C=o(26865);const I=$.Ay.div.withConfig({displayName:"CategoryFilterItemWrapper"})` 2 display: flex; 3 flex-shrink: 0; 4 padding: 0; 5`,w=$.Ay.button.withConfig({displayName:"CategoryFilterItemButton"})` 6 ${"\n display: flex;\n align-items: center;\n justify-content: center;\n"} 7 margin-right: ${(0,C.Kq)(2)}; 8 outline: none; 9 border: 1px solid ${(0,C.HK)("colors.interactive.base.black")}; 10 border-radius: 50%; 11 background: #fff; 12 background-color: ${({isInverted:e,theme:t})=>e?(0,C.HK)(t,"colors.consumption.lead.inverted.heading"):(0,C.HK)(t,"colors.consumption.lead.standard.heading")}; 13 padding: 0; 14 width: 17px; 15 height: 17px; 16 17 .icon-close { 18 padding: 4px; 19 20 path { 21 stroke: ${({isInverted:e,theme:t})=>e?(0,C.HK)(t,"colors.interactive.base.black"):(0,C.HK)(t,"colors.interactive.base.white")}; 22 } 23 } 24 25 svg { 26 fill: ${({isInverted:e,theme:t})=>e?(0,C.HK)(t,"colors.interactive.base.black"):(0,C.HK)(t,"colors.interactive.base.white")}; 27 } 28 29 &:hover { 30 text-decoration: none; 31 } 32`,x=(0,$.Ay)(p.vm).withConfig({displayName:"CategoryFilterItemText"})` 33 ${({theme:e})=>(0,C.Gg)(e,"typography.definitions.utility.input-core")}; 34 35 color: ${({isInverted:e,theme:t})=>e?(0,C.HK)(t,"colors.consumption.lead.inverted.heading"):(0,C.HK)(t,"colors.consumption.lead.standard.heading")}; 36`,S=({configuredComponentRef:e,dangerousText:t,Icon:o=k.A,onClickHandler:n,theme:i="standard"})=>{const r="inverted"===i;return a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(c.G.RENDER,{name:"CategoryFilterItem"})},[]),a.createElement(I,{ref:e,className:"item-wrapper","data-testid":"CategoryFilterItemWrapper"},a.createElement(w,{onClick:n,isInverted:r,"aria-label":"action button"},a.createElement(o,null)),a.createElement(x,{isInverted:r,dangerouslySetInnerHTML:{__html:t}}))};S.propTypes={configuredComponentRef:r().func,dangerousText:r().string.isRequired,Icon:r().func,onClickHandler:r().func,theme:r().oneOf(["standard","inverted"])},S.displayName="CategoryFilterItem";const N=(0,l.y)(S,"CategoryFilterItem");var A=o(87098);const E=({filterData:e,finalSelectedSubFilters:t,isDirty:o,isGridLayout:n,overlayData:i,selectedSubFilters:r,setFilterData:l,setFinalSelectedSubFilters:s,onFilterSaveCallback:d,setIsDirty:c,setIsOverlayVisible:u,setSelectedSubFilters:h,variations:g,saveButtonText:$})=>{const{formatMessage:C}=(0,f.A)(),I=(0,a.useRef)(null);(0,A.j)(I,u);const w=n?m.WX:p.c7,x=e=>{r.includes(e)?h(r.filter(t=>t!==e)):h([...r,e]),c(!0)},S=()=>{const o=[...e];o.forEach(e=>{if(e.id===i.id){let t=0;e.sub.forEach(e=>{e.selected=!1,r.forEach(o=>{e.id===o.id&&(e.selected=!0,t++)})}),e.text=0!==t?`${e.originalText} (${t})`:e.originalText}});const n=[...t.filter(e=>{for(const t of i.sub)if(e.id===t.id)return!1;return!0}),...r];
36if((e=>{const t=r.map(e=>e.text),o=`${i.originalText}: ${t.join(" | ")}`;(0,y.W8)(e,{"ai-hub-filter":o})})("channelfilter click-tracking"),s(n),l(o),c(!1),h([]),u(!1),t.length>0||n.length>0)if(d)d(n);else{const{location:e}=window,t=(0,A.S)({filters:n,location:e});window.location=t}};return a.createElement(m.FQ,{className:"modal-wrapper"},a.createElement(w,{className:"channelfilter-wrapper"},a.createElement(m.vH,{isInverted:g.isInverted,ref:I},a.createElement(m.ZT,null,a.createElement(m.cK,{isInverted:g.isInverted},`${C(b.filterPreamble)} ${i.text}`),a.createElement(m.Vi,{isInverted:g.isInverted,onClick:()=>{u(!1),c(!1),h([])}},a.createElement(k.A,null)),a.createElement(m.R$,null,a.createElement(m.Ku,{isInverted:g.isInverted},a.createElement(m.h4,{isInverted:g.isInverted,onClick:()=>(()=>{const e=r.filter(e=>{for(const t of i.sub)if(t.id===e.id)return!1;return!0});h(e),c(!0)})(),className:"clear-all-filter"},C(b.clearAllText)),a.createElement(m.Fn,{id:"channel-filter-save",label:$||C(b.saveButtonText),title:C(b.saveButtonText),onClickHandler:()=>S(),isInverted:g.isInverted,className:"save-filter"})))),a.createElement(m.OT,null,a.createElement(m.n5,null,i.sub.map(e=>{const n=o?r:t;for(const t of n)if(e.id===t.id)return a.createElement(m.EA,{key:e.id,isInverted:g.isInverted,onClick:()=>x(e),className:"token-wrapper"},a.createElement(N,{dangerousText:e.text,theme:g.isInverted?"standard":"inverted",Icon:v.A}));return a.createElement(m.sf,{key:e.id,onClick:()=>x(e),className:"text-wrapper"},e.text)}))))))};E.propTypes={filterData:r().arrayOf(r().shape({id:r().string,text:r().string,originalText:r().string,sub:r().arrayOf(r().shape({id:r().string,text:r().string,selected:r().boolean,hierarchyString:r().string}))})),finalSelectedSubFilters:r().arrayOf(r().shape({id:r().string,text:r().string,selected:r().boolean,hierarchyString:r().string})),isDirty:r().bool,isGridLayout:r().bool,onFilterSaveCallback:r().func,overlayData:r().shape({id:r().string,text:r().string,originalText:r().string,sub:r().arrayOf(r().shape({id:r().string,text:r().string,selected:r().boolean,hierarchyString:r().string}))}),saveButtonText:r().string,selectedSubFilters:r().arrayOf(r().shape({id:r().string,text:r().string,selected:r().boolean,hierarchyString:r().string})),setFilterData:r().func,setFinalSelectedSubFilters:r().func,setIsDirty:r().func,setIsOverlayVisible:r().func,setSelectedSubFilters:r().func,variations:r().shape({isInverted:r().bool})},E.displayName="FilterOverlay";const B=E,H=({filterData:e,finalSelectedSubFilters:t,setFilterData:o,setFinalSelectedSubFilters:n,onFilterSaveCallback:i,storyCount:r,hideStoryCount:l,variations:s})=>{const{formatMessage:d}=(0,f.A)();return a.createElement(m.e7,{isInverted:s.isInverted,className:"info-container"},a.createElement(m.Si,{className:"info-wapper"},!l&&a.createElement(m.IM,{isInverted:s.isInverted,className:"story-count"},d(b.storyCountText,{storyCount:r})),a.createElement(m.X_,{isInverted:s.isInverted,onClick:()=>(()=>{const e=`${window.location.origin}${window.location.pathname}`;window.location=`${e}`})(),className:"clear-all-selected-filter"},d(b.clearAllFiltersText))),t.map(r=>a.createElement(m.Tt,{key:r.id,isInverted:s.isInverted,className:"selected-filter-token"},a.createElement(N,{onClickHandler:()=>(r=>{const a=[...e],l=(()=>{for(const e of a)for(const t of e.sub)if(t.id===r.id)return e;return{}})();let s=0;l.sub.forEach(e=>{r.id===e.id&&(e.selected=!1),e.selected&&s++}),l.text=0!==s?`${l.originalText} (${s})`:l.originalText;const d=t.filter(e=>e.id!==r.id);if(o(a),n(d),i)i(d);else{const{location:e}=window,t=(0,A.S)({filters:d,location:e});window.location=t}})(r),dangerousText:r.text,theme:s.isInverted?"inverted":"standard"}))))};H.propTypes={filterData:r().arrayOf(r().shape({id:r().string,text:r().string,originalText:r().string,sub:r().arrayOf(r().shape({id:r().string,text:r().string,selected:r().boolean,hierarchyString:r().string}))})),finalSelectedSubFilters:r().arrayOf(r().shape({id:r().string,text:r().string,selected:r().boolean,hierarchyString:r().string})),hideStoryCount:r().bool,onFilterSaveCallback:r().func,setFilterData:r().func,setFinalSelectedSubFilters:r().func,storyCount:r().number,variations:r().shape({isInverted:r().bool})},H.displayName="FilterInfo";const T=H,K=({channelTree:e,configuredComponentRef:t,filterRef:o,hasEnableIcon:n=!1,hideStoryCount:i=!1,isGridLayout:r=!0,onFilterSaveCallback:l,saveButtonText:s,storyCount:d,variationName:f,variations:y={isInverted:!1}})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(c.G.RENDER,{name:"ChannelFilter",variation:f})},[f]);const[b,k]=(0,a.useState)(!1),[v,$]=(0,a.useState)({}),[C,I]=(0,a.useState)(JSON.parse(JSON.stringify(e))),[w,x]=(0,a.useState)([]),[S,N]=(0,a.useState)([]),[A,E]=(0,a.useState)(!1),[H,K]=(0,a.useState)(!1),D=r?h.A.WithMargins:p.c7;(0,a.useEffect)(()=>{const e=new URLSearchParams(window.location.search);(e.get("q")||e.get("filter"))&&K(!0);const t=C?[...C]:[],o=[];
36t.forEach(e=>{let t=0;e.sub.forEach(e=>{e.selected&&(o.push(e),t++)}),e.text=t>0?`${e.originalText} (${t})`:e.originalText}),N(o),I(t)},[]),(0,a.useImperativeHandle)(o,()=>({resetSelectedSubFilters:()=>{x([]),N([]),I(e=>e.map(e=>({...e,text:e.originalText,sub:e.sub.map(e=>({...e,selected:!1}))})))}}));const F={filterData:C,finalSelectedSubFilters:S,isDirty:A,isGridLayout:r,overlayData:v,selectedSubFilters:w,setFilterData:I,setFinalSelectedSubFilters:N,onFilterSaveCallback:l,setIsDirty:E,setIsOverlayVisible:k,setSelectedSubFilters:x,variations:y,saveButtonText:s},O={filterData:C,finalSelectedSubFilters:S,setFilterData:I,setFinalSelectedSubFilters:N,onFilterSaveCallback:l,storyCount:d,hideStoryCount:i,variations:y};return a.createElement(D,{ref:t,className:"channelfilter-wrapper"},a.createElement(m.OB,null,C.map(e=>{const{ButtonComponent:t,ButtonWrapper:o,IconWrapper:i}={ButtonComponent:(r=e.text===e.originalText)?u.A.Utility:u.A.UtilityInverted,ButtonWrapper:r?m.aP:m.$$,IconWrapper:r?m.Om:m.Wm};var r;return a.createElement(o,{key:e.id,isInverted:y.isInverted,className:"button-wrapper"},a.createElement(t,{id:e.id,label:e.text,title:e.text,iconPosition:"after",hasDarkBackground:!0,hasEnableIcon:n,onClickHandler:()=>{const t=e.sub.filter(e=>e.selected);x(t),k(!0),$(e)},ButtonIcon:()=>a.createElement(i,{isInverted:y.isInverted},a.createElement(g.A,null))}))}),b&&a.createElement(B,{...F})),a.createElement(m._1,null,H&&a.createElement(T,{...O})))};K.propTypes={configuredComponentRef:r().func,channelTree:r().arrayOf(r().shape({id:r().string,text:r().string,originalText:r().string,sub:r().arrayOf(r().shape({id:r().string,text:r().string,selected:r().boolean,hierarchyString:r().string}))})),filterRef:r().shape({current:r().object}),hasEnableIcon:r().bool,hideStoryCount:r().bool,isGridLayout:r().bool,onFilterSaveCallback:r().func,saveButtonText:r().string,storyCount:r().number,variationName:r().string,variations:r().shape({isInverted:r().bool})},K.displayName="ChannelFilter";const D=(0,d.M3)((0,s.N)((0,l.y)(K,"ChannelFilter")),{keysToPluck:["channelTree"]});D.Inverted=(0,n.y)(D,"Inverted",{isInverted:!0});const F=D},16272(e,t,o){o.d(t,{$$:()=>c,EA:()=>v,FQ:()=>h,Fn:()=>S,IM:()=>B,Ku:()=>x,OB:()=>d,OT:()=>I,Om:()=>p,R$:()=>w,Si:()=>E,Tt:()=>K,Vi:()=>N,WX:()=>f,Wm:()=>u,X_:()=>H,ZT:()=>b,_1:()=>T,aP:()=>m,cK:()=>y,e7:()=>A,h4:()=>$,n5:()=>C,sf:()=>k,vH:()=>g});var n=o(38267),i=o(18608),r=o(96472),a=o(86659),l=o(73730),s=o(26865);const d=n.Ay.div.withConfig({displayName:"FilterWrapper"})` 37 display: flex; 38 flex-direction: row; 39 flex-wrap: wrap; 40 margin-left: 0; 41 padding: 15px 0 15px 0; 42`,c=n.Ay.div.withConfig({displayName:"ButtonUtilityInvertedWrapper"})` 43 padding: 0 20px 20px 0; 44 45 .button { 46 border-color: ${({isInverted:e,theme:t})=>e?(0,s.HK)(t,"colors.consumption.lead.inverted.heading"):(0,s.HK)(t,"colors.consumption.lead.inverted.background")}; 47 text-transform: capitalize; 48 49 ${({theme:e})=>(0,s.Gg)(e,"typography.definitions.consumptionEditorial.subhed-aux-secondary")}; 50 51 &:hover, 52 &:focus { 53 background-color: ${({isInverted:e,theme:t})=>e?(0,s.HK)(t,"colors.consumption.lead.inverted.heading"):(0,s.HK)(t,"colors.consumption.lead.inverted.background")}; 54 color: ${({isInverted:e,theme:t})=>e?(0,s.HK)(t,"colors.consumption.lead.inverted.background"):(0,s.HK)(t,"colors.consumption.lead.inverted.heading")}; 55 } 56 } 57`,m=(0,n.Ay)(c).withConfig({displayName:"ButtonUtilityWrapper"})` 58 .button { 59 border-color: ${({isInverted:e,theme:t})=>e?(0,s.HK)(t,"colors.consumption.lead.inverted.heading"):(0,s.HK)(t,"colors.consumption.lead.inverted.background")}; 60 61 &:hover, 62 &:focus { 63 border-color: ${({isInverted:e,theme:t})=>e&&(0,s.HK)(t,"colors.consumption.lead.inverted.heading")}; 64 background-color: ${({isInverted:e,theme:t})=>(0,s.HK)(t,"colors.consumption.lead.inverted.background")}; 65 color: ${({theme:e})=>(0,s.HK)(e,"colors.consumption.lead.inverted.heading")}; 66 } 67 } 68`,u=n.Ay.div.withConfig({displayName:"TriangleUpIconWrapper"})` 69 height: 14px; 70 71 .icon { 72 width: 15px; 73 height: 15px; 74 stroke-width: 3; 75 } 76`,p=n.Ay.div.withConfig({displayName:"InvertedTriangleDownIconWrapper"})` 77 height: 14px; 78 79 .icon { 80 width: 15px; 81 height: 15px; 82 stroke-width: 3; 83 84 polyline { 85 stroke: ${({theme:e})=>(0,s.HK)(e,"colors.consumption.lead.inverted.heading")}; 86 } 87 } 88`,h=n.Ay.div.withConfig({displayName:"ModalWrapper"})` 89 position: absolute; 90 left: 0; 91 z-index: 49; 92 outline: 0; 93 width: 100%; 94 height: 100%; 95 overflow: hidden; 96 97 @media (max-width: ${r.LO.md}) { 98 position: fixed; 99 top: 0; 100 left: 0; 101 z-index: 1000;
102 overflow-y: scroll; 103 } 104`,g=n.Ay.div.withConfig({displayName:"ModalDialogWrapper"})` 105 background: ${({isInverted:e,theme:t})=>e?(0,s.HK)(t,"colors.consumption.lead.inverted.heading"):(0,s.HK)(t,"colors.consumption.lead.inverted.background")}; 106 height: fit-content; 107 108 @media (max-width: ${r.LO.md}) { 109 height: 100%; 110 } 111`,f=(0,n.Ay)(a.A.WithMargins).withConfig({displayName:"OverlayWrapper"})` 112 min-height: 313px; 113 114 @media (max-width: ${r.LO.md}) { 115 && { 116 padding: 0; 117 } 118 height: 100vh; 119 } 120`,y=n.Ay.h1.withConfig({displayName:"HeaderTextWrapper"})` 121 ${({theme:e})=>(0,s.Gg)(e,"typography.discover.hed.core.secondary")}; 122 123 float: left; 124 line-height: 29px; 125 color: ${({isInverted:e,theme:t})=>e?(0,s.HK)(t,"colors.consumption.lead.standard.heading"):(0,s.HK)(t,"colors.consumption.lead.inverted.heading")}; 126 127 font-size: 24px; 128 @media (max-width: ${r.LO.md}) { 129 max-width: 70vw; 130 } 131`,b=n.Ay.div.withConfig({displayName:"HeaderWrapper"})` 132 padding: 31px 69px 50px 67px; 133 134 @media (max-width: ${r.LO.md}) { 135 padding: 31px 22px 31px 22px; 136 } 137`,k=n.Ay.div.withConfig({displayName:"FilterOptionTextWrapper"})` 138 ${({theme:e})=>(0,s.Gg)(e,"typography.definitions.utility.input-core")}; 139 140 cursor: pointer; 141 padding-right: 24px; 142 padding-bottom: 32px; 143 line-height: 40px; 144 145 -webkit-text-fill-color: ${({isInverted:e,theme:t})=>e?(0,s.HK)(t,"colors.consumption.body.standard.body-deemphasized"):(0,s.HK)(t,"colors.consumption.body.inverted.body-deemphasized")}; 146 color: ${({isInverted:e,theme:t})=>e?(0,s.HK)(t,"colors.consumption.body.standard.body-deemphasized"):(0,s.HK)(t,"colors.consumption.body.inverted.body-deemphasized")}; 147 148 &:hover, 149 &:focus { 150 text-decoration: underline; 151 } 152 153 @media (max-width: ${r.LO.md}) { 154 padding: 0 0 24px 0; 155 line-height: 20px; 156 } 157`,v=(0,n.Ay)(k).withConfig({displayName:"FilterOptionTokenWrapper"})` 158 margin-top: 10px; 159 padding-bottom: 45px; 160 text-decoration: underline; 161 162 color: ${({isInverted:e,theme:t})=>e?(0,s.HK)(t,"colors.consumption.lead.inverted.background"):(0,s.HK)(t,"colors.consumption.lead.inverted.heading")}; 163 164 @media (max-width: ${r.LO.md}) { 165 margin-top: 0; 166 padding-bottom: 25px; 167 } 168`,$=(0,n.Ay)(k).withConfig({displayName:"ClearAllTextWrapper"})` 169 padding: 4px 30px; 170 171 &:hover, 172 &:focus { 173 text-decoration: underline; 174 color: ${({isInverted:e,theme:t})=>e?(0,s.HK)(t,"colors.consumption.lead.inverted.background"):(0,s.HK)(t,"colors.consumption.lead.inverted.heading")}; 175 } 176 177 @media (max-width: ${r.LO.md}) { 178 padding: 15px 30px; 179 } 180`,C=n.Ay.div.withConfig({displayName:"FlexContainer"})` 181 display: flex; 182 flex-wrap: wrap; 183 184 @media (max-width: ${r.LO.md}) { 185 && { 186 all: unset; 187 } 188 } 189`,I=n.Ay.div.withConfig({displayName:"FilterOptionsWrapper"})` 190 padding: 32px 69px 0 69px; 191 192 @media (max-width: ${r.LO.md}) { 193 padding-top: 46px; 194 padding-bottom: 70px; 195 padding-left: 22px; 196 } 197`,w=n.Ay.div.withConfig({displayName:"MobileFooterWrapper"})` 198 @media (max-width: ${r.LO.md}) { 199 position: fixed; 200 bottom: 0; 201 left: 0; 202 z-index: 1000000; 203 box-shadow: 0 4px 24px rgb(0 0 0 / 25%); 204 width: 100%; 205 } 206`,x=n.Ay.div.withConfig({displayName:"HeaderButtonsWrapper"})` 207 display: flex; 208 float: right; 209 210 @media (max-width: ${r.LO.md}) { 211 justify-content: center; 212 float: none; 213 background-color: ${({isInverted:e,theme:t})=>e?(0,s.HK)(t,"colors.consumption.lead.inverted.heading"):(0,s.HK)(t,"colors.consumption.lead.inverted.background")}; 214 padding: 10px; 215 } 216`,S=(0,n.Ay)(l.A.Utility).withConfig({displayName:"SaveButtonWrapper"})` 217 border-radius: 3px; 218 219 background-color: ${({isInverted:e,theme:t})=>e?(0,s.HK)(t,"colors.consumption.lead.inverted.background"):(0,s.HK)(t,"colors.consumption.lead.inverted.heading")}; 220 min-width: 100px; 221 height: 47px; 222 223 color: ${({isInverted:e,theme:t})=>e?(0,s.HK)(t,"colors.consumption.lead.inverted.heading"):(0,s.HK)(t,"colors.consumption.lead.inverted.background")}; 224 225 &:hover, 226 &:focus { 227 border-color: ${({theme:e})=>(0,s.HK)(e,"colors.consumption.lead.inverted.background")}; 228 229 background-color: ${({isInverted:e,theme:t})=>e?(0,s.HK)(t,"colors.consumption.lead.inverted.background"):(0,s.HK)(t,"colors.consumption.lead.inverted.heading")}; 230 color: ${({isInverted:e,theme:t})=>e?(0,s.HK)(t,"colors.consumption.lead.inverted.heading"):(0,s.HK)(t,"colors.consumption.lead.inverted.background")}; 231 } 232`,N=n.Ay.div.withConfig({displayName:"CloseIconWrapper"})` 233 display: none; 234 235 @media (max-width: ${r.LO.md}) { 236 display: block; 237 float: right; 238 margin-top: 15px; 239 cursor: pointer; 240 241 .icon-close { 242 path { 243 stroke: ${({isInverted:e,theme:t})=>e?"initial":(0,s.HK)(t,"colors.interactive.base.white")}; 244 } 245 } 246 } 247`,A=n.Ay.div.withConfig({displayName:"SearchTokensContainer"})` 248 display: flex; 249 flex-wrap: wrap; 250 padding-bottom: ${(0,s.Kq)(2)}; 251 252 ${({isInverted:e,theme:t})=>e&&`\n background: ${(0,s.HK)(t,"colors.consumption.lead.inverted.heading-background")};\n `} 253`,E=(0,n.Ay)(i.vm).withConfig({displayName:"SearchTokensInfoWapper"})` 254 margin: ${(0,s.Kq)(1)} 0 ${(0,s.Kq)(4)} 0; 255 width: 100%; 256 ${(0,s.Gg)("typography.definitions.utility.label")} 257`,B=n.Ay.span.withConfig({displayName:"SearchTokensInfoCount"})` 258 margin-right: ${(0,s.Kq)(1)}; 259 color: ${({isInverted:e,theme:t})=>e?(0,s.HK)(t,"colors.consumption.body.inverted.body-deemphasized"):(0,s.HK)(t,"colors.consumption.body.standard.body-deemphasized")}; 260`,H=n.Ay.button.withConfig({displayName:"SearchTokensinfoClearAllButton"})` 261 outline: none; 262 background: transparent; 263 padding: 0; 264 color: ${({isInverted:e,theme:t})=>e?(0,s.HK)(t,"colors.consumption.lead.inverted.heading"):(0,s.HK)(t,"colors.consumption.lead.standard.heading")}; 265 text-decoration-line: underline; 266`,T=n.Ay.div.withConfig({displayName:"WrapSelectedTokens"})` 267 margin-top: -40px; 268`,K=(n.Ay.hr.withConfig({displayName:"HorizontalLine"})` 269 border-bottom: none; 270 width: 100%; 271`,n.Ay.div.withConfig({displayName:"TokenWrapper"})` 272 margin-top: -10px; 273 padding: 0 32px 16px 0; 274 275 &:hover, 276 &:focus { 277 text-decoration: underline; 278 color: ${({isInverted:e,theme:t})=>e?(0,s.HK)(t,"colors.consumption.lead.inverted.heading"):(0,s.HK)(t,"colors.consumption.lead.inverted.background")}; 279 } 280`)},90153(e,t,o){o.d(t,{A:()=>K});var n=o(13465),i=o(5556),r=o.n(i),a=o(96540),l=o(51886),s=o(38267),d=o(26865),c=o(70698),m=o(69328),u=o(90090),p=o(53499),h=o(77906),g=o(37690);
280const f=o(96472).LO.lg,y=s.Ay.div.withConfig({displayName:"NavWrapper"})` 281 display: none; 282 position: relative; 283 z-index: 1; 284 border-width: 1px 0; 285 border-style: solid; 286 ${({theme:e})=>(0,d._o)(e,"border-color","colors.foundation.menu.dividers")}; 287 width: 100%; 288 289 button { 290 padding-left: ${(0,d.Kq)(3)}; 291 height: 48px; 292 293 a { 294 pointer-events: none; 295 } 296 } 297 298 svg, 299 button a span { 300 ${({theme:e})=>(0,d._o)(e,"color",(0,c.l1)(e,"colors.foundation.collapsed-menu.nav-link.hover"))}; 301 } 302 303 svg { 304 transition: transform 0.2s linear; 305 stroke: ${(0,d.HK)("colors.foundation.collapsed-menu.nav-link.hover")}; 306 stroke-width: 6px; 307 } 308 309 .opened-chevron svg { 310 transform: rotate(180deg); 311 } 312 313 @media (max-width: ${f}) { 314 display: block; 315 } 316`,b=s.Ay.ul.withConfig({displayName:"NavDropdownWrapper"})` 317 ${({theme:e})=>(0,d._o)(e,"background-color",(0,c.l1)(e,"colors.foundation.menu-bg.expanded"))}; 318 319 margin: 0; 320 box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.1); 321 padding: 0 ${(0,d.Kq)(3)}; 322 323 @media (max-width: ${f}) { 324 li:first-child, 325 li + li { 326 margin-left: ${(0,d.Kq)(1.5)}; 327 328 &::before { 329 bottom: unset; 330 left: -${(0,d.Kq)(1.5)}; 331 width: 4px; 332 height: 100%; 333 } 334 } 335 } 336`;var k=o(708);const v="animated-dropdown-children-container",$=s.Ay.div.withConfig({displayName:"AnimatedDropdownContainer"})` 337 display: grid; 338 grid-template-rows: 0fr; 339 transition: grid-template-rows 200ms ease-in-out; 340 .${v} { 341 overflow: hidden; 342 } 343 344 &.show { 345 grid-template-rows: 1fr; 346 transition: grid-template-rows 400ms ease-in-out; 347 } 348`,C=({children:e,className:t="",showChildren:o=!1})=>a.createElement(a.Fragment,null,a.createElement($,{className:`${t??""} ${o?"show":"hide"}`},a.createElement("div",{className:v},e)));C.propTypes={children:r().node,className:r().string,showChildren:r().bool};var I=o(49938);const w=({navLinks:e,shouldEnableBundleComponentAnalytics:t,optionsRefs:o,trackingNamespace:n})=>e.map(({onClick:e,isActive:i,text:r,url:s,showOnlyInBreakpoints:d},c)=>{let m={};return t&&(m=(0,u.NY)(t,n,c)),a.createElement(l.BY,{...m,key:r,isSlim:!0,isActive:i,showOnlyInBreakpoints:d},a.createElement(l.k2,{ref:e=>{o.current[c]=e},tabIndex:"0",role:"link",href:s,onClick:e,isActive:i},a.createElement("span",null,r)))}),x={width:12,height:7},S=({links:e,shouldEnableBundleComponentAnalytics:t,trackingNamespace:o,className:n})=>{const i=(0,a.useRef)(null),r=(0,a.useRef)(null),s=(0,a.useRef)([]),[d,c]=(0,g.au)(),{onSelectOpen:m}=(0,g.Wc)(d,c,r,s);if(a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(p.G.RENDER,{name:"DropdownNavigation"})},[]),!e?.length)return null;const u=e.find(e=>e.isActive)||e[0],f=u===e[0]?e.slice(1):e,v=d.isOpen?"opened-chevron":"";return a.createElement(y,{"data-testid":"DropdownNavigation",className:n},a.createElement(h.EG,{ref:i,"aria-expanded":d.isOpen,"aria-haspopup":"true",onClick:m},a.createElement("span",{onClick:e=>(0,I.f)(e,"sub_header_menu_toggle"),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||e.preventDefault()},tabIndex:"0",role:"link"},a.createElement(l.k2,{tabIndex:"0",role:"link",href:u.url},a.createElement("span",null,u.text))),a.createElement("span",{"aria-hidden":"true",className:v,onClick:e=>(0,I.f)(e,"sub_header_menu_toggle")},a.createElement(k.A,{...x}))),a.createElement(C,{showChildren:d.isOpen},a.createElement(b,{ref:r,role:"menu",onClick:e=>(0,I.f)(e,"sub_header_menu_dropdown")},a.createElement(w,{navLinks:f,shouldEnableBundleComponentAnalytics:!!t,optionsRefs:s,trackingNamespace:o}))))};S.propTypes={className:r().string,links:r().array.isRequired,shouldEnableBundleComponentAnalytics:r().bool,trackingNamespace:r().str
348ing.isRequired},S.displayName="DropdownNavigation";const N=S,A=s.AH` 349 ${({hasBackgroundColor:e,theme:t})=>e?`background-color: ${(0,d.HK)(t,(0,c.l1)(t,"colors.foundation.menu-bg.collapsed"))};`:`&::after {\n background: linear-gradient(90deg, rgba(${(0,d.HK)(t,(0,c.l1)(t,"colors.background.adContainer.standard"),{rgbOnly:!0})}, 0) 0%, rgba(${(0,d.HK)(t,(0,c.l1)(t,"colors.background.adContainer.standard"),{rgbOnly:!0})}, 1) 75%);\n @media (max-width: ${f}) {\n width: ${(0,d.Kq)(7)};\n position: absolute;\n content: '';\n }\n }`} 350`,E=(0,s.Ay)(m.A).withConfig({displayName:"SubNavigationCarousel"})` 351 ${A}; 352 353 ${({layout:e})=>"SubNavigationDropdown"===e&&`\n display: flex;\n @media (max-width: ${f}) {\n display: none;\n }\n `} 354`,B=(0,s.Ay)(N).withConfig({displayName:"SubNavigationDropdown"})` 355 ${A}; 356 357 display: none; 358 @media (max-width: ${f}) { 359 display: block; 360 361 ${l.k2} { 362 display: inline-flex; 363 align-items: center; 364 height: 100%; 365 } 366 } 367`,H=({configuredComponentRef:e,layout:t="SubNavigationCarousel",links:o,hasBackgroundColor:n=!1,hasBorders:i=!1,isCentered:r=!1,isSlim:l=!1,className:s="",trackingNamespace:d=""})=>a.createElement("div",{ref:e},"SubNavigationCarousel"===t&&a.createElement(E,{hasBackgroundColor:n,className:s,hasBorders:i,isCentered:r,isSlim:l,links:o,trackingNamespace:d||"SubNavigation"}),"SubNavigationDropdown"===t&&a.createElement(a.Fragment,null,a.createElement(B,{hasBackgroundColor:n,trackingNamespace:d||"SubNavigation",className:s,links:o,layout:t}),a.createElement(E,{hasBackgroundColor:n,layout:t,className:s,hasBorders:i,isCentered:r,isSlim:l,links:o,trackingNamespace:d||"SubNavigation"})));H.displayName="SubNavigation",H.propTypes={configuredComponentRef:r().func,className:r().string,hasBackgroundColor:r().bool,hasBorders:r().bool,isCentered:r().bool,isSlim:r().bool,layout:r().oneOf(["SubNavigationCarousel","SubNavigationDropdown"]),links:r().arrayOf(r().shape({text:r().string.isRequired,url:r().string.isRequired,isActive:r().bool}
367)),trackingNamespace:r().string};const T=H,K=(0,n.y)(T,"SubNavigation")},51257(e,t,o){o.d(t,{A:()=>x,W:()=>I});var n=o(96540),i=o(5556),r=o.n(i),a=o(32485),l=o.n(a),s=o(31989),d=o(76399),c=o(73730),m=o(49741),u=o(38080),p=o(31581),h=o(36185),g=o(13465),f=o(34967),y=o(60824);const b=()=>window.Kendra?.ADS??null,k=new URLSearchParams(window.location.search);function v(e){const t=e.replace(/.*\.(.*)$/,"$1");return parseInt(t.split("x")[1],10)}let $=null;function C(){if($)return $;const e=document.querySelector('[class*="StickyHeroAdWrapper"]');if(!e)return null;if(e.closest(".one-nav"))return null;const t=e.querySelector(".ad.should-hold-space"),o=e.querySelector(".ad__slot.ad__slot--hero");if(!t||!o)return null;const n=parseInt(window.getComputedStyle(o).height,10)||60,i=parseInt(window.getComputedStyle(t).minHeight,10)||60;return $={adWrapper:t,wrapper:e,adSlot:o,minHeight:i,height:n},$}function I(e,t){const o=C();if(!o)return e;const{wrapper:n,minHeight:i,height:r,adWrapper:a}=o,l=n.classList.contains("ad-stickyhero-issticky"),s=Math.abs(i-r),d=Math.max(0,i-s);return l&&e&&t>i?(a.style.minHeight=`${r}px`,!1):l&&!e&&t<d?(a.style.minHeight=`${i}px`,!0):e}function w(e){const{className:t,configuredComponentRef:o,defaultCreativeHeightDesktop:i,defaultCreativeHeightMobile:r,holdAdHeightsConfig:{shoulHoldStickyHeroAd:a=!1}={},isNoAds:p,isStickyDisabledMobile:g,navVariation:f="",onFilled:I,setIsHeroAdVisible:w}
367=e,[x,S]=(0,n.useState)(!1),[N,A]=(0,n.useState)(!1),[E,B]=(0,n.useState)(!1),[H,T]=(0,n.useState)(250),K=(0,n.useRef)(!1),D=(0,n.useRef)([]),F=(0,n.useRef)(null),O=(0,n.useRef)(null),R=(0,n.useRef)(null),_=(0,n.useRef)(null),W=(0,n.useRef)(null),z=(0,n.useRef)(null),L=(0,n.useRef)(null),M=(0,n.useRef)(null),q="sticky-hero"===k?.get("test")||a,G=(0,n.useRef)(!1),P=(0,n.useCallback)(()=>{D.current.forEach(e=>e?.off?.()),D.current=[],F.current?.(),O.current?.(),R.current?.(),_.current?.(),W.current&&(clearTimeout(W.current),W.current=null),z.current&&(clearTimeout(z.current),z.current=null),L.current&&(clearTimeout(L.current),L.current=null),M.current&&(clearTimeout(M.current),M.current=null)},[]),V=(0,n.useCallback)(()=>{P(),A(e=>{if(!e)return e;const t=C();if(t){const{adWrapper:e,minHeight:o}=t;e.style.minHeight=`${o}px`}return T(e=>(window.pageYOffset<e/2?(B(!1),S(!1),w?.(!1)):(w?.(!1),z.current=setTimeout(()=>{B(!1),S(!1),w?.(!1)},1e3)),e)),!1})},[P,w]),Y=(0,n.useCallback)(()=>{const e=b();if(q){if(e){const t=e.on(y.c.LIBRARY_SLOT_RENDER_ENDED_EMPTY,e=>{"hero_0"===e.slotElementId&&V()});D.current.push(t)}else window.cnBus&&(R.current=window.cnBus.on("#.hero_0.empty",()=>{V()}));window.cnBus&&(_.current=window.cnBus.on("cnePlayer.stickyVideo.activated",()=>{V()}))}else{W.current=setTimeout(()=>V(),3e4);const t=()=>{M.current=setTimeout(()=>{K.current||V()},2e3)};if(e){const o=e.on(y.c.LIBRARY_STICKY_HERO_IMPRESSION_VIEWABLE,t);D.current.push(o)}else window.cnBus&&(O.current=window.cnBus.on("ads.stickyBanner.hero.impressionViewable",t))}},[q,V]),U=(0,n.useCallback)(e=>{S(!0),T(e),w?.(!0),L.current=setTimeout(()=>{B(!0),A(!0),Y()},1e3)},[w,Y]),j=(0,n.useCallback)(e=>{let t,o;if(e?.size)t=e.size[1]??250,o=e.size[0]??0;else{const[[e]]=window.cnBus.history("ads.stickyBanner.hero.slotRenderEnded.#");t=v(e);const n=e.replace(/.*\.(.*)$/,"$1");o=parseInt(n.split("x")[0],10)||0}let n=t;if($?.adWrapper){if(1===t&&o>0){n=$.adWrapper.offsetWidth/o}$.height=Math.round(n)}U(t)},[U]),X=(0,n.useCallback)(()=>{K.current=!0},[]);(0,n.useEffect)(()=>{if(G.current)return;G.current=!0;const e=b();if(e){const t=e.history().filter(e=>e.channel===y.c.LIBRARY_STICKY_HERO_RENDER_ENDED);if(0===t.length){const t=e.on(y.c.LIBRARY_STICKY_HERO_RENDER_ENDED,j);D.current.push(t)}else{const e=t[0].value,o=e.size?.[1]??250;T(o),S(!0),A(!0),Y(),w?.(!0)}}else if(window.cnBus?.history){const e=window.cnBus.history("ads.stickyBanner.hero.slotRenderEnded.#");if(0===e.length)F.current=window.cnBus.on("ads.stickyBanner.hero.slotRenderEnded.#",j);else{const t=v(e[0][0]);T(t),S(!0),A(!0),Y(),w?.(!0)}}},[j,Y,w]),(0,n.useEffect)(()=>()=>{P(),$=null},[P]);const Z=f.toLowerCase().includes("withsearchbar"),J=(0,n.useMemo)(()=>{if(x)return{"ad-stickyhero-issticky":!0,"ad-stickyhero-sticky-animating":E,[`ad-stickyhero-sticky-${H}`]:!N,"ad-stickyhero-sticky-visible":N}},[x,E,H,N]);return p?null:n.createElement(h.IO,{ref:o,className:l()(t,"ad-stickyhero",g?"ad-stickyhero-disable-mobile":"ad-stickyhero-enable-mobile",{"with-link-banner":f.toLowerCase().includes("linkbanner"),"with-searchbar":Z},J),"data-testid":"sticky-hero-ad",onMouseEnter:X,onTouchStart:X,defaultCreativeHeightDesktop:i,defaultCreativeHeightMobile:r},x&&N&&n.createElement(c.A.Utility,{isIconButton:!0,ButtonIcon:d.A,className:"ad-stickyhero-button",label:"Close",onClickHandler:V,role:"button","aria-expanded":d.A}),n.createElement(u.Z,{group:"ads"},n.createElement(s.A,{position:"hero",onFilled:I,shouldHoldSpace:!0})),n.createElement(u.Z,{group:"consumer-marketing"},n.createElement(m.A,{position:"display-hero"})))}w.propTypes={configuredComponentRef:r().func,defaultCreativeHeightDesktop:r().number,defaultCreativeHeightMobile:r().number,className:r().string,isNoAds:r().bool,isStickyDisabledMobile:r().bool,navVariation:r().string,onFilled:r().func,setIsHeroAdVisible:r().func,holdAdHeightsConfig:r().shape({shoulHoldStickyHeroAd:r().bool})},w.displayName="StickyHeroAd";const x=(0,f.A)((0,p.N)((0,g.y)(w,"StickyHeroAd")),{keysToPluck:["isNoAds","holdAdHeightsConfig"]})},69741(e,t,o){o.d(t,{dX:()=>y,tZ:()=>f});var n=o(38267),i=o(26865),r=o(96472),a=o(18730);const{timingButtonDefault:l}
367=r.L6,s=(0,i.Kq)(3),d=({selectionControlBackgroundColor:e,selectionControlBorderColor:t,selectionControlSize:o})=>n.AH` 368 transition-property: background, border; 369 transition-duration: ${l}; 370 transition-timing-function: ease-in; 371 position: relative; 372 border-width: 1px; 373 border-style: solid; 374 ${({theme:e})=>(0,i._o)(e,"border-color",t)}; 375 ${({theme:t})=>(0,i._o)(t,"background-color",e)}; 376 width: ${o}; 377 height: ${o}; 378 pointer-events: none; 379 380 &::before { 381 display: block; 382 position: absolute; 383 top: 50%; 384 left: 50%; 385 transition-property: background, border; 386 transition-duration: ${l}; 387 transition-timing-function: ease-in; 388 opacity: 0; 389 content: ''; 390 } 391 `,c=n.Ay.div.withConfig({displayName:"DiscoverySelectionControlStyledCheckbox"})` 392 ${d({selectionControlBackgroundColor:"colors.interactive.base.white",selectionControlBorderColor:"colors.interactive.base.black",selectionControlSize:s})} 393 394 &::before { 395 ${(({checkboxIconBorderWidth:e,checkboxIconColor:t})=>n.AH` 396 transform: translate(-50%, -60%) rotate(45deg); 397 border-width: 0 ${e} ${e} 0; 398 border-style: solid; 399 ${({theme:e})=>(0,i._o)(e,"border-color",t)}; 400 width: 25%; 401 height: 75%; 402 `)({checkboxIconBorderWidth:"2px",checkboxIconColor:"colors.interactive.base.white"})} 403 } 404`,m=n.Ay.div.withConfig({displayName:"DiscoverySelectionControlStyledRadio"})` 405 ${d({selectionControlBackgroundColor:"colors.interactive.base.white",selectionControlBorderColor:"colors.interactive.base.black",selectionControlSize:s})} 406 407 border-radius: 100%; 408 409 &::before { 410 ${({theme:e})=>(({radioIconColor:e,theme:t})=>`\n border-radius: 100%;\n transform: translate(-50%, -50%);\n border-radius: 100%;\n ${(0,i._o)(t,"border-color",e)};\n width: 50%;\n height: 50%;\n `)({radioIconColor:"colors.interactive.base.black",theme:e})} 411 } 412`,u=({theme:e})=>n.AH` 413 ${(({selectionControlBackgroundColor:e,theme:t})=>`\n &:checked,\n &:active {\n + ${m}::before {\n opacity: 1;\n }\n + ${c} {\n &::before {\n opacity: 1;\n }\n ${(0,i._o)(t,"border-color","colors.interactive.base.brand-primary")};\n ${(0,i._o)(t,"background-color",e)};\n }\n }\n\n &:disabled {\n + ${m},\n + ${c} {\n ${(0,i._o)(t,"border-color","colors.interactive.base.light")};\n }\n }\n\n &:disabled:checked {\n + ${c} {\n ${(0,i._o)(t,"background-color","colors.interactive.base.light")};\n\n + ${m}::before {\n ${(0,i._o)(t,"background-color","colors.interactive.base.light")};\n }\n }\n `)({selectionControlBackgroundColor:"colors.interactive.base.brand-primary",theme:e})} 414 `,p=({theme:e})=>n.AH` 415 cursor: default; 416 pointer-events: none; 417 ${(0,i._o)(e,"color","colors.interactive.base.light")}; 418 `,h=n.Ay.input.withConfig({displayName:"DiscoverySelectionControlNativeRadio"})` 419 ${({theme:e})=>u({theme:e})} 420`,g=n.Ay.input.withConfig({displayName:"DiscoverySelectionControlNativeCheckbox"})` 421 ${({theme:e})=>u({theme:e})} 422`,f=n.Ay.label.withConfig({displayName:"DiscoverySelectionControlLabelWrapper"})` 423 display: grid; 424 position: relative; 425 grid-column-gap: ${(0,i.Kq)(2)}; 426 grid-template-columns: ${s} auto; 427 grid-row-gap: ${(0,i.Kq)(.5)}; 428 429 @media (min-width: ${r.LO.md}) { 430 grid-column-gap: ${(0,i.Kq)(2)}; 431 grid-row-gap: ${(0,i.Kq)(1)}; 432 } 433 434 &:hover { 435 ${c} { 436 ${({theme:e})=>(0,i._o)(e,"border-color","colors.interactive.base.brand-primary")}; 437 } 438 439 ${m} { 440 ${({theme:e})=>(0,i._o)(e,"border-color","colors.interactive.base.brand-primary")}; 441 } 442 443 ${g}:checked + ${c} { 444 ${({theme:e})=>(0,i._o)(e,"background","colors.interactive.base.black")}; 445 ${({theme:e})=>(0,i._o)(e,"border-color","colors.interactive.base.black")}; 446 } 447 448 ${h}:checked + ${m} { 449 ${({theme:e})=>(0,i._o)(e,"background","colors.interactive.base.white")}; 450 } 451 } 452 453 ${({isDisabled:e,theme:t})=>e&&p({theme:t})}; 454`,y=((0,n.Ay)(a.v).withConfig({displayName:"DiscoverySelectionControlContext"}).attrs(e=>({as:"div",colorToken:"colors.discovery.body.white.description",typeIdentity:"typography.definitions.globalEditorial.context-primary",...e}))` 455 ${({theme:e,typeIdentity:t})=>(0,i.Gg)(e,t)} 456 grid-column-start: 2; 457 margin-bottom: ${(0,i.Kq)(.5)}; 458 ${({theme:e,colorToken:t})=>(0,i._o)(e,"color",t)}; 459 ${({isDisabled:e,theme:t})=>e&&p({theme:t})}; 460 @media (min-width: ${r.LO.md}) { 461 margin-bottom: 0; 462 } 463`,(0,n.Ay)(a.v).withConfig({displayName:"DiscoverySelectionControlHed"}).attrs(e=>({as:"span",colorToken:"colors.discovery.body.white.heading",typeIdentity:"typography.definitions.discovery.hed-core-secondary",...e}))` 464 ${({theme:e,typeIdentity:t})=>(0,i.Gg)(e,t)} 465 ${({theme:e,colorToken:t})=>(0,i._o)(e,"color",t)}; 466 ${({isDisabled:e,theme:t})=>e&&p({theme:t})}; 467`);(0,n.Ay)(a.v).withConfig({displayName:"DiscoverySelectionControlDek"}).attrs(e=>({as:"span",colorToken:"colors.discovery.body.white.description",typeIdentity:"typography.definitions.discovery.description-core",...e}))` 468 ${({theme:e,typeIdentity:t})=>(0,i.Gg)(e,t)} 469 ${({theme:e,colorToken:t})=>(0,i._o)(e,"color",t)}; 470 grid-column-start: 2; 471 ${({isDisabled:e,theme:t})=>e&&p({theme:t})}; 472`},62930(e,t,o){o.d(t,{Ay:()=>r,jl:()=>n.A});var n=o(32272),i=o(13644);const r={Circle:n.A,Vogue:i.A}},72550(){}
472,15316(e,t,o){o.d(t,{Kq:()=>l,em:()=>n.A});o(72550),o(85480);var n=o(17130);const i="default",r={index:0},a=()=>{},l=(e,t,o,n)=>{const{strategy:{enabled:l,method:s=i,options:d=(n?{index:n}:r)}={}}=e,c=t[s]||a;return l&&c({length:o,...d})}},17130(e,t,o){o.d(t,{A:()=>n});const n={default:({index:e})=>e,disable:()=>null,end:({length:e})=>e-1}},57744(e,t,o){o.d(t,{M3:()=>a.A,Tk:()=>n.A,ro:()=>i.A,z5:()=>r.A});var n=o(82407),i=o(26410),r=(o(79810),o(27543)),a=o(34967)},99623(e,t,o){o.d(t,{N:()=>i});var n=o(14307);const i=(e,t,o="",i="click",r=void 0,a=void 0,l=void 0)=>{const s=(e=>{if(!e||void 0===document)return null;const t=document.getElementById(e),o=(t?t.offsetTop:0)/Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return o<=.33?"top":o<=.66?"middle":"bottom"})(r),d={items:[{content_title:t,content_url:e}],label:t,subject:o,type:i,index:a,placement:s||l};(0,n.kg)(d)}},50643(e,t,o){o.d(t,{AQ:()=>c,GK:()=>l,IY:()=>f,Jx:()=>h,TL:()=>d,Yg:()=>m,bw:()=>u,d2:()=>p,fG:()=>i,h9:()=>s,oU:()=>g});var n=o(16791);o(70745);const i="\nmutation CreateBookmark($bookmarkName: String!, $organizationId: ID!, $copilotId: String!, $documentType: String!, $meta: String) {\n createBookmark(bookmarkName: $bookmarkName, organizationId: $organizationId, copilotId: $copilotId, documentType: $documentType, meta: $meta) {\n id\n copilotId\n siteCode\n bookmarkName\n documentType\n }\n }",r=`\n fragment bookmarkField on Bookmark {\n id\n copilotId\n bookmarkName\n content {\n ...${n.vG}\n }\n documentUrl\n documentType\n meta\n siteCode\n organizationId\n}`,a=`\n ${r}\n query AllBookmarks($limit: Int!, $offset: Int!, $organizationId: ID!, $copilotIds: [String], $filter: Filter, $sortOrder: SortOrder, $sortBy: BookmarkSortKeys) {\n allBookmarks(limit: $limit, offset: $offset, organizationId: $organizationId, copilotIds: $copilotIds, filter: $filter, sortOrder: $sortOrder, sortBy: $sortBy) {\n bookmarks {\n ...bookmarkField\n }\n allBookmarkCount\n }\n }\n`,l=()=>`\n ${(0,n.AH)()}\n ${a}\n`,s="\n mutation DeleteBookmark($bulkIds: [Int], $copilotId: String) {\n deleteBookmark(bulkIds: $bulkIds, copilotId: $copilotId) {\n message\n }\n }",d="\n query AllBookmarks($limit: Int!, $offset: Int!, $organizationId: ID!, $copilotIds: [String]) {\n allBookmarks(limit: $limit, offset: $offset, organizationId: $organizationId, copilotIds: $copilotIds) {\n bookmarks {\n id\n copilotId\n bookmarkName\n }\n allBookmarkCount\n }\n }",c="\n query BookmarkedProducts($limit: Int!, $offset: Int!, $organizationId: ID!, $documentType: String!) {\n allBookmarks(limit: $limit, offset: $offset, organizationId: $organizationId, documentType: $documentType) {\n bookmarks {\n id\n copilotId\n bookmarkName\n documentType\n }\n allBookmarkCount\n }\n }",m="\n query GetPhoto($organizationId: ID!, $copilotID: String!) {\n getPhoto(organizationId: $organizationId, id: $copilotID) {\n isBookmarked\n }\n }\n",u=`\n ${(0,n._M)(["Photo","Product","Article","Gallery","MusicReview",...n.d7])}\n ${r}\n query allCollections(\n $limit: Int!\n $offset: Int!\n $organizationId: ID!\n $sortBy: CollectionSortKeys\n $sortOrder: SortOrder\n $bookmarksLimit: Int!\n $bookmarksOffset: Int!\n $bookmarksSortBy: BookmarkCollectionSortKeys\n $bookmarksSortOrder: SortOrder,\n $includeBookmarks: Boolean!\n ) {\n allCollections(\n limit: $limit\n offset: $offset\n organizationId: $organizationId\n sortBy: $sortBy\n sortOrder: $sortOrder\n ) {\n allCollectionCount\n collections {\n id\n collectionName\n totalBookmarkCount\n lastBookmark {\n ...bookmarkField\n }\n bookmarks(\n limit: $bookmarksLimit,\n offset: $bookmarksOffset,\n sortBy: $bookmarksSortBy,\n sortOrder: $bookmarksSortOrder\n ) @include(if: $includeBookmarks) {\n bookmark {\n ...bookmarkField\n }\n }\n }\n }\n }\n`,p="\n query allCollections($limit: Int!, $offset: Int!, $organizationId: ID!) {\n allCollections(\n limit: $limit\n offset: $offset\n organizationId: $organizationId\n ) {\n allCollectionCount\n }\n }\n",h="mutation UpdateCollection(\n $updateCollectionId: Int!, \n $collectionName: String, \n $organizationId: ID, \n $addCopilotDetails: [CopilotDetail], \n $removeCopilotIds: [String], \n $addBookmarkIds: [Int], \n $removeBookmarkIds: [Int], \n $meta: String \n ) {\n updateCollection(\n id: $updateCollectionId, \n collectionName: $collectionName, \n organizationId: $organizationId, \n addCopilotDetails: $addCopilotDetails, \n removeCopilotIds: $removeCopilotIds, \n addBookmarkIds: $addBookmarkIds, \n removeBookmarkIds: $removeBookmarkIds, \n meta: $meta\n ) {\n id\n collectionName\n totalBookmarkCount\n }\n }\n",g=" \n mutation CreateCollection($collectionName: String!, $organizationId: ID!, $copilotDetails: [CopilotDetail]) {\n createCollection(collectionName: $collectionName, organizationId: $organizationId,copilotDetails: $copilotDetails) {\n id\n collectionName\n lastBookmark {\n copilotId\n }\n }\n}",f="\nmutation MoveBookmarks($fromCollectionId: Int!, $toCollectionId: Int!, $copilotIds: [String], $bookmarkIds: [Int], $moveAll: Boolean) {\n moveBookmarks(fromCollectionId: $fromCollectionId, toCollectionId: $toCollectionId, copilotIds: $copilotIds, bookmarkIds: $bookmarkIds, moveAll: $moveAll) {\n message\n }\n}"},30271(e,t,o){o.d(t,{$D:()=>r,I0:()=>l,iA:()=>a,vY:()=>s});var n=o(96472);const i=(e,t)=>Object.keys(e).filter(e=>Object.hasOwnProperty.call(n.Ni,e)).map((o,i)=>
472{const r=t(o,e[o],i);return`\n @media (min-width: ${n.Ni[o][0]}) {\n ${r}\n }\n `}),r=({isFirstItem:e,isLastItem:t,itemSpacing:o})=>"string"==typeof o?e?`margin: 0 ${o} 0 0;`:t?`margin: 0 0 0 ${o};`:`margin: 0 ${o};`:i(o,(o,n)=>r({isFirstItem:e,isLastItem:t,itemSpacing:n})).join("\n"),a=({itemWidth:e})=>"string"==typeof e?`width: ${e};`:i(e,(e,t)=>a({itemWidth:t})).join("\n"),l=(e,t)=>!t&&e.scrollLeft<=e.scrollWidth-e.offsetWidth+1&&e.scrollLeft>=e.scrollWidth-e.offsetWidth-1,s=(e,t)=>!t&&0===e.scrollLeft},32925(e,t,o){o.d(t,{W:()=>i,f:()=>n});const n={IMAGES:"/account/saved/images",PRODUCTS:"/account/saved/products",BOARDS:"/account/saved/boards",SAVED:"/account/saved"},i={GO_TO_BOARDS:"Go to boards",VIEW_ALL:"View All"}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.