1(window.webpackJsonp=window.webpackJsonp||[]).push([[123],{1358:function(t,e,r){t.exports={}},1735:function(t,e,r){"use strict";r(1358)},2003:function(t,e,r){"use strict";r.r(e);var n=r(0),o=r(224),l=r(14),c=r(3),v=r(631);function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){y(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function y(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function m(t,e,r,n,o,a,l){try{var i=t[a](l),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(n,o)}function O(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function l(t){m(a,n,o,l,c,"next",t)}function c(t){m(a,n,o,l,c,"throw",t)}l(void 0)}))}}var j=Object(n.b)({name:"ProductLister",components:{ProductsCarousel:()=>Promise.all([r.e(1),r.e(11),r.e(14),r.e(2),r.e(165)]).then(r.bind(null,954)),CtaPartial:v.a},props:{title:{type:String,default:""},productSkus:{type:Array,default:()=>[]},cta:{type:Object,default:()=>({title:"",url:"",type:"Primary",newWindow:!1,noFollow:!1,trackingQuery:""})}},setup(t){var{getProductDetails:e,loading:r}=Object(o.a)(),v=Object(n.B)(),{app:{$gtm:d}}=Object(n.y)(),y=Object(n.q)([]),m=Object(n.q)([]),j=(a,b)=>y.value.indexOf(a.sku)-y.value.indexOf(b.sku);Object(n.z)(O((function*(){y.value=t.productSkus.map((t=>t.sku)).map((t=>t.toString()));var r=yield e({filter:{sku:{in:y.value}},pageSize:12});m.value=((null==r?void 0:r.items)||[]).sort(j)})));var k=Object(n.a)((()=>f(f({},t.cta),{},{homepageSection:t.title||""})));return{products:m,loading:r,ctaParams:k,handleProductClick:e=>{var r,n;"/"===v.value.path&&d.push({event:l.w,homepage_section:t.title||"",category:Object(c.t)(e)||"",link_url:(null===(r=e.commonProps)||void 0===r||null===(r=r.link)||void 0===r?void 0:r.fullPath)||"",click_text:(null===(n=e.commonProps)||void 0===n?void 0:n.title)||""})}}}}),k=(r(1735),r(4)),component=Object(k.a)(j,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"product-lister"},[t.title?r("h2",{staticClass:"text-center"},[t._v("\n "+t._s(t.title)+"\n ")]):t._e(),t._v(" "),r("ProductsCarousel",{staticClass:"product-lister__content",attrs:{products:t.products,loading:t.loading,"products-per-view":4,"on-product-click":t.handleProductClick}
1}),t._v(" "),t.cta?r("div",{staticClass:"product-lister__button"},[r("CtaPartial",t._b({},"CtaPartial",t.ctaParams,!1))],1):t._e()],1)}),[],!1,null,"adc71d9a",null);e.default=component.exports},629:function(t,e,r){"use strict";r.d(e,"a",(function(){return l}));var n=r(0),o=r(14),l=t=>{var e=Object(n.B)(),{app:{$gtm:r}}=Object(n.y)(),l=Object(n.c)(),c=()=>{var{homepageSection:n,category:l,linkUrl:c,clickText:v}=t();n&&"/"===e.value.path&&r.push({event:o.w,homepage_section:n,category:l,link_url:c,click_text:v})},v=null,d=()=>{var t,e,r,n=null!==(t=null==l||null===(e=l.proxy)||void 0===e?void 0:e.$el)&&void 0!==t?t:null;n!==v&&(null===(r=v)||void 0===r||r.removeEventListener("click",c),null==n||n.addEventListener("click",c),v=n)};Object(n.j)(d),Object(n.m)(d),Object(n.i)((()=>{var t;null===(t=v)||void 0===t||t.removeEventListener("click",c),v=null}))}},631:function(t,e,r){"use strict";var n=r(0),o=r(118),l=r(201),c=r(629);function v(t,e,r,n,o,a,l){try{var i=t[a](l),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(n,o)}function d(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function l(t){v(a,n,o,l,c,"next",t)}function c(t){v(a,n,o,l,c,"throw",t)}l(void 0)}))}}var f=Object(n.b)({name:"CtaPartial",components:{SfButton:o.a},props:{linkType:{type:String,default:l.a.EXTERNAL_URL},title:{type:String,default:""},url:{type:String,default:""},type:{type:String,default:"Primary"},newWindow:{type:Boolean,default:!1},noFollow:{type:Boolean,default:!1},trackingQuery:{type:String,default:""},classes:{type:String,default:""},homepageSection:{type:String,default:""},category:{type:String,default:""}},setup(t){var{fetchUrl:e}=Object(l.e)(t.url),r=Object(n.q)(t.linkType===l.a.EXTERNAL_URL?t.url:"");return Object(n.z)(d((function*(){if(t.linkType!==l.a.EXTERNAL_URL){var n=yield e(t.linkType);r.value=t.trackingQuery?"".concat(n).concat(t.trackingQuery):n}}))),Object(c.a)((()=>({homepageSection:t.homepageSection,category:t.category,linkUrl:r.value,clickText:t.title}))),{ctaURL:r}}}),y=r(4),component=Object(y.a)(f,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.title?r("SfButton",{staticClass:"custom-button cta-label--default",class:[t.classes,t.type.toLowerCase()],attrs:{link:t.ctaURL,"aria-label":t.title,title:t.title,target:t.newWindow&&"_blank",rel:t.noFollow&&"nofollow"}},[t._v("\n "+t._s(t.title)+"\n")]):t._e()}),[],!1,null,null,null);e.a=component.exports}}]);
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.