1(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{239:function(t,e,r){"use strict";var n=r(93),o=(r(31),r(241),r(89)),c=r(5),l={name:"ApiPicture",props:{pSize:{type:Number,required:!1},pictureOnly:{type:Boolean,default:!1},pictureId:{required:!0},noPad:{type:Boolean,default:!1},color:{required:!1,type:String},prefix:{type:String,default:"lab212"},dontBeLazy:{type:Boolean,default:!0},classes:{}},data:function(){return{picture:null,show_0:0,show_1:0,got:-1,loaded:Object(c.a)()}},methods:{url:function(picture){return"".concat("https://api.lab212.org/api/h","/pictures/").concat(picture.id,"/").concat(this.desiredSize)},url_video:function(t){return t.replace("sizedpicture/original","storage/pictures")},getPicture:function(t){var e=this,r=t.force;void 0!==this.pictureId&&null!==this.pictureId&&this.$store.dispatch(o.k,this.pictureId).then(function(data){e.picture=data,e.got=data.id,e.$options.observer&&e.$options.observer.unobserve(e.$el),setTimeout(function(){e.show_1=1,r&&(e.show_0=1)},500)})},addBehavior:function(){var t=this;void 0!==window.IntersectionObserver?(this.$options.observer=new IntersectionObserver(function(e){e[0].isIntersecting&&(t.show_0=1,t.getPicture())},{rootMargin:"50px",threshold:.5}),this.$options.observer.observe(this.$el)):this.getPicture()}},computed:{padding:function(){var p;if(this.picture)return p="video/webm"===this.picture.mime?this.picture.full_cover:this.picture,this.noPad?0:p?p.height/p.width*100+"%":"50%"},backgroundColor:function(){return this.noPad?"transparent":this.color||this.picture&&this.picture.color||"#000"},computedClasses:function(){var t=this.classes||[];return[].concat(Object(n.a)(t),[this.picture&&"image/gif"===this.picture.mime?"u-expand-gif":""])},windowSize:function(){return this.$store.state.windowSize},desiredSize:function(){return this.pSize||Object(c.l)(this.windowSize)}},mounted:function(){var t=this;this.dontBeLazy?this.getPicture({force:!0}):this.$nextTick(function(){t.addBehavior()})},beforeDestroy:function(){void 0!==this.$options.observer&&(this.$options.observer.unobserve(this.$el),delete this.$options.observer)},watch:{picture:function(t){t&&this.$emit("load",t)},pictureId:function(t){var e=this;this.show=!1,this.$nextTick(function(){e.addBehavior()})}}},d=(r(244),r(2)),component=Object(d.a)(l,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("figure",{staticClass:"ApiPicture",style:{background:t.backgroundColor,height:0,opacity:t.show_0,top:"0",paddingBottom:t.padding}},[!t.picture||"video/webm"!==t.picture.mime&&"video/mp4"!==t.picture.mime||t.pictureOnly?t.picture&&("video/webm"===t.picture.mime||"video/mp4"===t.picture.mime)&&t.pictureOnly?r("img",{class:t.computedClasses,style:{opacity:t.show_1},attrs:{src:t.url(t.picture.full_cover)},on:{load:function(e){return t.$emit("rawLoad",e)},error:function(e){return t.$emit("rawError")}}}):r("img",{class:t.computedClasses,style:{opacity:t.show_1},attrs:{src:t.picture?t.url(t.picture,t.prefix):"",alt:t.picture&&t.picture.caption||"lab212"},on:{load:function(e){return t.$emit("rawLoad",e)},error:function(e){return t.$emit("rawError")}}}):r("div",{staticClass:"ApiPicture__video",style:{opacity:t.show_1}},[r("video",{attrs:{poster:t.url(t.picture.full_cover),playsinline:"",muted:"",loop:"",autoplay:""},domProps:{muted:!0}},[r("source",{attrs:{src:t.url_video(t.picture.url),type:"video/mp4"}}),t._v(" "),r("source",{attrs:{src:t.url_video(t.picture.url)+".webm",type:"video/webm; codecs=vp9,vorbis"}})])])])},[],!1,null,null,null);e.a=component.exports},240:function(t,e,r){var content=r(245);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(38).default)("8f6584f4",content,!0,{sourceMap:!1})},241:function(t,e,r){"use strict";var n=r(7),o=r(24),c=r(33),l=r(155),d=r(68),h=r(14),f=r(69).f,m=r(92).f,v=r(15).f,_=r(242).trim,w=n.Number,y=w,x=w.prototype,$="Number"==c(r(91)(x)),I="trim"in String.prototype,O=function(t){var e=d(t,!1);if("string"==typeof e&&e.length>2){var r,n,o,c=(e=I?e.trim():_(e,3)).charCodeAt(0);if(43===c||45===c){if(88===(r=e.charCodeAt(2))||120===r)return NaN}else if(48===c){switch(e.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+e}for(var code,l=e.slice(2),i=0,h=l.length;i<h;i++)if((code=l.charCodeAt(i))<48||code>o)return NaN;return parseInt(l,n)}}return+e};if(!w(" 0o1")||!w("0b1")||w("+0x1")){w=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof w&&($?h(function(){x.valueOf.call(r)}):"Number"!=c(r))?l(new y(O(e)),r,w):O(e)};for(var k,A=r(12)?f(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),C=0;A.length>C;C++)o(y,k=A[C])&&!o(w,k)&&v(w,k,m(y,k));w.prototype=x,x.constructor=w,r(16)(n,"Number",w)}},242:function(t,e,r){var n=r(10),o=r(32),c=r(14),l=r(243),d="["+l+"]",h=RegExp("^"+d+d+"*"),f=RegExp(d+d+"*$"),m=function(t,e,r){var o={},d=c(function(){return!!l[t]()||"âÂ
"!="âÂ
"[t]()}),h=o[t]=d?e(v):l[t];r&&(o[r]=h),n(n.P+n.F*d,"String",o)},v=m.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(h,"")),2&e&&(t=t.replace(f,"")),t};t.exports=m},243:function(t,e){t.exports="\t\n\v\f\r  áá ââââââ
ââââââ¯âã\u2028\u2029\ufeff"},244:function(t,e,r){"use strict";var n=r(240);r.n(n).a},245:function(t,e,r){(t.exports=r(37)(!1)).push([t.i,".u-expand-gif{width:100%;-ms-interpolation-mode:nearest-neighbor;image-rendering:-moz-crisp-edges;image-rendering:pixelated}.ApiPicture__video video{width:100%;height:auto}",""])},246:function(t,e,r){"use strict";var n={name:"lab-see-more"},o=r(2),component=Object(o.a)(n,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"SeeMore",on:{click:function(e){return t.$emit("click")}}},[r("translated-text",{attrs:{str:{fr:"voir plus",en:"see more"},store:t.$store}})],1)},[],!1,null,null,null);e.a=component.exports},264:function(t,e,r){"use strict";r(31),r(39),r(19),r(94);var n=r(239),o=r(47),c={name:"AtelierThumbnail",components:{BoxThatGrids:r
1(48).a,ApiPicture:n.a},props:{item:{},multi:{type:Boolean,default:!1}},computed:{fixed_description:function(){var t=this;return Object.keys(this.item.description).reduce(function(e,r){return e[r]=t.item.description[r].replace(/\s*\?/," ?"),e},{})},url:function(){return Object(o.b)(this.item,this.$store)},styles:function(){var i=!!this.item&&this.item.atelier_type_m;return{backgroundImage:i?"url(".concat(i.color.tile,")"):"white",borderTop:i?"1px solid ".concat(i.color.col1):"white",borderLeft:i?"1px solid ".concat(i.color.col1):"white",borderRight:i?"1px solid ".concat(i.color.col1):"white"}}},methods:{navigate:function(){this.$router.push(this.url)}}},l=r(2),component=Object(l.a)(c,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"AtelierThumbnail"},[r("div",{staticClass:"Thumbnail mb10 flex wrap-t",class:t.item.draft?"Thumbnail__draft":""},[r("div",{staticClass:"Thumbnail__left w50 w75-t w100-s",class:t.multi?"":"standalone w100-t w100-s",on:{click:t.navigate}},[r("box-that-grids",[r("div",{staticClass:"AtelierThumbnail__header"},[r("div",{staticClass:"text-big"},[r("router-link",{attrs:{to:t.url}},[r("translated-text",{attrs:{html:!0,str:t.fixed_description,store:t.$store}})],1)],1)]),t._v(" "),r("div",{staticClass:"AtelierThumbnail__grid"},[r("div",[r("span",{staticClass:"text-small"},[r("formatted-date",{attrs:{d:t.item.m_dates}})],1)]),t._v(" "),r("div",[r("span",{staticClass:"AtelierThumbnail__type text-small"},[t._v(t._s(t.item.title))])]),t._v(" "),r("span",{staticClass:"AtelierThumbnail__origin text-small"},[r("translated-text",{attrs:{str:t.item.origin,store:t.$store}})],1)])])],1),t._v(" "),r("div",{staticClass:"Thumbnail__right w50 w100-t w100-s",on:{click:t.navigate}},[t._t("default")],2)])])},[],!1,null,null,null);e.a=component.exports},285:function(t,e,r){"use strict";r(30);var n=r(3),o=r(264),c=r(49),l=r(239),d=r(89),h=r(5),f={name:"lab-atelier-list",components:{LabSeeMore:r(246).a,ApiPicture:l.a,LabContainer:c.a,AtelierThumbnail:o.a},methods:{handleLoad:function(){var t=Object(n.a)(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(h.g)(this.list,this.$store,d.f,this.category);case 2:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},computed:{list:function(){return this.$store.getters.atelierList(this.category)},category:function(){return Object(h.e)(this.$route)}},mounted:function(){this.list.hasLeft&&this.handleLoad()}},m=r(2),component=Object(m.a)(f,function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.list?r("div",{staticClass:"MultiList"},[r("lab-container",{attrs:{"emits-marks":!0},on:{load:t.handleLoad}},t._l(t.list.data,function(t,e){return r("div",{key:e,staticClass:"MultiListItem"},[r("atelier-thumbnail",{key:t.api_model_name+t.id,attrs:{item:t,index:e}},[r("api-picture",{attrs:{"picture-id":t&&t.thumbnail?t.thumbnail.id:null,color:t&&t.thumbnail?t.thumbnail.color:""}})],1)],1)}),0),t._v(" "),r("lab-see-more",{directives:[{name:"show",rawName:"v-show",value:t.list.has_left,expression:"list.has_left"}],on:{click:t.handleLoad}})],1):t._e()},[],!1,null,null,null);e.a=component.exports},335:function(t,e,r){"use strict";r.r(e);r(30);var n=r(3),o=r(90),c=r(285),l=r(89),d=r(5),h={components:{LabAtelierList:c.a,Layout:o.a},fetch:function(){var t=Object(n.a)(regeneratorRuntime.mark(function t(e){var r,n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.store,n=e.route,t.abrupt("return",r.dispatch(l.f,Object(d.d)(Object(d.e)(n))));case 2:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}(),head:function(){return{title:"Béatrice Lartigue - Workshops - ".concat(Object(d.f)(this.$route)),meta:[{hid:"description",name:"description",content:"Béatrice Lartigue - Workshops - (".concat(Object(d.f)(this.$route),")")}]}}},f=r(2),component=Object(f.a)(h,function(){var t=this.$createElement,e=this._self._c||t;return e("layout",[e("lab-atelier-list")],1)},[],!1,null,null,null);e.default=component.exports}}]);
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.