(window.webpackJsonp=window.webpackJsonp||[]).push([[21,10],{291:function(t,e,r){"use strict";r.r(e);var n={props:["image","couleur","titre","posY"]},o=r(9),component=Object(o.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("section",{staticClass:"h-48 md:h-72 bg-cover relative",style:{backgroundImage:"url("+t.image+")",backgroundPositionY:t.posY?t.posY+"%":"center"}},[r("h1",{staticClass:"texteTitre h-48 md:h-64 absolute left-16 top-1/2 lg:left-48 lg:top-16 text-white text-2xl md:text-3xl lg:text-4xl uppercase drop-shadow-2xl font-semibold tracking-wider"},[t._v(" "+t._s(t.titre))]),t._v(" "),r("svg",{staticClass:"block overflow-hidden absolute z-0 bottom-0 -mb-1",attrs:{width:"100%",viewBox:"0 0 1922 173",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M161.5 142L0 121V172.5H1922V125L1854 146L1536.5 76L962.5 126L578.5 32L161.5 142Z",fill:"#F9FAFB"}}),t._v(" "),r("path",{attrs:{d:"M577 0L0 90V141.5L164.5 162L577 45L961 132.5L1538.5 82.5L1855 155.5L1922 132V120L1538.5 59.5L960.5 120L577 0Z",fill:t.couleur?t.couleur:"#e6e6e6"}})]),t._v(" "),r("svg",{staticClass:"block overflow-hidden absolute z-0 bottom-0 -mb-1",attrs:{width:"100%",viewBox:"0 0 1922 173",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M161.5 142L0 121V172.5H1922V125L1854 146L1536.5 76L962.5 126L578.5 32L161.5 142Z",fill:"white","fill-opacity":"0.01"}}),t._v(" "),r("g",{attrs:{filter:"url(#filter0_i)"}},[r("path",{attrs:{d:"M577 0L0 90V141.5L164.5 162L577 45L961 132.5L1538.5 82.5L1855 155.5L1922 132V120L1538.5 59.5L960.5 120L577 0Z",fill:"#C4C4C4","fill-opacity":"0.01"}})]),t._v(" "),r("defs",[r("filter",{attrs:{id:"filter0_i",x:"0",y:"0",width:"1922",height:"166",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[r("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),t._v(" "),r("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}}),t._v(" "),r("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),t._v(" "),r("feOffset",{attrs:{dy:"4"}}),t._v(" "),r("feGaussianBlur",{attrs:{stdDeviation:"2"}}),t._v(" "),r("feComposite",{attrs:{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}}),t._v(" "),r("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}}),t._v(" "),r("feBlend",{attrs:{mode:"normal",in2:"shape",result:"effect1_innerShadow"}})],1)])])])}),[],!1,null,null,null);e.default=component.exports},360:function(t,e){},362:function(t,e){},421:function(t,e,r){"use strict";r.r(e);var n,o,l,c=r(2),d=(r(18),r(25),new(r(355))),f={head:function(){return{title:this.balado.title,meta:[{hid:"description",name:"description",content:"Découvrez ".concat(this.balado.title," en balado ou en direct sur les ondes de CFAK 88.3!")},{hid:"twitter:title",name:"twitter:title",content:this.balado.title},{hid:"twitter:description",name:"twitter:description",content:"Découvrez ".concat(this.balado.title," en balado ou en direct sur les ondes de CFAK 88.3!")},{hid:"twitter:image",name:"twitter:image",content:this.imgBalado},{hid:"twitter:image:alt",name:"twitter:image:alt",content:this.balado.title},{hid:"og:title",property:"og:title",content:this.balado.title},{hid:"og:description",property:"og:description",content:"Découvrez ".concat(this.balado.title," en balado ou en direct sur les ondes de CFAK 88.3!")},{hid:"og:image",property:"og:image",content:this.imgBalado},{hid:"og:image:secure_url",property:"og:image:secure_url",content:this.imgBalado},{hid:"og:image:alt",property:"og:image:alt",content:this.balado.title}]}},data:function(){return{cpage:"#3E77AA",episodes:[]}},asyncData:function(t){return Object(c.a)(regeneratorRuntime.mark((function e(){var r,n,o,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.error,n=t.$content,o=t.route,l="",e.prev=2,e.next=5,n("db-balados",o.params.slug).fetch();case 5:l=e.sent,e.next=11;break;case 8:e.prev=8,e.t0=e.catch(2),r(e.t0);case 11:return e.abrupt("return",{balado:l});case 12:case"end":return e.stop()}}),e,null,[[2,8]])})))()},computed:{episode:function(){return this.$store.state.episode},imgBalado:function(){try{if(this.balado.cover)return this.balado.cover}catch(t){return"/cfak-fallback.png"}}},mounted:function(){this.episodes=[],this.getEpisodes()},methods:{dateFormate:function(t){return new Date(t[2]).toLocaleDateString("fr-CA",{year:"numeric",month:"long",day:"numeric"})},getEpisodes:(l=Object(c.a)(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===this.balado){t.next=11;break}return t.prev=1,t.next=4,d.parseURL(this.balado.rss+"feed");case 4:t.sent.items.forEach((function(t){e.episodes.push([t.title,t.content,t.pubDate,t.enclosure.url,t.itunes.duration])})),t.next=10;break;case 8:t.prev=8,t.t0=t.catch(1);case 10:this.$refs.chargement.style.display="none";case 11:case"end":return t.stop()}}),t,this,[[1,8]])}))),function(){return l.apply(this,arguments)}),fclecture:(o=Object(c.a)(regeneratorRuntime.mark((function t(e,r){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.balado.slug+""+r==this.episode?this.$store.dispatch("setLecture",!this.$store.state.lecture):(this.$store.dispatch("setLecteur",{type:"balado",image:"".concat(this.imgBalado),nom:e[0],url:e[3],id:this.balado.slug+""+r}),this.$store.dispatch("setLecture",!0));case 1:case"end":return t.stop()}}),t,this)}))),function(t,e){return o.apply(this,arguments)}),getInfo:(n=Object(c.a)(regeneratorRuntime.mark((function t(e,r){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:""==this.$refs["rDiv"+this.balado.slug+r][0].innerHTML?this.$refs["rDiv"+this.balado.slug+r][0].innerHTML=""==e[1]?"Aucune description":e[1]:this.$refs["rDiv"+this.balado.slug+r][0].innerHTML="";case 1:case"end":return t.stop()}}),t,this)}))),function(t,e){return n.apply(this,arguments)}),pause:function(){this.$store.dispatch("setLecture",!1)}}},h=f,m=r(9),component=Object(m.a)(h,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("ImageEntete",{attrs:{image:"/entete/balados.jpg",couleur:t.cpage,titre:t.balado.title}}),t._v(" "),r("div",{staticClass:"w-full lg:w-3/5 mx-auto mb-10"},[r("div",{staticClass:"mx-auto w-full lg:w-3/5 flex p-10 justify-between items-center"},[r("div",[r("Nuxt-link",{staticClass:"rounded-2xl bg-white shadow-md hover:shadow-xl transition-shadow duration-300 border-gray-200 border-solid border-2 py-3 px-5",attrs:{to:"/balados"}},[r("i",{staticClass:"fas fa-arrow-circle-left"}),t._v(" Retourner aux balados")])],1),t._v(" "),r("div")]),t._v(" "),r("div",{staticClass:"flex flex-col w-full lg:w-4/5 mx-auto"},[r("div",{staticClass:"flex flex-col lg:flex-row justify-center items-center mr-5"},[r("svg",{staticClass:"ombreCarte w-2/3 md:w-1/2",attrs:{width:"100%",viewBox:"0 0 251 244",fill:"none",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[r("path",{attrs:{d:"M11.7408 13.9294C11.8918 12.5147 13.0157 11.4005 14.4317 11.2619L129.209 0.0284264C129.403 0.0094848 129.597 0.00940481 129.791 0.0281881L245.351 11.2428C246.863 11.3895 248.026 12.6423 248.061 14.1604L251 143L248.088 231.467C248.038 232.991 246.853 234.235 245.333 234.359L133.237 243.481C133.079 243.494 132.921 243.494 132.763 243.482L14.4814 234.333C13.0425 234.222 11.8867 233.102 11.7304 231.667L0.0349825 124.322C0.0116965 124.108 0.0114529 123.892 0.0342562 123.678L11.7408 13.9294Z",fill:"url(#p"+t.balado.slug+")"}}),t._v(" "),r("defs",[r("pattern",{attrs:{id:"p"+t.balado.slug,patternContentUnits:"objectBoundingBox",width:"1",height:"1"}},[r("use",{attrs:{"xlink:href":"#a"+t.balado.slug,transform:"translate(0 -0.0154004) scale(0.001)"}})]),t._v(" "),r("image",{attrs:{id:"a"+t.balado.slug,width:"1000",height:"1000","xlink:href":t.imgBalado}})])]),t._v(" "),t.balado.individu?r("div",{staticClass:"text-center mb-8 w-1/2"},[r("p",[t._v("avec")]),t._v(" "),t._l(t.balado.individu,(function(e,n){return r("p",{key:n,staticClass:"text-xl uppercase"},[t._v("\n            "+t._s(e?e.replace("-"," "):"")+"\n          ")])}))],2):t._e()]),t._v(" "),t.balado.body?r("div",[r("nuxt-content",{staticClass:"desc text-justify text-gray-600 p-5 shadow-inner mt-5",attrs:{document:t.balado}})],1):t._e(),t._v(" "),t.balado.genre?r("div",{staticClass:"mx-5 mt-5 lg:mx-0"},[r("span",{staticClass:"text-gray-400"},[t._v("Genre:")]),t._v(" "),t._l(t.balado.genre,(function(e,n){return r("Nuxt-Link",{key:n,staticClass:"inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-indigo-100 bg-indigo-700 rounded mr-1 hover:bg-indigo-800",attrs:{to:"/balados/page/"+e}},[t._v(t._s(e))])}))],2):t._e(),t._v(" "),r("div",{staticClass:"h-16 border-collapse mb-5"},[r("div",{staticClass:"flex flex-row justify-center items-center"},[this.balado.rss?r("a",{attrs:{href:this.balado.rss?this.balado.rss:"#"}},[t._m(0)]):t._e()])]),t._v(" "),r("div",{staticClass:"w-full mx-auto"},[t.balado.lister?t._e():r("div",{staticClass:"text-center"},[t._v("Cet émission n'est pas disponible en balado.")]),t._v(" "),r("div",{ref:"chargement",staticClass:"text-center"},[t._m(1)]),t._v(" "),t._l(t.episodes,(function(e,n){return r("div",{key:n,staticClass:"flex flex-col shadow-inner m-6",class:t.episode==t.balado.slug+""+n?"selectEpisode":""},[r("div",{staticClass:"w-full flex justify-between items-center py-3 px-3 gap-4"},[r("div",{staticClass:"flex-grow-0"},[t.episode==t.balado.slug+""+n&&t.lecture?r("button",{staticClass:"text-black rounded-full w-12 h-12",on:{click:t.pause}},[t._m(3,!0)]):r("button",{staticClass:" text-black w-12 h-12",on:{click:function(r){return t.fclecture(e,n)}}},[t._m(2,!0)])]),t._v(" "),r("div",{staticClass:"text-left flex-grow-1 w-full"},[r("h6",{staticClass:"text-sm font-semibold",domProps:{innerHTML:t._s(e[0])}}),t._v(" "),r("p",{staticClass:"text-xs"},[t._v(t._s(t.dateFormate(e))+" — Durée: "+t._s(e[4]))])]),t._v(" "),r("div",{staticClass:"flex-grow-0"},[r("button",{on:{click:function(r){return t.getInfo(e,n)}}},[r("i",{staticClass:"fas fa-info-circle fa-2x btniPageBalado"})])])]),t._v(" "),r("div",{ref:"rDiv"+t.balado.slug+n,refInFor:!0,staticClass:"text-center text-xs transition duration-300 tableInfo"})])}))],2)])])],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"border-gray-200 shadow-md hover:shadow-lg border-solid border-2 flex justify-center items-center h-16 w-16"},[e("span",[e("i",{staticClass:"fas fa-rss fa-lg"})])])},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{staticClass:"flex flex-col justify-center items-center"},[r("i",{staticClass:"fas fa-compact-disc fa-4x animate-spin"}),t._v("Chargement en cours")])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"flex justify-center items-center"},[e("i",{staticClass:"fas fa-play-circle fa-3x btnpPageBalado"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"flex justify-center items-center"},[e("i",{staticClass:"fas fa-pause-circle fa-3x"})])}],!1,null,null,null);e.default=component.exports;installComponents(component,{ImageEntete:r(291).default})}}]);