(self.webpackChunkpublisher_sdk=self.webpackChunkpublisher_sdk||[]).push([[179],{1420:function(e,t,n){var r;void 0===(r=function(e){var t=n(6401).X,r=n(9506).global,o=n(4939).k.child({name:"ErrorLogger",color:"red"});function a(e){window.Raven&&window.Raven.captureException(e,{tags:{url:r.location.href}})}return{logException:function(e,n,r){var i="Level:"+e+" component:"+n;r&&(i+=" message:"+r.message),o.log("Logging error level: %s component: %s",e,n),o.error(i),t.debug||a(r)},error:function(e,n,r){var i=e+" "+n+" ";try{i+=JSON.stringify(r)}catch(e){i+=r}o.log("Logging error level: %s component: %s",e,n),o.error(i),t.debug||a(i)}}}.call(t,n,t,e))||(e.exports=r)},7437:function(e,t,n){var r;void 0===(r=function(e){var t,r,o=n(1022),a=n(9506).global,i=n(8739).iframe,s=n(3316),l=s.calculatePositionInsideParent,c=s.parseUnitAndAmount,u=["header#masthead",".header","#header","footer",".shareaholic-footer","#footer","aside",".sidebar","#sidebar",".comment"].join(","),h="shareaholic-media-target-hover-state",d=/gravatar/g,p=/pageview\.gif/g;function f(e){var n,s,l,c;return!(!r.isPinterestShareablePage||o.parentMatches(e,u,"body, html")||t.ignore_links_to_other_images&&function(e){for(var t=e;null!==t&&!o.matches(t,"a");)t=t.parentElement;if(!t)return!1;var n=t.getAttribute("href");return/\.(gif|jpg|jpeg|png|webp|svg)$/i.test(n)}(e)||t.ignore_links_to_other_pages&&function(e){for(var t=e;null!==t&&!o.matches(t,"a");)t=t.parentElement;return!!t&&r.isOtherDomain(t.getAttribute("href"))}(e)||(n=e,s=a.getComputedStyle(n),l=parseFloat(s.width),c=parseFloat(s.height),!!(l<80||c<80||l<120&&c<120))||function(e){var t=o.uiDOM("header");if(t)for(var n=e;null!==n;){if(n===t)return!0;n=n.parentNode}return!1}(e)||"nopin"===e.getAttribute("nopin")||null!==e.getAttribute("data-pin-nopin")&&e.getAttribute("data-pin-nopin").length>0||p.test(e.getAttribute("src"))||d.test(e.getAttribute("src"))||null!==e.querySelector(".".concat(h))||null!==i.contentWindow.document.querySelector(".shareaholic-standard-modal"))}function m(e,t){e.classList.remove(h),t.style.display="none"}function g(e,t,n){e=function(e){var t=e.parentElement,n=a.getComputedStyle(t),r=a.getComputedStyle(e),o=parseFloat(n.width),i=parseFloat(n.height),s=parseFloat(r.width),l=parseFloat(r.height);return 0===i||0===o||o===s&&i===l?e:o<=s&&i<=l?t:e}(e),function(e,t){var n=e.ownerDocument.defaultView,r=a.getComputedStyle(e),o=e.getBoundingClientRect();t.style.height=r.height,t.style.width=r.width,t.style.left=o.left+n.pageXOffset+"px",t.style.top=o.top+n.pageYOffset+"px"}(e,t);var r=a.getComputedStyle(e),o=n.position||"upper-left",i=t.querySelector(".shareaholic-share-buttons-wrapper.shareaholic-ui");if(null!==i){var s=function(e,t,n){return l(e,t,n)}(i,t,o);i.style.top=s.top+"px",i.style.left=s.left+"px",i.style.pointerEvents="auto",i.style.position="absolute";var u=c(n.vertical_offset||""),h=u.amount,d=c(n.horizontal_offset||""),p=d.amount,f=c(n.icon_padding||"").amount;"%"===u.unit&&(h=h*parseFloat(r.height)/100),"%"===d.unit&&(p=p*parseFloat(e.width)/100),function(e,t,n,r,o,i,s){var l=0,c=0,u=a.getComputedStyle(t);if(n.indexOf("lower")>=0?c=-r:n.indexOf("upper")>=0&&(c=r),n.indexOf("right")>=0){var h=e.querySelectorAll("li"),d=a.getComputedStyle(h[0]),p=0;"horizontal"===s?(p=(parseFloat(d.width)+i)*h.length,n.indexOf("lower")>=0&&(e.style.top=parseFloat(u.height)-parseFloat(d.height)-r)):p=parseFloat(d.width),l=-o,e.style.left=parseFloat(u.width)-p}else n.indexOf("left")>=0&&(l=o);e.style.transform="translate("+l+"px, "+c+"px)"}(i,e,o,h,p,f,n.orientation)}}function v(e,n,r){n.style.display="none",n.style.visibility="hidden";var a=o.getZindex(r);e.classList.add(h),"auto"===n.style.top&&(n.style.top="-1000px"),n.style.position="absolute",g(e,n,t),n.style.display="inline-block",n.style.zIndex=a}return function(e,n,o){var a={};return(t=n).demo?a={render:v,updateOffsets:g}:(r=o.getPageInfo(),a={targetSelector:"img",targetEnter:f,targetLeave:m,targetPosition:v}),{type:"hover",appName:e,limit:1,canvasOptions:a}}}.call(t,n,t,e))||(e.exports=r)},6252:function(e,t,n){var r;void 0===(r=function(e){var t,r,o,a=n(6447).S,i=[];function s(){var e=(new a).canonicalUrl;e!==t?(window.clearTimeout(o),t=e,i.forEach((function(e){return e()}))):(o&&window.clearTimeout(o),o=window.setTimeout(s,250))}return{trackURL:function(e){var n;i.length||(n=new a,r=window.location.href,t=n.canonicalUrl.toString(),setInterval((function(){window.location.href!==r&&(r=window.location.href,s())}),500)),i.push(e)}}}.call(t,n,t,e))||(e.exports=r)},9342:function(e,t,n){var r;void 0===(r=function(){return{getCurrentDateEpochFormat:function(){return+new Date}}}.call(t,n,t,e))||(e.exports=r)},4092:function(e,t,n){var r;void 0===(r=function(e){"use strict";var t=n(4939).k.child({name:"Profiler",color:"maroon"});return{logTime:function(e){var n=new Date;e=e||"No message",t.log([n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()].join(":"),e)}}}.call(t,n,t,e))||(e.exports=r)},5395:function(e,t,n){var r;void 0===(r=function(e){"use strict";var t=n(6015),r=n(9342),o=n(9506).global,a="targeting",i="numberOfPageViews",s="numberOfSessions",l="firstVisit",c="lastVisit",u="currentExternalReferrer",h="originalExternalReferrer",d="currentSessionStartedAt",p="currentPageViews";return{_preProcessSiteID:function(e){return e="SHR:"+(e=""===(e=e||"default").trim()?"default":e)},_getDataUsingSiteID:function(e){e=this._preProcessSiteID(e);var n=t.getObject(e);return(n=n||{})[a]=n[a]||{},n[a][i]=n[a][i]||0,n[a][s]=n[a][s]||0,n[a][p]=n[a][p]||0,n[a][l]=n[a][l]||r.getCurrentDateEpochFormat(),n[a][c]=n[a][c]||r.getCurrentDateEpochFormat(),n[a][u]=n[a][u]||null,n[a]},_storeVisitorMetrics:function(e,n){return e=this._preProcessSiteID(e),t.setObject(e,{targeting:n})},_isNewSession:function(e){var t=new Date;return t.setMinutes(t.getMinutes()-30),e<+t},_getDomainFromURL:function(e){if(""===e.trim())return"";var t=document.createElement("a");return t.href=e,t.hostname},track:function(e,t){var n=this._getDataUsingSiteID(t);n[i]++,n[c]=r.getCurrentDateEpochFormat(),(void 0===n[d]||this._isNewSession(n[d]))&&(n[s]+=1,n[d]=r.getCurrentDateEpochFormat(),n[p]=0),n[p]++;var a=e.referrer,l=o.document.location.hostname;return a.indexOf(l)<0&&(n[u]=a,n.currentExternalReferrerDomain=this._getDomainFromURL(a),n[h]=n[h]||n[u]),n.currentPageViewStartedAt=r.getCurrentDateEpochFormat(),this._storeVisitorMetrics(t,n),n},getVisitorMetrics:function(e){return this._getDataUsingSiteID(e)}}}.call(t,n,t,e))||(e.exports=r)},1899:function(e,t,n){"use strict";n.r(t),n.d(t,{load:function(){return d}});var r=n(1022),o=n(6190),a=n(4939),i=n(4074),s=n(6401),l=n(5395),c=n(3316),u=(0,a.h)({name:"Partners",color:"#009900"});function h(e,t){var n=function(e,t){var n={},r=t.pageUrl.toString(),o=t.canonicalUrl;if(r&&(n.location=r),o&&o!==r&&(n.canonical=o),"file:"===window.location.protocol.toString()){var a=new URL("https://"+e.domain).toString();n.location=a}return n}(e,t);return t.referrer&&(n.referrer=t.referrer),t.lang&&(n.cl=t.lang),n.id_sync=s.X.uuid,s.X.e_cookie_enc?n.ee=s.X.e_cookie_enc:s.X.e_enc?n.ee=s.X.e_enc:s.X.e_hash&&(n.e=s.X.e_hash),n}function d(e,t){return new i.Promise((function(n,a){var i;try{i=function(e){if(void 0===e.enabled)throw new Error("undefined enabled property");if(!e.partnersUrl)throw new Error("No partners url");return e}(e),function(e,t){if(e.enabled&&t.isShareable&&!(0,c.isBot)()&&!t.hasEmailAddressInURL&&t.isCurrentUrlHttpUrl){var n,a,i=h(e,t),s=l.getVisitorMetrics(e.apiKey);for(var d in s.numberOfPageViews&&(i.pvs=s.numberOfPageViews),e.apiKey&&(i.site=e.apiKey),e.hashOnly?(n=new URL(e.partnersHashUrl),a=(0,o.EL)("shr-partners")):(n=new URL(e.partnersUrl),a="shr-partners"),i)n.searchParams.set(d,i[d]);(0,r.loadScript)(n.toString(),{id:a,async:!0,preload:!1,context:"body"})}else u.log("Do not load Partners...")}(i,t),n()}catch(t){u.error("Could not render partners: ",t),t.data=e,a(t)}}))}},7006:function(e,t,n){"use strict";n.d(t,{X:function(){return d}});var r=n(1022),o=n(5660),a=n(9506),i=n(6190),s=n(3316);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t0}))}},{key:"fromTopPercentage",value:function(e){return(0,r.fromTopPercentage)(e)}},{key:"fromTopPixel",value:function(e){return(0,r.fromTopPixel)(e)}},{key:"elementVisible",value:function(e){return(0,r.elementVisible)(e)}},{key:"onContentChange",value:function(e){this.contentChangeHandlers.push(e)}},{key:"offContentChange",value:function(e){this.contentChangeHandlers=this.contentChangeHandlers.filter((function(t){return t!==e}))}},{key:"onResize",value:function(e){var t=(0,i.Ds)(e,100);this.resizeElement.addEventListener("resize",t),this.resizeHandlers.push(e),this.debouncedResizeHandlers.push(t)}},{key:"offResize",value:function(e){var t=this.resizeHandlers.indexOf(e),n=this.debouncedResizeHandlers[t];this.resizeElement.removeEventListener("resize",n),this.resizeHandlers=this.resizeHandlers.filter((function(t){return t!==e})),this.debouncedResizeHandlers=this.debouncedResizeHandlers.filter((function(e){return e!==n}))}},{key:"onScroll",value:function(e){var t=(0,i.Ds)(e,100);this.scrollElement.addEventListener("scroll",t),this.scrollHandlers.push(e),this.debouncedScrollHandlers.push(t)}},{key:"offScroll",value:function(e){var t=this.scrollHandlers.indexOf(e),n=this.debouncedScrollHandlers[t];this.scrollElement.removeEventListener("scroll",n),this.scrollHandlers=this.scrollHandlers.filter((function(t){return t!==e})),this.debouncedScrollHandlers=this.debouncedScrollHandlers.filter((function(e){return e!==n}))}},{key:"onTouchMove",value:function(e){var t=(0,i.Ds)(e,100);this.touchMoveElement.addEventListener("touchmove",t),this.touchMoveHandlers.push(e),this.debouncedTouchMoveHandlers.push(t)}},{key:"offTouchMove",value:function(e){var t=this.touchMoveHandlers.indexOf(e),n=this.debouncedTouchMoveHandlers[t];this.touchMoveElement.removeEventListener("touchmove",n),this.touchMoveHandlers=this.touchMoveHandlers.filter((function(t){return t!==e})),this.debouncedTouchMoveHandlers=this.debouncedTouchMoveHandlers.filter((function(e){return e!==n}))}},{key:"refresh",value:function(){this.pageInfo.clear(),this.contentInfo=this.pageInfo.getContentInfo(this.root),this.elementInfo=c(c({},this.pageInfo.getElementInfo(this.root)),{},{appName:this.appName})}}])&&u(t.prototype,n),l&&u(t,l),Object.defineProperty(t,"prototype",{writable:!1}),e}()},1816:function(e,t,n){"use strict";function r(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&(n=e.dataset.pinMedia.trim())),this.posts.length<=1)t={images:p([n].concat(this.getPageImages())),link:this.canonicalUrl,title:this.title,description:this.description};else{var o=function(e){for(var t=e.parentElement;!(0,r.matches)(t,"body");){if(m.test(t.getAttribute("id")||"")||t.classList.contains("post")||(0,r.matches)(t,"[class*=entry]")&&(0,r.matches)(t,"article"))return t;t=t.parentElement}return e}(e);t={images:p([n].concat(this.getPostImages(o))),link:this.getPostCanonicalUrl(o,this.posts.length),title:this.getPostTitle(o),description:""}}return t}},{key:"contentInfo",value:function(e){return this.getContentInfo(e)}},{key:"getElementInfo",value:function(e){var t={};e.parentElement&&(t=this.getElementInfo(e.parentElement));var n=t.appConfig;if((t=Object.assign(t,e.dataset)).url&&(t.url=t.url.trim()),t.link&&(t.link=(0,s.cleanLink)(t.link.trim())),t.title&&(t.title=(0,s.cleanTitle)(t.title.trim())),t.url&&!t.link&&(t.link=(0,s.cleanLink)(t.url)),t.services&&(t.services=t.services.split(",").map((function(e){return e.trim()}))),t.appConfig&&(0,a.HD)(t.appConfig)){var r;try{r=JSON.parse(t.appConfig)}catch(e){delete t.appConfig}r&&(t.appConfig=(0,a.RH)(n,r))}return t.description&&(t.description=t.description.trim()),t}},{key:"elementInfo",value:function(e){return this.getElementInfo(e)}},{key:"getPageCanonicalUrl",value:function(){var e=this;return this.getCache("canonicalUrl",(function(){var t=e.getMeta("shareaholic:url");if(t||(t=function(e,t){var n=(0,r.uiDOM)(e);if(null!==n)return n.getAttribute(t)}('link[rel*="canonical"]',"href")),t||(t=e.getMeta("og:url")),t&&0!==t.indexOf("http")){var n=e.pageUrl.host;t.indexOf(n)>=0&&(t=t.slice(t.indexOf(n)+n.length)),t=new URL(t,e.pageUrl).toString()}return t&&"function"==typeof t.trim&&(t=t.trim()),t||e.pageUrl.toString()}))}},{key:"getPageKeywords",value:function(){var e=[],t=this.getAllMeta();return Object.keys(t).forEach((function(n){if(-1!==n.indexOf("keywords")){var r=t[n];r&&r.split(",").forEach((function(t){var n=t.split(":");n[0]=n[0].trim().replace(/\s+|\-/g,"_").toLowerCase(),n.length>1?e.push({label:n[0],value:n[1].trim().replace(/\s+|\-/g,"_").toLowerCase()}):e.push({label:"tag",value:n[0]})}))}})),e}},{key:"isPreviewPage",value:function(){return this._isPreviewPage(this.pageUrl)}},{key:"resetCache",value:function(){this.clear()}},{key:"updateGlobal",value:function(e){this.global=e}},{key:"_isPreviewPage",value:function(e){var t=e.pathname,n="/b/post-preview",r=t.indexOf(n);return-1!==r&&t.length-15===r}},{key:"author",get:function(){var e=this;return this.getCache("author",(function(){return e.getPageAuthor()}))}},{key:"canonicalUrl",get:function(){var e=this;return this.getCache("canonicalUrl",(function(){return e.getPageCanonicalUrl()}))||this.pageUrl.toString()}},{key:"keywords",get:function(){var e=this;return this.getCache("keywords",(function(){return e.getPageKeywords()}))}},{key:"description",get:function(){var e=this;return this.getCache("description",(function(){return e.getPageDescription()}))}},{key:"domain",get:function(){return this.pageUrl.hostname}},{key:"drupal",get:function(){var e=this;return this.getCache("drupal",(function(){return e.getDrupalVersion()}))}},{key:"hasEmailAddressInURL",get:function(){return/(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))/.test(decodeURIComponent(this.global.document.location.href))}},{key:"images",get:function(){var e=this;return this.getCache("images",(function(){return e.getPageImages()}))}},{key:"isCurrentUrlHttpUrl",get:function(){return 0===this.global.location.href.indexOf("http")}},{key:"isOtherDomain",value:function(e){return new URL(e,this.pageUrl).host!==this.pageUrl.host}},{key:"isPinterestShareablePage",get:function(){var e=this;return this.getCache("isPinterestShareablePage",(function(){return"nopin"!==e.getMeta("pinterest")}))}},{key:"isPublic",get:function(){var e=this;return this.getCache("isPublic",(function(){return-1===["draft","visibility"].indexOf(e.getMeta("shareaholic:article_visibility")||"")}))}},{key:"isShareable",get:function(){var e=this;return this.getCache("isShareable",(function(){return"false"!==e.getMeta("shareaholic:shareable_page")&&!e._isPreviewPage(e.pageUrl)}))}},{key:"lang",get:function(){var e=this;return this.getCache("lang",(function(){return e.getLanguage()}))}},{key:"pageUrl",get:function(){return new URL(this.global.document.location.href)}},{key:"posts",get:function(){var e=this;return this.getCache("posts",(function(){return e.getPosts()}))}},{key:"referrer",get:function(){return(0,s.truncateUrl)(this.global.document.referrer)}},{key:"title",get:function(){var e=(0,r.uiDOM)("title"),t=this.getMeta(["og:title","twitter:title"])||e&&e.textContent;return t||""}},{key:"wordpress",get:function(){var e=this.getMeta("shareaholic:wp_version");if(e)return{version:e}}},{key:"getCache",value:function(e,t){return this.cache[e]||(this.cache[e]=t()),this.cache[e]}},{key:"getPageAuthor",value:function(){return this.getMeta(["shareaholic:article_author_name","twitter:title","author"])||""}},{key:"getPageDescription",value:function(){return this.getMeta(["shareaholic:description","og:description","twitter:description","description"])||""}},{key:"getDrupalVersion",value:function(){var e=this.getMeta("shareaholic:drupal_version");return e?{version:e}:void 0}},{key:"getPageImages",value:function(){var e=this;return this.getCache("pageImages",(function(){var t=[],n=e.getAllMeta();return Object.keys(n).forEach((function(e){if(-1!==e.indexOf("image")){var r=n[e];r&&t.push(r)}})),b(v((0,r.uiDOM)("body")),t)}))}},{key:"getMeta",value:function(e){var t=this.getAllMeta();if((0,a.HD)(e))return t[e];for(var n=0;no&&(i=e,o=t)}var a,s,l})),i){a=i.href;try{a=new URL(a,this.pageUrl).toString()}catch(e){d.log("warning error normalizing URL ",e)}}else a=this.getPageCanonicalUrl();return a.toString()}},{key:"getPostTitle",value:function(e){var t=0,n="";return(0,s.toArray)(e.querySelectorAll("h1, header, .title")).forEach((function(e){var r=0,o=(e.textContent||"").trim().replace(/(\r\n|\n|\r)/gm,"").replace(/\s{2,}/g," ");o.length&&(r=function(e){var t=0;return e.tagName.match(/header|h1/i)&&(t+=10),e.className.match(/title/)&&(t+=8),t}(e)),r>t&&(n=o,t=r)})),n}},{key:"getPostImages",value:function(e){var t=v(e),n=this.getPageImages();return b(t,[]).concat(n)}}])&&u(t.prototype,n),i&&u(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();function v(e){if((0,r.matches)(e,"[class*=shareaholic]"))return[];var t=e.querySelectorAll("img:not([class*=shareaholic])");return(0,s.toArray)(t)}function b(e,t){return e.forEach((function(e){var n=e.src;/^http|https/.test(n)&&t.push(n)})),t}},4563:function(e,t,n){"use strict";n.d(t,{b:function(){return s}});var r=n(2046),o=n(4939),a=n(3791),i=o.k.child({name:"UserInfoProvider"});function s(e,t){var n={credentials:"include"};return e.jwt&&(n.headers={authorization:"Bearer ".concat(e.jwt)}),(0,a.EH)(t.endpoints.user_info,n).then((function(e){return e.json()||{}})).then((function(t){return t.ee&&(r.default.setCookie(t.ee),e.analytics.ehash()),t})).catch((function(e){return i.error("Error getting user_info",e),{}}))}},4261:function(e,t,n){"use strict";n.d(t,{VG:function(){return z},Q5:function(){return U},V6:function(){return D},Zb:function(){return H},lu:function(){return F},Vu:function(){return L},v6:function(){return X},Or:function(){return N}});var r=n(6190),o=n(4939),a=n(6401),i=n(3316),s=n(834),l=n(9506);function c(e,t,n,r){var o=e;return o.adzerk_site_id=n.adzerk_site_id,o.imagebase=a.X.imagebase,o.shareEndpoint=a.X.endpoints.share,o.homepage=n.homepage,o.userNavigation=Object.assign({},a.X.endpoints.user_navigation),o.shortener=r,o.follow_buttons=function(e,t){var n={};e.post_share_follow_buttons_enabled&&(n=h(e.post_share_follow_buttons_location_id,t.follow_buttons));return{apiKey:a.X.siteid,app_id:n.location_id,app_id_name:n.name,endpoint:a.X.endpoints.follow,title:n.headline_text,services_list:n.services_list,theme:n.style_class,customColors:{customColorsEnabled:n.follow_button_custom_colors,background:"#"+n.follow_button_custom_colors_bg_color,color:"#"+n.follow_button_custom_colors_logo_color,opacity:n.follow_button_custom_colors_opacity}}}(o,t),o.totalShareCountMin=o.total_share_count_min,o.analytics_utm_campaign=o.analytics_utm_campaign||t.share_buttons.analytics_utm_campaign,o.analytics_utm_medium=o.analytics_utm_medium||t.share_buttons.analytics_utm_medium,o.analytics_utm_source=o.analytics_utm_source||t.share_buttons.analytics_utm_source,o.recovery_protocols=o.recovery_protocols||t.share_buttons.recovery_protocols,o.recovery_previous_domain=o.recovery_previous_domain||t.share_buttons.recovery_previous_domain,o.recovery_base_domain=o.recovery_base_domain||t.share_buttons.recovery_base_domain,o.recovery_structure=o.recovery_structure||t.share_buttons.recovery_structure,o.recovery_previous_url_format=o.recovery_previous_url_format||t.share_buttons.recovery_previous_url_format,null==o.analytics_utm_enabled&&(o.analytics_utm_enabled=t.share_buttons.analytics_utm_enabled),o.templates=t.share_buttons.templates||{email:{subject:"${title}",body:"Link: ${link}\n\n${notes}\n\n--\nShared via ${source}"},sms:{phone:null,text:"${title} - ${link}"}},void 0===t.share_buttons.post_share_customization?o.postShareCustomization=u():(o.postShareCustomization=t.share_buttons.post_share_customization,delete o.post_share_customization),o.proxy_enabled=o.proxy_enabled||t.share_buttons.proxy_enabled,o.proxy_cache_time=o.proxy_cache_time||t.share_buttons.proxy_cache_time,o.apiKey=a.X.siteid,o}function u(e){return{"text-style":{headline:e||"Thanks for sharing!",alignment:"center-align",color:"FFFFFF","background-color":"64C667","font-family":"Open Sans","font-size":"28px","font-weight":400,"font-style":"normal"},"app-style":{"shareaholic-branding":!0,color:"555555","background-color":"FFFFFF"}}}function h(e,t){return e=e||t.default_location_id,r.RH.all([{},t,t.locations[e]])}var d={_init_legacy:!1,_init_canvases:!0,api_key:null,site_id:null,_migrate_apps:null,domain:null,homepage:null,site_name:null,_platform:null,_platform_id:null,_category_id:null,_language_id:null,_site_verified:!1,_last_checked_at:null,_dispatchers:null,_is_special:null,_container_id:"shareaholic-container",data_partners_enabled:!0,x_device_enabled:!0,adzerk_site_id:null,analytics_ga_id:"",analytics_ga_enabled:!1,badge:{enabled:!1,theme:null,position:"lower-left",offset:"15px"},apps:{prompts:{enabled:!1,data:{},properties:{}},share_buttons:{analytics_utm_source:"${service_type}",analytics_utm_medium:"${service_name}",analytics_utm_campaign:"shareaholic",analytics_utm_enabled:!0,recovery_protocols:!1,recovery_base_domain:!1,recovery_previous_domain:null,enabled:!0,templates:{email:{subject:"${title}",body:"Link: ${link}\n\n${notes}\n\n--\nShared via ${source}"},sms:{phone:null,text:"${title} - ${link}"}},locations:{1:{enabled:!0,services:["facebook","twitter","pinterest","linkedin","whatsapp","email_this"],show_all_services_button:!0,headline:{text:""},theme:"flat round",counter:"badge-counter"}},default_location_id:1,post_share_enabled:!0,post_share_ads_enabled:!0,post_share_custom_enabled:!1,post_share_custom_desktop:!1,post_share_custom_mobile:!1,post_share_follow_buttons_enabled:!1,post_share_follow_buttons_any:!1,post_share_follow_buttons_location_id:null,post_share_heading:"Thanks for sharing!",total_share_count_min:0},recommendations_bar:{enabled:!1,alignment:"top-align",vertical_offset:"0px",visibility_rules:[],z_index:1e4,mobile_alignment:"top-align",mobile_vertical_offset:"0px",mobile_visibility_rules:[],mobile_width:980,mobile_z_index:1e4},recommendations:{enabled:!0,blacklist:"",show_attribution:!0,approved_display_ads:!0,approved_native_ads:!0,promoted_content_level:0,display_ads_unit_count:4,locations:{2:{enabled:!0,theme:"",total:"medium",headline:{text:"You may also like:",style:{}}}},default_location_id:2},cookie_consent:{enabled:!1,show_to:0,message:"This website uses cookies",accept_button_text:"Okay",info_button_text:"More info",policy_url:"/privacy"},floated_share_buttons:{enabled:!1,mobile_width:"980px",services:[],show_all_services_button:!0,theme:"flat",style_class:"floated flat vertical",mobile_services:["facebook","twitter","email_this","whatsapp","sms"],mobile_class:"flat floated mobile bottom-align inset-counter",show_all_services_button_mobile:!0},_ad_spaces:{enabled:!0,approved:!1,show_attribution:!0,locations:{5:{enabled:!0,ad_format:"auto"}},default_location_id:5},follow_buttons:{enabled:!0,locations:{7:{enabled:!0,services_list:[],headline_text:"",theme:"flat"}},default_location_id:7},affiliate_links:{approved:!0,enabled:!0},anchor_ad:{enabled_mobile:!1,enabled_desktop:!1,approved:!0},_infinite_scroll_helper:{enabled:!0},_legacy_helper:{enabled:!1},total_share_count:{enabled:!0,services:["facebook","twitter","pinterest","tumblr","reddit","yummly","vk","buffer"],total_share_count:!0,total_share_count_text_color:"000000",total_share_count_bg_color:"ffffff",total_share_count_opacity:0,total_share_count_label:"Shares"},yarpp_recommendation:{analytics_utm_enabled:!1}}};function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t1&&void 0!==arguments[1]&&arguments[1]&&this.hasBeacon()){var t=new Blob([e.searchParams.toString()],{type:"application/x-www-form-urlencoded"});e.search="",navigator.sendBeacon(e.toString(),t)}else(0,c.EH)(e.toString(),{credentials:"include"})}},{key:"collapse",value:function(e){var t=e.map((function(e){return e||""}));return 1===(0,a.jj)(t).length?t[0]:t}},{key:"getBitflags",value:function(){return String((l.X.isShr?1:0)+(l.X.isYarpp?2:0)+(l.X.isShr&&this.hasPartners?4:0))}}],i=[{key:"withAccessible",value:function(t,n,r,o){return function(){if(!l.X.endpoints.ping)return s.Promise.resolve(!0);var e=sessionStorage.getItem("shrcom");return null!==e?"0"===e?(l.X.endpoints.analytics_pageview=l.X.endpoints.nt_events,l.X.endpoints.go=l.X.endpoints.nt_events,s.Promise.resolve(!1)):s.Promise.resolve(!0):(0,c.EH)(l.X.endpoints.ping,{},500).then((function(e){return e.text()})).then((function(e){return"pong"===e})).catch((function(){return!1})).then((function(e){return e?sessionStorage.setItem("shrcom","1"):(sessionStorage.setItem("shrcom","0"),l.X.endpoints.analytics_pageview=l.X.endpoints.nt_events,l.X.endpoints.go=l.X.endpoints.nt_events),e}))}().then((function(a){return new e(t,n,r,a,o)}))}}],n&&d(t.prototype,n),i&&d(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}(),v=n(1420);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y="analytics.js",w={},k=i.k.child({name:"ga",color:"#156aeb"});l.X.debug&&(y="analytics_debug.js");var x=!1;function S(){x||(x=!0,o.global.__shrTracker||(k.log("initializing Google Analytics"),function(){var e=o.global.GoogleAnalyticsObject?o.global[o.global.GoogleAnalyticsObject]:null;if(e)o.global.__shrTracker=e;else{var t="";"file:"===o.global.location.protocol.toString()&&(t="https:");var n="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','"+t+"//www.google-analytics.com/"+y+"','__shrTracker');";l.X.google_analytics.trace&&(o.global.ga_debug=o.global.ga_debug||{},o.global.ga_debug.trace=!0),(0,r.appendScriptTag)(n)}o.global.__shrTracker}()))}function O(e,t,n){S(),"social"===e?t in w?k.log(t+" already created"):w[t]=function(e,t){var n=t.name,r=t.id,a=t.settings||{};if(e=a.name||e,!r||!e)throw new TypeError("Missing required fields for GA tracker "+n);return k.log("creating tracker %s id: %s UA: %s",n,e,r),a.name=e,o.global.__shrTracker("create",r,a),o.global.__shrTracker(a.name+".set","useBeacon",!0),function(){for(var t=arguments.length,n=new Array(t),r=0;r";r+="
"+JSON.stringify(n&&n.data?n.data:n,null,2)+"
",t.root.innerHTML=r,n&&n.stack&&T.error(n.stack)}}))}(i,s)})):T.log("unknown app "+e)}function z(e,t,n){I[e]?R(e).then((function(r){j.logTime("Initialized Script App: "+e),r.load(t,n).catch((function(t){v.logException("warn",e,t),l.X.debug&&T.error(t.stack)}))})):T.log("unknown app "+e)}function L(e){return I[e]&&"loadScript"in I[e]}function D(e,t,n){var r=I[e];if(!r)return T.log("unknown app %s",e);if(!("query"in r))return T.log("no query function for app %s",e);var o=r.query(e,t,n);return r.customSelector&&(o.customSelector=r.customSelector),o}function X(e,t,n,r,o,i,l){var c,u,d=e[t],p=function(e,t,n,r,o){return function(i){var l=(0,h.toArray)(i);if(l.length){var c=l[0],u=l.slice(1);if((0,a.HD)(c)){var d=r[c];return d?d(u,e,t,n,o):(T.log("Unknown command type "+c),s.Promise.resolve(void 0))}}return T.log("Invalid command object or Unknown type",l),s.Promise.resolve(void 0)}}(r,o,i,l,n),f=[];Array.isArray(d)?(f=f.concat(d),d=null):d&&Array.isArray(d.q)&&(f=d.q,d.push=p,d.q={push:p}),d||((d={push:p}).q={push:p}),f.forEach((function(e){"init"===e[0]&&(c=e)})),u=c?p(c):s.Promise.resolve(),f=f.filter((function(e){return"init"!==e[0]})),u.then((function(){return f.forEach(p)})),e[t]=d}var U=n(6447),H=n(2046),F=n(6015),N=n(139),q=["e","ee"];function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function V(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var $=function(e,t,n,r){var o,i=e[0];(0,a.xb)(i)&&(i=(0,N.D)());var l=e[1],c=l.e,u=l.ee,h=W(l,q),d=(null===(o=(0,F.getObject)("shr_u"))||void 0===o?void 0:o.attributes)||{};return(0,F.setObject)("shr_u",{id:i,attributes:V(V({},d),h)}),!(0,a.xb)(h.email)&&h.email?(0,H.setCookie)(h.email):u?((0,H.setCookie)(u),r.ehash(),K()):c&&((0,H.setHash)(c),r.ehash(),K()),s.Promise.resolve(void 0)};function K(){var e=(0,C.VG)();if(e.partners.enabled){var t=e.partners;t.hashOnly=!0,z("partners",t,new U.S)}}var Y=n(834);function Z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return J(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return J(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=8}))).length?t[0]:""}},{key:"_activate",value:function(e,t){this.target=e,this.elementInfo=Object.assign({},e.dataset),this.elementInfo.mediaInfo=this.elementInfo.mediaInfo||{title:"",pinURL:""},this.elementInfo.mediaInfo.title=(0,h.cleanTitle)(this._getPinnableImageDesc(e)),this.elementInfo.mediaInfo.pinURL=(0,h.cleanLink)(this._getPinnableLink(e)),this.contentInfo=this.pageInfo.getContentInfo(e),this.targetPosition(e,this.root,t),this.updateContent()}}])&&ie(t.prototype,n),a&&ie(t,a),Object.defineProperty(t,"prototype",{writable:!1}),s}(ee.X);function me(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?(t.push(s[a].dataset.shrUrl),s.splice(a,1)):a++;t.length&&n.recommendationView(t,[],[],[]),s.length||o.global.removeEventListener("scroll",e)};l(),s.length&&o.global.addEventListener("scroll",l);var c=function(n,r,o,a){t.analytics.ga.utm_preserve&&n.searchParams.get(r)||o&&(a&&(o=(0,h.expandUtmTemplate)(o,t,e.pageInfo,e.elementInfo)),o&&n.searchParams.set(r,o))};t.analytics.ga.utm_enabled&&a.forEach((function(e){e.dataset.shrUrl=e.href;var n=new URL(e.href);c(n,"utm_campaign",t.analytics.ga.utm_campaign,!1),c(n,"utm_medium",t.analytics.ga.utm_medium,!0),c(n,"utm_source",t.analytics.ga.utm_source,!0),e.href=n.toString()}))}}var Oe=n(1816),Ee=n(4563),Pe=/^\s.+\{"apps":\{"share_buttons":\{"get_share_counts"/m,Ce=/^\s+Shareaholic\.Utils\.ajax\(\{(?:\r|\n|.)+\}\)$/m,je=/^\s+url: '(.+)',/gm,Ae=/^\s+data: \{ action: '(.+)', .+$/gm,Ie={getShareCountEndpoint:function(e){var t,n=e.querySelectorAll("script:not([src])");function r(e){var t,n;if(Pe.test(e))return t=Ce.exec(e),Ce.lastIndex=0,t&&(n=function(e){var t,n,r="";if(e)return t=je.exec(e),je.lastIndex=0,t&&2===t.length&&(r=t[1]),t=Ae.exec(e),Ae.lastIndex=0,t&&2===t.length&&(n=t[1]),r&&(r=new URL(r)),r&&n&&(r.search="",r.searchParams.set("action",n)),r.toString()}(t[0])),n}return(0,a.sE)((0,h.toArray)(n),(function(e){var n=e.innerHTML;return t=r(n)})),t}};function Re(e){return Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Re(e)}function Te(e,t){for(var n=0;n0&&(o.global.document.body.style.top="".concat(-1*e,"px")),o.global.document.body.classList.add("shr-ios-modal")},stop:function(){null!=e&&(o.global.document.body.style.top=""),o.global.document.body.classList.remove("shr-ios-modal"),null!=e&&(o.global.scrollBy(0,e),e=null)}}),t}(),Ge=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Be(this,"_iframe",void 0),Be(this,"_document",void 0),Be(this,"_locked",void 0),Be(this,"_pendingRequests",void 0),Be(this,"_iframeBody",void 0),Be(this,"_modalFrame",void 0),Be(this,"_canvasRoot",void 0),Be(this,"_canvasSpinner",void 0),Be(this,"_canvas",void 0),Be(this,"_pageInfo",void 0),Be(this,"_oldOverflow",void 0),this._iframe=t||Fe.iframe,this._pageInfo=n,this._document=o.global.document,this._locked=!1,this._pendingRequests=[],this._iframeBody=null,this._modalFrame=null,this._canvasRoot=null,this._canvasSpinner=null,this._canvas=null,this._onKeyup=this._onKeyup.bind(this),this._onClick=this._onClick.bind(this)}var t,n,a;return t=e,n=[{key:"_addFeatureStyles",value:function(e){He.flexBox&&e.classList.add("shareaholic-flexbox"),(0,He.touch)()&&e.classList.add("shareaholic-touchable")}},{key:"_getIframe",value:function(){return this._iframe?s.Promise.resolve(this._iframe):s.Promise.resolve(Fe.iframe)}},{key:"_getCanvasRoot",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._canvasRoot&&(this._canvasRoot.parentNode.removeChild(this._canvasRoot),this._canvasRoot=null),null===this._modalFrame&&(this._modalFrame=this._document.createElement("div"),this._modalFrame.style.visibility="hidden",this._modalFrame.style.opacity="0",this._modalFrame.style.position="fixed",this._modalFrame.style.width="100%",this._modalFrame.style.zIndex="2147483644",this._modalFrame.style.background="rgba(0,0,0,0.8)",this._modalFrame.style.top="0",this._modalFrame.style.left="0",this._modalFrame.style.right="0",this._modalFrame.style.bottom="0",this._modalFrame.style.overflow="hidden"),this._modalFrame.classList.add("shareaholic_panel","shareaholic-ui"),t.noPrint&&this._modalFrame.classList.add("shr-no-print"),this._getIframe().then((function(n){return new s.Promise((function(o){n.insertAdjacentElement("afterend",e._modalFrame),e._iframeBody=n.contentWindow.document.body,e._addFeatureStyles(e._iframeBody),t.noPrint&&e._iframeBody.classList.add("shr-no-print"),(0,r.ensureStyles)("modalstyles",'html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}.shareaholic-whirl{position:relative}.shareaholic-whirl:before{content:"";z-index:1;position:absolute;top:0;right:0;bottom:0;left:0;background-color:#999;opacity:.6;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:alpha(opacity=60)}.shareaholic-whirl:after{z-index:2;content:"";height:40px;width:40px;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px;-webkit-transition:all .75s ease 0s;-webkit-transition:all 0.75s ease 0s;-moz-transition:all 0.75s ease 0s;-o-transition:all 0.75s ease 0s;-ms-transition:all 0.75s ease 0s;transition:all 0.75s ease 0s;border-radius:100%;border-top:4px solid #555;-webkit-animation:standard .75s infinite linear;-webkit-animation:standard .75s infinite linear;-moz-animation:standard .75s infinite linear;-o-animation:standard .75s infinite linear;-ms-animation:standard .75s infinite linear;animation:standard .75s infinite linear;-webkit-transform-origin:center;-ms-transform-origin:center;-webkit-transform-origin:center;-moz-transform-origin:center;-o-transform-origin:center;-ms-transform-origin:center;transform-origin:center}.shareaholic-whirl.shareaholic-traditional:after{border-right:4px solid #777;border-top:4px solid #777;border-left:4px solid #999;border-bottom:4px solid #bbb}html,body{width:100%;height:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;color:#000}*,*:before,*:after{-webkit-box-sizing:inherit;-moz-box-sizing:inherit;box-sizing:inherit}.shareaholic-canvasRoot{height:100%;overflow:hidden;position:absolute;top:-100%;width:100%;-webkit-transition:top 350ms;-moz-transition:top 350ms;-o-transition:top 350ms;-ms-transition:top 350ms;transition:top 350ms;-webkit-transition-timing-function:cubic-bezier(0,1,.5,1);-moz-transition-timing-function:cubic-bezier(0,1,.5,1);-o-transition-timing-function:cubic-bezier(0,1,.5,1);-ms-transition-timing-function:cubic-bezier(0,1,.5,1);transition-timing-function:cubic-bezier(0,1,.5,1)}.shareaholic-canvasRoot .shareaholic-standard-modal .shareaholic-content{height:auto;border-left:1px solid #f5f5f5;border-right:1px solid #f5f5f5}.shareaholic-canvasRoot.shr-fast{-webkit-transition:none;-moz-transition:none;-o-transition:none;-ms-transition:none;transition:none}.shareaholic-canvasRoot.shareaholic-show{top:0}.shareaholic-canvasSpinner{display:none;position:fixed;top:0;left:0;width:100%;height:100%}.shareaholic-canvasSpinner.shareaholic-whirl:before{background:transparent}.shareaholic-canvasSpinner.shareaholic-show{display:inherit}.shareaholic-standard-modal{font-family:\'helvetica neue\',arial,helvetica,sans-serif;color:#555;min-height:300px;background:transparent;max-width:600px;min-width:300px;margin:0 auto 5px;border-radius:0;position:relative}.shareaholic-standard-modal.shareaholic-show{top:10%}@media only screen and (max-width:600px){.shareaholic-standard-modal.shareaholic-show{position:absolute;top:0;bottom:0;left:0;right:0}}.shareaholic-standard-modal.shareaholic-medium-height{max-height:550px}@media only screen and (max-width:600px){.shareaholic-standard-modal.shareaholic-medium-height{max-height:none !important}}.shareaholic-standard-modal a{color:#555;text-decoration:none}.shareaholic-standard-modal .shareaholic-header,.shareaholic-standard-modal .shareaholic-footer{font-size:12px;line-height:1.2;height:35px;background:#f5f5f5}.shareaholic-standard-modal .shareaholic-header{padding-left:10px;border-radius:0 0 0 0;text-align:center}.shareaholic-standard-modal .shareaholic-header h3{display:inline-block;margin:9px 0}.shareaholic-standard-modal .shareaholic-header .shareaholic-widget{position:absolute;top:0;height:35px;right:45px}.shareaholic-standard-modal .shareaholic-header .shareaholic-button span{font-size:13px;position:relative;top:-1px}.shareaholic-standard-modal .shareaholic-header .shareaholic-button{position:absolute;top:0;height:35px;-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,0.5);box-shadow:inset 1px 0 0 rgba(255,255,255,0.5);font-size:20px;line-height:35px;padding:0 11px}.shareaholic-standard-modal .shareaholic-header .shareaholic-button:hover{background:#eee;cursor:pointer}.shareaholic-standard-modal .shareaholic-header .shareaholic-close{right:0;cursor:pointer;border-left:1px solid #eee;border-radius:0 0 0 0}.shareaholic-standard-modal .shareaholic-header .shareaholic-back{left:0;border-right:1px solid #ddd;border-radius:0 0 0 0;width:65px}.shareaholic-standard-modal .shareaholic-header .shareaholic-back span{margin-left:5px}.shareaholic-standard-modal .shareaholic-footer{height:44px;padding:16px 18px 0 18px;border-bottom:1px solid #d7d7d7;border-radius:0 0 0 0;width:100%}.shareaholic-standard-modal .shareaholic-footer .shareaholic-logo{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;float:left;margin-top:-2px;background:url("{{#imagebase}}logo-optimized.svg{{/imagebase}}") 0 0 no-repeat;background-size:100% 100%;width:95px;height:18px}@media only screen and (max-width:600px){.shareaholic-standard-modal .shareaholic-footer .shareaholic-logo{background:url("{{#imagebase}}shareaholic-logo-mark.svg{{/imagebase}}") 0 0 no-repeat;width:18px}}.shareaholic-standard-modal .shareaholic-footer .shareaholic-privacy{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;float:right}.shareaholic-standard-modal .spacer{height:100%;padding-bottom:79px}.shareaholic-standard-modal .shareaholic-content{padding:5px 18px;overflow-y:auto;-webkit-overflow-scrolling:touch;background:#fff;height:100%}.shareaholic-standard-modal .shareaholic-content.shareaholic-no-scroll{overflow-y:hidden}.shareaholic-flexbox .shareaholic-standard-modal{display:-webkit-box;display:-moz-box;display:-webkit-flex;display:-ms-flexbox;display:box;display:flex;-webkit-box-orient:vertical;-moz-box-orient:vertical;-o-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:calc(90% - 5px)}.shareaholic-flexbox .shareaholic-standard-modal .shareaholic-header{-webkit-box-flex:1;-moz-box-flex:1;-o-box-flex:1;box-flex:1;-webkit-flex:0 0 35px;-ms-flex:0 0 35px;flex:0 0 35px}.shareaholic-flexbox .shareaholic-standard-modal .shareaholic-footer{-webkit-box-flex:1;-moz-box-flex:1;-o-box-flex:1;box-flex:1;-webkit-flex:0 0 44px;-ms-flex:0 0 44px;flex:0 0 44px;-ms-flex-preferred-size:30px}.shareaholic-flexbox .shareaholic-standard-modal .shareaholic-content{height:auto}@media only screen and (max-width:600px){.shareaholic-flexbox .shareaholic-standard-modal .shareaholic-content{height:100%}}@media only screen and (max-width:600px){.shareaholic-flexbox .shareaholic-standard-modal{height:100%}}',e._iframeBody),(0,r.ensureStyles)("shr-common",Ne,e._iframeBody),n.style.zIndex="2147483645",n.style.position="fixed",n.style.width="100%",n.style.height="100%",n.style.top="0",n.style.left="0",n.style.right="0",n.style.bottom="0",n.style.overflow="scroll",(0,h.addAccessibilityListener)(n.contentWindow.document),e._canvasRoot=e._document.createElement("div"),e._canvasRoot.setAttribute("id","canvasRoot"),e._canvasRoot.setAttribute("class","shareaholic-canvasRoot"),null===e._canvasSpinner&&(e._canvasSpinner=e._document.createElement("div"),e._canvasSpinner.setAttribute("id","canvasSpinner"),e._canvasSpinner.setAttribute("class","shareaholic-canvasSpinner shareaholic-whirl shareaholic-traditional")),e._iframeBody.appendChild(e._canvasSpinner),e._iframeBody.appendChild(e._canvasRoot),n.style.display="block",e._hideModalContent(),window.setTimeout((function(){o(e._canvasRoot)}),1)}))}))}},{key:"_renderNextModal",value:function(){var e=this._pendingRequests.pop();e?e.resolve(this._generateCanvas(e.options)):(this._locked=!1,this._hideModalFrame())}},{key:"_hideModalFrame",value:function(){this._iframeBody.removeEventListener("keyup",this._onKeyup),this._iframeBody.removeEventListener("click",this._onClick);for(var e=this._iframeBody.querySelectorAll(".shareaholic-standard-modal"),t=0;t\n
\n

\n Close\n
\n
\n \n\n',a.querySelector("img").src="".concat(t.imagebase,"times-light.svg"),"medium"===t.height)for(r=a.querySelectorAll(".shareaholic-standard-modal"),o=0;o0}function S(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector).call(e,t)}function O(e,t,n){for(var r=e.parentElement;null!==r;){if(n&&S(r,n));else if(S(r,t))return!0;r=r.parentElement}return!1}function E(e,t){var n=d(t=t||"body");null!==n&&n.appendChild(e)}function P(e,t){var n=u.document.createElement("script"),r=u.document.createTextNode(e);return n.appendChild(r),(t=t||o.global.document.body).appendChild(n),n}function C(e,t){var n=u.document.createElement("script");if(t=t||{},n.setAttribute("data-cfasync","false"),t.async&&(!0===t.async?n.async=!0:n.async=!1),t.preload&&!0===t.preload){var r=u.document.createElement("link");r.href=e,r.rel="preload",r.as="script",u.document.head.appendChild(r)}if(t.id){var o=d("script#"+t.id);if(null!==o)return c.log("script tag with id %s already exists",t.id),o;n.id=t.id}return n.src=e,E(n,t.context),n}function j(e){if(!e)return"";var t="";return Object.keys(e).forEach((function(n){t+="".concat(n,":").concat(e[n],";")})),t}function A(e){u=e}function I(e,t){if("ResizeObserver"in o.global){new ResizeObserver(t).observe(e)}else{var n=(0,l.getWindowDimension)().width,r=parseFloat(getComputedStyle(e).width);setInterval((function(){var o=(0,l.getWindowDimension)().width;n!==o&&(n=o,o=parseFloat(getComputedStyle(e).width),r!==o&&(r=o,t()))}),500)}}function R(e){return navigator.clipboard?navigator.clipboard.writeText(e):new i.Promise((function(t,n){var r=function r(a){o.global.removeEventListener("copy",r),null!==a.clipboardData?(a.clipboardData.setData("text/plain",e),a.preventDefault(),t()):n()};try{o.global.addEventListener("copy",r),o.global.document.execCommand("copy")||(o.global.removeEventListener("copy",r),n())}catch(e){o.global.removeEventListener("copy",r),n()}}))}},8444:function(e,t,n){"use strict";n.r(t),n.d(t,{flexBox:function(){return a},localStorage:function(){return o},sessionStorage:function(){return s},touch:function(){return i}});var r,o=function(){var e="modernizr";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}(),a="flexWrap"in(r=document.documentElement.style)||"WebkitFlexWrap"in r||"msFlexWrap"in r;function i(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}var s=function(){var e="modernizr";try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(e){return!1}}()},2046:function(e,t,n){"use strict";n.r(t),n.d(t,{setHash:function(){return b},setCookie:function(){return _},run:function(){return x}});var r,o=n(6447),a=n(4261),i=n(9424),s=n(9506),l=n(4939),c=n(4074),u=n(6401),h=n(6437),d=n(3316),p=(0,l.h)({name:"SHR_E",color:"rebeccapurple"}),f="951c893464c05bb87b06616bef2a168603070b8c3c45b33d02b8145624545ad6fc294fd22cc78193dcedcfb20def7e35ff8110c531fa9c2630e658f3b0b7fd03a801a0ce7c37cb708c648fe6314c2248b65e2a72817f64afcb995c8f26d18e53197b29b88f00787e35365316827f0a2cb0661606c9c1a5b3f0856c43ef815210df2ac34daab7a887cf1ccff3f06aeca6580c90623ad0a8952deb38f06b9afdbce3482165080de35309cbab317ad6bba93430dfa7f9d63efb8825e551e19e55eae7f0b901ae9ce3cf38db496b2eedee450d62baefcc0160e7e12f0c2c0a4bb10c6241456cb23611c9c6df3394454579fba00ce1adc5f3c7c72852356cca356133",m="10001",g=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,v=["input:not([type])","input[type=text]","input[type=email]","textarea"].filter((function(e){try{return document.body.querySelectorAll(e),!0}catch(e){return!1}}));function b(e){var t=new o.S;(0,i.t8)("SHR_E",e,{expires:31536e4,domain:t.domain,path:"/"}),(0,i.U2)("SHR_E")||(0,i.t8)("SHR_E",e,{expires:31536e4,path:"/"}),u.X.e_hash=e}function _(e){(-1!==e.indexOf("@")?function(e){return r?c.Promise.resolve(r.encrypt(e)):n.e(198).then(n.t.bind(n,8675,23)).then((function(t){return(r=new t.RSAKey).setPublic(f,m),r.encrypt(e)}))}(e):c.Promise.resolve(e)).then((function(e){var t=new o.S;(0,i.t8)("SHR_E_ENC",e,{expires:31536e4,domain:t.domain,path:"/"}),(0,i.U2)("SHR_E_ENC")||(0,i.t8)("SHR_E_ENC",e,{expires:31536e4,path:"/"}),u.X.e_cookie_enc=e}))}function y(e){return e?(0,d.toArray)(e.querySelectorAll(v.join(", "))):[]}var w=[];function k(e){if(!h.storage.hashFinder)if(h.storage.hashFinder=!0,(0,a.lu)().enabled){var t=(0,i.U2)("_shr_ue");if(t)try{var n=s.global.atob(t).toLowerCase().replace(" ","");g.test(n)&&(_(n),e.ehash())}catch(e){}setInterval((function(){y(s.global.document.body).concat(function(e){var t=[];if(e)for(var n=e.querySelectorAll("iframe"),r=0;r0&&void 0!==arguments[0]?arguments[0]:"";p[e]||(p[e]=0);var t=++p[e];return e+String(t)}function m(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=i(t)?t.split("."):t,o=e,a=0;ae.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1}function _(){var e=a.global.navigator.userAgent.toLowerCase();return v()&&-1===e.indexOf("safari")}function y(){var e=a.global.navigator.userAgent.toLowerCase();return b()&&/\bwv\b/gi.test(e)}function w(){var e=a.global.navigator.userAgent;return v()&&(/\bCriOS\b/g.test(e)||/\bEdgiOS\b/g.test(e))}function k(e){var t=parseInt(e,10)||0,n="px";return e&&e.indexOf("%")>=0&&(n="%"),{amount:t,unit:n}}function x(){var e=a.global.innerWidth||a.global.document.documentElement.clientWidth||a.global.document.body.clientWidth;return{height:a.global.innerHeight||a.global.document.documentElement.clientHeight||a.global.document.body.clientHeight,width:e}}function S(){return void 0!==a.global.ShareaholicDemo}function O(e){return"{permalink}"===e||"data:post.url.canonical"===e?"":e}function E(e){return"{title}"===e||"data:post.title"===e?"":e}function P(e,t){if(t||(t=!!a.global.document.head.querySelector("#shr-outline-style")),t){var n=a.global.document.createElement("style");n.setAttribute("id","shr-outline-style"),n.setAttribute("type","text/css"),n.innerHTML=".shr-outline{outline:none}",e.head.appendChild(n),e.body.addEventListener("keydown",c)}}function C(e){return Array.prototype.slice.call(e,0)}function j(e){if(e.length<=2e3)return e;var t=new URL(e);return t.search="",t.toString()}function A(e,t,n,r){var a={location:{region:t.clientGeoRegion,dmaCode:t.clientGeoMetrocode,countryCode:(t.clientGeoCountry||"").split(",")[0]||"",countryName:(t.clientGeoCountry||"").split(",")[1]||""},content:{author:n.author,title:n.title},app:{id:r.appId,idName:r.appIdName}};return o.render(e,a,{},["${","}"])}function I(e,t,n){var r=a.global.getComputedStyle(t),o=a.global.getComputedStyle(e),i=parseFloat(r.height),s=parseFloat(r.width),l=parseFloat(o.height),c=parseFloat(o.width),u=n.split("-"),h={top:0,left:0},d=u[0];"upper"===d?h.top=0:"lower"===d?h.top=i-l:"center"===d&&(h.top=(i-l)/2,h.left=(s-c)/2);var p=u[1]||"";return"left"===p?h.left=0:"right"===p&&(h.left=s-c),h}},9996:function(e){"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function a(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function i(e,t){try{return t in e}catch(e){return!1}}function s(e,t,n){var o={};return n.isMergeableObject(e)&&a(e).forEach((function(t){o[t]=r(e[t],n)})),a(t).forEach((function(a){(function(e,t){return i(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,a)||(i(e,a)&&n.isMergeableObject(t[a])?o[a]=function(e,t){if(!t.customMerge)return l;var n=t.customMerge(e);return"function"==typeof n?n:l}(a,n)(e[a],t[a],n):o[a]=r(t[a],n))})),o}function l(e,n,a){(a=a||{}).arrayMerge=a.arrayMerge||o,a.isMergeableObject=a.isMergeableObject||t,a.cloneUnlessOtherwiseSpecified=r;var i=Array.isArray(n);return i===Array.isArray(e)?i?a.arrayMerge(e,n,a):s(e,n,a):r(n,a)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return l(e,n,t)}),{})};var c=l;e.exports=c},466:function(e){e.exports=function(){"use strict";var e=Object.prototype.toString,t=Array.isArray||function(t){return"[object Array]"===e.call(t)};function n(e){return"function"==typeof e}function r(e){return t(e)?"array":typeof e}function o(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function a(e,t){return null!=e&&"object"==typeof e&&t in e}function i(e,t){return null!=e&&"object"!=typeof e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var s=RegExp.prototype.test;function l(e,t){return s.call(e,t)}var c=/\S/;function u(e){return!l(c,e)}var h={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};function d(e){return String(e).replace(/[&<>"'`=\/]/g,(function(e){return h[e]}))}var p=/\s*/,f=/\s+/,m=/\s*=/,g=/\s*\}/,v=/#|\^|\/|>|\{|&|=|!/;function b(e,n){if(!e)return[];var r,a,i,s=!1,l=[],c=[],h=[],d=!1,b=!1,k="",x=0;function O(){if(d&&!b)for(;h.length;)delete c[h.pop()];else h=[];d=!1,b=!1}function E(e){if("string"==typeof e&&(e=e.split(f,2)),!t(e)||2!==e.length)throw new Error("Invalid tags: "+e);r=new RegExp(o(e[0])+"\\s*"),a=new RegExp("\\s*"+o(e[1])),i=new RegExp("\\s*"+o("}"+e[1]))}E(n||S.tags);for(var P,C,j,A,I,R,T=new w(e);!T.eos();){if(P=T.pos,j=T.scanUntil(r))for(var M=0,z=j.length;M0?o[o.length-1][4]:n;break;default:r.push(t)}return n}function w(e){this.string=e,this.tail=e,this.pos=0}function k(e,t){this.view=e,this.cache={".":this.view},this.parent=t}function x(){this.templateCache={_cache:{},set:function(e,t){this._cache[e]=t},get:function(e){return this._cache[e]},clear:function(){this._cache={}}}}w.prototype.eos=function(){return""===this.tail},w.prototype.scan=function(e){var t=this.tail.match(e);if(!t||0!==t.index)return"";var n=t[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n},w.prototype.scanUntil=function(e){var t,n=this.tail.search(e);switch(n){case-1:t=this.tail,this.tail="";break;case 0:t="";break;default:t=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=t.length,t},k.prototype.push=function(e){return new k(e,this)},k.prototype.lookup=function(e){var t,r=this.cache;if(r.hasOwnProperty(e))t=r[e];else{for(var o,s,l,c=this,u=!1;c;){if(e.indexOf(".")>0)for(o=c.view,s=e.split("."),l=0;null!=o&&l"===i?s=this.renderPartial(a,t,n,o):"&"===i?s=this.unescapedValue(a,t):"name"===i?s=this.escapedValue(a,t,o):"text"===i&&(s=this.rawValue(a)),void 0!==s&&(l+=s);return l},x.prototype.renderSection=function(e,r,o,a,i){var s=this,l="",c=r.lookup(e[1]);function u(e){return s.render(e,r,o,i)}if(c){if(t(c))for(var h=0,d=c.length;h0||!n)&&(o[a]=r+o[a]);return o.join("\n")},x.prototype.renderPartial=function(e,t,r,o){if(r){var a=this.getConfigTags(o),i=n(r)?r(e[1]):r[e[1]];if(null!=i){var s=e[6],l=e[5],c=e[4],u=i;0==l&&c&&(u=this.indentPartial(i,c,s));var h=this.parse(u,a);return this.renderTokens(h,t,r,u,o)}}},x.prototype.unescapedValue=function(e,t){var n=t.lookup(e[1]);if(null!=n)return n},x.prototype.escapedValue=function(e,t,n){var r=this.getConfigEscape(n)||S.escape,o=t.lookup(e[1]);if(null!=o)return"number"==typeof o&&r===S.escape?String(o):r(o)},x.prototype.rawValue=function(e){return e[1]},x.prototype.getConfigTags=function(e){return t(e)?e:e&&"object"==typeof e?e.tags:void 0},x.prototype.getConfigEscape=function(e){return e&&"object"==typeof e&&!t(e)?e.escape:void 0};var S={name:"mustache.js",version:"4.1.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(e){O.templateCache=e},get templateCache(){return O.templateCache}},O=new x;return S.clearCache=function(){return O.clearCache()},S.parse=function(e,t){return O.parse(e,t)},S.render=function(e,t,n,o){if("string"!=typeof e)throw new TypeError('Invalid template! Template should be a "string" but "'+r(e)+'" was given as the first argument for mustache#render(template, view, partials)');return O.render(e,t,n,o)},S.escape=d,S.Scanner=w,S.Context=k,S.Writer=x,S}()}}]);