PageSourceSearch

https://www.sportdog.com/8aa7664993a0e2c4d5136bc57ad485788fd61873-e5cd496a621e9747f6b9.js

js sportdog.com collected 2026-09-25 19:53:15 UTC 50,743 bytes, 55 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="5e5dd40b-8826-4bce-8ddc-42d5ee4d0060",e._sentryDebugIdIdentifier="sentry-dbid-5e5dd40b-8826-4bce-8ddc-42d5ee4d0060")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"a1914b02daa8c613ead1e27da03d97f802f0ebde"};(self.webpackChunksportdog=self.webpackChunksportdog||[]).push([[6420],{134:function(e,l,t){var n=t(45314),i=t(45655),o=t(28610),r=t(31085);function a(e,l,t){const o=[];let a="";for(const[c,u]of e.entries()){var s,d;const v={...u};null!==(s=v.pathname)&&void 0!==s&&s.startsWith("/")&&(v.pathname=v.pathname.slice(1)),"shop"===(null===(d=v.title)||void 0===d?void 0:d.toLowerCase())&&(v.title=t(e=>e.breadcrumbComponent.shopBreadcrumbLabel)),!l&&v.pathname&&(a=a?`${a}/${v.pathname}`:v.pathname);const p=l?v.pathname:a,m=c===e.length-1;o.push((0,r.jsxs)("li",{className:"mb-0 flex items-center gap-[5px]",children:[c>0&&(0,r.jsx)(n.U7T,{"aria-hidden":"true",className:"shrink-0"}),m?(0,r.jsx)("span",{"aria-current":"page",className:"text-xs leading-[1.2]",children:v.title}):(0,r.jsx)(i.LocalizedLink,{"aria-label":v.title,to:`/${p}`,className:"text-xs leading-[1.2] hover:underline",children:v.title})]},v.title))}return o}l.A=function({breadcrumbs:e,custom:l=!1}){const{tt:t}=(0,o.useUiComponentsInternationalContext)();return(0,r.jsx)("nav",{"aria-label":"breadcrumb",children:(0,r.jsx)("ol",{className:"m-0 flex flex-wrap gap-[5px] p-0",children:a(e,l,t)})})}},9262:function(e,l,t){var n=t(7767);l.A=n.A},15787:function(e,l,t){var n=t(14041),i=t(45314),o=t(11396),r=t(20986),a=t(98417),s=t(28610),d=t(11352),c=t(31085);l.A=({manuals:e,supportPage:l=null,warnings:t=null,warranties:u=null})=>{var v;const{activeVariant:p=null}=(0,n.useContext)(o.c)||{},{tt:m}=(0,s.useUiComponentsInternationalContext)(),{siteIdentifier:h}=(0,n.useContext)(d.O);return null===p?null:(0,c.jsxs)("div",{className:"flex flex-col rounded-lg bg-none p-0 pb-4 gap-4 md:bg-muted md:p-4 md:pb-8",children:[(0,c.jsx)("h2",{children:m(e=>e.supportCardComponent.supportCardHeader)}),(0,c.jsxs)("div",{className:"flex flex-col gap-4 lg:flex-row lg:pb-2 lg:border-b lg:border-border",children:[(null==e?void 0:e.length)>0&&(0,c.jsx)("div",{className:"flex flex-1 flex-col gap-2 pb-2 border-b border-border lg:border-0 lg:pb-0",children:(h&&"sportdog"===h?e:e.slice(0,1)).map(e=>{var l,t;return(0,c.jsxs)("div",{className:"flex items-end gap-2",children:[(0,c.jsx)(i.sGl,{className:"text-foreground-link h-6 w-6 md:text-muted-foreground-link"}),(0,c.jsx)(a.A,{className:"text-foreground-link font-bold text-sm hover:underline md:text-muted-foreground-link",link:null==e||null===(t=e.asset)||void 0===t?void 0:t.url,children:(null==e?void 0:e.label)||m(e=>e.supportCardComponent.productManualLink)})]},null===(l=e.asset)||void 0===l?void 0:l.id)})}),(0,c.jsxs)("div",{className:"flex flex-1 items-center gap-2 pb-2 border-b border-border lg:border-0 lg:pb-0",children:[(0,c.jsx)(i.EO$,{className:"text-foreground-link h-6 w-6 md:text-muted-foreground-link"}),(0,c.jsx)(a.A,{className:"text-foreground-link font-bold text-sm hover:underline md:text-muted-foreground-link",link:l||`https://support.${h}.com`,children:m(e=>e.supportCardComponent.moreSupportTopicsLink)})]})]}),!(null==p||!p.sku)&&(0,c.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,c.jsx)("h3",{className:"text-base",children:m(e=>e.supportCardComponent.itemModelNumberLabel)}),(0,c.jsx)("span",{className:"text-foreground",children:null==p?void 0:p.sku})]}),(null==t||null===(v=t.filter(e=>{var l;return null===(l=e.warning)||void 0===l?void 0:l.block}))||void 0===v?void 0:v.length)>0&&(0,c.jsxs)("div",{className:"flex flex-col gap-1 [&>p]:my-0 [&>p]:text-foreground",children:[(0,c.jsx)("h3",{className:"text-base",children:(null==t?void 0:t.length)>1?m(e=>e.supportCardComponent.warningsLabel):m(e=>e.supportCardComponent.warningLabel)}),null==t?void 0:t.filter(e=>{var l;return null===(l=e.warning)||void 0===l?void 0:l.block}).map(e=>(0,c.jsx)(r.A,{body:e.warning.block},e._key))]}),u&&(0,c.jsxs)("div",{className:"flex flex-col gap-1 [&>p]:my-0 [&>p]:text-foreground",children:[(0,c.jsx)("h3",{className:"text-base",children:(null==u?void 0:u.length)>1?m(e=>e.supportCardComponent.productWarrantiesLabel):m(e=>e.supportCardComponent.productWarrantyLabel)}),null==u?void 0:u.filter(e=>{var l;return null===(l=e.warranty)||void 0===l?void 0:l.block}).map(e=>(0,c.jsx)(r.A,{body:e.warranty.block},e._key))]})]})}},20986:function(e,l,t){var n=t(60413),i=t(45597),o=t(98417),r=t(78710),a=t(85434),s=t(8294),d=t(56615),c=t(99258),u=t
1(40746),v=t(46001),p=t(19720),m=t(31085);const h=({value:e})=>{var l,t,n,i;return(0,m.jsx)("div",{className:"overflow-x-auto my-4",children:(0,m.jsxs)("table",{className:"min-w-full border-collapse text-sm",children:[(0,m.jsx)("thead",{children:(0,m.jsx)("tr",{children:null==e||null===(l=e.rows)||void 0===l||null===(t=l[0])||void 0===t?void 0:t.cells.map((l,t)=>(0,m.jsx)("th",{className:"text-left whitespace-nowrap font-extrabold px-2.5 py-2 border-b border-gray-200 text-typography-base",style:{width:100/e.rows[0].cells.length+"%"},children:l},`${l}-${t}`))})}),(0,m.jsx)("tbody",{children:null==e||null===(n=e.rows)||void 0===n||null===(i=n.slice(1))||void 0===i?void 0:i.map(l=>(0,m.jsx)("tr",{className:"divide-x divide-gray-200 md:divide-x-0",children:l.cells.map((l,t)=>(0,m.jsx)("td",{className:"p-2.5",style:{width:100/e.rows[0].cells.length+"%"},children:l},`${l}-${t}`))},l._key))})]})})},g={types:{blockBuilderTestimonial:u.A,blockBuilderBreak:d.A,blockContentImage:s.A,blockImage:s.A,blockContentLinkGrid:c.A,mediaGrid:({value:e})=>(0,m.jsx)(v.A,{value:e,getInternalLink:r.gk}),videoGallery:p.A,blockBuilderImage:({value:e})=>{var l;return(0,m.jsx)(i.sn,{className:"blockBuilderImage w-full h-auto my-2",id:null==e||null===(l=e.asset)||void 0===l?void 0:l._id,hotspot:null==e?void 0:e.hotspot,crop:null==e?void 0:e.crop,alt:null==e?void 0:e.alt})},deptBuilderImage:({value:e})=>{var l;return(0,m.jsx)(i.sn,{className:"deptBuilderImage my-2",...e,id:null==e||null===(l=e.asset)||void 0===l?void 0:l._id,style:{height:e.asset.height,width:e.asset.width}})},image:({value:e})=>{var l;return(0,m.jsx)(i.sn,{className:"image my-2",...e,id:null==e||null===(l=e.asset)||void 0===l?void 0:l._id,style:{height:e.asset.height,width:e.asset.width}})},inlineIcon:({value:e})=>{var l;return(0,m.jsx)(i.sn,{alt:"Inline Icon",...e,id:null==e||null===(l=e.asset)||void 0===l?void 0:l._id,style:{height:(null==e?void 0:e.iconHeight)||"16",width:(null==e?void 0:e.iconWidth)||"16",marginRight:".25rem"}})},table:({value:e})=>(0,m.jsx)(h,{value:e})},marks:{internalLink:({children:e,value:l})=>{const t=(null==l?void 0:l.localizedReference)||(null==l?void 0:l.reference);if(t&&"object"==typeof t&&!t._ref&&t._type){const l=(0,a.Ay)("internal","",t);if(l)return(0,m.jsx)(o.A,{className:"underline",link:l,children:e})}return(0,m.jsx)("span",{className:"underline",children:e})},link:({children:e,value:l})=>{if("internal"===(null==l?void 0:l.linkType)){const t=null==l?void 0:l.internalLink;if(t&&"object"==typeof t&&t._type&&!t._ref){const l=(0,a.Ay)("internal","",t);if(l)return(0,m.jsx)(o.A,{className:"underline",link:l,children:e})}}return(0,m.jsx)(o.A,{className:"underline",link:l,children:e})},strong:({children:e})=>(0,m.jsx)("b",{children:e}),em:({children:e})=>(0,m.jsx)("em",{children:e}),sub:({children:e})=>(0,m.jsx)("sub",{children:e}),sup:({children:e})=>(0,m.jsx)("sup",{children:e})},block:{normal:({children:e})=>(0,m.jsx)("p",{className:"my-4 text-base",children:e}),blockquote:({children:e})=>(0,m.jsx)("blockquote",{className:"border-l-4 pl-4 italic my-4",children:e}),h1:({children:e})=>(0,m.jsx)("h1",{className:"my-4 text-4xl font-bold",children:e}),h2:({children:e})=>(0,m.jsx)("h2",{className:"my-4 text-3xl font-bold",children:e}),h3:({children:e})=>(0,m.jsx)("h3",{className:"my-4 text-2xl font-bold",children:e}),h4:({children:e})=>(0,m.jsx)("h4",{className:"my-4 text-xl font-bold",children:e}),h5:({children:e})=>(0,m.jsx)("h5",{className:"my-4 text-lg font-bold",children:e}),h6:({children:e})=>(0,m.jsx)("h6",{className:"my-4 text-base font-bold",children:e})},list:{bullet:({children:e})=>(0,m.jsx)("ul",{className:"list-disc ml-6 mb-2",children:e}),number:({children:e})=>
1(0,m.jsx)("ol",{className:"list-decimal ml-6 mb-2",children:e})},unknownBlockStyle:({children:e})=>(0,m.jsx)("p",{className:"my-4 text-base",children:e}),unknownList:({children:e})=>(0,m.jsx)("ul",{className:"list-disc ml-6 mb-2",children:e}),unknownListItem:({children:e})=>(0,m.jsx)("li",{className:"mb-1",children:e}),listItem:({children:e})=>(0,m.jsx)("li",{className:"mb-1",children:e}),hardBreak:()=>(0,m.jsx)("br",{}),unknownMark:({children:e})=>(0,m.jsx)("span",{children:e}),unknownType:()=>null};l.A=({body:e})=>e?(0,m.jsx)(n.RK,{value:e,components:g}):null},56252:function(e,l,t){t.r(l),t.d(l,{default:function(){return Fe}});var n=t(14041);function i(e){var l,t,n,i,o,r,a,s,d,c,u,v,p,m,h,g;const{store:x}=e,b=null!==(l=null==x?void 0:x.gid)&&void 0!==l?l:`gid://shopify/Product/${null==x?void 0:x.id}`,f=(null!==(t=null==x?void 0:x.variants)&&void 0!==t?t:[]).map(e=>{var l,t,n,i,o,r;return{...e,shopifyId:null!==(l=e.gid)&&void 0!==l?l:e.id?`gid://shopify/ProductVariant/${e.id}`:void 0,availableForSale:null!==(t=e.availableForSale)&&void 0!==t?t:"Available"===e.variantLifecycle,variantOptions:null!==(n=e.selectedOptions)&&void 0!==n?n:[],media:(null!==(i=e.media)&&void 0!==i?i:[]).map(e=>({image:e.image?{src:e.image.src}:null})),metafields:null!==(o=e.metafields)&&void 0!==o?o:[],selectedOptions:null!==(r=e.selectedOptions)&&void 0!==r?r:[]}});return{_id:e._id,badge:null!==(n=e.badge)&&void 0!==n?n:void 0,dynamicFeatures:null!==(i=null!==(o=null!==(r=e.dynamicFeatures)&&void 0!==r&&r.length?e.dynamicFeatures:null)&&void 0!==o?o:null===(a=e.features)||void 0===a?void 0:a.map(e=>({text:e})))&&void 0!==i?i:void 0,store:{title:null!==(s=null==x?void 0:x.title)&&void 0!==s?s:"",slug:{current:null!==(d=null==x||null===(c=x.slug)||void 0===c?void 0:c.current)&&void 0!==d?d:""},previewImageUrl:null!==(u=null==x?void 0:x.previewImageUrl)&&void 0!==u?u:"",variants:null!==(v=null==x?void 0:x.variants)&&void 0!==v?v:[]},shopifyProduct:{shopifyId:b,title:null!==(p=null==x?void 0:x.title)&&void 0!==p?p:"",productType:null!==(m=null==x?void 0:x.productType)&&void 0!==m?m:"",options:null!==(h=null==x?void 0:x.options)&&void 0!==h?h:[],variants:f,priceRangeV2:null!==(g=null==x?void 0:x.priceRangeV2)&&void 0!==g?g:{minVariantPrice:{amount:"0"},maxVariantPrice:{amount:"0"}},productLifecycle:null==x?void 0:x.productLifecycle}}}var o=t(18095),r=t(94292),a=t(34930),s=t(99290);var d=r.default.div`
2  padding: 0;
3  background: ${({theme:e})=>e.colors.background};
4  border-bottom: 1px solid ${({theme:e})=>e.colors.border};
5
6  @media screen and (min-width: ${a.A.md}) {
7    padding: 0 ${s.A.spacing["spacing-md"]};
8  }
9
10  .image-gallery-bullets {
11    z-index: 1;
12  }
13
14  .product-container-details {
15    padding: 0 ${s.A.spacing["spacing-md"]};
16    @media screen and (min-width: ${a.A.md}) {
17      padding: 2rem 4rem 0;
18      border-left: solid 1px ${({theme:e})=>e.colors.border};
19      margin-left: ${s.A.spacing["spacing-md"]};
20    }
21  }
22
23  .carousel-area {
24    @media screen and (min-width: ${a.A.lg}) {
25      width: 50%;
26    }
27  }
28
29  .image-gallery-slide {
30    width: 100.1%; // fix 1px bleed on right side
31  }
32
33  .image-gallery-slide-wrapper {
34    overflow: hidden;
35    @media screen and (min-width: ${a.A.md}) {
36      max-height: auto;
37      padding-top: ${s.A.spacing["spacing-md"]};
38    }
39  }
40
41  .image-gallery-thumbnails-wrapper {
42    @media screen and (min-width: ${a.A.md}) {
43      padding-bottom: 0.5rem;
44    }
45  }
46`,c=t(28610),u=t(74061),v=t(31085);var p=function({productAttributes:e}){var l,t,n,i,o,r,a,s,d,p,m,h,g,x,b,f,j,y,w,k,A,C,N,S,P,I,T,L,D,R,$,_,B,M;const{specialFeatures:U,moreInformation:F,range:O,stimulationRanges:H,barkDetectionType:z,automaticShutoff:E,expandableSystem:V,remoteTransmitter:q,waterproof:G,beeperOptions:W,dogSize:Y,beeper:X,batteries:J,lowBatteryIndicator:K,productLength:Q,systemCompatibility:Z,contents:ee,productDimensions:le}=e,{tt:te}=(0,c.useUiComponentsInternationalContext)();return(0,v.jsxs)(v.Fragment,{children:[(null==U||null===(l=U[0])||void 0===l||null===(t=l.children[0])||void 0===t?void 0:t.text)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("h2",{children:te(e=>e.productAttributesComponent.specialFeaturesHeader)}),(0,v.jsx)(u.A,{blocks:U}
46)]}),(null==F||null===(n=F[0])||void 0===n||null===(i=n.children[0])||void 0===i?void 0:i.text)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("h2",{children:te(e=>e.productAttributesComponent.moreInformationHeader)}),(0,v.jsx)(u.A,{blocks:F})]}),(null==O||null===(o=O[0])||void 0===o||null===(r=o.children[0])||void 0===r?void 0:r.text)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("h2",{children:te(e=>e.productAttributesComponent.rangeHeader)}),(0,v.jsx)(u.A,{blocks:O})]}),(null==H||null===(a=H[0])||void 0===a||null===(s=a.children[0])||void 0===s?void 0:s.text)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("h2",{children:te(e=>e.productAttributesComponent.stimulationRangesHeader)}),(0,v.jsx)(u.A,{blocks:H})]}),(null==z||null===(d=z[0])||void 0===d||null===(p=d.children[0])||void 0===p?void 0:p.text)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("h2",{children:te(e=>e.productAttributesComponent.barkDetectionTypeHeader)}),(0,v.jsx)(u.A,{blocks:z})]}),(null==E||null===(m=E[0])||void 0===m||null===(h=m.children[0])||void 0===h?void 0:h.text)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("h2",{children:te(e=>e.productAttributesComponent.automaticShutoffHeader)}),(0,v.jsx)(u.A,{blocks:E})]}),(null==V||null===(g=V[0])||void 0===g||null===(x=g.children[0])||void 0===x?void 0:x.text)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("h2",{children:te(e=>e.productAttributesComponent.expandableSystemHeader)}),(0,v.jsx)(u.A,{blocks:V})]}),(null==q||null===(b=q[0])||void 0===b||null===(f=b.children[0])||void 0===f?void 0:f.text)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("h2",{children:te(e=>e.productAttributesComponent.remoteTransmitterHeader)}),(0,v.jsx)(u.A,{blocks:q})]}),(null==G||null===(j=G[0])||void 0===j||null===(y=j.children[0])||void 0===y?void 0:y.text)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("h2",{children:te(e=>e.productAttributesComponent.waterproofHeader)}),(0,v.jsx)(u.A,{blocks:G})]}),(null==W||null===(w=W[0])||void 0===w||null===(k=w.children[0])||void 0===k?void 0:k.text)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("h2",{children:te(e=>e.productAttributesComponent.beeperOptionsHeader)}),(0,v.jsx)(u.A,{blocks:W})]}),(null==Y||null===(A=Y[0])||void 0===A||null===(C=A.children[0])||void 0===C?void 0:C.text)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("h2",{children:te(e=>e.productAttributesComponent.dogSizeHeader)}),(0,v.jsx)(u.A,{blocks:Y})]}),(null==X||null===(N=X[0])||void 0===N||null===(S=N.children[0])||void 0===S?void 0:S.text)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("h2",{children:te(e=>e.productAttributesComponent.beeperHeader)}),(0,v.jsx)(u.A,{blocks:X})]}),(null==J||null===(P=J[0])||void 0===P||null===(I=P.children[0])||void 0===I?void 0:I.text)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("h2",{children:te(e=>e.productAttributesComponent.batteriesHeader)}),(0,v.jsx)(u.A,{blocks:J})]}),K&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("h2",{children:te(e=>e.productAttributesComponent.lowBatteryIndicatorHeader)}),(0,v.jsx)("p",{children:te(e=>e.productAttributesComponent.yes)})]}),(null==Q||null===(T=Q[0])||void 0===T||null===(L=T.children[0])||void 0===L?void 0:L.text)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("h2",{children:te(e=>e.productAttributesComponent.productLengthHeader)}),(0,v.jsx)(u.A,{blocks:Q})]}),(null==Z||null===(D=Z[0])||void 0===D||null===(R=D.children[0])||void 0===R?void 0:R.text)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("h2",{children:te(e=>e.productAttributesComponent.systemCompatibilityHeader)}),(0,v.jsx)(u.A,{blocks:Z})]}),(null==ee||null===($=ee[0])||void 0===$||null===(_=$.children[0])||void 0===_?void 0:_.text)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("h2",{children:te(e=>e.productAttributesComponent.contentsHeader)}),(0,v.jsx)(u.A,{blocks:ee})]}),(null==le||null===(B=le[0])||void 0===B||null===(M=B.children[0])||void 0===M?void 0:M.text)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("h2",{children:te(e=>e.productAttributesComponent.productDimensionsHeader)}),(0,v.jsx)(u.A,{blocks:le})]})]})},m=t(64619),h=t(57850),g=t(11396),x=t(134),b=t(78710),f=t(2157),j=t(45655),y=t(30997);var w=function(e,l=0,t="smooth"){const n=document.querySelector(e);
46if(n){const e=n.getBoundingClientRect().top+window.pageYOffset+l;window.scrollTo({top:e,behavior:t})}};var k=t(24577);const A=(e,l)=>l?{reviews:"false",questions:"false",ratingSummary:"false"}:e?{reviews:"false",questions:"true",ratingSummary:"false"}:{reviews:"true",questions:"true",ratingSummary:"true"};var C=({sku:e,hasStaticReviewSchema:l=!1,suppressClientSeo:t=!1})=>{const{showBazaarVoice:i}=(0,n.useContext)(k.rS),{locale:o}=(0,c.useUiComponentsInternationalContext)();if((0,n.useEffect)(()=>{const e=e=>{if(globalThis.innerWidth<1024)return;const l=e.target;null!=l&&l.closest('#bv_review_maincontainer button[role="link"]')&&globalThis.setTimeout(()=>{w("#reviews_container",-80)},1e3)};return globalThis.document.addEventListener("click",e),()=>globalThis.document.removeEventListener("click",e)},[]),!1===i(o))return null;const{reviews:r,questions:a}=A(l,t);return(0,v.jsxs)("div",{id:`BVRRInlineRating-${(0,b.Ti)(e)}`,children:[(0,v.jsx)("div",{"data-bv-show":"reviews","data-bv-product-id":(0,b.Ti)(e),"data-bv-seo":r}),(0,v.jsx)("div",{"data-bv-show":"questions","data-bv-product-id":(0,b.Ti)(e),"data-bv-seo":a})]})},N=t(11352);const S="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",P=620;var I=t(59421);const T="cursor-auto rounded-lg w-full aspect-square object-contain";var L=t(39477),D=t(17559),R=t(45314),$=t(44292),_=t(80435),B=t(9431),M=t(76905),U=M.Bd?window:null,F=function(e){return!!e.addEventListener},O=function(e){return!!e.on},H=function(e,l,t,i){void 0===t&&(t=U),(0,n.useEffect)(function(){if(l&&t)return F(t)?(0,M.on)(t,e,l,i):O(t)&&t.on(e,l,i),function(){F(t)?(0,M.AU)(t,e,l,i):O(t)&&t.off(e,l,i)}},[e,l,t,JSON.stringify(i)])};function z({alt:e,fetchPriority:l="auto",imageHeight:t=400,src:i}){const o=(0,n.useRef)(null),{0:r,1:a}=(0,n.useState)("0% 0%"),{0:s,1:d}=(0,n.useState)({height:`${t}px`,width:"auto"}),c=()=>{if(a("0% 0%"),o.current){const e=new Image;e.onload=()=>{d(l=>({...l,width:Number(l.height)*(e.width/e.height)+"px"}))},e.src=i;const{height:l}=o.current.getBoundingClientRect();d(e=>({...e,height:`${0===l?t:l}px`}))}};return H("resize",c),(0,n.useEffect)(c,[t,i]),(0,v.jsx)("figure",{role:"presentation",className:"[&>img]:hover:opacity-0 bg-no-repeat static h-full",onMouseMove:e=>{if("undefined"!=typeof window){const{left:l,top:t,width:n,height:i}=e.target.getBoundingClientRect(),o=(e.pageX-l)/n*100,r=(e.pageY-window.scrollY-t)/i*100;a(`${o}% ${r}%`)}},style:{backgroundImage:`url(${i})`,backgroundPosition:r,...s},children:(0,v.jsx)("img",{className:"w-auto pointer-events-none",ref:o,src:(0,b.OU)(i,600),alt:e,fetchPriority:l,style:{maxHeight:`${t}px`}})})}const E=e=>{var l,t,i,o,r;const{tt:a}=(0,c.useUiComponentsInternationalContext)(),s=null==e?void 0:e.images,d=null==e?void 0:e.selectedMedia,u=null==e?void 0:e.setSelectedMedia,p=(0,n.useRef)(null),{0:m,1:h}=(0,n.useState)(!1),g=(0,n.useRef)(0),x=(0,n.useRef)(0),b=(0,n.useRef)(null),f=()=>{h(!1)};return(0,v.jsxs)("div",{className:"hidden w-full relative lg:block",children:[(0,v.jsxs)("div",{className:"flex items-center",children:[(0,v.jsx)("div",{className:"aspect-video w-full overflow-hidden",ref:p,children:(0,v.jsx)(L.N,{initial:!1,children:(0,v.jsx)(D.P.div,{animate:{x:0,opacity:1},exit:{x:-300,opacity:0},initial:{x:0,opacity:0},transition:{duration:.3},children:(0,v.jsx)("div",{className:"flex justify-center",children:(null==d||null===(t=d.image)||void 0===t?void 0:t.src)&&(0,v.jsx)(z,{src:null==d||null===(i=d.image)||void 0===i?void 0:i.src,alt:(null==d||null===(o=d.image)||void 0===o?void 0:o.altText)||a(e=>e.productContainerDeptComponents.productImageAlt),imageHeight:(()=>{if(p.current){const{height:e}=p.current.getBoundingClientRect();return e}return 400})(),fetchPriority:d.id===(null===(r=s[0])||void 0===r?void 0:r.id)?"high":"low"})})},null==d||null===(l=d.image)||void 0===l?void 0:l.src)})}),(0,v.jsx)(_.$,{"aria-label":a(e=>e.productContainerDeptComponents.previousAriaLabel),className:"absolute left-4 top-[40%] rounded-full",onClick:()=>{const e=(s.findIndex(e=>e.id===(null==d?void 0:d.id))-1+s.length)%s.length,l=s[e];l&&u(l)},size:"icon",variant:"cta",children:(0,v.jsx)(R.MGo,{size:24})}),(0,v.jsx)(_.$,{"aria-label":a(e=>
46e.productContainerDeptComponents.nextAriaLabel),className:"absolute right-4 top-[40%] rounded-full",onClick:()=>{const e=(s.findIndex(e=>e.id===(null==d?void 0:d.id))+1)%s.length,l=s[e];l&&u(l)},size:"icon",variant:"cta",children:(0,v.jsx)(R.a1M,{size:24})})]}),(0,v.jsxs)("div",{className:"w-full relative",children:[(0,v.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-gradient-to-r from-transparent via-transparent to-background via-80% pointer-events-none z-[1]"}),(0,v.jsx)("div",{className:"overflow-auto w-full pr-24",onMouseDown:e=>{var l;e.preventDefault(),h(!0),g.current=e.clientX,x.current=(null==b||null===(l=b.current)||void 0===l?void 0:l.scrollLeft)||0},onMouseMove:e=>{if(!m)return;e.preventDefault();const l=e.clientX-g.current;b.current&&(b.current.scrollLeft=x.current-l)},onMouseUp:f,onMouseLeave:f,ref:b,role:"button",tabIndex:0,children:(0,v.jsx)("div",{className:"hidden cursor-auto flex-nowrap gap-4 w-max h-40 py-10 lg:flex",children:s.map((e,l)=>(0,v.jsx)(_.$,{className:"h-full w-auto p-0 aspect-square",onClick:()=>u(e),children:(0,v.jsx)(B.A,{alt:e.image.altText||`${a(e=>e.productContainerDeptComponents.placeholderImageAlt)} ${l}`,className:(0,$.cn)("cursor-pointer rounded-lg border hover:scale-105 transition ease-in-out delay-100",(null==d?void 0:d.id)===e.id?"border-ring":"border-border"),src:(0,I.O)(e.image.src,600),width:"5rem"})},e.id))})})]})]})};var V=t(41380),q=t(98417);const G=({alt:e,src:l})=>(0,v.jsxs)("picture",{children:[(0,v.jsx)("source",{media:`not all and (min-width: ${a.A.lg})`,srcSet:l}),(0,v.jsx)("img",{alt:e,className:T,fetchPriority:"high",height:P,loading:"eager",src:S,width:P})]}),W=({alt:e,isActive:l,original:t})=>t?(0,v.jsx)("img",{alt:e,className:T,fetchPriority:"low",height:P,loading:l?"eager":"lazy",src:t,width:P}):null,Y=e=>{var l,t,i,o,r;const{images:a,isHydrated:s,selectedMedia:d,setSelectedMedia:u}=e,p=a[0],m=(0,I.O)(null!==(l=null==p||null===(t=p.image)||void 0===t?void 0:t.src)&&void 0!==l?l:null,P),h=null!==(i=null==p||null===(o=p.image)||void 0===o?void 0:o.altText)&&void 0!==i?i:"",g=((e,l)=>{const t=e.findIndex(e=>e.id===l);return t<0?0:t})(a,null==d?void 0:d.id),x=(0,n.useRef)(null),{tt:b}=(0,c.useUiComponentsInternationalContext)();if((0,n.useEffect)(()=>{var e;null===(e=x.current)||void 0===e||e.slideToIndex(g)},[a,g]),!m)return null;const f=(e=>e.map((e,l)=>{var t;return{alt:e.image.altText,index:l,original:null!==(t=(0,I.O)(e.image.src,P))&&void 0!==t?t:"",originalClass:"w-[90%] h-[90%]"}}))(a);return(0,v.jsxs)("div",{className:"lg:hidden",id:"mobile_image_gallery",children:[(0,v.jsxs)("div",{className:"relative max-h-[620px] overflow-hidden",children:[!(null==d||null===(r=d.image)||void 0===r||!r.src)&&(0,v.jsx)(q.A,{className:"absolute bottom-2 right-2 rounded-full z-[1]",link:null==d?void 0:d.image.src,children:(0,v.jsx)(_.$,{"aria-label":b(e=>e.productContainerDeptComponents.fullScreenAriaLabel),className:"w-9 py-2",size:"sm",variant:"ghost",children:(0,v.jsx)(R.JvP,{className:"min-w-6 min-h-6"})})}),(0,v.jsx)("div",{"aria-hidden":s,className:(0,$.cn)("flex justify-center",s&&"invisible absolute inset-0 pointer-events-none"),children:(0,v.jsx)(G,{alt:h,src:m})}),s&&(0,v.jsx)(V.A,{items:f,onSlide:e=>{const l=a[e];l&&l.id!==(null==d?void 0:d.id)&&u(l)},renderItem:e=>(0,v.jsx)(W,{alt:e.alt,isActive:e.index===g,original:e.original}),renderLeftNav:(e,l)=>(0,v.jsx)(_.$,{"aria-label":b(e=>e.productContainerDeptComponents.previousAriaLabel),className:"absolute w-9 py-2 left-4 top-[40%] rounded-full z-[1]",disabled:l,onClick:e,size:"sm",variant:"outline",children:(0,v.jsx)(R.MGo,{className:"min-w-6 min-h-6"})}),renderRightNav:(e,l)=>(0,v.jsx)(_.$,{"aria-label":b(e=>e.productContainerDeptComponents.nextAriaLabel),className:"absolute w-9 py-2 right-4 top-[40%] rounded-full z-[1]",disabled:l,onClick:e,size:"sm",variant:"outline",children:(0,v.jsx)(R.a1M,{className:"min-w-6 min-h-6"})}),ref:x,showFullscreenButton:!1,showNav:!0,showPlayButton:!1,slideDuration:200,startIndex:g})]}),(0,v.jsx)("div",{className:"flex gap-4 py-2 mt-2 items-center justify-center",children:a.map(e=>(0,v.jsx)("div",{className:(0,$.cn)("w-5 rounded-full cursor-pointer",(null==d?void 0:d.id)===e.id?"h-1 bg-brand":"h-0.5 bg-accent"),onClick:()=>u(e)},e.id))})]})},X=e=>{var l;return!(null==e||null===(l=e.image)||void 0===l||!l.src)},J=(e,l)=>(e||[]).filter(X).map(e=>{var t,n;return{id:(null==e?void 0:e.id)||(null==e||null===(t=e.image)||void 0===t?void 0:t.src),image:{src:e.image.src,altText:(null==e||null===(n=e.image)||void 0===n?void 0:n.altText)||l||""}}}),K=e=>{const l=new Set;return e.filter(e=>{const{src:t}=e.image;return!l.has(t)&&(l.add(t),!0)})},Q=({activeSku:e,colorLabel:l,fallbackImageUrl:t,productMedia:n,productTitle:i,selectedOptions:o,storeV
46ariants:r})=>{var a,s,d,c,u,v,p;let h=((e,l)=>{if(0!==Object.keys(l).length)return e.find(e=>Object.entries(l).every(([l,t])=>{var n;return null===(n=e.selectedOptions)||void 0===n?void 0:n.some(e=>(null==e?void 0:e.name)===l&&(null==e?void 0:e.value)===t)}))})(r,o);!h&&e&&(h=r.find(l=>((e,l)=>{var t;return e.sku===l||(null===(t=e.store)||void 0===t?void 0:t.sku)===l})(l,e)));const g=null!==(a=null===(s=h)||void 0===s?void 0:s.sku)&&void 0!==a?a:null===(d=h)||void 0===d||null===(c=d.store)||void 0===c?void 0:c.sku,x=J(null===(u=h)||void 0===u?void 0:u.media,i),b=new Set(r.flatMap(e=>J(e.media,i).map(e=>e.image.src))),f=J(n,i).filter(e=>!b.has(e.image.src)),j=t?[{id:`fallback-${null!==(v=null!=g?g:e)&&void 0!==v?v:"default"}`,image:{src:t,altText:i}}]:[],y=J(null===(p=((e,l,t,n,i)=>{const o=Object.keys(l).find(e=>(null==e?void 0:e.toLowerCase())===t);if(o)return e.find(e=>{var r,a;if(n&&(e.sku===n||(null===(r=e.store)||void 0===r?void 0:r.sku)===n))return!1;const s=null===(a=e.selectedOptions)||void 0===a?void 0:a.find(e=>{var l;return(null==e||null===(l=e.name)||void 0===l?void 0:l.toLowerCase())===t});return(null==s?void 0:s.value)===l[o]&&J(e.media,i).length>0})})(r,o,l,g,i))||void 0===p?void 0:p.media,i);return x.length?K([].concat((0,m.A)(x),(0,m.A)(f))):y.length?K([].concat((0,m.A)(y),(0,m.A)(f))):f.length?f:j},Z=`(min-width: ${a.A.lg})`,ee=e=>{const l=globalThis.matchMedia(Z);return l.addEventListener("change",e),()=>l.removeEventListener("change",e)},le=()=>globalThis.matchMedia(Z).matches?"desktop":"mobile",te=()=>"ssr",ne=({image:e})=>{const l=(0,I.O)(e.image.src,600);return l?(0,v.jsx)("div",{className:"hidden w-full relative lg:block",children:(0,v.jsx)("div",{className:"flex items-center",children:(0,v.jsx)("div",{className:"aspect-video w-full overflow-hidden",children:(0,v.jsx)("div",{className:"flex justify-center",children:(0,v.jsxs)("picture",{children:[(0,v.jsx)("source",{media:`(min-width: ${a.A.lg})`,srcSet:l}),(0,v.jsx)("img",{alt:e.image.altText,fetchPriority:"high",height:338,loading:"eager",src:S,width:600})]})})})})}):null};var ie=()=>{var e;const l=(0,n.use)(g.c),t=null===(e=(0,n.use)(N.O))||void 0===e?void 0:e.siteSettings,i=(0,n.useSyncExternalStore)(ee,le,te),{0:o,1:r}
46=(0,n.useState)(null),a=(0,n.useRef)(void 0),s=(0,n.useMemo)(()=>{var e,n,i,o,r,a;if(null==l||!l.product)return[];const{activeSku:s,activeVariant:d,colorLabel:c,product:u,selectedOptions:v}=l,p=null==t||null===(e=t.pdpSidebarFallbackImage)||void 0===e||null===(n=e.asset)||void 0===n?void 0:n.url;return Q({activeSku:null!==(i=null==d?void 0:d.sku)&&void 0!==i?i:s,colorLabel:c,fallbackImageUrl:p,productMedia:null===(o=u.shopifyProduct)||void 0===o?void 0:o.media,productTitle:(null===(r=u.store)||void 0===r?void 0:r.title)||"",selectedOptions:null!=v?v:{},storeVariants:(null===(a=u.store)||void 0===a?void 0:a.variants)||[]})},[null==l?void 0:l.activeSku,null==l?void 0:l.activeVariant,null==l?void 0:l.colorLabel,null==l?void 0:l.product,null==l?void 0:l.selectedOptions,t]);if((0,n.useEffect)(()=>{var e;const l=null===(e=s[0])||void 0===e?void 0:e.id,t=a.current!==l;if(a.current=l,!s.length)return void r(null);const n=s.some(e=>e.id===(null==o?void 0:o.id));!t&&n||r(s[0])},[s,null==o?void 0:o.id]),null==l||!l.product)return null;const d=null!=o?o:s[0];if(!d)return(0,v.jsx)("div",{className:"min-h-[380px]"});const c=e=>{r(e)};if("desktop"===i)return(0,v.jsx)("div",{className:"min-h-[380px]",children:(0,v.jsx)(E,{images:s,selectedMedia:d,setSelectedMedia:c})});const u="mobile"===i;return(0,v.jsxs)("div",{className:"min-h-[380px]",children:[(0,v.jsx)(Y,{images:s,isHydrated:u,selectedMedia:d,setSelectedMedia:c}),(0,v.jsx)(ne,{image:d})]})},oe=t(88992),re=t(60467),ae=t(77282),se=t(35416),de=t(98965),ce=t(36629),ue=t(52523),ve=t(10511),pe=t(2423),me=t(70204);var he=r.default.div`
47  overflow: hidden;
48  color: white !important;
49  margin: 15px 0;
50
51  .bv-content-feedback-voted-inappropriate .bv-content-report-btn {
52    background-color: ${({theme:e})=>e.colors.link} !important;
53  }
54`,ge=t(75652),xe=t(26280),be=t(34027);function fe({buttonFull:e=!0,siteSettings:l,hasStaticReviewSchema:t=!1,suppressPdpSchema:i=!1}
54){var o,r,a,s,d,c,u;const p=(0,oe.A)(),{algoliaSearchSettings:x,siteIdentifier:j}=(0,n.useContext)(N.O),w="search"===new URLSearchParams(null==p?void 0:p.search).get("nav"),{isNonCommerce:k}=(0,n.useContext)(h.C),{addOns:C,product:S,activeVariant:P,variants:I,quantity:T,sellingPlanGroups:L,pricing:D,selectedSellingPlan:R,subscribed:_,isBazaarVoiceEnabled:B}=(0,n.useContext)(g.c),{addToCart:M,setCartActive:U,cartActive:F}=(0,n.useContext)(ae.MI),O=(0,n.useRef)(null),{tt:H,currency:z}=(0,se.D5)(),{canAddToCart:E,hasInventoryData:V,isComingSoon:q,lifecycleDisabled:G}=(0,me.O)(),W=(0,n.useMemo)(()=>(0,b.Ti)((0,f.G)(S,P)),[S,P]);(0,de.YR)({product:null==S?void 0:S.shopifyProduct,activeVariant:P});const Y=new URLSearchParams(null==p?void 0:p.search).has("query"),X="true"===new URLSearchParams(null==p?void 0:p.search).get("fromRecommend"),J=(0,n.useMemo)(()=>{if(!X)return null;try{var e;const l=null===(e=globalThis.sessionStorage)||void 0===e?void 0:e.getItem(xe.Tg);return l?JSON.parse(l):null}catch{return null}},[X]);(0,n.useEffect)(()=>{var e;J&&(null===(e=globalThis.sessionStorage)||void 0===e||e.removeItem(xe.Tg))},[J]);const K="petsafe"===j,Q=(0,xe.PX)(),Z="true"===new URLSearchParams(null==p?void 0:p.search).get("fromPLP"),ee=Q.isAnyPLPContext?(0,xe.y5)(null):(0,xe.sz)(null),{ratingSummary:le}=A(t,i);return(0,v.jsxs)("div",{id:"product-details",ref:O,className:"flex flex-col items-start gap-4 pr-0 pb-0 lg:pb-16 w-full",children:[(0,v.jsx)("h1",{className:"text-xl md:text-2xl leading-extraTight md:leading-extraTight mb-0",children:null==S?void 0:S.store.title}),null!=L&&L.length&&!k?(0,v.jsx)(ce.A,{sub:!0,discount:null!==(o=null==R?void 0:R.percentageDiscount)&&void 0!==o?o:L[0].percentageDiscount}):null,(0,v.jsxs)("div",{className:"flex items-center content-center gap-2 self-stretch flex-wrap",children:[(null==S||null===(r=S.badge)||void 0===r?void 0:r.text)&&(0,v.jsx)(ce.A,{hex:null==S||null===(a=S.badge)||void 0===a?void 0:a.hex,message:null==S||null===(s=S.badge)||void 0===s?void 0:s.text,className:"mr-4"}),B&&W&&(0,v.jsx)("div",{className:"bazaarVoiceWrapper",children:(0,v.jsx)(he,{id:"bazaarVoice","data-bv-show":"rating_summary","data-bv-product-id":W,"data-bv-seo":le})})]}),!k&&!q&&!(V&&G)&&(0,v.jsx)(ue.A,{product:S,pricing:D,subscribed:_}),(null==S||null===(d=S.pdpAttributePairs)||void 0===d?void 0:d.length)>0&&(0,v.jsx)("div",{className:"flex flex-col items-start self-stretch md:grid grid-cols-2 gap-x-4",children:S.pdpAttributePairs.map(e=>(0,v.jsxs)("div",{className:"flex self-stretch gap-1 py-2 border-b last:border-0 md:last:border-b",children:[(0,v.jsx)(re.dnm,{size:"24",className:"shrink-0 fill-brand"}),(0,v.jsxs)("div",{className:"flex items-start flex-col",children:[(0,v.jsx)("p",{className:"text-sm mb-0",children:null==e?void 0:e.name}),(0,v.jsx)("p",{className:"text-sm font-bold",children:null==e?void 0:e.value})]})]},e._key))}),(null==S||null===(c=S.atGlance)||void 0===c?void 0:c.length)>0&&(0,v.jsx)("div",{className:"flex flex-col items-start self-stretch md:grid grid-cols-2 gap-x-6",children:S.atGlance.map(e=>(0,v.jsxs)("div",{className:"flex self-stretch gap-1 py-2 border-b last:border-0 md:last:border-b",children:[(0,v.jsx)(re.dnm,{size:"24",className:"shrink-0 fill-brand"}),(0,v.jsxs)("div",{className:"flex items-start flex-col",children:[(0,v.jsx)("p",{className:"text-sm mb-0",children:null==e?void 0:e.keyItem}),(0,v.jsx)("p",{className:"text-sm font-bold",children:null==e?void 0:e.valueItem})]})]},e._key))}),(0,v.jsx)(ve.A,{buttonFull:e,siteSettings:l}),!k&&(0,v.jsx)("div",{style:{boxShadow:"0px -10px 15px -3px rgba(0, 0, 0, 0.10), 0px -4px 6px -2px rgba(0, 0, 0, 0.05)",zIndex:1200},className:(0,$.cn)("hideAddToCartButton lg:hidden fixed bg-background py-4 px-6 mr-0 left-0 right-0 -bottom-px w-full",E&&!q?"block":"hidden"),children:(null==I?void 0:I.length)>1||(null==L?void 0:L.length)>0?(0,v.jsx)(pe.A,{"aria-label":H(e=>e.productContainerDeptComponents.scrollBackAriaLabel),className:"w-full",title:H(e=>e.productContainerDeptComponents.addToCartButton),variant:"cta",onClick:e=>{if(e.preventDefault(),null!=O&&O.current){const e=O.current.getBoundingClientRect().top+window.scrollY-80;window.scroll({top:e,behavior:"smooth"})}}}):(0,v.jsx)(pe.A,{type:"button",variant:"cta",className:"w-full","aria-label":`${H(e=>
54e.productContainerDeptComponents.addToCartButton)} ${null==S||null===(u=S.shopifyProduct)||void 0===u?void 0:u.title}`,title:H(e=>e.productContainerDeptComponents.addToCartButton),onClick:async e=>{var l,t,n;e.preventDefault(),e.stopPropagation();try{if(!await M({activeVariant:P,addOns:C,product:S,quantity:T,selectedSellingPlan:null,variantId:P.shopifyId,variantMetafields:null==P?void 0:P.metafields,cameFromSearch:w,cameFromRecommend:X||void 0,source:null==J?void 0:J.source,modelType:null==J?void 0:J.modelType}))return;K&&U(!F)}catch{return}X&&ee&&(null===(n=globalThis.sessionStorage)||void 0===n||n.setItem(xe.sO,ee));const i=(null!=C?C:[]).map(e=>{var l,t;return null==e||null===(l=e.cartProps)||void 0===l||null===(t=l.productId)||void 0===t?void 0:t.split("/").pop()}).filter(Boolean),o=(null!=C?C:[]).map(e=>{var l,t;return{price:null==e?void 0:e.price,quantity:null!==(l=null==e||null===(t=e.cartProps)||void 0===t?void 0:t.quantity)&&void 0!==l?l:1,discount:0}}),r={objectIDs:[null==S||null===(l=S.shopifyProduct)||void 0===l||null===(t=l.shopifyId)||void 0===t?void 0:t.split("/").pop()].concat((0,m.A)(i)).filter(Boolean),objectData:[{price:null==P?void 0:P.price,quantity:T,discount:(0,ge.mU)(null==P?void 0:P.price,null==R?void 0:R.percentageDiscount)}].concat((0,m.A)(o)),index:null==x?void 0:x.productIndexName,currency:z,queryID:ee};if(X&&ee?(0,ge.Dl)({objectIDs:r.objectIDs,objectData:r.objectData,index:r.index,currency:r.currency,queryID:ee,source:null==J?void 0:J.source,modelType:null==J?void 0:J.modelType}):Z&&ee?(0,be.pF)(r.objectIDs,r.objectData,ee,r.index,r.currency):Y||w?(0,ge.DD)(r):(0,ge.ZY)(r),(0,y.ns)(y.M1.gtm)){const e=(null==C?void 0:C.map(e=>{var l;return{quantity:e.cartProps.quantity,variant:{...e,title:e.cartProps.variantTitle},product:{shopifyId:null==e||null===(l=e.cartProps)||void 0===l?void 0:l.productId,title:e.cartProps.title,productType:e.cartProps.category,vendor:e.cartProps.brand},isSubscription:!1,category:(0,y.cn)(p)}}))||[],l=[{variant:P,product:null==S?void 0:S.shopifyProduct,quantity:T,isSubscription:!1,category:(0,y.cn)(p)}].concat((0,m.A)(e));(0,b.d)({event:"add_to_cart",ecommerce:{currency:z,value:l.reduce((e,l)=>e+l.quantity*l.variant.price,0)},items:l})}}})})]})}function je({description:e}){const l=(0,n.useRef)(null),{tt:t}=(0,se.D5)(),{0:i,1:o}=(0,n.useState)(!1),{0:r,1:a}=(0,n.useState)(!1),{0:s,1:d}=(0,n.useState)(0),c=s>=160;return(0,n.useEffect)(()=>{var e;i?d(null==l||null===(e=l.current)||void 0===e?void 0:e.clientHeight):i||o(!0)},[i]),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("div",{"aria-describedby":"product-description",className:(0,$.cn)("flex flex-col items-start",!r&&c?"text-transparent bg-clip-text bg-gradient-to-b from-foreground from-60% to-background":""),ref:l,children:(0,v.jsx)("div",{className:(0,$.cn)(r?"":"max-h-[160px] overflow-hidden","[&>p]:mb-4","[&_sup]:static"),dangerouslySetInnerHTML:{__html:e},id:"product-description"})}),c&&(0,v.jsxs)(_.$,{"aria-controls":"product-description","aria-expanded":r,className:"px-1 rounded-none w-full flex justify-between border-b border-border focus-visible:outline focus-visible:outline-2 focus-visible:outline-ring focus-visible:outline-offset-2 focus:outline-transparent focus:outline-0",onClick:()=>a(!r),variant:"ghost",children:[t(r?e=>e.productContainerDeptComponents.readLessLabel:e=>e.productContainerDeptComponents.readMoreLabel),r?(0,v.jsx)(R.Xbk,{size:24}):(0,v.jsx)(R.j1Q,{size:24})]})]})}function ye(e){return e?e.charAt(0).toUpperCase()+e.slice(1):e}function we(e){const[l]=e.split(/[?#]/),t=l.split("/").filter(Boolean).map(e=>e.toLowerCase()),n=t.indexOf("shop");return-1===n?t:t.slice(n)}function ke(e){return e.length>0?`/${e.join("/")}`:""}function Ae(e,l){const t=new URLSearchParams(l);if(!t.toString())return e;const n=new URL(e,"https://breadcrumb.local");for(const[o,r]of t)n.searchParams.append(o,r);const i=e.search(/[?#]/);return`${-1===i?e:e.slice(0,i)}${n.search}${n.hash}`}function Ce(e,l,t){if(!l||!t||0===e.length)return e;const n=ke(we(t));let i=[];return e.map(e=>{if(!e.pathname)return e;const t=we(e.pathname);
54return i="shop"===t[0]?t:[].concat((0,m.A)(i),(0,m.A)(t)),n&&ke(i)===n?{...e,pathname:Ae(e.pathname,l)}:e})}const Ne=(0,n.lazy)(()=>Promise.all([t.e(5943),t.e(2041),t.e(4867),t.e(699),t.e(2701),t.e(7220),t.e(3582)]).then(t.bind(t,15971)));function Se({data:e,location:l,pageContext:t,children:i,suppressPdpSchema:o=!1}){var r,a,s,d,u,p,k,A,N,S,P;const{isNonCommerce:I}=(0,n.useContext)(h.C),{product:T,activeVariant:L}=(0,n.useContext)(g.c),{locale:D}=(0,c.useUiComponentsInternationalContext)(),R=(0,n.useMemo)(()=>(0,b.Ti)((0,f.G)(T,L)),[T,L]),$=((e,l,t)=>{var n,i,o;const r=e,a=null==r?void 0:r.bvAggregateRating;if(!(null!=a&&(null!==(n=a.reviewCount)&&void 0!==n?n:0)>0&&null!=a.ratingValue))return!1;if(null!=r&&r.bvReviewsAreProductLevel)return!0;const s=null!==(i=null==r?void 0:r.sku)&&void 0!==i?i:t;return s?null!==(o=null==l?void 0:l.some(e=>(null==e?void 0:e.sku)===s))&&void 0!==o&&o:1===(null==l?void 0:l.length)})(t,null==T||null===(r=T.shopifyProduct)||void 0===r?void 0:r.variants,null==L?void 0:L.sku),{0:_,1:B}=(0,n.useState)([]),M=null!==(a=null==l||null===(s=l.state)||void 0===s?void 0:s.collectionLocation)&&void 0!==a?a:null,U=null!==(d=null==l||null===(u=l.state)||void 0===u?void 0:u.collectionSearch)&&void 0!==d?d:null;return(0,n.useEffect)(()=>{(async()=>{if(L&&!_.includes(null==L?void 0:L.sku)){B([].concat((0,m.A)(_),[null==L?void 0:L.sku])),(0,b.d)("view_item",{ecommerce:{currency:"USD",value:null==L?void 0:L.price},items:[{variant:L,product:null==T?void 0:T.shopifyProduct,category:M}]});const v=null==M?void 0:M.split("/").filter(e=>e&&!e.startsWith("?"));if((0,y.ns)(y.M1.klaviyo)){var e,t,n,i,o,r,a,s,d,c;const l={ProductName:null==T||null===(e=T.shopifyProduct)||void 0===e?void 0:e.title,ProductID:null==T||null===(t=T.shopifyProduct)||void 0===t||null===(n=t.shopifyId)||void 0===n?void 0:n.replace("gid://shopify/Product/",""),VariantID:null==L||null===(i=L.shopifyId)||void 0===i?void 0:i.replace("gid://shopify/ProductVariant/",""),shopifyId:null==T||null===(o=T.shopifyProduct)||void 0===o?void 0:o.shopifyId,SKU:null==L?void 0:L.sku,Categories:v,Category:v&&v.length>0?v.at(-1).replaceAll(/\band\b/g,"&").split("-").map(e=>ye(e)).join(" "):"",ImageURL:null==L||null===(r=L.media[0])||void 0===r||null===(a=r.image)||void 0===a?void 0:a.src,Brand:null==T||null===(s=T.shopifyProduct)||void 0===s?void 0:s.vendor,Price:null==L?void 0:L.price,CompareAtPrice:null==L?void 0:L.compareAtPrice,URL:globalThis.location.href,locale:D};null===globalThis||void 0===globalThis||null===(d=globalThis.klaviyo)||void 0===d||d.push(["track","Viewed Product",l]),null===globalThis||void 0===globalThis||null===(c=globalThis.klaviyo)||void 0===c||c.trackViewedItem({Title:l.ProductName,ItemId:l.ProductID,Categories:l.Categories,ImageUrl:l.ImageURL,Url:l.URL,Metadata:{Brand:l.Brand,Price:l.Price,CompareAtPrice:l.CompareAtPrice}})}var u;if((0,y.ns)(y.M1.adroll))null===globalThis||void 0===globalThis||null===(u=globalThis.adroll)||void 0===u||u.track("productView",{products:[{product_id:null==L?void 0:L.sku,price:null==L?void 0:L.price,category:(0,y.cn)(l)}]})}})()},[L]),(0,n.useEffect)(()=>{const e=e=>{!function(e,l=-80){const t=document.querySelector("#bv_review_maincontainer")?"#bv_review_maincontainer":"#BVRRSearchContainer";if(!document.querySelector(t))return;const n=e.target;null!=n&&n.closest('[data-bv-show="rating_summary"] .bv_main_rating_button')&&w(t,l)}(e,-80)};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[]),(0,v.jsx)("div",{className:"product-container",children:(0,v.jsx)("div",{className:"mx-auto flex justify-center items-start shrink-0 px-4",children:(0,v.jsxs)("div",{className:"grid grid-cols-6 lg:grid-cols-12 gap-6",children:[(0,v.jsxs)("div",{className:"col-span-6 lg:col-span-8",children:[!I&&(0,v.jsx)("div",{className:"block mb-10 lg:mb-20",children:(0,v.jsx)(x.A,{breadcrumbs:(()=>{var l,t,n,i,o;let r=[{pathname:"/shop",title:"Shop"},{title:null==T||null===(l=T.shopifyProduct)||void 0===l?void 0:l.title,pathname:""}];var a;if((null==e||null===(t=e.product)||void 0===t||null===(n=t.breadcrumbs)||void 0===n?void 0:n.length)>0)r=[].concat((0,m.A)(Ce(e.product.breadcrumbs.map(e=>({pathname:(0,b.TE)(e.linkType,e.href,e.internalLink),title:e.caption})),U,M)),[{title:null==T||null===(a=T.shopifyProduct)||void 0===a?void 0:a.title,pathname:""}]);else if(M){var s;
54const e=M.split("/").filter(Boolean),l=(0,j.getLocalizedPagePath)("/",D).split("/").find(Boolean);l&&e[0]===l&&e.shift();const[t,...n]=e;r=[].concat((0,m.A)(Ce([{pathname:t,title:"Shop"}].concat((0,m.A)(n.map(e=>({pathname:e,title:e.replaceAll(/\band\b/g,"&").split("-").map(e=>ye(e)).join(" ")})))),U,M)),[{title:null==T||null===(s=T.shopifyProduct)||void 0===s?void 0:s.title,pathname:""}])}return 1===(null===(i=r)||void 0===i?void 0:i.length)&&"Shop"!==(null===(o=r[0])||void 0===o?void 0:o.title)&&(r=[{pathname:"/shop",title:"Shop"}].concat((0,m.A)(r))),r})(),custom:(null==e||null===(p=e.product)||void 0===p||null===(k=p.breadcrumbs)||void 0===k?void 0:k.length)>0})}),(0,v.jsx)(ie,{}),(0,v.jsx)("div",{id:"mobile-sidebar",className:"lg:hidden",children:(0,v.jsx)(fe,{siteSettings:null==e?void 0:e.siteSettings,hasStaticReviewSchema:$,suppressPdpSchema:o})}),(0,v.jsx)("h2",{className:"mt-12 lg:mt-0",children:null==T?void 0:T.descriptionHeading}),(0,v.jsx)(je,{description:null==T||null===(A=T.shopifyProduct)||void 0===A?void 0:A.descriptionHtml}),i,(0,v.jsx)(n.Suspense,{fallback:null,children:!(null==T||null===(N=T.productBlocks)||void 0===N||null===(S=N.blocks)||void 0===S||!S.length)&&(0,v.jsx)(Ne,{blocks:null==T||null===(P=T.productBlocks)||void 0===P?void 0:P.blocks,data:e,pageContext:t,siteSettings:null==e?void 0:e.siteSettings,manuals:null==T?void 0:T.manuals,isPDP:!0,location:l})}),(0,v.jsx)("div",{id:"bazaarVoice",className:"w-full bg-background relative",children:R&&(0,v.jsx)(C,{sku:R,hasStaticReviewSchema:$,suppressClientSeo:o})})]}),(0,v.jsx)("div",{className:"hidden lg:block lg:col-span-4 pl-6 lg:border-l border-border md:mt-4",children:(0,v.jsx)("div",{id:"desktop-sidebar",className:"overflow-y-auto sticky top-8 max-h-[calc(100vh)] -mx-1 pl-2 pr-1",children:(0,v.jsx)(fe,{siteSettings:null==e?void 0:e.siteSettings,buttonFull:!1,hasStaticReviewSchema:$,suppressPdpSchema:o})})})]})})})}var Pe=t(19005);var Ie=({children:e,...l})=>(0,v.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4 w-full gap-4 justify-items-center my-4",...l,children:e}),Te=t(19720),Le=t(43488),De=t(2359),Re=t(9262),$e=t(90904),_e=t(89928),Be=t(45998),Me=t(2505),Ue=t(15787);var Fe=function({data:e,location:l,pageContext:t}){var r,a,s,c,u,m,h,x,f,j,w,k,A,C,N;const{state:S,search:P,pathname:I}=l,{SEOMetadata:T,productAttributes:L,videoGallery:D,relatedProducts:R,manuals:$,supp
54ortPage:_,store:B,marketingContent:M,atGlance:U,productAddOns:F}=e.sanityGlobalProduct;if((null==B||null===(r=B.variants)||void 0===r?void 0:r.length)>1){const e=(0,b._4)(B.variants),l=(0,b.qv)(e);B.variants=e,B.options=l}const O=F?{...F,products:null===(a=F.products)||void 0===a?void 0:a.map(e=>{var l;return{...e,product:{...e.product,shopifyProduct:null===(l=e.product)||void 0===l?void 0:l.store}}})}:void 0,H={atGlance:U,shopifyProduct:B,store:B,marketingContent:M,productAddOns:O,pdpAttributePairs:e.sanityGlobalProduct.pdpAttributePairs},{collections:z}=e,{tt:E,locale:V}=(0,Be.L6)();var q;null!=l&&null!==(s=l.state)&&void 0!==s&&s.searchedProduct&&(B.searchedProduct=null==l||null===(q=l.state)||void 0===q?void 0:q.searchedProduct);const G=(null!==(c=null==I?void 0:I.split("/"))&&void 0!==c?c:[]).at(-1),{0:W,1:Y}=(0,n.useState)(G),{0:X,1:J}=(0,n.useState)(null);(0,n.useEffect)(()=>{J(JSON.stringify((0,Le.A)(B,W)))},[W,B]),(0,n.useEffect)(()=>{if((0,y.ns)(y.M1.klaviyo)){var e,t,n,i,o,r,a,s,d,c,u,v,p;const m=null!==(e=null==B||null===(t=B.variants)||void 0===t?void 0:t.find(e=>(null==e?void 0:e.sku)===W))&&void 0!==e?e:null==B||null===(n=B.variants)||void 0===n?void 0:n[0],h=null==B||null===(i=B.media)||void 0===i?void 0:i.find(e=>"SanityProductMediaImage"===e._type),g={ProductName:null==B?void 0:B.title,shopifyId:null==B?void 0:B.shopifyId,SKU:null==m?void 0:m.sku,Categories:null==z||null===(o=z.nodes)||void 0===o||null===(r=o.map(e=>{var l;return null==e||null===(l=e.store)||void 0===l?void 0:l.title}))||void 0===r||null===(a=r.filter(Boolean))||void 0===a?void 0:a.join(", "),Category:null==l||null===(s=l.state)||void 0===s?void 0:s.categorySource,ImageURL:null==h||null===(d=h.image)||void 0===d?void 0:d.src,Brand:null==B?void 0:B.vendor,Price:null!==(c=null==m?void 0:m.price)&&void 0!==c?c:0,CompareAtPrice:null!==(u=null==m?void 0:m.compareAtPrice)&&void 0!==u?u:0,URL:null===globalThis||void 0===globalThis||null===(v=globalThis.location)||void 0===v?void 0:v.href};null===globalThis||void 0===globalThis||null===(p=globalThis.klaviyo)||void 0===p||p.push(["track","Viewed Product",g])}},[W]);const K=null!==(u=B.variants.find(e=>e.sku===W))&&void 0!==u?u:B.variants[0],Q=(0,n.useCallback)(e=>{var l;const t=null==e||null===(l=e.variant)||void 0===l?void 0:l.sku;if(t&&(Y(t),void 0!==globalThis.window)){var n,i,o,r;const e=new URL(null===globalThis||void 0===globalThis||null===(n=globalThis.location)||void 0===n?void 0:n.href),l=e.pathname.split("/");l[l.length-1]=t,e.pathname=l.join("/");const a=null!==(i=null===globalThis||void 0===globalThis||null===(o=globalThis.history)||void 0===o?void 0:o.state)&&void 0!==i?i:{};null===globalThis||void 0===globalThis||null===(r=globalThis.history)||void 0===r||r.replaceState({...a,activeSku:t},"",e.toString())}},[]);return(0,v.jsxs)(Re.A,{headTagData:{title:null!==(m=null==T?void 0:T.title)&&void 0!==m?m:B.title,de
54scription:null==T?void 0:T.description,canonicalUrl:(0,Me.KQ)("https://www.sportdog.com",V,B,T,!1,void 0,!1),noIndex:null==T?void 0:T.noIndex,noFollow:null==T?void 0:T.noFollow,meta:(0,De.A)({title:null!==(h=null!==(x=null==T?void 0:T.ogTitle)&&void 0!==x?x:null==T?void 0:T.title)&&void 0!==h?h:B.title,description:null!==(f=null!==(j=null==T?void 0:T.ogDescription)&&void 0!==j?j:null==T?void 0:T.description)&&void 0!==f?f:B.description,url:null!==(w=null!==(k=null==T?void 0:T.ogUrl)&&void 0!==k?k:null==T?void 0:T.canonicalUrl)&&void 0!==w?w:null==l?void 0:l.pathname,type:"product","og:price:currency":"USD","og:price:amount":null==K?void 0:K.price,image:null!==(A=null==T?void 0:T.ogImage)&&void 0!==A?A:null==B?void 0:B.previewImageUrl},"sportdog")},scriptsData:[(0,v.jsx)("script",{type:"application/ld+json",children:X},"pdp-schema")],linkHreflangValues:t.linkHreflangValues,isPDP:!0,children:[(0,v.jsx)(d,{children:(0,v.jsx)(g.u,{product:H,activeSku:W,onOptionChange:Q,children:(0,v.jsx)(Se,{data:e,pageContext:t,supportPage:_,manuals:$,location:{state:S,search:P,pathname:I},children:(0,v.jsxs)("div",{className:"my-2 lg:my-6",children:[(null==M||null===(C=M.blocks)||void 0===C?void 0:C.length)>0&&(0,v.jsx)(o.default,{blocks:null==M?void 0:M.blocks,getInternalLink:$e.A}),L&&(0,v.jsx)(p,{productAttributes:L}),(null==D||null===(N=D.videos)||void 0===N?void 0:N.length)>0&&(0,v.jsx)(Te.A,{value:{headline:null==D?void 0:D.headline,videos:D.videos}}),(null==R?void 0:R.length)>0&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("h2",{children:E(e=>e.productDetailPage.relatedProductsHeader)}),(0,v.jsx)(Ie,{children:R.map((e,l)=>{const{store:t}=e;return null!=e&&e.store?(0,v.jsx)(Pe.A,{position:l+1,product:i(e),fromPLP:!1,fromSearch:!1},t.title):null})})]}),((null==$?void 0:$.length)>0||_)&&(0,v.jsx)("div",{className:"my-10",children:(0,v.jsx)(Ue.A,{manuals:$||[],supportPage:_})})]})})})}),(0,v.jsx)(_e.A,{})]})}},89928:function(e,l,t){var n=t(45998),i=t(31085);const o=()=>(0,i.jsx)("hr",{className:" block border-none h-[2px] my-8 md:my-12 bg-[linear-gradient(90deg,rgba(0,0,0,0)_0%,rgba(25,25,25,0)_5%,#646464_50%,rgba(0,0,0,0)_95%,rgba(25,25,25,0)_100%)] "});l.A=function(){const{tt:e}=(0,n.L6)();return(0,i.jsxs)("div",{className:"p-0 px-4",children:[(0,i.jsx)(o,{}),(0,i.jsx)("img",{src:"/images/gearthewayyouddesignit.png",alt:e(e=>e.gearTagLineComponent.gearTagAlt),className:"m-0 object-contain w-full"}),(0,i.jsx)(o,{})]})}}}]);
55//# sourceMappingURL=8aa7664993a0e2c4d5136bc57ad485788fd61873-e5cd496a621e9747f6b9.js.map

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.