1window.CookieHandler=(()=>{function c(o="customized"){const n=jqueryTiki.cookie_consent_name,p=JSON.parse(jqueryTiki.cookie_consent_categories);let i=JSON.parse(jqueryTiki.cookie_consent_value);(i===null||i.length===0)&&(i={action:"customized",categories:{},consentGiven:!1});const e=i,t=new Date;t.setTime(t.getTime()+24*60*60*1e3*jqueryTiki.cookie_consent_expires),jqueryTiki.no_cookie=!1,e.categories={},p.forEach(l=>{const u=$(`#toggle${r(l)}`).is(":checked");e.categories[l]=u});let s=!0,a=!0;$("#customConsentSection input[type='checkbox']").each(function(){$(this).prop("disabled")||($(this).is(":checked")?a=!1:s=!1)}),s?e.action="acceptAll":a?e.action="declineUnnecessary":e.action="customized",e.consentGiven=!0,setCookieBrowser(n,encodeURIComponent(JSON.stringify(e)),"",t),$(document).trigger("cookies.consent.agree")}function r(o){return o.charAt(0).toUpperCase()+o.slice(1)}function d(){jqueryTiki.cookie_consent_mode==="dialog"?$(`#${jqueryTiki.cookie_consent_dom_id}`).modal("hide"):$(`#${jqueryTiki.cookie_consent_dom_id}`).fadeOut("fast")}function k(){let o=!0,n=!0;$("#customConsentSection input[type='checkbox']").each(function(){$(this).prop("disabled")||$(this).attr("name").includes("cookie_consent_essential")||($(this).is(":checked")?n=!1:o=!1)}),o?($("#acceptAllCheck").prop("checked",!0),$("#declineUnnecessaryCheck").prop("checked",!1),$("#customizedCheck").prop("checked",!1).parent().hide()):n?($("#declineUnnecessaryCheck").prop("checked",!0),$("#acceptAllCheck").prop("checked",!1),$("#customizedCheck").prop("checked",!1).parent().hide()):($("#acceptAllCheck").prop("checked",!1),$("#declineUnnecessaryCheck").prop("checked",!1),$("#customizedCheck").prop("checked",!0).parent().show())}return{setConsentCookies:c,hideConsentElement:d,updateTopLevelAction:k}})();$(document).ready(()=>{CookieHandler.updateTopLevelAction(),$("#customConsentSection input[type='checkbox']").on("change",function(){CookieHandler.updateTopLevelAction()}),$("#cookie_consent_preference").on("click",()=>(CookieHandler.setConsentCookies("acceptAll"),CookieHandler.hideConsentElement(),!1)),$("#cookie_decline_unnecessary_button").on("click",()=>(CookieHandler.setConsentCookies("declineUnnecessary"),CookieHandler.hideConsentElement(),!1)),$("#cookie_save_button").on("click",()=>(CookieHandler.setConsentCookies("customized"),CookieHandler.hideConsentElement(),!1)),jqueryTiki.cookie_consent_mode==="banner"?setTimeout(()=>{$(`#${jqueryTiki.cookie_consent_dom_id}`).slideDown("slow")},500):jqueryTiki.cookie_consent_mode==="dialog"&&setTimeout(()=>{const c=$(`#${jqueryTiki.cookie_consent_dom_id}`);c.modal({backdrop:jqueryTiki.cookie_consent_disable==="y"?"static":!0,keyboard:jqueryTiki.cookie_consent_disable!=="y"}),c.modal("show").css({backgroundColor:"transparent",color:"black",border:"transparent"})},500),$("#acceptAllCheck").on("change",function(){$(this).is(":checked")&&($("#declineUnnecessaryCheck").prop("checked",!1),$("#customConsentSection input[type='checkbox']").each(function(){$(this).prop("disabled")||$(this).prop("checked",!0)})),CookieHandler.updateTopLevelAction()}),$("#declineUnnecessaryCheck").on("change",function(){$(this).is(":checked")&&($("#acceptAllCheck").prop("checked",!1),$("#customConsentSection input[type='checkbox']").each(function(){$(this).prop("disabled")||$(this).prop("checked",!1)})),CookieHandler.updateTopLevelAction()})}); 2//# sourceMappingURL=tiki-cookie-handler.js.map
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.