!function(){"use strict";function t(r){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(r)}function r(r){var a=function(r,a){if("object"!==t(r)||null===r)return r;var n=r[Symbol.toPrimitive];if(void 0!==n){var i=n.call(r,a||"default");if("object"!==t(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(r)}(r,"string");return"symbol"===t(a)?a:String(a)}var a={d:(t,r)=>{for(var n in r)a.o(r,n)&&!a.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:(t,r)=>Object.prototype.hasOwnProperty.call(t,r)},n={};a.d(n,{i:()=>l});var i={top:"paddingBottom",bottom:"paddingTop",left:"paddingRight",right:"paddingLeft"};function e(t){var r={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"};return t.replace(/&(amp|lt|gt|quot|#39|x60);|[\&<>"'`]/g,(function(t){return"&"===t[0]?t:r[t]}))}function o(t){return encodeURI(t)}function c(t,r){return t[r]||r}function v(){return v=Object.assign?Object.assign.bind():function(t){for(var r=1;r\n\t\t\t\t\t\t\t'+("User not found"===t.message?c(a.t,"Sorry, we are unable to load this Gravatar profile."):c(a.t,"Sorry, we are unable to load this Gravatar profile. Please check your internet connection."))+"\n\t\t\t\t\t\t",a.B(e,t)}));r.id=n,r.addEventListener("mouseenter",(function(){return clearInterval(a.u.get(n))})),r.addEventListener("mouseleave",(function(){return a.F(n)})),s.body.appendChild(r);var u=function(t,r,a){var n=void 0===a?{}:a,e=n.placement,o=void 0===e?"right":e,c=n.offset,v=void 0===c?0:c,s=n.autoFlip,l=void 0===s||s,d=t.getBoundingClientRect(),u=r.getBoundingClientRect(),h=d.top+scrollY,f=d.bottom+scrollY,g=d.right+scrollX,_=d.left+scrollX,m=0,p=0,b=o.split("-"),w=b[0],y=b[1];if(v=Math.max(0,v),l){var k=d.top,j=innerHeight-d.bottom,O=d.left,S=innerWidth-d.right,x=u.height+v,M=u.width+v;"top"===w&&kk&&(w="bottom"),"bottom"===w&&jj&&(w="top"),"left"===w&&OO&&(w="right"),"right"===w&&SS&&(w="left")}return"top"===w||"bottom"===w?(m=_+d.width/2-u.width/2,p="top"===w?h-u.height-v:f,"start"===y&&(m=_),"end"===y&&(m=g-u.width)):(m="right"===w?g:_-u.width-v,p=h+d.height/2-u.height/2,"start"===y&&(p=h),"end"===y&&(p=f-u.height)),{x:m,y:p,padding:i[w],paddingValue:v}}(l,r,{placement:a.k,offset:a.O,autoFlip:a.j}),h=u.x,f=u.y,g=u.padding,_=u.paddingValue;r.style.position="absolute",r.style.left=h+"px",r.style.top=f+"px",r.style[g]=_+"px",a.G(e,r)}}),this.S);this.l.set(n,d)},r.F=function(t){var r=this,a=setTimeout((function(){var a=s.getElementById(t);a&&(a.remove(),r.P(t,a))}),this.M);this.u.set(t,a)},r._=function(t,r){"ontouchstart"in s||(t.stopImmediatePropagation(),clearInterval(this.u.get(r.id)),this.C(r))},r.p=function(t,r){var a=r.id;"ontouchstart"in s||(t.stopImmediatePropagation(),clearInterval(this.l.get(a)),this.F(a))},t}();l.createHovercard=function(t,r){var a=void 0===r?{}:r,n=a.additionalClass,i=a.myHash,v=a.i18n,l=void 0===v?{}:v,d=t.hash,u=t.thumbnailUrl,h=t.preferredUsername,f=t.displayName,g=t.currentLocation,_=t.aboutMe,m=t.jobTitle,p=t.company,b=t.accounts,w=void 0===b?[]:b,y=s.createElement("div");y.className="gravatar-hovercard"+(n?" "+n:"");var k=o("https://gravatar.com/"+h+"?utm_source=hovercard"),j=e(f),O=!_&&i===d,S=w.slice(0,3).reduce((function(t,r){var a=r.url,n=r.shortname,i=r.iconUrl,c=r.name;return t.push('\n\t\t\t\t\t\n\t\t\t\t'),t}),[]).join(""),x=[m,p].filter(Boolean).join(", ");return y.innerHTML='\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t'+(_?'

'+e(_)+"

":"")+'\n\t\t\t\t
\n\t\t\t\t\n\t\t\t
\n ',y};var d=n.i,u=JSON.parse('{"HO":{"m":"^0.6.1"}}');function h(t,r){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),a.push.apply(a,n)}return a}function f(t){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};return d.createHovercard(t,f({additionalClass:"wp-hovercard"},r))},init:function(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",a=arguments.length>1?arguments[1]:void 0,n=document;if(new d(f(f({},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}),{},{myHash:this.my_hash,additionalClass:"wp-hovercard",onQueryHovercardRef:function(t){var r;return t.classList.add("wp-hovercard-attachment"),t.classList.add("grav-hashed"),"A"!==(null===(r=t.parentElement)||void 0===r?void 0:r.tagName)&&t.classList.add("grav-hijack"),t.onmouseover=function(){return g("hover")},t},onHovercardShown:function(r,a){t.profile_cb(r,a.id);var n=a.querySelector(".gravatar-hovercard__profile-link");n&&(n.onclick=function(){return g("click_view_profile")});var i=a.querySelector(".gravatar-hovercard__profile-link--edit");i&&(i.onclick=function(){return g("click_edit_profile")});var e=a.querySelector(".gravatar-hovercard__avatar-link");e&&(e.onclick=function(){return g("to_profile")});var o=a.querySelector(".gravatar-hovercard__name-location-link");o&&(o.onclick=function(){return g("to_profile")}),a.querySelectorAll(".gravatar-hovercard__social-link").forEach((function(t){t.onclick=function(){return g("click_".concat(t.dataset.serviceName))}})),g("show")},onFetchProfileSuccess:function(){return g("fetch")},onFetchProfileFailure:function(){return g("profile_404")}})).attach(n.querySelector(r),{dataAttributeName:"",ignoreSelector:a?"".concat(a,' img[src*="gravatar.com/"]'):""}),!n.querySelector('link[href*="hovercards.min.css"]')){var i,e=n.querySelector('script[src*="/js/hovercards/hovercards"]'),o=e?null===(i=e.getAttribute("src"))||void 0===i?void 0:i.split("?")[1]:"";n.head.insertAdjacentHTML("beforeend",''))}}}}();