PageSourceSearch

https://www.nuanceaudio.com/_next/static/chunks/pages/hearing-glasses-06528861349260dc.js

js nuanceaudio.com collected 2026-09-24 18:21:09 UTC 58,588 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9129],{37886:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/hearing-glasses",function(){return t(92197)}])},2212:function(e,r,t){"use strict";t.d(r,{Z:function(){return D}});var l=t(85893),a=t(67294),n=t(653),i=t(5152),o=t.n(i),s=t(14416),c=t(18001),d=t(65474),u=t(30434),p=t(3954),m=t(95089),h=t(67814),_=t(6187),f=t(40514),g=t(61876),v=t(92186);let b=(0,g.createAsyncThunk)("error/resetSessionError",async(e,r)=>{let{dispatch:t,getState:l}=r,a=l(),n=await (0,_.Yz)(a);if(n.errorKey||n.errorCode){let e={...f.aP.error};t((0,v.Rn)(e))}});var x=t(2351),y=t(4310),C=t(94252),N=t(72784),j=t(72418),P=t(4598),w=t(14805),S=t(71143),I=t(61286);let F=(0,g.createAsyncThunk)("user/updateUserFromStorage",async(e,r)=>{let{dispatch:t,getState:l,rejectWithValue:a}=r;try{let e=S.Mw.getCurrentUserAndLoadAccount();if(e&&e.forUserId)return;let r=l(),a=(0,x.dC)(r);e&&e.lastUpdated&&(!a||a<e.lastUpdated)&&(t((0,w.oc)(e)),t(e.isGuest?(0,w.UP)(null):(0,w.Wx)(null)),t((0,j.L)()),t((0,P.W)()),t((0,N.l)()));return}catch(e){return I.Z.error("error: "+e),a(e)}});var L=t(92510),T=t(97388),k=t(57905),E=t(38749),B=t(9669),A=t.n(B),R=t(73707),Z=t(11163),V=t(34022);let M=e=>{var r;let{children:t,isChatButtonVisible:n}=e,[i,o]=(0,a.useState)(!1),c=M.name,f=(0,s.useDispatch)(),g=(0,Z.useRouter)(),{mySite:v}=(0,d.W4)(),N=null===(r=g.locale)||void 0===r?void 0:r.toLowerCase(),{i18n:j}=(0,R.$G)(),P=A().CancelToken,w=[],B=(0,k.bf)()[0],O=(0,s.useSelector)(T.S4),H=p.Wm.localeLangMap.find(e=>{let{currentLangCode:r}=(0,E.iV)("",e.langCode);return N===r}),D=(0,s.useSelector)(x.Zg),U=(0,s.useSelector)(_.Yz,s.shallowEqual),W=(0,s.useSelector)(_.Ao),G={cancelToken:new P(function(e){w.push(e)})};return(0,a.useEffect)(()=>{O&&(0,L.W)(v)},[D,B,O]),(0,a.useEffect)(()=>{if(i||U.errorKey!==m.gP&&U.errorCode!==m.rS&&W.errorKey!==m.o0){if(U.errorKey===m.xE){let e={...G};f(b()),f((0,y.k)(e))}}else{let e={...G};o(!0),f(b()),f((0,y.k)(e))}},[U,W]),(0,a.useEffect)(()=>{let e;return i&&!D&&(e=setTimeout(()=>{let e=(0,_.Yz)({error:W,sessionError:U}),r=(0,_.Ao)({error:W,sessionError:U});e.errorKey||e.errorCode||Object.keys(r).length>0?(o(!1),g.push("/".concat(h.OT,"?sessionExpired=true"))):o(!1)},100)),()=>clearTimeout(e)},[i,D,g,U,W]),I.Z.info("StoreAppContainer"),(0,a.useEffect)(()=>{let e=[],r={widget:c,storeId:v.storeID,cancelToken:new P(r=>{e.push(r)})};return H&&v&&(I.Z.info("INIT STATE FROM STORAGE SITE"),f((0,C.U)(r)),S.Mw.triggerUserStorageListener(()=>f(F(r)))),()=>{e.forEach(e=>e())}},[v,f,j,c,P,N]),I.Z.info("App routing setup in StoreAppContainer, selected country: ",N),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(u.p,{}),(0,l.jsx)(V.Z,{isChatButtonVisible:n,children:t})]})},O=o()(()=>t.e(5571).then(t.bind(t,45571)),{loadableGenerated:{webpack:()=>[45571]},ssr:!1}),H=o()(()=>t.e(2502).then(t.bind(t,22502)),{loadableGenerated:{webpack:()=>[22502]},ssr:!1});var D=e=>{let{children:r,isChatButtonVisible:t}=e,i=(0,s.useDispatch)(),{mySite:o}=(0,d.W4)();return(0,n.w)(),(0,a.useEffect)(()=>{let e=null==o?void 0:o.storeID;e&&i((0,c.I)({storeId:e}))},[i,null==o?void 0:o.storeID]),I.Z.info("App start in App.tsx"),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(H,{mySite:o}),(0,l.jsx)(M,{isChatButtonVisible:t,children:r}),(0,l.jsx)(O,{})]})}},30434:function(e,r,t){"use strict";t.d(r,{p:function(){return u}});
1var l=t(34357),a=t(67814),n=t(61286),i=t(15859),o={checkMaintenanceStatus:async()=>{try{return(await fetch("".concat(i.Z.transactionHost).concat(i.Z.maintenanceServiceUrl),{credentials:"include"})).status}catch(e){return n.Z.error("Error on retrieving maintenance status - ".concat(i.Z.maintenanceServiceUrl),e),500}}},s=t(45524),c=t(11163),d=t(67294);let u=e=>{let{fromCourtesy:r}=e,t=(0,d.useRef)(null),n=(0,c.useRouter)();return(0,d.useEffect)(()=>(t.current=window.setInterval(async()=>{let e=await o.checkMaintenanceStatus();e===l.default.maintenanceStatus&&n.push(a.Dc),r&&e===s.OK&&n.back()},6e4),()=>{t.current&&clearInterval(t.current)}),[n,r]),null}},47694:function(e,r){"use strict";r.Z=e=>{let{plpCommerce:r}=e;return{placementsPlpCommerce:(null==r?void 0:r.commercePlacements)||[],plpDescription:(null==r?void 0:r.PLPDescription)||{numFound:0,result:[]}}}},45337:function(e,r,t){"use strict";t.d(r,{V:function(){return c}});var l=t(85893),a=t(18320),n=t(26263),i=t(9008),o=t.n(i),s=e=>{let{hrefLangs:r}=e;return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(o(),{children:r.map(e=>{let{locale:r,href:t}=e;return(0,l.jsx)("link",{rel:"alternate",hrefLang:r,href:t},r)})})})};t(67294);let c=e=>{let{title:r,description:t,url:i,hrefLagList:o}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a.Z,{title:r,description:t}),(0,l.jsx)(n.J,{title:r,description:t,url:i}),o&&(0,l.jsx)(s,{hrefLangs:o})]})}},21728:function(e,r,t){"use strict";t.d(r,{z:function(){return n}});var l=t(47210),a=t(31086);let n=e=>{let{rest:r,siteDataRes:t,locale:n,preFooter:i}=e,{store:o}=a.Z.useWrappedStore(r),s=o.getState(),c=(null==n?void 0:n.toLowerCase())===(null==t?void 0:t.locale.toLowerCase());s.cms.footer&&c||o.dispatch((0,l.jm)(i))}},61434:function(e,r,t){"use strict";t.d(r,{n:function(){return i}});var l=t(85893),a=t(98840),n=t(4997);t(67294);let i=e=>r=>{let{height:t,...i}=r,{isRouterChange:o}=(0,a.l)();return o?(0,l.jsx)(n.Z,{height:t}):(0,l.jsx)(e,{...i})}},6691:function(e,r,t){"use strict";t.d(r,{RA:function(){return s},S$:function(){return o},eC:function(){return c},kw:function(){return i}});let l="Rialto",a="San Marco",n={[l.toLowerCase()]:"Nuance Audio Plus",[a.toLowerCase()]:"Nuance Audio Glasses"},i=e=>{if(null==e||""===e.trim())return null;let r=e.trim(),t=r.toLowerCase().replace(/\s+/g," ");return t===l.toLowerCase()||"nuance audio plus"===t?l:t===a.toLowerCase()||"nuance audio glasses"===t?a:r},o=e=>i(null!=e?e:null)===l,s=e=>{if(!e)return!1;let r=e.toLowerCase().replace(/\s+/g," ").trim();return!!(r.includes("rialto")||r.includes("nuance audio plus")||/\bplus\b/.test(r)&&/(audio|nuance|glasses)/.test(r))},c=e=>{var r;let t=i(e);return t?null!==(r=n[t.toLowerCase()])&&void 0!==r?r:t:e}},92197:function(e,r,t){"use strict";t.r(r),t.d(r,{__N_SSP:function(){return tA},default:function(){return tR}});var l=t(85893),a=t(21728),n=t(61434),i=t(67294),o=t(2212),s=t(16516),c=t(47694),d=t(45337),u=t(10429),p=t.n(u);function m(e){let{children:r}=e;return(0,l.jsx)("div",{className:"".concat(p().variable," ").concat(p().className),"data-testid":"app-wrapper","data-nua":"nua-app-wrapper",children:r})}var h=t(63448);h.Ry({uniqueId:h.Z_().min(1),identifier:h.Z_().nullable(),parentUniqueIds:h.IX(h.Z_())});let _=h.Ry({sortPrice:h.Rx(),newestSequence:h.Rx()}),f=h.Ry({frameType:h.Z_().nullable(),generation:h.Z_().nullable(),frameSize:h.Z_().nullable(),frameShape:h.Z_().nullable()}),g=h.Ry({url:h.Z_(),attachments:h.IX(h.Z_()),discountedPrice:h.Rx(),basePrice:h.Rx(),currency:h.Z_(),frameColor:h.Z_().nullable(),colorCode:h.Z_().nullable(),isNew:h.O7(),sort:_}),v=h.Ry({id:h.Z_(),partNumber:h.Z_(),productName:h.Z_(),brandName:h.Z_(),modelName:h.Z_(),buyable:h.O7(),modelCodeDisplay:h.Z_().nullable(),catalogFilterFacets:f,colorVariants:h.IX(g).min(1)}),b=h.Ry({label:h.Z_(),url:h.Z_()});h.Ry({breadcrumbs:h.IX(b),items:h.IX(v)});let x=()=>null,y=e=>{let r;return async t=>{let l=x();if(!l)return e(t);if(!r)try{r=l(e)}catch{r=e}try{return await r(t)}catch{return e(t)}}},C="phase-production-build"===t(34155).env.NEXT_PHASE;class N extends Error{constructor(e,r,t){super(t),this.name="BuildError",this.kind=e,this.locale=r}}let j=(e,r,t,l)=>{let a=t?t.map(e=>"  - Field: ".concat(e.path.join("."),"\n    Issue: ").concat(e.message)).join("\n"):"",n="\n    \uD83D\uDEA8 Build Error: ".concat(e," \uD83D\uDEA8\n    -----------------------------------\n    The ").concat(e.toLowerCase(),' for locale "').concat(r,'" ').concat(t?"was retrieved, but contains invali
1d or unexpected values":"could not be retrieved",".\n    This is a critical issue that needs to be resolved before deployment.").concat(t?"\n    Validation Errors:\n".concat(a,"\n"):"").concat(l?"\n    Details:\n".concat(l,"\n"):"",'\n    Possible Solutions:\n    1. Check the CMS or data source for incorrect or missing fields.\n    2. Ensure the API response matches the expected schema.\n    3. Review the validation error messages above for specific issues.\n    4. Verify that the locale "').concat(r,'" is correctly set and supported.\n    5. Check the network connection and API endpoints for any issues.\n    6. Ensure that your VPN is active and properly configured.\n  ');return new N(e,r,n)},P=function(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{TAGS:{[e.toUpperCase()]:"".concat(e,"-data")},REVALIDATE:r,HEADERS:{"Content-Type":"application/json"}}},w=function(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{next:{tags:e,revalidate:r},headers:{"Content-Type":"application/json"}}},S=e=>({ok:!0,data:e}),I=e=>({ok:!1,error:e}),F=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8;return e.slice(0,r).map(e=>({path:e.path.join("."),code:e.code,message:e.message}))},L=e=>{console.error("Product data could not be loaded.",e)};async function T(e){let{locale:r,request:t,schema:l,map:a,messages:n,getNetworkErr:i}=e;try{let e=await t(),i=await e.json(),o=l.safeParse(i);if(!o.success){let e={kind:n.invalidKind,message:n.validationErr,issues:F(o.error.issues)};if(L({...e,locale:r}),C)throw j(n.invalidKind,r,o.error.issues);return I(e)}return S(a(o.data))}catch(t){if(t instanceof N)throw t;let e={kind:n.missingKind,message:i(t)};if(L({...e,locale:r}),C)throw j(n.missingKind,r,void 0,t instanceof Error?t.message:String(t));return I(e)}}let k=(e,r,t)=>{let l=e.replace(/\/api\/v2\/?$/,"");return"".concat(l,"/store/").concat(encodeURIComponent(r),"/categoryview/").concat(encodeURIComponent(t))},E="https://api-live.nuanceaudio.com/search/resources/api/v2",B="".concat(E,"/products"),A=(e,r)=>k(E,e,r),R=(e,r)=>(Array.isArray(e)?e:e?[e]:[]).flatMap(e=>e.split("/").filter(Boolean)).filter(e=>e!==r),Z=e=>{var r;let t=e.catalogGroupView[0];if(!t)throw Error("No catalog group in categoryview");return{uniqueId:t.uniqueID,identifier:null!==(r=t.identifier)&&void 0!==r?r:null,parentUniqueIds:R(t.parentCatalogGroupID,t.uniqueID)}},V=h.G0([h.Z_(),h.IX(h.Z_())]),M=h.Ry({catalogGroupView:h.IX(h.Ry({uniqueID:h.Z_().min(1),identifier:h.Z_().optional(),parentCatalogGroupID:V.optional()})).min(1)}),O=P("category-view");y(async e=>{let{locale:r,storeId:t,identifier:l}=e,a=A(t,l);return T({locale:r,request:()=>fetch(a,{...w([O.TAGS["CATEGORY-VIEW"],"category-view-".concat(r,"-").concat(t,"-").concat(l)],O.REVALIDATE)}),schema:M,map:Z,messages:{validationErr:"Category view validation failed for locale ".concat(r," identifier ").concat(l),invalidKind:"Category View Invalid",missingKind:"Error fetching category view"},getNetworkErr:e=>"Failed to fetch category view for locale ".concat(r," identifier ").concat(l,": ").concat(e instanceof Error?e.message:String(e))})});var H=t(6691);let D="Prescription",U="Non-prescription",W=e=>{if(null==e||""===e)return null;let r=e.trim().toLowerCase();return"true"===r||"yes"===r||"1"===r?D:"false"===r||"no"===r||"0"===r?U:r.includes("prescription")&&!r.includes("non")?D:r.includes("non-prescription")||r.includes("non prescription")?U:e.trim()},G=(e,r)=>{var t;let l=null===(t=e.find(e=>(null==e?void 0:e.name)===r))||void 0===t?void 0:t["attribute.natural"];if(null==l||""===l)return null;let a=l.trim();if(a.startsWith("["))try{let e=JSON.parse(a);if(Array.isArray(e)&&e.length>0){let r=e[0];return"string"==typeof r?r.trim()||null:String(r)}}catch{}return a},q=e=>{var r,t;return null!==(t=null!==(r=G(e,"ML_FRAME_COLOR"))&&void 0!==r?r:G(e,"FRONT_COLOR_FACET"))&&void 0!==t?t:G(e,"FRONT_COLOR")},X=e=>{let r=G(e,"FRAME_SHAPE");return{frameType:W(G(e,"ROXABLE")),generation:(0,H.kw)(G(e,"BADGE_CHANNEL")),frameSize:G(e,"FRAME_SIZE_DISPLAY"),frameShape:r}},Y=(e,r)=>"generation"===e?(0,H.eC)(r):r,z=e=>{if(void 0===e||""===e)return Number.POSITIVE_INFINITY;let r=Number.parseFloat(e);return Number.isFinite(r)?r:Number.POSITIVE_INFINITY},K=e=>{if(void 0===e||""===e)return Number.POSITIVE_INFINITY;let r=Number.parseFloat(e);return Number.isFinite(r)?r:Number.POSITIVE_INFINITY},J=e=>({sortPrice:z(e.x_sort_price),newestSequence:K(e.x_newest_sequence)}),$=e=>{if(void 0===e||""===e)return;let r=Number.parseFloat(e);return Number.isFinite(r)&&r>0?r:void 0},Q=e=>{var r,t,l,a,n,i;let o=$(null===(t=e.xPrices)||void 0===t?void 0:null===(r=t.list)||void 0===r?void 0:r.price),s=$(null===(a=e.xPrices)||void 0===a?void 0:null===(l=a.offer)||void 0===l?void 0:l.price);if(void 0!==o)return{basePrice:o,discountedPrice:null!=s?s:o,currency:(null===(i=e.xPrices)||void 0===i?void 0:null===(n=i.list)||void 0===n?void 0:n.currency)||e.currency};let c=e.displayPrice>0?e.displayPrice:0,d=void 0!==e.offerPrice&&e.offerPrice>0?e.offerPrice:void 0;return{basePrice:c,discountedPrice:null!=d?d:c,currency:e.currency}},ee=(e,r)=>{var t,l,a;let n=e.find(e=>(null==e?void 0:e.name)===r||(null==e?void 0:e.identifier)===r);if(!n)return null;let i=G([{name:r,"attribute.natural":n["attribute.natural"]}],r);return i&&"[]"!==i?i:(null===(a=n.values)||void 0===a?void 0:null===(l=a[
10])||void 0===l?void 0:null===(t=l.value)||void 0===t?void 0:t.trim())||null},er=e=>{let r=e.lastIndexOf("__");return -1===r?null:e.slice(r+2).trim()||null},et=(e,r)=>{var t;return null!==(t=ee(e,"COLOR_CODE"))&&void 0!==t?t:er(r)},el=e=>{var r;let t=null!==(r=e.attachments)&&void 0!==r?r:[],l=t.filter(e=>"PLP"===e.usage);return(l.length?l:t.filter(e=>"PDP"===e.usage)).sort((e,r)=>e.sequence-r.sequence).map(e=>e.attachmentAssetPathRaw)},ea=(e,r)=>{var t;let l=e.sKUs[0];if(!l)return null;let a=l.attributes,n=r.price.find(e=>"Display"===e.usage),i=r.price.find(e=>"Offer"===e.usage),{basePrice:o,discountedPrice:s,currency:c}=Q({displayPrice:(null==n?void 0:n.value)||0,offerPrice:null==i?void 0:i.value,currency:(null==n?void 0:n.currency)||"USD",xPrices:e.x_prices});return{url:l.seo.href||"",attachments:el(e),discountedPrice:s,basePrice:o,currency:c,frameColor:q(a),colorCode:et(a,e.name||r.partNumber),isNew:(null===(t=G(a,"IS_NEW"))||void 0===t?void 0:t.toLowerCase())==="true",sort:J(e)}},en=e=>({breadcrumbs:e.breadCrumbTrailEntryView.map(e=>{var r;return{label:e.label,url:(null===(r=e.seo)||void 0===r?void 0:r.href)||""}}),items:e.contents.map(e=>{var r;let t=e.cluster[0];if(!t)throw Error("No clusters found for product id=".concat(e.id," partNumber=").concat(e.partNumber));let l=t.sKUs[0];if(!l)throw Error("No SKUs found for product id=".concat(e.id," partNumber=").concat(e.partNumber));let a=l.attributes,n=G(a,"FRAME_SHAPE"),i=G(a,"BRAND"),o=null!==(r=G(a,"MODEL_NAME"))&&void 0!==r?r:n;if(!n)throw Error("No FRAME_SHAPE attribute found for product id=".concat(e.id," partNumber=").concat(e.partNumber));if(!i)throw Error("No BRAND attribute found for product id=".concat(e.id," partNumber=").concat(e.partNumber));if(!o)throw Error("No MODEL_NAME attribute found for product id=".concat(e.id," partNumber=").concat(e.partNumber));let s=e.cluster.map(r=>ea(r,e)).filter(e=>null!=e);if(0===s.length)throw Error("No clusters found for product id=".concat(e.id," partNumber=").concat(e.partNumber));return{id:e.id,partNumber:e.partNumber,productName:n.replace(/[^A-Za-z\s]/g,""),brandName:i.replace(/[^A-Za-z\s]/g,""),modelName:o.replace(/[^A-Za-z\s]/g,""),buyable:e.buyable,modelCodeDisplay:ee(a,"MODEL_CODE_DISPLAY"),catalogFilterFacets:X(a),colorVariants:s}})}),ei=h.Ry({price:h.Z_(),currency:h.Z_().optional(),startDate:h.Z_().optional(),endDate:h.Z_().optional(),priority:h.Z_().optional()}),eo=h.Ry({breadCrumbTrailEntryView:h.IX(h.Ry({label:h.Z_(),type_:h.Z_(),value:h.Z_(),seo:h.Ry({href:h.Z_()}).optional()})),contents:h.IX(h.Ry({id:h.Z_(),partNumber:h.Z_(),name:h.Z_(),buyable:h.dj(e=>"string"==typeof e?"true"===e.toLocaleLowerCase():"boolean"==typeof e&&e,h.O7()),cluster:h.IX(h.Ry({name:h.Z_(),x_sort_price:h.Z_().optional(),x_newest_sequence:h.Z_().optional(),x_prices:h.Ry({list:ei.optional(),offer:ei.optional()}).optional(),sKUs:h.IX(h.Ry({seo:h.Ry({href:h.Z_()}),attributes:h.IX(h.Yj())})),attachments:h.IX(h.Ry({usage:h.Km(["PDP","PLP","Thumbnail","ColorSelector"]),attachmentAssetPathRaw:h.Z_(),sequence:h.dj(e=>"string"==typeof e?parseInt(e,10):"number"==typeof e?e:0,h.Rx())})).optional()})),price:h.IX(h.Ry({usage:h.Km(["Display","Offer"]),value:h.dj(e=>null==e||""===e?0:"string"==typeof e?parseFloat(e):e,h.Rx()),currency:h.Z_()}))})),previous:h.Z_(),total:h.Rx()}),es=P("search-products"),ec=(e,r,t,l)=>new URLSearchParams({_fields:"facetView",categoryId:e.categoryId,contractId:e.contractId,currency:l,limit:String(e.limit),offset:String(e.offset),orderBy:"6",profileName:e.profileName,storeId:r,langId:t}).toString();y(async e=>{let{locale:r,storeId:t,langId:l,listing:a,currency:n}=e,i=ec(a,t,l,n);return T({locale:r,request:()=>fetch("".concat(B,"?").concat(i),{...w([es.TAGS["SEARCH-PRODUCTS"],"search-products-".concat(r)],es.REVALIDATE)}),schema:eo,map:en,messages:{validationErr:"Search products validation failed for locale ".concat(r),invalidKind:"Search Products Invalid",missingKind:"Error fetching search products"},getNetworkErr:e=>"Failed to fetch search products for locale ".concat(r,": ").concat(e instanceof Error?e.message:String(e))})});let ed=["frameType","generation","frameColor","frameShape"],eu={},ep=e=>ed.reduce((r,t)=>{var l,a;return r+(null!==(a=null===(l=e[t])||void 0===l?void 0:l.length)&&void 0!==a?a:0)},0),em=e=>ep(e)>0,eh=e=>{let r={};for(let t of ed){let l=e[t];(null==l?void 0:l.length)&&(r[t]=[...l])}return r},e_=(e,r,t)=>ef(e,r,t),ef=(e,r,t)=>{var l;let a=[...null!==(l=e[r])&&void 0!==l?l:[]],n=a.indexOf(t);if(n>=0?a.splice(n,1):a.push(t),0===a.length){let{[r]:t,...l}=e;return l}return{...e,[r]:a}},eg=(e,r,t)=>{if("frameColor"===r)return e.colorVariants.some(e=>null!=e.frameColor&&t.includes(e.frameColor));let l=e.catalogFilterFacets[r];return null!=l&&t.includes(l)},ev=(e,r)=>{if(!r)return e;let t=ed.filter(e=>{var t,l;return(null!==(l=null===(t=r[e])||void 0===t?void 0:t.length)&&void 0!==l?l:0)>0});return 0===t.length?e:e.filter(e=>t.every(t=>eg(e,t,r[t])))},eb={},ex=e=>[...e].sort((e,r)=>e.localeCompare(r,void 0,{sensitivity:"base"})),ey=function(e,r){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:eb;if(!(null==e?void 0:e.length))return[];let l=Object.fromEntries(ed.map(e=>[e,new Set]));for(let r of e){if("product"!==r.kind)continue;let e=r.data.catalogFilterFacets;for(let t of ed){if("frameColor"===t){for(let e of r.data.colorVariants)e.frameColor&&l.frameColor.add(e.frameColor);continue}let a=e[t];a&&l[t].add(a)}}return ed.flatMap(e=>{let a=ex(l[e]);return 0===a.length?[]:[{key:e,title:r[e],note:t[e],options:a.map(r=>({key:e,value:r,label:Y(e,r)}))}]})},eC=(e,r)=>{let t=new Map(r.flatMap(e=>e.options.map(e=>["".concat(e.key,":").concat(e.value),e.label]))),l=[];for(let r of ed){var a,n;for(let i of null!==(a=e[r])&&void 0!==a?a:[])l.push({key:r,value:i,label:null!==(n=t.get("".concat(r,":").concat(i)))&&void 0!==n?n:Y(r,i)})}return l},eN=(e,r)=>(null==e?void 0:e.length)?ev(e.filter(e=>"product"===e.kind).map(e=>e.data),r).length:0;var ej=t(80129),eP=t.n(ej);let ew=e=>{let{sort:r,filters:t}=e,l={};for(let e of(r&&(l.sort=r),ed)){let r=null==t?void 0:t[e];(null==r?void 0:r.length)&&(l[e]=[...r])}return l},eS=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=ew(r);if(0===Object.keys(t).length)return e;let l=eP().stringify(t,{addQueryPrefix:!0,indices:!1,arrayFormat:"repeat",encode:!1});return"".concat(e).concat(l)},eI=e=>null==e||""===e?[]:Array.isArray(e)?e:[e],eF=e=>decodeURIComponent(e.replace(/\+/g," ")).trim(),eL=(e,r)=>{let t=eF(r);if(!t)return null;switch(e){case"frameType":return W(t);case"generation":return(0,H.kw)(t);default:return t}},eT=e=>{let r={};for(let t of ed){let l=eI(e[t]).map(e=>eL(t,e)).filter(e=>null!=e),a=[...new Set(l)];a.length>0&&(r[t]=a)}return r}
1,ek=["price-asc","price-desc","newest"],eE=e=>{if(e)return ek.includes(e)?e:void 0},eB=e=>null!=e?e:"",eA={sortPrice:Number.POSITIVE_INFINITY,newestSequence:Number.POSITIVE_INFINITY},eR=e=>{var r,t;return null!==(t=null===(r=e.colorVariants[0])||void 0===r?void 0:r.sort)&&void 0!==t?t:eA},eZ=(e,r,t,l)=>e!==r?e-r:t-l,eV=(e,r)=>{let t=e.map((e,r)=>({item:e,index:r}));return t.sort((e,t)=>{let l=eR(e.item),a=eR(t.item);switch(r){case"price-asc":return eZ(l.sortPrice,a.sortPrice,e.index,t.index);case"price-desc":return eZ(a.sortPrice,l.sortPrice,e.index,t.index);case"newest":return eZ(a.newestSequence,l.newestSequence,e.index,t.index)}}),t.map(e=>{let{item:r}=e;return r})},eM=e=>{let{className:r}=e;return(0,l.jsxs)("svg",{className:r,viewBox:"0 0 16 16",width:16,height:16,"aria-hidden":"true",focusable:"false",children:[(0,l.jsx)("path",{d:"M8 0C3.58867 0 0 3.58867 0 8C0 12.4113 3.58867 16 8 16C12.4113 16 16 12.4113 16 8C16 3.58867 12.4113 0 8 0ZM8 14.6667C4.324 14.6667 1.33333 11.676 1.33333 8C1.33333 4.324 4.324 1.33333 8 1.33333C11.676 1.33333 14.6667 4.324 14.6667 8C14.6667 11.676 11.676 14.6667 8 14.6667Z",fill:"currentColor"}),(0,l.jsx)("path",{d:"M10.1953 4.862L8 7.05733L5.80467 4.862L4.862 5.80467L7.05733 8L4.862 10.1953L5.80467 11.138L8 8.94267L10.1953 11.138L11.138 10.1953L8.94267 8L11.138 5.80467L10.1953 4.862Z",fill:"currentColor"})]})},eO=e=>{let{className:r}=e;return(0,l.jsxs)("svg",{className:r,viewBox:"0 0 16 16",width:16,height:16,"aria-hidden":"true",focusable:"false",children:[(0,l.jsx)("path",{d:"M6.66667 1.66667V0.777667C6.66667 0.348333 6.31833 0 5.889 0H2.77767C2.34833 0 2 0.348333 2 0.777667V1.66667H0V3H2V3.889C2 4.31833 2.34833 4.66667 2.77767 4.66667H5.88867C6.31833 4.66667 6.66667 4.31833 6.66667 3.889V3H16V1.66667H6.66667ZM5.111 3.111H3.55533V1.55567H5.111V3.111Z",fill:"currentColor"}),(0,l.jsx)("path",{d:"M10.6667 6.44433C10.6667 6.015 10.3183 5.66667 9.889 5.66667H6.778C6.34833 5.66667 6 6.015 6 6.44433V7.33333H0V8.66667H6V9.55567C6 9.985 6.34833 10.3333 6.77767 10.3333H9.88867C10.3183 10.3333 10.6667 9.985 10.6667 9.55567V8.66667H16V7.33333H10.6667V6.44433ZM9.111 8.77767H7.55533V7.222H9.111V8.77767Z",fill:"currentColor"}),(0,l.jsx)("path",{d:"M14 12.111C14 11.6817 13.6517 11.3333 13.2223 11.3333H10.1113C9.68167 11.3333 9.33333 11.6817 9.33333 12.111V13H0V14.3333H9.33333V15.2223C9.33333 15.6517 9.68167 16 10.111 16H13.222C13.6517 16 14 15.6517 14 15.2223V14.3333H16V13H14V12.111ZM12.4443 14.4443H10.8887V12.8887H12.4443V14.4443Z",fill:"currentColor"})]})};var eH=t(73707);let eD=()=>{let{t:e}=(0,eH.$G)();return(0,i.useMemo)(()=>{let r=Object.fromEntries(ed.map(r=>[r,e("FilterBy.Sections.".concat(r))])),t=e("FilterBy.Notes.generation");return{label:e("FilterBy.Labels.filters"),title:e("FilterBy.Labels.filters"),close:e("FilterBy.Labels.close"),clearAll:e("FilterBy.Labels.clearAll"),seeResults:r=>e("FilterBy.Labels.seeResults",{total:r}),appliedSuffix:r=>e("FilterBy.Labels.filtersApplied",{count:r}),removeFilter:r=>e("FilterBy.Labels.removeFilter",{label:r}),sectionTitles:r,sectionNotes:t?{generation:t}:{}}},[e])};var eU=t(73901),eW=t.n(eU);let eG=e=>{let{items:r,appliedFilters:t,onFilterApply:a}=e,n=eD(),o=(0,i.useMemo)(()=>ey(r,n.sectionTitles,n.sectionNotes),[n,r]),s=(0,i.useMemo)(()=>eC(t,o),[t,o]);if(!em(t)||0===s.length)return null;let c=(e,r)=>{a(e_(t,e,r))};return(0,l.jsx)("div",{className:eW().root,children:(0,l.jsxs)("div",{className:eW().pillRow,children:[s.map(e=>(0,l.jsxs)("button",{type:"button",className:eW().pill,"aria-label":n.removeFilter(e.label),onClick:()=>c(e.key,e.value),children:[(0,l.jsx)("span",{className:eW().pillLabel,children:e.label}),(0,l.jsx)(eM,{className:eW().pillClearIcon})]},"".concat(e.key,":").concat(e.value))),(0,l.jsx)("button",{type:"button",className:eW().clearAllButton,onClick:()=>{a(eu)},children:n.clearAll})]})})};var eq=t(4464),eX=t.n(eq);let eY=e=>{let{items:r}=e,{t}=(0,eH.$G)();return(0,l.jsx)("nav",{className:eX().root,"aria-label":t("Breadcrumbs.ariaLabel"),children:(0,l.jsx)("ol",{children:r.map((e,t)=>(0,l.jsx)("li",{children:t===r.length-1?(0,l.jsx)("span",{children:e.label}):(0,l.jsx)("a",{href:e.url,children:e.label})},t))})})};var ez=t(65562),eK=t.n(ez);let eJ=()=>(0,l.jsxs)("svg",{className:eK().icon,viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false",children:[(0,l.jsx)("rect",{x:"0",y:"0",width:"9.6",height:"9.6",fill:"currentColor"}),(0,l.jsx)("rect",{x:"14.4",y:"0",width:"9.6",height:"9.6",fill:"currentColor"}),(0,l.jsx)("rect",{x:"0",y:"14.4",width:"9.6",height:"9.6",fill:"currentColor"}),(0,l.jsx)("rect",{x:"14.4",y:"14.4",width:"9.6",height:"9.6",fill:"currentColor"})]}),e$=()=>(0,l.jsxs)("svg",{className:eK().icon,viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false",children:[(0,l.jsx)("rect",{x:"0",y:"0",width:"24",height:"15",fill:"currentColor"}),(0,l.jsx)("rect",{x:"0",y:"19.2",width:"24",height:"4.8",fill:"
1currentColor"})]}),eQ=e=>{let{value:r,onChange:t}=e,{t:a}=(0,eH.$G)();return(0,l.jsxs)("div",{className:eK().root,role:"group","aria-label":a("CatalogViewToggle.Labels.group"),"data-element-id":"Catalog_ViewToggle",children:[(0,l.jsx)("button",{type:"button",className:eK().option,"aria-pressed":2===r,"aria-label":a("CatalogViewToggle.Labels.twoColumns"),"data-element-id":"Catalog_ViewToggle_TwoColumns",onClick:()=>t(2),children:(0,l.jsx)(eJ,{})}),(0,l.jsx)("button",{type:"button",className:eK().option,"aria-pressed":1===r,"aria-label":a("CatalogViewToggle.Labels.oneColumn"),"data-element-id":"Catalog_ViewToggle_OneColumn",onClick:()=>t(1),children:(0,l.jsx)(e$,{})})]})};var e0=t(93236),e1=t.n(e0);let e6="plp-filter-by-dialog",e3=()=>({closedby:"any"}),e4=e=>{let{className:r}=e;return(0,l.jsx)("svg",{className:r,viewBox:"0 0 16 16","aria-hidden":"true",focusable:"false",children:(0,l.jsx)("path",{d:"M3.5 5.75 8 10.25l4.5-4.5",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})})},e7=()=>(0,l.jsx)("svg",{className:e1().closeIcon,viewBox:"0 0 16 16","aria-hidden":"true",focusable:"false",children:(0,l.jsx)("path",{d:"M3.5 3.5 12.5 12.5M12.5 3.5 3.5 12.5",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5"})}),e2=(e,r,t)=>{var l,a;return null!==(a=null===(l=e[r])||void 0===l?void 0:l.includes(t))&&void 0!==a&&a},e5=e=>{let{option:r,selected:t,onToggle:a}=e;return(0,l.jsxs)("button",{type:"button",className:e1().pill,"aria-pressed":t,onClick:a,children:[(0,l.jsx)("span",{className:e1().pillLabel,children:r.label}),t?(0,l.jsx)(eM,{className:e1().pillClearIcon}):null]})},e8=e=>{let{section:r,draftFilters:t,defaultOpen:a,onToggleValue:n}=e;return(0,l.jsxs)("details",{className:e1().section,open:a,children:[(0,l.jsxs)("summary",{className:e1().sectionSummary,children:[(0,l.jsx)("span",{children:r.title}),(0,l.jsx)(e4,{className:e1().sectionChevron})]}),(0,l.jsxs)("div",{className:e1().sectionContent,children:[r.note?(0,l.jsx)("p",{className:e1().sectionNote,children:r.note}):null,(0,l.jsx)("div",{className:e1().pillRow,children:r.options.map(e=>(0,l.jsx)(e5,{option:e,selected:e2(t,e.key,e.value),onToggle:()=>n(e.key,e.value)},"".concat(e.key,":").concat(e.value)))})]})]})},e9=e=>{let{items:r,appliedFilters:t,onFilterApply:a}=e,n=eD(),o=(0,i.useRef)(null),[s,c]=(0,i.useState)(t),d=(0,i.useMemo)(()=>ey(r,n.sectionTitles,n.sectionNotes),[n,r]),u=ep(t),p=(0,i.useMemo)(()=>eN(r,s),[s,r]),m=u>0?"".concat(n.label," ").concat(n.appliedSuffix(u)):n.label,h=()=>{var e;null===(e=o.current)||void 0===e||e.close()},_=(e,r)=>{c(t=>ef(t,e,r))};return 0===d.length?null:(0,l.jsxs)("div",{className:e1().root,children:[(0,l.jsxs)("button",{type:"button",className:e1().trigger,"aria-label":m,"data-analytics_available_call":"0",onClick:()=>{var e;c(eh(t)),null===(e=o.current)||void 0===e||e.showModal()},children:[(0,l.jsxs)("span",{className:e1().triggerLabel,children:[(0,l.jsx)("span",{className:e1().triggerStrong,children:n.label}),u>0?(0,l.jsx)("span",{className:e1().triggerAppliedCount,children:" ".concat(n.appliedSuffix(u))}):null]}),(0,l.jsx)(eO,{className:e1().filterIcon})]}),(0,l.jsxs)("dialog",{ref:o,id:e6,className:e1().dialog,"aria-labelledby":"".concat(e6,"-title"),...e3(),onClose:()=>{c(eh(t))},children:[(0,l.jsxs)("header",{className:e1().dialogHeader,children:[(0,l.jsx)("h2",{id:"".concat(e6,"-title"),className:e1().dialogTitle,children:n.title}),(0,l.jsx)("button",{type:"button",className:e1().closeButton,"aria-label":n.close,"data-analytics_available_call":"0",onClick:h,children:(0,l.jsx)(e7,{})})]}),(0,l.jsx)("div",{className:e1().dialogBody,children:d.map((e,r)=>(0,l.jsx)(e8,{section:e,draftFilters:s,defaultOpen:0===r,onToggleValue:_},e.key))}),(0,l.jsxs)("footer",{className:e1().dialogFooter,children:[(0,l.jsx)("button",{type:"button",className:e1().clearAllButton,"data-element-id":"Filters_ClearAll",onClick:()=>{c({})},children:n.clearAll}),(0,l.jsx)("button",{type:"button",className:e1().applyButton,"data-element-id":"Filters_SeeResults",onClick:()=>{a(s),h()},children:n.seeResults(p)})]})]})]})};var re=t(69635),rr=t.n(re),rt=t(90512),rl=t(41664),ra=t.n(rl);let rn=/^(?:javascript|data):/i,ri=/^[a-z][a-z\d+.-]*:/i,ro=e=>{let r=null==e?void 0:e.trim();return!r||"#"===r||rn.test(r)?null:r},rs=e=>!e.startsWith("//")&&(!!/^https?:\/\//i.test(e)||!ri.test(e)),rc=e=>{let{href:r,children:t,shallow:a,...n}=e;return rs(r)?(0,l.jsx)(ra(),{href:r,shallow:a,...n,children:t}):(0,l.jsx)("a",{href:r,...n,children:t})},rd=["","newest","price-asc","price-desc"],ru=(e,r)=>r?"".concat(e,"?sort=").concat(encodeURIComponent(r)):e,rp=function(e,r){arguments.length>2&&void 0!==arguments[2]&&arguments[2];let t={"":r.bestSellers,newest:r.newest,"price-asc":r.priceLowToHigh,"price-desc":r.priceHighToLow};return rd.map(r=>({value:r,label:t[r],href:ru(e,r)}))};var rm=t(87943),rh=t.n(rm);let r_=e=>({commandfor:e,command:"show"}
1),rf=()=>({closedby:"any"}),rg=()=>(0,l.jsx)("svg",{className:rh().chevron,viewBox:"0 0 16 16","aria-hidden":"true",focusable:"false",children:(0,l.jsx)("path",{d:"M3.5 5.75 8 10.25l4.5-4.5",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})}),rv=e=>e.replace(/^\//,"").replace(/\//g,"-")||"default",rb=e=>{let{option:r,isActive:t,onSortChange:a,shallow:n}=e,i=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:rh().radio,"aria-hidden":"true",children:(0,l.jsx)("span",{className:rh().radioDot})}),(0,l.jsx)("span",{className:rh().optionLabel,children:r.label})]});return a?(0,l.jsx)("button",{type:"button",className:rh().option,"aria-current":t?"page":void 0,onClick:()=>a(r.value),children:i},r.value||"default"):(0,l.jsx)(rc,{href:r.href,shallow:n,className:rh().option,"aria-current":t?"page":void 0,children:i},r.value||"default")},rx=e=>{let{options:r,activeSort:t,onSortChange:a,shallow:n,ariaNav:i}=e;return(0,l.jsx)("nav",{className:rh().panel,"aria-label":i,children:r.map(e=>(0,l.jsx)(rb,{option:e,isActive:e.value===t,onSortChange:a,shallow:n},e.value||"default"))})},ry=e=>{var r;let{pathname:t,activeSort:a,onSortChange:n,shallow:o}=e,{t:s}=(0,eH.$G)(),c=(0,i.useMemo)(()=>({bestSellers:s("SortBy.Options.bestSellers"),newest:s("SortBy.Options.newest"),priceLowToHigh:s("SortBy.Options.priceLowToHigh"),priceHighToLow:s("SortBy.Options.priceHighToLow")}),[s]),d=(0,i.useMemo)(()=>({label:s("SortBy.Labels.sortBy"),ariaNav:s("SortBy.Labels.sortBy"),currently:e=>s("SortBy.Labels.currently",{activeLabel:e})}),[s]),u=rp(t,c,a),p=null!==(r=u.find(e=>e.value===a))&&void 0!==r?r:u[0],m="".concat(t,":").concat(a),h=rv(t),_="sort-by-trigger-".concat(h),f="sort-by-dialog-".concat(h),g=d.currently(p.label);return(0,l.jsxs)("div",{className:rh().root,children:[(0,l.jsxs)("div",{className:rh().dialogShell,children:[(0,l.jsxs)("button",{type:"button",className:rh().trigger,id:_,"aria-label":g,"data-analytics_available_call":"0",...r_(f),children:[(0,l.jsxs)("span",{className:rh().triggerLabel,children:[d.label,(0,l.jsxs)("span",{className:rh().triggerValue,children:[": ",p.label]})]}),(0,l.jsx)(rg,{})]}),(0,l.jsx)("dialog",{id:f,className:rh().dialog,"aria-labelledby":_,...rf(),children:(0,l.jsx)(rx,{options:u,activeSort:a,onSortChange:n,shallow:o,ariaNav:d.ariaNav})})]}),(0,l.jsxs)("details",{className:rh().fallback,children:[(0,l.jsxs)("summary",{className:rh().trigger,"aria-label":g,children:[(0,l.jsxs)("span",{className:rh().triggerLabel,children:[d.label,(0,l.jsxs)("span",{className:rh().triggerValue,children:["(",p.label,")"]})]}),(0,l.jsx)(rg,{})]}),(0,l.jsx)(rx,{options:u,activeSort:a,onSortChange:n,shallow:o,ariaNav:d.ariaNav})]})]},m)};var rC=t(93329),rN=t.n(rC);let rj=e=>{let{title:r,breadcrumbs:t,sortPathname:a,activeSort:n,onSortChange:i,filterItems:o,appliedFilters:s,onFilterApply:c,mobileColumns:d,onMobileColumnsChange:u}=e;return(0,l.jsx)("header",{className:rN().root,children:(0,l.jsxs)("div",{className:(0,rt.Z)(rr().shell,rN().inner),children:[(0,l.jsx)(eY,{items:t}),(0,l.jsxs)("div",{className:rN().titleRow,children:[(0,l.jsx)("div",{className:rN().titleColumn,children:(0,l.jsx)("h1",{className:rN().title,children:r})}),(0,l.jsxs)("div",{className:rN().toolbar,children:[(0,l.jsx)(ry,{pathname:a,activeSort:n,onSortChange:i}),void 0!==d&&u?(0,l.jsx)(eQ,{value:d,onChange:u}):null,c?(0,l.jsx)(e9,{items:null!=o?o:null,appliedFilters:null!=s?s:{},onFilterApply:c}):null]}),c?(0,l.jsx)(eG,{items:null!=o?o:null,appliedFilters:null!=s?s:{},onFilterApply:c}):null]})]})})};var rP=t(76588);let rw="Image not available";var rS=t(80226),rI=t.n(rS);let rF=e=>{let{className:r}=e;return(0,l.jsx)("div",{className:(0,rt.Z)(rI().root,r),role:"img","aria-label":rw,children:(0,l.jsx)("p",{className:rI().label,"aria-hidden":"true",children:rw})})};var rL=t(25675),rT=t.n(rL);let rk={"product-card":"(min-width: 48rem) 22rem, 100vw","product-tile":"(min-width: 43.75rem) 40rem, 100vw",hero:"100vw",merchandising:"(min-width: 48rem) 69rem, 100vw","promo-field-card":"(min-width: 48rem) 22rem, 100vw"},rE=e=>rk[e],rB=e=>{switch(e){case"priority":return{priority:!0,loading:"eager",fetchPriority:"high"};case"eager-high":return{loading:"eager",fetchPriority:"high"};default:return{loading:"lazy"}}},rA=e=>{let{src:r,alt:t,preset:a,loadTier:n,className:o,fallbackClassName:s}=e,[c,d]=(0,i.useState)(!1),u=rB(n);return c?(0,l.jsx)(rF,{className:s}):(0,l.jsx)(rT(),{src:r,alt:t,fill:!0,sizes:rE(a),className:o,onError:()=>d(!0),...u})}
1,rR=e=>{let{src:r,alt:t,preset:a,loadTier:n,className:i,frameClassName:o,withUnavailableFallback:s=!1,fallbackClassName:c}=e,d=r.trim();if(!d)return null;if(s){let e=(0,l.jsx)(rA,{src:d,alt:t,preset:a,loadTier:n,className:i,fallbackClassName:null!=c?c:o});return o?(0,l.jsx)("div",{className:o,children:e}):e}let u=rB(n),p=(0,l.jsx)(rT(),{src:d,alt:t,fill:!0,sizes:rE(a),className:i,...u});return o?(0,l.jsx)("div",{className:o,children:p}):p},rZ=e=>e.trim().split(/\s+/).filter(Boolean).map(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(" "),rV=e=>rZ(e.replace(/nuance audio/gi,"").replace(/\s+/g," ").trim()),rM=(e,r)=>!(0,rP.q_)(r)&&e===D;var rO=t(57197),rH=t.n(rO);let rD=(e,r,t)=>Intl.NumberFormat(t,{style:"currency",currency:r}).format(e),rU=(e,r)=>e<=0||r>=e?0:Math.round((e-r)/e*100),rW=(e,r,t)=>(0,rP.p)(t)?(0,rP.i9)("".concat(e,"%"),""):"".concat(e).concat(r),rG=(e,r)=>r<=0?0:Math.min(Math.max(e,0),r-1),rq=e=>{let{direction:r}=e;return(0,l.jsx)("svg",{className:rH().colorChevron,viewBox:"0 0 16 16","aria-hidden":"true",focusable:"false",children:(0,l.jsx)("path",{d:"prev"===r?"M10.25 3.5 5.75 8l4.5 4.5":"M5.75 3.5 10.25 8l-4.5 4.5",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})})},rX=e=>{var r,t,a,n;let{colorVariants:o,imageLoadTier:s="lazy",productName:c,brandName:d,modelName:u,catalogFilterFacets:p,locale:m,tileElementId:h,initialDisplayedColorIndex:_=0}=e,{t:f}=(0,eH.$G)(),[g,v]=(0,i.useState)(()=>rG(_,o.length)),b=(0,i.useMemo)(()=>({from:f("ProductCard.Labels.from"),off:f("ProductCard.Labels.off"),new:f("ProductCard.Labels.new"),previousColor:f("ProductCard.Labels.previousColor"),nextColor:f("ProductCard.Labels.nextColor")}),[f]),x=null!==(r=o[rG(g,o.length)])&&void 0!==r?r:o[0],y=o.length>1,C=p.generation,N=rZ(C?Y("generation",C):c),j=C?rV(u):d,P=C?"".concat(N," ").concat(j).trim():c,w=ro(null==x?void 0:x.url),S=null!==(t=null==x?void 0:x.basePrice)&&void 0!==t?t:0,I=null!==(a=null==x?void 0:x.discountedPrice)&&void 0!==a?a:0,F=null!==(n=null==x?void 0:x.currency)&&void 0!==n?n:"USD",L=rU(S,I),T=L>0,k=rM(p.frameType,m),E=T?I:S,B=T?rW(L,b.off,m):null,A=(0,l.jsxs)("div",{className:rH().imageWrap,children:[(0,l.jsx)("div",{className:rH().fillSlot,children:(null==x?void 0:x.fadeImageUrls)?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(rR,{src:x.fadeImageUrls[0],alt:P,preset:"product-card",loadTier:s,className:rH().fadeBaseImage,frameClassName:rH().fadeBase,withUnavailableFallback:!0}),(0,l.jsx)(rR,{src:x.fadeImageUrls[1],alt:"",preset:"product-card",loadTier:s,className:rH().fadeOverlayImage,frameClassName:rH().fadeOverlay,withUnavailableFallback:!0})]}):(null==x?void 0:x.imageUrl)?(0,l.jsx)(rR,{src:x.imageUrl,alt:P,preset:"product-card",loadTier:s,className:rH().image,frameClassName:rH().baseFill,withUnavailableFallback:!0}):(0,l.jsx)(rF,{className:rH().unavailableFill})}),(null==x?void 0:x.hoverImageUrl)?(0,l.jsx)("div",{className:rH().hoverLayer,"aria-hidden":!0,children:(0,l.jsx)(rR,{src:x.hoverImageUrl,alt:"",preset:"product-card",loadTier:s,className:rH().hoverImage,frameClassName:rH().hoverFill,withUnavailableFallback:!0})}):null]}),R=e=>{v(r=>{let t=o.length;return t<=1?r:(r+e+t)%t})},Z=(0,l.jsxs)("div",{className:rH().body,children:[(null==x?void 0:x.isNew)?(0,l.jsx)("span",{className:rH().newBadge,children:b.new}):null,(0,l.jsx)("h3",{className:rH().title,children:N}),(0,l.jsx)("p",{className:rH().brand,children:"".concat(N," ").concat(j.replace(/\b(plus|glasses)\b/gi,"").replace(/\s{2,}/g," ").trim())}),(0,l.jsxs)("div",{className:rH().priceGroup,children:[(0,l.jsxs)("div",{className:rH().priceRow,children:[k?(0,l.jsx)("span",{className:rH().pricePrefix,children:b.from}):null,T?(0,l.jsx)("del",{className:rH().priceStrike,children:rD(S,F,m)}):null,(0,l.jsx)("span",{className:rH().priceFinal,children:rD(E,F,m)})]}),B?(0,l.jsx)("span",{className:rH().badge,children:B}):null]})]});return(0,l.jsxs)("article",{className:rH().card,children:[(0,l.jsxs)("div",{className:rH().media,children:[w?(0,l.jsx)(rc,{href:w,className:rH().mediaLink,tabIndex:-1,"aria-hidden":!0,
1children:A}):A,y||(null==x?void 0:x.frameColor)?(0,l.jsxs)("div",{className:rH().colorSwitcher,children:[y?(0,l.jsx)("button",{type:"button",className:rH().colorPrev,"aria-label":b.previousColor,onClick:()=>R(-1),children:(0,l.jsx)(rq,{direction:"prev"})}):null,(null==x?void 0:x.frameColor)?(0,l.jsx)("span",{className:rH().colorName,children:x.frameColor}):null,y?(0,l.jsx)("button",{type:"button",className:rH().colorNext,"aria-label":b.nextColor,onClick:()=>R(1),children:(0,l.jsx)(rq,{direction:"next"})}):null]}):null]}),w?(0,l.jsx)(rc,{href:w,className:rH().bodyLink,"data-element-id":h,children:Z}):Z]})};var rY=t(76540),rz=t(79205),rK=t(48550);let rJ={Rialto:"NuanceAudioPlus","San Marco":"NuanceAudioGlasses"},r$={[D]:"Y",[U]:"N"},rQ={frameType:"IsPrescription",generation:"Generation",frameColor:"FrameColor",frameShape:"FrameShape"},r0={"":"BestSellers",newest:"Newest","price-asc":"PriceLowToHigh","price-desc":"PriceHighToLow"},r1=e=>"Tiles_Tile".concat(e+1),r6=e=>{var r;return null!==(r=rJ[e])&&void 0!==r?r:e},r3=e=>{var r;return null!==(r=r$[e])&&void 0!==r?r:e},r4=(e,r)=>{var t;let l=[];for(let r of ed){let t=rQ[r],a=e[r];if(t&&(null==a?void 0:a.length))for(let e of a){let a=e;"generation"===r?a=r6(e):"frameType"===r&&(a=r3(e)),l.push("".concat(t,"=").concat(a))}}let a=null!==(t=r0[null!=r?r:""])&&void 0!==t?t:r;return a&&l.push("Sort=".concat(a)),l.join("|")},r7=e=>{var r,t;return(null===(t=e.at(-1))||void 0===t?void 0:null===(r=t.label)||void 0===r?void 0:r.trim())||"PLP"},r2=e=>{var r;return null!==(r=null==e?void 0:e.filter(e=>"product"===e.kind).length)&&void 0!==r?r:0},r5=e=>{var r,t,l,a;let n=e.colorVariants[0],i=n&&n.discountedPrice>0?n.discountedPrice:null!==(r=null==n?void 0:n.basePrice)&&void 0!==r?r:0,o=null!==(t=null==n?void 0:n.basePrice)&&void 0!==t?t:0;return{Status:e.buyable?"Available":"SoldOut",OosOptions:"",Category:"FRAME",Type:"STD",LensType:"PLANO",Price:i.toFixed(2),PriceFull:o.toFixed(2),Brand:e.brandName,Sku:e.partNumber,ModelName:e.modelName,LensColor:"",LensTechnology:"",FrameColor:null!==(l=null==n?void 0:n.frameColor)&&void 0!==l?l:"",FrameTechnology:"",Shape:null!==(a=e.catalogFilterFacets.frameShape)&&void 0!==a?a:"",LensUPC:"",Visibility:"Public",FrameType:"STD",Units:"1",PerkCode:"",InsuranceAmount:"",Warranty:"",TaxRate:"",CancelledUnits:"",CancelledAmount:"",Badges:""}},r8=e=>e.reduce((e,r)=>{if("product"!==r.kind)return e;let{partNumber:t}=r.data;return t&&(e[t]=r5(r.data)),e},{}),r9=e=>{let{resultCount:r,facetValues:t,userInitiated:l=!0}=e;(0,rK.ZI)({id:"Event",Events_SearchFiltering:l?"1":"0",Search_ResultItemsQnt:"".concat(r),Search_FacetValues_String:t})},te=e=>{let{common:r,pageSection:t,resultCount:l,products:a}=e;(0,rK.ZI)({...r,id:"VirtualPage-View",Page_Type:"Plp",Page_Section1:t,Search_ResultItemsQnt:"".concat(l),Page_Design:"Editorial",Products:a})},tr=e=>{let{items:r,breadcrumbs:t,catalogError:l}=e,a=(0,rz.IS)("plp"),n=r7(t),o=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{!l&&(null==r?void 0:r.length)&&!o.current&&(o.current=!0,te({common:a,pageSection:n,resultCount:r2(r),products:r8(r)}))},[a,l,r,n]),{trackCatalogRefinement:(0,i.useCallback)((e,r,t)=>{r9({resultCount:r2(t),facetValues:r4(e,r),userInitiated:!0})},[])}},tt=e=>{let{gridPositioning:r,columns:t,columnsPerRow:l=3}=e;return Math.min(Math.max(1,r),Math.max(1,l-t+1))},tl=e=>{let{merged:r,row:t,gridPositioning:l,columns:a,columnsPerRow:n=3}=e,i=Math.max(1,t),o=tt({gridPositioning:l,columns:a,columnsPerRow:n}),s=1,c=1;for(let e=0;e<=r.length;e++){if(s===i&&c===o)return e;if(e>=r.length)break;let t=r[e];for(c+="tile"===t.kind&&2===t.data.columns?2:1;c>n;)c-=n,s+=1}return r.length},ta=e=>[...e].sort((e,r)=>{let t=Math.max(1,e.row)-Math.max(1,r.row);return 0!==t?t:tt({gridPositioning:e.gridPositioning,columns:e.columns})-tt({gridPositioning:r.gridPositioning,columns:r.columns})}),tn=e=>{let{items:r,tiles:t}=e,l=r.map(e=>({kind:"product",data:e}));for(let e of ta(t)){let r=tl({merged:l,row:e.row,gridPositioning:e.gridPositioning,columns:e.columns});l.splice(r,0,{kind:"tile",data:e})}return l},ti=e=>{let r=[],t=[];for(let l of e)"product"===l.kind?r.push(l.data):"tile"===l.kind&&t.push(l.data);return{products:r,tiles:t}},to=(e,r,t)=>{let l=em(null!=t?t:{}),a=!!r;if(!l&&!a)return e;let{products:n,tiles:i}=ti(e),o=l?ev(n,t):n;return tn({items:a?eV(o,r):o,tiles:i})},ts=e=>{let{items:r}=e;return(0,l.jsx)("div",{children:r.map((e,r)=>(0,l.jsx)("div",{children:(0,l.jsx)("a",{href:e.formattedUrl,children:e.text})},"dash-button-".concat(e.name,"-").concat(r)))})},tc=e=>/plan-a-visit/i.test(e),td={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:'"'};var tu=t(10717),tp=t.n(tu),tm=t(2300),th=t(79588),t_=t(41670),tf=t(69671);let tg=e=>{let{url:r,mobileUrl:t,poster:a,autoplay:n,loop:o,mute:s,hideControl:c,teaserId:d}=e,{isMobile:u}=(0,t_.Z)(),p=(0,i.useRef)(null),m=u&&t?t:r,[h,_]=(0,tf.Y)({threshold:.2,unobserveOnEnter:!1}),{setRef:f,onHandlePlay:g,onHandlePause:v,onHandleViewportChange:b,isPlaying:
1x}=(0,th.L)({autoplay:n&&_,mute:s,forceStop:!1,shouldPauseOnViewportExit:n});(0,i.useEffect)(()=>{b(_)},[_,b]);let y=(0,i.useCallback)(()=>{var e;n&&_&&(g(),null===(e=p.current)||void 0===e||e.play().catch(()=>{}))},[n,_,g]);(0,i.useEffect)(()=>{_&&n&&y()},[n,_,m,y]);let C=(0,i.useCallback)(e=>{if(e.preventDefault(),e.stopPropagation(),x){v();return}g()},[x,v,g]);return(0,l.jsxs)("div",{ref:h,className:(0,rt.Z)(tp().media,tp().mediaIsVideo),children:[(0,l.jsx)(tm.O,{}),(0,l.jsxs)("div",{className:tp().videoPlayer,children:[_?(0,l.jsx)("video",{ref:e=>{p.current=e,f(e)},className:tp().mediaVideo,autoPlay:n,loop:o,muted:s,playsInline:!0,preload:"metadata",poster:a||void 0,src:"".concat(m,"#t=0.001"),onLoadedData:y,onCanPlay:y},m):null,c?null:(0,l.jsx)("div",{className:tp().videoControls,onClick:C,children:(0,l.jsx)("button",{type:"button","aria-label":x?"Pause":"Play","data-description":"Play","data-element-id":d,children:(0,l.jsx)("svg",{"aria-hidden":"true",children:(0,l.jsx)("use",{xlinkHref:"#".concat(x?"pause-icon":"play-icon")})})})})]})]})},tv=(e,r)=>{var t;let l=e.trim();return l&&null!==(t=(0,rY.xx)(l,2===r?"landscape_ratio863x416":"portrait_ratio343x359",2===r?1726:617))&&void 0!==t?t:""},tb=e=>{let{id:r,title:t,columns:a,description:n,imageUrl:i,video:o,ctas:s,imageLoadTier:c="lazy"}=e,d=tv(i,a),u=function(e){if(null==e)return"";let r=String(e);return(r=(r=(r=(r=(r=(r=r.replace(/<script[\s\S]*?<\/script>/gi," ")).replace(/<style[\s\S]*?<\/style>/gi," ")).replace(/<\s*br\s*\/?>/gi," ")).replace(/<\/\s*(p|div|h[1-6]|li|tr|blockquote)\s*>/gi," ")).replace(/<[^>]+>/g,"")).replace(/&(#(?:x[0-9a-fA-F]+|\d+)|[a-zA-Z][a-zA-Z0-9]*);/g,e=>{var r;if(e.startsWith("&#x")||e.startsWith("&#X")){let r=parseInt(e.slice(3,-1),16);return Number.isFinite(r)&&r>=0&&r<=1114111?String.fromCodePoint(r):e}if(e.startsWith("&#")){let r=parseInt(e.slice(2,-1),10);return Number.isFinite(r)&&r>=0&&r<=1114111?String.fromCodePoint(r):e}return null!==(r=td[e.slice(1,-1).toLowerCase()])&&void 0!==r?r:e})).replace(/\s+/g," ").trim()}(n),p=s.map(e=>({href:ro(e.link),text:e.text.trim()})).filter(e=>e.text);return(0,l.jsxs)("article",{className:(0,rt.Z)(tp().root,2===a&&tp().rootWide),children:[o?(0,l.jsx)(tg,{...o,poster:d||void 0,teaserId:r}):d?(0,l.jsx)(rR,{src:d,alt:"",preset:"product-tile",loadTier:c,frameClassName:tp().media,className:tp().mediaImage,withUnavailableFallback:!0,fallbackClassName:tp().media}):(0,l.jsx)("div",{className:tp().media,"aria-hidden":"true"}),(0,l.jsxs)("div",{className:tp().content,children:[(0,l.jsxs)("div",{className:tp().text,children:[(0,l.jsx)("h3",{className:tp().title,children:t}),(0,l.jsx)("p",{className:tp().description,children:u})]}),p.length?(0,l.jsx)("div",{className:tp().actions,children:p.map((e,r)=>{let t=(0,rt.Z)(tp().cta,0===r?tp().ctaPrimary:tp().ctaSecondary,!e.href&&tp().ctaTextOnly);return e.href?(0,l.jsx)(rc,{href:e.href,className:t,...0===r&&tc(e.href)?{"data-element-id":"Placement_Banner_CTA","data-description":"PlanDemo"}:{},children:e.text},"".concat(e.href,"-").concat(e.text,"-").concat(r)):(0,l.jsx)("span",{className:t,children:e.text},"".concat(e.text,"-").concat(r))})}):null]})]})},tx=(e,r)=>0!==e||r?e<=2?"eager-high":"lazy":"priority",ty=(e,r)=>{if(0===e.length||!(null==r?void 0:r.length))return 0;let t=e.findIndex(e=>null!=e.frameColor&&r.includes(e.frameColor));return t>=0?t:0},tC=e=>{e&&console.error("We couldn't load the product listing. Please try again later.")};var tN=t(55664),tj=t.n(tN);let tP=e=>{let{locale:r,catalogError:t,items:a,heroClaimsPriority:n=!1,mobileColumns:o=2,appliedFilters:s}=e,{t:c}=(0,eH.$G)();if((0,i.useEffect)(()=>{tC(null==t?void 0:t.diagnostics)},[t]),t){let e=c("plp.catalog.validation"===t.messageKey?"PlpItemsContainer.errorValidation":"PlpItemsContainer.errorGeneric");return(0,l.jsx)("section",{className:rr().shell,role:"alert",children:(0,l.jsx)("p",{children:e})})}if(!(null==a?void 0:a.length))return(0,l.jsx)("section",{className:rr().shell,children:(0,l.jsx)("p",{children:c("PlpItemsContainer.empty")})});let d=0;return(0,l.jsx)("div",{className:(0,rt.Z)(rr().shell,tj().root),"data-mobile-columns":o,children:(0,l.jsx)("div",{className:tj().grid,children:a.map((e,t)=>{var a;let i="tile"===e.kind,o=i&&2===e.data.columns,c=tx(t,n),u="product"===e.kind?r1(d++):void 0,p="product"===e.kind?ty(e.data.colorVariants,null==s?void 0:s.frameColor):0;return(0,l.jsx)("div",{className:(0,rt.Z)(tj().cell,i&&tj().cellTile,o&&tj().cellWide),children:"product"===e.kind?(0,l.jsx)(rX,{...e.data,locale:r,imageLoadTier:c,tileElementId:u,initialDisplayedColorIndex:p}):"tile"===e.kind?(0,l.jsx)(tb,{...e.data,imageLoadTier:c}):null},"".concat(e.kind,"-").concat(null!==(a=e.data.id)&&void 0!==a?a:t,"-").concat(p))})})})};var tw=t(72934),tS=t.n(tw);let tI=e=>{let{pageHeader:r,productList:t,dashButtons:a,heroClaimsPriority:n=!1,sortPathname:o,sort:s,onSortChange:c,filterBaselineItems:d,appliedFilters:u,onFilterApply:p,mobileColumns:m,onMobileColumnsChange:h}=e,{t:_}=(0,eH.$G)(),[f,g]=(0,i.useState)(2),v=null!=m?m:f;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(rj,{title:r.title,breadcrumbs:r.breadcrumbs,sortPathname:o,activeSort:eB(s),onSortChange:c,filterItems:d,appliedFilters:u,onFilterApply:p,mobileColumns:v,onMobileColumnsChange:null!=h?h:g}),a?(0,l.jsx)(ts,{items:a}):null,(0,l.jsxs)("section",{"aria-labelledby":"plp-products-heading",children:[(0,l.jsx)("h2",{id:"plp-products-heading",className:tS().visuallyHidden,children:_("PlpCatalogRegion.productsHeading")}),(0,l.jsx)(tP,{locale:t.locale,catalogError:t.catalogError,items:t.items,heroClaimsPriority:n,mobileColumns:v,appliedFilters:u})]})]})},tF=()=>{let e=new URLSearchParams(window.location.search),r=eP().parse(e.toString(),{ignoreQueryPrefix:!0}),t=r.sort,l=Array.isArray(t)?t[0]:t;
1return{sort:eE("string"==typeof l?l:void 0),filters:eT(r)}},tL=e=>{let{productList:r,sort:t,pageHeader:a,appliedFilters:n,sortPathname:o,...s}=e,{t:c}=(0,eH.$G)(),d=(0,i.useMemo)(()=>({...a,title:c("NewHearingGlasses.pageTitle")}),[a,c]),[u,p]=(0,i.useState)(t),[m,h]=(0,i.useState)(()=>null!=n?n:eu),[_,f]=(0,i.useState)(2),{trackCatalogRefinement:g}=tr({items:r.items,breadcrumbs:a.breadcrumbs,catalogError:r.catalogError}),v=(0,i.useCallback)((e,r)=>{let t=eS(o,{sort:e,filters:r});"".concat(window.location.pathname).concat(window.location.search)!==t&&(0,rY.ir)(t)},[o]);(0,i.useEffect)(()=>{let e=()=>{let{sort:e,filters:r}=tF();p(e),h(r)};return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[]);let b=(0,i.useMemo)(()=>r.catalogError||!r.items?r:{...r,items:to(r.items,u,m)},[r,u,m]);return(0,l.jsx)(tI,{...s,pageHeader:d,sortPathname:o,productList:b,filterBaselineItems:r.items,sort:u,onSortChange:e=>{let t=""===e?void 0:e,l=r.catalogError||!r.items?r.items:to(r.items,t,m);p(t),v(t,m),l&&g(m,t,l)},appliedFilters:m,onFilterApply:e=>{let t=r.catalogError||!r.items?r.items:to(r.items,u,e);h(e),v(u,e),t&&g(e,u,t)},mobileColumns:_,onMobileColumnsChange:f})},tT=e=>(null==e?void 0:e.length)?e.filter(e=>"PLP_top_banner"===e.name||"top-page-banner"===e.viewtype):[];var tk=t(9008),tE=t.n(tk);let tB=(0,n.n)(e=>{var r,t;let{originalUrl:a,catalogRegion:n,plpCommerce:o}=e,{t:u}=(0,eH.$G)(),{placementsPlpCommerce:p}=(0,c.Z)({plpCommerce:null!=o?o:void 0}),h=(0,i.useMemo)(()=>tT(p),[p]),_=(0,i.useMemo)(()=>null==p?void 0:p.filter(e=>e.name.includes("PLP_placement_")),[p]),f=(0,i.useMemo)(()=>null==p?void 0:p.filter(e=>e.name.includes("PLP_tile_banner_")),[p]);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(tE(),{children:(0,l.jsx)("meta",{name:"robots",content:"noindex,follow"})}),(0,l.jsx)(d.V,{title:u("NewHearingGlasses.Meta.title"),description:u("NewHearingGlasses.Meta.description"),url:a}),(0,l.jsxs)(m,{children:[h.length>0?(0,l.jsx)(s.Z,{placements:h,isPLP:!0,loading:!1}):null,(0,l.jsx)(tL,{...n}),(null!==(r=null==f?void 0:f.length)&&void 0!==r?r:0)>0?(0,l.jsx)(s.Z,{placements:null!=f?f:[],isPLP:!0,loading:!1}):null,(null!==(t=null==_?void 0:_.length)&&void 0!==t?t:0)>0?(0,l.jsx)(s.Z,{placements:null!=_?_:[],isPLP:!0,loading:!1}):null]})]})});var tA=!0,tR=e=>{let{locale:r,siteDataRes:t,preFooter:n,...i}=e;return(0,a.z)({rest:i,siteDataRes:t,locale:r,preFooter:n}),(0,l.jsx)(o.Z,{isChatButtonVisible:!1,children:(0,l.jsx)(tB,{...e})})}},76540:function(e,r,t){"use strict";t.d(r,{A4:function(){return s},D2:function(){return f},U0:function(){return v},am:function(){return p},ir:function(){return u},mj:function(){return d},oI:function(){return _},sF:function(){return m},w8:function(){return c},xb:function(){return g},xx:function(){return h}});var l=t(80129),a=t.n(l),n=t(79807),i=t(34357),o=t(93640);let s=(e,r)=>r+(e.startsWith("/")?e:"/".concat(e)),c=(e,r,t)=>{let[l,n]=e.split("?"),i=a().parse(n);return i[r]=null==t?"":t.toString(),"".concat(l,"?").concat(a().stringify(i))},d=e=>{window.history.replaceState({},"",e)},u=e=>{window.history.pushState({},"",e)},p=e=>n.Z.stringifyUrl({url:"",query:e},{encode:!1}),m=function(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n.Z.parse(e,{decode:r})},h=(e,r,t)=>{if(!e)return"";if(r){let l=e.replace("/{cropName}/{width}","/".concat(r||"NOTFOUND","/").concat(t||"NOTFOUND"));return"".concat(i.default.cmsImageServerUrl).concat(l)}},_=e=>{if(!e)return"";let r=e.replace(/\/\{[^}]+\}\/\{[^}]+\}/,"");return"".concat(i.default.cmsImageServerUrl).concat(r)},f=e=>{let{mobile:r,deskL:t,deskS:l,tabletL:a,tabletP:n}=o.Xr[e]||{};return{mobile:r,deskL:t,deskS:l,tabletL:a,tabletP:n}},g=(e,r)=>{let{mobile:t,deskL:l,deskS:a,tabletL:n,tabletP:i}=f(e);return{mobile:h(r,(null==t?void 0:t.crop)||"",null==t?void 0:t.width),deskL:h(r,(null==l?void 0:l.crop)||"",null==l?void 0:l.width),deskS:h(r,(null==a?void 0:a.crop)||"",null==a?void 0:a.width),tabletL:h(r,(null==n?void 0:n.crop)||"",null==n?void 0:n.width),tabletP:h(r,(null==i?void 0:i.crop)||"",null==i?void 0:i.width)}},v=function(e,r){let t=!(arguments.length>2)||void 0===arguments[2]||arguments[2],l=!e.startsWith("/")&&t?"/".concat(e):e,a="/";return l&&l.endsWith("/")&&(l=l.slice(0,-1)),r&&r.startsWith("/")&&(a=""),[l,r].join(a)}},10717:function(e){e.exports={root:"ProductTile_root__dIyL0",media:"ProductTile_media__YeTTo",mediaImage:"ProductTile_mediaImage__FNtli",mediaVideo:"ProductTile_mediaVideo__GtXqm",mediaIsVideo:"ProductTile_mediaIsVideo__fVTXH",videoPlayer:"ProductTile_videoPlayer__QtMV6",videoControls:"ProductTile_videoControls__QacMz",rootWide:"ProductTile_rootWide__VjO2C",content:"ProductTile_content__be_ck",text:"ProductTile_text__C1nv2",title:"ProductTile_title__BZWNi",description:"ProductTile_description__YHjxV",actions:"ProductTile_actions__N1wai",cta:"ProductTile_cta__8hbYb",ctaPrimary:"ProductTile_ctaPrimary__HeFFb",ctaSecondary:"ProductTile_ctaSecondary___tSWm",ctaTextOnly:"ProductTile_ctaTextOnly__wewpv"}},80226:function(e){e.exports={root:"ProductImageUnavailable_root__JCU6c",label:"ProductImageUnavailable_label__ipRSi"}},69635:function(e){e.exports={shell:"plpContentShell_shell__zj3A1"}},72934:function(e){e.exports={visuallyHidden:"PlpCatalogRegion_visuallyHidden__k5UOS"}},55664:function(e){e.exports={root:"PlpItemsContainer_root__7xOIt",grid:"PlpItemsContainer_grid__vISRs",cellWide:"PlpItemsContainer_
1cellWide__sj0Xc",cell:"PlpItemsContainer_cell__HMKzP",cellTile:"PlpItemsContainer_cellTile__PBh86"}},73901:function(e){e.exports={root:"ActiveCatalogFilters_root__f0MPi",pillRow:"ActiveCatalogFilters_pillRow__YLd9H",pill:"ActiveCatalogFilters_pill__OJrMF",pillLabel:"ActiveCatalogFilters_pillLabel__8C4zY",pillClearIcon:"ActiveCatalogFilters_pillClearIcon__CUGJU",clearAllButton:"ActiveCatalogFilters_clearAllButton__gdhgL"}},4464:function(e){e.exports={root:"Breadcrumbs_root__oMa5i"}},65562:function(e){e.exports={root:"CatalogViewToggle_root__nnBL4",option:"CatalogViewToggle_option__xUVDm",icon:"CatalogViewToggle_icon__0DAnh"}},93236:function(e){e.exports={root:"FilterBy_root__r_YPV",trigger:"FilterBy_trigger__LcrWU",triggerLabel:"FilterBy_triggerLabel__ojOfc",triggerStrong:"FilterBy_triggerStrong__go1RI",triggerAppliedCount:"FilterBy_triggerAppliedCount__7IqvA",filterIcon:"FilterBy_filterIcon__xiBA1",dialog:"FilterBy_dialog__S1PR0",dialogHeader:"FilterBy_dialogHeader__rSUbd",dialogTitle:"FilterBy_dialogTitle__Grd4M",closeButton:"FilterBy_closeButton__Mj3OI",closeIcon:"FilterBy_closeIcon__f4XUJ",dialogBody:"FilterBy_dialogBody__ondd1",section:"FilterBy_section__Jy1S4",sectionSummary:"FilterBy_sectionSummary__FLDrv",sectionChevron:"FilterBy_sectionChevron__TApHG",sectionContent:"FilterBy_sectionContent__o_Yps",sectionNote:"FilterBy_sectionNote__Ih8Cs",pillRow:"FilterBy_pillRow__X4CiF",pill:"FilterBy_pill__nK2Yr",pillLabel:"FilterBy_pillLabel__ZzA_v",pillClearIcon:"FilterBy_pillClearIcon__sz9f9",dialogFooter:"FilterBy_dialogFooter__6FW_o",clearAllButton:"FilterBy_clearAllButton__XyaYh",applyButton:"FilterBy_applyButton__Bn5Km"}},93329:function(e){e.exports={root:"PageHeader_root__bWxEb",inner:"PageHeader_inner__3GlSA",titleRow:"PageHeader_titleRow__9kRY_",titleColumn:"PageHeader_titleColumn__WKdyY",title:"PageHeader_title__bhv0r",toolbar:"PageHeader_toolbar__wrHJW"}},57197:function(e){e.exports={card:"ProductCard_card__nxBtF",mediaLink:"ProductCard_mediaLink__B1Zez",bodyLink:"ProductCard_bodyLink__CIX4s",media:"ProductCard_media__Eu1J6",imageWrap:"ProductCard_imageWrap__0CgD9",fillSlot:"ProductCard_fillSlot__nEs7k",baseFill:"ProductCard_baseFill__LG2tH",fadeBase:"ProductCard_fadeBase__lfTwT",fadeOverlay:"ProductCard_fadeOverlay__PVBlr",productCardTransitionOp:"ProductCard_productCardTransitionOp__3WyR6",fadeBaseImage:"ProductCard_fadeBaseImage__0TutL",fadeOverlayImage:"ProductCard_fadeOverlayImage__n4EFq",image:"ProductCard_image__U2l2a",hoverImage:"ProductCard_hoverImage__1mL_u",unavailableFill:"ProductCard_unavailableFill___Rd80",hoverLayer:"ProductCard_hoverLayer__exoyZ",hoverFill:"ProductCard_hoverFill__y7RJS",colorSwitcher:"ProductCard_colorSwitcher__ojjbx",colorPrev:"ProductCard_colorPrev__fqutA",colorNext:"ProductCard_colorNext__tqHZv",colorName:"ProductCard_colorName__4j0_8",colorChevron:"ProductCard_colorChevron__byPYB",body:"ProductCard_body__Vk704",newBadge:"ProductCard_newBadge__mj3f1",title:"ProductCard_title___ELbY",brand:"ProductCard_brand__0lkWf",priceGroup:"ProductCard_priceGroup__raLZG",priceRow:"ProductCard_priceRow__K4fMI",pricePrefix:"ProductCard_pricePrefix__Veayt",priceStrike:"ProductCard_priceStrike__JHARC",priceFinal:"ProductCard_priceFinal__IR4g4",badge:"ProductCard_badge__lxiJk"}},87943:function(e){e.exports={root:"SortBy_root__993eH",dialog:"SortBy_dialog__Et4JH",fallback:"SortBy_fallback__5X_wU",dialogShell:"SortBy_dialogShell__Yv2xq",triggerLabel:"SortBy_triggerLabel__Hd6yd",triggerValue:"SortBy_triggerValue__txP4d",trigger:"SortBy_trigger__r8GEp",chevron:"SortBy_chevron__lxsXX",panel:"SortBy_panel__FJbWa",option:"SortBy_option__IdOiM",radio:"SortBy_radio__NbzQ5",radioDot:"SortBy_radioDot__9SJht",optionLabel:"SortBy_optionLabel__97b7T"}}},function(e){e.O(0,[9852,2263,879,7536,9491,6310,6517,1606,5675,3191,1175,4310,4375,5775,6079,4986,2235,1170,6516,2888,9774,179],function(){return e(e.s=37886)}),_N_E=e.O()}]);

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.