bergercare.de Open in urlscan Pro
85.13.131.86  Public Scan

Submitted URL: http://bergercare.de/wp-content/c9d213c6ff5c4c46f3502cbc00d7ba87/dist/1586901025.js?ver=164b534d2d704384
Effective URL: https://bergercare.de/wp-content/c9d213c6ff5c4c46f3502cbc00d7ba87/dist/1586901025.js?ver=164b534d2d704384
Submission: On April 20 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

"use strict";(self.webpackChunkrealCookieBanner_=self.webpackChunkrealCookieBanner_||[]).push([[617],{6425:(e,t,n)=>{function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const o=[];let i=e.parentElement;const r=void 0!==t;let s=0;for(;null!==i;){const a=i.nodeType===Node.ELEMENT_NODE;if(0===s&&1===n&&a&&r){const n=e.closest(t);return n?[n]:[]}if((!r||a&&i.matches(t))&&o.push(i),i=i.parentElement,0!==n&&o.length>=n)break;s++}return o}n.d(t,{w:()=>o})},9044:(e,t,n)=>{n.r(t),n.d(t,{WebsiteBanner:()=>Ae});var o=n(729),i=n(8335),r=n(1901),s=n(5168),a=n(9682),c=n(5819),l=n(9483),d=n(6069);const u=async e=>{let{supportsCookiesName:t}=e;return!(0,d.E)(t)&&"essentials"};var h=n(1107);const g=async e=>{let{decisionCookieName:t,revisionHash:n}=e;const o=(0,h.h)(t);if(!1===o)return!1;const{revision:i}=o;return n===i&&"consent"};var v=n(9671),f=n(7893),m=n(5033);function p(){const{userAgent:e}=navigator;return!!e&&!/chrome-lighthouse/i.test(e)&&!(0,m.f)()&&(0,f.Z)(e)}function y(){try{const e=window;if((e.doNotTrack||e.navigator.doNotTrack||e.navigator.msDoNotTrack||"msTrackingProtectionEnabled"in e.external)&&("1"==e.doNotTrack||"yes"==e.navigator.doNotTrack||"1"==e.navigator.doNotTrack||"1"==e.navigator.msDoNotTrack||e.external.msTrackingProtectionEnabled()))return!0}catch(e){}return!1}const w=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return async t=>{let{decisionCookieName:n,groups:o}=t;const i=o.find((e=>{let{isEssential:t}=e;return t}));if(!1!==(0,h.h)(n)||!e)return!1;for(const e of o)if(e!==i)for(const{legalBasis:t}of e.items)if("legitimate-interest"===t)return!1;return!!y()&&"dnt"}};function b(e,t){return new Promise(((n,o)=>{e.then(n,o);const i=new Error("Timed out");setTimeout(o,t,i)}))}const k=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return async o=>{let{decisionCookieName:i,revisionHash:r}=o;if(p()||!n)return!1;const s=(0,h.h)(i);if(s){const{revision:e}=s;if(r===e)return"consent"}try{const{predecision:n}=await b(e(),t);return n}catch(e){return!1}}};var C=n(5477),x=n(6945);const O={path:"/consent/dynamic-predecision",method:x.O.POST,obfuscatePath:"keep-last-part"};function S(e){(0,o.d4)((()=>{if((0,i.u)().customizeIdsBanner)return;const{restNamespace:t,restRoot:o,restQuery:d,restNonce:f,restPathObfuscateOffset:m,others:{isPreventPreDecision:y,hasDynamicPreDecisions:b,frontend:{isRespectDoNotTrack:x,isAcceptAllForBots:S}}}=(0,r.m)(),{onSave:P,suspense:D}=e;var N,A,T;!async function(e,t){let o=!0;const i=e instanceof a.G?e.getOptions():e,{gateways:r,args:s,onIsDoNotTrack:d,onShowCookieBanner:u}=t;for(const e of r){const t=await e(i,...s);if(!1!==t){o=!1;const e=e=>Promise.all([n.e(812),n.e(705),n.e(145),n.e(376)]).then(n.bind(n,8477)).then((t=>{let{apply:n}=t;return n({type:e,...i})}));"all"===t?e("all"):"essentials"===t?e("essentials"):"dnt"===t?d((()=>e("essentials"))):"consent"===t&&e("consent");break}}o&&(u(),document.dispatchEvent(new CustomEvent("RCB/Banner/Show/Interactive")),await(0,l.C)(),document.dispatchEvent(new CustomEvent(c.I,{detail:{}})))}((0,s.b)(),{gateways:[async()=>(await D.tcf,!1),u,g,(T=["login-action-"],"force-cookie-banner",async()=>{const{className:e}=document.body;return!(e&&e.indexOf("force-cookie-banner")>-1)&&T.filter((t=>e.indexOf(t)>-1)).length>0&&"consent"}),(A=!!S&&"all",async e=>{let{decisionCookieName:t}=e;return await(0,v.H)(),!(!1!==(0,h.h)(t)||!A)&&!!p()&&A}),w(x),k((()=>{const{clientWidth:e,clientHeight:n}=document.documentElement;return(0,C.D)({location:O,options:{restNamespace:t,restRoot:o,restQuery:d,restNonce:f,restPathObfuscateOffset:m},sendRestNonce:!1,request:{viewPortWidth:e,viewPortHeight:n},params:{_wp_http_referer:window.location.href}})}),1e4,b),(N=y,async()=>!!N&&(p()?"all":"consent"))],args:[e],onIsDoNotTrack:()=>{P(!0,"none")},onShowCookieBanner:()=>{const{tcf:t}=e;e.set({consent:(0,s.b)().getDefaultDecision(),gcmConsent:[],visible:!0})}})}),[])}var P=n(5001),D=n(6810),N=n(8856),A=n(1762),T=n(410),B=n(9869),I=n(748).h;const R=()=>{const{headerDesign:{fontColor:e,fontSize:t},texts:{acceptEssentials:n},activeAction:i,pageRequestUuid4:r,i18n:{close:s,closeWithoutSaving:a},buttonClicked:c=""}=(0,N.S)(),{buttonClickedCloseIcon:l,closeIcon:d}=(0,T.T)(),u=(0,o.Ye)((()=>window.innerWidth),[]);return I(B.T,{width:t,color:e,tooltipText:i?"change"===i?a:s:n,tooltipAlways:u<A.y8,framed:c===l,renderInContainer:document.getElementById(r).querySelector("dialog"),onClick:d})};var E=n(2333);const L=[Symbol("extendBannerContentStylesheet"),(e,t)=>{let{boolIf:n,boolSwitch:o,boolOr:i,computed:r,boolNot:s,jsx:a,variable:c}=e,{dimsOverlay:l,dimsHeader:d,dimsFooter:u,dimsRightSidebar:h,boolLargeOrMobile:g,isMobile:v,isBanner:f,design:m,bodyDesign:p,headerDesign:y,layout:w,decision:b,mobile:k,texts:C,activeAction:x,footerDesign:O,individualLayout:S,individualPrivacyOpen:P,footerBorderStyle:D,headerBorderStyle:N}=t;const A=r([y.logo,y.logoRetina,y.logoFitDim,y.logoRetinaFitDim,y.logoMaxHeight],(e=>{let[t,n,o,i,r]=e;const s=n&&(null==t||!t.endsWith(".svg"))&&window.devicePixelRatio>1?i:o;return(null==s?void 0:s[0])>0?{width:(0,E.nw)(s[0]),height:(0,E.nw)(s[1])}:{width:"auto",height:(0,E.nw)(r)}})),T=n({when:f,then:{when:[P,s(S.inheritBannerMaxWidth)],then:S.bannerMaxWidth(),or:w.bannerMaxWidth()}}),B=g(y.borderWidth,n),[I]=a("div",{classNames:"header-container",position:"sticky",zIndex:9,top:0,background:n(y.inheritBg,m.bg(),y.bg()),padding:g(y.padding,n),paddingBottom:`calc(${B} + ${g(y.padding,n,2)})`,...N,pseudos:{":has(>div:empty)":{display:"none"},":has(>div:empty)+div":N,":after":{content:"''",display:"block",position:"absolute",left:"0px",right:"0px",bottom:"0px",background:y.borderColor(),height:B},">div":{transition:"width 500ms, max-width 500ms",maxWidth:T,margin:"auto",display:"flex",alignItems:"center",position:"relative",textAlign:n(y.inheritTextAlign,m.textAlign("val"),y.textAlign("val")),justifyContent:n(y.inheritTextAlign,o([[m.textAlign("is-center"),"center"],[m.textAlign("is-right"),"flex-end"]]),o([[y.textAlign("is-center"),"center"],[y.textAlign("is-right"),"flex-end"]])),flexDirection:n({when:[y.logo("is-filled"),C.headline("is-filled")],then:o([[y.logoPosition("is-left"),"row"],[y.logoPosition("is-right"),"row-reverse"]],"column")})},">div>img":{margin:g(y.logoMargin,n),width:A.width(),height:A.height()}}}),R=o([[[x("is-filled"),b.showCloseIcon()],"51px"]],"0px"),L=l[1].height(),H=c(`calc(${L} - ${n(f,"0px","20px")} - ${R})`),$=c(`calc(100px + ${h[1].height()} + ${d[1].height()} + ${u[1].height()})`),[W]=a("div",{classNames:"content",position:"relative",overflow:"auto",maxHeight:n({when:v,then:{when:P,then:`calc(${L} - ${R})`,or:`calc(min(${L}, ${k.maxHeight()}) - ${R})`},or:{when:i([P,s(w.maxHeightEnabled)]),then:H(),or:`min(max(${w.maxHeight()}, ${$()}), ${H()})`}}),..."Win32"===navigator.platform?{overflow:CSS.supports("overflow","overlay")?"overlay":"scroll",scrollbarWidth:"thin",scrollbarColor:`${p.teachingsFontColor()} transparent`,pseudos:{"::-webkit-scrollbar":{width:"11px"},"::-webkit-scrollbar-track":{background:"transparent"},"::-webkit-scrollbar-thumb":{background:p.teachingsFontColor(),borderRadius:w.dialogBorderRadius(),border:`3px solid ${m.bg()}`}}}:{}}),F=g(O.borderWidth,n),[_]=a("div",{classNames:"footer-container",fontWeight:O.fontWeight(),color:O.fontColor(),position:"sticky",bottom:"0px",zIndex:1,padding:g(O.padding,n),paddingTop:`calc(${F} + ${g(O.padding,n,0)})`,background:n(O.inheritBg,m.bg(),O.bg()),fontSize:g(O.fontSize,n),textAlign:n(O.inheritTextAlign,m.textAlign("val"),O.textAlign()),...D,pseudos:{":after":{content:"''",display:"block",position:"absolute",left:"0px",right:"0px",top:"0px",background:O.borderColor(),height:F},">div":{transition:"width 500ms, max-width 500ms",maxWidth:T,margin:"auto",lineHeight:"1.8"},":has(>div:empty)":{display:"none"}}});return{HeaderContainer:I,Content:W,FooterContainer:_}}];var H=n(8258),$=n(748).h;const W=(0,o.Gp)(((e,t)=>{let{className:n}=e;const o=(0,D.Y)(),{a11yIds:i,HeaderContainer:r,hasCloseIcon:s,HeaderTitle:a}=o.extend(...L).extend(...H.W),{headerDesign:{logo:c,logoRetina:l,logoAlt:d},decision:{showCloseIcon:u},texts:{headline:h},activeAction:g,individualPrivacyOpen:v,individualTexts:f,i18n:{headerTitlePrivacyPolicyHistory:m}}=(0,N.S)(),p=l&&(null==c||!c.endsWith(".svg"))&&window.devicePixelRatio>1?l:c,y=!!u||!!g,w=v?"history"===g?m:f.headline:h;return $(r,{ref:t,className:n},$("div",null,!!p&&$("img",{"aria-hidden":!0,alt:d||"",src:p}),!!w&&$(a,{id:i.headline,className:y?s:void 0},w),y&&$(R,null)))}));var F=n(6190),_=n(5712),G=n(9718),M=n(748).h;const Y=()=>{const{FooterLanguageSwitcherSelect:e}=(0,G.R)().extend(...H.W),{footerDesign:{languageSwitcher:t},languageSwitcher:n,onLanguageSwitch:i}=(0,N.S)(),r=(0,o.Ye)((()=>n.find((e=>{let{current:t}=e;return t}))),[n]),s="flags"===t&&!(null==r||!r.flag);return M(e,{"data-flag":s},s&&M("span",{style:{backgroundImage:`url(${r.flag})`}}),M("select",{value:null==r?void 0:r.locale,"aria-label":null==r?void 0:r.name,onChange:e=>{null==i||i(n.find((t=>{let{locale:n}=t;return n===e.target.value})))}},n.map((e=>{let{locale:t,name:n}=e;return M("option",{value:t,key:t},n)}))))};var z=n(748).h;const V=(0,o.Gp)(((e,t)=>{const{FooterContainer:n}=(0,D.Y)().extend(...L),i=(0,N.S)(),{isTcf:r,layout:{type:s},footerDesign:{languageSwitcher:a},individualPrivacyOpen:c,onClose:l,i18n:{tcf:d},isConsentRecord:u,languageSwitcher:h,set:g}=i,v=(0,o.I4)((e=>{l(),e.preventDefault()}),[l]),{rows:f,render:m}=(0,_.g)({onClose:u?v:void 0,putPoweredByLinkInRow:"banner"===s?0:1,row1:[!1],row1End:[(null==h?void 0:h.length)>0&&a&&"disabled"!==a&&z(Y,{key:"languageSwitcher"})]});return z(n,{ref:t},z("div",null,m(f)))}));var q=n(4440),U=n(3189),j=n.n(U),Q=n(9963),J=n(748).h;const K=(0,Q.R)(Promise.resolve(W),"BannerHeader"),Z=(0,Q.R)(Promise.resolve(F.e),"BannerBody"),X=(0,Q.R)(Promise.resolve(V),"BannerFooter");var ee=n(6425),te=n(3861);const ne='[href^="#consent-"]';function oe(){window.location.hash.startsWith("#consent-")&&(window.location.hash="")}var ie=n(6914);function re(e,t){const n=(0,o.sO)(0),i=(0,o.sO)(0),[r,s]=(0,o.eJ)(e),[a,c]=(0,o.eJ)(void 0),[l,d]=(0,o.eJ)(t),[u,h]=(0,o.eJ)(void 0);return(0,o.d4)((()=>{n.current>0&&("none"===e?s(e):(s("none"),c(e))),n.current++}),[e]),(0,o.d4)((()=>{i.current>0&&(0===t?d(t):(d(0),h(t),s("none"),c(e))),i.current++}),[t]),(0,o.d4)((()=>{void 0!==a&&(s(a),c(void 0))}),[a]),(0,o.d4)((()=>{void 0!==u&&(d(u),h(void 0))}),[u]),[r,l]}var se=n(8200),ae=n(2375),ce=n(3464),le=n(748).h;const de=(0,Q.R)(Promise.resolve((()=>{const{Content:e,hideOnMobileClass:t,dimsContent:n,dimsOverlay:i,dimsHeader:r,dimsFooter:s,dimsRightSidebar:a,A11ySkipToLink:c,a11yIds:{firstButton:l}}=(0,D.Y)().extend(...q.V).extend(...L),{decision:{acceptAll:d,acceptEssentials:u,showCloseIcon:h},mobile:g,individualPrivacyOpen:f,bodyDesign:{acceptEssentialsUseAcceptAll:m},activeAction:p,pageRequestUuid4:y,i18n:{skipToConsentChoices:w}}=(0,N.S)(),b=(0,o.sO)(),k=m&&d===u?d:u,C=!g.hideHeader||p||f||"hide"===k&&h?"":t,x=(0,o.sO)();x.current=x.current||{};const O=(0,o.I4)((()=>[document.querySelector(`#${y} div[class*="animate__"]`)]),[y]),S=(0,o.I4)(((e,t)=>{let[n,,o]=e;t?n(t,O()):o()}),[O]),P=(0,o.I4)((e=>S(r,e)),[S]),A=(0,o.I4)((e=>S(s,e)),[S]),T=(0,o.I4)((e=>S(a,e)),[S]);return(0,o.d4)((()=>{const e=O(),t=[n[0](b.current),i[0](document.querySelector(`#${y}`),e)];return()=>t.forEach((e=>e()))}),[]),(0,o.d4)((()=>{j().mutate((()=>(0,v.H)().then((()=>b.current.scrollTop=0))))}),[f]),J(e,{ref:b},J(c,{href:`#${l}`},w),J(K,{ref:P,className:C}),J(Z,{rightSideContainerRef:T}),J(X,{ref:A}))})),"BannerContent"),ue=(0,Q.R)(Promise.all([n.e(812),n.e(705),n.e(145),n.e(376)]).then(n.bind(n,6510)).then((e=>{let{BannerSticky:t}=e;return t}))),he=(e,t)=>{const{dataset:n,style:o}=document.body;void 0===n.rcbPreviousOverflow&&(n.rcbPreviousOverflow=o.overflow),o.overflow=e&&t?"hidden":n.rcbPreviousOverflow,document.body.parentElement.style.overflow=o.overflow},ge=(0,Q.R)(Promise.resolve((()=>{const e=(0,N.S)(),{recorder:t,visible:n,isConsentGiven:i,skipOverlay:r,pageRequestUuid4:s,individualPrivacyOpen:c,fetchLazyLoadedDataForSecondView:l,broadcastChannel:d,onApplyConsent:u,onClose:h,activeAction:g,layout:{overlay:v,animationInDuration:f,animationOutDuration:m},sticky:p}=e,y=(0,o.sO)(),w=(0,o.sO)(),b=(0,o.sO)(!1),[k,C]=function(e){let{animationIn:t,animationInOnlyMobile:n,animationOut:i,animationOutOnlyMobile:r}=e;const s=(0,o.Ye)((()=>window.innerWidth),[])<A.y8;let a=n?s?t:"none":t,c=r?s?i:"none":i;return(0,o.Ye)((()=>{const e=window.navigator.userAgent.toLowerCase();return 4===["firefox","gecko","mobile","android"].map((t=>e.indexOf(t)>-1)).filter(Boolean).length}),[])&&(a="none",c="none"),[a,c]}(e.layout),[x,O]=re(k,f),[S,P]=re("none"===C?"fadeOut":C,"none"===C?0:m),[D,T]=(0,ce.s)(["BannerContent","BannerHeader","BannerBody","BannerFooter","BodyDescription"],j().mutate.bind(j()),(()=>y.current.style.removeProperty("display"))),B=(0,G.R)(),{a11yIds:{firstButton:I},inner:R,Dialog:E,Overlay:L,individualPrivacyOpen:H,registerWindowResize:$}=B.extend(...ae.y);(0,o.Ye)((()=>{H.update(c),c&&(null==l||l())}),[c]),(0,o.d4)($,[]),(0,o.d4)((()=>()=>{he(!1,v)}),[v]),function(){const{openBanner:e,openHistory:t,revokeConsent:n}=(0,N.S)();(0,o.d4)((()=>{const o=(o,i,r)=>{if(e)switch(o){case"change":e(r);break;case"history":t(r);break;case"revoke":n(i,r)}},i=t=>{if(!e)return;const n=t.target;(0,ee.w)(n,ne).concat((0,te.D)(n,ne)?[n]:[]).forEach((e=>{o(e.getAttribute("href").slice(9),e.getAttribute("data-success-message"),t)})),(0,te.D)(n,".rcb-sc-link")&&o(n.getAttribute("href").slice(1),n.getAttribute("data-success-message"),t)},r=()=>{const{hash:e}=window.location;e.startsWith("#consent-")&&o(e.substring(9),void 0,void 0)};return r(),window.addEventListener("hashchange",r),document.addEventListener("click",i,!0),()=>{window.removeEventListener("hashchange",r),document.removeEventListener("click",i,!0)}}),[e,t,n])}(),(0,o.d4)((()=>{n&&t&&j().mutate((()=>{t.restart()}))}),[n,t]),(0,o.d4)((()=>{const e=y.current,t=w.current||document.getElementById(s),o=function(e){this.querySelector(`a[href="#${I}"]`).focus(),e.preventDefault()};if(n){if(b.current=!0,null!=e&&e.isConnected){var i;e.open&&(null===(i=e.close)||void 0===i||i.call(e)),j().mutate((()=>{var t;null===(t=e[v?"showModal":"show"])||void 0===t||t.call(e)})),e.addEventListener("cancel",o)}}else if(e){var r;null===(r=e.close)||void 0===r||r.call(e)}if(t){const e=0,o=n?"none"===k?e:f:"none"===C?e:m,i=o>0,r=e=>{i&&(t.style.transition=`background ${o}ms`),t.style.display=e?"block":"none",he(e,v)};n?j().mutate((()=>{r(!0)})):b.current&&(setTimeout((()=>j().mutate((()=>r(!1)))),o),oe())}return()=>{null==e||e.removeEventListener("keyup",o)}}),[n,v]),(0,o.d4)((()=>{n&&j().mutate((()=>y.current.focus({preventScroll:!0})))}),[n,c]),(0,o.d4)((()=>{const e=e=>{let{data:t}=e;t===a.G.BROADCAST_SIGNAL_APPLY_COOKIES&&h()};return null==d||d.addEventListener("message",e),()=>{null==d||d.removeEventListener("message",e)}}),[d,u,h,g]);const W=[];if(i&&p.enabled&&W.push(le(ue,{key:"sticky"})),n||b.current){const e=le(E,{key:"dialog",className:"wp-exclude-emoji "+(c?"second-layer":""),ref:y,style:{display:"none"},"data-nosnippet":!0},le(D,{value:T},le(ie.j,{animationIn:x,animationInDuration:O,animationOut:S,animationOutDuration:P,isVisible:n,className:R},le(de,null))));W.push(r?e:le(L,{key:"overlay",id:s,className:B.className,ref:w},e))}return le(o.HY,null,W)})));var ve=n(6358),fe=n(5195),me=n(1087);const pe=e=>{e&&(e.preventDefault(),e.stopPropagation())},ye=(e,t)=>Object.assign(e,{activeAction:t,individualPrivacyOpen:!0,refreshSiteAfterSave:"change"===t&&2e3,visible:!0}),we={path:"/revision/second-view",method:x.O.GET,obfuscatePath:"keep-last-part"},be={path:"/consent",method:x.O.GET,obfuscatePath:"keep-last-part"};var ke=n(3311),Ce=n(3857),xe=n(7545),Oe=n(748).h;const Se=e=>{let{children:t}=e;return Oe(o.HY,null,t)},Pe=e=>{let{promise:t,children:n,suspenseProbs:i}=e;const r=(0,o.Ye)((()=>(0,Q.R)((t||Promise.resolve()).then((()=>Se)),void 0,i)),[t]);return Oe(r,null,n)};var De=n(748).h;const Ne=(0,Q.R)(Promise.resolve((()=>{const{pageRequestUuid4:e}=(0,N.S)(),t=(0,se.L)();t.specify(e);const[n,o]=(0,G.g)(t);return le(n,{value:o},le(ge,null))}))),Ae=e=>{let{poweredLink:t}=e;const{frontend:n,customizeValuesBanner:a,pageRequestUuid4:c,iso3166OneAlpha2:l,bannerDesignVersion:d,bannerI18n:u,isPro:g,isLicensed:f,isDevLicense:m,affiliate:p,isCurrentlyInTranslationEditorPreview:y}=(0,i.u)(),{restNamespace:w,restRoot:b,restQuery:k,restNonce:x,restPathObfuscateOffset:O}=(0,r.m)(),{decisionCookieName:D}=n,A=(0,s.b)(),T=A.getUserDecision(),B=(0,xe.D)(A.getOption("gcmCookieName")),I=(G=n.isTcf,M=n.tcf,Y=n.tcfMetadata,A.getOptions(),z=async()=>{},V=[G,M,Y],(0,o.Ye)((()=>(0,v.H)().then(z)),V)),[R,E]=function(e,t){const o=window.rcbLazyPromise;let i,r;if(o)[r,i]=o;else{let e=!1;r=!1===t?Promise.resolve({}):new Promise((t=>{i=async()=>{e||(e=!0,t(await(0,C.D)({location:we,options:{restNamespace:w,restRoot:b,restQuery:k,restNonce:x,restPathObfuscateOffset:O},params:{revisionHash:n.revisionHash},sendRestNonce:!1})))}}))}return[r,i]}(0,n.hasLazyData),L=document.getElementById(c),H=(0,o.Ye)((()=>new Ce.K(L)),[]),$=(0,ve.H)(),W={onClose:e=>{Object.assign(e,{visible:!1,refreshSiteAfterSave:!1})},openHistory:(e,t)=>{ye(e,"history"),pe(t)},openBanner:(e,t)=>{ye(e,"change"),pe(t)},revokeConsent:(e,t,n)=>{let{onPersistConsent:o,onApplyConsent:i,isTcf:r,tcf:s,isGcm:a,groups:c}=e;o({consent:(0,me.R)(c,!0),gcmConsent:a?[]:void 0,buttonClicked:"shortcode_revoke",tcfString:void 0}).then((()=>i())).then((()=>{t&&alert(t),oe(),setTimeout((()=>window.location.reload()),2e3)})),pe(n)},onSave:(e,t,n)=>{const{refreshSiteAfterSave:o}=e,i=(0,v.H)().then((async()=>{const{onPersistConsent:o,onApplyConsent:i,activeAction:r,consent:s,tcf:a,isTcf:c,isGcm:l,gcmConsent:d,recorder:u}=e;let h;if(l)switch(n){case"ind_all":case"ind_custom":case"main_all":case"main_custom":h=d;break;default:h=[]}return o({consent:s,gcmConsent:h,markAsDoNotTrack:t,buttonClicked:n,tcfString:void 0,recorderJsonString:u?JSON.stringify(u.createReplay()):void 0,uiView:"change"===r?"change":"revoke"!==r?"initial":void 0}).then((()=>i()))}));o?i.then((()=>{oe(),setTimeout((()=>window.location.reload()),o||2e3)})):Object.assign(e,{visible:!1})},updateCookieChecked:(e,t,n,o)=>{const{consent:i,isGcm:r,groups:s,updateGcmConsentTypeChecked:a}=e;i[t]||(i[t]=[]);const c=i[t],l=c.indexOf(n);if(o&&-1===l?c.push(n):!o&&l>-1&&c.splice(l,1),c.length||delete i[t],r){const e=s.map((e=>{let{id:t,items:n}=e;return n.filter((e=>{var n;let{id:o}=e;return(null===(n=i[t])||void 0===n?void 0:n.indexOf(o))>-1}))})).flat();for(const i of s.find((e=>{let{id:n}=e;return n===t})).items.find((e=>{let{id:t}=e;return n===t})).googleConsentModeConsentTypes)o?a(i,!0):e.some((e=>{let{googleConsentModeConsentTypes:t}=e;return t.includes(i)}))||a(i,!1)}},updateGroupChecked:(e,t,n)=>{const{groups:o,updateCookieChecked:i}=e;for(const e of o.find((e=>{let{id:n}=e;return n===t})).items)i(t,e.id,n)}},[F,_]=(0,N.g)({...a,...n,recorder:H,broadcastChannel:A.broadcastChannel,productionNotice:De(ke.Z,{isPro:g,isLicensed:f,isDevLicense:m,i18n:u}),pageRequestUuid4:c,iso3166OneAlpha2:l,gcmConsent:B,tcf:void 0,tcfFilterBy:"legInt",poweredLink:t,visible:!1,skipOverlay:!0,previewCheckboxActiveState:!1,individualPrivacyOpen:!1,designVersion:d,i18n:u,keepVariablesInTexts:y,affiliate:p,consent:{...!1===T?{}:T.consent,...(0,s.b)().getDefaultDecision(!1===T)},onPersistConsent:P.Q,onApplyConsent:()=>(0,s.b)().applyCookies({type:"consent"}),didGroupFirstChange:!1,fetchLazyLoadedDataForSecondView:E,suspense:{tcf:I,lazyLoadedDataForSecondView:R}},{...$,...W,fetchHistory:async()=>{const e=[];try{e.push(...await(0,C.D)({location:be,options:{restNamespace:w,restRoot:b,restQuery:k,restNonce:x,restPathObfuscateOffset:O},cookieValueAsParam:[D],sendRestNonce:!1}))}catch(e){}for(const{createdClientTime:t}of A.getConsentQueue())e.unshift({created:new Date(t).toISOString(),isDoNotTrack:!1,isForwarded:!1,isUnblock:!1,context:void 0,id:new Date(t).getTime(),uuid:void 0});return e},onLanguageSwitch:(e,t)=>{let{url:n}=t;window.location.href=n}});var G,M,Y,z,V;return S(_),function(e,t){(0,o.d4)((()=>{const n=()=>{const n=(0,h.h)(t);n&&e.set({consent:n.consent,isConsentGiven:!0})};return document.addEventListener(fe.V,n),()=>{document.removeEventListener(fe.V,n)}}),[])}(_,D),De(F,{value:_},De(Pe,{promise:I},De(Ne,null)))}}}]);
//# sourceMappingURL=https://sourcemap.devowl.io/real-cookie-banner/4.7.4/15e35827de92c1dc14d610d245c2d2d7/banner-pro-banner-ui.pro.js.map