1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0de17478-75fe-4fbc-bf5a-d1dca626a585",e._sentryDebugIdIdentifier="sentry-dbid-0de17478-75fe-4fbc-bf5a-d1dca626a585")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9767],{14215:(e,t,a)=>{"use strict";a.d(t,{f:()=>l,i:()=>i});let r={FILTER_START:"by",SORT:"sort",PAGE:"page"};function n(e){let t=e;return"1"===e?t="yes":"0"===e&&(t="no"),{value:t,label:t.replace(/-/g," "),pathname:t}}function l(e){let t,{page:a,remainingSegments:l}=function(e){if(e.length>=2&&e[e.length-2]===r.PAGE){let t=parseInt(e[e.length-1],10);return{page:Number.isFinite(t)&&t>0?t:1,remainingSegments:e.slice(0,-2)}}return{page:1,remainingSegments:e}}(e.filter(e=>""!==e)),i=l.indexOf(r.SORT),s=l;-1!==i&&(i+1<l.length&&(t=l[i+1]),s=[...l.slice(0,i),...l.slice(i+2)]);let c=l.indexOf(r.FILTER_START),o=-1!==c?l.slice(0,c):s.filter(e=>e!==r.SORT&&e!==r.PAGE&&l[l.indexOf(e)-1]!==r.SORT),u={categorySlug:[...s],baseCategorySlug:[...o],filters:{},sort:t,page:a};return -1!==c&&(u.filters=function(e,t){let a={},l=t;for(;l<e.length;){let t=e[l];if(t===r.SORT||t===r.PAGE)return{filters:a,nextIndex:l-1};let i=t.replace(/-/g,"_");if(++l<e.length){let t=e[l];if(t===r.SORT||t===r.PAGE)return a[i]=[],{filters:a,nextIndex:l-1};a[i]=t.split("_").map(n)}else a[i]=[];l++}return{filters:a,nextIndex:l}}(l,c+1).filters),u}function i(e){var t,a;return"/c/"+[...function(e){let t=e.indexOf(r.FILTER_START);return -1!==t?e.slice(0,t):e}(e.categorySlug),...e.filters?function(e){let t=[],a=Object.keys(e);return 0===a.length||(t.push(r.FILTER_START),a.forEach(a=>{t.push(a);let r=e[a].filter((e,t,a)=>t===a.findIndex(t=>t.pathname===e.pathname)).map(e=>{let t=e.pathname||e.value;return"1"===t?t="yes":"0"===t&&(t="no"),t}).join("_");t.push(r)})),t}(e.filters):[],...!(t=e.sort)||"position"===t?[]:[r.SORT,t],...!(a=e.page)||a<=1?[]:[r.PAGE,a.toString()]].join("/")}},27651:(e,t,a)=>{"use strict";function r(e){let t=null==e?void 0:e.trim();return"/advice/authors/".concat(encodeURIComponent(t))}function n(e,t){return t<=1?"/advice/tags/".concat(e):"/advice/tags/".concat(e,"/page/").concat(t)}function l(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=e?"".concat(e,"/").concat(t):t;return a<=1?"/advice/c/".concat(r):"/advice/c/".concat(r,"/page/").concat(a)}function i(e,t){let a=r(e);return a?t<=1?a:"".concat(a,"/page/").concat(t):"/advice"}function s(e,t){let a=null==t?void 0:t.trim();if(!a)return"/advice";let r=e.map(e=>null==e?void 0:e.trim()).filter(e=>!!e).map(e=>encodeURIComponent(e)).join("/"),n=encodeURIComponent(a);return r?"/advice/".concat(r,"/").concat(n):"/advice/".concat(n)}function c(e){let t=[];if(e.primary_category){var a,r,n,l,i,s;(null==(a=e.primary_category)?void 0:a.parent)&&t.push(null==(s=e.primary_category)||null==(i=s.parent)||null==(l=i.slug)?void 0:l.trim()),t.push(null==(n=e.primary_category)||null==(r=n.slug)?void 0:r.trim())}return t}a.d(t,{Rf:()=>s,U9:()=>l,p2:()=>c,uG:()=>i,yS:()=>r,zO:()=>n})},29720:(e,t,a)=>{"use strict";a.d(t,{r:()=>n});var r=a(20938);function n(){return(0,r.jsxs)("svg",{fill:"none",preserveAspectRatio:"none",viewBox:"0 0 32 32","aria-hidden":!0,children:[(0,r.jsx)("rect",{fill:"#FFC226",height:"32",rx:"16",width:"32"}),(0,r.jsx)("path",{clipRule:"evenodd",d:"M14.9212 14.9418V11.4819H16.0346C16.69 11.4819 17.2985 11.7485 17.5526 12.3831C17.7733 12.9435 17.7365 13.6084 17.4523 14.135C17.1547 14.6886 16.5529 14.9418 15.951 14.9418H14.9179H14.9212ZM9.07001 26V6H17.0109C19.1374 6 21.1971 6.90464 22.3406 8.76793C23.1531 10.0878 23.5175 11.654 23.5376 13.2C23.5543 14.7561 23.2266 16.3764 22.384 17.703C21.4579 19.1612 19.97 19.9882 18.2447 19.9882H14.9179V26H9.06667H9.07001Z",fill:"#191919",fillRule:"evenodd"})]})}},31023:e=>{e.exports={card:"PetspotArticleCard_card__SdFId",imageImg:"PetspotArticleCard_imageImg__LMbC3",articleHit:"PetspotArticleCard_articleHit__NKC6V",articleHitText:"PetspotArticleCard_articleHitText__scjS6",articleHitAuthor:"PetspotArticleCard_articleHitAuthor__QHu6p",imageWrap:"PetspotArticleCard_imageWrap__uwyoi",body:"PetspotArticleCard_body__PGkPl",bodyInner:"PetspotArticleCard_bodyInner__rGq3q",textBlock:"PetspotArticleCard_textBlock__W3sDW",title:"PetspotArticleCard_title__dwfpx",excerptWrap:"PetspotArticleCard_excerptWrap__qvYBI",excerpt:"PetspotArticleCard_excerpt__Y3hEg",categories:"PetspotArticleCard_categories__kRyCS",category:"PetspotArticleCard_category__07yVc",categoryLabel:"PetspotArticleCard_categoryLabel__jTCmj",authorRow:"PetspotArticleCard_authorRow__PefKF",authorTrigger:"PetspotArticleCard_authorTrigger__Tivb4",authorAvatar:"PetspotArticleCard_authorAvatar__MKuMy",authorAvatarImg:"PetspotArticleCard_authorAvatarImg__PO1wM",authorMark:"PetspotArticleCard_authorMark__dv3bp",authorText:"PetspotArticleCard_authorText__ZXEEh",authorName:"PetspotArticleCard_authorName__mLPlB",authorDate:"PetspotArticleCard_authorDate__vCfYs"}},34262:(e,t,a)=>{"use strict";a.d(t,{d:()=>v});var r=a(20938),n=a(35051),l=a(29922),i=a(72169),s=a(28390),c=a(97550),o=a.n(c),u=a(78691),d=a(11565);a(86498);let h=e=>{let{className:t=""}=e;return(0,r.jsx)("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",children:(0,r.jsx)("path",{d:"M4.25058 5L0.722221 1.47164C0.385562 1.13498 0.385562 0.589153 0.722221 0.252494C1.05888 -0.0841647 1.60471 -0.0841647 1.94137 0.252494L6.0793 4.39043C6.41596 4.72708 6.41596 5.27292 6.0793 5.60958L1.94137 9.74751C1.60471 10.0842 1.05888 10.0842 0.722221 9.74751C0.385562 9.41085 0.385562 8.86502 0.722221 8.52836L4.25058 5Z",fill:"#191919"})})};var p=a(78541),g=a.n(p),_=a(14215),m=a(38444);let f=e=>{let{page:t,active:a,onClick:n,total:l,currentPage:c,isMobile:p=!1,lastPage:f,hash:v,...w}=e,b={[g().disabled]:l-c<4},x={[g().disabled]:p?c<4:c<5},C={dots:(0,r.jsx)(s.A,{className:g().dots}),next:(0,r.jsxs)("div",{...(0,i.C)("pagination-next"),className:(0,d.A)(g().next,b),children:["Next"," ",(0,r.jsx)(h,{className:(0,d.A)(g().arrowLast,b)})]}),last:(0,r.jsx)("div",{...(0,i.C)("pagination-last"),hidden:!0}),prev:(0,r.jsxs)("div",{...(0,i.C)("pagination-prev"),className:(0,d.A)(g().back,x),children:[(0,r.jsx)(h,{className:(0,d.A)(g().arrowFirst,x)}),"Back"," "]}),first:(0,r.jsx)("div",{...(0,i.C)("pagination-first"),hidden:!0})}[t]||t||t,y=(0,u.usePathname)(),k=null;if("number"==typeof t?k=t:"next"===t?k=c+1:"prev"===t?k=c-1:"dots"===t?k=f+1:"first"===t?k=1:"last"===t&&(k=l),null!==k&&k>=1&&k<=l){let e=(e=>{if(y.startsWith("/c/")){let t=y.replace("/c/","").split("/").filter(
1Boolean),a=(0,_.f)(t);return(0,_.i)({categorySlug:a.categorySlug,filters:a.filters,sort:a.sort,page:e>1?e:void 0})}if(y.startsWith("/catalogsearch/result/")){let t=y.replace("/catalogsearch/result/","").split("/").filter(Boolean),a=(0,m.U)(t);return(0,m.K)({searchQuery:a.searchQuery,filters:a.filters,sort:a.sort,page:e>1?e:void 0,tab:a.tab})}let t=y.replace(/\/page\/\d+\/?$/,"");return e>1?"".concat(t,"/page/").concat(e):t})(k),t=v?"".concat(e,"#").concat(v):e,{type:n,form:l,formAction:i,formEncType:s,formMethod:c,formNoValidate:u,formTarget:d,...h}=w;return(0,r.jsx)(o(),{href:t,"data-active":a?"true":void 0,"aria-current":a?"page":void 0,scroll:!v&&void 0,...h,children:C})}return(0,r.jsx)("button",{type:"button",onClick:n,"data-active":a?"true":void 0,"aria-current":a?"page":void 0,...w,children:C})};f.displayName="Item";let v=e=>{let{total:t=0,page:a=1,onChange:s=()=>{},disabled:c=!1,hash:o}=e,u="mobile"===(0,l.d)(),d=0;return(0,r.jsx)("div",{className:g().wrapper,...(0,i.C)("pagination-wrapper"),children:(0,r.jsx)(n.d,{withEdges:!0,total:t,onChange:s,page:a,siblings:+!u,itemComponent:e=>("number"==typeof e.page&&(d=e.page),(0,r.jsx)(f,{...e,isMobile:u,total:t,currentPage:a,onClick:()=>{var a;if("dots"===e.page){let e=Math.max(1,Math.min(d+1,t));null==s||s(e);return}null==(a=e.onClick)||a.call(e)},lastPage:d,hash:o})),disabled:c,theme:{root:g().root,active:g().active,item:g().item,arrow:g().arrow}})})}},38444:(e,t,a)=>{"use strict";function r(e){let t={searchQuery:"",filters:{},page:1,tab:"product"},a=e.filter(e=>""!==e),r=[...a];if(a.length>=2&&"page"===a[a.length-2]){let e=parseInt(a[a.length-1],10);t.page=Number.isFinite(e)&&e>0?e:1,r=a.slice(0,-2)}let n=0;for(;n<r.length;){switch(r[n]){case"tab":if(++n<r.length){let e=r[n];["product","page","content"].includes(e)&&(t.tab=e)}break;case"q":++n<r.length&&(t.searchQuery=decodeURIComponent(r[n]));break;case"by":for(n++;n<r.length;){let e=r[n];if(["sort","page","q","tab"].includes(e)){n--;break}let a=e.replace(/-/g,"_");if(++n<r.length){let e=r[n];if(["sort","page","q","tab"].includes(e)){t.filters[a]=[],n--;break}let l=e.split("_");t.filters[a]=l.map(e=>{let t=e;return"1"===e?t="yes":"0"===e&&(t="no"),{value:t,label:t.replace(/-/g," "),pathname:t}})}else t.filters[a]=[];n++}n--;break;case"sort":++n<r.length&&(t.sort=r[n])}n++}return t}function n(e){let t=[];if(e.tab&&"product"!==e.tab&&t.push("tab",e.tab),t.push("q",encodeURIComponent(e.searchQuery)),e.filters){let a=Object.keys(e.filters);a.length>0&&(t.push("by"),a.forEach(a=>{t.push(a);let r=e.filters[a].map(e=>{let t=e.pathname||e.value;return"1"===t?t="yes":"0"===t&&(t="no"),t}).join("_");t.push(r)}))}return e.sort&&"position"!==e.sort&&t.push("sort",e.sort),e.page&&e.page>1&&t.push("page",e.page.toString()),"/catalogsearch/result/"+t.join("/")}a.d(t,{K:()=>n,U:()=>r})},44764:(e,t,a)=>{"use strict";a.d(t,{PetspotArticleCard:()=>p,default:()=>g});var r=a(20938),n=a(80901),l=a(18033),i=a(72169),s=a(85938),c=a(31023),o=a.n(c),u=a(29720),d=a(27651),h=a(55582);let p=e=>{var t,a,c,p,g,_,m,f,v,w,b,x;let{article:C,href:y,exceptCategorySlugs:k=[]}=e,j=(0,l.Zz)({filename_disk:null!=(v=null==(t=C.thumbnail)?void 0:t.filename_disk)?v:null,options:{width:600,height:400}}),P=(null==(a=C.thumbnail)?void 0:a.title)||C.title||"",A=(0,l.Zz)({filename_disk:null!=(w=null==(p=C.author)||null==(c=p.avatar)?void 0:c.filename_disk)?w:null,options:{width:64}}),N=(null==(_=C.author)||null==(g=_.name)?void 0:g.trim())||"Petbarn Admin",B=(0,s.qk)(C.category_collection,k),T=(0,s.ng)(null!=(b=C.date_updated)?b:C.date_created),I=(null==(m=C.description)?void 0:m.trim())||"";return(0,r.jsxs)("div",{className:o().card,...(0,i.C)("petspot-featured-article-".concat(C.id)),children:[(0,r.jsx)(n.k,{href:y,className:o().articleHit,"aria-label":C.title,children:(0,r.jsx)("div",{className:o().imageWrap,children:j?(0,r.jsx)(h.x,{src:j,alt:P,className:o().imageImg,width:600,height:400,unoptimized:!0}):null})}),(0,r.jsx)("div",{className:o().body,children:(0,r.jsxs)("div",{className:o().bodyInner,children:[(0,r.jsx)(n.k,{href:y,className:o().articleHitText,children:(0,r.jsxs)("div",{className:o().textBlock,children:[(0,r.jsx)("h4",{className:o().title,children:C.title}),I?(0,r.jsx)("div",{className:o().excerptWrap,children:(0,r.jsx)("div",{className:o().excerpt,dangerouslySetInnerHTML:{__html:I}})}):null]})}),B.length>0?(0,r.jsx)("div",{className:o().categories,children:B.map(e=>(0,r.jsx)(n.k,{href:e.href,className:o().category,prefetch:!1,...(0,i.C)("petspot-featured-article-".concat(C.id,"-category-").concat(e.key)),children:(0,r.jsx)("span",{className:o().categoryLabel,children:e.label})},e.key))}):null,(0,r.jsx)(n.k,{href:(0,d.yS)(null!=(x=null==(f=C.author)?void 0:f.slug)?x:""),className:o().articleHitAuthor,children:(0,r.jsx)("div",{className:o().authorRow,children:(0,r.jsxs)("div",{className:o().authorTrigger,children:[(0,r.jsx)("div",{className:o().authorAvatar,children:A?(0,r.jsx)(h.x,{src:A,alt:N,className:o().authorAvatarImg,width:64,height:64,unoptimized:!0}):(0,r.jsx)("span",{className:o().authorMark,children:(0,r.jsx)(u.r,{})})}),(0,r.jsxs)("div",{className:o().authorText,children:[(0,r.jsx)("p",{className:o().authorName,children:N}),T?(0,r.jsx)("p",{className:o().authorDate,children:T}):null]})]})})})]})})]})},g=p},66048:e=>{e.exports={petwatchBanner:"PetwatchBanner_petwatchBanner__iYk0L",bgImage:"PetwatchBanner_bgImage__V3XOS",content:"PetwatchBanner_content__RpJV_",petWatchLogo:"PetwatchBanner_petWatchLogo__WN77F",titleWrapper:"PetwatchBanner_titleWrapper__Ao10j",title:"PetwatchBanner_title__qkFrC",suburbWrap:"PetwatchBanner_suburbWrap__YsnPw",suburb:"PetwatchBanner_suburb___wMzU",message:"PetwatchBanner_message__phAfU",cta:"PetwatchBanner_cta__vfrfS","petwatchBanner-unknown":"PetwatchBanner_petwatchBanner-unknown__Bp6xV","petwatchBanner-medium":"PetwatchBanner_petwatchBanner-medium__Wn1_F","pet
1watchBanner-high":"PetwatchBanner_petwatchBanner-high__aHXPY","petwatchBanner-extreme":"PetwatchBanner_petwatchBanner-extreme__2QgYe",section:"PetwatchBanner_section__JMHvn",section_wrapper:"PetwatchBanner_section_wrapper__VzKyb",top:"PetwatchBanner_top__KqYFq",bottom:"PetwatchBanner_bottom__tD0NJ",riskLevelLogo:"PetwatchBanner_riskLevelLogo___3q8I"}},78541:e=>{e.exports={root:"Pagination_root__TwO_q",active:"Pagination_active__xC1TQ",item:"Pagination_item__43ucy",arrow:"Pagination_arrow__Y6RGH",back:"Pagination_back__hgcpy",next:"Pagination_next__l_k7T",disabled:"Pagination_disabled__Nuiej",arrowLast:"Pagination_arrowLast__1aNzS",arrowFirst:"Pagination_arrowFirst__i173R"}},85938:(e,t,a)=>{"use strict";a.d(t,{ng:()=>l,qk:()=>n});var r=a(27651);function n(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2,n=[];for(let a of null!=e?e:[]){var l,i,s,c;if(!(null==a?void 0:a.id)||!(null==(i=a.ps_category_id)||null==(l=i.slug)?void 0:l.trim()))continue;let e=a.ps_category_id;"published"===(null!=(s=e.status)?s:"").toLowerCase()&&(null!=t&&t.includes(null!=(c=e.slug)?c:"")||n.push(a))}return n.sort((e,t)=>{var a,r;let n=null==(a=e.ps_category_id)?void 0:a.sort,l=null==(r=t.ps_category_id)?void 0:r.sort;return n!==l?(null!=n?n:1e3)-(null!=l?l:1e3):String(e.id).localeCompare(String(t.id))}),n.slice(0,a).map(e=>{var t,a,n,l,i,s,c,o;return{key:"category-".concat(e.id),href:(0,r.U9)(null!=(c=null==(a=e.ps_category_id)||null==(t=a.parent)?void 0:t.slug)?c:null,null!=(o=null==(n=e.ps_category_id)?void 0:n.slug)?o:""),label:(null==(i=e.ps_category_id)||null==(l=i.name)?void 0:l.trim())||(null==(s=e.ps_category_id)?void 0:s.slug)||""}})}function l(e){if(!e)return"";try{return new Intl.DateTimeFormat("en-AU",{day:"numeric",month:"short",year:"numeric"}).format(new Date(e))}catch(e){return""}}},93307:(e,t,a)=>{"use strict";a.d(t,{T:()=>w});var r=a(20938),n=a(11565),l=a(46155),i=a(85219),s=a(22275),c=a(65452),o=a(29922),u=a(66048),d=a.n(u),h=a(86498),p=a(90841),g=a(3277),_=a(2906);let m=e=>{let{className:t="",size:a=22,color:n="white",background:l="#FFC226",...i}=e;return(0,r.jsxs)("svg",{width:a,height:a,className:t,viewBox:"0 0 22 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:[(0,r.jsx)("path",{d:"M11 21C16.799 21 21.5 16.299 21.5 10.5C21.5 4.70101 16.799 0 11 0C5.20101 0 0.5 4.70101 0.5 10.5C0.5 16.299 5.20101 21 11 21Z",fill:l}),(0,r.jsx)("g",{mask:"url(#mask0_4126_508365)",children:(0,r.jsx)("path",{d:"M11.0025 12.6247C10.6935 12.6247 10.4274 12.514 10.2041 12.2926C9.98079 12.0712 9.86914 11.8055 9.86914 11.4954V6.44229C9.86914 6.13221 9.97945 5.86647 10.2001 5.64508C10.4207 5.42368 10.6855 5.31299 10.9944 5.31299C11.3033 5.31299 11.5695 5.42368 11.7928 5.64508C12.0161 5.86647 12.1277 6.13221 12.1277 6.44229V11.4954C12.1277 11.8055 12.0174 12.0712 11.7968 12.2926C11.5762 12.514 11.3114 12.6247 11.0025 12.6247ZM11.0025 15.6872C10.6935 15.6872 10.4274 15.5769 10.2041 15.3563C9.98079 15.1357 9.86914 14.8709 9.86914 14.5619C9.86914 14.253 9.97945 13.9869 10.2001 13.7636C10.4207 13.5403 10.6855 13.4286 10.9944 13.4286C11.3033 13.4286 11.5695 13.5389 11.7928 13.7595C12.0161 13.9802 12.1277 14.2449 12.1277 14.5539C12.1277 14.8628 12.0174 15.1289 11.7968 15.3522C11.5762 15.5756 11.3114 15.6872 11.0025 15.6872Z",fill:n})})]})};var f=a(72169),v=a(55582);let w=()=>{var e;let t,{riskLevel:a,suburb:u}=(()=>{let e=(0,s.Y)(e=>e.isAuthorized),t=(0,s.Y)(e=>e.customer),a=(0,s.Y)(e=>e.selectedDeliveryLocation),[r,n]=(0,h.useState)("unknown"),[l,i]=(0,h.useState)("Unknown location"),[c,o]=(0,h.useState)(!1),u=(0,h.useCallback)(e=>null==e?"unknown":e<2?"present":e<3?"medium":e<4?"high":"extreme",[]),d=(0,h.useCallback)(async(e,t)=>{try{let a=await (0,g.T)(e,t);if(null==a?void 0:a.risks){let e=u(a.risks.val),t=a.suburb||a.postcode||"Unknown location";return{riskLevel:e,suburbName:t}}return null}catch(e){return _.A.error("Failed to fetch suburb risk data:",e),null}},[u]);return(0,h.useEffect)(()=>{o(!0)},[]),(0,h.useEffect)(()=>{(async()=>{var r,l,s,o,u;if(c){if(null==a||null==(r=a.data)?void 0:r.postcode){let e=a.data.postcode,t=null!=(l=a.data.suburb)?l:"",r=await d(e,t);if(r){n(r.riskLevel),i(r.suburbName);return}}if(e){let e=null==t||null==(s=t.addresses)?void 0:s[t.addresses.length-1],a=null==e?void 0:e.postcode,r=null!=(o=null==e?void 0:e.city)?o:"";if(a){let e=await d(a,r);if(e){n(e.riskLevel),i(e.suburbName);return}}}
1try{let e=await (0,p.getClientGeoDetails)();if(null==e?void 0:e.post_code){let t=await d(e.post_code,null!=(u=e.city)?u:"");if(t){n(t.riskLevel),i(t.suburbName);return}}}catch(e){}}})()},[c,e,t,a,d]),{riskLevel:r,suburb:l}})(),w=(0,s.Y)(e=>e.isAuthorized),b=null==(e=(0,c.UK)())?void 0:e.petwatch_config,x="mobile"===(0,o.d)(),C=(e=>{if(!e)return{};try{let t=JSON.parse(e),a={extreme:"",high:"",medium:"",present:"",unknown:"Petwatch is a live-data tool that tracks deadly parasite threats across Australia."};return Object.values(t).forEach(e=>{let{risk_level:t,message:r}=e;t&&r&&(a[t]=r)}),a}catch(e){return _.A.error("Failed to parse petwatch warning messages table:",e),{}}})(null==b?void 0:b.petwatch_warning_messages_table),y=null==C?void 0:C[a],k=(t="medium"===a||"unknown"===a?1:2,"/images/petwatch/petwatch-banner-bg-".concat(t,"-").concat(x?"mobile":"desktop",".jpg")),j=e=>null!=e?e:void 0,P=()=>b&&({extreme:j(b.petwatch_urls_extreme_url),high:j(b.petwatch_urls_high_url),medium:j(b.petwatch_urls_medium_url),present:j(b.petwatch_urls_present_url),unknown:w?"/customer/account/edit/":"/customer/account/login/"})[a]||"#";return(0,r.jsxs)("a",{href:P(),...(0,f.C)("petwatch-banner"),className:(0,n.A)(d().petwatchBanner,d()["petwatchBanner-".concat(a)],"petwatch-banner"),children:[(0,r.jsx)(v.x,{src:k,alt:"Background for ".concat(a," risk"),width:300,height:500,className:d().bgImage,unoptimized:!0}),(0,r.jsxs)("div",{...(0,f.C)("petwatch-banner-content"),className:"".concat(d().content," petwatch-banner-content"),children:[(0,r.jsx)("div",{...(0,f.C)("petwatch-banner-top-section"),className:(0,n.A)(d().section,d().top),children:(0,r.jsxs)("div",{...(0,f.C)("petwatch-banner-section-wrapper"),className:d().section_wrapper,children:[!x&&(0,r.jsx)(v.x,{src:"/images/petwatch/PetWatch-logo.svg",alt:"PetWatch logo",width:155,height:73,className:"".concat(d().petWatchLogo," pet-watch-logo"),unoptimized:!0}),(0,r.jsx)(v.x,{src:"/images/petwatch/petwatch-riskLevel-".concat(a,".svg"),alt:"Risk Level logo",width:186,height:100,className:(0,n.A)(d().riskLevelLogo,"petwatch-banner-risk-level-logo"),unoptimized:!0}),(0,r.jsxs)("div",{...(0,f.C)("petwatch-banner-title-wrapper"),className:d().titleWrapper,children:[(0,r.jsxs)("div",{...(0,f.C)("petwatch-banner-title"),className:d().title,children:["unknown"!==a&&(0,r.jsx)(m,{size:21,background:(e=>{switch(e){case"extreme":return"#CD4A37";case"high":return"#C56F19";case"medium":return"#EBAB26";default:return"#FFC226"}})(a),color:"medium"===a?"#000000":"#FFFFFF"}),(0,r.jsx)(i.o,{tag:"span",children:"".concat(a," Parasite Risk")})]}),(0,r.jsx)("div",{...(0,f.C)("petwatch-banner-suburb-wrap"),className:d().suburbWrap,children:(0,r.jsx)(i.o,{tag:"span",children:w?"unknown"!==a?(0,r.jsxs)(r.Fragment,{children:["in ",(0,r.jsx)("span",{className:d().suburb,children:u})]}):"Add an address to your account":"Login to see your risk"})})]})]})}),(0,r.jsxs)("div",{...(0,f.C)("petwatch-banner-bottom-section"),className:(0,n.A)(d().section,d().bottom),children:[x&&(0,r.jsx)(v.x,{src:"/images/petwatch/PetWatch-logo.svg",alt:"PetWatch logo",width:155,height:73,className:"".concat(d().petWatchLogo," pet-watch-logo"),unoptimized:!0}),y&&(0,r.jsx)(i.o,{tag:"span",className:d().message,children:y}),(0,r.jsx)(l.$,{status:"secondary",size:"sm",onClick:()=>{let e=P();e&&(window.location.href=e)},theme:{root:d().cta},children:"Protect your pet"})]})]})]})}}}]);
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.