").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),_.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Xt,Yt=[],Qt=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Yt.pop()||T.expando+"_"+St.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",(function(e,t,i){var r,o,s,a=!1!==e.jsonp&&(Qt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Qt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Qt,"$1"+r):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||T.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=n[r],n[r]=function(){s=arguments},i.always((function(){void 0===o?T(n).removeProp(r):n[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,Yt.push(r)),s&&v(o)&&o(s[0]),s=o=void 0})),"script"})),m.createHTMLDocument=((Xt=_.implementation.createHTMLDocument("").body).innerHTML="
").append(T.parseHTML(e)).find(i):e)})).always(n&&function(e,t){s.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},T.expr.pseudos.animated=function(e){return T.grep(T.timers,(function(t){return e===t.elem})).length},T.offset={setOffset:function(e,t,n){var i,r,o,s,a,l,c=T.css(e,"position"),u=T(e),d={};"static"===c&&(e.style.position="relative"),a=u.offset(),o=T.css(e,"top"),l=T.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(s=(i=u.position()).top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),v(t)&&(t=t.call(e,n,T.extend({},a))),null!=t.top&&(d.top=t.top-a.top+s),null!=t.left&&(d.left=t.left-a.left+r),"using"in t?t.using.call(e,d):("number"==typeof d.top&&(d.top+="px"),"number"==typeof d.left&&(d.left+="px"),u.css(d))}},T.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){T.offset.setOffset(this,e,t)}));var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===T.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),r.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-T.css(i,"marginTop",!0),left:t.left-r.left-T.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||oe}))}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;T.fn[e]=function(i){return F(this,(function(e,i,r){var o;if(w(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===r)return o?o[t]:e[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):e[i]=r}),e,i,arguments.length)}})),T.each(["top","left"],(function(e,t){T.cssHooks[t]=Ue(m.pixelPosition,(function(e,n){if(n)return n=$e(e,t),Ve.test(n)?T(e).position()[t]+"px":n}))})),T.each({Height:"height",Width:"width"},(function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,i){T.fn[i]=function(r,o){var s=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===o?"margin":"border");return F(this,(function(t,n,r){var o;return w(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?T.css(t,n,a):T.style(t,n,r,a)}),t,s?r:void 0,s)}}))})),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){T.fn[t]=function(e){return this.on(t,e)}})),T.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){T.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Gt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return i=a.call(arguments,2),(r=function(){return e.apply(t||this,i.concat(a.call(arguments)))}).guid=e.guid=e.guid||T.guid++,r},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=A,T.isFunction=v,T.isWindow=w,T.camelCase=Y,T.type=b,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(Gt,"")},void 0===(i=function(){return T}.apply(t,[]))||(e.exports=i);var Zt=n.jQuery,Jt=n.$;return T.noConflict=function(e){return n.$===T&&(n.$=Jt),e&&n.jQuery===T&&(n.jQuery=Zt),T},void 0===r&&(n.jQuery=n.$=T),T}))},function(e,t,n){(function(i){var r,o,s,a;a=function(e){"use strict";function t(t){return!t||void 0!==t.allowPageScroll||void 0===t.swipe&&void 0===t.swipeStatus||(t.allowPageScroll=c),void 0!==t.click&&void 0===t.tap&&(t.tap=t.click),t||(t={}),t=e.extend({},e.fn.swipe.defaults,t),this.each((function(){var i=e(this),r=i.data(k);r||(r=new n(this,t),i.data(k,r))}))}function n(t,n){function L(t){if(!(!0===be.data(k+"_intouch")||e(t.target).closest(n.excludedElements,be).length>0)){var a=t.originalEvent?t.originalEvent:t;if(!a.pointerType||"mouse"!=a.pointerType||0!=n.fallbackToMouseEvents){var l,c=a.touches,u=c?c[0]:a;return Te=y,c?Ce=c.length:!1!==n.preventDefaultEvents&&t.preventDefault(),pe=0,fe=null,he=null,ye=null,ge=0,me=0,ve=0,we=1,_e=0,(d={})[i]=te(i),d[r]=te(r),d[o]=te(o),d[s]=te(s),xe=d,Q(),J(0,u),!c||Ce===n.fingers||n.fingers===w||V()?(Ee=oe(),2==Ce&&(J(1,c[1]),me=ve=ie(Se[0].start,Se[1].start)),(n.swipeStatus||n.pinchStatus)&&(l=I(a,Te))):l=!1,!1===l?(I(a,Te=T),l):(n.hold&&(De=setTimeout(e.proxy((function(){be.trigger("hold",[a.target]),n.hold&&(l=n.hold.call(be,a,a.target))}),this),n.longTapThreshold)),Z(!0),null)}}var d}function A(t){var d,p,f,h,g=t.originalEvent?t.originalEvent:t;if(Te!==b&&Te!==T&&!G()){var _,y=g.touches,C=K(y?y[0]:g);if(ke=oe(),y&&(Ce=y.length),n.hold&&clearTimeout(De),Te=x,2==Ce&&(0==me?(J(1,y[1]),me=ve=ie(Se[0].start,Se[1].start)):(K(y[1]),ve=ie(Se[0].end,Se[1].end),Se[0].end,Se[1].end,ye=1>we?l:a),we=(ve/me*1).toFixed(2),_e=Math.abs(me-ve)),Ce===n.fingers||n.fingers===w||!y||V()){if(fe=re(C.start,C.end),function(e,t){if(!1!==n.preventDefaultEvents)if(n.allowPageScroll===c)e.preventDefault();else{var a=n.allowPageScroll===u;switch(t){case i:(n.swipeLeft&&a||!a&&n.allowPageScroll!=m)&&e.preventDefault();break;case r:(n.swipeRight&&a||!a&&n.allowPageScroll!=m)&&e.preventDefault();break;case o:(n.swipeUp&&a||!a&&n.allowPageScroll!=v)&&e.preventDefault();break;case s:(n.swipeDown&&a||!a&&n.allowPageScroll!=v)&&e.preventDefault()}}}(t,he=re(C.last,C.end)),f=C.start,h=C.end,pe=Math.round(Math.sqrt(Math.pow(h.x-f.x,2)+Math.pow(h.y-f.y,2))),ge=ne(),function(e,t){e!=c&&(t=Math.max(t,ee(e)),xe[e].distance=t)}(fe,pe),_=I(g,Te),!n.triggerOnTouchEnd||n.triggerOnTouchLeave){var S=!0;if(n.triggerOnTouchLeave){var E={left:(p=(d=e(d=this)).offset()).left,right:p.left+d.outerWidth(),top:p.top,bottom:p.top+d.outerHeight()};S=function(e,t){return e.x>t.left&&e.x
t.top&&e.yn.longTapThreshold&&_>pe&&n.longTap&&!1!==i?i=O(e,t,g):!(1!==Ce&&C||!(isNaN(pe)||pe=n.threshold),e}function P(){var e=!1;return null!==n.cancelThreshold&&null!==fe&&(e=ee(fe)-pe>=n.cancelThreshold),e}function z(){return!(n.maxTimeThreshold&&ge>=n.maxTimeThreshold)}function R(){var e=F(),t=$(),i=null===n.pinchThreshold||_e>=n.pinchThreshold;return e&&t&&i}function V(){return!!(n.pinchStatus||n.pinchIn||n.pinchOut)}function B(){var e=z(),t=q(),n=F(),i=$();return!P()&&i&&n&&t&&e}function W(){return!!(n.swipe||n.swipeStatus||n.swipeLeft||n.swipeRight||n.swipeUp||n.swipeDown)}function F(){return Ce===n.fingers||n.fingers===w||!C}function $(){return 0!==Se[0].end.x}function U(){return!!n.tap}function X(){return!!n.doubleTap}function Y(){if(null==Ne)return!1;var e=oe();return X()&&e-Ne<=n.doubleTapThreshold}function Q(){Le=0,Ae=0}function G(){var e=!1;return Le&&oe()-Le<=n.fingerReleaseThreshold&&(e=!0),e}function Z(e){be&&(!0===e?(be.on(le,A),be.on(ce,N),ue&&be.on(ue,D)):(be.off(le,A,!1),be.off(ce,N,!1),ue&&be.off(ue,D,!1)),be.data(k+"_intouch",!0===e))}function J(e,t){var n={start:{x:0,y:0},last:{x:0,y:0},end:{x:0,y:0}};return n.start.x=n.last.x=n.end.x=t.pageX||t.clientX,n.start.y=n.last.y=n.end.y=t.pageY||t.clientY,Se[e]=n,n}function K(e){var t=void 0!==e.identifier?e.identifier:0,n=function(e){return Se[e]||null}(t);return null===n&&(n=J(t,e)),n.last.x=n.end.x,n.last.y=n.end.y,n.end.x=e.pageX||e.clientX,n.end.y=e.pageY||e.clientY,n}function ee(e){return xe[e]?xe[e].distance:void 0}function te(e){return{direction:e,distance:0}}function ne(){return ke-Ee}function ie(e,t){var n=Math.abs(e.x-t.x),i=Math.abs(e.y-t.y);return Math.round(Math.sqrt(n*n+i*i))}function re(e,t){if(a=t,(n=e).x==a.x&&n.y==a.y)return c;var n,a,l=function(e,t){var n=e.x-t.x,i=t.y-e.y,r=Math.atan2(i,n),o=Math.round(180*r/Math.PI);return 0>o&&(o=360-Math.abs(o)),o}(e,t);return 45>=l&&l>=0||360>=l&&l>=315?i:l>=135&&225>=l?r:l>45&&135>l?s:o}function oe(){return(new Date).getTime()}n=e.extend({},n);var se=C||E||!n.fallbackToMouseEvents,ae=se?E?S?"MSPointerDown":"pointerdown":"touchstart":"mousedown",le=se?E?S?"MSPointerMove":"pointermove":"touchmove":"mousemove",ce=se?E?S?"MSPointerUp":"pointerup":"touchend":"mouseup",ue=se?E?"mouseleave":null:"mouseleave",de=E?S?"MSPointerCancel":"pointercancel":"touchcancel",pe=0,fe=null,he=null,ge=0,me=0,ve=0,we=1,_e=0,ye=0,xe=null,be=e(t),Te="start",Ce=0,Se={},Ee=0,ke=0,Le=0,Ae=0,Ne=0,Me=null,De=null;try{be.on(ae,L),be.on(de,M)}catch(t){e.error("events not supported "+ae+","+de+" on jQuery.swipe")}this.enable=function(){return this.disable(),be.on(ae,L),be.on(de,M),be},this.disable=function(){return H(),be},this.destroy=function(){H(),be.data(k,null),be=null},this.option=function(t,i){if("object"==typeof t)n=e.extend(n,t);else if(void 0!==n[t]){if(void 0===i)return n[t];n[t]=i}else{if(!t)return n;e.error("Option "+t+" does not exist on jQuery.swipe.options")}return null}}var i="left",r="right",o="up",s="down",a="in",l="out",c="none",u="auto",d="swipe",p="pinch",f="tap",h="doubletap",g="longtap",m="horizontal",v="vertical",w="all",_=10,y="start",x="move",b="end",T="cancel",C="ontouchstart"in window,S=window.navigator.msPointerEnabled&&!window.PointerEvent&&!C,E=(window.PointerEvent||window.navigator.msPointerEnabled)&&!C,k="TouchSwipe";e.fn.swipe=function(n){var i=e(this),r=i.data(k);if(r&&"string"==typeof n){if(r[n])return r[n].apply(r,Array.prototype.slice.call(arguments,1));e.error("Method "+n+" does not exist on jQuery.swipe")}else if(r&&"object"==typeof n)r.option.apply(r,arguments);else if(!(r||"object"!=typeof n&&n))return t.apply(this,arguments);return i},e.fn.swipe.version="1.6.18",e.fn.swipe.defaults={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:".noSwipe",preventDefaultEvents:!0},e.fn.swipe.phases={PHASE_START:y,PHASE_MOVE:x,PHASE_END:b,PHASE_CANCEL:T},e.fn.swipe.directions={LEFT:i,RIGHT:r,UP:o,DOWN:s,IN:a,OUT:l},e.fn.swipe.pageScroll={NONE:c,HORIZONTAL:m,VERTICAL:v,AUTO:u},e.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,FOUR:4,FIVE:5,ALL:w}},n(3).jQuery?(o=[n(0)],void 0===(s="function"==typeof(r=a)?r.apply(t,o):r)||(e.exports=s)):a(e.exports?n(0):i)}).call(this,n(0))},function(e,t,n){n(1),n(4),n(6)},function(e,t){(function(t){e.exports=t}).call(this,{})},function(e,t,n){(function(e){n(5),n(1),e(document).ready((function(e){var t=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=t.id,this.index=t.index,this.exists=t.exists,this.img_low_res_src=t.img_low_res_src,this.img_src=t.img_src,this.img_gps=t.img_gps,this.img_srcset=t.img_srcset,this.img_sizes=t.img_sizes,this.img_dimensions=t.img_dimensions,this.img_orientation=t.img_orientation,this.img_exifs=t.img_exifs,this.preloaded=!1};window.MwlController=function(n){var i=this;this.settings=n,this.images_number,this.images=[],this.current_image_index,this.autoplay_interval,this.image_metadata_update_timeout;var r=function(t){e(".mwl__topbar__slide-counter .current-slide").html(parseInt(t)+1)},o=function(t,n){if(t.images){var i,r,o=e(".mwl__slider .mwl__slider__image[data-index="+n+"] .mwl__slider__image__thumbnail img"),s=e(".mwl__slider .mwl__slider__image[data-index="+n+"] .mwl__slider__image__thumbnail");if(t.images[n]&&t.images[n].img_dimensions){var a=t.images[n];r=a.img_dimensions.width,i=a.img_dimensions.height}else{var l=e(".mwl-img[mwl-index="+n+"]")[0];if(!l)return;r=l.naturalWidth,i=l.naturalHeight}var c=s.outerHeight(),u=s.outerWidth()/c,d=r/i;o.css("opacity",0),o.css("width",""),o.css("height",""),o.css("max-width",r+"px"),o.css("max-height",i+"px"),d>=u?o.css("width","100%"):o.css("height","100%"),o.animate({opacity:1},300),window.createMwlLog("log","Image in lightbox has been resized.")}else console.error("Meow Lightbox: controller.images doesn't exist.")},s=function(e,t){var n;e.settings.deep_linking&&"function"==typeof mwl_pro_create_deeplinking_hash&&(!1===t?mwl_pro_remove_deeplinking_hash():(n=mwl_pro_create_deeplinking_hash(e.images[t].id),e.settings.social_sharing&&"function"==typeof mwl_pro_add_social_sharing&&mwl_pro_add_social_sharing(n)))},a=function(t,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},s=t.images[n],a=s.img_exifs,l=300;r&&(l=0),window.createMwlLog("log","Updating image metadata with:"),window.createMwlLog("log",a);var c=["",'','',''];c=c.join("");var u=e(".mwl__metadata");u.fadeOut(l),clearTimeout(i.image_metadata_update_timeout),i.image_metadata_update_timeout=setTimeout((function(){u.html(c),a.title&&t.settings.infos_to_display.title?u.find("h2").html(a.title):u.find("h2").remove();if(t.settings.infos_to_display.caption){if("description"==t.settings.caption_source&&a.description)if(a.description.length>150){var n=a.description.substr(0,150);n=n.substr(0,Math.min(n.length,n.lastIndexOf(" "))),n+="...",n+=''+window.MwlIcons.plus+"
",u.find("p.short-description").html(n),u.find("p.full-description").html(a.description+''+window.MwlIcons.minus+"
")}else u.find("p.short-description").html(a.description),u.find("p.full-description").remove();if("caption"==t.settings.caption_source&&a.caption)if(a.caption.length>150){var i=a.caption.substr(0,150);i=i.substr(0,Math.min(i.length,i.lastIndexOf(" "))),i+="...",i+=''+window.MwlIcons.plus+"
",u.find("p.short-description").html(i),u.find("p.full-description").html(a.caption+''+window.MwlIcons.minus+"
")}else u.find("p.short-description").html(a.caption),u.find("p.full-description").remove()}else u.find("p").remove();var r=u.find(".exifs");if("N/A"!=a.camera&&t.settings.infos_to_display.camera){var d=''+MwlIcons.camera+" "+a.camera+"
";r.append(d)}if("N/A"!=a.focal_length&&t.settings.infos_to_display.focal_length){var p=''+MwlIcons.eye+" "+a.focal_length+"
";r.append(p)}if("N/A"!=a.shutter_speed&&t.settings.infos_to_display.shutter_speed){var f=''+MwlIcons.shutter_speed+" "+a.shutter_speed+"
";r.append(f)}if("N/A"!=a.aperture&&t.settings.infos_to_display.aperture){var h=''+MwlIcons.aperture+" "+a.aperture+"
";r.append(h)}if("N/A"!=a.iso&&t.settings.infos_to_display.iso){var g=''+MwlIcons.iso+" "+a.iso+"
";r.append(g)}if("N/A"!=a.lens&&t.settings.infos_to_display.lens){var m=''+MwlIcons.lens+" "+a.lens+"
";r.append(m)}if("N/A"!=a.date&&0!=a.date&&t.settings.infos_to_display.date){var v=''+MwlIcons.calendar+" "+a.date+"
";r.append(v)}"function"==typeof MapController&&t.settings.map.enabled&&s.img_gps&&"N/A"!=s.img_gps.lat&&"N/A"!=s.img_gps.lng?e(".mwl__topbar__controls__control--map").removeClass("hidden"):e(".mwl__topbar__controls__control--map").addClass("hidden"),t.settings.download.enabled||e(".mwl__topbar__controls__control--download").addClass("hidden"),t.settings.slideshow.enabled||(e(".mwl__topbar__controls__control--play").addClass("hidden"),e(".mwl__topbar__controls__control--pause").addClass("hidden")),u.fadeIn(l),o()}),l)};this.writeInitialMarkup=function(){var t="";this.settings.thumbnails_navigation.enabled&&(t='');var n=['','
','
',' / ',this.images_number,"","
",'
','
',window.MwlIcons.sharing,'
',"
",'
',window.MwlIcons.download,'
Download Image
',"
",'
',window.MwlIcons.map,'
Show on map
',"
",'
',window.MwlIcons.play,'
Start slideshow
',"
",'
',window.MwlIcons.pause,'
Stop slideshow
',"
",'
',window.MwlIcons.fullscreen,'
Hide info
',"
",'
',window.MwlIcons.shrink,'
Show info
',"
",'
',window.MwlIcons.close,'
Close
',"
","
","
",'
',window.MwlIcons.arrow_left,"
",'
',window.MwlIcons.arrow_right,"
",'
',"
",'
",t,"
"];n=n.join(""),e("body").append(n)},this.scrapThePage=function(){var t=this,n=e(t.settings.selector).find("img");window.createMwlLog("log","Scraping the page."),t.settings.anti_selector?t.settings.anti_selector+=", .leaflet-tile, .leaflet-google-mutant":t.settings.anti_selector+=".leaflet-tile, .leaflet-google-mutant";var i=0;n.each((function(){0!=e(this).parents(t.settings.anti_selector).length||e(this).is(t.settings.anti_selector)||(e(this).addClass("mwl-img").attr("mwl-index",i),i++)})),t.images_number=e(".mwl-img").length},this.imagesHaveChanged=function(){var t=this;if(void 0!==this.settings){var n=!1;this.images.forEach((function(t,i){e(".mwl-img[mwl-index="+i+"]").length<=0&&(n=!0)}));var i=e(t.settings.selector).find("img");return t.settings.anti_selector?t.settings.anti_selector+=", .leaflet-tile, .leaflet-google-mutant":t.settings.anti_selector+=".leaflet-tile, .leaflet-google-mutant",i.each((function(){0!=e(this).parents(t.settings.anti_selector).length||e(this).is(t.settings.anti_selector)||e(this).hasClass("mwl-img")||(n=!0)})),n}},this.retrieveImagesData=function(){var n=this,i=e(".mwl-img");n.images=[],i.each((function(){var i=e(this),r=i.prop("currentSrc");if(i.hasClass("mgl-lazy")&&!i.hasClass("lazyloaded")&&(r=!1),i.attr("data-mwl-img-id")&&mwl_data&&mwl_data[i.attr("data-mwl-img-id")].success){var o=mwl_data[i.attr("data-mwl-img-id")];o.data.gps.split(",").length>1?o.gps={lat:parseFloat(o.data.gps.split(",")[0]),lng:parseFloat(o.data.gps.split(",")[1])}:o.gps={lat:"N/A",lng:"N/A"};var s={id:o.data.id,index:parseInt(i.attr("mwl-index")),exists:!0,img_low_res_src:r,img_src:encodeURI(o.file),img_srcset:o.file_srcset,img_sizes:o.file_sizes,img_dimensions:o.dimension,img_orientation:o.dimension.width>o.dimension.height?"landscape":"portrait",img_exifs:o.data,img_gps:o.gps};n.images.push(new t(s))}else{var a="";i.hasClass("mgl-lazy")&&(a=i.attr("mgl-src")),i.attr("data-lazy-src")&&(a=i.attr("data-lazy-src")),a||(a=i.attr("src"));var l="";i.attr("data-lazy-srcset")&&(l=i.attr("data-lazy-srcset")),l||(l=i.attr("srcset"));var c="";i.attr("data-lazy-sizes")&&(c=i.attr("data-lazy-sizes")),c||(c=i.attr("sizes"));var u={exists:!0,index:parseInt(i.attr("mwl-index")),img_low_res_src:r,img_src:a,img_srcset:l,img_sizes:c,img_dimensions:!1,img_orientation:"landscape",img_exifs:{title:"",caption:"",camera:"N/A",lens:"N/A",aperture:"N/A",shutter_speed:"N/A",iso:"N/A",focal_length:"N/A",date:"N/A"}};n.images.push(new t(u))}}))},this.clearSlider=function(t){var n=[],i=e(".mwl .mwl__slider");i.find(".mwl__slider__image").each((function(){n.push(parseInt(e(this).attr("data-index")))}));var r=n.indexOf(t),o=[];r-4>0&&(o=n.slice(0,r-4));var s;s=n.slice(r+4),o.concat(s).forEach((function(e){i.find(".mwl__slider__image[data-index="+e+"]").remove()}))},this.populateSlider=function(t){for(var i=this,r=e(".mwl .mwl__slider"),o=[],s=t;s<=t+2;s++)i.images[s]&&r.find(".mwl__slider__image[data-index="+s+"]").length<=0&&o.push(s);for(var a=t-1;a>=t-2;a--)i.images[a]&&r.find(".mwl__slider__image[data-index="+a+"]").length<=0&&o.push(a);o.sort((function(e,t){return e-t})),o.forEach((function(t){var o=['','
','
','
![]()
',"
",'
![]()
','
',"
","
"];o=o.join("");var s=e(o),a=s.find("img.mwl__slider__image__thumbnail__high-res"),l=s.find("img.mwl__slider__image__thumbnail__low-res"),c=i.images[t];if(n.low_res_placeholder){var u=e(".mwl-img[mwl-index="+t+"]").prop("currentSrc");l.attr("src",u)}a.attr("src",c.img_src),a.addClass(c.img_orientation),c.img_srcset&&c.img_sizes&&(a.attr("srcset",c.img_srcset),a.attr("sizes",c.img_sizes)),a.on("load",(function(){e(".mwl__slider__image[data-index="+t+"] .mwl__slider__image__thumbnail").addClass("high-res-loaded")}));var d=[];r.find(".mwl__slider__image").each((function(){d.push(parseInt(e(this).attr("data-index")))})),d.push(t),d.sort((function(e,t){return e-t}));var p=d.indexOf(t);p<=0?r.prepend(s):r.find(".mwl__slider__image").eq(p-1).after(s)}))},this.extendLightbox=function(){e(".mwl").addClass("extended"),e(".mwl__topbar__controls__control--fullscreen").addClass("hidden"),e(".mwl__topbar__controls__control--shrink").removeClass("hidden")},this.shrinkLightbox=function(){e(".mwl").removeClass("extended"),e(".mwl__topbar__controls__control--fullscreen").removeClass("hidden"),e(".mwl__topbar__controls__control--shrink").addClass("hidden")},this.getIndexById=function(e){var t=!1;return this.images.forEach((function(n){n.id==e&&(t=n.index)})),t},this.openLightbox=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this;e(".mwl").addClass("visible"),e(".mwl").attr("data-index",t),i.populateSlider(t);var l=e(".mwl__slider__image").index(e(".mwl__slider__image[data-index="+t+"]"));e(".mwl .mwl__slider").removeClass("mwl-animate"),e(".mwl .mwl__slider").css("transform","translate3d("+100*-l+"%, 0, 0)"),e(".mwl .mwl__slider__image").removeClass("visible"),setTimeout((function(){e(".mwl .mwl__slider__image[data-index="+t+"]").addClass("visible")}),10),a(this,t,n,(function(){o(i,t)})),r(t),s(this,t),this.current_index=t},this.refreshLightbox=function(){e(".mwl").hasClass("visible")&&this.openLightbox(this.current_index,!1)},this.unzoom=function(){e(".mwl__slider__image__thumbnail img").removeClass("zoomed"),e(".mwl__slider__image__thumbnail img").css("transform","translate3d(0,0,0) scale(1)")},this.destroyMap=function(){e("#image-map-"+this.current_index).hasClass("visible")&&this.toggleImageMap();var t=e("#image-map-"+this.current_index).parent();e("#image-map-"+this.current_index).remove(),t.append('')},this.closeLightbox=function(){this.unzoom(),this.destroyMap(),this.stopInterval(),e(".mwl").removeClass("visible"),e(".mwl .mwl__slider").removeClass("mwl-animate"),e(".mwl .mwl__slider img").css("opacity",0),s(this,!1)},this.slideTo=function(t){var n=this;e(".mwl").attr("data-index",t),e(".mwl .mwl__slider").addClass("mwl-animate"),e(".mwl .mwl__slider__image").removeClass("visible"),n.populateSlider(t);var i=e(".mwl__slider__image").index(e(".mwl__slider__image[data-index="+t+"]"));e(".mwl .mwl__slider").css("transform","translate3d("+100*-i+"%, 0, 0)"),a(this,t,!1,(function(){e(".mwl .mwl__slider__image[data-index="+t+"]").addClass("visible"),o(n,t)})),r(t),s(this,t),n.unzoom(),n.destroyMap(),n.current_index=t},this.goToPrev=function(){var e=i.current_index-1;0==i.current_index&&(e=i.images.length-1),i.slideTo(e),i.current_index=e},this.goToNext=function(){var e=i.current_index+1;i.current_index==i.images.length-1&&(e=0),i.slideTo(e),i.current_index=e},this.setListeners=function(){var t=this;e(window).on("resize",(function(){e(".mwl").hasClass("visible")&&o(t,t.current_index)})),e(document).on("click",".mwl__topbar__controls__control--close",(function(){t.closeLightbox()})),e(document).on("click",".mwl.visible",(function(n){(e(n.target).is(".mwl__topbar")||e(n.target).is(".mwl__slider__image__thumbnail")||e(n.target).is(".mwl__slider__image__thumbnail__low-res-container")||e(n.target).is(".mwl .exifs"))&&t.closeLightbox()})),e(document).on("click",".mwl__navigation__previous",(function(){t.goToPrev()})),e(document).on("click",".mwl__navigation__next",(function(){t.goToNext()})),e(document).keydown((function(e){switch(e.which){case 27:t.closeLightbox();break;case 37:t.goToPrev();break;case 39:t.goToNext();break;default:return}})),e(document).on("click",".mwl__topbar__controls__control--fullscreen",(function(){t.extendLightbox()})),e(document).on("click",".mwl__topbar__controls__control--shrink",(function(){t.shrinkLightbox()})),e(document).on("click",".mwl__topbar__controls__control--play",(function(){t.startInterval()})),e(document).on("click",".mwl__topbar__controls__control--pause",(function(){t.stopInterval()})),e(document).on("click",".mwl__topbar__controls__control--map",(function(){t.toggleImageMap()})),e(document).on("click",".mwl__topbar__controls__control--download",(function(){t.downloadImage()})),e(document).on("click",".mwl__slider__image__thumbnail img.mwl__slider__image__thumbnail__high-res",(function(t){if(!e(this).hasClass("swiping")){var n=e(".mwl").attr("data-index");if(e(this).hasClass("zoomed"))e(this).removeClass("zoomed"),e(this).css("transform","translate3d(0,0,0) scale(1)");else{e(this).addClass("zoomed");var i=e(".mwl__slider__image").index(e(".mwl__slider__image[data-index="+n+"]"))*e(window).outerWidth(),r=e(window).scrollTop(),o=e(this).position().left-i,s=e(this).position().top+r,a=t.pageX-o,l=t.pageY-s,c=a-e(this).outerWidth()/2,u=l-e(this).outerHeight()/2;e(this).css("transform","translate3d("+1.5*-c+"px,"+1.5*-u+"px,0) scale(1.5)")}}})),e(document).on("click",".toggle-full-description",(function(){var t=e(".mwl__metadata .full-description"),n=e(".mwl__metadata .short-description");t.hasClass("visible")?(t.removeClass("visible"),n.addClass("visible")):(t.addClass("visible"),n.removeClass("visible"))})),t.setSwipeListener()},this.setSwipeListener=function(){var t=i,n=150;e(window).outerWidth()<700&&(n=50),e(".mwl__slider").swipe({swipeStatus:function(n,i,r,o){if(!e(n.target).is(".image-map")){if("start"==i){var s=e(".mwl__slider").css("transform").replace(/[^0-9\-.,]/g,"").split(",");window.translate_x=parseFloat(s[12]||s[4])}"cancel"!=i&&"end"!=i&&(o>2&&e(".mwl__slider__image__thumbnail img").addClass("swiping"),"left"==r&&(e(".mwl .mwl__slider").removeClass("mwl-animate"),e(".mwl .mwl__slider").css("transform","translate3d("+(window.translate_x-o)+"px, 0, 0)")),"right"==r&&(e(".mwl .mwl__slider").removeClass("mwl-animate"),e(".mwl .mwl__slider").css("transform","translate3d("+(window.translate_x+o)+"px, 0, 0)"))),"end"==i&&("left"==r&&t.goToNext(),"right"==r&&t.goToPrev(),setTimeout((function(){e(".mwl__slider__image__thumbnail img").removeClass("swiping")}),100)),"cancel"==i&&(e(".mwl .mwl__slider").addClass("mwl-animate"),e(".mwl .mwl__slider").css("transform","translate3d("+window.translate_x+"px, 0, 0)"),n.preventDefault(),n.stopPropagation(),setTimeout((function(){e(".mwl__slider__image__thumbnail img").removeClass("swiping")}),100))}},threshold:n,maxTimeThreshold:5e3,fingers:"all"})},this.downloadImage=function(){var e=this.images[this.current_index].img_src,t=document.createElement("a");t.href=e,t.download=e.split(/[\\/]/).pop(),document.body.appendChild(t),t.click()},this.startInterval=function(){var t=this;e(".mwl__topbar__controls__control--play").addClass("hidden"),e(".mwl__topbar__controls__control--pause").removeClass("hidden"),t.autoplay_interval=setInterval((function(){t.goToNext()}),t.settings.slideshow.slide_duration)},this.stopInterval=function(){e(".mwl__topbar__controls__control--pause").addClass("hidden"),e(".mwl__topbar__controls__control--play").removeClass("hidden"),clearInterval(this.autoplay_interval)},this.toggleImageMap=function(){i.unzoom();var t=e("#image-map-"+i.current_index),n=t.attr("id"),r=e(".mwl__slider__image[data-index="+i.current_index+"]").find("img.mwl__slider__image__thumbnail__high-res"),o=i.images[i.current_index];t.hasClass("visible")?(t.removeClass("visible"),i.destroyMap(),t.css("width",0),t.css("height",0),i.setSwipeListener()):(t.addClass("visible"),t.css("width",r.outerWidth()+"px"),t.css("height",r.outerHeight()+"px"),window.mwlInitMap(n,o),e(".mwl__slider").swipe("destroy"))},this.selfDestroy=function(){e(".mwl").remove(),this.images=[]}}}))}).call(this,n(0))},function(e,t){window.MwlIcons={close:'',fullscreen:'',shrink:'',play:'',pause:'',map:'',download:'',sharing:'',arrow_left:'',arrow_right:'',camera:'',iso:'',shutter_speed:'',lens:'',aperture:'',calendar:'',eye:'',minus:'',plus:''}},function(e,t,n){(function(e){e(document).ready((function(e){window.mwl_logs=[],window.createMwlLog=function(e,t){window.mwl_logs.push({type:e,message:t})},window.displayMwlLog=function(){window.mwl_logs.forEach((function(e){switch(e.type){case"error":console.error(e.message);break;case"log":console.log(e.message)}}))};var t={selector:mwl.settings.selector,anti_selector:mwl.settings.anti_selector,theme:mwl.settings.theme,slideshow:{enabled:mwl.settings.slideshow.enabled,slide_duration:mwl.settings.slideshow.timer},thumbnails_navigation:{enabled:!1,height:200},preloading:mwl.settings.preloading,map:mwl.settings.map,caption_source:mwl.settings.caption_source,low_res_placeholder:mwl.settings.low_res_placeholder,deep_linking:mwl.settings.deep_linking,social_sharing:!0,infos_to_display:{title:mwl.settings.exif.title,caption:mwl.settings.exif.caption,camera:mwl.settings.exif.camera,date:mwl.settings.exif.date,lens:mwl.settings.exif.lens,shutter_speed:mwl.settings.exif.shutter_speed,aperture:mwl.settings.exif.aperture,focal_length:mwl.settings.exif.focal_length,iso:mwl.settings.exif.iso},download:{enabled:mwl.settings.download_link},right_click_protection:mwl.settings.right_click_protection},n=new MwlController(t);setTimeout((function(){n.scrapThePage(),n.retrieveImagesData(),n.writeInitialMarkup(),n.setListeners();var t=navigator.userAgent.toLowerCase();if(-1!=t.indexOf("safari")&&(t.indexOf("chrome")>-1||e(".mwl").addClass("safari-browser")),window.location.href.indexOf("#mwl-")>0){var i=window.location.href.match(/(#mwl-)([0-9])+/gm),r=parseInt(i[0].match(/([0-9])+/gm)[0]);!1!==n.getIndexById(r)&&n.openLightbox(n.getIndexById(r))}e(document.body).on("post-load",(function(){n.imagesHaveChanged()&&(window.createMwlLog("log","post-load event detected, reinitializing lightbox."),n.scrapThePage(),n.retrieveImagesData(),n.refreshLightbox())}))}),300),e(document).on("click",".mwl-img",(function(t){window.createMwlLog("log",".mwl-img has been clicked, opening the lightbox."),t.preventDefault();var i=parseInt(e(this).attr("mwl-index"));n.openLightbox(i)})),e(document).on("contextmenu",".mwl__slider__image__thumbnail img",(function(e){n.settings.right_click_protection&&(window.createMwlLog("log","protected the right click on an image."),e.preventDefault())})),setInterval((function(){}),5e3)}))}).call(this,n(0))}]); 第一印象はやっぱり顔? まずは顔を描けるようになりたいよね。
描き方について 2020.04.16
お絵かきは興味があることから始めるべし!……と思いはするのですが、一気に風呂敷を広げると何からやって良いのか分からなくなってしまうので、先ずはキャラクターを描くことから始めます。
と言うわけで、漸く絵の作業的な話のスタートです。
1回目は顔を描くについてです。
キャラクターを見るとき、一番最初に見るところは?
イラストでもマンガでも、キャラクターが居たらまず最初に見るところはどこだー?って、多分顔ですよね。
顔は、キャラクターとして一番わかりやすいところだから目が行っちゃう。
それなら、キャラクターの魅力を引き立てるためには、顔を描けないとって事になるわけですな。
水高さんの描くマンガは結構引きが多くてアップが少ないからね。
4コマギャグだと、全身を描くことも多いから、どうしても顔を描くのに苦手意識が出ちゃう。
とは言えー、最近はシリアスも描くようになったから、そこは避けて通ったらダメな部分ではないですか。
まずはアタリを描きましょう、バランスが大事です。
まず、顔を描こうと思ったときに、自力で描くのは難しいから、資料と言えばルーミス先生だよね。
入門書としてオススメされいるのは、ルーミス先生の本だよ。色んなサイトさんの描き方とかも、ルーミス先生を参考にしているのが多いんだよね。
リンク
へぇ。ルーミス先生のやり方って、もしかして丸を先に描いて、丸の下に顎をくっつけていくやつですかい?
そうそう。そのほかにはジャック・ハム先生も入門書としてオススメされることが多いね。
リンク
うーん……でも、ルーミス先生の描き方ってやりにくいんじゃないの?ぶっちゃけ、自分アレ苦手。
そうなんだよ!ルーミス先生は難しい!初心者向けっていうけど、全然そんなこと無いんだって!
あー……やっぱり。とりあえず、何でやりにくいと感じるのかは後で考えるとして次に行きましょう。
描けば分かると言われたから描いたけど、やっぱりうまくいかないんだけど。
教科書としてルーミス先生の本を使う場合でも、サイトで紹介されている方法を使う場合でも、アドバイスとかで結構多いのが「アタリを描きましょう」だと思うんだけど、アレを描いたからって、思った通りに描けるのかって言うと……そうじゃない場合もあるよね。
確かにナカさんは、アタリと下書きが結構食い違ってるのが多いよね。
そうなのです。……じゃなくてだな!それはそれ!これはこれ!
確かに自分の場合はかなりズレるけど今はそう言う話じゃないっす!アタリを描いているのに仕上がった物が予想以上に歪んでいるみたいな感じの話だよ!

ああ。目の位置がおかしいとか輪郭が歪んでいるとかそっちの話ね。
そうであります。あれってさ、何でそうなっちゃうんだろうって思わないですか?
でも、仕上がった物が歪んじゃってると。それって、アタリ自体が歪んでしまっているとかじゃないの?
ソレもあるかも知れないけど、そうじゃない場合もあると個人的には思ってるでよ。
眉毛・目・鼻・口・輪郭。パーツを上手く配置出来ないから、アタリが使いこなせない。
では。ココで福笑いというものを思い出してみましょう。
福笑いって、顔の外側だけ描かれた絵に、顔の中身をポンポン置いて面白い顔を作るっていうゲームだよね。
実際の福笑いは、よりおかしい顔を作ってみんなで笑い合うという目的でやるものだけど、今回注目したいのは、パーツを置くという部分であります。
そう。ほいでは、福笑いの輪郭だけの絵に、大体でいいからそれぞれのパーツを置いていって下され。あっ!今回は、変な顔じゃなくて、ちゃんとした顔になるように置いていって欲しいのであります。

OKOK!問題無い。さて。出来上がったものだけど、この顔って完全な左右対称じゃないけど、顔としては原型が分からないくらい変形はしていないよね?
そうならないように置いたんだけど。ずらした方が良かった?
いや。これでOK。今回作って貰った顔は、眉毛は眉毛の位置、目は目の位置、鼻・口も、それぞれ自然な場所にあるよね。
これは、作った人が顔というものをこう言う形と認識しているから、顔を作る時に、もっとも違和感の無い形としてパーツを配置出来るわけだ。
実は、この「パーツが収まって欲しい場所がどこなのかを意識する」ことが重要な部分だったりして。
へのへのもへじを使って説明を試みる。
福笑いの場合、既に顔のパーツが用意されているから、輪郭に対してそれぞれのパーツをポンポン置いていけばいいんだけど、自分で顔を描く場合、全てのパーツを自分で作る必要があるじゃないですか。というわけで、今度はへのへのもへじに登場して貰うことにしよう。
応!じゃあ、今度は、へのへのもへじを描いて下さいです。

OKー!このへのへのもへじも福笑いと同じで、それぞれの文字が顔のパーツとして、配置されて欲しい場所に置かれているよね。
そうだね。へが眉毛、のが目、もが鼻、へが口、じが輪郭だね。
じゃあさ、このへのへのもへじにアタリを描き込んでみたらどうなるかって言うと……

こうなります。ここで注目したいのは、文字がそれぞれ、アタリのどの位置にあるのかってところです。
うん。まぁ、ただ乗っければOKってワケじゃ無いんだろうけど、へのへのもへじをアタリに乗せて顔を作るのって、実際にキャラクターを描くより難易度が下がりませんか?
これって、角度を付けて描く場合でもそれほど難易度は高く無いんだよ。こんな感じでポンポン置けたりするんです。

だって、余計な物を描かなくても顔って認識出来るからね。へのへのもへじで顔を作る場合、たった7文字のひらがなを書ければ作れるからな。
文字の形を縦長にしたり横長にしたりすれば、角度だって簡単に付けられちゃうのでありますよ。
理屈が分かれば良いんだよ。へのへのもへじはあくまでも、パーツを単純なものにするために代用してるだけだからね。大事なのは、アタリを使って福笑い式に顔を作ることなのです。
まとめ。
取りあえず、長くなったから分割します。と言うわけで、この辺で今回のまとめだ。今回の話は、アタリを描くと言うところの触り部分で終わってしまった。
アタリを描いても、補助線の上にどうパーツを乗せて良いのかが分からないと、アタリの効果を十分に発揮出来ないって感じになるのかな?
そそ。だからまず、福笑いみたいに、パーツを配置して顔を作るのが良いんじゃないかなと思うワケです。そのためには、簡単に描けるへのへのもへじとか分かりやすいかなって思ったり。
文字だけなら、描きたいパーツの細かい形は考えなくていいから、気楽に出来そうだね。
うん。で、角度を付けるときは、文字の形を変形して、より自然な顔に見えるように描いてみると良いかもしれないよ。そうすることで、角度によってどういう感じで歪みが出来るのかを意識しやすくなってくるかもしれないね。
というわけで、今回の記事のポイントはこんな感じになりました。
・キャラクターで一番目が行きやすいのは顔!・ルーミス先生やジャック・ハム先生は、分かりにくいと感じることもある。・アタリを描いてもズレるときはズレる。・福笑いで学ぶパーツ配置のバランス。・へのへのもへじでパーツを代用して顔を作ってみようぜ!
タイトルとURLをコピーしました