1window.WPCAFR=function(t){"use strict";var e={done:!1},a=null,n=!1,i="wpca-show",o="wpca-hide",r="wpca-btn",c="wpca-trans-layer",s="hide",d="show",p="wpca-replacement-elem-",l="wpca-icon-close",u="wpca-icon-settings",h="wpca-cc-sett-box",f="wpca-cc-sett-options",w="wpca-btn-cc-save-sett",g="wpca-btn-accept",m="wpca-btn-decline",b="wpca-btn-reset-consent",y="wpca-btn-cc-settings",v="wpca-blocked",C="wpca-btn-hide",D="wpca-btn-reset-has",k="text/template",x="txt",P="txt-processing",_="wpca-marked",A="wpca-marked-auto",B="wpca-marked-data",I="wpca-skip-bckp",E=200,L="bar",N="top",M=0,O=0,W=30,F=!1,j=!1,R=0,z=!1,T=!1,q=!1,S=!1,H=!1,U=!1,V=!1,$=200,G=[],J=!1,Y=!1,K=200,Q=["type","cc","selector","jsFunc"],X={barbox:null,accepting:!1,declining:!1,resetting:!1,savingcc:!1,showingLayer:!1,showingPopup:!1},Z={wrapper:{},barbox:{},ccBox:{},wpadminbar:{},layer:{},privacyBtns:{},privacyBtn:{},closeBarBox:{},closePopup:{},popup:{},reconsiderIcon:{}},tt={names:{init_ready:"wpca.init:ready",consent_after:"wpca.consent:after",decline_after:"wpca.decline:after",reset_after:"wpca.reset:after",cc_saved:"wpca.cc:saved",tp_init_before:"wpca.3rdpartyinit:before",tp_init_after:"wpca.3rdpartyinit:after",init_blocking_ready:"wpca.initblocking:ready",init_states_before:"wpca.initstates:before",popup_show:"wpca.popup:show",popup_hide:"wpca.popup:hide"},getName:function(t){var e,a="";if("string"!=typeof t)return a;for(e in this.names)if(t===e){a=this.names[e];break}return a},trigger:function(){var e;if(0<arguments.length){var a=arguments[0];"string"!=typeof a&&(a=""),1<arguments.length&&[].shift.apply(arguments)}""!==(e=this.getName(a))&&t(window).triggerHandler(e,arguments)}},et={unbind:function(){return t(window).off(tt.names.init_blocking_ready,zt),t(window).off(tt.names.consent_after,Tt),t(window).off(tt.names.decline_after,qt),t(window).off(tt.names.reset_after,St),rt().off("click",Ht),t("body").off("click","."+g,Ut),t("body").off("click","."+m,Vt),t("body").off("click","."+b,$t),t("body").off("click","."+y+", #"+u,Gt),Z.closeBarBox.off("click",Kt),Z.layer.off("click",Qt),Z.closePopup.off("click",Qt),t(document).off("keyup",ee),t(window).off("click",Jt),t("."+f+" input","."+h).off("click change",Xt),t("."+w,"."+h).off("click",Zt),this},bind:function(a){return a&&this.unbind(),t(window).on(tt.names.init_blocking_ready,zt),t(window).on(tt.names.consent_after,Tt),t(window).on(tt.names.decline_after,qt),t(window).on(tt.names.reset_after,St),rt().on("click",Ht),(ut()||e.needButtonAcceptForCCPA())&&t("body").on("click","."+g,Ut),t("body").on("click","."+m,Vt),t("body").on("click","."+b,$t),t("body").on("click","."+y+", #"+u,Gt),Rt(te,{}),H&&Z.closeBarBox.on("click",Kt),q&&(Z.layer.on("click",Qt),Z.closePopup.on("click",Qt),t(document).on("keyup",ee)),e.isFirstVisit()&&(!Y&&R?7===R?t(window).on("click",Jt):6!==R||e.accepted()?5===R&&!e.accepted()||4===R&&!e.accepted()?(t(window).on("click",Jt),Rt(Yt)):3!==R||e.accepted()?2!==R||e.accepted()||Rt(Yt):t(window).on("click",Jt):Rt(Yt):Y&&wpcaData.ccpa.consentAfterUse&&(t(window).on("click",Jt),Rt(Yt))),t("."+f+" input","."+h).on("click change",Xt),t("."+w,"."+h).on("click",Zt),t(window).on("resize",function(){It(X.barbox),Et(X.barbox)}),this}},at={MutationObzerverObj:null,ready:!1,obzervering:!1,handlerMutationObzerver:function(e){try{var a,n,i,o={},r=!1;for(a=0;a<e.length;a++)"childList"===(n=e[a]).type&&n.removedNodes.length&&(i=t(n.removedNodes[0])).isMarked()&&(o=i.data(B),r=i.data(I),"body"===o.context&&!0!==r&&(o.backup=!0,i.setMarkedDataObj(o).insertAfter(t(n.previousSibling)).hide()))}catch(t){WPIE.log(t.message,t)}},init:function(){return this.ready||(this.MutationObzerverObj=new MutationObserver(this.handlerMutationObzerver),this.ready=!0),this},obzerve:function(){return this.ready&&(this.MutationObzerverObj.observe(window.document.body,{attributes:!0,childList:!0,subtree:!0}),this.obzervering=!0),this},disconnect:function(){return this.obzervering&&(this.MutationObzerverObj.disconnect(),this.obzervering=!1),this}},nt={isProcessingBtn:function(){return t(this).hasClass(r)&&t(this).is("[data-txt]")&&t(this).is("[data-"+P+"]")},processingBntState:function(e){var a=t(this);return a.isProcessingBtn()&&("process"===e?a.css({height:a.outerHeight()+"px"}).html(a.data(P)).trigger("focus"):a.html(a.data(x))),a},isMarked:function(){return t(this).is("[data-"+_+"]")&&t(this).is("[data-"+B+"]")},getMarkedData:function(e){if(void 0===e)return null;if(t(this).isMarked()){var a=t(this).data(B);return void 0!==a[e]?a[e]:null}return null},setMarkedDataObj:function(e,a){return void 0===e||"object"!=typeof e?t(this):this.each(function(){if(t(this).isMarked()){var n,i=t(this).data(B);for(n in e){var o=e[n];i[n]=o}t(this).data(B,i).attr("data-"+B,JSON.stringify(i))}else!0===a&&t(this).attr("data-"+_,"1").attr("data-"+B,JSON.stringify(e)).data(_,"1").data(B,e)})},cbCheck:function(e){return void 0===e&&(e=!0),"boolean"!=typeof e&&(0===parseInt(e)?e=!1:1===parseInt(e)&&(e=!0)),t(this).prop("checked",e),t(this)},cbCheckForCategory:function(e,a){if(void 0===e)return t(this);if("string"!=typeof a&&!Array.isArray(a))return t(this);if(!t(this).hasClass(h))return t(this);
1Array.isArray(a)||(a=[a]);for(var n=0;n<a.length;n++){var i=a[n],o=t(this).find("."+f+' input[data-cat="'+i+'"]');o.length&&(e&&!o.is(":checked")?o.cbCheck():!e&&o.is(":checked")&&o.cbCheck(0))}},hideButton:function(e){return void 0===e&&(e=!1),"boolean"!=typeof e&&(0===parseInt(e)?e=!1:1===parseInt(e)&&(e=!0)),e?t(this).addClass(C):t(this).removeClass(C),t(this)},hasPlaceholder:function(e){return 0<=e&&0<t("#"+p+e).length}};function it(t){if(!t||"string"!=typeof t.depName||""===t.depName)throw new Error("depName argument is not valid");return new Promise(function(e,a){setTimeout(async function(t){if(t.depName&&window[t.depName])return t.resolved=!0,e(t);t.maxRetries=t.maxRetries-1;var n=await it(t);return n.resolved?e(n):0===n.maxRetries?a(`dependency ${n.depName} not found and max retries (${n.maxRetries}) reached`):void 0},t.timeout,t)})}async function ot(t,e,a,n,i){return it({depName:t,func:e,funcArgs:a,timeout:n,maxRetries:i}).then(function(t){!function(t,e,a){var n="string"==typeof t,i=!Array.isArray(e);if("function"!=typeof t&&!n)throw new Error("doFn() argument (fn) is not a valid function");i&&void 0!==e?e=[e]:i&&(e=[]);var o=n&&window[t]||t;if(e.length>0){if(a)return o.apply(this,e);o.apply(this,e)}else{if(a)return o.call();o.call()}}(t.func,t.funcArgs)})}function rt(){return t(`.${r}[data-${x}][data-${P}]`)}function ct(){var e=rt();e.length>0&&e.each(function(){t(this).processingBntState("default")})}function st(e,a,n){var i,o=0,r=0;try{if(!(e instanceof jQuery))throw new Error('param "$el" needs to be a jQuery Object.');if("object"!=typeof a)throw new Error('param "obj" needs to be an Object to return width and height.');if(n&&(i=t('<div class="wpca-tmp"/>').css({display:"block",width:"100%",height:"1px",visibility:"hidden"}).appendTo(e),e=e.find(".wpca-tmp")),o=e.attr("width"),r=e.attr("height"),void 0!==o&&void 0!==r||(o=e[0].clientWidth,r=e[0].clientHeight),(!r||1===r)&&e.is("img")){var c=e.getMarkedData("src").match(/-(\d+)x(\d+)\.[a-z]+$/i);c&&(o=c[1],r=c[2])}}catch(t){a={},WPIE.log(t.message)}finally{return n&&i.remove(),a.w=parseInt(o),a.h=parseInt(r),0<a.w&&0<a.h}}function dt(t,e,a,n,i,o){if(void 0===t||void 0===e)throw new Error("Could not set cookie. Name or value is undefined.");void 0===a&&(a=W),void 0===n&&(n=wpcaData.cookieDomain),void 0===i&&(i=wpcaData.cookiePath),void 0===o&&(o=wpcaData.ssl),WPIE.setKookie(t,e,a,n,i,o)}function pt(t,e,a){if(void 0===t)throw new Error("Could not delete cookie. Name is undefined.");void 0===e&&(e=wpcaData.cookieDomain),void 0===a&&(a=wpcaData.cookiePath),WPIE.eraseKookie(t,e,a)}function lt(t){return WPIE.readKookie(t)}function ut(){return-1===[5,6,7].indexOf(R)}function ht(){return null!=wpcaData.cookiesBeforeConsent&&3===wpcaData.cookiesBeforeConsent}function ft(t){return-1!==wpcaData.allowedCc.indexOf(t)}function wt(){T&&!X.showingLayer&&(X.showingLayer=!0,Z.layer.removeClass(o),t("html").css("overflow","hidden"))}function gt(){T&&X.showingLayer&&(X.showingLayer=!1,Z.layer.addClass(o),t("html").css("overflow","initial"))}function mt(){q&&(X.showingPopup=!1,Z.barbox.removeClass("wpca-cc-settings-open"),Z.popup.addClass(o),e.doLayer()||gt(),e.needConsentLayout()||bt(),tt.trigger("popup_hide"))}function bt(){U&&(Z.reconsiderIcon.removeClass(o),Z.reconsiderIcon.addClass(i))}function yt(){U&&(Z.reconsiderIcon.removeClass(i),Z.reconsiderIcon.addClass(o))}function vt(){Z.ccBox.each(function(){t(this).cbCheckForCategory(!1,wpcaData.allowedCc)})}function Ct(){vt(),Z.ccBox.each(function(){t(this).cbCheckForCategory(!0,wpcaData.requiredCc)})}function Dt(){Z.ccBox.each(function(){t(this).cbCheckForCategory(!0,wpcaData.allowedCc)})}function kt(){var t=lt(wpcaData.cookieNameCc);return null!=t?t.split(","):[]}function xt(t){Array.isArray(t)||(t=[]),(z=0<t.length)&&t.sort(function(t,e){return wpcaData.allowedCc.indexOf(t)-wpcaData.allowedCc.indexOf(e)});var e=kt(),a=z?t.join():"";pt(wpcaData.cookieNameCc),z&&dt(wpcaData.cookieNameCc,a),G=t,J=Pt(t,e)}function Pt(t,e){return 0<WPIE.arrDiff(t,e).length}function _t(t){(void 0===t||0==t?d:t)===s?(Z.barbox.removeClass(i),Z.barbox.addClass(o),bt()):(yt(),Z.barbox.removeClass(o),Z.barbox.addClass(i))}function At(e,a){var n,i,o;if((n=""!==a?t('script[src$="'+a+'"]'):e).length>1&&n.each(function(){if(t(this).isMarked()&&!t(this).data(I))return n=t(this),!1}),!0===n.data(I))return n;n.data(I,!0).attr("data-"+I,!0),o=n[0].nextSibling,i=t(n[0].cloneNode(!0)),o&&8==o.nodeType&&"[wpca_mrkd]"==o.nodeValue&&o.parentNode.removeChild(o);try{n.after(i)}catch(t){}return n.remove(),i.after(document.createComment("[wpca_mrkd]")),i}function Bt(e,a,n,i){var o,r,c,s=wpcaData.doPlaceholder?t("#wpca-placeholer-html").html():"",d=e.data(B),l=e.getMarkedData("type"),u=e.getMarkedData("placeholder"),h=e.getMarkedData("blocked"),f=e.getMarkedData("backup"),w=e.getMarkedData("context"),g=e.getMarkedData("src"),m=e.getMarkedData("srcset"),b=e.getMarkedData("nodeName"),y=e.hasPlaceholder(a),C=null!==g,D=null!==m,x=wpcaData.ccLabels&&wpcaData.ccLabels[n]||n,P=e.is("script"),_=e.is("iframe"),A=!e.is("iframe")&&"iframe"===b,E=e.is("img"),L=e.is("a"),N="",M={};if(!(i&&h&&u&&y)){if(i)d.blocked=1,P?(e.attr("type",k),C&&e.attr("src")!==wpcaData.blockedAssetsUri.js&&e.attr("src",wpcaData.blockedAssetsUri.js)):_||A?C&&e.attr("src")!==wpcaData.blockedAssetsUri.iframe&&e[0].contentWindow.location.replace(wpcaData.blockedAssetsUri.iframe):E?(C&&e.attr("src")!==wpcaData.blockedAssetsUri.img&&e.attr("src",wpcaData.blockedAssetsUri.img),D&&e.attr("srcset","")):L&&C&&e.attr("href")!==wpcaData.blockedAssetsUri.a&&e.attr("href",wpcaData.blockedAssetsUri.a);else if(d.blocked=0,C&&(L?e.attr("href",g):_?e[0].contentWindow.location.replace(g):e.attr("src",g)),D&&e.attr("srcset",m),P&&(e[0].hasAttribute("type")&&k===e.attr("type")&&e.attr("type","text/javascript"),e=At(e,C?g:"")),A){var O={};t.each(e[0].attributes,function(t,e){O[e.nodeName]=e.nodeValue}),e.data(I,!0).attr("data-"+I,!0).replaceWith(function(){return O.text=t(this).text(),e=t("<iframe />",O)})}if("body"===w)if(o="",i){if(u&&wpcaData.doPlaceholder){if(d.id=a,N=s.replace(/cc="%CC%/g,`cc="${n}`).replace(/wpca-replace-%CC%/g,`wpca-replace-${n}`).replace(/%TYPE%/g,l).replace(/%CC%/g,x),(o=t(N)).attr("id",p+a),""!==(c=e.getMarkedData("txt"))&&o.find(".wpca-replace-txt").html(c),!st(e,M)&&0<e.children().length&&(0===(r=e.find("[width][height]")).length?r=e.children(":first"):1<r.length&&(r=r.first()),st(r,M)),wpcaData.minPlacehoderDim.w<=M.w&&wpcaData.minPlacehoderDim.h<=M.h){var W,F={},j=M.h/M.w,R={width:M.w,"min-height":M.h};wpcaData.doPlaceholderParentSizing&&st(e.parent(),F,!0)&&M.w>F.w&&(F.w>1?W=F.w:0===F.w&&(W=M.w),R={"min-height":W*j+"px"}),o.css(R)}f&&e.show().prev().hide(),e.after(o)}e.addClass(v)}else i||(f&&e.hide().prev().show(),t("#"+p+a).remove(),e.removeClass(v));e.setMarkedDataObj(d)}}function It(e){if(N=Z.barbox.hasClass("wpca-top")?"top":"bottom",M=Z.barbox.innerHeight(),"box"===L){j&&
1(N="top",t("body").css("position","relative"));var a=parseInt(Z.barbox.data("space"));M=0<a?M+a:M}F&&d===e&&("top"===N||j)?600<t(window).width()?(M=Math.abs(Z.wpadminbar.innerHeight()-M),O=Z.wpadminbar.innerHeight()):(t("body").css("position",""),O=window.pageYOffset<=Z.wpadminbar.innerHeight()?Math.abs(Z.wpadminbar.innerHeight()-window.pageYOffset):0):O=0}function Et(e){if(null!==e){var a={};_t(e),d===e?j&&640<t(window).width()?a={top:""}:("top"===N&&(a={top:O+"px"}),"bottom"===N&&(a={bottom:O+"px"})):("top"===N&&(a={top:"-"+M+"px"}),"bottom"===N&&(a={bottom:"-"+M+"px"})),Z.barbox.css(a)}}function Lt(){t("."+b).length&&t("."+b).each(function(){var a=t(this),n=a.next("."+g);n.addClass(D),e.needToReplaceResetByAccept()?(a.hideButton(1),n.hideButton(0)):(a.hideButton(0),n.hideButton(1))}),!t("."+g).length||e.needButtonAccept()||e.needButtonAcceptForCCPA()?t("."+g).not("."+D).hideButton(0):t("."+g).not("."+D).hideButton(1),!t("."+m).length||e.needButtonDecline()||e.needButtonDeclineForCCPA()?t("."+m).hideButton(0):t("."+m).hideButton(1),t("."+y).length&&t("."+y).hideButton(0)}function Nt(a){(function(){var a,n=t("wpca-block").not("[data-"+A+"]"),i=t("[data-"+_+'="1"]'),o=[];for(a=0;a<n.length;a++){var r=t(n[a]),c=r.find("[data-"+A+"]"),s=r.data("txt")||"",d=r.data("type")||"",p=!1!==r.data("placeholder");if(0<c.length)c.setMarkedDataObj({txt:s,type:d,placeholder:p});else if(""!==(h=r.data("cc")||"")){var l={id:0};l.cc=h,l.txt=s,l.type=d,l.context="body",l.blocked=1,l.placeholder=p,r.setMarkedDataObj(l,!0)}}for(a=0;a<i.length;a++){var u=(r=t(i[a])).getMarkedData("dep"),h=r.getMarkedData("cc"),f=e.doBlockCookies(h),w=null!==u&&""!==u.name,g=w&&u.dt>=0,m=w&&u.r>0,b=parseInt(g&&u.dt||200),y=parseInt(m&&u.r||3);r.isMarked()&&(r.is("script")&&w&&!f?o.push(ot(u.name,Bt,[r,a,h,f],b,y)):Bt(r,a,h,f))}return Promise.all(o)})().catch(function(t){WPIE.log(t.message,t)}).then(function(){tt.trigger("init_blocking_ready")}).finally(function(){var n,i,o,r;tt.trigger("init_states_before",{args:a}),Lt(),It(a.states.barbox),a.animate?(n=a.states.barbox,i={},o=n===d,r=n===s,e.hasLayout()&&o||!e.hasLayout()&&r||(j?i=e.hasLayout()?{top:"-"+M+"px"}:{top:"50%"}:"top"===N?i=e.hasLayout()?{top:"-"+M+"px"}:{top:O+"px"}:"bottom"===N&&(i=e.hasLayout()?{bottom:"-"+M+"px"}:{bottom:O+"px"}),!e.hasLayout()&&o&&_t(d),Z.barbox.animate(i,E,function(){!e.hasLayout()&&o?_t(d):e.hasLayout()&&r&&_t(s)}))):Et(a.states.barbox),ct(),e.isFirstVisit()?Ct():(vt(),Z.ccBox.each(function(){t(this).cbCheckForCategory(!0,G)})),Z.ccBox.each(function(){t(this).show()}),X.showingPopup&&mt(),e.doLayer()?wt():gt()})}function Mt(t){if("object"!=typeof t)throw new Error("Could not initialize: no valid args found.");if(void 0===t.states||void 0===t.states.barbox)throw new Error("Could not initialize the bar/box layout: states.barbox argument not found.");void 0===t.animate&&(t.animate=!1),t.hasBtn="object"==typeof t.btn,t.timeout=parseInt(200),0<t.timeout?setTimeout(function(){Nt(t)},t.timeout):Nt(t)}function Ot(){setTimeout(function(){var t,a=kt();if(a.length||(a=wpcaData.requiredCc),t=a.join(","),a.length>0){var n={},i={};n[wpcaData.gtm.dataLayerVar]=t,i.event=wpcaData.gtm.dataLayerEventPrefix+a.join("_").replace("-","_"),e.getDataLayer().push(n),e.getDataLayer().push(i)}wpcaData.gtm.enableGCMv2&&function(){var t=kt();t.length||(t=wpcaData.requiredCc);var a=(t,e)=>e.length>0&&e.includes(t)?"granted":"denied",n={};n.ad_storage=a("advertising",t),n.ad_user_data=a("advertising",t),n.ad_personalization=a("advertising",t),n.analytics_storage=a("analytical",t),n.functionality_storage=a("functional",t),n.personalization_storage=a("functional",t),n.security_storage=a("functional",t),e.gtag("consent","update",n),window.localStorage&&localStorage.setItem(wpcaData.gtm.localStorageKey,JSON.stringify(n)),e.gtag("event","wpca_consent_update")}()},200)}function Wt(t,a){X.accepting||(e.acceptedAll()||(X.accepting=!0,dt(wpcaData.cookieNameConsent,"1"),void 0===a&&(a=wpcaData.allowedCc),Array.isArray(a)&&a.length&&xt(a),X.accepting=!1),tt.trigger("consent_after",{categories:a,btn:t}))}function Ft(t,a){X.declining||(e.declined()||(X.declining=!0,dt(wpcaData.cookieNameConsent,"0"),void 0===a&&(a=wpcaData.requiredCc),Array.isArray(a)&&a.length&&xt(a),Ct(),X.declining=!1),tt.trigger("decline_after",{categories:a,btn:t}))}function jt(t){X.resetting||(X.resetting=!0,pt(wpcaData.cookieNameConsent),xt([]),Dt(),X.resetting=!1,tt.trigger("reset_after",{btn:t}))}function Rt(t,e){window.addEventListener?(window.addEventListener("scroll",function(a){var n=window.event||a;t(n,e)},!1),window.addEventListener("mousewheel",function(a){var n=window.event||a;t(n,e)},!1),window.addEventListener("DOMMouseScroll",function(a){var n=window.event||a;t(n,e)},!1),window.addEventListener("touchmove",function(a){var n=window.event||a;t(n,e)},!1)):window.attachEvent("onmousewheel",function(a){var n=window.event||a;t(n,e)})}function zt(t){wpcaData.init3rdPartyItems&&wpcaData.init3rdPartyItems.length>-1&&setTimeout(function(){try{for(var t=0;t<wpcaData.init3rdPartyItems.length;t++){var a=wpcaData.init3rdPartyItems[t];switch(WPIE.checkForRequiredProps(Q,a,!0,"3rdPartyItem"),tt.trigger("tp_init_before",a),a.type){case"avada-fusion-gmaps":e.initFusionGmaps(a);break;case"divi-gmaps":e.initDiviGmaps(a);break;default:e.initRegistered3rdParty(a)}tt.trigger("tp_init_after",a)}}catch(t){WPIE.log(t.message,t)}},K)}function Tt(t,a){void 0===a.btn&&(a.btn=!1),e.needPageReloadAfterConsent()&&window.location.reload(!0),wpcaData.gtm.optimize&&Ot(),e.acceptedAll()&&Dt(),X.barbox=s,Mt({states:X,btn:a.btn,animate:!0})}
1function qt(t,e){void 0===e.btn&&(e.btn=!1),wpcaData.gtm.optimize&&Ot(),X.barbox=s,Mt({states:X,btn:e.btn,animate:!0})}function St(t,e){void 0===e.btn&&(e.btn=!1),wpcaData.gtm.optimize&&Ot(),X.barbox=d,Mt({states:X,btn:e.btn,animate:!0}),et.unbind().bind()}function Ht(e){try{e.preventDefault(),t(this).processingBntState("process")}catch(t){WPIE.log(t.message,t)}}function Ut(a){try{a.preventDefault();var n=t(this).data("cc"),i=[n];return ft(n)?(function(t){for(var e=0;e<wpcaData.requiredCc.length;e++){var a=wpcaData.requiredCc[e];-1===t.indexOf(a)&&t.push(a)}}(i=e.hasClientThisCookieCategory(n)?G:G.concat(i)),Wt(t(this),i)):Wt(t(this)),!1}catch(t){WPIE.log(t.message,t)}}function Vt(e){try{return e.preventDefault(),Ft(t(this)),!1}catch(t){WPIE.log(t.message,t)}}function $t(e){try{return e.preventDefault(),jt(t(this)),!1}catch(t){WPIE.log(t.message,t)}}function Gt(t){try{return t.preventDefault(),q&&(X.showingPopup=!0,wt(),Z.barbox.addClass("wpca-cc-settings-open"),Z.popup.removeClass(o),yt(),tt.trigger("popup_show")),!1}catch(t){WPIE.log(t.message,t)}}function Jt(a){try{if(e.doLayer())return!1;if(window===a.currentTarget&&"click"===a.type){var n=a.target;if("IMG"===n.nodeName&&"A"===n.parentNode.nodeName&&(n=n.parentNode),"A"===n.nodeName){if(e.accepted()||e.declined())return;t(n).hasClass(wpcaData.policyCssClass)||(a.preventDefault(),Wt(!1),window.location=n.href)}}}catch(t){WPIE.log(t.message,t)}}function Yt(a,n){try{if(-1!==window.location.search.indexOf(wpcaData.queryVarBypass+"=1"))return!1;var i;if(e.accepted()||e.declined())return!1;if(i=t(window).scrollTop(),$>i)return!1;if(e.doLayer())return!1;Wt(!1)}catch(t){WPIE.log(t.message,t)}}function Kt(t){try{return V?Ft(!1):Wt(!1),!1}catch(t){WPIE.log(t.message,t)}}function Qt(t){try{var e=c===t.target.id,a=-1!==(t.target.className.baseVal||t.target.parentElement.className.baseVal||"").indexOf(l);return(e||a)&&mt(),!1}catch(t){WPIE.log(t.message,t)}}function Xt(e){try{var a=t(this),n=a.parents("."+h).data("id"),i=h+"-"+n,o=a.data("cat"),r=a.is(":checked");Z.ccBox.not("#"+i).each(function(){t(this).cbCheckForCategory(r,o)})}catch(t){WPIE.log(t.message,t)}}function Zt(e){try{e.preventDefault();var a=t(this),n=function(t){return t.parents("."+h).find("."+f+" input")}(a),i=function(e){var a=[];return e&&e.each(function(){var e=t(this),n=e.data("cat");if(!ft(n))throw new Error(n+" is not an allowed cookie category.");e.is(":checked")&&a.push(n)}),a}(n);return(J=Pt(i,G))?(function(t){for(var e=[],a=0;a<wpcaData.requiredCc.length;a++){var n=wpcaData.requiredCc[a];e.push(-1!==t.indexOf(n))}return-1===e.indexOf(!1)}(i)||(i=wpcaData.requiredCc,WPIE.alert("not all required categories found. Required: "+wpcaData.requiredCc.join())),t(window).one(tt.names.cc_saved,function(t,e){Wt(a,e.categories)}),function(t,e){!X.savingcc&&J&&(X.savingcc=!0,Array.isArray(e)&&e.length&&xt(e),X.savingcc=!1,tt.trigger("cc_saved",{categories:e}))}(0,i),!1):(ct(),void mt())}catch(t){WPIE.log(t.message,t)}}function te(e){if(F&&"top"===N&&d===X.barbox&&600>=t(window).width()){var a=null;window.pageYOffset<Z.wpadminbar.innerHeight()?a=Z.wpadminbar.innerHeight()-window.pageYOffset:Z.wpadminbar.innerHeight()<=window.pageYOffset&&(a=0),null!==a&&Z.barbox.css("top",a+"px")}}function ee(t){27===t.keyCode&&X.showingPopup&&mt()}return e.getDataLayer=function(){return window[wpcaData.gtm.dataLayerName]&&Array.isArray(window[wpcaData.gtm.dataLayerName])?window[wpcaData.gtm.dataLayerName]:[]},e.gtag=function(){this.getDataLayer().push(arguments)},e.handlerOnload=function(t){setTimeout(function(){try{wpcaData.gtm.optimize&&Ot()}catch(t){WPIE.log(t.message,t)}finally{window.removeEventListener("load",e.handlerOnload,!1)}},0)},e.acceptedAll=function(){return!(!this.accepted()||!this.hasClientCookieCategoriesAll())||!(!this.accepted()||z)},e.accepted=function(){return"1"===lt(wpcaData.cookieNameConsent)},e.declined=function(){return"0"===lt(wpcaData.cookieNameConsent)},e.isFirstVisit=function(){return!this.accepted()&&!this.declined()},e.isBypassingConsent=function(){return wpcaData.bypassingConsent},e.needButtonAccept=function(){return!this.acceptedAll()&&ut()},e.needButtonAcceptForCCPA=function(){return Y&&wpcaData.ccpa.showBtnAccept&&!this.acceptedAll()},e.needButtonDecline=function(){return!this.declined()&&!this.accepted()&&!ht()},e.needButtonDeclineForCCPA=function(){return Y&&wpcaData.ccpa.showBtnDecline&&!this.declined()},e.needToReplaceResetByAccept=function(){return!this.accepted()&&wpcaData.replaceResetBtn},e.needPageReloadAfterConsent=function(){return wpcaData.reloadAfterConsent},e.needConsentLayout=function(){return!this.isBypassingConsent()&&!this.declined()&&!!this.isFirstVisit()},e.doLayer=function(){return(""===wpcaData.cookiePolicyPathRel||wpcaData.cookiePolicyPathRel!==window.location.pathname)&&(!Y||""===wpcaData.ccpa.dnsmpiUrlRel||wpcaData.ccpa.dnsmpiUrlRel!==window.location.pathname)&&!!e.needConsentLayout()&&1===R&&wpcaData.showLayer&&T},e.getClientCookieCategoriesDeclined=function(){return WPIE.arrDiff(wpcaData.allowedCc,G)},e.hasClientCookieCategoriesAll=function(){return!!z&&0===this.getClientCookieCategoriesDeclined().length},e.hasClientThisCookieCategory=function(t){return z&&-1!==G.indexOf(t)},e.hasLayout=function(){return Z.barbox.hasClass(i)},e.triggerResetConsent=function(){try{jt()}catch(t){WPIE.log(t.message,t)}},e.doBlockCookies=function(t){t=void 0!==t?t.trim():"";var e,a=this.hasClientCookieCategoriesAll(),n=!1,i=!0;return""!==t&&ft(t)&&(n=!0,e=this.hasClientThisCookieCategory(t)),(n&&e||this.accepted()&&a||this.accepted()&&!z||this.isFirstVisit()&&ht())&&
1(i=!1),i},e.getEventName=function(t){return tt.getName(t)},e.initContentForCc=function(t,e,a){if(ft(t.cc)&&!this.doBlockCookies(t.cc))try{e="string"==typeof e?e:t.jsFunc,t.depName||(t.depName=e),ot(t.depName,e,a,parseInt(t.depDt||200),parseInt(t.depRetries||3)).catch(function(t){WPIE.log(t)})}catch(t){WPIE.log(t.message,t)}},e.initRegistered3rdParty=function(t){this.initContentForCc(t)},e.initFusionGmaps=function(a){t(".fusion-google-map").each(function(){var n="fusion_run_map_"+t(this).attr("id");a.jsFunc=n,e.initContentForCc(a)})},e.initDiviGmaps=function(a){t(".et_pb_map_container").each(function(){a.jsFunc="et_pb_map_init",e.initContentForCc(a,null,t(this))})},e.doLayoutHTMLRequest=function(){var e={},i={},o=!1;if(n=!0,-1!==window.location.search.indexOf("wpca-fm=rest")&&(o=!0),"rest"===wpcaData.fetchMethod||o){o&&(i["wpca-do-rest"]="1"),i._wpnonce=wpcaData.restNonce;var r=wpcaData.restUrl+wpcaData.ns+"/v1/fetch-layout";a=t.get(r,i,"html")}else i.context=wpcaData.ajaxContextFrontend,e.action="wpie-action",e[wpcaData.ns+"_action"]="wpca-frontend-render-layout",e.data=i,e.nonce=wpcaData.nonce,a=t.get(wpcaData.ajaxurl,e,"html")},e.loadLayout=function(){if(Z.wrapper=t("#wpca-lay-out-wrapper"),Z.wrapper.length)return a.done(function(t){return Z.wrapper.html(t),!0}).fail(function(t){t.responseJSON&&t.responseJSON.message&&WPIE.log(t.responseJSON.message)});throw new Error("missing wrapper element")},e.init=function(){try{if(this.done)return;wpcaData.loadHtmlEarly||n||e.doLayoutHTMLRequest(),this.loadLayout().done(function(){L=wpcaData.layout,Z.barbox=t("#wpca-"+L),Z.wpadminbar=t("#wpadminbar"),Z.privacyBtns=t("."+wpcaData.policyCssClass),Z.privacyBtn=Z.barbox.find("."+wpcaData.policyCssClass),Z.ccBox=t("."+h),Z.layer=t("#"+c),Z.popup=t("#wpca-popup-modal"),Z.closeBarBox=Z.barbox.find("."+l),Z.closePopup=Z.popup.find("."+l),Z.reconsiderIcon=t("#wpca-reconsider-icon"),V=wpcaData.useXAsDismiss,R=parseInt(wpcaData.consentMethod),W=wpcaData.cookieExpire?wpcaData.cookieExpire:W,$=0<=wpcaData.minScrollTop?wpcaData.minScrollTop:$,G=kt(),j=Z.barbox.hasClass("wpca-ct"),F=null!=Z.wpadminbar[0],T=0<Z.layer.length,q=0<Z.popup.length,S=wpcaData.hasClose,z=0<G.length,H=S&&0<Z.closeBarBox.length,U=0<Z.reconsiderIcon.length,E=0<=wpcaData.animateDuration?wpcaData.animateDuration:E,Y=null!=wpcaData.ccpa,K=wpcaData.init3rdPartyTimeout||K,e.isFirstVisit()&&G.length&&pt(wpcaData.cookieNameCc),X.barbox=e.needConsentLayout()?d:s,t.fn.extend(nt),Mt({states:X}),et.bind(),at.init().obzerve(),e.done=!0,tt.trigger("init_ready")})}catch(t){WPIE.log(t.message,t)}},e}(jQuery||{},window.WPCAFR),function(t){try{WPIE.checkForRequiredProps(["loadHtmlEarly","fetchMethod","layout","policyCssClass","cookiePolicyPathRel","queryVarBypass","cookieNameConsent","cookieNameCc","cookiesBeforeConsent","consentMethod","showLayer","hasClose","useXAsDismiss","minScrollTop","bypassingConsent","ssl","allowedCc","requiredCc","replaceResetBtn","doPlaceholder","doPlaceholderParentSizing","blockedAssetsUri","reloadAfterConsent","minPlacehoderDim","animateDuration","gtm","init3rdPartyTimeout","init3rdPartyItems","ccLabels"],wpcaData,!1,"wpcaData"),wpcaData.loadHtmlEarly&&WPCAFR.doLayoutHTMLRequest(),t(function(t){WPCAFR.init()}),window.addEventListener("load",WPCAFR.handlerOnload,!1)}catch(t){WPIE.log(t.message,t)}}(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.