PageSourceSearch

https://www.woofyclub.com/_next/static/chunks/pages/blog/[slug]-6163772a90ec38fe.js

js woofyclub.com collected 2026-10-01 23:52:39 UTC 14,224 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2492],{49937:function(t,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[slug]",function(){return r(48746)}])},3208:function(t,e){"use strict";e.Z={src:"/_next/static/media/logo.77cd4b11.png",height:112,width:112,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAJ1BMVEUICAgKCgoMDAwPDw8ODg4JCQkDAwMKCgoJCQkCAgICAgIFBQUCAgJVluYnAAAADXRSTlMBdhCQaR2hPlLAtDHWAwIwywAAAAlwSFlzAAALEwAACxMBAJqcGAAAADVJREFUeJwti0kOACAMAqGbtvr/9xqrXJiQAYDgxXR0uyqHCyDGmTt6LJvRoiZrXWBs/udyHBcvALkRyW1xAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},36192:function(t,e,r){"use strict";r.d(e,{L:function(){return a}});var n=r(33102);let s=r(34155).env.NEXT_PUBLIC_SANITY_API_VERSION||"2023-07-12",a=(0,n.e)({apiVersion:s,dataset:"production",projectId:"q9nn5bzk",useCdn:!1})},56934:function(t,e,r){"use strict";r.d(e,{_L:function(){return h},cu:function(){return f},x3:function(){return w}});var n=r(85893),s=r(25675),a=r.n(s),i=r(7644),l=r(6803),o=r.n(l),c=r(36192),d=r(89646),u=r(69908);let m=o()(c.L),f=t=>{let{value:e}=t;return(0,n.jsx)(a(),{src:m.image(e).url(),className:"card-img-top",width:0,height:0,sizes:"100vw",style:{width:"100%",height:"auto"}})},h=t=>{let{value:e}=t,{appUrl:r,isWeb:s,shouldShowAppModal:a,toggleAppModal:l}=(0,d.Z)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.Z,{size:"lg",variant:"primary",className:"my-3 border-0 red-background",onClick:()=>{s?l():router.push(r)},children:"Get started for free"}),a&&(0,n.jsx)(u.Z,{onModalClose:()=>{l()}})]})},w=t=>{let{value:e}=t,{buttonText:r,url:s}=e;return(0,n.jsx)(i.Z,{size:"lg",variant:"primary",className:"my-3 border-0 red-background",href:s,target:"_blank",children:r})}},7421:function(t,e,r){"use strict";r.d(e,{Z:function(){return u}});var n=r(85893);r(67294);var s=r(25675),a=r.n(s),i=r(41664),l=r.n(i);r(1954);var o=r(36192),c=r(6803);let d=r.n(c)()(o.L);function u(t){let e=t.blogPost,r=t.section?t.section:"blog";return(0,n.jsxs)("div",{className:"card",children:[(0,n.jsx)(a(),{src:d.image(e.mainImage).url(),className:"card-img-top",alt:e.title,width:0,height:0,sizes:"100vw",style:{width:"100%",height:"auto"}}),(0,n.jsxs)("div",{className:"card-body",children:[(0,n.jsx)("h5",{className:"card-title",children:e.title}),(0,n.jsx)("p",{className:"card-subtitle text-muted",children:new Date(e.publishedAt).toDateString()}),(0,n.jsx)("p",{className:"card-text mt-2",children:e.introText}),(0,n.jsx)(l(),{href:"/".concat(r).concat("/").concat(e.slug.current),className:"btn btn-primary",children:"Read More"},e._id)]})]})}},69908:function(t,e,r){"use strict";var n=r(85893),s=r(3151),a=r(75193),i=r(2171),l=r(40842);e.Z=t=>{let{onModalClose:e,customHeaderText:r,customBodyText:o}=t;return(0,n.jsx)(a.Z,{onHide:e,closable:!0,headerText:r||"Download WoofyClub Now!",body:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{children:o||(0,n.jsx)(n.Fragment,{children:"Download the app and sign up for free to connect with thousands of nearby pawrents!"})}),(0,n.jsx)("br",{}),(0,n.jsxs)("div",{className:"d-flex justify-content-center align-items-center mobile-store-download-grid",children:[(0,n.jsxs)("div",{className:"d-flex justify-content-center align-items-center flex-column",children:[(0,n.jsx)("img",{src:"/assets/images/common/ios-download-qr.svg",alt:"WoofyClub on App Store QR Code",className:"d-none d-md-block mb-4",style:{width:150,height:150}}),(0,n.jsx)("div",{onClick:()=>{l.nT.track("download_app_button_clicked"),window.open(i.l5,"_blank","noopener,noreferrer")},role:"button",rel:"noreferrer",children:(0,n.jsx)("img",{alt:"WoofyClub on App Store",src:"/assets/images/common/app-store.svg",style:{height:40}})})]}),(0,n.jsx)("div",{className:"d-flex justify-content-center align-items-center flex-column",children:(0,n.jsx)("div",{style:{width:50}})}),(0,n.jsxs)("div",{className:"d-flex justify-content-center align-items-center flex-column",children:[(0,n.jsx)("img",{src:"/assets/images/common/android-download-qr.svg",alt:"WoofyClub on Google Play QR Code",className:"d-none d-md-block mb-4",style:{width:150,height:150}}),(0,n.jsx)("div",{onClick:()=>{l.nT.track("download_app_button_clicked"),window.open(i.VE,"_blank","noopener,noreferrer")},role:"button",children:(0,n.jsx)("img",{alt:"WoofyClub on Google Play",src:"/assets/images/common/google-play.svg",style:{height:40}})})]})]})]}),footer:(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(s.Z,{variant:"outline-dark",onClick:e,children:"Close"})})})}},57231:function(t,e,r){"use strict";var n=r(85893),s=r(69908),a=r(89646),i=r(40842),l=r(11163);e.Z=t=>{let{label:e,variant:r="primary",className:o}=t,c=(0,l.useRouter)(),{appUrl:d,isWeb:u,shouldShowAppModal:m,toggleAppModal:f}=(0,a.Z)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{type:"button",onClick:()=>{i.nT.track("download_app_button_clicked"),u?f():c.push(d)},className:"tw-btn tw-btn-xl ".concat("primary"===r?"tw-btn-primary":"tw-btn-white"," ").concat(o),children:e||"Get started for free"}),m&&(0,n.jsx)(s.Z,{onModalClose:()=>{f()}})]})}},89646:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});var n=r(2171),s=r(67294),a=r(85518);
1function i(){let[t,e]=(0,s.useState)(n.l5),[r,i]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{a.gn?e(n.l5):a.Dt&&e(n.VE)},[]),{appUrl:t,isWeb:!a.gn&&!a.Dt,shouldShowAppModal:r&&!a.gn&&!a.Dt,showAppModal:r,toggleAppModal:()=>{i(!r)}}}},48746:function(t,e,r){"use strict";r.r(e),r.d(e,{__N_SSG:function(){return tc},default:function(){return td}});var n=r(85893),s=r(67294),a=r(25675),i=r.n(a),l=r(5814);r(22687),r(1954),r(11163);var o=r(7421),c=r(40842),d=r(36192),u=r(6803),m=r.n(u);let f="https://cdn.sanity.io",h=/^https:\/\/cdn\.sanity\./,w=/^https:\/\/cdn\.[^/]+\/(images|files)\/[^/]+\/.*?[a-zA-Z0-9_]{24,40}.*$/,p=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+\.[a-z0-9]+$/,g=/^file-([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+$/,x=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})-\d+x\d+\.[a-z0-9]+$/,b=/^(images|files)\/([a-z0-9]+)\/([a-z0-9][-\w]*)\//,y=/^(?:image-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-\d+x\d+-[a-z0-9]+|file-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+)$/,j="sanity.fileAsset",A={projectId:"a",dataset:"b"},_="upload-in-progress-placeholder",v="upload-in-progress";class N extends Error{constructor(t,e="Failed to resolve asset ID from source"){super(e),this.unresolvable=!0,this.input=t}}function k(t){return(...e)=>{try{return t(...e)}catch(t){if(t.unresolvable&&"input"in t)return;throw t}}}function C(t){return null!==t&&!Array.isArray(t)&&"object"==typeof t}function $(t){return C(t)&&"string"==typeof t._ref}function I(t){return C(t)&&"string"==typeof t.path}function z(t){return C(t)&&"string"==typeof t.url}function D(t){return C(t)&&!!t.asset&&"object"==typeof t.asset}function E(t){return C(t)&&!!t._upload&&!("asset"in t)}function Z(t){return h.test(t)||w.test(t)}let R=Object.freeze({left:0,top:0,bottom:0,right:0}),F=Object.freeze({x:.5,y:.5,height:1,width:1}),L=()=>({...R}),M=()=>({...F});function S(t,e){let r=e?.projectId||t.projectId,n=e?.dataset||t.dataset;if(!r||!n)throw Error("Project details (projectId and dataset) required to resolve path for image");let s="metadata"in t?t.metadata.dimensions:{width:t.width,height:t.height},a="originalFilename"in t?t.originalFilename:void 0,{assetId:i,extension:l,vanityFilename:o}=t,{width:c,height:d}=s,u=W(a,o,e);return`images/${r}/${n}/${i}-${c}x${d}.${l}${u}`}function T(t,e){let r=e?.projectId||t.projectId,n=e?.dataset||t.dataset;if(!r||!n)throw Error("Project details (projectId and dataset) required to resolve path for file");let s="originalFilename"in t?t.originalFilename:void 0,{assetId:a,extension:i,vanityFilename:l}=t,o=W(s,l,e);return`files/${r}/${n}/${a}.${i}${o}`}function U(t){if(b.test(t))return t;if(!Z(t))throw new N(`Failed to resolve path from URL "${t}"`);return new URL(t).pathname.replace(/^\/+/,"")}let P=k(U);function W(t,e,r){let n=e||t;return r?.useVanityName!==!1&&n?`/${n}`:""}function q(t){let[,e,r,n]=t.split("-"),[s,a]=(r||"").split("x").map(Number);if(!e||!r||!n||!(s>0)||!(a>0))throw Error(`Malformed asset ID '${t}'. Expected an id like "image-027401f31c3ac1e6d78c5d539ccd1beff72b9b11-2000x3000-jpg".`);return{type:"image",assetId:e,width:s,height:a,extension:n}}function O(t){if(E(t))return{width:0,height:0,aspectRatio:0};let{width:e,height:r}=q(Q(t));return{width:e,height:r,aspectRatio:e/r}}function V(t,e){if(E(t))return{asset:{_id:_,_type:"sanity.imageAsset",assetId:v,extension:"tmp",url:"",path:"",metadata:{dimensions:{width:1,height:1,aspectRatio:1}}},crop:L(),hotspot:M()};let r=e||tt(t);return{asset:B(t,r),crop:t.crop||L(),hotspot:t.hotspot||M()}}function B(t,e){let r={...e||K(t),useVanityName:!1},n=Q(t),s=(t.asset||t).metadata||{},{assetId:a,width:i,height:l,extension:o}=q(n),c={...C(t)&&"sanity.imageAsset"===t._type?t:{},_id:n,_type:"sanity.imageAsset",assetId:a,extension:o,metadata:{...s,dimensions:{width:i,height:l,aspectRatio:i/l}},url:"",path:""};return{...c,path:S(c,r),url:`${r?.baseUrl||f}/${S(c,r)}`}}function G(t,e){if(E(t))return{asset:{_id:_,_type:j,assetId:v,extension:"tmp",url:"",path:"",metadata:{}}};let r=e||tt(t);return{asset:J(t,r)}}function J(t,e){if(E(t))return{assetId:v,_id:_,_type:j,extension:"tmp",metadata:{},url:"",path:""};let r={...e||K(t),useVanityName:!1},n=Q(t),s=t.asset||t,{assetId:a,extension:i}=function(t){if(!g.test(t))throw Error(`Malformed file asset ID '${t}'. Expected an id like "file-027401f31c3ac1e6d78c5d539ccd1beff72b9b11-pdf"`);let[,e,r]=t.split("-");return{type:"file",assetId:e,extension:r}}(n),l={...C(t)&&"sanity.fileAsset"===t._type?t:{},_id:n,_type:"sanity.fileAsset",assetId:a,extension:i,metadata:s.metadata||{},url:"",path:""};return{...l,path:T(l,r),url:`${r?.baseUrl||f}/${T(l,r)}`}}function Q(t){if(E(t))return _;let e=D(t)?t.asset:t,r="";if("string"==typeof e?r=H(e):$(e)?r=e._ref:C(e)&&"string"==typeof e._id?r=e._id:I(e)?r=Y(`${f}/${e.path}`):z(e)&&(r=Y(e.url)),!(r&&y.test(r)))throw new N(t);return r}k(function(t){let e=(P(t)||t).replace(/^(images|files)\/[a-z0-9]+\/[a-z0-9][-\w]\/*/,"");if(!(p.test(e)||x.test(e)))throw new N(`Failed to resolve filename from URL "${t}"`);return e}),k(O),k(function(t){return E(t)?"tmp":!function(t){let e=X(t);return!!e&&e.startsWith("file-")}(t)?V(t,A).asset.extension:G(t,A).asset.extension}),k(V),k(B),k(G),k(J);
1let X=k(Q);function H(t){if(y.test(t))return t;let e=Z(t)?new URL(t).pathname:t;if(0===e.indexOf("/images")||0===e.indexOf("/files"))return Y(t);if(b.test(t))return Y(`${f}/${t}`);if(p.test(t))return Y(`${f}/files/a/b/${t}`);if(x.test(t))return Y(`${f}/images/a/b/${t}`);throw new N(t)}function Y(t){let[e,,,r]=U(t).split("/");return`${e.replace(/s$/,"")}-${r.replace(/\./g,"-")}`}function K(t){let e=function t(e){if(D(e))return t(e.asset);if(!$(e)){if("string"==typeof e)return b.test(P(e)||"")?U(e):void 0;if(I(e))return e.path;if(z(e))return U(e.url)}}(t);if(!e)throw new N(t,"Failed to resolve project ID and dataset from source");let[,,r,n]=e.match(b)||[];if(!r||!n)throw new N(t,"Failed to resolve project ID and dataset from source");return{projectId:r,dataset:n}}k(H);let tt=k(K);var te=r(41664),tr=r.n(te),tn=r(56934);let ts=m()(d.L),ta={types:{image:t=>{let{value:e,isInline:r}=t,{width:s,height:a}=O(e);return(0,n.jsx)("img",{src:ts.image(e).url(),alt:e.alt||" ",loading:"lazy",className:"tw-my-8 mx-auto ".concat(r?"tw-max-w-xs":"tw-max-w-full"," tw-rounded-lg tw-shadow-lg"),style:{aspectRatio:s/a}})},cta:tn._L,customButton:tn.x3},block:{normal:t=>{let{children:e}=t;return 1===e.length&&""===e[0]?(0,n.jsx)("br",{}):(0,n.jsx)("p",{className:"tw-text-md tw-my-2 tw-whitespace-pre-wrap",children:e})},h1:t=>{let{children:e}=t;return(0,n.jsx)("h1",{className:"tw-text-2xl tw-font-bold tw-my-3",children:e})},h2:t=>{let{children:e}=t;return(0,n.jsx)("h2",{className:"tw-text-xl tw-font-bold tw-my-3",children:e})},h3:t=>{let{children:e}=t;return(0,n.jsx)("h3",{className:"tw-text-lg tw-font-bold tw-my-3",children:e})},blockquote:t=>{let{children:e}=t;return(0,n.jsx)("blockquote",{className:"tw-border-l-4 tw-pl-4 tw-my-4 tw-italic tw-text-gray-700 tw-border-gray-300",children:e})}},list:{bullet:t=>{let{children:e}=t;return(0,n.jsx)("ul",{className:"tw-list-disc tw-ml-8 tw-my-4",children:e})},number:t=>{let{children:e}=t;return(0,n.jsx)("ol",{className:"tw-list-decimal tw-ml-8 tw-my-4",children:e})}},listItem:{bullet:t=>{let{children:e}=t;return(0,n.jsx)("li",{className:"tw-mb-2",children:e})},number:t=>{let{children:e}=t;return(0,n.jsx)("li",{className:"tw-mb-2",children:e})}},marks:{link:t=>{let{children:e,value:r}=t;return(0,n.jsx)(tr(),{href:r.href,className:"tw-text-blue-500 tw-hover:text-blue-700",children:e})}}};var ti=r(3208),tl=r(57231);let to=m()(d.L);var tc=!0;function td(t){let{blogPost:e,otherPosts:r}=t;return(0,s.useEffect)(()=>{c.nT.track("visit_blog_page_detail",{page_title:e.title})},[]),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"tw-container tw-mx-auto",children:(0,n.jsxs)("div",{className:"tw-flex tw-flex-col md:tw-flex-row tw-text-left",children:[(0,n.jsxs)("div",{className:"md:tw-w-2/3 tw-m-4",children:[(0,n.jsx)("h1",{className:"tw-text-4xl tw-my-4 tw-text-center tw-font-medium",children:e.title}),(0,n.jsx)(i(),{src:to.image(e.mainImage).url(),className:"tw-w-full tw-h-auto tw-my-3",alt:e.title,width:0,height:0,sizes:"100vw"}),e.body?(0,n.jsx)(l.YI,{value:e.body,components:ta}):null]}),(0,n.jsxs)("div",{className:"md:tw-w-1/3",children:[(0,n.jsx)("br",{}),(0,n.jsx)("h5",{className:"tw-text-lg tw-mt-6 tw-my-3",children:"Checkout Other Posts"}),r.map((t,e)=>(0,n.jsx)("div",{className:"tw-mb-4",children:(0,n.jsx)(o.Z,{blogPost:t})},e))]})]})}),(0,n.jsxs)("div",{className:"tw-container tw-mx-auto tw-pb-5",children:[(0,n.jsx)("hr",{className:"tw-my-6"}),(0,n.jsxs)("div",{className:"tw-flex tw-flex-col tw-items-center tw-text-center",children:[(0,n.jsx)(i(),{src:ti.Z,alt:"Logo",height:70,className:"tw-m-2"}),(0,n.jsx)("h1",{className:"tw-font-bold tw-mx-5",children:"Try WoofyClub today"}),(0,n.jsx)("p",{className:"tw-text-gray-600 tw-font-bold",children:"Create your WoofyClub profile."}),(0,n.jsx)(tl.Z,{className:"tw-m-2 tw-mb-5"})]})]})]})}}},function(t){t.O(0,[5518,5675,9606,5814,2888,9774,179],function(){return t(t.s=49937)}),_N_E=t.O()}]);

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.