PageSourceSearch

https://www.hasbropulse.com/mobify/bundle/2649/product-specifications.js

js hasbropulse.com collected 2026-09-24 09:05:35 UTC 9,120 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[9335],{70812:(e,t,n)=>{n.r(t),n.d(t,{default:()=>N});var a=n(58168),i=n(96540),r=n(5556),l=n.n(r),o=n(59146),s=n(67234),c=n(60967),d=n(54284),u=n(72176),p=n(77182),m=n(75158),g=n(21052),h=n(77714),v=n(6442),y=n(55170),f=n(145),E=n(62345),M=n(84819),I=n(87025);const _=e=>{let t=!!e.displayName,n=!!e.attributeIconSrc,r=!!e.value,l=h.mt.STACK;const s=(0,p.o)("ProductDetailContent",{variant:l});return l===h.mt.NO_TAG&&(t=!1),"spec"===e.specType?i.createElement(o.a,s.contentWrapper,t&&i.createElement(m.vw,(0,a.A)({variant:"outline"},s.tag),n&&i.createElement(c._,(0,a.A)({},s.icon,{src:"https://picsum.photos/id/63/16/16.webp"})),i.createElement(m.d1,null,e.displayName)),r&&i.createElement(g.E,(0,a.A)({},s.copyContainer,{size:"sm"}),"boolean"==typeof e.value?e.value?"Yes":"No":e.value)):i.createElement(o.a,{color:"white",borderTop:"none",paddingBottom:"0"})};_.propTypes={layout:l().oneOf([h.mt.NO_TAG,h.mt.STACK]),attributeId:l().any,specType:l().any,attributeName:l().string,attributeDetails:l().string,attributeIconSrc:l().string,value:l().any};const b=(e,t)=>{var n,a,i,r;(null==t||null===(n=t.current)||void 0===n?void 0:n.offsetHeight)<(null==t||null===(a=t.current)||void 0===a?void 0:a.scrollHeight)||(null==t||null===(i=t.current)||void 0===i?void 0:i.offsetWidth)<(null==t||null===(r=t.current)||void 0===r?void 0:r.scrollWidth)?e(!0):e(!1)};b.propTypes={setShowMore:l().boolean,clampContainerRef:l().object};const A=({product:e,euProduct:t,ukProduct:n})=>{var r,l;const[c,A]=(0,i.useState)(!0),N=(0,i.useRef)({}),T=(0,y.HH)(),C=(0,i.useRef)(null),w=(0,v.A)(),{id:x}=(0,I.A)(),W=(0,p.o)("ProductDetailContent"),L=null!=N&&N.current.c_productSpecs?(null==N?void 0:N.current.c_productSpecs.length)>0&&(null==N?void 0:N.current.c_productSpecs.filter((e=>"ageRange"!==e.attributeId&&"dimLengthMM"!==e.attributeId&&"dimLengthIN"!==e.attributeId&&"dimWidthMM"!==e.attributeId&&"dimWidthIN"!==e.attributeId&&"dimHeightMM"!==e.attributeId&&"dimHeightIN"!==e.attributeId&&"dimWeightKG"!==e.attributeId&&"dimWeightLB"!==e.attributeId&&"batteryInfo"!==e.attributeId&&"electricalInfo"!==e.attributeId?e:null))):null,S=(null==N?void 0:N.current.c_productSpecWarnings)||[],B={};if(e=(0,M.uq)(e,t,n,x),(0,i.useEffect)((()=>{var t;null!==(t=e)&&void 0!==t&&t.length&&((e,t)=>{let n=e.shopperProducts.getProduct({parameters:{id:t,allImages:!0}});if("string"==typeof(null==n?void 0:n.type))throw new f.HTTPNotFound(n.detail);return n})(T,e[0]).then((e=>{N.current=e,b(A,C)})).catch((()=>{N.current={}}))}),[e]),0===Object.keys(N.current).length)return i.createElement(i.Fragment,null);for(const e of(null==N?void 0:N.current.c_productSpecs)||[]){const{attributeId:t,value:n}=e;B[t]=n}return N&&(Object.keys(B).length>0||S.length>0||L&&L.length>0)?i.createElement(s.s,(0,a.A)({id:"product-specs"},W.productSpecsContainer,{alignItems:"flex-start"}),i.createElement(o.a,(0,a.A)({},W.productSpecsContentContainer,{position:"relative"}),i.createElement(o.a,(0,a.A)({},W.clampContainer,{className:b&&c?"collapse":"full",ref:C}),(null===(r=e)||void 0===r?void 0:r.c_productIncludes)&&i.createElement(o.a,W.contentWrapper,i.createElement(m.vw,(0,a.A)({variant:"outline"},W.tag),i.createElement(E.uQ,{marginRight:"8.75px",marginTop:"0.75px",height:"16.5px",width:"16.5px"}),i.createElement(m.d1,null,w.formatMessage({defaultMessage:[{type:0,value:"Includes"}],id:"product_detail.product_specifications.includes"}))),i.createElement(g.E,(0,a.A)({},W.copyContainer,{size:"sm"}),null===(l=e)||void 0===l?void 0:l.c_productIncludes)),(Object.keys(B).length>0||L&&L.length>0)&&i.createElement(o.a,W.contentWrapper,i.createElement(m.vw,(0,a.A)({variant:"outline"},W.tag),i.createElement(E.j4,{marginRight:"8.75px",marginTop:"0.75px",height:"16.5px",width:"16.5px"}),i.createElement(m.d1,null,w.formatMessage({defaultMessage:[{type:0,value:"Product Specifications"}],id:"product_detail.product_specifications.product_specifications"}))),i.createElement(u.Xy,(0,a.A)({},W.copyContainer,{paddingInlineStart:4}),B&&B.ageRange&&i.createElement(u.ck,null,i.createElement(o.a,{color:"white",borderTop:"none",paddingBottom:"0"},i.createElement(g.E,(0,a.A)({},W.copyContainer,{size:"sm"}),w.formatMessage({defaultMessage:[{type:0,value:"Ages "},{type:1,value:"age"},{type:0,value:"+"}],id:"product_specs.ages"},{age:B.ageRange})))),B&&(B.dimLengthMM||B.dimLengthIN)&&i.createElement(u.ck,null,i.createElement(o.a,{color:"white",borderTop:"none",paddingBottom:"0"},i.createElement(g.E,(0,a.A)({},W.copyContainer,{size:"sm"}),w.formatMessage({defaultMessage:[{type:0,value:"Length IN: "},{type:1,value:"inches"},{type:0,value:" / Length MM: "},{type:1,value:"millimeters"}],id:"product_specs.dim.lengthINandMM"},{inches:B.dimLengthIN,millimeters:B.dimLengthMM})))),B&&(B.dimWidthIN||B.dimWidthMM)&&i.createElement(u.ck,null,i.createElement(o.a,{color:"white",borderTop:"none",paddingBottom:"0"},i.createElement(g.E,(0,a.A)({},W.copyContainer,{size:"sm"}),w.formatMessage({defaultMessage:[{type:0,value:"Width IN: "},{type:1,value:"inches"},{type:0,value:" / Width MM: "},{type:1,value:"millimeters"}],id:"product_specs.dim.widthINandMM"},{inches:B.dimWidthIN,millimeters:B.dimWidthMM}
1)))),B&&(B.dimHeightIN||B.dimHeightMM)&&i.createElement(u.ck,null,i.createElement(o.a,{color:"white",borderTop:"none",paddingBottom:"0"},i.createElement(g.E,(0,a.A)({},W.copyContainer,{size:"sm"}),w.formatMessage({defaultMessage:[{type:0,value:"Height IN: "},{type:1,value:"inches"},{type:0,value:" / Height MM: "},{type:1,value:"millimeters"}],id:"product_specs.dim.heightINandMM"},{inches:B.dimHeightIN,millimeters:B.dimHeightMM})))),B&&(B.dimWeightLB||B.dimWeightKG)&&i.createElement(u.ck,null,i.createElement(o.a,{color:"white",borderTop:"none",paddingBottom:"0"},i.createElement(g.E,(0,a.A)({},W.copyContainer,{size:"sm"}),w.formatMessage({defaultMessage:[{type:0,value:"Weight LB: "},{type:1,value:"pounds"},{type:0,value:" / Weight KG: "},{type:1,value:"kilograms"}],id:"product_specs.dim.weightLBandKG"},{pounds:B.dimWeightLB,kilograms:B.dimWeightKG})))),L&&(null==L?void 0:L.length)>0&&(null==L?void 0:L.map(((e,t)=>i.createElement(_,(0,a.A)({key:t,layout:h.mt.NO_TAG},e))))))),S.length>0&&i.createElement(o.a,W.contentWrapper,i.createElement(m.vw,(0,a.A)({variant:"outline"},W.tag),i.createElement(E.YE,{marginRight:"8.75px",marginTop:"0.75px",height:"16.5px",width:"16.5px"}),i.createElement(m.d1,null,w.formatMessage({defaultMessage:[{type:0,value:"Product Warnings/Cautions"}],id:"product_detail.product_specifications.product_warnings_cautions"}))),i.createElement(u.Xy,(0,a.A)({},W.copyContainer,{paddingInlineStart:4}),null==S?void 0:S.map(((e,t)=>i.createElement(_,(0,a.A)({key:t,layout:h.mt.NO_TAG},e))))))),b&&c?i.createElement(o.a,W.showMoreContainer,i.createElement(d.N,{variant:"underline",fontWeight:"medium",onClick:e=>{e.preventDefault(),A(!1)}},w.formatMessage({defaultMessage:[{type:0,value:"Show More"}],id:"content.product_details.show_more"}))):b&&!c&&i.createElement(o.a,W.showLessContainer,i.createElement(d.N,{variant:"underline",fontWeight:"medium",onClick:e=>{e.preventDefault(),A(!0)}},w.formatMessage({defaultMessage:[{type:0,value:"Show Less"}],id:"content.product_details.show_less"}))))):i.createElement(i.Fragment,null)};A.propTypes={image:l().shape({mainImage:l().shape({image:l().shape({id:l().string,name:l().string,endpoint:l().string,defaultHost:l().string,alt:l().string,disBaseLink:l().string,link:l().string,absURL:l().string})})}),product:l().arrayOf(l().string),euProduct:l().arrayOf(l().string),ukProduct:l().arrayOf(l().string)};const N=A},75158:(e,t,n)=>{n.d(t,{d1:()=>m,vw:()=>p});var a=n(74848),i=n(27692),r=n(60456),l=n(33738),o=n(12600),s=n(77182),c=n(92612);const[d,u]=(0,r.q)({name:"TagStylesContext",errorMessage:"useTagStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Tag />\" "}),p=(0,o.R)(((e,t)=>{const n=(0,s.o)("Tag",e),r=(0,i.M)(e),l={display:"inline-flex",verticalAlign:"top",alignItems:"center",maxWidth:"100%",...n.container};return(0,a.jsx)(d,{value:n,children:(0,a.jsx)(c.B.span,{ref:t,...r,__css:l})})}));p.displayName="Tag";const m=(0,o.R)(((e,t)=>{const n=u();return(0,a.jsx)(c.B.span,{ref:t,noOfLines:1,...e,__css:n.label})}));m.displayName="TagLabel",(0,o.R)(((e,t)=>(0,a.jsx)(l.I,{ref:t,verticalAlign:"top",marginEnd:"0.5rem",...e}))).displayName="TagLeftIcon",(0,o.R)(((e,t)=>(0,a.jsx)(l.I,{ref:t,verticalAlign:"top",marginStart:"0.5rem",...e}))).displayName="TagRightIcon";const g=e=>(0,a.jsx)(l.I,{verticalAlign:"inherit",viewBox:"0 0 512 512",...e,children:(0,a.jsx)("path",{fill:"currentColor",d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"})});g.displayName="TagCloseIcon",(0,o.R)(((e,t)=>{const{isDisabled:n,children:i,...r}=e,l={display:"flex",alignItems:"center",justifyContent:"center",outline:"0",...u().closeButton};return(0,a.jsx)(c.B.button,{ref:t,"aria-label":"close",...r,type:"button",disabled:n,__css:l,children:i||(0,a.jsx)(g,{})})})).displayName="TagCloseButton"}}]);

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.