1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9970],{37224:function(e,n,t){"use strict";t.d(n,{Z:function(){return U}});var _=t(29815),o=t(85893),a=t(63366),i=t(87462),c=t(67294),s=t(90512),r=t(94780),l=t(2101),d=t(90948),p=t(14136),u=t(85845),m=t(59773),b=t(47739),g=t(58974),v=t(51705),f=t(1588);var y=(0,f.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);var h=(0,f.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]);var x=(0,f.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),j=t(34867);function P(e){return(0,j.ZP)("MuiMenuItem",e)}var S=(0,f.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const N=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],k=(0,d.ZP)(b.Z,{shouldForwardProp:e=>(0,p.Z)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,t.dense&&n.dense,t.divider&&n.divider,!t.disableGutters&&n.gutters]}})((({theme:e,ownerState:n})=>(0,i.Z)({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!n.disableGutters&&{paddingLeft:16,paddingRight:16},n.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${S.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${S.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${S.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${S.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${S.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${y.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${y.inset}`]:{marginLeft:52},[`& .${x.root}`]:{marginTop:0,marginBottom:0},[`& .${x.inset}`]:{paddingLeft:36},[`& .${h.root}`]:{minWidth:36}},!n.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},n.dense&&(0,i.Z)({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${h.root} svg`]:{fontSize:"1.25rem"}}))));var w=c.forwardRef((function(e,n){const t=(0,u.i)({props:e,name:"MuiMenuItem"}),{autoFocus:_=!1,component:l="li",dense:d=!1,divider:p=!1,disableGutters:b=!1,focusVisibleClassName:f,role:y="menuitem",tabIndex:h,className:x}=t,j=(0,a.Z)(t,N),S=c.useContext(m.Z),w=c.useMemo((()=>({dense:d||S.dense||!1,disableGutters:b})),[S.dense,d,b]),L=c.useRef(null);(0,g.Z)((()=>{_&&L.current&&L.current.focus()}),[_]);const Z=(0,i.Z)({},t,{dense:w.dense,divider:p,disableGutters:b}),C=(e=>{const{disabled:n,dense:t,divider:_,disableGutters:o,selected:a,classes:c}=e,s={root:["root",t&&"dense",n&&"disabled",!o&&"gutters",_&&"divider",a&&"selected"]},l=(0,r.Z)(s,P,c);return(0,i.Z)({},c,l)})(t),I=(0,v.Z)(L,n);let F;return t.disabled||(F=void 0!==h?h:-1),(0,o.jsx)(m.Z.Provider,{value:w,children:(0,o.jsx)(k,(0,i.Z)({ref:I,role:y,tabIndex:F,component:l,focusVisibleClassName:(0,s.Z)(C.focusVisible,f),className:(0,s.Z)(C.root,x)},j,{ownerState:Z,classes:C}))})})),L=t(45921),Z=t(25675),C=t.n(Z),I=t(11163),F=t(81028),O=t(45733),$=t(39530),R=t.n($),M=function(){return(0,o.jsx)("a",{href:"https://podcasts.apple.com/ca/podcast/dirtstories/id1506595794",onClick:function(){O.$.listenOnAppleButtonClick()},target:"_blank",rel:"noopener noreferrer",children:(0,o.jsx)("div",{className:R().listen_on_container__image,children:(0,o.jsx)(C(),{src:"https://res.cloudinary.com/dsfzcj5qk/image/upload/v1615107859/dark-US_UK_Apple_Podcasts_Listen_Badge_zhyo7k.svg",alt:"Listen on Apple Podcasts",layout:"fill",objectFit:"contain",loader:F.ZP})})})},z=function(){return(0,o.jsx)("a",{href:"https://podcasts.google.com/feed/aHR0cHM6Ly9tZWRpYS56ZW5jYXN0LmZtL2RpcnRzdG9yaWVzL3Jzcw",style:{cursor:"pointer"},onClick:function(){O.$.listenOnGoogleButtonClick()},target:"_blank",rel:"noopener noreferrer",children:(0,o.jsx)("div",{className:R().listen_on_container__image_google,children:(0,o.jsx)(C(),{className:"listen-on-google-container__image",src:"https://res.cloudinary.com/dsfzcj5qk/image/upload/v1615107859/dark-google-podcasts-badge_orig_kod3dn.svg",alt:"Listen on Google",layout:"fill",objectFit:"contain",loader:F.ZP})})})},V=function(){return(0,o.jsx)("a",{href:"https://open.spotify.com/show/36YB36pWDFjn6E5HtTQgNp",onClick:function(){O.$.listenOnSpotifyButtonClick()},target:"_blank",rel:"noopener noreferrer",children:(0,o.jsx)("div",{className:R().listen_on_container__image,children:(0,o.jsx)(C(),{src:"https://res.cloudinary.com/dsfzcj5qk/image/upload/v1615107859/dark-spotify-badge_vrs1bd.svg",alt:"Listen on Spotify",layout:"fill",objectFit:"contain",loader:F.ZP})})})},T=t(1402),q=t.n(T),H=function(){return(0,o.jsxs)("div",{className:q().listen_on_podcasts_section_container,children:[(0,o.jsx)(V,{}),(0,o.jsx)(M,{}),(0,o.jsx)(z,{})]})},G=t(63739),E=t.n(G),B=function(e){var n=e.podcastsShown,t=e.episodeList;return(0,o.jsx)(o.Fragment,{children:null===t||void 0===t?void 0:t.map((function(e,t){if(void 0===e)return(0,o.jsx)(o.Fragment,{});var _=!1;
1return n.forEach((function(n){(null===n||void 0===n?void 0:n.id)==(null===e||void 0===e?void 0:e.id)&&(_=!0)})),(0,o.jsxs)("div",{className:E().podcast_section_container,style:_?{}:{display:"none"},children:[(0,o.jsx)(C(),{className:E().podcast_section_container__background,src:e.background_image,alt:e.background_alt_text,layout:"fill",objectFit:"cover",quality:1500,loader:F.TH}),(0,o.jsx)("div",{className:E().podcast_section_container__overlay,children:(0,o.jsxs)("div",{className:E().podcast_section_container__overlay__content,children:[(0,o.jsx)("div",{className:E().podcast_section_container__overlay__content__bubble_container,children:(0,o.jsx)(C(),{className:E().podcast_section_container__overlay__content__bubble_container__image,src:e.bubble_image,alt:e.bubble_alt_text,layout:"fill",objectFit:"cover",loader:F.ZP})}),(0,o.jsx)("h1",{className:E().podcast_section_container__overlay__content__title,children:e.episode_title}),(0,o.jsxs)("p",{className:E().podcast_section_container__overlay__content__details,children:[e.publish_date," ",(0,o.jsx)("b",{children:"\xb7"})," ",e.episode_time]}),(0,o.jsx)("div",{className:E().podcast_section_container__overlay__content__desc,dangerouslySetInnerHTML:{__html:e.episode_description}}),_?(0,o.jsx)("div",{className:E().podcast_section_container__overlay__content__embed,dangerouslySetInnerHTML:{__html:e.episode_embed_code}}):(0,o.jsx)(o.Fragment,{})]})})]},t)}))})},W=t(68218),A=t(16322),D=t.n(A),U=function(e){var n,t=e.podcastData,a=e.episodeList,i=e.showAllEpisodes,s=(0,I.useRouter)(),r=s.query.id,l=function(e){return a.find((function(n){return n.id===e}))},d=(0,c.useState)(i?(0,_.Z)(a.slice(0,3)):[l(r)]),p=d[0],u=d[1],m=(0,c.useState)(i?"View All":null===(n=l(r))||void 0===n?void 0:n.episode_title),b=m[0],g=m[1],v=function(e){var n,t="string"===typeof e.target.value?e.target.value:"";if("View All"===t)s.push("/blog/dirtstories");else{g(t);var _=(n=t,a.find((function(e){return e.episode_title===n})));u([_]),s.push("/blog/dirtstories/".concat(null===_||void 0===_?void 0:_.id))}};return(0,o.jsxs)("div",{className:D().podcast_page_container,children:[(0,o.jsxs)("div",{className:D().podcast_page_container__banner,children:[(0,o.jsxs)("div",{className:D().podcast_page_container__banner__main,children:[(0,o.jsx)(W.Uo,{lessThan:"quotecardmobile",children:(0,o.jsx)(C(),{className:D().podcast_page_container__banner__main__background,src:t.data.fields.header_background_image,alt:t.data.fields.header_background_alt_text,layout:"fill",objectFit:"cover",objectPosition:"center",priority:!0,loading:"eager",style:{zIndex:-1},quality:750,loader:F.TH})}),(0,o.jsx)(W.Uo,{greaterThanOrEqual:"quotecardmobile",children:(0,o.jsx)(C(),{className:D().podcast_page_container__banner__main__background,src:t.data.fields.header_background_image,alt:t.data.fields.header_background_alt_text,layout:"fill",objectFit:"cover",objectPosition:"center",priority:!0,loading:"eager",style:{zIndex:-1},quality:1400,loader:F.TH})}),(0,o.jsxs)("div",{className:D().podcast_page_container__banner__main__overlay,children:[(0,o.jsx)("div",{className:D().podcast_page_container__banner__main__overlay__logo,children:(0,o.jsx)(C(),{src:t.data.fields.dirtstories_logo,alt:t.data.fields.logo_alt_text,layout:"fill",objectFit:"contain",loader:F.ZP})}),(0,o.jsxs)("div",{className:D().podcast_page_container__banner__main__overlay__content,children:[(0,o.jsx)("p",{className:D().podcast_page_container__banner__main__overlay__content__text,children:t.data.fields.dirtstories_header_description}),(0,o.jsx)("div",{className:D().podcast_page_container__banner__main__overlay__content__listen_on_container,children:(0,o.jsx)(H,{})})]})]})]}),(0,o.jsx)("div",{className:D().podcast_page_container__banner__listen_now,children:(0,o.jsxs)("div",{className:D().podcast_page_container__banner__listen_now__content,children:[(0,o.jsx)("h2",{className:D().podcast_page_container__banner__listen_now__content__title,children:t.data.fields.sub_header}),(0,o.jsx)("p",{className:D().podcast_page_container__banner__listen_now__content__desc,children:t.data.fields.sub_text}),(0,o.jsx)("div",{className:D().podcast_page_container__banner__listen_now__content__select,children:(0,o.jsxs)(L.Z,{className:D().podcast_page_container__banner__listen_now__content__select__element,value:b,onChange:function(e){return v},MenuProps:{PaperProps:{style:{maxHeight:318}}},children:[(0,o.jsx)(w,{value:"View All",children:(0,o.jsx)("div",{style:{paddingLeft:"10px"},children:"View All"})}),a.map((function(e,n){return(0,o.jsx)(w,{value:e.episode_title,children:(0,o.jsx)("div",{style:{paddingLeft:"10px"},children:e.episode_title})},n)}))]})})]})})]}),(0,o.jsx)(B,{podcastsShown:p,episodeList:a}),a.length>p.length&&"View All"===b?(0,o.jsx)("div",{className:D().podcast_page_container__see_more,children:(0,o.jsx)("button",{className:D().podcast_page_container__see_more__button,onClick:function(){u((function(e){return a.slice(0,e.length+3)}))},children:(0,o.jsx)("span",{className:D().podcast_page_container__see_more__button__text,children:"SEE MORE"})})}):null]})}},18631:function(e,n,t){"use strict";t.d(n,{Z:function(){return u}});var _=t(85893),o=t(25675),a=t.n(o),i=t(81028),c=t(45733),s=t(22595),r=t.n(s),l=function(){return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("div",{className:r().subscribe_icon_
1image_container,children:(0,_.jsx)(a(),{src:"https://res.cloudinary.com/dsfzcj5qk/image/upload/v1615238556/envelope-grey_lvxe4j.svg",alt:"Letter Icon",width:18,height:24,objectFit:"contain",loader:i.ZP})}),(0,_.jsx)("div",{className:r().subscribe_title,children:"Get the latest from the DOZR Hub right to your inbox."}),(0,_.jsxs)("form",{action:"https://formspree.io/[email protected]",method:"POST",className:r().subscribe_email_input_field_container,children:[(0,_.jsx)("input",{type:"text",placeholder:"Email address",id:"formspree-input",name:"_replyto",className:r().subscribe_email_input_field_container__input}),(0,_.jsx)("div",{className:r().resource_and_contact_information_button_container,children:(0,_.jsx)("button",{type:"submit",className:r().resource_and_contact_information_button,onClick:function(){c.$.subscribeButtonClick()},children:(0,_.jsx)("span",{className:r().resource_and_contact_information_button__display,children:"SUBSCRIBE"})})})]})]})},d=t(73843),p=t.n(d),u=function(){return(0,_.jsx)("div",{className:p().resource_and_contact_information_container,children:(0,_.jsx)("div",{className:p().resource_and_contact_information_main_container,children:(0,_.jsx)("div",{className:p().leftside_information_container,children:(0,_.jsx)(l,{})})})})}},39530:function(e){e.exports={listen_on_container__image:"ListenOn_listen_on_container__image__KR9g7",listen_on_container__image_google:"ListenOn_listen_on_container__image_google__7uFXW"}},16322:function(e){e.exports={"MuiSelect-select":"PodcastPageLayout_MuiSelect-select__uPxzt",podcast_page_container:"PodcastPageLayout_podcast_page_container__4LUdU",podcast_page_container__banner__main:"PodcastPageLayout_podcast_page_container__banner__main__cldHS",podcast_page_container__banner__main__background:"PodcastPageLayout_podcast_page_container__banner__main__background__6DbPn",podcast_page_container__banner__main__overlay:"PodcastPageLayout_podcast_page_container__banner__main__overlay__no3mN",podcast_page_container__banner__main__overlay__logo:"PodcastPageLayout_podcast_page_container__banner__main__overlay__logo__VCas3",podcast_page_container__banner__main__overlay__content:"PodcastPageLayout_podcast_page_container__banner__main__overlay__content__5k9Tm",podcast_page_container__banner__main__overlay__content__text:"PodcastPageLayout_podcast_page_container__banner__main__overlay__content__text__YLiK0",podcast_page_container__banner__main__overlay__content__listen_on_container:"PodcastPageLayout_podcast_page_container__banner__main__overlay__content__listen_on_container__LzcDE",podcast_page_container__banner__listen_now:"PodcastPageLayout_podcast_page_container__banner__listen_now__0vz_0",podcast_page_container__banner__listen_now__content:"PodcastPageLayout_podcast_page_container__banner__listen_now__content__KHhMk",podcast_page_container__banner__listen_now__content__title:"PodcastPageLayout_podcast_page_container__banner__listen_now__content__title__S9wWY",podcast_page_container__banner__listen_now__content__desc:"PodcastPageLayout_podcast_page_container__banner__listen_now__content__desc__lAQWW",podcast_page_container__banner__listen_now__content__select:"PodcastPageLayout_podcast_page_container__banner__listen_now__content__select__sVkXU",podcast_page_container__banner__listen_now__content__select__element:"PodcastPageLayout_podcast_page_container__banner__listen_now__content__select__element__MOMd_",podcast_page_container__see_more:"PodcastPageLayout_podcast_page_container__see_more__dk_z5",podcast_page_container__see_more__button:"PodcastPageLayout_podcast_page_container__see_more__button__DpF34",podcast_page_container__see_more__button__text:"PodcastPageLayout_podcast_page_container__see_more__button__text__Zm72G"}},1402:function(e){e.exports={listen_on_podcasts_section_container:"ListenOnContainer_listen_on_podcasts_section_container__rtiiH"}},22595:function(e){e.exports={subscribe_icon_image_container:"SubscribeSection_subscribe_icon_image_container__XDyuh",subscribe_title:"SubscribeSection_subscribe_title__zMsQj",subscribe_email_input_field_container:"SubscribeSection_subscribe_email_input_field_container__1vwwb",subscribe_email_input_field_container__input
1:"SubscribeSection_subscribe_email_input_field_container__input__kTVDS",resource_and_contact_information_button_container:"SubscribeSection_resource_and_contact_information_button_container__VL96J",resource_button:"SubscribeSection_resource_button__90Sw_",resource_and_contact_information_button:"SubscribeSection_resource_and_contact_information_button__Yxqw9",resource_and_contact_information_button__display:"SubscribeSection_resource_and_contact_information_button__display__YMQPu"}},63739:function(e){e.exports={podcast_section_container:"PodcastSection_podcast_section_container__tnEgE",podcast_section_container__background:"PodcastSection_podcast_section_container__background__j6ogr",podcast_section_container__overlay:"PodcastSection_podcast_section_container__overlay__Ip_9T",podcast_section_container__overlay__content:"PodcastSection_podcast_section_container__overlay__content__YSvRe",podcast_section_container__overlay__content__bubble_container:"PodcastSection_podcast_section_container__overlay__content__bubble_container__lpUZp",podcast_section_container__overlay__content__bubble_container__image:"PodcastSection_podcast_section_container__overlay__content__bubble_container__image__eb9zU",podcast_section_container__overlay__content__title:"PodcastSection_podcast_section_container__overlay__content__title__8G0Cu",podcast_section_container__overlay__content__details:"PodcastSection_podcast_section_container__overlay__content__details__a0f6F",podcast_section_container__overlay__content__desc:"PodcastSection_podcast_section_container__overlay__content__desc__hFmgO",podcast_section_container__overlay__content__embed:"PodcastSection_podcast_section_container__overlay__content__embed__Ze_Gl"}},73843:function(e){e.exports={resource_and_contact_information_container:"ResourceInformationSection_resource_and_contact_information_container__uiJzW",resource_and_contact_information_main_container:"ResourceInformationSection_resource_and_contact_information_main_container__1az8O",leftside_information_container:"ResourceInformationSection_leftside_information_container__4VNDr",resource_and_contact_information_button_container:"ResourceInformationSection_resource_and_contact_information_button_container__8WgWr",resource_button:"ResourceInformationSection_resource_button__eSSfG",resource_and_contact_information_button:"ResourceInformationSection_resource_and_contact_information_button__opZI6",resource_and_contact_information_button__display:"ResourceInformationSection_resource_and_contact_information_button__display__2tup4",center_information_container:"ResourceInformationSection_center_information_container__u_lnh",rightside_information_container:"ResourceInformationSection_rightside_information_container__lJn15"}}}]);
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.