!function(t){"use strict";var e={initialize:function(){t("#text-search, #filter-form").on("submit",function(){t("#text-search [name='sp[f]']").val(t("#filter-form [name='sp[f]']").val()),t("#text-search [name='sp[t]']").val(t("#filter-form [name='sp[t]']").val()),t("#text-search [name='category_name']").val(t("#filter-form [name='category_name']").val()),t("#text-search [name='post_type']").val(t("#filter-form [name='post_type']").val())}),t("#filter-apply").on("click",function(){t("#text-search").trigger("submit")}),t("#filter-apply").on("keydown",function(e){"Enter"===e.key&&t("#text-search").trigger("submit")}),t("#icon-search").on("click",function(){t("#text-search").trigger("submit")}),t("#icon-search").on("keydown",function(e){"Enter"===e.key&&t("#text-search").trigger("submit")}),t("#dates").change(function(){"date-all"!==t(this).attr("id")?(t("#filter-form [name='sp[f]']").val(t(this).val()),t("#filter-form [name='sp[t]']").val(t.datepicker.formatDate("yy-mm-dd",new Date))):(t("#filter-form [name='sp[f]']").val(""),t("#filter-form [name='sp[t]']").val(""))}),t("#categories").change(function(){"categories-all"!==t(this).attr("id")&&t("#filter-form [name='category_name']").val(t(this).val())});var e,a=t("#date-end"),o=t("#date-start");o.datepicker({dateFormat:"yy-mm-dd",defaultDate:0,maxDate:a.val(),onClose:function(t){a.datepicker("option","minDate",t)},beforeShow:function(t,e){setTimeout(function(){e.dpDiv.position({my:"left top",at:"left bottom",collision:"none",of:t})},1)}}),a.datepicker({dateFormat:"yy-mm-dd",defaultDate:0,minDate:o.val(),onClose:function(t){o.datepicker("option","maxDate",t)},beforeShow:function(t,e){setTimeout(function(){e.dpDiv.position({my:"left top",at:"left bottom",collision:"none",of:t})},1)}}),t("#filter-form").on("submit",function(){t("#filter-form [name='s']").val(t("#text-search [name='s']").val())}),t("[name='date']").on("click",function(){"date-all"!==t(this).attr("id")?(t("#filter-form [name='sp[f]']").val(t(this).val()),t("#filter-form [name='sp[t]']").val(t.datepicker.formatDate("yy-mm-dd",new Date))):(t("#filter-form [name='sp[f]']").val(""),t("#filter-form [name='sp[t]']").val("")),t("#filter-form [name='s']").val(t("#text-search [name='s']").val()),t("#filter-form").trigger("submit")}),t("#obits-filters").on("click",function(e){e.preventDefault(),e.stopPropagation(),t("#obit-filter-popup").toggleClass("expanded"),t("#obit-filter-popup").hasClass("expanded")?t("#obit-filter-popup").attr({"aria-expanded":"true","aria-label":"Close obituary search filter dropdown"}):(t("#obit-filter-popup").attr({"aria-expanded":"false","aria-label":"Open obituary search filter dropdown"}),t("#top-date-start").val(""),t("#top-date-end").val(""))}),t("#obits-filters").on("keydown",function(e){"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),t("#obit-filter-popup").toggleClass("expanded"),t("#obit-filter-popup").hasClass("expanded")?t("#obit-filter-popup").attr({"aria-expanded":"true","aria-label":"Close obituary search filter dropdown"}):(t("#obit-filter-popup").attr({"aria-expanded":"false","aria-label":"Open obituary search filter dropdown"}),t("#top-date-start").val(""),t("#top-date-end").val("")))}),t(document).click(function(e){!t("#obit-filter-popup").hasClass("expanded")||t(e.target).closest(t("#obit-filter-popup")).length||t(e.target).closest(t("#ui-datepicker-div")).length||t(e.target).closest(t("#obits-search-box")).length||(t("#obit-filter-popup").removeClass("expanded"),t("#obit-filter-popup").attr({"aria-expanded":"false","aria-label":"Open obituary search filter dropdown"}),t("#top-date-start").val(""),t("#top-date-end").val(""))}),t("#obit-filter-apply").on("click",function(){t("#obits-search-box").trigger("submit")}),t("#obit-filter-apply").on("keydown",function(e){"Enter"===e.key&&t("#obits-search-box").trigger("submit")});var i=t("#top-date-end");t("#top-date-start").datepicker({dateFormat:"yy-mm-dd",defaultDate:0,maxDate:a.val(),onClose:function(t){a.datepicker("option","minDate",t)},beforeShow:function(t,e){setTimeout(function(){e.dpDiv.position({my:"left top",at:"left bottom",collision:"none",of:t})},1)}}),i.datepicker({dateFormat:"yy-mm-dd",defaultDate:0,minDate:o.val(),onClose:function(t){o.datepicker("option","maxDate",t)},beforeShow:function(t,e){setTimeout(function(){e.dpDiv.position({my:"left top",at:"left bottom",collision:"none",of:t})},1)}}),t(".ui-corner-all").on("click",function(t){t.stopPropagation()});let r=(e="customizer-styles",document.getElementById(e)),n=t=>{if(r){let e=r.textContent.match(RegExp(`--${t}:\\s*(?#?[\\w\\d]+);`));if(e&&e.groups)return e.groups.color}return`var(--${t})`},l=document.createElement("style");l.id="obit-popup-styles-override",l.textContent=` .ui-datepicker-header { background: ${n("primary")} !important; } .ui-datepicker-prev:hover, .ui-datepicker-next:hover { background-color: ${n("primary-light")} !important; } .ui-datepicker-calendar tbody td:hover { background-color: ${n("primary-light")} !important; } .ui-datepicker-calendar tbody td.ui-datepicker-current-day { background-color: ${n("primary-light")} !important; } `,document.head.appendChild(l)}};t(function(){e.initialize()})}(jQuery); ; "use strict";!function(t){var i=new Image,o=t(".custom-logo").find("img"),t=o.attr("src");i.onload=function(){o.prop("width",i.width),o.prop("height",i.height)},i.src=t}(jQuery);; ({initialize:function(){var e=this;e.initializeLoadAssets(),document.addEventListener("DOMContentLoaded",function(){e.mutationObserver(),e.REVmutationObserver(),e.STNmutationObserver()})},debug:function(){var e=!1;return e="undefined"!=typeof DFM_AD_MODS_DEBUG?!0:e},initializeLoadAssets:function(){this.debug()&&console.log("DEBUG: initializeLoadAssets success");var e=localStorage.getItem("hhsl");return"undefined"!=typeof MNGAuthentication&&"function"==typeof MNGAuthentication.isUserAdFree&&MNGAuthentication.isUserAdFree()?(this.debug()&&console.log("DEBUG: MNGAuthentication is initialized and indicated that the user is ad free; returning false for ad-free experience. auth via MNGAuthentication"),this.listenForCNX=!0,this.listenForSTN=!0,this.listenForREV=!0,this.addOrRemoveElement("remove"),!1):void 0!==e&&"access"===e?(this.debug()&&console.log('DEBUG: hhsl localstorage is not undefined and does include "access"; returning false for ad-free experience. auth via localStorage'),this.listenForCNX=!0,this.listenForSTN=!0,this.listenForREV=!0,this.addOrRemoveElement("remove"),!1):(this.debug()&&console.log("DEBUG: NO access detected, load ad scripts function"),this.listenForCNX=!1,this.listenForSTN=!1,this.listenForREV=!1,this.addOrRemoveElement("add"),void this.loadAdsScripts())},loadAdsScripts:function(){this.debug()&&console.log("DEBUG: loadAdsScripts success");var e=document.createElement("script");e.defer=!0,e.type="text/javascript",e.src="https://s.ntv.io/serve/load.js",document.getElementsByTagName("body")[0].appendChild(e),this.debug()&&console.log("DEBUG: nativo script written"),document.getElementById("mobile-adhesion").classList.remove("closed"),this.debug()&&console.log("DEBUG: mobile adhesion banner showing")},addOrRemoveElement:function(e){var t=document.querySelectorAll(".dfp-ad"),i=document.querySelectorAll("[data-stn-player],[data-s2n-api]"),n=document.querySelectorAll(".cnx-main-container"),o=document.querySelectorAll(".revcon-footer");"remove"===e?(t.forEach(function(e){return e.remove()}),i.forEach(function(e){return e.remove()}),n.forEach(function(e){return e.remove()}),o.forEach(function(e){return e.remove()})):(t.forEach(function(e){return e.style.visibility="visible"}),i.forEach(function(e){return e.style.visibility="visible"}),n.forEach(function(e){return e.style.visibility="visible"}),o.forEach(function(e){return e.style.visibility="visible"}))},mutationObserver:function(){new MutationObserver(function(e){e.forEach(function(e){this.listenForCNX&&0