1"use strict";(self.webpackChunkgatsby_starter_default=self.webpackChunkgatsby_starter_default||[]).push([[721],{1596:function(e,t,a){var l=a(4836);t.Z=void 0;var c=l(a(4938)),n=a(5893),s=(0,c.default)((0,n.jsx)("path",{d:"m10 17 5-5-5-5v10z"}),"ArrowRight");t.Z=s},6542:function(e,t,a){a.d(t,{_:function(){return o}});var l=a(7294),c=a(574),n=a(8032),s=a(7557);const r=e=>{var t,s;let{article:r}=e;const o=(0,n.c)(null===(t=r.feat)||void 0===t||null===(s=t.node)||void 0===s?void 0:s.img),i=new Date(r.date);i.getDate(),i.getMonth(),i.getFullYear();return l.createElement("div",{key:r.title,className:"block-container sm:flex sm:items-center bg-white transform transition-transform duration-500 hover:scale-105"},l.createElement(c.Link,{to:r.uri,className:"sm:flex-1"},o?l.createElement(n.G,{image:o,alt:"",className:"block-image w-full max-h-[200px] object-cover rounded-md",imgStyle:{objectFit:"cover"},width:200}):l.createElement(n.S,{src:"../images/fallbacks/article-fallback.png",className:"block-image max-h-[200px] rounded-lg hover:shadow-lg transition-shadow duration-200",width:200,alt:r.title||"",__imageData:a(7964)}),l.createElement("div",{className:"block-text text-sm sm:text-base bg-white wba-green px-4 py-2"},l.createElement("h6",{className:"font-bold text-center"},r.title))))},o=()=>{const e=(0,s.F)().wp.nodes;return l.createElement("aside",{className:"news w-64 p-4 lg:pt-8 bg-white rounded-lg",style:{position:"sticky",alignSelf:"start",top:"14rem"}},l.createElement("h2",{className:"text-2xl font-bold py-1 upper-case w-full wba-green text-shadow text-center"},"Latest News"),l.createElement("ul",{className:"articles-list flex flex-col items-center space-y-4 w-full px-2 py-2"},e.map(((e,t)=>l.createElement("li",{key:t},l.createElement(r,{article:e}))))),l.createElement("span",{className:"news-archive-link w-full flex justify-center mt-6"},l.createElement(c.Link,{to:"/news-archive",className:"text-white font-bold upper-case text-base bg-[#114734] rounded-full px-5 py-2"},"News Archive")))};t.Z=()=>{const{0:e,1:t}=(0,l.useState)(!1),a=(0,s.F)().wp.nodes;return l.createElement(l.Fragment,null,l.createElement("button",{className:"fixed envelope bottom-4 right-4 lg:hidden z-50 bg-wba-green text-white rounded-full p-3 flex items-center justify-center",onClick:()=>t(!e)},l.createElement("span",{className:"envelope-icon "+(e?"opened":""),dangerouslySetInnerHTML:{__html:"..."}}),e?"Close News":"Open News"),l.createElement("aside",{className:`news transform transition-transform duration-500 ease-in-out ${e?"translate-x-0":"lg:translate-x-0 -translate-x-full"} relative top-0 right-0 w-64 bg-cover bg-image-url z-10 overflow-y-scroll p-4 bg-white rounded-lg`},l.createElement("h2",{className:"text-2xl font-bold py-1 upper-case w-full wba-green text-shadow text-center"},"Latest News"),l.createElement("ul",{className:"articles-list flex flex-col items-center space-y-4 w-full px-2 py-2"},a.map(((e,t)=>l.createElement("li",{key:t},l.createElement(r,{article:e}))))),l.createElement("span",{className:"news-archive-link w-full flex justify-center mt-6"},l.createElement(c.Link,{to:"/news-archive",className:"text-white font-bold upper-case text-base bg-[#114734] rounded-full px-5 py-2"},"News Archive"))))}},1884:function(e,t,a){var l=a(7294),c=a(8032),n=a(6093);t.Z=()=>{const e=(0,n.o)();if(Array.isArray(e.product.nodes)&&"placeholder"!==e.product.nodes[0].title){var t;const a=null==e||null===(t=e.product)||void 0===t?void 0:t.nodes.slice(0,6),s=e.wp.store.logo.gatsbyImage,r=e.wp.store.url;return l.createElement("aside",{className:"shopify bg-white text-black overflow-hidden pb-4 sm:pb-6 md:pb-8 lg:pb-10 flex flex-col w-full lg:max-w-[350px] max-h-[1200px] h-full px-4 sm:px-6 md:px-8 lg:px-10 overflow-y-auto mx-auto md:mx-0 md:ml-auto justify-center",style:{position:"sticky",alignSelf:"start",top:"12rem"}},l.createElement("div",{className:"store-branding mb-4 lg:mb-0 flex justify-center"},l.createElement("a",{href:r,onClick:n.k},l.createElement(c.G,{image:s,alt:"Store logo",objectFit:"contain",layout:"fullWidth",loading:"lazy",className:"mx-auto h-20 sm:h-24 lg:h-48 lg:w-60"}))),l.createElement("div",{className:"product-list flex-1 overflow-y-auto scrollbar-thin scrollbar-thumb-gray-400 scrollbar-track-gray-200 grid grid-cols-1 gap-4 mx-auto"},a&&a.map(((e,t)=>{const a=(0,c.c)(e.image.childImageSharp.gatsbyImageData);return l.createElement("div",{key:t,className:"flex flex-col justify-between py-2 bg-white text-green-900"},l.createElement("a",{href:`${r}/products/${e.handle}`,className:"group flex flex-col flex-nowrap justify-center",onClick:n.k},l.createElement(c.G,{image:a,alt:e.title,objectFit:"contain",layout:"fullWidth",className:"transition-all duration-500 group-hover:scale-105"}),l.createElement("div",{className:"p-2"},l.createElement("h3",{className:"font-semibold text-center text-xs sm:text-sm md:text-base mb-1 transition-all duration-500 group-hover:text-yellow-500"},e.title))))}))))}return null}},7557:function(e,t,a){a.d(t,{F:function(){return c}});var l=a(574);const c=()=>{var e;const t=(0,l.useStaticQuery)("2813353242");return null!==(e=t.wp)&&void 0!==e&&e.nodes?t:void 0}},6093:function(e,t,a){a.d(t,{k:function(){return n},o:function(){return c}});var l=a(574);const c=()=>{const e=(0,l.useStaticQuery)("4068079176");return"placeholder"!==e.product.nodes[0].title?e:null},n=()=>{void 0!==typeof window&&window.gtag?window.gtag("event","store_click"):console.log("Gtag event did not fire")}},3211:function(e,t,a){a.r(t),a.d(t,{Head:function(){return f}});var l=a(7294),c=a(2407),n=a(6542),s=a(9357),r=a(5972),o=a(8032),i=a(1
1596),m=a(574),d=a(4453),u=a(1884);const f=e=>{var t,a;let{data:c}=e;return l.createElement(s.Z,{title:null===(t=c.team)||void 0===t?void 0:t.name,description:`Results & Statistics for ${(null===(a=c.team)||void 0===a?void 0:a.name)||"unavailable"}`})};t.default=e=>{var t,s,f,b,g,p,w;let{pageContext:x,data:h}=e;const{fixture:v}=x;let{wpClub:E,team:k}=h;if(E=null!==(t=E)&&void 0!==t?t:{},E.slug=null!==(s=E.slug)&&void 0!==s?s:"",E.acf=null!==(f=E.acf)&&void 0!==f?f:{},E.acf.logo=null!==(b=E.acf.logo)&&void 0!==b?b:"https://wolfpackbasketball.com.au/_gatsby/image/85a677d7a74c21802e4a3d102120973c/066a53430beb8eb2cd1030e839ba88a4/WBA-Green.avif",E.acf.colorA=null!==(g=E.acf.colorA)&&void 0!==g?g:"#9999",E.acf.colorB=null!==(p=E.acf.colorB)&&void 0!==p?p:"#9a9a9a",0==E.slug.length)return;const{logo:y="https://wolfpackbasketball.com.au/_gatsby/image/85a677d7a74c21802e4a3d102120973c/066a53430beb8eb2cd1030e839ba88a4/WBA-Green.avif",colorA:N="#9999",colorB:S="#9a9a9a"}=E&&E.acf||{};E&&void 0===E.slug&&(E.slug="");const D=k.name,C=k.isJunior,L=null===(w=E)||void 0===w?void 0:w.slug,_=k.group;let j,J;C&&(j=E?E.acf:null,J=null==y?void 0:y.gatsbyImage);const W=()=>{const e=[{text:"Teams",link:"/teams"},{text:"SDC",link:"/teams/senior"},{text:D,link:"#"}];return C&&(e[1]={text:L[0].toUpperCase()+L.slice(1,L.length),link:`/clubs/${x.clubSlug}`},e[2]={text:_[0].toUpperCase()+_.slice(1,3),link:"#"}),l.createElement(l.Fragment,null,l.createElement("div",{className:"team-breadcrumbs w-full flex bg-slate-900 "+(C?"junior":"default")},l.createElement("div",{className:"breadcrumbs-inner flex flex-row flex-nowrap space-between mx-auto "},e.map(((t,a)=>a!==e.length-1?l.createElement(l.Fragment,null,l.createElement("div",{className:"breadcrumb-text",key:a},l.createElement(m.Link,{to:t.link,className:"h-full w-full"},l.createElement("p",null," ",t.text," "))),l.createElement(i.Z,{key:"a"+a,className:"mx-1 breadcrumb-icon"})):l.createElement("div",{className:"breadcrumb-text",key:a},l.createElement("strong",null,t.text)))))))};switch(C){case!0:return l.createElement(c.Z,null,l.createElement("div",{className:"team-page-layout"},l.createElement("div",{className:`team-banner ${E.slug}`,style:{backgroundColor:N}},l.createElement("div",{className:"team-club-image",style:{backgroundImage:`linear-gradient(to-left,${N},rgba(240,240,240,0.1))`}},l.createElement(m.Link,{to:`/clubs/${x.clubSlug}`},l.createElement(o.G,{className:"club-image",image:J,alt:`Logo for ${k.name}`,objectFit:"scale-down"}))),l.createElement("div",{className:"junior-domestic-image"},l.createElement(m.Link,{href:"/teams"},l.createElement(o.S,{src:"../images/JDC-White-alpha.png",alt:"Junior Domestic Comp. logo for Wanneroo Basketball Association",__imageData:a(1947)}))),l.createElement("h1",{style:{color:S}},k.name),l.createElement(W,null)),l.createElement("div",{className:"team-page-grid"},l.createElement(u.Z,null),l.createElement(n._,null),l.createElement("div",{className:"team-content"},l.createElement(r.E,{teamData:k,fixtureData:v,colors:[N,S]})))),l.createElement(d.Z,null));case!1:return l.createElement(c.Z,null,l.createElement("div",{className:""},l.createElement("div",{className:"team-banner default"},l.createElement("span",{className:"banner-stripe"}),l.createElement("div",{className:"team-club-image"},l.createElement(o.S,{className:"club-image",src:"../images/logos/SeniorDomesticLogo-small.png",alt:"Logo for Senior Domestic Competition",__imageData:a(7138)})),l.createElement("h1",{className:"team-name"},k.name)),l.createElement(W,null),l.createElement("div",{className:"team-page-grid"},l.createElement(u.Z,null),l.createElement(n._,null),l.createElement("div",{className:"team-content"},l.createElement(r.E,{teamData:k,fixtureData:v,colors:[N,S]})))),l.createElement(d.Z,null));default:return l.createElement(c.Z,null,l.createElement("div",{className:"oops"},l.createElement("p",null,"It seems something went wrong. ",l.createElement(m.Link,{to:"/"},"Click here to return Home.")," ")))}}},7964:function(e){e.exports=JSON.parse('{"layout":"constrained","backgroundColor":"#184838","images":{"fallback":{"src":"/static/dd460e8381d82c3f5f6dbb47544c5622/2c67b/article-fallback.png","srcSet":"/static/dd460e8381d82c3f5f6dbb47544c5622/6e317/article-fallback.png 50w,\\n/static/dd460e8381d82c3f5f6dbb47544c5622/4e4d4/article-fallback.png 100w,\\n/static/dd460e8381d82c3f5f6dbb47544c5622/2c67b/article-fallback.png 200w,\\n/static/dd460e8381d82c3f5f6dbb47544c5622/6addd
1/article-fallback.png 400w","sizes":"(min-width: 200px) 200px, 100vw"},"sources":[{"srcSet":"/static/dd460e8381d82c3f5f6dbb47544c5622/1a81d/article-fallback.webp 50w,\\n/static/dd460e8381d82c3f5f6dbb47544c5622/f6ea0/article-fallback.webp 100w,\\n/static/dd460e8381d82c3f5f6dbb47544c5622/b5535/article-fallback.webp 200w,\\n/static/dd460e8381d82c3f5f6dbb47544c5622/f5c71/article-fallback.webp 400w","type":"image/webp","sizes":"(min-width: 200px) 200px, 100vw"}]},"width":200,"height":150}')},1947:function(e){e.exports=JSON.parse('{"layout":"constrained","backgroundColor":"#080808","images":{"fallback":{"src":"/static/e8e1d02072f43531313a06d63cef48eb/589b6/JDC-White-alpha.png","srcSet":"/static/e8e1d02072f43531313a06d63cef48eb/7bf4b/JDC-White-alpha.png 201w,\\n/static/e8e1d02072f43531313a06d63cef48eb/99b56/JDC-White-alpha.png 402w,\\n/static/e8e1d02072f43531313a06d63cef48eb/589b6/JDC-White-alpha.png 804w","sizes":"(min-width: 804px) 804px, 100vw"},"sources":[{"srcSet":"/static/e8e1d02072f43531313a06d63cef48eb/222d7/JDC-White-alpha.webp 201w,\\n/static/e8e1d02072f43531313a06d63cef48eb/bc8fd/JDC-White-alpha.webp 402w,\\n/static/e8e1d02072f43531313a06d63cef48eb/b82fb/JDC-White-alpha.webp 804w","type":"image/webp","sizes":"(min-width: 804px) 804px, 100vw"}]},"width":804,"height":682}')},7138:function(e){e.exports=JSON.parse('{"layout":"constrained","backgroundColor":"#080808","images":{"fallback":{"src":"/static/1ff2dac56d11c04b1539dc2a9bb1e2cf/0a313/SeniorDomesticLogo-small.png","srcSet":"/static/1ff2dac56d11c04b1539dc2a9bb1e2cf/6f65a/SeniorDomesticLogo-small.png 210w,\\n/static/1ff2dac56d11c04b1539dc2a9bb1e2cf/20107/SeniorDomesticLogo-small.png 421w,\\n/static/1ff2dac56d11c04b1539dc2a9bb1e2cf/0a313/SeniorDomesticLogo-small.png 841w","sizes":"(min-width: 841px) 841px, 100vw"},"sources":[{"srcSet":"/static/1ff2dac56d11c04b1539dc2a9bb1e2cf/bb028/SeniorDomesticLogo-small.webp 210w,\\n/static/1ff2dac56d11c04b1539dc2a9bb1e2cf/f562a/SeniorDomesticLogo-small.webp 421w,\\n/static/1ff2dac56d11c04b1539dc2a9bb1e2cf/dd276/SeniorDomesticLogo-small.webp 841w","type":"image/webp","sizes":"(min-width: 841px) 841px, 100vw"}]},"width":841,"height":453}')}}]); 2//# sourceMappingURL=component---src-templates-team-page-js-382523e161d7a1f174b8.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.