vendor: 4,215 bytes, line 1
1(()=>{var t={14:(t,e,i)=>{"use strict";i.d(e,{Z:()=>u});var n=i(191),o=i.n(n),s=i(261),d=i.n(s),r=i(160),a=i.n(r),l=new URL(i(240),i.b),c=d()(o()),h=a()(l);c.push([t.id,`.wordads-ad-wrapper {\n position: static;\n font: 11px Arial, sans-serif;\n letter-spacing: 1px;\n text-decoration: none;\n max-width: 100%;\n margin: 25px auto;\n padding: 0;\n display: flex;\n justify-content: center;\n}\n\n.wordads-ad-wrapper--sidebar,\n.wordads-ad-wrapper--gutenberg_skyscraper,\n.wordads-ad-wrapper--gutenberg_mobile_leaderboard {\n font-size: 8px;\n}\n\n.wordads-ad-title {\n margin: 0 auto 5px\n}\n\n.wordads-ad-controls {\n margin: 5px auto 0;\n text-align: right\n}\n\n/* Hide title and controls initially */\n.wordads-ad-title,\n.wordads-ad-controls {\n visibility: hidden;\n}\n\n.wordads-ad-controls span {\n cursor: pointer\n}\n\n.wordads-ad {\n margin: 0 auto;\n width: fit-content;\n max-width: 100%;\n overflow: hidden;\n}\n\n.wordads-ad iframe {\n margin: 0;\n padding: 0\n}\n\n.wordads-ad.wordads-ad-responsive {\n width: 100%;\n max-width: unset\n}\n\n.wordads-ad-sticky-wrapper {\n display: flex;\n align-items: center;\n justify-content: center;\n margin: auto;\n position: fixed;\n transition: transform .2s ease-in-out;\n user-select: none;\n padding: 5px 0;\n z-index: 49999\n}\n.wordads-ad-wrapper--bottom_sticky.wordads-ad-sticky-wrapper {\n right: 0;\n left: 0;\n bottom: 0;\n background: transparent;\n transform: translate(0, 0);\n}\n\n.wordads-ad-wrapper--bottom_sticky.wordads-ad-sticky-wrapper.ad-slot-filled {\n background: #f1f1f1;\n}\n\n.wordads-ad-wrapper--sidebar_sticky_right.wordads-ad-sticky-wrapper {\n width: fit-content;\n min-width: 120px;\n top: max(calc(var(--wp-admin--admin-bar--height, 0px) + 24px), 10%);\n right: 20px;\n}\n\n.wordads-ad-wrapper--sidebar_sticky_right .wordads-ad-content {\n border: 1px solid #f1f1f1;\n margin-left: -1px;\n}\n\n.wordads-ad-sticky-close-btn {\n width: 28px;\n height: 28px;\n position: absolute;\n box-sizing: content-box;\n cursor: pointer;\n overflow: hidden;\n background-size: 28px;\n background-repeat: no-repeat;\n background-position: center;\n background-image: url(${h})\n}\n\n.wordads-ad-wrapper--bottom_sticky .wordads-ad-sticky-close-btn {\n top: -14px;\n left: .75rem;\n}\n\n.wordads-ad-wrapper--sidebar_sticky_right .wordads-ad-sticky-close-btn {\n top: -14px;\n right: 0;\n}\n\n.wordads-ad-sticky {\n width: auto;\n max-width: initial;\n max-height: inherit;\n}\n\n.wordads-ad-sticky .wordads-ad-title,\n.wordads-ad-sticky .wordads-ad-controls {\n color: #333\n}\n\n.wordads-ad-hidden {\n\tvisibility: hidden !important;\n\tposition: absolute !important;\n\tpointer-events: none !important;\n\twidth: 0 !important;\n\theight: 0 !important;\n\toverflow: hidden !important;\n\tclip: rect(0 0 0 0) !important;\n}\n\n.wordads-ad-wrapper--bottom_sticky.wordads-ad-hidden {\n transform: translate(0, 1000px);\n}\n\n.google-auto-placed {\n height: 0px !important;\n}\n\nins.adsbygoogle::before,\nins.adsbygoogle::after {\n visibility: hidden !important;\n}\n\nins.adsbygoogle {\n background: transparent;\n padding: 0 !important;\n}`,""]);const u=c},261:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var d={};if(n)for(var r=0;r<this.length;r++){var a=this[r][0];null!=a&&(d[a]=!0)}for(var l=0;l<t.length;l++){var c=[].concat(t[l]);n&&d[c[0]]||(void 0!==s&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=s),i&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=i):c[2]=i),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),e.push(c))}},e}},160:t=>{"use strict";
1t.exports=function(t,e){return e||(e={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},191:t=>{"use strict";t.exports=function(t){return t[1]}},546:function(t){t.exports=function(){"use strict";function t(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)t[n]=i[n]}return t}return function e(i,n){function o(e,o,s){if("undefined"!=typeof document){"number"==typeof(s=t({},n,s)).expires&&(s.expires=new Date(Date.now()+864e5*s.expires)),s.expires&&(s.expires=s.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var d="";for(var r in s)s[r]&&(d+="; "+r,!0!==s[r]&&(d+="="+s[r].split(";")[0]));return document.cookie=e+"="+i.write(o,e)+d}}return Object.create({set:o,get:function(t){if("undefined"!=typeof document&&(!arguments.length||t)){for(var e=document.cookie?document.cookie.split("; "):[],n={},o=0;o<e.length;o++){var s=e[o].split("="),d=s.slice(1).join("=");try{var r=decodeURIComponent(s[0]);if(n[r]=i.read(d,r),t===r)break}catch(t){}}return t?n[t]:n}},remove:function(e,i){o(e,"",t({},i,{expires:-1}))},withAttributes:function(i){return e(this.converter,t({},this.attributes,i))},withConverter:function(i){return e(t({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(i)}})}({read:function(t){return'"'===t[0]&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}()},462:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>w});var n=i(157),o=i.n(n),s=i(869),d=i.n(s),r=i(318),a=i.n(r),l=i(825),c=i.n(l),h=i(597),u=i.n(h),g=i(770),p=i.n(g),m=i(14),f={};f.styleTagTransform=p(),f.setAttributes=c(),f.insert=a().bind(null,"head"),f.domAPI=d(),f.insertStyleElement=u(),o()(m.Z,f);const w=m.Z&&m.Z.locals?m.Z.locals:void 0},157:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var s={},d=[],r=0;r<t.length;r++){var a=t[r],l=n.base?a[0]+n.base:a[0],c=s[l]||0,h="".concat(l," ").concat(c);s[l]=c+1;var u=i(h),g={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==u)e[u].references++,e[u].updater(g);else{var p=o(g,n);n.byIndex=r,e.splice(r,0,{identifier:h,updater:p,references:1})}d.push(h)}return d}function o(t,e){var i=e.domAPI(e);return i.update(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,o){var s=n(t=t||[],o=o||{});return function(t){t=t||[];for(var d=0;d<s.length;d++){var r=i(s[d]);e[r].references--}for(var a=n(t,o),l=0;l<s.length;l++){var c=i(s[l]);0===e[c].references&&(e[c].updater(),e.splice(c,1))}s=a}}},318:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},597:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},825:(t,e,i)=>{"use strict";t.exports=function(t){var e=i.nc;e&&t.setAttribute("nonce",e)}},869:t=>{"use strict";t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(i){!function(t,e,i){var n="";i.supports&&(n+="@supports (".concat(i.supports,") {")),i.media&&(n+="@media ".concat(i.media," {"));var o=void 0!==i.layer;o&&(n+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),n+=i.css,o&&(n+="}"),i.media&&(n+="}"),i.supports&&(n+="}");var s=i.sourceMap;s&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),e.styleTagTransform(n,t,e.options)}(e,t,i)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},770:t=>{"use strict";
1t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},858:function(t,e,i){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});const o=i(639),s=n(i(539)),d=i(444),r=i(501);class a extends s.default{constructor(t,e){super(t,e),this.config={},this.adSenseLibraryLoaded=!1,this.adFlowUrl="https://af.pubmine.com?api_version=2"}insertAdBefore(t,e,i){if(!this.shouldShowInlineAds())return;this.log(`Inserting ad before element: ${t.id} of type: ${e}`);const n=this.getRandomTagId(),o=this.createAdSnippet(n,i),s=this.wrapSnippet(o,e);t.insertAdjacentElement("beforebegin",s),this.slots.push({tagId:n,type:e,sizes:i,element:s,isLazy:!0}),this.trackStat("render_inline")}getAdFlowRequestBody(t){const{maxHeight:e,maxWidth:i}=(0,d.getMaxSlotDimension)(t.sizes),n={site:{id:String(this.config.blog_id),is_wordads:this.config.is_wordads,page:window.location.href,language:this.config.blog_language},ad:{tag:t.tagId,format:t.type,max_width:i,max_height:e},user:{uid:this.consent.getOrCreateUID(),gdpr:!1}};return this.consent.usPrivacy&&(n.user.us_privacy=this.consent.usPrivacy),this.consent.tcData&&(n.user.gdpr=!0,n.user.gdpr_consent=this.consent.tcData.tcString),n}shouldShowInlineAds(){var t,e;if(!(null===(t=this.config.enabled_formats)||void 0===t?void 0:t.inline)){const t=document.getElementsByTagName("body")[0];(t.classList.contains("single-post")||t.classList.contains("wp-singular"))&&(this.config.enabled_formats||(this.config.enabled_formats={}),this.config.enabled_formats.inline=!0)}return!!(null===(e=this.config.enabled_formats)||void 0===e?void 0:e.inline)}getMaxSlots(){return r.MAX_INLINE_SLOTS}getMaxBlazeSlots(){return r.MAX_INLINE_BLAZE_SLOTS}shouldShowBottomStickyAds(){var t;return!!(null===(t=this.config.enabled_formats)||void 0===t?void 0:t.bottom_sticky)}shouldShowSidebarStickyRightAds(){var t;return!!(null===(t=this.config.enabled_formats)||void 0===t?void 0:t.sidebar_sticky_right)}shouldShowTopAds(){var t;return!!(null===(t=this.config.enabled_formats)||void 0===t?void 0:t.top)}isSlotTypeEnabled(t){var e;return!!(null===(e=this.config)||void 0===e?void 0:e.formats.includes(t))}getSlotFormatId(t){}getBottomStickySlots(){return(0,r.getSortedSlotSizes)(o.SlotType.BOTTOM_STICKY)}convertFormatsToObject(t){return t.reduce(((t,e)=>(t[e]=!0,t)),{})}initAdNetwork(){this.initDynamicAdSlots(),this.initAditude()}mergeConfig(){var t;window.isWatlV1=!1;const e=this.getServerConfig();e&&(this.config=this.deepMerge(e,this.config)),this.config.enabled_formats=this.convertFormatsToObject(this.config.formats),this.log("Merged config:"),this.log(null!==(t=this.config)&&void 0!==t?t:{})}handleAdResponse(t,e){const i=!!this.config.afp_account_id,n=t.content.indexOf("window.tude")>-1;if(!(t.content.indexOf("var sas = sas")>-1)&&n&&this.forceAfpAds&&i)return void this.renderGoogleAfpAd(e.tagId);const o=!!(null==t?void 0:t.content),s=!!(null==t?void 0:t.pixel);if(o){const e=document.createElement("script");e.type="application/javascript",e.innerHTML=t.content,document.body.appendChild(e)}if(s){const e=new XMLHttpRequest;e.open("GET",t.pixel),e.send()}this.trackAdFlowRequestLatency(o,e.tagId,e.type)}tryUsingIponwebSlots(){var t;window.__ATA=window.__ATA||{cmd:[]},window.__ATA.cmd=window.__ATA.cmd||[];const e=this;window.__ATA.initSlot=function(t,i){var n;const s=document.getElementById(t);if(s&&(0===s.children.length||"SCRIPT"===(null===(n=s.children[0])||void 0===n?void 0:n.tagName))){const n=(0,r.getFormatBySizes)(i.width,i.height);if(!n)return;const d=s.getBoundingClientRect();d.width<i.width&&(s.style.width=`${i.width}px !important`),d.height<i.height&&(s.style.height=`${i.height}px !important`);const a=e.createAdSnippet(t,[[i.width,i.height]]),l=e.wrapSnippet(a,o.SlotType.GUTENBERG_RECTANGLE);s.insertAdjacentElement("beforebegin",l),s.remove(),window.iponwebTags=window.iponwebTags||[],window.iponwebTags.push(t),window.tudeMappings.push({divId:t,format:n,width:i.width,height:i.height}),e.log(`Use IPONWEB's container for ${t} (${i.width}x${i.height}px), format: ${n}`)}},window.__ATA.initDynamicSlot=function(t){var e,i;const n=document.getElementById(t.id);if(n){const o=Math.round(null!==(i=null===(e=n.getBoundingClientRect())||void 0===e?void 0:e.width)&&void 0!==i?i:0);o>=300&&o<970&&window.__ATA.initSlot(t.id,{width:300,height:250})}},window.__ATA.initVideoSlot=function(t){window.__ATA.initDynamicSlot({id:t})};const i=null!==(t=window.__ATA.cmd.push)&&void 0!==t?t:()=>{};for(const t of window.__ATA.cmd)"function"==typeof t&&t!==i&&t()}initDynamicAdSlots(){var t,e,i,n,s,d;this.log("Initializing Gutenberg ad slots"),window.tudeMappings=window.tudeMappings||[],this.tryUsingIponwebSlots();for(const a of window.tudeMappings){(null==a?void 0:a.width)&&(null==a?void 0:a.height)||([a.width,a.height]=null!==(t=(0,r.getFilteredSlotSizesByWidthAndHeight)(a.format,728,250)[0])&&void 0!==t?t:[300,250]);const{divId:l,format:c,width:h,height:u}=a,g=document.getElementById(l);if(g){if((null===(i=null===(e=null==g?void 0:g.parentElement)||void 0===e?void 0:e.parentElement)||void 0===i?void 0:i.classList.contains("inline"))&&(null===(s=null===(n=g.parentElement.parentElement)||void 0===n?void 0:n.parentElement)||void 0===s?void 0:s.classList.contains("wpa"))&&(null===(d=g.parentElement.parentElement.parentElement.parentElement)||void 0===d?void 0:d.classList.contains("wpcnt"))){const t=g.getBoundingClientRect();t.width<a.width&&(g.style.width=`${a.width}px !important`),t.height<a.height&&(g.style.height=`${a.height}px !important`);const e=this.createAdSnippet(l,[[a.width,a.height]]),i=this.wrapSnippet(e,o.SlotType.GUTENBERG_RECTANGLE),n=g.parentElement.parentElement.parentElement.parentElement;n.insertAdjacentElement("beforebegin",i),n.remove(),g.remove()}this.slots.push({tagId:l,type:c,sizes:[[h,u]],element:g,isLazy:!0}),this.log(`Gutenberg ad slot ${l} initialized`)}else this.log(`Gutenberg ad slot ${l} not found`)}}initAditude(){this.log("Initializing Aditude"),window.tude=window.tude||{cmd:[]},window.Raven=window.Raven||{cmd:[]},window.tude.cmd.push((()=>
1{if(window.tude&&"function"==typeof window.tude.setPageTargeting){const t={param1:String(this.config.blog_id),param2:String(this.config.is_wordads),param3:String(this.config.hosting_type),param4:this.config.theme};window.tude.setPageTargeting(t),this.log("Aditude debug: custom dimensions set "+JSON.stringify(t))}})),window.tude.cmd.push((()=>{window.tude.events.addEventListener("tude_ad_filled",(t=>{this.log("aditude debug event: tude_ad_filled "+JSON.stringify(t)),this.handleAd({tagId:t.detail.id,adNetwork:"Aditude"})})),window.tude.events.addEventListener("tude_ad_unfilled",(t=>{this.log(`Aditude debug event: tude_ad_unfilled (${t.detail.id})`),this.handleNoAd({tagId:t.detail.id,adNetwork:"Aditude"})})),window.tude.events.addEventListener("tude_no_ad_sizes",(t=>{this.log(`Aditude debug event: tude_no_ad_sizes ${t.detail.id}`),this.handleNoAd({tagId:t.detail.id,adNetwork:"Aditude"})}))}))}getLibrariesToFetch(){return{prebid:{loaded:!1,url:"https://dn0qt3r0xannq.cloudfront.net/wordpress-2Pvwql52OT/wordpress-longform/prebid-load.js",isInitialized:()=>void 0!==window.tude,init:()=>{window.tude=window.tude||{cmd:[]}}}}}getServerConfig(){const t=super.getServerConfig();if(void 0!==window.wa_smart&&!0===window.isWatlV1){let[,e]=window.wa_smart.target.split(";");e=e.replace("language=","").split("_")[0];const i=[];for(const t of Object.values(o.SlotType)){const e=window.wa_smart[t];(null==e?void 0:e.enabled)&&i.push(t)}return Object.assign(Object.assign({},t),{blog_language:e,hosting_type:2,theme:window.wa_smart.theme,formats:i})}return t}setAdContainerVisibility(t,e){var i,n,s,d,r,a,l,c,h,u,g;const p=this.slots.find((e=>e.tagId===t));if(!p)return void this.log(`Ad container not found: ${t}`);const m=[o.SlotType.GUTENBERG_LEADERBOARD,o.SlotType.GUTENBERG_RECTANGLE,o.SlotType.GUTENBERG_MOBILE_LEADERBOARD,o.SlotType.GUTENBERG_SKYSCRAPER].includes(p.type);let f=null;if(m&&!(null===(i=window.iponwebTags)||void 0===i?void 0:i.includes(t))){const e=(null===(r=null===(d=null===(s=null===(n=p.element)||void 0===n?void 0:n.parentElement)||void 0===s?void 0:s.parentElement)||void 0===d?void 0:d.parentElement)||void 0===r?void 0:r.parentElement)||null;f=null!==e&&e.classList.contains("wpcnt")?e:null===(l=null===(a=document.getElementById(t))||void 0===a?void 0:a.parentElement)||void 0===l?void 0:l.parentElement}else f=m&&(null===(c=window.iponwebTags)||void 0===c?void 0:c.includes(t))?null===(h=p.element.parentElement)||void 0===h?void 0:h.parentElement:p.element;if(null===(u=p.element.parentElement)||void 0===u||u.querySelectorAll(".wordads-ad-title, .wordads-ad-controls").forEach((t=>{t instanceof HTMLElement&&(t.style.visibility=e?"visible":"hidden")})),f){if(f.classList.toggle("wordads-ad-hidden",!e),!e){const e=document.getElementById(t),i=null===(g=null==e?void 0:e.parentElement)||void 0===g?void 0:g.parentElement;i&&(null==i?void 0:i.classList.contains("ad-slot-filled"))&&i.classList.remove("ad-slot-filled")}}else this.log(`Ad container element not found: ${t}`)}showAdContainer(t){this.setAdContainerVisibility(t,!0)}hideAdContainer(t){this.setAdContainerVisibility(t,!1)}handleAd(t){super.handleAd(t),this.showAdContainer(t.tagId)}handleNoAd(t){this.config.afp_account_id?this.renderGoogleAfpAd(t.tagId):(this.log("Google AFP account is missing"),super.handleNoAd(t),this.hideAdContainer(t.tagId))}renderGoogleAfpAd(t){this.slots.filter((t=>t.type===o.SlotType.TOP)).length>1&&t.indexOf("atatags-dynamic-top-")>-1||this.tryLoadAdsenseLib(t,(()=>{var e;const i=this.config.afp_host_id,n=this.config.afp_account_id;if(!i||!n)return void this.log("Ad host or client ID is missing.");const o=document.getElementById(t);if(!o)return void this.log(`AFP Ad container not found: ${t}`);this.configureGoogleAdContainer(o,t);let s=this.getSlotDimensions(o,t);const d=o.getBoundingClientRect();d.width<s.minWidth&&(o.style.width=`${s.minWidth}px !important`),d.height<s.minHeight&&(o.style.height=`${s.minHeight}px !important`),o.innerHTML=this.createGoogleAdElement(String(n),String(i),s.minWidth,s.minHeight,t),this.log(`Adding observer to adDiv: ${o.id} with slotElementId: ${t}`),this.setupGoogleAdStatusObserver(o,null===(e=o.parentElement)||void 0===e?void 0:e.parentElement)}))}getSlotDimensions(t,e){const i=this.slots.find((t=>t.tagId===e));if(!i){const e=parseInt(t.getAttribute("data-ad-width")||"0",10),i=parseInt(t.getAttribute("data-ad-height")||"0",10);return{minWidth:Math.min(e,300),minHeight:Math.min(i,250)}}const n=i.sizes[i.sizes.length-1],o=(0,d.getCompatibleGoogleAdSizes)(n[0],n[1]),[s,r]=[300,250];
1return o?{minWidth:o[0],minHeight:o[1]}:{minWidth:s,minHeight:r}}getSlot(t){return this.slots.find((e=>e.tagId===t.id))}configureGoogleAdContainer(t,e){var i;const{minWidth:n,minHeight:s}=this.getSlotDimensions(t,e),d=null===(i=t.parentElement)||void 0===i?void 0:i.parentElement;if(!d)return;const r=this.getSlot(t);if((null==r?void 0:r.type)===o.SlotType.BOTTOM_STICKY){let t=s+20;for(const e of[".wordads-ad-title",".wordads-ad-controls"]){const i=d.querySelector(e);i&&(t+=i.offsetHeight||0)}d.style.maxHeight=`${String(t)}px`}else d.style.margin="40px auto","absolute"===window.getComputedStyle(d).position&&(d.style.position="static"),t.style.width=`${n}px`,t.style.height=`${s}px`}createGoogleAdElement(t,e,i,n,s){const d=this.slots.find((t=>t.tagId===s));let r=!1,a=null;(null==d?void 0:d.type)===o.SlotType.BOTTOM_STICKY||[728,970].includes(i)&&90===n?a=7415555587:(null==d?void 0:d.type)===o.SlotType.INLINE||300===i&&250===n?(a=2877544770,r=!0):(null==d?void 0:d.type)===o.SlotType.SIDEBAR_STICKY_RIGHT||120===i&&600===n?a=9195541113:(null==d?void 0:d.type)===o.SlotType.GUTENBERG_MOBILE_LEADERBOARD||320===i&&50===n?a=4785522812:(null==d?void 0:d.type)===o.SlotType.GUTENBERG_SKYSCRAPER||160===i&&600===n?a=5523889413:300===i&&250===n&&(a=6074553751),this.log(`Creating Google AFP ad element for #${s} (${i}x${n}px)`+(null!==a?`, slotId: ${a}`:""));let l=r?'data-ad-format="auto" data-full-width-responsive="true"':`data-ad-width="${i}" data-ad-height="${n}"`;return null!==a&&(l+=` data-ad-slot="${a}"`),`\n\t\t\t<ins class="adsbygoogle"\n\t\t\t\tstyle="${r?"display:block":`display:block;width:${i}px !important;height:${n}px !important;`}"\n\t\t\t\tdata-ad-client="ca-${t}"\n\t\t\t\tdata-ad-host="ca-host-pub-${e}"\n\t\t\t\tdata-ad-host-channel="${this.config.is_wordads?5598771027:3624119425}"\n\t\t\t\t\n\t\t\t\t${l}>\n\t\t\t</ins>\n\t\t`}setupGoogleAdStatusObserver(t,e){if(!e)return;let i=null;const n=t.id,o=this.slots.findIndex((t=>t.tagId===n));-1!==o&&void 0!==this.slots[o]&&(this.slots[o].isProcessed=!1);const s=new MutationObserver((e=>{var n;for(const d of e)if("attributes"===d.type&&"data-ad-status"===d.attributeName){const e=d.target.getAttribute("data-ad-status");let r=null!==(n=d.target.parentElement)&&void 0!==n?n:t;if("filled"===e){this.showAdContainer(r.id),this.log(`Google AFP rendered. Div: ${r.id} Status: ${e}`);const t=this.getSlot(r);(null==t?void 0:t.onAd)&&t.onAd()}else this.hideAdContainer(r.id),this.log(`Google AFP rendered. Div: ${r.id}. Status: ${e}`);null!==i&&clearTimeout(i),-1!==o&&void 0!==this.slots[o]&&(this.slots[o].isProcessed=!0),s.disconnect()}})),d=t.querySelector(".adsbygoogle");d&&(s.observe(d,{attributes:!0,attributeFilter:["data-ad-status"]}),i=setTimeout((()=>{var t;-1!==o&&this.slots[o]&&!1===(null!==(t=this.slots[o].isProcessed)&&void 0!==t&&t)&&(this.hideAdContainer(n),this.slots[o].isProcessed=!0,s.disconnect(),this.log("Time limit for processing Google AFP is exceeded for #"+n))}),5e3)),this.initializeAdsbyGoogle()}initializeAdsbyGoogle(){if(void 0===window.adsbygoogle){const t=setInterval((()=>{void 0!==window.adsbygoogle&&(clearInterval(t),this.initAdsByGoogle(),this.log("Google AFP initialized"))}),100);setTimeout((()=>clearInterval(t)),1e3)}else this.initAdsByGoogle()}initAdsByGoogle(){try{(window.adsbygoogle||[]).push({})}catch(t){let e="Failed to render Google AFP";t instanceof Error&&(e+=": "+t.message),this.log(e)}}tryLoadAdsenseLib(t,e){if(this.adSenseLibraryLoaded)return this.log("Adsense library already loaded"),void e();let i=`https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-${String(this.config.afp_account_id)}`;if(document.querySelector(`script[src="${i}"]`)){let i=0;const n=setInterval((()=>{if(++i,100*i/1e3>=5)return clearInterval(n),void this.hideAdContainer(t);this.adSenseLibraryLoaded&&(e(),clearInterval(n))}),100)}else{const n=document.createElement("script");n.src=i,n.async=!0;const o=setTimeout((()=>{this.log("Adsense library load timeout exceeded"),this.hideAdContainer(t)}),5e3);n.onload=()=>{clearTimeout(o),this.log("Adsense library loaded"),this.adSenseLibraryLoaded=!0,e()},n.onerror=()=>{this.log("Failed to load Adsense library"),this.hideAdContainer(t)},document.head.appendChild(n)}}}e.default=a}
1,12:function(t,e,i){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});const o=n(i(202));i(462),e.default=class{constructor(){this.listenersController=new AbortController,this.signal=this.listenersController.signal,this.consent=new o.default}getConsent(){return this.consent}getListenersController(){return this.listenersController}init(t){t.preInit(),this.signal.onabort=()=>t.log("Event listeners removed"),document.addEventListener("scroll",t.throttle((()=>{t.processAds()}),250),{signal:this.signal}),document.addEventListener("resize",t.throttle((()=>{t.processAds()}),250),{signal:this.signal}),window.addEventListener("message",(e=>{t.handlePostMessage(e)}),{signal:this.signal})}}},501:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSortedSlotSizes=e.getFormatBySizes=e.getFilteredSlotSizesByWidthAndHeight=e.getFilteredSlotSizesByWidth=e.MAX_INLINE_BLAZE_SLOTS=e.MAX_INLINE_SLOTS=void 0;const n=i(639);e.MAX_INLINE_SLOTS=40,e.MAX_INLINE_BLAZE_SLOTS=20,e.getFilteredSlotSizesByWidth=(t,e)=>(s[t]||[]).filter((([t])=>t<=e)),e.getFilteredSlotSizesByWidthAndHeight=(t,e,i)=>(s[t]||[]).filter((([t,n])=>t<=e&&n<=i));const o=document.documentElement.clientWidth<800,s=Object.freeze({[n.SlotType.TOP]:o?[[320,50]]:[[970,250],[970,90],[728,90]],[n.SlotType.INLINE]:o?[[300,250],[320,50]]:[[970,250],[728,90],[300,250]],[n.SlotType.BELOW_POST]:o?[[300,250]]:[[300,250],[728,90]],[n.SlotType.BOTTOM_STICKY]:o?[[320,50],[468,60]]:[[728,90],[970,90]],[n.SlotType.SIDEBAR]:o?[[120,600],[160,600],[300,250],[300,400],[300,600]]:[[120,600],[160,600],[300,600]],[n.SlotType.SIDEBAR_STICKY_RIGHT]:o?[]:[[120,600],[160,600],[300,250],[300,600],[400,600]],[n.SlotType.GUTENBERG_RECTANGLE]:[[300,250]],[n.SlotType.GUTENBERG_LEADERBOARD]:[[728,90]],[n.SlotType.GUTENBERG_MOBILE_LEADERBOARD]:[[320,50]],[n.SlotType.GUTENBERG_SKYSCRAPER]:[[160,600]],[n.SlotType.SIDEBAR_WIDGET_MEDIUMRECTANGLE]:[[300,250]],[n.SlotType.SIDEBAR_WIDGET_LEADERBOARD]:[[728,90]],[n.SlotType.SIDEBAR_WIDGET_WIDESKYSCRAPER]:[[160,600]],[n.SlotType.SHORTCODE]:[[300,250]]});e.getFormatBySizes=(t,e)=>{for(const[i,o]of Object.entries(s))if(![n.SlotType.TOP,n.SlotType.BOTTOM_STICKY,n.SlotType.SIDEBAR,n.SlotType.SIDEBAR_STICKY_RIGHT,n.SlotType.SIDEBAR_WIDGET_MEDIUMRECTANGLE,n.SlotType.SIDEBAR_WIDGET_LEADERBOARD,n.SlotType.SIDEBAR_WIDGET_WIDESKYSCRAPER,n.SlotType.SIDEBAR_WIDGET_WIDESKYSCRAPER,n.SlotType.INLINE,n.SlotType.SHORTCODE,n.SlotType.BELOW_POST].includes(i)&&o.some((([i,n])=>i===t&&n===e)))return i;return null},e.getSortedSlotSizes=t=>s[t].sort(((t,e)=>{const i=e[0]-t[0];return 0!==i?i:e[1]-t[1]}))},586:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SMART_NETWORK_ID=void 0,e.SMART_NETWORK_ID=3905},506:function(t,e,i){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});const o=n(i(12)),s=n(i(858)),d=new o.default,r=new s.default(d.getConsent(),d.getListenersController());d.init(r)},313:(t,e)=>{"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollDirection=void 0,function(t){t.UP="up",t.DOWN="down"}(i||(e.ScrollDirection=i={}))},639:(t,e)=>{"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.StickySlotTypes=e.SlotType=void 0,function(t){t.TOP="top",t.INLINE="inline",t.BELOW_POST="belowpost",t.BOTTOM_STICKY="bottom_sticky",t.SIDEBAR="sidebar",t.SIDEBAR_STICKY_RIGHT="sidebar_sticky_right",t.GUTENBERG_RECTANGLE="gutenberg_rectangle",t.GUTENBERG_LEADERBOARD="gutenberg_leaderboard",t.GUTENBERG_MOBILE_LEADERBOARD="gutenberg_mobile_leaderboard",t.GUTENBERG_SKYSCRAPER="gutenberg_skyscraper",t.SIDEBAR_WIDGET_MEDIUMRECTANGLE="sidebar_widget_mediumrectangle",t.SIDEBAR_WIDGET_LEADERBOARD="sidebar_widget_leaderboard",t.SIDEBAR_WIDGET_WIDESKYSCRAPER="sidebar_widget_wideskyscraper",t.SHORTCODE="shortcode"}(i||(e.SlotType=i={})),e.StickySlotTypes=[i.BOTTOM_STICKY,i.SIDEBAR_STICKY_RIGHT]},202:function(t,e,i){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};
1Object.defineProperty(e,"__esModule",{value:!0});const o=n(i(546)),s=i(586);e.default=class{constructor(){this.logging=!1,this.tcData=null,this.usPrivacy=null,this.uid=null}setLogging(t){this.logging=t}log(t){this.logging&&console.log(t)}init(){this.log("Initializing consent..."),window.__uspapi?(this.log("Querying USP API..."),window.__uspapi("getUSPData",1,((t,e)=>{e&&t.uspString&&(this.usPrivacy=t.uspString,this.log("USP API data found. Setting consent: "+this.usPrivacy))}))):this.log("USP API not found"),window.__tcfapi?(this.log("Querying TCF API..."),window.__tcfapi("addEventListener",2,((t,e)=>{var i;e&&t.gdprApplies?(this.tcData=t,this.log("TCF API data found. Setting consent: "+(null===(i=this.tcData)||void 0===i?void 0:i.tcString)),this.initCookieSync()):this.log("TCF API data found. GDPR does not apply")}))):this.log("TCF API not found")}createUIDFromCookies(t,e,i){const n={expires:e,domain:i||window.location.hostname};this.log(`Created UID from Cookies on ${n.domain}`);const s=o.default.withAttributes(n),d=this.generateUIDValue();return s.set(t,d),d}generateUIDValue(){return Math.random().toString(36).substring(2,10)+(new Date).getTime().toString()}getOrCreateUIDFromLocalStorage(t,e){this.log("UID from localStorage");const i=(localStorage.getItem(t)||"").split(":");let n=i[0];const o=(new Date).getTime();let s=parseInt(i[1]);return(!n||o>s)&&(n=this.generateUIDValue(),s=o+24*e*60*60*1e3,localStorage.setItem(t,n+":"+s)),n}getOrCreateUID(){if(null!==this.uid)return this.uid;if(!this.hasUserConsent())return this.uid="",this.uid;const t="wordads_uid",e=o.default.get(t);if(e)return this.log(`Reused UID value ${e}`),this.uid=e,this.uid;const i=this.getCookiesSharedDomain(t,window.location.hostname);return window.localStorage&&!i||(this.uid=this.createUIDFromCookies(t,30,i)),this.uid=this.uid||this.getOrCreateUIDFromLocalStorage(t,30),this.log(`UID value: ${this.uid}`),this.uid}getCookiesSharedDomain(t,e){const i=e.split(".");if(i.length<=2)return null;let n=null,s=0;for(const d of i){if(s+=d.length,n=e.substring(s),s>=e.length)return null;const i=o.default.withAttributes({domain:n});if(i.set(t,"1")&&i.get(t))return i.remove(t),n;s++}return null}hasUserConsent(){return!this.tcData||!0===this.tcData.vendor.consents[496]&&!0===this.tcData.purpose.consents[1]}initCookieSync(){this.log("Initializing Cookie Sync");let t=`https://sync.smartadserver.com/getuid?nwid=${s.SMART_NETWORK_ID}&url=https://af.pubmine.com/user-sync?pid=[sas_uid]`;this.tcData&&(t+=`&gdpr=1&gdpr_consent=${this.tcData.tcString}`),document.createElement("img").src=t}}},444:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCompatibleGoogleAdSizes=e.convertFormatsToObject=e.getMaxSlotDimension=void 0;const i=[[970,250],[970,90],[728,90],[336,280],[320,100],[300,600],[300,250],[250,250],[200,200],[320,50],[300,50],[468,60],[160,600],[120,600]];e.getMaxSlotDimension=t=>{let e=0,i=0;return t.forEach((([t,n])=>{t>e&&(e=t),n>i&&(i=n)})),{maxWidth:e,maxHeight:i}},e.convertFormatsToObject=t=>t.reduce(((t,e)=>(t[e]=!0,t)),{}),e.getCompatibleGoogleAdSizes=(t,e)=>{const n=i.find((([i,n])=>i<=t&&n<=e));return null!=n?n:null}},539:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=i(501),o=i(639),s=i(313),d=i(444),r=["BLOCKQUOTE","DIV","FIGURE","FORM","H1","H2","H3","H4","H5","H6","P","UL"];e.default=class{constructor(t,e){this.logging="function"==typeof URLSearchParams&&"true"===new URLSearchParams(window.location.search).get("wordads-logging"),this.consent=t,this.consent.setLogging(this.logging),this.adFlowUrl="https://af.pubmine.com",this.slots=[],this.initialized=!1,this.config={},this.scroll={lastDirection:s.ScrollDirection.DOWN,lastY:window.scrollY},this.listenersController=e,this.forceAfpAds="function"==typeof URLSearchParams&&"1"===new URLSearchParams(window.location.search).get("afp_test")}log(t){this.logging&&console.log(t)}logSlot(t,e){if(!this.logging)return;const i=t.sizes.map((([t,e])=>t+"x"+e)).join(","),n=[t.type,t.tagId,i].join("|");this.log(`[${n}] ${e}`)}trackStat(t){window._stq=window._stq||[],window._stq.push(["extra",{x_wordads_smart:t}])}recordTracksEvent(t,e){e=e||{},window._tkq=window._tkq||[],window._tkq.push(["recordEvent",t,e])}getServerConfig(){var t,e;const i=document.getElementById("adflow-configuration"),n=i?JSON.parse(i.innerText):{},o=null!==(e=null===(t=null===window||void 0===window?void 0:window.wa_client)||void 0===t?void 0:t.config)&&void 0!==e?e:null===window||void 0===window?void 0:window.wa_smart;return this.deepMerge(n,o)}createAdSnippet(t,e){let i=document.createElement("div"),n=document.createElement("div"),o=document.createElement("div"),s=document.createElement("div");if(i.classList.add("wordads-ad"),n.classList.add("wordads-ad-title"),o.classList.add("wordads-ad-content"),s.classList.add("wordads-ad-controls"),n.innerText=this.config._.title,o.id=t,e){const{maxHeight:t,maxWidth:i}=(0,d.getMaxSlotDimension)(e);o.setAttribute("data-ad-height",t.toString()),o.setAttribute("data-ad-width",i.toString())}return s.innerHTML=this.consent.tcData?`<span onclick="__tcfapi( 'showUi' )">${this.config._.privacy_settings}</span>`:"",i.appendChild(n),i.appendChild(o),i.appendChild(s),i}getBottomStickySlots(){}createBottomStickyAdSnippet(t){const e=this.getBottomStickySlots(),i=this.createAdSnippet(t,e);i.classList.add("wordads-ad-sticky");const n=this.wrapSnippet(i,o.SlotType.BOTTOM_STICKY);n.classList.add("wordads-ad-sticky-wrapper");const d=()=>{this.toggleVisibility(n,s.ScrollDirection.DOWN)},r=document.createElement("div");
1return r.classList.add("wordads-ad-sticky-close-btn"),r.onclick=function(){n.remove(),document.removeEventListener("scroll",d)},n.insertBefore(r,i),{event:d,snippet:n}}createSidebarStickyAdSnippet(t,e){const i=this.createAdSnippet(t);i.classList.add("wordads-ad-sticky");const n=this.wrapSnippet(i,e);n.classList.add("wordads-ad-sticky-wrapper");const o=this.throttle((()=>{this.updateSidebarStickyVisibility(n)}),150),s=document.createElement("div");return s.classList.add("wordads-ad-sticky-close-btn"),s.onclick=function(){n.remove(),window.removeEventListener("resize",o),document.removeEventListener("scroll",o)},n.insertBefore(s,i),{event:o,snippet:n,adContent:i.querySelector(".wordads-ad-content")}}toggleVisibility(t,e){const i=window.scrollY>this.scroll.lastY?s.ScrollDirection.DOWN:s.ScrollDirection.UP,n=this.scroll.lastDirection===i;if(this.scroll.lastDirection=i,this.scroll.lastY=window.scrollY,n)return;const o="wordads-ad-hidden";e===i?t.classList.remove(o):t.classList.add(o)}wrapSnippet(t,e){const i=document.createElement("div");return i.classList.add("wordads-ad-wrapper"),i.classList.add(`wordads-ad-wrapper--${e}`),i.appendChild(t),i}checkBrandSafety(t,e){}handleNotOkayResponse(t,e){var i;if(this.log(`Site unable to show ads: ${e.tagId}`),204===t){const t=document.getElementById(e.tagId),n=null===(i=null==t?void 0:t.parentElement)||void 0===i?void 0:i.parentElement;t&&(null==n?void 0:n.classList.contains("wordads-ad-wrapper"))&&n.classList.add("wordads-ad-hidden"),this.listenersController.abort()}}callAdFlow(t){this.logSlot(t,"calling AdFlow");const e=new XMLHttpRequest;e.onreadystatechange=()=>{if(XMLHttpRequest.DONE===e.readyState){if(performance.mark(`${t.tagId}-end`),200!==e.status)return void this.handleNotOkayResponse(e.status,t);const i=JSON.parse(e.response);this.handleAdResponse(i,t)}},e.open("POST",this.adFlowUrl),e.setRequestHeader("Accept","application/json"),e.withCredentials=!0,performance.mark(`${t.tagId}-start`);const i=this.getAdFlowRequestBody(t);e.send(JSON.stringify(i))}trackAdFlowRequestLatency(t,e,i){let n=performance.measure(`${e}-duration`,`${e}-start`,`${e}-end`),o={has_ad:t,ad_type:i,request_time:Math.round(n.duration),theme:this.config.theme};navigator.connection&&(o.connection_effective_type=navigator.connection.effectiveType,o.connection_downlink=navigator.connection.downlink),this.recordTracksEvent("wpcom_wordads_adflow",o)}insertFallbackAd(t,e){let i=(window.sas_fallback||[]).filter((function(t){return t.type===e}));if(0===i.length)return t.remove(),void this.log(`No fallback found for ${e}, snippet removed`);let n=i[0].tag.replaceAll("{{unique_id}}",Math.trunc(1e6*Math.random())),o=document.createElement("div");o.innerHTML=n,n=o.childNodes[0].nodeValue;let s=document.createElement("div");s.innerHTML=n,t.style.position="relative",t.style.visibility="visible",t.innerHTML=s.innerHTML,s.querySelectorAll("script").forEach((function(t){t.parentNode&&t.parentNode.removeChild(t);let e=document.createElement("script");t.src?e.src=t.src:t.textContent?e.textContent=t.textContent:t.innerText&&(e.innerText=t.innerText),document.body.appendChild(e)})),this.trackStat("fallback_"+e)}getPostItems(t){let e=[];for(let i=0;i<t.children.length;i++){let n=t.children[i];this.isPostItemValid(n)&&e.push(n)}return e}getFontSize(t){const e=t.parentElement;if(e)for(let t=0;t<e.children.length;t++){const i=e.children[t];if("P"===i.nodeName)return parseFloat(window.getComputedStyle(i).fontSize)}return 16}isPostItemVisible(t){const e=window.getComputedStyle(t);return!!t.offsetParent&&"hidden"!==e.visibility&&"none"!==e.display&&t.offsetHeight>=this.getFontSize(t)}isPostItemValid(t,e=!1){if(!t||!r.includes(t.nodeName))return!1;if(e&&"DIV"===t.nodeName){let e=!1;const i=4,n=t=>{var e;return!(null===(e=document.evaluate('//div[contains(@class, "wpcnt")]/div[contains(@class, "wpa")]/div/div/div[starts-with(@id, "atatags-")]',t,null,XPathResult.ANY_UNORDERED_NODE_TYPE,null).singleNodeValue)||void 0===e||!e)},o=t=>{var e;return!(null===(e=document.evaluate('//div[contains(@class, "wordads-ad-wrapper")]',t,null,XPathResult.ANY_UNORDERED_NODE_TYPE,null).singleNodeValue)||void 0===e||!e)},s=(t,e)=>{if(e>i)return!1;for(let i=0;i<t.children.length;i++){const d=t.children[i];if(o(d))return!0;
1if(n(d))return!0;if(s(d,e+1))return!0}return!1};if(e=s(t,1),e)return!1}return this.isPostItemVisible(t)}getFloatingElements(t){let e=[],i=t.getElementsByTagName("*");for(let t=0;t<i.length;t++){let n=i[t],o=getComputedStyle(n),s=o.getPropertyValue("position"),d=o.getPropertyValue("float");"relative"!==s&&"absolute"!==s&&"none"===d||e.push(n)}return e}getElementGlobalPosition(t){let e=t.getBoundingClientRect();return{top:e.top+window.scrollY,left:e.left+window.scrollX,bottom:e.top+window.scrollY+e.height,right:e.left+window.scrollX+e.width}}collidesWithElements(t,e){let i=this.getElementGlobalPosition(t),n=!1;return e.forEach((t=>{let e=this.getElementGlobalPosition(t);i.bottom<e.top||i.top>e.bottom||i.right<e.left||i.left>e.left||(n=!0)})),n}getInlineFormatId(){}initInlineAds(){if(!this.shouldShowInlineAds())return;this.log(`Initializing ${o.SlotType.INLINE}`);let t=document.getElementById("wordads-inline-marker");if(!t)return void this.trackStat("inline_no_marker");let e=t.parentElement;if(!e)return;const i=this.getAvailableWidth(e),s=(0,n.getFilteredSlotSizesByWidth)(o.SlotType.INLINE,i);t.remove();let d=this.getMaxSlots(),r=0;const a=window.innerHeight,l=Math.ceil(1.1*a),c=Math.ceil(1.2*a);let h=e.getBoundingClientRect().top+window.scrollY+l;const u=this.getPostItems(e),g=this.getFloatingElements(e);if(u.length>0)for(let t=0;t<u.length;t++){const e=t>0?u[t-1]:null,i=t<u.length-1?u[t+1]:null,n=u[t],a=n.getBoundingClientRect().top+window.scrollY,l=a>h,p=e&&this.isPostItemValid(e,!0),m=this.isPostItemValid(n,!0),f=null===i||i&&this.isPostItemValid(i,!0),w=this.collidesWithElements(n,g);l&&r<d&&p&&m&&f&&!w&&(this.insertAdBefore(n,o.SlotType.INLINE,s,r,this.getInlineFormatId()),h=a+c,r++)}0===r&&this.trackStat("inline_no_insert")}getBottomStickyFormatId(){}initBottomSticky(){if(!this.shouldShowBottomStickyAds())return;this.log(`Initializing ${o.SlotType.BOTTOM_STICKY}`);const t=this.getRandomTagId(),{event:e,snippet:i}=this.createBottomStickyAdSnippet(t);document.body.append(i);const s=document.documentElement.clientWidth,d=(0,n.getFilteredSlotSizesByWidth)(o.SlotType.BOTTOM_STICKY,s),r=this.getBottomStickyFormatId();this.slots.push(Object.assign({tagId:t,type:o.SlotType.BOTTOM_STICKY,sizes:d,element:i,isLazy:!1,onAd:function(){var i;document.addEventListener("scroll",e,{passive:!0});const n=document.getElementById(t),o=null===(i=null==n?void 0:n.parentElement)||void 0===i?void 0:i.parentElement;o&&o.classList.add("ad-slot-filled")}},r?{formatId:r}:{}))}getSidebarStickyRightFormatId(){}initSidebarStickyRight(){var t,e;if(!this.shouldShowSidebarStickyRightAds())return;this.log(`Initializing ${o.SlotType.SIDEBAR_STICKY_RIGHT}`);const i=this.getRandomTagId(),{event:s,snippet:d,adContent:r}=this.createSidebarStickyAdSnippet(i,o.SlotType.SIDEBAR_STICKY_RIGHT),a=null!==(t=document.querySelectorAll(".wp-site-blocks"))&&void 0!==t?t:[];if(1===a.length)a[0].append(d);else{const t=null!==(e=document.querySelectorAll("div#page"))&&void 0!==e?e:[];1===t.length?t[0].append(d):document.body.append(d)}const{maxWidth:l,maxHeight:c}=this.getMaxAvailableSidebarStickySize(d);null==r||r.setAttribute("data-ad-height",c.toString()),null==r||r.setAttribute("data-ad-width",l.toString());const h=(0,n.getFilteredSlotSizesByWidthAndHeight)(o.SlotType.SIDEBAR_STICKY_RIGHT,l,c);if(!h.length)return this.log(`No size available for ${o.SlotType.SIDEBAR_STICKY_RIGHT}`),void d.remove();const u=this.getSidebarStickyRightFormatId();this.slots.push(Object.assign({tagId:i,type:o.SlotType.SIDEBAR_STICKY_RIGHT,sizes:h,element:d,isLazy:!1,onAd:()=>{this.updateSidebarStickyVisibility(d),window.addEventListener("resize",s,{passive:!0}),document.addEventListener("scroll",s,{passive:!0})}},u?{formatId:u}:{}))}appendTopTag(){const t=this.getRandomTagId(),e=document.createElement("div");e.id=t;const i=document.documentElement.clientWidth,s=(0,n.getFilteredSlotSizesByWidth)(o.SlotType.TOP,i),d=this.createAdSnippet(t,s),r=this.wrapSnippet(d,o.SlotType.TOP);return document.body.insertBefore(e,document.body.firstChild),e.insertAdjacentElement("beforebegin",r),e.remove(),this.slots.push({tagId:t,type:o.SlotType.TOP,sizes:s,element:r,isLazy:!0}),e}initTop(){if(!this.shouldShowTopAds())return;this.log(`Initializing ${o.SlotType.TOP}`);const t=Array.from(document.getElementsByClassName("wordads-tag"));let[e]=t.filter((t=>t.dataset.slotType===o.SlotType.TOP));e&&e.remove(),e=this.appendTopTag()}updateSidebarStickyVisibility(t){const e=t.offsetHeight;
1this.isWithinViewportHeight(e)&&!this.checkIfAdIsOverlappingContent(t)?(this.log("sidebar_sticky_right: ad slot can fit"),t.classList.remove("wordads-ad-hidden")):(this.log("sidebar_sticky_right: ad slot CANNOT fit"),t.classList.add("wordads-ad-hidden"))}isWithinViewportHeight(t){return t<=.8*window.innerHeight}getOverlappingElements(t,e,i){return t=Math.round(t),e=Math.round(e),document.elementsFromPoint(t,e).filter((t=>{return!((e=t)===i||i.contains(e)||e.contains(i));var e}))}isElementAboveSnippet(t,e){const i=e.getBoundingClientRect(),n=[[i.left+1,i.top+1],[i.right-1,i.top+1],[i.left+1,i.bottom-1],[i.right-1,i.bottom-1],[i.left+i.width/2,i.top+i.height/2]];for(const[i,o]of n){const n=document.elementsFromPoint(i,o);if(n.indexOf(t)<n.indexOf(e))return!0}return!1}checkIfAdIsOverlappingContent(t){const e=t.getBoundingClientRect(),i=[...this.getOverlappingElements(e.left,e.top,t),...this.getOverlappingElements(e.right,e.top,t),...this.getOverlappingElements(e.right,e.bottom,t),...this.getOverlappingElements(e.left,e.bottom,t)].map((t=>t.classList.contains("wordads-ad-wrapper")&&t.querySelector(".wordads-ad-content")||t)),n=[];for(const t of i){const i=t.getBoundingClientRect();if(!(Math.round(e.right)<=Math.round(i.left)||Math.round(e.left)>=Math.round(i.right)||Math.round(e.bottom)<=Math.round(i.top)||Math.round(e.top)>=Math.round(i.bottom))){const e=window.getComputedStyle(t);"none"!==e.display&&"hidden"!==e.visibility&&"0"!==e.opacity&&n.push(t)}}return n.some((e=>this.isElementAboveSnippet(e,t)))}getMaxAvailableSidebarStickySize(t){const e=(0,n.getSortedSlotSizes)(o.SlotType.SIDEBAR_STICKY_RIGHT);for(const[i,n]of e){t.style.width=`${i}px`,t.style.height=`${n}px`;const e=this.checkIfAdIsOverlappingContent(t);if(t.style.width="",t.style.height="",!e&&this.isWithinViewportHeight(n))return this.log(`sidebar_sticky_right: max available size without overlap, [${i}, ${n}]`),{maxWidth:i,maxHeight:n}}return this.log("sidebar_sticky_right: no slot size fits available space"),{maxWidth:0,maxHeight:0}}initAdTags(){var t;this.log("Initializing ad tags");const e=Array.from(document.getElementsByClassName("wordads-tag"));for(let i=0;i<e.length;i++){const o=e[i],s=null!==(t=o.dataset.slotType)&&void 0!==t?t:"",d=this.getSlotFormatId(s),r=this.getAvailableWidth(o.parentElement),a=(0,n.getFilteredSlotSizesByWidth)(s,r);this.log(`Initializing ad tag ${i+1}: ${s}, format id: ${d}`),s?this.isSlotTypeEnabled(s)?null!==d?a.length?(this.insertAdBefore(o,s,a,i,d),o.remove()):(this.log(`No available sizes for slot type: ${s}`),o.remove()):(this.log(`Invalid slot type: ${s}`),o.remove()):(this.log(`Disabled slot type: ${s}`),o.remove()):(this.log(`Slot type not provided: ${s}`),o.remove())}}getAvailableWidth(t){if(!t)return 0;const e=window.getComputedStyle(t),i=parseFloat(e.paddingLeft),n=parseFloat(e.paddingRight);return t.getBoundingClientRect().width-(i+n)}getFormat(t){}handleNoAdWithSmart(){}handleNoAd(t){let e=this.getSlotByTagId(t.tagId);e?((null==t?void 0:t.adNetwork)?this.logSlot(e,`Got NoAd from ${null==t?void 0:t.adNetwork}, requesting a fallback`):this.logSlot(e,"Got NoAd, requesting a fallback"),window.iponwebTags=window.iponwebTags||[],window.iponwebTags.includes(e.tagId)||this.insertFallbackAd(e.element,e.type),this.checkBrandSafety(t,e),this.trackStat("noad_"+e.type)):this.log(`NoAd: no slot found for tag id: ${t.tagId}, format: ${this.getFormat(t)}`)}handleAd(t){let e=this.getSlotByTagId(t.tagId);e?((null==t?void 0:t.adNetwork)?this.logSlot(e,`Got an Ad from ${null==t?void 0:t.adNetwork}`):this.logSlot(e,"Got an Ad"),o.StickySlotTypes.indexOf(e.type)>-1?e.element.style.position="fixed":e.element.style.position="relative",e.element.style.visibility="visible",e.onAd&&e.onAd(),this.trackStat("ad_"+e.type)):this.log(`Ad: no slot found for tag id: ${t.tagId}, format: ${this.getFormat(t)}`)}handlePostMessage(t){if("object"!=typeof t.data)return;if("wa-inline-frame"!==t.data.type)return;const e=t;let i=document.getElementsByTagName("iframe");for(let t=0;t<i.length;t++)if(i[t].contentWindow===e.source){i[t].style.height=Math.ceil(e.data.height)+"px";let n=i[t].closest(".wordads-ad");n&&(n.classList.contains("wordads-ad-responsive")||n.classList.add("wordads-ad-responsive"),e.data.maxWidth&&n.querySelectorAll(".wordads-ad-title, .wordads-ad-controls").forEach((t=>{t.style.maxWidth=e.data.maxWidth})));break}}getSlotByTagId(t){return this.slots.find((e=>e.tagId===t))}getRandomTagId(){return"wordads-ad-"+Math.trunc(1e6*Math.random())}throttle(t,e){let i=!1;return(...n)=>{i||(t(...n),i=!0,setTimeout((()=>{i=!1}),e))}}isElementInLazyViewport(t){let e=window.innerHeight,i=window.scrollY,n=i-e,o=i+2*e,s=this.getElementGlobalPosition(t);return!(s.bottom<=n||s.top>=o)}processAds(){this.log("processAds: "+this.slots.length),0!==this.slots.length&&this.slots.forEac
1h((t=>{if(t.isLoaded)return;const e=!t.isLazy||this.isElementInLazyViewport(t.element),i=this.checkIfAdIsOverlappingContent(t.element);i&&t.type===o.SlotType.TOP&&(this.logSlot(t,"Top overlaps with other elements, we have to remove it from slots"),this.slots=this.slots.filter((e=>e!==t)),t.element.remove()),!e||i&&t.type!==o.SlotType.BOTTOM_STICKY||(this.logSlot(t,"in view"),t.isLoaded=!0,this.callAdFlow(t))}))}tryInit(t){const e=Object.values(t).map((t=>t.loaded&&t.isInitialized())).filter(Boolean);Object.keys(t).length===e.length&&(this.log("All scripts loaded, initializing..."),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",(()=>{this.init()})):this.init())}preInit(){this.log("Running Pre Init");const t=this.getLibrariesToFetch();for(const[e,i]of Object.entries(t)){if(i.isInitialized())continue;this.log(`Fetching ${e} script`),i.init();const n=document.createElement("script");n.src=i.url,n.async=!0,n.addEventListener("load",(()=>{this.log(`${e} is loaded`),t[e]=Object.assign(Object.assign({},i),{loaded:!0}),this.tryInit(t)})),document.head.appendChild(n)}}init(){this.log("Init..."),this.mergeConfig(),this.consent.init(),this.initAdNetwork(),this.consent.initCookieSync(),this.initAds()}initAds(){this.initialized||(this.initialized=!0,this.initInlineAds(),this.initTop(),this.initBottomSticky(),this.initSidebarStickyRight(),this.initAdTags(),this.processAds())}deepMerge(t,e){for(let i in e)e.hasOwnProperty(i)&&(e[i]instanceof Object&&t[i]instanceof Object?t[i]=this.deepMerge(t[i],e[i]):t[i]=e[i]);return t}}},240:t=>{"use strict";t.exports="data:image/svg+xml,%3Csvg width=%2730%27 height=%2730%27 viewBox=%270 0 30 30%27 fill=%27none%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Crect x=%270.5%27 y=%270.5%27 width=%2729%27 height=%2729%27 rx=%2714.5%27 fill=%27white%27/%3E%3Crect x=%270.5%27 y=%270.5%27 width=%2729%27 height=%2729%27 rx=%2714.5%27 stroke=%27%23DDDDDF%27/%3E%3Cpath d=%27M19 11L15 15L19 19%27 stroke=%27%237C7F83%27 stroke-width=%271.5%27/%3E%3Cpath d=%27M11 19L15 15L11 11%27 stroke=%27%237C7F83%27 stroke-width=%271.5%27/%3E%3C/svg%3E"}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var s=e[n]={id:n,exports:{}};return t[n].call(s.exports,s,s.exports,i),s.exports}i.m=t,i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.b=document.baseURI||self.location.href,i.nc=void 0,i(506)})();; 2( function() { 3 var cookieValue = document.cookie.replace( /(?:(?:^|.*;\s*)eucookielaw\s*\=\s*([^;]*).*$)|^.*$/, '$1' ); 4 var overlay = document.querySelector( '#eu-cookie-law' ); 5 var container = document.querySelector( '.widget_eu_cookie_law_widget' ); 6 var initialScrollPosition, scrollFunction; 7 8 function remove( el ) { 9 return el && el.parentElement && el.parentElement.removeChild( el ); 10 } 11 12 function triggerDismissEvent() { 13 try { 14 const dismissEvent = new Event( 'eucookielaw-dismissed' ); 15 document.dispatchEvent( dismissEvent ); 16 } catch ( err ) { } 17 } 18 19 function removeOverlay() { 20 remove( overlay ); 21 triggerDismissEvent(); 22 } 23 24 function fade( el, type, fn ) { 25 var duration = 400; 26 27 el.style.display = 'block'; 28 el.style.transitionProperty = 'opacity'; 29 el.style.transitionDuration = duration + 'ms'; 30 el.style.opacity = type === 'in' ? 0 : 1; 31 32 // Double rAF to ensure styles are applied cross-browser. 33 requestAnimationFrame( function () { 34 requestAnimationFrame( function() { 35 el.style.opacity = type === 'in' ? 1 : 0; 36 // Wait for animation. 37 setTimeout( function () { 38 // Clean up. 39 el.style.removeProperty( 'opacity' ); 40 el.style.removeProperty( 'transition-property' ); 41 el.style.removeProperty( 'transition-duration' ); 42 43 if ( type === 'out' ) { 44 el.style.display = 'none'; 45 } 46 47 if ( typeof fn === 'function' ) { 48 fn(); 49 } 50 }, duration + 50 ); 51 } ); 52 } ); 53 } 54 55 function appendWidget() { 56 document.body.appendChild( container ); 57 overlay.style.display = 'block'; 58 fade( container, 'in' ); 59 } 60 61 if ( typeof wp !== 'undefined' && !! wp.customize ) { 62 appendWidget(); 63 return; 64 } 65 66 if ( ! overlay || ! container ) { 67 return; 68 } 69 70 if ( overlay.classList.contains( 'ads-active' ) ) { 71 var adsCookieValue = document.cookie.replace( /(?:(?:^|.*;\s*)personalized-ads-consent\s*\=\s*([^;]*).*$)|^.*$/, '$1' ); 72 if ( cookieValue !== '' && adsCookieValue !== '' ) { 73 removeOverlay(); 74 } 75 } else if ( cookieValue !== '' ) { 76 removeOverlay(); 77 } 78 79 appendWidget(); 80 81 overlay.querySelector( 'form' ).addEventListener( 'submit', accept ); 82 83 if ( overlay.classList.contains( 'hide-on-scroll' ) ) { 84 initialScrollPosition = window.pageYOffset; 85 86 scrollFunction = function() { 87 if ( Math.abs( window.pageYOffset - initialScrollPosition ) > 50 ) { 88 accept(); 89 } 90 }; 91 92 window.addEventListener( 'scroll', scrollFunction ); 93 } else if ( overlay.classList.contains( 'hide-on-time' ) ) { 94 var timeout = parseInt( overlay.getAttribute( 'data-hide-timeout' ), 10 ) || 0; 95 setTimeout( accept, timeout * 1000 ); 96 } 97 98 var accepted = false;
99 function accept( event ) { 100 if ( accepted ) { 101 return; 102 } 103 accepted = true; 104 105 if ( event && event.preventDefault ) { 106 event.preventDefault(); 107 } 108 109 if ( overlay.classList.contains( 'hide-on-scroll' ) ) { 110 window.removeEventListener( 'scroll', scrollFunction ); 111 } 112 113 var expireTime = new Date(); 114 var consentExpiration = parseInt( overlay.getAttribute( 'data-consent-expiration' ), 10 ) || 0; 115 expireTime.setTime( expireTime.getTime() + ( consentExpiration * 24 * 60 * 60 * 1000 ) ); 116 117 document.cookie = 'eucookielaw=' + expireTime.getTime() + ';path=/;expires=' + expireTime.toGMTString(); 118 if ( overlay.classList.contains( 'ads-active' ) && overlay.classList.contains( 'hide-on-button' ) ) { 119 document.cookie = 'personalized-ads-consent=' + expireTime.getTime() + ';path=/;expires=' + expireTime.toGMTString(); 120 } 121 122 fade( overlay, 'out', function() { 123 removeOverlay(); 124 remove( container ); 125 } ); 126 } 127} )(); 128; 129(()=>{(function(){var Scroller,stats,type,text,totop,loading_text,isIE=-1!==navigator.userAgent.search("MSIE");if(isIE){var IEVersion=navigator.userAgent.match(/MSIE\s?(\d+)\.?\d*;/);IEVersion=parseInt(IEVersion[1])}function fullscreenState(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement?1:0}"https:"===document.location.protocol&&(infiniteScroll.settings.ajaxurl=infiniteScroll.settings.ajaxurl.replace("http://","https://")),Scroller=function(e){var t=this;this.id=e.id,this.body=document.body,this.window=window,this.element=document.getElementById(e.id),this.wrapperClass=e.wrapper_class,this.ready=!0,this.disabled=!1,this.page=1,this.offset=e.offset,this.currentday=e.currentday,this.order=e.order,this.throttle=!1,this.click_handle=e.click_handle,this.google_analytics=e.google_analytics,this.history=e.history,this.origURL=window.location.href,this.handle=document.createElement("div"),this.handle.setAttribute("id","infinite-handle");var n=document.createElement("span"),i=document.createElement("button");i.textContent=text,n.appendChild(i),this.handle.appendChild(n),this.footer={el:document.getElementById("infinite-footer"),wrap:e.footer},this.checkViewportOnLoadBound=t.checkViewportOnLoad.bind(this),this.wpMediaelement=null,"scroll"===type?(this.window.addEventListener("scroll",function(){t.throttle=!0}),t.gotop(),setInterval(function(){t.throttle&&(t.throttle=!1,t.thefooter(),t.refresh(),t.determineURL())},250),t.ensureFilledViewport(),this.body.addEventListener("is.post-load",t.checkViewportOnLoadBound)):"click"===type&&(this.click_handle&&this.element.appendChild(this.handle),this.handle.addEventListener("click",function(){t.click_handle&&t.handle.parentNode.removeChild(t.handle),t.refresh()})),this.body.addEventListener("is.post-load",t.initializeMejs)},Scroller.prototype.getScrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},Scroller.prototype.extend=function(e){e=e||{};for(var t=1;t<arguments.length;t++)if(arguments[t])for(var n in arguments[t])Object.hasOwn(arguments[t],n)&&(e[n]=arguments[t][n]);return e},Scroller.prototype.check=function(){return this.measure(this.element,[this.wrapperClass]).bottom<2*this.window.innerHeight},Scroller.prototype.render=function(e){var t=Array.prototype.slice.call(e.fragment.childNodes);for(this.body.classList.add("infinity-success");t.length>0;){var n=t.shift();this.element.appendChild(n)}this.trigger(this.body,"is.post-load",{jqueryEventName:"post-load",data:e}),this.ready=!0},Scroller.prototype.query=function(){return{page:this.page+this.offset,currentday:this.currentday,order:this.order,scripts:window.infiniteScroll.settings.scripts,styles:window.infiniteScroll.settings.styles,query_args:window.infiniteScroll.settings.query_args,query_before:window.infiniteScroll.settings.query_before,last_post_date:window.infiniteScroll.settings.last_post_date}},Scroller.prototype.animate=function(e,t){var n=performance.now();requestAnimationFrame(function i(o){var r=Math.min(1,(o-n)/t);e(r),r<1&&requestAnimationFrame(i)})},Scroller.prototype.gotop=function(){var e=document.getElementById("infinity-blog-title"),t=this;e&&(e.setAttribute("title",totop),e.addEventListener("click",function(e){var n=t.
129window.pageYOffset;e.preventDefault(),t.animate(function(e){var t=n-n*e;document.documentElement.scrollTop=document.body.scrollTop=t},200)}))},Scroller.prototype.thefooter=function(){var e,t,n,i,o=this;if(this.footer&&this.footer.el){if("string"==typeof this.footer.wrap){try{t=(t=document.getElementById(this.footer.wrap).getBoundingClientRect()).width}catch{t=0}t>479&&(e=this.footer.el.querySelector(".container"))&&(e.style.width=t+"px")}n=parseInt(o.footer.el.style.bottom||-50,10),i=this.window.pageYOffset>=350?0:-50,n!==i&&o.animate(function(e){var t=n+(i-n)*e;o.footer.el.style.bottom=t+"px",1===e&&(n=i)},200)}},Scroller.prototype.urlEncodeJSON=function(e,t){var n,i,o=[];for(var r in e)n=encodeURIComponent(r),i=t?t+"["+n+"]":n,"object"==typeof e[r]?!Array.isArray(e[r])||e[r].length>0?o.push(this.urlEncodeJSON(e[r],i)):o.push(i+"[]="):o.push(i+"="+encodeURIComponent(e[r]));return o.join("&")},Scroller.prototype.refresh=function(){var self=this,query,xhr,loader,customized;if(!this.disabled&&this.ready&&this.check())return this.ready=!1,this.click_handle&&(loader||(document.getElementById("infinite-aria").textContent=loading_text,loader=document.createElement("div"),loader.classList.add("infinite-loader"),loader.setAttribute("role","progress"),loader.innerHTML='<svg class="jetpack-spinner infinite-loader-spinner spinner" width="28" height="28" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><circle cx="50" cy="50" r="46" fill="none" stroke="#ddd" stroke-width="8"/><path d="M 50 4 A 46 46 0 0 1 96 50" fill="none" stroke="currentColor" stroke-width="8" stroke-linecap="round"><animateTransform attributeName="transform" type="rotate" dur="1.4s" from="0 50 50" to="360 50 50" repeatCount="indefinite"/></path></svg>'),this.element.appendChild(loader)),query=self.extend({action:"infinite_scroll"},this.query()),"undefined"!=typeof wp&&wp.customize&&wp.customize.settings.theme&&(customized={},query.wp_customize="on",query.theme=wp.customize.settings.theme.stylesheet,wp.customize.each(function(e){e._dirty&&(customized[e.id]=e())}),query.customized=JSON.stringify(customized),query.nonce=wp.customize.settings.nonce.preview),xhr=new XMLHttpRequest,xhr.open("POST",infiniteScroll.settings.ajaxurl,!0),xhr.setRequestHeader("X-Requested-With","XMLHttpRequest"),xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),xhr.send(self.urlEncodeJSON(query)),xhr.onerror=function(){self.click_handle&&loader.parentNode&&loader.parentNode.removeChild(loader),self.ready=!0},xhr.onload=function(){var response=JSON.parse(xhr.responseText),httpCheck=xhr.status>=200&&xhr.status<300,responseCheck=void 0!==response.html;if(response&&httpCheck&&responseCheck){if(self.click_handle&&loader.parentNode&&loader.parentNode.removeChild(loader),response.scripts&&Array.isArray(response.scripts)&&response.scripts.forEach(function(e){var t=e.footer?"body":"head";window.infiniteScroll.settings.scripts.push(e.handle),e.extra_data&&self.appendInlineScript(e.extra_data,t),e.before_handle&&self.appendInlineScript(e.before_handle,t);var n=document.createElement("script");n.type="text/javascript",n.src=e.src,n.id=e.handle,n.async=!1,e.after_handle&&(n.onload=function(){self.appendInlineScript(e.after_handle,t)}),"wp-mediaelement"===e.handle&&self.body.removeEventListener("is.post-load",self.initializeMejs),"wp-mediaelement"===e.handle&&"undefined"==typeof mejs?(self.wpMediaelement={},self.wpMediaelement.tag=n,self.wpMediaelement.element=t,setTimeout(self.maybeLoadMejs.bind(self),250)):document.getElementsByTagName(t)[0].appendChild(n)}),response.styles&&Array.isArray(response.styles)&&response.styles.forEach(function(item){window.infiniteScroll.settings.styles.push(item.handle);var style=document.createElement("link");style.rel="stylesheet",style.href=item.src,style.id=item.handle+"-css",!item.conditional||isIE&&eval(item.conditional.replace(/%ver/g,IEVersion))||(style=!1),style&&document.getElementsByTagName("head")[0].appendChild(style)}),response.fragment=document.createElement("div"),response.fragment.innerHTML=response.html,self.page++,stats&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?"+stats+"&post=0&baba="+Math.random()),"object"==typeof response.postflair&&"object"==typeof WPCOM_sharing_counts&&(WPCOM_sharing_counts=self.extend(WPCOM_sharing_counts,response.postflair)),self.render.call(self,response),"click"===type?(infiniteScroll.
129settings.wrapper&&document.querySelector("#infinite-view-"+(self.page+self.offset-1)+" a:first-of-type").focus({preventScroll:!0}),response.lastbatch?self.click_handle?(self.body.classList.add("infinity-end"),self.body.classList.remove("infinity-success")):self.trigger(this.body,"infinite-scroll-posts-end"):self.click_handle?self.element.appendChild(self.handle):self.trigger(this.body,"infinite-scroll-posts-more")):response.lastbatch&&(self.disabled=!0,self.body.classList.add("infinity-end"),self.body.classList.remove("infinity-success")),response.currentday&&(self.currentday=response.currentday),self.google_analytics){var ga_url=self.history.path.replace(/%d/,self.page);"object"==typeof _gaq&&_gaq.push(["_trackPageview",ga_url]),"function"==typeof ga&&ga("send","pageview",ga_url)}}else self.click_handle&&loader.parentNode&&loader.parentNode.removeChild(loader)},xhr},Scroller.prototype.appendInlineScript=function(e,t){var n=document.createElement("script"),i=document.createTextNode("//<![CDATA[ \n"+e+"\n//]]>");n.type="text/javascript",n.appendChild(i),document.getElementsByTagName(t)[0].appendChild(n)},Scroller.prototype.maybeLoadMejs=function(){null!==this.wpMediaelement&&("undefined"==typeof mejs?setTimeout(this.maybeLoadMejs.bind(this),250):(document.getElementsByTagName(this.wpMediaelement.element)[0].appendChild(this.wpMediaelement.tag),this.wpMediaelement=null,this.body.addEventListener("is.post-load",this.initializeMejs)))},Scroller.prototype.initializeMejs=function(e){if(e.detail&&e.detail.html&&(-1!==e.detail.html.indexOf("wp-audio-shortcode")||-1!==e.detail.html.indexOf("wp-video-shortcode"))&&"undefined"!=typeof mejs){var t,n={};"undefined"!=typeof _wpmejsSettings&&(n.pluginPath=_wpmejsSettings.pluginPath),n.success=function(e){var t=e.attributes.autoplay&&"false"!==e.attributes.autoplay;"flash"===e.pluginType&&t&&e.addEventListener("canplay",function(){e.play()},!1)},t=document.querySelectorAll(".wp-audio-shortcode, .wp-video-shortcode"),t=(t=Array.prototype.slice.call(t)).filter(function(e){for(;e.parentNode;){if(e.classList.contains("mejs-container"))return!1;e=e.parentNode}return!0});for(var i=0;i<t.length;i++)new MediaElementPlayer(t[i],n)}},Scroller.prototype.measure=function(e,t){t=t||[];for(var n,i,o,r=Array.prototype.slice.call(e.children),s=Number.MAX_VALUE,l=0;r.length>0;){for(n=r.shift(),o=0;o<t.length;o++)if(n.classList.contains(t[o])){r=r.concat(Array.prototype.slice.call(n.children));break}i=n.getBoundingClientRect(),s=Math.min(s,i.top),l=Math.max(l,i.bottom)}var a=Math.round(window.innerHeight/2),d=s<=a&&l>=a;return{top:s,bottom:l,height:l-s,factor:(Math.min(l,a)-Math.max(s,0))/a,isActive:d}},Scroller.prototype.ensureFilledViewport=function(){var e=this,t=e.window.innerHeight,n=e.measure(e.element,[e.wrapperClass]);e.body.removeEventListener("is.post-load",e.checkViewportOnLoadBound),0!==n.bottom&&n.bottom<t&&(e.ready=!0,e.refresh())},Scroller.prototype.checkViewportOnLoad=function(){this.ensureFilledViewport()};var previousFullScrenState=fullscreenState();Scroller.prototype.determineURL=function(){var e,t=this,n=-1,i=fullscreenState(),o=0;if(previousFullScrenState^i)previousFullScrenState=i;else{previousFullScrenState=i,e=document.querySelectorAll("."+t.wrapperClass);for(var r=0;r<e.length;r++){var s=t.measure(e[r]);if(s.isActive){n=parseInt(e[r].dataset.pageNum,10);break}s.factor>o&&(n=parseInt(e[r].dataset.pageNum,10),o=s.factor)}t.updateURL(n)}},Scroller.prototype.updateURL=function(e){if(window.history.pushState){var t=this,n=t.origURL;-1!==e&&(n=window.location.protocol+"//"+t.history.host+t.history.path.replace(/%d/,e)+t.history.parameters),window.location.href!==n&&history.pushState(null,null,n)}},Scroller.prototype.pause=function(){this.disabled=!0},Scroller.prototype.resume=function(){this.disabled=!1},Scroller.prototype.trigger=function(e,t,n){var i;(n=n||{}).jqueryEventName&&"undefined"!=typeof jQuery&&jQuery(e).trigger(n.jqueryEventName,n.data||null);try{i=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:n.data||null})}catch{(i=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!0,n.data||null)}e.dispatchEvent(i)};var jetpackInfinityModule=function(){if("object"==typeof infiniteScroll&&(infiniteScroll.
129settings.body_class.split(" ").forEach(function(e){e&&document.body.classList.add(e)}),stats=infiniteScroll.settings.stats,type=infiniteScroll.settings.type,text=infiniteScroll.settings.text,totop=infiniteScroll.settings.totop,loading_text=infiniteScroll.settings.loading_text,infiniteScroll.scroller=new Scroller(infiniteScroll.settings),"click"===type)){var e=null;window.addEventListener("scroll",function(){e||(e=setTimeout(function(){infiniteScroll.scroller.determineURL(),e=null},250))})}};"interactive"===document.readyState||"complete"===document.readyState?jetpackInfinityModule():document.addEventListener("DOMContentLoaded",jetpackInfinityModule)})()})();; 130/* global FB, jpfbembed */ 131( function ( window ) { 132 var facebookEmbed = function () { 133 var fbroot, src, newScript, firstScript; 134 135 if ( 'undefined' !== typeof FB && FB.XFBML ) { 136 FB.XFBML.parse(); 137 } else { 138 fbroot = document.createElement( 'div' ); 139 fbroot.id = 'fb-root'; 140 document.getElementsByTagName( 'body' )[ 0 ].appendChild( fbroot ); 141 142 src = '//connect.facebook.net/' + jpfbembed.locale + '/sdk.js#xfbml=1'; 143 if ( jpfbembed.appid ) { 144 src += '&appId=' + jpfbembed.appid; 145 } 146 src += '&version=v2.3'; 147 148 newScript = document.createElement( 'script' ); 149 newScript.setAttribute( 'src', src ); 150 firstScript = document.querySelector( 'script' ); 151 firstScript.parentNode.insertBefore( newScript, firstScript ); 152 } 153 }; 154 155 window.fbAsyncInit = function () { 156 FB.init( { 157 appId: jpfbembed.appid, 158 version: 'v2.3', 159 } ); 160 161 FB.XFBML.parse(); 162 }; 163 164 if ( 'undefined' !== typeof infiniteScroll ) { 165 document.body.addEventListener( 'post-load', facebookEmbed ); 166 } 167 168 facebookEmbed(); 169} )( window ); 170; 171!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?e.replace(/{(\d+)}/g,function(e,r){return void 0!==t[r]?t[r]:e}):e},getBackgroundImage:function(e){var t=document.createElement("canvas"),r=t.getContext&&t.getContext("2d");if(e){r.filter="blur(20px) ",r.drawImage(e,0,0);var o=t.toDataURL("image/png");return t=null,o}}},r=function(){function e(e,t){return Element.prototype.matches?e.matches(t):Element.prototype.msMatchesSelector?e.msMatchesSelector(t):void 0}function r(e,t,r,o){if(!e)return o();e.jpCarouselCancelFade&&e.jpCarouselCancelFade(),e.classList.remove("jp-carousel-fade"),e.style.removeProperty("display"),e.style.opacity=t,e.style.pointerEvents="none",e.offsetWidth,e.classList.add("jp-carousel-fade"),e.style.opacity=r;var a=1e3*parseFloat(getComputedStyle(e).transitionDuration)||0,n=setTimeout(function(){e.jpCarouselCancelFade=null,e.style.removeProperty("pointer-events"),o()},a+50);e.jpCarouselCancelFade=function(){clearTimeout(n),e.jpCarouselCancelFade=null}}return{closest:function(t,r){if(t.closest)return t.closest(r);var o=t;do{if(e(o,r))return o;o=o.parentElement||o.parentNode}while(null!==o&&1===o.nodeType);return null},matches:e,hide:function(e){e&&(e.style.display="none")},show:function(e){e&&(e.style.display="block")},fadeIn:function(e,o){r(e,0,1,o=o||t.noop)},fadeOut:function(e,o){o=o||t.noop,r(e,1,0,function(){e&&(e.style.display="none"),o()})},scrollToElement:function(e,t,r){if(!e||!t)return r?r():void 0;var o=t.querySelector(".jp-carousel-info-extra");o&&(o.style.minHeight=window.innerHeight-64+"px");var a=!0,n=Date.now(),i=t.scrollTop,l=Math.max(0,e.offsetTop-Math.max(0,window.innerHeight-function(e){var t=e.querySelector(".jp-carousel-info-footer"),r=e.querySelector(".jp-carousel-info-extra"),o=e.querySelector(".jp-carousel-info-content-wrapper");if(t&&r&&o){var a=window.getComputedStyle(r),n=parseInt(a.paddingTop,10)+parseInt(a.paddingBottom,10);return n=isNaN(n)?0:n,o.offsetHeight+t.offsetHeight+n}return 0}(t)))-t.scrollTop;function s(){a=!1}l=Math.min(l,t.scrollHeight-window.innerHeight),t.addEventListener("wheel",s),function e(){var c,u=Date.now(),d=(c=(u-n)/300)<.5?2*c*c:1-Math.pow(-2*c+2,2)/2,m=(d=d>1?1:d)*l;if(t.scrollTop=i+m,u<=n+300&&a)return requestAnimationFrame(e);r&&r(),o&&(o.style.minHeight=""),a=!1,t.removeEventListener("wheel",s)}()},getJSONAttribute:function(e,t){if(e&&e.hasAttribute(t))try{return JSON.parse(e.getAttribute(t))}catch{return}},convertToPlainText:function(e){var t=document.createElement("div");return t.textContent=e,t.innerHTML},stripHTML:function(e){var t=document.createElement("div");return t.innerHTML=e.replace(/<[^>]*>?/gm,""),t.textContent},emitEvent:function(e,t,r){var o;try{o=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:r||null})}catch{(o=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!0,r||null)}e.dispatchEvent(o)},isTouch:function(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch},prefersReducedMotion:function(){return!!window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}}}();function o(){var o,a,n,i,l={},s={},c="",u=!1,d="div.gallery, div.tiled-gallery, ul.wp-block-gallery, ul.blocks-gallery-grid, figure.wp-block-gallery.has-nested-images, div.wp-block-jetpack-tiled-gallery, a.single-image-gallery",m=".gallery-item, .tiled-gallery-item, .blocks-gallery-item, .tiled-gallery__item",p=m+", .wp-block-image",g={},h="undefined"!=typeof wpcom&&wpcom.carousel&&wpcom.carousel.stat?wpcom.carousel.stat:t.noop,f="undefined"!=typeof wpcom&&wpcom.carousel&&wpcom.carousel.pageview?wpcom.carousel.pageview:t.noop;function v(t){if(!u)switch(t.which){case 38:t.preventDefault(),g.overlay.scrollTop-=100;break;case 40:t.preventDefault(),g.overlay.scrollTop+=100;break;case 39:t.preventDefault(),e.slideNext();break;case 37:case 8:t.preventDefault(),e.slidePrev();break;case 27:t.preventDefault(),k()}}function y(){u=!0}function w(){u=!1}function S(e){e.role="button",e.tabIndex=0,e.ariaLabel=jetpackCarouselStrings.image_label}function j(){g.overlay||(g.overlay=document.querySelector(".jp-carousel-overlay"),g.container=g.overlay.querySelector(".jp-carousel-wrap"),g.gallery=g.container.querySelector(".jp-carousel"),g.info=g.overlay.querySelector(".jp-carousel-info"),g.caption=g.
171info.querySelector(".jp-carousel-caption"),g.commentField=g.overlay.querySelector("#jp-carousel-comment-form-comment-field"),g.emailField=g.overlay.querySelector("#jp-carousel-comment-form-email-field"),g.authorField=g.overlay.querySelector("#jp-carousel-comment-form-author-field"),g.urlField=g.overlay.querySelector("#jp-carousel-comment-form-url-field"),window.innerWidth<=760&&Math.round(window.innerWidth/760*110)<40&&r.isTouch(),[g.commentField,g.emailField,g.authorField,g.urlField].forEach(function(e){e&&(e.addEventListener("focus",y),e.addEventListener("blur",w))}),g.overlay.addEventListener("click",function(e){var t,o,a=e.target,n=!!r.closest(a,".jp-carousel-close-hint"),i=!!window.matchMedia("(max-device-width: 760px)").matches;a===g.overlay?i||k():n?k():a.classList.contains("jp-carousel-image-download")?h("download_original_click"):a.classList.contains("jp-carousel-comment-login")?(t=g.currentSlide,o=t?t.attrs.attachmentId:"0",window.location.href=jetpackCarouselStrings.login_url+"%23jp-carousel-"+o):r.closest(a,"#jp-carousel-comment-form-container")?function(e){var t=e.target,o=r.getJSONAttribute(g.container,"data-carousel-extra")||{},a=g.currentSlide.attrs.attachmentId,n=document.querySelector("#jp-carousel-comment-form-submit-and-info-wrapper"),i=document.querySelector("#jp-carousel-comment-form-spinner"),s=document.querySelector("#jp-carousel-comment-form-button-submit"),c=document.querySelector("#jp-carousel-comment-form");if(g.commentField&&g.commentField.getAttribute("id")===t.getAttribute("id"))y(),r.show(n);else if(r.matches(t,'input[type="submit"]')){e.preventDefault(),e.stopPropagation(),r.show(i),c.classList.add("jp-carousel-is-disabled");var u={action:"post_attachment_comment",nonce:jetpackCarouselStrings.nonce,blog_id:o.blog_id,id:a,comment:g.commentField.value};if(!u.comment.length)return void b(jetpackCarouselStrings.no_comment_text,!1);if(1!==Number(jetpackCarouselStrings.is_logged_in)&&(u.email=g.emailField.value,u.author=g.authorField.value,u.url=g.urlField.value,1===Number(jetpackCarouselStrings.require_name_email))){if(!u.email.length||!u.email.match("@"))return void b(jetpackCarouselStrings.no_comment_email,!1);if(!u.author.length)return void b(jetpackCarouselStrings.no_comment_author,!1)}var d=new XMLHttpRequest;d.open("POST",jetpackCarouselStrings.ajaxurl,!0),d.setRequestHeader("X-Requested-With","XMLHttpRequest"),d.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),d.onreadystatechange=function(){if(this.readyState===XMLHttpRequest.DONE&&this.status>=200&&this.status<300){var e;try{e=JSON.parse(this.response)}catch{return void b(jetpackCarouselStrings.comment_post_error,!1)}if("approved"===e.comment_status){b(jetpackCarouselStrings.comment_approved,!0);var t=function(e){for(var t=0;t<g.slides.length;t++)if(g.slides[t].attrs.attachmentId===e)return g.slides[t];return null}(a);t&&(t.attrs.commentsCount=(parseInt(t.attrs.commentsCount,10)||0)+1)}else"unapproved"===e.comment_status?b(jetpackCarouselStrings.comment_unapproved,!0):b(jetpackCarouselStrings.comment_post_error,!1);W(),delete l[a],_(a,void 0,!0),s.value=jetpackCarouselStrings.post_comment,r.hide(i),c.classList.remove("jp-carousel-is-disabled")}else b(jetpackCarouselStrings.comment_post_error,!1)};var m=[];for(var p in u)if(p){var h=encodeURIComponent(p)+"="+encodeURIComponent(u[p]);m.push(h.replace(/%20/g,"+"))}var f=m.join("&");d.send(f)}}(e):(r.closest(a,".jp-carousel-photo-icons-container")||a.classList.contains("jp-carousel-photo-title"))&&function(e){e.preventDefault();var t=e.target,o=g.info.querySelector(".jp-carousel-info-extra"),a=g.info.querySelector(".jp-carousel-image-meta"),n=g.info.querySelector(".jp-carousel-comments-wrapper"),i=g.info.querySelector(".jp-carousel-icon-info"),s=g.info.querySelector(".jp-carousel-icon-comments");function c(){s&&s.classList.remove("jp-carousel-selected"),i.classList.toggle("jp-carousel-selected"),n&&n.classList.remove("jp-carousel-show"),a&&(a.classList.toggle("jp-carousel-show"),a.classList.contains("jp-carousel-show")?o.classList.add("jp-carousel-show"):o.classList.remove("jp-carousel-show"))}function u(){if(i&&i.classList.remove("jp-carousel-selected"),s.classList.toggle("jp-carousel-selected"),a&&a.classList.remove("jp-carousel-show"),n)if(n.classList.toggle("jp-carousel-show"),n.classList.contains("jp-carousel-show")){o.classList.add("jp-carousel-show");var e=g.currentSlide;if(e){var t=l[e.attrs.attachmentId];t?t.hasMore&&T(e.attrs.attachmentId,t.nextOffset):_(e.attrs.attachmentId)}}else o.classList.remove("jp-carousel-show")}(r.closest(t,".jp-carousel-icon-info")||t.classList.contains("jp-carousel-photo-title"))&&(a&&a.classList.contains("jp-carousel-show")?r.scrollToElement(g.overlay,g.overlay,c):(c(),r.scrollToElement(g.info,g.overlay))),r.closest(t,".jp-carousel-icon-comments")&&(n&&n.classList.contains("jp-carousel-show")?r.scrollToElement(g.overlay,g.overlay,u):(u(),r.scrollToElement(g.info,g.overlay)))}(e)}),window.addEventListener("keydown",v),g.overlay.addEventListener("jp_carousel.afterOpen",function(){w(),g.slides.length<=1||(g.slides.length<=5?r.show(g.info.querySelector(".jp-swiper-pagination")):r.show(g.info.querySelector(".jp-carousel-pagination")))}),g.overlay.addEventListener("jp_carousel.beforeClose",function(){y(),document.documentElement.style.removeProperty("height"),e&&e.enable(),r.hide(g.info.querySelector(".jp-swiper-pagination")),r.hide(g.info.querySelector(".jp-carousel-pagination"))}),g.overlay.addEventListener("jp_carousel.afterClose",function(){window.history.pushState?history.pushState("",document.title,window.location.pathname+window.location.search):window.location.href="",c="",g.isOpen=!1}),g.overlay.addEventListener("touchstart",function(e){e.touches.length>1&&e.preventDefault()}))}function b(e,t){var o=g.overlay.querySelector("#jp-carousel-comment-post-results"),a="jp-carousel-comment-post-"+(t?"success":"error");o.innerHTML='<span class="'+a+'">'+e+"</span>",r.hide(g.overlay.querySelector("#jp-carousel-comment-form-spinner")),g.overlay.querySelector("#jp-carousel-comment-form").classList.remove("jp-carousel-is-disabled"),r.show(o)}function L(){var e=document.querySelectorAll("a img[data-attachment-id]");Array.prototype.forEach.call(e,function(e){var t=e.parentElement,o=t.parentElement;if(!o.classList.contains("gallery-icon")&&!r.closest(o,m)&&t.hasAttribute("href")){var a=!1;t.getAttribute("href").split("?")[0]===e.getAttribute("data-orig-file").split("?")[0]&&1===Number(jetpackCarouselStrings.single_image_gallery_media_file)&&(a=!0),t.getAttribute("href")===e.getAttribute("data-permalink")&&(a=!0),a&&(S(e),t.classList.add("single-image-gallery"),t.setAttribute("data-carousel-extra",JSON.stringify({blog_id:Number(jetpackCarouselStrings.blog_id)})))}})}function x(t,r){g.isOpen?(C(r),e.slideTo(r+1)):z(t,{startIndex:r})}function C(e){(!e||e<0||e>g.slides.length)&&(e=0),g.currentSlide=g.slides[e];var a,n,i=g.currentSlide,s=i.attrs.attachmentId;M(g.slides[e]),function(e){var t=[],r=g.slides.length;if(r>1){var o=e>0?e-1:r-1;t.push(o);var a=e<r-1?e+1:0;t.push(a)}t.forEach(function(e){var t=g.slides[e];t&&(M(t),1!==Number(jetpackCarouselStrings.display_background_image)||t.backgroundImage||F(t))})}(e),1!==Number(jetpackCarouselStrings.display_background_image)||g.slides[e].backgroundImage||F(g.slides[e]),r.hide(g.caption),function(e){var t,o,a,n,i,l,s;if(n=g.overlay.querySelector(".jp-carousel-photo-caption"),i=g.overlay.querySelector(".jp-carousel-caption"),l=g.overlay.querySelector(".jp-carousel-photo-title"),s=g.overlay.querySelector(".jp-carousel-photo-description"),r.hide(n),r.hide(i),r.hide(l),r.hide(s),t=A(e.caption)||"",o=A(e.title)||"",a=A(e.desc)||"",(t||o||a)&&(t&&(n.innerHTML=t,i.innerHTML=t,r.show(n),r.show(i)),r.stripHTML(t)===r.stripHTML(o)&&(o=""),r.stripHTML(t)===r.stripHTML(a)&&(a=""),r.stripHTML(o)===r.stripHTML(a)&&(a=""),a&&(s.innerHTML=a,r.show(s),o||t||(n.textContent=r.stripHTML(a),r.show(n))),o)){var c=r.stripHTML(o);l.textContent=c,t||(n.textContent=c,i.textContent=c,r.show(n)),r.show(l)}}
171({caption:i.attrs.caption,title:i.attrs.title,desc:i.attrs.desc}),function(e){if(!e||1!==Number(jetpackCarouselStrings.display_exif))return!1;var t=g.info.querySelector(".jp-carousel-image-meta");if(!t)return!1;var r="";for(var o in e){var a=e[o],n=jetpackCarouselStrings.meta_data||[];if(0!==parseFloat(a)&&a.length&&-1!==n.indexOf(o)){switch(o){case"focal_length":a+="mm";break;case"shutter_speed":a=E(a);break;case"aperture":a="f/"+a}r+="<li><h5>"+jetpackCarouselStrings[o]+"</h5>"+a+"</li>"}}var i=t.querySelector("ul.jp-carousel-image-exif");if(""!==r){if(!i){(i=document.createElement("ul")).className="jp-carousel-image-exif";var l=t.querySelector(".jp-carousel-title-and-caption");l&&l.nextSibling?t.insertBefore(i,l.nextSibling):t.insertBefore(i,t.firstChild)}i.innerHTML=r,i.style.removeProperty("display")}else i&&i.parentNode.removeChild(i)}(g.slides[e].attrs.imageMeta),function(e){if(!e)return!1;var r,o=[e.attrs.origWidth,e.attrs.origHeight],a=document.createElement("a");a.href=e.attrs.src.replace(/\?.+$/,""),r=null!==a.hostname.match(/^i[\d]{1}\.wp\.com$/i)?a.href:e.attrs.origFile.replace(/\?.+$/,"");var n=g.info.querySelector(".jp-carousel-download-text"),i=g.info.querySelector(".jp-carousel-image-download");n.innerHTML=t.applyReplacements(jetpackCarouselStrings.download_original,o),i.setAttribute("href",r),i.style.removeProperty("display")}(i),1===Number(jetpackCarouselStrings.display_comments)&&(a=g.slides[e].attrs.commentsOpened,n=g.info.querySelector("#jp-carousel-comment-form-container"),1===parseInt(a,10)?r.fadeIn(n):r.fadeOut(n),function(e){var t=e.attrs.attachmentId,a=g.info.querySelector(".jp-carousel-comments"),n=l[t];if(clearInterval(o),r.hide(g.info.querySelector("#jp-carousel-comments-loading")),n)return a.innerHTML=n.html,H(n.count),r.show(a),void(n.hasMore&&I()&&T(t,n.nextOffset));a.innerHTML="",r.hide(a),H(parseInt(e.attrs.commentsCount,10)||0),I()&&_(t)}(i),r.hide(g.info.querySelector("#jp-carousel-comment-post-results")));var u=g.info.querySelector(".jp-carousel-pagination");if(u&&g.slides.length>5){var d=e+1;u.innerHTML="<span>"+d+" / "+g.slides.length+"</span>"}jetpackCarouselStrings.stats&&g.isOpen&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?"+jetpackCarouselStrings.stats+"&post="+encodeURIComponent(s)+"&rand="+Math.random()),g.isOpen&&f(s),c="#jp-carousel-"+s,window.location.hash=c}function k(){document.body.style.overflow=a,document.documentElement.style.overflow=n,W(),y(),r.emitEvent(g.overlay,"jp_carousel.beforeClose"),window.scrollTo(window.scrollX||window.pageXOffset||0,i||0),g.isOpen=!1,e.destroy(),g.slides=[],l={},s={},g.currentSlide=void 0,g.gallery.innerHTML="",r.fadeOut(g.overlay,function(){r.emitEvent(g.overlay,"jp_carousel.afterClose")})}function q(e){if("object"!=typeof e&&(e={}),void 0===e.origFile)return"";if(void 0===e.origWidth||void 0===e.maxWidth)return e.origFile;if(!e.largeFile)return e.origFile;var t=document.createElement("a");t.href=e.largeFile;var r=/^i[0-2]\.wp\.com$/i.test(t.hostname),o=function(e,t,r){var o,a=r?e.replace(/.*=([\d]+%2C[\d]+).*$/,"$1"):e.replace(/.*-([\d]+x[\d]+)\..+$/,"$1");return"9999"===(o=a!==e?r?a.split("%2C"):a.split("x"):[t,0])[0]&&(o[0]="0"),"9999"===o[1]&&(o[1]="0"),o}(e.largeFile,e.origWidth,r),a=parseInt(o[0],10),n=parseInt(o[1],10);e.origMaxWidth=e.maxWidth,e.origMaxHeight=e.maxHeight,void 0!==window.devicePixelRatio&&window.devicePixelRatio>1&&(e.maxWidth=e.maxWidth*window.devicePixelRatio,e.maxHeight=e.maxHeight*window.devicePixelRatio);var i=e.zoomHeadroom||1;if(i>1&&(e.maxWidth=e.maxWidth*i,e.maxHeight=e.maxHeight*i),a>=e.maxWidth||n>=e.maxHeight)return e.largeFile;if(r){if(-1===e.largeFile.lastIndexOf("?"))return e.largeFile;var l=function(e){var t;try{t=new URL(e)}catch(t){return e}var r=["quality","ssl","filter","brightness","contrast","colorize","smooth"],o=Array.from(t.searchParams.entries());return t.search="",o.forEach(([e,o])=>{r.includes(e)&&t.searchParams.append(e,o)}),t}(e.largeFile);return(e.origWidth>e.maxWidth||e.origHeight>e.maxHeight)&&(e.origMaxWidth=e.maxWidth,e.origMaxHeight=e.maxHeight,l.searchParams.set("fit",e.origMaxWidth+","+e.origMaxHeight)),l.toString()}return e.origFile}function E(e){return e>=1?Math.round(10*e)/10+"s":"1/"+Math.round(1/e)+"s"}
171function A(e){return!e.match(" ")&&e.match("_")?"":e}function I(){var e=g.info.querySelector(".jp-carousel-comments-wrapper");return!!e&&e.classList.contains("jp-carousel-show")}function H(e){var t=g.info.querySelector(".jp-carousel-icon-comments .jp-carousel-has-comments-indicator");t&&(e>0?(t.innerText=e,t.classList.add("jp-carousel-show")):t.classList.remove("jp-carousel-show"))}function T(e,t){clearInterval(o),o=setInterval(function(){g.container.scrollTop+150>window.innerHeight&&(clearInterval(o),_(e,t))},300)}function _(e,t,a){var n=void 0===t;if(clearInterval(o),e&&g.currentSlide&&g.currentSlide.attrs.attachmentId===e&&(!s[e]||a)){(!t||t<1)&&(t=0);var i=g.info.querySelector(".jp-carousel-comments"),c=g.info.querySelector("#jp-carousel-comments-loading");r.show(c),n&&(r.hide(i),i.innerHTML="");var u=new XMLHttpRequest;s[e]=u;var d=function(){return s[e]===u},m=jetpackCarouselStrings.ajaxurl+"?action=get_attachment_comments&nonce="+jetpackCarouselStrings.nonce+"&id="+e+"&offset="+t;u.open("GET",m),u.setRequestHeader("X-Requested-With","XMLHttpRequest");var p=function(){r.fadeIn(i),r.fadeOut(c)};u.onload=function(){if(d()&&(delete s[e],g.currentSlide&&g.currentSlide.attrs.attachmentId===e)){var o,a=u.status>=200&&u.status<300;try{o=JSON.parse(u.responseText)}catch{}if(a&&o&&Array.isArray(o)){n&&(i.innerHTML="");for(var m=0;m<o.length;m++){var h=o[m];if(!i.querySelector("#jp-carousel-comment-"+h.id)){var f=document.createElement("div");f.classList.add("jp-carousel-comment"),f.setAttribute("id","jp-carousel-comment-"+h.id),f.innerHTML='<div class="comment-gravatar">'+h.gravatar_markup+'</div><div class="comment-content"><div class="comment-author">'+h.author_markup+'</div><div class="comment-date">'+h.date_gmt+"</div>"+h.content+"</div>",i.appendChild(f)}}var v=o.length>=10,y=t+10;v&&T(e,y);var w=i.querySelectorAll(".jp-carousel-comment").length,S=Math.max(parseInt(g.currentSlide.attrs.commentsCount,10)||0,w);o.length>0&&(r.show(i),H(S)),l[e]={html:i.innerHTML,count:S,hasMore:v,nextOffset:y},r.hide(c)}else p()}},u.onerror=function(){d()&&(delete s[e],g.currentSlide&&g.currentSlide.attrs.attachmentId===e&&p())},u.send()}}function M(e){var t=e.attrs,r=e.el.querySelector("img");if(!r.hasAttribute("data-loaded"))if(r.setAttribute("itemprop","image"),r.setAttribute("data-loaded",1),t.previewImage&&t.previewImage!==t.src){r.src=t.previewImage,r.style.filter="blur(8px)";var o=new window.Image;o.addEventListener("load",function(){r.hasAttribute("data-zoom-loaded")||(r.src=t.src),r.style.filter=""},{once:!0}),o.addEventListener("error",function(){r.style.filter=""},{once:!0}),o.src=t.src}else r.src=t.src}function F(e){var t=e.attrs.originalElement;if(t)if(t.complete&&0!==t.naturalHeight)O(e,t);else{var r=function(){t.removeEventListener("error",o),O(e,t)},o=function(){t.removeEventListener("load",r)};t.addEventListener("load",r,{once:!0}),t.addEventListener("error",o,{once:!0})}}function O(e,r){var o=t.getBackgroundImage(r);o&&(e.backgroundImage=o,e.el.style.backgroundImage="url("+o+")",e.el.style.backgroundSize="cover",e.el.style.backgroundPosition="center")}function W(){g.commentField&&(g.commentField.value="")}function N(e,o){g.slides=[];var a={width:window.innerWidth,height:window.innerHeight-64};0!==o&&null!==e[o].getAttribute("data-gallery-src")&&((new Image).src=e[o].getAttribute("data-gallery-src")),Array.prototype.forEach.call(e,function(e,o){var n=r.closest(e,"a"),i=e.getAttribute("data-orig-file")||e.getAttribute("src-orig"),l=e.getAttribute("data-attachment-id")||e.getAttribute("data-id")||"0",s=document.querySelector('img[data-attachment-id="'+l+'"] + figcaption');s=s?s.innerHTML:e.getAttribute("data-image-caption");var c={originalElement:e,attachmentId:l,commentsOpened:e.getAttribute("data-comments-opened")||"0",commentsCount:e.getAttribute("data-comments-count")||"0",imageMeta:r.getJSONAttribute(e,"data-image-meta")||{},title:e.getAttribute("data-image-title")||"",desc:e.getAttribute("data-image-description")||"",largeFile:e.getAttribute("data-large-file")||"",origFile:i||"",thumbSize:{width:e.naturalWidth,height:e.naturalHeight},caption:s||"",permalink:n&&n.getAttribute("href"),src:i||e.getAttribute("src")||""},u=r.closest(e,".tiled-gallery-item"),d=u&&u.querySelector(".tiled-gallery-caption"),m=d&&d.innerHTML;m&&(c.caption=m);var p=function(e){var t=e.getAttribute("data-orig-size")||"";if(t){var r=t.split(",");return{width:parseInt(r[0],10),height:parseInt(r[1],10)}}return{width:e.getAttribute("data-original-width")||e.getAttribute("width")||void 0,height:e.getAttribute("data-original-height")||e.getAttribute("height")||void 0}}(e);if(c.origWidth=p.width||c.thumbSize.width,c.origHeight=p.height||c.thumbSize.height,"undefined"!=typeof wpcom&&wpcom.carousel&&wpcom.carousel.generateImgSrc)c.src=wpcom.carousel.generateImgSrc(e,a);else{var h=function(e){return{origFile:c.src,origWidth:c.origWidth,origHeight:c.origHeight,maxWidth:a.width,maxHeight:a.height,largeFile:c.largeFile,zoomHeadroom:e}};c.zoomSrc=q(h(2)),c.src=q(h(1))}if(e.setAttribute("data-gallery-src",c.src),"0"!==c.attachmentId){c.title=t.texturize(c.title),c.desc=t.texturize(c.desc),c.caption=t.texturize(c.caption);var f=new Image,v=document.createElement("div");v.classList.add("swiper-slide"),v.setAttribute("itemprop","associatedMedia"),v.setAttribute("itemscope",""),v.setAttribute("itemtype","https://schema.org/ImageObject");var y=document.createElement("div");y.classList.add("swiper-zoom-container"),g.gallery.appendChild(v),v.appendChild(y),y.appendChild(f),v.setAttribute("data-attachment-id",c.attachmentId),v.setAttribute("data-permalink",c.permalink),v.setAttribute("data-orig-file",c.origFile),c.previewImage=e.currentSrc||e.getAttribute("src")||"";var w={el:v,attrs:c,index:o};g.slides.push(w)}})}function z(e,t){if(!window.JetpackSwiper){var o=document.querySelector("#jp-carousel-loading-overlay");r.show(o);var a=document.createElement("script");return a.id="jetpack-carousel-swiper-js",a.src=window.jetpackSwiperLibraryPath.url,a.async=!0,a.onload=function(){r.hide(o),R(e,t)},a.onerror=function(){r.hide(o)},void document.head.appendChild(a)}R(e,t)}function R(t,o){var c,u={imgSelector:".gallery-item [data-attachment-id], .tiled-gallery-item [data-attachment-id], img[data-attachment-id], img[data-id]",startIndex:0},d=r.getJSONAttribute(t,"data-carousel-extra");if(!d)return;const m=t.querySelectorAll(u.imgSelector);if(m.length&&(j(),!g.isOpen)){for(var p in g.isOpen=!0,a=getComputedStyle(document.body).overflow,document.body.style.overflow="hidden",n=getComputedStyle(document.documentElement).overflow,document.documentElement.style.overflow="hidden",i=window.scrollY||window.pageYOffset||0,g.container.setAttribute("data-carousel-extra",JSON.stringify(d)),h(["open","view_image"]),o||{})u[p]=o[p];-1===u.startIndex&&(u.startIndex=0),r.emitEvent(g.overlay,"jp_carousel.beforeOpen"),g.gallery.innerHTML="",l={},s={},g.overlay.style.opacity=1,g.overlay.style.display="block",N(m,u.startIndex),(e=new window.JetpackSwiper(".jp-carousel-swiper-container",{centeredSlides:!0,speed:r.prefersReducedMotion()?0:250,zoom:!0,loop:g.slides.length>1,enabled:g.slides.length>1,pagination:{el:".jp-swiper-pagination",clickable:!0},navigation:{nextEl:".jp-swiper-button-next",prevEl:".jp-swiper-button-prev"},initialSlide:u.startIndex,on:{init:function(){C(u.startIndex)}},preventClicks:!1,preventClicksPropagation:!1,preventInteractionOnTransition:!r.isTouch(),threshold:5})).on("slideChange",function(e){g.isOpen&&(C(e.realIndex),g.overlay.classList.remove("jp-carousel-hide-control
171s"))}),e.on("zoomChange",function(e,t){t>1&&(function(e){if(e&&e.attrs.zoomSrc&&e.attrs.zoomSrc!==e.attrs.src){var t=e.el.querySelector("img");t&&!t.hasAttribute("data-zoom-loaded")&&(t.setAttribute("data-zoom-loaded",1),t.src=e.attrs.zoomSrc)}}(g.currentSlide),g.overlay.classList.add("jp-carousel-hide-controls")),1===t&&g.overlay.classList.remove("jp-carousel-hide-controls")}),e.on("doubleTap",function(e){if(clearTimeout(c),1===e.zoom.scale)var t=setTimeout(function(){g.overlay.classList.remove("jp-carousel-hide-controls"),clearTimeout(t)},150)}),e.on("tap",function(){e.zoom.scale>1&&(c=setTimeout(function(){g.overlay.classList.toggle("jp-carousel-hide-controls")},150))}),r.fadeIn(g.overlay,function(){r.emitEvent(g.overlay,"jp_carousel.afterOpen")})}}function P(e){if("click"!==e.type){if("keydown"===e.type){const t=document.activeElement.parentElement,r=t&&t.classList.contains("tiled-gallery__item");" "!==e.key&&"Enter"!==e.key||!r||$(e)}}else $(e)}function D(e){return(e||"").split("?")[0].replace(/\/$/,"")}function J(e){"A"===e.tagName&&(e=e.querySelector("img")||e);var t=e.parentElement,o=t?t.parentElement:null,a=null;if(o&&o.classList.contains("wp-block-image")?a=t.getAttribute("href"):t&&t.classList.contains("wp-block-image")&&t.querySelector(":scope > a")&&(a=t.querySelector(":scope > a").getAttribute("href")),a){var n=D(a),i=D(e.getAttribute("data-orig-file")),l=D(e.getAttribute("data-permalink"));if(n!==i&&n!==l)return!1}return!(t&&t.classList.contains("gallery-caption")||r.matches(t,"figcaption"))}function $(e){if(window.CSS&&window.CSS.supports&&window.CSS.supports("display","grid")){var t,o=e.target,a=r.closest(o,d);if(a){if(!(t=a)||!t.getAttribute("data-carousel-extra"))return;if(!J(o))return;document.documentElement.style.height="auto",e.preventDefault(),e.stopPropagation();var n=r.closest(o,p),i=Array.prototype.indexOf.call(a.querySelectorAll(p),n);z(a,{startIndex:i})}}}document.body.addEventListener("click",P),document.body.addEventListener("keydown",P),document.querySelectorAll(m+"img").forEach(function(e){J(e)&&S(e)}),1===Number(jetpackCarouselStrings.single_image_gallery)&&(L(),document.body.addEventListener("is.post-load",function(){L()})),window.addEventListener("hashchange",function(){var e=/jp-carousel-(\d+)/;if(window.location.hash&&e.test(window.location.hash)){if(window.location.hash!==c||!g.isOpen)if(window.location.hash&&g.gallery&&!g.isOpen&&history.back)history.back();else{c=window.location.hash;for(var t=window.location.hash.match(e),r=parseInt(t[1],10),o=document.querySelectorAll(d),a=0;a<o.length;a++){for(var n,i=o[a],l=i.querySelectorAll("img"),s=0;s<l.length;s++)if(parseInt(l[s].getAttribute("data-attachment-id"),10)===r||parseInt(l[s].getAttribute("data-id"),10)===r){n=s;break}if(void 0!==n){x(i,n);break}}}}else g.isOpen&&k()}),window.location.hash&&r.emitEvent(window,"hashchange")}"loading"!==document.readyState?o():document.addEventListener("DOMContentLoaded",o)}();; 172/*! For license information please see dependencies.min.js.LICENSE.txt */ 173(()=>{var e={8395(){!function(e,t,n,s){"use strict";var i,a,r,o=(i=t.createElement("dummy").style,a="Webkit Moz O ms Khtml".split(" "),r={},function(e){if(void 0===r[e]){var t=e.charAt(0).toUpperCase()+e.substr(1),n=(e+" "+a.join(t+" ")+t).split(" ");for(var o in r[e]=null,n)if(i[n[o]]!==s){r[e]=n[o];break}}return r[e]});function c(e){if(e){var t=1+e.substr(1).search(/[A-Z]/);return"-"+e.substr(0,t).toLowerCase()+"-"+e.substr(t).toLowerCase()}}function l(e){return e?e+",":""}function u(e){return e.length>0?e:null}var f={stepSelector:".step",containerClass:"",canvasClass:"",areaClass:"",notSupportedClass:"not-supported",fullscreen:!0,animation:{transformOrigin:"top left",transitionProperty:l(c(o("transform")))+l(c(o("perspective")))+"opacity",transitionDuration:"1s",transitionDelay:"500ms",transitionTimingFunction:"ease-in-out",transformStyle:"preserve-3d"},transitionDuration:1500},p={beforeChange:1,beforeInitStep:1,initStep:1,beforeInit:1,afterInit:1,beforeDeinit:1,afterDeinit:1,applyStep:1,unapplyStep:1,setInactive:1,beforeActive:1,setActive:1,selectInitialStep:1,selectPrev:1,selectNext:1,selectHome:1,selectEnd:1,idle:1,applyTarget:1};for(var d in p)f[d]=[];function h(i){i=e.extend(!0,{},i||{});var a={},r=null;for(r in p)a[r]=e.isFunction(i[r])?[i[r]]:i[r],i[r]=[];var o=e.extend(!0,{},f,i);for(r in p)a[r]&&Array.prototype.push.apply(o[r],a[r]);var c=e(this),l=null,d=null,h={container:"",area:""},y=null,g=null,x=!1,b=null,w=!1;function S(t,n){var s=v(t),i={oldStyle:e(t).attr("style")||""},a={data:s,stepData:i};C.call(this,"beforeInitStep",e(t),a),i.delegate=s.delegate,C.call(this,"initStep",e(t),a),e(t).data("stepData",i),e(t).attr("id")||e(t).attr("id","step-"+(n+1)),C.call(this,"applyStep",e(t),a)}function I(t){var n=e(t).data("stepData");e(t).attr("style",n.oldStyle),C.call(this,"unapplyStep",e(t),{stepData:n})}function j(){x&&C.call(this,"setInactive",x,{stepData:e(x).data("stepData"),reason:"deinit"}),g.jmpressClass&&e(c).removeClass(g.jmpressClass),C.call(this,"beforeDeinit",e(this),{}),e(o.stepSelector,c).each(function(e){I.call(c,this)}),l.attr("style",h.container),o.fullscreen&&e("html").attr("style",""),d.attr("style",h.area),e(y).children().each(function(){c.append(e(this))}
173),o.fullscreen?y.remove():(y.remove(),d.remove()),C.call(this,"afterDeinit",e(this),{}),e(c).data("jmpressmethods",!1)}function C(t,n,s){s.settings=o,s.current=g,s.container=l,s.parents=n?e(n).parentsUntil(c).not(c).filter(o.stepSelector):null,s.current=g,s.jmpress=this;var i={};return e.each(o[t],function(e,t){i.value=t.call(c,n,s)||i.value}),i.value}function D(t,n){var i;if(e.isPlainObject(t)&&(i=t.substep,t=t.step),"string"==typeof t&&(t=c.find(t).first()),!t||!e(t).data("stepData"))return!1;T.call(this);var a=e(t).data("stepData"),r=!1;if(C.call(this,"beforeChange",t,{stepData:a,reason:n,cancel:function(){r=!0}}),r)return s;var l={},f=t;e(t).data("stepData").delegate&&((f=u(e(t).parentsUntil(c).filter(o.stepSelector).filter(a.delegate))||u(e(t).near(a.delegate))||u(e(t).near(a.delegate,!0))||u(e(a.delegate,c)))?a=f.data("stepData"):f=t),w&&C.call(this,"setInactive",w,{stepData:e(w).data("stepData"),delegatedFrom:x,reason:n,target:l,nextStep:f,nextSubstep:i,nextStepData:a});var p={stepData:a,delegatedFrom:t,reason:n,target:l,substep:i,prevStep:w,prevSubstep:b,prevStepData:w&&e(w).data("stepData")};return C.call(this,"beforeActive",f,p),C.call(this,"setActive",f,p),g.jmpressClass&&e(c).removeClass(g.jmpressClass),e(c).addClass(g.jmpressClass="step-"+e(f).attr("id")),g.jmpressDelegatedClass&&e(c).removeClass(g.jmpressDelegatedClass),e(c).addClass(g.jmpressDelegatedClass="delegating-step-"+e(t).attr("id")),C.call(this,"applyTarget",f,e.extend({canvas:y,area:d,beforeActive:w},p)),x=t,b=p.substep,w=f,g.idleTimeout&&clearTimeout(g.idleTimeout),g.idleTimeout=setTimeout(function(){C.call(this,"idle",f,p)},Math.max(1,o.transitionDuration-100)),f}function T(){!function t(){if("BODY"===e(l)[0].tagName)try{n.scrollTo(0,0)}catch(e){}function s(){0===e(l).scrollTop()&&0===e(l).scrollLeft()||t()}e(l).scrollTop(0),e(l).scrollLeft(0),setTimeout(s,1),setTimeout(s,10),setTimeout(s,100),setTimeout(s,200),setTimeout(s,400)}()}if(c.data("jmpressmethods",{select:D,reselect:function(e){return D({step:x,substep:b},e)},scrollFix:T,goTo:function(e){return D.call(this,e,"jump")},next:function(){return D.call(this,C.call(this,"selectNext",x,{stepData:e(x).data("stepData"),substep:b}),"next")},prev:function(){return D.call(this,C.call(this,"selectPrev",x,{stepData:e(x).data("stepData"),substep:b}),"prev")},home:function(){return D.call(this,C.call(this,"selectHome",x,{stepData:e(x).data("stepData")}),"home")},end:function(){return D.call(this,C.call(this,"selectEnd",x,{stepData:e(x).data("stepData")}),"end")},canvas:function(t){return m(y,t||{}),e(y)},container:function(){return l},settings:function(){return o},active:function(){return w&&e(w)},current:function(){return g},fire:function(t,n,s){if(p[t])return C.call(this,t,n,s);e.error("callback "+t+" is not registered.")},init:function(t){S.call(this,e(t),g.nextIdNumber++)},deinit:function(t){t?I.call(this,e(t)):j.call(this)},reapply:function(t){C.call(this,"unapplyStep",e(t),{stepData:t.data("stepData")}),C.call(this,"applyStep",e(t),{stepData:t.data("stepData")})}}),!1!=(-1===(B=navigator.userAgent.toLowerCase()).search(/(iphone)|(ipod)|(android)/)||-1!==B.search(/(chrome)/))){var B;o.notSupportedClass&&c.removeClass(o.notSupportedClass);var O=e(o.stepSelector,c);l=c,d=e("<div />"),y=e("<div />"),e(c).children().filter(O).each(function(){y.append(e(this))}),o.fullscreen&&(l=e("body"),e("html").css({overflow:"hidden"}),d=c),h.area=d.attr("style")||"",h.container=l.attr("style")||"",o.fullscreen?(l.css({height:"100%"}),c.append(y)):(l.css({position:"relative"}),d.append(y),c.append(d)),e(l).addClass(o.containerClass),e(d).addClass(o.areaClass),e(y).addClass(o.canvasClass),t.documentElement.style.height="100%",l.css({overflow:"hidden"});var P={position:"absolute",transitionDuration:"0s"};P=e.extend({},o.animation,P),m(d,P),m(d,{top:"50%",left:"50%",perspective:"1000px"}),m(y,P),g={},C.call(this,"beforeInit",null,{}),O.each(function(e){S.call(c,this,e)}),g.nextIdNumber=O.length,C.call(this,"afterInit",null,{}),D.call(this,C.call(this,"selectInitialStep","init",{})),o.initClass&&e(O).removeClass(o.initClass)}else o.notSupportedClass&&c.addClass(o.notSupportedClass)}function m(t,n){var s,i,a={};for(s in n)n.hasOwnProperty(s)&&null!==(i=o(s))&&(a[i]=n[s]);return e(t).css(a),t}function v(t){if(e(t)[0].dataset)return e.extend({},e(t)[0].dataset);var n={},s=e(t)[0].attributes;return e.each(s,function(e,t){"data-"===t.nodeName.substr(0,5)&&(n[function(e){e=e.split("-");for(var t=1;t<e.length;t++)e[t]=e[t].substr(0,1).toUpperCase()+e[t].substr(1);return e.join("")}(t.nodeName.substr(5))]=t.nodeValue)}),n}var y={init:h,initialized:function(){return!!e(this).data("jmpressmethods")},deinit:function(){},css:m,pfx:o,defaults:function(){return f}
173,register:function(t,n){e.isFunction(n)?y[t]?e.error("function "+t+" is already registered."):y[t]=n:p[t]?e.error("callback "+t+" is already registered."):(p[t]=1,f[t]=[])},dataset:v};e.fn.jmpress=function(t){function n(){var n=e(this).data("jmpressmethods");if(n&&n[t])return n[t].apply(this,Array.prototype.slice.call(arguments,1));if(y[t])return y[t].apply(this,Array.prototype.slice.call(arguments,1));if(p[t]&&n){var s=n.settings(),i=Array.prototype.slice.call(arguments,1)[0];e.isFunction(i)&&(s[t]=s[t]||[],s[t].push(i))}else{if("object"==typeof t||!t)return h.apply(this,arguments);e.error("Method "+t+" does not exist on jQuery.jmpress")}return this}var s,i=arguments;return e(this).each(function(e,t){s=n.apply(t,i)}),s},e.extend({jmpress:function(t){if(y[t])return y[t].apply(this,Array.prototype.slice.call(arguments,1));if(p[t]){var n=Array.prototype.slice.call(arguments,1)[0];e.isFunction(n)?f[t].push(n):e.error("Second parameter should be a function: $.jmpress( callbackName, callbackFunction )")}else e.error("Method "+t+" does not exist on jQuery.jmpress")}})}(jQuery,document,window),function(e){"use strict";function t(t,n,s,i){var a;return t.each(function(t,r){return(!i||!(a=n(r,s,i)))&&(e(r).is(s)?(a=r,!1):!(!i&&(a=n(r,s,i)))&&void 0)}),a}function n(s,i,a){var r=e(s).children();return a&&(r=e(r.get().reverse())),t(r,n,i,a)}function s(s,i,a){return t(e(s)[a?"prevAll":"nextAll"](),n,i,a)}e.fn.near=function(t,i){var a=[];return e(this).each(function(r,o){var c=!i&&n(o,t,i)||s(o,t,i)||function(t,n,i){var a,r=e(t).parents();return r=e(r.get()),e.each(r.get(),function(t,r){return i&&e(r).is(n)?(a=r,!1):!(a=s(r,n,i))&&void 0}),a}(o,t,i);c&&a.push(c)}),e(a)}}(jQuery,document,window),function(e){"use strict";function t(e){return Math.round(1e4*e)/1e4+""}var n={3:{transform:function(n,s){var i="translate(-50%,-50%)";e.each(s,function(e,n){var s,a=["X","Y","Z"];if("translate"===n[0])i+=" translate3d("+t(n[1]||0)+"px,"+t(n[2]||0)+"px,"+t(n[3]||0)+"px)";else if("rotate"===n[0]){var r=n[4]?[1,2,3]:[3,2,1];for(s=0;s<3;s++)i+=" rotate"+a[r[s]-1]+"("+t(n[r[s]]||0)+"deg)"}else if("scale"===n[0])for(s=0;s<3;s++)i+=" scale"+a[s]+"("+t(n[s+1]||1)+")"}),e.jmpress("css",n,e.extend({},{transform:i}))}},2:{transform:function(n,s){var i="translate(-50%,-50%)";e.each(s,function(e,n){var s=["X","Y"];if("translate"===n[0])i+=" translate("+t(n[1]||0)+"px,"+t(n[2]||0)+"px)";else if("rotate"===n[0])i+=" rotate("+t(n[3]||0)+"deg)";else if("scale"===n[0])for(var a=0;a<2;a++)i+=" scale"+s[a]+"("+t(n[a+1]||1)+")"}),e.jmpress("css",n,e.extend({},{transform:i}))}},1:{transform:function(t,n){var s={top:0,left:0};e.each(n,function(e,t){"translate"===t[0]&&(s.left=Math.round(t[1]||0)+"px",s.top=Math.round(t[2]||0)+"px")}),t.animate(s,1e3)}}},s=e.jmpress("pfx","perspective")?n[3]:e.jmpress("pfx","transform")?n[2]:n[1];e.jmpress("defaults").reasonableAnimation={},e.jmpress("initStep",function(t,n){var s=n.data,i=n.stepData,a=parseFloat;e.extend(i,{x:a(s.x)||0,y:a(s.y)||0,z:a(s.z)||0,r:a(s.r)||0,phi:a(s.phi)||0,rotate:a(s.rotate)||0,rotateX:a(s.rotateX)||0,rotateY:a(s.rotateY)||0,rotateZ:a(s.rotateZ)||0,revertRotate:!1,scale:a(s.scale)||1,scaleX:a(s.scaleX)||!1,scaleY:a(s.scaleY)||!1,scaleZ:a(s.scaleZ)||1})}),e.jmpress("afterInit",function(t,n){var s=n.settings.stepSelector,i=n.current;i.perspectiveScale=1,i.maxNestedDepth=0;for(var a=e(n.jmpress).find(s).children(s);a.length;)i.maxNestedDepth++,a=a.children(s)}),e.jmpress("applyStep",function(t,n){e.jmpress("css",e(t),{position:"absolute",transformStyle:"preserve-3d"}),n.parents.length>0&&e.jmpress("css",e(t),{top:"50%",left:"50%"});var i=n.stepData,a=[["translate",i.x||i.r*Math.sin(i.phi*Math.PI/180),i.y||-i.r*Math.cos(i.phi*Math.PI/180),i.z],["rotate",i.rotateX,i.rotateY,i.rotateZ||i.rotate,!0],["scale",i.scaleX||i.scale,i.scaleY||i.scale,i.scaleZ||i.scale]];s.transform(t,a)}),e.jmpress("setActive",function(t,n){var s=n.target,i=n.stepData,a=s.transform=[];s.perspectiveScale=1;for(var r=n.current.maxNestedDepth;r>(n.parents.length||0);r--)a.push(["scale"],["rotate"],["translate"]);a.push(["scale",1/(i.scaleX||i.scale),1/(i.scaleY||i.scale),1/i.scaleZ]),a.push(["rotate",-i.rotateX,-i.rotateY,-(i.rotateZ||i.rotate)]),a.push(["translate",-(i.x||i.r*Math.sin(i.phi*Math.PI/180)
173),-(i.y||-i.r*Math.cos(i.phi*Math.PI/180)),-i.z]),s.perspectiveScale*=i.scaleX||i.scale,e.each(n.parents,function(t,n){var i=e(n).data("stepData");a.push(["scale",1/(i.scaleX||i.scale),1/(i.scaleY||i.scale),1/i.scaleZ]),a.push(["rotate",-i.rotateX,-i.rotateY,-(i.rotateZ||i.rotate)]),a.push(["translate",-(i.x||i.r*Math.sin(i.phi*Math.PI/180)),-(i.y||-i.r*Math.cos(i.phi*Math.PI/180)),-i.z]),s.perspectiveScale*=i.scaleX||i.scale}),e.each(a,function(e,t){function s(s){void 0===n.current["rotate"+s+"-"+e]&&(n.current["rotate"+s+"-"+e]=t[s]||0);var i=n.current["rotate"+s+"-"+e],a=i%360,r=(t[s]||0)%360;a<0&&(a+=360),r<0&&(r+=360);var o=r-a;o<-180?o+=360:o>180&&(o-=360),n.current["rotate"+s+"-"+e]=t[s]=i+o}"rotate"===t[0]&&(s(1),s(2),s(3))})}),e.jmpress("applyTarget",function(t,n){var i,a=n.target,r=(n.stepData,n.settings),o=1.3*a.perspectiveScale<n.current.perspectiveScale,c=a.perspectiveScale>1.3*n.current.perspectiveScale,l=-1;e.each(a.transform,function(e,t){if(!(t.length<=1||"rotate"===t[0]&&t[1]%360==0&&t[2]%360==0&&t[3]%360==0))return"scale"===t[0]&&void(l=e)}),l!==n.current.oldLastScale&&(o=c=!1,n.current.oldLastScale=l);var u=[];if(-1!==l)for(;l>=0;)"scale"===a.transform[l][0]&&(u.push(a.transform[l]),a.transform[l]=["scale"]),l--;var f=r.animation;r.reasonableAnimation[n.reason]&&(f=e.extend({},f,r.reasonableAnimation[n.reason])),i={perspective:Math.round(1e3*a.perspectiveScale)+"px"},i=e.extend({},f,i),o||(i.transitionDelay="0s"),n.beforeActive||(i.transitionDuration="0s",i.transitionDelay="0s"),e.jmpress("css",n.area,i),s.transform(n.area,u),i=e.extend({},f),c||(i.transitionDelay="0s"),n.beforeActive||(i.transitionDuration="0s",i.transitionDelay="0s"),n.current.perspectiveScale=a.perspectiveScale,e.jmpress("css",n.canvas,i),s.transform(n.canvas,a.transform)})}(jQuery,document,window),function(e){"use strict";var t=e.jmpress,n="activeClass",s="nestedActiveClass",i=t("defaults");i[s]="nested-active",i[n]="active",t("setInactive",function(t,i){var a=i.settings,r=a[n],o=a[s];r&&e(t).removeClass(r),o&&e.each(i.parents,function(t,n){e(n).removeClass(o)})}),t("setActive",function(t,i){var a=i.settings,r=a[n],o=a[s];r&&e(t).addClass(r),o&&e.each(i.parents,function(t,n){e(n).addClass(o)})})}(jQuery,document,window),function(e){"use strict";var t=e.jmpress;function n(t,n){return e(this).find(n.settings.stepSelector).first()}function s(t,n,s,i){if(!n)return!1;var a=s.settings.stepSelector;n=e(n);do{var r=n.near(a,i);if(0!==r.length&&0!==r.closest(t).length||(r=e(t).find(a)[i?"last":"first"]()),!r.length)return!1;n=r}while(n.data("stepData").exclude);return n}t("initStep",function(e,t){t.stepData.exclude=t.data.exclude&&-1===["false","no"].indexOf(t.data.exclude)}),t("selectInitialStep",n),t("selectHome",n),t("selectEnd",function(t,n){return e(this).find(n.settings.stepSelector).last()}),t("selectPrev",function(e,t){return s(this,e,t,!0)}),t("selectNext",function(e,t){return s(this,e,t)})}(jQuery,document,window),function(e){"use strict";e.jmpress("selectInitialStep",function(e,t){return t.settings.start})}(jQuery,document,window),function(e){"use strict";var t=e.jmpress;function n(t,n,s){for(var i=0;i<n.length-1;i++){var a=n[i],r=n[i+1];e(t).jmpress("initialized")?e(a,t).data("stepData")[s]=r:e(a,t).attr("data-"+s,r)}}function s(t,n,s,i){var a=n.stepData;if(a[s]){var r=e(t).near(a[s],i);if(r&&r.length)return r;if((r=e(a[s],this)[i?"last":"first"]())&&r.length)return r}}t("register","route",function(e,t,s){"string"==typeof e&&(e=[e,e]),n(this,e,s?"prev":"next"),t||n(this,e.reverse(),s?"next":"prev")}),t("initStep",function(e,t){for(var n in{next:1,prev:1})t.stepData[n]=t.data[n]}),t("selectNext",function(e,t){return s.call(this,e,t,"next")}),t("selectPrev",function(e,t){return s.call(this,e,t,"prev",!0)})}(jQuery,document,window),function(e){"use strict";var t=e.jmpress,n="ajax:afterStepLoaded",s="ajax:loadStep";t("register",s),t("register",n),t("defaults").ajaxLoadedClass="loaded",t("initStep",function(t,n){n.stepData.src=e(t).attr("href")||n.data.src||!1,n.stepData.srcLoaded=!1}),t(s,function(t,s){var i=s.stepData,a=i&&i.src,r=s.settings;a&&(e(t).addClass(r.ajaxLoadedClass),i.srcLoaded=!0,e(t).load(a,function(i,a,r){e(s.jmpress).jmpress("fire",n,t,e.extend({},s,{response:i,status:a,xhr:r}))}))}),t("idle",function(t,n){if(t){var i=n.settings,a=e(this);n.stepData;e(t).add(e(t).near(i.stepSelector)).add(e(t).near(i.stepSelector,!0)).add(a.jmpress("fire","selectPrev",t,{stepData:e(t).data("stepData")})).add(a.jmpress("fire","selectNext",t,{stepData:e(t).data("stepData")})).each(function(){var t=this,n=e(t).data("stepData");n.src&&!n.srcLoaded&&a.jmpress("fire",s,t,{stepData:e(t).data("stepData")})})}}),t("setActive",function(t,n){var i=e(t).data("stepData");i.src&&!i.srcLoaded&&e(this).jmpress("fire",s,t,{stepData:e(t).data("stepData")})})}(jQuery,document,window),function(e,t,n){"use strict";var s=e.jmpress,i="a[href^=#]";function a(t){try{var s=e("#"+n.location.hash.replace(/^#\/?/,""));return s.length>0&&s.is(t.stepSelector)?s:void 0}catch(e){}}
173function r(e){var t="#/"+e;n.history&&n.history.pushState?n.location.hash!==t&&n.history.pushState({},"",t):n.location.hash!==t&&(n.location.hash=t)}s("defaults").hash={use:!0,update:!0,bindChange:!0},s("selectInitialStep",function(t,s){var o=s.settings,c=o.hash,l=s.current,u=e(this);if(s.current.hashNamespace=".jmpress-"+Math.round(1e5*Math.random(),0),c.use)return c.bindChange&&(e(n).bind("hashchange"+l.hashNamespace,function(e){var t=a(o);u.jmpress("initialized")&&u.jmpress("scrollFix"),t&&t.length&&(t.attr("id")!==u.jmpress("active").attr("id")&&u.jmpress("select",t),r(t.attr("id"))),e.preventDefault()}),e(i).on("click"+l.hashNamespace,function(t){var n=e(this).attr("href");try{e(n).is(o.stepSelector)&&(u.jmpress("select",n),t.preventDefault(),t.stopPropagation())}catch(e){}})),a(o)}),s("afterDeinit",function(t,s){e(i).off(s.current.hashNamespace),e(n).unbind(s.current.hashNamespace)}),s("setActive",function(t,n){var s=n.settings,i=n.current;s.hash.use&&s.hash.update&&(clearTimeout(i.hashtimeout),i.hashtimeout=setTimeout(function(){r(e(n.delegatedFrom).attr("id"))},s.transitionDuration+200))})}(jQuery,document,window),function(e,t){"use strict";var n=e.jmpress,s="next",i="prev";function a(e){e.preventDefault(),e.stopPropagation()}n("defaults").keyboard={use:!0,keys:{33:i,37:i,38:i,9:s+":"+i,32:s,34:s,39:s,40:s,36:"home",35:"end"},ignore:{INPUT:[32,37,38,39,40],TEXTAREA:[32,37,38,39,40],SELECT:[38,40]},tabSelector:"a[href]:visible, :input:visible"},n("afterInit",function(n,s){var i=s.settings,r=i.keyboard,o=r.ignore,c=s.current,l=e(this);i.fullscreen||l.attr("tabindex",0),c.keyboardNamespace=".jmpress-"+Math.round(1e5*Math.random(),0),e(i.fullscreen?t:l).bind("keypress"+c.keyboardNamespace,function(e){for(var t in o)if(e.target.nodeName===t&&-1!==o[t].indexOf(e.which))return;(e.which>=37&&e.which<=40||32===e.which)&&a(e)}),e(i.fullscreen?t:l).bind("keydown"+c.keyboardNamespace,function(t){var n=e(t.target);if((i.fullscreen||n.closest(l).length)&&r.use){for(var s in o)if(n[0].nodeName===s&&-1!==o[s].indexOf(t.which))return;var c,u=!1;if(9===t.which){if(n.closest(l.jmpress("active")).length?(c=n.near(r.tabSelector,t.shiftKey),e(c).closest(i.stepSelector).is(l.jmpress("active"))||(c=void 0)):t.shiftKey?u=!0:c=l.jmpress("active").find("a[href], :input").filter(":visible").first(),c&&c.length>0)return c.focus(),l.jmpress("scrollFix"),void a(t);t.shiftKey&&(u=!0)}var f=r.keys[t.which];"string"==typeof f?(-1!==f.indexOf(":")&&(f=f.split(":"),f=t.shiftKey?f[1]:f[0]),l.jmpress(f),a(t)):e.isFunction(f)?f.call(l,t):f&&(l.jmpress.apply(l,f),a(t)),u&&((c=l.jmpress("active").find("a[href], :input").filter(":visible").last()).focus(),l.jmpress("scrollFix"))}})}),n("afterDeinit",function(n,s){e(t).unbind(s.current.keyboardNamespace)})}(jQuery,document,window),function(e,t,n){"use strict";var s,i=(s=navigator.userAgent.toLowerCase(),(/(chrome)[ \/]([\w.]+)/.exec(s)||/(webkit)[ \/]([\w.]+)/.exec(s)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(s)||/(msie) ([\w.]+)/.exec(s)||s.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(s)||[])[1]||""),a=e.jmpress("defaults");a.viewPort={width:!1,height:!1,maxScale:0,minScale:0,zoomable:0,zoomBindMove:!0,zoomBindWheel:!0};var r=a.keyboard.keys;function o(e,t){return Math.max(Math.min(e,t),-t)}function c(t,n,s){var i=e(this).jmpress("current"),a=e(this).jmpress("settings"),r=e(this).jmpress("active").data("stepData"),c=e(this).jmpress("container");if(!(0===i.userZoom&&s<0)){var l=r.viewPortZoomable||a.viewPort.zoomable;if(!(i.userZoom===l&&s>0)){i.userZoom+=s;var u=e(c).innerWidth()/2,f=e(c).innerHeight()/2;t=t?t-u:t,n=n?n-f:n,i.userTranslateX=o(i.userTranslateX-s*t/i.zoomOriginWindowScale/l,u*i.userZoom*i.userZoom/l),i.userTranslateY=o(i.userTranslateY-s*n/i.zoomOriginWindowScale/l,f*i.userZoom*i.userZoom/l),e(this).jmpress("reselect","zoom")}}}r["mozilla"===i?107:187]="zoomIn",r["mozilla"===i?109:189]="zoomOut",a.reasonableAnimation.resize={transitionDuration:"0s",transitionDelay:"0ms"},a.reasonableAnimation.zoom={transitionDuration:"0s",transitionDelay:"0ms"},e.jmpress("initStep",function(e,t){for(var n in{viewPortHeight:1,viewPortWidth:1,viewPortMinScale:1,viewPortMaxScale:1,viewPortZoomable:1})t.stepData[n]=t.data[n]&&parseFloat(t.data[n])}),e.jmpress("afterInit",function(s,i){var a=this;i.current.viewPortNamespace=".jmpress-"+Math.round(1e5*Math.random(),0),e(n).bind("resize"+i.current.viewPortNamespace,function(t){e(a).jmpress("reselect","resize")}),i.current.userZoom=0,i.current.userTranslateX=0,i.current.userTranslateY=0,i.settings.viewPort.zoomBindWheel&&e(i.settings.fullscreen?t:this).bind("mousewheel"+i.current.viewPortNamespace+" DOMMouseScroll"+i.current.viewPortNamespace,function(t,n){var s=(n=n||t.originalEvent.wheelDelta||-t.originalEvent.detail)/Math.abs(n);return s<0?e(i.jmpress).jmpress("zoomOut",t.originalEvent.x,t.originalEvent.y):s>0&&e(i.jmpress).jmpress("zoomIn",t.originalEvent.x,t.originalEvent.y),!1}),i.settings.viewPort.zoomBindMove&&e(i.settings.fullscreen?t:this).bind("mousedown"+i.current.viewPortNamespace,function(e){i.current.userZoom&&(i.current.userTranslating={x:e.clientX,y:e.clientY},e.preventDefault(),e.stopImmediatePropagation())}).bind("mousemove"+i.current.viewPortNamespace,function(t){var n=i.current.userTranslating;n&&(e(a).jmpress("zoomTranslate",t.clientX-n.x,t.clientY-n.y),n.x=t.clientX,n.y=t.clientY,t.preventDefault(),t.stopImmediatePropagation())}).bind("mouseup"+i.current.viewPortNamespace,function(e){i.current.userTranslating&&(i.current.userTranslating=void 0,e.preventDefault(),e.stopImmediatePropagation())})}),e.jmpress("register","zoomIn",function(e,t){c.call(this,e||0,t||0,1)}),e.jmpress("register","zoomOut",function(e,t){c.call(this,e||0,t||0,-1)}),e.jmpress("register","zoomTranslate",function(t,n){var s=e(this).jmpress("current"),i=e(this).jmpress("settings"),a=e(this).jmpress("active").data("stepData"),r=e(this).jmpress("container"),c=a.viewPortZoomable||i.viewPort.zoomable,l=e(r).innerWidth(),u=e(r).innerHeight();s.userTranslateX=o(s.userTranslateX+t/s.zoomOriginWindowScale,l*s.userZoom*s.userZoom/c),s.userTranslateY=o(s.userTranslateY+n/s.zoomOriginWindowScale,u*s.userZoom*s.userZoom/c),e(this).jmpress("reselect","zoom")}),e.jmpress("afterDeinit",function(s,i){e(i.settings.fullscreen?t:this).unbind(i.current.viewPortNamespace),e(n).unbind(i.current.viewPortNamespace)}),e.jmpress("setActive",function(t,n){var s=n.settings.viewPort,i=n.stepData.viewPortHeight||s.height,a=n.stepData.viewPortWidth||s.width,r=n.stepData.viewPortMaxScale||s.maxScale,o=n.stepData.viewPortMinScale||s.minScale,c=i&&e(n.container).innerHeight()/i,l=a&&e(n.container).innerWidth()/a,u=(l||c)&&Math.min(l||c,c||l);if(u){u=u||1,r&&(u=Math.min(u,r)),o&&(u=Math.max(u,o));var f=n.stepData.viewPortZoomable||n.settings.viewPort.zoomable;if(f){var p=1/u-1/r;u=1/(1/u-(p/=f)*n.current.userZoom)}n.target.transform.reverse(),n.current.userTranslateX&&n.current.userTranslateY?n.target.transform.push(["translate",n.current.userTranslateX,n.current.userTranslateY,0]):n.target.transform.push(["translate"]),n.target.transform.push(["scale",u,u,1]),n.target.transform.reverse(),n.target.perspectiveScale/=u}n.current.zoomOriginWindowScale=u}),e.jmpress("setInactive",function(t,n){n.nextStep&&t&&e(n.nextStep).attr("id")===e(t).attr("id")||(n.current.userZoom=0,n.current.userTranslateX=0,n.current.userTranslateY=0)})}(jQuery,document,window),function(e){"use strict";var t=e.jmpress;t("defaults").mouse={clickSelects:!0},t("afterInit",function(t,n){var s=n.settings,i=s.stepSelector,a=n.current,r=e(this);a.clickableStepsNamespace=".jmpress-"+Math.round(1e5*Math.random(),0),r.bind("click"+a.clickableStepsNamespace,function(t){if(s.mouse.clickSelects&&
173!a.userZoom){var n=e(t.target).closest(i);n.is(r.jmpress("active"))||n.length&&(r.jmpress("select",n[0],"click"),t.preventDefault(),t.stopPropagation())}})}),t("afterDeinit",function(t,n){e(this).unbind(n.current.clickableStepsNamespace)})}(jQuery,document,window),function(e,t){"use strict";var n=e.jmpress;n("afterInit",function(n,s){var i=s.settings,a=s.current,r=s.jmpress;a.mobileNamespace=".jmpress-"+Math.round(1e5*Math.random(),0);var o,c=[0,0];e(i.fullscreen?t:r).bind("touchstart"+a.mobileNamespace,function(e){o=e.originalEvent.touches[0],c=[o.pageX,o.pageY]}).bind("touchmove"+a.mobileNamespace,function(e){return o=e.originalEvent.touches[0],e.preventDefault(),!1}).bind("touchend"+a.mobileNamespace,function(t){var n=[o.pageX,o.pageY],s=[n[0]-c[0],n[1]-c[1]];if(Math.max(Math.abs(s[0]),Math.abs(s[1]))>50)return s=Math.abs(s[0])>Math.abs(s[1])?s[0]:s[1],e(r).jmpress(s>0?"prev":"next"),t.preventDefault(),!1})}),n("afterDeinit",function(n,s){var i=s.settings,a=s.current,r=s.jmpress;e(i.fullscreen?t:r).unbind(a.mobileNamespace)})}(jQuery,document,window),function(e){"use strict";var t=e.jmpress,n="_template_",s="_applied_template_",i={};function a(t,n,s){for(var i in n){var r=i;s&&(r=s+r.substr(0,1).toUpperCase()+r.substr(1)),e.isPlainObject(n[i])?a(t,n[i],r):void 0===t[r]&&(t[r]=n[i])}}function r(t,s){e.isArray(s)?s.length<t.length?e.error("more nested steps than children in template"):t.each(function(t,i){var r=(i=e(i)).data(n)||{};a(r,s[t]),i.data(n,r)}):e.isFunction(s)&&t.each(function(i,r){var o=(r=e(r)).data(n)||{};a(o,s(i,r,t)),r.data(n,o)})}function o(e,t,n,s){n.children&&r(t.children(s.settings.stepSelector),n.children);!function(e,t){a(e,t)}(e,n)}t("beforeInitStep",function(t,a){t=e(t);var r=a.data,c=r.template,l=t.data(s),u=t.data(n);c&&e.each(c.split(" "),function(e,n){var s=i[n];o(r,t,s,a)}),l&&o(r,t,l,a),u&&(o(r,t,u,a),t.data(n,null),u.template&&e.each(u.template.split(" "),function(e,n){var s=i[n];o(r,t,s,a)}))}),t("beforeInit",function(n,s){var a=t("dataset",this).template,o=s.settings.stepSelector;if(a){var c=i[a];r(e(this).find(o).filter(function(){return!e(this).parent().is(o)}),c.children)}}),t("register","template",function(t,n){i[t]?i[t]=e.extend(!0,{},i[t],n):i[t]=e.extend(!0,{},n)}),t("register","apply",function(t,n){if(n)if(e.isArray(n))r(e(t),n);else{var o;o="string"==typeof n?i[n]:e.extend(!0,{},n),e(t).each(function(t,n){var i=(n=e(n)).data(s)||{};a(i,o),n.data(s,i)})}else{var c=e(this).jmpress("settings").stepSelector;r(e(this).find(c).filter(function(){return!e(this).parent().is(c)}),t)}})}(jQuery,document,window),function(e){"use strict";e.jmpress("setActive",function(t,n){n.prevStep!==t&&e(t).triggerHandler("enterStep")}),e.jmpress("setInactive",function(t,n){n.nextStep!==t&&e(t).triggerHandler("leaveStep")})}(jQuery,document,window),function(e,t,n,s){"use strict";function i(t,n,s,i){i=i||t.length-1;for(var a=s=s||0;a<i+1;a++)if(e(t[a].element).is(n))return a}function a(t,n,s){e.each(n._on,function(e,n){t.push({substep:n.substep,delay:n.delay+s}),a(t,n.substep,n.delay+s)})}e.jmpress("defaults").customAnimationDataAttribute="jmpress",e.jmpress("afterInit",function(e,t){t.current.animationTimeouts=[],t.current.animationCleanupWaiting=[]}),e.jmpress("applyStep",function(t,n){var r={},o=[];if(e(t).find("[data-"+n.settings.customAnimationDataAttribute+"]").each(function(s,i){e(i).closest(n.settings.stepSelector).is(t)&&o.push({element:i})}),0!==o.length){e.each(o,function(t,s){s.info=function(t){for(var n=t.split(" "),s=n[0],i={willClass:"will-"+s,doClass:"do-"+s,hasClass:"has-"+s},a="",r=1;r<n.length;r++){var o=n[r];switch(a){case"":"after"===o?a="after":e.warn("unknown keyword in '"+t+"'. '"+o+"' unknown.");break;case"after":if(o.match(/^[1-9][0-9]*m?s?/)){var c=parseFloat(o);-1!==o.indexOf("ms")?c*=1:-1!==o.indexOf("s")?c*=1e3:-1!==o.indexOf("m")&&(c*=6e4),i.delay=c}else i.after=Array.prototype.slice.call(n,r).join(" "),r=n.length}}return i}(e(s.element).data(n.settings.customAnimationDataAttribute)),e(s.element).addClass(s.info.willClass),s._on=[],s._after=null});var c={_after:s,_on:[],info:{}};if(e.each(o,function(e,t){var n=t.info.after;if(n)if("step"===n)n=c;else if("prev"===n)n=o[e-1];else{var a=i(o,n,0,e-1);a===s&&(a=i(o,n)),n=a===s||a===e?o[e-1]:o[a]}else n=o[e-1];if(n){if(!t.info.delay){if(!n._after)return void(n._after=t);n=n._after}n._on.push({substep:t,delay:t.info.delay||0})}}),c._after===s&&0===c._on.length){var l=i(o,n.stepData.startSubstep)||0;c._after=o[l]}var u=[];do{var f=[{substep:c,delay:0}];a(f,c,0),u.push(f),c=null,e.each(f,p)}while(c);r.list=u,e(t).data("substepsData",r)}function p(e,t){if(t.substep._after)return c=t.substep._after,!1}}),e.jmpress("unapplyStep",function(t,n){var s=e(t).data("substepsData");s&&e.each(s.list,function(t,n){e.each(n,function(t,n){n.substep.info.willClass&&e(n.substep.element).removeClass(n.substep.info.willClass),n.substep.info.hasClass&&e(n.substep.element).removeClass(n.substep.info.hasClass),n.substep.info.doClass&&e(n.substep.element).removeClass(n.substep.info.doClass)})})}),e.jmpress("setActive",function(t,n){var i=e(t).data("substepsData");if(i){n.substep===s&&(n.substep="prev"===n.reason?i.list.length-1:0);var a=n.substep;e.each(n.current.animationTimeouts,function(e,t){clearTimeout(t)}),n.current.animationTimeouts=[],e.each(i.list,function(t,s){var i=t<a,r=t<=a;e.each(s,function(t,s){s.substep.info.hasClass&&e(s.substep.element)[(i?"add":"remove")+"Class"](s.substep.info.hasClass),r&&!i&&s.delay&&"prev"!==n.reason?s.substep.info.doClass&&(e(s.substep.element).removeClass(s.substep.info.doClass),n.current.animationTimeouts.push(setTimeout(function(){e(s.substep.element).addClass(s.substep.info.doClass)},s.delay))):s.substep.info.doClass&&e(s.substep.element)[(r?"add":"remove")+"Class"](s.substep.info.doClass)})})}}),e.jmpress("setInactive",function(t,n){if(n.nextStep!==t){e.each(n.current.animationCleanupWaiting,function(t,n){!function(t){e.each(t.list,function(t,n){e.each(n,function(t,n){n.substep.info.hasClass&&e(n.substep.element).removeClass(n.substep.info.hasClass),n.substep.info.doClass&&e(n.substep.element).removeClass(n.substep.info.doClass)})})}(n)}),n.current.animationCleanupWaiting=[];var s=e(t).data("substepsData");s&&n.current.animationCleanupWaiting.push(s)}}),e.jmpress("selectNext",function(t,n){if(n.substep!==s){var i=e(t).data("substepsData");
173if(i)return n.substep<i.list.length-1?{step:t,substep:n.substep+1}:void 0}}),e.jmpress("selectPrev",function(t,n){if(n.substep!==s&&e(t).data("substepsData"))return n.substep>0?{step:t,substep:n.substep-1}:void 0})}(jQuery,document,window)},5896(e,t,n){var s,i,a;i=[n(428)],s=function(e,t){"use strict";var n="3.0.3";function s(t){e.fn.cycle.debug&&i(t)}function i(){window.console&&console.log&&console.log("[cycle] "+Array.prototype.join.call(arguments," "))}function a(t,n,s){var i=e(t).data("cycle.opts");if(i){var a=!!t.cyclePause;a&&i.paused?i.paused(t,i,n,s):!a&&i.resumed&&i.resumed(t,i,n,s)}}function r(n,s,r){if(n.cycleStop===t&&(n.cycleStop=0),s!==t&&null!==s||(s={}),s.constructor==String){switch(s){case"destroy":case"stop":var o=e(n).data("cycle.opts");return!!o&&(n.cycleStop++,n.cycleTimeout&&clearTimeout(n.cycleTimeout),n.cycleTimeout=0,o.elements&&e(o.elements).stop(),e(n).removeData("cycle.opts"),"destroy"==s&&c(n,o),!1);case"toggle":return n.cyclePause=1===n.cyclePause?0:1,u(n.cyclePause,r,n),a(n),!1;case"pause":return n.cyclePause=1,a(n),!1;case"resume":return n.cyclePause=0,u(!1,r,n),a(n),!1;case"prev":case"next":return(o=e(n).data("cycle.opts"))?("string"==typeof r&&(o.oneTimeFx=r),e.fn.cycle[s](o),!1):(i('options not found, "prev/next" ignored'),!1);default:s={fx:s}}return s}if(s.constructor==Number){var l=s;return(s=e(n).data("cycle.opts"))?l<0||l>=s.elements.length?(i("invalid slide index: "+l),!1):(s.nextSlide=l,n.cycleTimeout&&(clearTimeout(n.cycleTimeout),n.cycleTimeout=0),"string"==typeof r&&(s.oneTimeFx=r),d(s.elements,s,1,l>=s.currSlide),!1):(i("options not found, can not advance slide"),!1)}return s;function u(t,n,s){if(!t&&!0===n){var a=e(s).data("cycle.opts");if(!a)return i("options not found, can not resume"),!1;s.cycleTimeout&&(clearTimeout(s.cycleTimeout),s.cycleTimeout=0),d(a.elements,a,1,!a.backwards)}}}function o(t,n){if(!e.support.opacity&&n.cleartype&&t.style.filter)try{t.style.removeAttribute("filter")}catch(e){}}function c(t,n){n.next&&e(n.next).unbind(n.prevNextEvent),n.prev&&e(n.prev).unbind(n.prevNextEvent),(n.pager||n.pagerAnchorBuilder)&&e.each(n.pagerAnchors||[],function(){this.unbind().remove()}),n.pagerAnchors=null,e(t).unbind("mouseenter.cycle mouseleave.cycle"),n.destroy&&n.destroy(n)}function l(n,s,r,c,l){var h,g=e.extend({},e.fn.cycle.defaults,c||{},e.metadata?n.metadata():e.meta?n.data():{}),x=e.isFunction(n.data)?n.data(g.metaAttr):null;x&&(g=e.extend(g,x)),g.autostop&&(g.countdown=g.autostopCount||r.length);var b=n[0];if(n.data("cycle.opts",g),g.$cont=n,g.stopCount=b.cycleStop,g.elements=r,g.before=g.before?[g.before]:[],g.after=g.after?[g.after]:[],!e.support.opacity&&g.cleartype&&g.after.push(function(){o(this,g)}),g.continuous&&g.after.push(function(){d(r,g,0,!g.backwards)}),u(g),e.support.opacity||!g.cleartype||g.cleartypeNoBg||y(s),"static"==n.css("position")&&n.css("position","relative"),g.width&&n.width(g.width),g.height&&"auto"!=g.height&&n.height(g.height),g.startingSlide!==t?(g.startingSlide=parseInt(g.startingSlide,10),g.startingSlide>=r.length||g.startSlide<0?g.startingSlide=0:h=!0):g.backwards?g.startingSlide=r.length-1:g.startingSlide=0,g.random){g.randomMap=[];for(var w=0;w<r.length;w++)g.randomMap.push(w);if(g.randomMap.sort(function(e,t){return Math.random()-.5}),h)for(var S=0;S<r.length;S++)g.startingSlide==g.randomMap[S]&&(g.randomIndex=S);else g.randomIndex=1,g.startingSlide=g.randomMap[1]}else g.startingSlide>=r.length&&(g.startingSlide=0);g.currSlide=g.startingSlide||0;var I=g.startingSlide;if(s.css({position:"absolute",top:0,left:0}).hide().each(function(t){var n;n=g.backwards?I?t<=I?r.length+(t-I):I-t:r.length-t:I?t>=I?r.length-(t-I):I-t:r.length-t,e(this).css("z-index",n)}),e(r[I]).css("opacity",1).show(),o(r[I],g),g.fit&&(g.aspect?s.each(function(){var t=e(this),n=!0===g.aspect?t.width()/t.height():g.aspect;g.width&&t.width()!=g.width&&(t.width(g.width),t.height(g.width/n)),g.height&&t.height()<g.height&&(t.height(g.height),t.width(g.height*n))}):(g.width&&s.width(g.width),g.height&&"auto"!=g.height&&s.height(g.height))),!g.center||g.fit&&!g.aspect||s.each(function(){var t=e(this);t.css({"margin-left":g.width?(g.width-t.width())/2+"px":0,"margin-top":g.height?(g.height-t.height())/2+"px":0})}),!g.center||g.fit||g.slideResize||s.each(function(){var t=e(this);t.css({"margin-left":g.width?(g.width-t.width())/2+"px":0,"margin-top":g.height?(g.height-t.height())/2+"px":0})}),(g.containerResize||g.containerResizeHeight)&&n.innerHeight()<1){for(var j=0,C=0,D=0;D<r.length;D++){var T=e(r[D]),B=T[0],O=T.outerWidth(),P=T.outerHeight();O||(O=B.offsetWidth||B.width||T.attr("width")),P||(P=B.offsetHeight||B.height||T.attr("height")),j=O>j?O:j,C=P>C?P:C}g.containerResize&&j>0&&C>0&&n.css({width:j+"px",height:C+"px"}),g.containerResizeHeight&&C>0&&n.css({height:C+"px"})}var A=!1;if(g.pause&&n.bind("mouseenter.cycle",function(){A=!0,this.cyclePause++,a(b,!0)}).bind("mouseleave.cycle",function(){A&&this.cyclePause--,a(b,!0)}),!1===f(g))return!1;var k=!1;if(c.requeueAttempts=c.requeueAttempts||0,s.each(function(){var t=e(this);if(this.cycleH=g.fit&&g.height?g.height:t.height()||this.offsetHeight||this.height||t.attr("height")||0,this.cycleW=g.fit&&g.width?g.width:t.width()||this.offsetWidth||this.width||t.attr("width")||0,t.is("img")&&0===this.cycleH&&0===this.cycleW&&!this.complete){if(l.s&&g.requeueOnImageNotLoaded&&++c.requeueAttempts<100)return i(c.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH),setTimeout(function(){e(l.s,l.c).cycle(c)},g.requeueTimeout),k=!0,!1;i("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}return!0}),k)return!1;if(g.cssBefore=g.cssBefore||{},g.cssAfter=g.cssAfter||{},g.cssFirst=g.cssFirst||{},g.animIn=g.animIn||{},g.animOut=g.animOut||{},s.not(":eq("+I+")").css(g.cssBefore),e(s[I]).css(g.cssFirst),g.timeout){g.timeout=parseInt(g.timeout,10),g.speed.constructor==String&&(g.speed=e.fx.speeds[g.speed]||parseInt(g.speed,10)),g.sync||(g.speed=g.speed/2);for(var M="none"==g.fx?0:"shuffle"==g.fx?500:250;g.timeout-g.speed<M;)g.timeout+=g.speed}if(g.easing&&(g.easeIn=g.easeOut=g.easing),g.speedIn||(g.speedIn=g.speed),g.speedOut||(g.speedOut=g.speed),g.slideCount=r.length,g.currSlide=g.lastSlide=I,g.random?(++g.randomIndex==r.length&&(g.randomIndex=0),g.nextSlide=g.randomMap[g.randomIndex]):g.backwards?g.nextSlide=0===g.startingSlide?r.length-1:g.startingSlide-1:g.nextSlide=g.startingSlide>=r.length-1?0:g.startingSlide+1,!g.multiFx){var F=e.fn.cycle.transitions[g.fx];if(e.isFunction(F))F(n,s,g);else if("custom"!=g.fx&&!g.multiFx)return i("unknown transition: "+g.fx,"; slideshow terminating"),!1}var z=s[I];
vendor: 4,353 bytes, line 173
173return g.skipInitializationCallbacks||(g.before.length&&g.before[0].apply(z,[z,z,g,!0]),g.after.length&&g.after[0].apply(z,[z,z,g,!0])),g.next&&e(g.next).bind(g.prevNextEvent,function(){return m(g,1)}),g.prev&&e(g.prev).bind(g.prevNextEvent,function(){return m(g,0)}),(g.pager||g.pagerAnchorBuilder)&&v(r,g),p(g,r),g}function u(t){t.original={before:[],after:[]},t.original.cssBefore=e.extend({},t.cssBefore),t.original.cssAfter=e.extend({},t.cssAfter),t.original.animIn=e.extend({},t.animIn),t.original.animOut=e.extend({},t.animOut),e.each(t.before,function(){t.original.before.push(this)}),e.each(t.after,function(){t.original.after.push(this)})}function f(t){var n,a,r=e.fn.cycle.transitions;if(t.fx.indexOf(",")>0){for(t.multiFx=!0,t.fxs=t.fx.replace(/\s*/g,"").split(","),n=0;n<t.fxs.length;n++){var o=t.fxs[n];(a=r[o])&&r.hasOwnProperty(o)&&e.isFunction(a)||(i("discarding unknown transition: ",o),t.fxs.splice(n,1),n--)}if(!t.fxs.length)return i("No valid transitions named; slideshow terminating."),!1}else if("all"==t.fx)for(var c in t.multiFx=!0,t.fxs=[],r)r.hasOwnProperty(c)&&(a=r[c],r.hasOwnProperty(c)&&e.isFunction(a)&&t.fxs.push(c));if(t.multiFx&&t.randomizeEffects){var l=Math.floor(20*Math.random())+30;for(n=0;n<l;n++){var u=Math.floor(Math.random()*t.fxs.length);t.fxs.push(t.fxs.splice(u,1)[0])}s("randomized fx sequence: ",t.fxs)}return!0}function p(t,n){t.addSlide=function(s,i){var a=e(s),r=a[0];t.autostopCount||t.countdown++,n[i?"unshift":"push"](r),t.els&&t.els[i?"unshift":"push"](r),t.slideCount=n.length,t.random&&(t.randomMap.push(t.slideCount-1),t.randomMap.sort(function(e,t){return Math.random()-.5})),a.css("position","absolute"),a[i?"prependTo":"appendTo"](t.$cont),i&&(t.currSlide++,t.nextSlide++),e.support.opacity||!t.cleartype||t.cleartypeNoBg||y(a),t.fit&&t.width&&a.width(t.width),t.fit&&t.height&&"auto"!=t.height&&a.height(t.height),r.cycleH=t.fit&&t.height?t.height:a.height(),r.cycleW=t.fit&&t.width?t.width:a.width(),a.css(t.cssBefore),(t.pager||t.pagerAnchorBuilder)&&e.fn.cycle.createPagerAnchor(n.length-1,r,e(t.pager),n,t),e.isFunction(t.onAddSlide)?t.onAddSlide(a):a.hide()}}function d(n,i,a,r){var o=i.$cont[0],c=n[i.currSlide],l=n[i.nextSlide];if(a&&i.busy&&i.manualTrump&&(s("manualTrump in go(), stopping active transition"),e(n).stop(!0,!0),i.busy=0,clearTimeout(o.cycleTimeout)),i.busy)s("transition active, ignoring new tx request");else if(o.cycleStop==i.stopCount&&(0!==o.cycleTimeout||a))if(a||o.cyclePause||i.bounce||!(i.autostop&&--i.countdown<=0||i.nowrap&&!i.random&&i.nextSlide<i.currSlide)){var u,f=!1;if(!a&&o.cyclePause||i.nextSlide==i.currSlide)v();else{f=!0;var p=i.fx;c.cycleH=c.cycleH||e(c).height(),c.cycleW=c.cycleW||e(c).width(),l.cycleH=l.cycleH||e(l).height(),l.cycleW=l.cycleW||e(l).width(),i.multiFx&&(r&&(i.lastFx===t||++i.lastFx>=i.fxs.length)?i.lastFx=0:!r&&(i.lastFx===t||--i.lastFx<0)&&(i.lastFx=i.fxs.length-1),p=i.fxs[i.lastFx]),i.oneTimeFx&&(p=i.oneTimeFx,i.oneTimeFx=null),e.fn.cycle.resetState(i,p),i.before.length&&e.each(i.before,function(e,t){o.cycleStop==i.stopCount&&t.apply(l,[c,l,i,r])});var m=function(){i.busy=0,e.each(i.after,function(e,t){o.cycleStop==i.stopCount&&t.apply(l,[c,l,i,r])}),o.cycleStop||v()};s("tx firing("+p+"); currSlide: "+i.currSlide+"; nextSlide: "+i.nextSlide),i.busy=1,i.fxFn?i.fxFn(c,l,i,m,r,a&&i.fastOnEvent):e.isFunction(e.fn.cycle[i.fx])?e.fn.cycle[i.fx](c,l,i,m,r,a&&i.fastOnEvent):e.fn.cycle.custom(c,l,i,m,r,a&&i.fastOnEvent)}(f||i.nextSlide==i.currSlide)&&(i.lastSlide=i.currSlide,i.random?(i.currSlide=i.nextSlide,++i.randomIndex==n.length&&(i.randomIndex=0,i.randomMap.sort(function(e,t){return Math.random()-.5})),i.nextSlide=i.randomMap[i.randomIndex],i.nextSlide==i.currSlide&&(i.nextSlide=i.currSlide==i.slideCount-1?0:i.currSlide+1)):i.backwards?(u=i.nextSlide-1<0)&&i.bounce?(i.backwards=!i.backwards,i.nextSlide=1,i.currSlide=0):(i.nextSlide=u?n.length-1:i.nextSlide-1,i.currSlide=u?0:i.nextSlide+1):(u=i.nextSlide+1==n.length)&&i.bounce?(i.backwards=!i.backwards,i.nextSlide=n.length-2,i.currSlide=n.length-1):(i.nextSlide=u?0:i.nextSlide+1,i.currSlide=u?n.length-1:i.nextSlide-1)),f&&i.pager&&i.updateActivePagerLink(i.pager,i.currSlide,i.activePagerClass)}else i.end&&i.end(i);function v(){var e=0;i.timeout,i.timeout&&!i.continuous?(e=h(n[i.currSlide],n[i.nextSlide],i,r),"shuffle"==i.fx&&(e-=i.speedOut)):i.
vendor: 5,170 bytes, line 173
173continuous&&o.cyclePause&&(e=10),e>0&&(o.cycleTimeout=setTimeout(function(){d(n,i,0,!i.backwards)},e))}}function h(e,t,n,i){if(n.timeoutFn){for(var a=n.timeoutFn.call(e,e,t,n,i);"none"!=n.fx&&a-n.speed<250;)a+=n.speed;if(s("calculated timeout: "+a+"; speed: "+n.speed),!1!==a)return a}return n.timeout}function m(t,n){var s=n?1:-1,i=t.elements,a=t.$cont[0],r=a.cycleTimeout;if(r&&(clearTimeout(r),a.cycleTimeout=0),t.random&&s<0)t.randomIndex--,-2==--t.randomIndex?t.randomIndex=i.length-2:-1==t.randomIndex&&(t.randomIndex=i.length-1),t.nextSlide=t.randomMap[t.randomIndex];else if(t.random)t.nextSlide=t.randomMap[t.randomIndex];else if(t.nextSlide=t.currSlide+s,t.nextSlide<0){if(t.nowrap)return!1;t.nextSlide=i.length-1}else if(t.nextSlide>=i.length){if(t.nowrap)return!1;t.nextSlide=0}var o=t.onPrevNextEvent||t.prevNextClick;return e.isFunction(o)&&o(s>0,t.nextSlide,i[t.nextSlide]),d(i,t,1,n),!1}function v(t,n){var s=e(n.pager);e.each(t,function(i,a){e.fn.cycle.createPagerAnchor(i,a,s,t,n)}),n.updateActivePagerLink(n.pager,n.startingSlide,n.activePagerClass)}function y(t){function n(e){return(e=parseInt(e,10).toString(16)).length<2?"0"+e:e}function i(t){for(;t&&"html"!=t.nodeName.toLowerCase();t=t.parentNode){var s=e.css(t,"background-color");if(s&&s.indexOf("rgb")>=0){var i=s.match(/\d+/g);return"#"+n(i[0])+n(i[1])+n(i[2])}if(s&&"transparent"!=s)return s}return"#ffffff"}s("applying clearType background-color hack"),t.each(function(){e(this).css("background-color",i(this))})}e.expr[":"].paused=function(e){return e.cyclePause},e.fn.cycle=function(t,n){var a={s:this.selector,c:this.context};return 0===this.length&&"stop"!=t?!e.isReady&&a.s?(i("DOM not ready, queuing slideshow"),e(function(){e(a.s,a.c).cycle(t,n)}),this):(i("terminating; zero elements found by selector"+(e.isReady?"":" (DOM not ready)")),this):this.each(function(){var o=r(this,t,n);if(!1!==o){o.updateActivePagerLink=o.updateActivePagerLink||e.fn.cycle.updateActivePagerLink,this.cycleTimeout&&clearTimeout(this.cycleTimeout),this.cycleTimeout=this.cyclePause=0,this.cycleStop=0;var c=e(this),u=o.slideExpr?e(o.slideExpr,this):c.children(),f=u.get();if(f.length<2)i("terminating; too few slides: "+f.length);else{var p=l(c,u,f,o,a);if(!1!==p){var m=p.continuous?10:h(f[p.currSlide],f[p.nextSlide],p,!p.backwards);m&&((m+=p.delay||0)<10&&(m=10),s("first timeout: "+m),this.cycleTimeout=setTimeout(function(){d(f,p,0,!o.backwards)},m))}}}})},e.fn.cycle.resetState=function(t,n){n=n||t.fx,t.before=[],t.after=[],t.cssBefore=e.extend({},t.original.cssBefore),t.cssAfter=e.extend({},t.original.cssAfter),t.animIn=e.extend({},t.original.animIn),t.animOut=e.extend({},t.original.animOut),t.fxFn=null,e.each(t.original.before,function(){t.before.push(this)}),e.each(t.original.after,function(){t.after.push(this)});var s=e.fn.cycle.transitions[n];e.isFunction(s)&&s(t.$cont,e(t.elements),t)},e.fn.cycle.updateActivePagerLink=function(t,n,s){e(t).each(function(){e(this).children().removeClass(s).eq(n).addClass(s)})},e.fn.cycle.next=function(e){m(e,1)},e.fn.cycle.prev=function(e){m(e,0)},e.fn.cycle.createPagerAnchor=function(t,n,i,r,o){var c;if(e.isFunction(o.pagerAnchorBuilder)?(c=o.pagerAnchorBuilder(t,n),s("pagerAnchorBuilder("+t+", el) returned: "+c)):c='<a href="#">'+(t+1)+"</a>",c){var l=e(c);if(0===l.parents("body").length){var u=[];i.length>1?(i.each(function(){var t=l.clone(!0);e(this).append(t),u.push(t[0])}),l=e(u)):l.appendTo(i)}o.pagerAnchors=o.pagerAnchors||[],o.pagerAnchors.push(l);var f=function(n){n.preventDefault(),o.nextSlide=t;var s=o.$cont[0],i=s.cycleTimeout;i&&(clearTimeout(i),s.cycleTimeout=0);var a=o.onPagerEvent||o.pagerClick;e.isFunction(a)&&a(o.nextSlide,r[o.nextSlide]),d(r,o,1,o.currSlide<t)};/mouseenter|mouseover/i.test(o.pagerEvent)?l.hover(f,function(){}):l.bind(o.pagerEvent,f),/^click/.test(o.pagerEvent)||o.allowPagerClickBubble||l.bind("click.cycle",function(){return!1});var p=o.$cont[0],h=!1;o.pauseOnPagerHover&&l.hover(function(){h=!0,p.cyclePause++,a(p,!0,!0)},function(){h&&p.cyclePause--,a(p,!0,!0)})}},e.fn.cycle.hopsFromLast=function(e,t){var n=e.lastSlide,s=e.currSlide;return t?s>n?s-n:e.slideCount-n:s<n?n-s:n+e.slideCount-s},e.fn.cycle.commonReset=function(t,n,s,i,a,r){e(s.elements).not(t).hide(),void 0===s.cssBefore.opacity&&(s.cssBefore.opacity=1),s.cssBefore.display="block",s.slideResize&&!1!==i&&n.cycleW>0&&(s.cssBefore.width=n.cycleW),s.slideResize&&!1!==a&&n.cycleH>0&&(s.cssBefore.height=n.cycleH),s.cssAfter=s.cssAfter||{},s.cssAfter.display="none",e(t).css("zIndex",s.slideCount+(!0===r?1:0)),e(n).css("zIndex",s.slideCount+(!0===r?0:1))},e.fn.cycle.custom=function(t,n,s,i,a,r){var o=e(t),c=e(n),l=s.speedIn,u=s.speedOut,f=s.easeIn,p=s.easeOut,d=s.animInDelay,h=s.animOutDelay;c.css(s.cssBefore),r&&(l=u="number"==typeof r?r:1,f=p=null);var m=function(){c.delay(d).animate(s.animIn,l,f,function(){i()})};o.delay(h).animate(s.animOut,u,p,function(){o.css(s.cssAfter),s.sync||m()}),s.sync&&m()},e.fn.cycle.transitions={fade:function(t,n,s){n.not(":eq("+s.currSlide+")").css("opacity",0),s.before.push(function(t,n,s){e.fn.cycle.commonReset(t,n,s),s.cssBefore.opacity=0}),s.animIn={opacity:1},s.animOut={opacity:0}
173,s.cssBefore={top:0,left:0}}},e.fn.cycle.ver=function(){return n},e.fn.cycle.defaults={activePagerClass:"activeSlide",after:null,allowPagerClickBubble:!1,animIn:null,animInDelay:0,animOut:null,animOutDelay:0,aspect:!1,autostop:0,autostopCount:0,backwards:!1,before:null,center:null,cleartype:!e.support.opacity,cleartypeNoBg:!1,containerResize:1,containerResizeHeight:0,continuous:0,cssAfter:null,cssBefore:null,delay:0,easeIn:null,easeOut:null,easing:null,end:null,fastOnEvent:0,fit:0,fx:"fade",fxFn:null,height:"auto",manualTrump:!0,metaAttr:"cycle",next:null,nowrap:0,onPagerEvent:null,onPrevNextEvent:null,pager:null,pagerAnchorBuilder:null,pagerEvent:"click.cycle",pause:0,pauseOnPagerHover:0,prev:null,prevNextEvent:"click.cycle",random:0,randomizeEffects:1,requeueOnImageNotLoaded:!0,requeueTimeout:250,rev:0,shuffle:null,skipInitializationCallbacks:!1,slideExpr:null,slideResize:1,speed:1e3,speedIn:null,speedOut:null,startingSlide:t,sync:1,timeout:4e3,timeoutFn:null,updateActivePagerLink:null,width:null},e.fn.cycle.transitions.none=function(t,n,s){s.fxFn=function(t,n,s,i){e(n).show(),e(t).hide(),i()}},e.fn.cycle.transitions.fadeout=function(t,n,s){n.not(":eq("+s.currSlide+")").css({display:"block",opacity:1}),s.before.push(function(t,n,s,i,a,r){e(t).css("zIndex",s.slideCount+(!0!==r?1:0)),e(n).css("zIndex",s.slideCount+(!0!==r?0:1))}),s.animIn.opacity=1,s.animOut.opacity=0,s.cssBefore.opacity=1,s.cssBefore.display="block",s.cssAfter.zIndex=0},e.fn.cycle.transitions.scrollUp=function(t,n,s){t.css("overflow","hidden"),s.before.push(e.fn.cycle.commonReset);var i=t.height();s.cssBefore.top=i,s.cssBefore.left=0,s.cssFirst.top=0,s.animIn.top=0,s.animOut.top=-i},e.fn.cycle.transitions.scrollDown=function(t,n,s){t.css("overflow","hidden"),s.before.push(e.fn.cycle.commonReset);var i=t.height();s.cssFirst.top=0,s.cssBefore.top=-i,s.cssBefore.left=0,s.animIn.top=0,s.animOut.top=i},e.fn.cycle.transitions.scrollLeft=function(t,n,s){t.css("overflow","hidden"),s.before.push(e.fn.cycle.commonReset);var i=t.width();s.cssFirst.left=0,s.cssBefore.left=i,s.cssBefore.top=0,s.animIn.left=0,s.animOut.left=0-i},e.fn.cycle.transitions.scrollRight=function(t,n,s){t.css("overflow","hidden"),s.before.push(e.fn.cycle.commonReset);var i=t.width();s.cssFirst.left=0,s.cssBefore.left=-i,s.cssBefore.top=0,s.animIn.left=0,s.animOut.left=i},e.fn.cycle.transitions.scrollHorz=function(t,n,s){t.css("overflow","hidden").width(),s.before.push(function(t,n,s,i){s.rev&&(i=!i),e.fn.cycle.commonReset(t,n,s),s.cssBefore.left=i?n.cycleW-1:1-n.cycleW,s.animOut.left=i?-t.cycleW:t.cycleW}),s.cssFirst.left=0,s.cssBefore.top=0,s.animIn.left=0,s.animOut.top=0},e.fn.cycle.transitions.scrollVert=function(t,n,s){t.css("overflow","hidden"),s.before.push(function(t,n,s,i){s.rev&&(i=!i),e.fn.cycle.commonReset(t,n,s),s.cssBefore.top=i?1-n.cycleH:n.cycleH-1,s.animOut.top=i?t.cycleH:-t.cycleH}),s.cssFirst.top=0,s.cssBefore.left=0,s.animIn.top=0,s.animOut.left=0},e.fn.cycle.transitions.slideX=function(t,n,s){s.before.push(function(t,n,s){e(s.elements).not(t).hide(),e.fn.cycle.commonReset(t,n,s,!1,!0),s.animIn.width=n.cycleW}),s.cssBefore.left=0,s.cssBefore.top=0,s.cssBefore.width=0,s.animIn.width="show",s.animOut.width=0},e.fn.cycle.transitions.slideY=function(t,n,s){s.before.push(function(t,n,s){e(s.elements).not(t).hide(),e.fn.cycle.commonReset(t,n,s,!0,!1),s.animIn.height=n.cycleH}),s.cssBefore.left=0,s.cssBefore.top=0,s.cssBefore.height=0,s.animIn.height="show",s.animOut.height=0},e.fn.cycle.transitions.shuffle=function(t,n,s){var i,a=t.css("overflow","visible").width();for(n.css({left:0,top:0}),s.before.push(function(t,n,s){e.fn.cycle.commonReset(t,n,s,!0,!0,!0)}),s.speedAdjusted||(s.speed=s.speed/2,s.speedAdjusted=!0),s.random=0,s.shuffle=s.shuffle||{left:-a,top:15},s.els=[],i=0;i<n.length;i++)s.els.push(n[i]);for(i=0;i<s.currSlide;i++)s.els.push(s.els.shift());s.fxFn=function(t,n,s,i,a){s.rev&&(a=!a);var r=e(a?t:n);e(n).css(s.cssBefore);var o=s.slideCount;r.animate(s.shuffle,s.speedIn,s.easeIn,function(){for(var n=e.fn.cycle.hopsFromLast(s,a),c=0;c<n;c++)a?s.els.push(s.els.shift()):s.els.unshift(s.els.pop());if(a)for(var l=0,u=s.els.length;l<u;l++)e(s.els[l]).css("z-index",u-l+o);else{var f=e(t).css("z-index");r.css("z-index",parseInt(f,10)+1+o)}r.animate({left:0,top:0},s.speedOut,s.easeOut,function(){e(a?this:t).hide(),i&&i()})})},e.extend(s.cssBefore,{display:"block",opacity:1,top:0,left:0})},e.fn.cycle.transitions.turnUp=function(t,n,s){s.before.push(function(t,n,s){e.fn.cycle.commonReset(t,n,s,!0,!1),s.cssBefore.top=n.cycleH,s.animIn.height=n.cycleH,s.animOut.width=n.cycleW}),s.cssFirst.top=0,s.cssBefore.left=0,s.cssBefore.height=0,s.animIn.top=0,s.animOut.height=0},e.fn.cycle.transitions.turnDown=function(t,n,s){s.before.push(function(t,n,s){e.fn.cycle.commonReset(t,n,s,!0,!1),s.animIn.height=n.cycleH,s.animOut.top=t.cycleH}),s.cssFirst.top=0,s.cssBefore.left=0,s.cssBefore.top=0,s.cssBefore.height=0,s.animOut.height=0},e.fn.cycle.transitions.turnLeft=function(t,n,s){s.before.push(function(t,n,s){e.fn.cycle.commonReset(t,n,s,!1,!0),s.cssBefore.left=n.cycleW,s.animIn.width=n.cycleW}),s.cssBefore.top=0,s.cssBefore.width=0,s.animIn.left=0,s.animOut.width=0},e.fn.cycle.transitions.turnRight=function(t,n,s){s.before.push(function(t,n,s){e.fn.cycle.commonReset(t,n,s,!1,!0),s.animIn.width=n.cycleW,s.animOut.left=t.cycleW}),e.extend(s.cssBefore,{top:0,left:0,width:0}),s.animIn.left=0,s.animOut.width=0},e.fn.cycle.transitions.zoom=function(t,n,s){s.before.push(function(t,n,s){e.fn.cycle.commonReset(t,n,s,!1,!1,
173!0),s.cssBefore.top=n.cycleH/2,s.cssBefore.left=n.cycleW/2,e.extend(s.animIn,{top:0,left:0,width:n.cycleW,height:n.cycleH}),e.extend(s.animOut,{width:0,height:0,top:t.cycleH/2,left:t.cycleW/2})}),s.cssFirst.top=0,s.cssFirst.left=0,s.cssBefore.width=0,s.cssBefore.height=0},e.fn.cycle.transitions.fadeZoom=function(t,n,s){s.before.push(function(t,n,s){e.fn.cycle.commonReset(t,n,s,!1,!1),s.cssBefore.left=n.cycleW/2,s.cssBefore.top=n.cycleH/2,e.extend(s.animIn,{top:0,left:0,width:n.cycleW,height:n.cycleH})}),s.cssBefore.width=0,s.cssBefore.height=0,s.animOut.opacity=0},e.fn.cycle.transitions.blindX=function(t,n,s){var i=t.css("overflow","hidden").width();s.before.push(function(t,n,s){e.fn.cycle.commonReset(t,n,s),s.animIn.width=n.cycleW,s.animOut.left=t.cycleW}),s.cssBefore.left=i,s.cssBefore.top=0,s.animIn.left=0,s.animOut.left=i},e.fn.cycle.transitions.blindY=function(t,n,s){var i=t.css("overflow","hidden").height();s.before.push(function(t,n,s){e.fn.cycle.commonReset(t,n,s),s.animIn.height=n.cycleH,s.animOut.top=t.cycleH}),s.cssBefore.top=i,s.cssBefore.left=0,s.animIn.top=0,s.animOut.top=i},e.fn.cycle.transitions.blindZ=function(t,n,s){var i=t.css("overflow","hidden").height(),a=t.width();s.before.push(function(t,n,s){e.fn.cycle.commonReset(t,n,s),s.animIn.height=n.cycleH,s.animOut.top=t.cycleH}),s.cssBefore.top=i,s.cssBefore.left=a,s.animIn.top=0,s.animIn.left=0,s.animOut.top=i,s.animOut.left=a},e.fn.cycle.transitions.growX=function(t,n,s){s.before.push(function(t,n,s){e.fn.cycle.commonReset(t,n,s,!1,!0),s.cssBefore.left=this.cycleW/2,s.animIn.left=0,s.animIn.width=this.cycleW,s.animOut.left=0}),s.cssBefore.top=0,s.cssBefore.width=0},e.fn.cycle.transitions.growY=function(t,n,s){s.before.push(function(t,n,s){e.fn.cycle.commonReset(t,n,s,!0,!1),s.cssBefore.top=this.cycleH/2,s.animIn.top=0,s.animIn.height=this.cycleH,s.animOut.top=0}),s.cssBefore.height=0,s.cssBefore.left=0},e.fn.cycle.transitions.curtainX=function(t,n,s){s.before.push(function(t,n,s){e.fn.cycle.commonReset(t,n,s,!1,!0,!0),s.cssBefore.left=n.cycleW/2,s.animIn.left=0,s.animIn.width=this.cycleW,s.animOut.left=t.cycleW/2,s.animOut.width=0}),s.cssBefore.top=0,s.cssBefore.width=0},e.fn.cycle.transitions.curtainY=function(t,n,s){s.before.push(function(t,n,s){e.fn.cycle.commonReset(t,n,s,!0,!1,!0),s.cssBefore.top=n.cycleH/2,s.animIn.top=0,s.animIn.height=n.cycleH,s.animOut.top=t.cycleH/2,s.animOut.height=0}),s.cssBefore.height=0,s.cssBefore.left=0},e.fn.cycle.transitions.cover=function(t,n,s){var i=s.direction||"left",a=t.css("overflow","hidden").width(),r=t.height();s.before.push(function(t,n,s){e.fn.cycle.commonReset(t,n,s),s.cssAfter.display="","right"==i?s.cssBefore.left=-a:"up"==i?s.cssBefore.top=r:"down"==i?s.cssBefore.top=-r:s.cssBefore.left=a}),s.animIn.left=0,s.animIn.top=0,s.cssBefore.top=0,s.cssBefore.left=0},e.fn.cycle.transitions.uncover=function(t,n,s){var i=s.direction||"left",a=t.css("overflow","hidden").width(),r=t.height();s.before.push(function(t,n,s){e.fn.cycle.commonReset(t,n,s,!0,!0,!0),"right"==i?s.animOut.left=a:"up"==i?s.animOut.top=-r:"down"==i?s.animOut.top=r:s.animOut.left=-a}),s.animIn.left=0,s.animIn.top=0,s.cssBefore.top=0,s.cssBefore.left=0},e.fn.cycle.transitions.toss=function(t,n,s){var i=t.css("overflow","visible").width(),a=t.height();s.before.push(function(t,n,s){e.fn.cycle.commonReset(t,n,s,!0,!0,!0),s.animOut.left||s.animOut.top?s.animOut.opacity=0:e.extend(s.animOut,{left:2*i,top:-a/2,opacity:0})}),s.cssBefore.left=0,s.cssBefore.top=0,s.animIn.left=0},e.fn.cycle.transitions.wipe=function(t,n,s){var i,a=t.css("overflow","hidden").width(),r=t.height();if(s.cssBefore=s.cssBefore||{},s.clip)if(/l2r/.test(s.clip))i="rect(0px 0px "+r+"px 0px)";else if(/r2l/.test(s.clip))i="rect(0px "+a+"px "+r+"px "+a+"px)";else if(/t2b/.test(s.clip))i="rect(0px "+a+"px 0px 0px)";else if(/b2t/.test(s.clip))i="rect("+r+"px "+a+"px "+r+"px 0px)";else if(/zoom/.test(s.clip)){var o=parseInt(r/2,10),c=parseInt(a/2,10);i="rect("+o+"px "+c+"px "+o+"px "+c+"px)"}s.cssBefore.clip=s.cssBefore.clip||i||"rect(0px 0px 0px 0px)";var l=s.cssBefore.clip.match(/(\d+)/g),u=parseInt(l[0],10),f=parseInt(l[1],10),p=parseInt(l[2],10),d=parseInt(l[3],10);s.before.push(function(t,n,s){if(t!=n){var i=e(t),o=e(n);e.fn.cycle.commonReset(t,n,s,!0,!0,!1),s.cssAfter.display="block";var c=1,l=parseInt(s.speedIn/13,10)-1;!function e(){var t=u?u-parseInt(c*(u/l),10):0,n=d?d-parseInt(c*(d/l),10):0,s=p<r?p+parseInt(c*((r-p)/l||1),10):r,h=f<a?f+parseInt(c*((a-f)/l||1),10):a;o.css({clip:"rect("+t+"px "+h+"px "+s+"px "+n+"px)"}),c++<=l?setTimeout(e,13):i.css("display","none")}()}}),e.extend(s.cssBefore,{display:"block",opacity:1,top:0,left:0}),s.animIn={left:0},s.animOut={left:0}}},void 0===(a="function"==typeof s?s.apply(t,i):s)||(e.exports=a)},8240(){!function(e){function t(e,t){t&&e.append(t.jquery?t.clone():t)}function n(t,n,s){var i,a,r,o=n.clone(s.formValues);s.formValues&&(i=o,a="select, textarea",r=n.find(a),i.find(a).each(function(t,n){e(n).val(r.eq(t).val())})),s.removeScripts&&o.find("script").remove(),s.printContainer?o.appendTo(t):o.each(function(){e(this).children().appendTo(t)})}var s;e.fn.printThis=function(i){s=e.extend({},e.fn.printThis.defaults,i);var a=this instanceof jQuery?this:e(this),r="printThis-"+(new Date).getTime();if(window.location.hostname!==document.domain&&navigator.userAgent.match(/msie/i)){var o='javascript:document.write("<head><script>document.domain=\\"'+document.domain+'\\";<\/script></head><body></body>")',c=document.createElement("iframe");c.name="printIframe",c.id=r,c.className="MSIE",document.body.appendChild(c),c.src=o}else{e("<iframe id='"+r+"' name='printIframe' />").appendTo("body")}var l=e("#"+r);s.debug||l.css({position:"absolute",width:"0px",height:"0px",left:"-600px",top:"-600px"}),"function"==typeof s.beforePrint&&s.beforePrint(),setTimeout(function(){s.doctype
173String&&function(e,t){var n,s;(s=(n=(n=e.get(0)).contentWindow||n.contentDocument||n).document||n.contentDocument||n).open(),s.write(t),s.close()}(l,s.doctypeString);var i,r=l.contents(),o=r.find("head"),c=r.find("body"),u=e("base");i=!0===s.base&&u.length>0?u.attr("href"):"string"==typeof s.base?s.base:document.location.protocol+"//"+document.location.host,o.append('<base href="'+i+'">'),s.importCSS&&e("link[rel=stylesheet]").each(function(){var t=e(this).attr("href");if(t){var n=e(this).attr("media")||"all";o.append("<link type='text/css' rel='stylesheet' href='"+t+"' media='"+n+"'>")}}),s.importStyle&&e("style").each(function(){o.append(this.outerHTML)}),s.pageTitle&&o.append("<title>"+s.pageTitle+"</title>"),s.loadCSS&&(e.isArray(s.loadCSS)?jQuery.each(s.loadCSS,function(e,t){o.append("<link type='text/css' rel='stylesheet' href='"+this+"'>")}):o.append("<link type='text/css' rel='stylesheet' href='"+s.loadCSS+"'>"));var f=e("html")[0];r.find("html").prop("style",f.style.cssText);var p=s.copyTagClasses;if(p&&(-1!==(p=!0===p?"bh":p).indexOf("b")&&c.addClass(e("body")[0].className),-1!==p.indexOf("h")&&r.find("html").addClass(f.className)),(p=s.copyTagStyles)&&(-1!==(p=!0===p?"bh":p).indexOf("b")&&c.attr("style",e("body")[0].style.cssText),-1!==p.indexOf("h")&&r.find("html").attr("style",f.style.cssText)),t(c,s.header),s.canvas){var d=0;a.find("canvas").addBack("canvas").each(function(){e(this).attr("data-printthis",d++)})}if(n(c,a,s),s.canvas&&c.find("canvas").each(function(){var t=e(this).data("printthis"),n=e('[data-printthis="'+t+'"]');this.getContext("2d").drawImage(n[0],0,0),e.isFunction(e.fn.removeAttr)?n.removeAttr("data-printthis"):e.each(n,function(e,t){t.removeAttribute("data-printthis")})}),s.removeInline){var h=s.removeInlineSelector||"*";e.isFunction(e.removeAttr)?c.find(h).removeAttr("style"):c.find(h).attr("style","")}t(c,s.footer),function(e,t){var n=e.get(0);n=n.contentWindow||n.contentDocument||n,"function"==typeof t&&("matchMedia"in n?n.matchMedia("print").addListener(function(e){e.matches&&t()}):n.onbeforeprint=t)}(l,s.beforePrintEvent),setTimeout(function(){l.hasClass("MSIE")?(window.frames.printIframe.focus(),o.append("<script> window.print(); <\/script>")):document.queryCommandSupported("print")?l[0].contentWindow.document.execCommand("print",!1,null):(l[0].contentWindow.focus(),l[0].contentWindow.print()),s.debug||setTimeout(function(){l.remove()},1e3),"function"==typeof s.afterPrint&&s.afterPrint()},s.printDelay)},333)},e.fn.printThis.defaults={debug:!1,importCSS:!0,importStyle:!0,printContainer:!0,loadCSS:"",pageTitle:"",removeInline:!1,removeInlineSelector:"*",printDelay:1e3,header:null,footer:null,base:!1,formValues:!0,canvas:!0,doctypeString:"<!DOCTYPE html>",removeScripts:!1,copyTagClasses:!0,copyTagStyles:!0,beforePrintEvent:null,beforePrint:null,afterPrint:null}}(jQuery)},428(e){"use strict";e.exports=window.jQuery}};const t={};function n(s){const i=t[s];if(void 0!==i)return i.exports;const a=t[s]={exports:{}};return e[s](a,a.exports,n),a.exports}n.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.o=(e,t)=>Object.hasOwn(e,t),(()=>{"use strict";n(5896),n(8240),n(8395)})()})();; 174(()=>{function e(e){if("string"!=typeof e||""===e)return"";var t=(new DOMParser).parseFromString(e,"text/html");return t.body.querySelectorAll("script, style, noscript, template").forEach(function(e){e.remove()}),t.body.querySelectorAll("br").forEach(function(e){e.replaceWith(" ")}),t.body.textContent}function t(e,t,i){this.element=e,this.images=[],this.controls={},this.transition=t||"fade",this.autostart=i}t.prototype.showLoadingImage=function(e){if(e){this.loadingImage_=document.createElement("div"),this.loadingImage_.className="jetpack-slideshow-loading";var t=document.createElement("img");t.src=jetpackSlideshowSettings.spinner,this.loadingImage_.appendChild(t),this.loadingImage_.appendChild(this.makeZeroWidthSpan()),this.element.append(this.loadingImage_)}else this.loadingImage_&&(this.loadingImage_.parentNode.removeChild(this.loadingImage_),this.loadingImage_=null)},t.prototype.init=function(){this.showLoadingImage(!0);for(var t=this,i=0;i<this.images.length;i++){var n=this.images[i],s=document.createElement("img");s.src=n.src,s.title=void 0!==n.title?n.title:"",s.alt=void 0!==n.alt?n.alt:"",s.setAttribute("itemprop","image"),s.nopin="nopin";var o=document.createElement("div");
174o.className="jetpack-slideshow-slide-caption",o.setAttribute("itemprop","caption description"),o.textContent=e(n.caption);var a=document.createElement("div");a.className="jetpack-slideshow-slide",a.setAttribute("itemprop","associatedMedia"),a.setAttribute("itemscope",""),a.setAttribute("itemtype","https://schema.org/ImageObject"),0===i&&(s.complete?setTimeout(function(){t.finishInit_()},1):s.addEventListener("load",function(){t.finishInit_()})),a.appendChild(s),s.removeAttribute("width"),s.removeAttribute("height"),a.appendChild(this.makeZeroWidthSpan()),a.appendChild(o),this.element.append(a)}},t.prototype.makeZeroWidthSpan=function(){var e=document.createElement("span");return e.className="jetpack-slideshow-line-height-hack",-1!==window.navigator.userAgent.indexOf("MSIE ")?e.appendChild(document.createTextNode(" ")):e.innerHTML=" ",e},t.prototype.finishInit_=function(){this.showLoadingImage(!1);var e=this;if(this.images.length>1){this.renderControls_(),jQuery(this.element).cycle({fx:this.transition,prev:this.controls.prev,next:this.controls.next,timeout:jetpackSlideshowSettings.speed,slideExpr:".jetpack-slideshow-slide",onPrevNextEvent:function(){return e.onCyclePrevNextClick_.apply(e,arguments)}});var t=this.element;this.autostart||(jQuery(t).cycle("pause"),this.controls.stop.classList.remove("running"),this.controls.stop.classList.add("paused")),this.controls.stop.addEventListener("click",function(e){var i=e.currentTarget;i===e.target&&(e.preventDefault(),i.classList.contains("paused")?(i.classList.add("running"),i.classList.remove("paused"),jQuery(t).cycle("resume",!0)):(jQuery(t).cycle("pause"),i.classList.remove("running"),i.classList.add("paused")))})}else this.element.children.length&&(this.element.children[0].style.display="block",this.element.style.position="relative");this.initialized_=!0},t.prototype.renderControls_=function(){if(!this.controlsDiv_){var e=document.createElement("div");e.className="jetpack-slideshow-controls";for(var t=["prev","stop","next"],i=0;i<t.length;i++){var n=t[i],s="label_"+n,o=document.createElement("a");o.href="#",o.className="button-"+n,o.setAttribute("aria-label",jetpackSlideshowSettings[s]),o.setAttribute("role","button"),e.appendChild(o),this.controls[n]=o}this.element.append(e),this.controlsDiv_=e}},t.prototype.onCyclePrevNextClick_=function(e,t){if(jetpackSlideshowSettings.blog_id){var i=this.images[t].id;(new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?host="+encodeURIComponent(document.location.host)+"&rand="+Math.random()+"&blog="+jetpackSlideshowSettings.blog_id+"&subd="+jetpackSlideshowSettings.blog_subdomain+"&user_id="+jetpackSlideshowSettings.user_id+"&post="+i+"&ref="+encodeURIComponent(document.location)}},function(){function e(){document.querySelectorAll(".jetpack-slideshow-noscript").forEach(function(e){e.remove()}),document.querySelectorAll(".jetpack-slideshow").forEach(function(e){if("true"!==e.dataset.processed){var i=e.dataset.trans,n="true"===e.dataset.autostart,s=JSON.parse(e.dataset.gallery||"[]"),o=new t(e,i,n);o.images=s,o.init(),e.dataset.processed="true"}})}document.addEventListener("DOMContentLoaded",e),document.body.addEventListener("post-load",e)}()})();;
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.