!function(){"use strict";var e,t={noop:function(){},texturize:function(e){return(e=(e=(e=(e+="").replace(/'/g,"’").replace(/'/g,"’")).replace(/"/g,"”").replace(/"/g,"”").replace(/"/g,"”").replace(/[\u201D]/g,"”")).replace(/([\w]+)=[\d]+;(.+?)[\d]+;/g,'$1="$2"')).trim()},applyReplacements:function(e,t){if(e)return t?replace(/{(\d+)}/g,(function(e,r){return void 0!==t[r]?t[r]:e})):e},getBackgroundImage:function(e){var t=createelement("canvas"),r=getcontext&&getcontext("2d");if(e){filter="blur(20px) ",drawimage(e,0,0);var o=todataurl("image/png");return t=null,o}}},r=function(){function e(e,t){return matches?matches(t):msmatchesselector?msmatchesselector(t):void 0}function r(e,t,r,o){if(!e)return o();removeproperty("display"),opacity=t,transition="opacity 0.2s",pointerevents="none";var a=function(t){target===e&&"opacity"===propertyname&&(removeproperty("transition"),removeproperty("opacity"),removeproperty("pointer-events"),removeeventlistener("transitionend",a),removeeventlistener("transitioncancel",a),o())};requestAnimationFrame((function(){requestAnimationFrame((function(){addeventlistener("transitionend",a),addeventlistener("transitioncancel",a),opacity=r}))}))}return{closest:function(t,r){if(closest)return closest(r);var o=t;do{if(e(o,r))return o;o=parentelement||parentnode}while(null!==o&&1===nodetype);return null},matches:e,hide:function(e){e&&(display="none")},show:function(e){e&&(display="block")},fadeIn:function(e,o){r(e,"0","1",o=o||noop)},fadeOut:function(e,o){o=o||noop,r(e,"1","0",(function(){e&&(display="none"),o()}))},scrollToElement:function(e,t,r){if(!e||!t)return r?r():void 0;var o=queryselector(".jp-carousel-info-extra");o&&(minheight=innerheight-64+"px");var a=!0,i=now(),n=300,l=scrolltop,s=max(0,max(0,innerheight-function(e){var t=queryselector(".jp-carousel-info-footer"),r=queryselector(".jp-carousel-info-extra"),o=queryselector(".jp-carousel-info-content-wrapper");if(t&&r&&o){var a=getcomputedstyle(r),i=parseInt(paddingtop,10)+parseInt(paddingbottom,10);return i=isNaN(i)?0:i,offsetheight+offsetheight+i}return 0}(t)))scrolltop;function c(){a=!1}s=min(s,innerheight),addeventlistener("wheel",c),function e(){var u,d=now(),p=(u=(d-i)/n)<.5?2*u*u:pow(-2*u+2,2)/2,m=(p=p>1?1:p)*s;if(scrolltop=l+m,d<=i+n&&a)return requestAnimationFrame(e);r&&r(),o&&(minheight=""),a=!1,removeeventlistener("wheel",c)}()},getJSONAttribute:function(e,t){if(e&&hasattribute(t))try{return parse(getattribute(t))}catch(e){return}},convertToPlainText:function(e){var t=createelement("div");return textcontent=e,innerhtml},stripHTML:function(e){return replace(/<[^>]*>?/gm,"")},emitEvent:function(e,t,r){var o;try{o=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:r||null})}catch(e){(o=createevent("CustomEvent")).initCustomEvent(t,!0,!0,r||null)}dispatchevent(o)},isTouch:function(){return"ontouchstart"in window||documenttouch&&document instanceof DocumentTouch}}}();function o(){var o,a,i,n,l="",s=!1,c="gallery, tiled-gallery, wp-block-gallery, blocks-gallery-grid, has-nested-images, wp-block-jetpack-tiled-gallery, single-image-gallery",u=".gallery-item, .tiled-gallery-item, .blocks-gallery-item, .tiled-gallery__item",d=u+", .wp-block-image",p={},m="undefined"!=typeof wpcom&&carousel&&stat?stat:noop,g="undefined"!=typeof wpcom&&carousel&&pageview?pageview:noop;function h(t){if(!s)switch(which){case 38:preventdefault(),scrolltop-=100;break;case 40:preventdefault(),scrolltop+=100;break;case 39:preventdefault(),slidenext();break;case 37:case 8:preventdefault(),slideprev();break;case 27:preventdefault(),b()}}function f(){s=!0}function v(){s=!1}function y(){overlay||(overlay=queryselector(".jp-carousel-overlay"),container=queryselector(".jp-carousel-wrap"),gallery=queryselector(".jp-carousel"),p=queryselector(".jp-carousel-info"),caption=queryselector(".jp-carousel-caption"),commentfield=queryselector("#jp-carousel-comment-form-comment-field"),emailfield=queryselector("#jp-carousel-comment-form-email-field"),authorfield=queryselector("#jp-carousel-comment-form-author-field"),urlfield=queryselector("#jp-carousel-comment-form-url-field"),innerwidth<=760&&round(innerwidth/760*110)<40&&istouch(),[commentfield,emailfield,authorfield,urlfield].forEach((function(e){e&&(addeventlistener("focus",f),addeventlistener("blur",v))})),addeventlistener("click",(function(e){var t,o,a=target,i=!!closest(a,".jp-carousel-close-hint"),n=!!matchmedia("(max-device-width: 760px)").matches;if(a===overlay){if(n)return;b()}else if(i)b();else if(contains("jp-carousel-image-download"))m("download_original_click");else if(contains("jp-carousel-comment-login"))t=currentslide,o=t?attachmentid:"0",href=login_url+"%23jp-carousel-"+o;else if(closest(a,"#jp-carousel-comment-form-container"))!function(e){var t=target,o=getjsonattribute(container,"data-carousel-extra")||{},a=attachmentid,i=queryselector("#jp-carousel-comment-form-submit-and-info-wrapper"),n=queryselector("#jp-carousel-comment-form-spinner"),l=queryselector("#jp-carousel-comment-form-button-submit"),s=queryselector("#jp-carousel-comment-form");if(commentfield&&getattribute("id")===getattribute("id"))f(),show(i);else if(matches(t,'input[type="submit"]')){preventdefault(),stoppropagation(),show(n),add("jp-carousel-is-disabled");var c={action:"post_attachment_comment",nonce:nonce,blog_id:blog_id,id:a,comment:value};if(!length)return void w(no_comment_text,!1);if(1!==Number(is_logged_in)&&(email=value,author=value,url=value,1===Number(require_name_email))){if(!length||!match("@"))return void w(no_comment_email,!1);if(!length)return void w(no_comment_author,!1)}var u=new XMLHttpRequest;open("POST",ajaxurl,!0),setrequestheader("X-Requested-With","XMLHttpRequest"),setrequestheader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),onreadystatechange=function(){if(readystate===done&&status>=200&&status<300){var e;try{e=parse(response)}catch(e){return void w(comment_post_error,!1)}"approved"===comment_status?w(comment_approved,!0):"unapproved"===comment_status?w(comment_unapproved,!0):w(comment_post_error,!1),E(),q(a),value=post_comment,hide(n),remove("jp-carousel-is-disabled")}else w(comment_post_error,!1)};var d=[];for(var m in c)if(m){var g=encodeURIComponent(m)+"="+encodeURIComponent(c[m]);push(replace(/%20/g,"+"))}var h=join("&");send(h)}}(e);else if(closest(a,".jp-carousel-photo-icons-container")||contains("jp-carousel-photo-title"))!function(e){preventdefault();var t=target,o=queryselector(".jp-carousel-info-extra"),a=queryselector(".jp-carousel-image-meta"),i=queryselector(".jp-carousel-comments-wrapper"),n=queryselector(".jp-carousel-icon-info"),l=queryselector(".jp-carousel-icon-comments");function s(){l&&remove("jp-carousel-selected"),toggle("jp-carousel-selected"),i&&remove("jp-carousel-show"),a&&(toggle("jp-carousel-show"),contains("jp-carousel-show")?add("jp-carousel-show"):remove("jp-carousel-show"))}function c(){n&&remove("jp-carousel-selected"),toggle("jp-carousel-selected"),a&&remove("jp-carousel-show"),i&&(toggle("jp-carousel-show"),contains("jp-carousel-show")?add("jp-carousel-show"):remove("jp-carousel-show"))}(closest(t,".jp-carousel-icon-info")||contains("jp-carousel-photo-title"))&&(a&&contains("jp-carousel-show")?scrolltoelement(overlay,overlay,s):(s(),scrolltoelement(p,overlay))),closest(t,".jp-carousel-icon-comments")&&(i&&contains("jp-carousel-show")?scrolltoelement(overlay,overlay,c):(c(),scrolltoelement(p,overlay)))}(e);else if(!closest(a,".jp-carousel-info"))return})),addeventlistener("keydown",h),addeventlistener("afteropen",(function(){v(),length<=1||(length<=5?show(queryselector(".jp-swiper-pagination")):show(queryselector(".jp-carousel-pagination")))})),addeventlistener("beforeclose",(function(){f(),removeproperty("height"),e&&enable(),hide(queryselector(".jp-swiper-pagination")),hide(queryselector(".jp-carousel-pagination"))})),addeventlistener("afterclose",(function(){pushstate?pushstate("",title,pathname+search):href="",l="",isopen=!1})),addeventlistener("touchstart",(function(e){length>1&&preventdefault()})))}function w(e,t){var o=queryselector("#jp-carousel-comment-post-results"),a="jp-carousel-comment-post-"+(t?"success":"error");innerhtml=''+e+"",hide(queryselector("#jp-carousel-comment-form-spinner")),queryselector("#jp-carousel-comment-form")remove("jp-carousel-is-disabled"),show(o)}function j(){var e=queryselectorall("a img[data-attachment-id]");call(e,(function(e){var t=parentelement,o=parentelement;if(!contains("gallery-icon")&&!closest(o,u)&&hasattribute("href")){var a=!1;getattribute("href").split("?")[0]===getattribute("data-orig-file").split("?")[0]&&1===Number(single_image_gallery_media_file)&&(a=!0),getattribute("href")===getattribute("data-permalink")&&(a=!0),a&&(add("single-image-gallery"),setattribute("data-carousel-extra",stringify({blog_id:Number(blog_id)})))}}))}function S(o){(!o||o<0||o>length)&&(o=0),currentslide=slides[o];var a,i,n=currentslide,s=attachmentid,c=queryselector(".jp-carousel-icon-info"),u=queryselector(".jp-carousel-icon-comments");(c&&contains("jp-carousel-selected")||u&&contains("jp-carousel-selected"))&&0!==scrolltop&&scrolltoelement(overlay,overlay),function(e){var t=el,r=attrs,o=queryselector("img");if(!hasattribute("data-loaded")){var a=!!previewimage,i=thumbsize;!a||i&&offsetwidth>width?src=src:src=previewimage,setattribute("itemprop","image"),setattribute("data-loaded",1)}}(slides[o]),1!==Number(display_background_image)||slides[o].backgroundImage||function(t){var r=el;e&&slides&&(r=slides[activeindex]);var o=originalelement;complete&&0!==naturalheight?A(t,r,o):onload=function(){A(t,r,o)}}(slides[o]),hide(caption),function(e){var t,o,a,i,n="",l="",s="";if(t=queryselector(".jp-carousel-photo-caption"),o=queryselector(".jp-carousel-caption"),a=queryselector(".jp-carousel-photo-title"),i=queryselector(".jp-carousel-photo-description"),hide(t),hide(o),hide(a),hide(i),n=k(caption)||"",l=k(title)||"",s=k(desc)||"",(n||l||s)&&(n&&(innerhtml=n,innerhtml=n,show(t),show(o)),striphtml(n)===striphtml(l)&&(l=""),striphtml(n)===striphtml(s)&&(s=""),striphtml(l)===striphtml(s)&&(s=""),s&&(innerhtml=s,show(i),l||n||(innerhtml=striphtml(s),show(t))),l)){var c=striphtml(l);innerhtml=c,n||(innerhtml=c,innerhtml=c,show(t)),show(a)}}({caption:caption,title:title,desc:desc}),function(e){if(!e||1!==Number(display_exif))return!1;var t=queryselector(".jp-carousel-image-meta ul-carousel-image-exif"),r="";for(var o in e){var a=e[o],i=meta_data||[];if(0!==parseFloat(a)&&length&&-1!==indexof(o)){switch(o){case"focal_length":a+="mm";break;case"shutter_speed":a=x(a);break;case"aperture":a="f/"+a}r+="