text: (window.webpackJsonp=window.webpackJsonp||[]).push([[8],{R8uD:function(e,t,n){"use strict";(function(e){n("DNiP"),n("bWfx"),n("DW2E"),n("hhXQ"),n("Z2Ku"),n("L9s1"),n("hHhE"),n("WLL4"),n("rE2o"),n("rGqo"),n("yt8O"),n("RW0V"),n("pIFo"),n("ioFf"),n("V+eJ"),n("KKXr"),n("a1Th"),n("h7Nl"),n("Btvt"),n("91GP"),n("HAE/"),Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("q1tI"),u=(r=o)&&"object"==typeof r&&"default"in r?r.default:r,i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};var l,a=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==c?c:"undefined"!=typeof self?self:{};function r(e,t){return e(t={exports:{}},t.exports),t.exports}var o,u,i,l="object",a=function(e){return e&&e.Math==Math&&e},f=a(typeof globalThis==l&&globalThis)||a(typeof window==l&&window)||a(typeof self==l&&self)||a(typeof n==l&&n)||Function("return this")(),s=function(e){try{return!!e()}catch(t){return!0}},d=!s((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),p={}.propertyIsEnumerable,E=Object.getOwnPropertyDescriptor,y={f:E&&!p.call({1:2},1)?function(e){var t=E(this,e);return!!t&&t.enumerable}:p},h=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},v={}.toString,m="".split,T=s((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==function(e){return v.call(e).slice(8,-1)}(e)?m.call(e,""):Object(e)}:Object,g=function(e){return T(function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}(e))},b=function(e){return"object"==typeof e?null!==e:"function"==typeof e},O=function(e,t){if(!b(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!b(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!b(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!b(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},_={}.hasOwnProperty,I=function(e,t){return _.call(e,t)},D=f.document,S=b(D)&&b(D.createElement),N=function(e){return S?D.createElement(e):{}},L=!d&&!s((function(){return 7!=Object.defineProperty(N("div"),"a",{get:function(){return 7}}).a})),A=Object.getOwnPropertyDescriptor,R={f:d?A:function(e,t){if(e=g(e),t=O(t,!0),L)try{return A(e,t)}catch(n){}if(I(e,t))return h(!y.f.call(e,t),e[t])}},w=function(e){if(!b(e))throw TypeError(String(e)+" is not an object");return e},P=Object.defineProperty,j={f:d?P:function(e,t,n){if(w(e),t=O(t,!0),w(n),L)try{return P(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},H=d?function(e,t,n){return j.f(e,t,h(1,n))}:function(e,t,n){return e[t]=n,e},M=function(e,t){try{H(f,e,t)}catch(n){f[e]=t}return t},k=r((function(e){var t=f["__core-js_shared__"]||M("__core-js_shared__",{});(e.exports=function(e,n){return t[e]||(t[e]=void 0!==n?n:{})})("versions",[]).push({version:"3.1.3",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),G=k("native-function-to-string",Function.toString),K=f.WeakMap,B="function"==typeof K&&/native code/.test(G.call(K)),x=0,C=Math.random(),Y=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++x+C).toString(36)},U=k("keys"),F=function(e){return U[e]||(U[e]=Y(e))},V={},W=f.WeakMap;if(B){var q=new W,Q=q.get,z=q.has,J=q.set;o=function(e,t){return J.call(q,e,t),t},u=function(e){return Q.call(q,e)||{}},i=function(e){return z.call(q,e)}}else{var X=F("state");V[X]=!0,o=function(e,t){return H(e,X,t),t},u=function(e){return I(e,X)?e[X]:{}},i=function(e){return I(e,X)}}var Z={set:o,get:u,has:i,enforce:function(e){return i(e)?u(e):o(e,{})},getterFor:function(e){return function(t){var n;if(!b(t)||(n=u(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},$=r((function(e){var t=Z.get,n=Z.enforce,r=String(G).split("toString");k("inspectSource",(function(e){return G.call(e)})),(e.exports=function(e,t,o,u){var i=!!u&&!!u.unsafe,c=!!u&&!!u.enumerable,l=!!u&&!!u.noTargetGet;"function"==typeof o&&("string"!=typeof t||I(o,"name")||H(o,"name",t),n(o).source=r.join("string"==typeof t?t:"")),e!==f?(i?!l&&e[t]&&(c=!0):delete e[t],c?e[t]=o:H(e,t,o)):c?e[t]=o:M(t,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||G.call(this)}))})),ee=f,te=function(e){return"function"==typeof e?e:void 0},ne=function(e,t){return arguments.length<2?te(ee[e])||te(f[e]):ee[e]&&ee[e][t]||f[e]&&f[e][t]},re=Math.ceil,oe=Math.floor,ue=function(e){return isNaN(e=+e)?0:(e>0?oe:re)(e)},ie=Math.min,ce=Math.max,le=Math.min,ae=function(e){return function(t,n,r){var o,u,i=g(t),c=(o=i.length)>0?ie(ue(o),9007199254740991):0,l=function(e,t){var n=ue(e);return n<0?ce(n+t,0):le(n,t)}(r,c);if(e&&n!=n){for(;c>l;)if((u=i[l++])!=u)return!0}else for(;c>l;l++)if((e||l in i)&&i[l]===n)return e||l||0;return!e&&-1}},fe={includes:ae(!0),indexOf:ae(!1)},se=fe.indexOf,de=function(e,t){var n,r=g(e),o=0,u=[];for(n in r)!I(V,n)&&I(r,n)&&u.push(n);for(;t.length>o;)I(r,n=t[o++])&&(~se(u,n)||u.push(n));return u},pe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ee=pe.concat("length","prototype"),ye={f:Object.getOwnPropertyNames||function(e){return de(e,Ee)}},he={f:Object.getOwnPropertySymbols},ve=ne("Reflect","ownKeys")||function(e){var t=ye.f(w(e)),n=he.f;return n?t.concat(n(e)):t},me=function(e,t){for(var n=ve(t),r=j.f,o=R.f,u=0;u<n.length;u++){var i=n[u];I(e,i)||r(e,i,o(t,i))}},Te=/#|\.prototype\./,ge=function(e,t){var n=Oe[be(e)];return n==Ie||n!=_e&&("function"==typeof t?s(t):!!t)},be=ge.normalize=function(e){return String(e).replace(Te,".").toLowerCase()},Oe=ge.data={},_e=ge.NATIVE="N",Ie=ge.POLYFILL="P",De=ge,Se=R.f,Ne=function(e,t){var n,r,o,u,i,c=e.target,l=e.global,a=e.stat;if(n=l?f:a?f[c]||M(c,{}):(f[c]||{}).prototype)for(r in t){if(u=t[r],o=e.noTargetGet?(i=Se(n,r))&&i.value:n[r],!De(l?r:c+(a?".":"#")+r,e.forced)&&void 0!==o){if(typeof u==typeof o)continue;me(u,o)}(e.sham||o&&o.sham)&&H(u,"sham",!0),$(n,r,u,e)}},Le=Object.keys||function(e){return de(e,pe)},Ae=y.f,Re=function(e){return function(t){for(var n,r=g(t),o=Le(r),u=o.length,i=0,c=[];u>i;)n=o[i++],d&&!Ae.call(r,n)||c.push(e?[n,r[n]]:r[n]);return c}},we={entries:Re(!0),values:Re(!1)}.values;Ne({target:"Object",stat:!0},{values:function(e){return we(e)}});ee.Object.values;var Pe=!!Object.getOwnPropertySymbols&&!s((function(){return!String(Symbol())})),je=f.Symbol,He=k("wks"),Me=d?Object.defineProperties:function(e,t){w(e);for(var n,r=Le(t),o=r.length,u=0;o>u;)j.f(e,n=r[u++],t[n]);return e},ke=ne("document","documentElement"),Ge=F("IE_PROTO"),Ke=function(){},Be=function(){var e,t=N("iframe"),n=pe.length;for(t.style.display="none",ke.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),Be=e.F;n--;)delete Be.prototype[pe[n]];return Be()},xe=Object.create||function(e,t){var n;return null!==e?(Ke.prototype=w(e),n=new Ke,Ke.prototype=null,n[Ge]=e):n=Be(),void 0===t?n:Me(n,t)};V[Ge]=!0;var Ce,Ye=He[Ce="unscopables"]||(He[Ce]=Pe&&je[Ce]||(Pe?je:Y)("Symbol."+Ce)),Ue=Array.prototype;null==Ue[Ye]&&H(Ue,Ye,xe(null));var Fe,Ve=fe.includes;Ne({target:"Array",proto:!0},{includes:function(e){return Ve(this,e,arguments.length>1?arguments[1]:void 0)}}),Fe="includes",Ue[Ye][Fe]=!0;var We,qe,Qe,ze=function(e,t,n){if(function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function")}(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},Je=Function.call;We="includes",ze(Je,f["Array"].prototype[We],qe);!function(e){e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block"}(Qe||(Qe={}));var Xe,Ze=Qe;!function(e){e.HYPERLINK="hyperlink",e.ENTRY_HYPERLINK="entry-hyperlink",e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline"}(Xe||(Xe={}));var $e,et=Xe,tt=[Ze.PARAGRAPH,Ze.HEADING_1,Ze.HEADING_2,Ze.HEADING_3,Ze.HEADING_4,Ze.HEADING_5,Ze.HEADING_6,Ze.OL_LIST,Ze.UL_LIST,Ze.HR,Ze.QUOTE,Ze.EMBEDDED_ENTRY,Ze.EMBEDDED_ASSET],nt=[Ze.HR,Ze.EMBEDDED_ENTRY,Ze.EMBEDDED_ASSET],rt=(($e={})[Ze.OL_LIST]=[Ze.LIST_ITEM],$e[Ze.UL_LIST]=[Ze.LIST_ITEM],$e[Ze.LIST_ITEM]=tt.slice(),$e[Ze.QUOTE]=[Ze.PARAGRAPH],$e);var ot=Object.freeze({isInline:function(e){return Object.values(et).includes(e.nodeType)},isBlock:function(e){return Object.values(Ze).includes(e.nodeType)},isText:function(e){return"text"===e.nodeType}});t.BLOCKS=Ze,t.CONTAINERS=rt,t.INLINES=et,t.MARKS={BOLD:"bold",ITALIC:"italic",UNDERLINE:"underline",CODE:"code"},t.TOP_LEVEL_BLOCKS=tt,t.VOID_BLOCKS=nt,t.helpers=ot}));(l=a)&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")&&l.default;var f,s,d=a.BLOCKS,p=(a.CONTAINERS,a.INLINES),E=a.MARKS,y=(a.TOP_LEVEL_BLOCKS,a.VOID_BLOCKS,a.helpers);function h(e,t){return e.map((function(e,n){return r=v(e,t),u=n,o.isValidElement(r)&&null===r.key?o.cloneElement(r,{key:u}):r;var r,u}))}function v(e,t){var n=t.renderNode,r=t.renderMark,o=t.renderText;if(y.isText(e))return e.marks.reduce((function(e,t){return r[t.type]?r[t.type](e):e}),o?o(e.value):e.value);var i=h(e.content,t);return e.nodeType&&n[e.nodeType]?n[e.nodeType](e,i):u.createElement(u.Fragment,null,i)}var m=((f={})[d.DOCUMENT]=function(e,t){return t},f[d.PARAGRAPH]=function(e,t){return u.createElement("p",null,t)},f[d.HEADING_1]=function(e,t){return u.createElement("h1",null,t)},f[d.HEADING_2]=function(e,t){return u.createElement("h2",null,t)},f[d.HEADING_3]=function(e,t){return u.createElement("h3",null,t)},f[d.HEADING_4]=function(e,t){return u.createElement("h4",null,t)},f[d.HEADING_5]=function(e,t){return u.createElement("h5",null,t)},f[d.HEADING_6]=function(e,t){return u.createElement("h6",null,t)},f[d.EMBEDDED_ENTRY]=function(e,t){return u.createElement("div",null,t)},f[d.UL_LIST]=function(e,t){return u.createElement("ul",null,t)},f[d.OL_LIST]=function(e,t){return u.createElement("ol",null,t)},f[d.LIST_ITEM]=function(e,t){return u.createElement("li",null,t)},f[d.QUOTE]=function(e,t){return u.createElement("blockquote",null,t)},f[d.HR]=function(){return u.createElement("hr",null)},f[p.ASSET_HYPERLINK]=function(e){return g(p.ASSET_HYPERLINK,e)},f[p.ENTRY_HYPERLINK]=function(e){return g(p.ENTRY_HYPERLINK,e)},f[p.EMBEDDED_ENTRY]=function(e){return g(p.EMBEDDED_ENTRY,e)},f[p.HYPERLINK]=function(e,t){return u.createElement("a",{href:e.data.uri},t)},f),T=((s={})[E.BOLD]=function(e){return u.createElement("b",null,e)},s[E.ITALIC]=function(e){return u.createElement("i",null,e)},s[E.UNDERLINE]=function(e){return u.createElement("u",null,e)},s[E.CODE]=function(e){return u.createElement("code",null,e)},s);function g(e,t){return u.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}t.documentToReactComponents=function(e,t){return void 0===t&&(t={}),e?v(e,{renderNode:i({},m,t.renderNode),renderMark:i({},T,t.renderMark),renderText:t.renderText}):null}}).call(this,n("yLpj"))},WLL4:function(e,t,n){var r=n("XKFU");r(r.S+r.F*!n("nh4g"),"Object",{defineProperties:n("FJW5")})},b4ge:function(e,t,n){"use strict";n.r(t),n.d(t,"query",(function(){return l}));var r=n("q1tI"),o=n.n(r),u=n("8k0H"),i=n("R8uD"),c=n("KVkR"),l="458869884";t.default=function(e){var t=e.data.post,n=t.title,r=(t.publishedDate,t.auteur,t.content.json),l={renderNode:{"embedded-asset-block":function(e){return console.log(e),o.a.createElement("div",null,"application/pdf"===e.data.target.fields.file["en-US"].contentType?o.a.createElement("a",{href:e.data.target.fields.file["en-US"].url},"Bonjour"):o.a.createElement("img",{alt:e.data.target.fields.title["en-US"],src:e.data.target.fields.file["en-US"].url}))}}};return o.a.createElement(u.a,null,o.a.createElement("div",{class:"container is-fluid has-text-centered"},o.a.createElement(c.a,{title:n,primary:!0}),o.a.createElement("article",{class:"container is-fluid has-text-left"},Object(i.documentToReactComponents)(r,l))))}}}]);
  //# sourceMappingURL=component---src-templates-blog-template-js-2694ddf84d2afde11851.js.map