1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8392],{1795:function(e,t,r){"use strict";r.d(t,{Z:function(){return P}});var a=r(2809),c=r(219),n=(r(7294),r(6486),function(e){return null===e||void 0===e||Array.isArray(e)&&0===e.length}),i=r(6372),o=r.n(i),l=r(9821),s=r(5893),d=["children","className","content","description","extra","label","raw","subtitle","title","titleTag"];function u(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 p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var b=function(e){var t=e.children,r=e.className,a=e.content,i=e.description,u=e.extra,b=e.label,m=e.raw,g=e.subtitle,_=e.title,f=e.titleTag,j=(0,c.Z)(e,d);if(u&&!n(t))return(0,s.jsx)("div",p(p({"data-card-type":"extra",className:"".concat(o().CardExtra," ").concat(r||"")},j),{},{children:t}));if(!n(t))return(0,s.jsx)("div",p(p({"data-card-type":"content",className:"".concat(o().cardContent," ").concat(r||"")},j),{},{children:t}));if(!n(a))return(0,s.jsx)("div",p(p({"data-card-type":"content",className:"".concat(o().cardContent," ").concat(r||"")},j),{},{children:a}));var h=f||"h2";return(0,s.jsxs)("div",p(p({"data-card-type":"content",className:"".concat(o().cardContent," ").concat(r||"")},j),{},{children:[b&&(0,s.jsx)("span",{className:o().cardLabel,children:b}),_&&(0,s.jsx)(h,{children:_}),g&&(0,s.jsx)("span",{className:o().cardSubtitle,children:g}),i&&(0,s.jsx)(l.Z,{raw:m,children:i})]}))},m=r(4184),g=r.n(m),_=r(9976),f=["video","youtubeId","children","className","ratio","label"];function j(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 h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var x=function(e){var t=e.video,r=e.youtubeId,i=e.children,l=e.className,d=e.ratio,u=e.label,p=(0,c.Z)(e,f);if(!n(i))return(0,s.jsx)("div",h(h({"data-card-type":"media",className:"".concat(o().CardMedia," ").concat(l||"")},p),{},{children:i}));if(r)return(0,s.jsx)("div",h(h({className:"".concat(o().videoWrapper," ").concat(l||"")},p),{},{children:(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:'<iframe\n width="560"\n height="315"\n src="https://www.youtube.com/embed/'.concat(r,'"\n frameborder="0"\n allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"\n allowfullscreen\n ></iframe>')}})}));if(t)return(0,s.jsx)("div",{className:g()(o().CardMedia,l,(0,a.Z)({},o().CardMediaVideo3_2,d&&1.5===d)),children:(0,s.jsx)("video",h(h({className:o().cardMediaVideo,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,preload:"metadata"},p),{},{children:(0,s.jsx)("source",{src:t.src,type:t.type||"video/mp4"})}))});var b=(0,s.jsx)(_.Z,h({"data-card-type":"media",ratio:d,className:"".concat(o().CardMedia," ").concat(l||"")},p));return u?(0,s.jsxs)("div",{className:o().cardMediaLabelWrapper,children:[b,(0,s.jsx)("span",{className:o().cardMediaLabel,children:u})]}):b},C=["alt","children","className","content","description","extra","href","image","imageBackground","imageObjectFit","imageSrc","label","mediaLabel","onClick","ratio","raw","subtitle","tagName","title","titleTag","video","youtubeId"];function y(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 v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?y(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var O=function(e){var t=e.alt,r=e.children,a=e.className,i=e.content,l=e.description,d=e.extra,u=e.href,p=e.image,m=e.imageBackground,g=e.imageObjectFit,_=e.imageSrc,f=e.label,j=e.mediaLabel,h=e.onClick,y=e.ratio,O=e.raw,P=e.subtitle,N=e.tagName,w=e.title,T=e.titleTag,L=e.video,I=e.youtubeId,Z=(0,c.Z)(e,C),M=N||(u?"a":"div");return n(r)?n(i)?(0,s.jsxs)(M,v(v({className:"".concat(o().Card," ").concat(a||""),"data-card-type":"card",href:u,onClick:h},Z),{},{children:[(p||_)&&(0,s.jsx)(x,{alt:t,background:m,className:o().CardMedia,image:p,label:j,objectFit:g,ratio:y,src:_,video:L,youtubeId:I}),(0,s.jsx)(b,{description:l,label:f,raw:O,subtitle:P,title:w,titleTag:T}),d&&(0,s.jsx)(b,{extra:!0,children:d})]})):(0,s.jsx)(M,v(v({},Z),{},{className:"".concat(o().Card," ").concat(a||""),href:u,onClick:h,"data-card-type":"card",children:i})):(0,s.jsx)(M,v(v({},Z),{},{className:"".concat(o().Card," ").concat(a||""),href:u,onClick:h,children:r}))};O.Content=b,O.Media=x;var P=O},9821:function(e,t,r){"use strict";var a=r(4184),c=r.n(a),n=r(5608),i=r(5976),o=r.n(i),l=r(5893),s=function(e){var t=e.className,r=e.children,a=e.raw;return(0,l.jsx)("div",{className:c()("content",o().content,t),onClick:function(e){var t;e.target&&"A"===e.target.tagName&&null!==(t=e.target.getAttribute("href"))&&void 0!==t&&t.startsWith("#")&&(0,n.l)(e,e.target.getAttribute("href"))},children:a?(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:r}}):r})};s.defaultProps={raw:!1},t.Z=s},2616:function(e,t,r){"use strict";var a=r(3169),c=r(6185),n=r(1795),i=(r(9976),r(7608)),o=r.n(i),l=r(5893);t.Z=function(e){var t,r,i=e.product,s=(0,c.H)().baseApiUrl;return(0,l.jsxs)(n.Z,{className:o().productCard,children:[(0,l.jsx)(n.Z.Media,{className:o().productCardImage,label:"View Product",src:i.images&&i.images.length>0&&null!==i&&void 0!==i&&null!==(t=i.images[0])&&void 0!==t&&null!==(r=t.sizes)&&void 0!==r&&r.l?"".concat(s).concat(i.images.find((function(e){return e.isMainImage}))?i.images.find((function(e){return e.isMainImage})).sizes.l.replace(/\s+/g,"%20"):i.images[0].sizes.l.replace(/\s+/g,"%20")):"/webImages/placeholder.jpg",ratio:"4/3"}),(0,l.jsxs)(n.Z.Content,{children:[(0,l.jsx)("div",{className:o().producTitle,children:(0,l.jsx)("h3",{className:o().productCardTitle,children:i.name})}),(0,l.jsx)("span",{className:o().productCardLabel,children:i.keywords}),(0,l.jsxs)("div",{className:o().productCardExtra,children:[(0,l.jsxs)("div",{className:o().extraItem,children:[(0,l.jsx)("span",{className:o().extraItemLabel,children:"Current Rating"}),(0,l.jsx)("span",{className:o().extraItemText,children:(0,a.dt)(i.aggregatedProductTags)||"-"})]}),(0,l.jsxs)("div",{className:o().extraItem,children:[(0,l.jsx)("span",{className:o().extraItemLabel,children:"Voltage Rating"}),(0,l.jsx)("span",{className:o().extraItemText,children:(0,a.AX)(i.aggregatedProductTags)||"-"})]})]})]})]})}},8392:function(e,t,r){"use strict";var a=r(7294),c=r(1664),n=r(1717),i=r(7992),o=r(7911),l=r(2616),s=r(4111),d=r(6643),u=r.n(d),p=r(5893),b=function(e){var t=e.products,r=e.title,d=e.label,b=e.shouldDisplayAll,m=e.product,g=(0,a.useState)(b?t:t.slice(0,3)),_=g[0],f=g[1],j=(0,a.useState)(!1),h=j[0],x=j[1];return(0,p.jsx)("section",{className:u().relatedProducts,children:(0,p.jsxs)("div",{className:"grid",children:[(r||d)&&(0,p.jsx)(o.Z,{title:r,label:d,variant:"h2"}),(0,p.jsxs)("div",{className:"".concat(u().relatedProductsProducts," grid"),children:[_.map((function(e,t){return(0,p.jsx)(c.default,{href:e.productCategories[0].parent.parent?"/".concat(e.productCategories[0].parent.parent.slug,"/").concat(e.productCategories[0].parent.slug,"-").concat(e.productCategories[0].parent.id,"/").concat(e.productCategories[0].slug,"-").concat(e.productCategories[0].id,"/").concat(e.id,"/"):"/".concat(e.productCategories[0].parent.slug,"/").concat(e.productCategories[0].slug,"-").concat(e.productCategories[0].id,"/").concat(e.id,"/"),passHref:!0,prefetch:!1,children:(0,p.jsx)("a",{className:u().relatedProductsItem,title:e.label,onClick:function(){return i.wZ({product:e,label:d,productName:m})},children:(0,p.jsx)(l.Z,{product:e})})},"related-product--".concat(t))})),!b&&t.length>3&&(0,p.jsx)(n.zx,{onClick:function(){h?(f(t.slice(0,3)),x(!1)):(f(t),x(!0))},className:u().relatedProductsButton,outlined:!0,icon:(0,p.jsx)(s.Z,{className:u().relatedProductsButtonIcon,icon:h?"close"
1:"plus",small:!0}),children:h?"View less":"View more"})]})]})})};b.defaultProps={shouldDisplayAll:!1,product:""},t.Z=b},7911:function(e,t,r){"use strict";var a=r(2809),c=r(219),n=r(4184),i=r.n(n),o=r(3181),l=r.n(o),s=r(5893),d=["title","label","shouldBeContained","variant","isH1","titleTag","labelTag","className"];function u(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 p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var b=function(e){var t,r=e.title,n=e.label,o=e.shouldBeContained,u=e.variant,b=(e.isH1,e.titleTag),m=e.labelTag,g=e.className,_=(0,c.Z)(e,d),f=m||"span",j=b||"h2";return(0,s.jsxs)("div",p(p({className:i()([l().sectionTitleLabel],"grid",g,(t={},(0,a.Z)(t,l().sectionTitleLabelContained,o),(0,a.Z)(t,l().sectionTitleLabelH2Style,"h2"===u),t))},_),{},{children:[n&&(0,s.jsx)(f,{className:l().sectionTitleLabelLabel,children:n}),r&&(0,s.jsx)(j,{className:l().sectionTitleLabelText,children:r})]}))};b.defaulProps={label:"",shouldBeContained:!1,isH1:!0},t.Z=b},6372:function(e){e.exports={Card:"Card_Card__3pcRI",CardMedia:"Card_CardMedia__1FJYW",cardMediaLabelWrapper:"Card_cardMediaLabelWrapper__1PCtv",cardMediaLabel:"Card_cardMediaLabel__3rrb1",videoWrapper:"Card_videoWrapper__1kQjI",CardMediaVideo3_2:"Card_CardMediaVideo3_2__2WByV",cardMediaVideo:"Card_cardMediaVideo__9OEs1",cardLabel:"Card_cardLabel__3k94K",cardSubtitle:"Card_cardSubtitle__1ZXYx",cardContent:"Card_cardContent__2TzQf",CardExtra:"Card_CardExtra__3z0v4"}},5976:function(e){e.exports={content:"Content_content__KAIAz"}},7608:function(e){e.exports={productCard:"ProductCard_productCard__2cxmk",productCardTitle:"ProductCard_productCardTitle__3Ng-Q",productCardExtra:"ProductCard_productCardExtra__2glgl",extraItem:"ProductCard_extraItem__1ltzi",extraItemLabel:"ProductCard_extraItemLabel__2xD_5",extraItemText:"ProductCard_extraItemText__1NDXD",productCardLabel:"ProductCard_productCardLabel__nJsZY",producTitle:"ProductCard_producTitle__3AzJV",productCardPackagingImage:"ProductCard_productCardPackagingImage__a9wH2"}},6643:function(e){e.exports={relatedProductsButton:"RelatedProducts_relatedProductsButton__Cgo-T",relatedProductsButtonIcon:"RelatedProducts_relatedProductsButtonIcon__BoJDe",relatedProductsItem:"RelatedProducts_relatedProductsItem__2j_sM",relatedProductsProducts:"RelatedProducts_relatedProductsProducts__MVpZ8"}},3181:function(e){e.exports={sectionTitleLabel:"SectionTitleLabel_sectionTitleLabel__3XVwz",sectionTitleLabelLabel:"SectionTitleLabel_sectionTitleLabelLabel__1aonP",sectionTitleLabelText:"SectionTitleLabel_sectionTitleLabelText__1yI0O",sectionTitleLabelH2Style:"SectionTitleLabel_sectionTitleLabelH2Style__3Q52a",sectionTitleLabelContained:"SectionTitleLabel_sectionTitleLabelContained__2_xfa"}}}]);
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.