!function(e){var t={};function n(o){if(t[o])return t[o].exports;var c=t[o]={i:o,l:!1,exports:{}};return e[o].call(c.exports,c,c.exports,n),c.l=!0,c.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var c in e)n.d(o,c,function(t){return e[t]}.bind(null,c));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t){const n=window._ckyConfig,o=window._ckyStyles;n._backupNodes=[],n._resetConsentID=!1,n._bannerState=!1,n._preferenceOriginTag=!1,window.cookieyes=window.cookieyes||{};const c=window.cookieyes;c._ckyConsentStore=new Map,c._ckyGetCookieMap=function(){const e={};try{document.cookie.split(";").map(t=>{const[n,o]=t.split("=");n&&(e[n.trim()]=o)})}catch(e){}return e};const r=c._ckyGetCookieMap();c._ckyGetFromStore=function(e){return c._ckyConsentStore.get(e)||""},c._ckySetInStore=function(e,t){c._ckyConsentStore.set(e,t);let o=[];for(const[e,t]of c._ckyConsentStore)o.push(`${e}:${t}`);const r=n&&n._expiry?n._expiry:365;c._ckySetCookie("cookieyes-consent",o.join(","),r)};const s=(r["cookieyes-consent"]||"").split(",").reduce((e,t)=>{if(!t)return e;const[n,o]=t.split(":");return e[n]=o,e},{});function i(e){const t=document.querySelector("[data-cky-tag="+e+"]");return t||!1}function a(e,t){const n=d(e);n&&n.addEventListener("click",t)}function u(){return l("remove",...arguments)}function l(e,t,n,o=!0){const c=d(t,o);return c&&c.classList[e](n)}function d(e,t){let n=e;switch(!0){case e.startsWith("="):n=`[data-cky-tag="${e.substring(1)}"]`}const o=document.querySelector(n);return!o||t&&!o.parentElement?null:t?o.parentElement:o}function y(){_(),!0===n._bannerConfig.config.revisitConsent.status&&$()}function f(){!function(){if(document.getElementById("cky-style")||!o)return;document.head.insertAdjacentHTML("beforeend",` `)}(),function(){const e=n._tags;Array.prototype.forEach.call(e,(function(e){document.querySelectorAll("[data-cky-tag="+e.tag+"]").forEach((function(t){let n="";for(const t in e.styles)n+=`${t}: ${e.styles[t]};`;t.style.cssText=n}))}))}(),function(){const e=document.getElementById("ckyBannerTemplate").innerHTML,t=(new DOMParser).parseFromString(e,"text/html");(function(e){const t=e.querySelector('[data-cky-tag="detail"] .cky-footer-shadow'),n=e.querySelector('[data-cky-tag="detail"]');if(!t)return;const o=n&&n.style.backgroundColor||"#ffffff";t.style.background=`linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, ${o} 100%)`})(t),document.body.insertAdjacentHTML("afterbegin",t.body.innerHTML),A(),function(){for(const{slug:e}of n._categories)a("detail-category-title",()=>document.getElementById("ckyCategory"+e).classList.toggle("cky-tab-active"));a("=settings-button",()=>T("settings-button")),a("=detail-close",()=>C()),a("=optout-cancel-button",()=>C()),a("=close-button",()=>(c._ckySetInStore("action","yes"),void y())),a("=donotsell-button",()=>T("donotsell-button")),a("=reject-button",x("reject")),a("=accept-button",x("all")),a("=detail-accept-button",x("all")),a("=detail-save-button",x()),a("=detail-category-preview-save-button",x()),a("=optout-confirm-button",x()),a("=detail-reject-button",x("reject")),a("=revisit-consent",()=>_revisitCkyConsent()),a("=optout-close",()=>C()),function(){if(!n._bannerConfig.config.auditTable.status)return;const e=n._categories.map(({slug:e})=>e);e.map(t=>{const n="#ckyDetailCategory"+t;a(n,({target:{id:o}})=>{o!=="ckySwitch"+t&&function(){return l("toggle",...arguments)}(n,"cky-accordion-active",!1)&&e.filter(e=>e!==t).map(e=>u("#ckyDetailCategory"+e,"cky-accordion-active",!1))})})}()}(),function(){const e=n._bannerConfig.config.optOption.toggle,t=e.states.active.styles["background-color"],o=e.states.inactive.styles["background-color"];u("=optout-option","cky-disabled",!1);const r=n._shortCodes.find(e=>"cky_optout_toggle_label"===e.key),s=n._shortCodes.find(e=>"cky_optout_option_title"===e.key),i=r.content.replace("[cky_optout_option_title]",s.content),l="yes"===c._ckyGetFromStore("consent");!function(e,t,{checked:n,disabled:o,addListeners:c},{activeColor:r,inactiveColor:s},i=!1){if(!e)return;i&&c&&a("=optout-option-title",()=>e.click());if(e.checked=n,e.disabled=o,e.style.backgroundColor=n?r:s,N(e,n,t,i),!c)return;e.addEventListener("change",({currentTarget:n})=>{const o=n.checked;n.style.backgroundColor=o?r:s,N(e,o,t,i)})}(document.getElementById("ckyCCPAOptOut"),i,{checked:l,disabled:!1,addListeners:!0},{activeColor:t,inactiveColor:o},!0)}(),function(){const e=n._bannerConfig.config.videoPlaceholder.status,t=n._bannerConfig.config.videoPlaceholder.styles;if(!e)return;if(!e)return;const o=document.querySelectorAll('[data-cky-tag="placeholder-title"]');if(o.length<1)return;Array.from(o).forEach(e=>{e.style.display="block",e.addEventListener("click",()=>{c._ckyGetFromStore("action")&&_revisitCkyConsent()});for(const n in t)t[n]&&(e.style[n]=t[n])})}(),function(){const e=n._shortCodes.find(e=>"cky_readmore"===e.key);if(!e.status)return;const t=e.content,o=n._bannerConfig.config.readMore.styles,c=document.querySelector('[data-cky-tag="description"]');if(!c)return;if(c.childNodes.length>1){const e=document.querySelector('[data-cky-tag="description"] p:last-child');e&&e.insertAdjacentHTML("beforeend"," "+t)}else c.insertAdjacentHTML("beforeend"," "+t);const r=document.querySelectorAll('[data-cky-tag="readmore-button"]');if(r.length<1)return;Array.from(r).forEach(e=>{for(const t in o)o[t]&&(e.style[t]=o[t])})}(),function(){const e=document.getElementById("cky-style-inline");e&&e.remove()}(),function(){const e=i("notice");if(!e)return!1;const t=e.closest(".cky-consent-container");if(!t)return!1;const o=n._bannerConfig.settings.type;let c=n._bannerConfig.settings.position;"popup"===o&&(c="center");const r="cky-"+o+"-"+c;t.classList.add(r);const s=i("revisit-consent");if(!s)return!1;const a="cky-revisit-"+n._bannerConfig.config.revisitConsent.position;s.classList.add(a)}(),function(){if(!n._rtl)return;["notice","detail","optout-popup","revisit-consent","video-placeholder"].forEach((function(e){i(e)&&i(e).classList.add("cky-rtl")}))}(),["detail-powered-by","optout-powered-by"].map(e=>{const t=document.querySelector(`[data-cky-tag="${e}"]`);t&&(t.style.display="flex",t.style.justifyContent="flex-end",t.style.alignItems="center")})}(),function(){const e=k(),t=n._shortCodes.find(e=>"cky_show_desc"===e.key),o=n._shortCodes.find(e=>"cky_hide_desc"===e.key);if(!t||!o)return;const c=o.content,r=t.content,s=window.innerWidth<376?150:300,i=document.querySelector(`[data-cky-tag="${"gdpr"===e?"detail":"optout"}-description"]`);if(i.textContent.length p");if(l.length<=1)return;let d="";for(let e=0;es&&t.insertAdjacentHTML("beforeend","... "+r),d=`${d}${t.outerHTML}`,d.length>s)break}function y(){i.innerHTML=`${u}${c}`,a("=hide-desc-button",f)}function f(){i.innerHTML=d,a("=show-desc-button",y)}f()}(),!c._ckyGetFromStore("action")||function(){let e=new URL(document.location).searchParams;return e.get("cky_preview")&&"true"===e.get("cky_preview")}()?(h(),function(){const e=k();c._ckySetInStore("consent","no");const t=F(),o={accepted:[],rejected:[]};let r="yes";for(const s of n._categories)("gdpr"===e&&!s.isNecessary&&!s.defaultConsent[e]||"ccpa"===e&&t&&!s.defaultConsent.ccpa)&&(r="no"),"no"===r?o.rejected.push(s.slug):o.accepted.push(s.slug),c._ckySetInStore(""+s.slug,r);q()}(),function(){if(c._ckyGetFromStore("consentid"))return;const e=c._ckyRandomString(32);c._ckySetInStore("consentid",e),n._resetConsentID=!0}()):y()}async function g(){try{f(),function(){for(const e of n._categories)"yes"!==c._ckyGetFromStore(e.slug)&&j(e)}(),document.querySelector("body").addEventListener("click",e=>{const t=".cky-banner-element, .cky-banner-element *";(e.target.matches?e.target.matches(t):e.target.msMatchesSelector(t))&&_revisitCkyConsent()})}catch(e){console.error(e)}}var p;function k(){return n._bannerConfig.settings.applicableLaw}function m(){return n._bannerConfig.settings.type}function b(){const e=i("notice"),t=e&&e.closest(".cky-consent-container")||!1;return t&&t||!1}function _(){const e=b();e&&e.classList.add("cky-hide")}function h(){const e=b();e&&e.classList.remove("cky-hide")}function v(){if("classic"===m())return b();let e="ccpa"===k()?i("optout-popup"):i("detail");return e&&e.closest(".cky-modal")||!1}function C(){const e=v();e&&e.classList.remove(L()),"classic"!==m()&&(!function(){const e=document.querySelector(".cky-overlay");e&&e.classList.add("cky-hide")}(),c._ckyGetFromStore("action")||h()),c._ckyGetFromStore("action")&&$();const t=n._preferenceOriginTag;t&&function(e){const t=i(e);if(!t)return;t.focus()}(t)}function S(){const e=v();e&&e.classList.add(L()),"classic"!==m()&&(!function(){const e=document.querySelector(".cky-overlay");e&&e.classList.remove("cky-hide")}(),_())}function w(){const e=v();e&&e.classList.toggle(L()),"classic"!==m()&&function(){const e=document.querySelector(".cky-overlay");e&&e.classList.toggle("cky-hide")}()}function L(){return"classic"===m()?"cky-consent-bar-expand":"cky-modal-open"}function E(){const e=i("revisit-consent");return e&&e||!1}function $(){const e=E();e&&e.classList.remove("cky-revisit-hide")}function T(e=!1){n._preferenceOriginTag=e,"classic"===m()?w():S()}function j({cookies:e}){const t=c._ckyGetCookieMap();for(const{cookieID:n,domain:o}of e)t[n]&&[o,""].map(e=>c._ckySetCookie(n,"",0,e))}function A(e=!1){for(const t of n._categories){const o=c._ckyGetFromStore(t.slug);I(t,"yes"===o||!o&&t.defaultConsent[k()]||t.isNecessary,t.isNecessary,n._shortCodes.find(e=>"cky_category_toggle_label"===e.key).content.replace("[cky_preference_{{category_slug}}_title]",t.name),e),M(t)}}function I(e,t,o,c,r=!1){const s=n._bannerConfig.config.preferenceCenter.toggle,i=s.states.active.styles["background-color"],a=s.states.inactive.styles["background-color"];["ckyCategoryDirect","ckySwitch"].map(s=>{const u=document.getElementById(`${s}${e.slug}`);u&&(!function(e,t={},o=!1){if(o)return;"detail-category-toggle"===e.parentElement.getAttribute("data-cky-tag")?function(e,t){let o=e.closest(".cky-accordion-item");if(!o)return;const c=o.querySelector(".cky-switch"),r=o.querySelector(".cky-always-active");t.isNecessary?c&&c.remove():(r&&r.remove(),("classic"===m()&&n._bannerConfig.config.categoryPreview.status||t.cookies&&0===t.cookies.length)&&c&&c.remove())}(e,t):"detail-category-preview-toggle"===e.parentElement.getAttribute("data-cky-tag")&&function(e,t){t.cookies&&0===t.cookies.length&&!t.isNecessary&&e.parentElement.parentElement.remove()}(e,t)}(u,e,r),u.checked=t,u.disabled=o,u.style.backgroundColor=t?i:a,N(u,t,c),r||u.addEventListener("change",({currentTarget:e})=>{const t=e.checked;e.style.backgroundColor=t?i:a,N(u,t,c)}))})}function M(e){if(!1===n._bannerConfig.config.auditTable.status){const t=document.querySelector(`#ckyDetailCategory${e.slug} [data-cky-tag="audit-table"]`);t&&t.remove();const n=document.querySelector(`#ckyDetailCategory${e.slug} .cky-accordion-chevron`);n&&n.classList.add("cky-accordion-chevron-hide")}}function N(e,t,o,c=!1){if(!e)return;const r=t?"disable":"enable",s=`cky_${r}_${c?"optout":"category"}_label`,i=n._shortCodes.find(e=>e.key===s);if(!i)return;const a=o.replace(/{{status}}/g,r).replace(`[${s}]`,i.content);e.setAttribute("aria-label",a)}function x(e="custom"){return()=>{!function(e="all"){const t=k(),o=F();c._ckySetInStore("action","yes"),"gdpr"===t?c._ckySetInStore("consent","reject"===e?"no":"yes"):c._ckySetInStore("consent",o?"yes":"no");const r={accepted:[],rejected:[]};for(const s of n._categories){let n="no";n="gdpr"===t?s.isNecessary||"reject"!==e&&("custom"!==e||F(s.slug))?"yes":"no":o&&!s.defaultConsent.ccpa?"no":"yes",c._ckySetInStore(""+s.slug,n),"no"===n?(r.rejected.push(s.slug),j(s)):r.accepted.push(s.slug)}q()}(e),y(),C(),function(){"gdpr"===k()&&A(!0);!0===n._bannerConfig.behaviours.reloadBannerOnAccept&&window.location.reload()}()}}["consentid","consent","action"].concat(n._categories.map(({slug:e})=>e)).map(e=>c._ckyConsentStore.set(e,s[e]||"")),c._ckyGetCookie=function(e){const t=new RegExp(e+"=([^;]+)").exec(document.cookie);return t&&Array.isArray(t)&&t[1]?unescape(t[1]):null},c._ckySetCookie=function(e,t,o=0,c=n._rootDomain){const r=new Date;c&&(c="domain="+c);const s=0===o?0:r.setTime(r.getTime()+24*o*60*60*1e3);document.cookie=`${e}=${t}; expires=${new Date(s).toUTCString()}; path=/;${c}; SameSite=Strict;`},_revisitCkyConsent=function(){"classic"===m()&&h(),T(),function(e=!1){const t=E();t&&(!0===e?_ckyRevisitHide():t.classList.toggle("cky-revisit-hide"))}()},c._ckyRandomString=function(e,t=!0){const n=(t?"0123456789":"")+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghiklmnopqrstuvwxyz",o=[];for(let t=0;t{try{if(H(t.src))return!0;if("script"===t.nodeName.toLowerCase()){const n=document.createElement("script");n.src=t.src,n.type="text/javascript",document[e].appendChild(n)}else{const e=document.getElementById(n);if(!e)return!1;const o=document.createElement("iframe");o.src=t.src,o.width=e.offsetWidth,o.height=e.offsetHeight,e.parentNode.insertBefore(o,e),e.parentNode.removeChild(e)}return!1}catch(e){return console.error(e),!1}}))}function D(e,t){const o=e.hasAttribute("data-cookieyes")&&e.getAttribute("data-cookieyes");if(!o)return;const c=o.replace("cookieyes-","");for(const e of n._categories)if(e.isNecessary&&e.slug===c)return;const r=n._providersToBlock.find(({re:e})=>e===t);r?r.isOverriden?r.categories.includes(c)||r.categories.push(c):(r.categories=[c],r.isOverriden=!0):n._providersToBlock.push({re:t,categories:[c],fullPath:!1})}document.createElement=(...e)=>{const t=O.call(document,...e);if("script"!==t.nodeName.toLowerCase())return t;const n=t.setAttribute.bind(t);return Object.defineProperties(t,{src:{get:function(){return t.getAttribute("src")},set:function(e){return G(t,e)&&n("type","javascript/blocked"),n("src",e),!0}},type:{get:function(){return t.getAttribute("type")},set:function(e){return e=G(t)?"javascript/blocked":e,n("type",e),!0}}}),t.setAttribute=(e,o)=>{if("type"===e||"src"===e)return t[e]=o;n(e,o),"data-cookieyes"!==e||G(t)||n("type","text/javascript")},t};const P=new MutationObserver((function(e){for(const{addedNodes:t}of e)for(const e of t)if(e.src&&e.nodeName&&["script","iframe"].includes(e.nodeName.toLowerCase()))try{const t=e.src.startsWith("//")?`${window.location.protocol}${e.src}`:e.src,{hostname:o,pathname:r}=new URL(t),s=`${o}${r}`.replace(/^www./,"");if(D(e,s),!H(s))continue;const i=c._ckyRandomString(8,!1);if("iframe"===e.nodeName.toLowerCase())R(e,i);else{e.type="javascript/blocked";const t=function(n){n.preventDefault(),e.removeEventListener("beforescriptexecute",t)};e.addEventListener("beforescriptexecute",t)}const a=document.head.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?"head":"body";e.remove(),n._backupNodes.push({position:a,node:e.cloneNode(),uniqueID:i})}catch(e){}}));function B(e){const t=c._ckyGetFromStore(e);return"no"===t||!t&&n._categories.some(t=>t.slug===e&&!t.isNecessary)}function H(e){const t=n._providersToBlock.find(({re:t})=>{return new RegExp((n=t,n.replace(/[.*+?^${}()[\]\\]/g,"\\$&"))).test(e);var n});return t&&t.categories.some(e=>B(e))}function G(e,t){return e.hasAttribute("data-cookieyes")&&B(e.getAttribute("data-cookieyes").replace("cookieyes-",""))||H(t||e.src)}function F(e=""){return(e?["ckySwitch","ckyCategoryDirect"]:["ckyCCPAOptOut"]).some(t=>{const n=document.getElementById(`${t}${e}`);return n&&n.checked})}function R(e,t){const o=n._shortCodes.find(e=>"cky_video_placeholder"===e.key).content,{offsetWidth:c,offsetHeight:r}=e;if(0===c||0===r)return;e.insertAdjacentHTML("beforebegin",(""+o).replace("[UNIQUEID]",t));const s=document.getElementById(t);s.style.width=c+"px",s.style.height=r+"px";const i=document.querySelector(`#${t} .video-placeholder-text-normal`);i.style.display="none";const a=function(e){const t=e.match(/^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/);return!!(t&&Array.isArray(t)&&t[2]&&11===t[2].length)&&t[2]}(e.src);a&&(s.classList.replace("video-placeholder-normal","video-placeholder-youtube"),s.style.backgroundImage=`linear-gradient(rgba(76,72,72,.7),rgba(76,72,72,.7)),url('https://img.youtube.com/vi/${a}/maxresdefault.jpg')`,i.classList.replace("video-placeholder-text-normal","video-placeholder-text-youtube"))}P.observe(document.documentElement,{childList:!0,subtree:!0}),window.revisitCkyConsent=()=>_revisitCkyConsent()}]);