/*
 imagesLoaded PACKAGED v4.1.3
 JavaScript is all like "You images are done yet or what?"
 MIT License
 lazysizes - v5.3.2 https://github.com/aFarkas/lazysizes */
var campaignCookies={expiration:2592E6,scParam:"sc_cid",googleParam:"gclid",googleParamExists:!1,bingParam:"msclkid",bingParamExists:!1,init:function(){this.googleParamExists=this.getParameterByName(this.googleParam,this.expiration,!1);this.bingParamExists=this.getParameterByName(this.bingParam,this.expiration,!1);this.getParameterByName(this.scParam,this.expiration,!0);this.setCampaignCookie()},setCampaignCookie:function(){this.setExpirationDate(2592E6);var a=this.readCookie(this.scParam);if(a){if(this.googleParamExists){var b=
this.readCookie(this.googleParam);this.setCookie("campaign",a+":"+this.googleParam+":"+b);this.setTimestampCookie()}this.bingParamExists&&(b=this.readCookie(this.bingParam),this.setCookie("campaign",a+":"+this.bingParam+":"+b),this.setTimestampCookie())}else this.setDefaultCampaign()},setDefaultCampaign:function(){var a=!1;switch(document.referrer.split("/")[2]){case "www.google.com":var b="Google";break;case "www.bing.com":b="Bing";break;case "www.yahoo.com":b="Yahoo";break;default:b="Direct",a=
!0}var c;"undefined"!=typeof SG?c=b+":O:SG:na:Website:General:na":"undefined"!=typeof pds_corp?c=b+":O:PDS:na:Website:General:na":"undefined"!=typeof DTM&&(c=b+":O:"+DTM.officeType+":"+DTM.officeId+":Website:General:na");this.setCookie("campaign",c);a||this.setCookie(this.scParam,c);this.setTimestampCookie()},getParameterByName:function(a,b,c){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var h=(new RegExp("[\\?\x26]"+a+"\x3d([^\x26#]*)")).exec(location.search);return null!=h?(this.setExpirationDate(b),
this.setCookie(a,h[1]),c&&(this.setCookie("campaign",h[1]),this.setTimestampCookie()),!0):!1},setExpirationDate:function(a){this.expiration=(new Date((new Date).getTime()+a)).toGMTString()},setCookie:function(a,b){document.cookie=a+"\x3d"+b+"; expires\x3d"+this.expiration+" ; path\x3d/; domain\x3d"+document.location.hostname},setTimestampCookie:function(){var a=new Date;a=a.getFullYear()+"-"+this.zeroPrefixer(a.getMonth()+1)+"-"+this.zeroPrefixer(a.getDate())+" "+this.zeroPrefixer(a.getHours())+":"+
this.zeroPrefixer(a.getMinutes())+":"+this.zeroPrefixer(a.getSeconds());document.cookie="campaign_timestamp\x3d"+a+"; expires\x3d"+this.expiration+" ; path\x3d/; domain\x3d"+document.location.hostname},zeroPrefixer:function(a){10>a&&(a="0"+parseInt(a));return a},readCookie:function(a){a=(new RegExp(" "+a+"\x3d([^;]+)")).exec(document.cookie);return null!=a?unescape(a[1]):null},deleteCookie:function(a){var b=new Date;b.setTime(b.getTime()+-18E5);b="; expires\x3d"+b.toGMTString();document.cookie=a+
"\x3d; "+b+"; path\x3d/; domain\x3d"+document.location.hostname},parseCampaignCode:function(){var a=this.readCookie("campaign");return void 0!=a&&(a=a.split(":"),6<=a.length)?{mediaChannel:a[0],channelType:a[1],brand:a[2],brandId:a[3],team:a[4],campaign:a[5]}:null}},setFormFieldValues={init:function(){this.setCampaignField();this.setTimestampField()},setCampaignField:function(){var a=this.getCookieName("campaign");$("#campaign").val(a)},setTimestampField:function(){var a=this.getCookieName("campaign_timestamp");
$("#timestamp").val(a)},getCookieName:function(a){a=(new RegExp(a+"\x3d([^;]+)")).exec(document.cookie);return null!=a?unescape(a[1]):null},buildSFSubmission:function(a){var b="1"==a.debug?!0:!1,c={};c.office_number=b?"00N2F000000Q8ZH":"00N0L000006RE1K";c.first_name=b?"00N2F000000QSfe":"00N0L000006RE3E";c.last_name=b?"00N2F000000QSft":"00N0L000006RE3F";c.date=b?"00N2F000000PIWa":"00N0L000006RE1G";c.emergency=b?"00N2F000000QKeE":"00N0L000006RE18";c.have_insurance=b?"00N2F000000PITv":"00N0L000006RE1C";
c.return_patient=b?"00N2F000000PIU0":"00N0L000006RE1B";c.multiple_appts=b?"00N2F000000PIU5":"00N0L000006RE1D";c.tracking_code=b?"00N2F000000Q8ZR":"00N0L000006RE1L";c.tracking_code_timestamp=b?"00N2F000000Q8ZW":"00N0L000006RE1M";c.message_body="description";"office_number first_name last_name date emergency have_insurance return_patient multiple_appts tracking_code tracking_code_timestamp message_body".split(" ").forEach(function(b){1==a[b]?a[c[b]]=1:0!=a[b]&&(a[c[b]]=a[b])});a.orgid=b?"00D2F000000CtWc":
"00DE0000000bO3E";a.action=b?"https://pacden--uat2.my.salesforce.com/servlet/servlet.WebToCase?encoding\x3dUTF-8":"https://webto.salesforce.com/servlet/servlet.WebToCase?encoding\x3dUTF-8";a[c.date]+=" 12:00 AM";return a}};$(document).ready(function(){campaignCookies.init()});
(function(a){"object"===typeof module&&module.exports?module.exports=a():(window.Granite=window.Granite||{}).Sling=a()})(function(){return{SELECTOR_INFINITY:".infinity",CHARSET:"_charset_",STATUS:":status",STATUS_BROWSER:"browser",OPERATION:":operation",OPERATION_DELETE:"delete",OPERATION_MOVE:"move",DELETE_SUFFIX:"@Delete",TYPEHINT_SUFFIX:"@TypeHint",COPY_SUFFIX:"@CopyFrom",MOVE_SUFFIX:"@MoveFrom",ORDER:":order",REPLACE:":replace",DESTINATION:":dest",SAVE_PARAM_PREFIX:":saveParamPrefix",IGNORE_PARAM:":ignore",
REQUEST_LOGIN_PARAM:"sling:authRequestLogin",LOGIN_URL:"/system/sling/login.html",LOGOUT_URL:"/system/sling/logout.html"}});
(function(a){"object"===typeof module&&module.exports?module.exports=a():(window.Granite=window.Granite||{}).Util=a()})(function(){return{patchText:function(a,b){if(b)if("[object Array]"!==Object.prototype.toString.call(b))a=a.replace("{0}",b);else for(var c=0;c<b.length;c++)a=a.replace("{"+c+"}",b[c]);return a},getTopWindow:function(){var a=window;if(this.iFrameTopWindow)return this.iFrameTopWindow;try{for(;a.parent&&a!==a.parent&&a.parent.location.href;)a=a.parent}catch(b){}return a},setIFrameMode:function(a){this.iFrameTopWindow=
a||window},applyDefaults:function(){for(var a,b=arguments[0]||{},c=1;c<arguments.length;c++){a=arguments[c];for(var h in a){var e=a[h];a.hasOwnProperty(h)&&void 0!==e&&(b[h]=null===e||"object"!==typeof e||e instanceof Array?e instanceof Array?e.slice(0):e:this.applyDefaults(b[h],e))}}return b},getKeyCode:function(a){return a.keyCode?a.keyCode:a.which}}});
(function(a){"object"===typeof module&&module.exports?module.exports=a(require("@granite/util"),require("jquery")):window.Granite.HTTP=a(Granite.Util,jQuery)})(function(a,b){return function(){var c=null,h=/^(?:http|https):\/\/[^/]+(\/.*)\/(?:etc\.clientlibs|etc(\/.*)*\/clientlibs|libs(\/.*)*\/clientlibs|apps(\/.*)*\/clientlibs|etc\/designs).*\.js(\?.*)?$/,e=/[^\w-.~%:/?[\]@!$&'()*+,;=]/,k=/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,d=!1,f={getSchemeAndAuthority:function(a){if(!a)return"";
a=k.exec(a);return null===a?"":[a[1],a[3]].join("")},getContextPath:function(){null===c&&(c=f.detectContextPath());return c},detectContextPath:function(){try{if(window.CQURLInfo)c=CQURLInfo.contextPath||"";else{for(var a=document.getElementsByTagName("script"),b=0;b<a.length;b++){var g=h.exec(a[b].src);if(g)return c=g[1]}c=""}}catch(P){}return c},externalize:function(a){try{0===a.indexOf("/")&&f.getContextPath()&&0!==a.indexOf(f.getContextPath()+"/")&&(a=f.getContextPath()+a)}catch(m){}return a},
internalize:function(a,b){if("/"===a.charAt(0))return c===a?"":c&&0===a.indexOf(c+"/")?a.substring(c.length):a;b||(b=document);b=f.getSchemeAndAuthority(b.location.href);var g=f.getSchemeAndAuthority(a);return b===g?a.substring(g.length+(c?c.length:0)):a},getPath:function(a){if(a)a=f.removeParameters(a),a=f.removeAnchor(a);else{if(window.CQURLInfo&&CQURLInfo.requestPath)return CQURLInfo.requestPath;a=window.location.pathname}a=f.internalize(a);var b=a.indexOf(".",a.lastIndexOf("/"));-1!==b&&(a=a.substring(0,
b));return a},removeAnchor:function(a){var b=a.indexOf("#");return 0<=b?a.substring(0,b):a},removeParameters:function(a){var b=a.indexOf("?");return 0<=b?a.substring(0,b):a},encodePathOfURI:function(a){for(var b=["?","#"],g=[a],c,d=0,h=b.length;d<h;d++)if(c=b[d],0<=a.indexOf(c)){g=a.split(c);break}e.test(g[0])&&(g[0]=f.encodePath(g[0]));return g.join(c)},encodePath:function(a){a=encodeURI(a);a=a.replace(/%5B/g,"[").replace(/%5D/g,"]");a=a.replace(/\?/g,"%3F");return a=a.replace(/#/g,"%23")},handleLoginRedirect:function(){if(!d){d=
!0;alert(Granite.I18n.get("Your request could not be completed because you have been signed out."));var b=a.getTopWindow().document.location;b.href=f.externalize("/")+"?resource\x3d"+encodeURIComponent(b.pathname+b.search+b.hash)}},getXhrHook:function(a,b,g){return window.G_XHR_HOOK&&"function"===typeof G_XHR_HOOK?(a={url:a,method:b||"GET"},g&&(a.params=g),G_XHR_HOOK(a)):null},eval:function(a){"object"!==typeof a&&(a=b.ajax({url:a,type:"get",async:!1}));try{return JSON.parse(a.body?a.body:a.responseText)}catch(m){}return null}};
return f}()});
(function(a){"object"===typeof module&&module.exports?module.exports=a(require("@granite/http")):window.Granite.I18n=a(window.Granite.HTTP)})(function(a){return function(){var b={},c="/libs/cq/i18n/dict.",h=".json",e=void 0,k=!1,d=null,f={},l=!1,m=function(a){if(l)return c+a+h;var b,g=document.querySelector("html");g&&(b=g.getAttribute("data-i18n-dictionary-src"));return b?b.replace("{locale}",encodeURIComponent(a)).replace("{+locale}",a):c+a+h};f.LOCALE_DEFAULT="en";f.PSEUDO_LANGUAGE="zz";f.PSEUDO_PATTERN_KEY=
"_pseudoPattern_";f.init=function(a){a=a||{};this.setLocale(a.locale);this.setUrlPrefix(a.urlPrefix);this.setUrlSuffix(a.urlSuffix)};f.setLocale=function(a){a&&(e=a)};f.getLocale=function(){"function"===typeof e&&(e=e());return e||document.documentElement.lang||f.LOCALE_DEFAULT};f.setUrlPrefix=function(a){a&&(c=a,l=!0)};f.setUrlSuffix=function(a){a&&(h=a,l=!0)};f.getDictionary=function(g){g=g||f.getLocale();if(!b[g]){k=0===g.indexOf(f.PSEUDO_LANGUAGE);try{var c=new XMLHttpRequest;c.open("GET",a.externalize(m(g)),
!1);c.send();b[g]=JSON.parse(c.responseText)}catch(u){}b[g]||(b[g]={})}return b[g]};f.get=function(a,b,c){var g;var d=f.getDictionary();var e=k?f.PSEUDO_PATTERN_KEY:c?a+" (("+c+"))":a;d&&(g=d[e]);g||(g=a);k&&(g=g.replace("{string}",a).replace("{comment}",c?c:""));a=g;if(b)if(Array.isArray(b))for(c=0;c<b.length;c++)a=a.replace("{"+c+"}",b[c]);else a=a.replace("{0}",b);return a};f.getVar=function(a,b){return a?f.get(a,null,b):null};f.getLanguages=function(){if(!d)try{var b=a.externalize("/libs/wcm/core/resources/languages.overlay.infinity.json"),
c=new XMLHttpRequest;c.open("GET",b,!1);c.send();var e=JSON.parse(c.responseText);Object.keys(e).forEach(function(a){a=e[a];a.language&&(a.title=f.getVar(a.language));a.title&&a.country&&"*"!==a.country&&(a.title+=" ("+f.getVar(a.country)+")")});d=e}catch(Q){d={}}return d};f.parseLocale=function(a){if(!a)return null;var b=a.indexOf("_");0>b&&(b=a.indexOf("-"));if(0>b){var c=a;b=null}else c=a.substring(0,b),b=a.substring(b+1);return{code:a,language:c,country:b}};return f}()});
(function(a){"object"===typeof module&&module.exports?module.exports=a():(window.Granite=window.Granite||{}).TouchIndicator=a()})(function(){var a={},b=[];return{debugWithMouse:!1,init:function(){var a=this,b=function(b){a.update(b.touches);return!0};document.addEventListener("touchstart",b);document.addEventListener("touchmove",b);document.addEventListener("touchend",b);this.debugWithMouse&&document.addEventListener("mousemove",function(b){b.identifer="fake";a.update([b]);return!0})},update:function(c){for(var h=
{},e=0;e<c.length;e++){var k=c[e],d=k.identifier,f=a[d];f||(f=b.pop(),f||(f=document.createElement("div"),f.style.visibility="hidden",f.style.position="absolute",f.style.width="30px",f.style.height="30px",f.style.borderRadius="20px",f.style.border="5px solid orange",f.style.userSelect="none",f.style.opacity="0.5",f.style.zIndex="2000",f.style.pointerEvents="none",document.body.appendChild(f)));h[d]=f;f.style.left=k.pageX-20+"px";f.style.top=k.pageY-20+"px";f.style.visibility="visible"}for(d in a)a.hasOwnProperty(d)&&
!h[d]&&(f=a[d],f.style.visibility="hidden",b.push(f));a=h}}});
(function(a){"object"===typeof module&&module.exports?module.exports=a():(window.Granite=window.Granite||{}).OptOutUtil=a()})(function(a){return function(){var a={},c=[],h=[];a.init=function(a){a?(c=a.cookieNames||[],h=a.whitelistCookieNames||[]):(c=[],h=[])};a.getCookieNames=function(){return c};a.getWhitelistCookieNames=function(){return h};a.isOptedOut=function(){for(var b=document.cookie.split(";"),c=0;c<b.length;c++){var d=b[c].split("\x3d")[0];d=String.prototype.trim?d.trim():d.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
"");if(0<=a.getCookieNames().indexOf(d))return!0}return!1};a.maySetCookie=function(b){return!(a.isOptedOut()&&-1===a.getWhitelistCookieNames().indexOf(b))};return a}()});Granite.OptOutUtil.init(window.GraniteOptOutConfig);Granite.HTTP.detectContextPath();
(function(a){a(".dropdown").each(function(){var b=a(this).parent().outerWidth(!0);a(this).parent().is(":last-child")?a(this).css("left",b/2-110):a(this).css("left",b/2-100)});a("#main-nav \x3e div \x3e a").each(function(){if(-1<a(this).text().toLowerCase().indexOf("services")&&13<a(this).next().children().length){a(this).next().addClass("split");var b=a(this).next().outerWidth(!0);a(this).next().css("left",b/2-400)}});a("#main-nav div").on("mouseenter",function(){a(this).find(".dropdown").stop(!0,
!1).fadeIn(200)});a("#main-nav div").on("mouseleave",function(){a(".dropdown").fadeOut(200)});a("#main-nav div \x3e a").on("focus",function(){(isFocused=a(this).parent().find(".dropdown").hasClass("focused"))||a(".dropdown.focused").fadeOut(200).removeClass("focused");a(this).parent().find(".dropdown").stop(!0,!1).fadeIn(200).addClass("focused")});a("a").on("focus",function(){isNav=a(this).next("nav").hasClass("dropdown");isNavItem=a(this).parent().hasClass("dropdown");isNav||isNavItem||a(".dropdown").fadeOut(200)})})(this.jQuery);
var PDS=PDS||{};
PDS.header=function(a){function b(){a(".short-stack").on("click",function(){a(".mobile-nav-container").fadeIn(200);a("body").css("overflow","hidden")});a("#mobile-nav .sprite.close").on("click",function(){a(".mobile-nav-container").fadeOut(100);a("body").css("overflow","auto")});a(".mobile-dropdown").on("click",function(b){var c=a(this);c.hasClass("expanded")?c.siblings(".dropdown").stop(!0,!1).animate({height:0},200,function(){c.removeClass("expanded")}):(b=40*c.siblings(".dropdown").find(".dropdown-item").length,c.addClass("expanded"),
c.siblings(".dropdown").animate({height:b},300))});a(window).on("load resize",function(){var b=a("#header").height();a("body \x3e.wrapper").css("padding-top",b)});a(".nav-search .coveo-search-button").click(function(b){b.preventDefault();a("#search-overlay").slideDown(550,"linear");a("#search-overlay-background").show()});a("#search-overlay .close-overlay, #search-overlay-background").on("click",function(b){b.preventDefault();a("#search-overlay").slideUp(300,"linear");a("#search-overlay-background").hide()})}
function c(){var b=a("#search-overlay .more-content").attr("data-source");a.ajax({url:b,type:"GET",dataType:"html",success:function(b){b=a(b);b[b.length-2].childNodes.forEach(function(b){1==b.nodeType&&a("#search-overlay .more-content").append(b)})},error:function(a,b,c){console.log("xhr: "+a+"status: "+b+"error: "+c)}}).done()}return{init:function(){0==a("#search").length&&(a("#header .upper-header .nav-search").removeClass("hidden"),c());b()}}}(this.jQuery);
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"undefined"!=typeof module&&module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){var b=-1,c=-1,h=function(a){return parseFloat(a)||0},e=function(b){var c=null,d=[];return a(b).each(function(){var b=a(this),g=b.offset().top-h(b.css("margin-top")),e=0<d.length?d[d.length-1]:null;null===e?d.push(b):1>=Math.floor(Math.abs(c-g))?d[d.length-1]=e.add(b):d.push(b);c=g}),d},k=function(b){var c={byRow:!0,property:"height",
target:null,remove:!1};return"object"==typeof b?a.extend(c,b):("boolean"==typeof b?c.byRow=b:"remove"===b&&(c.remove=!0),c)},d=a.fn.matchHeight=function(b){b=k(b);if(b.remove){var c=this;return this.css(b.property,""),a.each(d._groups,function(a,b){b.elements=b.elements.not(c)}),this}return 1>=this.length&&!b.target?this:(d._groups.push({elements:this,options:b}),d._apply(this,b),this)};d.version="0.7.2";d._groups=[];d._throttle=80;d._maintainScroll=!1;d._beforeUpdate=null;d._afterUpdate=null;d._rows=
e;d._parse=h;d._parseOptions=k;d._apply=function(b,c){var g=k(c);b=a(b);c=[b];var f=a(window).scrollTop(),m=a("html").outerHeight(!0),l=b.parents().filter(":hidden");return l.each(function(){var b=a(this);b.data("style-cache",b.attr("style"))}),l.css("display","block"),g.byRow&&!g.target&&(b.each(function(){var b=a(this),c=b.css("display");"inline-block"!==c&&"flex"!==c&&"inline-flex"!==c&&(c="block");b.data("style-cache",b.attr("style"));b.css({display:c,"padding-top":"0","padding-bottom":"0","margin-top":"0",
"margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),c=e(b),b.each(function(){var b=a(this);b.attr("style",b.data("style-cache")||"")})),a.each(c,function(b,c){b=a(c);var d=0;if(g.target)d=g.target.outerHeight(!1);else{if(g.byRow&&1>=b.length)return void b.css(g.property,"");b.each(function(){var b=a(this),c=b.attr("style"),e=b.css("display");"inline-block"!==e&&"flex"!==e&&"inline-flex"!==e&&(e="block");e={display:e};e[g.property]="";b.css(e);
b.outerHeight(!1)>d&&(d=b.outerHeight(!1));c?b.attr("style",c):b.css("display","")})}b.each(function(){var b=a(this),c=0;g.target&&b.is(g.target)||("border-box"!==b.css("box-sizing")&&(c+=h(b.css("border-top-width"))+h(b.css("border-bottom-width")),c+=h(b.css("padding-top"))+h(b.css("padding-bottom"))),b.css(g.property,d-c+"px"))})}),l.each(function(){var b=a(this);b.attr("style",b.data("style-cache")||null)}),d._maintainScroll&&a(window).scrollTop(f/m*a("html").outerHeight(!0)),this};d._applyDataApi=
function(){var b={};a("[data-match-height], [data-mh]").each(function(){var c=a(this),d=c.attr("data-mh")||c.attr("data-match-height");d in b?b[d]=b[d].add(c):b[d]=c});a.each(b,function(){this.matchHeight(!0)})};var f=function(b){d._beforeUpdate&&d._beforeUpdate(b,d._groups);a.each(d._groups,function(){d._apply(this.elements,this.options)});d._afterUpdate&&d._afterUpdate(b,d._groups)};d._update=function(e,g){if(g&&"resize"===g.type){var h=a(window).width();if(h===b)return;b=h}e?-1===c&&(c=setTimeout(function(){f(g);
c=-1},d._throttle)):f(g)};a(d._applyDataApi);var l=a.fn.on?"on":"bind";a(window)[l]("load",function(a){d._update(!1,a)});a(window)[l]("resize orientationchange",function(a){d._update(!0,a)})});
var CookieManager=function(a){return{getCookie:function(a){return 0<document.cookie.length&&(c_start=document.cookie.indexOf(a+"\x3d"),-1!=c_start)?(c_start=c_start+a.length+1,c_end=document.cookie.indexOf(";",c_start),-1==c_end&&(c_end=document.cookie.length),unescape(document.cookie.substring(c_start,c_end))):""},createCookie:function(a,c,h){var b=new Date,k=b.getTime();b.setTime(k+h);document.cookie=a+"\x3d"+c+"; expires\x3d"+b.toUTCString()+"; path\x3d/; domain\x3d"+document.location.hostname}}}(jQuery),
EditMode=function(a){var b;return{detect:function(){for(var a=document.cookie.split(";"),h=0;h<a.length;h++){for(var e=a[h];" "==e.charAt(0);)e=e.substring(1);0==e.indexOf("cq-editor-layer.page\x3d")&&(b="Edit"==e.substring(21,e.length)?!0:!1)}return b}}}(jQuery);
!function(a,b){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",b):"object"==typeof module&&module.exports?module.exports=b():a.EvEmitter=b()}("undefined"!=typeof window?window:this,function(){function a(){}var b=a.prototype;return b.on=function(a,b){if(a&&b){var c=this._events=this._events||{};a=c[a]=c[a]||[];return-1==a.indexOf(b)&&a.push(b),this}},b.once=function(a,b){if(a&&b){this.on(a,b);var c=this._onceEvents=this._onceEvents||{};return(c[a]=c[a]||{})[b]=!0,this}},b.off=
function(a,b){if((a=this._events&&this._events[a])&&a.length)return b=a.indexOf(b),-1!=b&&a.splice(b,1),this},b.emitEvent=function(a,b){var c=this._events&&this._events[a];if(c&&c.length){var h=0,d=c[h];b=b||[];for(var f=this._onceEvents&&this._onceEvents[a];d;){var l=f&&f[d];l&&(this.off(a,d),delete f[d]);d.apply(this,b);h+=l?0:1;d=c[h]}return this}},b.allOff=b.removeAllListeners=function(){delete this._events;delete this._onceEvents},a});
(function(a,b){"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(c){return b(a,c)}):"object"==typeof module&&module.exports?module.exports=b(a,require("ev-emitter")):a.imagesLoaded=b(a,a.EvEmitter)})("undefined"!=typeof window?window:this,function(a,b){function c(a,b){for(var c in b)a[c]=b[c];return a}function h(a){var b=[];if(Array.isArray(a))b=a;else if("number"==typeof a.length)for(var c=0;c<a.length;c++)b.push(a[c]);else b.push(a);return b}function e(a,b,d){return this instanceof
e?("string"==typeof a&&(a=document.querySelectorAll(a)),this.elements=h(a),this.options=c({},this.options),"function"==typeof b?d=b:c(this.options,b),d&&this.on("always",d),this.getImages(),f&&(this.jqDeferred=new f.Deferred),void setTimeout(function(){this.check()}.bind(this))):new e(a,b,d)}function k(a){this.img=a}function d(a,b){this.url=a;this.element=b;this.img=new Image}var f=a.jQuery,l=a.console;e.prototype=Object.create(b.prototype);e.prototype.options={};e.prototype.getImages=function(){this.images=
[];this.elements.forEach(this.addElementImages,this)};e.prototype.addElementImages=function(a){"IMG"==a.nodeName&&this.addImage(a);!0===this.options.background&&this.addElementBackgroundImages(a);var b=a.nodeType;if(b&&m[b]){var c=a.querySelectorAll("img");for(b=0;b<c.length;b++)this.addImage(c[b]);if("string"==typeof this.options.background)for(a=a.querySelectorAll(this.options.background),b=0;b<a.length;b++)this.addElementBackgroundImages(a[b])}};var m={1:!0,9:!0,11:!0};return e.prototype.addElementBackgroundImages=
function(a){var b=getComputedStyle(a);if(b)for(var c=/url\((['"])?(.*?)\1\)/gi,d=c.exec(b.backgroundImage);null!==d;)(d=d&&d[2])&&this.addBackground(d,a),d=c.exec(b.backgroundImage)},e.prototype.addImage=function(a){a=new k(a);this.images.push(a)},e.prototype.addBackground=function(a,b){a=new d(a,b);this.images.push(a)},e.prototype.check=function(){function a(a,c,d){setTimeout(function(){b.progress(a,c,d)})}var b=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(b){b.once("progress",
a);b.check()}):void this.complete()},e.prototype.progress=function(a,b,c){this.progressedCount++;this.hasAnyBroken=this.hasAnyBroken||!a.isLoaded;this.emitEvent("progress",[this,a,b]);this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,a);this.progressedCount==this.images.length&&this.complete();this.options.debug&&l&&l.log("progress: "+c,a,b)},e.prototype.complete=function(){var a=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(a,[this]),this.emitEvent("always",
[this]),this.jqDeferred)this.jqDeferred[this.hasAnyBroken?"reject":"resolve"](this)},k.prototype=Object.create(b.prototype),k.prototype.check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},k.prototype.getIsImageComplete=
function(){return this.img.complete&&void 0!==this.img.naturalWidth},k.prototype.confirm=function(a,b){this.isLoaded=a;this.emitEvent("progress",[this,this.img,b])},k.prototype.handleEvent=function(a){var b="on"+a.type;this[b]&&this[b](a)},k.prototype.onload=function(){this.confirm(!0,"onload");this.unbindEvents()},k.prototype.onerror=function(){this.confirm(!1,"onerror");this.unbindEvents()},k.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this);this.proxyImage.removeEventListener("error",
this);this.img.removeEventListener("load",this);this.img.removeEventListener("error",this)},d.prototype=Object.create(k.prototype),d.prototype.check=function(){this.img.addEventListener("load",this);this.img.addEventListener("error",this);this.img.src=this.url;this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},d.prototype.unbindEvents=function(){this.img.removeEventListener("load",this);this.img.removeEventListener("error",this)},d.prototype.confirm=
function(a,b){this.isLoaded=a;this.emitEvent("progress",[this,this.element,b])},e.makeJQueryPlugin=function(b){(b=b||a.jQuery)&&(f=b,f.fn.imagesLoaded=function(a,b){return(new e(this,a,b)).jqDeferred.promise(f(this))})},e.makeJQueryPlugin(),e});
!function(a){var b=function(a,b,e){var c,d;if(function(){var b,c={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};d=a.lazySizesConfig||a.lazysizesConfig||{};for(b in c)b in
d||(d[b]=c[b])}(),!b||!b.getElementsByClassName)return{init:function(){},cfg:d,noSupport:!0};var f=b.documentElement,h=a.HTMLPictureElement,m=a.addEventListener.bind(a),g=a.setTimeout,P=a.requestAnimationFrame||g,u=a.requestIdleCallback,Q=/^picture$/i,R=["load","error","lazyincluded","_lazyloaded"],v={},ea=Array.prototype.forEach,x=function(a,b){v[b]||(v[b]=new RegExp("(\\s|^)"+b+"(\\s|$)"));return v[b].test(a.getAttribute("class")||"")&&v[b]},B=function(a,b){x(a,b)||a.setAttribute("class",(a.getAttribute("class")||
"").trim()+" "+b)},S=function(a,b){var c;(c=x(a,b))&&a.setAttribute("class",(a.getAttribute("class")||"").replace(c," "))},T=function(a,b,c){var d=c?"addEventListener":"removeEventListener";c&&T(a,b);R.forEach(function(c){a[d](c,b)})},D=function(a,d,e,f,g){var h=b.createEvent("Event");e||(e={});e.instance=c;h.initEvent(d,!f,!g);h.detail=e;a.dispatchEvent(h);return h},U=function(b,c){var e;!h&&(e=a.picturefill||d.pf)?(c&&c.src&&!b.getAttribute("srcset")&&b.setAttribute("srcset",c.src),e({reevaluate:!0,
elements:[b]})):c&&c.src&&(b.src=c.src)},L=function(a,b,c){for(c=c||a.offsetWidth;c<d.minSize&&b&&!a._lazysizesWidth;)c=b.offsetWidth,b=b.parentNode;return c},G=function(){var a,c,d=[],e=[],f=d,h=function(){var b=f;f=d.length?e:d;a=!0;for(c=!1;b.length;)b.shift()();a=!1},k=function(d,e){a&&!e?d.apply(this,arguments):(f.push(d),c||(c=!0,(b.hidden?g:P)(h)))};k._lsFlush=h;return k}(),M=function(a,b){return b?function(){G(a)}:function(){var b=this,c=arguments;G(function(){a.apply(b,c)})}},fa=function(a){var b,
c=0,f=d.throttleDelay,h=d.ricTimeout,k=function(){b=!1;c=e.now();a()},l=u&&49<h?function(){u(k,{timeout:h});h!==d.ricTimeout&&(h=d.ricTimeout)}:M(function(){g(k)},!0);return function(a){if(a=!0===a)h=33;if(!b){b=!0;var d=f-(e.now()-c);0>d&&(d=0);a||9>d?l():g(l,d)}}},Y=function(a){var b,c,d=function(){b=null;a()},f=function(){var a=e.now()-c;99>a?g(f,99-a):(u||d)(d)};return function(){c=e.now();b||(b=g(f,99))}},K=function(){var h,k,l,C,n,W,X,E,F,H,I,u,v=/^img$/i,y=/^iframe$/i,L="onscroll"in a&&!/(gle|ing)bot/.test(navigator.userAgent),
N=0,t=0,A=-1,K=function(a){t--;if(!a||0>t||!a.target)t=0},Z=function(a){null==u&&(u="hidden"==(getComputedStyle(b.body,null)||{}).visibility);return u||!("hidden"==(getComputedStyle(a.parentNode,null)||{}).visibility&&"hidden"==(getComputedStyle(a,null)||{}).visibility)},aa=function(){var a,e,g,l,n=c.elements;if((C=d.loadMode)&&8>t&&(a=n.length)){var r=0;for(A++;r<a;r++)if(n[r]&&!n[r]._lazyRace)if(!L||c.prematureUnveil&&c.prematureUnveil(n[r]))J(n[r]);else{(l=n[r].getAttribute("data-expand"))&&(g=
1*l)||(g=N);if(!m){var m=!d.expand||1>d.expand?500<f.clientHeight&&500<f.clientWidth?500:370:d.expand;c._defEx=m;var p=m*d.expFactor;var q=d.hFac;u=null;N<p&&1>t&&2<A&&2<C&&!b.hidden?(N=p,A=0):N=1<C&&1<A&&6>t?m:0}if(y!==g){W=innerWidth+g*q;X=innerHeight+g;var v=-1*g;var y=g}p=n[r].getBoundingClientRect();if((p=(I=p.bottom)>=v&&(E=p.top)<=X&&(H=p.right)>=v*q&&(F=p.left)<=W&&(I||H||F||E)&&(d.loadHidden||Z(n[r])))&&!(p=k&&3>t&&!l&&(3>C||4>A))){var z=n[r];var w=g;p=z;z=Z(z);E-=w;I+=w;F-=w;for(H+=w;z&&
(p=p.offsetParent)&&p!=b.body&&p!=f;)(z=0<((getComputedStyle(p,null)||{}).opacity||1))&&"visible"!=(getComputedStyle(p,null)||{}).overflow&&(w=p.getBoundingClientRect(),z=H>w.left&&F<w.right&&I>w.top-1&&E<w.bottom+1);p=z}if(p){J(n[r]);var x=!0;if(9<t)break}else!x&&k&&!e&&4>t&&4>A&&2<C&&(h[0]||d.preloadAfterLoad)&&(h[0]||!l&&(I||H||F||E||"auto"!=n[r].getAttribute(d.sizesAttr)))&&(e=h[0]||n[r])}e&&!x&&J(e)}},q=fa(aa),ca=function(a){var b=a.target;b._lazyCache?delete b._lazyCache:(K(a),B(b,d.loadedClass),
S(b,d.loadingClass),T(b,ba),D(b,"lazyloaded"))},R=M(ca),ba=function(a){R({target:a.target})},ha=function(a,b){var c=a.getAttribute("data-load-mode")||d.iframeLoadMode;0==c?a.contentWindow.location.replace(b):1==c&&(a.src=b)},ia=function(a){var b,c=a.getAttribute(d.srcsetAttr);(b=d.customMedia[a.getAttribute("data-media")||a.getAttribute("media")])&&a.setAttribute("media",b);c&&a.setAttribute("srcset",c)},ja=M(function(a,b,c,e,f){var h,k;if(!(k=D(a,"lazybeforeunveil",b)).defaultPrevented){e&&(c?B(a,
d.autosizesClass):a.setAttribute("sizes",e));e=a.getAttribute(d.srcsetAttr);c=a.getAttribute(d.srcAttr);if(f)var n=(h=a.parentNode)&&Q.test(h.nodeName||"");var m=b.firesLoad||"src"in a&&(e||c||n);k={target:a};B(a,d.loadingClass);m&&(clearTimeout(l),l=g(K,2500),T(a,ba,!0));n&&ea.call(h.getElementsByTagName("source"),ia);e?a.setAttribute("srcset",e):c&&!n&&(y.test(a.nodeName)?ha(a,c):a.src=c);f&&(e||n)&&U(a,{src:c})}a._lazyRace&&delete a._lazyRace;S(a,d.lazyClass);G(function(){var b=a.complete&&1<a.naturalWidth;
if(!m||b)b&&B(a,d.fastLoadedClass),ca(k),a._lazyCache=!0,g(function(){"_lazyCache"in a&&delete a._lazyCache},9);"lazy"==a.loading&&t--},!0)}),J=function(a){if(!a._lazyRace){var b=v.test(a.nodeName),c=b&&(a.getAttribute(d.sizesAttr)||a.getAttribute("sizes")),e="auto"==c;if(!e&&k||!b||!a.getAttribute("src")&&!a.srcset||a.complete||x(a,d.errorClass)||!x(a,d.lazyClass)){var f=D(a,"lazyunveilread").detail;e&&V.updateElem(a,!0,a.offsetWidth);a._lazyRace=!0;t++;ja(a,f,e,c,b)}}},ka=Y(function(){d.loadMode=
3;q()}),da=function(){3==d.loadMode&&(d.loadMode=2);ka()},O=function(){k||(999>e.now()-n?g(O,999):(k=!0,d.loadMode=3,q(),m("scroll",da,!0)))};return{_:function(){n=e.now();c.elements=b.getElementsByClassName(d.lazyClass);h=b.getElementsByClassName(d.lazyClass+" "+d.preloadClass);m("scroll",q,!0);m("resize",q,!0);m("pageshow",function(a){if(a.persisted){var c=b.querySelectorAll("."+d.loadingClass);c.length&&c.forEach&&P(function(){c.forEach(function(a){a.complete&&J(a)})})}});a.MutationObserver?(new MutationObserver(q)).observe(f,
{childList:!0,subtree:!0,attributes:!0}):(f.addEventListener("DOMNodeInserted",q,!0),f.addEventListener("DOMAttrModified",q,!0),setInterval(q,999));m("hashchange",q,!0);"focus mouseover click load transitionend animationend".split(" ").forEach(function(a){b.addEventListener(a,q,!0)});/d$|^c/.test(b.readyState)?O():(m("load",O),b.addEventListener("DOMContentLoaded",q),g(O,2E4));c.elements.length?(aa(),G._lsFlush()):q()},checkElems:q,unveil:J,_aLSL:da}}(),V=function(){var a,c=M(function(a,b,c,d){var e;
a._lazysizesWidth=d;d+="px";a.setAttribute("sizes",d);if(Q.test(b.nodeName||"")){b=b.getElementsByTagName("source");var f=0;for(e=b.length;f<e;f++)b[f].setAttribute("sizes",d)}c.detail.dataAttr||U(a,c.detail)}),e=function(a,b,d){var e=a.parentNode;e&&(d=L(a,e,d),b=D(a,"lazybeforesizes",{width:d,dataAttr:!!b}),b.defaultPrevented||(d=b.detail.width)&&d!==a._lazysizesWidth&&c(a,e,b,d))},f=Y(function(){var b,c=a.length;if(c)for(b=0;b<c;b++)e(a[b])});return{_:function(){a=b.getElementsByClassName(d.autosizesClass);
m("resize",f)},checkElems:f,updateElem:e}}(),y=function(){!y.i&&b.getElementsByClassName&&(y.i=!0,V._(),K._())};return g(function(){d.init&&y()}),c={cfg:d,autoSizer:V,loader:K,init:y,uP:U,aC:B,rC:S,hC:x,fire:D,gW:L,rAF:G}}(a,a.document,Date);a.lazySizes=b;"object"==typeof module&&module.exports&&(module.exports=b)}("undefined"!=typeof window?window:{});PDS=PDS||{};PDS.HelperLink=PDS.HelperLink||{};
PDS.HelperLink.generateRenditionPath=function(a,b){if("750.375"==b||"375.188"==b||"200.100"==b)b=b.split("."),b=b[1]+"."+b[0];a=a.split(".");return".web."+b+"."+a[a.length-1]};PDS.HelperLink.sanitizeString=function(a){return a.trim().replace(/<[^>]*>/g,"")};
PDS.HelperLink.loadScript=function(a,b){return new Promise(function(c,h){null==b&&(b="DOMContentLoaded");var e=document.createElement("script");e.src=a;e.onload=function(){c()};"now"==b?document.head.appendChild(e):document.addEventListener(b,function(){document.head.appendChild(e)})})};
PDS.HelperLink.loadStylesheet=function(a,b){null==b&&(b="DOMContentLoaded");var c=document.createElement("link");c.rel="stylesheet";c.type="text/css";c.href=a;"now"==b?document.head.appendChild(c):document.addEventListener(b,function(){document.head.appendChild(c)})};"use strict";
var WaitForElement=function(a){return{init:function(a){return new Promise(function(b){if(document.querySelector(a))return b(document.querySelector(a));var c=new MutationObserver(function(e){document.querySelector(a)&&(b(document.querySelector(a)),c.disconnect())});c.observe(document.body,{childList:!0,subtree:!0})})}}}(jQuery);PDS=PDS||{};
PDS.SearchOverlay=function(a){function b(b){b.preventDefault();b=a("#search-overlay form")[0].action+"#";var c=PDS.HelperLink.sanitizeString(a("#search-overlay input").val());c&&(b+="q\x3d"+c+"\x26");location.href=b+"t\x3dBlogs\x26sort\x3drelevancy"}return{init:function(){a("#search-overlay .search-button").on("click",b);a("#search-overlay form").on("submit",b)}}}(this.jQuery);