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EAAO8sB,oBAC3CpiB,IAAK,gBACJ,EACDulB,eAAAA,MAEAL,EAAO,CACLG,OAAQE,EAAejC,gBACvBtjB,IAAK,eACJ,EACD5J,MAAO6vB,OAEP,IAAK,MAAMrM,KAAWoM,EAChBC,EAAa/vB,OAAS0jB,EAAQte,WAChCvC,EAAUktB,EAAa9vB,UAAWyjB,GAItC,OAAO,MAEF,KyDzDXsM,CAAsB,CAAC,CACrB5qB,UAAW,QACXrC,MAAO,CAACI,GACNmnB,WAAAA,MAEA,GAAIA,EAAY,CACd,MAAM2F,EAAW9sB,EAASwgB,KAAK,YAC/BsM,EAASC,UAAW,EACpB/sB,EAASwgB,KAAK,WAAYsM,MAG7B,CACD7qB,UAAW,uBAEXtC,MAAO,QAET,EAAAigB,EAAA,IAAM,KAEJ9jB,EAAessB,IACfhqB,EAAiBiqB,I3D5BnB,SAA6BnrB,EAAS+B,GACpC,MAAMC,EAAe,GAAGrD,OAAOgD,EAAgC,KAAKhD,OAAOoD,GAC3EvC,OAAO6C,OAAOrC,EAAS,CACrB,CAACgC,GAAe,IAAIvB,SAAQI,GAAWb,EAAQc,iBAAiBiB,EAAWlB,O2D0B7EivB,CAAoB/wB,OAAQ,2BAC5B8C,EAAoB+S,SAAUA,SAAU,iBAExC/S,EAAoB+S,SAAUA,SAAU,iCAExC/S,EAAoB+S,SAAUA,SAAU,oBACvC,iB","sources":["webpack:///../../frontend-packages/headless-content-unblocker/src/dom/hijackJqueryFn.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/hijackJQueryEach.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/initiators/memorizeNativeEvent.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/initiators/memorizeJQueryEvent.tsx","webpack:///./src/public/ts/others/comp/hijackElementorOnInit.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/hooks/useWaitElementInViewport.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/utils/waitElementInViewport.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/inlineStyles/blocker/hero.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/components/blocker/hero/audio/waveFromText.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/inlineStyles/blocker/buttons.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/components/blocker/hero/video/svgPlayButton.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/inlineStyles/blocker/content.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/inlineStyles/blocker/header.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/components/blocker/header/header.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/inlineStyles/blocker/body.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/inlineStyles/blocker/blocker.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/components/blocker/body/button.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/components/blocker/body/body.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/inlineStyles/blocker/groups.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/inlineStyles/blocker/footer.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/components/blocker/footer/footer.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/components/blocker/textContainer.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/components/blocker/heroContainer.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/components/blocker/blocker.tsx","webpack:///./src/public/ts/components/websiteBlocker.tsx","webpack:///./src/public/ts/others/applyContentBlocker/adjustConsent.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/checker/transaction.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/checker/decideToUnblock.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/putStyleInlineToDom.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/transformInlineStyleRules.tsx","webpack:///../../frontend-packages/resolve-none-computed-style/src/calculateScore.tsx","webpack:///../../frontend-packages/resolve-none-computed-style/src/priorityByRule.tsx","webpack:///../../frontend-packages/resolve-none-computed-style/src/iterateRules.tsx","webpack:///../../frontend-packages/resolve-none-computed-style/src/index.tsx","webpack:///../../frontend-packages/resolve-none-computed-style/src/resolveScorePool.tsx","webpack:///../../frontend-packages/resolve-none-computed-style/src/iterateStylesheets.tsx","webpack:///../../frontend-packages/resolve-none-computed-style/src/calculateInlineScore.tsx","webpack:///../../frontend-packages/resolve-none-computed-style/src/sortScores.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/visual/probablyResetParentContainer.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/utils/isElementInViewport.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/visual/findVisualParent.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/utils/previousVisibleElement.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/visual/findPreviousVisibleDuplicate.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/visual/createVisual.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/visual/createVisualContainer.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/visual/detectLastClicked.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/initiators/dispatchInitiatorExecution.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/initiators/jQueryReady.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/initiators/jQueryEvent.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/initiators/nativeEventListener.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/initiators/windowOnload.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/waitSynchronousScripts.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/ensureScriptWrapper.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/transformToOriginalAttribute.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/putScriptInlineToDom.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/delegateClick.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/watcher.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/checker/findAndUnblock.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/checker/findBlockedNodes.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/loadVideoSource.tsx","webpack:///./src/public/ts/others/comp/elementorVideoApi.tsx","webpack:///./src/public/ts/blocker.tsx","webpack:///./src/public/ts/others/applyContentBlocker/listenOptIn.tsx","webpack:///./src/public/ts/others/comp/customTriggers.tsx","webpack:///./src/public/ts/others/comp/ratioClassPlainCss.tsx"],"sourcesContent":["// import $ from \"jquery\"; // not always available\nimport { HTML_ATTRIBUTE_BLOCKER_ID, HTML_ATTRIBUTE_UNBLOCKED_TRANSACTION_COMPLETE, OPT_IN_CONTENT_BLOCKER_ALL } from \"..\";\nconst ALREADY_OVERWRITTEN_PROPERTY = \"listenOptInJqueryFnForContentBlockerNow\";\nconst BLOCKED_ELEMENT_SELECTOR = \"[\".concat(HTML_ATTRIBUTE_BLOCKER_ID, \"]:not([\").concat(HTML_ATTRIBUTE_UNBLOCKED_TRANSACTION_COMPLETE, \"])\");\n/**\n * Modify a jQuery function to wait for consent if a content blocker is within the\n * given selector.\n */\n\nfunction hijackJqueryFn(fns) {\n const $ = window.jQuery;\n\n if (!($ !== null && $ !== void 0 && $.fn)) {\n return;\n }\n\n const jQueryFns = $.fn;\n\n for (const fn of fns) {\n const originalFunction = jQueryFns[fn];\n\n if (!originalFunction) {\n continue;\n } // Already overwritten?\n\n\n const alreadyOverwritten = jQueryFns[ALREADY_OVERWRITTEN_PROPERTY] = jQueryFns[ALREADY_OVERWRITTEN_PROPERTY] || [];\n\n if (alreadyOverwritten.indexOf(fn) > -1) {\n continue;\n }\n\n alreadyOverwritten.push(fn); // Memorize the static properties (e.g. `jQuery.fn.{fn}.defaults` (https://github.com/marioestrada/jQuery-gMap/blob/33b2771a5789b7531eb56878cfa3e4a0c30a8c43/jquery.gmap.js#L250))\n\n const staticProps = Object.getOwnPropertyDescriptors(originalFunction);\n delete staticProps.length;\n delete staticProps.name;\n delete staticProps.prototype;\n\n jQueryFns[fn] = function (...args) {\n if (this.length) {\n const notBlockedElements = [];\n\n for (const element of this.get()) {\n var _element$matches;\n\n const blockedElements = Array.prototype.slice.call(element.querySelectorAll(BLOCKED_ELEMENT_SELECTOR)); // Also respect own element (element can also be `document` which does not have a `matches` function)\n\n if ((_element$matches = element.matches) !== null && _element$matches !== void 0 && _element$matches.call(element, BLOCKED_ELEMENT_SELECTOR)) {\n blockedElements.push(element);\n } // Call original function immediate if no content blocker found\n\n\n if (blockedElements.length) {\n // Wait for all unblocked content\n // TODO: should we also create chunks per `consent-id`?\n Promise.all(blockedElements.map(node => new Promise(resolve => node.addEventListener(OPT_IN_CONTENT_BLOCKER_ALL, resolve)))).then(() => originalFunction.apply($(element), args));\n } else {\n notBlockedElements.push(element);\n }\n }\n\n return originalFunction.apply(jQuery(notBlockedElements), args);\n } else {\n // There is no jQuery object passed to the jQuery function. But we need to call the\n // original function anyway as some properties of e.g. `$.fn.prettyPhoto` can be\n // lazy loaded and expect a \"first\" call\n return originalFunction.apply($(this), args);\n }\n }; // Apply memorized static properties\n\n\n Object.defineProperties(jQueryFns[fn], staticProps);\n }\n}\n\nexport { hijackJqueryFn };","// import $ from \"jquery\"; // not always available\nimport { HTML_ATTRIBUTE_COOKIE_IDS, OPT_IN_CONTENT_BLOCKER_ALL } from \"..\";\nconst ALREADY_OVERWRITTEN_PROPERTY = \"hijackQueryEach\";\n/**\n * Allows to delay `.each` calls on jQuery elements.\n *\n * Example when `div[block-me]` is blocked:\n *\n * ```html\n *
blocked
\n *
not blocked
\n * \n * ```\n *\n * @see https://api.jquery.com/each/\n */\n\nfunction hijackJqueryEach(selectors) {\n const $ = window.jQuery;\n\n if (!($ !== null && $ !== void 0 && $.each) || $[ALREADY_OVERWRITTEN_PROPERTY]) {\n return;\n }\n\n $[ALREADY_OVERWRITTEN_PROPERTY] = true;\n const originalFunction = $.each;\n\n $.each = (array, callback) => originalFunction.apply($, [array, function (index, element) {\n if (element instanceof HTMLElement && element.hasAttribute(HTML_ATTRIBUTE_COOKIE_IDS) && element.matches(selectors.join(\",\"))) {\n // Wait for consent and afterwards, execute the command\n element.addEventListener(OPT_IN_CONTENT_BLOCKER_ALL, () => callback.apply(this, [index, element]));\n return undefined;\n }\n\n return callback.apply(this, [index, element]);\n }]);\n}\n\nexport { hijackJqueryEach };","const MEMORIZE_NATIVE_EVENT_PROPERTY = \"rcbNativeEventListenerMemorize\";\n/**\n * We listen to the passed event and once that event got triggered, all event registrations\n * afterwards are automatically executed, too. This does not need another trigger again.\n *\n * You need to call this function as early as possible to catch all triggers.\n */\n\nfunction memorizeNativeEvent(element, eventName) {\n const memorizeProp = \"\".concat(MEMORIZE_NATIVE_EVENT_PROPERTY, \"_\").concat(eventName);\n Object.assign(element, {\n [memorizeProp]: new Promise(resolve => element.addEventListener(eventName, resolve))\n });\n}\n\nexport { memorizeNativeEvent, MEMORIZE_NATIVE_EVENT_PROPERTY };","const MEMORIZE_JQUERY_EVENT_PROPERTY = \"rcbJQueryEventListenerMemorize\";\n/**\n * We listen to the passed event and once that event got triggered, all event registrations\n * afterwards are automatically executed, too. This does not need another trigger again.\n *\n * You need to call this function as early as possible to catch all triggers.\n */\n\nfunction memorizeJQueryEvent(doc, element, eventName) {\n const memorizeProp = \"\".concat(MEMORIZE_JQUERY_EVENT_PROPERTY, \"_\").concat(eventName);\n const {\n jQuery\n } = doc.defaultView || doc.parentWindow;\n\n if (!jQuery) {\n return;\n }\n\n const {\n event,\n Event\n } = jQuery;\n\n if (!event || !Event || event[memorizeProp]) {\n return;\n } // TODO: shouldn't this be memorized to the element itself?\n\n\n Object.assign(event, {\n [memorizeProp]: new Promise(resolve => jQuery(element).on(eventName, (...args) => resolve(args)))\n });\n}\n\nexport { memorizeJQueryEvent, MEMORIZE_JQUERY_EVENT_PROPERTY };","import { idx } from \"@devowl-wp/cookie-consent-web-client\";\nimport { OPT_IN_CONTENT_BLOCKER_ALL, OPT_IN_CONTENT_BLOCKER, HTML_ATTRIBUTE_COOKIE_IDS } from \"@devowl-wp/headless-content-unblocker\";\nconst MEMORIZE_ELEMENTOR_HANDLER_PROPERTY = \"rcb-overwritten\";\n\nfunction overwrite(prototype, {\n delay,\n optIn,\n optInAll\n}) {\n const {\n onInit,\n [MEMORIZE_ELEMENTOR_HANDLER_PROPERTY]: already\n } = prototype;\n\n if (already) {\n return;\n }\n\n prototype[MEMORIZE_ELEMENTOR_HANDLER_PROPERTY] = true; // `onInit` is called for each element, even it is blocked\n\n prototype.onInit = function (...args) {\n const $element = this.$element;\n const element = $element.get(0);\n\n if ($element.attr(HTML_ATTRIBUTE_COOKIE_IDS)) {\n $element.attr(MEMORIZE_ELEMENTOR_HANDLER_PROPERTY, \"1\");\n element.addEventListener(OPT_IN_CONTENT_BLOCKER, ({\n detail\n }) => {\n optIn === null || optIn === void 0 ? void 0 : optIn($element, detail, this);\n });\n element.addEventListener(OPT_IN_CONTENT_BLOCKER_ALL, ({\n detail\n }) => {\n optInAll === null || optInAll === void 0 ? void 0 : optInAll($element, detail, this);\n setTimeout(() => onInit.apply(this, args), delay || 0);\n });\n } else {\n return onInit.apply(this, args);\n }\n };\n}\n/**\n * Overwrite Elementor modules and wait until consent is given for blocked module.\n * Passed `handlers` can be widget names like `video.default` or class names `VideoPlaylistHandler`\n * for dynamic modules.\n */\n\n\nfunction hijackElementorOnInit(handlers) {\n const {\n wrapFn\n } = window.consentApi;\n wrapFn({\n // See https://github.com/elementor/elementor/blob/2ee675caf03908f8c66e16298e923a24b206df54/assets/dev/js/frontend/frontend.js#L319-L322\n object: () => idx(window, window => window.elementorFrontend),\n key: \"initModules\"\n }, ({\n objectResolved\n }) => {\n wrapFn({\n object: objectResolved.elementsHandler,\n key: \"addHandler\"\n }, ({\n args: [handlerClass]\n }) => {\n for (const handler of handlers) {\n if (handlerClass.name === handler.className) {\n overwrite(handlerClass.prototype, handler);\n }\n }\n\n return true;\n });\n return true;\n });\n}\n\nexport { hijackElementorOnInit, MEMORIZE_ELEMENTOR_HANDLER_PROPERTY };","import { useEffect, useState } from \"react\";\nimport { waitElementInViewport } from \"../utils\";\n\nfunction useWaitElementInViewport(ref) {\n const [inViewport, setInViewport] = useState(false);\n useEffect(() => {\n if (ref.current) {\n waitElementInViewport(ref.current).then(() => {\n setInViewport(true);\n });\n }\n }, []);\n return inViewport;\n}\n\nexport { useWaitElementInViewport };","/**\n * Attention: Never use this with `async/await` as it blocks the thread!\n */\nfunction waitElementInViewport(container) {\n return new Promise(resolve => {\n if (window.IntersectionObserver) {\n new IntersectionObserver((entries, observer) => {\n entries.forEach(({\n isIntersecting\n }) => {\n if (isIntersecting) {\n resolve();\n observer.disconnect();\n }\n });\n }).observe(container);\n } else {\n resolve();\n }\n });\n}\n\nexport { waitElementInViewport };","import { BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER, hexToRgb } from \"../../..\";\nconst ZINDEX = 999999999;\n\nclass BlockerHeroInlineStyles {\n static aspectRatioWrapper({\n blocker: {\n visualContentType,\n visualThumbnail: {\n width,\n height,\n forceRatio\n },\n isVisualDarkMode\n },\n customCss: {\n antiAdBlocker\n }\n }) {\n const style = {\n paddingTop: forceRatio ? \"\".concat(forceRatio, \"%\") : \"\".concat(height / width * 100, \"%\"),\n position: \"relative\"\n };\n\n if (visualContentType === \"audio-player\") {\n delete style.paddingTop;\n Object.assign(style, {\n height: 100,\n paddingTop: 0,\n background: \"linear-gradient(315deg, \".concat(isVisualDarkMode ? \"#2f3237 1%, #5e5e5e 100%\" : \"hsla(0, 0%, 89%, 1) 1%, hsla(0, 0%, 97%, 1) 100%\", \")\")\n });\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-hero-wrapper\",\n style\n };\n }\n\n static aspectRatioBackgroundWrapper({\n customCss: {\n antiAdBlocker\n },\n blocker: {\n visualContentType\n }\n }) {\n const style = {\n width: \"100%\",\n position: \"absolute\",\n inset: 0\n };\n\n if (visualContentType === \"audio-player\") {\n Object.assign(style, {\n width: 100,\n overflow: \"hidden\"\n });\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-hero-bg-wrapper\",\n style\n };\n }\n\n static aspectRatioBackground({\n customCss: {\n antiAdBlocker\n },\n blocker: {\n visualBlur,\n visualThumbnail: {\n url\n }\n }\n }) {\n const style = {\n background: \"url('\".concat(url, \"') no-repeat center center\"),\n backgroundSize: \"cover\",\n width: \"100%\",\n position: \"absolute\",\n inset: 0,\n filter: visualBlur > 0 ? \"blur(\".concat(visualBlur, \"px)\") : undefined\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-hero-bg\",\n style\n };\n }\n\n static aspectRatioContainer({\n blocker: {\n visualContentType,\n visualThumbnail: {\n hide,\n titleType = \"top\"\n }\n },\n customCss: {\n antiAdBlocker\n }\n }) {\n const style = {\n position: \"absolute\",\n top: 0,\n left: 0,\n width: \"100%\",\n height: \"100%\",\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"center\",\n justifyContent: \"center\",\n background: (hide === null || hide === void 0 ? void 0 : hide.indexOf(\"overlay\")) > -1 ? undefined : \"rgb(0 0 0 / 38%)\",\n boxShadow: (hide === null || hide === void 0 ? void 0 : hide.indexOf(\"title\")) > -1 || titleType === \"center\" ? undefined : \"inset 0 115px 60px -60px rgb(0 0 0 / 77%)\"\n };\n\n if ([\"audio-player\"].indexOf(visualContentType) > -1) {\n delete style.boxShadow;\n delete style.background;\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-hero-container\",\n style\n };\n }\n\n static aspectRatioWholeClickable({\n customCss: {\n antiAdBlocker\n }\n }) {\n const style = {\n position: \"absolute\",\n top: 0,\n left: 0,\n width: \"100%\",\n height: \"100%\",\n zIndex: 9\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-hero-whole-clickable\",\n style\n };\n }\n\n static playButtonWrapper({\n blocker: {\n presetId,\n visualContentType,\n isVisualDarkMode\n },\n bodyDesign: {\n acceptAllBg\n },\n customCss: {\n antiAdBlocker\n }\n }, isHover) {\n const isVimeo = presetId === \"vimeo\" && visualContentType === \"video-player\";\n const {\n r,\n g,\n b\n } = hexToRgb(acceptAllBg);\n const style = {\n cursor: \"pointer\",\n background: isVimeo ? \"rgb(0 0 0 / 70%)\" : \"rgb(\".concat(r, \" \").concat(g, \" \").concat(b, \")\"),\n padding: \"15px 30px\",\n borderRadius: 5,\n zIndex: 9\n };\n\n if (visualContentType === \"audio-player\") {\n Object.assign(style, {\n position: \"absolute\",\n left: 120,\n top: 49,\n padding: \"10px 10px 10px 13px\",\n borderRadius: 99\n });\n\n if (isVisualDarkMode) {\n Object.assign(style, {\n background: \"#111213\"\n });\n }\n }\n\n if (isHover) {\n Object.assign(style, {\n background: isHover ? \"rgb(26 183 234 / 100%)\" : \"\"\n });\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-hero-play-wrapper\",\n style\n };\n }\n\n static playButton({\n blocker: {\n visualContentType\n },\n customCss: {\n antiAdBlocker\n }\n }, isHover) {\n const scalingFactor = visualContentType === \"audio-player\" ? 0.2 : 0.3;\n const style = {\n border: 0,\n background: \"transparent\",\n boxSizing: \"border-box\",\n width: 0,\n height: 60 * scalingFactor,\n borderColor: \"transparent transparent transparent rgb(255 255 255 / \".concat(isHover ? 100 : 94, \"%)\"),\n transition: \"100ms all ease\",\n cursor: \"pointer\",\n borderStyle: \"solid\",\n borderWidth: \"\".concat(40 * scalingFactor, \"px 0 \").concat(40 * scalingFactor, \"px \").concat(60 * scalingFactor, \"px\")\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-hero-play\",\n style\n };\n }\n\n static title({\n blocker: {\n presetId,\n visualContentType,\n isVisualDarkMode,\n visualThumbnail: {\n titleType = \"top\"\n }\n },\n customCss: {\n antiAdBlocker\n }\n }) {\n const style = {\n position: \"absolute\",\n padding: \"5px 10px\",\n overflow: \"hidden\",\n maxWidth: \"calc(100% - 140px)\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n color: \"white\",\n textShadow: \"1px 1px 1px black\",\n fontSize: 15,\n top: 10,\n left: 10\n };\n\n if (presetId === \"vimeo\" && visualContentType === \"video-player\" && titleType === \"top\") {\n Object.assign(style, {\n top: 20,\n left: 20,\n background: \"#00000059\",\n fontWeight: \"bold\",\n color: \"rgb(0, 173, 239)\",\n textShadow: undefined\n });\n } else if (visualContentType === \"audio-player\") {\n Object.assign(style, {\n left: 110,\n color: isVisualDarkMode ? \"white\" : \"black\",\n textShadow: \"1px 1px 1px \".concat(isVisualDarkMode ? \"black\" : \"white\")\n });\n } else if (titleType === \"center\") {\n Object.assign(style, {\n position: undefined,\n background: \"#0000007d\",\n overflow: undefined,\n textOverflow: undefined,\n whiteSpace: undefined,\n textAlign: \"center\",\n marginBottom: 15\n });\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-hero-title\",\n style\n };\n }\n\n static defaultBlockerContainer({\n customCss: {\n antiAdBlocker\n }\n }, isVisible, rect) {\n const paddingLeftRight = window.innerWidth < BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER ? 5 : 30;\n const style = {\n position: \"absolute\",\n padding: \"20px \".concat(paddingLeftRight, \"px\"),\n zIndex: ZINDEX,\n opacity: isVisible ? 1 : 0,\n pointerEvents: isVisible ? \"all\" : \"none\",\n display: \"flex\",\n transition: \"opacity 300ms\"\n }; // Calculate position inside our Portal relative to the entire document\n // See also https://stackoverflow.com/a/36520974/5506547\n\n if (rect) {\n const {\n top,\n left,\n width\n } = rect;\n const {\n scrollY,\n scrollX\n } = window;\n Object.assign(style, {\n top: top + scrollY,\n left: left + scrollX,\n width: width - paddingLeftRight * 2\n });\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-db-container\",\n style\n };\n }\n\n static defaultBlockerOverlay({\n customCss: {\n antiAdBlocker\n }\n }, isVisible) {\n const style = {\n position: \"fixed\",\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n zIndex: ZINDEX,\n background: \"#000000cf\",\n opacity: isVisible ? 1 : 0,\n pointerEvents: isVisible ? \"all\" : \"none\",\n transition: \"opacity 300ms\"\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-db-overlay\",\n style\n };\n }\n\n}\n\nexport { BlockerHeroInlineStyles };","import { useMemo } from \"react\";\nimport { useBlocker } from \"../../../../contexts\";\n\nconst BlockerHeroAudioWaveFromText = ({\n text\n}) => {\n const {\n blocker: {\n isVisualDarkMode\n },\n bodyDesign: {\n acceptAllBg\n }\n } = useBlocker();\n const waveIntegers = useMemo(() => {\n let numbers = [];\n text.split(\"\").forEach(c => c.charCodeAt(0).toString().split(\"\").map(Number).forEach(n => numbers.push(n))); // Remove zeros and treat as 1\n\n numbers = numbers.map(number => number === 0 ? 1 : number); // Remove duplicates\n\n numbers = numbers.map((number, i) => i > 0 ? numbers[i - 1] === number ? false : number : number).filter(Boolean); // Correct the wave to be more nicer by removing absolute opposites\n\n numbers = numbers.map((number, i) => {\n if (i === 0 || i === numbers.length - 1) {\n return number;\n }\n\n if (Math.abs(numbers[i - 1] - number) >= 4 && Math.abs(numbers[i + 1] - number)) {\n return false;\n }\n\n return number;\n }).filter(Boolean); // Make sure to hold a lot of items to fill the line\n\n for (let i = 0; i < 100; i++) {\n if (numbers.length > 500) {\n break;\n }\n\n numbers = [...numbers, ...numbers];\n }\n\n return numbers;\n }, [text]);\n return h(\"div\", {\n style: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n position: \"absolute\",\n left: 170,\n top: 44,\n right: 20,\n height: 46,\n overflow: \"hidden\"\n }\n }, waveIntegers.map((int, index) => h(\"div\", {\n key: index,\n style: {\n height: \"\".concat(int * 10, \"%\"),\n background: isVisualDarkMode ? \"white\" : acceptAllBg,\n paddingLeft: 2,\n marginLeft: index === 0 ? 0 : 2\n }\n })));\n};\n\nexport { BlockerHeroAudioWaveFromText };","class BlockerButtonsInlineStyles {\n static save({\n decision: {\n acceptAll\n },\n layout: {\n borderRadius\n },\n bodyDesign: {\n acceptAllFontSize,\n acceptAllBg,\n acceptAllTextAlign,\n acceptAllBorderColor,\n acceptAllPadding,\n acceptAllBorderWidth,\n acceptAllFontColor,\n acceptAllHoverBg,\n acceptAllHoverFontColor,\n acceptAllHoverBorderColor\n },\n customCss: {\n antiAdBlocker\n }\n }, isHover, framed) {\n return this.common({\n name: \"accept-all\",\n type: acceptAll,\n borderRadius,\n bg: acceptAllBg,\n hoverBg: acceptAllHoverBg,\n fontSize: acceptAllFontSize,\n textAlign: acceptAllTextAlign,\n fontColor: acceptAllFontColor,\n hoverFontColor: acceptAllHoverFontColor,\n borderWidth: acceptAllBorderWidth,\n borderColor: acceptAllBorderColor,\n hoverBorderColor: acceptAllHoverBorderColor,\n padding: acceptAllPadding,\n antiAdBlocker\n }, isHover, framed);\n }\n\n static showInfo({\n decision: {\n acceptIndividual\n },\n layout: {\n borderRadius\n },\n bodyDesign: {\n acceptIndividualFontSize,\n acceptIndividualBg,\n acceptIndividualTextAlign,\n acceptIndividualBorderColor,\n acceptIndividualPadding,\n acceptIndividualBorderWidth,\n acceptIndividualFontColor,\n acceptIndividualHoverBg,\n acceptIndividualHoverFontColor,\n acceptIndividualHoverBorderColor\n },\n customCss: {\n antiAdBlocker\n }\n }, isHover, framed) {\n return this.common({\n name: \"accept-individual\",\n type: acceptIndividual,\n borderRadius,\n bg: acceptIndividualBg,\n hoverBg: acceptIndividualHoverBg,\n fontSize: acceptIndividualFontSize,\n textAlign: acceptIndividualTextAlign,\n fontColor: acceptIndividualFontColor,\n hoverFontColor: acceptIndividualHoverFontColor,\n borderWidth: acceptIndividualBorderWidth,\n borderColor: acceptIndividualBorderColor,\n hoverBorderColor: acceptIndividualHoverBorderColor,\n padding: acceptIndividualPadding,\n antiAdBlocker\n }, isHover, framed);\n }\n\n static hero({\n decision: {\n acceptAll\n },\n layout: {\n borderRadius\n },\n bodyDesign: {\n acceptAllFontSize,\n acceptAllBg,\n acceptAllTextAlign,\n acceptAllBorderColor,\n acceptAllPadding,\n acceptAllBorderWidth,\n acceptAllFontColor,\n acceptAllHoverBg,\n acceptAllHoverFontColor,\n acceptAllHoverBorderColor\n },\n customCss: {\n antiAdBlocker\n }\n }, isHover, framed) {\n return this.common({\n name: \"accept-all\",\n type: acceptAll,\n borderRadius,\n bg: acceptAllBg,\n hoverBg: acceptAllHoverBg,\n fontSize: acceptAllFontSize,\n textAlign: acceptAllTextAlign,\n fontColor: acceptAllFontColor,\n hoverFontColor: acceptAllHoverFontColor,\n borderWidth: acceptAllBorderWidth,\n borderColor: acceptAllBorderColor,\n hoverBorderColor: acceptAllHoverBorderColor,\n padding: acceptAllPadding,\n boxShadow: \"rgb(0 0 0 / 15%) 0px 0px 100px 30px, rgb(0 0 0 / 40%) 0px 2px 5px 1px\",\n zIndex: 9,\n antiAdBlocker\n }, isHover, framed);\n }\n\n static common({\n name,\n type,\n borderRadius,\n bg,\n hoverBg,\n fontSize,\n textAlign,\n fontColor,\n hoverFontColor,\n borderWidth,\n borderColor,\n hoverBorderColor,\n padding,\n boxShadow,\n zIndex,\n antiAdBlocker\n }, isHover, framed) {\n const style = {\n textDecoration: type === \"link\" ? \"underline\" : \"none\",\n borderRadius: +borderRadius,\n cursor: type === \"button\" ? \"pointer\" : undefined,\n backgroundColor: type === \"button\" ? isHover ? hoverBg : bg : undefined,\n fontSize: +fontSize,\n 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(p => \"\".concat(p, \"px\")).join(\" \"),\n overflow: \"hidden\",\n outline: framed ? \"rgb(255, 94, 94) solid 5px\" : undefined,\n boxShadow,\n zIndex\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-btn-\".concat(name),\n style\n };\n }\n\n}\n\nexport { BlockerButtonsInlineStyles };","import _extends from \"@babel/runtime/helpers/extends\";\n\nconst BlockerHeroVideoSvgPlayButton = ({\n svgProps,\n fill\n}) => {\n return h(\"svg\", _extends({\n width: 68,\n height: 48,\n version: \"1.1\",\n enableBackground: \"new 0 0 595.3 420.2\",\n viewBox: \"0 0 595.3 420.2\"\n }, svgProps, {\n style: {\n cursor: \"pointer\",\n zIndex: 9\n }\n }), h(\"path\", {\n d: \"m582.3 67.8c-6.8-25.6-17.8-47.4-43.4-54.2-46.5-12.5-241.3-13.6-241.3-13.6s-194.7 1.1-241.2 13.6c-25.6 6.8-36.5 28.5-43.4 54.2-12.5 46.4-13 142.3-13 142.3s.5 95.9 13 142.3c6.8 25.6 17.8 47.4 43.4 54.2 46.5 12.4 241.2 13.6 241.2 13.6s194.8-1.1 241.2-13.6c25.6-6.8 36.6-28.5 43.4-54.2 12.4-46.5 13-142.3 13-142.3s-.4-95.9-12.9-142.3z\",\n fill: fill\n }), h(\"path\", {\n d: \"m401.8 210.1-173.3-96.3v192.6\",\n fill: \"#fff\"\n }));\n};\n\nexport { BlockerHeroVideoSvgPlayButton };","class BlockerContentInlineStyles {\n static inner({\n layout: {\n type,\n dialogBorderRadius\n },\n design: {\n borderWidth,\n borderColor,\n textAlign,\n fontColor,\n fontInheritFamily,\n fontFamily\n },\n customCss: {\n antiAdBlocker\n },\n blocker: {\n visualType\n }\n }) {\n const hasBg = visualType === \"wrapped\";\n const style = {\n 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 position: \"relative\",\n padding: hasBg ? \"30px 50px\" : undefined,\n overflow: hasBg ? \"hidden\" : undefined\n };\n return {\n className: \"wp-exclude-emoji \".concat(antiAdBlocker === \"y\" ? \"\" : \"rcb-inner\"),\n style\n };\n }\n\n static innerBackground({\n customCss: {\n antiAdBlocker\n },\n blocker: {\n visualType,\n visualThumbnail,\n visualBlur\n }\n }) {\n const hasBg = visualType === \"wrapped\";\n const style = {\n position: \"absolute\",\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n display: hasBg ? \"block\" : \"none\",\n filter: visualBlur > 0 ? \"blur(\".concat(visualBlur, \"px)\") : undefined\n };\n\n if (hasBg) {\n style.background = \"url('\".concat(visualThumbnail.url, \"') no-repeat center center\");\n style.backgroundSize = \"cover\";\n }\n\n return {\n className: antiAdBlocker === \"y\" ? \"\" : \"rcb-inner-bg\",\n style\n };\n }\n\n static content({\n blocker: {\n visualType\n },\n customCss: {\n antiAdBlocker\n }\n }) {\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-content\",\n style: {\n boxShadow: visualType === \"wrapped\" ? \"rgb(0 0 0 / 35%) 0px 0px 0px 7px, #0000004d 0px 0px 100px 30px\" : undefined,\n position: \"relative\"\n }\n };\n }\n\n}\n\nexport { BlockerContentInlineStyles };","class BlockerHeaderInlineStyles {\n static headerContainer({\n layout: {\n type,\n dialogBorderRadius\n },\n design: {\n borderWidth,\n borderColor,\n ...restDesign\n },\n headerDesign: {\n inheritBg,\n bg,\n padding\n },\n customCss: {\n antiAdBlocker\n }\n }) {\n const style = {\n padding: padding.map(p => \"\".concat(p, \"px\")).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\n };\n }\n\n static header({\n design: {\n textAlign\n },\n headerDesign: {\n inheritTextAlign,\n ...restHeaderDesign\n },\n customCss: {\n antiAdBlocker\n }\n }) {\n const 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 position: \"relative\"\n }\n };\n }\n\n static headerSeparator({\n layout: {\n type\n },\n design,\n headerDesign: {\n borderWidth,\n borderColor\n },\n customCss: {\n antiAdBlocker\n }\n }) {\n const 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\n };\n }\n\n}\n\nexport { BlockerHeaderInlineStyles };","import { commonInlineStyleHeaderHeadline, useBlocker, BlockerHeaderInlineStyles } from \"../../..\";\n\nconst BlockerHeader = ({\n closeIcon\n}) => {\n const blocker = useBlocker();\n const {\n blocker: {\n name\n },\n texts: {\n blockerHeadline\n }\n } = blocker;\n return h(\"div\", BlockerHeaderInlineStyles.headerContainer(blocker), h(\"div\", BlockerHeaderInlineStyles.header(blocker), h(\"div\", commonInlineStyleHeaderHeadline(blocker, !!closeIcon), blockerHeadline.replace(/{{name}}/gi, name)), closeIcon));\n};\n\nexport { BlockerHeader };","class BlockerBodyInlineStyles {\n static bodyContainer({\n layout: {\n type,\n dialogBorderRadius\n },\n design: {\n bg,\n borderWidth,\n borderColor\n },\n bodyDesign: {\n padding\n },\n customCss: {\n antiAdBlocker\n },\n showFooter\n }) {\n const style = {\n background: bg,\n padding: padding.map(p => \"\".concat(p, \"px\")).join(\" \"),\n borderRadius: !showFooter && type === \"dialog\" ? \"0 0 \".concat(dialogBorderRadius, \"px \").concat(dialogBorderRadius, \"px\") : undefined,\n lineHeight: 1.4,\n overflow: \"auto\" // See https://stackoverflow.com/a/27829422/5506547\n\n };\n\n if (type === \"dialog\" && borderWidth > 0) {\n style.borderLeft = \"\".concat(borderWidth, \"px solid \").concat(borderColor);\n style.borderRight = style.borderLeft;\n\n if (!showFooter) {\n style.borderBottom = style.borderLeft;\n }\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-body-container\",\n style\n };\n }\n\n static body({\n customCss: {\n antiAdBlocker\n }\n }) {\n const style = {\n margin: \"auto\"\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-body\",\n style\n };\n }\n\n static description({\n design: {\n fontSize\n },\n bodyDesign: {\n descriptionInheritFontSize,\n descriptionFontSize\n },\n individualLayout: {\n descriptionTextAlign\n },\n customCss: {\n antiAdBlocker\n }\n }) {\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}\n\nexport { BlockerBodyInlineStyles };","class BlockerInlineStyles {\n static topSide({\n customCss: {\n antiAdBlocker\n }\n }) {\n const style = {\n marginBottom: 15\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-tb-top\",\n style\n };\n }\n\n static bottomSide({\n design: {\n bg\n },\n customCss: {\n antiAdBlocker\n }\n }) {\n const style = {\n background: bg\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-tb-bottom\",\n style\n };\n }\n\n}\n\nexport { BlockerInlineStyles };","import _extends from \"@babel/runtime/helpers/extends\";\nimport { useCallback, useState } from \"react\";\nimport { useBlocker, AsciiSpinner, BlockerButtonsInlineStyles } from \"../../..\";\n\nconst BlockerButton = ({\n inlineStyle,\n type,\n onClick,\n children,\n framed,\n busyOnClick\n}) => {\n if (type === \"hide\") {\n return null;\n }\n\n const [isBusy, setIsBusy] = useState(false);\n const handleOnClick = useCallback(e => {\n if (!isBusy) {\n busyOnClick && setIsBusy(true);\n onClick === null || onClick === void 0 ? void 0 : onClick(e);\n }\n }, [onClick, isBusy, busyOnClick]);\n const [isHover, setIsHover] = useState(false);\n const banner = useBlocker();\n const interactionAttr = {\n onClick: handleOnClick,\n onMouseEnter: () => setIsHover(true),\n onMouseLeave: () => setIsHover(false)\n };\n return h(\"div\", _extends({}, type === \"button\" ? interactionAttr : {}, BlockerButtonsInlineStyles[inlineStyle](banner, isHover, framed)), h(\"span\", type === \"link\" ? { ...interactionAttr,\n style: {\n cursor: \"pointer\"\n }\n } : {}, isBusy ? h(AsciiSpinner, null) : children));\n};\n\nexport { BlockerButton };","import _extends from \"@babel/runtime/helpers/extends\";\nimport { useState, useMemo } from \"react\";\nimport { commonInlineStyleBodyTeaching, commonInlineStyleBodyTeachingsSeparator, Cookie, useBlocker, useCommonTeachings, BlockerInlineStyles, BlockerBodyInlineStyles, BlockerGroupsInlineStyles, BlockerButton } from \"../../..\";\n\nconst BlockerBody = () => {\n const blocker = useBlocker();\n const [areCookiesVisible, setCookiesVisible] = useState(false);\n const {\n bodyDesign: {\n teachingsSeparatorActive\n },\n decision: {\n acceptAll,\n acceptIndividual\n },\n texts: {\n blockerLoadButton,\n blockerLinkShowMissing,\n blockerAcceptInfo\n },\n blocker: {\n services\n },\n consent,\n groups,\n onUnblock,\n productionNotice,\n i18n: {\n close\n }\n } = blocker; // Calculate missing cookies\n\n const missing = useMemo(() => {\n const missing = [];\n const allConsentCookies = [];\n\n for (const cookies of Object.values(consent.groups)) {\n allConsentCookies.push(...cookies);\n }\n\n for (const {\n items\n } of groups) {\n for (const cookie of items) {\n // Cookie is needed for this blocker? Yes, check if already consent...\n if (services.indexOf(cookie.id) > -1 && allConsentCookies.indexOf(cookie.id) === -1) {\n missing.push(cookie);\n }\n }\n }\n\n return missing;\n }, [groups, services, consent]);\n const {\n description,\n teachings\n } = useCommonTeachings({\n // Only enable USA notice when the blocked service is USA-relevant\n disableDataProcessingInUnsafeCountries: missing.map(({\n ePrivacyUSA\n }) => ePrivacyUSA).filter(Boolean).length === 0,\n // Not needed in blocker, as there is already a link with \"Show all services which I need to consent to\"\n disableListServicesNotice: true\n });\n return h(\"div\", BlockerBodyInlineStyles.bodyContainer(blocker), h(\"div\", BlockerBodyInlineStyles.body(blocker), h(\"div\", BlockerInlineStyles.topSide(blocker), h(\"div\", BlockerBodyInlineStyles.description(blocker), h(\"span\", {\n dangerouslySetInnerHTML: {\n __html: description.replace(/\\n/gm, \"
\")\n }\n }), !!description && teachingsSeparatorActive && h(\"div\", null, h(\"span\", commonInlineStyleBodyTeachingsSeparator(blocker))), teachings.map(teaching => h(\"span\", _extends({\n key: teaching\n }, commonInlineStyleBodyTeaching(blocker), {\n dangerouslySetInnerHTML: {\n __html: teaching\n }\n }))), h(\"span\", _extends({}, commonInlineStyleBodyTeaching(blocker), {\n dangerouslySetInnerHTML: {\n __html: blockerAcceptInfo\n }\n }))), h(BlockerButton, {\n type: acceptIndividual === \"hide\" ? \"link\" : acceptIndividual,\n inlineStyle: \"showInfo\",\n onClick: () => setCookiesVisible(!areCookiesVisible)\n }, areCookiesVisible ? close : blockerLinkShowMissing), areCookiesVisible && h(\"div\", BlockerGroupsInlineStyles.cookieScroll(blocker), missing.map(cookie => h(Cookie, {\n key: cookie.id,\n cookie: cookie,\n checked: true,\n disabled: true\n })))), h(\"div\", BlockerInlineStyles.bottomSide(blocker), h(BlockerButton, {\n type: acceptAll === \"hide\" ? \"button\" : acceptAll,\n inlineStyle: \"save\",\n onClick: e => onUnblock(e),\n busyOnClick: true\n }, blockerLoadButton), productionNotice)));\n};\n\nexport { BlockerBody };","class BlockerGroupsInlineStyles {\n static cookieScroll({\n design: {\n fontSize\n },\n bodyDesign: {\n descriptionInheritFontSize,\n descriptionFontSize\n },\n customCss: {\n antiAdBlocker\n }\n }) {\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}\n\nexport { BlockerGroupsInlineStyles };","class BlockerFooterInlineStyles {\n static footerContainer({\n layout: {\n type,\n dialogBorderRadius\n },\n design,\n footerDesign: {\n inheritBg,\n bg,\n inheritTextAlign,\n textAlign,\n padding,\n fontSize,\n fontColor\n },\n customCss: {\n antiAdBlocker\n }\n }) {\n const style = {\n padding: padding.map(p => \"\".concat(p, \"px\")).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\n };\n }\n\n static footer({\n customCss: {\n antiAdBlocker\n }\n }) {\n const style = {\n margin: \"auto\",\n lineHeight: 1.8\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-footer\",\n style\n };\n }\n\n static footerSeparator({\n layout: {\n type\n },\n design,\n footerDesign: {\n borderWidth,\n borderColor\n },\n customCss: {\n antiAdBlocker\n }\n }) {\n const 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\n };\n }\n\n}\n\nexport { BlockerFooterInlineStyles };","import { useBlocker, useCommonFooterLinks, BlockerFooterInlineStyles } from \"../../..\";\n\nconst BlockerFooter = () => {\n const blocker = useBlocker();\n const {\n rows: links,\n render: renderLinks\n } = useCommonFooterLinks({\n putPoweredByLinkInRow: 1\n });\n return h(\"div\", BlockerFooterInlineStyles.footerContainer(blocker), h(\"div\", BlockerFooterInlineStyles.footer(blocker), renderLinks(links)));\n};\n\nexport { BlockerFooter };","import _extends from \"@babel/runtime/helpers/extends\";\nimport { useBlocker, BlockerContentInlineStyles, BlockerHeaderInlineStyles, BlockerFooterInlineStyles, BlockerHeader, BlockerFooter, BlockerBody, useWaitElementInViewport } from \"../../..\";\nimport { useRef, Fragment } from \"react\";\n\nconst BlockerTextContainer = ({\n closeIcon\n}) => {\n const blocker = useBlocker();\n const {\n showFooter,\n paintMode\n } = blocker;\n const ref = useRef(); // Lazy load background image\n\n const isBackgroundVisible = paintMode === \"instantInViewport\" || useWaitElementInViewport(ref);\n return h(\"div\", _extends({}, BlockerContentInlineStyles.inner(blocker), {\n ref: ref\n }), isBackgroundVisible && h(\"div\", BlockerContentInlineStyles.innerBackground(blocker)), h(\"div\", BlockerContentInlineStyles.content(blocker), h(BlockerHeader, {\n closeIcon: closeIcon\n }), h(\"div\", BlockerHeaderInlineStyles.headerSeparator(blocker)), h(BlockerBody, null), !!showFooter && h(Fragment, null, h(\"div\", BlockerFooterInlineStyles.footerSeparator(blocker)), h(BlockerFooter, null))));\n};\n\nexport { BlockerTextContainer };","import _extends from \"@babel/runtime/helpers/extends\";\nimport { useCallback, useRef, useState, Fragment } from \"react\";\nimport { useRect } from \"@reach/rect\";\nimport { useBlocker, useWaitElementInViewport, Portal, CloseIcon, BlockerButtonsInlineStyles, BlockerHeroInlineStyles, BlockerTextContainer, BlockerHeroAudioWaveFromText, BlockerHeroVideoSvgPlayButton } from \"../../..\";\n\nconst BlockerHeroContainer = () => {\n const blocker = useBlocker();\n const {\n headerDesign: {\n fontSize,\n fontColor\n },\n texts: {\n blockerHeadline\n },\n blocker: {\n presetId,\n name,\n visualHeroButtonText,\n visualContentType,\n visualThumbnail\n },\n paintMode,\n i18n: {\n close\n }\n } = blocker;\n const ref = useRef();\n const rect = useRect(ref);\n const [isBtnHover, setBtnHover] = useState(false);\n const [isHover, setIsHover] = useState(false);\n const [isDefaultBlockerVisible, setIsDefaultBlockerVisible] = useState(false);\n const {\n hide\n } = visualThumbnail;\n const title = visualThumbnail.title || name;\n const audioWaveText = \"\".concat(visualThumbnail.title, \"ThiS iS jUst ANother TEXT TO reACh minIMum length\") || blockerHeadline.replace(/{{name}}/gi, name); // Lazy load background image\n\n const isBackgroundVisible = paintMode === \"instantInViewport\" || useWaitElementInViewport(ref); // Automatically close on outside click\n\n const overlayRef = useRef();\n const defaultBlockerContainerRef = useRef();\n const handleOutsideClick = useCallback(e => {\n if (isDefaultBlockerVisible && [overlayRef.current, defaultBlockerContainerRef.current].indexOf(e.target) > -1) {\n setIsDefaultBlockerVisible(false);\n }\n }, [isDefaultBlockerVisible, overlayRef.current, defaultBlockerContainerRef.current]);\n const hideTitle = (hide === null || hide === void 0 ? void 0 : hide.indexOf(\"title\")) > -1;\n const showPlayButton = [\"video-player\", \"audio-player\"].indexOf(visualContentType) > -1;\n const btnAttributes = {\n onMouseEnter: () => setBtnHover(true),\n onMouseLeave: () => setBtnHover(false),\n onClick: e => {\n if (e) {\n e.preventDefault();\n e.stopPropagation();\n }\n\n setIsDefaultBlockerVisible(true);\n }\n };\n return h(\"div\", _extends({}, BlockerHeroInlineStyles.aspectRatioWrapper(blocker), {\n ref: ref\n }), isBackgroundVisible && h(\"div\", BlockerHeroInlineStyles.aspectRatioBackgroundWrapper(blocker), h(\"div\", BlockerHeroInlineStyles.aspectRatioBackground(blocker))), h(\"div\", _extends({}, BlockerHeroInlineStyles.aspectRatioWholeClickable(blocker), {\n onMouseEnter: () => setIsHover(true),\n onMouseLeave: () => setIsHover(false),\n onClick: () => setIsDefaultBlockerVisible(true)\n })), h(\"div\", BlockerHeroInlineStyles.aspectRatioContainer(blocker), !hideTitle && h(\"div\", _extends({}, BlockerHeroInlineStyles.title(blocker), {\n title: title\n }), title), visualContentType === \"audio-player\" && h(BlockerHeroAudioWaveFromText, {\n text: audioWaveText\n }), visualHeroButtonText && [\"audio-player\", \"video-player\"].indexOf(visualContentType) === -1 ? h(\"div\", _extends({}, BlockerButtonsInlineStyles.hero(blocker, isBtnHover, false), btnAttributes), \"\\xA0\\xA0\", visualHeroButtonText, \"\\xA0\\xA0\") : showPlayButton && (presetId === \"youtube\" && visualContentType === \"video-player\" ? h(BlockerHeroVideoSvgPlayButton, {\n svgProps: btnAttributes,\n fill: isBtnHover || isHover ? \"#ff0808\" : \"rgb(0 0 0 / 70%)\"\n }) : h(\"div\", _extends({}, BlockerHeroInlineStyles.playButtonWrapper(blocker, isBtnHover), btnAttributes), h(\"div\", BlockerHeroInlineStyles.playButton(blocker, isBtnHover)))), h(Portal, {\n renderInContainer: document.body\n }, h(Fragment, null, h(\"div\", _extends({}, BlockerHeroInlineStyles.defaultBlockerOverlay(blocker, isDefaultBlockerVisible), {\n ref: overlayRef,\n onClick: handleOutsideClick\n })), h(\"div\", _extends({}, BlockerHeroInlineStyles.defaultBlockerContainer(blocker, isDefaultBlockerVisible, rect), {\n ref: defaultBlockerContainerRef,\n onClick: handleOutsideClick\n }), h(BlockerTextContainer, {\n closeIcon: h(CloseIcon, {\n tooltipText: close,\n width: fontSize,\n color: fontColor,\n thickness: 2,\n onClick: () => setIsDefaultBlockerVisible(false)\n })\n }))))));\n};\n\nexport { BlockerHeroContainer };","import { BlockerTextContainer, BlockerHeroContainer, useBlocker } from \"../..\";\n\nconst Blocker = () => {\n const blocker = useBlocker();\n const {\n blocker: {\n visualType,\n visualThumbnail\n }\n } = blocker;\n\n if (process.env.PLUGIN_CTX === \"pro\") {\n /* onlypro:start */\n return visualType === \"hero\" && visualThumbnail ? h(BlockerHeroContainer, null) : h(BlockerTextContainer, null);\n /* onlypro:end */\n } else {\n return h(BlockerTextContainer, null);\n }\n};\n\nexport { Blocker };","import { useState } from \"react\";\nimport { getOtherOptionsFromWindow } from \"../utils\";\nimport { adjustConsentComingFromContentBlocker } from \"../others\";\nimport { HTML_ATTRIBUTE_COOKIE_IDS } from \"@devowl-wp/headless-content-unblocker\";\nimport { getUserDecision } from \"@devowl-wp/cookie-consent-web-client\";\nimport { usePlainCss, BlockerContextFactory, Blocker } from \"@devowl-wp/react-cookie-banner\";\nimport { BannerProductionNotice } from \".\";\n/**\n * Simply connects a context store to the blocker itself. On the website itself\n * it should not rely\n */\n\nconst WebsiteBlocker = ({\n poweredLink,\n blocker,\n paintMode,\n setVisualAsLastClickedVisual\n}) => {\n const {\n customizeValuesBanner: {\n layout,\n decision,\n legal,\n design,\n headerDesign,\n bodyDesign,\n footerDesign,\n texts,\n individualLayout,\n saveButton,\n group,\n individualTexts,\n customCss\n },\n pageIdToPermalink,\n consentForwardingExternalHosts,\n isTcf,\n isEPrivacyUSA,\n isAgeNotice,\n isListServicesNotice,\n groups,\n userConsentCookieName,\n bannerI18n,\n affiliate,\n isCurrentlyInTranslationEditorPreview,\n pageByIdUrl\n } = getOtherOptionsFromWindow();\n const userDecision = getUserDecision(userConsentCookieName); // Calculate a border color for the complete box as the standard box does not have one configured\n\n const 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 const [contextValue] = useState({\n layout: { ...layout\n },\n decision: { ...decision\n },\n legal: { ...legal\n },\n design: { ...design,\n ...overwriteDesign\n },\n headerDesign: { ...headerDesign\n },\n bodyDesign: { ...bodyDesign\n },\n footerDesign: { ...footerDesign\n },\n texts: { ...texts\n },\n individualLayout: { ...individualLayout\n },\n saveButton: { ...saveButton\n },\n group: { ...group\n },\n individualTexts: { ...individualTexts\n },\n customCss: { ...customCss\n },\n productionNotice: h(BannerProductionNotice, null),\n pageIdToPermalink,\n consentForwardingExternalHosts,\n paintMode,\n pageByIdUrl,\n groups,\n poweredLink,\n isTcf,\n ePrivacyUSA: isEPrivacyUSA,\n ageNotice: isAgeNotice,\n listServicesNotice: isListServicesNotice,\n blocker,\n i18n: bannerI18n,\n keepVariablesInTexts: isCurrentlyInTranslationEditorPreview,\n affiliate,\n consent: {\n groups: { ...(userDecision === false ? {} : userDecision.consent)\n }\n },\n onUnblock: event => {\n adjustConsentComingFromContentBlocker(blocker);\n setVisualAsLastClickedVisual(event);\n }\n });\n usePlainCss([\".elementor-background-overlay ~ [\".concat(HTML_ATTRIBUTE_COOKIE_IDS, \"] { z-index: 99; }\")].join(\"\"));\n const BlockerContext = BlockerContextFactory.Context();\n return h(BlockerContext.Provider, {\n value: contextValue\n }, h(Blocker, null));\n};\n\nexport { WebsiteBlocker };","import { getOtherOptionsFromWindow } from \"../../utils\";\nimport { applyConsent } from \"../applyConsent\";\nimport { createTcfModelFromCookie, getUserDecision } from \"@devowl-wp/cookie-consent-web-client\";\nimport { getCookieConsentManager } from \"..\";\n\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 */\nasync function adjustConsentComingFromContentBlocker(blocker) {\n // Get all available groups + current decision\n const {\n essentialGroup,\n groups,\n isTcf,\n tcf,\n tcfMetadata,\n userConsentCookieName\n } = getOtherOptionsFromWindow();\n const {\n id: blockerId,\n services,\n visualThumbnail\n } = blocker;\n const currentDecision = getUserDecision(userConsentCookieName);\n const [essentialGroupObj] = groups.filter(({\n slug\n }) => slug === essentialGroup); // Prepare new consent\n\n const 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: {\n [essentialGroupObj.id]: essentialGroupObj.items.map(({\n id\n }) => id)\n }\n } : {\n groups: currentDecision.consent\n };\n\n for (const {\n id: groupId,\n items\n } of groups) {\n for (const {\n id: cookieId\n } of items) {\n if (services.indexOf(cookieId) > -1) {\n var _newConsent$groups$gr;\n\n // Avoid duplicates\n if (((_newConsent$groups$gr = newConsent.groups[groupId]) === null || _newConsent$groups$gr === void 0 ? void 0 : _newConsent$groups$gr.indexOf(cookieId)) > -1) {\n continue;\n }\n\n newConsent.groups[groupId] = newConsent.groups[groupId] || [];\n newConsent.groups[groupId].push(cookieId);\n }\n }\n } // Keep TCF string as it is not touched for a content blocker\n\n\n let tcfString;\n\n if (process.env.IS_TCF === \"1\" && isTcf) {\n var _createTcfModelFromCo;\n\n tcfString = (_createTcfModelFromCo = createTcfModelFromCookie(tcf, tcfMetadata, getCookieConsentManager().getOption(\"tcfCookieName\"))) === null || _createTcfModelFromCo === void 0 ? void 0 : _createTcfModelFromCo.tcfString;\n }\n\n await applyConsent({\n consent: newConsent,\n buttonClicked: \"unblock\",\n blocker: blockerId,\n blockerThumbnail: visualThumbnail !== null && visualThumbnail !== void 0 && visualThumbnail.embedId ? \"\".concat(visualThumbnail.embedId, \"-\").concat(visualThumbnail.fileMd5) : undefined,\n tcfString\n });\n}\n\nexport { adjustConsentComingFromContentBlocker };","let currentlyInTransaction = false;\n\nfunction setCurrentlyInTransaction(state) {\n currentlyInTransaction = state;\n}\n/**\n * Check if the current page is currently unblocking content.\n */\n\n\nfunction isCurrentlyInTransaction() {\n return currentlyInTransaction;\n}\n\nexport { setCurrentlyInTransaction, isCurrentlyInTransaction };","/**\n * Given by criteria, IDs and content blocker ID decide if the consent is given.\n */\nfunction decideToUnblock(by, requiredIds, blockerId, checker) {\n const required = typeof requiredIds === \"string\" ? requiredIds.split(\",\").map(Number) : requiredIds;\n return checker(by, required, blockerId);\n}\n\nexport { decideToUnblock };","import { HTML_ATTRIBUTE_INLINE_STYLE, HTML_TAG_CONSENT_SCRIPT } from \".\";\n/**\n * Put an prepared inline style (tag containing a `consent-inline-style` attribute) to the DOM.\n */\n\nasync function putStyleInlineToDom(node) {\n // Get the inline style itself\n const 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 let 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 = \"