1function setCookie(e,t,o){var a;if(o){var n=new Date;n.setTime(n.getTime()+24*o*60*60*1e3),a="; expires="+n.toGMTString()}else a="";document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+a+"; path=/"}function getCookie(e){for(var t=encodeURIComponent(e)+"=",o=document.cookie.split(";"),a=0;a<o.length;a++){for(var n=o[a];" "===n.charAt(0);)n=n.substring(1,n.length);if(0===n.indexOf(t))return decodeURIComponent(n.substring(t.length,n.length))}return null}function delCookie(e){createCookie(e,"",-1)}function isInViewport(e){var t=e.getBoundingClientRect();return t.top>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)}function gcd(e,t){return 0==t?e:gcd(t,e%t)}function viewPortRatio(){var e=gcd($(window).width(),$(window).height());return $(window).width()/e/($(window).height()/e)}function getDomLang(){return $("html")[0].lang}function refreshPage(){window.location.reload()}function scrollToAnchor(e){var t=$("#"+e);$("html,body").animate({scrollTop:t.offset().top},"slow")}function scrollToClass(e,t){$("html,body").animate({scrollTop:$("."+e).offset().top-t},"slow")}function isGtagLoaded(){return"function"==typeof gtag}function searchUrlParams(e){return new URLSearchParams(window.location.search).get(e)}function initMap(){}function isSmartsuppLoaded(){return"function"==typeof smartsupp}jQuery.fn.extend({toggleText:function(e,t){return this.text()!=e&&this.text()!=t?this.text(e):this.text()==e?this.text(t):this.text()==t&&this.text(e),this}}),function(e){e(window).on("scroll",(function(){var t=e(window).scrollTop();t<=200&&e(".scroll-to-top").hide(),t>=500&&e(".scroll-to-top").show()})),e(document).on("click",".scroll-to-top",(function(){return e("html, body").animate({scrollTop:0},"slow"),!1}))}(jQuery),function(e){e(document).on("click",".js-toggle-class",(function(t){t.preventDefault();var o=e(this).attr("class").split(" "),a=o[1].replace("js-target-",""),n=o[2].replace("js-class-","");e("."+a).toggleClass(n)}))}(jQuery),window.mobileCheck=function(){let e=!1;var t;return t=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(e=!0),e},function(e){let t;initMap=function(){const o={zoom:18,center:{lat:parseFloat(e("#centroMap").attr("data-lat")),lng:parseFloat(e("#centroMap").attr("data-lng"))},zoomControl:!0,mapTypeControl:!1,scaleControl:!1,streetViewControl:!1,rotateControl:!1,fullscreenControl:!1,styles:google_maps_style};let a=document.getElementById("centroMap");if(a){t=new google.maps.Map(a,o);new google.maps.Marker({position:{lat:parseFloat(e("#centroMap").attr("data-lat")),lng:parseFloat(e("#centroMap").attr("data-lng"))},map:t})}}}(jQuery),function(e){e(window).on("facetwp-loaded facetwp-refresh",(function(){e(".facetwp-autocomplete-update").attr("value","Cerca")}))}(jQuery),$((function(){$(".single-post article").readingTime({wordsPerMinute:270,readingTimeTarget:$(".reading-time"),wordCountTarget:".words",lang:"it"})})),function(e){if(e("._tabs").length){let t=e("._tabs")[0].querySelectorAll("._tabs a"),o=e("._tab-contents");e(document).on("click","._tab",(function(a){a.preventDefault();let n=e(this).find("a").attr("href");for(let a=0;a<o[0].children.length;a++)t[a].parentElement.parentElement.classList.remove("bg-white"),t[a].parentElement.parentElement.classList.add("bg-primary"),e(this).removeClass("bg-primary").addClass("bg-white"),o[0].children[a].classList.remove("hidden"),"#"+o[0].children[a].id!==n&&o[0].children[a].classList.add("hidden")})),e(document).on("facetwp-loaded",(function(){var t=window.location.search,o=e("._tab-centri-button").attr("href");e("._tab-centri-button").attr("href",o+t)}))}}(jQuery),function(e){e(window).width();e(document).on("click","._open-chat",(function(t){e.getScript("//js.hs-scripts.com/20340524.js"),setTimeout(()=>{window.HubSpotConversations.widget.load(),window.HubSpotConversations.widget.open()},600)})),e(document).ready((function(){if(e("body").hasClass("page-open-days")){let t=searchUrlParams("province"),o=searchUrlParams("open_day_type");e("#province").val(t),e("#opendaytypes").val(o),function(t){var o=searchUrlParams("province"),a=searchUrlParams("open_day_type");if(o&&a)var n=WPURLS.ajaxurl+"?action=primo_up_open_days&province="+o+"&open_day_type="+a;else if(o&&!a)n=WPURLS.ajaxurl+"?action=primo_up_open_days&province="+o;else if(!o&&a)n=WPURLS.ajaxurl+"?action=primo_up_open_days&open_day_type="+a;else n=WPURLS.ajaxurl+"?action=primo_up_open_days";e.ajax({timeout:1e4,url:n}).done((function(t){e("._open-days-archive").append(t),e("._loading").toggleClass("hide")})).fail((function(e,t,o){alert("RestAPI error")}))}()}var t,o;e("body").hasClass("page-open-day")&&(t=searchUrlParams("open_day_id"),o=WPURLS.ajaxurl+"?action=primo_up_open_day&open_day_id="+t,e.ajax({timeout:1e4,url:o}).done((function(t){e("._open-day-content").append(t),e("._loading").toggleClass("hide")})).fail((function(e,t,o){alert("RestAPI error")}))),e("body").hasClass("page-hr-odontoiatra")&&function(t){var o=WPURLS.ajaxurl+"?action=primo_up_hr&recruiting_type=odontoiatra";e.ajax({timeout:1e4,url:o}).done((function(t){e("._open-hr-list").append(t),e("._loading").toggleClass("hide")})).fail((function(e,t,o){alert("RestAPI error")}))}(),e("body").hasClass("page-hr-hq")&&function(t){var o=WPURLS.ajaxurl+"?action=primo_up_hr&recruiting_type=hq";e.ajax({timeout:1e4,url:o}).done((function(t){e("._open-hr-list").append(t),e("._loading").toggleClass("hide")})).fail((function(e,t,o){alert("RestAPI error")}))}(),e("body").hasClass("page-hr-medici")&&function(t){var o=WPURLS.ajaxurl+"?action=primo_up_hr&recruiting_type=medici";e.ajax({timeout:1e4,url:o}).done((function(t){e("._open-hr-list").append(t),e("._loading").toggleClass("hide")})).fail((function(e,t,o){alert("RestAPI error")}))}(),e("body").hasClass("page-recruiting")&&function(t){var o=searchUrlParams("recruiting_id"),a=searchUrlParams("recruiting_type"),n=WPURLS.ajaxurl+"?action=primo_up_hr&recruiting_type="+a+"&id="+o;e.ajax({timeout:1e4,url:n}).done((function(t){e("._recruiting-content").append(t),e("._loading").toggleClass("hide")})).fail((function(e,t,o){alert("RestAPI error")}))}()})),e("select#province").on("change",(function(){var t=searchUrlParams("open_day_type"),o=this.value;if(t){if(history.pushState){var a=canvaCurrentPageUri+"?province="+o+"&open_day_type="+t;window.history.pushState({path:a},"",a)}var n=WPURLS.ajaxurl+"?action=primo_up_open_days&province="+o+"&open_day_type="+t}else{if(history.pushState){a=canvaCurrentPageUri+"?province="+o;window.history.pushState({path:a},"",a)}n=WPURLS.ajaxurl+"?action=primo_up_open_days&province="+o}e.ajax({timeout:1e4,url:n}).done((function(t){e("._open-days-archive").empty(),e("._loading").toggleClass("hide"),e("._open-days-archive").append(t),e("._loading").toggleClass("hide")})).fail((function(e,t,o){alert("RestAPI error")}))})),e("select#opendaytypes").on("change",(function(){var t=searchUrlParams("province"),o=this.value;if(t){if(history.pushState){var a=canvaCurrentPageUri+"?open_day_type="+o+"&province="+t;window.history.pushState({path:a},"",a)}var n=WPURLS.ajaxurl+"?action=primo_up_open_days&open_day_type="+o+"&province="+t}else{if(history.pushState){a=canvaCurrentPageUri+"?open_day_type="+o;window.history.pushState({path:a},"",a)}n=WPURLS.ajaxurl+"?action=primo_up_open_days&open_day_type="+o}e.ajax({timeout:1e4,url:n}).done((function(t){e("._open-days-archive").empty(),e("._loading").toggleClass("hide"),e("._open-days-archive").append(t),e("._loading").toggleClass("hide")})).fail((function(e,t,o){alert("RestAPI error")}))})),e(document).on("click","._load-more",(function(){e(this).data("current-page");var t=e(this).data("next-page"),o=(e(this).data("last-page"),searchUrlParams("province")),a=searchUrlParams("open_day_type");if(e("._loading").toggleClass("hide"),e(this).hide(),o&&a)var n=WPURLS.ajaxurl+"?action=primo_up_open_days&province="+o+"&open_day_type="+a+"&page="+t;else if(o&&!a)n=WPURLS.ajaxurl+"?action=primo_up_open_days&province="+o+"&page="+t;else if(!o&&a)n=WPURLS.ajaxurl+"?action=primo_up_open_days&open_day_type="+a+"&page="+t;else n=WPURLS.ajaxurl+"?action=primo_up_open_days&page="+t;e.ajax({timeout:1e4,url:n}).done((function(t){e("._open-days-archive").append(t),e("._loading").toggleClass("hide")})).fail((function(e,t,o){alert("RestAPI error")}))}))}(jQuery),function(e){e(document).on("click",".flipper-element-x",(function(t){t.preventDefault(),e(this).toggleClass("flipped-x")})),e(document).on("click",".flipper-element-y",(function(t){t.preventDefault(),e(this).toggleClass("flipped-y")})),"https://www.centridentisticiprimo.it/centri/"==canvaCurrentPageUri&&setTimeout(()=>{e(".locate-me").trigger("click")},2e3)}(jQuery),document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".toggleExpandButton").forEach(e
1=>{e.addEventListener("click",(function(){const t=this.dataset.cardId,o=document.getElementById(t).querySelector(".testo");o.classList.toggle("expanded"),o.classList.toggle("line-clamp-3"),e.textContent=o.classList.contains("expanded")?"Mostra meno":"Leggi tutto"}))})})),function(e){window.kalturaLoaded=!1,window.youtubeLoaded=!1,window.youtubePlayers=[],e.fn.embedVideo=function(t){e(this).each((function(){var o=e.extend({uiconf:"11601208",wid:"102",kalturaServerURL:"https://cloudvideo.cdn.net.co",maxWidth:e(this).data("max-width")?e(this).data("max-width"):"1200px",video_id:e(this).data("video-id"),video_url:e(this).data("video-url")?e(this).data("video-url"):null,html5:!1,autoplay:!!e(this).data("autoplay")&&e(this).data("autoplay"),thumbnail:!!e(this).data("thumbnail")&&e(this).data("thumbnail"),width:e(this).data("width")?e(this).data("width"):"100%",height:e(this).data("height")?e(this).data("height"):"100%",container:e(this).attr("id"),video_src:e(this).data("source")?e(this).data("source"):"kaltura",extra_params:!!e(this).data("params")&&e(this).data("params"),cc_policy:!!e(this).data("cc-policy")&&e(this).data("cc-policy"),play:'<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#fff" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm115.7 272l-176 101c-15.8 8.8-35.7-2.5-35.7-21V152c0-18.4 19.8-29.8 35.7-21l176 107c16.4 9.2 16.4 32.9 0 42z"/></svg>',playWidth:"48px",playHeight:"48px",playOpacity:"0.7"},t),a=e(this);if("kaltura"==o.video_src){if(!window.kalturaLoaded){var n=document.createElement("script");n.type="text/javascript",n.src=o.kalturaServerURL+"/p/"+o.wid+"/sp/"+o.wid+"00/embedIframeJs/uiconf_id/"+o.uiconf+"/partner_id/"+o.wid,document.getElementsByTagName("head")[0].appendChild(n),window.kalturaLoaded=!0}}else if("youtube"==o.video_src){if(!window.youtubeLoaded){var i=document.createElement("script");i.src="https://www.youtube.com/iframe_api",document.getElementsByTagName("head")[0].appendChild(i),window.youtubeLoaded=!0}var s=o.video_url.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/embed\/)([^\s&]+)/);null!=s&&(o.video_id=s[1])}else"vimeo"==o.video_src&&(o.video_id=o.video_url.split(/video\/|https?:\/\/vimeo\.com\//)[1].split(/[?&]/)[0]);var l=Math.floor(11*Math.random()),r=Math.floor(1e6*Math.random()),d=String.fromCharCode(l)+r;d=o.video_src+"_video_"+d;var c=function(){a.css({width:"100%",height:"100%",position:"absolute",top:0,left:0,"background-repeat":"no-repeat","background-size":"cover","background-position":"50% 50%","background-image":'url("'+o.thumbnail+'")'}).attr("id",d)};o.thumbnail?c():"kaltura"==o.video_src?(o.thumbnail="https://cloudvideo.cdn.net.co/p/"+o.wid+"/thumbnail/entry_id/"+o.video_id,c()):"youtube"==o.video_src?(o.thumbnail="https://img.youtube.com/vi/"+o.video_id+"/hqdefault.jpg",c()):"vimeo"==o.video_src&&e.getJSON("https://vimeo.com/api/v2/video/"+o.video_id+".json?callback=?",{format:"json"},(function(e){o.thumbnail=e[0].thumbnail_large,c()}));e("<div>").attr({style:"width: 100%; margin: 0 auto; max-width: "+o.maxWidth+";",class:"videoContainer"});var p=e("<div>").attr({style:"position: relative; height: 0; width: 100%; padding-bottom: 56.25%;",class:"framePlayerContainer"}),m=e(o.play);m.attr({width:"100%",height:"100%"});
1var u=e("<a>").css({position:"absolute",cursor:"pointer",width:o.playWidth,height:o.playHeight,top:"calc(50% - 24px)","margin-top":"-"+o.playHeight+"px",left:"calc(50% - 24px)","margin-left":"-"+o.playWidth+"px","text-decoration":"none",border:"none","border-radius":"50%","box-shadow":"0 0 100px rgba(0, 0, 0, 0.7)",opacity:o.playOpacity}).append(m);e(this).parent();u.appendTo(e(this)),e(this).wrap(p);var h=!o.autoplay||o.autoplay;u.on("click",(function(){var t="iframe",n="";"undefined"!=typeof AMP&&(t="amp-iframe",n='<amp-img layout="fill" src="'+o.thumbnail+'" placeholder></amp-img>'),u.fadeOut((function(){if(e(this).remove(),"kaltura"==o.video_src&&window.kalturaLoaded)kWidget.embed({targetId:d,wid:"_"+o.wid,uiconf_id:o.uiconf,entry_id:o.video_id,flashvars:{autoPlay:h}});else if("youtube"==o.video_src){var i={width:"100%",height:"100%",videoId:o.video_id,events:{onReady:function(e){h&&e.target.playVideo()}}};(o.autoplay||o.cc_policy)&&(i.playerVars={},o.cc_policy&&(i.playerVars.cc_load_policy=o.cc_policy),o.autoplay&&(i.playerVars.autoplay=o.autoplay)),window.youtubePlayers[d]=new YT.Player(d,i)}else if("vimeo"==o.video_src){var s="";o.extra_params&&(s="&"+o.extra_params);var l="<"+t+' src="https://player.vimeo.com/video/'+o.video_id+"?autoplay="+h+s+'" width="'+o.width+'" height="'+o.height+'" sandbox="allow-scripts allow-presentation allow-same-origin" layout="responsive" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen>'+n+"</"+t+">";a.append(l)}}))}))}))},e(document).ready((function(){e(".embed-video").embedVideo()}))}(jQuery),function(e){for(var t=function(e){(e=e||window.event).preventDefault?e.preventDefault():e.returnValue=!1;var t=function e(t,o){return t&&(o(t)?t:e(t.parentNode,o))}(e.target||e.srcElement,(function(e){return e.tagName&&"FIGURE"===e.tagName.toUpperCase()}));if(t){for(var a,n=t.parentNode,i=t.parentNode.childNodes,s=i.length,l=0,r=0;r<s;r++)if(1===i[r].nodeType){if(i[r]===t){a=l;break}l++}return a>=0&&o(a,n),!1}},o=function(e,t,o,a){var n,i,s,l=document.querySelectorAll(".pswp")[0];if(s=function(e){for(var t,o,a,n=e.childNodes,i=n.length,s=[],l=0;l<i;l++)1===(t=n[l]).nodeType&&("video"==$(t).data("type")?(videosrc=$(t).find("._video-embed").html(),a={html:videosrc}):(o=t.getAttribute("data-size").split("x"),a={src:t.getAttribute("data-url"),w:parseInt(o[0],10),h:parseInt(o[1],10)}),t.children.length>1&&(a.title=t.children[1].innerHTML),t.children.length>0&&(a.msrc=t.children[0].getAttribute("src")),a.el=t,s.push(a));return s}(t),i={galleryUID:t.getAttribute("data-pswp-uid"),getThumbBoundsFn:function(e){var t=s[e].el.children[0],o=window.pageYOffset||document.documentElement.scrollTop,a=t.getBoundingClientRect();return{x:a.left,y:a.top+o,w:a.width}}},a)if(i.galleryPIDs){for(var r=0;r<s.length;r++)if(s[r].pid==e){i.index=r;break}}else i.index=parseInt(e,10)-1;else i.index=parseInt(e,10);isNaN(i.index)||(o&&(i.showAnimationDuration=0),(n=new PhotoSwipe(l,PhotoSwipeUI_Default,s,i)).init(),n.listen("close",(function(){$(".pswp__item").find(".photoswipe-video").empty()})))},a=document.querySelectorAll(e),n=0,i=a.length;n<i;n++)a[n].setAttribute("data-pswp-uid",n+1),a[n].onclick=t}(".photoswipe-item"),function(e){function t(t){e(".modal-container, .off-canvas-desktop, .off-canvas-mobile").addClass("fade-out"),setTimeout((function(){e(".modal-container, .off-canvas-desktop, .off-canvas-mobile").addClass("hidden"),e(".modal-container, .off-canvas-desktop, .off-canvas-mobile").removeClass("fade-out"),e("body").removeClass("overflow-y-hidden"),e(".modal-container ._modal-content-append").children().remove(),e("._modal-content-append").removeClass("hidden"),e("._modal-content-append").removeClass("fade-out"),e(".hamburger-modal").toggleClass("open")}),750)}e(document).on("click",".modal-open",(function(o){o.preventDefault();var a=e(this).attr("data-modal-content"),n=e("."+a).clone();e(document).find(".modal-container .modal-content-append").append(n),e(".modal-container .modal-content-append ."+a).removeClass("hidden"),e(".modal-container").removeClass("hidden"),e(".modal-container").removeClass("fade-out"),e(".modal-container").addClass("flex"),e("body").addClass("overflow-y-hidden"),setTimeout(()=>{document.querySelectorAll(".wpcf7 > form").forEach((function(e){return wpcf7.init(e)}))},900),setTimeout((function(){document.addEventListener("wpcf7mailsent",(function(o){e.each(canvaCf7Ids,(function(a,n){n==o.detail.contactFormId&&(e("._modal-content-append").addClass("fade-out"),setTimeout((function(){e("._modal-content-append").addClass("hidden")}),600),setTimeout((function(){e("._modal-content-msg").fadeToggle("slow")}),1200),setTimeout((function(){e("._modal-content-msg").fadeToggle("slow")}),2400),setTimeout((function(){t(jQuery)}),2800))}))}),!1)}),1200),e(".modal-container").find(".ajax-loader:not(:first)").remove()})),e(document).on("click",".modal-close",t),e(document).on("keyup","body",(function(e){27===e.which&&t()}))}(jQuery),function(e){e(document).on("click",".modal-post-open",(function(t){t.preventDefault();var o=WPURLS.ajaxurl,a=e(this).attr("data-post-id"),n=e(this).attr("data-action-name"),i=e(this).attr("data-template-name"),s=e(this).attr("data-nonce"),l=e(this).attr("data-animation-in"),r=(e(this).attr("data-animation-out"),e(this).attr("data-modal-container-class"));e(this).hasClass("modal-round-expansion")&&(e(this).addClass("active"),e(this).find(".text-wrapper, svg").hide(),e("#modal
1-post-opener").addClass("modal-round-opener")),e.ajax(o+"?action="+n+"&id="+a+"&template="+i+"&nonce="+s).done((function(t){e("body").addClass("overflow-y-hidden relative"),e("#modal-post-opener").show(),setTimeout(()=>{e("#modal-post-opener").find("._modal-content").append(t)},600),l?e("#modal-post-opener").addClass(l):e("#modal-post-opener").addClass("modal-in-from-bottom"),e("#modal-post-opener").addClass("modal-in"),e("#modal-post-opener").removeClass("modal-out"),r&&e("#modal-post-opener").find("._modal-content").addClass(r),setTimeout(()=>{document.querySelectorAll(".wpcf7 > form").forEach((function(e){return wpcf7.init(e)}))},2e3),setTimeout((function(){document.addEventListener("wpcf7mailsent",(function(t){e.each(canvaCf7Ids,(function(o,a){a==t.detail.contactFormId&&(e("._modal-content").addClass("fade-out"),setTimeout((function(){e("._modal-content").addClass("hidden")}),600),setTimeout((function(){e("._modal-content-messages").fadeToggle("slow")}),1200),setTimeout((function(){e("._modal-content-messages").fadeToggle("slow")}),2400),setTimeout((function(){modalClose(jQuery)}),2800))}))}),!1)}),1200)}))})),e(document).on("click",".inline-modal-post-open",(function(t){t.preventDefault();var o=e(this).attr("data-animation-in"),a=(e(this).attr("data-animation-out"),e(this).attr("data-modal-container-class")),n=e(this).attr("data-post-id"),i=e("._modal-id-"+n).children().clone();e(".modal-post-open").hasClass("modal-round-expansion")&&(e(".modal-post-open").removeClass("active"),e("#modal-post-opener").removeClass("modal-round-opener"),setTimeout((function(){e(".modal-post-open .text-wrapper, .modal-post-open svg, .modal-post-open img").fadeIn()}),1e3)),e("body").addClass("overflow-y-hidden relative"),e("#modal-post-opener").show(),setTimeout(()=>{e("#modal-post-opener").find("._modal-content").append(i)},600),o?e("#modal-post-opener").addClass(o):e("#modal-post-opener").addClass("modal-in-from-bottom"),e("#modal-post-opener").addClass("modal-in"),e("#modal-post-opener").removeClass("modal-out"),a&&e("#modal-post-opener").find("._modal-content").addClass(a),setTimeout(()=>{document.querySelectorAll(".wpcf7 > form").forEach((function(e){return wpcf7.init(e)}))},2e3),setTimeout((function(){document.addEventListener("wpcf7mailsent",(function(t){e.each(canvaCf7Ids,(function(o,a){a==t.detail.contactFormId&&(e("._modal-content").addClass("fade-out"),setTimeout((function(){e("._modal-content").addClass("hidden")}),600),setTimeout((function(){e("._modal-content-messages").fadeToggle("slow")}),1200),setTimeout((function(){e("._modal-content-messages").fadeToggle("slow")}),2400),setTimeout((function(){modalClose(jQuery)}),2800))}))}),!1)}),1200)})),e(document).on("click","._modal-close-button, ._modal-filter",(function(){var t=e(this).attr("data-animation-in"),o=e(this).attr("data-animation-out"),a=e(this).attr("data-modal-container-class");e(".modal-post-open").hasClass("modal-round-expansion")&&(e(".modal-post-open").removeClass("active"),e("#modal-post-opener").removeClass("modal-round-opener")),setTimeout(()=>{e(".modal-post-open .text-wrapper, .modal-post-open svg, .modal-post-open img").fadeIn()},600),e("body").removeClass("overflow-y-hidden relative"),o?e("#modal-post-opener").addClass(o):e("#modal-post-opener").addClass("modal-out-to-bottom"),e("#modal-post-opener").find("._modal-content").empty(),setTimeout((function(){t?(e("#modal-post-opener").removeClass(t),e("#modal-post-opener").addClass("modal-out")):(e("#modal-post-opener").removeClass("modal-in-from-bottom"),e("#modal-post-opener").addClass("modal-out"))}),500),setTimeout((function(){o?(e("#modal-post-opener").removeClass(o),e("#modal-post-opener").removeClass("modal-in")):(e("#modal-post-opener").removeClass("modal-out-to-bottom"),e("#modal-post-opener").removeClass("modal-in")),e("#modal-post-opener").hide(),e("#modal-post-opener").find("._modal-content").removeClass(a)}),700)})),e(document).on("keyup","body",(function(t){var o=e("._modal-close-button").attr("data-animation-in"),a=e("._modal-close-button").attr("data-animation-out"),n=e("._modal-close-button").attr("data-modal-container-class");27===t.which&&(e("html").removeClass("overflow-y-hidden"),e("body").removeClass("overflow-y-hidden relative"),e("#modal
1-post-opener").addClass("modal-out-to-bottom"),e("#modal-post-opener").find("._modal-content").empty(),e(".modal-post-open").hasClass("modal-round-expansion")&&(e(".modal-post-open").removeClass("active"),e("#modal-post-opener").removeClass("modal-round-opener")),setTimeout(()=>{e(".modal-post-open .text-wrapper, .modal-post-open svg, .modal-post-open img").fadeIn()},600),setTimeout((function(){o?(e("#modal-post-opener").removeClass(o),e("#modal-post-opener").addClass("modal-out")):(e("#modal-post-opener").removeClass("modal-in-from-bottom"),e("#modal-post-opener").addClass("modal-out"))}),500),setTimeout((function(){a?(e("#modal-post-opener").removeClass(a),e("#modal-post-opener").removeClass("modal-in")):(e("#modal-post-opener").removeClass("modal-out-to-bottom"),e("#modal-post-opener").removeClass("modal-in")),e("#modal-post-opener").hide(),e("#modal-post-opener").find("._modal-content").removeClass(n)}),700),e(".round-modal-wrap").fadeOut(),e(".round-modal-open").removeClass("active"),setTimeout((function(){e(".round-modal-open").children("span").show()}),2e3))})),e(document).on("click",".round-modal-open",(function(){e(this).addClass("active"),e(this).children("span").hide(),setTimeout((function(){e(".round-modal-wrap").fadeIn()}),1e3)})),e(document).on("click",".round-modal-close",(function(){e(".round-modal-wrap").fadeOut(),e(".round-modal-open").removeClass("active"),setTimeout((function(){e(".round-modal-open").children("span").show()}),2e3)}))}(jQuery),function(e){function t(t){t.preventDefault();var o='<div class="nav-layers-mobile-subnav"><div class="nav-layers-mobile-nav"><div class="nav-layers-mobile-nav-back"></div><div class="nav-layers-mobile-nav-title">'+e(this).children("a").html()+'</div><div class="nav-layers-mobile-nav-close"></div></div><div class="nav-layers-mobile-submenu"><ul class="nav-layers-mobile-sublist">'+e(this).children(".dropdown").html()+"</ul></div></div>";e("._off-canvas-layers").append(o),e("._off-canvas-layers").children(".nav-layers-mobile-subnav").animate({},0,(function(){e("._off-canvas-layers").children(".nav-layers-mobile-subnav").addClass("show")}))}e(".off-canvas-mobile").removeClass("hide inset-0 fade-in"),e(document).on("click",".hamburger-modal",(function(){e(".nav-layers-mobile-nav,.nav-layers-mobile,.nav-layers-mobile-subnav").remove();e(this).addClass("open"),0==e(".nav-layers-mobile").length&&(e(".mobile-navigation").append('<div class="nav-layers-mobile"></div>'),e(".off-canvas-mobile").prepend('<div class="nav-layers-mobile-nav"><div class="nav-layers-mobile-nav-close"></div></div>')),e(".mobile-navigation").find(".nav-layers-mobile").fadeIn(),e(".off-canvas-mobile").toggleClass("show")})),e(document).on("click",".nav-layers-mobile-nav-back",(function(){var t=e(this).closest(".nav-layers-mobile-subnav");e(t).removeClass("show"),setTimeout((function(){e(t).remove()}),500)})),e(document).on("click",".nav-layers-mobile, .nav-layers-mobile-nav-close",(function(){e(".show").removeClass("show"),e(".nav-layers-mobile").fadeOut(),setTimeout((function(){e(".nav-layers-mobile,.nav-layers-mobile-subnav").remove(),e(".hamburger-modal").removeClass("open")}),500)})),e(document).on("click",".off-canvas-mobile .menu .menu-item-has-children",t),e(document).on("click",".nav-layers-mobile-submenu .menu-item-has-children",t)}(jQuery),function(e){e(document).on("click",".desktop-navigation .menu > li.menu-item-has-children",(function(t){t.preventDefault();var o=e(".desktop-navigation").outerHeight()+"px",a='<div class="nav-desktop-curtain-layer" style="top: '+o+'"></div>',n='<ul class="nav-desktop-curtain-nav" style="top: '+o+';"></ul>',i=e(this).find(".dropdown").html();e(".desktop-navigation .menu > li.menu-item-has-children").removeClass("exploded"),e(this).addClass("exploded"),e(".nav-desktop-curtain-nav").length?e(".nav-desktop-curtain-nav").empty().append(i):(e(".desktop-navigation").append(a).append(n),e(".nav-desktop-curtain-nav").append(i).hide(),e(".desktop-navigation").find(".nav-desktop-curtain-nav").slideDown("fast"))})),e(document).on("click",".nav-desktop-curtain-nav li.menu-item-has-children",(function(){e(".nav-desktop-curtain-nav li.menu-item-has-children ul").removeClass("flex"),e(".nav-desktop-curtain-nav li.menu-item-has-children").removeClass("sub-exploded"),e(this).addClass("sub-exploded"),e(this).find("ul").addClass("flex")}
1)),e(document).on("click",".nav-desktop-curtain-layer, .desktop-navigation .menu > li:not(.menu-item-has-children)",(function(){e(".nav-desktop-curtain-layer,.nav-desktop-curtain-nav").remove(),e(".desktop-navigation .menu > li.menu-item-has-children").removeClass("exploded")}))}(jQuery),function(e){e(window).on("scroll",(function(){var t=e(window).scrollTop();t<=200&&e(".scroll-to-top").hide(),t>=500&&e(".scroll-to-top").show()})),e(document).on("click",".scroll-to-top",(function(){return e("html, body").animate({scrollTop:0},"slow"),!1}))}(jQuery),function(e){e(".show-more").on("click",(function(){e(this).parent().find(".roller-up").toggleClass("roll-this-down"),e(this).toggleClass("show-less"),e(this).toggleText(__("Show more","canva"),__("Show less","canva"))})),e(document).on("facetwp-loaded",(function(){e(".show-more").on("click",(function(){e(this).parent().find(".roller-up").toggleClass("roll-this-down"),e(this).toggleClass("show-less"),e(this).toggleText(__("Show more","canva"),__("Show less","canva"))}))})),e(document).on("facetwp-refresh",(function(){e(".show-more").on("click",(function(){e(this).parent().find(".roller-up").toggleClass("roll-this-down"),e(this).toggleClass("show-less"),e(this).toggleText(__("Show more","canva"),__("Show less","canva"))}))}))}(jQuery),function(e){e(document).on("click",".roller-toggler-click",(function(){e(".roller-toggler").slideToggle("500")}))}(jQuery),function(e){try{new Swiper("._hero_slider",{loop:!0,autoplay:!0,pauseOnMouseEnter:!0,slidesPerView:"auto",centeredSlides:!0,slideToClickedSlide:!1,preloadImages:!1,lazy:!0,pagination:{el:".swiper-pagination",type:"bullets",clickable:"true"},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},keyboard:{enabled:!0}}).on("slideChange",(function(){e(".swiper-slide").find(".video-bg").each((function(){e(this).is(":visible")?(this.pause(),this.currentTime=0,this.play()):(this.currentTime=0,this.pause())}))}))}catch(e){console.log("no swiper")}var t=e(".accordion > dd:not(.active)").hide();e(".accordion > dt > a").click((function(){return $this=e(this),$next=$this.parent().next(),$prev=$this.parent().prev(),$next.hasClass("active")||(t.removeClass("active").slideUp(),$next.addClass("active").slideDown(),$prev.removeClass("active").slideUp()),!1}))}(jQuery),function(e){e(window).on("facetwp-loaded facetwp-refresh",(function(){e(".loading").hide();e(window).scrollTop();var t=e(window).width();e(window).height();t<640&&(e(".facetwp-filters-show").show(),e(".facetwp-filters-hide").hide(),e(".facetwp-filters-container").hide(),e(document).on("click",".facetwp-filters-show",(function(){e(".facetwp-filters-container").slideDown(),e(".facetwp-filters-show").hide(),e(".facetwp-filters-hide").show(),e(".facetwp-filters-container").addClass("overflow-y h-100vh")})),e(document).on("click",".facetwp-filters-hide",(function(){e(".facetwp-filters-container").slideUp(),e(".facetwp-filters-hide").hide(),e(".facetwp-filters-show").show(),e(".facetwp-filters-container").removeClass("overflow-y h-100vh"),e(".loading").show(),setTimeout((function(){e(".facetwp-filters-container").hide(),e(".loading").hide()}),350)})))})),e(window).on("facetwp-loaded facetwp-refresh scroll",(function(){var t=e(window).scrollTop(),o=e(window).width(),a=e(window).height(),n=e(".mobile-navigation").outerHeight(),i=e(".facetwp-filters").position();o<640&&i?t>i.top-n?(e(".facetwp-filters").removeClass("sticky"),e(".facetwp-filters").css({position:"fixed","z-index":"10",width:"100%",top:n+"px",left:"0",padding:".5rem 1rem","border-bottom":"1px solid #b8b8b6"}),e(".facetwp-filters-container").addClass("overflow-y h-100vh")):(e(".facetwp-filters").removeAttr("style"),e(".facetwp-filters-container").removeClass("overflow-y h-100vh")):e(".facetwp-filters").outerHeight<a&&e(".facetwp-filters").addClass("sticky")})),e(document).on("facetwp-loaded",(function(){var e=isGtagLoaded();FWP.loaded&&!0===e&>ag("event","page_view",{page_location:window.location.pathname+window.location.search})})),e(document).on("facetwp-loaded",(function(){FWP.loaded&&1==FWP.load_more_paged&&scrollToClass("facetwp-template",100)}))}(jQuery),function(e){e.fn.readingTime=function(t){if(!this.length)return this;var o=this,a=e(this);o.settings=e.extend({},{readingTimeTarget:".eta",wordCountTarget:null,wordsPerMinute:270,round:!0,lang:"en",lessThanAMinuteString:"",prependTimeString:"",prependWordString:"",remotePath:null,remoteTarget:null},t);var n=o.settings.readingTimeTarget,i=o.settings.wordCountTarget,s=o.settings.wordsPerMinute,l=o.settings.round,r=o.settings.lang,d=o.settings.lessThanAMinuteString,c=o.settings.prependTimeString,p=o.settings.prependWordString,m=o.settings.remotePath,u=o.settings.remoteTarget;if("it"==r)var h=d||"Meno di un minuto",f="min";else if("fr"==r)h=d||"Moins d'une minute",f="min";else if("de"==r)h=d||"Weniger als eine Minute",f="min";else if("es"==r)h=d||"Menos de un minuto",f="min";else if("nl"==r)h=d||"Minder dan een minuut",f="min";else h=d||"Less than a minute",f="min";var v=function(t){var o=t.trim().split(/\s+/g).length,a=o/(s/60);if(!0===l)var r=Math.round(a/60);else r=Math.floor(a/60);var d=Math.round(a-60*r);if(!0===l)r>0?e(n).text(c+r+" "+f):e(n).text(c+h);else{var m=r+":"+d;e(n).text(c+m)}""!==i&&void 0!==i&&e(i).text(p+o)};a.each((function(){null!=m&&null!=u?e.get(m,(function(t){v(e("<div>").html(t).find(u).text())})):v(a.text())}))}}(jQuery),function(e){"en-US"==getDomLang()?e(".c4wp-display-captcha-form label").text("Resolve Captcha *"):"fr-FR"==getDomLang?e(".c4wp-display-captcha-form label").text("Résoudre le captcha *"):"es-ES"==getDomLang?e(".c4wp-display-captcha-form label").text("Resolver Captcha *"):"de-DE"==getDomLang&&e(".c4wp-display-captcha-form label").text("Captcha lösen *")}(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.