{"version":3,"sources":["webpack://realCookieBanner_[name]/./src/public/ts/types/events/optInContentBlockerAll.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/applyContentBlocker/decideToUnblock.tsx","webpack://realCookieBanner_[name]/./src/public/ts/types/events/decideToUnblockContentBlockerEvent.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/applyContentBlocker/getNodes.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/applyContentBlocker/ensureScriptWrapper.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/applyContentBlocker/putScriptInlineToDom.tsx","webpack://realCookieBanner_[name]/../common-packages/tmp/builds/devowlio/devowl-wp/node_modules/babel-loader/lib/packages/freemium/scripts/common-packages/resolve-none-computed-style/src/matchingSelector.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/applyContentBlocker/findVisualParent.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/applyContentBlocker/transformToOriginalAttribute.tsx","webpack://realCookieBanner_[name]/./src/public/ts/components/blocker/inlineStyles/content.tsx","webpack://realCookieBanner_[name]/./src/public/ts/components/blocker/inlineStyles/header.tsx","webpack://realCookieBanner_[name]/./src/public/ts/components/blocker/header.tsx","webpack://realCookieBanner_[name]/./src/public/ts/components/blocker/inlineStyles/body.tsx","webpack://realCookieBanner_[name]/./src/public/ts/components/blocker/inlineStyles/blocker.tsx","webpack://realCookieBanner_[name]/./src/public/ts/components/blocker/inlineStyles/buttons.tsx","webpack://realCookieBanner_[name]/./src/public/ts/components/blocker/button.tsx","webpack://realCookieBanner_[name]/./src/public/ts/components/blocker/inlineStyles/groups.tsx","webpack://realCookieBanner_[name]/./src/public/ts/components/blocker/cookieProperty.tsx","webpack://realCookieBanner_[name]/./src/public/ts/components/blocker/cookie.tsx","webpack://realCookieBanner_[name]/./src/public/ts/components/blocker/body.tsx","webpack://realCookieBanner_[name]/./src/public/ts/components/blocker/inlineStyles/footer.tsx","webpack://realCookieBanner_[name]/./src/public/ts/components/blocker/footerLink.tsx","webpack://realCookieBanner_[name]/./src/public/ts/components/blocker/footer.tsx","webpack://realCookieBanner_[name]/./src/public/ts/components/blocker/blocker.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/applyContentBlocker/adjustConsent.tsx","webpack://realCookieBanner_[name]/./src/public/ts/components/websiteBlocker.tsx","webpack://realCookieBanner_[name]/./src/public/ts/utils/previousVisibleElement.tsx","webpack://realCookieBanner_[name]/../common-packages/tmp/builds/devowlio/devowl-wp/node_modules/babel-loader/lib/packages/freemium/scripts/common-packages/resolve-none-computed-style/src/calculateScore.tsx","webpack://realCookieBanner_[name]/../common-packages/tmp/builds/devowlio/devowl-wp/node_modules/babel-loader/lib/packages/freemium/scripts/common-packages/resolve-none-computed-style/src/priorityByRule.tsx","webpack://realCookieBanner_[name]/../common-packages/tmp/builds/devowlio/devowl-wp/node_modules/babel-loader/lib/packages/freemium/scripts/common-packages/resolve-none-computed-style/src/iterateRules.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/comp/ratioClassPlainCss.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/applyContentBlocker/probablyResetParentContainer.tsx","webpack://realCookieBanner_[name]/../common-packages/tmp/builds/devowlio/devowl-wp/node_modules/babel-loader/lib/packages/freemium/scripts/common-packages/resolve-none-computed-style/src/index.tsx","webpack://realCookieBanner_[name]/../common-packages/tmp/builds/devowlio/devowl-wp/node_modules/babel-loader/lib/packages/freemium/scripts/common-packages/resolve-none-computed-style/src/resolveScorePool.tsx","webpack://realCookieBanner_[name]/../common-packages/tmp/builds/devowlio/devowl-wp/node_modules/babel-loader/lib/packages/freemium/scripts/common-packages/resolve-none-computed-style/src/iterateStylesheets.tsx","webpack://realCookieBanner_[name]/../common-packages/tmp/builds/devowlio/devowl-wp/node_modules/babel-loader/lib/packages/freemium/scripts/common-packages/resolve-none-computed-style/src/calculateInlineScore.tsx","webpack://realCookieBanner_[name]/../common-packages/tmp/builds/devowlio/devowl-wp/node_modules/babel-loader/lib/packages/freemium/scripts/common-packages/resolve-none-computed-style/src/sortScores.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/applyContentBlocker/create.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/initiators/jQuery.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/initiators/nativeEventListener.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/initiators/jQueryEvent.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/comp/customTriggers.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/applyContentBlocker/putStyleInlineToDom.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/applyContentBlocker/applyStyleRules.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/applyContentBlocker/manipulateDom.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/comp/listenOptInJqueryFn.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/applyContentBlocker/listenOptIn.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/comp/elementorVideoApi.tsx","webpack://realCookieBanner_[name]/./src/public/ts/others/comp/delegateClickThroughUnblockedContent.tsx","webpack://realCookieBanner_[name]/./src/public/ts/blocker.tsx"],"names":["OPT_IN_CONTENT_BLOCKER_ALL","decideToUnblockContentBlocker","cookies","by","requiredIds","blockerId","_allBlocker$filter","blocker","getOtherOptionsFromWindow","filter","_ref","id","required","split","map","Number","detail","consent","requiredId","_step","_iterator","s","n","done","value","cookie","err","e","f","indexOf","document","dispatchEvent","CustomEvent","getContentBlockerNodes","result","nodes","Array","prototype","slice","call","querySelectorAll","concat","node","_decideToUnblockConte","getAttribute","push","HTML_ATTRIBUTE_TRANSFORM_WRAPPER","ensureScriptWrapper","html","referenceNode","previousElementSibling","hasAttribute","createElement","setAttribute","parentElement","replaceChild","putHtmlCodeToDom","putScriptInlineToDom","isInHead","head","inlineScript","removeAttribute","style","removeProperty","inlineScriptHtml","outerHTML","substr","length","replace","RegExp","matchingSelector","element","selector","matchingElements","matchIdx","CHILDREN_SELECTOR_PREFIX","findVisualParentForContentBlocker","setVisualParentIfClassOfParent","useVisualParent","tagName","toLowerCase","className","def","isNaN","parent","i","startsWith","querySelector","elem","transformToOriginalContentBlockerAttribute","allowClickOverrides","Promise","resolve","isScript","workWithNode","cloneNode","getAttributeNames","attribute","endsWith","originalAttribute","overwriteClickAttribute","addEventListener","_ref2","_callee","unblockedNodes","_context","prev","next","abrupt","forEach","click","stop","_x","apply","this","arguments","_step2","_iterator2","_attribute","_value","_originalAttribute","_findVisualParentForC","visualParent","then","BlockerContentInlineStyles","key","_ref$layout","layout","type","dialogBorderRadius","_ref$design","design","borderWidth","borderColor","textAlign","fontColor","fontInheritFamily","fontFamily","customCss","antiAdBlocker","undefined","color","borderRadius","border","BlockerHeaderInlineStyles","restDesign","_ref$headerDesign","headerDesign","inheritBg","bg","padding","p","join","background","borderTop","borderLeft","borderRight","_ref2$headerDesign","inheritTextAlign","restHeaderDesign","useTextAlign","margin","display","justifyContent","alignItems","_ref3","_ref3$headerDesign","fontSize","_ref4","_ref4$headerDesign","height","BlockerHeader","name","blockerHeadline","texts","h","headerContainer","header","headline","BlockerBodyInlineStyles","bodyDesign","lineHeight","_ref3$bodyDesign","descriptionInheritFontSize","descriptionFontSize","descriptionTextAlign","individualLayout","marginBottom","_ref4$bodyDesign","teachingsSeparatorActive","teachingsSeparatorWidth","teachingsSeparatorHeight","teachingsSeparatorColor","marginTop","maxWidth","width","_ref5","_ref5$bodyDesign","teachingsInheritTextAlign","teachingsTextAlign","teachingsInheritFontSize","teachingsFontSize","teachingsInheritFontColor","teachingsFontColor","BlockerInlineStyles","fontStyle","opacity","BlockerButtonsInlineStyles","isHover","framed","acceptAll","decision","linkTextDecoration","_ref$bodyDesign","acceptAllFontSize","acceptAllBg","acceptAllTextAlign","acceptAllBorderColor","acceptAllPadding","acceptAllBorderWidth","acceptAllFontColor","acceptAllHoverBg","acceptAllHoverFontColor","acceptAllHoverBorderColor","common","hoverBg","hoverFontColor","hoverBorderColor","acceptIndividual","_ref2$bodyDesign","acceptIndividualFontSize","acceptIndividualBg","acceptIndividualTextAlign","acceptIndividualBorderColor","acceptIndividualPadding","acceptIndividualBorderWidth","acceptIndividualFontColor","acceptIndividualHoverBg","acceptIndividualHoverFontColor","acceptIndividualHoverBorderColor","textDecoration","cursor","backgroundColor","transition","textOverflow","whiteSpace","wordBreak","overflow","outline","BlockerButton","inlineStyle","onClick","children","_useState","_useState2","setIsHover","banner","interactionAttr","onMouseEnter","onMouseLeave","BlockerGroupsInlineStyles","maxHeight","overflowY","paddingRight","visible","checked","isDisabled","_ref2$group","group","headlineFontSize","checkboxBg","checkboxBorderWidth","checkboxBorderColor","checkboxActiveBg","checkboxActiveBorderColor","checkboxActiveColor","marginRight","verticalAlign","_ref3$group","linkColor","linkHoverColor","_ref5$group","groupBorderWidth","groupBorderColor","paddingLeft","BlockerCookieProperty","label","isValueUrl","isUrl","useValue","href","lineBreak","target","rel","linkMore","dangerouslySetInnerHTML","__html","cookieProperty","BlockerCookie","_ref$cookie","purpose","provider","providerPrivacyPolicy","ePrivacyUSA","noTechnicalDefinitions","technicalDefinitions","codeDynamics","isRendered","setIsRendered","isEPrivacyUSA","bannerI18n","types","icon","PlusOutlined","checkbox","yes","no","host","duration","durationUnit","sessionDuration","technicalCookieDefinition","BlockerBody","areCookiesVisible","setCookiesVisible","isAgeNotice","ageNotice","_blocker$decision","_blocker$texts","ageNoticeBlocker","blockerLoadButton","blockerLinkShowMissing","blockerAcceptInfo","_blocker$blocker","description","groups","onUnblock","close","missing","allConsentCookies","_i","_Object$values","Object","values","_cookies","items","useEPrivacyUSA","expandGroupsServiceVariable","showDescriptionContainer","bodyContainer","body","topSide","teachingsSeparator","teaching","cookieScroll","infoText","bottomSide","BlockerFooterInlineStyles","_ref$footerDesign","footerDesign","borderBottom","_ref3$footerDesign","_ref4$footerDesign","alignRight","float","BlockerFooterLink","anchorRest","footerLink","BlockerFooter","_blocker$legal","legal","privacyPolicy","privacyPolicyLabel","imprint","imprintLabel","_blocker$footerDesign","poweredByLink","linkTarget","poweredLink","targetAttributes","_getOtherOptionsFromW","isPro","affiliate","linkImprint","usePageIdToPermalinkMapLink","linkPrivacyPolicy","links","jsxJoin","footerContainer","footer","link","innerHTML","title","labelBehind","Blocker","inner","content","headerSeparator","footerSeparator","_adjustConsentComingFromContentBlocker","essentialGroup","currentDecision","_groups$filter","_groups$filter2","essentialGroupObj","newConsent","_step$value","groupId","cookieId","_newConsent$groups$gr","isTcf","getUserDecision","slug","t0","finish","t1","applyConsent","buttonClicked","tcfString","BLOCKER_LAST_CLICKED_CONNECTED_COUNTER","count","WebsiteBlocker","connectedCounter","userDecision","_getOtherOptionsFromW2","customizeValuesBanner","saveButton","individualTexts","pageIdToPermalink","consentForwardingExternalHosts","overwriteDesign","adjustConsentComingFromContentBlocker","contextValue","BlockerContext","Provider","getPreviousVisibleElement","previousVisible","prevAll","offsetParent","calculateScore","rule","stackSize","property","specificity","selectorText","_rule$style","getPropertyPriority","priorityByRule","iterateRules","rules","scoresPool","ruleIdx","CSSStyleRule","RESET_PARENT_HTML_ATTRIBUTE","KNOWN_RATIO_CLASSES","asSuffix","gutenberg","cornerstone","RESET_STYLE","MEMORIZE_OLD_STYLE","probablyResetParentContainerForContentBlocker","contentBlocker","state","_parentElement$parent","iterateParents","Boolean","_loop","scores","foundRatioClass","c","styleSheets","styleSheetIdx","styleSheet","cssRules","iterateStylesheets","inline","String","match","calculateInlineScore","sort","a","b","sortScores","resolveScorePool","previouslyStrictHidden","HTML_ATTRIBUTE_WAS_PREVIOUSLY_STRICT_HIDDEN","setProperty","window","getComputedStyle","position","createContentBlocker","_node$style","_createBefore$parentE","_createBefore$parentE2","_createBefore$parentE3","_secondParentPrevious","isPositioned","isNotInContent","isAlreadyConnected","_findVisualParentForC2","createBefore","visualParentMode","isInlineScriptOrStyle","fnStrictHide","getPropertyValue","visual","forceHidden","container","firstParentPreviousElementSibling","secondParentPreviousElementSibling","possibleDuplicates","lastElementChild","possibleDuplicate","toString","parentNode","insertBefore","multilingualSkipHTMLForTag","getSsrPoweredByLink","overwritten","applyJQueryInitiator","doc","jQuery","defaultView","parentWindow","originalFn","fn","ready","executed","setTimeout","applyNativeEventListener","eventName","_Object$assign","overwriteProp","_addEventListener","assign","_len","rest","_key","_rest$","Event","bubbles","cancelable","applyJQueryEvent","event","_add","add","args","handler","data","useTypes","isArray","customUnblockTriggers","elementorFrontend","elementsHandler","runReadyTrigger","dispatchResizeEvent","_putStyleInlineToDom","inlineStyleHtml","DOMParser","parseFromString","applyContentBlockerStyleRule","isFirstTransition","noConsentCount","newInnerHTML","m","urlPrefix","maskedUrl","requiredString","base64EncodedUrl","atob","putStyleInlineToDom","manipulateContentBlockerDOM","_manipulateContentBlockerDOM","row","connectedBlocker","isLastClicked","contentBlockers","ownerDocument","remove","gotClicked","$","listenOptInJqueryFnForContentBlocker","fns","jQueryFns","originalFunction","each","_this","callOriginal","all","manipulateInterval","w","APIS","_ref$detail","delegateClick","nextElementSibling","parentElementNextSibling","selectors","childrenSelected","matches","once","clearInterval","setInterval","getElementsByTagName","appendChild","applyContentBlockRatioCssPlainCss","on","_callee2","handlerWait","onInit","_context2","apiName","api","utils","insertAPI","apiUrl","getApiURL","unblock","elements","$firstScript","before","src","setSettings","getHandler","sent","$element","get","settings","autoplay"],"mappings":"4NAKWA,EAA6B,+B,iDCIxC,SAASC,EAA8BC,EAASC,EAAIC,EAAaC,GAC/D,IAAIC,EAKAC,EAGI,QAHOD,GAHa,EAAAE,EAAA,KACWD,QAEQE,QAAO,SAAUC,GAE9D,OADSA,EAAKC,KACAN,YACuB,IAAvBC,OAAgC,EAASA,EAAmB,GACxEM,EAAkC,iBAAhBR,EAA2BA,EAAYS,MAAM,KAAKC,IAAIC,QAAUX,EAuBlFY,EAAS,CACXT,QAASA,EACTJ,GAAIA,EACJc,QAxBmB,YAAPd,IAmBS,IAnBUS,EAASE,KAAI,SAAUI,GACtD,IACIC,EADAC,GAAY,OAA2BlB,GAG3C,IACE,IAAKkB,EAAUC,MAAOF,EAAQC,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AO,EAAGA,EAAOF,EAAME,IAC/ES,EAAKT,GAAQta,UAAUsa,GAGzB,OAAOuE,EAAO/e,MAAMC,KAAMgb,IAG9B,KAAK,GACL,IAAK,MACH,OAAO+D,EAAUlf,UAGtB+e,SE5GP,EAAAhF,GAAA,IAAM,WACJuD,GAAqC,CAAC,iB","file":"blocker.lite.js","sourcesContent":["/**\n * A content - which was blocked - got unblocked. This event is **not** dispatched\n * for each unblocked content in a \"transaction\", instead it is dispatched\n * when the transaction is complete (all content got unblocked and loaded).\n */\nexport var OPT_IN_CONTENT_BLOCKER_ALL = \"RCB/OptIn/ContentBlocker/All\";","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport { DECIDE_TO_UNBLOCK_CONTENT_BLOCKER_EVENT } from \"../../types\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\n/**\n * Given by criteria, cookie IDs and content blocker ID decide if the consent is given.\n * This function currently only supports `criteria=cookies`. If you are using a custom\n * criteria, you need to resolve the boolean by an event.\n */\n\nfunction decideToUnblockContentBlocker(cookies, by, requiredIds, blockerId) {\n var _allBlocker$filter;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n allBlocker = _getOtherOptionsFromW.blocker;\n\n var blocker = (_allBlocker$filter = allBlocker.filter(function (_ref) {\n var id = _ref.id;\n return id === blockerId;\n })) === null || _allBlocker$filter === void 0 ? void 0 : _allBlocker$filter[0];\n var required = typeof requiredIds === \"string\" ? requiredIds.split(\",\").map(Number) : requiredIds; // Check if consent is given for required cookies\n\n var consent = by === \"cookies\" ? required.map(function (requiredId) {\n var _iterator = _createForOfIteratorHelper(cookies),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var id = _step.value.cookie.id;\n\n if (id === requiredId) {\n return true;\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n return false;\n }).indexOf(false) === -1 : true; // a third-party needs to calculate the consent via an event (e.g. TCF)\n\n var detail = {\n blocker: blocker,\n by: by,\n consent: consent,\n cookies: cookies,\n required: required\n }; // Allow third parties to decide individually.\n\n document.dispatchEvent(new CustomEvent(DECIDE_TO_UNBLOCK_CONTENT_BLOCKER_EVENT, {\n detail: detail\n }));\n return {\n consent: detail.consent,\n blocker: detail.blocker\n };\n}\n\nexport { decideToUnblockContentBlocker };","/**\n * Decide if a content blocker can be unblocked.\n */\nexport var DECIDE_TO_UNBLOCK_CONTENT_BLOCKER_EVENT = \"RCB/ContentBlocker/DecideUnblock\";","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport { HTML_ATTRIBUTE_COOKIE_IDS, HTML_ATTRIBUTE_BLOCKER_ID, HTML_ATTRIBUTE_BY } from \".\";\nimport { decideToUnblockContentBlocker } from \".\";\n/**\n * Read all HTML elements and check, if they can be enabled by the consent cookies.\n */\n\nfunction getContentBlockerNodes(cookies) {\n var result = [];\n var nodes = Array.prototype.slice.call(document.querySelectorAll(\"[\".concat(HTML_ATTRIBUTE_COOKIE_IDS, \"]\")));\n\n var _iterator = _createForOfIteratorHelper(nodes),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var node = _step.value;\n\n var _decideToUnblockConte = decideToUnblockContentBlocker(cookies, node.getAttribute(HTML_ATTRIBUTE_BY), node.getAttribute(HTML_ATTRIBUTE_COOKIE_IDS), +node.getAttribute(HTML_ATTRIBUTE_BLOCKER_ID)),\n blocker = _decideToUnblockConte.blocker,\n consent = _decideToUnblockConte.consent;\n\n result.push({\n node: node,\n consent: consent,\n blocker: blocker\n });\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n return result;\n}\n\nexport { getContentBlockerNodes };","import { putHtmlCodeToDom } from \"../putHtmlCodeToDom\";\nvar HTML_ATTRIBUTE_TRANSFORM_WRAPPER = \"consent-transform-wrapper\";\nvar HTML_ATTRIBUTE_TRANSFORM_WRAPPER_VALUE = \"1\";\n/**\n * We do need to create a `span` for postscribe cause the \");\n return isInHead ? putHtmlCodeToDom(inlineScriptHtml, {}) : ensureScriptWrapper(inlineScriptHtml, node);\n}\n\nexport { putScriptInlineToDom };","function matchingSelector(element, selector) {\n var matchingElements = element.parentElement.querySelectorAll(selector);\n\n for (var matchIdx in matchingElements) {\n if (matchingElements[matchIdx] === element) {\n return true;\n }\n }\n\n return false;\n}\n\nexport { matchingSelector };","import { matchingSelector } from \"@devowl-wp/resolve-none-computed-style\";\nimport { HTML_ATTRIBUTE_VISUAL_PARENT } from \".\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nvar CHILDREN_SELECTOR_PREFIX = \"children:\";\n/**\n * Find element where the content blocker should be placed (e. g. a\n * content blocker should be inside a link).\n */\n\nfunction findVisualParentForContentBlocker(node) {\n if (!node.parentElement) {\n return [node, \"none\"];\n } // Find visual parent attribute\n\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n setVisualParentIfClassOfParent = _getOtherOptionsFromW.setVisualParentIfClassOfParent;\n\n var forceVisualParent = [\"a\"].indexOf(node.parentElement.tagName.toLowerCase()) > -1; // for links always use the parent\n\n var useVisualParent = forceVisualParent;\n\n if (node.hasAttribute(HTML_ATTRIBUTE_VISUAL_PARENT)) {\n useVisualParent = node.getAttribute(HTML_ATTRIBUTE_VISUAL_PARENT);\n } else {\n var className = node.parentElement.className;\n\n for (var def in setVisualParentIfClassOfParent) {\n if (className.indexOf(def) > -1) {\n useVisualParent = setVisualParentIfClassOfParent[def];\n break;\n }\n }\n }\n\n if (useVisualParent) {\n if (useVisualParent === true || useVisualParent === \"true\") {\n // Usual behavior, just take the parent\n return [node.parentElement, \"parent\"];\n } else if (!isNaN(+useVisualParent)) {\n // The attribute is a number, let's go up x parents\n var parent = node;\n\n for (var i = 0; i < +useVisualParent; i++) {\n if (!parent.parentElement) {\n return [parent, \"parentZ\"]; // Fallback to last found parent\n }\n\n parent = parent.parentElement;\n }\n\n return [parent, \"parentZ\"];\n } else if (typeof useVisualParent === \"string\") {\n if (useVisualParent.startsWith(CHILDREN_SELECTOR_PREFIX)) {\n return [node.querySelector(useVisualParent.substr(CHILDREN_SELECTOR_PREFIX.length)), \"childrenSelector\"];\n } else {\n // The attribute is a query selector\n for (var elem = node; elem; elem = elem.parentElement) {\n if (matchingSelector(elem, useVisualParent)) {\n return [elem, \"parentSelector\"];\n }\n }\n }\n }\n }\n\n return [node, \"none\"];\n}\n\nexport { findVisualParentForContentBlocker };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { HTML_ATTRIBUTE_CAPTURE_PREFIX, HTML_ATTRIBUTE_CAPTURE_CLICK_PREFIX, HTML_ATTRIBUTE_CAPTURE_SUFFIX, HTML_ATTRIBUTE_BLOCKER_CONNECTED, findVisualParentForContentBlocker } from \".\";\nimport { transformTcfSrc } from \"../../tcf\";\nimport { OPT_IN_CONTENT_BLOCKER_ALL } from \"../../types\";\nimport { ensureScriptWrapper } from \"./ensureScriptWrapper\";\n/**\n * Transform e. g. `consent-original-href` to `href` of a given node.\n */\n\nfunction transformToOriginalContentBlockerAttribute(node, allowClickOverrides) {\n return new Promise(function (resolve) {\n // Scripts need to be handled differently cause we want to use `postscribe` and should not be attached\n // to the DOM -> not be executed\n var tagName = node.tagName.toLowerCase();\n var isScript = tagName === \"script\";\n var workWithNode = isScript ? node.cloneNode(true) : node; // Do the transformation from \"blocked\" state to \"unblocked\"\n\n var _iterator = _createForOfIteratorHelper(workWithNode.getAttributeNames()),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var attribute = _step.value;\n\n if (attribute.startsWith(HTML_ATTRIBUTE_CAPTURE_PREFIX) && attribute.endsWith(HTML_ATTRIBUTE_CAPTURE_SUFFIX)) {\n var originalAttribute = attribute.substr(HTML_ATTRIBUTE_CAPTURE_PREFIX.length + 1);\n originalAttribute = originalAttribute.slice(0, (HTML_ATTRIBUTE_CAPTURE_SUFFIX.length + 1) * -1); // Check if `allowClickOverride` is given and then the `consent-click-original` attribute may be used, if given\n\n var overwriteClickAttribute = \"\".concat(HTML_ATTRIBUTE_CAPTURE_CLICK_PREFIX, \"-\").concat(originalAttribute, \"-\").concat(HTML_ATTRIBUTE_CAPTURE_SUFFIX);\n var value = workWithNode.getAttribute(workWithNode.hasAttribute(overwriteClickAttribute) && allowClickOverrides ? overwriteClickAttribute : attribute);\n\n if (process.env.IS_TCF === \"1\" && originalAttribute === \"src\") {\n value = transformTcfSrc(value);\n } // Finally, set the valid values\n\n\n workWithNode.setAttribute(originalAttribute, value);\n workWithNode.removeAttribute(attribute);\n workWithNode.removeAttribute(overwriteClickAttribute); // Automatically delegate a `click` event\n\n if (allowClickOverrides && [\"a\"].indexOf(tagName) > -1 && [\"onclick\"].indexOf(originalAttribute.toLowerCase()) > -1) {\n node.addEventListener(OPT_IN_CONTENT_BLOCKER_ALL, /*#__PURE__*/function () {\n var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {\n var unblockedNodes;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n unblockedNodes = _ref.detail.unblockedNodes;\n return _context.abrupt(\"return\", unblockedNodes.forEach(function () {\n return node.click();\n }));\n\n case 2:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function (_x) {\n return _ref2.apply(this, arguments);\n };\n }());\n }\n }\n } // Are there any non-transformed clicked attributes? E.g. only add an attribute when it got clicked (without original attribute)\n\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n var _iterator2 = _createForOfIteratorHelper(workWithNode.getAttributeNames()),\n _step2;\n\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var _attribute = _step2.value;\n\n if (_attribute.startsWith(HTML_ATTRIBUTE_CAPTURE_CLICK_PREFIX) && _attribute.endsWith(HTML_ATTRIBUTE_CAPTURE_SUFFIX)) {\n var _value = workWithNode.getAttribute(_attribute);\n\n var _originalAttribute = _attribute.substr(HTML_ATTRIBUTE_CAPTURE_CLICK_PREFIX.length + 1);\n\n _originalAttribute = _originalAttribute.slice(0, (HTML_ATTRIBUTE_CAPTURE_SUFFIX.length + 1) * -1); // Finally, set the valid values\n\n if (allowClickOverrides) {\n workWithNode.setAttribute(_originalAttribute, _value);\n }\n\n workWithNode.removeAttribute(_attribute);\n }\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n\n workWithNode.style.removeProperty(\"display\"); // Also make the parent visual visible again\n\n var _findVisualParentForC = findVisualParentForContentBlocker(node),\n _findVisualParentForC2 = _slicedToArray(_findVisualParentForC, 1),\n visualParent = _findVisualParentForC2[0];\n\n if (visualParent !== node || visualParent !== null && visualParent !== void 0 && visualParent.hasAttribute(HTML_ATTRIBUTE_BLOCKER_CONNECTED)) {\n visualParent.style.removeProperty(\"display\");\n }\n\n if (!isScript) {\n resolve();\n } else {\n var outerHTML = workWithNode.outerHTML;\n ensureScriptWrapper(outerHTML, node).then(resolve);\n }\n });\n}\n\nexport { transformToOriginalContentBlockerAttribute };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n\nvar BlockerContentInlineStyles = /*#__PURE__*/function () {\n function BlockerContentInlineStyles() {\n _classCallCheck(this, BlockerContentInlineStyles);\n }\n\n _createClass(BlockerContentInlineStyles, null, [{\n key: \"inner\",\n value: function inner(_ref) {\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n dialogBorderRadius = _ref$layout.dialogBorderRadius,\n _ref$design = _ref.design,\n borderWidth = _ref$design.borderWidth,\n borderColor = _ref$design.borderColor,\n textAlign = _ref$design.textAlign,\n fontColor = _ref$design.fontColor,\n fontInheritFamily = _ref$design.fontInheritFamily,\n fontFamily = _ref$design.fontFamily,\n antiAdBlocker = _ref.customCss.antiAdBlocker;\n var style = {\n textAlign: textAlign,\n fontFamily: fontInheritFamily ? undefined : fontFamily,\n color: fontColor,\n // margin: \"10px 0\",\n borderRadius: type === \"dialog\" ? +dialogBorderRadius : undefined,\n border: type === \"banner\" ? borderWidth > 0 ? \"\".concat(borderWidth, \"px solid \").concat(borderColor) : undefined : undefined\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-inner\",\n style: style\n };\n }\n }, {\n key: \"content\",\n value: function content(_ref2) {\n var antiAdBlocker = _ref2.customCss.antiAdBlocker;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-content\",\n style: {}\n };\n }\n }]);\n\n return BlockerContentInlineStyles;\n}();\n\nexport { BlockerContentInlineStyles };","import _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n\nvar BlockerHeaderInlineStyles = /*#__PURE__*/function () {\n function BlockerHeaderInlineStyles() {\n _classCallCheck(this, BlockerHeaderInlineStyles);\n }\n\n _createClass(BlockerHeaderInlineStyles, null, [{\n key: \"headerContainer\",\n value: function headerContainer(_ref) {\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n dialogBorderRadius = _ref$layout.dialogBorderRadius,\n _ref$design = _ref.design,\n borderWidth = _ref$design.borderWidth,\n borderColor = _ref$design.borderColor,\n restDesign = _objectWithoutProperties(_ref$design, [\"borderWidth\", \"borderColor\"]),\n _ref$headerDesign = _ref.headerDesign,\n inheritBg = _ref$headerDesign.inheritBg,\n bg = _ref$headerDesign.bg,\n padding = _ref$headerDesign.padding,\n antiAdBlocker = _ref.customCss.antiAdBlocker;\n\n var style = {\n padding: padding.map(function (p) {\n return \"\".concat(p, \"px\");\n }).join(\" \"),\n background: inheritBg ? restDesign.bg : bg,\n borderRadius: type === \"dialog\" ? \"\".concat(dialogBorderRadius, \"px \").concat(dialogBorderRadius, \"px 0 0\") : undefined\n };\n\n if (type === \"dialog\" && borderWidth > 0) {\n style.borderTop = \"\".concat(borderWidth, \"px solid \").concat(borderColor);\n style.borderLeft = style.borderTop;\n style.borderRight = style.borderTop;\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-header-container\",\n style: style\n };\n }\n }, {\n key: \"header\",\n value: function header(_ref2) {\n var textAlign = _ref2.design.textAlign,\n _ref2$headerDesign = _ref2.headerDesign,\n inheritTextAlign = _ref2$headerDesign.inheritTextAlign,\n restHeaderDesign = _objectWithoutProperties(_ref2$headerDesign, [\"inheritTextAlign\"]),\n antiAdBlocker = _ref2.customCss.antiAdBlocker;\n\n var useTextAlign = inheritTextAlign ? textAlign : restHeaderDesign.textAlign;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-header\",\n style: {\n margin: \"auto\",\n display: \"flex\",\n justifyContent: useTextAlign === \"center\" ? \"center\" : useTextAlign === \"right\" ? \"flex-end\" : undefined,\n alignItems: \"center\"\n }\n };\n }\n }, {\n key: \"headline\",\n value: function headline(_ref3) {\n var _ref3$headerDesign = _ref3.headerDesign,\n fontSize = _ref3$headerDesign.fontSize,\n fontColor = _ref3$headerDesign.fontColor,\n fontInheritFamily = _ref3$headerDesign.fontInheritFamily,\n fontFamily = _ref3$headerDesign.fontFamily,\n antiAdBlocker = _ref3.customCss.antiAdBlocker;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-headline\",\n style: {\n color: fontColor,\n fontSize: +fontSize,\n fontFamily: fontInheritFamily ? undefined : fontFamily\n }\n };\n }\n }, {\n key: \"headerSeparator\",\n value: function headerSeparator(_ref4) {\n var type = _ref4.layout.type,\n design = _ref4.design,\n _ref4$headerDesign = _ref4.headerDesign,\n borderWidth = _ref4$headerDesign.borderWidth,\n borderColor = _ref4$headerDesign.borderColor,\n antiAdBlocker = _ref4.customCss.antiAdBlocker;\n var style = {\n height: +borderWidth,\n background: borderColor\n };\n\n if (type === \"dialog\" && design.borderWidth > 0) {\n style.borderLeft = \"\".concat(design.borderWidth, \"px solid \").concat(design.borderColor);\n style.borderRight = style.borderLeft;\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-header-separator\",\n style: style\n };\n }\n }]);\n\n return BlockerHeaderInlineStyles;\n}();\n\nexport { BlockerHeaderInlineStyles };","import { useBlocker } from \"../../contexts\";\nimport { BlockerHeaderInlineStyles } from \".\";\n\nvar BlockerHeader = function BlockerHeader() {\n var blocker = useBlocker();\n var name = blocker.blocker.name,\n blockerHeadline = blocker.texts.blockerHeadline;\n return h(\"div\", BlockerHeaderInlineStyles.headerContainer(blocker), h(\"div\", BlockerHeaderInlineStyles.header(blocker), h(\"div\", BlockerHeaderInlineStyles.headline(blocker), blockerHeadline.replace(/{{name}}/g, name))));\n};\n\nexport { BlockerHeader };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n\nvar BlockerBodyInlineStyles = /*#__PURE__*/function () {\n function BlockerBodyInlineStyles() {\n _classCallCheck(this, BlockerBodyInlineStyles);\n }\n\n _createClass(BlockerBodyInlineStyles, null, [{\n key: \"bodyContainer\",\n value: function bodyContainer(_ref) {\n var type = _ref.layout.type,\n _ref$design = _ref.design,\n bg = _ref$design.bg,\n borderWidth = _ref$design.borderWidth,\n borderColor = _ref$design.borderColor,\n padding = _ref.bodyDesign.padding,\n antiAdBlocker = _ref.customCss.antiAdBlocker;\n var style = {\n background: bg,\n padding: padding.map(function (p) {\n return \"\".concat(p, \"px\");\n }).join(\" \"),\n lineHeight: 1.4\n };\n\n if (type === \"dialog\" && borderWidth > 0) {\n style.borderLeft = \"\".concat(borderWidth, \"px solid \").concat(borderColor);\n style.borderRight = style.borderLeft;\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-body-container\",\n style: style\n };\n }\n }, {\n key: \"body\",\n value: function body(_ref2) {\n var antiAdBlocker = _ref2.customCss.antiAdBlocker;\n var style = {\n margin: \"auto\"\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-body\",\n style: style\n };\n }\n }, {\n key: \"description\",\n value: function description(_ref3) {\n var fontSize = _ref3.design.fontSize,\n _ref3$bodyDesign = _ref3.bodyDesign,\n descriptionInheritFontSize = _ref3$bodyDesign.descriptionInheritFontSize,\n descriptionFontSize = _ref3$bodyDesign.descriptionFontSize,\n descriptionTextAlign = _ref3.individualLayout.descriptionTextAlign,\n antiAdBlocker = _ref3.customCss.antiAdBlocker;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-description\",\n style: {\n marginBottom: 10,\n fontSize: descriptionInheritFontSize ? +fontSize : +descriptionFontSize,\n textAlign: descriptionTextAlign\n }\n };\n }\n }, {\n key: \"teachingsSeparator\",\n value: function teachingsSeparator(_ref4) {\n var borderRadius = _ref4.layout.borderRadius,\n _ref4$bodyDesign = _ref4.bodyDesign,\n teachingsSeparatorActive = _ref4$bodyDesign.teachingsSeparatorActive,\n teachingsSeparatorWidth = _ref4$bodyDesign.teachingsSeparatorWidth,\n teachingsSeparatorHeight = _ref4$bodyDesign.teachingsSeparatorHeight,\n teachingsSeparatorColor = _ref4$bodyDesign.teachingsSeparatorColor,\n antiAdBlocker = _ref4.customCss.antiAdBlocker;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-teachings-separator\",\n style: {\n marginTop: 7,\n display: \"inline-block\",\n maxWidth: \"100%\",\n borderRadius: +borderRadius,\n width: +teachingsSeparatorWidth,\n height: teachingsSeparatorActive ? +teachingsSeparatorHeight : 0,\n background: teachingsSeparatorColor\n }\n };\n }\n }, {\n key: \"teaching\",\n value: function teaching(_ref5) {\n var _ref5$bodyDesign = _ref5.bodyDesign,\n teachingsInheritTextAlign = _ref5$bodyDesign.teachingsInheritTextAlign,\n teachingsTextAlign = _ref5$bodyDesign.teachingsTextAlign,\n teachingsInheritFontSize = _ref5$bodyDesign.teachingsInheritFontSize,\n teachingsFontSize = _ref5$bodyDesign.teachingsFontSize,\n teachingsInheritFontColor = _ref5$bodyDesign.teachingsInheritFontColor,\n teachingsFontColor = _ref5$bodyDesign.teachingsFontColor,\n antiAdBlocker = _ref5.customCss.antiAdBlocker;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-teachings\",\n style: {\n marginTop: 7,\n display: \"inline-block\",\n textAlign: teachingsInheritTextAlign ? undefined : teachingsTextAlign,\n fontSize: teachingsInheritFontSize ? undefined : +teachingsFontSize,\n color: teachingsInheritFontColor ? undefined : teachingsFontColor\n }\n };\n }\n }]);\n\n return BlockerBodyInlineStyles;\n}();\n\nexport { BlockerBodyInlineStyles };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n\nvar BlockerInlineStyles = /*#__PURE__*/function () {\n function BlockerInlineStyles() {\n _classCallCheck(this, BlockerInlineStyles);\n }\n\n _createClass(BlockerInlineStyles, null, [{\n key: \"topSide\",\n value: function topSide(_ref) {\n var antiAdBlocker = _ref.customCss.antiAdBlocker;\n var style = {\n marginBottom: 20\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-tb-top\",\n style: style\n };\n }\n }, {\n key: \"bottomSide\",\n value: function bottomSide(_ref2) {\n var bg = _ref2.design.bg,\n antiAdBlocker = _ref2.customCss.antiAdBlocker;\n var style = {\n background: bg\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-tb-bottom\",\n style: style\n };\n }\n }, {\n key: \"infoText\",\n value: function infoText(_ref3) {\n var fontColor = _ref3.design.fontColor,\n antiAdBlocker = _ref3.customCss.antiAdBlocker;\n var style = {\n fontStyle: \"italic\",\n color: fontColor,\n fontSize: 14,\n opacity: 0.5\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-tb-info-text\",\n style: style\n };\n }\n }]);\n\n return BlockerInlineStyles;\n}();\n\nexport { BlockerInlineStyles };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n\nvar BlockerButtonsInlineStyles = /*#__PURE__*/function () {\n function BlockerButtonsInlineStyles() {\n _classCallCheck(this, BlockerButtonsInlineStyles);\n }\n\n _createClass(BlockerButtonsInlineStyles, null, [{\n key: \"save\",\n value: function save(_ref, isHover, framed) {\n var acceptAll = _ref.decision.acceptAll,\n borderRadius = _ref.layout.borderRadius,\n linkTextDecoration = _ref.design.linkTextDecoration,\n _ref$bodyDesign = _ref.bodyDesign,\n acceptAllFontSize = _ref$bodyDesign.acceptAllFontSize,\n acceptAllBg = _ref$bodyDesign.acceptAllBg,\n acceptAllTextAlign = _ref$bodyDesign.acceptAllTextAlign,\n acceptAllBorderColor = _ref$bodyDesign.acceptAllBorderColor,\n acceptAllPadding = _ref$bodyDesign.acceptAllPadding,\n acceptAllBorderWidth = _ref$bodyDesign.acceptAllBorderWidth,\n acceptAllFontColor = _ref$bodyDesign.acceptAllFontColor,\n acceptAllHoverBg = _ref$bodyDesign.acceptAllHoverBg,\n acceptAllHoverFontColor = _ref$bodyDesign.acceptAllHoverFontColor,\n acceptAllHoverBorderColor = _ref$bodyDesign.acceptAllHoverBorderColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker;\n return this.common({\n name: \"accept-all\",\n type: acceptAll,\n borderRadius: borderRadius,\n bg: acceptAllBg,\n hoverBg: acceptAllHoverBg,\n fontSize: acceptAllFontSize,\n textAlign: acceptAllTextAlign,\n linkTextDecoration: linkTextDecoration,\n fontColor: acceptAllFontColor,\n hoverFontColor: acceptAllHoverFontColor,\n borderWidth: acceptAllBorderWidth,\n borderColor: acceptAllBorderColor,\n hoverBorderColor: acceptAllHoverBorderColor,\n padding: acceptAllPadding,\n antiAdBlocker: antiAdBlocker\n }, isHover, framed);\n }\n }, {\n key: \"showInfo\",\n value: function showInfo(_ref2, isHover, framed) {\n var acceptIndividual = _ref2.decision.acceptIndividual,\n borderRadius = _ref2.layout.borderRadius,\n linkTextDecoration = _ref2.design.linkTextDecoration,\n _ref2$bodyDesign = _ref2.bodyDesign,\n acceptIndividualFontSize = _ref2$bodyDesign.acceptIndividualFontSize,\n acceptIndividualBg = _ref2$bodyDesign.acceptIndividualBg,\n acceptIndividualTextAlign = _ref2$bodyDesign.acceptIndividualTextAlign,\n acceptIndividualBorderColor = _ref2$bodyDesign.acceptIndividualBorderColor,\n acceptIndividualPadding = _ref2$bodyDesign.acceptIndividualPadding,\n acceptIndividualBorderWidth = _ref2$bodyDesign.acceptIndividualBorderWidth,\n acceptIndividualFontColor = _ref2$bodyDesign.acceptIndividualFontColor,\n acceptIndividualHoverBg = _ref2$bodyDesign.acceptIndividualHoverBg,\n acceptIndividualHoverFontColor = _ref2$bodyDesign.acceptIndividualHoverFontColor,\n acceptIndividualHoverBorderColor = _ref2$bodyDesign.acceptIndividualHoverBorderColor,\n antiAdBlocker = _ref2.customCss.antiAdBlocker;\n return this.common({\n name: \"accept-individual\",\n type: acceptIndividual,\n borderRadius: borderRadius,\n bg: acceptIndividualBg,\n hoverBg: acceptIndividualHoverBg,\n fontSize: acceptIndividualFontSize,\n textAlign: acceptIndividualTextAlign,\n linkTextDecoration: linkTextDecoration,\n fontColor: acceptIndividualFontColor,\n hoverFontColor: acceptIndividualHoverFontColor,\n borderWidth: acceptIndividualBorderWidth,\n borderColor: acceptIndividualBorderColor,\n hoverBorderColor: acceptIndividualHoverBorderColor,\n padding: acceptIndividualPadding,\n antiAdBlocker: antiAdBlocker\n }, isHover, framed);\n }\n }, {\n key: \"common\",\n value: function common(_ref3, isHover, framed) {\n var name = _ref3.name,\n type = _ref3.type,\n borderRadius = _ref3.borderRadius,\n bg = _ref3.bg,\n hoverBg = _ref3.hoverBg,\n fontSize = _ref3.fontSize,\n textAlign = _ref3.textAlign,\n linkTextDecoration = _ref3.linkTextDecoration,\n fontColor = _ref3.fontColor,\n hoverFontColor = _ref3.hoverFontColor,\n borderWidth = _ref3.borderWidth,\n borderColor = _ref3.borderColor,\n hoverBorderColor = _ref3.hoverBorderColor,\n padding = _ref3.padding,\n antiAdBlocker = _ref3.antiAdBlocker;\n var style = {\n textDecoration: type === \"link\" ? linkTextDecoration : \"none\",\n borderRadius: +borderRadius,\n cursor: type === \"button\" ? \"pointer\" : undefined,\n backgroundColor: type === \"button\" ? isHover ? hoverBg : bg : undefined,\n fontSize: +fontSize,\n textAlign: textAlign,\n color: isHover ? hoverFontColor : fontColor,\n transition: \"background-color 250ms, color 250ms, border-color 250ms\",\n marginBottom: 10,\n border: type === \"button\" && borderWidth > 0 ? \"\".concat(borderWidth, \"px solid \").concat(isHover ? hoverBorderColor : borderColor) : undefined,\n padding: padding.map(function (p) {\n return \"\".concat(p, \"px\");\n }).join(\" \"),\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n wordBreak: \"keep-all\",\n overflow: \"hidden\",\n outline: framed ? \"rgb(255, 94, 94) solid 5px\" : undefined\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-btn-\".concat(name),\n style: style\n };\n }\n }]);\n\n return BlockerButtonsInlineStyles;\n}();\n\nexport { BlockerButtonsInlineStyles };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useState } from \"react\";\nimport { useBlocker } from \"../../contexts\";\nimport { BlockerButtonsInlineStyles } from \".\";\n\nvar BlockerButton = function BlockerButton(_ref) {\n var inlineStyle = _ref.inlineStyle,\n type = _ref.type,\n onClick = _ref.onClick,\n children = _ref.children,\n framed = _ref.framed;\n\n if (type === \"hide\") {\n return null;\n }\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isHover = _useState2[0],\n setIsHover = _useState2[1];\n\n var banner = useBlocker();\n var interactionAttr = {\n onClick: onClick,\n onMouseEnter: function onMouseEnter() {\n return setIsHover(true);\n },\n onMouseLeave: function onMouseLeave() {\n return setIsHover(false);\n }\n };\n return h(\"div\", _extends({}, type === \"button\" ? interactionAttr : {}, BlockerButtonsInlineStyles[inlineStyle](banner, isHover, framed)), h(\"span\", type === \"link\" ? _objectSpread(_objectSpread({}, interactionAttr), {}, {\n style: {\n cursor: \"pointer\"\n }\n }) : {}, children));\n};\n\nexport { BlockerButton };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n\nvar BlockerGroupsInlineStyles = /*#__PURE__*/function () {\n function BlockerGroupsInlineStyles() {\n _classCallCheck(this, BlockerGroupsInlineStyles);\n }\n\n _createClass(BlockerGroupsInlineStyles, null, [{\n key: \"cookieScroll\",\n value: function cookieScroll(_ref) {\n var fontSize = _ref.design.fontSize,\n _ref$bodyDesign = _ref.bodyDesign,\n descriptionInheritFontSize = _ref$bodyDesign.descriptionInheritFontSize,\n descriptionFontSize = _ref$bodyDesign.descriptionFontSize,\n antiAdBlocker = _ref.customCss.antiAdBlocker;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-cookie-scroll\",\n style: {\n fontSize: descriptionInheritFontSize ? +fontSize : +descriptionFontSize,\n textAlign: \"left\",\n marginBottom: 10,\n maxHeight: 400,\n overflowY: \"scroll\",\n paddingRight: 10\n }\n };\n }\n /**\n * Use `visible` together with `useLayoutEffect` to avoid flickering.\n * This is needed because the SVG icons of ant are a bit flickering.\n */\n\n }, {\n key: \"checkbox\",\n value: function checkbox(_ref2, visible, checked, isDisabled, fontSize) {\n var borderRadius = _ref2.layout.borderRadius,\n _ref2$group = _ref2.group,\n headlineFontSize = _ref2$group.headlineFontSize,\n checkboxBg = _ref2$group.checkboxBg,\n checkboxBorderWidth = _ref2$group.checkboxBorderWidth,\n checkboxBorderColor = _ref2$group.checkboxBorderColor,\n checkboxActiveBg = _ref2$group.checkboxActiveBg,\n checkboxActiveBorderColor = _ref2$group.checkboxActiveBorderColor,\n checkboxActiveColor = _ref2$group.checkboxActiveColor,\n antiAdBlocker = _ref2.customCss.antiAdBlocker;\n var useFontSize = fontSize || headlineFontSize;\n var height = +useFontSize + +checkboxBorderWidth * 2 + 6;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-checkbox\",\n style: {\n cursor: isDisabled ? \"not-allowed\" : \"pointer\",\n opacity: isDisabled ? 0.5 : undefined,\n color: checked ? checkboxActiveColor : checkboxBg,\n display: visible ? \"inline-block\" : \"none\",\n background: checked ? checkboxActiveBg : checkboxBg,\n border: \"\".concat(checkboxBorderWidth, \"px solid \").concat(checked ? checkboxActiveBorderColor : checkboxBorderColor),\n padding: 3,\n height: height,\n width: height,\n marginRight: 10,\n borderRadius: +borderRadius,\n verticalAlign: \"middle\",\n lineHeight: 0\n }\n };\n }\n }, {\n key: \"linkMore\",\n value: function linkMore(_ref3, isHover) {\n var linkTextDecoration = _ref3.design.linkTextDecoration,\n _ref3$group = _ref3.group,\n linkColor = _ref3$group.linkColor,\n linkHoverColor = _ref3$group.linkHoverColor,\n antiAdBlocker = _ref3.customCss.antiAdBlocker;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-group-more\",\n style: {\n color: isHover ? linkHoverColor : linkColor,\n textDecoration: linkTextDecoration\n }\n };\n }\n }, {\n key: \"cookie\",\n value: function cookie(_ref4) {\n var antiAdBlocker = _ref4.customCss.antiAdBlocker;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-cookie\",\n style: {\n marginTop: 10\n }\n };\n }\n }, {\n key: \"cookieProperty\",\n value: function cookieProperty(_ref5) {\n var _ref5$group = _ref5.group,\n groupBorderWidth = _ref5$group.groupBorderWidth,\n groupBorderColor = _ref5$group.groupBorderColor,\n antiAdBlocker = _ref5.customCss.antiAdBlocker;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-cookie-prop\",\n style: {\n borderLeft: groupBorderWidth > 0 ? \"1px solid \".concat(groupBorderColor) : undefined,\n paddingLeft: 15\n }\n };\n }\n }]);\n\n return BlockerGroupsInlineStyles;\n}();\n\nexport { BlockerGroupsInlineStyles };","import _extends from \"@babel/runtime/helpers/extends\";\nimport { BlockerGroupsInlineStyles } from \".\";\nimport { useBlocker } from \"../../contexts\";\nimport { isUrl } from \"../../utils\";\n\nvar BlockerCookieProperty = function BlockerCookieProperty(_ref) {\n var label = _ref.label,\n value = _ref.value,\n children = _ref.children;\n var blocker = useBlocker();\n var isValueUrl = typeof value === \"string\" && isUrl(value);\n var useValue = isValueUrl ? h(\"a\", _extends({\n href: value,\n style: {\n lineBreak: isValueUrl ? \"anywhere\" : undefined\n },\n target: \"_blank\",\n rel: \"noopener noreferrer\"\n }, BlockerGroupsInlineStyles.linkMore(blocker, false)), value) : typeof value === \"string\" ? h(\"span\", {\n dangerouslySetInnerHTML: {\n __html: value\n }\n }) : value;\n return h(\"div\", _extends({\n key: label\n }, BlockerGroupsInlineStyles.cookieProperty(blocker)), h(\"strong\", null, label, \":\\xA0\"), useValue, !!children && h(\"div\", null, children));\n};\n\nexport { BlockerCookieProperty };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useLayoutEffect, useState } from \"react\";\nimport { BlockerGroupsInlineStyles, BlockerCookieProperty } from \".\";\nimport { useBlocker } from \"../../contexts\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { getCookieTypeLocalized, applyDynamics } from \"../../others\"; // eslint-disable-next-line import/no-extraneous-dependencies\n\nimport { PlusOutlined } from \"@ant-design/icons-svg\";\nimport { PlainAntdIconAsSvg } from \"..\";\n\nvar BlockerCookie = function BlockerCookie(_ref) {\n var _ref$cookie = _ref.cookie,\n name = _ref$cookie.name,\n purpose = _ref$cookie.purpose,\n provider = _ref$cookie.provider,\n providerPrivacyPolicy = _ref$cookie.providerPrivacyPolicy,\n ePrivacyUSA = _ref$cookie.ePrivacyUSA,\n noTechnicalDefinitions = _ref$cookie.noTechnicalDefinitions,\n technicalDefinitions = _ref$cookie.technicalDefinitions,\n codeDynamics = _ref$cookie.codeDynamics;\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isRendered = _useState2[0],\n setIsRendered = _useState2[1];\n\n var blocker = useBlocker();\n var isEPrivacyUSA = blocker.ePrivacyUSA,\n descriptionFontSize = blocker.group.descriptionFontSize;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n bannerI18n = _getOtherOptionsFromW.bannerI18n;\n\n var types = getCookieTypeLocalized();\n useLayoutEffect(function () {\n setIsRendered(true);\n }, []);\n return h(\"div\", BlockerGroupsInlineStyles.cookie(blocker), h(\"div\", {\n style: {\n marginBottom: 10\n }\n }, h(PlainAntdIconAsSvg, _extends({\n icon: PlusOutlined\n }, BlockerGroupsInlineStyles.checkbox(blocker, isRendered, true, true, descriptionFontSize))), h(\"strong\", {\n style: {\n verticalAlign: \"middle\"\n }\n }, name)), !!purpose && h(BlockerCookieProperty, {\n label: bannerI18n.purpose,\n value: purpose\n }), h(BlockerCookieProperty, {\n label: bannerI18n.provider,\n value: provider\n }), !!providerPrivacyPolicy && h(BlockerCookieProperty, {\n label: bannerI18n.providerPrivacyPolicy,\n value: providerPrivacyPolicy\n }), !!isEPrivacyUSA && h(BlockerCookieProperty, {\n label: bannerI18n.ePrivacyUSA,\n value: ePrivacyUSA ? bannerI18n.yes : bannerI18n.no\n }), !noTechnicalDefinitions && technicalDefinitions.map(function (_ref2) {\n var type = _ref2.type,\n name = _ref2.name,\n host = _ref2.host,\n duration = _ref2.duration,\n durationUnit = _ref2.durationUnit,\n sessionDuration = _ref2.sessionDuration;\n return h(BlockerCookieProperty, {\n key: name,\n label: bannerI18n.technicalCookieDefinition,\n value: h(\"span\", {\n style: {\n fontFamily: \"monospace\"\n }\n }, applyDynamics(name, codeDynamics))\n }, h(BlockerCookieProperty, {\n label: bannerI18n.type,\n value: types[type].name\n }), !!host && h(BlockerCookieProperty, {\n label: bannerI18n.host,\n value: h(\"span\", {\n style: {\n fontFamily: \"monospace\"\n }\n }, host)\n }), [\"local\", \"session\", \"indexedDb\", \"flash\"].indexOf(type) === -1 && h(BlockerCookieProperty, {\n label: bannerI18n.duration,\n value: sessionDuration ? \"Session\" : \"\".concat(duration, \" \").concat(bannerI18n.durationUnit[durationUnit])\n }));\n }));\n};\n\nexport { BlockerCookie };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { Fragment, useState, useMemo } from \"react\";\nimport { useBlocker } from \"../../contexts\";\nimport { BlockerBodyInlineStyles, BlockerInlineStyles, BlockerButton, BlockerGroupsInlineStyles, BlockerCookie } from \".\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { expandGroupsServiceVariable } from \"../../others\";\nimport { BannerDevHint } from \"../banner\";\n\nvar BlockerBody = function BlockerBody() {\n var blocker = useBlocker();\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n areCookiesVisible = _useState2[0],\n setCookiesVisible = _useState2[1];\n\n var isEPrivacyUSA = blocker.ePrivacyUSA,\n isAgeNotice = blocker.ageNotice,\n teachingsSeparatorActive = blocker.bodyDesign.teachingsSeparatorActive,\n _blocker$decision = blocker.decision,\n acceptAll = _blocker$decision.acceptAll,\n acceptIndividual = _blocker$decision.acceptIndividual,\n _blocker$texts = blocker.texts,\n ePrivacyUSA = _blocker$texts.ePrivacyUSA,\n ageNoticeBlocker = _blocker$texts.ageNoticeBlocker,\n blockerLoadButton = _blocker$texts.blockerLoadButton,\n blockerLinkShowMissing = _blocker$texts.blockerLinkShowMissing,\n blockerAcceptInfo = _blocker$texts.blockerAcceptInfo,\n _blocker$blocker = blocker.blocker,\n description = _blocker$blocker.description,\n cookies = _blocker$blocker.cookies,\n consent = blocker.consent,\n groups = blocker.groups,\n onUnblock = blocker.onUnblock;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n close = _getOtherOptionsFromW.bannerI18n.close; // Calculate missing cookies\n\n\n var missing = useMemo(function () {\n var missing = [];\n var allConsentCookies = [];\n\n for (var _i = 0, _Object$values = Object.values(consent.groups); _i < _Object$values.length; _i++) {\n var _cookies = _Object$values[_i];\n allConsentCookies.push.apply(allConsentCookies, _toConsumableArray(_cookies));\n }\n\n var _iterator = _createForOfIteratorHelper(groups),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var items = _step.value.items;\n\n var _iterator2 = _createForOfIteratorHelper(items),\n _step2;\n\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var cookie = _step2.value;\n\n // Cookie is needed for this blocker? Yes, check if already consent...\n if (cookies.indexOf(cookie.id) > -1 && allConsentCookies.indexOf(cookie.id) === -1) {\n missing.push(cookie);\n }\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n return missing;\n }, [groups, cookies, consent]);\n var useEPrivacyUSA = expandGroupsServiceVariable(groups, // TCF does currently not support visual blockers\n undefined, isEPrivacyUSA ? ePrivacyUSA : \"\", function (_ref) {\n var ePrivacyUSA = _ref.ePrivacyUSA;\n return ePrivacyUSA;\n });\n var showDescriptionContainer = !!description || isEPrivacyUSA || isAgeNotice;\n return h(\"div\", BlockerBodyInlineStyles.bodyContainer(blocker), h(\"div\", BlockerBodyInlineStyles.body(blocker), h(\"div\", BlockerInlineStyles.topSide(blocker), showDescriptionContainer && h(\"div\", BlockerBodyInlineStyles.description(blocker), !!description && h(Fragment, null, h(\"span\", {\n dangerouslySetInnerHTML: {\n __html: description.replace(/\\n/gm, \"
\")\n }\n }), teachingsSeparatorActive && h(\"div\", null, h(\"span\", BlockerBodyInlineStyles.teachingsSeparator(blocker)))), (isEPrivacyUSA || isAgeNotice) && h(Fragment, null, !!useEPrivacyUSA && h(\"span\", _extends({}, BlockerBodyInlineStyles.teaching(blocker), {\n dangerouslySetInnerHTML: {\n __html: useEPrivacyUSA\n }\n })), isAgeNotice && !!ageNoticeBlocker && h(\"span\", _extends({}, BlockerBodyInlineStyles.teaching(blocker), {\n dangerouslySetInnerHTML: {\n __html: ageNoticeBlocker\n }\n })))), h(BlockerButton, {\n type: acceptIndividual === \"hide\" ? \"link\" : acceptIndividual,\n inlineStyle: \"showInfo\",\n onClick: function onClick() {\n return setCookiesVisible(!areCookiesVisible);\n }\n }, areCookiesVisible ? close : blockerLinkShowMissing), areCookiesVisible && h(\"div\", BlockerGroupsInlineStyles.cookieScroll(blocker), missing.map(function (cookie) {\n return h(BlockerCookie, {\n key: cookie.id,\n cookie: cookie\n });\n })), h(\"div\", _extends({}, BlockerInlineStyles.infoText(blocker), {\n dangerouslySetInnerHTML: {\n __html: blockerAcceptInfo\n }\n }))), h(\"div\", BlockerInlineStyles.bottomSide(blocker), h(BlockerButton, {\n type: acceptAll === \"hide\" ? \"button\" : acceptAll,\n inlineStyle: \"save\",\n onClick: function onClick() {\n return onUnblock();\n }\n }, blockerLoadButton), h(BannerDevHint, null))));\n};\n\nexport { BlockerBody };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n\nvar BlockerFooterInlineStyles = /*#__PURE__*/function () {\n function BlockerFooterInlineStyles() {\n _classCallCheck(this, BlockerFooterInlineStyles);\n }\n\n _createClass(BlockerFooterInlineStyles, null, [{\n key: \"footerContainer\",\n value: function footerContainer(_ref) {\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n dialogBorderRadius = _ref$layout.dialogBorderRadius,\n design = _ref.design,\n _ref$footerDesign = _ref.footerDesign,\n inheritBg = _ref$footerDesign.inheritBg,\n bg = _ref$footerDesign.bg,\n inheritTextAlign = _ref$footerDesign.inheritTextAlign,\n textAlign = _ref$footerDesign.textAlign,\n padding = _ref$footerDesign.padding,\n fontSize = _ref$footerDesign.fontSize,\n fontColor = _ref$footerDesign.fontColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker;\n var style = {\n padding: padding.map(function (p) {\n return \"\".concat(p, \"px\");\n }).join(\" \"),\n background: inheritBg ? design.bg : bg,\n borderRadius: type === \"dialog\" ? \"0 0 \".concat(dialogBorderRadius, \"px \").concat(dialogBorderRadius, \"px\") : undefined,\n fontSize: +fontSize,\n color: fontColor,\n textAlign: inheritTextAlign ? design.textAlign : textAlign\n };\n\n if (type === \"dialog\" && design.borderWidth > 0) {\n style.borderBottom = \"\".concat(design.borderWidth, \"px solid \").concat(design.borderColor);\n style.borderLeft = style.borderBottom;\n style.borderRight = style.borderBottom;\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-footer-container\",\n style: style\n };\n }\n }, {\n key: \"footer\",\n value: function footer(_ref2) {\n var antiAdBlocker = _ref2.customCss.antiAdBlocker;\n var style = {\n margin: \"auto\",\n lineHeight: 1.8\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-footer\",\n style: style\n };\n }\n }, {\n key: \"footerSeparator\",\n value: function footerSeparator(_ref3) {\n var type = _ref3.layout.type,\n design = _ref3.design,\n _ref3$footerDesign = _ref3.footerDesign,\n borderWidth = _ref3$footerDesign.borderWidth,\n borderColor = _ref3$footerDesign.borderColor,\n antiAdBlocker = _ref3.customCss.antiAdBlocker;\n var style = {\n height: +borderWidth,\n background: borderColor\n };\n\n if (type === \"dialog\" && design.borderWidth > 0) {\n style.borderLeft = \"\".concat(design.borderWidth, \"px solid \").concat(design.borderColor);\n style.borderRight = style.borderLeft;\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-footer-separator\",\n style: style\n };\n }\n }, {\n key: \"footerLink\",\n value: function footerLink(_ref4) {\n var _ref4$footerDesign = _ref4.footerDesign,\n fontSize = _ref4$footerDesign.fontSize,\n fontColor = _ref4$footerDesign.fontColor,\n hoverFontColor = _ref4$footerDesign.hoverFontColor,\n fontInheritFamily = _ref4$footerDesign.fontInheritFamily,\n fontFamily = _ref4$footerDesign.fontFamily,\n linkTextDecoration = _ref4.design.linkTextDecoration,\n antiAdBlocker = _ref4.customCss.antiAdBlocker;\n var alignRight = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var isHover = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n var style = {\n textDecoration: linkTextDecoration,\n fontSize: +fontSize,\n color: isHover ? hoverFontColor : fontColor,\n fontFamily: fontInheritFamily ? undefined : fontFamily,\n padding: \"0 5px\",\n float: alignRight ? \"right\" : undefined\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-footer-link\",\n style: style\n };\n }\n }]);\n\n return BlockerFooterInlineStyles;\n}();\n\nexport { BlockerFooterInlineStyles };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport { useState } from \"react\";\nimport { BlockerFooterInlineStyles } from \"./inlineStyles\";\nimport { useBlocker } from \"../../contexts\";\n\nvar BlockerFooterLink = function BlockerFooterLink(_ref) {\n var children = _ref.children,\n alignRight = _ref.alignRight,\n anchorRest = _objectWithoutProperties(_ref, [\"children\", \"alignRight\"]);\n\n var blocker = useBlocker();\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isHover = _useState2[0],\n setIsHover = _useState2[1];\n\n return h(\"a\", _extends({\n onMouseEnter: function onMouseEnter() {\n return setIsHover(true);\n },\n onMouseLeave: function onMouseLeave() {\n return setIsHover(false);\n }\n }, BlockerFooterInlineStyles.footerLink(blocker, alignRight, isHover), anchorRest), children);\n};\n\nexport { BlockerFooterLink };","import _extends from \"@babel/runtime/helpers/extends\";\nimport { Fragment } from \"react\";\nimport { useBlocker } from \"../../contexts\";\nimport { BlockerFooterInlineStyles, BlockerFooterLink } from \".\";\nimport { getOtherOptionsFromWindow, jsxJoin } from \"../../utils\";\nimport { BannerTooltip } from \"../banner\";\nimport { usePageIdToPermalinkMapLink } from \"../../hooks\";\n\nvar BlockerFooter = function BlockerFooter() {\n var blocker = useBlocker();\n var _blocker$legal = blocker.legal,\n privacyPolicy = _blocker$legal.privacyPolicy,\n privacyPolicyLabel = _blocker$legal.privacyPolicyLabel,\n imprint = _blocker$legal.imprint,\n imprintLabel = _blocker$legal.imprintLabel,\n _blocker$footerDesign = blocker.footerDesign,\n poweredByLink = _blocker$footerDesign.poweredByLink,\n linkTarget = _blocker$footerDesign.linkTarget,\n poweredLink = blocker.poweredLink;\n var targetAttributes = linkTarget === \"_blank\" ? {\n target: \"_blank\",\n rel: \"noopener\"\n } : {};\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n isPro = _getOtherOptionsFromW.isPro,\n affiliate = _getOtherOptionsFromW.affiliate;\n\n var linkImprint = usePageIdToPermalinkMapLink(imprint);\n var linkPrivacyPolicy = usePageIdToPermalinkMapLink(privacyPolicy);\n var links = jsxJoin([!!privacyPolicyLabel && h(BlockerFooterLink, _extends({\n href: linkPrivacyPolicy\n }, targetAttributes, {\n key: \"privacyPolicy\"\n }), privacyPolicyLabel), !!imprintLabel && h(BlockerFooterLink, _extends({\n href: linkImprint\n }, targetAttributes, {\n key: \"imprint\"\n }), imprintLabel)], h(Fragment, null, \" \\u2022 \"));\n return h(\"div\", BlockerFooterInlineStyles.footerContainer(blocker), h(\"div\", BlockerFooterInlineStyles.footer(blocker), links, !!poweredLink && (poweredByLink || !isPro) && h(Fragment, null, links !== null && h(\"br\", null), h(BlockerFooterLink, {\n href: affiliate ? affiliate.link : poweredLink.href,\n target: poweredLink.target\n }, h(\"span\", {\n dangerouslySetInnerHTML: {\n __html: poweredLink.innerHTML\n }\n }), affiliate && h(BannerTooltip, {\n title: affiliate.description\n }, \" \", affiliate.labelBehind)), \" \")));\n};\n\nexport { BlockerFooter };","import { useBlocker } from \"../../contexts\";\nimport { BlockerContentInlineStyles, BlockerHeaderInlineStyles, BlockerFooterInlineStyles, BlockerFooter, BlockerHeader, BlockerBody } from \".\";\n\nvar Blocker = function Blocker() {\n var blocker = useBlocker();\n return h(\"div\", BlockerContentInlineStyles.inner(blocker), h(\"div\", BlockerContentInlineStyles.content(blocker), h(BlockerHeader, null), h(\"div\", BlockerHeaderInlineStyles.headerSeparator(blocker)), h(BlockerBody, null), h(\"div\", BlockerFooterInlineStyles.footerSeparator(blocker)), h(BlockerFooter, null)));\n};\n\nexport { Blocker };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { getUserDecision } from \"../getUserDecision\";\nimport { applyConsent } from \"../applyConsent\";\nimport { getCurrentTcfStringFromCookie } from \"../../tcf\";\n/**\n * When a content blocker needs to be unblocked (user click), then\n * we need to get the current consent, and add the newly consent cookies.\n */\n\nfunction adjustConsentComingFromContentBlocker(_x) {\n return _adjustConsentComingFromContentBlocker.apply(this, arguments);\n}\n\nfunction _adjustConsentComingFromContentBlocker() {\n _adjustConsentComingFromContentBlocker = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(blocker) {\n var _getOtherOptionsFromW, essentialGroup, groups, isTcf, currentDecision, _groups$filter, _groups$filter2, essentialGroupObj, newConsent, _iterator, _step, _step$value, groupId, items, _iterator2, _step2, cookieId, _newConsent$groups$gr, tcfString, _getCurrentTcfStringF;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n // Get all available groups + current decision\n _getOtherOptionsFromW = getOtherOptionsFromWindow(), essentialGroup = _getOtherOptionsFromW.essentialGroup, groups = _getOtherOptionsFromW.groups, isTcf = _getOtherOptionsFromW.isTcf;\n currentDecision = getUserDecision();\n _groups$filter = groups.filter(function (_ref) {\n var slug = _ref.slug;\n return slug === essentialGroup;\n }), _groups$filter2 = _slicedToArray(_groups$filter, 1), essentialGroupObj = _groups$filter2[0]; // Prepare new consent\n\n newConsent = currentDecision === false ? {\n // The website owner uses a banner without overlay and content gets unblocked\n // We need to make sure, that also essential cookies got accepted\n groups: _defineProperty({}, essentialGroupObj.id, essentialGroupObj.items.map(function (_ref2) {\n var id = _ref2.id;\n return id;\n }))\n } : {\n groups: currentDecision.consent\n };\n _iterator = _createForOfIteratorHelper(groups);\n _context.prev = 5;\n\n _iterator.s();\n\n case 7:\n if ((_step = _iterator.n()).done) {\n _context.next = 31;\n break;\n }\n\n _step$value = _step.value, groupId = _step$value.id, items = _step$value.items;\n _iterator2 = _createForOfIteratorHelper(items);\n _context.prev = 10;\n\n _iterator2.s();\n\n case 12:\n if ((_step2 = _iterator2.n()).done) {\n _context.next = 21;\n break;\n }\n\n cookieId = _step2.value.id;\n\n if (!(blocker.cookies.indexOf(cookieId) > -1)) {\n _context.next = 19;\n break;\n }\n\n if (!(((_newConsent$groups$gr = newConsent.groups[groupId]) === null || _newConsent$groups$gr === void 0 ? void 0 : _newConsent$groups$gr.indexOf(cookieId)) > -1)) {\n _context.next = 17;\n break;\n }\n\n return _context.abrupt(\"continue\", 19);\n\n case 17:\n newConsent.groups[groupId] = newConsent.groups[groupId] || [];\n newConsent.groups[groupId].push(cookieId);\n\n case 19:\n _context.next = 12;\n break;\n\n case 21:\n _context.next = 26;\n break;\n\n case 23:\n _context.prev = 23;\n _context.t0 = _context[\"catch\"](10);\n\n _iterator2.e(_context.t0);\n\n case 26:\n _context.prev = 26;\n\n _iterator2.f();\n\n return _context.finish(26);\n\n case 29:\n _context.next = 7;\n break;\n\n case 31:\n _context.next = 36;\n break;\n\n case 33:\n _context.prev = 33;\n _context.t1 = _context[\"catch\"](5);\n\n _iterator.e(_context.t1);\n\n case 36:\n _context.prev = 36;\n\n _iterator.f();\n\n return _context.finish(36);\n\n case 39:\n if (process.env.IS_TCF === \"1\" && isTcf) {\n tcfString = (_getCurrentTcfStringF = getCurrentTcfStringFromCookie()) === null || _getCurrentTcfStringF === void 0 ? void 0 : _getCurrentTcfStringF.tcfString;\n }\n\n _context.next = 42;\n return applyConsent({\n consent: newConsent,\n buttonClicked: \"unblock\",\n blocker: blocker.id,\n tcfString: tcfString\n });\n\n case 42:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, null, [[5, 33, 36, 39], [10, 23, 26, 29]]);\n }));\n return _adjustConsentComingFromContentBlocker.apply(this, arguments);\n}\n\nexport { adjustConsentComingFromContentBlocker };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useState } from \"react\";\nimport { getOtherOptionsFromWindow } from \"../utils\";\nimport { BlockerContextFactory } from \"../contexts\";\nimport { Blocker } from \".\";\nimport { adjustConsentComingFromContentBlocker, getUserDecision } from \"../others\";\n/**\n * Save the identifier for the last clicked content blocker so we can\n * dispatch in our event if it is the clicked one. This is useful e.g.\n * to delegate the click event further and start a video.\n */\n\nvar BLOCKER_LAST_CLICKED_CONNECTED_COUNTER = {\n count: undefined\n};\n/**\n * Simply connects a context store to the blocker itself. On the website itself\n * it should not rely\n */\n\nvar WebsiteBlocker = function WebsiteBlocker(_ref) {\n var poweredLink = _ref.poweredLink,\n blocker = _ref.blocker,\n connectedCounter = _ref.connectedCounter;\n var userDecision = getUserDecision();\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n _getOtherOptionsFromW2 = _getOtherOptionsFromW.customizeValuesBanner,\n layout = _getOtherOptionsFromW2.layout,\n decision = _getOtherOptionsFromW2.decision,\n legal = _getOtherOptionsFromW2.legal,\n design = _getOtherOptionsFromW2.design,\n headerDesign = _getOtherOptionsFromW2.headerDesign,\n bodyDesign = _getOtherOptionsFromW2.bodyDesign,\n footerDesign = _getOtherOptionsFromW2.footerDesign,\n texts = _getOtherOptionsFromW2.texts,\n individualLayout = _getOtherOptionsFromW2.individualLayout,\n saveButton = _getOtherOptionsFromW2.saveButton,\n group = _getOtherOptionsFromW2.group,\n individualTexts = _getOtherOptionsFromW2.individualTexts,\n customCss = _getOtherOptionsFromW2.customCss,\n pageIdToPermalink = _getOtherOptionsFromW.pageIdToPermalink,\n consentForwardingExternalHosts = _getOtherOptionsFromW.consentForwardingExternalHosts,\n isTcf = _getOtherOptionsFromW.isTcf,\n isEPrivacyUSA = _getOtherOptionsFromW.isEPrivacyUSA,\n isAgeNotice = _getOtherOptionsFromW.isAgeNotice,\n groups = _getOtherOptionsFromW.groups; // Calculate a border color for the complete box as the standard box does not have one configured\n\n\n var overwriteDesign = {\n borderWidth: design.borderWidth || 1,\n borderColor: design.borderWidth === 0 ? headerDesign.borderWidth > 0 ? headerDesign.borderColor : footerDesign.borderWidth > 0 ? footerDesign.borderColor : design.fontColor : design.borderColor\n }; // Context values preparation\n\n var _useState = useState({\n layout: _objectSpread({}, layout),\n decision: _objectSpread({}, decision),\n legal: _objectSpread({}, legal),\n design: _objectSpread(_objectSpread({}, design), overwriteDesign),\n headerDesign: _objectSpread({}, headerDesign),\n bodyDesign: _objectSpread({}, bodyDesign),\n footerDesign: _objectSpread({}, footerDesign),\n texts: _objectSpread({}, texts),\n individualLayout: _objectSpread({}, individualLayout),\n saveButton: _objectSpread({}, saveButton),\n group: _objectSpread({}, group),\n individualTexts: _objectSpread({}, individualTexts),\n customCss: _objectSpread({}, customCss),\n pageIdToPermalink: pageIdToPermalink,\n consentForwardingExternalHosts: consentForwardingExternalHosts,\n groups: groups,\n poweredLink: poweredLink,\n isTcf: isTcf,\n ePrivacyUSA: isEPrivacyUSA,\n ageNotice: isAgeNotice,\n blocker: blocker,\n consent: {\n groups: _objectSpread({}, userDecision === false ? {} : userDecision.consent)\n },\n onUnblock: function onUnblock() {\n adjustConsentComingFromContentBlocker(blocker);\n BLOCKER_LAST_CLICKED_CONNECTED_COUNTER.count = connectedCounter;\n }\n }),\n _useState2 = _slicedToArray(_useState, 1),\n contextValue = _useState2[0];\n\n var BlockerContext = BlockerContextFactory.Context();\n return h(BlockerContext.Provider, {\n value: contextValue\n }, h(Blocker, null));\n};\n\nexport { WebsiteBlocker, BLOCKER_LAST_CLICKED_CONNECTED_COUNTER };","/**\n * Get previous HTML element which is visible.\n *\n * @see https://stackoverflow.com/a/31207879/5506547\n * @see https://stackoverflow.com/a/21696585/5506547\n */\nfunction getPreviousVisibleElement(node) {\n function prevAll(element) {\n var result = [];\n\n while (element = element.previousElementSibling) {\n result.push(element);\n }\n\n return result;\n }\n\n var previousVisible = prevAll(node).filter(function (e) {\n return e.offsetParent;\n });\n return previousVisible.length ? previousVisible[0] : undefined;\n}\n\nexport { getPreviousVisibleElement };","import { calculate } from \"specificity\";\nimport { priorityByRule } from \".\";\n\nfunction calculateScore(rule, stackSize, property) {\n var score = +calculate(rule.selectorText)[0].specificity.replace(/,/g, \"\");\n var specificity = stackSize + score * 10 + priorityByRule(rule, property);\n return {\n selector: rule.selectorText,\n specificity: specificity\n };\n}\n\nexport { calculateScore };","function priorityByRule(rule, property) {\n var _rule$style;\n\n return ((_rule$style = rule.style) === null || _rule$style === void 0 ? void 0 : _rule$style.getPropertyPriority(property)) === \"important\" ? 100000 : 0;\n}\n\nexport { priorityByRule };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport { calculateScore } from \".\";\nimport { matchingSelector } from \".\";\n\nfunction iterateRules(rules, element, scoresPool, property) {\n for (var ruleIdx in rules) {\n var rule = rules[ruleIdx];\n\n if (!(rule instanceof CSSStyleRule)) {\n continue;\n }\n\n try {\n if (matchingSelector(element, rule.selectorText)) {\n var style = rule.style[property];\n\n if (style !== undefined && style !== \"\") {\n scoresPool.push(_objectSpread(_objectSpread({}, calculateScore(rule, scoresPool.length, property)), {}, {\n style: style\n }));\n }\n }\n } catch (e) {// Silence is golden.\n }\n }\n}\n\nexport { iterateRules };","import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nvar RESET_PARENT_HTML_ATTRIBUTE = \"consent-cb-reset-parent\";\nvar RESET_PARENT_HTML_ATTRIBUTE_VALUE = \"1\";\nvar KNOWN_RATIO_CLASSES = {\n // Elementor\n asSuffix: \"-fit-aspect-ratio\",\n // Gutenberg\n gutenberg: \"wp-block-embed__wrapper\",\n // Cornerstone\n cornerstone: \"x-frame-inner\"\n};\n/**\n * In some cases it is necessary to reset some styles which are not resettable through\n * the `style` attribute. E.g. pseudo-classes like `::before` and `::after`.\n */\n\nfunction applyContentBlockRatioCssPlainCss() {\n var element = document.createElement(\"style\");\n element.style.type = \"text/css\";\n document.getElementsByTagName(\"head\")[0].appendChild(element);\n var attribute = \"\".concat(RESET_PARENT_HTML_ATTRIBUTE, \"=\\\"\").concat(RESET_PARENT_HTML_ATTRIBUTE_VALUE, \"\\\"\");\n var rules = [].concat(_toConsumableArray([// Thrive Architect\n \".thrv_wrapper[\".concat(attribute, \"]\"), // Ultimate Video (WP Bakery Page Builder)\n \".ultv-video__outer-wrap[\".concat(attribute, \"]\")].map(function (s) {\n return \"\".concat(s, \"::before{display:none!important;}\");\n })), _toConsumableArray([// JetElements for Elementor\n \".jet-video[\".concat(attribute, \"]>.jet-video__overlay\"), // Divi Page Builder\n \".et_pb_video[\".concat(attribute, \"]>.et_pb_video_overlay\"), // Ultimate Video (WP Bakery Page Builder)\n \".ult-video[\".concat(attribute, \"]>.ultv-video\"), // Astra Theme (Gutenberg Block)\n \".wp-block-embed__wrapper[\".concat(attribute, \"]>.ast-oembed-container\")].map(function (s) {\n return \"\".concat(s, \"{display:none!important;}\");\n })), [// Other rules: If you add a similar one, please merge to an array!\n // Gutenberg\n \".wp-block-embed__wrapper[\".concat(attribute, \"]::before{padding-top:0!important;}\"), // Thrive Architect\n \".tve_responsive_video_container[\".concat(attribute, \"]{padding-bottom:0!important;}\"), // JetElements for Elementor\n \".jet-video[\".concat(attribute, \"]{background:none!important;}\")]);\n element.innerHTML = rules.join(\"\");\n}\n\nexport { applyContentBlockRatioCssPlainCss, RESET_PARENT_HTML_ATTRIBUTE, RESET_PARENT_HTML_ATTRIBUTE_VALUE, KNOWN_RATIO_CLASSES };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport { resolveNoneComputedStyle } from \"@devowl-wp/resolve-none-computed-style\";\nimport { HTML_ATTRIBUTE_WAS_PREVIOUSLY_STRICT_HIDDEN } from \".\";\nimport { KNOWN_RATIO_CLASSES, RESET_PARENT_HTML_ATTRIBUTE, RESET_PARENT_HTML_ATTRIBUTE_VALUE } from \"..\";\nvar RESET_STYLE = {\n height: \"auto\",\n padding: 0\n};\nvar MEMORIZE_OLD_STYLE = \"consent-cb-memo-style\";\n/**\n * Modify parent element with some styles, e. g. Elementor puts some padding into it.\n * We need to enforce the style via inline-style because some themes use `!important` in their\n * classes, too.\n *\n * @param state If `true`, the reset-style will be forced and vice-versa\n */\n\nfunction probablyResetParentContainerForContentBlocker(contentBlocker, state) {\n var _parentElement$parent;\n\n var parentElement = contentBlocker.parentElement;\n var iterateParents = [parentElement, parentElement === null || parentElement === void 0 ? void 0 : parentElement.parentElement, parentElement === null || parentElement === void 0 ? void 0 : (_parentElement$parent = parentElement.parentElement) === null || _parentElement$parent === void 0 ? void 0 : _parentElement$parent.parentElement].filter(Boolean); // Go max three levels upwards\n\n var _iterator = _createForOfIteratorHelper(iterateParents),\n _step;\n\n try {\n var _loop = function _loop() {\n var parent = _step.value;\n var foundRatioClass = Object.values(KNOWN_RATIO_CLASSES).filter(function (c) {\n return parent.className.indexOf(c) > -1;\n }).length > 0;\n\n if (state && (foundRatioClass || [0, \"0%\", \"0px\"].indexOf(resolveNoneComputedStyle(parent, \"height\")) > -1)) {\n // Check the `display:none!important` style\n var previouslyStrictHidden = parent.hasAttribute(HTML_ATTRIBUTE_WAS_PREVIOUSLY_STRICT_HIDDEN);\n var style = parent.getAttribute(\"style\") || \"\";\n parent.removeAttribute(HTML_ATTRIBUTE_WAS_PREVIOUSLY_STRICT_HIDDEN);\n\n if (!previouslyStrictHidden) {\n style = style.replace(/display:\\s*none\\s*!important;/, \"\");\n } // Apply our new styles with memorization\n\n\n parent.setAttribute(RESET_PARENT_HTML_ATTRIBUTE, RESET_PARENT_HTML_ATTRIBUTE_VALUE);\n parent.setAttribute(MEMORIZE_OLD_STYLE, style);\n\n for (var property in RESET_STYLE) {\n parent.style.setProperty(property, RESET_STYLE[property], \"important\");\n } // Special use case: Positioning\n\n\n if (window.getComputedStyle(parent).position === \"absolute\") {\n parent.style.setProperty(\"position\", \"static\", \"important\");\n }\n } else if (!state) {\n parent.setAttribute(\"style\", parent.getAttribute(MEMORIZE_OLD_STYLE) || \"\");\n parent.removeAttribute(MEMORIZE_OLD_STYLE);\n parent.removeAttribute(RESET_PARENT_HTML_ATTRIBUTE);\n }\n };\n\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n _loop();\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n}\n\nexport { probablyResetParentContainerForContentBlocker };","import { resolveScorePool } from \"./resolveScorePool\";\n\nfunction resolveNoneComputedStyle(element, property) {\n var scores = resolveScorePool(element, property);\n return scores === null || scores === void 0 ? void 0 : scores[0].style;\n}\n\nexport * from \"./calculateInlineScore\";\nexport * from \"./calculateScore\";\nexport * from \"./iterateRules\";\nexport * from \"./iterateStylesheets\";\nexport * from \"./matchingSelector\";\nexport * from \"./priorityByRule\";\nexport * from \"./sortScores\";\nexport * from \"./resolveScorePool\";\nexport { resolveNoneComputedStyle };","import { calculateInlineScore, iterateStylesheets, sortScores } from \".\";\n\nfunction resolveScorePool(element, property) {\n var scores = []; // Iterate all our stylesheets\n\n iterateStylesheets(element, scores, property); // Calculate by inline style\n\n var inline = calculateInlineScore(element, property);\n inline && scores.push(inline); // Prepare result\n\n if (!scores.length) {\n return undefined;\n } // Sort scores\n\n\n sortScores(scores);\n return scores;\n}\n\nexport { resolveScorePool };","import { iterateRules } from \".\";\n\nfunction iterateStylesheets(element, scores, property) {\n var _document = document,\n styleSheets = _document.styleSheets;\n\n for (var styleSheetIdx in styleSheets) {\n var styleSheet = styleSheets[styleSheetIdx];\n var rules = void 0;\n\n try {\n rules = styleSheet.cssRules || styleSheet.rules;\n } catch (e) {\n // Rules could not be read, e.g. CORS policy (https://stackoverflow.com/a/49994161/5506547)\n continue;\n }\n\n if (!rules) {\n continue;\n }\n\n iterateRules(rules, element, scores, property);\n }\n}\n\nexport { iterateStylesheets };","function calculateInlineScore(element, property) {\n var inline = element.style[property];\n return inline ? {\n selector: \"! undefined !\",\n specificity: 10000 + (new String(inline).match(/\\s!important/gi) ? 100000 : 0),\n style: inline\n } : undefined;\n}\n\nexport { calculateInlineScore };","function sortScores(scores) {\n scores.sort(function (a, b) {\n if (a.specificity > b.specificity) {\n return -1;\n }\n\n if (a.specificity < b.specificity) {\n return 1;\n }\n\n return 0;\n });\n}\n\nexport { sortScores };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { HTML_ATTRIBUTE_BLOCKER_CONNECTED } from \".\";\nimport { render } from \"react-dom\";\nimport { WebsiteBlocker } from \"../../components\";\nimport { getSsrPoweredByLink } from \"..\";\nimport { getOtherOptionsFromWindow, getPreviousVisibleElement } from \"../../utils\";\nimport { probablyResetParentContainerForContentBlocker, findVisualParentForContentBlocker, HTML_ATTRIBUTE_BLOCKER_ID, HTML_ATTRIBUTE_INLINE, HTML_ATTRIBUTE_INLINE_STYLE } from \".\";\nvar connectedCounter = 0;\nexport var HTML_ATTRIBUTE_WAS_PREVIOUSLY_STRICT_HIDDEN = \"consent-strict-hidden\";\n/**\n * Create visual content blocker for a given node.\n */\n\nfunction createContentBlocker(_ref) {\n var _node$style, _createBefore$parentE, _createBefore$parentE2, _createBefore$parentE3, _secondParentPrevious;\n\n var node = _ref.node,\n blocker = _ref.blocker;\n // Visual content blockers are only allowed for \"real\" content\n var isPositioned = [\"fixed\", \"absolute\", \"sticky\"].indexOf((_node$style = node.style) === null || _node$style === void 0 ? void 0 : _node$style.position) > -1;\n var isNotInContent = [document.body, document.head, document.querySelector(\"html\")].indexOf(node.parentElement) > -1;\n var isAlreadyConnected = node.getAttribute(HTML_ATTRIBUTE_BLOCKER_CONNECTED);\n\n var _findVisualParentForC = findVisualParentForContentBlocker(node),\n _findVisualParentForC2 = _slicedToArray(_findVisualParentForC, 2),\n createBefore = _findVisualParentForC2[0],\n visualParentMode = _findVisualParentForC2[1];\n\n var isInlineScriptOrStyle = createBefore.hasAttribute(HTML_ATTRIBUTE_INLINE) || createBefore.hasAttribute(HTML_ATTRIBUTE_INLINE_STYLE); // Always hide elements (again) if no visual blocker is possible (get) and memorize\n // the \"!important\" state so we can correctly reset it in `probablyResetParentContainerForContentBlocker`\n\n var fnStrictHide = function fnStrictHide() {\n if ([\"script\", \"link\"].indexOf(node === null || node === void 0 ? void 0 : node.tagName.toLowerCase()) === -1 && visualParentMode !== \"childrenSelector\") {\n var style = node.style;\n\n if (style.getPropertyValue(\"display\") === \"none\" && style.getPropertyPriority(\"display\") === \"important\") {\n node.setAttribute(HTML_ATTRIBUTE_WAS_PREVIOUSLY_STRICT_HIDDEN, \"1\");\n } else {\n style.setProperty(\"display\", \"none\", \"important\");\n }\n }\n };\n\n if (isNotInContent || isPositioned || !(blocker !== null && blocker !== void 0 && blocker.visual) || isAlreadyConnected || !isInlineScriptOrStyle && !createBefore.offsetParent && !blocker.forceHidden) {\n fnStrictHide();\n return;\n }\n\n var container = document.createElement(\"div\"); // Avoid duplicate visual blockers and connect them\n\n var previousElementSibling = createBefore.previousElementSibling;\n var firstParentPreviousElementSibling = (_createBefore$parentE = createBefore.parentElement) === null || _createBefore$parentE === void 0 ? void 0 : _createBefore$parentE.previousElementSibling;\n var secondParentPreviousElementSibling = (_createBefore$parentE2 = createBefore.parentElement) === null || _createBefore$parentE2 === void 0 ? void 0 : (_createBefore$parentE3 = _createBefore$parentE2.parentElement) === null || _createBefore$parentE3 === void 0 ? void 0 : _createBefore$parentE3.previousElementSibling;\n var possibleDuplicates = [getPreviousVisibleElement(createBefore), previousElementSibling, previousElementSibling === null || previousElementSibling === void 0 ? void 0 : previousElementSibling.lastElementChild, // 1st parent up\n firstParentPreviousElementSibling, firstParentPreviousElementSibling === null || firstParentPreviousElementSibling === void 0 ? void 0 : firstParentPreviousElementSibling.lastElementChild, // 2nd parent up\n secondParentPreviousElementSibling, secondParentPreviousElementSibling === null || secondParentPreviousElementSibling === void 0 ? void 0 : secondParentPreviousElementSibling.lastElementChild, secondParentPreviousElementSibling === null || secondParentPreviousElementSibling === void 0 ? void 0 : (_secondParentPrevious = secondParentPreviousElementSibling.lastElementChild) === null || _secondParentPrevious === void 0 ? void 0 : _secondParentPrevious.lastElementChild].filter(Boolean) // Get previous visible element if the last child element is not visible\n .map(function (element) {\n return element.offsetParent ? element : getPreviousVisibleElement(element);\n }).filter(Boolean);\n\n var _iterator = _createForOfIteratorHelper(possibleDuplicates),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var possibleDuplicate = _step.value;\n\n if (+possibleDuplicate.getAttribute(HTML_ATTRIBUTE_BLOCKER_ID) === blocker.id && possibleDuplicate.hasAttribute(HTML_ATTRIBUTE_BLOCKER_CONNECTED)) {\n node.setAttribute(HTML_ATTRIBUTE_BLOCKER_CONNECTED, possibleDuplicate.getAttribute(HTML_ATTRIBUTE_BLOCKER_CONNECTED));\n fnStrictHide();\n return;\n }\n } // Connect blocker with blocked node\n\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n container.setAttribute(HTML_ATTRIBUTE_BLOCKER_CONNECTED, connectedCounter.toString());\n container.setAttribute(HTML_ATTRIBUTE_BLOCKER_ID, blocker.id.toString());\n container.className = \"rcb-content-blocker\";\n node.setAttribute(HTML_ATTRIBUTE_BLOCKER_CONNECTED, connectedCounter.toString());\n createBefore.parentNode.insertBefore(container, createBefore); // Do not translate this content blocker with an output buffer plugin like TranslatePress or Weglot\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n multilingualSkipHTMLForTag = _getOtherOptionsFromW.multilingualSkipHTMLForTag;\n\n if (multilingualSkipHTMLForTag) {\n container.setAttribute(multilingualSkipHTMLForTag, \"1\");\n } // Hide our element and render content blocker\n\n\n (visualParentMode === \"childrenSelector\" ? createBefore : node).style.setProperty(\"display\", \"none\", \"important\");\n render(h(WebsiteBlocker, {\n poweredLink: getSsrPoweredByLink(),\n blocker: blocker,\n connectedCounter: connectedCounter\n }), container);\n connectedCounter++;\n probablyResetParentContainerForContentBlocker(createBefore, true);\n}\n\nexport { createContentBlocker };","import { OPT_IN_CONTENT_BLOCKER_ALL } from \"../../types\";\nvar overwritten = false;\n/**\n * Overwrite `jQuery(fn)` as they can not be triggered by our script blocker.\n *\n * @see https://api.jquery.com/ready/\n */\n\nfunction applyJQueryInitiator(doc) {\n // Only overwrite once\n if (overwritten) {\n return;\n }\n\n var _ref = doc.defaultView || doc.parentWindow,\n jQuery = _ref.jQuery;\n\n if (!jQuery) {\n return;\n }\n\n var originalFn = jQuery.fn.ready;\n\n jQuery.fn.ready = function (fn) {\n if (fn) {\n var executed = false;\n document.addEventListener(OPT_IN_CONTENT_BLOCKER_ALL, function () {\n // IE does not support the `once` option\n if (executed) {\n return;\n }\n\n executed = true; // Redirect to own thread to avoid variable order lacks (e. g. Uncode Gmaps Integration, Contact Form 7\n\n setTimeout(function () {\n fn(jQuery);\n }, 0);\n });\n }\n\n return originalFn(function () {// Silence is golden.\n });\n };\n\n overwritten = true;\n}\n\nexport { applyJQueryInitiator };","import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport { OPT_IN_CONTENT_BLOCKER_ALL } from \"../../types\";\nvar OVERWRITE_PROPERTY = \"rcbNativeEventListener\";\n/**\n * Overwrite `window.addEventListener('load')` as they can not be triggered by our script blocker.\n * This can also be used for other known events.\n */\n\nfunction applyNativeEventListener(element, eventName) {\n var _Object$assign;\n\n var overwriteProp = \"\".concat(OVERWRITE_PROPERTY, \"_\").concat(eventName); // Only overwrite once\n\n if (element[overwriteProp]) {\n return;\n }\n\n var _addEventListener = element.addEventListener;\n Object.assign(element, (_Object$assign = {}, _defineProperty(_Object$assign, overwriteProp, true), _defineProperty(_Object$assign, \"addEventListener\", function addEventListener(type) {\n for (var _len = arguments.length, rest = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n rest[_key - 1] = arguments[_key];\n }\n\n if (type === eventName) {\n var executed = false;\n document.addEventListener(OPT_IN_CONTENT_BLOCKER_ALL, function () {\n // IE does not support the `once` option\n if (executed) {\n return;\n }\n\n executed = true; // Redirect to own thread to avoid variable order lacks (e. g. Uncode Gmaps Integration, Contact Form 7\n\n setTimeout(function () {\n var _rest$;\n\n (_rest$ = rest[0]) === null || _rest$ === void 0 ? void 0 : _rest$.call(rest, new Event(eventName, {\n bubbles: true,\n cancelable: true\n }));\n }, 0);\n });\n } else {\n _addEventListener.apply(this, [type].concat(rest));\n }\n }), _Object$assign));\n}\n\nexport { applyNativeEventListener };","import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport { OPT_IN_CONTENT_BLOCKER_ALL } from \"../../types\";\nvar OVERWRITE_PROPERTY = \"rcbJQueryEventListener\";\n/**\n * Overwrite `jQuery(selector).on` and `jQuery.event.add` for special events\n * like `elementor/frontend/init`.\n */\n\nfunction applyJQueryEvent(doc, element, eventName) {\n var _Object$assign;\n\n var overwriteProp = \"\".concat(OVERWRITE_PROPERTY, \"_\").concat(eventName);\n\n var _ref = doc.defaultView || doc.parentWindow,\n jQuery = _ref.jQuery;\n\n if (!jQuery) {\n return;\n }\n\n var event = jQuery.event,\n Event = jQuery.Event;\n\n if (!event || !Event || event[overwriteProp]) {\n return;\n }\n\n var _add = event.add;\n Object.assign(event, (_Object$assign = {}, _defineProperty(_Object$assign, overwriteProp, true), _defineProperty(_Object$assign, \"add\", function add() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n // https://git.io/JsXSb\n var elem = args[0],\n types = args[1],\n handler = args[2],\n data = args[3],\n selector = args[4];\n var useTypes = Array.isArray(types) ? types : typeof types === \"string\" ? types.split(\" \") : types;\n\n if (types && elem === element) {\n var _iterator = _createForOfIteratorHelper(useTypes),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var type = _step.value;\n\n if (type === eventName) {\n (function () {\n var executed = false;\n document.addEventListener(OPT_IN_CONTENT_BLOCKER_ALL, function () {\n // IE does not support the `once` option\n if (executed) {\n return;\n }\n\n executed = true; // Redirect to own thread to avoid variable order lacks (e. g. Uncode Gmaps Integration, Contact Form 7)\n\n setTimeout(function () {\n handler === null || handler === void 0 ? void 0 : handler(new Event());\n }, 0);\n });\n })();\n } else {\n _add.apply(this, [elem, type, handler, data, selector]);\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n } else {\n _add.apply(this, args);\n }\n }), _Object$assign));\n}\n\nexport { applyJQueryEvent };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport { dispatchResizeEvent } from \"..\";\n/**\n * A content got unblocked, let's run custom triggers on them, for example\n * the Elementor ready hook.\n */\n\nfunction customUnblockTriggers(nodes) {\n var _ref = window,\n elementorFrontend = _ref.elementorFrontend;\n\n var _iterator = _createForOfIteratorHelper(nodes),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var node = _step.value.node;\n // https://git.io/JsXoh\n elementorFrontend === null || elementorFrontend === void 0 ? void 0 : elementorFrontend.elementsHandler.runReadyTrigger(node);\n } // In some cases, the complete layout can be changed and calculations are based on containers width.\n // Imagine: Google Fonts get added and the navigation bar has a button with a calculated width (e.g. BeTheme).\n // Another example: The instagram feed is not loaded / adjusted (masonry), so we need to trigger a resize event manually\n\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n dispatchResizeEvent();\n}\n\nexport { customUnblockTriggers };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { HTML_ATTRIBUTE_INLINE_STYLE, HTML_TAG_CONSENT_SCRIPT } from \".\";\n/**\n * Put an prepared inline style to the DOM.\n */\n\nfunction putStyleInlineToDom(_x) {\n return _putStyleInlineToDom.apply(this, arguments);\n}\n\nfunction _putStyleInlineToDom() {\n _putStyleInlineToDom = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(node) {\n var inlineStyle, inlineStyleHtml;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n // Get the inline style itself\n inlineStyle = node.getAttribute(HTML_ATTRIBUTE_INLINE_STYLE);\n node.removeAttribute(HTML_ATTRIBUTE_INLINE_STYLE); // Transform the tag to the `style`\n // We need to make such a hacky way because regex does not work and `outerHTML` has also some issues...\n\n inlineStyleHtml = node.outerHTML.substr(HTML_TAG_CONSENT_SCRIPT.length + 1);\n inlineStyleHtml = inlineStyleHtml.substr(0, inlineStyleHtml.length - HTML_TAG_CONSENT_SCRIPT.length - 3);\n inlineStyleHtml = inlineStyleHtml.replace(new RegExp(\"type=\\\"application/consent\\\"\"), \"\");\n inlineStyleHtml = \"