1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6475],{15239:(e,a,t)=>{t.d(a,{default:()=>n.a});var s=t(54652),n=t.n(s)},54652:(e,a,t)=>{Object.defineProperty(a,"__esModule",{value:!0}),!function(e,a){for(var t in a)Object.defineProperty(e,t,{enumerable:!0,get:a[t]})}(a,{default:function(){return i},getImageProps:function(){return c}});let s=t(28140),n=t(75040),l=t(81356),r=s._(t(71124));function c(e){let{props:a}=(0,n.getImgProps)(e,{defaultLoader:r.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,t]of Object.entries(a))void 0===t&&delete a[e];return{props:a}}let i=l.Image},56245:(e,a,t)=>{t.d(a,{A:()=>p});var s=t(95155),n=t(52619),l=t.n(n),r=t(15239);let c=(0,s.jsxs)("svg",{viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:2.4,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,s.jsx)("path",{d:"M15 21 9 11l.8 13.6C9.8 37 17.6 45.4 21.6 49.4h20.8C46.4 45.4 54.2 37 54.2 24.6L55 11l-6 10"}),(0,s.jsx)("path",{d:"M23 33h.02M41 33h.02"}),(0,s.jsx)("path",{d:"M28.5 41.5h7L32 45.5z"}),(0,s.jsx)("path",{d:"M32 45.5v3"})]}),i=(0,s.jsxs)("svg",{viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,s.jsx)("g",{stroke:"currentColor",strokeWidth:4.4,children:(0,s.jsx)("path",{d:"M26.5 22.5 18.5 17.4 13.8 20M37.5 22.5l8-5.1 4.7 2.6M26.5 34.5l-8 5.1-4.7-2.6M37.5 34.5l8 5.
11 4.7-2.6"})}),(0,s.jsxs)("g",{fill:"currentColor",stroke:"none",children:[(0,s.jsx)("ellipse",{cx:"32",cy:"13.4",rx:"5.5",ry:"6.3"}),(0,s.jsx)("ellipse",{cx:"32",cy:"28.2",rx:"7.1",ry:"11.4"}),(0,s.jsx)("path",{d:"M33.4 38.6c1.4 7-.6 12.2-4.7 14.9-3.5 2.3-7.3 1-7.5-2.1-.2-2.7 2.1-4.1 4.1-3.1-1.1 1.7.4 2.7 1.9 2 2.7-1.4 3.7-5.6 3.1-11.7Z"})]})]}),o=(0,s.jsxs)("svg",{viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:2.4,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,s.jsx)("path",{d:"M46 52H20a10 10 0 0 1 0-20h20a8 8 0 0 0 0-16H24a7 7 0 0 0 0 14h8"}),(0,s.jsx)("path",{d:"M46 52a5 5 0 0 0 0-10"}),(0,s.jsx)("path",{d:"M32 30h6"}),(0,s.jsx)("path",{d:"M28 25h.02"})]}),d=(0,s.jsxs)("svg",{viewBox:"0 0 64 64",fill:"currentColor",stroke:"none",children:[(0,s.jsx)("ellipse",{cx:"32",cy:"42",rx:"14",ry:"11"}),(0,s.jsx)("ellipse",{cx:"16",cy:"24",rx:"6",ry:"7.5"}),(0,s.jsx)("ellipse",{cx:"30",cy:"16",rx:"6",ry:"7.5"}),(0,s.jsx)("ellipse",{cx:"46",cy:"20",rx:"6",ry:"7.5"}),(0,s.jsx)("ellipse",{cx:"54",cy:"34",rx:"5.5",ry:"7"})]});function p(e){let{data:a,className:t,style:n,tabIndex:p,onClick:u,priority:h}
1=e,{href:x,name:m,speciesName:v,breedStr:j,ageStr:g,sexLabel:f,photoUrl:N,status:b,traits:k,feeLabel:w}=a,y=j||"",C=[g,f].filter(Boolean).join(" \xb7 "),M=m.split(" ")[0]||m,I=k.slice(0,3),L=k.length-I.length,E=I.length>0||null!=w;return(0,s.jsxs)(l(),{href:x,className:t?"pat-tile ".concat(t):"pat-tile",style:n,tabIndex:p,onClick:u,children:[(0,s.jsx)("span",{className:"pat-media",children:N?(0,s.jsx)(r.default,{src:N,alt:m,fill:!0,sizes:"(max-width: 640px) 50vw, (max-width: 1024px) 33vw, 320px",style:{objectFit:"cover"},priority:h}):(0,s.jsx)("span",{className:"pat-fallback","aria-hidden":"true",children:function(e){let a=(e||"").toLowerCase();return a.includes("dog")||a.includes("canine")?c:a.includes("liz")?i:a.includes("snake")?o:d}(v)})}),(0,s.jsx)("span",{className:"pat-scrim","aria-hidden":"true"}),b&&(0,s.jsxs)("span",{className:"pat-status pat-status--".concat(b.tone),children:[(0,s.jsx)("span",{className:"pat-status-dot","aria-hidden":"true"}),b.label]}),(0,s.jsxs)("span",{className:"pat-cap",children:[(0,s.jsx)("span",{className:"pat-name",children:m}),y&&(0,s.jsx)("span",{className:"pat-meta",children:y}),(0,s.jsx)("span",{className:"pat-extra",children:(0,s.jsxs)("span",{className:"pat-extra-inner",children:[C&&(0,s.jsx)("span",{className:"pat-submeta",children:C}),E&&(0,s.jsxs)("span",{className:"pat-traits",children:[I.map(e=>(0,s.jsx)("span",{className:"pat-trait",children:e},e)),L>0&&(0,s.jsxs)("span",{className:"pat-trait pat-trait--more",children:["+",L]}),w&&(0,s.jsx)("span",{className:"pat-fee",children:w})]}),(0,s.jsxs)("span",{className:"pat-cta",children:["Meet ",M]})]})})]})]})}},66475:(e,a,t)=>{t.d(a,{default:()=>u});var s=t(95155),n=t(52619),l=t.n(n),r=t(12115),c=t(56245);function i(e){let{animals:a,activeIdx:t,setActiveIdx:n}=e,l=a.length;return(0,s.jsx)("div",{className:"pac-coverflow-track",children:a.map((e,a)=>{let r=a-t;l>3&&(r>l/2?r-=l:r<-l/2&&(r+=l));let i=0===r,o=Math.abs(r),d=Math.sign(r);if(o>5&&l>9)return null;let p=220*r,u=i?1:Number(1-.18*o).toFixed(2),h=o>=4?0:+(1-.2*o).toFixed(2);return(0,s.jsx)(c.A,{data:e,tabIndex:i?0:-1,onClick:e=>{i||(e.preventDefault(),n(a))},style:{position:"absolute",width:"280px",transform:"translateX(".concat(p,"px) translateZ(").concat(250*!!i,"px) rotateY(").concat(-35*d,"deg) scale(").concat(u,")"),zIndex:100-o,opacity:h,visibility:h<=0?"hidden":"visible",pointerEvents:"auto"}},e.id)})})}function o(e){let{animals:a}=e,t=(0,r.useRef)(null),n=(0,r.useRef)(!1),l=(0,r.useRef)(null),i=(0,r.useCallback)(e=>{let a=t.current;if(!a)return;let s=a.scrollWidth-a.clientWidth,l=a.scrollLeft+256*e;l<0&&(l=s),l>s&&(l=0),a.scrollTo({left:l,behavior:"smooth"}),n.current=!0,setTimeout(()=>{n.current=!1},5e3)},[]);return(0,r.useEffect)(()=>{let e=t.current;if(!e||a.length<2)return;l.current=setInterval(()=>{if(n.current||!e)return;let a=e.scrollWidth-e.clientWidth;e.scrollLeft>=a-4?e.scrollTo({left:0,behavior:"smooth"}):e.scrollBy({left:256,behavior:"smooth"})},3500);let s=()=>{n.current=!0},r=()=>{n.current=!1};return e.addEventListener("mouseenter",s),e.addEventListener("mouseleave",r),e.addEventListener("touchstart",s,{passive:!0}),e.addEventListener("touchend",r),()=>{l.current&&clearInterval(l.current),e.removeEventListener("mouseenter",s),e.removeEventListener("mouseleave",r),e.removeEventListener("touchstart",s),e.removeEventListener("touchend",r)}},[a.length]),(0,s.jsxs)("div",{className:"pac-scroll-root-inner",children:[a.length>1&&(0,s.jsx)("button",{className:"pac-arrow pac-arrow-left pac-scroll-arrow",onClick:()=>i(-1),"aria-label":"Previous animal",children:"â¹"}),(0,s.jsx)("div",{ref:t,className:"pac-scroll-track",children:a.map(e=>(0,s.jsx)("div",{className:"pac-scroll-item",children:(0,s.jsx)(c.A,{data:e})},e.id))}),a.length>1&&(0,s.jsx)("button",{className:"pac-arrow pac-arrow-right pac-scroll-arrow",onClick:()=>i(1),"aria-label":"Next animal",children:"âº"})]})}function d(e){let{animals:a}=e;return(0,s.jsx)("div",{className:"pac-grid-track",children:a.map(e=>(0,s.jsx)(c.A,{data:e},e.id))})}function p(e){let{animals:a,activeIdx:t,setActiveIdx:n,next:l,prev:r}=e,i=a[t];return(0,s.jsxs)("div",{className:"pac-spotlight-root",children:[(0,s.jsx)("div",{className:"pac-spotlight-stage",children:(0,s.jsx)("div",{className:"pac-spotlight-card",children:(0,s.jsx)(c.A,{data:i})},t)}),a.length>1&&(0,s.jsxs)("div",{className:"pac-spotlight-nav",children:[(0,s.jsx)("button",{className:"pac-arrow pac-arrow-left",onClick:r,"aria-label":"Previous animal",children:"â¹"}),(0,s.jsx)("div",{className:"pac-dots",children:a.map((e,a)=>(0,s.jsx)("button",{className:"pac-dot".concat(a===t?" pac-dot--active":""),onClick:()=>n(a),"aria-label":"Go to animal ".concat(a+1)},"dot-".concat(a)))}),(0,s.jsx)("button",{className:"pac-arrow pac-arrow-right",onClick:l,"aria-label":"Next animal",children:"âº"})]})]})}function u(e){var a;let{animals:t,base:n,speciesFilter:c,showViewAll:u,carouselType:h="coverflow"}=e,[x,m]=(0,r.useState)(0),[v,j]=(0,r.useState)(!1),[g,f]=(0,r.useState)(null),[N,b]=(0,r.useState)(null),k=(0,r.useRef)(null),w=null!=(a=null==t?void 0:t.length)?a:0,y=(0,r.useCallback)(()=>m(e=>(e+1)%w),[w]),C=(0,r.useCallback)(()=>m(e=>(e-1+w)%w),[w]),M=e=>{b(null),f(e.targetTouches[0].clientX)},I=e=>b(e.targetTouches[0].clientX),L=()=>
1{if(!g||!N)return;let e=g-N;e>50?y():e<-50&&C()};return((0,r.useEffect)(()=>{if(!v&&0!==w&&"scroll"!==h&&"grid"!==h)return k.current=setInterval(y,4e3),()=>{k.current&&clearInterval(k.current)}},[v,y,h,w]),t&&0!==t.length)?"coverflow"===h?(0,s.jsxs)("div",{suppressHydrationWarning:!0,className:"pac-root",style:{width:"100vw",position:"relative",left:"50%",right:"50%",marginLeft:"-50vw",marginRight:"-50vw",paddingBottom:"var(--space-2xl)",zIndex:50,isolation:"isolate",pointerEvents:"auto"},onMouseEnter:()=>j(!0),onMouseLeave:()=>j(!1),onTouchStart:M,onTouchMove:I,onTouchEnd:L,children:[w>1&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("button",{className:"pac-arrow pac-arrow-left",onClick:C,"aria-label":"Previous animal",children:"â¹"}),(0,s.jsx)("button",{className:"pac-arrow pac-arrow-right",onClick:y,"aria-label":"Next animal",children:"âº"})]}),(0,s.jsx)(i,{animals:t,activeIdx:x,setActiveIdx:m}),(0,s.jsx)("div",{className:"pac-dots",children:t.map((e,a)=>(0,s.jsx)("button",{className:"pac-dot".concat(a===x?" pac-dot--active":""),onClick:()=>{m(a),j(!0),setTimeout(()=>j(!1),5e3)},"aria-label":"Go to animal ".concat(a+1)},"dot-".concat(a)))}),u&&c&&(0,s.jsx)("div",{className:"pac-view-all",children:(0,s.jsxs)(l(),{href:"".concat(n,"/animals?species=").concat(encodeURIComponent(c)),className:"btn btn-secondary",children:["See All ",c.replace(/_/g," "),"s â"]})})]}):"scroll"===h?(0,s.jsxs)("div",{className:"pac-scroll-root",style:{paddingBottom:"var(--space-xl)"},onTouchStart:M,onTouchMove:I,onTouchEnd:L,children:[(0,s.jsx)(o,{animals:t}),u&&c&&(0,s.jsx)("div",{style:{textAlign:"center",marginTop:"var(--space-md)",paddingInline:"var(--space-lg)"},children:(0,s.jsxs)(l(),{href:"".concat(n,"/animals?species=").concat(encodeURIComponent(c)),className:"btn btn-secondary",children:["See All ",c.replace(/_/g," "),"s â"]})})]}):"grid"===h?(0,s.jsxs)("div",{className:"pac-grid-root",style:{paddingInline:"var(--space-lg)",paddingBottom:"var(--space-xl)"},children:[(0,s.jsx)(d,{animals:t}),u&&c&&(0,s.jsx)("div",{style:{textAlign:"center",marginTop:"var(--space-md)"},children:(0,s.jsxs)(l(),{href:"".concat(n,"/animals?species=").concat(encodeURIComponent(c)),className:"btn btn-secondary",children:["See All ",c.replace(/_/g," "),"s â"]})})]}):(0,s.jsxs)("div",{className:"pac-spotlight-outer",style:{paddingBottom:"var(--space-xl)"},onTouchStart:M,onTouchMove:I,onTouchEnd:L,children:[(0,s.jsx)(p,{animals:t,activeIdx:x,setActiveIdx:m,next:y,prev:C}),u&&c&&(0,s.jsx)("div",{style:{textAlign:"center",marginTop:"var(--space-md)",paddingInline:"var(--space-lg)"},children:(0,s.jsxs)(l(),{href:"".concat(n,"/animals?species=").concat(encodeURIComponent(c)),className:"btn btn-secondary",children:["See All ",c.replace(/_/g," "),"s â"]})})]}):null}}}]);
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.