1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[65815],{25060:(e,t,r)=>{r.d(t,{qn:()=>G,Yo:()=>_,xM:()=>C,Mj:()=>S,KU:()=>j,dK:()=>Y,hU:()=>p,Wk:()=>O,s7:()=>w,w1:()=>A,Vp:()=>v,W4:()=>y,gy:()=>F,P8:()=>k,Nd:()=>x,vm:()=>P,kS:()=>z,xF:()=>f});var a=r(93682),i=r(38536),l=r(28270),o=r(26282),n=r(42783),u=r(1873),s=r(61546),g=r(64781),c=r(9954),d=r(98219);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach(function(t){(0,a.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f={margin:"0.26rem 1.5rem 0.26rem 0.26rem",height:"iconSize.xs",width:"iconSize.xs"},p=(0,i.A)("button",{target:"evxjjlz16"})((0,l.Ay)("gift-lab-search-inner-close-button",{border:0,background:"none",padding:0,margin:0,display:"flex",alignItems:"center",cursor:"pointer","&:focus-visible":{outline:"outline-focus-black",outlineOffset:"outlineOffset.outline-offset-lg"}}),""),b={mr:{_:"{*sizes.primitive-6}",lg:"xs"},width:{_:"1.25rem",lg:"1.5rem"},height:{_:"1.25rem",lg:"1.5rem"}},y=(0,i.A)("div",{target:"evxjjlz15"})((0,l.Ay)("gift-lab-search-wrapper",{background:"#e8ebec",borderRadius:{_:"unset",lg:"0.75rem"},display:"flex",flexDirection:"column",gap:{_:"1.5rem",lg:"2rem"},padding:{_:"2rem 0 2rem {m}",lg:"2rem 2.75rem"},m:{_:"0 -{mobileOuterGutter} 2.37rem -{mobileOuterGutter}",md:"0 -{tabletOuterGutter} 2.37rem -{tabletOuterGutter}",sm:"0 -{tabletOuterGutter} 2.37rem -{tabletOuterGutter}",lg:"0 0 2.37rem 0"},'[data-theme-key="search-input-container"]':{gap:"0.5rem",flexDirection:{_:"column",lg:"row"},'[data-theme-key="button-primary"]':{borderRadius:"1.8125rem",border:"1px solid #6E56CF",backgroundColor:"brandColorQuinary",height:"3rem",width:{_:"100%",lg:"12.25rem"},"&:hover":{backgroundColor:"black"}}},'[data-theme-key="form-input-wrapper"]':{borderRadius:"1.58481rem",border:"2px solid #125C68",height:"100%",img:{ml:"1.62rem",filter:"brightness(0) saturate(100%) invert(14%) sepia(10%) saturate(2000%) hue-rotate(1deg) brightness(95%) contrast(90%)"},"& ::placeholder":{color:"greyDark",fontSize:"font-size-18",fontStyle:"italic"},input:{borderTopRightRadius:"1.58481rem",borderBottomRightRadius:"1.58481rem",fontSize:"1.125rem",paddingLeft:"0.25rem",marginLeft:"0.25rem"}},'[data-theme-key="form-input-field"]':{"&::-webkit-search-cancel-button":{"-webkit-appearance":"none",appearance:"none",display:"none"}},'[data-theme-key="search-input-and-overlay-wrapper"]':{height:"3rem",width:{_:"100%",lg:"36.6rem"}},'[data-theme-key="search-input-button-text"]':{display:"inline-block",fontFamily:"var(--type-font-family-secondary)",fontSize:"0.95rem"},'[data-theme-key="search-input-button-icon"]':{display:"none"},'[data-theme-key="button-primary"]':{borderRadius:"1.4375rem",fontFamily:"var(--type-font-family-secondary)",fontSize:{_:"0.75rem",lg:"1rem"},letterSpacing:"0.05rem",lineHeight:"lineheight-sm"}}),""),v=(0,i.A)("div",{target:"evxjjlz14"})((0,l.Ay)("gift-lab-search-header-container",{paddingRight:{_:"{m}",lg:"0"},width:"100%"}),""),A=(0,i.A)("header",{target:"evxjjlz13"})((0,l.Ay)("gift-lab-search-header",{fontFamily:"var(--type-font-family-primary)",fontSize:{_:"font-size-24",lg:"font-size-32"},fontWeight:"bold"}),""),w=(0,i.A)("form",{target:"evxjjlz12"})((0,l.Ay)("gift-lab-search-container"),""),x=(0,i.A)("div",{target:"evxjjlz11"})((0,l.Ay)("gift-lab-shortcut-button-wrapper",{display:"flex",gap:{_:"0.5rem",lg:"1rem"},marginLeft:{_:"-{m}",lg:0},overflowX:"auto",padding:{_:"0 {m}",lg:"0"},scrollbarWidth:"none",whiteSpace:"nowrap"}),""),k=(0,i.A)(o.A,{target:"evxjjlz10"})((0,l.Ay)("gift-lab-shortcut-button",{border:"1px solid #dddde3",backgroundColor:"white",borderRadius:"1rem",padding:{_:"0.5rem 0.75rem",lg:"0.5rem 1rem"}}),""),j=(0,i.A)(n.A,{target:"evxjjlz9"})((0,l.Ay)("gift-lab-gift-regular-button-icon",m({primary:["#4FC3F7","white"]},b)),""),z=(0,i.A)(d.A,{target:"evxjjlz8"})((0,l.Ay)("gift-lab-sparkle-button-icon",m({primary:["#FFB74D","white"]},b)),""),S=(0,i.A)(function(e){return(0,c.Y)(g.default,(0,u.A)({type:s.PV.Stylized,relativeUrl:"static/icons/game-controller-regular.svg",alt:"Game Controller Regular",width:24,height:24},e))},{target:"evxjjlz7"})((0,l.Ay)("gift-lab-game-controller-button-icon",m({primary:["#DF3D64","white"]},b)),""),O=(0,i.A)(function(e){return(0,c.Y)(g.default,(0,u.A)({type:s.PV.Stylized,relativeUrl:"static/icons/pinwheel-regular.svg",alt:"Pinwheel Regular",width:24,height:24},e))},{target:"evxjjlz6"})((0,l.Ay)("gift-lab-pinwheel-button-icon",m({primary:["#81C784","white"]},b)),""),P=(0,i.A)(function(e){return(0,c.Y)(g.default,(0,u.A)({type:s.PV.Stylized,relativeUrl:"/static/icons/sketch-logo-regular.svg",alt:"Sketch L
1ogo Icon",width:24,height:24,primary:"black"},e))},{target:"evxjjlz5"})((0,l.Ay)("gift-lab-diamond-regular-icon",m({},b)),""),C=(0,i.A)(function(e){return(0,c.Y)(g.default,(0,u.A)({type:s.PV.Stylized,relativeUrl:"/static/icons/dress-regular.svg",alt:"Dress Icon",width:24,height:24,primary:"black"},e))},{target:"evxjjlz4"})((0,l.Ay)("gift-lab-dress-regular-icon",m({},b)),""),F=(0,i.A)(function(e){return(0,c.Y)(g.default,(0,u.A)({type:s.PV.Stylized,relativeUrl:"/static/icons/shirt-folded-regular.svg",alt:"Shirt Folded Icon",width:24,height:24,primary:"black"},e))},{target:"evxjjlz3"})((0,l.Ay)("gift-lab-shirt-folded-regular-icon",m({},b)),""),G=(0,i.A)(function(e){return(0,c.Y)(g.default,(0,u.A)({type:s.PV.Stylized,relativeUrl:"/static/icons/baby-regular.svg",alt:"Baby Icon",width:24,height:24,primary:"black"},e))},{target:"evxjjlz2"})((0,l.Ay)("gift-lab-baby-regular-icon",m({},b)),""),_=(0,i.A)(function(e){return(0,c.Y)(g.default,(0,u.A)({type:s.PV.Stylized,relativeUrl:"/static/icons/coffee-regular.svg",alt:"Coffee Icon",width:24,height:24,primary:"black"},e))},{target:"evxjjlz1"})((0,l.Ay)("gift-lab-coffee-regular-icon",m({},b)),""),Y=(0,i.A)(function(e){return(0,c.Y)(g.default,(0,u.A)({type:s.PV.Stylized,relativeUrl:"/static/icons/highlighter-circle-regular.svg",alt:"Highlighter Circle Icon",width:24,height:24,primary:"black"},e))},{target:"evxjjlz0"})((0,l.Ay)("gift-lab-highlighter-circle-regular-icon",m({},b)),"")},42783:(e,t,r)=>{r.d(t,{A:()=>n});var a=r(1873),i=r(61546),l=r(64781),o=r(9954);let n=function(e){return(0,o.Y)(l.default,(0,a.A)({type:i.PV.Stylized,relativeUrl:"static/icons/gift-regular.svg",alt:"Gift Regular",width:24,height:24},e))}},57387:(e,t,r)=>{r.d(t,{A$:()=>a,Zp:()=>n,ks:()=>l,p3:()=>i,w:()=>o});let a="https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/gh-gift-lab-header-image-67193ec291abb.jpg?format=jpg",i="gift lab",l="My dad who loves grilling",o={metadata:{crops:{"1x1":"1.00xw:0.676xh;0,0.324xh","10x2":"1.00xw:0.453xh;0,0.451xh","10x3":"1.00xw:0.676xh;0,0.324xh","10x5":"1.00xw:0.752xh;0,0.248xh"}}},n="Tell us who you're shopping for, and our new AI-assisted gift search tool will browse through all of Good Housekeepingâs gift guides to quickly suggest the best ideas from our experts. (FYI: This tool is currently in beta â the more you use it, the smarter it gets!)"},82234:(e,t,r)=>{r.d(t,{A:()=>d});var a=r(71055),i=r(43948),l=r(88250),o=r(59115),n=r(53225),u=r(25060),s=r(57387),g=r(72635),c=r(9954);let d=function({searchInputValue:e,onInputChange:t,onClearSearch:r,onSubmit:d,showLoadingButton:h,searchInputPlaceholder:m}){let f=(0,a.useRef)(null);(0,a.useEffect)(()=>{f.current&&f.current.value!==e&&(f.current.value=e||"")},[e]);let p=(0,a.useCallback)(e=>{t(e.target.value)},[t]),b=(0,a.useCallback)(()=>{f.current&&(f.current.value="",f.current.focus()),r()},[r]),y=(0,a.useCallback)(e=>{e.preventDefault(),d(e,"",f.current?.value||"")},[d]),v=e&&(0,c.Y)(u.hU,{type:"button",onClick:b,"aria-label":"clear input"},(0,c.Y)(i.iy,{sx:u.xF,"aria-hidden":"true"})),A=(0,n._P)("fre.show-magnifying-glass-icon-only");return(0,c.Y)(u.s7,{onSubmit:y},(0,c.Y)(o.A,{inputRef:f,inputText:e||"",searchLabel:l.No.TITLE,elementFirst:(0,c.Y)(i.WI,{"aria-hidden":"true"}),elementLast:v,onInputChange:p,placeholder:(0,g.I)(m)?s.ks:m,searchText:h?l.No.LOADING:l.No.BUTTON,isButtonDisabled:h,"data-vars-ga-name":"gift-lab-search-field",buttonProps:{"data-vars-ga-name":"gift-lab-search-button"},hasIconButton:A}))}},88250:(e,t,r)=>{r.d(t,{GH:()=>l,No:()=>i,ZP:()=>o});var a=r(25060);let i={BUTTON:"SHOW GIFT IDEAS",LOADING:"Loading...",PLACEHOLDER:"My dad who loves grilling",TITLE:"Find me a gift for"},l={"Gifts For Him":"Gift","Gifts For Her":"Sparkle","Gifts For Teens":"GameController","Gifts For Kids":"Pinwheel"},o={Gift:a.KU,Sparkle:a.kS,GameController:a.Mj,Pinwheel:a.Wk,SketchLogo:a.vm,Dress:a.xM,ShirtFolded:a.gy,Baby:a.qn,Coffee:a.Yo,HighlighterCircle:a.dK}},97958:(e,t,r)=>{r.d(t,{A:()=>c});var a=r(800),i=r(88250),l=r(25060),o=r(1873),n=r(13384),u=r(61546),s=r(9954);function g({label:e,icon:t,onShortcutButtonClick:r}){let{isSecondaryImage:a,secondaryImageProps:i}=(0,n.p)(u.Ru.Hover);return(0,s.Y)(l.P8,(0,o.A)({elementFirst:t?(0,s.Y)(t,{displaySecondaryImage:a,eventType:u.Ru.Hover}):null},i,{onClick:r}),e)}function c({handleClick:e}){let{giftShortcutsLabels:t=i.GH,giftShortcutsLabelsPosition:r=null}=(0,a.BV)("layoutContextProps.siteData.metadata.commerce.productExplorer",{}),o=Object.entries(t),n=e=>Number(r?.[e]??1/0),u=r?o.slice().sort(([e],[t])=>{let r=n(e),a=n(t);return r===a?e.localeCompare(t):r-a}):o;return(0,s.Y)(l.Nd,null,u.map(([t,r])=>(0,s.Y)(g,{key:t,label:t,icon:i.ZP[r]||l.kS,onShortcutButtonClick:()=>e(t)})))}}}]);
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.